@ilo-org/react 0.19.0 → 0.21.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/lib/cjs/_store/Blockquote-entry-BwhpFsWX.js +1 -0
- package/lib/cjs/_store/{Breadcrumb-chunk-BGt10GMr.js → Breadcrumb-chunk-DkUvpxym.js} +1 -1
- package/lib/cjs/_store/{Breadcrumb-entry-BcWOPogy.js → Breadcrumb-entry-PID5wRYn.js} +1 -1
- package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
- package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
- package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
- package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
- package/lib/cjs/_store/CardGroup-chunk-C_EtI9iK.js +1 -0
- package/lib/cjs/_store/Cards-entry-C_9kqjEx.js +1 -0
- package/lib/cjs/_store/ContextMenu-chunk-Dl3-wUCt.js +1 -0
- package/lib/cjs/_store/{ContextMenu-entry-UwZc4yU3.js → ContextMenu-entry-Bzzoi_xM.js} +1 -1
- package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
- package/lib/cjs/_store/{Footer-entry-CI7x98xM.js → Footer-entry-D6eg1T-c.js} +1 -1
- package/lib/cjs/_store/{Hero-chunk-DiUWCO_D.js → Hero-chunk-B3vu8ihD.js} +1 -1
- package/lib/cjs/_store/{Hero-entry-AK8D7qYH.js → Hero-entry-CAssbp0C.js} +1 -1
- package/lib/cjs/_store/{HeroCard-chunk-CCNjdbBJ.js → HeroCard-chunk-Cdyuf9Gw.js} +1 -1
- package/lib/cjs/_store/{HeroCard-entry-BGUHZKKh.js → HeroCard-entry-Z_H24PlF.js} +1 -1
- package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
- package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
- package/lib/cjs/_store/LanguageToggle-chunk-CrtaBUlW.js +1 -0
- package/lib/cjs/_store/LanguageToggle-entry-CHgP8iuU.js +1 -0
- package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
- package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
- package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
- package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
- package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
- package/lib/cjs/_store/Nav-entry-BxYm9ulI.js +1 -0
- package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
- package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
- package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
- package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
- package/lib/cjs/_store/{SearchField-chunk-BkrZKT5S.js → SearchField-chunk-uIkdwz2L.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-DoVeY_de.js → SearchField-entry-3sd9miiq.js} +1 -1
- package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
- package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
- package/lib/cjs/_store/SubsiteNav-chunk-BphCnfvs.js +1 -0
- package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
- package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
- package/lib/cjs/_store/{Tag-chunk-B-UjKiml.js → Tag-chunk-DUz8ZjA1.js} +1 -1
- package/lib/cjs/_store/{Tag-entry-Dv_p5zCg.js → Tag-entry-D8aAuglc.js} +1 -1
- package/lib/cjs/_store/components-entry-BU_6L6id.js +1 -0
- package/lib/cjs/_store/index.js +1 -1
- package/lib/cjs/_store/useBreakpoint-chunk-CBEGGRKj.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/Blockquote-entry-DccNMBEH.js +15 -0
- package/lib/esm/_store/{Breadcrumb-chunk-DcsXzPvT.js → Breadcrumb-chunk-DcupgWDR.js} +1 -1
- package/lib/esm/_store/Breadcrumb-entry-1SOUCUgD.js +4 -0
- package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
- package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
- package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
- package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
- package/lib/esm/_store/CardGroup-chunk-BykGdrCT.js +425 -0
- package/lib/esm/_store/Cards-entry-DjtBPvwt.js +12 -0
- package/lib/esm/_store/ContextMenu-chunk-D-riZIFp.js +32 -0
- package/lib/esm/_store/ContextMenu-entry-BN-vEJes.js +4 -0
- package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
- package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
- package/lib/esm/_store/{Hero-chunk-swloBIGl.js → Hero-chunk-C1gFHcIP.js} +2 -2
- package/lib/esm/_store/Hero-entry-DWpRL6uz.js +4 -0
- package/lib/esm/_store/{HeroCard-chunk-fz3EIUiE.js → HeroCard-chunk-3mxIZYwU.js} +1 -1
- package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
- package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
- package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
- package/lib/esm/_store/LanguageToggle-chunk-CsayoJqR.js +70 -0
- package/lib/esm/_store/LanguageToggle-entry-D3t_X2Qk.js +4 -0
- package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
- package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
- package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
- package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
- package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
- package/lib/esm/_store/Nav-entry-CsQzrNK7.js +4 -0
- package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
- package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
- package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
- package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
- package/lib/esm/_store/{SearchField-chunk-DfXCHmW0.js → SearchField-chunk-D-S-SV-o.js} +1 -1
- package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
- package/lib/esm/_store/{SocialMedia-chunk-B0IPGaVf.js → SocialMedia-chunk-BP6TBNEf.js} +7 -7
- package/lib/esm/_store/SocialMedia-entry-C60BCp7g.js +63 -0
- package/lib/esm/_store/SubsiteNav-chunk-C97AqH9F.js +549 -0
- package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
- package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
- package/lib/esm/_store/{Tag-chunk-6_6Oh_I3.js → Tag-chunk-DRiFjL6-.js} +1 -1
- package/lib/esm/_store/{Tag-entry-B40IGpPj.js → Tag-entry-D_EdPheu.js} +2 -2
- package/lib/esm/_store/components-entry-COAKlxYx.js +96 -0
- package/lib/esm/_store/index.js +4 -2
- package/lib/esm/_store/useBreakpoint-chunk-DBZTYUx9.js +54 -0
- package/lib/esm/index.js +68 -56
- package/lib/styles/components/blockquote.css +1 -0
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/datacard.css +1 -1
- package/lib/styles/components/featurecard.css +1 -1
- package/lib/styles/components/languagetoggle.css +1 -0
- package/lib/styles/components/list.css +1 -1
- package/lib/styles/components/multilinkcard.css +1 -1
- package/lib/styles/components/richtext.css +1 -1
- package/lib/styles/components/socialmedia.css +1 -1
- package/lib/styles/components/video.css +1 -1
- package/lib/styles/global.css +1 -1
- package/lib/styles/global.css.map +1 -1
- package/lib/styles/index.css +2 -2
- package/lib/styles/index.css.map +1 -1
- package/lib/styles/monorepo.css +2 -2
- package/lib/styles/monorepo.css.map +1 -1
- package/lib/types/components/Blockquote/Blockquote.d.ts +6 -0
- package/lib/types/components/Blockquote/index.d.ts +1 -0
- package/lib/types/components/Button/Button.d.ts +83 -4
- package/lib/types/components/Button/index.d.ts +1 -2
- package/lib/types/components/Callout/Callout.d.ts +50 -4
- package/lib/types/components/Callout/index.d.ts +1 -2
- package/lib/types/components/Cards/CardGroup.d.ts +31 -0
- package/lib/types/components/Cards/DataCard.d.ts +50 -0
- package/lib/types/components/Cards/DetailCard.d.ts +54 -0
- package/lib/types/components/Cards/FactListCard.d.ts +30 -0
- package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
- package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
- package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
- package/lib/types/components/Cards/StatCard.d.ts +39 -0
- package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
- package/lib/types/components/Cards/index.d.ts +9 -0
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/types/components/Footer/Footer.d.ts +50 -4
- package/lib/types/components/Footer/index.d.ts +1 -1
- package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +25 -0
- package/lib/types/components/LanguageToggle/index.d.ts +1 -0
- package/lib/types/components/Link/Link.d.ts +55 -4
- package/lib/types/components/Link/index.d.ts +1 -1
- package/lib/types/components/LinkList/LinkList.d.ts +45 -4
- package/lib/types/components/LinkList/index.d.ts +1 -1
- package/lib/types/components/List/List.d.ts +54 -4
- package/lib/types/components/List/ListItem.d.ts +22 -4
- package/lib/types/components/List/index.d.ts +18 -2
- package/lib/types/components/Nav/Navigation.props.d.ts +112 -0
- package/lib/types/components/Nav/NavigationDropdown.d.ts +19 -0
- package/lib/types/components/Nav/NavigationLink.d.ts +4 -0
- package/lib/types/components/Nav/NavigationMenu.d.ts +13 -0
- package/lib/types/components/Nav/NavigationMenuGrid.d.ts +7 -0
- package/lib/types/components/Nav/Subsite/CompactNav.d.ts +4 -0
- package/lib/types/components/Nav/Subsite/ComplexNav.d.ts +4 -0
- package/lib/types/components/Nav/Subsite/SubsiteNav.d.ts +4 -0
- package/lib/types/components/Nav/index.d.ts +2 -0
- package/lib/types/components/Nav/mobile/MobileDrawer.d.ts +27 -0
- package/lib/types/components/Nav/mobile/MobileLanguageList.d.ts +9 -0
- package/lib/types/components/Nav/mobile/MobileMenuList.d.ts +8 -0
- package/lib/types/components/Nav/mobile/MobileNavigation.d.ts +15 -0
- package/lib/types/components/Nav/useNavSetup.d.ts +22 -0
- package/lib/types/components/Notification/Notification.d.ts +55 -4
- package/lib/types/components/Notification/index.d.ts +1 -1
- package/lib/types/components/Profile/Profile.d.ts +46 -4
- package/lib/types/components/Profile/index.d.ts +1 -1
- package/lib/types/components/SocialMedia/SocialMedia.d.ts +2 -43
- package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +46 -0
- package/lib/types/components/SocialMedia/index.d.ts +3 -1
- package/lib/types/components/index.d.ts +3 -1
- package/lib/types/hooks/index.d.ts +1 -0
- package/lib/types/hooks/useBreakpoint.d.ts +7 -0
- package/lib/types/types/index.d.ts +1 -1
- package/package.json +10 -9
- package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
- package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
- package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
- package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
- package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
- package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +0 -1
- package/lib/cjs/_store/Footer-chunk-DK416bgz.js +0 -1
- package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
- package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
- package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
- package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
- package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
- package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +0 -1
- package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
- package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
- package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +0 -1
- package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +0 -1
- package/lib/cjs/_store/components-entry-CDxRih4j.js +0 -1
- package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +0 -4
- package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
- package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
- package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
- package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
- package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
- package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +0 -30
- package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +0 -4
- package/lib/esm/_store/Footer-chunk-Cfulou_M.js +0 -53
- package/lib/esm/_store/Footer-entry-xjy-auY5.js +0 -4
- package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +0 -4
- package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +0 -4
- package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
- package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
- package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
- package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
- package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
- package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
- package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
- package/lib/esm/_store/LocalNav-entry-DydB3k67.js +0 -4
- package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
- package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
- package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
- package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
- package/lib/esm/_store/SearchField-entry-qYGaidSz.js +0 -4
- package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +0 -4
- package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
- package/lib/esm/_store/components-entry-BW50D0h0.js +0 -86
- package/lib/types/components/Button/Button.props.d.ts +0 -69
- package/lib/types/components/Callout/Callout.props.d.ts +0 -51
- package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
- package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
- package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
- package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
- package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
- package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
- package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
- package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
- package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
- package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
- package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
- package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
- package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
- package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
- package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
- package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
- package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
- package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
- package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
- package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
- package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
- package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
- package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
- package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
- package/lib/types/components/Footer/Footer.props.d.ts +0 -49
- package/lib/types/components/Link/Link.props.d.ts +0 -33
- package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
- package/lib/types/components/List/List.props.d.ts +0 -25
- package/lib/types/components/List/ListItem.props.d.ts +0 -16
- package/lib/types/components/LocalNav/LocalNav.d.ts +0 -5
- package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -38
- package/lib/types/components/LocalNav/index.d.ts +0 -1
- package/lib/types/components/Notification/Notification.props.d.ts +0 -57
- package/lib/types/components/Profile/Profile.props.d.ts +0 -47
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ThemeTypes, CardSize, HeadingTypes } from '../../../types';
|
|
2
|
-
|
|
3
|
-
export interface FactlistCardProps {
|
|
4
|
-
/**
|
|
5
|
-
* The title of the card
|
|
6
|
-
*/
|
|
7
|
-
title: string;
|
|
8
|
-
/**
|
|
9
|
-
* HTML element used for the title
|
|
10
|
-
*/
|
|
11
|
-
titleLevel?: HeadingTypes;
|
|
12
|
-
/**
|
|
13
|
-
* Will render the card to appear on light or dark backgrounds
|
|
14
|
-
*/
|
|
15
|
-
theme?: ThemeTypes;
|
|
16
|
-
/**
|
|
17
|
-
* How big should the card be
|
|
18
|
-
*/
|
|
19
|
-
size?: Omit<CardSize, "standard">;
|
|
20
|
-
list?: string[];
|
|
21
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CardAlignment, CardSize, HeadingTypes } from '../../../types';
|
|
2
|
-
import { LinkListProps } from '../../LinkList/LinkList.props';
|
|
3
|
-
|
|
4
|
-
export interface MultilinkCardProps {
|
|
5
|
-
isvideo?: boolean;
|
|
6
|
-
/**
|
|
7
|
-
* A line of text that appears as a small heading above the title of the card
|
|
8
|
-
*/
|
|
9
|
-
eyebrow?: string;
|
|
10
|
-
/**
|
|
11
|
-
* The title of the card
|
|
12
|
-
*/
|
|
13
|
-
title: string;
|
|
14
|
-
/**
|
|
15
|
-
* HTML element used for the title
|
|
16
|
-
*/
|
|
17
|
-
titleLevel?: HeadingTypes;
|
|
18
|
-
/**
|
|
19
|
-
* How big should the card be
|
|
20
|
-
*/
|
|
21
|
-
size?: CardSize;
|
|
22
|
-
alignment?: CardAlignment;
|
|
23
|
-
intro?: string;
|
|
24
|
-
link?: string;
|
|
25
|
-
linklist?: LinkListProps;
|
|
26
|
-
/**
|
|
27
|
-
* The image to show in the card
|
|
28
|
-
*/
|
|
29
|
-
image?: string;
|
|
30
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CardColor, CardSize, HeadingTypes } from '../../../types';
|
|
2
|
-
import { LinkProps } from '../../LinkList/LinkList.props';
|
|
3
|
-
|
|
4
|
-
export interface StatCardProps {
|
|
5
|
-
/**
|
|
6
|
-
* The title of the card
|
|
7
|
-
*/
|
|
8
|
-
title: string;
|
|
9
|
-
/**
|
|
10
|
-
* HTML element used for the title
|
|
11
|
-
*/
|
|
12
|
-
titleLevel?: HeadingTypes;
|
|
13
|
-
/**
|
|
14
|
-
* Background color of stat card
|
|
15
|
-
*/
|
|
16
|
-
color?: CardColor;
|
|
17
|
-
/**
|
|
18
|
-
* How big should the card be
|
|
19
|
-
*/
|
|
20
|
-
size?: Omit<CardSize, "narrow" | "wide">;
|
|
21
|
-
/**
|
|
22
|
-
* Introductory text in the card
|
|
23
|
-
*/
|
|
24
|
-
intro?: string;
|
|
25
|
-
source?: LinkProps;
|
|
26
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { LinkGroupProps, LinkProps } from '../LinkList/LinkList.props';
|
|
2
|
-
import { SocialMediaProps } from '../SocialMedia';
|
|
3
|
-
|
|
4
|
-
export interface FooterProps {
|
|
5
|
-
/**
|
|
6
|
-
* Specify an optional className to be added to your Footer.
|
|
7
|
-
*/
|
|
8
|
-
className?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Props for the logo of the Footer
|
|
11
|
-
*/
|
|
12
|
-
logo?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Specify the tagline for the Footer
|
|
15
|
-
*/
|
|
16
|
-
tagline?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specify the subtagline for the Footer
|
|
19
|
-
*/
|
|
20
|
-
subtagline?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Specify the address for the Footer, in multiple lines
|
|
23
|
-
*/
|
|
24
|
-
address?: string[];
|
|
25
|
-
/**
|
|
26
|
-
* Specify the linkgroup for the Footer's links
|
|
27
|
-
*/
|
|
28
|
-
linkgroup?: Required<Array<LinkGroupProps>>;
|
|
29
|
-
/**
|
|
30
|
-
* Specify the links to be displayed in this link group
|
|
31
|
-
*/
|
|
32
|
-
socialmedia?: SocialMediaProps;
|
|
33
|
-
/**
|
|
34
|
-
* Specify the legal statement for the Footer
|
|
35
|
-
*/
|
|
36
|
-
subscribe?: LinkProps;
|
|
37
|
-
/**
|
|
38
|
-
* Specify the legal statement for the Footer
|
|
39
|
-
*/
|
|
40
|
-
legal?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Specify the secondary links for the Footer
|
|
43
|
-
*/
|
|
44
|
-
secondarylinks?: LinkProps[];
|
|
45
|
-
/**
|
|
46
|
-
* Specify the anchor link for the Footer
|
|
47
|
-
*/
|
|
48
|
-
anchorlink?: LinkProps;
|
|
49
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { LinkTypes } from '../../types';
|
|
3
|
-
|
|
4
|
-
export interface LinkProps {
|
|
5
|
-
/**
|
|
6
|
-
* Specify the content of your Link.
|
|
7
|
-
*/
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Specify the label for the link
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Specify the url for the link's href
|
|
15
|
-
*/
|
|
16
|
-
url?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specify the target for the link
|
|
19
|
-
*/
|
|
20
|
-
target?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Specify an optional className to be added to your Link.
|
|
23
|
-
*/
|
|
24
|
-
theme?: LinkTypes;
|
|
25
|
-
/**
|
|
26
|
-
* Specify an optional className to be added to your Link.
|
|
27
|
-
*/
|
|
28
|
-
className?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Inline styles to be applied to the rendered element
|
|
31
|
-
*/
|
|
32
|
-
style?: React.CSSProperties;
|
|
33
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { LinkListThemes } from '../../types';
|
|
2
|
-
|
|
3
|
-
export interface LinkProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify if this link should indent and have a triangle icon
|
|
6
|
-
*/
|
|
7
|
-
indented?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Specify the label for this link
|
|
10
|
-
*/
|
|
11
|
-
label?: Required<string>;
|
|
12
|
-
/**
|
|
13
|
-
* Specify the url for this link
|
|
14
|
-
*/
|
|
15
|
-
url?: Required<string>;
|
|
16
|
-
}
|
|
17
|
-
export interface LinkGroupProps {
|
|
18
|
-
/**
|
|
19
|
-
* Specify an optional headline for this link group
|
|
20
|
-
*/
|
|
21
|
-
headline?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specify the links to be displayed in this link group
|
|
24
|
-
*/
|
|
25
|
-
links?: Required<Array<LinkProps>>;
|
|
26
|
-
}
|
|
27
|
-
export interface LinkListProps {
|
|
28
|
-
/**
|
|
29
|
-
* Specify an optional className to be added to your Link List component.
|
|
30
|
-
*/
|
|
31
|
-
className?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Specify a headline for the the Link List
|
|
34
|
-
*/
|
|
35
|
-
headline?: Required<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Specify the links to be displayed in the Link List
|
|
38
|
-
*/
|
|
39
|
-
linkgroup?: Required<Array<LinkGroupProps>>;
|
|
40
|
-
/**
|
|
41
|
-
* Specify the theme for the Link List
|
|
42
|
-
*/
|
|
43
|
-
theme?: Required<LinkListThemes>;
|
|
44
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { ListItemProps } from './ListItem.props';
|
|
3
|
-
|
|
4
|
-
export interface ListProps {
|
|
5
|
-
/**
|
|
6
|
-
* Specify the content of your List.
|
|
7
|
-
*/
|
|
8
|
-
children?: ReactElement<ListItemProps> | ReactElement<ListItemProps>[];
|
|
9
|
-
/**
|
|
10
|
-
* Declare ordered, unordered or unstyled
|
|
11
|
-
*/
|
|
12
|
-
ordered?: "unordered" | "ordered" | "unstyled";
|
|
13
|
-
/**
|
|
14
|
-
* Declare horizontal or default
|
|
15
|
-
*/
|
|
16
|
-
alignment?: "default" | "horizontal";
|
|
17
|
-
/**
|
|
18
|
-
* Specify an optional title
|
|
19
|
-
*/
|
|
20
|
-
title?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Specify an optional className to be added to your accordion.
|
|
23
|
-
*/
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface ListItemProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the id of the List item.
|
|
6
|
-
*/
|
|
7
|
-
id: string;
|
|
8
|
-
/**
|
|
9
|
-
* Specify the content of your Button.
|
|
10
|
-
*/
|
|
11
|
-
children: ReactNode;
|
|
12
|
-
/**
|
|
13
|
-
* Specify an optional className to be added to your Button.
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { LogoProps } from '../Logo/Logo.props';
|
|
2
|
-
|
|
3
|
-
export interface LocalNavProps {
|
|
4
|
-
/**
|
|
5
|
-
* Props for the background colour of the LocalNav
|
|
6
|
-
*/
|
|
7
|
-
background?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Props for the Logo component of the LocalNav
|
|
10
|
-
*/
|
|
11
|
-
logo: LogoProps;
|
|
12
|
-
/**
|
|
13
|
-
* Specify the primary items for the LocalNav
|
|
14
|
-
*/
|
|
15
|
-
primarynav?: PrimaryNavProps;
|
|
16
|
-
/**
|
|
17
|
-
* Specify the main link for the LocalNav
|
|
18
|
-
*/
|
|
19
|
-
/**
|
|
20
|
-
* Specify the menu close label for the LocalNav
|
|
21
|
-
*/
|
|
22
|
-
menucloselabel?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Specify the language label for the LocalNav
|
|
25
|
-
*/
|
|
26
|
-
languagelabel?: string;
|
|
27
|
-
}
|
|
28
|
-
interface PrimaryNavProps {
|
|
29
|
-
/**
|
|
30
|
-
* Specify the label for local nav
|
|
31
|
-
*/
|
|
32
|
-
navlabel?: Required<string>;
|
|
33
|
-
/**
|
|
34
|
-
* Specify the close label for mobile local nav
|
|
35
|
-
*/
|
|
36
|
-
mobilecloselabel?: Required<string>;
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as LocalNav } from './LocalNav';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { NotificationPlacement, NotificationTypes } from '../../types';
|
|
2
|
-
|
|
3
|
-
interface CTAProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the label of the CTA
|
|
6
|
-
*/
|
|
7
|
-
label?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Specify the url of the CTA
|
|
10
|
-
*/
|
|
11
|
-
url?: string;
|
|
12
|
-
}
|
|
13
|
-
interface TimeStampProps {
|
|
14
|
-
/**
|
|
15
|
-
* Specify the human-readable time
|
|
16
|
-
*/
|
|
17
|
-
human?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Specify the UNIX timestamp
|
|
20
|
-
*/
|
|
21
|
-
unix?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface NotificationProps {
|
|
24
|
-
/**
|
|
25
|
-
* Specify an optional className to be added to your Notification component.
|
|
26
|
-
*/
|
|
27
|
-
className?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Specify the label for the close button
|
|
30
|
-
*/
|
|
31
|
-
closelabel?: Required<string>;
|
|
32
|
-
/**
|
|
33
|
-
* Specify the copy
|
|
34
|
-
*/
|
|
35
|
-
copy?: Required<string>;
|
|
36
|
-
/**
|
|
37
|
-
* Specify the settings for an option CTA
|
|
38
|
-
*/
|
|
39
|
-
cta?: CTAProps;
|
|
40
|
-
/**
|
|
41
|
-
* Specify the headline
|
|
42
|
-
*/
|
|
43
|
-
headline?: Required<string>;
|
|
44
|
-
/**
|
|
45
|
-
* Specify whether the notification is inline in the DOM or absolutely-positioned at a higher z-index
|
|
46
|
-
*/
|
|
47
|
-
placement?: Required<NotificationPlacement>;
|
|
48
|
-
/**
|
|
49
|
-
* Specify an optional timestamp
|
|
50
|
-
*/
|
|
51
|
-
timestamp?: TimeStampProps;
|
|
52
|
-
/**
|
|
53
|
-
* Specify the icon for the Notification
|
|
54
|
-
*/
|
|
55
|
-
type?: NotificationTypes;
|
|
56
|
-
}
|
|
57
|
-
export {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ThemeTypes, SizeTypes } from '../../types';
|
|
2
|
-
|
|
3
|
-
interface LinkProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the label for the the Profile's link
|
|
6
|
-
*/
|
|
7
|
-
label?: Required<string>;
|
|
8
|
-
/**
|
|
9
|
-
* Specify the url for the Profile's link
|
|
10
|
-
*/
|
|
11
|
-
url?: Required<string>;
|
|
12
|
-
}
|
|
13
|
-
export interface ProfileProps {
|
|
14
|
-
/**
|
|
15
|
-
* Specify the theme for your profile component.
|
|
16
|
-
*/
|
|
17
|
-
theme?: ThemeTypes;
|
|
18
|
-
/**
|
|
19
|
-
* Specify the size for your profile component.
|
|
20
|
-
*/
|
|
21
|
-
size?: SizeTypes;
|
|
22
|
-
/**
|
|
23
|
-
* Specify an optional avatar to be added to your Profile component. Image *must* be a perfect square. CMS backend should provide a fallback if the avatar is not populated.
|
|
24
|
-
*/
|
|
25
|
-
avatar?: Required<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Specify an optional className to be added to your Profile component.
|
|
28
|
-
*/
|
|
29
|
-
className?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Specify an optional description to be added to your Profile component.
|
|
32
|
-
*/
|
|
33
|
-
description?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Specify an optional link to be added to your Profile component.
|
|
36
|
-
*/
|
|
37
|
-
link?: LinkProps;
|
|
38
|
-
/**
|
|
39
|
-
* Specify the name to be added to your Profile component.
|
|
40
|
-
*/
|
|
41
|
-
name?: Required<string>;
|
|
42
|
-
/**
|
|
43
|
-
* Specify an optional role to be added to your Profile component.
|
|
44
|
-
*/
|
|
45
|
-
role?: string;
|
|
46
|
-
}
|
|
47
|
-
export {};
|