@ilo-org/react 0.19.0 → 0.21.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/Blockquote-entry-BwhpFsWX.js +1 -0
- package/lib/cjs/_store/{Breadcrumb-chunk-BGt10GMr.js → Breadcrumb-chunk-DkUvpxym.js} +1 -1
- package/lib/cjs/_store/{Breadcrumb-entry-BcWOPogy.js → Breadcrumb-entry-PID5wRYn.js} +1 -1
- package/lib/cjs/_store/Button-chunk-D32W9ElW.js +1 -0
- package/lib/cjs/_store/Button-entry-CKgu8Gr2.js +1 -0
- package/lib/cjs/_store/Callout-chunk-CQirdJVX.js +1 -0
- package/lib/cjs/_store/Callout-entry-Dtce24cy.js +1 -0
- package/lib/cjs/_store/CardGroup-chunk-C_EtI9iK.js +1 -0
- package/lib/cjs/_store/Cards-entry-C_9kqjEx.js +1 -0
- package/lib/cjs/_store/ContextMenu-chunk-Dl3-wUCt.js +1 -0
- package/lib/cjs/_store/{ContextMenu-entry-UwZc4yU3.js → ContextMenu-entry-Bzzoi_xM.js} +1 -1
- package/lib/cjs/_store/Footer-chunk-6AdazgST.js +1 -0
- package/lib/cjs/_store/{Footer-entry-CI7x98xM.js → Footer-entry-D6eg1T-c.js} +1 -1
- package/lib/cjs/_store/{Hero-chunk-DiUWCO_D.js → Hero-chunk-B3vu8ihD.js} +1 -1
- package/lib/cjs/_store/{Hero-entry-AK8D7qYH.js → Hero-entry-CAssbp0C.js} +1 -1
- package/lib/cjs/_store/{HeroCard-chunk-CCNjdbBJ.js → HeroCard-chunk-Cdyuf9Gw.js} +1 -1
- package/lib/cjs/_store/{HeroCard-entry-BGUHZKKh.js → HeroCard-entry-Z_H24PlF.js} +1 -1
- package/lib/cjs/_store/Icon-chunk-Dej6jVSI.js +1 -0
- package/lib/cjs/_store/{Icon-entry-8e8qxrkm.js → Icon-entry-DCjXkjhC.js} +1 -1
- package/lib/cjs/_store/LanguageToggle-chunk-CrtaBUlW.js +1 -0
- package/lib/cjs/_store/LanguageToggle-entry-CHgP8iuU.js +1 -0
- package/lib/cjs/_store/Link-chunk-BfaKuVjz.js +1 -0
- package/lib/cjs/_store/{Link-entry-CFNVpDIo.js → Link-entry-BvkC504w.js} +1 -1
- package/lib/cjs/_store/LinkList-chunk-Eu43ZSAZ.js +1 -0
- package/lib/cjs/_store/{LinkList-entry-C2ZrAw9R.js → LinkList-entry-CUlAuyeY.js} +1 -1
- package/lib/cjs/_store/List-entry-DzqbzyL4.js +1 -0
- package/lib/cjs/_store/Nav-entry-BxYm9ulI.js +1 -0
- package/lib/cjs/_store/Notification-chunk-Cby6Dnh1.js +1 -0
- package/lib/cjs/_store/{Notification-entry-CRW1397K.js → Notification-entry-RCqY6YnO.js} +1 -1
- package/lib/cjs/_store/Profile-chunk-D1tXXPUO.js +1 -0
- package/lib/cjs/_store/{Profile-entry-DHpgLCAp.js → Profile-entry-B6vm7ggs.js} +1 -1
- package/lib/cjs/_store/{SearchField-chunk-BkrZKT5S.js → SearchField-chunk-uIkdwz2L.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-DoVeY_de.js → SearchField-entry-3sd9miiq.js} +1 -1
- package/lib/cjs/_store/SocialMedia-chunk-BbnrRkts.js +1 -0
- package/lib/cjs/_store/SocialMedia-entry-D5GkSSA8.js +1 -0
- package/lib/cjs/_store/SubsiteNav-chunk-BphCnfvs.js +1 -0
- package/lib/cjs/_store/{Tabs-chunk-CnXjQYpB.js → Tabs-chunk-C2PIPQgI.js} +1 -1
- package/lib/cjs/_store/{Tabs-entry-BRmJxjI6.js → Tabs-entry-Bicz4Q2A.js} +1 -1
- package/lib/cjs/_store/{Tag-chunk-B-UjKiml.js → Tag-chunk-DUz8ZjA1.js} +1 -1
- package/lib/cjs/_store/{Tag-entry-Dv_p5zCg.js → Tag-entry-D8aAuglc.js} +1 -1
- package/lib/cjs/_store/components-entry-BU_6L6id.js +1 -0
- 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/Blockquote-entry-DccNMBEH.js +15 -0
- package/lib/esm/_store/{Breadcrumb-chunk-DcsXzPvT.js → Breadcrumb-chunk-DcupgWDR.js} +1 -1
- package/lib/esm/_store/Breadcrumb-entry-1SOUCUgD.js +4 -0
- package/lib/esm/_store/Button-chunk-BlSnS8yQ.js +60 -0
- package/lib/esm/_store/Button-entry-ee89gQMg.js +4 -0
- package/lib/esm/_store/Callout-chunk-C7nmBZcD.js +66 -0
- package/lib/esm/_store/Callout-entry-CnD2XuMo.js +4 -0
- package/lib/esm/_store/CardGroup-chunk-BykGdrCT.js +425 -0
- package/lib/esm/_store/Cards-entry-DjtBPvwt.js +12 -0
- package/lib/esm/_store/ContextMenu-chunk-D-riZIFp.js +32 -0
- package/lib/esm/_store/ContextMenu-entry-BN-vEJes.js +4 -0
- package/lib/esm/_store/Footer-chunk-mcaEIXdt.js +72 -0
- package/lib/esm/_store/Footer-entry-BOC16qVW.js +4 -0
- package/lib/esm/_store/{Hero-chunk-swloBIGl.js → Hero-chunk-C1gFHcIP.js} +2 -2
- package/lib/esm/_store/Hero-entry-DWpRL6uz.js +4 -0
- package/lib/esm/_store/{HeroCard-chunk-fz3EIUiE.js → HeroCard-chunk-3mxIZYwU.js} +1 -1
- package/lib/esm/_store/HeroCard-entry-D0SDv0dt.js +4 -0
- package/lib/esm/_store/{Icon-chunk-nLD8VsP5.js → Icon-chunk-BE5t6PqR.js} +1353 -1138
- package/lib/esm/_store/Icon-entry-CzaGrGSM.js +4 -0
- package/lib/esm/_store/LanguageToggle-chunk-CsayoJqR.js +70 -0
- package/lib/esm/_store/LanguageToggle-entry-D3t_X2Qk.js +4 -0
- package/lib/esm/_store/Link-chunk-CKAMN_c4.js +33 -0
- package/lib/esm/_store/Link-entry-BOoBMNWv.js +4 -0
- package/lib/esm/_store/LinkList-chunk-BM5BTk9m.js +45 -0
- package/lib/esm/_store/LinkList-entry-mR4xR8Bg.js +4 -0
- package/lib/esm/_store/List-entry-XHat7PmC.js +33 -0
- package/lib/esm/_store/Nav-entry-CsQzrNK7.js +4 -0
- package/lib/esm/_store/Notification-chunk-BYrbd5f9.js +69 -0
- package/lib/esm/_store/Notification-entry-S8DjBxLM.js +4 -0
- package/lib/esm/_store/Profile-chunk-Tpvzafuk.js +41 -0
- package/lib/esm/_store/Profile-entry-ukgxaZNZ.js +4 -0
- package/lib/esm/_store/{SearchField-chunk-DfXCHmW0.js → SearchField-chunk-D-S-SV-o.js} +1 -1
- package/lib/esm/_store/SearchField-entry-z8Lw_Sko.js +4 -0
- package/lib/esm/_store/{SocialMedia-chunk-B0IPGaVf.js → SocialMedia-chunk-BP6TBNEf.js} +7 -7
- package/lib/esm/_store/SocialMedia-entry-C60BCp7g.js +63 -0
- package/lib/esm/_store/SubsiteNav-chunk-C97AqH9F.js +549 -0
- package/lib/esm/_store/{Tabs-chunk-CpUcNAK9.js → Tabs-chunk-C6iAood1.js} +1 -1
- package/lib/esm/_store/Tabs-entry-Di-TeLEj.js +4 -0
- package/lib/esm/_store/{Tag-chunk-6_6Oh_I3.js → Tag-chunk-DRiFjL6-.js} +1 -1
- package/lib/esm/_store/{Tag-entry-B40IGpPj.js → Tag-entry-D_EdPheu.js} +2 -2
- package/lib/esm/_store/components-entry-COAKlxYx.js +96 -0
- package/lib/esm/_store/index.js +4 -2
- package/lib/esm/_store/useBreakpoint-chunk-DBZTYUx9.js +54 -0
- package/lib/esm/index.js +68 -56
- package/lib/styles/components/blockquote.css +1 -0
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/datacard.css +1 -1
- package/lib/styles/components/featurecard.css +1 -1
- package/lib/styles/components/languagetoggle.css +1 -0
- package/lib/styles/components/list.css +1 -1
- package/lib/styles/components/multilinkcard.css +1 -1
- package/lib/styles/components/richtext.css +1 -1
- package/lib/styles/components/socialmedia.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/Blockquote/Blockquote.d.ts +6 -0
- package/lib/types/components/Blockquote/index.d.ts +1 -0
- package/lib/types/components/Button/Button.d.ts +83 -4
- package/lib/types/components/Button/index.d.ts +1 -2
- package/lib/types/components/Callout/Callout.d.ts +50 -4
- package/lib/types/components/Callout/index.d.ts +1 -2
- package/lib/types/components/Cards/CardGroup.d.ts +31 -0
- package/lib/types/components/Cards/DataCard.d.ts +50 -0
- package/lib/types/components/Cards/DetailCard.d.ts +54 -0
- package/lib/types/components/Cards/FactListCard.d.ts +30 -0
- package/lib/types/components/Cards/{FeatureCard/FeatureCard.props.d.ts → FeatureCard.d.ts} +17 -5
- package/lib/types/components/Cards/MultiLinkCard.d.ts +52 -0
- package/lib/types/components/Cards/{PromoCard/PromoCard.props.d.ts → PromoCard.d.ts} +16 -4
- package/lib/types/components/Cards/StatCard.d.ts +39 -0
- package/lib/types/components/Cards/{TextCard/TextCard.props.d.ts → TextCard.d.ts} +16 -4
- package/lib/types/components/Cards/index.d.ts +9 -0
- package/lib/types/components/ContextMenu/ContextMenu.d.ts +4 -0
- package/lib/types/components/Footer/Footer.d.ts +50 -4
- package/lib/types/components/Footer/index.d.ts +1 -1
- package/lib/types/components/LanguageToggle/LanguageToggle.d.ts +25 -0
- package/lib/types/components/LanguageToggle/index.d.ts +1 -0
- package/lib/types/components/Link/Link.d.ts +55 -4
- package/lib/types/components/Link/index.d.ts +1 -1
- package/lib/types/components/LinkList/LinkList.d.ts +45 -4
- package/lib/types/components/LinkList/index.d.ts +1 -1
- package/lib/types/components/List/List.d.ts +54 -4
- package/lib/types/components/List/ListItem.d.ts +22 -4
- package/lib/types/components/List/index.d.ts +18 -2
- 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/Notification/Notification.d.ts +55 -4
- package/lib/types/components/Notification/index.d.ts +1 -1
- package/lib/types/components/Profile/Profile.d.ts +46 -4
- package/lib/types/components/Profile/index.d.ts +1 -1
- package/lib/types/components/SocialMedia/SocialMedia.d.ts +2 -43
- package/lib/types/components/SocialMedia/SocialMedia.props.d.ts +46 -0
- package/lib/types/components/SocialMedia/index.d.ts +3 -1
- package/lib/types/components/index.d.ts +3 -1
- package/lib/types/hooks/index.d.ts +1 -0
- package/lib/types/hooks/useBreakpoint.d.ts +7 -0
- package/lib/types/types/index.d.ts +1 -1
- package/package.json +10 -9
- package/lib/cjs/_store/Button-chunk-7QGSjiJL.js +0 -1
- package/lib/cjs/_store/Button-entry-B74K2XLp.js +0 -1
- package/lib/cjs/_store/Callout-chunk-DI_rZPkx.js +0 -1
- package/lib/cjs/_store/Callout-entry-GC_lYwL3.js +0 -1
- package/lib/cjs/_store/CardGroup-chunk-CrzLMpzZ.js +0 -1
- package/lib/cjs/_store/ContextMenu-chunk-Ch5u_T0d.js +0 -1
- package/lib/cjs/_store/Footer-chunk-DK416bgz.js +0 -1
- package/lib/cjs/_store/Icon-chunk-BiF41wYy.js +0 -1
- package/lib/cjs/_store/Link-chunk-B_ZIovS2.js +0 -1
- package/lib/cjs/_store/LinkList-chunk-Uvotg8l4.js +0 -1
- package/lib/cjs/_store/List-entry-CWz5DRJJ.js +0 -1
- package/lib/cjs/_store/ListItem-chunk-CHb4_N2-.js +0 -1
- package/lib/cjs/_store/LocalNav-entry-SfLDP8BS.js +0 -1
- package/lib/cjs/_store/Notification-chunk-BudHdd0h.js +0 -1
- package/lib/cjs/_store/Profile-chunk-BH98cR85.js +0 -1
- package/lib/cjs/_store/SocialMedia-chunk-jDoYRhrm.js +0 -1
- package/lib/cjs/_store/SocialMedia-entry-tsTF-Jtj.js +0 -1
- package/lib/cjs/_store/components-entry-CDxRih4j.js +0 -1
- package/lib/esm/_store/Breadcrumb-entry-B7kN28qm.js +0 -4
- package/lib/esm/_store/Button-chunk-CTOnaHZ_.js +0 -61
- package/lib/esm/_store/Button-entry-DRu9gUR5.js +0 -30
- package/lib/esm/_store/Callout-chunk-CsEfqAuS.js +0 -63
- package/lib/esm/_store/Callout-entry-sXFzYEzc.js +0 -31
- package/lib/esm/_store/CardGroup-chunk-0V0yYua2.js +0 -356
- 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/Footer-chunk-Cfulou_M.js +0 -53
- package/lib/esm/_store/Footer-entry-xjy-auY5.js +0 -4
- package/lib/esm/_store/Hero-entry-DxQnc1Ze.js +0 -4
- package/lib/esm/_store/HeroCard-entry-Cp6p3FnU.js +0 -4
- package/lib/esm/_store/Icon-entry-CCd9MEER.js +0 -4
- package/lib/esm/_store/Link-chunk-zt732cUC.js +0 -36
- package/lib/esm/_store/Link-entry-BY4hUubQ.js +0 -4
- package/lib/esm/_store/LinkList-chunk-Doq6Z7IG.js +0 -41
- package/lib/esm/_store/LinkList-entry-B2LOzklm.js +0 -4
- package/lib/esm/_store/List-entry-C68jMDRE.js +0 -5
- package/lib/esm/_store/ListItem-chunk-CKnxZe3Y.js +0 -26
- package/lib/esm/_store/LocalNav-entry-DydB3k67.js +0 -4
- package/lib/esm/_store/Notification-chunk-VfaNI3r9.js +0 -61
- package/lib/esm/_store/Notification-entry-BIQsCmF2.js +0 -4
- package/lib/esm/_store/Profile-chunk-Bsn46OaP.js +0 -38
- package/lib/esm/_store/Profile-entry-CE39-Kzc.js +0 -4
- package/lib/esm/_store/SearchField-entry-qYGaidSz.js +0 -4
- package/lib/esm/_store/SocialMedia-entry-Dq52Wl-z.js +0 -4
- package/lib/esm/_store/Tabs-entry-BARAHSrA.js +0 -4
- package/lib/esm/_store/components-entry-BW50D0h0.js +0 -86
- package/lib/types/components/Button/Button.props.d.ts +0 -69
- package/lib/types/components/Callout/Callout.props.d.ts +0 -51
- package/lib/types/components/Cards/CardGroup/CardGroup.d.ts +0 -5
- package/lib/types/components/Cards/CardGroup/CardGroup.props.d.ts +0 -86
- package/lib/types/components/Cards/CardGroup/index.d.ts +0 -3
- package/lib/types/components/Cards/DataCard/DataCard.d.ts +0 -5
- package/lib/types/components/Cards/DataCard/DataCard.props.d.ts +0 -51
- package/lib/types/components/Cards/DataCard/index.d.ts +0 -3
- package/lib/types/components/Cards/DetailCard/DetailCard.d.ts +0 -5
- package/lib/types/components/Cards/DetailCard/DetailCard.props.d.ts +0 -40
- package/lib/types/components/Cards/DetailCard/index.d.ts +0 -3
- package/lib/types/components/Cards/FactlistCard/FactListCard.d.ts +0 -5
- package/lib/types/components/Cards/FactlistCard/FactListCard.props.d.ts +0 -21
- package/lib/types/components/Cards/FactlistCard/index.d.ts +0 -3
- package/lib/types/components/Cards/FeatureCard/FeatureCard.d.ts +0 -5
- package/lib/types/components/Cards/FeatureCard/index.d.ts +0 -3
- package/lib/types/components/Cards/MultilinkCard/MultiLinkCard.d.ts +0 -5
- package/lib/types/components/Cards/MultilinkCard/MultilinkCard.props.d.ts +0 -30
- package/lib/types/components/Cards/MultilinkCard/index.d.ts +0 -3
- package/lib/types/components/Cards/PromoCard/PromoCard.d.ts +0 -5
- package/lib/types/components/Cards/PromoCard/index.d.ts +0 -3
- package/lib/types/components/Cards/StatCard/StatCard.d.ts +0 -5
- package/lib/types/components/Cards/StatCard/StatCard.props.d.ts +0 -26
- package/lib/types/components/Cards/StatCard/index.d.ts +0 -3
- package/lib/types/components/Cards/TextCard/TextCard.d.ts +0 -5
- package/lib/types/components/Cards/TextCard/index.d.ts +0 -3
- package/lib/types/components/Footer/Footer.props.d.ts +0 -49
- package/lib/types/components/Link/Link.props.d.ts +0 -33
- package/lib/types/components/LinkList/LinkList.props.d.ts +0 -44
- package/lib/types/components/List/List.props.d.ts +0 -25
- package/lib/types/components/List/ListItem.props.d.ts +0 -16
- 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
- package/lib/types/components/Notification/Notification.props.d.ts +0 -57
- package/lib/types/components/Profile/Profile.props.d.ts +0 -47
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { jsx as o, Fragment as N, jsxs as j } from "react/jsx-runtime";
|
|
2
|
-
import { c as k } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as I } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
import { L as F } from "./Link-chunk-zt732cUC.js";
|
|
5
|
-
import { I as u } from "./Icon-chunk-nLD8VsP5.js";
|
|
6
|
-
const G = ({
|
|
7
|
-
callback: e,
|
|
8
|
-
className: $,
|
|
9
|
-
disabled: d = !1,
|
|
10
|
-
icon: t,
|
|
11
|
-
icononly: r,
|
|
12
|
-
iconPosition: f,
|
|
13
|
-
kind: h = "button",
|
|
14
|
-
label: n,
|
|
15
|
-
opensmodal: _,
|
|
16
|
-
size: i = "large",
|
|
17
|
-
target: b = "",
|
|
18
|
-
type: m = "primary",
|
|
19
|
-
url: c,
|
|
20
|
-
style: l,
|
|
21
|
-
name: g
|
|
22
|
-
}) => {
|
|
23
|
-
const { prefix: x } = I(), s = `${x}--button`, B = !!c, C = f || "left", p = k($, {
|
|
24
|
-
[s]: !0,
|
|
25
|
-
[`${s}__${i}`]: i,
|
|
26
|
-
[`${s}__${m}`]: m,
|
|
27
|
-
[`${s}--icon ${s}--icon--position__${C}`]: t && !r,
|
|
28
|
-
[`${s}--icon ${s}--icon--only`]: t && r
|
|
29
|
-
}), L = (a) => {
|
|
30
|
-
e && e(a);
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ o(N, { children: B ? /* @__PURE__ */ o(
|
|
33
|
-
F,
|
|
34
|
-
{
|
|
35
|
-
className: p,
|
|
36
|
-
target: b,
|
|
37
|
-
url: c,
|
|
38
|
-
label: n,
|
|
39
|
-
style: l,
|
|
40
|
-
children: t && /* @__PURE__ */ o(u, { name: t, hidden: !0 })
|
|
41
|
-
}
|
|
42
|
-
) : /* @__PURE__ */ j(
|
|
43
|
-
"button",
|
|
44
|
-
{
|
|
45
|
-
className: p,
|
|
46
|
-
onClick: (a) => L(a),
|
|
47
|
-
disabled: d,
|
|
48
|
-
type: h,
|
|
49
|
-
"aria-haspopup": _ ? "dialog" : !1,
|
|
50
|
-
style: l,
|
|
51
|
-
name: g,
|
|
52
|
-
children: [
|
|
53
|
-
n && /* @__PURE__ */ o("span", { className: "button__label", children: n }),
|
|
54
|
-
t && /* @__PURE__ */ o(u, { name: t, hidden: !0 })
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
) });
|
|
58
|
-
}, v = G;
|
|
59
|
-
export {
|
|
60
|
-
v as B
|
|
61
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { B as c } from "./Button-chunk-CTOnaHZ_.js";
|
|
2
|
-
const t = {
|
|
3
|
-
type: "primary",
|
|
4
|
-
label: "Primary",
|
|
5
|
-
size: "medium",
|
|
6
|
-
name: "primary"
|
|
7
|
-
}, r = {
|
|
8
|
-
type: "secondary",
|
|
9
|
-
label: "Secondary",
|
|
10
|
-
name: "secondary"
|
|
11
|
-
}, e = {
|
|
12
|
-
type: "tertiary",
|
|
13
|
-
label: "Tertiary",
|
|
14
|
-
name: "tertiary"
|
|
15
|
-
}, a = { type: "alert", label: "Alert", name: "alert" }, o = { type: "primary", label: "Icon", icon: "close" }, i = {
|
|
16
|
-
type: "primary",
|
|
17
|
-
label: "Disabled",
|
|
18
|
-
disabled: !0
|
|
19
|
-
}, l = {
|
|
20
|
-
type: "primary",
|
|
21
|
-
icon: "caret_right",
|
|
22
|
-
iconPosition: "right",
|
|
23
|
-
label: "Visit ilo.org",
|
|
24
|
-
url: "https://www.ilo.org",
|
|
25
|
-
target: "__blank"
|
|
26
|
-
}, n = { primary: t, secondary: r, tertiary: e, alert: a, icon: o, disabled: i, link: l };
|
|
27
|
-
export {
|
|
28
|
-
c as Button,
|
|
29
|
-
n as buttonArgs
|
|
30
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as b } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { useState as x, useEffect as C } from "react";
|
|
4
|
-
import { u as j } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
5
|
-
import { B as k } from "./Button-chunk-CTOnaHZ_.js";
|
|
6
|
-
const B = ({
|
|
7
|
-
className: d,
|
|
8
|
-
copy: $,
|
|
9
|
-
cta: e,
|
|
10
|
-
isCollapsible: m,
|
|
11
|
-
isOpen: t = !0,
|
|
12
|
-
toggleOpenLabel: c = "Less",
|
|
13
|
-
toggleClosedLabel: n = "More",
|
|
14
|
-
headline: _,
|
|
15
|
-
type: r
|
|
16
|
-
}) => {
|
|
17
|
-
const { prefix: p } = j(), s = `${p}--callout`, [o, u] = x(t);
|
|
18
|
-
let i = o ? c : n;
|
|
19
|
-
C(() => {
|
|
20
|
-
u(t), i = o ? c : n;
|
|
21
|
-
}, [t]);
|
|
22
|
-
const h = b(d, {
|
|
23
|
-
[s]: !0,
|
|
24
|
-
[`${s}__${r}`]: r,
|
|
25
|
-
[`${s}--open`]: o,
|
|
26
|
-
[`${s}--collapse`]: m
|
|
27
|
-
}), f = `icon icon__${r}`, N = {
|
|
28
|
-
callback: void 0,
|
|
29
|
-
className: `${s}--cta`,
|
|
30
|
-
children: !1,
|
|
31
|
-
label: e == null ? void 0 : e.label,
|
|
32
|
-
size: "small",
|
|
33
|
-
type: "tertiary",
|
|
34
|
-
url: e == null ? void 0 : e.url
|
|
35
|
-
}, v = (g) => {
|
|
36
|
-
g.preventDefault(), i = o ? c : n, u(!o);
|
|
37
|
-
};
|
|
38
|
-
return /* @__PURE__ */ a("div", { className: h, children: [
|
|
39
|
-
/* @__PURE__ */ l("div", { className: `${s}__sidebar`, children: /* @__PURE__ */ l("span", { className: f }) }),
|
|
40
|
-
/* @__PURE__ */ a("div", { className: `${s}__content`, children: [
|
|
41
|
-
/* @__PURE__ */ a("div", { className: `${s}__header`, children: [
|
|
42
|
-
/* @__PURE__ */ l("h5", { className: `${s}__title`, children: _ }),
|
|
43
|
-
m && /* @__PURE__ */ a(
|
|
44
|
-
"button",
|
|
45
|
-
{
|
|
46
|
-
className: `${s}--toggle`,
|
|
47
|
-
onClick: v,
|
|
48
|
-
type: "button",
|
|
49
|
-
children: [
|
|
50
|
-
i,
|
|
51
|
-
/* @__PURE__ */ l("span", { className: `${s}--toggle--icon` })
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
] }),
|
|
56
|
-
/* @__PURE__ */ l("p", { className: `${s}__description`, children: $ }),
|
|
57
|
-
e && /* @__PURE__ */ l(k, { ...N })
|
|
58
|
-
] })
|
|
59
|
-
] });
|
|
60
|
-
}, E = B;
|
|
61
|
-
export {
|
|
62
|
-
E as C
|
|
63
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { C as i } from "./Callout-chunk-CsEfqAuS.js";
|
|
2
|
-
const l = {
|
|
3
|
-
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
4
|
-
isCollapsible: !1,
|
|
5
|
-
headline: "Info Callout",
|
|
6
|
-
type: "info"
|
|
7
|
-
}, e = {
|
|
8
|
-
...l,
|
|
9
|
-
type: "success",
|
|
10
|
-
headline: "Success Callout"
|
|
11
|
-
}, o = {
|
|
12
|
-
...l,
|
|
13
|
-
type: "warning",
|
|
14
|
-
headline: "Warning Callout"
|
|
15
|
-
}, s = {
|
|
16
|
-
...l,
|
|
17
|
-
cta: {
|
|
18
|
-
label: "Optional CTA",
|
|
19
|
-
url: "http://www.google.com"
|
|
20
|
-
},
|
|
21
|
-
isCollapsible: !0,
|
|
22
|
-
isOpen: !1,
|
|
23
|
-
headline: "Error Callout (Collapsible)",
|
|
24
|
-
toggleOpenLabel: "Open",
|
|
25
|
-
toggleClosedLabel: "Closed",
|
|
26
|
-
type: "error"
|
|
27
|
-
}, t = { baseArgs: l, success: e, warning: o, error: s }, a = t;
|
|
28
|
-
export {
|
|
29
|
-
i as Callout,
|
|
30
|
-
a as calloutArgs
|
|
31
|
-
};
|
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as o, Fragment as C } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as h } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
import { B as w } from "./Button-chunk-CTOnaHZ_.js";
|
|
5
|
-
import { L as u } from "./Link-chunk-zt732cUC.js";
|
|
6
|
-
import { L as v } from "./LinkList-chunk-Doq6Z7IG.js";
|
|
7
|
-
import { P as x } from "./Profile-chunk-Bsn46OaP.js";
|
|
8
|
-
import { L as y, a as k } from "./ListItem-chunk-CKnxZe3Y.js";
|
|
9
|
-
const L = ({
|
|
10
|
-
eyebrow: $,
|
|
11
|
-
size: i = "narrow",
|
|
12
|
-
image: d,
|
|
13
|
-
dataset: c,
|
|
14
|
-
columns: m = "one"
|
|
15
|
-
}) => {
|
|
16
|
-
const { prefix: t } = h(), e = `${t}--card`, n = p(e, `${e}__type__data`, {
|
|
17
|
-
[`${e}__size__${i}`]: i,
|
|
18
|
-
[`${e}__type__data__columns__${m}`]: m
|
|
19
|
-
});
|
|
20
|
-
return /* @__PURE__ */ a("div", { className: n, children: /* @__PURE__ */ o("div", { className: `${e}--wrap`, children: [
|
|
21
|
-
$ && /* @__PURE__ */ a("p", { className: `${e}--eyebrow`, children: $ }),
|
|
22
|
-
/* @__PURE__ */ o("div", { className: `${e}--content`, children: [
|
|
23
|
-
d && /* @__PURE__ */ a("div", { className: `${e}--image--wrapper`, children: /* @__PURE__ */ a("picture", { children: /* @__PURE__ */ a(
|
|
24
|
-
"img",
|
|
25
|
-
{
|
|
26
|
-
className: `${e}--picture`,
|
|
27
|
-
src: d,
|
|
28
|
-
alt: $
|
|
29
|
-
}
|
|
30
|
-
) }) }),
|
|
31
|
-
c && c.content && c.content.items && c.content.items.map((r) => /* @__PURE__ */ o("div", { className: `${e}--area--content`, children: [
|
|
32
|
-
/* @__PURE__ */ a("p", { className: `${e}__type__data--content-label`, children: r.label }),
|
|
33
|
-
/* @__PURE__ */ a("p", { className: `${e}__type__data--content-copy`, children: r.copy })
|
|
34
|
-
] }, r.label)),
|
|
35
|
-
c && c.files && /* @__PURE__ */ o("div", { className: `${e}--data--content-files`, children: [
|
|
36
|
-
/* @__PURE__ */ a("p", { className: `${e}__type__data--content-label`, children: c.files.headline }),
|
|
37
|
-
c.files.items && c.files.items.map((r) => /* @__PURE__ */ a(
|
|
38
|
-
"a",
|
|
39
|
-
{
|
|
40
|
-
className: `${e}--data--file ${t}--button ${t}--button--primary ${t}--button--small`,
|
|
41
|
-
href: r.url,
|
|
42
|
-
download: !0,
|
|
43
|
-
children: /* @__PURE__ */ a("span", { className: "button__label", children: r.label })
|
|
44
|
-
},
|
|
45
|
-
r.url
|
|
46
|
-
))
|
|
47
|
-
] }),
|
|
48
|
-
c && c.cta && /* @__PURE__ */ a("div", { className: `${e}--area--cta`, children: /* @__PURE__ */ o("div", { className: `${e}--data--content-cta`, children: [
|
|
49
|
-
/* @__PURE__ */ a("p", { className: `${e}__type__data--content-label`, children: c.cta.headline }),
|
|
50
|
-
c.cta.items && c.cta.items.map((r) => /* @__PURE__ */ a(
|
|
51
|
-
"a",
|
|
52
|
-
{
|
|
53
|
-
className: `${e}--cta ${t}--button ${t}--button--medium ${t}--button--secondary`,
|
|
54
|
-
href: r.url,
|
|
55
|
-
children: /* @__PURE__ */ a("span", { className: "link__label", children: r.label })
|
|
56
|
-
},
|
|
57
|
-
r.url
|
|
58
|
-
))
|
|
59
|
-
] }) }),
|
|
60
|
-
c && c.links && /* @__PURE__ */ o("div", { className: `${e}--data--content-links`, children: [
|
|
61
|
-
/* @__PURE__ */ a("p", { className: `${e}__type__data--content-label`, children: c.links.headline }),
|
|
62
|
-
c.links.items && c.links.items.map((r) => /* @__PURE__ */ o(C, { children: [
|
|
63
|
-
/* @__PURE__ */ a(u, { url: r.url, children: r.label }),
|
|
64
|
-
/* @__PURE__ */ a("span", { children: " " })
|
|
65
|
-
] }))
|
|
66
|
-
] })
|
|
67
|
-
] })
|
|
68
|
-
] }) });
|
|
69
|
-
}, g = ({
|
|
70
|
-
eyebrow: $,
|
|
71
|
-
title: i,
|
|
72
|
-
size: d = "narrow",
|
|
73
|
-
intro: c,
|
|
74
|
-
date: m,
|
|
75
|
-
eventdetails: t,
|
|
76
|
-
link: e,
|
|
77
|
-
image: n,
|
|
78
|
-
titleLevel: r
|
|
79
|
-
}) => {
|
|
80
|
-
const { prefix: _ } = h(), l = `${_}--card`, s = p(l, `${l}__type__detail`, {
|
|
81
|
-
[`${l}__action`]: e,
|
|
82
|
-
[`${l}__size__${d}`]: d
|
|
83
|
-
});
|
|
84
|
-
return /* @__PURE__ */ o("div", { className: s, children: [
|
|
85
|
-
e && /* @__PURE__ */ a("a", { className: `${l}--link`, href: e, title: i, children: /* @__PURE__ */ a("span", { className: `${l}--link--text`, children: i }) }),
|
|
86
|
-
/* @__PURE__ */ o("div", { className: `${l}--wrap`, children: [
|
|
87
|
-
n && /* @__PURE__ */ a("div", { className: `${l}--image--wrapper`, children: /* @__PURE__ */ a("picture", { children: /* @__PURE__ */ a(
|
|
88
|
-
"img",
|
|
89
|
-
{
|
|
90
|
-
className: `${l}--picture`,
|
|
91
|
-
src: n,
|
|
92
|
-
alt: i
|
|
93
|
-
}
|
|
94
|
-
) }) }),
|
|
95
|
-
/* @__PURE__ */ o("div", { className: `${l}--content`, children: [
|
|
96
|
-
$ && /* @__PURE__ */ a("p", { className: `${l}--eyebrow`, children: $ }),
|
|
97
|
-
i && r ? /* @__PURE__ */ a(r, { className: `${l}--title`, children: i }) : /* @__PURE__ */ a("p", { className: `${l}--title`, children: i }),
|
|
98
|
-
c && /* @__PURE__ */ a("p", { className: `${l}--intro`, children: c }),
|
|
99
|
-
m && /* @__PURE__ */ a("time", { className: `${l}--date`, dateTime: m.unix, children: m.human }),
|
|
100
|
-
t && /* @__PURE__ */ a("p", { className: `${l}--date-extra`, children: t })
|
|
101
|
-
] })
|
|
102
|
-
] })
|
|
103
|
-
] });
|
|
104
|
-
}, G = ({
|
|
105
|
-
title: $,
|
|
106
|
-
theme: i,
|
|
107
|
-
size: d = "narrow",
|
|
108
|
-
list: c,
|
|
109
|
-
titleLevel: m
|
|
110
|
-
}) => {
|
|
111
|
-
const { prefix: t } = h(), e = `${t}--card`, n = p(e, `${e}__type__factlist`, {
|
|
112
|
-
[`${e}__size__${d}`]: d,
|
|
113
|
-
[`${e}__theme__${i}`]: i
|
|
114
|
-
});
|
|
115
|
-
return /* @__PURE__ */ a("div", { className: n, children: /* @__PURE__ */ a("div", { className: `${e}--wrap`, children: /* @__PURE__ */ o("div", { className: `${e}--content`, children: [
|
|
116
|
-
$ && m ? /* @__PURE__ */ a(m, { className: `${e}--title`, children: $ }) : /* @__PURE__ */ a("p", { className: `${e}--title`, children: $ }),
|
|
117
|
-
c && /* @__PURE__ */ a(y, { alignment: "default", ordered: "unordered", children: c.map((r, _) => /* @__PURE__ */ a(k, { id: `list${_}`, children: /* @__PURE__ */ a("p", { children: r }) }, `${r}`)) })
|
|
118
|
-
] }) }) });
|
|
119
|
-
}, F = ({
|
|
120
|
-
isvideo: $,
|
|
121
|
-
eyebrow: i,
|
|
122
|
-
title: d,
|
|
123
|
-
theme: c,
|
|
124
|
-
size: m = "narrow",
|
|
125
|
-
date: t,
|
|
126
|
-
link: e,
|
|
127
|
-
linklist: n,
|
|
128
|
-
image: r,
|
|
129
|
-
titleLevel: _
|
|
130
|
-
}) => {
|
|
131
|
-
const { prefix: l } = h(), s = `${l}--card`, N = p(s, `${s}__type__feature`, {
|
|
132
|
-
[`${s}__action`]: e,
|
|
133
|
-
[`${s}__size__${m}`]: m,
|
|
134
|
-
[`${s}__isvideo`]: $,
|
|
135
|
-
[`${s}__linklist`]: n,
|
|
136
|
-
[`${s}__theme__${c}`]: c
|
|
137
|
-
});
|
|
138
|
-
return /* @__PURE__ */ o("div", { className: N, children: [
|
|
139
|
-
e && /* @__PURE__ */ a("a", { className: `${s}--link`, href: e, title: d, children: /* @__PURE__ */ a("span", { className: `${s}--link--text`, children: d }) }),
|
|
140
|
-
/* @__PURE__ */ o("div", { className: `${s}--wrap`, children: [
|
|
141
|
-
r && /* @__PURE__ */ a("div", { className: `${s}--image--wrapper`, children: /* @__PURE__ */ a("picture", { children: /* @__PURE__ */ a(
|
|
142
|
-
"img",
|
|
143
|
-
{
|
|
144
|
-
className: `${s}--picture`,
|
|
145
|
-
src: r,
|
|
146
|
-
alt: d
|
|
147
|
-
}
|
|
148
|
-
) }) }),
|
|
149
|
-
/* @__PURE__ */ o("div", { className: `${s}--content`, children: [
|
|
150
|
-
i && /* @__PURE__ */ a("p", { className: `${s}--eyebrow`, children: i }),
|
|
151
|
-
d && _ ? /* @__PURE__ */ a(_, { className: `${s}--title`, children: d }) : /* @__PURE__ */ a("p", { className: `${s}--title`, children: d }),
|
|
152
|
-
t && /* @__PURE__ */ a("time", { className: `${s}--date`, dateTime: t.unix, children: t.human }),
|
|
153
|
-
n && /* @__PURE__ */ a(
|
|
154
|
-
v,
|
|
155
|
-
{
|
|
156
|
-
headline: n.headline,
|
|
157
|
-
linkgroup: n.linkgroup
|
|
158
|
-
}
|
|
159
|
-
)
|
|
160
|
-
] })
|
|
161
|
-
] })
|
|
162
|
-
] });
|
|
163
|
-
}, P = ({
|
|
164
|
-
isvideo: $,
|
|
165
|
-
eyebrow: i,
|
|
166
|
-
title: d,
|
|
167
|
-
size: c = "standard",
|
|
168
|
-
alignment: m,
|
|
169
|
-
intro: t,
|
|
170
|
-
link: e,
|
|
171
|
-
linklist: n,
|
|
172
|
-
image: r,
|
|
173
|
-
titleLevel: _
|
|
174
|
-
}) => {
|
|
175
|
-
const { prefix: l } = h(), s = `${l}--card`, N = p(s, `${s}__type__multilink`, {
|
|
176
|
-
[`${s}__align__${m}`]: m,
|
|
177
|
-
[`${s}__action`]: e,
|
|
178
|
-
[`${s}__size__${c}`]: c,
|
|
179
|
-
[`${s}__isvideo`]: $,
|
|
180
|
-
[`${s}__linklist`]: n,
|
|
181
|
-
[`${s}__no-image`]: !r
|
|
182
|
-
});
|
|
183
|
-
return /* @__PURE__ */ o("div", { className: N, children: [
|
|
184
|
-
e && /* @__PURE__ */ a("a", { className: `${s}--link`, href: e, title: d, children: /* @__PURE__ */ a("span", { className: `${s}--link--text`, children: d }) }),
|
|
185
|
-
/* @__PURE__ */ o("div", { className: `${s}--wrap`, children: [
|
|
186
|
-
r && /* @__PURE__ */ a("div", { className: `${s}--image--wrapper`, children: /* @__PURE__ */ a("picture", { children: /* @__PURE__ */ a(
|
|
187
|
-
"img",
|
|
188
|
-
{
|
|
189
|
-
className: `${s}--picture`,
|
|
190
|
-
src: r,
|
|
191
|
-
alt: d
|
|
192
|
-
}
|
|
193
|
-
) }) }),
|
|
194
|
-
/* @__PURE__ */ o("div", { className: `${s}--content`, children: [
|
|
195
|
-
i && /* @__PURE__ */ a("p", { className: `${s}--eyebrow`, children: i }),
|
|
196
|
-
d && _ ? /* @__PURE__ */ a(_, { className: `${s}--title`, children: d }) : /* @__PURE__ */ a("p", { className: `${s}--title`, children: d }),
|
|
197
|
-
r && /* @__PURE__ */ a("div", { className: `${s}--image--wrapper`, children: /* @__PURE__ */ a("picture", { children: /* @__PURE__ */ a(
|
|
198
|
-
"img",
|
|
199
|
-
{
|
|
200
|
-
className: `${s}--picture`,
|
|
201
|
-
src: r,
|
|
202
|
-
alt: d
|
|
203
|
-
}
|
|
204
|
-
) }) }),
|
|
205
|
-
t && /* @__PURE__ */ a("p", { className: `${s}--intro`, children: t }),
|
|
206
|
-
n && /* @__PURE__ */ a(
|
|
207
|
-
v,
|
|
208
|
-
{
|
|
209
|
-
headline: n.headline,
|
|
210
|
-
linkgroup: n.linkgroup
|
|
211
|
-
}
|
|
212
|
-
)
|
|
213
|
-
] })
|
|
214
|
-
] })
|
|
215
|
-
] });
|
|
216
|
-
}, j = ({
|
|
217
|
-
eyebrow: $,
|
|
218
|
-
title: i,
|
|
219
|
-
theme: d,
|
|
220
|
-
size: c = "narrow",
|
|
221
|
-
cornercut: m,
|
|
222
|
-
intro: t,
|
|
223
|
-
link: e,
|
|
224
|
-
cta: n,
|
|
225
|
-
titleLevel: r
|
|
226
|
-
}) => {
|
|
227
|
-
const { prefix: _ } = h(), l = `${_}--card`, s = p(
|
|
228
|
-
`${l}--wrapper`,
|
|
229
|
-
`${l}--wrapper__type__promo ${l}--wrapper__type__promo__size__${c}`
|
|
230
|
-
), N = p(l, `${l}__type__promo`, {
|
|
231
|
-
[`${l}__cornercut`]: m,
|
|
232
|
-
[`${l}__action`]: e,
|
|
233
|
-
[`${l}__size__${c}`]: c,
|
|
234
|
-
[`${l}__theme__${d}`]: d
|
|
235
|
-
});
|
|
236
|
-
return /* @__PURE__ */ a("div", { className: s, children: /* @__PURE__ */ o("div", { className: N, children: [
|
|
237
|
-
e && /* @__PURE__ */ a("a", { className: `${l}--link`, href: e, title: i, children: /* @__PURE__ */ a("span", { className: `${l}--link--text`, children: i }) }),
|
|
238
|
-
/* @__PURE__ */ a("div", { className: `${l}--wrap`, children: /* @__PURE__ */ o("div", { className: `${l}--content`, children: [
|
|
239
|
-
$ && /* @__PURE__ */ a("p", { className: `${l}--eyebrow`, children: $ }),
|
|
240
|
-
i && r ? /* @__PURE__ */ a(r, { className: `${l}--title`, children: i }) : /* @__PURE__ */ a("p", { className: `${l}--title`, children: i }),
|
|
241
|
-
t && /* @__PURE__ */ a("p", { className: `${l}--intro`, children: t }),
|
|
242
|
-
n && n.label && /* @__PURE__ */ a(
|
|
243
|
-
"a",
|
|
244
|
-
{
|
|
245
|
-
className: `${l}--cta ${_}--button ${_}--button--medium ${_}--button--primary`,
|
|
246
|
-
href: n.url,
|
|
247
|
-
children: /* @__PURE__ */ a("span", { className: "link__label", children: n.label })
|
|
248
|
-
}
|
|
249
|
-
)
|
|
250
|
-
] }) })
|
|
251
|
-
] }) });
|
|
252
|
-
}, B = ({
|
|
253
|
-
title: $,
|
|
254
|
-
color: i,
|
|
255
|
-
size: d = "standard",
|
|
256
|
-
intro: c,
|
|
257
|
-
source: m,
|
|
258
|
-
titleLevel: t
|
|
259
|
-
}) => {
|
|
260
|
-
const { prefix: e } = h(), n = `${e}--card`, r = p(n, `${n}__type__stat`, {
|
|
261
|
-
[`${n}__color__${i}`]: i,
|
|
262
|
-
[`${n}__size__${d}`]: d
|
|
263
|
-
});
|
|
264
|
-
return /* @__PURE__ */ a("div", { className: r, children: /* @__PURE__ */ a("div", { className: `${n}--wrap`, children: /* @__PURE__ */ o("div", { className: `${n}--content`, children: [
|
|
265
|
-
$ && t ? /* @__PURE__ */ a(t, { className: `${n}--title`, children: $ }) : /* @__PURE__ */ a("p", { className: `${n}--title`, children: $ }),
|
|
266
|
-
c && /* @__PURE__ */ a("p", { className: `${n}--intro`, children: c }),
|
|
267
|
-
m && /* @__PURE__ */ a(u, { url: m.url, children: m.label })
|
|
268
|
-
] }) }) });
|
|
269
|
-
}, D = ({
|
|
270
|
-
eyebrow: $,
|
|
271
|
-
title: i,
|
|
272
|
-
theme: d,
|
|
273
|
-
size: c,
|
|
274
|
-
date: m,
|
|
275
|
-
profile: t,
|
|
276
|
-
link: e,
|
|
277
|
-
titleLevel: n
|
|
278
|
-
}) => {
|
|
279
|
-
const { prefix: r } = h(), _ = `${r}--card`, l = p(`${_}--wrapper`), s = p(_, `${_}__type__text`, {
|
|
280
|
-
[`${_}__action`]: e,
|
|
281
|
-
[`${_}__size__${c}`]: c,
|
|
282
|
-
[`${_}__theme__${d}`]: d
|
|
283
|
-
});
|
|
284
|
-
return /* @__PURE__ */ a("div", { className: l, children: /* @__PURE__ */ o("div", { className: s, children: [
|
|
285
|
-
e && /* @__PURE__ */ a("a", { className: `${_}--link`, href: e, title: i, children: /* @__PURE__ */ a("span", { className: `${_}--link--text`, children: i }) }),
|
|
286
|
-
/* @__PURE__ */ a("div", { className: `${_}--wrap`, children: /* @__PURE__ */ o("div", { className: `${_}--content`, children: [
|
|
287
|
-
$ && /* @__PURE__ */ a("p", { className: `${_}--eyebrow`, children: $ }),
|
|
288
|
-
i && n ? /* @__PURE__ */ a(n, { className: `${_}--title`, children: i }) : /* @__PURE__ */ a("p", { className: `${_}--title`, children: i }),
|
|
289
|
-
m && /* @__PURE__ */ a("time", { className: `${_}--date`, dateTime: m.unix, children: m.human }),
|
|
290
|
-
t && t.avatar && /* @__PURE__ */ a(
|
|
291
|
-
x,
|
|
292
|
-
{
|
|
293
|
-
avatar: t.avatar,
|
|
294
|
-
description: t.description,
|
|
295
|
-
link: t.link,
|
|
296
|
-
name: t.name,
|
|
297
|
-
role: t.role,
|
|
298
|
-
className: `${r}--profile__theme__${d}`
|
|
299
|
-
}
|
|
300
|
-
)
|
|
301
|
-
] }) })
|
|
302
|
-
] }) });
|
|
303
|
-
}, M = {
|
|
304
|
-
stat: B,
|
|
305
|
-
multilink: P,
|
|
306
|
-
text: D,
|
|
307
|
-
promo: j,
|
|
308
|
-
feature: F,
|
|
309
|
-
detail: g,
|
|
310
|
-
factlist: G,
|
|
311
|
-
data: L
|
|
312
|
-
}, S = ({
|
|
313
|
-
cards: $,
|
|
314
|
-
titleLevel: i = "p",
|
|
315
|
-
cardCount: d,
|
|
316
|
-
cta: c,
|
|
317
|
-
type: m,
|
|
318
|
-
alignment: t,
|
|
319
|
-
size: e,
|
|
320
|
-
theme: n,
|
|
321
|
-
collapsed: r = !1
|
|
322
|
-
}) => {
|
|
323
|
-
const _ = M[m], { prefix: l } = h(), s = `${l}--cardgroup`, N = p(
|
|
324
|
-
s,
|
|
325
|
-
`${s}__count__${d}`,
|
|
326
|
-
{
|
|
327
|
-
[`${s}__collapsed`]: r
|
|
328
|
-
}
|
|
329
|
-
);
|
|
330
|
-
return /* @__PURE__ */ o("div", { className: N, children: [
|
|
331
|
-
/* @__PURE__ */ a("div", { className: `${s}--inner`, children: $ && $.map((b, f) => /* @__PURE__ */ a(
|
|
332
|
-
_,
|
|
333
|
-
{
|
|
334
|
-
...b,
|
|
335
|
-
size: e,
|
|
336
|
-
theme: n,
|
|
337
|
-
alignment: t,
|
|
338
|
-
titleLevel: i
|
|
339
|
-
},
|
|
340
|
-
f
|
|
341
|
-
)) }),
|
|
342
|
-
c && /* @__PURE__ */ a("div", { className: `${s}--button-wrap`, children: /* @__PURE__ */ a(
|
|
343
|
-
w,
|
|
344
|
-
{
|
|
345
|
-
kind: "button",
|
|
346
|
-
type: "secondary",
|
|
347
|
-
size: "medium",
|
|
348
|
-
label: c.label,
|
|
349
|
-
url: c.url
|
|
350
|
-
}
|
|
351
|
-
) })
|
|
352
|
-
] });
|
|
353
|
-
}, Q = S;
|
|
354
|
-
export {
|
|
355
|
-
Q as C
|
|
356
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as c } from "react";
|
|
3
|
-
import { c as t } from "./index-chunk-0LeqwHm8.js";
|
|
4
|
-
import { u as n } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
5
|
-
const p = c(
|
|
6
|
-
({ className: m, links: o }, r) => {
|
|
7
|
-
const { prefix: s } = n();
|
|
8
|
-
return /* @__PURE__ */ a(
|
|
9
|
-
"ol",
|
|
10
|
-
{
|
|
11
|
-
className: t(`${s}--context-menu`, m),
|
|
12
|
-
ref: r,
|
|
13
|
-
children: o.map((e) => /* @__PURE__ */ a(
|
|
14
|
-
"li",
|
|
15
|
-
{
|
|
16
|
-
className: t(`${s}--context-menu--item`, {
|
|
17
|
-
endsection: e.endsection,
|
|
18
|
-
className: e.className
|
|
19
|
-
}),
|
|
20
|
-
children: /* @__PURE__ */ a("a", { href: e.url, className: `${s}--context-menu--link`, children: /* @__PURE__ */ a("span", { className: `${s}--context-menu--label`, children: e.label }) })
|
|
21
|
-
},
|
|
22
|
-
`${e.label}-${e.url}`
|
|
23
|
-
))
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
export {
|
|
29
|
-
p as C
|
|
30
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { u as y } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
3
|
-
import { c as g } from "./index-chunk-0LeqwHm8.js";
|
|
4
|
-
import { L } from "./LinkList-chunk-Doq6Z7IG.js";
|
|
5
|
-
import { B as x } from "./Button-chunk-CTOnaHZ_.js";
|
|
6
|
-
import { S as F } from "./SocialMedia-chunk-B0IPGaVf.js";
|
|
7
|
-
const S = ({
|
|
8
|
-
className: n,
|
|
9
|
-
logo: N,
|
|
10
|
-
tagline: h,
|
|
11
|
-
subtagline: f,
|
|
12
|
-
address: m,
|
|
13
|
-
linkgroup: i,
|
|
14
|
-
socialmedia: t,
|
|
15
|
-
subscribe: e,
|
|
16
|
-
legal: p,
|
|
17
|
-
secondarylinks: o,
|
|
18
|
-
anchorlink: r
|
|
19
|
-
}) => {
|
|
20
|
-
const { prefix: d } = y(), s = `${d}--footer`, v = g(n, s);
|
|
21
|
-
return /* @__PURE__ */ c("footer", { className: v, children: [
|
|
22
|
-
/* @__PURE__ */ c("div", { className: `${s}--main ${d}--container`, children: [
|
|
23
|
-
/* @__PURE__ */ c("div", { className: "site--info", children: [
|
|
24
|
-
/* @__PURE__ */ a("img", { className: `${s}--logo`, src: N, alt: "ILO Logo" }),
|
|
25
|
-
/* @__PURE__ */ a("h3", { className: `${s}--headline`, children: h }),
|
|
26
|
-
/* @__PURE__ */ a("h4", { className: `${s}--subhead`, children: f })
|
|
27
|
-
] }),
|
|
28
|
-
m && /* @__PURE__ */ a("div", { className: "address", children: m.map((l, $) => /* @__PURE__ */ a("p", { className: "address--line", children: l }, $)) }),
|
|
29
|
-
i && /* @__PURE__ */ a("nav", { className: "links", children: /* @__PURE__ */ a(L, { linkgroup: i, theme: "dark" }) }),
|
|
30
|
-
t && /* @__PURE__ */ a("div", { className: "connect", children: /* @__PURE__ */ a("div", { className: "social--links", children: /* @__PURE__ */ a(F, { ...t, theme: "dark" }) }) }),
|
|
31
|
-
e && /* @__PURE__ */ a("div", { className: "subscribe", children: /* @__PURE__ */ a(
|
|
32
|
-
x,
|
|
33
|
-
{
|
|
34
|
-
label: e == null ? void 0 : e.label,
|
|
35
|
-
url: e == null ? void 0 : e.url,
|
|
36
|
-
type: "primary",
|
|
37
|
-
size: "large",
|
|
38
|
-
target: "_blank"
|
|
39
|
-
}
|
|
40
|
-
) })
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ a("div", { className: `${s}--secondary`, children: /* @__PURE__ */ c("div", { className: `${d}--container`, children: [
|
|
43
|
-
/* @__PURE__ */ c("div", { className: `${s}--secondary--details`, children: [
|
|
44
|
-
/* @__PURE__ */ a("div", { className: "legal", children: p }),
|
|
45
|
-
o && /* @__PURE__ */ a("nav", { className: "secondarylinks", children: /* @__PURE__ */ a("ul", { className: "secondarylinks--list", children: o.map((l) => /* @__PURE__ */ a("li", { className: "secondarylinks--list--item", children: /* @__PURE__ */ a("a", { href: l.url, className: "secondarylinks--list--link", children: l == null ? void 0 : l.label }) }, l.url)) }) })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ a("a", { href: r == null ? void 0 : r.url, className: "anchorlink", children: r == null ? void 0 : r.label })
|
|
48
|
-
] }) })
|
|
49
|
-
] });
|
|
50
|
-
}, I = S;
|
|
51
|
-
export {
|
|
52
|
-
I as F
|
|
53
|
-
};
|