@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/css/mistica.css +1 -1
- package/dist/callout.css-mistica.js +10 -3
- package/dist/callout.css.d.ts +2 -0
- package/dist/callout.d.ts +1 -0
- package/dist/callout.js +60 -55
- package/dist/community/advanced-data-card.d.ts +2 -1
- package/dist/community/advanced-data-card.js +28 -27
- package/dist/community/blocks.d.ts +11 -1
- package/dist/community/blocks.js +69 -51
- package/dist/fixed-footer-layout.js +29 -29
- package/dist/grid.css.d.ts +6 -6
- package/dist/hooks.d.ts +3 -1
- package/dist/hooks.js +85 -79
- package/dist/package-version.js +1 -1
- package/dist/table.css-mistica.js +15 -12
- package/dist/table.css.d.ts +1 -0
- package/dist/table.d.ts +1 -0
- package/dist/table.js +83 -75
- package/dist-es/callout.css-mistica.js +3 -2
- package/dist-es/callout.js +84 -79
- package/dist-es/community/advanced-data-card.js +62 -61
- package/dist-es/community/blocks.js +99 -81
- package/dist-es/fixed-footer-layout.js +53 -53
- package/dist-es/hooks.js +91 -85
- package/dist-es/package-version.js +1 -1
- package/dist-es/style.css +1 -1
- package/dist-es/table.css-mistica.js +2 -2
- package/dist-es/table.js +118 -110
- package/package.json +1 -1
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
|
|
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
|
|
87
|
-
let { title:
|
|
88
|
-
const
|
|
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
|
-
}[
|
|
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 :
|
|
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
|
-
|
|
106
|
+
i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
106
107
|
paddingRight: 16,
|
|
107
|
-
children:
|
|
108
|
+
children: i
|
|
108
109
|
}),
|
|
109
|
-
/* @__PURE__ */ (0, _jsxruntime.
|
|
110
|
+
/* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
110
111
|
className: _calloutcssmistica.content,
|
|
111
|
-
children:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
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
|
-
},
|
|
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
|
|
14
|
+
return Tr;
|
|
15
15
|
},
|
|
16
16
|
default: function() {
|
|
17
|
-
return
|
|
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
|
|
164
|
-
let { headline: a, pretitle: i, pretitleAs: s = "p", pretitleLinesMax: m, title: n, titleAs: d = "h3", titleLinesMax: c, subtitle: l, subtitleLinesMax: o, description:
|
|
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
|
-
|
|
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:
|
|
199
|
+
children: t
|
|
200
200
|
})
|
|
201
201
|
]
|
|
202
202
|
});
|
|
203
|
-
},
|
|
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,
|
|
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[
|
|
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,
|
|
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,
|
|
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
|
-
},
|
|
259
|
-
var { stackingGroup: a, headline: i, pretitle: s, pretitleAs: m, pretitleLinesMax: n, title: d, titleAs: c, titleLinesMax: l, subtitle: o, subtitleLinesMax:
|
|
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 = !!
|
|
285
|
+
const C = !!f.href || !!f.onPress || !!f.to, z = {
|
|
285
286
|
button: A,
|
|
286
287
|
footerImage: B,
|
|
287
288
|
footerText: b,
|
|
288
|
-
footerTextLinesMax:
|
|
289
|
+
footerTextLinesMax: V,
|
|
289
290
|
buttonLink: R
|
|
290
|
-
}, F = !!A || !!B || !!b || !!R, H = !!(p != null && p.length),
|
|
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)(
|
|
297
|
-
ref:
|
|
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
|
-
},
|
|
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)(
|
|
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:
|
|
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(
|
|
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((
|
|
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:
|
|
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)(
|
|
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
|
-
}),
|
|
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
|
-
|
|
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
|
}
|
package/dist/community/blocks.js
CHANGED
|
@@ -10,22 +10,22 @@ function _export(target, all) {
|
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
12
|
HighlightedValueBlock: function() {
|
|
13
|
-
return
|
|
13
|
+
return K;
|
|
14
14
|
},
|
|
15
15
|
InformationBlock: function() {
|
|
16
|
-
return
|
|
16
|
+
return J;
|
|
17
17
|
},
|
|
18
18
|
ProgressBlock: function() {
|
|
19
|
-
return
|
|
19
|
+
return O;
|
|
20
20
|
},
|
|
21
21
|
RowBlock: function() {
|
|
22
|
-
return
|
|
22
|
+
return E;
|
|
23
23
|
},
|
|
24
24
|
SimpleBlock: function() {
|
|
25
|
-
return
|
|
25
|
+
return F;
|
|
26
26
|
},
|
|
27
27
|
ValueBlock: function() {
|
|
28
|
-
return
|
|
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:
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
] :
|
|
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
|
-
|
|
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
|
-
},
|
|
69
|
-
let { title: a, stackingGroup:
|
|
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
|
-
|
|
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:
|
|
88
|
+
children: o
|
|
89
89
|
})
|
|
90
90
|
]
|
|
91
91
|
})
|
|
92
92
|
});
|
|
93
|
-
},
|
|
94
|
-
let { image: a, description:
|
|
93
|
+
}, F = (param)=>{
|
|
94
|
+
let { image: a, description: l, "aria-label": o } = param;
|
|
95
95
|
return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
96
|
-
"aria-label":
|
|
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:
|
|
110
|
+
children: l
|
|
111
111
|
})
|
|
112
112
|
]
|
|
113
113
|
})
|
|
114
114
|
});
|
|
115
|
-
},
|
|
116
|
-
let { title: a, description:
|
|
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":
|
|
120
|
+
"aria-label": s,
|
|
121
121
|
children: [
|
|
122
122
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
|
|
123
123
|
title: a,
|
|
124
|
-
description:
|
|
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:
|
|
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
|
-
},
|
|
144
|
-
let { headline: a, mainHeading:
|
|
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":
|
|
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
|
-
|
|
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:
|
|
161
|
-
children:
|
|
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:
|
|
184
|
+
children: o.text
|
|
167
185
|
})
|
|
168
186
|
]
|
|
169
187
|
}),
|
|
170
|
-
|
|
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:
|
|
176
|
-
children:
|
|
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:
|
|
199
|
+
children: t.text
|
|
182
200
|
})
|
|
183
201
|
]
|
|
184
202
|
}),
|
|
185
|
-
|
|
203
|
+
i && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text8, {
|
|
186
204
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
187
|
-
children:
|
|
205
|
+
children: i
|
|
188
206
|
})
|
|
189
207
|
]
|
|
190
208
|
}),
|
|
191
|
-
|
|
209
|
+
s || h ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
192
210
|
paddingTop: 8,
|
|
193
211
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
|
|
194
|
-
title:
|
|
195
|
-
description:
|
|
212
|
+
title: s,
|
|
213
|
+
description: h
|
|
196
214
|
})
|
|
197
215
|
}) : null
|
|
198
216
|
]
|
|
199
217
|
});
|
|
200
|
-
},
|
|
201
|
-
let { title: a, value:
|
|
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:
|
|
231
|
+
children: l
|
|
214
232
|
}),
|
|
215
233
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(g, {
|
|
216
|
-
description:
|
|
234
|
+
description: o
|
|
217
235
|
})
|
|
218
236
|
]
|
|
219
237
|
});
|
|
220
|
-
},
|
|
221
|
-
let { title: a, stackingGroup:
|
|
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
|
-
|
|
256
|
+
l
|
|
239
257
|
]
|
|
240
258
|
}),
|
|
241
|
-
|
|
259
|
+
o !== void 0 && /* @__PURE__ */ (0, _jsxruntime.jsx)(_progressbar.ProgressBar, {
|
|
242
260
|
"aria-hidden": !0,
|
|
243
|
-
progressPercent:
|
|
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
|
-
|
|
279
|
+
s && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
262
280
|
regular: !0,
|
|
263
281
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
264
|
-
children:
|
|
282
|
+
children: s
|
|
265
283
|
})
|
|
266
284
|
]
|
|
267
285
|
})
|