@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Blockquote';
|
|
@@ -1,5 +1,84 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { ButtonTypes, PositionTypes, SizeTypes } from '../../types';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
|
|
5
|
+
/**
|
|
6
|
+
* Specify the content of your Button.
|
|
7
|
+
*/
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
/**
|
|
10
|
+
* Specify an optional className to be added to your Button.
|
|
11
|
+
*/
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The size of the button: `small`, `medium`, `large`
|
|
15
|
+
*/
|
|
16
|
+
size?: SizeTypes;
|
|
17
|
+
/**
|
|
18
|
+
* Types of the button: `primary`, `secondary`, `tertiary`, `ghost`
|
|
19
|
+
*/
|
|
20
|
+
type?: ButtonTypes;
|
|
21
|
+
/**
|
|
22
|
+
* Specify if the button should be rendered as link
|
|
23
|
+
*/
|
|
24
|
+
link?: {
|
|
25
|
+
/**
|
|
26
|
+
* Specify the url for the Button's href
|
|
27
|
+
*/
|
|
28
|
+
url: string;
|
|
29
|
+
/**
|
|
30
|
+
* Specify the label for the Button
|
|
31
|
+
*/
|
|
32
|
+
label: string;
|
|
33
|
+
/**
|
|
34
|
+
* Specify the target for when Button is really a link
|
|
35
|
+
*/
|
|
36
|
+
target?: string;
|
|
37
|
+
};
|
|
38
|
+
icon?: {
|
|
39
|
+
name: string;
|
|
40
|
+
position?: PositionTypes;
|
|
41
|
+
only?: boolean;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
|
|
45
|
+
/**
|
|
46
|
+
* Specify the content of your Button.
|
|
47
|
+
*/
|
|
48
|
+
children?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Specify an optional className to be added to your Button.
|
|
51
|
+
*/
|
|
52
|
+
className?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* The size of the button: `small`, `medium`, `large`
|
|
55
|
+
*/
|
|
56
|
+
size?: SizeTypes | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Types of the button: `primary`, `secondary`, `tertiary`, `ghost`
|
|
59
|
+
*/
|
|
60
|
+
type?: ButtonTypes | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Specify if the button should be rendered as link
|
|
63
|
+
*/
|
|
64
|
+
link?: {
|
|
65
|
+
/**
|
|
66
|
+
* Specify the url for the Button's href
|
|
67
|
+
*/
|
|
68
|
+
url: string;
|
|
69
|
+
/**
|
|
70
|
+
* Specify the label for the Button
|
|
71
|
+
*/
|
|
72
|
+
label: string;
|
|
73
|
+
/**
|
|
74
|
+
* Specify the target for when Button is really a link
|
|
75
|
+
*/
|
|
76
|
+
target?: string | undefined;
|
|
77
|
+
} | undefined;
|
|
78
|
+
icon?: {
|
|
79
|
+
name: string;
|
|
80
|
+
position?: PositionTypes | undefined;
|
|
81
|
+
only?: boolean | undefined;
|
|
82
|
+
} | undefined;
|
|
83
|
+
} & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
84
|
+
export { Button };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { default as buttonArgs } from './Button.args';
|
|
1
|
+
export * from './Button';
|
|
@@ -1,5 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { CalloutProps } from './Callout.props';
|
|
1
|
+
import { CalloutTypes } from '../../types';
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
export type CalloutProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Specify the settings for an option CTA
|
|
6
|
+
*/
|
|
7
|
+
cta?: {
|
|
8
|
+
/**
|
|
9
|
+
* Specify the label of the CTA
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Specify the url of the CTA
|
|
14
|
+
*/
|
|
15
|
+
url: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Specify an optional className to be added to your RichText.
|
|
19
|
+
*/
|
|
20
|
+
className?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Specify the copy
|
|
23
|
+
*/
|
|
24
|
+
copy?: Required<string>;
|
|
25
|
+
/**
|
|
26
|
+
* Specify if callout is collapsible
|
|
27
|
+
*/
|
|
28
|
+
isCollapsible?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Specify if callout is open (only important for collapsible items)
|
|
31
|
+
*/
|
|
32
|
+
isOpen?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Specify the callout headline
|
|
35
|
+
*/
|
|
36
|
+
headline?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Specify the open label
|
|
39
|
+
*/
|
|
40
|
+
toggleOpenLabel?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specify the open label
|
|
43
|
+
*/
|
|
44
|
+
toggleClosedLabel?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Describe the type of callout
|
|
47
|
+
*/
|
|
48
|
+
type?: CalloutTypes;
|
|
49
|
+
};
|
|
50
|
+
declare const Callout: import('react').ForwardRefExoticComponent<CalloutProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
51
|
+
export { Callout };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { default as calloutArgs } from './Callout.args';
|
|
1
|
+
export * from './Callout';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CardTypes } from '../../types';
|
|
2
|
+
import { StatCardProps } from './StatCard';
|
|
3
|
+
import { MultiLinkCardProps } from './MultiLinkCard';
|
|
4
|
+
import { TextCardProps } from './TextCard';
|
|
5
|
+
import { PromoCardProps } from './PromoCard';
|
|
6
|
+
import { FeatureCardProps } from './FeatureCard';
|
|
7
|
+
import { DetailCardProps } from './DetailCard';
|
|
8
|
+
import { FactListCardProps } from './FactListCard';
|
|
9
|
+
import { DataCardProps } from './DataCard';
|
|
10
|
+
import { LinkProps } from '../Link';
|
|
11
|
+
|
|
12
|
+
type CardPropsMap = {
|
|
13
|
+
stat: StatCardProps;
|
|
14
|
+
multilink: MultiLinkCardProps;
|
|
15
|
+
text: TextCardProps;
|
|
16
|
+
promo: PromoCardProps;
|
|
17
|
+
feature: FeatureCardProps;
|
|
18
|
+
detail: DetailCardProps;
|
|
19
|
+
factlist: FactListCardProps;
|
|
20
|
+
data: DataCardProps;
|
|
21
|
+
};
|
|
22
|
+
type CardGroupComponentProps<T extends CardTypes> = CardPropsMap[T];
|
|
23
|
+
export type CardGroupProps<T extends CardTypes> = {
|
|
24
|
+
type: T;
|
|
25
|
+
group: CardGroupComponentProps<T>[];
|
|
26
|
+
cardCount: "one" | "two" | "three" | "four";
|
|
27
|
+
cta?: LinkProps;
|
|
28
|
+
collapsed?: boolean;
|
|
29
|
+
};
|
|
30
|
+
declare const CardGroup: import('react').ForwardRefExoticComponent<CardGroupProps<CardTypes> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
export { CardGroup };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { LinkProps } from '../Link';
|
|
2
|
+
import { CardSize } from '../../types';
|
|
3
|
+
|
|
4
|
+
export type DataCardProps = {
|
|
5
|
+
/**
|
|
6
|
+
* A line of text that appears as a small heading at the top of the card
|
|
7
|
+
*/
|
|
8
|
+
eyebrow?: string;
|
|
9
|
+
/**
|
|
10
|
+
* How big should the card be
|
|
11
|
+
*/
|
|
12
|
+
size?: Omit<CardSize, "standard">;
|
|
13
|
+
/**
|
|
14
|
+
* The image to show in the card
|
|
15
|
+
*/
|
|
16
|
+
image?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Array of Content (label, copy), Files object (optional headline, array of items with label and url) and Links object (optional headline, array of items with label and url)
|
|
19
|
+
*/
|
|
20
|
+
dataset?: {
|
|
21
|
+
content?: {
|
|
22
|
+
items: Array<{
|
|
23
|
+
label: string;
|
|
24
|
+
copy: string;
|
|
25
|
+
}>;
|
|
26
|
+
};
|
|
27
|
+
files?: {
|
|
28
|
+
headline: string;
|
|
29
|
+
items: Array<LinkProps>;
|
|
30
|
+
};
|
|
31
|
+
links?: {
|
|
32
|
+
headline: string;
|
|
33
|
+
items: Array<LinkProps>;
|
|
34
|
+
};
|
|
35
|
+
cta?: {
|
|
36
|
+
headline: string;
|
|
37
|
+
items: Array<LinkProps>;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Make the content appear in one or two columns. Only applies when the size is set to `wide` or `fluid`
|
|
42
|
+
*/
|
|
43
|
+
columns?: "one" | "two";
|
|
44
|
+
/**
|
|
45
|
+
* Specify an optional className to be added to your DataCard.
|
|
46
|
+
*/
|
|
47
|
+
className?: string;
|
|
48
|
+
};
|
|
49
|
+
declare const DataCard: import('react').ForwardRefExoticComponent<DataCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
50
|
+
export { DataCard };
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { CardSize, EventDate, HeadingTypes, ThemeTypes } from '../../types';
|
|
2
|
+
|
|
3
|
+
export type DetailCardProps = {
|
|
4
|
+
/**
|
|
5
|
+
* A line of text that appears as a small heading above the title of the card
|
|
6
|
+
*/
|
|
7
|
+
eyebrow?: string;
|
|
8
|
+
/**
|
|
9
|
+
* The title of the card
|
|
10
|
+
*/
|
|
11
|
+
title: string;
|
|
12
|
+
/**
|
|
13
|
+
* HTML element used for the title
|
|
14
|
+
*/
|
|
15
|
+
titleLevel?: HeadingTypes;
|
|
16
|
+
/**
|
|
17
|
+
* Will render the card to appear on light or dark backgrounds
|
|
18
|
+
*/
|
|
19
|
+
theme?: ThemeTypes;
|
|
20
|
+
/**
|
|
21
|
+
* How big should the card be
|
|
22
|
+
*/
|
|
23
|
+
size?: Omit<CardSize, "standard">;
|
|
24
|
+
/**
|
|
25
|
+
* Specify the event Date, in both human and Unix format.
|
|
26
|
+
*/
|
|
27
|
+
date?: EventDate;
|
|
28
|
+
/**
|
|
29
|
+
* Additional date information
|
|
30
|
+
*/
|
|
31
|
+
details?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Intro text for the card
|
|
34
|
+
*/
|
|
35
|
+
intro?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Specify the URL for the card link
|
|
38
|
+
*/
|
|
39
|
+
link?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Specify the image for the card
|
|
42
|
+
*/
|
|
43
|
+
image?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Specify if the card is a video
|
|
46
|
+
*/
|
|
47
|
+
isVideo?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Specify an optional className to be added to your DetailCard.
|
|
50
|
+
*/
|
|
51
|
+
className?: string;
|
|
52
|
+
};
|
|
53
|
+
declare const DetailCard: import('react').ForwardRefExoticComponent<DetailCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
54
|
+
export { DetailCard };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CardSize, HeadingTypes, ThemeTypes } from '../../types';
|
|
2
|
+
|
|
3
|
+
export type 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
|
+
/**
|
|
21
|
+
* The list of facts to display
|
|
22
|
+
*/
|
|
23
|
+
list: string[];
|
|
24
|
+
/**
|
|
25
|
+
* Specify an optional className to be added to your FactListCard.
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
};
|
|
29
|
+
declare const FactListCard: import('react').ForwardRefExoticComponent<FactListCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
30
|
+
export { FactListCard };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LinkListProps } from '../LinkList';
|
|
2
|
+
import { CardSize, EventDate, HeadingTypes, ThemeTypes } from '../../types';
|
|
3
3
|
|
|
4
|
-
export
|
|
5
|
-
|
|
4
|
+
export type FeatureCardProps = {
|
|
5
|
+
isVideo?: boolean;
|
|
6
6
|
/**
|
|
7
7
|
* A line of text that appears as a small heading above the title of the card
|
|
8
8
|
*/
|
|
@@ -27,10 +27,22 @@ export interface FeatureCardProps {
|
|
|
27
27
|
* Specify the event Date, in both human and Unix format.
|
|
28
28
|
*/
|
|
29
29
|
date?: EventDate;
|
|
30
|
+
/**
|
|
31
|
+
* Link to the card
|
|
32
|
+
*/
|
|
30
33
|
link?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Link list to show in the card
|
|
36
|
+
*/
|
|
31
37
|
linklist?: LinkListProps;
|
|
32
38
|
/**
|
|
33
39
|
* The image to show in the card
|
|
34
40
|
*/
|
|
35
41
|
image?: string;
|
|
36
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Specify an optional className to be added to your TextCard.
|
|
44
|
+
*/
|
|
45
|
+
className?: string;
|
|
46
|
+
};
|
|
47
|
+
declare const FeatureCard: import('react').ForwardRefExoticComponent<FeatureCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
48
|
+
export { FeatureCard };
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LinkListProps } from '../LinkList';
|
|
2
|
+
import { CardAlignment, CardSize, HeadingTypes } from '../../types';
|
|
3
|
+
|
|
4
|
+
export type 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
|
+
/**
|
|
23
|
+
* How should the card be aligned
|
|
24
|
+
*/
|
|
25
|
+
alignment?: CardAlignment;
|
|
26
|
+
/**
|
|
27
|
+
* Introductory text in the card
|
|
28
|
+
*/
|
|
29
|
+
intro?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Link to the card
|
|
32
|
+
*/
|
|
33
|
+
link?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Link list to show in the card
|
|
36
|
+
*/
|
|
37
|
+
linklist?: LinkListProps;
|
|
38
|
+
/**
|
|
39
|
+
* The image to show in the card
|
|
40
|
+
*/
|
|
41
|
+
image?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Specify an optional className to be added to your TextCard.
|
|
44
|
+
*/
|
|
45
|
+
className?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Specify a theme for the component, either `light` or `blue`
|
|
48
|
+
*/
|
|
49
|
+
theme?: "light" | "soft";
|
|
50
|
+
};
|
|
51
|
+
declare const MultiLinkCard: import('react').ForwardRefExoticComponent<MultiLinkCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
52
|
+
export { MultiLinkCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { LinkProps } from '
|
|
1
|
+
import { CardCornerType, CardSize, HeadingTypes, ThemeTypes } from '../../types';
|
|
2
|
+
import { LinkProps } from '../Link';
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export type PromoCardProps = {
|
|
5
5
|
/**
|
|
6
6
|
* A line of text that appears as a small heading above the title of the card
|
|
7
7
|
*/
|
|
@@ -30,6 +30,18 @@ export interface PromoCardProps {
|
|
|
30
30
|
* Introductory text in the card
|
|
31
31
|
*/
|
|
32
32
|
intro?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Source link for the card
|
|
35
|
+
*/
|
|
33
36
|
link?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Call to action link
|
|
39
|
+
*/
|
|
34
40
|
cta?: LinkProps;
|
|
35
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Specify an optional className to be added to your PromoCard.
|
|
43
|
+
*/
|
|
44
|
+
className?: string;
|
|
45
|
+
};
|
|
46
|
+
declare const PromoCard: import('react').ForwardRefExoticComponent<PromoCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
47
|
+
export { PromoCard };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LinkProps } from '../Link';
|
|
2
|
+
import { CardColor, CardSize, HeadingTypes, ThemeTypes } from '../../types';
|
|
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
|
+
* Will render the card to appear on light or dark backgrounds
|
|
15
|
+
*/
|
|
16
|
+
theme?: ThemeTypes;
|
|
17
|
+
/**
|
|
18
|
+
* Background color of stat card
|
|
19
|
+
*/
|
|
20
|
+
color?: CardColor;
|
|
21
|
+
/**
|
|
22
|
+
* How big should the card be
|
|
23
|
+
*/
|
|
24
|
+
size?: Omit<CardSize, "narrow" | "wide">;
|
|
25
|
+
/**
|
|
26
|
+
* Introductory text in the card
|
|
27
|
+
*/
|
|
28
|
+
intro?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Source link for the card
|
|
31
|
+
*/
|
|
32
|
+
source?: LinkProps;
|
|
33
|
+
/**
|
|
34
|
+
* Specify an optional className to be added to your StatCard.
|
|
35
|
+
*/
|
|
36
|
+
className?: string;
|
|
37
|
+
}
|
|
38
|
+
declare const StatCard: import('react').ForwardRefExoticComponent<StatCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
39
|
+
export { StatCard };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ProfileProps } from '../Profile';
|
|
2
|
+
import { CardSize, EventDate, HeadingTypes, ThemeTypes } from '../../types';
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export type TextCardProps = {
|
|
5
5
|
/**
|
|
6
6
|
* A line of text that appears as a small heading above the title of the card
|
|
7
7
|
*/
|
|
@@ -26,6 +26,18 @@ export interface TextCardProps {
|
|
|
26
26
|
* Specify the event Date, in both human and Unix format.
|
|
27
27
|
*/
|
|
28
28
|
date?: EventDate;
|
|
29
|
+
/**
|
|
30
|
+
* Profile information to be displayed on the card
|
|
31
|
+
*/
|
|
29
32
|
profile: ProfileProps;
|
|
33
|
+
/**
|
|
34
|
+
* Specify the URL for the card link
|
|
35
|
+
*/
|
|
30
36
|
link?: string;
|
|
31
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Specify an optional className to be added to your TextCard.
|
|
39
|
+
*/
|
|
40
|
+
className?: string;
|
|
41
|
+
};
|
|
42
|
+
declare const TextCard: import('react').ForwardRefExoticComponent<TextCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
43
|
+
export { TextCard };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './TextCard';
|
|
2
|
+
export * from './StatCard';
|
|
3
|
+
export * from './PromoCard';
|
|
4
|
+
export * from './MultiLinkCard';
|
|
5
|
+
export * from './FeatureCard';
|
|
6
|
+
export * from './FactListCard';
|
|
7
|
+
export * from './DetailCard';
|
|
8
|
+
export * from './DataCard';
|
|
9
|
+
export * from './CardGroup';
|
|
@@ -22,6 +22,10 @@ export type ContextMenuProps = {
|
|
|
22
22
|
* Specify the links to be displayed in the Context Menu
|
|
23
23
|
*/
|
|
24
24
|
links: Array<LinkProps>;
|
|
25
|
+
/**
|
|
26
|
+
* Specify whether the Context Menu should be rendered in a portal
|
|
27
|
+
*/
|
|
28
|
+
withPortal?: boolean;
|
|
25
29
|
};
|
|
26
30
|
declare const ContextMenu: import('react').ForwardRefExoticComponent<ContextMenuProps & import('react').RefAttributes<HTMLOListElement>>;
|
|
27
31
|
export { ContextMenu };
|
|
@@ -1,5 +1,51 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LinkGroupProps, LinkProps } from '../LinkList';
|
|
2
|
+
import { SocialMediaProps } from '../SocialMedia';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export type 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
|
+
};
|
|
50
|
+
declare const Footer: import('react').ForwardRefExoticComponent<FooterProps & import('react').RefAttributes<HTMLElement>>;
|
|
51
|
+
export { Footer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './Footer';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { ThemeTypes } from '../../types';
|
|
3
|
+
import { ContextMenuProps } from '../ContextMenu';
|
|
4
|
+
|
|
5
|
+
export type LanguageToggleProps = {
|
|
6
|
+
/**
|
|
7
|
+
* The language string to display
|
|
8
|
+
*/
|
|
9
|
+
language: string;
|
|
10
|
+
/**
|
|
11
|
+
* Specify an optional className to be added to your LanguageToggle component.
|
|
12
|
+
*/
|
|
13
|
+
theme?: ThemeTypes;
|
|
14
|
+
/**
|
|
15
|
+
* Hide the glob icon
|
|
16
|
+
*/
|
|
17
|
+
hideIcon?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Specify the languages to be displayed in the Context Menu
|
|
20
|
+
*/
|
|
21
|
+
options?: ContextMenuProps["links"];
|
|
22
|
+
className?: string;
|
|
23
|
+
};
|
|
24
|
+
declare const LanguageToggle: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & LanguageToggleProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
25
|
+
export { LanguageToggle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LanguageToggle';
|