@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/css/mistica.css +1 -1
- package/dist/card.js +84 -80
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/navigation-bar.js +43 -43
- package/dist/package-version.js +1 -1
- package/dist/skins/blau.js +2 -2
- package/dist/skins/movistar-legacy.d.ts +45 -0
- package/dist/skins/movistar-legacy.js +260 -0
- package/dist/skins/movistar.d.ts +8 -2
- package/dist/skins/movistar.js +49 -43
- package/dist/skins/o2-classic.js +1 -1
- package/dist/skins/o2.js +1 -1
- package/dist/skins/telefonica.js +1 -1
- package/dist/skins/types.d.ts +1 -1
- package/dist/skins/utils.js +2 -2
- package/dist/skins/vivo.js +1 -1
- package/dist/theme-context-provider.js +28 -24
- package/dist/video.d.ts +1 -2
- package/dist/video.js +0 -1
- package/dist-es/card.js +151 -147
- package/dist-es/index.js +1651 -1650
- package/dist-es/navigation-bar.js +93 -93
- package/dist-es/package-version.js +1 -1
- package/dist-es/skins/blau.js +2 -2
- package/dist-es/skins/movistar-legacy.js +247 -0
- package/dist-es/skins/movistar.js +51 -45
- package/dist-es/skins/o2-classic.js +1 -1
- package/dist-es/skins/o2.js +1 -1
- package/dist-es/skins/telefonica.js +1 -1
- package/dist-es/skins/utils.js +4 -4
- package/dist-es/skins/vivo.js +1 -1
- package/dist-es/style.css +1 -1
- package/dist-es/theme-context-provider.js +61 -57
- package/dist-es/video.js +0 -1
- package/package.json +1 -1
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
|
|
82
|
-
import
|
|
83
|
-
import
|
|
84
|
-
import { Text2 as y, Text6 as
|
|
85
|
-
import { Boxed as
|
|
86
|
-
import
|
|
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
|
|
88
|
+
import R, { useIsDismissable as J } from "./maybe-dismissable.js";
|
|
89
89
|
import { BaseTouchable as K } from "./touchable.js";
|
|
90
|
-
import { vars as
|
|
91
|
-
import { boxed as
|
|
92
|
-
import { useTheme as
|
|
93
|
-
import { sprinkles as
|
|
94
|
-
import
|
|
95
|
-
import
|
|
96
|
-
import
|
|
97
|
-
import { jsx as
|
|
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:
|
|
100
|
-
const f = ()=>
|
|
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:
|
|
103
|
-
}) :
|
|
102
|
+
children: r
|
|
103
|
+
}) : r : null;
|
|
104
104
|
return /* @__PURE__ */ d("div", {
|
|
105
|
-
className:
|
|
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(
|
|
114
|
+
/* @__PURE__ */ d(g, {
|
|
115
115
|
space: 8,
|
|
116
116
|
children: [
|
|
117
|
-
(
|
|
118
|
-
children: /* @__PURE__ */ d(
|
|
117
|
+
(r || a || t || l) && /* @__PURE__ */ e("header", {
|
|
118
|
+
children: /* @__PURE__ */ d(g, {
|
|
119
119
|
space: 8,
|
|
120
120
|
children: [
|
|
121
|
-
|
|
122
|
-
/* @__PURE__ */ d(
|
|
121
|
+
b(),
|
|
122
|
+
/* @__PURE__ */ d(g, {
|
|
123
123
|
space: 4,
|
|
124
124
|
children: [
|
|
125
|
-
a && /* @__PURE__ */
|
|
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__ */
|
|
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__ */
|
|
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
|
-
|
|
149
|
-
truncate:
|
|
152
|
+
s && /* @__PURE__ */ e(y, {
|
|
153
|
+
truncate: c,
|
|
150
154
|
as: "p",
|
|
151
155
|
regular: !0,
|
|
152
|
-
color:
|
|
153
|
-
children:
|
|
156
|
+
color: A.colors.textSecondary,
|
|
157
|
+
children: s
|
|
154
158
|
})
|
|
155
159
|
]
|
|
156
160
|
}),
|
|
157
|
-
o && /* @__PURE__ */
|
|
161
|
+
o && /* @__PURE__ */ e("div", {
|
|
158
162
|
children: o
|
|
159
163
|
})
|
|
160
164
|
]
|
|
161
165
|
}),
|
|
162
|
-
(u || m) && /* @__PURE__ */
|
|
163
|
-
className:
|
|
164
|
-
children: /* @__PURE__ */
|
|
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":
|
|
173
|
-
return J() ? /* @__PURE__ */
|
|
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__ */
|
|
181
|
+
}) : /* @__PURE__ */ e("section", {
|
|
178
182
|
className: a,
|
|
179
183
|
style: i,
|
|
180
|
-
"aria-label":
|
|
184
|
+
"aria-label": r,
|
|
181
185
|
children: t
|
|
182
186
|
});
|
|
183
|
-
},
|
|
184
|
-
let { media:
|
|
185
|
-
return
|
|
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__ */
|
|
189
|
-
className:
|
|
192
|
+
children: /* @__PURE__ */ e(D, {
|
|
193
|
+
className: B,
|
|
190
194
|
dataAttributes: _objectSpread({
|
|
191
195
|
"component-name": "MediaCard"
|
|
192
|
-
},
|
|
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__ */
|
|
204
|
+
/* @__PURE__ */ e(F, {
|
|
201
205
|
value: !1,
|
|
202
|
-
children:
|
|
206
|
+
children: r
|
|
203
207
|
}),
|
|
204
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ e("div", {
|
|
205
209
|
className: U,
|
|
206
|
-
children: /* @__PURE__ */
|
|
210
|
+
children: /* @__PURE__ */ e(z, {
|
|
207
211
|
headline: a,
|
|
208
212
|
pretitle: i,
|
|
209
213
|
pretitleLinesMax: t,
|
|
210
214
|
title: p,
|
|
211
|
-
titleLinesMax:
|
|
215
|
+
titleLinesMax: s,
|
|
212
216
|
subtitle: n,
|
|
213
217
|
subtitleLinesMax: l,
|
|
214
|
-
description:
|
|
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
|
-
}),
|
|
226
|
-
let { icon:
|
|
227
|
-
return
|
|
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__ */
|
|
231
|
-
className:
|
|
234
|
+
children: /* @__PURE__ */ e(D, {
|
|
235
|
+
className: B,
|
|
232
236
|
dataAttributes: _objectSpread({
|
|
233
237
|
"component-name": "DataCard"
|
|
234
|
-
},
|
|
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
|
-
|
|
246
|
+
r && /* @__PURE__ */ e(T, {
|
|
243
247
|
paddingBottom: 16,
|
|
244
|
-
children:
|
|
248
|
+
children: r
|
|
245
249
|
}),
|
|
246
|
-
/* @__PURE__ */
|
|
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:
|
|
254
|
-
description:
|
|
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
|
-
}),
|
|
265
|
-
var { icon:
|
|
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 } =
|
|
277
|
-
return /* @__PURE__ */
|
|
278
|
-
className:
|
|
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:
|
|
287
|
+
isInverse: c,
|
|
284
288
|
width: "100%",
|
|
285
289
|
height: "100%",
|
|
286
|
-
children: /* @__PURE__ */
|
|
290
|
+
children: /* @__PURE__ */ e(K, _objectSpreadProps(_objectSpread({
|
|
287
291
|
maybe: !0
|
|
288
292
|
}, o), {
|
|
289
|
-
className: f && !
|
|
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
|
-
|
|
300
|
+
r && /* @__PURE__ */ e(T, {
|
|
297
301
|
paddingBottom: 16,
|
|
298
|
-
children:
|
|
302
|
+
children: r
|
|
299
303
|
}),
|
|
300
|
-
/* @__PURE__ */ d(
|
|
304
|
+
/* @__PURE__ */ d(g, {
|
|
301
305
|
space: 4,
|
|
302
306
|
children: [
|
|
303
|
-
a && /* @__PURE__ */
|
|
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__ */
|
|
313
|
+
t && /* @__PURE__ */ e(y, {
|
|
310
314
|
truncate: n,
|
|
311
315
|
regular: !0,
|
|
312
|
-
color:
|
|
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
|
-
|
|
321
|
-
children:
|
|
324
|
+
s && /* @__PURE__ */ e("div", {
|
|
325
|
+
children: s
|
|
322
326
|
})
|
|
323
327
|
]
|
|
324
328
|
})
|
|
325
329
|
}))
|
|
326
330
|
});
|
|
327
|
-
}),
|
|
328
|
-
let { actions:
|
|
329
|
-
return
|
|
331
|
+
}), ce = (param)=>/* @__PURE__ */ {
|
|
332
|
+
let { actions: r , isInverse: a } = param;
|
|
333
|
+
return e(de, {
|
|
330
334
|
space: 0,
|
|
331
|
-
children:
|
|
335
|
+
children: r.map((param, l)=>/* @__PURE__ */ {
|
|
332
336
|
let { onPress: i , label: t , Icon: n } = param;
|
|
333
|
-
return
|
|
337
|
+
return e(le, {
|
|
334
338
|
size: 48,
|
|
335
339
|
onPress: i,
|
|
336
340
|
"aria-label": t,
|
|
337
|
-
className:
|
|
341
|
+
className: ie,
|
|
338
342
|
style: {
|
|
339
343
|
display: "flex"
|
|
340
344
|
},
|
|
341
|
-
children: /* @__PURE__ */
|
|
342
|
-
className: a ?
|
|
343
|
-
children: /* @__PURE__ */
|
|
344
|
-
color:
|
|
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
|
-
},
|
|
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
|
-
},
|
|
358
|
-
let { children:
|
|
359
|
-
const { texts:
|
|
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:
|
|
367
|
+
label: c.closeButtonLabel,
|
|
364
368
|
onPress: l,
|
|
365
|
-
Icon:
|
|
369
|
+
Icon: se
|
|
366
370
|
});
|
|
367
|
-
const u = o.length > 0, m = t ? typeof t == "number" ? String(t) :
|
|
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":
|
|
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
|
-
|
|
378
|
-
u && /* @__PURE__ */
|
|
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__ */
|
|
388
|
+
children: /* @__PURE__ */ e(ce, {
|
|
385
389
|
actions: o,
|
|
386
390
|
isInverse: p
|
|
387
391
|
})
|
|
388
392
|
})
|
|
389
393
|
]
|
|
390
394
|
});
|
|
391
|
-
},
|
|
392
|
-
let { isInverse:
|
|
393
|
-
const v = !!a,
|
|
394
|
-
return /* @__PURE__ */
|
|
395
|
-
width:
|
|
396
|
-
height:
|
|
397
|
-
aspectRatio:
|
|
398
|
-
onClose:
|
|
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":
|
|
401
|
-
isInverse:
|
|
402
|
-
children: /* @__PURE__ */
|
|
404
|
+
"aria-label": P,
|
|
405
|
+
isInverse: r,
|
|
406
|
+
children: /* @__PURE__ */ e(q, {
|
|
403
407
|
borderRadius: 16,
|
|
404
|
-
className:
|
|
408
|
+
className: B,
|
|
405
409
|
dataAttributes: S,
|
|
406
|
-
ref:
|
|
410
|
+
ref: X,
|
|
407
411
|
width: "100%",
|
|
408
412
|
minHeight: "100%",
|
|
409
|
-
isInverse:
|
|
410
|
-
background:
|
|
413
|
+
isInverse: r,
|
|
414
|
+
background: r && a ? A.colors.backgroundContainer : void 0,
|
|
411
415
|
children: /* @__PURE__ */ d("div", {
|
|
412
|
-
className:
|
|
416
|
+
className: ee,
|
|
413
417
|
style: {
|
|
414
418
|
backgroundImage: a ? `url("${CSS.escape(a)}")` : void 0,
|
|
415
|
-
paddingTop: v && !i && !
|
|
419
|
+
paddingTop: v && !i && !_ ? 0 : 24
|
|
416
420
|
},
|
|
417
421
|
children: [
|
|
418
|
-
i ? /* @__PURE__ */
|
|
422
|
+
i ? /* @__PURE__ */ e(T, {
|
|
419
423
|
paddingBottom: v ? 0 : 40,
|
|
420
424
|
paddingX: 24,
|
|
421
425
|
children: i
|
|
422
|
-
}) : /* @__PURE__ */
|
|
423
|
-
paddingBottom: (h == null ? void 0 : h.length) ||
|
|
426
|
+
}) : /* @__PURE__ */ e(T, {
|
|
427
|
+
paddingBottom: (h == null ? void 0 : h.length) || b ? v ? 24 : 64 : 0
|
|
424
428
|
}),
|
|
425
|
-
/* @__PURE__ */
|
|
429
|
+
/* @__PURE__ */ e(T, {
|
|
426
430
|
paddingX: 24,
|
|
427
431
|
paddingTop: v ? 40 : 0,
|
|
428
432
|
paddingBottom: 24,
|
|
429
|
-
className: v ?
|
|
430
|
-
children: /* @__PURE__ */ d(
|
|
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(
|
|
439
|
+
/* @__PURE__ */ d(g, {
|
|
436
440
|
space: 8,
|
|
437
441
|
children: [
|
|
438
|
-
(t || n || p) && /* @__PURE__ */
|
|
439
|
-
children: /* @__PURE__ */ d(
|
|
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(
|
|
447
|
+
/* @__PURE__ */ d(g, {
|
|
444
448
|
space: 4,
|
|
445
449
|
children: [
|
|
446
|
-
n && /* @__PURE__ */
|
|
450
|
+
n && /* @__PURE__ */ e(y, {
|
|
447
451
|
forceMobileSizes: !0,
|
|
448
452
|
truncate: l,
|
|
449
453
|
as: "div",
|
|
450
454
|
regular: !0,
|
|
451
|
-
textShadow:
|
|
455
|
+
textShadow: w,
|
|
452
456
|
children: n
|
|
453
457
|
}),
|
|
454
|
-
/* @__PURE__ */
|
|
458
|
+
/* @__PURE__ */ e(O, {
|
|
455
459
|
forceMobileSizes: !0,
|
|
456
|
-
truncate:
|
|
460
|
+
truncate: s,
|
|
457
461
|
as: "h3",
|
|
458
|
-
textShadow:
|
|
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
|
-
|
|
470
|
+
c && /* @__PURE__ */ e(W, {
|
|
467
471
|
forceMobileSizes: !0,
|
|
468
472
|
truncate: o,
|
|
469
473
|
as: "p",
|
|
470
474
|
regular: !0,
|
|
471
|
-
color:
|
|
472
|
-
textShadow:
|
|
473
|
-
children:
|
|
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__ */
|
|
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
|
-
}),
|
|
493
|
-
var { dataAttributes:
|
|
496
|
+
}), ke = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
497
|
+
var { dataAttributes: r } = _param, a = _objectWithoutProperties(_param, [
|
|
494
498
|
"dataAttributes"
|
|
495
499
|
]);
|
|
496
|
-
return
|
|
500
|
+
return e(k, _objectSpreadProps(_objectSpread({}, a), {
|
|
497
501
|
ref: i,
|
|
498
502
|
isInverse: !0,
|
|
499
|
-
dataAttributes: _objectSpreadProps(_objectSpread({},
|
|
503
|
+
dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
|
|
500
504
|
"component-name": "DisplayMediaCard"
|
|
501
505
|
})
|
|
502
506
|
}));
|
|
503
|
-
}),
|
|
504
|
-
var { dataAttributes:
|
|
507
|
+
}), Ie = /*#__PURE__*/ x.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
508
|
+
var { dataAttributes: r } = _param, a = _objectWithoutProperties(_param, [
|
|
505
509
|
"dataAttributes"
|
|
506
510
|
]);
|
|
507
|
-
return
|
|
511
|
+
return e(k, _objectSpreadProps(_objectSpread({}, a), {
|
|
508
512
|
ref: i,
|
|
509
|
-
dataAttributes: _objectSpreadProps(_objectSpread({},
|
|
513
|
+
dataAttributes: _objectSpreadProps(_objectSpread({}, r), {
|
|
510
514
|
"component-name": "DisplayDataCard"
|
|
511
515
|
})
|
|
512
516
|
}));
|
|
513
517
|
});
|
|
514
|
-
export {
|
|
518
|
+
export { ze as DataCard, Ie as DisplayDataCard, ke as DisplayMediaCard, Re as MediaCard, He as SnapCard };
|