@telefonica/mistica 14.20.1 → 14.21.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 (175) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/avatar.css-mistica.js +1 -1
  3. package/dist/badge.css-mistica.js +1 -1
  4. package/dist/boxed.css-mistica.js +1 -1
  5. package/dist/button-group.css-mistica.js +1 -1
  6. package/dist/button-layout.css-mistica.js +8 -8
  7. package/dist/button-layout.js +2 -2
  8. package/dist/button.css-mistica.js +17 -17
  9. package/dist/callout.css-mistica.js +1 -1
  10. package/dist/card.css-mistica.js +16 -16
  11. package/dist/card.js +190 -193
  12. package/dist/carousel.css-mistica.js +11 -11
  13. package/dist/checkbox.css-mistica.js +9 -9
  14. package/dist/chip.css-mistica.js +4 -4
  15. package/dist/circle.css-mistica.js +2 -2
  16. package/dist/community/advanced-data-card.css-mistica.js +4 -4
  17. package/dist/community/blocks.css-mistica.js +1 -1
  18. package/dist/dialog.css-mistica.js +9 -9
  19. package/dist/dialog.js +52 -62
  20. package/dist/double-field.css-mistica.js +2 -2
  21. package/dist/empty-state-card.css-mistica.js +1 -1
  22. package/dist/empty-state.css-mistica.js +2 -2
  23. package/dist/feedback.css-mistica.js +15 -6
  24. package/dist/feedback.css.d.ts +4 -1
  25. package/dist/feedback.d.ts +10 -3
  26. package/dist/feedback.js +140 -107
  27. package/dist/fixed-footer-layout.css-mistica.js +2 -2
  28. package/dist/fixed-footer-layout.js +2 -2
  29. package/dist/grid.css.d.ts +6 -6
  30. package/dist/hero.css-mistica.js +3 -3
  31. package/dist/highlighted-card.css-mistica.js +4 -4
  32. package/dist/horizontal-scroll.css-mistica.js +1 -1
  33. package/dist/icon-button.css-mistica.js +1 -1
  34. package/dist/icons/icon-error.d.ts +4 -1
  35. package/dist/icons/icon-error.js +16 -12
  36. package/dist/icons/icon-info.d.ts +4 -1
  37. package/dist/icons/icon-info.js +42 -14
  38. package/dist/icons/icon-success-vivo-new.d.ts +6 -0
  39. package/dist/icons/icon-success-vivo-new.js +86 -0
  40. package/dist/icons/icon-success-vivo.d.ts +2 -3
  41. package/dist/icons/icon-success-vivo.js +11 -15
  42. package/dist/icons/icon-success.d.ts +2 -2
  43. package/dist/icons/icon-success.js +2 -2
  44. package/dist/image.css-mistica.js +1 -1
  45. package/dist/index.d.ts +4 -0
  46. package/dist/index.js +30 -0
  47. package/dist/list.css-mistica.js +6 -6
  48. package/dist/loading-bar.css-mistica.js +2 -2
  49. package/dist/maybe-dismissable.css-mistica.js +1 -1
  50. package/dist/menu.css-mistica.js +1 -1
  51. package/dist/modal-context-provider.d.ts +1 -0
  52. package/dist/modal-context-provider.js +24 -10
  53. package/dist/navigation-bar.css-mistica.js +10 -10
  54. package/dist/navigation-breadcrumbs.css-mistica.js +1 -1
  55. package/dist/nestable-context.js +2 -7
  56. package/dist/package-version.js +1 -1
  57. package/dist/password-field.css-mistica.js +2 -2
  58. package/dist/popover.css-mistica.js +8 -8
  59. package/dist/progress-bar.css-mistica.js +1 -1
  60. package/dist/radio-button.css-mistica.js +5 -5
  61. package/dist/responsive-layout.css-mistica.js +1 -1
  62. package/dist/screen-reader-only.css-mistica.js +1 -1
  63. package/dist/select.css-mistica.js +10 -10
  64. package/dist/sheet-root.d.ts +93 -0
  65. package/dist/sheet-root.js +370 -0
  66. package/dist/sheet.css-mistica.js +66 -0
  67. package/dist/sheet.css.d.ts +17 -0
  68. package/dist/sheet.css.ts.vanilla.css-mistica.js +11 -0
  69. package/dist/sheet.d.ts +107 -0
  70. package/dist/sheet.js +643 -0
  71. package/dist/skeletons.css-mistica.js +1 -1
  72. package/dist/snackbar.css-mistica.js +1 -1
  73. package/dist/spinner.css-mistica.js +1 -1
  74. package/dist/sprinkles.css-mistica.js +191 -172
  75. package/dist/sprinkles.css.d.ts +4 -3
  76. package/dist/stack.js +14 -13
  77. package/dist/stacking-group.css-mistica.js +2 -2
  78. package/dist/stepper.css-mistica.js +8 -8
  79. package/dist/switch-component.css-mistica.js +13 -13
  80. package/dist/switch-component.js +2 -2
  81. package/dist/tabs.css-mistica.js +7 -7
  82. package/dist/tag.css-mistica.js +1 -1
  83. package/dist/text-field-base.css-mistica.js +6 -6
  84. package/dist/text-field-components.css-mistica.js +5 -5
  85. package/dist/text-link.css-mistica.js +3 -3
  86. package/dist/theme.d.ts +1 -0
  87. package/dist/theme.js +22 -18
  88. package/dist/tooltip.css-mistica.js +11 -11
  89. package/dist/touchable.css-mistica.js +2 -2
  90. package/dist/utils/animation.d.ts +2 -1
  91. package/dist/utils/animation.js +28 -14
  92. package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
  93. package/dist/utils/helpers.d.ts +9 -0
  94. package/dist/utils/helpers.js +46 -0
  95. package/dist/utils/utility-types.d.ts +1 -1
  96. package/dist/video.css-mistica.js +1 -1
  97. package/dist-es/avatar.css-mistica.js +1 -1
  98. package/dist-es/badge.css-mistica.js +1 -1
  99. package/dist-es/boxed.css-mistica.js +1 -1
  100. package/dist-es/button-group.css-mistica.js +1 -1
  101. package/dist-es/button-layout.css-mistica.js +7 -7
  102. package/dist-es/button-layout.js +1 -1
  103. package/dist-es/button.css-mistica.js +9 -9
  104. package/dist-es/callout.css-mistica.js +1 -1
  105. package/dist-es/card.css-mistica.js +2 -2
  106. package/dist-es/card.js +251 -254
  107. package/dist-es/carousel.css-mistica.js +2 -2
  108. package/dist-es/checkbox.css-mistica.js +6 -6
  109. package/dist-es/chip.css-mistica.js +4 -4
  110. package/dist-es/circle.css-mistica.js +2 -2
  111. package/dist-es/community/advanced-data-card.css-mistica.js +3 -3
  112. package/dist-es/community/blocks.css-mistica.js +1 -1
  113. package/dist-es/dialog.css-mistica.js +5 -5
  114. package/dist-es/dialog.js +101 -111
  115. package/dist-es/double-field.css-mistica.js +2 -2
  116. package/dist-es/empty-state-card.css-mistica.js +1 -1
  117. package/dist-es/empty-state.css-mistica.js +2 -2
  118. package/dist-es/feedback.css-mistica.js +2 -2
  119. package/dist-es/feedback.js +180 -147
  120. package/dist-es/fixed-footer-layout.css-mistica.js +2 -2
  121. package/dist-es/fixed-footer-layout.js +1 -1
  122. package/dist-es/hero.css-mistica.js +2 -2
  123. package/dist-es/highlighted-card.css-mistica.js +4 -4
  124. package/dist-es/horizontal-scroll.css-mistica.js +1 -1
  125. package/dist-es/icon-button.css-mistica.js +1 -1
  126. package/dist-es/icons/icon-error.js +40 -36
  127. package/dist-es/icons/icon-info.js +45 -17
  128. package/dist-es/icons/icon-success-vivo-new.js +77 -0
  129. package/dist-es/icons/icon-success-vivo.js +19 -23
  130. package/dist-es/icons/icon-success.js +2 -2
  131. package/dist-es/image.css-mistica.js +1 -1
  132. package/dist-es/index.js +1709 -1706
  133. package/dist-es/list.css-mistica.js +2 -2
  134. package/dist-es/loading-bar.css-mistica.js +2 -2
  135. package/dist-es/maybe-dismissable.css-mistica.js +1 -1
  136. package/dist-es/menu.css-mistica.js +1 -1
  137. package/dist-es/modal-context-provider.js +22 -11
  138. package/dist-es/navigation-bar.css-mistica.js +9 -9
  139. package/dist-es/navigation-breadcrumbs.css-mistica.js +1 -1
  140. package/dist-es/nestable-context.js +1 -1
  141. package/dist-es/package-version.js +1 -1
  142. package/dist-es/password-field.css-mistica.js +2 -2
  143. package/dist-es/popover.css-mistica.js +2 -2
  144. package/dist-es/progress-bar.css-mistica.js +1 -1
  145. package/dist-es/radio-button.css-mistica.js +4 -4
  146. package/dist-es/responsive-layout.css-mistica.js +1 -1
  147. package/dist-es/screen-reader-only.css-mistica.js +1 -1
  148. package/dist-es/select.css-mistica.js +9 -9
  149. package/dist-es/sheet-root.js +306 -0
  150. package/dist-es/sheet.css-mistica.js +4 -0
  151. package/dist-es/sheet.css.ts.vanilla.css-mistica.js +2 -0
  152. package/dist-es/sheet.js +570 -0
  153. package/dist-es/skeletons.css-mistica.js +1 -1
  154. package/dist-es/snackbar.css-mistica.js +1 -1
  155. package/dist-es/spinner.css-mistica.js +1 -1
  156. package/dist-es/sprinkles.css-mistica.js +191 -172
  157. package/dist-es/stack.js +18 -17
  158. package/dist-es/stacking-group.css-mistica.js +2 -2
  159. package/dist-es/stepper.css-mistica.js +2 -2
  160. package/dist-es/style.css +1 -1
  161. package/dist-es/switch-component.css-mistica.js +13 -13
  162. package/dist-es/switch-component.js +1 -1
  163. package/dist-es/tabs.css-mistica.js +6 -6
  164. package/dist-es/tag.css-mistica.js +1 -1
  165. package/dist-es/text-field-base.css-mistica.js +2 -2
  166. package/dist-es/text-field-components.css-mistica.js +2 -2
  167. package/dist-es/text-link.css-mistica.js +3 -3
  168. package/dist-es/theme.js +28 -24
  169. package/dist-es/tooltip.css-mistica.js +3 -3
  170. package/dist-es/touchable.css-mistica.js +2 -2
  171. package/dist-es/utils/animation.js +26 -15
  172. package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
  173. package/dist-es/utils/helpers.js +29 -0
  174. package/dist-es/video.css-mistica.js +1 -1
  175. package/package.json +4 -4
package/dist-es/card.js CHANGED
@@ -77,53 +77,53 @@ function _object_without_properties_loose(source, excluded) {
77
77
  }
78
78
  return target;
79
79
  }
80
- import { jsx as e, jsxs as n, Fragment as Se } from "react/jsx-runtime";
80
+ import { jsx as e, jsxs as n, Fragment as we } from "react/jsx-runtime";
81
81
  import * as N from "react";
82
- import we from "./tag.js";
82
+ import Be from "./tag.js";
83
83
  import C from "./stack.js";
84
- import B from "./box.js";
85
- import { Text2 as x, Text6 as Be, Text3 as Ie, Text as ne } from "./text.js";
86
- import { Boxed as K, InternalBoxed as te } from "./boxed.js";
87
- import Q from "./button-group.js";
84
+ import S from "./box.js";
85
+ import { Text2 as A, Text6 as Se, Text3 as Ie, Text as ne } from "./text.js";
86
+ import { Boxed as Q, InternalBoxed as te } from "./boxed.js";
87
+ import Y from "./button-group.js";
88
88
  import $, { MediaBorderRadiusProvider as Re } from "./image.js";
89
- import { BaseTouchable as z } from "./touchable.js";
89
+ import { BaseTouchable as D } from "./touchable.js";
90
90
  import { vars as y } from "./skins/skin-contract.css-mistica.js";
91
- import { cardContainer as Me, vars as De, touchableContainer as O, boxed as j, touchable as H, touchableMediaCardOverlay as ze, mediaCard as V, mediaCardContent as Oe, mediaCardIcon as se, touchableNakedMediaOverlay as le, circularMediaOverlay as oe, nakedCardContent as de, touchableCardOverlay as Y, dataCard as He, actions as ce, snapCard as _e, displayCardContainer as he, displayCardBackground as me, displayCardContent as pe, displayCardGradient as ue, cardActionIconButton as Ee, touchableCardOverlayInverse as ee, touchableCardOverlayMedia as fe, cardAction as We, cardActionInverse as Ge, cardActionMedia as Pe } from "./card.css-mistica.js";
92
- import { useTheme as Z } from "./hooks.js";
91
+ import { cardContainer as Me, vars as ze, touchableContainer as O, boxed as _, touchable as H, touchableMediaCardOverlay as De, mediaCard as V, mediaCardContent as Oe, mediaCardIcon as se, touchableNakedMediaOverlay as le, circularMediaOverlay as oe, nakedCardContent as de, touchableCardOverlay as Z, dataCard as He, actions as ce, snapCard as Ee, displayCardContainer as he, displayCardBackground as me, displayCardContent as pe, displayCardGradient as ue, cardActionIconButton as Ge, touchableCardOverlayInverse as ee, touchableCardOverlayMedia as fe, cardAction as ke, cardActionInverse as Xe, cardActionMedia as je } from "./card.css-mistica.js";
92
+ import { useTheme as q } from "./hooks.js";
93
93
  import { sprinkles as ve } from "./sprinkles.css-mistica.js";
94
- import ke from "./icon-button.js";
95
- import Xe from "./generated/mistica-icons/icon-close-regular.js";
96
- import je from "./generated/mistica-icons/icon-pause-filled.js";
97
- import Fe from "./generated/mistica-icons/icon-play-filled.js";
94
+ import Fe from "./icon-button.js";
95
+ import Pe from "./generated/mistica-icons/icon-close-regular.js";
96
+ import _e from "./generated/mistica-icons/icon-pause-filled.js";
97
+ import We from "./generated/mistica-icons/icon-play-filled.js";
98
98
  import { combineRefs as Le } from "./utils/common.js";
99
99
  import Ue from "./spinner.js";
100
- import Ye from "./video.js";
100
+ import Ze from "./video.js";
101
101
  import { useIsInverseVariant as ye, ThemeVariant as ge } from "./theme-variant-context.js";
102
102
  import re from "classnames";
103
- import { assignInlineVars as Ze } from "@vanilla-extract/dynamic";
104
- import qe from "./inline.js";
105
- import { getPrefixedDataAttributes as Je } from "./utils/dom.js";
103
+ import { assignInlineVars as qe } from "@vanilla-extract/dynamic";
104
+ import Je from "./inline.js";
105
+ import { getPrefixedDataAttributes as Ke } from "./utils/dom.js";
106
106
  const Ne = (r, a)=>{
107
- const { texts: i } = Z(), l = r ? [
107
+ const { texts: i } = q(), l = r ? [
108
108
  ...r
109
109
  ] : [];
110
110
  return a && l.push({
111
111
  label: i.closeButtonLabel,
112
112
  onPress: a,
113
- Icon: Xe
113
+ Icon: Pe
114
114
  }), l;
115
- }, Ce = 48, F = (param)=>{
115
+ }, Ce = 48, W = (param)=>{
116
116
  let { actions: r , onClose: a , type: i = "default" } = param;
117
- const l = Ne(r, a), m = l.length > 0, s = {
117
+ const l = Ne(r, a), p = l.length > 0, s = {
118
118
  default: y.colors.neutralHigh,
119
119
  inverse: y.colors.inverse,
120
120
  media: "#000000"
121
- }, d = {
122
- default: We,
123
- inverse: Ge,
124
- media: Pe
121
+ }, o = {
122
+ default: ke,
123
+ inverse: Xe,
124
+ media: je
125
125
  };
126
- return m ? /* @__PURE__ */ e("div", {
126
+ return p ? /* @__PURE__ */ e("div", {
127
127
  style: {
128
128
  position: "absolute",
129
129
  right: 8,
@@ -135,19 +135,19 @@ const Ne = (r, a)=>{
135
135
  display: "flex"
136
136
  }),
137
137
  children: l.map((param, h)=>/* @__PURE__ */ {
138
- let { onPress: c , label: p , Icon: o , disabled: t = !1 } = param;
139
- return e(ke, {
138
+ let { onPress: d , label: m , Icon: c , disabled: t = !1 } = param;
139
+ return e(Fe, {
140
140
  disabled: t,
141
141
  size: Ce,
142
- onPress: c,
143
- "aria-label": p,
144
- className: Ee,
142
+ onPress: d,
143
+ "aria-label": m,
144
+ className: Ge,
145
145
  style: {
146
146
  display: "flex"
147
147
  },
148
148
  children: /* @__PURE__ */ e("div", {
149
- className: d[i],
150
- children: /* @__PURE__ */ e(o, {
149
+ className: o[i],
150
+ children: /* @__PURE__ */ e(c, {
151
151
  color: s[i],
152
152
  size: 20
153
153
  })
@@ -155,26 +155,25 @@ const Ne = (r, a)=>{
155
155
  }, h);
156
156
  })
157
157
  })
158
- }) : /* @__PURE__ */ e(Se, {});
159
- }, Ke = (r)=>r ? typeof r == "number" ? r : ({
158
+ }) : /* @__PURE__ */ e(we, {});
159
+ }, Qe = (r)=>r ? typeof r == "number" ? r : ({
160
160
  "1:1": 1,
161
161
  "16:9": 16 / 9,
162
162
  "7:10": 7 / 10,
163
163
  "9:10": 9 / 10,
164
164
  auto: 0
165
- })[r] : 0, _ = /*#__PURE__*/ N.forwardRef((param, p)=>{
166
- let { children: r , width: a = "100%" , height: i = "100%" , minWidth: l , aspectRatio: m , dataAttributes: s , className: d , "aria-label": c } = param;
167
- const o = Ke(m);
168
- return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Je(s)), {
169
- ref: p,
170
- "aria-label": c,
171
- className: re(d, Me),
165
+ })[r] : 0, E = /*#__PURE__*/ N.forwardRef((param, d)=>{
166
+ let { children: r , width: a = "100%" , height: i = "100%" , aspectRatio: l , dataAttributes: p , className: s , "aria-label": o } = param;
167
+ const m = Qe(l);
168
+ return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({}, Ke(p)), {
169
+ ref: d,
170
+ "aria-label": o,
171
+ className: re(s, Me),
172
172
  style: _object_spread({
173
173
  width: a,
174
- height: i,
175
- minWidth: l
176
- }, o ? Ze({
177
- [De.aspectRatio]: String(o)
174
+ height: i
175
+ }, m ? qe({
176
+ [ze.aspectRatio]: String(m)
178
177
  }) : {}),
179
178
  children: r
180
179
  }));
@@ -182,7 +181,7 @@ const Ne = (r, a)=>{
182
181
  width: "100%",
183
182
  height: "100%",
184
183
  src: r !== null && r !== void 0 ? r : "//:0"
185
- }), Qe = {
184
+ }), Ye = {
186
185
  loading: {
187
186
  showSpinner: "loadingTimeout",
188
187
  play: "playing",
@@ -206,7 +205,7 @@ const Ne = (r, a)=>{
206
205
  error: {
207
206
  reset: "loading"
208
207
  }
209
- }, $e = (r, a)=>Qe[r][a] || r, Ve = (param)=>/* @__PURE__ */ {
208
+ }, $e = (r, a)=>Ye[r][a] || r, Ve = (param)=>/* @__PURE__ */ {
210
209
  let { color: r } = param;
211
210
  return e(Ue, {
212
211
  color: r,
@@ -215,55 +214,55 @@ const Ne = (r, a)=>{
215
214
  });
216
215
  }, ie = (param)=>/* @__PURE__ */ {
217
216
  let { color: r } = param;
218
- return e(je, {
217
+ return e(_e, {
219
218
  color: r,
220
219
  size: 12
221
220
  });
222
221
  }, er = (param)=>/* @__PURE__ */ {
223
222
  let { color: r } = param;
224
- return e(Fe, {
223
+ return e(We, {
225
224
  color: r,
226
225
  size: 12
227
226
  });
228
- }, Ae = (r, a, i)=>{
229
- const { texts: l } = Z(), m = N.useRef(null), [s, d] = N.useReducer($e, "loading");
227
+ }, be = (r, a, i)=>{
228
+ const { texts: l } = q(), p = N.useRef(null), [s, o] = N.useReducer($e, "loading");
230
229
  N.useEffect(()=>{
231
230
  var h;
232
- const t = setTimeout(()=>d("showSpinner"), 2e3);
233
- return (h = m.current) == null || h.load(), ()=>{
234
- clearTimeout(t), d("reset");
231
+ const t = setTimeout(()=>o("showSpinner"), 2e3);
232
+ return (h = p.current) == null || h.load(), ()=>{
233
+ clearTimeout(t), o("reset");
235
234
  };
236
235
  }, [
237
236
  r
238
237
  ]);
239
- const c = N.useMemo(()=>r ? /* @__PURE__ */ e(Ye, {
240
- ref: Le(m, i),
238
+ const d = N.useMemo(()=>r ? /* @__PURE__ */ e(Ze, {
239
+ ref: Le(p, i),
241
240
  src: r,
242
241
  width: "100%",
243
242
  height: "100%",
244
243
  poster: a,
245
- onError: ()=>d("fail"),
246
- onPause: ()=>d("pause"),
247
- onPlay: ()=>d("play")
244
+ onError: ()=>o("fail"),
245
+ onPause: ()=>o("pause"),
246
+ onPlay: ()=>o("play")
248
247
  }) : void 0, [
249
248
  i,
250
249
  r,
251
250
  a
252
- ]), p = ()=>{
253
- const t = m.current;
254
- t && (s === "loading" ? d("showSpinner") : s === "paused" ? t.play() : s === "playing" && t.pause());
251
+ ]), m = ()=>{
252
+ const t = p.current;
253
+ t && (s === "loading" ? o("showSpinner") : s === "paused" ? t.play() : s === "playing" && t.pause());
255
254
  };
256
255
  if (s === "error") return {
257
- video: c
256
+ video: d
258
257
  };
259
- const o = {
258
+ const c = {
260
259
  Icon: {
261
260
  playing: ie,
262
261
  loading: ie,
263
262
  paused: er,
264
263
  loadingTimeout: Ve
265
264
  }[s],
266
- onPress: p,
265
+ onPress: m,
267
266
  label: {
268
267
  playing: l.pauseIconButtonLabel,
269
268
  loading: l.pauseIconButtonLabel,
@@ -273,12 +272,12 @@ const Ne = (r, a)=>{
273
272
  disabled: s === "loadingTimeout"
274
273
  };
275
274
  return {
276
- video: c,
277
- videoAction: o
275
+ video: d,
276
+ videoAction: c
278
277
  };
279
278
  }, ae = (param)=>{
280
- let { headline: r , pretitle: a , pretitleLinesMax: i , title: l , titleLinesMax: m , subtitle: s , subtitleLinesMax: d , description: c , descriptionLinesMax: p , extra: o , button: t , buttonLink: h } = param;
281
- const { textPresets: f } = Z(), v = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(we, {
279
+ let { headline: r , pretitle: a , pretitleLinesMax: i , title: l , titleLinesMax: p , subtitle: s , subtitleLinesMax: o , description: d , descriptionLinesMax: m , extra: c , button: t , buttonLink: h } = param;
280
+ const { textPresets: f } = q(), v = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(Be, {
282
281
  type: "promo",
283
282
  children: r
284
283
  }) : r : null;
@@ -303,7 +302,7 @@ const Ne = (r, a)=>{
303
302
  /* @__PURE__ */ n(C, {
304
303
  space: 4,
305
304
  children: [
306
- a && /* @__PURE__ */ e(x, {
305
+ a && /* @__PURE__ */ e(A, {
307
306
  truncate: i,
308
307
  as: "div",
309
308
  regular: !0,
@@ -315,14 +314,14 @@ const Ne = (r, a)=>{
315
314
  mobileLineHeight: "24px",
316
315
  desktopSize: 20,
317
316
  desktopLineHeight: "28px",
318
- truncate: m,
317
+ truncate: p,
319
318
  weight: f.cardTitle.weight,
320
319
  as: "h3",
321
320
  hyphens: "auto",
322
321
  children: l
323
322
  }),
324
- /* @__PURE__ */ e(x, {
325
- truncate: d,
323
+ /* @__PURE__ */ e(A, {
324
+ truncate: o,
326
325
  as: "div",
327
326
  regular: !0,
328
327
  hyphens: "auto",
@@ -333,32 +332,32 @@ const Ne = (r, a)=>{
333
332
  ]
334
333
  })
335
334
  }),
336
- c && /* @__PURE__ */ e(x, {
337
- truncate: p,
335
+ d && /* @__PURE__ */ e(A, {
336
+ truncate: m,
338
337
  as: "p",
339
338
  regular: !0,
340
339
  color: y.colors.textSecondary,
341
340
  hyphens: "auto",
342
- children: c
341
+ children: d
343
342
  })
344
343
  ]
345
344
  }),
346
- o && /* @__PURE__ */ e("div", {
347
- children: o
345
+ c && /* @__PURE__ */ e("div", {
346
+ children: c
348
347
  })
349
348
  ]
350
349
  }),
351
350
  (t || h) && /* @__PURE__ */ e("div", {
352
351
  className: ce,
353
- children: /* @__PURE__ */ e(Q, {
352
+ children: /* @__PURE__ */ e(Y, {
354
353
  primaryButton: t,
355
354
  link: h
356
355
  })
357
356
  })
358
357
  ]
359
358
  });
360
- }, Ir = /*#__PURE__*/ N.forwardRef((_param, I)=>{
361
- var { media: r , icon: a , headline: i , pretitle: l , pretitleLinesMax: m , subtitle: s , subtitleLinesMax: d , title: c , titleLinesMax: p , description: o , descriptionLinesMax: t , extra: h , actions: f , button: v , buttonLink: S , dataAttributes: A , "aria-label": T , onClose: g } = _param, u = _object_without_properties(_param, [
359
+ }, Br = /*#__PURE__*/ N.forwardRef((_param, I)=>{
360
+ var { media: r , icon: a , headline: i , pretitle: l , pretitleLinesMax: p , subtitle: s , subtitleLinesMax: o , title: d , titleLinesMax: m , description: c , descriptionLinesMax: t , extra: h , actions: f , button: v , buttonLink: w , dataAttributes: b , "aria-label": T , onClose: g } = _param, u = _object_without_properties(_param, [
362
361
  "media",
363
362
  "icon",
364
363
  "headline",
@@ -378,27 +377,27 @@ const Ne = (r, a)=>{
378
377
  "aria-label",
379
378
  "onClose"
380
379
  ]);
381
- const b = u.href || u.to || u.onPress;
382
- return /* @__PURE__ */ n(_, {
380
+ const x = u.href || u.to || u.onPress;
381
+ return /* @__PURE__ */ n(E, {
383
382
  dataAttributes: _object_spread({
384
383
  "component-name": "MediaCard"
385
- }, A),
384
+ }, b),
386
385
  ref: I,
387
386
  "aria-label": T,
388
387
  className: O,
389
388
  children: [
390
- /* @__PURE__ */ e(K, {
391
- className: j,
389
+ /* @__PURE__ */ e(Q, {
390
+ className: _,
392
391
  width: "100%",
393
392
  height: "100%",
394
- children: /* @__PURE__ */ n(z, _object_spread_props(_object_spread({
393
+ children: /* @__PURE__ */ n(D, _object_spread_props(_object_spread({
395
394
  maybe: !0
396
395
  }, u), {
397
396
  className: H,
398
397
  "aria-label": T,
399
398
  children: [
400
- b && /* @__PURE__ */ e("div", {
401
- className: ze
399
+ x && /* @__PURE__ */ e("div", {
400
+ className: De
402
401
  }),
403
402
  /* @__PURE__ */ n("div", {
404
403
  className: V,
@@ -412,19 +411,19 @@ const Ne = (r, a)=>{
412
411
  children: /* @__PURE__ */ e(ae, {
413
412
  headline: i,
414
413
  pretitle: l,
415
- pretitleLinesMax: m,
416
- title: c,
417
- titleLinesMax: p,
414
+ pretitleLinesMax: p,
415
+ title: d,
416
+ titleLinesMax: m,
418
417
  subtitle: s,
419
- subtitleLinesMax: d,
420
- description: o,
418
+ subtitleLinesMax: o,
419
+ description: c,
421
420
  descriptionLinesMax: t,
422
421
  extra: h,
423
422
  button: v,
424
- buttonLink: S
423
+ buttonLink: w
425
424
  })
426
425
  }),
427
- a && /* @__PURE__ */ e(B, {
426
+ a && /* @__PURE__ */ e(S, {
428
427
  className: se,
429
428
  paddingLeft: {
430
429
  mobile: 16,
@@ -441,15 +440,15 @@ const Ne = (r, a)=>{
441
440
  ]
442
441
  }))
443
442
  }),
444
- /* @__PURE__ */ e(F, {
443
+ /* @__PURE__ */ e(W, {
445
444
  onClose: g,
446
445
  actions: f,
447
446
  type: "media"
448
447
  })
449
448
  ]
450
449
  });
451
- }), Rr = /*#__PURE__*/ N.forwardRef((_param, I)=>{
452
- var { media: r , icon: a , headline: i , pretitle: l , pretitleLinesMax: m , subtitle: s , subtitleLinesMax: d , title: c , titleLinesMax: p , description: o , descriptionLinesMax: t , extra: h , actions: f , button: v , buttonLink: S , dataAttributes: A , "aria-label": T , onClose: g } = _param, u = _object_without_properties(_param, [
450
+ }), Sr = /*#__PURE__*/ N.forwardRef((_param, I)=>{
451
+ var { media: r , icon: a , headline: i , pretitle: l , pretitleLinesMax: p , subtitle: s , subtitleLinesMax: o , title: d , titleLinesMax: m , description: c , descriptionLinesMax: t , extra: h , actions: f , button: v , buttonLink: w , dataAttributes: b , "aria-label": T , onClose: g } = _param, u = _object_without_properties(_param, [
453
452
  "media",
454
453
  "icon",
455
454
  "headline",
@@ -469,16 +468,16 @@ const Ne = (r, a)=>{
469
468
  "aria-label",
470
469
  "onClose"
471
470
  ]);
472
- const b = u.href || u.to || u.onPress, M = r && r.type === $ && r.props.circular;
473
- return /* @__PURE__ */ n(_, {
471
+ const x = u.href || u.to || u.onPress, M = r && r.type === $ && r.props.circular;
472
+ return /* @__PURE__ */ n(E, {
474
473
  ref: I,
475
474
  dataAttributes: _object_spread({
476
475
  "component-name": "NakedCard"
477
- }, A),
476
+ }, b),
478
477
  "aria-label": T,
479
- className: b ? O : void 0,
478
+ className: x ? O : void 0,
480
479
  children: [
481
- /* @__PURE__ */ e(z, _object_spread_props(_object_spread({
480
+ /* @__PURE__ */ e(D, _object_spread_props(_object_spread({
482
481
  maybe: !0
483
482
  }, u), {
484
483
  className: H,
@@ -491,7 +490,7 @@ const Ne = (r, a)=>{
491
490
  position: "relative"
492
491
  },
493
492
  children: [
494
- b && /* @__PURE__ */ e("div", {
493
+ x && /* @__PURE__ */ e("div", {
495
494
  className: re(le, {
496
495
  [oe]: M
497
496
  })
@@ -504,19 +503,19 @@ const Ne = (r, a)=>{
504
503
  children: /* @__PURE__ */ e(ae, {
505
504
  headline: i,
506
505
  pretitle: l,
507
- pretitleLinesMax: m,
508
- title: c,
509
- titleLinesMax: p,
506
+ pretitleLinesMax: p,
507
+ title: d,
508
+ titleLinesMax: m,
510
509
  subtitle: s,
511
- subtitleLinesMax: d,
512
- description: o,
510
+ subtitleLinesMax: o,
511
+ description: c,
513
512
  descriptionLinesMax: t,
514
513
  extra: h,
515
514
  button: v,
516
- buttonLink: S
515
+ buttonLink: w
517
516
  })
518
517
  }),
519
- a && /* @__PURE__ */ e(B, {
518
+ a && /* @__PURE__ */ e(S, {
520
519
  className: se,
521
520
  paddingLeft: {
522
521
  mobile: 16,
@@ -531,15 +530,15 @@ const Ne = (r, a)=>{
531
530
  ]
532
531
  })
533
532
  })),
534
- /* @__PURE__ */ e(F, {
533
+ /* @__PURE__ */ e(W, {
535
534
  onClose: g,
536
535
  actions: f,
537
536
  type: "media"
538
537
  })
539
538
  ]
540
539
  });
541
- }), Mr = /*#__PURE__*/ N.forwardRef((_param, h)=>{
542
- var { media: r , title: a , titleLinesMax: i , subtitle: l , subtitleLinesMax: m , description: s , descriptionLinesMax: d , extra: c , dataAttributes: p , "aria-label": o } = _param, t = _object_without_properties(_param, [
540
+ }), Ir = /*#__PURE__*/ N.forwardRef((_param, h)=>{
541
+ var { media: r , title: a , titleLinesMax: i , subtitle: l , subtitleLinesMax: p , description: s , descriptionLinesMax: o , extra: d , dataAttributes: m , "aria-label": c } = _param, t = _object_without_properties(_param, [
543
542
  "media",
544
543
  "title",
545
544
  "titleLinesMax",
@@ -552,18 +551,18 @@ const Ne = (r, a)=>{
552
551
  "aria-label"
553
552
  ]);
554
553
  const f = t.href || t.to || t.onPress, v = r && r.type === $ && r.props.circular;
555
- return /* @__PURE__ */ e(_, {
554
+ return /* @__PURE__ */ e(E, {
556
555
  ref: h,
557
556
  dataAttributes: _object_spread({
558
557
  "component-name": "SmallNakedCard"
559
- }, p),
560
- "aria-label": o,
558
+ }, m),
559
+ "aria-label": c,
561
560
  className: f ? O : void 0,
562
- children: /* @__PURE__ */ e(z, _object_spread_props(_object_spread({
561
+ children: /* @__PURE__ */ e(D, _object_spread_props(_object_spread({
563
562
  maybe: !0
564
563
  }, t), {
565
564
  className: H,
566
- "aria-label": o,
565
+ "aria-label": c,
567
566
  children: /* @__PURE__ */ n("div", {
568
567
  className: V,
569
568
  children: [
@@ -588,15 +587,15 @@ const Ne = (r, a)=>{
588
587
  /* @__PURE__ */ n(C, {
589
588
  space: 8,
590
589
  children: [
591
- a && /* @__PURE__ */ e(x, {
590
+ a && /* @__PURE__ */ e(A, {
592
591
  truncate: i,
593
592
  as: "h3",
594
593
  regular: !0,
595
594
  hyphens: "auto",
596
595
  children: a
597
596
  }),
598
- l && /* @__PURE__ */ e(x, {
599
- truncate: m,
597
+ l && /* @__PURE__ */ e(A, {
598
+ truncate: p,
600
599
  regular: !0,
601
600
  as: "p",
602
601
  hyphens: "auto",
@@ -604,8 +603,8 @@ const Ne = (r, a)=>{
604
603
  })
605
604
  ]
606
605
  }),
607
- s && /* @__PURE__ */ e(x, {
608
- truncate: d,
606
+ s && /* @__PURE__ */ e(A, {
607
+ truncate: o,
609
608
  regular: !0,
610
609
  as: "p",
611
610
  color: y.colors.textSecondary,
@@ -614,8 +613,8 @@ const Ne = (r, a)=>{
614
613
  })
615
614
  ]
616
615
  }),
617
- c && /* @__PURE__ */ e("div", {
618
- children: c
616
+ d && /* @__PURE__ */ e("div", {
617
+ children: d
619
618
  })
620
619
  ]
621
620
  })
@@ -623,8 +622,8 @@ const Ne = (r, a)=>{
623
622
  })
624
623
  }))
625
624
  });
626
- }), Dr = /*#__PURE__*/ N.forwardRef((_param, I)=>{
627
- var { icon: r , headline: a , pretitle: i , pretitleLinesMax: l , title: m , titleLinesMax: s , subtitle: d , subtitleLinesMax: c , description: p , descriptionLinesMax: o , extra: t , actions: h , button: f , buttonLink: v , dataAttributes: S , "aria-label": A , onClose: T , aspectRatio: g } = _param, u = _object_without_properties(_param, [
625
+ }), Rr = /*#__PURE__*/ N.forwardRef((_param, I)=>{
626
+ var { icon: r , headline: a , pretitle: i , pretitleLinesMax: l , title: p , titleLinesMax: s , subtitle: o , subtitleLinesMax: d , description: m , descriptionLinesMax: c , extra: t , actions: h , button: f , buttonLink: v , dataAttributes: w , "aria-label": b , onClose: T , aspectRatio: g } = _param, u = _object_without_properties(_param, [
628
627
  "icon",
629
628
  "headline",
630
629
  "pretitle",
@@ -644,58 +643,58 @@ const Ne = (r, a)=>{
644
643
  "onClose",
645
644
  "aspectRatio"
646
645
  ]);
647
- const b = !!r, M = u.href || u.to || u.onPress, D = Ne(h, T), E = {
646
+ const x = !!r, M = u.href || u.to || u.onPress, z = Ne(h, T), G = {
648
647
  marginRight: -16,
649
648
  marginTop: -24,
650
- width: Ce * D.length
649
+ width: Ce * z.length
651
650
  };
652
- return /* @__PURE__ */ n(_, {
651
+ return /* @__PURE__ */ n(E, {
653
652
  dataAttributes: _object_spread({
654
653
  "component-name": "DataCard"
655
- }, S),
654
+ }, w),
656
655
  ref: I,
657
- "aria-label": A,
656
+ "aria-label": b,
658
657
  className: O,
659
658
  aspectRatio: g,
660
659
  children: [
661
- /* @__PURE__ */ e(K, {
662
- className: j,
660
+ /* @__PURE__ */ e(Q, {
661
+ className: _,
663
662
  width: "100%",
664
663
  minHeight: "100%",
665
- children: /* @__PURE__ */ n(z, _object_spread_props(_object_spread({
664
+ children: /* @__PURE__ */ n(D, _object_spread_props(_object_spread({
666
665
  maybe: !0
667
666
  }, u), {
668
667
  className: H,
669
- "aria-label": A,
668
+ "aria-label": b,
670
669
  children: [
671
670
  M && /* @__PURE__ */ e("div", {
672
- className: Y
671
+ className: Z
673
672
  }),
674
673
  /* @__PURE__ */ n("div", {
675
674
  className: He,
676
675
  children: [
677
- /* @__PURE__ */ n(qe, {
676
+ /* @__PURE__ */ n(Je, {
678
677
  space: 0,
679
678
  children: [
680
679
  /* @__PURE__ */ n(C, {
681
680
  space: 16,
682
681
  children: [
683
- b ? r : null,
682
+ x ? r : null,
684
683
  /* @__PURE__ */ e(ae, {
685
684
  headline: a,
686
685
  pretitle: i,
687
686
  pretitleLinesMax: l,
688
- title: m,
687
+ title: p,
689
688
  titleLinesMax: s,
690
- subtitle: d,
691
- subtitleLinesMax: c,
692
- description: p,
693
- descriptionLinesMax: o
689
+ subtitle: o,
690
+ subtitleLinesMax: d,
691
+ description: m,
692
+ descriptionLinesMax: c
694
693
  })
695
694
  ]
696
695
  }),
697
- !b && /* @__PURE__ */ e("div", {
698
- style: E
696
+ !x && /* @__PURE__ */ e("div", {
697
+ style: G
699
698
  })
700
699
  ]
701
700
  }),
@@ -704,7 +703,7 @@ const Ne = (r, a)=>{
704
703
  }),
705
704
  (f || v) && /* @__PURE__ */ e("div", {
706
705
  className: ce,
707
- children: /* @__PURE__ */ e(Q, {
706
+ children: /* @__PURE__ */ e(Y, {
708
707
  primaryButton: f,
709
708
  link: v
710
709
  })
@@ -714,15 +713,15 @@ const Ne = (r, a)=>{
714
713
  ]
715
714
  }))
716
715
  }),
717
- /* @__PURE__ */ e(F, {
716
+ /* @__PURE__ */ e(W, {
718
717
  onClose: T,
719
718
  actions: h,
720
719
  type: "default"
721
720
  })
722
721
  ]
723
722
  });
724
- }), zr = /*#__PURE__*/ N.forwardRef((_param, h)=>{
725
- var { icon: r , title: a , titleLinesMax: i , subtitle: l , subtitleLinesMax: m , dataAttributes: s , "aria-label": d , extra: c , isInverse: p = !1 , aspectRatio: o } = _param, t = _object_without_properties(_param, [
723
+ }), Mr = /*#__PURE__*/ N.forwardRef((_param, h)=>{
724
+ var { icon: r , title: a , titleLinesMax: i , subtitle: l , subtitleLinesMax: p , dataAttributes: s , "aria-label": o , extra: d , isInverse: m = !1 , aspectRatio: c } = _param, t = _object_without_properties(_param, [
726
725
  "icon",
727
726
  "title",
728
727
  "titleLinesMax",
@@ -734,49 +733,49 @@ const Ne = (r, a)=>{
734
733
  "isInverse",
735
734
  "aspectRatio"
736
735
  ]);
737
- const f = t.href || t.to || t.onPress, v = p ? ee : Y;
738
- return /* @__PURE__ */ e(_, {
736
+ const f = t.href || t.to || t.onPress, v = m ? ee : Z;
737
+ return /* @__PURE__ */ e(E, {
739
738
  dataAttributes: _object_spread({
740
739
  "component-name": "SnapCard"
741
740
  }, s),
742
741
  ref: h,
743
742
  className: O,
744
- aspectRatio: o,
745
- children: /* @__PURE__ */ e(K, {
746
- className: j,
747
- isInverse: p,
743
+ aspectRatio: c,
744
+ children: /* @__PURE__ */ e(Q, {
745
+ className: _,
746
+ isInverse: m,
748
747
  width: "100%",
749
748
  minHeight: "100%",
750
- children: /* @__PURE__ */ n(z, _object_spread_props(_object_spread({
749
+ children: /* @__PURE__ */ n(D, _object_spread_props(_object_spread({
751
750
  maybe: !0
752
751
  }, t), {
753
752
  className: H,
754
- "aria-label": d,
753
+ "aria-label": o,
755
754
  children: [
756
755
  f && /* @__PURE__ */ e("div", {
757
756
  className: v
758
757
  }),
759
758
  /* @__PURE__ */ n("section", {
760
- className: _e,
759
+ className: Ee,
761
760
  children: [
762
761
  /* @__PURE__ */ n("div", {
763
762
  children: [
764
- r && /* @__PURE__ */ e(B, {
763
+ r && /* @__PURE__ */ e(S, {
765
764
  paddingBottom: 16,
766
765
  children: r
767
766
  }),
768
767
  /* @__PURE__ */ n(C, {
769
768
  space: 4,
770
769
  children: [
771
- a && /* @__PURE__ */ e(x, {
770
+ a && /* @__PURE__ */ e(A, {
772
771
  truncate: i,
773
772
  as: "h3",
774
773
  regular: !0,
775
774
  hyphens: "auto",
776
775
  children: a
777
776
  }),
778
- l && /* @__PURE__ */ e(x, {
779
- truncate: m,
777
+ l && /* @__PURE__ */ e(A, {
778
+ truncate: p,
780
779
  regular: !0,
781
780
  color: y.colors.textSecondary,
782
781
  as: "p",
@@ -787,8 +786,8 @@ const Ne = (r, a)=>{
787
786
  })
788
787
  ]
789
788
  }),
790
- c && /* @__PURE__ */ e("div", {
791
- children: c
789
+ d && /* @__PURE__ */ e("div", {
790
+ children: d
792
791
  })
793
792
  ]
794
793
  })
@@ -796,8 +795,8 @@ const Ne = (r, a)=>{
796
795
  }))
797
796
  })
798
797
  });
799
- }), rr = 264, be = /*#__PURE__*/ N.forwardRef((_param, q)=>{
800
- var { isInverse: r , backgroundImage: a , backgroundVideo: i , backgroundVideoRef: l , poster: m , icon: s , headline: d , pretitle: c , pretitleLinesMax: p , title: o , titleLinesMax: t , description: h , descriptionLinesMax: f , extra: v , button: S , secondaryButton: A , onClose: T , actions: g , buttonLink: u , dataAttributes: I , width: b , height: M , aspectRatio: D , "aria-label": E } = _param, W = _object_without_properties(_param, [
798
+ }), xe = /*#__PURE__*/ N.forwardRef((_param, J)=>{
799
+ var { isInverse: r , backgroundImage: a , backgroundVideo: i , backgroundVideoRef: l , poster: p , icon: s , headline: o , pretitle: d , pretitleLinesMax: m , title: c , titleLinesMax: t , description: h , descriptionLinesMax: f , extra: v , button: w , secondaryButton: b , onClose: T , actions: g , buttonLink: u , dataAttributes: I , width: x , height: M , aspectRatio: z , "aria-label": G } = _param, k = _object_without_properties(_param, [
801
800
  "isInverse",
802
801
  "backgroundImage",
803
802
  "backgroundVideo",
@@ -823,65 +822,64 @@ const Ne = (r, a)=>{
823
822
  "aspectRatio",
824
823
  "aria-label"
825
824
  ]);
826
- const L = Te(a), { video: P , videoAction: R } = Ae(i, m, l);
825
+ const L = Te(a), { video: j , videoAction: R } = be(i, p, l);
827
826
  i && (g = R ? [
828
827
  R
829
828
  ] : []);
830
- const k = ye(), w = !!a || !!i, X = w ? "0 0 16px rgba(0,0,0,0.4)" : void 0, U = (g == null ? void 0 : g.length) || T, G = W.href || W.to || W.onPress, J = a || i ? fe : r ? ee : Y;
831
- return /* @__PURE__ */ n(_, {
829
+ const F = ye(), B = !!a || !!i, P = B ? "0 0 16px rgba(0,0,0,0.4)" : void 0, U = (g == null ? void 0 : g.length) || T, X = k.href || k.to || k.onPress, K = a || i ? fe : r ? ee : Z;
830
+ return /* @__PURE__ */ n(E, {
832
831
  dataAttributes: I,
833
- ref: q,
834
- width: b,
832
+ ref: J,
833
+ width: x,
835
834
  height: M,
836
- aspectRatio: D,
837
- "aria-label": E,
838
- minWidth: rr,
835
+ aspectRatio: z,
836
+ "aria-label": G,
839
837
  className: O,
840
838
  children: [
841
839
  /* @__PURE__ */ e(te, {
842
840
  borderRadius: y.borderRadii.legacyDisplay,
843
- className: j,
841
+ className: _,
844
842
  width: "100%",
845
843
  minHeight: "100%",
846
844
  isInverse: r,
847
- background: a || i ? k ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : void 0,
848
- children: /* @__PURE__ */ n(z, _object_spread_props(_object_spread({
845
+ background: a || i ? F ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : void 0,
846
+ children: /* @__PURE__ */ n(D, _object_spread_props(_object_spread({
849
847
  maybe: !0
850
- }, W), {
848
+ }, k), {
851
849
  className: H,
852
- "aria-label": E,
850
+ "aria-label": G,
853
851
  children: [
854
- G && /* @__PURE__ */ e("div", {
855
- className: J
852
+ X && /* @__PURE__ */ e("div", {
853
+ className: K
856
854
  }),
857
855
  /* @__PURE__ */ n("div", {
858
856
  className: he,
859
857
  children: [
860
858
  /* @__PURE__ */ e(ge, {
861
- isInverse: k,
859
+ isInverse: F,
862
860
  children: /* @__PURE__ */ e("div", {
863
861
  className: me,
864
- children: i ? P : a ? L : void 0
862
+ children: i ? j : a ? L : void 0
865
863
  })
866
864
  }),
867
865
  /* @__PURE__ */ n("div", {
868
866
  className: pe,
869
867
  style: {
870
- paddingTop: w && !s && !U && !i ? 0 : 24
868
+ paddingTop: B && !s && !U && !i ? 0 : 24
871
869
  },
872
870
  children: [
873
- s ? /* @__PURE__ */ e(B, {
874
- paddingBottom: w ? 0 : 40,
871
+ s ? /* @__PURE__ */ e(S, {
872
+ paddingBottom: B ? 0 : 40,
875
873
  paddingX: 24,
876
874
  children: s
877
- }) : /* @__PURE__ */ e(B, {
878
- paddingBottom: U || i ? w ? 24 : 64 : 0
875
+ }) : /* @__PURE__ */ e(S, {
876
+ paddingBottom: U || i ? B ? 24 : 64 : 0
879
877
  }),
880
- /* @__PURE__ */ e(B, {
878
+ /* @__PURE__ */ e(S, {
881
879
  paddingX: 24,
882
- paddingTop: w ? 40 : 0,
880
+ paddingTop: B ? 40 : 0,
883
881
  paddingBottom: 24,
884
- className: w ? ue : void 0,
882
+ className: B ? ue : void 0,
885
883
  children: /* @__PURE__ */ n(C, {
886
884
  space: 24,
887
885
  children: [
@@ -890,29 +888,29 @@ const Ne = (r, a)=>{
890
888
  /* @__PURE__ */ n(C, {
891
889
  space: 8,
892
890
  children: [
893
- (d || c || o) && /* @__PURE__ */ e("header", {
891
+ (o || d || c) && /* @__PURE__ */ e("header", {
894
892
  children: /* @__PURE__ */ n(C, {
895
893
  space: 16,
896
894
  children: [
897
- d,
895
+ o,
898
896
  /* @__PURE__ */ n(C, {
899
897
  space: 4,
900
898
  children: [
901
- c && /* @__PURE__ */ e(x, {
899
+ d && /* @__PURE__ */ e(A, {
902
900
  forceMobileSizes: !0,
903
- truncate: p,
901
+ truncate: m,
904
902
  as: "div",
905
903
  regular: !0,
906
- textShadow: X,
907
- children: c
904
+ textShadow: P,
905
+ children: d
908
906
  }),
909
- /* @__PURE__ */ e(Be, {
907
+ /* @__PURE__ */ e(Se, {
910
908
  forceMobileSizes: !0,
911
909
  truncate: t,
912
910
  as: "h3",
913
- textShadow: X,
911
+ textShadow: P,
914
912
  hyphens: "auto",
915
- children: o
913
+ children: c
916
914
  })
917
915
  ]
918
916
  })
@@ -924,8 +922,8 @@ const Ne = (r, a)=>{
924
922
  truncate: f,
925
923
  as: "p",
926
924
  regular: !0,
927
- color: w ? y.colors.textPrimary : y.colors.textSecondary,
928
- textShadow: X,
925
+ color: B ? y.colors.textPrimary : y.colors.textSecondary,
926
+ textShadow: P,
929
927
  hyphens: "auto",
930
928
  children: h
931
929
  })
@@ -934,9 +932,9 @@ const Ne = (r, a)=>{
934
932
  v
935
933
  ]
936
934
  }),
937
- (S || A || u) && /* @__PURE__ */ e(Q, {
938
- primaryButton: S,
939
- secondaryButton: A,
935
+ (w || b || u) && /* @__PURE__ */ e(Y, {
936
+ primaryButton: w,
937
+ secondaryButton: b,
940
938
  link: u
941
939
  })
942
940
  ]
@@ -949,36 +947,36 @@ const Ne = (r, a)=>{
949
947
  ]
950
948
  }))
951
949
  }),
952
- /* @__PURE__ */ e(F, {
950
+ /* @__PURE__ */ e(W, {
953
951
  onClose: T,
954
952
  actions: g,
955
953
  type: a || i ? "media" : r ? "inverse" : "default"
956
954
  })
957
955
  ]
958
956
  });
959
- }), Or = /*#__PURE__*/ N.forwardRef((_param, i)=>/* @__PURE__ */ {
957
+ }), zr = /*#__PURE__*/ N.forwardRef((_param, i)=>/* @__PURE__ */ {
960
958
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
961
959
  "dataAttributes"
962
960
  ]);
963
- return e(be, _object_spread_props(_object_spread({}, a), {
961
+ return e(xe, _object_spread_props(_object_spread({}, a), {
964
962
  ref: i,
965
963
  isInverse: !0,
966
964
  dataAttributes: _object_spread_props(_object_spread({}, r), {
967
965
  "component-name": "DisplayMediaCard"
968
966
  })
969
967
  }));
970
- }), Hr = /*#__PURE__*/ N.forwardRef((_param, i)=>/* @__PURE__ */ {
968
+ }), Dr = /*#__PURE__*/ N.forwardRef((_param, i)=>/* @__PURE__ */ {
971
969
  var { dataAttributes: r } = _param, a = _object_without_properties(_param, [
972
970
  "dataAttributes"
973
971
  ]);
974
- return e(be, _object_spread_props(_object_spread({}, a), {
972
+ return e(xe, _object_spread_props(_object_spread({}, a), {
975
973
  ref: i,
976
974
  dataAttributes: _object_spread_props(_object_spread({}, r), {
977
975
  "component-name": "DisplayDataCard"
978
976
  })
979
977
  }));
980
- }), ar = 140, _r = /*#__PURE__*/ N.forwardRef((_param, E)=>{
981
- var { dataAttributes: r , backgroundImage: a , backgroundVideo: i , poster: l , backgroundVideoRef: m , width: s , height: d , aspectRatio: c = "7:10" , ariaLabel: p , actions: o , onClose: t , icon: h , headline: f , pretitle: v , pretitleLinesMax: S , title: A , titleLinesMax: T , description: g , descriptionLinesMax: u , variant: I , isInverse: b , backgroundColor: M } = _param, D = _object_without_properties(_param, [
978
+ }), Or = /*#__PURE__*/ N.forwardRef((_param, G)=>{
979
+ var { dataAttributes: r , backgroundImage: a , backgroundVideo: i , poster: l , backgroundVideoRef: p , width: s , height: o , aspectRatio: d = "7:10" , ariaLabel: m , actions: c , onClose: t , icon: h , headline: f , pretitle: v , pretitleLinesMax: w , title: b , titleLinesMax: T , description: g , descriptionLinesMax: u , variant: I , isInverse: x , backgroundColor: M } = _param, z = _object_without_properties(_param, [
982
980
  "dataAttributes",
983
981
  "backgroundImage",
984
982
  "backgroundVideo",
@@ -1002,71 +1000,70 @@ const Ne = (r, a)=>{
1002
1000
  "isInverse",
1003
1001
  "backgroundColor"
1004
1002
  ]);
1005
- const W = Te(a), { video: q , videoAction: L } = Ae(i, l, m);
1006
- i && (o = L ? [
1003
+ const k = Te(a), { video: J , videoAction: L } = be(i, l, p);
1004
+ i && (c = L ? [
1007
1005
  L
1008
1006
  ] : []);
1009
- const P = ye(), R = !!a || !!i, k = R ? "0 0 16px rgba(0,0,0,0.4)" : void 0, w = (o == null ? void 0 : o.length) || t, { textPresets: X } = Z(), U = D.href || D.to || D.onPress, G = I || (b ? "inverse" : "default"), J = ()=>M || ({
1007
+ const j = ye(), R = !!a || !!i, F = R ? "0 0 16px rgba(0,0,0,0.4)" : void 0, B = (c == null ? void 0 : c.length) || t, { textPresets: P } = q(), U = z.href || z.to || z.onPress, X = I || (x ? "inverse" : "default"), K = ()=>M || ({
1010
1008
  default: y.colors.backgroundContainer,
1011
- inverse: P ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundBrand,
1009
+ inverse: j ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundBrand,
1012
1010
  alternative: y.colors.backgroundAlternative
1013
- })[G], xe = a || i ? fe : G === "inverse" ? ee : Y;
1014
- return /* @__PURE__ */ n(_, {
1011
+ })[X], Ae = a || i ? fe : X === "inverse" ? ee : Z;
1012
+ return /* @__PURE__ */ n(E, {
1015
1013
  width: s,
1016
- height: d,
1014
+ height: o,
1017
1015
  dataAttributes: _object_spread_props(_object_spread({}, r), {
1018
1016
  "component-name": "PosterCard"
1019
1017
  }),
1020
- ref: E,
1021
- minWidth: ar,
1022
- aspectRatio: c,
1023
- "aria-label": p,
1018
+ ref: G,
1019
+ aspectRatio: d,
1020
+ "aria-label": m,
1024
1021
  className: O,
1025
1022
  children: [
1026
1023
  /* @__PURE__ */ e(te, {
1027
1024
  borderRadius: y.borderRadii.legacyDisplay,
1028
- className: j,
1025
+ className: _,
1029
1026
  width: "100%",
1030
1027
  minHeight: "100%",
1031
- isInverse: !!a || !!i || G === "inverse",
1032
- background: a || i ? P ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : J(),
1033
- children: /* @__PURE__ */ n(z, _object_spread_props(_object_spread({
1028
+ isInverse: !!a || !!i || X === "inverse",
1029
+ background: a || i ? j ? y.colors.backgroundContainerBrandOverInverse : y.colors.backgroundContainer : K(),
1030
+ children: /* @__PURE__ */ n(D, _object_spread_props(_object_spread({
1034
1031
  maybe: !0
1035
- }, D), {
1032
+ }, z), {
1036
1033
  className: H,
1037
- "aria-label": p,
1034
+ "aria-label": m,
1038
1035
  children: [
1039
1036
  U && /* @__PURE__ */ e("div", {
1040
- className: xe
1037
+ className: Ae
1041
1038
  }),
1042
1039
  /* @__PURE__ */ n("div", {
1043
1040
  className: he,
1044
1041
  children: [
1045
1042
  /* @__PURE__ */ e(ge, {
1046
- isInverse: P,
1043
+ isInverse: j,
1047
1044
  children: /* @__PURE__ */ e("div", {
1048
1045
  className: me,
1049
- children: i ? q : a ? W : void 0
1046
+ children: i ? J : a ? k : void 0
1050
1047
  })
1051
1048
  }),
1052
- /* @__PURE__ */ n(B, {
1049
+ /* @__PURE__ */ n(S, {
1053
1050
  className: pe,
1054
- paddingTop: R && !h && !w && !i ? 0 : {
1051
+ paddingTop: R && !h && !B && !i ? 0 : {
1055
1052
  mobile: h ? 16 : 24,
1056
1053
  desktop: 24
1057
1054
  },
1058
1055
  children: [
1059
- h ? /* @__PURE__ */ e(B, {
1056
+ h ? /* @__PURE__ */ e(S, {
1060
1057
  paddingBottom: R ? 0 : 40,
1061
1058
  paddingX: {
1062
1059
  mobile: 16,
1063
1060
  desktop: 24
1064
1061
  },
1065
1062
  children: h
1066
- }) : /* @__PURE__ */ e(B, {
1067
- paddingBottom: w || i ? R ? 24 : 64 : 0
1063
+ }) : /* @__PURE__ */ e(S, {
1064
+ paddingBottom: B || i ? R ? 24 : 64 : 0
1068
1065
  }),
1069
- /* @__PURE__ */ e(B, {
1066
+ /* @__PURE__ */ e(S, {
1070
1067
  paddingX: {
1071
1068
  mobile: 16,
1072
1069
  desktop: 24
@@ -1080,7 +1077,7 @@ const Ne = (r, a)=>{
1080
1077
  children: /* @__PURE__ */ n(C, {
1081
1078
  space: 8,
1082
1079
  children: [
1083
- (f || v || A) && /* @__PURE__ */ e("header", {
1080
+ (f || v || b) && /* @__PURE__ */ e("header", {
1084
1081
  children: /* @__PURE__ */ n(C, {
1085
1082
  space: 16,
1086
1083
  children: [
@@ -1088,12 +1085,12 @@ const Ne = (r, a)=>{
1088
1085
  /* @__PURE__ */ n(C, {
1089
1086
  space: 4,
1090
1087
  children: [
1091
- v && /* @__PURE__ */ e(x, {
1088
+ v && /* @__PURE__ */ e(A, {
1092
1089
  forceMobileSizes: !0,
1093
- truncate: S,
1090
+ truncate: w,
1094
1091
  as: "div",
1095
1092
  regular: !0,
1096
- textShadow: k,
1093
+ textShadow: F,
1097
1094
  hyphens: "auto",
1098
1095
  children: v
1099
1096
  }),
@@ -1103,22 +1100,22 @@ const Ne = (r, a)=>{
1103
1100
  mobileLineHeight: "24px",
1104
1101
  desktopLineHeight: "28px",
1105
1102
  truncate: T,
1106
- weight: X.cardTitle.weight,
1103
+ weight: P.cardTitle.weight,
1107
1104
  as: "h3",
1108
1105
  hyphens: "auto",
1109
- children: A
1106
+ children: b
1110
1107
  })
1111
1108
  ]
1112
1109
  })
1113
1110
  ]
1114
1111
  })
1115
1112
  }),
1116
- g && /* @__PURE__ */ e(x, {
1113
+ g && /* @__PURE__ */ e(A, {
1117
1114
  forceMobileSizes: !0,
1118
1115
  truncate: u,
1119
1116
  as: "p",
1120
1117
  regular: !0,
1121
- textShadow: k,
1118
+ textShadow: F,
1122
1119
  hyphens: "auto",
1123
1120
  children: g
1124
1121
  })
@@ -1134,12 +1131,12 @@ const Ne = (r, a)=>{
1134
1131
  ]
1135
1132
  }))
1136
1133
  }),
1137
- /* @__PURE__ */ e(F, {
1134
+ /* @__PURE__ */ e(W, {
1138
1135
  onClose: t,
1139
- actions: o,
1140
- type: a || i ? "media" : G === "inverse" ? "inverse" : "default"
1136
+ actions: c,
1137
+ type: a || i ? "media" : X === "inverse" ? "inverse" : "default"
1141
1138
  })
1142
1139
  ]
1143
1140
  });
1144
1141
  });
1145
- export { Ve as CardActionSpinner, F as CardActionsGroup, Dr as DataCard, Hr as DisplayDataCard, Or as DisplayMediaCard, Ir as MediaCard, Rr as NakedCard, _r as PosterCard, Mr as SmallNakedCard, zr as SnapCard, Ce as TOP_ACTION_BUTTON_SIZE };
1142
+ export { Ve as CardActionSpinner, W as CardActionsGroup, Rr as DataCard, Dr as DisplayDataCard, zr as DisplayMediaCard, Br as MediaCard, Sr as NakedCard, Or as PosterCard, Ir as SmallNakedCard, Mr as SnapCard, Ce as TOP_ACTION_BUTTON_SIZE };