@ilo-org/react 0.23.1 → 0.23.3
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/{Cards-entry-CHq2Ta6R.js → Cards-entry-D_M0rUf1.js} +1 -1
- package/lib/cjs/_store/ScoreCard-chunk-CdqvfjmP.js +1 -0
- package/lib/cjs/_store/Tabs-chunk-n0swxLit.js +1 -0
- package/lib/cjs/_store/{Tabs-entry-ThYYmcq4.js → Tabs-entry-B-Axwj7H.js} +1 -1
- package/lib/cjs/_store/{components-entry-CTmegFtj.js → components-entry-BMabjnwB.js} +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/esm/_store/{Cards-entry-qyvGBr58.js → Cards-entry-BsTiPrJs.js} +1 -1
- package/lib/esm/_store/ScoreCard-chunk-T3fANZpV.js +480 -0
- package/lib/esm/_store/{Tabs-chunk-CZL0LfKF.js → Tabs-chunk-CMh7UcxO.js} +18 -13
- package/lib/esm/_store/Tabs-entry-Bh8o3rp8.js +4 -0
- package/lib/esm/_store/{components-entry-DkUfpD0c.js → components-entry-DlCnBjB5.js} +2 -2
- package/lib/esm/index.js +2 -2
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/cardgroup.css +1 -1
- package/lib/styles/components/detailcard.css +1 -1
- package/lib/styles/components/profile.css +1 -1
- package/lib/styles/components/promocard.css +1 -1
- package/lib/styles/components/scorecard.css +1 -1
- package/lib/styles/components/tag.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/Cards/DetailCard.d.ts +6 -1
- package/lib/types/components/Cards/MultiLinkCard.d.ts +2 -1
- package/lib/types/components/Cards/ScoreCard.d.ts +7 -1
- package/lib/types/components/Tabs/Tabs.props.d.ts +4 -0
- package/package.json +5 -5
- package/lib/cjs/_store/ScoreCard-chunk-BVY7lDHH.js +0 -1
- package/lib/cjs/_store/Tabs-chunk-CYKFJgLR.js +0 -1
- package/lib/esm/_store/ScoreCard-chunk-DbNE1WUL.js +0 -461
- package/lib/esm/_store/Tabs-entry-Dc8Av6hy.js +0 -4
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
1
2
|
import { CardSize, EventDate, HeadingTypes, ThemeTypes } from '../../types';
|
|
2
3
|
|
|
3
4
|
export type DetailCardProps = {
|
|
@@ -32,11 +33,15 @@ export type DetailCardProps = {
|
|
|
32
33
|
/**
|
|
33
34
|
* Intro text for the card
|
|
34
35
|
*/
|
|
35
|
-
intro?: string;
|
|
36
|
+
intro?: string | ReactNode;
|
|
36
37
|
/**
|
|
37
38
|
* Specify the URL for the card link
|
|
38
39
|
*/
|
|
39
40
|
link?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specify the component to use for the link
|
|
43
|
+
*/
|
|
44
|
+
linkComponent?: ElementType;
|
|
40
45
|
/**
|
|
41
46
|
* Specify the image for the card
|
|
42
47
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { LinkListProps } from '../LinkList';
|
|
2
3
|
import { CardAlignment, CardSize, HeadingTypes } from '../../types';
|
|
3
4
|
|
|
@@ -26,7 +27,7 @@ export type MultiLinkCardProps = {
|
|
|
26
27
|
/**
|
|
27
28
|
* Introductory text in the card
|
|
28
29
|
*/
|
|
29
|
-
intro?:
|
|
30
|
+
intro?: ReactNode;
|
|
30
31
|
/**
|
|
31
32
|
* Link to the card
|
|
32
33
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
1
2
|
import { PictureProps } from '../Picture';
|
|
2
3
|
import { StatusProps } from '../Status';
|
|
3
4
|
import { ButtonProps } from '../Button';
|
|
@@ -19,6 +20,10 @@ export type ScoreCardProps = {
|
|
|
19
20
|
* The link URL for the card.
|
|
20
21
|
*/
|
|
21
22
|
link: string;
|
|
23
|
+
/**
|
|
24
|
+
* Specify the component to use for the link
|
|
25
|
+
*/
|
|
26
|
+
linkComponent?: ElementType;
|
|
22
27
|
/**
|
|
23
28
|
* The title text for the card.
|
|
24
29
|
*/
|
|
@@ -45,7 +50,7 @@ export type ScoreCardProps = {
|
|
|
45
50
|
content?: {
|
|
46
51
|
items: {
|
|
47
52
|
icon: string;
|
|
48
|
-
label: string;
|
|
53
|
+
label: string | ReactNode;
|
|
49
54
|
unix?: string;
|
|
50
55
|
}[];
|
|
51
56
|
};
|
|
@@ -55,6 +60,7 @@ export type ScoreCardProps = {
|
|
|
55
60
|
cta?: {
|
|
56
61
|
items: React.ReactElement<ButtonProps>[];
|
|
57
62
|
};
|
|
63
|
+
className?: string;
|
|
58
64
|
};
|
|
59
65
|
declare const ScoreCard: import('react').ForwardRefExoticComponent<ScoreCardProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
60
66
|
export { ScoreCard };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/react",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.3",
|
|
4
4
|
"description": "React components for the ILO's Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui_patterns",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"use-breakpoint": "^4.0.6",
|
|
73
73
|
"video.js": "^7.21.2",
|
|
74
74
|
"videojs-youtube": "^3.0.1",
|
|
75
|
-
"@ilo-org/fonts": "1.0.0",
|
|
76
|
-
"@ilo-org/icons-react": "1.0.3",
|
|
77
75
|
"@ilo-org/brand-assets": "1.0.0",
|
|
78
|
-
"@ilo-org/
|
|
76
|
+
"@ilo-org/fonts": "1.0.0",
|
|
79
77
|
"@ilo-org/themes": "0.9.1",
|
|
80
|
-
"@ilo-org/utils": "0.1.1"
|
|
78
|
+
"@ilo-org/utils": "0.1.1",
|
|
79
|
+
"@ilo-org/styles": "1.7.2",
|
|
80
|
+
"@ilo-org/icons-react": "1.0.3"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@storybook/addon-actions": "^8.1.9",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),j=require("react"),h=require("./index-chunk-D921N0ug.js"),N=require("./useGlobalSettings-chunk-DEacV16j.js"),f=require("./Button-chunk-B65FgSLG.js"),g=require("./Link-chunk-DuZiglb_.js"),k=require("./LinkList-chunk-AT26ZVEG.js"),B=require("./Profile-chunk-Du8HEAQA.js"),w=require("./List-entry-DRGsrQZi.js"),F=require("./Picture-chunk-CK6tJPnd.js"),D=require("./Status-chunk-3GZXo15N.js"),I=require("./Icon-chunk-QFryHTpy.js"),y=j.forwardRef(({className:p,title:r,theme:n="light",size:a="standard",color:o,intro:$,source:x,titleLevel:d="p"},i)=>{const{prefix:l}=N.useGlobalSettings(),t=`${l}--card`,m=h.classnames(`${t}--wrapper`,p),_=h.classnames(t,`${t}__type__stat`,{[`${t}__size__${String(a)}`]:a,[`${t}__theme__${n}`]:n,[`${t}__color__${o}`]:o});return s.jsx("div",{className:m,ref:i,children:s.jsx("div",{className:_,children:s.jsx("div",{className:`${t}--wrap`,children:s.jsxs("div",{className:`${t}--content`,children:[s.jsx(d,{className:`${t}--title`,children:r}),$&&s.jsx("p",{className:`${t}--intro`,children:$}),x&&s.jsx(g.Link,{className:`${t}--source`,url:x.url,label:x.label})]})})})})}),L=j.forwardRef(({className:p,title:r,size:n="standard",alignment:a,intro:o,link:$,linklist:x,image:d,titleLevel:i="p",eyebrow:l,isVideo:t,theme:m="light"},_)=>{const{prefix:c}=N.useGlobalSettings(),e=`${c}--card`,u=h.classnames(e,p,`${e}__type__multilink`,{[`${e}__align__${a}`]:a,[`${e}__size__${n}`]:n,[`${e}__isvideo`]:t,[`${e}--no-image`]:!d,[`${e}__theme__${m}`]:m});return s.jsxs("div",{className:u,ref:_,children:[$&&s.jsx("a",{className:`${e}--link`,href:$,title:r,children:s.jsx("span",{className:`${e}--link--text`,children:r})}),s.jsxs("div",{className:`${e}--wrap`,children:[d&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${e}--picture`})})}),s.jsxs("div",{className:`${e}--content`,children:[l&&s.jsx("p",{className:`${e}--eyebrow`,children:l}),s.jsx(i,{className:`${e}--title`,children:r}),d&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${e}--picture`})})}),o&&s.jsx("p",{className:`${e}--intro`,children:o}),x&&s.jsx(k.LinkList,{...x})]})]})]})}),S=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,profile:$,link:x,titleLevel:d="p",eyebrow:i},l)=>{const{prefix:t}=N.useGlobalSettings(),m=`${t}--card`,_=h.classnames(`${m}--wrapper`,p),c=h.classnames(m,`${m}__type__text`,{[`${m}__size__${String(a)}`]:a,[`${m}__theme__${n}`]:n});return s.jsx("div",{className:_,ref:l,children:s.jsxs("div",{className:c,children:[s.jsx("a",{className:`${m}--link`,href:x,title:r,children:s.jsx("span",{className:`${m}--link--text`,children:r})}),s.jsx("div",{className:`${m}--wrap`,children:s.jsxs("div",{className:`${m}--content`,children:[i&&s.jsx("p",{className:`${m}--eyebrow`,children:i}),s.jsx(d,{className:`${m}--title`,children:r}),o&&s.jsx("time",{className:`${m}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx(B.Profile,{avatar:$.avatar,description:$.description,link:$.link,name:$.name,role:$.role,theme:n})]})})]})})}),G=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",cornercut:o,intro:$,link:x,cta:d,titleLevel:i="p",eyebrow:l},t)=>{const{prefix:m}=N.useGlobalSettings(),_=`${m}--card`,c=h.classnames(`${_}--wrapper`,p,`${_}--wrapper__type__promo`,`${_}--wrapper__type__promo__size__${a}`),e=h.classnames(_,`${_}__type__promo`,{[`${_}__size__${String(a)}`]:a,[`${_}__theme__${n}`]:n,[`${_}__cornercut`]:o});return s.jsx("div",{className:c,ref:t,children:s.jsxs("div",{className:e,children:[s.jsx("a",{className:`${_}--link`,href:x,title:r,children:s.jsx("span",{className:`${_}--link--text`,children:r})}),s.jsx("div",{className:`${_}--wrap`,children:s.jsxs("div",{className:`${_}--content`,children:[l&&s.jsx("p",{className:`${_}--eyebrow`,children:l}),s.jsx(i,{className:`${_}--title`,children:r}),$&&s.jsx("p",{className:`${_}--intro`,children:$}),(d==null?void 0:d.label)&&s.jsx("div",{className:`${_}--cta`,children:s.jsx(f.Button,{link:{url:d.url,label:d.label},size:"medium",type:"primary"})})]})})]})})}),q=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,link:$,linklist:x,image:d,titleLevel:i="p",eyebrow:l,isVideo:t},m)=>{const{prefix:_}=N.useGlobalSettings(),c=`${_}--card`,e=h.classnames(c,p,`${c}__type__feature`,{[`${c}__size__${String(a)}`]:a,[`${c}__theme__${n}`]:n,[`${c}__isvideo`]:t,[`${c}__linklist`]:x});return s.jsxs("div",{className:e,ref:m,children:[$&&s.jsx("a",{className:`${c}--link`,href:$,title:r,children:s.jsx("span",{className:`${c}--link--text`,children:r})}),s.jsxs("div",{className:`${c}--wrap`,children:[d&&s.jsx("div",{className:`${c}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{src:d,alt:r,className:`${c}--picture`})})}),s.jsxs("div",{className:`${c}--content`,children:[l&&s.jsx("p",{className:`${c}--eyebrow`,children:l}),s.jsx(i,{className:`${c}--title`,children:r}),o&&s.jsx("time",{className:`${c}--date`,dateTime:o.unix,children:o.human}),x&&s.jsx(k.LinkList,{headline:x.headline,linkgroup:x.linkgroup,theme:n})]})]})]})}),R=j.forwardRef(({className:p,title:r,theme:n="light",size:a="narrow",date:o,details:$,link:x,titleLevel:d="p",eyebrow:i,intro:l,image:t,isVideo:m=!1},_)=>{const{prefix:c}=N.useGlobalSettings(),e=`${c}--card`,u=h.classnames(e,`${e}__type__detail`,p,{[`${e}__size__${String(a)}`]:a,[`${e}__theme__${n}`]:n,[`${e}__isvideo`]:m});return s.jsxs("div",{className:u,ref:_,children:[x&&s.jsx("a",{className:`${e}--link`,href:x,title:r,children:s.jsx("span",{className:`${e}--link--text`,children:r})}),s.jsxs("div",{className:`${e}--wrap`,children:[t&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx("picture",{children:s.jsx("img",{className:`${e}--picture`,src:t,alt:r})})}),s.jsxs("div",{className:`${e}--content`,children:[i&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),r&&s.jsx(d,{className:`${e}--title`,children:r}),l&&s.jsx("p",{className:`${e}--intro`,children:l}),o&&s.jsx("time",{className:`${e}--date`,dateTime:o.unix,children:o.human}),$&&s.jsx("p",{className:`${e}--date-extra`,children:$})]})]})]})}),T=j.forwardRef(({title:p,theme:r="light",size:n="narrow",list:a,titleLevel:o="p",className:$},x)=>{const{prefix:d}=N.useGlobalSettings(),i=`${d}--card`,l=h.classnames(i,`${i}__type__factlist`,$,{[`${i}__size__${n}`]:n,[`${i}__theme__${r}`]:r});return s.jsx("div",{className:l,ref:x,children:s.jsx("div",{className:`${i}--wrap`,children:s.jsxs("div",{className:`${i}--content`,children:[p&&s.jsx(o,{className:`${d}--card--title`,children:p}),s.jsx(w.List,{alignment:"default",ordered:"unordered",theme:r,children:a.map(t=>s.jsx(w.List.Item,{children:s.jsx("p",{children:t})},t))})]})})})}),P=j.forwardRef(({eyebrow:p,size:r="narrow",image:n,dataset:a,columns:o="one",className:$},x)=>{var _;const{prefix:d}=N.useGlobalSettings(),i=r==="narrow"?"one":o,l=`${d}--card`,t=h.classnames(l,`${l}__type__data`,$,{[`${l}__size__${String(r)}`]:r,[`${l}__type__data__columns__${i}`]:i}),m=h.classnames(`${l}--content`,{[`${l}--content__with-image`]:n,[`${l}--content__no-image-with-links`]:!n&&(a==null?void 0:a.links),[`${l}--content__default`]:!n&&!(a!=null&&a.links)});return s.jsx("div",{className:t,ref:x,children:s.jsxs("div",{className:`${l}--wrap`,children:[!n&&p&&s.jsx("div",{className:`${l}--eyebrow`,children:p}),s.jsxs("div",{className:m,children:[n&&s.jsxs("div",{className:`${l}--area--image`,children:[p&&s.jsx("div",{className:`${l}--eyebrow`,children:p}),s.jsx("div",{className:`${l}--image`,children:s.jsx("picture",{children:s.jsx("img",{className:`${l}--picture`,src:n,alt:p})})})]}),(_=a==null?void 0:a.content)==null?void 0:_.items.map((c,e)=>s.jsxs("div",{className:`${l}--area--content`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:c.label}),s.jsx("p",{className:`${l}__type__data--content-copy`,children:c.copy})]},e)),(a==null?void 0:a.files)&&s.jsx("div",{className:`${l}--area--files`,children:s.jsxs("div",{className:`${l}__type__data--content-files`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.files.headline}),a.files.items.map((c,e)=>s.jsx(f.Button,{link:{url:c.url,label:c.label,target:c.target||"_self"},size:"small"},e))]})}),(a==null?void 0:a.cta)&&s.jsx("div",{className:`${l}--area--cta`,children:s.jsxs("div",{className:`${l}__type__data--content-cta`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.cta.headline}),a.cta.items.map(c=>s.jsx(f.Button,{type:"secondary",size:"small",link:{url:c.url,label:c.label,target:c.target}},c.label))]})}),(a==null?void 0:a.links)&&s.jsx("div",{className:`${l}--area--links`,children:s.jsxs("div",{className:`${l}__type__data--content-links`,children:[s.jsx("p",{className:`${l}__type__data--content-label`,children:a.links.headline}),s.jsx("div",{className:`${l}__type__data--content-links-list`,children:a.links.items.map(c=>s.jsx(j.Fragment,{children:s.jsx(g.Link,{url:c.url,label:c.label,className:`${l}__type__data--content-link`})},c.label+c.url))})]})})]})]})})}),M={stat:y,multilink:L,text:S,promo:G,feature:q,detail:R,factlist:T,data:P},z=j.forwardRef(({type:p,group:r,cardCount:n="one",cta:a,collapsed:o=!1},$)=>{const x=M[p],{prefix:d}=N.useGlobalSettings(),i=`${d}--cardgroup`,l=h.classnames(i,`${i}__count__${n}`,{[`${i}__collapsed`]:o});return s.jsxs("div",{className:l,ref:$,children:[s.jsx("div",{className:`${i}--inner`,children:r.map((t,m)=>s.jsx(x,{...t},m))}),a&&s.jsx("div",{className:`${i}--button-wrap`,children:s.jsx(f.Button,{link:{url:a.url,label:a.label},type:"secondary",size:"medium"})})]})}),A=j.forwardRef(({theme:p="light",titleLevel:r="p",size:n="narrow",link:a,title:o,isVideo:$=!1,image:x,status:d,eyebrow:i,content:l,cta:t},m)=>{var b;const{prefix:_}=N.useGlobalSettings(),c=p==="dark"?"var(--ilo-color-white)":"var(--ilo-color-gray-accessible)",e=`${_}--card`,u=h.classnames(e,`${e}__type__score`,{[`${e}__theme__${p}`]:p,[`${e}__size__${n}`]:n,[`${e}__isvideo`]:$});return s.jsxs("div",{className:u,ref:m,children:[s.jsx("a",{className:`${e}--link`,href:a,title:o,children:s.jsx("span",{className:`${e}--link--text`,children:o})}),s.jsxs("div",{className:`${e}--wrap`,children:[x&&n!=="simple"&&s.jsx("div",{className:`${e}--image--wrapper`,children:s.jsx(F.Picture,{...x})}),s.jsxs("div",{className:`${e}--content`,children:[d&&s.jsx(D.Status,{content:d.content,statusType:d.statusType}),i&&n!=="simple"&&s.jsx("p",{className:`${e}--eyebrow`,children:i}),o&&s.jsx(r,{className:`${e}--title`,children:o}),l&&s.jsx("div",{className:`${e}--area--content`,children:(b=l.items)==null?void 0:b.map((v,C)=>s.jsxs("div",{className:`${e}--content--item`,children:[s.jsx(I.Icon,{name:v.icon,size:20,color:c}),s.jsx("span",{children:v.label})]},C))}),t&&s.jsx("div",{className:`${e}--area--cta`,children:t.items.map((v,C)=>s.jsx("div",{className:`${e}--cta`,children:v},C))})]})]})]})});exports.CardGroup=z;exports.DataCard=P;exports.DetailCard=R;exports.FactListCard=T;exports.FeatureCard=q;exports.MultiLinkCard=L;exports.PromoCard=G;exports.ScoreCard=A;exports.StatCard=y;exports.TextCard=S;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),d=require("react"),h=require("./useGlobalSettings-chunk-DEacV16j.js"),m=require("./index-chunk-D921N0ug.js"),j=require("./Icon-chunk-QFryHTpy.js"),p=({items:n,className:c,theme:i="light"})=>{const[l,o]=d.useState(0),r=(s,e)=>{o(s),e.preventDefault()},{prefix:b}=h.useGlobalSettings(),a=`${b}--tabs`,$=m.classnames(a,c,`${a}__theme__${i}`);return t.jsxs("div",{className:$,children:[t.jsx("ul",{className:`${a}--selection`,role:"tablist",tabIndex:0,children:n.map((s,e)=>t.jsx("li",{role:"presentation",className:`${a}--selection--item ${l===e?"active":""}`,onClick:u=>r(e,u),id:`tab--${e}`,children:t.jsxs("a",{href:`#tab--${e}`,className:`${a}--selection--button${s.icon?" icon":""}`,role:"tab","aria-controls":`tab--${e}`,"aria-selected":e===l,title:s.label,tabIndex:e===l?0:-1,children:[t.jsx("span",{className:`${a}--selection--label`,children:s.label}),s.icon&&t.jsx(j.Icon,{name:s.icon.name,hidden:s.icon.hidden})]})},`#tab--${e}`))}),t.jsx("div",{className:`${a}--content`,role:"tabpanel","aria-labelledby":`tab--${l}`,tabIndex:0,children:n[l].content})]})},v=p;exports.Tabs=v;
|
|
@@ -1,461 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as u, Fragment as S } from "react";
|
|
3
|
-
import { c as v } from "./index-chunk-CY3PQDr4.js";
|
|
4
|
-
import { u as f } from "./useGlobalSettings-chunk-Bu2lRvQa.js";
|
|
5
|
-
import { B as w } from "./Button-chunk-DG7cL6tj.js";
|
|
6
|
-
import { L as x } from "./Link-chunk-DNHgQ3lF.js";
|
|
7
|
-
import { L } from "./LinkList-chunk-Cimo8RwK.js";
|
|
8
|
-
import { P as T } from "./Profile-chunk-BjuEze8L.js";
|
|
9
|
-
import { List as g } from "./List-entry-B0PAo5Km.js";
|
|
10
|
-
import { P } from "./Picture-chunk-C4mMCmdQ.js";
|
|
11
|
-
import { S as F } from "./Status-chunk-wCQ8Gv7z.js";
|
|
12
|
-
import { I as D } from "./Icon-chunk-DIxw5wWq.js";
|
|
13
|
-
const G = u(
|
|
14
|
-
({
|
|
15
|
-
className: N,
|
|
16
|
-
title: r,
|
|
17
|
-
theme: n = "light",
|
|
18
|
-
size: s = "standard",
|
|
19
|
-
color: $,
|
|
20
|
-
intro: o,
|
|
21
|
-
source: p,
|
|
22
|
-
titleLevel: _ = "p"
|
|
23
|
-
}, i) => {
|
|
24
|
-
const { prefix: l } = f(), d = `${l}--card`, m = v(`${d}--wrapper`, N), t = v(d, `${d}__type__stat`, {
|
|
25
|
-
[`${d}__size__${String(s)}`]: s,
|
|
26
|
-
[`${d}__theme__${n}`]: n,
|
|
27
|
-
[`${d}__color__${$}`]: $
|
|
28
|
-
});
|
|
29
|
-
return /* @__PURE__ */ e("div", { className: m, ref: i, children: /* @__PURE__ */ e("div", { className: t, children: /* @__PURE__ */ e("div", { className: `${d}--wrap`, children: /* @__PURE__ */ h("div", { className: `${d}--content`, children: [
|
|
30
|
-
/* @__PURE__ */ e(_, { className: `${d}--title`, children: r }),
|
|
31
|
-
o && /* @__PURE__ */ e("p", { className: `${d}--intro`, children: o }),
|
|
32
|
-
p && /* @__PURE__ */ e(
|
|
33
|
-
x,
|
|
34
|
-
{
|
|
35
|
-
className: `${d}--source`,
|
|
36
|
-
url: p.url,
|
|
37
|
-
label: p.label
|
|
38
|
-
}
|
|
39
|
-
)
|
|
40
|
-
] }) }) }) });
|
|
41
|
-
}
|
|
42
|
-
), I = u(
|
|
43
|
-
({
|
|
44
|
-
className: N,
|
|
45
|
-
title: r,
|
|
46
|
-
size: n = "standard",
|
|
47
|
-
alignment: s,
|
|
48
|
-
intro: $,
|
|
49
|
-
link: o,
|
|
50
|
-
linklist: p,
|
|
51
|
-
image: _,
|
|
52
|
-
titleLevel: i = "p",
|
|
53
|
-
eyebrow: l,
|
|
54
|
-
isVideo: d,
|
|
55
|
-
theme: m = "light"
|
|
56
|
-
}, t) => {
|
|
57
|
-
const { prefix: c } = f(), a = `${c}--card`, C = v(
|
|
58
|
-
a,
|
|
59
|
-
N,
|
|
60
|
-
`${a}__type__multilink`,
|
|
61
|
-
{
|
|
62
|
-
[`${a}__align__${s}`]: s,
|
|
63
|
-
[`${a}__size__${n}`]: n,
|
|
64
|
-
[`${a}__isvideo`]: d,
|
|
65
|
-
[`${a}--no-image`]: !_,
|
|
66
|
-
[`${a}__theme__${m}`]: m
|
|
67
|
-
}
|
|
68
|
-
);
|
|
69
|
-
return /* @__PURE__ */ h("div", { className: C, ref: t, children: [
|
|
70
|
-
o && /* @__PURE__ */ e("a", { className: `${a}--link`, href: o, title: r, children: /* @__PURE__ */ e("span", { className: `${a}--link--text`, children: r }) }),
|
|
71
|
-
/* @__PURE__ */ h("div", { className: `${a}--wrap`, children: [
|
|
72
|
-
_ && /* @__PURE__ */ e("div", { className: `${a}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
73
|
-
"img",
|
|
74
|
-
{
|
|
75
|
-
src: _,
|
|
76
|
-
alt: r,
|
|
77
|
-
className: `${a}--picture`
|
|
78
|
-
}
|
|
79
|
-
) }) }),
|
|
80
|
-
/* @__PURE__ */ h("div", { className: `${a}--content`, children: [
|
|
81
|
-
l && /* @__PURE__ */ e("p", { className: `${a}--eyebrow`, children: l }),
|
|
82
|
-
/* @__PURE__ */ e(i, { className: `${a}--title`, children: r }),
|
|
83
|
-
_ && /* @__PURE__ */ e("div", { className: `${a}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
84
|
-
"img",
|
|
85
|
-
{
|
|
86
|
-
src: _,
|
|
87
|
-
alt: r,
|
|
88
|
-
className: `${a}--picture`
|
|
89
|
-
}
|
|
90
|
-
) }) }),
|
|
91
|
-
$ && /* @__PURE__ */ e("p", { className: `${a}--intro`, children: $ }),
|
|
92
|
-
p && /* @__PURE__ */ e(L, { ...p })
|
|
93
|
-
] })
|
|
94
|
-
] })
|
|
95
|
-
] });
|
|
96
|
-
}
|
|
97
|
-
), M = u(
|
|
98
|
-
({
|
|
99
|
-
className: N,
|
|
100
|
-
title: r,
|
|
101
|
-
theme: n = "light",
|
|
102
|
-
size: s = "narrow",
|
|
103
|
-
date: $,
|
|
104
|
-
profile: o,
|
|
105
|
-
link: p,
|
|
106
|
-
titleLevel: _ = "p",
|
|
107
|
-
eyebrow: i
|
|
108
|
-
}, l) => {
|
|
109
|
-
const { prefix: d } = f(), m = `${d}--card`, t = v(`${m}--wrapper`, N), c = v(m, `${m}__type__text`, {
|
|
110
|
-
[`${m}__size__${String(s)}`]: s,
|
|
111
|
-
[`${m}__theme__${n}`]: n
|
|
112
|
-
});
|
|
113
|
-
return /* @__PURE__ */ e("div", { className: t, ref: l, children: /* @__PURE__ */ h("div", { className: c, children: [
|
|
114
|
-
/* @__PURE__ */ e("a", { className: `${m}--link`, href: p, title: r, children: /* @__PURE__ */ e("span", { className: `${m}--link--text`, children: r }) }),
|
|
115
|
-
/* @__PURE__ */ e("div", { className: `${m}--wrap`, children: /* @__PURE__ */ h("div", { className: `${m}--content`, children: [
|
|
116
|
-
i && /* @__PURE__ */ e("p", { className: `${m}--eyebrow`, children: i }),
|
|
117
|
-
/* @__PURE__ */ e(_, { className: `${m}--title`, children: r }),
|
|
118
|
-
$ && /* @__PURE__ */ e("time", { className: `${m}--date`, dateTime: $.unix, children: $.human }),
|
|
119
|
-
o && /* @__PURE__ */ e(
|
|
120
|
-
T,
|
|
121
|
-
{
|
|
122
|
-
avatar: o.avatar,
|
|
123
|
-
description: o.description,
|
|
124
|
-
link: o.link,
|
|
125
|
-
name: o.name,
|
|
126
|
-
role: o.role,
|
|
127
|
-
theme: n
|
|
128
|
-
}
|
|
129
|
-
)
|
|
130
|
-
] }) })
|
|
131
|
-
] }) });
|
|
132
|
-
}
|
|
133
|
-
), j = u(
|
|
134
|
-
({
|
|
135
|
-
className: N,
|
|
136
|
-
title: r,
|
|
137
|
-
theme: n = "light",
|
|
138
|
-
size: s = "narrow",
|
|
139
|
-
cornercut: $,
|
|
140
|
-
intro: o,
|
|
141
|
-
link: p,
|
|
142
|
-
cta: _,
|
|
143
|
-
titleLevel: i = "p",
|
|
144
|
-
eyebrow: l
|
|
145
|
-
}, d) => {
|
|
146
|
-
const { prefix: m } = f(), t = `${m}--card`, c = v(
|
|
147
|
-
`${t}--wrapper`,
|
|
148
|
-
N,
|
|
149
|
-
`${t}--wrapper__type__promo`,
|
|
150
|
-
`${t}--wrapper__type__promo__size__${s}`
|
|
151
|
-
), a = v(t, `${t}__type__promo`, {
|
|
152
|
-
[`${t}__size__${String(s)}`]: s,
|
|
153
|
-
[`${t}__theme__${n}`]: n,
|
|
154
|
-
[`${t}__cornercut`]: $
|
|
155
|
-
});
|
|
156
|
-
return /* @__PURE__ */ e("div", { className: c, ref: d, children: /* @__PURE__ */ h("div", { className: a, children: [
|
|
157
|
-
/* @__PURE__ */ e("a", { className: `${t}--link`, href: p, title: r, children: /* @__PURE__ */ e("span", { className: `${t}--link--text`, children: r }) }),
|
|
158
|
-
/* @__PURE__ */ e("div", { className: `${t}--wrap`, children: /* @__PURE__ */ h("div", { className: `${t}--content`, children: [
|
|
159
|
-
l && /* @__PURE__ */ e("p", { className: `${t}--eyebrow`, children: l }),
|
|
160
|
-
/* @__PURE__ */ e(i, { className: `${t}--title`, children: r }),
|
|
161
|
-
o && /* @__PURE__ */ e("p", { className: `${t}--intro`, children: o }),
|
|
162
|
-
(_ == null ? void 0 : _.label) && /* @__PURE__ */ e("div", { className: `${t}--cta`, children: /* @__PURE__ */ e(
|
|
163
|
-
w,
|
|
164
|
-
{
|
|
165
|
-
link: { url: _.url, label: _.label },
|
|
166
|
-
size: "medium",
|
|
167
|
-
type: "primary"
|
|
168
|
-
}
|
|
169
|
-
) })
|
|
170
|
-
] }) })
|
|
171
|
-
] }) });
|
|
172
|
-
}
|
|
173
|
-
), z = u(
|
|
174
|
-
({
|
|
175
|
-
className: N,
|
|
176
|
-
title: r,
|
|
177
|
-
theme: n = "light",
|
|
178
|
-
size: s = "narrow",
|
|
179
|
-
date: $,
|
|
180
|
-
link: o,
|
|
181
|
-
linklist: p,
|
|
182
|
-
image: _,
|
|
183
|
-
titleLevel: i = "p",
|
|
184
|
-
eyebrow: l,
|
|
185
|
-
isVideo: d
|
|
186
|
-
}, m) => {
|
|
187
|
-
const { prefix: t } = f(), c = `${t}--card`, a = v(
|
|
188
|
-
c,
|
|
189
|
-
N,
|
|
190
|
-
`${c}__type__feature`,
|
|
191
|
-
{
|
|
192
|
-
[`${c}__size__${String(s)}`]: s,
|
|
193
|
-
[`${c}__theme__${n}`]: n,
|
|
194
|
-
[`${c}__isvideo`]: d,
|
|
195
|
-
[`${c}__linklist`]: p
|
|
196
|
-
}
|
|
197
|
-
);
|
|
198
|
-
return /* @__PURE__ */ h("div", { className: a, ref: m, children: [
|
|
199
|
-
o && /* @__PURE__ */ e("a", { className: `${c}--link`, href: o, title: r, children: /* @__PURE__ */ e("span", { className: `${c}--link--text`, children: r }) }),
|
|
200
|
-
/* @__PURE__ */ h("div", { className: `${c}--wrap`, children: [
|
|
201
|
-
_ && /* @__PURE__ */ e("div", { className: `${c}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
202
|
-
"img",
|
|
203
|
-
{
|
|
204
|
-
src: _,
|
|
205
|
-
alt: r,
|
|
206
|
-
className: `${c}--picture`
|
|
207
|
-
}
|
|
208
|
-
) }) }),
|
|
209
|
-
/* @__PURE__ */ h("div", { className: `${c}--content`, children: [
|
|
210
|
-
l && /* @__PURE__ */ e("p", { className: `${c}--eyebrow`, children: l }),
|
|
211
|
-
/* @__PURE__ */ e(i, { className: `${c}--title`, children: r }),
|
|
212
|
-
$ && /* @__PURE__ */ e("time", { className: `${c}--date`, dateTime: $.unix, children: $.human }),
|
|
213
|
-
p && /* @__PURE__ */ e(
|
|
214
|
-
L,
|
|
215
|
-
{
|
|
216
|
-
headline: p.headline,
|
|
217
|
-
linkgroup: p.linkgroup,
|
|
218
|
-
theme: n
|
|
219
|
-
}
|
|
220
|
-
)
|
|
221
|
-
] })
|
|
222
|
-
] })
|
|
223
|
-
] });
|
|
224
|
-
}
|
|
225
|
-
), B = u(
|
|
226
|
-
({
|
|
227
|
-
className: N,
|
|
228
|
-
title: r,
|
|
229
|
-
theme: n = "light",
|
|
230
|
-
size: s = "narrow",
|
|
231
|
-
date: $,
|
|
232
|
-
details: o,
|
|
233
|
-
link: p,
|
|
234
|
-
titleLevel: _ = "p",
|
|
235
|
-
eyebrow: i,
|
|
236
|
-
intro: l,
|
|
237
|
-
image: d,
|
|
238
|
-
isVideo: m = !1
|
|
239
|
-
}, t) => {
|
|
240
|
-
const { prefix: c } = f(), a = `${c}--card`, C = v(
|
|
241
|
-
a,
|
|
242
|
-
`${a}__type__detail`,
|
|
243
|
-
N,
|
|
244
|
-
{
|
|
245
|
-
[`${a}__size__${String(s)}`]: s,
|
|
246
|
-
[`${a}__theme__${n}`]: n,
|
|
247
|
-
[`${a}__isvideo`]: m
|
|
248
|
-
}
|
|
249
|
-
);
|
|
250
|
-
return /* @__PURE__ */ h("div", { className: C, ref: t, children: [
|
|
251
|
-
p && /* @__PURE__ */ e("a", { className: `${a}--link`, href: p, title: r, children: /* @__PURE__ */ e("span", { className: `${a}--link--text`, children: r }) }),
|
|
252
|
-
/* @__PURE__ */ h("div", { className: `${a}--wrap`, children: [
|
|
253
|
-
d && /* @__PURE__ */ e("div", { className: `${a}--image--wrapper`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
254
|
-
"img",
|
|
255
|
-
{
|
|
256
|
-
className: `${a}--picture`,
|
|
257
|
-
src: d,
|
|
258
|
-
alt: r
|
|
259
|
-
}
|
|
260
|
-
) }) }),
|
|
261
|
-
/* @__PURE__ */ h("div", { className: `${a}--content`, children: [
|
|
262
|
-
i && /* @__PURE__ */ e("p", { className: `${a}--eyebrow`, children: i }),
|
|
263
|
-
r && /* @__PURE__ */ e(_, { className: `${a}--title`, children: r }),
|
|
264
|
-
l && /* @__PURE__ */ e("p", { className: `${a}--intro`, children: l }),
|
|
265
|
-
$ && /* @__PURE__ */ e("time", { className: `${a}--date`, dateTime: $.unix, children: $.human }),
|
|
266
|
-
o && /* @__PURE__ */ e("p", { className: `${a}--date-extra`, children: o })
|
|
267
|
-
] })
|
|
268
|
-
] })
|
|
269
|
-
] });
|
|
270
|
-
}
|
|
271
|
-
), R = u(
|
|
272
|
-
({
|
|
273
|
-
title: N,
|
|
274
|
-
theme: r = "light",
|
|
275
|
-
size: n = "narrow",
|
|
276
|
-
list: s,
|
|
277
|
-
titleLevel: $ = "p",
|
|
278
|
-
className: o
|
|
279
|
-
}, p) => {
|
|
280
|
-
const { prefix: _ } = f(), i = `${_}--card`, l = v(
|
|
281
|
-
i,
|
|
282
|
-
`${i}__type__factlist`,
|
|
283
|
-
o,
|
|
284
|
-
{
|
|
285
|
-
[`${i}__size__${n}`]: n,
|
|
286
|
-
[`${i}__theme__${r}`]: r
|
|
287
|
-
}
|
|
288
|
-
);
|
|
289
|
-
return /* @__PURE__ */ e("div", { className: l, ref: p, children: /* @__PURE__ */ e("div", { className: `${i}--wrap`, children: /* @__PURE__ */ h("div", { className: `${i}--content`, children: [
|
|
290
|
-
N && /* @__PURE__ */ e($, { className: `${_}--card--title`, children: N }),
|
|
291
|
-
/* @__PURE__ */ e(g, { alignment: "default", ordered: "unordered", theme: r, children: s.map((d) => /* @__PURE__ */ e(g.Item, { children: /* @__PURE__ */ e("p", { children: d }) }, d)) })
|
|
292
|
-
] }) }) });
|
|
293
|
-
}
|
|
294
|
-
), q = u(
|
|
295
|
-
({ eyebrow: N, size: r = "narrow", image: n, dataset: s, columns: $ = "one", className: o }, p) => {
|
|
296
|
-
var t;
|
|
297
|
-
const { prefix: _ } = f(), i = r === "narrow" ? "one" : $, l = `${_}--card`, d = v(
|
|
298
|
-
l,
|
|
299
|
-
`${l}__type__data`,
|
|
300
|
-
o,
|
|
301
|
-
{
|
|
302
|
-
[`${l}__size__${String(r)}`]: r,
|
|
303
|
-
[`${l}__type__data__columns__${i}`]: i
|
|
304
|
-
}
|
|
305
|
-
), m = v(`${l}--content`, {
|
|
306
|
-
[`${l}--content__with-image`]: n,
|
|
307
|
-
[`${l}--content__no-image-with-links`]: !n && (s == null ? void 0 : s.links),
|
|
308
|
-
[`${l}--content__default`]: !n && !(s != null && s.links)
|
|
309
|
-
});
|
|
310
|
-
return /* @__PURE__ */ e("div", { className: d, ref: p, children: /* @__PURE__ */ h("div", { className: `${l}--wrap`, children: [
|
|
311
|
-
!n && N && /* @__PURE__ */ e("div", { className: `${l}--eyebrow`, children: N }),
|
|
312
|
-
/* @__PURE__ */ h("div", { className: m, children: [
|
|
313
|
-
n && /* @__PURE__ */ h("div", { className: `${l}--area--image`, children: [
|
|
314
|
-
N && /* @__PURE__ */ e("div", { className: `${l}--eyebrow`, children: N }),
|
|
315
|
-
/* @__PURE__ */ e("div", { className: `${l}--image`, children: /* @__PURE__ */ e("picture", { children: /* @__PURE__ */ e(
|
|
316
|
-
"img",
|
|
317
|
-
{
|
|
318
|
-
className: `${l}--picture`,
|
|
319
|
-
src: n,
|
|
320
|
-
alt: N
|
|
321
|
-
}
|
|
322
|
-
) }) })
|
|
323
|
-
] }),
|
|
324
|
-
(t = s == null ? void 0 : s.content) == null ? void 0 : t.items.map((c, a) => /* @__PURE__ */ h("div", { className: `${l}--area--content`, children: [
|
|
325
|
-
/* @__PURE__ */ e("p", { className: `${l}__type__data--content-label`, children: c.label }),
|
|
326
|
-
/* @__PURE__ */ e("p", { className: `${l}__type__data--content-copy`, children: c.copy })
|
|
327
|
-
] }, a)),
|
|
328
|
-
(s == null ? void 0 : s.files) && /* @__PURE__ */ e("div", { className: `${l}--area--files`, children: /* @__PURE__ */ h("div", { className: `${l}__type__data--content-files`, children: [
|
|
329
|
-
/* @__PURE__ */ e("p", { className: `${l}__type__data--content-label`, children: s.files.headline }),
|
|
330
|
-
s.files.items.map((c, a) => /* @__PURE__ */ e(
|
|
331
|
-
w,
|
|
332
|
-
{
|
|
333
|
-
link: {
|
|
334
|
-
url: c.url,
|
|
335
|
-
label: c.label,
|
|
336
|
-
target: c.target || "_self"
|
|
337
|
-
},
|
|
338
|
-
size: "small"
|
|
339
|
-
},
|
|
340
|
-
a
|
|
341
|
-
))
|
|
342
|
-
] }) }),
|
|
343
|
-
(s == null ? void 0 : s.cta) && /* @__PURE__ */ e("div", { className: `${l}--area--cta`, children: /* @__PURE__ */ h("div", { className: `${l}__type__data--content-cta`, children: [
|
|
344
|
-
/* @__PURE__ */ e("p", { className: `${l}__type__data--content-label`, children: s.cta.headline }),
|
|
345
|
-
s.cta.items.map((c) => /* @__PURE__ */ e(
|
|
346
|
-
w,
|
|
347
|
-
{
|
|
348
|
-
type: "secondary",
|
|
349
|
-
size: "small",
|
|
350
|
-
link: {
|
|
351
|
-
url: c.url,
|
|
352
|
-
label: c.label,
|
|
353
|
-
target: c.target
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
c.label
|
|
357
|
-
))
|
|
358
|
-
] }) }),
|
|
359
|
-
(s == null ? void 0 : s.links) && /* @__PURE__ */ e("div", { className: `${l}--area--links`, children: /* @__PURE__ */ h("div", { className: `${l}__type__data--content-links`, children: [
|
|
360
|
-
/* @__PURE__ */ e("p", { className: `${l}__type__data--content-label`, children: s.links.headline }),
|
|
361
|
-
/* @__PURE__ */ e(
|
|
362
|
-
"div",
|
|
363
|
-
{
|
|
364
|
-
className: `${l}__type__data--content-links-list`,
|
|
365
|
-
children: s.links.items.map((c) => /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
366
|
-
x,
|
|
367
|
-
{
|
|
368
|
-
url: c.url,
|
|
369
|
-
label: c.label,
|
|
370
|
-
className: `${l}__type__data--content-link`
|
|
371
|
-
}
|
|
372
|
-
) }, c.label + c.url))
|
|
373
|
-
}
|
|
374
|
-
)
|
|
375
|
-
] }) })
|
|
376
|
-
] })
|
|
377
|
-
] }) });
|
|
378
|
-
}
|
|
379
|
-
), A = {
|
|
380
|
-
stat: G,
|
|
381
|
-
multilink: I,
|
|
382
|
-
text: M,
|
|
383
|
-
promo: j,
|
|
384
|
-
feature: z,
|
|
385
|
-
detail: B,
|
|
386
|
-
factlist: R,
|
|
387
|
-
data: q
|
|
388
|
-
}, ee = u(
|
|
389
|
-
({ type: N, group: r, cardCount: n = "one", cta: s, collapsed: $ = !1 }, o) => {
|
|
390
|
-
const p = A[N], { prefix: _ } = f(), i = `${_}--cardgroup`, l = v(
|
|
391
|
-
i,
|
|
392
|
-
`${i}__count__${n}`,
|
|
393
|
-
{
|
|
394
|
-
[`${i}__collapsed`]: $
|
|
395
|
-
}
|
|
396
|
-
);
|
|
397
|
-
return /* @__PURE__ */ h("div", { className: l, ref: o, children: [
|
|
398
|
-
/* @__PURE__ */ e("div", { className: `${i}--inner`, children: r.map((d, m) => /* @__PURE__ */ e(p, { ...d }, m)) }),
|
|
399
|
-
s && /* @__PURE__ */ e("div", { className: `${i}--button-wrap`, children: /* @__PURE__ */ e(
|
|
400
|
-
w,
|
|
401
|
-
{
|
|
402
|
-
link: {
|
|
403
|
-
url: s.url,
|
|
404
|
-
label: s.label
|
|
405
|
-
},
|
|
406
|
-
type: "secondary",
|
|
407
|
-
size: "medium"
|
|
408
|
-
}
|
|
409
|
-
) })
|
|
410
|
-
] });
|
|
411
|
-
}
|
|
412
|
-
), ae = u(
|
|
413
|
-
({
|
|
414
|
-
theme: N = "light",
|
|
415
|
-
titleLevel: r = "p",
|
|
416
|
-
size: n = "narrow",
|
|
417
|
-
link: s,
|
|
418
|
-
title: $,
|
|
419
|
-
isVideo: o = !1,
|
|
420
|
-
image: p,
|
|
421
|
-
status: _,
|
|
422
|
-
eyebrow: i,
|
|
423
|
-
content: l,
|
|
424
|
-
cta: d
|
|
425
|
-
}, m) => {
|
|
426
|
-
var k;
|
|
427
|
-
const { prefix: t } = f(), c = N === "dark" ? "var(--ilo-color-white)" : "var(--ilo-color-gray-accessible)", a = `${t}--card`, C = v(a, `${a}__type__score`, {
|
|
428
|
-
[`${a}__theme__${N}`]: N,
|
|
429
|
-
[`${a}__size__${n}`]: n,
|
|
430
|
-
[`${a}__isvideo`]: o
|
|
431
|
-
});
|
|
432
|
-
return /* @__PURE__ */ h("div", { className: C, ref: m, children: [
|
|
433
|
-
/* @__PURE__ */ e("a", { className: `${a}--link`, href: s, title: $, children: /* @__PURE__ */ e("span", { className: `${a}--link--text`, children: $ }) }),
|
|
434
|
-
/* @__PURE__ */ h("div", { className: `${a}--wrap`, children: [
|
|
435
|
-
p && n !== "simple" && /* @__PURE__ */ e("div", { className: `${a}--image--wrapper`, children: /* @__PURE__ */ e(P, { ...p }) }),
|
|
436
|
-
/* @__PURE__ */ h("div", { className: `${a}--content`, children: [
|
|
437
|
-
_ && /* @__PURE__ */ e(F, { content: _.content, statusType: _.statusType }),
|
|
438
|
-
i && n !== "simple" && /* @__PURE__ */ e("p", { className: `${a}--eyebrow`, children: i }),
|
|
439
|
-
$ && /* @__PURE__ */ e(r, { className: `${a}--title`, children: $ }),
|
|
440
|
-
l && /* @__PURE__ */ e("div", { className: `${a}--area--content`, children: (k = l.items) == null ? void 0 : k.map((b, y) => /* @__PURE__ */ h("div", { className: `${a}--content--item`, children: [
|
|
441
|
-
/* @__PURE__ */ e(D, { name: b.icon, size: 20, color: c }),
|
|
442
|
-
/* @__PURE__ */ e("span", { children: b.label })
|
|
443
|
-
] }, y)) }),
|
|
444
|
-
d && /* @__PURE__ */ e("div", { className: `${a}--area--cta`, children: d.items.map((b, y) => /* @__PURE__ */ e("div", { className: `${a}--cta`, children: b }, y)) })
|
|
445
|
-
] })
|
|
446
|
-
] })
|
|
447
|
-
] });
|
|
448
|
-
}
|
|
449
|
-
);
|
|
450
|
-
export {
|
|
451
|
-
ee as C,
|
|
452
|
-
B as D,
|
|
453
|
-
z as F,
|
|
454
|
-
I as M,
|
|
455
|
-
j as P,
|
|
456
|
-
G as S,
|
|
457
|
-
M as T,
|
|
458
|
-
R as a,
|
|
459
|
-
q as b,
|
|
460
|
-
ae as c
|
|
461
|
-
};
|