@telefonica/mistica 15.15.0 → 15.16.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.
@@ -78,32 +78,32 @@ function _object_without_properties_loose(source, excluded) {
78
78
  }
79
79
  return target;
80
80
  }
81
- import { jsxs as t, jsx as r, Fragment as X } from "react/jsx-runtime";
82
- import * as Y from "react";
83
- import { Boxed as _ } from "../boxed.js";
81
+ import { jsxs as e, jsx as r, Fragment as Y } from "react/jsx-runtime";
82
+ import * as _ from "react";
83
+ import { Boxed as $ } from "../boxed.js";
84
84
  import { sprinkles as T } from "../sprinkles.css-mistica.js";
85
85
  import P from "../stack.js";
86
- import { dataCard as $, MIN_HEIGHT as q, touchable as J, touchableCardHoverOverlay as K, cardContentStyle as Q, minHeight as U, topActionsWithoutIcon as Z, zindex as L, paddingX as rr, divider as tr, actions as er, actionsVariants as ar, marginRightButton as ir, buttonMobile as S, footerDirection as or, marginRightAuto as sr, footerText as nr, adjustButtonLink as dr, button as cr, vars as lr } from "./advanced-data-card.css-mistica.js";
87
- import { vars as mr } from "../image.css-mistica.js";
86
+ import { dataCard as q, MIN_HEIGHT as J, touchable as K, touchableCardHoverOverlay as Q, cardContentStyle as U, minHeight as Z, topActionsWithoutIcon as L, zindex as rr, paddingX as er, divider as tr, actions as ar, actionsVariants as ir, marginRightButton as or, buttonMobile as S, footerDirection as sr, marginRightAuto as nr, footerText as dr, adjustButtonLink as cr, button as lr, vars as mr } from "./advanced-data-card.css-mistica.js";
87
+ import { vars as hr } from "../image.css-mistica.js";
88
88
  import j from "../divider.js";
89
- import { Text2 as f, Text as hr, textProps as pr } from "../text.js";
89
+ import { Text2 as g, Text as pr, textProps as ur } from "../text.js";
90
90
  import { vars as y } from "../skins/skin-contract.css-mistica.js";
91
91
  import N from "../box.js";
92
- import ur from "../touchable.js";
92
+ import vr from "../touchable.js";
93
93
  import u from "classnames";
94
- import { CardActionsGroup as vr } from "../card.js";
94
+ import { CardActionsGroup as fr } from "../card.js";
95
95
  import { useTheme as gr } from "../hooks.js";
96
- import { getPrefixedDataAttributes as fr } from "../utils/dom.js";
97
- import yr from "../inline.js";
96
+ import { getPrefixedDataAttributes as yr } from "../utils/dom.js";
97
+ import Nr from "../inline.js";
98
98
  import { applyCssVars as E } from "../utils/css.js";
99
- const Nr = (param)=>{
100
- let { headline: a, pretitle: i, pretitleAs: s = "p", pretitleLinesMax: m, title: n, titleAs: d = "h3", titleLinesMax: c, subtitle: l, subtitleLinesMax: o, description: e, descriptionLinesMax: h } = param;
99
+ const xr = (param)=>{
100
+ let { headline: a, pretitle: i, pretitleAs: s = "p", pretitleLinesMax: m, title: n, titleAs: d = "h3", titleLinesMax: c, subtitle: l, subtitleLinesMax: o, description: t, descriptionLinesMax: h } = param;
101
101
  const { textPresets: x } = gr();
102
- return /* @__PURE__ */ t(P, {
102
+ return /* @__PURE__ */ e(P, {
103
103
  space: 4,
104
104
  children: [
105
105
  a,
106
- i && /* @__PURE__ */ r(f, {
106
+ i && /* @__PURE__ */ r(g, {
107
107
  color: y.colors.textPrimary,
108
108
  truncate: m,
109
109
  as: s,
@@ -111,14 +111,14 @@ const Nr = (param)=>{
111
111
  hyphens: "auto",
112
112
  children: i
113
113
  }),
114
- /* @__PURE__ */ r(hr, _object_spread_props(_object_spread({}, pr.text4), {
114
+ /* @__PURE__ */ r(pr, _object_spread_props(_object_spread({}, ur.text4), {
115
115
  truncate: c,
116
116
  weight: x.cardTitle.weight,
117
117
  as: d,
118
118
  hyphens: "auto",
119
119
  children: n
120
120
  })),
121
- /* @__PURE__ */ r(f, {
121
+ /* @__PURE__ */ r(g, {
122
122
  color: y.colors.textPrimary,
123
123
  truncate: o,
124
124
  as: "p",
@@ -126,34 +126,34 @@ const Nr = (param)=>{
126
126
  hyphens: "auto",
127
127
  children: l
128
128
  }),
129
- e && /* @__PURE__ */ r(f, {
129
+ t && /* @__PURE__ */ r(g, {
130
130
  truncate: h,
131
131
  as: "p",
132
132
  regular: !0,
133
133
  color: y.colors.textSecondary,
134
134
  hyphens: "auto",
135
- children: e
135
+ children: t
136
136
  })
137
137
  ]
138
138
  });
139
- }, xr = (param)=>{
139
+ }, Cr = (param)=>{
140
140
  let { button: a, footerImage: i, footerText: s, footerTextLinesMax: m, buttonLink: n } = param;
141
- const d = !!a, c = !!i, l = !!s, o = !!n, e = d && (c || l) && o, h = o && !e ? "178px" : "";
142
- return /* @__PURE__ */ t(X, {
141
+ const d = !!a, c = !!i, l = !!s, o = !!n, t = d && (c || l) && o, h = o && !t ? "178px" : "";
142
+ return /* @__PURE__ */ e(Y, {
143
143
  children: [
144
144
  /* @__PURE__ */ r("div", {
145
145
  className: tr,
146
146
  children: /* @__PURE__ */ r(j, {})
147
147
  }),
148
- /* @__PURE__ */ t("div", {
149
- className: u(er, ar[e ? "mobile" : "default"]),
148
+ /* @__PURE__ */ e("div", {
149
+ className: u(ar, ir[t ? "mobile" : "default"]),
150
150
  children: [
151
151
  d && /* @__PURE__ */ r("div", {
152
- className: u(ir, S),
152
+ className: u(or, S),
153
153
  children: a
154
154
  }),
155
- /* @__PURE__ */ t("div", {
156
- className: u(or, e ? sr : T({
155
+ /* @__PURE__ */ e("div", {
156
+ className: u(sr, t ? nr : T({
157
157
  paddingTop: 16
158
158
  })),
159
159
  children: [
@@ -165,7 +165,7 @@ const Nr = (param)=>{
165
165
  }),
166
166
  children: /* @__PURE__ */ r("div", {
167
167
  style: E({
168
- [mr.mediaBorderRadius]: y.borderRadii.mediaSmall
168
+ [hr.mediaBorderRadius]: y.borderRadii.mediaSmall
169
169
  }),
170
170
  children: i
171
171
  })
@@ -174,8 +174,8 @@ const Nr = (param)=>{
174
174
  style: {
175
175
  maxWidth: h
176
176
  },
177
- className: nr,
178
- children: /* @__PURE__ */ r(f, {
177
+ className: dr,
178
+ children: /* @__PURE__ */ r(g, {
179
179
  truncate: m,
180
180
  regular: !0,
181
181
  children: s
@@ -184,15 +184,15 @@ const Nr = (param)=>{
184
184
  ]
185
185
  }),
186
186
  o && /* @__PURE__ */ r("div", {
187
- className: u(dr, e ? cr : S),
187
+ className: u(cr, t ? lr : S),
188
188
  children: n
189
189
  })
190
190
  ]
191
191
  })
192
192
  ]
193
193
  });
194
- }, Cr = /*#__PURE__*/ Y.forwardRef((_param, W)=>{
195
- var { stackingGroup: a, headline: i, pretitle: s, pretitleAs: m, pretitleLinesMax: n, title: d, titleAs: c, titleLinesMax: l, subtitle: o, subtitleLinesMax: e, description: h, descriptionLinesMax: x, extra: p, extraDividerPadding: G = 24, button: A, footerImage: B, footerText: b, footerTextLinesMax: M, buttonLink: R, dataAttributes: V, actions: v, "aria-label": w, onClose: D } = _param, g = _object_without_properties(_param, [
194
+ }, Tr = /*#__PURE__*/ _.forwardRef((_param, k)=>{
195
+ var { stackingGroup: a, headline: i, pretitle: s, pretitleAs: m, pretitleLinesMax: n, title: d, titleAs: c, titleLinesMax: l, subtitle: o, subtitleLinesMax: t, description: h, descriptionLinesMax: x, extra: p, extraDividerPadding: G = 24, noExtraDivider: M = !1, button: A, footerImage: B, footerText: b, footerTextLinesMax: V, buttonLink: R, dataAttributes: W, actions: v, "aria-label": w, onClose: D } = _param, f = _object_without_properties(_param, [
196
196
  "stackingGroup",
197
197
  "headline",
198
198
  "pretitle",
@@ -207,6 +207,7 @@ const Nr = (param)=>{
207
207
  "descriptionLinesMax",
208
208
  "extra",
209
209
  "extraDividerPadding",
210
+ "noExtraDivider",
210
211
  "button",
211
212
  "footerImage",
212
213
  "footerText",
@@ -217,49 +218,49 @@ const Nr = (param)=>{
217
218
  "aria-label",
218
219
  "onClose"
219
220
  ]);
220
- const C = !!g.href || !!g.onPress || !!g.to, k = {
221
+ const C = !!f.href || !!f.onPress || !!f.to, z = {
221
222
  button: A,
222
223
  footerImage: B,
223
224
  footerText: b,
224
- footerTextLinesMax: M,
225
+ footerTextLinesMax: V,
225
226
  buttonLink: R
226
- }, F = !!A || !!B || !!b || !!R, H = !!(p != null && p.length), z = ((v == null ? void 0 : v.length) || 0) + (D ? 1 : 0);
227
- return /* @__PURE__ */ t("section", _object_spread_props(_object_spread({
227
+ }, F = !!A || !!B || !!b || !!R, H = !!(p != null && p.length), O = ((v == null ? void 0 : v.length) || 0) + (D ? 1 : 0);
228
+ return /* @__PURE__ */ e("section", _object_spread_props(_object_spread({
228
229
  className: T({
229
230
  position: "relative",
230
231
  height: "100%"
231
232
  })
232
- }, fr(V, "AdvancedDataCard")), {
233
- ref: W,
233
+ }, yr(W, "AdvancedDataCard")), {
234
+ ref: k,
234
235
  "aria-label": C ? void 0 : w,
235
236
  children: [
236
- /* @__PURE__ */ t(_, {
237
- className: $,
237
+ /* @__PURE__ */ e($, {
238
+ className: q,
238
239
  width: "100%",
239
240
  height: "100%",
240
- minHeight: q,
241
+ minHeight: J,
241
242
  children: [
242
- /* @__PURE__ */ t(ur, _object_spread_props(_object_spread({
243
+ /* @__PURE__ */ e(vr, _object_spread_props(_object_spread({
243
244
  maybe: !0
244
- }, g), {
245
+ }, f), {
245
246
  "aria-label": C ? w : void 0,
246
- className: J,
247
+ className: K,
247
248
  children: [
248
249
  C && /* @__PURE__ */ r("div", {
249
- className: K
250
+ className: Q
250
251
  }),
251
252
  /* @__PURE__ */ r("div", {
252
- className: u(Q, !F && !H ? U : ""),
253
+ className: u(U, !F && !H ? Z : ""),
253
254
  children: /* @__PURE__ */ r(N, {
254
255
  paddingTop: 8,
255
- children: /* @__PURE__ */ t(yr, {
256
+ children: /* @__PURE__ */ e(Nr, {
256
257
  space: 0,
257
258
  children: [
258
- /* @__PURE__ */ t(P, {
259
+ /* @__PURE__ */ e(P, {
259
260
  space: 8,
260
261
  children: [
261
262
  a,
262
- /* @__PURE__ */ r(Nr, {
263
+ /* @__PURE__ */ r(xr, {
263
264
  headline: i,
264
265
  pretitle: s,
265
266
  pretitleAs: m,
@@ -268,7 +269,7 @@ const Nr = (param)=>{
268
269
  titleAs: c,
269
270
  titleLinesMax: l,
270
271
  subtitle: o,
271
- subtitleLinesMax: e,
272
+ subtitleLinesMax: t,
272
273
  description: h,
273
274
  descriptionLinesMax: x
274
275
  })
@@ -276,9 +277,9 @@ const Nr = (param)=>{
276
277
  }),
277
278
  !a && /* @__PURE__ */ r("div", {
278
279
  style: E({
279
- [lr.topActionsCount]: String(z)
280
+ [mr.topActionsCount]: String(O)
280
281
  }),
281
- className: Z
282
+ className: L
282
283
  })
283
284
  ]
284
285
  })
@@ -293,30 +294,30 @@ const Nr = (param)=>{
293
294
  paddingTop: 16,
294
295
  paddingBottom: 24,
295
296
  width: "100%",
296
- className: L,
297
- children: p.map((O, I)=>/* @__PURE__ */ t("div", {
297
+ className: rr,
298
+ children: p.map((X, I)=>/* @__PURE__ */ e("div", {
298
299
  children: [
299
300
  /* @__PURE__ */ r("div", {
300
- className: rr,
301
- children: O
301
+ className: er,
302
+ children: X
302
303
  }),
303
304
  I + 1 !== p.length && /* @__PURE__ */ r(N, {
304
305
  paddingY: G,
305
- children: /* @__PURE__ */ r(j, {})
306
+ children: !M && /* @__PURE__ */ r(j, {})
306
307
  })
307
308
  ]
308
309
  }, I))
309
310
  })
310
311
  ]
311
312
  })),
312
- F && /* @__PURE__ */ r(xr, _object_spread({}, k))
313
+ F && /* @__PURE__ */ r(Cr, _object_spread({}, z))
313
314
  ]
314
315
  }),
315
- /* @__PURE__ */ r(vr, {
316
+ /* @__PURE__ */ r(fr, {
316
317
  actions: v,
317
318
  onClose: D
318
319
  })
319
320
  ]
320
321
  }));
321
- }), Wr = Cr;
322
- export { Cr as AdvancedDataCard, Wr as default };
322
+ }), kr = Tr;
323
+ export { Tr as AdvancedDataCard, kr as default };
@@ -1,40 +1,40 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
- import p from "../stack.js";
3
- import { column as x, rightContent as y } from "./blocks.css-mistica.js";
4
- import { vars as v } from "../image.css-mistica.js";
5
- import { Text2 as n, Text5 as f, Text8 as m, Text3 as S } from "../text.js";
6
- import { vars as o } from "../skins/skin-contract.css-mistica.js";
7
- import s from "../inline.js";
2
+ import y from "../stack.js";
3
+ import { column as p, rightContent as S } from "./blocks.css-mistica.js";
4
+ import { vars as B } from "../image.css-mistica.js";
5
+ import { Text2 as n, Text5 as I, Text8 as m, Text3 as P } from "../text.js";
6
+ import { vars as e } from "../skins/skin-contract.css-mistica.js";
7
+ import d from "../inline.js";
8
8
  import u from "../box.js";
9
- import { ProgressBar as B } from "../progress-bar.js";
10
- import I from "classnames";
11
- import { applyCssVars as k } from "../utils/css.js";
9
+ import { ProgressBar as k } from "../progress-bar.js";
10
+ import R from "classnames";
11
+ import { applyCssVars as T } from "../utils/css.js";
12
12
  const g = (param)=>{
13
- let { title: a, description: e } = param;
14
- const l = typeof e == "string" ? [
15
- e
16
- ] : e;
13
+ let { title: a, description: l } = param;
14
+ const o = typeof l == "string" ? [
15
+ l
16
+ ] : l;
17
17
  return /* @__PURE__ */ c("div", {
18
- className: x,
18
+ className: p,
19
19
  children: [
20
- /* @__PURE__ */ r(S, {
20
+ /* @__PURE__ */ r(P, {
21
21
  regular: !0,
22
- color: o.colors.textPrimary,
22
+ color: e.colors.textPrimary,
23
23
  children: a
24
24
  }),
25
- l && l.map((t, i)=>/* @__PURE__ */ r(n, {
25
+ o && o.map((t, i)=>/* @__PURE__ */ r(n, {
26
26
  regular: !0,
27
- color: o.colors.textSecondary,
27
+ color: e.colors.textSecondary,
28
28
  as: "p",
29
29
  children: t
30
30
  }, i))
31
31
  ]
32
32
  });
33
- }, q = (param)=>{
34
- let { title: a, stackingGroup: e, description: l, "aria-label": t } = param;
33
+ }, E = (param)=>{
34
+ let { title: a, stackingGroup: l, description: o, "aria-label": t } = param;
35
35
  return /* @__PURE__ */ r("div", {
36
36
  "aria-label": t,
37
- children: /* @__PURE__ */ c(s, {
37
+ children: /* @__PURE__ */ c(d, {
38
38
  space: "between",
39
39
  alignItems: "center",
40
40
  children: [
@@ -45,59 +45,59 @@ const g = (param)=>{
45
45
  children: a
46
46
  })
47
47
  }),
48
- e || /* @__PURE__ */ r(n, {
48
+ l || /* @__PURE__ */ r(n, {
49
49
  regular: !0,
50
- color: o.colors.textSecondary,
50
+ color: e.colors.textSecondary,
51
51
  textAlign: "right",
52
52
  as: "div",
53
- children: l
53
+ children: o
54
54
  })
55
55
  ]
56
56
  })
57
57
  });
58
- }, z = (param)=>{
59
- let { image: a, description: e, "aria-label": l } = param;
58
+ }, F = (param)=>{
59
+ let { image: a, description: l, "aria-label": o } = param;
60
60
  return /* @__PURE__ */ r("div", {
61
- "aria-label": l,
62
- children: /* @__PURE__ */ c(s, {
61
+ "aria-label": o,
62
+ children: /* @__PURE__ */ c(d, {
63
63
  space: 16,
64
64
  alignItems: "center",
65
65
  children: [
66
66
  /* @__PURE__ */ r("div", {
67
- style: k({
68
- [v.mediaBorderRadius]: o.borderRadii.mediaSmall
67
+ style: T({
68
+ [B.mediaBorderRadius]: e.borderRadii.mediaSmall
69
69
  }),
70
70
  children: a
71
71
  }),
72
72
  /* @__PURE__ */ r(n, {
73
73
  regular: !0,
74
- color: o.colors.textSecondary,
75
- children: e
74
+ color: e.colors.textSecondary,
75
+ children: l
76
76
  })
77
77
  ]
78
78
  })
79
79
  });
80
- }, D = (param)=>{
81
- let { title: a, description: e, secondaryValue: l, value: t, valueColor: i = o.colors.textPrimary, "aria-label": d } = param;
82
- return /* @__PURE__ */ c(s, {
80
+ }, J = (param)=>{
81
+ let { title: a, description: l, secondaryValue: o, value: t, valueColor: i = e.colors.textPrimary, "aria-label": s } = param;
82
+ return /* @__PURE__ */ c(d, {
83
83
  space: "between",
84
84
  alignItems: "flex-end",
85
- "aria-label": d,
85
+ "aria-label": s,
86
86
  children: [
87
87
  /* @__PURE__ */ r(g, {
88
88
  title: a,
89
- description: e
89
+ description: l
90
90
  }),
91
91
  /* @__PURE__ */ c("div", {
92
- className: I(x, y),
92
+ className: R(p, S),
93
93
  children: [
94
94
  /* @__PURE__ */ r(n, {
95
95
  regular: !0,
96
- color: o.colors.textSecondary,
96
+ color: e.colors.textSecondary,
97
97
  decoration: "line-through",
98
- children: l
98
+ children: o
99
99
  }),
100
- /* @__PURE__ */ r(f, {
100
+ /* @__PURE__ */ r(I, {
101
101
  color: i,
102
102
  children: t
103
103
  })
@@ -105,91 +105,109 @@ const g = (param)=>{
105
105
  })
106
106
  ]
107
107
  });
108
- }, E = (param)=>{
109
- let { headline: a, mainHeading: e, secondHeading: l, secondaryValue: t, title: i, description: d, valueColor: h = o.colors.textPrimary, "aria-label": b } = param;
108
+ }, K = (param)=>{
109
+ let { headline: a, headings: l, mainHeading: o, secondHeading: t, secondaryValue: i, title: s, description: h, valueColor: b = e.colors.textPrimary, "aria-label": v } = param;
110
110
  return /* @__PURE__ */ c("div", {
111
- "aria-label": b,
111
+ "aria-label": v,
112
112
  children: [
113
113
  a && /* @__PURE__ */ r(u, {
114
114
  paddingBottom: 24,
115
115
  children: a
116
116
  }),
117
- /* @__PURE__ */ c(p, {
117
+ /* @__PURE__ */ c(y, {
118
118
  space: 2,
119
119
  children: [
120
- /* @__PURE__ */ c(s, {
120
+ l && l.map((x, f)=>/* @__PURE__ */ {
121
+ var _x_valueColor;
122
+ return c(d, {
123
+ space: 8,
124
+ alignItems: "baseline",
125
+ children: [
126
+ /* @__PURE__ */ r(m, {
127
+ color: (_x_valueColor = x.valueColor) !== null && _x_valueColor !== void 0 ? _x_valueColor : e.colors.textPrimary,
128
+ children: x.value
129
+ }),
130
+ /* @__PURE__ */ r(n, {
131
+ regular: !0,
132
+ color: e.colors.textSecondary,
133
+ children: x.text
134
+ })
135
+ ]
136
+ }, f);
137
+ }),
138
+ o && /* @__PURE__ */ c(d, {
121
139
  space: 8,
122
140
  alignItems: "baseline",
123
141
  children: [
124
142
  /* @__PURE__ */ r(m, {
125
- color: h,
126
- children: e.value
143
+ color: b,
144
+ children: o.value
127
145
  }),
128
146
  /* @__PURE__ */ r(n, {
129
147
  regular: !0,
130
- color: o.colors.textSecondary,
131
- children: e.text
148
+ color: e.colors.textSecondary,
149
+ children: o.text
132
150
  })
133
151
  ]
134
152
  }),
135
- l && /* @__PURE__ */ c(s, {
153
+ t && /* @__PURE__ */ c(d, {
136
154
  space: 8,
137
155
  alignItems: "baseline",
138
156
  children: [
139
157
  /* @__PURE__ */ r(m, {
140
- color: h,
141
- children: l.value
158
+ color: b,
159
+ children: t.value
142
160
  }),
143
161
  /* @__PURE__ */ r(n, {
144
162
  regular: !0,
145
- color: o.colors.textSecondary,
146
- children: l.text
163
+ color: e.colors.textSecondary,
164
+ children: t.text
147
165
  })
148
166
  ]
149
167
  }),
150
- t && /* @__PURE__ */ r(m, {
151
- color: o.colors.textSecondary,
152
- children: t
168
+ i && /* @__PURE__ */ r(m, {
169
+ color: e.colors.textSecondary,
170
+ children: i
153
171
  })
154
172
  ]
155
173
  }),
156
- i || d ? /* @__PURE__ */ r(u, {
174
+ s || h ? /* @__PURE__ */ r(u, {
157
175
  paddingTop: 8,
158
176
  children: /* @__PURE__ */ r(g, {
159
- title: i,
160
- description: d
177
+ title: s,
178
+ description: h
161
179
  })
162
180
  }) : null
163
181
  ]
164
182
  });
165
- }, F = (param)=>{
166
- let { title: a, value: e, description: l, valueColor: t = o.colors.textPrimary, "aria-label": i } = param;
183
+ }, M = (param)=>{
184
+ let { title: a, value: l, description: o, valueColor: t = e.colors.textPrimary, "aria-label": i } = param;
167
185
  return /* @__PURE__ */ c("div", {
168
186
  "aria-label": i,
169
- className: x,
187
+ className: p,
170
188
  children: [
171
189
  /* @__PURE__ */ r(n, {
172
190
  regular: !0,
173
- color: o.colors.textPrimary,
191
+ color: e.colors.textPrimary,
174
192
  children: a
175
193
  }),
176
194
  /* @__PURE__ */ r(m, {
177
195
  color: t,
178
- children: e
196
+ children: l
179
197
  }),
180
198
  /* @__PURE__ */ r(g, {
181
- description: l
199
+ description: o
182
200
  })
183
201
  ]
184
202
  });
185
- }, J = (param)=>{
186
- let { title: a, stackingGroup: e, progressPercent: l, reverse: t, heading: i, description: d, "aria-label": h } = param;
203
+ }, O = (param)=>{
204
+ let { title: a, stackingGroup: l, progressPercent: o, reverse: t, heading: i, description: s, "aria-label": h } = param;
187
205
  return /* @__PURE__ */ r("div", {
188
206
  "aria-label": h,
189
- children: /* @__PURE__ */ c(p, {
207
+ children: /* @__PURE__ */ c(y, {
190
208
  space: 8,
191
209
  children: [
192
- /* @__PURE__ */ c(s, {
210
+ /* @__PURE__ */ c(d, {
193
211
  space: "between",
194
212
  alignItems: "flex-end",
195
213
  children: [
@@ -200,36 +218,36 @@ const g = (param)=>{
200
218
  children: a
201
219
  })
202
220
  }),
203
- e
221
+ l
204
222
  ]
205
223
  }),
206
- l !== void 0 && /* @__PURE__ */ r(B, {
224
+ o !== void 0 && /* @__PURE__ */ r(k, {
207
225
  "aria-hidden": !0,
208
- progressPercent: l,
226
+ progressPercent: o,
209
227
  reverse: t
210
228
  }),
211
- /* @__PURE__ */ c(s, {
229
+ /* @__PURE__ */ c(d, {
212
230
  space: 8,
213
231
  alignItems: "baseline",
214
232
  children: [
215
233
  /* @__PURE__ */ r(m, {
216
- color: i.valueColor || o.colors.textPrimary,
234
+ color: i.valueColor || e.colors.textPrimary,
217
235
  children: i.value
218
236
  }),
219
237
  /* @__PURE__ */ r(n, {
220
238
  regular: !0,
221
- color: o.colors.textSecondary,
239
+ color: e.colors.textSecondary,
222
240
  children: i.text
223
241
  })
224
242
  ]
225
243
  }),
226
- d && /* @__PURE__ */ r(n, {
244
+ s && /* @__PURE__ */ r(n, {
227
245
  regular: !0,
228
- color: o.colors.textSecondary,
229
- children: d
246
+ color: e.colors.textSecondary,
247
+ children: s
230
248
  })
231
249
  ]
232
250
  })
233
251
  });
234
252
  };
235
- export { E as HighlightedValueBlock, D as InformationBlock, J as ProgressBlock, q as RowBlock, z as SimpleBlock, F as ValueBlock };
253
+ export { K as HighlightedValueBlock, J as InformationBlock, O as ProgressBlock, E as RowBlock, F as SimpleBlock, M as ValueBlock };