@cfx-dev/ui-components 4.5.11 → 4.5.13
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/dist/{DropdownContent-BertjH0y.js → DropdownContent-CLtPVRZg.js} +103 -102
- package/dist/assets/css/Input.css +1 -1
- package/dist/assets/css/StyledInput.css +1 -1
- package/dist/components/DropdownContent/DropdownContent.d.ts +1 -0
- package/dist/components/DropdownContent/DropdownContent.js +1 -1
- package/dist/components/DropdownContent/index.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/components/Input/Input.js +91 -94
- package/dist/components/StyledInput/StyledInput.js +20 -20
- package/package.json +1 -1
|
@@ -20,18 +20,18 @@ var On = a.forwardRef((e, o) => {
|
|
|
20
20
|
orientation: t,
|
|
21
21
|
loop: r = !1,
|
|
22
22
|
dir: c,
|
|
23
|
-
currentTabStopId:
|
|
23
|
+
currentTabStopId: d,
|
|
24
24
|
defaultCurrentTabStopId: l,
|
|
25
|
-
onCurrentTabStopIdChange:
|
|
26
|
-
onEntryFocus:
|
|
27
|
-
preventScrollOnEntryFocus:
|
|
25
|
+
onCurrentTabStopIdChange: m,
|
|
26
|
+
onEntryFocus: _,
|
|
27
|
+
preventScrollOnEntryFocus: u = !1,
|
|
28
28
|
...i
|
|
29
29
|
} = e, f = a.useRef(null), v = z(o, f), g = Te(c), [b, M] = xe({
|
|
30
|
-
prop:
|
|
30
|
+
prop: d,
|
|
31
31
|
defaultProp: l ?? null,
|
|
32
|
-
onChange:
|
|
32
|
+
onChange: m,
|
|
33
33
|
caller: Z
|
|
34
|
-
}), [R, T] = a.useState(!1), h = we(
|
|
34
|
+
}), [R, T] = a.useState(!1), h = we(_), S = Oe(n), $ = a.useRef(!1), [Q, O] = a.useState(0);
|
|
35
35
|
return a.useEffect(() => {
|
|
36
36
|
const C = f.current;
|
|
37
37
|
if (C)
|
|
@@ -76,7 +76,7 @@ var On = a.forwardRef((e, o) => {
|
|
|
76
76
|
const B = S().filter((y) => y.focusable), V = B.find((y) => y.active), ee = B.find((y) => y.id === b), se = [V, ee, ...B].filter(
|
|
77
77
|
Boolean
|
|
78
78
|
).map((y) => y.ref.current);
|
|
79
|
-
Ke(se,
|
|
79
|
+
Ke(se, u);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
$.current = !1;
|
|
@@ -93,9 +93,9 @@ var On = a.forwardRef((e, o) => {
|
|
|
93
93
|
focusable: t = !0,
|
|
94
94
|
active: r = !1,
|
|
95
95
|
tabStopId: c,
|
|
96
|
-
children:
|
|
96
|
+
children: d,
|
|
97
97
|
...l
|
|
98
|
-
} = e,
|
|
98
|
+
} = e, m = le(), _ = c || m, u = Nn(Ge, n), i = u.currentTabStopId === _, f = Oe(n), { onFocusableItemAdd: v, onFocusableItemRemove: g, currentTabStopId: b } = u;
|
|
99
99
|
return a.useEffect(() => {
|
|
100
100
|
if (t)
|
|
101
101
|
return v(), () => g();
|
|
@@ -103,27 +103,27 @@ var On = a.forwardRef((e, o) => {
|
|
|
103
103
|
pe.ItemSlot,
|
|
104
104
|
{
|
|
105
105
|
scope: n,
|
|
106
|
-
id:
|
|
106
|
+
id: _,
|
|
107
107
|
focusable: t,
|
|
108
108
|
active: r,
|
|
109
109
|
children: /* @__PURE__ */ s(
|
|
110
110
|
N.span,
|
|
111
111
|
{
|
|
112
112
|
tabIndex: i ? 0 : -1,
|
|
113
|
-
"data-orientation":
|
|
113
|
+
"data-orientation": u.orientation,
|
|
114
114
|
...l,
|
|
115
115
|
ref: o,
|
|
116
116
|
onMouseDown: w(e.onMouseDown, (M) => {
|
|
117
|
-
t ?
|
|
117
|
+
t ? u.onItemFocus(_) : M.preventDefault();
|
|
118
118
|
}),
|
|
119
|
-
onFocus: w(e.onFocus, () =>
|
|
119
|
+
onFocus: w(e.onFocus, () => u.onItemFocus(_)),
|
|
120
120
|
onKeyDown: w(e.onKeyDown, (M) => {
|
|
121
121
|
if (M.key === "Tab" && M.shiftKey) {
|
|
122
|
-
|
|
122
|
+
u.onItemShiftTab();
|
|
123
123
|
return;
|
|
124
124
|
}
|
|
125
125
|
if (M.target !== M.currentTarget) return;
|
|
126
|
-
const R = Gn(M,
|
|
126
|
+
const R = Gn(M, u.orientation, u.dir);
|
|
127
127
|
if (R !== void 0) {
|
|
128
128
|
if (M.metaKey || M.ctrlKey || M.altKey || M.shiftKey) return;
|
|
129
129
|
M.preventDefault();
|
|
@@ -132,12 +132,12 @@ var On = a.forwardRef((e, o) => {
|
|
|
132
132
|
else if (R === "prev" || R === "next") {
|
|
133
133
|
R === "prev" && h.reverse();
|
|
134
134
|
const S = h.indexOf(M.currentTarget);
|
|
135
|
-
h =
|
|
135
|
+
h = u.loop ? Ln(h, S + 1) : h.slice(S + 1);
|
|
136
136
|
}
|
|
137
137
|
setTimeout(() => Ke(h));
|
|
138
138
|
}
|
|
139
139
|
}),
|
|
140
|
-
children: typeof
|
|
140
|
+
children: typeof d == "function" ? d({ isCurrentTabStop: i, hasTabStop: b != null }) : d
|
|
141
141
|
}
|
|
142
142
|
)
|
|
143
143
|
}
|
|
@@ -182,11 +182,11 @@ var Kn = ke, zn = Le, me = ["Enter", " "], Un = ["ArrowDown", "PageUp", "Home"],
|
|
|
182
182
|
Ae,
|
|
183
183
|
Fe
|
|
184
184
|
]), re = Ae(), $e = Fe(), [Xn, U] = k(q), [Hn, J] = k(q), Be = (e) => {
|
|
185
|
-
const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal:
|
|
185
|
+
const { __scopeMenu: o, open: n = !1, children: t, dir: r, onOpenChange: c, modal: d = !0 } = e, l = re(o), [m, _] = a.useState(null), u = a.useRef(!1), i = we(c), f = Te(r);
|
|
186
186
|
return a.useEffect(() => {
|
|
187
187
|
const v = () => {
|
|
188
|
-
|
|
189
|
-
}, g = () =>
|
|
188
|
+
u.current = !0, document.addEventListener("pointerdown", g, { capture: !0, once: !0 }), document.addEventListener("pointermove", g, { capture: !0, once: !0 });
|
|
189
|
+
}, g = () => u.current = !1;
|
|
190
190
|
return document.addEventListener("keydown", v, { capture: !0 }), () => {
|
|
191
191
|
document.removeEventListener("keydown", v, { capture: !0 }), document.removeEventListener("pointerdown", g, { capture: !0 }), document.removeEventListener("pointermove", g, { capture: !0 });
|
|
192
192
|
};
|
|
@@ -196,16 +196,16 @@ var Kn = ke, zn = Le, me = ["Enter", " "], Un = ["ArrowDown", "PageUp", "Home"],
|
|
|
196
196
|
scope: o,
|
|
197
197
|
open: n,
|
|
198
198
|
onOpenChange: i,
|
|
199
|
-
content:
|
|
200
|
-
onContentChange:
|
|
199
|
+
content: m,
|
|
200
|
+
onContentChange: _,
|
|
201
201
|
children: /* @__PURE__ */ s(
|
|
202
202
|
Hn,
|
|
203
203
|
{
|
|
204
204
|
scope: o,
|
|
205
205
|
onClose: a.useCallback(() => i(!1), [i]),
|
|
206
|
-
isUsingKeyboardRef:
|
|
206
|
+
isUsingKeyboardRef: u,
|
|
207
207
|
dir: f,
|
|
208
|
-
modal:
|
|
208
|
+
modal: d,
|
|
209
209
|
children: t
|
|
210
210
|
}
|
|
211
211
|
)
|
|
@@ -224,8 +224,8 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
|
|
|
224
224
|
forceMount: void 0
|
|
225
225
|
}), E = "MenuContent", [qn, Me] = k(E), We = a.forwardRef(
|
|
226
226
|
(e, o) => {
|
|
227
|
-
const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu),
|
|
228
|
-
return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children:
|
|
227
|
+
const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), d = J(E, e.__scopeMenu);
|
|
228
|
+
return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: d.modal ? /* @__PURE__ */ s(Jn, { ...r, ref: o }) : /* @__PURE__ */ s(Qn, { ...r, ref: o }) }) }) });
|
|
229
229
|
}
|
|
230
230
|
), Jn = a.forwardRef(
|
|
231
231
|
(e, o) => {
|
|
@@ -270,11 +270,11 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
|
|
|
270
270
|
loop: t = !1,
|
|
271
271
|
trapFocus: r,
|
|
272
272
|
onOpenAutoFocus: c,
|
|
273
|
-
onCloseAutoFocus:
|
|
273
|
+
onCloseAutoFocus: d,
|
|
274
274
|
disableOutsidePointerEvents: l,
|
|
275
|
-
onEntryFocus:
|
|
276
|
-
onEscapeKeyDown:
|
|
277
|
-
onPointerDownOutside:
|
|
275
|
+
onEntryFocus: m,
|
|
276
|
+
onEscapeKeyDown: _,
|
|
277
|
+
onPointerDownOutside: u,
|
|
278
278
|
onFocusOutside: i,
|
|
279
279
|
onInteractOutside: f,
|
|
280
280
|
onDismiss: v,
|
|
@@ -329,14 +329,14 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
|
|
|
329
329
|
var D;
|
|
330
330
|
p.preventDefault(), (D = O.current) == null || D.focus({ preventScroll: !0 });
|
|
331
331
|
}),
|
|
332
|
-
onUnmountAutoFocus:
|
|
332
|
+
onUnmountAutoFocus: d,
|
|
333
333
|
children: /* @__PURE__ */ s(
|
|
334
334
|
bn,
|
|
335
335
|
{
|
|
336
336
|
asChild: !0,
|
|
337
337
|
disableOutsidePointerEvents: l,
|
|
338
|
-
onEscapeKeyDown:
|
|
339
|
-
onPointerDownOutside:
|
|
338
|
+
onEscapeKeyDown: _,
|
|
339
|
+
onPointerDownOutside: u,
|
|
340
340
|
onFocusOutside: i,
|
|
341
341
|
onInteractOutside: f,
|
|
342
342
|
onDismiss: v,
|
|
@@ -350,7 +350,7 @@ var Zn = "MenuPortal", [vt, Ve] = k(Zn, {
|
|
|
350
350
|
loop: t,
|
|
351
351
|
currentTabStopId: $,
|
|
352
352
|
onCurrentTabStopIdChange: Q,
|
|
353
|
-
onEntryFocus: w(
|
|
353
|
+
onEntryFocus: w(m, (p) => {
|
|
354
354
|
R.isUsingKeyboardRef.current || p.preventDefault();
|
|
355
355
|
}),
|
|
356
356
|
preventScrollOnEntryFocus: !0,
|
|
@@ -417,27 +417,27 @@ var oo = "MenuLabel", Ye = a.forwardRef(
|
|
|
417
417
|
Ye.displayName = oo;
|
|
418
418
|
var oe = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
|
|
419
419
|
(e, o) => {
|
|
420
|
-
const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null),
|
|
420
|
+
const { disabled: n = !1, onSelect: t, ...r } = e, c = a.useRef(null), d = J(oe, e.__scopeMenu), l = Me(oe, e.__scopeMenu), m = z(o, c), _ = a.useRef(!1), u = () => {
|
|
421
421
|
const i = c.current;
|
|
422
422
|
if (!n && i) {
|
|
423
423
|
const f = new CustomEvent(Se, { bubbles: !0, cancelable: !0 });
|
|
424
|
-
i.addEventListener(Se, (v) => t == null ? void 0 : t(v), { once: !0 }), vn(i, f), f.defaultPrevented ?
|
|
424
|
+
i.addEventListener(Se, (v) => t == null ? void 0 : t(v), { once: !0 }), vn(i, f), f.defaultPrevented ? _.current = !1 : d.onClose();
|
|
425
425
|
}
|
|
426
426
|
};
|
|
427
427
|
return /* @__PURE__ */ s(
|
|
428
428
|
Xe,
|
|
429
429
|
{
|
|
430
430
|
...r,
|
|
431
|
-
ref:
|
|
431
|
+
ref: m,
|
|
432
432
|
disabled: n,
|
|
433
|
-
onClick: w(e.onClick,
|
|
433
|
+
onClick: w(e.onClick, u),
|
|
434
434
|
onPointerDown: (i) => {
|
|
435
435
|
var f;
|
|
436
|
-
(f = e.onPointerDown) == null || f.call(e, i),
|
|
436
|
+
(f = e.onPointerDown) == null || f.call(e, i), _.current = !0;
|
|
437
437
|
},
|
|
438
438
|
onPointerUp: w(e.onPointerUp, (i) => {
|
|
439
439
|
var f;
|
|
440
|
-
|
|
440
|
+
_.current || (f = i.currentTarget) == null || f.click();
|
|
441
441
|
}),
|
|
442
442
|
onKeyDown: w(e.onKeyDown, (i) => {
|
|
443
443
|
const f = l.searchRef.current !== "";
|
|
@@ -450,9 +450,9 @@ var oe = "MenuItem", Se = "menu.itemSelect", ae = a.forwardRef(
|
|
|
450
450
|
ae.displayName = oe;
|
|
451
451
|
var Xe = a.forwardRef(
|
|
452
452
|
(e, o) => {
|
|
453
|
-
const { __scopeMenu: n, disabled: t = !1, textValue: r, ...c } = e,
|
|
453
|
+
const { __scopeMenu: n, disabled: t = !1, textValue: r, ...c } = e, d = Me(oe, n), l = $e(n), m = a.useRef(null), _ = z(o, m), [u, i] = a.useState(!1), [f, v] = a.useState("");
|
|
454
454
|
return a.useEffect(() => {
|
|
455
|
-
const g =
|
|
455
|
+
const g = m.current;
|
|
456
456
|
g && v((g.textContent ?? "").trim());
|
|
457
457
|
}, [c.children]), /* @__PURE__ */ s(
|
|
458
458
|
H.ItemSlot,
|
|
@@ -464,20 +464,20 @@ var Xe = a.forwardRef(
|
|
|
464
464
|
N.div,
|
|
465
465
|
{
|
|
466
466
|
role: "menuitem",
|
|
467
|
-
"data-highlighted":
|
|
467
|
+
"data-highlighted": u ? "" : void 0,
|
|
468
468
|
"aria-disabled": t || void 0,
|
|
469
469
|
"data-disabled": t ? "" : void 0,
|
|
470
470
|
...c,
|
|
471
|
-
ref:
|
|
471
|
+
ref: _,
|
|
472
472
|
onPointerMove: w(
|
|
473
473
|
e.onPointerMove,
|
|
474
474
|
j((g) => {
|
|
475
|
-
t ?
|
|
475
|
+
t ? d.onItemLeave(g) : (d.onItemEnter(g), g.defaultPrevented || g.currentTarget.focus({ preventScroll: !0 }));
|
|
476
476
|
})
|
|
477
477
|
),
|
|
478
478
|
onPointerLeave: w(
|
|
479
479
|
e.onPointerLeave,
|
|
480
|
-
j((g) =>
|
|
480
|
+
j((g) => d.onItemLeave(g))
|
|
481
481
|
),
|
|
482
482
|
onFocus: w(e.onFocus, () => i(!0)),
|
|
483
483
|
onBlur: w(e.onBlur, () => i(!1))
|
|
@@ -532,8 +532,8 @@ var qe = "MenuRadioItem", Je = a.forwardRef(
|
|
|
532
532
|
onSelect: w(
|
|
533
533
|
t.onSelect,
|
|
534
534
|
() => {
|
|
535
|
-
var
|
|
536
|
-
return (
|
|
535
|
+
var d;
|
|
536
|
+
return (d = r.onValueChange) == null ? void 0 : d.call(r, n);
|
|
537
537
|
},
|
|
538
538
|
{ checkForDefaultPrevented: !1 }
|
|
539
539
|
)
|
|
@@ -589,15 +589,15 @@ var io = "MenuArrow", on = a.forwardRef(
|
|
|
589
589
|
on.displayName = io;
|
|
590
590
|
var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
|
|
591
591
|
(e, o) => {
|
|
592
|
-
const n = U(Y, e.__scopeMenu), t = J(Y, e.__scopeMenu), r = tn(Y, e.__scopeMenu), c = Me(Y, e.__scopeMenu),
|
|
593
|
-
|
|
592
|
+
const n = U(Y, e.__scopeMenu), t = J(Y, e.__scopeMenu), r = tn(Y, e.__scopeMenu), c = Me(Y, e.__scopeMenu), d = a.useRef(null), { pointerGraceTimerRef: l, onPointerGraceIntentChange: m } = c, _ = { __scopeMenu: e.__scopeMenu }, u = a.useCallback(() => {
|
|
593
|
+
d.current && window.clearTimeout(d.current), d.current = null;
|
|
594
594
|
}, []);
|
|
595
|
-
return a.useEffect(() =>
|
|
595
|
+
return a.useEffect(() => u, [u]), a.useEffect(() => {
|
|
596
596
|
const i = l.current;
|
|
597
597
|
return () => {
|
|
598
|
-
window.clearTimeout(i),
|
|
598
|
+
window.clearTimeout(i), m(null);
|
|
599
599
|
};
|
|
600
|
-
}, [l,
|
|
600
|
+
}, [l, m]), /* @__PURE__ */ s(ve, { asChild: !0, ..._, children: /* @__PURE__ */ s(
|
|
601
601
|
Xe,
|
|
602
602
|
{
|
|
603
603
|
id: r.triggerId,
|
|
@@ -614,8 +614,8 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
|
|
|
614
614
|
onPointerMove: w(
|
|
615
615
|
e.onPointerMove,
|
|
616
616
|
j((i) => {
|
|
617
|
-
c.onItemEnter(i), !i.defaultPrevented && !e.disabled && !n.open && !
|
|
618
|
-
n.onOpenChange(!0),
|
|
617
|
+
c.onItemEnter(i), !i.defaultPrevented && !e.disabled && !n.open && !d.current && (c.onPointerGraceIntentChange(null), d.current = window.setTimeout(() => {
|
|
618
|
+
n.onOpenChange(!0), u();
|
|
619
619
|
}, 100));
|
|
620
620
|
})
|
|
621
621
|
),
|
|
@@ -623,7 +623,7 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
|
|
|
623
623
|
e.onPointerLeave,
|
|
624
624
|
j((i) => {
|
|
625
625
|
var v, g;
|
|
626
|
-
|
|
626
|
+
u();
|
|
627
627
|
const f = (v = n.content) == null ? void 0 : v.getBoundingClientRect();
|
|
628
628
|
if (f) {
|
|
629
629
|
const b = (g = n.content) == null ? void 0 : g.dataset.side, M = b === "right", R = M ? -5 : 5, T = f[M ? "left" : "right"], h = f[M ? "right" : "left"];
|
|
@@ -660,34 +660,34 @@ var uo = "MenuSub", [Mt, tn] = k(uo), Y = "MenuSubTrigger", rn = a.forwardRef(
|
|
|
660
660
|
rn.displayName = Y;
|
|
661
661
|
var an = "MenuSubContent", cn = a.forwardRef(
|
|
662
662
|
(e, o) => {
|
|
663
|
-
const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu),
|
|
663
|
+
const n = Ve(E, e.__scopeMenu), { forceMount: t = n.forceMount, ...r } = e, c = U(E, e.__scopeMenu), d = J(E, e.__scopeMenu), l = tn(an, e.__scopeMenu), m = a.useRef(null), _ = z(o, m);
|
|
664
664
|
return /* @__PURE__ */ s(H.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(ge, { present: t || c.open, children: /* @__PURE__ */ s(H.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ s(
|
|
665
665
|
he,
|
|
666
666
|
{
|
|
667
667
|
id: l.contentId,
|
|
668
668
|
"aria-labelledby": l.triggerId,
|
|
669
669
|
...r,
|
|
670
|
-
ref:
|
|
670
|
+
ref: _,
|
|
671
671
|
align: "start",
|
|
672
|
-
side:
|
|
672
|
+
side: d.dir === "rtl" ? "left" : "right",
|
|
673
673
|
disableOutsidePointerEvents: !1,
|
|
674
674
|
disableOutsideScroll: !1,
|
|
675
675
|
trapFocus: !1,
|
|
676
|
-
onOpenAutoFocus: (
|
|
676
|
+
onOpenAutoFocus: (u) => {
|
|
677
677
|
var i;
|
|
678
|
-
|
|
678
|
+
d.isUsingKeyboardRef.current && ((i = m.current) == null || i.focus()), u.preventDefault();
|
|
679
679
|
},
|
|
680
|
-
onCloseAutoFocus: (
|
|
681
|
-
onFocusOutside: w(e.onFocusOutside, (
|
|
682
|
-
|
|
680
|
+
onCloseAutoFocus: (u) => u.preventDefault(),
|
|
681
|
+
onFocusOutside: w(e.onFocusOutside, (u) => {
|
|
682
|
+
u.target !== l.trigger && c.onOpenChange(!1);
|
|
683
683
|
}),
|
|
684
|
-
onEscapeKeyDown: w(e.onEscapeKeyDown, (
|
|
685
|
-
|
|
684
|
+
onEscapeKeyDown: w(e.onEscapeKeyDown, (u) => {
|
|
685
|
+
d.onClose(), u.preventDefault();
|
|
686
686
|
}),
|
|
687
|
-
onKeyDown: w(e.onKeyDown, (
|
|
687
|
+
onKeyDown: w(e.onKeyDown, (u) => {
|
|
688
688
|
var v;
|
|
689
|
-
const i =
|
|
690
|
-
i && f && (c.onOpenChange(!1), (v = l.trigger) == null || v.focus(),
|
|
689
|
+
const i = u.currentTarget.contains(u.target), f = Vn[d.dir].includes(u.key);
|
|
690
|
+
i && f && (c.onOpenChange(!1), (v = l.trigger) == null || v.focus(), u.preventDefault());
|
|
691
691
|
})
|
|
692
692
|
}
|
|
693
693
|
) }) }) });
|
|
@@ -712,20 +712,20 @@ function fo(e, o) {
|
|
|
712
712
|
return e.map((n, t) => e[(o + t) % e.length]);
|
|
713
713
|
}
|
|
714
714
|
function po(e, o, n) {
|
|
715
|
-
const r = o.length > 1 && Array.from(o).every((
|
|
716
|
-
let
|
|
717
|
-
r.length === 1 && (
|
|
718
|
-
const
|
|
719
|
-
(
|
|
715
|
+
const r = o.length > 1 && Array.from(o).every((_) => _ === o[0]) ? o[0] : o, c = n ? e.indexOf(n) : -1;
|
|
716
|
+
let d = fo(e, Math.max(c, 0));
|
|
717
|
+
r.length === 1 && (d = d.filter((_) => _ !== n));
|
|
718
|
+
const m = d.find(
|
|
719
|
+
(_) => _.toLowerCase().startsWith(r.toLowerCase())
|
|
720
720
|
);
|
|
721
|
-
return
|
|
721
|
+
return m !== n ? m : void 0;
|
|
722
722
|
}
|
|
723
723
|
function mo(e, o) {
|
|
724
724
|
const { x: n, y: t } = e;
|
|
725
725
|
let r = !1;
|
|
726
|
-
for (let c = 0,
|
|
727
|
-
const l = o[c],
|
|
728
|
-
|
|
726
|
+
for (let c = 0, d = o.length - 1; c < o.length; d = c++) {
|
|
727
|
+
const l = o[c], m = o[d], _ = l.x, u = l.y, i = m.x, f = m.y;
|
|
728
|
+
u > t != f > t && n < (i - _) * (t - u) / (f - u) + _ && (r = !r);
|
|
729
729
|
}
|
|
730
730
|
return r;
|
|
731
731
|
}
|
|
@@ -747,12 +747,12 @@ var wo = Be, go = ve, vo = We, Mo = Ce, ho = Ye, Co = ae, Ro = He, Io = Ze, bo =
|
|
|
747
747
|
dir: t,
|
|
748
748
|
open: r,
|
|
749
749
|
defaultOpen: c,
|
|
750
|
-
onOpenChange:
|
|
750
|
+
onOpenChange: d,
|
|
751
751
|
modal: l = !0
|
|
752
|
-
} = e,
|
|
752
|
+
} = e, m = I(o), _ = a.useRef(null), [u, i] = xe({
|
|
753
753
|
prop: r,
|
|
754
754
|
defaultProp: c ?? !1,
|
|
755
|
-
onChange:
|
|
755
|
+
onChange: d,
|
|
756
756
|
caller: ce
|
|
757
757
|
});
|
|
758
758
|
return /* @__PURE__ */ s(
|
|
@@ -760,21 +760,21 @@ var wo = Be, go = ve, vo = We, Mo = Ce, ho = Ye, Co = ae, Ro = He, Io = Ze, bo =
|
|
|
760
760
|
{
|
|
761
761
|
scope: o,
|
|
762
762
|
triggerId: le(),
|
|
763
|
-
triggerRef:
|
|
763
|
+
triggerRef: _,
|
|
764
764
|
contentId: le(),
|
|
765
|
-
open:
|
|
765
|
+
open: u,
|
|
766
766
|
onOpenChange: i,
|
|
767
767
|
onOpenToggle: a.useCallback(() => i((f) => !f), [i]),
|
|
768
768
|
modal: l,
|
|
769
|
-
children: /* @__PURE__ */ s(wo, { ...
|
|
769
|
+
children: /* @__PURE__ */ s(wo, { ...m, open: u, onOpenChange: i, dir: t, modal: l, children: n })
|
|
770
770
|
}
|
|
771
771
|
);
|
|
772
772
|
};
|
|
773
773
|
dn.displayName = ce;
|
|
774
774
|
var ln = "DropdownMenuTrigger", fn = a.forwardRef(
|
|
775
775
|
(e, o) => {
|
|
776
|
-
const { __scopeDropdownMenu: n, disabled: t = !1, ...r } = e, c = un(ln, n),
|
|
777
|
-
return /* @__PURE__ */ s(go, { asChild: !0, ...
|
|
776
|
+
const { __scopeDropdownMenu: n, disabled: t = !1, ...r } = e, c = un(ln, n), d = I(n);
|
|
777
|
+
return /* @__PURE__ */ s(go, { asChild: !0, ...d, children: /* @__PURE__ */ s(
|
|
778
778
|
N.button,
|
|
779
779
|
{
|
|
780
780
|
type: "button",
|
|
@@ -800,7 +800,7 @@ var ln = "DropdownMenuTrigger", fn = a.forwardRef(
|
|
|
800
800
|
fn.displayName = ln;
|
|
801
801
|
var pn = "DropdownMenuContent", mn = a.forwardRef(
|
|
802
802
|
(e, o) => {
|
|
803
|
-
const { __scopeDropdownMenu: n, ...t } = e, r = un(pn, n), c = I(n),
|
|
803
|
+
const { __scopeDropdownMenu: n, ...t } = e, r = un(pn, n), c = I(n), d = a.useRef(!1);
|
|
804
804
|
return /* @__PURE__ */ s(
|
|
805
805
|
vo,
|
|
806
806
|
{
|
|
@@ -810,12 +810,12 @@ var pn = "DropdownMenuContent", mn = a.forwardRef(
|
|
|
810
810
|
...t,
|
|
811
811
|
ref: o,
|
|
812
812
|
onCloseAutoFocus: w(e.onCloseAutoFocus, (l) => {
|
|
813
|
-
var
|
|
814
|
-
|
|
813
|
+
var m;
|
|
814
|
+
d.current || (m = r.triggerRef.current) == null || m.focus(), d.current = !1, l.preventDefault();
|
|
815
815
|
}),
|
|
816
816
|
onInteractOutside: w(e.onInteractOutside, (l) => {
|
|
817
|
-
const
|
|
818
|
-
(!r.modal ||
|
|
817
|
+
const m = l.detail.originalEvent, _ = m.button === 0 && m.ctrlKey === !0, u = m.button === 2 || _;
|
|
818
|
+
(!r.modal || u) && (d.current = !0);
|
|
819
819
|
}),
|
|
820
820
|
style: {
|
|
821
821
|
...e.style,
|
|
@@ -945,10 +945,11 @@ function ut(e) {
|
|
|
945
945
|
size: t,
|
|
946
946
|
fullWidth: r = !1,
|
|
947
947
|
className: c,
|
|
948
|
-
|
|
949
|
-
|
|
948
|
+
itemClassName: d,
|
|
949
|
+
onSelect: l
|
|
950
|
+
} = e, m = it(t), _ = fe(
|
|
950
951
|
c,
|
|
951
|
-
|
|
952
|
+
m,
|
|
952
953
|
{
|
|
953
954
|
[X.fullWidth]: r
|
|
954
955
|
}
|
|
@@ -963,18 +964,18 @@ function ut(e) {
|
|
|
963
964
|
width: o,
|
|
964
965
|
zIndex: Ne.zindex("max")
|
|
965
966
|
},
|
|
966
|
-
children: n.map((
|
|
967
|
+
children: n.map((u) => /* @__PURE__ */ s(
|
|
967
968
|
et,
|
|
968
969
|
{
|
|
969
|
-
disabled:
|
|
970
|
-
className: fe(X.item, {
|
|
971
|
-
[X.disabled]:
|
|
970
|
+
disabled: u.disabled,
|
|
971
|
+
className: fe(X.item, d, {
|
|
972
|
+
[X.disabled]: u.disabled
|
|
972
973
|
}),
|
|
973
|
-
onSelect: () => u
|
|
974
|
+
onSelect: () => l(u.value),
|
|
974
975
|
style: { width: o },
|
|
975
|
-
children:
|
|
976
|
+
children: u.label
|
|
976
977
|
},
|
|
977
|
-
|
|
978
|
+
u.value
|
|
978
979
|
))
|
|
979
980
|
}
|
|
980
981
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__Input__root__6392b{position:relative;display:inline-flex}.cfxui__Input__root__6392b.cfxui__Input__fullWidth__5a033{width:100%}.cfxui__Input__root__6392b:not(.cfxui__Input__empty__3b36a) .cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus+.cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus-visible+.cfxui__Input__placeholderIcon__4d079{display:none}.cfxui__Input__root__6392b .cfxui__Input__decorator__3b81f{position:absolute;display:flex;align-items:center;gap:var(--offset-normal);bottom:var(--input-border-size, initial);right:var(--offset-small);height:calc(var(--control-height-normal) - var(--input-border-size, initial) * 2)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{position:absolute;left:var(--offset-medium);top:50%;transform:translateY(-50%);color:var(--color-input-placeholder);width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__small__c1513 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__large__92d72 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible::-moz-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__Input__root__6392b.cfxui__Input__onlight__7d0b7 .cfxui__Input__input__07830:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__Input__root__6392b.cfxui__Input__backdropBlur__fdde1 .cfxui__Input__input__07830{--backdrop-color: var(--color-input-background);--over-backdrop-color: var(--backdrop-color, transparent);--over-backdrop-image-blur: var(--backdrop-image-blur, url(data:image/png;base64,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));background-color:var(--over-backdrop-color, initial);background-image:linear-gradient(var(--over-backdrop-color, initial),var(--over-backdrop-color, initial)),linear-gradient(var(--color-backdrop-shader),var(--color-backdrop-shader)),var(--over-backdrop-image-blur, initial),var(--over-backdrop-image-blur, initial);background-blend-mode:normal,normal,overlay;background-size:cover,cover,cover,cover;background-attachment:scroll,scroll,fixed,fixed}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-large__12afb .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizeinitial-small__33905 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-large__e2689 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-small__fc7c7 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-large__d13bf .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizesmall-medium-small__1213b .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large__6a868 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-small__140cd .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-large__9e60d .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizemedium-large-small__b3a78 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-large__b8fe5 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizelarge-small__40920 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-large__1ef2c .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__inputSizexlarge-small__7f6ab .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}
|
|
1
|
+
.cfxui__Input__root__6392b{position:relative;display:inline-flex}.cfxui__Input__root__6392b.cfxui__Input__fullWidth__5a033{width:100%}.cfxui__Input__root__6392b:not(.cfxui__Input__empty__3b36a) .cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus+.cfxui__Input__placeholderIcon__4d079,.cfxui__Input__root__6392b .cfxui__Input__input__07830:focus-visible+.cfxui__Input__placeholderIcon__4d079{display:none}.cfxui__Input__root__6392b .cfxui__Input__decorator__3b81f{position:absolute;display:flex;align-items:center;gap:var(--offset-normal);bottom:var(--input-border-size, initial);right:var(--offset-small);height:calc(var(--control-height-normal) - var(--input-border-size, initial) * 2)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{position:absolute;left:var(--offset-medium);top:50%;transform:translateY(-50%);color:var(--color-input-placeholder);width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xsmall, initial);height:var(--font-size-xsmall, initial)}.cfxui__Input__root__6392b .cfxui__Input__placeholderIcon__4d079{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__Input__root__6392b.cfxui__Input__backdropBlur__fdde1 .cfxui__Input__input__07830{--backdrop-color: var(--color-input-background);--over-backdrop-color: var(--backdrop-color, transparent);--over-backdrop-image-blur: var(--backdrop-image-blur, url(data:image/png;base64,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));background-color:var(--over-backdrop-color, initial);background-image:linear-gradient(var(--over-backdrop-color, initial),var(--over-backdrop-color, initial)),linear-gradient(var(--color-backdrop-shader),var(--color-backdrop-shader)),var(--over-backdrop-image-blur, initial),var(--over-backdrop-image-blur, initial);background-blend-mode:normal,normal,overlay;background-size:cover,cover,cover,cover;background-attachment:scroll,scroll,fixed,fixed}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-large__61eb0 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-initial-small__f4fae .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-large__6e2dd .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 360px){.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-small__d0b97 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-large__ea27c .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 640px){.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-small-medium-small__1272f .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large__5a941 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1024px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-small__11d17 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-large__47a52 .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1280px){.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-medium-large-small__13d07 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-large__70f5f .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 1920px){.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-large-small__3aa81 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-small, initial);height:var(--font-size-small, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-large__2becf .cfxui__Input__decorator__3b81f{height:var(--control-height-large);right:var(--offset-normal)}}@media (min-width: 2560px){.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__placeholderIcon__4d079{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__placeholderIcon__4d079 svg{width:var(--font-size-xxsmall, initial);height:var(--font-size-xxsmall, initial)}.cfxui__Input__root__6392b.cfxui__Input__size-xlarge-small__3bac0 .cfxui__Input__decorator__3b81f{height:var(--control-height-small);right:var(--offset-small)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.cfxui__StyledInput__root__37064{width:100%;padding:0 var(--offset-medium);border:none;flex-grow:1;font-size:var(--font-size-xsmall);height:var(--control-height-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);border-radius:var(--border-radius-small);background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-border) inset}.cfxui__StyledInput__root__37064::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064[type=search]::-ms-clear,.cfxui__StyledInput__root__37064[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__StyledInput__root__37064[type=search]::-webkit-search-decoration,.cfxui__StyledInput__root__37064[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__StyledInput__root__37064[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__StyledInput__root__37064.cfxui__StyledInput__small__0f240{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__large__a3ad2{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.
|
|
1
|
+
.cfxui__StyledInput__root__37064{width:100%;padding:0 var(--offset-medium);border:none;flex-grow:1;font-size:var(--font-size-xsmall);height:var(--control-height-normal);color:var(--color-input-text);font-weight:var(--font-weight-normal);font-family:var(--font-family-primary);border-radius:var(--border-radius-small);background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-border) inset}.cfxui__StyledInput__root__37064::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-disabled-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-hover-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-focus-border) inset}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064::placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-webkit-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064::-moz-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064:-ms-input-placeholder{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064{transition:all .25s ease,outline-offset 0s,outline 0s}.cfxui__StyledInput__root__37064[type=search]::-ms-clear,.cfxui__StyledInput__root__37064[type=search]::-ms-reveal{display:none;width:0;height:0}.cfxui__StyledInput__root__37064[type=search]::-webkit-search-decoration,.cfxui__StyledInput__root__37064[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.cfxui__StyledInput__root__37064[type=search]{padding-right:calc(var(--offset-medium) + var(--offset-large));-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;outline-offset:-2px}.cfxui__StyledInput__root__37064.cfxui__StyledInput__small__0f240{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__large__a3ad2{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f{background-color:var(--color-input-background);box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-webkit-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f::-moz-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:-ms-input-placeholder{color:var(--color-input-placeholder)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:disabled{cursor:not-allowed;opacity:.5;box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-disabled-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-hover-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-webkit-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover::-moz-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):hover:-ms-input-placeholder{color:var(--color-input-placeholder-hover)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover{box-shadow:0 0 0 var(--input-border-size, initial) var(--color-input-onlight-focus-border) inset}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-webkit-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-webkit-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible::-moz-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover::-moz-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:-ms-input-placeholder,.cfxui__StyledInput__root__37064.cfxui__StyledInput__onlight__dcd8f:not(:disabled):focus-visible:hover:-ms-input-placeholder{color:transparent}.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-initial-large__43033{font-size:var(--font-size-small);height:var(--control-height-large)}.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-initial-small__6e9de{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}@media (min-width: 360px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-large__77186{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 360px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-small__968a4{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 640px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-medium-large__96f91{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 640px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-small-medium-small__0a42b{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1024px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large__e552f{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1024px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-small__28227{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1280px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large-large__0c8e8{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1280px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-medium-large-small__35702{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 1920px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-large-large__7dfe8{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 1920px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-large-small__69180{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}@media (min-width: 2560px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-xlarge-large__f4d6e{font-size:var(--font-size-small);height:var(--control-height-large)}}@media (min-width: 2560px){.cfxui__StyledInput__root__37064.cfxui__StyledInput__inputSize-xlarge-small__b60c7{font-size:var(--font-size-xxsmall);height:var(--control-height-small)}}
|
|
@@ -12,6 +12,7 @@ export type DropdownContentOption = DropdownOption<string>;
|
|
|
12
12
|
export interface DropdownContentProps {
|
|
13
13
|
options: DropdownContentOption[];
|
|
14
14
|
className?: string;
|
|
15
|
+
itemClassName?: string;
|
|
15
16
|
triggerWidth?: React.CSSProperties['width'];
|
|
16
17
|
size?: ResponsiveValueType<InputSize>;
|
|
17
18
|
fullWidth?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as f, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { g as W, R as N, T as R, D as v } from "../../DropdownContent-
|
|
2
|
+
import { g as W, R as N, T as R, D as v } from "../../DropdownContent-CLtPVRZg.js";
|
|
3
3
|
import _, { useRef as b, useState as z, useEffect as I } from "react";
|
|
4
4
|
import T from "../Flex/Flex.js";
|
|
5
5
|
import { clsx as j } from "../../utils/clsx.js";
|
|
@@ -1,151 +1,148 @@
|
|
|
1
|
-
import { jsxs as q, jsx as
|
|
1
|
+
import { jsxs as q, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { Icon as H } from "../Icon/Icon.js";
|
|
4
4
|
import J from "../IconButton/IconButton.js";
|
|
5
5
|
import { Indicator as L } from "../Indicator/Indicator.js";
|
|
6
6
|
import O from "../StyledInput/StyledInput.js";
|
|
7
|
-
import { clsx as
|
|
7
|
+
import { clsx as R } from "../../utils/clsx.js";
|
|
8
8
|
import { getValue as P } from "../../utils/getValue.js";
|
|
9
9
|
import { ui as Q } from "../../utils/ui/ui.js";
|
|
10
|
-
const U = "cfxui__Input__root__6392b", Y = "cfxui__Input__fullWidth__5a033", Z = "cfxui__Input__empty__3b36a", ee = "cfxui__Input__placeholderIcon__4d079", le = "cfxui__Input__input__07830",
|
|
10
|
+
const U = "cfxui__Input__root__6392b", Y = "cfxui__Input__fullWidth__5a033", Z = "cfxui__Input__empty__3b36a", ee = "cfxui__Input__placeholderIcon__4d079", le = "cfxui__Input__input__07830", ae = "cfxui__Input__decorator__3b81f", te = "cfxui__Input__backdropBlur__fdde1", l = {
|
|
11
11
|
root: U,
|
|
12
12
|
fullWidth: Y,
|
|
13
13
|
empty: Z,
|
|
14
14
|
placeholderIcon: ee,
|
|
15
15
|
input: le,
|
|
16
|
-
decorator:
|
|
17
|
-
|
|
18
|
-
large:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"inputSizelarge-small": "cfxui__Input__inputSizelarge-small__40920",
|
|
33
|
-
"inputSizexlarge-large": "cfxui__Input__inputSizexlarge-large__1ef2c",
|
|
34
|
-
"inputSizexlarge-small": "cfxui__Input__inputSizexlarge-small__7f6ab"
|
|
16
|
+
decorator: ae,
|
|
17
|
+
backdropBlur: te,
|
|
18
|
+
"size-initial-large": "cfxui__Input__size-initial-large__61eb0",
|
|
19
|
+
"size-initial-small": "cfxui__Input__size-initial-small__f4fae",
|
|
20
|
+
"size-small-large": "cfxui__Input__size-small-large__6e2dd",
|
|
21
|
+
"size-small-small": "cfxui__Input__size-small-small__d0b97",
|
|
22
|
+
"size-small-medium-large": "cfxui__Input__size-small-medium-large__ea27c",
|
|
23
|
+
"size-small-medium-small": "cfxui__Input__size-small-medium-small__1272f",
|
|
24
|
+
"size-medium-large": "cfxui__Input__size-medium-large__5a941",
|
|
25
|
+
"size-medium-small": "cfxui__Input__size-medium-small__11d17",
|
|
26
|
+
"size-medium-large-large": "cfxui__Input__size-medium-large-large__47a52",
|
|
27
|
+
"size-medium-large-small": "cfxui__Input__size-medium-large-small__13d07",
|
|
28
|
+
"size-large-large": "cfxui__Input__size-large-large__70f5f",
|
|
29
|
+
"size-large-small": "cfxui__Input__size-large-small__3aa81",
|
|
30
|
+
"size-xlarge-large": "cfxui__Input__size-xlarge-large__2becf",
|
|
31
|
+
"size-xlarge-small": "cfxui__Input__size-xlarge-small__3bac0"
|
|
35
32
|
};
|
|
36
|
-
function
|
|
33
|
+
function ie(_) {
|
|
37
34
|
const {
|
|
38
|
-
decorator:
|
|
35
|
+
decorator: n,
|
|
39
36
|
loading: m,
|
|
40
|
-
type:
|
|
41
|
-
hasValue:
|
|
42
|
-
onCleare:
|
|
43
|
-
} =
|
|
44
|
-
return m ? /* @__PURE__ */
|
|
37
|
+
type: d,
|
|
38
|
+
hasValue: t,
|
|
39
|
+
onCleare: u
|
|
40
|
+
} = _;
|
|
41
|
+
return m ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(L, {}) }) : n ? /* @__PURE__ */ a("div", { className: l.decorator, children: P(n) }) : d === "search" && t ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(J, { size: "xsmall", areaSize: "large", name: "Close", onClick: u }) }) : null;
|
|
45
42
|
}
|
|
46
|
-
function
|
|
43
|
+
function fe(_) {
|
|
47
44
|
const {
|
|
48
|
-
id:
|
|
45
|
+
id: n,
|
|
49
46
|
name: m,
|
|
50
|
-
fullWidth:
|
|
51
|
-
value:
|
|
52
|
-
defaultValue:
|
|
53
|
-
onChange:
|
|
54
|
-
onSubmit:
|
|
55
|
-
onKeyDown:
|
|
56
|
-
pattern:
|
|
57
|
-
tabIndex:
|
|
58
|
-
loading:
|
|
59
|
-
spellCheck:
|
|
60
|
-
autofocus:
|
|
61
|
-
disabled:
|
|
62
|
-
className:
|
|
47
|
+
fullWidth: d = !1,
|
|
48
|
+
value: t,
|
|
49
|
+
defaultValue: u,
|
|
50
|
+
onChange: f,
|
|
51
|
+
onSubmit: p,
|
|
52
|
+
onKeyDown: I,
|
|
53
|
+
pattern: g,
|
|
54
|
+
tabIndex: w,
|
|
55
|
+
loading: v = !1,
|
|
56
|
+
spellCheck: E = !0,
|
|
57
|
+
autofocus: V = !1,
|
|
58
|
+
disabled: B = !1,
|
|
59
|
+
className: S,
|
|
63
60
|
containerClassName: W,
|
|
64
|
-
placeholder:
|
|
65
|
-
placeholderIcon:
|
|
66
|
-
type:
|
|
67
|
-
size:
|
|
68
|
-
theme:
|
|
61
|
+
placeholder: o = "",
|
|
62
|
+
placeholderIcon: c,
|
|
63
|
+
type: z = "text",
|
|
64
|
+
size: h = "normal",
|
|
65
|
+
theme: b = "default",
|
|
69
66
|
decorator: D,
|
|
70
67
|
backdropBlur: F = !1,
|
|
71
68
|
ref: A
|
|
72
|
-
} =
|
|
73
|
-
let
|
|
74
|
-
if (
|
|
69
|
+
} = _, [x, K] = i.useState(t || u), C = typeof x < "u" && x !== "" && x !== null || typeof t < "u" && t !== "" && t !== null;
|
|
70
|
+
let y, N, k;
|
|
71
|
+
if (_.type === "number") {
|
|
75
72
|
const {
|
|
76
73
|
min: e,
|
|
77
|
-
max:
|
|
74
|
+
max: s,
|
|
78
75
|
step: $
|
|
79
|
-
} =
|
|
80
|
-
|
|
76
|
+
} = _;
|
|
77
|
+
k = $ ?? 1, y = e ?? Number.MIN_SAFE_INTEGER, N = s ?? Number.MAX_SAFE_INTEGER;
|
|
81
78
|
}
|
|
82
|
-
const
|
|
83
|
-
K(e),
|
|
84
|
-
}, [
|
|
79
|
+
const r = i.useCallback((e) => {
|
|
80
|
+
K(e), f && f(e);
|
|
81
|
+
}, [f]), M = i.useCallback(
|
|
85
82
|
(e) => {
|
|
86
83
|
const {
|
|
87
|
-
value:
|
|
84
|
+
value: s
|
|
88
85
|
} = e.target;
|
|
89
|
-
if (
|
|
90
|
-
|
|
86
|
+
if (g) {
|
|
87
|
+
g.test(s) && r(s);
|
|
91
88
|
return;
|
|
92
89
|
}
|
|
93
|
-
|
|
90
|
+
r(s);
|
|
94
91
|
},
|
|
95
|
-
[
|
|
92
|
+
[r, g]
|
|
96
93
|
), j = i.useCallback((e) => {
|
|
97
|
-
|
|
98
|
-
}, [
|
|
99
|
-
|
|
100
|
-
}, [
|
|
94
|
+
I && I(e), p && e.key === "Enter" && p();
|
|
95
|
+
}, [I, p]), G = i.useCallback(() => {
|
|
96
|
+
r("");
|
|
97
|
+
}, [r]), T = R(
|
|
101
98
|
l.root,
|
|
102
|
-
l[
|
|
99
|
+
l[b],
|
|
103
100
|
W,
|
|
104
|
-
Q.getResponsiveFlatClassnames("
|
|
101
|
+
Q.getResponsiveFlatClassnames("size", h).map((e) => l[e]),
|
|
105
102
|
{
|
|
106
|
-
[l.fullWidth]:
|
|
103
|
+
[l.fullWidth]: d,
|
|
107
104
|
[l.backdropBlur]: F,
|
|
108
|
-
[l.empty]: !
|
|
105
|
+
[l.empty]: !C
|
|
109
106
|
}
|
|
110
|
-
), X = i.useMemo(() =>
|
|
107
|
+
), X = i.useMemo(() => o ? c ? ` ${o.trim()}` : o.trim() : "", [o, c]);
|
|
111
108
|
return /* @__PURE__ */ q("div", { className: T, children: [
|
|
112
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ a(
|
|
113
110
|
O,
|
|
114
111
|
{
|
|
115
|
-
size:
|
|
116
|
-
theme:
|
|
117
|
-
id:
|
|
112
|
+
size: h,
|
|
113
|
+
theme: b,
|
|
114
|
+
id: n,
|
|
118
115
|
name: m,
|
|
119
116
|
ref: A,
|
|
120
|
-
type:
|
|
121
|
-
tabIndex:
|
|
122
|
-
className:
|
|
123
|
-
value:
|
|
117
|
+
type: z,
|
|
118
|
+
tabIndex: w,
|
|
119
|
+
className: R(l.input, S),
|
|
120
|
+
value: t,
|
|
124
121
|
placeholder: X,
|
|
125
|
-
disabled:
|
|
122
|
+
disabled: B,
|
|
126
123
|
onChange: M,
|
|
127
124
|
onKeyDown: j,
|
|
128
|
-
spellCheck:
|
|
129
|
-
min:
|
|
130
|
-
max:
|
|
131
|
-
step:
|
|
132
|
-
defaultValue:
|
|
133
|
-
autoFocus:
|
|
125
|
+
spellCheck: E,
|
|
126
|
+
min: y,
|
|
127
|
+
max: N,
|
|
128
|
+
step: k,
|
|
129
|
+
defaultValue: u,
|
|
130
|
+
autoFocus: V
|
|
134
131
|
}
|
|
135
132
|
),
|
|
136
|
-
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
|
|
133
|
+
c && /* @__PURE__ */ a(H, { name: c, className: l.placeholderIcon }),
|
|
134
|
+
/* @__PURE__ */ a(
|
|
135
|
+
ie,
|
|
139
136
|
{
|
|
140
137
|
decorator: D,
|
|
141
|
-
loading:
|
|
142
|
-
type:
|
|
143
|
-
hasValue:
|
|
138
|
+
loading: v,
|
|
139
|
+
type: z,
|
|
140
|
+
hasValue: C,
|
|
144
141
|
onCleare: G
|
|
145
142
|
}
|
|
146
143
|
)
|
|
147
144
|
] });
|
|
148
145
|
}
|
|
149
146
|
export {
|
|
150
|
-
|
|
147
|
+
fe as default
|
|
151
148
|
};
|
|
@@ -6,41 +6,41 @@ const s = "cfxui__StyledInput__root__37064", S = "cfxui__StyledInput__small__0f2
|
|
|
6
6
|
small: S,
|
|
7
7
|
large: r,
|
|
8
8
|
onlight: d,
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
9
|
+
"inputSize-initial-large": "cfxui__StyledInput__inputSize-initial-large__43033",
|
|
10
|
+
"inputSize-initial-small": "cfxui__StyledInput__inputSize-initial-small__6e9de",
|
|
11
|
+
"inputSize-small-large": "cfxui__StyledInput__inputSize-small-large__77186",
|
|
12
|
+
"inputSize-small-small": "cfxui__StyledInput__inputSize-small-small__968a4",
|
|
13
|
+
"inputSize-small-medium-large": "cfxui__StyledInput__inputSize-small-medium-large__96f91",
|
|
14
|
+
"inputSize-small-medium-small": "cfxui__StyledInput__inputSize-small-medium-small__0a42b",
|
|
15
|
+
"inputSize-medium-large": "cfxui__StyledInput__inputSize-medium-large__e552f",
|
|
16
|
+
"inputSize-medium-small": "cfxui__StyledInput__inputSize-medium-small__28227",
|
|
17
|
+
"inputSize-medium-large-large": "cfxui__StyledInput__inputSize-medium-large-large__0c8e8",
|
|
18
|
+
"inputSize-medium-large-small": "cfxui__StyledInput__inputSize-medium-large-small__35702",
|
|
19
|
+
"inputSize-large-large": "cfxui__StyledInput__inputSize-large-large__7dfe8",
|
|
20
|
+
"inputSize-large-small": "cfxui__StyledInput__inputSize-large-small__69180",
|
|
21
|
+
"inputSize-xlarge-large": "cfxui__StyledInput__inputSize-xlarge-large__f4d6e",
|
|
22
|
+
"inputSize-xlarge-small": "cfxui__StyledInput__inputSize-xlarge-small__b60c7"
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function z(i) {
|
|
25
25
|
const {
|
|
26
|
-
className:
|
|
26
|
+
className: e,
|
|
27
27
|
size: _ = "normal",
|
|
28
28
|
theme: t = "default",
|
|
29
29
|
...u
|
|
30
|
-
} =
|
|
30
|
+
} = i;
|
|
31
31
|
return /* @__PURE__ */ n(
|
|
32
32
|
"input",
|
|
33
33
|
{
|
|
34
34
|
className: m(
|
|
35
|
-
|
|
35
|
+
e,
|
|
36
36
|
l.root,
|
|
37
37
|
l[t],
|
|
38
|
-
p.getResponsiveFlatClassnames("
|
|
38
|
+
p.getResponsiveFlatClassnames("inputSize", _).map((a) => l[a])
|
|
39
39
|
),
|
|
40
40
|
...u
|
|
41
41
|
}
|
|
42
42
|
);
|
|
43
43
|
}
|
|
44
44
|
export {
|
|
45
|
-
|
|
45
|
+
z as default
|
|
46
46
|
};
|