@ilo-org/react 0.17.8 → 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/global.css.map +1 -0
- package/lib/styles/index.css.map +1 -0
- 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 +28 -72
- 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 -47
- package/lib/cjs/components/Cards/CardGroup/index.js +0 -800
- 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 -25
- 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 -45
- package/lib/esm/components/Cards/CardGroup/index.js +0 -797
- 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 -23
- 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,154 +0,0 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import RichText from '../RichText/RichText.js';
|
|
3
|
-
import Image from '../Image/Image.js';
|
|
4
|
-
import 'classnames';
|
|
5
|
-
import '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import 'tslib';
|
|
7
|
-
import 'react';
|
|
8
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
9
|
-
import '../Credit/Credit.js';
|
|
10
|
-
|
|
11
|
-
const tabs = {
|
|
12
|
-
items: [
|
|
13
|
-
{
|
|
14
|
-
label: "Tab Label With A Really Really Lenghty Title Even Though We Do Not Recommend Such A Lengthy Title",
|
|
15
|
-
content: (jsx(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: [
|
|
16
|
-
{ breakpoint: 0, src: "/small.jpg" },
|
|
17
|
-
{ breakpoint: 800, src: "/medium.jpg" },
|
|
18
|
-
{ breakpoint: 1200, src: "/large.jpg" },
|
|
19
|
-
{ breakpoint: 1440, src: "/large.jpg" },
|
|
20
|
-
] })),
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
label: "Tab Label 2",
|
|
24
|
-
content: (jsx(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>" })),
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
};
|
|
28
|
-
const withIcon = {
|
|
29
|
-
items: [
|
|
30
|
-
{
|
|
31
|
-
icon: {
|
|
32
|
-
hidden: false,
|
|
33
|
-
name: "info",
|
|
34
|
-
},
|
|
35
|
-
label: "Tab Label With A Really Really Lenghty Title Even Though We Do Not Recommend Such A Lengthy Title",
|
|
36
|
-
content: (jsx(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: [
|
|
37
|
-
{ breakpoint: 0, src: "/small.jpg" },
|
|
38
|
-
{ breakpoint: 800, src: "/medium.jpg" },
|
|
39
|
-
{ breakpoint: 1200, src: "/large.jpg" },
|
|
40
|
-
{ breakpoint: 1440, src: "/large.jpg" },
|
|
41
|
-
] })),
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
icon: {
|
|
45
|
-
hidden: false,
|
|
46
|
-
name: "info",
|
|
47
|
-
},
|
|
48
|
-
label: "Tab Label 2",
|
|
49
|
-
content: (jsx(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>" })),
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
};
|
|
53
|
-
const fiveItems = {
|
|
54
|
-
items: [
|
|
55
|
-
{
|
|
56
|
-
label: "Tab One",
|
|
57
|
-
content: (jsx(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>" })),
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
label: "Tab Two",
|
|
61
|
-
content: (jsx(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: [
|
|
62
|
-
{
|
|
63
|
-
breakpoint: 0,
|
|
64
|
-
src: "https://place-hold.it/400x300?text=Tab Two Image",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
breakpoint: 800,
|
|
68
|
-
src: "https://place-hold.it/800x600?text=Tab Two Image",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
breakpoint: 1200,
|
|
72
|
-
src: "https://place-hold.it/1200x900?text=Tab Two Image",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
breakpoint: 1440,
|
|
76
|
-
src: "https://place-hold.it/1600x1200?text=Tab Two Image",
|
|
77
|
-
},
|
|
78
|
-
] })),
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
label: "Tab Three",
|
|
82
|
-
content: (jsx(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: [
|
|
83
|
-
{
|
|
84
|
-
breakpoint: 0,
|
|
85
|
-
src: "https://place-hold.it/400x300?text=Tab Three Image",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
breakpoint: 800,
|
|
89
|
-
src: "https://place-hold.it/800x600?text=Tab Three Image",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
breakpoint: 1200,
|
|
93
|
-
src: "https://place-hold.it/1200x900?text=Tab Three Image",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
breakpoint: 1440,
|
|
97
|
-
src: "https://place-hold.it/1600x1200?text=Tab Three Image",
|
|
98
|
-
},
|
|
99
|
-
] })),
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: "Tab Four Has A Really Lenghthy Title Which Might Get Truncated",
|
|
103
|
-
content: (jsx(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: [
|
|
104
|
-
{
|
|
105
|
-
breakpoint: 0,
|
|
106
|
-
src: "https://place-hold.it/400x300?text=Tab Four Image",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
breakpoint: 800,
|
|
110
|
-
src: "https://place-hold.it/800x600?text=Tab Four Image",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
breakpoint: 1200,
|
|
114
|
-
src: "https://place-hold.it/1200x900?text=Tab Four Image",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
breakpoint: 1440,
|
|
118
|
-
src: "https://place-hold.it/1600x1200?text=Tab Four Image",
|
|
119
|
-
},
|
|
120
|
-
] })),
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
label: "Tab Five",
|
|
124
|
-
content: (jsx(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: [
|
|
125
|
-
{
|
|
126
|
-
breakpoint: 0,
|
|
127
|
-
src: "https://place-hold.it/400x300?text=Tab Five Image",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
breakpoint: 800,
|
|
131
|
-
src: "https://place-hold.it/800x600?text=Tab Five Image",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
breakpoint: 1200,
|
|
135
|
-
src: "https://place-hold.it/1200x900?text=Tab Five Image",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
breakpoint: 1440,
|
|
139
|
-
src: "https://place-hold.it/1600x1200?text=Tab Five Image",
|
|
140
|
-
},
|
|
141
|
-
] })),
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Sample prop definitions for Button's enumerable properties (imported in stories and tests).
|
|
147
|
-
*/
|
|
148
|
-
const TabsArgs = {
|
|
149
|
-
tabs,
|
|
150
|
-
withIcon,
|
|
151
|
-
fiveItems,
|
|
152
|
-
};
|
|
153
|
-
|
|
154
|
-
export { TabsArgs as default };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useState } from 'react';
|
|
3
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import Icon from '../Icon/Icon.js';
|
|
6
|
-
import 'tslib';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import '@ilo-org/icons-react';
|
|
9
|
-
|
|
10
|
-
const Tabs = ({ items }) => {
|
|
11
|
-
const [activeTab, setActiveTab] = useState(0);
|
|
12
|
-
const handleTabClick = (index, e) => {
|
|
13
|
-
setActiveTab(index);
|
|
14
|
-
e.preventDefault();
|
|
15
|
-
};
|
|
16
|
-
const { prefix } = useGlobalSettings();
|
|
17
|
-
const baseClass = `${prefix}--tabs`;
|
|
18
|
-
const tabsClasses = classNames(baseClass);
|
|
19
|
-
return (jsxs("div", Object.assign({ className: `${tabsClasses} tabs--js` }, { children: [jsx("ul", Object.assign({ className: `${baseClass}--selection`, role: "tablist" }, { children: items.map((tab, index) => (jsx("li", Object.assign({ role: "tab", className: `${baseClass}--selection--item ${activeTab === index ? "active" : ""}`, onClick: (e) => handleTabClick(index, e) }, { children: 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: [jsx("span", Object.assign({ className: `${baseClass}--selection--label` }, { children: tab.label })), tab.icon && (jsx(Icon, { name: tab.icon.name, hidden: tab.icon.hidden }))] })) }), `#tab--${index}`))) })), jsx("div", Object.assign({ className: `${baseClass}--content` }, { children: items[activeTab].content }))] })));
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export { Tabs as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { default as Tabs } from './Tabs.js';
|
|
2
|
-
import 'react/jsx-runtime';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '../../hooks/useGlobalSettings.js';
|
|
5
|
-
import 'tslib';
|
|
6
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '../Icon/Icon.js';
|
|
9
|
-
import '@ilo-org/icons-react';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
-
import { useContext } from 'react';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import Icon from '../Icon/Icon.js';
|
|
7
|
-
import { getUpdatedItems } from '@ilo-org/utils';
|
|
8
|
-
import { T as TagSetContext } from '../../TagCtx-34c545fe.js';
|
|
9
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
10
|
-
import '@ilo-org/icons-react';
|
|
11
|
-
|
|
12
|
-
const Tag = (_a) => {
|
|
13
|
-
var { className, children, id, url, type, callback } = _a, rest = __rest(_a, ["className", "children", "id", "url", "type", "callback"]);
|
|
14
|
-
const { prefix } = useGlobalSettings();
|
|
15
|
-
const { activeItems, setActiveItems, allowMultipleActive } = useContext(TagSetContext);
|
|
16
|
-
const active = activeItems.indexOf(id) > -1;
|
|
17
|
-
const baseClass = `${prefix}--tag`;
|
|
18
|
-
const itemClass = `${prefix}--tag-set__item`;
|
|
19
|
-
const stringType = type;
|
|
20
|
-
const tagClasses = classNames(className, {
|
|
21
|
-
[baseClass]: true,
|
|
22
|
-
[`${baseClass}--active`]: active,
|
|
23
|
-
[`${baseClass}--${type}`]: type,
|
|
24
|
-
[`icon icon__position--right`]: true,
|
|
25
|
-
});
|
|
26
|
-
let visible = active;
|
|
27
|
-
/**
|
|
28
|
-
* On click, get id of clicked item, and set that item in state to 'active', all others to 'closed'
|
|
29
|
-
*/
|
|
30
|
-
const handleClick = (e) => {
|
|
31
|
-
setActiveItems(getUpdatedItems({
|
|
32
|
-
id,
|
|
33
|
-
itemStatuses: activeItems,
|
|
34
|
-
allowMultipleExpanded: allowMultipleActive,
|
|
35
|
-
}));
|
|
36
|
-
visible = false;
|
|
37
|
-
if (callback) {
|
|
38
|
-
callback(e);
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
// @ts-ignore
|
|
42
|
-
const renderButton = () => {
|
|
43
|
-
let button;
|
|
44
|
-
if (visible) {
|
|
45
|
-
button = (jsx("li", Object.assign({ className: itemClass }, { children: jsxs("button", Object.assign({ type: "button", className: tagClasses, onClick: (e) => handleClick(e), id: id }, rest, { children: [children, jsx(Icon, { name: "close", hidden: true })] })) })));
|
|
46
|
-
}
|
|
47
|
-
return button;
|
|
48
|
-
};
|
|
49
|
-
return (jsx(Fragment, { children: stringType === "button" ? (jsx(Fragment, { children: renderButton() })) : (jsxs("li", Object.assign({ className: itemClass }, { children: [type === "anchor" && (jsx("a", Object.assign({ className: tagClasses, href: active ? url : "", id: id }, rest, { children: children }))), type === "display" && (jsx("span", Object.assign({ className: tagClasses, id: id }, rest, { children: children })))] }))) }));
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
export { Tag as default };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import { useState, useEffect, Children } from 'react';
|
|
5
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import { checkArrayDuplicates } from '../../utils/checkArrayDuplicates.js';
|
|
7
|
-
import { T as TagSetContext } from '../../TagCtx-34c545fe.js';
|
|
8
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
9
|
-
|
|
10
|
-
const TagSet = (_a) => {
|
|
11
|
-
var { className, children, onButtonClick, defaultTagActive = [], allowMultipleActive = true } = _a, rest = __rest(_a, ["className", "children", "onButtonClick", "defaultTagActive", "allowMultipleActive"]);
|
|
12
|
-
const { prefix } = useGlobalSettings();
|
|
13
|
-
const baseClass = `${prefix}--tag-set`;
|
|
14
|
-
const [activeItems, setActiveItems] = useState([]);
|
|
15
|
-
const defaultTagActiveString = JSON.stringify(defaultTagActive);
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
const tagOnLoad = allowMultipleActive
|
|
18
|
-
? defaultTagActive
|
|
19
|
-
: defaultTagActive.length > 0
|
|
20
|
-
? [defaultTagActive[0]]
|
|
21
|
-
: defaultTagActive;
|
|
22
|
-
setActiveItems(tagOnLoad);
|
|
23
|
-
}, [defaultTagActiveString, allowMultipleActive]); //eslint-disable-line react-hooks/exhaustive-deps
|
|
24
|
-
if (children) {
|
|
25
|
-
const ids = [];
|
|
26
|
-
Children.forEach(children, (child) => {
|
|
27
|
-
ids.push(child.props.id);
|
|
28
|
-
});
|
|
29
|
-
if (checkArrayDuplicates(ids)) {
|
|
30
|
-
console.warn("Warning: Tags must have unique ids.");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
const tagClasses = classNames(className, {
|
|
34
|
-
[baseClass]: true,
|
|
35
|
-
});
|
|
36
|
-
return (jsx(TagSetContext.Provider, Object.assign({ value: {
|
|
37
|
-
activeItems,
|
|
38
|
-
setActiveItems,
|
|
39
|
-
allowMultipleActive,
|
|
40
|
-
onButtonClick,
|
|
41
|
-
} }, { children: jsx("ul", Object.assign({ className: tagClasses }, rest, { children: children })) })));
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
export { TagSet as default };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export { default as Tag } from './Tag.js';
|
|
2
|
-
export { default as TagSet } from './TagSet.js';
|
|
3
|
-
import 'tslib';
|
|
4
|
-
import 'react/jsx-runtime';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '../../hooks/useGlobalSettings.js';
|
|
8
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
9
|
-
import '../Icon/Icon.js';
|
|
10
|
-
import '@ilo-org/icons-react';
|
|
11
|
-
import '@ilo-org/utils';
|
|
12
|
-
import '../../TagCtx-34c545fe.js';
|
|
13
|
-
import '../../utils/checkArrayDuplicates.js';
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import FormControl, { useFormControl } from '../FormControl/FormControl.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import 'nanoid';
|
|
9
|
-
import '../Tooltip/Tooltip.js';
|
|
10
|
-
import '@popperjs/core';
|
|
11
|
-
|
|
12
|
-
const TextInput = React.forwardRef(({ onChange, onBlur, error, id, name, placeholder, required, pattern, disabled = false, type = "text", }, ref) => {
|
|
13
|
-
const { prefix } = useGlobalSettings();
|
|
14
|
-
const formControlCtx = useFormControl();
|
|
15
|
-
const { ariaDescribedBy } = formControlCtx;
|
|
16
|
-
const baseClass = `${prefix}--text-input`;
|
|
17
|
-
const inputClass = classNames(baseClass, {
|
|
18
|
-
[`${baseClass}__error`]: error,
|
|
19
|
-
});
|
|
20
|
-
return (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 }));
|
|
21
|
-
});
|
|
22
|
-
const LabelledTextInput = React.forwardRef((props, ref) => {
|
|
23
|
-
const { style, inputStyle, className } = props, rest = __rest(props, ["style", "inputStyle", "className"]);
|
|
24
|
-
const fieldId = props.id ? props.id : props.name;
|
|
25
|
-
return (jsx(FormControl, Object.assign({ fieldId: fieldId, style: style, className: className }, rest, { children: jsx(TextInput, Object.assign({ ref: ref, style: inputStyle }, rest)) })));
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export { LabelledTextInput as default };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
export { default as TextInput } from './TextInput.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '../../hooks/useGlobalSettings.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import '../FormControl/FormControl.js';
|
|
9
|
-
import 'nanoid';
|
|
10
|
-
import '../Tooltip/Tooltip.js';
|
|
11
|
-
import '@popperjs/core';
|
|
12
|
-
|
|
13
|
-
const basic = {
|
|
14
|
-
disabled: false,
|
|
15
|
-
errorMessage: "This is an error message",
|
|
16
|
-
error: false,
|
|
17
|
-
style: { width: "100%" },
|
|
18
|
-
id: "text-input",
|
|
19
|
-
label: "Insert your name here",
|
|
20
|
-
labelPlacement: "top",
|
|
21
|
-
labelSize: "medium",
|
|
22
|
-
name: "text",
|
|
23
|
-
placeholder: "This is a text field",
|
|
24
|
-
required: false,
|
|
25
|
-
type: "text",
|
|
26
|
-
};
|
|
27
|
-
const isdisabled = Object.assign(Object.assign({}, basic), { disabled: true, placeholder: "Disabled Text Field" });
|
|
28
|
-
const hashelper = Object.assign(Object.assign({}, basic), { placeholder: "This has a helper text" });
|
|
29
|
-
const haserror = Object.assign(Object.assign({}, basic), { placeholder: "This has an error", error: true });
|
|
30
|
-
const hastooltip = Object.assign(Object.assign({}, basic), { placeholder: "This has an tooltip", tooltip: "This is a tooltip" });
|
|
31
|
-
const email = Object.assign(Object.assign({}, basic), { label: "Enter your email address", placeholder: "my@email.com", type: "email", id: "email-input" });
|
|
32
|
-
const password = Object.assign(Object.assign({}, basic), { label: "Enter your password", placeholder: "Must be 8 digits long", type: "password", id: "password-input" });
|
|
33
|
-
const telephone = Object.assign(Object.assign({}, basic), { name: "tel", label: "Enter your telephone number", placeholder: "###-###-####", required: false, type: "tel", pattern: "[0-9]{3}-[0-9]{3}-[0-9]{4}" });
|
|
34
|
-
const url = Object.assign(Object.assign({}, basic), { label: "Enter website address", id: "url-input", name: "url", placeholder: "https://www.example.com", required: false, type: "url" });
|
|
35
|
-
|
|
36
|
-
var TextInput_args = /*#__PURE__*/Object.freeze({
|
|
37
|
-
__proto__: null,
|
|
38
|
-
basic: basic,
|
|
39
|
-
email: email,
|
|
40
|
-
haserror: haserror,
|
|
41
|
-
hashelper: hashelper,
|
|
42
|
-
hastooltip: hastooltip,
|
|
43
|
-
isdisabled: isdisabled,
|
|
44
|
-
password: password,
|
|
45
|
-
telephone: telephone,
|
|
46
|
-
url: url
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
export { TextInput_args as TextInputArgs };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import FormControl, { useFormControl } from '../FormControl/FormControl.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import 'nanoid';
|
|
9
|
-
import '../Tooltip/Tooltip.js';
|
|
10
|
-
import '@popperjs/core';
|
|
11
|
-
|
|
12
|
-
const Textarea = React.forwardRef((_a, ref) => {
|
|
13
|
-
var { error, className, name, id } = _a, props = __rest(_a, ["error", "className", "name", "id"]);
|
|
14
|
-
const { prefix } = useGlobalSettings();
|
|
15
|
-
const formControlCtx = useFormControl();
|
|
16
|
-
const { ariaDescribedBy } = formControlCtx;
|
|
17
|
-
const baseClass = `${prefix}--textarea`;
|
|
18
|
-
const errorClass = `${baseClass}__error`;
|
|
19
|
-
const textAreaClass = classNames(baseClass, className, {
|
|
20
|
-
[errorClass]: error,
|
|
21
|
-
});
|
|
22
|
-
return (jsx("textarea", Object.assign({ ref: ref, className: textAreaClass, name: name, id: id ? id : name, "aria-describedby": ariaDescribedBy }, props)));
|
|
23
|
-
});
|
|
24
|
-
const LabelledTextarea = React.forwardRef((props, ref) => {
|
|
25
|
-
const { style, inputStyle, className } = props, rest = __rest(props, ["style", "inputStyle", "className"]);
|
|
26
|
-
const fieldId = props.id ? props.id : props.name;
|
|
27
|
-
return (jsx(FormControl, Object.assign({ fieldId: fieldId, style: style, className: className }, rest, { children: jsx(Textarea, Object.assign({ ref: ref, style: inputStyle }, rest)) })));
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
export { LabelledTextarea as default };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export { default as Textarea } from './Textarea.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '../../hooks/useGlobalSettings.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import '../FormControl/FormControl.js';
|
|
9
|
-
import 'nanoid';
|
|
10
|
-
import '../Tooltip/Tooltip.js';
|
|
11
|
-
import '@popperjs/core';
|
|
12
|
-
|
|
13
|
-
const placeholder = "It was a cold day in April and the clocks were striking thirteen....";
|
|
14
|
-
const basic = {
|
|
15
|
-
id: "textarea",
|
|
16
|
-
disabled: false,
|
|
17
|
-
name: "textarea",
|
|
18
|
-
placeholder,
|
|
19
|
-
required: false,
|
|
20
|
-
spellcheck: false,
|
|
21
|
-
label: "Insert your life story here",
|
|
22
|
-
labelPlacement: "top",
|
|
23
|
-
labelSize: "medium",
|
|
24
|
-
style: { width: "100%" },
|
|
25
|
-
errorMessage: "This is an error message",
|
|
26
|
-
};
|
|
27
|
-
const haserror = Object.assign(Object.assign({}, basic), { error: true });
|
|
28
|
-
const disabled = Object.assign(Object.assign({}, basic), { disabled: true });
|
|
29
|
-
var Textarea_args = {
|
|
30
|
-
basic,
|
|
31
|
-
haserror,
|
|
32
|
-
disabled,
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { Textarea_args as TextareaArgs };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
5
|
-
import classNames from 'classnames';
|
|
6
|
-
import FormControl, { useFormControl } from '../FormControl/FormControl.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import 'nanoid';
|
|
9
|
-
import '../Tooltip/Tooltip.js';
|
|
10
|
-
import '@popperjs/core';
|
|
11
|
-
|
|
12
|
-
const Toggle = forwardRef(({ size = "medium", error = false, disabled = false, defaultChecked = false, required = false, id, name, onChange, onBlur, onClick, checked, className, }, ref) => {
|
|
13
|
-
const { prefix } = useGlobalSettings();
|
|
14
|
-
const formControlCtx = useFormControl();
|
|
15
|
-
const { ariaDescribedBy } = formControlCtx;
|
|
16
|
-
const hasError = !disabled && !!error;
|
|
17
|
-
const baseClass = `${prefix}--input--toggle`;
|
|
18
|
-
const sliderClass = `${baseClass}--slider`;
|
|
19
|
-
const toggleClass = classNames(baseClass, className, `${baseClass}__size__${size}`, [
|
|
20
|
-
{ [`${baseClass}__error`]: hasError },
|
|
21
|
-
{ [`${baseClass}__disabled`]: disabled },
|
|
22
|
-
]);
|
|
23
|
-
return (jsxs("div", Object.assign({ className: toggleClass }, { children: [jsx("input", { ref: ref, checked: checked, disabled: disabled, defaultChecked: defaultChecked, name: name, id: id ? id : name, type: "checkbox", role: "switch", required: required, onChange: onChange, onBlur: onBlur, onClick: onClick, "aria-describedby": ariaDescribedBy }), jsx("span", { className: sliderClass })] })));
|
|
24
|
-
});
|
|
25
|
-
const LabelledToggle = forwardRef((props, ref) => {
|
|
26
|
-
const fieldId = props.id ? props.id : props.name;
|
|
27
|
-
const { style, inputStyle, className } = props, rest = __rest(props, ["style", "inputStyle", "className"]);
|
|
28
|
-
return (jsx(FormControl, Object.assign({ fieldId: fieldId, style: style, className: className }, rest, { children: jsx(Toggle, Object.assign({ ref: ref, style: inputStyle }, rest)) })));
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export { LabelledToggle as default };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export { default as Toggle } from './Toggle.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react';
|
|
5
|
-
import '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '../FormControl/FormControl.js';
|
|
9
|
-
import 'nanoid';
|
|
10
|
-
import '../Tooltip/Tooltip.js';
|
|
11
|
-
import '@popperjs/core';
|
|
12
|
-
|
|
13
|
-
const Default = {
|
|
14
|
-
defaultChecked: false,
|
|
15
|
-
errorMessage: "Invalid option",
|
|
16
|
-
name: "my-toggle",
|
|
17
|
-
size: "medium",
|
|
18
|
-
label: "Show details",
|
|
19
|
-
labelPlacement: "end",
|
|
20
|
-
labelSize: "small",
|
|
21
|
-
};
|
|
22
|
-
const Checked = Object.assign(Object.assign({}, Default), { defaultChecked: true });
|
|
23
|
-
const Disabled = Object.assign(Object.assign({}, Default), { disabled: true });
|
|
24
|
-
const Helper = Object.assign(Object.assign({}, Default), { helper: "This is a helper text" });
|
|
25
|
-
const Tooltip = Object.assign(Object.assign({}, Helper), { tooltip: "This is a tooltip" });
|
|
26
|
-
const Error = Object.assign(Object.assign({}, Default), { error: true });
|
|
27
|
-
const DefaultChecked = Object.assign(Object.assign({}, Default), { defaultChecked: true });
|
|
28
|
-
const Controlled = Object.assign(Object.assign({}, Default), { onClick: () => console.log("clicked"), checked: true });
|
|
29
|
-
const Large = Object.assign(Object.assign({}, Default), { size: "large" });
|
|
30
|
-
const Medium = Object.assign(Object.assign({}, Default), { size: "medium" });
|
|
31
|
-
const Small = Object.assign(Object.assign({}, Default), { size: "small" });
|
|
32
|
-
|
|
33
|
-
var Toggle_args = /*#__PURE__*/Object.freeze({
|
|
34
|
-
__proto__: null,
|
|
35
|
-
Checked: Checked,
|
|
36
|
-
Controlled: Controlled,
|
|
37
|
-
Default: Default,
|
|
38
|
-
DefaultChecked: DefaultChecked,
|
|
39
|
-
Disabled: Disabled,
|
|
40
|
-
Error: Error,
|
|
41
|
-
Helper: Helper,
|
|
42
|
-
Large: Large,
|
|
43
|
-
Medium: Medium,
|
|
44
|
-
Small: Small,
|
|
45
|
-
Tooltip: Tooltip
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
export { Toggle_args as ToggleArgs };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import { useState, useRef } from 'react';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
5
|
-
import { createPopper } from '@popperjs/core';
|
|
6
|
-
import 'tslib';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
|
|
9
|
-
const Tooltip = ({ className, children, icon, label, iconTheme, theme, id, }) => {
|
|
10
|
-
const { prefix } = useGlobalSettings();
|
|
11
|
-
const baseClass = `${prefix}--tooltip`;
|
|
12
|
-
const [isVisible, setIsVisible] = useState(false);
|
|
13
|
-
const tooltipRef = useRef(null);
|
|
14
|
-
const popperInstanceRef = useRef(null);
|
|
15
|
-
const isLongTooltip = () => {
|
|
16
|
-
var _a, _b;
|
|
17
|
-
const tooltipText = (((_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.textContent) ||
|
|
18
|
-
((_b = tooltipRef.current) === null || _b === void 0 ? void 0 : _b.innerText) ||
|
|
19
|
-
"").trim();
|
|
20
|
-
return tooltipText.length > 50;
|
|
21
|
-
};
|
|
22
|
-
const tooltipClasses = classNames(className, {
|
|
23
|
-
[baseClass]: true,
|
|
24
|
-
[`${baseClass}--${theme}`]: theme,
|
|
25
|
-
[`${baseClass}--visible`]: isVisible,
|
|
26
|
-
[`${baseClass}--long`]: isLongTooltip(),
|
|
27
|
-
});
|
|
28
|
-
const tooltipArrowClasses = classNames(`${baseClass}--arrow`, `${baseClass}--arrow--placement-negative`);
|
|
29
|
-
const iconClasses = classNames(className, `${baseClass}--wrapper`, {
|
|
30
|
-
[`${baseClass}--wrapper__icon ${baseClass}--wrapper__icon__theme__${theme}`]: icon,
|
|
31
|
-
[`${baseClass}--wrapper__icon__theme__${theme}`]: iconTheme,
|
|
32
|
-
});
|
|
33
|
-
const handleOnMouseOver = (e) => {
|
|
34
|
-
const target = e.currentTarget;
|
|
35
|
-
if (target && tooltipRef.current) {
|
|
36
|
-
const popperInstance = createPopper(target, tooltipRef.current, {
|
|
37
|
-
placement: "top",
|
|
38
|
-
modifiers: [
|
|
39
|
-
{
|
|
40
|
-
name: "offset",
|
|
41
|
-
options: {
|
|
42
|
-
offset: [0, 12], // Adjust offset as needed
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
name: "flip",
|
|
47
|
-
enabled: true,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
name: "preventOverflow",
|
|
51
|
-
enabled: true,
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
});
|
|
55
|
-
popperInstanceRef.current = popperInstance;
|
|
56
|
-
setIsVisible(true);
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
const handleOnMouseOut = () => {
|
|
60
|
-
if (popperInstanceRef.current) {
|
|
61
|
-
popperInstanceRef.current.destroy();
|
|
62
|
-
}
|
|
63
|
-
setIsVisible(false);
|
|
64
|
-
};
|
|
65
|
-
const handleOnFocus = (e) => {
|
|
66
|
-
handleOnMouseOver(e);
|
|
67
|
-
};
|
|
68
|
-
return (jsxs("div", Object.assign({ className: iconClasses, onMouseOver: handleOnMouseOver, onFocus: handleOnFocus, onMouseOut: handleOnMouseOut, onBlur: handleOnMouseOut, id: id }, { children: [!icon && jsx(Fragment, { children: children }), jsxs("span", Object.assign({ className: tooltipClasses, ref: tooltipRef, "data-id": id, id: "tooltip", role: "tooltip", "aria-hidden": !isVisible }, { children: [jsx("span", { "data-popper-arrow": true, className: tooltipArrowClasses, "data-placement": "negative", role: "presentation" }), label] }))] })));
|
|
69
|
-
};
|
|
70
|
-
|
|
71
|
-
export { Tooltip as default };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { __rest } from 'tslib';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
|
-
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
6
|
-
import VideoPlayer from './VideoPlayer.js';
|
|
7
|
-
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
|
-
import 'videojs-youtube';
|
|
9
|
-
import 'video.js';
|
|
10
|
-
|
|
11
|
-
const Video = forwardRef((_a, ref) => {
|
|
12
|
-
var { className, caption } = _a, video = __rest(_a, ["className", "caption"]);
|
|
13
|
-
const { prefix } = useGlobalSettings();
|
|
14
|
-
const baseClass = `${prefix}--video`;
|
|
15
|
-
const videoClasses = classNames(className, {
|
|
16
|
-
[baseClass]: true,
|
|
17
|
-
});
|
|
18
|
-
const captionClasses = classNames("", {
|
|
19
|
-
[`${baseClass}--caption`]: true,
|
|
20
|
-
});
|
|
21
|
-
return (jsxs("figure", Object.assign({ className: videoClasses }, { children: [jsx("div", Object.assign({ className: `${videoClasses}--wrapper` }, { children: video && jsx(VideoPlayer, Object.assign({}, video, { ref: ref })) })), caption && (jsx("figcaption", Object.assign({ className: captionClasses }, { children: caption })))] })));
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
export { Video as default };
|