@alixpartners/ui-components 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ToastProvider-D5LImZ-Q.js +1136 -0
- package/dist/assets/Creatable.css +1 -1
- package/dist/assets/Dialog.css +1 -1
- package/dist/assets/Dropdown.css +1 -1
- package/dist/assets/FilePicker.css +1 -1
- package/dist/assets/NavBar.css +1 -1
- package/dist/assets/SplitButton.css +1 -1
- package/dist/assets/TagsFields.css +1 -1
- package/dist/assets/Tooltip.css +1 -1
- package/dist/components/Banner/Banner.test.js +1 -1
- package/dist/components/Button/Button.test.js +124 -3217
- package/dist/components/Checkbox/Checkbox.js +7 -6
- package/dist/components/Checkbox/Checkbox.test.js +47 -47
- package/dist/components/Creatable/Creatable.js +107 -108
- package/dist/components/Dialog/Dialog.d.ts +21 -7
- package/dist/components/Dialog/Dialog.js +296 -61
- package/dist/components/Dialog/Dialog.test.d.ts +1 -0
- package/dist/components/Dialog/Dialog.test.js +368 -0
- package/dist/components/Dropdown/Dropdown.js +78 -79
- package/dist/components/FilePicker/FilePicker.js +6 -6
- package/dist/components/FilePicker/FilePicker.test.js +1 -1
- package/dist/components/Ghost/Ghost.test.js +6 -6
- package/dist/components/Input/Input.test.js +2 -2
- package/dist/components/NavBar/NavBar.js +16 -16
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.test.js +1 -1
- package/dist/components/Search/Search.test.js +1 -1
- package/dist/components/SplitButton/SplitButton.js +8 -9
- package/dist/components/SplitButton/SplitButton.test.js +1 -1
- package/dist/components/Tag/Tag.test.js +1 -1
- package/dist/components/TagsFields/TagsFields.js +3 -4
- package/dist/components/Textarea/Textarea.test.js +2 -2
- package/dist/components/Toast/Toast.d.ts +5 -19
- package/dist/components/Toast/Toast.js +65 -62
- package/dist/components/Toast/Toast.test.js +47 -30
- package/dist/components/ToastProvider/ToastContext.d.ts +11 -0
- package/dist/components/ToastProvider/ToastProvider.d.ts +19 -0
- package/dist/components/ToastProvider/ToastProvider.js +7 -0
- package/dist/components/ToastProvider/ToastProvider.test.d.ts +1 -0
- package/dist/components/ToastProvider/ToastProvider.test.js +264 -0
- package/dist/components/ToastProvider/types.d.ts +54 -0
- package/dist/components/ToastProvider/useToast.d.ts +28 -0
- package/dist/components/Toggle/Toggle.js +31 -30
- package/dist/components/Toggle/Toggle.test.js +9 -9
- package/dist/components/Tooltip/Tooltip.js +20 -19
- package/dist/{index-2H7slGYV.js → index-7CBv-Jx6.js} +1 -1
- package/dist/{index-DpfPnSMn.js → index-BymOxiM6.js} +2 -2
- package/dist/index-C-3_YVJ1.js +1539 -0
- package/dist/{index-BKtdMA_j.js → index-C4ffg1vf.js} +24 -23
- package/dist/{index-BGZDIjm9.js → index-Chv2KjIL.js} +171 -168
- package/dist/{index-BJXIvJs4.js → index-CpsmI33B.js} +24 -23
- package/dist/index-CxAtPSMM.js +27 -0
- package/dist/{index-CjQV7MmW.js → index-DEphED6n.js} +11 -11
- package/dist/index-DM51yNMI.js +237 -0
- package/dist/{index-CVWHq7Pr.js → index-D_3jWVyV.js} +37 -36
- package/dist/index-DkTDHhag.js +3098 -0
- package/dist/index-DrR82jOT.js +142 -0
- package/dist/magic-string.es-uPKorP4O.js +663 -0
- package/dist/main.d.ts +5 -0
- package/dist/main.js +48 -42
- package/dist/useToast-Cz5MGKnw.js +11 -0
- package/dist/{vi.ClIskdbk-CFW_9sOK.js → vi.bdSIJ99Y-017e_Pkz.js} +9494 -10227
- package/package.json +6 -3
- package/dist/index-DWydnyjJ.js +0 -245
- package/dist/index-DieLVN0p.js +0 -1664
- package/dist/magic-string.es-D4UQQyt0.js +0 -859
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
import { jsxs as s, jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
2
|
+
import { c as h } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { useState as b, useRef as T, useEffect as v, useCallback as oe } from "react";
|
|
4
4
|
import B from "../Icon/Icon.js";
|
|
5
|
-
import
|
|
5
|
+
import Ce from "../Toggle/Toggle.js";
|
|
6
6
|
import ne from "../Button/Button.js";
|
|
7
7
|
import re from "../Ghost/Ghost.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
dropdownLabel: Ge,
|
|
8
|
+
import Me from "../Search/Search.js";
|
|
9
|
+
import Se from "../Tooltip/Tooltip.js";
|
|
10
|
+
import { R as Ve, T as Re, P as Ee, C as Fe } from "../../index-C4ffg1vf.js";
|
|
11
|
+
import '../../assets/Dropdown.css';const We = "Dropdown-module__dropdownContainer___beNhQ", qe = "Dropdown-module__dropdownLabel___T9FmB", Je = "Dropdown-module__dropdownLabelDisabled___SLRmM", ze = "Dropdown-module__required___ChI1m", Ge = "Dropdown-module__dropdownWrapper___AUuWD", Be = "Dropdown-module__dropdownTrigger___Rue93", Ue = "Dropdown-module__dropdownTriggerDisabled___63wkd", je = "Dropdown-module__dropdownTriggerOpen___cbm8V", Pe = "Dropdown-module__placeholder___fWdch", Ye = "Dropdown-module__selectedOptionLabel___7Zdh3", $e = "Dropdown-module__dropdownSelectedItems___iXnpQ", Ze = "Dropdown-module__dropdownTriggerError___Uu02x", Qe = "Dropdown-module__dropdownContent___zLMhL", Ke = "Dropdown-module__dropdownActions___d55Fa", Xe = "Dropdown-module__dropdownArrow___dLbrb", He = "Dropdown-module__dropdownArrowOpen___Z4Nh1", eo = "Dropdown-module__dropdownMenu___toYcy", oo = "Dropdown-module__dropdownMenuToolbar___gFne0", no = "Dropdown-module__searchContainer___4kUvD", ro = "Dropdown-module__search___JmgDx", to = "Dropdown-module__optionsList___rk2hi", lo = "Dropdown-module__categoryGroup___Np2bP", so = "Dropdown-module__categoryDivider___Gh6F0", io = "Dropdown-module__categoryLabel___B9IDR", co = "Dropdown-module__optionItem___7pi10", ao = "Dropdown-module__optionItemDisabled___aepUD", po = "Dropdown-module__optionItemFocused___u2781", _o = "Dropdown-module__optionContent___nf1VC", uo = "Dropdown-module__optionLabel___sJerM", mo = "Dropdown-module__tickIcon___hYdCr", wo = "Dropdown-module__noOptions___8vmhM", fo = "Dropdown-module__helpers___s4ulA", ho = "Dropdown-module__helpText___YooJE", Do = "Dropdown-module__helpTextDisabled___Ct4qq", bo = "Dropdown-module__helpLink___-Zwpq", go = "Dropdown-module__helpLinkDisabled___r-opC", No = "Dropdown-module__errorMessage___3Mopi", vo = "Dropdown-module__selectAllContainer___Dlk3J", Lo = "Dropdown-module__actionButtons___-2nvr", o = {
|
|
12
|
+
dropdownContainer: We,
|
|
13
|
+
dropdownLabel: qe,
|
|
15
14
|
"label-text": "Dropdown-module__label-text___VEqG-",
|
|
16
|
-
dropdownLabelDisabled:
|
|
15
|
+
dropdownLabelDisabled: Je,
|
|
17
16
|
"label-tooltip-icon": "Dropdown-module__label-tooltip-icon___JYVOm",
|
|
18
|
-
required:
|
|
19
|
-
dropdownWrapper:
|
|
17
|
+
required: ze,
|
|
18
|
+
dropdownWrapper: Ge,
|
|
20
19
|
"dropdown-menu-trigger": "Dropdown-module__dropdown-menu-trigger___fgqVT",
|
|
21
|
-
dropdownTrigger:
|
|
22
|
-
dropdownTriggerDisabled:
|
|
23
|
-
dropdownTriggerOpen:
|
|
20
|
+
dropdownTrigger: Be,
|
|
21
|
+
dropdownTriggerDisabled: Ue,
|
|
22
|
+
dropdownTriggerOpen: je,
|
|
23
|
+
placeholder: Pe,
|
|
24
|
+
selectedOptionLabel: Ye,
|
|
25
|
+
dropdownSelectedItems: $e,
|
|
24
26
|
dropdownTriggerError: Ze,
|
|
25
27
|
dropdownContent: Qe,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
dropdownArrow: oo,
|
|
31
|
-
dropdownArrowOpen: no,
|
|
32
|
-
dropdownMenu: ro,
|
|
28
|
+
dropdownActions: Ke,
|
|
29
|
+
dropdownArrow: Xe,
|
|
30
|
+
dropdownArrowOpen: He,
|
|
31
|
+
dropdownMenu: eo,
|
|
33
32
|
"dropdown-container-grouped": "Dropdown-module__dropdown-container-grouped___1twhU",
|
|
34
33
|
"dropdown-container-multi-select": "Dropdown-module__dropdown-container-multi-select___zdaum",
|
|
35
|
-
dropdownMenuToolbar:
|
|
36
|
-
searchContainer:
|
|
37
|
-
search:
|
|
38
|
-
optionsList:
|
|
39
|
-
categoryGroup:
|
|
40
|
-
categoryDivider:
|
|
41
|
-
categoryLabel:
|
|
42
|
-
optionItem:
|
|
43
|
-
optionItemDisabled:
|
|
44
|
-
optionItemFocused:
|
|
45
|
-
optionContent:
|
|
46
|
-
optionLabel:
|
|
47
|
-
tickIcon:
|
|
48
|
-
noOptions:
|
|
49
|
-
helpers:
|
|
50
|
-
helpText:
|
|
51
|
-
helpTextDisabled:
|
|
52
|
-
helpLink:
|
|
53
|
-
helpLinkDisabled:
|
|
54
|
-
errorMessage:
|
|
55
|
-
selectAllContainer:
|
|
56
|
-
actionButtons:
|
|
34
|
+
dropdownMenuToolbar: oo,
|
|
35
|
+
searchContainer: no,
|
|
36
|
+
search: ro,
|
|
37
|
+
optionsList: to,
|
|
38
|
+
categoryGroup: lo,
|
|
39
|
+
categoryDivider: so,
|
|
40
|
+
categoryLabel: io,
|
|
41
|
+
optionItem: co,
|
|
42
|
+
optionItemDisabled: ao,
|
|
43
|
+
optionItemFocused: po,
|
|
44
|
+
optionContent: _o,
|
|
45
|
+
optionLabel: uo,
|
|
46
|
+
tickIcon: mo,
|
|
47
|
+
noOptions: wo,
|
|
48
|
+
helpers: fo,
|
|
49
|
+
helpText: ho,
|
|
50
|
+
helpTextDisabled: Do,
|
|
51
|
+
helpLink: bo,
|
|
52
|
+
helpLinkDisabled: go,
|
|
53
|
+
errorMessage: No,
|
|
54
|
+
selectAllContainer: vo,
|
|
55
|
+
actionButtons: Lo
|
|
57
56
|
};
|
|
58
|
-
function
|
|
57
|
+
function Vo({
|
|
59
58
|
className: de,
|
|
60
59
|
label: E,
|
|
61
60
|
options: F,
|
|
@@ -79,7 +78,7 @@ function Wo({
|
|
|
79
78
|
dropdownTriggerClassName: ce,
|
|
80
79
|
dropdownMenuClassName: ae,
|
|
81
80
|
hideSelectedItems: pe = !1,
|
|
82
|
-
labelTooltip:
|
|
81
|
+
labelTooltip: D,
|
|
83
82
|
unselect: S = !1,
|
|
84
83
|
selectedOptionLabel: _e = "option selected",
|
|
85
84
|
selectedOptionsLabel: ue = "options selected",
|
|
@@ -87,13 +86,13 @@ function Wo({
|
|
|
87
86
|
caseSensitive: P = !1,
|
|
88
87
|
...me
|
|
89
88
|
}) {
|
|
90
|
-
const
|
|
89
|
+
const [i, g] = b(p), [l, f] = b(!1), [Y, _] = b(""), [I, c] = b(-1), [w, u] = b([]), $ = T(null), Z = T(null), we = T(null), z = T(null), [Q, fe] = b(0), [he, De] = b(p.length > 0 ? p.join(", ") : A ?? ""), K = T(p);
|
|
91
90
|
v(() => {
|
|
92
91
|
JSON.stringify(K.current) !== JSON.stringify(p) && (g(p), K.current = p);
|
|
93
92
|
}, [p]), v(() => {
|
|
94
93
|
var r;
|
|
95
94
|
const e = (r = Z.current) == null ? void 0 : r.getBoundingClientRect().width;
|
|
96
|
-
e &&
|
|
95
|
+
e && fe(e);
|
|
97
96
|
}, [l]), v(() => {
|
|
98
97
|
l && u([...i]);
|
|
99
98
|
}, [l, i]);
|
|
@@ -102,11 +101,11 @@ function Wo({
|
|
|
102
101
|
return r.includes(n);
|
|
103
102
|
});
|
|
104
103
|
v(() => {
|
|
105
|
-
|
|
104
|
+
De(p.length > 0 ? p.join(", ") : A ?? "");
|
|
106
105
|
}, [p, A]), v(() => {
|
|
107
106
|
l && x && z.current && z.current.focus();
|
|
108
107
|
}, [l, x]);
|
|
109
|
-
const
|
|
108
|
+
const be = (e) => {
|
|
110
109
|
f(e), e ? (u([...i]), _(""), c(-1)) : (_(""), c(-1), u([]));
|
|
111
110
|
}, G = oe((e) => {
|
|
112
111
|
if (e.disabled) return;
|
|
@@ -125,13 +124,13 @@ function Wo({
|
|
|
125
124
|
return;
|
|
126
125
|
}
|
|
127
126
|
u(r);
|
|
128
|
-
}, [m, t, w, i, S]),
|
|
127
|
+
}, [m, t, w, i, S]), ge = () => {
|
|
129
128
|
g(w), t == null || t(w), f(!1), _(""), c(-1), u([]);
|
|
130
|
-
},
|
|
129
|
+
}, Ne = () => {
|
|
131
130
|
f(!1), _(""), c(-1), u([]);
|
|
132
|
-
},
|
|
131
|
+
}, ve = (e) => {
|
|
133
132
|
_(e), c(-1), J == null || J(e);
|
|
134
|
-
},
|
|
133
|
+
}, Le = oe((e) => {
|
|
135
134
|
var r;
|
|
136
135
|
if (!e.disabled) {
|
|
137
136
|
if (m) {
|
|
@@ -146,9 +145,9 @@ function Wo({
|
|
|
146
145
|
const n = [e.value];
|
|
147
146
|
g(n), t == null || t(n), f(!1), _(""), c(-1);
|
|
148
147
|
}
|
|
149
|
-
(r =
|
|
148
|
+
(r = we.current) == null || r.focus();
|
|
150
149
|
}
|
|
151
|
-
}, [m, t, i, S]),
|
|
150
|
+
}, [m, t, i, S]), Oe = (e) => {
|
|
152
151
|
M == null || M(e);
|
|
153
152
|
};
|
|
154
153
|
v(() => {
|
|
@@ -173,31 +172,31 @@ function Wo({
|
|
|
173
172
|
}
|
|
174
173
|
};
|
|
175
174
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
176
|
-
}, [l, I, a,
|
|
177
|
-
const V = l ? w : i, y = F.filter((e) => V.includes(e.value)),
|
|
175
|
+
}, [l, I, a, Le, G]);
|
|
176
|
+
const V = l ? w : i, y = F.filter((e) => V.includes(e.value)), Ie = !!O, ye = JSON.stringify(w) !== JSON.stringify(i), H = F.filter((e) => !e.disabled), ke = H.length > 0 && H.every((e) => V.includes(e.value)), Te = a.reduce((e, r) => {
|
|
178
177
|
const n = r.category || "default";
|
|
179
178
|
return e[n] || (e[n] = []), e[n].push(r), e;
|
|
180
|
-
}, {}),
|
|
179
|
+
}, {}), Ae = a, {
|
|
181
180
|
onBlur: N,
|
|
182
181
|
...ee
|
|
183
182
|
} = me;
|
|
184
|
-
return /* @__PURE__ */ s("div", { ref: $, className:
|
|
185
|
-
E && /* @__PURE__ */ s("label", { className:
|
|
183
|
+
return /* @__PURE__ */ s("div", { ref: $, className: h(o.root, o.dropdownContainer, se && o["dropdown-container-grouped"], m && o["dropdown-container-multi-select"], de), ...ee, children: [
|
|
184
|
+
E && /* @__PURE__ */ s("label", { className: h(o.dropdownLabel, L && o.dropdownLabelDisabled), children: [
|
|
186
185
|
/* @__PURE__ */ d("span", { title: E, className: o["label-text"], children: E }),
|
|
187
186
|
te && /* @__PURE__ */ d("span", { className: o.required, children: "*" }),
|
|
188
|
-
|
|
187
|
+
D && /* @__PURE__ */ d(Se, { content: D.content, size: D.size, theme: D.theme, tipSide: D.tipSide, tipAlignment: D.tipAlignment, startVisible: D.startVisible, children: /* @__PURE__ */ d(B, { icon: "ap-icon-info", className: o["label-tooltip-icon"] }) })
|
|
189
188
|
] }),
|
|
190
|
-
/* @__PURE__ */ d(
|
|
191
|
-
/* @__PURE__ */ d(
|
|
189
|
+
/* @__PURE__ */ d(Ve, { open: l, onOpenChange: be, children: /* @__PURE__ */ s("div", { className: o.dropdownWrapper, children: [
|
|
190
|
+
/* @__PURE__ */ d(Re, { disabled: L, className: h(o["dropdown-menu-trigger"], o.dropdownTrigger, ce, l && o.dropdownTriggerOpen, L && o.dropdownTriggerDisabled, Ie && o.dropdownTriggerError), ref: Z, onBlur: (e) => {
|
|
192
191
|
l || N == null || N(e);
|
|
193
192
|
}, ...ee, children: /* @__PURE__ */ s("div", { className: o.dropdownContent, children: [
|
|
194
|
-
!pe && /* @__PURE__ */ d("div", { className: o.dropdownSelectedItems, children: y.length > 0 ? m ?
|
|
193
|
+
!pe && /* @__PURE__ */ d("div", { className: o.dropdownSelectedItems, children: y.length > 0 ? m ? ke && j ? j : y.length === 1 ? ` ${y.length} ${_e}` : ` ${y.length} ${ue}` : (
|
|
195
194
|
// For single select, show the selected option label
|
|
196
195
|
/* @__PURE__ */ d("span", { className: o.selectedOptionLabel, children: y[0].label })
|
|
197
196
|
) : /* @__PURE__ */ d("span", { title: he, className: o.placeholder, children: A }) }),
|
|
198
|
-
/* @__PURE__ */ d("div", { className: o.dropdownActions, children: /* @__PURE__ */ d(B, { icon: "ap-icon-expand-more", className:
|
|
197
|
+
/* @__PURE__ */ d("div", { className: o.dropdownActions, children: /* @__PURE__ */ d(B, { icon: "ap-icon-expand-more", className: h(o.dropdownArrow, l && o.dropdownArrowOpen) }) })
|
|
199
198
|
] }) }),
|
|
200
|
-
/* @__PURE__ */ d(
|
|
199
|
+
/* @__PURE__ */ d(Ee, { children: /* @__PURE__ */ d(Fe, { align: U === "right" ? "end" : "start", side: "bottom", avoidCollisions: !0, sideOffset: 6, collisionPadding: 8, style: {
|
|
201
200
|
minWidth: Q,
|
|
202
201
|
zIndex: 9999
|
|
203
202
|
}, onInteractOutside: (e) => {
|
|
@@ -205,11 +204,11 @@ function Wo({
|
|
|
205
204
|
e.target === z.current && e.preventDefault(), ((n = $.current) == null ? void 0 : n.contains(e.target)) || N == null || N(e);
|
|
206
205
|
}, children: l && /* @__PURE__ */ s("div", { style: {
|
|
207
206
|
minWidth: Q
|
|
208
|
-
}, className:
|
|
207
|
+
}, className: h(o.dropdownMenu, ae, U === "right" && o.dropdownMenuRight), children: [
|
|
209
208
|
(x || m) && /* @__PURE__ */ s("div", { className: o.dropdownMenuToolbar, children: [
|
|
210
209
|
x && /* @__PURE__ */ s("div", { className: o.searchContainer, children: [
|
|
211
|
-
/* @__PURE__ */ d(
|
|
212
|
-
M && /* @__PURE__ */ d(
|
|
210
|
+
/* @__PURE__ */ d(Me, { placeholder: le, value: Y, onChange: ve, className: o.search }),
|
|
211
|
+
M && /* @__PURE__ */ d(Ce, { label: ie, onChange: Oe })
|
|
213
212
|
] }),
|
|
214
213
|
m && /* @__PURE__ */ s("div", { className: o.selectAllContainer, children: [
|
|
215
214
|
/* @__PURE__ */ d(re, { variant: "default", noIcon: !0, onClick: () => {
|
|
@@ -220,11 +219,11 @@ function Wo({
|
|
|
220
219
|
] })
|
|
221
220
|
] }),
|
|
222
221
|
/* @__PURE__ */ s("div", { className: o.optionsList, "data-dropdown-options-list": !0, children: [
|
|
223
|
-
a.length > 0 ? Object.entries(
|
|
222
|
+
a.length > 0 ? Object.entries(Te).map(([e, r]) => /* @__PURE__ */ s("div", { className: o.categoryGroup, children: [
|
|
224
223
|
e !== "default" && /* @__PURE__ */ d("div", { className: o.categoryDivider, children: /* @__PURE__ */ d("span", { className: o.categoryLabel, children: e }) }),
|
|
225
224
|
r.map((n) => {
|
|
226
|
-
const R =
|
|
227
|
-
return /* @__PURE__ */ d("button", { title: (k == null ? void 0 : k.label) || n.label, type: "button", className:
|
|
225
|
+
const R = Ae.indexOf(n), k = a.find((xe) => xe.value === n.value);
|
|
226
|
+
return /* @__PURE__ */ d("button", { title: (k == null ? void 0 : k.label) || n.label, type: "button", className: h(o.optionItem, V.includes(n.value) && o.optionItemSelected, n.disabled && o.optionItemDisabled, R === I && o.optionItemFocused), onClick: () => G(n), disabled: n.disabled, "data-dropdown-option-item": !0, children: /* @__PURE__ */ s("div", { className: o.optionContent, children: [
|
|
228
227
|
/* @__PURE__ */ d("span", { className: o.optionLabel, children: n.label }),
|
|
229
228
|
V.includes(n.value) && /* @__PURE__ */ d(B, { icon: "ap-icon-check", className: o.tickIcon })
|
|
230
229
|
] }) }, n.value);
|
|
@@ -234,17 +233,17 @@ function Wo({
|
|
|
234
233
|
] }),
|
|
235
234
|
" ",
|
|
236
235
|
m && /* @__PURE__ */ s("div", { className: o.actionButtons, children: [
|
|
237
|
-
/* @__PURE__ */ d(ne, { type: "primary", variant: "cancel", size: "md", onClick:
|
|
238
|
-
/* @__PURE__ */ d(ne, { type: "primary", variant: "default", size: "md", onClick:
|
|
236
|
+
/* @__PURE__ */ d(ne, { type: "primary", variant: "cancel", size: "md", onClick: Ne, children: "Cancel" }),
|
|
237
|
+
/* @__PURE__ */ d(ne, { type: "primary", variant: "default", size: "md", onClick: ge, disabled: !ye, children: "Apply" })
|
|
239
238
|
] })
|
|
240
239
|
] }) }) })
|
|
241
240
|
] }) }),
|
|
242
241
|
(O || C || W && q) && /* @__PURE__ */ s("div", { className: o.helpers, children: [
|
|
243
|
-
O ? /* @__PURE__ */ d("span", { title: O, className: o.errorMessage, children: O }) : C && /* @__PURE__ */ d("span", { title: C, className:
|
|
244
|
-
W && q && /* @__PURE__ */ d("a", { href: W, className:
|
|
242
|
+
O ? /* @__PURE__ */ d("span", { title: O, className: o.errorMessage, children: O }) : C && /* @__PURE__ */ d("span", { title: C, className: h(o.helpText, L && o.helpTextDisabled), children: C }),
|
|
243
|
+
W && q && /* @__PURE__ */ d("a", { href: W, className: h(o.helpLink, L && o.helpLinkDisabled), target: "_blank", rel: "noopener noreferrer", children: q })
|
|
245
244
|
] })
|
|
246
245
|
] });
|
|
247
246
|
}
|
|
248
247
|
export {
|
|
249
|
-
|
|
248
|
+
Vo as default
|
|
250
249
|
};
|
|
@@ -54,7 +54,7 @@ function Me({
|
|
|
54
54
|
helpLinkText: x,
|
|
55
55
|
labelTooltip: r
|
|
56
56
|
}) {
|
|
57
|
-
var
|
|
57
|
+
var R, w;
|
|
58
58
|
const v = J(), k = Y(null), [l, d] = M(F ? F.map((i) => ({
|
|
59
59
|
file: i
|
|
60
60
|
})) : []), [D, E] = M(!1);
|
|
@@ -68,9 +68,9 @@ function Me({
|
|
|
68
68
|
}, B = (i) => {
|
|
69
69
|
const a = l.length + i.length > _;
|
|
70
70
|
E(a);
|
|
71
|
-
const f = u ? u * 1024 * 1024 : Number.POSITIVE_INFINITY,
|
|
71
|
+
const f = u ? u * 1024 * 1024 : Number.POSITIVE_INFINITY, y = new Set(h.map((p) => p.toLowerCase().replace(/^\./, "")));
|
|
72
72
|
return i.map((p) => {
|
|
73
|
-
const U = p.size <= f, X =
|
|
73
|
+
const U = p.size <= f, X = y.size === 0 || y.has(V(p));
|
|
74
74
|
let N;
|
|
75
75
|
const A = u ? `up to ${u}MB` : "";
|
|
76
76
|
return U || (N = `File size is too large. Must be ${A}.`), X || (N = `The file format is incorrect. Please make sure it is one of the extensions: ${T}.`), {
|
|
@@ -123,10 +123,10 @@ function Me({
|
|
|
123
123
|
" files)"
|
|
124
124
|
] }) }),
|
|
125
125
|
/* @__PURE__ */ n("div", { className: e.helpers, children: [
|
|
126
|
-
m || D || (
|
|
127
|
-
c === "single" && (m || ((
|
|
126
|
+
m || D || (R = l[0]) != null && R.error ? /* @__PURE__ */ n("span", { title: m, className: e.errorMessage, children: [
|
|
127
|
+
c === "single" && (m || ((w = l[0]) == null ? void 0 : w.error)),
|
|
128
128
|
c === "multiple" && (m || (D ? `You can only upload up to ${_} files.` : ""))
|
|
129
|
-
] }) : L && /* @__PURE__ */ t("span", { title: L, className: e.helperText, children: L }),
|
|
129
|
+
] }) : L && c === "single" && /* @__PURE__ */ t("span", { title: L, className: e.helperText, children: L }),
|
|
130
130
|
c === "single" && P && x && /* @__PURE__ */ n("span", { className: e.singleFileHelpLinkContainer, children: [
|
|
131
131
|
/* @__PURE__ */ t("a", { href: P, className: e.helpLink, target: "_blank", rel: "noopener noreferrer", tabIndex: s ? -1 : 0, children: x }),
|
|
132
132
|
/* @__PURE__ */ t("span", { className: e.singleFileHelpLinkReservedSpace })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import l from "./FilePicker.js";
|
|
3
|
-
import { d as i, i as r, r as t, g as o } from "../../vi.
|
|
3
|
+
import { d as i, i as r, r as t, g as o } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
4
4
|
i("FilePicker", () => {
|
|
5
5
|
r("should render", () => {
|
|
6
6
|
t(/* @__PURE__ */ e(l, { type: "single", fileExtensionsAllowed: ["xlsx"], maxSize: 1, maxFiles: 10, label: "Label", required: !0, placeholder: "Select a file", helpText: "Help text", helpLink: "https://example.com", helpLinkText: "Help link" })), o(!0).toBe(!0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as i, i as s, r as a, g as e, s as n, v as
|
|
2
|
+
import { d as i, i as s, r as a, g as e, s as n, v as r, f as u } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import d from "./Ghost.js";
|
|
4
4
|
i("Ghost", () => {
|
|
5
5
|
i("Rendering", () => {
|
|
@@ -82,17 +82,17 @@ i("Ghost", () => {
|
|
|
82
82
|
});
|
|
83
83
|
}), i("User Interactions", () => {
|
|
84
84
|
s("should call onClick when clicked", () => {
|
|
85
|
-
const t =
|
|
85
|
+
const t = r.fn();
|
|
86
86
|
a(/* @__PURE__ */ o(d, { variant: "default", onClick: t, children: "Test button" }));
|
|
87
87
|
const l = n.getByTestId("ghost-button");
|
|
88
88
|
u.click(l), e(t).toHaveBeenCalledTimes(1);
|
|
89
89
|
}), s("should not call onClick when disabled", () => {
|
|
90
|
-
const t =
|
|
90
|
+
const t = r.fn();
|
|
91
91
|
a(/* @__PURE__ */ o(d, { variant: "default", disabled: !0, onClick: t, children: "Test button" }));
|
|
92
92
|
const l = n.getByTestId("ghost-button");
|
|
93
93
|
u.click(l), e(t).not.toHaveBeenCalled();
|
|
94
94
|
}), s("should handle keyboard interactions", () => {
|
|
95
|
-
const t =
|
|
95
|
+
const t = r.fn();
|
|
96
96
|
a(/* @__PURE__ */ o(d, { variant: "default", onClick: t, children: "Test button" }));
|
|
97
97
|
const l = n.getByTestId("ghost-button");
|
|
98
98
|
u.keyDown(l, {
|
|
@@ -101,7 +101,7 @@ i("Ghost", () => {
|
|
|
101
101
|
key: " "
|
|
102
102
|
}), e(t).toHaveBeenCalledTimes(2);
|
|
103
103
|
}), s("should not handle keyboard interactions when disabled", () => {
|
|
104
|
-
const t =
|
|
104
|
+
const t = r.fn();
|
|
105
105
|
a(/* @__PURE__ */ o(d, { variant: "default", disabled: !0, onClick: t, children: "Test button" }));
|
|
106
106
|
const l = n.getByTestId("ghost-button");
|
|
107
107
|
u.keyDown(l, {
|
|
@@ -122,7 +122,7 @@ i("Ghost", () => {
|
|
|
122
122
|
}), s("should not be focusable when disabled", () => {
|
|
123
123
|
a(/* @__PURE__ */ o(d, { variant: "default", disabled: !0, children: "Test button" }));
|
|
124
124
|
const t = n.getByTestId("ghost-button");
|
|
125
|
-
|
|
125
|
+
e(t).toBeDisabled();
|
|
126
126
|
}), s("should have proper disabled attribute when disabled", () => {
|
|
127
127
|
a(/* @__PURE__ */ o(d, { variant: "default", disabled: !0, children: "Test button" }));
|
|
128
128
|
const t = n.getByTestId("ghost-button");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { d as a, i as s, r as l, g as e, s as n, v as p, f as u } from "../../vi.
|
|
2
|
+
import { d as a, i as s, r as l, g as e, s as n, v as p, f as u } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import o from "./Input.js";
|
|
4
4
|
a("Input", () => {
|
|
5
5
|
a("Rendering", () => {
|
|
@@ -258,7 +258,7 @@ a("Input", () => {
|
|
|
258
258
|
}), s("should not be focusable when disabled", () => {
|
|
259
259
|
l(/* @__PURE__ */ i(o, { label: "Test input", type: "text", disabled: !0 }));
|
|
260
260
|
const t = n.getByTestId("input-field");
|
|
261
|
-
|
|
261
|
+
e(t).toBeDisabled();
|
|
262
262
|
});
|
|
263
263
|
}), a("Screen reader support", () => {
|
|
264
264
|
s("should have proper label text for screen readers", () => {
|
|
@@ -5,14 +5,14 @@ import { c as G } from "../../clsx-OuTLNxxd.js";
|
|
|
5
5
|
import re from "../Logo/Logo.js";
|
|
6
6
|
import * as s from "react";
|
|
7
7
|
import { useState as S } from "react";
|
|
8
|
-
import { u as ne,
|
|
9
|
-
import { u as ue,
|
|
10
|
-
import { u as K } from "../../index-
|
|
11
|
-
import {
|
|
12
|
-
import '../../assets/NavBar.css';var x = "Menubar", [L, xe, Se] =
|
|
8
|
+
import { u as ne, R as oe, I as te, c as H, a as ie } from "../../index-DEphED6n.js";
|
|
9
|
+
import { u as ue, P as z, d as se, c as R, b as ce } from "../../index-DM51yNMI.js";
|
|
10
|
+
import { u as K } from "../../index-7CBv-Jx6.js";
|
|
11
|
+
import { R as le, A as de, P as me, C as be, I as ve, c as pe, G as _e, L as fe, a as ge, b as he, d as Me, e as Ne, S as Ce, f as Re, g as Pe, h as we } from "../../index-D_3jWVyV.js";
|
|
12
|
+
import '../../assets/NavBar.css';var x = "Menubar", [L, xe, Se] = ie(x), [Y] = ce(x, [
|
|
13
13
|
Se,
|
|
14
14
|
H
|
|
15
|
-
]), p =
|
|
15
|
+
]), p = pe(), Q = H(), [Ae, V] = Y(x), X = s.forwardRef(
|
|
16
16
|
(a, o) => {
|
|
17
17
|
const {
|
|
18
18
|
__scopeMenubar: r,
|
|
@@ -49,7 +49,7 @@ import '../../assets/NavBar.css';var x = "Menubar", [L, xe, Se] = oe(x), [Y, ca]
|
|
|
49
49
|
dir: _,
|
|
50
50
|
loop: v,
|
|
51
51
|
children: /* @__PURE__ */ e(L.Provider, { scope: r, children: /* @__PURE__ */ e(L.Slot, { scope: r, children: /* @__PURE__ */ e(
|
|
52
|
-
|
|
52
|
+
oe,
|
|
53
53
|
{
|
|
54
54
|
asChild: !0,
|
|
55
55
|
...l,
|
|
@@ -80,7 +80,7 @@ var j = "MenubarMenu", [ye, J] = Y(j), W = (a) => {
|
|
|
80
80
|
contentId: K(),
|
|
81
81
|
wasKeyboardTriggerOpenRef: _,
|
|
82
82
|
children: /* @__PURE__ */ e(
|
|
83
|
-
|
|
83
|
+
le,
|
|
84
84
|
{
|
|
85
85
|
...t,
|
|
86
86
|
open: l,
|
|
@@ -98,15 +98,15 @@ var j = "MenubarMenu", [ye, J] = Y(j), W = (a) => {
|
|
|
98
98
|
W.displayName = j;
|
|
99
99
|
var F = "MenubarTrigger", Z = s.forwardRef(
|
|
100
100
|
(a, o) => {
|
|
101
|
-
const { __scopeMenubar: r, disabled: n = !1, ...i } = a, M = Q(r), v = p(r), t = V(F, r), d = J(F, r), _ = s.useRef(null), l =
|
|
101
|
+
const { __scopeMenubar: r, disabled: n = !1, ...i } = a, M = Q(r), v = p(r), t = V(F, r), d = J(F, r), _ = s.useRef(null), l = se(o, _, d.triggerRef), [g, m] = s.useState(!1), h = t.value === d.value;
|
|
102
102
|
return /* @__PURE__ */ e(L.ItemSlot, { scope: r, value: d.value, disabled: n, children: /* @__PURE__ */ e(
|
|
103
|
-
|
|
103
|
+
te,
|
|
104
104
|
{
|
|
105
105
|
asChild: !0,
|
|
106
106
|
...M,
|
|
107
107
|
focusable: !n,
|
|
108
108
|
tabStopId: d.value,
|
|
109
|
-
children: /* @__PURE__ */ e(
|
|
109
|
+
children: /* @__PURE__ */ e(de, { asChild: !0, ...v, children: /* @__PURE__ */ e(
|
|
110
110
|
z.button,
|
|
111
111
|
{
|
|
112
112
|
type: "button",
|
|
@@ -142,14 +142,14 @@ var F = "MenubarTrigger", Z = s.forwardRef(
|
|
|
142
142
|
Z.displayName = F;
|
|
143
143
|
var Oe = "MenubarPortal", $ = (a) => {
|
|
144
144
|
const { __scopeMenubar: o, ...r } = a, n = p(o);
|
|
145
|
-
return /* @__PURE__ */ e(
|
|
145
|
+
return /* @__PURE__ */ e(me, { ...n, ...r });
|
|
146
146
|
};
|
|
147
147
|
$.displayName = Oe;
|
|
148
148
|
var U = "MenubarContent", q = s.forwardRef(
|
|
149
149
|
(a, o) => {
|
|
150
150
|
const { __scopeMenubar: r, align: n = "start", ...i } = a, M = p(r), v = V(U, r), t = J(U, r), d = xe(r), _ = s.useRef(!1);
|
|
151
151
|
return /* @__PURE__ */ e(
|
|
152
|
-
|
|
152
|
+
be,
|
|
153
153
|
{
|
|
154
154
|
id: t.contentId,
|
|
155
155
|
"aria-labelledby": t.triggerId,
|
|
@@ -221,7 +221,7 @@ Ie.displayName = Te;
|
|
|
221
221
|
var ke = "MenubarItem", ee = s.forwardRef(
|
|
222
222
|
(a, o) => {
|
|
223
223
|
const { __scopeMenubar: r, ...n } = a, i = p(r);
|
|
224
|
-
return /* @__PURE__ */ e(
|
|
224
|
+
return /* @__PURE__ */ e(ve, { ...i, ...n, ref: o });
|
|
225
225
|
}
|
|
226
226
|
);
|
|
227
227
|
ee.displayName = ke;
|
|
@@ -332,7 +332,7 @@ const u = {
|
|
|
332
332
|
"navbar-notification-container": "NavBar-module__navbar-notification-container___K2YeD",
|
|
333
333
|
"navbar-notification-badge": "NavBar-module__navbar-notification-badge___vp5bK"
|
|
334
334
|
};
|
|
335
|
-
function
|
|
335
|
+
function ca({
|
|
336
336
|
activeMenuItemHref: a,
|
|
337
337
|
projectName: o,
|
|
338
338
|
projectLogoIcon: r,
|
|
@@ -385,5 +385,5 @@ function la({
|
|
|
385
385
|
] }) });
|
|
386
386
|
}
|
|
387
387
|
export {
|
|
388
|
-
|
|
388
|
+
ca as default
|
|
389
389
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useId as r } from "react";
|
|
3
3
|
import { c as m } from "../../clsx-OuTLNxxd.js";
|
|
4
|
-
import { I as c, a as n } from "../../index-
|
|
4
|
+
import { I as c, a as n } from "../../index-CpsmI33B.js";
|
|
5
5
|
import '../../assets/Radio.css';const _ = "Radio-module__item___3Kvj7", u = "Radio-module__indicator___TJ5hz", b = "Radio-module__label___c-sYW", f = "Radio-module__disabled___RZ0be", a = {
|
|
6
6
|
item: _,
|
|
7
7
|
indicator: u,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _ } from "react/jsx-runtime";
|
|
2
2
|
import { c as p } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import { useState as f } from "react";
|
|
4
|
-
import { R as n } from "../../index-
|
|
4
|
+
import { R as n } from "../../index-CpsmI33B.js";
|
|
5
5
|
import '../../assets/RadioGroup.css';const R = "RadioGroup-module__root___ewZw-", b = "RadioGroup-module__disabled___n-nfI", s = {
|
|
6
6
|
root: R,
|
|
7
7
|
disabled: b
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as r, i as l, r as i, g as n, s as a, v as u, f as c } from "../../vi.
|
|
2
|
+
import { d as r, i as l, r as i, g as n, s as a, v as u, f as c } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import d from "./RadioGroup.js";
|
|
4
4
|
import t from "../Radio/Radio.js";
|
|
5
5
|
r("RadioGroup", () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, i as o, r as i, g as t, s as n, v as p, f as d } from "../../vi.
|
|
2
|
+
import { d as u, i as o, r as i, g as t, s as n, v as p, f as d } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import a from "./Search.js";
|
|
4
4
|
u("Search", () => {
|
|
5
5
|
u("Rendering", () => {
|
|
@@ -5,11 +5,10 @@ import * as d from "react";
|
|
|
5
5
|
import { useRef as W, useState as N, useEffect as U } from "react";
|
|
6
6
|
import $ from "../Icon/Icon.js";
|
|
7
7
|
import "../Input/Input.js";
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import '../../assets/SplitButton.css';var v = "DropdownMenu", [so, Xo] = H(
|
|
8
|
+
import { u as K, P as H, c as M, a as j, b as F } from "../../index-DM51yNMI.js";
|
|
9
|
+
import { R as V, A as X, P as q, C as J, I as Q, c as C, G as Y, L as Z, a as oo, b as eo, d as no, e as to, S as ro, f as ao, g as io, h as po } from "../../index-D_3jWVyV.js";
|
|
10
|
+
import { u as I } from "../../index-7CBv-Jx6.js";
|
|
11
|
+
import '../../assets/SplitButton.css';var v = "DropdownMenu", [so] = F(
|
|
13
12
|
v,
|
|
14
13
|
[C]
|
|
15
14
|
), s = C(), [uo, y] = so(v), x = (o) => {
|
|
@@ -47,7 +46,7 @@ var P = "DropdownMenuTrigger", E = d.forwardRef(
|
|
|
47
46
|
(o, t) => {
|
|
48
47
|
const { __scopeDropdownMenu: e, disabled: n = !1, ...r } = o, i = y(P, e), c = s(e);
|
|
49
48
|
return /* @__PURE__ */ a(X, { asChild: !0, ...c, children: /* @__PURE__ */ a(
|
|
50
|
-
|
|
49
|
+
H.button,
|
|
51
50
|
{
|
|
52
51
|
type: "button",
|
|
53
52
|
id: i.triggerId,
|
|
@@ -58,7 +57,7 @@ var P = "DropdownMenuTrigger", E = d.forwardRef(
|
|
|
58
57
|
"data-disabled": n ? "" : void 0,
|
|
59
58
|
disabled: n,
|
|
60
59
|
...r,
|
|
61
|
-
ref:
|
|
60
|
+
ref: j(t, i.triggerRef),
|
|
62
61
|
onPointerDown: M(o.onPointerDown, (p) => {
|
|
63
62
|
!n && p.button === 0 && p.ctrlKey === !1 && (i.onOpenToggle(), i.open || p.preventDefault());
|
|
64
63
|
}),
|
|
@@ -202,7 +201,7 @@ const u = {
|
|
|
202
201
|
"split-button-dropdown-menu-size-sm": "SplitButton-module__split-button-dropdown-menu-size-sm___xlVmW",
|
|
203
202
|
"split-button-dropdown-arrow": "SplitButton-module__split-button-dropdown-arrow___-Pf9C"
|
|
204
203
|
};
|
|
205
|
-
function
|
|
204
|
+
function Vo({
|
|
206
205
|
type: o = "primary",
|
|
207
206
|
trigger: t = "single",
|
|
208
207
|
size: e = "md",
|
|
@@ -242,5 +241,5 @@ function qo({
|
|
|
242
241
|
] });
|
|
243
242
|
}
|
|
244
243
|
export {
|
|
245
|
-
|
|
244
|
+
Vo as default
|
|
246
245
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { d, i as c, r as l, s as e, g as t, f as g, v as b } from "../../vi.
|
|
2
|
+
import { d, i as c, r as l, s as e, g as t, f as g, v as b } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import r from "./SplitButton.js";
|
|
4
4
|
d("SplitButton", () => {
|
|
5
5
|
const a = (i) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { d as c, i as o, r as l, g as e, s as t } from "../../vi.
|
|
2
|
+
import { d as c, i as o, r as l, g as e, s as t } from "../../vi.bdSIJ99Y-017e_Pkz.js";
|
|
3
3
|
import s from "./Tag.js";
|
|
4
4
|
c("Tag", () => {
|
|
5
5
|
c("Rendering", () => {
|
|
@@ -5,8 +5,7 @@ import W from "../Icon/Icon.js";
|
|
|
5
5
|
import Ie from "../Button/Button.js";
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import Fe from "../Tooltip/Tooltip.js";
|
|
8
|
-
import "
|
|
9
|
-
import { R as ve, A as Te, P as Ne, C as Le } from "../../index-BKtdMA_j.js";
|
|
8
|
+
import { R as ve, A as Te, P as Ne, C as Le } from "../../index-C4ffg1vf.js";
|
|
10
9
|
import '../../assets/TagsFields.css';const De = "TagsFields-module__dropdownContainer___GIsND", Ce = "TagsFields-module__dropdownLabel___AUP9W", ye = "TagsFields-module__dropdownLabelDisabled___hilvh", Oe = "TagsFields-module__required___Ybg21", ke = "TagsFields-module__dropdownWrapper___KxTZl", Re = "TagsFields-module__selectedItemsCreatable___Pnf8l", xe = "TagsFields-module__selectedItem___Tp6lp", Ae = "TagsFields-module__selectedItemLabel___SwoJL", Se = "TagsFields-module__removeButton___od0yh", We = "TagsFields-module__removeIcon___2WRCF", Ee = "TagsFields-module__singleSelectedCreatableItem___QwENt", Me = "TagsFields-module__singleSelectedCreatableItemRemoveButton___1PeN7", Ve = "TagsFields-module__dropdownActions___USb5V", Be = "TagsFields-module__dropdownArrow___JT9d3", Pe = "TagsFields-module__dropdownArrowOpen___jPfTk", je = "TagsFields-module__dropdownMenu___gPhtC", qe = "TagsFields-module__dropdownCreatableSearchContainer___mltcH", Ge = "TagsFields-module__disabled___1OfNF", ze = "TagsFields-module__dropdownCreatableError___R6oyD", Je = "TagsFields-module__creatableInput___qz9jI", Qe = "TagsFields-module__optionsList___qyawx", Ue = "TagsFields-module__categoryGroup___In039", Ye = "TagsFields-module__categoryDivider___eROv0", Ke = "TagsFields-module__categoryLabel___Cv2h5", He = "TagsFields-module__optionItem___UujFS", Xe = "TagsFields-module__optionItemDisabled___9gB8N", Ze = "TagsFields-module__optionItemFocused___4rsDt", $e = "TagsFields-module__optionContent___QSC9G", et = "TagsFields-module__optionLabel___N-fQ7", tt = "TagsFields-module__tickIcon___3uRY-", st = "TagsFields-module__noOptions___ugYj9", lt = "TagsFields-module__helpers___ab6f-", ot = "TagsFields-module__helpText___Qzdqh", dt = "TagsFields-module__helpTextDisabled___m-oFo", nt = "TagsFields-module__helpLink___JQDmR", at = "TagsFields-module__helpLinkDisabled___Nk1BX", rt = "TagsFields-module__errorMessage___b-ugf", t = {
|
|
11
10
|
dropdownContainer: De,
|
|
12
11
|
dropdownLabel: Ce,
|
|
@@ -50,7 +49,7 @@ import '../../assets/TagsFields.css';const De = "TagsFields-module__dropdownCont
|
|
|
50
49
|
helpLinkDisabled: at,
|
|
51
50
|
errorMessage: rt
|
|
52
51
|
};
|
|
53
|
-
function
|
|
52
|
+
function ht({
|
|
54
53
|
className: te,
|
|
55
54
|
label: E,
|
|
56
55
|
options: M,
|
|
@@ -228,5 +227,5 @@ function It({
|
|
|
228
227
|
] });
|
|
229
228
|
}
|
|
230
229
|
export {
|
|
231
|
-
|
|
230
|
+
ht as default
|
|
232
231
|
};
|