@telefonica/mistica 14.34.0 → 14.35.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/css/mistica.css +1 -1
- package/dist/avatar.css-mistica.js +1 -1
- package/dist/button.css-mistica.js +7 -7
- package/dist/callout.css-mistica.js +1 -1
- package/dist/callout.js +17 -12
- package/dist/card.js +277 -244
- package/dist/carousel.css-mistica.js +5 -5
- package/dist/carousel.js +54 -52
- package/dist/checkbox.js +18 -18
- package/dist/community/advanced-data-card.css-mistica.js +3 -3
- package/dist/community/advanced-data-card.js +57 -50
- package/dist/community/blocks.js +42 -35
- package/dist/counter.css-mistica.js +1 -1
- package/dist/cvv-field.js +1 -1
- package/dist/dialog.css-mistica.js +3 -3
- package/dist/dialog.js +2 -2
- package/dist/hero.js +34 -30
- package/dist/hooks.d.ts +12 -1
- package/dist/hooks.js +85 -48
- package/dist/image.css-mistica.js +7 -2
- package/dist/image.css.d.ts +3 -0
- package/dist/image.d.ts +1 -7
- package/dist/image.js +55 -66
- package/dist/list.css-mistica.js +1 -1
- package/dist/list.js +80 -75
- package/dist/loading-bar.css-mistica.js +6 -6
- package/dist/maybe-dismissable.css-mistica.js +1 -1
- package/dist/menu.js +32 -32
- package/dist/navigation-bar.css-mistica.js +10 -10
- package/dist/overlay.js +10 -10
- package/dist/package-version.js +1 -1
- package/dist/pin-field.css-mistica.js +3 -3
- package/dist/popover.css-mistica.js +4 -4
- package/dist/radio-button.css-mistica.js +5 -5
- package/dist/radio-button.js +7 -7
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +7 -7
- package/dist/select.js +65 -53
- package/dist/sheet.css-mistica.js +8 -8
- package/dist/skeletons.d.ts +9 -1
- package/dist/skeletons.js +3 -0
- package/dist/skins/blau.js +2 -1
- package/dist/skins/defaults.js +2 -1
- package/dist/skins/movistar-legacy.js +2 -1
- package/dist/skins/movistar.js +2 -1
- package/dist/skins/o2.js +2 -1
- package/dist/skins/skin-contract.css-mistica.js +2 -1
- package/dist/skins/skin-contract.css.d.ts +1 -0
- package/dist/skins/telefonica.js +2 -1
- package/dist/skins/types/index.d.ts +1 -0
- package/dist/skins/vivo-new.js +2 -1
- package/dist/skins/vivo.js +2 -1
- package/dist/slider.css-mistica.js +19 -19
- package/dist/slider.css.d.ts +8 -8
- package/dist/slider.d.ts +28 -8
- package/dist/slider.js +226 -106
- package/dist/snackbar.css-mistica.js +5 -5
- package/dist/sprinkles.css-mistica.js +71 -68
- package/dist/stacking-group.js +31 -24
- package/dist/stepper.css-mistica.js +3 -3
- package/dist/switch-component.css-mistica.js +17 -17
- package/dist/switch-component.js +12 -12
- package/dist/tab-focus.js +12 -12
- package/dist/tabs.css-mistica.js +1 -1
- package/dist/text-field-base.css-mistica.js +1 -1
- package/dist/text-field-components.css-mistica.js +7 -7
- package/dist/text-link.css-mistica.js +3 -3
- package/dist/theme-context-provider.js +39 -36
- package/dist/tooltip-context-provider.d.ts +14 -0
- package/dist/tooltip-context-provider.js +90 -0
- package/dist/tooltip.css-mistica.js +25 -54
- package/dist/tooltip.css.d.ts +19 -26
- package/dist/tooltip.d.ts +15 -1
- package/dist/tooltip.js +255 -207
- package/dist/touchable.css-mistica.js +1 -1
- package/dist/touchable.js +8 -8
- package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist/utils/environment.d.ts +1 -0
- package/dist/utils/environment.js +4 -1
- package/dist/utils/keys.d.ts +8 -0
- package/dist/utils/{key-codes.js → keys.js} +6 -6
- package/dist/video.css-mistica.js +1 -1
- package/dist/video.js +33 -31
- package/dist-es/avatar.css-mistica.js +1 -1
- package/dist-es/button.css-mistica.js +7 -7
- package/dist-es/callout.css-mistica.js +1 -1
- package/dist-es/callout.js +33 -28
- package/dist-es/card.js +416 -383
- package/dist-es/carousel.css-mistica.js +2 -2
- package/dist-es/carousel.js +84 -82
- package/dist-es/checkbox.js +18 -18
- package/dist-es/community/advanced-data-card.css-mistica.js +2 -2
- package/dist-es/community/advanced-data-card.js +83 -76
- package/dist-es/community/blocks.js +77 -70
- package/dist-es/counter.css-mistica.js +1 -1
- package/dist-es/cvv-field.js +1 -1
- package/dist-es/dialog.css-mistica.js +3 -3
- package/dist-es/dialog.js +2 -2
- package/dist-es/hero.js +69 -65
- package/dist-es/hooks.js +83 -49
- package/dist-es/image.css-mistica.js +4 -2
- package/dist-es/image.js +74 -79
- package/dist-es/list.css-mistica.js +1 -1
- package/dist-es/list.js +116 -111
- package/dist-es/loading-bar.css-mistica.js +2 -2
- package/dist-es/maybe-dismissable.css-mistica.js +1 -1
- package/dist-es/menu.js +41 -41
- package/dist-es/navigation-bar.css-mistica.js +6 -6
- package/dist-es/overlay.js +14 -14
- package/dist-es/package-version.js +1 -1
- package/dist-es/pin-field.css-mistica.js +2 -2
- package/dist-es/popover.css-mistica.js +2 -2
- package/dist-es/radio-button.css-mistica.js +4 -4
- package/dist-es/radio-button.js +2 -2
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +7 -7
- package/dist-es/select.js +89 -77
- package/dist-es/sheet.css-mistica.js +2 -2
- package/dist-es/skeletons.js +1 -1
- package/dist-es/skins/blau.js +2 -1
- package/dist-es/skins/defaults.js +2 -1
- package/dist-es/skins/movistar-legacy.js +2 -1
- package/dist-es/skins/movistar.js +2 -1
- package/dist-es/skins/o2.js +2 -1
- package/dist-es/skins/skin-contract.css-mistica.js +2 -1
- package/dist-es/skins/telefonica.js +2 -1
- package/dist-es/skins/vivo-new.js +2 -1
- package/dist-es/skins/vivo.js +2 -1
- package/dist-es/slider.css-mistica.js +2 -8
- package/dist-es/slider.js +231 -111
- package/dist-es/snackbar.css-mistica.js +4 -4
- package/dist-es/sprinkles.css-mistica.js +71 -68
- package/dist-es/stacking-group.js +37 -30
- package/dist-es/stepper.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +13 -13
- package/dist-es/switch-component.js +14 -14
- package/dist-es/tab-focus.js +14 -14
- package/dist-es/tabs.css-mistica.js +1 -1
- package/dist-es/text-field-base.css-mistica.js +1 -1
- package/dist-es/text-field-components.css-mistica.js +2 -2
- package/dist-es/text-link.css-mistica.js +3 -3
- package/dist-es/theme-context-provider.js +53 -50
- package/dist-es/tooltip-context-provider.js +29 -0
- package/dist-es/tooltip.css-mistica.js +16 -9
- package/dist-es/tooltip.js +264 -216
- package/dist-es/touchable.css-mistica.js +1 -1
- package/dist-es/touchable.js +8 -8
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist-es/utils/environment.js +2 -2
- package/dist-es/utils/keys.js +2 -0
- package/dist-es/video.css-mistica.js +1 -1
- package/dist-es/video.js +41 -39
- package/package.json +1 -1
- package/dist/utils/key-codes.d.ts +0 -8
- package/dist-es/utils/key-codes.js +0 -2
package/dist-es/card.js
CHANGED
|
@@ -78,64 +78,65 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
78
78
|
}
|
|
79
79
|
return target;
|
|
80
80
|
}
|
|
81
|
-
import { jsx as e, jsxs as
|
|
82
|
-
import * as
|
|
83
|
-
import
|
|
84
|
-
import
|
|
85
|
-
import
|
|
86
|
-
import { Text2 as
|
|
87
|
-
import { Boxed as
|
|
88
|
-
import
|
|
89
|
-
import
|
|
90
|
-
import { BaseTouchable as
|
|
91
|
-
import { vars as
|
|
92
|
-
import { cardActionIconButton as
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import
|
|
96
|
-
import We from "./
|
|
97
|
-
import Le from "./generated/mistica-icons/icon-
|
|
98
|
-
import Ue from "./generated/mistica-icons/icon-
|
|
99
|
-
import
|
|
81
|
+
import { jsx as e, jsxs as i, Fragment as ke } from "react/jsx-runtime";
|
|
82
|
+
import * as g from "react";
|
|
83
|
+
import Me from "./tag.js";
|
|
84
|
+
import C from "./stack.js";
|
|
85
|
+
import k from "./box.js";
|
|
86
|
+
import { Text2 as A, Text6 as ze, Text3 as De, Text as se } from "./text.js";
|
|
87
|
+
import { Boxed as re, InternalBoxed as le } from "./boxed.js";
|
|
88
|
+
import ae from "./button-group.js";
|
|
89
|
+
import ie from "./image.js";
|
|
90
|
+
import { BaseTouchable as G } from "./touchable.js";
|
|
91
|
+
import { vars as u } from "./skins/skin-contract.css-mistica.js";
|
|
92
|
+
import { cardActionIconButton as Oe, cardContainer as He, touchableContainer as X, boxed as Z, touchable as j, touchableMediaCardOverlay as Ve, mediaCard as ne, mediaCardContent as Ee, mediaCardIcon as ce, touchableNakedMediaOverlay as me, circularMediaOverlay as he, nakedCardContent as ue, touchableCardOverlay as K, dataCard as Ge, actions as pe, snapCard as Xe, displayCardContainer as ve, displayCardBackground as fe, displayCardContent as ye, displayCardGradient as ge, cardAction as je, cardActionInverse as Fe, cardActionMedia as Pe, vars as _e, touchableCardOverlayInverse as te, touchableCardOverlayMedia as be } from "./card.css-mistica.js";
|
|
93
|
+
import { vars as E } from "./image.css-mistica.js";
|
|
94
|
+
import { useTheme as Q } from "./hooks.js";
|
|
95
|
+
import { sprinkles as Ce } from "./sprinkles.css-mistica.js";
|
|
96
|
+
import We from "./icon-button.js";
|
|
97
|
+
import Le from "./generated/mistica-icons/icon-close-regular.js";
|
|
98
|
+
import Ue from "./generated/mistica-icons/icon-pause-filled.js";
|
|
99
|
+
import Ze from "./generated/mistica-icons/icon-play-filled.js";
|
|
100
|
+
import { combineRefs as $e } from "./utils/common.js";
|
|
100
101
|
import qe from "./spinner.js";
|
|
101
102
|
import Je from "./video.js";
|
|
102
|
-
import { useIsInverseVariant as
|
|
103
|
-
import
|
|
103
|
+
import { useIsInverseVariant as Ne, ThemeVariant as Te } from "./theme-variant-context.js";
|
|
104
|
+
import de from "classnames";
|
|
104
105
|
import Ke from "./inline.js";
|
|
105
106
|
import { getPrefixedDataAttributes as Qe } from "./utils/dom.js";
|
|
106
107
|
import { isRunningAcceptanceTest as Ye } from "./utils/platform.js";
|
|
107
|
-
import { applyCssVars as
|
|
108
|
-
const
|
|
109
|
-
const { texts:
|
|
108
|
+
import { applyCssVars as H } from "./utils/css.js";
|
|
109
|
+
const Be = (r, a)=>{
|
|
110
|
+
const { texts: n } = Q(), t = r ? [
|
|
110
111
|
...r
|
|
111
112
|
] : [];
|
|
112
113
|
return a && t.push({
|
|
113
|
-
label:
|
|
114
|
+
label: n.closeButtonLabel,
|
|
114
115
|
onPress: a,
|
|
115
|
-
Icon:
|
|
116
|
+
Icon: Le
|
|
116
117
|
}), t;
|
|
117
|
-
},
|
|
118
|
-
var { Icon: r, label: a } = _param,
|
|
118
|
+
}, xe = /*#__PURE__*/ g.createContext("default"), Se = 48, er = (_param)=>{
|
|
119
|
+
var { Icon: r, label: a } = _param, n = _object_without_properties(_param, [
|
|
119
120
|
"Icon",
|
|
120
121
|
"label"
|
|
121
122
|
]);
|
|
122
|
-
const t =
|
|
123
|
-
default:
|
|
124
|
-
inverse:
|
|
123
|
+
const t = g.useContext(xe), c = {
|
|
124
|
+
default: u.colors.neutralHigh,
|
|
125
|
+
inverse: u.colors.inverse,
|
|
125
126
|
media: "#000000"
|
|
126
127
|
};
|
|
127
|
-
return /* @__PURE__ */ e(
|
|
128
|
+
return /* @__PURE__ */ e(We, _object_spread_props(_object_spread({}, n), {
|
|
128
129
|
"aria-label": a,
|
|
129
|
-
size:
|
|
130
|
-
className:
|
|
130
|
+
size: Se,
|
|
131
|
+
className: Oe,
|
|
131
132
|
style: {
|
|
132
133
|
display: "flex"
|
|
133
134
|
},
|
|
134
135
|
children: /* @__PURE__ */ e("div", {
|
|
135
136
|
className: {
|
|
136
|
-
default:
|
|
137
|
-
inverse:
|
|
138
|
-
media:
|
|
137
|
+
default: je,
|
|
138
|
+
inverse: Fe,
|
|
139
|
+
media: Pe
|
|
139
140
|
}[t],
|
|
140
141
|
children: /* @__PURE__ */ e(r, {
|
|
141
142
|
color: c[t],
|
|
@@ -143,10 +144,10 @@ const be = (r, a)=>{
|
|
|
143
144
|
})
|
|
144
145
|
})
|
|
145
146
|
}));
|
|
146
|
-
},
|
|
147
|
-
let { actions: r, padding: a = 8, onClose:
|
|
148
|
-
const c =
|
|
149
|
-
return c.length > 0 ? /* @__PURE__ */ e(
|
|
147
|
+
}, $ = (param)=>{
|
|
148
|
+
let { actions: r, padding: a = 8, onClose: n, type: t = "default" } = param;
|
|
149
|
+
const c = Be(r, n);
|
|
150
|
+
return c.length > 0 ? /* @__PURE__ */ e(xe.Provider, {
|
|
150
151
|
value: t,
|
|
151
152
|
children: /* @__PURE__ */ e("div", {
|
|
152
153
|
style: {
|
|
@@ -156,35 +157,35 @@ const be = (r, a)=>{
|
|
|
156
157
|
zIndex: 3
|
|
157
158
|
},
|
|
158
159
|
children: /* @__PURE__ */ e("div", {
|
|
159
|
-
className:
|
|
160
|
+
className: Ce({
|
|
160
161
|
display: "flex"
|
|
161
162
|
}),
|
|
162
|
-
children: c.map((
|
|
163
|
+
children: c.map((s, l)=>"label" in s ? /* @__PURE__ */ e(er, _object_spread({}, s), l) : s)
|
|
163
164
|
})
|
|
164
165
|
})
|
|
165
|
-
}) : /* @__PURE__ */ e(
|
|
166
|
+
}) : /* @__PURE__ */ e(ke, {});
|
|
166
167
|
}, rr = (r)=>r ? typeof r == "number" ? r : ({
|
|
167
168
|
"1:1": 1,
|
|
168
169
|
"16:9": 16 / 9,
|
|
169
170
|
"7:10": 7 / 10,
|
|
170
171
|
"9:10": 9 / 10,
|
|
171
172
|
auto: 0
|
|
172
|
-
})[r] : 0,
|
|
173
|
-
let { children: r, width: a = "100%", height:
|
|
174
|
-
const
|
|
173
|
+
})[r] : 0, F = /*#__PURE__*/ g.forwardRef((param, l)=>{
|
|
174
|
+
let { children: r, width: a = "100%", height: n = "100%", aspectRatio: t, dataAttributes: c, className: d, "aria-label": s } = param;
|
|
175
|
+
const p = rr(t);
|
|
175
176
|
return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Qe(c)), {
|
|
176
177
|
ref: l,
|
|
177
|
-
"aria-label":
|
|
178
|
-
className:
|
|
178
|
+
"aria-label": s,
|
|
179
|
+
className: de(d, He),
|
|
179
180
|
style: _object_spread({
|
|
180
181
|
width: a,
|
|
181
|
-
height:
|
|
182
|
-
},
|
|
183
|
-
[
|
|
182
|
+
height: n
|
|
183
|
+
}, p ? H({
|
|
184
|
+
[_e.aspectRatio]: String(p)
|
|
184
185
|
}) : {}),
|
|
185
186
|
children: r
|
|
186
187
|
}));
|
|
187
|
-
}), Ae = (r)=>/* @__PURE__ */ e(
|
|
188
|
+
}), Ae = (r)=>/* @__PURE__ */ e(ie, {
|
|
188
189
|
width: "100%",
|
|
189
190
|
height: "100%",
|
|
190
191
|
src: r || ""
|
|
@@ -214,111 +215,111 @@ const be = (r, a)=>{
|
|
|
214
215
|
error: {
|
|
215
216
|
reset: "loading"
|
|
216
217
|
}
|
|
217
|
-
},
|
|
218
|
+
}, ir = (r, a)=>ar[r][a] || r, nr = (param)=>/* @__PURE__ */ {
|
|
218
219
|
let { color: r } = param;
|
|
219
220
|
return e(qe, {
|
|
220
221
|
color: r,
|
|
221
222
|
size: 16,
|
|
222
223
|
delay: "0"
|
|
223
224
|
});
|
|
224
|
-
},
|
|
225
|
+
}, ee = (param)=>/* @__PURE__ */ {
|
|
225
226
|
let { color: r } = param;
|
|
226
|
-
return e(
|
|
227
|
+
return e(Ue, {
|
|
227
228
|
color: r,
|
|
228
229
|
size: 12
|
|
229
230
|
});
|
|
230
231
|
}, tr = (param)=>/* @__PURE__ */ {
|
|
231
232
|
let { color: r } = param;
|
|
232
|
-
return e(
|
|
233
|
+
return e(Ze, {
|
|
233
234
|
color: r,
|
|
234
235
|
size: 12
|
|
235
236
|
});
|
|
236
|
-
}, Ie = (r, a,
|
|
237
|
-
const { texts: t } =
|
|
238
|
-
|
|
237
|
+
}, Ie = (r, a, n)=>{
|
|
238
|
+
const { texts: t } = Q(), c = g.useRef(null), [d, s] = g.useReducer(ir, "loading");
|
|
239
|
+
g.useEffect(()=>{
|
|
239
240
|
var h;
|
|
240
|
-
const
|
|
241
|
+
const o = setTimeout(()=>s("showSpinner"), 2e3);
|
|
241
242
|
return (h = c.current) == null || h.load(), ()=>{
|
|
242
|
-
clearTimeout(
|
|
243
|
+
clearTimeout(o), s("reset");
|
|
243
244
|
};
|
|
244
245
|
}, [
|
|
245
246
|
r
|
|
246
247
|
]);
|
|
247
|
-
const l =
|
|
248
|
-
ref:
|
|
248
|
+
const l = g.useMemo(()=>r !== void 0 ? /* @__PURE__ */ e(Je, {
|
|
249
|
+
ref: $e(c, n),
|
|
249
250
|
src: r,
|
|
250
251
|
width: "100%",
|
|
251
252
|
height: "100%",
|
|
252
253
|
poster: a,
|
|
253
|
-
onError: ()=>
|
|
254
|
-
onPause: ()=>
|
|
255
|
-
onPlay: ()=>
|
|
254
|
+
onError: ()=>s("fail"),
|
|
255
|
+
onPause: ()=>s("pause"),
|
|
256
|
+
onPlay: ()=>s("play")
|
|
256
257
|
}) : void 0, [
|
|
257
|
-
|
|
258
|
+
n,
|
|
258
259
|
r,
|
|
259
260
|
a
|
|
260
|
-
]),
|
|
261
|
-
const
|
|
262
|
-
|
|
261
|
+
]), p = ()=>{
|
|
262
|
+
const o = c.current;
|
|
263
|
+
o && (d === "loading" ? s("showSpinner") : d === "paused" ? o.play() : d === "playing" && o.pause());
|
|
263
264
|
};
|
|
264
|
-
if (
|
|
265
|
+
if (d === "error") return {
|
|
265
266
|
video: l
|
|
266
267
|
};
|
|
267
268
|
const m = {
|
|
268
269
|
Icon: {
|
|
269
|
-
playing:
|
|
270
|
-
loading:
|
|
270
|
+
playing: ee,
|
|
271
|
+
loading: ee,
|
|
271
272
|
paused: tr,
|
|
272
|
-
loadingTimeout: Ye() ?
|
|
273
|
-
}[
|
|
274
|
-
onPress:
|
|
273
|
+
loadingTimeout: Ye() ? ee : nr
|
|
274
|
+
}[d],
|
|
275
|
+
onPress: p,
|
|
275
276
|
label: {
|
|
276
277
|
playing: t.pauseIconButtonLabel,
|
|
277
278
|
loading: t.pauseIconButtonLabel,
|
|
278
279
|
paused: t.playIconButtonLabel,
|
|
279
280
|
loadingTimeout: ""
|
|
280
|
-
}[
|
|
281
|
-
disabled:
|
|
281
|
+
}[d],
|
|
282
|
+
disabled: d === "loadingTimeout"
|
|
282
283
|
};
|
|
283
284
|
return {
|
|
284
285
|
video: l,
|
|
285
286
|
videoAction: m
|
|
286
287
|
};
|
|
287
|
-
},
|
|
288
|
-
let { headline: r, pretitle: a, pretitleLinesMax:
|
|
289
|
-
const { textPresets: f } =
|
|
288
|
+
}, oe = (param)=>{
|
|
289
|
+
let { headline: r, pretitle: a, pretitleLinesMax: n, title: t, titleLinesMax: c, subtitle: d, subtitleLinesMax: s, description: l, descriptionLinesMax: p, extra: m, button: o, buttonLink: h } = param;
|
|
290
|
+
const { textPresets: f } = Q(), y = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(Me, {
|
|
290
291
|
type: "promo",
|
|
291
292
|
children: r
|
|
292
293
|
}) : r : null;
|
|
293
|
-
return /* @__PURE__ */
|
|
294
|
-
className:
|
|
294
|
+
return /* @__PURE__ */ i("div", {
|
|
295
|
+
className: Ce({
|
|
295
296
|
display: "flex",
|
|
296
297
|
flex: 1,
|
|
297
298
|
justifyContent: "space-between",
|
|
298
299
|
flexDirection: "column"
|
|
299
300
|
}),
|
|
300
301
|
children: [
|
|
301
|
-
/* @__PURE__ */
|
|
302
|
+
/* @__PURE__ */ i("div", {
|
|
302
303
|
children: [
|
|
303
|
-
/* @__PURE__ */
|
|
304
|
+
/* @__PURE__ */ i(C, {
|
|
304
305
|
space: 8,
|
|
305
306
|
children: [
|
|
306
|
-
(r || a || t ||
|
|
307
|
-
children: /* @__PURE__ */
|
|
307
|
+
(r || a || t || d) && /* @__PURE__ */ e("header", {
|
|
308
|
+
children: /* @__PURE__ */ i(C, {
|
|
308
309
|
space: 8,
|
|
309
310
|
children: [
|
|
310
|
-
|
|
311
|
-
/* @__PURE__ */
|
|
311
|
+
y(),
|
|
312
|
+
/* @__PURE__ */ i(C, {
|
|
312
313
|
space: 4,
|
|
313
314
|
children: [
|
|
314
|
-
a && /* @__PURE__ */ e(
|
|
315
|
-
truncate:
|
|
315
|
+
a && /* @__PURE__ */ e(A, {
|
|
316
|
+
truncate: n,
|
|
316
317
|
as: "div",
|
|
317
318
|
regular: !0,
|
|
318
319
|
hyphens: "auto",
|
|
319
320
|
children: a
|
|
320
321
|
}),
|
|
321
|
-
/* @__PURE__ */ e(
|
|
322
|
+
/* @__PURE__ */ e(se, {
|
|
322
323
|
mobileSize: 18,
|
|
323
324
|
mobileLineHeight: "24px",
|
|
324
325
|
desktopSize: 20,
|
|
@@ -329,23 +330,23 @@ const be = (r, a)=>{
|
|
|
329
330
|
hyphens: "auto",
|
|
330
331
|
children: t
|
|
331
332
|
}),
|
|
332
|
-
/* @__PURE__ */ e(
|
|
333
|
-
truncate:
|
|
333
|
+
/* @__PURE__ */ e(A, {
|
|
334
|
+
truncate: s,
|
|
334
335
|
as: "div",
|
|
335
336
|
regular: !0,
|
|
336
337
|
hyphens: "auto",
|
|
337
|
-
children:
|
|
338
|
+
children: d
|
|
338
339
|
})
|
|
339
340
|
]
|
|
340
341
|
})
|
|
341
342
|
]
|
|
342
343
|
})
|
|
343
344
|
}),
|
|
344
|
-
l && /* @__PURE__ */ e(
|
|
345
|
-
truncate:
|
|
345
|
+
l && /* @__PURE__ */ e(A, {
|
|
346
|
+
truncate: p,
|
|
346
347
|
as: "p",
|
|
347
348
|
regular: !0,
|
|
348
|
-
color:
|
|
349
|
+
color: u.colors.textSecondary,
|
|
349
350
|
hyphens: "auto",
|
|
350
351
|
children: l
|
|
351
352
|
})
|
|
@@ -356,17 +357,17 @@ const be = (r, a)=>{
|
|
|
356
357
|
})
|
|
357
358
|
]
|
|
358
359
|
}),
|
|
359
|
-
(
|
|
360
|
-
className:
|
|
361
|
-
children: /* @__PURE__ */ e(
|
|
362
|
-
primaryButton:
|
|
360
|
+
(o || h) && /* @__PURE__ */ e("div", {
|
|
361
|
+
className: pe,
|
|
362
|
+
children: /* @__PURE__ */ e(ae, {
|
|
363
|
+
primaryButton: o,
|
|
363
364
|
link: h
|
|
364
365
|
})
|
|
365
366
|
})
|
|
366
367
|
]
|
|
367
368
|
});
|
|
368
|
-
},
|
|
369
|
-
var { media: r, icon: a, headline:
|
|
369
|
+
}, Dr = /*#__PURE__*/ g.forwardRef((_param, M)=>{
|
|
370
|
+
var { media: r, icon: a, headline: n, pretitle: t, pretitleLinesMax: c, subtitle: d, subtitleLinesMax: s, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: y, buttonLink: I, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
|
|
370
371
|
"media",
|
|
371
372
|
"icon",
|
|
372
373
|
"headline",
|
|
@@ -386,54 +387,56 @@ const be = (r, a)=>{
|
|
|
386
387
|
"aria-label",
|
|
387
388
|
"onClose"
|
|
388
389
|
]);
|
|
389
|
-
const
|
|
390
|
-
return /* @__PURE__ */
|
|
390
|
+
const R = v.href || v.to || v.onPress;
|
|
391
|
+
return /* @__PURE__ */ i(F, {
|
|
391
392
|
dataAttributes: _object_spread({
|
|
392
393
|
"component-name": "MediaCard"
|
|
393
394
|
}, T),
|
|
394
395
|
ref: M,
|
|
395
|
-
"aria-label":
|
|
396
|
-
className:
|
|
396
|
+
"aria-label": N,
|
|
397
|
+
className: X,
|
|
397
398
|
children: [
|
|
398
|
-
/* @__PURE__ */ e(
|
|
399
|
-
className:
|
|
399
|
+
/* @__PURE__ */ e(re, {
|
|
400
|
+
className: Z,
|
|
400
401
|
width: "100%",
|
|
401
402
|
height: "100%",
|
|
402
|
-
children: /* @__PURE__ */
|
|
403
|
+
children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
|
|
403
404
|
maybe: !0
|
|
404
|
-
},
|
|
405
|
-
className:
|
|
406
|
-
"aria-label":
|
|
405
|
+
}, v), {
|
|
406
|
+
className: j,
|
|
407
|
+
"aria-label": N,
|
|
407
408
|
children: [
|
|
408
|
-
|
|
409
|
-
className:
|
|
409
|
+
R && /* @__PURE__ */ e("div", {
|
|
410
|
+
className: Ve
|
|
410
411
|
}),
|
|
411
|
-
/* @__PURE__ */
|
|
412
|
-
className:
|
|
412
|
+
/* @__PURE__ */ i("div", {
|
|
413
|
+
className: ne,
|
|
413
414
|
children: [
|
|
414
|
-
/* @__PURE__ */ e(
|
|
415
|
-
|
|
415
|
+
/* @__PURE__ */ e("div", {
|
|
416
|
+
style: H({
|
|
417
|
+
[E.mediaBorderRadius]: "0px"
|
|
418
|
+
}),
|
|
416
419
|
children: r
|
|
417
420
|
}),
|
|
418
421
|
/* @__PURE__ */ e("div", {
|
|
419
|
-
className:
|
|
420
|
-
children: /* @__PURE__ */ e(
|
|
421
|
-
headline:
|
|
422
|
+
className: Ee,
|
|
423
|
+
children: /* @__PURE__ */ e(oe, {
|
|
424
|
+
headline: n,
|
|
422
425
|
pretitle: t,
|
|
423
426
|
pretitleLinesMax: c,
|
|
424
427
|
title: l,
|
|
425
|
-
titleLinesMax:
|
|
426
|
-
subtitle:
|
|
427
|
-
subtitleLinesMax:
|
|
428
|
+
titleLinesMax: p,
|
|
429
|
+
subtitle: d,
|
|
430
|
+
subtitleLinesMax: s,
|
|
428
431
|
description: m,
|
|
429
|
-
descriptionLinesMax:
|
|
432
|
+
descriptionLinesMax: o,
|
|
430
433
|
extra: h,
|
|
431
|
-
button:
|
|
432
|
-
buttonLink:
|
|
434
|
+
button: y,
|
|
435
|
+
buttonLink: I
|
|
433
436
|
})
|
|
434
437
|
}),
|
|
435
|
-
a && /* @__PURE__ */ e(
|
|
436
|
-
className:
|
|
438
|
+
a && /* @__PURE__ */ e(k, {
|
|
439
|
+
className: ce,
|
|
437
440
|
paddingLeft: {
|
|
438
441
|
mobile: 16,
|
|
439
442
|
desktop: 24
|
|
@@ -442,22 +445,27 @@ const be = (r, a)=>{
|
|
|
442
445
|
mobile: 16,
|
|
443
446
|
desktop: 24
|
|
444
447
|
},
|
|
445
|
-
children:
|
|
448
|
+
children: /* @__PURE__ */ e("div", {
|
|
449
|
+
style: H({
|
|
450
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
451
|
+
}),
|
|
452
|
+
children: a
|
|
453
|
+
})
|
|
446
454
|
})
|
|
447
455
|
]
|
|
448
456
|
})
|
|
449
457
|
]
|
|
450
458
|
}))
|
|
451
459
|
}),
|
|
452
|
-
/* @__PURE__ */ e(
|
|
453
|
-
onClose:
|
|
460
|
+
/* @__PURE__ */ e($, {
|
|
461
|
+
onClose: b,
|
|
454
462
|
actions: f,
|
|
455
463
|
type: "media"
|
|
456
464
|
})
|
|
457
465
|
]
|
|
458
466
|
});
|
|
459
|
-
}),
|
|
460
|
-
var { media: r, icon: a, headline:
|
|
467
|
+
}), Or = /*#__PURE__*/ g.forwardRef((_param, M)=>{
|
|
468
|
+
var { media: r, icon: a, headline: n, pretitle: t, pretitleLinesMax: c, subtitle: d, subtitleLinesMax: s, title: l, titleLinesMax: p, description: m, descriptionLinesMax: o, extra: h, actions: f, button: y, buttonLink: I, dataAttributes: T, "aria-label": N, onClose: b } = _param, v = _object_without_properties(_param, [
|
|
461
469
|
"media",
|
|
462
470
|
"icon",
|
|
463
471
|
"headline",
|
|
@@ -477,55 +485,55 @@ const be = (r, a)=>{
|
|
|
477
485
|
"aria-label",
|
|
478
486
|
"onClose"
|
|
479
487
|
]);
|
|
480
|
-
const
|
|
481
|
-
return /* @__PURE__ */
|
|
488
|
+
const R = v.href || v.to || v.onPress, D = r && r.type === ie && r.props.circular;
|
|
489
|
+
return /* @__PURE__ */ i(F, {
|
|
482
490
|
ref: M,
|
|
483
491
|
dataAttributes: _object_spread({
|
|
484
492
|
"component-name": "NakedCard"
|
|
485
493
|
}, T),
|
|
486
|
-
"aria-label":
|
|
487
|
-
className:
|
|
494
|
+
"aria-label": N,
|
|
495
|
+
className: R ? X : void 0,
|
|
488
496
|
children: [
|
|
489
|
-
/* @__PURE__ */ e(
|
|
497
|
+
/* @__PURE__ */ e(G, _object_spread_props(_object_spread({
|
|
490
498
|
maybe: !0
|
|
491
|
-
},
|
|
492
|
-
className:
|
|
493
|
-
"aria-label":
|
|
494
|
-
children: /* @__PURE__ */
|
|
495
|
-
className:
|
|
499
|
+
}, v), {
|
|
500
|
+
className: j,
|
|
501
|
+
"aria-label": N,
|
|
502
|
+
children: /* @__PURE__ */ i("div", {
|
|
503
|
+
className: ne,
|
|
496
504
|
children: [
|
|
497
|
-
/* @__PURE__ */
|
|
505
|
+
/* @__PURE__ */ i("div", {
|
|
498
506
|
style: {
|
|
499
507
|
position: "relative"
|
|
500
508
|
},
|
|
501
509
|
children: [
|
|
502
|
-
|
|
503
|
-
className:
|
|
504
|
-
[
|
|
510
|
+
R && /* @__PURE__ */ e("div", {
|
|
511
|
+
className: de(me, {
|
|
512
|
+
[he]: D
|
|
505
513
|
})
|
|
506
514
|
}),
|
|
507
515
|
r
|
|
508
516
|
]
|
|
509
517
|
}),
|
|
510
518
|
/* @__PURE__ */ e("div", {
|
|
511
|
-
className:
|
|
512
|
-
children: /* @__PURE__ */ e(
|
|
513
|
-
headline:
|
|
519
|
+
className: ue,
|
|
520
|
+
children: /* @__PURE__ */ e(oe, {
|
|
521
|
+
headline: n,
|
|
514
522
|
pretitle: t,
|
|
515
523
|
pretitleLinesMax: c,
|
|
516
524
|
title: l,
|
|
517
|
-
titleLinesMax:
|
|
518
|
-
subtitle:
|
|
519
|
-
subtitleLinesMax:
|
|
525
|
+
titleLinesMax: p,
|
|
526
|
+
subtitle: d,
|
|
527
|
+
subtitleLinesMax: s,
|
|
520
528
|
description: m,
|
|
521
|
-
descriptionLinesMax:
|
|
529
|
+
descriptionLinesMax: o,
|
|
522
530
|
extra: h,
|
|
523
|
-
button:
|
|
524
|
-
buttonLink:
|
|
531
|
+
button: y,
|
|
532
|
+
buttonLink: I
|
|
525
533
|
})
|
|
526
534
|
}),
|
|
527
|
-
a && /* @__PURE__ */ e(
|
|
528
|
-
className:
|
|
535
|
+
a && /* @__PURE__ */ e(k, {
|
|
536
|
+
className: ce,
|
|
529
537
|
paddingLeft: {
|
|
530
538
|
mobile: 16,
|
|
531
539
|
desktop: 24
|
|
@@ -534,20 +542,25 @@ const be = (r, a)=>{
|
|
|
534
542
|
mobile: 16,
|
|
535
543
|
desktop: 24
|
|
536
544
|
},
|
|
537
|
-
children:
|
|
545
|
+
children: /* @__PURE__ */ e("div", {
|
|
546
|
+
style: H({
|
|
547
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
548
|
+
}),
|
|
549
|
+
children: a
|
|
550
|
+
})
|
|
538
551
|
})
|
|
539
552
|
]
|
|
540
553
|
})
|
|
541
554
|
})),
|
|
542
|
-
/* @__PURE__ */ e(
|
|
543
|
-
onClose:
|
|
555
|
+
/* @__PURE__ */ e($, {
|
|
556
|
+
onClose: b,
|
|
544
557
|
actions: f,
|
|
545
558
|
type: "media"
|
|
546
559
|
})
|
|
547
560
|
]
|
|
548
561
|
});
|
|
549
|
-
}),
|
|
550
|
-
var { media: r, title: a, titleLinesMax:
|
|
562
|
+
}), Hr = /*#__PURE__*/ g.forwardRef((_param, h)=>{
|
|
563
|
+
var { media: r, title: a, titleLinesMax: n, subtitle: t, subtitleLinesMax: c, description: d, descriptionLinesMax: s, extra: l, dataAttributes: p, "aria-label": m } = _param, o = _object_without_properties(_param, [
|
|
551
564
|
"media",
|
|
552
565
|
"title",
|
|
553
566
|
"titleLinesMax",
|
|
@@ -559,51 +572,51 @@ const be = (r, a)=>{
|
|
|
559
572
|
"dataAttributes",
|
|
560
573
|
"aria-label"
|
|
561
574
|
]);
|
|
562
|
-
const f =
|
|
563
|
-
return /* @__PURE__ */ e(
|
|
575
|
+
const f = o.href || o.to || o.onPress, y = r && r.type === ie && r.props.circular;
|
|
576
|
+
return /* @__PURE__ */ e(F, {
|
|
564
577
|
ref: h,
|
|
565
578
|
dataAttributes: _object_spread({
|
|
566
579
|
"component-name": "SmallNakedCard"
|
|
567
|
-
},
|
|
580
|
+
}, p),
|
|
568
581
|
"aria-label": m,
|
|
569
|
-
className: f ?
|
|
570
|
-
children: /* @__PURE__ */ e(
|
|
582
|
+
className: f ? X : void 0,
|
|
583
|
+
children: /* @__PURE__ */ e(G, _object_spread_props(_object_spread({
|
|
571
584
|
maybe: !0
|
|
572
|
-
},
|
|
573
|
-
className:
|
|
585
|
+
}, o), {
|
|
586
|
+
className: j,
|
|
574
587
|
"aria-label": m,
|
|
575
|
-
children: /* @__PURE__ */
|
|
576
|
-
className:
|
|
588
|
+
children: /* @__PURE__ */ i("div", {
|
|
589
|
+
className: ne,
|
|
577
590
|
children: [
|
|
578
|
-
/* @__PURE__ */
|
|
591
|
+
/* @__PURE__ */ i("div", {
|
|
579
592
|
style: {
|
|
580
593
|
position: "relative"
|
|
581
594
|
},
|
|
582
595
|
children: [
|
|
583
596
|
f && /* @__PURE__ */ e("div", {
|
|
584
|
-
className:
|
|
585
|
-
[
|
|
597
|
+
className: de(me, {
|
|
598
|
+
[he]: y
|
|
586
599
|
})
|
|
587
600
|
}),
|
|
588
601
|
r
|
|
589
602
|
]
|
|
590
603
|
}),
|
|
591
|
-
/* @__PURE__ */
|
|
592
|
-
className:
|
|
604
|
+
/* @__PURE__ */ i("div", {
|
|
605
|
+
className: ue,
|
|
593
606
|
children: [
|
|
594
|
-
/* @__PURE__ */
|
|
607
|
+
/* @__PURE__ */ i("div", {
|
|
595
608
|
children: [
|
|
596
|
-
/* @__PURE__ */
|
|
609
|
+
/* @__PURE__ */ i(C, {
|
|
597
610
|
space: 8,
|
|
598
611
|
children: [
|
|
599
|
-
a && /* @__PURE__ */ e(
|
|
600
|
-
truncate:
|
|
612
|
+
a && /* @__PURE__ */ e(A, {
|
|
613
|
+
truncate: n,
|
|
601
614
|
as: "h3",
|
|
602
615
|
regular: !0,
|
|
603
616
|
hyphens: "auto",
|
|
604
617
|
children: a
|
|
605
618
|
}),
|
|
606
|
-
t && /* @__PURE__ */ e(
|
|
619
|
+
t && /* @__PURE__ */ e(A, {
|
|
607
620
|
truncate: c,
|
|
608
621
|
regular: !0,
|
|
609
622
|
as: "p",
|
|
@@ -612,13 +625,13 @@ const be = (r, a)=>{
|
|
|
612
625
|
})
|
|
613
626
|
]
|
|
614
627
|
}),
|
|
615
|
-
|
|
616
|
-
truncate:
|
|
628
|
+
d && /* @__PURE__ */ e(A, {
|
|
629
|
+
truncate: s,
|
|
617
630
|
regular: !0,
|
|
618
631
|
as: "p",
|
|
619
|
-
color:
|
|
632
|
+
color: u.colors.textSecondary,
|
|
620
633
|
hyphens: "auto",
|
|
621
|
-
children:
|
|
634
|
+
children: d
|
|
622
635
|
})
|
|
623
636
|
]
|
|
624
637
|
}),
|
|
@@ -631,8 +644,8 @@ const be = (r, a)=>{
|
|
|
631
644
|
})
|
|
632
645
|
}))
|
|
633
646
|
});
|
|
634
|
-
}),
|
|
635
|
-
var { icon: r, headline: a, pretitle:
|
|
647
|
+
}), Vr = /*#__PURE__*/ g.forwardRef((_param, M)=>{
|
|
648
|
+
var { icon: r, headline: a, pretitle: n, pretitleLinesMax: t, title: c, titleLinesMax: d, subtitle: s, subtitleLinesMax: l, description: p, descriptionLinesMax: m, extra: o, actions: h, button: f, buttonLink: y, dataAttributes: I, "aria-label": T, onClose: N, aspectRatio: b } = _param, v = _object_without_properties(_param, [
|
|
636
649
|
"icon",
|
|
637
650
|
"headline",
|
|
638
651
|
"pretitle",
|
|
@@ -652,69 +665,74 @@ const be = (r, a)=>{
|
|
|
652
665
|
"onClose",
|
|
653
666
|
"aspectRatio"
|
|
654
667
|
]);
|
|
655
|
-
const
|
|
668
|
+
const R = !!r, D = v.href || v.to || v.onPress, O = Be(h, N), P = {
|
|
656
669
|
marginRight: -16,
|
|
657
670
|
marginTop: -24,
|
|
658
|
-
width:
|
|
671
|
+
width: Se * O.length
|
|
659
672
|
};
|
|
660
|
-
return /* @__PURE__ */
|
|
673
|
+
return /* @__PURE__ */ i(F, {
|
|
661
674
|
dataAttributes: _object_spread({
|
|
662
675
|
"component-name": "DataCard"
|
|
663
|
-
},
|
|
676
|
+
}, I),
|
|
664
677
|
ref: M,
|
|
665
678
|
"aria-label": T,
|
|
666
|
-
className:
|
|
667
|
-
aspectRatio:
|
|
679
|
+
className: X,
|
|
680
|
+
aspectRatio: b,
|
|
668
681
|
children: [
|
|
669
|
-
/* @__PURE__ */ e(
|
|
670
|
-
className:
|
|
682
|
+
/* @__PURE__ */ e(re, {
|
|
683
|
+
className: Z,
|
|
671
684
|
width: "100%",
|
|
672
685
|
minHeight: "100%",
|
|
673
|
-
children: /* @__PURE__ */
|
|
686
|
+
children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
|
|
674
687
|
maybe: !0
|
|
675
|
-
},
|
|
676
|
-
className:
|
|
688
|
+
}, v), {
|
|
689
|
+
className: j,
|
|
677
690
|
"aria-label": T,
|
|
678
691
|
children: [
|
|
679
692
|
D && /* @__PURE__ */ e("div", {
|
|
680
|
-
className:
|
|
693
|
+
className: K
|
|
681
694
|
}),
|
|
682
|
-
/* @__PURE__ */
|
|
683
|
-
className:
|
|
695
|
+
/* @__PURE__ */ i("div", {
|
|
696
|
+
className: Ge,
|
|
684
697
|
children: [
|
|
685
|
-
/* @__PURE__ */
|
|
698
|
+
/* @__PURE__ */ i(Ke, {
|
|
686
699
|
space: 0,
|
|
687
700
|
children: [
|
|
688
|
-
/* @__PURE__ */
|
|
701
|
+
/* @__PURE__ */ i(C, {
|
|
689
702
|
space: 16,
|
|
690
703
|
children: [
|
|
691
|
-
|
|
692
|
-
|
|
704
|
+
r && /* @__PURE__ */ e("div", {
|
|
705
|
+
style: H({
|
|
706
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
707
|
+
}),
|
|
708
|
+
children: r
|
|
709
|
+
}),
|
|
710
|
+
/* @__PURE__ */ e(oe, {
|
|
693
711
|
headline: a,
|
|
694
|
-
pretitle:
|
|
712
|
+
pretitle: n,
|
|
695
713
|
pretitleLinesMax: t,
|
|
696
714
|
title: c,
|
|
697
|
-
titleLinesMax:
|
|
698
|
-
subtitle:
|
|
715
|
+
titleLinesMax: d,
|
|
716
|
+
subtitle: s,
|
|
699
717
|
subtitleLinesMax: l,
|
|
700
|
-
description:
|
|
718
|
+
description: p,
|
|
701
719
|
descriptionLinesMax: m
|
|
702
720
|
})
|
|
703
721
|
]
|
|
704
722
|
}),
|
|
705
|
-
!
|
|
706
|
-
style:
|
|
723
|
+
!R && /* @__PURE__ */ e("div", {
|
|
724
|
+
style: P
|
|
707
725
|
})
|
|
708
726
|
]
|
|
709
727
|
}),
|
|
710
|
-
|
|
711
|
-
children:
|
|
728
|
+
o && /* @__PURE__ */ e("div", {
|
|
729
|
+
children: o
|
|
712
730
|
}),
|
|
713
|
-
(f ||
|
|
714
|
-
className:
|
|
715
|
-
children: /* @__PURE__ */ e(
|
|
731
|
+
(f || y) && /* @__PURE__ */ e("div", {
|
|
732
|
+
className: pe,
|
|
733
|
+
children: /* @__PURE__ */ e(ae, {
|
|
716
734
|
primaryButton: f,
|
|
717
|
-
link:
|
|
735
|
+
link: y
|
|
718
736
|
})
|
|
719
737
|
})
|
|
720
738
|
]
|
|
@@ -722,15 +740,15 @@ const be = (r, a)=>{
|
|
|
722
740
|
]
|
|
723
741
|
}))
|
|
724
742
|
}),
|
|
725
|
-
/* @__PURE__ */ e(
|
|
726
|
-
onClose:
|
|
743
|
+
/* @__PURE__ */ e($, {
|
|
744
|
+
onClose: N,
|
|
727
745
|
actions: h,
|
|
728
746
|
type: "default"
|
|
729
747
|
})
|
|
730
748
|
]
|
|
731
749
|
});
|
|
732
|
-
}),
|
|
733
|
-
var { icon: r, title: a, titleLinesMax:
|
|
750
|
+
}), Er = /*#__PURE__*/ g.forwardRef((_param, h)=>{
|
|
751
|
+
var { icon: r, title: a, titleLinesMax: n, subtitle: t, subtitleLinesMax: c, dataAttributes: d, "aria-label": s, extra: l, isInverse: p = !1, aspectRatio: m } = _param, o = _object_without_properties(_param, [
|
|
734
752
|
"icon",
|
|
735
753
|
"title",
|
|
736
754
|
"titleLinesMax",
|
|
@@ -742,51 +760,56 @@ const be = (r, a)=>{
|
|
|
742
760
|
"isInverse",
|
|
743
761
|
"aspectRatio"
|
|
744
762
|
]);
|
|
745
|
-
const f =
|
|
746
|
-
return /* @__PURE__ */ e(
|
|
763
|
+
const f = o.href || o.to || o.onPress, y = p ? te : K;
|
|
764
|
+
return /* @__PURE__ */ e(F, {
|
|
747
765
|
dataAttributes: _object_spread({
|
|
748
766
|
"component-name": "SnapCard"
|
|
749
|
-
},
|
|
767
|
+
}, d),
|
|
750
768
|
ref: h,
|
|
751
|
-
className:
|
|
769
|
+
className: X,
|
|
752
770
|
aspectRatio: m,
|
|
753
|
-
children: /* @__PURE__ */ e(
|
|
754
|
-
className:
|
|
755
|
-
isInverse:
|
|
771
|
+
children: /* @__PURE__ */ e(re, {
|
|
772
|
+
className: Z,
|
|
773
|
+
isInverse: p,
|
|
756
774
|
width: "100%",
|
|
757
775
|
minHeight: "100%",
|
|
758
|
-
children: /* @__PURE__ */
|
|
776
|
+
children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
|
|
759
777
|
maybe: !0
|
|
760
|
-
},
|
|
761
|
-
className:
|
|
762
|
-
"aria-label":
|
|
778
|
+
}, o), {
|
|
779
|
+
className: j,
|
|
780
|
+
"aria-label": s,
|
|
763
781
|
children: [
|
|
764
782
|
f && /* @__PURE__ */ e("div", {
|
|
765
|
-
className:
|
|
783
|
+
className: y
|
|
766
784
|
}),
|
|
767
|
-
/* @__PURE__ */
|
|
768
|
-
className:
|
|
785
|
+
/* @__PURE__ */ i("section", {
|
|
786
|
+
className: Xe,
|
|
769
787
|
children: [
|
|
770
|
-
/* @__PURE__ */
|
|
788
|
+
/* @__PURE__ */ i("div", {
|
|
771
789
|
children: [
|
|
772
|
-
r && /* @__PURE__ */ e(
|
|
773
|
-
|
|
774
|
-
|
|
790
|
+
r && /* @__PURE__ */ e("div", {
|
|
791
|
+
style: H({
|
|
792
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
793
|
+
}),
|
|
794
|
+
children: /* @__PURE__ */ e(k, {
|
|
795
|
+
paddingBottom: 16,
|
|
796
|
+
children: r
|
|
797
|
+
})
|
|
775
798
|
}),
|
|
776
|
-
/* @__PURE__ */
|
|
799
|
+
/* @__PURE__ */ i(C, {
|
|
777
800
|
space: 4,
|
|
778
801
|
children: [
|
|
779
|
-
a && /* @__PURE__ */ e(
|
|
780
|
-
truncate:
|
|
802
|
+
a && /* @__PURE__ */ e(A, {
|
|
803
|
+
truncate: n,
|
|
781
804
|
as: "h3",
|
|
782
805
|
regular: !0,
|
|
783
806
|
hyphens: "auto",
|
|
784
807
|
children: a
|
|
785
808
|
}),
|
|
786
|
-
t && /* @__PURE__ */ e(
|
|
809
|
+
t && /* @__PURE__ */ e(A, {
|
|
787
810
|
truncate: c,
|
|
788
811
|
regular: !0,
|
|
789
|
-
color:
|
|
812
|
+
color: u.colors.textSecondary,
|
|
790
813
|
as: "p",
|
|
791
814
|
hyphens: "auto",
|
|
792
815
|
children: t
|
|
@@ -804,8 +827,8 @@ const be = (r, a)=>{
|
|
|
804
827
|
}))
|
|
805
828
|
})
|
|
806
829
|
});
|
|
807
|
-
}),
|
|
808
|
-
var { isInverse: r, backgroundImage: a, backgroundVideo:
|
|
830
|
+
}), Re = /*#__PURE__*/ g.forwardRef((_param, B)=>{
|
|
831
|
+
var { isInverse: r, backgroundImage: a, backgroundVideo: n, backgroundVideoRef: t, poster: c, icon: d, headline: s, pretitle: l, pretitleLinesMax: p, title: m, titleLinesMax: o, description: h, descriptionLinesMax: f, extra: y, button: I, secondaryButton: T, onClose: N, actions: b, buttonLink: v, dataAttributes: M, width: R, height: D, aspectRatio: O, "aria-label": P } = _param, x = _object_without_properties(_param, [
|
|
809
832
|
"isInverse",
|
|
810
833
|
"backgroundImage",
|
|
811
834
|
"backgroundVideo",
|
|
@@ -831,93 +854,98 @@ const be = (r, a)=>{
|
|
|
831
854
|
"aspectRatio",
|
|
832
855
|
"aria-label"
|
|
833
856
|
]);
|
|
834
|
-
const
|
|
835
|
-
|
|
857
|
+
const V = a !== void 0, S = n !== void 0, q = Ae(a), { video: W, videoAction: z } = Ie(n, c, t);
|
|
858
|
+
S && (b = z ? [
|
|
836
859
|
z
|
|
837
860
|
] : []);
|
|
838
|
-
const
|
|
839
|
-
return /* @__PURE__ */
|
|
861
|
+
const L = Ne(), w = V || S, U = w ? "0 0 16px rgba(0,0,0,0.4)" : void 0, J = (b == null ? void 0 : b.length) || N, _ = x.href || x.to || x.onPress, Y = V || S ? be : r ? te : K;
|
|
862
|
+
return /* @__PURE__ */ i(F, {
|
|
840
863
|
dataAttributes: M,
|
|
841
|
-
ref:
|
|
842
|
-
width:
|
|
864
|
+
ref: B,
|
|
865
|
+
width: R,
|
|
843
866
|
height: D,
|
|
844
867
|
aspectRatio: O,
|
|
845
|
-
"aria-label":
|
|
846
|
-
className:
|
|
868
|
+
"aria-label": P,
|
|
869
|
+
className: X,
|
|
847
870
|
children: [
|
|
848
|
-
/* @__PURE__ */ e(
|
|
849
|
-
borderRadius:
|
|
850
|
-
className:
|
|
871
|
+
/* @__PURE__ */ e(le, {
|
|
872
|
+
borderRadius: u.borderRadii.legacyDisplay,
|
|
873
|
+
className: Z,
|
|
851
874
|
width: "100%",
|
|
852
875
|
minHeight: "100%",
|
|
853
876
|
isInverse: r,
|
|
854
|
-
background:
|
|
855
|
-
children: /* @__PURE__ */
|
|
877
|
+
background: V || S ? L ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundContainer : void 0,
|
|
878
|
+
children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
|
|
856
879
|
maybe: !0
|
|
857
|
-
},
|
|
858
|
-
className:
|
|
859
|
-
"aria-label":
|
|
880
|
+
}, x), {
|
|
881
|
+
className: j,
|
|
882
|
+
"aria-label": P,
|
|
860
883
|
children: [
|
|
861
|
-
|
|
862
|
-
className:
|
|
884
|
+
_ && /* @__PURE__ */ e("div", {
|
|
885
|
+
className: Y
|
|
863
886
|
}),
|
|
864
|
-
/* @__PURE__ */
|
|
865
|
-
className:
|
|
887
|
+
/* @__PURE__ */ i("div", {
|
|
888
|
+
className: ve,
|
|
866
889
|
children: [
|
|
867
|
-
(
|
|
868
|
-
isInverse:
|
|
890
|
+
(V || S) && /* @__PURE__ */ e(Te, {
|
|
891
|
+
isInverse: L,
|
|
869
892
|
children: /* @__PURE__ */ e("div", {
|
|
870
|
-
className:
|
|
871
|
-
children:
|
|
893
|
+
className: fe,
|
|
894
|
+
children: S ? W : q
|
|
872
895
|
})
|
|
873
896
|
}),
|
|
874
|
-
/* @__PURE__ */
|
|
875
|
-
className:
|
|
897
|
+
/* @__PURE__ */ i("div", {
|
|
898
|
+
className: ye,
|
|
876
899
|
style: {
|
|
877
|
-
paddingTop:
|
|
900
|
+
paddingTop: w && !d && !J && !S ? 0 : 24
|
|
878
901
|
},
|
|
879
902
|
children: [
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
903
|
+
d ? /* @__PURE__ */ e("div", {
|
|
904
|
+
style: H({
|
|
905
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
906
|
+
}),
|
|
907
|
+
children: /* @__PURE__ */ e(k, {
|
|
908
|
+
paddingBottom: w ? 0 : 40,
|
|
909
|
+
paddingX: 24,
|
|
910
|
+
children: d
|
|
911
|
+
})
|
|
912
|
+
}) : /* @__PURE__ */ e(k, {
|
|
913
|
+
paddingBottom: J || S ? w ? 24 : 64 : 0
|
|
886
914
|
}),
|
|
887
|
-
/* @__PURE__ */ e(
|
|
915
|
+
/* @__PURE__ */ e(k, {
|
|
888
916
|
paddingX: 24,
|
|
889
|
-
paddingTop:
|
|
917
|
+
paddingTop: w ? 40 : 0,
|
|
890
918
|
paddingBottom: 24,
|
|
891
|
-
className:
|
|
892
|
-
children: /* @__PURE__ */
|
|
919
|
+
className: w ? ge : void 0,
|
|
920
|
+
children: /* @__PURE__ */ i(C, {
|
|
893
921
|
space: 24,
|
|
894
922
|
children: [
|
|
895
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ i("div", {
|
|
896
924
|
children: [
|
|
897
|
-
/* @__PURE__ */
|
|
925
|
+
/* @__PURE__ */ i(C, {
|
|
898
926
|
space: 8,
|
|
899
927
|
children: [
|
|
900
|
-
(
|
|
901
|
-
children: /* @__PURE__ */
|
|
928
|
+
(s || l || m) && /* @__PURE__ */ e("header", {
|
|
929
|
+
children: /* @__PURE__ */ i(C, {
|
|
902
930
|
space: 16,
|
|
903
931
|
children: [
|
|
904
|
-
|
|
905
|
-
/* @__PURE__ */
|
|
932
|
+
s,
|
|
933
|
+
/* @__PURE__ */ i(C, {
|
|
906
934
|
space: 4,
|
|
907
935
|
children: [
|
|
908
|
-
l && /* @__PURE__ */ e(
|
|
936
|
+
l && /* @__PURE__ */ e(A, {
|
|
909
937
|
forceMobileSizes: !0,
|
|
910
|
-
truncate:
|
|
938
|
+
truncate: p,
|
|
911
939
|
as: "div",
|
|
912
940
|
regular: !0,
|
|
913
|
-
textShadow:
|
|
941
|
+
textShadow: U,
|
|
914
942
|
children: l
|
|
915
943
|
}),
|
|
916
|
-
/* @__PURE__ */ e(
|
|
944
|
+
/* @__PURE__ */ e(ze, {
|
|
917
945
|
forceMobileSizes: !0,
|
|
918
|
-
truncate:
|
|
946
|
+
truncate: o,
|
|
919
947
|
as: "h3",
|
|
920
|
-
textShadow:
|
|
948
|
+
textShadow: U,
|
|
921
949
|
hyphens: "auto",
|
|
922
950
|
children: m
|
|
923
951
|
})
|
|
@@ -926,25 +954,25 @@ const be = (r, a)=>{
|
|
|
926
954
|
]
|
|
927
955
|
})
|
|
928
956
|
}),
|
|
929
|
-
h && /* @__PURE__ */ e(
|
|
957
|
+
h && /* @__PURE__ */ e(De, {
|
|
930
958
|
forceMobileSizes: !0,
|
|
931
959
|
truncate: f,
|
|
932
960
|
as: "p",
|
|
933
961
|
regular: !0,
|
|
934
|
-
color:
|
|
935
|
-
textShadow:
|
|
962
|
+
color: w ? u.colors.textPrimary : u.colors.textSecondary,
|
|
963
|
+
textShadow: U,
|
|
936
964
|
hyphens: "auto",
|
|
937
965
|
children: h
|
|
938
966
|
})
|
|
939
967
|
]
|
|
940
968
|
}),
|
|
941
|
-
|
|
969
|
+
y
|
|
942
970
|
]
|
|
943
971
|
}),
|
|
944
|
-
(
|
|
945
|
-
primaryButton:
|
|
972
|
+
(I || T || v) && /* @__PURE__ */ e(ae, {
|
|
973
|
+
primaryButton: I,
|
|
946
974
|
secondaryButton: T,
|
|
947
|
-
link:
|
|
975
|
+
link: v
|
|
948
976
|
})
|
|
949
977
|
]
|
|
950
978
|
})
|
|
@@ -956,36 +984,36 @@ const be = (r, a)=>{
|
|
|
956
984
|
]
|
|
957
985
|
}))
|
|
958
986
|
}),
|
|
959
|
-
/* @__PURE__ */ e(
|
|
960
|
-
onClose:
|
|
961
|
-
actions:
|
|
962
|
-
type:
|
|
987
|
+
/* @__PURE__ */ e($, {
|
|
988
|
+
onClose: N,
|
|
989
|
+
actions: b,
|
|
990
|
+
type: V || S ? "media" : r ? "inverse" : "default"
|
|
963
991
|
})
|
|
964
992
|
]
|
|
965
993
|
});
|
|
966
|
-
}),
|
|
994
|
+
}), Gr = /*#__PURE__*/ g.forwardRef((_param, n)=>/* @__PURE__ */ {
|
|
967
995
|
var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
|
|
968
996
|
"dataAttributes"
|
|
969
997
|
]);
|
|
970
|
-
return e(
|
|
971
|
-
ref:
|
|
998
|
+
return e(Re, _object_spread_props(_object_spread({}, a), {
|
|
999
|
+
ref: n,
|
|
972
1000
|
isInverse: !0,
|
|
973
1001
|
dataAttributes: _object_spread_props(_object_spread({}, r), {
|
|
974
1002
|
"component-name": "DisplayMediaCard"
|
|
975
1003
|
})
|
|
976
1004
|
}));
|
|
977
|
-
}),
|
|
1005
|
+
}), Xr = /*#__PURE__*/ g.forwardRef((_param, n)=>/* @__PURE__ */ {
|
|
978
1006
|
var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
|
|
979
1007
|
"dataAttributes"
|
|
980
1008
|
]);
|
|
981
|
-
return e(
|
|
982
|
-
ref:
|
|
1009
|
+
return e(Re, _object_spread_props(_object_spread({}, a), {
|
|
1010
|
+
ref: n,
|
|
983
1011
|
dataAttributes: _object_spread_props(_object_spread({}, r), {
|
|
984
1012
|
"component-name": "DisplayDataCard"
|
|
985
1013
|
})
|
|
986
1014
|
}));
|
|
987
|
-
}),
|
|
988
|
-
var { dataAttributes: r, backgroundImage: a, backgroundVideo:
|
|
1015
|
+
}), jr = /*#__PURE__*/ g.forwardRef((_param, P)=>{
|
|
1016
|
+
var { dataAttributes: r, backgroundImage: a, backgroundVideo: n, poster: t, backgroundVideoRef: c, width: d, height: s, aspectRatio: l = "7:10", ariaLabel: p, actions: m, onClose: o, icon: h, headline: f, pretitle: y, pretitleLinesMax: I, title: T, titleLinesMax: N, description: b, descriptionLinesMax: v, variant: M, isInverse: R, backgroundColor: D } = _param, O = _object_without_properties(_param, [
|
|
989
1017
|
"dataAttributes",
|
|
990
1018
|
"backgroundImage",
|
|
991
1019
|
"backgroundVideo",
|
|
@@ -1009,107 +1037,112 @@ const be = (r, a)=>{
|
|
|
1009
1037
|
"isInverse",
|
|
1010
1038
|
"backgroundColor"
|
|
1011
1039
|
]);
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1014
|
-
|
|
1040
|
+
const x = a !== void 0, B = n !== void 0, V = Ae(a), { video: S, videoAction: q } = Ie(n, t, c);
|
|
1041
|
+
B && (m = q ? [
|
|
1042
|
+
q
|
|
1015
1043
|
] : []);
|
|
1016
|
-
const
|
|
1017
|
-
default:
|
|
1018
|
-
inverse:
|
|
1019
|
-
alternative:
|
|
1020
|
-
})[
|
|
1021
|
-
return /* @__PURE__ */
|
|
1022
|
-
width:
|
|
1023
|
-
height:
|
|
1044
|
+
const W = Ne(), z = x || B, L = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, w = (m == null ? void 0 : m.length) || o, { textPresets: U } = Q(), J = O.href || O.to || O.onPress, _ = M || (R ? "inverse" : "default"), Y = ()=>D || ({
|
|
1045
|
+
default: u.colors.backgroundContainer,
|
|
1046
|
+
inverse: W ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundBrand,
|
|
1047
|
+
alternative: u.colors.backgroundAlternative
|
|
1048
|
+
})[_], we = x || B ? be : _ === "inverse" ? te : K;
|
|
1049
|
+
return /* @__PURE__ */ i(F, {
|
|
1050
|
+
width: d,
|
|
1051
|
+
height: s,
|
|
1024
1052
|
dataAttributes: _object_spread_props(_object_spread({}, r), {
|
|
1025
1053
|
"component-name": "PosterCard"
|
|
1026
1054
|
}),
|
|
1027
|
-
ref:
|
|
1055
|
+
ref: P,
|
|
1028
1056
|
aspectRatio: l,
|
|
1029
|
-
"aria-label":
|
|
1030
|
-
className:
|
|
1057
|
+
"aria-label": p,
|
|
1058
|
+
className: X,
|
|
1031
1059
|
children: [
|
|
1032
|
-
/* @__PURE__ */ e(
|
|
1033
|
-
borderRadius:
|
|
1034
|
-
className:
|
|
1060
|
+
/* @__PURE__ */ e(le, {
|
|
1061
|
+
borderRadius: u.borderRadii.legacyDisplay,
|
|
1062
|
+
className: Z,
|
|
1035
1063
|
width: "100%",
|
|
1036
1064
|
minHeight: "100%",
|
|
1037
|
-
isInverse:
|
|
1038
|
-
background:
|
|
1039
|
-
children: /* @__PURE__ */
|
|
1065
|
+
isInverse: x || B || _ === "inverse",
|
|
1066
|
+
background: x || B ? W ? u.colors.backgroundContainerBrandOverInverse : u.colors.backgroundContainer : Y(),
|
|
1067
|
+
children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
|
|
1040
1068
|
maybe: !0
|
|
1041
1069
|
}, O), {
|
|
1042
|
-
className:
|
|
1043
|
-
"aria-label":
|
|
1070
|
+
className: j,
|
|
1071
|
+
"aria-label": p,
|
|
1044
1072
|
children: [
|
|
1045
|
-
|
|
1046
|
-
className:
|
|
1073
|
+
J && /* @__PURE__ */ e("div", {
|
|
1074
|
+
className: we
|
|
1047
1075
|
}),
|
|
1048
|
-
/* @__PURE__ */
|
|
1049
|
-
className:
|
|
1076
|
+
/* @__PURE__ */ i("div", {
|
|
1077
|
+
className: ve,
|
|
1050
1078
|
children: [
|
|
1051
|
-
(
|
|
1052
|
-
isInverse:
|
|
1079
|
+
(x || B) && /* @__PURE__ */ e(Te, {
|
|
1080
|
+
isInverse: W,
|
|
1053
1081
|
children: /* @__PURE__ */ e("div", {
|
|
1054
|
-
className:
|
|
1055
|
-
children:
|
|
1082
|
+
className: fe,
|
|
1083
|
+
children: B ? S : V
|
|
1056
1084
|
})
|
|
1057
1085
|
}),
|
|
1058
|
-
/* @__PURE__ */
|
|
1059
|
-
className:
|
|
1060
|
-
paddingTop: z && !h && !
|
|
1086
|
+
/* @__PURE__ */ i(k, {
|
|
1087
|
+
className: ye,
|
|
1088
|
+
paddingTop: z && !h && !w && !B ? 0 : {
|
|
1061
1089
|
mobile: h ? 16 : 24,
|
|
1062
1090
|
desktop: 24
|
|
1063
1091
|
},
|
|
1064
1092
|
children: [
|
|
1065
|
-
h ? /* @__PURE__ */ e(
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1093
|
+
h ? /* @__PURE__ */ e("div", {
|
|
1094
|
+
style: H({
|
|
1095
|
+
[E.mediaBorderRadius]: u.borderRadii.mediaSmall
|
|
1096
|
+
}),
|
|
1097
|
+
children: /* @__PURE__ */ e(k, {
|
|
1098
|
+
paddingBottom: z ? 0 : 40,
|
|
1099
|
+
paddingX: {
|
|
1100
|
+
mobile: 16,
|
|
1101
|
+
desktop: 24
|
|
1102
|
+
},
|
|
1103
|
+
children: h
|
|
1104
|
+
})
|
|
1105
|
+
}) : /* @__PURE__ */ e(k, {
|
|
1106
|
+
paddingBottom: w || B ? z ? 24 : 64 : 0
|
|
1074
1107
|
}),
|
|
1075
|
-
/* @__PURE__ */ e(
|
|
1108
|
+
/* @__PURE__ */ e(k, {
|
|
1076
1109
|
paddingX: {
|
|
1077
1110
|
mobile: 16,
|
|
1078
1111
|
desktop: 24
|
|
1079
1112
|
},
|
|
1080
1113
|
paddingTop: z ? 40 : 0,
|
|
1081
1114
|
paddingBottom: 24,
|
|
1082
|
-
className: z ?
|
|
1083
|
-
children: /* @__PURE__ */ e(
|
|
1115
|
+
className: z ? ge : void 0,
|
|
1116
|
+
children: /* @__PURE__ */ e(C, {
|
|
1084
1117
|
space: 24,
|
|
1085
1118
|
children: /* @__PURE__ */ e("div", {
|
|
1086
|
-
children: /* @__PURE__ */
|
|
1119
|
+
children: /* @__PURE__ */ i(C, {
|
|
1087
1120
|
space: 8,
|
|
1088
1121
|
children: [
|
|
1089
|
-
(f ||
|
|
1090
|
-
children: /* @__PURE__ */
|
|
1122
|
+
(f || y || T) && /* @__PURE__ */ e("header", {
|
|
1123
|
+
children: /* @__PURE__ */ i(C, {
|
|
1091
1124
|
space: 16,
|
|
1092
1125
|
children: [
|
|
1093
1126
|
f,
|
|
1094
|
-
/* @__PURE__ */
|
|
1127
|
+
/* @__PURE__ */ i(C, {
|
|
1095
1128
|
space: 4,
|
|
1096
1129
|
children: [
|
|
1097
|
-
|
|
1130
|
+
y && /* @__PURE__ */ e(A, {
|
|
1098
1131
|
forceMobileSizes: !0,
|
|
1099
|
-
truncate:
|
|
1132
|
+
truncate: I,
|
|
1100
1133
|
as: "div",
|
|
1101
1134
|
regular: !0,
|
|
1102
|
-
textShadow:
|
|
1135
|
+
textShadow: L,
|
|
1103
1136
|
hyphens: "auto",
|
|
1104
|
-
children:
|
|
1137
|
+
children: y
|
|
1105
1138
|
}),
|
|
1106
|
-
/* @__PURE__ */ e(
|
|
1139
|
+
/* @__PURE__ */ e(se, {
|
|
1107
1140
|
desktopSize: 20,
|
|
1108
1141
|
mobileSize: 18,
|
|
1109
1142
|
mobileLineHeight: "24px",
|
|
1110
1143
|
desktopLineHeight: "28px",
|
|
1111
|
-
truncate:
|
|
1112
|
-
weight:
|
|
1144
|
+
truncate: N,
|
|
1145
|
+
weight: U.cardTitle.weight,
|
|
1113
1146
|
as: "h3",
|
|
1114
1147
|
hyphens: "auto",
|
|
1115
1148
|
children: T
|
|
@@ -1119,14 +1152,14 @@ const be = (r, a)=>{
|
|
|
1119
1152
|
]
|
|
1120
1153
|
})
|
|
1121
1154
|
}),
|
|
1122
|
-
|
|
1155
|
+
b && /* @__PURE__ */ e(A, {
|
|
1123
1156
|
forceMobileSizes: !0,
|
|
1124
|
-
truncate:
|
|
1157
|
+
truncate: v,
|
|
1125
1158
|
as: "p",
|
|
1126
1159
|
regular: !0,
|
|
1127
|
-
textShadow:
|
|
1160
|
+
textShadow: L,
|
|
1128
1161
|
hyphens: "auto",
|
|
1129
|
-
children:
|
|
1162
|
+
children: b
|
|
1130
1163
|
})
|
|
1131
1164
|
]
|
|
1132
1165
|
})
|
|
@@ -1140,12 +1173,12 @@ const be = (r, a)=>{
|
|
|
1140
1173
|
]
|
|
1141
1174
|
}))
|
|
1142
1175
|
}),
|
|
1143
|
-
/* @__PURE__ */ e(
|
|
1144
|
-
onClose:
|
|
1176
|
+
/* @__PURE__ */ e($, {
|
|
1177
|
+
onClose: o,
|
|
1145
1178
|
actions: m,
|
|
1146
|
-
type:
|
|
1179
|
+
type: x || B ? "media" : _ === "inverse" ? "inverse" : "default"
|
|
1147
1180
|
})
|
|
1148
1181
|
]
|
|
1149
1182
|
});
|
|
1150
1183
|
});
|
|
1151
|
-
export { er as CardActionIconButton,
|
|
1184
|
+
export { er as CardActionIconButton, nr as CardActionSpinner, $ as CardActionsGroup, Vr as DataCard, Xr as DisplayDataCard, Gr as DisplayMediaCard, Dr as MediaCard, Or as NakedCard, jr as PosterCard, Hr as SmallNakedCard, Er as SnapCard, Se as TOP_ACTION_BUTTON_SIZE };
|