@versini/ui-textinput 1.4.0 → 1.5.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m, jsxs as z } from "react/jsx-runtime";
|
|
2
|
-
import W, { useRef as y, useEffect as R, useCallback as J, useState as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
2
|
+
import W, { useRef as y, useEffect as R, useCallback as J, useState as L, useMemo as K, useId as Q, useReducer as Y, useLayoutEffect as $ } from "react";
|
|
3
|
+
import a from "clsx";
|
|
4
|
+
const w = "av-text-input", be = "av-text-input-simple", Z = "av-text-input-wrapper", N = "av-text-input-helper-text";
|
|
5
5
|
function B() {
|
|
6
6
|
const e = y(!1);
|
|
7
7
|
return R(() => (e.current = !0, () => {
|
|
@@ -19,15 +19,15 @@ const ee = {
|
|
|
19
19
|
right: 0
|
|
20
20
|
};
|
|
21
21
|
function te(e) {
|
|
22
|
-
const r = B(), t = y(0), n = y(null), [l, o] =
|
|
22
|
+
const r = B(), t = y(0), n = y(null), [l, o] = L(ee), c = K(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((i) => {
|
|
23
23
|
const p = i[0];
|
|
24
24
|
p && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
|
|
25
25
|
n.current && r() && o(p.contentRect);
|
|
26
26
|
}));
|
|
27
27
|
}), [r]);
|
|
28
|
-
return R(() => (n.current && (
|
|
29
|
-
|
|
30
|
-
}), [
|
|
28
|
+
return R(() => (n.current && (c == null || c.observe(n.current, e)), () => {
|
|
29
|
+
c == null || c.disconnect(), t.current && cancelAnimationFrame(t.current);
|
|
30
|
+
}), [c, e]), [n, l];
|
|
31
31
|
}
|
|
32
32
|
function re(e) {
|
|
33
33
|
const r = Q();
|
|
@@ -63,14 +63,14 @@ const U = "SET_ANNOUNCEMENT", D = "CLEAR_ANNOUNCEMENT", ne = {
|
|
|
63
63
|
default:
|
|
64
64
|
return e;
|
|
65
65
|
}
|
|
66
|
-
},
|
|
66
|
+
}, ce = ({
|
|
67
67
|
onAnnouncementClear: e,
|
|
68
68
|
dispatch: r
|
|
69
69
|
}) => {
|
|
70
70
|
r({
|
|
71
71
|
type: D
|
|
72
72
|
}), typeof e == "function" && e();
|
|
73
|
-
},
|
|
73
|
+
}, P = ({
|
|
74
74
|
children: e,
|
|
75
75
|
clearAnnouncementDelay: r,
|
|
76
76
|
clearAnnouncementTimeoutRef: t,
|
|
@@ -81,33 +81,33 @@ const U = "SET_ANNOUNCEMENT", D = "CLEAR_ANNOUNCEMENT", ne = {
|
|
|
81
81
|
type: U,
|
|
82
82
|
payload: e
|
|
83
83
|
}), r && (t.current = setTimeout(
|
|
84
|
-
() =>
|
|
84
|
+
() => ce({
|
|
85
85
|
onAnnouncementClear: n,
|
|
86
86
|
dispatch: l
|
|
87
87
|
}),
|
|
88
88
|
r
|
|
89
89
|
));
|
|
90
|
-
},
|
|
90
|
+
}, ae = ({
|
|
91
91
|
children: e,
|
|
92
92
|
announcementTimeoutRef: r,
|
|
93
93
|
announcementDelay: t,
|
|
94
94
|
clearAnnouncementDelay: n,
|
|
95
95
|
clearAnnouncementTimeoutRef: l,
|
|
96
96
|
onAnnouncementClear: o,
|
|
97
|
-
dispatch:
|
|
97
|
+
dispatch: c
|
|
98
98
|
}) => {
|
|
99
|
-
clearTimeout(r.current), t ? r.current = setTimeout(
|
|
99
|
+
clearTimeout(r.current), t ? r.current = setTimeout(P, t, {
|
|
100
100
|
children: e,
|
|
101
101
|
clearAnnouncementDelay: n,
|
|
102
102
|
clearAnnouncementTimeoutRef: l,
|
|
103
103
|
onAnnouncementClear: o,
|
|
104
|
-
dispatch:
|
|
105
|
-
}) :
|
|
104
|
+
dispatch: c
|
|
105
|
+
}) : P({
|
|
106
106
|
children: e,
|
|
107
107
|
clearAnnouncementDelay: n,
|
|
108
108
|
clearAnnouncementTimeoutRef: l,
|
|
109
109
|
onAnnouncementClear: o,
|
|
110
|
-
dispatch:
|
|
110
|
+
dispatch: c
|
|
111
111
|
});
|
|
112
112
|
};
|
|
113
113
|
function oe({
|
|
@@ -117,7 +117,7 @@ function oe({
|
|
|
117
117
|
role: n = null,
|
|
118
118
|
announcementDelay: l,
|
|
119
119
|
clearAnnouncementDelay: o,
|
|
120
|
-
onAnnouncementClear:
|
|
120
|
+
onAnnouncementClear: c,
|
|
121
121
|
visible: i,
|
|
122
122
|
...p
|
|
123
123
|
}) {
|
|
@@ -126,22 +126,22 @@ function oe({
|
|
|
126
126
|
});
|
|
127
127
|
let d = t;
|
|
128
128
|
typeof d > "u" && (d = n ? ne[n] : "assertive"), R(() => {
|
|
129
|
-
|
|
129
|
+
ae({
|
|
130
130
|
announcementTimeoutRef: f,
|
|
131
131
|
announcementDelay: l,
|
|
132
132
|
children: e,
|
|
133
133
|
clearAnnouncementDelay: o,
|
|
134
134
|
clearAnnouncementTimeoutRef: x,
|
|
135
|
-
onAnnouncementClear:
|
|
135
|
+
onAnnouncementClear: c,
|
|
136
136
|
dispatch: s
|
|
137
137
|
});
|
|
138
138
|
}, [
|
|
139
139
|
e,
|
|
140
140
|
l,
|
|
141
141
|
o,
|
|
142
|
-
|
|
142
|
+
c
|
|
143
143
|
]);
|
|
144
|
-
const u =
|
|
144
|
+
const u = a(r, {
|
|
145
145
|
"sr-only": !i
|
|
146
146
|
});
|
|
147
147
|
return /* @__PURE__ */ m(
|
|
@@ -156,13 +156,13 @@ function oe({
|
|
|
156
156
|
);
|
|
157
157
|
}
|
|
158
158
|
/*!
|
|
159
|
-
@versini/ui-
|
|
159
|
+
@versini/ui-liveregion v1.1.0
|
|
160
160
|
© 2024 gizmette.com
|
|
161
161
|
*/
|
|
162
162
|
try {
|
|
163
|
-
window.
|
|
164
|
-
version: "1.
|
|
165
|
-
buildTime: "12/
|
|
163
|
+
window.__VERSINI_UI_LIVEREGION__ || (window.__VERSINI_UI_LIVEREGION__ = {
|
|
164
|
+
version: "1.1.0",
|
|
165
|
+
buildTime: "12/25/2024 12:30 PM EST",
|
|
166
166
|
homepage: "https://github.com/aversini/ui-components",
|
|
167
167
|
license: "MIT"
|
|
168
168
|
});
|
|
@@ -175,7 +175,7 @@ try {
|
|
|
175
175
|
try {
|
|
176
176
|
window.__VERSINI_UI_SPACING__ || (window.__VERSINI_UI_SPACING__ = {
|
|
177
177
|
version: "1.0.0",
|
|
178
|
-
buildTime: "12/
|
|
178
|
+
buildTime: "12/25/2024 12:30 PM EST",
|
|
179
179
|
homepage: "https://github.com/aversini/ui-components",
|
|
180
180
|
license: "MIT"
|
|
181
181
|
});
|
|
@@ -192,14 +192,14 @@ const se = (e) => {
|
|
|
192
192
|
return r;
|
|
193
193
|
}, ie = ({
|
|
194
194
|
mode: e
|
|
195
|
-
}) =>
|
|
195
|
+
}) => a({
|
|
196
196
|
"bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
|
|
197
197
|
"bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
|
|
198
198
|
"bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
|
|
199
199
|
"bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
|
|
200
200
|
}), ue = ({
|
|
201
201
|
focusMode: e
|
|
202
|
-
}) =>
|
|
202
|
+
}) => a("focus:outline focus:outline-2 focus:outline-offset-2", {
|
|
203
203
|
"focus:outline-focus-dark": e === "dark",
|
|
204
204
|
"focus:outline-focus-light": e === "light",
|
|
205
205
|
"focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
|
|
@@ -207,7 +207,7 @@ const se = (e) => {
|
|
|
207
207
|
}), pe = ({
|
|
208
208
|
noBorder: e,
|
|
209
209
|
error: r
|
|
210
|
-
}) =>
|
|
210
|
+
}) => a("border-2", {
|
|
211
211
|
"border-border-dark": !e && !r,
|
|
212
212
|
"focus:border-border-dark": !e && r,
|
|
213
213
|
"border-border-error-dark": !e && r,
|
|
@@ -221,16 +221,16 @@ const se = (e) => {
|
|
|
221
221
|
if (r)
|
|
222
222
|
return "";
|
|
223
223
|
if (e)
|
|
224
|
-
return
|
|
224
|
+
return a("absolute px-2 cursor-not-allowed opacity-50 font-medium");
|
|
225
225
|
if (!t)
|
|
226
|
-
return
|
|
226
|
+
return a("absolute px-2 cursor-text font-medium", {
|
|
227
227
|
"text-copy-lighter": n === "dark",
|
|
228
228
|
"text-copy-dark": n === "light",
|
|
229
229
|
"text-copy-dark dark:text-copy-lighter": n === "system",
|
|
230
230
|
"text-copy-lighter dark:text-copy-dark": n === "alt-system"
|
|
231
231
|
});
|
|
232
232
|
if (t)
|
|
233
|
-
return
|
|
233
|
+
return a("absolute px-2 cursor-text font-medium", {
|
|
234
234
|
"text-copy-lighter": n === "dark",
|
|
235
235
|
"text-copy-error-dark": n === "light",
|
|
236
236
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": n === "system",
|
|
@@ -245,19 +245,19 @@ const se = (e) => {
|
|
|
245
245
|
if (r)
|
|
246
246
|
return "";
|
|
247
247
|
if (n)
|
|
248
|
-
return
|
|
248
|
+
return a(
|
|
249
249
|
N,
|
|
250
250
|
"absolute px-2 cursor-not-allowed opacity-50 font-medium"
|
|
251
251
|
);
|
|
252
252
|
if (!e)
|
|
253
|
-
return
|
|
253
|
+
return a(N, "absolute px-2 font-medium", {
|
|
254
254
|
"text-copy-lighter": t === "dark",
|
|
255
255
|
"text-copy-dark": t === "light",
|
|
256
256
|
"text-copy-dark dark:text-copy-lighter": t === "system",
|
|
257
257
|
"text-copy-lighter dark:text-copy-dark": t === "alt-system"
|
|
258
258
|
});
|
|
259
259
|
if (e)
|
|
260
|
-
return
|
|
260
|
+
return a(N, "absolute px-2 font-medium", {
|
|
261
261
|
"text-copy-error-light bg-surface-darker": t === "dark",
|
|
262
262
|
"text-copy-error-dark": t === "light",
|
|
263
263
|
"text-copy-error-dark dark:text-copy-error-light dark:bg-surface-darker": t === "system",
|
|
@@ -270,17 +270,17 @@ const se = (e) => {
|
|
|
270
270
|
disabled: n,
|
|
271
271
|
noBorder: l,
|
|
272
272
|
error: o,
|
|
273
|
-
spacing:
|
|
273
|
+
spacing: c,
|
|
274
274
|
mode: i,
|
|
275
275
|
focusMode: p,
|
|
276
276
|
size: f,
|
|
277
277
|
rightElementClassName: x
|
|
278
278
|
}) => {
|
|
279
|
-
const g = t ? e :
|
|
279
|
+
const g = t ? e : a(
|
|
280
280
|
"relative flex w-full flex-col justify-center",
|
|
281
281
|
Z,
|
|
282
282
|
e,
|
|
283
|
-
se(
|
|
283
|
+
se(c)
|
|
284
284
|
);
|
|
285
285
|
let s = "";
|
|
286
286
|
switch (f) {
|
|
@@ -300,8 +300,8 @@ const se = (e) => {
|
|
|
300
300
|
s = "h-12";
|
|
301
301
|
break;
|
|
302
302
|
}
|
|
303
|
-
const d = t ?
|
|
304
|
-
|
|
303
|
+
const d = t ? a(r) : a(
|
|
304
|
+
w,
|
|
305
305
|
r,
|
|
306
306
|
s,
|
|
307
307
|
"rounded-md text-base px-4",
|
|
@@ -316,18 +316,18 @@ const se = (e) => {
|
|
|
316
316
|
raw: t,
|
|
317
317
|
error: o,
|
|
318
318
|
mode: i
|
|
319
|
-
}),
|
|
319
|
+
}), A = me({
|
|
320
320
|
error: o,
|
|
321
321
|
raw: t,
|
|
322
322
|
mode: i,
|
|
323
323
|
disabled: n
|
|
324
|
-
}), I = t ? void 0 :
|
|
324
|
+
}), I = t ? void 0 : a("absolute right-3", x);
|
|
325
325
|
return {
|
|
326
326
|
wrapper: g,
|
|
327
327
|
input: d,
|
|
328
328
|
accessibleLabel: u,
|
|
329
329
|
visibleLabel: b,
|
|
330
|
-
helperText:
|
|
330
|
+
helperText: A,
|
|
331
331
|
rightElement: I
|
|
332
332
|
};
|
|
333
333
|
}, fe = W.forwardRef(
|
|
@@ -338,7 +338,7 @@ const se = (e) => {
|
|
|
338
338
|
error: n = !1,
|
|
339
339
|
raw: l = !1,
|
|
340
340
|
className: o,
|
|
341
|
-
inputClassName:
|
|
341
|
+
inputClassName: c,
|
|
342
342
|
mode: i = "system",
|
|
343
343
|
focusMode: p = "system",
|
|
344
344
|
disabled: f = !1,
|
|
@@ -348,12 +348,12 @@ const se = (e) => {
|
|
|
348
348
|
type: d = "text",
|
|
349
349
|
helperText: u = "",
|
|
350
350
|
rightElement: b,
|
|
351
|
-
rightElementClassName:
|
|
351
|
+
rightElementClassName: A,
|
|
352
352
|
spacing: I,
|
|
353
353
|
size: E = "md",
|
|
354
354
|
...M
|
|
355
355
|
}, F) => {
|
|
356
|
-
const [
|
|
356
|
+
const [O, T] = te(), [V, j] = L(0), k = re({ id: e, prefix: `${w}-` }), X = `${r} error, ${u}`, v = y(null), _ = y(null), G = {
|
|
357
357
|
xs: { label: "-25px", helperText: "30px" },
|
|
358
358
|
sm: { label: "-29px", helperText: "34px" },
|
|
359
359
|
md: { label: "-33px", helperText: "38px" },
|
|
@@ -361,7 +361,7 @@ const se = (e) => {
|
|
|
361
361
|
xl: { label: "-19px", helperText: "25px" }
|
|
362
362
|
}, h = ye({
|
|
363
363
|
className: o,
|
|
364
|
-
inputClassName:
|
|
364
|
+
inputClassName: c,
|
|
365
365
|
error: n,
|
|
366
366
|
raw: l,
|
|
367
367
|
focusMode: p,
|
|
@@ -370,14 +370,14 @@ const se = (e) => {
|
|
|
370
370
|
spacing: I,
|
|
371
371
|
mode: i,
|
|
372
372
|
size: E,
|
|
373
|
-
rightElementClassName:
|
|
373
|
+
rightElementClassName: A
|
|
374
374
|
});
|
|
375
|
-
return
|
|
376
|
-
T && T.width &&
|
|
377
|
-
}, [T]),
|
|
375
|
+
return $(() => {
|
|
376
|
+
T && T.width && j(T.width + 18 + 10);
|
|
377
|
+
}, [T]), $(() => {
|
|
378
378
|
var C, S;
|
|
379
|
-
const { label:
|
|
380
|
-
(C = v == null ? void 0 : v.current) == null || C.style.setProperty("--av-text-input-label",
|
|
379
|
+
const { label: q, helperText: H } = G[E];
|
|
380
|
+
(C = v == null ? void 0 : v.current) == null || C.style.setProperty("--av-text-input-label", q), (S = _ == null ? void 0 : _.current) == null || S.style.setProperty(
|
|
381
381
|
"--av-text-input-helper-text",
|
|
382
382
|
H
|
|
383
383
|
);
|
|
@@ -403,7 +403,7 @@ const se = (e) => {
|
|
|
403
403
|
className: h.input,
|
|
404
404
|
...u && { "aria-describedby": `${k}-helper` },
|
|
405
405
|
...n && { "aria-invalid": "true" },
|
|
406
|
-
...b && !l && { style: { paddingRight:
|
|
406
|
+
...b && !l && { style: { paddingRight: V } },
|
|
407
407
|
...M
|
|
408
408
|
}
|
|
409
409
|
),
|
|
@@ -420,7 +420,7 @@ const se = (e) => {
|
|
|
420
420
|
u && /* @__PURE__ */ m(
|
|
421
421
|
"div",
|
|
422
422
|
{
|
|
423
|
-
ref:
|
|
423
|
+
ref: _,
|
|
424
424
|
id: `${k}-helper`,
|
|
425
425
|
className: h.helperText,
|
|
426
426
|
children: u
|
|
@@ -429,18 +429,18 @@ const se = (e) => {
|
|
|
429
429
|
b && /* @__PURE__ */ m(
|
|
430
430
|
"div",
|
|
431
431
|
{
|
|
432
|
-
ref:
|
|
432
|
+
ref: O,
|
|
433
433
|
className: h.rightElement,
|
|
434
434
|
children: b
|
|
435
435
|
}
|
|
436
436
|
),
|
|
437
|
-
n && u && /* @__PURE__ */ m(oe, { politeness: "polite", clearAnnouncementDelay: 500, children:
|
|
437
|
+
n && u && /* @__PURE__ */ m(oe, { politeness: "polite", clearAnnouncementDelay: 500, children: X })
|
|
438
438
|
] });
|
|
439
439
|
}
|
|
440
440
|
);
|
|
441
441
|
fe.displayName = "TextInput";
|
|
442
442
|
export {
|
|
443
|
-
|
|
443
|
+
w as TEXT_INPUT_CLASSNAME,
|
|
444
444
|
N as TEXT_INPUT_HELPER_TEXT_CLASSNAME,
|
|
445
445
|
be as TEXT_INPUT_SIMPLE_CLASSNAME,
|
|
446
446
|
Z as TEXT_INPUT_WRAPPER_CLASSNAME,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextInput as H, x as L } from "../../chunks/TextInput.
|
|
1
|
+
import { TextInput as H, x as L } from "../../chunks/TextInput.DJFmZTbF.js";
|
|
2
2
|
import { jsxs as B, Fragment as j, jsx as x } from "react/jsx-runtime";
|
|
3
3
|
import A, { useMemo as b, useState as _, useRef as m, useEffect as $ } from "react";
|
|
4
4
|
function q(r) {
|
|
@@ -24,12 +24,12 @@ const z = 500, G = 5e3, J = 2e4, K = A.forwardRef(
|
|
|
24
24
|
spacing: U,
|
|
25
25
|
...w
|
|
26
26
|
}, E) => {
|
|
27
|
-
const [h,
|
|
27
|
+
const [h, R] = _(!0), [l, g] = _({
|
|
28
28
|
message: null,
|
|
29
29
|
politeness: null
|
|
30
30
|
}), c = m(!0), o = m(null), I = m(null), C = q([E, I]), S = h ? "Show" : "Hide", a = () => {
|
|
31
31
|
o.current && clearTimeout(o.current), c.current || (o.current = setTimeout(() => {
|
|
32
|
-
c.current = !0,
|
|
32
|
+
c.current = !0, R(!0), g({
|
|
33
33
|
announcementTimeout: G,
|
|
34
34
|
politeness: "polite",
|
|
35
35
|
message: `${n} hiding characters`
|
|
@@ -38,7 +38,7 @@ const z = 500, G = 5e3, J = 2e4, K = A.forwardRef(
|
|
|
38
38
|
}, v = (e) => {
|
|
39
39
|
e.preventDefault();
|
|
40
40
|
const s = !c.current;
|
|
41
|
-
c.current = s, a(),
|
|
41
|
+
c.current = s, a(), R(s), g({
|
|
42
42
|
announcementTimeout: z,
|
|
43
43
|
politeness: "assertive",
|
|
44
44
|
message: s ? "Characters hidden" : "Characters showing"
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TEXT_INPUT_CLASSNAME as I, TEXT_INPUT_HELPER_TEXT_CLASSNAME as e, TEXT_INPUT_SIMPLE_CLASSNAME as o, TEXT_INPUT_WRAPPER_CLASSNAME as t, TextInput as N } from "./chunks/TextInput.
|
|
1
|
+
import { TEXT_INPUT_CLASSNAME as I, TEXT_INPUT_HELPER_TEXT_CLASSNAME as e, TEXT_INPUT_SIMPLE_CLASSNAME as o, TEXT_INPUT_WRAPPER_CLASSNAME as t, TextInput as N } from "./chunks/TextInput.DJFmZTbF.js";
|
|
2
2
|
import { TextInputMask as i } from "./components/TextInput/TextInputMask.js";
|
|
3
3
|
/*!
|
|
4
|
-
@versini/ui-textinput v1.
|
|
4
|
+
@versini/ui-textinput v1.5.1
|
|
5
5
|
© 2024 gizmette.com
|
|
6
6
|
*/
|
|
7
7
|
try {
|
|
8
8
|
window.__VERSINI_UI_TEXTINPUT__ || (window.__VERSINI_UI_TEXTINPUT__ = {
|
|
9
|
-
version: "1.
|
|
10
|
-
buildTime: "12/
|
|
9
|
+
version: "1.5.1",
|
|
10
|
+
buildTime: "12/25/2024 12:30 PM EST",
|
|
11
11
|
homepage: "https://github.com/aversini/ui-components",
|
|
12
12
|
license: "MIT"
|
|
13
13
|
});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.av-text-input-wrapper label[aria-hidden=true]{transform:translate(12px) scale(1);transform-origin:top left;transition:var(--av-text-input-wrapper-transition, all .2s ease-out)}.av-text-input:focus+label[aria-hidden=true],.av-text-input:not(:placeholder-shown)+label[aria-hidden=true]{transform:translate(12px,var(--av-text-input-label, -33px)) scale(.75)}.av-text-input-helper-text{transform:translate(12px,var(--av-text-input-helper-text, 38px)) scale(.75);transform-origin:top left}@keyframes blink{50%{fill:transparent}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.right-3{right:.75rem}.m-0{margin:0}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-11{margin:2.75rem}.m-12{margin:3rem}.m-14{margin:3.5rem}.m-16{margin:4rem}.m-2{margin:.5rem}.m-20{margin:5rem}.m-24{margin:6rem}.m-28{margin:7rem}.m-3{margin:.75rem}.m-32{margin:8rem}.m-36{margin:9rem}.m-4{margin:1rem}.m-44{margin:11rem}.m-48{margin:12rem}.m-5{margin:1.25rem}.m-52{margin:13rem}.m-56{margin:14rem}.m-6{margin:1.5rem}.m-60{margin:15rem}.m-64{margin:16rem}.m-7{margin:1.75rem}.m-72{margin:18rem}.m-8{margin:2rem}.m-80{margin:20rem}.m-9{margin:2.25rem}.m-96{margin:24rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-8{height:2rem}.w-full{width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-text{cursor:text}.flex-col{flex-direction:column}.place-items-center{place-items:center}.justify-center{justify-content:center}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.border-border-error-dark{--tw-border-opacity: 1;border-color:var(--av-border-error-dark, rgb(185 28 28 / var(--tw-border-opacity, 1)))}.border-transparent{border-color:transparent}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.bg-surface-darker{--tw-bg-opacity: 1;background-color:var(--av-surface-darker, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.bg-surface-lighter{--tw-bg-opacity: 1;background-color:var(--av-surface-lighter, rgb(226 232 240 / var(--tw-bg-opacity, 1)))}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.text-copy-dark{--tw-text-opacity: 1;color:var(--av-copy-dark, rgb(15 23 42 / var(--tw-text-opacity, 1)))}.text-copy-error-dark{--tw-text-opacity: 1;color:var(--av-copy-error-dark, rgb(185 28 28 / var(--tw-text-opacity, 1)))}.text-copy-error-light{--tw-text-opacity: 1;color:var(--av-copy-error-light, rgb(239 68 68 / var(--tw-text-opacity, 1)))}.text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.caret-copy-dark{caret-color:var(--av-copy-dark, rgb(15 23 42 / 1))}.caret-copy-light{caret-color:var(--av-copy-light, rgb(226 232 240 / 1))}.opacity-50{opacity:.5}.outline-focus-dark{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.outline-focus-light{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:border-border-dark:focus{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.focus\:outline:focus{outline-style:solid}.focus\:outline-2:focus{outline-width:2px}.focus\:outline-offset-2:focus{outline-offset:2px}.focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width: 640px){.sm\:bg-black\/\[\.8\]{background-color:#000c}}@media (prefers-color-scheme: dark){.dark\:bg-surface-darker{--tw-bg-opacity: 1;background-color:var(--av-surface-darker, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.dark\:bg-surface-lighter{--tw-bg-opacity: 1;background-color:var(--av-surface-lighter, rgb(226 232 240 / var(--tw-bg-opacity, 1)))}.dark\:text-copy-dark{--tw-text-opacity: 1;color:var(--av-copy-dark, rgb(15 23 42 / var(--tw-text-opacity, 1)))}.dark\:text-copy-error-dark{--tw-text-opacity: 1;color:var(--av-copy-error-dark, rgb(185 28 28 / var(--tw-text-opacity, 1)))}.dark\:text-copy-error-light{--tw-text-opacity: 1;color:var(--av-copy-error-light, rgb(239 68 68 / var(--tw-text-opacity, 1)))}.dark\:text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.dark\:caret-copy-dark{caret-color:var(--av-copy-dark, rgb(15 23 42 / 1))}.dark\:caret-copy-light{caret-color:var(--av-copy-light, rgb(226 232 240 / 1))}.dark\:focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.dark\:focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::-ms-backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-ms-input-placeholder,textarea::-ms-input-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.av-text-input-wrapper label[aria-hidden=true]{transform:translate(12px) scale(1);transform-origin:top left;transition:var(--av-text-input-wrapper-transition, all .2s ease-out)}.av-text-input:focus+label[aria-hidden=true],.av-text-input:not(:placeholder-shown)+label[aria-hidden=true]{transform:translate(12px,var(--av-text-input-label, -33px)) scale(.75)}.av-text-input-helper-text{transform:translate(12px,var(--av-text-input-helper-text, 38px)) scale(.75);transform-origin:top left}@keyframes blink{50%{fill:transparent}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.right-3{right:.75rem}.m-0{margin:0}.m-1{margin:.25rem}.m-10{margin:2.5rem}.m-11{margin:2.75rem}.m-12{margin:3rem}.m-14{margin:3.5rem}.m-16{margin:4rem}.m-2{margin:.5rem}.m-20{margin:5rem}.m-24{margin:6rem}.m-28{margin:7rem}.m-3{margin:.75rem}.m-32{margin:8rem}.m-36{margin:9rem}.m-4{margin:1rem}.m-44{margin:11rem}.m-48{margin:12rem}.m-5{margin:1.25rem}.m-52{margin:13rem}.m-56{margin:14rem}.m-6{margin:1.5rem}.m-60{margin:15rem}.m-64{margin:16rem}.m-7{margin:1.75rem}.m-72{margin:18rem}.m-8{margin:2rem}.m-80{margin:20rem}.m-9{margin:2.25rem}.m-96{margin:24rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-11{margin-bottom:2.75rem}.mb-12{margin-bottom:3rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-24{margin-bottom:6rem}.mb-28{margin-bottom:7rem}.mb-3{margin-bottom:.75rem}.mb-32{margin-bottom:8rem}.mb-36{margin-bottom:9rem}.mb-4{margin-bottom:1rem}.mb-44{margin-bottom:11rem}.mb-48{margin-bottom:12rem}.mb-5{margin-bottom:1.25rem}.mb-52{margin-bottom:13rem}.mb-56{margin-bottom:14rem}.mb-6{margin-bottom:1.5rem}.mb-60{margin-bottom:15rem}.mb-64{margin-bottom:16rem}.mb-7{margin-bottom:1.75rem}.mb-72{margin-bottom:18rem}.mb-8{margin-bottom:2rem}.mb-80{margin-bottom:20rem}.mb-9{margin-bottom:2.25rem}.mb-96{margin-bottom:24rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-11{margin-left:2.75rem}.ml-12{margin-left:3rem}.ml-14{margin-left:3.5rem}.ml-16{margin-left:4rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-24{margin-left:6rem}.ml-28{margin-left:7rem}.ml-3{margin-left:.75rem}.ml-32{margin-left:8rem}.ml-36{margin-left:9rem}.ml-4{margin-left:1rem}.ml-44{margin-left:11rem}.ml-48{margin-left:12rem}.ml-5{margin-left:1.25rem}.ml-52{margin-left:13rem}.ml-56{margin-left:14rem}.ml-6{margin-left:1.5rem}.ml-60{margin-left:15rem}.ml-64{margin-left:16rem}.ml-7{margin-left:1.75rem}.ml-72{margin-left:18rem}.ml-8{margin-left:2rem}.ml-80{margin-left:20rem}.ml-9{margin-left:2.25rem}.ml-96{margin-left:24rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-10{margin-right:2.5rem}.mr-11{margin-right:2.75rem}.mr-12{margin-right:3rem}.mr-14{margin-right:3.5rem}.mr-16{margin-right:4rem}.mr-2{margin-right:.5rem}.mr-20{margin-right:5rem}.mr-24{margin-right:6rem}.mr-28{margin-right:7rem}.mr-3{margin-right:.75rem}.mr-32{margin-right:8rem}.mr-36{margin-right:9rem}.mr-4{margin-right:1rem}.mr-44{margin-right:11rem}.mr-48{margin-right:12rem}.mr-5{margin-right:1.25rem}.mr-52{margin-right:13rem}.mr-56{margin-right:14rem}.mr-6{margin-right:1.5rem}.mr-60{margin-right:15rem}.mr-64{margin-right:16rem}.mr-7{margin-right:1.75rem}.mr-72{margin-right:18rem}.mr-8{margin-right:2rem}.mr-80{margin-right:20rem}.mr-9{margin-right:2.25rem}.mr-96{margin-right:24rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-11{margin-top:2.75rem}.mt-12{margin-top:3rem}.mt-14{margin-top:3.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-24{margin-top:6rem}.mt-28{margin-top:7rem}.mt-3{margin-top:.75rem}.mt-32{margin-top:8rem}.mt-36{margin-top:9rem}.mt-4{margin-top:1rem}.mt-44{margin-top:11rem}.mt-48{margin-top:12rem}.mt-5{margin-top:1.25rem}.mt-52{margin-top:13rem}.mt-56{margin-top:14rem}.mt-6{margin-top:1.5rem}.mt-60{margin-top:15rem}.mt-64{margin-top:16rem}.mt-7{margin-top:1.75rem}.mt-72{margin-top:18rem}.mt-8{margin-top:2rem}.mt-80{margin-top:20rem}.mt-9{margin-top:2.25rem}.mt-96{margin-top:24rem}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-8{height:2rem}.w-full{width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-text{cursor:text}.flex-col{flex-direction:column}.justify-center{justify-content:center}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-2{border-width:2px}.border-border-dark{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.border-border-error-dark{--tw-border-opacity: 1;border-color:var(--av-border-error-dark, rgb(185 28 28 / var(--tw-border-opacity, 1)))}.border-transparent{border-color:transparent}.bg-surface-darker{--tw-bg-opacity: 1;background-color:var(--av-surface-darker, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.bg-surface-lighter{--tw-bg-opacity: 1;background-color:var(--av-surface-lighter, rgb(226 232 240 / var(--tw-bg-opacity, 1)))}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.text-base{font-size:1rem;line-height:1.5rem}.font-medium{font-weight:500}.text-copy-dark{--tw-text-opacity: 1;color:var(--av-copy-dark, rgb(15 23 42 / var(--tw-text-opacity, 1)))}.text-copy-error-dark{--tw-text-opacity: 1;color:var(--av-copy-error-dark, rgb(185 28 28 / var(--tw-text-opacity, 1)))}.text-copy-error-light{--tw-text-opacity: 1;color:var(--av-copy-error-light, rgb(239 68 68 / var(--tw-text-opacity, 1)))}.text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.caret-copy-dark{caret-color:var(--av-copy-dark, rgb(15 23 42 / 1))}.caret-copy-light{caret-color:var(--av-copy-light, rgb(226 232 240 / 1))}.opacity-50{opacity:.5}.outline-focus-dark{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.outline-focus-light{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:border-border-dark:focus{--tw-border-opacity: 1;border-color:var(--av-border-dark, rgb(15 23 42 / var(--tw-border-opacity, 1)))}.focus\:outline:focus{outline-style:solid}.focus\:outline-2:focus{outline-width:2px}.focus\:outline-offset-2:focus{outline-offset:2px}.focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (prefers-color-scheme: dark){.dark\:bg-surface-darker{--tw-bg-opacity: 1;background-color:var(--av-surface-darker, rgb(15 23 42 / var(--tw-bg-opacity, 1)))}.dark\:bg-surface-lighter{--tw-bg-opacity: 1;background-color:var(--av-surface-lighter, rgb(226 232 240 / var(--tw-bg-opacity, 1)))}.dark\:text-copy-dark{--tw-text-opacity: 1;color:var(--av-copy-dark, rgb(15 23 42 / var(--tw-text-opacity, 1)))}.dark\:text-copy-error-dark{--tw-text-opacity: 1;color:var(--av-copy-error-dark, rgb(185 28 28 / var(--tw-text-opacity, 1)))}.dark\:text-copy-error-light{--tw-text-opacity: 1;color:var(--av-copy-error-light, rgb(239 68 68 / var(--tw-text-opacity, 1)))}.dark\:text-copy-lighter{--tw-text-opacity: 1;color:var(--av-copy-lighter, rgb(255 255 255 / var(--tw-text-opacity, 1)))}.dark\:caret-copy-dark{caret-color:var(--av-copy-dark, rgb(15 23 42 / 1))}.dark\:caret-copy-light{caret-color:var(--av-copy-light, rgb(226 232 240 / 1))}.dark\:focus\:outline-focus-dark:focus{outline-color:var(--av-focus-dark, rgb(21 128 61 / 1))}.dark\:focus\:outline-focus-light:focus{outline-color:var(--av-focus-light, rgb(134 239 172 / 1))}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-textinput",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@tailwindcss/typography": "0.5.15",
|
|
42
42
|
"@versini/ui-hooks": "4.3.0",
|
|
43
|
-
"@versini/ui-
|
|
43
|
+
"@versini/ui-liveregion": "1.1.0",
|
|
44
44
|
"@versini/ui-spacing": "1.0.0",
|
|
45
45
|
"@versini/ui-spacing-types": "1.0.0",
|
|
46
46
|
"clsx": "2.1.1",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"sideEffects": [
|
|
50
50
|
"**/*.css"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "51f74738512b2962734cd6087ded58d17ef0f8d4"
|
|
53
53
|
}
|