@telefonica/mistica 14.34.0 → 14.35.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/avatar.css-mistica.js +1 -1
- package/dist/button.css-mistica.js +7 -7
- package/dist/callout.css-mistica.js +1 -1
- package/dist/callout.js +17 -12
- package/dist/card.js +277 -244
- package/dist/carousel.css-mistica.js +5 -5
- package/dist/carousel.js +54 -52
- package/dist/checkbox.js +18 -18
- package/dist/community/advanced-data-card.css-mistica.js +3 -3
- package/dist/community/advanced-data-card.js +57 -50
- package/dist/community/blocks.js +42 -35
- package/dist/counter.css-mistica.js +1 -1
- package/dist/cvv-field.js +1 -1
- package/dist/dialog.css-mistica.js +3 -3
- package/dist/dialog.js +2 -2
- package/dist/hero.js +34 -30
- package/dist/hooks.d.ts +12 -1
- package/dist/hooks.js +85 -48
- package/dist/image.css-mistica.js +7 -2
- package/dist/image.css.d.ts +3 -0
- package/dist/image.d.ts +1 -7
- package/dist/image.js +55 -66
- package/dist/list.css-mistica.js +1 -1
- package/dist/list.js +80 -75
- package/dist/loading-bar.css-mistica.js +6 -6
- package/dist/maybe-dismissable.css-mistica.js +1 -1
- package/dist/menu.js +32 -32
- package/dist/navigation-bar.css-mistica.js +10 -10
- package/dist/overlay.js +10 -10
- package/dist/package-version.js +1 -1
- package/dist/pin-field.css-mistica.js +3 -3
- package/dist/popover.css-mistica.js +4 -4
- package/dist/radio-button.css-mistica.js +5 -5
- package/dist/radio-button.js +7 -7
- package/dist/screen-reader-only.css-mistica.js +1 -1
- package/dist/select.css-mistica.js +7 -7
- package/dist/select.js +65 -53
- package/dist/sheet.css-mistica.js +8 -8
- package/dist/skeletons.d.ts +9 -1
- package/dist/skeletons.js +3 -0
- package/dist/skins/blau.js +2 -1
- package/dist/skins/defaults.js +2 -1
- package/dist/skins/movistar-legacy.js +2 -1
- package/dist/skins/movistar.js +2 -1
- package/dist/skins/o2.js +2 -1
- package/dist/skins/skin-contract.css-mistica.js +2 -1
- package/dist/skins/skin-contract.css.d.ts +1 -0
- package/dist/skins/telefonica.js +2 -1
- package/dist/skins/types/index.d.ts +1 -0
- package/dist/skins/vivo-new.js +2 -1
- package/dist/skins/vivo.js +2 -1
- package/dist/slider.css-mistica.js +19 -19
- package/dist/slider.css.d.ts +8 -8
- package/dist/slider.d.ts +28 -8
- package/dist/slider.js +226 -106
- package/dist/snackbar.css-mistica.js +5 -5
- package/dist/sprinkles.css-mistica.js +71 -68
- package/dist/stacking-group.js +31 -24
- package/dist/stepper.css-mistica.js +3 -3
- package/dist/switch-component.css-mistica.js +17 -17
- package/dist/switch-component.js +12 -12
- package/dist/tab-focus.js +12 -12
- package/dist/tabs.css-mistica.js +1 -1
- package/dist/text-field-base.css-mistica.js +1 -1
- package/dist/text-field-components.css-mistica.js +7 -7
- package/dist/text-link.css-mistica.js +3 -3
- package/dist/theme-context-provider.js +39 -36
- package/dist/tooltip-context-provider.d.ts +14 -0
- package/dist/tooltip-context-provider.js +90 -0
- package/dist/tooltip.css-mistica.js +25 -54
- package/dist/tooltip.css.d.ts +19 -26
- package/dist/tooltip.d.ts +15 -1
- package/dist/tooltip.js +255 -207
- package/dist/touchable.css-mistica.js +1 -1
- package/dist/touchable.js +8 -8
- package/dist/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist/utils/environment.d.ts +1 -0
- package/dist/utils/environment.js +4 -1
- package/dist/utils/keys.d.ts +8 -0
- package/dist/utils/{key-codes.js → keys.js} +6 -6
- package/dist/video.css-mistica.js +1 -1
- package/dist/video.js +33 -31
- package/dist-es/avatar.css-mistica.js +1 -1
- package/dist-es/button.css-mistica.js +7 -7
- package/dist-es/callout.css-mistica.js +1 -1
- package/dist-es/callout.js +33 -28
- package/dist-es/card.js +416 -383
- package/dist-es/carousel.css-mistica.js +2 -2
- package/dist-es/carousel.js +84 -82
- package/dist-es/checkbox.js +18 -18
- package/dist-es/community/advanced-data-card.css-mistica.js +2 -2
- package/dist-es/community/advanced-data-card.js +83 -76
- package/dist-es/community/blocks.js +77 -70
- package/dist-es/counter.css-mistica.js +1 -1
- package/dist-es/cvv-field.js +1 -1
- package/dist-es/dialog.css-mistica.js +3 -3
- package/dist-es/dialog.js +2 -2
- package/dist-es/hero.js +69 -65
- package/dist-es/hooks.js +83 -49
- package/dist-es/image.css-mistica.js +4 -2
- package/dist-es/image.js +74 -79
- package/dist-es/list.css-mistica.js +1 -1
- package/dist-es/list.js +116 -111
- package/dist-es/loading-bar.css-mistica.js +2 -2
- package/dist-es/maybe-dismissable.css-mistica.js +1 -1
- package/dist-es/menu.js +41 -41
- package/dist-es/navigation-bar.css-mistica.js +6 -6
- package/dist-es/overlay.js +14 -14
- package/dist-es/package-version.js +1 -1
- package/dist-es/pin-field.css-mistica.js +2 -2
- package/dist-es/popover.css-mistica.js +2 -2
- package/dist-es/radio-button.css-mistica.js +4 -4
- package/dist-es/radio-button.js +2 -2
- package/dist-es/screen-reader-only.css-mistica.js +1 -1
- package/dist-es/select.css-mistica.js +7 -7
- package/dist-es/select.js +89 -77
- package/dist-es/sheet.css-mistica.js +2 -2
- package/dist-es/skeletons.js +1 -1
- package/dist-es/skins/blau.js +2 -1
- package/dist-es/skins/defaults.js +2 -1
- package/dist-es/skins/movistar-legacy.js +2 -1
- package/dist-es/skins/movistar.js +2 -1
- package/dist-es/skins/o2.js +2 -1
- package/dist-es/skins/skin-contract.css-mistica.js +2 -1
- package/dist-es/skins/telefonica.js +2 -1
- package/dist-es/skins/vivo-new.js +2 -1
- package/dist-es/skins/vivo.js +2 -1
- package/dist-es/slider.css-mistica.js +2 -8
- package/dist-es/slider.js +231 -111
- package/dist-es/snackbar.css-mistica.js +4 -4
- package/dist-es/sprinkles.css-mistica.js +71 -68
- package/dist-es/stacking-group.js +37 -30
- package/dist-es/stepper.css-mistica.js +2 -2
- package/dist-es/style.css +1 -1
- package/dist-es/switch-component.css-mistica.js +13 -13
- package/dist-es/switch-component.js +14 -14
- package/dist-es/tab-focus.js +14 -14
- package/dist-es/tabs.css-mistica.js +1 -1
- package/dist-es/text-field-base.css-mistica.js +1 -1
- package/dist-es/text-field-components.css-mistica.js +2 -2
- package/dist-es/text-link.css-mistica.js +3 -3
- package/dist-es/theme-context-provider.js +53 -50
- package/dist-es/tooltip-context-provider.js +29 -0
- package/dist-es/tooltip.css-mistica.js +16 -9
- package/dist-es/tooltip.js +264 -216
- package/dist-es/touchable.css-mistica.js +1 -1
- package/dist-es/touchable.js +8 -8
- package/dist-es/utils/aspect-ratio-support.css-mistica.js +2 -2
- package/dist-es/utils/environment.js +2 -2
- package/dist-es/utils/keys.js +2 -0
- package/dist-es/video.css-mistica.js +1 -1
- package/dist-es/video.js +41 -39
- package/package.json +1 -1
- package/dist/utils/key-codes.d.ts +0 -8
- package/dist-es/utils/key-codes.js +0 -2
package/dist-es/list.js
CHANGED
|
@@ -81,9 +81,9 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
81
81
|
import { jsx as t, jsxs as k } from "react/jsx-runtime";
|
|
82
82
|
import * as P from "react";
|
|
83
83
|
import i from "classnames";
|
|
84
|
-
import { BaseTouchable as
|
|
85
|
-
import { Text1 as
|
|
86
|
-
import
|
|
84
|
+
import { BaseTouchable as S } from "./touchable.js";
|
|
85
|
+
import { Text1 as re, Text3 as ne, Text2 as O } from "./text.js";
|
|
86
|
+
import m from "./box.js";
|
|
87
87
|
import L from "./stack.js";
|
|
88
88
|
import J from "./badge.js";
|
|
89
89
|
import { useAriaId as ae } from "./hooks.js";
|
|
@@ -95,26 +95,28 @@ import se from "./checkbox.js";
|
|
|
95
95
|
import { Boxed as de } from "./boxed.js";
|
|
96
96
|
import le from "./divider.js";
|
|
97
97
|
import { getPrefixedDataAttributes as he } from "./utils/dom.js";
|
|
98
|
-
import { rowContent as B, touchableBackground as
|
|
99
|
-
import { vars as
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
import { rowContent as B, touchableBackground as C, touchableBackgroundInverse as N, pointer as T, dualActionContainer as Q, dualActionLeft as U, dualActionDivider as Z, content as me, center as M, disabled as I, asset as ue, rowBody as fe, right as ge, rightRestrictedWidth as ve, detail as be, detailRight as _, dualActionRight as xe, badge as we } from "./list.css-mistica.js";
|
|
99
|
+
import { vars as ye } from "./image.css-mistica.js";
|
|
100
|
+
import { vars as x } from "./skins/skin-contract.css-mistica.js";
|
|
101
|
+
import { applyCssVars as Re } from "./utils/css.js";
|
|
102
|
+
const $ = (e, r)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
103
|
+
centerY: r
|
|
104
|
+
}) : r ? /* @__PURE__ */ t("div", {
|
|
103
105
|
style: {
|
|
104
106
|
display: "flex",
|
|
105
107
|
alignItems: "center",
|
|
106
108
|
height: "100%"
|
|
107
109
|
},
|
|
108
110
|
children: e
|
|
109
|
-
}) : e,
|
|
110
|
-
let { withChevron: e, headline:
|
|
111
|
+
}) : e, Ce = (param)=>{
|
|
112
|
+
let { withChevron: e, headline: r, title: n, titleLinesMax: o, subtitle: s, subtitleLinesMax: w, description: d, descriptionLinesMax: W, detail: u, asset: V, type: g = "basic", badge: A, right: E, extra: X, labelId: l, disabled: v } = param;
|
|
111
113
|
const h = p(), a = [
|
|
112
|
-
n,
|
|
113
114
|
r,
|
|
115
|
+
n,
|
|
114
116
|
s,
|
|
115
117
|
d,
|
|
116
118
|
X
|
|
117
|
-
].filter(Boolean).length === 1, f = ()=>A ? /* @__PURE__ */ t(
|
|
119
|
+
].filter(Boolean).length === 1, f = ()=>A ? /* @__PURE__ */ t(m, {
|
|
118
120
|
paddingLeft: 16,
|
|
119
121
|
children: /* @__PURE__ */ t("div", {
|
|
120
122
|
className: i(M, we, {
|
|
@@ -125,18 +127,21 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
125
127
|
})
|
|
126
128
|
})
|
|
127
129
|
}) : null;
|
|
128
|
-
return /* @__PURE__ */ k(
|
|
130
|
+
return /* @__PURE__ */ k(m, {
|
|
129
131
|
paddingY: 16,
|
|
130
|
-
className:
|
|
132
|
+
className: me,
|
|
131
133
|
children: [
|
|
132
|
-
V && /* @__PURE__ */ t(
|
|
134
|
+
V && /* @__PURE__ */ t(m, {
|
|
133
135
|
paddingRight: 16,
|
|
134
136
|
className: i({
|
|
135
137
|
[M]: a,
|
|
136
138
|
[I]: v
|
|
137
139
|
}),
|
|
138
140
|
children: /* @__PURE__ */ t("div", {
|
|
139
|
-
className:
|
|
141
|
+
className: ue,
|
|
142
|
+
style: Re({
|
|
143
|
+
[ye.mediaBorderRadius]: x.borderRadii.mediaSmall
|
|
144
|
+
}),
|
|
140
145
|
children: V
|
|
141
146
|
})
|
|
142
147
|
}),
|
|
@@ -150,33 +155,33 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
150
155
|
children: /* @__PURE__ */ k(L, {
|
|
151
156
|
space: 4,
|
|
152
157
|
children: [
|
|
153
|
-
|
|
158
|
+
r && /* @__PURE__ */ t(re, {
|
|
154
159
|
regular: !0,
|
|
155
|
-
color:
|
|
160
|
+
color: x.colors.textPrimary,
|
|
156
161
|
hyphens: "auto",
|
|
157
|
-
children:
|
|
162
|
+
children: r
|
|
158
163
|
}),
|
|
159
164
|
/* @__PURE__ */ k(L, {
|
|
160
165
|
space: 2,
|
|
161
166
|
children: [
|
|
162
|
-
/* @__PURE__ */ t(
|
|
167
|
+
/* @__PURE__ */ t(ne, {
|
|
163
168
|
regular: !0,
|
|
164
|
-
color:
|
|
169
|
+
color: x.colors.textPrimary,
|
|
165
170
|
truncate: o,
|
|
166
171
|
id: l,
|
|
167
172
|
hyphens: "auto",
|
|
168
|
-
children:
|
|
173
|
+
children: n
|
|
169
174
|
}),
|
|
170
175
|
s && /* @__PURE__ */ t(O, {
|
|
171
176
|
regular: !0,
|
|
172
|
-
color:
|
|
173
|
-
truncate:
|
|
177
|
+
color: x.colors.textSecondary,
|
|
178
|
+
truncate: w,
|
|
174
179
|
hyphens: "auto",
|
|
175
180
|
children: s
|
|
176
181
|
}),
|
|
177
182
|
d && /* @__PURE__ */ t(O, {
|
|
178
183
|
regular: !0,
|
|
179
|
-
color:
|
|
184
|
+
color: x.colors.textSecondary,
|
|
180
185
|
truncate: W,
|
|
181
186
|
hyphens: "auto",
|
|
182
187
|
children: d
|
|
@@ -190,41 +195,41 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
190
195
|
f(),
|
|
191
196
|
/* @__PURE__ */ k("div", {
|
|
192
197
|
className: i({
|
|
193
|
-
[ge]: !!
|
|
194
|
-
[ve]: !!
|
|
198
|
+
[ge]: !!u || g !== "basic",
|
|
199
|
+
[ve]: !!u
|
|
195
200
|
}),
|
|
196
201
|
children: [
|
|
197
|
-
|
|
202
|
+
u && /* @__PURE__ */ t("div", {
|
|
198
203
|
className: i(M, be, {
|
|
199
204
|
[I]: v
|
|
200
205
|
}),
|
|
201
206
|
children: /* @__PURE__ */ t(O, {
|
|
202
207
|
regular: !0,
|
|
203
|
-
color:
|
|
208
|
+
color: x.colors.textSecondary,
|
|
204
209
|
hyphens: "auto",
|
|
205
|
-
children:
|
|
210
|
+
children: u
|
|
206
211
|
})
|
|
207
212
|
}),
|
|
208
213
|
g === "control" && /* @__PURE__ */ t("div", {
|
|
209
214
|
className: i({
|
|
210
|
-
[_]: !!
|
|
215
|
+
[_]: !!u
|
|
211
216
|
}),
|
|
212
217
|
children: $(E, a)
|
|
213
218
|
}),
|
|
214
219
|
g === "custom" && /* @__PURE__ */ t("div", {
|
|
215
220
|
className: i({
|
|
216
|
-
[_]: !!
|
|
221
|
+
[_]: !!u,
|
|
217
222
|
[I]: v
|
|
218
223
|
}),
|
|
219
224
|
children: $(E, a)
|
|
220
225
|
}),
|
|
221
|
-
(g === "chevron" || g === "custom" && e) && /* @__PURE__ */ t(
|
|
222
|
-
paddingLeft:
|
|
226
|
+
(g === "chevron" || g === "custom" && e) && /* @__PURE__ */ t(m, {
|
|
227
|
+
paddingLeft: u || g === "custom" ? 4 : 0,
|
|
223
228
|
className: i(M, {
|
|
224
229
|
[I]: v
|
|
225
230
|
}),
|
|
226
231
|
children: /* @__PURE__ */ t(ie, {
|
|
227
|
-
color: h ?
|
|
232
|
+
color: h ? x.colors.inverse : x.colors.neutralMedium,
|
|
228
233
|
direction: "right"
|
|
229
234
|
})
|
|
230
235
|
})
|
|
@@ -232,10 +237,10 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
232
237
|
})
|
|
233
238
|
]
|
|
234
239
|
});
|
|
235
|
-
},
|
|
236
|
-
let { value: e, defaultValue:
|
|
237
|
-
const o = e !== void 0, [s,
|
|
238
|
-
o ||
|
|
240
|
+
}, Ne = (param)=>{
|
|
241
|
+
let { value: e, defaultValue: r, onChange: n } = param;
|
|
242
|
+
const o = e !== void 0, [s, w] = P.useState(!!r), d = ()=>{
|
|
243
|
+
o || w(!s), n && n(o ? !e : !s);
|
|
239
244
|
};
|
|
240
245
|
return o ? [
|
|
241
246
|
!!e,
|
|
@@ -244,14 +249,14 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
244
249
|
s,
|
|
245
250
|
d
|
|
246
251
|
];
|
|
247
|
-
},
|
|
248
|
-
const
|
|
252
|
+
}, ke = (e)=>e.switch !== void 0, Pe = (e)=>e.checkbox !== void 0, Be = (e)=>e.radioValue !== void 0, ee = /*#__PURE__*/ P.forwardRef((e, r)=>{
|
|
253
|
+
const n = ae(), o = p(), { asset: s, headline: w, title: d, titleLinesMax: W, subtitle: u, subtitleLinesMax: V, description: g, descriptionLinesMax: A, detail: E, badge: X, role: l, extra: v, dataAttributes: h } = e, F = ce(), a = e.disabled || e.radioValue !== void 0 && F.disabled, f = !a && !o, y = !a && o, [Y, q] = Ne(e.switch || e.checkbox || {}), R = (param)=>/* @__PURE__ */ {
|
|
249
254
|
let { type: c, right: b, labelId: D } = param;
|
|
250
|
-
return t(
|
|
255
|
+
return t(Ce, {
|
|
251
256
|
asset: s,
|
|
252
|
-
headline:
|
|
257
|
+
headline: w,
|
|
253
258
|
title: d,
|
|
254
|
-
subtitle:
|
|
259
|
+
subtitle: u,
|
|
255
260
|
description: g,
|
|
256
261
|
badge: X,
|
|
257
262
|
titleLinesMax: W,
|
|
@@ -267,21 +272,21 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
267
272
|
});
|
|
268
273
|
}, j = (c)=>{
|
|
269
274
|
let b = "chevron";
|
|
270
|
-
return c.right === null && (b = "basic"), c.right && (b = "custom"), /* @__PURE__ */ t(
|
|
275
|
+
return c.right === null && (b = "basic"), c.right && (b = "custom"), /* @__PURE__ */ t(m, {
|
|
271
276
|
paddingX: 16,
|
|
272
|
-
ref:
|
|
273
|
-
children:
|
|
277
|
+
ref: r,
|
|
278
|
+
children: R({
|
|
274
279
|
type: b,
|
|
275
280
|
right: c.right
|
|
276
281
|
})
|
|
277
282
|
});
|
|
278
283
|
};
|
|
279
|
-
if (e.onPress && !
|
|
280
|
-
ref:
|
|
284
|
+
if (e.onPress && !ke(e) && !Pe(e) && !Be(e)) return /* @__PURE__ */ t(S, {
|
|
285
|
+
ref: r,
|
|
281
286
|
className: i(B, {
|
|
282
|
-
[
|
|
283
|
-
[
|
|
284
|
-
[
|
|
287
|
+
[C]: f,
|
|
288
|
+
[N]: y,
|
|
289
|
+
[T]: !a
|
|
285
290
|
}),
|
|
286
291
|
trackingEvent: e.trackingEvent,
|
|
287
292
|
onPress: e.onPress,
|
|
@@ -290,11 +295,11 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
290
295
|
disabled: a,
|
|
291
296
|
children: j(e)
|
|
292
297
|
});
|
|
293
|
-
if (e.to) return /* @__PURE__ */ t(
|
|
298
|
+
if (e.to) return /* @__PURE__ */ t(S, {
|
|
294
299
|
className: i(B, {
|
|
295
|
-
[
|
|
296
|
-
[
|
|
297
|
-
[
|
|
300
|
+
[C]: f,
|
|
301
|
+
[N]: y,
|
|
302
|
+
[T]: !a
|
|
298
303
|
}),
|
|
299
304
|
trackingEvent: e.trackingEvent,
|
|
300
305
|
to: e.to,
|
|
@@ -304,11 +309,11 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
304
309
|
disabled: a,
|
|
305
310
|
children: j(e)
|
|
306
311
|
});
|
|
307
|
-
if (e.href) return /* @__PURE__ */ t(
|
|
312
|
+
if (e.href) return /* @__PURE__ */ t(S, {
|
|
308
313
|
className: i(B, {
|
|
309
|
-
[
|
|
310
|
-
[
|
|
311
|
-
[
|
|
314
|
+
[C]: f,
|
|
315
|
+
[N]: y,
|
|
316
|
+
[T]: !a
|
|
312
317
|
}),
|
|
313
318
|
trackingEvent: e.trackingEvent,
|
|
314
319
|
href: e.href,
|
|
@@ -321,22 +326,22 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
321
326
|
const z = (c)=>{
|
|
322
327
|
var D, G;
|
|
323
328
|
var _ref, _ref1;
|
|
324
|
-
const b = (_ref1 = (_ref = (D = e.switch) == null ? void 0 : D.name) !== null && _ref !== void 0 ? _ref : (G = e.checkbox) == null ? void 0 : G.name) !== null && _ref1 !== void 0 ? _ref1 :
|
|
329
|
+
const b = (_ref1 = (_ref = (D = e.switch) == null ? void 0 : D.name) !== null && _ref !== void 0 ? _ref : (G = e.checkbox) == null ? void 0 : G.name) !== null && _ref1 !== void 0 ? _ref1 : n;
|
|
325
330
|
return e.onPress ? /* @__PURE__ */ k("div", {
|
|
326
331
|
className: Q,
|
|
327
332
|
children: [
|
|
328
|
-
/* @__PURE__ */ t(
|
|
333
|
+
/* @__PURE__ */ t(S, {
|
|
329
334
|
dataAttributes: h,
|
|
330
335
|
disabled: a,
|
|
331
336
|
onPress: e.onPress,
|
|
332
337
|
role: l,
|
|
333
338
|
className: i(U, {
|
|
334
|
-
[
|
|
335
|
-
[
|
|
339
|
+
[C]: f,
|
|
340
|
+
[N]: y
|
|
336
341
|
}),
|
|
337
|
-
children:
|
|
342
|
+
children: R({
|
|
338
343
|
type: "basic",
|
|
339
|
-
labelId:
|
|
344
|
+
labelId: n
|
|
340
345
|
})
|
|
341
346
|
}),
|
|
342
347
|
/* @__PURE__ */ t("div", {
|
|
@@ -346,7 +351,7 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
346
351
|
disabled: a,
|
|
347
352
|
name: b,
|
|
348
353
|
checked: Y,
|
|
349
|
-
"aria-labelledby":
|
|
354
|
+
"aria-labelledby": n,
|
|
350
355
|
onChange: q,
|
|
351
356
|
render: (param)=>/* @__PURE__ */ {
|
|
352
357
|
let { controlElement: H } = param;
|
|
@@ -359,9 +364,9 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
359
364
|
]
|
|
360
365
|
}) : /* @__PURE__ */ t("div", {
|
|
361
366
|
className: i(B, {
|
|
362
|
-
[
|
|
363
|
-
[
|
|
364
|
-
[
|
|
367
|
+
[C]: f,
|
|
368
|
+
[N]: y,
|
|
369
|
+
[T]: !a
|
|
365
370
|
}),
|
|
366
371
|
children: /* @__PURE__ */ t(c, {
|
|
367
372
|
disabled: a,
|
|
@@ -371,10 +376,10 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
371
376
|
onChange: q,
|
|
372
377
|
render: (param)=>/* @__PURE__ */ {
|
|
373
378
|
let { controlElement: H, labelId: te } = param;
|
|
374
|
-
return t(
|
|
379
|
+
return t(m, {
|
|
375
380
|
paddingX: 16,
|
|
376
381
|
role: l,
|
|
377
|
-
children:
|
|
382
|
+
children: R({
|
|
378
383
|
labelId: te,
|
|
379
384
|
type: "control",
|
|
380
385
|
right: ()=>/* @__PURE__ */ t(L, {
|
|
@@ -390,17 +395,17 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
390
395
|
return e.switch ? z(oe) : e.checkbox ? z(se) : e.radioValue ? e.onPress ? /* @__PURE__ */ k("div", {
|
|
391
396
|
className: Q,
|
|
392
397
|
children: [
|
|
393
|
-
/* @__PURE__ */ t(
|
|
398
|
+
/* @__PURE__ */ t(S, {
|
|
394
399
|
disabled: a,
|
|
395
400
|
onPress: e.onPress,
|
|
396
401
|
role: l,
|
|
397
402
|
className: i(U, {
|
|
398
|
-
[
|
|
399
|
-
[
|
|
403
|
+
[C]: f,
|
|
404
|
+
[N]: y
|
|
400
405
|
}),
|
|
401
|
-
children:
|
|
406
|
+
children: R({
|
|
402
407
|
type: "basic",
|
|
403
|
-
labelId:
|
|
408
|
+
labelId: n
|
|
404
409
|
})
|
|
405
410
|
}),
|
|
406
411
|
/* @__PURE__ */ t("div", {
|
|
@@ -409,12 +414,12 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
409
414
|
/* @__PURE__ */ t(K, {
|
|
410
415
|
dataAttributes: h,
|
|
411
416
|
value: e.radioValue,
|
|
412
|
-
"aria-labelledby":
|
|
417
|
+
"aria-labelledby": n,
|
|
413
418
|
render: (param)=>/* @__PURE__ */ {
|
|
414
419
|
let { controlElement: c } = param;
|
|
415
420
|
return t(L, {
|
|
416
421
|
space: "around",
|
|
417
|
-
children: /* @__PURE__ */ t(
|
|
422
|
+
children: /* @__PURE__ */ t(m, {
|
|
418
423
|
paddingX: 16,
|
|
419
424
|
children: c
|
|
420
425
|
})
|
|
@@ -424,22 +429,22 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
424
429
|
]
|
|
425
430
|
}) : /* @__PURE__ */ t("div", {
|
|
426
431
|
className: i(B, {
|
|
427
|
-
[
|
|
428
|
-
[
|
|
429
|
-
[
|
|
432
|
+
[C]: f,
|
|
433
|
+
[N]: y,
|
|
434
|
+
[T]: !a
|
|
430
435
|
}),
|
|
431
436
|
role: l,
|
|
432
|
-
ref:
|
|
437
|
+
ref: r,
|
|
433
438
|
children: /* @__PURE__ */ t(K, {
|
|
434
439
|
dataAttributes: h,
|
|
435
440
|
value: e.radioValue,
|
|
436
|
-
"aria-labelledby":
|
|
441
|
+
"aria-labelledby": n,
|
|
437
442
|
render: (param)=>/* @__PURE__ */ {
|
|
438
443
|
let { controlElement: c } = param;
|
|
439
|
-
return t(
|
|
444
|
+
return t(m, {
|
|
440
445
|
paddingX: 16,
|
|
441
|
-
children:
|
|
442
|
-
labelId:
|
|
446
|
+
children: R({
|
|
447
|
+
labelId: n,
|
|
443
448
|
type: "control",
|
|
444
449
|
right: ()=>/* @__PURE__ */ t(L, {
|
|
445
450
|
space: "around",
|
|
@@ -449,67 +454,67 @@ const $ = (e, n)=>typeof e == "function" ? e == null ? void 0 : e({
|
|
|
449
454
|
});
|
|
450
455
|
}
|
|
451
456
|
})
|
|
452
|
-
}) : /* @__PURE__ */ t(
|
|
457
|
+
}) : /* @__PURE__ */ t(m, {
|
|
453
458
|
paddingX: 16,
|
|
454
459
|
className: B,
|
|
455
460
|
role: l,
|
|
456
461
|
dataAttributes: h,
|
|
457
|
-
children: e.right ?
|
|
462
|
+
children: e.right ? R({
|
|
458
463
|
type: "custom",
|
|
459
464
|
right: e.right
|
|
460
|
-
}) :
|
|
465
|
+
}) : R({
|
|
461
466
|
type: "basic"
|
|
462
467
|
})
|
|
463
468
|
});
|
|
464
|
-
}),
|
|
465
|
-
var { dataAttributes: e } = _param,
|
|
469
|
+
}), Ke = /*#__PURE__*/ P.forwardRef((_param, n)=>/* @__PURE__ */ {
|
|
470
|
+
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
466
471
|
"dataAttributes"
|
|
467
472
|
]);
|
|
468
|
-
return t(ee, _object_spread_props(_object_spread({},
|
|
469
|
-
ref:
|
|
473
|
+
return t(ee, _object_spread_props(_object_spread({}, r), {
|
|
474
|
+
ref: n,
|
|
470
475
|
dataAttributes: _object_spread({
|
|
471
476
|
"component-name": "Row"
|
|
472
477
|
}, e)
|
|
473
478
|
}));
|
|
474
|
-
}),
|
|
475
|
-
let { children: e, ariaLabelledby:
|
|
479
|
+
}), Qe = (param)=>{
|
|
480
|
+
let { children: e, ariaLabelledby: r, role: n, dataAttributes: o } = param;
|
|
476
481
|
const s = P.Children.count(e) - 1;
|
|
477
482
|
return /* @__PURE__ */ t("div", _object_spread_props(_object_spread({
|
|
478
|
-
role:
|
|
479
|
-
"aria-labelledby":
|
|
483
|
+
role: n,
|
|
484
|
+
"aria-labelledby": r
|
|
480
485
|
}, he(o, "RowList")), {
|
|
481
|
-
children: P.Children.toArray(e).filter(Boolean).map((
|
|
486
|
+
children: P.Children.toArray(e).filter(Boolean).map((w, d)=>/* @__PURE__ */ k(P.Fragment, {
|
|
482
487
|
children: [
|
|
483
|
-
|
|
484
|
-
d < s && /* @__PURE__ */ t(
|
|
488
|
+
w,
|
|
489
|
+
d < s && /* @__PURE__ */ t(m, {
|
|
485
490
|
paddingX: 16,
|
|
486
491
|
children: /* @__PURE__ */ t(le, {})
|
|
487
492
|
})
|
|
488
493
|
]
|
|
489
494
|
}, d))
|
|
490
495
|
}));
|
|
491
|
-
},
|
|
492
|
-
var { dataAttributes: e } = _param,
|
|
496
|
+
}, Ue = /*#__PURE__*/ P.forwardRef((_param, n)=>/* @__PURE__ */ {
|
|
497
|
+
var { dataAttributes: e } = _param, r = _object_without_properties(_param, [
|
|
493
498
|
"dataAttributes"
|
|
494
499
|
]);
|
|
495
500
|
return t(de, {
|
|
496
|
-
isInverse:
|
|
497
|
-
ref:
|
|
501
|
+
isInverse: r.isInverse,
|
|
502
|
+
ref: n,
|
|
498
503
|
dataAttributes: _object_spread({
|
|
499
504
|
"component-name": "BoxedRow"
|
|
500
505
|
}, e),
|
|
501
|
-
children: /* @__PURE__ */ t(ee, _object_spread({},
|
|
506
|
+
children: /* @__PURE__ */ t(ee, _object_spread({}, r))
|
|
502
507
|
});
|
|
503
|
-
}),
|
|
504
|
-
let { children: e, ariaLabelledby:
|
|
508
|
+
}), Ze = (param)=>/* @__PURE__ */ {
|
|
509
|
+
let { children: e, ariaLabelledby: r, role: n, dataAttributes: o } = param;
|
|
505
510
|
return t(L, {
|
|
506
511
|
space: 16,
|
|
507
|
-
role:
|
|
508
|
-
"aria-labelledby":
|
|
512
|
+
role: n,
|
|
513
|
+
"aria-labelledby": r,
|
|
509
514
|
dataAttributes: _object_spread({
|
|
510
515
|
"component-name": "BoxedRowList"
|
|
511
516
|
}, o),
|
|
512
517
|
children: e
|
|
513
518
|
});
|
|
514
519
|
};
|
|
515
|
-
export {
|
|
520
|
+
export { Ue as BoxedRow, Ze as BoxedRowList, Ce as Content, Ke as Row, Qe as RowList };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./loading-bar.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var r = 400, _ = "_1num3qg9", e = "_1num3qga",
|
|
4
|
-
export { r as TRANSITION_DURATION_MS, _ as enter, e as enterActive,
|
|
3
|
+
var r = 400, _ = "_1num3qg9", e = "_1num3qga", f = "_1num3qgb", y = "_1num3qgc", a = "_1num3qg8 _1y2v1nfce", t = "_1num3qg3 _1y2v1nfb6 _1y2v1nfeh _1y2v1nfew _1y2v1nffb", g = "_1num3qg6 _1y2v1nfb5 _1y2v1nfce _1y2v1nfbx", m = "_1y2v1nfbx _1y2v1nfeb _1y2v1nfb4 _1y2v1nf4c _1y2v1nfch";
|
|
4
|
+
export { r as TRANSITION_DURATION_MS, _ as enter, e as enterActive, f as exit, y as exitActive, a as innerProgress, t as portal, g as progress, m as progressContainer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./sprinkles.css.ts.vanilla.css-mistica.js";
|
|
2
2
|
import "./maybe-dismissable.css.ts.vanilla.css-mistica.js";
|
|
3
|
-
var f = "cim30m2 _1y2v1nfb5
|
|
3
|
+
var f = "cim30m2 _1y2v1nfb5 _1y2v1nfeh _1y2v1nffb _1y2v1nfc9 _1y2v1nfcp _1y2v1nfba _1y2v1nfbp _1y2v1nfbj", y = "cim30m4 _1y2v1nfba _1y2v1nfbp _1y2v1nfbj _1y2v1nfc6 _1y2v1nfcm _1y2v1nfdt", _ = "_1y2v1nfb4 _1y2v1nfba _1y2v1nfbs";
|
|
4
4
|
export { f as dismissableButton, y as dismissableCircleContainer, _ as dismissableContainer };
|