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