@andreagiugni/tailwind-dashboard-ui 1.0.1 → 1.0.2
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 +7 -4
- package/dist/{Editor-CHBOfOWf.d.cts → Editor-DEv5IZeb.d.cts} +2 -0
- package/dist/{Editor-CHBOfOWf.d.ts → Editor-DEv5IZeb.d.ts} +2 -0
- package/dist/{chunk-YSON6RJC.cjs → chunk-5DEBWZY7.cjs} +178 -43
- package/dist/chunk-5DEBWZY7.cjs.map +1 -0
- package/dist/{chunk-S4ADL5B7.cjs → chunk-6NC3VS54.cjs} +35 -115
- package/dist/chunk-6NC3VS54.cjs.map +1 -0
- package/dist/{chunk-DXUWFHPF.js → chunk-OYBYDSNI.js} +35 -115
- package/dist/chunk-OYBYDSNI.js.map +1 -0
- package/dist/{chunk-QGLKSM7S.js → chunk-PYZG7RY7.js} +179 -44
- package/dist/chunk-PYZG7RY7.js.map +1 -0
- package/dist/{chunk-U2SEFEOB.js → chunk-W3TC7P3Z.js} +8 -21
- package/dist/chunk-W3TC7P3Z.js.map +1 -0
- package/dist/{chunk-553PIOZS.cjs → chunk-ZQ6544NY.cjs} +8 -21
- package/dist/chunk-ZQ6544NY.cjs.map +1 -0
- package/dist/components/Calendar/Calendar.cjs +2 -2
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.cjs +2 -2
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/Editor/Editor.cjs +2 -2
- package/dist/components/Editor/Editor.d.cts +1 -1
- package/dist/components/Editor/Editor.d.ts +1 -1
- package/dist/components/Editor/Editor.js +1 -1
- package/dist/index.cjs +61 -555
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +57 -551
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
- package/dist/chunk-553PIOZS.cjs.map +0 -1
- package/dist/chunk-DXUWFHPF.js.map +0 -1
- package/dist/chunk-QGLKSM7S.js.map +0 -1
- package/dist/chunk-S4ADL5B7.cjs.map +0 -1
- package/dist/chunk-U2SEFEOB.js.map +0 -1
- package/dist/chunk-YSON6RJC.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
export { BarChart } from './chunk-YAKIMPXZ.js';
|
|
3
3
|
export { LineChart } from './chunk-NWIOJGF7.js';
|
|
4
|
-
export { Calendar, Modal } from './chunk-
|
|
5
|
-
export { Editor } from './chunk-
|
|
6
|
-
export { ColorPicker } from './chunk-
|
|
4
|
+
export { Calendar, Modal } from './chunk-PYZG7RY7.js';
|
|
5
|
+
export { Editor } from './chunk-OYBYDSNI.js';
|
|
6
|
+
export { ColorPicker } from './chunk-W3TC7P3Z.js';
|
|
7
7
|
import { layers } from './chunk-VX7S6VYG.js';
|
|
8
8
|
import { cn } from './chunk-ZLIYUUA4.js';
|
|
9
9
|
export { cn } from './chunk-ZLIYUUA4.js';
|
|
10
10
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
11
|
+
import { Info, CircleAlert, CircleX, CircleCheck, Upload, Sun, Moon, X, Check, Copy, ChevronDown, Calendar, Clock, Eye, EyeOff, ChevronRight, ChevronUp } from 'lucide-react';
|
|
11
12
|
import React5, { useRef, useState, useEffect, useLayoutEffect, useCallback, useId, useMemo } from 'react';
|
|
12
13
|
import { createPortal } from 'react-dom';
|
|
13
14
|
import flatpickr from 'flatpickr';
|
|
@@ -191,86 +192,6 @@ var Ribbon = ({
|
|
|
191
192
|
}
|
|
192
193
|
);
|
|
193
194
|
};
|
|
194
|
-
var alertIcons = {
|
|
195
|
-
success: /* @__PURE__ */ jsx(
|
|
196
|
-
"svg",
|
|
197
|
-
{
|
|
198
|
-
className: "fill-current",
|
|
199
|
-
width: "24",
|
|
200
|
-
height: "24",
|
|
201
|
-
viewBox: "0 0 24 24",
|
|
202
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
203
|
-
children: /* @__PURE__ */ jsx(
|
|
204
|
-
"path",
|
|
205
|
-
{
|
|
206
|
-
fillRule: "evenodd",
|
|
207
|
-
clipRule: "evenodd",
|
|
208
|
-
d: "M3.70186 12.0001C3.70186 7.41711 7.41711 3.70186 12.0001 3.70186C16.5831 3.70186 20.2984 7.41711 20.2984 12.0001C20.2984 16.5831 16.5831 20.2984 12.0001 20.2984C7.41711 20.2984 3.70186 16.5831 3.70186 12.0001ZM12.0001 1.90186C6.423 1.90186 1.90186 6.423 1.90186 12.0001C1.90186 17.5772 6.423 22.0984 12.0001 22.0984C17.5772 22.0984 22.0984 17.5772 22.0984 12.0001C22.0984 6.423 17.5772 1.90186 12.0001 1.90186ZM15.6197 10.7395C15.9712 10.388 15.9712 9.81819 15.6197 9.46672C15.2683 9.11525 14.6984 9.11525 14.347 9.46672L11.1894 12.6243L9.6533 11.0883C9.30183 10.7368 8.73198 10.7368 8.38051 11.0883C8.02904 11.4397 8.02904 12.0096 8.38051 12.3611L10.553 14.5335C10.7217 14.7023 10.9507 14.7971 11.1894 14.7971C11.428 14.7971 11.657 14.7023 11.8257 14.5335L15.6197 10.7395Z"
|
|
209
|
-
}
|
|
210
|
-
)
|
|
211
|
-
}
|
|
212
|
-
),
|
|
213
|
-
error: /* @__PURE__ */ jsx(
|
|
214
|
-
"svg",
|
|
215
|
-
{
|
|
216
|
-
className: "fill-current",
|
|
217
|
-
width: "24",
|
|
218
|
-
height: "24",
|
|
219
|
-
viewBox: "0 0 24 24",
|
|
220
|
-
fill: "none",
|
|
221
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
222
|
-
children: /* @__PURE__ */ jsx(
|
|
223
|
-
"path",
|
|
224
|
-
{
|
|
225
|
-
fillRule: "evenodd",
|
|
226
|
-
clipRule: "evenodd",
|
|
227
|
-
d: "M20.3499 12.0004C20.3499 16.612 16.6115 20.3504 11.9999 20.3504C7.38832 20.3504 3.6499 16.612 3.6499 12.0004C3.6499 7.38881 7.38833 3.65039 11.9999 3.65039C16.6115 3.65039 20.3499 7.38881 20.3499 12.0004ZM11.9999 22.1504C17.6056 22.1504 22.1499 17.6061 22.1499 12.0004C22.1499 6.3947 17.6056 1.85039 11.9999 1.85039C6.39421 1.85039 1.8499 6.3947 1.8499 12.0004C1.8499 17.6061 6.39421 22.1504 11.9999 22.1504ZM13.0008 16.4753C13.0008 15.923 12.5531 15.4753 12.0008 15.4753L11.9998 15.4753C11.4475 15.4753 10.9998 15.923 10.9998 16.4753C10.9998 17.0276 11.4475 17.4753 11.9998 17.4753L12.0008 17.4753C12.5531 17.4753 13.0008 17.0276 13.0008 16.4753ZM11.9998 6.62898C12.414 6.62898 12.7498 6.96476 12.7498 7.37898L12.7498 13.0555C12.7498 13.4697 12.414 13.8055 11.9998 13.8055C11.5856 13.8055 11.2498 13.4697 11.2498 13.0555L11.2498 7.37898C11.2498 6.96476 11.5856 6.62898 11.9998 6.62898Z",
|
|
228
|
-
fill: "#F04438"
|
|
229
|
-
}
|
|
230
|
-
)
|
|
231
|
-
}
|
|
232
|
-
),
|
|
233
|
-
warning: /* @__PURE__ */ jsx(
|
|
234
|
-
"svg",
|
|
235
|
-
{
|
|
236
|
-
className: "fill-current",
|
|
237
|
-
width: "24",
|
|
238
|
-
height: "24",
|
|
239
|
-
viewBox: "0 0 24 24",
|
|
240
|
-
fill: "none",
|
|
241
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
242
|
-
children: /* @__PURE__ */ jsx(
|
|
243
|
-
"path",
|
|
244
|
-
{
|
|
245
|
-
fillRule: "evenodd",
|
|
246
|
-
clipRule: "evenodd",
|
|
247
|
-
d: "M3.6501 12.0001C3.6501 7.38852 7.38852 3.6501 12.0001 3.6501C16.6117 3.6501 20.3501 7.38852 20.3501 12.0001C20.3501 16.6117 16.6117 20.3501 12.0001 20.3501C7.38852 20.3501 3.6501 16.6117 3.6501 12.0001ZM12.0001 1.8501C6.39441 1.8501 1.8501 6.39441 1.8501 12.0001C1.8501 17.6058 6.39441 22.1501 12.0001 22.1501C17.6058 22.1501 22.1501 17.6058 22.1501 12.0001C22.1501 6.39441 17.6058 1.8501 12.0001 1.8501ZM10.9992 7.52517C10.9992 8.07746 11.4469 8.52517 11.9992 8.52517H12.0002C12.5525 8.52517 13.0002 8.07746 13.0002 7.52517C13.0002 6.97289 12.5525 6.52517 12.0002 6.52517H11.9992C11.4469 6.52517 10.9992 6.97289 10.9992 7.52517ZM12.0002 17.3715C11.586 17.3715 11.2502 17.0357 11.2502 16.6215V10.945C11.2502 10.5308 11.586 10.195 12.0002 10.195C12.4144 10.195 12.7502 10.5308 12.7502 10.945V16.6215C12.7502 17.0357 12.4144 17.3715 12.0002 17.3715Z",
|
|
248
|
-
fill: ""
|
|
249
|
-
}
|
|
250
|
-
)
|
|
251
|
-
}
|
|
252
|
-
),
|
|
253
|
-
info: /* @__PURE__ */ jsx(
|
|
254
|
-
"svg",
|
|
255
|
-
{
|
|
256
|
-
className: "fill-current",
|
|
257
|
-
width: "24",
|
|
258
|
-
height: "24",
|
|
259
|
-
viewBox: "0 0 24 24",
|
|
260
|
-
fill: "none",
|
|
261
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
262
|
-
children: /* @__PURE__ */ jsx(
|
|
263
|
-
"path",
|
|
264
|
-
{
|
|
265
|
-
fillRule: "evenodd",
|
|
266
|
-
clipRule: "evenodd",
|
|
267
|
-
d: "M3.6501 11.9996C3.6501 7.38803 7.38852 3.64961 12.0001 3.64961C16.6117 3.64961 20.3501 7.38803 20.3501 11.9996C20.3501 16.6112 16.6117 20.3496 12.0001 20.3496C7.38852 20.3496 3.6501 16.6112 3.6501 11.9996ZM12.0001 1.84961C6.39441 1.84961 1.8501 6.39392 1.8501 11.9996C1.8501 17.6053 6.39441 22.1496 12.0001 22.1496C17.6058 22.1496 22.1501 17.6053 22.1501 11.9996C22.1501 6.39392 17.6058 1.84961 12.0001 1.84961ZM10.9992 7.52468C10.9992 8.07697 11.4469 8.52468 11.9992 8.52468H12.0002C12.5525 8.52468 13.0002 8.07697 13.0002 7.52468C13.0002 6.9724 12.5525 6.52468 12.0002 6.52468H11.9992C11.4469 6.52468 10.9992 6.9724 10.9992 7.52468ZM12.0002 17.371C11.586 17.371 11.2502 17.0352 11.2502 16.621V10.9445C11.2502 10.5303 11.586 10.1945 12.0002 10.1945C12.4144 10.1945 12.7502 10.5303 12.7502 10.9445V16.621C12.7502 17.0352 12.4144 17.371 12.0002 17.371Z",
|
|
268
|
-
fill: ""
|
|
269
|
-
}
|
|
270
|
-
)
|
|
271
|
-
}
|
|
272
|
-
)
|
|
273
|
-
};
|
|
274
195
|
var variantClasses2 = {
|
|
275
196
|
success: {
|
|
276
197
|
container: "border-success-500 bg-success-50 dark:border-success-500/30 dark:bg-success-500/15",
|
|
@@ -289,6 +210,12 @@ var variantClasses2 = {
|
|
|
289
210
|
icon: "text-blue-light-500"
|
|
290
211
|
}
|
|
291
212
|
};
|
|
213
|
+
var variantIcons = {
|
|
214
|
+
success: CircleCheck,
|
|
215
|
+
error: CircleX,
|
|
216
|
+
warning: CircleAlert,
|
|
217
|
+
info: Info
|
|
218
|
+
};
|
|
292
219
|
var Alert = ({
|
|
293
220
|
variant,
|
|
294
221
|
title,
|
|
@@ -300,13 +227,14 @@ var Alert = ({
|
|
|
300
227
|
className,
|
|
301
228
|
...rest
|
|
302
229
|
}) => {
|
|
230
|
+
const Icon = variantIcons[variant];
|
|
303
231
|
return /* @__PURE__ */ jsx(
|
|
304
232
|
"div",
|
|
305
233
|
{
|
|
306
234
|
className: cn("rounded-xl border p-4", variantClasses2[variant].container, className),
|
|
307
235
|
...rest,
|
|
308
236
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3", children: [
|
|
309
|
-
/* @__PURE__ */ jsx("div", { className: cn("-mt-0.5", variantClasses2[variant].icon), children: icon ??
|
|
237
|
+
/* @__PURE__ */ jsx("div", { className: cn("-mt-0.5", variantClasses2[variant].icon), children: icon ?? /* @__PURE__ */ jsx(Icon, { className: "h-6 w-6", "aria-hidden": "true" }) }),
|
|
310
238
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
311
239
|
/* @__PURE__ */ jsx("h4", { className: "mb-1 text-sm font-semibold text-gray-800 dark:text-white/90", children: title }),
|
|
312
240
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-500 dark:text-gray-400", children: message }),
|
|
@@ -593,14 +521,7 @@ var Dropzone = ({
|
|
|
593
521
|
}
|
|
594
522
|
),
|
|
595
523
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
596
|
-
/* @__PURE__ */ jsx("div", { className: "mb-[22px] flex justify-center", children: /* @__PURE__ */ jsx("div", { className: "flex h-[68px] w-[68px] items-center justify-center rounded-full bg-gray-200 text-gray-700 dark:bg-gray-800 dark:text-gray-400", children: /* @__PURE__ */ jsx(
|
|
597
|
-
"path",
|
|
598
|
-
{
|
|
599
|
-
fillRule: "evenodd",
|
|
600
|
-
clipRule: "evenodd",
|
|
601
|
-
d: "M14.5019 3.91699C14.2852 3.91699 14.0899 4.00891 13.953 4.15589L8.57363 9.53186C8.28065 9.82466 8.2805 10.2995 8.5733 10.5925C8.8661 10.8855 9.34097 10.8857 9.63396 10.5929L13.7519 6.47752V18.667C13.7519 19.0812 14.0877 19.417 14.5019 19.417C14.9161 19.417 15.2519 19.0812 15.2519 18.667V6.48234L19.3653 10.5929C19.6583 10.8857 20.1332 10.8855 20.426 10.5925C20.7188 10.2995 20.7186 9.82463 20.4256 9.53184L15.0838 4.19378C14.9463 4.02488 14.7367 3.91699 14.5019 3.91699ZM5.91626 18.667C5.91626 18.2528 5.58047 17.917 5.16626 17.917C4.75205 17.917 4.41626 18.2528 4.41626 18.667V21.8337C4.41626 23.0763 5.42362 24.0837 6.66626 24.0837H22.3339C23.5766 24.0837 24.5839 23.0763 24.5839 21.8337V18.667C24.5839 18.2528 24.2482 17.917 23.8339 17.917C23.4197 17.917 23.0839 18.2528 23.0839 18.667V21.8337C23.0839 22.2479 22.7482 22.5837 22.3339 22.5837H6.66626C6.25205 22.5837 5.91626 22.2479 5.91626 21.8337V18.667Z"
|
|
602
|
-
}
|
|
603
|
-
) }) }) }),
|
|
524
|
+
/* @__PURE__ */ jsx("div", { className: "mb-[22px] flex justify-center", children: /* @__PURE__ */ jsx("div", { className: "flex h-[68px] w-[68px] items-center justify-center rounded-full bg-gray-200 text-gray-700 dark:bg-gray-800 dark:text-gray-400", children: /* @__PURE__ */ jsx(Upload, { className: "h-7 w-7", "aria-hidden": "true" }) }) }),
|
|
604
525
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-theme-xl font-semibold text-gray-800 dark:text-white/90", children: title ?? (isDragActive ? "Drop Files Here" : "Drag & Drop Files Here") }),
|
|
605
526
|
/* @__PURE__ */ jsx("span", { className: "mb-5 block w-full max-w-[290px] text-center text-sm text-gray-700 dark:text-gray-400", children: description }),
|
|
606
527
|
/* @__PURE__ */ jsx("span", { className: "text-theme-sm font-medium text-brand-500 underline", children: browseLabel })
|
|
@@ -752,47 +673,19 @@ function SortIcon({
|
|
|
752
673
|
className: "inline-flex shrink-0 flex-col items-center -space-y-1",
|
|
753
674
|
children: [
|
|
754
675
|
/* @__PURE__ */ jsx(
|
|
755
|
-
|
|
676
|
+
ChevronUp,
|
|
756
677
|
{
|
|
757
678
|
"data-sort-direction": "asc",
|
|
758
|
-
width: "12",
|
|
759
|
-
height: "12",
|
|
760
|
-
viewBox: "0 0 12 12",
|
|
761
|
-
fill: "none",
|
|
762
679
|
"aria-hidden": "true",
|
|
763
|
-
className: state === "asc" ? active : inactive
|
|
764
|
-
children: /* @__PURE__ */ jsx(
|
|
765
|
-
"path",
|
|
766
|
-
{
|
|
767
|
-
d: "M3.5 7.25 6 4.75l2.5 2.5",
|
|
768
|
-
stroke: "currentColor",
|
|
769
|
-
strokeWidth: "1.5",
|
|
770
|
-
strokeLinecap: "round",
|
|
771
|
-
strokeLinejoin: "round"
|
|
772
|
-
}
|
|
773
|
-
)
|
|
680
|
+
className: cn("h-3 w-3", state === "asc" ? active : inactive)
|
|
774
681
|
}
|
|
775
682
|
),
|
|
776
683
|
/* @__PURE__ */ jsx(
|
|
777
|
-
|
|
684
|
+
ChevronDown,
|
|
778
685
|
{
|
|
779
686
|
"data-sort-direction": "desc",
|
|
780
|
-
width: "12",
|
|
781
|
-
height: "12",
|
|
782
|
-
viewBox: "0 0 12 12",
|
|
783
|
-
fill: "none",
|
|
784
687
|
"aria-hidden": "true",
|
|
785
|
-
className: state === "desc" ? active : inactive
|
|
786
|
-
children: /* @__PURE__ */ jsx(
|
|
787
|
-
"path",
|
|
788
|
-
{
|
|
789
|
-
d: "m3.5 4.75 2.5 2.5 2.5-2.5",
|
|
790
|
-
stroke: "currentColor",
|
|
791
|
-
strokeWidth: "1.5",
|
|
792
|
-
strokeLinecap: "round",
|
|
793
|
-
strokeLinejoin: "round"
|
|
794
|
-
}
|
|
795
|
-
)
|
|
688
|
+
className: cn("h-3 w-3", state === "desc" ? active : inactive)
|
|
796
689
|
}
|
|
797
690
|
)
|
|
798
691
|
]
|
|
@@ -888,23 +781,10 @@ function DataDrivenTable({
|
|
|
888
781
|
}
|
|
889
782
|
),
|
|
890
783
|
/* @__PURE__ */ jsx(
|
|
891
|
-
|
|
784
|
+
ChevronDown,
|
|
892
785
|
{
|
|
893
786
|
"aria-hidden": "true",
|
|
894
|
-
className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
|
|
895
|
-
viewBox: "0 0 16 16",
|
|
896
|
-
fill: "none",
|
|
897
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
898
|
-
children: /* @__PURE__ */ jsx(
|
|
899
|
-
"path",
|
|
900
|
-
{
|
|
901
|
-
d: "M4 6L8 10L12 6",
|
|
902
|
-
stroke: "currentColor",
|
|
903
|
-
strokeWidth: "1.5",
|
|
904
|
-
strokeLinecap: "round",
|
|
905
|
-
strokeLinejoin: "round"
|
|
906
|
-
}
|
|
907
|
-
)
|
|
787
|
+
className: "pointer-events-none absolute right-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-500 dark:text-gray-400"
|
|
908
788
|
}
|
|
909
789
|
)
|
|
910
790
|
] }),
|
|
@@ -1060,27 +940,7 @@ function Table({
|
|
|
1060
940
|
}
|
|
1061
941
|
return /* @__PURE__ */ jsx("table", { className: cn("min-w-full", className), ...rest, children });
|
|
1062
942
|
}
|
|
1063
|
-
var ChevronIcon = () => /* @__PURE__ */ jsx(
|
|
1064
|
-
"svg",
|
|
1065
|
-
{
|
|
1066
|
-
className: "stroke-current",
|
|
1067
|
-
width: "17",
|
|
1068
|
-
height: "16",
|
|
1069
|
-
viewBox: "0 0 17 16",
|
|
1070
|
-
fill: "none",
|
|
1071
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1072
|
-
children: /* @__PURE__ */ jsx(
|
|
1073
|
-
"path",
|
|
1074
|
-
{
|
|
1075
|
-
d: "M6.0765 12.667L10.2432 8.50033L6.0765 4.33366",
|
|
1076
|
-
stroke: "",
|
|
1077
|
-
strokeWidth: "1.2",
|
|
1078
|
-
strokeLinecap: "round",
|
|
1079
|
-
strokeLinejoin: "round"
|
|
1080
|
-
}
|
|
1081
|
-
)
|
|
1082
|
-
}
|
|
1083
|
-
);
|
|
943
|
+
var ChevronIcon = () => /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4", strokeWidth: 1.5, "aria-hidden": "true" });
|
|
1084
944
|
var Breadcrumb = ({ pageTitle, items }) => {
|
|
1085
945
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-3 mb-6", children: [
|
|
1086
946
|
/* @__PURE__ */ jsx(
|
|
@@ -1150,44 +1010,8 @@ var ThemeToggleButton = ({
|
|
|
1150
1010
|
),
|
|
1151
1011
|
...rest,
|
|
1152
1012
|
children: [
|
|
1153
|
-
/* @__PURE__ */ jsx(
|
|
1154
|
-
|
|
1155
|
-
{
|
|
1156
|
-
className: "hidden dark:block",
|
|
1157
|
-
width: "20",
|
|
1158
|
-
height: "20",
|
|
1159
|
-
viewBox: "0 0 20 20",
|
|
1160
|
-
fill: "none",
|
|
1161
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1162
|
-
children: /* @__PURE__ */ jsx(
|
|
1163
|
-
"path",
|
|
1164
|
-
{
|
|
1165
|
-
fillRule: "evenodd",
|
|
1166
|
-
clipRule: "evenodd",
|
|
1167
|
-
d: "M9.99998 1.5415C10.4142 1.5415 10.75 1.87729 10.75 2.2915V3.5415C10.75 3.95572 10.4142 4.2915 9.99998 4.2915C9.58577 4.2915 9.24998 3.95572 9.24998 3.5415V2.2915C9.24998 1.87729 9.58577 1.5415 9.99998 1.5415ZM10.0009 6.79327C8.22978 6.79327 6.79402 8.22904 6.79402 10.0001C6.79402 11.7712 8.22978 13.207 10.0009 13.207C11.772 13.207 13.2078 11.7712 13.2078 10.0001C13.2078 8.22904 11.772 6.79327 10.0009 6.79327ZM5.29402 10.0001C5.29402 7.40061 7.40135 5.29327 10.0009 5.29327C12.6004 5.29327 14.7078 7.40061 14.7078 10.0001C14.7078 12.5997 12.6004 14.707 10.0009 14.707C7.40135 14.707 5.29402 12.5997 5.29402 10.0001ZM15.9813 5.08035C16.2742 4.78746 16.2742 4.31258 15.9813 4.01969C15.6884 3.7268 15.2135 3.7268 14.9207 4.01969L14.0368 4.90357C13.7439 5.19647 13.7439 5.67134 14.0368 5.96423C14.3297 6.25713 14.8045 6.25713 15.0974 5.96423L15.9813 5.08035ZM18.4577 10.0001C18.4577 10.4143 18.1219 10.7501 17.7077 10.7501H16.4577C16.0435 10.7501 15.7077 10.4143 15.7077 10.0001C15.7077 9.58592 16.0435 9.25013 16.4577 9.25013H17.7077C18.1219 9.25013 18.4577 9.58592 18.4577 10.0001ZM14.9207 15.9806C15.2135 16.2735 15.6884 16.2735 15.9813 15.9806C16.2742 15.6877 16.2742 15.2128 15.9813 14.9199L15.0974 14.036C14.8045 13.7431 14.3297 13.7431 14.0368 14.036C13.7439 14.3289 13.7439 14.8038 14.0368 15.0967L14.9207 15.9806ZM9.99998 15.7088C10.4142 15.7088 10.75 16.0445 10.75 16.4588V17.7088C10.75 18.123 10.4142 18.4588 9.99998 18.4588C9.58577 18.4588 9.24998 18.123 9.24998 17.7088V16.4588C9.24998 16.0445 9.58577 15.7088 9.99998 15.7088ZM5.96356 15.0972C6.25646 14.8043 6.25646 14.3295 5.96356 14.0366C5.67067 13.7437 5.1958 13.7437 4.9029 14.0366L4.01902 14.9204C3.72613 15.2133 3.72613 15.6882 4.01902 15.9811C4.31191 16.274 4.78679 16.274 5.07968 15.9811L5.96356 15.0972ZM4.29224 10.0001C4.29224 10.4143 3.95645 10.7501 3.54224 10.7501H2.29224C1.87802 10.7501 1.54224 10.4143 1.54224 10.0001C1.54224 9.58592 1.87802 9.25013 2.29224 9.25013H3.54224C3.95645 9.25013 4.29224 9.58592 4.29224 10.0001ZM4.9029 5.9637C5.1958 6.25659 5.67067 6.25659 5.96356 5.9637C6.25646 5.6708 6.25646 5.19593 5.96356 4.90303L5.07968 4.01915C4.78679 3.72626 4.31191 3.72626 4.01902 4.01915C3.72613 4.31204 3.72613 4.78692 4.01902 5.07981L4.9029 5.9637Z",
|
|
1168
|
-
fill: "currentColor"
|
|
1169
|
-
}
|
|
1170
|
-
)
|
|
1171
|
-
}
|
|
1172
|
-
),
|
|
1173
|
-
/* @__PURE__ */ jsx(
|
|
1174
|
-
"svg",
|
|
1175
|
-
{
|
|
1176
|
-
className: "dark:hidden",
|
|
1177
|
-
width: "20",
|
|
1178
|
-
height: "20",
|
|
1179
|
-
viewBox: "0 0 20 20",
|
|
1180
|
-
fill: "none",
|
|
1181
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1182
|
-
children: /* @__PURE__ */ jsx(
|
|
1183
|
-
"path",
|
|
1184
|
-
{
|
|
1185
|
-
d: "M17.4547 11.97L18.1799 12.1611C18.265 11.8383 18.1265 11.4982 17.8401 11.3266C17.5538 11.1551 17.1885 11.1934 16.944 11.4207L17.4547 11.97ZM8.0306 2.5459L8.57989 3.05657C8.80718 2.81209 8.84554 2.44682 8.67398 2.16046C8.50243 1.8741 8.16227 1.73559 7.83948 1.82066L8.0306 2.5459ZM12.9154 13.0035C9.64678 13.0035 6.99707 10.3538 6.99707 7.08524H5.49707C5.49707 11.1823 8.81835 14.5035 12.9154 14.5035V13.0035ZM16.944 11.4207C15.8869 12.4035 14.4721 13.0035 12.9154 13.0035V14.5035C14.8657 14.5035 16.6418 13.7499 17.9654 12.5193L16.944 11.4207ZM16.7295 11.7789C15.9437 14.7607 13.2277 16.9586 10.0003 16.9586V18.4586C13.9257 18.4586 17.2249 15.7853 18.1799 12.1611L16.7295 11.7789ZM10.0003 16.9586C6.15734 16.9586 3.04199 13.8433 3.04199 10.0003H1.54199C1.54199 14.6717 5.32892 18.4586 10.0003 18.4586V16.9586ZM3.04199 10.0003C3.04199 6.77289 5.23988 4.05695 8.22173 3.27114L7.83948 1.82066C4.21532 2.77574 1.54199 6.07486 1.54199 10.0003H3.04199ZM6.99707 7.08524C6.99707 5.52854 7.5971 4.11366 8.57989 3.05657L7.48132 2.03522C6.25073 3.35885 5.49707 5.13487 5.49707 7.08524H6.99707Z",
|
|
1186
|
-
fill: "currentColor"
|
|
1187
|
-
}
|
|
1188
|
-
)
|
|
1189
|
-
}
|
|
1190
|
-
)
|
|
1013
|
+
/* @__PURE__ */ jsx(Sun, { className: "hidden h-5 w-5 dark:block", "aria-hidden": "true" }),
|
|
1014
|
+
/* @__PURE__ */ jsx(Moon, { className: "h-5 w-5 dark:hidden", "aria-hidden": "true" })
|
|
1191
1015
|
]
|
|
1192
1016
|
}
|
|
1193
1017
|
);
|
|
@@ -1242,99 +1066,6 @@ var Card = ({
|
|
|
1242
1066
|
}
|
|
1243
1067
|
);
|
|
1244
1068
|
};
|
|
1245
|
-
var toastIcons = {
|
|
1246
|
-
success: /* @__PURE__ */ jsx(
|
|
1247
|
-
"svg",
|
|
1248
|
-
{
|
|
1249
|
-
className: "fill-current",
|
|
1250
|
-
width: "20",
|
|
1251
|
-
height: "20",
|
|
1252
|
-
viewBox: "0 0 24 24",
|
|
1253
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1254
|
-
children: /* @__PURE__ */ jsx(
|
|
1255
|
-
"path",
|
|
1256
|
-
{
|
|
1257
|
-
fillRule: "evenodd",
|
|
1258
|
-
clipRule: "evenodd",
|
|
1259
|
-
d: "M3.70186 12.0001C3.70186 7.41711 7.41711 3.70186 12.0001 3.70186C16.5831 3.70186 20.2984 7.41711 20.2984 12.0001C20.2984 16.5831 16.5831 20.2984 12.0001 20.2984C7.41711 20.2984 3.70186 16.5831 3.70186 12.0001ZM12.0001 1.90186C6.423 1.90186 1.90186 6.423 1.90186 12.0001C1.90186 17.5772 6.423 22.0984 12.0001 22.0984C17.5772 22.0984 22.0984 17.5772 22.0984 12.0001C22.0984 6.423 17.5772 1.90186 12.0001 1.90186ZM15.6197 10.7395C15.9712 10.388 15.9712 9.81819 15.6197 9.46672C15.2683 9.11525 14.6984 9.11525 14.347 9.46672L11.1894 12.6243L9.6533 11.0883C9.30183 10.7368 8.73198 10.7368 8.38051 11.0883C8.02904 11.4397 8.02904 12.0096 8.38051 12.3611L10.553 14.5335C10.7217 14.7023 10.9507 14.7971 11.1894 14.7971C11.428 14.7971 11.657 14.7023 11.8257 14.5335L15.6197 10.7395Z"
|
|
1260
|
-
}
|
|
1261
|
-
)
|
|
1262
|
-
}
|
|
1263
|
-
),
|
|
1264
|
-
danger: /* @__PURE__ */ jsx(
|
|
1265
|
-
"svg",
|
|
1266
|
-
{
|
|
1267
|
-
className: "fill-current",
|
|
1268
|
-
width: "20",
|
|
1269
|
-
height: "20",
|
|
1270
|
-
viewBox: "0 0 24 24",
|
|
1271
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1272
|
-
children: /* @__PURE__ */ jsx(
|
|
1273
|
-
"path",
|
|
1274
|
-
{
|
|
1275
|
-
fillRule: "evenodd",
|
|
1276
|
-
clipRule: "evenodd",
|
|
1277
|
-
d: "M20.3499 12.0004C20.3499 16.612 16.6115 20.3504 11.9999 20.3504C7.38832 20.3504 3.6499 16.612 3.6499 12.0004C3.6499 7.38881 7.38833 3.65039 11.9999 3.65039C16.6115 3.65039 20.3499 7.38881 20.3499 12.0004ZM11.9999 22.1504C17.6056 22.1504 22.1499 17.6061 22.1499 12.0004C22.1499 6.3947 17.6056 1.85039 11.9999 1.85039C6.39421 1.85039 1.8499 6.3947 1.8499 12.0004C1.8499 17.6061 6.39421 22.1504 11.9999 22.1504ZM13.0008 16.4753C13.0008 15.923 12.5531 15.4753 12.0008 15.4753L11.9998 15.4753C11.4475 15.4753 10.9998 15.923 10.9998 16.4753C10.9998 17.0276 11.4475 17.4753 11.9998 17.4753L12.0008 17.4753C12.5531 17.4753 13.0008 17.0276 13.0008 16.4753ZM11.9998 6.62898C12.414 6.62898 12.7498 6.96476 12.7498 7.37898L12.7498 13.0555C12.7498 13.4697 12.414 13.8055 11.9998 13.8055C11.5856 13.8055 11.2498 13.4697 11.2498 13.0555L11.2498 7.37898C11.2498 6.96476 11.5856 6.62898 11.9998 6.62898Z"
|
|
1278
|
-
}
|
|
1279
|
-
)
|
|
1280
|
-
}
|
|
1281
|
-
),
|
|
1282
|
-
warning: /* @__PURE__ */ jsx(
|
|
1283
|
-
"svg",
|
|
1284
|
-
{
|
|
1285
|
-
className: "fill-current",
|
|
1286
|
-
width: "20",
|
|
1287
|
-
height: "20",
|
|
1288
|
-
viewBox: "0 0 24 24",
|
|
1289
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1290
|
-
children: /* @__PURE__ */ jsx(
|
|
1291
|
-
"path",
|
|
1292
|
-
{
|
|
1293
|
-
fillRule: "evenodd",
|
|
1294
|
-
clipRule: "evenodd",
|
|
1295
|
-
d: "M3.6501 12.0001C3.6501 7.38852 7.38852 3.6501 12.0001 3.6501C16.6117 3.6501 20.3501 7.38852 20.3501 12.0001C20.3501 16.6117 16.6117 20.3501 12.0001 20.3501C7.38852 20.3501 3.6501 16.6117 3.6501 12.0001ZM12.0001 1.8501C6.39441 1.8501 1.8501 6.39441 1.8501 12.0001C1.8501 17.6058 6.39441 22.1501 12.0001 22.1501C17.6058 22.1501 22.1501 17.6058 22.1501 12.0001C22.1501 6.39441 17.6058 1.8501 12.0001 1.8501ZM10.9992 7.52517C10.9992 8.07746 11.4469 8.52517 11.9992 8.52517H12.0002C12.5525 8.52517 13.0002 8.07746 13.0002 7.52517C13.0002 6.97289 12.5525 6.52517 12.0002 6.52517H11.9992C11.4469 6.52517 10.9992 6.97289 10.9992 7.52517ZM12.0002 17.3715C11.586 17.3715 11.2502 17.0357 11.2502 16.6215V10.945C11.2502 10.5308 11.586 10.195 12.0002 10.195C12.4144 10.195 12.7502 10.5308 12.7502 10.945V16.6215C12.7502 17.0357 12.4144 17.3715 12.0002 17.3715Z"
|
|
1296
|
-
}
|
|
1297
|
-
)
|
|
1298
|
-
}
|
|
1299
|
-
),
|
|
1300
|
-
info: /* @__PURE__ */ jsx(
|
|
1301
|
-
"svg",
|
|
1302
|
-
{
|
|
1303
|
-
className: "fill-current",
|
|
1304
|
-
width: "20",
|
|
1305
|
-
height: "20",
|
|
1306
|
-
viewBox: "0 0 24 24",
|
|
1307
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1308
|
-
children: /* @__PURE__ */ jsx(
|
|
1309
|
-
"path",
|
|
1310
|
-
{
|
|
1311
|
-
fillRule: "evenodd",
|
|
1312
|
-
clipRule: "evenodd",
|
|
1313
|
-
d: "M3.6501 11.9996C3.6501 7.38803 7.38852 3.64961 12.0001 3.64961C16.6117 3.64961 20.3501 7.38803 20.3501 11.9996C20.3501 16.6112 16.6117 20.3496 12.0001 20.3496C7.38852 20.3496 3.6501 16.6112 3.6501 11.9996ZM12.0001 1.84961C6.39441 1.84961 1.8501 6.39392 1.8501 11.9996C1.8501 17.6053 6.39441 22.1496 12.0001 22.1496C17.6058 22.1496 22.1501 17.6053 22.1501 11.9996C22.1501 6.39392 17.6058 1.84961 12.0001 1.84961ZM10.9992 7.52468C10.9992 8.07697 11.4469 8.52468 11.9992 8.52468H12.0002C12.5525 8.52468 13.0002 8.07697 13.0002 7.52468C13.0002 6.9724 12.5525 6.52468 12.0002 6.52468H11.9992C11.4469 6.52468 10.9992 6.9724 10.9992 7.52468ZM12.0002 17.371C11.586 17.371 11.2502 17.0352 11.2502 16.621V10.9445C11.2502 10.5303 11.586 10.1945 12.0002 10.1945C12.4144 10.1945 12.7502 10.5303 12.7502 10.9445V16.621C12.7502 17.0352 12.4144 17.371 12.0002 17.371Z"
|
|
1314
|
-
}
|
|
1315
|
-
)
|
|
1316
|
-
}
|
|
1317
|
-
)
|
|
1318
|
-
};
|
|
1319
|
-
var ToastCloseIcon = /* @__PURE__ */ jsx(
|
|
1320
|
-
"svg",
|
|
1321
|
-
{
|
|
1322
|
-
width: "18",
|
|
1323
|
-
height: "18",
|
|
1324
|
-
viewBox: "0 0 24 24",
|
|
1325
|
-
fill: "none",
|
|
1326
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1327
|
-
children: /* @__PURE__ */ jsx(
|
|
1328
|
-
"path",
|
|
1329
|
-
{
|
|
1330
|
-
fillRule: "evenodd",
|
|
1331
|
-
clipRule: "evenodd",
|
|
1332
|
-
d: "M6.04 16.54a.9.9 0 0 0 1.27 1.27L12 13.14l4.69 4.67a.9.9 0 1 0 1.27-1.27L13.27 11.87l4.69-4.68a.9.9 0 1 0-1.27-1.27L12 10.6 7.31 5.92a.9.9 0 0 0-1.27 1.27l4.69 4.68-4.69 4.67Z",
|
|
1333
|
-
fill: "currentColor"
|
|
1334
|
-
}
|
|
1335
|
-
)
|
|
1336
|
-
}
|
|
1337
|
-
);
|
|
1338
1069
|
var variantStyles = {
|
|
1339
1070
|
success: {
|
|
1340
1071
|
iconWrap: "bg-success-50 text-success-600 dark:bg-success-500/15 dark:text-success-500",
|
|
@@ -1353,6 +1084,12 @@ var variantStyles = {
|
|
|
1353
1084
|
bar: "bg-blue-light-500"
|
|
1354
1085
|
}
|
|
1355
1086
|
};
|
|
1087
|
+
var variantIcons2 = {
|
|
1088
|
+
success: CircleCheck,
|
|
1089
|
+
danger: CircleX,
|
|
1090
|
+
warning: CircleAlert,
|
|
1091
|
+
info: Info
|
|
1092
|
+
};
|
|
1356
1093
|
var Toast = ({
|
|
1357
1094
|
variant = "success",
|
|
1358
1095
|
title,
|
|
@@ -1370,6 +1107,7 @@ var Toast = ({
|
|
|
1370
1107
|
...rest
|
|
1371
1108
|
}) => {
|
|
1372
1109
|
const styles = variantStyles[variant];
|
|
1110
|
+
const Icon = variantIcons2[variant];
|
|
1373
1111
|
return /* @__PURE__ */ jsxs(
|
|
1374
1112
|
"div",
|
|
1375
1113
|
{
|
|
@@ -1388,7 +1126,7 @@ var Toast = ({
|
|
|
1388
1126
|
"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg",
|
|
1389
1127
|
styles.iconWrap
|
|
1390
1128
|
),
|
|
1391
|
-
children: icon ??
|
|
1129
|
+
children: icon ?? /* @__PURE__ */ jsx(Icon, { className: "h-5 w-5", "aria-hidden": "true" })
|
|
1392
1130
|
}
|
|
1393
1131
|
),
|
|
1394
1132
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
@@ -1402,7 +1140,7 @@ var Toast = ({
|
|
|
1402
1140
|
"aria-label": "Close",
|
|
1403
1141
|
onClick: onClose,
|
|
1404
1142
|
className: "absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 transition hover:text-gray-700 dark:hover:text-gray-200",
|
|
1405
|
-
children:
|
|
1143
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-[18px] w-[18px]", "aria-hidden": "true" })
|
|
1406
1144
|
}
|
|
1407
1145
|
),
|
|
1408
1146
|
!hideAccentBar && /* @__PURE__ */ jsx(
|
|
@@ -1418,25 +1156,13 @@ var Toast = ({
|
|
|
1418
1156
|
};
|
|
1419
1157
|
var AccordionContext = React5.createContext(null);
|
|
1420
1158
|
var ChevronIcon2 = ({ open }) => /* @__PURE__ */ jsx(
|
|
1421
|
-
|
|
1159
|
+
ChevronDown,
|
|
1422
1160
|
{
|
|
1423
1161
|
className: cn(
|
|
1424
1162
|
"h-5 w-5 shrink-0 text-gray-500 transition-transform duration-200 dark:text-gray-400",
|
|
1425
1163
|
open && "rotate-180"
|
|
1426
1164
|
),
|
|
1427
|
-
|
|
1428
|
-
fill: "none",
|
|
1429
|
-
"aria-hidden": "true",
|
|
1430
|
-
children: /* @__PURE__ */ jsx(
|
|
1431
|
-
"path",
|
|
1432
|
-
{
|
|
1433
|
-
d: "M5 7.5L10 12.5L15 7.5",
|
|
1434
|
-
stroke: "currentColor",
|
|
1435
|
-
strokeWidth: "1.5",
|
|
1436
|
-
strokeLinecap: "round",
|
|
1437
|
-
strokeLinejoin: "round"
|
|
1438
|
-
}
|
|
1439
|
-
)
|
|
1165
|
+
"aria-hidden": "true"
|
|
1440
1166
|
}
|
|
1441
1167
|
);
|
|
1442
1168
|
var AccordionItem = ({
|
|
@@ -1912,25 +1638,7 @@ var Drawer = ({
|
|
|
1912
1638
|
onClick: onClose,
|
|
1913
1639
|
"aria-label": "Close drawer",
|
|
1914
1640
|
className: "absolute right-3 top-3 z-99 flex h-9.5 w-9.5 items-center justify-center rounded-full bg-gray-100 text-gray-400 transition-colors hover:bg-gray-200 hover:text-gray-700 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
1915
|
-
children: /* @__PURE__ */ jsx(
|
|
1916
|
-
"svg",
|
|
1917
|
-
{
|
|
1918
|
-
width: "24",
|
|
1919
|
-
height: "24",
|
|
1920
|
-
viewBox: "0 0 24 24",
|
|
1921
|
-
fill: "none",
|
|
1922
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1923
|
-
children: /* @__PURE__ */ jsx(
|
|
1924
|
-
"path",
|
|
1925
|
-
{
|
|
1926
|
-
fillRule: "evenodd",
|
|
1927
|
-
clipRule: "evenodd",
|
|
1928
|
-
d: "M6.04289 16.5413C5.65237 16.9318 5.65237 17.565 6.04289 17.9555C6.43342 18.346 7.06658 18.346 7.45711 17.9555L11.9987 13.4139L16.5408 17.956C16.9313 18.3466 17.5645 18.3466 17.955 17.956C18.3455 17.5655 18.3455 16.9323 17.955 16.5418L13.4129 11.9997L17.955 7.4576C18.3455 7.06707 18.3455 6.43391 17.955 6.04338C17.5645 5.65286 16.9313 5.65286 16.5408 6.04338L11.9987 10.5855L7.45711 6.0439C7.06658 5.65338 6.43342 5.65338 6.04289 6.0439C5.65237 6.43442 5.65237 7.06759 6.04289 7.45811L10.5845 11.9997L6.04289 16.5413Z",
|
|
1929
|
-
fill: "currentColor"
|
|
1930
|
-
}
|
|
1931
|
-
)
|
|
1932
|
-
}
|
|
1933
|
-
)
|
|
1641
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-6 w-6", "aria-hidden": "true" })
|
|
1934
1642
|
}
|
|
1935
1643
|
),
|
|
1936
1644
|
children
|
|
@@ -2003,27 +1711,7 @@ var Chip = ({
|
|
|
2003
1711
|
"aria-label": "Remove",
|
|
2004
1712
|
onClick: onClose,
|
|
2005
1713
|
className: "ml-0.5 flex h-4 w-4 items-center justify-center rounded-full text-current opacity-70 transition hover:opacity-100 focus:outline-none",
|
|
2006
|
-
children: /* @__PURE__ */ jsx(
|
|
2007
|
-
"svg",
|
|
2008
|
-
{
|
|
2009
|
-
width: "12",
|
|
2010
|
-
height: "12",
|
|
2011
|
-
viewBox: "0 0 12 12",
|
|
2012
|
-
fill: "none",
|
|
2013
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2014
|
-
"aria-hidden": "true",
|
|
2015
|
-
children: /* @__PURE__ */ jsx(
|
|
2016
|
-
"path",
|
|
2017
|
-
{
|
|
2018
|
-
d: "M9 3L3 9M3 3L9 9",
|
|
2019
|
-
stroke: "currentColor",
|
|
2020
|
-
strokeWidth: "1.5",
|
|
2021
|
-
strokeLinecap: "round",
|
|
2022
|
-
strokeLinejoin: "round"
|
|
2023
|
-
}
|
|
2024
|
-
)
|
|
2025
|
-
}
|
|
2026
|
-
)
|
|
1714
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-3 w-3", strokeWidth: 2, "aria-hidden": "true" })
|
|
2027
1715
|
}
|
|
2028
1716
|
)
|
|
2029
1717
|
]
|
|
@@ -2238,39 +1926,6 @@ var sizeClasses4 = {
|
|
|
2238
1926
|
sm: "text-xs p-3",
|
|
2239
1927
|
md: "text-sm p-4"
|
|
2240
1928
|
};
|
|
2241
|
-
var CopyIcon = () => /* @__PURE__ */ jsxs(
|
|
2242
|
-
"svg",
|
|
2243
|
-
{
|
|
2244
|
-
width: "16",
|
|
2245
|
-
height: "16",
|
|
2246
|
-
viewBox: "0 0 24 24",
|
|
2247
|
-
fill: "none",
|
|
2248
|
-
stroke: "currentColor",
|
|
2249
|
-
strokeWidth: "2",
|
|
2250
|
-
strokeLinecap: "round",
|
|
2251
|
-
strokeLinejoin: "round",
|
|
2252
|
-
"aria-hidden": "true",
|
|
2253
|
-
children: [
|
|
2254
|
-
/* @__PURE__ */ jsx("rect", { x: "9", y: "9", width: "13", height: "13", rx: "2", ry: "2" }),
|
|
2255
|
-
/* @__PURE__ */ jsx("path", { d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1" })
|
|
2256
|
-
]
|
|
2257
|
-
}
|
|
2258
|
-
);
|
|
2259
|
-
var CheckIcon = () => /* @__PURE__ */ jsx(
|
|
2260
|
-
"svg",
|
|
2261
|
-
{
|
|
2262
|
-
width: "16",
|
|
2263
|
-
height: "16",
|
|
2264
|
-
viewBox: "0 0 24 24",
|
|
2265
|
-
fill: "none",
|
|
2266
|
-
stroke: "currentColor",
|
|
2267
|
-
strokeWidth: "2",
|
|
2268
|
-
strokeLinecap: "round",
|
|
2269
|
-
strokeLinejoin: "round",
|
|
2270
|
-
"aria-hidden": "true",
|
|
2271
|
-
children: /* @__PURE__ */ jsx("polyline", { points: "20 6 9 17 4 12" })
|
|
2272
|
-
}
|
|
2273
|
-
);
|
|
2274
1929
|
var Snippet = ({
|
|
2275
1930
|
code,
|
|
2276
1931
|
children,
|
|
@@ -2322,7 +1977,7 @@ var Snippet = ({
|
|
|
2322
1977
|
"absolute right-2 top-2 inline-flex h-7 w-7 items-center justify-center rounded-lg text-gray-500 transition hover:bg-gray-200 hover:text-gray-700 focus:outline-hidden focus:ring-3 focus:ring-brand-500/10 dark:text-gray-400 dark:hover:bg-white/10 dark:hover:text-white/90",
|
|
2323
1978
|
copied && "text-success-500 dark:text-success-500"
|
|
2324
1979
|
),
|
|
2325
|
-
children: copied ? /* @__PURE__ */ jsx(
|
|
1980
|
+
children: copied ? /* @__PURE__ */ jsx(Check, { className: "h-4 w-4", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(Copy, { className: "h-4 w-4", "aria-hidden": "true" })
|
|
2326
1981
|
}
|
|
2327
1982
|
)
|
|
2328
1983
|
]
|
|
@@ -2420,45 +2075,19 @@ var Checkbox = ({
|
|
|
2420
2075
|
}
|
|
2421
2076
|
),
|
|
2422
2077
|
checked && /* @__PURE__ */ jsx(
|
|
2423
|
-
|
|
2078
|
+
Check,
|
|
2424
2079
|
{
|
|
2425
|
-
className: "absolute
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
height: "14",
|
|
2429
|
-
viewBox: "0 0 14 14",
|
|
2430
|
-
fill: "none",
|
|
2431
|
-
children: /* @__PURE__ */ jsx(
|
|
2432
|
-
"path",
|
|
2433
|
-
{
|
|
2434
|
-
d: "M11.6666 3.5L5.24992 9.91667L2.33325 7",
|
|
2435
|
-
stroke: "white",
|
|
2436
|
-
strokeWidth: "1.94437",
|
|
2437
|
-
strokeLinecap: "round",
|
|
2438
|
-
strokeLinejoin: "round"
|
|
2439
|
-
}
|
|
2440
|
-
)
|
|
2080
|
+
className: "pointer-events-none absolute left-1/2 top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 text-white",
|
|
2081
|
+
strokeWidth: 3,
|
|
2082
|
+
"aria-hidden": "true"
|
|
2441
2083
|
}
|
|
2442
2084
|
),
|
|
2443
2085
|
disabled && /* @__PURE__ */ jsx(
|
|
2444
|
-
|
|
2086
|
+
Check,
|
|
2445
2087
|
{
|
|
2446
|
-
className: "absolute
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
height: "14",
|
|
2450
|
-
viewBox: "0 0 14 14",
|
|
2451
|
-
fill: "none",
|
|
2452
|
-
children: /* @__PURE__ */ jsx(
|
|
2453
|
-
"path",
|
|
2454
|
-
{
|
|
2455
|
-
d: "M11.6666 3.5L5.24992 9.91667L2.33325 7",
|
|
2456
|
-
stroke: "#E4E7EC",
|
|
2457
|
-
strokeWidth: "2.33333",
|
|
2458
|
-
strokeLinecap: "round",
|
|
2459
|
-
strokeLinejoin: "round"
|
|
2460
|
-
}
|
|
2461
|
-
)
|
|
2088
|
+
className: "pointer-events-none absolute left-1/2 top-1/2 h-3.5 w-3.5 -translate-x-1/2 -translate-y-1/2 text-gray-200",
|
|
2089
|
+
strokeWidth: 3,
|
|
2090
|
+
"aria-hidden": "true"
|
|
2462
2091
|
}
|
|
2463
2092
|
)
|
|
2464
2093
|
] }),
|
|
@@ -2708,27 +2337,13 @@ var Select = ({
|
|
|
2708
2337
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: selectedOption?.label ?? placeholder })
|
|
2709
2338
|
] }),
|
|
2710
2339
|
/* @__PURE__ */ jsx(
|
|
2711
|
-
|
|
2340
|
+
ChevronDown,
|
|
2712
2341
|
{
|
|
2713
2342
|
className: cn(
|
|
2714
2343
|
"ml-2 h-5 w-5 shrink-0 stroke-current text-gray-500 transition-transform dark:text-gray-400",
|
|
2715
2344
|
isOpen && "rotate-180"
|
|
2716
2345
|
),
|
|
2717
|
-
|
|
2718
|
-
height: "20",
|
|
2719
|
-
viewBox: "0 0 20 20",
|
|
2720
|
-
fill: "none",
|
|
2721
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2722
|
-
children: /* @__PURE__ */ jsx(
|
|
2723
|
-
"path",
|
|
2724
|
-
{
|
|
2725
|
-
d: "M4.79175 7.39551L10.0001 12.6038L15.2084 7.39551",
|
|
2726
|
-
stroke: "currentColor",
|
|
2727
|
-
strokeWidth: "1.5",
|
|
2728
|
-
strokeLinecap: "round",
|
|
2729
|
-
strokeLinejoin: "round"
|
|
2730
|
-
}
|
|
2731
|
-
)
|
|
2346
|
+
"aria-hidden": "true"
|
|
2732
2347
|
}
|
|
2733
2348
|
)
|
|
2734
2349
|
]
|
|
@@ -2767,24 +2382,10 @@ var Select = ({
|
|
|
2767
2382
|
/* @__PURE__ */ jsx("span", { className: "truncate", children: option.label })
|
|
2768
2383
|
] }),
|
|
2769
2384
|
isSelected && /* @__PURE__ */ jsx(
|
|
2770
|
-
|
|
2385
|
+
Check,
|
|
2771
2386
|
{
|
|
2772
2387
|
className: "ml-2 h-4 w-4 shrink-0 stroke-current",
|
|
2773
|
-
|
|
2774
|
-
height: "16",
|
|
2775
|
-
viewBox: "0 0 16 16",
|
|
2776
|
-
fill: "none",
|
|
2777
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2778
|
-
children: /* @__PURE__ */ jsx(
|
|
2779
|
-
"path",
|
|
2780
|
-
{
|
|
2781
|
-
d: "M13.3334 4L6.00008 11.3333L2.66675 8",
|
|
2782
|
-
stroke: "currentColor",
|
|
2783
|
-
strokeWidth: "1.6",
|
|
2784
|
-
strokeLinecap: "round",
|
|
2785
|
-
strokeLinejoin: "round"
|
|
2786
|
-
}
|
|
2787
|
-
)
|
|
2388
|
+
"aria-hidden": "true"
|
|
2788
2389
|
}
|
|
2789
2390
|
)
|
|
2790
2391
|
]
|
|
@@ -2837,25 +2438,7 @@ var MultiSelect = ({
|
|
|
2837
2438
|
{
|
|
2838
2439
|
onClick: () => removeOption(index, selectedOptions[index]),
|
|
2839
2440
|
className: "pl-2 text-gray-500 cursor-pointer group-hover:text-gray-400 dark:text-gray-400",
|
|
2840
|
-
children: /* @__PURE__ */ jsx(
|
|
2841
|
-
"svg",
|
|
2842
|
-
{
|
|
2843
|
-
className: "fill-current",
|
|
2844
|
-
role: "button",
|
|
2845
|
-
width: "14",
|
|
2846
|
-
height: "14",
|
|
2847
|
-
viewBox: "0 0 14 14",
|
|
2848
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2849
|
-
children: /* @__PURE__ */ jsx(
|
|
2850
|
-
"path",
|
|
2851
|
-
{
|
|
2852
|
-
fillRule: "evenodd",
|
|
2853
|
-
clipRule: "evenodd",
|
|
2854
|
-
d: "M3.40717 4.46881C3.11428 4.17591 3.11428 3.70104 3.40717 3.40815C3.70006 3.11525 4.17494 3.11525 4.46783 3.40815L6.99943 5.93975L9.53095 3.40822C9.82385 3.11533 10.2987 3.11533 10.5916 3.40822C10.8845 3.70112 10.8845 4.17599 10.5916 4.46888L8.06009 7.00041L10.5916 9.53193C10.8845 9.82482 10.8845 10.2997 10.5916 10.5926C10.2987 10.8855 9.82385 10.8855 9.53095 10.5926L6.99943 8.06107L4.46783 10.5927C4.17494 10.8856 3.70006 10.8856 3.40717 10.5927C3.11428 10.2998 3.11428 9.8249 3.40717 9.53201L5.93877 7.00041L3.40717 4.46881Z"
|
|
2855
|
-
}
|
|
2856
|
-
)
|
|
2857
|
-
}
|
|
2858
|
-
)
|
|
2441
|
+
children: /* @__PURE__ */ jsx(X, { className: "h-3.5 w-3.5", role: "button", "aria-hidden": "true" })
|
|
2859
2442
|
}
|
|
2860
2443
|
) })
|
|
2861
2444
|
]
|
|
@@ -2877,24 +2460,10 @@ var MultiSelect = ({
|
|
|
2877
2460
|
onClick: toggleDropdown,
|
|
2878
2461
|
className: "w-5 h-5 text-gray-700 outline-hidden cursor-pointer focus:outline-hidden dark:text-gray-400",
|
|
2879
2462
|
children: /* @__PURE__ */ jsx(
|
|
2880
|
-
|
|
2463
|
+
ChevronDown,
|
|
2881
2464
|
{
|
|
2882
2465
|
className: `stroke-current ${isOpen ? "rotate-180" : ""}`,
|
|
2883
|
-
|
|
2884
|
-
height: "20",
|
|
2885
|
-
viewBox: "0 0 20 20",
|
|
2886
|
-
fill: "none",
|
|
2887
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2888
|
-
children: /* @__PURE__ */ jsx(
|
|
2889
|
-
"path",
|
|
2890
|
-
{
|
|
2891
|
-
d: "M4.79175 7.39551L10.0001 12.6038L15.2084 7.39551",
|
|
2892
|
-
stroke: "currentColor",
|
|
2893
|
-
strokeWidth: "1.5",
|
|
2894
|
-
strokeLinecap: "round",
|
|
2895
|
-
strokeLinejoin: "round"
|
|
2896
|
-
}
|
|
2897
|
-
)
|
|
2466
|
+
"aria-hidden": "true"
|
|
2898
2467
|
}
|
|
2899
2468
|
)
|
|
2900
2469
|
}
|
|
@@ -2928,24 +2497,10 @@ var MultiSelect = ({
|
|
|
2928
2497
|
}
|
|
2929
2498
|
),
|
|
2930
2499
|
isSelected && /* @__PURE__ */ jsx(
|
|
2931
|
-
|
|
2500
|
+
Check,
|
|
2932
2501
|
{
|
|
2933
2502
|
className: "mr-2 h-4 w-4 shrink-0 stroke-current text-brand-500",
|
|
2934
|
-
|
|
2935
|
-
height: "16",
|
|
2936
|
-
viewBox: "0 0 16 16",
|
|
2937
|
-
fill: "none",
|
|
2938
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2939
|
-
children: /* @__PURE__ */ jsx(
|
|
2940
|
-
"path",
|
|
2941
|
-
{
|
|
2942
|
-
d: "M13.3334 4L6.00008 11.3333L2.66675 8",
|
|
2943
|
-
stroke: "currentColor",
|
|
2944
|
-
strokeWidth: "1.6",
|
|
2945
|
-
strokeLinecap: "round",
|
|
2946
|
-
strokeLinejoin: "round"
|
|
2947
|
-
}
|
|
2948
|
-
)
|
|
2503
|
+
"aria-hidden": "true"
|
|
2949
2504
|
}
|
|
2950
2505
|
)
|
|
2951
2506
|
]
|
|
@@ -3006,26 +2561,7 @@ var DatePicker = ({
|
|
|
3006
2561
|
className: "h-11 w-full rounded-lg border appearance-none pl-4 pr-11 py-2.5 text-sm shadow-theme-xs placeholder:text-gray-400 focus:outline-hidden focus:ring-3 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30 bg-white text-gray-800 border-gray-300 focus:border-brand-300 focus:ring-brand-500/20 dark:border-gray-700 dark:focus:border-brand-800"
|
|
3007
2562
|
}
|
|
3008
2563
|
),
|
|
3009
|
-
/* @__PURE__ */ jsx("span", { className: "absolute text-gray-500 -translate-y-1/2 pointer-events-none right-3 top-1/2 dark:text-gray-400", children: /* @__PURE__ */ jsx(
|
|
3010
|
-
"svg",
|
|
3011
|
-
{
|
|
3012
|
-
className: "size-6",
|
|
3013
|
-
width: "24",
|
|
3014
|
-
height: "24",
|
|
3015
|
-
viewBox: "0 0 24 24",
|
|
3016
|
-
fill: "none",
|
|
3017
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
3018
|
-
children: /* @__PURE__ */ jsx(
|
|
3019
|
-
"path",
|
|
3020
|
-
{
|
|
3021
|
-
fillRule: "evenodd",
|
|
3022
|
-
clipRule: "evenodd",
|
|
3023
|
-
d: "M8 2C8.41421 2 8.75 2.33579 8.75 2.75V3.75H15.25V2.75C15.25 2.33579 15.5858 2 16 2C16.4142 2 16.75 2.33579 16.75 2.75V3.75H18.5C19.7426 3.75 20.75 4.75736 20.75 6V9V19C20.75 20.2426 19.7426 21.25 18.5 21.25H5.5C4.25736 21.25 3.25 20.2426 3.25 19V9V6C3.25 4.75736 4.25736 3.75 5.5 3.75H7.25V2.75C7.25 2.33579 7.58579 2 8 2ZM8 5.25H5.5C5.08579 5.25 4.75 5.58579 4.75 6V8.25H19.25V6C19.25 5.58579 18.9142 5.25 18.5 5.25H16H8ZM19.25 9.75H4.75V19C4.75 19.4142 5.08579 19.75 5.5 19.75H18.5C18.9142 19.75 19.25 19.4142 19.25 19V9.75Z",
|
|
3024
|
-
fill: "currentColor"
|
|
3025
|
-
}
|
|
3026
|
-
)
|
|
3027
|
-
}
|
|
3028
|
-
) })
|
|
2564
|
+
/* @__PURE__ */ jsx("span", { className: "absolute text-gray-500 -translate-y-1/2 pointer-events-none right-3 top-1/2 dark:text-gray-400", children: /* @__PURE__ */ jsx(Calendar, { className: "size-6", "aria-hidden": "true" }) })
|
|
3029
2565
|
] })
|
|
3030
2566
|
] });
|
|
3031
2567
|
};
|
|
@@ -3101,15 +2637,7 @@ var DateTimePicker = ({
|
|
|
3101
2637
|
className: "h-11 w-full appearance-none rounded-lg border border-gray-300 bg-white py-2.5 pl-4 pr-11 text-sm text-gray-800 shadow-theme-xs placeholder:text-gray-400 focus:border-brand-300 focus:outline-hidden focus:ring-3 focus:ring-brand-500/20 dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:placeholder:text-white/30 dark:focus:border-brand-800"
|
|
3102
2638
|
}
|
|
3103
2639
|
),
|
|
3104
|
-
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsx(
|
|
3105
|
-
"path",
|
|
3106
|
-
{
|
|
3107
|
-
fillRule: "evenodd",
|
|
3108
|
-
clipRule: "evenodd",
|
|
3109
|
-
d: "M8 2C8.41421 2 8.75 2.33579 8.75 2.75V3.75H15.25V2.75C15.25 2.33579 15.5858 2 16 2C16.4142 2 16.75 2.33579 16.75 2.75V3.75H18.5C19.7426 3.75 20.75 4.75736 20.75 6V9V19C20.75 20.2426 19.7426 21.25 18.5 21.25H5.5C4.25736 21.25 3.25 20.2426 3.25 19V9V6C3.25 4.75736 4.25736 3.75 5.5 3.75H7.25V2.75C7.25 2.33579 7.58579 2 8 2ZM8 5.25H5.5C5.08579 5.25 4.75 5.58579 4.75 6V8.25H19.25V6C19.25 5.58579 18.9142 5.25 18.5 5.25H16H8ZM19.25 9.75H4.75V19C4.75 19.4142 5.08579 19.75 5.5 19.75H18.5C18.9142 19.75 19.25 19.4142 19.25 19V9.75Z",
|
|
3110
|
-
fill: "currentColor"
|
|
3111
|
-
}
|
|
3112
|
-
) }) })
|
|
2640
|
+
/* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsx(Calendar, { className: "size-6", "aria-hidden": "true" }) })
|
|
3113
2641
|
] }),
|
|
3114
2642
|
/* @__PURE__ */ jsxs("div", { className: "flex h-11 items-center rounded-lg border border-gray-300 bg-white px-3 text-sm text-gray-800 shadow-theme-xs focus-within:border-brand-300 focus-within:ring-3 focus-within:ring-brand-500/20 dark:border-gray-700 dark:bg-gray-900 dark:text-white/90 dark:focus-within:border-brand-800", children: [
|
|
3115
2643
|
/* @__PURE__ */ jsx(
|
|
@@ -3139,15 +2667,7 @@ var DateTimePicker = ({
|
|
|
3139
2667
|
className: timeFieldClass
|
|
3140
2668
|
}
|
|
3141
2669
|
),
|
|
3142
|
-
/* @__PURE__ */ jsx("span", { className: "ml-1 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsx(
|
|
3143
|
-
"path",
|
|
3144
|
-
{
|
|
3145
|
-
fillRule: "evenodd",
|
|
3146
|
-
clipRule: "evenodd",
|
|
3147
|
-
d: "M3.04175 9.99984C3.04175 6.15686 6.1571 3.0415 10.0001 3.0415C13.8431 3.0415 16.9584 6.15686 16.9584 9.99984C16.9584 13.8428 13.8431 16.9582 10.0001 16.9582C6.1571 16.9582 3.04175 13.8428 3.04175 9.99984ZM10.0001 1.5415C5.32867 1.5415 1.54175 5.32843 1.54175 9.99984C1.54175 14.6712 5.32867 18.4582 10.0001 18.4582C14.6715 18.4582 18.4584 14.6712 18.4584 9.99984C18.4584 5.32843 14.6715 1.5415 10.0001 1.5415ZM9.99998 10.7498C9.58577 10.7498 9.24998 10.4141 9.24998 9.99984V5.4165C9.24998 5.00229 9.58577 4.6665 9.99998 4.6665C10.4142 4.6665 10.75 5.00229 10.75 5.4165V9.24984H13.3334C13.7476 9.24984 14.0834 9.58562 14.0834 9.99984C14.0834 10.4141 13.7476 10.7498 13.3334 10.7498H10.0001H9.99998Z",
|
|
3148
|
-
fill: "currentColor"
|
|
3149
|
-
}
|
|
3150
|
-
) }) })
|
|
2670
|
+
/* @__PURE__ */ jsx("span", { className: "ml-1 text-gray-500 dark:text-gray-400", children: /* @__PURE__ */ jsx(Clock, { className: "h-5 w-5", "aria-hidden": "true" }) })
|
|
3151
2671
|
] })
|
|
3152
2672
|
] })
|
|
3153
2673
|
] });
|
|
@@ -3176,21 +2696,7 @@ var PasswordInput = ({
|
|
|
3176
2696
|
onClick: () => setShow((s) => !s),
|
|
3177
2697
|
"aria-label": show ? "Hide password" : "Show password",
|
|
3178
2698
|
className: "absolute right-4 top-1/2 z-30 -translate-y-1/2 cursor-pointer text-gray-500 dark:text-gray-400",
|
|
3179
|
-
children: show ? /* @__PURE__ */ jsx(
|
|
3180
|
-
"path",
|
|
3181
|
-
{
|
|
3182
|
-
fillRule: "evenodd",
|
|
3183
|
-
clipRule: "evenodd",
|
|
3184
|
-
d: "M10.0002 13.8619C7.23361 13.8619 4.86803 12.1372 3.92328 9.70241C4.86804 7.26761 7.23361 5.54297 10.0002 5.54297C12.7667 5.54297 15.1323 7.26762 16.0771 9.70243C15.1323 12.1372 12.7667 13.8619 10.0002 13.8619ZM10.0002 4.04297C6.48191 4.04297 3.49489 6.30917 2.4155 9.4593C2.3615 9.61687 2.3615 9.78794 2.41549 9.94552C3.49488 13.0957 6.48191 15.3619 10.0002 15.3619C13.5184 15.3619 16.5055 13.0957 17.5849 9.94555C17.6389 9.78797 17.6389 9.6169 17.5849 9.45932C16.5055 6.30919 13.5184 4.04297 10.0002 4.04297ZM9.99151 7.84413C8.96527 7.84413 8.13333 8.67606 8.13333 9.70231C8.13333 10.7286 8.96527 11.5605 9.99151 11.5605H10.0064C11.0326 11.5605 11.8646 10.7286 11.8646 9.70231C11.8646 8.67606 11.0326 7.84413 10.0064 7.84413H9.99151Z"
|
|
3185
|
-
}
|
|
3186
|
-
) }) : /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx(
|
|
3187
|
-
"path",
|
|
3188
|
-
{
|
|
3189
|
-
fillRule: "evenodd",
|
|
3190
|
-
clipRule: "evenodd",
|
|
3191
|
-
d: "M4.63803 3.57709C4.34513 3.2842 3.87026 3.2842 3.57737 3.57709C3.28447 3.86999 3.28447 4.34486 3.57737 4.63775L4.85323 5.91362C3.74609 6.84199 2.89363 8.06395 2.4155 9.45936C2.3615 9.61694 2.3615 9.78801 2.41549 9.94558C3.49488 13.0957 6.48191 15.3619 10.0002 15.3619C11.255 15.3619 12.4422 15.0737 13.4994 14.5598L15.3625 16.4229C15.6554 16.7158 16.1302 16.7158 16.4231 16.4229C16.716 16.13 16.716 15.6551 16.4231 15.3622L4.63803 3.57709ZM12.3608 13.4212L10.4475 11.5079C10.3061 11.5423 10.1584 11.5606 10.0064 11.5606H9.99151C8.96527 11.5606 8.13333 10.7286 8.13333 9.70237C8.13333 9.5461 8.15262 9.39434 8.18895 9.24933L5.91885 6.97923C5.03505 7.69015 4.34057 8.62704 3.92328 9.70247C4.86803 12.1373 7.23361 13.8619 10.0002 13.8619C10.8326 13.8619 11.6287 13.7058 12.3608 13.4212ZM16.0771 9.70249C15.7843 10.4569 15.3552 11.1432 14.8199 11.7311L15.8813 12.7925C16.6329 11.9813 17.2187 11.0143 17.5849 9.94561C17.6389 9.78803 17.6389 9.61696 17.5849 9.45938C16.5055 6.30925 13.5184 4.04303 10.0002 4.04303C9.13525 4.04303 8.30244 4.17999 7.52218 4.43338L8.75139 5.66259C9.1556 5.58413 9.57311 5.54303 10.0002 5.54303C12.7667 5.54303 15.1323 7.26768 16.0771 9.70249Z"
|
|
3192
|
-
}
|
|
3193
|
-
) })
|
|
2699
|
+
children: show ? /* @__PURE__ */ jsx(Eye, { className: "h-5 w-5", "aria-hidden": "true" }) : /* @__PURE__ */ jsx(EyeOff, { className: "h-5 w-5", "aria-hidden": "true" })
|
|
3194
2700
|
}
|
|
3195
2701
|
)
|
|
3196
2702
|
] });
|