@telefonica/mistica 14.16.0 → 14.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/mistica.css +1 -1
- package/dist/button.css-mistica.js +19 -16
- package/dist/button.css.d.ts +1 -0
- package/dist/button.d.ts +6 -1
- package/dist/button.js +161 -115
- package/dist/card.js +115 -119
- package/dist/list.css-mistica.js +17 -11
- package/dist/list.css.d.ts +2 -0
- package/dist/list.d.ts +1 -0
- package/dist/list.js +106 -94
- package/dist/package-version.js +1 -1
- package/dist/skins/blau.js +11 -10
- package/dist/skins/defaults.js +1 -0
- package/dist/skins/movistar-legacy.js +11 -10
- package/dist/skins/movistar.js +11 -10
- package/dist/skins/o2.js +11 -10
- package/dist/skins/telefonica.js +11 -10
- package/dist/skins/types/index.d.ts +1 -0
- package/dist/skins/vivo-new.js +11 -10
- package/dist/skins/vivo.js +11 -10
- package/dist/spinner.css-mistica.js +4 -4
- package/dist/tabs.js +13 -13
- package/dist-es/button.css-mistica.js +3 -3
- package/dist-es/button.js +201 -155
- package/dist-es/card.js +164 -168
- package/dist-es/list.css-mistica.js +2 -2
- package/dist-es/list.js +143 -131
- package/dist-es/package-version.js +1 -1
- package/dist-es/skins/blau.js +11 -10
- package/dist-es/skins/defaults.js +1 -0
- package/dist-es/skins/movistar-legacy.js +11 -10
- package/dist-es/skins/movistar.js +11 -10
- package/dist-es/skins/o2.js +11 -10
- package/dist-es/skins/telefonica.js +11 -10
- package/dist-es/skins/vivo-new.js +11 -10
- package/dist-es/skins/vivo.js +11 -10
- package/dist-es/spinner.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/tabs.js +18 -18
- package/package.json +1 -1
package/dist/list.css-mistica.js
CHANGED
|
@@ -21,37 +21,43 @@ _export(exports, {
|
|
|
21
21
|
content: function() {
|
|
22
22
|
return a;
|
|
23
23
|
},
|
|
24
|
-
|
|
24
|
+
detail: function() {
|
|
25
25
|
return r;
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
detailRight: function() {
|
|
28
|
+
return t;
|
|
29
|
+
},
|
|
30
|
+
disabled: function() {
|
|
28
31
|
return o;
|
|
29
32
|
},
|
|
33
|
+
dualActionContainer: function() {
|
|
34
|
+
return i;
|
|
35
|
+
},
|
|
30
36
|
dualActionDivider: function() {
|
|
31
|
-
return
|
|
37
|
+
return e;
|
|
32
38
|
},
|
|
33
39
|
dualActionLeft: function() {
|
|
34
|
-
return
|
|
40
|
+
return d;
|
|
35
41
|
},
|
|
36
42
|
dualActionRight: function() {
|
|
37
|
-
return
|
|
43
|
+
return g;
|
|
38
44
|
},
|
|
39
45
|
hoverBackground: function() {
|
|
40
|
-
return
|
|
46
|
+
return u;
|
|
41
47
|
},
|
|
42
48
|
pointer: function() {
|
|
43
|
-
return
|
|
49
|
+
return b;
|
|
44
50
|
},
|
|
45
51
|
right: function() {
|
|
46
|
-
return
|
|
52
|
+
return l;
|
|
47
53
|
},
|
|
48
54
|
rowBody: function() {
|
|
49
|
-
return
|
|
55
|
+
return j;
|
|
50
56
|
},
|
|
51
57
|
rowContent: function() {
|
|
52
|
-
return
|
|
58
|
+
return c;
|
|
53
59
|
}
|
|
54
60
|
});
|
|
55
61
|
require("./sprinkles.css.ts.vanilla.css-mistica.js");
|
|
56
62
|
require("./list.css.ts.vanilla.css-mistica.js");
|
|
57
|
-
var _ = "_1y2v1nf64 _1y2v1nf6m _1y2v1nf6o", y = "_1y2v1nf6d _1y2v1nf9i _1y2v1nf8w _1y2v1nf6m", f = "_1y2v1nf64 _1y2v1nf6j", a = "_1y2v1nf64 _1y2v1nf8f _1y2v1nfa5", r = "
|
|
63
|
+
var _ = "_1y2v1nf64 _1y2v1nf6m _1y2v1nf6o", y = "_1y2v1nf6d _1y2v1nf9i _1y2v1nf8w _1y2v1nf6m", f = "_1y2v1nf64 _1y2v1nf6j", a = "_1y2v1nf64 _1y2v1nf8f _1y2v1nfa5", r = "_2buj9gd", t = "_2buj9gc", o = "_2buj9g0", i = "_1y2v1nf64 _1y2v1nf69 _1y2v1nf8w", e = "_2buj9gk _1y2v1nf64", d = "_1y2v1nf6r _1y2v1nf76 _1y2v1nf7l _1y2v1nf80 _1y2v1nfaa _1y2v1nf5y _1y2v1nf7q _1y2v1nf85 _1y2v1nf66 _1y2v1nf6p", g = "_2buj9gm _1y2v1nf6r _1y2v1nf76 _1y2v1nf7l _1y2v1nf80 _1y2v1nfaa _1y2v1nf5y _1y2v1nf7q _1y2v1nf85 _1y2v1nf64 _1y2v1nf6j _1y2v1nf6o _1y2v1nf8g _1y2v1nf8w", u = "_2buj9g1", b = "_1y2v1nfar", l = "_2buj9gb", j = "_1y2v1nf64 _1y2v1nf6a _1y2v1nf6q", c = "_1y2v1nf6r _1y2v1nf76 _1y2v1nf7l _1y2v1nf80 _1y2v1nf8f _1y2v1nfaa _1y2v1nf5y _1y2v1nf66 _1y2v1nf8w";
|
package/dist/list.css.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare const center: string;
|
|
|
9
9
|
export declare const badge: string;
|
|
10
10
|
export declare const control: string;
|
|
11
11
|
export declare const right: string;
|
|
12
|
+
export declare const detailRight: string;
|
|
13
|
+
export declare const detail: string;
|
|
12
14
|
export declare const centeredControl: string;
|
|
13
15
|
export declare const dualActionContainer: string;
|
|
14
16
|
export declare const dualActionLeft: string;
|
package/dist/list.d.ts
CHANGED
package/dist/list.js
CHANGED
|
@@ -10,16 +10,16 @@ function _export(target, all) {
|
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
12
|
BoxedRow: function() {
|
|
13
|
-
return
|
|
13
|
+
return Ye;
|
|
14
14
|
},
|
|
15
15
|
BoxedRowList: function() {
|
|
16
|
-
return
|
|
16
|
+
return qe;
|
|
17
17
|
},
|
|
18
18
|
Row: function() {
|
|
19
|
-
return
|
|
19
|
+
return Oe;
|
|
20
20
|
},
|
|
21
21
|
RowList: function() {
|
|
22
|
-
return
|
|
22
|
+
return Fe;
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
const _jsxruntime = require("react/jsx-runtime");
|
|
@@ -173,19 +173,19 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
173
173
|
height: "100%"
|
|
174
174
|
},
|
|
175
175
|
children: e
|
|
176
|
-
}) : e,
|
|
177
|
-
let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: d , subtitleLinesMax:
|
|
178
|
-
const
|
|
176
|
+
}) : e, ve = (param)=>{
|
|
177
|
+
let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: d , subtitleLinesMax: b , description: l , descriptionLinesMax: B , detail: s , asset: T , type: f = "basic" , badge: I , right: S , extra: V , labelId: h , disabled: g } = param;
|
|
178
|
+
const u = (0, _themevariantcontext.useIsInverseVariant)(), n = [
|
|
179
179
|
r,
|
|
180
180
|
i,
|
|
181
181
|
d,
|
|
182
|
-
|
|
182
|
+
l,
|
|
183
183
|
V
|
|
184
|
-
].filter(Boolean).length === 1,
|
|
184
|
+
].filter(Boolean).length === 1, E = ()=>I ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
185
185
|
paddingLeft: 16,
|
|
186
186
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
187
187
|
className: (0, _classnames.default)(_listcssmistica.center, _listcssmistica.badge, {
|
|
188
|
-
[_listcssmistica.disabled]:
|
|
188
|
+
[_listcssmistica.disabled]: g
|
|
189
189
|
}),
|
|
190
190
|
children: I === !0 ? /* @__PURE__ */ (0, _jsxruntime.jsx)(_badge.default, {}) : /* @__PURE__ */ (0, _jsxruntime.jsx)(_badge.default, {
|
|
191
191
|
value: I
|
|
@@ -196,20 +196,20 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
196
196
|
paddingY: 16,
|
|
197
197
|
className: _listcssmistica.content,
|
|
198
198
|
children: [
|
|
199
|
-
|
|
199
|
+
T && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
200
200
|
paddingRight: 16,
|
|
201
201
|
className: (0, _classnames.default)({
|
|
202
202
|
[_listcssmistica.center]: n,
|
|
203
|
-
[_listcssmistica.disabled]:
|
|
203
|
+
[_listcssmistica.disabled]: g
|
|
204
204
|
}),
|
|
205
205
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
206
206
|
className: _listcssmistica.asset,
|
|
207
|
-
children:
|
|
207
|
+
children: T
|
|
208
208
|
})
|
|
209
209
|
}),
|
|
210
210
|
/* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
211
211
|
className: (0, _classnames.default)(_listcssmistica.rowBody, {
|
|
212
|
-
[_listcssmistica.disabled]:
|
|
212
|
+
[_listcssmistica.disabled]: g
|
|
213
213
|
}),
|
|
214
214
|
style: {
|
|
215
215
|
justifyContent: n ? "center" : "flex-start"
|
|
@@ -220,6 +220,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
220
220
|
r && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text1, {
|
|
221
221
|
regular: !0,
|
|
222
222
|
color: _skincontractcssmistica.vars.colors.textPrimary,
|
|
223
|
+
hyphens: "auto",
|
|
223
224
|
children: r
|
|
224
225
|
}),
|
|
225
226
|
/* @__PURE__ */ (0, _jsxruntime.jsxs)(_stack.default, {
|
|
@@ -230,19 +231,22 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
230
231
|
color: _skincontractcssmistica.vars.colors.textPrimary,
|
|
231
232
|
truncate: a,
|
|
232
233
|
id: h,
|
|
234
|
+
hyphens: "auto",
|
|
233
235
|
children: i
|
|
234
236
|
}),
|
|
235
237
|
d && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
236
238
|
regular: !0,
|
|
237
239
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
238
|
-
truncate:
|
|
240
|
+
truncate: b,
|
|
241
|
+
hyphens: "auto",
|
|
239
242
|
children: d
|
|
240
243
|
}),
|
|
241
|
-
|
|
244
|
+
l && /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
242
245
|
regular: !0,
|
|
243
246
|
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
244
|
-
truncate:
|
|
245
|
-
|
|
247
|
+
truncate: B,
|
|
248
|
+
hyphens: "auto",
|
|
249
|
+
children: l
|
|
246
250
|
}),
|
|
247
251
|
V
|
|
248
252
|
]
|
|
@@ -250,36 +254,43 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
250
254
|
]
|
|
251
255
|
})
|
|
252
256
|
}),
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
[_listcssmistica.disabled]: u
|
|
257
|
+
E(),
|
|
258
|
+
/* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
259
|
+
className: (0, _classnames.default)({
|
|
260
|
+
[_listcssmistica.right]: !!s || f !== "basic"
|
|
258
261
|
}),
|
|
259
|
-
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconchevron.default, {
|
|
260
|
-
color: m ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
|
|
261
|
-
direction: "right"
|
|
262
|
-
})
|
|
263
|
-
}),
|
|
264
|
-
B === "control" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
265
|
-
className: _listcssmistica.right,
|
|
266
|
-
children: U(T, n)
|
|
267
|
-
}),
|
|
268
|
-
B === "custom" && /* @__PURE__ */ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
|
|
269
262
|
children: [
|
|
270
|
-
/* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
271
|
-
className: (0, _classnames.default)(_listcssmistica.
|
|
272
|
-
[_listcssmistica.disabled]:
|
|
263
|
+
s && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
264
|
+
className: (0, _classnames.default)(_listcssmistica.center, _listcssmistica.detail, {
|
|
265
|
+
[_listcssmistica.disabled]: g
|
|
266
|
+
}),
|
|
267
|
+
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_text.Text2, {
|
|
268
|
+
regular: !0,
|
|
269
|
+
color: _skincontractcssmistica.vars.colors.textSecondary,
|
|
270
|
+
hyphens: "auto",
|
|
271
|
+
children: s
|
|
272
|
+
})
|
|
273
|
+
}),
|
|
274
|
+
f === "control" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
275
|
+
className: (0, _classnames.default)({
|
|
276
|
+
[_listcssmistica.detailRight]: !!s
|
|
277
|
+
}),
|
|
278
|
+
children: U(S, n)
|
|
279
|
+
}),
|
|
280
|
+
f === "custom" && /* @__PURE__ */ (0, _jsxruntime.jsx)("div", {
|
|
281
|
+
className: (0, _classnames.default)({
|
|
282
|
+
[_listcssmistica.detailRight]: !!s,
|
|
283
|
+
[_listcssmistica.disabled]: g
|
|
273
284
|
}),
|
|
274
|
-
children: U(
|
|
285
|
+
children: U(S, n)
|
|
275
286
|
}),
|
|
276
|
-
e && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
277
|
-
paddingLeft: 4,
|
|
287
|
+
(f === "chevron" || f === "custom" && e) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
288
|
+
paddingLeft: s || f === "custom" ? 4 : 0,
|
|
278
289
|
className: (0, _classnames.default)(_listcssmistica.center, {
|
|
279
|
-
[_listcssmistica.disabled]:
|
|
290
|
+
[_listcssmistica.disabled]: g
|
|
280
291
|
}),
|
|
281
292
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_iconchevron.default, {
|
|
282
|
-
color:
|
|
293
|
+
color: u ? _skincontractcssmistica.vars.colors.inverse : _skincontractcssmistica.vars.colors.neutralMedium,
|
|
283
294
|
direction: "right"
|
|
284
295
|
})
|
|
285
296
|
})
|
|
@@ -287,50 +298,51 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
287
298
|
})
|
|
288
299
|
]
|
|
289
300
|
});
|
|
290
|
-
},
|
|
301
|
+
}, be = (param)=>{
|
|
291
302
|
let { value: e , defaultValue: r , onChange: i } = param;
|
|
292
|
-
const a = e !== void 0, [d,
|
|
293
|
-
a ||
|
|
303
|
+
const a = e !== void 0, [d, b] = _react.useState(!!r), l = ()=>{
|
|
304
|
+
a || b(!d), i && i(a ? !e : !d);
|
|
294
305
|
};
|
|
295
306
|
return a ? [
|
|
296
307
|
!!e,
|
|
297
|
-
|
|
308
|
+
l
|
|
298
309
|
] : [
|
|
299
310
|
d,
|
|
300
|
-
|
|
311
|
+
l
|
|
301
312
|
];
|
|
302
|
-
},
|
|
303
|
-
const i = (0, _hooks.useAriaId)(), a = (0, _themevariantcontext.useIsInverseVariant)(), { asset: d , headline:
|
|
304
|
-
let { type: c , right:
|
|
305
|
-
return (0, _jsxruntime.jsx)(
|
|
313
|
+
}, xe = (e)=>e.switch !== void 0, we = (e)=>e.checkbox !== void 0, ye = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ _react.forwardRef((e, r)=>{
|
|
314
|
+
const i = (0, _hooks.useAriaId)(), a = (0, _themevariantcontext.useIsInverseVariant)(), { asset: d , headline: b , title: l , titleLinesMax: B , subtitle: s , subtitleLinesMax: T , description: f , descriptionLinesMax: I , detail: S , badge: V , role: h , extra: g , dataAttributes: u } = e, O = (0, _radiobutton.useRadioContext)(), n = e.disabled || e.radioValue !== void 0 && O.disabled, [E, F] = be(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
|
|
315
|
+
let { type: c , right: v , labelId: X } = param;
|
|
316
|
+
return (0, _jsxruntime.jsx)(ve, {
|
|
306
317
|
asset: d,
|
|
307
|
-
headline:
|
|
308
|
-
title:
|
|
309
|
-
subtitle:
|
|
310
|
-
description:
|
|
318
|
+
headline: b,
|
|
319
|
+
title: l,
|
|
320
|
+
subtitle: s,
|
|
321
|
+
description: f,
|
|
311
322
|
badge: V,
|
|
312
|
-
titleLinesMax:
|
|
313
|
-
subtitleLinesMax:
|
|
314
|
-
descriptionLinesMax:
|
|
323
|
+
titleLinesMax: B,
|
|
324
|
+
subtitleLinesMax: T,
|
|
325
|
+
descriptionLinesMax: I,
|
|
326
|
+
detail: S,
|
|
315
327
|
type: c,
|
|
316
|
-
right:
|
|
317
|
-
extra:
|
|
318
|
-
labelId:
|
|
328
|
+
right: v,
|
|
329
|
+
extra: g,
|
|
330
|
+
labelId: X,
|
|
319
331
|
disabled: n,
|
|
320
332
|
withChevron: !!e.onPress || !!e.href || !!e.to
|
|
321
333
|
});
|
|
322
334
|
}, M = (c)=>{
|
|
323
|
-
let
|
|
324
|
-
return c.right === null && (
|
|
335
|
+
let v = "chevron";
|
|
336
|
+
return c.right === null && (v = "basic"), c.right && (v = "custom"), /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
325
337
|
paddingX: 16,
|
|
326
338
|
ref: r,
|
|
327
339
|
children: x({
|
|
328
|
-
type:
|
|
340
|
+
type: v,
|
|
329
341
|
right: c.right
|
|
330
342
|
})
|
|
331
343
|
});
|
|
332
344
|
};
|
|
333
|
-
if (e.onPress && !
|
|
345
|
+
if (e.onPress && !xe(e) && !we(e) && !ye(e)) return /* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
|
|
334
346
|
ref: r,
|
|
335
347
|
className: (0, _classnames.default)(_listcssmistica.rowContent, {
|
|
336
348
|
[_listcssmistica.hoverBackground]: !(n || a),
|
|
@@ -339,7 +351,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
339
351
|
trackingEvent: e.trackingEvent,
|
|
340
352
|
onPress: e.onPress,
|
|
341
353
|
role: h,
|
|
342
|
-
dataAttributes:
|
|
354
|
+
dataAttributes: u,
|
|
343
355
|
disabled: n,
|
|
344
356
|
children: M(e)
|
|
345
357
|
});
|
|
@@ -352,7 +364,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
352
364
|
to: e.to,
|
|
353
365
|
fullPageOnWebView: e.fullPageOnWebView,
|
|
354
366
|
role: h,
|
|
355
|
-
dataAttributes:
|
|
367
|
+
dataAttributes: u,
|
|
356
368
|
disabled: n,
|
|
357
369
|
children: M(e)
|
|
358
370
|
});
|
|
@@ -365,19 +377,19 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
365
377
|
href: e.href,
|
|
366
378
|
newTab: e.newTab,
|
|
367
379
|
role: h,
|
|
368
|
-
dataAttributes:
|
|
380
|
+
dataAttributes: u,
|
|
369
381
|
disabled: n,
|
|
370
382
|
children: M(e)
|
|
371
383
|
});
|
|
372
|
-
const
|
|
373
|
-
var
|
|
384
|
+
const Y = (c)=>{
|
|
385
|
+
var X, q;
|
|
374
386
|
var _ref, _ref1;
|
|
375
|
-
const
|
|
387
|
+
const v = (_ref1 = (_ref = (X = e.switch) == null ? void 0 : X.name) !== null && _ref !== void 0 ? _ref : (q = e.checkbox) == null ? void 0 : q.name) !== null && _ref1 !== void 0 ? _ref1 : i;
|
|
376
388
|
return e.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
377
389
|
className: _listcssmistica.dualActionContainer,
|
|
378
390
|
children: [
|
|
379
391
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
|
|
380
|
-
dataAttributes:
|
|
392
|
+
dataAttributes: u,
|
|
381
393
|
disabled: n,
|
|
382
394
|
onPress: e.onPress,
|
|
383
395
|
role: h,
|
|
@@ -394,15 +406,15 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
394
406
|
}),
|
|
395
407
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
|
|
396
408
|
disabled: n,
|
|
397
|
-
name:
|
|
398
|
-
checked:
|
|
409
|
+
name: v,
|
|
410
|
+
checked: E,
|
|
399
411
|
"aria-labelledby": i,
|
|
400
|
-
onChange:
|
|
412
|
+
onChange: F,
|
|
401
413
|
render: (param)=>/* @__PURE__ */ {
|
|
402
|
-
let { controlElement:
|
|
414
|
+
let { controlElement: j } = param;
|
|
403
415
|
return (0, _jsxruntime.jsx)("div", {
|
|
404
416
|
className: _listcssmistica.dualActionRight,
|
|
405
|
-
children:
|
|
417
|
+
children: j
|
|
406
418
|
});
|
|
407
419
|
}
|
|
408
420
|
})
|
|
@@ -414,12 +426,12 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
414
426
|
}),
|
|
415
427
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(c, {
|
|
416
428
|
disabled: n,
|
|
417
|
-
dataAttributes:
|
|
418
|
-
name:
|
|
419
|
-
checked:
|
|
420
|
-
onChange:
|
|
429
|
+
dataAttributes: u,
|
|
430
|
+
name: v,
|
|
431
|
+
checked: E,
|
|
432
|
+
onChange: F,
|
|
421
433
|
render: (param)=>/* @__PURE__ */ {
|
|
422
|
-
let { controlElement:
|
|
434
|
+
let { controlElement: j , labelId: $ } = param;
|
|
423
435
|
return (0, _jsxruntime.jsx)(_box.default, {
|
|
424
436
|
paddingX: 16,
|
|
425
437
|
role: h,
|
|
@@ -428,7 +440,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
428
440
|
type: "control",
|
|
429
441
|
right: ()=>/* @__PURE__ */ (0, _jsxruntime.jsx)(_stack.default, {
|
|
430
442
|
space: "around",
|
|
431
|
-
children:
|
|
443
|
+
children: j
|
|
432
444
|
})
|
|
433
445
|
})
|
|
434
446
|
});
|
|
@@ -436,7 +448,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
436
448
|
})
|
|
437
449
|
});
|
|
438
450
|
};
|
|
439
|
-
return e.switch ?
|
|
451
|
+
return e.switch ? Y(_switchcomponent.default) : e.checkbox ? Y(_checkbox.default) : e.radioValue ? e.onPress ? /* @__PURE__ */ (0, _jsxruntime.jsxs)("div", {
|
|
440
452
|
className: _listcssmistica.dualActionContainer,
|
|
441
453
|
children: [
|
|
442
454
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_touchable.BaseTouchable, {
|
|
@@ -455,7 +467,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
455
467
|
className: _listcssmistica.dualActionDivider
|
|
456
468
|
}),
|
|
457
469
|
/* @__PURE__ */ (0, _jsxruntime.jsx)(_radiobutton.default, {
|
|
458
|
-
dataAttributes:
|
|
470
|
+
dataAttributes: u,
|
|
459
471
|
value: e.radioValue,
|
|
460
472
|
"aria-labelledby": i,
|
|
461
473
|
render: (param)=>/* @__PURE__ */ {
|
|
@@ -478,7 +490,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
478
490
|
role: h,
|
|
479
491
|
ref: r,
|
|
480
492
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_radiobutton.default, {
|
|
481
|
-
dataAttributes:
|
|
493
|
+
dataAttributes: u,
|
|
482
494
|
value: e.radioValue,
|
|
483
495
|
"aria-labelledby": i,
|
|
484
496
|
render: (param)=>/* @__PURE__ */ {
|
|
@@ -507,7 +519,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
507
519
|
type: "basic"
|
|
508
520
|
})
|
|
509
521
|
});
|
|
510
|
-
}),
|
|
522
|
+
}), Oe = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
511
523
|
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
512
524
|
"dataAttributes"
|
|
513
525
|
]);
|
|
@@ -517,24 +529,24 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
517
529
|
"component-name": "Row"
|
|
518
530
|
}, e)
|
|
519
531
|
}));
|
|
520
|
-
}),
|
|
532
|
+
}), Fe = (param)=>{
|
|
521
533
|
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: d } = param;
|
|
522
|
-
const
|
|
534
|
+
const b = _react.Children.count(e) - 1, l = !d;
|
|
523
535
|
return /* @__PURE__ */ (0, _jsxruntime.jsx)("div", _object_spread_props(_object_spread({
|
|
524
536
|
role: i,
|
|
525
537
|
"aria-labelledby": r
|
|
526
538
|
}, (0, _dom.getPrefixedDataAttributes)(a, "RowList")), {
|
|
527
|
-
children: _react.Children.toArray(e).filter(Boolean).map((
|
|
539
|
+
children: _react.Children.toArray(e).filter(Boolean).map((B, s)=>/* @__PURE__ */ (0, _jsxruntime.jsxs)(_react.Fragment, {
|
|
528
540
|
children: [
|
|
529
|
-
|
|
530
|
-
(
|
|
541
|
+
B,
|
|
542
|
+
(s < b || l) && /* @__PURE__ */ (0, _jsxruntime.jsx)(_box.default, {
|
|
531
543
|
paddingX: 16,
|
|
532
544
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_divider.default, {})
|
|
533
545
|
})
|
|
534
546
|
]
|
|
535
|
-
},
|
|
547
|
+
}, s))
|
|
536
548
|
}));
|
|
537
|
-
},
|
|
549
|
+
}, Ye = /*#__PURE__*/ _react.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
538
550
|
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
539
551
|
"dataAttributes"
|
|
540
552
|
]);
|
|
@@ -546,7 +558,7 @@ const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
546
558
|
}, e),
|
|
547
559
|
children: /* @__PURE__ */ (0, _jsxruntime.jsx)(_, _object_spread({}, r))
|
|
548
560
|
});
|
|
549
|
-
}),
|
|
561
|
+
}), qe = (param)=>/* @__PURE__ */ {
|
|
550
562
|
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a } = param;
|
|
551
563
|
return (0, _jsxruntime.jsx)(_stack.default, {
|
|
552
564
|
space: 16,
|
package/dist/package-version.js
CHANGED
package/dist/skins/blau.js
CHANGED
|
@@ -291,6 +291,17 @@ const e = {
|
|
|
291
291
|
button: {
|
|
292
292
|
weight: "medium"
|
|
293
293
|
},
|
|
294
|
+
tabsLabel: {
|
|
295
|
+
weight: "medium",
|
|
296
|
+
size: {
|
|
297
|
+
mobile: 16,
|
|
298
|
+
desktop: 18
|
|
299
|
+
},
|
|
300
|
+
lineHeight: {
|
|
301
|
+
mobile: 24,
|
|
302
|
+
desktop: 24
|
|
303
|
+
}
|
|
304
|
+
},
|
|
294
305
|
link: {
|
|
295
306
|
weight: "medium"
|
|
296
307
|
},
|
|
@@ -317,16 +328,6 @@ const e = {
|
|
|
317
328
|
},
|
|
318
329
|
text10: {
|
|
319
330
|
weight: "light"
|
|
320
|
-
},
|
|
321
|
-
tabsLabel: {
|
|
322
|
-
size: {
|
|
323
|
-
mobile: 16,
|
|
324
|
-
desktop: 18
|
|
325
|
-
},
|
|
326
|
-
lineHeight: {
|
|
327
|
-
mobile: 24,
|
|
328
|
-
desktop: 24
|
|
329
|
-
}
|
|
330
331
|
}
|
|
331
332
|
}
|
|
332
333
|
});
|
package/dist/skins/defaults.js
CHANGED
|
@@ -295,6 +295,17 @@ const e = {
|
|
|
295
295
|
button: {
|
|
296
296
|
weight: "medium"
|
|
297
297
|
},
|
|
298
|
+
tabsLabel: {
|
|
299
|
+
weight: "medium",
|
|
300
|
+
size: {
|
|
301
|
+
mobile: 16,
|
|
302
|
+
desktop: 18
|
|
303
|
+
},
|
|
304
|
+
lineHeight: {
|
|
305
|
+
mobile: 24,
|
|
306
|
+
desktop: 24
|
|
307
|
+
}
|
|
308
|
+
},
|
|
298
309
|
link: {
|
|
299
310
|
weight: "medium"
|
|
300
311
|
},
|
|
@@ -321,16 +332,6 @@ const e = {
|
|
|
321
332
|
},
|
|
322
333
|
text10: {
|
|
323
334
|
weight: "bold"
|
|
324
|
-
},
|
|
325
|
-
tabsLabel: {
|
|
326
|
-
size: {
|
|
327
|
-
mobile: 16,
|
|
328
|
-
desktop: 18
|
|
329
|
-
},
|
|
330
|
-
lineHeight: {
|
|
331
|
-
mobile: 24,
|
|
332
|
-
desktop: 24
|
|
333
|
-
}
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
};
|
package/dist/skins/movistar.js
CHANGED
|
@@ -295,6 +295,17 @@ const e = {
|
|
|
295
295
|
button: {
|
|
296
296
|
weight: "medium"
|
|
297
297
|
},
|
|
298
|
+
tabsLabel: {
|
|
299
|
+
weight: "medium",
|
|
300
|
+
size: {
|
|
301
|
+
mobile: 16,
|
|
302
|
+
desktop: 18
|
|
303
|
+
},
|
|
304
|
+
lineHeight: {
|
|
305
|
+
mobile: 24,
|
|
306
|
+
desktop: 24
|
|
307
|
+
}
|
|
308
|
+
},
|
|
298
309
|
link: {
|
|
299
310
|
weight: "medium"
|
|
300
311
|
},
|
|
@@ -321,16 +332,6 @@ const e = {
|
|
|
321
332
|
},
|
|
322
333
|
text10: {
|
|
323
334
|
weight: "bold"
|
|
324
|
-
},
|
|
325
|
-
tabsLabel: {
|
|
326
|
-
size: {
|
|
327
|
-
mobile: 16,
|
|
328
|
-
desktop: 18
|
|
329
|
-
},
|
|
330
|
-
lineHeight: {
|
|
331
|
-
mobile: 24,
|
|
332
|
-
desktop: 24
|
|
333
|
-
}
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
});
|
package/dist/skins/o2.js
CHANGED
|
@@ -295,6 +295,17 @@ const e = {
|
|
|
295
295
|
button: {
|
|
296
296
|
weight: "medium"
|
|
297
297
|
},
|
|
298
|
+
tabsLabel: {
|
|
299
|
+
weight: "medium",
|
|
300
|
+
size: {
|
|
301
|
+
mobile: 16,
|
|
302
|
+
desktop: 18
|
|
303
|
+
},
|
|
304
|
+
lineHeight: {
|
|
305
|
+
mobile: 24,
|
|
306
|
+
desktop: 24
|
|
307
|
+
}
|
|
308
|
+
},
|
|
298
309
|
link: {
|
|
299
310
|
weight: "medium"
|
|
300
311
|
},
|
|
@@ -321,16 +332,6 @@ const e = {
|
|
|
321
332
|
},
|
|
322
333
|
text10: {
|
|
323
334
|
weight: "light"
|
|
324
|
-
},
|
|
325
|
-
tabsLabel: {
|
|
326
|
-
size: {
|
|
327
|
-
mobile: 16,
|
|
328
|
-
desktop: 18
|
|
329
|
-
},
|
|
330
|
-
lineHeight: {
|
|
331
|
-
mobile: 24,
|
|
332
|
-
desktop: 24
|
|
333
|
-
}
|
|
334
335
|
}
|
|
335
336
|
}
|
|
336
337
|
});
|