@deepnoid/ui 0.1.25 → 0.1.26

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.
@@ -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
- CLI 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/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/scroll/index.ts, src/components/scroll/scrollArea.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/switch/index.ts, src/components/switch/switch.tsx, src/components/toast/index.ts, src/components/toast/toast-utils.ts, src/components/toast/toast.tsx, src/components/toast/use-toast.tsx, src/components/tooltip/index.ts, src/components/tooltip/tooltip-utils.ts, src/components/tooltip/tooltip.tsx, src/components/tooltip/useTooltip.ts, src/components/tree/index.ts, src/components/tree/tree.tsx, src/components/select/index.ts, src/components/select/select.tsx
3
+ CLI 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/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/scroll/index.ts, src/components/scroll/scrollArea.tsx, src/components/select/index.ts, src/components/select/select.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/toast/index.ts, src/components/toast/toast-utils.ts, src/components/toast/toast.tsx, src/components/toast/use-toast.tsx, src/components/tooltip/index.ts, src/components/tooltip/tooltip-utils.ts, src/components/tooltip/tooltip.tsx, src/components/tooltip/useTooltip.ts, src/components/tree/index.ts, src/components/tree/tree.tsx
4
4
  CLI Using tsconfig: tsconfig.json
5
5
  CLI tsup v8.4.0
6
6
  CLI Using tsup config: /builds/front/deepnoid-ui/packages/ui/tsup.config.ts
@@ -11,231 +11,231 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
11
11
  DTS Build start
12
12
  ESM dist/utils/tailwind-variants.mjs 109.00 B
13
13
  ESM dist/fonts/NanumSquare_acB.mjs 194.00 B
14
- ESM dist/utils/types.mjs 14.00 B
15
14
  ESM dist/index.mjs 3.75 KB
16
- ESM dist/chunk-QCEKPS7U.mjs 14.00 B
17
- ESM dist/chunk-MSAULFDB.mjs 11.76 KB
18
- ESM dist/chunk-Z2537DF6.mjs 4.17 KB
19
- ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
20
- ESM dist/chunk-HIE2YRGA.mjs 14.00 B
21
- ESM dist/chunk-WSIADHVC.mjs 3.80 KB
15
+ ESM dist/chunk-TEQ723QO.mjs 3.38 KB
22
16
  ESM dist/chunk-MBLZYQCN.mjs 14.00 B
23
- ESM dist/chunk-3MY6LO7N.mjs 14.00 B
24
- ESM dist/chunk-RRAZM5D3.mjs 14.00 B
25
- ESM dist/chunk-K4QY2F5J.mjs 3.29 KB
26
- ESM dist/chunk-LVFI2NOH.mjs 14.00 B
27
- ESM dist/chunk-2YMAKIZ6.mjs 6.14 KB
17
+ ESM dist/chunk-OUAKGMDW.mjs 4.10 KB
18
+ ESM dist/chunk-YBDA3WQP.mjs 2.58 KB
28
19
  ESM dist/chunk-LUWGOKLG.mjs 14.00 B
29
- ESM dist/chunk-UAHTRCKG.mjs 2.58 KB
30
- ESM dist/chunk-Z74QNVPG.mjs 4.04 KB
31
- ESM dist/chunk-BKE6QF6W.mjs 5.94 KB
32
20
  ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
33
- ESM dist/chunk-OUAKGMDW.mjs 4.10 KB
21
+ ESM dist/chunk-HIE2YRGA.mjs 14.00 B
22
+ ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
23
+ ESM dist/chunk-Z2537DF6.mjs 4.17 KB
24
+ ESM dist/chunk-WSIADHVC.mjs 3.80 KB
34
25
  ESM dist/chunk-DX3KXNP6.mjs 14.00 B
35
- ESM dist/chunk-ICZTNO4V.mjs 1.87 KB
36
- ESM dist/chunk-DQRAFUDA.mjs 14.00 B
37
26
  ESM dist/chunk-XRC5OUYQ.mjs 3.44 KB
38
- ESM dist/chunk-6EU5GUL5.mjs 7.42 KB
27
+ ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
28
+ ESM dist/chunk-6OMHIMIA.mjs 7.42 KB
29
+ ESM dist/chunk-EAK5DVWA.mjs 1.69 KB
30
+ ESM dist/chunk-3MY6LO7N.mjs 14.00 B
31
+ ESM dist/chunk-2YMAKIZ6.mjs 6.14 KB
32
+ ESM dist/utils/types.mjs 14.00 B
33
+ ESM dist/chunk-DQRAFUDA.mjs 14.00 B
39
34
  ESM dist/chunk-M37VBNB3.mjs 1.04 KB
40
- ESM dist/chunk-7B7LRG5J.mjs 14.00 B
35
+ ESM dist/chunk-QCEKPS7U.mjs 14.00 B
36
+ ESM dist/chunk-BKE6QF6W.mjs 5.94 KB
37
+ ESM dist/chunk-RRAZM5D3.mjs 14.00 B
38
+ ESM dist/chunk-LVFI2NOH.mjs 14.00 B
39
+ ESM dist/chunk-MSAULFDB.mjs 11.76 KB
40
+ ESM dist/chunk-Z74QNVPG.mjs 4.04 KB
41
41
  ESM dist/chunk-F3HENRVM.mjs 934.00 B
42
- ESM dist/chunk-IVK24VIL.mjs 8.19 KB
43
42
  ESM dist/chunk-TPFN22HR.mjs 14.00 B
44
- ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
43
+ ESM dist/chunk-IVK24VIL.mjs 8.19 KB
44
+ ESM dist/chunk-7B7LRG5J.mjs 14.00 B
45
45
  ESM dist/chunk-2GCSFWHD.mjs 14.00 B
46
- ESM dist/chunk-EAK5DVWA.mjs 1.69 KB
47
46
  ESM dist/chunk-QIRL6HY6.mjs 5.07 KB
48
- ESM dist/chunk-DJOG6Z35.mjs 14.00 B
49
- ESM dist/chunk-MGEWSREV.mjs 14.00 B
50
47
  ESM dist/chunk-75HLCORR.mjs 14.00 B
51
- ESM dist/chunk-Q72LZAPG.mjs 7.40 KB
52
48
  ESM dist/chunk-B3DFSXGC.mjs 4.40 KB
49
+ ESM dist/chunk-Q72LZAPG.mjs 7.40 KB
50
+ ESM dist/chunk-DLQFMOBN.mjs 4.42 KB
53
51
  ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
54
52
  ESM dist/chunk-SCFTSNCK.mjs 11.03 KB
55
- ESM dist/chunk-DLQFMOBN.mjs 4.42 KB
56
- ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
57
- ESM dist/chunk-P732YGHO.mjs 444.00 B
58
- ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
59
53
  ESM dist/chunk-HIVPDIEP.mjs 1.27 KB
54
+ ESM dist/chunk-P732YGHO.mjs 444.00 B
60
55
  ESM dist/chunk-QY7LYAXT.mjs 7.20 KB
61
- ESM dist/chunk-7DLOYKVC.mjs 14.00 B
62
- ESM dist/chunk-P5PJTJLY.mjs 11.46 KB
56
+ ESM dist/chunk-MGEWSREV.mjs 14.00 B
57
+ ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
58
+ ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
63
59
  ESM dist/chunk-D6QI3DJG.mjs 6.55 KB
64
- ESM dist/chunk-XQGD4ZIX.mjs 1.65 KB
60
+ ESM dist/chunk-6HX3PPL6.mjs 4.03 KB
65
61
  ESM dist/chunk-SE5TU755.mjs 14.00 B
66
- ESM dist/chunk-LL6F3WDX.mjs 778.00 B
62
+ ESM dist/chunk-P5PJTJLY.mjs 11.46 KB
63
+ ESM dist/chunk-DJOG6Z35.mjs 14.00 B
67
64
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
68
- ESM dist/chunk-Y27H2AMV.mjs 2.79 KB
69
- ESM dist/chunk-LPZOH3RP.mjs 700.00 B
70
- ESM dist/chunk-6HX3PPL6.mjs 4.03 KB
65
+ ESM dist/chunk-LL6F3WDX.mjs 778.00 B
71
66
  ESM dist/chunk-MY5U63QO.mjs 14.00 B
67
+ ESM dist/chunk-XQGD4ZIX.mjs 1.65 KB
68
+ ESM dist/chunk-LPZOH3RP.mjs 700.00 B
69
+ ESM dist/chunk-7DLOYKVC.mjs 14.00 B
70
+ ESM dist/chunk-BQUZRVYW.mjs 10.86 KB
72
71
  ESM dist/chunk-6WSACUIB.mjs 14.00 B
73
- ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
74
- ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
72
+ ESM dist/chunk-ICZTNO4V.mjs 1.87 KB
73
+ ESM dist/chunk-IRAHS4WS.mjs 2.77 KB
75
74
  ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
76
- ESM dist/chunk-BQUZRVYW.mjs 10.86 KB
77
- ESM dist/chunk-WFMFC7R6.mjs 3.68 KB
78
- ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
75
+ ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
76
+ ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
79
77
  ESM dist/chunk-HWL7TPUN.mjs 929.00 B
80
78
  ESM dist/chunk-PMMTMYRI.mjs 9.25 KB
79
+ ESM dist/chunk-WFMFC7R6.mjs 3.68 KB
81
80
  ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
82
- ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
83
- ESM dist/utils/clsx.mjs 113.00 B
81
+ ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
84
82
  ESM dist/chunk-27Y6K5NK.mjs 823.00 B
85
- ESM dist/utils/props.mjs 137.00 B
86
- ESM dist/fonts/font.css 777.00 B
83
+ ESM dist/utils/clsx.mjs 113.00 B
84
+ ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
87
85
  ESM dist/chunk-E3G5QXSH.mjs 608.00 B
86
+ ESM dist/fonts/font.css 777.00 B
87
+ ESM dist/utils/props.mjs 137.00 B
88
88
  ESM dist/chunk-4ZJFD3L3.mjs 14.50 KB
89
89
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
90
+ ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
90
91
  ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
91
92
  ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
92
- ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
93
- ESM dist/components/select/index.mjs 394.00 B
93
+ ESM dist/components/tree/index.mjs 353.00 B
94
94
  ESM dist/chunk-3IU2RPSM.mjs 339.05 KB
95
95
  ESM dist/components/toast/use-toast.mjs 441.00 B
96
96
  ESM dist/components/tooltip/index.mjs 327.00 B
97
- ESM dist/components/tree/index.mjs 353.00 B
98
- ESM dist/components/tabs/index.mjs 248.00 B
97
+ ESM dist/components/table/index.mjs 876.00 B
99
98
  ESM dist/components/textarea/index.mjs 225.00 B
100
- ESM dist/components/switch/index.mjs 219.00 B
101
99
  ESM dist/components/ripple/useRipple.mjs 158.00 B
100
+ ESM dist/components/tabs/index.mjs 248.00 B
102
101
  ESM dist/components/scroll/index.mjs 231.00 B
103
- ESM dist/components/table/form-table.mjs 193.00 B
104
- ESM dist/components/pagination/index.mjs 511.00 B
102
+ ESM dist/components/select/index.mjs 394.00 B
103
+ ESM dist/components/switch/index.mjs 219.00 B
105
104
  ESM dist/components/modal/modal.mjs 708.00 B
105
+ ESM dist/components/pagination/index.mjs 511.00 B
106
106
  ESM dist/components/icon/index.mjs 245.00 B
107
+ ESM dist/components/input/index.mjs 391.00 B
107
108
  ESM dist/components/radio/index.mjs 286.00 B
108
- ESM dist/components/input/input.mjs 386.00 B
109
109
  ESM dist/components/list/index.mjs 483.00 B
110
+ ESM dist/components/dateTimePicker/index.mjs 663.00 B
110
111
  ESM dist/components/chip/index.mjs 353.00 B
111
- ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
112
112
  ESM dist/components/button/button-group.mjs 197.00 B
113
- ESM dist/components/checkbox/checkbox.mjs 259.00 B
113
+ ESM dist/components/checkbox/index.mjs 295.00 B
114
114
  ESM dist/components/backdrop/backdrop.mjs 224.00 B
115
- ESM dist/components/breadcrumb/index.mjs 686.00 B
116
115
  ESM dist/components/tooltip/tooltip.mjs 292.00 B
117
116
  ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
117
+ ESM dist/components/toast/index.mjs 527.00 B
118
118
  ESM dist/components/tooltip/useTooltip.mjs 166.00 B
119
+ ESM dist/components/table/table-head.mjs 333.00 B
120
+ ESM dist/components/table/table.mjs 743.00 B
121
+ ESM dist/components/toast/toast.mjs 358.00 B
122
+ ESM dist/components/table/table-body.mjs 333.00 B
119
123
  ESM dist/components/tree/tree.mjs 321.00 B
120
124
  ESM dist/components/tabs/tabs.mjs 232.00 B
121
- ESM dist/components/select/select.mjs 360.00 B
122
- ESM dist/components/switch/switch.mjs 185.00 B
123
- ESM dist/components/textarea/textarea.mjs 189.00 B
124
125
  ESM dist/components/toast/toast-utils.mjs 143.00 B
125
- ESM dist/components/toast/index.mjs 527.00 B
126
+ ESM dist/components/textarea/textarea.mjs 189.00 B
126
127
  ESM dist/components/scroll/scrollArea.mjs 193.00 B
127
- ESM dist/components/table/table-head.mjs 333.00 B
128
- ESM dist/components/table/table-body.mjs 333.00 B
129
- ESM dist/components/table/table.mjs 743.00 B
130
- ESM dist/components/table/index.mjs 876.00 B
128
+ ESM dist/components/select/select.mjs 360.00 B
129
+ ESM dist/components/table/form-table.mjs 193.00 B
130
+ ESM dist/components/switch/switch.mjs 185.00 B
131
+ ESM dist/components/pagination/pagination.mjs 511.00 B
131
132
  ESM dist/components/pagination/usePagination.mjs 164.00 B
132
- ESM dist/components/radio/radio.mjs 253.00 B
133
+ ESM dist/components/ripple/ripple.mjs 150.00 B
134
+ ESM dist/components/input/input.mjs 386.00 B
133
135
  ESM dist/components/ripple/index.mjs 253.00 B
134
- ESM dist/components/pagination/pagination.mjs 511.00 B
136
+ ESM dist/components/list/listItem.mjs 364.00 B
137
+ ESM dist/components/list/list.mjs 216.00 B
135
138
  ESM dist/components/icon/template.mjs 127.00 B
136
- ESM dist/components/ripple/ripple.mjs 150.00 B
137
- ESM dist/components/input/index.mjs 391.00 B
138
- ESM dist/components/toast/toast.mjs 358.00 B
139
- ESM dist/components/dateTimePicker/index.mjs 663.00 B
140
- ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
139
+ ESM dist/components/modal/index.mjs 741.00 B
140
+ ESM dist/components/radio/radio.mjs 253.00 B
141
141
  ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
142
142
  ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
143
143
  ESM dist/components/icon/Icon.mjs 213.00 B
144
+ ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
144
145
  ESM dist/components/dateTimePicker/util.mjs 191.00 B
145
- ESM dist/components/list/listItem.mjs 364.00 B
146
+ ESM dist/components/button/button.mjs 430.00 B
147
+ ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
146
148
  ESM dist/components/button/icon-button.mjs 440.00 B
147
149
  ESM dist/components/button/text-button.mjs 265.00 B
148
150
  ESM dist/components/button/index.mjs 811.00 B
149
- ESM dist/components/list/list.mjs 216.00 B
150
- ESM dist/components/button/button.mjs 430.00 B
151
- ESM dist/components/modal/index.mjs 741.00 B
152
- ESM dist/components/checkbox/index.mjs 295.00 B
151
+ ESM dist/components/checkbox/checkbox.mjs 259.00 B
153
152
  ESM dist/components/chip/chip.mjs 321.00 B
154
- ESM dist/components/avatar/avatar.mjs 220.00 B
153
+ ESM dist/components/avatar/index.mjs 254.00 B
155
154
  ESM dist/components/backdrop/index.mjs 260.00 B
156
155
  ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
157
- ESM dist/components/avatar/index.mjs 254.00 B
158
- ESM ⚡️ Build success in 418ms
156
+ ESM dist/components/breadcrumb/index.mjs 686.00 B
157
+ ESM dist/components/avatar/avatar.mjs 220.00 B
158
+ ESM ⚡️ Build success in 430ms
159
159
  CJS dist/fonts/NanumSquare_acB.js 113.00 B
160
- CJS dist/fonts/NanumSquare_acL.js 113.00 B
161
160
  CJS dist/fonts/NanumSquare_acEB.js 116.00 B
162
- CJS dist/utils/clsx.js 1.77 KB
161
+ CJS dist/fonts/NanumSquare_acL.js 113.00 B
162
+ CJS dist/fonts/NanumSquare_acR.js 113.00 B
163
+ CJS dist/fonts/font.css 777.00 B
163
164
  CJS dist/utils/props.js 1.59 KB
164
165
  CJS dist/utils/types.js 778.00 B
166
+ CJS dist/utils/clsx.js 1.77 KB
165
167
  CJS dist/utils/tailwind-variants.js 7.91 KB
166
168
  CJS dist/components/backdrop/backdrop.js 9.31 KB
167
- CJS dist/fonts/NanumSquare_acR.js 113.00 B
168
- CJS dist/components/backdrop/index.js 9.45 KB
169
- CJS dist/components/avatar/index.js 359.14 KB
170
- CJS dist/components/breadcrumb/breadcrumb.js 366.03 KB
171
169
  CJS dist/components/avatar/avatar.js 359.01 KB
170
+ CJS dist/components/backdrop/index.js 9.45 KB
172
171
  CJS dist/components/button/button-group.js 8.54 KB
173
- CJS dist/components/breadcrumb/index.js 366.17 KB
174
- CJS dist/components/button/index.js 386.70 KB
175
- CJS dist/components/button/button.js 372.18 KB
176
172
  CJS dist/components/button/icon-button.js 370.52 KB
177
- CJS dist/components/checkbox/checkbox.js 15.76 KB
173
+ CJS dist/components/breadcrumb/index.js 366.14 KB
178
174
  CJS dist/components/button/text-button.js 12.75 KB
179
- CJS dist/components/chip/chip.js 362.69 KB
175
+ CJS dist/components/checkbox/checkbox.js 15.76 KB
180
176
  CJS dist/components/checkbox/index.js 15.90 KB
181
- CJS dist/components/chip/index.js 362.82 KB
177
+ CJS dist/components/button/button.js 372.18 KB
178
+ CJS dist/components/breadcrumb/breadcrumb.js 366.00 KB
179
+ CJS dist/components/button/index.js 386.70 KB
180
+ CJS dist/components/chip/chip.js 362.69 KB
182
181
  CJS dist/components/dateTimePicker/calendar.js 366.80 KB
183
- CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
184
- CJS dist/components/dateTimePicker/util.js 1.48 KB
182
+ CJS dist/components/chip/index.js 362.82 KB
185
183
  CJS dist/components/dateTimePicker/dateTimePicker.js 396.06 KB
186
- CJS dist/components/dateTimePicker/timePicker.js 373.93 KB
187
184
  CJS dist/components/dateTimePicker/index.js 396.05 KB
188
- CJS dist/components/icon/index.js 351.53 KB
189
- CJS dist/components/icon/template.js 350.59 KB
190
- CJS dist/components/input/index.js 371.33 KB
185
+ CJS dist/components/dateTimePicker/util.js 1.48 KB
186
+ CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
191
187
  CJS dist/components/input/input.js 371.33 KB
192
- CJS dist/components/list/list.js 9.58 KB
193
188
  CJS dist/components/icon/Icon.js 351.52 KB
189
+ CJS dist/components/icon/template.js 350.59 KB
190
+ CJS dist/components/list/list.js 9.58 KB
191
+ CJS dist/components/list/index.js 369.46 KB
192
+ CJS dist/components/dateTimePicker/timePicker.js 373.93 KB
193
+ CJS dist/components/modal/index.js 378.25 KB
194
194
  CJS dist/components/list/listItem.js 367.62 KB
195
- CJS dist/components/pagination/usePagination.js 1.88 KB
196
- CJS dist/components/pagination/index.js 380.51 KB
197
- CJS dist/components/modal/modal.js 378.12 KB
198
195
  CJS dist/components/radio/index.js 14.36 KB
199
- CJS dist/fonts/font.css 777.00 B
200
- CJS dist/components/ripple/ripple.js 2.57 KB
196
+ CJS dist/components/icon/index.js 351.53 KB
197
+ CJS dist/components/ripple/index.js 3.65 KB
201
198
  CJS dist/components/radio/radio.js 14.23 KB
199
+ CJS dist/components/pagination/usePagination.js 1.88 KB
200
+ CJS dist/components/pagination/pagination.js 380.51 KB
202
201
  CJS dist/components/scroll/index.js 2.92 KB
203
202
  CJS dist/components/ripple/useRipple.js 2.04 KB
203
+ CJS dist/components/ripple/ripple.js 2.57 KB
204
+ CJS dist/components/avatar/index.js 359.14 KB
204
205
  CJS dist/components/scroll/scrollArea.js 2.79 KB
206
+ CJS dist/components/switch/index.js 5.79 KB
207
+ CJS dist/components/input/index.js 371.33 KB
205
208
  CJS dist/components/table/form-table.js 9.89 KB
206
- CJS dist/components/modal/index.js 378.25 KB
207
- CJS dist/components/ripple/index.js 3.65 KB
208
- CJS dist/components/table/table-head.js 17.50 KB
209
+ CJS dist/components/switch/switch.js 5.66 KB
210
+ CJS dist/components/select/select.js 371.59 KB
211
+ CJS dist/components/modal/modal.js 378.12 KB
209
212
  CJS dist/components/tabs/index.js 14.72 KB
210
- CJS dist/components/textarea/index.js 7.82 KB
211
213
  CJS dist/components/table/table-body.js 19.33 KB
214
+ CJS dist/components/table/table-head.js 17.50 KB
215
+ CJS dist/components/pagination/index.js 380.51 KB
212
216
  CJS dist/components/tabs/tabs.js 14.71 KB
217
+ CJS dist/components/textarea/index.js 7.82 KB
218
+ CJS dist/components/select/index.js 371.72 KB
213
219
  CJS dist/components/textarea/textarea.js 7.68 KB
214
- CJS dist/components/switch/index.js 5.79 KB
215
- CJS dist/components/pagination/pagination.js 380.51 KB
216
- CJS dist/components/switch/switch.js 5.66 KB
217
- CJS dist/components/list/index.js 369.46 KB
218
- CJS dist/components/table/table.js 401.03 KB
220
+ CJS dist/components/toast/toast-utils.js 1.85 KB
219
221
  CJS dist/components/tooltip/index.js 17.80 KB
220
222
  CJS dist/components/table/index.js 403.27 KB
221
- CJS dist/components/toast/toast-utils.js 1.85 KB
222
- CJS dist/components/tooltip/tooltip.js 17.67 KB
223
223
  CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
224
+ CJS dist/components/tooltip/tooltip.js 17.67 KB
225
+ CJS dist/components/toast/use-toast.js 367.19 KB
224
226
  CJS dist/components/toast/index.js 367.25 KB
225
227
  CJS dist/components/tooltip/useTooltip.js 4.19 KB
226
228
  CJS dist/components/toast/toast.js 363.60 KB
227
- CJS dist/components/tree/index.js 362.58 KB
228
- CJS dist/components/toast/use-toast.js 367.19 KB
229
- CJS dist/components/select/index.js 371.72 KB
230
- CJS dist/components/tree/tree.js 362.45 KB
231
- CJS dist/index.js 542.64 KB
229
+ CJS dist/components/tree/index.js 362.67 KB
230
+ CJS dist/components/tree/tree.js 362.55 KB
232
231
  CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
233
232
  CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
234
- CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
235
- CJS dist/components/select/select.js 371.59 KB
233
+ CJS dist/components/table/table.js 401.03 KB
236
234
  CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
237
- CJS ⚡️ Build success in 420ms
238
- DTS ⚡️ Build success in 10934ms
235
+ CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
236
+ CJS dist/index.js 542.71 KB
237
+ CJS ⚡️ Build success in 431ms
238
+ DTS ⚡️ Build success in 10970ms
239
239
  DTS dist/index.d.ts 2.36 KB
240
240
  DTS dist/components/button/index.d.ts 415.00 B
241
241
  DTS dist/components/list/index.d.ts 302.00 B
@@ -279,12 +279,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
279
279
  DTS dist/components/radio/radio.d.ts 4.96 KB
280
280
  DTS dist/components/ripple/ripple.d.ts 820.00 B
281
281
  DTS dist/components/scroll/scrollArea.d.ts 423.00 B
282
+ DTS dist/components/select/select.d.ts 7.50 KB
283
+ DTS dist/components/switch/switch.d.ts 4.00 KB
282
284
  DTS dist/components/tabs/tabs.d.ts 3.10 KB
283
285
  DTS dist/components/textarea/textarea.d.ts 6.25 KB
284
- DTS dist/components/switch/switch.d.ts 4.00 KB
285
286
  DTS dist/components/tooltip/tooltip.d.ts 2.16 KB
286
287
  DTS dist/components/tree/tree.d.ts 1.90 KB
287
- DTS dist/components/select/select.d.ts 7.50 KB
288
288
  DTS dist/fonts/NanumSquare_acEB.d.ts 13.00 B
289
289
  DTS dist/fonts/NanumSquare_acL.d.ts 13.00 B
290
290
  DTS dist/fonts/NanumSquare_acR.d.ts 13.00 B
@@ -304,12 +304,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
304
304
  DTS dist/components/radio/index.d.ts 122.00 B
305
305
  DTS dist/components/ripple/index.d.ts 157.00 B
306
306
  DTS dist/components/scroll/index.d.ts 101.00 B
307
+ DTS dist/components/select/index.d.ts 137.00 B
308
+ DTS dist/components/switch/index.d.ts 124.00 B
307
309
  DTS dist/components/tabs/index.d.ts 179.00 B
308
310
  DTS dist/components/textarea/index.d.ts 143.00 B
309
- DTS dist/components/switch/index.d.ts 124.00 B
310
311
  DTS dist/components/tooltip/index.d.ts 182.00 B
311
312
  DTS dist/components/tree/index.d.ts 155.00 B
312
- DTS dist/components/select/index.d.ts 137.00 B
313
313
  DTS dist/tooltip-utils-DO3LQaVM.d.ts 2.05 KB
314
314
  DTS dist/index.d.mts 2.39 KB
315
315
  DTS dist/components/button/index.d.mts 422.00 B
@@ -354,12 +354,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
354
354
  DTS dist/components/radio/radio.d.mts 4.96 KB
355
355
  DTS dist/components/ripple/ripple.d.mts 821.00 B
356
356
  DTS dist/components/scroll/scrollArea.d.mts 423.00 B
357
+ DTS dist/components/select/select.d.mts 7.50 KB
358
+ DTS dist/components/switch/switch.d.mts 4.00 KB
357
359
  DTS dist/components/tabs/tabs.d.mts 3.11 KB
358
360
  DTS dist/components/textarea/textarea.d.mts 6.25 KB
359
- DTS dist/components/switch/switch.d.mts 4.00 KB
360
361
  DTS dist/components/tooltip/tooltip.d.mts 2.17 KB
361
362
  DTS dist/components/tree/tree.d.mts 1.90 KB
362
- DTS dist/components/select/select.d.mts 7.50 KB
363
363
  DTS dist/fonts/NanumSquare_acEB.d.mts 13.00 B
364
364
  DTS dist/fonts/NanumSquare_acL.d.mts 13.00 B
365
365
  DTS dist/fonts/NanumSquare_acR.d.mts 13.00 B
@@ -379,12 +379,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
379
379
  DTS dist/components/radio/index.d.mts 124.00 B
380
380
  DTS dist/components/ripple/index.d.mts 159.00 B
381
381
  DTS dist/components/scroll/index.d.mts 102.00 B
382
+ DTS dist/components/select/index.d.mts 139.00 B
383
+ DTS dist/components/switch/index.d.mts 126.00 B
382
384
  DTS dist/components/tabs/index.d.mts 181.00 B
383
385
  DTS dist/components/textarea/index.d.mts 145.00 B
384
- DTS dist/components/switch/index.d.mts 126.00 B
385
386
  DTS dist/components/tooltip/index.d.mts 185.00 B
386
387
  DTS dist/components/tree/index.d.mts 157.00 B
387
- DTS dist/components/select/index.d.mts 139.00 B
388
388
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
389
389
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
390
- Done in 11.70s.
390
+ Done in 11.83s.
@@ -12,7 +12,7 @@ import {
12
12
  // src/components/breadcrumb/breadcrumb.tsx
13
13
  import { forwardRef, useMemo } from "react";
14
14
  import { jsx, jsxs } from "react/jsx-runtime";
15
- var BreadcrumbMenu = forwardRef(({ label, onClick, isCurrent, size }) => {
15
+ var BreadcrumbMenu = ({ label, onClick, isCurrent, size }) => {
16
16
  return /* @__PURE__ */ jsx(
17
17
  text_button_default,
18
18
  {
@@ -25,7 +25,7 @@ var BreadcrumbMenu = forwardRef(({ label, onClick, isCurrent, size }) => {
25
25
  children: label
26
26
  }
27
27
  );
28
- });
28
+ };
29
29
  var Breadcrumb = forwardRef(({ startIconName, size, menus, classNames }, ref) => {
30
30
  const slots = useMemo(() => breadcrumbStyle({ size }), [size]);
31
31
  const renderMenus = (menus2) => {
@@ -0,0 +1,102 @@
1
+ "use client";
2
+ import {
3
+ Icon_default
4
+ } from "./chunk-HWL7TPUN.mjs";
5
+ import {
6
+ tv
7
+ } from "./chunk-4ZJFD3L3.mjs";
8
+ import {
9
+ clsx
10
+ } from "./chunk-27Y6K5NK.mjs";
11
+
12
+ // src/components/tree/tree.tsx
13
+ import { forwardRef, useMemo, useState, useCallback } from "react";
14
+ import { jsx, jsxs } from "react/jsx-runtime";
15
+ var TreeNodeItem = forwardRef(
16
+ ({ node, depth, fileIcon, isLoading, classNames }, ref) => {
17
+ var _a;
18
+ const [isOpen, setIsOpen] = useState(false);
19
+ const slots = useMemo(() => treeStyle(), []);
20
+ const toggleOpen = useCallback(() => {
21
+ setIsOpen((prev) => !prev);
22
+ }, []);
23
+ return /* @__PURE__ */ jsxs(
24
+ "div",
25
+ {
26
+ ref,
27
+ className: clsx(
28
+ depth > 1 ? "ml-[30px]" : "",
29
+ "transition-all duration-150 ease-out",
30
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
31
+ ),
32
+ children: [
33
+ /* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
34
+ node.children && /* @__PURE__ */ jsx(
35
+ Icon_default,
36
+ {
37
+ name: "right-chevron",
38
+ className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
39
+ }
40
+ ),
41
+ fileIcon,
42
+ /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
43
+ var _a2;
44
+ return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
45
+ }, children: node.label })
46
+ ] }),
47
+ isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ jsx(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
48
+ ]
49
+ }
50
+ );
51
+ }
52
+ );
53
+ var Tree = forwardRef(
54
+ ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }, ref) => {
55
+ const { label, data, onClick } = group;
56
+ const slots = useMemo(() => treeStyle(), []);
57
+ return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
58
+ headerContent && /* @__PURE__ */ jsx("div", { children: headerContent }),
59
+ /* @__PURE__ */ jsxs("div", { children: [
60
+ /* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
61
+ groupIcon,
62
+ /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
63
+ ] }),
64
+ data.map((node) => /* @__PURE__ */ jsx(
65
+ TreeNodeItem,
66
+ {
67
+ node,
68
+ depth: 1,
69
+ classNames,
70
+ fileIcon,
71
+ isLoading
72
+ },
73
+ node.id
74
+ ))
75
+ ] })
76
+ ] });
77
+ }
78
+ );
79
+ TreeNodeItem.displayName = "TreeNodeItem";
80
+ Tree.displayName = "Tree";
81
+ var tree_default = Tree;
82
+ var treeStyle = tv({
83
+ slots: {
84
+ base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
85
+ wrapper: [
86
+ "flex",
87
+ "items-center",
88
+ "gap-[5px]",
89
+ "text-md",
90
+ "font-bold",
91
+ "text-body-foreground",
92
+ "hover:bg-neutral-soft",
93
+ "p-[5px]",
94
+ "rounded-[5px]"
95
+ ],
96
+ label: ["cursor-pointer"]
97
+ }
98
+ });
99
+
100
+ export {
101
+ tree_default
102
+ };
@@ -4481,7 +4481,7 @@ var textButtonStyle = tv({
4481
4481
 
4482
4482
  // src/components/breadcrumb/breadcrumb.tsx
4483
4483
  var import_jsx_runtime4 = require("react/jsx-runtime");
4484
- var BreadcrumbMenu = (0, import_react2.forwardRef)(({ label, onClick, isCurrent, size }) => {
4484
+ var BreadcrumbMenu = ({ label, onClick, isCurrent, size }) => {
4485
4485
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
4486
4486
  text_button_default,
4487
4487
  {
@@ -4494,7 +4494,7 @@ var BreadcrumbMenu = (0, import_react2.forwardRef)(({ label, onClick, isCurrent,
4494
4494
  children: label
4495
4495
  }
4496
4496
  );
4497
- });
4497
+ };
4498
4498
  var Breadcrumb = (0, import_react2.forwardRef)(({ startIconName, size, menus, classNames }, ref) => {
4499
4499
  const slots = (0, import_react2.useMemo)(() => breadcrumbStyle({ size }), [size]);
4500
4500
  const renderMenus = (menus2) => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  breadcrumb_default
4
- } from "../../chunk-Y27H2AMV.mjs";
4
+ } from "../../chunk-IRAHS4WS.mjs";
5
5
  import "../../chunk-MY5U63QO.mjs";
6
6
  import "../../chunk-LPZOH3RP.mjs";
7
7
  import "../../chunk-BQUZRVYW.mjs";
@@ -4483,7 +4483,7 @@ var textButtonStyle = tv({
4483
4483
 
4484
4484
  // src/components/breadcrumb/breadcrumb.tsx
4485
4485
  var import_jsx_runtime4 = require("react/jsx-runtime");
4486
- var BreadcrumbMenu = (0, import_react2.forwardRef)(({ label, onClick, isCurrent, size }) => {
4486
+ var BreadcrumbMenu = ({ label, onClick, isCurrent, size }) => {
4487
4487
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
4488
4488
  text_button_default,
4489
4489
  {
@@ -4496,7 +4496,7 @@ var BreadcrumbMenu = (0, import_react2.forwardRef)(({ label, onClick, isCurrent,
4496
4496
  children: label
4497
4497
  }
4498
4498
  );
4499
- });
4499
+ };
4500
4500
  var Breadcrumb = (0, import_react2.forwardRef)(({ startIconName, size, menus, classNames }, ref) => {
4501
4501
  const slots = (0, import_react2.useMemo)(() => breadcrumbStyle({ size }), [size]);
4502
4502
  const renderMenus = (menus2) => {
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-KYIODWXL.mjs";
3
3
  import {
4
4
  breadcrumb_default
5
- } from "../../chunk-Y27H2AMV.mjs";
5
+ } from "../../chunk-IRAHS4WS.mjs";
6
6
  import "../../chunk-MY5U63QO.mjs";
7
7
  import "../../chunk-LPZOH3RP.mjs";
8
8
  import "../../chunk-BQUZRVYW.mjs";
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import "../../chunk-DX3KXNP6.mjs";
3
- import {
4
- form_table_default
5
- } from "../../chunk-ICZTNO4V.mjs";
6
3
  import {
7
4
  table_default
8
- } from "../../chunk-6EU5GUL5.mjs";
9
- import "../../chunk-DQRAFUDA.mjs";
10
- import "../../chunk-M37VBNB3.mjs";
5
+ } from "../../chunk-6OMHIMIA.mjs";
11
6
  import "../../chunk-XRC5OUYQ.mjs";
12
7
  import "../../chunk-EAK5DVWA.mjs";
8
+ import "../../chunk-DQRAFUDA.mjs";
9
+ import "../../chunk-M37VBNB3.mjs";
10
+ import {
11
+ form_table_default
12
+ } from "../../chunk-ICZTNO4V.mjs";
13
13
  import "../../chunk-7B7LRG5J.mjs";
14
14
  import "../../chunk-IVK24VIL.mjs";
15
15
  import "../../chunk-F3HENRVM.mjs";
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-6EU5GUL5.mjs";
5
- import "../../chunk-DQRAFUDA.mjs";
6
- import "../../chunk-M37VBNB3.mjs";
4
+ } from "../../chunk-6OMHIMIA.mjs";
7
5
  import "../../chunk-XRC5OUYQ.mjs";
8
6
  import "../../chunk-EAK5DVWA.mjs";
7
+ import "../../chunk-DQRAFUDA.mjs";
8
+ import "../../chunk-M37VBNB3.mjs";
9
9
  import "../../chunk-7B7LRG5J.mjs";
10
10
  import "../../chunk-IVK24VIL.mjs";
11
11
  import "../../chunk-F3HENRVM.mjs";
@@ -3,11 +3,11 @@ import "../../chunk-LUWGOKLG.mjs";
3
3
  import {
4
4
  ToastProvider,
5
5
  useToast
6
- } from "../../chunk-UAHTRCKG.mjs";
6
+ } from "../../chunk-YBDA3WQP.mjs";
7
+ import "../../chunk-ZOTHPHXA.mjs";
7
8
  import {
8
9
  toast_default
9
10
  } 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-UAHTRCKG.mjs";
6
- import "../../chunk-OUAKGMDW.mjs";
5
+ } from "../../chunk-YBDA3WQP.mjs";
7
6
  import "../../chunk-ZOTHPHXA.mjs";
7
+ import "../../chunk-OUAKGMDW.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-HWL7TPUN.mjs";
10
10
  import "../../chunk-3IU2RPSM.mjs";
@@ -4338,46 +4338,49 @@ function toVal(mix) {
4338
4338
 
4339
4339
  // src/components/tree/tree.tsx
4340
4340
  var import_jsx_runtime3 = require("react/jsx-runtime");
4341
- var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth, fileIcon, isLoading, classNames }) => {
4342
- var _a;
4343
- const [isOpen, setIsOpen] = (0, import_react.useState)(false);
4344
- const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4345
- const toggleOpen = (0, import_react.useCallback)(() => {
4346
- setIsOpen((prev) => !prev);
4347
- }, []);
4348
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4349
- "div",
4350
- {
4351
- className: clsx(
4352
- depth > 1 ? "ml-[30px]" : "",
4353
- "transition-all duration-150 ease-out",
4354
- isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
4355
- ),
4356
- children: [
4357
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
4358
- node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4359
- Icon_default,
4360
- {
4361
- name: "right-chevron",
4362
- className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
4363
- }
4364
- ),
4365
- fileIcon,
4366
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
4367
- var _a2;
4368
- return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
4369
- }, children: node.label })
4370
- ] }),
4371
- isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
4372
- ]
4373
- }
4374
- );
4375
- });
4341
+ var TreeNodeItem = (0, import_react.forwardRef)(
4342
+ ({ node, depth, fileIcon, isLoading, classNames }, ref) => {
4343
+ var _a;
4344
+ const [isOpen, setIsOpen] = (0, import_react.useState)(false);
4345
+ const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4346
+ const toggleOpen = (0, import_react.useCallback)(() => {
4347
+ setIsOpen((prev) => !prev);
4348
+ }, []);
4349
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4350
+ "div",
4351
+ {
4352
+ ref,
4353
+ className: clsx(
4354
+ depth > 1 ? "ml-[30px]" : "",
4355
+ "transition-all duration-150 ease-out",
4356
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
4357
+ ),
4358
+ children: [
4359
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
4360
+ node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4361
+ Icon_default,
4362
+ {
4363
+ name: "right-chevron",
4364
+ className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
4365
+ }
4366
+ ),
4367
+ fileIcon,
4368
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
4369
+ var _a2;
4370
+ return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
4371
+ }, children: node.label })
4372
+ ] }),
4373
+ isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
4374
+ ]
4375
+ }
4376
+ );
4377
+ }
4378
+ );
4376
4379
  var Tree = (0, import_react.forwardRef)(
4377
- ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }) => {
4380
+ ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }, ref) => {
4378
4381
  const { label, data, onClick } = group;
4379
4382
  const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4380
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
4383
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
4381
4384
  headerContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: headerContent }),
4382
4385
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
4383
4386
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-K4QY2F5J.mjs";
5
+ } from "../../chunk-TEQ723QO.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-HWL7TPUN.mjs";
8
8
  import "../../chunk-3IU2RPSM.mjs";
@@ -4336,46 +4336,49 @@ function toVal(mix) {
4336
4336
 
4337
4337
  // src/components/tree/tree.tsx
4338
4338
  var import_jsx_runtime3 = require("react/jsx-runtime");
4339
- var TreeNodeItem = (0, import_react.forwardRef)(({ node, depth, fileIcon, isLoading, classNames }) => {
4340
- var _a;
4341
- const [isOpen, setIsOpen] = (0, import_react.useState)(false);
4342
- const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4343
- const toggleOpen = (0, import_react.useCallback)(() => {
4344
- setIsOpen((prev) => !prev);
4345
- }, []);
4346
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4347
- "div",
4348
- {
4349
- className: clsx(
4350
- depth > 1 ? "ml-[30px]" : "",
4351
- "transition-all duration-150 ease-out",
4352
- isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
4353
- ),
4354
- children: [
4355
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
4356
- node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4357
- Icon_default,
4358
- {
4359
- name: "right-chevron",
4360
- className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
4361
- }
4362
- ),
4363
- fileIcon,
4364
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
4365
- var _a2;
4366
- return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
4367
- }, children: node.label })
4368
- ] }),
4369
- isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
4370
- ]
4371
- }
4372
- );
4373
- });
4339
+ var TreeNodeItem = (0, import_react.forwardRef)(
4340
+ ({ node, depth, fileIcon, isLoading, classNames }, ref) => {
4341
+ var _a;
4342
+ const [isOpen, setIsOpen] = (0, import_react.useState)(false);
4343
+ const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4344
+ const toggleOpen = (0, import_react.useCallback)(() => {
4345
+ setIsOpen((prev) => !prev);
4346
+ }, []);
4347
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4348
+ "div",
4349
+ {
4350
+ ref,
4351
+ className: clsx(
4352
+ depth > 1 ? "ml-[30px]" : "",
4353
+ "transition-all duration-150 ease-out",
4354
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
4355
+ ),
4356
+ children: [
4357
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
4358
+ node.children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
4359
+ Icon_default,
4360
+ {
4361
+ name: "right-chevron",
4362
+ className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
4363
+ }
4364
+ ),
4365
+ fileIcon,
4366
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
4367
+ var _a2;
4368
+ return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
4369
+ }, children: node.label })
4370
+ ] }),
4371
+ isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
4372
+ ]
4373
+ }
4374
+ );
4375
+ }
4376
+ );
4374
4377
  var Tree = (0, import_react.forwardRef)(
4375
- ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }) => {
4378
+ ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }, ref) => {
4376
4379
  const { label, data, onClick } = group;
4377
4380
  const slots = (0, import_react.useMemo)(() => treeStyle(), []);
4378
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
4381
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
4379
4382
  headerContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: headerContent }),
4380
4383
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { children: [
4381
4384
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  tree_default
4
- } from "../../chunk-K4QY2F5J.mjs";
4
+ } from "../../chunk-TEQ723QO.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-HWL7TPUN.mjs";
7
7
  import "../../chunk-3IU2RPSM.mjs";
package/dist/index.js CHANGED
@@ -5773,7 +5773,7 @@ var buttonGroup = tv({
5773
5773
 
5774
5774
  // src/components/breadcrumb/breadcrumb.tsx
5775
5775
  var import_jsx_runtime10 = require("react/jsx-runtime");
5776
- var BreadcrumbMenu = (0, import_react8.forwardRef)(({ label, onClick, isCurrent, size }) => {
5776
+ var BreadcrumbMenu = ({ label, onClick, isCurrent, size }) => {
5777
5777
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
5778
5778
  text_button_default,
5779
5779
  {
@@ -5786,7 +5786,7 @@ var BreadcrumbMenu = (0, import_react8.forwardRef)(({ label, onClick, isCurrent,
5786
5786
  children: label
5787
5787
  }
5788
5788
  );
5789
- });
5789
+ };
5790
5790
  var Breadcrumb = (0, import_react8.forwardRef)(({ startIconName, size, menus, classNames }, ref) => {
5791
5791
  const slots = (0, import_react8.useMemo)(() => breadcrumbStyle({ size }), [size]);
5792
5792
  const renderMenus = (menus2) => {
@@ -10001,46 +10001,49 @@ var dateTimePickerStyle = tv({
10001
10001
  // src/components/tree/tree.tsx
10002
10002
  var import_react34 = require("react");
10003
10003
  var import_jsx_runtime34 = require("react/jsx-runtime");
10004
- var TreeNodeItem = (0, import_react34.forwardRef)(({ node, depth, fileIcon, isLoading, classNames }) => {
10005
- var _a;
10006
- const [isOpen, setIsOpen] = (0, import_react34.useState)(false);
10007
- const slots = (0, import_react34.useMemo)(() => treeStyle(), []);
10008
- const toggleOpen = (0, import_react34.useCallback)(() => {
10009
- setIsOpen((prev) => !prev);
10010
- }, []);
10011
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
10012
- "div",
10013
- {
10014
- className: clsx(
10015
- depth > 1 ? "ml-[30px]" : "",
10016
- "transition-all duration-150 ease-out",
10017
- isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
10018
- ),
10019
- children: [
10020
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
10021
- node.children && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
10022
- Icon_default,
10023
- {
10024
- name: "right-chevron",
10025
- className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
10026
- }
10027
- ),
10028
- fileIcon,
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 })
10033
- ] }),
10034
- isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
10035
- ]
10036
- }
10037
- );
10038
- });
10004
+ var TreeNodeItem = (0, import_react34.forwardRef)(
10005
+ ({ node, depth, fileIcon, isLoading, classNames }, ref) => {
10006
+ var _a;
10007
+ const [isOpen, setIsOpen] = (0, import_react34.useState)(false);
10008
+ const slots = (0, import_react34.useMemo)(() => treeStyle(), []);
10009
+ const toggleOpen = (0, import_react34.useCallback)(() => {
10010
+ setIsOpen((prev) => !prev);
10011
+ }, []);
10012
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
10013
+ "div",
10014
+ {
10015
+ ref,
10016
+ className: clsx(
10017
+ depth > 1 ? "ml-[30px]" : "",
10018
+ "transition-all duration-150 ease-out",
10019
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
10020
+ ),
10021
+ children: [
10022
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
10023
+ node.children && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
10024
+ Icon_default,
10025
+ {
10026
+ name: "right-chevron",
10027
+ className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
10028
+ }
10029
+ ),
10030
+ fileIcon,
10031
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
10032
+ var _a2;
10033
+ return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
10034
+ }, children: node.label })
10035
+ ] }),
10036
+ isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
10037
+ ]
10038
+ }
10039
+ );
10040
+ }
10041
+ );
10039
10042
  var Tree = (0, import_react34.forwardRef)(
10040
- ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }) => {
10043
+ ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }, ref) => {
10041
10044
  const { label, data, onClick } = group;
10042
10045
  const slots = (0, import_react34.useMemo)(() => treeStyle(), []);
10043
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
10046
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
10044
10047
  headerContent && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("div", { children: headerContent }),
10045
10048
  /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { children: [
10046
10049
  /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
package/dist/index.mjs CHANGED
@@ -1,18 +1,29 @@
1
1
  "use client";
2
- import "./chunk-QCEKPS7U.mjs";
2
+ import "./chunk-MBLZYQCN.mjs";
3
3
  import {
4
- select_default
5
- } from "./chunk-MSAULFDB.mjs";
4
+ tree_default
5
+ } from "./chunk-TEQ723QO.mjs";
6
+ import "./chunk-LUWGOKLG.mjs";
7
+ import {
8
+ ToastProvider,
9
+ useToast
10
+ } from "./chunk-YBDA3WQP.mjs";
11
+ import "./chunk-ZOTHPHXA.mjs";
12
+ import {
13
+ toast_default
14
+ } from "./chunk-OUAKGMDW.mjs";
6
15
  import "./chunk-HIE2YRGA.mjs";
7
16
  import {
8
17
  tooltip_default
9
18
  } from "./chunk-Z2537DF6.mjs";
10
19
  import "./chunk-ZMOAFSYE.mjs";
11
20
  import "./chunk-WSIADHVC.mjs";
12
- import "./chunk-MBLZYQCN.mjs";
21
+ import "./chunk-DX3KXNP6.mjs";
13
22
  import {
14
- tree_default
15
- } from "./chunk-K4QY2F5J.mjs";
23
+ table_default
24
+ } from "./chunk-6OMHIMIA.mjs";
25
+ import "./chunk-XRC5OUYQ.mjs";
26
+ import "./chunk-EAK5DVWA.mjs";
16
27
  import "./chunk-3MY6LO7N.mjs";
17
28
  import {
18
29
  tabs_default
@@ -21,32 +32,21 @@ import "./chunk-RRAZM5D3.mjs";
21
32
  import {
22
33
  textarea_default
23
34
  } from "./chunk-BKE6QF6W.mjs";
35
+ import "./chunk-DQRAFUDA.mjs";
36
+ import {
37
+ scrollArea_default
38
+ } from "./chunk-M37VBNB3.mjs";
39
+ import "./chunk-QCEKPS7U.mjs";
40
+ import {
41
+ select_default
42
+ } from "./chunk-MSAULFDB.mjs";
24
43
  import "./chunk-LVFI2NOH.mjs";
25
44
  import {
26
45
  switch_default
27
46
  } from "./chunk-Z74QNVPG.mjs";
28
- import "./chunk-LUWGOKLG.mjs";
29
- import {
30
- ToastProvider,
31
- useToast
32
- } from "./chunk-UAHTRCKG.mjs";
33
- import {
34
- toast_default
35
- } from "./chunk-OUAKGMDW.mjs";
36
- import "./chunk-ZOTHPHXA.mjs";
37
- import "./chunk-DX3KXNP6.mjs";
38
47
  import {
39
48
  form_table_default
40
49
  } from "./chunk-ICZTNO4V.mjs";
41
- import {
42
- table_default
43
- } from "./chunk-6EU5GUL5.mjs";
44
- import "./chunk-DQRAFUDA.mjs";
45
- import {
46
- scrollArea_default
47
- } from "./chunk-M37VBNB3.mjs";
48
- import "./chunk-XRC5OUYQ.mjs";
49
- import "./chunk-EAK5DVWA.mjs";
50
50
  import "./chunk-7B7LRG5J.mjs";
51
51
  import {
52
52
  pagination_default
@@ -98,7 +98,7 @@ import {
98
98
  import "./chunk-KYIODWXL.mjs";
99
99
  import {
100
100
  breadcrumb_default
101
- } from "./chunk-Y27H2AMV.mjs";
101
+ } from "./chunk-IRAHS4WS.mjs";
102
102
  import "./chunk-MY5U63QO.mjs";
103
103
  import {
104
104
  button_group_default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.25",
3
+ "version": "0.1.26",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -1,99 +0,0 @@
1
- "use client";
2
- import {
3
- Icon_default
4
- } from "./chunk-HWL7TPUN.mjs";
5
- import {
6
- tv
7
- } from "./chunk-4ZJFD3L3.mjs";
8
- import {
9
- clsx
10
- } from "./chunk-27Y6K5NK.mjs";
11
-
12
- // src/components/tree/tree.tsx
13
- import { forwardRef, useMemo, useState, useCallback } from "react";
14
- import { jsx, jsxs } from "react/jsx-runtime";
15
- var TreeNodeItem = forwardRef(({ node, depth, fileIcon, isLoading, classNames }) => {
16
- var _a;
17
- const [isOpen, setIsOpen] = useState(false);
18
- const slots = useMemo(() => treeStyle(), []);
19
- const toggleOpen = useCallback(() => {
20
- setIsOpen((prev) => !prev);
21
- }, []);
22
- return /* @__PURE__ */ jsxs(
23
- "div",
24
- {
25
- className: clsx(
26
- depth > 1 ? "ml-[30px]" : "",
27
- "transition-all duration-150 ease-out",
28
- isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
29
- ),
30
- children: [
31
- /* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), onClick: toggleOpen, children: [
32
- node.children && /* @__PURE__ */ jsx(
33
- Icon_default,
34
- {
35
- name: "right-chevron",
36
- className: `text-neutral-main cursor-pointer transition-transform duration-150 ${isOpen ? "rotate-90" : "rotate-0"}`
37
- }
38
- ),
39
- fileIcon,
40
- /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick: () => {
41
- var _a2;
42
- return (_a2 = node.onClick) == null ? void 0 : _a2.call(node);
43
- }, children: node.label })
44
- ] }),
45
- isOpen && ((_a = node.children) == null ? void 0 : _a.map((child) => /* @__PURE__ */ jsx(TreeNodeItem, { node: child, depth: depth + 1, classNames, fileIcon }, child.id)))
46
- ]
47
- }
48
- );
49
- });
50
- var Tree = forwardRef(
51
- ({ headerContent, group, groupIcon, fileIcon, isLoading, classNames }) => {
52
- const { label, data, onClick } = group;
53
- const slots = useMemo(() => treeStyle(), []);
54
- return /* @__PURE__ */ jsxs("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
55
- headerContent && /* @__PURE__ */ jsx("div", { children: headerContent }),
56
- /* @__PURE__ */ jsxs("div", { children: [
57
- /* @__PURE__ */ jsxs("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
58
- groupIcon,
59
- /* @__PURE__ */ jsx("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), onClick, children: label })
60
- ] }),
61
- data.map((node) => /* @__PURE__ */ jsx(
62
- TreeNodeItem,
63
- {
64
- node,
65
- depth: 1,
66
- classNames,
67
- fileIcon,
68
- isLoading
69
- },
70
- node.id
71
- ))
72
- ] })
73
- ] });
74
- }
75
- );
76
- TreeNodeItem.displayName = "TreeNodeItem";
77
- Tree.displayName = "Tree";
78
- var tree_default = Tree;
79
- var treeStyle = tv({
80
- slots: {
81
- base: ["border", "border-neutral-light", "rounded-xl", "p-[20px]", "flex", "flex-col", "gap-[20px]", "select-none"],
82
- wrapper: [
83
- "flex",
84
- "items-center",
85
- "gap-[5px]",
86
- "text-md",
87
- "font-bold",
88
- "text-body-foreground",
89
- "hover:bg-neutral-soft",
90
- "p-[5px]",
91
- "rounded-[5px]"
92
- ],
93
- label: ["cursor-pointer"]
94
- }
95
- });
96
-
97
- export {
98
- tree_default
99
- };
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import {
3
- scrollArea_default
4
- } from "./chunk-M37VBNB3.mjs";
5
2
  import {
6
3
  table_body_default
7
4
  } from "./chunk-XRC5OUYQ.mjs";
8
5
  import {
9
6
  table_head_default
10
7
  } from "./chunk-EAK5DVWA.mjs";
8
+ import {
9
+ scrollArea_default
10
+ } from "./chunk-M37VBNB3.mjs";
11
11
  import {
12
12
  pagination_default
13
13
  } from "./chunk-IVK24VIL.mjs";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import {
3
- toast_default
4
- } from "./chunk-OUAKGMDW.mjs";
5
2
  import {
6
3
  getToastPosition
7
4
  } from "./chunk-ZOTHPHXA.mjs";
5
+ import {
6
+ toast_default
7
+ } from "./chunk-OUAKGMDW.mjs";
8
8
 
9
9
  // src/components/toast/use-toast.tsx
10
10
  import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";