@telefonica/mistica 16.5.0 → 16.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/css/mistica.css +1 -1
  2. package/dist/callout.js +27 -15
  3. package/dist/card.css-mistica.js +5 -5
  4. package/dist/card.d.ts +9 -1
  5. package/dist/card.js +611 -475
  6. package/dist/community/advanced-data-card.css-mistica.js +14 -11
  7. package/dist/community/advanced-data-card.css.d.ts +1 -0
  8. package/dist/community/advanced-data-card.d.ts +1 -1
  9. package/dist/community/advanced-data-card.js +172 -85
  10. package/dist/cover-hero.css-mistica.js +14 -11
  11. package/dist/cover-hero.css.d.ts +1 -0
  12. package/dist/cover-hero.d.ts +1 -0
  13. package/dist/cover-hero.js +101 -59
  14. package/dist/empty-state.js +24 -15
  15. package/dist/header.css-mistica.js +6 -3
  16. package/dist/header.css.d.ts +1 -0
  17. package/dist/header.d.ts +3 -2
  18. package/dist/header.js +148 -79
  19. package/dist/hero.css-mistica.js +11 -8
  20. package/dist/hero.css.d.ts +1 -0
  21. package/dist/hero.d.ts +2 -1
  22. package/dist/hero.js +102 -68
  23. package/dist/highlighted-card.js +32 -23
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +4 -0
  26. package/dist/maybe-dismissable.js +8 -5
  27. package/dist/meter.d.ts +23 -0
  28. package/dist/meter.js +400 -0
  29. package/dist/package-version.js +1 -1
  30. package/dist/sheet-common.css-mistica.js +16 -10
  31. package/dist/sheet-common.css.d.ts +3 -1
  32. package/dist/sheet-common.js +78 -70
  33. package/dist/sheet-info.css-mistica.js +15 -4
  34. package/dist/sheet-info.css.d.ts +2 -0
  35. package/dist/sheet-info.d.ts +3 -0
  36. package/dist/sheet-info.js +61 -43
  37. package/dist/sheet-native.js +59 -48
  38. package/dist/sheet-types.d.ts +6 -1
  39. package/dist/sheet-web.js +6 -4
  40. package/dist/text-tokens.d.ts +10 -0
  41. package/dist/text-tokens.js +54 -38
  42. package/dist/theme-context-provider.js +60 -50
  43. package/dist/theme.d.ts +3 -2
  44. package/dist/utils/headings.d.ts +2 -0
  45. package/dist/utils/headings.js +11 -0
  46. package/dist/utils/types.d.ts +1 -0
  47. package/dist-es/callout.js +55 -43
  48. package/dist-es/card.css-mistica.js +2 -2
  49. package/dist-es/card.js +721 -588
  50. package/dist-es/community/advanced-data-card.css-mistica.js +3 -3
  51. package/dist-es/community/advanced-data-card.js +217 -130
  52. package/dist-es/cover-hero.css-mistica.js +3 -3
  53. package/dist-es/cover-hero.js +132 -90
  54. package/dist-es/empty-state.js +40 -31
  55. package/dist-es/header.css-mistica.js +2 -2
  56. package/dist-es/header.js +174 -104
  57. package/dist-es/hero.css-mistica.js +2 -2
  58. package/dist-es/hero.js +150 -115
  59. package/dist-es/highlighted-card.js +36 -27
  60. package/dist-es/index.js +1839 -1838
  61. package/dist-es/maybe-dismissable.js +17 -14
  62. package/dist-es/meter.js +346 -0
  63. package/dist-es/package-version.js +1 -1
  64. package/dist-es/sheet-common.css-mistica.js +2 -2
  65. package/dist-es/sheet-common.js +124 -116
  66. package/dist-es/sheet-info.css-mistica.js +2 -2
  67. package/dist-es/sheet-info.js +74 -56
  68. package/dist-es/sheet-native.js +59 -48
  69. package/dist-es/sheet-web.js +10 -8
  70. package/dist-es/style.css +1 -1
  71. package/dist-es/text-tokens.js +30 -20
  72. package/dist-es/theme-context-provider.js +88 -78
  73. package/dist-es/utils/headings.js +2 -0
  74. package/package.json +2 -1
@@ -4,7 +4,7 @@ import "./advanced-data-card.css.ts.vanilla.css-mistica.js";
4
4
  var n = 216, _ = "_1x00fru4 _1x00fru2 _1y2v1nfae _1y2v1nfbn _1y2v1nfho _1y2v1nfi0 _1y2v1nf9b", a = {
5
5
  default: "_1x00fruk",
6
6
  mobile: "_1x00frul"
7
- }, t = "_1x00frut", o = "_1x00fruo", i = "_1x00frup _1x00fruo", u = "_1x00fru8 _1x00fru2 _1y2v1nfae _1y2v1nfbn _1y2v1nf7q _1y2v1nf9b", y = "_1y2v1nfhi _1y2v1nfis", x = "_1x00frud _1y2v1nfhi _1y2v1nfho _1y2v1nfia _1y2v1nfhu", e = "_1x00frui", h = "_1x00frua _1y2v1nf7w _1y2v1nf9b _1y2v1nfib", b = "_1x00frus _1y2v1nfho _1y2v1nfht", d = "_1y2v1nfi3 _1y2v1nfho _1y2v1nfbn", c = "_1y2v1nfho _1y2v1nfia _1y2v1nfi3 _1y2v1nfjx", m = "_1x00frum", p = "_1x00fruu", s = "_1x00frub", g = "_1x00fru2 _1y2v1nfae _1y2v1nfbn", l = "_1x00fruw", w = "_1x00fru5", C = "_1x00fru6", H = {
7
+ }, t = "_1x00frut", o = "_1x00fruo", u = "_1x00frup _1x00fruo", i = "_1x00fru8 _1x00fru2 _1y2v1nfae _1y2v1nfbn _1y2v1nf7q _1y2v1nf9b", y = "_1y2v1nfhi _1y2v1nfis", x = "_1x00frud _1y2v1nfhi _1y2v1nfho _1y2v1nfia _1y2v1nfhu", e = "_1x00frui", h = "_1x00frua _1y2v1nf7w _1y2v1nf9b _1y2v1nfib", b = "_1x00frux", d = "_1x00frus _1y2v1nfho _1y2v1nfht", c = "_1y2v1nfi3 _1y2v1nfho _1y2v1nfbn", l = "_1y2v1nfho _1y2v1nfia _1y2v1nfi3 _1y2v1nfjx", m = "_1x00frum", p = "_1x00fruu", s = "_1x00frub", g = "_1x00fru2 _1y2v1nfae _1y2v1nfbn", C = "_1x00fruw", w = "_1x00fru5", H = "_1x00fru6", I = {
8
8
  topActionsCount: "var(--_1x00fruv)"
9
- }, I = "_1y2v1nf7w";
10
- export { n as MIN_HEIGHT, _ as actions, a as actionsVariants, t as adjustButtonLink, o as button, i as buttonMobile, u as cardContentStyle, y as container, x as dataCard, e as divider, h as extra, b as footerDirection, d as footerImage, c as footerText, m as marginRightAuto, p as marginRightButton, s as minHeight, g as paddingX, l as topActionsWithoutIcon, w as touchable, C as touchableCardHoverOverlay, H as vars, I as withPaddingTop };
9
+ }, A = "_1y2v1nf7w";
10
+ export { n as MIN_HEIGHT, _ as actions, a as actionsVariants, t as adjustButtonLink, o as button, u as buttonMobile, i as cardContentStyle, y as container, x as dataCard, e as divider, h as extra, b as flexColumn, d as footerDirection, c as footerImage, l as footerText, m as marginRightAuto, p as marginRightButton, s as minHeight, g as paddingX, C as topActionsWithoutIcon, w as touchable, H as touchableCardHoverOverlay, I as vars, A as withPaddingTop };
@@ -78,115 +78,185 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsxs as e, jsx as r, Fragment as _ } from "react/jsx-runtime";
82
- import * as k from "react";
83
- import { Boxed as q } from "../boxed.js";
84
- import S from "../stack.js";
85
- import { container as z, dataCard as J, MIN_HEIGHT as K, touchable as Q, touchableCardHoverOverlay as U, cardContentStyle as Z, minHeight as L, topActionsWithoutIcon as $, extra as rr, paddingX as er, divider as tr, actions as ar, actionsVariants as or, marginRightButton as ir, buttonMobile as F, footerDirection as sr, marginRightAuto as nr, withPaddingTop as cr, footerImage as dr, footerText as lr, adjustButtonLink as mr, button as hr, vars as pr } from "./advanced-data-card.css-mistica.js";
86
- import { vars as ur } from "../image.css-mistica.js";
87
- import P from "../divider.js";
88
- import { Text2 as g, Text as vr } from "../text.js";
89
- import { text4 as fr } from "../text-props.js";
90
- import { vars as N } from "../skins/skin-contract.css-mistica.js";
91
- import H from "../box.js";
92
- import gr from "../touchable.js";
93
- import u from "classnames";
94
- import { CardActionsGroup as Nr } from "../card.js";
95
- import { useTheme as yr } from "../hooks.js";
96
- import { getPrefixedDataAttributes as xr } from "../utils/dom.js";
97
- import Cr from "../inline.js";
98
- import { applyCssVars as j } from "../utils/css.js";
99
- const Ar = (param)=>{
100
- let { headline: a, pretitle: o, pretitleAs: s = "p", pretitleLinesMax: m, title: n, titleAs: c = "h3", titleLinesMax: d, subtitle: l, subtitleLinesMax: i, description: t, descriptionLinesMax: h } = param;
101
- const { textPresets: y } = yr();
102
- return /* @__PURE__ */ e(S, {
103
- space: 4,
81
+ import { jsxs as d, jsx as r, Fragment as N } from "react/jsx-runtime";
82
+ import * as $ from "react";
83
+ import { Boxed as rr } from "../boxed.js";
84
+ import ar from "../stack.js";
85
+ import { container as er, dataCard as or, MIN_HEIGHT as tr, touchable as dr, touchableCardHoverOverlay as nr, cardContentStyle as ir, minHeight as sr, topActionsWithoutIcon as cr, extra as mr, paddingX as hr, flexColumn as lr, divider as fr, actions as gr, actionsVariants as vr, marginRightButton as ur, buttonMobile as A, footerDirection as pr, marginRightAuto as yr, withPaddingTop as xr, footerImage as Nr, footerText as Br, adjustButtonLink as Tr, button as Cr, vars as wr } from "./advanced-data-card.css-mistica.js";
86
+ import { vars as Ir } from "../image.css-mistica.js";
87
+ import W from "../divider.js";
88
+ import { Text as b, Text2 as g } from "../text.js";
89
+ import { text4 as E } from "../text-props.js";
90
+ import { vars as O } from "../skins/skin-contract.css-mistica.js";
91
+ import G from "../box.js";
92
+ import Rr from "../touchable.js";
93
+ import v from "classnames";
94
+ import { useInnerText as P, CardActionsGroup as Dr } from "../card.js";
95
+ import { useTheme as Hr } from "../hooks.js";
96
+ import { getPrefixedDataAttributes as Fr } from "../utils/dom.js";
97
+ import Sr from "../inline.js";
98
+ import { applyCssVars as X } from "../utils/css.js";
99
+ import V from "../tag.js";
100
+ import { isBiggerHeading as Y } from "../utils/headings.js";
101
+ const jr = (param)=>{
102
+ let { headline: a, headlineRef: h, pretitle: n, pretitleAs: s, pretitleLinesMax: l, title: o, titleAs: i, titleLinesMax: f, subtitle: e, subtitleLinesMax: c, description: t, descriptionLinesMax: x } = param;
103
+ const { textPresets: m } = Hr();
104
+ return /** using flex instead of nested Stacks, this way we can rearrange texts so the DOM structure makes more sense for screen reader users */ /* @__PURE__ */ d("div", {
105
+ className: lr,
104
106
  children: [
105
- a,
106
- o && /* @__PURE__ */ r(g, {
107
- color: N.colors.textPrimary,
108
- truncate: m,
109
- as: s,
110
- regular: !0,
111
- hyphens: "auto",
112
- children: o
107
+ Y(i, s) ? /* @__PURE__ */ d(N, {
108
+ children: [
109
+ o && /* @__PURE__ */ r("div", {
110
+ style: {
111
+ paddingBottom: e || t ? 4 : 0
112
+ },
113
+ children: /* @__PURE__ */ r(b, _object_spread_props(_object_spread({}, E), {
114
+ truncate: f,
115
+ weight: m.cardTitle.weight,
116
+ as: i,
117
+ hyphens: "auto",
118
+ children: o
119
+ }))
120
+ }),
121
+ a && // assuming that the headline will always be followed by one of: pretitle, title, subtitle, description
122
+ /* @__PURE__ */ r("div", {
123
+ ref: h,
124
+ style: {
125
+ order: -2,
126
+ paddingBottom: 4
127
+ },
128
+ children: typeof a == "string" ? /* @__PURE__ */ r(V, {
129
+ type: "promo",
130
+ children: a
131
+ }) : a
132
+ }),
133
+ n && /* @__PURE__ */ r("div", {
134
+ style: {
135
+ order: -1,
136
+ paddingBottom: o || e || t ? 4 : 0
137
+ },
138
+ children: /* @__PURE__ */ r(g, {
139
+ truncate: l,
140
+ as: s,
141
+ regular: !0,
142
+ hyphens: "auto",
143
+ children: n
144
+ })
145
+ })
146
+ ]
147
+ }) : /* @__PURE__ */ d(N, {
148
+ children: [
149
+ n && /* @__PURE__ */ r("div", {
150
+ style: {
151
+ paddingBottom: o || e || t ? 4 : 0
152
+ },
153
+ children: /* @__PURE__ */ r(g, {
154
+ truncate: l,
155
+ as: s,
156
+ regular: !0,
157
+ hyphens: "auto",
158
+ children: n
159
+ })
160
+ }),
161
+ a && // assuming that the headline will always be followed by one of: pretitle, title, subtitle, description
162
+ /* @__PURE__ */ r("div", {
163
+ ref: h,
164
+ style: {
165
+ order: -1,
166
+ paddingBottom: 4
167
+ },
168
+ children: typeof a == "string" ? /* @__PURE__ */ r(V, {
169
+ type: "promo",
170
+ children: a
171
+ }) : a
172
+ }),
173
+ o && /* @__PURE__ */ r("div", {
174
+ style: {
175
+ paddingBottom: e || t ? 4 : 0
176
+ },
177
+ children: /* @__PURE__ */ r(b, _object_spread_props(_object_spread({}, E), {
178
+ truncate: f,
179
+ weight: m.cardTitle.weight,
180
+ as: i,
181
+ hyphens: "auto",
182
+ children: o
183
+ }))
184
+ })
185
+ ]
113
186
  }),
114
- /* @__PURE__ */ r(vr, _object_spread_props(_object_spread({}, fr), {
115
- truncate: d,
116
- weight: y.cardTitle.weight,
117
- as: c,
118
- hyphens: "auto",
119
- children: n
120
- })),
121
- /* @__PURE__ */ r(g, {
122
- color: N.colors.textPrimary,
123
- truncate: i,
124
- as: "p",
125
- regular: !0,
126
- hyphens: "auto",
127
- children: l
187
+ e && /* @__PURE__ */ r("div", {
188
+ style: {
189
+ paddingBottom: t ? 4 : 0
190
+ },
191
+ children: /* @__PURE__ */ r(g, {
192
+ truncate: c,
193
+ as: "div",
194
+ regular: !0,
195
+ hyphens: "auto",
196
+ children: e
197
+ })
128
198
  }),
129
199
  t && /* @__PURE__ */ r(g, {
130
- truncate: h,
131
- as: "p",
200
+ truncate: x,
201
+ as: "div",
132
202
  regular: !0,
133
- color: N.colors.textSecondary,
203
+ color: O.colors.textSecondary,
134
204
  hyphens: "auto",
135
205
  children: t
136
206
  })
137
207
  ]
138
208
  });
139
- }, Tr = (param)=>{
140
- let { button: a, footerImage: o, footerText: s, footerTextLinesMax: m, buttonLink: n } = param;
141
- const c = !!a, d = !!o, l = !!s, i = !!n, t = c && (d || l) && i, h = i && !t ? "178px" : "";
142
- return /* @__PURE__ */ e(_, {
209
+ }, Ar = (param)=>{
210
+ let { button: a, footerImage: h, footerText: n, footerTextLinesMax: s, buttonLink: l } = param;
211
+ const o = !!a, i = !!h, f = !!n, e = !!l, c = o && (i || f) && e, t = e && !c ? "178px" : "";
212
+ return /* @__PURE__ */ d(N, {
143
213
  children: [
144
214
  /* @__PURE__ */ r("div", {
145
- className: tr,
146
- children: /* @__PURE__ */ r(P, {})
215
+ className: fr,
216
+ children: /* @__PURE__ */ r(W, {})
147
217
  }),
148
- /* @__PURE__ */ e("div", {
149
- className: u(ar, or[t ? "mobile" : "default"]),
218
+ /* @__PURE__ */ d("div", {
219
+ className: v(gr, vr[c ? "mobile" : "default"]),
150
220
  children: [
151
- c && /* @__PURE__ */ r("div", {
152
- className: u(ir, F),
221
+ o && /* @__PURE__ */ r("div", {
222
+ className: v(ur, A),
153
223
  children: a
154
224
  }),
155
- /* @__PURE__ */ e("div", {
156
- className: u(sr, t ? nr : cr),
225
+ /* @__PURE__ */ d("div", {
226
+ className: v(pr, c ? yr : xr),
157
227
  children: [
158
- d && /* @__PURE__ */ r("div", {
159
- className: dr,
228
+ i && /* @__PURE__ */ r("div", {
229
+ className: Nr,
160
230
  children: /* @__PURE__ */ r("div", {
161
- style: j({
162
- [ur.mediaBorderRadius]: N.borderRadii.mediaSmall
231
+ style: X({
232
+ [Ir.mediaBorderRadius]: O.borderRadii.mediaSmall
163
233
  }),
164
- children: o
234
+ children: h
165
235
  })
166
236
  }),
167
- l && /* @__PURE__ */ r("div", {
237
+ f && /* @__PURE__ */ r("div", {
168
238
  style: {
169
- maxWidth: h
239
+ maxWidth: t
170
240
  },
171
- className: lr,
241
+ className: Br,
172
242
  children: /* @__PURE__ */ r(g, {
173
- truncate: m,
243
+ truncate: s,
174
244
  regular: !0,
175
- children: s
245
+ children: n
176
246
  })
177
247
  })
178
248
  ]
179
249
  }),
180
- i && /* @__PURE__ */ r("div", {
181
- className: u(mr, t ? hr : F),
182
- children: n
250
+ e && /* @__PURE__ */ r("div", {
251
+ className: v(Tr, c ? Cr : A),
252
+ children: l
183
253
  })
184
254
  ]
185
255
  })
186
256
  ]
187
257
  });
188
- }, br = /*#__PURE__*/ k.forwardRef((_param, W)=>{
189
- var { stackingGroup: a, headline: o, pretitle: s, pretitleAs: m, pretitleLinesMax: n, title: c, titleAs: d, titleLinesMax: l, subtitle: i, subtitleLinesMax: t, description: h, descriptionLinesMax: y, extra: p, extraDividerPadding: E = 24, noExtraDivider: G = !1, button: C, footerImage: A, footerText: T, footerTextLinesMax: M, buttonLink: b, dataAttributes: V, actions: v, "aria-label": B, onClose: w } = _param, f = _object_without_properties(_param, [
258
+ }, br = /*#__PURE__*/ $.forwardRef((_param, K)=>{
259
+ var { stackingGroup: a, headline: h, pretitle: n, pretitleAs: s, pretitleLinesMax: l, title: o, titleAs: i = "h3", titleLinesMax: f, subtitle: e, subtitleLinesMax: c, description: t, descriptionLinesMax: x, extra: m, extraDividerPadding: _ = 24, noExtraDivider: k = !1, button: B, footerImage: T, footerText: C, footerTextLinesMax: q, buttonLink: w, dataAttributes: z, actions: u, "aria-label": J, onClose: I } = _param, p = _object_without_properties(_param, [
190
260
  "stackingGroup",
191
261
  "headline",
192
262
  "pretitle",
@@ -212,65 +282,81 @@ const Ar = (param)=>{
212
282
  "aria-label",
213
283
  "onClose"
214
284
  ]);
215
- const x = !!f.href || !!f.onPress || !!f.to, O = {
216
- button: C,
217
- footerImage: A,
218
- footerText: T,
219
- footerTextLinesMax: M,
220
- buttonLink: b
221
- }, D = !!C || !!A || !!T || !!b, I = !!(p != null && p.length), X = ((v == null ? void 0 : v.length) || 0) + (w ? 1 : 0);
222
- return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({
223
- className: z
224
- }, xr(V, "AdvancedDataCard")), {
225
- ref: W,
226
- "aria-label": x ? void 0 : B,
285
+ const y = !!p.href || !!p.onPress || !!p.to, M = {
286
+ button: B,
287
+ footerImage: T,
288
+ footerText: C,
289
+ footerTextLinesMax: q,
290
+ buttonLink: w
291
+ }, R = !!B || !!T || !!C || !!w, D = !!(m != null && m.length), Q = ((u == null ? void 0 : u.length) || 0) + (I ? 1 : 0), { text: H, ref: U } = P(), { text: F, ref: Z } = P(), S = J || (Y(i, s) ? [
292
+ o,
293
+ H,
294
+ n,
295
+ e,
296
+ t,
297
+ F
298
+ ] : [
299
+ n,
300
+ H,
301
+ o,
302
+ e,
303
+ t,
304
+ F
305
+ ]).filter(Boolean).join(" ");
306
+ return /* @__PURE__ */ d("section", _object_spread_props(_object_spread({
307
+ className: er
308
+ }, Fr(z, "AdvancedDataCard")), {
309
+ ref: K,
310
+ "aria-label": y ? void 0 : S,
227
311
  children: [
228
- /* @__PURE__ */ e(q, {
229
- className: J,
312
+ /* @__PURE__ */ d(rr, {
313
+ className: or,
230
314
  width: "100%",
231
315
  height: "100%",
232
- minHeight: K,
316
+ minHeight: tr,
233
317
  children: [
234
- /* @__PURE__ */ e(gr, _object_spread_props(_object_spread({
318
+ /* @__PURE__ */ d(Rr, _object_spread_props(_object_spread({
235
319
  maybe: !0
236
- }, f), {
237
- "aria-label": x ? B : void 0,
238
- className: Q,
320
+ }, p), {
321
+ "aria-label": y ? S : void 0,
322
+ className: dr,
239
323
  children: [
240
- x && /* @__PURE__ */ r("div", {
241
- className: U
324
+ y && /* @__PURE__ */ r("div", {
325
+ className: nr
242
326
  }),
243
327
  /* @__PURE__ */ r("div", {
244
- className: u(Z, !D && !I ? L : ""),
245
- children: /* @__PURE__ */ r(H, {
328
+ className: v(ir, !R && !D ? sr : ""),
329
+ "aria-hidden": y,
330
+ children: /* @__PURE__ */ r(G, {
246
331
  paddingTop: 8,
247
- children: /* @__PURE__ */ e(Cr, {
332
+ children: /* @__PURE__ */ d(Sr, {
248
333
  space: 0,
249
334
  children: [
250
- /* @__PURE__ */ e(S, {
335
+ /* @__PURE__ */ d(ar, {
251
336
  space: 8,
252
337
  children: [
253
338
  a,
254
- /* @__PURE__ */ r(Ar, {
255
- headline: o,
256
- pretitle: s,
257
- pretitleAs: m,
258
- pretitleLinesMax: n,
259
- title: c,
260
- titleAs: d,
261
- titleLinesMax: l,
262
- subtitle: i,
263
- subtitleLinesMax: t,
264
- description: h,
265
- descriptionLinesMax: y
339
+ /* @__PURE__ */ r(jr, {
340
+ headline: h,
341
+ headlineRef: U,
342
+ pretitle: n,
343
+ pretitleAs: s,
344
+ pretitleLinesMax: l,
345
+ title: o,
346
+ titleAs: i,
347
+ titleLinesMax: f,
348
+ subtitle: e,
349
+ subtitleLinesMax: c,
350
+ description: t,
351
+ descriptionLinesMax: x
266
352
  })
267
353
  ]
268
354
  }),
269
355
  !a && /* @__PURE__ */ r("div", {
270
- style: j({
271
- [pr.topActionsCount]: String(X)
356
+ style: X({
357
+ [wr.topActionsCount]: String(Q)
272
358
  }),
273
- className: $
359
+ className: cr
274
360
  })
275
361
  ]
276
362
  })
@@ -281,31 +367,32 @@ const Ar = (param)=>{
281
367
  flexGrow: 1
282
368
  }
283
369
  }),
284
- I && /* @__PURE__ */ r("div", {
285
- className: rr,
286
- children: p.map((Y, R)=>/* @__PURE__ */ e("div", {
370
+ D && /* @__PURE__ */ r("div", {
371
+ className: mr,
372
+ ref: Z,
373
+ children: m.map((L, j)=>/* @__PURE__ */ d("div", {
287
374
  children: [
288
375
  /* @__PURE__ */ r("div", {
289
- className: er,
290
- children: Y
376
+ className: hr,
377
+ children: L
291
378
  }),
292
- R + 1 !== p.length && /* @__PURE__ */ r(H, {
293
- paddingY: E,
294
- children: !G && /* @__PURE__ */ r(P, {})
379
+ j + 1 !== m.length && /* @__PURE__ */ r(G, {
380
+ paddingY: _,
381
+ children: !k && /* @__PURE__ */ r(W, {})
295
382
  })
296
383
  ]
297
- }, R))
384
+ }, j))
298
385
  })
299
386
  ]
300
387
  })),
301
- D && /* @__PURE__ */ r(Tr, _object_spread({}, O))
388
+ R && /* @__PURE__ */ r(Ar, _object_spread({}, M))
302
389
  ]
303
390
  }),
304
- /* @__PURE__ */ r(Nr, {
305
- actions: v,
306
- onClose: w
391
+ /* @__PURE__ */ r(Dr, {
392
+ actions: u,
393
+ onClose: I
307
394
  })
308
395
  ]
309
396
  }));
310
- }), Yr = br;
311
- export { br as AdvancedDataCard, Yr as default };
397
+ }), $r = br;
398
+ export { br as AdvancedDataCard, $r as default };
@@ -3,7 +3,7 @@ import "./responsive-layout.css.ts.vanilla.css-mistica.js";
3
3
  import "./grid-layout.css.ts.vanilla.css-mistica.js";
4
4
  import "./carousel.css.ts.vanilla.css-mistica.js";
5
5
  import "./cover-hero.css.ts.vanilla.css-mistica.js";
6
- var e = "moeazi9 _1y2v1nfi3", o = "moeazi2 _1y2v1nfhi _1y2v1nfho _1y2v1nfhu _1y2v1nfhx _1y2v1nfib _1y2v1nfkv _1y2v1nfm4", y = "moeazi4 _1y2v1nfhi _1y2v1nfho _1y2v1nfib", f = "moeazi7", _ = "_1y2v1nfhi", m = "_1y2v1nfhj _1y2v1nfmj _1y2v1nfib _1y2v1nfis", t = "moeazic _1y2v1nfhj _1y2v1nfkv _1y2v1nfla _1y2v1nfib _1y2v1nfis", h = "moeazi6", s = "_1y2v1nfhi", z = "moeazie", p = {
6
+ var e = "moeazi9 _1y2v1nfi3", o = "moeazi2 _1y2v1nfhi _1y2v1nfho _1y2v1nfhu _1y2v1nfhx _1y2v1nfib _1y2v1nfkv _1y2v1nfm4", y = "moeazi4 _1y2v1nfhi _1y2v1nfho _1y2v1nfib", f = "_1y2v1nfho _1y2v1nfhu", _ = "moeazi7", m = "_1y2v1nfhi", t = "_1y2v1nfhj _1y2v1nfmj _1y2v1nfib _1y2v1nfis", h = "moeazic _1y2v1nfhj _1y2v1nfkv _1y2v1nfla _1y2v1nfib _1y2v1nfis", s = "moeazi6", z = "_1y2v1nfhi", p = "moeazie", c = {
7
7
  aspectRatio: "var(--moeazi0)"
8
- }, c = "moeazi5";
9
- export { e as centered, o as coverHero, y as coverHeroContainer, f as hasSideExtra, _ as mainContent, m as mediaLayer, t as mediaOverlay, h as minHeight, s as sideExtra, z as sixColumns, p as vars, c as withAspectRatio };
8
+ }, x = "moeazi5";
9
+ export { e as centered, o as coverHero, y as coverHeroContainer, f as flexColumn, _ as hasSideExtra, m as mainContent, t as mediaLayer, h as mediaOverlay, s as minHeight, z as sideExtra, p as sixColumns, c as vars, x as withAspectRatio };