@ilo-org/react 0.20.0 → 0.22.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-entry-C81QOLKD.js → Accordion-entry-sLsdi4JU.js} +1 -1
- package/lib/cjs/_store/{Breadcrumb-chunk-BGt10GMr.js → Breadcrumb-chunk-Dpfon5FR.js} +1 -1
- package/lib/cjs/_store/{Breadcrumb-entry-BcWOPogy.js → Breadcrumb-entry-DQSeVcnB.js} +1 -1
- package/lib/cjs/_store/Button-chunk-CokTsoxy.js +1 -0
- package/lib/cjs/_store/{Button-entry-CKgu8Gr2.js → Button-entry-q2ji7fPh.js} +1 -1
- package/lib/cjs/_store/{Callout-chunk-CQirdJVX.js → Callout-chunk-BiyMX8AA.js} +1 -1
- package/lib/cjs/_store/{Callout-entry-Dtce24cy.js → Callout-entry-CEjHmVHM.js} +1 -1
- package/lib/cjs/_store/Cards-entry-BI9bCwDb.js +1 -0
- package/lib/cjs/_store/{Checkbox-chunk-CfN7137m.js → Checkbox-chunk-CXOp0B1M.js} +1 -1
- package/lib/cjs/_store/{Checkbox-entry-CLjOEGyj.js → Checkbox-entry-CDJffF-S.js} +1 -1
- package/lib/cjs/_store/{Collapse-chunk-B3s_Bzzq.js → Collapse-chunk-CKRYA3G0.js} +1 -1
- package/lib/cjs/_store/{Collapse-entry-Djy1BBs6.js → Collapse-entry-oEiMF1_N.js} +1 -1
- package/lib/cjs/_store/ContextMenu-chunk-CV5PP4ZP.js +1 -0
- package/lib/cjs/_store/{ContextMenu-entry-UwZc4yU3.js → ContextMenu-entry-S1sQlvBa.js} +1 -1
- package/lib/cjs/_store/{Credit-chunk-Dts5RkwZ.js → Credit-chunk-Bq_2e0vV.js} +1 -1
- package/lib/cjs/_store/{Credit-entry-GjFSWiDE.js → Credit-entry-B1sd502w.js} +1 -1
- package/lib/cjs/_store/{DatePicker-chunk-7_96tPkC.js → DatePicker-chunk-DLQNdZTy.js} +1 -1
- package/lib/cjs/_store/{DatePicker-entry-P07fWcN3.js → DatePicker-entry-B0cDzJWM.js} +1 -1
- package/lib/cjs/_store/{Dropdown-chunk-Bn-MFT6c.js → Dropdown-chunk-D6X3VKji.js} +1 -1
- package/lib/cjs/_store/{Dropdown-entry-BBiYoQa0.js → Dropdown-entry-E-5OdVKI.js} +1 -1
- package/lib/cjs/_store/{Empty-chunk-BEqHK-KC.js → Empty-chunk-CKktJ_3i.js} +1 -1
- package/lib/cjs/_store/{Empty-entry-C_Q8VgpP.js → Empty-entry-B1hnrQ4n.js} +1 -1
- package/lib/cjs/_store/{Fieldset-chunk-C3itoJam.js → Fieldset-chunk-CvTrP5QT.js} +1 -1
- package/lib/cjs/_store/{Fieldset-entry-DyHl-Q8i.js → Fieldset-entry-DPJ6xQoa.js} +1 -1
- package/lib/cjs/_store/{FileUpload-chunk-BhGfPLEt.js → FileUpload-chunk-DlPJPvyc.js} +1 -1
- package/lib/cjs/_store/{FileUpload-entry-BdKRo1oJ.js → FileUpload-entry-BiYEckhy.js} +1 -1
- package/lib/cjs/_store/{Footer-chunk-6AdazgST.js → Footer-chunk-BCqaE1Dq.js} +1 -1
- package/lib/cjs/_store/{Footer-entry-D6eg1T-c.js → Footer-entry-CmKlnIL5.js} +1 -1
- package/lib/cjs/_store/{Form-chunk-DjDwz7DV.js → Form-chunk-DL8MLcFs.js} +1 -1
- package/lib/cjs/_store/{Form-entry-O0GJ5PoD.js → Form-entry-CMNhhM4w.js} +1 -1
- package/lib/cjs/_store/{FormControl-chunk-CxP6djqq.js → FormControl-chunk-BNLBz9W8.js} +1 -1
- package/lib/cjs/_store/{FormControl-entry-BgMV944-.js → FormControl-entry-prnhitGn.js} +1 -1
- package/lib/cjs/_store/{Heading-chunk-BJAywWmF.js → Heading-chunk-DS1MyM7Q.js} +1 -1
- package/lib/cjs/_store/{Heading-entry-DsqDeoiL.js → Heading-entry-C5PCouUt.js} +1 -1
- package/lib/cjs/_store/{Hero-chunk-CBIMDQWO.js → Hero-chunk-BjSEfAio.js} +1 -1
- package/lib/cjs/_store/{Hero-entry-CeEUu88o.js → Hero-entry-DBUNBWF9.js} +1 -1
- package/lib/cjs/_store/{HeroCard-chunk-Cdyuf9Gw.js → HeroCard-chunk-B46zJrNp.js} +1 -1
- package/lib/cjs/_store/{HeroCard-entry-Z_H24PlF.js → HeroCard-entry-7cI27TUI.js} +1 -1
- package/lib/cjs/_store/Icon-chunk-BHcmIUPN.js +1 -0
- package/lib/cjs/_store/{Icon-entry-DCjXkjhC.js → Icon-entry-C0wzosgA.js} +1 -1
- package/lib/cjs/_store/{Image-chunk-lJKSkHDC.js → Image-chunk-DhAbckHW.js} +1 -1
- package/lib/cjs/_store/{Image-entry-BoUSe5WL.js → Image-entry-31l4weMk.js} +1 -1
- package/lib/cjs/_store/{Input-chunk-DVXD2O4Z.js → Input-chunk-rOmcRlWW.js} +1 -1
- package/lib/cjs/_store/{Input-entry-CthONy5R.js → Input-entry-CUKpoVMa.js} +1 -1
- package/lib/cjs/_store/LanguageToggle-chunk-DreFwEfC.js +1 -0
- package/lib/cjs/_store/{LanguageToggle-entry-ALUfRa_V.js → LanguageToggle-entry-B505b9cv.js} +1 -1
- package/lib/cjs/_store/{Link-chunk-BfaKuVjz.js → Link-chunk-CKS-N_wg.js} +1 -1
- package/lib/cjs/_store/{Link-entry-BvkC504w.js → Link-entry-D8uXwW9Z.js} +1 -1
- package/lib/cjs/_store/{LinkList-chunk-Eu43ZSAZ.js → LinkList-chunk-CKqhpf3F.js} +1 -1
- package/lib/cjs/_store/{LinkList-entry-CUlAuyeY.js → LinkList-entry-C74cWayD.js} +1 -1
- package/lib/cjs/_store/{List-entry-DzqbzyL4.js → List-entry-CeX6di4c.js} +1 -1
- package/lib/cjs/_store/{Loading-chunk-C9rx8cqr.js → Loading-chunk-F3eMVq0d.js} +1 -1
- package/lib/cjs/_store/{Loading-entry-CwPEKM50.js → Loading-entry-CDfcIcOE.js} +1 -1
- package/lib/cjs/_store/{Logo-entry-Dit3r-4I.js → Logo-entry-BEoUtYzV.js} +1 -1
- package/lib/cjs/_store/{LogoGrid-entry-DFwMU9Hk.js → LogoGrid-entry-DPQVwH5F.js} +1 -1
- package/lib/cjs/_store/Nav-entry-DQ-dPYwI.js +1 -0
- package/lib/cjs/_store/{Notification-chunk-Cby6Dnh1.js → Notification-chunk-BwzJpALY.js} +1 -1
- package/lib/cjs/_store/{Notification-entry-RCqY6YnO.js → Notification-entry-DRCeFTSw.js} +1 -1
- package/lib/cjs/_store/{NumberPicker-chunk-CjEYQYj0.js → NumberPicker-chunk-DaudB3Ac.js} +1 -1
- package/lib/cjs/_store/{NumberPicker-entry-DQGcCMGe.js → NumberPicker-entry-D0BDLkiH.js} +1 -1
- package/lib/cjs/_store/{Pagination-chunk-4zp3hOFL.js → Pagination-chunk-BWrRU1TQ.js} +1 -1
- package/lib/cjs/_store/{Pagination-entry-eS2pFOuY.js → Pagination-entry-DpI29ozC.js} +1 -1
- package/lib/cjs/_store/Picture-chunk-BuGEvlEM.js +1 -0
- package/lib/cjs/_store/Picture-entry-Tfghdpbh.js +1 -0
- package/lib/cjs/_store/{Profile-chunk-D1tXXPUO.js → Profile-chunk-DTBv0UYf.js} +1 -1
- package/lib/cjs/_store/{Profile-entry-B6vm7ggs.js → Profile-entry-Czw9qVOu.js} +1 -1
- package/lib/cjs/_store/{Radio-chunk-LFOxcvur.js → Radio-chunk-BicmWom0.js} +1 -1
- package/lib/cjs/_store/{Radio-entry-BmJSr7Sk.js → Radio-entry-BVvmFmuC.js} +1 -1
- package/lib/cjs/_store/{ReadMore-chunk-BQvY4016.js → ReadMore-chunk-C3lpnW_Y.js} +1 -1
- package/lib/cjs/_store/{ReadMore-entry-oYGJDJYJ.js → ReadMore-entry-42uLwecc.js} +1 -1
- package/lib/cjs/_store/{RichText-chunk-ZamwF4QL.js → RichText-chunk-5CtXJDJs.js} +1 -1
- package/lib/cjs/_store/{RichText-entry-C7Fzr9VS.js → RichText-entry-BgTRDUlO.js} +1 -1
- package/lib/cjs/_store/ScoreCard-chunk-D5osH7jS.js +1 -0
- package/lib/cjs/_store/{SearchField-chunk-uIkdwz2L.js → SearchField-chunk-reX0PGt-.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-3sd9miiq.js → SearchField-entry-ETUNcjde.js} +1 -1
- package/lib/cjs/_store/{SocialMedia-chunk-BbnrRkts.js → SocialMedia-chunk-BOUSX1QA.js} +1 -1
- package/lib/cjs/_store/{SocialMedia-entry-D5GkSSA8.js → SocialMedia-entry-Dee-mqye.js} +1 -1
- package/lib/cjs/_store/Status-chunk-BE2gtI8L.js +1 -0
- package/lib/cjs/_store/Status-entry-ClF_flCQ.js +1 -0
- package/lib/cjs/_store/SubsiteNav-chunk-RY341cRy.js +1 -0
- package/lib/cjs/_store/{TableOfContents-chunk-DcLMEr2i.js → TableOfContents-chunk-DNZmLsBO.js} +1 -1
- package/lib/cjs/_store/TableOfContents-entry-DldKqhCS.js +1 -0
- package/lib/cjs/_store/{Tabs-chunk-C2PIPQgI.js → Tabs-chunk-C-aLj5uU.js} +1 -1
- package/lib/cjs/_store/{Tabs-entry-Bicz4Q2A.js → Tabs-entry-CxH_eRYV.js} +1 -1
- package/lib/cjs/_store/{Tag-chunk-DUz8ZjA1.js → Tag-chunk-BiK5vLyb.js} +1 -1
- package/lib/cjs/_store/{Tag-entry-D8aAuglc.js → Tag-entry-DOiYbKO0.js} +1 -1
- package/lib/cjs/_store/{TextInput-entry-BOVt2TDi.js → TextInput-entry-CxpI-U2s.js} +1 -1
- package/lib/cjs/_store/{Textarea-chunk-B13VaFl6.js → Textarea-chunk-BSiQeDkv.js} +1 -1
- package/lib/cjs/_store/{Textarea-entry-Byp4EYD1.js → Textarea-entry-b6BZtXOs.js} +1 -1
- package/lib/cjs/_store/{Toggle-entry-BZ_sk4pV.js → Toggle-entry-bQAV73BT.js} +1 -1
- package/lib/cjs/_store/{Tooltip-chunk-Ca67o441.js → Tooltip-chunk-CtqZrU-C.js} +1 -1
- package/lib/cjs/_store/{Tooltip-entry-BlOyvu7-.js → Tooltip-entry-I3t7l_pa.js} +1 -1
- package/lib/cjs/_store/{Video-chunk-BIJvoxjg.js → Video-chunk-zrjGDyVx.js} +23 -23
- package/lib/cjs/_store/{Video-entry-CmzlnrTO.js → Video-entry-BSRov0lN.js} +1 -1
- package/lib/cjs/_store/components-entry-BMCPa97n.js +1 -0
- package/lib/cjs/_store/index-chunk-D921N0ug.js +5 -0
- package/lib/cjs/_store/{index-chunk-CV1afBzr.js → index-chunk-YuJJcDLC.js} +5 -5
- package/lib/cjs/_store/index.js +1 -1
- package/lib/cjs/_store/useBreakpoint-chunk-CBEGGRKj.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/{Accordion-entry-B-0bgUhR.js → Accordion-entry-_yx7RCBR.js} +1 -1
- package/lib/esm/_store/{Breadcrumb-chunk-DcsXzPvT.js → Breadcrumb-chunk-ZEo7Ka2o.js} +2 -2
- package/lib/esm/_store/Breadcrumb-entry-ZyeMKLVb.js +4 -0
- package/lib/esm/_store/Button-chunk-DCZkIGJ6.js +62 -0
- package/lib/esm/_store/Button-entry-DiQ9I3X3.js +4 -0
- package/lib/esm/_store/{Callout-chunk-C7nmBZcD.js → Callout-chunk-CGT1PVgG.js} +2 -2
- package/lib/esm/_store/Callout-entry-5fKo-9i9.js +4 -0
- package/lib/esm/_store/Cards-entry-IKpjlhI9.js +13 -0
- package/lib/esm/_store/{Checkbox-chunk-CdjFGjiG.js → Checkbox-chunk-BenQl3Iv.js} +3 -3
- package/lib/esm/_store/{Checkbox-entry-4xxjRXFu.js → Checkbox-entry-W4ddWzIw.js} +1 -1
- package/lib/esm/_store/{Collapse-chunk-CyOyOA2s.js → Collapse-chunk-CmdtLTLr.js} +2 -2
- package/lib/esm/_store/Collapse-entry-Km23zOlW.js +4 -0
- package/lib/esm/_store/ContextMenu-chunk-Cpvg1njq.js +32 -0
- package/lib/esm/_store/ContextMenu-entry-B2sVLXEp.js +4 -0
- package/lib/esm/_store/{Credit-chunk-BjaAFul8.js → Credit-chunk-BbPgrJwx.js} +1 -1
- package/lib/esm/_store/Credit-entry-CcRhizZS.js +4 -0
- package/lib/esm/_store/{DatePicker-chunk-BoTriI-e.js → DatePicker-chunk-DUev-9W3.js} +2 -2
- package/lib/esm/_store/DatePicker-entry-Dqwjek8e.js +4 -0
- package/lib/esm/_store/{Dropdown-chunk-DxXjnNBq.js → Dropdown-chunk-CK_0IIHi.js} +2 -2
- package/lib/esm/_store/Dropdown-entry-C4f6igx4.js +4 -0
- package/lib/esm/_store/{Empty-chunk-UEm5zVbe.js → Empty-chunk-zVJu0kg_.js} +1 -1
- package/lib/esm/_store/Empty-entry-yN-RVIsV.js +4 -0
- package/lib/esm/_store/{Fieldset-chunk-udvv8dML.js → Fieldset-chunk-Da7r0DcB.js} +2 -2
- package/lib/esm/_store/Fieldset-entry-BRmly6_m.js +4 -0
- package/lib/esm/_store/{FileUpload-chunk-Cdl4F5zH.js → FileUpload-chunk-B4fvqtcP.js} +2 -2
- package/lib/esm/_store/FileUpload-entry-B9lbD-ZU.js +4 -0
- package/lib/esm/_store/{Footer-chunk-mcaEIXdt.js → Footer-chunk-Vk_nAFn8.js} +4 -4
- package/lib/esm/_store/Footer-entry-7oki1awr.js +4 -0
- package/lib/esm/_store/{Form-chunk-1a4awKWi.js → Form-chunk-DpYpOlyj.js} +1 -1
- package/lib/esm/_store/{Form-entry-DhZ3WiWW.js → Form-entry-DgHdz2JR.js} +1 -1
- package/lib/esm/_store/{FormControl-chunk-C2LR6MBZ.js → FormControl-chunk-zWLG-KTX.js} +2 -2
- package/lib/esm/_store/FormControl-entry-r3nOM-gu.js +4 -0
- package/lib/esm/_store/{Heading-chunk-CFEDmQeQ.js → Heading-chunk-B2hvi5JD.js} +1 -1
- package/lib/esm/_store/Heading-entry-BmHa07g5.js +4 -0
- package/lib/esm/_store/{Hero-chunk-CZ6kSiY-.js → Hero-chunk-CQ68vNQL.js} +4 -4
- package/lib/esm/_store/Hero-entry-RvOpiPC1.js +4 -0
- package/lib/esm/_store/{HeroCard-chunk-3mxIZYwU.js → HeroCard-chunk-Do0gQFBW.js} +2 -2
- package/lib/esm/_store/HeroCard-entry-CNDSS1iZ.js +4 -0
- package/lib/esm/_store/{Icon-chunk-BE5t6PqR.js → Icon-chunk-Px0lCAcE.js} +987 -977
- package/lib/esm/_store/Icon-entry-BzAZGPlA.js +4 -0
- package/lib/esm/_store/{Image-chunk-DGh-6cxv.js → Image-chunk-B-uJHhuV.js} +2 -2
- package/lib/esm/_store/Image-entry-Bd-bP58f.js +4 -0
- package/lib/esm/_store/{Input-chunk-DT_YEVSQ.js → Input-chunk-C_w4yxVo.js} +2 -2
- package/lib/esm/_store/Input-entry-DCdpIYYL.js +4 -0
- package/lib/esm/_store/LanguageToggle-chunk-oq_4fXKB.js +70 -0
- package/lib/esm/_store/LanguageToggle-entry-B-Wf5i03.js +4 -0
- package/lib/esm/_store/{Link-chunk-CKAMN_c4.js → Link-chunk-CDEaQUk8.js} +1 -1
- package/lib/esm/_store/Link-entry-CFHoxcpG.js +4 -0
- package/lib/esm/_store/{LinkList-chunk-BM5BTk9m.js → LinkList-chunk-CMl5wQuU.js} +1 -1
- package/lib/esm/_store/LinkList-entry-C_ubaDsT.js +4 -0
- package/lib/esm/_store/{List-entry-XHat7PmC.js → List-entry-Bk7Xh8iL.js} +1 -1
- package/lib/esm/_store/{Loading-chunk-BIJLAqk6.js → Loading-chunk-BkDbjtxa.js} +1 -1
- package/lib/esm/_store/Loading-entry-BDUDLAc_.js +4 -0
- package/lib/esm/_store/{Logo-entry-sjwkMeb-.js → Logo-entry-BEAAxMP-.js} +1 -1
- package/lib/esm/_store/{LogoGrid-entry-DN-ZIG91.js → LogoGrid-entry-DphSnG4l.js} +1 -1
- package/lib/esm/_store/Nav-entry-CwRmDjpp.js +4 -0
- package/lib/esm/_store/{Notification-chunk-BYrbd5f9.js → Notification-chunk-DeiHX_90.js} +2 -2
- package/lib/esm/_store/Notification-entry-3qWMN7h5.js +4 -0
- package/lib/esm/_store/{NumberPicker-chunk-Z_TIIuxb.js → NumberPicker-chunk-CEPk6CYo.js} +2 -2
- package/lib/esm/_store/NumberPicker-entry-D_RKD_yq.js +4 -0
- package/lib/esm/_store/{Pagination-chunk-Ci7qN6no.js → Pagination-chunk-C67NAzxY.js} +1 -1
- package/lib/esm/_store/Pagination-entry-CW57P0ak.js +4 -0
- package/lib/esm/_store/Picture-chunk-DdkL7cpS.js +33 -0
- package/lib/esm/_store/Picture-entry-DCeCjlMu.js +4 -0
- package/lib/esm/_store/{Profile-chunk-Tpvzafuk.js → Profile-chunk-C1G_0pBq.js} +1 -1
- package/lib/esm/_store/Profile-entry-BKM07pwa.js +4 -0
- package/lib/esm/_store/{Radio-chunk-DDMoE7Le.js → Radio-chunk-CNUmitDm.js} +3 -3
- package/lib/esm/_store/{Radio-entry-BzlGsY14.js → Radio-entry-DSEQl0wV.js} +1 -1
- package/lib/esm/_store/{ReadMore-chunk-DoptEIE4.js → ReadMore-chunk-Ds9csoRK.js} +2 -2
- package/lib/esm/_store/ReadMore-entry-BZURjhpk.js +4 -0
- package/lib/esm/_store/{RichText-chunk-BOMiyuNR.js → RichText-chunk-fYV7PMZd.js} +1 -1
- package/lib/esm/_store/RichText-entry-KLPtZ_Qa.js +4 -0
- package/lib/esm/_store/ScoreCard-chunk-CJo1b_d1.js +461 -0
- package/lib/esm/_store/{SearchField-chunk-D-S-SV-o.js → SearchField-chunk-D5N-Bw85.js} +3 -3
- package/lib/esm/_store/SearchField-entry-DlBYQbzK.js +4 -0
- package/lib/esm/_store/{SocialMedia-chunk-BP6TBNEf.js → SocialMedia-chunk-B5Qz7-GU.js} +1 -1
- package/lib/esm/_store/{SocialMedia-entry-C60BCp7g.js → SocialMedia-entry-3-Gkbrh7.js} +1 -1
- package/lib/esm/_store/Status-chunk-D4C21wjx.js +16 -0
- package/lib/esm/_store/Status-entry-DsvANE5f.js +4 -0
- package/lib/esm/_store/SubsiteNav-chunk-CQ4VA0_e.js +549 -0
- package/lib/esm/_store/{TableOfContents-chunk-BXnS8D2s.js → TableOfContents-chunk-DhH7YZym.js} +1 -1
- package/lib/esm/_store/TableOfContents-entry-Do6SrZKs.js +4 -0
- package/lib/esm/_store/{Tabs-chunk-C6iAood1.js → Tabs-chunk-CE8s7GN2.js} +2 -2
- package/lib/esm/_store/Tabs-entry-C3OPVTKF.js +4 -0
- package/lib/esm/_store/{Tag-chunk-DRiFjL6-.js → Tag-chunk-BGYv0Clj.js} +2 -2
- package/lib/esm/_store/{Tag-entry-D_EdPheu.js → Tag-entry-CxiuLyC_.js} +3 -3
- package/lib/esm/_store/{TextInput-entry-DIPdoofw.js → TextInput-entry-DTObtsRs.js} +2 -2
- package/lib/esm/_store/{Textarea-chunk-ClZt7jmS.js → Textarea-chunk-CM9RA52l.js} +2 -2
- package/lib/esm/_store/{Textarea-entry-BvVP8AXU.js → Textarea-entry-DEAnQFxG.js} +1 -1
- package/lib/esm/_store/{Toggle-entry-q2VLr4yf.js → Toggle-entry-BsNlaPOZ.js} +2 -2
- package/lib/esm/_store/{Tooltip-chunk-EJOnwIYn.js → Tooltip-chunk-mysDr7Zr.js} +1 -1
- package/lib/esm/_store/Tooltip-entry-BNR-Qw3y.js +4 -0
- package/lib/esm/_store/{Video-chunk-DAqwWSGg.js → Video-chunk-5NqETuKl.js} +3 -4
- package/lib/esm/_store/Video-entry-BR9-Z6Qp.js +4 -0
- package/lib/esm/_store/components-entry-B_dgsx-k.js +97 -0
- package/lib/esm/_store/index-chunk-CY3PQDr4.js +65 -0
- package/lib/esm/_store/{index-chunk-BNwl8BvE.js → index-chunk-DsIu1kyr.js} +1 -1
- package/lib/esm/_store/index.js +4 -2
- package/lib/esm/_store/useBreakpoint-chunk-DBZTYUx9.js +54 -0
- package/lib/esm/index.js +75 -72
- package/lib/styles/components/button.css +1 -1
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/datacard.css +1 -1
- package/lib/styles/components/detailcard.css +1 -1
- package/lib/styles/components/featurecard.css +1 -1
- package/lib/styles/components/languagetoggle.css +1 -1
- package/lib/styles/components/multilinkcard.css +1 -1
- package/lib/styles/components/profile.css +1 -1
- package/lib/styles/components/scorecard.css +1 -0
- package/lib/styles/components/status.css +1 -0
- package/lib/styles/components/tag.css +1 -1
- package/lib/styles/components/textcard.css +1 -1
- package/lib/styles/components/video.css +1 -1
- package/lib/styles/global.css +1 -1
- package/lib/styles/global.css.map +1 -1
- package/lib/styles/index.css +2 -2
- package/lib/styles/index.css.map +1 -1
- package/lib/styles/monorepo.css +2 -2
- package/lib/styles/monorepo.css.map +1 -1
- package/lib/types/components/Button/Button.d.ts +19 -10
- package/lib/types/components/Cards/ScoreCard.d.ts +60 -0
- package/lib/types/components/Cards/index.d.ts +1 -0
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/types/components/Icon/Icon.props.d.ts +15 -2
- package/lib/types/components/Icon/index.d.ts +1 -0
- package/lib/types/components/Image/index.d.ts +1 -0
- package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +2 -20
- package/lib/types/components/Nav/Navigation.props.d.ts +112 -0
- package/lib/types/components/Nav/NavigationDropdown.d.ts +19 -0
- package/lib/types/components/Nav/NavigationLink.d.ts +4 -0
- package/lib/types/components/Nav/NavigationMenu.d.ts +13 -0
- package/lib/types/components/Nav/NavigationMenuGrid.d.ts +7 -0
- package/lib/types/components/Nav/Subsite/CompactNav.d.ts +4 -0
- package/lib/types/components/Nav/Subsite/ComplexNav.d.ts +4 -0
- package/lib/types/components/Nav/Subsite/SubsiteNav.d.ts +4 -0
- package/lib/types/components/Nav/index.d.ts +2 -0
- package/lib/types/components/Nav/mobile/MobileDrawer.d.ts +27 -0
- package/lib/types/components/Nav/mobile/MobileLanguageList.d.ts +9 -0
- package/lib/types/components/Nav/mobile/MobileMenuList.d.ts +8 -0
- package/lib/types/components/Nav/mobile/MobileNavigation.d.ts +15 -0
- package/lib/types/components/Nav/useNavSetup.d.ts +22 -0
- package/lib/types/components/Picture/Picture.d.ts +18 -0
- package/lib/types/components/Picture/index.d.ts +2 -0
- package/lib/types/components/Status/Status.d.ts +20 -0
- package/lib/types/components/Status/index.d.ts +2 -0
- package/lib/types/components/index.d.ts +1 -1
- package/lib/types/hooks/index.d.ts +1 -0
- package/lib/types/hooks/useBreakpoint.d.ts +7 -0
- package/package.json +4 -3
- package/lib/cjs/_store/Button-chunk-D32W9ElW.js +0 -1
- package/lib/cjs/_store/CardGroup-chunk-D3sPRsTS.js +0 -1
- package/lib/cjs/_store/Cards-entry-Ckiqvv1d.js +0 -1
- package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +0 -1
- package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +0 -1
- package/lib/cjs/_store/LanguageToggle-chunk-DsJntngZ.js +0 -1
- package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +0 -1
- package/lib/cjs/_store/TableOfContents-entry-DrMc0kJL.js +0 -1
- package/lib/cjs/_store/_commonjsHelpers-chunk-DwTZ_eVU.js +0 -1
- package/lib/cjs/_store/components-entry-Buq0cts7.js +0 -1
- package/lib/cjs/_store/index-chunk-DCI82Tmm.js +0 -5
- package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +0 -4
- package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +0 -60
- package/lib/esm/_store/Button-entry-ee89gQMg.js +0 -4
- package/lib/esm/_store/Callout-entry-CnD2XuMo.js +0 -4
- package/lib/esm/_store/CardGroup-chunk-DCTJOxvx.js +0 -425
- package/lib/esm/_store/Cards-entry-DOWpgXsU.js +0 -12
- package/lib/esm/_store/Collapse-entry-C1uibEt8.js +0 -4
- package/lib/esm/_store/ContextMenu-chunk-Zy9igFLz.js +0 -30
- package/lib/esm/_store/ContextMenu-entry-C_rAD9kF.js +0 -4
- package/lib/esm/_store/Credit-entry-BGow5bDT.js +0 -4
- package/lib/esm/_store/DatePicker-entry-B5aB0CYY.js +0 -4
- package/lib/esm/_store/Dropdown-entry-CdssOqL2.js +0 -4
- package/lib/esm/_store/Empty-entry-BuwyDmF5.js +0 -4
- package/lib/esm/_store/Fieldset-entry--0tR2-K1.js +0 -4
- package/lib/esm/_store/FileUpload-entry-B0SbE0sW.js +0 -4
- package/lib/esm/_store/Footer-entry-BOC16qVW.js +0 -4
- package/lib/esm/_store/FormControl-entry-Dy_NPcKM.js +0 -4
- package/lib/esm/_store/Heading-entry-CTotrXWW.js +0 -4
- package/lib/esm/_store/Hero-entry-DILGWuC0.js +0 -4
- package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +0 -4
- package/lib/esm/_store/Icon-entry-CzaGrGSM.js +0 -4
- package/lib/esm/_store/Image-entry-BIEmEw0G.js +0 -4
- package/lib/esm/_store/Input-entry-Dt6Qaxj6.js +0 -4
- package/lib/esm/_store/LanguageToggle-chunk-BxzhPBjU.js +0 -62
- package/lib/esm/_store/LanguageToggle-entry-COfb1a3N.js +0 -4
- package/lib/esm/_store/Link-entry-BOoBMNWv.js +0 -4
- package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +0 -4
- package/lib/esm/_store/Loading-entry-84g0sHXB.js +0 -4
- package/lib/esm/_store/LocalNav-entry-DydB3k67.js +0 -4
- package/lib/esm/_store/Notification-entry-S8DjBxLM.js +0 -4
- package/lib/esm/_store/NumberPicker-entry-BaKtr4-S.js +0 -4
- package/lib/esm/_store/Pagination-entry-CM2xRx7F.js +0 -4
- package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +0 -4
- package/lib/esm/_store/ReadMore-entry-DuzFfWne.js +0 -4
- package/lib/esm/_store/RichText-entry-BfHki79h.js +0 -4
- package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +0 -4
- package/lib/esm/_store/TableOfContents-entry-DHXKt1NR.js +0 -4
- package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +0 -4
- package/lib/esm/_store/Tooltip-entry-Dz5aVKCZ.js +0 -4
- package/lib/esm/_store/Video-entry-11ar9TYk.js +0 -4
- package/lib/esm/_store/_commonjsHelpers-chunk-BkfeUUK-.js +0 -28
- package/lib/esm/_store/components-entry-C4N0L4xP.js +0 -96
- package/lib/esm/_store/index-chunk-0LeqwHm8.js +0 -40
- package/lib/types/components/LocalNav/LocalNav.d.ts +0 -5
- package/lib/types/components/LocalNav/LocalNav.props.d.ts +0 -38
- package/lib/types/components/LocalNav/index.d.ts +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),c=require("./index-chunk-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),c=require("./index-chunk-D921N0ug.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=require("./Credit-chunk-Bq_2e0vV.js"),j=({alt:m,caption:t,className:l,credit:n,url:e})=>{const{prefix:g}=x.useGlobalSettings(),i=`${g}--image`,o=c.classnames(l,{[i]:!0}),u=c.classnames("",{[`${i}--img`]:!0}),p=c.classnames("",{[`${i}--caption`]:!0});return s.jsxs("figure",{className:o,children:[s.jsxs("div",{className:`${o}--wrapper`,children:[s.jsxs("picture",{className:u,children:[e&&e.sort((a,r)=>a.breakpoint-r.breakpoint).slice(1).reverse().map((a,r)=>s.jsx("source",{srcSet:a.src,media:`(min-width: ${a.breakpoint}px)`},r)),e&&s.jsx("img",{src:e[0].src,alt:m})]}),n&&s.jsx(d.Credit,{credit:n})]}),t&&s.jsx("figcaption",{className:p,children:t})]})},b=j;exports.Image=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Image-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Image-chunk-DhAbckHW.js");exports.Image=e.Image;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),j=require("react"),C=require("./index-chunk-D921N0ug.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("./Fieldset-chunk-CvTrP5QT.js"),R=require("./FormElement-chunk-B8x3bzQh.js"),b=j.forwardRef(({callback:t,disabled:o=!1,error:n,helper:u,id:r,label:c,name:e,placeholder:l,required:i,tooltip:a,value:d,type:p="text"},x)=>{const{prefix:m}=F.useGlobalSettings(),f=`${m}--input`,h=C.classnames("",{[f]:!0,error:n}),q=g=>{t&&t(g)};return s.jsx(I.Fieldset,{children:s.jsx(R.FormElement,{elemid:e,label:c,helper:u,error:n,required:i,tooltip:a,children:s.jsx("input",{id:r||e,name:e,onChange:q,disabled:o,placeholder:l,required:i,type:p,value:d,className:h,ref:x})})})}),E=b;exports.Input=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Input-chunk-rOmcRlWW.js");exports.Input=t.Input;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),c=require("react"),R=require("./useGlobalSettings-chunk-Pa38w6VS.js"),l=require("./index-chunk-D921N0ug.js"),h=require("./ContextMenu-chunk-CV5PP4ZP.js"),C=c.forwardRef(({className:f,language:g,theme:x="light",hideIcon:d,options:a,...m},$)=>{const{prefix:p}=R.useGlobalSettings(),[n,i]=c.useState(!1),o=c.useRef(null),t=c.useRef(null),e=`${p}--language-toggle`;return c.useLayoutEffect(()=>{function s(u){!t.current||!o.current||!t.current.contains(u.target)&&!o.current.contains(u.target)&&i(!1)}return document.addEventListener("mousedown",s),()=>{document.removeEventListener("mousedown",s)}}),c.useLayoutEffect(()=>{if(!(!o.current||!t.current)&&n){const s=o.current.getBoundingClientRect(),u=t.current.getBoundingClientRect();t.current.style.left=`${s.left+(s.width-u.width)/2}px`,t.current.style.top=`${s.bottom}px`}},[n]),r.jsxs("div",{ref:$,className:l.classnames(e,f,`${e}__theme__${x}`,{[`${e}__open`]:n}),...m,children:[r.jsxs("button",{className:`${e}--container`,ref:o,onClick:()=>{i(!n)},"aria-controls":`${e}--context-menu`,"aria-expanded":n,children:[!d&&r.jsx("span",{className:`${e}--icon`}),r.jsx("span",{className:`${e}--action`,children:g}),r.jsx("span",{className:`${e}--arrow`})]}),a&&r.jsx(h.ContextMenu,{withPortal:!0,ref:t,links:a,className:l.classnames(`${e}--context-menu`,{[`${e}--context-menu__open`]:n})})]})});exports.LanguageToggle=C;
|
package/lib/cjs/_store/{LanguageToggle-entry-ALUfRa_V.js → LanguageToggle-entry-B505b9cv.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./LanguageToggle-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./LanguageToggle-chunk-DreFwEfC.js");exports.LanguageToggle=e.LanguageToggle;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),k=require("react"),x=require("./index-chunk-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),k=require("react"),x=require("./index-chunk-D921N0ug.js"),a=require("./useGlobalSettings-chunk-Pa38w6VS.js"),b=k.forwardRef(({children:o,className:e,label:r,target:s,theme:i="light",url:l,...u},c)=>{const{prefix:d}=a.useGlobalSettings();let n=`${d}--link`;e!=null&&e.includes("button")&&(n="");const f=x.classnames(e,{[n]:!0,[`${n}--${i}`]:n&&i});return t.jsxs("a",{ref:c,className:f,href:l,target:s,rel:s?"noopener noreferrer":void 0,...u,children:[r&&t.jsx("span",{className:"link__label",children:r}),o]})});exports.Link=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Link-chunk-CKS-N_wg.js");exports.Link=e.Link;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-D921N0ug.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),o=u.forwardRef(({className:c,headline:n,linkgroup:r,theme:t="light"},d)=>{const{prefix:m}=x.useGlobalSettings(),s=`${m}--link-list`;return e.jsxs("div",{ref:d,className:a.classnames(s,c,`${s}--${t}`),children:[n&&e.jsx("h3",{className:`${s}--headline`,children:n}),e.jsx("ul",{className:`${s}--linkgroups`,children:r.map((l,h)=>e.jsxs("li",{className:`${s}--linkgroups-item`,children:[l.headline&&e.jsx("h4",{className:`${s}--links--headline`,children:l.headline}),e.jsx("ul",{className:`${s}--links`,children:l.links.map((i,$)=>e.jsx("li",{className:a.classnames(`${s}--links--item`,{indented:i.indented}),children:e.jsxs("a",{href:i.url,className:`${s}--link`,children:[e.jsx("span",{className:`${s}--label`,children:i.label}),e.jsx("span",{className:`${s}--icon`})]})},`link-${$}`))})]},`linkgroup-${h}`))})]})});exports.LinkList=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./LinkList-chunk-CKqhpf3F.js");exports.LinkList=i.LinkList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),u=require("./index-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),u=require("./index-chunk-D921N0ug.js"),d=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=c.forwardRef(({children:t,className:a,alignment:o="default",ordered:l="unstyled",title:n,theme:i="light",...r},m)=>{const{prefix:x}=d.useGlobalSettings(),s=`${x}--list`,b=u.classnames(a,s,{[`${s}__unstyled`]:l==="unstyled",[`${s}__horizontal`]:o==="horizontal",[`${s}__theme__${i}`]:i});return e.jsxs("div",{className:b,ref:m,...r,children:[n&&e.jsx("h2",{className:`${s}--title`,children:n}),l==="ordered"?e.jsx("ol",{children:t}):e.jsx("ul",{children:t})]})}),j=c.forwardRef(({children:t,className:a,...o},l)=>{const{prefix:n}=d.useGlobalSettings(),i=`${n}--list--item`,r=u.classnames(a,i);return e.jsx("li",{className:r,ref:l,...o,children:t})}),_=Object.assign(f,{Item:j});exports.List=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),c=require("./index-chunk-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),c=require("./index-chunk-D921N0ug.js"),t=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=({className:o,message:n,size:i,status:e})=>{const{prefix:r}=t.useGlobalSettings(),s=`${r}--loading`,a=c.classnames(o,{[s]:!0,[`${s}--${i}`]:i,[`${s}--${e}`]:e});return l.jsx("div",{className:a,role:"alert","aria-live":"assertive",children:e&&n&&e!=="idle"&&l.jsx("p",{className:`${s}--copy`,children:n})})},$=d;exports.Loading=$;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Loading-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Loading-chunk-F3eMVq0d.js");exports.Loading=e.Loading;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("react"),V=require("./useGlobalSettings-chunk-Pa38w6VS.js"),R=require("./index-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),s=require("react"),V=require("./useGlobalSettings-chunk-Pa38w6VS.js"),R=require("./index-chunk-D921N0ug.js"),M=({clientHeight:e,clientWidth:c,scrollHeight:n,scrollWidth:i})=>n>e||i>c,P=(e,{maxSize:c=600,startingHeight:n=9,step:i=.5})=>{let t=n,l=!1;for(;!l&&t<c;)e.style.fontSize=`${t}px`,e.style.lineHeight=`${t}px`,l=M(e),l||(t=t+i);return e.style.fontSize="",e.style.lineHeight="",t-i},I=({baseClass:e,className:c,subbrand:n,alt:i,src:t,style:l,size:f="fluid",theme:u="light",...$})=>{const g=s.useRef(null),h=s.useRef(null),p=s.useRef(null),a=s.useRef(null),[d,F]=s.useState(!1),[L,b]=s.useState(0),[y,k]=s.useState(0),[H,w]=s.useState(!n),j=s.useRef(new ResizeObserver(o=>{const{height:x}=o[0].contentRect;a.current||(a.current=x),b(x)}));s.useEffect(()=>{n&&d&&y&&w(!0)},[d,y,n]),s.useLayoutEffect(()=>{if(d&&h.current&&g.current){const o=g.current;return j.current.observe(o),()=>j.current.unobserve(o)}},[d]),s.useLayoutEffect(()=>{v()},[d,a.current]),s.useLayoutEffect(()=>{v()},[n]);function v(){if(h.current&&p.current&&a.current){const x=P(h.current,{maxSize:a.current})/a.current;k(x)}}function E(){F(!0)}const m=!!n,z=f==="fluid",N=!z&&typeof f=="number",S=`${e}--sub-brand`,q=`${e}--size--fluid`,B=`${e}--visibility--hidden`,O=R.classnames(e,c,`${e}--theme--${u}`,{[B]:!H,[q]:z,[S]:m}),W=`${e}--image`,C=`${S}--image`,G=()=>{const o={};return m&&(o["--logo-image-height"]=`${L}px`,o["--logo-font-size"]=`${y*L}px`),N&&(o.width=`${f}px`),{...l,...o}},T=()=>typeof t=="string"?t:t[u];return r.jsxs("figure",{className:O,style:G(),children:[r.jsx("img",{ref:g,alt:i,src:T(),className:R.classnames({[C]:m,[W]:!m}),onLoad:E,...$}),m&&r.jsxs("div",{ref:h,className:`${S}--lock-up`,children:[r.jsx("span",{className:`${S}--lock-up--separator`}),r.jsx("span",{ref:p,children:n})]})]})},A=({className:e,url:c,target:n,style:i,size:t,...l})=>{const{prefix:f}=V.useGlobalSettings(),u=`${f}--logo`,$=`${u}--link`,g=`${u}--size--fluid`;return c?r.jsx("a",{href:c,target:n,className:R.classnames($,e,{[g]:t==="fluid"}),style:i,children:r.jsx(I,{...l,baseClass:u,size:t})}):r.jsx(I,{baseClass:u,className:e,style:i,size:t,...l})},D=A;exports.Logo=D;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("./index-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),a=require("./index-chunk-D921N0ug.js"),c=require("./useGlobalSettings-chunk-Pa38w6VS.js"),g=({url:t,label:i,src:n})=>{const{prefix:e}=c.useGlobalSettings(),r=`${e}--logo-grid--item`,l=`${e}--logo-grid--link`,o=a.classnames(r,{[l]:!!t});return t?s.jsx("a",{className:o,href:t,target:"_blank",rel:"noopener noreferrer",children:s.jsx("img",{alt:i,src:n})}):s.jsx("div",{className:o,children:s.jsx("img",{alt:i,src:n})})},d=({logos:t,theme:i="light"})=>{const{prefix:n}=c.useGlobalSettings(),e=`${n}--logo-grid`,r=`${e}__theme__${i}`,l=a.classnames(e,r);return s.jsx("div",{className:l,children:s.jsx("div",{className:`${e}--logos`,children:t.map(o=>s.jsx(g,{...o},o.label))})})},m=d;exports.LogoGrid=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SubsiteNav-chunk-RY341cRy.js");exports.SubsiteNav=e.SubsiteNav;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),l=require("react"),f=require("./index-chunk-D921N0ug.js"),m=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Button-chunk-CokTsoxy.js"),b=l.forwardRef(({className:o,closelabel:c="Close",copy:r,cta:i,headline:d,placement:t,timestamp:n,type:a},u)=>{const{prefix:x}=m.useGlobalSettings(),[h,j]=l.useState(!0),e=`${x}--notification`,$=f.classnames(e,o,{[`${e}--${t}`]:t,[`icon icon--${a}`]:a});return s.jsx(s.Fragment,{children:h&&s.jsxs("div",{className:$,role:"status","aria-live":"polite","aria-relevant":"additions",ref:u,children:[s.jsxs("div",{className:`${e}--content`,children:[s.jsx("h2",{className:`${e}--headline`,children:d}),s.jsx("p",{className:`${e}--copy`,children:r}),n&&s.jsx("time",{className:`${e}--date`,dateTime:n.unix,children:n.human}),i&&s.jsx("div",{className:`${e}__footer`,children:s.jsx(N.Button,{type:"secondary",size:"small",link:{url:i.url,label:i.label}})})]}),s.jsx("button",{className:`${e}--close`,type:"button",onClick:()=>j(!1),children:s.jsx("span",{children:c})})]})})});exports.Notification=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Notification-chunk-BwzJpALY.js");exports.Notification=i.Notification;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),l=require("react"),R=require("./index-chunk-D921N0ug.js"),g=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-BNLBz9W8.js"),p=l.forwardRef(({onChange:e,onBlur:n,disabled:s=!1,error:o,id:t,name:r,placeholder:c,required:m,max:b,min:d,step:f},C)=>{const{prefix:a}=g.useGlobalSettings(),x=u.useFormControl(),{ariaDescribedBy:k}=x,y=`${a}--input`,N=`${a}--numberpicker`,q=!s&&!!o,P=R.classnames(y,N,{error:q}),h=j=>{e&&e(j)};return i.jsx("input",{ref:C,id:t||r,name:r,onChange:h,onBlur:n,disabled:s,placeholder:c,required:m,type:"number",className:P,pattern:"[0-9]*",inputMode:"numeric","aria-describedby":k,max:b,min:d,step:f})}),F=l.forwardRef((e,n)=>{const{style:s,inputStyle:o,className:t,...r}=e,c=e.id?e.id:e.name;return i.jsx(u.FormControl,{fieldId:c,style:s,className:t,...r,children:i.jsx(p,{ref:n,style:o,...r})})}),L=F;exports.LabelledNumberPicker=L;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./NumberPicker-chunk-DaudB3Ac.js");exports.NumberPicker=e.LabelledNumberPicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),a=require("./index-chunk-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),a=require("./index-chunk-D921N0ug.js"),F=require("./useGlobalSettings-chunk-Pa38w6VS.js"),G=({className:i,callback:c,currentPage:l,firstPageUrl:h,firstPageTitle:r="First page",lastPageUrl:j,lastPageTitle:o="Last page",nextPageUrl:C,nextPageTitle:d="Next page",pageCountPreposition:m="of",prevPageUrl:g,prevPageTitle:p="Previous page",totalPages:u})=>{const{prefix:f}=F.useGlobalSettings(),s=`${f}--pagination`,k=a.classnames(i,{[s]:!0}),x=l===0,$=l+1===u,b=a.classnames(i,{[`${s}--first-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),v=a.classnames(i,{[`${s}--prev-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:x}),N=a.classnames(i,{[`${s}--next-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),q=a.classnames(i,{[`${s}--last-page`]:!0,[`${s}--link`]:!0,[`${s}--disable`]:$}),t=n=>{c&&c(n)};return e.jsxs("div",{className:k,children:[e.jsxs("div",{className:`${s}--previous-set`,children:[e.jsx("a",{className:b,onClick:n=>t(n),href:h,title:r,children:r}),e.jsx("a",{className:v,onClick:n=>t(n),href:g,title:p,children:p})]}),e.jsxs("p",{className:`${s}--page`,children:[e.jsx("span",{children:l+1}),e.jsx("span",{children:m}),e.jsx("span",{children:u})]}),e.jsxs("div",{className:`${s}--next-set`,children:[e.jsx("a",{className:N,onClick:n=>t(n),href:C,title:d,children:d}),e.jsx("a",{className:q,onClick:n=>t(n),href:j,title:o,children:o})]})]})},L=G;exports.Pagination=L;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./Pagination-chunk-BWrRU1TQ.js");exports.Pagination=i.Pagination;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),b=require("react"),d=require("./index-chunk-D921N0ug.js"),x=require("./useGlobalSettings-chunk-Pa38w6VS.js"),m=b.forwardRef(({className:c,url:e,loading:n,alt:a},o)=>{const{prefix:u}=x.useGlobalSettings(),t=`${u}--picture`,l=d.classnames(t,c);return r.jsxs("picture",{className:l,ref:o,children:[Array.isArray(e)?[...e].reverse().map((s,i,p)=>i<p.length-1?r.jsx("source",{srcSet:s.src,media:s.breakpoint?/^\d+$/.test(s.breakpoint.toString())?`(min-width: ${s.breakpoint}px)`:s.breakpoint.toString():void 0},i):null):null,r.jsx("img",{className:`${t}--img`,src:Array.isArray(e)?e.reverse()[0].src:e,alt:a,loading:n})]})});exports.Picture=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Picture-chunk-BuGEvlEM.js");exports.Picture=e.Picture;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),$=require("react"),u=require("./index-chunk-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),$=require("react"),u=require("./index-chunk-D921N0ug.js"),h=require("./useGlobalSettings-chunk-Pa38w6VS.js"),j=$.forwardRef(({avatar:t,className:o,description:a,link:r,name:l,role:i,theme:c="light",size:n="large"},d)=>{const{prefix:f}=h.useGlobalSettings(),e=`${f}--profile`,x=u.classnames(o,{[e]:!0,[`${e}__theme__${c}`]:c,[`${e}__size__${n}`]:n});return s.jsxs("figure",{className:x,ref:d,children:[s.jsx("img",{className:`${e}--avatar`,src:t,alt:`Avatar for ${l}`}),s.jsx("figcaption",{children:s.jsxs("div",{className:`${e}--figcaption--content`,children:[s.jsx("div",{className:`${e}--name`,children:l}),i&&s.jsx("div",{className:`${e}--role`,children:i})]})}),a&&s.jsx("p",{className:`${e}--description`,children:a}),r&&s.jsx("div",{className:`${e}--link`,children:s.jsx("a",{href:r.url,target:"__blank",rel:"noopener noreferrer",children:s.jsx("span",{className:`${e}--link--label`,children:r.label})})})]})});exports.Profile=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Profile-chunk-DTBv0UYf.js");exports.Profile=e.Profile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("react"),S=require("./index-chunk-D921N0ug.js"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),g=require("./usePrevious-chunk-DENrwKF1.js"),L=require("./Fieldset-chunk-CvTrP5QT.js"),m=require("./FormControl-chunk-BNLBz9W8.js"),N=u.forwardRef(({onChange:e,onBlur:a,disabled:l=!1,error:s,id:o,name:r,required:i,checked:n,defaultChecked:c=!1,value:C},x)=>{const{prefix:R}=$.useGlobalSettings(),{setHasError:f}=L.useFieldsetError(),q=m.useFormControl(),b=g.usePrevious(s);u.useEffect(()=>{s!==b&&f(!!s)},[s,b,f]);const{ariaDescribedBy:j}=q,y=E=>{e&&e(E)},d=`${R}--radio`,F=`${d}--control`,h=`${d}__error`,v=S.classnames(d,{[h]:s});return t.jsxs("div",{className:v,children:[t.jsx("input",{ref:x,id:o||r,name:r,onChange:y,onBlur:a,disabled:l,required:i,type:"radio",defaultChecked:c,"aria-describedby":j,checked:n,value:C}),t.jsx("span",{className:F})]})}),P=u.forwardRef((e,a)=>{const{style:l,inputStyle:s,className:o,labelPlacement:r="end",labelSize:i="small",...n}=e,c=e.id?e.id:e.name;return t.jsx(m.FormControl,{fieldId:c,style:l,className:o,labelPlacement:r,labelSize:i,...n,children:t.jsx(N,{ref:a,style:s,...n})})}),w=P;exports.LabelledRadio=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Radio-chunk-BicmWom0.js"),a={className:"Radio",name:"radio"},e={basic:a},i=e;exports.Radio=o.LabelledRadio;exports.RadioArgs=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),d=require("react"),u=require("./index-chunk-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),d=require("react"),u=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-Pa38w6VS.js"),j=require("./RichText-chunk-5CtXJDJs.js"),p=({buttonlabel:s,className:c,excerpt:t,fulltext:r,openatstart:a,...l})=>{const{prefix:x}=q.useGlobalSettings(),n=`${x}--read-more`,[i,R]=d.useState(a?r:t),[e,$]=d.useState(a),m=u.classnames(c,{[n]:!0,[`${n}--open`]:e}),C=u.classnames(c,{[`${n}--button`]:!0,[`${n}--button--open`]:e}),h=()=>{R(i===t?r:t),$(!e)};return o.jsxs("div",{className:m,children:[o.jsx(j.RichText,{content:i,...l}),o.jsx("button",{className:C,"aria-expanded":e,onClick:()=>h(),children:e?`${s&&s.opened}`:`${s&&s.closed}`})]})},M=p;exports.ReadMore=M;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./ReadMore-chunk-C3lpnW_Y.js");exports.ReadMore=e.ReadMore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),r=require("./index-chunk-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),r=require("./index-chunk-D921N0ug.js"),o=require("./useGlobalSettings-chunk-Pa38w6VS.js"),a=({className:e,content:s})=>{const{prefix:t}=o.useGlobalSettings(),n=`${t}--richtext`,c=r.classnames(e,{[n]:!0});return i.jsx("div",{className:c,dangerouslySetInnerHTML:{__html:s}})},l=a;exports.RichText=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./RichText-chunk-5CtXJDJs.js");exports.RichText=e.RichText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),j=require("react"),h=require("./index-chunk-D921N0ug.js"),N=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./Button-chunk-CokTsoxy.js"),g=require("./Link-chunk-CKS-N_wg.js"),k=require("./LinkList-chunk-CKqhpf3F.js"),B=require("./Profile-chunk-DTBv0UYf.js"),w=require("./List-entry-CeX6di4c.js"),F=require("./Picture-chunk-BuGEvlEM.js"),D=require("./Status-chunk-BE2gtI8L.js"),I=require("./Icon-chunk-BHcmIUPN.js"),y=j.forwardRef(({className:p,title:r,theme:n="light",size:a="standard",color:o,intro:$,source:x,titleLevel:d="p"},i)=>{const{prefix:l}=N.useGlobalSettings(),t=`${l}--card`,m=h.classnames(`${t}--wrapper`,p),_=h.classnames(t,`${t}__type__stat`,{[`${t}__size__${String(a)}`]:a,[`${t}__theme__${n}`]:n,[`${t}__color__${o}`]:o});return s.jsx("div",{className:m,ref:i,children:s.jsx("div",{className:_,children:s.jsx("div",{className:`${t}--wrap`,children:s.jsxs("div",{className:`${t}--content`,children:[s.jsx(d,{className:`${t}--title`,children:r}),$&&s.jsx("p",{className:`${t}--intro`,children:$}),x&&s.jsx(g.Link,{className:`${t}--source`,url:x.url,label:x.label})]})})})})}),L=j.forwardRef(({className:p,title:r,size:n="standard",alignment:a,intro:o,link:$,linklist:x,image:d,titleLevel:i="p",eyebrow:l,isVideo:t,theme:m="light"},_)=>{const{prefix:c}=N.useGlobalSettings(),e=`${c}--card`,u=h.classnames(e,p,`${e}__type__multilink`,{[`${e}__align__${a}`]:a,[`${e}__size__${n}`]:n,[`${e}__isvideo`]:t,[`${e}--no-image`]:!d,[`${e}__theme__${m}`]:m});return s.jsxs("div",{className:u,ref:_,children:[$&&s.jsx("a",{className:`${e}--link`,href:$,title:r,children:s.jsx("span",{className:`${e}--link--text`,children:r})}),s.jsxs("div",{className:`${e}--wrap`,children:[d&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${e}--picture`})})}),s.jsxs("div",{className:`${e}--content`,children:[l&&s.jsx("p",{className:`${e}--eyebrow`,children:l}),s.jsx(i,{className:`${e}--title`,children:r}),d&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${e}--picture`})})}),o&&s.jsx("p",{className:`${e}--intro`,children:o}),x&&s.jsx(k.LinkList,{...x})]})]})]})}),S=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,profile:$,link:x,titleLevel:d="p",eyebrow:i},l)=>{const{prefix:t}=N.useGlobalSettings(),m=`${t}--card`,_=h.classnames(`${m}--wrapper`,p),c=h.classnames(m,`${m}__type__text`,{[`${m}__size__${String(a)}`]:a,[`${m}__theme__${n}`]:n});return s.jsx("div",{className:_,ref:l,children:s.jsxs("div",{className:c,children:[s.jsx("a",{className:`${m}--link`,href:x,title:r,children:s.jsx("span",{className:`${m}--link--text`,children:r})}),s.jsx("div",{className:`${m}--wrap`,children:s.jsxs("div",{className:`${m}--content`,children:[i&&s.jsx("p",{className:`${m}--eyebrow`,children:i}),s.jsx(d,{className:`${m}--title`,children:r}),o&&s.jsx("time",{className:`${m}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx(B.Profile,{avatar:$.avatar,description:$.description,link:$.link,name:$.name,role:$.role,theme:n})]})})]})})}),G=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",cornercut:o,intro:$,link:x,cta:d,titleLevel:i="p",eyebrow:l},t)=>{const{prefix:m}=N.useGlobalSettings(),_=`${m}--card`,c=h.classnames(`${_}--wrapper`,p,`${_}--wrapper__type__promo`,`${_}--wrapper__type__promo__size__${a}`),e=h.classnames(_,`${_}__type__promo`,{[`${_}__size__${String(a)}`]:a,[`${_}__theme__${n}`]:n,[`${_}__cornercut`]:o});return s.jsx("div",{className:c,ref:t,children:s.jsxs("div",{className:e,children:[s.jsx("a",{className:`${_}--link`,href:x,title:r,children:s.jsx("span",{className:`${_}--link--text`,children:r})}),s.jsx("div",{className:`${_}--wrap`,children:s.jsxs("div",{className:`${_}--content`,children:[l&&s.jsx("p",{className:`${_}--eyebrow`,children:l}),s.jsx(i,{className:`${_}--title`,children:r}),$&&s.jsx("p",{className:`${_}--intro`,children:$}),(d==null?void 0:d.label)&&s.jsx("div",{className:`${_}--cta`,children:s.jsx(f.Button,{link:{url:d.url,label:d.label},size:"medium",type:"primary"})})]})})]})})}),q=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,link:$,linklist:x,image:d,titleLevel:i="p",eyebrow:l,isVideo:t},m)=>{const{prefix:_}=N.useGlobalSettings(),c=`${_}--card`,e=h.classnames(c,p,`${c}__type__feature`,{[`${c}__size__${String(a)}`]:a,[`${c}__theme__${n}`]:n,[`${c}__isvideo`]:t,[`${c}__linklist`]:x});return s.jsxs("div",{className:e,ref:m,children:[$&&s.jsx("a",{className:`${c}--link`,href:$,title:r,children:s.jsx("span",{className:`${c}--link--text`,children:r})}),s.jsxs("div",{className:`${c}--wrap`,children:[d&&s.jsx("div",{className:`${c}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${c}--picture`})})}),s.jsxs("div",{className:`${c}--content`,children:[l&&s.jsx("p",{className:`${c}--eyebrow`,children:l}),s.jsx(i,{className:`${c}--title`,children:r}),o&&s.jsx("time",{className:`${c}--date`,dateTime:o.unix,children:o.human}),x&&s.jsx(k.LinkList,{headline:x.headline,linkgroup:x.linkgroup,theme:n})]})]})]})}),R=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,details:$,link:x,titleLevel:d="p",eyebrow:i,intro:l,image:t,isVideo:m=!1},_)=>{const{prefix:c}=N.useGlobalSettings(),e=`${c}--card`,u=h.classnames(e,`${e}__type__detail`,p,{[`${e}__size__${String(a)}`]:a,[`${e}__theme__${n}`]:n,[`${e}__isvideo`]:m});return s.jsxs("div",{className:u,ref:_,children:[x&&s.jsx("a",{className:`${e}--link`,href:x,title:r,children:s.jsx("span",{className:`${e}--link--text`,children:r})}),s.jsxs("div",{className:`${e}--wrap`,children:[t&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:t,alt:r})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),r&&s.jsx(d,{className:`${e}--title`,children:r}),l&&s.jsx("p",{className:`${e}--intro`,children:l}),o&&s.jsx("time",{className:`${e}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx("p",{className:`${e}--date-extra`,children:$})]})]})]})}),T=j.forwardRef(({title:p,theme:r="light",size:n="narrow",list:a,titleLevel:o="p",className:$},x)=>{const{prefix:d}=N.useGlobalSettings(),i=`${d}--card`,l=h.classnames(i,`${i}__type__factlist`,$,{[`${i}__size__${n}`]:n,[`${i}__theme__${r}`]:r});return s.jsx("div",{className:l,ref:x,children:s.jsx("div",{className:`${i}--wrap`,children:s.jsxs("div",{className:`${i}--content`,children:[p&&s.jsx(o,{className:`${d}--card--title`,children:p}),s.jsx(w.List,{alignment:"default",ordered:"unordered",theme:r,children:a.map(t=>s.jsx(w.List.Item,{children:s.jsx("p",{children:t})},t))})]})})})}),P=j.forwardRef(({eyebrow:p,size:r="narrow",image:n,dataset:a,columns:o="one",className:$},x)=>{var _;const{prefix:d}=N.useGlobalSettings(),i=r==="narrow"?"one":o,l=`${d}--card`,t=h.classnames(l,`${l}__type__data`,$,{[`${l}__size__${String(r)}`]:r,[`${l}__type__data__columns__${i}`]:i}),m=h.classnames(`${l}--content`,{[`${l}--content__with-image`]:n,[`${l}--content__no-image-with-links`]:!n&&(a==null?void 0:a.links),[`${l}--content__default`]:!n&&!(a!=null&&a.links)});return s.jsx("div",{className:t,ref:x,children:s.jsxs("div",{className:`${l}--wrap`,children:[!n&&p&&s.jsx("div",{className:`${l}--eyebrow`,children:p}),s.jsxs("div",{className:m,children:[n&&s.jsxs("div",{className:`${l}--area--image`,children:[p&&s.jsx("div",{className:`${l}--eyebrow`,children:p}),s.jsx("div",{className:`${l}--image`,children:s.jsx("picture",{children:s.jsx("img",{className:`${l}--picture`,src:n,alt:p})})})]}),(_=a==null?void 0:a.content)==null?void 0:_.items.map((c,e)=>s.jsxs("div",{className:`${l}--area--content`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:c.label}),s.jsx("p",{className:`${l}__type__data--content-copy`,children:c.copy})]},e)),(a==null?void 0:a.files)&&s.jsx("div",{className:`${l}--area--files`,children:s.jsxs("div",{className:`${l}__type__data--content-files`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.files.headline}),a.files.items.map((c,e)=>s.jsx(f.Button,{link:{url:c.url,label:c.label,target:c.target||"_self"},size:"small"},e))]})}),(a==null?void 0:a.cta)&&s.jsx("div",{className:`${l}--area--cta`,children:s.jsxs("div",{className:`${l}__type__data--content-cta`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.cta.headline}),a.cta.items.map(c=>s.jsx(f.Button,{type:"secondary",size:"small",link:{url:c.url,label:c.label,target:c.target}},c.label))]})}),(a==null?void 0:a.links)&&s.jsx("div",{className:`${l}--area--links`,children:s.jsxs("div",{className:`${l}__type__data--content-links`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.links.headline}),s.jsx("div",{className:`${l}__type__data--content-links-list`,children:a.links.items.map(c=>s.jsx(j.Fragment,{children:s.jsx(g.Link,{url:c.url,label:c.label,className:`${l}__type__data--content-link`})},c.label+c.url))})]})})]})]})})}),M={stat:y,multilink:L,text:S,promo:G,feature:q,detail:R,factlist:T,data:P},z=j.forwardRef(({type:p,group:r,cardCount:n="one",cta:a,collapsed:o=!1},$)=>{const x=M[p],{prefix:d}=N.useGlobalSettings(),i=`${d}--cardgroup`,l=h.classnames(i,`${i}__count__${n}`,{[`${i}__collapsed`]:o});return s.jsxs("div",{className:l,ref:$,children:[s.jsx("div",{className:`${i}--inner`,children:r.map((t,m)=>s.jsx(x,{...t},m))}),a&&s.jsx("div",{className:`${i}--button-wrap`,children:s.jsx(f.Button,{link:{url:a.url,label:a.label},type:"secondary",size:"medium"})})]})}),A=j.forwardRef(({theme:p="light",titleLevel:r="p",size:n="narrow",link:a,title:o,isVideo:$=!1,image:x,status:d,eyebrow:i,content:l,cta:t},m)=>{var b;const{prefix:_}=N.useGlobalSettings(),c=p==="dark"?"var(--ilo-color-white)":"var(--ilo-color-gray-accessible)",e=`${_}--card`,u=h.classnames(e,`${e}__type__score`,{[`${e}__theme__${p}`]:p,[`${e}__size__${n}`]:n,[`${e}__isvideo`]:$});return s.jsxs("div",{className:u,ref:m,children:[s.jsx("a",{className:`${e}--link`,href:a,title:o,children:s.jsx("span",{className:`${e}--link--text`,children:o})}),s.jsxs("div",{className:`${e}--wrap`,children:[x&&n!=="simple"&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx(F.Picture,{...x})}),s.jsxs("div",{className:`${e}--content`,children:[d&&s.jsx(D.Status,{content:d.content,statusType:d.statusType}),i&&n!=="simple"&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),o&&s.jsx(r,{className:`${e}--title`,children:o}),l&&s.jsx("div",{className:`${e}--area--content`,children:(b=l.items)==null?void 0:b.map((v,C)=>s.jsxs("div",{className:`${e}--content--item`,children:[s.jsx(I.Icon,{name:v.icon,size:20,color:c}),s.jsx("span",{children:v.label})]},C))}),t&&s.jsx("div",{className:`${e}--area--cta`,children:t.items.map((v,C)=>s.jsx("div",{className:`${e}--cta`,children:v},C))})]})]})]})});exports.CardGroup=z;exports.DataCard=P;exports.DetailCard=R;exports.FactListCard=T;exports.FeatureCard=q;exports.MultiLinkCard=L;exports.PromoCard=G;exports.ScoreCard=A;exports.StatCard=y;exports.TextCard=S;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),b=require("react"),F=require("./index-chunk-D921N0ug.js"),I=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Input-chunk-rOmcRlWW.js"),k=require("./Icon-chunk-BHcmIUPN.js"),v=b.forwardRef(({action:m,callback:c,className:t,input:e},C)=>{const[o,d]=b.useState(""),{prefix:l}=I.useGlobalSettings(),a=`${l}--searchfield`,S=`${a}--button`,f=`${a}--clear-button ${o.trim()!==""&&"show"}`,x=`${l}--fieldset`,j=F.classnames(t,{[a]:!0,haslabel:e==null?void 0:e.label}),y=r=>{c&&c(r)},$=()=>{d("")},q=r=>{d(r.target.value)},h=!!(e!=null&&e.type);if(!h)throw new Error("SearchField: Input must have type prop");return h?s.jsxs("form",{className:j,action:m,children:[s.jsxs("div",{className:x,children:[s.jsx(N.Input,{id:e==null?void 0:e.id,name:e==null?void 0:e.name,disabled:e==null?void 0:e.disabled,callback:q,error:e==null?void 0:e.error,helper:e==null?void 0:e.helper,label:e==null?void 0:e.label,placeholder:e==null?void 0:e.placeholder,type:e==null?void 0:e.type,value:o,className:`${l}--input`,ref:C}),s.jsx("span",{onClick:$,className:f,role:"presentation",children:s.jsx(k.Icon,{name:"close",hidden:!0})})]}),s.jsx("input",{className:S,disabled:e==null?void 0:e.disabled,type:"submit",onClick:y})]}):null}),w=v;exports.SearchField=w;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SearchField-chunk-reX0PGt-.js");exports.SearchField=e.SearchField;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),l=require("./index-chunk-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),l=require("./index-chunk-D921N0ug.js"),m=require("react"),u=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=m.forwardRef(({className:c,theme:t="light",justify:n="start",headline:i,icons:r,iconSize:o="normal"},_)=>{const{prefix:$}=u.useGlobalSettings(),s=`${$}--social-media`;return a.jsxs("div",{className:l.classnames(s,`${s}__theme__${t}`,`${s}__justify__${n}`,c),ref:_,children:[i&&a.jsx("h5",{className:`${s}--headline`,children:i}),a.jsx("ul",{className:l.classnames(`${s}--list`,`${s}--list__size__${o}`),children:r.map(e=>a.jsx("li",{className:l.classnames(`${s}--list--item`,e.className),children:a.jsx("a",{title:e.label,className:l.classnames(`${s}--list--item--icon`,`${s}--list--item--icon__${e.icon}`),href:e.url,children:e.label})},e.url))})]})}),h=d;exports.SocialMedia=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./SocialMedia-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./SocialMedia-chunk-BOUSX1QA.js"),l={headline:"Follow us on social media",theme:"light",justify:"start",iconSize:"normal",icons:[{icon:"bluesky",label:"Bluesky",url:"https://bsky.app/profile/ilo.org"},{icon:"facebook",url:"https://www.facebook.com/ilo.org",label:"Facebook"},{icon:"x",url:"https://x.com/ilo",label:"x"},{icon:"instagram",url:"https://www.instagram.com/ilo.org/",label:"Instagram"},{icon:"linkedin",url:"https://www.linkedin.com/company/international-labour-organization-ilo",label:"LinkedIn"},{icon:"youtube",url:"https://www.youtube.com/channel/UCQsVmhSa4X-G3lHlUtejzLA",label:"YouTube"},{icon:"tiktok",url:"https://www.tiktok.com/@ilo",label:"TikTok"},{icon:"flickr",url:"https://www.flickr.com/photos/ilopictures/albums",label:"flickr"},{icon:"wechat",label:"Wechat",url:"https://wechat.com"},{icon:"weibo",label:"Weibo",url:"https://weibo.com"}]};exports.SocialMedia=o.SocialMedia;exports.socialMediaArgs=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),i=require("react"),o=require("./index-chunk-D921N0ug.js"),l=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=i.forwardRef(({statusType:s="active",content:e,elementId:r,className:a},n)=>{const{prefix:t}=l.useGlobalSettings(),u=o.classnames(a,{[`${t}--status`]:!0,[`${t}--status__type__${s}`]:s});return c.jsx("span",{className:u,id:r,ref:n,children:e})});exports.Status=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./Status-chunk-BE2gtI8L.js");exports.Status=t.Status;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),u=require("react"),j=require("./useGlobalSettings-chunk-Pa38w6VS.js"),I=require("react-dom"),h=require("./index-chunk-D921N0ug.js"),O=require("./LanguageToggle-chunk-DreFwEfC.js"),q=require("./useBreakpoint-chunk-CBEGGRKj.js"),A=({isOpen:l,className:r,navRef:c,children:s})=>{const{prefix:a}=j.useGlobalSettings(),i=u.useRef(null),m=`${a}--nav-dropdown`,_=u.useCallback(()=>{if(!(i!=null&&i.current)||!(c!=null&&c.current))return;const o=c.current.getBoundingClientRect();i.current.style.top=`${o.bottom}px`,i.current.style.width=`${o.width}px`},[c]);return u.useEffect(()=>(_(),window.addEventListener("resize",_),()=>{window.removeEventListener("resize",_)}),[c]),I.createPortal(e.jsx("div",{ref:i,className:h.classnames({[m]:!0,[`${m}--open`]:l,className:r}),children:e.jsx("div",{className:`${m}__container`,children:s})}),document.body)},S=u.memo(A),N=l=>{const{label:r,component:c,isActive:s,...a}=l;return c?e.jsx(c,{...a,isActive:s,children:r}):e.jsx("a",{...a,children:r})},M=({menu:l})=>{const{prefix:r}=j.useGlobalSettings(),c=`${r}--nav-menu-grid`,s=[];for(let a=0;a<l.length;a+=5)s.push(l.slice(a,a+5));return e.jsx("div",{className:c,children:s.map((a,i)=>e.jsx("div",{className:`${c}__column`,children:a.map(m=>{var _;return e.jsx(N,{className:`${c}__item`,href:m.href,label:m.label},(_=m.label)==null?void 0:_.toString())})},i))})},f=({menu:l})=>{const{prefix:r}=j.useGlobalSettings(),c=`${r}--nav-mobile-menu`;return e.jsx("ul",{className:`${c}`,children:l.map((s,a)=>e.jsxs("li",{className:`${c}__item`,children:[e.jsx(N,{label:s.label,href:s.href,className:`${c}__link`}),s.isActive&&e.jsx("span",{className:`${c}__marked`})]},a))})},C=({isOpen:l,onClose:r,header:c,widgets:s,children:a,className:i})=>{const{prefix:m}=j.useGlobalSettings(),_=u.useId(),o=`${m}--nav-mobile-drawer`;return I.createPortal(e.jsxs("div",{id:`${o}__${_}`,className:h.classnames(o,i,{[`${o}--open`]:l}),children:[e.jsxs("div",{className:`${o}__header`,children:[e.jsx("div",{className:`${o}__header-main`,children:c}),e.jsx("button",{className:`${o}__header-close`,onClick:r,"aria-label":"Close navigation",children:e.jsx("span",{className:`${o}__header-close__icon`})})]}),e.jsxs("div",{className:`${o}__container`,children:[e.jsx("div",{className:`${o}__widgets`,children:s}),a]})]}),document.body)},D=({options:l,selected:r})=>{const c=(l==null?void 0:l.map(a=>({label:a.label,href:a.url})))||[],s=[{label:r,href:"#",isActive:!0},...c];return e.jsx(f,{menu:s})},L=({isOpen:l,navigationProps:{branding:r,menu:{items:c,labels:s},widgets:a},onClose:i})=>{var $,v,k;const{prefix:m}=j.useGlobalSettings(),[_,o]=u.useState(!1),[b,x]=u.useState(!1),d=u.useCallback(()=>{o(!1),x(!1)},[]),t=`${m}--nav-mobile`,p=_||b,n=c.slice(0,5),g=c.slice(5);return e.jsxs(C,{isOpen:l,onClose:i,header:e.jsxs("div",{className:`${t}__branding`,children:[e.jsx("div",{className:`${t}__logo`,children:r.logo.drawer||r.logo.main}),e.jsx("h3",{className:`${t}__name`,children:r.name})]}),widgets:e.jsxs("div",{className:`${t}__widgets`,children:[(a==null?void 0:a.search)&&e.jsxs("a",{className:`${t}__widgets-search`,href:a.search.url,"aria-label":"Search",children:[e.jsx("span",{className:`${t}__widgets-search__label`,children:a.search.label}),e.jsx("span",{className:`${t}__widgets-search__icon`})]}),(a==null?void 0:a.link)&&e.jsx(N,{className:`${t}__widgets-link`,href:a.link.href,"aria-label":a.link.label,label:a.link.label}),(a==null?void 0:a.language)&&e.jsxs("button",{className:`${t}__widgets-language`,onClick:()=>x(!0),"aria-expanded":b,"aria-controls":"language-list","aria-label":"Select language",children:[e.jsxs("span",{className:`${t}__widgets-language__label`,children:[a.language.label,": ",a.language.language]}),e.jsx("span",{className:`${t}__widgets-language__icon`})]})]}),children:[e.jsx(f,{menu:n}),e.jsxs("button",{className:`${t}__more`,onClick:()=>o(!0),"aria-expanded":_,"aria-controls":"more-items","aria-label":"More items",children:[s.more,e.jsx("span",{className:`${t}__more__icon`})]}),e.jsx(C,{className:`${t}__nested`,header:e.jsxs("button",{className:`${t}__nested__header`,onClick:d,"aria-label":"Back to menu",children:[e.jsx("span",{className:`${t}__nested__header__icon`}),s.backToMenu]}),widgets:e.jsx("span",{className:`${t}__nested__title`,children:_?s.more:($=a==null?void 0:a.language)==null?void 0:$.label}),isOpen:p,onClose:d,"aria-modal":"true",children:_?e.jsx(f,{menu:g,id:"more-items"}):e.jsx(D,{selected:((v=a==null?void 0:a.language)==null?void 0:v.language)||"",options:(k=a==null?void 0:a.language)==null?void 0:k.options,id:"language-list"})})]})};function G({menu:l,split:r}){const{breakpoint:c}=q.useBreakpoint(),[s,a]=u.useState(!1),[i,m]=u.useState(!1),_=u.useRef(null),o=["xl","xxl"].includes(c||"md"),b=o?r.desktop:r.mobile,x=l.slice(0,b),d=l.slice(b);return{menu:{facade:x,more:d},more:[s,a],mobile:[i,m],isDesktop:o,ref:_}}const B=({className:l,menu:r,more:c})=>{const{prefix:s}=j.useGlobalSettings(),a=`${s}--nav-menu`;return e.jsxs("div",{className:h.classnames(a,l),children:[e.jsx("ul",{className:`${a}__list`,children:r.map(i=>{var m;return e.jsx("li",{className:`${a}__item`,children:e.jsx(N,{...i,className:h.classnames({[`${a}__link`]:!0,[`${a}__link--active`]:i.isActive,[i.className||""]:i.className})})},(m=i.label)==null?void 0:m.toString())})}),c&&e.jsxs("button",{onClick:c.onClick,className:h.classnames({[`${a}__more`]:!0,[`${a}__more--open`]:c.isOpen}),"aria-expanded":c.isOpen,"aria-haspopup":"menu",children:[c.label,e.jsx("span",{className:`${a}__more-icon`})]})]})},P=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{const{prefix:i}=j.useGlobalSettings(),{menu:{facade:m,more:_},more:[o,b],mobile:[x,d],isDesktop:t,ref:p}=G({menu:r,split:{desktop:4,mobile:2}});u.useImperativeHandle(a,()=>p.current);const n=`${i}--subsite-nav-compact`;return e.jsxs("header",{ref:p,className:n,children:[e.jsxs("div",{className:`${n}__container`,children:[e.jsxs("nav",{className:`${n}__nav`,children:[e.jsxs("div",{className:`${n}__branding`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:[e.jsx("div",{className:`${n}__branding-logo`,children:l.logo.main}),e.jsx("h3",{className:`${n}__branding-name`,children:l.name})]}),e.jsx(B,{className:`${n}__menu`,menu:m,more:{label:c.more,onClick:()=>b(!o),isOpen:o}})]}),s&&e.jsxs("div",{className:`${n}__widget-bar`,children:[e.jsx("span",{className:`${n}__widget-bar-corner`}),e.jsxs("div",{className:`${n}__widget-bar-content`,children:[s.link&&e.jsx(N,{className:`${n}__widget-bar-link`,href:s.link.href,label:s.link.label}),s.language&&e.jsx("div",{className:`${n}__widget-bar-language`,children:e.jsx(O.LanguageToggle,{theme:"dark",...s.language,hideIcon:!t})}),s.search&&e.jsx(N,{href:s.search.url,className:`${n}__widget-bar-search`,label:"","aria-label":s.search.label})]})]}),e.jsx("button",{className:`${n}__burger`,"aria-label":"Toggle navigation","aria-expanded":x,onClick:()=>d(!x),children:e.jsx("span",{className:`${n}__burger-icon`})})]}),e.jsx(S,{isOpen:o,navRef:p,children:e.jsx(M,{menu:_})}),e.jsx(L,{isOpen:x,onClose:()=>{d(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),R=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{var g,$,v;const{prefix:i}=j.useGlobalSettings(),{menu:{facade:m,more:_},more:[o,b],mobile:[x,d],isDesktop:t,ref:p}=G({menu:r,split:{desktop:6,mobile:5}});u.useImperativeHandle(a,()=>p.current);const n=`${i}--subsite-nav-complex`;return e.jsxs("header",{ref:p,className:n,children:[e.jsx("div",{className:h.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:h.classnames(`${n}__widgets`,`${n}__container`),children:[e.jsx("span",{className:`${n}__widgets-bar-corner`}),e.jsxs("span",{className:`${n}__widgets-bar`,children:[(s==null?void 0:s.link)&&e.jsx(N,{href:s.link.href,label:s.link.label,className:`${n}__widgets-bar__link`}),(s==null?void 0:s.language)&&e.jsx(O.LanguageToggle,{className:`${n}__widgets-bar__language`,...s.language,hideIcon:!t})]})]})}),e.jsx("div",{className:h.classnames(`${n}-bg--light`),children:e.jsxs("div",{className:h.classnames(`${n}__branding`,`${n}__container`),children:[e.jsxs("div",{className:`${n}__branding-main`,children:[e.jsx("div",{className:`${n}__branding-main__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.main}),e.jsx("h3",{className:`${n}__branding-main__name`,children:l.name})]}),e.jsxs("div",{className:`${n}__branding-tag`,children:[e.jsx("h4",{className:`${n}__branding-tag__main`,children:(g=l.tag)==null?void 0:g.main}),(($=l.tag)==null?void 0:$.sub)&&e.jsx("span",{className:`${n}__branding-tag__sub`,children:(v=l.tag)==null?void 0:v.sub})]})]})}),e.jsx("div",{className:h.classnames(`${n}-bg--dark`),children:e.jsxs("nav",{className:h.classnames(`${n}__nav`,`${n}__container`),children:[e.jsxs("div",{className:`${n}__nav-mobile`,children:[e.jsx("div",{className:`${n}__nav-mobile__logo`,onClick:l==null?void 0:l.onClick,role:"button","aria-label":"Branding",tabIndex:0,children:l.logo.mobile}),e.jsx("h3",{className:`${n}__nav-mobile__name`,children:l.name})]}),e.jsx(B,{className:`${n}__nav-menu`,menu:m,more:{label:c.more,onClick:()=>b(!o),isOpen:o}}),(s==null?void 0:s.search)&&e.jsx("a",{className:`${n}__nav-search`,href:s.search.url,"aria-label":s.search.label,children:e.jsx("span",{className:`${n}__nav-search__icon`})}),e.jsx("button",{className:`${n}__nav-burger`,"aria-label":"Toggle navigation","aria-expanded":x,onClick:()=>d(!x),children:e.jsx("span",{className:`${n}__nav-burger__icon`})})]})}),e.jsx(S,{isOpen:o,navRef:p,children:e.jsx(M,{menu:_})}),e.jsx(L,{isOpen:x,onClose:()=>{d(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),T={complex:R,compact:P},y=u.forwardRef(({type:l="compact",props:r},c)=>{const s=T[l];return e.jsx(s,{ref:c,props:r})});exports.SubsiteNav=y;
|
package/lib/cjs/_store/{TableOfContents-chunk-DcLMEr2i.js → TableOfContents-chunk-DNZmLsBO.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),i=require("./index-chunk-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),i=require("./index-chunk-D921N0ug.js"),o=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=({className:l,items:n})=>{const{prefix:a}=o.useGlobalSettings(),s=`${a}--table-of-contents`,c=i.classnames(l,{[s]:!0});return e.jsx("nav",{className:c,children:e.jsx("ul",{className:`${s}--list`,children:n&&n.map((t,r)=>e.jsx("li",{className:`${s}--list--item`,children:e.jsx("a",{className:`${s}--link`,href:t.href,children:t.label})},r))})})},b=u;exports.TableOfContents=b;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./TableOfContents-chunk-DNZmLsBO.js");exports.TableOfContents=e.TableOfContents;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("react"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),m=require("./index-chunk-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("react"),$=require("./useGlobalSettings-chunk-Pa38w6VS.js"),m=require("./index-chunk-D921N0ug.js"),d=require("./Icon-chunk-BHcmIUPN.js"),h=({items:n})=>{const[c,l]=u.useState(0),i=(e,s)=>{l(e),s.preventDefault()},{prefix:o}=$.useGlobalSettings(),a=`${o}--tabs`,r=m.classnames(a);return t.jsxs("div",{className:`${r} tabs--js`,children:[t.jsx("ul",{className:`${a}--selection`,role:"tablist",children:n.map((e,s)=>t.jsx("li",{role:"tab",className:`${a}--selection--item ${c===s?"active":""}`,onClick:b=>i(s,b),children:t.jsxs("a",{href:`#tab--${s}`,className:`${a}--selection--button${e.icon?" icon":""}`,role:"tab","aria-controls":`tab--${s}`,"aria-selected":s===c,title:e.label,children:[t.jsx("span",{className:`${a}--selection--label`,children:e.label}),e.icon&&t.jsx(d.Icon,{name:e.icon.name,hidden:e.icon.hidden})]})},`#tab--${s}`))}),t.jsx("div",{className:`${a}--content`,children:n[c].content})]})},j=h;exports.Tabs=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Tabs-chunk-C-aLj5uU.js");exports.Tabs=e.Tabs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),f=require("react"),$=require("./index-chunk-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),f=require("react"),$=require("./index-chunk-D921N0ug.js"),q=require("./useGlobalSettings-chunk-Pa38w6VS.js"),N=require("./Icon-chunk-BHcmIUPN.js");function I(s){let t=[...s.itemStatuses];return t.indexOf(s.id)>-1?t=t.filter(n=>n!==s.id):s.allowMultipleExpanded?t.push(s.id):t=[s.id],t}const h=f.createContext({}),_=({className:s,children:t,id:n,url:j,type:i,callback:u,...c})=>{const{prefix:x}=q.useGlobalSettings(),{activeItems:m,setActiveItems:C,allowMultipleActive:p}=f.useContext(h),o=m.indexOf(n)>-1,l=`${x}--tag`,d=`${x}--tag-set__item`,b=i,r=$.classnames(s,{[l]:!0,[`${l}--active`]:o,[`${l}--${i}`]:i,"icon icon__position--right":!0});let g=o;const v=a=>{C(I({id:n,itemStatuses:m,allowMultipleExpanded:p})),g=!1,u&&u(a)},S=()=>{let a;return g&&(a=e.jsx("li",{className:d,children:e.jsxs("button",{type:"button",className:r,onClick:T=>v(T),id:n,...c,children:[t,e.jsx(N.Icon,{name:"close",hidden:!0})]})})),a};return e.jsx(e.Fragment,{children:b==="button"?e.jsx(e.Fragment,{children:S()}):e.jsxs("li",{className:d,children:[i==="anchor"&&e.jsx("a",{className:r,href:o?j:"",id:n,...c,children:t}),i==="display"&&e.jsx("span",{className:r,id:n,...c,children:t})]})})},w=_;exports.Tag=w;exports.TagSetContext=h;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Tag-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./Tag-chunk-BiK5vLyb.js"),i=require("react/jsx-runtime"),T=require("./index-chunk-D921N0ug.js"),a=require("react"),b=require("./useGlobalSettings-chunk-Pa38w6VS.js");function h(t){return t.some((e,r)=>t.indexOf(e)!==r)}const j=({className:t,children:e,onButtonClick:r,defaultTagActive:s=[],allowMultipleActive:o=!0,...g})=>{const{prefix:S}=b.useGlobalSettings(),m=`${S}--tag-set`,[f,c]=a.useState([]),x=JSON.stringify(s);if(a.useEffect(()=>{const n=o?s:s.length>0?[s[0]]:s;c(n)},[x,o]),e){const n=[];a.Children.forEach(e,l=>{const q=l;n.push(q.props.id)}),h(n)&&console.warn("Warning: Tags must have unique ids.")}const d=T.classnames(t,{[m]:!0});return i.jsx(u.TagSetContext.Provider,{value:{activeItems:f,setActiveItems:c,allowMultipleActive:o,onButtonClick:r},children:i.jsx("ul",{className:d,...g,children:e})})},p=j;exports.Tag=u.Tag;exports.TagSet=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("react"),g=require("./index-chunk-D921N0ug.js"),w=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./FormControl-chunk-BNLBz9W8.js"),q=c.forwardRef(({onChange:t,onBlur:o,error:a,id:r,name:s,placeholder:l,required:n,pattern:p,disabled:h=!1,type:b="text"},m)=>{const{prefix:x}=w.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:f}=y,d=`${x}--text-input`,T=g.classnames(d,{[`${d}__error`]:a});return i.jsx("input",{ref:m,id:r||s,name:s,onChange:t,onBlur:o,disabled:h,placeholder:l,required:n,type:b,className:T,pattern:p,"aria-describedby":f})}),I=c.forwardRef((t,o)=>{const{style:a,inputStyle:r,className:s,...l}=t,n=t.id?t.id:t.name;return i.jsx(u.FormControl,{fieldId:n,style:a,className:s,...l,children:i.jsx(q,{ref:o,style:r,...l})})}),S=I,e={disabled:!1,errorMessage:"This is an error message",error:!1,style:{width:"100%"},id:"text-input",label:"Insert your name here",labelPlacement:"top",labelSize:"medium",name:"text",placeholder:"This is a text field",required:!1,type:"text"},j={...e,disabled:!0,placeholder:"Disabled Text Field"},C={...e,placeholder:"This has a helper text"},_={...e,placeholder:"This has an error",error:!0},E={...e,placeholder:"This has an tooltip",tooltip:"This is a tooltip"},F={...e,label:"Enter your email address",placeholder:"my@email.com",type:"email",id:"email-input"},M={...e,label:"Enter your password",placeholder:"Must be 8 digits long",type:"password",id:"password-input"},R={...e,name:"tel",label:"Enter your telephone number",placeholder:"###-###-####",required:!1,type:"tel",pattern:"[0-9]{3}-[0-9]{3}-[0-9]{4}"},O={...e,label:"Enter website address",id:"url-input",name:"url",placeholder:"https://www.example.com",required:!1,type:"url"},P=Object.freeze(Object.defineProperty({__proto__:null,basic:e,email:F,haserror:_,hashelper:C,hastooltip:E,isdisabled:j,password:M,telephone:R,url:O},Symbol.toStringTag,{value:"Module"}));exports.TextInput=S;exports.TextInputArgs=P;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),i=require("react"),C=require("./index-chunk-D921N0ug.js"),f=require("./useGlobalSettings-chunk-Pa38w6VS.js"),d=require("./FormControl-chunk-BNLBz9W8.js"),q=i.forwardRef(({error:e,className:a,name:t,id:r,...o},s)=>{const{prefix:n}=f.useGlobalSettings(),x=d.useFormControl(),{ariaDescribedBy:u}=x,c=`${n}--textarea`,b=`${c}__error`,m=C.classnames(c,a,{[b]:e});return l.jsx("textarea",{ref:s,className:m,name:t,id:r||t,"aria-describedby":u,...o})}),y=i.forwardRef((e,a)=>{const{style:t,inputStyle:r,className:o,...s}=e,n=e.id?e.id:e.name;return l.jsx(d.FormControl,{fieldId:n,style:t,className:o,...s,children:l.jsx(q,{ref:a,style:r,...s})})}),j=y;exports.LabelledTextarea=j;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./Textarea-chunk-BSiQeDkv.js"),a="It was a cold day in April and the clocks were striking thirteen....",e={id:"textarea",disabled:!1,name:"textarea",placeholder:a,required:!1,spellcheck:!1,label:"Insert your life story here",labelPlacement:"top",labelSize:"medium",style:{width:"100%"},errorMessage:"This is an error message"},t={...e,error:!0},s={...e,disabled:!0},l={basic:e,haserror:t,disabled:s};exports.Textarea=r.LabelledTextarea;exports.TextareaArgs=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),z=require("./index-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),d=require("react"),k=require("./useGlobalSettings-chunk-Pa38w6VS.js"),z=require("./index-chunk-D921N0ug.js"),u=require("./FormControl-chunk-BNLBz9W8.js"),$=d.forwardRef(({size:s="medium",error:c=!1,disabled:t=!1,defaultChecked:a=!1,required:i=!1,id:n,name:l,onChange:m,onBlur:f,onClick:b,checked:h,className:C},_)=>{const{prefix:x}=k.useGlobalSettings(),y=u.useFormControl(),{ariaDescribedBy:T}=y,p=!t&&!!c,o=`${x}--input--toggle`,S=`${o}--slider`,j=z.classnames(o,C,`${o}__size__${s}`,[{[`${o}__error`]:p},{[`${o}__disabled`]:t}]);return r.jsxs("div",{className:j,children:[r.jsx("input",{ref:_,checked:h,disabled:t,defaultChecked:a,name:l,id:n||l,type:"checkbox",role:"switch",required:i,onChange:m,onBlur:f,onClick:b,"aria-describedby":T}),r.jsx("span",{className:S})]})}),q=d.forwardRef((s,c)=>{const t=s.id?s.id:s.name,{style:a,inputStyle:i,className:n,...l}=s;return r.jsx(u.FormControl,{fieldId:t,style:a,className:n,...l,children:r.jsx($,{ref:c,style:i,...l})})}),v=q,e={defaultChecked:!1,errorMessage:"Invalid option",name:"my-toggle",size:"medium",label:"Show details",labelPlacement:"end",labelSize:"small"},w={...e,defaultChecked:!0},D={...e,disabled:!0},g={...e,helper:"This is a helper text"},M={...g,tooltip:"This is a tooltip"},R={...e,error:!0},F={...e,defaultChecked:!0},L={...e,onClick:()=>console.log("clicked"),checked:!0},N={...e,size:"large"},O={...e,size:"medium"},P={...e,size:"small"},E=Object.freeze(Object.defineProperty({__proto__:null,Checked:w,Controlled:L,Default:e,DefaultChecked:F,Disabled:D,Error:R,Helper:g,Large:N,Medium:O,Small:P,Tooltip:M},Symbol.toStringTag,{value:"Module"}));exports.Toggle=v;exports.ToggleArgs=E;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-DCI82Tmm.js"),dt=require("./useGlobalSettings-chunk-Pa38w6VS.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Q="start",se="end",ht="clippingParents",Ze="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var _=Math.max,ye=Math.min,Z=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&Z(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Z(n.height)/e.offsetHeight||1);var c=J(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return _(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Z(r*a)/a||0,y:Z(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=_(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=_(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=_(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===Ze?Pe(Yt(e,r)):J(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return J(n)?t.filter(function(a){return J(a)&&rt(a,n)&&N(a)!=="body"}):[]}function _t(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=_(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=_(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Q:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?Ze:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=_t(J(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Jt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Kt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Qt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Kt(d)),l=[d].concat(x).reduce(function(K,q){return K.concat(H(q)===Re?Jt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Q,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(K){return K})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const Zt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Je(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=_e(c,n),p=_e(i,a,o),f=Je(s),v=Je(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Q?A[B]:P[B],re=O===Q?-P[B]:-A[B],ve=t.elements.arrow,K=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],K[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?_(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=Z(t.width)/e.offsetWidth||1,n=Z(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ke={placement:"bottom",modifiers:[],strategy:"absolute"};function Qe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Ke:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ke,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:J(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Qe(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Qe(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,Zt,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${r}`]:e&&r,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
|
|
1
|
+
"use strict";const Ee=require("react/jsx-runtime"),F=require("react"),Ie=require("./index-chunk-D921N0ug.js"),dt=require("./useGlobalSettings-chunk-Pa38w6VS.js");var D="top",k="bottom",L="right",C="left",Re="auto",ce=[D,k,L,C],Q="start",se="end",ht="clippingParents",Ze="viewport",ae="popper",mt="reference",Xe=ce.reduce(function(e,t){return e.concat([t+"-"+Q,t+"-"+se])},[]),et=[].concat(ce,[Re]).reduce(function(e,t){return e.concat([t,t+"-"+Q,t+"-"+se])},[]),gt="beforeRead",yt="read",bt="afterRead",wt="beforeMain",xt="main",Ot="afterMain",At="beforeWrite",Et="write",$t="afterWrite",Pt=[gt,yt,bt,wt,xt,Ot,At,Et,$t];function N(e){return e?(e.nodeName||"").toLowerCase():null}function S(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function J(e){var t=S(e).Element;return e instanceof t||e instanceof Element}function T(e){var t=S(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function je(e){if(typeof ShadowRoot>"u")return!1;var t=S(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Rt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!T(o)||!N(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(c){var i=a[c];i===!1?o.removeAttribute(c):o.setAttribute(c,i===!0?"":i)}))})}function jt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),i=c.reduce(function(s,p){return s[p]="",s},{});!T(a)||!N(a)||(Object.assign(a.style,i),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}const Dt={name:"applyStyles",enabled:!0,phase:"write",fn:Rt,effect:jt,requires:["computeStyles"]};function H(e){return e.split("-")[0]}var _=Math.max,ye=Math.min,Z=Math.round;function $e(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function tt(){return!/^((?!chrome|android).)*safari/i.test($e())}function ee(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&T(e)&&(a=e.offsetWidth>0&&Z(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Z(n.height)/e.offsetHeight||1);var c=J(e)?S(e):window,i=c.visualViewport,s=!tt()&&r,p=(n.left+(s&&i?i.offsetLeft:0))/a,f=(n.top+(s&&i?i.offsetTop:0))/o,v=n.width/a,m=n.height/o;return{width:v,height:m,top:f,right:p+v,bottom:f+m,left:p,x:p,y:f}}function De(e){var t=ee(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function rt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&je(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function V(e){return S(e).getComputedStyle(e)}function Ct(e){return["table","td","th"].indexOf(N(e))>=0}function I(e){return((J(e)?e.ownerDocument:e.document)||window.document).documentElement}function be(e){return N(e)==="html"?e:e.assignedSlot||e.parentNode||(je(e)?e.host:null)||I(e)}function Ye(e){return!T(e)||V(e).position==="fixed"?null:e.offsetParent}function Bt(e){var t=/firefox/i.test($e()),r=/Trident/i.test($e());if(r&&T(e)){var n=V(e);if(n.position==="fixed")return null}var a=be(e);for(je(a)&&(a=a.host);T(a)&&["html","body"].indexOf(N(a))<0;){var o=V(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function pe(e){for(var t=S(e),r=Ye(e);r&&Ct(r)&&V(r).position==="static";)r=Ye(r);return r&&(N(r)==="html"||N(r)==="body"&&V(r).position==="static")?t:r||Bt(e)||t}function Ce(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,r){return _(e,ye(t,r))}function St(e,t,r){var n=oe(e,t,r);return n>r?r:n}function nt(){return{top:0,right:0,bottom:0,left:0}}function at(e){return Object.assign({},nt(),e)}function ot(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Tt=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,at(typeof t!="number"?t:ot(t,ce))};function kt(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,c=r.modifiersData.popperOffsets,i=H(r.placement),s=Ce(i),p=[C,L].indexOf(i)>=0,f=p?"height":"width";if(!(!o||!c)){var v=Tt(a.padding,r),m=De(o),u=s==="y"?D:C,w=s==="y"?k:L,h=r.rects.reference[f]+r.rects.reference[s]-c[s]-r.rects.popper[f],d=c[s]-r.rects.reference[s],y=pe(o),O=y?s==="y"?y.clientHeight||0:y.clientWidth||0:0,x=h/2-d/2,l=v[u],g=O-m[f]-v[w],b=O/2-m[f]/2+x,A=oe(l,b,g),P=s;r.modifiersData[n]=(t={},t[P]=A,t.centerOffset=A-b,t)}}function Lt(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||rt(t.elements.popper,a)&&(t.elements.arrow=a))}const Mt={name:"arrow",enabled:!0,phase:"main",fn:kt,effect:Lt,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(e){return e.split("-")[1]}var Wt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ht(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Z(r*a)/a||0,y:Z(n*a)/a||0}}function ze(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,c=e.offsets,i=e.position,s=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,v=e.isFixed,m=c.x,u=m===void 0?0:m,w=c.y,h=w===void 0?0:w,d=typeof f=="function"?f({x:u,y:h}):{x:u,y:h};u=d.x,h=d.y;var y=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),x=C,l=D,g=window;if(p){var b=pe(r),A="clientHeight",P="clientWidth";if(b===S(r)&&(b=I(r),V(b).position!=="static"&&i==="absolute"&&(A="scrollHeight",P="scrollWidth")),b=b,a===D||(a===C||a===L)&&o===se){l=k;var $=v&&b===g&&g.visualViewport?g.visualViewport.height:b[A];h-=$-n.height,h*=s?1:-1}if(a===C||(a===D||a===k)&&o===se){x=L;var E=v&&b===g&&g.visualViewport?g.visualViewport.width:b[P];u-=E-n.width,u*=s?1:-1}}var R=Object.assign({position:i},p&&Wt),M=f===!0?Ht({x:u,y:h},S(r)):{x:u,y:h};if(u=M.x,h=M.y,s){var j;return Object.assign({},R,(j={},j[l]=O?"0":"",j[x]=y?"0":"",j.transform=(g.devicePixelRatio||1)<=1?"translate("+u+"px, "+h+"px)":"translate3d("+u+"px, "+h+"px, 0)",j))}return Object.assign({},R,(t={},t[l]=O?h+"px":"",t[x]=y?u+"px":"",t.transform="",t))}function Nt(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,c=o===void 0?!0:o,i=r.roundOffsets,s=i===void 0?!0:i,p={placement:H(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ze(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ze(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Vt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}};var me={passive:!0};function qt(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,c=n.resize,i=c===void 0?!0:c,s=S(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&p.forEach(function(f){f.addEventListener("scroll",r.update,me)}),i&&s.addEventListener("resize",r.update,me),function(){o&&p.forEach(function(f){f.removeEventListener("scroll",r.update,me)}),i&&s.removeEventListener("resize",r.update,me)}}const Ft={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:qt,data:{}};var It={left:"right",right:"left",bottom:"top",top:"bottom"};function ge(e){return e.replace(/left|right|bottom|top/g,function(t){return It[t]})}var Xt={start:"end",end:"start"};function Ue(e){return e.replace(/start|end/g,function(t){return Xt[t]})}function Be(e){var t=S(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Se(e){return ee(I(e)).left+Be(e).scrollLeft}function Yt(e,t){var r=S(e),n=I(e),a=r.visualViewport,o=n.clientWidth,c=n.clientHeight,i=0,s=0;if(a){o=a.width,c=a.height;var p=tt();(p||!p&&t==="fixed")&&(i=a.offsetLeft,s=a.offsetTop)}return{width:o,height:c,x:i+Se(e),y:s}}function zt(e){var t,r=I(e),n=Be(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=_(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=_(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),i=-n.scrollLeft+Se(e),s=-n.scrollTop;return V(a||r).direction==="rtl"&&(i+=_(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:c,x:i,y:s}}function Te(e){var t=V(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function it(e){return["html","body","#document"].indexOf(N(e))>=0?e.ownerDocument.body:T(e)&&Te(e)?e:it(be(e))}function ie(e,t){var r;t===void 0&&(t=[]);var n=it(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=S(n),c=a?[o].concat(o.visualViewport||[],Te(n)?n:[]):n,i=t.concat(c);return a?i:i.concat(ie(be(c)))}function Pe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ut(e,t){var r=ee(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Ge(e,t,r){return t===Ze?Pe(Yt(e,r)):J(t)?Ut(t,r):Pe(zt(I(e)))}function Gt(e){var t=ie(be(e)),r=["absolute","fixed"].indexOf(V(e).position)>=0,n=r&&T(e)?pe(e):e;return J(n)?t.filter(function(a){return J(a)&&rt(a,n)&&N(a)!=="body"}):[]}function _t(e,t,r,n){var a=t==="clippingParents"?Gt(e):[].concat(t),o=[].concat(a,[r]),c=o[0],i=o.reduce(function(s,p){var f=Ge(e,p,n);return s.top=_(f.top,s.top),s.right=ye(f.right,s.right),s.bottom=ye(f.bottom,s.bottom),s.left=_(f.left,s.left),s},Ge(e,c,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function st(e){var t=e.reference,r=e.element,n=e.placement,a=n?H(n):null,o=n?te(n):null,c=t.x+t.width/2-r.width/2,i=t.y+t.height/2-r.height/2,s;switch(a){case D:s={x:c,y:t.y-r.height};break;case k:s={x:c,y:t.y+t.height};break;case L:s={x:t.x+t.width,y:i};break;case C:s={x:t.x-r.width,y:i};break;default:s={x:t.x,y:t.y}}var p=a?Ce(a):null;if(p!=null){var f=p==="y"?"height":"width";switch(o){case Q:s[p]=s[p]-(t[f]/2-r[f]/2);break;case se:s[p]=s[p]+(t[f]/2-r[f]/2);break}}return s}function fe(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,c=o===void 0?e.strategy:o,i=r.boundary,s=i===void 0?ht:i,p=r.rootBoundary,f=p===void 0?Ze:p,v=r.elementContext,m=v===void 0?ae:v,u=r.altBoundary,w=u===void 0?!1:u,h=r.padding,d=h===void 0?0:h,y=at(typeof d!="number"?d:ot(d,ce)),O=m===ae?mt:ae,x=e.rects.popper,l=e.elements[w?O:m],g=_t(J(l)?l:l.contextElement||I(e.elements.popper),s,f,c),b=ee(e.elements.reference),A=st({reference:b,element:x,strategy:"absolute",placement:a}),P=Pe(Object.assign({},x,A)),$=m===ae?P:b,E={top:g.top-$.top+y.top,bottom:$.bottom-g.bottom+y.bottom,left:g.left-$.left+y.left,right:$.right-g.right+y.right},R=e.modifiersData.offset;if(m===ae&&R){var M=R[a];Object.keys(E).forEach(function(j){var X=[L,k].indexOf(j)>=0?1:-1,Y=[D,k].indexOf(j)>=0?"y":"x";E[j]+=M[Y]*X})}return E}function Jt(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,c=r.padding,i=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?et:s,f=te(n),v=f?i?Xe:Xe.filter(function(w){return te(w)===f}):ce,m=v.filter(function(w){return p.indexOf(w)>=0});m.length===0&&(m=v);var u=m.reduce(function(w,h){return w[h]=fe(e,{placement:h,boundary:a,rootBoundary:o,padding:c})[H(h)],w},{});return Object.keys(u).sort(function(w,h){return u[w]-u[h]})}function Kt(e){if(H(e)===Re)return[];var t=ge(e);return[Ue(e),t,Ue(t)]}function Qt(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!0:c,s=r.fallbackPlacements,p=r.padding,f=r.boundary,v=r.rootBoundary,m=r.altBoundary,u=r.flipVariations,w=u===void 0?!0:u,h=r.allowedAutoPlacements,d=t.options.placement,y=H(d),O=y===d,x=s||(O||!w?[ge(d)]:Kt(d)),l=[d].concat(x).reduce(function(K,q){return K.concat(H(q)===Re?Jt(t,{placement:q,boundary:f,rootBoundary:v,padding:p,flipVariations:w,allowedAutoPlacements:h}):q)},[]),g=t.rects.reference,b=t.rects.popper,A=new Map,P=!0,$=l[0],E=0;E<l.length;E++){var R=l[E],M=H(R),j=te(R)===Q,X=[D,k].indexOf(M)>=0,Y=X?"width":"height",B=fe(t,{placement:R,boundary:f,rootBoundary:v,altBoundary:m,padding:p}),W=X?j?L:C:j?k:D;g[Y]>b[Y]&&(W=ge(W));var ue=ge(W),z=[];if(o&&z.push(B[M]<=0),i&&z.push(B[W]<=0,B[ue]<=0),z.every(function(K){return K})){$=R,P=!1;break}A.set(R,z)}if(P)for(var le=w?3:1,we=function(q){var ne=l.find(function(de){var U=A.get(de);if(U)return U.slice(0,q).every(function(xe){return xe})});if(ne)return $=ne,"break"},re=le;re>0;re--){var ve=we(re);if(ve==="break")break}t.placement!==$&&(t.modifiersData[n]._skip=!0,t.placement=$,t.reset=!0)}}const Zt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function _e(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Je(e){return[D,L,k,C].some(function(t){return e[t]>=0})}function er(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,c=fe(t,{elementContext:"reference"}),i=fe(t,{altBoundary:!0}),s=_e(c,n),p=_e(i,a,o),f=Je(s),v=Je(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:f,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":v})}const tr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:er};function rr(e,t,r){var n=H(e),a=[C,D].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=o[0],i=o[1];return c=c||0,i=(i||0)*a,[C,L].indexOf(n)>=0?{x:i,y:c}:{x:c,y:i}}function nr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,c=et.reduce(function(f,v){return f[v]=rr(v,t.rects,o),f},{}),i=c[t.placement],s=i.x,p=i.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[n]=c}const ar={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nr};function or(e){var t=e.state,r=e.name;t.modifiersData[r]=st({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const ir={name:"popperOffsets",enabled:!0,phase:"read",fn:or,data:{}};function sr(e){return e==="x"?"y":"x"}function fr(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,c=r.altAxis,i=c===void 0?!1:c,s=r.boundary,p=r.rootBoundary,f=r.altBoundary,v=r.padding,m=r.tether,u=m===void 0?!0:m,w=r.tetherOffset,h=w===void 0?0:w,d=fe(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:f}),y=H(t.placement),O=te(t.placement),x=!O,l=Ce(y),g=sr(l),b=t.modifiersData.popperOffsets,A=t.rects.reference,P=t.rects.popper,$=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,E=typeof $=="number"?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(b){if(o){var j,X=l==="y"?D:C,Y=l==="y"?k:L,B=l==="y"?"height":"width",W=b[l],ue=W+d[X],z=W-d[Y],le=u?-P[B]/2:0,we=O===Q?A[B]:P[B],re=O===Q?-P[B]:-A[B],ve=t.elements.arrow,K=u&&ve?De(ve):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:nt(),ne=q[X],de=q[Y],U=oe(0,A[B],K[B]),xe=x?A[B]/2-le-U-ne-E.mainAxis:we-U-ne-E.mainAxis,ft=x?-A[B]/2+le+U+de+E.mainAxis:re+U+de+E.mainAxis,Oe=t.elements.arrow&&pe(t.elements.arrow),ct=Oe?l==="y"?Oe.clientTop||0:Oe.clientLeft||0:0,ke=(j=R==null?void 0:R[l])!=null?j:0,pt=W+xe-ke-ct,ut=W+ft-ke,Le=oe(u?ye(ue,pt):ue,W,u?_(z,ut):z);b[l]=Le,M[l]=Le-W}if(i){var Me,lt=l==="x"?D:C,vt=l==="x"?k:L,G=b[g],he=g==="y"?"height":"width",We=G+d[lt],He=G-d[vt],Ae=[D,C].indexOf(y)!==-1,Ne=(Me=R==null?void 0:R[g])!=null?Me:0,Ve=Ae?We:G-A[he]-P[he]-Ne+E.altAxis,qe=Ae?G+A[he]+P[he]-Ne-E.altAxis:He,Fe=u&&Ae?St(Ve,G,qe):oe(u?Ve:We,G,u?qe:He);b[g]=Fe,M[g]=Fe-G}t.modifiersData[n]=M}}const cr={name:"preventOverflow",enabled:!0,phase:"main",fn:fr,requiresIfExists:["offset"]};function pr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function ur(e){return e===S(e)||!T(e)?Be(e):pr(e)}function lr(e){var t=e.getBoundingClientRect(),r=Z(t.width)/e.offsetWidth||1,n=Z(t.height)/e.offsetHeight||1;return r!==1||n!==1}function vr(e,t,r){r===void 0&&(r=!1);var n=T(t),a=T(t)&&lr(t),o=I(t),c=ee(e,a,r),i={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((N(t)!=="body"||Te(o))&&(i=ur(t)),T(t)?(s=ee(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):o&&(s.x=Se(o))),{x:c.left+i.scrollLeft-s.x,y:c.top+i.scrollTop-s.y,width:c.width,height:c.height}}function dr(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var c=[].concat(o.requires||[],o.requiresIfExists||[]);c.forEach(function(i){if(!r.has(i)){var s=t.get(i);s&&a(s)}}),n.push(o)}return e.forEach(function(o){r.has(o.name)||a(o)}),n}function hr(e){var t=dr(e);return Pt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function gr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ke={placement:"bottom",modifiers:[],strategy:"absolute"};function Qe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function yr(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,o=a===void 0?Ke:a;return function(i,s,p){p===void 0&&(p=o);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ke,o),modifiersData:{},elements:{reference:i,popper:s},attributes:{},styles:{}},v=[],m=!1,u={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;h(),f.options=Object.assign({},o,f.options,O),f.scrollParents={reference:J(i)?ie(i):i.contextElement?ie(i.contextElement):[],popper:ie(s)};var x=hr(gr([].concat(n,f.options.modifiers)));return f.orderedModifiers=x.filter(function(l){return l.enabled}),w(),u.update()},forceUpdate:function(){if(!m){var y=f.elements,O=y.reference,x=y.popper;if(Qe(O,x)){f.rects={reference:vr(O,pe(x),f.options.strategy==="fixed"),popper:De(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(E){return f.modifiersData[E.name]=Object.assign({},E.data)});for(var l=0;l<f.orderedModifiers.length;l++){if(f.reset===!0){f.reset=!1,l=-1;continue}var g=f.orderedModifiers[l],b=g.fn,A=g.options,P=A===void 0?{}:A,$=g.name;typeof b=="function"&&(f=b({state:f,options:P,name:$,instance:u})||f)}}}},update:mr(function(){return new Promise(function(d){u.forceUpdate(),d(f)})}),destroy:function(){h(),m=!0}};if(!Qe(i,s))return u;u.setOptions(p).then(function(d){!m&&p.onFirstUpdate&&p.onFirstUpdate(d)});function w(){f.orderedModifiers.forEach(function(d){var y=d.name,O=d.options,x=O===void 0?{}:O,l=d.effect;if(typeof l=="function"){var g=l({state:f,name:y,instance:u,options:x}),b=function(){};v.push(g||b)}})}function h(){v.forEach(function(d){return d()}),v=[]}return u}}var br=[Ft,ir,Vt,Dt,ar,Zt,cr,Mt,tr],wr=yr({defaultModifiers:br});const xr=F.forwardRef(({icon:e=!0,iconTheme:t="light",theme:r="dark",className:n,children:a,label:o,isVisible:c,id:i},s)=>{const{prefix:p}=dt.useGlobalSettings(),f=`${p}--tooltip`,v=F.useRef(null),m=F.useRef(null),[u,w]=F.useState(!!c),h=F.useId(),d=F.useCallback(x=>{const l=x.currentTarget;l&&v.current&&(m.current=wr(l,v.current,{placement:"top",modifiers:[{name:"offset",options:{offset:[0,12]}},{name:"flip",enabled:!0},{name:"preventOverflow",enabled:!0}]}),w(!0))},[]),y=F.useCallback(()=>{m.current&&(m.current.destroy(),m.current=null),v.current&&w(!1)},[]),O=F.useCallback(()=>{var l,g;return(((g=(l=v.current)==null?void 0:l.textContent)==null?void 0:g.trim())||"").length>50},[]);return Ee.jsxs("div",{ref:s,className:Ie.classnames(`${f}--wrapper`,{[`${f}--wrapper__icon`]:e,[`${f}--wrapper__icon__theme__${r}`]:e&&r,[`${f}--wrapper__icon__theme__${t}`]:t},n),onMouseEnter:d,onMouseLeave:y,onFocus:d,onBlur:y,id:i||`tooltip-${h}`,children:[!e&&a,Ee.jsxs("span",{ref:v,className:Ie.classnames(f,{[`${f}--${r}`]:r,[`${f}--visible`]:u,[`${f}--long`]:O()}),"data-id":i||`tooltip-${h}`,role:"tooltip","aria-hidden":!u,children:[Ee.jsx("span",{"data-popper-arrow":!0,className:`${f}--arrow ${f}--arrow--placement-negative`,"data-placement":"negative",role:"presentation"}),o]})]})});exports.Tooltip=xr;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Tooltip-chunk-CtqZrU-C.js");exports.Tooltip=o.Tooltip;
|