@x-plat/design-system 0.1.3 → 0.1.5
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/components/Accordion/index.cjs +908 -18
- package/dist/components/Accordion/index.js +908 -18
- package/dist/components/Avatar/index.css +1 -0
- package/dist/components/CheckBox/index.cjs +1 -1
- package/dist/components/CheckBox/index.css +13 -1
- package/dist/components/CheckBox/index.js +1 -1
- package/dist/components/DatePicker/index.cjs +75 -5
- package/dist/components/DatePicker/index.css +20 -2
- package/dist/components/DatePicker/index.d.cts +245 -4
- package/dist/components/DatePicker/index.d.ts +245 -4
- package/dist/components/DatePicker/index.js +75 -5
- package/dist/components/Drawer/index.cjs +111 -0
- package/dist/components/Drawer/index.css +70 -0
- package/dist/components/Drawer/index.d.cts +14 -0
- package/dist/components/Drawer/index.d.ts +14 -0
- package/dist/components/Drawer/index.js +74 -0
- package/dist/components/Dropdown/index.cjs +185 -0
- package/dist/components/Dropdown/index.css +54 -0
- package/dist/components/Dropdown/index.d.cts +17 -0
- package/dist/components/Dropdown/index.d.ts +17 -0
- package/dist/components/Dropdown/index.js +148 -0
- package/dist/components/EmptyState/index.cjs +60 -0
- package/dist/components/EmptyState/index.css +32 -0
- package/dist/components/EmptyState/index.d.cts +12 -0
- package/dist/components/EmptyState/index.d.ts +12 -0
- package/dist/components/EmptyState/index.js +33 -0
- package/dist/components/FileUpload/index.cjs +1039 -0
- package/dist/components/FileUpload/index.css +42 -0
- package/dist/components/FileUpload/index.d.cts +14 -0
- package/dist/components/FileUpload/index.d.ts +14 -0
- package/dist/components/FileUpload/index.js +1002 -0
- package/dist/components/Pagination/index.cjs +913 -7
- package/dist/components/Pagination/index.js +913 -7
- package/dist/components/Radio/index.css +1 -1
- package/dist/components/Select/index.cjs +17 -7
- package/dist/components/Select/index.d.cts +2 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.js +17 -7
- package/dist/components/Steps/index.cjs +1105 -0
- package/dist/components/Steps/index.css +918 -0
- package/dist/components/Steps/index.d.cts +134 -0
- package/dist/components/Steps/index.d.ts +134 -0
- package/dist/components/Steps/index.js +1078 -0
- package/dist/components/Switch/index.cjs +2 -0
- package/dist/components/Switch/index.css +34 -8
- package/dist/components/Switch/index.d.cts +2 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +2 -0
- package/dist/components/Tag/index.cjs +1090 -0
- package/dist/components/Tag/index.css +498 -0
- package/dist/components/Tag/index.d.cts +131 -0
- package/dist/components/Tag/index.d.ts +131 -0
- package/dist/components/Tag/index.js +1063 -0
- package/dist/components/Toast/index.cjs +150 -0
- package/dist/components/Toast/index.css +111 -0
- package/dist/components/Toast/index.d.cts +15 -0
- package/dist/components/Toast/index.d.ts +15 -0
- package/dist/components/Toast/index.js +112 -0
- package/dist/components/Tooltip/index.css +3 -0
- package/dist/components/index.cjs +1669 -1188
- package/dist/components/index.css +5803 -4011
- package/dist/components/index.d.cts +7 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +1635 -1162
- package/dist/index.cjs +2689 -2244
- package/dist/index.css +5803 -4011
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +2758 -2321
- package/package.json +2 -2
package/dist/components/index.js
CHANGED
|
@@ -1,722 +1,123 @@
|
|
|
1
1
|
// src/components/Accordion/Accordion.tsx
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
|
-
//
|
|
5
|
-
function r(e) {
|
|
6
|
-
var t, f, n = "";
|
|
7
|
-
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
8
|
-
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
9
|
-
var o = e.length;
|
|
10
|
-
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
11
|
-
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
12
|
-
return n;
|
|
13
|
-
}
|
|
14
|
-
function clsx() {
|
|
15
|
-
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
16
|
-
return n;
|
|
17
|
-
}
|
|
18
|
-
var clsx_default = clsx;
|
|
19
|
-
|
|
20
|
-
// src/components/Accordion/Accordion.tsx
|
|
4
|
+
// src/tokens/svg/action/CopyIcon.tsx
|
|
21
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
|
-
var AccordionItem = ({ item, isOpen, onToggle }) => {
|
|
23
|
-
const bodyRef = React.useRef(null);
|
|
24
|
-
const [height, setHeight] = React.useState(0);
|
|
25
|
-
React.useEffect(() => {
|
|
26
|
-
if (bodyRef.current) {
|
|
27
|
-
setHeight(bodyRef.current.scrollHeight);
|
|
28
|
-
}
|
|
29
|
-
}, [isOpen, item.content]);
|
|
30
|
-
return /* @__PURE__ */ jsxs("div", { className: clsx_default("accordion-item", { open: isOpen }), children: [
|
|
31
|
-
/* @__PURE__ */ jsxs(
|
|
32
|
-
"button",
|
|
33
|
-
{
|
|
34
|
-
className: "accordion-header",
|
|
35
|
-
onClick: onToggle,
|
|
36
|
-
"aria-expanded": isOpen,
|
|
37
|
-
children: [
|
|
38
|
-
/* @__PURE__ */ jsx("span", { className: "title", children: item.title }),
|
|
39
|
-
/* @__PURE__ */ jsx(
|
|
40
|
-
"svg",
|
|
41
|
-
{
|
|
42
|
-
className: "chevron",
|
|
43
|
-
viewBox: "0 0 24 24",
|
|
44
|
-
fill: "currentColor",
|
|
45
|
-
width: "20",
|
|
46
|
-
height: "20",
|
|
47
|
-
children: /* @__PURE__ */ jsx("path", { d: "M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6z" })
|
|
48
|
-
}
|
|
49
|
-
)
|
|
50
|
-
]
|
|
51
|
-
}
|
|
52
|
-
),
|
|
53
|
-
/* @__PURE__ */ jsx(
|
|
54
|
-
"div",
|
|
55
|
-
{
|
|
56
|
-
ref: bodyRef,
|
|
57
|
-
className: "accordion-body",
|
|
58
|
-
style: { maxHeight: isOpen ? height : 0 },
|
|
59
|
-
children: /* @__PURE__ */ jsx("div", { className: "accordion-content", children: item.content })
|
|
60
|
-
}
|
|
61
|
-
)
|
|
62
|
-
] });
|
|
63
|
-
};
|
|
64
|
-
var Accordion = (props) => {
|
|
65
|
-
const { items, multiple = false, defaultActiveKeys = [], className } = props;
|
|
66
|
-
const [activeKeys, setActiveKeys] = React.useState(
|
|
67
|
-
new Set(defaultActiveKeys)
|
|
68
|
-
);
|
|
69
|
-
const toggle = (key) => {
|
|
70
|
-
setActiveKeys((prev) => {
|
|
71
|
-
const next = new Set(multiple ? prev : []);
|
|
72
|
-
if (prev.has(key)) {
|
|
73
|
-
next.delete(key);
|
|
74
|
-
} else {
|
|
75
|
-
next.add(key);
|
|
76
|
-
}
|
|
77
|
-
return next;
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
return /* @__PURE__ */ jsx("div", { className: clsx_default("lib-xplat-accordion", className), children: items.map((item) => /* @__PURE__ */ jsx(
|
|
81
|
-
AccordionItem,
|
|
82
|
-
{
|
|
83
|
-
item,
|
|
84
|
-
isOpen: activeKeys.has(item.key),
|
|
85
|
-
onToggle: () => toggle(item.key)
|
|
86
|
-
},
|
|
87
|
-
item.key
|
|
88
|
-
)) });
|
|
89
|
-
};
|
|
90
|
-
Accordion.displayName = "Accordion";
|
|
91
|
-
var Accordion_default = Accordion;
|
|
92
6
|
|
|
93
|
-
// src/
|
|
7
|
+
// src/tokens/svg/action/CropIcon.tsx
|
|
94
8
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
95
|
-
var Alert = (props) => {
|
|
96
|
-
const { type = "info", children, onClose, className } = props;
|
|
97
|
-
return /* @__PURE__ */ jsxs2(
|
|
98
|
-
"div",
|
|
99
|
-
{
|
|
100
|
-
className: clsx_default("lib-xplat-alert", type, className),
|
|
101
|
-
role: "alert",
|
|
102
|
-
children: [
|
|
103
|
-
/* @__PURE__ */ jsx2("div", { className: "content", children }),
|
|
104
|
-
onClose && /* @__PURE__ */ jsx2(
|
|
105
|
-
"button",
|
|
106
|
-
{
|
|
107
|
-
className: "close-btn",
|
|
108
|
-
onClick: onClose,
|
|
109
|
-
"aria-label": "\uB2EB\uAE30",
|
|
110
|
-
children: "\xD7"
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
);
|
|
116
|
-
};
|
|
117
|
-
Alert.displayName = "Alert";
|
|
118
|
-
var Alert_default = Alert;
|
|
119
9
|
|
|
120
|
-
// src/tokens/
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
700: "#CC4B02",
|
|
156
|
-
800: "#A13A0B",
|
|
157
|
-
900: "#82320C"
|
|
158
|
-
},
|
|
159
|
-
yellow: {
|
|
160
|
-
50: "#FFFDE7",
|
|
161
|
-
100: "#FFFAC1",
|
|
162
|
-
200: "#FFF186",
|
|
163
|
-
300: "#FFE041",
|
|
164
|
-
400: "#FFCC0D",
|
|
165
|
-
500: "#F0B100",
|
|
166
|
-
600: "#D18800",
|
|
167
|
-
700: "#A66002",
|
|
168
|
-
800: "#894B0A",
|
|
169
|
-
900: "#743D0F"
|
|
170
|
-
},
|
|
171
|
-
blue: {
|
|
172
|
-
50: "#F1F4FD",
|
|
173
|
-
100: "#DFE7FA",
|
|
174
|
-
200: "#C5D4F8",
|
|
175
|
-
300: "#9EB8F2",
|
|
176
|
-
400: "#7093EA",
|
|
177
|
-
500: "#4D6DE3",
|
|
178
|
-
600: "#3950D7",
|
|
179
|
-
700: "#303EC5",
|
|
180
|
-
800: "#2D35A0",
|
|
181
|
-
900: "#29317F"
|
|
182
|
-
},
|
|
183
|
-
lightblue: {
|
|
184
|
-
50: "#EEFAFF",
|
|
185
|
-
100: "#D9F4FF",
|
|
186
|
-
200: "#BBEDFF",
|
|
187
|
-
300: "#8DE3FF",
|
|
188
|
-
400: "#57D0FF",
|
|
189
|
-
500: "#30B6FF",
|
|
190
|
-
600: "#1999F7",
|
|
191
|
-
700: "#1280E3",
|
|
192
|
-
800: "#1566B8",
|
|
193
|
-
900: "#175791"
|
|
194
|
-
},
|
|
195
|
-
purple: {
|
|
196
|
-
50: "#FBF6FE",
|
|
197
|
-
100: "#F5EAFD",
|
|
198
|
-
200: "#EDD8FC",
|
|
199
|
-
300: "#E0BAF8",
|
|
200
|
-
400: "#CD8DF3",
|
|
201
|
-
500: "#B961EB",
|
|
202
|
-
600: "#A541DC",
|
|
203
|
-
700: "#9230C5",
|
|
204
|
-
800: "#782B9E",
|
|
205
|
-
900: "#62247F"
|
|
206
|
-
},
|
|
207
|
-
pink: {
|
|
208
|
-
50: "#FFF4FE",
|
|
209
|
-
100: "#FFE7FD",
|
|
210
|
-
200: "#FFCFFA",
|
|
211
|
-
300: "#FEA9F1",
|
|
212
|
-
400: "#FD75E7",
|
|
213
|
-
500: "#F553DA",
|
|
214
|
-
600: "#D821B6",
|
|
215
|
-
700: "#B31892",
|
|
216
|
-
800: "#921676",
|
|
217
|
-
900: "#781761"
|
|
218
|
-
},
|
|
219
|
-
neutral: {
|
|
220
|
-
50: "#FAFAFA",
|
|
221
|
-
100: "#F5F5F5",
|
|
222
|
-
200: "#E5E5E5",
|
|
223
|
-
300: "#D4D4D4",
|
|
224
|
-
400: "#A1A1A1",
|
|
225
|
-
500: "#737373",
|
|
226
|
-
600: "#525252",
|
|
227
|
-
700: "#404040",
|
|
228
|
-
800: "#262626",
|
|
229
|
-
900: "#171717"
|
|
230
|
-
},
|
|
231
|
-
black: "#000000",
|
|
232
|
-
white: "#FFFFFF"
|
|
233
|
-
},
|
|
234
|
-
test: {
|
|
235
|
-
default: "#ffffff"
|
|
10
|
+
// src/tokens/svg/action/DeleteIcon.tsx
|
|
11
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
12
|
+
var DeleteIcon = () => /* @__PURE__ */ jsxs3(
|
|
13
|
+
"svg",
|
|
14
|
+
{
|
|
15
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
16
|
+
width: "1em",
|
|
17
|
+
height: "1em",
|
|
18
|
+
viewBox: "0 0 16 16",
|
|
19
|
+
fill: "none",
|
|
20
|
+
children: [
|
|
21
|
+
/* @__PURE__ */ jsx3(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M6.66709 6.7334C6.99828 6.73361 7.26709 7.00216 7.26709 7.3334V11.3334C7.26698 11.6645 6.99822 11.9332 6.66709 11.9334C6.33578 11.9334 6.0672 11.6647 6.06709 11.3334V7.3334C6.06709 7.00203 6.33572 6.7334 6.66709 6.7334Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsx3(
|
|
29
|
+
"path",
|
|
30
|
+
{
|
|
31
|
+
d: "M9.3335 6.7334C9.66469 6.73361 9.9335 7.00216 9.9335 7.3334V11.3334C9.93339 11.6645 9.66462 11.9332 9.3335 11.9334C9.00219 11.9334 8.7336 11.6647 8.7335 11.3334V7.3334C8.7335 7.00203 9.00213 6.7334 9.3335 6.7334Z",
|
|
32
|
+
fill: "currentColor"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ jsx3(
|
|
36
|
+
"path",
|
|
37
|
+
{
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M9.3335 0.733398C9.84611 0.733502 10.3382 0.937326 10.7007 1.2998C11.063 1.66233 11.2671 2.15444 11.2671 2.66699V3.3998H13.9999C14.3313 3.3998 14.5999 3.66843 14.5999 3.9998C14.5999 4.33118 14.3313 4.5998 13.9999 4.5998H13.2671V13.3334C13.267 13.846 13.0631 14.3381 12.7007 14.7006C12.3382 15.0631 11.8461 15.2669 11.3335 15.267H4.66709C4.15454 15.267 3.66243 15.0629 3.2999 14.7006C2.93738 14.3381 2.73355 13.8461 2.7335 13.3334V4.5998H1.9999C1.66853 4.5998 1.3999 4.33118 1.3999 3.9998C1.3999 3.66843 1.66853 3.3998 1.9999 3.3998H4.7335V2.66699C4.7335 2.15424 4.93733 1.66237 5.2999 1.2998C5.66246 0.937295 6.15438 0.733398 6.66709 0.733398H9.3335ZM3.9335 13.3334C3.93355 13.5278 4.01086 13.7147 4.14834 13.8521C4.28583 13.9894 4.4728 14.067 4.66709 14.067H11.3335C11.5278 14.0669 11.7148 13.9896 11.8522 13.8521C11.9897 13.7147 12.067 13.5278 12.0671 13.3334V4.5998H3.9335V13.3334ZM6.66709 1.9334C6.47264 1.9334 6.28586 2.01078 6.14834 2.14824C6.01081 2.28577 5.9335 2.4725 5.9335 2.66699V3.3998H10.0671V2.66699C10.0671 2.4727 9.98951 2.28573 9.85225 2.14824C9.71481 2.01081 9.52785 1.9335 9.3335 1.9334H6.66709Z",
|
|
41
|
+
fill: "currentColor"
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
]
|
|
236
45
|
}
|
|
237
|
-
|
|
46
|
+
);
|
|
47
|
+
var DeleteIcon_default = DeleteIcon;
|
|
238
48
|
|
|
239
|
-
// src/
|
|
240
|
-
|
|
241
|
-
const namespaceMap = colors[namespace];
|
|
242
|
-
const paletteMap = namespaceMap[palette];
|
|
243
|
-
const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
|
|
244
|
-
return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
|
|
245
|
-
};
|
|
49
|
+
// src/tokens/svg/action/DownloadCloudIcon.tsx
|
|
50
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
246
51
|
|
|
247
|
-
// src/
|
|
248
|
-
import { jsx as
|
|
249
|
-
var Avatar = (props) => {
|
|
250
|
-
const {
|
|
251
|
-
src,
|
|
252
|
-
alt,
|
|
253
|
-
name,
|
|
254
|
-
size = "md",
|
|
255
|
-
colorNamespace = "xplat",
|
|
256
|
-
color = "blue",
|
|
257
|
-
colorDepth,
|
|
258
|
-
className
|
|
259
|
-
} = props;
|
|
260
|
-
const colorClass = getColorClass(
|
|
261
|
-
colorNamespace,
|
|
262
|
-
color,
|
|
263
|
-
colorDepth ?? 500
|
|
264
|
-
);
|
|
265
|
-
const initials = name ? name.split(" ").map((s) => s[0]).join("").slice(0, 2).toUpperCase() : "";
|
|
266
|
-
return /* @__PURE__ */ jsx3("div", { className: clsx_default("lib-xplat-avatar", size, className), children: src ? /* @__PURE__ */ jsx3("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ jsx3("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ jsx3("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx3("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
|
|
267
|
-
};
|
|
268
|
-
Avatar.displayName = "Avatar";
|
|
269
|
-
var Avatar_default = Avatar;
|
|
52
|
+
// src/tokens/svg/action/DownloadIcon.tsx
|
|
53
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
270
54
|
|
|
271
|
-
// src/
|
|
272
|
-
import { jsx as
|
|
273
|
-
var Badge = (props) => {
|
|
274
|
-
const {
|
|
275
|
-
children,
|
|
276
|
-
count,
|
|
277
|
-
maxCount = 99,
|
|
278
|
-
dot = false,
|
|
279
|
-
colorNamespace = "xplat",
|
|
280
|
-
color = "red",
|
|
281
|
-
colorDepth,
|
|
282
|
-
className
|
|
283
|
-
} = props;
|
|
284
|
-
const colorClass = getColorClass(
|
|
285
|
-
colorNamespace,
|
|
286
|
-
color,
|
|
287
|
-
colorDepth ?? 500
|
|
288
|
-
);
|
|
289
|
-
const showBadge = dot || count !== void 0 && count > 0;
|
|
290
|
-
const displayCount = count !== void 0 && count > maxCount ? `${maxCount}+` : count;
|
|
291
|
-
return /* @__PURE__ */ jsxs3("div", { className: clsx_default("lib-xplat-badge", className), children: [
|
|
292
|
-
children,
|
|
293
|
-
showBadge && /* @__PURE__ */ jsx4("span", { className: clsx_default("badge-indicator", colorClass, { dot }), children: !dot && displayCount })
|
|
294
|
-
] });
|
|
295
|
-
};
|
|
296
|
-
Badge.displayName = "Badge";
|
|
297
|
-
var Badge_default = Badge;
|
|
55
|
+
// src/tokens/svg/action/Edit2Icon.tsx
|
|
56
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
298
57
|
|
|
299
|
-
// src/
|
|
300
|
-
import { jsx as
|
|
301
|
-
var Breadcrumb = (props) => {
|
|
302
|
-
const { items, separator = "/", className } = props;
|
|
303
|
-
return /* @__PURE__ */ jsx5("nav", { className: clsx_default("lib-xplat-breadcrumb", className), "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ jsx5("ol", { children: items.map((item, index) => {
|
|
304
|
-
const isLast = index === items.length - 1;
|
|
305
|
-
return /* @__PURE__ */ jsxs4("li", { children: [
|
|
306
|
-
isLast ? /* @__PURE__ */ jsx5("span", { className: "current", "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx5("a", { href: item.href, className: "link", children: item.label }) : /* @__PURE__ */ jsx5("button", { className: "link", onClick: item.onClick, children: item.label }),
|
|
307
|
-
!isLast && /* @__PURE__ */ jsx5("span", { className: "separator", children: separator })
|
|
308
|
-
] }, index);
|
|
309
|
-
}) }) });
|
|
310
|
-
};
|
|
311
|
-
Breadcrumb.displayName = "Breadcrumb";
|
|
312
|
-
var Breadcrumb_default = Breadcrumb;
|
|
58
|
+
// src/tokens/svg/action/Edit3Icon.tsx
|
|
59
|
+
import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
313
60
|
|
|
314
|
-
// src/
|
|
315
|
-
import { jsx as
|
|
316
|
-
var Button = (props) => {
|
|
317
|
-
const {
|
|
318
|
-
children,
|
|
319
|
-
type = "primary",
|
|
320
|
-
colorNamespace = "xplat",
|
|
321
|
-
color = "black",
|
|
322
|
-
colorDepth,
|
|
323
|
-
disabled,
|
|
324
|
-
className,
|
|
325
|
-
...rest
|
|
326
|
-
} = props;
|
|
327
|
-
const colorClass = getColorClass(
|
|
328
|
-
colorNamespace,
|
|
329
|
-
color,
|
|
330
|
-
colorDepth ?? 500
|
|
331
|
-
);
|
|
332
|
-
return /* @__PURE__ */ jsx6(
|
|
333
|
-
"button",
|
|
334
|
-
{
|
|
335
|
-
className: clsx_default("lib-xplat-button", type, colorClass, className),
|
|
336
|
-
disabled,
|
|
337
|
-
...rest,
|
|
338
|
-
children
|
|
339
|
-
}
|
|
340
|
-
);
|
|
341
|
-
};
|
|
342
|
-
Button.displayName = "Button";
|
|
343
|
-
var Button_default = Button;
|
|
61
|
+
// src/tokens/svg/action/EditIcon.tsx
|
|
62
|
+
import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
344
63
|
|
|
345
|
-
// src/
|
|
346
|
-
import { jsx as
|
|
347
|
-
var Card = ({ children, title, className }) => {
|
|
348
|
-
return /* @__PURE__ */ jsxs5("div", { className: clsx_default("lib-xplat-card", className), children: [
|
|
349
|
-
title && /* @__PURE__ */ jsx7("div", { className: "title", children: title }),
|
|
350
|
-
/* @__PURE__ */ jsx7("div", { className: "content", children })
|
|
351
|
-
] });
|
|
352
|
-
};
|
|
353
|
-
Card.displayName = "Card";
|
|
354
|
-
var Card_default = Card;
|
|
64
|
+
// src/tokens/svg/action/ExternalLinkIcon.tsx
|
|
65
|
+
import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
355
66
|
|
|
356
|
-
// src/
|
|
357
|
-
import
|
|
358
|
-
import {
|
|
359
|
-
ArcElement,
|
|
360
|
-
BarElement,
|
|
361
|
-
CategoryScale,
|
|
362
|
-
Chart as ChartJS,
|
|
363
|
-
Legend,
|
|
364
|
-
LinearScale,
|
|
365
|
-
LineElement,
|
|
366
|
-
PointElement,
|
|
367
|
-
Title,
|
|
368
|
-
Tooltip
|
|
369
|
-
} from "chart.js";
|
|
370
|
-
import ChartDataLabels from "chartjs-plugin-datalabels";
|
|
371
|
-
import { Bar, Doughnut, Line, Pie } from "react-chartjs-2";
|
|
67
|
+
// src/tokens/svg/action/FilterIcon.tsx
|
|
68
|
+
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
372
69
|
|
|
373
|
-
// src/
|
|
374
|
-
|
|
375
|
-
[
|
|
376
|
-
colors.xplat.red[100],
|
|
377
|
-
colors.xplat.red[200],
|
|
378
|
-
colors.xplat.red[300],
|
|
379
|
-
colors.xplat.red[400],
|
|
380
|
-
colors.xplat.red[500],
|
|
381
|
-
colors.xplat.red[600]
|
|
382
|
-
],
|
|
383
|
-
[
|
|
384
|
-
colors.xplat.orange[100],
|
|
385
|
-
colors.xplat.orange[200],
|
|
386
|
-
colors.xplat.orange[300],
|
|
387
|
-
colors.xplat.orange[400],
|
|
388
|
-
colors.xplat.orange[500],
|
|
389
|
-
colors.xplat.orange[600]
|
|
390
|
-
],
|
|
391
|
-
[
|
|
392
|
-
colors.xplat.yellow[100],
|
|
393
|
-
colors.xplat.yellow[200],
|
|
394
|
-
colors.xplat.yellow[300],
|
|
395
|
-
colors.xplat.yellow[400],
|
|
396
|
-
colors.xplat.yellow[500],
|
|
397
|
-
colors.xplat.yellow[600]
|
|
398
|
-
],
|
|
399
|
-
[
|
|
400
|
-
colors.xplat.green[100],
|
|
401
|
-
colors.xplat.green[200],
|
|
402
|
-
colors.xplat.green[300],
|
|
403
|
-
colors.xplat.green[400],
|
|
404
|
-
colors.xplat.green[500],
|
|
405
|
-
colors.xplat.green[600]
|
|
406
|
-
],
|
|
407
|
-
[
|
|
408
|
-
colors.xplat.blue[100],
|
|
409
|
-
colors.xplat.blue[200],
|
|
410
|
-
colors.xplat.blue[300],
|
|
411
|
-
colors.xplat.blue[400],
|
|
412
|
-
colors.xplat.blue[500],
|
|
413
|
-
colors.xplat.blue[600]
|
|
414
|
-
],
|
|
415
|
-
[
|
|
416
|
-
colors.xplat.lightblue[100],
|
|
417
|
-
colors.xplat.lightblue[200],
|
|
418
|
-
colors.xplat.lightblue[300],
|
|
419
|
-
colors.xplat.lightblue[400],
|
|
420
|
-
colors.xplat.lightblue[500],
|
|
421
|
-
colors.xplat.lightblue[600]
|
|
422
|
-
],
|
|
423
|
-
[
|
|
424
|
-
colors.xplat.purple[100],
|
|
425
|
-
colors.xplat.purple[200],
|
|
426
|
-
colors.xplat.purple[300],
|
|
427
|
-
colors.xplat.purple[400],
|
|
428
|
-
colors.xplat.purple[500],
|
|
429
|
-
colors.xplat.purple[600]
|
|
430
|
-
],
|
|
431
|
-
[
|
|
432
|
-
colors.xplat.pink[100],
|
|
433
|
-
colors.xplat.pink[200],
|
|
434
|
-
colors.xplat.pink[300],
|
|
435
|
-
colors.xplat.pink[400],
|
|
436
|
-
colors.xplat.pink[500],
|
|
437
|
-
colors.xplat.pink[600]
|
|
438
|
-
],
|
|
439
|
-
[
|
|
440
|
-
colors.xplat.orange[300],
|
|
441
|
-
colors.xplat.red[300],
|
|
442
|
-
colors.xplat.yellow[300],
|
|
443
|
-
colors.xplat.green[300],
|
|
444
|
-
colors.xplat.blue[300],
|
|
445
|
-
colors.xplat.lightblue[300]
|
|
446
|
-
],
|
|
447
|
-
[
|
|
448
|
-
colors.xplat.orange[400],
|
|
449
|
-
colors.xplat.red[400],
|
|
450
|
-
colors.xplat.yellow[400],
|
|
451
|
-
colors.xplat.green[400],
|
|
452
|
-
colors.xplat.blue[400],
|
|
453
|
-
colors.xplat.lightblue[400]
|
|
454
|
-
],
|
|
455
|
-
[
|
|
456
|
-
colors.xplat.orange[500],
|
|
457
|
-
colors.xplat.red[500],
|
|
458
|
-
colors.xplat.yellow[500],
|
|
459
|
-
colors.xplat.green[500],
|
|
460
|
-
colors.xplat.blue[500],
|
|
461
|
-
colors.xplat.lightblue[500]
|
|
462
|
-
]
|
|
463
|
-
];
|
|
464
|
-
var colorPresets = {
|
|
465
|
-
line: [
|
|
466
|
-
presets[0],
|
|
467
|
-
presets[1],
|
|
468
|
-
presets[2],
|
|
469
|
-
presets[3],
|
|
470
|
-
presets[4],
|
|
471
|
-
presets[5],
|
|
472
|
-
presets[6],
|
|
473
|
-
presets[7]
|
|
474
|
-
],
|
|
475
|
-
bar: [
|
|
476
|
-
presets[0],
|
|
477
|
-
presets[1],
|
|
478
|
-
presets[2],
|
|
479
|
-
presets[3],
|
|
480
|
-
presets[4],
|
|
481
|
-
presets[5],
|
|
482
|
-
presets[6],
|
|
483
|
-
presets[7]
|
|
484
|
-
],
|
|
485
|
-
doughnut: [presets[8], presets[9], presets[10]],
|
|
486
|
-
pie: [presets[8], presets[9], presets[10]]
|
|
487
|
-
};
|
|
70
|
+
// src/tokens/svg/action/Link2Icon.tsx
|
|
71
|
+
import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
488
72
|
|
|
489
|
-
// src/
|
|
490
|
-
|
|
491
|
-
const index = Math.floor(Math.random() * colorPresets[type].length);
|
|
492
|
-
return colorPresets[type][index];
|
|
493
|
-
};
|
|
494
|
-
var getIndexColorByPreset = (preset, index) => {
|
|
495
|
-
const idx = index % preset.length;
|
|
496
|
-
return preset[idx];
|
|
497
|
-
};
|
|
498
|
-
|
|
499
|
-
// src/components/Chart/Chart.tsx
|
|
500
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
501
|
-
ChartJS.register(
|
|
502
|
-
CategoryScale,
|
|
503
|
-
LinearScale,
|
|
504
|
-
PointElement,
|
|
505
|
-
LineElement,
|
|
506
|
-
BarElement,
|
|
507
|
-
ArcElement,
|
|
508
|
-
Title,
|
|
509
|
-
Tooltip,
|
|
510
|
-
Legend,
|
|
511
|
-
ChartDataLabels
|
|
512
|
-
);
|
|
513
|
-
var Chart = (props) => {
|
|
514
|
-
const { type, data, labels } = props;
|
|
515
|
-
const chartInstanceRef = React2.useRef(null);
|
|
516
|
-
const containerRef = React2.useRef(null);
|
|
517
|
-
const chartRef = React2.useCallback((instance) => {
|
|
518
|
-
chartInstanceRef.current = instance ?? null;
|
|
519
|
-
}, []);
|
|
520
|
-
const datasets = React2.useMemo(() => {
|
|
521
|
-
const pallette = getChartColorPreset(type);
|
|
522
|
-
return Object.entries(data).map(([key, values], index) => {
|
|
523
|
-
const uniqueColors = getIndexColorByPreset(pallette, index);
|
|
524
|
-
if (type === "pie" || type === "doughnut") {
|
|
525
|
-
return {
|
|
526
|
-
label: key,
|
|
527
|
-
data: values,
|
|
528
|
-
backgroundColor: uniqueColors
|
|
529
|
-
};
|
|
530
|
-
}
|
|
531
|
-
return {
|
|
532
|
-
label: key,
|
|
533
|
-
data: values,
|
|
534
|
-
backgroundColor: uniqueColors,
|
|
535
|
-
borderColor: uniqueColors,
|
|
536
|
-
maxBarThickness: 32
|
|
537
|
-
};
|
|
538
|
-
});
|
|
539
|
-
}, [data, type]);
|
|
540
|
-
const chartData = {
|
|
541
|
-
labels,
|
|
542
|
-
datasets
|
|
543
|
-
};
|
|
544
|
-
const options = {
|
|
545
|
-
plugins: {
|
|
546
|
-
legend: { display: false },
|
|
547
|
-
datalabels: { display: false },
|
|
548
|
-
tooltip: { enabled: true }
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
if (type === "line" || type === "bar") {
|
|
552
|
-
options.scales = {
|
|
553
|
-
y: {
|
|
554
|
-
beginAtZero: true,
|
|
555
|
-
drawBorder: false,
|
|
556
|
-
suggestedMax: Math.max(...Object.values(data).flat()) * 1.2,
|
|
557
|
-
ticks: {
|
|
558
|
-
maxTicksLimit: 7
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
x: {
|
|
562
|
-
grid: { display: false },
|
|
563
|
-
ticks: { display: false }
|
|
564
|
-
}
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
if (type === "pie" || type === "doughnut") {
|
|
568
|
-
options.plugins.datalabels = {
|
|
569
|
-
color: colors.xplat.white,
|
|
570
|
-
font: { weight: "bold" },
|
|
571
|
-
formatter: (value) => `${value}`
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
const renderChart = React2.useMemo(() => {
|
|
575
|
-
switch (type) {
|
|
576
|
-
case "line":
|
|
577
|
-
return /* @__PURE__ */ jsx8(Line, { ref: chartRef, data: chartData, options });
|
|
578
|
-
case "bar":
|
|
579
|
-
return /* @__PURE__ */ jsx8(Bar, { ref: chartRef, data: chartData, options });
|
|
580
|
-
case "pie":
|
|
581
|
-
return /* @__PURE__ */ jsx8(Pie, { ref: chartRef, data: chartData, options });
|
|
582
|
-
case "doughnut":
|
|
583
|
-
return /* @__PURE__ */ jsx8(Doughnut, { ref: chartRef, data: chartData, options });
|
|
584
|
-
default:
|
|
585
|
-
return null;
|
|
586
|
-
}
|
|
587
|
-
}, [chartData, options, type]);
|
|
588
|
-
React2.useEffect(() => {
|
|
589
|
-
if (!containerRef.current || !chartInstanceRef.current) return;
|
|
590
|
-
const observer = new ResizeObserver(() => {
|
|
591
|
-
requestAnimationFrame(() => {
|
|
592
|
-
chartInstanceRef.current?.resize();
|
|
593
|
-
});
|
|
594
|
-
});
|
|
595
|
-
observer.observe(containerRef.current);
|
|
596
|
-
return () => observer.disconnect();
|
|
597
|
-
}, []);
|
|
598
|
-
return /* @__PURE__ */ jsx8("div", { className: "lib-xplat-chart", ref: containerRef, children: renderChart });
|
|
599
|
-
};
|
|
600
|
-
Chart.displayName = "Chart";
|
|
601
|
-
var Chart_default = Chart;
|
|
602
|
-
|
|
603
|
-
// src/tokens/svg/action/CopyIcon.tsx
|
|
604
|
-
import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
605
|
-
|
|
606
|
-
// src/tokens/svg/action/CropIcon.tsx
|
|
607
|
-
import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
608
|
-
|
|
609
|
-
// src/tokens/svg/action/DeleteIcon.tsx
|
|
610
|
-
import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
611
|
-
var DeleteIcon = () => /* @__PURE__ */ jsxs8(
|
|
612
|
-
"svg",
|
|
613
|
-
{
|
|
614
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
615
|
-
width: "1em",
|
|
616
|
-
height: "1em",
|
|
617
|
-
viewBox: "0 0 16 16",
|
|
618
|
-
fill: "none",
|
|
619
|
-
children: [
|
|
620
|
-
/* @__PURE__ */ jsx11(
|
|
621
|
-
"path",
|
|
622
|
-
{
|
|
623
|
-
d: "M6.66709 6.7334C6.99828 6.73361 7.26709 7.00216 7.26709 7.3334V11.3334C7.26698 11.6645 6.99822 11.9332 6.66709 11.9334C6.33578 11.9334 6.0672 11.6647 6.06709 11.3334V7.3334C6.06709 7.00203 6.33572 6.7334 6.66709 6.7334Z",
|
|
624
|
-
fill: "currentColor"
|
|
625
|
-
}
|
|
626
|
-
),
|
|
627
|
-
/* @__PURE__ */ jsx11(
|
|
628
|
-
"path",
|
|
629
|
-
{
|
|
630
|
-
d: "M9.3335 6.7334C9.66469 6.73361 9.9335 7.00216 9.9335 7.3334V11.3334C9.93339 11.6645 9.66462 11.9332 9.3335 11.9334C9.00219 11.9334 8.7336 11.6647 8.7335 11.3334V7.3334C8.7335 7.00203 9.00213 6.7334 9.3335 6.7334Z",
|
|
631
|
-
fill: "currentColor"
|
|
632
|
-
}
|
|
633
|
-
),
|
|
634
|
-
/* @__PURE__ */ jsx11(
|
|
635
|
-
"path",
|
|
636
|
-
{
|
|
637
|
-
fillRule: "evenodd",
|
|
638
|
-
clipRule: "evenodd",
|
|
639
|
-
d: "M9.3335 0.733398C9.84611 0.733502 10.3382 0.937326 10.7007 1.2998C11.063 1.66233 11.2671 2.15444 11.2671 2.66699V3.3998H13.9999C14.3313 3.3998 14.5999 3.66843 14.5999 3.9998C14.5999 4.33118 14.3313 4.5998 13.9999 4.5998H13.2671V13.3334C13.267 13.846 13.0631 14.3381 12.7007 14.7006C12.3382 15.0631 11.8461 15.2669 11.3335 15.267H4.66709C4.15454 15.267 3.66243 15.0629 3.2999 14.7006C2.93738 14.3381 2.73355 13.8461 2.7335 13.3334V4.5998H1.9999C1.66853 4.5998 1.3999 4.33118 1.3999 3.9998C1.3999 3.66843 1.66853 3.3998 1.9999 3.3998H4.7335V2.66699C4.7335 2.15424 4.93733 1.66237 5.2999 1.2998C5.66246 0.937295 6.15438 0.733398 6.66709 0.733398H9.3335ZM3.9335 13.3334C3.93355 13.5278 4.01086 13.7147 4.14834 13.8521C4.28583 13.9894 4.4728 14.067 4.66709 14.067H11.3335C11.5278 14.0669 11.7148 13.9896 11.8522 13.8521C11.9897 13.7147 12.067 13.5278 12.0671 13.3334V4.5998H3.9335V13.3334ZM6.66709 1.9334C6.47264 1.9334 6.28586 2.01078 6.14834 2.14824C6.01081 2.28577 5.9335 2.4725 5.9335 2.66699V3.3998H10.0671V2.66699C10.0671 2.4727 9.98951 2.28573 9.85225 2.14824C9.71481 2.01081 9.52785 1.9335 9.3335 1.9334H6.66709Z",
|
|
640
|
-
fill: "currentColor"
|
|
641
|
-
}
|
|
642
|
-
)
|
|
643
|
-
]
|
|
644
|
-
}
|
|
645
|
-
);
|
|
646
|
-
var DeleteIcon_default = DeleteIcon;
|
|
647
|
-
|
|
648
|
-
// src/tokens/svg/action/DownloadCloudIcon.tsx
|
|
649
|
-
import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
650
|
-
|
|
651
|
-
// src/tokens/svg/action/DownloadIcon.tsx
|
|
652
|
-
import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
653
|
-
|
|
654
|
-
// src/tokens/svg/action/Edit2Icon.tsx
|
|
655
|
-
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
656
|
-
|
|
657
|
-
// src/tokens/svg/action/Edit3Icon.tsx
|
|
658
|
-
import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
659
|
-
|
|
660
|
-
// src/tokens/svg/action/EditIcon.tsx
|
|
661
|
-
import { jsx as jsx16, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
662
|
-
|
|
663
|
-
// src/tokens/svg/action/ExternalLinkIcon.tsx
|
|
664
|
-
import { jsx as jsx17, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
665
|
-
|
|
666
|
-
// src/tokens/svg/action/FilterIcon.tsx
|
|
667
|
-
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
668
|
-
|
|
669
|
-
// src/tokens/svg/action/Link2Icon.tsx
|
|
670
|
-
import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
671
|
-
|
|
672
|
-
// src/tokens/svg/action/LinkIcon.tsx
|
|
673
|
-
import { jsx as jsx20, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
73
|
+
// src/tokens/svg/action/LinkIcon.tsx
|
|
74
|
+
import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
674
75
|
|
|
675
76
|
// src/tokens/svg/action/MoveIcon.tsx
|
|
676
|
-
import { jsx as
|
|
77
|
+
import { jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
677
78
|
|
|
678
79
|
// src/tokens/svg/action/RefreshCcwIcon.tsx
|
|
679
|
-
import { jsx as
|
|
80
|
+
import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
680
81
|
|
|
681
82
|
// src/tokens/svg/action/RefreshCwIcon.tsx
|
|
682
|
-
import { jsx as
|
|
83
|
+
import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
683
84
|
|
|
684
85
|
// src/tokens/svg/action/RotateCcwIcon.tsx
|
|
685
|
-
import { jsx as
|
|
86
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
686
87
|
|
|
687
88
|
// src/tokens/svg/action/RotateCwIcon.tsx
|
|
688
|
-
import { jsx as
|
|
89
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
689
90
|
|
|
690
91
|
// src/tokens/svg/action/SaveIcon.tsx
|
|
691
|
-
import { jsx as
|
|
92
|
+
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
692
93
|
|
|
693
94
|
// src/tokens/svg/action/ScissorsIcon.tsx
|
|
694
|
-
import { jsx as
|
|
95
|
+
import { jsx as jsx19, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
695
96
|
|
|
696
97
|
// src/tokens/svg/action/SearchIcon.tsx
|
|
697
|
-
import { jsx as
|
|
98
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
698
99
|
|
|
699
100
|
// src/tokens/svg/action/SendIcon.tsx
|
|
700
|
-
import { jsx as
|
|
101
|
+
import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
701
102
|
|
|
702
103
|
// src/tokens/svg/action/Share2Icon.tsx
|
|
703
|
-
import { jsx as
|
|
104
|
+
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
704
105
|
|
|
705
106
|
// src/tokens/svg/action/ShareIcon.tsx
|
|
706
|
-
import { jsx as
|
|
107
|
+
import { jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
707
108
|
|
|
708
109
|
// src/tokens/svg/action/Trash2Icon.tsx
|
|
709
|
-
import { jsx as
|
|
110
|
+
import { jsx as jsx24, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
710
111
|
|
|
711
112
|
// src/tokens/svg/action/TrashIcon.tsx
|
|
712
|
-
import { jsx as
|
|
113
|
+
import { jsx as jsx25 } from "react/jsx-runtime";
|
|
713
114
|
|
|
714
115
|
// src/tokens/svg/action/UploadCloudIcon.tsx
|
|
715
|
-
import { jsx as
|
|
116
|
+
import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
716
117
|
|
|
717
118
|
// src/tokens/svg/action/UploadIcon.tsx
|
|
718
|
-
import { jsx as
|
|
719
|
-
var UploadIcon = () => /* @__PURE__ */
|
|
119
|
+
import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
120
|
+
var UploadIcon = () => /* @__PURE__ */ jsxs19(
|
|
720
121
|
"svg",
|
|
721
122
|
{
|
|
722
123
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -725,14 +126,14 @@ var UploadIcon = () => /* @__PURE__ */ jsxs24(
|
|
|
725
126
|
viewBox: "0 0 16 16",
|
|
726
127
|
fill: "none",
|
|
727
128
|
children: [
|
|
728
|
-
/* @__PURE__ */
|
|
129
|
+
/* @__PURE__ */ jsx27(
|
|
729
130
|
"path",
|
|
730
131
|
{
|
|
731
132
|
d: "M13.9999 9.40039C14.3313 9.40039 14.5999 9.66902 14.5999 10.0004V12.6668C14.5999 13.1796 14.3961 13.6714 14.0335 14.034C13.6709 14.3966 13.1791 14.6004 12.6663 14.6004H3.3335C2.82074 14.6004 2.32888 14.3966 1.96631 14.034C1.60374 13.6714 1.3999 13.1796 1.3999 12.6668V10.0004C1.3999 9.66902 1.66853 9.40039 1.9999 9.40039C2.33127 9.40039 2.5999 9.66902 2.5999 10.0004V12.6668C2.5999 12.8613 2.67722 13.048 2.81475 13.1855C2.95227 13.3231 3.139 13.4004 3.3335 13.4004H12.6663C12.8608 13.4004 13.0475 13.3231 13.1851 13.1855C13.3226 13.048 13.3999 12.8613 13.3999 12.6668V10.0004C13.3999 9.66902 13.6685 9.40039 13.9999 9.40039Z",
|
|
732
133
|
fill: "currentColor"
|
|
733
134
|
}
|
|
734
135
|
),
|
|
735
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ jsx27(
|
|
736
137
|
"path",
|
|
737
138
|
{
|
|
738
139
|
d: "M8.021 1.40117C8.02595 1.40134 8.03089 1.40166 8.03584 1.40195C8.06704 1.4038 8.09751 1.40802 8.12725 1.41445C8.14906 1.41917 8.17003 1.42682 8.19131 1.43398C8.20533 1.43872 8.21996 1.44154 8.2335 1.44727L8.23975 1.45039C8.3068 1.47957 8.37009 1.52135 8.4249 1.57617L11.7577 4.90977C11.9918 5.14403 11.9918 5.52394 11.7577 5.7582C11.5234 5.99219 11.1435 5.99224 10.9093 5.7582L8.5999 3.44883V10.0004C8.5999 10.3318 8.33127 10.6004 7.9999 10.6004C7.66853 10.6004 7.3999 10.3318 7.3999 10.0004V3.44883L5.09131 5.7582C4.85709 5.99228 4.47717 5.99215 4.24287 5.7582C4.0086 5.52393 4.00869 5.14409 4.24287 4.90977L7.57178 1.58008C7.57552 1.57627 7.57965 1.57285 7.5835 1.56914L7.62178 1.53477C7.62876 1.52908 7.63648 1.52446 7.64365 1.51914C7.65829 1.50829 7.67335 1.49818 7.68897 1.48867C7.70584 1.4784 7.72293 1.469 7.74053 1.46055C7.75681 1.45271 7.77347 1.44582 7.79053 1.43945C7.81028 1.4321 7.8304 1.42669 7.85068 1.42148C7.87179 1.41606 7.89281 1.40976 7.91475 1.40664C7.91788 1.40619 7.92098 1.40548 7.92412 1.40508C7.94894 1.40195 7.97424 1.40039 7.9999 1.40039C8.00697 1.40039 8.01399 1.40093 8.021 1.40117Z",
|
|
@@ -745,59 +146,59 @@ var UploadIcon = () => /* @__PURE__ */ jsxs24(
|
|
|
745
146
|
var UploadIcon_default = UploadIcon;
|
|
746
147
|
|
|
747
148
|
// src/tokens/svg/action/ZoomInIcon.tsx
|
|
748
|
-
import { jsx as
|
|
149
|
+
import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
749
150
|
|
|
750
151
|
// src/tokens/svg/action/ZoomOutIcon.tsx
|
|
751
|
-
import { jsx as
|
|
152
|
+
import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
752
153
|
|
|
753
154
|
// src/tokens/svg/call/CallActiveIcon.tsx
|
|
754
|
-
import { jsx as
|
|
155
|
+
import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
755
156
|
|
|
756
157
|
// src/tokens/svg/call/CallForwardedIcon.tsx
|
|
757
|
-
import { jsx as
|
|
158
|
+
import { jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
758
159
|
|
|
759
160
|
// src/tokens/svg/call/CallIcon.tsx
|
|
760
|
-
import { jsx as
|
|
161
|
+
import { jsx as jsx32 } from "react/jsx-runtime";
|
|
761
162
|
|
|
762
163
|
// src/tokens/svg/call/CallIncomingIcon.tsx
|
|
763
|
-
import { jsx as
|
|
164
|
+
import { jsx as jsx33, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
764
165
|
|
|
765
166
|
// src/tokens/svg/call/CallMissedIcon.tsx
|
|
766
|
-
import { jsx as
|
|
167
|
+
import { jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
767
168
|
|
|
768
169
|
// src/tokens/svg/call/CallOffIcon.tsx
|
|
769
|
-
import { jsx as
|
|
170
|
+
import { jsx as jsx35, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
770
171
|
|
|
771
172
|
// src/tokens/svg/call/CallOutgoingIcon.tsx
|
|
772
|
-
import { jsx as
|
|
173
|
+
import { jsx as jsx36, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
773
174
|
|
|
774
175
|
// src/tokens/svg/call/VoicemailIcon.tsx
|
|
775
|
-
import { jsx as
|
|
176
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
776
177
|
|
|
777
178
|
// src/tokens/svg/chart/BarChart2Icon.tsx
|
|
778
|
-
import { jsx as
|
|
179
|
+
import { jsx as jsx38, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
779
180
|
|
|
780
181
|
// src/tokens/svg/chart/BarChartIcon.tsx
|
|
781
|
-
import { jsx as
|
|
182
|
+
import { jsx as jsx39, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
782
183
|
|
|
783
184
|
// src/tokens/svg/chart/PieChartIcon.tsx
|
|
784
|
-
import { jsx as
|
|
185
|
+
import { jsx as jsx40, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
785
186
|
|
|
786
187
|
// src/tokens/svg/chart/TableIcon.tsx
|
|
787
|
-
import { jsx as
|
|
188
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
788
189
|
|
|
789
190
|
// src/tokens/svg/chart/TrendingDownIcon.tsx
|
|
790
|
-
import { jsx as
|
|
191
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
791
192
|
|
|
792
193
|
// src/tokens/svg/chart/TrendingUpIcon.tsx
|
|
793
|
-
import { jsx as
|
|
194
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
794
195
|
|
|
795
196
|
// src/tokens/svg/date/CalendarIcon.tsx
|
|
796
|
-
import { jsx as
|
|
197
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
797
198
|
|
|
798
199
|
// src/tokens/svg/date/CalenderIcon.tsx
|
|
799
|
-
import { jsx as
|
|
800
|
-
var CalenderIcon = () => /* @__PURE__ */
|
|
200
|
+
import { jsx as jsx45 } from "react/jsx-runtime";
|
|
201
|
+
var CalenderIcon = () => /* @__PURE__ */ jsx45(
|
|
801
202
|
"svg",
|
|
802
203
|
{
|
|
803
204
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -805,7 +206,7 @@ var CalenderIcon = () => /* @__PURE__ */ jsx53(
|
|
|
805
206
|
height: "1em",
|
|
806
207
|
viewBox: "0 0 16 16",
|
|
807
208
|
fill: "none",
|
|
808
|
-
children: /* @__PURE__ */
|
|
209
|
+
children: /* @__PURE__ */ jsx45(
|
|
809
210
|
"path",
|
|
810
211
|
{
|
|
811
212
|
fillRule: "evenodd",
|
|
@@ -819,161 +220,161 @@ var CalenderIcon = () => /* @__PURE__ */ jsx53(
|
|
|
819
220
|
var CalenderIcon_default = CalenderIcon;
|
|
820
221
|
|
|
821
222
|
// src/tokens/svg/date/ClockIcon.tsx
|
|
822
|
-
import { jsx as
|
|
223
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
823
224
|
|
|
824
225
|
// src/tokens/svg/date/SunriseIcon.tsx
|
|
825
|
-
import { jsx as
|
|
226
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
826
227
|
|
|
827
228
|
// src/tokens/svg/date/SunsetIcon.tsx
|
|
828
|
-
import { jsx as
|
|
229
|
+
import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
829
230
|
|
|
830
231
|
// src/tokens/svg/device/BatteryChargingIcon.tsx
|
|
831
|
-
import { jsx as
|
|
232
|
+
import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
832
233
|
|
|
833
234
|
// src/tokens/svg/device/BatteryIcon.tsx
|
|
834
|
-
import { jsx as
|
|
235
|
+
import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
835
236
|
|
|
836
237
|
// src/tokens/svg/device/BluetoothIcon.tsx
|
|
837
|
-
import { jsx as
|
|
238
|
+
import { jsx as jsx51 } from "react/jsx-runtime";
|
|
838
239
|
|
|
839
240
|
// src/tokens/svg/device/CommandIcon.tsx
|
|
840
|
-
import { jsx as
|
|
241
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
841
242
|
|
|
842
243
|
// src/tokens/svg/device/CpuIcon.tsx
|
|
843
|
-
import { jsx as
|
|
244
|
+
import { jsx as jsx53, jsxs as jsxs36 } from "react/jsx-runtime";
|
|
844
245
|
|
|
845
246
|
// src/tokens/svg/device/DatabaseIcon.tsx
|
|
846
|
-
import { jsx as
|
|
247
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
847
248
|
|
|
848
249
|
// src/tokens/svg/device/HardDriveIcon.tsx
|
|
849
|
-
import { jsx as
|
|
250
|
+
import { jsx as jsx55, jsxs as jsxs37 } from "react/jsx-runtime";
|
|
850
251
|
|
|
851
252
|
// src/tokens/svg/device/MonitorIcon.tsx
|
|
852
|
-
import { jsx as
|
|
253
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
853
254
|
|
|
854
255
|
// src/tokens/svg/device/PrinterIcon.tsx
|
|
855
|
-
import { jsx as
|
|
256
|
+
import { jsx as jsx57, jsxs as jsxs38 } from "react/jsx-runtime";
|
|
856
257
|
|
|
857
258
|
// src/tokens/svg/device/ServerIcon.tsx
|
|
858
|
-
import { jsx as
|
|
259
|
+
import { jsx as jsx58, jsxs as jsxs39 } from "react/jsx-runtime";
|
|
859
260
|
|
|
860
261
|
// src/tokens/svg/device/SmartphoneIcon.tsx
|
|
861
|
-
import { jsx as
|
|
262
|
+
import { jsx as jsx59, jsxs as jsxs40 } from "react/jsx-runtime";
|
|
862
263
|
|
|
863
264
|
// src/tokens/svg/device/TabletIcon.tsx
|
|
864
|
-
import { jsx as
|
|
265
|
+
import { jsx as jsx60, jsxs as jsxs41 } from "react/jsx-runtime";
|
|
865
266
|
|
|
866
267
|
// src/tokens/svg/device/TerminalIcon.tsx
|
|
867
|
-
import { jsx as
|
|
268
|
+
import { jsx as jsx61, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
868
269
|
|
|
869
270
|
// src/tokens/svg/device/TvIcon.tsx
|
|
870
|
-
import { jsx as
|
|
271
|
+
import { jsx as jsx62, jsxs as jsxs43 } from "react/jsx-runtime";
|
|
871
272
|
|
|
872
273
|
// src/tokens/svg/device/WatchIcon.tsx
|
|
873
|
-
import { jsx as
|
|
274
|
+
import { jsx as jsx63, jsxs as jsxs44 } from "react/jsx-runtime";
|
|
874
275
|
|
|
875
276
|
// src/tokens/svg/device/WifiIcon.tsx
|
|
876
|
-
import { jsx as
|
|
277
|
+
import { jsx as jsx64, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
877
278
|
|
|
878
279
|
// src/tokens/svg/device/WifiOffIcon.tsx
|
|
879
|
-
import { jsx as
|
|
280
|
+
import { jsx as jsx65, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
880
281
|
|
|
881
282
|
// src/tokens/svg/edit/AlignCenterIcon.tsx
|
|
882
|
-
import { jsx as
|
|
283
|
+
import { jsx as jsx66, jsxs as jsxs47 } from "react/jsx-runtime";
|
|
883
284
|
|
|
884
285
|
// src/tokens/svg/edit/AlignJustifyIcon.tsx
|
|
885
|
-
import { jsx as
|
|
286
|
+
import { jsx as jsx67, jsxs as jsxs48 } from "react/jsx-runtime";
|
|
886
287
|
|
|
887
288
|
// src/tokens/svg/edit/AlignLeftIcon.tsx
|
|
888
|
-
import { jsx as
|
|
289
|
+
import { jsx as jsx68, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
889
290
|
|
|
890
291
|
// src/tokens/svg/edit/AlignRightIcon.tsx
|
|
891
|
-
import { jsx as
|
|
292
|
+
import { jsx as jsx69, jsxs as jsxs50 } from "react/jsx-runtime";
|
|
892
293
|
|
|
893
294
|
// src/tokens/svg/edit/BoldIcon.tsx
|
|
894
|
-
import { jsx as
|
|
295
|
+
import { jsx as jsx70 } from "react/jsx-runtime";
|
|
895
296
|
|
|
896
297
|
// src/tokens/svg/edit/CodeIcon.tsx
|
|
897
|
-
import { jsx as
|
|
298
|
+
import { jsx as jsx71, jsxs as jsxs51 } from "react/jsx-runtime";
|
|
898
299
|
|
|
899
300
|
// src/tokens/svg/edit/ItalicIcon.tsx
|
|
900
|
-
import { jsx as
|
|
301
|
+
import { jsx as jsx72 } from "react/jsx-runtime";
|
|
901
302
|
|
|
902
303
|
// src/tokens/svg/edit/PenToolIcon.tsx
|
|
903
|
-
import { jsx as
|
|
304
|
+
import { jsx as jsx73, jsxs as jsxs52 } from "react/jsx-runtime";
|
|
904
305
|
|
|
905
306
|
// src/tokens/svg/edit/TypeIcon.tsx
|
|
906
|
-
import { jsx as
|
|
307
|
+
import { jsx as jsx74 } from "react/jsx-runtime";
|
|
907
308
|
|
|
908
309
|
// src/tokens/svg/edit/UnderlineIcon.tsx
|
|
909
|
-
import { jsx as
|
|
310
|
+
import { jsx as jsx75, jsxs as jsxs53 } from "react/jsx-runtime";
|
|
910
311
|
|
|
911
312
|
// src/tokens/svg/file/ArchiveIcon.tsx
|
|
912
|
-
import { jsx as
|
|
313
|
+
import { jsx as jsx76, jsxs as jsxs54 } from "react/jsx-runtime";
|
|
913
314
|
|
|
914
315
|
// src/tokens/svg/file/BookIcon.tsx
|
|
915
|
-
import { jsx as
|
|
316
|
+
import { jsx as jsx77 } from "react/jsx-runtime";
|
|
916
317
|
|
|
917
318
|
// src/tokens/svg/file/BookOpenIcon.tsx
|
|
918
|
-
import { jsx as
|
|
319
|
+
import { jsx as jsx78 } from "react/jsx-runtime";
|
|
919
320
|
|
|
920
321
|
// src/tokens/svg/file/BookmarkIcon.tsx
|
|
921
|
-
import { jsx as
|
|
322
|
+
import { jsx as jsx79 } from "react/jsx-runtime";
|
|
922
323
|
|
|
923
324
|
// src/tokens/svg/file/ClipboardIcon.tsx
|
|
924
|
-
import { jsx as
|
|
325
|
+
import { jsx as jsx80 } from "react/jsx-runtime";
|
|
925
326
|
|
|
926
327
|
// src/tokens/svg/file/FileIcon.tsx
|
|
927
|
-
import { jsx as
|
|
328
|
+
import { jsx as jsx81 } from "react/jsx-runtime";
|
|
928
329
|
|
|
929
330
|
// src/tokens/svg/file/FileMinusIcon.tsx
|
|
930
|
-
import { jsx as
|
|
331
|
+
import { jsx as jsx82, jsxs as jsxs55 } from "react/jsx-runtime";
|
|
931
332
|
|
|
932
333
|
// src/tokens/svg/file/FilePlusIcon.tsx
|
|
933
|
-
import { jsx as
|
|
334
|
+
import { jsx as jsx83, jsxs as jsxs56 } from "react/jsx-runtime";
|
|
934
335
|
|
|
935
336
|
// src/tokens/svg/file/FileTextIcon.tsx
|
|
936
|
-
import { jsx as
|
|
337
|
+
import { jsx as jsx84, jsxs as jsxs57 } from "react/jsx-runtime";
|
|
937
338
|
|
|
938
339
|
// src/tokens/svg/file/FolderIcon.tsx
|
|
939
|
-
import { jsx as
|
|
340
|
+
import { jsx as jsx85 } from "react/jsx-runtime";
|
|
940
341
|
|
|
941
342
|
// src/tokens/svg/file/FolderMinusIcon.tsx
|
|
942
|
-
import { jsx as
|
|
343
|
+
import { jsx as jsx86, jsxs as jsxs58 } from "react/jsx-runtime";
|
|
943
344
|
|
|
944
345
|
// src/tokens/svg/file/FolderPlusIcon.tsx
|
|
945
|
-
import { jsx as
|
|
346
|
+
import { jsx as jsx87, jsxs as jsxs59 } from "react/jsx-runtime";
|
|
946
347
|
|
|
947
348
|
// src/tokens/svg/file/PackageIcon.tsx
|
|
948
|
-
import { jsx as
|
|
349
|
+
import { jsx as jsx88 } from "react/jsx-runtime";
|
|
949
350
|
|
|
950
351
|
// src/tokens/svg/media/AirplayIcon.tsx
|
|
951
|
-
import { jsx as
|
|
352
|
+
import { jsx as jsx89, jsxs as jsxs60 } from "react/jsx-runtime";
|
|
952
353
|
|
|
953
354
|
// src/tokens/svg/media/CameraIcon.tsx
|
|
954
|
-
import { jsx as
|
|
355
|
+
import { jsx as jsx90, jsxs as jsxs61 } from "react/jsx-runtime";
|
|
955
356
|
|
|
956
357
|
// src/tokens/svg/media/CameraOffIcon.tsx
|
|
957
|
-
import { jsx as
|
|
358
|
+
import { jsx as jsx91, jsxs as jsxs62 } from "react/jsx-runtime";
|
|
958
359
|
|
|
959
360
|
// src/tokens/svg/media/CastIcon.tsx
|
|
960
|
-
import { jsx as
|
|
361
|
+
import { jsx as jsx92, jsxs as jsxs63 } from "react/jsx-runtime";
|
|
961
362
|
|
|
962
363
|
// src/tokens/svg/media/DiscIcon.tsx
|
|
963
|
-
import { jsx as
|
|
364
|
+
import { jsx as jsx93, jsxs as jsxs64 } from "react/jsx-runtime";
|
|
964
365
|
|
|
965
366
|
// src/tokens/svg/media/FastForwardIcon.tsx
|
|
966
|
-
import { jsx as
|
|
367
|
+
import { jsx as jsx94, jsxs as jsxs65 } from "react/jsx-runtime";
|
|
967
368
|
|
|
968
369
|
// src/tokens/svg/media/FilmIcon.tsx
|
|
969
|
-
import { jsx as
|
|
370
|
+
import { jsx as jsx95, jsxs as jsxs66 } from "react/jsx-runtime";
|
|
970
371
|
|
|
971
372
|
// src/tokens/svg/media/HeadphonesIcon.tsx
|
|
972
|
-
import { jsx as
|
|
373
|
+
import { jsx as jsx96 } from "react/jsx-runtime";
|
|
973
374
|
|
|
974
375
|
// src/tokens/svg/media/ImageIcon.tsx
|
|
975
|
-
import { jsx as
|
|
976
|
-
var ImageIcon = () => /* @__PURE__ */
|
|
376
|
+
import { jsx as jsx97, jsxs as jsxs67 } from "react/jsx-runtime";
|
|
377
|
+
var ImageIcon = () => /* @__PURE__ */ jsxs67(
|
|
977
378
|
"svg",
|
|
978
379
|
{
|
|
979
380
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -982,7 +383,7 @@ var ImageIcon = () => /* @__PURE__ */ jsxs72(
|
|
|
982
383
|
viewBox: "0 0 20 20",
|
|
983
384
|
fill: "none",
|
|
984
385
|
children: [
|
|
985
|
-
/* @__PURE__ */
|
|
386
|
+
/* @__PURE__ */ jsx97(
|
|
986
387
|
"path",
|
|
987
388
|
{
|
|
988
389
|
fillRule: "evenodd",
|
|
@@ -991,7 +392,7 @@ var ImageIcon = () => /* @__PURE__ */ jsxs72(
|
|
|
991
392
|
fill: "currentColor"
|
|
992
393
|
}
|
|
993
394
|
),
|
|
994
|
-
/* @__PURE__ */
|
|
395
|
+
/* @__PURE__ */ jsx97(
|
|
995
396
|
"path",
|
|
996
397
|
{
|
|
997
398
|
fillRule: "evenodd",
|
|
@@ -1006,20 +407,20 @@ var ImageIcon = () => /* @__PURE__ */ jsxs72(
|
|
|
1006
407
|
var ImageIcon_default = ImageIcon;
|
|
1007
408
|
|
|
1008
409
|
// src/tokens/svg/media/MicIcon.tsx
|
|
1009
|
-
import { jsx as
|
|
410
|
+
import { jsx as jsx98, jsxs as jsxs68 } from "react/jsx-runtime";
|
|
1010
411
|
|
|
1011
412
|
// src/tokens/svg/media/MicOffIcon.tsx
|
|
1012
|
-
import { jsx as
|
|
413
|
+
import { jsx as jsx99, jsxs as jsxs69 } from "react/jsx-runtime";
|
|
1013
414
|
|
|
1014
415
|
// src/tokens/svg/media/MusicIcon.tsx
|
|
1015
|
-
import { jsx as
|
|
416
|
+
import { jsx as jsx100 } from "react/jsx-runtime";
|
|
1016
417
|
|
|
1017
418
|
// src/tokens/svg/media/PauseCircleIcon.tsx
|
|
1018
|
-
import { jsx as
|
|
419
|
+
import { jsx as jsx101, jsxs as jsxs70 } from "react/jsx-runtime";
|
|
1019
420
|
|
|
1020
421
|
// src/tokens/svg/media/PauseIcon.tsx
|
|
1021
|
-
import { jsx as
|
|
1022
|
-
var PauseIcon = () => /* @__PURE__ */
|
|
422
|
+
import { jsx as jsx102, jsxs as jsxs71 } from "react/jsx-runtime";
|
|
423
|
+
var PauseIcon = () => /* @__PURE__ */ jsxs71(
|
|
1023
424
|
"svg",
|
|
1024
425
|
{
|
|
1025
426
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1028,16 +429,16 @@ var PauseIcon = () => /* @__PURE__ */ jsxs76(
|
|
|
1028
429
|
viewBox: "0 0 20 20",
|
|
1029
430
|
fill: "none",
|
|
1030
431
|
children: [
|
|
1031
|
-
/* @__PURE__ */
|
|
1032
|
-
/* @__PURE__ */
|
|
432
|
+
/* @__PURE__ */ jsx102("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.33301 2.58301C8.74714 2.58301 9.08288 2.91891 9.08301 3.33301V16.666C9.08301 17.0802 8.74722 17.416 8.33301 17.416H5C4.58579 17.416 4.25 17.0802 4.25 16.666V3.33301C4.25013 2.91891 4.58587 2.58301 5 2.58301H8.33301ZM5.75 15.916H7.58301V4.08301H5.75V15.916Z", fill: "currentColor" }),
|
|
433
|
+
/* @__PURE__ */ jsx102("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15 2.58301C15.4139 2.58327 15.7499 2.91907 15.75 3.33301V16.666C15.75 17.0801 15.414 17.4158 15 17.416H11.667C11.2528 17.416 10.917 17.0802 10.917 16.666V3.33301C10.9171 2.91891 11.2529 2.58301 11.667 2.58301H15ZM12.417 15.916H14.25V4.08301H12.417V15.916Z", fill: "currentColor" })
|
|
1033
434
|
]
|
|
1034
435
|
}
|
|
1035
436
|
);
|
|
1036
437
|
var PauseIcon_default = PauseIcon;
|
|
1037
438
|
|
|
1038
439
|
// src/tokens/svg/media/PlayCircleIcon.tsx
|
|
1039
|
-
import { jsx as
|
|
1040
|
-
var PlayCircleIcon = () => /* @__PURE__ */
|
|
440
|
+
import { jsx as jsx103, jsxs as jsxs72 } from "react/jsx-runtime";
|
|
441
|
+
var PlayCircleIcon = () => /* @__PURE__ */ jsxs72(
|
|
1041
442
|
"svg",
|
|
1042
443
|
{
|
|
1043
444
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1046,241 +447,241 @@ var PlayCircleIcon = () => /* @__PURE__ */ jsxs77(
|
|
|
1046
447
|
viewBox: "0 0 20 20",
|
|
1047
448
|
fill: "none",
|
|
1048
449
|
children: [
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
/* @__PURE__ */
|
|
1051
|
-
/* @__PURE__ */
|
|
450
|
+
/* @__PURE__ */ jsxs72("g", { clipPath: "url(#playcircle-clip)", children: [
|
|
451
|
+
/* @__PURE__ */ jsx103("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.98047 6.00586C8.22424 5.87564 8.52002 5.88965 8.75 6.04297L13.75 9.37598C13.9583 9.51505 14.0839 9.74954 14.084 10C14.0839 10.2505 13.9584 10.4849 13.75 10.624L8.75 13.958C8.52015 14.1112 8.22412 14.1251 7.98047 13.9951C7.73677 13.8647 7.58419 13.6104 7.58398 13.334V6.66699L7.59082 6.56445C7.6233 6.32874 7.7671 6.12005 7.98047 6.00586ZM9.08398 11.9316L11.9814 10L9.08398 8.06738V11.9316Z", fill: "currentColor" }),
|
|
452
|
+
/* @__PURE__ */ jsx103("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 0.916992C15.0163 0.917256 19.0838 4.98373 19.084 10C19.0839 15.0163 15.0163 19.0837 10 19.084C4.98364 19.0838 0.916148 15.0164 0.916016 10C0.916191 4.98367 4.98367 0.917168 10 0.916992ZM10 2.41699C5.8121 2.41717 2.41717 5.8121 2.41699 10C2.41712 14.1879 5.81207 17.5838 10 17.584C14.1879 17.5837 17.5839 14.1879 17.584 10C17.5838 5.81215 14.1878 2.41726 10 2.41699Z", fill: "currentColor" })
|
|
1052
453
|
] }),
|
|
1053
|
-
/* @__PURE__ */
|
|
454
|
+
/* @__PURE__ */ jsx103("defs", { children: /* @__PURE__ */ jsx103("clipPath", { id: "playcircle-clip", children: /* @__PURE__ */ jsx103("rect", { width: "20", height: "20", fill: "currentColor" }) }) })
|
|
1054
455
|
]
|
|
1055
456
|
}
|
|
1056
457
|
);
|
|
1057
458
|
var PlayCircleIcon_default = PlayCircleIcon;
|
|
1058
459
|
|
|
1059
460
|
// src/tokens/svg/media/PlayIcon.tsx
|
|
1060
|
-
import { jsx as
|
|
461
|
+
import { jsx as jsx104 } from "react/jsx-runtime";
|
|
1061
462
|
|
|
1062
463
|
// src/tokens/svg/media/RepeatIcon.tsx
|
|
1063
|
-
import { jsx as
|
|
464
|
+
import { jsx as jsx105, jsxs as jsxs73 } from "react/jsx-runtime";
|
|
1064
465
|
|
|
1065
466
|
// src/tokens/svg/media/RewindIcon.tsx
|
|
1066
|
-
import { jsx as
|
|
467
|
+
import { jsx as jsx106, jsxs as jsxs74 } from "react/jsx-runtime";
|
|
1067
468
|
|
|
1068
469
|
// src/tokens/svg/media/SkipBackIcon.tsx
|
|
1069
|
-
import { jsx as
|
|
470
|
+
import { jsx as jsx107, jsxs as jsxs75 } from "react/jsx-runtime";
|
|
1070
471
|
|
|
1071
472
|
// src/tokens/svg/media/SkipForwardIcon.tsx
|
|
1072
|
-
import { jsx as
|
|
473
|
+
import { jsx as jsx108, jsxs as jsxs76 } from "react/jsx-runtime";
|
|
1073
474
|
|
|
1074
475
|
// src/tokens/svg/media/SpeakerIcon.tsx
|
|
1075
|
-
import { jsx as
|
|
476
|
+
import { jsx as jsx109, jsxs as jsxs77 } from "react/jsx-runtime";
|
|
1076
477
|
|
|
1077
478
|
// src/tokens/svg/media/StopCircleIcon.tsx
|
|
1078
|
-
import { jsx as
|
|
479
|
+
import { jsx as jsx110, jsxs as jsxs78 } from "react/jsx-runtime";
|
|
1079
480
|
|
|
1080
481
|
// src/tokens/svg/media/VideoIcon.tsx
|
|
1081
|
-
import { jsx as
|
|
482
|
+
import { jsx as jsx111 } from "react/jsx-runtime";
|
|
1082
483
|
|
|
1083
484
|
// src/tokens/svg/media/VideoOffIcon.tsx
|
|
1084
|
-
import { jsx as
|
|
485
|
+
import { jsx as jsx112, jsxs as jsxs79 } from "react/jsx-runtime";
|
|
1085
486
|
|
|
1086
487
|
// src/tokens/svg/media/Volume1Icon.tsx
|
|
1087
|
-
import { jsx as
|
|
488
|
+
import { jsx as jsx113, jsxs as jsxs80 } from "react/jsx-runtime";
|
|
1088
489
|
|
|
1089
490
|
// src/tokens/svg/media/Volume2Icon.tsx
|
|
1090
|
-
import { jsx as
|
|
491
|
+
import { jsx as jsx114, jsxs as jsxs81 } from "react/jsx-runtime";
|
|
1091
492
|
|
|
1092
493
|
// src/tokens/svg/media/VolumeIcon.tsx
|
|
1093
|
-
import { jsx as
|
|
494
|
+
import { jsx as jsx115 } from "react/jsx-runtime";
|
|
1094
495
|
|
|
1095
496
|
// src/tokens/svg/media/VolumeXIcon.tsx
|
|
1096
|
-
import { jsx as
|
|
497
|
+
import { jsx as jsx116, jsxs as jsxs82 } from "react/jsx-runtime";
|
|
1097
498
|
|
|
1098
499
|
// src/tokens/svg/misc/ActivityIcon.tsx
|
|
1099
|
-
import { jsx as
|
|
500
|
+
import { jsx as jsx117 } from "react/jsx-runtime";
|
|
1100
501
|
|
|
1101
502
|
// src/tokens/svg/misc/AnchorIcon.tsx
|
|
1102
|
-
import { jsx as
|
|
503
|
+
import { jsx as jsx118, jsxs as jsxs83 } from "react/jsx-runtime";
|
|
1103
504
|
|
|
1104
505
|
// src/tokens/svg/misc/ApertureIcon.tsx
|
|
1105
|
-
import { jsx as
|
|
506
|
+
import { jsx as jsx119, jsxs as jsxs84 } from "react/jsx-runtime";
|
|
1106
507
|
|
|
1107
508
|
// src/tokens/svg/misc/AwardIcon.tsx
|
|
1108
|
-
import { jsx as
|
|
509
|
+
import { jsx as jsx120 } from "react/jsx-runtime";
|
|
1109
510
|
|
|
1110
511
|
// src/tokens/svg/misc/BellIcon.tsx
|
|
1111
|
-
import { jsx as
|
|
512
|
+
import { jsx as jsx121, jsxs as jsxs85 } from "react/jsx-runtime";
|
|
1112
513
|
|
|
1113
514
|
// src/tokens/svg/misc/BellOffIcon.tsx
|
|
1114
|
-
import { jsx as
|
|
515
|
+
import { jsx as jsx122, jsxs as jsxs86 } from "react/jsx-runtime";
|
|
1115
516
|
|
|
1116
517
|
// src/tokens/svg/misc/BoxIcon.tsx
|
|
1117
|
-
import { jsx as
|
|
518
|
+
import { jsx as jsx123 } from "react/jsx-runtime";
|
|
1118
519
|
|
|
1119
520
|
// src/tokens/svg/misc/BriefcaseIcon.tsx
|
|
1120
|
-
import { jsx as
|
|
521
|
+
import { jsx as jsx124 } from "react/jsx-runtime";
|
|
1121
522
|
|
|
1122
523
|
// src/tokens/svg/misc/CloudDrizzleIcon.tsx
|
|
1123
|
-
import { jsx as
|
|
524
|
+
import { jsx as jsx125, jsxs as jsxs87 } from "react/jsx-runtime";
|
|
1124
525
|
|
|
1125
526
|
// src/tokens/svg/misc/CloudIcon.tsx
|
|
1126
|
-
import { jsx as
|
|
527
|
+
import { jsx as jsx126 } from "react/jsx-runtime";
|
|
1127
528
|
|
|
1128
529
|
// src/tokens/svg/misc/CloudLightningIcon.tsx
|
|
1129
|
-
import { jsx as
|
|
530
|
+
import { jsx as jsx127, jsxs as jsxs88 } from "react/jsx-runtime";
|
|
1130
531
|
|
|
1131
532
|
// src/tokens/svg/misc/CloudOffIcon.tsx
|
|
1132
|
-
import { jsx as
|
|
533
|
+
import { jsx as jsx128, jsxs as jsxs89 } from "react/jsx-runtime";
|
|
1133
534
|
|
|
1134
535
|
// src/tokens/svg/misc/CloudRainIcon.tsx
|
|
1135
|
-
import { jsx as
|
|
536
|
+
import { jsx as jsx129, jsxs as jsxs90 } from "react/jsx-runtime";
|
|
1136
537
|
|
|
1137
538
|
// src/tokens/svg/misc/CloudSnowIcon.tsx
|
|
1138
|
-
import { jsx as
|
|
539
|
+
import { jsx as jsx130, jsxs as jsxs91 } from "react/jsx-runtime";
|
|
1139
540
|
|
|
1140
541
|
// src/tokens/svg/misc/CoffeeIcon.tsx
|
|
1141
|
-
import { jsx as
|
|
542
|
+
import { jsx as jsx131, jsxs as jsxs92 } from "react/jsx-runtime";
|
|
1142
543
|
|
|
1143
544
|
// src/tokens/svg/misc/CreditCardIcon.tsx
|
|
1144
|
-
import { jsx as
|
|
545
|
+
import { jsx as jsx132 } from "react/jsx-runtime";
|
|
1145
546
|
|
|
1146
547
|
// src/tokens/svg/misc/CrosshairIcon.tsx
|
|
1147
|
-
import { jsx as
|
|
548
|
+
import { jsx as jsx133, jsxs as jsxs93 } from "react/jsx-runtime";
|
|
1148
549
|
|
|
1149
550
|
// src/tokens/svg/misc/DollarSignIcon.tsx
|
|
1150
|
-
import { jsx as
|
|
551
|
+
import { jsx as jsx134 } from "react/jsx-runtime";
|
|
1151
552
|
|
|
1152
553
|
// src/tokens/svg/misc/DropletIcon.tsx
|
|
1153
|
-
import { jsx as
|
|
554
|
+
import { jsx as jsx135 } from "react/jsx-runtime";
|
|
1154
555
|
|
|
1155
556
|
// src/tokens/svg/misc/FeatherIcon.tsx
|
|
1156
|
-
import { jsx as
|
|
557
|
+
import { jsx as jsx136, jsxs as jsxs94 } from "react/jsx-runtime";
|
|
1157
558
|
|
|
1158
559
|
// src/tokens/svg/misc/FlagIcon.tsx
|
|
1159
|
-
import { jsx as
|
|
560
|
+
import { jsx as jsx137 } from "react/jsx-runtime";
|
|
1160
561
|
|
|
1161
562
|
// src/tokens/svg/misc/FrownIcon.tsx
|
|
1162
|
-
import { jsx as
|
|
563
|
+
import { jsx as jsx138, jsxs as jsxs95 } from "react/jsx-runtime";
|
|
1163
564
|
|
|
1164
565
|
// src/tokens/svg/misc/GiftIcon.tsx
|
|
1165
|
-
import { jsx as
|
|
566
|
+
import { jsx as jsx139, jsxs as jsxs96 } from "react/jsx-runtime";
|
|
1166
567
|
|
|
1167
568
|
// src/tokens/svg/misc/GitBranchIcon.tsx
|
|
1168
|
-
import { jsx as
|
|
569
|
+
import { jsx as jsx140 } from "react/jsx-runtime";
|
|
1169
570
|
|
|
1170
571
|
// src/tokens/svg/misc/GitCommitIcon.tsx
|
|
1171
|
-
import { jsx as
|
|
572
|
+
import { jsx as jsx141 } from "react/jsx-runtime";
|
|
1172
573
|
|
|
1173
574
|
// src/tokens/svg/misc/GitMergeIcon.tsx
|
|
1174
|
-
import { jsx as
|
|
575
|
+
import { jsx as jsx142 } from "react/jsx-runtime";
|
|
1175
576
|
|
|
1176
577
|
// src/tokens/svg/misc/GitPullRequestIcon.tsx
|
|
1177
|
-
import { jsx as
|
|
578
|
+
import { jsx as jsx143, jsxs as jsxs97 } from "react/jsx-runtime";
|
|
1178
579
|
|
|
1179
580
|
// src/tokens/svg/misc/GlobeIcon.tsx
|
|
1180
|
-
import { jsx as
|
|
581
|
+
import { jsx as jsx144, jsxs as jsxs98 } from "react/jsx-runtime";
|
|
1181
582
|
|
|
1182
583
|
// src/tokens/svg/misc/HeartIcon.tsx
|
|
1183
|
-
import { jsx as
|
|
584
|
+
import { jsx as jsx145 } from "react/jsx-runtime";
|
|
1184
585
|
|
|
1185
586
|
// src/tokens/svg/misc/HomeIcon.tsx
|
|
1186
|
-
import { jsx as
|
|
587
|
+
import { jsx as jsx146 } from "react/jsx-runtime";
|
|
1187
588
|
|
|
1188
589
|
// src/tokens/svg/misc/InboxIcon.tsx
|
|
1189
|
-
import { jsx as
|
|
590
|
+
import { jsx as jsx147 } from "react/jsx-runtime";
|
|
1190
591
|
|
|
1191
592
|
// src/tokens/svg/misc/LayersIcon.tsx
|
|
1192
|
-
import { jsx as
|
|
593
|
+
import { jsx as jsx148, jsxs as jsxs99 } from "react/jsx-runtime";
|
|
1193
594
|
|
|
1194
595
|
// src/tokens/svg/misc/LifeBuoyIcon.tsx
|
|
1195
|
-
import { jsx as
|
|
596
|
+
import { jsx as jsx149, jsxs as jsxs100 } from "react/jsx-runtime";
|
|
1196
597
|
|
|
1197
598
|
// src/tokens/svg/misc/MehIcon.tsx
|
|
1198
|
-
import { jsx as
|
|
599
|
+
import { jsx as jsx150, jsxs as jsxs101 } from "react/jsx-runtime";
|
|
1199
600
|
|
|
1200
601
|
// src/tokens/svg/misc/MessageCircleIcon.tsx
|
|
1201
|
-
import { jsx as
|
|
602
|
+
import { jsx as jsx151 } from "react/jsx-runtime";
|
|
1202
603
|
|
|
1203
604
|
// src/tokens/svg/misc/MessageSquareIcon.tsx
|
|
1204
|
-
import { jsx as
|
|
605
|
+
import { jsx as jsx152 } from "react/jsx-runtime";
|
|
1205
606
|
|
|
1206
607
|
// src/tokens/svg/misc/MoonIcon.tsx
|
|
1207
|
-
import { jsx as
|
|
608
|
+
import { jsx as jsx153 } from "react/jsx-runtime";
|
|
1208
609
|
|
|
1209
610
|
// src/tokens/svg/misc/MousePointerIcon.tsx
|
|
1210
|
-
import { jsx as
|
|
611
|
+
import { jsx as jsx154 } from "react/jsx-runtime";
|
|
1211
612
|
|
|
1212
613
|
// src/tokens/svg/misc/PaperclipIcon.tsx
|
|
1213
|
-
import { jsx as
|
|
614
|
+
import { jsx as jsx155 } from "react/jsx-runtime";
|
|
1214
615
|
|
|
1215
616
|
// src/tokens/svg/misc/PocketIcon.tsx
|
|
1216
|
-
import { jsx as
|
|
617
|
+
import { jsx as jsx156, jsxs as jsxs102 } from "react/jsx-runtime";
|
|
1217
618
|
|
|
1218
619
|
// src/tokens/svg/misc/PowerIcon.tsx
|
|
1219
|
-
import { jsx as
|
|
620
|
+
import { jsx as jsx157, jsxs as jsxs103 } from "react/jsx-runtime";
|
|
1220
621
|
|
|
1221
622
|
// src/tokens/svg/misc/RadioIcon.tsx
|
|
1222
|
-
import { jsx as
|
|
623
|
+
import { jsx as jsx158, jsxs as jsxs104 } from "react/jsx-runtime";
|
|
1223
624
|
|
|
1224
625
|
// src/tokens/svg/misc/ShieldIcon.tsx
|
|
1225
|
-
import { jsx as
|
|
626
|
+
import { jsx as jsx159 } from "react/jsx-runtime";
|
|
1226
627
|
|
|
1227
628
|
// src/tokens/svg/misc/ShieldOffIcon.tsx
|
|
1228
|
-
import { jsx as
|
|
629
|
+
import { jsx as jsx160, jsxs as jsxs105 } from "react/jsx-runtime";
|
|
1229
630
|
|
|
1230
631
|
// src/tokens/svg/misc/ShoppingBagIcon.tsx
|
|
1231
|
-
import { jsx as
|
|
632
|
+
import { jsx as jsx161, jsxs as jsxs106 } from "react/jsx-runtime";
|
|
1232
633
|
|
|
1233
634
|
// src/tokens/svg/misc/ShoppingCartIcon.tsx
|
|
1234
|
-
import { jsx as
|
|
635
|
+
import { jsx as jsx162, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
1235
636
|
|
|
1236
637
|
// src/tokens/svg/misc/ShuffleIcon.tsx
|
|
1237
|
-
import { jsx as
|
|
638
|
+
import { jsx as jsx163, jsxs as jsxs108 } from "react/jsx-runtime";
|
|
1238
639
|
|
|
1239
640
|
// src/tokens/svg/misc/SmileIcon.tsx
|
|
1240
|
-
import { jsx as
|
|
641
|
+
import { jsx as jsx164, jsxs as jsxs109 } from "react/jsx-runtime";
|
|
1241
642
|
|
|
1242
643
|
// src/tokens/svg/misc/StarIcon.tsx
|
|
1243
|
-
import { jsx as
|
|
644
|
+
import { jsx as jsx165 } from "react/jsx-runtime";
|
|
1244
645
|
|
|
1245
646
|
// src/tokens/svg/misc/SunIcon.tsx
|
|
1246
|
-
import { jsx as
|
|
647
|
+
import { jsx as jsx166, jsxs as jsxs110 } from "react/jsx-runtime";
|
|
1247
648
|
|
|
1248
649
|
// src/tokens/svg/misc/TagIcon.tsx
|
|
1249
|
-
import { jsx as
|
|
650
|
+
import { jsx as jsx167, jsxs as jsxs111 } from "react/jsx-runtime";
|
|
1250
651
|
|
|
1251
652
|
// src/tokens/svg/misc/TargetIcon.tsx
|
|
1252
|
-
import { jsx as
|
|
653
|
+
import { jsx as jsx168, jsxs as jsxs112 } from "react/jsx-runtime";
|
|
1253
654
|
|
|
1254
655
|
// src/tokens/svg/misc/ThermometerIcon.tsx
|
|
1255
|
-
import { jsx as
|
|
656
|
+
import { jsx as jsx169 } from "react/jsx-runtime";
|
|
1256
657
|
|
|
1257
658
|
// src/tokens/svg/misc/ThumbsDownIcon.tsx
|
|
1258
|
-
import { jsx as
|
|
659
|
+
import { jsx as jsx170 } from "react/jsx-runtime";
|
|
1259
660
|
|
|
1260
661
|
// src/tokens/svg/misc/ThumbsUpIcon.tsx
|
|
1261
|
-
import { jsx as
|
|
662
|
+
import { jsx as jsx171 } from "react/jsx-runtime";
|
|
1262
663
|
|
|
1263
664
|
// src/tokens/svg/misc/ToolIcon.tsx
|
|
1264
|
-
import { jsx as
|
|
665
|
+
import { jsx as jsx172 } from "react/jsx-runtime";
|
|
1265
666
|
|
|
1266
667
|
// src/tokens/svg/misc/TruckIcon.tsx
|
|
1267
|
-
import { jsx as
|
|
668
|
+
import { jsx as jsx173 } from "react/jsx-runtime";
|
|
1268
669
|
|
|
1269
670
|
// src/tokens/svg/misc/UmbrellaIcon.tsx
|
|
1270
|
-
import { jsx as
|
|
671
|
+
import { jsx as jsx174, jsxs as jsxs113 } from "react/jsx-runtime";
|
|
1271
672
|
|
|
1272
673
|
// src/tokens/svg/misc/WindIcon.tsx
|
|
1273
|
-
import { jsx as
|
|
674
|
+
import { jsx as jsx175, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
1274
675
|
|
|
1275
676
|
// src/tokens/svg/misc/ZapIcon.tsx
|
|
1276
|
-
import { jsx as
|
|
677
|
+
import { jsx as jsx176 } from "react/jsx-runtime";
|
|
1277
678
|
|
|
1278
679
|
// src/tokens/svg/misc/ZapOffIcon.tsx
|
|
1279
|
-
import { jsx as
|
|
680
|
+
import { jsx as jsx177, jsxs as jsxs115 } from "react/jsx-runtime";
|
|
1280
681
|
|
|
1281
682
|
// src/tokens/svg/Input/CloseEyeIcon.tsx
|
|
1282
|
-
import { jsx as
|
|
1283
|
-
var CloseEyeIcon = () => /* @__PURE__ */
|
|
683
|
+
import { jsx as jsx178, jsxs as jsxs116 } from "react/jsx-runtime";
|
|
684
|
+
var CloseEyeIcon = () => /* @__PURE__ */ jsxs116(
|
|
1284
685
|
"svg",
|
|
1285
686
|
{
|
|
1286
687
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1289,7 +690,7 @@ var CloseEyeIcon = () => /* @__PURE__ */ jsxs121(
|
|
|
1289
690
|
viewBox: "0 0 20 20",
|
|
1290
691
|
fill: "none",
|
|
1291
692
|
children: [
|
|
1292
|
-
/* @__PURE__ */
|
|
693
|
+
/* @__PURE__ */ jsx178(
|
|
1293
694
|
"path",
|
|
1294
695
|
{
|
|
1295
696
|
fillRule: "evenodd",
|
|
@@ -1298,7 +699,7 @@ var CloseEyeIcon = () => /* @__PURE__ */ jsxs121(
|
|
|
1298
699
|
fill: "currentColor"
|
|
1299
700
|
}
|
|
1300
701
|
),
|
|
1301
|
-
/* @__PURE__ */
|
|
702
|
+
/* @__PURE__ */ jsx178(
|
|
1302
703
|
"path",
|
|
1303
704
|
{
|
|
1304
705
|
d: "M9.91701 2.5008C13.1328 2.5011 15.609 4.33645 17.2344 6.07014C18.0538 6.94422 18.6805 7.81555 19.1016 8.4676C19.3125 8.79427 19.473 9.06857 19.582 9.26252C19.6366 9.35947 19.6784 9.43688 19.707 9.49103C19.7213 9.51797 19.7325 9.53938 19.7402 9.55451C19.744 9.56183 19.7478 9.5677 19.75 9.57209L19.7539 9.5799L19.7901 9.66486C19.8604 9.86248 19.8453 10.0829 19.7451 10.2703C19.2148 11.2625 18.5817 12.1966 17.8574 13.0574C17.5908 13.3743 17.1177 13.4147 16.8008 13.1483C16.4839 12.8816 16.4424 12.4085 16.709 12.0916C17.2798 11.4133 17.7876 10.6845 18.2266 9.91486C18.1327 9.75115 18.0048 9.53442 17.8418 9.28205C17.4558 8.68431 16.8833 7.88875 16.1406 7.0965C14.6413 5.49721 12.5337 4.00013 9.91701 3.99982H9.91505C9.3843 3.99858 8.85471 4.05957 8.33791 4.18049C7.93468 4.27487 7.53105 4.02408 7.43654 3.62092C7.34213 3.21761 7.5928 2.81396 7.99611 2.71955C8.62561 2.57227 9.27051 2.49939 9.91701 2.5008Z",
|
|
@@ -1311,14 +712,14 @@ var CloseEyeIcon = () => /* @__PURE__ */ jsxs121(
|
|
|
1311
712
|
var CloseEyeIcon_default = CloseEyeIcon;
|
|
1312
713
|
|
|
1313
714
|
// src/tokens/svg/Input/EyeIcon.tsx
|
|
1314
|
-
import { jsx as
|
|
715
|
+
import { jsx as jsx179, jsxs as jsxs117 } from "react/jsx-runtime";
|
|
1315
716
|
|
|
1316
717
|
// src/tokens/svg/Input/EyeOffIcon.tsx
|
|
1317
|
-
import { jsx as
|
|
718
|
+
import { jsx as jsx180, jsxs as jsxs118 } from "react/jsx-runtime";
|
|
1318
719
|
|
|
1319
720
|
// src/tokens/svg/Input/OpenEyeIcon.tsx
|
|
1320
|
-
import { jsx as
|
|
1321
|
-
var OpenEyeIcon = () => /* @__PURE__ */
|
|
721
|
+
import { jsx as jsx181, jsxs as jsxs119 } from "react/jsx-runtime";
|
|
722
|
+
var OpenEyeIcon = () => /* @__PURE__ */ jsxs119(
|
|
1322
723
|
"svg",
|
|
1323
724
|
{
|
|
1324
725
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1327,7 +728,7 @@ var OpenEyeIcon = () => /* @__PURE__ */ jsxs124(
|
|
|
1327
728
|
viewBox: "0 0 20 20",
|
|
1328
729
|
fill: "none",
|
|
1329
730
|
children: [
|
|
1330
|
-
/* @__PURE__ */
|
|
731
|
+
/* @__PURE__ */ jsx181(
|
|
1331
732
|
"path",
|
|
1332
733
|
{
|
|
1333
734
|
fillRule: "evenodd",
|
|
@@ -1336,7 +737,7 @@ var OpenEyeIcon = () => /* @__PURE__ */ jsxs124(
|
|
|
1336
737
|
fill: "currentColor"
|
|
1337
738
|
}
|
|
1338
739
|
),
|
|
1339
|
-
/* @__PURE__ */
|
|
740
|
+
/* @__PURE__ */ jsx181(
|
|
1340
741
|
"path",
|
|
1341
742
|
{
|
|
1342
743
|
fillRule: "evenodd",
|
|
@@ -1351,140 +752,140 @@ var OpenEyeIcon = () => /* @__PURE__ */ jsxs124(
|
|
|
1351
752
|
var OpenEyeIcon_default = OpenEyeIcon;
|
|
1352
753
|
|
|
1353
754
|
// src/tokens/svg/navigation/ArrowDownCircleIcon.tsx
|
|
1354
|
-
import { jsx as
|
|
755
|
+
import { jsx as jsx182, jsxs as jsxs120 } from "react/jsx-runtime";
|
|
1355
756
|
|
|
1356
757
|
// src/tokens/svg/navigation/ArrowDownIcon.tsx
|
|
1357
|
-
import { jsx as
|
|
758
|
+
import { jsx as jsx183 } from "react/jsx-runtime";
|
|
1358
759
|
|
|
1359
760
|
// src/tokens/svg/navigation/ArrowDownLeftIcon.tsx
|
|
1360
|
-
import { jsx as
|
|
761
|
+
import { jsx as jsx184 } from "react/jsx-runtime";
|
|
1361
762
|
|
|
1362
763
|
// src/tokens/svg/navigation/ArrowDownRightIcon.tsx
|
|
1363
|
-
import { jsx as
|
|
764
|
+
import { jsx as jsx185 } from "react/jsx-runtime";
|
|
1364
765
|
|
|
1365
766
|
// src/tokens/svg/navigation/ArrowLeftCircleIcon.tsx
|
|
1366
|
-
import { jsx as
|
|
767
|
+
import { jsx as jsx186, jsxs as jsxs121 } from "react/jsx-runtime";
|
|
1367
768
|
|
|
1368
769
|
// src/tokens/svg/navigation/ArrowLeftIcon.tsx
|
|
1369
|
-
import { jsx as
|
|
770
|
+
import { jsx as jsx187 } from "react/jsx-runtime";
|
|
1370
771
|
|
|
1371
772
|
// src/tokens/svg/navigation/ArrowRightCircleIcon.tsx
|
|
1372
|
-
import { jsx as
|
|
773
|
+
import { jsx as jsx188, jsxs as jsxs122 } from "react/jsx-runtime";
|
|
1373
774
|
|
|
1374
775
|
// src/tokens/svg/navigation/ArrowRightIcon.tsx
|
|
1375
|
-
import { jsx as
|
|
776
|
+
import { jsx as jsx189 } from "react/jsx-runtime";
|
|
1376
777
|
|
|
1377
778
|
// src/tokens/svg/navigation/ArrowUpCircleIcon.tsx
|
|
1378
|
-
import { jsx as
|
|
779
|
+
import { jsx as jsx190, jsxs as jsxs123 } from "react/jsx-runtime";
|
|
1379
780
|
|
|
1380
781
|
// src/tokens/svg/navigation/ArrowUpIcon.tsx
|
|
1381
|
-
import { jsx as
|
|
782
|
+
import { jsx as jsx191 } from "react/jsx-runtime";
|
|
1382
783
|
|
|
1383
784
|
// src/tokens/svg/navigation/ArrowUpLeftIcon.tsx
|
|
1384
|
-
import { jsx as
|
|
785
|
+
import { jsx as jsx192 } from "react/jsx-runtime";
|
|
1385
786
|
|
|
1386
787
|
// src/tokens/svg/navigation/ArrowUpRightIcon.tsx
|
|
1387
|
-
import { jsx as
|
|
788
|
+
import { jsx as jsx193 } from "react/jsx-runtime";
|
|
1388
789
|
|
|
1389
790
|
// src/tokens/svg/navigation/CompassIcon.tsx
|
|
1390
|
-
import { jsx as
|
|
791
|
+
import { jsx as jsx194, jsxs as jsxs124 } from "react/jsx-runtime";
|
|
1391
792
|
|
|
1392
793
|
// src/tokens/svg/navigation/CornerDownLeftIcon.tsx
|
|
1393
|
-
import { jsx as
|
|
794
|
+
import { jsx as jsx195 } from "react/jsx-runtime";
|
|
1394
795
|
|
|
1395
796
|
// src/tokens/svg/navigation/CornerDownRightIcon.tsx
|
|
1396
|
-
import { jsx as
|
|
797
|
+
import { jsx as jsx196 } from "react/jsx-runtime";
|
|
1397
798
|
|
|
1398
799
|
// src/tokens/svg/navigation/CornerLeftDownIcon.tsx
|
|
1399
|
-
import { jsx as
|
|
800
|
+
import { jsx as jsx197 } from "react/jsx-runtime";
|
|
1400
801
|
|
|
1401
802
|
// src/tokens/svg/navigation/CornerLeftUpIcon.tsx
|
|
1402
|
-
import { jsx as
|
|
803
|
+
import { jsx as jsx198 } from "react/jsx-runtime";
|
|
1403
804
|
|
|
1404
805
|
// src/tokens/svg/navigation/CornerRightDownIcon.tsx
|
|
1405
|
-
import { jsx as
|
|
806
|
+
import { jsx as jsx199 } from "react/jsx-runtime";
|
|
1406
807
|
|
|
1407
808
|
// src/tokens/svg/navigation/CornerRightUpIcon.tsx
|
|
1408
|
-
import { jsx as
|
|
809
|
+
import { jsx as jsx200 } from "react/jsx-runtime";
|
|
1409
810
|
|
|
1410
811
|
// src/tokens/svg/navigation/CornerUpLeftIcon.tsx
|
|
1411
|
-
import { jsx as
|
|
812
|
+
import { jsx as jsx201 } from "react/jsx-runtime";
|
|
1412
813
|
|
|
1413
814
|
// src/tokens/svg/navigation/CornerUpRightIcon.tsx
|
|
1414
|
-
import { jsx as
|
|
815
|
+
import { jsx as jsx202 } from "react/jsx-runtime";
|
|
1415
816
|
|
|
1416
817
|
// src/tokens/svg/navigation/MapIcon.tsx
|
|
1417
|
-
import { jsx as
|
|
818
|
+
import { jsx as jsx203, jsxs as jsxs125 } from "react/jsx-runtime";
|
|
1418
819
|
|
|
1419
820
|
// src/tokens/svg/navigation/MapPinIcon.tsx
|
|
1420
|
-
import { jsx as
|
|
821
|
+
import { jsx as jsx204, jsxs as jsxs126 } from "react/jsx-runtime";
|
|
1421
822
|
|
|
1422
823
|
// src/tokens/svg/navigation/Navigation2Icon.tsx
|
|
1423
|
-
import { jsx as
|
|
824
|
+
import { jsx as jsx205 } from "react/jsx-runtime";
|
|
1424
825
|
|
|
1425
826
|
// src/tokens/svg/navigation/NavigationIcon.tsx
|
|
1426
|
-
import { jsx as
|
|
827
|
+
import { jsx as jsx206 } from "react/jsx-runtime";
|
|
1427
828
|
|
|
1428
829
|
// src/tokens/svg/social/ChromeIcon.tsx
|
|
1429
|
-
import { jsx as
|
|
830
|
+
import { jsx as jsx207, jsxs as jsxs127 } from "react/jsx-runtime";
|
|
1430
831
|
|
|
1431
832
|
// src/tokens/svg/social/CodepenIcon.tsx
|
|
1432
|
-
import { jsx as
|
|
833
|
+
import { jsx as jsx208, jsxs as jsxs128 } from "react/jsx-runtime";
|
|
1433
834
|
|
|
1434
835
|
// src/tokens/svg/social/CodesandboxIcon.tsx
|
|
1435
|
-
import { jsx as
|
|
836
|
+
import { jsx as jsx209 } from "react/jsx-runtime";
|
|
1436
837
|
|
|
1437
838
|
// src/tokens/svg/social/DribbbleIcon.tsx
|
|
1438
|
-
import { jsx as
|
|
839
|
+
import { jsx as jsx210, jsxs as jsxs129 } from "react/jsx-runtime";
|
|
1439
840
|
|
|
1440
841
|
// src/tokens/svg/social/FacebookIcon.tsx
|
|
1441
|
-
import { jsx as
|
|
842
|
+
import { jsx as jsx211 } from "react/jsx-runtime";
|
|
1442
843
|
|
|
1443
844
|
// src/tokens/svg/social/FigmaIcon.tsx
|
|
1444
|
-
import { jsx as
|
|
845
|
+
import { jsx as jsx212 } from "react/jsx-runtime";
|
|
1445
846
|
|
|
1446
847
|
// src/tokens/svg/social/FramerIcon.tsx
|
|
1447
|
-
import { jsx as
|
|
848
|
+
import { jsx as jsx213 } from "react/jsx-runtime";
|
|
1448
849
|
|
|
1449
850
|
// src/tokens/svg/social/GithubIcon.tsx
|
|
1450
|
-
import { jsx as
|
|
851
|
+
import { jsx as jsx214 } from "react/jsx-runtime";
|
|
1451
852
|
|
|
1452
853
|
// src/tokens/svg/social/GitlabIcon.tsx
|
|
1453
|
-
import { jsx as
|
|
854
|
+
import { jsx as jsx215, jsxs as jsxs130 } from "react/jsx-runtime";
|
|
1454
855
|
|
|
1455
856
|
// src/tokens/svg/social/InstagramIcon.tsx
|
|
1456
|
-
import { jsx as
|
|
857
|
+
import { jsx as jsx216, jsxs as jsxs131 } from "react/jsx-runtime";
|
|
1457
858
|
|
|
1458
859
|
// src/tokens/svg/social/LinkedinIcon.tsx
|
|
1459
|
-
import { jsx as
|
|
860
|
+
import { jsx as jsx217, jsxs as jsxs132 } from "react/jsx-runtime";
|
|
1460
861
|
|
|
1461
862
|
// src/tokens/svg/social/RssIcon.tsx
|
|
1462
|
-
import { jsx as
|
|
863
|
+
import { jsx as jsx218, jsxs as jsxs133 } from "react/jsx-runtime";
|
|
1463
864
|
|
|
1464
865
|
// src/tokens/svg/social/SlackIcon.tsx
|
|
1465
|
-
import { jsx as
|
|
866
|
+
import { jsx as jsx219, jsxs as jsxs134 } from "react/jsx-runtime";
|
|
1466
867
|
|
|
1467
868
|
// src/tokens/svg/social/TrelloIcon.tsx
|
|
1468
|
-
import { jsx as
|
|
869
|
+
import { jsx as jsx220, jsxs as jsxs135 } from "react/jsx-runtime";
|
|
1469
870
|
|
|
1470
871
|
// src/tokens/svg/social/TwitchIcon.tsx
|
|
1471
|
-
import { jsx as
|
|
872
|
+
import { jsx as jsx221, jsxs as jsxs136 } from "react/jsx-runtime";
|
|
1472
873
|
|
|
1473
874
|
// src/tokens/svg/social/TwitterIcon.tsx
|
|
1474
|
-
import { jsx as
|
|
875
|
+
import { jsx as jsx222 } from "react/jsx-runtime";
|
|
1475
876
|
|
|
1476
877
|
// src/tokens/svg/social/YoutubeIcon.tsx
|
|
1477
|
-
import { jsx as
|
|
878
|
+
import { jsx as jsx223, jsxs as jsxs137 } from "react/jsx-runtime";
|
|
1478
879
|
|
|
1479
880
|
// src/tokens/svg/ui/AtSignIcon.tsx
|
|
1480
|
-
import { jsx as
|
|
881
|
+
import { jsx as jsx224, jsxs as jsxs138 } from "react/jsx-runtime";
|
|
1481
882
|
|
|
1482
883
|
// src/tokens/svg/ui/CheckCircleIcon.tsx
|
|
1483
|
-
import { jsx as
|
|
884
|
+
import { jsx as jsx225, jsxs as jsxs139 } from "react/jsx-runtime";
|
|
1484
885
|
|
|
1485
886
|
// src/tokens/svg/ui/CheckIcon.tsx
|
|
1486
|
-
import { jsx as
|
|
1487
|
-
var CheckIcon = () => /* @__PURE__ */
|
|
887
|
+
import { jsx as jsx226 } from "react/jsx-runtime";
|
|
888
|
+
var CheckIcon = () => /* @__PURE__ */ jsx226(
|
|
1488
889
|
"svg",
|
|
1489
890
|
{
|
|
1490
891
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1492,7 +893,7 @@ var CheckIcon = () => /* @__PURE__ */ jsx234(
|
|
|
1492
893
|
height: "1em",
|
|
1493
894
|
viewBox: "0 0 12 9",
|
|
1494
895
|
fill: "none",
|
|
1495
|
-
children: /* @__PURE__ */
|
|
896
|
+
children: /* @__PURE__ */ jsx226(
|
|
1496
897
|
"path",
|
|
1497
898
|
{
|
|
1498
899
|
d: "M10.842 0.175637C11.0762 -0.0586118 11.4561 -0.0584793 11.6904 0.175637C11.9247 0.409951 11.9247 0.78976 11.6904 1.02407L4.35759 8.35767C4.24516 8.46996 4.09228 8.53338 3.93338 8.53345C3.77449 8.53336 3.62157 8.46994 3.50916 8.35767L0.175563 5.02407C-0.0585904 4.78985 -0.0584518 4.40995 0.175563 4.17564C0.409855 3.94135 0.789681 3.94139 1.024 4.17564L3.93259 7.08423L10.842 0.175637Z",
|
|
@@ -1504,11 +905,11 @@ var CheckIcon = () => /* @__PURE__ */ jsx234(
|
|
|
1504
905
|
var CheckIcon_default = CheckIcon;
|
|
1505
906
|
|
|
1506
907
|
// src/tokens/svg/ui/CheckSquareIcon.tsx
|
|
1507
|
-
import { jsx as
|
|
908
|
+
import { jsx as jsx227, jsxs as jsxs140 } from "react/jsx-runtime";
|
|
1508
909
|
|
|
1509
910
|
// src/tokens/svg/ui/ChevronDownIcon.tsx
|
|
1510
|
-
import { jsx as
|
|
1511
|
-
var ChevronDownIcon = () => /* @__PURE__ */
|
|
911
|
+
import { jsx as jsx228 } from "react/jsx-runtime";
|
|
912
|
+
var ChevronDownIcon = () => /* @__PURE__ */ jsx228(
|
|
1512
913
|
"svg",
|
|
1513
914
|
{
|
|
1514
915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1516,7 +917,7 @@ var ChevronDownIcon = () => /* @__PURE__ */ jsx236(
|
|
|
1516
917
|
height: "1em",
|
|
1517
918
|
viewBox: "0 0 20 20",
|
|
1518
919
|
fill: "none",
|
|
1519
|
-
children: /* @__PURE__ */
|
|
920
|
+
children: /* @__PURE__ */ jsx228(
|
|
1520
921
|
"path",
|
|
1521
922
|
{
|
|
1522
923
|
d: "M14.4698 6.96967C14.7627 6.67678 15.2374 6.67678 15.5303 6.96967C15.8232 7.26257 15.8232 7.73734 15.5303 8.03022L10.5303 13.0302C10.2375 13.3231 9.76269 13.3231 9.46979 13.0302L4.46979 8.03022C4.1769 7.73732 4.1769 7.26256 4.46979 6.96967C4.76269 6.67678 5.23745 6.67678 5.53034 6.96967L10.0001 11.4394L14.4698 6.96967Z",
|
|
@@ -1528,194 +929,230 @@ var ChevronDownIcon = () => /* @__PURE__ */ jsx236(
|
|
|
1528
929
|
var ChevronDownIcon_default = ChevronDownIcon;
|
|
1529
930
|
|
|
1530
931
|
// src/tokens/svg/ui/ChevronLeftIcon.tsx
|
|
1531
|
-
import { jsx as
|
|
932
|
+
import { jsx as jsx229 } from "react/jsx-runtime";
|
|
933
|
+
var ChevronLeftIcon = () => /* @__PURE__ */ jsx229(
|
|
934
|
+
"svg",
|
|
935
|
+
{
|
|
936
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
937
|
+
width: "1em",
|
|
938
|
+
height: "1em",
|
|
939
|
+
viewBox: "0 0 20 20",
|
|
940
|
+
fill: "none",
|
|
941
|
+
children: /* @__PURE__ */ jsx229("path", { d: "M11.9697 4.46978C12.2626 4.17689 12.7373 4.17689 13.0302 4.46978C13.3231 4.76268 13.3231 5.23746 13.0302 5.53033L8.56049 10.0001L13.0302 14.4698C13.3231 14.7627 13.3231 15.2375 13.0302 15.5303C12.7373 15.8232 12.2626 15.8232 11.9697 15.5303L6.96967 10.5303C6.67678 10.2374 6.67678 9.76268 6.96967 9.46978L11.9697 4.46978Z", fill: "currentColor" })
|
|
942
|
+
}
|
|
943
|
+
);
|
|
944
|
+
var ChevronLeftIcon_default = ChevronLeftIcon;
|
|
1532
945
|
|
|
1533
946
|
// src/tokens/svg/ui/ChevronRightIcon.tsx
|
|
1534
|
-
import { jsx as
|
|
947
|
+
import { jsx as jsx230 } from "react/jsx-runtime";
|
|
948
|
+
var ChevronRightIcon = () => /* @__PURE__ */ jsx230(
|
|
949
|
+
"svg",
|
|
950
|
+
{
|
|
951
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
952
|
+
width: "1em",
|
|
953
|
+
height: "1em",
|
|
954
|
+
viewBox: "0 0 20 20",
|
|
955
|
+
fill: "none",
|
|
956
|
+
children: /* @__PURE__ */ jsx230("path", { d: "M6.96967 4.46978C7.26256 4.17689 7.73732 4.17689 8.03022 4.46978L13.0302 9.46978C13.3231 9.76268 13.3231 10.2375 13.0302 10.5303L8.03022 15.5303C7.73734 15.8232 7.26257 15.8232 6.96967 15.5303C6.67678 15.2374 6.67678 14.7627 6.96967 14.4698L11.4394 10.0001L6.96967 5.53033C6.67678 5.23744 6.67678 4.76268 6.96967 4.46978Z", fill: "currentColor" })
|
|
957
|
+
}
|
|
958
|
+
);
|
|
959
|
+
var ChevronRightIcon_default = ChevronRightIcon;
|
|
1535
960
|
|
|
1536
961
|
// src/tokens/svg/ui/ChevronUpIcon.tsx
|
|
1537
|
-
import { jsx as
|
|
962
|
+
import { jsx as jsx231 } from "react/jsx-runtime";
|
|
1538
963
|
|
|
1539
964
|
// src/tokens/svg/ui/ChevronsDownIcon.tsx
|
|
1540
|
-
import { jsx as
|
|
965
|
+
import { jsx as jsx232, jsxs as jsxs141 } from "react/jsx-runtime";
|
|
1541
966
|
|
|
1542
967
|
// src/tokens/svg/ui/ChevronsLeftIcon.tsx
|
|
1543
|
-
import { jsx as
|
|
968
|
+
import { jsx as jsx233, jsxs as jsxs142 } from "react/jsx-runtime";
|
|
1544
969
|
|
|
1545
970
|
// src/tokens/svg/ui/ChevronsRightIcon.tsx
|
|
1546
|
-
import { jsx as
|
|
971
|
+
import { jsx as jsx234, jsxs as jsxs143 } from "react/jsx-runtime";
|
|
1547
972
|
|
|
1548
973
|
// src/tokens/svg/ui/ChevronsUpIcon.tsx
|
|
1549
|
-
import { jsx as
|
|
974
|
+
import { jsx as jsx235, jsxs as jsxs144 } from "react/jsx-runtime";
|
|
1550
975
|
|
|
1551
976
|
// src/tokens/svg/ui/CircleIcon.tsx
|
|
1552
|
-
import { jsx as
|
|
977
|
+
import { jsx as jsx236, jsxs as jsxs145 } from "react/jsx-runtime";
|
|
1553
978
|
|
|
1554
979
|
// src/tokens/svg/ui/ColumnsIcon.tsx
|
|
1555
|
-
import { jsx as
|
|
980
|
+
import { jsx as jsx237 } from "react/jsx-runtime";
|
|
1556
981
|
|
|
1557
982
|
// src/tokens/svg/ui/DivideCircleIcon.tsx
|
|
1558
|
-
import { jsx as
|
|
983
|
+
import { jsx as jsx238, jsxs as jsxs146 } from "react/jsx-runtime";
|
|
1559
984
|
|
|
1560
985
|
// src/tokens/svg/ui/DivideIcon.tsx
|
|
1561
|
-
import { jsx as
|
|
986
|
+
import { jsx as jsx239, jsxs as jsxs147 } from "react/jsx-runtime";
|
|
1562
987
|
|
|
1563
988
|
// src/tokens/svg/ui/DivideSquareIcon.tsx
|
|
1564
|
-
import { jsx as
|
|
989
|
+
import { jsx as jsx240, jsxs as jsxs148 } from "react/jsx-runtime";
|
|
1565
990
|
|
|
1566
991
|
// src/tokens/svg/ui/GridIcon.tsx
|
|
1567
|
-
import { jsx as
|
|
992
|
+
import { jsx as jsx241, jsxs as jsxs149 } from "react/jsx-runtime";
|
|
1568
993
|
|
|
1569
994
|
// src/tokens/svg/ui/HashIcon.tsx
|
|
1570
|
-
import { jsx as
|
|
995
|
+
import { jsx as jsx242 } from "react/jsx-runtime";
|
|
1571
996
|
|
|
1572
997
|
// src/tokens/svg/ui/HexagonIcon.tsx
|
|
1573
|
-
import { jsx as
|
|
998
|
+
import { jsx as jsx243 } from "react/jsx-runtime";
|
|
1574
999
|
|
|
1575
1000
|
// src/tokens/svg/ui/LayoutIcon.tsx
|
|
1576
|
-
import { jsx as
|
|
1001
|
+
import { jsx as jsx244 } from "react/jsx-runtime";
|
|
1577
1002
|
|
|
1578
1003
|
// src/tokens/svg/ui/ListIcon.tsx
|
|
1579
|
-
import { jsx as
|
|
1004
|
+
import { jsx as jsx245, jsxs as jsxs150 } from "react/jsx-runtime";
|
|
1580
1005
|
|
|
1581
1006
|
// src/tokens/svg/ui/LoaderIcon.tsx
|
|
1582
|
-
import { jsx as
|
|
1007
|
+
import { jsx as jsx246, jsxs as jsxs151 } from "react/jsx-runtime";
|
|
1583
1008
|
|
|
1584
1009
|
// src/tokens/svg/ui/Maximize2Icon.tsx
|
|
1585
|
-
import { jsx as
|
|
1010
|
+
import { jsx as jsx247, jsxs as jsxs152 } from "react/jsx-runtime";
|
|
1586
1011
|
|
|
1587
1012
|
// src/tokens/svg/ui/MaximizeIcon.tsx
|
|
1588
|
-
import { jsx as
|
|
1013
|
+
import { jsx as jsx248, jsxs as jsxs153 } from "react/jsx-runtime";
|
|
1589
1014
|
|
|
1590
1015
|
// src/tokens/svg/ui/MenuIcon.tsx
|
|
1591
|
-
import { jsx as
|
|
1016
|
+
import { jsx as jsx249, jsxs as jsxs154 } from "react/jsx-runtime";
|
|
1592
1017
|
|
|
1593
1018
|
// src/tokens/svg/ui/Minimize2Icon.tsx
|
|
1594
|
-
import { jsx as
|
|
1019
|
+
import { jsx as jsx250, jsxs as jsxs155 } from "react/jsx-runtime";
|
|
1595
1020
|
|
|
1596
1021
|
// src/tokens/svg/ui/MinimizeIcon.tsx
|
|
1597
|
-
import { jsx as
|
|
1022
|
+
import { jsx as jsx251, jsxs as jsxs156 } from "react/jsx-runtime";
|
|
1598
1023
|
|
|
1599
1024
|
// src/tokens/svg/ui/MinusCircleIcon.tsx
|
|
1600
|
-
import { jsx as
|
|
1025
|
+
import { jsx as jsx252, jsxs as jsxs157 } from "react/jsx-runtime";
|
|
1601
1026
|
|
|
1602
1027
|
// src/tokens/svg/ui/MinusIcon.tsx
|
|
1603
|
-
import { jsx as
|
|
1028
|
+
import { jsx as jsx253 } from "react/jsx-runtime";
|
|
1604
1029
|
|
|
1605
1030
|
// src/tokens/svg/ui/MinusSquareIcon.tsx
|
|
1606
|
-
import { jsx as
|
|
1031
|
+
import { jsx as jsx254, jsxs as jsxs158 } from "react/jsx-runtime";
|
|
1607
1032
|
|
|
1608
1033
|
// src/tokens/svg/ui/MoreHorizontalIcon.tsx
|
|
1609
|
-
import { jsx as
|
|
1034
|
+
import { jsx as jsx255, jsxs as jsxs159 } from "react/jsx-runtime";
|
|
1610
1035
|
|
|
1611
1036
|
// src/tokens/svg/ui/MoreVerticalIcon.tsx
|
|
1612
|
-
import { jsx as
|
|
1037
|
+
import { jsx as jsx256, jsxs as jsxs160 } from "react/jsx-runtime";
|
|
1613
1038
|
|
|
1614
1039
|
// src/tokens/svg/ui/OctagonIcon.tsx
|
|
1615
|
-
import { jsx as
|
|
1040
|
+
import { jsx as jsx257, jsxs as jsxs161 } from "react/jsx-runtime";
|
|
1616
1041
|
|
|
1617
1042
|
// src/tokens/svg/ui/PercentIcon.tsx
|
|
1618
|
-
import { jsx as
|
|
1043
|
+
import { jsx as jsx258, jsxs as jsxs162 } from "react/jsx-runtime";
|
|
1619
1044
|
|
|
1620
1045
|
// src/tokens/svg/ui/PlusCircleIcon.tsx
|
|
1621
|
-
import { jsx as
|
|
1046
|
+
import { jsx as jsx259, jsxs as jsxs163 } from "react/jsx-runtime";
|
|
1622
1047
|
|
|
1623
1048
|
// src/tokens/svg/ui/PlusIcon.tsx
|
|
1624
|
-
import { jsx as
|
|
1049
|
+
import { jsx as jsx260 } from "react/jsx-runtime";
|
|
1625
1050
|
|
|
1626
1051
|
// src/tokens/svg/ui/PlusSquareIcon.tsx
|
|
1627
|
-
import { jsx as
|
|
1052
|
+
import { jsx as jsx261, jsxs as jsxs164 } from "react/jsx-runtime";
|
|
1628
1053
|
|
|
1629
1054
|
// src/tokens/svg/ui/SettingsIcon.tsx
|
|
1630
|
-
import { jsx as
|
|
1055
|
+
import { jsx as jsx262, jsxs as jsxs165 } from "react/jsx-runtime";
|
|
1631
1056
|
|
|
1632
1057
|
// src/tokens/svg/ui/SidebarIcon.tsx
|
|
1633
|
-
import { jsx as
|
|
1058
|
+
import { jsx as jsx263 } from "react/jsx-runtime";
|
|
1634
1059
|
|
|
1635
1060
|
// src/tokens/svg/ui/SlashIcon.tsx
|
|
1636
|
-
import { jsx as
|
|
1061
|
+
import { jsx as jsx264, jsxs as jsxs166 } from "react/jsx-runtime";
|
|
1637
1062
|
|
|
1638
1063
|
// src/tokens/svg/ui/SlidersIcon.tsx
|
|
1639
|
-
import { jsx as
|
|
1064
|
+
import { jsx as jsx265, jsxs as jsxs167 } from "react/jsx-runtime";
|
|
1640
1065
|
|
|
1641
1066
|
// src/tokens/svg/ui/SquareIcon.tsx
|
|
1642
|
-
import { jsx as
|
|
1067
|
+
import { jsx as jsx266 } from "react/jsx-runtime";
|
|
1643
1068
|
|
|
1644
1069
|
// src/tokens/svg/ui/ToggleLeftIcon.tsx
|
|
1645
|
-
import { jsx as
|
|
1070
|
+
import { jsx as jsx267, jsxs as jsxs168 } from "react/jsx-runtime";
|
|
1646
1071
|
|
|
1647
1072
|
// src/tokens/svg/ui/ToggleRightIcon.tsx
|
|
1648
|
-
import { jsx as
|
|
1073
|
+
import { jsx as jsx268, jsxs as jsxs169 } from "react/jsx-runtime";
|
|
1649
1074
|
|
|
1650
1075
|
// src/tokens/svg/ui/TriangleIcon.tsx
|
|
1651
|
-
import { jsx as
|
|
1076
|
+
import { jsx as jsx269 } from "react/jsx-runtime";
|
|
1652
1077
|
|
|
1653
1078
|
// src/tokens/svg/ui/XCircleIcon.tsx
|
|
1654
|
-
import { jsx as
|
|
1079
|
+
import { jsx as jsx270, jsxs as jsxs170 } from "react/jsx-runtime";
|
|
1655
1080
|
|
|
1656
1081
|
// src/tokens/svg/ui/XIcon.tsx
|
|
1657
|
-
import { jsx as
|
|
1082
|
+
import { jsx as jsx271 } from "react/jsx-runtime";
|
|
1083
|
+
var XIcon = () => /* @__PURE__ */ jsx271(
|
|
1084
|
+
"svg",
|
|
1085
|
+
{
|
|
1086
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1087
|
+
width: "1em",
|
|
1088
|
+
height: "1em",
|
|
1089
|
+
viewBox: "0 0 20 20",
|
|
1090
|
+
fill: "none",
|
|
1091
|
+
children: /* @__PURE__ */ jsx271("path", { d: "M14.4697 4.46979C14.7626 4.1769 15.2373 4.1769 15.5302 4.46979C15.8231 4.76269 15.8231 5.23746 15.5302 5.53034L11.0605 10.0001L15.5302 14.4698C15.8231 14.7627 15.8231 15.2375 15.5302 15.5303C15.2373 15.8232 14.7626 15.8232 14.4697 15.5303L9.99994 11.0606L5.53022 15.5303C5.23734 15.8232 4.76257 15.8232 4.46967 15.5303C4.17678 15.2374 4.17678 14.7627 4.46967 14.4698L8.9394 10.0001L4.46967 5.53034C4.17678 5.23745 4.17678 4.76269 4.46967 4.46979C4.76256 4.1769 5.23732 4.1769 5.53022 4.46979L9.99994 8.93952L14.4697 4.46979Z", fill: "currentColor" })
|
|
1092
|
+
}
|
|
1093
|
+
);
|
|
1094
|
+
var XIcon_default = XIcon;
|
|
1658
1095
|
|
|
1659
1096
|
// src/tokens/svg/ui/XOctagonIcon.tsx
|
|
1660
|
-
import { jsx as
|
|
1097
|
+
import { jsx as jsx272, jsxs as jsxs171 } from "react/jsx-runtime";
|
|
1661
1098
|
|
|
1662
1099
|
// src/tokens/svg/ui/XSquareIcon.tsx
|
|
1663
|
-
import { jsx as
|
|
1100
|
+
import { jsx as jsx273, jsxs as jsxs172 } from "react/jsx-runtime";
|
|
1664
1101
|
|
|
1665
1102
|
// src/tokens/svg/user/GierIcon.tsx
|
|
1666
|
-
import { jsx as
|
|
1103
|
+
import { jsx as jsx274, jsxs as jsxs173 } from "react/jsx-runtime";
|
|
1667
1104
|
|
|
1668
1105
|
// src/tokens/svg/user/KeyIcon.tsx
|
|
1669
|
-
import { jsx as
|
|
1106
|
+
import { jsx as jsx275 } from "react/jsx-runtime";
|
|
1670
1107
|
|
|
1671
1108
|
// src/tokens/svg/user/LockIcon.tsx
|
|
1672
|
-
import { jsx as
|
|
1109
|
+
import { jsx as jsx276 } from "react/jsx-runtime";
|
|
1673
1110
|
|
|
1674
1111
|
// src/tokens/svg/user/LogInIcon.tsx
|
|
1675
|
-
import { jsx as
|
|
1112
|
+
import { jsx as jsx277, jsxs as jsxs174 } from "react/jsx-runtime";
|
|
1676
1113
|
|
|
1677
1114
|
// src/tokens/svg/user/LogOutIcon.tsx
|
|
1678
|
-
import { jsx as
|
|
1115
|
+
import { jsx as jsx278, jsxs as jsxs175 } from "react/jsx-runtime";
|
|
1679
1116
|
|
|
1680
1117
|
// src/tokens/svg/user/MailIcon.tsx
|
|
1681
|
-
import { jsx as
|
|
1118
|
+
import { jsx as jsx279 } from "react/jsx-runtime";
|
|
1682
1119
|
|
|
1683
1120
|
// src/tokens/svg/user/ProfileIcon.tsx
|
|
1684
|
-
import { jsx as
|
|
1121
|
+
import { jsx as jsx280, jsxs as jsxs176 } from "react/jsx-runtime";
|
|
1685
1122
|
|
|
1686
1123
|
// src/tokens/svg/user/UnlockIcon.tsx
|
|
1687
|
-
import { jsx as
|
|
1124
|
+
import { jsx as jsx281 } from "react/jsx-runtime";
|
|
1688
1125
|
|
|
1689
1126
|
// src/tokens/svg/user/UserCheckIcon.tsx
|
|
1690
|
-
import { jsx as
|
|
1127
|
+
import { jsx as jsx282, jsxs as jsxs177 } from "react/jsx-runtime";
|
|
1691
1128
|
|
|
1692
1129
|
// src/tokens/svg/user/UserIcon.tsx
|
|
1693
|
-
import { jsx as
|
|
1130
|
+
import { jsx as jsx283, jsxs as jsxs178 } from "react/jsx-runtime";
|
|
1694
1131
|
|
|
1695
1132
|
// src/tokens/svg/user/UserMinusIcon.tsx
|
|
1696
|
-
import { jsx as
|
|
1133
|
+
import { jsx as jsx284, jsxs as jsxs179 } from "react/jsx-runtime";
|
|
1697
1134
|
|
|
1698
1135
|
// src/tokens/svg/user/UserPlusIcon.tsx
|
|
1699
|
-
import { jsx as
|
|
1136
|
+
import { jsx as jsx285, jsxs as jsxs180 } from "react/jsx-runtime";
|
|
1700
1137
|
|
|
1701
1138
|
// src/tokens/svg/user/UserXIcon.tsx
|
|
1702
|
-
import { jsx as
|
|
1139
|
+
import { jsx as jsx286, jsxs as jsxs181 } from "react/jsx-runtime";
|
|
1703
1140
|
|
|
1704
1141
|
// src/tokens/svg/user/UsersIcon.tsx
|
|
1705
|
-
import { jsx as
|
|
1142
|
+
import { jsx as jsx287, jsxs as jsxs182 } from "react/jsx-runtime";
|
|
1706
1143
|
|
|
1707
1144
|
// src/tokens/svg/validation/AlertCircleIcon.tsx
|
|
1708
|
-
import { jsx as
|
|
1145
|
+
import { jsx as jsx288, jsxs as jsxs183 } from "react/jsx-runtime";
|
|
1709
1146
|
|
|
1710
1147
|
// src/tokens/svg/validation/AlertOctagonIcon.tsx
|
|
1711
|
-
import { jsx as
|
|
1148
|
+
import { jsx as jsx289, jsxs as jsxs184 } from "react/jsx-runtime";
|
|
1712
1149
|
|
|
1713
1150
|
// src/tokens/svg/validation/AlertTriangleIcon.tsx
|
|
1714
|
-
import { jsx as
|
|
1151
|
+
import { jsx as jsx290, jsxs as jsxs185 } from "react/jsx-runtime";
|
|
1715
1152
|
|
|
1716
1153
|
// src/tokens/svg/validation/ErrorIcon.tsx
|
|
1717
|
-
import { jsx as
|
|
1718
|
-
var ErrorIcon = () => /* @__PURE__ */
|
|
1154
|
+
import { jsx as jsx291, jsxs as jsxs186 } from "react/jsx-runtime";
|
|
1155
|
+
var ErrorIcon = () => /* @__PURE__ */ jsxs186(
|
|
1719
1156
|
"svg",
|
|
1720
1157
|
{
|
|
1721
1158
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1724,15 +1161,15 @@ var ErrorIcon = () => /* @__PURE__ */ jsxs191(
|
|
|
1724
1161
|
viewBox: "0 0 16 16",
|
|
1725
1162
|
fill: "none",
|
|
1726
1163
|
children: [
|
|
1727
|
-
/* @__PURE__ */
|
|
1728
|
-
/* @__PURE__ */
|
|
1164
|
+
/* @__PURE__ */ jsxs186("g", { clipPath: "url(#clip0_1196_9603)", children: [
|
|
1165
|
+
/* @__PURE__ */ jsx291(
|
|
1729
1166
|
"path",
|
|
1730
1167
|
{
|
|
1731
1168
|
d: "M9.57588 5.57559C9.81019 5.34127 10.19 5.34127 10.4243 5.57559C10.6586 5.8099 10.6586 6.18971 10.4243 6.42402L8.84854 7.9998L10.4243 9.57559C10.6586 9.8099 10.6586 10.1897 10.4243 10.424C10.19 10.6583 9.81019 10.6583 9.57588 10.424L8.0001 8.84824L6.42432 10.424C6.19 10.6583 5.81019 10.6583 5.57588 10.424C5.34156 10.1897 5.34156 9.8099 5.57588 9.57559L7.15166 7.9998L5.57588 6.42402C5.34156 6.18971 5.34156 5.8099 5.57588 5.57559C5.81019 5.34127 6.19 5.34127 6.42432 5.57559L8.0001 7.15137L9.57588 5.57559Z",
|
|
1732
1169
|
fill: "currentColor"
|
|
1733
1170
|
}
|
|
1734
1171
|
),
|
|
1735
|
-
/* @__PURE__ */
|
|
1172
|
+
/* @__PURE__ */ jsx291(
|
|
1736
1173
|
"path",
|
|
1737
1174
|
{
|
|
1738
1175
|
fillRule: "evenodd",
|
|
@@ -1742,18 +1179,18 @@ var ErrorIcon = () => /* @__PURE__ */ jsxs191(
|
|
|
1742
1179
|
}
|
|
1743
1180
|
)
|
|
1744
1181
|
] }),
|
|
1745
|
-
/* @__PURE__ */
|
|
1182
|
+
/* @__PURE__ */ jsx291("defs", { children: /* @__PURE__ */ jsx291("clipPath", { id: "clip0_1196_9603", children: /* @__PURE__ */ jsx291("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1746
1183
|
]
|
|
1747
1184
|
}
|
|
1748
1185
|
);
|
|
1749
1186
|
var ErrorIcon_default = ErrorIcon;
|
|
1750
1187
|
|
|
1751
1188
|
// src/tokens/svg/validation/HelpCircleIcon.tsx
|
|
1752
|
-
import { jsx as
|
|
1189
|
+
import { jsx as jsx292, jsxs as jsxs187 } from "react/jsx-runtime";
|
|
1753
1190
|
|
|
1754
1191
|
// src/tokens/svg/validation/InfoIcon.tsx
|
|
1755
|
-
import { jsx as
|
|
1756
|
-
var InfoIcon = () => /* @__PURE__ */
|
|
1192
|
+
import { jsx as jsx293, jsxs as jsxs188 } from "react/jsx-runtime";
|
|
1193
|
+
var InfoIcon = () => /* @__PURE__ */ jsxs188(
|
|
1757
1194
|
"svg",
|
|
1758
1195
|
{
|
|
1759
1196
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1762,22 +1199,22 @@ var InfoIcon = () => /* @__PURE__ */ jsxs193(
|
|
|
1762
1199
|
viewBox: "0 0 16 16",
|
|
1763
1200
|
fill: "none",
|
|
1764
1201
|
children: [
|
|
1765
|
-
/* @__PURE__ */
|
|
1766
|
-
/* @__PURE__ */
|
|
1202
|
+
/* @__PURE__ */ jsxs188("g", { clipPath: "url(#clip0_1188_11261)", children: [
|
|
1203
|
+
/* @__PURE__ */ jsx293(
|
|
1767
1204
|
"path",
|
|
1768
1205
|
{
|
|
1769
1206
|
d: "M8.00156 7.39999C8.33293 7.39999 8.60156 7.66862 8.60156 7.99999V10.6664C8.60156 10.9978 8.33293 11.2664 8.00156 11.2664C7.67019 11.2664 7.40156 10.9978 7.40156 10.6664V7.99999C7.40156 7.66862 7.67019 7.39999 8.00156 7.39999Z",
|
|
1770
1207
|
fill: "currentColor"
|
|
1771
1208
|
}
|
|
1772
1209
|
),
|
|
1773
|
-
/* @__PURE__ */
|
|
1210
|
+
/* @__PURE__ */ jsx293(
|
|
1774
1211
|
"path",
|
|
1775
1212
|
{
|
|
1776
1213
|
d: "M8.00859 4.73358C8.3398 4.73378 8.60859 5.00233 8.60859 5.33358C8.60849 5.66474 8.33973 5.93338 8.00859 5.93358H8.00156C7.67026 5.93358 7.40167 5.66486 7.40156 5.33358C7.40156 5.00221 7.67019 4.73358 8.00156 4.73358H8.00859Z",
|
|
1777
1214
|
fill: "currentColor"
|
|
1778
1215
|
}
|
|
1779
1216
|
),
|
|
1780
|
-
/* @__PURE__ */
|
|
1217
|
+
/* @__PURE__ */ jsx293(
|
|
1781
1218
|
"path",
|
|
1782
1219
|
{
|
|
1783
1220
|
fillRule: "evenodd",
|
|
@@ -1787,15 +1224,15 @@ var InfoIcon = () => /* @__PURE__ */ jsxs193(
|
|
|
1787
1224
|
}
|
|
1788
1225
|
)
|
|
1789
1226
|
] }),
|
|
1790
|
-
/* @__PURE__ */
|
|
1227
|
+
/* @__PURE__ */ jsx293("defs", { children: /* @__PURE__ */ jsx293("clipPath", { id: "clip0_1188_11261", children: /* @__PURE__ */ jsx293("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
1791
1228
|
]
|
|
1792
1229
|
}
|
|
1793
1230
|
);
|
|
1794
1231
|
var InfoIcon_default = InfoIcon;
|
|
1795
1232
|
|
|
1796
1233
|
// src/tokens/svg/validation/SuccessIcon.tsx
|
|
1797
|
-
import { jsx as
|
|
1798
|
-
var SuccessIcon = () => /* @__PURE__ */
|
|
1234
|
+
import { jsx as jsx294 } from "react/jsx-runtime";
|
|
1235
|
+
var SuccessIcon = () => /* @__PURE__ */ jsx294(
|
|
1799
1236
|
"svg",
|
|
1800
1237
|
{
|
|
1801
1238
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1803,7 +1240,7 @@ var SuccessIcon = () => /* @__PURE__ */ jsx302(
|
|
|
1803
1240
|
height: "1em",
|
|
1804
1241
|
viewBox: "0 0 16 16",
|
|
1805
1242
|
fill: "none",
|
|
1806
|
-
children: /* @__PURE__ */
|
|
1243
|
+
children: /* @__PURE__ */ jsx294(
|
|
1807
1244
|
"path",
|
|
1808
1245
|
{
|
|
1809
1246
|
d: "M12.9084 3.57597C13.1426 3.34172 13.5225 3.34185 13.7568 3.57597C13.9911 3.81028 13.9911 4.19009 13.7568 4.4244L6.424 11.758C6.31157 11.8703 6.15869 11.9337 5.99978 11.9338C5.8409 11.9337 5.68798 11.8703 5.57556 11.758L2.24197 8.4244C2.00782 8.19018 2.00795 7.81028 2.24197 7.57597C2.47626 7.34167 2.85609 7.34172 3.09041 7.57597L5.999 10.4846L12.9084 3.57597Z",
|
|
@@ -1814,6 +1251,595 @@ var SuccessIcon = () => /* @__PURE__ */ jsx302(
|
|
|
1814
1251
|
);
|
|
1815
1252
|
var SuccessIcon_default = SuccessIcon;
|
|
1816
1253
|
|
|
1254
|
+
// node_modules/clsx/dist/clsx.mjs
|
|
1255
|
+
function r(e) {
|
|
1256
|
+
var t, f, n = "";
|
|
1257
|
+
if ("string" == typeof e || "number" == typeof e) n += e;
|
|
1258
|
+
else if ("object" == typeof e) if (Array.isArray(e)) {
|
|
1259
|
+
var o = e.length;
|
|
1260
|
+
for (t = 0; t < o; t++) e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
|
|
1261
|
+
} else for (f in e) e[f] && (n && (n += " "), n += f);
|
|
1262
|
+
return n;
|
|
1263
|
+
}
|
|
1264
|
+
function clsx() {
|
|
1265
|
+
for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++) (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
|
|
1266
|
+
return n;
|
|
1267
|
+
}
|
|
1268
|
+
var clsx_default = clsx;
|
|
1269
|
+
|
|
1270
|
+
// src/components/Accordion/Accordion.tsx
|
|
1271
|
+
import { jsx as jsx295, jsxs as jsxs189 } from "react/jsx-runtime";
|
|
1272
|
+
var AccordionItem = ({ item, isOpen, onToggle }) => {
|
|
1273
|
+
const bodyRef = React.useRef(null);
|
|
1274
|
+
const [height, setHeight] = React.useState(0);
|
|
1275
|
+
React.useEffect(() => {
|
|
1276
|
+
if (bodyRef.current) {
|
|
1277
|
+
setHeight(bodyRef.current.scrollHeight);
|
|
1278
|
+
}
|
|
1279
|
+
}, [isOpen, item.content]);
|
|
1280
|
+
return /* @__PURE__ */ jsxs189("div", { className: clsx_default("accordion-item", { open: isOpen }), children: [
|
|
1281
|
+
/* @__PURE__ */ jsxs189(
|
|
1282
|
+
"button",
|
|
1283
|
+
{
|
|
1284
|
+
className: "accordion-header",
|
|
1285
|
+
onClick: onToggle,
|
|
1286
|
+
"aria-expanded": isOpen,
|
|
1287
|
+
children: [
|
|
1288
|
+
/* @__PURE__ */ jsx295("span", { className: "title", children: item.title }),
|
|
1289
|
+
/* @__PURE__ */ jsx295("span", { className: "chevron", children: /* @__PURE__ */ jsx295(ChevronDownIcon_default, {}) })
|
|
1290
|
+
]
|
|
1291
|
+
}
|
|
1292
|
+
),
|
|
1293
|
+
/* @__PURE__ */ jsx295(
|
|
1294
|
+
"div",
|
|
1295
|
+
{
|
|
1296
|
+
ref: bodyRef,
|
|
1297
|
+
className: "accordion-body",
|
|
1298
|
+
style: { maxHeight: isOpen ? height : 0 },
|
|
1299
|
+
children: /* @__PURE__ */ jsx295("div", { className: "accordion-content", children: item.content })
|
|
1300
|
+
}
|
|
1301
|
+
)
|
|
1302
|
+
] });
|
|
1303
|
+
};
|
|
1304
|
+
var Accordion = (props) => {
|
|
1305
|
+
const { items, multiple = false, defaultActiveKeys = [], className } = props;
|
|
1306
|
+
const [activeKeys, setActiveKeys] = React.useState(
|
|
1307
|
+
new Set(defaultActiveKeys)
|
|
1308
|
+
);
|
|
1309
|
+
const toggle = (key) => {
|
|
1310
|
+
setActiveKeys((prev) => {
|
|
1311
|
+
const next = new Set(multiple ? prev : []);
|
|
1312
|
+
if (prev.has(key)) {
|
|
1313
|
+
next.delete(key);
|
|
1314
|
+
} else {
|
|
1315
|
+
next.add(key);
|
|
1316
|
+
}
|
|
1317
|
+
return next;
|
|
1318
|
+
});
|
|
1319
|
+
};
|
|
1320
|
+
return /* @__PURE__ */ jsx295("div", { className: clsx_default("lib-xplat-accordion", className), children: items.map((item) => /* @__PURE__ */ jsx295(
|
|
1321
|
+
AccordionItem,
|
|
1322
|
+
{
|
|
1323
|
+
item,
|
|
1324
|
+
isOpen: activeKeys.has(item.key),
|
|
1325
|
+
onToggle: () => toggle(item.key)
|
|
1326
|
+
},
|
|
1327
|
+
item.key
|
|
1328
|
+
)) });
|
|
1329
|
+
};
|
|
1330
|
+
Accordion.displayName = "Accordion";
|
|
1331
|
+
var Accordion_default = Accordion;
|
|
1332
|
+
|
|
1333
|
+
// src/components/Alert/Alert.tsx
|
|
1334
|
+
import { jsx as jsx296, jsxs as jsxs190 } from "react/jsx-runtime";
|
|
1335
|
+
var Alert = (props) => {
|
|
1336
|
+
const { type = "info", children, onClose, className } = props;
|
|
1337
|
+
return /* @__PURE__ */ jsxs190(
|
|
1338
|
+
"div",
|
|
1339
|
+
{
|
|
1340
|
+
className: clsx_default("lib-xplat-alert", type, className),
|
|
1341
|
+
role: "alert",
|
|
1342
|
+
children: [
|
|
1343
|
+
/* @__PURE__ */ jsx296("div", { className: "content", children }),
|
|
1344
|
+
onClose && /* @__PURE__ */ jsx296(
|
|
1345
|
+
"button",
|
|
1346
|
+
{
|
|
1347
|
+
className: "close-btn",
|
|
1348
|
+
onClick: onClose,
|
|
1349
|
+
"aria-label": "\uB2EB\uAE30",
|
|
1350
|
+
children: "\xD7"
|
|
1351
|
+
}
|
|
1352
|
+
)
|
|
1353
|
+
]
|
|
1354
|
+
}
|
|
1355
|
+
);
|
|
1356
|
+
};
|
|
1357
|
+
Alert.displayName = "Alert";
|
|
1358
|
+
var Alert_default = Alert;
|
|
1359
|
+
|
|
1360
|
+
// src/tokens/colors.ts
|
|
1361
|
+
var colors = {
|
|
1362
|
+
xplat: {
|
|
1363
|
+
red: {
|
|
1364
|
+
50: "#FFF0F0",
|
|
1365
|
+
100: "#FFDDDE",
|
|
1366
|
+
200: "#FFC1C2",
|
|
1367
|
+
300: "#FF9698",
|
|
1368
|
+
400: "#FF5A5D",
|
|
1369
|
+
500: "#FF272B",
|
|
1370
|
+
600: "#F80409",
|
|
1371
|
+
700: "#D40105",
|
|
1372
|
+
800: "#AE0609",
|
|
1373
|
+
900: "#900C0F"
|
|
1374
|
+
},
|
|
1375
|
+
green: {
|
|
1376
|
+
50: "#E5F6EA",
|
|
1377
|
+
100: "#C1E7CC",
|
|
1378
|
+
200: "#98D8AC",
|
|
1379
|
+
300: "#6CCA8B",
|
|
1380
|
+
400: "#47BE72",
|
|
1381
|
+
500: "#10B259",
|
|
1382
|
+
600: "#00A34F",
|
|
1383
|
+
700: "#009143",
|
|
1384
|
+
800: "#007F38",
|
|
1385
|
+
900: "#006024"
|
|
1386
|
+
},
|
|
1387
|
+
orange: {
|
|
1388
|
+
50: "#FFF8EC",
|
|
1389
|
+
100: "#FFF0D3",
|
|
1390
|
+
200: "#FFDDA5",
|
|
1391
|
+
300: "#FFC46D",
|
|
1392
|
+
400: "#FF9F32",
|
|
1393
|
+
500: "#FF820A",
|
|
1394
|
+
600: "#FF6900",
|
|
1395
|
+
700: "#CC4B02",
|
|
1396
|
+
800: "#A13A0B",
|
|
1397
|
+
900: "#82320C"
|
|
1398
|
+
},
|
|
1399
|
+
yellow: {
|
|
1400
|
+
50: "#FFFDE7",
|
|
1401
|
+
100: "#FFFAC1",
|
|
1402
|
+
200: "#FFF186",
|
|
1403
|
+
300: "#FFE041",
|
|
1404
|
+
400: "#FFCC0D",
|
|
1405
|
+
500: "#F0B100",
|
|
1406
|
+
600: "#D18800",
|
|
1407
|
+
700: "#A66002",
|
|
1408
|
+
800: "#894B0A",
|
|
1409
|
+
900: "#743D0F"
|
|
1410
|
+
},
|
|
1411
|
+
blue: {
|
|
1412
|
+
50: "#F1F4FD",
|
|
1413
|
+
100: "#DFE7FA",
|
|
1414
|
+
200: "#C5D4F8",
|
|
1415
|
+
300: "#9EB8F2",
|
|
1416
|
+
400: "#7093EA",
|
|
1417
|
+
500: "#4D6DE3",
|
|
1418
|
+
600: "#3950D7",
|
|
1419
|
+
700: "#303EC5",
|
|
1420
|
+
800: "#2D35A0",
|
|
1421
|
+
900: "#29317F"
|
|
1422
|
+
},
|
|
1423
|
+
lightblue: {
|
|
1424
|
+
50: "#EEFAFF",
|
|
1425
|
+
100: "#D9F4FF",
|
|
1426
|
+
200: "#BBEDFF",
|
|
1427
|
+
300: "#8DE3FF",
|
|
1428
|
+
400: "#57D0FF",
|
|
1429
|
+
500: "#30B6FF",
|
|
1430
|
+
600: "#1999F7",
|
|
1431
|
+
700: "#1280E3",
|
|
1432
|
+
800: "#1566B8",
|
|
1433
|
+
900: "#175791"
|
|
1434
|
+
},
|
|
1435
|
+
purple: {
|
|
1436
|
+
50: "#FBF6FE",
|
|
1437
|
+
100: "#F5EAFD",
|
|
1438
|
+
200: "#EDD8FC",
|
|
1439
|
+
300: "#E0BAF8",
|
|
1440
|
+
400: "#CD8DF3",
|
|
1441
|
+
500: "#B961EB",
|
|
1442
|
+
600: "#A541DC",
|
|
1443
|
+
700: "#9230C5",
|
|
1444
|
+
800: "#782B9E",
|
|
1445
|
+
900: "#62247F"
|
|
1446
|
+
},
|
|
1447
|
+
pink: {
|
|
1448
|
+
50: "#FFF4FE",
|
|
1449
|
+
100: "#FFE7FD",
|
|
1450
|
+
200: "#FFCFFA",
|
|
1451
|
+
300: "#FEA9F1",
|
|
1452
|
+
400: "#FD75E7",
|
|
1453
|
+
500: "#F553DA",
|
|
1454
|
+
600: "#D821B6",
|
|
1455
|
+
700: "#B31892",
|
|
1456
|
+
800: "#921676",
|
|
1457
|
+
900: "#781761"
|
|
1458
|
+
},
|
|
1459
|
+
neutral: {
|
|
1460
|
+
50: "#FAFAFA",
|
|
1461
|
+
100: "#F5F5F5",
|
|
1462
|
+
200: "#E5E5E5",
|
|
1463
|
+
300: "#D4D4D4",
|
|
1464
|
+
400: "#A1A1A1",
|
|
1465
|
+
500: "#737373",
|
|
1466
|
+
600: "#525252",
|
|
1467
|
+
700: "#404040",
|
|
1468
|
+
800: "#262626",
|
|
1469
|
+
900: "#171717"
|
|
1470
|
+
},
|
|
1471
|
+
black: "#000000",
|
|
1472
|
+
white: "#FFFFFF"
|
|
1473
|
+
},
|
|
1474
|
+
test: {
|
|
1475
|
+
default: "#ffffff"
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
|
|
1479
|
+
// src/util/getColor.ts
|
|
1480
|
+
var getColorClass = (namespace, palette, shade) => {
|
|
1481
|
+
const namespaceMap = colors[namespace];
|
|
1482
|
+
const paletteMap = namespaceMap[palette];
|
|
1483
|
+
const hasShade = paletteMap && typeof paletteMap === "object" && shade !== void 0 && shade in paletteMap;
|
|
1484
|
+
return `${String(namespace)}-${String(palette)}${hasShade ? `-${String(shade)}` : ""}`;
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
// src/components/Avatar/Avatar.tsx
|
|
1488
|
+
import { jsx as jsx297 } from "react/jsx-runtime";
|
|
1489
|
+
var Avatar = (props) => {
|
|
1490
|
+
const {
|
|
1491
|
+
src,
|
|
1492
|
+
alt,
|
|
1493
|
+
name,
|
|
1494
|
+
size = "md",
|
|
1495
|
+
colorNamespace = "xplat",
|
|
1496
|
+
color = "blue",
|
|
1497
|
+
colorDepth,
|
|
1498
|
+
className
|
|
1499
|
+
} = props;
|
|
1500
|
+
const colorClass = getColorClass(
|
|
1501
|
+
colorNamespace,
|
|
1502
|
+
color,
|
|
1503
|
+
colorDepth ?? 500
|
|
1504
|
+
);
|
|
1505
|
+
const initials = name ? name.split(" ").map((s) => s[0]).join("").slice(0, 2).toUpperCase() : "";
|
|
1506
|
+
return /* @__PURE__ */ jsx297("div", { className: clsx_default("lib-xplat-avatar", size, className), children: src ? /* @__PURE__ */ jsx297("img", { src, alt: alt || name || "avatar" }) : /* @__PURE__ */ jsx297("div", { className: clsx_default("fallback", colorClass), children: initials || /* @__PURE__ */ jsx297("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx297("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }) }) }) });
|
|
1507
|
+
};
|
|
1508
|
+
Avatar.displayName = "Avatar";
|
|
1509
|
+
var Avatar_default = Avatar;
|
|
1510
|
+
|
|
1511
|
+
// src/components/Badge/Badge.tsx
|
|
1512
|
+
import { jsx as jsx298, jsxs as jsxs191 } from "react/jsx-runtime";
|
|
1513
|
+
var Badge = (props) => {
|
|
1514
|
+
const {
|
|
1515
|
+
children,
|
|
1516
|
+
count,
|
|
1517
|
+
maxCount = 99,
|
|
1518
|
+
dot = false,
|
|
1519
|
+
colorNamespace = "xplat",
|
|
1520
|
+
color = "red",
|
|
1521
|
+
colorDepth,
|
|
1522
|
+
className
|
|
1523
|
+
} = props;
|
|
1524
|
+
const colorClass = getColorClass(
|
|
1525
|
+
colorNamespace,
|
|
1526
|
+
color,
|
|
1527
|
+
colorDepth ?? 500
|
|
1528
|
+
);
|
|
1529
|
+
const showBadge = dot || count !== void 0 && count > 0;
|
|
1530
|
+
const displayCount = count !== void 0 && count > maxCount ? `${maxCount}+` : count;
|
|
1531
|
+
return /* @__PURE__ */ jsxs191("div", { className: clsx_default("lib-xplat-badge", className), children: [
|
|
1532
|
+
children,
|
|
1533
|
+
showBadge && /* @__PURE__ */ jsx298("span", { className: clsx_default("badge-indicator", colorClass, { dot }), children: !dot && displayCount })
|
|
1534
|
+
] });
|
|
1535
|
+
};
|
|
1536
|
+
Badge.displayName = "Badge";
|
|
1537
|
+
var Badge_default = Badge;
|
|
1538
|
+
|
|
1539
|
+
// src/components/Breadcrumb/Breadcrumb.tsx
|
|
1540
|
+
import { jsx as jsx299, jsxs as jsxs192 } from "react/jsx-runtime";
|
|
1541
|
+
var Breadcrumb = (props) => {
|
|
1542
|
+
const { items, separator = "/", className } = props;
|
|
1543
|
+
return /* @__PURE__ */ jsx299("nav", { className: clsx_default("lib-xplat-breadcrumb", className), "aria-label": "\uACBD\uB85C", children: /* @__PURE__ */ jsx299("ol", { children: items.map((item, index) => {
|
|
1544
|
+
const isLast = index === items.length - 1;
|
|
1545
|
+
return /* @__PURE__ */ jsxs192("li", { children: [
|
|
1546
|
+
isLast ? /* @__PURE__ */ jsx299("span", { className: "current", "aria-current": "page", children: item.label }) : item.href ? /* @__PURE__ */ jsx299("a", { href: item.href, className: "link", children: item.label }) : /* @__PURE__ */ jsx299("button", { className: "link", onClick: item.onClick, children: item.label }),
|
|
1547
|
+
!isLast && /* @__PURE__ */ jsx299("span", { className: "separator", children: separator })
|
|
1548
|
+
] }, index);
|
|
1549
|
+
}) }) });
|
|
1550
|
+
};
|
|
1551
|
+
Breadcrumb.displayName = "Breadcrumb";
|
|
1552
|
+
var Breadcrumb_default = Breadcrumb;
|
|
1553
|
+
|
|
1554
|
+
// src/components/Button/Button.tsx
|
|
1555
|
+
import { jsx as jsx300 } from "react/jsx-runtime";
|
|
1556
|
+
var Button = (props) => {
|
|
1557
|
+
const {
|
|
1558
|
+
children,
|
|
1559
|
+
type = "primary",
|
|
1560
|
+
colorNamespace = "xplat",
|
|
1561
|
+
color = "black",
|
|
1562
|
+
colorDepth,
|
|
1563
|
+
disabled,
|
|
1564
|
+
className,
|
|
1565
|
+
...rest
|
|
1566
|
+
} = props;
|
|
1567
|
+
const colorClass = getColorClass(
|
|
1568
|
+
colorNamespace,
|
|
1569
|
+
color,
|
|
1570
|
+
colorDepth ?? 500
|
|
1571
|
+
);
|
|
1572
|
+
return /* @__PURE__ */ jsx300(
|
|
1573
|
+
"button",
|
|
1574
|
+
{
|
|
1575
|
+
className: clsx_default("lib-xplat-button", type, colorClass, className),
|
|
1576
|
+
disabled,
|
|
1577
|
+
...rest,
|
|
1578
|
+
children
|
|
1579
|
+
}
|
|
1580
|
+
);
|
|
1581
|
+
};
|
|
1582
|
+
Button.displayName = "Button";
|
|
1583
|
+
var Button_default = Button;
|
|
1584
|
+
|
|
1585
|
+
// src/components/Card/Card.tsx
|
|
1586
|
+
import { jsx as jsx301, jsxs as jsxs193 } from "react/jsx-runtime";
|
|
1587
|
+
var Card = ({ children, title, className }) => {
|
|
1588
|
+
return /* @__PURE__ */ jsxs193("div", { className: clsx_default("lib-xplat-card", className), children: [
|
|
1589
|
+
title && /* @__PURE__ */ jsx301("div", { className: "title", children: title }),
|
|
1590
|
+
/* @__PURE__ */ jsx301("div", { className: "content", children })
|
|
1591
|
+
] });
|
|
1592
|
+
};
|
|
1593
|
+
Card.displayName = "Card";
|
|
1594
|
+
var Card_default = Card;
|
|
1595
|
+
|
|
1596
|
+
// src/components/Chart/Chart.tsx
|
|
1597
|
+
import React2 from "react";
|
|
1598
|
+
import {
|
|
1599
|
+
ArcElement,
|
|
1600
|
+
BarElement,
|
|
1601
|
+
CategoryScale,
|
|
1602
|
+
Chart as ChartJS,
|
|
1603
|
+
Legend,
|
|
1604
|
+
LinearScale,
|
|
1605
|
+
LineElement,
|
|
1606
|
+
PointElement,
|
|
1607
|
+
Title,
|
|
1608
|
+
Tooltip
|
|
1609
|
+
} from "chart.js";
|
|
1610
|
+
import ChartDataLabels from "chartjs-plugin-datalabels";
|
|
1611
|
+
import { Bar, Doughnut, Line, Pie } from "react-chartjs-2";
|
|
1612
|
+
|
|
1613
|
+
// src/components/Chart/token/colorSet.ts
|
|
1614
|
+
var presets = [
|
|
1615
|
+
[
|
|
1616
|
+
colors.xplat.red[100],
|
|
1617
|
+
colors.xplat.red[200],
|
|
1618
|
+
colors.xplat.red[300],
|
|
1619
|
+
colors.xplat.red[400],
|
|
1620
|
+
colors.xplat.red[500],
|
|
1621
|
+
colors.xplat.red[600]
|
|
1622
|
+
],
|
|
1623
|
+
[
|
|
1624
|
+
colors.xplat.orange[100],
|
|
1625
|
+
colors.xplat.orange[200],
|
|
1626
|
+
colors.xplat.orange[300],
|
|
1627
|
+
colors.xplat.orange[400],
|
|
1628
|
+
colors.xplat.orange[500],
|
|
1629
|
+
colors.xplat.orange[600]
|
|
1630
|
+
],
|
|
1631
|
+
[
|
|
1632
|
+
colors.xplat.yellow[100],
|
|
1633
|
+
colors.xplat.yellow[200],
|
|
1634
|
+
colors.xplat.yellow[300],
|
|
1635
|
+
colors.xplat.yellow[400],
|
|
1636
|
+
colors.xplat.yellow[500],
|
|
1637
|
+
colors.xplat.yellow[600]
|
|
1638
|
+
],
|
|
1639
|
+
[
|
|
1640
|
+
colors.xplat.green[100],
|
|
1641
|
+
colors.xplat.green[200],
|
|
1642
|
+
colors.xplat.green[300],
|
|
1643
|
+
colors.xplat.green[400],
|
|
1644
|
+
colors.xplat.green[500],
|
|
1645
|
+
colors.xplat.green[600]
|
|
1646
|
+
],
|
|
1647
|
+
[
|
|
1648
|
+
colors.xplat.blue[100],
|
|
1649
|
+
colors.xplat.blue[200],
|
|
1650
|
+
colors.xplat.blue[300],
|
|
1651
|
+
colors.xplat.blue[400],
|
|
1652
|
+
colors.xplat.blue[500],
|
|
1653
|
+
colors.xplat.blue[600]
|
|
1654
|
+
],
|
|
1655
|
+
[
|
|
1656
|
+
colors.xplat.lightblue[100],
|
|
1657
|
+
colors.xplat.lightblue[200],
|
|
1658
|
+
colors.xplat.lightblue[300],
|
|
1659
|
+
colors.xplat.lightblue[400],
|
|
1660
|
+
colors.xplat.lightblue[500],
|
|
1661
|
+
colors.xplat.lightblue[600]
|
|
1662
|
+
],
|
|
1663
|
+
[
|
|
1664
|
+
colors.xplat.purple[100],
|
|
1665
|
+
colors.xplat.purple[200],
|
|
1666
|
+
colors.xplat.purple[300],
|
|
1667
|
+
colors.xplat.purple[400],
|
|
1668
|
+
colors.xplat.purple[500],
|
|
1669
|
+
colors.xplat.purple[600]
|
|
1670
|
+
],
|
|
1671
|
+
[
|
|
1672
|
+
colors.xplat.pink[100],
|
|
1673
|
+
colors.xplat.pink[200],
|
|
1674
|
+
colors.xplat.pink[300],
|
|
1675
|
+
colors.xplat.pink[400],
|
|
1676
|
+
colors.xplat.pink[500],
|
|
1677
|
+
colors.xplat.pink[600]
|
|
1678
|
+
],
|
|
1679
|
+
[
|
|
1680
|
+
colors.xplat.orange[300],
|
|
1681
|
+
colors.xplat.red[300],
|
|
1682
|
+
colors.xplat.yellow[300],
|
|
1683
|
+
colors.xplat.green[300],
|
|
1684
|
+
colors.xplat.blue[300],
|
|
1685
|
+
colors.xplat.lightblue[300]
|
|
1686
|
+
],
|
|
1687
|
+
[
|
|
1688
|
+
colors.xplat.orange[400],
|
|
1689
|
+
colors.xplat.red[400],
|
|
1690
|
+
colors.xplat.yellow[400],
|
|
1691
|
+
colors.xplat.green[400],
|
|
1692
|
+
colors.xplat.blue[400],
|
|
1693
|
+
colors.xplat.lightblue[400]
|
|
1694
|
+
],
|
|
1695
|
+
[
|
|
1696
|
+
colors.xplat.orange[500],
|
|
1697
|
+
colors.xplat.red[500],
|
|
1698
|
+
colors.xplat.yellow[500],
|
|
1699
|
+
colors.xplat.green[500],
|
|
1700
|
+
colors.xplat.blue[500],
|
|
1701
|
+
colors.xplat.lightblue[500]
|
|
1702
|
+
]
|
|
1703
|
+
];
|
|
1704
|
+
var colorPresets = {
|
|
1705
|
+
line: [
|
|
1706
|
+
presets[0],
|
|
1707
|
+
presets[1],
|
|
1708
|
+
presets[2],
|
|
1709
|
+
presets[3],
|
|
1710
|
+
presets[4],
|
|
1711
|
+
presets[5],
|
|
1712
|
+
presets[6],
|
|
1713
|
+
presets[7]
|
|
1714
|
+
],
|
|
1715
|
+
bar: [
|
|
1716
|
+
presets[0],
|
|
1717
|
+
presets[1],
|
|
1718
|
+
presets[2],
|
|
1719
|
+
presets[3],
|
|
1720
|
+
presets[4],
|
|
1721
|
+
presets[5],
|
|
1722
|
+
presets[6],
|
|
1723
|
+
presets[7]
|
|
1724
|
+
],
|
|
1725
|
+
doughnut: [presets[8], presets[9], presets[10]],
|
|
1726
|
+
pie: [presets[8], presets[9], presets[10]]
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
// src/components/Chart/util.ts
|
|
1730
|
+
var getChartColorPreset = (type) => {
|
|
1731
|
+
const index = Math.floor(Math.random() * colorPresets[type].length);
|
|
1732
|
+
return colorPresets[type][index];
|
|
1733
|
+
};
|
|
1734
|
+
var getIndexColorByPreset = (preset, index) => {
|
|
1735
|
+
const idx = index % preset.length;
|
|
1736
|
+
return preset[idx];
|
|
1737
|
+
};
|
|
1738
|
+
|
|
1739
|
+
// src/components/Chart/Chart.tsx
|
|
1740
|
+
import { jsx as jsx302 } from "react/jsx-runtime";
|
|
1741
|
+
ChartJS.register(
|
|
1742
|
+
CategoryScale,
|
|
1743
|
+
LinearScale,
|
|
1744
|
+
PointElement,
|
|
1745
|
+
LineElement,
|
|
1746
|
+
BarElement,
|
|
1747
|
+
ArcElement,
|
|
1748
|
+
Title,
|
|
1749
|
+
Tooltip,
|
|
1750
|
+
Legend,
|
|
1751
|
+
ChartDataLabels
|
|
1752
|
+
);
|
|
1753
|
+
var Chart = (props) => {
|
|
1754
|
+
const { type, data, labels } = props;
|
|
1755
|
+
const chartInstanceRef = React2.useRef(null);
|
|
1756
|
+
const containerRef = React2.useRef(null);
|
|
1757
|
+
const chartRef = React2.useCallback((instance) => {
|
|
1758
|
+
chartInstanceRef.current = instance ?? null;
|
|
1759
|
+
}, []);
|
|
1760
|
+
const datasets = React2.useMemo(() => {
|
|
1761
|
+
const pallette = getChartColorPreset(type);
|
|
1762
|
+
return Object.entries(data).map(([key, values], index) => {
|
|
1763
|
+
const uniqueColors = getIndexColorByPreset(pallette, index);
|
|
1764
|
+
if (type === "pie" || type === "doughnut") {
|
|
1765
|
+
return {
|
|
1766
|
+
label: key,
|
|
1767
|
+
data: values,
|
|
1768
|
+
backgroundColor: uniqueColors
|
|
1769
|
+
};
|
|
1770
|
+
}
|
|
1771
|
+
return {
|
|
1772
|
+
label: key,
|
|
1773
|
+
data: values,
|
|
1774
|
+
backgroundColor: uniqueColors,
|
|
1775
|
+
borderColor: uniqueColors,
|
|
1776
|
+
maxBarThickness: 32
|
|
1777
|
+
};
|
|
1778
|
+
});
|
|
1779
|
+
}, [data, type]);
|
|
1780
|
+
const chartData = {
|
|
1781
|
+
labels,
|
|
1782
|
+
datasets
|
|
1783
|
+
};
|
|
1784
|
+
const options = {
|
|
1785
|
+
plugins: {
|
|
1786
|
+
legend: { display: false },
|
|
1787
|
+
datalabels: { display: false },
|
|
1788
|
+
tooltip: { enabled: true }
|
|
1789
|
+
}
|
|
1790
|
+
};
|
|
1791
|
+
if (type === "line" || type === "bar") {
|
|
1792
|
+
options.scales = {
|
|
1793
|
+
y: {
|
|
1794
|
+
beginAtZero: true,
|
|
1795
|
+
drawBorder: false,
|
|
1796
|
+
suggestedMax: Math.max(...Object.values(data).flat()) * 1.2,
|
|
1797
|
+
ticks: {
|
|
1798
|
+
maxTicksLimit: 7
|
|
1799
|
+
}
|
|
1800
|
+
},
|
|
1801
|
+
x: {
|
|
1802
|
+
grid: { display: false },
|
|
1803
|
+
ticks: { display: false }
|
|
1804
|
+
}
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
if (type === "pie" || type === "doughnut") {
|
|
1808
|
+
options.plugins.datalabels = {
|
|
1809
|
+
color: colors.xplat.white,
|
|
1810
|
+
font: { weight: "bold" },
|
|
1811
|
+
formatter: (value) => `${value}`
|
|
1812
|
+
};
|
|
1813
|
+
}
|
|
1814
|
+
const renderChart = React2.useMemo(() => {
|
|
1815
|
+
switch (type) {
|
|
1816
|
+
case "line":
|
|
1817
|
+
return /* @__PURE__ */ jsx302(Line, { ref: chartRef, data: chartData, options });
|
|
1818
|
+
case "bar":
|
|
1819
|
+
return /* @__PURE__ */ jsx302(Bar, { ref: chartRef, data: chartData, options });
|
|
1820
|
+
case "pie":
|
|
1821
|
+
return /* @__PURE__ */ jsx302(Pie, { ref: chartRef, data: chartData, options });
|
|
1822
|
+
case "doughnut":
|
|
1823
|
+
return /* @__PURE__ */ jsx302(Doughnut, { ref: chartRef, data: chartData, options });
|
|
1824
|
+
default:
|
|
1825
|
+
return null;
|
|
1826
|
+
}
|
|
1827
|
+
}, [chartData, options, type]);
|
|
1828
|
+
React2.useEffect(() => {
|
|
1829
|
+
if (!containerRef.current || !chartInstanceRef.current) return;
|
|
1830
|
+
const observer = new ResizeObserver(() => {
|
|
1831
|
+
requestAnimationFrame(() => {
|
|
1832
|
+
chartInstanceRef.current?.resize();
|
|
1833
|
+
});
|
|
1834
|
+
});
|
|
1835
|
+
observer.observe(containerRef.current);
|
|
1836
|
+
return () => observer.disconnect();
|
|
1837
|
+
}, []);
|
|
1838
|
+
return /* @__PURE__ */ jsx302("div", { className: "lib-xplat-chart", ref: containerRef, children: renderChart });
|
|
1839
|
+
};
|
|
1840
|
+
Chart.displayName = "Chart";
|
|
1841
|
+
var Chart_default = Chart;
|
|
1842
|
+
|
|
1817
1843
|
// src/components/CheckBox/CheckBox.tsx
|
|
1818
1844
|
import { jsx as jsx303, jsxs as jsxs194 } from "react/jsx-runtime";
|
|
1819
1845
|
var CheckBox = (props) => {
|
|
@@ -1851,7 +1877,7 @@ var CheckBox = (props) => {
|
|
|
1851
1877
|
...rest
|
|
1852
1878
|
}
|
|
1853
1879
|
),
|
|
1854
|
-
/* @__PURE__ */ jsx303("span", { className: clsx_default("checkbox", boxClasses), children: checked
|
|
1880
|
+
/* @__PURE__ */ jsx303("span", { className: clsx_default("checkbox", boxClasses), children: /* @__PURE__ */ jsx303("span", { className: clsx_default("check-icon", { visible: checked }), children: /* @__PURE__ */ jsx303(CheckIcon_default, {}) }) }),
|
|
1855
1881
|
label && /* @__PURE__ */ jsx303("span", { className: "label", children: label })
|
|
1856
1882
|
] });
|
|
1857
1883
|
};
|
|
@@ -2163,13 +2189,48 @@ var Modal_default = Modal;
|
|
|
2163
2189
|
import DatePicker2 from "react-datepicker";
|
|
2164
2190
|
import "react-datepicker/dist/react-datepicker.css";
|
|
2165
2191
|
import { jsx as jsx310 } from "react/jsx-runtime";
|
|
2192
|
+
function getColorValue(ns, color, depth) {
|
|
2193
|
+
const nsColors = colors[ns];
|
|
2194
|
+
const colorEntry = nsColors[color];
|
|
2195
|
+
if (typeof colorEntry === "string") return colorEntry;
|
|
2196
|
+
return colorEntry[String(depth)] ?? "";
|
|
2197
|
+
}
|
|
2166
2198
|
var SingleDatePicker = (props) => {
|
|
2167
|
-
const {
|
|
2199
|
+
const {
|
|
2200
|
+
value,
|
|
2201
|
+
onChange,
|
|
2202
|
+
colorNamespace = "xplat",
|
|
2203
|
+
color = "blue",
|
|
2204
|
+
colorDepth,
|
|
2205
|
+
highlightDates,
|
|
2206
|
+
...rest
|
|
2207
|
+
} = props;
|
|
2168
2208
|
const handleChange = (date) => {
|
|
2169
2209
|
if (Array.isArray(date)) return;
|
|
2170
2210
|
onChange?.(date);
|
|
2171
2211
|
};
|
|
2172
|
-
|
|
2212
|
+
const activeColor = getColorValue(
|
|
2213
|
+
colorNamespace,
|
|
2214
|
+
color,
|
|
2215
|
+
colorDepth ?? 500
|
|
2216
|
+
);
|
|
2217
|
+
return /* @__PURE__ */ jsx310(
|
|
2218
|
+
"div",
|
|
2219
|
+
{
|
|
2220
|
+
className: "lib-xplat-datepicker",
|
|
2221
|
+
style: { "--datepicker-active-color": activeColor },
|
|
2222
|
+
children: /* @__PURE__ */ jsx310(
|
|
2223
|
+
DatePicker2,
|
|
2224
|
+
{
|
|
2225
|
+
selected: value,
|
|
2226
|
+
onChange: handleChange,
|
|
2227
|
+
inline: true,
|
|
2228
|
+
highlightDates,
|
|
2229
|
+
...rest
|
|
2230
|
+
}
|
|
2231
|
+
)
|
|
2232
|
+
}
|
|
2233
|
+
);
|
|
2173
2234
|
};
|
|
2174
2235
|
SingleDatePicker.displayName = "SingleDatePicker";
|
|
2175
2236
|
var SingleDatePicker_default = SingleDatePicker;
|
|
@@ -2230,9 +2291,40 @@ PopupPicker.displayName = "PopupPicker";
|
|
|
2230
2291
|
var PopupPicker_default = PopupPicker;
|
|
2231
2292
|
|
|
2232
2293
|
// src/components/DatePicker/RangePicker/index.tsx
|
|
2294
|
+
import React8 from "react";
|
|
2233
2295
|
import { jsx as jsx312, jsxs as jsxs198 } from "react/jsx-runtime";
|
|
2296
|
+
function getDatesBetween(start, end) {
|
|
2297
|
+
const dates = [];
|
|
2298
|
+
const current = new Date(start);
|
|
2299
|
+
current.setHours(0, 0, 0, 0);
|
|
2300
|
+
const last = new Date(end);
|
|
2301
|
+
last.setHours(0, 0, 0, 0);
|
|
2302
|
+
while (current <= last) {
|
|
2303
|
+
dates.push(new Date(current));
|
|
2304
|
+
current.setDate(current.getDate() + 1);
|
|
2305
|
+
}
|
|
2306
|
+
return dates;
|
|
2307
|
+
}
|
|
2234
2308
|
var RangePicker = (props) => {
|
|
2235
|
-
const {
|
|
2309
|
+
const {
|
|
2310
|
+
startDate,
|
|
2311
|
+
endDate,
|
|
2312
|
+
onChange,
|
|
2313
|
+
minDate,
|
|
2314
|
+
maxDate,
|
|
2315
|
+
colorNamespace,
|
|
2316
|
+
color,
|
|
2317
|
+
colorDepth
|
|
2318
|
+
} = props;
|
|
2319
|
+
const rangeDates = React8.useMemo(
|
|
2320
|
+
() => getDatesBetween(startDate, endDate),
|
|
2321
|
+
[startDate, endDate]
|
|
2322
|
+
);
|
|
2323
|
+
const colorProps = {
|
|
2324
|
+
...colorNamespace !== void 0 && { colorNamespace },
|
|
2325
|
+
...color !== void 0 && { color },
|
|
2326
|
+
...colorDepth !== void 0 && { colorDepth }
|
|
2327
|
+
};
|
|
2236
2328
|
return /* @__PURE__ */ jsxs198("div", { className: "lib-xplat-range-datepicker", children: [
|
|
2237
2329
|
/* @__PURE__ */ jsxs198("div", { className: "lib-xplat-range-datepicker-from", children: [
|
|
2238
2330
|
/* @__PURE__ */ jsx312("span", { className: "lib-xplat-range-datepicker-label", children: "\uC2DC\uC791" }),
|
|
@@ -2242,7 +2334,9 @@ var RangePicker = (props) => {
|
|
|
2242
2334
|
value: startDate,
|
|
2243
2335
|
onChange: (date) => date != null && onChange?.({ startDate: date, endDate }),
|
|
2244
2336
|
minDate,
|
|
2245
|
-
maxDate: endDate
|
|
2337
|
+
maxDate: endDate,
|
|
2338
|
+
highlightDates: rangeDates,
|
|
2339
|
+
...colorProps
|
|
2246
2340
|
}
|
|
2247
2341
|
)
|
|
2248
2342
|
] }),
|
|
@@ -2254,7 +2348,9 @@ var RangePicker = (props) => {
|
|
|
2254
2348
|
value: endDate,
|
|
2255
2349
|
onChange: (date) => date != null && onChange?.({ startDate, endDate: date }),
|
|
2256
2350
|
minDate: startDate,
|
|
2257
|
-
maxDate
|
|
2351
|
+
maxDate,
|
|
2352
|
+
highlightDates: rangeDates,
|
|
2353
|
+
...colorProps
|
|
2258
2354
|
}
|
|
2259
2355
|
)
|
|
2260
2356
|
] })
|
|
@@ -2279,17 +2375,71 @@ var Divider = (props) => {
|
|
|
2279
2375
|
Divider.displayName = "Divider";
|
|
2280
2376
|
var Divider_default = Divider;
|
|
2281
2377
|
|
|
2282
|
-
// src/components/
|
|
2378
|
+
// src/components/Drawer/Drawer.tsx
|
|
2379
|
+
import React9 from "react";
|
|
2380
|
+
import { createPortal as createPortal2 } from "react-dom";
|
|
2381
|
+
import { jsx as jsx314, jsxs as jsxs199 } from "react/jsx-runtime";
|
|
2382
|
+
var ANIMATION_DURATION_MS2 = 250;
|
|
2383
|
+
var Drawer = (props) => {
|
|
2384
|
+
const { isOpen, onClose, placement = "right", width = 320, title, children } = props;
|
|
2385
|
+
const [mounted, setMounted] = React9.useState(false);
|
|
2386
|
+
const [visible, setVisible] = React9.useState(false);
|
|
2387
|
+
React9.useEffect(() => {
|
|
2388
|
+
if (isOpen) {
|
|
2389
|
+
setMounted(true);
|
|
2390
|
+
const t2 = setTimeout(() => setVisible(true), 1);
|
|
2391
|
+
return () => clearTimeout(t2);
|
|
2392
|
+
}
|
|
2393
|
+
setVisible(false);
|
|
2394
|
+
const t = setTimeout(() => setMounted(false), ANIMATION_DURATION_MS2);
|
|
2395
|
+
return () => clearTimeout(t);
|
|
2396
|
+
}, [isOpen]);
|
|
2397
|
+
if (typeof document === "undefined") return null;
|
|
2398
|
+
if (!mounted) return null;
|
|
2399
|
+
const stateClass = visible ? "enter" : "exit";
|
|
2400
|
+
const widthValue = typeof width === "number" ? `${width}px` : width;
|
|
2401
|
+
return createPortal2(
|
|
2402
|
+
/* @__PURE__ */ jsx314(
|
|
2403
|
+
"div",
|
|
2404
|
+
{
|
|
2405
|
+
className: clsx_default("lib-xplat-drawer-overlay", stateClass),
|
|
2406
|
+
onClick: onClose,
|
|
2407
|
+
children: /* @__PURE__ */ jsxs199(
|
|
2408
|
+
"div",
|
|
2409
|
+
{
|
|
2410
|
+
className: clsx_default("lib-xplat-drawer", placement, stateClass),
|
|
2411
|
+
style: { width: widthValue },
|
|
2412
|
+
role: "dialog",
|
|
2413
|
+
"aria-modal": "true",
|
|
2414
|
+
onClick: (e) => e.stopPropagation(),
|
|
2415
|
+
children: [
|
|
2416
|
+
title && /* @__PURE__ */ jsxs199("div", { className: "drawer-header", children: [
|
|
2417
|
+
/* @__PURE__ */ jsx314("span", { className: "drawer-title", children: title }),
|
|
2418
|
+
/* @__PURE__ */ jsx314("button", { className: "close-btn", onClick: onClose, "aria-label": "\uB2EB\uAE30", children: "\xD7" })
|
|
2419
|
+
] }),
|
|
2420
|
+
/* @__PURE__ */ jsx314("div", { className: "drawer-body", children })
|
|
2421
|
+
]
|
|
2422
|
+
}
|
|
2423
|
+
)
|
|
2424
|
+
}
|
|
2425
|
+
),
|
|
2426
|
+
document.body
|
|
2427
|
+
);
|
|
2428
|
+
};
|
|
2429
|
+
Drawer.displayName = "Drawer";
|
|
2430
|
+
var Drawer_default = Drawer;
|
|
2431
|
+
|
|
2432
|
+
// src/components/Dropdown/Dropdown.tsx
|
|
2283
2433
|
import React12 from "react";
|
|
2284
2434
|
|
|
2285
2435
|
// src/tokens/hooks/useAutoPosition.ts
|
|
2286
|
-
import
|
|
2436
|
+
import React10 from "react";
|
|
2287
2437
|
var useAutoPosition = (triggerRef, popRef, enabled = true) => {
|
|
2288
|
-
const [position, setPosition] =
|
|
2438
|
+
const [position, setPosition] = React10.useState({
|
|
2289
2439
|
position: {},
|
|
2290
2440
|
direction: "bottom"
|
|
2291
2441
|
});
|
|
2292
|
-
const calculatePosition =
|
|
2442
|
+
const calculatePosition = React10.useCallback(() => {
|
|
2293
2443
|
if (!triggerRef.current || !popRef.current) return;
|
|
2294
2444
|
const triggerRect = triggerRef.current.getBoundingClientRect();
|
|
2295
2445
|
const popRect = popRef.current.getBoundingClientRect();
|
|
@@ -2311,7 +2461,7 @@ var useAutoPosition = (triggerRef, popRef, enabled = true) => {
|
|
|
2311
2461
|
direction
|
|
2312
2462
|
});
|
|
2313
2463
|
}, [triggerRef, popRef]);
|
|
2314
|
-
|
|
2464
|
+
React10.useEffect(() => {
|
|
2315
2465
|
calculatePosition();
|
|
2316
2466
|
window.addEventListener("resize", calculatePosition);
|
|
2317
2467
|
return () => window.removeEventListener("resize", calculatePosition);
|
|
@@ -2321,9 +2471,9 @@ var useAutoPosition = (triggerRef, popRef, enabled = true) => {
|
|
|
2321
2471
|
var useAutoPosition_default = useAutoPosition;
|
|
2322
2472
|
|
|
2323
2473
|
// src/tokens/hooks/useClickOutside.ts
|
|
2324
|
-
import
|
|
2474
|
+
import React11 from "react";
|
|
2325
2475
|
var useClickOutside = (refs, handler, enabled = true) => {
|
|
2326
|
-
|
|
2476
|
+
React11.useEffect(() => {
|
|
2327
2477
|
if (!enabled) return;
|
|
2328
2478
|
const refArray = Array.isArray(refs) ? refs : [refs];
|
|
2329
2479
|
const listener = (event) => {
|
|
@@ -2345,17 +2495,172 @@ var useClickOutside = (refs, handler, enabled = true) => {
|
|
|
2345
2495
|
};
|
|
2346
2496
|
var useClickOutside_default = useClickOutside;
|
|
2347
2497
|
|
|
2498
|
+
// src/components/Dropdown/Dropdown.tsx
|
|
2499
|
+
import { jsx as jsx315, jsxs as jsxs200 } from "react/jsx-runtime";
|
|
2500
|
+
var Dropdown = (props) => {
|
|
2501
|
+
const { items, children, className } = props;
|
|
2502
|
+
const [isOpen, setIsOpen] = React12.useState(false);
|
|
2503
|
+
const [mounted, setMounted] = React12.useState(false);
|
|
2504
|
+
const [visible, setVisible] = React12.useState(false);
|
|
2505
|
+
const triggerRef = React12.useRef(null);
|
|
2506
|
+
const menuRef = React12.useRef(null);
|
|
2507
|
+
const { position, direction } = useAutoPosition_default(triggerRef, menuRef, isOpen);
|
|
2508
|
+
useClickOutside_default([triggerRef, menuRef], () => setIsOpen(false));
|
|
2509
|
+
React12.useEffect(() => {
|
|
2510
|
+
if (isOpen) {
|
|
2511
|
+
setMounted(true);
|
|
2512
|
+
const t2 = setTimeout(() => setVisible(true), 1);
|
|
2513
|
+
return () => clearTimeout(t2);
|
|
2514
|
+
}
|
|
2515
|
+
setVisible(false);
|
|
2516
|
+
const t = setTimeout(() => setMounted(false), 150);
|
|
2517
|
+
return () => clearTimeout(t);
|
|
2518
|
+
}, [isOpen]);
|
|
2519
|
+
const handleItemClick = (item) => {
|
|
2520
|
+
if (item.disabled) return;
|
|
2521
|
+
item.onClick?.();
|
|
2522
|
+
setIsOpen(false);
|
|
2523
|
+
};
|
|
2524
|
+
return /* @__PURE__ */ jsxs200("div", { className: clsx_default("lib-xplat-dropdown", className), children: [
|
|
2525
|
+
/* @__PURE__ */ jsx315(
|
|
2526
|
+
"div",
|
|
2527
|
+
{
|
|
2528
|
+
ref: triggerRef,
|
|
2529
|
+
className: "dropdown-trigger",
|
|
2530
|
+
onClick: () => setIsOpen((prev) => !prev),
|
|
2531
|
+
children
|
|
2532
|
+
}
|
|
2533
|
+
),
|
|
2534
|
+
mounted && /* @__PURE__ */ jsx315(
|
|
2535
|
+
"div",
|
|
2536
|
+
{
|
|
2537
|
+
ref: menuRef,
|
|
2538
|
+
className: clsx_default("dropdown-menu", direction, { visible }),
|
|
2539
|
+
style: { top: position.top, left: position.left },
|
|
2540
|
+
role: "menu",
|
|
2541
|
+
children: items.map((item) => /* @__PURE__ */ jsx315(
|
|
2542
|
+
"button",
|
|
2543
|
+
{
|
|
2544
|
+
className: clsx_default("dropdown-item", {
|
|
2545
|
+
disabled: item.disabled,
|
|
2546
|
+
danger: item.danger
|
|
2547
|
+
}),
|
|
2548
|
+
role: "menuitem",
|
|
2549
|
+
disabled: item.disabled,
|
|
2550
|
+
onClick: () => handleItemClick(item),
|
|
2551
|
+
children: item.label
|
|
2552
|
+
},
|
|
2553
|
+
item.key
|
|
2554
|
+
))
|
|
2555
|
+
}
|
|
2556
|
+
)
|
|
2557
|
+
] });
|
|
2558
|
+
};
|
|
2559
|
+
Dropdown.displayName = "Dropdown";
|
|
2560
|
+
var Dropdown_default = Dropdown;
|
|
2561
|
+
|
|
2562
|
+
// src/components/EmptyState/EmptyState.tsx
|
|
2563
|
+
import { jsx as jsx316, jsxs as jsxs201 } from "react/jsx-runtime";
|
|
2564
|
+
var EmptyState = (props) => {
|
|
2565
|
+
const { icon, title = "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4", description, action, className } = props;
|
|
2566
|
+
return /* @__PURE__ */ jsxs201("div", { className: clsx_default("lib-xplat-empty-state", className), children: [
|
|
2567
|
+
icon && /* @__PURE__ */ jsx316("div", { className: "empty-icon", children: icon }),
|
|
2568
|
+
!icon && /* @__PURE__ */ jsx316("div", { className: "empty-icon", children: /* @__PURE__ */ jsx316("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx316("path", { d: "M20 6h-8l-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V8h16v10z" }) }) }),
|
|
2569
|
+
/* @__PURE__ */ jsx316("p", { className: "empty-title", children: title }),
|
|
2570
|
+
description && /* @__PURE__ */ jsx316("p", { className: "empty-description", children: description }),
|
|
2571
|
+
action && /* @__PURE__ */ jsx316("div", { className: "empty-action", children: action })
|
|
2572
|
+
] });
|
|
2573
|
+
};
|
|
2574
|
+
EmptyState.displayName = "EmptyState";
|
|
2575
|
+
var EmptyState_default = EmptyState;
|
|
2576
|
+
|
|
2577
|
+
// src/components/FileUpload/FileUpload.tsx
|
|
2578
|
+
import React13 from "react";
|
|
2579
|
+
import { jsx as jsx317, jsxs as jsxs202 } from "react/jsx-runtime";
|
|
2580
|
+
var FileUpload = (props) => {
|
|
2581
|
+
const {
|
|
2582
|
+
accept,
|
|
2583
|
+
multiple = false,
|
|
2584
|
+
maxSize,
|
|
2585
|
+
onChange,
|
|
2586
|
+
label = "\uD30C\uC77C\uC744 \uB4DC\uB798\uADF8\uD558\uAC70\uB098 \uD074\uB9AD\uD558\uC5EC \uC5C5\uB85C\uB4DC",
|
|
2587
|
+
description,
|
|
2588
|
+
className
|
|
2589
|
+
} = props;
|
|
2590
|
+
const [isDragOver, setIsDragOver] = React13.useState(false);
|
|
2591
|
+
const inputRef = React13.useRef(null);
|
|
2592
|
+
const handleFiles = (fileList) => {
|
|
2593
|
+
let files = Array.from(fileList);
|
|
2594
|
+
if (maxSize) {
|
|
2595
|
+
files = files.filter((f) => f.size <= maxSize);
|
|
2596
|
+
}
|
|
2597
|
+
if (!multiple && files.length > 1) {
|
|
2598
|
+
files = [files[0]];
|
|
2599
|
+
}
|
|
2600
|
+
onChange?.(files);
|
|
2601
|
+
};
|
|
2602
|
+
const handleDrop = (e) => {
|
|
2603
|
+
e.preventDefault();
|
|
2604
|
+
setIsDragOver(false);
|
|
2605
|
+
if (e.dataTransfer.files.length > 0) {
|
|
2606
|
+
handleFiles(e.dataTransfer.files);
|
|
2607
|
+
}
|
|
2608
|
+
};
|
|
2609
|
+
const handleDragOver = (e) => {
|
|
2610
|
+
e.preventDefault();
|
|
2611
|
+
setIsDragOver(true);
|
|
2612
|
+
};
|
|
2613
|
+
const handleDragLeave = () => {
|
|
2614
|
+
setIsDragOver(false);
|
|
2615
|
+
};
|
|
2616
|
+
const handleChange = (e) => {
|
|
2617
|
+
if (e.target.files && e.target.files.length > 0) {
|
|
2618
|
+
handleFiles(e.target.files);
|
|
2619
|
+
}
|
|
2620
|
+
};
|
|
2621
|
+
return /* @__PURE__ */ jsxs202(
|
|
2622
|
+
"div",
|
|
2623
|
+
{
|
|
2624
|
+
className: clsx_default("lib-xplat-file-upload", { "drag-over": isDragOver }, className),
|
|
2625
|
+
onDrop: handleDrop,
|
|
2626
|
+
onDragOver: handleDragOver,
|
|
2627
|
+
onDragLeave: handleDragLeave,
|
|
2628
|
+
onClick: () => inputRef.current?.click(),
|
|
2629
|
+
children: [
|
|
2630
|
+
/* @__PURE__ */ jsx317(
|
|
2631
|
+
"input",
|
|
2632
|
+
{
|
|
2633
|
+
ref: inputRef,
|
|
2634
|
+
type: "file",
|
|
2635
|
+
accept,
|
|
2636
|
+
multiple,
|
|
2637
|
+
onChange: handleChange
|
|
2638
|
+
}
|
|
2639
|
+
),
|
|
2640
|
+
/* @__PURE__ */ jsx317("div", { className: "upload-icon", children: /* @__PURE__ */ jsx317(UploadIcon_default, {}) }),
|
|
2641
|
+
/* @__PURE__ */ jsx317("p", { className: "upload-label", children: label }),
|
|
2642
|
+
description && /* @__PURE__ */ jsx317("p", { className: "upload-description", children: description })
|
|
2643
|
+
]
|
|
2644
|
+
}
|
|
2645
|
+
);
|
|
2646
|
+
};
|
|
2647
|
+
FileUpload.displayName = "FileUpload";
|
|
2648
|
+
var FileUpload_default = FileUpload;
|
|
2649
|
+
|
|
2650
|
+
// src/components/Select/Select.tsx
|
|
2651
|
+
import React16 from "react";
|
|
2652
|
+
|
|
2348
2653
|
// src/components/Select/context.ts
|
|
2349
|
-
import
|
|
2350
|
-
var SelectContext =
|
|
2654
|
+
import React14 from "react";
|
|
2655
|
+
var SelectContext = React14.createContext(null);
|
|
2351
2656
|
var context_default = SelectContext;
|
|
2352
2657
|
|
|
2353
2658
|
// src/components/Select/SelectItem.tsx
|
|
2354
|
-
import
|
|
2355
|
-
import { jsx as
|
|
2659
|
+
import React15 from "react";
|
|
2660
|
+
import { jsx as jsx318 } from "react/jsx-runtime";
|
|
2356
2661
|
var SelectItem = (props) => {
|
|
2357
2662
|
const { children, value, onClick, disabled = false, className } = props;
|
|
2358
|
-
const ctx =
|
|
2663
|
+
const ctx = React15.useContext(context_default);
|
|
2359
2664
|
const handleClick = (e) => {
|
|
2360
2665
|
e.preventDefault();
|
|
2361
2666
|
e.stopPropagation();
|
|
@@ -2364,7 +2669,7 @@ var SelectItem = (props) => {
|
|
|
2364
2669
|
ctx?.close();
|
|
2365
2670
|
onClick?.();
|
|
2366
2671
|
};
|
|
2367
|
-
return /* @__PURE__ */
|
|
2672
|
+
return /* @__PURE__ */ jsx318(
|
|
2368
2673
|
"div",
|
|
2369
2674
|
{
|
|
2370
2675
|
className: clsx_default("select-item", disabled && "disabled", className),
|
|
@@ -2385,51 +2690,61 @@ SelectItem.displayName = "Select.Item";
|
|
|
2385
2690
|
var SelectItem_default = SelectItem;
|
|
2386
2691
|
|
|
2387
2692
|
// src/components/Select/Select.tsx
|
|
2388
|
-
import { jsx as
|
|
2389
|
-
var
|
|
2693
|
+
import { jsx as jsx319, jsxs as jsxs203 } from "react/jsx-runtime";
|
|
2694
|
+
var ANIMATION_DURATION_MS3 = 200;
|
|
2390
2695
|
var SelectRoot = (props) => {
|
|
2391
2696
|
const {
|
|
2392
2697
|
placeholder = "\uC120\uD0DD\uD558\uC138\uC694",
|
|
2698
|
+
value: valueProp,
|
|
2393
2699
|
onChange,
|
|
2394
2700
|
children,
|
|
2395
2701
|
disabled = false,
|
|
2396
2702
|
error = false
|
|
2397
2703
|
} = props;
|
|
2398
|
-
const itemChildren =
|
|
2399
|
-
(child) =>
|
|
2704
|
+
const itemChildren = React16.Children.toArray(children).filter(
|
|
2705
|
+
(child) => React16.isValidElement(child) && child.type === SelectItem_default
|
|
2400
2706
|
);
|
|
2401
|
-
const
|
|
2402
|
-
const [
|
|
2403
|
-
const
|
|
2404
|
-
const
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2707
|
+
const isControlled = valueProp !== void 0;
|
|
2708
|
+
const [isOpen, setOpen] = React16.useState(false);
|
|
2709
|
+
const [uncontrolledLabel, setUncontrolledLabel] = React16.useState(null);
|
|
2710
|
+
const controlledLabel = React16.useMemo(() => {
|
|
2711
|
+
if (!isControlled) return null;
|
|
2712
|
+
const match = itemChildren.find((child) => child.props.value === valueProp);
|
|
2713
|
+
return match ? match.props.children : null;
|
|
2714
|
+
}, [isControlled, valueProp, itemChildren]);
|
|
2715
|
+
const selectedLabel = isControlled ? controlledLabel : uncontrolledLabel;
|
|
2716
|
+
const triggerRef = React16.useRef(null);
|
|
2717
|
+
const contentRef = React16.useRef(null);
|
|
2718
|
+
const [mounted, setMounted] = React16.useState(false);
|
|
2719
|
+
const [visible, setVisible] = React16.useState(false);
|
|
2720
|
+
React16.useEffect(() => {
|
|
2408
2721
|
if (disabled && isOpen) setOpen(false);
|
|
2409
2722
|
}, [disabled, isOpen]);
|
|
2410
|
-
|
|
2723
|
+
React16.useEffect(() => {
|
|
2411
2724
|
if (isOpen) {
|
|
2412
2725
|
setMounted(true);
|
|
2413
2726
|
const t2 = setTimeout(() => setVisible(true), 1);
|
|
2414
2727
|
return () => clearTimeout(t2);
|
|
2415
2728
|
}
|
|
2416
2729
|
setVisible(false);
|
|
2417
|
-
const t = setTimeout(() => setMounted(false),
|
|
2730
|
+
const t = setTimeout(() => setMounted(false), ANIMATION_DURATION_MS3);
|
|
2418
2731
|
return () => clearTimeout(t);
|
|
2419
2732
|
}, [isOpen]);
|
|
2420
|
-
const open =
|
|
2421
|
-
const close =
|
|
2422
|
-
const toggle =
|
|
2733
|
+
const open = React16.useCallback(() => setOpen(true), []);
|
|
2734
|
+
const close = React16.useCallback(() => setOpen(false), []);
|
|
2735
|
+
const toggle = React16.useCallback(() => setOpen((prev) => !prev), []);
|
|
2423
2736
|
useClickOutside_default([contentRef, triggerRef], close, isOpen);
|
|
2424
2737
|
const position = useAutoPosition_default(triggerRef, contentRef, mounted);
|
|
2425
|
-
const setSelected =
|
|
2426
|
-
(label,
|
|
2427
|
-
|
|
2428
|
-
|
|
2738
|
+
const setSelected = React16.useCallback(
|
|
2739
|
+
(label, itemValue) => {
|
|
2740
|
+
if (!isControlled) {
|
|
2741
|
+
setUncontrolledLabel(label);
|
|
2742
|
+
}
|
|
2743
|
+
onChange?.(itemValue, label);
|
|
2429
2744
|
},
|
|
2430
|
-
[onChange]
|
|
2745
|
+
[isControlled, onChange]
|
|
2431
2746
|
);
|
|
2432
|
-
const
|
|
2747
|
+
const ctxValue = React16.useMemo(
|
|
2433
2748
|
() => ({
|
|
2434
2749
|
isOpen,
|
|
2435
2750
|
mounted,
|
|
@@ -2450,7 +2765,7 @@ var SelectRoot = (props) => {
|
|
|
2450
2765
|
if (disabled) return;
|
|
2451
2766
|
toggle();
|
|
2452
2767
|
};
|
|
2453
|
-
return /* @__PURE__ */
|
|
2768
|
+
return /* @__PURE__ */ jsx319(context_default.Provider, { value: ctxValue, children: /* @__PURE__ */ jsxs203(
|
|
2454
2769
|
"div",
|
|
2455
2770
|
{
|
|
2456
2771
|
className: clsx_default(
|
|
@@ -2460,7 +2775,7 @@ var SelectRoot = (props) => {
|
|
|
2460
2775
|
mounted && "is-open"
|
|
2461
2776
|
),
|
|
2462
2777
|
children: [
|
|
2463
|
-
/* @__PURE__ */
|
|
2778
|
+
/* @__PURE__ */ jsxs203(
|
|
2464
2779
|
"div",
|
|
2465
2780
|
{
|
|
2466
2781
|
ref: triggerRef,
|
|
@@ -2484,7 +2799,7 @@ var SelectRoot = (props) => {
|
|
|
2484
2799
|
}
|
|
2485
2800
|
},
|
|
2486
2801
|
children: [
|
|
2487
|
-
/* @__PURE__ */
|
|
2802
|
+
/* @__PURE__ */ jsx319(
|
|
2488
2803
|
"span",
|
|
2489
2804
|
{
|
|
2490
2805
|
className: clsx_default(
|
|
@@ -2494,18 +2809,18 @@ var SelectRoot = (props) => {
|
|
|
2494
2809
|
children: selectedLabel ?? placeholder
|
|
2495
2810
|
}
|
|
2496
2811
|
),
|
|
2497
|
-
/* @__PURE__ */
|
|
2812
|
+
/* @__PURE__ */ jsx319(
|
|
2498
2813
|
"span",
|
|
2499
2814
|
{
|
|
2500
2815
|
className: clsx_default("select-trigger-icon", isOpen && "open"),
|
|
2501
2816
|
"aria-hidden": true,
|
|
2502
|
-
children: /* @__PURE__ */
|
|
2817
|
+
children: /* @__PURE__ */ jsx319(ChevronDownIcon_default, {})
|
|
2503
2818
|
}
|
|
2504
2819
|
)
|
|
2505
2820
|
]
|
|
2506
2821
|
}
|
|
2507
2822
|
),
|
|
2508
|
-
mounted && /* @__PURE__ */
|
|
2823
|
+
mounted && /* @__PURE__ */ jsx319(
|
|
2509
2824
|
"div",
|
|
2510
2825
|
{
|
|
2511
2826
|
className: clsx_default("select-content", position.direction, stateClass),
|
|
@@ -2526,10 +2841,10 @@ var Select = Object.assign(SelectRoot, {
|
|
|
2526
2841
|
var Select_default = Select;
|
|
2527
2842
|
|
|
2528
2843
|
// src/components/HtmlTypeWriter/HtmlTypeWriter.tsx
|
|
2529
|
-
import
|
|
2844
|
+
import React18 from "react";
|
|
2530
2845
|
|
|
2531
2846
|
// src/components/HtmlTypeWriter/utils.ts
|
|
2532
|
-
import
|
|
2847
|
+
import React17 from "react";
|
|
2533
2848
|
var voidTags = /* @__PURE__ */ new Set([
|
|
2534
2849
|
"br",
|
|
2535
2850
|
"img",
|
|
@@ -2597,40 +2912,40 @@ function convertNodeToReactWithRange(node, typedLen, rangeMap) {
|
|
|
2597
2912
|
props[attr.name] = attr.value;
|
|
2598
2913
|
});
|
|
2599
2914
|
if (voidTags.has(tag)) {
|
|
2600
|
-
return
|
|
2915
|
+
return React17.createElement(tag, props);
|
|
2601
2916
|
}
|
|
2602
2917
|
const children = Array.from(element.childNodes).map((child) => convertNodeToReactWithRange(child, typedLen, rangeMap)).filter((n) => n != null);
|
|
2603
|
-
return
|
|
2918
|
+
return React17.createElement(tag, props, ...children);
|
|
2604
2919
|
}
|
|
2605
2920
|
function htmlToReactProgressive(root, typedLen, rangeMap) {
|
|
2606
2921
|
const nodes = Array.from(root.childNodes).map((child, idx) => {
|
|
2607
2922
|
const node = convertNodeToReactWithRange(child, typedLen, rangeMap);
|
|
2608
|
-
return node == null ? null :
|
|
2923
|
+
return node == null ? null : React17.createElement(React17.Fragment, { key: idx }, node);
|
|
2609
2924
|
}).filter(Boolean);
|
|
2610
2925
|
return nodes.length === 0 ? null : nodes;
|
|
2611
2926
|
}
|
|
2612
2927
|
|
|
2613
2928
|
// src/components/HtmlTypeWriter/HtmlTypeWriter.tsx
|
|
2614
|
-
import { jsx as
|
|
2929
|
+
import { jsx as jsx320 } from "react/jsx-runtime";
|
|
2615
2930
|
var HtmlTypeWriter = ({
|
|
2616
2931
|
html,
|
|
2617
2932
|
duration = 20,
|
|
2618
2933
|
onDone,
|
|
2619
2934
|
onChange
|
|
2620
2935
|
}) => {
|
|
2621
|
-
const [typedLen, setTypedLen] =
|
|
2622
|
-
const doneCalledRef =
|
|
2623
|
-
const { doc, rangeMap, totalLength } =
|
|
2936
|
+
const [typedLen, setTypedLen] = React18.useState(0);
|
|
2937
|
+
const doneCalledRef = React18.useRef(false);
|
|
2938
|
+
const { doc, rangeMap, totalLength } = React18.useMemo(() => {
|
|
2624
2939
|
const decoded = decodeHtmlEntities(html);
|
|
2625
2940
|
const doc2 = new DOMParser().parseFromString(decoded, "text/html");
|
|
2626
2941
|
const { rangeMap: rangeMap2, totalLength: totalLength2 } = buildRangeMap(doc2.body);
|
|
2627
2942
|
return { doc: doc2, rangeMap: rangeMap2, totalLength: totalLength2 };
|
|
2628
2943
|
}, [html]);
|
|
2629
|
-
|
|
2944
|
+
React18.useEffect(() => {
|
|
2630
2945
|
setTypedLen(0);
|
|
2631
2946
|
doneCalledRef.current = false;
|
|
2632
2947
|
}, [html]);
|
|
2633
|
-
|
|
2948
|
+
React18.useEffect(() => {
|
|
2634
2949
|
if (!totalLength) return;
|
|
2635
2950
|
if (typedLen >= totalLength) return;
|
|
2636
2951
|
const timer = window.setInterval(() => {
|
|
@@ -2638,33 +2953,33 @@ var HtmlTypeWriter = ({
|
|
|
2638
2953
|
}, duration);
|
|
2639
2954
|
return () => window.clearInterval(timer);
|
|
2640
2955
|
}, [typedLen, totalLength, duration]);
|
|
2641
|
-
|
|
2956
|
+
React18.useEffect(() => {
|
|
2642
2957
|
if (typedLen > 0 && typedLen < totalLength) {
|
|
2643
2958
|
onChange?.();
|
|
2644
2959
|
}
|
|
2645
2960
|
}, [typedLen, totalLength, onChange]);
|
|
2646
|
-
|
|
2961
|
+
React18.useEffect(() => {
|
|
2647
2962
|
if (typedLen === totalLength && totalLength > 0 && !doneCalledRef.current) {
|
|
2648
2963
|
doneCalledRef.current = true;
|
|
2649
2964
|
onDone?.();
|
|
2650
2965
|
}
|
|
2651
2966
|
}, [typedLen, totalLength, onDone]);
|
|
2652
|
-
const parsed =
|
|
2967
|
+
const parsed = React18.useMemo(
|
|
2653
2968
|
() => htmlToReactProgressive(doc.body, typedLen, rangeMap),
|
|
2654
2969
|
[doc.body, typedLen, rangeMap]
|
|
2655
2970
|
);
|
|
2656
|
-
return /* @__PURE__ */
|
|
2971
|
+
return /* @__PURE__ */ jsx320("div", { className: "lib-xplat-htmlTypewriter", children: parsed });
|
|
2657
2972
|
};
|
|
2658
2973
|
HtmlTypeWriter.displayName = "HtmlTypeWriter";
|
|
2659
2974
|
var HtmlTypeWriter_default = HtmlTypeWriter;
|
|
2660
2975
|
|
|
2661
2976
|
// src/components/ImageSelector/ImageSelector.tsx
|
|
2662
|
-
import
|
|
2663
|
-
import { jsx as
|
|
2977
|
+
import React19 from "react";
|
|
2978
|
+
import { jsx as jsx321, jsxs as jsxs204 } from "react/jsx-runtime";
|
|
2664
2979
|
var ImageSelector = (props) => {
|
|
2665
2980
|
const { value, label, onChange } = props;
|
|
2666
|
-
const [previewUrl, setPreviewUrl] =
|
|
2667
|
-
|
|
2981
|
+
const [previewUrl, setPreviewUrl] = React19.useState();
|
|
2982
|
+
React19.useEffect(() => {
|
|
2668
2983
|
if (!value) {
|
|
2669
2984
|
setPreviewUrl(void 0);
|
|
2670
2985
|
return;
|
|
@@ -2673,7 +2988,7 @@ var ImageSelector = (props) => {
|
|
|
2673
2988
|
setPreviewUrl(url);
|
|
2674
2989
|
return () => URL.revokeObjectURL(url);
|
|
2675
2990
|
}, [value]);
|
|
2676
|
-
const inputRef =
|
|
2991
|
+
const inputRef = React19.useRef(null);
|
|
2677
2992
|
const handleFileChange = (e) => {
|
|
2678
2993
|
const selectedFile = e.target.files?.[0];
|
|
2679
2994
|
if (selectedFile) {
|
|
@@ -2686,8 +3001,8 @@ var ImageSelector = (props) => {
|
|
|
2686
3001
|
const handleOpenFileDialog = () => {
|
|
2687
3002
|
inputRef.current?.click();
|
|
2688
3003
|
};
|
|
2689
|
-
return /* @__PURE__ */
|
|
2690
|
-
/* @__PURE__ */
|
|
3004
|
+
return /* @__PURE__ */ jsxs204("div", { className: `lib-xplat-imageselector${value ? "" : " none-value"}`, children: [
|
|
3005
|
+
/* @__PURE__ */ jsx321(
|
|
2691
3006
|
"input",
|
|
2692
3007
|
{
|
|
2693
3008
|
type: "file",
|
|
@@ -2697,13 +3012,13 @@ var ImageSelector = (props) => {
|
|
|
2697
3012
|
ref: inputRef
|
|
2698
3013
|
}
|
|
2699
3014
|
),
|
|
2700
|
-
value && /* @__PURE__ */
|
|
2701
|
-
/* @__PURE__ */
|
|
2702
|
-
/* @__PURE__ */
|
|
3015
|
+
value && /* @__PURE__ */ jsxs204("div", { className: "action-bar", children: [
|
|
3016
|
+
/* @__PURE__ */ jsx321("div", { className: "icon-wrapper", onClick: handleOpenFileDialog, children: /* @__PURE__ */ jsx321(UploadIcon_default, {}) }),
|
|
3017
|
+
/* @__PURE__ */ jsx321("div", { className: "icon-wrapper", onClick: handleDeleteFile, children: /* @__PURE__ */ jsx321(DeleteIcon_default, {}) })
|
|
2703
3018
|
] }),
|
|
2704
|
-
/* @__PURE__ */
|
|
2705
|
-
/* @__PURE__ */
|
|
2706
|
-
/* @__PURE__ */
|
|
3019
|
+
/* @__PURE__ */ jsx321("div", { className: "content", children: previewUrl ? /* @__PURE__ */ jsx321("img", { src: previewUrl, alt: "preview" }) : /* @__PURE__ */ jsxs204("div", { className: "skeleton", onClick: handleOpenFileDialog, children: [
|
|
3020
|
+
/* @__PURE__ */ jsx321("div", { className: "icon-wrapper", children: /* @__PURE__ */ jsx321(ImageIcon_default, {}) }),
|
|
3021
|
+
/* @__PURE__ */ jsx321("div", { className: "label", children: label || "\uC774\uBBF8\uC9C0 \uCD94\uAC00\uD558\uAE30" })
|
|
2707
3022
|
] }) })
|
|
2708
3023
|
] });
|
|
2709
3024
|
};
|
|
@@ -2711,7 +3026,7 @@ ImageSelector.displayName = "ImageSelector";
|
|
|
2711
3026
|
var ImageSelector_default = ImageSelector;
|
|
2712
3027
|
|
|
2713
3028
|
// src/components/Pagination/Pagination.tsx
|
|
2714
|
-
import { jsx as
|
|
3029
|
+
import { jsx as jsx322, jsxs as jsxs205 } from "react/jsx-runtime";
|
|
2715
3030
|
function getPageRange(current, totalPages, siblingCount) {
|
|
2716
3031
|
const totalNumbers = siblingCount * 2 + 5;
|
|
2717
3032
|
if (totalPages <= totalNumbers) {
|
|
@@ -2761,19 +3076,19 @@ var Pagination = (props) => {
|
|
|
2761
3076
|
onChange?.(page);
|
|
2762
3077
|
}
|
|
2763
3078
|
};
|
|
2764
|
-
return /* @__PURE__ */
|
|
2765
|
-
/* @__PURE__ */
|
|
3079
|
+
return /* @__PURE__ */ jsxs205("nav", { className: clsx_default("lib-xplat-pagination", className), "aria-label": "\uD398\uC774\uC9C0 \uB124\uBE44\uAC8C\uC774\uC158", children: [
|
|
3080
|
+
/* @__PURE__ */ jsx322(
|
|
2766
3081
|
"button",
|
|
2767
3082
|
{
|
|
2768
3083
|
className: "page-btn prev",
|
|
2769
3084
|
disabled: current <= 1,
|
|
2770
3085
|
onClick: () => handleClick(current - 1),
|
|
2771
3086
|
"aria-label": "\uC774\uC804 \uD398\uC774\uC9C0",
|
|
2772
|
-
children: /* @__PURE__ */
|
|
3087
|
+
children: /* @__PURE__ */ jsx322(ChevronLeftIcon_default, {})
|
|
2773
3088
|
}
|
|
2774
3089
|
),
|
|
2775
3090
|
pages.map(
|
|
2776
|
-
(page, i) => page === "..." ? /* @__PURE__ */
|
|
3091
|
+
(page, i) => page === "..." ? /* @__PURE__ */ jsx322("span", { className: "dots", children: "..." }, `dots-${i}`) : /* @__PURE__ */ jsx322(
|
|
2777
3092
|
"button",
|
|
2778
3093
|
{
|
|
2779
3094
|
className: clsx_default("page-btn", colorClass, { active: page === current }),
|
|
@@ -2784,14 +3099,14 @@ var Pagination = (props) => {
|
|
|
2784
3099
|
page
|
|
2785
3100
|
)
|
|
2786
3101
|
),
|
|
2787
|
-
/* @__PURE__ */
|
|
3102
|
+
/* @__PURE__ */ jsx322(
|
|
2788
3103
|
"button",
|
|
2789
3104
|
{
|
|
2790
3105
|
className: "page-btn next",
|
|
2791
3106
|
disabled: current >= totalPages,
|
|
2792
3107
|
onClick: () => handleClick(current + 1),
|
|
2793
3108
|
"aria-label": "\uB2E4\uC74C \uD398\uC774\uC9C0",
|
|
2794
|
-
children: /* @__PURE__ */
|
|
3109
|
+
children: /* @__PURE__ */ jsx322(ChevronRightIcon_default, {})
|
|
2795
3110
|
}
|
|
2796
3111
|
)
|
|
2797
3112
|
] });
|
|
@@ -2800,17 +3115,17 @@ Pagination.displayName = "Pagination";
|
|
|
2800
3115
|
var Pagination_default = Pagination;
|
|
2801
3116
|
|
|
2802
3117
|
// src/components/PopOver/PopOver.tsx
|
|
2803
|
-
import
|
|
2804
|
-
import { jsx as
|
|
3118
|
+
import React20 from "react";
|
|
3119
|
+
import { jsx as jsx323, jsxs as jsxs206 } from "react/jsx-runtime";
|
|
2805
3120
|
var PopOver = (props) => {
|
|
2806
3121
|
const { children, isOpen, onClose, PopOverEl } = props;
|
|
2807
|
-
const popRef =
|
|
2808
|
-
const triggerRef =
|
|
2809
|
-
const [localOpen, setLocalOpen] =
|
|
2810
|
-
const [eventTrigger, setEventTrigger] =
|
|
3122
|
+
const popRef = React20.useRef(null);
|
|
3123
|
+
const triggerRef = React20.useRef(null);
|
|
3124
|
+
const [localOpen, setLocalOpen] = React20.useState(false);
|
|
3125
|
+
const [eventTrigger, setEventTrigger] = React20.useState(false);
|
|
2811
3126
|
useClickOutside_default([popRef, triggerRef], onClose, isOpen);
|
|
2812
3127
|
const position = useAutoPosition_default(triggerRef, popRef, localOpen);
|
|
2813
|
-
|
|
3128
|
+
React20.useEffect(() => {
|
|
2814
3129
|
if (isOpen) {
|
|
2815
3130
|
setLocalOpen(isOpen);
|
|
2816
3131
|
setTimeout(() => {
|
|
@@ -2823,7 +3138,7 @@ var PopOver = (props) => {
|
|
|
2823
3138
|
}, 200);
|
|
2824
3139
|
}
|
|
2825
3140
|
}, [isOpen]);
|
|
2826
|
-
return /* @__PURE__ */
|
|
3141
|
+
return /* @__PURE__ */ jsxs206(
|
|
2827
3142
|
"div",
|
|
2828
3143
|
{
|
|
2829
3144
|
className: "lib-xplat-pop-over",
|
|
@@ -2833,7 +3148,7 @@ var PopOver = (props) => {
|
|
|
2833
3148
|
},
|
|
2834
3149
|
children: [
|
|
2835
3150
|
children,
|
|
2836
|
-
localOpen && /* @__PURE__ */
|
|
3151
|
+
localOpen && /* @__PURE__ */ jsx323(
|
|
2837
3152
|
"div",
|
|
2838
3153
|
{
|
|
2839
3154
|
className: clsx_default(
|
|
@@ -2856,7 +3171,7 @@ PopOver.displayName = "PopOver";
|
|
|
2856
3171
|
var PopOver_default = PopOver;
|
|
2857
3172
|
|
|
2858
3173
|
// src/components/Progress/Progress.tsx
|
|
2859
|
-
import { jsx as
|
|
3174
|
+
import { jsx as jsx324, jsxs as jsxs207 } from "react/jsx-runtime";
|
|
2860
3175
|
var Progress = (props) => {
|
|
2861
3176
|
const {
|
|
2862
3177
|
value,
|
|
@@ -2874,8 +3189,8 @@ var Progress = (props) => {
|
|
|
2874
3189
|
colorDepth ?? 500
|
|
2875
3190
|
);
|
|
2876
3191
|
const percentage = Math.min(100, Math.max(0, value / max * 100));
|
|
2877
|
-
return /* @__PURE__ */
|
|
2878
|
-
/* @__PURE__ */
|
|
3192
|
+
return /* @__PURE__ */ jsxs207("div", { className: clsx_default("lib-xplat-progress", size, className), children: [
|
|
3193
|
+
/* @__PURE__ */ jsx324(
|
|
2879
3194
|
"div",
|
|
2880
3195
|
{
|
|
2881
3196
|
className: "track",
|
|
@@ -2883,7 +3198,7 @@ var Progress = (props) => {
|
|
|
2883
3198
|
"aria-valuenow": value,
|
|
2884
3199
|
"aria-valuemin": 0,
|
|
2885
3200
|
"aria-valuemax": max,
|
|
2886
|
-
children: /* @__PURE__ */
|
|
3201
|
+
children: /* @__PURE__ */ jsx324(
|
|
2887
3202
|
"div",
|
|
2888
3203
|
{
|
|
2889
3204
|
className: clsx_default("bar", colorClass),
|
|
@@ -2892,7 +3207,7 @@ var Progress = (props) => {
|
|
|
2892
3207
|
)
|
|
2893
3208
|
}
|
|
2894
3209
|
),
|
|
2895
|
-
showLabel && /* @__PURE__ */
|
|
3210
|
+
showLabel && /* @__PURE__ */ jsxs207("span", { className: "label", children: [
|
|
2896
3211
|
Math.round(percentage),
|
|
2897
3212
|
"%"
|
|
2898
3213
|
] })
|
|
@@ -2902,17 +3217,17 @@ Progress.displayName = "Progress";
|
|
|
2902
3217
|
var Progress_default = Progress;
|
|
2903
3218
|
|
|
2904
3219
|
// src/components/Radio/RadioGroupContext.tsx
|
|
2905
|
-
import
|
|
2906
|
-
var RadioGroupContext =
|
|
3220
|
+
import React21 from "react";
|
|
3221
|
+
var RadioGroupContext = React21.createContext(
|
|
2907
3222
|
null
|
|
2908
3223
|
);
|
|
2909
3224
|
var useRadioGroupContext = () => {
|
|
2910
|
-
return
|
|
3225
|
+
return React21.useContext(RadioGroupContext);
|
|
2911
3226
|
};
|
|
2912
3227
|
var RadioGroupContext_default = RadioGroupContext;
|
|
2913
3228
|
|
|
2914
3229
|
// src/components/Radio/Radio.tsx
|
|
2915
|
-
import { jsx as
|
|
3230
|
+
import { jsx as jsx325, jsxs as jsxs208 } from "react/jsx-runtime";
|
|
2916
3231
|
var Radio = (props) => {
|
|
2917
3232
|
const {
|
|
2918
3233
|
label,
|
|
@@ -2936,7 +3251,7 @@ var Radio = (props) => {
|
|
|
2936
3251
|
color,
|
|
2937
3252
|
colorDepth ?? 500
|
|
2938
3253
|
);
|
|
2939
|
-
return /* @__PURE__ */
|
|
3254
|
+
return /* @__PURE__ */ jsxs208(
|
|
2940
3255
|
"label",
|
|
2941
3256
|
{
|
|
2942
3257
|
className: clsx_default(
|
|
@@ -2945,8 +3260,8 @@ var Radio = (props) => {
|
|
|
2945
3260
|
className
|
|
2946
3261
|
),
|
|
2947
3262
|
children: [
|
|
2948
|
-
/* @__PURE__ */
|
|
2949
|
-
/* @__PURE__ */
|
|
3263
|
+
/* @__PURE__ */ jsx325("input", { ...rest, ...inputProps, checked: localChecked, type: "radio" }),
|
|
3264
|
+
/* @__PURE__ */ jsx325(
|
|
2950
3265
|
"div",
|
|
2951
3266
|
{
|
|
2952
3267
|
className: clsx_default(
|
|
@@ -2954,10 +3269,10 @@ var Radio = (props) => {
|
|
|
2954
3269
|
localChecked ? "checked" : void 0,
|
|
2955
3270
|
colorClass
|
|
2956
3271
|
),
|
|
2957
|
-
children: localChecked && /* @__PURE__ */
|
|
3272
|
+
children: localChecked && /* @__PURE__ */ jsx325("div", { className: "inner-circle" })
|
|
2958
3273
|
}
|
|
2959
3274
|
),
|
|
2960
|
-
label && /* @__PURE__ */
|
|
3275
|
+
label && /* @__PURE__ */ jsx325("span", { children: label })
|
|
2961
3276
|
]
|
|
2962
3277
|
}
|
|
2963
3278
|
);
|
|
@@ -2966,23 +3281,23 @@ Radio.displayName = "Radio";
|
|
|
2966
3281
|
var Radio_default = Radio;
|
|
2967
3282
|
|
|
2968
3283
|
// src/components/Radio/RadioGroup.tsx
|
|
2969
|
-
import { Fragment, jsx as
|
|
3284
|
+
import { Fragment, jsx as jsx326 } from "react/jsx-runtime";
|
|
2970
3285
|
var RadioGroup = (props) => {
|
|
2971
3286
|
const { children, ...rest } = props;
|
|
2972
|
-
return /* @__PURE__ */
|
|
3287
|
+
return /* @__PURE__ */ jsx326(Fragment, { children: /* @__PURE__ */ jsx326(RadioGroupContext_default.Provider, { value: rest, children }) });
|
|
2973
3288
|
};
|
|
2974
3289
|
RadioGroup.displayName = "RadioGroup";
|
|
2975
3290
|
var RadioGroup_default = RadioGroup;
|
|
2976
3291
|
|
|
2977
3292
|
// src/components/Skeleton/Skeleton.tsx
|
|
2978
|
-
import { jsx as
|
|
3293
|
+
import { jsx as jsx327 } from "react/jsx-runtime";
|
|
2979
3294
|
var Skeleton = (props) => {
|
|
2980
3295
|
const { variant = "text", width, height, className } = props;
|
|
2981
3296
|
const style = {
|
|
2982
3297
|
width: typeof width === "number" ? `${width}px` : width,
|
|
2983
3298
|
height: typeof height === "number" ? `${height}px` : height
|
|
2984
3299
|
};
|
|
2985
|
-
return /* @__PURE__ */
|
|
3300
|
+
return /* @__PURE__ */ jsx327(
|
|
2986
3301
|
"div",
|
|
2987
3302
|
{
|
|
2988
3303
|
className: clsx_default("lib-xplat-skeleton", variant, className),
|
|
@@ -2995,7 +3310,7 @@ Skeleton.displayName = "Skeleton";
|
|
|
2995
3310
|
var Skeleton_default = Skeleton;
|
|
2996
3311
|
|
|
2997
3312
|
// src/components/Spinner/Spinner.tsx
|
|
2998
|
-
import { jsx as
|
|
3313
|
+
import { jsx as jsx328, jsxs as jsxs209 } from "react/jsx-runtime";
|
|
2999
3314
|
var Spinner = (props) => {
|
|
3000
3315
|
const {
|
|
3001
3316
|
size = "md",
|
|
@@ -3009,14 +3324,14 @@ var Spinner = (props) => {
|
|
|
3009
3324
|
color,
|
|
3010
3325
|
colorDepth ?? 500
|
|
3011
3326
|
);
|
|
3012
|
-
return /* @__PURE__ */
|
|
3327
|
+
return /* @__PURE__ */ jsx328(
|
|
3013
3328
|
"div",
|
|
3014
3329
|
{
|
|
3015
3330
|
className: clsx_default("lib-xplat-spinner", size, colorClass, className),
|
|
3016
3331
|
role: "status",
|
|
3017
3332
|
"aria-label": "\uB85C\uB529 \uC911",
|
|
3018
|
-
children: /* @__PURE__ */
|
|
3019
|
-
/* @__PURE__ */
|
|
3333
|
+
children: /* @__PURE__ */ jsxs209("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
3334
|
+
/* @__PURE__ */ jsx328(
|
|
3020
3335
|
"circle",
|
|
3021
3336
|
{
|
|
3022
3337
|
className: "track",
|
|
@@ -3026,7 +3341,7 @@ var Spinner = (props) => {
|
|
|
3026
3341
|
strokeWidth: "3"
|
|
3027
3342
|
}
|
|
3028
3343
|
),
|
|
3029
|
-
/* @__PURE__ */
|
|
3344
|
+
/* @__PURE__ */ jsx328(
|
|
3030
3345
|
"circle",
|
|
3031
3346
|
{
|
|
3032
3347
|
className: "indicator",
|
|
@@ -3044,13 +3359,47 @@ var Spinner = (props) => {
|
|
|
3044
3359
|
Spinner.displayName = "Spinner";
|
|
3045
3360
|
var Spinner_default = Spinner;
|
|
3046
3361
|
|
|
3362
|
+
// src/components/Steps/Steps.tsx
|
|
3363
|
+
import { jsx as jsx329, jsxs as jsxs210 } from "react/jsx-runtime";
|
|
3364
|
+
var Steps = (props) => {
|
|
3365
|
+
const {
|
|
3366
|
+
items,
|
|
3367
|
+
current,
|
|
3368
|
+
colorNamespace = "xplat",
|
|
3369
|
+
color = "blue",
|
|
3370
|
+
colorDepth,
|
|
3371
|
+
className
|
|
3372
|
+
} = props;
|
|
3373
|
+
const colorClass = getColorClass(
|
|
3374
|
+
colorNamespace,
|
|
3375
|
+
color,
|
|
3376
|
+
colorDepth ?? 500
|
|
3377
|
+
);
|
|
3378
|
+
return /* @__PURE__ */ jsx329("div", { className: clsx_default("lib-xplat-steps", className), children: items.map((item, index) => {
|
|
3379
|
+
const status = index < current ? "completed" : index === current ? "active" : "pending";
|
|
3380
|
+
return /* @__PURE__ */ jsxs210("div", { className: clsx_default("step-item", status), children: [
|
|
3381
|
+
/* @__PURE__ */ jsxs210("div", { className: "step-indicator", children: [
|
|
3382
|
+
/* @__PURE__ */ jsx329("div", { className: clsx_default("step-circle", colorClass), children: status === "completed" ? /* @__PURE__ */ jsx329(CheckIcon_default, {}) : /* @__PURE__ */ jsx329("span", { children: index + 1 }) }),
|
|
3383
|
+
index < items.length - 1 && /* @__PURE__ */ jsx329("div", { className: clsx_default("step-line", colorClass) })
|
|
3384
|
+
] }),
|
|
3385
|
+
/* @__PURE__ */ jsxs210("div", { className: "step-content", children: [
|
|
3386
|
+
/* @__PURE__ */ jsx329("span", { className: "step-title", children: item.title }),
|
|
3387
|
+
item.description && /* @__PURE__ */ jsx329("span", { className: "step-description", children: item.description })
|
|
3388
|
+
] })
|
|
3389
|
+
] }, index);
|
|
3390
|
+
}) });
|
|
3391
|
+
};
|
|
3392
|
+
Steps.displayName = "Steps";
|
|
3393
|
+
var Steps_default = Steps;
|
|
3394
|
+
|
|
3047
3395
|
// src/components/Switch/Switch.tsx
|
|
3048
|
-
import
|
|
3049
|
-
import { jsx as
|
|
3396
|
+
import React22 from "react";
|
|
3397
|
+
import { jsx as jsx330 } from "react/jsx-runtime";
|
|
3050
3398
|
var KNOB_TRANSITION_MS = 250;
|
|
3051
3399
|
var Switch = (props) => {
|
|
3052
3400
|
const {
|
|
3053
3401
|
value,
|
|
3402
|
+
size = "md",
|
|
3054
3403
|
disabled,
|
|
3055
3404
|
onChange,
|
|
3056
3405
|
colorNamespace = "xplat",
|
|
@@ -3058,9 +3407,9 @@ var Switch = (props) => {
|
|
|
3058
3407
|
colorDepth,
|
|
3059
3408
|
className
|
|
3060
3409
|
} = props;
|
|
3061
|
-
const [isAnimating, setIsAnimating] =
|
|
3062
|
-
const timeoutRef =
|
|
3063
|
-
|
|
3410
|
+
const [isAnimating, setIsAnimating] = React22.useState(false);
|
|
3411
|
+
const timeoutRef = React22.useRef(null);
|
|
3412
|
+
React22.useEffect(() => {
|
|
3064
3413
|
return () => {
|
|
3065
3414
|
if (timeoutRef.current) clearTimeout(timeoutRef.current);
|
|
3066
3415
|
};
|
|
@@ -3080,11 +3429,12 @@ var Switch = (props) => {
|
|
|
3080
3429
|
color,
|
|
3081
3430
|
colorDepth ?? 500
|
|
3082
3431
|
);
|
|
3083
|
-
return /* @__PURE__ */
|
|
3432
|
+
return /* @__PURE__ */ jsx330(
|
|
3084
3433
|
"div",
|
|
3085
3434
|
{
|
|
3086
3435
|
className: clsx_default(
|
|
3087
3436
|
"lib-xplat-switch",
|
|
3437
|
+
size,
|
|
3088
3438
|
value ? "checked" : void 0,
|
|
3089
3439
|
disabled && "disabled",
|
|
3090
3440
|
isAnimating && "animating",
|
|
@@ -3093,7 +3443,7 @@ var Switch = (props) => {
|
|
|
3093
3443
|
),
|
|
3094
3444
|
onClick: handleClick,
|
|
3095
3445
|
"aria-disabled": disabled || isAnimating,
|
|
3096
|
-
children: /* @__PURE__ */
|
|
3446
|
+
children: /* @__PURE__ */ jsx330("div", { className: clsx_default("knob", value ? "checked" : void 0) })
|
|
3097
3447
|
}
|
|
3098
3448
|
);
|
|
3099
3449
|
};
|
|
@@ -3101,14 +3451,14 @@ Switch.displayName = "Switch";
|
|
|
3101
3451
|
var Switch_default = Switch;
|
|
3102
3452
|
|
|
3103
3453
|
// src/components/Tab/Tab.tsx
|
|
3104
|
-
import
|
|
3454
|
+
import React24 from "react";
|
|
3105
3455
|
|
|
3106
3456
|
// src/components/Tab/TabItem.tsx
|
|
3107
|
-
import
|
|
3108
|
-
import { jsx as
|
|
3109
|
-
var TabItem =
|
|
3457
|
+
import React23 from "react";
|
|
3458
|
+
import { jsx as jsx331 } from "react/jsx-runtime";
|
|
3459
|
+
var TabItem = React23.forwardRef((props, ref) => {
|
|
3110
3460
|
const { isActive, title, onClick } = props;
|
|
3111
|
-
return /* @__PURE__ */
|
|
3461
|
+
return /* @__PURE__ */ jsx331(
|
|
3112
3462
|
"div",
|
|
3113
3463
|
{
|
|
3114
3464
|
ref,
|
|
@@ -3122,25 +3472,25 @@ TabItem.displayName = "TabItem";
|
|
|
3122
3472
|
var TabItem_default = TabItem;
|
|
3123
3473
|
|
|
3124
3474
|
// src/components/Tab/Tab.tsx
|
|
3125
|
-
import { jsx as
|
|
3475
|
+
import { jsx as jsx332, jsxs as jsxs211 } from "react/jsx-runtime";
|
|
3126
3476
|
var Tab = (props) => {
|
|
3127
3477
|
const { activeIndex, onChange, tabs, type } = props;
|
|
3128
|
-
const [underlineStyle, setUnderlineStyle] =
|
|
3478
|
+
const [underlineStyle, setUnderlineStyle] = React24.useState({
|
|
3129
3479
|
left: 0,
|
|
3130
3480
|
width: 0
|
|
3131
3481
|
});
|
|
3132
|
-
const itemRefs =
|
|
3482
|
+
const itemRefs = React24.useRef([]);
|
|
3133
3483
|
const handleChangeActiveTab = (tabItem, tabIdx) => {
|
|
3134
3484
|
onChange(tabItem, tabIdx);
|
|
3135
3485
|
};
|
|
3136
|
-
|
|
3486
|
+
React24.useEffect(() => {
|
|
3137
3487
|
const el = itemRefs.current[activeIndex];
|
|
3138
3488
|
if (el) {
|
|
3139
3489
|
setUnderlineStyle({ left: el.offsetLeft, width: el.offsetWidth });
|
|
3140
3490
|
}
|
|
3141
3491
|
}, [activeIndex, tabs.length]);
|
|
3142
|
-
return /* @__PURE__ */
|
|
3143
|
-
tabs.map((tab, idx) => /* @__PURE__ */
|
|
3492
|
+
return /* @__PURE__ */ jsxs211("div", { className: clsx_default("lib-xplat-tab", `type-${type}`), children: [
|
|
3493
|
+
tabs.map((tab, idx) => /* @__PURE__ */ jsx332(
|
|
3144
3494
|
TabItem_default,
|
|
3145
3495
|
{
|
|
3146
3496
|
onClick: () => handleChangeActiveTab(tab, idx),
|
|
@@ -3152,7 +3502,7 @@ var Tab = (props) => {
|
|
|
3152
3502
|
},
|
|
3153
3503
|
`${tab.value}_${idx}`
|
|
3154
3504
|
)),
|
|
3155
|
-
type === "toggle" && /* @__PURE__ */
|
|
3505
|
+
type === "toggle" && /* @__PURE__ */ jsx332(
|
|
3156
3506
|
"div",
|
|
3157
3507
|
{
|
|
3158
3508
|
className: "tab-toggle-underline",
|
|
@@ -3168,17 +3518,17 @@ Tab.displayName = "Tab";
|
|
|
3168
3518
|
var Tab_default = Tab;
|
|
3169
3519
|
|
|
3170
3520
|
// src/components/Table/TableContext.tsx
|
|
3171
|
-
import
|
|
3172
|
-
var TableContext =
|
|
3521
|
+
import React25 from "react";
|
|
3522
|
+
var TableContext = React25.createContext(null);
|
|
3173
3523
|
var useTableContext = () => {
|
|
3174
|
-
const ctx =
|
|
3524
|
+
const ctx = React25.useContext(TableContext);
|
|
3175
3525
|
if (!ctx) throw new Error("Table components must be used inside <Table>");
|
|
3176
3526
|
return ctx;
|
|
3177
3527
|
};
|
|
3178
3528
|
var TableContext_default = TableContext;
|
|
3179
3529
|
|
|
3180
3530
|
// src/components/Table/Table.tsx
|
|
3181
|
-
import { jsx as
|
|
3531
|
+
import { jsx as jsx333 } from "react/jsx-runtime";
|
|
3182
3532
|
var Table = (props) => {
|
|
3183
3533
|
const {
|
|
3184
3534
|
className,
|
|
@@ -3188,7 +3538,7 @@ var Table = (props) => {
|
|
|
3188
3538
|
headerSticky = false,
|
|
3189
3539
|
stickyShadow = true
|
|
3190
3540
|
} = props;
|
|
3191
|
-
return /* @__PURE__ */
|
|
3541
|
+
return /* @__PURE__ */ jsx333("div", { className: clsx_default("lib-xplat-table-wrapper", className), children: /* @__PURE__ */ jsx333(
|
|
3192
3542
|
TableContext_default.Provider,
|
|
3193
3543
|
{
|
|
3194
3544
|
value: {
|
|
@@ -3197,7 +3547,7 @@ var Table = (props) => {
|
|
|
3197
3547
|
headerSticky,
|
|
3198
3548
|
stickyShadow
|
|
3199
3549
|
},
|
|
3200
|
-
children: /* @__PURE__ */
|
|
3550
|
+
children: /* @__PURE__ */ jsx333("table", { className: "lib-xplat-table", children })
|
|
3201
3551
|
}
|
|
3202
3552
|
) });
|
|
3203
3553
|
};
|
|
@@ -3205,40 +3555,40 @@ Table.displayName = "Table";
|
|
|
3205
3555
|
var Table_default = Table;
|
|
3206
3556
|
|
|
3207
3557
|
// src/components/Table/TableBody.tsx
|
|
3208
|
-
import { jsx as
|
|
3558
|
+
import { jsx as jsx334 } from "react/jsx-runtime";
|
|
3209
3559
|
var TableBody = (props) => {
|
|
3210
3560
|
const { children, className } = props;
|
|
3211
|
-
return /* @__PURE__ */
|
|
3561
|
+
return /* @__PURE__ */ jsx334("tbody", { className, children });
|
|
3212
3562
|
};
|
|
3213
3563
|
TableBody.displayName = "TableBody";
|
|
3214
3564
|
var TableBody_default = TableBody;
|
|
3215
3565
|
|
|
3216
3566
|
// src/components/Table/TableCell.tsx
|
|
3217
|
-
import
|
|
3567
|
+
import React28 from "react";
|
|
3218
3568
|
|
|
3219
3569
|
// src/components/Table/TableHeadContext.tsx
|
|
3220
|
-
import
|
|
3221
|
-
var TableHeadContext =
|
|
3570
|
+
import React26 from "react";
|
|
3571
|
+
var TableHeadContext = React26.createContext(
|
|
3222
3572
|
null
|
|
3223
3573
|
);
|
|
3224
3574
|
var useTableHeadContext = () => {
|
|
3225
|
-
const ctx =
|
|
3575
|
+
const ctx = React26.useContext(TableHeadContext);
|
|
3226
3576
|
return ctx;
|
|
3227
3577
|
};
|
|
3228
3578
|
var TableHeadContext_default = TableHeadContext;
|
|
3229
3579
|
|
|
3230
3580
|
// src/components/Table/TableRowContext.tsx
|
|
3231
|
-
import
|
|
3232
|
-
var TableRowContext =
|
|
3581
|
+
import React27 from "react";
|
|
3582
|
+
var TableRowContext = React27.createContext(null);
|
|
3233
3583
|
var useTableRowContext = () => {
|
|
3234
|
-
const ctx =
|
|
3584
|
+
const ctx = React27.useContext(TableRowContext);
|
|
3235
3585
|
if (!ctx) throw new Error("Table components must be used inside <Table>");
|
|
3236
3586
|
return ctx;
|
|
3237
3587
|
};
|
|
3238
3588
|
var TableRowContext_default = TableRowContext;
|
|
3239
3589
|
|
|
3240
3590
|
// src/components/Table/TableCell.tsx
|
|
3241
|
-
import { jsx as
|
|
3591
|
+
import { jsx as jsx335 } from "react/jsx-runtime";
|
|
3242
3592
|
var TableCell = (props) => {
|
|
3243
3593
|
const {
|
|
3244
3594
|
children,
|
|
@@ -3250,9 +3600,9 @@ var TableCell = (props) => {
|
|
|
3250
3600
|
const { registerStickyCell, stickyCells } = useTableRowContext();
|
|
3251
3601
|
const { stickyShadow } = useTableContext();
|
|
3252
3602
|
const headContext = useTableHeadContext();
|
|
3253
|
-
const [left, setLeft] =
|
|
3254
|
-
const cellRef =
|
|
3255
|
-
const calculateLeft =
|
|
3603
|
+
const [left, setLeft] = React28.useState(0);
|
|
3604
|
+
const cellRef = React28.useRef(null);
|
|
3605
|
+
const calculateLeft = React28.useCallback(() => {
|
|
3256
3606
|
if (!cellRef.current) return 0;
|
|
3257
3607
|
let totalLeft = 0;
|
|
3258
3608
|
for (const ref of stickyCells) {
|
|
@@ -3261,7 +3611,7 @@ var TableCell = (props) => {
|
|
|
3261
3611
|
}
|
|
3262
3612
|
return totalLeft;
|
|
3263
3613
|
}, [stickyCells]);
|
|
3264
|
-
|
|
3614
|
+
React28.useEffect(() => {
|
|
3265
3615
|
if (!isSticky || !cellRef.current) return;
|
|
3266
3616
|
registerStickyCell(cellRef);
|
|
3267
3617
|
setLeft(calculateLeft());
|
|
@@ -3279,7 +3629,7 @@ var TableCell = (props) => {
|
|
|
3279
3629
|
const CellTag = cellRef.current?.tagName === "TH" ? "th" : "td";
|
|
3280
3630
|
const isLastSticky = isSticky && stickyCells[stickyCells.length - 1] === cellRef;
|
|
3281
3631
|
const enableHover = headContext && headContext.cellHover;
|
|
3282
|
-
return /* @__PURE__ */
|
|
3632
|
+
return /* @__PURE__ */ jsx335(
|
|
3283
3633
|
CellTag,
|
|
3284
3634
|
{
|
|
3285
3635
|
ref: cellRef,
|
|
@@ -3301,21 +3651,21 @@ TableCell.displayName = "TableCell";
|
|
|
3301
3651
|
var TableCell_default = TableCell;
|
|
3302
3652
|
|
|
3303
3653
|
// src/components/Table/TableHead.tsx
|
|
3304
|
-
import { jsx as
|
|
3654
|
+
import { jsx as jsx336 } from "react/jsx-runtime";
|
|
3305
3655
|
var TableHead = ({
|
|
3306
3656
|
children,
|
|
3307
3657
|
className = "",
|
|
3308
3658
|
cellHover = false
|
|
3309
3659
|
}) => {
|
|
3310
3660
|
const { headerSticky } = useTableContext();
|
|
3311
|
-
return /* @__PURE__ */
|
|
3661
|
+
return /* @__PURE__ */ jsx336(TableHeadContext_default.Provider, { value: { cellHover }, children: /* @__PURE__ */ jsx336("thead", { className: clsx_default(headerSticky ? "table-sticky" : null, className), children }) });
|
|
3312
3662
|
};
|
|
3313
3663
|
TableHead.displayName = "TableHead";
|
|
3314
3664
|
var TableHead_default = TableHead;
|
|
3315
3665
|
|
|
3316
3666
|
// src/components/Table/TableRow.tsx
|
|
3317
|
-
import
|
|
3318
|
-
import { jsx as
|
|
3667
|
+
import React29 from "react";
|
|
3668
|
+
import { jsx as jsx337 } from "react/jsx-runtime";
|
|
3319
3669
|
var TableRow = (props) => {
|
|
3320
3670
|
const {
|
|
3321
3671
|
children,
|
|
@@ -3328,7 +3678,7 @@ var TableRow = (props) => {
|
|
|
3328
3678
|
onClick
|
|
3329
3679
|
} = props;
|
|
3330
3680
|
const { rowBorderUse } = useTableContext();
|
|
3331
|
-
const [stickyCells, setStickyCells] =
|
|
3681
|
+
const [stickyCells, setStickyCells] = React29.useState([]);
|
|
3332
3682
|
const registerStickyCell = (ref) => {
|
|
3333
3683
|
setStickyCells((prev) => {
|
|
3334
3684
|
if (prev.includes(ref)) return prev;
|
|
@@ -3340,7 +3690,7 @@ var TableRow = (props) => {
|
|
|
3340
3690
|
color,
|
|
3341
3691
|
colorDepth ?? 500
|
|
3342
3692
|
);
|
|
3343
|
-
return /* @__PURE__ */
|
|
3693
|
+
return /* @__PURE__ */ jsx337(TableRowContext_default.Provider, { value: { stickyCells, registerStickyCell }, children: /* @__PURE__ */ jsx337(
|
|
3344
3694
|
"tr",
|
|
3345
3695
|
{
|
|
3346
3696
|
className: clsx_default(
|
|
@@ -3359,13 +3709,37 @@ var TableRow = (props) => {
|
|
|
3359
3709
|
TableRow.displayName = "TableRow";
|
|
3360
3710
|
var TableRow_default = TableRow;
|
|
3361
3711
|
|
|
3712
|
+
// src/components/Tag/Tag.tsx
|
|
3713
|
+
import { jsx as jsx338, jsxs as jsxs212 } from "react/jsx-runtime";
|
|
3714
|
+
var Tag = (props) => {
|
|
3715
|
+
const {
|
|
3716
|
+
children,
|
|
3717
|
+
onClose,
|
|
3718
|
+
colorNamespace = "xplat",
|
|
3719
|
+
color = "neutral",
|
|
3720
|
+
colorDepth,
|
|
3721
|
+
className
|
|
3722
|
+
} = props;
|
|
3723
|
+
const colorClass = getColorClass(
|
|
3724
|
+
colorNamespace,
|
|
3725
|
+
color,
|
|
3726
|
+
colorDepth ?? 500
|
|
3727
|
+
);
|
|
3728
|
+
return /* @__PURE__ */ jsxs212("span", { className: clsx_default("lib-xplat-tag", colorClass, className), children: [
|
|
3729
|
+
/* @__PURE__ */ jsx338("span", { className: "tag-label", children }),
|
|
3730
|
+
onClose && /* @__PURE__ */ jsx338("button", { className: "tag-close", onClick: onClose, "aria-label": "\uC0AD\uC81C", children: /* @__PURE__ */ jsx338(XIcon_default, {}) })
|
|
3731
|
+
] });
|
|
3732
|
+
};
|
|
3733
|
+
Tag.displayName = "Tag";
|
|
3734
|
+
var Tag_default = Tag;
|
|
3735
|
+
|
|
3362
3736
|
// src/components/TextArea/TextArea.tsx
|
|
3363
|
-
import
|
|
3364
|
-
import { jsx as
|
|
3365
|
-
var TextArea =
|
|
3737
|
+
import React30 from "react";
|
|
3738
|
+
import { jsx as jsx339 } from "react/jsx-runtime";
|
|
3739
|
+
var TextArea = React30.forwardRef(
|
|
3366
3740
|
(props, ref) => {
|
|
3367
3741
|
const { value, onChange, className, disabled, ...textareaProps } = props;
|
|
3368
|
-
const localRef =
|
|
3742
|
+
const localRef = React30.useRef(null);
|
|
3369
3743
|
const setRefs = (el) => {
|
|
3370
3744
|
localRef.current = el;
|
|
3371
3745
|
if (!ref) return;
|
|
@@ -3385,21 +3759,21 @@ var TextArea = React26.forwardRef(
|
|
|
3385
3759
|
onChange(event);
|
|
3386
3760
|
}
|
|
3387
3761
|
};
|
|
3388
|
-
|
|
3762
|
+
React30.useEffect(() => {
|
|
3389
3763
|
const el = localRef.current;
|
|
3390
3764
|
if (!el) return;
|
|
3391
3765
|
el.style.height = "0px";
|
|
3392
3766
|
const nextHeight = Math.min(el.scrollHeight, 400);
|
|
3393
3767
|
el.style.height = `${nextHeight}px`;
|
|
3394
3768
|
}, [value]);
|
|
3395
|
-
return /* @__PURE__ */
|
|
3769
|
+
return /* @__PURE__ */ jsx339("div", { className: clsx_default("lib-xplat-textarea-wrapper", className), children: /* @__PURE__ */ jsx339(
|
|
3396
3770
|
"div",
|
|
3397
3771
|
{
|
|
3398
3772
|
className: clsx_default(
|
|
3399
3773
|
"lib-xplat-textarea",
|
|
3400
3774
|
disabled ? "disabled" : void 0
|
|
3401
3775
|
),
|
|
3402
|
-
children: /* @__PURE__ */
|
|
3776
|
+
children: /* @__PURE__ */ jsx339(
|
|
3403
3777
|
"textarea",
|
|
3404
3778
|
{
|
|
3405
3779
|
...textareaProps,
|
|
@@ -3416,9 +3790,100 @@ var TextArea = React26.forwardRef(
|
|
|
3416
3790
|
TextArea.displayName = "TextArea";
|
|
3417
3791
|
var TextArea_default = TextArea;
|
|
3418
3792
|
|
|
3793
|
+
// src/components/Toast/Toast.tsx
|
|
3794
|
+
import React31 from "react";
|
|
3795
|
+
import { createPortal as createPortal3 } from "react-dom";
|
|
3796
|
+
import { jsx as jsx340, jsxs as jsxs213 } from "react/jsx-runtime";
|
|
3797
|
+
var ToastContext = React31.createContext(null);
|
|
3798
|
+
var useToast = () => {
|
|
3799
|
+
const ctx = React31.useContext(ToastContext);
|
|
3800
|
+
if (!ctx) throw new Error("useToast must be used within ToastProvider");
|
|
3801
|
+
return ctx;
|
|
3802
|
+
};
|
|
3803
|
+
var EXIT_DURATION = 300;
|
|
3804
|
+
var ToastItemComponent = ({ item, isExiting, onClose }) => {
|
|
3805
|
+
const ref = React31.useRef(null);
|
|
3806
|
+
const [height, setHeight] = React31.useState(void 0);
|
|
3807
|
+
React31.useEffect(() => {
|
|
3808
|
+
if (ref.current && !isExiting) {
|
|
3809
|
+
setHeight(ref.current.offsetHeight);
|
|
3810
|
+
}
|
|
3811
|
+
}, [isExiting]);
|
|
3812
|
+
return /* @__PURE__ */ jsx340(
|
|
3813
|
+
"div",
|
|
3814
|
+
{
|
|
3815
|
+
className: clsx_default("lib-xplat-toast-wrapper", { exit: isExiting }),
|
|
3816
|
+
style: {
|
|
3817
|
+
maxHeight: isExiting ? 0 : height ?? "none",
|
|
3818
|
+
marginBottom: isExiting ? 0 : void 0
|
|
3819
|
+
},
|
|
3820
|
+
children: /* @__PURE__ */ jsxs213(
|
|
3821
|
+
"div",
|
|
3822
|
+
{
|
|
3823
|
+
ref,
|
|
3824
|
+
className: clsx_default("lib-xplat-toast", item.type, { exit: isExiting }),
|
|
3825
|
+
role: "alert",
|
|
3826
|
+
children: [
|
|
3827
|
+
/* @__PURE__ */ jsx340("span", { className: "message", children: item.message }),
|
|
3828
|
+
/* @__PURE__ */ jsx340("button", { className: "close-btn", onClick: onClose, "aria-label": "\uB2EB\uAE30", children: "\xD7" })
|
|
3829
|
+
]
|
|
3830
|
+
}
|
|
3831
|
+
)
|
|
3832
|
+
}
|
|
3833
|
+
);
|
|
3834
|
+
};
|
|
3835
|
+
var ToastProvider = ({
|
|
3836
|
+
children,
|
|
3837
|
+
position = "top-right"
|
|
3838
|
+
}) => {
|
|
3839
|
+
const [toasts, setToasts] = React31.useState([]);
|
|
3840
|
+
const [removing, setRemoving] = React31.useState(/* @__PURE__ */ new Set());
|
|
3841
|
+
const [mounted, setMounted] = React31.useState(false);
|
|
3842
|
+
React31.useEffect(() => {
|
|
3843
|
+
setMounted(true);
|
|
3844
|
+
}, []);
|
|
3845
|
+
const remove = React31.useCallback((id) => {
|
|
3846
|
+
setRemoving((prev) => new Set(prev).add(id));
|
|
3847
|
+
setTimeout(() => {
|
|
3848
|
+
setToasts((prev) => prev.filter((t) => t.id !== id));
|
|
3849
|
+
setRemoving((prev) => {
|
|
3850
|
+
const next = new Set(prev);
|
|
3851
|
+
next.delete(id);
|
|
3852
|
+
return next;
|
|
3853
|
+
});
|
|
3854
|
+
}, EXIT_DURATION);
|
|
3855
|
+
}, []);
|
|
3856
|
+
const toast = React31.useCallback(
|
|
3857
|
+
(type, message, duration = 3e3) => {
|
|
3858
|
+
const id = `${Date.now()}-${Math.random()}`;
|
|
3859
|
+
setToasts((prev) => [...prev, { id, type, message }]);
|
|
3860
|
+
if (duration > 0) {
|
|
3861
|
+
setTimeout(() => remove(id), duration);
|
|
3862
|
+
}
|
|
3863
|
+
},
|
|
3864
|
+
[remove]
|
|
3865
|
+
);
|
|
3866
|
+
return /* @__PURE__ */ jsxs213(ToastContext.Provider, { value: { toast }, children: [
|
|
3867
|
+
children,
|
|
3868
|
+
mounted && createPortal3(
|
|
3869
|
+
/* @__PURE__ */ jsx340("div", { className: clsx_default("lib-xplat-toast-container", position), children: toasts.map((t) => /* @__PURE__ */ jsx340(
|
|
3870
|
+
ToastItemComponent,
|
|
3871
|
+
{
|
|
3872
|
+
item: t,
|
|
3873
|
+
isExiting: removing.has(t.id),
|
|
3874
|
+
onClose: () => remove(t.id)
|
|
3875
|
+
},
|
|
3876
|
+
t.id
|
|
3877
|
+
)) }),
|
|
3878
|
+
document.body
|
|
3879
|
+
)
|
|
3880
|
+
] });
|
|
3881
|
+
};
|
|
3882
|
+
ToastProvider.displayName = "ToastProvider";
|
|
3883
|
+
|
|
3419
3884
|
// src/components/Tooltip/Tooltip.tsx
|
|
3420
|
-
import
|
|
3421
|
-
import { jsx as
|
|
3885
|
+
import React32 from "react";
|
|
3886
|
+
import { jsx as jsx341, jsxs as jsxs214 } from "react/jsx-runtime";
|
|
3422
3887
|
var Tooltip2 = (props) => {
|
|
3423
3888
|
const {
|
|
3424
3889
|
type = "primary",
|
|
@@ -3428,24 +3893,24 @@ var Tooltip2 = (props) => {
|
|
|
3428
3893
|
description,
|
|
3429
3894
|
children
|
|
3430
3895
|
} = props;
|
|
3431
|
-
const iconRef =
|
|
3896
|
+
const iconRef = React32.useRef(null);
|
|
3432
3897
|
const colorClass = getColorClass(
|
|
3433
3898
|
colorNamespace,
|
|
3434
3899
|
color,
|
|
3435
3900
|
colorDepth ?? 500
|
|
3436
3901
|
);
|
|
3437
|
-
return /* @__PURE__ */
|
|
3438
|
-
/* @__PURE__ */
|
|
3439
|
-
/* @__PURE__ */
|
|
3902
|
+
return /* @__PURE__ */ jsxs214("div", { className: "lib-xplat-tooltip", children: [
|
|
3903
|
+
/* @__PURE__ */ jsx341("div", { className: "tooltip-content", ref: iconRef, children: children || "Tooltip" }),
|
|
3904
|
+
/* @__PURE__ */ jsx341("div", { className: clsx_default("tooltip-wrapper", colorClass, type), children: description })
|
|
3440
3905
|
] });
|
|
3441
3906
|
};
|
|
3442
3907
|
Tooltip2.displayName = "Tooltip";
|
|
3443
3908
|
var Tooltip_default = Tooltip2;
|
|
3444
3909
|
|
|
3445
3910
|
// src/components/Video/Video.tsx
|
|
3446
|
-
import
|
|
3447
|
-
import { jsx as
|
|
3448
|
-
var Video =
|
|
3911
|
+
import React33 from "react";
|
|
3912
|
+
import { jsx as jsx342, jsxs as jsxs215 } from "react/jsx-runtime";
|
|
3913
|
+
var Video = React33.forwardRef((props, ref) => {
|
|
3449
3914
|
const {
|
|
3450
3915
|
src,
|
|
3451
3916
|
poster,
|
|
@@ -3459,10 +3924,10 @@ var Video = React28.forwardRef((props, ref) => {
|
|
|
3459
3924
|
onPause,
|
|
3460
3925
|
...rest
|
|
3461
3926
|
} = props;
|
|
3462
|
-
const videoRef =
|
|
3463
|
-
const [isPlaying, setIsPlaying] =
|
|
3464
|
-
const [isLoaded, setIsLoaded] =
|
|
3465
|
-
const setRefs =
|
|
3927
|
+
const videoRef = React33.useRef(null);
|
|
3928
|
+
const [isPlaying, setIsPlaying] = React33.useState(Boolean(autoPlay));
|
|
3929
|
+
const [isLoaded, setIsLoaded] = React33.useState(false);
|
|
3930
|
+
const setRefs = React33.useCallback(
|
|
3466
3931
|
(el) => {
|
|
3467
3932
|
videoRef.current = el;
|
|
3468
3933
|
if (typeof ref === "function") ref(el);
|
|
@@ -3490,7 +3955,7 @@ var Video = React28.forwardRef((props, ref) => {
|
|
|
3490
3955
|
}
|
|
3491
3956
|
};
|
|
3492
3957
|
const showCustomOverlay = !controls;
|
|
3493
|
-
return /* @__PURE__ */
|
|
3958
|
+
return /* @__PURE__ */ jsxs215(
|
|
3494
3959
|
"div",
|
|
3495
3960
|
{
|
|
3496
3961
|
className: clsx_default(
|
|
@@ -3499,7 +3964,7 @@ var Video = React28.forwardRef((props, ref) => {
|
|
|
3499
3964
|
className
|
|
3500
3965
|
),
|
|
3501
3966
|
children: [
|
|
3502
|
-
/* @__PURE__ */
|
|
3967
|
+
/* @__PURE__ */ jsx342(
|
|
3503
3968
|
"video",
|
|
3504
3969
|
{
|
|
3505
3970
|
ref: setRefs,
|
|
@@ -3516,7 +3981,7 @@ var Video = React28.forwardRef((props, ref) => {
|
|
|
3516
3981
|
...rest
|
|
3517
3982
|
}
|
|
3518
3983
|
),
|
|
3519
|
-
showCustomOverlay && /* @__PURE__ */
|
|
3984
|
+
showCustomOverlay && /* @__PURE__ */ jsx342(
|
|
3520
3985
|
"button",
|
|
3521
3986
|
{
|
|
3522
3987
|
type: "button",
|
|
@@ -3527,7 +3992,7 @@ var Video = React28.forwardRef((props, ref) => {
|
|
|
3527
3992
|
),
|
|
3528
3993
|
onClick: togglePlay,
|
|
3529
3994
|
"aria-label": isPlaying ? "\uC77C\uC2DC\uC815\uC9C0" : "\uC7AC\uC0DD",
|
|
3530
|
-
children: isPlaying ? /* @__PURE__ */
|
|
3995
|
+
children: isPlaying ? /* @__PURE__ */ jsx342(PauseIcon_default, {}) : /* @__PURE__ */ jsx342("span", { className: "play-icon", children: /* @__PURE__ */ jsx342(PlayCircleIcon_default, {}) })
|
|
3531
3996
|
}
|
|
3532
3997
|
)
|
|
3533
3998
|
]
|
|
@@ -3548,6 +4013,10 @@ export {
|
|
|
3548
4013
|
CheckBox_default as CheckBox,
|
|
3549
4014
|
Chip_default as Chip,
|
|
3550
4015
|
Divider_default as Divider,
|
|
4016
|
+
Drawer_default as Drawer,
|
|
4017
|
+
Dropdown_default as Dropdown,
|
|
4018
|
+
EmptyState_default as EmptyState,
|
|
4019
|
+
FileUpload_default as FileUpload,
|
|
3551
4020
|
HtmlTypeWriter_default as HtmlTypewriter,
|
|
3552
4021
|
ImageSelector_default as ImageSelector,
|
|
3553
4022
|
Input_default as Input,
|
|
@@ -3566,6 +4035,7 @@ export {
|
|
|
3566
4035
|
SingleDatePicker_default as SingleDatePicker,
|
|
3567
4036
|
Skeleton_default as Skeleton,
|
|
3568
4037
|
Spinner_default as Spinner,
|
|
4038
|
+
Steps_default as Steps,
|
|
3569
4039
|
Switch_default as Switch,
|
|
3570
4040
|
Tab_default as Tab,
|
|
3571
4041
|
Table_default as Table,
|
|
@@ -3573,7 +4043,10 @@ export {
|
|
|
3573
4043
|
TableCell_default as TableCell,
|
|
3574
4044
|
TableHead_default as TableHead,
|
|
3575
4045
|
TableRow_default as TableRow,
|
|
4046
|
+
Tag_default as Tag,
|
|
3576
4047
|
TextArea_default as TextArea,
|
|
4048
|
+
ToastProvider,
|
|
3577
4049
|
Tooltip_default as Tooltip,
|
|
3578
|
-
Video_default as Video
|
|
4050
|
+
Video_default as Video,
|
|
4051
|
+
useToast
|
|
3579
4052
|
};
|