@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.
Files changed (156) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +1 -1
  3. package/dist/button.css-mistica.js +7 -7
  4. package/dist/callout.css-mistica.js +1 -1
  5. package/dist/callout.js +17 -12
  6. package/dist/card.js +277 -244
  7. package/dist/carousel.css-mistica.js +5 -5
  8. package/dist/carousel.js +54 -52
  9. package/dist/checkbox.js +18 -18
  10. package/dist/community/advanced-data-card.css-mistica.js +3 -3
  11. package/dist/community/advanced-data-card.js +57 -50
  12. package/dist/community/blocks.js +42 -35
  13. package/dist/counter.css-mistica.js +1 -1
  14. package/dist/cvv-field.js +1 -1
  15. package/dist/dialog.css-mistica.js +3 -3
  16. package/dist/dialog.js +2 -2
  17. package/dist/hero.js +34 -30
  18. package/dist/hooks.d.ts +12 -1
  19. package/dist/hooks.js +85 -48
  20. package/dist/image.css-mistica.js +7 -2
  21. package/dist/image.css.d.ts +3 -0
  22. package/dist/image.d.ts +1 -7
  23. package/dist/image.js +55 -66
  24. package/dist/list.css-mistica.js +1 -1
  25. package/dist/list.js +80 -75
  26. package/dist/loading-bar.css-mistica.js +6 -6
  27. package/dist/maybe-dismissable.css-mistica.js +1 -1
  28. package/dist/menu.js +32 -32
  29. package/dist/navigation-bar.css-mistica.js +10 -10
  30. package/dist/overlay.js +10 -10
  31. package/dist/package-version.js +1 -1
  32. package/dist/pin-field.css-mistica.js +3 -3
  33. package/dist/popover.css-mistica.js +4 -4
  34. package/dist/radio-button.css-mistica.js +5 -5
  35. package/dist/radio-button.js +7 -7
  36. package/dist/screen-reader-only.css-mistica.js +1 -1
  37. package/dist/select.css-mistica.js +7 -7
  38. package/dist/select.js +65 -53
  39. package/dist/sheet.css-mistica.js +8 -8
  40. package/dist/skeletons.d.ts +9 -1
  41. package/dist/skeletons.js +3 -0
  42. package/dist/skins/blau.js +2 -1
  43. package/dist/skins/defaults.js +2 -1
  44. package/dist/skins/movistar-legacy.js +2 -1
  45. package/dist/skins/movistar.js +2 -1
  46. package/dist/skins/o2.js +2 -1
  47. package/dist/skins/skin-contract.css-mistica.js +2 -1
  48. package/dist/skins/skin-contract.css.d.ts +1 -0
  49. package/dist/skins/telefonica.js +2 -1
  50. package/dist/skins/types/index.d.ts +1 -0
  51. package/dist/skins/vivo-new.js +2 -1
  52. package/dist/skins/vivo.js +2 -1
  53. package/dist/slider.css-mistica.js +19 -19
  54. package/dist/slider.css.d.ts +8 -8
  55. package/dist/slider.d.ts +28 -8
  56. package/dist/slider.js +226 -106
  57. package/dist/snackbar.css-mistica.js +5 -5
  58. package/dist/sprinkles.css-mistica.js +71 -68
  59. package/dist/stacking-group.js +31 -24
  60. package/dist/stepper.css-mistica.js +3 -3
  61. package/dist/switch-component.css-mistica.js +17 -17
  62. package/dist/switch-component.js +12 -12
  63. package/dist/tab-focus.js +12 -12
  64. package/dist/tabs.css-mistica.js +1 -1
  65. package/dist/text-field-base.css-mistica.js +1 -1
  66. package/dist/text-field-components.css-mistica.js +7 -7
  67. package/dist/text-link.css-mistica.js +3 -3
  68. package/dist/theme-context-provider.js +39 -36
  69. package/dist/tooltip-context-provider.d.ts +14 -0
  70. package/dist/tooltip-context-provider.js +90 -0
  71. package/dist/tooltip.css-mistica.js +25 -54
  72. package/dist/tooltip.css.d.ts +19 -26
  73. package/dist/tooltip.d.ts +15 -1
  74. package/dist/tooltip.js +255 -207
  75. package/dist/touchable.css-mistica.js +1 -1
  76. package/dist/touchable.js +8 -8
  77. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  78. package/dist/utils/environment.d.ts +1 -0
  79. package/dist/utils/environment.js +4 -1
  80. package/dist/utils/keys.d.ts +8 -0
  81. package/dist/utils/{key-codes.js → keys.js} +6 -6
  82. package/dist/video.css-mistica.js +1 -1
  83. package/dist/video.js +33 -31
  84. package/dist-es/avatar.css-mistica.js +1 -1
  85. package/dist-es/button.css-mistica.js +7 -7
  86. package/dist-es/callout.css-mistica.js +1 -1
  87. package/dist-es/callout.js +33 -28
  88. package/dist-es/card.js +416 -383
  89. package/dist-es/carousel.css-mistica.js +2 -2
  90. package/dist-es/carousel.js +84 -82
  91. package/dist-es/checkbox.js +18 -18
  92. package/dist-es/community/advanced-data-card.css-mistica.js +2 -2
  93. package/dist-es/community/advanced-data-card.js +83 -76
  94. package/dist-es/community/blocks.js +77 -70
  95. package/dist-es/counter.css-mistica.js +1 -1
  96. package/dist-es/cvv-field.js +1 -1
  97. package/dist-es/dialog.css-mistica.js +3 -3
  98. package/dist-es/dialog.js +2 -2
  99. package/dist-es/hero.js +69 -65
  100. package/dist-es/hooks.js +83 -49
  101. package/dist-es/image.css-mistica.js +4 -2
  102. package/dist-es/image.js +74 -79
  103. package/dist-es/list.css-mistica.js +1 -1
  104. package/dist-es/list.js +116 -111
  105. package/dist-es/loading-bar.css-mistica.js +2 -2
  106. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  107. package/dist-es/menu.js +41 -41
  108. package/dist-es/navigation-bar.css-mistica.js +6 -6
  109. package/dist-es/overlay.js +14 -14
  110. package/dist-es/package-version.js +1 -1
  111. package/dist-es/pin-field.css-mistica.js +2 -2
  112. package/dist-es/popover.css-mistica.js +2 -2
  113. package/dist-es/radio-button.css-mistica.js +4 -4
  114. package/dist-es/radio-button.js +2 -2
  115. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  116. package/dist-es/select.css-mistica.js +7 -7
  117. package/dist-es/select.js +89 -77
  118. package/dist-es/sheet.css-mistica.js +2 -2
  119. package/dist-es/skeletons.js +1 -1
  120. package/dist-es/skins/blau.js +2 -1
  121. package/dist-es/skins/defaults.js +2 -1
  122. package/dist-es/skins/movistar-legacy.js +2 -1
  123. package/dist-es/skins/movistar.js +2 -1
  124. package/dist-es/skins/o2.js +2 -1
  125. package/dist-es/skins/skin-contract.css-mistica.js +2 -1
  126. package/dist-es/skins/telefonica.js +2 -1
  127. package/dist-es/skins/vivo-new.js +2 -1
  128. package/dist-es/skins/vivo.js +2 -1
  129. package/dist-es/slider.css-mistica.js +2 -8
  130. package/dist-es/slider.js +231 -111
  131. package/dist-es/snackbar.css-mistica.js +4 -4
  132. package/dist-es/sprinkles.css-mistica.js +71 -68
  133. package/dist-es/stacking-group.js +37 -30
  134. package/dist-es/stepper.css-mistica.js +2 -2
  135. package/dist-es/style.css +1 -1
  136. package/dist-es/switch-component.css-mistica.js +13 -13
  137. package/dist-es/switch-component.js +14 -14
  138. package/dist-es/tab-focus.js +14 -14
  139. package/dist-es/tabs.css-mistica.js +1 -1
  140. package/dist-es/text-field-base.css-mistica.js +1 -1
  141. package/dist-es/text-field-components.css-mistica.js +2 -2
  142. package/dist-es/text-link.css-mistica.js +3 -3
  143. package/dist-es/theme-context-provider.js +53 -50
  144. package/dist-es/tooltip-context-provider.js +29 -0
  145. package/dist-es/tooltip.css-mistica.js +16 -9
  146. package/dist-es/tooltip.js +264 -216
  147. package/dist-es/touchable.css-mistica.js +1 -1
  148. package/dist-es/touchable.js +8 -8
  149. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  150. package/dist-es/utils/environment.js +2 -2
  151. package/dist-es/utils/keys.js +2 -0
  152. package/dist-es/video.css-mistica.js +1 -1
  153. package/dist-es/video.js +41 -39
  154. package/package.json +1 -1
  155. package/dist/utils/key-codes.d.ts +0 -8
  156. 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 n, Fragment as we } from "react/jsx-runtime";
82
- import * as y from "react";
83
- import ke from "./tag.js";
84
- import N from "./stack.js";
85
- import R from "./box.js";
86
- import { Text2 as S, Text6 as Re, Text3 as Me, Text as oe } from "./text.js";
87
- import { Boxed as $, InternalBoxed as se } from "./boxed.js";
88
- import ee from "./button-group.js";
89
- import re, { MediaBorderRadiusProvider as ze } from "./image.js";
90
- import { BaseTouchable as V } from "./touchable.js";
91
- import { vars as g } from "./skins/skin-contract.css-mistica.js";
92
- import { cardActionIconButton as De, cardContainer as Oe, touchableContainer as E, boxed as L, touchable as G, touchableMediaCardOverlay as He, mediaCard as ae, mediaCardContent as Ve, mediaCardIcon as de, touchableNakedMediaOverlay as le, circularMediaOverlay as ce, nakedCardContent as me, touchableCardOverlay as J, dataCard as Ee, actions as he, snapCard as Ge, displayCardContainer as ue, displayCardBackground as pe, displayCardContent as fe, displayCardGradient as ve, cardAction as Pe, cardActionInverse as Xe, cardActionMedia as je, vars as Fe, touchableCardOverlayInverse as ne, touchableCardOverlayMedia as ge } from "./card.css-mistica.js";
93
- import { useTheme as K } from "./hooks.js";
94
- import { sprinkles as ye } from "./sprinkles.css-mistica.js";
95
- import _e from "./icon-button.js";
96
- import We from "./generated/mistica-icons/icon-close-regular.js";
97
- import Le from "./generated/mistica-icons/icon-pause-filled.js";
98
- import Ue from "./generated/mistica-icons/icon-play-filled.js";
99
- import { combineRefs as Ze } from "./utils/common.js";
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 Ce, ThemeVariant as Ne } from "./theme-variant-context.js";
103
- import ie from "classnames";
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 $e } from "./utils/css.js";
108
- const be = (r, a)=>{
109
- const { texts: i } = K(), t = r ? [
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: i.closeButtonLabel,
114
+ label: n.closeButtonLabel,
114
115
  onPress: a,
115
- Icon: We
116
+ Icon: Le
116
117
  }), t;
117
- }, Te = /*#__PURE__*/ y.createContext("default"), xe = 48, er = (_param)=>{
118
- var { Icon: r, label: a } = _param, i = _object_without_properties(_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 = y.useContext(Te), c = {
123
- default: g.colors.neutralHigh,
124
- inverse: g.colors.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(_e, _object_spread_props(_object_spread({}, i), {
128
+ return /* @__PURE__ */ e(We, _object_spread_props(_object_spread({}, n), {
128
129
  "aria-label": a,
129
- size: xe,
130
- className: De,
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: Pe,
137
- inverse: Xe,
138
- media: je
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
- }, U = (param)=>{
147
- let { actions: r, padding: a = 8, onClose: i, type: t = "default" } = param;
148
- const c = be(r, i);
149
- return c.length > 0 ? /* @__PURE__ */ e(Te.Provider, {
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: ye({
160
+ className: Ce({
160
161
  display: "flex"
161
162
  }),
162
- children: c.map((d, l)=>"label" in d ? /* @__PURE__ */ e(er, _object_spread({}, d), l) : d)
163
+ children: c.map((s, l)=>"label" in s ? /* @__PURE__ */ e(er, _object_spread({}, s), l) : s)
163
164
  })
164
165
  })
165
- }) : /* @__PURE__ */ e(we, {});
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, P = /*#__PURE__*/ y.forwardRef((param, l)=>{
173
- let { children: r, width: a = "100%", height: i = "100%", aspectRatio: t, dataAttributes: c, className: o, "aria-label": d } = param;
174
- const u = rr(t);
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": d,
178
- className: ie(o, Oe),
178
+ "aria-label": s,
179
+ className: de(d, He),
179
180
  style: _object_spread({
180
181
  width: a,
181
- height: i
182
- }, u ? $e({
183
- [Fe.aspectRatio]: String(u)
182
+ height: n
183
+ }, p ? H({
184
+ [_e.aspectRatio]: String(p)
184
185
  }) : {}),
185
186
  children: r
186
187
  }));
187
- }), Ae = (r)=>/* @__PURE__ */ e(re, {
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
- }, nr = (r, a)=>ar[r][a] || r, ir = (param)=>/* @__PURE__ */ {
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
- }, Y = (param)=>/* @__PURE__ */ {
225
+ }, ee = (param)=>/* @__PURE__ */ {
225
226
  let { color: r } = param;
226
- return e(Le, {
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(Ue, {
233
+ return e(Ze, {
233
234
  color: r,
234
235
  size: 12
235
236
  });
236
- }, Ie = (r, a, i)=>{
237
- const { texts: t } = K(), c = y.useRef(null), [o, d] = y.useReducer(nr, "loading");
238
- y.useEffect(()=>{
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 s = setTimeout(()=>d("showSpinner"), 2e3);
241
+ const o = setTimeout(()=>s("showSpinner"), 2e3);
241
242
  return (h = c.current) == null || h.load(), ()=>{
242
- clearTimeout(s), d("reset");
243
+ clearTimeout(o), s("reset");
243
244
  };
244
245
  }, [
245
246
  r
246
247
  ]);
247
- const l = y.useMemo(()=>r !== void 0 ? /* @__PURE__ */ e(Je, {
248
- ref: Ze(c, i),
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: ()=>d("fail"),
254
- onPause: ()=>d("pause"),
255
- onPlay: ()=>d("play")
254
+ onError: ()=>s("fail"),
255
+ onPause: ()=>s("pause"),
256
+ onPlay: ()=>s("play")
256
257
  }) : void 0, [
257
- i,
258
+ n,
258
259
  r,
259
260
  a
260
- ]), u = ()=>{
261
- const s = c.current;
262
- s && (o === "loading" ? d("showSpinner") : o === "paused" ? s.play() : o === "playing" && s.pause());
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 (o === "error") return {
265
+ if (d === "error") return {
265
266
  video: l
266
267
  };
267
268
  const m = {
268
269
  Icon: {
269
- playing: Y,
270
- loading: Y,
270
+ playing: ee,
271
+ loading: ee,
271
272
  paused: tr,
272
- loadingTimeout: Ye() ? Y : ir
273
- }[o],
274
- onPress: u,
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
- }[o],
281
- disabled: o === "loadingTimeout"
281
+ }[d],
282
+ disabled: d === "loadingTimeout"
282
283
  };
283
284
  return {
284
285
  video: l,
285
286
  videoAction: m
286
287
  };
287
- }, te = (param)=>{
288
- let { headline: r, pretitle: a, pretitleLinesMax: i, title: t, titleLinesMax: c, subtitle: o, subtitleLinesMax: d, description: l, descriptionLinesMax: u, extra: m, button: s, buttonLink: h } = param;
289
- const { textPresets: f } = K(), v = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(ke, {
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__ */ n("div", {
294
- className: ye({
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__ */ n("div", {
302
+ /* @__PURE__ */ i("div", {
302
303
  children: [
303
- /* @__PURE__ */ n(N, {
304
+ /* @__PURE__ */ i(C, {
304
305
  space: 8,
305
306
  children: [
306
- (r || a || t || o) && /* @__PURE__ */ e("header", {
307
- children: /* @__PURE__ */ n(N, {
307
+ (r || a || t || d) && /* @__PURE__ */ e("header", {
308
+ children: /* @__PURE__ */ i(C, {
308
309
  space: 8,
309
310
  children: [
310
- v(),
311
- /* @__PURE__ */ n(N, {
311
+ y(),
312
+ /* @__PURE__ */ i(C, {
312
313
  space: 4,
313
314
  children: [
314
- a && /* @__PURE__ */ e(S, {
315
- truncate: i,
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(oe, {
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(S, {
333
- truncate: d,
333
+ /* @__PURE__ */ e(A, {
334
+ truncate: s,
334
335
  as: "div",
335
336
  regular: !0,
336
337
  hyphens: "auto",
337
- children: o
338
+ children: d
338
339
  })
339
340
  ]
340
341
  })
341
342
  ]
342
343
  })
343
344
  }),
344
- l && /* @__PURE__ */ e(S, {
345
- truncate: u,
345
+ l && /* @__PURE__ */ e(A, {
346
+ truncate: p,
346
347
  as: "p",
347
348
  regular: !0,
348
- color: g.colors.textSecondary,
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
- (s || h) && /* @__PURE__ */ e("div", {
360
- className: he,
361
- children: /* @__PURE__ */ e(ee, {
362
- primaryButton: s,
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
- }, zr = /*#__PURE__*/ y.forwardRef((_param, M)=>{
369
- var { media: r, icon: a, headline: i, pretitle: t, pretitleLinesMax: c, subtitle: o, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: v, buttonLink: w, dataAttributes: T, "aria-label": b, onClose: C } = _param, p = _object_without_properties(_param, [
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 A = p.href || p.to || p.onPress;
390
- return /* @__PURE__ */ n(P, {
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": b,
396
- className: E,
396
+ "aria-label": N,
397
+ className: X,
397
398
  children: [
398
- /* @__PURE__ */ e($, {
399
- className: L,
399
+ /* @__PURE__ */ e(re, {
400
+ className: Z,
400
401
  width: "100%",
401
402
  height: "100%",
402
- children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
403
+ children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
403
404
  maybe: !0
404
- }, p), {
405
- className: G,
406
- "aria-label": b,
405
+ }, v), {
406
+ className: j,
407
+ "aria-label": N,
407
408
  children: [
408
- A && /* @__PURE__ */ e("div", {
409
- className: He
409
+ R && /* @__PURE__ */ e("div", {
410
+ className: Ve
410
411
  }),
411
- /* @__PURE__ */ n("div", {
412
- className: ae,
412
+ /* @__PURE__ */ i("div", {
413
+ className: ne,
413
414
  children: [
414
- /* @__PURE__ */ e(ze, {
415
- value: !1,
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: Ve,
420
- children: /* @__PURE__ */ e(te, {
421
- headline: i,
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: u,
426
- subtitle: o,
427
- subtitleLinesMax: d,
428
+ titleLinesMax: p,
429
+ subtitle: d,
430
+ subtitleLinesMax: s,
428
431
  description: m,
429
- descriptionLinesMax: s,
432
+ descriptionLinesMax: o,
430
433
  extra: h,
431
- button: v,
432
- buttonLink: w
434
+ button: y,
435
+ buttonLink: I
433
436
  })
434
437
  }),
435
- a && /* @__PURE__ */ e(R, {
436
- className: de,
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: a
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(U, {
453
- onClose: C,
460
+ /* @__PURE__ */ e($, {
461
+ onClose: b,
454
462
  actions: f,
455
463
  type: "media"
456
464
  })
457
465
  ]
458
466
  });
459
- }), Dr = /*#__PURE__*/ y.forwardRef((_param, M)=>{
460
- var { media: r, icon: a, headline: i, pretitle: t, pretitleLinesMax: c, subtitle: o, subtitleLinesMax: d, title: l, titleLinesMax: u, description: m, descriptionLinesMax: s, extra: h, actions: f, button: v, buttonLink: w, dataAttributes: T, "aria-label": b, onClose: C } = _param, p = _object_without_properties(_param, [
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 A = p.href || p.to || p.onPress, D = r && r.type === re && r.props.circular;
481
- return /* @__PURE__ */ n(P, {
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": b,
487
- className: A ? E : void 0,
494
+ "aria-label": N,
495
+ className: R ? X : void 0,
488
496
  children: [
489
- /* @__PURE__ */ e(V, _object_spread_props(_object_spread({
497
+ /* @__PURE__ */ e(G, _object_spread_props(_object_spread({
490
498
  maybe: !0
491
- }, p), {
492
- className: G,
493
- "aria-label": b,
494
- children: /* @__PURE__ */ n("div", {
495
- className: ae,
499
+ }, v), {
500
+ className: j,
501
+ "aria-label": N,
502
+ children: /* @__PURE__ */ i("div", {
503
+ className: ne,
496
504
  children: [
497
- /* @__PURE__ */ n("div", {
505
+ /* @__PURE__ */ i("div", {
498
506
  style: {
499
507
  position: "relative"
500
508
  },
501
509
  children: [
502
- A && /* @__PURE__ */ e("div", {
503
- className: ie(le, {
504
- [ce]: D
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: me,
512
- children: /* @__PURE__ */ e(te, {
513
- headline: i,
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: u,
518
- subtitle: o,
519
- subtitleLinesMax: d,
525
+ titleLinesMax: p,
526
+ subtitle: d,
527
+ subtitleLinesMax: s,
520
528
  description: m,
521
- descriptionLinesMax: s,
529
+ descriptionLinesMax: o,
522
530
  extra: h,
523
- button: v,
524
- buttonLink: w
531
+ button: y,
532
+ buttonLink: I
525
533
  })
526
534
  }),
527
- a && /* @__PURE__ */ e(R, {
528
- className: de,
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: a
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(U, {
543
- onClose: C,
555
+ /* @__PURE__ */ e($, {
556
+ onClose: b,
544
557
  actions: f,
545
558
  type: "media"
546
559
  })
547
560
  ]
548
561
  });
549
- }), Or = /*#__PURE__*/ y.forwardRef((_param, h)=>{
550
- var { media: r, title: a, titleLinesMax: i, subtitle: t, subtitleLinesMax: c, description: o, descriptionLinesMax: d, extra: l, dataAttributes: u, "aria-label": m } = _param, s = _object_without_properties(_param, [
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 = s.href || s.to || s.onPress, v = r && r.type === re && r.props.circular;
563
- return /* @__PURE__ */ e(P, {
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
- }, u),
580
+ }, p),
568
581
  "aria-label": m,
569
- className: f ? E : void 0,
570
- children: /* @__PURE__ */ e(V, _object_spread_props(_object_spread({
582
+ className: f ? X : void 0,
583
+ children: /* @__PURE__ */ e(G, _object_spread_props(_object_spread({
571
584
  maybe: !0
572
- }, s), {
573
- className: G,
585
+ }, o), {
586
+ className: j,
574
587
  "aria-label": m,
575
- children: /* @__PURE__ */ n("div", {
576
- className: ae,
588
+ children: /* @__PURE__ */ i("div", {
589
+ className: ne,
577
590
  children: [
578
- /* @__PURE__ */ n("div", {
591
+ /* @__PURE__ */ i("div", {
579
592
  style: {
580
593
  position: "relative"
581
594
  },
582
595
  children: [
583
596
  f && /* @__PURE__ */ e("div", {
584
- className: ie(le, {
585
- [ce]: v
597
+ className: de(me, {
598
+ [he]: y
586
599
  })
587
600
  }),
588
601
  r
589
602
  ]
590
603
  }),
591
- /* @__PURE__ */ n("div", {
592
- className: me,
604
+ /* @__PURE__ */ i("div", {
605
+ className: ue,
593
606
  children: [
594
- /* @__PURE__ */ n("div", {
607
+ /* @__PURE__ */ i("div", {
595
608
  children: [
596
- /* @__PURE__ */ n(N, {
609
+ /* @__PURE__ */ i(C, {
597
610
  space: 8,
598
611
  children: [
599
- a && /* @__PURE__ */ e(S, {
600
- truncate: i,
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(S, {
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
- o && /* @__PURE__ */ e(S, {
616
- truncate: d,
628
+ d && /* @__PURE__ */ e(A, {
629
+ truncate: s,
617
630
  regular: !0,
618
631
  as: "p",
619
- color: g.colors.textSecondary,
632
+ color: u.colors.textSecondary,
620
633
  hyphens: "auto",
621
- children: o
634
+ children: d
622
635
  })
623
636
  ]
624
637
  }),
@@ -631,8 +644,8 @@ const be = (r, a)=>{
631
644
  })
632
645
  }))
633
646
  });
634
- }), Hr = /*#__PURE__*/ y.forwardRef((_param, M)=>{
635
- var { icon: r, headline: a, pretitle: i, pretitleLinesMax: t, title: c, titleLinesMax: o, subtitle: d, subtitleLinesMax: l, description: u, descriptionLinesMax: m, extra: s, actions: h, button: f, buttonLink: v, dataAttributes: w, "aria-label": T, onClose: b, aspectRatio: C } = _param, p = _object_without_properties(_param, [
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 A = !!r, D = p.href || p.to || p.onPress, O = be(h, b), X = {
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: xe * O.length
671
+ width: Se * O.length
659
672
  };
660
- return /* @__PURE__ */ n(P, {
673
+ return /* @__PURE__ */ i(F, {
661
674
  dataAttributes: _object_spread({
662
675
  "component-name": "DataCard"
663
- }, w),
676
+ }, I),
664
677
  ref: M,
665
678
  "aria-label": T,
666
- className: E,
667
- aspectRatio: C,
679
+ className: X,
680
+ aspectRatio: b,
668
681
  children: [
669
- /* @__PURE__ */ e($, {
670
- className: L,
682
+ /* @__PURE__ */ e(re, {
683
+ className: Z,
671
684
  width: "100%",
672
685
  minHeight: "100%",
673
- children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
686
+ children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
674
687
  maybe: !0
675
- }, p), {
676
- className: G,
688
+ }, v), {
689
+ className: j,
677
690
  "aria-label": T,
678
691
  children: [
679
692
  D && /* @__PURE__ */ e("div", {
680
- className: J
693
+ className: K
681
694
  }),
682
- /* @__PURE__ */ n("div", {
683
- className: Ee,
695
+ /* @__PURE__ */ i("div", {
696
+ className: Ge,
684
697
  children: [
685
- /* @__PURE__ */ n(Ke, {
698
+ /* @__PURE__ */ i(Ke, {
686
699
  space: 0,
687
700
  children: [
688
- /* @__PURE__ */ n(N, {
701
+ /* @__PURE__ */ i(C, {
689
702
  space: 16,
690
703
  children: [
691
- A ? r : null,
692
- /* @__PURE__ */ e(te, {
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: i,
712
+ pretitle: n,
695
713
  pretitleLinesMax: t,
696
714
  title: c,
697
- titleLinesMax: o,
698
- subtitle: d,
715
+ titleLinesMax: d,
716
+ subtitle: s,
699
717
  subtitleLinesMax: l,
700
- description: u,
718
+ description: p,
701
719
  descriptionLinesMax: m
702
720
  })
703
721
  ]
704
722
  }),
705
- !A && /* @__PURE__ */ e("div", {
706
- style: X
723
+ !R && /* @__PURE__ */ e("div", {
724
+ style: P
707
725
  })
708
726
  ]
709
727
  }),
710
- s && /* @__PURE__ */ e("div", {
711
- children: s
728
+ o && /* @__PURE__ */ e("div", {
729
+ children: o
712
730
  }),
713
- (f || v) && /* @__PURE__ */ e("div", {
714
- className: he,
715
- children: /* @__PURE__ */ e(ee, {
731
+ (f || y) && /* @__PURE__ */ e("div", {
732
+ className: pe,
733
+ children: /* @__PURE__ */ e(ae, {
716
734
  primaryButton: f,
717
- link: v
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(U, {
726
- onClose: b,
743
+ /* @__PURE__ */ e($, {
744
+ onClose: N,
727
745
  actions: h,
728
746
  type: "default"
729
747
  })
730
748
  ]
731
749
  });
732
- }), Vr = /*#__PURE__*/ y.forwardRef((_param, h)=>{
733
- var { icon: r, title: a, titleLinesMax: i, subtitle: t, subtitleLinesMax: c, dataAttributes: o, "aria-label": d, extra: l, isInverse: u = !1, aspectRatio: m } = _param, s = _object_without_properties(_param, [
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 = s.href || s.to || s.onPress, v = u ? ne : J;
746
- return /* @__PURE__ */ e(P, {
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
- }, o),
767
+ }, d),
750
768
  ref: h,
751
- className: E,
769
+ className: X,
752
770
  aspectRatio: m,
753
- children: /* @__PURE__ */ e($, {
754
- className: L,
755
- isInverse: u,
771
+ children: /* @__PURE__ */ e(re, {
772
+ className: Z,
773
+ isInverse: p,
756
774
  width: "100%",
757
775
  minHeight: "100%",
758
- children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
776
+ children: /* @__PURE__ */ i(G, _object_spread_props(_object_spread({
759
777
  maybe: !0
760
- }, s), {
761
- className: G,
762
- "aria-label": d,
778
+ }, o), {
779
+ className: j,
780
+ "aria-label": s,
763
781
  children: [
764
782
  f && /* @__PURE__ */ e("div", {
765
- className: v
783
+ className: y
766
784
  }),
767
- /* @__PURE__ */ n("section", {
768
- className: Ge,
785
+ /* @__PURE__ */ i("section", {
786
+ className: Xe,
769
787
  children: [
770
- /* @__PURE__ */ n("div", {
788
+ /* @__PURE__ */ i("div", {
771
789
  children: [
772
- r && /* @__PURE__ */ e(R, {
773
- paddingBottom: 16,
774
- children: r
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__ */ n(N, {
799
+ /* @__PURE__ */ i(C, {
777
800
  space: 4,
778
801
  children: [
779
- a && /* @__PURE__ */ e(S, {
780
- truncate: i,
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(S, {
809
+ t && /* @__PURE__ */ e(A, {
787
810
  truncate: c,
788
811
  regular: !0,
789
- color: g.colors.textSecondary,
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
- }), Be = /*#__PURE__*/ y.forwardRef((_param, x)=>{
808
- var { isInverse: r, backgroundImage: a, backgroundVideo: i, backgroundVideoRef: t, poster: c, icon: o, headline: d, pretitle: l, pretitleLinesMax: u, title: m, titleLinesMax: s, description: h, descriptionLinesMax: f, extra: v, button: w, secondaryButton: T, onClose: b, actions: C, buttonLink: p, dataAttributes: M, width: A, height: D, aspectRatio: O, "aria-label": X } = _param, I = _object_without_properties(_param, [
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 H = a !== void 0, B = i !== void 0, Z = Ae(a), { video: F, videoAction: z } = Ie(i, c, t);
835
- B && (C = z ? [
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 _ = Ce(), k = H || B, W = k ? "0 0 16px rgba(0,0,0,0.4)" : void 0, q = (C == null ? void 0 : C.length) || b, j = I.href || I.to || I.onPress, Q = H || B ? ge : r ? ne : J;
839
- return /* @__PURE__ */ n(P, {
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: x,
842
- width: A,
864
+ ref: B,
865
+ width: R,
843
866
  height: D,
844
867
  aspectRatio: O,
845
- "aria-label": X,
846
- className: E,
868
+ "aria-label": P,
869
+ className: X,
847
870
  children: [
848
- /* @__PURE__ */ e(se, {
849
- borderRadius: g.borderRadii.legacyDisplay,
850
- className: L,
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: H || B ? _ ? g.colors.backgroundContainerBrandOverInverse : g.colors.backgroundContainer : void 0,
855
- children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
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
- }, I), {
858
- className: G,
859
- "aria-label": X,
880
+ }, x), {
881
+ className: j,
882
+ "aria-label": P,
860
883
  children: [
861
- j && /* @__PURE__ */ e("div", {
862
- className: Q
884
+ _ && /* @__PURE__ */ e("div", {
885
+ className: Y
863
886
  }),
864
- /* @__PURE__ */ n("div", {
865
- className: ue,
887
+ /* @__PURE__ */ i("div", {
888
+ className: ve,
866
889
  children: [
867
- (H || B) && /* @__PURE__ */ e(Ne, {
868
- isInverse: _,
890
+ (V || S) && /* @__PURE__ */ e(Te, {
891
+ isInverse: L,
869
892
  children: /* @__PURE__ */ e("div", {
870
- className: pe,
871
- children: B ? F : Z
893
+ className: fe,
894
+ children: S ? W : q
872
895
  })
873
896
  }),
874
- /* @__PURE__ */ n("div", {
875
- className: fe,
897
+ /* @__PURE__ */ i("div", {
898
+ className: ye,
876
899
  style: {
877
- paddingTop: k && !o && !q && !B ? 0 : 24
900
+ paddingTop: w && !d && !J && !S ? 0 : 24
878
901
  },
879
902
  children: [
880
- o ? /* @__PURE__ */ e(R, {
881
- paddingBottom: k ? 0 : 40,
882
- paddingX: 24,
883
- children: o
884
- }) : /* @__PURE__ */ e(R, {
885
- paddingBottom: q || B ? k ? 24 : 64 : 0
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(R, {
915
+ /* @__PURE__ */ e(k, {
888
916
  paddingX: 24,
889
- paddingTop: k ? 40 : 0,
917
+ paddingTop: w ? 40 : 0,
890
918
  paddingBottom: 24,
891
- className: k ? ve : void 0,
892
- children: /* @__PURE__ */ n(N, {
919
+ className: w ? ge : void 0,
920
+ children: /* @__PURE__ */ i(C, {
893
921
  space: 24,
894
922
  children: [
895
- /* @__PURE__ */ n("div", {
923
+ /* @__PURE__ */ i("div", {
896
924
  children: [
897
- /* @__PURE__ */ n(N, {
925
+ /* @__PURE__ */ i(C, {
898
926
  space: 8,
899
927
  children: [
900
- (d || l || m) && /* @__PURE__ */ e("header", {
901
- children: /* @__PURE__ */ n(N, {
928
+ (s || l || m) && /* @__PURE__ */ e("header", {
929
+ children: /* @__PURE__ */ i(C, {
902
930
  space: 16,
903
931
  children: [
904
- d,
905
- /* @__PURE__ */ n(N, {
932
+ s,
933
+ /* @__PURE__ */ i(C, {
906
934
  space: 4,
907
935
  children: [
908
- l && /* @__PURE__ */ e(S, {
936
+ l && /* @__PURE__ */ e(A, {
909
937
  forceMobileSizes: !0,
910
- truncate: u,
938
+ truncate: p,
911
939
  as: "div",
912
940
  regular: !0,
913
- textShadow: W,
941
+ textShadow: U,
914
942
  children: l
915
943
  }),
916
- /* @__PURE__ */ e(Re, {
944
+ /* @__PURE__ */ e(ze, {
917
945
  forceMobileSizes: !0,
918
- truncate: s,
946
+ truncate: o,
919
947
  as: "h3",
920
- textShadow: W,
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(Me, {
957
+ h && /* @__PURE__ */ e(De, {
930
958
  forceMobileSizes: !0,
931
959
  truncate: f,
932
960
  as: "p",
933
961
  regular: !0,
934
- color: k ? g.colors.textPrimary : g.colors.textSecondary,
935
- textShadow: W,
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
- v
969
+ y
942
970
  ]
943
971
  }),
944
- (w || T || p) && /* @__PURE__ */ e(ee, {
945
- primaryButton: w,
972
+ (I || T || v) && /* @__PURE__ */ e(ae, {
973
+ primaryButton: I,
946
974
  secondaryButton: T,
947
- link: p
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(U, {
960
- onClose: b,
961
- actions: C,
962
- type: H || B ? "media" : r ? "inverse" : "default"
987
+ /* @__PURE__ */ e($, {
988
+ onClose: N,
989
+ actions: b,
990
+ type: V || S ? "media" : r ? "inverse" : "default"
963
991
  })
964
992
  ]
965
993
  });
966
- }), Er = /*#__PURE__*/ y.forwardRef((_param, i)=>/* @__PURE__ */ {
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(Be, _object_spread_props(_object_spread({}, a), {
971
- ref: i,
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
- }), Gr = /*#__PURE__*/ y.forwardRef((_param, i)=>/* @__PURE__ */ {
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(Be, _object_spread_props(_object_spread({}, a), {
982
- ref: i,
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
- }), Pr = /*#__PURE__*/ y.forwardRef((_param, X)=>{
988
- var { dataAttributes: r, backgroundImage: a, backgroundVideo: i, poster: t, backgroundVideoRef: c, width: o, height: d, aspectRatio: l = "7:10", ariaLabel: u, actions: m, onClose: s, icon: h, headline: f, pretitle: v, pretitleLinesMax: w, title: T, titleLinesMax: b, description: C, descriptionLinesMax: p, variant: M, isInverse: A, backgroundColor: D } = _param, O = _object_without_properties(_param, [
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 I = a !== void 0, x = i !== void 0, H = Ae(a), { video: B, videoAction: Z } = Ie(i, t, c);
1013
- x && (m = Z ? [
1014
- Z
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 F = Ce(), z = I || x, _ = z ? "0 0 16px rgba(0,0,0,0.4)" : void 0, k = (m == null ? void 0 : m.length) || s, { textPresets: W } = K(), q = O.href || O.to || O.onPress, j = M || (A ? "inverse" : "default"), Q = ()=>D || ({
1017
- default: g.colors.backgroundContainer,
1018
- inverse: F ? g.colors.backgroundContainerBrandOverInverse : g.colors.backgroundBrand,
1019
- alternative: g.colors.backgroundAlternative
1020
- })[j], Se = I || x ? ge : j === "inverse" ? ne : J;
1021
- return /* @__PURE__ */ n(P, {
1022
- width: o,
1023
- height: d,
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: X,
1055
+ ref: P,
1028
1056
  aspectRatio: l,
1029
- "aria-label": u,
1030
- className: E,
1057
+ "aria-label": p,
1058
+ className: X,
1031
1059
  children: [
1032
- /* @__PURE__ */ e(se, {
1033
- borderRadius: g.borderRadii.legacyDisplay,
1034
- className: L,
1060
+ /* @__PURE__ */ e(le, {
1061
+ borderRadius: u.borderRadii.legacyDisplay,
1062
+ className: Z,
1035
1063
  width: "100%",
1036
1064
  minHeight: "100%",
1037
- isInverse: I || x || j === "inverse",
1038
- background: I || x ? F ? g.colors.backgroundContainerBrandOverInverse : g.colors.backgroundContainer : Q(),
1039
- children: /* @__PURE__ */ n(V, _object_spread_props(_object_spread({
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: G,
1043
- "aria-label": u,
1070
+ className: j,
1071
+ "aria-label": p,
1044
1072
  children: [
1045
- q && /* @__PURE__ */ e("div", {
1046
- className: Se
1073
+ J && /* @__PURE__ */ e("div", {
1074
+ className: we
1047
1075
  }),
1048
- /* @__PURE__ */ n("div", {
1049
- className: ue,
1076
+ /* @__PURE__ */ i("div", {
1077
+ className: ve,
1050
1078
  children: [
1051
- (I || x) && /* @__PURE__ */ e(Ne, {
1052
- isInverse: F,
1079
+ (x || B) && /* @__PURE__ */ e(Te, {
1080
+ isInverse: W,
1053
1081
  children: /* @__PURE__ */ e("div", {
1054
- className: pe,
1055
- children: x ? B : H
1082
+ className: fe,
1083
+ children: B ? S : V
1056
1084
  })
1057
1085
  }),
1058
- /* @__PURE__ */ n(R, {
1059
- className: fe,
1060
- paddingTop: z && !h && !k && !x ? 0 : {
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(R, {
1066
- paddingBottom: z ? 0 : 40,
1067
- paddingX: {
1068
- mobile: 16,
1069
- desktop: 24
1070
- },
1071
- children: h
1072
- }) : /* @__PURE__ */ e(R, {
1073
- paddingBottom: k || x ? z ? 24 : 64 : 0
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(R, {
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 ? ve : void 0,
1083
- children: /* @__PURE__ */ e(N, {
1115
+ className: z ? ge : void 0,
1116
+ children: /* @__PURE__ */ e(C, {
1084
1117
  space: 24,
1085
1118
  children: /* @__PURE__ */ e("div", {
1086
- children: /* @__PURE__ */ n(N, {
1119
+ children: /* @__PURE__ */ i(C, {
1087
1120
  space: 8,
1088
1121
  children: [
1089
- (f || v || T) && /* @__PURE__ */ e("header", {
1090
- children: /* @__PURE__ */ n(N, {
1122
+ (f || y || T) && /* @__PURE__ */ e("header", {
1123
+ children: /* @__PURE__ */ i(C, {
1091
1124
  space: 16,
1092
1125
  children: [
1093
1126
  f,
1094
- /* @__PURE__ */ n(N, {
1127
+ /* @__PURE__ */ i(C, {
1095
1128
  space: 4,
1096
1129
  children: [
1097
- v && /* @__PURE__ */ e(S, {
1130
+ y && /* @__PURE__ */ e(A, {
1098
1131
  forceMobileSizes: !0,
1099
- truncate: w,
1132
+ truncate: I,
1100
1133
  as: "div",
1101
1134
  regular: !0,
1102
- textShadow: _,
1135
+ textShadow: L,
1103
1136
  hyphens: "auto",
1104
- children: v
1137
+ children: y
1105
1138
  }),
1106
- /* @__PURE__ */ e(oe, {
1139
+ /* @__PURE__ */ e(se, {
1107
1140
  desktopSize: 20,
1108
1141
  mobileSize: 18,
1109
1142
  mobileLineHeight: "24px",
1110
1143
  desktopLineHeight: "28px",
1111
- truncate: b,
1112
- weight: W.cardTitle.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
- C && /* @__PURE__ */ e(S, {
1155
+ b && /* @__PURE__ */ e(A, {
1123
1156
  forceMobileSizes: !0,
1124
- truncate: p,
1157
+ truncate: v,
1125
1158
  as: "p",
1126
1159
  regular: !0,
1127
- textShadow: _,
1160
+ textShadow: L,
1128
1161
  hyphens: "auto",
1129
- children: C
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(U, {
1144
- onClose: s,
1176
+ /* @__PURE__ */ e($, {
1177
+ onClose: o,
1145
1178
  actions: m,
1146
- type: I || x ? "media" : j === "inverse" ? "inverse" : "default"
1179
+ type: x || B ? "media" : _ === "inverse" ? "inverse" : "default"
1147
1180
  })
1148
1181
  ]
1149
1182
  });
1150
1183
  });
1151
- export { er as CardActionIconButton, ir as CardActionSpinner, U as CardActionsGroup, Hr as DataCard, Gr as DisplayDataCard, Er as DisplayMediaCard, zr as MediaCard, Dr as NakedCard, Pr as PosterCard, Or as SmallNakedCard, Vr as SnapCard, xe as TOP_ACTION_BUTTON_SIZE };
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 };