@alixpartners/ui-components 2.5.7 → 2.6.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/README.md +97 -97
- package/dist/RichTextEditor-JH6YBGiw.js +541 -0
- package/dist/{ToastProvider-D5LImZ-Q.js → ToastProvider-DVycF0zU.js} +26 -26
- package/dist/assets/CorusHeader.css +1 -1
- package/dist/assets/Tab.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/assets/ap-icons-types.d.ts +1 -1
- package/dist/assets/ap-icons.d.ts +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/components/Banner/Banner.d.ts +1 -1
- package/dist/components/Banner/Banner.test.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.test.js +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox/Checkbox.js +3 -3
- package/dist/components/Checkbox/Checkbox.test.js +1 -1
- package/dist/components/CorusHeader/CorusHeader.d.ts +1 -1
- package/dist/components/CorusHeader/CorusHeader.js +45 -44
- package/dist/components/CorusHeader/CorusHeader.types.d.ts +1 -0
- package/dist/components/CorusHeader/DropdownItemContent.d.ts +1 -1
- package/dist/components/CorusHeader/DropdownMenu.d.ts +2 -1
- package/dist/components/CorusHeader/DropdownMenu.js +6 -5
- package/dist/components/CorusHeader/MegaMenuContent.d.ts +2 -1
- package/dist/components/CorusHeader/MegaMenuContent.js +11 -10
- package/dist/components/CorusHeader/UserProfileIcon.d.ts +1 -1
- package/dist/components/Creatable/Creatable.d.ts +1 -1
- package/dist/components/Creatable/Creatable.js +1 -1
- package/dist/components/Datepicker/Datepicker.d.ts +1 -1
- package/dist/components/Datepicker/Datepicker.js +1 -1
- package/dist/components/Datepicker/Datepicker.test.js +1 -1
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/Dialog.js +188 -214
- package/dist/components/Dialog/Dialog.test.js +1 -1
- package/dist/components/DragAndDrop/DragAndDrop.d.ts +1 -1
- package/dist/components/DragAndDrop/DragAndDrop.test.js +2 -2
- package/dist/components/Dropdown/Dropdown.d.ts +3 -1
- package/dist/components/Dropdown/Dropdown.js +179 -172
- package/dist/components/FilePicker/FilePicker.d.ts +9 -9
- package/dist/components/FilePicker/FilePicker.test.js +2 -2
- package/dist/components/Ghost/Ghost.d.ts +1 -1
- package/dist/components/Ghost/Ghost.test.js +1 -1
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icons/IconsGallery.d.ts +1 -1
- package/dist/components/Icons/IconsGallery.js +1 -1
- package/dist/components/Illustration/Illustration.d.ts +1 -1
- package/dist/components/Illustration/Illustration.test.js +1 -1
- package/dist/components/Input/Input.test.js +1 -1
- package/dist/components/Logo/Logo.d.ts +1 -1
- package/dist/components/Logos/LogosGallery.d.ts +1 -1
- package/dist/components/NavBar/NavBar.d.ts +1 -1
- package/dist/components/NavBar/NavBar.js +1 -1
- package/dist/components/Radio/Radio.d.ts +1 -1
- package/dist/components/Radio/Radio.js +9 -9
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +11 -11
- package/dist/components/RadioGroup/RadioGroup.test.js +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/dist/components/RichTextEditor/RichTextEditor.js +2 -2
- package/dist/components/RichTextEditor/RichTextEditor.test.js +2 -2
- package/dist/components/Search/Search.d.ts +1 -1
- package/dist/components/Search/Search.test.js +1 -1
- package/dist/components/Spinner/Spinner.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.js +3 -3
- package/dist/components/SplitButton/SplitButton.test.js +1 -1
- package/dist/components/Tab/Tab.d.ts +5 -1
- package/dist/components/Tab/Tab.js +28 -24
- package/dist/components/TabNavigation/TabNavigation.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.test.js +1 -1
- package/dist/components/TagsFields/TagsFields.d.ts +1 -1
- package/dist/components/TagsFields/TagsFields.js +1 -1
- package/dist/components/Textarea/Textarea.d.ts +1 -1
- package/dist/components/Textarea/Textarea.test.js +1 -1
- package/dist/components/Toast/Toast.test.js +1 -1
- package/dist/components/ToastProvider/ToastProvider.d.ts +2 -1
- package/dist/components/ToastProvider/ToastProvider.js +1 -1
- package/dist/components/ToastProvider/ToastProvider.test.js +4 -4
- package/dist/components/Toggle/Toggle.d.ts +1 -1
- package/dist/components/Toggle/Toggle.js +211 -126
- package/dist/components/Toggle/Toggle.test.js +1 -1
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +60 -61
- package/dist/{index-C2s_VtSb.js → index-6DGSlWJb.js} +3 -3
- package/dist/{index-Nyh2Wa71.js → index-6j3vTf--.js} +5 -5
- package/dist/index-B4szHVNJ.js +248 -0
- package/dist/{index-CFqDEbIR.js → index-BVZdJVFB.js} +192 -191
- package/dist/index-Bq1FiX6B.js +93 -0
- package/dist/index-CE9NpYQR.js +604 -0
- package/dist/index-CHy8gqvu.js +353 -0
- package/dist/index-CarlZuEo.js +1610 -0
- package/dist/{index-CCFDXH-J.js → index-CcsZYEYy.js} +29 -28
- package/dist/index-DH9SO8qV.js +221 -0
- package/dist/{index-D_L0ncPJ.js → index-IR8HlW5P.js} +4 -4
- package/dist/{index-DkTDHhag.js → index-banDzeKa.js} +1 -1
- package/dist/index-kgC_DL6e.js +216 -0
- package/dist/main.js +3 -3
- package/dist/storybook-docs-page.d.ts +1 -1
- package/dist/{useToast-Cz5MGKnw.js → useToast-CpwrYPvx.js} +1 -1
- package/dist/{vi.bdSIJ99Y-017e_Pkz.js → vi.bdSIJ99Y-DWCVXj6K.js} +3 -3
- package/dist/web.config +8 -8
- package/package.json +94 -94
- package/dist/RichTextEditor-kTQEDSL0.js +0 -477
- package/dist/index-C8H9A55g.js +0 -222
- package/dist/index-CCnm5-ML.js +0 -230
- package/dist/index-CfIcUHKK.js +0 -70
- package/dist/index-ChQc_Cm6.js +0 -1544
- package/dist/index-CmGGeUr0.js +0 -142
- package/dist/index-Ii4UOx3H.js +0 -599
- package/dist/index-z_kiwVc3.js +0 -237
|
@@ -1,158 +1,161 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { useState as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { R as
|
|
11
|
-
import '../../assets/Dropdown.css';const
|
|
12
|
-
dropdownContainer:
|
|
13
|
-
dropdownLabel:
|
|
1
|
+
import { jsxs as l, jsx as d } from "react/jsx-runtime";
|
|
2
|
+
import { c as D } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { useState as N, useRef as M, useEffect as I, useCallback as re } from "react";
|
|
4
|
+
import U from "../Icon/Icon.js";
|
|
5
|
+
import Se from "../Toggle/Toggle.js";
|
|
6
|
+
import de from "../Button/Button.js";
|
|
7
|
+
import te from "../Ghost/Ghost.js";
|
|
8
|
+
import xe from "../Search/Search.js";
|
|
9
|
+
import Ee from "../Tooltip/Tooltip.js";
|
|
10
|
+
import { R as Fe, T as We, P as Ce, C as qe } from "../../index-CcsZYEYy.js";
|
|
11
|
+
import '../../assets/Dropdown.css';const Je = "Dropdown-module__dropdownContainer___beNhQ", ze = "Dropdown-module__dropdownLabel___T9FmB", Ge = "Dropdown-module__dropdownLabelDisabled___SLRmM", Be = "Dropdown-module__required___ChI1m", Ue = "Dropdown-module__dropdownWrapper___AUuWD", je = "Dropdown-module__dropdownTrigger___Rue93", Pe = "Dropdown-module__dropdownTriggerDisabled___63wkd", $e = "Dropdown-module__dropdownTriggerOpen___cbm8V", Ye = "Dropdown-module__placeholder___fWdch", Ze = "Dropdown-module__selectedOptionLabel___7Zdh3", Qe = "Dropdown-module__dropdownSelectedItems___iXnpQ", Ke = "Dropdown-module__dropdownTriggerError___Uu02x", Xe = "Dropdown-module__dropdownContent___zLMhL", He = "Dropdown-module__dropdownActions___d55Fa", eo = "Dropdown-module__dropdownArrow___dLbrb", oo = "Dropdown-module__dropdownArrowOpen___Z4Nh1", no = "Dropdown-module__dropdownMenu___toYcy", ro = "Dropdown-module__dropdownMenuToolbar___gFne0", to = "Dropdown-module__searchContainer___4kUvD", lo = "Dropdown-module__search___JmgDx", so = "Dropdown-module__optionsList___rk2hi", io = "Dropdown-module__categoryGroup___Np2bP", co = "Dropdown-module__categoryDivider___Gh6F0", ao = "Dropdown-module__categoryLabel___B9IDR", po = "Dropdown-module__optionItem___7pi10", _o = "Dropdown-module__optionItemDisabled___aepUD", uo = "Dropdown-module__optionItemFocused___u2781", wo = "Dropdown-module__optionContent___nf1VC", mo = "Dropdown-module__optionLabel___sJerM", fo = "Dropdown-module__tickIcon___hYdCr", ho = "Dropdown-module__noOptions___8vmhM", Do = "Dropdown-module__helpers___s4ulA", bo = "Dropdown-module__helpText___YooJE", go = "Dropdown-module__helpTextDisabled___Ct4qq", No = "Dropdown-module__helpLink___-Zwpq", vo = "Dropdown-module__helpLinkDisabled___r-opC", Lo = "Dropdown-module__errorMessage___3Mopi", Oo = "Dropdown-module__selectAllContainer___Dlk3J", Io = "Dropdown-module__actionButtons___-2nvr", o = {
|
|
12
|
+
dropdownContainer: Je,
|
|
13
|
+
dropdownLabel: ze,
|
|
14
14
|
"label-text": "Dropdown-module__label-text___VEqG-",
|
|
15
|
-
dropdownLabelDisabled:
|
|
15
|
+
dropdownLabelDisabled: Ge,
|
|
16
16
|
"label-tooltip-icon": "Dropdown-module__label-tooltip-icon___JYVOm",
|
|
17
|
-
required:
|
|
18
|
-
dropdownWrapper:
|
|
17
|
+
required: Be,
|
|
18
|
+
dropdownWrapper: Ue,
|
|
19
19
|
"dropdown-menu-trigger": "Dropdown-module__dropdown-menu-trigger___fgqVT",
|
|
20
|
-
dropdownTrigger:
|
|
21
|
-
dropdownTriggerDisabled:
|
|
22
|
-
dropdownTriggerOpen:
|
|
23
|
-
placeholder:
|
|
24
|
-
selectedOptionLabel:
|
|
25
|
-
dropdownSelectedItems:
|
|
26
|
-
dropdownTriggerError:
|
|
27
|
-
dropdownContent:
|
|
28
|
-
dropdownActions:
|
|
29
|
-
dropdownArrow:
|
|
30
|
-
dropdownArrowOpen:
|
|
31
|
-
dropdownMenu:
|
|
20
|
+
dropdownTrigger: je,
|
|
21
|
+
dropdownTriggerDisabled: Pe,
|
|
22
|
+
dropdownTriggerOpen: $e,
|
|
23
|
+
placeholder: Ye,
|
|
24
|
+
selectedOptionLabel: Ze,
|
|
25
|
+
dropdownSelectedItems: Qe,
|
|
26
|
+
dropdownTriggerError: Ke,
|
|
27
|
+
dropdownContent: Xe,
|
|
28
|
+
dropdownActions: He,
|
|
29
|
+
dropdownArrow: eo,
|
|
30
|
+
dropdownArrowOpen: oo,
|
|
31
|
+
dropdownMenu: no,
|
|
32
32
|
"dropdown-container-grouped": "Dropdown-module__dropdown-container-grouped___1twhU",
|
|
33
33
|
"dropdown-container-multi-select": "Dropdown-module__dropdown-container-multi-select___zdaum",
|
|
34
|
-
dropdownMenuToolbar:
|
|
35
|
-
searchContainer:
|
|
36
|
-
search:
|
|
37
|
-
optionsList:
|
|
38
|
-
categoryGroup:
|
|
39
|
-
categoryDivider:
|
|
40
|
-
categoryLabel:
|
|
41
|
-
optionItem:
|
|
42
|
-
optionItemDisabled:
|
|
43
|
-
optionItemFocused:
|
|
44
|
-
optionContent:
|
|
45
|
-
optionLabel:
|
|
46
|
-
tickIcon:
|
|
47
|
-
noOptions:
|
|
48
|
-
helpers:
|
|
49
|
-
helpText:
|
|
50
|
-
helpTextDisabled:
|
|
51
|
-
helpLink:
|
|
52
|
-
helpLinkDisabled:
|
|
53
|
-
errorMessage:
|
|
54
|
-
selectAllContainer:
|
|
55
|
-
actionButtons:
|
|
34
|
+
dropdownMenuToolbar: ro,
|
|
35
|
+
searchContainer: to,
|
|
36
|
+
search: lo,
|
|
37
|
+
optionsList: so,
|
|
38
|
+
categoryGroup: io,
|
|
39
|
+
categoryDivider: co,
|
|
40
|
+
categoryLabel: ao,
|
|
41
|
+
optionItem: po,
|
|
42
|
+
optionItemDisabled: _o,
|
|
43
|
+
optionItemFocused: uo,
|
|
44
|
+
optionContent: wo,
|
|
45
|
+
optionLabel: mo,
|
|
46
|
+
tickIcon: fo,
|
|
47
|
+
noOptions: ho,
|
|
48
|
+
helpers: Do,
|
|
49
|
+
helpText: bo,
|
|
50
|
+
helpTextDisabled: go,
|
|
51
|
+
helpLink: No,
|
|
52
|
+
helpLinkDisabled: vo,
|
|
53
|
+
errorMessage: Lo,
|
|
54
|
+
selectAllContainer: Oo,
|
|
55
|
+
actionButtons: Io
|
|
56
56
|
};
|
|
57
|
-
function
|
|
58
|
-
className:
|
|
59
|
-
label:
|
|
60
|
-
options:
|
|
57
|
+
function Fo({
|
|
58
|
+
className: le,
|
|
59
|
+
label: W,
|
|
60
|
+
options: C,
|
|
61
61
|
value: p = [],
|
|
62
|
-
placeholder:
|
|
63
|
-
disabled:
|
|
64
|
-
required:
|
|
65
|
-
searchable:
|
|
66
|
-
searchPlaceholder:
|
|
67
|
-
errorMessage:
|
|
68
|
-
helpText:
|
|
69
|
-
helpLink:
|
|
70
|
-
helpLinkText:
|
|
62
|
+
placeholder: V = "Select options...",
|
|
63
|
+
disabled: y = !1,
|
|
64
|
+
required: se = !1,
|
|
65
|
+
searchable: R = !1,
|
|
66
|
+
searchPlaceholder: ie = "Search options...",
|
|
67
|
+
errorMessage: k,
|
|
68
|
+
helpText: S,
|
|
69
|
+
helpLink: q,
|
|
70
|
+
helpLinkText: J,
|
|
71
71
|
onChange: t,
|
|
72
|
-
onSearch:
|
|
73
|
-
multiSelect:
|
|
74
|
-
grouped:
|
|
75
|
-
align:
|
|
76
|
-
onToggleChange:
|
|
77
|
-
toggleLabel:
|
|
78
|
-
dropdownTriggerClassName:
|
|
79
|
-
dropdownMenuClassName:
|
|
80
|
-
hideSelectedItems:
|
|
81
|
-
labelTooltip:
|
|
82
|
-
unselect:
|
|
83
|
-
selectedOptionLabel:
|
|
84
|
-
selectedOptionsLabel:
|
|
85
|
-
allOptionsSelectedLabel:
|
|
86
|
-
caseSensitive:
|
|
87
|
-
|
|
72
|
+
onSearch: z,
|
|
73
|
+
multiSelect: _ = !1,
|
|
74
|
+
grouped: ce = !1,
|
|
75
|
+
align: j = "left",
|
|
76
|
+
onToggleChange: x,
|
|
77
|
+
toggleLabel: ae,
|
|
78
|
+
dropdownTriggerClassName: pe,
|
|
79
|
+
dropdownMenuClassName: _e,
|
|
80
|
+
hideSelectedItems: ue = !1,
|
|
81
|
+
labelTooltip: b,
|
|
82
|
+
unselect: E = !1,
|
|
83
|
+
selectedOptionLabel: we = "option selected",
|
|
84
|
+
selectedOptionsLabel: me = "options selected",
|
|
85
|
+
allOptionsSelectedLabel: P,
|
|
86
|
+
caseSensitive: $ = !1,
|
|
87
|
+
maxCount: f,
|
|
88
|
+
...fe
|
|
88
89
|
}) {
|
|
89
|
-
const [i,
|
|
90
|
-
|
|
91
|
-
JSON.stringify(
|
|
92
|
-
}, [p]),
|
|
90
|
+
const [i, v] = N(p), [s, h] = N(!1), [Y, w] = N(""), [T, c] = N(-1), [u, m] = N([]), Z = M(null), Q = M(null), he = M(null), G = M(null), [K, De] = N(0), [be, ge] = N(p.length > 0 ? p.join(", ") : V ?? ""), X = M(p);
|
|
91
|
+
I(() => {
|
|
92
|
+
JSON.stringify(X.current) !== JSON.stringify(p) && (v(p), X.current = p);
|
|
93
|
+
}, [p]), I(() => {
|
|
93
94
|
var r;
|
|
94
|
-
const e = (r =
|
|
95
|
-
e &&
|
|
96
|
-
}, [
|
|
97
|
-
|
|
98
|
-
}, [
|
|
99
|
-
const
|
|
100
|
-
const r =
|
|
95
|
+
const e = (r = Q.current) == null ? void 0 : r.getBoundingClientRect().width;
|
|
96
|
+
e && De(e);
|
|
97
|
+
}, [s]), I(() => {
|
|
98
|
+
s && m([...i]);
|
|
99
|
+
}, [s, i]);
|
|
100
|
+
const H = Y.trim(), a = C.filter((e) => {
|
|
101
|
+
const r = $ ? e.label : e.label.toLowerCase(), n = $ ? H : H.toLowerCase();
|
|
101
102
|
return r.includes(n);
|
|
102
103
|
});
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}, [p,
|
|
106
|
-
|
|
107
|
-
}, [
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
},
|
|
104
|
+
I(() => {
|
|
105
|
+
ge(p.length > 0 ? p.join(", ") : V ?? "");
|
|
106
|
+
}, [p, V]), I(() => {
|
|
107
|
+
s && R && G.current && G.current.focus();
|
|
108
|
+
}, [s, R]);
|
|
109
|
+
const Ne = (e) => {
|
|
110
|
+
h(e), e ? (m([...i]), w(""), c(-1)) : (w(""), c(-1), m([]));
|
|
111
|
+
}, B = re((e) => {
|
|
111
112
|
if (e.disabled) return;
|
|
112
113
|
let r = [];
|
|
113
|
-
if (
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
if (_) {
|
|
115
|
+
if (!u.includes(e.value) && f && u.length >= f)
|
|
116
|
+
return;
|
|
117
|
+
r = u.includes(e.value) ? u.filter((n) => n !== e.value) : [...u, e.value];
|
|
118
|
+
} else {
|
|
116
119
|
if (i.includes(e.value))
|
|
117
|
-
if (
|
|
120
|
+
if (E)
|
|
118
121
|
r = [];
|
|
119
122
|
else
|
|
120
123
|
return;
|
|
121
124
|
else
|
|
122
125
|
r = [e.value];
|
|
123
|
-
|
|
126
|
+
v(r), t == null || t(r), h(!1), w(""), c(-1), m([]);
|
|
124
127
|
return;
|
|
125
128
|
}
|
|
126
|
-
|
|
127
|
-
}, [
|
|
128
|
-
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
},
|
|
129
|
+
m(r);
|
|
130
|
+
}, [_, t, u, i, E]), ve = () => {
|
|
131
|
+
v(u), t == null || t(u), h(!1), w(""), c(-1), m([]);
|
|
132
|
+
}, Le = () => {
|
|
133
|
+
h(!1), w(""), c(-1), m([]);
|
|
134
|
+
}, Oe = (e) => {
|
|
135
|
+
w(e), c(-1), z == null || z(e);
|
|
136
|
+
}, Ie = re((e) => {
|
|
134
137
|
var r;
|
|
135
138
|
if (!e.disabled) {
|
|
136
|
-
if (
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
+
if (_) {
|
|
140
|
+
const F = i.includes(e.value) ? i.filter((A) => A !== e.value) : [...i, e.value];
|
|
141
|
+
v(F), t == null || t(F), h(!0), w(""), c(-1);
|
|
139
142
|
} else if (i.includes(e.value)) {
|
|
140
|
-
if (
|
|
143
|
+
if (E) {
|
|
141
144
|
const n = [];
|
|
142
|
-
|
|
145
|
+
v(n), t == null || t(n), h(!1), w(""), c(-1);
|
|
143
146
|
}
|
|
144
147
|
} else {
|
|
145
148
|
const n = [e.value];
|
|
146
|
-
|
|
149
|
+
v(n), t == null || t(n), h(!1), w(""), c(-1);
|
|
147
150
|
}
|
|
148
|
-
(r =
|
|
151
|
+
(r = he.current) == null || r.focus();
|
|
149
152
|
}
|
|
150
|
-
}, [
|
|
151
|
-
|
|
153
|
+
}, [_, t, i, E]), ye = (e) => {
|
|
154
|
+
x == null || x(e);
|
|
152
155
|
};
|
|
153
|
-
|
|
156
|
+
I(() => {
|
|
154
157
|
const e = (r) => {
|
|
155
|
-
if (
|
|
158
|
+
if (s)
|
|
156
159
|
switch (r.key) {
|
|
157
160
|
case "ArrowDown":
|
|
158
161
|
r.preventDefault(), c((n) => n < a.length - 1 ? n + 1 : 0);
|
|
@@ -161,89 +164,93 @@ function Vo({
|
|
|
161
164
|
r.preventDefault(), c((n) => n > 0 ? n - 1 : a.length - 1);
|
|
162
165
|
break;
|
|
163
166
|
case "Enter":
|
|
164
|
-
if (r.preventDefault(),
|
|
165
|
-
const n = a[
|
|
166
|
-
|
|
167
|
+
if (r.preventDefault(), T >= 0 && T < a.length) {
|
|
168
|
+
const n = a[T];
|
|
169
|
+
B(n);
|
|
167
170
|
}
|
|
168
171
|
break;
|
|
169
172
|
case "Escape":
|
|
170
|
-
r.preventDefault(),
|
|
173
|
+
r.preventDefault(), h(!1), w(""), c(-1), m([]);
|
|
171
174
|
break;
|
|
172
175
|
}
|
|
173
176
|
};
|
|
174
177
|
return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
|
|
175
|
-
}, [
|
|
176
|
-
const
|
|
178
|
+
}, [s, T, a, Ie, B]);
|
|
179
|
+
const g = s ? u : i, L = C.filter((e) => g.includes(e.value)), ke = !!k, Te = JSON.stringify(u) !== JSON.stringify(i), ee = _ && !!f && g.length >= f, oe = C.filter((e) => !e.disabled), Ae = oe.length > 0 && oe.every((e) => g.includes(e.value)), Me = a.reduce((e, r) => {
|
|
177
180
|
const n = r.category || "default";
|
|
178
181
|
return e[n] || (e[n] = []), e[n].push(r), e;
|
|
179
|
-
}, {}),
|
|
180
|
-
onBlur:
|
|
181
|
-
...
|
|
182
|
-
} =
|
|
183
|
-
return /* @__PURE__ */
|
|
184
|
-
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
|
|
187
|
-
|
|
182
|
+
}, {}), Ve = a, {
|
|
183
|
+
onBlur: O,
|
|
184
|
+
...ne
|
|
185
|
+
} = fe;
|
|
186
|
+
return /* @__PURE__ */ l("div", { ref: Z, className: D(o.root, o.dropdownContainer, ce && o["dropdown-container-grouped"], _ && o["dropdown-container-multi-select"], le), ...ne, children: [
|
|
187
|
+
W && /* @__PURE__ */ l("label", { className: D(o.dropdownLabel, y && o.dropdownLabelDisabled), children: [
|
|
188
|
+
/* @__PURE__ */ l("span", { title: W, className: o["label-text"], children: [
|
|
189
|
+
W,
|
|
190
|
+
_ && f ? ` (max: ${f})` : ""
|
|
191
|
+
] }),
|
|
192
|
+
se && /* @__PURE__ */ d("span", { className: o.required, children: "*" }),
|
|
193
|
+
b && /* @__PURE__ */ d(Ee, { content: b.content, size: b.size, theme: b.theme, tipSide: b.tipSide, tipAlignment: b.tipAlignment, startVisible: b.startVisible, children: /* @__PURE__ */ d(U, { icon: "ap-icon-info", className: o["label-tooltip-icon"] }) })
|
|
188
194
|
] }),
|
|
189
|
-
/* @__PURE__ */ d(
|
|
190
|
-
/* @__PURE__ */ d(
|
|
191
|
-
|
|
192
|
-
}, ...
|
|
193
|
-
!
|
|
195
|
+
/* @__PURE__ */ d(Fe, { open: s, onOpenChange: Ne, children: /* @__PURE__ */ l("div", { className: o.dropdownWrapper, children: [
|
|
196
|
+
/* @__PURE__ */ d(We, { disabled: y, className: D(o["dropdown-menu-trigger"], o.dropdownTrigger, pe, s && o.dropdownTriggerOpen, y && o.dropdownTriggerDisabled, ke && o.dropdownTriggerError), ref: Q, onBlur: (e) => {
|
|
197
|
+
s || O == null || O(e);
|
|
198
|
+
}, ...ne, children: /* @__PURE__ */ l("div", { className: o.dropdownContent, children: [
|
|
199
|
+
!ue && /* @__PURE__ */ d("div", { className: o.dropdownSelectedItems, children: L.length > 0 ? _ ? Ae && P ? P : L.length === 1 ? ` ${L.length} ${we}` : ` ${L.length} ${me}` : (
|
|
194
200
|
// For single select, show the selected option label
|
|
195
|
-
/* @__PURE__ */ d("span", { className: o.selectedOptionLabel, title:
|
|
196
|
-
) : /* @__PURE__ */ d("span", { title:
|
|
197
|
-
/* @__PURE__ */ d("div", { className: o.dropdownActions, children: /* @__PURE__ */ d(
|
|
201
|
+
/* @__PURE__ */ d("span", { className: o.selectedOptionLabel, title: L[0].label, children: L[0].label })
|
|
202
|
+
) : /* @__PURE__ */ d("span", { title: be, className: o.placeholder, children: V }) }),
|
|
203
|
+
/* @__PURE__ */ d("div", { className: o.dropdownActions, children: /* @__PURE__ */ d(U, { icon: "ap-icon-expand-more", className: D(o.dropdownArrow, s && o.dropdownArrowOpen) }) })
|
|
198
204
|
] }) }),
|
|
199
|
-
/* @__PURE__ */ d(
|
|
200
|
-
minWidth:
|
|
205
|
+
/* @__PURE__ */ d(Ce, { children: /* @__PURE__ */ d(qe, { align: j === "right" ? "end" : "start", side: "bottom", avoidCollisions: !0, sideOffset: 6, collisionPadding: 8, style: {
|
|
206
|
+
minWidth: K,
|
|
201
207
|
zIndex: 9999
|
|
202
208
|
}, onInteractOutside: (e) => {
|
|
203
209
|
var n;
|
|
204
|
-
e.target ===
|
|
205
|
-
}, children:
|
|
206
|
-
minWidth:
|
|
207
|
-
}, className:
|
|
208
|
-
(
|
|
209
|
-
|
|
210
|
-
/* @__PURE__ */ d(
|
|
211
|
-
|
|
210
|
+
e.target === G.current && e.preventDefault(), ((n = Z.current) == null ? void 0 : n.contains(e.target)) || O == null || O(e);
|
|
211
|
+
}, children: s && /* @__PURE__ */ l("div", { style: {
|
|
212
|
+
minWidth: K
|
|
213
|
+
}, className: D(o.dropdownMenu, _e, j === "right" && o.dropdownMenuRight), children: [
|
|
214
|
+
(R || _) && /* @__PURE__ */ l("div", { className: o.dropdownMenuToolbar, children: [
|
|
215
|
+
R && /* @__PURE__ */ l("div", { className: o.searchContainer, children: [
|
|
216
|
+
/* @__PURE__ */ d(xe, { placeholder: ie, value: Y, onChange: Oe, className: o.search }),
|
|
217
|
+
x && /* @__PURE__ */ d(Se, { label: ae, onChange: ye })
|
|
212
218
|
] }),
|
|
213
|
-
|
|
214
|
-
/* @__PURE__ */ d(
|
|
219
|
+
_ && /* @__PURE__ */ l("div", { className: o.selectAllContainer, children: [
|
|
220
|
+
/* @__PURE__ */ d(te, { variant: "default", noIcon: !0, onClick: () => {
|
|
221
|
+
if (f) return;
|
|
215
222
|
const e = a.filter((r) => !r.disabled).map((r) => r.value);
|
|
216
|
-
|
|
217
|
-
}, disabled: a.filter((e) => !e.disabled).length === 0, children: "Select all" }),
|
|
218
|
-
/* @__PURE__ */ d(
|
|
223
|
+
m(e);
|
|
224
|
+
}, disabled: !!f || a.filter((e) => !e.disabled).length === 0, children: "Select all" }),
|
|
225
|
+
/* @__PURE__ */ d(te, { variant: "default", noIcon: !0, onClick: () => m([]), disabled: u.length === 0, children: "Deselect all" })
|
|
219
226
|
] })
|
|
220
227
|
] }),
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
-
a.length > 0 ? Object.entries(
|
|
228
|
+
/* @__PURE__ */ l("div", { className: o.optionsList, "data-dropdown-options-list": !0, children: [
|
|
229
|
+
a.length > 0 ? Object.entries(Me).map(([e, r]) => /* @__PURE__ */ l("div", { className: o.categoryGroup, children: [
|
|
223
230
|
e !== "default" && /* @__PURE__ */ d("div", { className: o.categoryDivider, children: /* @__PURE__ */ d("span", { className: o.categoryLabel, children: e }) }),
|
|
224
231
|
r.map((n) => {
|
|
225
|
-
const
|
|
226
|
-
return /* @__PURE__ */ d("button", { title: (
|
|
232
|
+
const F = Ve.indexOf(n), A = a.find((Re) => Re.value === n.value);
|
|
233
|
+
return /* @__PURE__ */ d("button", { title: (A == null ? void 0 : A.label) || n.label, type: "button", className: D(o.optionItem, g.includes(n.value) && o.optionItemSelected, (n.disabled || ee && !g.includes(n.value)) && o.optionItemDisabled, F === T && o.optionItemFocused), onClick: () => B(n), disabled: n.disabled || ee && !g.includes(n.value), "data-dropdown-option-item": !0, children: /* @__PURE__ */ l("div", { className: o.optionContent, children: [
|
|
227
234
|
/* @__PURE__ */ d("span", { className: o.optionLabel, children: n.label }),
|
|
228
|
-
|
|
235
|
+
g.includes(n.value) && /* @__PURE__ */ d(U, { icon: "ap-icon-check", className: o.tickIcon })
|
|
229
236
|
] }) }, n.value);
|
|
230
237
|
})
|
|
231
238
|
] }, e)) : null,
|
|
232
239
|
a.length === 0 && /* @__PURE__ */ d("div", { className: o.noOptions, children: "No options found" })
|
|
233
240
|
] }),
|
|
234
241
|
" ",
|
|
235
|
-
|
|
236
|
-
/* @__PURE__ */ d(
|
|
237
|
-
/* @__PURE__ */ d(
|
|
242
|
+
_ && /* @__PURE__ */ l("div", { className: o.actionButtons, children: [
|
|
243
|
+
/* @__PURE__ */ d(de, { type: "primary", variant: "cancel", size: "md", onClick: Le, children: "Cancel" }),
|
|
244
|
+
/* @__PURE__ */ d(de, { type: "primary", variant: "default", size: "md", onClick: ve, disabled: !Te, children: "Apply" })
|
|
238
245
|
] })
|
|
239
246
|
] }) }) })
|
|
240
247
|
] }) }),
|
|
241
|
-
(
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
(k || S || q && J) && /* @__PURE__ */ l("div", { className: o.helpers, children: [
|
|
249
|
+
k ? /* @__PURE__ */ d("span", { title: k, className: o.errorMessage, children: k }) : S && /* @__PURE__ */ d("span", { title: S, className: D(o.helpText, y && o.helpTextDisabled), children: S }),
|
|
250
|
+
q && J && /* @__PURE__ */ d("a", { href: q, className: D(o.helpLink, y && o.helpLinkDisabled), target: "_blank", rel: "noopener noreferrer", children: J })
|
|
244
251
|
] })
|
|
245
252
|
] });
|
|
246
253
|
}
|
|
247
254
|
export {
|
|
248
|
-
|
|
255
|
+
Fo as default
|
|
249
256
|
};
|
|
@@ -66,37 +66,37 @@ type FilePickerProps = {
|
|
|
66
66
|
* FilePicker root. Use with no children for default layout, or compose with
|
|
67
67
|
* FilePicker.Label, FilePicker.BrowseButton, FilePicker.HelpText, FilePicker.UploadedFilesList, etc.
|
|
68
68
|
*/
|
|
69
|
-
declare function FilePickerRoot({ type, maxFiles, fileExtensionsAllowed, maxSize, queueFiles, disabled, isUploadDisabled, value, label, required, placeholder, errorMessage, maxSizeErrorMessage, fileExtensionInvalidErrorMessage, helpText, helpLink, helpLinkText, multipleHelpText, multipleButtonHelpText, labelTooltip, uploadedFileAppendedRow, onUpload, onRemoveFile, children, }: FilePickerProps): import("react
|
|
69
|
+
declare function FilePickerRoot({ type, maxFiles, fileExtensionsAllowed, maxSize, queueFiles, disabled, isUploadDisabled, value, label, required, placeholder, errorMessage, maxSizeErrorMessage, fileExtensionInvalidErrorMessage, helpText, helpLink, helpLinkText, multipleHelpText, multipleButtonHelpText, labelTooltip, uploadedFileAppendedRow, onUpload, onRemoveFile, children, }: FilePickerProps): import("react").JSX.Element;
|
|
70
70
|
type FilePickerLabelProps = {
|
|
71
71
|
/** Override label text. If not provided, uses FilePicker's label prop. */
|
|
72
72
|
children?: ReactNode;
|
|
73
73
|
};
|
|
74
|
-
declare function FilePickerLabel({ children }: FilePickerLabelProps): import("react
|
|
74
|
+
declare function FilePickerLabel({ children }: FilePickerLabelProps): import("react").JSX.Element;
|
|
75
75
|
type FilePickerBrowseButtonProps = {
|
|
76
76
|
/** Override button content (e.g. "Browse file" or "Browse files (max 5)"). */
|
|
77
77
|
children?: ReactNode;
|
|
78
78
|
className?: string;
|
|
79
79
|
};
|
|
80
|
-
declare function FilePickerBrowseButton({ children, className }: FilePickerBrowseButtonProps): import("react
|
|
80
|
+
declare function FilePickerBrowseButton({ children, className }: FilePickerBrowseButtonProps): import("react").JSX.Element;
|
|
81
81
|
/**
|
|
82
82
|
* Wrapper for single-file mode: groups the input row and optional delete action.
|
|
83
83
|
* Use with FilePicker.SingleFileRow and FilePicker.SingleFileActions as children.
|
|
84
84
|
*/
|
|
85
85
|
declare function FilePickerSingleFileContainer({ children }: {
|
|
86
86
|
children?: ReactNode;
|
|
87
|
-
}): import("react
|
|
87
|
+
}): import("react").JSX.Element | null;
|
|
88
88
|
/**
|
|
89
89
|
* Single-file mode: shows filename/placeholder and a slot for the browse button.
|
|
90
90
|
* Put FilePicker.BrowseButton (optionally wrapped in Tooltip) as children.
|
|
91
91
|
*/
|
|
92
92
|
declare function FilePickerSingleFileRow({ children }: {
|
|
93
93
|
children?: ReactNode;
|
|
94
|
-
}): import("react
|
|
94
|
+
}): import("react").JSX.Element | null;
|
|
95
95
|
/** Renders the reserved space and delete button for single-file mode (for use in composed layout). */
|
|
96
|
-
declare function FilePickerSingleFileActions(): import("react
|
|
97
|
-
declare function FilePickerSingleFileDeleteButton(): import("react
|
|
98
|
-
declare function FilePickerHelpText(): import("react
|
|
99
|
-
declare function FilePickerUploadedFilesList(): import("react
|
|
96
|
+
declare function FilePickerSingleFileActions(): import("react").JSX.Element | null;
|
|
97
|
+
declare function FilePickerSingleFileDeleteButton(): import("react").JSX.Element | null;
|
|
98
|
+
declare function FilePickerHelpText(): import("react").JSX.Element | null;
|
|
99
|
+
declare function FilePickerUploadedFilesList(): import("react").JSX.Element | null;
|
|
100
100
|
declare const FilePicker: typeof FilePickerRoot & {
|
|
101
101
|
Label: typeof FilePickerLabel;
|
|
102
102
|
BrowseButton: typeof FilePickerBrowseButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as B, i as n, r as s, g as e, s as l, w as m, v as f, f as T } from "../../vi.bdSIJ99Y-
|
|
3
|
-
import { u as r } from "../../index-
|
|
2
|
+
import { d as B, i as n, r as s, g as e, s as l, w as m, v as f, f as T } from "../../vi.bdSIJ99Y-DWCVXj6K.js";
|
|
3
|
+
import { u as r } from "../../index-banDzeKa.js";
|
|
4
4
|
import a from "./FilePicker.js";
|
|
5
5
|
const c = {
|
|
6
6
|
fileExtensionsAllowed: ["xlsx", "csv"],
|
|
@@ -21,5 +21,5 @@ type GhostProps = {
|
|
|
21
21
|
icon?: ApIcon;
|
|
22
22
|
noIcon?: boolean;
|
|
23
23
|
} & InteractiveEventHandlers;
|
|
24
|
-
export default function Ghost({ variant, disabled, onClick, children, icon, noIcon, className, ...props }: GhostProps): import("react
|
|
24
|
+
export default function Ghost({ variant, disabled, onClick, children, icon, noIcon, className, ...props }: GhostProps): import("react").JSX.Element;
|
|
25
25
|
export {};
|
|
@@ -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 r, f as u } from "../../vi.bdSIJ99Y-
|
|
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-DWCVXj6K.js";
|
|
3
3
|
import d from "./Ghost.js";
|
|
4
4
|
i("Ghost", () => {
|
|
5
5
|
i("Rendering", () => {
|
|
@@ -4,5 +4,5 @@ type IconProps = {
|
|
|
4
4
|
icon?: ApIcon;
|
|
5
5
|
className?: string;
|
|
6
6
|
} & DataAttributes;
|
|
7
|
-
export default function Icon({ icon, className, ...props }: IconProps): import("react
|
|
7
|
+
export default function Icon({ icon, className, ...props }: IconProps): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function IconsGallery(): import("react
|
|
1
|
+
export default function IconsGallery(): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/IconsGallery.css';const c = ["ap-icon-add", "ap-icon-add-bold", "ap-icon-add-filled", "ap-icon-add-outlined", "ap-icon-aggregation", "ap-icon-agreements", "ap-icon-alert", "ap-icon-alert-filled", "ap-icon-align-center", "ap-icon-align-left", "ap-icon-align-right", "ap-icon-
|
|
2
|
+
import '../../assets/IconsGallery.css';const c = ["ap-icon-add", "ap-icon-add-bold", "ap-icon-add-filled", "ap-icon-add-outlined", "ap-icon-aggregation", "ap-icon-agreements", "ap-icon-alert", "ap-icon-alert-filled", "ap-icon-align-center", "ap-icon-align-left", "ap-icon-align-right", "ap-icon-approved", "ap-icon-ascendant", "ap-icon-at", "ap-icon-attach", "ap-icon-bar", "ap-icon-barcode", "ap-icon-bold", "ap-icon-book", "ap-icon-bookmark", "ap-icon-bookmark-list", "ap-icon-bookmark-saved", "ap-icon-box", "ap-icon-box-collapse", "ap-icon-box-expand", "ap-icon-box-list", "ap-icon-branch", "ap-icon-check", "ap-icon-clock", "ap-icon-clock-filled", "ap-icon-close", "ap-icon-close-bold", "ap-icon-collapse-all", "ap-icon-collapse-filled", "ap-icon-collapse-left", "ap-icon-collapse-outlined", "ap-icon-collapse-right", "ap-icon-color", "ap-icon-columns", "ap-icon-columns-filled", "ap-icon-comment", "ap-icon-comment-draft", "ap-icon-copy", "ap-icon-copy-file", "ap-icon-date", "ap-icon-delete", "ap-icon-descendant", "ap-icon-deselect-branch", "ap-icon-deselect-individual", "ap-icon-direction", "ap-icon-document", "ap-icon-document-blank", "ap-icon-document-rpm", "ap-icon-dolar", "ap-icon-dolar-filled", "ap-icon-dot", "ap-icon-dot-filled", "ap-icon-down", "ap-icon-download", "ap-icon-drag", "ap-icon-drilldown", "ap-icon-edit", "ap-icon-edit-filled", "ap-icon-edit-quick", "ap-icon-euro", "ap-icon-euro-filled", "ap-icon-expand-all", "ap-icon-expand-filled", "ap-icon-expand-less", "ap-icon-expand-more", "ap-icon-expand-outlined", "ap-icon-expand-section", "ap-icon-export", "ap-icon-external", "ap-icon-file-csv", "ap-icon-file-docx", "ap-icon-file-mapping", "ap-icon-file-pdf", "ap-icon-file-ppt", "ap-icon-file-xls", "ap-icon-filter", "ap-icon-filter-advanced", "ap-icon-filter-outlined", "ap-icon-fit", "ap-icon-flag-filled", "ap-icon-folder", "ap-icon-font-size", "ap-icon-fullscreen", "ap-icon-function", "ap-icon-gantt", "ap-icon-grid", "ap-icon-help", "ap-icon-help-filled", "ap-icon-hide", "ap-icon-hide-source", "ap-icon-history", "ap-icon-idea", "ap-icon-image", "ap-icon-import", "ap-icon-in-progress-filled", "ap-icon-industry", "ap-icon-info", "ap-icon-info-filled", "ap-icon-italic", "ap-icon-job", "ap-icon-key", "ap-icon-layers", "ap-icon-left", "ap-icon-line", "ap-icon-link", "ap-icon-link-remove", "ap-icon-list", "ap-icon-list-numbered", "ap-icon-llm", "ap-icon-location", "ap-icon-lock", "ap-icon-logout", "ap-icon-mail", "ap-icon-milestone-filled", "ap-icon-more", "ap-icon-more-horizontal", "ap-icon-move", "ap-icon-nested", "ap-icon-new", "ap-icon-new-filled", "ap-icon-next", "ap-icon-notification-filled", "ap-icon-notification-warning", "ap-icon-open-in-new", "ap-icon-order", "ap-icon-person", "ap-icon-person-actions", "ap-icon-person-add", "ap-icon-person-add-filled", "ap-icon-person-check", "ap-icon-person-check-filled", "ap-icon-person-discard", "ap-icon-person-filled", "ap-icon-person-group", "ap-icon-person-group-checked", "ap-icon-person-group-checked-filled", "ap-icon-person-group-dashed", "ap-icon-person-group-dashed-filled", "ap-icon-person-group-filled", "ap-icon-person-group-filled-wide", "ap-icon-person-move", "ap-icon-person-move-filled", "ap-icon-person-remove", "ap-icon-person-remove-filled", "ap-icon-phone", "ap-icon-pin", "ap-icon-pin-filled", "ap-icon-pound", "ap-icon-pound-filled", "ap-icon-present", "ap-icon-previous", "ap-icon-projects", "ap-icon-quote", "ap-icon-radial", "ap-icon-remove", "ap-icon-remove-filled", "ap-icon-remove-outlined", "ap-icon-reply", "ap-icon-reset", "ap-icon-resize", "ap-icon-right", "ap-icon-rotate-left", "ap-icon-rotate-right", "ap-icon-row-height", "ap-icon-screenshot", "ap-icon-search", "ap-icon-select-branch", "ap-icon-select-individual", "ap-icon-send", "ap-icon-settings", "ap-icon-settings-filled", "ap-icon-show", "ap-icon-show-filled", "ap-icon-sign", "ap-icon-star", "ap-icon-star-dashed", "ap-icon-star-filled", "ap-icon-strikethrough", "ap-icon-success", "ap-icon-success-filled", "ap-icon-summary", "ap-icon-sync", "ap-icon-table", "ap-icon-tip-bottom", "ap-icon-tip-left", "ap-icon-tip-right", "ap-icon-tip-top", "ap-icon-tree", "ap-icon-truck", "ap-icon-underline", "ap-icon-unpin", "ap-icon-unpin-filled", "ap-icon-up", "ap-icon-upload", "ap-icon-web", "ap-icon-zip", "ap-icon-zoom-in", "ap-icon-zoom-out"], p = "IconsGallery-module__grid___oQqfO", e = "IconsGallery-module__icon___7ZdqB", n = {
|
|
3
3
|
grid: p,
|
|
4
4
|
icon: e
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IllustrationCategory, IllustrationLevel, IllustrationName, IllustrationProps } from './types';
|
|
2
|
-
export default function Illustration(props: IllustrationProps): import("react
|
|
2
|
+
export default function Illustration(props: IllustrationProps): import("react").JSX.Element | null;
|
|
3
3
|
export type { IllustrationCategory, IllustrationLevel, IllustrationName, IllustrationProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as s, i as r, r as l, s as t, g as e } from "../../vi.bdSIJ99Y-
|
|
2
|
+
import { d as s, i as r, r as l, s as t, g as e } from "../../vi.bdSIJ99Y-DWCVXj6K.js";
|
|
3
3
|
import a from "./Illustration.js";
|
|
4
4
|
s("Illustration", () => {
|
|
5
5
|
s("Levels 1 and 2", () => {
|
|
@@ -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.bdSIJ99Y-
|
|
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-DWCVXj6K.js";
|
|
3
3
|
import o from "./Input.js";
|
|
4
4
|
a("Input", () => {
|
|
5
5
|
a("Rendering", () => {
|
|
@@ -4,5 +4,5 @@ type LogoProps = {
|
|
|
4
4
|
logo: ApLogo;
|
|
5
5
|
color?: 'black' | 'white' | 'gray' | 'green' | 'lightGreen';
|
|
6
6
|
} & DataAttributes;
|
|
7
|
-
export default function Logo({ logo, color, ...props }: LogoProps): import("react
|
|
7
|
+
export default function Logo({ logo, color, ...props }: LogoProps): import("react").JSX.Element | null;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function LogosGallery(): import("react
|
|
1
|
+
export default function LogosGallery(): import("react").JSX.Element;
|
|
@@ -47,4 +47,4 @@ export type NavBarProps = {
|
|
|
47
47
|
* @param {UserProfile} [props.additionalItems.userProfile] - User profile configuration with initials and dropdown content
|
|
48
48
|
* @returns {JSX.Element} The rendered NavBar component
|
|
49
49
|
*/
|
|
50
|
-
export default function NavBar({ activeMenuItemHref, projectName, projectLogoIcon, projectLogoOnClick, projectTag, menuItems, menuButton, additionalItems, className, maxWidth, }: NavBarProps): import("react
|
|
50
|
+
export default function NavBar({ activeMenuItemHref, projectName, projectLogoIcon, projectLogoOnClick, projectTag, menuItems, menuButton, additionalItems, className, maxWidth, }: NavBarProps): import("react").JSX.Element;
|