@telefonica/mistica 13.6.1 → 14.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-es/card.js CHANGED
@@ -78,31 +78,31 @@ function _objectWithoutPropertiesLoose(source, excluded) {
78
78
  return target;
79
79
  }
80
80
  import * as x from "react";
81
- import O from "./tag.js";
82
- import b from "./stack.js";
83
- import A from "./box.js";
84
- import { Text2 as y, Text6 as P, Text3 as W, Text4 as $ } from "./text.js";
85
- import { Boxed as N, InternalBoxed as q } from "./boxed.js";
86
- import w from "./button-group.js";
81
+ import E from "./tag.js";
82
+ import g from "./stack.js";
83
+ import T from "./box.js";
84
+ import { Text2 as y, Text6 as O, Text3 as W, Text as $ } from "./text.js";
85
+ import { Boxed as D, InternalBoxed as q } from "./boxed.js";
86
+ import M from "./button-group.js";
87
87
  import { MediaBorderRadiusProvider as F } from "./image.js";
88
- import M, { useIsDismissable as J } from "./maybe-dismissable.js";
88
+ import R, { useIsDismissable as J } from "./maybe-dismissable.js";
89
89
  import { BaseTouchable as K } from "./touchable.js";
90
- import { vars as B } from "./skins/skin-contract.css-mistica.js";
91
- import { boxed as T, mediaCard as Q, mediaCardContent as U, dataCard as V, snapCardTouchableHover as Y, snapCardTouchableHoverTransparent as Z, snapCard as L, displayCard as rr, displayCardGradient as er, actions as ar, cardActionIconButton as ir, cardActionInverse as tr, cardAction as nr } from "./card.css-mistica.js";
92
- import { useTheme as R } from "./hooks.js";
93
- import { sprinkles as or } from "./sprinkles.css-mistica.js";
94
- import dr from "./inline.js";
95
- import lr from "./icon-button.js";
96
- import cr from "./generated/mistica-icons/icon-close-regular.js";
97
- import { jsx as r, jsxs as d } from "./_virtual/jsx-runtime.js";
90
+ import { vars as A } from "./skins/skin-contract.css-mistica.js";
91
+ import { boxed as B, mediaCard as Q, mediaCardContent as U, dataCard as V, snapCardTouchableHover as Y, snapCardTouchableHoverTransparent as Z, snapCard as L, displayCard as ee, displayCardGradient as re, actions as ae, cardActionIconButton as ie, cardActionInverse as te, cardAction as ne } from "./card.css-mistica.js";
92
+ import { useTheme as N } from "./hooks.js";
93
+ import { sprinkles as oe } from "./sprinkles.css-mistica.js";
94
+ import de from "./inline.js";
95
+ import le from "./icon-button.js";
96
+ import se from "./generated/mistica-icons/icon-close-regular.js";
97
+ import { jsx as e, jsxs as d } from "./_virtual/jsx-runtime.js";
98
98
  const z = (param)=>{
99
- let { headline: e , pretitle: a , pretitleLinesMax: i , title: t , titleLinesMax: n , subtitle: l , subtitleLinesMax: p , description: c , descriptionLinesMax: s , extra: o , button: u , buttonLink: m } = param;
100
- const f = ()=>e ? typeof e == "string" ? /* @__PURE__ */ r(O, {
99
+ let { headline: r , pretitle: a , pretitleLinesMax: i , title: t , titleLinesMax: n , subtitle: l , subtitleLinesMax: p , description: s , descriptionLinesMax: c , extra: o , button: u , buttonLink: m } = param;
100
+ const { textPresets: f } = N(), b = ()=>r ? typeof r == "string" ? /* @__PURE__ */ e(E, {
101
101
  type: "promo",
102
- children: e
103
- }) : e : null;
102
+ children: r
103
+ }) : r : null;
104
104
  return /* @__PURE__ */ d("div", {
105
- className: or({
105
+ className: oe({
106
106
  display: "flex",
107
107
  flex: 1,
108
108
  justifyContent: "space-between",
@@ -111,30 +111,34 @@ const z = (param)=>{
111
111
  children: [
112
112
  /* @__PURE__ */ d("div", {
113
113
  children: [
114
- /* @__PURE__ */ d(b, {
114
+ /* @__PURE__ */ d(g, {
115
115
  space: 8,
116
116
  children: [
117
- (e || a || t || l) && /* @__PURE__ */ r("header", {
118
- children: /* @__PURE__ */ d(b, {
117
+ (r || a || t || l) && /* @__PURE__ */ e("header", {
118
+ children: /* @__PURE__ */ d(g, {
119
119
  space: 8,
120
120
  children: [
121
- f(),
122
- /* @__PURE__ */ d(b, {
121
+ b(),
122
+ /* @__PURE__ */ d(g, {
123
123
  space: 4,
124
124
  children: [
125
- a && /* @__PURE__ */ r(y, {
125
+ a && /* @__PURE__ */ e(y, {
126
126
  truncate: i,
127
127
  as: "div",
128
128
  regular: !0,
129
129
  children: a
130
130
  }),
131
- /* @__PURE__ */ r($, {
131
+ /* @__PURE__ */ e($, {
132
+ mobileSize: 18,
133
+ mobileLineHeight: "24px",
134
+ desktopSize: 20,
135
+ desktopLineHeight: "28px",
132
136
  truncate: n,
137
+ weight: f.cardTitle.weight,
133
138
  as: "h3",
134
- regular: !0,
135
139
  children: t
136
140
  }),
137
- /* @__PURE__ */ r(y, {
141
+ /* @__PURE__ */ e(y, {
138
142
  truncate: p,
139
143
  as: "div",
140
144
  regular: !0,
@@ -145,23 +149,23 @@ const z = (param)=>{
145
149
  ]
146
150
  })
147
151
  }),
148
- c && /* @__PURE__ */ r(y, {
149
- truncate: s,
152
+ s && /* @__PURE__ */ e(y, {
153
+ truncate: c,
150
154
  as: "p",
151
155
  regular: !0,
152
- color: B.colors.textSecondary,
153
- children: c
156
+ color: A.colors.textSecondary,
157
+ children: s
154
158
  })
155
159
  ]
156
160
  }),
157
- o && /* @__PURE__ */ r("div", {
161
+ o && /* @__PURE__ */ e("div", {
158
162
  children: o
159
163
  })
160
164
  ]
161
165
  }),
162
- (u || m) && /* @__PURE__ */ r("div", {
163
- className: ar,
164
- children: /* @__PURE__ */ r(w, {
166
+ (u || m) && /* @__PURE__ */ e("div", {
167
+ className: ae,
168
+ children: /* @__PURE__ */ e(M, {
165
169
  primaryButton: u,
166
170
  link: m
167
171
  })
@@ -169,27 +173,27 @@ const z = (param)=>{
169
173
  ]
170
174
  });
171
175
  }, H = (param)=>{
172
- let { "aria-label": e , className: a , style: i , children: t } = param;
173
- return J() ? /* @__PURE__ */ r("div", {
176
+ let { "aria-label": r , className: a , style: i , children: t } = param;
177
+ return J() ? /* @__PURE__ */ e("div", {
174
178
  className: a,
175
179
  style: i,
176
180
  children: t
177
- }) : /* @__PURE__ */ r("section", {
181
+ }) : /* @__PURE__ */ e("section", {
178
182
  className: a,
179
183
  style: i,
180
- "aria-label": e,
184
+ "aria-label": r,
181
185
  children: t
182
186
  });
183
- }, Rr = /*#__PURE__*/ x.forwardRef((param, S)=>/* @__PURE__ */ {
184
- let { media: e , headline: a , pretitle: i , pretitleLinesMax: t , subtitle: n , subtitleLinesMax: l , title: p , titleLinesMax: c , description: s , descriptionLinesMax: o , extra: u , button: m , buttonLink: f , dataAttributes: g , "aria-label": h , onClose: C } = param;
185
- return r(M, {
187
+ }, Re = /*#__PURE__*/ x.forwardRef((param, S)=>/* @__PURE__ */ {
188
+ let { media: r , headline: a , pretitle: i , pretitleLinesMax: t , subtitle: n , subtitleLinesMax: l , title: p , titleLinesMax: s , description: c , descriptionLinesMax: o , extra: u , button: m , buttonLink: f , dataAttributes: b , "aria-label": h , onClose: C } = param;
189
+ return e(R, {
186
190
  onClose: C,
187
191
  "aria-label": h,
188
- children: /* @__PURE__ */ r(N, {
189
- className: T,
192
+ children: /* @__PURE__ */ e(D, {
193
+ className: B,
190
194
  dataAttributes: _objectSpread({
191
195
  "component-name": "MediaCard"
192
- }, g),
196
+ }, b),
193
197
  ref: S,
194
198
  width: "100%",
195
199
  height: "100%",
@@ -197,21 +201,21 @@ const z = (param)=>{
197
201
  className: Q,
198
202
  "aria-label": h,
199
203
  children: [
200
- /* @__PURE__ */ r(F, {
204
+ /* @__PURE__ */ e(F, {
201
205
  value: !1,
202
- children: e
206
+ children: r
203
207
  }),
204
- /* @__PURE__ */ r("div", {
208
+ /* @__PURE__ */ e("div", {
205
209
  className: U,
206
- children: /* @__PURE__ */ r(z, {
210
+ children: /* @__PURE__ */ e(z, {
207
211
  headline: a,
208
212
  pretitle: i,
209
213
  pretitleLinesMax: t,
210
214
  title: p,
211
- titleLinesMax: c,
215
+ titleLinesMax: s,
212
216
  subtitle: n,
213
217
  subtitleLinesMax: l,
214
- description: s,
218
+ description: c,
215
219
  descriptionLinesMax: o,
216
220
  extra: u,
217
221
  button: m,
@@ -222,16 +226,16 @@ const z = (param)=>{
222
226
  })
223
227
  })
224
228
  });
225
- }), zr = /*#__PURE__*/ x.forwardRef((param, S)=>/* @__PURE__ */ {
226
- let { icon: e , headline: a , pretitle: i , pretitleLinesMax: t , title: n , titleLinesMax: l , subtitle: p , subtitleLinesMax: c , description: s , descriptionLinesMax: o , extra: u , button: m , buttonLink: f , dataAttributes: g , "aria-label": h , onClose: C } = param;
227
- return r(M, {
229
+ }), ze = /*#__PURE__*/ x.forwardRef((param, S)=>/* @__PURE__ */ {
230
+ let { icon: r , headline: a , pretitle: i , pretitleLinesMax: t , title: n , titleLinesMax: l , subtitle: p , subtitleLinesMax: s , description: c , descriptionLinesMax: o , extra: u , button: m , buttonLink: f , dataAttributes: b , "aria-label": h , onClose: C } = param;
231
+ return e(R, {
228
232
  "aria-label": h,
229
233
  onClose: C,
230
- children: /* @__PURE__ */ r(N, {
231
- className: T,
234
+ children: /* @__PURE__ */ e(D, {
235
+ className: B,
232
236
  dataAttributes: _objectSpread({
233
237
  "component-name": "DataCard"
234
- }, g),
238
+ }, b),
235
239
  ref: S,
236
240
  width: "100%",
237
241
  height: "100%",
@@ -239,19 +243,19 @@ const z = (param)=>{
239
243
  className: V,
240
244
  "aria-label": h,
241
245
  children: [
242
- e && /* @__PURE__ */ r(A, {
246
+ r && /* @__PURE__ */ e(T, {
243
247
  paddingBottom: 16,
244
- children: e
248
+ children: r
245
249
  }),
246
- /* @__PURE__ */ r(z, {
250
+ /* @__PURE__ */ e(z, {
247
251
  headline: a,
248
252
  pretitle: i,
249
253
  pretitleLinesMax: t,
250
254
  title: n,
251
255
  titleLinesMax: l,
252
256
  subtitle: p,
253
- subtitleLinesMax: c,
254
- description: s,
257
+ subtitleLinesMax: s,
258
+ description: c,
255
259
  descriptionLinesMax: o,
256
260
  extra: u,
257
261
  button: m,
@@ -261,8 +265,8 @@ const z = (param)=>{
261
265
  })
262
266
  })
263
267
  });
264
- }), Hr = /*#__PURE__*/ x.forwardRef((_param, u)=>{
265
- var { icon: e , title: a , titleLinesMax: i , subtitle: t , subtitleLinesMax: n , dataAttributes: l , "aria-label": p , extra: c , isInverse: s = !1 } = _param, o = _objectWithoutProperties(_param, [
268
+ }), He = /*#__PURE__*/ x.forwardRef((_param, u)=>{
269
+ var { icon: r , title: a , titleLinesMax: i , subtitle: t , subtitleLinesMax: n , dataAttributes: l , "aria-label": p , extra: s , isInverse: c = !1 } = _param, o = _objectWithoutProperties(_param, [
266
270
  "icon",
267
271
  "title",
268
272
  "titleLinesMax",
@@ -273,43 +277,43 @@ const z = (param)=>{
273
277
  "extra",
274
278
  "isInverse"
275
279
  ]);
276
- const { isDarkMode: m } = R(), f = Boolean(o.to || o.href || o.onPress);
277
- return /* @__PURE__ */ r(N, {
278
- className: T,
280
+ const { isDarkMode: m } = N(), f = Boolean(o.to || o.href || o.onPress);
281
+ return /* @__PURE__ */ e(D, {
282
+ className: B,
279
283
  dataAttributes: _objectSpread({
280
284
  "component-name": "SnapCard"
281
285
  }, l),
282
286
  ref: u,
283
- isInverse: s,
287
+ isInverse: c,
284
288
  width: "100%",
285
289
  height: "100%",
286
- children: /* @__PURE__ */ r(K, _objectSpreadProps(_objectSpread({
290
+ children: /* @__PURE__ */ e(K, _objectSpreadProps(_objectSpread({
287
291
  maybe: !0
288
292
  }, o), {
289
- className: f && !s && !m ? Y : Z,
293
+ className: f && !c && !m ? Y : Z,
290
294
  "aria-label": p,
291
295
  children: /* @__PURE__ */ d("section", {
292
296
  className: L,
293
297
  children: [
294
298
  /* @__PURE__ */ d("div", {
295
299
  children: [
296
- e && /* @__PURE__ */ r(A, {
300
+ r && /* @__PURE__ */ e(T, {
297
301
  paddingBottom: 16,
298
- children: e
302
+ children: r
299
303
  }),
300
- /* @__PURE__ */ d(b, {
304
+ /* @__PURE__ */ d(g, {
301
305
  space: 4,
302
306
  children: [
303
- a && /* @__PURE__ */ r(y, {
307
+ a && /* @__PURE__ */ e(y, {
304
308
  truncate: i,
305
309
  as: "h3",
306
310
  regular: !0,
307
311
  children: a
308
312
  }),
309
- t && /* @__PURE__ */ r(y, {
313
+ t && /* @__PURE__ */ e(y, {
310
314
  truncate: n,
311
315
  regular: !0,
312
- color: B.colors.textSecondary,
316
+ color: A.colors.textSecondary,
313
317
  as: "p",
314
318
  children: t
315
319
  })
@@ -317,56 +321,56 @@ const z = (param)=>{
317
321
  })
318
322
  ]
319
323
  }),
320
- c && /* @__PURE__ */ r("div", {
321
- children: c
324
+ s && /* @__PURE__ */ e("div", {
325
+ children: s
322
326
  })
323
327
  ]
324
328
  })
325
329
  }))
326
330
  });
327
- }), sr = (param)=>/* @__PURE__ */ {
328
- let { actions: e , isInverse: a } = param;
329
- return r(dr, {
331
+ }), ce = (param)=>/* @__PURE__ */ {
332
+ let { actions: r , isInverse: a } = param;
333
+ return e(de, {
330
334
  space: 0,
331
- children: e.map((param, l)=>/* @__PURE__ */ {
335
+ children: r.map((param, l)=>/* @__PURE__ */ {
332
336
  let { onPress: i , label: t , Icon: n } = param;
333
- return r(lr, {
337
+ return e(le, {
334
338
  size: 48,
335
339
  onPress: i,
336
340
  "aria-label": t,
337
- className: ir,
341
+ className: ie,
338
342
  style: {
339
343
  display: "flex"
340
344
  },
341
- children: /* @__PURE__ */ r("div", {
342
- className: a ? tr : nr,
343
- children: /* @__PURE__ */ r(n, {
344
- color: B.colors.neutralHigh,
345
+ children: /* @__PURE__ */ e("div", {
346
+ className: a ? te : ne,
347
+ children: /* @__PURE__ */ e(n, {
348
+ color: A.colors.neutralHigh,
345
349
  size: 20
346
350
  })
347
351
  })
348
352
  }, l);
349
353
  })
350
354
  });
351
- }, mr = {
355
+ }, me = {
352
356
  "1:1": "1",
353
357
  "16:9": "16 / 9",
354
358
  "7:10": "7 / 10",
355
359
  "9:10": "9 / 10",
356
360
  auto: "auto"
357
- }, hr = (param)=>{
358
- let { children: e , width: a = "100%" , height: i = "100%" , aspectRatio: t , actions: n , onClose: l , isInverse: p , "aria-label": c } = param;
359
- const { texts: s } = R(), o = n ? [
361
+ }, he = (param)=>{
362
+ let { children: r , width: a = "100%" , height: i = "100%" , aspectRatio: t , actions: n , onClose: l , isInverse: p , "aria-label": s } = param;
363
+ const { texts: c } = N(), o = n ? [
360
364
  ...n
361
365
  ] : [];
362
366
  l && o.push({
363
- label: s.closeButtonLabel,
367
+ label: c.closeButtonLabel,
364
368
  onPress: l,
365
- Icon: cr
369
+ Icon: se
366
370
  });
367
- const u = o.length > 0, m = t ? typeof t == "number" ? String(t) : mr[t] : void 0;
371
+ const u = o.length > 0, m = t ? typeof t == "number" ? String(t) : me[t] : void 0;
368
372
  return /* @__PURE__ */ d("section", {
369
- "aria-label": c,
373
+ "aria-label": s,
370
374
  style: {
371
375
  width: a,
372
376
  height: i,
@@ -374,88 +378,88 @@ const z = (param)=>{
374
378
  position: "relative"
375
379
  },
376
380
  children: [
377
- e,
378
- u && /* @__PURE__ */ r("div", {
381
+ r,
382
+ u && /* @__PURE__ */ e("div", {
379
383
  style: {
380
384
  position: "absolute",
381
385
  right: 8,
382
386
  top: 8
383
387
  },
384
- children: /* @__PURE__ */ r(sr, {
388
+ children: /* @__PURE__ */ e(ce, {
385
389
  actions: o,
386
390
  isInverse: p
387
391
  })
388
392
  })
389
393
  ]
390
394
  });
391
- }, I = /*#__PURE__*/ x.forwardRef((param, _)=>{
392
- let { isInverse: e , backgroundImage: a , icon: i , headline: t , pretitle: n , pretitleLinesMax: l , title: p , titleLinesMax: c , description: s , descriptionLinesMax: o , extra: u , button: m , secondaryButton: f , onClose: g , actions: h , buttonLink: C , dataAttributes: S , width: G , height: j , aspectRatio: k , "aria-label": X } = param;
393
- const v = !!a, D = v ? "0 0 16px rgba(0,0,0,0.4)" : void 0, E = (h == null ? void 0 : h.length) || g;
394
- return /* @__PURE__ */ r(hr, {
395
- width: G,
396
- height: j,
397
- aspectRatio: k,
398
- onClose: g,
395
+ }, k = /*#__PURE__*/ x.forwardRef((param, X)=>{
396
+ let { isInverse: r , backgroundImage: a , icon: i , headline: t , pretitle: n , pretitleLinesMax: l , title: p , titleLinesMax: s , description: c , descriptionLinesMax: o , extra: u , button: m , secondaryButton: f , onClose: b , actions: h , buttonLink: C , dataAttributes: S , width: I , height: G , aspectRatio: j , "aria-label": P } = param;
397
+ const v = !!a, w = v ? "0 0 16px rgba(0,0,0,0.4)" : void 0, _ = (h == null ? void 0 : h.length) || b;
398
+ return /* @__PURE__ */ e(he, {
399
+ width: I,
400
+ height: G,
401
+ aspectRatio: j,
402
+ onClose: b,
399
403
  actions: h,
400
- "aria-label": X,
401
- isInverse: e,
402
- children: /* @__PURE__ */ r(q, {
404
+ "aria-label": P,
405
+ isInverse: r,
406
+ children: /* @__PURE__ */ e(q, {
403
407
  borderRadius: 16,
404
- className: T,
408
+ className: B,
405
409
  dataAttributes: S,
406
- ref: _,
410
+ ref: X,
407
411
  width: "100%",
408
412
  minHeight: "100%",
409
- isInverse: e,
410
- background: e && a ? B.colors.backgroundContainer : void 0,
413
+ isInverse: r,
414
+ background: r && a ? A.colors.backgroundContainer : void 0,
411
415
  children: /* @__PURE__ */ d("div", {
412
- className: rr,
416
+ className: ee,
413
417
  style: {
414
418
  backgroundImage: a ? `url("${CSS.escape(a)}")` : void 0,
415
- paddingTop: v && !i && !E ? 0 : 24
419
+ paddingTop: v && !i && !_ ? 0 : 24
416
420
  },
417
421
  children: [
418
- i ? /* @__PURE__ */ r(A, {
422
+ i ? /* @__PURE__ */ e(T, {
419
423
  paddingBottom: v ? 0 : 40,
420
424
  paddingX: 24,
421
425
  children: i
422
- }) : /* @__PURE__ */ r(A, {
423
- paddingBottom: (h == null ? void 0 : h.length) || g ? v ? 24 : 64 : 0
426
+ }) : /* @__PURE__ */ e(T, {
427
+ paddingBottom: (h == null ? void 0 : h.length) || b ? v ? 24 : 64 : 0
424
428
  }),
425
- /* @__PURE__ */ r(A, {
429
+ /* @__PURE__ */ e(T, {
426
430
  paddingX: 24,
427
431
  paddingTop: v ? 40 : 0,
428
432
  paddingBottom: 24,
429
- className: v ? er : void 0,
430
- children: /* @__PURE__ */ d(b, {
433
+ className: v ? re : void 0,
434
+ children: /* @__PURE__ */ d(g, {
431
435
  space: 24,
432
436
  children: [
433
437
  /* @__PURE__ */ d("div", {
434
438
  children: [
435
- /* @__PURE__ */ d(b, {
439
+ /* @__PURE__ */ d(g, {
436
440
  space: 8,
437
441
  children: [
438
- (t || n || p) && /* @__PURE__ */ r("header", {
439
- children: /* @__PURE__ */ d(b, {
442
+ (t || n || p) && /* @__PURE__ */ e("header", {
443
+ children: /* @__PURE__ */ d(g, {
440
444
  space: 16,
441
445
  children: [
442
446
  t,
443
- /* @__PURE__ */ d(b, {
447
+ /* @__PURE__ */ d(g, {
444
448
  space: 4,
445
449
  children: [
446
- n && /* @__PURE__ */ r(y, {
450
+ n && /* @__PURE__ */ e(y, {
447
451
  forceMobileSizes: !0,
448
452
  truncate: l,
449
453
  as: "div",
450
454
  regular: !0,
451
- textShadow: D,
455
+ textShadow: w,
452
456
  children: n
453
457
  }),
454
- /* @__PURE__ */ r(P, {
458
+ /* @__PURE__ */ e(O, {
455
459
  forceMobileSizes: !0,
456
- truncate: c,
460
+ truncate: s,
457
461
  as: "h3",
458
- textShadow: D,
462
+ textShadow: w,
459
463
  children: p
460
464
  })
461
465
  ]
@@ -463,21 +467,21 @@ const z = (param)=>{
463
467
  ]
464
468
  })
465
469
  }),
466
- s && /* @__PURE__ */ r(W, {
470
+ c && /* @__PURE__ */ e(W, {
467
471
  forceMobileSizes: !0,
468
472
  truncate: o,
469
473
  as: "p",
470
474
  regular: !0,
471
- color: B.colors.textSecondary,
472
- textShadow: D,
473
- children: s
475
+ color: A.colors.textSecondary,
476
+ textShadow: w,
477
+ children: c
474
478
  })
475
479
  ]
476
480
  }),
477
481
  u
478
482
  ]
479
483
  }),
480
- (m || f || C) && /* @__PURE__ */ r(w, {
484
+ (m || f || C) && /* @__PURE__ */ e(M, {
481
485
  primaryButton: m,
482
486
  secondaryButton: f,
483
487
  link: C
@@ -489,26 +493,26 @@ const z = (param)=>{
489
493
  })
490
494
  })
491
495
  });
492
- }), Ir = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
493
- var { dataAttributes: e } = _param, a = _objectWithoutProperties(_param, [
496
+ }), ke = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
497
+ var { dataAttributes: r } = _param, a = _objectWithoutProperties(_param, [
494
498
  "dataAttributes"
495
499
  ]);
496
- return r(I, _objectSpreadProps(_objectSpread({}, a), {
500
+ return e(k, _objectSpreadProps(_objectSpread({}, a), {
497
501
  ref: i,
498
502
  isInverse: !0,
499
- dataAttributes: _objectSpreadProps(_objectSpread({}, e), {
503
+ dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
500
504
  "component-name": "DisplayMediaCard"
501
505
  })
502
506
  }));
503
- }), Gr = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
504
- var { dataAttributes: e } = _param, a = _objectWithoutProperties(_param, [
507
+ }), Ie = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
508
+ var { dataAttributes: r } = _param, a = _objectWithoutProperties(_param, [
505
509
  "dataAttributes"
506
510
  ]);
507
- return r(I, _objectSpreadProps(_objectSpread({}, a), {
511
+ return e(k, _objectSpreadProps(_objectSpread({}, a), {
508
512
  ref: i,
509
- dataAttributes: _objectSpreadProps(_objectSpread({}, e), {
513
+ dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
510
514
  "component-name": "DisplayDataCard"
511
515
  })
512
516
  }));
513
517
  });
514
- export { zr as DataCard, Gr as DisplayDataCard, Ir as DisplayMediaCard, Rr as MediaCard, Hr as SnapCard };
518
+ export { ze as DataCard, Ie as DisplayDataCard, ke as DisplayMediaCard, Re as MediaCard, He as SnapCard };