@deepnoid/ui 0.0.83 → 0.0.86
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/{chunk-GJKNTX2T.mjs → chunk-AHORH5PH.mjs} +6 -4
- package/dist/{chunk-7LYJAJIS.mjs → chunk-EWKYBS7I.mjs} +13 -6
- package/dist/chunk-FRIK4CS7.mjs +83 -0
- package/dist/chunk-HH2LF2SU.mjs +113 -0
- package/dist/{chunk-H737LHAY.mjs → chunk-KA4L5SCT.mjs} +8 -8
- package/dist/{chunk-BHSCW5D6.mjs → chunk-LGELMZCN.mjs} +1 -1
- package/dist/{chunk-6U736HAX.mjs → chunk-PSXPOYLX.mjs} +1 -1
- package/dist/{chunk-WIKB37T7.mjs → chunk-QCOPD2HG.mjs} +1 -1
- package/dist/{chunk-TLYAFXE2.mjs → chunk-QURXBWKK.mjs} +1902 -746
- package/dist/{chunk-KWOLWE6I.mjs → chunk-RVGOARET.mjs} +2 -2
- package/dist/{chunk-FLJ4ZZXV.mjs → chunk-SQLRQTFC.mjs} +1 -1
- package/dist/chunk-ZOTHPHXA.mjs +41 -0
- package/dist/chunk-ZYIIXWVY.mjs +1 -0
- package/dist/components/accordion/accordionItem.js +1905 -749
- package/dist/components/accordion/accordionItem.mjs +4 -4
- package/dist/components/accordion/index.js +1905 -749
- package/dist/components/accordion/index.mjs +4 -4
- package/dist/components/icon/Icon.d.mts +499 -1
- package/dist/components/icon/Icon.d.ts +499 -1
- package/dist/components/icon/Icon.js +1940 -778
- package/dist/components/icon/Icon.mjs +6 -4
- package/dist/components/icon/index.d.mts +1 -1
- package/dist/components/icon/index.d.ts +1 -1
- package/dist/components/icon/index.js +1910 -751
- package/dist/components/icon/index.mjs +7 -5
- package/dist/components/icon/template.d.mts +98 -61
- package/dist/components/icon/template.d.ts +98 -61
- package/dist/components/icon/template.js +1902 -746
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +1912 -756
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +1912 -756
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/input/input.test.js +1919 -763
- package/dist/components/input/input.test.mjs +4 -4
- package/dist/components/modal/index.js +1942 -779
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.js +1942 -779
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/modal/modal.test.js +1942 -779
- package/dist/components/modal/modal.test.mjs +3 -3
- package/dist/components/select/index.js +1905 -749
- package/dist/components/select/index.mjs +5 -5
- package/dist/components/select/option.js +1905 -749
- package/dist/components/select/option.mjs +4 -4
- package/dist/components/select/select.js +1905 -749
- package/dist/components/select/select.mjs +5 -5
- package/dist/components/select/select.test.js +1912 -756
- package/dist/components/select/select.test.mjs +5 -5
- package/dist/components/table/index.js +1905 -749
- package/dist/components/table/index.mjs +5 -5
- package/dist/components/table/table-body.js +1905 -749
- package/dist/components/table/table-body.mjs +4 -4
- package/dist/components/table/table.js +1905 -749
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/table/table.test.js +1912 -756
- package/dist/components/table/table.test.mjs +5 -5
- package/dist/components/toast/index.d.mts +9 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/index.js +3830 -0
- package/dist/components/toast/index.mjs +21 -0
- package/dist/components/toast/toast-utils.d.mts +9 -0
- package/dist/components/toast/toast-utils.d.ts +9 -0
- package/dist/components/toast/toast-utils.js +64 -0
- package/dist/components/toast/toast-utils.mjs +8 -0
- package/dist/components/toast/toast.d.mts +207 -0
- package/dist/components/toast/toast.d.ts +207 -0
- package/dist/components/toast/toast.js +3711 -0
- package/dist/components/toast/toast.mjs +13 -0
- package/dist/components/toast/toast.test.d.mts +2 -0
- package/dist/components/toast/toast.test.d.ts +2 -0
- package/dist/components/toast/toast.test.js +16594 -0
- package/dist/components/toast/toast.test.mjs +28 -0
- package/dist/components/toast/use-toast.d.mts +31 -0
- package/dist/components/toast/use-toast.d.ts +31 -0
- package/dist/components/toast/use-toast.js +3826 -0
- package/dist/components/toast/use-toast.mjs +17 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2244 -764
- package/dist/index.mjs +133 -19
- package/package.json +3 -2
- /package/dist/{chunk-M5PMA3CT.mjs → chunk-LUWGOKLG.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-LUWGOKLG.mjs";
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
ToastProvider,
|
|
5
|
+
useToast
|
|
6
|
+
} from "./chunk-FRIK4CS7.mjs";
|
|
7
|
+
import "./chunk-ZOTHPHXA.mjs";
|
|
7
8
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
toast_default
|
|
10
|
+
} from "./chunk-HH2LF2SU.mjs";
|
|
10
11
|
import "./chunk-HIE2YRGA.mjs";
|
|
11
12
|
import {
|
|
12
13
|
tooltip_default
|
|
13
14
|
} from "./chunk-P6AZMYVR.mjs";
|
|
14
15
|
import "./chunk-DSBSLSJW.mjs";
|
|
15
16
|
import "./chunk-ODMRJXLJ.mjs";
|
|
17
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
18
|
+
import {
|
|
19
|
+
tabs_default
|
|
20
|
+
} from "./chunk-KRI5IALM.mjs";
|
|
21
|
+
import "./chunk-RRAZM5D3.mjs";
|
|
22
|
+
import {
|
|
23
|
+
textarea_default
|
|
24
|
+
} from "./chunk-WOX3SLJB.mjs";
|
|
16
25
|
import "./chunk-MV2WCFK7.mjs";
|
|
17
26
|
import {
|
|
18
27
|
slider_default
|
|
@@ -24,9 +33,9 @@ import {
|
|
|
24
33
|
import "./chunk-2UUH2MBF.mjs";
|
|
25
34
|
import {
|
|
26
35
|
table_default
|
|
27
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-PSXPOYLX.mjs";
|
|
28
37
|
import "./chunk-PUFNT5LS.mjs";
|
|
29
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-LGELMZCN.mjs";
|
|
30
39
|
import "./chunk-TPFN22HR.mjs";
|
|
31
40
|
import {
|
|
32
41
|
radio_default
|
|
@@ -34,8 +43,8 @@ import {
|
|
|
34
43
|
import "./chunk-QCEKPS7U.mjs";
|
|
35
44
|
import {
|
|
36
45
|
select_default
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-RVGOARET.mjs";
|
|
47
|
+
import "./chunk-SQLRQTFC.mjs";
|
|
39
48
|
import "./chunk-S3QS5B7F.mjs";
|
|
40
49
|
import "./chunk-7B7LRG5J.mjs";
|
|
41
50
|
import {
|
|
@@ -56,7 +65,7 @@ import {
|
|
|
56
65
|
import "./chunk-DJOG6Z35.mjs";
|
|
57
66
|
import {
|
|
58
67
|
modal_default
|
|
59
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-EWKYBS7I.mjs";
|
|
60
69
|
import "./chunk-HAOK24MK.mjs";
|
|
61
70
|
import "./chunk-QZ3LVYJW.mjs";
|
|
62
71
|
import {
|
|
@@ -65,7 +74,7 @@ import {
|
|
|
65
74
|
import "./chunk-2GCSFWHD.mjs";
|
|
66
75
|
import {
|
|
67
76
|
input_default
|
|
68
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-KA4L5SCT.mjs";
|
|
69
78
|
import "./chunk-NMSDSEBD.mjs";
|
|
70
79
|
import "./chunk-VUYUQGLF.mjs";
|
|
71
80
|
import {
|
|
@@ -83,12 +92,13 @@ import {
|
|
|
83
92
|
} from "./chunk-SWR7E3NU.mjs";
|
|
84
93
|
import {
|
|
85
94
|
accordionItem_default
|
|
86
|
-
} from "./chunk-
|
|
87
|
-
import "./chunk-
|
|
95
|
+
} from "./chunk-QCOPD2HG.mjs";
|
|
96
|
+
import "./chunk-ZYIIXWVY.mjs";
|
|
88
97
|
import {
|
|
89
|
-
Icon_default
|
|
90
|
-
|
|
91
|
-
|
|
98
|
+
Icon_default,
|
|
99
|
+
iconTemplate
|
|
100
|
+
} from "./chunk-AHORH5PH.mjs";
|
|
101
|
+
import "./chunk-QURXBWKK.mjs";
|
|
92
102
|
import "./chunk-E3G5QXSH.mjs";
|
|
93
103
|
import {
|
|
94
104
|
tv
|
|
@@ -509,6 +519,104 @@ var fontSize = {
|
|
|
509
519
|
]
|
|
510
520
|
};
|
|
511
521
|
|
|
522
|
+
// ../tailwind-config/src/animation/slide.ts
|
|
523
|
+
var sliceAnimation = {
|
|
524
|
+
slideInFromTop: "slideInFromTop 0.5s ease-out",
|
|
525
|
+
slideInFromBottom: "slideInFromBottom 0.5s ease-out",
|
|
526
|
+
slideInFromLeft: "slideInFromLeft 0.5s ease-out",
|
|
527
|
+
slideInFromRight: "slideInFromRight 0.5s ease-out",
|
|
528
|
+
slideOutToTop: "slideOutToTop 0.5s ease-in",
|
|
529
|
+
slideOutToBottom: "slideOutToBottom 0.5s ease-in",
|
|
530
|
+
slideOutToLeft: "slideOutToLeft 0.5s ease-in",
|
|
531
|
+
slideOutToRight: "slideOutToRight 0.5s ease-in"
|
|
532
|
+
};
|
|
533
|
+
var sliceKeyframe = {
|
|
534
|
+
slideInFromTop: {
|
|
535
|
+
"0%": {
|
|
536
|
+
transform: "translateY(-10px)",
|
|
537
|
+
opacity: "0"
|
|
538
|
+
},
|
|
539
|
+
"100%": {
|
|
540
|
+
transform: "translateY(0)",
|
|
541
|
+
opacity: "1"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
slideInFromBottom: {
|
|
545
|
+
"0%": {
|
|
546
|
+
transform: "translateY(10px)",
|
|
547
|
+
opacity: "0"
|
|
548
|
+
},
|
|
549
|
+
"100%": {
|
|
550
|
+
transform: "translateY(0)",
|
|
551
|
+
opacity: "1"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
slideInFromLeft: {
|
|
555
|
+
"0%": {
|
|
556
|
+
transform: "translateX(-10px)",
|
|
557
|
+
opacity: "0"
|
|
558
|
+
},
|
|
559
|
+
"100%": {
|
|
560
|
+
transform: "translateX(0)",
|
|
561
|
+
opacity: "1"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
slideInFromRight: {
|
|
565
|
+
"0%": {
|
|
566
|
+
transform: "translateX(10px)",
|
|
567
|
+
opacity: "0"
|
|
568
|
+
},
|
|
569
|
+
"100%": {
|
|
570
|
+
transform: "translateX(0)",
|
|
571
|
+
opacity: "1"
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
slideOutToTop: {
|
|
575
|
+
"0%": {
|
|
576
|
+
transform: "translateY(0)",
|
|
577
|
+
opacity: "1"
|
|
578
|
+
},
|
|
579
|
+
"100%": {
|
|
580
|
+
transform: "translateY(-10px)",
|
|
581
|
+
opacity: "0"
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
slideOutToBottom: {
|
|
585
|
+
"0%": {
|
|
586
|
+
transform: "translateY(0)",
|
|
587
|
+
opacity: "1"
|
|
588
|
+
},
|
|
589
|
+
"100%": {
|
|
590
|
+
transform: "translateY(10px)",
|
|
591
|
+
opacity: "0"
|
|
592
|
+
}
|
|
593
|
+
},
|
|
594
|
+
slideOutToLeft: {
|
|
595
|
+
"0%": {
|
|
596
|
+
transform: "translateX(0)",
|
|
597
|
+
opacity: "1"
|
|
598
|
+
},
|
|
599
|
+
"100%": {
|
|
600
|
+
transform: "translateX(-10px)",
|
|
601
|
+
opacity: "0"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
slideOutToRight: {
|
|
605
|
+
"0%": {
|
|
606
|
+
transform: "translateX(0)",
|
|
607
|
+
opacity: "1"
|
|
608
|
+
},
|
|
609
|
+
"100%": {
|
|
610
|
+
transform: "translateX(10px)",
|
|
611
|
+
opacity: "0"
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
// ../tailwind-config/src/animation/index.ts
|
|
617
|
+
var animation = { ...sliceAnimation };
|
|
618
|
+
var keyframes = { ...sliceKeyframe };
|
|
619
|
+
|
|
512
620
|
// ../../node_modules/flat/index.js
|
|
513
621
|
function isBuffer(obj) {
|
|
514
622
|
return obj && obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj);
|
|
@@ -689,7 +797,9 @@ var deepnoidUi = (colorChip = {}, defaultTheme = "light") => {
|
|
|
689
797
|
borderRadius,
|
|
690
798
|
fontSize,
|
|
691
799
|
boxShadow,
|
|
692
|
-
gap
|
|
800
|
+
gap,
|
|
801
|
+
keyframes,
|
|
802
|
+
animation
|
|
693
803
|
}
|
|
694
804
|
}
|
|
695
805
|
}
|
|
@@ -716,7 +826,11 @@ export {
|
|
|
716
826
|
table_default as Table,
|
|
717
827
|
tabs_default as Tabs,
|
|
718
828
|
textarea_default as Textarea,
|
|
829
|
+
toast_default as Toast,
|
|
830
|
+
ToastProvider,
|
|
719
831
|
tooltip_default as Tooltip,
|
|
720
832
|
deepnoidUi,
|
|
721
|
-
|
|
833
|
+
iconTemplate,
|
|
834
|
+
tv,
|
|
835
|
+
useToast
|
|
722
836
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepnoid/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.86",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
"react-dom": ">=18"
|
|
55
55
|
},
|
|
56
56
|
"publishConfig": {
|
|
57
|
-
"access": "public"
|
|
57
|
+
"access": "public",
|
|
58
|
+
"registry": "https://registry.npmjs.org/"
|
|
58
59
|
}
|
|
59
60
|
}
|
|
File without changes
|