@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,36 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { c as m } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as d } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
const k = ({
|
|
5
|
-
children: i,
|
|
6
|
-
className: s,
|
|
7
|
-
label: n,
|
|
8
|
-
target: e,
|
|
9
|
-
theme: r = "light",
|
|
10
|
-
url: t,
|
|
11
|
-
style: l,
|
|
12
|
-
...a
|
|
13
|
-
}) => {
|
|
14
|
-
const { prefix: c } = d(), o = typeof s < "u" && s.includes("button") ? "" : `${c}--link`, f = m(s, {
|
|
15
|
-
[o]: !0,
|
|
16
|
-
[`${o}--${r}`]: r
|
|
17
|
-
});
|
|
18
|
-
return /* @__PURE__ */ p(
|
|
19
|
-
"a",
|
|
20
|
-
{
|
|
21
|
-
className: f,
|
|
22
|
-
href: t,
|
|
23
|
-
target: e,
|
|
24
|
-
rel: e ? "noopener noreferrer" : "",
|
|
25
|
-
style: l,
|
|
26
|
-
...a,
|
|
27
|
-
children: [
|
|
28
|
-
n && /* @__PURE__ */ u("span", { className: "link__label", children: n }),
|
|
29
|
-
i
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
}, h = k;
|
|
34
|
-
export {
|
|
35
|
-
h as L
|
|
36
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as h } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as p } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
const u = ({
|
|
5
|
-
className: m,
|
|
6
|
-
headline: c,
|
|
7
|
-
linkgroup: r,
|
|
8
|
-
theme: i
|
|
9
|
-
}) => {
|
|
10
|
-
const { prefix: t } = p(), s = `${t}--link-list`, d = h(m, {
|
|
11
|
-
[s]: !0,
|
|
12
|
-
[`${s + "--" + (i && i === "dark" ? i : "light")}`]: !0
|
|
13
|
-
});
|
|
14
|
-
return /* @__PURE__ */ n("div", { className: d, children: [
|
|
15
|
-
c && /* @__PURE__ */ l("h3", { className: `${s}--headline`, children: c }),
|
|
16
|
-
/* @__PURE__ */ l("ul", { className: `${s}--linkgroups`, children: r && r.map((a, $) => /* @__PURE__ */ n(
|
|
17
|
-
"li",
|
|
18
|
-
{
|
|
19
|
-
className: `${s}--linkgroups-item`,
|
|
20
|
-
children: [
|
|
21
|
-
a.headline && /* @__PURE__ */ l("h4", { className: `${s}--links--headline`, children: a.headline }),
|
|
22
|
-
/* @__PURE__ */ l("ul", { className: `${s}--links`, children: a.links && a.links.map((e, o) => /* @__PURE__ */ l(
|
|
23
|
-
"li",
|
|
24
|
-
{
|
|
25
|
-
className: `${s}--links--item${e.indented ? " indented" : ""}`,
|
|
26
|
-
children: /* @__PURE__ */ n("a", { href: e.url, className: `${s}--link`, children: [
|
|
27
|
-
/* @__PURE__ */ l("span", { className: `${s}--label`, children: e.label }),
|
|
28
|
-
/* @__PURE__ */ l("span", { className: `${s}--icon` })
|
|
29
|
-
] })
|
|
30
|
-
},
|
|
31
|
-
`${s}--links--item-${o}`
|
|
32
|
-
)) })
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
`${s}--linkgroups-item-${$}`
|
|
36
|
-
)) })
|
|
37
|
-
] });
|
|
38
|
-
}, f = u;
|
|
39
|
-
export {
|
|
40
|
-
f as L
|
|
41
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as r } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
const p = ({
|
|
5
|
-
children: t,
|
|
6
|
-
className: n,
|
|
7
|
-
alignment: e = "default",
|
|
8
|
-
ordered: s = "unstyled",
|
|
9
|
-
title: l
|
|
10
|
-
}) => {
|
|
11
|
-
const { prefix: i } = r(), a = `${i}--list`, m = `${a}__unstyled`, u = `${a}__horizontal`, C = `${a}--title`, $ = c(n, a, {
|
|
12
|
-
[m]: s === "unstyled",
|
|
13
|
-
[u]: e === "horizontal"
|
|
14
|
-
});
|
|
15
|
-
return /* @__PURE__ */ f("div", { className: $, children: [
|
|
16
|
-
l && /* @__PURE__ */ o("h2", { className: C, children: l }),
|
|
17
|
-
s && s === "ordered" ? /* @__PURE__ */ o("ol", { children: t }) : /* @__PURE__ */ o("ul", { children: t })
|
|
18
|
-
] });
|
|
19
|
-
}, y = p, d = ({ children: t, className: n, ...e }) => {
|
|
20
|
-
const { prefix: s } = r(), l = `${s}--list--item`, i = c(n, l);
|
|
21
|
-
return /* @__PURE__ */ o("li", { className: i, ...e, children: t });
|
|
22
|
-
}, _ = d;
|
|
23
|
-
export {
|
|
24
|
-
y as L,
|
|
25
|
-
_ as a
|
|
26
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { jsx as i, Fragment as N, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { useState as b } from "react";
|
|
3
|
-
import { c as x } from "./index-chunk-0LeqwHm8.js";
|
|
4
|
-
import { u as y } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
5
|
-
import { B as v } from "./Button-chunk-CTOnaHZ_.js";
|
|
6
|
-
const C = ({
|
|
7
|
-
className: t,
|
|
8
|
-
closelabel: r,
|
|
9
|
-
copy: c,
|
|
10
|
-
cta: e,
|
|
11
|
-
headline: d,
|
|
12
|
-
placement: a,
|
|
13
|
-
timestamp: l,
|
|
14
|
-
type: n
|
|
15
|
-
}) => {
|
|
16
|
-
const { prefix: m } = y(), [u, h] = b(!0), s = `${m}--notification`, p = x(t, {
|
|
17
|
-
[s]: !0,
|
|
18
|
-
[`${s}--${a}`]: a,
|
|
19
|
-
[`icon icon--${n}`]: n
|
|
20
|
-
}), f = {
|
|
21
|
-
callback: () => {
|
|
22
|
-
},
|
|
23
|
-
className: `${s}--cta`,
|
|
24
|
-
children: !1,
|
|
25
|
-
label: e == null ? void 0 : e.label,
|
|
26
|
-
size: "small",
|
|
27
|
-
type: "secondary",
|
|
28
|
-
url: e == null ? void 0 : e.url
|
|
29
|
-
}, $ = () => {
|
|
30
|
-
h(!1);
|
|
31
|
-
};
|
|
32
|
-
return /* @__PURE__ */ i(N, { children: u && /* @__PURE__ */ o(
|
|
33
|
-
"div",
|
|
34
|
-
{
|
|
35
|
-
className: p,
|
|
36
|
-
role: "status",
|
|
37
|
-
"aria-live": "polite",
|
|
38
|
-
"aria-relevant": "additions",
|
|
39
|
-
children: [
|
|
40
|
-
/* @__PURE__ */ o("div", { className: `${s}--content`, children: [
|
|
41
|
-
/* @__PURE__ */ i("h2", { className: `${s}--headline`, children: d }),
|
|
42
|
-
/* @__PURE__ */ i("p", { className: `${s}--copy`, children: c }),
|
|
43
|
-
l && /* @__PURE__ */ i("time", { className: `${s}--date`, dateTime: l.unix, children: l.human }),
|
|
44
|
-
e && /* @__PURE__ */ i(v, { ...f })
|
|
45
|
-
] }),
|
|
46
|
-
/* @__PURE__ */ i(
|
|
47
|
-
"button",
|
|
48
|
-
{
|
|
49
|
-
className: `${s}--close`,
|
|
50
|
-
type: "button",
|
|
51
|
-
onClick: () => $(),
|
|
52
|
-
children: /* @__PURE__ */ i("span", { children: r })
|
|
53
|
-
}
|
|
54
|
-
)
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
) });
|
|
58
|
-
}, z = C;
|
|
59
|
-
export {
|
|
60
|
-
z as N
|
|
61
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { c as d } from "./index-chunk-0LeqwHm8.js";
|
|
3
|
-
import { u as p } from "./useGlobalSettings-chunk-gkijV3S1.js";
|
|
4
|
-
const h = ({
|
|
5
|
-
avatar: t,
|
|
6
|
-
className: m,
|
|
7
|
-
description: r,
|
|
8
|
-
link: s,
|
|
9
|
-
name: l,
|
|
10
|
-
role: i,
|
|
11
|
-
theme: c = "light",
|
|
12
|
-
size: n = "large"
|
|
13
|
-
}) => {
|
|
14
|
-
const { prefix: f } = p(), e = `${f}--profile`, $ = d(m, {
|
|
15
|
-
[e]: !0,
|
|
16
|
-
[`${e}__theme__${c}`]: c,
|
|
17
|
-
[`${e}__size__${n}`]: n
|
|
18
|
-
});
|
|
19
|
-
return /* @__PURE__ */ o("figure", { className: $, children: [
|
|
20
|
-
/* @__PURE__ */ a(
|
|
21
|
-
"img",
|
|
22
|
-
{
|
|
23
|
-
className: `${e}--avatar`,
|
|
24
|
-
src: t,
|
|
25
|
-
alt: `Avatar for ${l}`
|
|
26
|
-
}
|
|
27
|
-
),
|
|
28
|
-
/* @__PURE__ */ a("figcaption", { children: /* @__PURE__ */ o("div", { className: `${e}--figcaption--content`, children: [
|
|
29
|
-
/* @__PURE__ */ a("div", { className: `${e}--name`, children: l }),
|
|
30
|
-
i && /* @__PURE__ */ a("div", { className: `${e}--role`, children: i })
|
|
31
|
-
] }) }),
|
|
32
|
-
r && /* @__PURE__ */ a("p", { className: `${e}--description`, children: r }),
|
|
33
|
-
s && /* @__PURE__ */ a("div", { className: `${e}--link`, children: /* @__PURE__ */ a("a", { href: s.url, target: "__blank", rel: "noopener noreferrer", children: /* @__PURE__ */ a("span", { className: `${e}--link--label`, children: s.label }) }) })
|
|
34
|
-
] });
|
|
35
|
-
}, u = h;
|
|
36
|
-
export {
|
|
37
|
-
u as P
|
|
38
|
-
};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { Accordion as e } from "./Accordion-entry-B-0bgUhR.js";
|
|
2
|
-
import { F as t } from "./Form-chunk-1a4awKWi.js";
|
|
3
|
-
import { C as m } from "./Collapse-chunk-CyOyOA2s.js";
|
|
4
|
-
import { E as f } from "./Empty-chunk-UEm5zVbe.js";
|
|
5
|
-
import { I as i } from "./Image-chunk-DGh-6cxv.js";
|
|
6
|
-
import { L as n } from "./Loading-chunk-BIJLAqk6.js";
|
|
7
|
-
import { L as l } from "./Radio-chunk-DDMoE7Le.js";
|
|
8
|
-
import { T as c } from "./Tag-chunk-6_6Oh_I3.js";
|
|
9
|
-
import { B as F } from "./Button-chunk-CTOnaHZ_.js";
|
|
10
|
-
import { C as b } from "./ContextMenu-chunk-Zy9igFLz.js";
|
|
11
|
-
import { F as u } from "./Fieldset-chunk-udvv8dML.js";
|
|
12
|
-
import { G as k } from "./GlobalProvider-chunk-nVdEz2_E.js";
|
|
13
|
-
import { N as R } from "./Notification-chunk-VfaNI3r9.js";
|
|
14
|
-
import { R as I } from "./ReadMore-chunk-DoptEIE4.js";
|
|
15
|
-
import { L as v } from "./Textarea-chunk-ClZt7jmS.js";
|
|
16
|
-
import { C as D } from "./Callout-chunk-CsEfqAuS.js";
|
|
17
|
-
import { C as M } from "./Credit-chunk-BjaAFul8.js";
|
|
18
|
-
import { L as V } from "./FileUpload-chunk-Cdl4F5zH.js";
|
|
19
|
-
import { H as y } from "./Heading-chunk-CFEDmQeQ.js";
|
|
20
|
-
import { L as O } from "./Link-chunk-zt732cUC.js";
|
|
21
|
-
import { L as j } from "./NumberPicker-chunk-Z_TIIuxb.js";
|
|
22
|
-
import { R as z } from "./RichText-chunk-BOMiyuNR.js";
|
|
23
|
-
import { T as K } from "./Tooltip-chunk-EJOnwIYn.js";
|
|
24
|
-
import { L as W } from "./Checkbox-chunk-CdjFGjiG.js";
|
|
25
|
-
import { L as Y } from "./DatePicker-chunk-BoTriI-e.js";
|
|
26
|
-
import { H as _ } from "./Hero-chunk-swloBIGl.js";
|
|
27
|
-
import { H as oo } from "./HeroCard-chunk-fz3EIUiE.js";
|
|
28
|
-
import { L as eo } from "./LinkList-chunk-Doq6Z7IG.js";
|
|
29
|
-
import { P as to } from "./Pagination-chunk-Ci7qN6no.js";
|
|
30
|
-
import { S as mo } from "./SearchField-chunk-DfXCHmW0.js";
|
|
31
|
-
import { V as fo } from "./Video-chunk-DAqwWSGg.js";
|
|
32
|
-
import { L as io } from "./Dropdown-chunk-DxXjnNBq.js";
|
|
33
|
-
import { I as no } from "./Icon-chunk-nLD8VsP5.js";
|
|
34
|
-
import { L as Co } from "./ListItem-chunk-CKnxZe3Y.js";
|
|
35
|
-
import { P as To } from "./Profile-chunk-Bsn46OaP.js";
|
|
36
|
-
import { T as Po } from "./TableOfContents-chunk-BXnS8D2s.js";
|
|
37
|
-
import { F as go } from "./Footer-chunk-Cfulou_M.js";
|
|
38
|
-
import { LocalNav as Ho } from "./LocalNav-entry-DydB3k67.js";
|
|
39
|
-
import { Navigation as No } from "./Navigation-entry-BLC2KoMs.js";
|
|
40
|
-
import { B as Bo } from "./Breadcrumb-chunk-DcsXzPvT.js";
|
|
41
|
-
import { T as ho } from "./Tabs-chunk-CpUcNAK9.js";
|
|
42
|
-
import { C as Go } from "./CardGroup-chunk-0V0yYua2.js";
|
|
43
|
-
export {
|
|
44
|
-
e as Accordion,
|
|
45
|
-
Bo as Breadcrumb,
|
|
46
|
-
F as Button,
|
|
47
|
-
D as Callout,
|
|
48
|
-
Go as CardGroup,
|
|
49
|
-
W as Checkbox,
|
|
50
|
-
m as Collapse,
|
|
51
|
-
b as ContextMenu,
|
|
52
|
-
M as Credit,
|
|
53
|
-
Y as DatePicker,
|
|
54
|
-
io as Dropdown,
|
|
55
|
-
f as Empty,
|
|
56
|
-
u as Fieldset,
|
|
57
|
-
V as FileUpload,
|
|
58
|
-
go as Footer,
|
|
59
|
-
t as Form,
|
|
60
|
-
k as GlobalProvider,
|
|
61
|
-
y as Heading,
|
|
62
|
-
_ as Hero,
|
|
63
|
-
oo as HeroCard,
|
|
64
|
-
no as Icon,
|
|
65
|
-
i as Image,
|
|
66
|
-
O as Link,
|
|
67
|
-
eo as LinkList,
|
|
68
|
-
Co as List,
|
|
69
|
-
n as Loading,
|
|
70
|
-
Ho as LocalNav,
|
|
71
|
-
No as Navigation,
|
|
72
|
-
R as Notification,
|
|
73
|
-
j as NumberPicker,
|
|
74
|
-
to as Pagination,
|
|
75
|
-
To as Profile,
|
|
76
|
-
l as Radio,
|
|
77
|
-
I as ReadMore,
|
|
78
|
-
z as RichText,
|
|
79
|
-
mo as SearchField,
|
|
80
|
-
Po as TableOfContents,
|
|
81
|
-
ho as Tabs,
|
|
82
|
-
c as Tag,
|
|
83
|
-
v as Textarea,
|
|
84
|
-
K as Tooltip,
|
|
85
|
-
fo as Video
|
|
86
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { ButtonFunctions, ButtonTypes, PositionTypes, SizeTypes } from '../../types';
|
|
3
|
-
|
|
4
|
-
export interface ButtonProps {
|
|
5
|
-
/**
|
|
6
|
-
* Specify the callback of your Button.
|
|
7
|
-
*/
|
|
8
|
-
callback?: (e: React.MouseEvent<Element, MouseEvent>) => unknown;
|
|
9
|
-
/**
|
|
10
|
-
* Specify the content of your Button.
|
|
11
|
-
*/
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
/**
|
|
14
|
-
* Specify an optional className to be added to your Button.
|
|
15
|
-
*/
|
|
16
|
-
className?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Specify the name for the Button.
|
|
19
|
-
*/
|
|
20
|
-
name?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Specify whether or not the button is disabled.
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Specify the icon for the Button
|
|
27
|
-
*/
|
|
28
|
-
icon?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Specify the icon for the Button
|
|
31
|
-
*/
|
|
32
|
-
iconPosition?: PositionTypes;
|
|
33
|
-
/**
|
|
34
|
-
* Does this button display an icon only?
|
|
35
|
-
*/
|
|
36
|
-
icononly?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Specify which function the button performs
|
|
39
|
-
*/
|
|
40
|
-
kind?: ButtonFunctions;
|
|
41
|
-
/**
|
|
42
|
-
* Specify the label for the Button
|
|
43
|
-
*/
|
|
44
|
-
label?: string;
|
|
45
|
-
/**
|
|
46
|
-
* Does this button open a modal?
|
|
47
|
-
*/
|
|
48
|
-
opensmodal?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Specify an optional className to be added to your Button.
|
|
51
|
-
*/
|
|
52
|
-
size?: SizeTypes;
|
|
53
|
-
/**
|
|
54
|
-
* Specify the target for when Button is really a link
|
|
55
|
-
*/
|
|
56
|
-
target?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Specify an optional className to be added to your Button.
|
|
59
|
-
*/
|
|
60
|
-
type?: ButtonTypes;
|
|
61
|
-
/**
|
|
62
|
-
* Specify the url for the Button's href
|
|
63
|
-
*/
|
|
64
|
-
url?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Inline styles to be applied to the rendered element
|
|
67
|
-
*/
|
|
68
|
-
style?: React.CSSProperties;
|
|
69
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { CalloutTypes } from '../../types';
|
|
2
|
-
|
|
3
|
-
interface CTAProps {
|
|
4
|
-
/**
|
|
5
|
-
* Specify the label of the CTA
|
|
6
|
-
*/
|
|
7
|
-
label?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Specify the url of the CTA
|
|
10
|
-
*/
|
|
11
|
-
url?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface CalloutProps {
|
|
14
|
-
/**
|
|
15
|
-
* Specify the settings for an option CTA
|
|
16
|
-
*/
|
|
17
|
-
cta?: CTAProps;
|
|
18
|
-
/**
|
|
19
|
-
* Specify an optional className to be added to your RichText.
|
|
20
|
-
*/
|
|
21
|
-
className?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Specify the copy
|
|
24
|
-
*/
|
|
25
|
-
copy?: Required<string>;
|
|
26
|
-
/**
|
|
27
|
-
* Specify if callout is collapsible
|
|
28
|
-
*/
|
|
29
|
-
isCollapsible?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Specify if callout is open (only important for collapsible items)
|
|
32
|
-
*/
|
|
33
|
-
isOpen?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Specify the callout headline
|
|
36
|
-
*/
|
|
37
|
-
headline?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Specify the open label
|
|
40
|
-
*/
|
|
41
|
-
toggleOpenLabel?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Specify the open label
|
|
44
|
-
*/
|
|
45
|
-
toggleClosedLabel?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Describe the type of callout
|
|
48
|
-
*/
|
|
49
|
-
type?: CalloutTypes;
|
|
50
|
-
}
|
|
51
|
-
export {};
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { LinkProps } from '../../LinkList/LinkList.props';
|
|
2
|
-
import { StatCardProps } from '../StatCard';
|
|
3
|
-
import { MultilinkCardProps } from '../MultilinkCard';
|
|
4
|
-
import { TextCardProps } from '../TextCard';
|
|
5
|
-
import { PromoCardProps } from '../PromoCard';
|
|
6
|
-
import { FeatureCardProps } from '../FeatureCard';
|
|
7
|
-
import { DetailCardProps } from '../DetailCard';
|
|
8
|
-
import { FactlistCardProps } from '../FactlistCard';
|
|
9
|
-
import { DataCardProps } from '../DataCard';
|
|
10
|
-
import { HeadingTypes, CardSize, ThemeTypes, CardAlignment } from '../../../types';
|
|
11
|
-
|
|
12
|
-
export interface CommonCardGroupProps {
|
|
13
|
-
/**
|
|
14
|
-
*Collapsed - Optionally collapses margins between the cards.
|
|
15
|
-
*Option keys: true, false
|
|
16
|
-
*/
|
|
17
|
-
collapsed?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
*Number of cards in the group
|
|
20
|
-
*/
|
|
21
|
-
cardCount: string;
|
|
22
|
-
/**
|
|
23
|
-
*Size - Sets the layout of the cards in the group. See the Card component for more info on this setting, which has different effects on the different types of cards.
|
|
24
|
-
*Option keys: standard, narrow, wide, fluid
|
|
25
|
-
*/
|
|
26
|
-
size: CardSize;
|
|
27
|
-
/**
|
|
28
|
-
*Alignment - Positions the image to the right or to the left of the content when the card is displayed in a wide or fluid size. Has no effect if the card is displayed in a standard or narrow size. Only used by `Multilink Card`.
|
|
29
|
-
*Option keys: left, right
|
|
30
|
-
*/
|
|
31
|
-
alignment?: CardAlignment;
|
|
32
|
-
/**
|
|
33
|
-
*Set the title level for all the cards in the group
|
|
34
|
-
*/
|
|
35
|
-
titleLevel?: HeadingTypes;
|
|
36
|
-
/**
|
|
37
|
-
*A Button to display after all the cards in the group
|
|
38
|
-
*/
|
|
39
|
-
cta?: LinkProps;
|
|
40
|
-
/**
|
|
41
|
-
*Theme - Sets all of the cards to appear as either light or dark. Used by all card groups except for Multilink Card, Data Card and Stat Card.
|
|
42
|
-
*Option keys: dark, light
|
|
43
|
-
*/
|
|
44
|
-
theme?: ThemeTypes;
|
|
45
|
-
}
|
|
46
|
-
export interface StatCardGroup extends CommonCardGroupProps {
|
|
47
|
-
/**
|
|
48
|
-
* Represents different types of card groups:
|
|
49
|
-
*/
|
|
50
|
-
type: "stat";
|
|
51
|
-
/**
|
|
52
|
-
* An array of card objects corresponding to the respective card type:
|
|
53
|
-
*/
|
|
54
|
-
cards: StatCardProps[];
|
|
55
|
-
}
|
|
56
|
-
export interface MultilinkCardGroup extends CommonCardGroupProps {
|
|
57
|
-
type: "multilink";
|
|
58
|
-
cards: MultilinkCardProps[];
|
|
59
|
-
}
|
|
60
|
-
export interface TextCardGroup extends CommonCardGroupProps {
|
|
61
|
-
type: "text";
|
|
62
|
-
cards: TextCardProps[];
|
|
63
|
-
}
|
|
64
|
-
export interface PromoCardGroup extends CommonCardGroupProps {
|
|
65
|
-
type: "promo";
|
|
66
|
-
cards: PromoCardProps[];
|
|
67
|
-
}
|
|
68
|
-
export interface FeatureCardGroup extends CommonCardGroupProps {
|
|
69
|
-
type: "feature";
|
|
70
|
-
cards: FeatureCardProps[];
|
|
71
|
-
}
|
|
72
|
-
export interface DetailCardGroup extends CommonCardGroupProps {
|
|
73
|
-
type: "detail";
|
|
74
|
-
cards: DetailCardProps[];
|
|
75
|
-
}
|
|
76
|
-
export interface FactlistCardGroup extends CommonCardGroupProps {
|
|
77
|
-
type: "factlist";
|
|
78
|
-
cards: FactlistCardProps[];
|
|
79
|
-
}
|
|
80
|
-
export interface DataCardGroup extends CommonCardGroupProps {
|
|
81
|
-
type: "data";
|
|
82
|
-
titleLevel?: never;
|
|
83
|
-
cards: DataCardProps[];
|
|
84
|
-
}
|
|
85
|
-
export type CardGroupComponentProps = StatCardProps | MultilinkCardProps | TextCardProps | PromoCardProps | FeatureCardProps | DetailCardProps | FactlistCardProps | DataCardProps;
|
|
86
|
-
export type CardGroupProps = StatCardGroup | MultilinkCardGroup | TextCardGroup | PromoCardGroup | FeatureCardGroup | DetailCardGroup | FactlistCardGroup | DataCardGroup;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { CardSize } from '../../../types';
|
|
2
|
-
import { LinkProps } from '../../LinkList/LinkList.props';
|
|
3
|
-
|
|
4
|
-
export interface DataCardProps {
|
|
5
|
-
/**
|
|
6
|
-
* A line of text that appears as a small heading at the top of the card
|
|
7
|
-
*/
|
|
8
|
-
eyebrow?: string;
|
|
9
|
-
/**
|
|
10
|
-
* How big should the card be
|
|
11
|
-
*/
|
|
12
|
-
size?: Omit<CardSize, "standard">;
|
|
13
|
-
/**
|
|
14
|
-
* The image to show in the card
|
|
15
|
-
*/
|
|
16
|
-
image?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Array of Content (label, copy), Files object (optional headline, array of items with label and url) and Links * * object (optional headline, array of items with label and url)
|
|
19
|
-
*/
|
|
20
|
-
dataset?: CardDataset;
|
|
21
|
-
/**
|
|
22
|
-
* Make the content appear in one or two columns. Only applies when the size is set to `wide` or `fluid`
|
|
23
|
-
*/
|
|
24
|
-
columns?: string;
|
|
25
|
-
}
|
|
26
|
-
interface CardDataset {
|
|
27
|
-
content?: DataContent;
|
|
28
|
-
files?: DataFile;
|
|
29
|
-
links?: DataLink;
|
|
30
|
-
cta?: Cta;
|
|
31
|
-
}
|
|
32
|
-
interface DataContent {
|
|
33
|
-
items?: Array<ContentItem>;
|
|
34
|
-
}
|
|
35
|
-
interface ContentItem {
|
|
36
|
-
label?: string;
|
|
37
|
-
copy?: string;
|
|
38
|
-
}
|
|
39
|
-
interface DataFile {
|
|
40
|
-
headline?: string;
|
|
41
|
-
items?: Array<LinkProps>;
|
|
42
|
-
}
|
|
43
|
-
interface DataLink {
|
|
44
|
-
headline?: string;
|
|
45
|
-
items?: Array<LinkProps>;
|
|
46
|
-
}
|
|
47
|
-
interface Cta {
|
|
48
|
-
headline?: string;
|
|
49
|
-
items?: Array<LinkProps>;
|
|
50
|
-
}
|
|
51
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CardSize, EventDate, HeadingTypes } from '../../../types';
|
|
2
|
-
|
|
3
|
-
export interface DetailCardProps {
|
|
4
|
-
/**
|
|
5
|
-
* A line of text that appears as a small heading above the title of the card
|
|
6
|
-
*/
|
|
7
|
-
eyebrow?: string;
|
|
8
|
-
/**
|
|
9
|
-
* The title of the card
|
|
10
|
-
*/
|
|
11
|
-
title: string;
|
|
12
|
-
/**
|
|
13
|
-
* HTML element used for the title
|
|
14
|
-
*/
|
|
15
|
-
titleLevel?: HeadingTypes;
|
|
16
|
-
/**
|
|
17
|
-
* Introductory text in the card
|
|
18
|
-
*/
|
|
19
|
-
intro?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Specify the event Date, in both human and Unix format.
|
|
22
|
-
*/
|
|
23
|
-
date?: EventDate;
|
|
24
|
-
/**
|
|
25
|
-
* Information about an event
|
|
26
|
-
*/
|
|
27
|
-
eventdetails?: string;
|
|
28
|
-
/**
|
|
29
|
-
* A URL to link to
|
|
30
|
-
*/
|
|
31
|
-
link?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The image to show in the card
|
|
34
|
-
*/
|
|
35
|
-
image?: string;
|
|
36
|
-
/**
|
|
37
|
-
* How big should the card be
|
|
38
|
-
*/
|
|
39
|
-
size?: Omit<CardSize, "standard">;
|
|
40
|
-
}
|