@ilo-org/react 0.17.7 → 0.18.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/Accordion-chunk-C0MtnZLX.js +1 -0
- package/lib/cjs/_store/Accordion-entry-BZxhUG2Q.js +1 -0
- package/lib/cjs/_store/Breadcrumb-chunk-DvUpVY4l.js +1 -0
- package/lib/cjs/_store/Breadcrumb-entry-NNucl1rR.js +1 -0
- package/lib/cjs/_store/Button-chunk-0TEubQS1.js +1 -0
- package/lib/cjs/_store/Button-entry-BogzX4pv.js +1 -0
- package/lib/cjs/_store/Callout-chunk-B_3FQTvs.js +1 -0
- package/lib/cjs/_store/Callout-entry-DJsjlWxc.js +1 -0
- package/lib/cjs/_store/CardGroup-chunk-DhFE-J5O.js +1 -0
- package/lib/cjs/_store/Checkbox-chunk-B7P6WeNp.js +1 -0
- package/lib/cjs/_store/Checkbox-entry-Cpcx9EKD.js +1 -0
- package/lib/cjs/_store/Collapse-chunk-B3s_Bzzq.js +1 -0
- package/lib/cjs/_store/Collapse-entry-Djy1BBs6.js +1 -0
- package/lib/cjs/_store/ContextMenu-chunk-BegVo-Ry.js +1 -0
- package/lib/cjs/_store/ContextMenu-entry-TCdyzIRt.js +1 -0
- package/lib/cjs/_store/Credit-chunk-Dts5RkwZ.js +1 -0
- package/lib/cjs/_store/Credit-entry-GjFSWiDE.js +1 -0
- package/lib/cjs/_store/DatePicker-chunk-DMvnrakE.js +1 -0
- package/lib/cjs/_store/DatePicker-entry-CweKIj3U.js +1 -0
- package/lib/cjs/_store/Dropdown-chunk--_pVhTcV.js +1 -0
- package/lib/cjs/_store/Dropdown-entry-BcBG6Zg7.js +1 -0
- package/lib/cjs/_store/Empty-chunk-BEqHK-KC.js +1 -0
- package/lib/cjs/_store/Empty-entry-C_Q8VgpP.js +1 -0
- package/lib/cjs/_store/Fieldset-chunk-BsOPbe_a.js +1 -0
- package/lib/cjs/_store/Fieldset-entry-BUyKAdkn.js +1 -0
- package/lib/cjs/_store/FileUpload-chunk-CmHP-E54.js +1 -0
- package/lib/cjs/_store/FileUpload-entry-DKzm4WvO.js +1 -0
- package/lib/cjs/_store/Footer-chunk-9dkCoi0B.js +1 -0
- package/lib/cjs/_store/Footer-entry-D3GYBVpj.js +1 -0
- package/lib/cjs/_store/Form-chunk-DjDwz7DV.js +1 -0
- package/lib/cjs/_store/Form-entry-O0GJ5PoD.js +1 -0
- package/lib/cjs/_store/FormControl-chunk-08fp5TeU.js +1 -0
- package/lib/cjs/_store/FormControl-entry-DN7TYc37.js +1 -0
- package/lib/cjs/_store/FormElement-chunk-B8x3bzQh.js +1 -0
- package/lib/cjs/_store/FormElement-entry-DDBD7cYZ.js +1 -0
- package/lib/cjs/_store/GlobalCtx-chunk-D_GlGcgw.js +1 -0
- package/lib/cjs/_store/GlobalProvider-chunk-Bt1vmswv.js +1 -0
- package/lib/cjs/_store/GlobalProvider-entry-DkJQ9RWP.js +1 -0
- package/lib/cjs/_store/Heading-chunk-BJAywWmF.js +1 -0
- package/lib/cjs/_store/Heading-entry-DsqDeoiL.js +1 -0
- package/lib/cjs/_store/Hero-chunk-ZP6tCFz5.js +1 -0
- package/lib/cjs/_store/Hero-entry-CVMagWvL.js +1 -0
- package/lib/cjs/_store/Icon-chunk-C3UyVBv5.js +1 -0
- package/lib/cjs/_store/Icon-entry-DHj_qd8u.js +1 -0
- package/lib/cjs/_store/Image-chunk-jaj_JISB.js +1 -0
- package/lib/cjs/_store/Image-entry-DpxKHlQg.js +1 -0
- package/lib/cjs/_store/Input-chunk-DIcDfISq.js +1 -0
- package/lib/cjs/_store/Input-entry-Cq1G_bNN.js +1 -0
- package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +1 -0
- package/lib/cjs/_store/Link-entry-CFNVpDIo.js +1 -0
- package/lib/cjs/_store/LinkList-chunk-Dv-cNPfH.js +1 -0
- package/lib/cjs/_store/LinkList-entry-CvmQYOZx.js +1 -0
- package/lib/cjs/_store/List-entry-CWz5DRJJ.js +1 -0
- package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +1 -0
- package/lib/cjs/_store/Loading-chunk-C9rx8cqr.js +1 -0
- package/lib/cjs/_store/Loading-entry-CwPEKM50.js +1 -0
- package/lib/cjs/_store/LocalNav-chunk-TRLUir71.js +1 -0
- package/lib/cjs/_store/LocalNav-entry-BHboaRc5.js +1 -0
- package/lib/cjs/_store/Logo-chunk-Bz8Vfcn7.js +1 -0
- package/lib/cjs/_store/Logo-entry-C8ZmQs8R.js +1 -0
- package/lib/cjs/_store/LogoGrid-entry-DfTqIeGY.js +1 -0
- package/lib/cjs/_store/Navigation-chunk-CPzyVK7B.js +1 -0
- package/lib/cjs/_store/Navigation-entry-D07Y4pkR.js +1 -0
- package/lib/cjs/_store/Notification-chunk-DXIs6h5e.js +1 -0
- package/lib/cjs/_store/Notification-entry-C9D2mAvD.js +1 -0
- package/lib/cjs/_store/NumberPicker-chunk-CaQYVhyz.js +1 -0
- package/lib/cjs/_store/NumberPicker-entry-BEqwzCKS.js +1 -0
- package/lib/cjs/_store/Pagination-chunk-4zp3hOFL.js +1 -0
- package/lib/cjs/_store/Pagination-entry-eS2pFOuY.js +1 -0
- package/lib/cjs/_store/Profile-chunk-BH98cR85.js +1 -0
- package/lib/cjs/_store/Profile-entry-DHpgLCAp.js +1 -0
- package/lib/cjs/_store/Radio-chunk-RnNWzYgj.js +1 -0
- package/lib/cjs/_store/Radio-entry-DhWQjZuV.js +1 -0
- package/lib/cjs/_store/ReadMore-chunk-BQvY4016.js +1 -0
- package/lib/cjs/_store/ReadMore-entry-oYGJDJYJ.js +1 -0
- package/lib/cjs/_store/RichText-chunk-ZamwF4QL.js +1 -0
- package/lib/cjs/_store/RichText-entry-C7Fzr9VS.js +1 -0
- package/lib/cjs/_store/SearchField-chunk-DsxlWr7d.js +1 -0
- package/lib/cjs/_store/SearchField-entry-CgnoJz0d.js +1 -0
- package/lib/cjs/_store/SocialMedia-chunk-fLjmpXNC.js +1 -0
- package/lib/cjs/_store/SocialMedia-entry-meZdo-EU.js +1 -0
- package/lib/cjs/_store/TableOfContents-chunk-DcLMEr2i.js +1 -0
- package/lib/cjs/_store/TableOfContents-entry-DrMc0kJL.js +1 -0
- package/lib/cjs/_store/Tabs-chunk-DDQr8q_Q.js +1 -0
- package/lib/cjs/_store/Tabs-entry-iq_o_CtL.js +1 -0
- package/lib/cjs/_store/Tag-chunk-B4ZPZsMt.js +1 -0
- package/lib/cjs/_store/Tag-entry-5_lz5glY.js +1 -0
- package/lib/cjs/_store/TextInput-entry-Bl0sZdpl.js +1 -0
- package/lib/cjs/_store/Textarea-chunk-3fPk9MqI.js +1 -0
- package/lib/cjs/_store/Textarea-entry-Ac7gdvET.js +1 -0
- package/lib/cjs/_store/Toggle-entry-s05NRKOs.js +1 -0
- package/lib/cjs/_store/Tooltip-chunk-Bh77DbOg.js +1 -0
- package/lib/cjs/_store/Tooltip-entry--csXZiQZ.js +1 -0
- package/lib/cjs/_store/Video-chunk-BIJvoxjg.js +66 -0
- package/lib/cjs/_store/Video-entry-CmzlnrTO.js +1 -0
- package/lib/cjs/_store/_commonjsHelpers-chunk-DwTZ_eVU.js +1 -0
- package/lib/cjs/_store/checkArrayDuplicates-chunk-Bqxwhc1q.js +1 -0
- package/lib/cjs/_store/components-entry-DEwUb_oq.js +1 -0
- package/lib/cjs/_store/index-chunk-CV1afBzr.js +20 -0
- package/lib/cjs/_store/index-chunk-DCI82Tmm.js +5 -0
- package/lib/cjs/_store/index.js +1 -0
- package/lib/cjs/_store/inheritsLoose-chunk-VkUGvzyJ.js +1 -0
- package/lib/cjs/_store/useGlobalSettings-chunk-Pa38w6VS.js +1 -0
- package/lib/cjs/_store/usePrevious-chunk-DENrwKF1.js +1 -0
- package/lib/cjs/index.js +1 -135
- package/lib/esm/_store/Accordion-chunk-B6FAPUyi.js +113 -0
- package/lib/esm/_store/Accordion-entry-oAYQPeGr.js +7 -0
- package/lib/esm/_store/Breadcrumb-chunk-CclNRjxd.js +132 -0
- package/lib/esm/_store/Breadcrumb-entry-Biundzlp.js +4 -0
- package/lib/esm/_store/Button-chunk-Crzq2FAv.js +61 -0
- package/lib/esm/_store/Button-entry-DQ9yLTsk.js +30 -0
- package/lib/esm/_store/Callout-chunk-BYTLkWbG.js +63 -0
- package/lib/esm/_store/Callout-entry-C-llb6Kt.js +31 -0
- package/lib/esm/_store/CardGroup-chunk-BTx2ukOX.js +354 -0
- package/lib/esm/_store/Checkbox-chunk-DJDgykAw.js +71 -0
- package/lib/esm/_store/Checkbox-entry-CfjxZKrK.js +28 -0
- package/lib/esm/_store/Collapse-chunk-BVSI_9Dd.js +560 -0
- package/lib/esm/_store/Collapse-entry-DH89iy1Y.js +4 -0
- package/lib/esm/_store/ContextMenu-chunk-CkdC2iPF.js +22 -0
- package/lib/esm/_store/ContextMenu-entry-BkbaSgVR.js +4 -0
- package/lib/esm/_store/Credit-chunk-BjaAFul8.js +26 -0
- package/lib/esm/_store/Credit-entry-BGow5bDT.js +4 -0
- package/lib/esm/_store/DatePicker-chunk-10fIc74h.js +60 -0
- package/lib/esm/_store/DatePicker-entry-Bu0S1bvg.js +4 -0
- package/lib/esm/_store/Dropdown-chunk-B6G7DnYr.js +72 -0
- package/lib/esm/_store/Dropdown-entry-CRDxMRpe.js +4 -0
- package/lib/esm/_store/Empty-chunk-UEm5zVbe.js +12 -0
- package/lib/esm/_store/Empty-entry-BuwyDmF5.js +4 -0
- package/lib/esm/_store/Fieldset-chunk-PK4HqNv_.js +57 -0
- package/lib/esm/_store/Fieldset-entry-BmiHpIGy.js +4 -0
- package/lib/esm/_store/FileUpload-chunk-dFon8lP2.js +77 -0
- package/lib/esm/_store/FileUpload-entry-uIvvAStY.js +4 -0
- package/lib/esm/_store/Footer-chunk-D6ig8l3Y.js +61 -0
- package/lib/esm/_store/Footer-entry-B885hcUe.js +4 -0
- package/lib/esm/_store/Form-chunk-1a4awKWi.js +13 -0
- package/lib/esm/_store/Form-entry-DhZ3WiWW.js +11 -0
- package/lib/esm/_store/FormControl-chunk-D_3t65GG.js +77 -0
- package/lib/esm/_store/FormControl-entry-DODa4uyx.js +4 -0
- package/lib/esm/_store/FormElement-chunk-DqR8rtCB.js +15 -0
- package/lib/esm/_store/FormElement-entry-C_RiN-BZ.js +4 -0
- package/lib/esm/_store/GlobalCtx-chunk-CtSRDnk3.js +7 -0
- package/lib/esm/_store/GlobalProvider-chunk-nVdEz2_E.js +20 -0
- package/lib/esm/_store/GlobalProvider-entry-CCUkUh3z.js +6 -0
- package/lib/esm/_store/Heading-chunk-CFEDmQeQ.js +19 -0
- package/lib/esm/_store/Heading-entry-CTotrXWW.js +4 -0
- package/lib/esm/_store/Hero-chunk-HJvXvclG.js +76 -0
- package/lib/esm/_store/Hero-entry-gNTc6gUC.js +5 -0
- package/lib/esm/_store/Icon-chunk-x0E_KQyQ.js +3482 -0
- package/lib/esm/_store/Icon-entry-d1Lq52eV.js +4 -0
- package/lib/esm/_store/Image-chunk-C4zF97rw.js +35 -0
- package/lib/esm/_store/Image-entry-DaqK9C99.js +4 -0
- package/lib/esm/_store/Input-chunk-p-3N8OO4.js +58 -0
- package/lib/esm/_store/Input-entry-DG2Mv1K2.js +4 -0
- package/lib/esm/_store/Link-chunk-zt732cUC.js +36 -0
- package/lib/esm/_store/Link-entry-BY4hUubQ.js +4 -0
- package/lib/esm/_store/LinkList-chunk-CIZvyv8v.js +38 -0
- package/lib/esm/_store/LinkList-entry-ChpzxNTf.js +4 -0
- package/lib/esm/_store/List-entry-C68jMDRE.js +5 -0
- package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +26 -0
- package/lib/esm/_store/Loading-chunk-BIJLAqk6.js +14 -0
- package/lib/esm/_store/Loading-entry-84g0sHXB.js +4 -0
- package/lib/esm/_store/LocalNav-chunk-BTJAs9kb.js +207 -0
- package/lib/esm/_store/LocalNav-entry-CYlCB-lD.js +4 -0
- package/lib/esm/_store/Logo-chunk-CsxA3mRV.js +121 -0
- package/lib/esm/_store/Logo-entry-3NNSpfQ9.js +4 -0
- package/lib/esm/_store/LogoGrid-entry-BEUN3M_d.js +24 -0
- package/lib/esm/_store/Navigation-chunk-BL9t1Aze.js +221 -0
- package/lib/esm/_store/Navigation-entry-Ch7YqW5b.js +4 -0
- package/lib/esm/_store/Notification-chunk-CdTKN1sq.js +61 -0
- package/lib/esm/_store/Notification-entry--uWc9jEM.js +4 -0
- package/lib/esm/_store/NumberPicker-chunk-CsDLNdop.js +62 -0
- package/lib/esm/_store/NumberPicker-entry-BuxrmdUS.js +4 -0
- package/lib/esm/_store/Pagination-chunk-Ci7qN6no.js +94 -0
- package/lib/esm/_store/Pagination-entry-CM2xRx7F.js +4 -0
- package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +38 -0
- package/lib/esm/_store/Profile-entry-CE39-Kzc.js +4 -0
- package/lib/esm/_store/Radio-chunk-GaPnCNx4.js +77 -0
- package/lib/esm/_store/Radio-entry-CFuTolt7.js +11 -0
- package/lib/esm/_store/ReadMore-chunk-DoptEIE4.js +38 -0
- package/lib/esm/_store/ReadMore-entry-DuzFfWne.js +4 -0
- package/lib/esm/_store/RichText-chunk-BOMiyuNR.js +18 -0
- package/lib/esm/_store/RichText-entry-BfHki79h.js +4 -0
- package/lib/esm/_store/SearchField-chunk-BF-yCtvV.js +56 -0
- package/lib/esm/_store/SearchField-entry-DCMFJrVP.js +4 -0
- package/lib/esm/_store/SocialMedia-chunk-CP4gdUdi.js +32 -0
- package/lib/esm/_store/SocialMedia-entry-ZTNn-vUB.js +54 -0
- package/lib/esm/_store/TableOfContents-chunk-BXnS8D2s.js +12 -0
- package/lib/esm/_store/TableOfContents-entry-DHXKt1NR.js +4 -0
- package/lib/esm/_store/Tabs-chunk-D2k0m68V.js +40 -0
- package/lib/esm/_store/Tabs-entry-B3sg3VMU.js +4 -0
- package/lib/esm/_store/Tag-chunk-BxCaTFBz.js +65 -0
- package/lib/esm/_store/Tag-entry-Cr5XkVR9.js +45 -0
- package/lib/esm/_store/TextInput-entry-BTZVvumC.js +123 -0
- package/lib/esm/_store/Textarea-chunk-BCW6ZV8n.js +38 -0
- package/lib/esm/_store/Textarea-entry-CFe0s_hM.js +28 -0
- package/lib/esm/_store/Toggle-entry-CehJKItc.js +122 -0
- package/lib/esm/_store/Tooltip-chunk-CPT-dPDc.js +1001 -0
- package/lib/esm/_store/Tooltip-entry-cgQr1mHa.js +4 -0
- package/lib/esm/_store/Video-chunk-CDl9BbxW.js +24698 -0
- package/lib/esm/_store/Video-entry-DNXjIczI.js +4 -0
- package/lib/esm/_store/_commonjsHelpers-chunk-BkfeUUK-.js +28 -0
- package/lib/esm/_store/checkArrayDuplicates-chunk-C7cf0TQw.js +11 -0
- package/lib/esm/_store/components-entry-Er-smibI.js +87 -0
- package/lib/esm/_store/index-chunk-0LeqwHm8.js +40 -0
- package/lib/esm/_store/index-chunk-BNwl8BvE.js +644 -0
- package/lib/esm/_store/index.js +6 -0
- package/lib/esm/_store/inheritsLoose-chunk-JR0pp2En.js +12 -0
- package/lib/esm/_store/useGlobalSettings-chunk-gkijV3S1.js +12 -0
- package/lib/esm/_store/usePrevious-chunk-BtJVllKj.js +10 -0
- package/lib/esm/index.js +91 -86
- package/lib/styles/components/logogrid.css +1 -1
- package/lib/styles/components/multilinkcard.css +1 -1
- package/lib/styles/global.css.map +1 -0
- package/lib/styles/index.css +2 -2
- package/lib/styles/index.css.map +1 -0
- package/lib/styles/monorepo.css +2 -2
- package/lib/styles/monorepo.css.map +1 -0
- package/lib/types/components/Accordion/Accordion.d.ts +5 -0
- package/lib/types/components/Accordion/Accordion.props.d.ts +34 -0
- package/lib/types/components/Accordion/AccordionButton.d.ts +5 -0
- package/lib/types/components/Accordion/AccordionButton.props.d.ts +12 -0
- package/lib/types/components/Accordion/AccordionCtx.d.ts +5 -0
- package/lib/types/components/Accordion/AccordionItem.d.ts +5 -0
- package/lib/types/components/Accordion/AccordionItem.props.d.ts +22 -0
- package/lib/types/components/Accordion/AccordionPanel.d.ts +5 -0
- package/lib/types/components/Accordion/AccordionPanel.props.d.ts +22 -0
- package/lib/types/components/Accordion/index.d.ts +4 -0
- package/lib/types/components/Breadcrumb/Breadcrumb.d.ts +5 -0
- package/lib/types/components/Breadcrumb/Breadcrumb.props.d.ts +32 -0
- package/lib/types/components/Breadcrumb/index.d.ts +1 -0
- package/lib/types/components/Button/Button.d.ts +5 -0
- package/lib/types/components/Button/Button.props.d.ts +69 -0
- package/lib/types/components/Button/index.d.ts +2 -0
- package/lib/types/components/Callout/Callout.d.ts +5 -0
- package/lib/types/components/Callout/Callout.props.d.ts +51 -0
- package/lib/types/components/Callout/index.d.ts +2 -0
- package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +5 -0
- package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +85 -0
- package/lib/types/components/Cards/CardGroup/index.d.ts +3 -0
- package/lib/types/components/Cards/DataCard/DataCard.d.ts +5 -0
- package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +51 -0
- package/lib/types/components/Cards/DataCard/index.d.ts +3 -0
- package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +5 -0
- package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +40 -0
- package/lib/types/components/Cards/DetailCard/index.d.ts +3 -0
- package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +5 -0
- package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +21 -0
- package/lib/types/components/Cards/FactlistCard/index.d.ts +3 -0
- package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +5 -0
- package/lib/types/components/Cards/FeatureCard/FeatureCard.props.d.ts +36 -0
- package/lib/types/components/Cards/FeatureCard/index.d.ts +3 -0
- package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +5 -0
- package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +30 -0
- package/lib/types/components/Cards/MultilinkCard/index.d.ts +3 -0
- package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +5 -0
- package/lib/types/components/Cards/PromoCard/PromoCard.props.d.ts +35 -0
- package/lib/types/components/Cards/PromoCard/index.d.ts +3 -0
- package/lib/types/components/Cards/StatCard/StatCard.d.ts +5 -0
- package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +26 -0
- package/lib/types/components/Cards/StatCard/index.d.ts +3 -0
- package/lib/types/components/Cards/TextCard/TextCard.d.ts +5 -0
- package/lib/types/components/Cards/TextCard/TextCard.props.d.ts +31 -0
- package/lib/types/components/Cards/TextCard/index.d.ts +3 -0
- package/lib/types/components/Checkbox/Checkbox.d.ts +7 -0
- package/lib/types/components/Checkbox/Checkbox.props.d.ts +4 -0
- package/lib/types/components/Checkbox/index.d.ts +2 -0
- package/lib/types/components/Collapse/Collapse.d.ts +4 -0
- package/lib/types/components/Collapse/Collapse.props.d.ts +77 -0
- package/lib/types/components/Collapse/index.d.ts +1 -0
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +5 -0
- package/lib/types/components/ContextMenu/ContextMenu.props.d.ts +24 -0
- package/lib/types/components/ContextMenu/index.d.ts +1 -0
- package/lib/types/components/Credit/Credit.d.ts +5 -0
- package/lib/types/components/Credit/Credit.props.d.ts +10 -0
- package/lib/types/components/Credit/index.d.ts +1 -0
- package/lib/types/components/DatePicker/DatePicker.d.ts +6 -0
- package/lib/types/components/DatePicker/DatePicker.props.d.ts +21 -0
- package/lib/types/components/DatePicker/index.d.ts +1 -0
- package/lib/types/components/Dropdown/Dropdown.d.ts +7 -0
- package/lib/types/components/Dropdown/Dropdown.props.d.ts +43 -0
- package/lib/types/components/Dropdown/index.d.ts +1 -0
- package/lib/types/components/Empty/Empty.d.ts +5 -0
- package/lib/types/components/Empty/Empty.props.d.ts +12 -0
- package/lib/types/components/Empty/index.d.ts +1 -0
- package/lib/types/components/Fieldset/Fieldset.d.ts +11 -0
- package/lib/types/components/Fieldset/Fieldset.props.d.ts +28 -0
- package/lib/types/components/Fieldset/index.d.ts +1 -0
- package/lib/types/components/FileUpload/FileUpload.d.ts +7 -0
- package/lib/types/components/FileUpload/FileUpload.props.d.ts +17 -0
- package/lib/types/components/FileUpload/index.d.ts +1 -0
- package/lib/types/components/Footer/Footer.d.ts +5 -0
- package/lib/types/components/Footer/Footer.props.d.ts +49 -0
- package/lib/types/components/Footer/index.d.ts +1 -0
- package/lib/types/components/Form/Form.d.ts +4 -0
- package/lib/types/components/Form/Form.props.d.ts +7 -0
- package/lib/types/components/Form/index.d.ts +2 -0
- package/lib/types/components/FormControl/FormControl.d.ts +10 -0
- package/lib/types/components/FormControl/FormControl.props.d.ts +56 -0
- package/lib/types/components/FormControl/index.d.ts +2 -0
- package/lib/types/components/FormElement/FormElement.d.ts +5 -0
- package/lib/types/components/FormElement/FormElement.props.d.ts +48 -0
- package/lib/types/components/FormElement/index.d.ts +1 -0
- package/lib/types/components/GlobalProvider/GlobalCtx.d.ts +3 -0
- package/lib/types/components/GlobalProvider/GlobalProvider.d.ts +5 -0
- package/lib/types/components/GlobalProvider/GlobalProvider.props.d.ts +14 -0
- package/lib/types/components/GlobalProvider/index.d.ts +2 -0
- package/lib/types/components/Heading/Heading.d.ts +5 -0
- package/lib/types/components/Heading/Heading.props.d.ts +21 -0
- package/lib/types/components/Heading/index.d.ts +1 -0
- package/lib/types/components/Hero/Hero.d.ts +5 -0
- package/lib/types/components/Hero/Hero.props.d.ts +52 -0
- package/lib/types/components/Hero/HeroCard.d.ts +5 -0
- package/lib/types/components/Hero/HeroCard.props.d.ts +45 -0
- package/lib/types/components/Hero/index.d.ts +2 -0
- package/lib/types/components/Icon/Icon.d.ts +5 -0
- package/lib/types/components/Icon/Icon.props.d.ts +14 -0
- package/lib/types/components/Icon/index.d.ts +1 -0
- package/lib/types/components/Image/Image.d.ts +5 -0
- package/lib/types/components/Image/Image.props.d.ts +37 -0
- package/lib/types/components/Image/index.d.ts +1 -0
- package/lib/types/components/Input/Input.d.ts +5 -0
- package/lib/types/components/Input/Input.props.d.ts +53 -0
- package/lib/types/components/Input/index.d.ts +1 -0
- package/lib/types/components/Link/Link.d.ts +5 -0
- package/lib/types/components/Link/Link.props.d.ts +33 -0
- package/lib/types/components/Link/index.d.ts +1 -0
- package/lib/types/components/LinkList/LinkList.d.ts +5 -0
- package/lib/types/components/LinkList/LinkList.props.d.ts +44 -0
- package/lib/types/components/LinkList/index.d.ts +1 -0
- package/lib/types/components/List/List.d.ts +5 -0
- package/lib/types/components/List/List.props.d.ts +25 -0
- package/lib/types/components/List/ListItem.d.ts +5 -0
- package/lib/types/components/List/ListItem.props.d.ts +16 -0
- package/lib/types/components/List/index.d.ts +2 -0
- package/lib/types/components/Loading/Loading.d.ts +5 -0
- package/lib/types/components/Loading/Loading.props.d.ts +20 -0
- package/lib/types/components/Loading/index.d.ts +1 -0
- package/lib/types/components/LocalNav/LocalNav.d.ts +5 -0
- package/lib/types/components/LocalNav/LocalNav.props.d.ts +48 -0
- package/lib/types/components/LocalNav/index.d.ts +1 -0
- package/lib/types/components/Logo/Logo.d.ts +5 -0
- package/lib/types/components/Logo/Logo.props.d.ts +55 -0
- package/lib/types/components/Logo/index.d.ts +1 -0
- package/lib/types/components/LogoGrid/LogoGrid.d.ts +5 -0
- package/lib/types/components/LogoGrid/LogoGrid.props.d.ts +24 -0
- package/lib/types/components/LogoGrid/index.d.ts +1 -0
- package/lib/types/components/Navigation/Navigation.d.ts +5 -0
- package/lib/types/components/Navigation/Navigation.props.d.ts +100 -0
- package/lib/types/components/Navigation/index.d.ts +1 -0
- package/lib/types/components/Notification/Notification.d.ts +5 -0
- package/lib/types/components/Notification/Notification.props.d.ts +57 -0
- package/lib/types/components/Notification/index.d.ts +1 -0
- package/lib/types/components/NumberPicker/NumberPicker.d.ts +7 -0
- package/lib/types/components/NumberPicker/NumberPicker.props.d.ts +21 -0
- package/lib/types/components/NumberPicker/index.d.ts +1 -0
- package/lib/types/components/Pagination/Pagination.d.ts +5 -0
- package/lib/types/components/Pagination/Pagination.props.d.ts +54 -0
- package/lib/types/components/Pagination/index.d.ts +1 -0
- package/lib/types/components/Profile/Profile.d.ts +5 -0
- package/lib/types/components/Profile/Profile.props.d.ts +47 -0
- package/lib/types/components/Profile/index.d.ts +1 -0
- package/lib/types/components/Radio/Radio.d.ts +7 -0
- package/lib/types/components/Radio/Radio.props.d.ts +4 -0
- package/lib/types/components/Radio/index.d.ts +2 -0
- package/lib/types/components/ReadMore/ReadMore.d.ts +5 -0
- package/lib/types/components/ReadMore/ReadMore.props.d.ts +32 -0
- package/lib/types/components/ReadMore/index.d.ts +1 -0
- package/lib/types/components/RichText/RichText.d.ts +5 -0
- package/lib/types/components/RichText/RichText.props.d.ts +10 -0
- package/lib/types/components/RichText/index.d.ts +1 -0
- package/lib/types/components/SearchField/SearchField.d.ts +5 -0
- package/lib/types/components/SearchField/SearchField.props.d.ts +30 -0
- package/lib/types/components/SearchField/index.d.ts +1 -0
- package/lib/types/components/SocialMedia/SocialMedia.d.ts +4 -0
- package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +42 -0
- package/lib/types/components/SocialMedia/index.d.ts +3 -0
- package/lib/types/components/TableOfContents/TableOfContents.d.ts +5 -0
- package/lib/types/components/TableOfContents/TableOfContents.props.d.ts +20 -0
- package/lib/types/components/TableOfContents/index.d.ts +1 -0
- package/lib/types/components/Tabs/Tabs.args.d.ts +11 -0
- package/lib/types/components/Tabs/Tabs.d.ts +5 -0
- package/lib/types/components/Tabs/Tabs.props.d.ts +14 -0
- package/lib/types/components/Tabs/index.d.ts +1 -0
- package/lib/types/components/Tag/Tag.d.ts +5 -0
- package/lib/types/components/Tag/Tag.props.d.ts +29 -0
- package/lib/types/components/Tag/TagCtx.d.ts +3 -0
- package/lib/types/components/Tag/TagSet.d.ts +5 -0
- package/lib/types/components/Tag/TagSet.props.d.ts +31 -0
- package/lib/types/components/Tag/index.d.ts +2 -0
- package/lib/types/components/TextInput/TextInput.d.ts +7 -0
- package/lib/types/components/TextInput/TextInput.props.d.ts +17 -0
- package/lib/types/components/TextInput/index.d.ts +2 -0
- package/lib/types/components/Textarea/Textarea.d.ts +7 -0
- package/lib/types/components/Textarea/Textarea.props.d.ts +37 -0
- package/lib/types/components/Textarea/index.d.ts +3 -0
- package/lib/types/components/Toggle/Toggle.d.ts +6 -0
- package/lib/types/components/Toggle/Toggle.props.d.ts +22 -0
- package/lib/types/components/Toggle/index.d.ts +3 -0
- package/lib/types/components/Tooltip/Tooltip.d.ts +5 -0
- package/lib/types/components/Tooltip/Tooltip.props.d.ts +33 -0
- package/lib/types/components/Tooltip/index.d.ts +1 -0
- package/lib/types/components/Video/Video.d.ts +5 -0
- package/lib/types/components/Video/Video.props.d.ts +29 -0
- package/lib/types/components/Video/VideoPlayer.d.ts +4 -0
- package/lib/types/components/Video/VideoPlayer.props.d.ts +43 -0
- package/lib/types/components/Video/index.d.ts +1 -0
- package/lib/types/components/index.d.ts +41 -0
- package/lib/types/hooks/index.d.ts +2 -0
- package/lib/types/hooks/useGlobalSettings.d.ts +4 -0
- package/lib/types/hooks/usePrevious.d.ts +2 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/types/index.d.ts +92 -0
- package/lib/types/utils/checkArrayDuplicates.d.ts +1 -0
- package/lib/types/utils/createChainedFunction.d.ts +11 -0
- package/lib/types/utils/getDefaultDimensionValue.d.ts +3 -0
- package/lib/types/utils/hoursMinutesSeconds.d.ts +1 -0
- package/lib/types/utils/index.d.ts +6 -0
- package/lib/types/utils/transitionEndListener.d.ts +1 -0
- package/lib/types/utils/triggerBrowserReflow.d.ts +1 -0
- package/package.json +43 -90
- package/lib/cjs/AccordionCtx-be704051.js +0 -9
- package/lib/cjs/GlobalCtx-10114bdd.js +0 -9
- package/lib/cjs/TagCtx-690a1d54.js +0 -7
- package/lib/cjs/components/Accordion/Accordion.js +0 -47
- package/lib/cjs/components/Accordion/AccordionButton.js +0 -34
- package/lib/cjs/components/Accordion/AccordionItem.js +0 -21
- package/lib/cjs/components/Accordion/AccordionPanel.js +0 -30
- package/lib/cjs/components/Accordion/index.js +0 -22
- package/lib/cjs/components/Breadcrumb/Breadcrumb.js +0 -189
- package/lib/cjs/components/Breadcrumb/index.js +0 -14
- package/lib/cjs/components/Button/Button.js +0 -36
- package/lib/cjs/components/Button/index.js +0 -48
- package/lib/cjs/components/Callout/Callout.js +0 -47
- package/lib/cjs/components/Callout/index.js +0 -30
- package/lib/cjs/components/Cards/CardGroup/CardGroup.js +0 -44
- package/lib/cjs/components/Cards/CardGroup/index.js +0 -797
- package/lib/cjs/components/Cards/DataCard/DataCard.js +0 -27
- package/lib/cjs/components/Cards/DataCard/index.js +0 -81
- package/lib/cjs/components/Cards/DetailCard/DetailCard.js +0 -20
- package/lib/cjs/components/Cards/DetailCard/index.js +0 -25
- package/lib/cjs/components/Cards/FactlistCard/FactListCard.js +0 -22
- package/lib/cjs/components/Cards/FactlistCard/index.js +0 -24
- package/lib/cjs/components/Cards/FeatureCard/FeatureCard.js +0 -24
- package/lib/cjs/components/Cards/FeatureCard/index.js +0 -39
- package/lib/cjs/components/Cards/MultilinkCard/MultiLinkCard.js +0 -24
- package/lib/cjs/components/Cards/MultilinkCard/index.js +0 -43
- package/lib/cjs/components/Cards/PromoCard/PromoCard.js +0 -23
- package/lib/cjs/components/Cards/PromoCard/index.js +0 -26
- package/lib/cjs/components/Cards/StatCard/StatCard.js +0 -21
- package/lib/cjs/components/Cards/StatCard/index.js +0 -23
- package/lib/cjs/components/Cards/TextCard/TextCard.js +0 -23
- package/lib/cjs/components/Cards/TextCard/index.js +0 -30
- package/lib/cjs/components/Checkbox/Checkbox.js +0 -46
- package/lib/cjs/components/Checkbox/index.js +0 -39
- package/lib/cjs/components/Collapse/Collapse.js +0 -1853
- package/lib/cjs/components/Collapse/index.js +0 -17
- package/lib/cjs/components/ContextMenu/ContextMenu.js +0 -20
- package/lib/cjs/components/ContextMenu/index.js +0 -13
- package/lib/cjs/components/Credit/Credit.js +0 -33
- package/lib/cjs/components/Credit/index.js +0 -13
- package/lib/cjs/components/DatePicker/DatePicker.js +0 -37
- package/lib/cjs/components/DatePicker/index.js +0 -17
- package/lib/cjs/components/Dropdown/Dropdown.js +0 -39
- package/lib/cjs/components/Dropdown/index.js +0 -17
- package/lib/cjs/components/Empty/Empty.js +0 -19
- package/lib/cjs/components/Empty/index.js +0 -13
- package/lib/cjs/components/Fieldset/Fieldset.js +0 -48
- package/lib/cjs/components/Fieldset/index.js +0 -15
- package/lib/cjs/components/FileUpload/FileUpload.js +0 -49
- package/lib/cjs/components/FileUpload/index.js +0 -17
- package/lib/cjs/components/Footer/Footer.js +0 -24
- package/lib/cjs/components/Footer/index.js +0 -20
- package/lib/cjs/components/Form/Form.js +0 -19
- package/lib/cjs/components/Form/index.js +0 -21
- package/lib/cjs/components/FormControl/FormControl.js +0 -79
- package/lib/cjs/components/FormControl/index.js +0 -16
- package/lib/cjs/components/FormElement/FormElement.js +0 -19
- package/lib/cjs/components/FormElement/index.js +0 -8
- package/lib/cjs/components/GlobalProvider/GlobalProvider.js +0 -18
- package/lib/cjs/components/GlobalProvider/index.js +0 -11
- package/lib/cjs/components/Heading/Heading.js +0 -22
- package/lib/cjs/components/Heading/index.js +0 -13
- package/lib/cjs/components/Hero/Hero.js +0 -37
- package/lib/cjs/components/Hero/HeroCard.js +0 -35
- package/lib/cjs/components/Hero/index.js +0 -21
- package/lib/cjs/components/Icon/Icon.js +0 -43
- package/lib/cjs/components/Icon/index.js +0 -13
- package/lib/cjs/components/Image/Image.js +0 -31
- package/lib/cjs/components/Image/index.js +0 -14
- package/lib/cjs/components/Input/Input.js +0 -32
- package/lib/cjs/components/Input/index.js +0 -17
- package/lib/cjs/components/Link/Link.js +0 -23
- package/lib/cjs/components/Link/index.js +0 -13
- package/lib/cjs/components/LinkList/LinkList.js +0 -22
- package/lib/cjs/components/LinkList/index.js +0 -13
- package/lib/cjs/components/List/List.js +0 -23
- package/lib/cjs/components/List/ListItem.js +0 -18
- package/lib/cjs/components/List/index.js +0 -15
- package/lib/cjs/components/Loading/Loading.js +0 -21
- package/lib/cjs/components/Loading/index.js +0 -13
- package/lib/cjs/components/LocalNav/LocalNav.js +0 -98
- package/lib/cjs/components/LocalNav/index.js +0 -15
- package/lib/cjs/components/Logo/Logo.js +0 -153
- package/lib/cjs/components/Logo/index.js +0 -13
- package/lib/cjs/components/LogoGrid/LogoGrid.js +0 -30
- package/lib/cjs/components/LogoGrid/index.js +0 -13
- package/lib/cjs/components/Navigation/Navigation.js +0 -83
- package/lib/cjs/components/Navigation/index.js +0 -22
- package/lib/cjs/components/Notification/Notification.js +0 -41
- package/lib/cjs/components/Notification/index.js +0 -17
- package/lib/cjs/components/NumberPicker/NumberPicker.js +0 -37
- package/lib/cjs/components/NumberPicker/index.js +0 -17
- package/lib/cjs/components/Pagination/Pagination.js +0 -49
- package/lib/cjs/components/Pagination/index.js +0 -13
- package/lib/cjs/components/Profile/Profile.js +0 -21
- package/lib/cjs/components/Profile/index.js +0 -13
- package/lib/cjs/components/Radio/Radio.js +0 -47
- package/lib/cjs/components/Radio/index.js +0 -29
- package/lib/cjs/components/ReadMore/ReadMore.js +0 -38
- package/lib/cjs/components/ReadMore/index.js +0 -14
- package/lib/cjs/components/RichText/RichText.js +0 -19
- package/lib/cjs/components/RichText/index.js +0 -13
- package/lib/cjs/components/SearchField/SearchField.js +0 -48
- package/lib/cjs/components/SearchField/index.js +0 -20
- package/lib/cjs/components/SocialMedia/SocialMedia.js +0 -26
- package/lib/cjs/components/SocialMedia/index.js +0 -58
- package/lib/cjs/components/TableOfContents/TableOfContents.js +0 -22
- package/lib/cjs/components/TableOfContents/index.js +0 -13
- package/lib/cjs/components/Tabs/Tabs.args.js +0 -156
- package/lib/cjs/components/Tabs/Tabs.js +0 -24
- package/lib/cjs/components/Tabs/index.js +0 -15
- package/lib/cjs/components/Tag/Tag.js +0 -54
- package/lib/cjs/components/Tag/TagSet.js +0 -46
- package/lib/cjs/components/Tag/index.js +0 -20
- package/lib/cjs/components/TextInput/TextInput.js +0 -30
- package/lib/cjs/components/TextInput/index.js +0 -52
- package/lib/cjs/components/Textarea/Textarea.js +0 -32
- package/lib/cjs/components/Textarea/index.js +0 -38
- package/lib/cjs/components/Toggle/Toggle.js +0 -33
- package/lib/cjs/components/Toggle/index.js +0 -51
- package/lib/cjs/components/Tooltip/Tooltip.js +0 -73
- package/lib/cjs/components/Tooltip/index.js +0 -14
- package/lib/cjs/components/Video/Video.js +0 -26
- package/lib/cjs/components/Video/VideoPlayer.js +0 -59
- package/lib/cjs/components/Video/index.js +0 -16
- package/lib/cjs/components/index.js +0 -135
- package/lib/cjs/css-9c93400b.js +0 -81
- package/lib/cjs/hooks/index.js +0 -11
- package/lib/cjs/hooks/useGlobalSettings.js +0 -13
- package/lib/cjs/hooks/usePrevious.js +0 -20
- package/lib/cjs/utils/checkArrayDuplicates.js +0 -7
- package/lib/cjs/utils/createChainedFunction.js +0 -30
- package/lib/cjs/utils/getDefaultDimensionValue.js +0 -22
- package/lib/cjs/utils/hoursMinutesSeconds.js +0 -12
- package/lib/cjs/utils/index.js +0 -18
- package/lib/cjs/utils/transitionEndListener.js +0 -161
- package/lib/cjs/utils/triggerBrowserReflow.js +0 -8
- package/lib/esm/AccordionCtx-8c051900.js +0 -6
- package/lib/esm/GlobalCtx-7fb23cfa.js +0 -7
- package/lib/esm/TagCtx-34c545fe.js +0 -5
- package/lib/esm/components/Accordion/Accordion.js +0 -45
- package/lib/esm/components/Accordion/AccordionButton.js +0 -32
- package/lib/esm/components/Accordion/AccordionItem.js +0 -19
- package/lib/esm/components/Accordion/AccordionPanel.js +0 -28
- package/lib/esm/components/Accordion/index.js +0 -13
- package/lib/esm/components/Breadcrumb/Breadcrumb.js +0 -187
- package/lib/esm/components/Breadcrumb/index.js +0 -8
- package/lib/esm/components/Button/Button.js +0 -34
- package/lib/esm/components/Button/index.js +0 -45
- package/lib/esm/components/Callout/Callout.js +0 -45
- package/lib/esm/components/Callout/index.js +0 -27
- package/lib/esm/components/Cards/CardGroup/CardGroup.js +0 -42
- package/lib/esm/components/Cards/CardGroup/index.js +0 -794
- package/lib/esm/components/Cards/DataCard/DataCard.js +0 -25
- package/lib/esm/components/Cards/DataCard/index.js +0 -78
- package/lib/esm/components/Cards/DetailCard/DetailCard.js +0 -18
- package/lib/esm/components/Cards/DetailCard/index.js +0 -22
- package/lib/esm/components/Cards/FactlistCard/FactListCard.js +0 -20
- package/lib/esm/components/Cards/FactlistCard/index.js +0 -21
- package/lib/esm/components/Cards/FeatureCard/FeatureCard.js +0 -22
- package/lib/esm/components/Cards/FeatureCard/index.js +0 -36
- package/lib/esm/components/Cards/MultilinkCard/MultiLinkCard.js +0 -22
- package/lib/esm/components/Cards/MultilinkCard/index.js +0 -40
- package/lib/esm/components/Cards/PromoCard/PromoCard.js +0 -21
- package/lib/esm/components/Cards/PromoCard/index.js +0 -23
- package/lib/esm/components/Cards/StatCard/StatCard.js +0 -19
- package/lib/esm/components/Cards/StatCard/index.js +0 -20
- package/lib/esm/components/Cards/TextCard/TextCard.js +0 -21
- package/lib/esm/components/Cards/TextCard/index.js +0 -27
- package/lib/esm/components/Checkbox/Checkbox.js +0 -44
- package/lib/esm/components/Checkbox/index.js +0 -36
- package/lib/esm/components/Collapse/Collapse.js +0 -1851
- package/lib/esm/components/Collapse/index.js +0 -11
- package/lib/esm/components/ContextMenu/ContextMenu.js +0 -18
- package/lib/esm/components/ContextMenu/index.js +0 -7
- package/lib/esm/components/Credit/Credit.js +0 -31
- package/lib/esm/components/Credit/index.js +0 -7
- package/lib/esm/components/DatePicker/DatePicker.js +0 -35
- package/lib/esm/components/DatePicker/index.js +0 -11
- package/lib/esm/components/Dropdown/Dropdown.js +0 -37
- package/lib/esm/components/Dropdown/index.js +0 -11
- package/lib/esm/components/Empty/Empty.js +0 -17
- package/lib/esm/components/Empty/index.js +0 -7
- package/lib/esm/components/Fieldset/Fieldset.js +0 -42
- package/lib/esm/components/Fieldset/index.js +0 -9
- package/lib/esm/components/FileUpload/FileUpload.js +0 -47
- package/lib/esm/components/FileUpload/index.js +0 -11
- package/lib/esm/components/Footer/Footer.js +0 -22
- package/lib/esm/components/Footer/index.js +0 -14
- package/lib/esm/components/Form/Form.js +0 -17
- package/lib/esm/components/Form/index.js +0 -18
- package/lib/esm/components/FormControl/FormControl.js +0 -73
- package/lib/esm/components/FormControl/index.js +0 -10
- package/lib/esm/components/FormElement/FormElement.js +0 -17
- package/lib/esm/components/FormElement/index.js +0 -2
- package/lib/esm/components/GlobalProvider/GlobalProvider.js +0 -16
- package/lib/esm/components/GlobalProvider/index.js +0 -4
- package/lib/esm/components/Heading/Heading.js +0 -20
- package/lib/esm/components/Heading/index.js +0 -7
- package/lib/esm/components/Hero/Hero.js +0 -35
- package/lib/esm/components/Hero/HeroCard.js +0 -33
- package/lib/esm/components/Hero/index.js +0 -14
- package/lib/esm/components/Icon/Icon.js +0 -22
- package/lib/esm/components/Icon/index.js +0 -7
- package/lib/esm/components/Image/Image.js +0 -29
- package/lib/esm/components/Image/index.js +0 -8
- package/lib/esm/components/Input/Input.js +0 -30
- package/lib/esm/components/Input/index.js +0 -11
- package/lib/esm/components/Link/Link.js +0 -21
- package/lib/esm/components/Link/index.js +0 -7
- package/lib/esm/components/LinkList/LinkList.js +0 -20
- package/lib/esm/components/LinkList/index.js +0 -7
- package/lib/esm/components/List/List.js +0 -21
- package/lib/esm/components/List/ListItem.js +0 -16
- package/lib/esm/components/List/index.js +0 -8
- package/lib/esm/components/Loading/Loading.js +0 -19
- package/lib/esm/components/Loading/index.js +0 -7
- package/lib/esm/components/LocalNav/LocalNav.js +0 -96
- package/lib/esm/components/LocalNav/index.js +0 -9
- package/lib/esm/components/Logo/Logo.js +0 -151
- package/lib/esm/components/Logo/index.js +0 -7
- package/lib/esm/components/LogoGrid/LogoGrid.js +0 -28
- package/lib/esm/components/LogoGrid/index.js +0 -7
- package/lib/esm/components/Navigation/Navigation.js +0 -81
- package/lib/esm/components/Navigation/index.js +0 -16
- package/lib/esm/components/Notification/Notification.js +0 -39
- package/lib/esm/components/Notification/index.js +0 -11
- package/lib/esm/components/NumberPicker/NumberPicker.js +0 -35
- package/lib/esm/components/NumberPicker/index.js +0 -11
- package/lib/esm/components/Pagination/Pagination.js +0 -47
- package/lib/esm/components/Pagination/index.js +0 -7
- package/lib/esm/components/Profile/Profile.js +0 -19
- package/lib/esm/components/Profile/index.js +0 -7
- package/lib/esm/components/Radio/Radio.js +0 -45
- package/lib/esm/components/Radio/index.js +0 -26
- package/lib/esm/components/ReadMore/ReadMore.js +0 -36
- package/lib/esm/components/ReadMore/index.js +0 -8
- package/lib/esm/components/RichText/RichText.js +0 -17
- package/lib/esm/components/RichText/index.js +0 -7
- package/lib/esm/components/SearchField/SearchField.js +0 -46
- package/lib/esm/components/SearchField/index.js +0 -14
- package/lib/esm/components/SocialMedia/SocialMedia.js +0 -24
- package/lib/esm/components/SocialMedia/index.js +0 -55
- package/lib/esm/components/TableOfContents/TableOfContents.js +0 -20
- package/lib/esm/components/TableOfContents/index.js +0 -7
- package/lib/esm/components/Tabs/Tabs.args.js +0 -154
- package/lib/esm/components/Tabs/Tabs.js +0 -22
- package/lib/esm/components/Tabs/index.js +0 -9
- package/lib/esm/components/Tag/Tag.js +0 -52
- package/lib/esm/components/Tag/TagSet.js +0 -44
- package/lib/esm/components/Tag/index.js +0 -13
- package/lib/esm/components/TextInput/TextInput.js +0 -28
- package/lib/esm/components/TextInput/index.js +0 -49
- package/lib/esm/components/Textarea/Textarea.js +0 -30
- package/lib/esm/components/Textarea/index.js +0 -35
- package/lib/esm/components/Toggle/Toggle.js +0 -31
- package/lib/esm/components/Toggle/index.js +0 -48
- package/lib/esm/components/Tooltip/Tooltip.js +0 -71
- package/lib/esm/components/Tooltip/index.js +0 -8
- package/lib/esm/components/Video/Video.js +0 -24
- package/lib/esm/components/Video/VideoPlayer.js +0 -57
- package/lib/esm/components/Video/index.js +0 -10
- package/lib/esm/components/index.js +0 -86
- package/lib/esm/css-7414f50b.js +0 -79
- package/lib/esm/hooks/index.js +0 -5
- package/lib/esm/hooks/useGlobalSettings.js +0 -11
- package/lib/esm/hooks/usePrevious.js +0 -15
- package/lib/esm/utils/checkArrayDuplicates.js +0 -5
- package/lib/esm/utils/createChainedFunction.js +0 -28
- package/lib/esm/utils/getDefaultDimensionValue.js +0 -20
- package/lib/esm/utils/hoursMinutesSeconds.js +0 -10
- package/lib/esm/utils/index.js +0 -7
- package/lib/esm/utils/transitionEndListener.js +0 -159
- package/lib/esm/utils/triggerBrowserReflow.js +0 -6
- package/lib/types/react/src/components/Accordion/Accordion.d.ts +0 -4
- package/lib/types/react/src/components/Accordion/Accordion.props.d.ts +0 -33
- package/lib/types/react/src/components/Accordion/AccordionButton.d.ts +0 -4
- package/lib/types/react/src/components/Accordion/AccordionButton.props.d.ts +0 -11
- package/lib/types/react/src/components/Accordion/AccordionCtx.d.ts +0 -4
- package/lib/types/react/src/components/Accordion/AccordionItem.d.ts +0 -4
- package/lib/types/react/src/components/Accordion/AccordionItem.props.d.ts +0 -21
- package/lib/types/react/src/components/Accordion/AccordionPanel.d.ts +0 -4
- package/lib/types/react/src/components/Accordion/AccordionPanel.props.d.ts +0 -21
- package/lib/types/react/src/components/Accordion/index.d.ts +0 -4
- package/lib/types/react/src/components/Breadcrumb/Breadcrumb.d.ts +0 -4
- package/lib/types/react/src/components/Breadcrumb/Breadcrumb.props.d.ts +0 -32
- package/lib/types/react/src/components/Breadcrumb/index.d.ts +0 -1
- package/lib/types/react/src/components/Button/Button.args.d.ts +0 -11
- package/lib/types/react/src/components/Button/Button.d.ts +0 -4
- package/lib/types/react/src/components/Button/Button.props.d.ts +0 -68
- package/lib/types/react/src/components/Button/index.d.ts +0 -2
- package/lib/types/react/src/components/Callout/Callout.args.d.ts +0 -8
- package/lib/types/react/src/components/Callout/Callout.d.ts +0 -4
- package/lib/types/react/src/components/Callout/Callout.props.d.ts +0 -50
- package/lib/types/react/src/components/Callout/index.d.ts +0 -2
- package/lib/types/react/src/components/Cards/CardGroup/CardGroup.args.d.ts +0 -13
- package/lib/types/react/src/components/Cards/CardGroup/CardGroup.d.ts +0 -4
- package/lib/types/react/src/components/Cards/CardGroup/CardGroup.props.d.ts +0 -84
- package/lib/types/react/src/components/Cards/CardGroup/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/DataCard/DataCard.args.d.ts +0 -2
- package/lib/types/react/src/components/Cards/DataCard/DataCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/DataCard/DataCard.props.d.ts +0 -50
- package/lib/types/react/src/components/Cards/DataCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/DetailCard/DetailCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/DetailCard/DetailCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/DetailCard/DetailCard.props.d.ts +0 -39
- package/lib/types/react/src/components/Cards/DetailCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -20
- package/lib/types/react/src/components/Cards/FactlistCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/FeatureCard/FeatureCard.props.d.ts +0 -35
- package/lib/types/react/src/components/Cards/FeatureCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/MultilinkCard/MultilinkCard.args.d.ts +0 -2
- package/lib/types/react/src/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -29
- package/lib/types/react/src/components/Cards/MultilinkCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/PromoCard/PromoCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/PromoCard/PromoCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/PromoCard/PromoCard.props.d.ts +0 -34
- package/lib/types/react/src/components/Cards/PromoCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/StatCard/StatCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/StatCard/StatCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/StatCard/StatCard.props.d.ts +0 -25
- package/lib/types/react/src/components/Cards/StatCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Cards/TextCard/TextCard.args.d.ts +0 -3
- package/lib/types/react/src/components/Cards/TextCard/TextCard.d.ts +0 -4
- package/lib/types/react/src/components/Cards/TextCard/TextCard.props.d.ts +0 -30
- package/lib/types/react/src/components/Cards/TextCard/index.d.ts +0 -3
- package/lib/types/react/src/components/Checkbox/Checkbox.args.d.ts +0 -52
- package/lib/types/react/src/components/Checkbox/Checkbox.d.ts +0 -6
- package/lib/types/react/src/components/Checkbox/Checkbox.props.d.ts +0 -4
- package/lib/types/react/src/components/Checkbox/index.d.ts +0 -2
- package/lib/types/react/src/components/Collapse/Collapse.d.ts +0 -3
- package/lib/types/react/src/components/Collapse/Collapse.props.d.ts +0 -76
- package/lib/types/react/src/components/Collapse/index.d.ts +0 -1
- package/lib/types/react/src/components/ContextMenu/ContextMenu.d.ts +0 -4
- package/lib/types/react/src/components/ContextMenu/ContextMenu.props.d.ts +0 -24
- package/lib/types/react/src/components/ContextMenu/index.d.ts +0 -1
- package/lib/types/react/src/components/Credit/Credit.d.ts +0 -4
- package/lib/types/react/src/components/Credit/Credit.props.d.ts +0 -10
- package/lib/types/react/src/components/Credit/index.d.ts +0 -1
- package/lib/types/react/src/components/DatePicker/DatePicker.d.ts +0 -5
- package/lib/types/react/src/components/DatePicker/DatePicker.props.d.ts +0 -21
- package/lib/types/react/src/components/DatePicker/index.d.ts +0 -1
- package/lib/types/react/src/components/Dropdown/Dropdown.d.ts +0 -6
- package/lib/types/react/src/components/Dropdown/Dropdown.props.d.ts +0 -43
- package/lib/types/react/src/components/Dropdown/index.d.ts +0 -1
- package/lib/types/react/src/components/Empty/Empty.d.ts +0 -4
- package/lib/types/react/src/components/Empty/Empty.props.d.ts +0 -11
- package/lib/types/react/src/components/Empty/index.d.ts +0 -1
- package/lib/types/react/src/components/Fieldset/Fieldset.d.ts +0 -10
- package/lib/types/react/src/components/Fieldset/Fieldset.props.d.ts +0 -27
- package/lib/types/react/src/components/Fieldset/index.d.ts +0 -1
- package/lib/types/react/src/components/FileUpload/FileUpload.d.ts +0 -6
- package/lib/types/react/src/components/FileUpload/FileUpload.props.d.ts +0 -17
- package/lib/types/react/src/components/FileUpload/index.d.ts +0 -1
- package/lib/types/react/src/components/Footer/Footer.d.ts +0 -4
- package/lib/types/react/src/components/Footer/Footer.props.d.ts +0 -49
- package/lib/types/react/src/components/Footer/index.d.ts +0 -1
- package/lib/types/react/src/components/Form/Form.args.d.ts +0 -2
- package/lib/types/react/src/components/Form/Form.d.ts +0 -3
- package/lib/types/react/src/components/Form/Form.props.d.ts +0 -7
- package/lib/types/react/src/components/Form/index.d.ts +0 -2
- package/lib/types/react/src/components/FormControl/FormControl.d.ts +0 -9
- package/lib/types/react/src/components/FormControl/FormControl.props.d.ts +0 -55
- package/lib/types/react/src/components/FormControl/index.d.ts +0 -2
- package/lib/types/react/src/components/FormElement/FormElement.d.ts +0 -4
- package/lib/types/react/src/components/FormElement/FormElement.props.d.ts +0 -47
- package/lib/types/react/src/components/FormElement/index.d.ts +0 -1
- package/lib/types/react/src/components/GlobalProvider/GlobalCtx.d.ts +0 -2
- package/lib/types/react/src/components/GlobalProvider/GlobalProvider.d.ts +0 -4
- package/lib/types/react/src/components/GlobalProvider/GlobalProvider.props.d.ts +0 -13
- package/lib/types/react/src/components/GlobalProvider/index.d.ts +0 -2
- package/lib/types/react/src/components/Heading/Heading.d.ts +0 -4
- package/lib/types/react/src/components/Heading/Heading.props.d.ts +0 -20
- package/lib/types/react/src/components/Heading/index.d.ts +0 -1
- package/lib/types/react/src/components/Hero/Hero.d.ts +0 -4
- package/lib/types/react/src/components/Hero/Hero.props.d.ts +0 -51
- package/lib/types/react/src/components/Hero/HeroCard.d.ts +0 -4
- package/lib/types/react/src/components/Hero/HeroCard.props.d.ts +0 -44
- package/lib/types/react/src/components/Hero/index.d.ts +0 -2
- package/lib/types/react/src/components/Icon/Icon.d.ts +0 -4
- package/lib/types/react/src/components/Icon/Icon.props.d.ts +0 -14
- package/lib/types/react/src/components/Icon/index.d.ts +0 -1
- package/lib/types/react/src/components/Image/Image.d.ts +0 -4
- package/lib/types/react/src/components/Image/Image.props.d.ts +0 -37
- package/lib/types/react/src/components/Image/index.d.ts +0 -1
- package/lib/types/react/src/components/Input/Input.d.ts +0 -4
- package/lib/types/react/src/components/Input/Input.props.d.ts +0 -52
- package/lib/types/react/src/components/Input/index.d.ts +0 -1
- package/lib/types/react/src/components/Link/Link.d.ts +0 -4
- package/lib/types/react/src/components/Link/Link.props.d.ts +0 -32
- package/lib/types/react/src/components/Link/index.d.ts +0 -1
- package/lib/types/react/src/components/LinkList/LinkList.d.ts +0 -4
- package/lib/types/react/src/components/LinkList/LinkList.props.d.ts +0 -43
- package/lib/types/react/src/components/LinkList/index.d.ts +0 -1
- package/lib/types/react/src/components/List/List.d.ts +0 -4
- package/lib/types/react/src/components/List/List.props.d.ts +0 -24
- package/lib/types/react/src/components/List/ListItem.d.ts +0 -4
- package/lib/types/react/src/components/List/ListItem.props.d.ts +0 -15
- package/lib/types/react/src/components/List/index.d.ts +0 -2
- package/lib/types/react/src/components/Loading/Loading.d.ts +0 -4
- package/lib/types/react/src/components/Loading/Loading.props.d.ts +0 -19
- package/lib/types/react/src/components/Loading/index.d.ts +0 -1
- package/lib/types/react/src/components/LocalNav/LocalNav.d.ts +0 -4
- package/lib/types/react/src/components/LocalNav/LocalNav.props.d.ts +0 -47
- package/lib/types/react/src/components/LocalNav/index.d.ts +0 -1
- package/lib/types/react/src/components/Logo/Logo.d.ts +0 -4
- package/lib/types/react/src/components/Logo/Logo.props.d.ts +0 -55
- package/lib/types/react/src/components/Logo/index.d.ts +0 -1
- package/lib/types/react/src/components/LogoGrid/LogoGrid.d.ts +0 -4
- package/lib/types/react/src/components/LogoGrid/LogoGrid.props.d.ts +0 -24
- package/lib/types/react/src/components/LogoGrid/index.d.ts +0 -1
- package/lib/types/react/src/components/Navigation/Navigation.d.ts +0 -4
- package/lib/types/react/src/components/Navigation/Navigation.props.d.ts +0 -99
- package/lib/types/react/src/components/Navigation/index.d.ts +0 -1
- package/lib/types/react/src/components/Notification/Notification.d.ts +0 -4
- package/lib/types/react/src/components/Notification/Notification.props.d.ts +0 -56
- package/lib/types/react/src/components/Notification/index.d.ts +0 -1
- package/lib/types/react/src/components/NumberPicker/NumberPicker.d.ts +0 -6
- package/lib/types/react/src/components/NumberPicker/NumberPicker.props.d.ts +0 -21
- package/lib/types/react/src/components/NumberPicker/index.d.ts +0 -1
- package/lib/types/react/src/components/Pagination/Pagination.d.ts +0 -4
- package/lib/types/react/src/components/Pagination/Pagination.props.d.ts +0 -54
- package/lib/types/react/src/components/Pagination/index.d.ts +0 -1
- package/lib/types/react/src/components/Profile/Profile.d.ts +0 -4
- package/lib/types/react/src/components/Profile/Profile.props.d.ts +0 -46
- package/lib/types/react/src/components/Profile/index.d.ts +0 -1
- package/lib/types/react/src/components/Radio/Radio.args.d.ts +0 -8
- package/lib/types/react/src/components/Radio/Radio.d.ts +0 -6
- package/lib/types/react/src/components/Radio/Radio.props.d.ts +0 -4
- package/lib/types/react/src/components/Radio/index.d.ts +0 -2
- package/lib/types/react/src/components/ReadMore/ReadMore.d.ts +0 -4
- package/lib/types/react/src/components/ReadMore/ReadMore.props.d.ts +0 -32
- package/lib/types/react/src/components/ReadMore/index.d.ts +0 -1
- package/lib/types/react/src/components/RichText/RichText.d.ts +0 -4
- package/lib/types/react/src/components/RichText/RichText.props.d.ts +0 -10
- package/lib/types/react/src/components/RichText/index.d.ts +0 -1
- package/lib/types/react/src/components/SearchField/SearchField.d.ts +0 -4
- package/lib/types/react/src/components/SearchField/SearchField.props.d.ts +0 -29
- package/lib/types/react/src/components/SearchField/index.d.ts +0 -1
- package/lib/types/react/src/components/SocialMedia/SocialMedia.args.d.ts +0 -4
- package/lib/types/react/src/components/SocialMedia/SocialMedia.d.ts +0 -3
- package/lib/types/react/src/components/SocialMedia/SocialMedia.props.d.ts +0 -41
- package/lib/types/react/src/components/SocialMedia/index.d.ts +0 -3
- package/lib/types/react/src/components/TableOfContents/TableOfContents.d.ts +0 -4
- package/lib/types/react/src/components/TableOfContents/TableOfContents.props.d.ts +0 -20
- package/lib/types/react/src/components/TableOfContents/index.d.ts +0 -1
- package/lib/types/react/src/components/Tabs/Tabs.args.d.ts +0 -10
- package/lib/types/react/src/components/Tabs/Tabs.d.ts +0 -4
- package/lib/types/react/src/components/Tabs/Tabs.props.d.ts +0 -12
- package/lib/types/react/src/components/Tabs/index.d.ts +0 -1
- package/lib/types/react/src/components/Tag/Tag.d.ts +0 -4
- package/lib/types/react/src/components/Tag/Tag.props.d.ts +0 -28
- package/lib/types/react/src/components/Tag/TagCtx.d.ts +0 -2
- package/lib/types/react/src/components/Tag/TagSet.d.ts +0 -4
- package/lib/types/react/src/components/Tag/TagSet.props.d.ts +0 -30
- package/lib/types/react/src/components/Tag/index.d.ts +0 -2
- package/lib/types/react/src/components/TextInput/TextInput.args.d.ts +0 -10
- package/lib/types/react/src/components/TextInput/TextInput.d.ts +0 -6
- package/lib/types/react/src/components/TextInput/TextInput.props.d.ts +0 -17
- package/lib/types/react/src/components/TextInput/index.d.ts +0 -2
- package/lib/types/react/src/components/Textarea/Textarea.args.d.ts +0 -10
- package/lib/types/react/src/components/Textarea/Textarea.d.ts +0 -6
- package/lib/types/react/src/components/Textarea/Textarea.props.d.ts +0 -37
- package/lib/types/react/src/components/Textarea/index.d.ts +0 -3
- package/lib/types/react/src/components/Toggle/Toggle.args.d.ts +0 -12
- package/lib/types/react/src/components/Toggle/Toggle.d.ts +0 -5
- package/lib/types/react/src/components/Toggle/Toggle.props.d.ts +0 -22
- package/lib/types/react/src/components/Toggle/index.d.ts +0 -3
- package/lib/types/react/src/components/Tooltip/Tooltip.d.ts +0 -4
- package/lib/types/react/src/components/Tooltip/Tooltip.props.d.ts +0 -31
- package/lib/types/react/src/components/Tooltip/index.d.ts +0 -1
- package/lib/types/react/src/components/Video/Video.d.ts +0 -4
- package/lib/types/react/src/components/Video/Video.props.d.ts +0 -28
- package/lib/types/react/src/components/Video/VideoPlayer.d.ts +0 -4
- package/lib/types/react/src/components/Video/VideoPlayer.props.d.ts +0 -42
- package/lib/types/react/src/components/Video/index.d.ts +0 -1
- package/lib/types/react/src/components/index.d.ts +0 -41
- package/lib/types/react/src/hooks/index.d.ts +0 -1
- package/lib/types/react/src/hooks/useGlobalSettings.d.ts +0 -4
- package/lib/types/react/src/hooks/usePrevious.d.ts +0 -2
- package/lib/types/react/src/index.d.ts +0 -1
- package/lib/types/react/src/types/index.d.ts +0 -91
- package/lib/types/react/src/utils/checkArrayDuplicates.d.ts +0 -1
- package/lib/types/react/src/utils/createChainedFunction.d.ts +0 -11
- package/lib/types/react/src/utils/getDefaultDimensionValue.d.ts +0 -3
- package/lib/types/react/src/utils/hoursMinutesSeconds.d.ts +0 -1
- package/lib/types/react/src/utils/index.d.ts +0 -6
- package/lib/types/react/src/utils/transitionEndListener.d.ts +0 -1
- package/lib/types/react/src/utils/triggerBrowserReflow.d.ts +0 -1
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib = require('tslib');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classNames = require('classnames');
|
|
7
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
var components_RichText_RichText = require('../RichText/RichText.js');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
|
|
11
|
-
const ReadMore = (_a) => {
|
|
12
|
-
var { buttonlabel, className, excerpt, fulltext, openatstart } = _a, rest = tslib.__rest(_a, ["buttonlabel", "className", "excerpt", "fulltext", "openatstart"]);
|
|
13
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
14
|
-
const baseClass = `${prefix}--read-more`;
|
|
15
|
-
const [content, setContent] = React.useState(openatstart ? fulltext : excerpt);
|
|
16
|
-
const [isopen, setOpen] = React.useState(openatstart);
|
|
17
|
-
const readMoreClasses = classNames(className, {
|
|
18
|
-
[baseClass]: true,
|
|
19
|
-
[`${baseClass}--open`]: isopen,
|
|
20
|
-
});
|
|
21
|
-
const readmoreButtonClasses = classNames(className, {
|
|
22
|
-
[`${baseClass}--button`]: true,
|
|
23
|
-
[`${baseClass}--button--open`]: isopen,
|
|
24
|
-
});
|
|
25
|
-
/**
|
|
26
|
-
* On click, toggle state vars
|
|
27
|
-
*/
|
|
28
|
-
const handleClick = () => {
|
|
29
|
-
const nextcontent = content === excerpt ? fulltext : excerpt;
|
|
30
|
-
setContent(nextcontent);
|
|
31
|
-
setOpen(!isopen);
|
|
32
|
-
};
|
|
33
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: readMoreClasses }, { children: [jsxRuntime.jsx(components_RichText_RichText, Object.assign({ content: content }, rest)), jsxRuntime.jsx("button", Object.assign({ className: readmoreButtonClasses, "aria-expanded": isopen, onClick: () => handleClick() }, { children: isopen
|
|
34
|
-
? `${buttonlabel && buttonlabel.opened}`
|
|
35
|
-
: `${buttonlabel && buttonlabel.closed}` }))] })));
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
module.exports = ReadMore;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_ReadMore_ReadMore = require('./ReadMore.js');
|
|
4
|
-
require('tslib');
|
|
5
|
-
require('react/jsx-runtime');
|
|
6
|
-
require('react');
|
|
7
|
-
require('classnames');
|
|
8
|
-
require('../../hooks/useGlobalSettings.js');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
require('../RichText/RichText.js');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.ReadMore = components_ReadMore_ReadMore;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var classNames = require('classnames');
|
|
5
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
9
|
-
|
|
10
|
-
const RichText = ({ className, content }) => {
|
|
11
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
12
|
-
const baseClass = `${prefix}--richtext`;
|
|
13
|
-
const richTextClasses = classNames(className, {
|
|
14
|
-
[baseClass]: true,
|
|
15
|
-
});
|
|
16
|
-
return (jsxRuntime.jsx("div", { className: richTextClasses, dangerouslySetInnerHTML: { __html: content } }));
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
module.exports = RichText;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_RichText_RichText = require('./RichText.js');
|
|
4
|
-
require('react/jsx-runtime');
|
|
5
|
-
require('classnames');
|
|
6
|
-
require('../../hooks/useGlobalSettings.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.RichText = components_RichText_RichText;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var classNames = require('classnames');
|
|
6
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
7
|
-
var components_Input_Input = require('../Input/Input.js');
|
|
8
|
-
var components_Icon_Icon = require('../Icon/Icon.js');
|
|
9
|
-
require('tslib');
|
|
10
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
11
|
-
require('../Fieldset/Fieldset.js');
|
|
12
|
-
require('../Tooltip/Tooltip.js');
|
|
13
|
-
require('@popperjs/core');
|
|
14
|
-
require('../FormElement/FormElement.js');
|
|
15
|
-
require('@ilo-org/icons-react');
|
|
16
|
-
|
|
17
|
-
const SearchField = React.forwardRef(({ action, callback, className, input }, ref) => {
|
|
18
|
-
const [searchValue, setSearchValue] = React.useState("");
|
|
19
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
20
|
-
const baseClass = `${prefix}--searchfield`;
|
|
21
|
-
const buttonClass = `${baseClass}--button`;
|
|
22
|
-
const clearButtonClass = `${baseClass}--clear-button ${searchValue.trim() !== "" && "show"}`;
|
|
23
|
-
const fieldSetClass = `${prefix}--fieldset`;
|
|
24
|
-
const SearchFieldClasses = classNames(className, {
|
|
25
|
-
[baseClass]: true,
|
|
26
|
-
[`haslabel`]: input === null || input === void 0 ? void 0 : input.label,
|
|
27
|
-
});
|
|
28
|
-
const handleClick = (e) => {
|
|
29
|
-
if (callback) {
|
|
30
|
-
callback(e);
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
// handle click for clear button in search
|
|
34
|
-
const handleClearButtonClick = () => {
|
|
35
|
-
setSearchValue("");
|
|
36
|
-
};
|
|
37
|
-
// Update search value on input
|
|
38
|
-
const onKeyPress = (e) => {
|
|
39
|
-
setSearchValue(e.target.value);
|
|
40
|
-
};
|
|
41
|
-
const inputHasType = !!(input === null || input === void 0 ? void 0 : input.type);
|
|
42
|
-
if (!inputHasType) {
|
|
43
|
-
throw new Error("SearchField: Input must have type prop");
|
|
44
|
-
}
|
|
45
|
-
return inputHasType ? (jsxRuntime.jsxs("form", Object.assign({ className: SearchFieldClasses, action: action }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: fieldSetClass }, { children: [jsxRuntime.jsx(components_Input_Input, { id: input === null || input === void 0 ? void 0 : input.id, name: input === null || input === void 0 ? void 0 : input.name, disabled: input === null || input === void 0 ? void 0 : input.disabled, callback: onKeyPress, error: input === null || input === void 0 ? void 0 : input.error, helper: input === null || input === void 0 ? void 0 : input.helper, label: input === null || input === void 0 ? void 0 : input.label, placeholder: input === null || input === void 0 ? void 0 : input.placeholder, type: input === null || input === void 0 ? void 0 : input.type, value: searchValue, className: `${prefix}--input`, ref: ref }), jsxRuntime.jsx("span", Object.assign({ onClick: handleClearButtonClick, className: clearButtonClass }, { children: jsxRuntime.jsx(components_Icon_Icon, { name: "close", hidden: true }) }))] })), jsxRuntime.jsx("input", { className: buttonClass, disabled: input === null || input === void 0 ? void 0 : input.disabled, type: "submit", onClick: handleClick })] }))) : null;
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
module.exports = SearchField;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_SearchField_SearchField = require('./SearchField.js');
|
|
4
|
-
require('react/jsx-runtime');
|
|
5
|
-
require('react');
|
|
6
|
-
require('classnames');
|
|
7
|
-
require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
require('tslib');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
require('../Input/Input.js');
|
|
11
|
-
require('../Fieldset/Fieldset.js');
|
|
12
|
-
require('../Tooltip/Tooltip.js');
|
|
13
|
-
require('@popperjs/core');
|
|
14
|
-
require('../FormElement/FormElement.js');
|
|
15
|
-
require('../Icon/Icon.js');
|
|
16
|
-
require('@ilo-org/icons-react');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.SearchField = components_SearchField_SearchField;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var classNames = require('classnames');
|
|
5
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
9
|
-
|
|
10
|
-
const SocialMedia = ({ className, theme = "light", justify = "start", headline, icons, iconSize = "normal", }) => {
|
|
11
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
12
|
-
// Classes to be applied to the outer element
|
|
13
|
-
const baseClass = `${prefix}--social-media`;
|
|
14
|
-
const themeClass = `${baseClass}__theme__${theme}`;
|
|
15
|
-
const justifyClass = `${baseClass}__justify__${justify}`;
|
|
16
|
-
const classes = classNames(baseClass, themeClass, justifyClass, className);
|
|
17
|
-
// Classes to be applied to inner elements
|
|
18
|
-
const headlineClass = `${baseClass}--headline`;
|
|
19
|
-
const listClass = `${baseClass}--list`;
|
|
20
|
-
const listItemClass = `${listClass}--item`;
|
|
21
|
-
const iconClass = `${listItemClass}--icon`;
|
|
22
|
-
const iconSizeClass = `${listItemClass}--icon__${iconSize}`;
|
|
23
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: classes }, { children: [headline && jsxRuntime.jsx("h5", Object.assign({ className: headlineClass }, { children: headline })), jsxRuntime.jsx("ul", Object.assign({ className: listClass }, { children: icons.map((item) => (jsxRuntime.jsx("li", Object.assign({ className: listItemClass }, { children: jsxRuntime.jsx("a", Object.assign({ title: item.label, className: classNames(iconClass, iconSizeClass, `${iconClass}__${item.icon}`), href: item.url }, { children: item.label })) })))) }))] })));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
module.exports = SocialMedia;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_SocialMedia_SocialMedia = require('./SocialMedia.js');
|
|
4
|
-
require('react/jsx-runtime');
|
|
5
|
-
require('classnames');
|
|
6
|
-
require('../../hooks/useGlobalSettings.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
|
|
11
|
-
const defaultArgs = {
|
|
12
|
-
headline: "Follow us on social media",
|
|
13
|
-
theme: "light",
|
|
14
|
-
justify: "start",
|
|
15
|
-
iconSize: "normal",
|
|
16
|
-
icons: [
|
|
17
|
-
{
|
|
18
|
-
icon: "facebook",
|
|
19
|
-
url: "https://www.facebook.com/ilo.org",
|
|
20
|
-
label: "Facebook",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
icon: "x",
|
|
24
|
-
url: "https://x.com/ilo",
|
|
25
|
-
label: "x",
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
icon: "instagram",
|
|
29
|
-
url: "https://www.instagram.com/ilo.org/",
|
|
30
|
-
label: "Instagram",
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
icon: "linkedin",
|
|
34
|
-
url: "https://www.linkedin.com/company/international-labour-organization-ilo",
|
|
35
|
-
label: "LinkedIn",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
icon: "youtube",
|
|
39
|
-
url: "https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",
|
|
40
|
-
label: "YouTube",
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
icon: "tiktok",
|
|
44
|
-
url: "https://www.tiktok.com/@ilo",
|
|
45
|
-
label: "TikTok",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
icon: "flickr",
|
|
49
|
-
url: "https://www.flickr.com/photos/ilopictures/albums",
|
|
50
|
-
label: "TikTok",
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
};
|
|
54
|
-
Object.assign(Object.assign({}, defaultArgs), { theme: "dark" });
|
|
55
|
-
Object.assign(Object.assign({}, defaultArgs), { justify: "center" });
|
|
56
|
-
|
|
57
|
-
exports.SocialMedia = components_SocialMedia_SocialMedia;
|
|
58
|
-
exports.defaultArgs = defaultArgs;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var classNames = require('classnames');
|
|
5
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
9
|
-
|
|
10
|
-
const TableOfContents = ({ className, items }) => {
|
|
11
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
12
|
-
const baseClass = `${prefix}--table-of-contents`;
|
|
13
|
-
const TableOfContentsClasses = classNames(className, {
|
|
14
|
-
[baseClass]: true,
|
|
15
|
-
});
|
|
16
|
-
return (jsxRuntime.jsx("nav", Object.assign({ className: TableOfContentsClasses }, { children: jsxRuntime.jsx("ul", Object.assign({ className: `${baseClass}--list` }, { children: items &&
|
|
17
|
-
items.map((item, index) => {
|
|
18
|
-
return (jsxRuntime.jsx("li", Object.assign({ className: `${baseClass}--list--item` }, { children: jsxRuntime.jsx("a", Object.assign({ className: `${baseClass}--link`, href: item.href }, { children: item.label })) }), index));
|
|
19
|
-
}) })) })));
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
module.exports = TableOfContents;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_TableOfContents_TableOfContents = require('./TableOfContents.js');
|
|
4
|
-
require('react/jsx-runtime');
|
|
5
|
-
require('classnames');
|
|
6
|
-
require('../../hooks/useGlobalSettings.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('react');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.TableOfContents = components_TableOfContents_TableOfContents;
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var components_RichText_RichText = require('../RichText/RichText.js');
|
|
5
|
-
var components_Image_Image = require('../Image/Image.js');
|
|
6
|
-
require('classnames');
|
|
7
|
-
require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
require('tslib');
|
|
9
|
-
require('react');
|
|
10
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
11
|
-
require('../Credit/Credit.js');
|
|
12
|
-
|
|
13
|
-
const tabs = {
|
|
14
|
-
items: [
|
|
15
|
-
{
|
|
16
|
-
label: "Tab Label With A Really Really Lenghty Title Even Though We Do Not Recommend Such A Lengthy Title",
|
|
17
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
18
|
-
{ breakpoint: 0, src: "/small.jpg" },
|
|
19
|
-
{ breakpoint: 800, src: "/medium.jpg" },
|
|
20
|
-
{ breakpoint: 1200, src: "/large.jpg" },
|
|
21
|
-
{ breakpoint: 1440, src: "/large.jpg" },
|
|
22
|
-
] })),
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: "Tab Label 2",
|
|
26
|
-
content: (jsxRuntime.jsx(components_RichText_RichText, { content: "<h2>International Labour Organization</h2> <p>The <b>International Labour Organization</b> (<b>ILO</b>) is a <a href='https://www.un.org'>United Nations</a> agency whose mandate is to advance social and economic justice by setting international labour standards. Founded in October 1919 under the League of Nations, it is the first and oldest specialised agency of the UN. The ILO has 187 member states: 186 out of 193 UN member states plus the Cook Islands.</p> <p>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</p> <figure><img alt='placeholder image' class='right' src='/ilo-headquarters.jpg'><figcaption>The ILO's headquarters in Geneva, Switzerland. \u00A9Steiner SA</figcaption></figure> <h3>ILO Constitution</h3> <p>The driving forces for the ILO's creation arose from security, humanitarian, political and economic considerations.</p> <blockquote> <p>The fundamental ideas that forged the ILO one hundred and three years ago still underpin the global pledge to leave no one behind.</p> <cite>ILO Director-General Gilbert F. Houngbo</cite> </blockquote> Reflecting these ideas, the Preamble of the ILO Constitution states:</p> <ol> <li>Whereas universal and lasting peace can be established only if it is based upon social justice;</li> <li>And whereas conditions of labour exist involving such injustice, hardship and privation to large numbers of people as to produce unrest so great that the peace and harmony of the world are imperilled; and an improvement of those conditions is urgently required;</li> <li>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</li> </ol>" })),
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
};
|
|
30
|
-
const withIcon = {
|
|
31
|
-
items: [
|
|
32
|
-
{
|
|
33
|
-
icon: {
|
|
34
|
-
hidden: false,
|
|
35
|
-
name: "info",
|
|
36
|
-
},
|
|
37
|
-
label: "Tab Label With A Really Really Lenghty Title Even Though We Do Not Recommend Such A Lengthy Title",
|
|
38
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
39
|
-
{ breakpoint: 0, src: "/small.jpg" },
|
|
40
|
-
{ breakpoint: 800, src: "/medium.jpg" },
|
|
41
|
-
{ breakpoint: 1200, src: "/large.jpg" },
|
|
42
|
-
{ breakpoint: 1440, src: "/large.jpg" },
|
|
43
|
-
] })),
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
icon: {
|
|
47
|
-
hidden: false,
|
|
48
|
-
name: "info",
|
|
49
|
-
},
|
|
50
|
-
label: "Tab Label 2",
|
|
51
|
-
content: (jsxRuntime.jsx(components_RichText_RichText, { content: "<h2>International Labour Organization</h2> <p>The <b>International Labour Organization</b> (<b>ILO</b>) is a <a href='https://www.un.org'>United Nations</a> agency whose mandate is to advance social and economic justice by setting international labour standards. Founded in October 1919 under the League of Nations, it is the first and oldest specialised agency of the UN. The ILO has 187 member states: 186 out of 193 UN member states plus the Cook Islands.</p> <p>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</p> <figure><img alt='placeholder image' class='right' src='/ilo-headquarters.jpg'><figcaption>The ILO's headquarters in Geneva, Switzerland. \u00A9Steiner SA</figcaption></figure> <h3>ILO Constitution</h3> <p>The driving forces for the ILO's creation arose from security, humanitarian, political and economic considerations.</p> <blockquote> <p>The fundamental ideas that forged the ILO one hundred and three years ago still underpin the global pledge to leave no one behind.</p> <cite>ILO Director-General Gilbert F. Houngbo</cite> </blockquote> Reflecting these ideas, the Preamble of the ILO Constitution states:</p> <ol> <li>Whereas universal and lasting peace can be established only if it is based upon social justice;</li> <li>And whereas conditions of labour exist involving such injustice, hardship and privation to large numbers of people as to produce unrest so great that the peace and harmony of the world are imperilled; and an improvement of those conditions is urgently required;</li> <li>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</li> </ol>" })),
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
};
|
|
55
|
-
const fiveItems = {
|
|
56
|
-
items: [
|
|
57
|
-
{
|
|
58
|
-
label: "Tab One",
|
|
59
|
-
content: (jsxRuntime.jsx(components_RichText_RichText, { content: "<h2>International Labour Organization</h2> <p>The <b>International Labour Organization</b> (<b>ILO</b>) is a <a href='https://www.un.org'>United Nations</a> agency whose mandate is to advance social and economic justice by setting international labour standards. Founded in October 1919 under the League of Nations, it is the first and oldest specialised agency of the UN. The ILO has 187 member states: 186 out of 193 UN member states plus the Cook Islands.</p> <p>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</p> <figure><img alt='placeholder image' class='right' src='/ilo-headquarters.jpg'><figcaption>The ILO's headquarters in Geneva, Switzerland. \u00A9Steiner SA</figcaption></figure> <h3>ILO Constitution</h3> <p>The driving forces for the ILO's creation arose from security, humanitarian, political and economic considerations.</p> <blockquote> <p>The fundamental ideas that forged the ILO one hundred and three years ago still underpin the global pledge to leave no one behind.</p> <cite>ILO Director-General Gilbert F. Houngbo</cite> </blockquote> Reflecting these ideas, the Preamble of the ILO Constitution states:</p> <ol> <li>Whereas universal and lasting peace can be established only if it is based upon social justice;</li> <li>And whereas conditions of labour exist involving such injustice, hardship and privation to large numbers of people as to produce unrest so great that the peace and harmony of the world are imperilled; and an improvement of those conditions is urgently required;</li> <li>Whereas also the failure of any nation to adopt humane conditions of labour is an obstacle in the way of other nations which desire to improve the conditions in their own countries.</li> </ol>" })),
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
label: "Tab Two",
|
|
63
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
64
|
-
{
|
|
65
|
-
breakpoint: 0,
|
|
66
|
-
src: "https://place-hold.it/400x300?text=Tab Two Image",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
breakpoint: 800,
|
|
70
|
-
src: "https://place-hold.it/800x600?text=Tab Two Image",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
breakpoint: 1200,
|
|
74
|
-
src: "https://place-hold.it/1200x900?text=Tab Two Image",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
breakpoint: 1440,
|
|
78
|
-
src: "https://place-hold.it/1600x1200?text=Tab Two Image",
|
|
79
|
-
},
|
|
80
|
-
] })),
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
label: "Tab Three",
|
|
84
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
85
|
-
{
|
|
86
|
-
breakpoint: 0,
|
|
87
|
-
src: "https://place-hold.it/400x300?text=Tab Three Image",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
breakpoint: 800,
|
|
91
|
-
src: "https://place-hold.it/800x600?text=Tab Three Image",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
breakpoint: 1200,
|
|
95
|
-
src: "https://place-hold.it/1200x900?text=Tab Three Image",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
breakpoint: 1440,
|
|
99
|
-
src: "https://place-hold.it/1600x1200?text=Tab Three Image",
|
|
100
|
-
},
|
|
101
|
-
] })),
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
label: "Tab Four Has A Really Lenghthy Title Which Might Get Truncated",
|
|
105
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
106
|
-
{
|
|
107
|
-
breakpoint: 0,
|
|
108
|
-
src: "https://place-hold.it/400x300?text=Tab Four Image",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
breakpoint: 800,
|
|
112
|
-
src: "https://place-hold.it/800x600?text=Tab Four Image",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
breakpoint: 1200,
|
|
116
|
-
src: "https://place-hold.it/1200x900?text=Tab Four Image",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
breakpoint: 1440,
|
|
120
|
-
src: "https://place-hold.it/1600x1200?text=Tab Four Image",
|
|
121
|
-
},
|
|
122
|
-
] })),
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
label: "Tab Five",
|
|
126
|
-
content: (jsxRuntime.jsx(components_Image_Image, { alt: "My alt text", caption: "Women construction workers in Nepal build roads and bridges as part of a National Rural Transport Programme co-sponsored by the ILO.", credit: "\u00A9 Marcel Crozet/ILO", url: [
|
|
127
|
-
{
|
|
128
|
-
breakpoint: 0,
|
|
129
|
-
src: "https://place-hold.it/400x300?text=Tab Five Image",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
breakpoint: 800,
|
|
133
|
-
src: "https://place-hold.it/800x600?text=Tab Five Image",
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
breakpoint: 1200,
|
|
137
|
-
src: "https://place-hold.it/1200x900?text=Tab Five Image",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
breakpoint: 1440,
|
|
141
|
-
src: "https://place-hold.it/1600x1200?text=Tab Five Image",
|
|
142
|
-
},
|
|
143
|
-
] })),
|
|
144
|
-
},
|
|
145
|
-
],
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Sample prop definitions for Button's enumerable properties (imported in stories and tests).
|
|
149
|
-
*/
|
|
150
|
-
const TabsArgs = {
|
|
151
|
-
tabs,
|
|
152
|
-
withIcon,
|
|
153
|
-
fiveItems,
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
module.exports = TabsArgs;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var React = require('react');
|
|
5
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
6
|
-
var classNames = require('classnames');
|
|
7
|
-
var components_Icon_Icon = require('../Icon/Icon.js');
|
|
8
|
-
require('tslib');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
require('@ilo-org/icons-react');
|
|
11
|
-
|
|
12
|
-
const Tabs = ({ items }) => {
|
|
13
|
-
const [activeTab, setActiveTab] = React.useState(0);
|
|
14
|
-
const handleTabClick = (index, e) => {
|
|
15
|
-
setActiveTab(index);
|
|
16
|
-
e.preventDefault();
|
|
17
|
-
};
|
|
18
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
19
|
-
const baseClass = `${prefix}--tabs`;
|
|
20
|
-
const tabsClasses = classNames(baseClass);
|
|
21
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: `${tabsClasses} tabs--js` }, { children: [jsxRuntime.jsx("ul", Object.assign({ className: `${baseClass}--selection`, role: "tablist" }, { children: items.map((tab, index) => (jsxRuntime.jsx("li", Object.assign({ role: "tab", className: `${baseClass}--selection--item ${activeTab === index ? "active" : ""}`, onClick: (e) => handleTabClick(index, e) }, { children: jsxRuntime.jsxs("a", Object.assign({ href: `#tab--${index}`, className: `${baseClass}--selection--button${tab.icon ? " icon" : ""}`, role: "tab", "aria-controls": `tab--${index}`, "aria-selected": index === activeTab ? true : false, title: tab.label }, { children: [jsxRuntime.jsx("span", Object.assign({ className: `${baseClass}--selection--label` }, { children: tab.label })), tab.icon && (jsxRuntime.jsx(components_Icon_Icon, { name: tab.icon.name, hidden: tab.icon.hidden }))] })) }), `#tab--${index}`))) })), jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}--content` }, { children: items[activeTab].content }))] })));
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
module.exports = Tabs;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_Tabs_Tabs = require('./Tabs.js');
|
|
4
|
-
require('react/jsx-runtime');
|
|
5
|
-
require('react');
|
|
6
|
-
require('../../hooks/useGlobalSettings.js');
|
|
7
|
-
require('tslib');
|
|
8
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('../Icon/Icon.js');
|
|
11
|
-
require('@ilo-org/icons-react');
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
exports.Tabs = components_Tabs_Tabs;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib = require('tslib');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classNames = require('classnames');
|
|
7
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
var components_Icon_Icon = require('../Icon/Icon.js');
|
|
9
|
-
var utils = require('@ilo-org/utils');
|
|
10
|
-
var TagCtx = require('../../TagCtx-690a1d54.js');
|
|
11
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
12
|
-
require('@ilo-org/icons-react');
|
|
13
|
-
|
|
14
|
-
const Tag = (_a) => {
|
|
15
|
-
var { className, children, id, url, type, callback } = _a, rest = tslib.__rest(_a, ["className", "children", "id", "url", "type", "callback"]);
|
|
16
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
17
|
-
const { activeItems, setActiveItems, allowMultipleActive } = React.useContext(TagCtx.TagSetContext);
|
|
18
|
-
const active = activeItems.indexOf(id) > -1;
|
|
19
|
-
const baseClass = `${prefix}--tag`;
|
|
20
|
-
const itemClass = `${prefix}--tag-set__item`;
|
|
21
|
-
const stringType = type;
|
|
22
|
-
const tagClasses = classNames(className, {
|
|
23
|
-
[baseClass]: true,
|
|
24
|
-
[`${baseClass}--active`]: active,
|
|
25
|
-
[`${baseClass}--${type}`]: type,
|
|
26
|
-
[`icon icon__position--right`]: true,
|
|
27
|
-
});
|
|
28
|
-
let visible = active;
|
|
29
|
-
/**
|
|
30
|
-
* On click, get id of clicked item, and set that item in state to 'active', all others to 'closed'
|
|
31
|
-
*/
|
|
32
|
-
const handleClick = (e) => {
|
|
33
|
-
setActiveItems(utils.getUpdatedItems({
|
|
34
|
-
id,
|
|
35
|
-
itemStatuses: activeItems,
|
|
36
|
-
allowMultipleExpanded: allowMultipleActive,
|
|
37
|
-
}));
|
|
38
|
-
visible = false;
|
|
39
|
-
if (callback) {
|
|
40
|
-
callback(e);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
// @ts-ignore
|
|
44
|
-
const renderButton = () => {
|
|
45
|
-
let button;
|
|
46
|
-
if (visible) {
|
|
47
|
-
button = (jsxRuntime.jsx("li", Object.assign({ className: itemClass }, { children: jsxRuntime.jsxs("button", Object.assign({ type: "button", className: tagClasses, onClick: (e) => handleClick(e), id: id }, rest, { children: [children, jsxRuntime.jsx(components_Icon_Icon, { name: "close", hidden: true })] })) })));
|
|
48
|
-
}
|
|
49
|
-
return button;
|
|
50
|
-
};
|
|
51
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: stringType === "button" ? (jsxRuntime.jsx(jsxRuntime.Fragment, { children: renderButton() })) : (jsxRuntime.jsxs("li", Object.assign({ className: itemClass }, { children: [type === "anchor" && (jsxRuntime.jsx("a", Object.assign({ className: tagClasses, href: active ? url : "", id: id }, rest, { children: children }))), type === "display" && (jsxRuntime.jsx("span", Object.assign({ className: tagClasses, id: id }, rest, { children: children })))] }))) }));
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
module.exports = Tag;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib = require('tslib');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var classNames = require('classnames');
|
|
6
|
-
var React = require('react');
|
|
7
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
var utils_checkArrayDuplicates = require('../../utils/checkArrayDuplicates.js');
|
|
9
|
-
var TagCtx = require('../../TagCtx-690a1d54.js');
|
|
10
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
11
|
-
|
|
12
|
-
const TagSet = (_a) => {
|
|
13
|
-
var { className, children, onButtonClick, defaultTagActive = [], allowMultipleActive = true } = _a, rest = tslib.__rest(_a, ["className", "children", "onButtonClick", "defaultTagActive", "allowMultipleActive"]);
|
|
14
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
15
|
-
const baseClass = `${prefix}--tag-set`;
|
|
16
|
-
const [activeItems, setActiveItems] = React.useState([]);
|
|
17
|
-
const defaultTagActiveString = JSON.stringify(defaultTagActive);
|
|
18
|
-
React.useEffect(() => {
|
|
19
|
-
const tagOnLoad = allowMultipleActive
|
|
20
|
-
? defaultTagActive
|
|
21
|
-
: defaultTagActive.length > 0
|
|
22
|
-
? [defaultTagActive[0]]
|
|
23
|
-
: defaultTagActive;
|
|
24
|
-
setActiveItems(tagOnLoad);
|
|
25
|
-
}, [defaultTagActiveString, allowMultipleActive]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
26
|
-
if (children) {
|
|
27
|
-
const ids = [];
|
|
28
|
-
React.Children.forEach(children, (child) => {
|
|
29
|
-
ids.push(child.props.id);
|
|
30
|
-
});
|
|
31
|
-
if (utils_checkArrayDuplicates.checkArrayDuplicates(ids)) {
|
|
32
|
-
console.warn("Warning: Tags must have unique ids.");
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
const tagClasses = classNames(className, {
|
|
36
|
-
[baseClass]: true,
|
|
37
|
-
});
|
|
38
|
-
return (jsxRuntime.jsx(TagCtx.TagSetContext.Provider, Object.assign({ value: {
|
|
39
|
-
activeItems,
|
|
40
|
-
setActiveItems,
|
|
41
|
-
allowMultipleActive,
|
|
42
|
-
onButtonClick,
|
|
43
|
-
} }, { children: jsxRuntime.jsx("ul", Object.assign({ className: tagClasses }, rest, { children: children })) })));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
module.exports = TagSet;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var components_Tag_Tag = require('./Tag.js');
|
|
4
|
-
var components_Tag_TagSet = require('./TagSet.js');
|
|
5
|
-
require('tslib');
|
|
6
|
-
require('react/jsx-runtime');
|
|
7
|
-
require('react');
|
|
8
|
-
require('classnames');
|
|
9
|
-
require('../../hooks/useGlobalSettings.js');
|
|
10
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
11
|
-
require('../Icon/Icon.js');
|
|
12
|
-
require('@ilo-org/icons-react');
|
|
13
|
-
require('@ilo-org/utils');
|
|
14
|
-
require('../../TagCtx-690a1d54.js');
|
|
15
|
-
require('../../utils/checkArrayDuplicates.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
exports.Tag = components_Tag_Tag;
|
|
20
|
-
exports.TagSet = components_Tag_TagSet;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var tslib = require('tslib');
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var React = require('react');
|
|
6
|
-
var classNames = require('classnames');
|
|
7
|
-
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
8
|
-
var components_FormControl_FormControl = require('../FormControl/FormControl.js');
|
|
9
|
-
require('../../GlobalCtx-10114bdd.js');
|
|
10
|
-
require('nanoid');
|
|
11
|
-
require('../Tooltip/Tooltip.js');
|
|
12
|
-
require('@popperjs/core');
|
|
13
|
-
|
|
14
|
-
const TextInput = React.forwardRef(({ onChange, onBlur, error, id, name, placeholder, required, pattern, disabled = false, type = "text", }, ref) => {
|
|
15
|
-
const { prefix } = hooks_useGlobalSettings();
|
|
16
|
-
const formControlCtx = components_FormControl_FormControl.useFormControl();
|
|
17
|
-
const { ariaDescribedBy } = formControlCtx;
|
|
18
|
-
const baseClass = `${prefix}--text-input`;
|
|
19
|
-
const inputClass = classNames(baseClass, {
|
|
20
|
-
[`${baseClass}__error`]: error,
|
|
21
|
-
});
|
|
22
|
-
return (jsxRuntime.jsx("input", { ref: ref, id: id ? id : name, name: name, onChange: onChange, onBlur: onBlur, disabled: disabled, placeholder: placeholder, required: required, type: type, className: inputClass, pattern: pattern, "aria-describedby": ariaDescribedBy }));
|
|
23
|
-
});
|
|
24
|
-
const LabelledTextInput = React.forwardRef((props, ref) => {
|
|
25
|
-
const { style, inputStyle, className } = props, rest = tslib.__rest(props, ["style", "inputStyle", "className"]);
|
|
26
|
-
const fieldId = props.id ? props.id : props.name;
|
|
27
|
-
return (jsxRuntime.jsx(components_FormControl_FormControl.default, Object.assign({ fieldId: fieldId, style: style, className: className }, rest, { children: jsxRuntime.jsx(TextInput, Object.assign({ ref: ref, style: inputStyle }, rest)) })));
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
module.exports = LabelledTextInput;
|