@telefonica/mistica 14.15.0 → 14.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.
- package/css/mistica.css +1 -1
- package/dist/card.d.ts +3 -3
- package/dist/checkbox.css-mistica.js +4 -4
- package/dist/checkbox.js +10 -9
- package/dist/credit-card-number-field.js +22 -19
- package/dist/cvv-field.js +60 -47
- package/dist/date-time-picker.d.ts +10 -0
- package/dist/date-time-picker.js +54 -35
- package/dist/hooks.d.ts +1 -1
- package/dist/icons/icon-cvv-amex.d.ts +1 -0
- package/dist/icons/icon-cvv-amex.js +5 -4
- package/dist/icons/icon-cvv-visa-mc.d.ts +1 -0
- package/dist/icons/icon-cvv-visa-mc.js +7 -6
- package/dist/index.d.ts +1 -0
- package/dist/list.css-mistica.js +1 -1
- package/dist/list.js +90 -91
- package/dist/package-version.js +1 -1
- package/dist/radio-button.css-mistica.js +12 -12
- package/dist/radio-button.js +34 -33
- package/dist/search-field.js +8 -8
- package/dist/select.css-mistica.js +6 -6
- package/dist/select.js +145 -142
- package/dist/skins/blau.js +10 -0
- package/dist/skins/defaults.js +10 -0
- package/dist/skins/movistar-legacy.js +10 -0
- package/dist/skins/movistar.js +10 -0
- package/dist/skins/o2.js +10 -0
- package/dist/skins/telefonica.js +12 -2
- package/dist/skins/types/index.d.ts +10 -0
- package/dist/skins/vivo-new.js +10 -0
- package/dist/skins/vivo.js +10 -0
- package/dist/switch-component.css-mistica.js +9 -9
- package/dist/switch-component.js +16 -15
- package/dist/tabs.js +32 -28
- package/dist/text-field-base.js +44 -44
- package/dist/theme-context-provider.js +25 -24
- package/dist/theme.d.ts +5 -2
- package/dist/theme.js +73 -24
- package/dist/video.d.ts +7 -1
- package/dist/video.js +116 -76
- package/dist-es/checkbox.css-mistica.js +4 -4
- package/dist-es/checkbox.js +21 -20
- package/dist-es/credit-card-number-field.js +23 -20
- package/dist-es/cvv-field.js +74 -61
- package/dist-es/date-time-picker.js +66 -47
- package/dist-es/icons/icon-cvv-amex.js +5 -4
- package/dist-es/icons/icon-cvv-visa-mc.js +9 -8
- package/dist-es/list.css-mistica.js +1 -1
- package/dist-es/list.js +114 -115
- package/dist-es/package-version.js +1 -1
- package/dist-es/radio-button.css-mistica.js +6 -6
- package/dist-es/radio-button.js +38 -37
- package/dist-es/search-field.js +7 -7
- package/dist-es/select.css-mistica.js +5 -5
- package/dist-es/select.js +173 -170
- package/dist-es/skins/blau.js +10 -0
- package/dist-es/skins/defaults.js +10 -0
- package/dist-es/skins/movistar-legacy.js +10 -0
- package/dist-es/skins/movistar.js +10 -0
- package/dist-es/skins/o2.js +10 -0
- package/dist-es/skins/telefonica.js +12 -2
- package/dist-es/skins/vivo-new.js +10 -0
- package/dist-es/skins/vivo.js +10 -0
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +7 -7
- package/dist-es/switch-component.js +37 -36
- package/dist-es/tabs.js +49 -45
- package/dist-es/text-field-base.js +64 -64
- package/dist-es/theme-context-provider.js +56 -55
- package/dist-es/theme.js +69 -20
- package/dist-es/video.js +121 -81
- package/package.json +2 -2
- package/dist/cvv-field.css-mistica.js +0 -21
- package/dist/cvv-field.css.d.ts +0 -2
- package/dist/cvv-field.css.ts.vanilla.css-mistica.js +0 -11
- package/dist/icons/icon-creditcard.d.ts +0 -7
- package/dist/icons/icon-creditcard.js +0 -33
- package/dist/icons/icon-info-cvv.d.ts +0 -7
- package/dist/icons/icon-info-cvv.js +0 -26
- package/dist/icons/icon-search.d.ts +0 -7
- package/dist/icons/icon-search.js +0 -32
- package/dist-es/cvv-field.css-mistica.js +0 -4
- package/dist-es/cvv-field.css.ts.vanilla.css-mistica.js +0 -2
- package/dist-es/icons/icon-creditcard.js +0 -24
- package/dist-es/icons/icon-info-cvv.js +0 -17
- package/dist-es/icons/icon-search.js +0 -23
package/dist-es/list.js
CHANGED
|
@@ -80,25 +80,25 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
80
80
|
import { jsx as t, jsxs as C, Fragment as p } from "react/jsx-runtime";
|
|
81
81
|
import * as R from "react";
|
|
82
82
|
import o from "classnames";
|
|
83
|
-
import { BaseTouchable as
|
|
83
|
+
import { BaseTouchable as L } from "./touchable.js";
|
|
84
84
|
import { Text1 as ee, Text3 as te, Text2 as Y } from "./text.js";
|
|
85
85
|
import l from "./box.js";
|
|
86
86
|
import k from "./stack.js";
|
|
87
87
|
import q from "./badge.js";
|
|
88
|
-
import { useAriaId as
|
|
88
|
+
import { useAriaId as ne } from "./hooks.js";
|
|
89
89
|
import { useIsInverseVariant as Z } from "./theme-variant-context.js";
|
|
90
90
|
import z from "./icons/icon-chevron.js";
|
|
91
|
-
import
|
|
91
|
+
import re from "./switch-component.js";
|
|
92
92
|
import G, { useRadioContext as ie } from "./radio-button.js";
|
|
93
93
|
import ae from "./checkbox.js";
|
|
94
94
|
import { Boxed as oe } from "./boxed.js";
|
|
95
95
|
import ce from "./divider.js";
|
|
96
96
|
import { getPrefixedDataAttributes as de } from "./utils/dom.js";
|
|
97
|
-
import { rowContent as
|
|
97
|
+
import { rowContent as y, hoverBackground as w, pointer as A, dualActionContainer as H, dualActionLeft as J, dualActionDivider as K, dualActionRight as le, content as se, center as X, disabled as N, asset as he, rowBody as me, right as Q, badge as ue } from "./list.css-mistica.js";
|
|
98
98
|
import { vars as g } from "./skins/skin-contract.css-mistica.js";
|
|
99
|
-
const U = (e,
|
|
100
|
-
centerY:
|
|
101
|
-
}) :
|
|
99
|
+
const U = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
100
|
+
centerY: r
|
|
101
|
+
}) : r ? /* @__PURE__ */ t("div", {
|
|
102
102
|
style: {
|
|
103
103
|
display: "flex",
|
|
104
104
|
alignItems: "center",
|
|
@@ -106,21 +106,21 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
106
106
|
},
|
|
107
107
|
children: e
|
|
108
108
|
}) : e, fe = (param)=>{
|
|
109
|
-
let { withChevron: e , headline:
|
|
110
|
-
const
|
|
111
|
-
|
|
109
|
+
let { withChevron: e , headline: r , title: i , titleLinesMax: a , subtitle: d , subtitleLinesMax: v , description: s , descriptionLinesMax: P , asset: b , type: B = "basic" , badge: I , right: T , extra: V , labelId: h , disabled: u } = param;
|
|
110
|
+
const m = Z(), n = [
|
|
111
|
+
r,
|
|
112
112
|
i,
|
|
113
113
|
d,
|
|
114
114
|
s,
|
|
115
115
|
V
|
|
116
|
-
].filter(Boolean).length === 1, S = ()=>
|
|
116
|
+
].filter(Boolean).length === 1, S = ()=>I ? /* @__PURE__ */ t(l, {
|
|
117
117
|
paddingLeft: 16,
|
|
118
118
|
children: /* @__PURE__ */ t("div", {
|
|
119
119
|
className: o(X, ue, {
|
|
120
|
-
[
|
|
120
|
+
[N]: u
|
|
121
121
|
}),
|
|
122
|
-
children:
|
|
123
|
-
value:
|
|
122
|
+
children: I === !0 ? /* @__PURE__ */ t(q, {}) : /* @__PURE__ */ t(q, {
|
|
123
|
+
value: I
|
|
124
124
|
})
|
|
125
125
|
})
|
|
126
126
|
}) : null;
|
|
@@ -131,28 +131,28 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
131
131
|
b && /* @__PURE__ */ t(l, {
|
|
132
132
|
paddingRight: 16,
|
|
133
133
|
className: o({
|
|
134
|
-
[X]:
|
|
135
|
-
[
|
|
134
|
+
[X]: n,
|
|
135
|
+
[N]: u
|
|
136
136
|
}),
|
|
137
137
|
children: /* @__PURE__ */ t("div", {
|
|
138
|
-
className:
|
|
138
|
+
className: he,
|
|
139
139
|
children: b
|
|
140
140
|
})
|
|
141
141
|
}),
|
|
142
142
|
/* @__PURE__ */ t("div", {
|
|
143
|
-
className: o(
|
|
144
|
-
[
|
|
143
|
+
className: o(me, {
|
|
144
|
+
[N]: u
|
|
145
145
|
}),
|
|
146
146
|
style: {
|
|
147
|
-
justifyContent:
|
|
147
|
+
justifyContent: n ? "center" : "flex-start"
|
|
148
148
|
},
|
|
149
149
|
children: /* @__PURE__ */ C(k, {
|
|
150
150
|
space: 4,
|
|
151
151
|
children: [
|
|
152
|
-
|
|
152
|
+
r && /* @__PURE__ */ t(ee, {
|
|
153
153
|
regular: !0,
|
|
154
154
|
color: g.colors.textPrimary,
|
|
155
|
-
children:
|
|
155
|
+
children: r
|
|
156
156
|
}),
|
|
157
157
|
/* @__PURE__ */ C(k, {
|
|
158
158
|
space: 2,
|
|
@@ -161,7 +161,7 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
161
161
|
regular: !0,
|
|
162
162
|
color: g.colors.textPrimary,
|
|
163
163
|
truncate: a,
|
|
164
|
-
id:
|
|
164
|
+
id: h,
|
|
165
165
|
children: i
|
|
166
166
|
}),
|
|
167
167
|
d && /* @__PURE__ */ t(Y, {
|
|
@@ -173,7 +173,7 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
173
173
|
s && /* @__PURE__ */ t(Y, {
|
|
174
174
|
regular: !0,
|
|
175
175
|
color: g.colors.textSecondary,
|
|
176
|
-
truncate:
|
|
176
|
+
truncate: P,
|
|
177
177
|
children: s
|
|
178
178
|
}),
|
|
179
179
|
V
|
|
@@ -183,35 +183,35 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
183
183
|
})
|
|
184
184
|
}),
|
|
185
185
|
S(),
|
|
186
|
-
|
|
186
|
+
B === "chevron" && /* @__PURE__ */ t(l, {
|
|
187
187
|
paddingLeft: 16,
|
|
188
188
|
className: o(X, {
|
|
189
|
-
[
|
|
189
|
+
[N]: u
|
|
190
190
|
}),
|
|
191
191
|
children: /* @__PURE__ */ t(z, {
|
|
192
|
-
color:
|
|
192
|
+
color: m ? g.colors.inverse : g.colors.neutralMedium,
|
|
193
193
|
direction: "right"
|
|
194
194
|
})
|
|
195
195
|
}),
|
|
196
|
-
|
|
196
|
+
B === "control" && /* @__PURE__ */ t("div", {
|
|
197
197
|
className: Q,
|
|
198
|
-
children: U(T,
|
|
198
|
+
children: U(T, n)
|
|
199
199
|
}),
|
|
200
|
-
|
|
200
|
+
B === "custom" && /* @__PURE__ */ C(p, {
|
|
201
201
|
children: [
|
|
202
202
|
/* @__PURE__ */ t("div", {
|
|
203
203
|
className: o(Q, {
|
|
204
|
-
[
|
|
204
|
+
[N]: u
|
|
205
205
|
}),
|
|
206
|
-
children: U(T,
|
|
206
|
+
children: U(T, n)
|
|
207
207
|
}),
|
|
208
208
|
e && /* @__PURE__ */ t(l, {
|
|
209
209
|
paddingLeft: 4,
|
|
210
210
|
className: o(X, {
|
|
211
|
-
[
|
|
211
|
+
[N]: u
|
|
212
212
|
}),
|
|
213
213
|
children: /* @__PURE__ */ t(z, {
|
|
214
|
-
color:
|
|
214
|
+
color: m ? g.colors.inverse : g.colors.neutralMedium,
|
|
215
215
|
direction: "right"
|
|
216
216
|
})
|
|
217
217
|
})
|
|
@@ -220,8 +220,8 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
220
220
|
]
|
|
221
221
|
});
|
|
222
222
|
}, ge = (param)=>{
|
|
223
|
-
let { value: e , defaultValue:
|
|
224
|
-
const a = e !== void 0, [d, v] = R.useState(!!
|
|
223
|
+
let { value: e , defaultValue: r , onChange: i } = param;
|
|
224
|
+
const a = e !== void 0, [d, v] = R.useState(!!r), s = ()=>{
|
|
225
225
|
a || v(!d), i && i(a ? !e : !d);
|
|
226
226
|
};
|
|
227
227
|
return a ? [
|
|
@@ -231,74 +231,74 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
231
231
|
d,
|
|
232
232
|
s
|
|
233
233
|
];
|
|
234
|
-
}, ve = (e)=>e.switch !== void 0, be = (e)=>e.checkbox !== void 0, xe = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ R.forwardRef((e,
|
|
235
|
-
const i =
|
|
234
|
+
}, ve = (e)=>e.switch !== void 0, be = (e)=>e.checkbox !== void 0, xe = (e)=>e.radioValue !== void 0, _ = /*#__PURE__*/ R.forwardRef((e, r)=>{
|
|
235
|
+
const i = ne(), a = Z(), { asset: d , headline: v , title: s , titleLinesMax: P , subtitle: b , subtitleLinesMax: B , description: I , descriptionLinesMax: T , badge: V , role: h , extra: u , dataAttributes: m } = e, j = ie(), n = e.disabled || e.radioValue !== void 0 && j.disabled, [S, W] = ge(e.switch || e.checkbox || {}), x = (param)=>/* @__PURE__ */ {
|
|
236
236
|
let { type: c , right: f , labelId: E } = param;
|
|
237
237
|
return t(fe, {
|
|
238
238
|
asset: d,
|
|
239
239
|
headline: v,
|
|
240
240
|
title: s,
|
|
241
241
|
subtitle: b,
|
|
242
|
-
description:
|
|
242
|
+
description: I,
|
|
243
243
|
badge: V,
|
|
244
|
-
titleLinesMax:
|
|
245
|
-
subtitleLinesMax:
|
|
244
|
+
titleLinesMax: P,
|
|
245
|
+
subtitleLinesMax: B,
|
|
246
246
|
descriptionLinesMax: T,
|
|
247
247
|
type: c,
|
|
248
248
|
right: f,
|
|
249
249
|
extra: u,
|
|
250
250
|
labelId: E,
|
|
251
|
-
disabled:
|
|
251
|
+
disabled: n,
|
|
252
252
|
withChevron: !!e.onPress || !!e.href || !!e.to
|
|
253
253
|
});
|
|
254
254
|
}, M = (c)=>{
|
|
255
255
|
let f = "chevron";
|
|
256
256
|
return c.right === null && (f = "basic"), c.right && (f = "custom"), /* @__PURE__ */ t(l, {
|
|
257
257
|
paddingX: 16,
|
|
258
|
-
ref:
|
|
258
|
+
ref: r,
|
|
259
259
|
children: x({
|
|
260
260
|
type: f,
|
|
261
261
|
right: c.right
|
|
262
262
|
})
|
|
263
263
|
});
|
|
264
264
|
};
|
|
265
|
-
if (e.onPress && !ve(e) && !be(e) && !xe(e)) return /* @__PURE__ */ t(
|
|
266
|
-
ref:
|
|
267
|
-
className: o(
|
|
268
|
-
[w]: !(
|
|
269
|
-
[A]: !
|
|
265
|
+
if (e.onPress && !ve(e) && !be(e) && !xe(e)) return /* @__PURE__ */ t(L, {
|
|
266
|
+
ref: r,
|
|
267
|
+
className: o(y, {
|
|
268
|
+
[w]: !(n || a),
|
|
269
|
+
[A]: !n
|
|
270
270
|
}),
|
|
271
271
|
trackingEvent: e.trackingEvent,
|
|
272
272
|
onPress: e.onPress,
|
|
273
|
-
role:
|
|
274
|
-
dataAttributes:
|
|
275
|
-
disabled:
|
|
273
|
+
role: h,
|
|
274
|
+
dataAttributes: m,
|
|
275
|
+
disabled: n,
|
|
276
276
|
children: M(e)
|
|
277
277
|
});
|
|
278
|
-
if (e.to) return /* @__PURE__ */ t(
|
|
279
|
-
className: o(
|
|
280
|
-
[w]: !(
|
|
281
|
-
[A]: !
|
|
278
|
+
if (e.to) return /* @__PURE__ */ t(L, {
|
|
279
|
+
className: o(y, {
|
|
280
|
+
[w]: !(n || a),
|
|
281
|
+
[A]: !n
|
|
282
282
|
}),
|
|
283
283
|
trackingEvent: e.trackingEvent,
|
|
284
284
|
to: e.to,
|
|
285
285
|
fullPageOnWebView: e.fullPageOnWebView,
|
|
286
|
-
role:
|
|
287
|
-
dataAttributes:
|
|
288
|
-
disabled:
|
|
286
|
+
role: h,
|
|
287
|
+
dataAttributes: m,
|
|
288
|
+
disabled: n,
|
|
289
289
|
children: M(e)
|
|
290
290
|
});
|
|
291
|
-
if (e.href) return /* @__PURE__ */ t(
|
|
292
|
-
className: o(
|
|
293
|
-
[w]: !(
|
|
294
|
-
[A]: !
|
|
291
|
+
if (e.href) return /* @__PURE__ */ t(L, {
|
|
292
|
+
className: o(y, {
|
|
293
|
+
[w]: !(n || a),
|
|
294
|
+
[A]: !n
|
|
295
295
|
}),
|
|
296
296
|
trackingEvent: e.trackingEvent,
|
|
297
297
|
href: e.href,
|
|
298
298
|
newTab: e.newTab,
|
|
299
|
-
role:
|
|
300
|
-
dataAttributes:
|
|
301
|
-
disabled:
|
|
299
|
+
role: h,
|
|
300
|
+
dataAttributes: m,
|
|
301
|
+
disabled: n,
|
|
302
302
|
children: M(e)
|
|
303
303
|
});
|
|
304
304
|
const F = (c)=>{
|
|
@@ -308,12 +308,13 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
308
308
|
return e.onPress ? /* @__PURE__ */ C("div", {
|
|
309
309
|
className: H,
|
|
310
310
|
children: [
|
|
311
|
-
/* @__PURE__ */ t(
|
|
312
|
-
|
|
311
|
+
/* @__PURE__ */ t(L, {
|
|
312
|
+
dataAttributes: m,
|
|
313
|
+
disabled: n,
|
|
313
314
|
onPress: e.onPress,
|
|
314
|
-
role:
|
|
315
|
+
role: h,
|
|
315
316
|
className: o(J, {
|
|
316
|
-
[w]: !(
|
|
317
|
+
[w]: !(n || a)
|
|
317
318
|
}),
|
|
318
319
|
children: x({
|
|
319
320
|
type: "basic",
|
|
@@ -323,31 +324,29 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
323
324
|
/* @__PURE__ */ t("div", {
|
|
324
325
|
className: K
|
|
325
326
|
}),
|
|
326
|
-
/* @__PURE__ */ t(
|
|
327
|
-
disabled:
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
})
|
|
327
|
+
/* @__PURE__ */ t(c, {
|
|
328
|
+
disabled: n,
|
|
329
|
+
name: f,
|
|
330
|
+
checked: S,
|
|
331
|
+
"aria-labelledby": i,
|
|
332
|
+
onChange: W,
|
|
333
|
+
render: (param)=>/* @__PURE__ */ {
|
|
334
|
+
let { controlElement: D } = param;
|
|
335
|
+
return t("div", {
|
|
336
|
+
className: le,
|
|
337
|
+
children: D
|
|
338
|
+
});
|
|
339
|
+
}
|
|
341
340
|
})
|
|
342
341
|
]
|
|
343
342
|
}) : /* @__PURE__ */ t("div", {
|
|
344
|
-
className: o(
|
|
345
|
-
[w]: !(
|
|
346
|
-
[A]: !
|
|
343
|
+
className: o(y, {
|
|
344
|
+
[w]: !(n || a),
|
|
345
|
+
[A]: !n
|
|
347
346
|
}),
|
|
348
347
|
children: /* @__PURE__ */ t(c, {
|
|
349
|
-
disabled:
|
|
350
|
-
dataAttributes:
|
|
348
|
+
disabled: n,
|
|
349
|
+
dataAttributes: m,
|
|
351
350
|
name: f,
|
|
352
351
|
checked: S,
|
|
353
352
|
onChange: W,
|
|
@@ -355,7 +354,7 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
355
354
|
let { controlElement: D , labelId: $ } = param;
|
|
356
355
|
return t(l, {
|
|
357
356
|
paddingX: 16,
|
|
358
|
-
role:
|
|
357
|
+
role: h,
|
|
359
358
|
children: x({
|
|
360
359
|
labelId: $,
|
|
361
360
|
type: "control",
|
|
@@ -369,15 +368,15 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
369
368
|
})
|
|
370
369
|
});
|
|
371
370
|
};
|
|
372
|
-
return e.switch ? F(
|
|
371
|
+
return e.switch ? F(re) : e.checkbox ? F(ae) : e.radioValue ? e.onPress ? /* @__PURE__ */ C("div", {
|
|
373
372
|
className: H,
|
|
374
373
|
children: [
|
|
375
|
-
/* @__PURE__ */ t(
|
|
376
|
-
disabled:
|
|
374
|
+
/* @__PURE__ */ t(L, {
|
|
375
|
+
disabled: n,
|
|
377
376
|
onPress: e.onPress,
|
|
378
|
-
role:
|
|
377
|
+
role: h,
|
|
379
378
|
className: o(J, {
|
|
380
|
-
[w]: !(
|
|
379
|
+
[w]: !(n || a)
|
|
381
380
|
}),
|
|
382
381
|
children: x({
|
|
383
382
|
type: "basic",
|
|
@@ -388,7 +387,7 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
388
387
|
className: K
|
|
389
388
|
}),
|
|
390
389
|
/* @__PURE__ */ t(G, {
|
|
391
|
-
dataAttributes:
|
|
390
|
+
dataAttributes: m,
|
|
392
391
|
value: e.radioValue,
|
|
393
392
|
"aria-labelledby": i,
|
|
394
393
|
render: (param)=>/* @__PURE__ */ {
|
|
@@ -404,14 +403,14 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
404
403
|
})
|
|
405
404
|
]
|
|
406
405
|
}) : /* @__PURE__ */ t("div", {
|
|
407
|
-
className: o(
|
|
408
|
-
[w]: !(
|
|
409
|
-
[A]: !
|
|
406
|
+
className: o(y, {
|
|
407
|
+
[w]: !(n || a),
|
|
408
|
+
[A]: !n
|
|
410
409
|
}),
|
|
411
|
-
role:
|
|
412
|
-
ref:
|
|
410
|
+
role: h,
|
|
411
|
+
ref: r,
|
|
413
412
|
children: /* @__PURE__ */ t(G, {
|
|
414
|
-
dataAttributes:
|
|
413
|
+
dataAttributes: m,
|
|
415
414
|
value: e.radioValue,
|
|
416
415
|
"aria-labelledby": i,
|
|
417
416
|
render: (param)=>/* @__PURE__ */ {
|
|
@@ -431,8 +430,8 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
431
430
|
})
|
|
432
431
|
}) : /* @__PURE__ */ t(l, {
|
|
433
432
|
paddingX: 16,
|
|
434
|
-
className:
|
|
435
|
-
role:
|
|
433
|
+
className: y,
|
|
434
|
+
role: h,
|
|
436
435
|
children: e.right ? x({
|
|
437
436
|
type: "custom",
|
|
438
437
|
right: e.right
|
|
@@ -441,25 +440,25 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
441
440
|
})
|
|
442
441
|
});
|
|
443
442
|
}), je = /*#__PURE__*/ R.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
444
|
-
var { dataAttributes: e } = _param,
|
|
443
|
+
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
445
444
|
"dataAttributes"
|
|
446
445
|
]);
|
|
447
|
-
return t(_, _object_spread_props(_object_spread({},
|
|
446
|
+
return t(_, _object_spread_props(_object_spread({}, r), {
|
|
448
447
|
ref: i,
|
|
449
448
|
dataAttributes: _object_spread({
|
|
450
449
|
"component-name": "Row"
|
|
451
450
|
}, e)
|
|
452
451
|
}));
|
|
453
452
|
}), We = (param)=>{
|
|
454
|
-
let { children: e , ariaLabelledby:
|
|
453
|
+
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a , noLastDivider: d } = param;
|
|
455
454
|
const v = R.Children.count(e) - 1, s = !d;
|
|
456
455
|
return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
|
|
457
456
|
role: i,
|
|
458
|
-
"aria-labelledby":
|
|
457
|
+
"aria-labelledby": r
|
|
459
458
|
}, de(a, "RowList")), {
|
|
460
|
-
children: R.Children.toArray(e).filter(Boolean).map((
|
|
459
|
+
children: R.Children.toArray(e).filter(Boolean).map((P, b)=>/* @__PURE__ */ C(R.Fragment, {
|
|
461
460
|
children: [
|
|
462
|
-
|
|
461
|
+
P,
|
|
463
462
|
(b < v || s) && /* @__PURE__ */ t(l, {
|
|
464
463
|
paddingX: 16,
|
|
465
464
|
children: /* @__PURE__ */ t(ce, {})
|
|
@@ -468,23 +467,23 @@ const U = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
468
467
|
}, b))
|
|
469
468
|
}));
|
|
470
469
|
}, Fe = /*#__PURE__*/ R.forwardRef((_param, i)=>/* @__PURE__ */ {
|
|
471
|
-
var { dataAttributes: e } = _param,
|
|
470
|
+
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
472
471
|
"dataAttributes"
|
|
473
472
|
]);
|
|
474
473
|
return t(oe, {
|
|
475
|
-
isInverse:
|
|
474
|
+
isInverse: r.isInverse,
|
|
476
475
|
ref: i,
|
|
477
476
|
dataAttributes: _object_spread({
|
|
478
477
|
"component-name": "BoxedRow"
|
|
479
478
|
}, e),
|
|
480
|
-
children: /* @__PURE__ */ t(_, _object_spread({},
|
|
479
|
+
children: /* @__PURE__ */ t(_, _object_spread({}, r))
|
|
481
480
|
});
|
|
482
481
|
}), Oe = (param)=>/* @__PURE__ */ {
|
|
483
|
-
let { children: e , ariaLabelledby:
|
|
482
|
+
let { children: e , ariaLabelledby: r , role: i , dataAttributes: a } = param;
|
|
484
483
|
return t(k, {
|
|
485
484
|
space: 16,
|
|
486
485
|
role: i,
|
|
487
|
-
"aria-labelledby":
|
|
486
|
+
"aria-labelledby": r,
|
|
488
487
|
dataAttributes: _object_spread({
|
|
489
488
|
"component-name": "BoxedRowList"
|
|
490
489
|
}, a),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const o = "14.
|
|
1
|
+
const o = "14.16.0";
|
|
2
2
|
export { o as PACKAGE_VERSION };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./radio-button.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var
|
|
4
|
-
default: "
|
|
5
|
-
ios: "
|
|
6
|
-
},
|
|
3
|
+
var r = "c6dmsud", a = "c6dmsu5 _1y2v1nf64 _1y2v1nfab", v = "c6dmsu7 _1y2v1nf45", c = {
|
|
4
|
+
default: "c6dmsub",
|
|
5
|
+
ios: "c6dmsuc"
|
|
6
|
+
}, f = {
|
|
7
7
|
default: "c6dmsu2 c6dmsu1 _1y2v1nf65 _1y2v1nf6j _1y2v1nf6d _1y2v1nfar _1y2v1nf6m _1y2v1nfab _1y2v1nf30",
|
|
8
8
|
ios: "c6dmsu3 c6dmsu1 _1y2v1nf65 _1y2v1nf6j _1y2v1nf6d _1y2v1nfar _1y2v1nf6m _1y2v1nfab _1y2v1nf30"
|
|
9
|
-
},
|
|
10
|
-
export {
|
|
9
|
+
}, s = "c6dmsu9 c6dmsu8", u = "c6dmsua c6dmsu8";
|
|
10
|
+
export { r as disabled, a as innerCircle, v as innerCircleChecked, c as outerCircleCheckedVariants, f as outerCircleVariants, s as radioButton, u as radioButtonContainerDisabled };
|