@deepnoid/ui 0.1.22 → 0.1.23
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/.turbo/turbo-build.log +141 -141
- package/dist/{chunk-BPVRXFIC.mjs → chunk-BZGUSIX5.mjs} +18 -20
- package/dist/components/toast/index.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +2 -2
- package/dist/components/tree/index.d.mts +4 -1
- package/dist/components/tree/index.d.ts +4 -1
- package/dist/components/tree/index.js +18 -20
- package/dist/components/tree/index.mjs +2 -2
- package/dist/components/tree/tree.d.mts +44 -1
- package/dist/components/tree/tree.d.ts +44 -1
- package/dist/components/tree/tree.js +18 -20
- package/dist/components/tree/tree.mjs +2 -2
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +18 -20
- package/dist/index.mjs +19 -19
- package/package.json +1 -1
- package/dist/{chunk-YBDA3WQP.mjs → chunk-UAHTRCKG.mjs} +3 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
yarn run v1.22.22
|
|
2
2
|
$ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:font
|
|
3
|
-
[34mCLI[39m Building entry: src/index.ts, src/fonts/NanumSquare_acB.ttf, src/fonts/NanumSquare_acEB.ttf, src/fonts/NanumSquare_acL.ttf, src/fonts/NanumSquare_acR.ttf, src/fonts/font.css, src/utils/clsx.ts, src/utils/props.ts, src/utils/tailwind-variants.ts, src/utils/types.ts, src/
|
|
3
|
+
[34mCLI[39m Building entry: src/index.ts, src/fonts/NanumSquare_acB.ttf, src/fonts/NanumSquare_acEB.ttf, src/fonts/NanumSquare_acL.ttf, src/fonts/NanumSquare_acR.ttf, src/fonts/font.css, src/utils/clsx.ts, src/utils/props.ts, src/utils/tailwind-variants.ts, src/utils/types.ts, src/components/avatar/avatar.tsx, src/components/avatar/index.ts, src/assets/images/cogwheel.png, src/assets/images/folder.svg, src/components/backdrop/backdrop.tsx, src/components/backdrop/index.ts, src/components/breadcrumb/breadcrumb.tsx, src/components/breadcrumb/index.ts, src/components/button/button-group.tsx, src/components/button/button.tsx, src/components/button/icon-button.tsx, src/components/button/index.ts, src/components/button/text-button.tsx, src/components/checkbox/checkbox.tsx, src/components/checkbox/index.tsx, src/components/chip/chip.tsx, src/components/chip/index.ts, src/components/dateTimePicker/calendar.tsx, src/components/dateTimePicker/dateTimePicker.tsx, src/components/dateTimePicker/index.ts, src/components/dateTimePicker/timePicker.tsx, src/components/dateTimePicker/useDateTimePicker.tsx, src/components/dateTimePicker/util.ts, src/components/icon/Icon.tsx, src/components/icon/index.ts, src/components/icon/template.tsx, src/components/input/index.ts, src/components/input/input.tsx, src/components/list/index.ts, src/components/list/list.tsx, src/components/list/listItem.tsx, src/components/modal/index.ts, src/components/modal/modal.tsx, src/components/pagination/index.ts, src/components/pagination/pagination.tsx, src/components/pagination/usePagination.ts, src/components/radio/index.ts, src/components/radio/radio.tsx, src/components/ripple/index.ts, src/components/ripple/ripple.tsx, src/components/ripple/useRipple.ts, src/components/select/index.ts, src/components/select/select.tsx, src/components/scroll/index.ts, src/components/scroll/scrollArea.tsx, src/components/switch/index.ts, src/components/switch/switch.tsx, src/components/table/form-table.tsx, src/components/table/index.ts, src/components/table/table-body.tsx, src/components/table/table-head.tsx, src/components/table/table.tsx, src/components/tabs/index.ts, src/components/tabs/tabs.tsx, src/components/textarea/index.ts, src/components/textarea/textarea.tsx, src/components/tooltip/index.ts, src/components/tooltip/tooltip-utils.ts, src/components/tooltip/tooltip.tsx, src/components/tooltip/useTooltip.ts, src/components/toast/index.ts, src/components/toast/toast-utils.ts, src/components/toast/toast.tsx, src/components/toast/use-toast.tsx, src/components/tree/index.ts, src/components/tree/tree.tsx
|
|
4
4
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
5
5
|
[34mCLI[39m tsup v8.4.0
|
|
6
6
|
[34mCLI[39m Using tsup config: /builds/front/deepnoid-ui/packages/ui/tsup.config.ts
|
|
@@ -10,243 +10,243 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mDTS[39m Build start
|
|
12
12
|
[32mESM[39m [1mdist/cogwheel-U2B3CWEL.png [22m[32m649.00 B[39m
|
|
13
|
-
[32mESM[39m [1mdist/utils/
|
|
13
|
+
[32mESM[39m [1mdist/utils/tailwind-variants.mjs [22m[32m109.00 B[39m
|
|
14
14
|
[32mESM[39m [1mdist/fonts/NanumSquare_acB.mjs [22m[32m194.00 B[39m
|
|
15
15
|
[32mESM[39m [1mdist/folder-RO3QTLGS.svg [22m[32m24.61 KB[39m
|
|
16
|
+
[32mESM[39m [1mdist/utils/types.mjs [22m[32m14.00 B[39m
|
|
16
17
|
[32mESM[39m [1mdist/index.mjs [22m[32m3.81 KB[39m
|
|
17
18
|
[32mESM[39m [1mdist/chunk-MBLZYQCN.mjs [22m[32m14.00 B[39m
|
|
18
|
-
[32mESM[39m [1mdist/chunk-
|
|
19
|
+
[32mESM[39m [1mdist/chunk-BZGUSIX5.mjs [22m[32m3.06 KB[39m
|
|
19
20
|
[32mESM[39m [1mdist/chunk-RRAZM5D3.mjs [22m[32m14.00 B[39m
|
|
20
|
-
[32mESM[39m [1mdist/chunk-YBDA3WQP.mjs [22m[32m2.58 KB[39m
|
|
21
|
-
[32mESM[39m [1mdist/chunk-ZOTHPHXA.mjs [22m[32m857.00 B[39m
|
|
22
|
-
[32mESM[39m [1mdist/chunk-HIE2YRGA.mjs [22m[32m14.00 B[39m
|
|
23
|
-
[32mESM[39m [1mdist/chunk-OUAKGMDW.mjs [22m[32m4.10 KB[39m
|
|
24
|
-
[32mESM[39m [1mdist/chunk-LUWGOKLG.mjs [22m[32m14.00 B[39m
|
|
25
21
|
[32mESM[39m [1mdist/chunk-BKE6QF6W.mjs [22m[32m5.94 KB[39m
|
|
26
|
-
[32mESM[39m [1mdist/chunk-
|
|
22
|
+
[32mESM[39m [1mdist/chunk-HIE2YRGA.mjs [22m[32m14.00 B[39m
|
|
27
23
|
[32mESM[39m [1mdist/chunk-ZMOAFSYE.mjs [22m[32m1.43 KB[39m
|
|
24
|
+
[32mESM[39m [1mdist/chunk-Z2537DF6.mjs [22m[32m4.17 KB[39m
|
|
25
|
+
[32mESM[39m [1mdist/chunk-WSIADHVC.mjs [22m[32m3.80 KB[39m
|
|
26
|
+
[32mESM[39m [1mdist/chunk-ZOTHPHXA.mjs [22m[32m857.00 B[39m
|
|
28
27
|
[32mESM[39m [1mdist/chunk-DX3KXNP6.mjs [22m[32m14.00 B[39m
|
|
28
|
+
[32mESM[39m [1mdist/chunk-LUWGOKLG.mjs [22m[32m14.00 B[39m
|
|
29
29
|
[32mESM[39m [1mdist/chunk-ICZTNO4V.mjs [22m[32m1.87 KB[39m
|
|
30
|
+
[32mESM[39m [1mdist/chunk-OUAKGMDW.mjs [22m[32m4.10 KB[39m
|
|
30
31
|
[32mESM[39m [1mdist/chunk-XRC5OUYQ.mjs [22m[32m3.44 KB[39m
|
|
32
|
+
[32mESM[39m [1mdist/chunk-EAK5DVWA.mjs [22m[32m1.69 KB[39m
|
|
31
33
|
[32mESM[39m [1mdist/chunk-6OMHIMIA.mjs [22m[32m7.42 KB[39m
|
|
34
|
+
[32mESM[39m [1mdist/chunk-QCEKPS7U.mjs [22m[32m14.00 B[39m
|
|
32
35
|
[32mESM[39m [1mdist/chunk-3MY6LO7N.mjs [22m[32m14.00 B[39m
|
|
33
|
-
[32mESM[39m [1mdist/chunk-EAK5DVWA.mjs [22m[32m1.69 KB[39m
|
|
34
|
-
[32mESM[39m [1mdist/chunk-M37VBNB3.mjs [22m[32m1.04 KB[39m
|
|
35
36
|
[32mESM[39m [1mdist/chunk-2YMAKIZ6.mjs [22m[32m6.14 KB[39m
|
|
37
|
+
[32mESM[39m [1mdist/chunk-M37VBNB3.mjs [22m[32m1.04 KB[39m
|
|
38
|
+
[32mESM[39m [1mdist/chunk-MSAULFDB.mjs [22m[32m11.76 KB[39m
|
|
36
39
|
[32mESM[39m [1mdist/chunk-DQRAFUDA.mjs [22m[32m14.00 B[39m
|
|
37
|
-
[32mESM[39m [1mdist/chunk-QCEKPS7U.mjs [22m[32m14.00 B[39m
|
|
38
40
|
[32mESM[39m [1mdist/chunk-Z74QNVPG.mjs [22m[32m4.04 KB[39m
|
|
41
|
+
[32mESM[39m [1mdist/chunk-UAHTRCKG.mjs [22m[32m2.58 KB[39m
|
|
39
42
|
[32mESM[39m [1mdist/chunk-DJOG6Z35.mjs [22m[32m14.00 B[39m
|
|
40
|
-
[32mESM[39m [1mdist/chunk-MSAULFDB.mjs [22m[32m11.76 KB[39m
|
|
41
43
|
[32mESM[39m [1mdist/chunk-LVFI2NOH.mjs [22m[32m14.00 B[39m
|
|
42
|
-
[32mESM[39m [1mdist/chunk-ZUSUVPYV.mjs [22m[32m4.40 KB[39m
|
|
43
|
-
[32mESM[39m [1mdist/chunk-WSIADHVC.mjs [22m[32m3.80 KB[39m
|
|
44
44
|
[32mESM[39m [1mdist/chunk-F3HENRVM.mjs [22m[32m934.00 B[39m
|
|
45
|
-
[32mESM[39m [1mdist/chunk-MGEWSREV.mjs [22m[32m14.00 B[39m
|
|
46
|
-
[32mESM[39m [1mdist/chunk-6HX3PPL6.mjs [22m[32m4.03 KB[39m
|
|
47
|
-
[32mESM[39m [1mdist/chunk-QZ3LVYJW.mjs [22m[32m14.00 B[39m
|
|
48
|
-
[32mESM[39m [1mdist/chunk-P5PJTJLY.mjs [22m[32m11.46 KB[39m
|
|
49
|
-
[32mESM[39m [1mdist/chunk-75HLCORR.mjs [22m[32m14.00 B[39m
|
|
50
|
-
[32mESM[39m [1mdist/chunk-TPFN22HR.mjs [22m[32m14.00 B[39m
|
|
51
45
|
[32mESM[39m [1mdist/chunk-7B7LRG5J.mjs [22m[32m14.00 B[39m
|
|
46
|
+
[32mESM[39m [1mdist/chunk-ZUSUVPYV.mjs [22m[32m4.40 KB[39m
|
|
47
|
+
[32mESM[39m [1mdist/chunk-2GCSFWHD.mjs [22m[32m14.00 B[39m
|
|
52
48
|
[32mESM[39m [1mdist/chunk-IVK24VIL.mjs [22m[32m8.19 KB[39m
|
|
53
|
-
[32mESM[39m [1mdist/chunk-
|
|
49
|
+
[32mESM[39m [1mdist/chunk-TPFN22HR.mjs [22m[32m14.00 B[39m
|
|
50
|
+
[32mESM[39m [1mdist/chunk-P5PJTJLY.mjs [22m[32m11.46 KB[39m
|
|
51
|
+
[32mESM[39m [1mdist/chunk-QZ3LVYJW.mjs [22m[32m14.00 B[39m
|
|
52
|
+
[32mESM[39m [1mdist/chunk-75HLCORR.mjs [22m[32m14.00 B[39m
|
|
53
|
+
[32mESM[39m [1mdist/chunk-6HX3PPL6.mjs [22m[32m4.03 KB[39m
|
|
54
54
|
[32mESM[39m [1mdist/chunk-Q72LZAPG.mjs [22m[32m7.40 KB[39m
|
|
55
|
-
[32mESM[39m [1mdist/chunk-7MVEAQ7Z.mjs [22m[32m14.00 B[39m
|
|
56
55
|
[32mESM[39m [1mdist/chunk-EYVRTVRM.mjs [22m[32m11.03 KB[39m
|
|
57
|
-
[32mESM[39m [1mdist/chunk-OWG4RL2T.mjs [22m[32m4.42 KB[39m
|
|
58
56
|
[32mESM[39m [1mdist/chunk-PZIVMTKX.mjs [22m[32m7.20 KB[39m
|
|
57
|
+
[32mESM[39m [1mdist/chunk-7MVEAQ7Z.mjs [22m[32m14.00 B[39m
|
|
58
|
+
[32mESM[39m [1mdist/chunk-QIRL6HY6.mjs [22m[32m5.07 KB[39m
|
|
59
59
|
[32mESM[39m [1mdist/chunk-FWJ2ZKH6.mjs [22m[32m3.07 KB[39m
|
|
60
60
|
[32mESM[39m [1mdist/chunk-HIVPDIEP.mjs [22m[32m1.27 KB[39m
|
|
61
61
|
[32mESM[39m [1mdist/chunk-P732YGHO.mjs [22m[32m444.00 B[39m
|
|
62
62
|
[32mESM[39m [1mdist/chunk-KYIODWXL.mjs [22m[32m14.00 B[39m
|
|
63
63
|
[32mESM[39m [1mdist/chunk-6KXBXGYR.mjs [22m[32m2.79 KB[39m
|
|
64
64
|
[32mESM[39m [1mdist/chunk-MY5U63QO.mjs [22m[32m14.00 B[39m
|
|
65
|
-
[32mESM[39m [1mdist/utils/tailwind-variants.mjs [22m[32m109.00 B[39m
|
|
66
65
|
[32mESM[39m [1mdist/chunk-LPZOH3RP.mjs [22m[32m700.00 B[39m
|
|
66
|
+
[32mESM[39m [1mdist/chunk-MGEWSREV.mjs [22m[32m14.00 B[39m
|
|
67
67
|
[32mESM[39m [1mdist/chunk-6WSACUIB.mjs [22m[32m14.00 B[39m
|
|
68
|
-
[32mESM[39m [1mdist/chunk-6PNKRBUT.mjs [22m[32m1017.00 B[39m
|
|
69
68
|
[32mESM[39m [1mdist/chunk-PNRS23HE.mjs [22m[32m10.86 KB[39m
|
|
70
|
-
[32mESM[39m [1mdist/chunk-
|
|
69
|
+
[32mESM[39m [1mdist/chunk-HWL7TPUN.mjs [22m[32m929.00 B[39m
|
|
70
|
+
[32mESM[39m [1mdist/chunk-OWG4RL2T.mjs [22m[32m4.42 KB[39m
|
|
71
|
+
[32mESM[39m [1mdist/chunk-6PNKRBUT.mjs [22m[32m1017.00 B[39m
|
|
71
72
|
[32mESM[39m [1mdist/chunk-ZYIIXWVY.mjs [22m[32m14.00 B[39m
|
|
72
73
|
[32mESM[39m [1mdist/chunk-WFMFC7R6.mjs [22m[32m3.68 KB[39m
|
|
73
|
-
[32mESM[39m [1mdist/chunk-LXHUO6VM.mjs [22m[32m1.49 KB[39m
|
|
74
|
-
[32mESM[39m [1mdist/chunk-HWL7TPUN.mjs [22m[32m929.00 B[39m
|
|
75
|
-
[32mESM[39m [1mdist/chunk-7USF56CT.mjs [22m[32m131.00 B[39m
|
|
76
74
|
[32mESM[39m [1mdist/chunk-7DLOYKVC.mjs [22m[32m14.00 B[39m
|
|
77
|
-
[32mESM[39m [1mdist/chunk-IZM66FHP.mjs [22m[32m123.00 B[39m
|
|
78
|
-
[32mESM[39m [1mdist/chunk-D6QI3DJG.mjs [22m[32m6.55 KB[39m
|
|
79
|
-
[32mESM[39m [1mdist/chunk-2GCSFWHD.mjs [22m[32m14.00 B[39m
|
|
80
75
|
[32mESM[39m [1mdist/chunk-XQGD4ZIX.mjs [22m[32m1.65 KB[39m
|
|
76
|
+
[32mESM[39m [1mdist/chunk-D6QI3DJG.mjs [22m[32m6.55 KB[39m
|
|
77
|
+
[32mESM[39m [1mdist/chunk-7USF56CT.mjs [22m[32m131.00 B[39m
|
|
78
|
+
[32mESM[39m [1mdist/chunk-LXHUO6VM.mjs [22m[32m1.49 KB[39m
|
|
79
|
+
[32mESM[39m [1mdist/chunk-IZM66FHP.mjs [22m[32m123.00 B[39m
|
|
81
80
|
[32mESM[39m [1mdist/chunk-SE5TU755.mjs [22m[32m14.00 B[39m
|
|
81
|
+
[32mESM[39m [1mdist/fonts/NanumSquare_acEB.mjs [22m[32m198.00 B[39m
|
|
82
|
+
[32mESM[39m [1mdist/fonts/NanumSquare_acL.mjs [22m[32m194.00 B[39m
|
|
82
83
|
[32mESM[39m [1mdist/chunk-LL6F3WDX.mjs [22m[32m778.00 B[39m
|
|
83
84
|
[32mESM[39m [1mdist/utils/clsx.mjs [22m[32m113.00 B[39m
|
|
85
|
+
[32mESM[39m [1mdist/fonts/NanumSquare_acR.mjs [22m[32m194.00 B[39m
|
|
86
|
+
[32mESM[39m [1mdist/chunk-4ZJFD3L3.mjs [22m[32m14.50 KB[39m
|
|
84
87
|
[32mESM[39m [1mdist/utils/props.mjs [22m[32m137.00 B[39m
|
|
85
|
-
[32mESM[39m [1mdist/
|
|
86
|
-
[32mESM[39m [1mdist/fonts/font.css [22m[32m777.00 B[39m
|
|
88
|
+
[32mESM[39m [1mdist/chunk-VQROXH43.mjs [22m[32m9.25 KB[39m
|
|
87
89
|
[32mESM[39m [1mdist/chunk-E3G5QXSH.mjs [22m[32m608.00 B[39m
|
|
90
|
+
[32mESM[39m [1mdist/fonts/font.css [22m[32m777.00 B[39m
|
|
88
91
|
[32mESM[39m [1mdist/chunk-AC6TWLRT.mjs [22m[32m1.34 KB[39m
|
|
89
|
-
[32mESM[39m [1mdist/chunk-
|
|
90
|
-
[32mESM[39m [1mdist/
|
|
91
|
-
[32mESM[39m [1mdist/
|
|
92
|
+
[32mESM[39m [1mdist/chunk-27Y6K5NK.mjs [22m[32m823.00 B[39m
|
|
93
|
+
[32mESM[39m [1mdist/NanumSquare_acR-RZCHPXSJ.ttf [22m[32m631.56 KB[39m
|
|
94
|
+
[32mESM[39m [1mdist/NanumSquare_acEB-HRZ3QLG2.ttf [22m[32m618.41 KB[39m
|
|
92
95
|
[32mESM[39m [1mdist/NanumSquare_acB-VMSVRKSM.ttf [22m[32m625.04 KB[39m
|
|
93
96
|
[32mESM[39m [1mdist/NanumSquare_acL-FSAAP5CK.ttf [22m[32m642.08 KB[39m
|
|
94
|
-
[32mESM[39m [1mdist/NanumSquare_acEB-HRZ3QLG2.ttf [22m[32m618.41 KB[39m
|
|
95
97
|
[32mESM[39m [1mdist/chunk-3IU2RPSM.mjs [22m[32m339.05 KB[39m
|
|
96
|
-
[32mESM[39m [1mdist/
|
|
97
|
-
[32mESM[39m [1mdist/chunk-27Y6K5NK.mjs [22m[32m823.00 B[39m
|
|
98
|
-
[32mESM[39m [1mdist/components/tooltip/tooltip.mjs [22m[32m292.00 B[39m
|
|
98
|
+
[32mESM[39m [1mdist/components/toast/use-toast.mjs [22m[32m441.00 B[39m
|
|
99
99
|
[32mESM[39m [1mdist/assets/images/cogwheel.mjs [22m[32m154.00 B[39m
|
|
100
|
-
[32mESM[39m [1mdist/components/
|
|
101
|
-
[32mESM[39m [1mdist/components/
|
|
102
|
-
[32mESM[39m [1mdist/components/
|
|
103
|
-
[32mESM[39m [1mdist/components/
|
|
100
|
+
[32mESM[39m [1mdist/components/textarea/index.mjs [22m[32m225.00 B[39m
|
|
101
|
+
[32mESM[39m [1mdist/components/tree/index.mjs [22m[32m388.00 B[39m
|
|
102
|
+
[32mESM[39m [1mdist/components/tooltip/tooltip-utils.mjs [22m[32m221.00 B[39m
|
|
103
|
+
[32mESM[39m [1mdist/components/switch/switch.mjs [22m[32m185.00 B[39m
|
|
104
|
+
[32mESM[39m [1mdist/components/table/index.mjs [22m[32m876.00 B[39m
|
|
104
105
|
[32mESM[39m [1mdist/components/tabs/index.mjs [22m[32m248.00 B[39m
|
|
105
106
|
[32mESM[39m [1mdist/components/ripple/index.mjs [22m[32m253.00 B[39m
|
|
106
|
-
[32mESM[39m [1mdist/components/scroll/index.mjs [22m[32m231.00 B[39m
|
|
107
107
|
[32mESM[39m [1mdist/components/select/index.mjs [22m[32m394.00 B[39m
|
|
108
|
-
[32mESM[39m [1mdist/components/
|
|
109
|
-
[32mESM[39m [1mdist/components/
|
|
110
|
-
[32mESM[39m [1mdist/components/
|
|
108
|
+
[32mESM[39m [1mdist/components/scroll/index.mjs [22m[32m231.00 B[39m
|
|
109
|
+
[32mESM[39m [1mdist/components/pagination/usePagination.mjs [22m[32m164.00 B[39m
|
|
110
|
+
[32mESM[39m [1mdist/components/radio/index.mjs [22m[32m286.00 B[39m
|
|
111
|
+
[32mESM[39m [1mdist/components/dateTimePicker/util.mjs [22m[32m191.00 B[39m
|
|
112
|
+
[32mESM[39m [1mdist/components/icon/Icon.mjs [22m[32m213.00 B[39m
|
|
113
|
+
[32mESM[39m [1mdist/components/modal/index.mjs [22m[32m741.00 B[39m
|
|
114
|
+
[32mESM[39m [1mdist/components/input/index.mjs [22m[32m391.00 B[39m
|
|
111
115
|
[32mESM[39m [1mdist/components/list/listItem.mjs [22m[32m364.00 B[39m
|
|
112
|
-
[32mESM[39m [1mdist/components/
|
|
116
|
+
[32mESM[39m [1mdist/components/checkbox/index.mjs [22m[32m295.00 B[39m
|
|
117
|
+
[32mESM[39m [1mdist/components/button/button-group.mjs [22m[32m197.00 B[39m
|
|
118
|
+
[32mESM[39m [1mdist/components/avatar/avatar.mjs [22m[32m220.00 B[39m
|
|
113
119
|
[32mESM[39m [1mdist/components/chip/index.mjs [22m[32m353.00 B[39m
|
|
114
|
-
[32mESM[39m [1mdist/components/icon/template.mjs [22m[32m127.00 B[39m
|
|
115
|
-
[32mESM[39m [1mdist/components/input/input.mjs [22m[32m386.00 B[39m
|
|
116
|
-
[32mESM[39m [1mdist/components/dateTimePicker/calendar.mjs [22m[32m398.00 B[39m
|
|
117
|
-
[32mESM[39m [1mdist/components/breadcrumb/breadcrumb.mjs [22m[32m648.00 B[39m
|
|
118
120
|
[32mESM[39m [1mdist/components/backdrop/backdrop.mjs [22m[32m224.00 B[39m
|
|
119
|
-
[32mESM[39m [1mdist/components/
|
|
120
|
-
[32mESM[39m [1mdist/components/button/button-group.mjs [22m[32m197.00 B[39m
|
|
121
|
-
[32mESM[39m [1mdist/components/checkbox/index.mjs [22m[32m295.00 B[39m
|
|
122
|
-
[32mESM[39m [1mdist/components/tree/index.mjs [22m[32m388.00 B[39m
|
|
123
|
-
[32mESM[39m [1mdist/components/tooltip/useTooltip.mjs [22m[32m166.00 B[39m
|
|
121
|
+
[32mESM[39m [1mdist/components/breadcrumb/breadcrumb.mjs [22m[32m648.00 B[39m
|
|
124
122
|
[32mESM[39m [1mdist/components/toast/toast.mjs [22m[32m358.00 B[39m
|
|
125
|
-
[32mESM[39m [1mdist/components/
|
|
123
|
+
[32mESM[39m [1mdist/components/tooltip/tooltip.mjs [22m[32m292.00 B[39m
|
|
124
|
+
[32mESM[39m [1mdist/components/tree/tree.mjs [22m[32m356.00 B[39m
|
|
126
125
|
[32mESM[39m [1mdist/components/tooltip/index.mjs [22m[32m327.00 B[39m
|
|
126
|
+
[32mESM[39m [1mdist/components/textarea/textarea.mjs [22m[32m189.00 B[39m
|
|
127
|
+
[32mESM[39m [1mdist/components/tooltip/useTooltip.mjs [22m[32m166.00 B[39m
|
|
128
|
+
[32mESM[39m [1mdist/components/toast/index.mjs [22m[32m527.00 B[39m
|
|
127
129
|
[32mESM[39m [1mdist/components/toast/toast-utils.mjs [22m[32m143.00 B[39m
|
|
128
|
-
[32mESM[39m [1mdist/components/table/table.mjs
|
|
129
|
-
[32mESM[39m [1mdist/components/
|
|
130
|
+
[32mESM[39m [1mdist/components/table/form-table.mjs [22m[32m193.00 B[39m
|
|
131
|
+
[32mESM[39m [1mdist/components/table/table-head.mjs [22m[32m333.00 B[39m
|
|
130
132
|
[32mESM[39m [1mdist/components/tabs/tabs.mjs [22m[32m232.00 B[39m
|
|
131
|
-
[32mESM[39m [1mdist/components/ripple/useRipple.mjs [22m[32m158.00 B[39m
|
|
132
|
-
[32mESM[39m [1mdist/components/table/index.mjs [22m[32m876.00 B[39m
|
|
133
133
|
[32mESM[39m [1mdist/components/table/table-body.mjs [22m[32m333.00 B[39m
|
|
134
|
+
[32mESM[39m [1mdist/components/ripple/useRipple.mjs [22m[32m158.00 B[39m
|
|
135
|
+
[32mESM[39m [1mdist/components/table/table.mjs [22m[32m743.00 B[39m
|
|
134
136
|
[32mESM[39m [1mdist/components/ripple/ripple.mjs [22m[32m150.00 B[39m
|
|
135
|
-
[32mESM[39m [1mdist/components/
|
|
137
|
+
[32mESM[39m [1mdist/components/switch/index.mjs [22m[32m219.00 B[39m
|
|
136
138
|
[32mESM[39m [1mdist/components/select/select.mjs [22m[32m360.00 B[39m
|
|
137
|
-
[32mESM[39m [1mdist/components/
|
|
138
|
-
[32mESM[39m [1mdist/components/
|
|
139
|
-
[32mESM[39m [1mdist/components/pagination/
|
|
140
|
-
[32mESM[39m [1mdist/components/radio/index.mjs [22m[32m286.00 B[39m
|
|
139
|
+
[32mESM[39m [1mdist/components/modal/modal.mjs [22m[32m708.00 B[39m
|
|
140
|
+
[32mESM[39m [1mdist/components/scroll/scrollArea.mjs [22m[32m193.00 B[39m
|
|
141
|
+
[32mESM[39m [1mdist/components/pagination/index.mjs [22m[32m511.00 B[39m
|
|
141
142
|
[32mESM[39m [1mdist/components/pagination/pagination.mjs [22m[32m511.00 B[39m
|
|
142
|
-
[32mESM[39m [1mdist/components/list/index.mjs [22m[32m483.00 B[39m
|
|
143
143
|
[32mESM[39m [1mdist/components/icon/index.mjs [22m[32m245.00 B[39m
|
|
144
|
-
[32mESM[39m [1mdist/components/
|
|
145
|
-
[32mESM[39m [1mdist/components/
|
|
144
|
+
[32mESM[39m [1mdist/components/icon/template.mjs [22m[32m127.00 B[39m
|
|
145
|
+
[32mESM[39m [1mdist/components/radio/radio.mjs [22m[32m253.00 B[39m
|
|
146
|
+
[32mESM[39m [1mdist/components/input/input.mjs [22m[32m386.00 B[39m
|
|
146
147
|
[32mESM[39m [1mdist/components/list/list.mjs [22m[32m216.00 B[39m
|
|
147
|
-
[32mESM[39m [1mdist/components/
|
|
148
|
+
[32mESM[39m [1mdist/components/list/index.mjs [22m[32m483.00 B[39m
|
|
148
149
|
[32mESM[39m [1mdist/components/dateTimePicker/index.mjs [22m[32m663.00 B[39m
|
|
150
|
+
[32mESM[39m [1mdist/components/chip/chip.mjs [22m[32m321.00 B[39m
|
|
149
151
|
[32mESM[39m [1mdist/components/dateTimePicker/useDateTimePicker.mjs [22m[32m172.00 B[39m
|
|
150
|
-
[32mESM[39m [1mdist/components/switch/switch.mjs [22m[32m185.00 B[39m
|
|
151
|
-
[32mESM[39m [1mdist/components/icon/Icon.mjs [22m[32m213.00 B[39m
|
|
152
152
|
[32mESM[39m [1mdist/components/dateTimePicker/timePicker.mjs [22m[32m473.00 B[39m
|
|
153
|
+
[32mESM[39m [1mdist/components/button/index.mjs [22m[32m811.00 B[39m
|
|
154
|
+
[32mESM[39m [1mdist/components/dateTimePicker/calendar.mjs [22m[32m398.00 B[39m
|
|
155
|
+
[32mESM[39m [1mdist/components/breadcrumb/index.mjs [22m[32m686.00 B[39m
|
|
153
156
|
[32mESM[39m [1mdist/components/button/text-button.mjs [22m[32m265.00 B[39m
|
|
157
|
+
[32mESM[39m [1mdist/components/dateTimePicker/dateTimePicker.mjs [22m[32m667.00 B[39m
|
|
158
|
+
[32mESM[39m [1mdist/components/button/button.mjs [22m[32m430.00 B[39m
|
|
154
159
|
[32mESM[39m [1mdist/components/checkbox/checkbox.mjs [22m[32m259.00 B[39m
|
|
155
|
-
[32mESM[39m [1mdist/components/dateTimePicker/util.mjs [22m[32m191.00 B[39m
|
|
156
160
|
[32mESM[39m [1mdist/components/button/icon-button.mjs [22m[32m440.00 B[39m
|
|
157
|
-
[32mESM[39m [1mdist/components/button/index.mjs [22m[32m811.00 B[39m
|
|
158
|
-
[32mESM[39m [1mdist/components/avatar/avatar.mjs [22m[32m220.00 B[39m
|
|
159
|
-
[32mESM[39m [1mdist/components/button/button.mjs [22m[32m430.00 B[39m
|
|
160
|
-
[32mESM[39m [1mdist/components/breadcrumb/index.mjs [22m[32m686.00 B[39m
|
|
161
|
-
[32mESM[39m [1mdist/components/backdrop/index.mjs [22m[32m260.00 B[39m
|
|
162
|
-
[32mESM[39m [1mdist/components/tooltip/tooltip-utils.mjs [22m[32m221.00 B[39m
|
|
163
161
|
[32mESM[39m [1mdist/assets/images/folder.mjs [22m[32m150.00 B[39m
|
|
164
|
-
[32mESM[39m
|
|
162
|
+
[32mESM[39m [1mdist/components/backdrop/index.mjs [22m[32m260.00 B[39m
|
|
163
|
+
[32mESM[39m [1mdist/components/avatar/index.mjs [22m[32m254.00 B[39m
|
|
164
|
+
[32mESM[39m ⚡️ Build success in 400ms
|
|
165
165
|
[32mCJS[39m [1mdist/folder-RO3QTLGS.svg [22m[32m24.61 KB[39m
|
|
166
166
|
[32mCJS[39m [1mdist/cogwheel-U2B3CWEL.png [22m[32m649.00 B[39m
|
|
167
|
-
[32mCJS[39m [1mdist/fonts/NanumSquare_acB.js [22m[32m113.00 B[39m
|
|
168
167
|
[32mCJS[39m [1mdist/fonts/NanumSquare_acL.js [22m[32m113.00 B[39m
|
|
169
168
|
[32mCJS[39m [1mdist/fonts/NanumSquare_acEB.js [22m[32m116.00 B[39m
|
|
170
|
-
[32mCJS[39m [1mdist/fonts/font.css [22m[32m777.00 B[39m
|
|
171
169
|
[32mCJS[39m [1mdist/utils/clsx.js [22m[32m1.77 KB[39m
|
|
170
|
+
[32mCJS[39m [1mdist/fonts/NanumSquare_acB.js [22m[32m113.00 B[39m
|
|
172
171
|
[32mCJS[39m [1mdist/utils/props.js [22m[32m1.59 KB[39m
|
|
173
|
-
[32mCJS[39m [1mdist/fonts/
|
|
172
|
+
[32mCJS[39m [1mdist/fonts/font.css [22m[32m777.00 B[39m
|
|
174
173
|
[32mCJS[39m [1mdist/utils/tailwind-variants.js [22m[32m7.91 KB[39m
|
|
175
|
-
[32mCJS[39m [1mdist/
|
|
174
|
+
[32mCJS[39m [1mdist/fonts/NanumSquare_acR.js [22m[32m113.00 B[39m
|
|
176
175
|
[32mCJS[39m [1mdist/utils/types.js [22m[32m778.00 B[39m
|
|
176
|
+
[32mCJS[39m [1mdist/components/avatar/avatar.js [22m[32m359.01 KB[39m
|
|
177
|
+
[32mCJS[39m [1mdist/assets/images/cogwheel.js [22m[32m103.00 B[39m
|
|
177
178
|
[32mCJS[39m [1mdist/assets/images/folder.js [22m[32m97.00 B[39m
|
|
178
179
|
[32mCJS[39m [1mdist/components/backdrop/backdrop.js [22m[32m9.31 KB[39m
|
|
179
|
-
[32mCJS[39m [1mdist/components/
|
|
180
|
+
[32mCJS[39m [1mdist/components/backdrop/index.js [22m[32m9.45 KB[39m
|
|
181
|
+
[32mCJS[39m [1mdist/components/avatar/index.js [22m[32m359.14 KB[39m
|
|
180
182
|
[32mCJS[39m [1mdist/components/button/button-group.js [22m[32m8.54 KB[39m
|
|
181
183
|
[32mCJS[39m [1mdist/components/breadcrumb/breadcrumb.js [22m[32m366.03 KB[39m
|
|
182
|
-
[32mCJS[39m [1mdist/components/avatar/index.js [22m[32m359.14 KB[39m
|
|
183
184
|
[32mCJS[39m [1mdist/components/breadcrumb/index.js [22m[32m366.17 KB[39m
|
|
184
|
-
[32mCJS[39m [1mdist/components/button/text-button.js [22m[32m12.75 KB[39m
|
|
185
185
|
[32mCJS[39m [1mdist/components/checkbox/checkbox.js [22m[32m15.76 KB[39m
|
|
186
|
+
[32mCJS[39m [1mdist/components/button/text-button.js [22m[32m12.75 KB[39m
|
|
186
187
|
[32mCJS[39m [1mdist/components/checkbox/index.js [22m[32m15.90 KB[39m
|
|
187
188
|
[32mCJS[39m [1mdist/components/button/button.js [22m[32m372.18 KB[39m
|
|
188
189
|
[32mCJS[39m [1mdist/components/button/icon-button.js [22m[32m370.52 KB[39m
|
|
189
|
-
[32mCJS[39m [1mdist/components/dateTimePicker/useDateTimePicker.js [22m[32m4.53 KB[39m
|
|
190
190
|
[32mCJS[39m [1mdist/components/button/index.js [22m[32m386.70 KB[39m
|
|
191
|
+
[32mCJS[39m [1mdist/components/chip/index.js [22m[32m362.82 KB[39m
|
|
192
|
+
[32mCJS[39m [1mdist/components/chip/chip.js [22m[32m362.69 KB[39m
|
|
193
|
+
[32mCJS[39m [1mdist/components/dateTimePicker/dateTimePicker.js [22m[32m396.06 KB[39m
|
|
191
194
|
[32mCJS[39m [1mdist/components/dateTimePicker/util.js [22m[32m1.48 KB[39m
|
|
192
195
|
[32mCJS[39m [1mdist/components/dateTimePicker/calendar.js [22m[32m366.80 KB[39m
|
|
193
|
-
[32mCJS[39m [1mdist/components/dateTimePicker/
|
|
194
|
-
[32mCJS[39m [1mdist/components/
|
|
195
|
-
[32mCJS[39m [1mdist/components/icon/index.js [22m[32m351.53 KB[39m
|
|
196
|
+
[32mCJS[39m [1mdist/components/dateTimePicker/timePicker.js [22m[32m373.93 KB[39m
|
|
197
|
+
[32mCJS[39m [1mdist/components/dateTimePicker/useDateTimePicker.js [22m[32m4.53 KB[39m
|
|
196
198
|
[32mCJS[39m [1mdist/components/dateTimePicker/index.js [22m[32m396.05 KB[39m
|
|
199
|
+
[32mCJS[39m [1mdist/components/icon/Icon.js [22m[32m351.52 KB[39m
|
|
197
200
|
[32mCJS[39m [1mdist/components/icon/template.js [22m[32m350.59 KB[39m
|
|
198
|
-
[32mCJS[39m [1mdist/components/
|
|
199
|
-
[32mCJS[39m [1mdist/components/chip/chip.js [22m[32m362.69 KB[39m
|
|
200
|
-
[32mCJS[39m [1mdist/components/chip/index.js [22m[32m362.82 KB[39m
|
|
201
|
-
[32mCJS[39m [1mdist/components/list/list.js [22m[32m9.58 KB[39m
|
|
201
|
+
[32mCJS[39m [1mdist/components/icon/index.js [22m[32m351.53 KB[39m
|
|
202
202
|
[32mCJS[39m [1mdist/components/input/index.js [22m[32m371.33 KB[39m
|
|
203
|
-
[32mCJS[39m [1mdist/components/list/index.js [22m[32m369.46 KB[39m
|
|
204
203
|
[32mCJS[39m [1mdist/components/input/input.js [22m[32m371.33 KB[39m
|
|
205
204
|
[32mCJS[39m [1mdist/components/list/listItem.js [22m[32m367.62 KB[39m
|
|
205
|
+
[32mCJS[39m [1mdist/components/list/list.js [22m[32m9.58 KB[39m
|
|
206
206
|
[32mCJS[39m [1mdist/components/modal/index.js [22m[32m378.25 KB[39m
|
|
207
|
-
[32mCJS[39m [1mdist/components/pagination/usePagination.js [22m[32m1.88 KB[39m
|
|
208
|
-
[32mCJS[39m [1mdist/components/radio/index.js [22m[32m14.36 KB[39m
|
|
209
207
|
[32mCJS[39m [1mdist/components/modal/modal.js [22m[32m378.12 KB[39m
|
|
208
|
+
[32mCJS[39m [1mdist/components/pagination/index.js [22m[32m380.51 KB[39m
|
|
209
|
+
[32mCJS[39m [1mdist/components/radio/index.js [22m[32m14.36 KB[39m
|
|
210
|
+
[32mCJS[39m [1mdist/components/pagination/usePagination.js [22m[32m1.88 KB[39m
|
|
211
|
+
[32mCJS[39m [1mdist/components/ripple/index.js [22m[32m3.65 KB[39m
|
|
210
212
|
[32mCJS[39m [1mdist/components/radio/radio.js [22m[32m14.23 KB[39m
|
|
213
|
+
[32mCJS[39m [1mdist/components/ripple/ripple.js [22m[32m2.57 KB[39m
|
|
214
|
+
[32mCJS[39m [1mdist/components/list/index.js [22m[32m369.46 KB[39m
|
|
211
215
|
[32mCJS[39m [1mdist/components/ripple/useRipple.js [22m[32m2.04 KB[39m
|
|
212
216
|
[32mCJS[39m [1mdist/components/scroll/scrollArea.js [22m[32m2.79 KB[39m
|
|
213
|
-
[32mCJS[39m [1mdist/components/ripple/index.js [22m[32m3.65 KB[39m
|
|
214
|
-
[32mCJS[39m [1mdist/components/ripple/ripple.js [22m[32m2.57 KB[39m
|
|
215
|
-
[32mCJS[39m [1mdist/components/pagination/index.js [22m[32m380.51 KB[39m
|
|
216
|
-
[32mCJS[39m [1mdist/components/scroll/index.js [22m[32m2.92 KB[39m
|
|
217
|
-
[32mCJS[39m [1mdist/components/pagination/pagination.js [22m[32m380.51 KB[39m
|
|
218
217
|
[32mCJS[39m [1mdist/components/switch/index.js [22m[32m5.79 KB[39m
|
|
218
|
+
[32mCJS[39m [1mdist/components/pagination/pagination.js [22m[32m380.51 KB[39m
|
|
219
219
|
[32mCJS[39m [1mdist/components/table/form-table.js [22m[32m9.89 KB[39m
|
|
220
|
-
[32mCJS[39m [1mdist/components/select/index.js [22m[32m371.72 KB[39m
|
|
221
220
|
[32mCJS[39m [1mdist/components/switch/switch.js [22m[32m5.66 KB[39m
|
|
222
|
-
[32mCJS[39m [1mdist/components/
|
|
221
|
+
[32mCJS[39m [1mdist/components/scroll/index.js [22m[32m2.92 KB[39m
|
|
223
222
|
[32mCJS[39m [1mdist/components/table/table-head.js [22m[32m17.50 KB[39m
|
|
224
|
-
[32mCJS[39m [1mdist/components/
|
|
223
|
+
[32mCJS[39m [1mdist/components/table/table-body.js [22m[32m19.33 KB[39m
|
|
224
|
+
[32mCJS[39m [1mdist/components/select/index.js [22m[32m371.72 KB[39m
|
|
225
225
|
[32mCJS[39m [1mdist/components/tabs/index.js [22m[32m14.72 KB[39m
|
|
226
|
-
[32mCJS[39m [1mdist/components/
|
|
226
|
+
[32mCJS[39m [1mdist/components/select/select.js [22m[32m371.59 KB[39m
|
|
227
227
|
[32mCJS[39m [1mdist/components/textarea/index.js [22m[32m7.82 KB[39m
|
|
228
228
|
[32mCJS[39m [1mdist/components/textarea/textarea.js [22m[32m7.68 KB[39m
|
|
229
|
-
[32mCJS[39m [1mdist/components/table/index.js [22m[32m403.27 KB[39m
|
|
230
229
|
[32mCJS[39m [1mdist/components/tooltip/index.js [22m[32m17.80 KB[39m
|
|
231
|
-
[32mCJS[39m [1mdist/components/select/select.js [22m[32m371.59 KB[39m
|
|
232
|
-
[32mCJS[39m [1mdist/components/table/table.js [22m[32m401.03 KB[39m
|
|
233
230
|
[32mCJS[39m [1mdist/components/tooltip/tooltip-utils.js [22m[32m4.90 KB[39m
|
|
234
|
-
[32mCJS[39m [1mdist/components/tooltip/tooltip.js [22m[32m17.67 KB[39m
|
|
235
231
|
[32mCJS[39m [1mdist/components/tooltip/useTooltip.js [22m[32m4.19 KB[39m
|
|
232
|
+
[32mCJS[39m [1mdist/components/table/table.js [22m[32m401.03 KB[39m
|
|
233
|
+
[32mCJS[39m [1mdist/components/toast/toast-utils.js [22m[32m1.85 KB[39m
|
|
234
|
+
[32mCJS[39m [1mdist/components/tooltip/tooltip.js [22m[32m17.67 KB[39m
|
|
235
|
+
[32mCJS[39m [1mdist/components/table/index.js [22m[32m403.27 KB[39m
|
|
236
236
|
[32mCJS[39m [1mdist/components/toast/index.js [22m[32m367.25 KB[39m
|
|
237
|
+
[32mCJS[39m [1mdist/components/tabs/tabs.js [22m[32m14.71 KB[39m
|
|
238
|
+
[32mCJS[39m [1mdist/components/tree/tree.js [22m[32m361.61 KB[39m
|
|
237
239
|
[32mCJS[39m [1mdist/components/toast/toast.js [22m[32m363.60 KB[39m
|
|
238
|
-
[32mCJS[39m [1mdist/components/
|
|
239
|
-
[32mCJS[39m [1mdist/components/tree/index.js [22m[32m361.21 KB[39m
|
|
240
|
-
[32mCJS[39m [1mdist/components/toast/use-toast.js [22m[32m367.19 KB[39m
|
|
241
|
-
[32mCJS[39m [1mdist/index.js [22m[32m542.07 KB[39m
|
|
242
|
-
[32mCJS[39m [1mdist/NanumSquare_acL-FSAAP5CK.ttf [22m[32m642.08 KB[39m
|
|
240
|
+
[32mCJS[39m [1mdist/components/tree/index.js [22m[32m361.73 KB[39m
|
|
243
241
|
[32mCJS[39m [1mdist/NanumSquare_acEB-HRZ3QLG2.ttf [22m[32m618.41 KB[39m
|
|
244
|
-
[32mCJS[39m [1mdist/
|
|
245
|
-
[32mCJS[39m [1mdist/NanumSquare_acR-RZCHPXSJ.ttf [22m[32m631.56 KB[39m
|
|
242
|
+
[32mCJS[39m [1mdist/index.js [22m[32m542.59 KB[39m
|
|
246
243
|
[32mCJS[39m [1mdist/NanumSquare_acB-VMSVRKSM.ttf [22m[32m625.04 KB[39m
|
|
247
|
-
[32mCJS[39m
|
|
248
|
-
[
|
|
249
|
-
[
|
|
244
|
+
[32mCJS[39m [1mdist/NanumSquare_acR-RZCHPXSJ.ttf [22m[32m631.56 KB[39m
|
|
245
|
+
[32mCJS[39m [1mdist/NanumSquare_acL-FSAAP5CK.ttf [22m[32m642.08 KB[39m
|
|
246
|
+
[32mCJS[39m [1mdist/components/toast/use-toast.js [22m[32m367.19 KB[39m
|
|
247
|
+
[32mCJS[39m ⚡️ Build success in 402ms
|
|
248
|
+
[32mDTS[39m ⚡️ Build success in 11235ms
|
|
249
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.36 KB[39m
|
|
250
250
|
[32mDTS[39m [1mdist/components/button/index.d.ts [22m[32m415.00 B[39m
|
|
251
251
|
[32mDTS[39m [1mdist/components/list/index.d.ts [22m[32m302.00 B[39m
|
|
252
252
|
[32mDTS[39m [1mdist/components/table/index.d.ts [22m[32m236.00 B[39m
|
|
@@ -262,7 +262,6 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
262
262
|
[32mDTS[39m [1mdist/components/dateTimePicker/calendar.d.ts [22m[32m1.82 KB[39m
|
|
263
263
|
[32mDTS[39m [1mdist/components/dateTimePicker/timePicker.d.ts [22m[32m380.00 B[39m
|
|
264
264
|
[32mDTS[39m [1mdist/components/dateTimePicker/useDateTimePicker.d.ts [22m[32m1.01 KB[39m
|
|
265
|
-
[32mDTS[39m [1mdist/components/dateTimePicker/util.d.ts [22m[32m168.00 B[39m
|
|
266
265
|
[32mDTS[39m [1mdist/components/table/table.d.ts [22m[32m4.96 KB[39m
|
|
267
266
|
[32mDTS[39m [1mdist/components/table/form-table.d.ts [22m[32m1.59 KB[39m
|
|
268
267
|
[32mDTS[39m [1mdist/components/list/list.d.ts [22m[32m1.46 KB[39m
|
|
@@ -272,6 +271,7 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
272
271
|
[32mDTS[39m [1mdist/utils/types.d.ts [22m[32m371.00 B[39m
|
|
273
272
|
[32mDTS[39m [1mdist/components/icon/template.d.ts [22m[32m11.34 KB[39m
|
|
274
273
|
[32mDTS[39m [1mdist/components/toast/toast-utils.d.ts [22m[32m386.00 B[39m
|
|
274
|
+
[32mDTS[39m [1mdist/components/dateTimePicker/util.d.ts [22m[32m168.00 B[39m
|
|
275
275
|
[32mDTS[39m [1mdist/components/pagination/usePagination.d.ts [22m[32m488.00 B[39m
|
|
276
276
|
[32mDTS[39m [1mdist/components/ripple/useRipple.d.ts [22m[32m518.00 B[39m
|
|
277
277
|
[32mDTS[39m [1mdist/components/table/table-body.d.ts [22m[32m926.00 B[39m
|
|
@@ -280,21 +280,21 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
280
280
|
[32mDTS[39m [1mdist/components/backdrop/backdrop.d.ts [22m[32m330.00 B[39m
|
|
281
281
|
[32mDTS[39m [1mdist/components/breadcrumb/breadcrumb.d.ts [22m[32m2.11 KB[39m
|
|
282
282
|
[32mDTS[39m [1mdist/components/checkbox/checkbox.d.ts [22m[32m4.44 KB[39m
|
|
283
|
+
[32mDTS[39m [1mdist/components/chip/chip.d.ts [22m[32m2.57 KB[39m
|
|
283
284
|
[32mDTS[39m [1mdist/components/dateTimePicker/dateTimePicker.d.ts [22m[32m6.99 KB[39m
|
|
284
285
|
[32mDTS[39m [1mdist/components/icon/Icon.d.ts [22m[32m18.50 KB[39m
|
|
285
|
-
[32mDTS[39m [1mdist/components/chip/chip.d.ts [22m[32m2.57 KB[39m
|
|
286
286
|
[32mDTS[39m [1mdist/components/input/input.d.ts [22m[32m7.33 KB[39m
|
|
287
287
|
[32mDTS[39m [1mdist/components/modal/modal.d.ts [22m[32m1.99 KB[39m
|
|
288
288
|
[32mDTS[39m [1mdist/components/pagination/pagination.d.ts [22m[32m3.09 KB[39m
|
|
289
289
|
[32mDTS[39m [1mdist/components/radio/radio.d.ts [22m[32m4.96 KB[39m
|
|
290
290
|
[32mDTS[39m [1mdist/components/ripple/ripple.d.ts [22m[32m820.00 B[39m
|
|
291
|
-
[32mDTS[39m [1mdist/components/scroll/scrollArea.d.ts [22m[32m423.00 B[39m
|
|
292
291
|
[32mDTS[39m [1mdist/components/select/select.d.ts [22m[32m7.50 KB[39m
|
|
292
|
+
[32mDTS[39m [1mdist/components/scroll/scrollArea.d.ts [22m[32m423.00 B[39m
|
|
293
293
|
[32mDTS[39m [1mdist/components/switch/switch.d.ts [22m[32m4.00 KB[39m
|
|
294
294
|
[32mDTS[39m [1mdist/components/tabs/tabs.d.ts [22m[32m3.10 KB[39m
|
|
295
295
|
[32mDTS[39m [1mdist/components/textarea/textarea.d.ts [22m[32m6.25 KB[39m
|
|
296
296
|
[32mDTS[39m [1mdist/components/tooltip/tooltip.d.ts [22m[32m2.16 KB[39m
|
|
297
|
-
[32mDTS[39m [1mdist/components/tree/tree.d.ts [22m[
|
|
297
|
+
[32mDTS[39m [1mdist/components/tree/tree.d.ts [22m[32m1.82 KB[39m
|
|
298
298
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acEB.d.ts [22m[32m13.00 B[39m
|
|
299
299
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acL.d.ts [22m[32m13.00 B[39m
|
|
300
300
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acR.d.ts [22m[32m13.00 B[39m
|
|
@@ -307,23 +307,23 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
307
307
|
[32mDTS[39m [1mdist/components/backdrop/index.d.ts [22m[32m81.00 B[39m
|
|
308
308
|
[32mDTS[39m [1mdist/components/breadcrumb/index.d.ts [22m[32m216.00 B[39m
|
|
309
309
|
[32mDTS[39m [1mdist/components/checkbox/index.d.ts [22m[32m143.00 B[39m
|
|
310
|
+
[32mDTS[39m [1mdist/components/chip/index.d.ts [22m[32m204.00 B[39m
|
|
310
311
|
[32mDTS[39m [1mdist/components/dateTimePicker/index.d.ts [22m[32m161.00 B[39m
|
|
311
312
|
[32mDTS[39m [1mdist/components/icon/index.d.ts [22m[32m179.00 B[39m
|
|
312
|
-
[32mDTS[39m [1mdist/components/chip/index.d.ts [22m[32m204.00 B[39m
|
|
313
313
|
[32mDTS[39m [1mdist/components/input/index.d.ts [22m[32m122.00 B[39m
|
|
314
314
|
[32mDTS[39m [1mdist/components/modal/index.d.ts [22m[32m134.00 B[39m
|
|
315
315
|
[32mDTS[39m [1mdist/components/pagination/index.d.ts [22m[32m132.00 B[39m
|
|
316
316
|
[32mDTS[39m [1mdist/components/radio/index.d.ts [22m[32m122.00 B[39m
|
|
317
317
|
[32mDTS[39m [1mdist/components/ripple/index.d.ts [22m[32m157.00 B[39m
|
|
318
|
-
[32mDTS[39m [1mdist/components/scroll/index.d.ts [22m[32m101.00 B[39m
|
|
319
318
|
[32mDTS[39m [1mdist/components/select/index.d.ts [22m[32m137.00 B[39m
|
|
319
|
+
[32mDTS[39m [1mdist/components/scroll/index.d.ts [22m[32m101.00 B[39m
|
|
320
320
|
[32mDTS[39m [1mdist/components/switch/index.d.ts [22m[32m124.00 B[39m
|
|
321
321
|
[32mDTS[39m [1mdist/components/tabs/index.d.ts [22m[32m179.00 B[39m
|
|
322
322
|
[32mDTS[39m [1mdist/components/textarea/index.d.ts [22m[32m143.00 B[39m
|
|
323
323
|
[32mDTS[39m [1mdist/components/tooltip/index.d.ts [22m[32m182.00 B[39m
|
|
324
|
-
[32mDTS[39m [1mdist/components/tree/index.d.ts [22m[
|
|
324
|
+
[32mDTS[39m [1mdist/components/tree/index.d.ts [22m[32m155.00 B[39m
|
|
325
325
|
[32mDTS[39m [1mdist/tooltip-utils-DO3LQaVM.d.ts [22m[32m2.05 KB[39m
|
|
326
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m2.
|
|
326
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m2.39 KB[39m
|
|
327
327
|
[32mDTS[39m [1mdist/components/button/index.d.mts [22m[32m422.00 B[39m
|
|
328
328
|
[32mDTS[39m [1mdist/components/list/index.d.mts [22m[32m308.00 B[39m
|
|
329
329
|
[32mDTS[39m [1mdist/components/table/index.d.mts [22m[32m239.00 B[39m
|
|
@@ -339,7 +339,6 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
339
339
|
[32mDTS[39m [1mdist/components/dateTimePicker/calendar.d.mts [22m[32m1.82 KB[39m
|
|
340
340
|
[32mDTS[39m [1mdist/components/dateTimePicker/timePicker.d.mts [22m[32m380.00 B[39m
|
|
341
341
|
[32mDTS[39m [1mdist/components/dateTimePicker/useDateTimePicker.d.mts [22m[32m1.01 KB[39m
|
|
342
|
-
[32mDTS[39m [1mdist/components/dateTimePicker/util.d.mts [22m[32m168.00 B[39m
|
|
343
342
|
[32mDTS[39m [1mdist/components/table/table.d.mts [22m[32m4.96 KB[39m
|
|
344
343
|
[32mDTS[39m [1mdist/components/table/form-table.d.mts [22m[32m1.59 KB[39m
|
|
345
344
|
[32mDTS[39m [1mdist/components/list/list.d.mts [22m[32m1.46 KB[39m
|
|
@@ -349,6 +348,7 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
349
348
|
[32mDTS[39m [1mdist/utils/types.d.mts [22m[32m371.00 B[39m
|
|
350
349
|
[32mDTS[39m [1mdist/components/icon/template.d.mts [22m[32m11.34 KB[39m
|
|
351
350
|
[32mDTS[39m [1mdist/components/toast/toast-utils.d.mts [22m[32m386.00 B[39m
|
|
351
|
+
[32mDTS[39m [1mdist/components/dateTimePicker/util.d.mts [22m[32m168.00 B[39m
|
|
352
352
|
[32mDTS[39m [1mdist/components/pagination/usePagination.d.mts [22m[32m488.00 B[39m
|
|
353
353
|
[32mDTS[39m [1mdist/components/ripple/useRipple.d.mts [22m[32m518.00 B[39m
|
|
354
354
|
[32mDTS[39m [1mdist/components/table/table-body.d.mts [22m[32m928.00 B[39m
|
|
@@ -357,21 +357,21 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
357
357
|
[32mDTS[39m [1mdist/components/backdrop/backdrop.d.mts [22m[32m330.00 B[39m
|
|
358
358
|
[32mDTS[39m [1mdist/components/breadcrumb/breadcrumb.d.mts [22m[32m2.11 KB[39m
|
|
359
359
|
[32mDTS[39m [1mdist/components/checkbox/checkbox.d.mts [22m[32m4.44 KB[39m
|
|
360
|
+
[32mDTS[39m [1mdist/components/chip/chip.d.mts [22m[32m2.58 KB[39m
|
|
360
361
|
[32mDTS[39m [1mdist/components/dateTimePicker/dateTimePicker.d.mts [22m[32m6.99 KB[39m
|
|
361
362
|
[32mDTS[39m [1mdist/components/icon/Icon.d.mts [22m[32m18.50 KB[39m
|
|
362
|
-
[32mDTS[39m [1mdist/components/chip/chip.d.mts [22m[32m2.58 KB[39m
|
|
363
363
|
[32mDTS[39m [1mdist/components/input/input.d.mts [22m[32m7.33 KB[39m
|
|
364
364
|
[32mDTS[39m [1mdist/components/modal/modal.d.mts [22m[32m2.00 KB[39m
|
|
365
365
|
[32mDTS[39m [1mdist/components/pagination/pagination.d.mts [22m[32m3.09 KB[39m
|
|
366
366
|
[32mDTS[39m [1mdist/components/radio/radio.d.mts [22m[32m4.96 KB[39m
|
|
367
367
|
[32mDTS[39m [1mdist/components/ripple/ripple.d.mts [22m[32m821.00 B[39m
|
|
368
|
-
[32mDTS[39m [1mdist/components/scroll/scrollArea.d.mts [22m[32m423.00 B[39m
|
|
369
368
|
[32mDTS[39m [1mdist/components/select/select.d.mts [22m[32m7.50 KB[39m
|
|
369
|
+
[32mDTS[39m [1mdist/components/scroll/scrollArea.d.mts [22m[32m423.00 B[39m
|
|
370
370
|
[32mDTS[39m [1mdist/components/switch/switch.d.mts [22m[32m4.00 KB[39m
|
|
371
371
|
[32mDTS[39m [1mdist/components/tabs/tabs.d.mts [22m[32m3.11 KB[39m
|
|
372
372
|
[32mDTS[39m [1mdist/components/textarea/textarea.d.mts [22m[32m6.25 KB[39m
|
|
373
373
|
[32mDTS[39m [1mdist/components/tooltip/tooltip.d.mts [22m[32m2.17 KB[39m
|
|
374
|
-
[32mDTS[39m [1mdist/components/tree/tree.d.mts [22m[
|
|
374
|
+
[32mDTS[39m [1mdist/components/tree/tree.d.mts [22m[32m1.82 KB[39m
|
|
375
375
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acEB.d.mts [22m[32m13.00 B[39m
|
|
376
376
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acL.d.mts [22m[32m13.00 B[39m
|
|
377
377
|
[32mDTS[39m [1mdist/fonts/NanumSquare_acR.d.mts [22m[32m13.00 B[39m
|
|
@@ -384,21 +384,21 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
|
|
|
384
384
|
[32mDTS[39m [1mdist/components/backdrop/index.d.mts [22m[32m82.00 B[39m
|
|
385
385
|
[32mDTS[39m [1mdist/components/breadcrumb/index.d.mts [22m[32m220.00 B[39m
|
|
386
386
|
[32mDTS[39m [1mdist/components/checkbox/index.d.mts [22m[32m145.00 B[39m
|
|
387
|
+
[32mDTS[39m [1mdist/components/chip/index.d.mts [22m[32m208.00 B[39m
|
|
387
388
|
[32mDTS[39m [1mdist/components/dateTimePicker/index.d.mts [22m[32m163.00 B[39m
|
|
388
389
|
[32mDTS[39m [1mdist/components/icon/index.d.mts [22m[32m182.00 B[39m
|
|
389
|
-
[32mDTS[39m [1mdist/components/chip/index.d.mts [22m[32m208.00 B[39m
|
|
390
390
|
[32mDTS[39m [1mdist/components/input/index.d.mts [22m[32m124.00 B[39m
|
|
391
391
|
[32mDTS[39m [1mdist/components/modal/index.d.mts [22m[32m136.00 B[39m
|
|
392
392
|
[32mDTS[39m [1mdist/components/pagination/index.d.mts [22m[32m134.00 B[39m
|
|
393
393
|
[32mDTS[39m [1mdist/components/radio/index.d.mts [22m[32m124.00 B[39m
|
|
394
394
|
[32mDTS[39m [1mdist/components/ripple/index.d.mts [22m[32m159.00 B[39m
|
|
395
|
-
[32mDTS[39m [1mdist/components/scroll/index.d.mts [22m[32m102.00 B[39m
|
|
396
395
|
[32mDTS[39m [1mdist/components/select/index.d.mts [22m[32m139.00 B[39m
|
|
396
|
+
[32mDTS[39m [1mdist/components/scroll/index.d.mts [22m[32m102.00 B[39m
|
|
397
397
|
[32mDTS[39m [1mdist/components/switch/index.d.mts [22m[32m126.00 B[39m
|
|
398
398
|
[32mDTS[39m [1mdist/components/tabs/index.d.mts [22m[32m181.00 B[39m
|
|
399
399
|
[32mDTS[39m [1mdist/components/textarea/index.d.mts [22m[32m145.00 B[39m
|
|
400
400
|
[32mDTS[39m [1mdist/components/tooltip/index.d.mts [22m[32m185.00 B[39m
|
|
401
|
-
[32mDTS[39m [1mdist/components/tree/index.d.mts [22m[
|
|
401
|
+
[32mDTS[39m [1mdist/components/tree/index.d.mts [22m[32m157.00 B[39m
|
|
402
402
|
[32mDTS[39m [1mdist/tooltip-utils-DO3LQaVM.d.mts [22m[32m2.05 KB[39m
|
|
403
403
|
$ copyfiles -u 2 src/fonts/**/* dist/fonts
|
|
404
|
-
Done in
|
|
404
|
+
Done in 12.02s.
|
|
@@ -15,44 +15,42 @@ import {
|
|
|
15
15
|
// src/components/tree/tree.tsx
|
|
16
16
|
import { forwardRef, useMemo, useState, useCallback } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
var TreeNodeItem = forwardRef(({ node, depth }
|
|
18
|
+
var TreeNodeItem = forwardRef(({ node, depth, classNames }) => {
|
|
19
19
|
var _a;
|
|
20
20
|
const [isOpen, setIsOpen] = useState(false);
|
|
21
21
|
const slots = useMemo(() => treeStyle(), []);
|
|
22
22
|
const toggleOpen = useCallback(() => {
|
|
23
23
|
setIsOpen((prev) => !prev);
|
|
24
24
|
}, []);
|
|
25
|
-
const handleClick = () => {
|
|
26
|
-
var _a2;
|
|
27
|
-
toggleOpen();
|
|
28
|
-
(_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
29
|
-
};
|
|
30
25
|
return /* @__PURE__ */ jsxs("div", { className: depth > 1 ? "ml-[30px]" : "", children: [
|
|
31
|
-
/* @__PURE__ */ jsxs("div", { className: slots.
|
|
26
|
+
/* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
|
|
32
27
|
node.children && /* @__PURE__ */ jsx(
|
|
33
28
|
Icon_default,
|
|
34
29
|
{
|
|
35
30
|
name: "right-chevron",
|
|
36
|
-
className: `text-neutral-main transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
31
|
+
className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
37
32
|
}
|
|
38
33
|
),
|
|
39
34
|
/* @__PURE__ */ jsx("img", { src: folder_default, alt: "folder", width: 25, height: 25 }),
|
|
40
|
-
|
|
35
|
+
/* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
|
|
36
|
+
var _a2;
|
|
37
|
+
return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
38
|
+
}, children: node.label })
|
|
41
39
|
] }),
|
|
42
|
-
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ jsx(TreeNodeItem, { node: child, depth: depth + 1 }, child.id)))
|
|
40
|
+
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ jsx(TreeNodeItem, { node: child, depth: depth + 1, classNames }, child.id)))
|
|
43
41
|
] });
|
|
44
42
|
});
|
|
45
|
-
var Tree = forwardRef(({ headerContent, group }
|
|
43
|
+
var Tree = forwardRef(({ headerContent, group, classNames }) => {
|
|
46
44
|
const { label, data, onClick } = group;
|
|
47
45
|
const slots = useMemo(() => treeStyle(), []);
|
|
48
|
-
return /* @__PURE__ */ jsxs("div", { className: slots.base(),
|
|
46
|
+
return /* @__PURE__ */ jsxs("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
49
47
|
headerContent && /* @__PURE__ */ jsx("div", { children: headerContent }),
|
|
50
48
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
51
|
-
/* @__PURE__ */ jsxs("div", { className: slots.
|
|
49
|
+
/* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
52
50
|
/* @__PURE__ */ jsx("img", { src: cogwheel_default, alt: "cogwheel", width: 25, height: 25 }),
|
|
53
|
-
label
|
|
51
|
+
/* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
|
|
54
52
|
] }),
|
|
55
|
-
data.map((node) => /* @__PURE__ */ jsx(TreeNodeItem, { node, depth: 1 }, node.id))
|
|
53
|
+
data.map((node) => /* @__PURE__ */ jsx(TreeNodeItem, { node, depth: 1, classNames }, node.id))
|
|
56
54
|
] })
|
|
57
55
|
] });
|
|
58
56
|
});
|
|
@@ -61,8 +59,8 @@ Tree.displayName = "Tree";
|
|
|
61
59
|
var tree_default = Tree;
|
|
62
60
|
var treeStyle = tv({
|
|
63
61
|
slots: {
|
|
64
|
-
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]"],
|
|
65
|
-
|
|
62
|
+
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
|
|
63
|
+
wrapper: [
|
|
66
64
|
"flex",
|
|
67
65
|
"items-center",
|
|
68
66
|
"gap-[5px]",
|
|
@@ -71,9 +69,9 @@ var treeStyle = tv({
|
|
|
71
69
|
"text-body-foreground",
|
|
72
70
|
"hover:bg-neutral-soft",
|
|
73
71
|
"p-[5px]",
|
|
74
|
-
"rounded-[5px]"
|
|
75
|
-
|
|
76
|
-
]
|
|
72
|
+
"rounded-[5px]"
|
|
73
|
+
],
|
|
74
|
+
label: ["cursor-pointer"]
|
|
77
75
|
}
|
|
78
76
|
});
|
|
79
77
|
|
|
@@ -3,11 +3,11 @@ import "../../chunk-LUWGOKLG.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
ToastProvider,
|
|
5
5
|
useToast
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-ZOTHPHXA.mjs";
|
|
6
|
+
} from "../../chunk-UAHTRCKG.mjs";
|
|
8
7
|
import {
|
|
9
8
|
toast_default
|
|
10
9
|
} from "../../chunk-OUAKGMDW.mjs";
|
|
10
|
+
import "../../chunk-ZOTHPHXA.mjs";
|
|
11
11
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
12
12
|
import "../../chunk-HWL7TPUN.mjs";
|
|
13
13
|
import "../../chunk-3IU2RPSM.mjs";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ToastProvider,
|
|
4
4
|
useToast
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-ZOTHPHXA.mjs";
|
|
5
|
+
} from "../../chunk-UAHTRCKG.mjs";
|
|
7
6
|
import "../../chunk-OUAKGMDW.mjs";
|
|
7
|
+
import "../../chunk-ZOTHPHXA.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-HWL7TPUN.mjs";
|
|
10
10
|
import "../../chunk-3IU2RPSM.mjs";
|
|
@@ -4304,44 +4304,42 @@ var folder_default = "../../folder-RO3QTLGS.svg";
|
|
|
4304
4304
|
|
|
4305
4305
|
// src/components/tree/tree.tsx
|
|
4306
4306
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
4307
|
-
var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth }
|
|
4307
|
+
var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth, classNames }) => {
|
|
4308
4308
|
var _a;
|
|
4309
4309
|
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
4310
4310
|
const slots = (0, import_react.useMemo)(() => treeStyle(), []);
|
|
4311
4311
|
const toggleOpen = (0, import_react.useCallback)(() => {
|
|
4312
4312
|
setIsOpen((prev) => !prev);
|
|
4313
4313
|
}, []);
|
|
4314
|
-
const handleClick = () => {
|
|
4315
|
-
var _a2;
|
|
4316
|
-
toggleOpen();
|
|
4317
|
-
(_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
4318
|
-
};
|
|
4319
4314
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: depth > 1 ? "ml-[30px]" : "", children: [
|
|
4320
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.
|
|
4315
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
|
|
4321
4316
|
node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4322
4317
|
Icon_default,
|
|
4323
4318
|
{
|
|
4324
4319
|
name: "right-chevron",
|
|
4325
|
-
className: `text-neutral-main transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
4320
|
+
className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
4326
4321
|
}
|
|
4327
4322
|
),
|
|
4328
4323
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src: folder_default, alt: "folder", width: 25, height: 25 }),
|
|
4329
|
-
|
|
4324
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
|
|
4325
|
+
var _a2;
|
|
4326
|
+
return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
4327
|
+
}, children: node.label })
|
|
4330
4328
|
] }),
|
|
4331
|
-
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1 }, child.id)))
|
|
4329
|
+
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames }, child.id)))
|
|
4332
4330
|
] });
|
|
4333
4331
|
});
|
|
4334
|
-
var Tree = (0, import_react.forwardRef)(({ headerContent, group }
|
|
4332
|
+
var Tree = (0, import_react.forwardRef)(({ headerContent, group, classNames }) => {
|
|
4335
4333
|
const { label, data, onClick } = group;
|
|
4336
4334
|
const slots = (0, import_react.useMemo)(() => treeStyle(), []);
|
|
4337
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base(),
|
|
4335
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
4338
4336
|
headerContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: headerContent }),
|
|
4339
4337
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
4340
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.
|
|
4338
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
4341
4339
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src: cogwheel_default, alt: "cogwheel", width: 25, height: 25 }),
|
|
4342
|
-
label
|
|
4340
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
|
|
4343
4341
|
] }),
|
|
4344
|
-
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node, depth: 1 }, node.id))
|
|
4342
|
+
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node, depth: 1, classNames }, node.id))
|
|
4345
4343
|
] })
|
|
4346
4344
|
] });
|
|
4347
4345
|
});
|
|
@@ -4350,8 +4348,8 @@ Tree.displayName = "Tree";
|
|
|
4350
4348
|
var tree_default = Tree;
|
|
4351
4349
|
var treeStyle = tv({
|
|
4352
4350
|
slots: {
|
|
4353
|
-
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]"],
|
|
4354
|
-
|
|
4351
|
+
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
|
|
4352
|
+
wrapper: [
|
|
4355
4353
|
"flex",
|
|
4356
4354
|
"items-center",
|
|
4357
4355
|
"gap-[5px]",
|
|
@@ -4360,9 +4358,9 @@ var treeStyle = tv({
|
|
|
4360
4358
|
"text-body-foreground",
|
|
4361
4359
|
"hover:bg-neutral-soft",
|
|
4362
4360
|
"p-[5px]",
|
|
4363
|
-
"rounded-[5px]"
|
|
4364
|
-
|
|
4365
|
-
]
|
|
4361
|
+
"rounded-[5px]"
|
|
4362
|
+
],
|
|
4363
|
+
label: ["cursor-pointer"]
|
|
4366
4364
|
}
|
|
4367
4365
|
});
|
|
4368
4366
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import "../../chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-BZGUSIX5.mjs";
|
|
6
6
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
7
7
|
import "../../chunk-HWL7TPUN.mjs";
|
|
8
|
+
import "../../chunk-3IU2RPSM.mjs";
|
|
8
9
|
import "../../chunk-7USF56CT.mjs";
|
|
9
10
|
import "../../chunk-IZM66FHP.mjs";
|
|
10
|
-
import "../../chunk-3IU2RPSM.mjs";
|
|
11
11
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
12
12
|
import "../../chunk-AC6TWLRT.mjs";
|
|
13
13
|
export {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
1
3
|
import * as react from 'react';
|
|
2
4
|
import { ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
3
6
|
|
|
4
7
|
type TreeNode = {
|
|
5
8
|
id: number;
|
|
@@ -14,7 +17,47 @@ interface TreeProps {
|
|
|
14
17
|
data: TreeNode[];
|
|
15
18
|
onClick?: () => void;
|
|
16
19
|
};
|
|
20
|
+
classNames?: SlotsToClasses<TreeSlots>;
|
|
17
21
|
}
|
|
18
22
|
declare const Tree: react.ForwardRefExoticComponent<TreeProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
declare const treeStyle: tailwind_variants.TVReturnType<{
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
27
|
+
base?: tailwind_merge.ClassNameValue;
|
|
28
|
+
label?: tailwind_merge.ClassNameValue;
|
|
29
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {
|
|
33
|
+
[x: string]: {
|
|
34
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
+
base?: tailwind_merge.ClassNameValue;
|
|
36
|
+
label?: tailwind_merge.ClassNameValue;
|
|
37
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
} | {}, {
|
|
41
|
+
base: string[];
|
|
42
|
+
wrapper: string[];
|
|
43
|
+
label: string[];
|
|
44
|
+
}, undefined, {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
47
|
+
base?: tailwind_merge.ClassNameValue;
|
|
48
|
+
label?: tailwind_merge.ClassNameValue;
|
|
49
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
} | {}, {
|
|
53
|
+
base: string[];
|
|
54
|
+
wrapper: string[];
|
|
55
|
+
label: string[];
|
|
56
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
57
|
+
base: string[];
|
|
58
|
+
wrapper: string[];
|
|
59
|
+
label: string[];
|
|
60
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
61
|
+
type TreeSlots = keyof ReturnType<typeof treeStyle>;
|
|
62
|
+
|
|
63
|
+
export { type TreeNode, Tree as default };
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
1
3
|
import * as react from 'react';
|
|
2
4
|
import { ReactNode } from 'react';
|
|
5
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
3
6
|
|
|
4
7
|
type TreeNode = {
|
|
5
8
|
id: number;
|
|
@@ -14,7 +17,47 @@ interface TreeProps {
|
|
|
14
17
|
data: TreeNode[];
|
|
15
18
|
onClick?: () => void;
|
|
16
19
|
};
|
|
20
|
+
classNames?: SlotsToClasses<TreeSlots>;
|
|
17
21
|
}
|
|
18
22
|
declare const Tree: react.ForwardRefExoticComponent<TreeProps & react.RefAttributes<HTMLDivElement>>;
|
|
19
23
|
|
|
20
|
-
|
|
24
|
+
declare const treeStyle: tailwind_variants.TVReturnType<{
|
|
25
|
+
[key: string]: {
|
|
26
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
27
|
+
base?: tailwind_merge.ClassNameValue;
|
|
28
|
+
label?: tailwind_merge.ClassNameValue;
|
|
29
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
} | {
|
|
33
|
+
[x: string]: {
|
|
34
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
+
base?: tailwind_merge.ClassNameValue;
|
|
36
|
+
label?: tailwind_merge.ClassNameValue;
|
|
37
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
} | {}, {
|
|
41
|
+
base: string[];
|
|
42
|
+
wrapper: string[];
|
|
43
|
+
label: string[];
|
|
44
|
+
}, undefined, {
|
|
45
|
+
[key: string]: {
|
|
46
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
47
|
+
base?: tailwind_merge.ClassNameValue;
|
|
48
|
+
label?: tailwind_merge.ClassNameValue;
|
|
49
|
+
wrapper?: tailwind_merge.ClassNameValue;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
} | {}, {
|
|
53
|
+
base: string[];
|
|
54
|
+
wrapper: string[];
|
|
55
|
+
label: string[];
|
|
56
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
57
|
+
base: string[];
|
|
58
|
+
wrapper: string[];
|
|
59
|
+
label: string[];
|
|
60
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
61
|
+
type TreeSlots = keyof ReturnType<typeof treeStyle>;
|
|
62
|
+
|
|
63
|
+
export { type TreeNode, Tree as default };
|
|
@@ -4302,44 +4302,42 @@ var folder_default = "../../folder-RO3QTLGS.svg";
|
|
|
4302
4302
|
|
|
4303
4303
|
// src/components/tree/tree.tsx
|
|
4304
4304
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
4305
|
-
var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth }
|
|
4305
|
+
var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth, classNames }) => {
|
|
4306
4306
|
var _a;
|
|
4307
4307
|
const [isOpen, setIsOpen] = (0, import_react.useState)(false);
|
|
4308
4308
|
const slots = (0, import_react.useMemo)(() => treeStyle(), []);
|
|
4309
4309
|
const toggleOpen = (0, import_react.useCallback)(() => {
|
|
4310
4310
|
setIsOpen((prev) => !prev);
|
|
4311
4311
|
}, []);
|
|
4312
|
-
const handleClick = () => {
|
|
4313
|
-
var _a2;
|
|
4314
|
-
toggleOpen();
|
|
4315
|
-
(_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
4316
|
-
};
|
|
4317
4312
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: depth > 1 ? "ml-[30px]" : "", children: [
|
|
4318
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.
|
|
4313
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
|
|
4319
4314
|
node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
4320
4315
|
Icon_default,
|
|
4321
4316
|
{
|
|
4322
4317
|
name: "right-chevron",
|
|
4323
|
-
className: `text-neutral-main transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
4318
|
+
className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
4324
4319
|
}
|
|
4325
4320
|
),
|
|
4326
4321
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src: folder_default, alt: "folder", width: 25, height: 25 }),
|
|
4327
|
-
|
|
4322
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
|
|
4323
|
+
var _a2;
|
|
4324
|
+
return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
4325
|
+
}, children: node.label })
|
|
4328
4326
|
] }),
|
|
4329
|
-
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1 }, child.id)))
|
|
4327
|
+
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames }, child.id)))
|
|
4330
4328
|
] });
|
|
4331
4329
|
});
|
|
4332
|
-
var Tree = (0, import_react.forwardRef)(({ headerContent, group }
|
|
4330
|
+
var Tree = (0, import_react.forwardRef)(({ headerContent, group, classNames }) => {
|
|
4333
4331
|
const { label, data, onClick } = group;
|
|
4334
4332
|
const slots = (0, import_react.useMemo)(() => treeStyle(), []);
|
|
4335
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base(),
|
|
4333
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
4336
4334
|
headerContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: headerContent }),
|
|
4337
4335
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
|
|
4338
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.
|
|
4336
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
4339
4337
|
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("img", { src: cogwheel_default, alt: "cogwheel", width: 25, height: 25 }),
|
|
4340
|
-
label
|
|
4338
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
|
|
4341
4339
|
] }),
|
|
4342
|
-
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node, depth: 1 }, node.id))
|
|
4340
|
+
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node, depth: 1, classNames }, node.id))
|
|
4343
4341
|
] })
|
|
4344
4342
|
] });
|
|
4345
4343
|
});
|
|
@@ -4348,8 +4346,8 @@ Tree.displayName = "Tree";
|
|
|
4348
4346
|
var tree_default = Tree;
|
|
4349
4347
|
var treeStyle = tv({
|
|
4350
4348
|
slots: {
|
|
4351
|
-
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]"],
|
|
4352
|
-
|
|
4349
|
+
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
|
|
4350
|
+
wrapper: [
|
|
4353
4351
|
"flex",
|
|
4354
4352
|
"items-center",
|
|
4355
4353
|
"gap-[5px]",
|
|
@@ -4358,8 +4356,8 @@ var treeStyle = tv({
|
|
|
4358
4356
|
"text-body-foreground",
|
|
4359
4357
|
"hover:bg-neutral-soft",
|
|
4360
4358
|
"p-[5px]",
|
|
4361
|
-
"rounded-[5px]"
|
|
4362
|
-
|
|
4363
|
-
]
|
|
4359
|
+
"rounded-[5px]"
|
|
4360
|
+
],
|
|
4361
|
+
label: ["cursor-pointer"]
|
|
4364
4362
|
}
|
|
4365
4363
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tree_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-BZGUSIX5.mjs";
|
|
5
5
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
6
6
|
import "../../chunk-HWL7TPUN.mjs";
|
|
7
|
+
import "../../chunk-3IU2RPSM.mjs";
|
|
7
8
|
import "../../chunk-7USF56CT.mjs";
|
|
8
9
|
import "../../chunk-IZM66FHP.mjs";
|
|
9
|
-
import "../../chunk-3IU2RPSM.mjs";
|
|
10
10
|
import "../../chunk-4ZJFD3L3.mjs";
|
|
11
11
|
import "../../chunk-AC6TWLRT.mjs";
|
|
12
12
|
export {
|
package/dist/index.d.mts
CHANGED
|
@@ -25,7 +25,7 @@ export { default as Toast } from './components/toast/toast.mjs';
|
|
|
25
25
|
export { ToastProvider, useToast } from './components/toast/use-toast.mjs';
|
|
26
26
|
export { default as DateTimePicker } from './components/dateTimePicker/dateTimePicker.mjs';
|
|
27
27
|
export { default as ScrollArea } from './components/scroll/scrollArea.mjs';
|
|
28
|
-
export { default as Tree } from './components/tree/tree.mjs';
|
|
28
|
+
export { default as Tree, TreeNode } from './components/tree/tree.mjs';
|
|
29
29
|
export { tv } from './utils/tailwind-variants.mjs';
|
|
30
30
|
export { deepnoidUi } from '@deepnoid/tailwind-config';
|
|
31
31
|
export { VariantProps } from 'tailwind-variants';
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export { default as Toast } from './components/toast/toast.js';
|
|
|
25
25
|
export { ToastProvider, useToast } from './components/toast/use-toast.js';
|
|
26
26
|
export { default as DateTimePicker } from './components/dateTimePicker/dateTimePicker.js';
|
|
27
27
|
export { default as ScrollArea } from './components/scroll/scrollArea.js';
|
|
28
|
-
export { default as Tree } from './components/tree/tree.js';
|
|
28
|
+
export { default as Tree, TreeNode } from './components/tree/tree.js';
|
|
29
29
|
export { tv } from './utils/tailwind-variants.js';
|
|
30
30
|
export { deepnoidUi } from '@deepnoid/tailwind-config';
|
|
31
31
|
export { VariantProps } from 'tailwind-variants';
|
package/dist/index.js
CHANGED
|
@@ -10009,44 +10009,42 @@ var folder_default = "./folder-RO3QTLGS.svg";
|
|
|
10009
10009
|
|
|
10010
10010
|
// src/components/tree/tree.tsx
|
|
10011
10011
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
10012
|
-
var TreeNodeItem = (0, import_react34.forwardRef)(({ node, depth }
|
|
10012
|
+
var TreeNodeItem = (0, import_react34.forwardRef)(({ node, depth, classNames }) => {
|
|
10013
10013
|
var _a;
|
|
10014
10014
|
const [isOpen, setIsOpen] = (0, import_react34.useState)(false);
|
|
10015
10015
|
const slots = (0, import_react34.useMemo)(() => treeStyle(), []);
|
|
10016
10016
|
const toggleOpen = (0, import_react34.useCallback)(() => {
|
|
10017
10017
|
setIsOpen((prev) => !prev);
|
|
10018
10018
|
}, []);
|
|
10019
|
-
const handleClick = () => {
|
|
10020
|
-
var _a2;
|
|
10021
|
-
toggleOpen();
|
|
10022
|
-
(_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
10023
|
-
};
|
|
10024
10019
|
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: depth > 1 ? "ml-[30px]" : "", children: [
|
|
10025
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.
|
|
10020
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
|
|
10026
10021
|
node.children && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
10027
10022
|
Icon_default,
|
|
10028
10023
|
{
|
|
10029
10024
|
name: "right-chevron",
|
|
10030
|
-
className: `text-neutral-main transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
10025
|
+
className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
|
|
10031
10026
|
}
|
|
10032
10027
|
),
|
|
10033
10028
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("img", { src: folder_default, alt: "folder", width: 25, height: 25 }),
|
|
10034
|
-
|
|
10029
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
|
|
10030
|
+
var _a2;
|
|
10031
|
+
return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
|
|
10032
|
+
}, children: node.label })
|
|
10035
10033
|
] }),
|
|
10036
|
-
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node: child, depth: depth + 1 }, child.id)))
|
|
10034
|
+
isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames }, child.id)))
|
|
10037
10035
|
] });
|
|
10038
10036
|
});
|
|
10039
|
-
var Tree = (0, import_react34.forwardRef)(({ headerContent, group }
|
|
10037
|
+
var Tree = (0, import_react34.forwardRef)(({ headerContent, group, classNames }) => {
|
|
10040
10038
|
const { label, data, onClick } = group;
|
|
10041
10039
|
const slots = (0, import_react34.useMemo)(() => treeStyle(), []);
|
|
10042
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.base(),
|
|
10040
|
+
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
10043
10041
|
headerContent && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { children: headerContent }),
|
|
10044
10042
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { children: [
|
|
10045
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.
|
|
10043
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
10046
10044
|
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("img", { src: cogwheel_default, alt: "cogwheel", width: 25, height: 25 }),
|
|
10047
|
-
label
|
|
10045
|
+
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
|
|
10048
10046
|
] }),
|
|
10049
|
-
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node, depth: 1 }, node.id))
|
|
10047
|
+
data.map((node) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node, depth: 1, classNames }, node.id))
|
|
10050
10048
|
] })
|
|
10051
10049
|
] });
|
|
10052
10050
|
});
|
|
@@ -10055,8 +10053,8 @@ Tree.displayName = "Tree";
|
|
|
10055
10053
|
var tree_default = Tree;
|
|
10056
10054
|
var treeStyle = tv({
|
|
10057
10055
|
slots: {
|
|
10058
|
-
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]"],
|
|
10059
|
-
|
|
10056
|
+
base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
|
|
10057
|
+
wrapper: [
|
|
10060
10058
|
"flex",
|
|
10061
10059
|
"items-center",
|
|
10062
10060
|
"gap-[5px]",
|
|
@@ -10065,9 +10063,9 @@ var treeStyle = tv({
|
|
|
10065
10063
|
"text-body-foreground",
|
|
10066
10064
|
"hover:bg-neutral-soft",
|
|
10067
10065
|
"p-[5px]",
|
|
10068
|
-
"rounded-[5px]"
|
|
10069
|
-
|
|
10070
|
-
]
|
|
10066
|
+
"rounded-[5px]"
|
|
10067
|
+
],
|
|
10068
|
+
label: ["cursor-pointer"]
|
|
10071
10069
|
}
|
|
10072
10070
|
});
|
|
10073
10071
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/index.mjs
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
import "./chunk-MBLZYQCN.mjs";
|
|
3
3
|
import {
|
|
4
4
|
tree_default
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BZGUSIX5.mjs";
|
|
6
6
|
import "./chunk-RRAZM5D3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
textarea_default
|
|
9
9
|
} from "./chunk-BKE6QF6W.mjs";
|
|
10
|
+
import "./chunk-HIE2YRGA.mjs";
|
|
11
|
+
import {
|
|
12
|
+
tooltip_default
|
|
13
|
+
} from "./chunk-Z2537DF6.mjs";
|
|
14
|
+
import "./chunk-ZMOAFSYE.mjs";
|
|
15
|
+
import "./chunk-WSIADHVC.mjs";
|
|
10
16
|
import "./chunk-LUWGOKLG.mjs";
|
|
11
17
|
import {
|
|
12
18
|
ToastProvider,
|
|
13
19
|
useToast
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-ZOTHPHXA.mjs";
|
|
20
|
+
} from "./chunk-UAHTRCKG.mjs";
|
|
16
21
|
import {
|
|
17
22
|
toast_default
|
|
18
23
|
} from "./chunk-OUAKGMDW.mjs";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
tooltip_default
|
|
22
|
-
} from "./chunk-Z2537DF6.mjs";
|
|
23
|
-
import "./chunk-ZMOAFSYE.mjs";
|
|
24
|
-
import "./chunk-WSIADHVC.mjs";
|
|
24
|
+
import "./chunk-ZOTHPHXA.mjs";
|
|
25
25
|
import "./chunk-DX3KXNP6.mjs";
|
|
26
26
|
import {
|
|
27
27
|
form_table_default
|
|
@@ -35,14 +35,14 @@ import "./chunk-3MY6LO7N.mjs";
|
|
|
35
35
|
import {
|
|
36
36
|
tabs_default
|
|
37
37
|
} from "./chunk-2YMAKIZ6.mjs";
|
|
38
|
-
import "./chunk-DQRAFUDA.mjs";
|
|
39
|
-
import {
|
|
40
|
-
scrollArea_default
|
|
41
|
-
} from "./chunk-M37VBNB3.mjs";
|
|
42
38
|
import "./chunk-QCEKPS7U.mjs";
|
|
43
39
|
import {
|
|
44
40
|
select_default
|
|
45
41
|
} from "./chunk-MSAULFDB.mjs";
|
|
42
|
+
import "./chunk-DQRAFUDA.mjs";
|
|
43
|
+
import {
|
|
44
|
+
scrollArea_default
|
|
45
|
+
} from "./chunk-M37VBNB3.mjs";
|
|
46
46
|
import "./chunk-LVFI2NOH.mjs";
|
|
47
47
|
import {
|
|
48
48
|
switch_default
|
|
@@ -60,15 +60,15 @@ import "./chunk-TPFN22HR.mjs";
|
|
|
60
60
|
import {
|
|
61
61
|
radio_default
|
|
62
62
|
} from "./chunk-QIRL6HY6.mjs";
|
|
63
|
-
import "./chunk-MGEWSREV.mjs";
|
|
64
|
-
import {
|
|
65
|
-
chip_default
|
|
66
|
-
} from "./chunk-6HX3PPL6.mjs";
|
|
67
63
|
import "./chunk-2GCSFWHD.mjs";
|
|
68
64
|
import {
|
|
69
65
|
input_default
|
|
70
66
|
} from "./chunk-P5PJTJLY.mjs";
|
|
71
67
|
import "./chunk-QZ3LVYJW.mjs";
|
|
68
|
+
import "./chunk-MGEWSREV.mjs";
|
|
69
|
+
import {
|
|
70
|
+
chip_default
|
|
71
|
+
} from "./chunk-6HX3PPL6.mjs";
|
|
72
72
|
import "./chunk-75HLCORR.mjs";
|
|
73
73
|
import {
|
|
74
74
|
dateTimePicker_default
|
|
@@ -112,13 +112,13 @@ import {
|
|
|
112
112
|
import {
|
|
113
113
|
checkbox_default
|
|
114
114
|
} from "./chunk-D6QI3DJG.mjs";
|
|
115
|
-
import "./chunk-7USF56CT.mjs";
|
|
116
|
-
import "./chunk-IZM66FHP.mjs";
|
|
117
115
|
import "./chunk-7DLOYKVC.mjs";
|
|
118
116
|
import {
|
|
119
117
|
avatar_default
|
|
120
118
|
} from "./chunk-XQGD4ZIX.mjs";
|
|
121
119
|
import "./chunk-3IU2RPSM.mjs";
|
|
120
|
+
import "./chunk-7USF56CT.mjs";
|
|
121
|
+
import "./chunk-IZM66FHP.mjs";
|
|
122
122
|
import "./chunk-SE5TU755.mjs";
|
|
123
123
|
import {
|
|
124
124
|
backdrop_default
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getToastPosition
|
|
4
|
-
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
2
|
import {
|
|
6
3
|
toast_default
|
|
7
4
|
} from "./chunk-OUAKGMDW.mjs";
|
|
5
|
+
import {
|
|
6
|
+
getToastPosition
|
|
7
|
+
} from "./chunk-ZOTHPHXA.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|