@lablup/ui-common 0.1.0-alpha.2 → 0.1.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/assets/components/BaseCard/BaseCard.css +1 -1
- package/dist/assets/components/Button/Button.css +1 -1
- package/dist/assets/components/DataTable/DataTable.css +1 -1
- package/dist/assets/components/Drawer/Drawer.css +1 -1
- package/dist/assets/components/EmptyState/EmptyState.css +1 -1
- package/dist/assets/components/ErrorState/ErrorState.css +1 -1
- package/dist/assets/components/PageHeader/PageHeader.css +1 -1
- package/dist/assets/components/Select/Select.css +1 -0
- package/dist/assets/components/StatCard/StatCard.css +1 -1
- package/dist/assets/components/Tabs/Tabs.css +1 -1
- package/dist/assets/components/Tooltip/Tooltip.css +1 -1
- package/dist/components/DataTable/DataTable.d.ts +30 -6
- package/dist/components/DataTable/DataTable2.js +85 -92
- package/dist/components/DataTable/DataTable2.js.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +12 -1
- package/dist/components/Drawer/Drawer2.js +69 -51
- package/dist/components/Drawer/Drawer2.js.map +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +10 -3
- package/dist/components/EmptyState/EmptyState2.js +31 -48
- package/dist/components/EmptyState/EmptyState2.js.map +1 -1
- package/dist/components/EmptyState/index.d.ts +6 -1
- package/dist/components/ErrorState/ErrorState.d.ts +17 -4
- package/dist/components/ErrorState/ErrorState2.js +20 -23
- package/dist/components/ErrorState/ErrorState2.js.map +1 -1
- package/dist/components/ErrorState/index.d.ts +1 -1
- package/dist/components/PageHeader/PageHeader.d.ts +14 -1
- package/dist/components/PageHeader/PageHeader2.js +40 -24
- package/dist/components/PageHeader/PageHeader2.js.map +1 -1
- package/dist/components/Select/Select.d.ts +38 -0
- package/dist/components/Select/Select2.js +313 -0
- package/dist/components/Select/Select2.js.map +1 -0
- package/dist/components/Select/index.d.ts +2 -0
- package/dist/components/Select/index.js +2 -0
- package/dist/components/Skeleton/Skeleton.d.ts +11 -1
- package/dist/components/Skeleton/Skeleton2.js +8 -6
- package/dist/components/Skeleton/Skeleton2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonCard.d.ts +3 -1
- package/dist/components/Skeleton/SkeletonCard2.js +13 -3
- package/dist/components/Skeleton/SkeletonCard2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonChart2.js +5 -0
- package/dist/components/Skeleton/SkeletonChart2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonRow.d.ts +3 -1
- package/dist/components/Skeleton/SkeletonRow2.js +9 -3
- package/dist/components/Skeleton/SkeletonRow2.js.map +1 -1
- package/dist/components/Skeleton/SkeletonText.d.ts +3 -1
- package/dist/components/Skeleton/SkeletonText2.js +7 -5
- package/dist/components/Skeleton/SkeletonText2.js.map +1 -1
- package/dist/components/StatCard/StatCard.d.ts +10 -1
- package/dist/components/StatCard/StatCard2.js +30 -30
- package/dist/components/StatCard/StatCard2.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +10 -23
- package/dist/components/Tabs/Tabs2.js +127 -146
- package/dist/components/Tabs/Tabs2.js.map +1 -1
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tabs/index.js +2 -3
- package/dist/components/Tooltip/Tooltip.d.ts +15 -1
- package/dist/components/Tooltip/Tooltip2.js +77 -47
- package/dist/components/Tooltip/Tooltip2.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -6
- package/dist/styles/base.css +101 -10
- package/dist/styles/themes/orange-dark.css +3 -0
- package/dist/styles/themes/orange-light.css +6 -1
- package/package.json +1 -1
- package/dist/components/EmptyState/illustrations.d.ts +0 -51
- package/dist/components/EmptyState/illustrations.js +0 -571
- package/dist/components/EmptyState/illustrations.js.map +0 -1
- package/dist/components/Tabs/tabTags.d.ts +0 -9
- package/dist/components/Tabs/tabTags.js +0 -11
- package/dist/components/Tabs/tabTags.js.map +0 -1
|
@@ -1,571 +0,0 @@
|
|
|
1
|
-
import { memo as e } from "react";
|
|
2
|
-
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
//#region src/components/EmptyState/illustrations.tsx
|
|
4
|
-
var r = e(function({ className: e }) {
|
|
5
|
-
return /* @__PURE__ */ n("svg", {
|
|
6
|
-
width: "120",
|
|
7
|
-
height: "120",
|
|
8
|
-
viewBox: "0 0 120 120",
|
|
9
|
-
fill: "none",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
className: e,
|
|
12
|
-
"aria-hidden": "true",
|
|
13
|
-
children: [/* @__PURE__ */ n("g", {
|
|
14
|
-
className: "illustration-bubble",
|
|
15
|
-
children: [
|
|
16
|
-
/* @__PURE__ */ t("rect", {
|
|
17
|
-
x: "20",
|
|
18
|
-
y: "30",
|
|
19
|
-
width: "70",
|
|
20
|
-
height: "50",
|
|
21
|
-
rx: "12",
|
|
22
|
-
stroke: "currentColor",
|
|
23
|
-
strokeWidth: "3",
|
|
24
|
-
fill: "none"
|
|
25
|
-
}),
|
|
26
|
-
/* @__PURE__ */ t("path", {
|
|
27
|
-
d: "M40 80 L50 70 L90 70",
|
|
28
|
-
stroke: "currentColor",
|
|
29
|
-
strokeWidth: "3",
|
|
30
|
-
fill: "none",
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round"
|
|
33
|
-
}),
|
|
34
|
-
/* @__PURE__ */ t("line", {
|
|
35
|
-
x1: "35",
|
|
36
|
-
y1: "45",
|
|
37
|
-
x2: "75",
|
|
38
|
-
y2: "45",
|
|
39
|
-
stroke: "currentColor",
|
|
40
|
-
strokeWidth: "2.5",
|
|
41
|
-
strokeLinecap: "round"
|
|
42
|
-
}),
|
|
43
|
-
/* @__PURE__ */ t("line", {
|
|
44
|
-
x1: "35",
|
|
45
|
-
y1: "55",
|
|
46
|
-
x2: "65",
|
|
47
|
-
y2: "55",
|
|
48
|
-
stroke: "currentColor",
|
|
49
|
-
strokeWidth: "2.5",
|
|
50
|
-
strokeLinecap: "round"
|
|
51
|
-
})
|
|
52
|
-
]
|
|
53
|
-
}), /* @__PURE__ */ n("g", {
|
|
54
|
-
className: "illustration-sparkle",
|
|
55
|
-
children: [/* @__PURE__ */ t("path", {
|
|
56
|
-
d: "M95 25 L97 32 L104 34 L97 36 L95 43 L93 36 L86 34 L93 32 Z",
|
|
57
|
-
fill: "currentColor"
|
|
58
|
-
}), /* @__PURE__ */ t("path", {
|
|
59
|
-
d: "M25 15 L26 19 L30 20 L26 21 L25 25 L24 21 L20 20 L24 19 Z",
|
|
60
|
-
fill: "currentColor"
|
|
61
|
-
})]
|
|
62
|
-
})]
|
|
63
|
-
});
|
|
64
|
-
}), i = e(function({ className: e }) {
|
|
65
|
-
return /* @__PURE__ */ n("svg", {
|
|
66
|
-
width: "120",
|
|
67
|
-
height: "120",
|
|
68
|
-
viewBox: "0 0 120 120",
|
|
69
|
-
fill: "none",
|
|
70
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
71
|
-
className: e,
|
|
72
|
-
"aria-hidden": "true",
|
|
73
|
-
children: [/* @__PURE__ */ n("g", {
|
|
74
|
-
className: "illustration-box",
|
|
75
|
-
children: [
|
|
76
|
-
/* @__PURE__ */ t("path", {
|
|
77
|
-
d: "M60 20 L95 40 L95 80 L60 100 L25 80 L25 40 Z",
|
|
78
|
-
stroke: "currentColor",
|
|
79
|
-
strokeWidth: "3",
|
|
80
|
-
fill: "none",
|
|
81
|
-
strokeLinejoin: "round"
|
|
82
|
-
}),
|
|
83
|
-
/* @__PURE__ */ t("path", {
|
|
84
|
-
d: "M60 20 L60 100",
|
|
85
|
-
stroke: "currentColor",
|
|
86
|
-
strokeWidth: "2.5",
|
|
87
|
-
strokeLinecap: "round"
|
|
88
|
-
}),
|
|
89
|
-
/* @__PURE__ */ t("path", {
|
|
90
|
-
d: "M25 40 L60 60 L95 40",
|
|
91
|
-
stroke: "currentColor",
|
|
92
|
-
strokeWidth: "2.5",
|
|
93
|
-
strokeLinecap: "round",
|
|
94
|
-
strokeLinejoin: "round"
|
|
95
|
-
})
|
|
96
|
-
]
|
|
97
|
-
}), /* @__PURE__ */ n("g", {
|
|
98
|
-
className: "illustration-arrow",
|
|
99
|
-
children: [/* @__PURE__ */ t("path", {
|
|
100
|
-
d: "M60 45 L60 75",
|
|
101
|
-
stroke: "currentColor",
|
|
102
|
-
strokeWidth: "2.5",
|
|
103
|
-
strokeLinecap: "round"
|
|
104
|
-
}), /* @__PURE__ */ t("path", {
|
|
105
|
-
d: "M52 67 L60 75 L68 67",
|
|
106
|
-
stroke: "currentColor",
|
|
107
|
-
strokeWidth: "2.5",
|
|
108
|
-
strokeLinecap: "round",
|
|
109
|
-
strokeLinejoin: "round"
|
|
110
|
-
})]
|
|
111
|
-
})]
|
|
112
|
-
});
|
|
113
|
-
}), a = e(function({ className: e }) {
|
|
114
|
-
return /* @__PURE__ */ n("svg", {
|
|
115
|
-
width: "120",
|
|
116
|
-
height: "120",
|
|
117
|
-
viewBox: "0 0 120 120",
|
|
118
|
-
fill: "none",
|
|
119
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
120
|
-
className: e,
|
|
121
|
-
"aria-hidden": "true",
|
|
122
|
-
children: [/* @__PURE__ */ t("rect", {
|
|
123
|
-
x: "20",
|
|
124
|
-
y: "25",
|
|
125
|
-
width: "80",
|
|
126
|
-
height: "70",
|
|
127
|
-
rx: "8",
|
|
128
|
-
stroke: "currentColor",
|
|
129
|
-
strokeWidth: "3",
|
|
130
|
-
fill: "none"
|
|
131
|
-
}), /* @__PURE__ */ n("g", {
|
|
132
|
-
className: "illustration-image",
|
|
133
|
-
children: [/* @__PURE__ */ t("circle", {
|
|
134
|
-
cx: "45",
|
|
135
|
-
cy: "45",
|
|
136
|
-
r: "8",
|
|
137
|
-
stroke: "currentColor",
|
|
138
|
-
strokeWidth: "2"
|
|
139
|
-
}), /* @__PURE__ */ t("path", {
|
|
140
|
-
d: "M20 80 L40 60 L60 75 L85 50 L100 65 L100 95 L20 95 Z",
|
|
141
|
-
stroke: "currentColor",
|
|
142
|
-
strokeWidth: "2.5",
|
|
143
|
-
strokeLinejoin: "round",
|
|
144
|
-
fill: "none"
|
|
145
|
-
})]
|
|
146
|
-
})]
|
|
147
|
-
});
|
|
148
|
-
}), o = e(function({ className: e }) {
|
|
149
|
-
return /* @__PURE__ */ n("svg", {
|
|
150
|
-
width: "120",
|
|
151
|
-
height: "120",
|
|
152
|
-
viewBox: "0 0 512 512",
|
|
153
|
-
fill: "currentColor",
|
|
154
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
155
|
-
className: e,
|
|
156
|
-
"aria-hidden": "true",
|
|
157
|
-
children: [
|
|
158
|
-
/* @__PURE__ */ t("path", { d: "M92.231,401.523l-24.69,12.044C49.475,381.325,40,345.338,40,308.499c0-26.991,4.977-52.842,14.06-76.683l28.291,13.57c2.79,1.338,5.735,1.972,8.636,1.972c7.453,0,14.608-4.185,18.047-11.355c4.776-9.959,0.576-21.906-9.384-26.683l-27.932-13.398c34.717-56.62,94.784-96.095,164.283-102.505v30.081c0,11.046,8.954,20,20,20c11.046,0,20-8.954,20-20V93.402c23.828,2.169,46.884,8.237,68.771,18.117c10.065,4.545,21.912,0.066,26.457-9.999c4.545-10.068,0.068-21.913-10-26.458C328.063,60.091,292.659,52.499,256,52.499c-68.38,0-132.667,26.628-181.02,74.98C26.629,175.832,0,240.119,0,308.499c0,50.53,14.998,99.674,43.373,142.115c3.822,5.715,10.141,8.886,16.639,8.886c2.954,0,5.946-0.655,8.757-2.026l41-20c9.928-4.843,14.05-16.816,9.207-26.744C114.133,400.803,102.159,396.682,92.231,401.523z" }),
|
|
159
|
-
/* @__PURE__ */ t("path", { d: "M489.436,203.271c-4.544-10.067-16.387-14.547-26.458-10c-10.067,4.545-14.544,16.39-9.999,26.457C465.601,247.686,472,277.553,472,308.499c0,36.894-9.506,72.939-27.625,105.218l-25.777-12.275c-9.971-4.748-21.906-0.515-26.656,9.459c-4.749,9.972-0.514,21.907,9.459,26.656l42,20c2.763,1.315,5.692,1.944,8.588,1.944c6.5,0,12.82-3.175,16.637-8.886C497.002,408.173,512,359.029,512,308.499C512,271.84,504.408,236.436,489.436,203.271z" }),
|
|
160
|
-
/* @__PURE__ */ t("g", {
|
|
161
|
-
className: "illustration-needle",
|
|
162
|
-
children: /* @__PURE__ */ t("path", { d: "M435.143,129.356c-6.796-6.795-17.463-7.797-25.407-2.384c-29.926,20.398-180.03,122.969-196.162,139.1c-23.394,23.395-23.394,61.459,0,84.854c11.697,11.696,27.063,17.545,42.427,17.545c15.364,0,30.729-5.849,42.427-17.545c16.131-16.132,118.701-166.236,139.1-196.162C442.939,146.821,441.938,136.153,435.143,129.356z M270.142,322.641c-7.797,7.799-20.486,7.799-28.283,0c-7.798-7.797-7.799-20.482-0.004-28.28c6.268-6.194,48.885-36.588,101.319-73.035C306.728,273.76,276.334,316.375,270.142,322.641z" })
|
|
163
|
-
})
|
|
164
|
-
]
|
|
165
|
-
});
|
|
166
|
-
}), s = e(function({ className: e }) {
|
|
167
|
-
return /* @__PURE__ */ t("svg", {
|
|
168
|
-
width: "120",
|
|
169
|
-
height: "120",
|
|
170
|
-
viewBox: "0 0 120 120",
|
|
171
|
-
fill: "none",
|
|
172
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
173
|
-
className: e,
|
|
174
|
-
"aria-hidden": "true",
|
|
175
|
-
children: /* @__PURE__ */ n("g", {
|
|
176
|
-
className: "illustration-docs",
|
|
177
|
-
children: [
|
|
178
|
-
/* @__PURE__ */ t("rect", {
|
|
179
|
-
x: "35",
|
|
180
|
-
y: "20",
|
|
181
|
-
width: "60",
|
|
182
|
-
height: "75",
|
|
183
|
-
rx: "4",
|
|
184
|
-
stroke: "currentColor",
|
|
185
|
-
strokeWidth: "2",
|
|
186
|
-
fill: "none",
|
|
187
|
-
opacity: "0.4"
|
|
188
|
-
}),
|
|
189
|
-
/* @__PURE__ */ t("rect", {
|
|
190
|
-
x: "30",
|
|
191
|
-
y: "25",
|
|
192
|
-
width: "60",
|
|
193
|
-
height: "75",
|
|
194
|
-
rx: "4",
|
|
195
|
-
stroke: "currentColor",
|
|
196
|
-
strokeWidth: "2.5",
|
|
197
|
-
fill: "none",
|
|
198
|
-
opacity: "0.6"
|
|
199
|
-
}),
|
|
200
|
-
/* @__PURE__ */ t("rect", {
|
|
201
|
-
x: "25",
|
|
202
|
-
y: "30",
|
|
203
|
-
width: "60",
|
|
204
|
-
height: "75",
|
|
205
|
-
rx: "4",
|
|
206
|
-
stroke: "currentColor",
|
|
207
|
-
strokeWidth: "3",
|
|
208
|
-
fill: "none"
|
|
209
|
-
}),
|
|
210
|
-
/* @__PURE__ */ t("line", {
|
|
211
|
-
x1: "35",
|
|
212
|
-
y1: "45",
|
|
213
|
-
x2: "70",
|
|
214
|
-
y2: "45",
|
|
215
|
-
stroke: "currentColor",
|
|
216
|
-
strokeWidth: "2",
|
|
217
|
-
strokeLinecap: "round"
|
|
218
|
-
}),
|
|
219
|
-
/* @__PURE__ */ t("line", {
|
|
220
|
-
x1: "35",
|
|
221
|
-
y1: "55",
|
|
222
|
-
x2: "75",
|
|
223
|
-
y2: "55",
|
|
224
|
-
stroke: "currentColor",
|
|
225
|
-
strokeWidth: "2",
|
|
226
|
-
strokeLinecap: "round"
|
|
227
|
-
}),
|
|
228
|
-
/* @__PURE__ */ t("line", {
|
|
229
|
-
x1: "35",
|
|
230
|
-
y1: "65",
|
|
231
|
-
x2: "65",
|
|
232
|
-
y2: "65",
|
|
233
|
-
stroke: "currentColor",
|
|
234
|
-
strokeWidth: "2",
|
|
235
|
-
strokeLinecap: "round"
|
|
236
|
-
}),
|
|
237
|
-
/* @__PURE__ */ t("line", {
|
|
238
|
-
x1: "35",
|
|
239
|
-
y1: "75",
|
|
240
|
-
x2: "70",
|
|
241
|
-
y2: "75",
|
|
242
|
-
stroke: "currentColor",
|
|
243
|
-
strokeWidth: "2",
|
|
244
|
-
strokeLinecap: "round"
|
|
245
|
-
})
|
|
246
|
-
]
|
|
247
|
-
})
|
|
248
|
-
});
|
|
249
|
-
}), c = e(function({ className: e }) {
|
|
250
|
-
return /* @__PURE__ */ n("svg", {
|
|
251
|
-
width: "120",
|
|
252
|
-
height: "120",
|
|
253
|
-
viewBox: "0 0 120 120",
|
|
254
|
-
fill: "none",
|
|
255
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
256
|
-
className: e,
|
|
257
|
-
"aria-hidden": "true",
|
|
258
|
-
children: [/* @__PURE__ */ n("g", {
|
|
259
|
-
className: "illustration-axes",
|
|
260
|
-
children: [/* @__PURE__ */ t("line", {
|
|
261
|
-
x1: "25",
|
|
262
|
-
y1: "20",
|
|
263
|
-
x2: "25",
|
|
264
|
-
y2: "90",
|
|
265
|
-
stroke: "currentColor",
|
|
266
|
-
strokeWidth: "2.5",
|
|
267
|
-
strokeLinecap: "round"
|
|
268
|
-
}), /* @__PURE__ */ t("line", {
|
|
269
|
-
x1: "25",
|
|
270
|
-
y1: "90",
|
|
271
|
-
x2: "95",
|
|
272
|
-
y2: "90",
|
|
273
|
-
stroke: "currentColor",
|
|
274
|
-
strokeWidth: "2.5",
|
|
275
|
-
strokeLinecap: "round"
|
|
276
|
-
})]
|
|
277
|
-
}), /* @__PURE__ */ n("g", {
|
|
278
|
-
className: "illustration-bars",
|
|
279
|
-
children: [
|
|
280
|
-
/* @__PURE__ */ t("rect", {
|
|
281
|
-
x: "35",
|
|
282
|
-
y: "60",
|
|
283
|
-
width: "10",
|
|
284
|
-
height: "25",
|
|
285
|
-
rx: "2",
|
|
286
|
-
fill: "currentColor",
|
|
287
|
-
opacity: "0.6"
|
|
288
|
-
}),
|
|
289
|
-
/* @__PURE__ */ t("rect", {
|
|
290
|
-
x: "50",
|
|
291
|
-
y: "45",
|
|
292
|
-
width: "10",
|
|
293
|
-
height: "40",
|
|
294
|
-
rx: "2",
|
|
295
|
-
fill: "currentColor",
|
|
296
|
-
opacity: "0.8"
|
|
297
|
-
}),
|
|
298
|
-
/* @__PURE__ */ t("rect", {
|
|
299
|
-
x: "65",
|
|
300
|
-
y: "55",
|
|
301
|
-
width: "10",
|
|
302
|
-
height: "30",
|
|
303
|
-
rx: "2",
|
|
304
|
-
fill: "currentColor",
|
|
305
|
-
opacity: "0.7"
|
|
306
|
-
}),
|
|
307
|
-
/* @__PURE__ */ t("rect", {
|
|
308
|
-
x: "80",
|
|
309
|
-
y: "35",
|
|
310
|
-
width: "10",
|
|
311
|
-
height: "50",
|
|
312
|
-
rx: "2",
|
|
313
|
-
fill: "currentColor"
|
|
314
|
-
})
|
|
315
|
-
]
|
|
316
|
-
})]
|
|
317
|
-
});
|
|
318
|
-
}), l = e(function({ className: e }) {
|
|
319
|
-
return /* @__PURE__ */ t("svg", {
|
|
320
|
-
width: "120",
|
|
321
|
-
height: "120",
|
|
322
|
-
viewBox: "0 0 120 120",
|
|
323
|
-
fill: "none",
|
|
324
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
325
|
-
className: e,
|
|
326
|
-
"aria-hidden": "true",
|
|
327
|
-
children: /* @__PURE__ */ n("g", {
|
|
328
|
-
className: "illustration-warning",
|
|
329
|
-
children: [
|
|
330
|
-
/* @__PURE__ */ t("path", {
|
|
331
|
-
d: "M60 25 L100 95 L20 95 Z",
|
|
332
|
-
stroke: "currentColor",
|
|
333
|
-
strokeWidth: "3",
|
|
334
|
-
fill: "none",
|
|
335
|
-
strokeLinejoin: "round"
|
|
336
|
-
}),
|
|
337
|
-
/* @__PURE__ */ t("line", {
|
|
338
|
-
x1: "60",
|
|
339
|
-
y1: "50",
|
|
340
|
-
x2: "60",
|
|
341
|
-
y2: "70",
|
|
342
|
-
stroke: "currentColor",
|
|
343
|
-
strokeWidth: "3",
|
|
344
|
-
strokeLinecap: "round"
|
|
345
|
-
}),
|
|
346
|
-
/* @__PURE__ */ t("circle", {
|
|
347
|
-
cx: "60",
|
|
348
|
-
cy: "80",
|
|
349
|
-
r: "2.5",
|
|
350
|
-
fill: "currentColor"
|
|
351
|
-
})
|
|
352
|
-
]
|
|
353
|
-
})
|
|
354
|
-
});
|
|
355
|
-
}), u = e(function({ className: e }) {
|
|
356
|
-
return /* @__PURE__ */ n("svg", {
|
|
357
|
-
width: "120",
|
|
358
|
-
height: "120",
|
|
359
|
-
viewBox: "0 0 120 120",
|
|
360
|
-
fill: "none",
|
|
361
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
362
|
-
className: e,
|
|
363
|
-
"aria-hidden": "true",
|
|
364
|
-
children: [/* @__PURE__ */ n("g", {
|
|
365
|
-
className: "illustration-docs",
|
|
366
|
-
children: [
|
|
367
|
-
/* @__PURE__ */ t("rect", {
|
|
368
|
-
x: "25",
|
|
369
|
-
y: "15",
|
|
370
|
-
width: "60",
|
|
371
|
-
height: "80",
|
|
372
|
-
rx: "6",
|
|
373
|
-
stroke: "currentColor",
|
|
374
|
-
strokeWidth: "3",
|
|
375
|
-
fill: "none"
|
|
376
|
-
}),
|
|
377
|
-
/* @__PURE__ */ t("line", {
|
|
378
|
-
x1: "37",
|
|
379
|
-
y1: "35",
|
|
380
|
-
x2: "73",
|
|
381
|
-
y2: "35",
|
|
382
|
-
stroke: "currentColor",
|
|
383
|
-
strokeWidth: "2.5",
|
|
384
|
-
strokeLinecap: "round"
|
|
385
|
-
}),
|
|
386
|
-
/* @__PURE__ */ t("line", {
|
|
387
|
-
x1: "37",
|
|
388
|
-
y1: "47",
|
|
389
|
-
x2: "68",
|
|
390
|
-
y2: "47",
|
|
391
|
-
stroke: "currentColor",
|
|
392
|
-
strokeWidth: "2.5",
|
|
393
|
-
strokeLinecap: "round"
|
|
394
|
-
}),
|
|
395
|
-
/* @__PURE__ */ t("line", {
|
|
396
|
-
x1: "37",
|
|
397
|
-
y1: "59",
|
|
398
|
-
x2: "73",
|
|
399
|
-
y2: "59",
|
|
400
|
-
stroke: "currentColor",
|
|
401
|
-
strokeWidth: "2.5",
|
|
402
|
-
strokeLinecap: "round"
|
|
403
|
-
}),
|
|
404
|
-
/* @__PURE__ */ t("line", {
|
|
405
|
-
x1: "37",
|
|
406
|
-
y1: "71",
|
|
407
|
-
x2: "58",
|
|
408
|
-
y2: "71",
|
|
409
|
-
stroke: "currentColor",
|
|
410
|
-
strokeWidth: "2.5",
|
|
411
|
-
strokeLinecap: "round"
|
|
412
|
-
})
|
|
413
|
-
]
|
|
414
|
-
}), /* @__PURE__ */ t("g", {
|
|
415
|
-
className: "illustration-sparkle",
|
|
416
|
-
children: /* @__PURE__ */ t("path", {
|
|
417
|
-
d: "M78 10 L78 38 L90 30 L102 38 L102 10 Z",
|
|
418
|
-
stroke: "currentColor",
|
|
419
|
-
strokeWidth: "2.5",
|
|
420
|
-
fill: "none",
|
|
421
|
-
strokeLinejoin: "round"
|
|
422
|
-
})
|
|
423
|
-
})]
|
|
424
|
-
});
|
|
425
|
-
}), d = e(function({ className: e }) {
|
|
426
|
-
return /* @__PURE__ */ n("svg", {
|
|
427
|
-
width: "120",
|
|
428
|
-
height: "120",
|
|
429
|
-
viewBox: "0 0 120 120",
|
|
430
|
-
fill: "none",
|
|
431
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
432
|
-
className: e,
|
|
433
|
-
"aria-hidden": "true",
|
|
434
|
-
children: [/* @__PURE__ */ n("g", {
|
|
435
|
-
className: "illustration-docs",
|
|
436
|
-
children: [
|
|
437
|
-
/* @__PURE__ */ t("rect", {
|
|
438
|
-
x: "20",
|
|
439
|
-
y: "30",
|
|
440
|
-
width: "65",
|
|
441
|
-
height: "65",
|
|
442
|
-
rx: "8",
|
|
443
|
-
stroke: "currentColor",
|
|
444
|
-
strokeWidth: "3",
|
|
445
|
-
fill: "none"
|
|
446
|
-
}),
|
|
447
|
-
/* @__PURE__ */ t("line", {
|
|
448
|
-
x1: "20",
|
|
449
|
-
y1: "48",
|
|
450
|
-
x2: "85",
|
|
451
|
-
y2: "48",
|
|
452
|
-
stroke: "currentColor",
|
|
453
|
-
strokeWidth: "2.5"
|
|
454
|
-
}),
|
|
455
|
-
/* @__PURE__ */ t("line", {
|
|
456
|
-
x1: "38",
|
|
457
|
-
y1: "25",
|
|
458
|
-
x2: "38",
|
|
459
|
-
y2: "35",
|
|
460
|
-
stroke: "currentColor",
|
|
461
|
-
strokeWidth: "3",
|
|
462
|
-
strokeLinecap: "round"
|
|
463
|
-
}),
|
|
464
|
-
/* @__PURE__ */ t("line", {
|
|
465
|
-
x1: "67",
|
|
466
|
-
y1: "25",
|
|
467
|
-
x2: "67",
|
|
468
|
-
y2: "35",
|
|
469
|
-
stroke: "currentColor",
|
|
470
|
-
strokeWidth: "3",
|
|
471
|
-
strokeLinecap: "round"
|
|
472
|
-
}),
|
|
473
|
-
/* @__PURE__ */ t("circle", {
|
|
474
|
-
cx: "35",
|
|
475
|
-
cy: "58",
|
|
476
|
-
r: "2.5",
|
|
477
|
-
fill: "currentColor",
|
|
478
|
-
opacity: "0.5"
|
|
479
|
-
}),
|
|
480
|
-
/* @__PURE__ */ t("circle", {
|
|
481
|
-
cx: "52",
|
|
482
|
-
cy: "58",
|
|
483
|
-
r: "2.5",
|
|
484
|
-
fill: "currentColor",
|
|
485
|
-
opacity: "0.5"
|
|
486
|
-
}),
|
|
487
|
-
/* @__PURE__ */ t("circle", {
|
|
488
|
-
cx: "35",
|
|
489
|
-
cy: "72",
|
|
490
|
-
r: "2.5",
|
|
491
|
-
fill: "currentColor",
|
|
492
|
-
opacity: "0.5"
|
|
493
|
-
}),
|
|
494
|
-
/* @__PURE__ */ t("circle", {
|
|
495
|
-
cx: "52",
|
|
496
|
-
cy: "72",
|
|
497
|
-
r: "2.5",
|
|
498
|
-
fill: "currentColor",
|
|
499
|
-
opacity: "0.5"
|
|
500
|
-
}),
|
|
501
|
-
/* @__PURE__ */ t("circle", {
|
|
502
|
-
cx: "35",
|
|
503
|
-
cy: "86",
|
|
504
|
-
r: "2.5",
|
|
505
|
-
fill: "currentColor",
|
|
506
|
-
opacity: "0.5"
|
|
507
|
-
})
|
|
508
|
-
]
|
|
509
|
-
}), /* @__PURE__ */ n("g", {
|
|
510
|
-
className: "illustration-sparkle",
|
|
511
|
-
children: [
|
|
512
|
-
/* @__PURE__ */ t("circle", {
|
|
513
|
-
cx: "82",
|
|
514
|
-
cy: "80",
|
|
515
|
-
r: "20",
|
|
516
|
-
stroke: "currentColor",
|
|
517
|
-
strokeWidth: "2.5",
|
|
518
|
-
fill: "var(--token-colorBgContainer, #fff)"
|
|
519
|
-
}),
|
|
520
|
-
/* @__PURE__ */ t("line", {
|
|
521
|
-
x1: "82",
|
|
522
|
-
y1: "80",
|
|
523
|
-
x2: "82",
|
|
524
|
-
y2: "70",
|
|
525
|
-
stroke: "currentColor",
|
|
526
|
-
strokeWidth: "2.5",
|
|
527
|
-
strokeLinecap: "round"
|
|
528
|
-
}),
|
|
529
|
-
/* @__PURE__ */ t("line", {
|
|
530
|
-
x1: "82",
|
|
531
|
-
y1: "80",
|
|
532
|
-
x2: "92",
|
|
533
|
-
y2: "80",
|
|
534
|
-
stroke: "currentColor",
|
|
535
|
-
strokeWidth: "2.5",
|
|
536
|
-
strokeLinecap: "round"
|
|
537
|
-
}),
|
|
538
|
-
/* @__PURE__ */ t("circle", {
|
|
539
|
-
cx: "82",
|
|
540
|
-
cy: "80",
|
|
541
|
-
r: "2",
|
|
542
|
-
fill: "currentColor"
|
|
543
|
-
})
|
|
544
|
-
]
|
|
545
|
-
})]
|
|
546
|
-
});
|
|
547
|
-
}), f = e(function({ className: e }) {
|
|
548
|
-
return /* @__PURE__ */ t("svg", {
|
|
549
|
-
width: "120",
|
|
550
|
-
height: "120",
|
|
551
|
-
viewBox: "0 0 120 120",
|
|
552
|
-
fill: "none",
|
|
553
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
554
|
-
className: e,
|
|
555
|
-
"aria-hidden": "true",
|
|
556
|
-
children: /* @__PURE__ */ t("g", {
|
|
557
|
-
className: "illustration-folder",
|
|
558
|
-
children: /* @__PURE__ */ t("path", {
|
|
559
|
-
d: "M25 35 L25 85 C25 90 28 92 33 92 L87 92 C92 92 95 90 95 85 L95 45 C95 40 92 38 87 38 L60 38 L52 28 L33 28 C28 28 25 30 25 35 Z",
|
|
560
|
-
stroke: "currentColor",
|
|
561
|
-
strokeWidth: "3",
|
|
562
|
-
fill: "none",
|
|
563
|
-
strokeLinejoin: "round"
|
|
564
|
-
})
|
|
565
|
-
})
|
|
566
|
-
});
|
|
567
|
-
});
|
|
568
|
-
//#endregion
|
|
569
|
-
export { o as BenchmarkIllustration, r as ChatIllustration, a as CreationsIllustration, l as ErrorIllustration, f as GenericIllustration, s as LogsIllustration, i as ModelsIllustration, d as ScheduleIllustration, c as StatisticsIllustration, u as TextIllustration };
|
|
570
|
-
|
|
571
|
-
//# sourceMappingURL=illustrations.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"illustrations.js","names":[],"sources":["../../../src/components/EmptyState/illustrations.tsx"],"sourcesContent":["/**\n * EmptyState Illustrations\n *\n * SVG illustration components for different empty state contexts.\n * All illustrations are inline React components for optimal performance.\n * Each component is memoized to prevent unnecessary re-renders.\n */\n\nimport { memo } from \"react\";\n\ninterface IllustrationProps {\n className?: string;\n}\n\n/**\n * Chat illustration - Speech bubbles with sparkles\n */\nexport const ChatIllustration = memo(function ChatIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Chat bubble */}\n <g className=\"illustration-bubble\">\n <rect\n x=\"20\"\n y=\"30\"\n width=\"70\"\n height=\"50\"\n rx=\"12\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n />\n <path\n d=\"M40 80 L50 70 L90 70\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n {/* Message lines */}\n <line\n x1=\"35\"\n y1=\"45\"\n x2=\"75\"\n y2=\"45\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"35\"\n y1=\"55\"\n x2=\"65\"\n y2=\"55\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n </g>\n {/* Sparkles */}\n <g className=\"illustration-sparkle\">\n <path\n d=\"M95 25 L97 32 L104 34 L97 36 L95 43 L93 36 L86 34 L93 32 Z\"\n fill=\"currentColor\"\n />\n <path\n d=\"M25 15 L26 19 L30 20 L26 21 L25 25 L24 21 L20 20 L24 19 Z\"\n fill=\"currentColor\"\n />\n </g>\n </svg>\n );\n});\n\n/**\n * Models illustration - Package/download box\n */\nexport const ModelsIllustration = memo(function ModelsIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* 3D box representing model package */}\n <g className=\"illustration-box\">\n <path\n d=\"M60 20 L95 40 L95 80 L60 100 L25 80 L25 40 Z\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n strokeLinejoin=\"round\"\n />\n <path\n d=\"M60 20 L60 100\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M25 40 L60 60 L95 40\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n {/* Download arrow */}\n <g className=\"illustration-arrow\">\n <path\n d=\"M60 45 L60 75\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <path\n d=\"M52 67 L60 75 L68 67\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </g>\n </svg>\n );\n});\n\n/**\n * Creations illustration - Gallery frame\n */\nexport const CreationsIllustration = memo(function CreationsIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Gallery frame */}\n <rect\n x=\"20\"\n y=\"25\"\n width=\"80\"\n height=\"70\"\n rx=\"8\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n />\n {/* Image placeholder with mountain and sun */}\n <g className=\"illustration-image\">\n <circle cx=\"45\" cy=\"45\" r=\"8\" stroke=\"currentColor\" strokeWidth=\"2\" />\n <path\n d=\"M20 80 L40 60 L60 75 L85 50 L100 65 L100 95 L20 95 Z\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinejoin=\"round\"\n fill=\"none\"\n />\n </g>\n </svg>\n );\n});\n\n/**\n * Benchmark illustration - Speedometer\n */\nexport const BenchmarkIllustration = memo(function BenchmarkIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 512 512\"\n fill=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Speedometer body */}\n <path d=\"M92.231,401.523l-24.69,12.044C49.475,381.325,40,345.338,40,308.499c0-26.991,4.977-52.842,14.06-76.683l28.291,13.57c2.79,1.338,5.735,1.972,8.636,1.972c7.453,0,14.608-4.185,18.047-11.355c4.776-9.959,0.576-21.906-9.384-26.683l-27.932-13.398c34.717-56.62,94.784-96.095,164.283-102.505v30.081c0,11.046,8.954,20,20,20c11.046,0,20-8.954,20-20V93.402c23.828,2.169,46.884,8.237,68.771,18.117c10.065,4.545,21.912,0.066,26.457-9.999c4.545-10.068,0.068-21.913-10-26.458C328.063,60.091,292.659,52.499,256,52.499c-68.38,0-132.667,26.628-181.02,74.98C26.629,175.832,0,240.119,0,308.499c0,50.53,14.998,99.674,43.373,142.115c3.822,5.715,10.141,8.886,16.639,8.886c2.954,0,5.946-0.655,8.757-2.026l41-20c9.928-4.843,14.05-16.816,9.207-26.744C114.133,400.803,102.159,396.682,92.231,401.523z\" />\n <path d=\"M489.436,203.271c-4.544-10.067-16.387-14.547-26.458-10c-10.067,4.545-14.544,16.39-9.999,26.457C465.601,247.686,472,277.553,472,308.499c0,36.894-9.506,72.939-27.625,105.218l-25.777-12.275c-9.971-4.748-21.906-0.515-26.656,9.459c-4.749,9.972-0.514,21.907,9.459,26.656l42,20c2.763,1.315,5.692,1.944,8.588,1.944c6.5,0,12.82-3.175,16.637-8.886C497.002,408.173,512,359.029,512,308.499C512,271.84,504.408,236.436,489.436,203.271z\" />\n {/* Speedometer needle - animated */}\n <g className=\"illustration-needle\">\n <path d=\"M435.143,129.356c-6.796-6.795-17.463-7.797-25.407-2.384c-29.926,20.398-180.03,122.969-196.162,139.1c-23.394,23.395-23.394,61.459,0,84.854c11.697,11.696,27.063,17.545,42.427,17.545c15.364,0,30.729-5.849,42.427-17.545c16.131-16.132,118.701-166.236,139.1-196.162C442.939,146.821,441.938,136.153,435.143,129.356z M270.142,322.641c-7.797,7.799-20.486,7.799-28.283,0c-7.798-7.797-7.799-20.482-0.004-28.28c6.268-6.194,48.885-36.588,101.319-73.035C306.728,273.76,276.334,316.375,270.142,322.641z\" />\n </g>\n </svg>\n );\n});\n\n/**\n * Logs illustration - Document stack\n */\nexport const LogsIllustration = memo(function LogsIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Stacked documents */}\n <g className=\"illustration-docs\">\n {/* Back document */}\n <rect\n x=\"35\"\n y=\"20\"\n width=\"60\"\n height=\"75\"\n rx=\"4\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n fill=\"none\"\n opacity=\"0.4\"\n />\n {/* Middle document */}\n <rect\n x=\"30\"\n y=\"25\"\n width=\"60\"\n height=\"75\"\n rx=\"4\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n fill=\"none\"\n opacity=\"0.6\"\n />\n {/* Front document */}\n <rect\n x=\"25\"\n y=\"30\"\n width=\"60\"\n height=\"75\"\n rx=\"4\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n />\n {/* Text lines */}\n <line\n x1=\"35\"\n y1=\"45\"\n x2=\"70\"\n y2=\"45\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"35\"\n y1=\"55\"\n x2=\"75\"\n y2=\"55\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"35\"\n y1=\"65\"\n x2=\"65\"\n y2=\"65\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"35\"\n y1=\"75\"\n x2=\"70\"\n y2=\"75\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n />\n </g>\n </svg>\n );\n});\n\n/**\n * Statistics illustration - Chart placeholder\n */\nexport const StatisticsIllustration = memo(function StatisticsIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Chart axes */}\n <g className=\"illustration-axes\">\n <line\n x1=\"25\"\n y1=\"20\"\n x2=\"25\"\n y2=\"90\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"25\"\n y1=\"90\"\n x2=\"95\"\n y2=\"90\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n </g>\n {/* Bar chart */}\n <g className=\"illustration-bars\">\n <rect\n x=\"35\"\n y=\"60\"\n width=\"10\"\n height=\"25\"\n rx=\"2\"\n fill=\"currentColor\"\n opacity=\"0.6\"\n />\n <rect\n x=\"50\"\n y=\"45\"\n width=\"10\"\n height=\"40\"\n rx=\"2\"\n fill=\"currentColor\"\n opacity=\"0.8\"\n />\n <rect\n x=\"65\"\n y=\"55\"\n width=\"10\"\n height=\"30\"\n rx=\"2\"\n fill=\"currentColor\"\n opacity=\"0.7\"\n />\n <rect x=\"80\" y=\"35\" width=\"10\" height=\"50\" rx=\"2\" fill=\"currentColor\" />\n </g>\n </svg>\n );\n});\n\n/**\n * Error illustration - Warning/error state\n */\nexport const ErrorIllustration = memo(function ErrorIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Triangle warning */}\n <g className=\"illustration-warning\">\n <path\n d=\"M60 25 L100 95 L20 95 Z\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n strokeLinejoin=\"round\"\n />\n {/* Exclamation mark */}\n <line\n x1=\"60\"\n y1=\"50\"\n x2=\"60\"\n y2=\"70\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n />\n <circle cx=\"60\" cy=\"80\" r=\"2.5\" fill=\"currentColor\" />\n </g>\n </svg>\n );\n});\n\n/**\n * Text illustration - Document with bookmark\n */\nexport const TextIllustration = memo(function TextIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Document */}\n <g className=\"illustration-docs\">\n <rect\n x=\"25\"\n y=\"15\"\n width=\"60\"\n height=\"80\"\n rx=\"6\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n />\n {/* Text lines */}\n <line\n x1=\"37\"\n y1=\"35\"\n x2=\"73\"\n y2=\"35\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"37\"\n y1=\"47\"\n x2=\"68\"\n y2=\"47\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"37\"\n y1=\"59\"\n x2=\"73\"\n y2=\"59\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"37\"\n y1=\"71\"\n x2=\"58\"\n y2=\"71\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n </g>\n {/* Bookmark */}\n <g className=\"illustration-sparkle\">\n <path\n d=\"M78 10 L78 38 L90 30 L102 38 L102 10 Z\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n fill=\"none\"\n strokeLinejoin=\"round\"\n />\n </g>\n </svg>\n );\n});\n\n/**\n * Schedule illustration - Calendar with clock\n */\nexport const ScheduleIllustration = memo(function ScheduleIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Calendar body */}\n <g className=\"illustration-docs\">\n <rect\n x=\"20\"\n y=\"30\"\n width=\"65\"\n height=\"65\"\n rx=\"8\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n />\n {/* Calendar header bar */}\n <line x1=\"20\" y1=\"48\" x2=\"85\" y2=\"48\" stroke=\"currentColor\" strokeWidth=\"2.5\" />\n {/* Calendar pins */}\n <line\n x1=\"38\"\n y1=\"25\"\n x2=\"38\"\n y2=\"35\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"67\"\n y1=\"25\"\n x2=\"67\"\n y2=\"35\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n strokeLinecap=\"round\"\n />\n {/* Calendar grid dots */}\n <circle cx=\"35\" cy=\"58\" r=\"2.5\" fill=\"currentColor\" opacity=\"0.5\" />\n <circle cx=\"52\" cy=\"58\" r=\"2.5\" fill=\"currentColor\" opacity=\"0.5\" />\n <circle cx=\"35\" cy=\"72\" r=\"2.5\" fill=\"currentColor\" opacity=\"0.5\" />\n <circle cx=\"52\" cy=\"72\" r=\"2.5\" fill=\"currentColor\" opacity=\"0.5\" />\n <circle cx=\"35\" cy=\"86\" r=\"2.5\" fill=\"currentColor\" opacity=\"0.5\" />\n </g>\n {/* Clock overlay */}\n <g className=\"illustration-sparkle\">\n <circle\n cx=\"82\"\n cy=\"80\"\n r=\"20\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n fill=\"var(--token-colorBgContainer, #fff)\"\n />\n <line\n x1=\"82\"\n y1=\"80\"\n x2=\"82\"\n y2=\"70\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <line\n x1=\"82\"\n y1=\"80\"\n x2=\"92\"\n y2=\"80\"\n stroke=\"currentColor\"\n strokeWidth=\"2.5\"\n strokeLinecap=\"round\"\n />\n <circle cx=\"82\" cy=\"80\" r=\"2\" fill=\"currentColor\" />\n </g>\n </svg>\n );\n});\n\n/**\n * Generic illustration - Placeholder icon\n */\nexport const GenericIllustration = memo(function GenericIllustration({\n className,\n}: IllustrationProps) {\n return (\n <svg\n width=\"120\"\n height=\"120\"\n viewBox=\"0 0 120 120\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n className={className}\n aria-hidden=\"true\"\n >\n {/* Simple folder/file icon */}\n <g className=\"illustration-folder\">\n <path\n d=\"M25 35 L25 85 C25 90 28 92 33 92 L87 92 C92 92 95 90 95 85 L95 45 C95 40 92 38 87 38 L60 38 L52 28 L33 28 C28 28 25 30 25 35 Z\"\n stroke=\"currentColor\"\n strokeWidth=\"3\"\n fill=\"none\"\n strokeLinejoin=\"round\"\n />\n </g>\n </svg>\n );\n});\n"],"mappings":";;;AAiBA,IAAa,IAAmB,EAAK,SAA0B,EAC7D,gBACoB;CACpB,OACE,kBAAC,OAAD;EACE,OAAM;EACN,QAAO;EACP,SAAQ;EACR,MAAK;EACL,OAAM;EACK;EACX,eAAY;EAPd,UAAA,CAUE,kBAAC,KAAD;GAAG,WAAU;GAAb,UAAA;IACE,kBAAC,QAAD;KACE,GAAE;KACF,GAAE;KACF,OAAM;KACN,QAAO;KACP,IAAG;KACH,QAAO;KACP,aAAY;KACZ,MAAK;IACN,CAAA;IACD,kBAAC,QAAD;KACE,GAAE;KACF,QAAO;KACP,aAAY;KACZ,MAAK;KACL,eAAc;KACd,gBAAe;IAChB,CAAA;IAED,kBAAC,QAAD;KACE,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,QAAO;KACP,aAAY;KACZ,eAAc;IACf,CAAA;IACD,kBAAC,QAAD;KACE,IAAG;KACH,IAAG;KACH,IAAG;KACH,IAAG;KACH,QAAO;KACP,aAAY;KACZ,eAAc;IACf,CAAA;GACA;EAEH,CAAA,GAAA,kBAAC,KAAD;GAAG,WAAU;GAAb,UAAA,CACE,kBAAC,QAAD;IACE,GAAE;IACF,MAAK;GACN,CAAA,GACD,kBAAC,QAAD;IACE,GAAE;IACF,MAAK;GACN,CAAA,CACA;EACA,CAAA,CAAA;;AAET,CAAC,GAKY,IAAqB,EAAK,SAA4B,EACjE,gBACoB;CACpB,OACE,kBAAC,OAAD;EACE,OAAM;EACN,QAAO;EACP,SAAQ;EACR,MAAK;EACL,OAAM;EACK;EACX,eAAY;EAPd,UAAA,CAUE,kBAAC,KAAD;GAAG,WAAU;GAAb,UAAA;IACE,kBAAC,QAAD;KACE,GAAE;KACF,QAAO;KACP,aAAY;KACZ,MAAK;KACL,gBAAe;IAChB,CAAA;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CAAA;;AAET,CAAC,GAKY,IAAsB,EAAK,SAA6B,EACnE,gBACoB;CACpB,OACE,kBAAC,OAAD;EACE,OAAM;EACN,QAAO;EACP,SAAQ;EACR,MAAK;EACL,OAAM;EACK;EACX,eAAY;EAGZ,UAAA,kBAAC,KAAD;GAAG,WAAU;GACX,UAAA,kBAAC,QAAD;IACE,GAAE;IACF,QAAO;IACP,aAAY;IACZ,MAAK;IACL,gBAAe;GAChB,CAAA;EACA,CAAA;CACA,CAAA;AAET,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BadgeProps } from '../Badge';
|
|
2
|
-
/** Guide tag types — displayed as a small badge after the label */
|
|
3
|
-
export type TabTagType = "required" | "recommended" | "beta" | "experimental";
|
|
4
|
-
/** English default label for every {@link TabTagType}. */
|
|
5
|
-
export type TabTagLabels = Record<TabTagType, string>;
|
|
6
|
-
/** Mapping of tag type to badge variant */
|
|
7
|
-
export declare const TAG_CONFIG: Record<TabTagType, {
|
|
8
|
-
variant: BadgeProps["variant"];
|
|
9
|
-
}>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
//#region src/components/Tabs/tabTags.ts
|
|
2
|
-
var e = {
|
|
3
|
-
required: { variant: "warning" },
|
|
4
|
-
recommended: { variant: "primary" },
|
|
5
|
-
beta: { variant: "info" },
|
|
6
|
-
experimental: { variant: "warning" }
|
|
7
|
-
};
|
|
8
|
-
//#endregion
|
|
9
|
-
export { e as TAG_CONFIG };
|
|
10
|
-
|
|
11
|
-
//# sourceMappingURL=tabTags.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tabTags.js","names":[],"sources":["../../../src/components/Tabs/tabTags.ts"],"sourcesContent":["/**\n * Tag label types and badge-variant configuration for the Tabs component.\n *\n * Used to display guide badge labels (Beta, Experimental, Required, Recommended)\n * next to tab labels. The label text itself is supplied by the consumer via\n * `Tabs`' `tagLabels` prop (see `TabTagLabels`) — this module only carries the\n * presentation mapping from tag type to badge variant.\n */\n\nimport type { BadgeProps } from \"../Badge\";\n\n/** Guide tag types — displayed as a small badge after the label */\nexport type TabTagType = \"required\" | \"recommended\" | \"beta\" | \"experimental\";\n\n/** English default label for every {@link TabTagType}. */\nexport type TabTagLabels = Record<TabTagType, string>;\n\n/** Mapping of tag type to badge variant */\nexport const TAG_CONFIG: Record<TabTagType, { variant: BadgeProps[\"variant\"] }> = {\n required: { variant: \"warning\" },\n recommended: { variant: \"primary\" },\n beta: { variant: \"info\" },\n experimental: { variant: \"warning\" },\n};\n"],"mappings":";AAkBA,IAAa,IAAqE;CAChF,UAAU,EAAE,SAAS,UAAU;CAC/B,aAAa,EAAE,SAAS,UAAU;CAClC,MAAM,EAAE,SAAS,OAAO;CACxB,cAAc,EAAE,SAAS,UAAU;AACrC"}
|