@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,4 +1,5 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { IconProps } from '../Icon';
|
|
2
3
|
import { ButtonTypes, PositionTypes, SizeTypes } from '../../types';
|
|
3
4
|
|
|
4
5
|
export type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
|
|
@@ -21,6 +22,14 @@ export type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type">
|
|
|
21
22
|
/**
|
|
22
23
|
* Specify if the button should be rendered as link
|
|
23
24
|
*/
|
|
25
|
+
/**
|
|
26
|
+
* Specify the position of the icon
|
|
27
|
+
*/
|
|
28
|
+
iconPosition?: PositionTypes;
|
|
29
|
+
/**
|
|
30
|
+
* Specify if the button renders an icon only
|
|
31
|
+
*/
|
|
32
|
+
icononly?: boolean;
|
|
24
33
|
link?: {
|
|
25
34
|
/**
|
|
26
35
|
* Specify the url for the Button's href
|
|
@@ -35,11 +44,7 @@ export type ButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type">
|
|
|
35
44
|
*/
|
|
36
45
|
target?: string;
|
|
37
46
|
};
|
|
38
|
-
icon?:
|
|
39
|
-
name: string;
|
|
40
|
-
position?: PositionTypes;
|
|
41
|
-
only?: boolean;
|
|
42
|
-
};
|
|
47
|
+
icon?: IconProps;
|
|
43
48
|
};
|
|
44
49
|
declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "type"> & {
|
|
45
50
|
/**
|
|
@@ -61,6 +66,14 @@ declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLA
|
|
|
61
66
|
/**
|
|
62
67
|
* Specify if the button should be rendered as link
|
|
63
68
|
*/
|
|
69
|
+
/**
|
|
70
|
+
* Specify the position of the icon
|
|
71
|
+
*/
|
|
72
|
+
iconPosition?: PositionTypes | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Specify if the button renders an icon only
|
|
75
|
+
*/
|
|
76
|
+
icononly?: boolean | undefined;
|
|
64
77
|
link?: {
|
|
65
78
|
/**
|
|
66
79
|
* Specify the url for the Button's href
|
|
@@ -75,10 +88,6 @@ declare const Button: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLA
|
|
|
75
88
|
*/
|
|
76
89
|
target?: string | undefined;
|
|
77
90
|
} | undefined;
|
|
78
|
-
icon?:
|
|
79
|
-
name: string;
|
|
80
|
-
position?: PositionTypes | undefined;
|
|
81
|
-
only?: boolean | undefined;
|
|
82
|
-
} | undefined;
|
|
91
|
+
icon?: IconProps | undefined;
|
|
83
92
|
} & import('react').RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
84
93
|
export { Button };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PictureProps } from '../Picture';
|
|
2
|
+
import { StatusProps } from '../Status';
|
|
3
|
+
import { ButtonProps } from '../Button';
|
|
4
|
+
|
|
5
|
+
export type ScoreCardProps = {
|
|
6
|
+
/**
|
|
7
|
+
* The theme of the card.
|
|
8
|
+
*/
|
|
9
|
+
theme?: "light" | "dark";
|
|
10
|
+
/**
|
|
11
|
+
* The title level (h1, h2, h3, p, etc.).
|
|
12
|
+
*/
|
|
13
|
+
titleLevel?: keyof JSX.IntrinsicElements;
|
|
14
|
+
/**
|
|
15
|
+
* The size of the card.
|
|
16
|
+
*/
|
|
17
|
+
size?: "narrow" | "wide" | "fluid" | "simple";
|
|
18
|
+
/**
|
|
19
|
+
* The link URL for the card.
|
|
20
|
+
*/
|
|
21
|
+
link: string;
|
|
22
|
+
/**
|
|
23
|
+
* The title text for the card.
|
|
24
|
+
*/
|
|
25
|
+
title: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether the card represents a video.
|
|
28
|
+
*/
|
|
29
|
+
isVideo?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* The image data for the card.
|
|
32
|
+
*/
|
|
33
|
+
image?: PictureProps;
|
|
34
|
+
/**
|
|
35
|
+
* Status information for the card.
|
|
36
|
+
*/
|
|
37
|
+
status?: StatusProps;
|
|
38
|
+
/**
|
|
39
|
+
* Eyebrow text to be displayed above the title.
|
|
40
|
+
*/
|
|
41
|
+
eyebrow?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Content to display in the card. Each item is an object with an icon, label, and optional unix date.
|
|
44
|
+
*/
|
|
45
|
+
content?: {
|
|
46
|
+
items: {
|
|
47
|
+
icon: string;
|
|
48
|
+
label: string;
|
|
49
|
+
unix?: string;
|
|
50
|
+
}[];
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Takes an array of `<Button />` components. Configure and handle the Button as needed and then pass it to the ScoreCard component.
|
|
54
|
+
*/
|
|
55
|
+
cta?: {
|
|
56
|
+
items: React.ReactElement<ButtonProps>[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
declare const ScoreCard: import('react').ForwardRefExoticComponent<ScoreCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
60
|
+
export { ScoreCard };
|
|
@@ -22,6 +22,10 @@ export type ContextMenuProps = {
|
|
|
22
22
|
* Specify the links to be displayed in the Context Menu
|
|
23
23
|
*/
|
|
24
24
|
links: Array<LinkProps>;
|
|
25
|
+
/**
|
|
26
|
+
* Specify whether the Context Menu should be rendered in a portal
|
|
27
|
+
*/
|
|
28
|
+
withPortal?: boolean;
|
|
25
29
|
};
|
|
26
30
|
declare const ContextMenu: import('react').ForwardRefExoticComponent<ContextMenuProps & import('react').RefAttributes<HTMLOListElement>>;
|
|
27
31
|
export { ContextMenu };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
export type IconSize = 16 | 20 | 24 | 32;
|
|
1
2
|
export interface IconProps {
|
|
2
3
|
/**
|
|
3
4
|
* Specify if this should be hidden from screen readers
|
|
4
5
|
*/
|
|
5
|
-
hidden
|
|
6
|
+
hidden?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* Specify the icon
|
|
8
9
|
*/
|
|
@@ -10,5 +11,17 @@ export interface IconProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* Specify the icon's size
|
|
12
13
|
*/
|
|
13
|
-
size?:
|
|
14
|
+
size?: IconSize;
|
|
15
|
+
/**
|
|
16
|
+
* Specify the icon's color. This can also be a CSS variable. Defaults to `currentColor`
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Give the icon a class name
|
|
21
|
+
*/
|
|
22
|
+
className?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Give the icon an id
|
|
25
|
+
*/
|
|
26
|
+
id?: string;
|
|
14
27
|
}
|
|
@@ -2,7 +2,7 @@ import { HTMLAttributes } from 'react';
|
|
|
2
2
|
import { ThemeTypes } from '../../types';
|
|
3
3
|
import { ContextMenuProps } from '../ContextMenu';
|
|
4
4
|
|
|
5
|
-
export type LanguageToggleProps =
|
|
5
|
+
export type LanguageToggleProps = {
|
|
6
6
|
/**
|
|
7
7
|
* The language string to display
|
|
8
8
|
*/
|
|
@@ -21,23 +21,5 @@ export type LanguageToggleProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
21
21
|
options?: ContextMenuProps["links"];
|
|
22
22
|
className?: string;
|
|
23
23
|
};
|
|
24
|
-
declare const LanguageToggle: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> &
|
|
25
|
-
/**
|
|
26
|
-
* The language string to display
|
|
27
|
-
*/
|
|
28
|
-
language: string;
|
|
29
|
-
/**
|
|
30
|
-
* Specify an optional className to be added to your LanguageToggle component.
|
|
31
|
-
*/
|
|
32
|
-
theme?: ThemeTypes | undefined;
|
|
33
|
-
/**
|
|
34
|
-
* Hide the glob icon
|
|
35
|
-
*/
|
|
36
|
-
hideIcon?: boolean | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Specify the languages to be displayed in the Context Menu
|
|
39
|
-
*/
|
|
40
|
-
options?: import('../ContextMenu').LinkProps[] | undefined;
|
|
41
|
-
className?: string | undefined;
|
|
42
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const LanguageToggle: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & LanguageToggleProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
43
25
|
export { LanguageToggle };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
import { LanguageToggleProps } from '../LanguageToggle';
|
|
3
|
+
|
|
4
|
+
export interface NavigationLinkProps {
|
|
5
|
+
href?: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
label: ReactNode;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The component to render the link
|
|
12
|
+
*/
|
|
13
|
+
component?: ElementType;
|
|
14
|
+
}
|
|
15
|
+
export interface SubsiteNavCoreProps {
|
|
16
|
+
branding: {
|
|
17
|
+
/**
|
|
18
|
+
* The branding to display in the SubsiteNav like a primary logo
|
|
19
|
+
*/
|
|
20
|
+
logo: {
|
|
21
|
+
main: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* The logo to display in the drawer
|
|
24
|
+
*/
|
|
25
|
+
drawer?: ReactNode;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* The site or product name
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
* The handler to call when the branding is clicked
|
|
33
|
+
*/
|
|
34
|
+
onClick?: () => void;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* The menu configuration
|
|
38
|
+
*/
|
|
39
|
+
menu: {
|
|
40
|
+
/**
|
|
41
|
+
* The navigation items to display
|
|
42
|
+
*/
|
|
43
|
+
items: NavigationLinkProps[];
|
|
44
|
+
labels: {
|
|
45
|
+
/**
|
|
46
|
+
* The label to display for the more button
|
|
47
|
+
*/
|
|
48
|
+
more?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The label to display for the back to menu button
|
|
51
|
+
*/
|
|
52
|
+
backToMenu?: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* The widgets to display in the SubsiteNav
|
|
57
|
+
*/
|
|
58
|
+
widgets?: {
|
|
59
|
+
/**
|
|
60
|
+
* The link inside the widget bar
|
|
61
|
+
*/
|
|
62
|
+
link?: NavigationLinkProps;
|
|
63
|
+
/**
|
|
64
|
+
* The language toggler pros
|
|
65
|
+
*/
|
|
66
|
+
language?: LanguageToggleProps & {
|
|
67
|
+
/**
|
|
68
|
+
* The label to display for the language toggle, used for mobile
|
|
69
|
+
*/
|
|
70
|
+
label: string;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* The search bar props
|
|
74
|
+
*/
|
|
75
|
+
search?: {
|
|
76
|
+
type: "redirect";
|
|
77
|
+
url: string;
|
|
78
|
+
/**
|
|
79
|
+
* The label to display for the search bar
|
|
80
|
+
*/
|
|
81
|
+
label?: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export interface CompactNavProps {
|
|
86
|
+
/**
|
|
87
|
+
* The type of SubsiteNav to render
|
|
88
|
+
*/
|
|
89
|
+
type?: "compact";
|
|
90
|
+
props: SubsiteNavCoreProps;
|
|
91
|
+
}
|
|
92
|
+
export interface ComplexNavProps {
|
|
93
|
+
/**
|
|
94
|
+
* The type of SubsiteNav to render
|
|
95
|
+
*/
|
|
96
|
+
type?: "complex";
|
|
97
|
+
props: SubsiteNavCoreProps & {
|
|
98
|
+
branding: {
|
|
99
|
+
logo: SubsiteNavCoreProps["branding"]["logo"] & {
|
|
100
|
+
/**
|
|
101
|
+
* The logo to display for the mobile screens
|
|
102
|
+
*/
|
|
103
|
+
mobile?: ReactNode;
|
|
104
|
+
};
|
|
105
|
+
tag?: {
|
|
106
|
+
main: string;
|
|
107
|
+
sub?: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export type SubsiteNavProps = CompactNavProps | ComplexNavProps;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
|
|
3
|
+
type NavigationDropdownProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the dropdown is open
|
|
6
|
+
*/
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The ref to the navigation element
|
|
10
|
+
*/
|
|
11
|
+
navRef: RefObject<HTMLElement>;
|
|
12
|
+
className?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The children to render in the dropdown
|
|
15
|
+
*/
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
};
|
|
18
|
+
declare const NavigationDropdown: import('react').MemoExoticComponent<({ isOpen, className, navRef, children, }: NavigationDropdownProps) => import('react').ReactPortal>;
|
|
19
|
+
export { NavigationDropdown };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NavigationLinkProps } from './Navigation.props';
|
|
2
|
+
|
|
3
|
+
type NavigationMenuProps = {
|
|
4
|
+
className?: string;
|
|
5
|
+
menu: NavigationLinkProps[];
|
|
6
|
+
more?: {
|
|
7
|
+
label?: string;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const NavigationMenu: ({ className, menu, more }: NavigationMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { NavigationMenu };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NavigationLinkProps } from './Navigation.props';
|
|
2
|
+
|
|
3
|
+
type NavigationMenuGridProps = {
|
|
4
|
+
menu: NavigationLinkProps[];
|
|
5
|
+
};
|
|
6
|
+
declare const NavigationMenuGrid: ({ menu }: NavigationMenuGridProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { NavigationMenuGrid };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
type MobileDrawerProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the drawer is open or not
|
|
6
|
+
*/
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The handler to call when the drawer is closed
|
|
10
|
+
*/
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
/**
|
|
13
|
+
* The Header part of the drawer
|
|
14
|
+
*/
|
|
15
|
+
header: ReactNode;
|
|
16
|
+
/**
|
|
17
|
+
* The Widgets part of the drawer
|
|
18
|
+
*/
|
|
19
|
+
widgets: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* The Main content
|
|
22
|
+
*/
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
};
|
|
26
|
+
declare const MobileDrawer: ({ isOpen, onClose, header, widgets, children, className, }: MobileDrawerProps) => import('react').ReactPortal;
|
|
27
|
+
export { MobileDrawer };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { LanguageToggleProps } from '../../LanguageToggle';
|
|
3
|
+
|
|
4
|
+
type MobileLanguageListProps = {
|
|
5
|
+
options: LanguageToggleProps["options"];
|
|
6
|
+
selected: string;
|
|
7
|
+
};
|
|
8
|
+
declare const MobileLanguageList: ({ options, selected, }: HTMLAttributes<HTMLUListElement> & MobileLanguageListProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { MobileLanguageList };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { NavigationLinkProps } from '../Navigation.props';
|
|
3
|
+
|
|
4
|
+
type MobileMenuListProps = {
|
|
5
|
+
menu: NavigationLinkProps[];
|
|
6
|
+
};
|
|
7
|
+
declare const MobileMenuList: ({ menu, }: HTMLAttributes<HTMLUListElement> & MobileMenuListProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { MobileMenuList };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SubsiteNavCoreProps } from '../Navigation.props';
|
|
2
|
+
|
|
3
|
+
type MobileNavigationProps = {
|
|
4
|
+
/**
|
|
5
|
+
* Whether the navigation is open or not
|
|
6
|
+
*/
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* The handler to call when the navigation is clicked
|
|
10
|
+
*/
|
|
11
|
+
onClose?: () => void;
|
|
12
|
+
navigationProps: Omit<SubsiteNavCoreProps, "type">;
|
|
13
|
+
};
|
|
14
|
+
declare const MobileNavigation: ({ isOpen, navigationProps: { branding, menu: { items, labels }, widgets, }, onClose, }: MobileNavigationProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { MobileNavigation };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Dispatch, RefObject, SetStateAction } from 'react';
|
|
2
|
+
import { NavigationLinkProps } from './Navigation.props';
|
|
3
|
+
|
|
4
|
+
interface UseNavSetupArgs {
|
|
5
|
+
menu: NavigationLinkProps[];
|
|
6
|
+
split: {
|
|
7
|
+
desktop: number;
|
|
8
|
+
mobile: number;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
interface UseNavSetupResponse {
|
|
12
|
+
menu: {
|
|
13
|
+
facade: NavigationLinkProps[];
|
|
14
|
+
more: NavigationLinkProps[];
|
|
15
|
+
};
|
|
16
|
+
more: [boolean, Dispatch<SetStateAction<boolean>>];
|
|
17
|
+
mobile: [boolean, Dispatch<SetStateAction<boolean>>];
|
|
18
|
+
ref: RefObject<HTMLElement>;
|
|
19
|
+
isDesktop: boolean;
|
|
20
|
+
}
|
|
21
|
+
declare function useNavSetup({ menu, split }: UseNavSetupArgs): UseNavSetupResponse;
|
|
22
|
+
export { useNavSetup };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type PictureURl = {
|
|
2
|
+
src: string;
|
|
3
|
+
breakpoint: number;
|
|
4
|
+
};
|
|
5
|
+
export type PictureProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Image object containing URLs for different breakpoints.
|
|
8
|
+
*/
|
|
9
|
+
url: PictureURl[] | string;
|
|
10
|
+
alt?: string;
|
|
11
|
+
loading?: "eager" | "lazy";
|
|
12
|
+
/**
|
|
13
|
+
* Optional class name to be applied to the picture element.
|
|
14
|
+
*/
|
|
15
|
+
className?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const Picture: import('react').ForwardRefExoticComponent<PictureProps & import('react').RefAttributes<HTMLPictureElement>>;
|
|
18
|
+
export { Picture };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type StatusProps = {
|
|
2
|
+
/**
|
|
3
|
+
* Specify the type of status.
|
|
4
|
+
*/
|
|
5
|
+
statusType?: "active" | "info" | "alert" | "subtle" | "inactive";
|
|
6
|
+
/**
|
|
7
|
+
* The content inside the status component.
|
|
8
|
+
*/
|
|
9
|
+
content: string;
|
|
10
|
+
/**
|
|
11
|
+
* The ID of the status element.
|
|
12
|
+
*/
|
|
13
|
+
elementId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional class name for additional styling.
|
|
16
|
+
*/
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
19
|
+
declare const Status: import('react').ForwardRefExoticComponent<StatusProps & import('react').RefAttributes<HTMLSpanElement>>;
|
|
20
|
+
export { Status };
|
|
@@ -35,10 +35,10 @@ export { List } from './List';
|
|
|
35
35
|
export { Profile } from './Profile';
|
|
36
36
|
export { TableOfContents } from './TableOfContents';
|
|
37
37
|
export { Footer } from './Footer';
|
|
38
|
-
export { LocalNav } from './LocalNav';
|
|
39
38
|
export { Navigation } from './Navigation';
|
|
40
39
|
export { CardGroup } from './Cards/CardGroup';
|
|
41
40
|
export { Breadcrumb } from './Breadcrumb';
|
|
42
41
|
export { Tabs } from './Tabs';
|
|
43
42
|
export * from './Cards';
|
|
44
43
|
export * from './LanguageToggle';
|
|
44
|
+
export * from './Nav';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const useBreakpoint: (defaultBreakpoint?: string | undefined) => {
|
|
2
|
+
readonly breakpoint: null;
|
|
3
|
+
readonly minWidth: null;
|
|
4
|
+
readonly maxWidth: null;
|
|
5
|
+
readonly query: null;
|
|
6
|
+
} | import('use-breakpoint').Breakpoint<Readonly<Record<string, number>>>;
|
|
7
|
+
export default useBreakpoint;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "React components for the ILO's Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui_patterns",
|
|
@@ -69,12 +69,13 @@
|
|
|
69
69
|
"dom-helpers": "^5.2.1",
|
|
70
70
|
"nanoid": "^3.3.6",
|
|
71
71
|
"react-transition-group": "^4.4.1",
|
|
72
|
+
"use-breakpoint": "^4.0.6",
|
|
72
73
|
"video.js": "^7.21.2",
|
|
73
74
|
"videojs-youtube": "^3.0.1",
|
|
74
75
|
"@ilo-org/brand-assets": "1.0.0",
|
|
75
|
-
"@ilo-org/fonts": "1.0.0",
|
|
76
76
|
"@ilo-org/icons-react": "1.0.3",
|
|
77
|
-
"@ilo-org/
|
|
77
|
+
"@ilo-org/fonts": "1.0.0",
|
|
78
|
+
"@ilo-org/styles": "1.6.0",
|
|
78
79
|
"@ilo-org/themes": "0.9.1",
|
|
79
80
|
"@ilo-org/utils": "0.1.1"
|
|
80
81
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),d=require("react"),j=require("./index-chunk-DCI82Tmm.js"),q=require("./useGlobalSettings-chunk-Pa38w6VS.js"),f=require("./Link-chunk-BfaKuVjz.js"),i=require("./Icon-chunk-Dej6jVSI.js"),g=d.forwardRef(({children:n,className:m,disabled:$=!1,icon:e,size:a="large",type:o="primary",style:u,name:b,link:r,...x},l)=>{const{prefix:_}=q.useGlobalSettings(),s=`${_}--button`,c=j.classnames(m,{[s]:!0,[`${s}__${a}`]:a,[`${s}__${o}`]:o,[`${s}--icon ${s}--icon--position__${(e==null?void 0:e.position)||"left"}`]:e&&!e.only,[`${s}--icon ${s}--icon--only`]:e&&e.only});return r?t.jsxs(f.Link,{ref:l,className:c,target:r.target,url:r.url,label:r.label,style:u,children:[e&&t.jsx(i.Icon,{name:e.name,hidden:!0}),n]}):t.jsxs("button",{ref:l,className:c,disabled:$,style:u,name:b,...x,children:[t.jsx("span",{className:"button__label",children:n}),e&&t.jsx(i.Icon,{name:e.name,hidden:!0})]})});exports.Button=g;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),j=require("react"),h=require("./index-chunk-DCI82Tmm.js"),N=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=require("./Button-chunk-D32W9ElW.js"),C=require("./Link-chunk-BfaKuVjz.js"),b=require("./LinkList-chunk-Eu43ZSAZ.js"),q=require("./Profile-chunk-D1tXXPUO.js"),f=require("./List-entry-DzqbzyL4.js"),w=j.forwardRef(({className:x,title:r,theme:n="light",size:a="standard",color:m,intro:i,source:$,titleLevel:o="p"},e)=>{const{prefix:p}=N.useGlobalSettings(),t=`${p}--card`,d=h.classnames(`${t}--wrapper`,x),l=h.classnames(t,`${t}__type__stat`,{[`${t}__size__${String(a)}`]:a,[`${t}__theme__${n}`]:n,[`${t}__color__${m}`]:m});return s.jsx("div",{className:d,ref:e,children:s.jsx("div",{className:l,children:s.jsx("div",{className:`${t}--wrap`,children:s.jsxs("div",{className:`${t}--content`,children:[s.jsx(o,{className:`${t}--title`,children:r}),i&&s.jsx("p",{className:`${t}--intro`,children:i}),$&&s.jsx(C.Link,{className:`${t}--source`,url:$.url,label:$.label})]})})})})}),g=j.forwardRef(({className:x,title:r,size:n="standard",alignment:a,intro:m,link:i,linklist:$,image:o,titleLevel:e="p",eyebrow:p,isVideo:t,theme:d="light"},l)=>{const{prefix:_}=N.useGlobalSettings(),c=`${_}--card`,v=h.classnames(c,x,`${c}__type__multilink`,{[`${c}__align__${a}`]:a,[`${c}__action`]:i,[`${c}__size__${n}`]:n,[`${c}__isvideo`]:t,[`${c}--no-image`]:!o,[`${c}__theme__${d}`]:d});return s.jsxs("div",{className:v,ref:l,children:[i&&s.jsx("a",{className:`${c}--link`,href:i,title:r,children:s.jsx("span",{className:`${c}--link--text`,children:r})}),s.jsxs("div",{className:`${c}--wrap`,children:[o&&s.jsx("div",{className:`${c}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:o,alt:r,className:`${c}--picture`})})}),s.jsxs("div",{className:`${c}--content`,children:[p&&s.jsx("p",{className:`${c}--eyebrow`,children:p}),s.jsx(e,{className:`${c}--title`,children:r}),o&&s.jsx("div",{className:`${c}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:o,alt:r,className:`${c}--picture`})})}),m&&s.jsx("p",{className:`${c}--intro`,children:m}),$&&s.jsx(b.LinkList,{...$})]})]})]})}),k=j.forwardRef(({className:x,title:r,theme:n="light",size:a="narrow",date:m,profile:i,link:$,titleLevel:o="p",eyebrow:e},p)=>{const{prefix:t}=N.useGlobalSettings(),d=`${t}--card`,l=h.classnames(`${d}--wrapper`,x),_=h.classnames(d,`${d}__type__text`,{[`${d}__action`]:$,[`${d}__size__${String(a)}`]:a,[`${d}__theme__${n}`]:n});return s.jsx("div",{className:l,ref:p,children:s.jsxs("div",{className:_,children:[s.jsx("a",{className:`${d}--link`,href:$,title:r,children:s.jsx("span",{className:`${d}--link--text`,children:r})}),s.jsx("div",{className:`${d}--wrap`,children:s.jsxs("div",{className:`${d}--content`,children:[e&&s.jsx("p",{className:`${d}--eyebrow`,children:e}),s.jsx(o,{className:`${d}--title`,children:r}),m&&s.jsx("time",{className:`${d}--date`,dateTime:m.unix,children:m.human}),i&&s.jsx(q.Profile,{avatar:i.avatar,description:i.description,link:i.link,name:i.name,role:i.role,theme:n})]})})]})})}),y=j.forwardRef(({className:x,title:r,theme:n="light",size:a="narrow",cornercut:m,intro:i,link:$,cta:o,titleLevel:e="p",eyebrow:p},t)=>{const{prefix:d}=N.useGlobalSettings(),l=`${d}--card`,_=h.classnames(`${l}--wrapper`,x,`${l}--wrapper__type__promo`,`${l}--wrapper__type__promo__size__${a}`),c=h.classnames(l,`${l}__type__promo`,{[`${l}__action`]:$,[`${l}__size__${String(a)}`]:a,[`${l}__theme__${n}`]:n,[`${l}__cornercut`]:m});return s.jsx("div",{className:_,ref:t,children:s.jsxs("div",{className:c,children:[s.jsx("a",{className:`${l}--link`,href:$,title:r,children:s.jsx("span",{className:`${l}--link--text`,children:r})}),s.jsx("div",{className:`${l}--wrap`,children:s.jsxs("div",{className:`${l}--content`,children:[p&&s.jsx("p",{className:`${l}--eyebrow`,children:p}),s.jsx(e,{className:`${l}--title`,children:r}),i&&s.jsx("p",{className:`${l}--intro`,children:i}),(o==null?void 0:o.label)&&s.jsx("div",{className:`${l}--cta`,children:s.jsx(u.Button,{link:{url:o.url,label:o.label},size:"medium",type:"primary"})})]})})]})})}),L=j.forwardRef(({className:x,title:r,theme:n="light",size:a="narrow",date:m,link:i,linklist:$,image:o,titleLevel:e="p",eyebrow:p,isVideo:t},d)=>{const{prefix:l}=N.useGlobalSettings(),_=`${l}--card`,c=h.classnames(_,x,`${_}__type__feature`,{[`${_}__action`]:i,[`${_}__size__${String(a)}`]:a,[`${_}__theme__${n}`]:n,[`${_}__isvideo`]:t,[`${_}__linklist`]:$});return s.jsxs("div",{className:c,ref:d,children:[i&&s.jsx("a",{className:`${_}--link`,href:i,title:r,children:s.jsx("span",{className:`${_}--link--text`,children:r})}),s.jsxs("div",{className:`${_}--wrap`,children:[o&&s.jsx("div",{className:`${_}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:o,alt:r,className:`${_}--picture`})})}),s.jsxs("div",{className:`${_}--content`,children:[p&&s.jsx("p",{className:`${_}--eyebrow`,children:p}),s.jsx(e,{className:`${_}--title`,children:r}),m&&s.jsx("time",{className:`${_}--date`,dateTime:m.unix,children:m.human}),$&&s.jsx(b.LinkList,{headline:$.headline,linkgroup:$.linkgroup,theme:n})]})]})]})}),S=j.forwardRef(({className:x,title:r,theme:n="light",size:a="narrow",date:m,details:i,link:$,titleLevel:o="p",eyebrow:e,intro:p,image:t,isVideo:d=!1},l)=>{const{prefix:_}=N.useGlobalSettings(),c=`${_}--card`,v=h.classnames(c,`${c}__type__detail`,x,{[`${c}__action`]:$,[`${c}__size__${String(a)}`]:a,[`${c}__theme__${n}`]:n,[`${c}__isvideo`]:d});return s.jsxs("div",{className:v,ref:l,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:[t&&s.jsx("div",{className:`${c}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${c}--picture`,src:t,alt:r})})}),s.jsxs("div",{className:`${c}--content`,children:[e&&s.jsx("p",{className:`${c}--eyebrow`,children:e}),r&&s.jsx(o,{className:`${c}--title`,children:r}),p&&s.jsx("p",{className:`${c}--intro`,children:p}),m&&s.jsx("time",{className:`${c}--date`,dateTime:m.unix,children:m.human}),i&&s.jsx("p",{className:`${c}--date-extra`,children:i})]})]})]})}),G=j.forwardRef(({title:x,theme:r="light",size:n="narrow",list:a,titleLevel:m="p",className:i},$)=>{const{prefix:o}=N.useGlobalSettings(),e=`${o}--card`,p=h.classnames(e,`${e}__type__factlist`,i,{[`${e}__size__${n}`]:n,[`${e}__theme__${r}`]:r});return s.jsx("div",{className:p,ref:$,children:s.jsx("div",{className:`${e}--wrap`,children:s.jsxs("div",{className:`${e}--content`,children:[x&&s.jsx(m,{className:`${o}--card--title`,children:x}),s.jsx(f.List,{alignment:"default",ordered:"unordered",theme:r,children:a.map(t=>s.jsx(f.List.Item,{children:s.jsx("p",{children:t})},t))})]})})})}),R=j.forwardRef(({eyebrow:x,size:r="narrow",image:n,dataset:a,columns:m="one",className:i},$)=>{var d;const{prefix:o}=N.useGlobalSettings(),e=`${o}--card`,p=h.classnames(e,`${e}__type__data`,i,{[`${e}__size__${String(r)}`]:r,[`${e}__type__data__columns__${m}`]:m}),t=h.classnames(`${e}--content`,{[`${e}--content__with-image`]:n,[`${e}--content__no-image-with-links`]:!n&&(a==null?void 0:a.links),[`${e}--content__default`]:!n&&!(a!=null&&a.links)});return s.jsx("div",{className:p,ref:$,children:s.jsxs("div",{className:`${e}--wrap`,children:[!n&&x&&s.jsx("div",{className:`${e}--eyebrow`,children:x}),s.jsxs("div",{className:t,children:[n&&s.jsxs("div",{className:`${e}--area--image`,children:[x&&s.jsx("div",{className:`${e}--eyebrow`,children:x}),s.jsx("div",{className:`${e}--image`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:n,alt:x})})})]}),(d=a==null?void 0:a.content)==null?void 0:d.items.map((l,_)=>s.jsxs("div",{className:`${e}--area--content`,children:[s.jsx("p",{className:`${e}__type__data--content-label`,children:l.label}),s.jsx("p",{className:`${e}__type__data--content-copy`,children:l.copy})]},_)),(a==null?void 0:a.files)&&s.jsx("div",{className:`${e}--area--files`,children:s.jsxs("div",{className:`${e}__type__data--content-files`,children:[s.jsx("p",{className:`${e}__type__data--content-label`,children:a.files.headline}),a.files.items.map((l,_)=>s.jsx(u.Button,{link:{url:l.url,label:l.label,target:l.target||"_self"},size:"small"},_))]})}),(a==null?void 0:a.cta)&&s.jsx("div",{className:`${e}--area--cta`,children:s.jsxs("div",{className:`${e}__type__data--content-cta`,children:[s.jsx("p",{className:`${e}__type__data--content-label`,children:a.cta.headline}),a.cta.items.map(l=>s.jsx(u.Button,{type:"secondary",size:"small",link:{url:l.url,label:l.label,target:l.target}},l.label))]})}),(a==null?void 0:a.links)&&s.jsx("div",{className:`${e}--area--links`,children:s.jsxs("div",{className:`${e}__type__data--content-links`,children:[s.jsx("p",{className:`${e}__type__data--content-label`,children:a.links.headline}),s.jsx("div",{className:`${e}__type__data--content-links-list`,children:a.links.items.map(l=>s.jsx(j.Fragment,{children:s.jsx(C.Link,{url:l.url,label:l.label,className:`${e}__type__data--content-link`})},l.label+l.url))})]})})]})]})})}),B={stat:w,multilink:g,text:k,promo:y,feature:L,detail:S,factlist:G,data:R},F=j.forwardRef(({type:x,group:r,cardCount:n="one",cta:a,collapsed:m=!1},i)=>{const $=B[x],{prefix:o}=N.useGlobalSettings(),e=`${o}--cardgroup`,p=h.classnames(e,`${e}__count__${n}`,{[`${e}__collapsed`]:m});return s.jsxs("div",{className:p,ref:i,children:[s.jsx("div",{className:`${e}--inner`,children:r.map((t,d)=>s.jsx($,{...t},d))}),a&&s.jsx("div",{className:`${e}--button-wrap`,children:s.jsx(u.Button,{link:{url:a.url,label:a.label},type:"secondary",size:"medium"})})]})});exports.CardGroup=F;exports.DataCard=R;exports.DetailCard=S;exports.FactListCard=G;exports.FeatureCard=L;exports.MultiLinkCard=g;exports.PromoCard=y;exports.StatCard=w;exports.TextCard=k;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./CardGroup-chunk-D3sPRsTS.js");exports.CardGroup=a.CardGroup;exports.DataCard=a.DataCard;exports.DetailCard=a.DetailCard;exports.FactListCard=a.FactListCard;exports.FeatureCard=a.FeatureCard;exports.MultiLinkCard=a.MultiLinkCard;exports.PromoCard=a.PromoCard;exports.StatCard=a.StatCard;exports.TextCard=a.TextCard;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-chunk-DCI82Tmm.js"),o=require("./useGlobalSettings-chunk-Pa38w6VS.js"),u=r.forwardRef(({className:a,links:c},l)=>{const{prefix:s}=o.useGlobalSettings();return n.jsx("ol",{className:t.classnames(`${s}--context-menu`,a),ref:l,children:c.map(e=>n.jsx("li",{className:t.classnames(`${s}--context-menu--item`,{endsection:e.endsection,className:e.className}),children:n.jsx("a",{href:e.url,className:`${s}--context-menu--link`,children:n.jsx("span",{className:`${s}--context-menu--label`,children:e.label})})},`${e.label}-${e.url}`))})});exports.ContextMenu=u;
|