@telefonica/mistica 15.15.0 → 15.16.1

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/callout.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "default", {
7
7
  enumerable: true,
8
8
  get: function() {
9
- return X;
9
+ return rr;
10
10
  }
11
11
  });
12
12
  const _jsxruntime = require("react/jsx-runtime");
@@ -83,80 +83,85 @@ function _object_spread_props(target, source) {
83
83
  }
84
84
  return target;
85
85
  }
86
- const $ = (param)=>{
87
- let { title: t, titleAs: c = "h2", description: d, icon: a, onClose: i, button: l, secondaryButton: s, buttonLink: m, "aria-label": p, dataAttributes: u } = param;
88
- const f = (0, _themevariantcontext.useThemeVariant)(), { texts: h } = (0, _hooks.useTheme)();
86
+ const D = (param)=>{
87
+ let { title: a, titleAs: c = "h2", description: d, icon: i, onClose: t, button: l, secondaryButton: s, buttonLink: n, "aria-label": p, dataAttributes: u, role: f } = param;
88
+ const h = (0, _themevariantcontext.useThemeVariant)(), { texts: g } = (0, _hooks.useTheme)();
89
89
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("section", _object_spread_props(_object_spread({
90
90
  className: (0, _classnames.default)(_calloutcssmistica.container, (0, _sprinklescssmistica.sprinkles)({
91
91
  background: {
92
92
  inverse: _skincontractcssmistica.vars.colors.backgroundContainer,
93
93
  alternative: _skincontractcssmistica.vars.colors.backgroundContainer,
94
94
  default: _skincontractcssmistica.vars.colors.backgroundContainerAlternative
95
- }[f]
95
+ }[h]
96
96
  })),
97
97
  style: (0, _css.applyCssVars)({
98
98
  [_imagecssmistica.vars.mediaBorderRadius]: _skincontractcssmistica.vars.borderRadii.mediaSmall
99
99
  }),
100
- "aria-label": p !== null && p !== void 0 ? p : t
100
+ "aria-label": p !== null && p !== void 0 ? p : a,
101
+ role: f
101
102
  }, (0, _dom.getPrefixedDataAttributes)(u, "Callout")), {
102
103
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_themevariantcontext.ThemeVariant, {
103
104
  isInverse: !1,
104
105
  children: [
105
- a && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
106
+ i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
106
107
  paddingRight: 16,
107
- children: a
108
+ children: i
108
109
  }),
109
- /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
110
+ /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
110
111
  className: _calloutcssmistica.content,
111
- children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
112
- space: 16,
113
- children: [
114
- /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
115
- fullWidth: !0,
116
- alignItems: "flex-start",
117
- space: "between",
118
- children: [
119
- /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
120
- space: 4,
121
- children: [
122
- /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
123
- as: c,
124
- regular: !0,
125
- children: t
126
- }),
127
- /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
128
- as: "p",
129
- regular: !0,
130
- color: _skincontractcssmistica.vars.colors.textSecondary,
131
- children: d
132
- })
133
- ]
134
- }),
135
- i && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
136
- style: {
137
- // Align the X with the text content
138
- marginTop: "0.125rem"
139
- },
140
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, {
141
- small: !0,
142
- bleedY: !0,
143
- bleedRight: !0,
144
- Icon: _iconcloseregular.default,
145
- onPress: i,
146
- "aria-label": h.closeButtonLabel
112
+ children: [
113
+ /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
114
+ space: 16,
115
+ children: [
116
+ /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
117
+ fullWidth: !0,
118
+ alignItems: "flex-start",
119
+ space: "between",
120
+ children: [
121
+ /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
122
+ space: 4,
123
+ children: [
124
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text3, {
125
+ as: c,
126
+ regular: !0,
127
+ children: a
128
+ }),
129
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
130
+ as: "p",
131
+ regular: !0,
132
+ color: _skincontractcssmistica.vars.colors.textSecondary,
133
+ children: d
134
+ })
135
+ ]
136
+ }),
137
+ t && // Create empty div in order to fill space that iconButton occupies.
138
+ // Without this, the content's vertical alignment can be affected
139
+ /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
140
+ className: _calloutcssmistica.closeButtonContainerSize
147
141
  })
148
- })
149
- ]
150
- }),
151
- (l || s || m) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
152
- primaryButton: l,
153
- secondaryButton: s,
154
- link: m
142
+ ]
143
+ }),
144
+ (l || s || n) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_buttongroup.default, {
145
+ primaryButton: l,
146
+ secondaryButton: s,
147
+ link: n
148
+ })
149
+ ]
150
+ }),
151
+ t && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
152
+ className: _calloutcssmistica.closeButtonContainer,
153
+ children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconbutton.IconButton, {
154
+ small: !0,
155
+ bleedY: !0,
156
+ bleedRight: !0,
157
+ Icon: _iconcloseregular.default,
158
+ onPress: t,
159
+ "aria-label": g.closeButtonLabel
155
160
  })
156
- ]
157
- })
161
+ })
162
+ ]
158
163
  })
159
164
  ]
160
165
  })
161
166
  }));
162
- }, X = $;
167
+ }, rr = D;
@@ -39,7 +39,8 @@ type AdvancedDataCardProps = MaybeTouchableCard<{
39
39
  description?: string;
40
40
  descriptionLinesMax?: number;
41
41
  extra?: ReadonlyArray<RendersNullableElement<AllowedExtra>>;
42
- extraDividerPadding?: 8 | 24;
42
+ extraDividerPadding?: 8 | 16 | 24;
43
+ noExtraDivider?: boolean;
43
44
  button?: RendersNullableElement<typeof ButtonPrimary>;
44
45
  footerImage?: RendersNullableElement<typeof Image>;
45
46
  footerText?: string;
@@ -11,10 +11,10 @@ function _export(target, all) {
11
11
  }
12
12
  _export(exports, {
13
13
  AdvancedDataCard: function() {
14
- return Cr;
14
+ return Tr;
15
15
  },
16
16
  default: function() {
17
- return Wr;
17
+ return kr;
18
18
  }
19
19
  });
20
20
  const _jsxruntime = require("react/jsx-runtime");
@@ -160,8 +160,8 @@ function _object_without_properties_loose(source, excluded) {
160
160
  }
161
161
  return target;
162
162
  }
163
- const Nr = (param)=>{
164
- 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;
163
+ const xr = (param)=>{
164
+ 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;
165
165
  const { textPresets: x } = (0, _hooks.useTheme)();
166
166
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
167
167
  space: 4,
@@ -190,19 +190,19 @@ const Nr = (param)=>{
190
190
  hyphens: "auto",
191
191
  children: l
192
192
  }),
193
- e && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
193
+ t && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
194
194
  truncate: h,
195
195
  as: "p",
196
196
  regular: !0,
197
197
  color: _skincontractcssmistica.vars.colors.textSecondary,
198
198
  hyphens: "auto",
199
- children: e
199
+ children: t
200
200
  })
201
201
  ]
202
202
  });
203
- }, xr = (param)=>{
203
+ }, Cr = (param)=>{
204
204
  let { button: a, footerImage: i, footerText: s, footerTextLinesMax: m, buttonLink: n } = param;
205
- const d = !!a, c = !!i, l = !!s, o = !!n, e = d && (c || l) && o, h = o && !e ? "178px" : "";
205
+ const d = !!a, c = !!i, l = !!s, o = !!n, t = d && (c || l) && o, h = o && !t ? "178px" : "";
206
206
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
207
207
  children: [
208
208
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
@@ -210,14 +210,14 @@ const Nr = (param)=>{
210
210
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
211
211
  }),
212
212
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
213
- className: (0, _classnames.default)(_advanceddatacardcssmistica.actions, _advanceddatacardcssmistica.actionsVariants[e ? "mobile" : "default"]),
213
+ className: (0, _classnames.default)(_advanceddatacardcssmistica.actions, _advanceddatacardcssmistica.actionsVariants[t ? "mobile" : "default"]),
214
214
  children: [
215
215
  d && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
216
216
  className: (0, _classnames.default)(_advanceddatacardcssmistica.marginRightButton, _advanceddatacardcssmistica.buttonMobile),
217
217
  children: a
218
218
  }),
219
219
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
220
- className: (0, _classnames.default)(_advanceddatacardcssmistica.footerDirection, e ? _advanceddatacardcssmistica.marginRightAuto : (0, _sprinklescssmistica.sprinkles)({
220
+ className: (0, _classnames.default)(_advanceddatacardcssmistica.footerDirection, t ? _advanceddatacardcssmistica.marginRightAuto : (0, _sprinklescssmistica.sprinkles)({
221
221
  paddingTop: 16
222
222
  })),
223
223
  children: [
@@ -248,15 +248,15 @@ const Nr = (param)=>{
248
248
  ]
249
249
  }),
250
250
  o && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
251
- className: (0, _classnames.default)(_advanceddatacardcssmistica.adjustButtonLink, e ? _advanceddatacardcssmistica.button : _advanceddatacardcssmistica.buttonMobile),
251
+ className: (0, _classnames.default)(_advanceddatacardcssmistica.adjustButtonLink, t ? _advanceddatacardcssmistica.button : _advanceddatacardcssmistica.buttonMobile),
252
252
  children: n
253
253
  })
254
254
  ]
255
255
  })
256
256
  ]
257
257
  });
258
- }, Cr = /*#__PURE__*/ _react.forwardRef((_param, W)=>{
259
- 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, [
258
+ }, Tr = /*#__PURE__*/ _react.forwardRef((_param, k)=>{
259
+ 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, [
260
260
  "stackingGroup",
261
261
  "headline",
262
262
  "pretitle",
@@ -271,6 +271,7 @@ const Nr = (param)=>{
271
271
  "descriptionLinesMax",
272
272
  "extra",
273
273
  "extraDividerPadding",
274
+ "noExtraDivider",
274
275
  "button",
275
276
  "footerImage",
276
277
  "footerText",
@@ -281,20 +282,20 @@ const Nr = (param)=>{
281
282
  "aria-label",
282
283
  "onClose"
283
284
  ]);
284
- const C = !!g.href || !!g.onPress || !!g.to, k = {
285
+ const C = !!f.href || !!f.onPress || !!f.to, z = {
285
286
  button: A,
286
287
  footerImage: B,
287
288
  footerText: b,
288
- footerTextLinesMax: M,
289
+ footerTextLinesMax: V,
289
290
  buttonLink: R
290
- }, F = !!A || !!B || !!b || !!R, H = !!(p != null && p.length), z = ((v == null ? void 0 : v.length) || 0) + (D ? 1 : 0);
291
+ }, F = !!A || !!B || !!b || !!R, H = !!(p != null && p.length), O = ((v == null ? void 0 : v.length) || 0) + (D ? 1 : 0);
291
292
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("section", _object_spread_props(_object_spread({
292
293
  className: (0, _sprinklescssmistica.sprinkles)({
293
294
  position: "relative",
294
295
  height: "100%"
295
296
  })
296
- }, (0, _dom.getPrefixedDataAttributes)(V, "AdvancedDataCard")), {
297
- ref: W,
297
+ }, (0, _dom.getPrefixedDataAttributes)(W, "AdvancedDataCard")), {
298
+ ref: k,
298
299
  "aria-label": C ? void 0 : w,
299
300
  children: [
300
301
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_boxed.Boxed, {
@@ -305,7 +306,7 @@ const Nr = (param)=>{
305
306
  children: [
306
307
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_touchable.default, _object_spread_props(_object_spread({
307
308
  maybe: !0
308
- }, g), {
309
+ }, f), {
309
310
  "aria-label": C ? w : void 0,
310
311
  className: _advanceddatacardcssmistica.touchable,
311
312
  children: [
@@ -323,7 +324,7 @@ const Nr = (param)=>{
323
324
  space: 8,
324
325
  children: [
325
326
  a,
326
- /* @__PURE__ */ (0, _jsxruntime.jsx)(Nr, {
327
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(xr, {
327
328
  headline: i,
328
329
  pretitle: s,
329
330
  pretitleAs: m,
@@ -332,7 +333,7 @@ const Nr = (param)=>{
332
333
  titleAs: c,
333
334
  titleLinesMax: l,
334
335
  subtitle: o,
335
- subtitleLinesMax: e,
336
+ subtitleLinesMax: t,
336
337
  description: h,
337
338
  descriptionLinesMax: x
338
339
  })
@@ -340,7 +341,7 @@ const Nr = (param)=>{
340
341
  }),
341
342
  !a && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
342
343
  style: (0, _css.applyCssVars)({
343
- [_advanceddatacardcssmistica.vars.topActionsCount]: String(z)
344
+ [_advanceddatacardcssmistica.vars.topActionsCount]: String(O)
344
345
  }),
345
346
  className: _advanceddatacardcssmistica.topActionsWithoutIcon
346
347
  })
@@ -358,22 +359,22 @@ const Nr = (param)=>{
358
359
  paddingBottom: 24,
359
360
  width: "100%",
360
361
  className: _advanceddatacardcssmistica.zindex,
361
- children: p.map((O, I)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
362
+ children: p.map((X, I)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
362
363
  children: [
363
364
  /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
364
365
  className: _advanceddatacardcssmistica.paddingX,
365
- children: O
366
+ children: X
366
367
  }),
367
368
  I + 1 !== p.length && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
368
369
  paddingY: G,
369
- children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
370
+ children: !M && /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
370
371
  })
371
372
  ]
372
373
  }, I))
373
374
  })
374
375
  ]
375
376
  })),
376
- F && /* @__PURE__ */ (0, _jsxruntime.jsx)(xr, _object_spread({}, k))
377
+ F && /* @__PURE__ */ (0, _jsxruntime.jsx)(Cr, _object_spread({}, z))
377
378
  ]
378
379
  }),
379
380
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_card.CardActionsGroup, {
@@ -382,4 +383,4 @@ const Nr = (param)=>{
382
383
  })
383
384
  ]
384
385
  }));
385
- }), Wr = Cr;
386
+ }), kr = Tr;
@@ -31,19 +31,29 @@ interface InformationBlockProps {
31
31
  'aria-label'?: string;
32
32
  }
33
33
  export declare const InformationBlock: React.FC<InformationBlockProps>;
34
+ interface Heading {
35
+ value: string;
36
+ text?: string;
37
+ valueColor?: string;
38
+ }
34
39
  interface HighlightedValueBlockProps {
35
40
  headline?: RendersNullableElement<typeof Tag>;
36
- mainHeading: {
41
+ headings?: ReadonlyArray<Heading>;
42
+ /** @deprecated Use headings instead */
43
+ mainHeading?: {
37
44
  value: string;
38
45
  text: string;
39
46
  };
47
+ /** @deprecated Use headings instead */
40
48
  secondHeading?: {
41
49
  value: string;
42
50
  text: string;
43
51
  };
52
+ /** @deprecated Use headings instead */
44
53
  secondaryValue?: string;
45
54
  title?: string;
46
55
  description?: ReadonlyArray<string> | string;
56
+ /** @deprecated Use headings instead */
47
57
  valueColor?: string;
48
58
  'aria-label'?: string;
49
59
  }
@@ -10,22 +10,22 @@ function _export(target, all) {
10
10
  }
11
11
  _export(exports, {
12
12
  HighlightedValueBlock: function() {
13
- return E;
13
+ return K;
14
14
  },
15
15
  InformationBlock: function() {
16
- return D;
16
+ return J;
17
17
  },
18
18
  ProgressBlock: function() {
19
- return J;
19
+ return O;
20
20
  },
21
21
  RowBlock: function() {
22
- return q;
22
+ return E;
23
23
  },
24
24
  SimpleBlock: function() {
25
- return z;
25
+ return F;
26
26
  },
27
27
  ValueBlock: function() {
28
- return F;
28
+ return M;
29
29
  }
30
30
  });
31
31
  const _jsxruntime = require("react/jsx-runtime");
@@ -45,10 +45,10 @@ function _interop_require_default(obj) {
45
45
  };
46
46
  }
47
47
  const g = (param)=>{
48
- let { title: a, description: e } = param;
49
- const l = typeof e == "string" ? [
50
- e
51
- ] : e;
48
+ let { title: a, description: l } = param;
49
+ const o = typeof l == "string" ? [
50
+ l
51
+ ] : l;
52
52
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
53
53
  className: _blockscssmistica.column,
54
54
  children: [
@@ -57,7 +57,7 @@ const g = (param)=>{
57
57
  color: _skincontractcssmistica.vars.colors.textPrimary,
58
58
  children: a
59
59
  }),
60
- l && l.map((t, i)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
60
+ o && o.map((t, i)=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
61
61
  regular: !0,
62
62
  color: _skincontractcssmistica.vars.colors.textSecondary,
63
63
  as: "p",
@@ -65,8 +65,8 @@ const g = (param)=>{
65
65
  }, i))
66
66
  ]
67
67
  });
68
- }, q = (param)=>{
69
- let { title: a, stackingGroup: e, description: l, "aria-label": t } = param;
68
+ }, E = (param)=>{
69
+ let { title: a, stackingGroup: l, description: o, "aria-label": t } = param;
70
70
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
71
71
  "aria-label": t,
72
72
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
@@ -80,20 +80,20 @@ const g = (param)=>{
80
80
  children: a
81
81
  })
82
82
  }),
83
- e || /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
83
+ l || /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
84
84
  regular: !0,
85
85
  color: _skincontractcssmistica.vars.colors.textSecondary,
86
86
  textAlign: "right",
87
87
  as: "div",
88
- children: l
88
+ children: o
89
89
  })
90
90
  ]
91
91
  })
92
92
  });
93
- }, z = (param)=>{
94
- let { image: a, description: e, "aria-label": l } = param;
93
+ }, F = (param)=>{
94
+ let { image: a, description: l, "aria-label": o } = param;
95
95
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
96
- "aria-label": l,
96
+ "aria-label": o,
97
97
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
98
98
  space: 16,
99
99
  alignItems: "center",
@@ -107,21 +107,21 @@ const g = (param)=>{
107
107
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
108
108
  regular: !0,
109
109
  color: _skincontractcssmistica.vars.colors.textSecondary,
110
- children: e
110
+ children: l
111
111
  })
112
112
  ]
113
113
  })
114
114
  });
115
- }, D = (param)=>{
116
- let { title: a, description: e, secondaryValue: l, value: t, valueColor: i = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": d } = param;
115
+ }, J = (param)=>{
116
+ let { title: a, description: l, secondaryValue: o, value: t, valueColor: i = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": s } = param;
117
117
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
118
118
  space: "between",
119
119
  alignItems: "flex-end",
120
- "aria-label": d,
120
+ "aria-label": s,
121
121
  children: [
122
122
  /* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
123
123
  title: a,
124
- description: e
124
+ description: l
125
125
  }),
126
126
  /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
127
127
  className: (0, _classnames.default)(_blockscssmistica.column, _blockscssmistica.rightContent),
@@ -130,7 +130,7 @@ const g = (param)=>{
130
130
  regular: !0,
131
131
  color: _skincontractcssmistica.vars.colors.textSecondary,
132
132
  decoration: "line-through",
133
- children: l
133
+ children: o
134
134
  }),
135
135
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text5, {
136
136
  color: i,
@@ -140,10 +140,10 @@ const g = (param)=>{
140
140
  })
141
141
  ]
142
142
  });
143
- }, E = (param)=>{
144
- let { headline: a, mainHeading: e, secondHeading: l, secondaryValue: t, title: i, description: d, valueColor: h = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": b } = param;
143
+ }, K = (param)=>{
144
+ let { headline: a, headings: l, mainHeading: o, secondHeading: t, secondaryValue: i, title: s, description: h, valueColor: b = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": v } = param;
145
145
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
146
- "aria-label": b,
146
+ "aria-label": v,
147
147
  children: [
148
148
  a && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
149
149
  paddingBottom: 24,
@@ -152,53 +152,71 @@ const g = (param)=>{
152
152
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
153
153
  space: 2,
154
154
  children: [
155
- /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
155
+ l && l.map((x, f)=>/* @__PURE__ */ {
156
+ var _x_valueColor;
157
+ return (0, _jsxruntime.jsxs)(_inline.default, {
158
+ space: 8,
159
+ alignItems: "baseline",
160
+ children: [
161
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
162
+ color: (_x_valueColor = x.valueColor) !== null && _x_valueColor !== void 0 ? _x_valueColor : _skincontractcssmistica.vars.colors.textPrimary,
163
+ children: x.value
164
+ }),
165
+ /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
166
+ regular: !0,
167
+ color: _skincontractcssmistica.vars.colors.textSecondary,
168
+ children: x.text
169
+ })
170
+ ]
171
+ }, f);
172
+ }),
173
+ o && /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
156
174
  space: 8,
157
175
  alignItems: "baseline",
158
176
  children: [
159
177
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
160
- color: h,
161
- children: e.value
178
+ color: b,
179
+ children: o.value
162
180
  }),
163
181
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
164
182
  regular: !0,
165
183
  color: _skincontractcssmistica.vars.colors.textSecondary,
166
- children: e.text
184
+ children: o.text
167
185
  })
168
186
  ]
169
187
  }),
170
- l && /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
188
+ t && /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
171
189
  space: 8,
172
190
  alignItems: "baseline",
173
191
  children: [
174
192
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
175
- color: h,
176
- children: l.value
193
+ color: b,
194
+ children: t.value
177
195
  }),
178
196
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
179
197
  regular: !0,
180
198
  color: _skincontractcssmistica.vars.colors.textSecondary,
181
- children: l.text
199
+ children: t.text
182
200
  })
183
201
  ]
184
202
  }),
185
- t && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
203
+ i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
186
204
  color: _skincontractcssmistica.vars.colors.textSecondary,
187
- children: t
205
+ children: i
188
206
  })
189
207
  ]
190
208
  }),
191
- i || d ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
209
+ s || h ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
192
210
  paddingTop: 8,
193
211
  children: /* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
194
- title: i,
195
- description: d
212
+ title: s,
213
+ description: h
196
214
  })
197
215
  }) : null
198
216
  ]
199
217
  });
200
- }, F = (param)=>{
201
- let { title: a, value: e, description: l, valueColor: t = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": i } = param;
218
+ }, M = (param)=>{
219
+ let { title: a, value: l, description: o, valueColor: t = _skincontractcssmistica.vars.colors.textPrimary, "aria-label": i } = param;
202
220
  return /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
203
221
  "aria-label": i,
204
222
  className: _blockscssmistica.column,
@@ -210,15 +228,15 @@ const g = (param)=>{
210
228
  }),
211
229
  /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
212
230
  color: t,
213
- children: e
231
+ children: l
214
232
  }),
215
233
  /* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
216
- description: l
234
+ description: o
217
235
  })
218
236
  ]
219
237
  });
220
- }, J = (param)=>{
221
- let { title: a, stackingGroup: e, progressPercent: l, reverse: t, heading: i, description: d, "aria-label": h } = param;
238
+ }, O = (param)=>{
239
+ let { title: a, stackingGroup: l, progressPercent: o, reverse: t, heading: i, description: s, "aria-label": h } = param;
222
240
  return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
223
241
  "aria-label": h,
224
242
  children: /* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
@@ -235,12 +253,12 @@ const g = (param)=>{
235
253
  children: a
236
254
  })
237
255
  }),
238
- e
256
+ l
239
257
  ]
240
258
  }),
241
- l !== void 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)(_progressbar.ProgressBar, {
259
+ o !== void 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)(_progressbar.ProgressBar, {
242
260
  "aria-hidden": !0,
243
- progressPercent: l,
261
+ progressPercent: o,
244
262
  reverse: t
245
263
  }),
246
264
  /* @__PURE__ */ (0, _jsxruntime.jsxs)(_inline.default, {
@@ -258,10 +276,10 @@ const g = (param)=>{
258
276
  })
259
277
  ]
260
278
  }),
261
- d && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
279
+ s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
262
280
  regular: !0,
263
281
  color: _skincontractcssmistica.vars.colors.textSecondary,
264
- children: d
282
+ children: s
265
283
  })
266
284
  ]
267
285
  })