@apolitical/component-library 10.2.3 → 10.2.4-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/form/types/search-form/search-form.d.ts +3 -1
- package/index.js +38 -38
- package/index.mjs +4654 -4631
- package/layout/page-layout/components/header/header.d.ts +3 -1
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -13,6 +13,8 @@ interface Props {
|
|
|
13
13
|
locale?: string;
|
|
14
14
|
/** SuprSend notification translations */
|
|
15
15
|
suprSendTranslations?: SuprSendTranslations;
|
|
16
|
+
/** Callback when search is clicked - when provided, search renders as a button that triggers this callback */
|
|
17
|
+
onSearchClick?: () => void;
|
|
16
18
|
}
|
|
17
19
|
export declare enum NAVIGATION_MENUS {
|
|
18
20
|
NAVIGATION = "navigation",
|
|
@@ -20,5 +22,5 @@ export declare enum NAVIGATION_MENUS {
|
|
|
20
22
|
ACCOUNT = "account-navigation",
|
|
21
23
|
SITE = "site-navigation"
|
|
22
24
|
}
|
|
23
|
-
declare const Header: ({ showNavigation, showLanguageUnavailableMessage, showLanguageSwitcher, onLanguageSwitcherClick, suprSendWorkspaceKey, locale, suprSendTranslations, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
25
|
+
declare const Header: ({ showNavigation, showLanguageUnavailableMessage, showLanguageSwitcher, onLanguageSwitcherClick, suprSendWorkspaceKey, locale, suprSendTranslations, onSearchClick, }: Props) => import("react/jsx-runtime").JSX.Element | null;
|
|
24
26
|
export default Header;
|