@deepnoid/ui 0.1.68 → 0.1.70

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/charts/areaChart.tsx, src/components/charts/barChart.tsx, src/components/charts/circularProgress.tsx, src/components/charts/index.ts, 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/drawer/drawer.tsx, src/components/drawer/index.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/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/charts/areaChart.tsx, src/components/charts/barChart.tsx, src/components/charts/circularProgress.tsx, src/components/charts/index.ts, 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/drawer/drawer.tsx, src/components/drawer/index.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/list/index.ts, src/components/list/list.tsx, src/components/list/listItem.tsx, src/components/input/index.ts, src/components/input/input.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
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,172 +11,172 @@ $ 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
- ESM dist/index.mjs 4.44 KB
16
14
  ESM dist/chunk-ZY7MY7KH.mjs 5.71 KB
17
- ESM dist/chunk-RRAZM5D3.mjs 14.00 B
15
+ ESM dist/index.mjs 4.44 KB
18
16
  ESM dist/chunk-MBLZYQCN.mjs 14.00 B
19
- ESM dist/chunk-SJTGJ6NC.mjs 2.58 KB
20
- ESM dist/chunk-LUWGOKLG.mjs 14.00 B
21
- ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
17
+ ESM dist/chunk-RRAZM5D3.mjs 14.00 B
22
18
  ESM dist/chunk-4EIGHKUO.mjs 9.14 KB
19
+ ESM dist/chunk-SJTGJ6NC.mjs 2.58 KB
20
+ ESM dist/utils/types.mjs 14.00 B
23
21
  ESM dist/chunk-HIE2YRGA.mjs 14.00 B
24
- ESM dist/chunk-3YXCBM7H.mjs 4.10 KB
25
- ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
22
+ ESM dist/chunk-LUWGOKLG.mjs 14.00 B
26
23
  ESM dist/chunk-JPFA7PPB.mjs 4.17 KB
27
24
  ESM dist/chunk-WSIADHVC.mjs 3.80 KB
25
+ ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
26
+ ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
28
27
  ESM dist/chunk-DX3KXNP6.mjs 14.00 B
29
28
  ESM dist/chunk-KCAGZUYM.mjs 3.11 KB
30
- ESM dist/chunk-63JDURFU.mjs 3.48 KB
31
- ESM dist/chunk-3MY6LO7N.mjs 14.00 B
29
+ ESM dist/chunk-5GBAUDP4.mjs 3.44 KB
32
30
  ESM dist/chunk-TKB2JL2E.mjs 2.53 KB
31
+ ESM dist/chunk-3MY6LO7N.mjs 14.00 B
32
+ ESM dist/chunk-L62NIW5M.mjs 7.67 KB
33
33
  ESM dist/chunk-DQRAFUDA.mjs 14.00 B
34
- ESM dist/chunk-FRKIXGG5.mjs 6.14 KB
35
- ESM dist/chunk-Q6IUCVAN.mjs 7.72 KB
36
34
  ESM dist/chunk-M37VBNB3.mjs 1.04 KB
37
35
  ESM dist/chunk-QCEKPS7U.mjs 14.00 B
38
36
  ESM dist/chunk-MZ76AA76.mjs 14.00 B
39
- ESM dist/chunk-AJUQBMSV.mjs 4.18 KB
40
37
  ESM dist/chunk-6PN3DGOE.mjs 1.78 KB
38
+ ESM dist/chunk-LVFI2NOH.mjs 14.00 B
41
39
  ESM dist/chunk-F5XBEFX5.mjs 12.90 KB
40
+ ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
41
+ ESM dist/chunk-AJUQBMSV.mjs 4.18 KB
42
42
  ESM dist/chunk-7B7LRG5J.mjs 14.00 B
43
+ ESM dist/chunk-3YXCBM7H.mjs 4.10 KB
43
44
  ESM dist/chunk-HLLRDA4A.mjs 8.19 KB
44
- ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
45
+ ESM dist/chunk-TPFN22HR.mjs 14.00 B
45
46
  ESM dist/chunk-F3HENRVM.mjs 934.00 B
46
- ESM dist/chunk-LVFI2NOH.mjs 14.00 B
47
47
  ESM dist/chunk-DJOG6Z35.mjs 14.00 B
48
- ESM dist/chunk-TPFN22HR.mjs 14.00 B
49
- ESM dist/chunk-5IESFXPF.mjs 5.07 KB
50
48
  ESM dist/chunk-32GA3YW4.mjs 14.00 B
49
+ ESM dist/chunk-5IESFXPF.mjs 5.07 KB
50
+ ESM dist/chunk-3WBUF37A.mjs 5.03 KB
51
51
  ESM dist/chunk-RLXOHILK.mjs 14.00 B
52
52
  ESM dist/chunk-N5BS5LZJ.mjs 4.42 KB
53
- ESM dist/chunk-3WBUF37A.mjs 5.03 KB
53
+ ESM dist/chunk-2GCSFWHD.mjs 14.00 B
54
54
  ESM dist/chunk-XOH6GWRD.mjs 14.00 B
55
55
  ESM dist/chunk-KOZ7WRQU.mjs 4.60 KB
56
56
  ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
57
- ESM dist/chunk-2GCSFWHD.mjs 14.00 B
58
- ESM dist/chunk-MNGULMJI.mjs 12.59 KB
59
- ESM dist/chunk-MGEWSREV.mjs 14.00 B
60
57
  ESM dist/chunk-SKOCUCE5.mjs 6.55 KB
58
+ ESM dist/chunk-MGEWSREV.mjs 14.00 B
59
+ ESM dist/chunk-MNGULMJI.mjs 12.59 KB
61
60
  ESM dist/chunk-75HLCORR.mjs 14.00 B
62
- ESM dist/chunk-NQYWOEB3.mjs 4.03 KB
63
- ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
64
61
  ESM dist/chunk-B6XJNGQL.mjs 1.27 KB
65
- ESM dist/chunk-BGLH2JB6.mjs 4.42 KB
62
+ ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
66
63
  ESM dist/chunk-IHERL7SE.mjs 11.03 KB
67
- ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
68
64
  ESM dist/chunk-LIP5CNY3.mjs 7.20 KB
65
+ ESM dist/chunk-NQYWOEB3.mjs 4.03 KB
66
+ ESM dist/chunk-BGLH2JB6.mjs 4.42 KB
67
+ ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
69
68
  ESM dist/chunk-P732YGHO.mjs 444.00 B
69
+ ESM dist/chunk-I6MFQAQE.mjs 4.28 KB
70
70
  ESM dist/chunk-STAE4IPE.mjs 4.72 KB
71
- ESM dist/chunk-ORXMPU2C.mjs 3.54 KB
72
71
  ESM dist/chunk-7DLOYKVC.mjs 14.00 B
73
- ESM dist/chunk-I6MFQAQE.mjs 4.28 KB
74
- ESM dist/chunk-4IKNOB5Y.mjs 1.65 KB
72
+ ESM dist/chunk-CFB4JWDA.mjs 7.40 KB
73
+ ESM dist/chunk-ORXMPU2C.mjs 3.54 KB
75
74
  ESM dist/chunk-FZJ5PLRU.mjs 778.00 B
75
+ ESM dist/chunk-SE5TU755.mjs 14.00 B
76
76
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
77
- ESM dist/chunk-CFB4JWDA.mjs 7.40 KB
78
77
  ESM dist/chunk-337VFHYV.mjs 2.77 KB
79
- ESM dist/chunk-EKWUOA5B.mjs 724.00 B
80
78
  ESM dist/chunk-MY5U63QO.mjs 14.00 B
81
- ESM dist/chunk-SE5TU755.mjs 14.00 B
82
- ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
83
- ESM dist/chunk-UTWY7OBW.mjs 929.00 B
79
+ ESM dist/chunk-EKWUOA5B.mjs 724.00 B
80
+ ESM dist/chunk-4IKNOB5Y.mjs 1.65 KB
81
+ ESM dist/chunk-6WSACUIB.mjs 14.00 B
82
+ ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
83
+ ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
84
84
  ESM dist/chunk-BUH3JK3B.mjs 10.86 KB
85
- ESM dist/chunk-FMZEP4LD.mjs 9.33 KB
85
+ ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
86
86
  ESM dist/chunk-TVTIX7MO.mjs 4.41 KB
87
- ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
88
- ESM dist/chunk-6WSACUIB.mjs 14.00 B
89
- ESM dist/utils/clsx.mjs 113.00 B
87
+ ESM dist/chunk-FMZEP4LD.mjs 9.33 KB
88
+ ESM dist/chunk-FRKIXGG5.mjs 6.14 KB
90
89
  ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
91
- ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
92
90
  ESM dist/chunk-XOPCRI7Z.mjs 14.90 KB
93
- ESM dist/utils/props.mjs 137.00 B
91
+ ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
92
+ ESM dist/utils/clsx.mjs 113.00 B
94
93
  ESM dist/chunk-27Y6K5NK.mjs 823.00 B
95
- ESM dist/fonts/font.css 777.00 B
94
+ ESM dist/utils/props.mjs 137.00 B
96
95
  ESM dist/chunk-E3G5QXSH.mjs 608.00 B
97
- ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
96
+ ESM dist/fonts/font.css 777.00 B
98
97
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
99
- ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
98
+ ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
99
+ ESM dist/chunk-UTWY7OBW.mjs 929.00 B
100
100
  ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
101
+ ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
101
102
  ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
102
103
  ESM dist/components/tooltip/tooltip.mjs 292.00 B
103
- ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
104
- ESM dist/components/tree/index.mjs 353.00 B
105
104
  ESM dist/components/tabs/tabs.mjs 232.00 B
105
+ ESM dist/components/tree/index.mjs 353.00 B
106
106
  ESM dist/components/textarea/index.mjs 260.00 B
107
107
  ESM dist/components/toast/index.mjs 527.00 B
108
- ESM dist/components/table/definition-table.mjs 240.00 B
109
108
  ESM dist/components/switch/switch.mjs 185.00 B
109
+ ESM dist/components/ripple/useRipple.mjs 158.00 B
110
+ ESM dist/components/table/definition-table.mjs 240.00 B
110
111
  ESM dist/components/scroll/index.mjs 231.00 B
111
112
  ESM dist/components/select/select.mjs 360.00 B
112
- ESM dist/components/ripple/useRipple.mjs 158.00 B
113
- ESM dist/components/skeleton/index.mjs 225.00 B
113
+ ESM dist/components/modal/modal.mjs 708.00 B
114
+ ESM dist/components/skeleton/skeleton.mjs 189.00 B
114
115
  ESM dist/components/icon/index.mjs 245.00 B
115
- ESM dist/components/pagination/pagination.mjs 511.00 B
116
116
  ESM dist/components/radio/index.mjs 286.00 B
117
- ESM dist/components/list/list.mjs 216.00 B
118
- ESM dist/components/modal/modal.mjs 708.00 B
119
- ESM dist/components/input/input.mjs 386.00 B
120
- ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
121
- ESM dist/components/fileUpload/fileUpload.mjs 784.00 B
117
+ ESM dist/components/list/index.mjs 483.00 B
118
+ ESM dist/components/input/index.mjs 391.00 B
122
119
  ESM dist/components/drawer/index.mjs 289.00 B
123
- ESM dist/chunk-YZ7HQHTL.mjs 691.16 KB
120
+ ESM dist/components/pagination/pagination.mjs 511.00 B
124
121
  ESM dist/components/charts/index.mjs 477.00 B
122
+ ESM dist/components/checkbox/checkbox.mjs 259.00 B
123
+ ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
124
+ ESM dist/chunk-YZ7HQHTL.mjs 691.16 KB
125
+ ESM dist/components/fileUpload/index.mjs 756.00 B
125
126
  ESM dist/components/chip/chip.mjs 321.00 B
126
127
  ESM dist/components/button/button-group.mjs 197.00 B
127
- ESM dist/components/checkbox/checkbox.mjs 259.00 B
128
128
  ESM dist/components/avatar/avatar.mjs 220.00 B
129
129
  ESM dist/components/backdrop/backdrop.mjs 224.00 B
130
- ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
131
- ESM dist/components/tooltip/useTooltip.mjs 166.00 B
132
- ESM dist/components/tree/tree.mjs 337.00 B
133
- ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
134
- ESM dist/components/textarea/textarea.mjs 224.00 B
135
- ESM dist/components/toast/toast-utils.mjs 143.00 B
130
+ ESM dist/components/breadcrumb/index.mjs 686.00 B
131
+ ESM dist/components/toast/use-toast.mjs 441.00 B
136
132
  ESM dist/components/tooltip/index.mjs 327.00 B
137
- ESM dist/components/table/form-table.mjs 1.92 KB
133
+ ESM dist/components/textarea/textarea.mjs 224.00 B
134
+ ESM dist/components/toast/toast.mjs 358.00 B
135
+ ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
138
136
  ESM dist/components/table/table-body.mjs 403.00 B
137
+ ESM dist/components/toast/toast-utils.mjs 143.00 B
139
138
  ESM dist/components/table/index.mjs 964.00 B
140
- ESM dist/components/table/table-head.mjs 403.00 B
141
139
  ESM dist/components/tabs/index.mjs 248.00 B
142
- ESM dist/components/toast/use-toast.mjs 441.00 B
143
- ESM dist/components/table/table.mjs 813.00 B
140
+ ESM dist/components/tooltip/useTooltip.mjs 166.00 B
141
+ ESM dist/components/tree/tree.mjs 337.00 B
142
+ ESM dist/components/table/table-head.mjs 403.00 B
144
143
  ESM dist/components/scroll/scrollArea.mjs 193.00 B
144
+ ESM dist/components/table/table.mjs 813.00 B
145
145
  ESM dist/components/select/index.mjs 394.00 B
146
+ ESM dist/components/table/form-table.mjs 1.92 KB
146
147
  ESM dist/components/switch/index.mjs 219.00 B
147
- ESM dist/components/skeleton/skeleton.mjs 189.00 B
148
- ESM dist/components/toast/toast.mjs 358.00 B
149
- ESM dist/components/pagination/usePagination.mjs 164.00 B
150
- ESM dist/components/ripple/ripple.mjs 150.00 B
151
- ESM dist/components/radio/radio.mjs 253.00 B
152
- ESM dist/components/pagination/index.mjs 511.00 B
153
- ESM dist/components/input/index.mjs 391.00 B
148
+ ESM dist/components/skeleton/index.mjs 225.00 B
154
149
  ESM dist/components/ripple/index.mjs 253.00 B
150
+ ESM dist/components/pagination/index.mjs 511.00 B
151
+ ESM dist/components/radio/radio.mjs 253.00 B
152
+ ESM dist/components/icon/template.mjs 127.00 B
153
+ ESM dist/components/ripple/ripple.mjs 150.00 B
154
+ ESM dist/components/pagination/usePagination.mjs 164.00 B
155
+ ESM dist/components/list/list.mjs 216.00 B
155
156
  ESM dist/components/list/listItem.mjs 364.00 B
156
- ESM dist/components/modal/index.mjs 741.00 B
157
- ESM dist/components/list/index.mjs 483.00 B
157
+ ESM dist/components/input/input.mjs 386.00 B
158
+ ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
158
159
  ESM dist/components/dateTimePicker/util.mjs 191.00 B
159
160
  ESM dist/components/icon/Icon.mjs 213.00 B
160
- ESM dist/components/fileUpload/index.mjs 756.00 B
161
- ESM dist/components/checkbox/index.mjs 295.00 B
162
- ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
163
- ESM dist/components/icon/template.mjs 127.00 B
164
- ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
165
161
  ESM dist/components/drawer/drawer.mjs 255.00 B
166
- ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
167
- ESM dist/components/button/button.mjs 430.00 B
162
+ ESM dist/components/modal/index.mjs 741.00 B
163
+ ESM dist/components/fileUpload/fileUpload.mjs 784.00 B
168
164
  ESM dist/components/dateTimePicker/index.mjs 663.00 B
169
- ESM dist/components/button/index.mjs 811.00 B
170
- ESM dist/components/charts/areaChart.mjs 226.00 B
171
- ESM dist/components/button/text-button.mjs 265.00 B
165
+ ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
172
166
  ESM dist/components/chip/index.mjs 353.00 B
173
- ESM dist/components/backdrop/index.mjs 260.00 B
174
167
  ESM dist/components/button/icon-button.mjs 440.00 B
168
+ ESM dist/components/charts/areaChart.mjs 226.00 B
169
+ ESM dist/components/button/index.mjs 811.00 B
170
+ ESM dist/components/charts/circularProgress.mjs 254.00 B
171
+ ESM dist/components/button/text-button.mjs 265.00 B
172
+ ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
175
173
  ESM dist/components/charts/barChart.mjs 224.00 B
174
+ ESM dist/components/button/button.mjs 430.00 B
176
175
  ESM dist/components/avatar/index.mjs 254.00 B
177
- ESM dist/components/charts/circularProgress.mjs 254.00 B
178
- ESM dist/components/breadcrumb/index.mjs 686.00 B
179
- ESM ⚡️ Build success in 463ms
176
+ ESM dist/components/checkbox/index.mjs 295.00 B
177
+ ESM dist/components/backdrop/index.mjs 260.00 B
178
+ ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
179
+ ESM ⚡️ Build success in 439ms
180
180
  CJS dist/fonts/NanumSquare_acB.js 113.00 B
181
181
  CJS dist/fonts/NanumSquare_acEB.js 116.00 B
182
182
  CJS dist/fonts/NanumSquare_acL.js 113.00 B
@@ -185,9 +185,9 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
185
185
  CJS dist/utils/props.js 1.59 KB
186
186
  CJS dist/utils/types.js 778.00 B
187
187
  CJS dist/utils/tailwind-variants.js 8.31 KB
188
- CJS dist/components/backdrop/backdrop.js 9.71 KB
189
188
  CJS dist/fonts/font.css 777.00 B
190
189
  CJS dist/components/backdrop/index.js 9.85 KB
190
+ CJS dist/components/backdrop/backdrop.js 9.71 KB
191
191
  CJS dist/components/button/button-group.js 8.97 KB
192
192
  CJS dist/components/button/text-button.js 13.89 KB
193
193
  CJS dist/components/charts/areaChart.js 13.96 KB
@@ -198,77 +198,77 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
198
198
  CJS dist/components/checkbox/index.js 16.30 KB
199
199
  CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
200
200
  CJS dist/components/dateTimePicker/util.js 1.48 KB
201
- CJS dist/components/drawer/index.js 14.75 KB
202
201
  CJS dist/components/drawer/drawer.js 14.62 KB
202
+ CJS dist/components/drawer/index.js 14.75 KB
203
203
  CJS dist/components/list/list.js 9.98 KB
204
- CJS dist/components/pagination/usePagination.js 1.88 KB
205
204
  CJS dist/components/radio/index.js 14.76 KB
206
205
  CJS dist/components/radio/radio.js 14.63 KB
206
+ CJS dist/components/pagination/usePagination.js 1.88 KB
207
+ CJS dist/components/ripple/index.js 3.65 KB
207
208
  CJS dist/components/ripple/ripple.js 2.57 KB
208
209
  CJS dist/components/ripple/useRipple.js 2.04 KB
209
- CJS dist/components/scroll/index.js 2.92 KB
210
210
  CJS dist/components/scroll/scrollArea.js 2.79 KB
211
- CJS dist/components/ripple/index.js 3.65 KB
212
211
  CJS dist/components/skeleton/index.js 3.68 KB
212
+ CJS dist/components/scroll/index.js 2.92 KB
213
213
  CJS dist/components/skeleton/skeleton.js 3.54 KB
214
214
  CJS dist/components/switch/index.js 5.92 KB
215
- CJS dist/components/table/definition-table.js 12.27 KB
216
215
  CJS dist/components/switch/switch.js 5.79 KB
217
216
  CJS dist/components/table/form-table.js 10.30 KB
218
217
  CJS dist/components/table/table-head.js 20.57 KB
218
+ CJS dist/components/table/definition-table.js 12.27 KB
219
+ CJS dist/components/table/table-body.js 21.53 KB
219
220
  CJS dist/components/tabs/index.js 15.13 KB
220
- CJS dist/components/tabs/tabs.js 15.12 KB
221
221
  CJS dist/components/textarea/index.js 11.72 KB
222
- CJS dist/components/table/table-body.js 21.57 KB
223
222
  CJS dist/components/textarea/textarea.js 11.58 KB
223
+ CJS dist/components/tabs/tabs.js 15.12 KB
224
224
  CJS dist/components/toast/toast-utils.js 1.85 KB
225
225
  CJS dist/components/tooltip/index.js 18.20 KB
226
- CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
227
- CJS dist/components/tooltip/useTooltip.js 4.19 KB
228
226
  CJS dist/components/tooltip/tooltip.js 18.07 KB
227
+ CJS dist/components/tooltip/useTooltip.js 4.19 KB
228
+ CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
229
229
  CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
230
- CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
231
- CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
232
- CJS dist/components/avatar/index.js 714.19 KB
230
+ CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
233
231
  CJS dist/components/avatar/avatar.js 714.05 KB
232
+ CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
233
+ CJS dist/index.js 934.35 KB
234
234
  CJS dist/components/breadcrumb/breadcrumb.js 721.78 KB
235
- CJS dist/index.js 934.44 KB
235
+ CJS dist/components/avatar/index.js 714.19 KB
236
236
  CJS dist/components/breadcrumb/index.js 721.92 KB
237
- CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
238
237
  CJS dist/components/button/icon-button.js 725.65 KB
239
238
  CJS dist/components/button/button.js 727.23 KB
240
239
  CJS dist/components/button/index.js 742.59 KB
241
240
  CJS dist/components/chip/chip.js 717.74 KB
242
- CJS dist/components/chip/index.js 717.86 KB
243
- CJS dist/components/dateTimePicker/dateTimePicker.js 751.10 KB
241
+ CJS dist/components/dateTimePicker/calendar.js 721.85 KB
244
242
  CJS dist/components/dateTimePicker/index.js 751.10 KB
245
243
  CJS dist/components/dateTimePicker/timePicker.js 729.09 KB
246
- CJS dist/components/dateTimePicker/calendar.js 721.85 KB
244
+ CJS dist/components/dateTimePicker/dateTimePicker.js 751.10 KB
245
+ CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
246
+ CJS dist/components/chip/index.js 717.86 KB
247
247
  CJS dist/components/fileUpload/fileUpload.js 755.05 KB
248
- CJS dist/components/fileUpload/index.js 755.00 KB
249
248
  CJS dist/components/icon/Icon.js 706.17 KB
250
- CJS dist/components/input/index.js 727.47 KB
251
249
  CJS dist/components/icon/index.js 706.17 KB
252
250
  CJS dist/components/icon/template.js 705.24 KB
253
- CJS dist/components/list/listItem.js 722.66 KB
254
251
  CJS dist/components/list/index.js 724.61 KB
252
+ CJS dist/components/list/listItem.js 722.66 KB
253
+ CJS dist/components/input/index.js 727.47 KB
254
+ CJS dist/components/input/input.js 727.48 KB
255
255
  CJS dist/components/modal/index.js 733.31 KB
256
256
  CJS dist/components/modal/modal.js 733.18 KB
257
- CJS dist/components/input/input.js 727.48 KB
257
+ CJS dist/components/pagination/index.js 736.65 KB
258
258
  CJS dist/components/pagination/pagination.js 736.66 KB
259
259
  CJS dist/components/select/index.js 727.97 KB
260
260
  CJS dist/components/select/select.js 727.84 KB
261
- CJS dist/components/table/index.js 763.72 KB
262
- CJS dist/components/pagination/index.js 736.65 KB
263
- CJS dist/components/toast/use-toast.js 722.24 KB
264
- CJS dist/components/table/table.js 760.29 KB
265
- CJS dist/components/toast/toast.js 718.65 KB
266
- CJS dist/components/tree/tree.js 720.09 KB
261
+ CJS dist/components/fileUpload/index.js 755.00 KB
262
+ CJS dist/components/table/index.js 763.64 KB
263
+ CJS dist/components/table/table.js 760.21 KB
267
264
  CJS dist/components/toast/index.js 722.30 KB
265
+ CJS dist/components/toast/toast.js 718.65 KB
266
+ CJS dist/components/toast/use-toast.js 722.24 KB
268
267
  CJS dist/components/tree/index.js 720.10 KB
269
- CJS ⚡️ Build success in 465ms
270
- DTS ⚡️ Build success in 16423ms
271
- DTS dist/index.d.ts 2.88 KB
268
+ CJS dist/components/tree/tree.js 720.09 KB
269
+ CJS ⚡️ Build success in 441ms
270
+ DTS ⚡️ Build success in 13864ms
271
+ DTS dist/index.d.ts 2.89 KB
272
272
  DTS dist/components/button/index.d.ts 415.00 B
273
273
  DTS dist/components/charts/index.d.ts 252.00 B
274
274
  DTS dist/components/list/index.d.ts 302.00 B
@@ -354,7 +354,7 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
354
354
  DTS dist/components/tooltip/index.d.ts 182.00 B
355
355
  DTS dist/components/tree/index.d.ts 183.00 B
356
356
  DTS dist/tooltip-utils-DO3LQaVM.d.ts 2.05 KB
357
- DTS dist/index.d.mts 2.92 KB
357
+ DTS dist/index.d.mts 2.93 KB
358
358
  DTS dist/components/button/index.d.mts 422.00 B
359
359
  DTS dist/components/charts/index.d.mts 256.00 B
360
360
  DTS dist/components/list/index.d.mts 308.00 B
@@ -441,4 +441,4 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
441
441
  DTS dist/components/tree/index.d.mts 185.00 B
442
442
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
443
443
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
444
- Done in 17.28s.
444
+ Done in 14.76s.
@@ -34,14 +34,7 @@ var TableBody = ({
34
34
  textAlign: column.align || "center"
35
35
  });
36
36
  const renderTdSkeleton = (key) => /* @__PURE__ */ jsx("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ jsx(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
37
- const renderCheckboxCell = (rowIndex) => /* @__PURE__ */ jsx("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ jsx(
38
- checkbox_default,
39
- {
40
- size,
41
- checked: checkedRows.has(rowIndex),
42
- onChange: (e) => onCheckRow(rowIndex, e.target.checked)
43
- }
44
- ) });
37
+ const renderCheckboxCell = (rowId) => /* @__PURE__ */ jsx("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ jsx(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) });
45
38
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ jsxs("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
46
39
  columns.map((_, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`)),
47
40
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
@@ -63,7 +56,7 @@ var TableBody = ({
63
56
  `${rowIndex}-${colIdx}`
64
57
  );
65
58
  }),
66
- rowCheckbox && renderCheckboxCell(rowIndex)
59
+ rowCheckbox && renderCheckboxCell(row.id)
67
60
  ] }, rowIndex);
68
61
  const renderRows = () => {
69
62
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ jsx(Fragment, {});
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "./chunk-63JDURFU.mjs";
4
+ } from "./chunk-5GBAUDP4.mjs";
5
5
  import {
6
6
  table_head_default
7
7
  } from "./chunk-TKB2JL2E.mjs";
@@ -63,17 +63,17 @@ var Table = forwardRef((originalProps, ref) => {
63
63
  [checkedRows]
64
64
  );
65
65
  const handleAllRowCheck = (checked) => {
66
- const updated = checked ? new Set(rows.map((_, i) => i)) : /* @__PURE__ */ new Set();
66
+ const updated = checked ? new Set(rows.map((row) => row.id)) : /* @__PURE__ */ new Set();
67
67
  setCheckedRows(updated);
68
68
  };
69
- const handleRowCheck = (index, checked) => {
69
+ const handleRowCheck = (id, checked) => {
70
70
  setCheckedRows((prev) => {
71
71
  const updated = new Set(prev);
72
- checked ? updated.add(index) : updated.delete(index);
72
+ checked ? updated.add(id) : updated.delete(id);
73
73
  return updated;
74
74
  });
75
75
  };
76
- const getCheckedRowData = (checked) => Array.from(checked).map((index) => rows[index]).filter((row) => row !== void 0);
76
+ const getCheckedRowData = (checked) => rows.filter((row) => checked.has(row.id));
77
77
  const slots = useMemo(() => tableStyle(variantProps), [variantProps]);
78
78
  return /* @__PURE__ */ jsxs("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
79
79
  /* @__PURE__ */ jsx(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ jsxs("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
@@ -752,14 +752,7 @@ var TableBody = ({
752
752
  textAlign: column.align || "center"
753
753
  });
754
754
  const renderTdSkeleton = (key) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
755
- const renderCheckboxCell = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
756
- checkbox_default,
757
- {
758
- size,
759
- checked: checkedRows.has(rowIndex),
760
- onChange: (e) => onCheckRow(rowIndex, e.target.checked)
761
- }
762
- ) });
755
+ const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) });
763
756
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
764
757
  columns.map((_, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`)),
765
758
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
@@ -781,7 +774,7 @@ var TableBody = ({
781
774
  `${rowIndex}-${colIdx}`
782
775
  );
783
776
  }),
784
- rowCheckbox && renderCheckboxCell(rowIndex)
777
+ rowCheckbox && renderCheckboxCell(row.id)
785
778
  ] }, rowIndex);
786
779
  const renderRows = () => {
787
780
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {});
@@ -6155,17 +6148,17 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
6155
6148
  [checkedRows]
6156
6149
  );
6157
6150
  const handleAllRowCheck = (checked) => {
6158
- const updated = checked ? new Set(rows.map((_, i) => i)) : /* @__PURE__ */ new Set();
6151
+ const updated = checked ? new Set(rows.map((row) => row.id)) : /* @__PURE__ */ new Set();
6159
6152
  setCheckedRows(updated);
6160
6153
  };
6161
- const handleRowCheck = (index, checked) => {
6154
+ const handleRowCheck = (id, checked) => {
6162
6155
  setCheckedRows((prev) => {
6163
6156
  const updated = new Set(prev);
6164
- checked ? updated.add(index) : updated.delete(index);
6157
+ checked ? updated.add(id) : updated.delete(id);
6165
6158
  return updated;
6166
6159
  });
6167
6160
  };
6168
- const getCheckedRowData = (checked) => Array.from(checked).map((index) => rows[index]).filter((row) => row !== void 0);
6161
+ const getCheckedRowData = (checked) => rows.filter((row) => checked.has(row.id));
6169
6162
  const slots = (0, import_react5.useMemo)(() => tableStyle(variantProps), [variantProps]);
6170
6163
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
6171
6164
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
@@ -5,8 +5,8 @@ import {
5
5
  } from "../../chunk-KCAGZUYM.mjs";
6
6
  import {
7
7
  table_default
8
- } from "../../chunk-Q6IUCVAN.mjs";
9
- import "../../chunk-63JDURFU.mjs";
8
+ } from "../../chunk-L62NIW5M.mjs";
9
+ import "../../chunk-5GBAUDP4.mjs";
10
10
  import "../../chunk-TKB2JL2E.mjs";
11
11
  import "../../chunk-DQRAFUDA.mjs";
12
12
  import "../../chunk-M37VBNB3.mjs";
@@ -694,14 +694,7 @@ var TableBody = ({
694
694
  textAlign: column.align || "center"
695
695
  });
696
696
  const renderTdSkeleton = (key) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
697
- const renderCheckboxCell = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
698
- checkbox_default,
699
- {
700
- size,
701
- checked: checkedRows.has(rowIndex),
702
- onChange: (e) => onCheckRow(rowIndex, e.target.checked)
703
- }
704
- ) });
697
+ const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) });
705
698
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
706
699
  columns.map((_, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`)),
707
700
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
@@ -723,7 +716,7 @@ var TableBody = ({
723
716
  `${rowIndex}-${colIdx}`
724
717
  );
725
718
  }),
726
- rowCheckbox && renderCheckboxCell(rowIndex)
719
+ rowCheckbox && renderCheckboxCell(row.id)
727
720
  ] }, rowIndex);
728
721
  const renderRows = () => {
729
722
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-63JDURFU.mjs";
4
+ } from "../../chunk-5GBAUDP4.mjs";
5
5
  import "../../chunk-MZ76AA76.mjs";
6
6
  import "../../chunk-6PN3DGOE.mjs";
7
7
  import "../../chunk-QZ3LVYJW.mjs";
@@ -749,14 +749,7 @@ var TableBody = ({
749
749
  textAlign: column.align || "center"
750
750
  });
751
751
  const renderTdSkeleton = (key) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
752
- const renderCheckboxCell = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
753
- checkbox_default,
754
- {
755
- size,
756
- checked: checkedRows.has(rowIndex),
757
- onChange: (e) => onCheckRow(rowIndex, e.target.checked)
758
- }
759
- ) });
752
+ const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) });
760
753
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
761
754
  columns.map((_, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`)),
762
755
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
@@ -778,7 +771,7 @@ var TableBody = ({
778
771
  `${rowIndex}-${colIdx}`
779
772
  );
780
773
  }),
781
- rowCheckbox && renderCheckboxCell(rowIndex)
774
+ rowCheckbox && renderCheckboxCell(row.id)
782
775
  ] }, rowIndex);
783
776
  const renderRows = () => {
784
777
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {});
@@ -6152,17 +6145,17 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
6152
6145
  [checkedRows]
6153
6146
  );
6154
6147
  const handleAllRowCheck = (checked) => {
6155
- const updated = checked ? new Set(rows.map((_, i) => i)) : /* @__PURE__ */ new Set();
6148
+ const updated = checked ? new Set(rows.map((row) => row.id)) : /* @__PURE__ */ new Set();
6156
6149
  setCheckedRows(updated);
6157
6150
  };
6158
- const handleRowCheck = (index, checked) => {
6151
+ const handleRowCheck = (id, checked) => {
6159
6152
  setCheckedRows((prev) => {
6160
6153
  const updated = new Set(prev);
6161
- checked ? updated.add(index) : updated.delete(index);
6154
+ checked ? updated.add(id) : updated.delete(id);
6162
6155
  return updated;
6163
6156
  });
6164
6157
  };
6165
- const getCheckedRowData = (checked) => Array.from(checked).map((index) => rows[index]).filter((row) => row !== void 0);
6158
+ const getCheckedRowData = (checked) => rows.filter((row) => checked.has(row.id));
6166
6159
  const slots = (0, import_react5.useMemo)(() => tableStyle(variantProps), [variantProps]);
6167
6160
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
6168
6161
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-Q6IUCVAN.mjs";
5
- import "../../chunk-63JDURFU.mjs";
4
+ } from "../../chunk-L62NIW5M.mjs";
5
+ import "../../chunk-5GBAUDP4.mjs";
6
6
  import "../../chunk-TKB2JL2E.mjs";
7
7
  import "../../chunk-DQRAFUDA.mjs";
8
8
  import "../../chunk-M37VBNB3.mjs";
package/dist/index.d.mts CHANGED
@@ -8,7 +8,7 @@ export { default as ButtonGroup } from './components/button/button-group.mjs';
8
8
  export { default as Input } from './components/input/input.mjs';
9
9
  export { default as Tabs, TabsDataType } from './components/tabs/tabs.mjs';
10
10
  export { default as Textarea } from './components/textarea/textarea.mjs';
11
- export { default as Table, TableColumn, TableRow } from './components/table/table.mjs';
11
+ export { default as Table, TableColumn, TableRef, TableRow } from './components/table/table.mjs';
12
12
  export { default as DefinitionTable, DefinitionTableRow, DefinitionTableRowCell } from './components/table/definition-table.mjs';
13
13
  export { default as Select, SelectOption, SelectProps } from './components/select/select.mjs';
14
14
  export { default as CheckBox } from './components/checkbox/checkbox.mjs';
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { default as ButtonGroup } from './components/button/button-group.js';
8
8
  export { default as Input } from './components/input/input.js';
9
9
  export { default as Tabs, TabsDataType } from './components/tabs/tabs.js';
10
10
  export { default as Textarea } from './components/textarea/textarea.js';
11
- export { default as Table, TableColumn, TableRow } from './components/table/table.js';
11
+ export { default as Table, TableColumn, TableRef, TableRow } from './components/table/table.js';
12
12
  export { default as DefinitionTable, DefinitionTableRow, DefinitionTableRowCell } from './components/table/definition-table.js';
13
13
  export { default as Select, SelectOption, SelectProps } from './components/select/select.js';
14
14
  export { default as CheckBox } from './components/checkbox/checkbox.js';
package/dist/index.js CHANGED
@@ -7776,14 +7776,7 @@ var TableBody = ({
7776
7776
  textAlign: column.align || "center"
7777
7777
  });
7778
7778
  const renderTdSkeleton = (key) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { className: slots.td({ class: classNames == null ? void 0 : classNames.td }), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(skeleton_default, { color, className: "h-full w-full", rounded: "lg", speed: "fast" }) }, key);
7779
- const renderCheckboxCell = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
7780
- checkbox_default,
7781
- {
7782
- size,
7783
- checked: checkedRows.has(rowIndex),
7784
- onChange: (e) => onCheckRow(rowIndex, e.target.checked)
7785
- }
7786
- ) });
7779
+ const renderCheckboxCell = (rowId) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("td", { className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"), children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) });
7787
7780
  const renderSkeletonRow = (rowIndex) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), children: [
7788
7781
  columns.map((_, colIdx) => renderTdSkeleton(`skeleton-${rowIndex}-${colIdx}`)),
7789
7782
  rowCheckbox && renderTdSkeleton(`skeleton-checkbox-${rowIndex}`)
@@ -7805,7 +7798,7 @@ var TableBody = ({
7805
7798
  `${rowIndex}-${colIdx}`
7806
7799
  );
7807
7800
  }),
7808
- rowCheckbox && renderCheckboxCell(rowIndex)
7801
+ rowCheckbox && renderCheckboxCell(row.id)
7809
7802
  ] }, rowIndex);
7810
7803
  const renderRows = () => {
7811
7804
  if (isLoading) return skeletonRow ? Array.from({ length: skeletonRow }, (_, idx) => renderSkeletonRow(idx)) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, {});
@@ -8175,17 +8168,17 @@ var Table = (0, import_react15.forwardRef)((originalProps, ref) => {
8175
8168
  [checkedRows]
8176
8169
  );
8177
8170
  const handleAllRowCheck = (checked) => {
8178
- const updated = checked ? new Set(rows.map((_, i) => i)) : /* @__PURE__ */ new Set();
8171
+ const updated = checked ? new Set(rows.map((row) => row.id)) : /* @__PURE__ */ new Set();
8179
8172
  setCheckedRows(updated);
8180
8173
  };
8181
- const handleRowCheck = (index, checked) => {
8174
+ const handleRowCheck = (id, checked) => {
8182
8175
  setCheckedRows((prev) => {
8183
8176
  const updated = new Set(prev);
8184
- checked ? updated.add(index) : updated.delete(index);
8177
+ checked ? updated.add(id) : updated.delete(id);
8185
8178
  return updated;
8186
8179
  });
8187
8180
  };
8188
- const getCheckedRowData = (checked) => Array.from(checked).map((index) => rows[index]).filter((row) => row !== void 0);
8181
+ const getCheckedRowData = (checked) => rows.filter((row) => checked.has(row.id));
8189
8182
  const slots = (0, import_react15.useMemo)(() => tableStyle(variantProps), [variantProps]);
8190
8183
  return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
8191
8184
  /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
package/dist/index.mjs CHANGED
@@ -28,8 +28,8 @@ import {
28
28
  } from "./chunk-KCAGZUYM.mjs";
29
29
  import {
30
30
  table_default
31
- } from "./chunk-Q6IUCVAN.mjs";
32
- import "./chunk-63JDURFU.mjs";
31
+ } from "./chunk-L62NIW5M.mjs";
32
+ import "./chunk-5GBAUDP4.mjs";
33
33
  import "./chunk-TKB2JL2E.mjs";
34
34
  import "./chunk-3MY6LO7N.mjs";
35
35
  import {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.68",
3
+ "version": "0.1.70",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {