@deepnoid/ui 0.1.39 → 0.1.41

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/utils/clsx.ts, src/utils/props.ts, src/utils/tailwind-variants.ts, src/utils/types.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/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/fileUpload/fileUpload.tsx, src/components/fileUpload/index.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/skeleton/index.ts, src/components/skeleton/skeleton.tsx, src/components/switch/index.ts, src/components/switch/switch.tsx, src/components/table/definition-table.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
3
+ CLI Building entry: src/index.ts, src/utils/clsx.ts, src/utils/props.ts, src/utils/tailwind-variants.ts, src/utils/types.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/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/fileUpload/fileUpload.tsx, src/components/fileUpload/index.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/skeleton/index.ts, src/components/skeleton/skeleton.tsx, src/components/tabs/index.ts, src/components/tabs/tabs.tsx, src/components/table/definition-table.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/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,245 +11,245 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
11
11
  DTS Build start
12
12
  ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
13
13
  ESM dist/utils/clsx.mjs 113.00 B
14
+ ESM dist/index.mjs 4.01 KB
14
15
  ESM dist/chunk-HIE2YRGA.mjs 14.00 B
16
+ ESM dist/chunk-IL5ENWCR.mjs 4.17 KB
17
+ ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
15
18
  ESM dist/chunk-MBLZYQCN.mjs 14.00 B
16
- ESM dist/index.mjs 4.01 KB
17
- ESM dist/chunk-3MY6LO7N.mjs 14.00 B
18
- ESM dist/chunk-WSIADHVC.mjs 3.80 KB
19
19
  ESM dist/chunk-WPIFIRCJ.mjs 5.60 KB
20
- ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
21
- ESM dist/chunk-SSMMWMQC.mjs 6.14 KB
22
- ESM dist/chunk-IL5ENWCR.mjs 4.17 KB
23
20
  ESM dist/chunk-RRAZM5D3.mjs 14.00 B
24
- ESM dist/chunk-4EIGHKUO.mjs 9.14 KB
25
21
  ESM dist/chunk-LUWGOKLG.mjs 14.00 B
22
+ ESM dist/chunk-4EIGHKUO.mjs 9.14 KB
26
23
  ESM dist/chunk-BB7MFKNQ.mjs 2.58 KB
27
24
  ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
28
- ESM dist/chunk-LVFI2NOH.mjs 14.00 B
25
+ ESM dist/chunk-WSIADHVC.mjs 3.80 KB
26
+ ESM dist/chunk-3MY6LO7N.mjs 14.00 B
29
27
  ESM dist/chunk-7W2ZI2DD.mjs 4.10 KB
30
28
  ESM dist/chunk-DX3KXNP6.mjs 14.00 B
31
- ESM dist/chunk-Z74QNVPG.mjs 4.04 KB
32
29
  ESM dist/chunk-MFRYYZPY.mjs 3.55 KB
33
- ESM dist/chunk-DQRAFUDA.mjs 14.00 B
30
+ ESM dist/chunk-4LOREVB7.mjs 8.00 KB
31
+ ESM dist/chunk-SBL6IHEW.mjs 2.53 KB
32
+ ESM dist/chunk-MZ76AA76.mjs 14.00 B
33
+ ESM dist/chunk-6PN3DGOE.mjs 1.78 KB
34
34
  ESM dist/chunk-6TIIBU7J.mjs 1.58 KB
35
+ ESM dist/chunk-SSMMWMQC.mjs 6.14 KB
35
36
  ESM dist/chunk-M37VBNB3.mjs 1.04 KB
36
37
  ESM dist/chunk-QCEKPS7U.mjs 14.00 B
37
- ESM dist/chunk-MZ76AA76.mjs 14.00 B
38
- ESM dist/chunk-4LOREVB7.mjs 8.00 KB
38
+ ESM dist/chunk-LVFI2NOH.mjs 14.00 B
39
+ ESM dist/chunk-DQRAFUDA.mjs 14.00 B
40
+ ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
39
41
  ESM dist/chunk-DJOG6Z35.mjs 14.00 B
40
- ESM dist/chunk-6PN3DGOE.mjs 1.78 KB
41
- ESM dist/chunk-ZLY2HICQ.mjs 12.34 KB
42
+ ESM dist/chunk-AJUQBMSV.mjs 4.18 KB
43
+ ESM dist/chunk-HVKEPI7R.mjs 12.75 KB
42
44
  ESM dist/chunk-LR3SWRB4.mjs 4.40 KB
43
45
  ESM dist/chunk-7B7LRG5J.mjs 14.00 B
44
- ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
45
- ESM dist/chunk-F3HENRVM.mjs 934.00 B
46
46
  ESM dist/chunk-TPFN22HR.mjs 14.00 B
47
47
  ESM dist/chunk-RLXOHILK.mjs 14.00 B
48
48
  ESM dist/chunk-MGEWSREV.mjs 14.00 B
49
- ESM dist/chunk-SBL6IHEW.mjs 2.53 KB
50
49
  ESM dist/chunk-33LANVZV.mjs 5.07 KB
50
+ ESM dist/chunk-F3HENRVM.mjs 934.00 B
51
51
  ESM dist/chunk-75HLCORR.mjs 14.00 B
52
- ESM dist/chunk-ZSG4NGLK.mjs 8.19 KB
53
- ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
54
- ESM dist/chunk-QJJKJYNR.mjs 4.42 KB
55
52
  ESM dist/chunk-X6D7C7QZ.mjs 7.40 KB
56
- ESM dist/chunk-ECMBAKSJ.mjs 11.03 KB
57
53
  ESM dist/chunk-UFVQPPPW.mjs 1.27 KB
54
+ ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
58
55
  ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
56
+ ESM dist/chunk-ECMBAKSJ.mjs 11.03 KB
59
57
  ESM dist/chunk-P732YGHO.mjs 444.00 B
60
58
  ESM dist/chunk-W45H2ZMW.mjs 7.20 KB
59
+ ESM dist/chunk-QJJKJYNR.mjs 4.42 KB
61
60
  ESM dist/chunk-2GCSFWHD.mjs 14.00 B
61
+ ESM dist/chunk-ZSG4NGLK.mjs 8.19 KB
62
62
  ESM dist/chunk-O6YBE7V3.mjs 4.60 KB
63
- ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
64
- ESM dist/chunk-7DLOYKVC.mjs 14.00 B
65
63
  ESM dist/chunk-YLRYHUTW.mjs 6.55 KB
66
64
  ESM dist/chunk-Y6XQTWB5.mjs 4.03 KB
67
- ESM dist/chunk-SP3JVQY3.mjs 1.65 KB
65
+ ESM dist/chunk-7DLOYKVC.mjs 14.00 B
68
66
  ESM dist/chunk-SE5TU755.mjs 14.00 B
69
- ESM dist/chunk-R62HK726.mjs 12.59 KB
67
+ ESM dist/chunk-SP3JVQY3.mjs 1.65 KB
68
+ ESM dist/chunk-P5QCU457.mjs 778.00 B
69
+ ESM dist/chunk-III2QUWF.mjs 2.77 KB
70
70
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
71
71
  ESM dist/chunk-MY5U63QO.mjs 14.00 B
72
- ESM dist/chunk-P5QCU457.mjs 778.00 B
72
+ ESM dist/chunk-R62HK726.mjs 12.59 KB
73
73
  ESM dist/chunk-LPZOH3RP.mjs 700.00 B
74
- ESM dist/chunk-III2QUWF.mjs 2.77 KB
75
74
  ESM dist/chunk-6WSACUIB.mjs 14.00 B
75
+ ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
76
+ ESM dist/chunk-6K3E5BVO.mjs 9.25 KB
76
77
  ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
77
78
  ESM dist/chunk-2PKM7SLZ.mjs 3.68 KB
78
79
  ESM dist/chunk-7J3KVOTS.mjs 10.86 KB
79
- ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
80
- ESM dist/chunk-6K3E5BVO.mjs 9.25 KB
81
- ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
80
+ ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
82
81
  ESM dist/chunk-2TKEWFGH.mjs 929.00 B
83
- ESM dist/utils/props.mjs 137.00 B
84
- ESM dist/chunk-27Y6K5NK.mjs 823.00 B
85
- ESM dist/utils/tailwind-variants.mjs 109.00 B
86
82
  ESM dist/chunk-E3G5QXSH.mjs 608.00 B
83
+ ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
84
+ ESM dist/utils/props.mjs 137.00 B
87
85
  ESM dist/utils/types.mjs 14.00 B
86
+ ESM dist/utils/tailwind-variants.mjs 109.00 B
87
+ ESM dist/chunk-27Y6K5NK.mjs 823.00 B
88
88
  ESM dist/fonts/NanumSquare_acB.mjs 194.00 B
89
- ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
90
- ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
91
89
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
92
- ESM dist/fonts/font.css 777.00 B
93
90
  ESM dist/chunk-4ZJFD3L3.mjs 14.50 KB
91
+ ESM dist/fonts/font.css 777.00 B
92
+ ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
93
+ ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
94
+ ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
94
95
  ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
95
96
  ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
96
- ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
97
97
  ESM dist/chunk-2SDYFOZL.mjs 339.13 KB
98
98
  ESM dist/components/toast/use-toast.mjs 441.00 B
99
- ESM dist/components/tooltip/index.mjs 327.00 B
100
- ESM dist/components/table/table.mjs 813.00 B
101
- ESM dist/components/tree/index.mjs 353.00 B
102
- ESM dist/components/tabs/tabs.mjs 232.00 B
103
- ESM dist/components/switch/index.mjs 219.00 B
104
- ESM dist/components/skeleton/skeleton.mjs 189.00 B
105
- ESM dist/components/select/index.mjs 394.00 B
99
+ ESM dist/components/tooltip/tooltip.mjs 292.00 B
100
+ ESM dist/components/tree/tree.mjs 337.00 B
101
+ ESM dist/components/table/table-body.mjs 403.00 B
102
+ ESM dist/components/textarea/index.mjs 260.00 B
103
+ ESM dist/components/switch/switch.mjs 185.00 B
104
+ ESM dist/components/skeleton/index.mjs 225.00 B
105
+ ESM dist/components/tabs/index.mjs 248.00 B
106
+ ESM dist/components/ripple/ripple.mjs 150.00 B
106
107
  ESM dist/components/scroll/index.mjs 231.00 B
107
- ESM dist/components/ripple/index.mjs 253.00 B
108
+ ESM dist/components/select/index.mjs 394.00 B
108
109
  ESM dist/components/list/listItem.mjs 364.00 B
109
110
  ESM dist/components/modal/index.mjs 741.00 B
110
- ESM dist/components/pagination/index.mjs 511.00 B
111
- ESM dist/components/radio/index.mjs 286.00 B
111
+ ESM dist/components/radio/radio.mjs 253.00 B
112
+ ESM dist/components/pagination/pagination.mjs 511.00 B
112
113
  ESM dist/components/fileUpload/index.mjs 756.00 B
113
- ESM dist/components/chip/index.mjs 353.00 B
114
- ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
115
114
  ESM dist/components/icon/Icon.mjs 213.00 B
115
+ ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
116
116
  ESM dist/components/button/button-group.mjs 197.00 B
117
117
  ESM dist/components/checkbox/checkbox.mjs 259.00 B
118
118
  ESM dist/components/avatar/avatar.mjs 220.00 B
119
- ESM dist/components/backdrop/backdrop.mjs 224.00 B
120
- ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
121
- ESM dist/components/textarea/index.mjs 260.00 B
119
+ ESM dist/components/chip/index.mjs 353.00 B
122
120
  ESM dist/components/input/index.mjs 391.00 B
123
- ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
124
- ESM dist/components/tooltip/tooltip.mjs 292.00 B
125
- ESM dist/components/tree/tree.mjs 337.00 B
121
+ ESM dist/components/backdrop/backdrop.mjs 224.00 B
122
+ ESM dist/components/breadcrumb/index.mjs 686.00 B
126
123
  ESM dist/components/tooltip/useTooltip.mjs 166.00 B
127
- ESM dist/components/table/definition-table.mjs 205.00 B
128
- ESM dist/components/switch/switch.mjs 185.00 B
129
- ESM dist/components/table/form-table.mjs 1.92 KB
130
- ESM dist/components/table/index.mjs 964.00 B
124
+ ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
125
+ ESM dist/components/tree/index.mjs 353.00 B
126
+ ESM dist/components/table/table-head.mjs 403.00 B
127
+ ESM dist/components/tooltip/index.mjs 327.00 B
128
+ ESM dist/components/table/table.mjs 813.00 B
131
129
  ESM dist/components/textarea/textarea.mjs 224.00 B
132
130
  ESM dist/components/toast/index.mjs 527.00 B
133
- ESM dist/components/table/table-body.mjs 403.00 B
134
131
  ESM dist/components/toast/toast-utils.mjs 143.00 B
135
- ESM dist/components/tabs/index.mjs 248.00 B
136
- ESM dist/components/ripple/ripple.mjs 150.00 B
137
- ESM dist/components/ripple/useRipple.mjs 158.00 B
138
- ESM dist/components/scroll/scrollArea.mjs 193.00 B
139
- ESM dist/components/table/table-head.mjs 403.00 B
132
+ ESM dist/components/skeleton/skeleton.mjs 189.00 B
133
+ ESM dist/components/toast/toast.mjs 358.00 B
134
+ ESM dist/components/table/form-table.mjs 1.92 KB
135
+ ESM dist/components/tabs/tabs.mjs 232.00 B
136
+ ESM dist/components/table/definition-table.mjs 205.00 B
137
+ ESM dist/components/table/index.mjs 964.00 B
140
138
  ESM dist/components/select/select.mjs 360.00 B
141
- ESM dist/components/skeleton/index.mjs 225.00 B
139
+ ESM dist/components/switch/index.mjs 219.00 B
140
+ ESM dist/components/scroll/scrollArea.mjs 193.00 B
141
+ ESM dist/components/ripple/useRipple.mjs 158.00 B
142
+ ESM dist/components/ripple/index.mjs 253.00 B
142
143
  ESM dist/components/modal/modal.mjs 708.00 B
143
144
  ESM dist/components/pagination/usePagination.mjs 164.00 B
144
- ESM dist/components/radio/radio.mjs 253.00 B
145
- ESM dist/components/pagination/pagination.mjs 511.00 B
146
- ESM dist/components/icon/template.mjs 127.00 B
145
+ ESM dist/components/pagination/index.mjs 511.00 B
146
+ ESM dist/components/radio/index.mjs 286.00 B
147
147
  ESM dist/components/icon/index.mjs 245.00 B
148
148
  ESM dist/components/input/input.mjs 386.00 B
149
149
  ESM dist/components/list/list.mjs 216.00 B
150
- ESM dist/components/fileUpload/fileUpload.mjs 784.00 B
151
150
  ESM dist/components/list/index.mjs 483.00 B
152
- ESM dist/components/button/index.mjs 811.00 B
153
151
  ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
154
- ESM dist/components/button/text-button.mjs 265.00 B
155
152
  ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
156
- ESM dist/components/button/button.mjs 430.00 B
157
- ESM dist/components/chip/chip.mjs 321.00 B
158
153
  ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
159
- ESM dist/components/checkbox/index.mjs 295.00 B
160
- ESM dist/components/button/icon-button.mjs 440.00 B
161
- ESM dist/components/dateTimePicker/index.mjs 663.00 B
162
- ESM dist/components/avatar/index.mjs 254.00 B
154
+ ESM dist/components/icon/template.mjs 127.00 B
163
155
  ESM dist/components/dateTimePicker/util.mjs 191.00 B
156
+ ESM dist/components/dateTimePicker/index.mjs 663.00 B
157
+ ESM dist/components/button/button.mjs 430.00 B
158
+ ESM dist/components/checkbox/index.mjs 295.00 B
159
+ ESM dist/components/button/text-button.mjs 265.00 B
160
+ ESM dist/components/button/index.mjs 811.00 B
164
161
  ESM dist/components/backdrop/index.mjs 260.00 B
165
- ESM dist/components/breadcrumb/index.mjs 686.00 B
166
- ESM dist/components/toast/toast.mjs 358.00 B
167
- ESM ⚡️ Build success in 391ms
162
+ ESM dist/components/chip/chip.mjs 321.00 B
163
+ ESM dist/components/avatar/index.mjs 254.00 B
164
+ ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
165
+ ESM dist/components/fileUpload/fileUpload.mjs 784.00 B
166
+ ESM dist/components/button/icon-button.mjs 440.00 B
167
+ ESM ⚡️ Build success in 416ms
168
168
  CJS dist/utils/clsx.js 1.77 KB
169
169
  CJS dist/utils/props.js 1.59 KB
170
- CJS dist/utils/types.js 778.00 B
171
170
  CJS dist/utils/tailwind-variants.js 7.91 KB
171
+ CJS dist/utils/types.js 778.00 B
172
+ CJS dist/fonts/NanumSquare_acEB.js 116.00 B
172
173
  CJS dist/fonts/NanumSquare_acB.js 113.00 B
173
174
  CJS dist/fonts/NanumSquare_acL.js 113.00 B
174
- CJS dist/fonts/NanumSquare_acEB.js 116.00 B
175
- CJS dist/components/backdrop/backdrop.js 9.31 KB
176
- CJS dist/components/backdrop/index.js 9.45 KB
175
+ CJS dist/fonts/NanumSquare_acR.js 113.00 B
177
176
  CJS dist/components/avatar/avatar.js 359.13 KB
178
177
  CJS dist/components/avatar/index.js 359.26 KB
179
- CJS dist/fonts/NanumSquare_acR.js 113.00 B
180
- CJS dist/fonts/font.css 777.00 B
178
+ CJS dist/components/backdrop/backdrop.js 9.31 KB
179
+ CJS dist/components/backdrop/index.js 9.45 KB
181
180
  CJS dist/components/button/button-group.js 8.54 KB
182
181
  CJS dist/components/breadcrumb/breadcrumb.js 366.12 KB
183
182
  CJS dist/components/breadcrumb/index.js 366.26 KB
184
- CJS dist/components/checkbox/index.js 15.90 KB
183
+ CJS dist/components/button/button.js 372.31 KB
185
184
  CJS dist/components/button/text-button.js 12.75 KB
185
+ CJS dist/components/checkbox/checkbox.js 15.76 KB
186
186
  CJS dist/components/button/icon-button.js 370.65 KB
187
187
  CJS dist/components/button/index.js 386.82 KB
188
- CJS dist/components/button/button.js 372.31 KB
189
- CJS dist/components/checkbox/checkbox.js 15.76 KB
190
188
  CJS dist/components/chip/chip.js 362.82 KB
191
189
  CJS dist/components/chip/index.js 362.94 KB
190
+ CJS dist/components/dateTimePicker/dateTimePicker.js 396.18 KB
192
191
  CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
192
+ CJS dist/components/dateTimePicker/index.js 396.18 KB
193
193
  CJS dist/components/dateTimePicker/util.js 1.48 KB
194
- CJS dist/components/dateTimePicker/dateTimePicker.js 396.18 KB
195
194
  CJS dist/components/dateTimePicker/calendar.js 366.92 KB
196
- CJS dist/components/dateTimePicker/index.js 396.18 KB
197
195
  CJS dist/components/dateTimePicker/timePicker.js 374.06 KB
198
196
  CJS dist/components/fileUpload/fileUpload.js 400.04 KB
199
197
  CJS dist/components/fileUpload/index.js 399.99 KB
198
+ CJS dist/components/checkbox/index.js 15.90 KB
200
199
  CJS dist/components/icon/Icon.js 351.64 KB
201
- CJS dist/components/icon/template.js 350.72 KB
202
200
  CJS dist/components/icon/index.js 351.65 KB
203
201
  CJS dist/components/list/list.js 9.58 KB
204
- CJS dist/components/input/input.js 372.55 KB
205
202
  CJS dist/components/input/index.js 372.55 KB
203
+ CJS dist/components/input/input.js 372.55 KB
204
+ CJS dist/fonts/font.css 777.00 B
206
205
  CJS dist/components/list/index.js 369.58 KB
207
- CJS dist/components/list/listItem.js 367.74 KB
208
206
  CJS dist/components/modal/index.js 378.37 KB
207
+ CJS dist/components/list/listItem.js 367.74 KB
208
+ CJS dist/components/modal/modal.js 378.24 KB
209
209
  CJS dist/components/radio/index.js 14.36 KB
210
- CJS dist/components/pagination/pagination.js 381.73 KB
211
- CJS dist/components/ripple/index.js 3.65 KB
210
+ CJS dist/components/pagination/usePagination.js 1.88 KB
211
+ CJS dist/components/radio/radio.js 14.23 KB
212
212
  CJS dist/components/ripple/ripple.js 2.57 KB
213
- CJS dist/components/ripple/useRipple.js 2.04 KB
214
213
  CJS dist/components/scroll/index.js 2.92 KB
215
- CJS dist/components/radio/radio.js 14.23 KB
216
- CJS dist/components/scroll/scrollArea.js 2.79 KB
214
+ CJS dist/components/ripple/index.js 3.65 KB
215
+ CJS dist/components/ripple/useRipple.js 2.04 KB
217
216
  CJS dist/components/pagination/index.js 381.73 KB
218
- CJS dist/components/skeleton/index.js 3.68 KB
219
- CJS dist/components/pagination/usePagination.js 1.88 KB
217
+ CJS dist/components/pagination/pagination.js 381.73 KB
218
+ CJS dist/components/switch/index.js 5.92 KB
219
+ CJS dist/components/switch/switch.js 5.79 KB
220
220
  CJS dist/components/skeleton/skeleton.js 3.54 KB
221
- CJS dist/components/switch/index.js 5.79 KB
222
- CJS dist/components/switch/switch.js 5.66 KB
221
+ CJS dist/components/scroll/scrollArea.js 2.79 KB
222
+ CJS dist/components/skeleton/index.js 3.68 KB
223
+ CJS dist/components/tabs/index.js 14.72 KB
224
+ CJS dist/components/icon/template.js 350.72 KB
225
+ CJS dist/components/tabs/tabs.js 14.71 KB
223
226
  CJS dist/components/table/definition-table.js 9.56 KB
227
+ CJS dist/components/table/form-table.js 9.89 KB
224
228
  CJS dist/components/table/table-body.js 21.25 KB
225
- CJS dist/components/modal/modal.js 378.24 KB
226
229
  CJS dist/components/table/table-head.js 20.16 KB
227
- CJS dist/components/tabs/index.js 14.72 KB
228
- CJS dist/components/table/form-table.js 9.89 KB
229
- CJS dist/components/select/index.js 372.47 KB
230
+ CJS dist/components/select/index.js 372.90 KB
230
231
  CJS dist/components/textarea/index.js 11.72 KB
231
- CJS dist/components/tabs/tabs.js 14.71 KB
232
- CJS dist/components/select/select.js 372.34 KB
233
232
  CJS dist/components/textarea/textarea.js 11.58 KB
234
233
  CJS dist/components/toast/toast-utils.js 1.85 KB
234
+ CJS dist/components/table/index.js 407.51 KB
235
235
  CJS dist/components/table/table.js 405.61 KB
236
- CJS dist/components/tooltip/index.js 17.80 KB
236
+ CJS dist/components/toast/toast.js 363.73 KB
237
237
  CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
238
- CJS dist/components/toast/index.js 367.37 KB
239
- CJS dist/components/toast/use-toast.js 367.31 KB
238
+ CJS dist/components/tooltip/index.js 17.80 KB
240
239
  CJS dist/components/tooltip/tooltip.js 17.67 KB
241
240
  CJS dist/components/tooltip/useTooltip.js 4.19 KB
242
- CJS dist/components/table/index.js 407.51 KB
243
- CJS dist/components/toast/toast.js 363.73 KB
241
+ CJS dist/components/select/select.js 372.77 KB
242
+ CJS dist/components/toast/index.js 367.37 KB
243
+ CJS dist/components/toast/use-toast.js 367.31 KB
244
+ CJS dist/components/tree/tree.js 365.06 KB
244
245
  CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
246
+ CJS dist/index.js 558.44 KB
245
247
  CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
248
+ CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
246
249
  CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
247
250
  CJS dist/components/tree/index.js 365.07 KB
248
- CJS dist/components/tree/tree.js 365.06 KB
249
- CJS dist/index.js 557.88 KB
250
- CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
251
- CJS ⚡️ Build success in 393ms
252
- DTS ⚡️ Build success in 11872ms
251
+ CJS ⚡️ Build success in 418ms
252
+ DTS ⚡️ Build success in 13874ms
253
253
  DTS dist/index.d.ts 2.54 KB
254
254
  DTS dist/components/button/index.d.ts 415.00 B
255
255
  DTS dist/components/list/index.d.ts 302.00 B
@@ -295,9 +295,9 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
295
295
  DTS dist/components/radio/radio.d.ts 4.96 KB
296
296
  DTS dist/components/ripple/ripple.d.ts 820.00 B
297
297
  DTS dist/components/scroll/scrollArea.d.ts 423.00 B
298
- DTS dist/components/select/select.d.ts 7.94 KB
298
+ DTS dist/components/select/select.d.ts 7.96 KB
299
+ DTS dist/components/switch/switch.d.ts 4.09 KB
299
300
  DTS dist/components/skeleton/skeleton.d.ts 425.00 B
300
- DTS dist/components/switch/switch.d.ts 4.00 KB
301
301
  DTS dist/components/tabs/tabs.d.ts 3.10 KB
302
302
  DTS dist/components/textarea/textarea.d.ts 6.78 KB
303
303
  DTS dist/components/tooltip/tooltip.d.ts 2.16 KB
@@ -323,8 +323,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
323
323
  DTS dist/components/ripple/index.d.ts 157.00 B
324
324
  DTS dist/components/scroll/index.d.ts 101.00 B
325
325
  DTS dist/components/select/index.d.ts 151.00 B
326
- DTS dist/components/skeleton/index.d.ts 81.00 B
327
326
  DTS dist/components/switch/index.d.ts 124.00 B
327
+ DTS dist/components/skeleton/index.d.ts 81.00 B
328
328
  DTS dist/components/tabs/index.d.ts 179.00 B
329
329
  DTS dist/components/textarea/index.d.ts 143.00 B
330
330
  DTS dist/components/tooltip/index.d.ts 182.00 B
@@ -375,9 +375,9 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
375
375
  DTS dist/components/radio/radio.d.mts 4.96 KB
376
376
  DTS dist/components/ripple/ripple.d.mts 821.00 B
377
377
  DTS dist/components/scroll/scrollArea.d.mts 423.00 B
378
- DTS dist/components/select/select.d.mts 7.94 KB
378
+ DTS dist/components/select/select.d.mts 7.97 KB
379
+ DTS dist/components/switch/switch.d.mts 4.09 KB
379
380
  DTS dist/components/skeleton/skeleton.d.mts 425.00 B
380
- DTS dist/components/switch/switch.d.mts 4.00 KB
381
381
  DTS dist/components/tabs/tabs.d.mts 3.11 KB
382
382
  DTS dist/components/textarea/textarea.d.mts 6.78 KB
383
383
  DTS dist/components/tooltip/tooltip.d.mts 2.17 KB
@@ -403,12 +403,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
403
403
  DTS dist/components/ripple/index.d.mts 159.00 B
404
404
  DTS dist/components/scroll/index.d.mts 102.00 B
405
405
  DTS dist/components/select/index.d.mts 153.00 B
406
- DTS dist/components/skeleton/index.d.mts 82.00 B
407
406
  DTS dist/components/switch/index.d.mts 126.00 B
407
+ DTS dist/components/skeleton/index.d.mts 82.00 B
408
408
  DTS dist/components/tabs/index.d.mts 181.00 B
409
409
  DTS dist/components/textarea/index.d.mts 145.00 B
410
410
  DTS dist/components/tooltip/index.d.mts 185.00 B
411
411
  DTS dist/components/tree/index.d.mts 185.00 B
412
412
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
413
413
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
414
- Done in 12.70s.
414
+ Done in 14.72s.
@@ -9,10 +9,25 @@ import { tv } from "tailwind-variants";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  var Switch = forwardRef((originalProps, ref) => {
11
11
  const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
12
- const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
12
+ const { size, color, isDisabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
13
+ ...rawProps,
14
+ ...variantProps
15
+ };
13
16
  const slots = useMemo(() => switchStyle({ ...variantProps }), [variantProps]);
14
17
  return /* @__PURE__ */ jsxs("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
15
- /* @__PURE__ */ jsx("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
18
+ /* @__PURE__ */ jsx(
19
+ "input",
20
+ {
21
+ ...inputProps,
22
+ id,
23
+ ref,
24
+ type: "checkbox",
25
+ disabled: isDisabled,
26
+ className: "hidden",
27
+ checked,
28
+ onChange
29
+ }
30
+ ),
16
31
  /* @__PURE__ */ jsx("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ jsx("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ jsx("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
17
32
  ] });
18
33
  });
@@ -105,9 +105,19 @@ var Select = forwardRef((originalProps, ref) => {
105
105
  isSelected && /* @__PURE__ */ jsx(Icon_default, { name: "check", size: originalProps.size })
106
106
  ] });
107
107
  };
108
+ const isControlled = originalProps.value !== void 0;
108
109
  useEffect(() => {
109
- setSelectedOptions(defaultSelectedOptions);
110
- }, [options]);
110
+ if (isControlled) {
111
+ const valueArray = Array.isArray(originalProps.value) ? originalProps.value : [originalProps.value];
112
+ const matchedOptions = options.filter((opt) => valueArray.includes(opt.value));
113
+ setSelectedOptions(matchedOptions);
114
+ }
115
+ }, [originalProps.value, options]);
116
+ useEffect(() => {
117
+ if (!isControlled) {
118
+ setSelectedOptions(defaultSelectedOptions);
119
+ }
120
+ }, [defaultSelectedOptions]);
111
121
  return /* @__PURE__ */ jsxs(Fragment, { children: [
112
122
  /* @__PURE__ */ jsxs(
113
123
  "div",
@@ -4459,9 +4459,19 @@ var Select = (0, import_react.forwardRef)((originalProps, ref) => {
4459
4459
  isSelected && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "check", size: originalProps.size })
4460
4460
  ] });
4461
4461
  };
4462
+ const isControlled = originalProps.value !== void 0;
4462
4463
  (0, import_react.useEffect)(() => {
4463
- setSelectedOptions(defaultSelectedOptions);
4464
- }, [options]);
4464
+ if (isControlled) {
4465
+ const valueArray = Array.isArray(originalProps.value) ? originalProps.value : [originalProps.value];
4466
+ const matchedOptions = options.filter((opt) => valueArray.includes(opt.value));
4467
+ setSelectedOptions(matchedOptions);
4468
+ }
4469
+ }, [originalProps.value, options]);
4470
+ (0, import_react.useEffect)(() => {
4471
+ if (!isControlled) {
4472
+ setSelectedOptions(defaultSelectedOptions);
4473
+ }
4474
+ }, [defaultSelectedOptions]);
4465
4475
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
4466
4476
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4467
4477
  "div",
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-QCEKPS7U.mjs";
3
3
  import {
4
4
  select_default
5
- } from "../../chunk-ZLY2HICQ.mjs";
5
+ } from "../../chunk-HVKEPI7R.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-2TKEWFGH.mjs";
8
8
  import "../../chunk-2SDYFOZL.mjs";
@@ -10,6 +10,7 @@ interface SelectOption {
10
10
  }
11
11
  interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof SelectVariantProps> {
12
12
  options: SelectOption[];
13
+ value?: string | number;
13
14
  defaultSelectedOptions?: SelectOption[];
14
15
  label?: string;
15
16
  helperMessage?: string;
@@ -10,6 +10,7 @@ interface SelectOption {
10
10
  }
11
11
  interface Props extends Omit<ComponentPropsWithRef<"input">, "onChange" | keyof SelectVariantProps> {
12
12
  options: SelectOption[];
13
+ value?: string | number;
13
14
  defaultSelectedOptions?: SelectOption[];
14
15
  label?: string;
15
16
  helperMessage?: string;
@@ -4457,9 +4457,19 @@ var Select = (0, import_react.forwardRef)((originalProps, ref) => {
4457
4457
  isSelected && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "check", size: originalProps.size })
4458
4458
  ] });
4459
4459
  };
4460
+ const isControlled = originalProps.value !== void 0;
4460
4461
  (0, import_react.useEffect)(() => {
4461
- setSelectedOptions(defaultSelectedOptions);
4462
- }, [options]);
4462
+ if (isControlled) {
4463
+ const valueArray = Array.isArray(originalProps.value) ? originalProps.value : [originalProps.value];
4464
+ const matchedOptions = options.filter((opt) => valueArray.includes(opt.value));
4465
+ setSelectedOptions(matchedOptions);
4466
+ }
4467
+ }, [originalProps.value, options]);
4468
+ (0, import_react.useEffect)(() => {
4469
+ if (!isControlled) {
4470
+ setSelectedOptions(defaultSelectedOptions);
4471
+ }
4472
+ }, [defaultSelectedOptions]);
4463
4473
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
4464
4474
  /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
4465
4475
  "div",
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  select_default
4
- } from "../../chunk-ZLY2HICQ.mjs";
4
+ } from "../../chunk-HVKEPI7R.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-2TKEWFGH.mjs";
7
7
  import "../../chunk-2SDYFOZL.mjs";
@@ -53,10 +53,25 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
53
53
  var import_jsx_runtime = require("react/jsx-runtime");
54
54
  var Switch = (0, import_react.forwardRef)((originalProps, ref) => {
55
55
  const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
56
- const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
56
+ const { size, color, isDisabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
57
+ ...rawProps,
58
+ ...variantProps
59
+ };
57
60
  const slots = (0, import_react.useMemo)(() => switchStyle({ ...variantProps }), [variantProps]);
58
61
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
59
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
62
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
63
+ "input",
64
+ {
65
+ ...inputProps,
66
+ id,
67
+ ref,
68
+ type: "checkbox",
69
+ disabled: isDisabled,
70
+ className: "hidden",
71
+ checked,
72
+ onChange
73
+ }
74
+ ),
60
75
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
61
76
  ] });
62
77
  });
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-LVFI2NOH.mjs";
3
3
  import {
4
4
  switch_default
5
- } from "../../chunk-Z74QNVPG.mjs";
5
+ } from "../../chunk-AJUQBMSV.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";
8
8
  export {
@@ -9,6 +9,8 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
9
9
  color?: "primary" | "secondary";
10
10
  isDisabled?: boolean;
11
11
  disableAnimation?: boolean;
12
+ checked?: boolean;
13
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
12
14
  classNames?: SlotsToClasses<SwitchSlots>;
13
15
  }
14
16
  declare const Switch: react.ForwardRefExoticComponent<Props & SwitchVariantProps & react.RefAttributes<HTMLInputElement>>;
@@ -9,6 +9,8 @@ interface Props extends Omit<ComponentPropsWithRef<"input">, "ref" | "size"> {
9
9
  color?: "primary" | "secondary";
10
10
  isDisabled?: boolean;
11
11
  disableAnimation?: boolean;
12
+ checked?: boolean;
13
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
12
14
  classNames?: SlotsToClasses<SwitchSlots>;
13
15
  }
14
16
  declare const Switch: react.ForwardRefExoticComponent<Props & SwitchVariantProps & react.RefAttributes<HTMLInputElement>>;
@@ -51,10 +51,25 @@ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
51
51
  var import_jsx_runtime = require("react/jsx-runtime");
52
52
  var Switch = (0, import_react.forwardRef)((originalProps, ref) => {
53
53
  const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
54
- const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
54
+ const { size, color, isDisabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
55
+ ...rawProps,
56
+ ...variantProps
57
+ };
55
58
  const slots = (0, import_react.useMemo)(() => switchStyle({ ...variantProps }), [variantProps]);
56
59
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
57
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
60
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
61
+ "input",
62
+ {
63
+ ...inputProps,
64
+ id,
65
+ ref,
66
+ type: "checkbox",
67
+ disabled: isDisabled,
68
+ className: "hidden",
69
+ checked,
70
+ onChange
71
+ }
72
+ ),
58
73
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
59
74
  ] });
60
75
  });
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  switch_default
4
- } from "../../chunk-Z74QNVPG.mjs";
4
+ } from "../../chunk-AJUQBMSV.mjs";
5
5
  import "../../chunk-E3G5QXSH.mjs";
6
6
  import "../../chunk-AC6TWLRT.mjs";
7
7
  export {
@@ -3,15 +3,15 @@ import "../../chunk-DX3KXNP6.mjs";
3
3
  import {
4
4
  table_default
5
5
  } from "../../chunk-4LOREVB7.mjs";
6
+ import "../../chunk-MFRYYZPY.mjs";
7
+ import "../../chunk-SBL6IHEW.mjs";
8
+ import "../../chunk-MZ76AA76.mjs";
9
+ import "../../chunk-6PN3DGOE.mjs";
6
10
  import {
7
11
  definition_table_default
8
12
  } from "../../chunk-6TIIBU7J.mjs";
9
- import "../../chunk-MFRYYZPY.mjs";
10
- import "../../chunk-SBL6IHEW.mjs";
11
13
  import "../../chunk-DQRAFUDA.mjs";
12
14
  import "../../chunk-M37VBNB3.mjs";
13
- import "../../chunk-MZ76AA76.mjs";
14
- import "../../chunk-6PN3DGOE.mjs";
15
15
  import "../../chunk-7B7LRG5J.mjs";
16
16
  import "../../chunk-ZSG4NGLK.mjs";
17
17
  import "../../chunk-F3HENRVM.mjs";
@@ -4,10 +4,10 @@ import {
4
4
  } from "../../chunk-4LOREVB7.mjs";
5
5
  import "../../chunk-MFRYYZPY.mjs";
6
6
  import "../../chunk-SBL6IHEW.mjs";
7
- import "../../chunk-DQRAFUDA.mjs";
8
- import "../../chunk-M37VBNB3.mjs";
9
7
  import "../../chunk-MZ76AA76.mjs";
10
8
  import "../../chunk-6PN3DGOE.mjs";
9
+ import "../../chunk-DQRAFUDA.mjs";
10
+ import "../../chunk-M37VBNB3.mjs";
11
11
  import "../../chunk-7B7LRG5J.mjs";
12
12
  import "../../chunk-ZSG4NGLK.mjs";
13
13
  import "../../chunk-F3HENRVM.mjs";
package/dist/index.js CHANGED
@@ -7878,9 +7878,19 @@ var Select = (0, import_react17.forwardRef)((originalProps, ref) => {
7878
7878
  isSelected && /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon_default, { name: "check", size: originalProps.size })
7879
7879
  ] });
7880
7880
  };
7881
+ const isControlled = originalProps.value !== void 0;
7881
7882
  (0, import_react17.useEffect)(() => {
7882
- setSelectedOptions(defaultSelectedOptions);
7883
- }, [options]);
7883
+ if (isControlled) {
7884
+ const valueArray = Array.isArray(originalProps.value) ? originalProps.value : [originalProps.value];
7885
+ const matchedOptions = options.filter((opt) => valueArray.includes(opt.value));
7886
+ setSelectedOptions(matchedOptions);
7887
+ }
7888
+ }, [originalProps.value, options]);
7889
+ (0, import_react17.useEffect)(() => {
7890
+ if (!isControlled) {
7891
+ setSelectedOptions(defaultSelectedOptions);
7892
+ }
7893
+ }, [defaultSelectedOptions]);
7884
7894
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_jsx_runtime22.Fragment, { children: [
7885
7895
  /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
7886
7896
  "div",
@@ -8472,10 +8482,25 @@ var import_tailwind_variants21 = require("tailwind-variants");
8472
8482
  var import_jsx_runtime25 = require("react/jsx-runtime");
8473
8483
  var Switch = (0, import_react20.forwardRef)((originalProps, ref) => {
8474
8484
  const [rawProps, variantProps] = mapPropsVariants(originalProps, switchStyle.variantKeys);
8475
- const { size, color, isDisabled, disableAnimation, id, classNames, ...inputProps } = { ...rawProps, ...variantProps };
8485
+ const { size, color, isDisabled, disableAnimation, id, checked, onChange, classNames, ...inputProps } = {
8486
+ ...rawProps,
8487
+ ...variantProps
8488
+ };
8476
8489
  const slots = (0, import_react20.useMemo)(() => switchStyle({ ...variantProps }), [variantProps]);
8477
8490
  return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("label", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
8478
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("input", { ...inputProps, id, ref, type: "checkbox", disabled: isDisabled, className: "hidden" }),
8491
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
8492
+ "input",
8493
+ {
8494
+ ...inputProps,
8495
+ id,
8496
+ ref,
8497
+ type: "checkbox",
8498
+ disabled: isDisabled,
8499
+ className: "hidden",
8500
+ checked,
8501
+ onChange
8502
+ }
8503
+ ),
8479
8504
  /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: slots.outerWrapper({ class: classNames == null ? void 0 : classNames.outerWrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: slots.thumb({ class: classNames == null ? void 0 : classNames.thumb }) }) }) })
8480
8505
  ] });
8481
8506
  });
package/dist/index.mjs CHANGED
@@ -9,10 +9,6 @@ import "./chunk-MBLZYQCN.mjs";
9
9
  import {
10
10
  tree_default
11
11
  } from "./chunk-WPIFIRCJ.mjs";
12
- import "./chunk-3MY6LO7N.mjs";
13
- import {
14
- tabs_default
15
- } from "./chunk-SSMMWMQC.mjs";
16
12
  import "./chunk-RRAZM5D3.mjs";
17
13
  import {
18
14
  textarea_default
@@ -26,19 +22,23 @@ import "./chunk-ZOTHPHXA.mjs";
26
22
  import {
27
23
  toast_default
28
24
  } from "./chunk-7W2ZI2DD.mjs";
29
- import "./chunk-LVFI2NOH.mjs";
25
+ import "./chunk-3MY6LO7N.mjs";
30
26
  import {
31
- switch_default
32
- } from "./chunk-Z74QNVPG.mjs";
27
+ tabs_default
28
+ } from "./chunk-SSMMWMQC.mjs";
33
29
  import "./chunk-DX3KXNP6.mjs";
34
30
  import {
35
31
  table_default
36
32
  } from "./chunk-4LOREVB7.mjs";
33
+ import "./chunk-MFRYYZPY.mjs";
34
+ import "./chunk-SBL6IHEW.mjs";
35
+ import "./chunk-MZ76AA76.mjs";
36
+ import {
37
+ skeleton_default
38
+ } from "./chunk-6PN3DGOE.mjs";
37
39
  import {
38
40
  definition_table_default
39
41
  } from "./chunk-6TIIBU7J.mjs";
40
- import "./chunk-MFRYYZPY.mjs";
41
- import "./chunk-SBL6IHEW.mjs";
42
42
  import "./chunk-DQRAFUDA.mjs";
43
43
  import {
44
44
  scrollArea_default
@@ -46,11 +46,11 @@ import {
46
46
  import "./chunk-QCEKPS7U.mjs";
47
47
  import {
48
48
  select_default
49
- } from "./chunk-ZLY2HICQ.mjs";
50
- import "./chunk-MZ76AA76.mjs";
49
+ } from "./chunk-HVKEPI7R.mjs";
50
+ import "./chunk-LVFI2NOH.mjs";
51
51
  import {
52
- skeleton_default
53
- } from "./chunk-6PN3DGOE.mjs";
52
+ switch_default
53
+ } from "./chunk-AJUQBMSV.mjs";
54
54
  import "./chunk-DJOG6Z35.mjs";
55
55
  import {
56
56
  modal_default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {