@ilo-org/react 0.25.0 → 0.26.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/{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-C95z7yOh.js} +1 -1
- package/lib/cjs/_store/{Button-entry-BKxqoDTd.js → Button-entry-DGNgY--m.js} +1 -1
- package/lib/cjs/_store/{Callout-chunk-BfSmG_lo.js → Callout-chunk-CQ5xMM1i.js} +1 -1
- package/lib/cjs/_store/{Callout-entry-BWl-fM4V.js → Callout-entry-CgI45lFQ.js} +1 -1
- package/lib/cjs/_store/CardGroup-chunk-CWotQqws.js +1 -0
- package/lib/cjs/_store/Cards-entry-BMWtv2f-.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-DhwHRSuP.js} +1 -1
- package/lib/cjs/_store/{Footer-entry-Dia_Yz7-.js → Footer-entry-BiwzSfZm.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-DHrneVoo.js +1 -0
- package/lib/cjs/_store/{Icon-entry-DuU8BlUw.js → Icon-entry-DyS-xIbf.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-uiXSehRt.js +1 -0
- package/lib/cjs/_store/Nav-entry-CQ65AlBh.js +1 -0
- package/lib/cjs/_store/{Notification-chunk-2QCwWkyJ.js → Notification-chunk-CAX-6JsZ.js} +1 -1
- package/lib/cjs/_store/{Notification-entry-BZxeAdKY.js → Notification-entry-SYTjGRZ_.js} +1 -1
- package/lib/cjs/_store/{Profile-chunk-BYt-KzV1.js → Profile-chunk-Bd8UJQPz.js} +1 -1
- package/lib/cjs/_store/{Profile-entry--A7T8H3j.js → Profile-entry-CLUsTNmL.js} +1 -1
- package/lib/cjs/_store/{SearchField-chunk-Co2k3NxN.js → SearchField-chunk-Bc-WiEPz.js} +1 -1
- package/lib/cjs/_store/{SearchField-entry-BUoeC9YW.js → SearchField-entry-ClyaljSb.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-Bk_Z-Qlz.js} +1 -1
- package/lib/cjs/_store/{Tabs-entry-F5uRTfcu.js → Tabs-entry-KnBadJ9n.js} +1 -1
- package/lib/cjs/_store/{Tag-chunk-pecicJx_.js → Tag-chunk-BlwQ9fNn.js} +1 -1
- package/lib/cjs/_store/{Tag-entry-BOwYiCqK.js → Tag-entry-7jDcXl9v.js} +1 -1
- package/lib/cjs/_store/components-entry-XOyyQZvk.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/{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-Ccbxfwbf.js} +1 -1
- package/lib/esm/_store/Button-entry-a2836eCG.js +4 -0
- package/lib/esm/_store/{Callout-chunk-DlkjnwyO.js → Callout-chunk-lXbe2cTI.js} +1 -1
- package/lib/esm/_store/Callout-entry-CqbJtAcP.js +4 -0
- package/lib/esm/_store/CardGroup-chunk-CDiL5eWl.js +798 -0
- package/lib/esm/_store/{Cards-entry-Dy9RcgLp.js → Cards-entry-BzkuEjVm.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-Cs4S0fL1.js} +3 -3
- package/lib/esm/_store/Footer-entry-DSntq8ti.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-B3pcCi1Q.js +5476 -0
- package/lib/esm/_store/Icon-entry-CrclgMhq.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-DrgCIgDB.js +776 -0
- package/lib/esm/_store/Nav-entry-CIRUo3IY.js +5 -0
- package/lib/esm/_store/{Notification-chunk-_adtYhvS.js → Notification-chunk-B_ca8Swd.js} +1 -1
- package/lib/esm/_store/Notification-entry-DLSFiH_T.js +4 -0
- package/lib/esm/_store/{Profile-chunk-D0RBDgln.js → Profile-chunk-BTvSWyom.js} +1 -1
- package/lib/esm/_store/Profile-entry-CfUKvpwQ.js +4 -0
- package/lib/esm/_store/{SearchField-chunk-4Y2NnK71.js → SearchField-chunk-CZ2F5vv2.js} +5 -4
- package/lib/esm/_store/SearchField-entry-BjJ0zp2R.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-CiBKN1wK.js} +1 -1
- package/lib/esm/_store/Tabs-entry-DViSSd6j.js +4 -0
- package/lib/esm/_store/{Tag-chunk-CtoF0KuM.js → Tag-chunk-Dl2zXTQ8.js} +1 -1
- package/lib/esm/_store/{Tag-entry-CY9Wk-E1.js → Tag-entry-CnUfb7ow.js} +2 -2
- package/lib/esm/_store/{components-entry-BurF2spT.js → components-entry-DlfoU4Sn.js} +43 -44
- 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 +63 -61
- package/lib/styles/components/accordion.css +1 -1
- 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.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/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/SocialMedia/SocialMedia.props.d.ts +5 -1
- package/lib/types/components/index.d.ts +0 -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 +4 -3
- 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/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/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
|
@@ -2,7 +2,7 @@ import { jsx as e, Fragment as N, jsxs as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as $, useState as b } from "react";
|
|
3
3
|
import { c as v } from "./index-chunk-CY3PQDr4.js";
|
|
4
4
|
import { u as x } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { B as y } from "./Button-chunk-
|
|
5
|
+
import { B as y } from "./Button-chunk-Ccbxfwbf.js";
|
|
6
6
|
const S = $(
|
|
7
7
|
({
|
|
8
8
|
className: t,
|
|
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
3
|
import { c as $ } from "./index-chunk-CY3PQDr4.js";
|
|
4
4
|
import { u as _ } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { I as g } from "./Icon-chunk-
|
|
5
|
+
import { I as g } from "./Icon-chunk-B3pcCi1Q.js";
|
|
6
6
|
const C = p(
|
|
7
7
|
({
|
|
8
8
|
avatar: t,
|
|
@@ -2,11 +2,11 @@ import { jsx as s, jsxs as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, useState as x, useId as F } from "react";
|
|
3
3
|
import { c as g } from "./index-chunk-CY3PQDr4.js";
|
|
4
4
|
import { u as k } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { I as i } from "./Icon-chunk-
|
|
5
|
+
import { I as i } from "./Icon-chunk-B3pcCi1Q.js";
|
|
6
6
|
import { F as j } from "./FormControl-chunk-CA1OQzEu.js";
|
|
7
7
|
const P = w(
|
|
8
8
|
({ action: f, callback: o, className: b, input: e }, C) => {
|
|
9
|
-
const [c, d] = x(""), { prefix: r } = k(), a = `${r}--searchfield`, n = `${a}--button`,
|
|
9
|
+
const [c, d] = x(""), { prefix: r } = k(), a = `${r}--searchfield`, n = `${a}--button`, y = `${a}--clear-button ${c.trim() !== "" && "show"}`, S = F(), m = (e == null ? void 0 : e.id) || S, I = `${r}--fieldset`, N = (l) => {
|
|
10
10
|
o && o(l);
|
|
11
11
|
}, $ = () => {
|
|
12
12
|
d("");
|
|
@@ -35,14 +35,15 @@ const P = w(
|
|
|
35
35
|
placeholder: e == null ? void 0 : e.placeholder,
|
|
36
36
|
value: c,
|
|
37
37
|
ref: C,
|
|
38
|
-
disabled: e == null ? void 0 : e.disabled
|
|
38
|
+
disabled: e == null ? void 0 : e.disabled,
|
|
39
|
+
type: "search"
|
|
39
40
|
}
|
|
40
41
|
),
|
|
41
42
|
/* @__PURE__ */ s(
|
|
42
43
|
"span",
|
|
43
44
|
{
|
|
44
45
|
onClick: $,
|
|
45
|
-
className:
|
|
46
|
+
className: y,
|
|
46
47
|
role: "presentation",
|
|
47
48
|
children: /* @__PURE__ */ s(i, { name: "close", hidden: !0 })
|
|
48
49
|
}
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as d, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { c as i } from "./index-chunk-CY3PQDr4.js";
|
|
3
|
-
import { forwardRef as
|
|
4
|
-
import { u as
|
|
5
|
-
|
|
3
|
+
import { forwardRef as f } from "react";
|
|
4
|
+
import { u as h } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
+
import { D as p } from "./DynamicHeading-chunk-CO_vg_Lp.js";
|
|
6
|
+
const j = f(
|
|
6
7
|
({
|
|
7
8
|
className: r,
|
|
8
9
|
theme: c = "light",
|
|
9
|
-
justify:
|
|
10
|
+
justify: o = "start",
|
|
10
11
|
headline: e,
|
|
11
|
-
icons:
|
|
12
|
-
iconSize: m = "normal"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
icons: t,
|
|
13
|
+
iconSize: m = "normal",
|
|
14
|
+
titleLevel: n = "h5"
|
|
15
|
+
}, _) => {
|
|
16
|
+
const { prefix: $ } = h(), s = `${$}--social-media`;
|
|
17
|
+
return /* @__PURE__ */ d(
|
|
16
18
|
"div",
|
|
17
19
|
{
|
|
18
20
|
className: i(
|
|
19
21
|
s,
|
|
20
22
|
`${s}__theme__${c}`,
|
|
21
|
-
`${s}__justify__${
|
|
23
|
+
`${s}__justify__${o}`,
|
|
22
24
|
r
|
|
23
25
|
),
|
|
24
|
-
ref:
|
|
26
|
+
ref: _,
|
|
25
27
|
children: [
|
|
26
|
-
e && /* @__PURE__ */ a(
|
|
28
|
+
e && /* @__PURE__ */ a(
|
|
29
|
+
p,
|
|
30
|
+
{
|
|
31
|
+
level: n,
|
|
32
|
+
className: `${s}--headline`,
|
|
33
|
+
children: e
|
|
34
|
+
}
|
|
35
|
+
),
|
|
27
36
|
/* @__PURE__ */ a(
|
|
28
37
|
"ul",
|
|
29
38
|
{
|
|
@@ -31,7 +40,7 @@ const b = d(
|
|
|
31
40
|
`${s}--list`,
|
|
32
41
|
`${s}--list__size__${m}`
|
|
33
42
|
),
|
|
34
|
-
children:
|
|
43
|
+
children: t.map((l) => /* @__PURE__ */ a(
|
|
35
44
|
"li",
|
|
36
45
|
{
|
|
37
46
|
className: i(`${s}--list--item`, l.className),
|
|
@@ -58,5 +67,5 @@ const b = d(
|
|
|
58
67
|
}
|
|
59
68
|
);
|
|
60
69
|
export {
|
|
61
|
-
|
|
70
|
+
j as S
|
|
62
71
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as t } from "./SocialMedia-chunk-
|
|
1
|
+
import { S as t } from "./SocialMedia-chunk-CmTguYLJ.js";
|
|
2
2
|
const o = {
|
|
3
3
|
headline: "Follow us on social media",
|
|
4
4
|
theme: "light",
|
|
@@ -54,6 +54,21 @@ const o = {
|
|
|
54
54
|
icon: "weibo",
|
|
55
55
|
label: "Weibo",
|
|
56
56
|
url: "https://weibo.com"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
icon: "spotify",
|
|
60
|
+
label: "Spotify",
|
|
61
|
+
url: "https://spotify.com"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
icon: "apple_podcasts",
|
|
65
|
+
label: "iTunes",
|
|
66
|
+
url: "https://www.apple.com/itunes/"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
icon: "rss",
|
|
70
|
+
label: "RSS",
|
|
71
|
+
url: "https://ilo.org/rss.xml"
|
|
57
72
|
}
|
|
58
73
|
]
|
|
59
74
|
};
|
|
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as d, useEffect as u } from "react";
|
|
3
3
|
import { u as N } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
4
4
|
import { c as C } from "./index-chunk-CY3PQDr4.js";
|
|
5
|
-
import { I } from "./Icon-chunk-
|
|
5
|
+
import { I } from "./Icon-chunk-B3pcCi1Q.js";
|
|
6
6
|
const S = ({
|
|
7
7
|
items: o,
|
|
8
8
|
className: i,
|
|
@@ -2,7 +2,7 @@ import { jsx as n, Fragment as x, jsxs as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { createContext as I, useContext as S } from "react";
|
|
3
3
|
import { c as T } from "./index-chunk-CY3PQDr4.js";
|
|
4
4
|
import { u as _ } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
5
|
-
import { I as w } from "./Icon-chunk-
|
|
5
|
+
import { I as w } from "./Icon-chunk-B3pcCi1Q.js";
|
|
6
6
|
function E(e) {
|
|
7
7
|
let t = [...e.itemStatuses];
|
|
8
8
|
return t.indexOf(e.id) > -1 ? t = t.filter((s) => s !== e.id) : e.allowMultipleExpanded ? t.push(e.id) : t = [e.id], t;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as h } from "./Tag-chunk-
|
|
2
|
-
import { T as G } from "./Tag-chunk-
|
|
1
|
+
import { a as h } from "./Tag-chunk-Dl2zXTQ8.js";
|
|
2
|
+
import { T as G } from "./Tag-chunk-Dl2zXTQ8.js";
|
|
3
3
|
import { jsx as m } from "react/jsx-runtime";
|
|
4
4
|
import { c as C } from "./index-chunk-CY3PQDr4.js";
|
|
5
5
|
import { useState as d, useEffect as N, Children as O } from "react";
|
|
@@ -5,17 +5,17 @@ import { E as m } from "./Empty-chunk-BtF8fnEd.js";
|
|
|
5
5
|
import { I as i } from "./Image-chunk-Dls4dbsF.js";
|
|
6
6
|
import { L as n } from "./Loading-chunk-Dv4TiLe1.js";
|
|
7
7
|
import { L } from "./Radio-chunk-DE8dWK4c.js";
|
|
8
|
-
import { T } from "./Tag-chunk-
|
|
9
|
-
import { B as u } from "./Button-chunk-
|
|
10
|
-
import { C as
|
|
8
|
+
import { T } from "./Tag-chunk-Dl2zXTQ8.js";
|
|
9
|
+
import { B as u } from "./Button-chunk-Ccbxfwbf.js";
|
|
10
|
+
import { C as g } from "./ContextMenu-chunk-CX3zW2yD.js";
|
|
11
11
|
import { F as b } from "./Fieldset-chunk-CQKzjpXe.js";
|
|
12
12
|
import { G as k } from "./GlobalProvider-chunk-CkLnkRcW.js";
|
|
13
13
|
import { G as I } from "./GlobalCtx-chunk-CtSRDnk3.js";
|
|
14
|
-
import { L as
|
|
15
|
-
import { N as
|
|
16
|
-
import { R as
|
|
14
|
+
import { L as D, T as G } from "./TextInput.args-chunk-RWwWDRZ4.js";
|
|
15
|
+
import { N as R } from "./Notification-chunk-B_ca8Swd.js";
|
|
16
|
+
import { R as B } from "./ReadMore-chunk-Cv2A7uzo.js";
|
|
17
17
|
import { L as A } from "./Textarea-chunk-CshU7TIs.js";
|
|
18
|
-
import { C as V } from "./Callout-chunk-
|
|
18
|
+
import { C as V } from "./Callout-chunk-lXbe2cTI.js";
|
|
19
19
|
import { L as y } from "./FileUpload-chunk-CcPyoSNs.js";
|
|
20
20
|
import { H as U } from "./Heading-chunk-KETAd3FV.js";
|
|
21
21
|
import { L as q } from "./Link-chunk-DgmjE6xb.js";
|
|
@@ -24,41 +24,40 @@ import { R as Q } from "./RichText-chunk-DxfEl4aR.js";
|
|
|
24
24
|
import { T as X } from "./Tooltip-chunk-D5CzbDEd.js";
|
|
25
25
|
import { L as Z } from "./Checkbox-chunk-CICqXNag.js";
|
|
26
26
|
import { L as $ } from "./DatePicker-chunk-BITHTS_i.js";
|
|
27
|
-
import { H as ro } from "./Hero-chunk-
|
|
28
|
-
import { H as eo } from "./HeroCard-chunk-
|
|
29
|
-
import { L as so } from "./LinkList-chunk-
|
|
27
|
+
import { H as ro } from "./Hero-chunk-8XPHDh4M.js";
|
|
28
|
+
import { H as eo } from "./HeroCard-chunk-DIoKqIvc.js";
|
|
29
|
+
import { L as so } from "./LinkList-chunk-ClC0P1yc.js";
|
|
30
30
|
import { P as xo } from "./Pagination-chunk-B0RsygyT.js";
|
|
31
|
-
import { S as fo } from "./SearchField-chunk-
|
|
31
|
+
import { S as fo } from "./SearchField-chunk-CZ2F5vv2.js";
|
|
32
32
|
import { V as no } from "./Video-chunk-q086hHmd.js";
|
|
33
33
|
import { L as Lo } from "./Dropdown-chunk-_Rqp45VG.js";
|
|
34
|
-
import { I as To } from "./Icon-chunk-
|
|
35
|
-
import { List as uo } from "./List-entry-
|
|
36
|
-
import { P as
|
|
34
|
+
import { I as To } from "./Icon-chunk-B3pcCi1Q.js";
|
|
35
|
+
import { List as uo } from "./List-entry-BX9gaFfD.js";
|
|
36
|
+
import { P as go } from "./Profile-chunk-BTvSWyom.js";
|
|
37
37
|
import { T as bo } from "./TableOfContents-chunk-G6Og9OQI.js";
|
|
38
|
-
import { F as ko } from "./Footer-chunk-
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import { S as Qo } from "./SubsiteNav-chunk-ClugkI0I.js";
|
|
38
|
+
import { F as ko } from "./Footer-chunk-Cs4S0fL1.js";
|
|
39
|
+
import { C as Io, b as Mo, D as Do, a as Go, F as No, M as Ro, P as vo, c as Bo, S as ho, T as Ao } from "./CardGroup-chunk-CDiL5eWl.js";
|
|
40
|
+
import { B as Vo } from "./Breadcrumb-chunk-C5nxxjB6.js";
|
|
41
|
+
import { S as yo } from "./Status-chunk-CjagfPq5.js";
|
|
42
|
+
import { T as Uo } from "./Tabs-chunk-CiBKN1wK.js";
|
|
43
|
+
import { L as qo } from "./LanguageToggle-chunk-C51Ysq9D.js";
|
|
44
|
+
import { M as Jo, S as Ko } from "./MainNav-chunk-DrgCIgDB.js";
|
|
46
45
|
export {
|
|
47
46
|
a as Accordion,
|
|
48
|
-
|
|
47
|
+
Vo as Breadcrumb,
|
|
49
48
|
u as Button,
|
|
50
49
|
V as Callout,
|
|
51
|
-
|
|
50
|
+
Io as CardGroup,
|
|
52
51
|
Z as Checkbox,
|
|
53
52
|
p as Collapse,
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
g as ContextMenu,
|
|
54
|
+
Mo as DataCard,
|
|
56
55
|
$ as DatePicker,
|
|
57
|
-
|
|
56
|
+
Do as DetailCard,
|
|
58
57
|
Lo as Dropdown,
|
|
59
58
|
m as Empty,
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
Go as FactListCard,
|
|
60
|
+
No as FeatureCard,
|
|
62
61
|
b as Fieldset,
|
|
63
62
|
y as FileUpload,
|
|
64
63
|
ko as Footer,
|
|
@@ -70,32 +69,32 @@ export {
|
|
|
70
69
|
eo as HeroCard,
|
|
71
70
|
To as Icon,
|
|
72
71
|
i as Image,
|
|
73
|
-
|
|
72
|
+
qo as LanguageToggle,
|
|
74
73
|
q as Link,
|
|
75
74
|
so as LinkList,
|
|
76
75
|
uo as List,
|
|
77
76
|
n as Loading,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
Jo as MainNav,
|
|
78
|
+
Ro as MultiLinkCard,
|
|
79
|
+
R as Notification,
|
|
81
80
|
J as NumberPicker,
|
|
82
81
|
xo as Pagination,
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
go as Profile,
|
|
83
|
+
vo as PromoCard,
|
|
85
84
|
L as Radio,
|
|
86
|
-
|
|
85
|
+
B as ReadMore,
|
|
87
86
|
Q as RichText,
|
|
88
|
-
|
|
87
|
+
Bo as ScoreCard,
|
|
89
88
|
fo as SearchField,
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
89
|
+
ho as StatCard,
|
|
90
|
+
yo as Status,
|
|
91
|
+
Ko as SubsiteNav,
|
|
93
92
|
bo as TableOfContents,
|
|
94
|
-
|
|
93
|
+
Uo as Tabs,
|
|
95
94
|
T as Tag,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
95
|
+
Ao as TextCard,
|
|
96
|
+
D as TextInput,
|
|
97
|
+
G as TextInputArgs,
|
|
99
98
|
A as Textarea,
|
|
100
99
|
X as Tooltip,
|
|
101
100
|
no as Video
|
package/lib/esm/_store/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { u as
|
|
2
|
-
import { u } from "./usePrevious-chunk-BtJVllKj.js";
|
|
3
|
-
import { u as a } from "./
|
|
1
|
+
import { u as o } from "./useGlobalSettings-chunk-BhfWlTcd.js";
|
|
2
|
+
import { u as r } from "./usePrevious-chunk-BtJVllKj.js";
|
|
3
|
+
import { u as t, a as p } from "./useOutsideClick-chunk-CWy5z-7S.js";
|
|
4
|
+
import { u as f } from "./useFocusTrap-chunk-YNgJEwcj.js";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
t as useBreakpoint,
|
|
7
|
+
f as useFocusTrap,
|
|
8
|
+
o as useGlobalSettings,
|
|
9
|
+
p as useOutsideClick,
|
|
10
|
+
r as usePrevious
|
|
8
11
|
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { useRef as v, useCallback as o, useEffect as T } from "react";
|
|
2
|
+
const x = [
|
|
3
|
+
"a[href]:not([disabled])",
|
|
4
|
+
"button:not([disabled])",
|
|
5
|
+
"textarea:not([disabled])",
|
|
6
|
+
'input[type="text"]:not([disabled])',
|
|
7
|
+
'input[type="radio"]:not([disabled])',
|
|
8
|
+
'input[type="checkbox"]:not([disabled])',
|
|
9
|
+
'input[type="search"]:not([disabled])',
|
|
10
|
+
'input[type="submit"]:not([disabled])',
|
|
11
|
+
"select:not([disabled])",
|
|
12
|
+
'[tabindex]:not([tabindex="-1"]):not([disabled])'
|
|
13
|
+
];
|
|
14
|
+
function C(k) {
|
|
15
|
+
const {
|
|
16
|
+
isActive: n,
|
|
17
|
+
onEscape: b,
|
|
18
|
+
onReturnFocus: m,
|
|
19
|
+
autoFocus: F = !0,
|
|
20
|
+
restoreFocus: s = !0
|
|
21
|
+
} = k, r = v(null), u = v(null), y = v([]), c = o(() => {
|
|
22
|
+
if (!r.current) return [];
|
|
23
|
+
const e = r.current.querySelectorAll(
|
|
24
|
+
x.join(",")
|
|
25
|
+
), a = Array.from(e).filter((t) => t.style.display !== "none" && t.style.visibility !== "hidden" && t.offsetParent !== null);
|
|
26
|
+
return Array.from(new Set(a));
|
|
27
|
+
}, []), i = o(
|
|
28
|
+
(e) => {
|
|
29
|
+
if (!n || !r.current) return;
|
|
30
|
+
const { key: a, shiftKey: h } = e;
|
|
31
|
+
if (a === "Escape") {
|
|
32
|
+
e.preventDefault(), e.stopPropagation(), b && b();
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
if (a === "Tab") {
|
|
36
|
+
const t = c();
|
|
37
|
+
if (t.length === 0) {
|
|
38
|
+
e.preventDefault();
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
const f = t.at(0), d = t.at(-1), p = document.activeElement;
|
|
42
|
+
h ? (p === f || !t.includes(p)) && (e.preventDefault(), d == null || d.focus()) : (p === d || !t.includes(p)) && (e.preventDefault(), f == null || f.focus());
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
[n, b, c]
|
|
46
|
+
), l = o(() => {
|
|
47
|
+
var e;
|
|
48
|
+
!n || !r.current || (s && document.activeElement && (u.current = document.activeElement), y.current = c(), F && y.current.length > 0 && ((e = y.current[0]) == null || e.focus()), document.addEventListener("keydown", i, !0));
|
|
49
|
+
}, [n, F, s, c, i]), E = o(() => {
|
|
50
|
+
document.removeEventListener("keydown", i, !0), s && u.current && setTimeout(() => {
|
|
51
|
+
u.current && (u.current.focus(), u.current = null);
|
|
52
|
+
}, 0), m && m();
|
|
53
|
+
}, [i, s, m]);
|
|
54
|
+
return T(() => (n ? l() : E(), () => {
|
|
55
|
+
E();
|
|
56
|
+
}), [n, l, E]), o(
|
|
57
|
+
(e) => {
|
|
58
|
+
r.current = e, e && n && setTimeout(l, 0);
|
|
59
|
+
},
|
|
60
|
+
[n, l]
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
export {
|
|
64
|
+
C as u
|
|
65
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { useMemo as x, useCallback as m, useSyncExternalStore as p, useDebugValue as E, useEffect as w } from "react";
|
|
2
|
+
const y = (s) => {
|
|
3
|
+
const r = Object.keys(s).sort((t, i) => s[i] - s[t]);
|
|
4
|
+
return r.map((t, i) => {
|
|
5
|
+
let o = "";
|
|
6
|
+
const u = s[t], d = r[i - 1], e = d ? s[d] : null;
|
|
7
|
+
return u >= 0 && (o = `(min-width: ${u}px)`), e !== null && (o && (o += " and "), o += `(max-width: ${e - 1}px)`), {
|
|
8
|
+
breakpoint: t,
|
|
9
|
+
maxWidth: e ? e - 1 : null,
|
|
10
|
+
minWidth: u,
|
|
11
|
+
query: o
|
|
12
|
+
};
|
|
13
|
+
});
|
|
14
|
+
}, f = {
|
|
15
|
+
breakpoint: null,
|
|
16
|
+
minWidth: null,
|
|
17
|
+
maxWidth: null,
|
|
18
|
+
query: null
|
|
19
|
+
}, v = (s, r) => {
|
|
20
|
+
const t = x(() => y(s), [s]), i = m((e) => {
|
|
21
|
+
const n = [];
|
|
22
|
+
return t.forEach(({ query: c }) => {
|
|
23
|
+
const a = window.matchMedia(c), l = "addEventListener" in a && "removeEventListener" in a;
|
|
24
|
+
l ? a.addEventListener("change", e) : a.addListener(e), n.push(l ? () => a.removeEventListener("change", e) : () => a.removeListener(e));
|
|
25
|
+
}), () => n.forEach((c) => c());
|
|
26
|
+
}, [t]), o = m(() => {
|
|
27
|
+
const e = t.find((n) => window.matchMedia(n.query).matches);
|
|
28
|
+
if (e)
|
|
29
|
+
return e;
|
|
30
|
+
if (r) {
|
|
31
|
+
const n = t.find((c) => c.breakpoint === r);
|
|
32
|
+
if (n)
|
|
33
|
+
return n;
|
|
34
|
+
}
|
|
35
|
+
return f;
|
|
36
|
+
}, [r, t]), u = m(() => t.find((n) => n.breakpoint === r) ?? f, [r, t]), d = p(i, o, u);
|
|
37
|
+
return E(d, (e) => typeof e.breakpoint == "string" ? `${e.breakpoint} (${e.minWidth} ≤ x${e.maxWidth ? ` < ${e.maxWidth + 1}` : ""})` : ""), d;
|
|
38
|
+
}, g = typeof window < "u" && typeof document < "u", L = ["xs", "sm", "md", "lg", "xl", "xxl"], h = {
|
|
39
|
+
xs: 320,
|
|
40
|
+
sm: 414,
|
|
41
|
+
md: 610,
|
|
42
|
+
lg: 1024,
|
|
43
|
+
xl: 1140,
|
|
44
|
+
xxl: 1440
|
|
45
|
+
}, M = g ? L.reduce((s, r) => {
|
|
46
|
+
const t = window.getComputedStyle(document.body), i = parseInt(
|
|
47
|
+
t.getPropertyValue(`--ilo-breakpoint-${r}`)
|
|
48
|
+
);
|
|
49
|
+
return i && (s[r] = i), s;
|
|
50
|
+
}, h) : h, $ = v.bind(null, M);
|
|
51
|
+
function b(s, r, t) {
|
|
52
|
+
w(() => {
|
|
53
|
+
function i(o) {
|
|
54
|
+
var e;
|
|
55
|
+
const u = o.target;
|
|
56
|
+
if ((e = s.current) != null && e.contains(u) || !t.exceptions || !t.exceptions.length)
|
|
57
|
+
return;
|
|
58
|
+
t.exceptions.filter(Boolean).some((n) => {
|
|
59
|
+
var c;
|
|
60
|
+
return n instanceof HTMLElement || n instanceof Element ? n.contains(u) : (c = n.current) == null ? void 0 : c.contains(u);
|
|
61
|
+
}) || r();
|
|
62
|
+
}
|
|
63
|
+
return document.addEventListener("mousedown", i), () => {
|
|
64
|
+
document.removeEventListener("mousedown", i);
|
|
65
|
+
};
|
|
66
|
+
}, [s, r, t.exceptions]);
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
b as a,
|
|
70
|
+
$ as u
|
|
71
|
+
};
|