@uob-web-and-digital/component-library 0.0.13 → 0.0.14
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.
|
@@ -17,7 +17,7 @@ export interface HeaderProps {
|
|
|
17
17
|
* Small nav links on the main menu
|
|
18
18
|
*/
|
|
19
19
|
secondaryLinks: HeaderLink[];
|
|
20
|
-
menuCards
|
|
20
|
+
menuCards?: [CardMenuProps, CardMenuProps, CardMenuProps];
|
|
21
21
|
homepageUrl: string;
|
|
22
22
|
dubaiUrl: string;
|
|
23
23
|
ukUrl: string;
|
|
@@ -5,7 +5,7 @@ import { CardMenuProps } from '../../CardMenu/CardMenu';
|
|
|
5
5
|
export interface MainMenuProps {
|
|
6
6
|
primaryLinks: HeaderLink[];
|
|
7
7
|
secondaryLinks: HeaderLink[];
|
|
8
|
-
menuCards
|
|
8
|
+
menuCards?: CardMenuProps[];
|
|
9
9
|
onClickNavLink: (idx: number) => void;
|
|
10
10
|
theme: ThemeProps;
|
|
11
11
|
}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
import { HeaderProps } from './Header';
|
|
2
2
|
export declare const headerProps: HeaderProps;
|
|
3
|
+
export declare const menuCards: [import("../CardMenu/CardMenu").CardMenuProps, import("../CardMenu/CardMenu").CardMenuProps, import("../CardMenu/CardMenu").CardMenuProps] | undefined, headerPropsDubai: {
|
|
4
|
+
theme: import("../../themeProps").ThemeProps;
|
|
5
|
+
primaryLinks: import("./types").HeaderLink[];
|
|
6
|
+
secondaryLinks: import("./types").HeaderLink[];
|
|
7
|
+
homepageUrl: string;
|
|
8
|
+
dubaiUrl: string;
|
|
9
|
+
ukUrl: string;
|
|
10
|
+
activeCampus?: "uk" | "dubai" | undefined;
|
|
11
|
+
searchProps: import("./components/SearchMenu").SearchMenuProps;
|
|
12
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -203,7 +203,7 @@ interface HeaderProps {
|
|
|
203
203
|
* Small nav links on the main menu
|
|
204
204
|
*/
|
|
205
205
|
secondaryLinks: HeaderLink[];
|
|
206
|
-
menuCards
|
|
206
|
+
menuCards?: [CardMenuProps, CardMenuProps, CardMenuProps];
|
|
207
207
|
homepageUrl: string;
|
|
208
208
|
dubaiUrl: string;
|
|
209
209
|
ukUrl: string;
|