@ilo-org/react 0.25.0 → 0.27.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/README.md +0 -1
- package/lib/cjs/_store/AudioPlayer-chunk-BgWE3wR1.js +1 -0
- package/lib/cjs/_store/AudioPlayer-entry-DUimYc-F.js +1 -0
- package/lib/cjs/_store/{Breadcrumb-chunk-Dpq0PkrL.js → Breadcrumb-chunk-Bc1WgkRf.js} +1 -1
- package/lib/cjs/_store/{Breadcrumb-entry-DqvKPkDy.js → Breadcrumb-entry-CHpuATsN.js} +1 -1
- package/lib/cjs/_store/{Button-chunk-GqAQVgEt.js → Button-chunk-i7Mx1CWw.js} +1 -1
- package/lib/cjs/_store/{Button-entry-BKxqoDTd.js → Button-entry-B6i_56pN.js} +1 -1
- package/lib/cjs/_store/{Callout-chunk-BfSmG_lo.js → Callout-chunk-D0qGb3NA.js} +1 -1
- package/lib/cjs/_store/{Callout-entry-BWl-fM4V.js → Callout-entry-B9JKkfjT.js} +1 -1
- package/lib/cjs/_store/CardGroup-chunk-CRgPaqdt.js +1 -0
- package/lib/cjs/_store/Cards-entry-C6nZgRnw.js +1 -0
- package/lib/cjs/_store/ContextMenu-chunk-Bt4IM9J7.js +1 -0
- package/lib/cjs/_store/{ContextMenu-entry-dsiNFY0E.js → ContextMenu-entry-DfK4Z2zY.js} +1 -1
- package/lib/cjs/_store/DynamicHeading-chunk-DJzlOgQG.js +1 -0
- package/lib/cjs/_store/{Footer-chunk-TaoI4CW2.js → Footer-chunk-F6FWK20F.js} +1 -1
- package/lib/cjs/_store/{Footer-entry-Dia_Yz7-.js → Footer-entry-B0EMXAZe.js} +1 -1
- package/lib/cjs/_store/{Hero-chunk-BjL7EFZF.js → Hero-chunk-CDJrCpL6.js} +1 -1
- package/lib/cjs/_store/{Hero-entry-BEkYf6OA.js → Hero-entry-P61ktZE-.js} +1 -1
- package/lib/cjs/_store/{HeroCard-chunk-BxvdF3ec.js → HeroCard-chunk-BO2BICG5.js} +1 -1
- package/lib/cjs/_store/{HeroCard-entry-Cy1KQqXn.js → HeroCard-entry-Bcf7NMkj.js} +1 -1
- package/lib/cjs/_store/Icon-chunk-BzII57By.js +1 -0
- package/lib/cjs/_store/{Icon-entry-DuU8BlUw.js → Icon-entry-Cqw6gQ6f.js} +1 -1
- package/lib/cjs/_store/LanguageToggle-chunk-Dq721sHc.js +1 -0
- package/lib/cjs/_store/{LanguageToggle-entry-_H4REDpU.js → LanguageToggle-entry-BIcgbNpM.js} +1 -1
- package/lib/cjs/_store/LinkList-chunk-CmVHEiqZ.js +1 -0
- package/lib/cjs/_store/{LinkList-entry-D8WmG1H6.js → LinkList-entry-BL9Es1VN.js} +1 -1
- package/lib/cjs/_store/List-entry-31dXgvRv.js +1 -0
- package/lib/cjs/_store/MainNav-chunk-7kTe_YZl.js +1 -0
- package/lib/cjs/_store/Nav-entry-DExtgUq0.js +1 -0
- package/lib/cjs/_store/{Notification-chunk-2QCwWkyJ.js → Notification-chunk-CWlncrg0.js} +1 -1
- package/lib/cjs/_store/{Notification-entry-BZxeAdKY.js → Notification-entry-AczbFeuC.js} +1 -1
- package/lib/cjs/_store/PhotoGallery-entry-oG4Az7b5.js +1 -0
- package/lib/cjs/_store/{Profile-chunk-BYt-KzV1.js → Profile-chunk-DGzYI2Ij.js} +1 -1
- package/lib/cjs/_store/{Profile-entry--A7T8H3j.js → Profile-entry-CyGRHY4H.js} +1 -1
- package/lib/cjs/_store/{SearchField-chunk-Co2k3NxN.js → SearchField-chunk-C8dCtv7o.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-BUoeC9YW.js → SearchField-entry-iFWSYkgV.js} +1 -1
- package/lib/cjs/_store/SocialMedia-chunk-BlRflaPL.js +1 -0
- package/lib/cjs/_store/{SocialMedia-entry-lxx8yheX.js → SocialMedia-entry-y0SwUpID.js} +1 -1
- package/lib/cjs/_store/{Tabs-chunk-CFtNDTSD.js → Tabs-chunk-_l0V0Dy0.js} +1 -1
- package/lib/cjs/_store/{Tabs-entry-F5uRTfcu.js → Tabs-entry-Cf1mUwmV.js} +1 -1
- package/lib/cjs/_store/Tag-chunk-DesRph1K.js +1 -0
- package/lib/cjs/_store/{Tag-entry-BOwYiCqK.js → Tag-entry-ubHQAH--.js} +1 -1
- package/lib/cjs/_store/components-entry-ChGq9Mfa.js +1 -0
- package/lib/cjs/_store/index.js +1 -1
- package/lib/cjs/_store/useFocusTrap-chunk-CB0jpZY1.js +1 -0
- package/lib/cjs/_store/useOutsideClick-chunk-B3G_jqci.js +1 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/AudioPlayer-chunk-C1ILnjha.js +194 -0
- package/lib/esm/_store/AudioPlayer-entry-DihoEAxT.js +4 -0
- package/lib/esm/_store/{Breadcrumb-chunk-BmS7TVwo.js → Breadcrumb-chunk-C5nxxjB6.js} +22 -22
- package/lib/esm/_store/Breadcrumb-entry-Cb449Id_.js +4 -0
- package/lib/esm/_store/{Button-chunk-BvX6KNZ6.js → Button-chunk-8dLLhQX7.js} +1 -1
- package/lib/esm/_store/Button-entry--gNnIOMu.js +4 -0
- package/lib/esm/_store/{Callout-chunk-DlkjnwyO.js → Callout-chunk-DwVsxKc9.js} +1 -1
- package/lib/esm/_store/Callout-entry-Be1qqjRK.js +4 -0
- package/lib/esm/_store/CardGroup-chunk-BtxfvFrZ.js +825 -0
- package/lib/esm/_store/{Cards-entry-Dy9RcgLp.js → Cards-entry-B87QD-XE.js} +1 -1
- package/lib/esm/_store/ContextMenu-chunk-CX3zW2yD.js +63 -0
- package/lib/esm/_store/ContextMenu-entry-BkiSVnYD.js +4 -0
- package/lib/esm/_store/DynamicHeading-chunk-CO_vg_Lp.js +7 -0
- package/lib/esm/_store/{Footer-chunk-DUKfjpB_.js → Footer-chunk-DIcYIPfY.js} +3 -3
- package/lib/esm/_store/Footer-entry-7mEwDfWZ.js +4 -0
- package/lib/esm/_store/{Hero-chunk-Be04T-g-.js → Hero-chunk-8XPHDh4M.js} +3 -3
- package/lib/esm/_store/Hero-entry-CAGpvq4h.js +4 -0
- package/lib/esm/_store/{HeroCard-chunk-Dpp8lL_Q.js → HeroCard-chunk-DIoKqIvc.js} +1 -1
- package/lib/esm/_store/HeroCard-entry-rQFyyLmk.js +4 -0
- package/lib/esm/_store/Icon-chunk-vcBEV-Wk.js +5477 -0
- package/lib/esm/_store/Icon-entry-DdsYgI2S.js +4 -0
- package/lib/esm/_store/{LanguageToggle-chunk-5yhqP-ia.js → LanguageToggle-chunk-C51Ysq9D.js} +17 -18
- package/lib/esm/_store/LanguageToggle-entry-D-mpVcVo.js +4 -0
- package/lib/esm/_store/{LinkList-chunk-D5z3Upbc.js → LinkList-chunk-ClC0P1yc.js} +20 -12
- package/lib/esm/_store/LinkList-entry-JTzNkCSz.js +4 -0
- package/lib/esm/_store/{List-entry-oG99Ip94.js → List-entry-BX9gaFfD.js} +15 -13
- package/lib/esm/_store/MainNav-chunk-Be68xvpH.js +776 -0
- package/lib/esm/_store/Nav-entry-Cvh13_5P.js +5 -0
- package/lib/esm/_store/{Notification-chunk-_adtYhvS.js → Notification-chunk-ChtPyASj.js} +1 -1
- package/lib/esm/_store/Notification-entry-BWJ8Jj_L.js +4 -0
- package/lib/esm/_store/PhotoGallery-entry-DzssiE2H.js +1685 -0
- package/lib/esm/_store/{Profile-chunk-D0RBDgln.js → Profile-chunk-S7Qd4zNr.js} +1 -1
- package/lib/esm/_store/Profile-entry-BaZd_1MC.js +4 -0
- package/lib/esm/_store/{SearchField-chunk-4Y2NnK71.js → SearchField-chunk-662yU8Z7.js} +5 -4
- package/lib/esm/_store/SearchField-entry-Dbp8Z4ak.js +4 -0
- package/lib/esm/_store/{SocialMedia-chunk-DEHVELJ8.js → SocialMedia-chunk-CmTguYLJ.js} +24 -15
- package/lib/esm/_store/{SocialMedia-entry-C2BAEraF.js → SocialMedia-entry-Bb_WqSHH.js} +16 -1
- package/lib/esm/_store/{Tabs-chunk-BFJu-8N_.js → Tabs-chunk-rSUtyafl.js} +1 -1
- package/lib/esm/_store/Tabs-entry-Dus4wyx1.js +4 -0
- package/lib/esm/_store/Tag-chunk-BgilM5Hj.js +59 -0
- package/lib/esm/_store/{Tag-entry-CY9Wk-E1.js → Tag-entry-CzbjOVIK.js} +2 -2
- package/lib/esm/_store/components-entry-BtxPnvKg.js +103 -0
- package/lib/esm/_store/index.js +9 -6
- package/lib/esm/_store/useFocusTrap-chunk-YNgJEwcj.js +65 -0
- package/lib/esm/_store/useOutsideClick-chunk-CWy5z-7S.js +71 -0
- package/lib/esm/index.js +62 -58
- package/lib/styles/components/accordion.css +1 -1
- package/lib/styles/components/audioplayer.css +1 -0
- package/lib/styles/components/blockquote.css +1 -1
- package/lib/styles/components/breadcrumb.css +1 -1
- package/lib/styles/components/button.css +1 -1
- package/lib/styles/components/callout.css +1 -1
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/cardgroup.css +1 -1
- package/lib/styles/components/checkbox.css +1 -1
- package/lib/styles/components/container.css +1 -1
- package/lib/styles/components/contextmenu.css +1 -1
- package/lib/styles/components/datacard.css +1 -1
- package/lib/styles/components/datepicker.css +1 -1
- package/lib/styles/components/detailcard.css +1 -1
- package/lib/styles/components/dropdown.css +1 -1
- package/lib/styles/components/empty.css +1 -1
- package/lib/styles/components/factlistcard.css +1 -1
- package/lib/styles/components/featurecard.css +1 -1
- package/lib/styles/components/fieldset.css +1 -1
- package/lib/styles/components/file-upload.css +1 -1
- package/lib/styles/components/footer.css +1 -1
- package/lib/styles/components/form.css +1 -1
- package/lib/styles/components/formcontrol.css +1 -1
- package/lib/styles/components/hero.css +1 -1
- package/lib/styles/components/herocard.css +1 -1
- package/lib/styles/components/image.css +1 -1
- package/lib/styles/components/input.css +1 -1
- package/lib/styles/components/languagetoggle.css +1 -1
- package/lib/styles/components/link.css +1 -1
- package/lib/styles/components/linklist.css +1 -1
- package/lib/styles/components/list.css +1 -1
- package/lib/styles/components/loading.css +1 -1
- package/lib/styles/components/logogrid.css +1 -1
- package/lib/styles/components/modal.css +1 -1
- package/lib/styles/components/multilinkcard.css +1 -1
- package/lib/styles/components/navigation.css +1 -1
- package/lib/styles/components/notification.css +1 -1
- package/lib/styles/components/pagination.css +1 -1
- package/lib/styles/components/profile.css +1 -1
- package/lib/styles/components/promocard.css +1 -1
- package/lib/styles/components/radio.css +1 -1
- package/lib/styles/components/readmore.css +1 -1
- package/lib/styles/components/richtext.css +1 -1
- package/lib/styles/components/scorecard.css +1 -1
- package/lib/styles/components/searchfield.css +1 -1
- package/lib/styles/components/socialmedia.css +1 -1
- package/lib/styles/components/statcard.css +1 -1
- package/lib/styles/components/status.css +1 -1
- package/lib/styles/components/table.css +1 -1
- package/lib/styles/components/tableofcontents.css +1 -1
- package/lib/styles/components/tabs.css +1 -1
- package/lib/styles/components/tag.css +1 -1
- package/lib/styles/components/textarea.css +1 -1
- package/lib/styles/components/textcard.css +1 -1
- package/lib/styles/components/textinput.css +1 -1
- package/lib/styles/components/toggle.css +1 -1
- package/lib/styles/components/tooltip.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 +3 -3
- package/lib/styles/index.css.map +1 -1
- package/lib/styles/monorepo.css +3 -3
- package/lib/styles/monorepo.css.map +1 -1
- package/lib/types/components/AudioPlayer/AudioPlayer.d.ts +27 -0
- package/lib/types/components/AudioPlayer/index.d.ts +1 -0
- package/lib/types/components/Cards/DataCard.d.ts +27 -3
- package/lib/types/components/Cards/DetailCard.d.ts +18 -2
- package/lib/types/components/Cards/FactListCard.d.ts +18 -2
- package/lib/types/components/Cards/FeatureCard.d.ts +18 -2
- package/lib/types/components/Cards/MultiLinkCard.d.ts +22 -2
- package/lib/types/components/Cards/PromoCard.d.ts +18 -2
- package/lib/types/components/Cards/ScoreCard.d.ts +20 -3
- package/lib/types/components/Cards/StatCard.d.ts +18 -2
- package/lib/types/components/Cards/TextCard.d.ts +18 -2
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +8 -0
- package/lib/types/components/DynamicHeading/DynamicHeading.d.ts +9 -0
- package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +1 -1
- package/lib/types/components/LinkList/LinkList.d.ts +5 -1
- package/lib/types/components/List/List.d.ts +9 -0
- package/lib/types/components/List/index.d.ts +1 -0
- package/lib/types/components/Nav/MainNav.d.ts +4 -0
- package/lib/types/components/Nav/Navigation.props.d.ts +52 -23
- package/lib/types/components/Nav/{Subsite/SubsiteNav.d.ts → SubsiteNav.d.ts} +1 -1
- package/lib/types/components/Nav/index.d.ts +3 -2
- package/lib/types/components/Nav/{NavigationDropdown.d.ts → internals/NavigationDropdown.d.ts} +8 -5
- package/lib/types/components/Nav/{NavigationLink.d.ts → internals/NavigationLink.d.ts} +1 -1
- package/lib/types/components/Nav/internals/NavigationMenu.d.ts +16 -0
- package/lib/types/components/Nav/{NavigationMenuGrid.d.ts → internals/NavigationMenuGrid.d.ts} +1 -1
- package/lib/types/components/Nav/{useNavSetup.d.ts → internals/hooks/useNavSetup.d.ts} +1 -1
- package/lib/types/components/Nav/{mobile → internals/mobile}/MobileDrawer.d.ts +5 -1
- package/lib/types/components/Nav/{mobile → internals/mobile}/MobileLanguageList.d.ts +1 -1
- package/lib/types/components/Nav/{mobile → internals/mobile}/MobileMenuList.d.ts +1 -1
- package/lib/types/components/Nav/{mobile → internals/mobile}/MobileNavigation.d.ts +2 -2
- package/lib/types/components/PhotoGallery/ExpandableCaption.d.ts +9 -0
- package/lib/types/components/PhotoGallery/LightBox.d.ts +9 -0
- package/lib/types/components/PhotoGallery/LightBoxGallery.d.ts +10 -0
- package/lib/types/components/PhotoGallery/PhotoGallery.d.ts +21 -0
- package/lib/types/components/PhotoGallery/PhotoGalleryControls.d.ts +25 -0
- package/lib/types/components/PhotoGallery/PhotoGalleryThumbnails.d.ts +11 -0
- package/lib/types/components/PhotoGallery/index.d.ts +1 -0
- package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +5 -1
- package/lib/types/components/index.d.ts +1 -1
- package/lib/types/hooks/index.d.ts +2 -0
- package/lib/types/hooks/useFocusTrap.d.ts +12 -0
- package/lib/types/hooks/useOutsideClick.d.ts +4 -0
- package/lib/types/types/index.d.ts +1 -1
- package/package.json +7 -6
- package/lib/cjs/_store/CardGroup-chunk-Bdg6k3xe.js +0 -1
- package/lib/cjs/_store/Cards-entry-BljbMyDU.js +0 -1
- package/lib/cjs/_store/ContextMenu-chunk-DJWyl3UI.js +0 -1
- package/lib/cjs/_store/Icon-chunk-DtOVpxQ-.js +0 -1
- package/lib/cjs/_store/LanguageToggle-chunk-Cw7PRG8W.js +0 -1
- package/lib/cjs/_store/LinkList-chunk-Duhkqb-C.js +0 -1
- package/lib/cjs/_store/List-entry-Cr2Df-dK.js +0 -1
- package/lib/cjs/_store/Nav-entry-B62wFPBX.js +0 -1
- package/lib/cjs/_store/Navigation-entry-Cz0hT5co.js +0 -1
- package/lib/cjs/_store/SocialMedia-chunk-B_GSOonV.js +0 -1
- package/lib/cjs/_store/SubsiteNav-chunk-G3tutetq.js +0 -1
- package/lib/cjs/_store/Tag-chunk-pecicJx_.js +0 -1
- package/lib/cjs/_store/components-entry-B8oNQiJz.js +0 -1
- package/lib/cjs/_store/useBreakpoint-chunk-zqMY82iP.js +0 -1
- package/lib/esm/_store/Breadcrumb-entry-CU_jT92F.js +0 -4
- package/lib/esm/_store/Button-entry-D7fBzdgB.js +0 -4
- package/lib/esm/_store/Callout-entry-nMgjy2KW.js +0 -4
- package/lib/esm/_store/CardGroup-chunk-CBTshcSl.js +0 -507
- package/lib/esm/_store/ContextMenu-chunk-ZE0ANbkf.js +0 -40
- package/lib/esm/_store/ContextMenu-entry-CdajPfm6.js +0 -4
- package/lib/esm/_store/Footer-entry-6fL7F6zI.js +0 -4
- package/lib/esm/_store/Hero-entry-KS9RtmIr.js +0 -4
- package/lib/esm/_store/HeroCard-entry-Ci6b3eLs.js +0 -4
- package/lib/esm/_store/Icon-chunk-DxouZQcV.js +0 -4431
- package/lib/esm/_store/Icon-entry-DsXhLlM5.js +0 -4
- package/lib/esm/_store/LanguageToggle-entry-CvD0nDPx.js +0 -4
- package/lib/esm/_store/LinkList-entry-Bd5jTl6s.js +0 -4
- package/lib/esm/_store/Nav-entry-BRBGTM-i.js +0 -4
- package/lib/esm/_store/Navigation-entry-DWntijlA.js +0 -4
- package/lib/esm/_store/Notification-entry-D_rG_6wM.js +0 -4
- package/lib/esm/_store/Profile-entry-BDkLs_81.js +0 -4
- package/lib/esm/_store/SearchField-entry-oUXJXjo_.js +0 -4
- package/lib/esm/_store/SubsiteNav-chunk-ClugkI0I.js +0 -546
- package/lib/esm/_store/Tabs-entry-Bxitnkrg.js +0 -4
- package/lib/esm/_store/Tag-chunk-CtoF0KuM.js +0 -68
- package/lib/esm/_store/components-entry-BurF2spT.js +0 -102
- package/lib/esm/_store/useBreakpoint-chunk-Bl6AhTq7.js +0 -53
- package/lib/types/components/Nav/NavigationMenu.d.ts +0 -13
- package/lib/types/components/Navigation/Navigation.d.ts +0 -5
- package/lib/types/components/Navigation/Navigation.props.d.ts +0 -87
- package/lib/types/components/Navigation/index.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),c=require("react"),R=require("./useGlobalSettings-chunk-Cd48T6lS.js"),l=require("./index-chunk-Cxg31gtu.js"),h=require("./ContextMenu-chunk-DJWyl3UI.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.useEffect(()=>{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.useEffect(()=>{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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),u=require("react"),a=require("./index-chunk-Cxg31gtu.js"),x=require("./useGlobalSettings-chunk-Cd48T6lS.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 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),c=require("react"),u=require("./index-chunk-Cxg31gtu.js"),d=require("./useGlobalSettings-chunk-Cd48T6lS.js"),f=c.forwardRef(({children:t,className:a,alignment:o="default",ordered:l="unstyled",title:i,theme:n="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__${n}`]:n});return e.jsxs("div",{className:b,ref:m,...r,children:[i&&e.jsx("h2",{className:`${s}--title`,children:i}),l==="ordered"?e.jsx("ol",{children:t}):e.jsx("ul",{children:t})]})}),j=c.forwardRef(({children:t,className:a,...o},l)=>{const{prefix:i}=d.useGlobalSettings(),n=`${i}--list--item`,r=u.classNames(a,n);return e.jsx("li",{className:r,ref:l,...o,children:t})}),_=Object.assign(f,{Item:j});exports.List=_;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./SubsiteNav-chunk-G3tutetq.js");exports.SubsiteNav=e.SubsiteNav;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=()=>null;exports.Navigation=t;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),a=require("./index-chunk-Cxg31gtu.js"),u=require("react"),$=require("./useGlobalSettings-chunk-Cd48T6lS.js"),d=u.forwardRef(({className:c,theme:t="light",justify:r="start",headline:i,icons:n,iconSize:o="normal"},_)=>{const{prefix:m}=$.useGlobalSettings(),s=`${m}--social-media`;return l.jsxs("div",{className:a.classNames(s,`${s}__theme__${t}`,`${s}__justify__${r}`,c),ref:_,children:[i&&l.jsx("h5",{className:`${s}--headline`,children:i}),l.jsx("ul",{className:a.classNames(`${s}--list`,`${s}--list__size__${o}`),children:n.map(e=>l.jsx("li",{className:a.classNames(`${s}--list--item`,e.className),children:l.jsx("a",{title:e.label,className:a.classNames(`${s}--list--item--icon`,`${s}--list--item--icon__${e.icon}`),href:e.url,children:e.label})},e.url))})]})});exports.SocialMedia=d;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),u=require("react"),j=require("./useGlobalSettings-chunk-Cd48T6lS.js"),I=require("react-dom"),b=require("./index-chunk-Cxg31gtu.js"),O=require("./LanguageToggle-chunk-Cw7PRG8W.js"),B=require("./useBreakpoint-chunk-zqMY82iP.js"),q=({isOpen:l,className:r,navRef:c,children:s})=>{const{prefix:a}=j.useGlobalSettings(),t=u.useRef(null),m=`${a}--nav-dropdown`,i=u.useCallback(()=>{if(!(t!=null&&t.current)||!(c!=null&&c.current))return;const o=c.current.getBoundingClientRect();t.current.style.top=`${o.bottom}px`,t.current.style.width=`${o.width}px`},[c]);return u.useEffect(()=>(i(),window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[c]),typeof document>"u"?null:I.createPortal(e.jsx("div",{ref:t,className:b.classNames({[m]:!0,[`${m}--open`]:l,className:r}),children:e.jsx("div",{className:`${m}__container`,children:s})}),document.body)},S=u.memo(q),$=l=>{const{label:r,component:c,...s}=l;return c?e.jsx(c,{...s,children:r}):e.jsx("a",{...s,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,t)=>e.jsx("div",{className:`${c}__column`,children:a.map(m=>{var i;return e.jsx($,{className:`${c}__item`,href:m.href,label:m.label},(i=m.label)==null?void 0:i.toString())})},t))})},k=({menu:l})=>{const{prefix:r}=j.useGlobalSettings(),c=`${r}--nav-mobile-menu`;return e.jsx("ul",{className:`${c}`,children:l.map((s,a)=>{const t=typeof s.isActive=="function"?s.isActive():s.isActive;return e.jsxs("li",{className:`${c}__item`,children:[e.jsx($,{label:s.label,href:s.href,className:`${c}__link`}),t&&e.jsx("span",{className:`${c}__marked`})]},a)})})},C=({isOpen:l,onClose:r,header:c,widgets:s,children:a,className:t})=>{const{prefix:m}=j.useGlobalSettings(),i=u.useId(),o=`${m}--nav-mobile-drawer`;return typeof document>"u"?null:I.createPortal(e.jsxs("div",{id:`${o}__${i}`,className:b.classNames(o,t,{[`${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(k,{menu:s})},L=({isOpen:l,navigationProps:{branding:r,menu:{items:c,labels:s},widgets:a},onClose:t})=>{var v,f,g;const{prefix:m}=j.useGlobalSettings(),[i,o]=u.useState(!1),[N,d]=u.useState(!1),x=u.useCallback(()=>{o(!1),d(!1)},[]),_=`${m}--nav-mobile`,h=i||N,p=c.slice(0,5),n=c.slice(5);return e.jsxs(C,{isOpen:l,onClose:t,header:e.jsx("div",{className:`${_}__branding`,children:e.jsx("div",{className:`${_}__logo`,children:r.logo.drawer||r.logo.main})}),widgets:e.jsxs("div",{className:`${_}__widgets`,children:[(a==null?void 0:a.search)&&e.jsxs("a",{className:`${_}__widgets-search`,href:a.search.url,"aria-label":"Search",children:[e.jsx("span",{className:`${_}__widgets-search__label`,children:a.search.label}),e.jsx("span",{className:`${_}__widgets-search__icon`})]}),(a==null?void 0:a.link)&&e.jsx($,{className:`${_}__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:`${_}__widgets-language`,onClick:()=>d(!0),"aria-expanded":N,"aria-controls":"language-list","aria-label":"Select language",children:[e.jsxs("span",{className:`${_}__widgets-language__label`,children:[a.language.label,": ",a.language.language]}),e.jsx("span",{className:`${_}__widgets-language__icon`})]})]}),children:[e.jsx(k,{menu:p}),!!n.length&&e.jsxs("button",{className:`${_}__more`,onClick:()=>o(!0),"aria-expanded":i,"aria-controls":"more-items","aria-label":"More items",children:[s.more,e.jsx("span",{className:`${_}__more__icon`})]}),e.jsx(C,{className:`${_}__nested`,header:e.jsxs("button",{className:`${_}__nested__header`,onClick:x,"aria-label":"Back to menu",children:[e.jsx("span",{className:`${_}__nested__header__icon`}),s.backToMenu]}),widgets:e.jsx("span",{className:`${_}__nested__title`,children:i?s.more:(v=a==null?void 0:a.language)==null?void 0:v.label}),isOpen:h,onClose:x,"aria-modal":"true",children:i?e.jsx(k,{menu:n,id:"more-items"}):e.jsx(D,{selected:((f=a==null?void 0:a.language)==null?void 0:f.language)||"",options:(g=a==null?void 0:a.language)==null?void 0:g.options,id:"language-list"})})]})};function G({menu:l,split:r}){const{breakpoint:c}=B.useBreakpoint(),[s,a]=u.useState(!1),[t,m]=u.useState(!1),[i,o]=u.useState(!1),N=u.useRef(null),d=["xl","xxl"].includes(c||"md"),x=d?r.desktop:r.mobile,_=l.slice(0,x),h=l.slice(x);return u.useEffect(()=>{o(!0)},[]),{menu:{facade:_,more:h},more:[s,a],mobile:[t,m],isDesktop:d,isClient:i,ref:N}}const y=({className:l,menu:r,more:c})=>{const{prefix:s}=j.useGlobalSettings(),a=`${s}--nav-menu`;return e.jsxs("div",{className:b.classNames(a,l),children:[e.jsx("ul",{className:`${a}__list`,children:r.map(({isActive:t,...m})=>{var o;const i=typeof t=="function"?t():t;return e.jsx("li",{className:`${a}__item`,children:e.jsx($,{...m,className:b.classNames({[`${a}__link`]:!0,[`${a}__link--active`]:i,[m.className||""]:m.className})})},(o=m.label)==null?void 0:o.toString())})}),c&&e.jsxs("button",{onClick:c.onClick,className:b.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`})]})]})},A=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{const{prefix:t}=j.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,N],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:4,mobile:2}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-compact`;return e.jsxs("header",{ref:h,className:n,children:[e.jsxs("div",{className:`${n}__container`,children:[e.jsxs("nav",{className:`${n}__nav`,children:[e.jsx("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(y,{className:`${n}__menu`,menu:m,more:i.length?{label:c.more,onClick:()=>N(!o),isOpen:o}:void 0})]}),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($,{className:`${n}__widget-bar-link`,href:s.link.href,label:s.link.label}),s.language&&p&&e.jsx("div",{className:`${n}__widget-bar-language`,children:e.jsx(O.LanguageToggle,{theme:"dark",...s.language,hideIcon:!_})}),s.search&&e.jsx($,{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":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__burger-icon`})})]}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),P=u.forwardRef(({props:{branding:l,menu:{items:r,labels:c},widgets:s}},a)=>{var v,f,g;const{prefix:t}=j.useGlobalSettings(),{menu:{facade:m,more:i},more:[o,N],mobile:[d,x],isDesktop:_,ref:h,isClient:p}=G({menu:r,split:{desktop:6,mobile:5}});u.useImperativeHandle(a,()=>h.current);const n=`${t}--subsite-nav-complex`;return e.jsxs("header",{ref:h,className:n,children:[e.jsx("div",{className:b.classNames(`${n}-bg--light`),children:e.jsxs("div",{className:b.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($,{href:s.link.href,label:s.link.label,className:`${n}__widgets-bar__link`}),(s==null?void 0:s.language)&&p&&e.jsx(O.LanguageToggle,{className:`${n}__widgets-bar__language`,...s.language,hideIcon:!_})]})]})}),e.jsx("div",{className:b.classNames(`${n}-bg--light`),children:e.jsxs("div",{className:b.classNames(`${n}__branding`,`${n}__container`),children:[e.jsx("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.jsxs("div",{className:`${n}__branding-tag`,children:[e.jsx("h4",{className:`${n}__branding-tag__main`,children:(v=l.tag)==null?void 0:v.main}),((f=l.tag)==null?void 0:f.sub)&&e.jsx("span",{className:`${n}__branding-tag__sub`,children:(g=l.tag)==null?void 0:g.sub})]})]})}),e.jsx("div",{className:b.classNames(`${n}-bg--dark`),children:e.jsxs("nav",{className:b.classNames(`${n}__nav`,`${n}__container`),children:[e.jsx("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})}),m&&e.jsx(y,{className:`${n}__nav-menu`,menu:m,more:i.length?{label:c.more,onClick:()=>N(!o),isOpen:o}:void 0}),(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":d,onClick:()=>x(!d),children:e.jsx("span",{className:`${n}__nav-burger__icon`})})]})}),i&&p&&e.jsx(S,{isOpen:o,navRef:h,children:e.jsx(M,{menu:i})}),p&&e.jsx(L,{isOpen:d,onClose:()=>{x(!1)},navigationProps:{widgets:s,branding:l,menu:{items:r,labels:c}}})]})}),R={complex:P,compact:A},T=u.forwardRef(({type:l="compact",props:r},c)=>{const s=R[l];return e.jsx(s,{ref:c,props:r})});exports.SubsiteNav=T;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),f=require("react"),q=require("./index-chunk-Cxg31gtu.js"),T=require("./useGlobalSettings-chunk-Cd48T6lS.js"),$=require("./Icon-chunk-DtOVpxQ-.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}=T.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=q.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)},N=()=>{let a;return g&&(a=e.jsx("li",{className:d,children:e.jsxs("button",{type:"button",className:r,onClick:S=>v(S),id:n,...c,children:[t,e.jsx($.Icon,{name:"close",hidden:!0})]})})),a};return e.jsx(e.Fragment,{children:b==="button"?e.jsx(e.Fragment,{children:N()}):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})]})})};exports.Tag=_;exports.TagSetContext=h;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./Accordion-entry-CmEtc6xU.js"),t=require("./Form-chunk-CyfJEjS9.js"),i=require("./Collapse-chunk-ocNUOS_3.js"),a=require("./Empty-chunk-CSXmTnRW.js"),n=require("./Image-chunk-bZyx8E0O.js"),u=require("./Loading-chunk-BAVpKjsu.js"),c=require("./Radio-chunk-C4PweUcm.js"),s=require("./Tag-chunk-pecicJx_.js"),d=require("./Button-chunk-GqAQVgEt.js"),l=require("./ContextMenu-chunk-DJWyl3UI.js"),q=require("./Fieldset-chunk-ChHFEwgQ.js"),C=require("./GlobalProvider-chunk-BmUbDojc.js"),b=require("./GlobalCtx-chunk-D_GlGcgw.js"),r=require("./TextInput.args-chunk-CZIwr5h8.js"),g=require("./Notification-chunk-2QCwWkyJ.js"),L=require("./ReadMore-chunk-DjPhO-lH.js"),T=require("./Textarea-chunk-yD7hFNC1.js"),x=require("./Callout-chunk-BfSmG_lo.js"),p=require("./FileUpload-chunk-Cs3yHoZ7.js"),P=require("./Heading-chunk-t4FvnOcp.js"),F=require("./Link-chunk-CP7cvvcX.js"),m=require("./NumberPicker-chunk-CTlAxdIK.js"),k=require("./RichText-chunk-vKgvdzZl.js"),S=require("./Tooltip-chunk-DlKiieYX.js"),v=require("./Checkbox-chunk-IcVAXUrv.js"),I=require("./DatePicker-chunk-3IOigKn5.js"),N=require("./Hero-chunk-BjL7EFZF.js"),f=require("./HeroCard-chunk-BxvdF3ec.js"),D=require("./LinkList-chunk-Duhkqb-C.js"),h=require("./Pagination-chunk-mrfIdsCC.js"),G=require("./SearchField-chunk-Co2k3NxN.js"),H=require("./Video-chunk-CEQmBL6F.js"),M=require("./Dropdown-chunk-DmxZPa5u.js"),R=require("./Icon-chunk-DtOVpxQ-.js"),B=require("./List-entry-Cr2Df-dK.js"),y=require("./Profile-chunk-BYt-KzV1.js"),O=require("./TableOfContents-chunk-CLa_-Dhd.js"),w=require("./Footer-chunk-TaoI4CW2.js"),A=require("./Navigation-entry-Cz0hT5co.js"),e=require("./CardGroup-chunk-Bdg6k3xe.js"),E=require("./Breadcrumb-chunk-Dpq0PkrL.js"),U=require("./Status-chunk-CaABjeKb.js"),V=require("./Tabs-chunk-CFtNDTSD.js"),_=require("./LanguageToggle-chunk-Cw7PRG8W.js"),$=require("./SubsiteNav-chunk-G3tutetq.js");exports.Accordion=o.Accordion;exports.Form=t.Form;exports.Collapse=i.Collapse;exports.Empty=a.Empty;exports.Image=n.Image;exports.Loading=u.Loading;exports.Radio=c.LabelledRadio;exports.Tag=s.Tag;exports.Button=d.Button;exports.ContextMenu=l.ContextMenu;exports.Fieldset=q.Fieldset;exports.GlobalProvider=C.GlobalProvider;exports.GlobalProviderContext=b.GlobalProviderContext;exports.TextInput=r.LabelledTextInput;exports.TextInputArgs=r.TextInput_args;exports.Notification=g.Notification;exports.ReadMore=L.ReadMore;exports.Textarea=T.LabelledTextarea;exports.Callout=x.Callout;exports.FileUpload=p.LabelledFileUpload;exports.Heading=P.Heading;exports.Link=F.Link;exports.NumberPicker=m.LabelledNumberPicker;exports.RichText=k.RichText;exports.Tooltip=S.Tooltip;exports.Checkbox=v.LabelledCheckbox;exports.DatePicker=I.LabelledDatePicker;exports.Hero=N.Hero;exports.HeroCard=f.HeroCard;exports.LinkList=D.LinkList;exports.Pagination=h.Pagination;exports.SearchField=G.SearchField;exports.Video=H.Video;exports.Dropdown=M.LabelledDropdown;exports.Icon=R.Icon;exports.List=B.List;exports.Profile=y.Profile;exports.TableOfContents=O.TableOfContents;exports.Footer=w.Footer;exports.Navigation=A.Navigation;exports.CardGroup=e.CardGroup;exports.DataCard=e.DataCard;exports.DetailCard=e.DetailCard;exports.FactListCard=e.FactListCard;exports.FeatureCard=e.FeatureCard;exports.MultiLinkCard=e.MultiLinkCard;exports.PromoCard=e.PromoCard;exports.ScoreCard=e.ScoreCard;exports.StatCard=e.StatCard;exports.TextCard=e.TextCard;exports.Breadcrumb=E.Breadcrumb;exports.Status=U.Status;exports.Tabs=V.Tabs;exports.LanguageToggle=_.LanguageToggle;exports.SubsiteNav=$.SubsiteNav;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const d=require("react"),f=n=>{const s=Object.keys(n).sort((t,i)=>n[i]-n[t]);return s.map((t,i)=>{let o="";const a=n[t],c=s[i-1],e=c?n[c]:null;return a>=0&&(o=`(min-width: ${a}px)`),e!==null&&(o&&(o+=" and "),o+=`(max-width: ${e-1}px)`),{breakpoint:t,maxWidth:e?e-1:null,minWidth:a,query:o}})},h={breakpoint:null,minWidth:null,maxWidth:null,query:null},p=(n,s)=>{const t=d.useMemo(()=>f(n),[n]),i=d.useCallback(e=>{const r=[];return t.forEach(({query:l})=>{const u=window.matchMedia(l),m="addEventListener"in u&&"removeEventListener"in u;m?u.addEventListener("change",e):u.addListener(e),r.push(m?()=>u.removeEventListener("change",e):()=>u.removeListener(e))}),()=>r.forEach(l=>l())},[t]),o=d.useCallback(()=>{const e=t.find(r=>window.matchMedia(r.query).matches);if(e)return e;if(s){const r=t.find(l=>l.breakpoint===s);if(r)return r}return h},[s,t]),a=d.useCallback(()=>t.find(r=>r.breakpoint===s)??h,[s,t]),c=d.useSyncExternalStore(i,o,a);return d.useDebugValue(c,e=>typeof e.breakpoint=="string"?`${e.breakpoint} (${e.minWidth} ≤ x${e.maxWidth?` < ${e.maxWidth+1}`:""})`:""),c},y=typeof window<"u"&&typeof document<"u",w=["xs","sm","md","lg","xl","xxl"],x={xs:320,sm:414,md:610,lg:1024,xl:1140,xxl:1440},g=y?w.reduce((n,s)=>{const t=window.getComputedStyle(document.body),i=parseInt(t.getPropertyValue(`--ilo-breakpoint-${s}`));return i&&(n[s]=i),n},x):x,E=p.bind(null,g);exports.useBreakpoint=E;
|
|
@@ -1,507 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as C, isValidElement as P, createElement as F, Fragment as I } from "react";
|
|
3
|
-
import { c as f } from "./index-chunk-CY3PQDr4.js";
|
|
4
|
-
import { u as w } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { B as b } from "./Button-chunk-BvX6KNZ6.js";
|
|
6
|
-
import { L as D } from "./Link-chunk-DgmjE6xb.js";
|
|
7
|
-
import { L as x } from "./LinkList-chunk-D5z3Upbc.js";
|
|
8
|
-
import { P as M } from "./Profile-chunk-D0RBDgln.js";
|
|
9
|
-
import { I as L } from "./Icon-chunk-DxouZQcV.js";
|
|
10
|
-
import { List as T } from "./List-entry-oG99Ip94.js";
|
|
11
|
-
import { P as j } from "./Picture-chunk-DsW0ODDG.js";
|
|
12
|
-
import { S as B } from "./Status-chunk-CjagfPq5.js";
|
|
13
|
-
const E = C(
|
|
14
|
-
({
|
|
15
|
-
className: N,
|
|
16
|
-
title: c,
|
|
17
|
-
theme: r = "light",
|
|
18
|
-
size: a = "standard",
|
|
19
|
-
color: o,
|
|
20
|
-
intro: $,
|
|
21
|
-
source: n,
|
|
22
|
-
titleLevel: p = "p"
|
|
23
|
-
}, i) => {
|
|
24
|
-
const { prefix: s } = w(), d = `${s}--card`, m = f(`${d}--wrapper`, N), _ = f(d, `${d}__type__stat`, {
|
|
25
|
-
[`${d}__size__${String(a)}`]: a,
|
|
26
|
-
[`${d}__theme__${r}`]: r,
|
|
27
|
-
[`${d}__color__${o}`]: o
|
|
28
|
-
});
|
|
29
|
-
return /* @__PURE__ */ e("div", { className: m, ref: i, children: /* @__PURE__ */ e("div", { className: _, children: /* @__PURE__ */ e("div", { className: `${d}--wrap`, children: /* @__PURE__ */ h("div", { className: `${d}--content`, children: [
|
|
30
|
-
/* @__PURE__ */ e(p, { className: `${d}--title`, children: c }),
|
|
31
|
-
$ && /* @__PURE__ */ e("p", { className: `${d}--intro`, children: $ }),
|
|
32
|
-
n && /* @__PURE__ */ e(
|
|
33
|
-
D,
|
|
34
|
-
{
|
|
35
|
-
className: `${d}--source`,
|
|
36
|
-
url: n.url,
|
|
37
|
-
label: n.label
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
] }) }) }) });
|
|
41
|
-
}
|
|
42
|
-
), R = C(
|
|
43
|
-
({
|
|
44
|
-
className: N,
|
|
45
|
-
title: c,
|
|
46
|
-
size: r = "standard",
|
|
47
|
-
alignment: a,
|
|
48
|
-
intro: o,
|
|
49
|
-
link: $,
|
|
50
|
-
linklist: n,
|
|
51
|
-
image: p,
|
|
52
|
-
titleLevel: i = "p",
|
|
53
|
-
eyebrow: s,
|
|
54
|
-
isVideo: d,
|
|
55
|
-
theme: m = "light"
|
|
56
|
-
}, _) => {
|
|
57
|
-
const { prefix: l } = w(), t = `${l}--card`, v = f(
|
|
58
|
-
t,
|
|
59
|
-
N,
|
|
60
|
-
`${t}__type__multilink`,
|
|
61
|
-
{
|
|
62
|
-
[`${t}__align__${a}`]: a,
|
|
63
|
-
[`${t}__size__${r}`]: r,
|
|
64
|
-
[`${t}__isvideo`]: d,
|
|
65
|
-
[`${t}--no-image`]: !p,
|
|
66
|
-
[`${t}__theme__${m}`]: m
|
|
67
|
-
}
|
|
68
|
-
);
|
|
69
|
-
return /* @__PURE__ */ h("div", { className: v, ref: _, children: [
|
|
70
|
-
$ && /* @__PURE__ */ e("a", { className: `${t}--link`, href: $, title: c, children: /* @__PURE__ */ e("span", { className: `${t}--link--text`, children: c }) }),
|
|
71
|
-
/* @__PURE__ */ h("div", { className: `${t}--wrap`, children: [
|
|
72
|
-
p && /* @__PURE__ */ e("div", { className: `${t}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
73
|
-
"img",
|
|
74
|
-
{
|
|
75
|
-
src: p,
|
|
76
|
-
alt: c,
|
|
77
|
-
className: `${t}--picture`
|
|
78
|
-
}
|
|
79
|
-
) }) }),
|
|
80
|
-
/* @__PURE__ */ h("div", { className: `${t}--content`, children: [
|
|
81
|
-
s && /* @__PURE__ */ e("p", { className: `${t}--eyebrow`, children: s }),
|
|
82
|
-
/* @__PURE__ */ e(i, { className: `${t}--title`, children: c }),
|
|
83
|
-
p && /* @__PURE__ */ e("div", { className: `${t}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
84
|
-
"img",
|
|
85
|
-
{
|
|
86
|
-
src: p,
|
|
87
|
-
alt: c,
|
|
88
|
-
className: `${t}--picture`
|
|
89
|
-
}
|
|
90
|
-
) }) }),
|
|
91
|
-
o && (P(o) ? /* @__PURE__ */ e("div", { className: `${t}--intro`, children: o }) : /* @__PURE__ */ e("p", { className: `${t}--intro`, children: o })),
|
|
92
|
-
n && /* @__PURE__ */ e(x, { ...n })
|
|
93
|
-
] })
|
|
94
|
-
] })
|
|
95
|
-
] });
|
|
96
|
-
}
|
|
97
|
-
), z = C(
|
|
98
|
-
({
|
|
99
|
-
className: N,
|
|
100
|
-
title: c,
|
|
101
|
-
theme: r = "light",
|
|
102
|
-
size: a = "narrow",
|
|
103
|
-
date: o,
|
|
104
|
-
profile: $,
|
|
105
|
-
link: n,
|
|
106
|
-
titleLevel: p = "p",
|
|
107
|
-
eyebrow: i
|
|
108
|
-
}, s) => {
|
|
109
|
-
const { prefix: d } = w(), m = `${d}--card`, _ = f(`${m}--wrapper`, N), l = f(m, `${m}__type__text`, {
|
|
110
|
-
[`${m}__size__${String(a)}`]: a,
|
|
111
|
-
[`${m}__theme__${r}`]: r
|
|
112
|
-
});
|
|
113
|
-
return /* @__PURE__ */ e("div", { className: _, ref: s, children: /* @__PURE__ */ h("div", { className: l, children: [
|
|
114
|
-
/* @__PURE__ */ e("a", { className: `${m}--link`, href: n, title: c, children: /* @__PURE__ */ e("span", { className: `${m}--link--text`, children: c }) }),
|
|
115
|
-
/* @__PURE__ */ e("div", { className: `${m}--wrap`, children: /* @__PURE__ */ h("div", { className: `${m}--content`, children: [
|
|
116
|
-
i && /* @__PURE__ */ e("p", { className: `${m}--eyebrow`, children: i }),
|
|
117
|
-
/* @__PURE__ */ e(p, { className: `${m}--title`, children: c }),
|
|
118
|
-
o && /* @__PURE__ */ e("time", { className: `${m}--date`, dateTime: o.unix, children: o.human }),
|
|
119
|
-
$ && /* @__PURE__ */ e(
|
|
120
|
-
M,
|
|
121
|
-
{
|
|
122
|
-
avatar: $.avatar,
|
|
123
|
-
description: $.description,
|
|
124
|
-
link: $.link,
|
|
125
|
-
name: $.name,
|
|
126
|
-
role: $.role,
|
|
127
|
-
theme: r
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
] }) })
|
|
131
|
-
] }) });
|
|
132
|
-
}
|
|
133
|
-
), V = C(
|
|
134
|
-
({
|
|
135
|
-
className: N,
|
|
136
|
-
title: c,
|
|
137
|
-
theme: r = "light",
|
|
138
|
-
size: a = "narrow",
|
|
139
|
-
cornercut: o,
|
|
140
|
-
intro: $,
|
|
141
|
-
link: n,
|
|
142
|
-
cta: p,
|
|
143
|
-
titleLevel: i = "p",
|
|
144
|
-
eyebrow: s
|
|
145
|
-
}, d) => {
|
|
146
|
-
const { prefix: m } = w(), _ = `${m}--card`, l = f(
|
|
147
|
-
`${_}--wrapper`,
|
|
148
|
-
N,
|
|
149
|
-
`${_}--wrapper__type__promo`,
|
|
150
|
-
`${_}--wrapper__type__promo__size__${a}`
|
|
151
|
-
), t = f(_, `${_}__type__promo`, {
|
|
152
|
-
[`${_}__size__${String(a)}`]: a,
|
|
153
|
-
[`${_}__theme__${r}`]: r,
|
|
154
|
-
[`${_}__cornercut`]: o
|
|
155
|
-
});
|
|
156
|
-
return /* @__PURE__ */ e("div", { className: l, ref: d, children: /* @__PURE__ */ h("div", { className: t, children: [
|
|
157
|
-
/* @__PURE__ */ e("a", { className: `${_}--link`, href: n, title: c, children: /* @__PURE__ */ e("span", { className: `${_}--link--text`, children: c }) }),
|
|
158
|
-
/* @__PURE__ */ e("div", { className: `${_}--wrap`, children: /* @__PURE__ */ h("div", { className: `${_}--content`, children: [
|
|
159
|
-
s && /* @__PURE__ */ e("p", { className: `${_}--eyebrow`, children: s }),
|
|
160
|
-
/* @__PURE__ */ e(i, { className: `${_}--title`, children: c }),
|
|
161
|
-
$ && /* @__PURE__ */ e("p", { className: `${_}--intro`, children: $ }),
|
|
162
|
-
(p == null ? void 0 : p.label) && /* @__PURE__ */ e("div", { className: `${_}--cta`, children: /* @__PURE__ */ e(
|
|
163
|
-
b,
|
|
164
|
-
{
|
|
165
|
-
link: { url: p.url, label: p.label },
|
|
166
|
-
size: "medium",
|
|
167
|
-
type: "primary"
|
|
168
|
-
}
|
|
169
|
-
) })
|
|
170
|
-
] }) })
|
|
171
|
-
] }) });
|
|
172
|
-
}
|
|
173
|
-
), q = C(
|
|
174
|
-
({
|
|
175
|
-
className: N,
|
|
176
|
-
title: c,
|
|
177
|
-
theme: r = "light",
|
|
178
|
-
size: a = "narrow",
|
|
179
|
-
date: o,
|
|
180
|
-
link: $,
|
|
181
|
-
linklist: n,
|
|
182
|
-
image: p,
|
|
183
|
-
titleLevel: i = "p",
|
|
184
|
-
eyebrow: s,
|
|
185
|
-
isVideo: d
|
|
186
|
-
}, m) => {
|
|
187
|
-
const { prefix: _ } = w(), l = `${_}--card`, t = f(
|
|
188
|
-
l,
|
|
189
|
-
N,
|
|
190
|
-
`${l}__type__feature`,
|
|
191
|
-
{
|
|
192
|
-
[`${l}__size__${String(a)}`]: a,
|
|
193
|
-
[`${l}__theme__${r}`]: r,
|
|
194
|
-
[`${l}__isvideo`]: d,
|
|
195
|
-
[`${l}__linklist`]: n
|
|
196
|
-
}
|
|
197
|
-
);
|
|
198
|
-
return /* @__PURE__ */ h("div", { className: t, ref: m, children: [
|
|
199
|
-
$ && /* @__PURE__ */ e("a", { className: `${l}--link`, href: $, title: c, children: /* @__PURE__ */ e("span", { className: `${l}--link--text`, children: c }) }),
|
|
200
|
-
/* @__PURE__ */ h("div", { className: `${l}--wrap`, children: [
|
|
201
|
-
p && /* @__PURE__ */ e("div", { className: `${l}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
202
|
-
"img",
|
|
203
|
-
{
|
|
204
|
-
src: p,
|
|
205
|
-
alt: c,
|
|
206
|
-
className: `${l}--picture`
|
|
207
|
-
}
|
|
208
|
-
) }) }),
|
|
209
|
-
/* @__PURE__ */ h("div", { className: `${l}--content`, children: [
|
|
210
|
-
s && /* @__PURE__ */ e("p", { className: `${l}--eyebrow`, children: s }),
|
|
211
|
-
/* @__PURE__ */ e(i, { className: `${l}--title`, children: c }),
|
|
212
|
-
o && /* @__PURE__ */ e("time", { className: `${l}--date`, dateTime: o.unix, children: o.human }),
|
|
213
|
-
n && a === "narrow" && /* @__PURE__ */ e(
|
|
214
|
-
x,
|
|
215
|
-
{
|
|
216
|
-
headline: n.headline,
|
|
217
|
-
linkgroup: n.linkgroup,
|
|
218
|
-
theme: r
|
|
219
|
-
}
|
|
220
|
-
)
|
|
221
|
-
] })
|
|
222
|
-
] }),
|
|
223
|
-
n && (a === "wide" || a === "fluid") && /* @__PURE__ */ e(
|
|
224
|
-
x,
|
|
225
|
-
{
|
|
226
|
-
headline: n.headline,
|
|
227
|
-
linkgroup: n.linkgroup,
|
|
228
|
-
theme: r
|
|
229
|
-
}
|
|
230
|
-
)
|
|
231
|
-
] });
|
|
232
|
-
}
|
|
233
|
-
), A = C(
|
|
234
|
-
({
|
|
235
|
-
className: N,
|
|
236
|
-
title: c,
|
|
237
|
-
theme: r = "light",
|
|
238
|
-
size: a = "narrow",
|
|
239
|
-
date: o,
|
|
240
|
-
details: $,
|
|
241
|
-
link: n,
|
|
242
|
-
titleLevel: p = "p",
|
|
243
|
-
eyebrow: i,
|
|
244
|
-
intro: s,
|
|
245
|
-
image: d,
|
|
246
|
-
isVideo: m = !1,
|
|
247
|
-
linkComponent: _
|
|
248
|
-
}, l) => {
|
|
249
|
-
const { prefix: t } = w(), v = `${t}--card`, u = f(
|
|
250
|
-
v,
|
|
251
|
-
`${v}__type__detail`,
|
|
252
|
-
N,
|
|
253
|
-
{
|
|
254
|
-
[`${v}__size__${String(a)}`]: a,
|
|
255
|
-
[`${v}__theme__${r}`]: r,
|
|
256
|
-
[`${v}__isvideo`]: m
|
|
257
|
-
}
|
|
258
|
-
), k = F(
|
|
259
|
-
_ || "a",
|
|
260
|
-
{
|
|
261
|
-
className: `${v}--link`,
|
|
262
|
-
href: n,
|
|
263
|
-
title: c
|
|
264
|
-
},
|
|
265
|
-
/* @__PURE__ */ e("span", { className: `${v}--link--text`, children: c })
|
|
266
|
-
);
|
|
267
|
-
return /* @__PURE__ */ h("div", { className: u, ref: l, children: [
|
|
268
|
-
n && k,
|
|
269
|
-
/* @__PURE__ */ h("div", { className: `${v}--wrap`, children: [
|
|
270
|
-
d && /* @__PURE__ */ e("div", { className: `${v}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
271
|
-
"img",
|
|
272
|
-
{
|
|
273
|
-
className: `${v}--picture`,
|
|
274
|
-
src: d,
|
|
275
|
-
alt: c
|
|
276
|
-
}
|
|
277
|
-
) }) }),
|
|
278
|
-
/* @__PURE__ */ h("div", { className: `${v}--content`, children: [
|
|
279
|
-
i && /* @__PURE__ */ e("p", { className: `${v}--eyebrow`, children: i }),
|
|
280
|
-
c && /* @__PURE__ */ e(p, { className: `${v}--title`, children: c }),
|
|
281
|
-
s && (P(s) ? /* @__PURE__ */ e("div", { className: `${v}--intro`, children: s }) : /* @__PURE__ */ e("p", { className: `${v}--intro`, children: s })),
|
|
282
|
-
o && !$ && /* @__PURE__ */ e("time", { className: `${v}--date`, dateTime: o.unix, children: o.human }),
|
|
283
|
-
$ && /* @__PURE__ */ h("p", { className: `${v}--date-extra`, children: [
|
|
284
|
-
/* @__PURE__ */ e(
|
|
285
|
-
L,
|
|
286
|
-
{
|
|
287
|
-
name: "TriangleRight",
|
|
288
|
-
size: 20,
|
|
289
|
-
className: `${v}--icon-right`
|
|
290
|
-
}
|
|
291
|
-
),
|
|
292
|
-
/* @__PURE__ */ e(
|
|
293
|
-
L,
|
|
294
|
-
{
|
|
295
|
-
name: "TriangleLeft",
|
|
296
|
-
size: 20,
|
|
297
|
-
className: `${v}--icon-left`
|
|
298
|
-
}
|
|
299
|
-
),
|
|
300
|
-
$
|
|
301
|
-
] })
|
|
302
|
-
] })
|
|
303
|
-
] })
|
|
304
|
-
] });
|
|
305
|
-
}
|
|
306
|
-
), H = C(
|
|
307
|
-
({
|
|
308
|
-
title: N,
|
|
309
|
-
theme: c = "light",
|
|
310
|
-
size: r = "narrow",
|
|
311
|
-
list: a,
|
|
312
|
-
titleLevel: o = "p",
|
|
313
|
-
className: $
|
|
314
|
-
}, n) => {
|
|
315
|
-
const { prefix: p } = w(), i = `${p}--card`, s = f(
|
|
316
|
-
i,
|
|
317
|
-
`${i}__type__factlist`,
|
|
318
|
-
$,
|
|
319
|
-
{
|
|
320
|
-
[`${i}__size__${r}`]: r,
|
|
321
|
-
[`${i}__theme__${c}`]: c
|
|
322
|
-
}
|
|
323
|
-
);
|
|
324
|
-
return /* @__PURE__ */ e("div", { className: s, ref: n, children: /* @__PURE__ */ e("div", { className: `${i}--wrap`, children: /* @__PURE__ */ h("div", { className: `${i}--content`, children: [
|
|
325
|
-
N && /* @__PURE__ */ e(o, { className: `${p}--card--title`, children: N }),
|
|
326
|
-
/* @__PURE__ */ e(T, { alignment: "default", ordered: "unordered", theme: c, children: a.map((d) => /* @__PURE__ */ e(T.Item, { children: /* @__PURE__ */ e("p", { children: d }) }, d)) })
|
|
327
|
-
] }) }) });
|
|
328
|
-
}
|
|
329
|
-
), J = C(
|
|
330
|
-
({ eyebrow: N, size: c = "narrow", image: r, dataset: a, columns: o = "one", className: $ }, n) => {
|
|
331
|
-
var _;
|
|
332
|
-
const { prefix: p } = w(), i = c === "narrow" ? "one" : o, s = `${p}--card`, d = f(
|
|
333
|
-
s,
|
|
334
|
-
`${s}__type__data`,
|
|
335
|
-
$,
|
|
336
|
-
{
|
|
337
|
-
[`${s}__size__${String(c)}`]: c,
|
|
338
|
-
[`${s}__type__data__columns__${i}`]: i
|
|
339
|
-
}
|
|
340
|
-
), m = f(`${s}--content`, {
|
|
341
|
-
[`${s}--content__with-image`]: r,
|
|
342
|
-
[`${s}--content__no-image-with-links`]: !r && (a == null ? void 0 : a.links),
|
|
343
|
-
[`${s}--content__default`]: !r && !(a != null && a.links)
|
|
344
|
-
});
|
|
345
|
-
return /* @__PURE__ */ e("div", { className: d, ref: n, children: /* @__PURE__ */ h("div", { className: `${s}--wrap`, children: [
|
|
346
|
-
!r && N && /* @__PURE__ */ e("div", { className: `${s}--eyebrow`, children: N }),
|
|
347
|
-
/* @__PURE__ */ h("div", { className: m, children: [
|
|
348
|
-
r && /* @__PURE__ */ h("div", { className: `${s}--area--image`, children: [
|
|
349
|
-
N && /* @__PURE__ */ e("div", { className: `${s}--eyebrow`, children: N }),
|
|
350
|
-
/* @__PURE__ */ e("div", { className: `${s}--image`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
351
|
-
"img",
|
|
352
|
-
{
|
|
353
|
-
className: `${s}--picture`,
|
|
354
|
-
src: r,
|
|
355
|
-
alt: N
|
|
356
|
-
}
|
|
357
|
-
) }) })
|
|
358
|
-
] }),
|
|
359
|
-
(_ = a == null ? void 0 : a.content) == null ? void 0 : _.items.map((l, t) => /* @__PURE__ */ h("div", { className: `${s}--area--content`, children: [
|
|
360
|
-
/* @__PURE__ */ e("p", { className: `${s}__type__data--content-label`, children: l.label }),
|
|
361
|
-
/* @__PURE__ */ e("p", { className: `${s}__type__data--content-copy`, children: l.copy })
|
|
362
|
-
] }, t)),
|
|
363
|
-
(a == null ? void 0 : a.files) && /* @__PURE__ */ e("div", { className: `${s}--area--files`, children: /* @__PURE__ */ h("div", { className: `${s}__type__data--content-files`, children: [
|
|
364
|
-
/* @__PURE__ */ e("p", { className: `${s}__type__data--content-label`, children: a.files.headline }),
|
|
365
|
-
a.files.items.map((l, t) => /* @__PURE__ */ e(
|
|
366
|
-
b,
|
|
367
|
-
{
|
|
368
|
-
link: {
|
|
369
|
-
url: l.url,
|
|
370
|
-
label: l.label,
|
|
371
|
-
target: l.target || "_self"
|
|
372
|
-
},
|
|
373
|
-
size: "small"
|
|
374
|
-
},
|
|
375
|
-
t
|
|
376
|
-
))
|
|
377
|
-
] }) }),
|
|
378
|
-
(a == null ? void 0 : a.cta) && /* @__PURE__ */ e("div", { className: `${s}--area--cta`, children: /* @__PURE__ */ h("div", { className: `${s}__type__data--content-cta`, children: [
|
|
379
|
-
/* @__PURE__ */ e("p", { className: `${s}__type__data--content-label`, children: a.cta.headline }),
|
|
380
|
-
a.cta.items.map((l) => /* @__PURE__ */ e(
|
|
381
|
-
b,
|
|
382
|
-
{
|
|
383
|
-
type: "secondary",
|
|
384
|
-
size: "small",
|
|
385
|
-
link: {
|
|
386
|
-
url: l.url,
|
|
387
|
-
label: l.label,
|
|
388
|
-
target: l.target
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
l.label
|
|
392
|
-
))
|
|
393
|
-
] }) }),
|
|
394
|
-
(a == null ? void 0 : a.links) && /* @__PURE__ */ e("div", { className: `${s}--area--links`, children: /* @__PURE__ */ h("div", { className: `${s}__type__data--content-links`, children: [
|
|
395
|
-
/* @__PURE__ */ e("p", { className: `${s}__type__data--content-label`, children: a.links.headline }),
|
|
396
|
-
/* @__PURE__ */ e(
|
|
397
|
-
"div",
|
|
398
|
-
{
|
|
399
|
-
className: `${s}__type__data--content-links-list`,
|
|
400
|
-
children: a.links.items.map((l) => /* @__PURE__ */ e(I, { children: /* @__PURE__ */ e(
|
|
401
|
-
D,
|
|
402
|
-
{
|
|
403
|
-
url: l.url,
|
|
404
|
-
label: l.label,
|
|
405
|
-
className: `${s}__type__data--content-link`
|
|
406
|
-
}
|
|
407
|
-
) }, l.label + l.url))
|
|
408
|
-
}
|
|
409
|
-
)
|
|
410
|
-
] }) })
|
|
411
|
-
] })
|
|
412
|
-
] }) });
|
|
413
|
-
}
|
|
414
|
-
), K = C(
|
|
415
|
-
({
|
|
416
|
-
className: N,
|
|
417
|
-
theme: c = "light",
|
|
418
|
-
titleLevel: r = "p",
|
|
419
|
-
size: a = "narrow",
|
|
420
|
-
link: o,
|
|
421
|
-
linkComponent: $,
|
|
422
|
-
title: n,
|
|
423
|
-
isVideo: p = !1,
|
|
424
|
-
image: i,
|
|
425
|
-
status: s,
|
|
426
|
-
eyebrow: d,
|
|
427
|
-
content: m,
|
|
428
|
-
cta: _
|
|
429
|
-
}, l) => {
|
|
430
|
-
var S;
|
|
431
|
-
const { prefix: t } = w(), v = c === "dark" ? "var(--ilo-color-white)" : "var(--ilo-color-gray-accessible)", u = `${t}--card`, k = f(u, `${u}__type__score`, {
|
|
432
|
-
[`${u}__theme__${c}`]: c,
|
|
433
|
-
[`${u}__size__${a}`]: a,
|
|
434
|
-
[`${u}__isvideo`]: p
|
|
435
|
-
}), G = F(
|
|
436
|
-
$ || "a",
|
|
437
|
-
{
|
|
438
|
-
href: o,
|
|
439
|
-
title: n,
|
|
440
|
-
className: `${u}--link`
|
|
441
|
-
},
|
|
442
|
-
/* @__PURE__ */ e("span", { className: `${u}--link--text`, children: n })
|
|
443
|
-
);
|
|
444
|
-
return /* @__PURE__ */ h("div", { className: f(k, N), ref: l, children: [
|
|
445
|
-
G,
|
|
446
|
-
/* @__PURE__ */ h("div", { className: `${u}--wrap`, children: [
|
|
447
|
-
i && a !== "simple" && /* @__PURE__ */ e("div", { className: `${u}--image--wrapper`, children: /* @__PURE__ */ e(j, { ...i }) }),
|
|
448
|
-
/* @__PURE__ */ h("div", { className: `${u}--content`, children: [
|
|
449
|
-
s && /* @__PURE__ */ e(B, { content: s.content, statusType: s.statusType }),
|
|
450
|
-
d && a !== "simple" && /* @__PURE__ */ e("p", { className: `${u}--eyebrow`, children: d }),
|
|
451
|
-
n && /* @__PURE__ */ e(r, { className: `${u}--title`, children: n }),
|
|
452
|
-
m && /* @__PURE__ */ e("div", { className: `${u}--area--content`, children: (S = m.items) == null ? void 0 : S.map((g, y) => /* @__PURE__ */ h("div", { className: `${u}--content--item`, children: [
|
|
453
|
-
/* @__PURE__ */ e(L, { name: g.icon, size: 20, color: v }),
|
|
454
|
-
/* @__PURE__ */ e("span", { children: g.label })
|
|
455
|
-
] }, y)) }),
|
|
456
|
-
_ && /* @__PURE__ */ e("div", { className: `${u}--area--cta`, children: _.items.map((g, y) => /* @__PURE__ */ e("div", { className: `${u}--cta`, children: g }, y)) })
|
|
457
|
-
] })
|
|
458
|
-
] })
|
|
459
|
-
] });
|
|
460
|
-
}
|
|
461
|
-
), O = {
|
|
462
|
-
stat: E,
|
|
463
|
-
multilink: R,
|
|
464
|
-
text: z,
|
|
465
|
-
promo: V,
|
|
466
|
-
feature: q,
|
|
467
|
-
detail: A,
|
|
468
|
-
factlist: H,
|
|
469
|
-
data: J,
|
|
470
|
-
score: K
|
|
471
|
-
}, ne = C(
|
|
472
|
-
({ type: N, group: c, cardCount: r = "one", cta: a, collapsed: o = !1 }, $) => {
|
|
473
|
-
const n = O[N], { prefix: p } = w(), i = `${p}--cardgroup`, s = f(
|
|
474
|
-
i,
|
|
475
|
-
`${i}__count__${r}`,
|
|
476
|
-
{
|
|
477
|
-
[`${i}__collapsed`]: o
|
|
478
|
-
}
|
|
479
|
-
);
|
|
480
|
-
return /* @__PURE__ */ h("div", { className: s, ref: $, children: [
|
|
481
|
-
/* @__PURE__ */ e("div", { className: `${i}--inner`, children: c.map((d, m) => /* @__PURE__ */ e(n, { ...d }, m)) }),
|
|
482
|
-
a && /* @__PURE__ */ e("div", { className: `${i}--button-wrap`, children: /* @__PURE__ */ e(
|
|
483
|
-
b,
|
|
484
|
-
{
|
|
485
|
-
link: {
|
|
486
|
-
url: a.url,
|
|
487
|
-
label: a.label
|
|
488
|
-
},
|
|
489
|
-
type: "secondary",
|
|
490
|
-
size: "medium"
|
|
491
|
-
}
|
|
492
|
-
) })
|
|
493
|
-
] });
|
|
494
|
-
}
|
|
495
|
-
);
|
|
496
|
-
export {
|
|
497
|
-
ne as C,
|
|
498
|
-
A as D,
|
|
499
|
-
q as F,
|
|
500
|
-
R as M,
|
|
501
|
-
V as P,
|
|
502
|
-
E as S,
|
|
503
|
-
z as T,
|
|
504
|
-
H as a,
|
|
505
|
-
J as b,
|
|
506
|
-
K as c
|
|
507
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as u, useId as p } from "react";
|
|
3
|
-
import { c as s } from "./index-chunk-CY3PQDr4.js";
|
|
4
|
-
import { u as d } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { createPortal as f } from "react-dom";
|
|
6
|
-
const b = u(
|
|
7
|
-
({ className: a, links: c, withPortal: r = !1 }, m) => {
|
|
8
|
-
const { prefix: t } = d(), l = p(), n = /* @__PURE__ */ o(
|
|
9
|
-
"ol",
|
|
10
|
-
{
|
|
11
|
-
className: s(`${t}--context-menu`, a),
|
|
12
|
-
id: `${t}--context-menu-${l}`,
|
|
13
|
-
ref: m,
|
|
14
|
-
children: c.map((e) => /* @__PURE__ */ o(
|
|
15
|
-
"li",
|
|
16
|
-
{
|
|
17
|
-
className: s(`${t}--context-menu--item`, {
|
|
18
|
-
endsection: e.endsection,
|
|
19
|
-
className: e.className
|
|
20
|
-
}),
|
|
21
|
-
children: e.component ? /* @__PURE__ */ o(
|
|
22
|
-
e.component,
|
|
23
|
-
{
|
|
24
|
-
className: `${t}--context-menu--link`,
|
|
25
|
-
href: e.url,
|
|
26
|
-
...e.componentProps,
|
|
27
|
-
children: /* @__PURE__ */ o("span", { className: `${t}--context-menu--label`, children: e.label })
|
|
28
|
-
}
|
|
29
|
-
) : /* @__PURE__ */ o("a", { href: e.url, className: `${t}--context-menu--link`, children: /* @__PURE__ */ o("span", { className: `${t}--context-menu--label`, children: e.label }) })
|
|
30
|
-
},
|
|
31
|
-
`${e.label}-${e.url}`
|
|
32
|
-
))
|
|
33
|
-
}
|
|
34
|
-
);
|
|
35
|
-
return r ? f(n, document.body) : n;
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
export {
|
|
39
|
-
b as C
|
|
40
|
-
};
|