@telefonica/mistica 16.0.0 → 16.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -9
- package/css/mistica.css +1 -1
- package/dist/box.d.ts +1 -0
- package/dist/box.js +12 -12
- package/dist/card.d.ts +14 -2
- package/dist/card.js +210 -206
- package/dist/credit-card-expiration-field.d.ts +1 -1
- package/dist/credit-card-expiration-field.js +53 -52
- package/dist/credit-card-number-field.d.ts +1 -1
- package/dist/credit-card-number-field.js +47 -45
- package/dist/cvv-field.d.ts +1 -1
- package/dist/cvv-field.js +38 -37
- package/dist/date-field.d.ts +1 -1
- package/dist/date-field.js +15 -13
- package/dist/date-time-field.d.ts +1 -1
- package/dist/date-time-field.js +13 -11
- package/dist/decimal-field.d.ts +1 -1
- package/dist/decimal-field.js +39 -38
- package/dist/email-field.d.ts +1 -1
- package/dist/email-field.js +21 -19
- package/dist/form-context.d.ts +7 -2
- package/dist/form-context.js +69 -62
- package/dist/form.d.ts +2 -1
- package/dist/form.js +94 -80
- package/dist/iban-field.d.ts +1 -1
- package/dist/iban-field.js +32 -30
- package/dist/index.d.ts +12 -3
- package/dist/index.js +19 -8
- package/dist/inline.d.ts +2 -1
- package/dist/inline.js +16 -15
- package/dist/integer-field.d.ts +1 -1
- package/dist/integer-field.js +30 -30
- package/dist/month-field.d.ts +1 -1
- package/dist/month-field.js +15 -13
- package/dist/package-version.js +1 -1
- package/dist/password-field.d.ts +1 -1
- package/dist/password-field.js +24 -22
- package/dist/phone-number-field.d.ts +4 -1
- package/dist/phone-number-field.js +84 -52
- package/dist/pin-field.js +21 -20
- package/dist/radio-button.d.ts +1 -0
- package/dist/radio-button.js +42 -41
- package/dist/rating.css-mistica.js +44 -0
- package/dist/rating.css.d.ts +11 -0
- package/dist/rating.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/rating.d.ts +37 -0
- package/dist/rating.js +320 -0
- package/dist/search-field.d.ts +1 -0
- package/dist/search-field.js +18 -16
- package/dist/select.js +36 -33
- package/dist/sheet-action-row.css-mistica.js +13 -0
- package/dist/sheet-action-row.css.d.ts +1 -0
- package/dist/sheet-actions-list.d.ts +26 -0
- package/dist/sheet-actions-list.js +147 -0
- package/dist/sheet-actions.d.ts +23 -0
- package/dist/sheet-actions.js +175 -0
- package/dist/{sheet.css-mistica.js → sheet-common.css-mistica.js} +15 -21
- package/dist/{sheet.css.d.ts → sheet-common.css.d.ts} +0 -2
- package/dist/sheet-common.css.ts.vanilla.css-mistica.js +11 -0
- package/dist/sheet-common.d.ts +24 -0
- package/dist/sheet-common.js +429 -0
- package/dist/sheet-info.css-mistica.js +12 -0
- package/dist/sheet-info.css.d.ts +1 -0
- package/dist/sheet-info.d.ts +28 -0
- package/dist/sheet-info.js +156 -0
- package/dist/sheet-native.d.ts +2 -0
- package/dist/sheet-native.js +173 -0
- package/dist/sheet-radio-list.d.ts +22 -0
- package/dist/sheet-radio-list.js +143 -0
- package/dist/sheet-root.d.ts +4 -85
- package/dist/sheet-root.js +48 -322
- package/dist/sheet-types.d.ts +88 -0
- package/dist/sheet-web.d.ts +8 -0
- package/dist/sheet-web.js +183 -0
- package/dist/slider.js +40 -39
- package/dist/switch-component.js +18 -17
- package/dist/text-field-base.d.ts +3 -1
- package/dist/text-field-base.js +74 -66
- package/dist/text-field-components.css-mistica.js +14 -14
- package/dist/text-field-components.css.d.ts +2 -2
- package/dist/text-field-components.js +49 -39
- package/dist/text-field.d.ts +1 -0
- package/dist/text-field.js +24 -22
- package/dist/text-tokens.d.ts +14 -0
- package/dist/text-tokens.js +145 -89
- package/dist/theme-context-provider.js +6 -5
- package/dist/theme.d.ts +2 -0
- package/dist/utils/credit-card.d.ts +2 -2
- package/dist/utils/credit-card.js +1 -1
- package/dist/vivinho-loading-animation/in-lottie.json.js +544 -612
- package/dist/vivinho-loading-animation/out-lottie.json.js +828 -896
- package/dist/vivinho-loading-animation/pulse-lottie.json.js +798 -866
- package/dist/vivinho-loading-animation/wave-lottie.json.js +4303 -4409
- package/dist-es/box.js +18 -18
- package/dist-es/card.js +305 -301
- package/dist-es/credit-card-expiration-field.js +57 -56
- package/dist-es/credit-card-number-field.js +74 -72
- package/dist-es/cvv-field.js +82 -81
- package/dist-es/date-field.js +29 -27
- package/dist-es/date-time-field.js +29 -27
- package/dist-es/decimal-field.js +46 -45
- package/dist-es/email-field.js +26 -24
- package/dist-es/form-context.js +70 -63
- package/dist-es/form.js +102 -88
- package/dist-es/iban-field.js +35 -33
- package/dist-es/index.js +1822 -1817
- package/dist-es/inline.js +26 -25
- package/dist-es/integer-field.js +31 -31
- package/dist-es/month-field.js +28 -26
- package/dist-es/package-version.js +1 -1
- package/dist-es/password-field.js +37 -35
- package/dist-es/phone-number-field.js +92 -60
- package/dist-es/pin-field.js +32 -31
- package/dist-es/radio-button.js +42 -41
- package/dist-es/rating.css-mistica.js +6 -0
- package/dist-es/rating.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/rating.js +257 -0
- package/dist-es/search-field.js +33 -31
- package/dist-es/select.js +49 -46
- package/dist-es/sheet-action-row.css-mistica.js +4 -0
- package/dist-es/sheet-actions-list.js +92 -0
- package/dist-es/sheet-actions.js +125 -0
- package/dist-es/sheet-common.css-mistica.js +4 -0
- package/dist-es/sheet-common.css.ts.vanilla.css-mistica.js +2 -0
- package/dist-es/sheet-common.js +366 -0
- package/dist-es/sheet-info.css-mistica.js +3 -0
- package/dist-es/sheet-info.js +101 -0
- package/dist-es/sheet-native.js +164 -0
- package/dist-es/sheet-radio-list.js +88 -0
- package/dist-es/sheet-root.js +50 -319
- package/dist-es/sheet-web.js +128 -0
- package/dist-es/slider.js +49 -48
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.js +27 -26
- package/dist-es/text-field-base.js +108 -100
- package/dist-es/text-field-components.css-mistica.js +2 -2
- package/dist-es/text-field-components.js +70 -60
- package/dist-es/text-field.js +33 -31
- package/dist-es/text-tokens.js +80 -45
- package/dist-es/theme-context-provider.js +20 -19
- package/dist-es/utils/credit-card.js +1 -1
- package/dist-es/vivinho-loading-animation/in-lottie.json.js +534 -599
- package/dist-es/vivinho-loading-animation/out-lottie.json.js +821 -886
- package/dist-es/vivinho-loading-animation/pulse-lottie.json.js +790 -855
- package/dist-es/vivinho-loading-animation/wave-lottie.json.js +4297 -4400
- package/package.json +4 -3
- package/dist/sheet.d.ts +0 -107
- package/dist/sheet.js +0 -642
- package/dist-es/sheet.css-mistica.js +0 -4
- package/dist-es/sheet.js +0 -567
- /package/dist/{sheet.css.ts.vanilla.css-mistica.js → sheet-action-row.css.ts.vanilla.css-mistica.js} +0 -0
- /package/dist-es/{sheet.css.ts.vanilla.css-mistica.js → sheet-action-row.css.ts.vanilla.css-mistica.js} +0 -0
package/dist-es/card.js
CHANGED
|
@@ -78,55 +78,55 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
78
78
|
}
|
|
79
79
|
return target;
|
|
80
80
|
}
|
|
81
|
-
import { jsx as e, jsxs as s, Fragment as
|
|
81
|
+
import { jsx as e, jsxs as s, Fragment as Fe } from "react/jsx-runtime";
|
|
82
82
|
import * as B from "react";
|
|
83
|
-
import
|
|
83
|
+
import We from "./tag.js";
|
|
84
84
|
import re from "./stack.js";
|
|
85
|
-
import
|
|
86
|
-
import { Text as
|
|
85
|
+
import G from "./box.js";
|
|
86
|
+
import { Text as te, textProps as ie, Text2 as V, Text6 as _e, Text3 as $e } from "./text.js";
|
|
87
87
|
import { Boxed as me, InternalBoxed as xe } from "./boxed.js";
|
|
88
88
|
import he from "./button-group.js";
|
|
89
89
|
import ue from "./image.js";
|
|
90
|
-
import { BaseTouchable as
|
|
90
|
+
import { BaseTouchable as F } from "./touchable.js";
|
|
91
91
|
import { vars as v } from "./skins/skin-contract.css-mistica.js";
|
|
92
|
-
import { cardContainer as
|
|
93
|
-
import { vars as
|
|
94
|
-
import { useTheme as
|
|
95
|
-
import { sprinkles as
|
|
96
|
-
import { IconButton as
|
|
92
|
+
import { cardContainer as qe, touchableContainer as W, boxed as Y, touchable as _, touchableMediaCardOverlay as Je, mediaCard as ve, mediaCardContent as Ke, mediaCardAsset as Ce, touchableNakedMediaOverlay as Te, circularMediaOverlay as Ne, nakedCardContent as be, touchableCardOverlay as ne, dataCard as Qe, vars as Be, dataCardTopActionsWithoutIcon as Ue, actions as Re, snapCard as Ye, displayCardContainer as Se, displayCardBackground as we, displayCardContent as Ae, displayCardGradient as ke, flexColumn as Ie, touchableCardOverlayInverse as fe, touchableCardOverlayMedia as Me } from "./card.css-mistica.js";
|
|
93
|
+
import { vars as X } from "./image.css-mistica.js";
|
|
94
|
+
import { useTheme as Q } from "./hooks.js";
|
|
95
|
+
import { sprinkles as Ze } from "./sprinkles.css-mistica.js";
|
|
96
|
+
import { IconButton as Pe, ToggleIconButton as ea } from "./icon-button.js";
|
|
97
97
|
import aa from "./generated/mistica-icons/icon-close-regular.js";
|
|
98
98
|
import ra from "./generated/mistica-icons/icon-pause-filled.js";
|
|
99
|
-
import
|
|
99
|
+
import ta from "./generated/mistica-icons/icon-play-filled.js";
|
|
100
100
|
import { combineRefs as ia } from "./utils/common.js";
|
|
101
|
-
import
|
|
101
|
+
import na from "./spinner.js";
|
|
102
102
|
import oa from "./video.js";
|
|
103
103
|
import { useThemeVariant as da, useIsInverseVariant as De, ThemeVariant as pe } from "./theme-variant-context.js";
|
|
104
|
-
import
|
|
104
|
+
import ye from "classnames";
|
|
105
105
|
import ze from "./inline.js";
|
|
106
106
|
import { getPrefixedDataAttributes as la } from "./utils/dom.js";
|
|
107
107
|
import { isRunningAcceptanceTest as sa } from "./utils/platform.js";
|
|
108
|
-
import { applyCssVars as
|
|
108
|
+
import { applyCssVars as L } from "./utils/css.js";
|
|
109
109
|
import { closeButtonLabel as ca, pauseIconButtonLabel as ma, playIconButtonLabel as ha } from "./text-tokens.js";
|
|
110
110
|
const M = ()=>{
|
|
111
|
-
const [a, r] = B.useState(""),
|
|
112
|
-
|
|
111
|
+
const [a, r] = B.useState(""), t = B.useCallback((n)=>{
|
|
112
|
+
n && r((process.env.NODE_ENV === "test" ? n.textContent : n.innerText) || "");
|
|
113
113
|
}, []);
|
|
114
114
|
return {
|
|
115
115
|
text: a,
|
|
116
|
-
ref:
|
|
116
|
+
ref: t
|
|
117
117
|
};
|
|
118
|
-
}, Oe = (a, r,
|
|
119
|
-
const { texts:
|
|
118
|
+
}, Oe = (a, r, t)=>{
|
|
119
|
+
const { texts: n, t: o } = Q(), d = a ? [
|
|
120
120
|
...a
|
|
121
121
|
] : [];
|
|
122
122
|
return r && d.push({
|
|
123
|
-
label:
|
|
123
|
+
label: t || n.closeButtonLabel || o(ca),
|
|
124
124
|
onPress: r,
|
|
125
125
|
Icon: aa
|
|
126
126
|
}), d;
|
|
127
127
|
}, ua = (a)=>{
|
|
128
128
|
const r = da();
|
|
129
|
-
return a.Icon ? /* @__PURE__ */ e(
|
|
129
|
+
return a.Icon ? /* @__PURE__ */ e(Pe, _object_spread_props(_object_spread({}, a), {
|
|
130
130
|
"aria-label": a.label,
|
|
131
131
|
small: !0,
|
|
132
132
|
type: "neutral",
|
|
@@ -144,11 +144,11 @@ const M = ()=>{
|
|
|
144
144
|
}),
|
|
145
145
|
small: !0
|
|
146
146
|
}));
|
|
147
|
-
},
|
|
148
|
-
let { actions: a, padding: r = 16, onClose:
|
|
149
|
-
const d = Oe(a,
|
|
147
|
+
}, Z = (param)=>{
|
|
148
|
+
let { actions: a, padding: r = 16, onClose: t, variant: n = "default", closeButtonLabel: o } = param;
|
|
149
|
+
const d = Oe(a, t, o);
|
|
150
150
|
return d.length > 0 ? /* @__PURE__ */ e(pe, {
|
|
151
|
-
variant:
|
|
151
|
+
variant: n,
|
|
152
152
|
children: /* @__PURE__ */ e("div", {
|
|
153
153
|
style: {
|
|
154
154
|
position: "absolute",
|
|
@@ -161,33 +161,37 @@ const M = ()=>{
|
|
|
161
161
|
children: d.map((i, h)=>"Icon" in i || "checkedProps" in i ? /* @__PURE__ */ e(ua, _object_spread({}, i), h) : i)
|
|
162
162
|
})
|
|
163
163
|
})
|
|
164
|
-
}) : /* @__PURE__ */ e(
|
|
164
|
+
}) : /* @__PURE__ */ e(Fe, {});
|
|
165
165
|
}, va = (a)=>a ? typeof a == "number" ? a : ({
|
|
166
166
|
"1:1": 1,
|
|
167
167
|
"16:9": 16 / 9,
|
|
168
168
|
"7:10": 7 / 10,
|
|
169
169
|
"9:10": 9 / 10,
|
|
170
170
|
auto: 0
|
|
171
|
-
})[a] : 0,
|
|
172
|
-
let { children: a, width: r, height:
|
|
173
|
-
const h = r &&
|
|
171
|
+
})[a] : 0, $ = /*#__PURE__*/ B.forwardRef((param, i)=>{
|
|
172
|
+
let { children: a, width: r, height: t, aspectRatio: n, dataAttributes: o, className: d, "aria-label": l } = param;
|
|
173
|
+
const h = r && t ? void 0 : va(n);
|
|
174
174
|
return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, la(o)), {
|
|
175
175
|
ref: i,
|
|
176
176
|
"aria-label": l,
|
|
177
|
-
className:
|
|
177
|
+
className: ye(d, qe),
|
|
178
178
|
style: _object_spread({
|
|
179
179
|
width: r || "100%",
|
|
180
|
-
height:
|
|
181
|
-
}, h ?
|
|
180
|
+
height: t || "100%"
|
|
181
|
+
}, h ? L({
|
|
182
182
|
[Be.aspectRatio]: String(h)
|
|
183
183
|
}) : {}),
|
|
184
184
|
children: a
|
|
185
185
|
}));
|
|
186
|
-
}), je = (a)
|
|
186
|
+
}), je = (a)=>{
|
|
187
|
+
const r = typeof a == "string" ? a : a == null ? void 0 : a.src, t = typeof a == "string" || a == null ? void 0 : a.srcSet;
|
|
188
|
+
return /* @__PURE__ */ e(ue, {
|
|
187
189
|
width: "100%",
|
|
188
190
|
height: "100%",
|
|
189
|
-
src:
|
|
190
|
-
|
|
191
|
+
src: r || "",
|
|
192
|
+
srcSet: t
|
|
193
|
+
});
|
|
194
|
+
}, fa = {
|
|
191
195
|
loading: {
|
|
192
196
|
showSpinner: "loadingTimeout",
|
|
193
197
|
play: "playing",
|
|
@@ -213,14 +217,14 @@ const M = ()=>{
|
|
|
213
217
|
error: {
|
|
214
218
|
reset: "loading"
|
|
215
219
|
}
|
|
216
|
-
}, pa = (a, r)=>fa[a][r] || a,
|
|
220
|
+
}, pa = (a, r)=>fa[a][r] || a, ya = (param)=>{
|
|
217
221
|
let { color: a } = param;
|
|
218
|
-
return /* @__PURE__ */ e(
|
|
222
|
+
return /* @__PURE__ */ e(na, {
|
|
219
223
|
color: a,
|
|
220
224
|
size: 16,
|
|
221
225
|
delay: "0"
|
|
222
226
|
});
|
|
223
|
-
},
|
|
227
|
+
}, ga = (param)=>{
|
|
224
228
|
let { color: a } = param;
|
|
225
229
|
return /* @__PURE__ */ e(ra, {
|
|
226
230
|
color: a,
|
|
@@ -228,12 +232,12 @@ const M = ()=>{
|
|
|
228
232
|
});
|
|
229
233
|
}, xa = (param)=>{
|
|
230
234
|
let { color: a } = param;
|
|
231
|
-
return /* @__PURE__ */ e(
|
|
235
|
+
return /* @__PURE__ */ e(ta, {
|
|
232
236
|
color: a,
|
|
233
237
|
size: 12
|
|
234
238
|
});
|
|
235
|
-
}, Ve = (a, r,
|
|
236
|
-
const { texts:
|
|
239
|
+
}, Ve = (a, r, t)=>{
|
|
240
|
+
const { texts: n, t: o } = Q(), d = B.useRef(null), [l, i] = B.useReducer(pa, "loading");
|
|
237
241
|
B.useEffect(()=>{
|
|
238
242
|
var u;
|
|
239
243
|
const m = setTimeout(()=>i("showSpinner"), 2e3);
|
|
@@ -244,7 +248,7 @@ const M = ()=>{
|
|
|
244
248
|
a
|
|
245
249
|
]);
|
|
246
250
|
const h = B.useMemo(()=>a !== void 0 ? /* @__PURE__ */ e(oa, {
|
|
247
|
-
ref: ia(d,
|
|
251
|
+
ref: ia(d, t),
|
|
248
252
|
src: a,
|
|
249
253
|
width: "100%",
|
|
250
254
|
height: "100%",
|
|
@@ -253,7 +257,7 @@ const M = ()=>{
|
|
|
253
257
|
onPause: ()=>i("pause"),
|
|
254
258
|
onPlay: ()=>i("play")
|
|
255
259
|
}) : void 0, [
|
|
256
|
-
|
|
260
|
+
t,
|
|
257
261
|
a,
|
|
258
262
|
r
|
|
259
263
|
]), c = ()=>{
|
|
@@ -265,12 +269,12 @@ const M = ()=>{
|
|
|
265
269
|
};
|
|
266
270
|
const p = h ? {
|
|
267
271
|
uncheckedProps: {
|
|
268
|
-
Icon: l === "loadingTimeout" && !sa() ?
|
|
269
|
-
label: l === "loadingTimeout" ? "" :
|
|
272
|
+
Icon: l === "loadingTimeout" && !sa() ? ya : ga,
|
|
273
|
+
label: l === "loadingTimeout" ? "" : n.pauseIconButtonLabel || o(ma)
|
|
270
274
|
},
|
|
271
275
|
checkedProps: {
|
|
272
276
|
Icon: xa,
|
|
273
|
-
label:
|
|
277
|
+
label: n.playIconButtonLabel || o(ha)
|
|
274
278
|
},
|
|
275
279
|
onChange: c,
|
|
276
280
|
disabled: l === "loadingTimeout",
|
|
@@ -280,11 +284,11 @@ const M = ()=>{
|
|
|
280
284
|
video: h,
|
|
281
285
|
videoAction: p
|
|
282
286
|
};
|
|
283
|
-
},
|
|
284
|
-
let { headline: a, headlineRef: r, pretitle:
|
|
285
|
-
const { textPresets:
|
|
287
|
+
}, ge = (param)=>{
|
|
288
|
+
let { headline: a, headlineRef: r, pretitle: t, pretitleLinesMax: n, title: o, titleAs: d = "h3", titleLinesMax: l, subtitle: i, subtitleLinesMax: h, description: c, descriptionLinesMax: p, extra: m, extraRef: u, button: f, buttonLink: x } = param;
|
|
289
|
+
const { textPresets: b } = Q();
|
|
286
290
|
return /* @__PURE__ */ s("div", {
|
|
287
|
-
className:
|
|
291
|
+
className: Ze({
|
|
288
292
|
display: "flex",
|
|
289
293
|
flex: 1,
|
|
290
294
|
justifyContent: "space-between",
|
|
@@ -292,15 +296,15 @@ const M = ()=>{
|
|
|
292
296
|
}),
|
|
293
297
|
children: [
|
|
294
298
|
/* @__PURE__ */ s("div", {
|
|
295
|
-
className:
|
|
299
|
+
className: Ie,
|
|
296
300
|
children: [
|
|
297
301
|
o && /* @__PURE__ */ e("div", {
|
|
298
302
|
style: {
|
|
299
303
|
paddingBottom: i || c ? 4 : 0
|
|
300
304
|
},
|
|
301
|
-
children: /* @__PURE__ */ e(
|
|
305
|
+
children: /* @__PURE__ */ e(te, _object_spread_props(_object_spread({}, ie.text4), {
|
|
302
306
|
truncate: l,
|
|
303
|
-
weight:
|
|
307
|
+
weight: b.cardTitle.weight,
|
|
304
308
|
as: d,
|
|
305
309
|
hyphens: "auto",
|
|
306
310
|
children: o
|
|
@@ -313,22 +317,22 @@ const M = ()=>{
|
|
|
313
317
|
order: -2,
|
|
314
318
|
paddingBottom: 8
|
|
315
319
|
},
|
|
316
|
-
children: typeof a == "string" ? /* @__PURE__ */ e(
|
|
320
|
+
children: typeof a == "string" ? /* @__PURE__ */ e(We, {
|
|
317
321
|
type: "promo",
|
|
318
322
|
children: a
|
|
319
323
|
}) : a
|
|
320
324
|
}),
|
|
321
|
-
|
|
325
|
+
t && /* @__PURE__ */ e("div", {
|
|
322
326
|
style: {
|
|
323
327
|
order: -1,
|
|
324
328
|
paddingBottom: 4
|
|
325
329
|
},
|
|
326
330
|
children: /* @__PURE__ */ e(V, {
|
|
327
|
-
truncate:
|
|
331
|
+
truncate: n,
|
|
328
332
|
as: "div",
|
|
329
333
|
regular: !0,
|
|
330
334
|
hyphens: "auto",
|
|
331
|
-
children:
|
|
335
|
+
children: t
|
|
332
336
|
})
|
|
333
337
|
}),
|
|
334
338
|
i && /* @__PURE__ */ e("div", {
|
|
@@ -347,7 +351,7 @@ const M = ()=>{
|
|
|
347
351
|
// Otherwise, only 4px are added by title|pretitle|subtitle, so we need to add 4px more
|
|
348
352
|
/* @__PURE__ */ e("div", {
|
|
349
353
|
style: {
|
|
350
|
-
paddingTop:
|
|
354
|
+
paddingTop: t || o || i ? 4 : 0
|
|
351
355
|
},
|
|
352
356
|
children: /* @__PURE__ */ e(V, {
|
|
353
357
|
truncate: p,
|
|
@@ -373,8 +377,8 @@ const M = ()=>{
|
|
|
373
377
|
})
|
|
374
378
|
]
|
|
375
379
|
});
|
|
376
|
-
},
|
|
377
|
-
var { media: a, asset: r, headline:
|
|
380
|
+
}, Ka = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
381
|
+
var { media: a, asset: r, headline: t, pretitle: n, pretitleLinesMax: o, subtitle: d, subtitleLinesMax: l, title: i, titleAs: h = "h3", titleLinesMax: c, description: p, descriptionLinesMax: m, extra: u, actions: f, button: x, buttonLink: b, dataAttributes: C, "aria-label": T, onClose: S, closeButtonLabel: N } = _param, y = _object_without_properties(_param, [
|
|
378
382
|
"media",
|
|
379
383
|
"asset",
|
|
380
384
|
"headline",
|
|
@@ -396,50 +400,50 @@ const M = ()=>{
|
|
|
396
400
|
"onClose",
|
|
397
401
|
"closeButtonLabel"
|
|
398
402
|
]);
|
|
399
|
-
const R = !!(
|
|
403
|
+
const R = !!(y.href || y.to || y.onPress), { text: z, ref: H } = M(), { text: E, ref: w } = M(), k = T || [
|
|
400
404
|
i,
|
|
401
405
|
z,
|
|
402
|
-
|
|
406
|
+
n,
|
|
403
407
|
d,
|
|
404
408
|
p,
|
|
405
|
-
|
|
409
|
+
E
|
|
406
410
|
].filter(Boolean).join(" ");
|
|
407
|
-
return /* @__PURE__ */ s(
|
|
411
|
+
return /* @__PURE__ */ s($, {
|
|
408
412
|
dataAttributes: _object_spread({
|
|
409
413
|
"component-name": "MediaCard"
|
|
410
|
-
},
|
|
414
|
+
}, C),
|
|
411
415
|
ref: D,
|
|
412
|
-
"aria-label": R ? void 0 :
|
|
413
|
-
className:
|
|
416
|
+
"aria-label": R ? void 0 : T,
|
|
417
|
+
className: W,
|
|
414
418
|
children: [
|
|
415
419
|
/* @__PURE__ */ e(me, {
|
|
416
|
-
className:
|
|
420
|
+
className: Y,
|
|
417
421
|
width: "100%",
|
|
418
422
|
height: "100%",
|
|
419
|
-
children: /* @__PURE__ */ s(
|
|
423
|
+
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
420
424
|
maybe: !0
|
|
421
|
-
},
|
|
422
|
-
className:
|
|
423
|
-
"aria-label": R ?
|
|
425
|
+
}, y), {
|
|
426
|
+
className: _,
|
|
427
|
+
"aria-label": R ? k : void 0,
|
|
424
428
|
children: [
|
|
425
429
|
R && /* @__PURE__ */ e("div", {
|
|
426
|
-
className:
|
|
430
|
+
className: Je
|
|
427
431
|
}),
|
|
428
432
|
/* @__PURE__ */ s("div", {
|
|
429
433
|
className: ve,
|
|
430
434
|
children: [
|
|
431
435
|
/* @__PURE__ */ e("div", {
|
|
432
|
-
style:
|
|
433
|
-
[
|
|
436
|
+
style: L({
|
|
437
|
+
[X.mediaBorderRadius]: "0px"
|
|
434
438
|
}),
|
|
435
439
|
children: a
|
|
436
440
|
}),
|
|
437
441
|
/* @__PURE__ */ e("div", {
|
|
438
|
-
className:
|
|
439
|
-
children: /* @__PURE__ */ e(
|
|
440
|
-
headline:
|
|
441
|
-
headlineRef:
|
|
442
|
-
pretitle:
|
|
442
|
+
className: Ke,
|
|
443
|
+
children: /* @__PURE__ */ e(ge, {
|
|
444
|
+
headline: t,
|
|
445
|
+
headlineRef: H,
|
|
446
|
+
pretitle: n,
|
|
443
447
|
pretitleLinesMax: o,
|
|
444
448
|
title: i,
|
|
445
449
|
titleAs: h,
|
|
@@ -449,13 +453,13 @@ const M = ()=>{
|
|
|
449
453
|
description: p,
|
|
450
454
|
descriptionLinesMax: m,
|
|
451
455
|
extra: u,
|
|
452
|
-
extraRef:
|
|
456
|
+
extraRef: w,
|
|
453
457
|
button: x,
|
|
454
|
-
buttonLink:
|
|
458
|
+
buttonLink: b
|
|
455
459
|
})
|
|
456
460
|
}),
|
|
457
|
-
r && /* @__PURE__ */ e(
|
|
458
|
-
className:
|
|
461
|
+
r && /* @__PURE__ */ e(G, {
|
|
462
|
+
className: Ce,
|
|
459
463
|
paddingLeft: {
|
|
460
464
|
mobile: 16,
|
|
461
465
|
desktop: 24
|
|
@@ -465,8 +469,8 @@ const M = ()=>{
|
|
|
465
469
|
desktop: 24
|
|
466
470
|
},
|
|
467
471
|
children: /* @__PURE__ */ e("div", {
|
|
468
|
-
style:
|
|
469
|
-
[
|
|
472
|
+
style: L({
|
|
473
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
470
474
|
}),
|
|
471
475
|
children: r
|
|
472
476
|
})
|
|
@@ -476,16 +480,16 @@ const M = ()=>{
|
|
|
476
480
|
]
|
|
477
481
|
}))
|
|
478
482
|
}),
|
|
479
|
-
/* @__PURE__ */ e(
|
|
480
|
-
onClose:
|
|
481
|
-
closeButtonLabel:
|
|
483
|
+
/* @__PURE__ */ e(Z, {
|
|
484
|
+
onClose: S,
|
|
485
|
+
closeButtonLabel: N,
|
|
482
486
|
actions: f,
|
|
483
487
|
variant: "media"
|
|
484
488
|
})
|
|
485
489
|
]
|
|
486
490
|
});
|
|
487
|
-
}),
|
|
488
|
-
var { media: a, asset: r, headline:
|
|
491
|
+
}), Qa = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
492
|
+
var { media: a, asset: r, headline: t, pretitle: n, pretitleLinesMax: o, subtitle: d, subtitleLinesMax: l, title: i, titleAs: h = "h3", titleLinesMax: c, description: p, descriptionLinesMax: m, extra: u, actions: f, button: x, buttonLink: b, dataAttributes: C, "aria-label": T, onClose: S, closeButtonLabel: N } = _param, y = _object_without_properties(_param, [
|
|
489
493
|
"media",
|
|
490
494
|
"asset",
|
|
491
495
|
"headline",
|
|
@@ -507,27 +511,27 @@ const M = ()=>{
|
|
|
507
511
|
"onClose",
|
|
508
512
|
"closeButtonLabel"
|
|
509
513
|
]);
|
|
510
|
-
const R = !!(
|
|
514
|
+
const R = !!(y.href || y.to || y.onPress), z = a && a.type === ue && a.props.circular, { text: H, ref: E } = M(), { text: w, ref: k } = M(), I = T || [
|
|
511
515
|
i,
|
|
512
|
-
|
|
513
|
-
|
|
516
|
+
H,
|
|
517
|
+
n,
|
|
514
518
|
d,
|
|
515
519
|
p,
|
|
516
|
-
|
|
520
|
+
w
|
|
517
521
|
].filter(Boolean).join(" ");
|
|
518
|
-
return /* @__PURE__ */ s(
|
|
522
|
+
return /* @__PURE__ */ s($, {
|
|
519
523
|
ref: D,
|
|
520
524
|
dataAttributes: _object_spread({
|
|
521
525
|
"component-name": "NakedCard"
|
|
522
|
-
},
|
|
523
|
-
"aria-label": R ? void 0 :
|
|
524
|
-
className: R ?
|
|
526
|
+
}, C),
|
|
527
|
+
"aria-label": R ? void 0 : T,
|
|
528
|
+
className: R ? W : void 0,
|
|
525
529
|
children: [
|
|
526
|
-
/* @__PURE__ */ e(
|
|
530
|
+
/* @__PURE__ */ e(F, _object_spread_props(_object_spread({
|
|
527
531
|
maybe: !0
|
|
528
|
-
},
|
|
529
|
-
className:
|
|
530
|
-
"aria-label": R ?
|
|
532
|
+
}, y), {
|
|
533
|
+
className: _,
|
|
534
|
+
"aria-label": R ? I : void 0,
|
|
531
535
|
children: /* @__PURE__ */ s("div", {
|
|
532
536
|
className: ve,
|
|
533
537
|
children: [
|
|
@@ -537,19 +541,19 @@ const M = ()=>{
|
|
|
537
541
|
},
|
|
538
542
|
children: [
|
|
539
543
|
R && /* @__PURE__ */ e("div", {
|
|
540
|
-
className:
|
|
541
|
-
[
|
|
544
|
+
className: ye(Te, {
|
|
545
|
+
[Ne]: z
|
|
542
546
|
})
|
|
543
547
|
}),
|
|
544
548
|
a
|
|
545
549
|
]
|
|
546
550
|
}),
|
|
547
551
|
/* @__PURE__ */ e("div", {
|
|
548
|
-
className:
|
|
549
|
-
children: /* @__PURE__ */ e(
|
|
550
|
-
headline:
|
|
551
|
-
headlineRef:
|
|
552
|
-
pretitle:
|
|
552
|
+
className: be,
|
|
553
|
+
children: /* @__PURE__ */ e(ge, {
|
|
554
|
+
headline: t,
|
|
555
|
+
headlineRef: E,
|
|
556
|
+
pretitle: n,
|
|
553
557
|
pretitleLinesMax: o,
|
|
554
558
|
title: i,
|
|
555
559
|
titleAs: h,
|
|
@@ -559,13 +563,13 @@ const M = ()=>{
|
|
|
559
563
|
description: p,
|
|
560
564
|
descriptionLinesMax: m,
|
|
561
565
|
extra: u,
|
|
562
|
-
extraRef:
|
|
566
|
+
extraRef: k,
|
|
563
567
|
button: x,
|
|
564
|
-
buttonLink:
|
|
568
|
+
buttonLink: b
|
|
565
569
|
})
|
|
566
570
|
}),
|
|
567
|
-
r && /* @__PURE__ */ e(
|
|
568
|
-
className:
|
|
571
|
+
r && /* @__PURE__ */ e(G, {
|
|
572
|
+
className: Ce,
|
|
569
573
|
paddingLeft: {
|
|
570
574
|
mobile: 16,
|
|
571
575
|
desktop: 24
|
|
@@ -575,8 +579,8 @@ const M = ()=>{
|
|
|
575
579
|
desktop: 24
|
|
576
580
|
},
|
|
577
581
|
children: /* @__PURE__ */ e("div", {
|
|
578
|
-
style:
|
|
579
|
-
[
|
|
582
|
+
style: L({
|
|
583
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
580
584
|
}),
|
|
581
585
|
children: r
|
|
582
586
|
})
|
|
@@ -584,16 +588,16 @@ const M = ()=>{
|
|
|
584
588
|
]
|
|
585
589
|
})
|
|
586
590
|
})),
|
|
587
|
-
/* @__PURE__ */ e(
|
|
588
|
-
onClose:
|
|
589
|
-
closeButtonLabel:
|
|
591
|
+
/* @__PURE__ */ e(Z, {
|
|
592
|
+
onClose: S,
|
|
593
|
+
closeButtonLabel: N,
|
|
590
594
|
actions: f,
|
|
591
595
|
variant: "media"
|
|
592
596
|
})
|
|
593
597
|
]
|
|
594
598
|
});
|
|
595
|
-
}),
|
|
596
|
-
var { media: a, title: r, titleAs:
|
|
599
|
+
}), Ua = /*#__PURE__*/ B.forwardRef((_param, u)=>{
|
|
600
|
+
var { media: a, title: r, titleAs: t = "h3", titleLinesMax: n, subtitle: o, subtitleLinesMax: d, description: l, descriptionLinesMax: i, extra: h, dataAttributes: c, "aria-label": p } = _param, m = _object_without_properties(_param, [
|
|
597
601
|
"media",
|
|
598
602
|
"title",
|
|
599
603
|
"titleAs",
|
|
@@ -606,24 +610,24 @@ const M = ()=>{
|
|
|
606
610
|
"dataAttributes",
|
|
607
611
|
"aria-label"
|
|
608
612
|
]);
|
|
609
|
-
const f = !!(m.href || m.to || m.onPress), x = a && a.type === ue && a.props.circular, { textPresets:
|
|
613
|
+
const f = !!(m.href || m.to || m.onPress), x = a && a.type === ue && a.props.circular, { textPresets: b } = Q(), { text: C, ref: T } = M(), S = p || [
|
|
610
614
|
r,
|
|
611
615
|
o,
|
|
612
616
|
l,
|
|
613
|
-
|
|
617
|
+
C
|
|
614
618
|
].filter(Boolean).join(" ");
|
|
615
|
-
return /* @__PURE__ */ e(
|
|
619
|
+
return /* @__PURE__ */ e($, {
|
|
616
620
|
ref: u,
|
|
617
621
|
dataAttributes: _object_spread({
|
|
618
622
|
"component-name": "SmallNakedCard"
|
|
619
623
|
}, c),
|
|
620
624
|
"aria-label": f ? void 0 : p,
|
|
621
|
-
className: f ?
|
|
622
|
-
children: /* @__PURE__ */ e(
|
|
625
|
+
className: f ? W : void 0,
|
|
626
|
+
children: /* @__PURE__ */ e(F, _object_spread_props(_object_spread({
|
|
623
627
|
maybe: !0
|
|
624
628
|
}, m), {
|
|
625
|
-
className:
|
|
626
|
-
"aria-label": f ?
|
|
629
|
+
className: _,
|
|
630
|
+
"aria-label": f ? S : void 0,
|
|
627
631
|
children: /* @__PURE__ */ s("div", {
|
|
628
632
|
className: ve,
|
|
629
633
|
children: [
|
|
@@ -633,24 +637,24 @@ const M = ()=>{
|
|
|
633
637
|
},
|
|
634
638
|
children: [
|
|
635
639
|
f && /* @__PURE__ */ e("div", {
|
|
636
|
-
className:
|
|
637
|
-
[
|
|
640
|
+
className: ye(Te, {
|
|
641
|
+
[Ne]: x
|
|
638
642
|
})
|
|
639
643
|
}),
|
|
640
644
|
a
|
|
641
645
|
]
|
|
642
646
|
}),
|
|
643
647
|
/* @__PURE__ */ s("div", {
|
|
644
|
-
className:
|
|
648
|
+
className: be,
|
|
645
649
|
children: [
|
|
646
650
|
/* @__PURE__ */ e("div", {
|
|
647
651
|
children: /* @__PURE__ */ s(re, {
|
|
648
652
|
space: 4,
|
|
649
653
|
children: [
|
|
650
|
-
r && /* @__PURE__ */ e(
|
|
651
|
-
truncate:
|
|
652
|
-
weight:
|
|
653
|
-
as:
|
|
654
|
+
r && /* @__PURE__ */ e(te, _object_spread_props(_object_spread({}, ie.text2), {
|
|
655
|
+
truncate: n,
|
|
656
|
+
weight: b.cardTitle.weight,
|
|
657
|
+
as: t,
|
|
654
658
|
hyphens: "auto",
|
|
655
659
|
children: r
|
|
656
660
|
})),
|
|
@@ -673,7 +677,7 @@ const M = ()=>{
|
|
|
673
677
|
})
|
|
674
678
|
}),
|
|
675
679
|
h && /* @__PURE__ */ e("div", {
|
|
676
|
-
ref:
|
|
680
|
+
ref: T,
|
|
677
681
|
children: h
|
|
678
682
|
})
|
|
679
683
|
]
|
|
@@ -682,8 +686,8 @@ const M = ()=>{
|
|
|
682
686
|
})
|
|
683
687
|
}))
|
|
684
688
|
});
|
|
685
|
-
}),
|
|
686
|
-
var { asset: a, headline: r, pretitle:
|
|
689
|
+
}), Ya = /*#__PURE__*/ B.forwardRef((_param, D)=>{
|
|
690
|
+
var { asset: a, headline: r, pretitle: t, pretitleLinesMax: n, title: o, titleAs: d = "h3", titleLinesMax: l, subtitle: i, subtitleLinesMax: h, description: c, descriptionLinesMax: p, extra: m, actions: u, button: f, buttonLink: x, dataAttributes: b, "aria-label": C, onClose: T, closeButtonLabel: S, aspectRatio: N } = _param, y = _object_without_properties(_param, [
|
|
687
691
|
"asset",
|
|
688
692
|
"headline",
|
|
689
693
|
"pretitle",
|
|
@@ -705,37 +709,37 @@ const M = ()=>{
|
|
|
705
709
|
"closeButtonLabel",
|
|
706
710
|
"aspectRatio"
|
|
707
711
|
]);
|
|
708
|
-
const R = !!a || !!r, z = !!(
|
|
712
|
+
const R = !!a || !!r, z = !!(y.href || y.to || y.onPress), { text: H, ref: E } = M(), { text: w, ref: k } = M(), I = Oe(u, T), g = C || [
|
|
709
713
|
o,
|
|
710
|
-
|
|
711
|
-
|
|
714
|
+
H,
|
|
715
|
+
t,
|
|
712
716
|
c,
|
|
713
|
-
|
|
717
|
+
w
|
|
714
718
|
].filter(Boolean).join(" ");
|
|
715
|
-
return /* @__PURE__ */ s(
|
|
719
|
+
return /* @__PURE__ */ s($, {
|
|
716
720
|
dataAttributes: _object_spread({
|
|
717
721
|
"component-name": "DataCard"
|
|
718
|
-
},
|
|
722
|
+
}, b),
|
|
719
723
|
ref: D,
|
|
720
|
-
"aria-label": z ? void 0 :
|
|
721
|
-
className:
|
|
722
|
-
aspectRatio:
|
|
724
|
+
"aria-label": z ? void 0 : C,
|
|
725
|
+
className: W,
|
|
726
|
+
aspectRatio: N,
|
|
723
727
|
children: [
|
|
724
728
|
/* @__PURE__ */ e(me, {
|
|
725
|
-
className:
|
|
729
|
+
className: Y,
|
|
726
730
|
width: "100%",
|
|
727
731
|
minHeight: "100%",
|
|
728
|
-
children: /* @__PURE__ */ s(
|
|
732
|
+
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
729
733
|
maybe: !0
|
|
730
|
-
},
|
|
731
|
-
className:
|
|
732
|
-
"aria-label": z ?
|
|
734
|
+
}, y), {
|
|
735
|
+
className: _,
|
|
736
|
+
"aria-label": z ? g : void 0,
|
|
733
737
|
children: [
|
|
734
738
|
z && /* @__PURE__ */ e("div", {
|
|
735
|
-
className:
|
|
739
|
+
className: ne
|
|
736
740
|
}),
|
|
737
741
|
/* @__PURE__ */ s("div", {
|
|
738
|
-
className:
|
|
742
|
+
className: Qe,
|
|
739
743
|
children: [
|
|
740
744
|
/* @__PURE__ */ s(ze, {
|
|
741
745
|
space: 0,
|
|
@@ -744,16 +748,16 @@ const M = ()=>{
|
|
|
744
748
|
space: 16,
|
|
745
749
|
children: [
|
|
746
750
|
a && /* @__PURE__ */ e("div", {
|
|
747
|
-
style:
|
|
748
|
-
[
|
|
751
|
+
style: L({
|
|
752
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
749
753
|
}),
|
|
750
754
|
children: a
|
|
751
755
|
}),
|
|
752
|
-
/* @__PURE__ */ e(
|
|
756
|
+
/* @__PURE__ */ e(ge, {
|
|
753
757
|
headline: r,
|
|
754
|
-
headlineRef:
|
|
755
|
-
pretitle:
|
|
756
|
-
pretitleLinesMax:
|
|
758
|
+
headlineRef: E,
|
|
759
|
+
pretitle: t,
|
|
760
|
+
pretitleLinesMax: n,
|
|
757
761
|
title: o,
|
|
758
762
|
titleAs: d,
|
|
759
763
|
titleLinesMax: l,
|
|
@@ -765,15 +769,15 @@ const M = ()=>{
|
|
|
765
769
|
]
|
|
766
770
|
}),
|
|
767
771
|
!R && /* @__PURE__ */ e("div", {
|
|
768
|
-
style:
|
|
769
|
-
[Be.topActionsCount]: String(
|
|
772
|
+
style: L({
|
|
773
|
+
[Be.topActionsCount]: String(I.length)
|
|
770
774
|
}),
|
|
771
|
-
className:
|
|
775
|
+
className: Ue
|
|
772
776
|
})
|
|
773
777
|
]
|
|
774
778
|
}),
|
|
775
779
|
m && /* @__PURE__ */ e("div", {
|
|
776
|
-
ref:
|
|
780
|
+
ref: k,
|
|
777
781
|
children: m
|
|
778
782
|
}),
|
|
779
783
|
(f || x) && /* @__PURE__ */ e("div", {
|
|
@@ -788,16 +792,16 @@ const M = ()=>{
|
|
|
788
792
|
]
|
|
789
793
|
}))
|
|
790
794
|
}),
|
|
791
|
-
/* @__PURE__ */ e(
|
|
792
|
-
onClose:
|
|
793
|
-
closeButtonLabel:
|
|
795
|
+
/* @__PURE__ */ e(Z, {
|
|
796
|
+
onClose: T,
|
|
797
|
+
closeButtonLabel: S,
|
|
794
798
|
actions: u,
|
|
795
799
|
variant: "default"
|
|
796
800
|
})
|
|
797
801
|
]
|
|
798
802
|
});
|
|
799
|
-
}),
|
|
800
|
-
var { asset: a, title: r, titleAs:
|
|
803
|
+
}), Za = /*#__PURE__*/ B.forwardRef((_param, x)=>{
|
|
804
|
+
var { asset: a, title: r, titleAs: t = "h3", titleLinesMax: n, subtitle: o, subtitleLinesMax: d, description: l, descriptionLinesMax: i, dataAttributes: h, "aria-label": c, extra: p, isInverse: m = !1, aspectRatio: u } = _param, f = _object_without_properties(_param, [
|
|
801
805
|
"asset",
|
|
802
806
|
"title",
|
|
803
807
|
"titleAs",
|
|
@@ -812,44 +816,44 @@ const M = ()=>{
|
|
|
812
816
|
"isInverse",
|
|
813
817
|
"aspectRatio"
|
|
814
818
|
]);
|
|
815
|
-
const { textPresets:
|
|
819
|
+
const { textPresets: b } = Q(), C = !!(f.href || f.to || f.onPress), T = m ? fe : ne, { text: S, ref: N } = M(), y = c || [
|
|
816
820
|
r,
|
|
817
821
|
o,
|
|
818
822
|
l,
|
|
819
|
-
|
|
823
|
+
S
|
|
820
824
|
].filter(Boolean).join(" ");
|
|
821
|
-
return /* @__PURE__ */ e(
|
|
825
|
+
return /* @__PURE__ */ e($, {
|
|
822
826
|
dataAttributes: _object_spread({
|
|
823
827
|
"component-name": "SnapCard"
|
|
824
828
|
}, h),
|
|
825
829
|
ref: x,
|
|
826
|
-
className:
|
|
830
|
+
className: W,
|
|
827
831
|
aspectRatio: u,
|
|
828
|
-
"aria-label":
|
|
832
|
+
"aria-label": C ? void 0 : c,
|
|
829
833
|
children: /* @__PURE__ */ e(me, {
|
|
830
|
-
className:
|
|
834
|
+
className: Y,
|
|
831
835
|
isInverse: m,
|
|
832
836
|
width: "100%",
|
|
833
837
|
minHeight: "100%",
|
|
834
|
-
children: /* @__PURE__ */ s(
|
|
838
|
+
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
835
839
|
maybe: !0
|
|
836
840
|
}, f), {
|
|
837
|
-
className:
|
|
838
|
-
"aria-label":
|
|
841
|
+
className: _,
|
|
842
|
+
"aria-label": C ? y : void 0,
|
|
839
843
|
children: [
|
|
840
|
-
|
|
841
|
-
className:
|
|
844
|
+
C && /* @__PURE__ */ e("div", {
|
|
845
|
+
className: T
|
|
842
846
|
}),
|
|
843
847
|
/* @__PURE__ */ s("section", {
|
|
844
|
-
className:
|
|
848
|
+
className: Ye,
|
|
845
849
|
children: [
|
|
846
850
|
/* @__PURE__ */ s("div", {
|
|
847
851
|
children: [
|
|
848
852
|
a && /* @__PURE__ */ e("div", {
|
|
849
|
-
style:
|
|
850
|
-
[
|
|
853
|
+
style: L({
|
|
854
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
851
855
|
}),
|
|
852
|
-
children: /* @__PURE__ */ e(
|
|
856
|
+
children: /* @__PURE__ */ e(G, {
|
|
853
857
|
paddingBottom: 16,
|
|
854
858
|
children: a
|
|
855
859
|
})
|
|
@@ -857,10 +861,10 @@ const M = ()=>{
|
|
|
857
861
|
/* @__PURE__ */ s(re, {
|
|
858
862
|
space: 4,
|
|
859
863
|
children: [
|
|
860
|
-
r && /* @__PURE__ */ e(
|
|
861
|
-
truncate:
|
|
862
|
-
weight:
|
|
863
|
-
as:
|
|
864
|
+
r && /* @__PURE__ */ e(te, _object_spread_props(_object_spread({}, ie.text2), {
|
|
865
|
+
truncate: n,
|
|
866
|
+
weight: b.cardTitle.weight,
|
|
867
|
+
as: t,
|
|
864
868
|
hyphens: "auto",
|
|
865
869
|
children: r
|
|
866
870
|
})),
|
|
@@ -885,7 +889,7 @@ const M = ()=>{
|
|
|
885
889
|
]
|
|
886
890
|
}),
|
|
887
891
|
p && /* @__PURE__ */ e("div", {
|
|
888
|
-
ref:
|
|
892
|
+
ref: N,
|
|
889
893
|
children: p
|
|
890
894
|
})
|
|
891
895
|
]
|
|
@@ -894,14 +898,14 @@ const M = ()=>{
|
|
|
894
898
|
}))
|
|
895
899
|
})
|
|
896
900
|
});
|
|
897
|
-
}),
|
|
898
|
-
let { title: a, headline: r, pretitle:
|
|
901
|
+
}), Ee = (param)=>{
|
|
902
|
+
let { title: a, headline: r, pretitle: t, subtitle: n, description: o, extra: d, headlineRef: l, extraRef: i } = param;
|
|
899
903
|
return /* @__PURE__ */ s("div", {
|
|
900
|
-
className:
|
|
904
|
+
className: Ie,
|
|
901
905
|
children: [
|
|
902
906
|
a && /* @__PURE__ */ e("div", {
|
|
903
907
|
style: {
|
|
904
|
-
paddingBottom:
|
|
908
|
+
paddingBottom: n || o ? 4 : 0
|
|
905
909
|
},
|
|
906
910
|
children: a
|
|
907
911
|
}),
|
|
@@ -914,24 +918,24 @@ const M = ()=>{
|
|
|
914
918
|
},
|
|
915
919
|
children: r
|
|
916
920
|
}),
|
|
917
|
-
|
|
921
|
+
t && /* @__PURE__ */ e("div", {
|
|
918
922
|
style: {
|
|
919
923
|
order: -1,
|
|
920
924
|
paddingBottom: 4
|
|
921
925
|
},
|
|
922
|
-
children:
|
|
926
|
+
children: t
|
|
923
927
|
}),
|
|
924
|
-
|
|
928
|
+
n && /* @__PURE__ */ e("div", {
|
|
925
929
|
style: {
|
|
926
|
-
paddingBottom:
|
|
930
|
+
paddingBottom: n ? 4 : 0
|
|
927
931
|
},
|
|
928
|
-
children:
|
|
932
|
+
children: n
|
|
929
933
|
}),
|
|
930
934
|
o && // this is tricky, the padding between a headline and a description is 16px
|
|
931
935
|
// but the padding between a title|pretitle|subtitle and a description is 8px (4px + 4px)
|
|
932
936
|
/* @__PURE__ */ e("div", {
|
|
933
937
|
style: {
|
|
934
|
-
paddingTop:
|
|
938
|
+
paddingTop: t || a || n ? 4 : 0
|
|
935
939
|
},
|
|
936
940
|
children: o
|
|
937
941
|
}),
|
|
@@ -941,8 +945,8 @@ const M = ()=>{
|
|
|
941
945
|
})
|
|
942
946
|
]
|
|
943
947
|
});
|
|
944
|
-
},
|
|
945
|
-
var { isInverse: a, backgroundImage: r, backgroundVideo:
|
|
948
|
+
}, Ge = /*#__PURE__*/ B.forwardRef((_param, k)=>{
|
|
949
|
+
var { isInverse: a, backgroundImage: r, backgroundVideo: t, backgroundVideoRef: n, poster: o, asset: d, headline: l, pretitle: i, pretitleLinesMax: h, title: c, titleAs: p = "h3", titleLinesMax: m, description: u, descriptionLinesMax: f, extra: x, button: b, secondaryButton: C, onClose: T, closeButtonLabel: S, actions: N, buttonLink: y, dataAttributes: D, width: R, height: z, aspectRatio: H, "aria-label": E } = _param, w = _object_without_properties(_param, [
|
|
946
950
|
"isInverse",
|
|
947
951
|
"backgroundImage",
|
|
948
952
|
"backgroundVideo",
|
|
@@ -970,81 +974,81 @@ const M = ()=>{
|
|
|
970
974
|
"aspectRatio",
|
|
971
975
|
"aria-label"
|
|
972
976
|
]);
|
|
973
|
-
const
|
|
974
|
-
|
|
975
|
-
|
|
977
|
+
const I = r !== void 0, g = t !== void 0, A = je(r), { video: oe, videoAction: P } = Ve(t, o, n), { text: ee, ref: de } = M(), { text: le, ref: se } = M();
|
|
978
|
+
g && (N = P ? [
|
|
979
|
+
P
|
|
976
980
|
] : []);
|
|
977
|
-
const ae = De(), O =
|
|
981
|
+
const ae = De(), O = I || g, j = O ? "0 0 16px rgba(0,0,0,0.4)" : void 0, q = (N == null ? void 0 : N.length) || T, J = !!(w.href || w.to || w.onPress), ce = I || g ? Me : a ? fe : ne, K = E || [
|
|
978
982
|
c,
|
|
979
983
|
ee,
|
|
980
984
|
i,
|
|
981
985
|
u,
|
|
982
986
|
le
|
|
983
987
|
].filter(Boolean).join(" ");
|
|
984
|
-
return /* @__PURE__ */ s(
|
|
988
|
+
return /* @__PURE__ */ s($, {
|
|
985
989
|
dataAttributes: D,
|
|
986
|
-
ref:
|
|
990
|
+
ref: k,
|
|
987
991
|
width: R,
|
|
988
992
|
height: z,
|
|
989
|
-
aspectRatio:
|
|
990
|
-
"aria-label":
|
|
991
|
-
className:
|
|
993
|
+
aspectRatio: H,
|
|
994
|
+
"aria-label": J ? void 0 : E,
|
|
995
|
+
className: W,
|
|
992
996
|
children: [
|
|
993
997
|
/* @__PURE__ */ e(xe, {
|
|
994
998
|
borderRadius: v.borderRadii.legacyDisplay,
|
|
995
|
-
className:
|
|
999
|
+
className: Y,
|
|
996
1000
|
width: "100%",
|
|
997
1001
|
minHeight: "100%",
|
|
998
1002
|
isInverse: a,
|
|
999
|
-
background:
|
|
1000
|
-
variant:
|
|
1001
|
-
children: /* @__PURE__ */ s(
|
|
1003
|
+
background: I || g ? ae ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : void 0,
|
|
1004
|
+
variant: I || g ? "media" : void 0,
|
|
1005
|
+
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
1002
1006
|
maybe: !0
|
|
1003
|
-
},
|
|
1004
|
-
className:
|
|
1005
|
-
"aria-label":
|
|
1007
|
+
}, w), {
|
|
1008
|
+
className: _,
|
|
1009
|
+
"aria-label": J ? K : void 0,
|
|
1006
1010
|
children: [
|
|
1007
|
-
|
|
1011
|
+
J && /* @__PURE__ */ e("div", {
|
|
1008
1012
|
className: ce
|
|
1009
1013
|
}),
|
|
1010
1014
|
/* @__PURE__ */ s("div", {
|
|
1011
|
-
className:
|
|
1015
|
+
className: Se,
|
|
1012
1016
|
children: [
|
|
1013
|
-
(
|
|
1017
|
+
(I || g) && /* @__PURE__ */ e(pe, {
|
|
1014
1018
|
isInverse: ae,
|
|
1015
1019
|
children: /* @__PURE__ */ e("div", {
|
|
1016
|
-
className:
|
|
1017
|
-
children:
|
|
1020
|
+
className: we,
|
|
1021
|
+
children: g ? oe : A
|
|
1018
1022
|
})
|
|
1019
1023
|
}),
|
|
1020
1024
|
/* @__PURE__ */ s("div", {
|
|
1021
|
-
className:
|
|
1025
|
+
className: Ae,
|
|
1022
1026
|
style: {
|
|
1023
|
-
paddingTop: O && !d &&
|
|
1027
|
+
paddingTop: O && !d && !q && !g ? 0 : 24
|
|
1024
1028
|
},
|
|
1025
1029
|
children: [
|
|
1026
1030
|
d ? /* @__PURE__ */ e("div", {
|
|
1027
|
-
style:
|
|
1028
|
-
[
|
|
1031
|
+
style: L({
|
|
1032
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
1029
1033
|
}),
|
|
1030
|
-
children: /* @__PURE__ */ e(
|
|
1034
|
+
children: /* @__PURE__ */ e(G, {
|
|
1031
1035
|
paddingBottom: O ? 0 : 40,
|
|
1032
1036
|
paddingX: 24,
|
|
1033
1037
|
children: d
|
|
1034
1038
|
})
|
|
1035
|
-
}) : /* @__PURE__ */ e(
|
|
1036
|
-
paddingBottom:
|
|
1039
|
+
}) : /* @__PURE__ */ e(G, {
|
|
1040
|
+
paddingBottom: q || g ? O ? 24 : 64 : 0
|
|
1037
1041
|
}),
|
|
1038
|
-
/* @__PURE__ */ e(
|
|
1042
|
+
/* @__PURE__ */ e(G, {
|
|
1039
1043
|
paddingX: 24,
|
|
1040
1044
|
paddingTop: O ? 40 : 0,
|
|
1041
1045
|
paddingBottom: 24,
|
|
1042
|
-
className: O ?
|
|
1046
|
+
className: O ? ke : void 0,
|
|
1043
1047
|
children: /* @__PURE__ */ s(re, {
|
|
1044
1048
|
space: 24,
|
|
1045
1049
|
children: [
|
|
1046
|
-
/* @__PURE__ */ e(
|
|
1047
|
-
title: c ? /* @__PURE__ */ e(
|
|
1050
|
+
/* @__PURE__ */ e(Ee, {
|
|
1051
|
+
title: c ? /* @__PURE__ */ e(_e, {
|
|
1048
1052
|
forceMobileSizes: !0,
|
|
1049
1053
|
truncate: m,
|
|
1050
1054
|
as: p,
|
|
@@ -1061,7 +1065,7 @@ const M = ()=>{
|
|
|
1061
1065
|
textShadow: j,
|
|
1062
1066
|
children: i
|
|
1063
1067
|
}) : void 0,
|
|
1064
|
-
description: u ? /* @__PURE__ */ e(
|
|
1068
|
+
description: u ? /* @__PURE__ */ e($e, {
|
|
1065
1069
|
forceMobileSizes: !0,
|
|
1066
1070
|
truncate: f,
|
|
1067
1071
|
as: "p",
|
|
@@ -1075,10 +1079,10 @@ const M = ()=>{
|
|
|
1075
1079
|
headlineRef: de,
|
|
1076
1080
|
extraRef: se
|
|
1077
1081
|
}),
|
|
1078
|
-
(
|
|
1079
|
-
primaryButton:
|
|
1080
|
-
secondaryButton:
|
|
1081
|
-
link:
|
|
1082
|
+
(b || C || y) && /* @__PURE__ */ e(he, {
|
|
1083
|
+
primaryButton: b,
|
|
1084
|
+
secondaryButton: C,
|
|
1085
|
+
link: y
|
|
1082
1086
|
})
|
|
1083
1087
|
]
|
|
1084
1088
|
})
|
|
@@ -1090,37 +1094,37 @@ const M = ()=>{
|
|
|
1090
1094
|
]
|
|
1091
1095
|
}))
|
|
1092
1096
|
}),
|
|
1093
|
-
/* @__PURE__ */ e(
|
|
1094
|
-
onClose:
|
|
1095
|
-
closeButtonLabel:
|
|
1096
|
-
actions:
|
|
1097
|
-
variant:
|
|
1097
|
+
/* @__PURE__ */ e(Z, {
|
|
1098
|
+
onClose: T,
|
|
1099
|
+
closeButtonLabel: S,
|
|
1100
|
+
actions: N,
|
|
1101
|
+
variant: I || g ? "media" : a ? "inverse" : "default"
|
|
1098
1102
|
})
|
|
1099
1103
|
]
|
|
1100
1104
|
});
|
|
1101
|
-
}),
|
|
1105
|
+
}), Pa = /*#__PURE__*/ B.forwardRef((_param, t)=>{
|
|
1102
1106
|
var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
|
|
1103
1107
|
"dataAttributes"
|
|
1104
1108
|
]);
|
|
1105
|
-
return /* @__PURE__ */ e(
|
|
1106
|
-
ref:
|
|
1109
|
+
return /* @__PURE__ */ e(Ge, _object_spread_props(_object_spread({}, r), {
|
|
1110
|
+
ref: t,
|
|
1107
1111
|
isInverse: !0,
|
|
1108
1112
|
dataAttributes: _object_spread({
|
|
1109
1113
|
"component-name": "DisplayMediaCard"
|
|
1110
1114
|
}, a)
|
|
1111
1115
|
}));
|
|
1112
|
-
}), er = /*#__PURE__*/ B.forwardRef((_param,
|
|
1116
|
+
}), er = /*#__PURE__*/ B.forwardRef((_param, t)=>{
|
|
1113
1117
|
var { dataAttributes: a } = _param, r = _object_without_properties(_param, [
|
|
1114
1118
|
"dataAttributes"
|
|
1115
1119
|
]);
|
|
1116
|
-
return /* @__PURE__ */ e(
|
|
1117
|
-
ref:
|
|
1120
|
+
return /* @__PURE__ */ e(Ge, _object_spread_props(_object_spread({}, r), {
|
|
1121
|
+
ref: t,
|
|
1118
1122
|
dataAttributes: _object_spread({
|
|
1119
1123
|
"component-name": "DisplayDataCard"
|
|
1120
1124
|
}, a)
|
|
1121
1125
|
}));
|
|
1122
|
-
}), ar = /*#__PURE__*/ B.forwardRef((_param,
|
|
1123
|
-
var { dataAttributes: a, backgroundImage: r, backgroundVideo:
|
|
1126
|
+
}), ar = /*#__PURE__*/ B.forwardRef((_param, I)=>{
|
|
1127
|
+
var { dataAttributes: a, backgroundImage: r, backgroundVideo: t, poster: n, backgroundVideoRef: o, width: d, height: l, aspectRatio: i = "7:10", "aria-label": h, actions: c, onClose: p, closeButtonLabel: m, asset: u, headline: f, pretitle: x, pretitleLinesMax: b, title: C, titleAs: T = "h3", titleLinesMax: S, subtitle: N, subtitleLinesMax: y, description: D, descriptionLinesMax: R, extra: z, variant: H, isInverse: E, backgroundColor: w } = _param, k = _object_without_properties(_param, [
|
|
1124
1128
|
"dataAttributes",
|
|
1125
1129
|
"backgroundImage",
|
|
1126
1130
|
"backgroundVideo",
|
|
@@ -1149,73 +1153,73 @@ const M = ()=>{
|
|
|
1149
1153
|
"isInverse",
|
|
1150
1154
|
"backgroundColor"
|
|
1151
1155
|
]);
|
|
1152
|
-
const
|
|
1153
|
-
|
|
1156
|
+
const g = r !== void 0, A = t !== void 0, oe = je(r), { video: P, videoAction: ee } = Ve(t, n, o), { text: de, ref: le } = M(), { text: se, ref: ae } = M();
|
|
1157
|
+
A && (c = ee ? [
|
|
1154
1158
|
ee
|
|
1155
1159
|
] : []);
|
|
1156
|
-
const O = De(), j =
|
|
1160
|
+
const O = De(), j = g || A, q = j ? "0 0 16px rgba(0,0,0,0.4)" : void 0, J = (c == null ? void 0 : c.length) || p, { textPresets: ce } = Q(), K = !!(k.href || k.to || k.onPress), U = H || (E ? "inverse" : "default"), He = ()=>U === "media" || g || A ? O ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundContainer : w || ({
|
|
1157
1161
|
default: v.colors.backgroundContainer,
|
|
1158
1162
|
inverse: O ? v.colors.backgroundContainerBrandOverInverse : v.colors.backgroundBrand,
|
|
1159
1163
|
alternative: v.colors.backgroundAlternative
|
|
1160
|
-
})[
|
|
1161
|
-
|
|
1164
|
+
})[U], Le = g || A ? Me : U === "inverse" ? fe : ne, Xe = h || [
|
|
1165
|
+
C,
|
|
1162
1166
|
de,
|
|
1163
1167
|
x,
|
|
1164
|
-
|
|
1168
|
+
N,
|
|
1165
1169
|
D,
|
|
1166
1170
|
se
|
|
1167
1171
|
].filter(Boolean).join(" ");
|
|
1168
|
-
return /* @__PURE__ */ s(
|
|
1172
|
+
return /* @__PURE__ */ s($, {
|
|
1169
1173
|
width: d,
|
|
1170
1174
|
height: l,
|
|
1171
1175
|
dataAttributes: _object_spread({
|
|
1172
1176
|
"component-name": "PosterCard"
|
|
1173
1177
|
}, a),
|
|
1174
|
-
ref:
|
|
1178
|
+
ref: I,
|
|
1175
1179
|
aspectRatio: i,
|
|
1176
|
-
className:
|
|
1177
|
-
"aria-label":
|
|
1180
|
+
className: W,
|
|
1181
|
+
"aria-label": K ? void 0 : h,
|
|
1178
1182
|
children: [
|
|
1179
1183
|
/* @__PURE__ */ e(xe, {
|
|
1180
1184
|
borderRadius: v.borderRadii.legacyDisplay,
|
|
1181
|
-
className:
|
|
1185
|
+
className: Y,
|
|
1182
1186
|
width: "100%",
|
|
1183
1187
|
minHeight: "100%",
|
|
1184
|
-
isInverse:
|
|
1185
|
-
background:
|
|
1186
|
-
variant:
|
|
1187
|
-
children: /* @__PURE__ */ s(
|
|
1188
|
+
isInverse: g || A || U === "inverse",
|
|
1189
|
+
background: He(),
|
|
1190
|
+
variant: g || A ? "media" : void 0,
|
|
1191
|
+
children: /* @__PURE__ */ s(F, _object_spread_props(_object_spread({
|
|
1188
1192
|
maybe: !0
|
|
1189
|
-
},
|
|
1190
|
-
className:
|
|
1191
|
-
"aria-label":
|
|
1193
|
+
}, k), {
|
|
1194
|
+
className: _,
|
|
1195
|
+
"aria-label": K ? Xe : void 0,
|
|
1192
1196
|
children: [
|
|
1193
|
-
|
|
1194
|
-
className:
|
|
1197
|
+
K && /* @__PURE__ */ e("div", {
|
|
1198
|
+
className: Le
|
|
1195
1199
|
}),
|
|
1196
1200
|
/* @__PURE__ */ s("div", {
|
|
1197
|
-
className:
|
|
1198
|
-
"aria-hidden":
|
|
1201
|
+
className: Se,
|
|
1202
|
+
"aria-hidden": K,
|
|
1199
1203
|
children: [
|
|
1200
|
-
(
|
|
1204
|
+
(g || A) && /* @__PURE__ */ e(pe, {
|
|
1201
1205
|
isInverse: O,
|
|
1202
1206
|
children: /* @__PURE__ */ e("div", {
|
|
1203
|
-
className:
|
|
1204
|
-
children:
|
|
1207
|
+
className: we,
|
|
1208
|
+
children: A ? P : oe
|
|
1205
1209
|
})
|
|
1206
1210
|
}),
|
|
1207
|
-
/* @__PURE__ */ s(
|
|
1208
|
-
className:
|
|
1209
|
-
paddingTop: j && !u && !
|
|
1211
|
+
/* @__PURE__ */ s(G, {
|
|
1212
|
+
className: Ae,
|
|
1213
|
+
paddingTop: j && !u && !J && !A ? 0 : {
|
|
1210
1214
|
mobile: u ? 16 : 24,
|
|
1211
1215
|
desktop: 24
|
|
1212
1216
|
},
|
|
1213
1217
|
children: [
|
|
1214
1218
|
u ? /* @__PURE__ */ e("div", {
|
|
1215
|
-
style:
|
|
1216
|
-
[
|
|
1219
|
+
style: L({
|
|
1220
|
+
[X.mediaBorderRadius]: v.borderRadii.mediaSmall
|
|
1217
1221
|
}),
|
|
1218
|
-
children: /* @__PURE__ */ e(
|
|
1222
|
+
children: /* @__PURE__ */ e(G, {
|
|
1219
1223
|
paddingBottom: j ? 0 : 40,
|
|
1220
1224
|
paddingX: {
|
|
1221
1225
|
mobile: 16,
|
|
@@ -1223,47 +1227,47 @@ const M = ()=>{
|
|
|
1223
1227
|
},
|
|
1224
1228
|
children: u
|
|
1225
1229
|
})
|
|
1226
|
-
}) : /* @__PURE__ */ e(
|
|
1227
|
-
paddingBottom:
|
|
1230
|
+
}) : /* @__PURE__ */ e(G, {
|
|
1231
|
+
paddingBottom: J || A ? j ? 24 : 64 : 0
|
|
1228
1232
|
}),
|
|
1229
|
-
/* @__PURE__ */ e(
|
|
1233
|
+
/* @__PURE__ */ e(G, {
|
|
1230
1234
|
paddingX: {
|
|
1231
1235
|
mobile: 16,
|
|
1232
1236
|
desktop: 24
|
|
1233
1237
|
},
|
|
1234
1238
|
paddingTop: j ? 40 : 0,
|
|
1235
1239
|
paddingBottom: 24,
|
|
1236
|
-
className: j ?
|
|
1237
|
-
children: /* @__PURE__ */ e(
|
|
1238
|
-
title:
|
|
1239
|
-
truncate:
|
|
1240
|
+
className: j ? ke : void 0,
|
|
1241
|
+
children: /* @__PURE__ */ e(Ee, {
|
|
1242
|
+
title: C ? /* @__PURE__ */ e(te, _object_spread_props(_object_spread({}, ie.text4), {
|
|
1243
|
+
truncate: S,
|
|
1240
1244
|
weight: ce.cardTitle.weight,
|
|
1241
|
-
as:
|
|
1242
|
-
children:
|
|
1245
|
+
as: T,
|
|
1246
|
+
children: C
|
|
1243
1247
|
})) : void 0,
|
|
1244
1248
|
headline: f,
|
|
1245
1249
|
pretitle: x ? /* @__PURE__ */ e(V, {
|
|
1246
1250
|
forceMobileSizes: !0,
|
|
1247
|
-
truncate:
|
|
1251
|
+
truncate: b,
|
|
1248
1252
|
as: "div",
|
|
1249
1253
|
regular: !0,
|
|
1250
|
-
textShadow:
|
|
1254
|
+
textShadow: q,
|
|
1251
1255
|
children: x
|
|
1252
1256
|
}) : void 0,
|
|
1253
|
-
subtitle:
|
|
1257
|
+
subtitle: N ? /* @__PURE__ */ e(V, {
|
|
1254
1258
|
forceMobileSizes: !0,
|
|
1255
|
-
truncate:
|
|
1259
|
+
truncate: y,
|
|
1256
1260
|
as: "div",
|
|
1257
1261
|
regular: !0,
|
|
1258
|
-
textShadow:
|
|
1259
|
-
children:
|
|
1262
|
+
textShadow: q,
|
|
1263
|
+
children: N
|
|
1260
1264
|
}) : void 0,
|
|
1261
1265
|
description: D ? /* @__PURE__ */ e(V, {
|
|
1262
1266
|
forceMobileSizes: !0,
|
|
1263
1267
|
truncate: R,
|
|
1264
1268
|
as: "p",
|
|
1265
1269
|
regular: !0,
|
|
1266
|
-
textShadow:
|
|
1270
|
+
textShadow: q,
|
|
1267
1271
|
color: j ? v.colors.textPrimary : v.colors.textSecondary,
|
|
1268
1272
|
children: D
|
|
1269
1273
|
}) : void 0,
|
|
@@ -1279,13 +1283,13 @@ const M = ()=>{
|
|
|
1279
1283
|
]
|
|
1280
1284
|
}))
|
|
1281
1285
|
}),
|
|
1282
|
-
/* @__PURE__ */ e(
|
|
1286
|
+
/* @__PURE__ */ e(Z, {
|
|
1283
1287
|
onClose: p,
|
|
1284
1288
|
closeButtonLabel: m,
|
|
1285
1289
|
actions: c,
|
|
1286
|
-
variant:
|
|
1290
|
+
variant: g || A ? "media" : U === "inverse" ? "inverse" : "default"
|
|
1287
1291
|
})
|
|
1288
1292
|
]
|
|
1289
1293
|
});
|
|
1290
1294
|
});
|
|
1291
|
-
export { ua as CardActionIconButton,
|
|
1295
|
+
export { ua as CardActionIconButton, ya as CardActionSpinner, Z as CardActionsGroup, Ya as DataCard, er as DisplayDataCard, Pa as DisplayMediaCard, Ka as MediaCard, Qa as NakedCard, ar as PosterCard, Ua as SmallNakedCard, Za as SnapCard, Ve as useVideoWithControls };
|