@deepnoid/ui 0.1.18 → 0.1.19

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/select/index.ts, src/components/select/option.tsx, src/components/select/select.tsx, src/components/select/useSelect.tsx, src/components/switch/index.ts, src/components/switch/switch.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/tabs/index.ts, src/components/tabs/tabs.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
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/option.tsx, src/components/select/select.tsx, src/components/select/useSelect.tsx, src/components/switch/index.ts, src/components/switch/switch.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/table/index.ts, src/components/table/table-body.tsx, src/components/table/table-head.tsx, src/components/table/table.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,228 +11,228 @@ $ 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/index.mjs 3.60 KB
15
- ESM dist/chunk-LUWGOKLG.mjs 14.00 B
16
- ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
17
- ESM dist/chunk-HDNQOLUJ.mjs 3.45 KB
18
- ESM dist/chunk-5OBP42D6.mjs 3.12 KB
19
14
  ESM dist/utils/types.mjs 14.00 B
15
+ ESM dist/index.mjs 3.60 KB
20
16
  ESM dist/chunk-HIE2YRGA.mjs 14.00 B
21
17
  ESM dist/chunk-WSIADHVC.mjs 3.80 KB
22
18
  ESM dist/chunk-2UUH2MBF.mjs 14.00 B
23
- ESM dist/chunk-ETX4WR6J.mjs 3.19 KB
24
- ESM dist/chunk-2YRRWNYG.mjs 7.11 KB
25
- ESM dist/chunk-RRAZM5D3.mjs 14.00 B
19
+ ESM dist/chunk-63WXGSTV.mjs 3.26 KB
20
+ ESM dist/chunk-3TJAGKKY.mjs 7.39 KB
21
+ ESM dist/chunk-Z2537DF6.mjs 4.17 KB
22
+ ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
26
23
  ESM dist/chunk-3DPVPTHL.mjs 1.69 KB
24
+ ESM dist/chunk-3MY6LO7N.mjs 14.00 B
25
+ ESM dist/chunk-RRAZM5D3.mjs 14.00 B
27
26
  ESM dist/chunk-2YMAKIZ6.mjs 6.14 KB
28
27
  ESM dist/chunk-BKE6QF6W.mjs 5.94 KB
29
- ESM dist/chunk-3MY6LO7N.mjs 14.00 B
30
- ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
31
- ESM dist/chunk-Z2537DF6.mjs 4.17 KB
28
+ ESM dist/chunk-LUWGOKLG.mjs 14.00 B
29
+ ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
32
30
  ESM dist/chunk-DQRAFUDA.mjs 14.00 B
33
31
  ESM dist/chunk-M37VBNB3.mjs 1.04 KB
34
- ESM dist/chunk-MJT6ZW4C.mjs 7.73 KB
35
32
  ESM dist/chunk-QCEKPS7U.mjs 14.00 B
33
+ ESM dist/chunk-5OBP42D6.mjs 3.12 KB
34
+ ESM dist/chunk-MJT6ZW4C.mjs 7.73 KB
36
35
  ESM dist/chunk-P6NVCCBZ.mjs 1.82 KB
37
- ESM dist/chunk-S3QS5B7F.mjs 2.22 KB
36
+ ESM dist/chunk-HDNQOLUJ.mjs 3.45 KB
38
37
  ESM dist/chunk-LVFI2NOH.mjs 14.00 B
39
- ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
38
+ ESM dist/chunk-S3QS5B7F.mjs 2.22 KB
40
39
  ESM dist/chunk-7B7LRG5J.mjs 14.00 B
41
40
  ESM dist/chunk-F3HENRVM.mjs 934.00 B
41
+ ESM dist/chunk-Z74QNVPG.mjs 4.04 KB
42
42
  ESM dist/chunk-QIRL6HY6.mjs 5.07 KB
43
43
  ESM dist/chunk-UHFJ7ZFM.mjs 8.19 KB
44
- ESM dist/chunk-Z74QNVPG.mjs 4.04 KB
45
- ESM dist/chunk-DJOG6Z35.mjs 14.00 B
46
- ESM dist/chunk-2GCSFWHD.mjs 14.00 B
44
+ ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
47
45
  ESM dist/chunk-TPFN22HR.mjs 14.00 B
46
+ ESM dist/chunk-75HLCORR.mjs 14.00 B
48
47
  ESM dist/chunk-MGEWSREV.mjs 14.00 B
49
48
  ESM dist/chunk-RXIFDECK.mjs 7.58 KB
50
- ESM dist/chunk-75HLCORR.mjs 14.00 B
51
49
  ESM dist/chunk-7TXQPX4O.mjs 11.13 KB
52
- ESM dist/chunk-AG7AWQKH.mjs 4.42 KB
53
- ESM dist/chunk-HIVPDIEP.mjs 1.27 KB
54
- ESM dist/chunk-QIDZXCYP.mjs 11.03 KB
55
50
  ESM dist/chunk-5ANQDLRS.mjs 7.40 KB
51
+ ESM dist/chunk-QIDZXCYP.mjs 11.03 KB
56
52
  ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
53
+ ESM dist/chunk-HIVPDIEP.mjs 1.27 KB
57
54
  ESM dist/chunk-P732YGHO.mjs 444.00 B
58
- ESM dist/chunk-FONJYZKH.mjs 7.20 KB
59
55
  ESM dist/chunk-FWJ2ZKH6.mjs 3.07 KB
56
+ ESM dist/chunk-FONJYZKH.mjs 7.20 KB
57
+ ESM dist/chunk-AG7AWQKH.mjs 4.42 KB
60
58
  ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
61
- ESM dist/chunk-BFM3LPBK.mjs 4.03 KB
59
+ ESM dist/chunk-2GCSFWHD.mjs 14.00 B
62
60
  ESM dist/chunk-D6QI3DJG.mjs 6.55 KB
63
- ESM dist/chunk-7DLOYKVC.mjs 14.00 B
61
+ ESM dist/chunk-BFM3LPBK.mjs 4.03 KB
64
62
  ESM dist/chunk-UYPVP36M.mjs 1.65 KB
65
- ESM dist/chunk-SE5TU755.mjs 14.00 B
66
- ESM dist/chunk-LL6F3WDX.mjs 778.00 B
67
- ESM dist/chunk-MY5U63QO.mjs 14.00 B
63
+ ESM dist/chunk-DJOG6Z35.mjs 14.00 B
68
64
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
65
+ ESM dist/chunk-7DLOYKVC.mjs 14.00 B
69
66
  ESM dist/chunk-RPDPB4JP.mjs 2.79 KB
70
67
  ESM dist/chunk-LPZOH3RP.mjs 700.00 B
68
+ ESM dist/chunk-MY5U63QO.mjs 14.00 B
71
69
  ESM dist/chunk-6WSACUIB.mjs 14.00 B
72
70
  ESM dist/chunk-6PNKRBUT.mjs 1017.00 B
73
- ESM dist/chunk-WFMFC7R6.mjs 3.68 KB
74
71
  ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
75
72
  ESM dist/chunk-7A5M7DRD.mjs 10.86 KB
76
- ESM dist/chunk-DADMVOYI.mjs 929.00 B
73
+ ESM dist/chunk-K7Z6PVXE.mjs 9.25 KB
74
+ ESM dist/chunk-WFMFC7R6.mjs 3.68 KB
77
75
  ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
76
+ ESM dist/chunk-DADMVOYI.mjs 929.00 B
78
77
  ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
79
- ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
80
78
  ESM dist/utils/clsx.mjs 113.00 B
79
+ ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
81
80
  ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
81
+ ESM dist/chunk-E3G5QXSH.mjs 608.00 B
82
82
  ESM dist/utils/props.mjs 137.00 B
83
83
  ESM dist/chunk-4ZJFD3L3.mjs 14.50 KB
84
- ESM dist/chunk-E3G5QXSH.mjs 608.00 B
85
84
  ESM dist/fonts/font.css 777.00 B
86
85
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
87
86
  ESM dist/chunk-27Y6K5NK.mjs 823.00 B
88
- ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
87
+ ESM dist/chunk-SE5TU755.mjs 14.00 B
88
+ ESM dist/chunk-LL6F3WDX.mjs 778.00 B
89
89
  ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
90
- ESM dist/chunk-K7Z6PVXE.mjs 9.25 KB
91
- ESM dist/chunk-A7OXEUCC.mjs 330.69 KB
90
+ ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
92
91
  ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
93
- ESM dist/components/tooltip/useTooltip.mjs 166.00 B
94
- ESM dist/components/toast/index.mjs 492.00 B
95
- ESM dist/components/tabs/tabs.mjs 232.00 B
92
+ ESM dist/components/table/table.mjs 743.00 B
93
+ ESM dist/chunk-A7OXEUCC.mjs 330.69 KB
94
+ ESM dist/components/toast/use-toast.mjs 406.00 B
96
95
  ESM dist/components/switch/switch.mjs 185.00 B
97
- ESM dist/components/textarea/index.mjs 225.00 B
98
- ESM dist/components/table/table-body.mjs 333.00 B
96
+ ESM dist/components/tooltip/index.mjs 327.00 B
97
+ ESM dist/components/tabs/index.mjs 248.00 B
98
+ ESM dist/components/textarea/textarea.mjs 189.00 B
99
99
  ESM dist/components/scroll/index.mjs 231.00 B
100
- ESM dist/components/select/index.mjs 429.00 B
101
100
  ESM dist/components/ripple/useRipple.mjs 158.00 B
102
- ESM dist/components/pagination/index.mjs 511.00 B
101
+ ESM dist/components/select/index.mjs 429.00 B
103
102
  ESM dist/components/modal/modal.mjs 656.00 B
103
+ ESM dist/components/pagination/index.mjs 511.00 B
104
104
  ESM dist/components/radio/index.mjs 286.00 B
105
- ESM dist/components/list/list.mjs 216.00 B
106
105
  ESM dist/components/icon/index.mjs 245.00 B
107
- ESM dist/components/input/input.mjs 386.00 B
106
+ ESM dist/components/input/index.mjs 391.00 B
107
+ ESM dist/components/list/index.mjs 483.00 B
108
108
  ESM dist/components/chip/index.mjs 353.00 B
109
109
  ESM dist/components/button/button-group.mjs 197.00 B
110
- ESM dist/components/checkbox/index.mjs 295.00 B
111
- ESM dist/components/avatar/avatar.mjs 220.00 B
112
- ESM dist/components/backdrop/backdrop.mjs 224.00 B
110
+ ESM dist/components/checkbox/checkbox.mjs 259.00 B
113
111
  ESM dist/components/dateTimePicker/calendar.mjs 398.00 B
114
- ESM dist/components/toast/toast-utils.mjs 143.00 B
115
- ESM dist/components/toast/toast.mjs 323.00 B
116
- ESM dist/components/tooltip/index.mjs 327.00 B
117
- ESM dist/components/toast/use-toast.mjs 406.00 B
112
+ ESM dist/components/avatar/avatar.mjs 220.00 B
113
+ ESM dist/components/backdrop/index.mjs 260.00 B
114
+ ESM dist/components/tooltip/tooltip.mjs 292.00 B
118
115
  ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
116
+ ESM dist/components/table/index.mjs 776.00 B
117
+ ESM dist/components/table/table-body.mjs 333.00 B
118
+ ESM dist/components/tooltip/useTooltip.mjs 166.00 B
119
+ ESM dist/components/toast/toast-utils.mjs 143.00 B
119
120
  ESM dist/components/table/table-head.mjs 333.00 B
120
- ESM dist/components/table/table.mjs 743.00 B
121
- ESM dist/components/textarea/textarea.mjs 189.00 B
122
- ESM dist/components/tabs/index.mjs 248.00 B
123
- ESM dist/components/tooltip/tooltip.mjs 292.00 B
121
+ ESM dist/components/toast/toast.mjs 323.00 B
122
+ ESM dist/components/textarea/index.mjs 225.00 B
123
+ ESM dist/components/toast/index.mjs 492.00 B
124
+ ESM dist/components/tabs/tabs.mjs 232.00 B
125
+ ESM dist/components/select/option.mjs 290.00 B
124
126
  ESM dist/components/scroll/scrollArea.mjs 193.00 B
125
127
  ESM dist/components/select/select.mjs 395.00 B
126
128
  ESM dist/components/select/useSelect.mjs 129.00 B
127
129
  ESM dist/components/switch/index.mjs 219.00 B
128
- ESM dist/components/select/option.mjs 290.00 B
129
- ESM dist/components/pagination/pagination.mjs 511.00 B
130
- ESM dist/components/pagination/usePagination.mjs 164.00 B
131
- ESM dist/components/ripple/index.mjs 253.00 B
132
- ESM dist/components/table/index.mjs 776.00 B
133
130
  ESM dist/components/radio/radio.mjs 253.00 B
131
+ ESM dist/components/ripple/index.mjs 253.00 B
134
132
  ESM dist/components/ripple/ripple.mjs 150.00 B
135
- ESM dist/components/list/listItem.mjs 364.00 B
133
+ ESM dist/components/pagination/usePagination.mjs 164.00 B
134
+ ESM dist/components/pagination/pagination.mjs 511.00 B
136
135
  ESM dist/components/icon/template.mjs 127.00 B
137
- ESM dist/components/input/index.mjs 391.00 B
138
- ESM dist/components/modal/index.mjs 671.00 B
139
- ESM dist/components/dateTimePicker/util.mjs 191.00 B
140
- ESM dist/components/list/index.mjs 483.00 B
141
- ESM dist/components/icon/Icon.mjs 213.00 B
142
- ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
143
- ESM dist/components/button/icon-button.mjs 440.00 B
144
- ESM dist/components/button/index.mjs 811.00 B
136
+ ESM dist/components/list/listItem.mjs 364.00 B
137
+ ESM dist/components/input/input.mjs 386.00 B
145
138
  ESM dist/components/dateTimePicker/index.mjs 663.00 B
139
+ ESM dist/components/dateTimePicker/timePicker.mjs 473.00 B
146
140
  ESM dist/components/dateTimePicker/dateTimePicker.mjs 667.00 B
147
- ESM dist/components/chip/chip.mjs 321.00 B
148
- ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
149
- ESM dist/components/button/text-button.mjs 265.00 B
141
+ ESM dist/components/icon/Icon.mjs 213.00 B
142
+ ESM dist/components/dateTimePicker/util.mjs 191.00 B
143
+ ESM dist/components/modal/index.mjs 671.00 B
144
+ ESM dist/components/list/list.mjs 216.00 B
150
145
  ESM dist/components/button/button.mjs 430.00 B
151
- ESM dist/components/checkbox/checkbox.mjs 259.00 B
146
+ ESM dist/components/button/index.mjs 811.00 B
147
+ ESM dist/components/button/icon-button.mjs 440.00 B
148
+ ESM dist/components/checkbox/index.mjs 295.00 B
149
+ ESM dist/components/chip/chip.mjs 321.00 B
152
150
  ESM dist/components/avatar/index.mjs 254.00 B
153
- ESM dist/components/backdrop/index.mjs 260.00 B
151
+ ESM dist/components/button/text-button.mjs 265.00 B
152
+ ESM dist/components/backdrop/backdrop.mjs 224.00 B
154
153
  ESM dist/components/breadcrumb/index.mjs 686.00 B
154
+ ESM dist/components/dateTimePicker/useDateTimePicker.mjs 172.00 B
155
155
  ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
156
- ESM ⚡️ Build success in 407ms
156
+ ESM ⚡️ Build success in 398ms
157
157
  CJS dist/fonts/NanumSquare_acB.js 113.00 B
158
- CJS dist/fonts/NanumSquare_acR.js 113.00 B
159
158
  CJS dist/fonts/NanumSquare_acL.js 113.00 B
160
159
  CJS dist/fonts/NanumSquare_acEB.js 116.00 B
160
+ CJS dist/fonts/NanumSquare_acR.js 113.00 B
161
161
  CJS dist/utils/clsx.js 1.77 KB
162
- CJS dist/utils/types.js 778.00 B
163
162
  CJS dist/utils/props.js 1.59 KB
163
+ CJS dist/utils/types.js 778.00 B
164
164
  CJS dist/utils/tailwind-variants.js 7.91 KB
165
- CJS dist/fonts/font.css 777.00 B
166
- CJS dist/components/avatar/avatar.js 350.39 KB
167
165
  CJS dist/components/backdrop/backdrop.js 9.31 KB
168
- CJS dist/components/button/button-group.js 8.54 KB
169
- CJS dist/components/avatar/index.js 350.53 KB
170
- CJS dist/components/breadcrumb/index.js 357.56 KB
171
166
  CJS dist/components/backdrop/index.js 9.45 KB
167
+ CJS dist/components/avatar/index.js 350.53 KB
172
168
  CJS dist/components/breadcrumb/breadcrumb.js 357.41 KB
173
- CJS dist/components/button/button.js 363.57 KB
169
+ CJS dist/components/avatar/avatar.js 350.39 KB
170
+ CJS dist/components/button/button-group.js 8.54 KB
174
171
  CJS dist/components/button/text-button.js 12.75 KB
175
- CJS dist/components/button/icon-button.js 361.91 KB
172
+ CJS dist/components/breadcrumb/index.js 357.56 KB
173
+ CJS dist/components/button/button.js 363.57 KB
174
+ CJS dist/components/button/index.js 378.09 KB
176
175
  CJS dist/components/checkbox/index.js 15.90 KB
176
+ CJS dist/components/button/icon-button.js 361.91 KB
177
177
  CJS dist/components/checkbox/checkbox.js 15.76 KB
178
- CJS dist/components/button/index.js 378.09 KB
179
178
  CJS dist/components/chip/chip.js 354.08 KB
180
- CJS dist/components/chip/index.js 354.20 KB
181
179
  CJS dist/components/dateTimePicker/calendar.js 358.19 KB
182
- CJS dist/components/dateTimePicker/util.js 1.48 KB
183
- CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
184
180
  CJS dist/components/dateTimePicker/dateTimePicker.js 387.44 KB
181
+ CJS dist/components/dateTimePicker/useDateTimePicker.js 4.53 KB
182
+ CJS dist/components/dateTimePicker/util.js 1.48 KB
183
+ CJS dist/components/chip/index.js 354.20 KB
185
184
  CJS dist/components/dateTimePicker/index.js 387.44 KB
186
- CJS dist/components/icon/template.js 341.98 KB
187
- CJS dist/components/icon/index.js 342.91 KB
188
185
  CJS dist/components/dateTimePicker/timePicker.js 365.31 KB
189
- CJS dist/components/input/index.js 362.38 KB
186
+ CJS dist/components/icon/index.js 342.91 KB
190
187
  CJS dist/components/list/list.js 9.58 KB
191
- CJS dist/components/list/index.js 360.83 KB
192
- CJS dist/components/list/listItem.js 359.00 KB
188
+ CJS dist/components/icon/template.js 341.98 KB
193
189
  CJS dist/components/icon/Icon.js 342.91 KB
194
- CJS dist/components/input/input.js 362.38 KB
195
- CJS dist/components/radio/index.js 14.36 KB
190
+ CJS dist/components/input/index.js 362.38 KB
191
+ CJS dist/components/list/listItem.js 359.00 KB
196
192
  CJS dist/components/modal/index.js 371.71 KB
197
- CJS dist/components/modal/modal.js 371.70 KB
198
- CJS dist/components/radio/radio.js 14.23 KB
199
- CJS dist/components/ripple/useRipple.js 2.04 KB
193
+ CJS dist/fonts/font.css 777.00 B
194
+ CJS dist/components/input/input.js 362.38 KB
195
+ CJS dist/components/pagination/index.js 371.56 KB
200
196
  CJS dist/components/pagination/usePagination.js 1.88 KB
197
+ CJS dist/components/radio/radio.js 14.23 KB
198
+ CJS dist/components/ripple/index.js 3.65 KB
201
199
  CJS dist/components/ripple/ripple.js 2.57 KB
200
+ CJS dist/components/radio/index.js 14.36 KB
202
201
  CJS dist/components/scroll/index.js 2.92 KB
203
- CJS dist/components/pagination/pagination.js 371.56 KB
202
+ CJS dist/components/ripple/useRipple.js 2.04 KB
204
203
  CJS dist/components/scroll/scrollArea.js 2.79 KB
205
- CJS dist/components/pagination/index.js 371.56 KB
204
+ CJS dist/components/list/index.js 360.83 KB
205
+ CJS dist/components/pagination/pagination.js 371.56 KB
206
+ CJS dist/components/modal/modal.js 371.70 KB
206
207
  CJS dist/components/switch/index.js 5.79 KB
207
- CJS dist/components/select/index.js 362.24 KB
208
- CJS dist/components/select/option.js 351.41 KB
209
208
  CJS dist/components/select/useSelect.js 3.32 KB
210
209
  CJS dist/components/switch/switch.js 5.66 KB
211
- CJS dist/components/textarea/index.js 7.82 KB
212
- CJS dist/components/table/table-head.js 17.51 KB
213
- CJS dist/components/textarea/textarea.js 7.68 KB
214
- CJS dist/components/table/table-body.js 19.09 KB
215
210
  CJS dist/components/tabs/index.js 14.72 KB
216
- CJS dist/components/select/select.js 362.11 KB
217
211
  CJS dist/components/tabs/tabs.js 14.71 KB
212
+ CJS dist/components/textarea/textarea.js 7.68 KB
213
+ CJS dist/components/select/index.js 362.24 KB
214
+ CJS dist/components/textarea/index.js 7.82 KB
218
215
  CJS dist/components/toast/toast-utils.js 1.85 KB
219
- CJS dist/components/table/index.js 391.70 KB
220
216
  CJS dist/components/tooltip/index.js 17.80 KB
217
+ CJS dist/components/select/select.js 362.11 KB
221
218
  CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
222
- CJS dist/components/toast/index.js 357.76 KB
223
219
  CJS dist/components/tooltip/tooltip.js 17.67 KB
220
+ CJS dist/components/select/option.js 351.41 KB
221
+ CJS dist/components/table/table-body.js 19.16 KB
222
+ CJS dist/components/toast/index.js 357.76 KB
224
223
  CJS dist/components/tooltip/useTooltip.js 4.19 KB
225
- CJS dist/components/ripple/index.js 3.65 KB
226
- CJS dist/components/table/table.js 391.57 KB
227
224
  CJS dist/components/toast/use-toast.js 357.70 KB
225
+ CJS dist/components/table/table-head.js 17.51 KB
228
226
  CJS dist/components/toast/toast.js 353.24 KB
229
- CJS dist/index.js 530.95 KB
230
- CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
227
+ CJS dist/components/table/index.js 392.00 KB
228
+ CJS dist/components/table/table.js 391.87 KB
229
+ CJS dist/index.js 531.25 KB
230
+ CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
231
231
  CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
232
232
  CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
233
- CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
234
- CJS ⚡️ Build success in 409ms
235
- DTS ⚡️ Build success in 10063ms
233
+ CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
234
+ CJS ⚡️ Build success in 399ms
235
+ DTS ⚡️ Build success in 10130ms
236
236
  DTS dist/index.d.ts 2.19 KB
237
237
  DTS dist/components/button/index.d.ts 415.00 B
238
238
  DTS dist/components/list/index.d.ts 302.00 B
@@ -260,7 +260,7 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
260
260
  DTS dist/components/ripple/useRipple.d.ts 518.00 B
261
261
  DTS dist/components/select/option.d.ts 607.00 B
262
262
  DTS dist/components/select/useSelect.d.ts 952.00 B
263
- DTS dist/components/table/table-body.d.ts 807.00 B
263
+ DTS dist/components/table/table-body.d.ts 878.00 B
264
264
  DTS dist/components/table/table-head.d.ts 671.00 B
265
265
  DTS dist/components/avatar/avatar.d.ts 1.65 KB
266
266
  DTS dist/components/backdrop/backdrop.d.ts 330.00 B
@@ -277,10 +277,10 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
277
277
  DTS dist/components/scroll/scrollArea.d.ts 423.00 B
278
278
  DTS dist/components/select/select.d.ts 6.77 KB
279
279
  DTS dist/components/switch/switch.d.ts 4.00 KB
280
- DTS dist/components/table/table.d.ts 4.90 KB
281
- DTS dist/components/textarea/textarea.d.ts 6.25 KB
282
280
  DTS dist/components/tabs/tabs.d.ts 3.10 KB
281
+ DTS dist/components/textarea/textarea.d.ts 6.25 KB
283
282
  DTS dist/components/tooltip/tooltip.d.ts 2.16 KB
283
+ DTS dist/components/table/table.d.ts 4.92 KB
284
284
  DTS dist/fonts/NanumSquare_acEB.d.ts 13.00 B
285
285
  DTS dist/fonts/NanumSquare_acL.d.ts 13.00 B
286
286
  DTS dist/fonts/NanumSquare_acR.d.ts 13.00 B
@@ -302,10 +302,10 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
302
302
  DTS dist/components/scroll/index.d.ts 101.00 B
303
303
  DTS dist/components/select/index.d.ts 151.00 B
304
304
  DTS dist/components/switch/index.d.ts 124.00 B
305
- DTS dist/components/table/index.d.ts 155.00 B
306
- DTS dist/components/textarea/index.d.ts 143.00 B
307
305
  DTS dist/components/tabs/index.d.ts 179.00 B
306
+ DTS dist/components/textarea/index.d.ts 143.00 B
308
307
  DTS dist/components/tooltip/index.d.ts 182.00 B
308
+ DTS dist/components/table/index.d.ts 155.00 B
309
309
  DTS dist/tooltip-utils-DO3LQaVM.d.ts 2.05 KB
310
310
  DTS dist/index.d.mts 2.22 KB
311
311
  DTS dist/components/button/index.d.mts 422.00 B
@@ -334,7 +334,7 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
334
334
  DTS dist/components/ripple/useRipple.d.mts 518.00 B
335
335
  DTS dist/components/select/option.d.mts 609.00 B
336
336
  DTS dist/components/select/useSelect.d.mts 954.00 B
337
- DTS dist/components/table/table-body.d.mts 809.00 B
337
+ DTS dist/components/table/table-body.d.mts 880.00 B
338
338
  DTS dist/components/table/table-head.d.mts 673.00 B
339
339
  DTS dist/components/avatar/avatar.d.mts 1.66 KB
340
340
  DTS dist/components/backdrop/backdrop.d.mts 330.00 B
@@ -351,10 +351,10 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
351
351
  DTS dist/components/scroll/scrollArea.d.mts 423.00 B
352
352
  DTS dist/components/select/select.d.mts 6.77 KB
353
353
  DTS dist/components/switch/switch.d.mts 4.00 KB
354
- DTS dist/components/table/table.d.mts 4.90 KB
355
- DTS dist/components/textarea/textarea.d.mts 6.25 KB
356
354
  DTS dist/components/tabs/tabs.d.mts 3.11 KB
355
+ DTS dist/components/textarea/textarea.d.mts 6.25 KB
357
356
  DTS dist/components/tooltip/tooltip.d.mts 2.17 KB
357
+ DTS dist/components/table/table.d.mts 4.92 KB
358
358
  DTS dist/fonts/NanumSquare_acEB.d.mts 13.00 B
359
359
  DTS dist/fonts/NanumSquare_acL.d.mts 13.00 B
360
360
  DTS dist/fonts/NanumSquare_acR.d.mts 13.00 B
@@ -376,10 +376,10 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
376
376
  DTS dist/components/scroll/index.d.mts 102.00 B
377
377
  DTS dist/components/select/index.d.mts 153.00 B
378
378
  DTS dist/components/switch/index.d.mts 126.00 B
379
- DTS dist/components/table/index.d.mts 157.00 B
380
- DTS dist/components/textarea/index.d.mts 145.00 B
381
379
  DTS dist/components/tabs/index.d.mts 181.00 B
380
+ DTS dist/components/textarea/index.d.mts 145.00 B
382
381
  DTS dist/components/tooltip/index.d.mts 185.00 B
382
+ DTS dist/components/table/index.d.mts 157.00 B
383
383
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
384
384
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
385
- Done in 10.81s.
385
+ Done in 11.02s.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "./chunk-ETX4WR6J.mjs";
4
+ } from "./chunk-63WXGSTV.mjs";
5
5
  import {
6
6
  table_head_default
7
7
  } from "./chunk-3DPVPTHL.mjs";
@@ -11,6 +11,9 @@ import {
11
11
  import {
12
12
  pagination_default
13
13
  } from "./chunk-UHFJ7ZFM.mjs";
14
+ import {
15
+ clsx
16
+ } from "./chunk-27Y6K5NK.mjs";
14
17
  import {
15
18
  mapPropsVariants
16
19
  } from "./chunk-E3G5QXSH.mjs";
@@ -38,13 +41,14 @@ var Table = forwardRef((originalProps, ref) => {
38
41
  pagination,
39
42
  onPageChange,
40
43
  emptyContent,
44
+ isLoading,
41
45
  className,
42
46
  color
43
47
  } = { ...props, ...variantProps };
44
48
  const [checkedRows, setCheckedRows] = useState(/* @__PURE__ */ new Set());
45
49
  const divRef = useRef(null);
46
50
  const { page, perPage } = pagination || { page: 1, perPage: 10 };
47
- const showPagination = pagination && typeof totalData === "number";
51
+ const showPagination = pagination && typeof totalData === "number" && !isLoading;
48
52
  useImperativeHandle(ref, () => ({
49
53
  checkedRows,
50
54
  setCheckedRows
@@ -63,7 +67,7 @@ var Table = forwardRef((originalProps, ref) => {
63
67
  };
64
68
  const slots = useMemo(() => tableStyle(variantProps), [variantProps]);
65
69
  return /* @__PURE__ */ jsxs("div", { ref: divRef, "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
66
- /* @__PURE__ */ jsx(scrollArea_default, { size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ jsxs("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
70
+ /* @__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: [
67
71
  /* @__PURE__ */ jsx(
68
72
  table_head_default,
69
73
  {
@@ -87,7 +91,12 @@ var Table = forwardRef((originalProps, ref) => {
87
91
  checkedRows,
88
92
  onCheckRow: handleCheck,
89
93
  emptyContent,
90
- classNames
94
+ isLoading,
95
+ classNames,
96
+ className: clsx(
97
+ "transition-all duration-150 ease-out",
98
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
99
+ )
91
100
  }
92
101
  )
93
102
  ] }) }),
@@ -19,7 +19,9 @@ var TableBody = ({
19
19
  checkedRows,
20
20
  onCheckRow,
21
21
  emptyContent,
22
- classNames
22
+ isLoading,
23
+ classNames,
24
+ className
23
25
  }) => {
24
26
  const generateColumnStyles = useCallback((column) => {
25
27
  const alignClass = column.align ? `text-${column.align}` : "text-left";
@@ -57,8 +59,8 @@ var TableBody = ({
57
59
  );
58
60
  const hasRows = rows.length > 0;
59
61
  const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
60
- return /* @__PURE__ */ jsxs("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
61
- hasRows && rows.map((row, rowIndex) => {
62
+ return /* @__PURE__ */ jsxs("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
63
+ !isLoading && hasRows && rows.map((row, rowIndex) => {
62
64
  const isRowChecked = checkedRows.has(rowIndex);
63
65
  return /* @__PURE__ */ jsxs("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
64
66
  columns.map((column) => /* @__PURE__ */ createElement("td", { ...getCellProps(column, row), key: column.field })),
@@ -72,7 +74,7 @@ var TableBody = ({
72
74
  ) }) })
73
75
  ] }, rowIndex);
74
76
  }),
75
- !hasRows && emptyContent && /* @__PURE__ */ jsx("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ jsx("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
77
+ !isLoading && !hasRows && emptyContent && /* @__PURE__ */ jsx("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ jsx("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
76
78
  ] });
77
79
  };
78
80
  var table_body_default = TableBody;
@@ -638,7 +638,9 @@ var TableBody = ({
638
638
  checkedRows,
639
639
  onCheckRow,
640
640
  emptyContent,
641
- classNames
641
+ isLoading,
642
+ classNames,
643
+ className
642
644
  }) => {
643
645
  const generateColumnStyles = (0, import_react2.useCallback)((column) => {
644
646
  const alignClass = column.align ? `text-${column.align}` : "text-left";
@@ -676,8 +678,8 @@ var TableBody = ({
676
678
  );
677
679
  const hasRows = rows.length > 0;
678
680
  const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
679
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
680
- hasRows && rows.map((row, rowIndex) => {
681
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
682
+ !isLoading && hasRows && rows.map((row, rowIndex) => {
681
683
  const isRowChecked = checkedRows.has(rowIndex);
682
684
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
683
685
  columns.map((column) => /* @__PURE__ */ (0, import_react3.createElement)("td", { ...getCellProps(column, row), key: column.field })),
@@ -691,7 +693,7 @@ var TableBody = ({
691
693
  ) }) })
692
694
  ] }, rowIndex);
693
695
  }),
694
- !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
696
+ !isLoading && !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
695
697
  ] });
696
698
  };
697
699
  var table_body_default = TableBody;
@@ -5263,13 +5265,14 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5263
5265
  pagination,
5264
5266
  onPageChange,
5265
5267
  emptyContent,
5268
+ isLoading,
5266
5269
  className,
5267
5270
  color
5268
5271
  } = { ...props, ...variantProps };
5269
5272
  const [checkedRows, setCheckedRows] = (0, import_react7.useState)(/* @__PURE__ */ new Set());
5270
5273
  const divRef = (0, import_react7.useRef)(null);
5271
5274
  const { page, perPage } = pagination || { page: 1, perPage: 10 };
5272
- const showPagination = pagination && typeof totalData === "number";
5275
+ const showPagination = pagination && typeof totalData === "number" && !isLoading;
5273
5276
  (0, import_react7.useImperativeHandle)(ref, () => ({
5274
5277
  checkedRows,
5275
5278
  setCheckedRows
@@ -5288,7 +5291,7 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5288
5291
  };
5289
5292
  const slots = (0, import_react7.useMemo)(() => tableStyle(variantProps), [variantProps]);
5290
5293
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { ref: divRef, "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
5291
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(scrollArea_default, { size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
5294
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
5292
5295
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
5293
5296
  table_head_default,
5294
5297
  {
@@ -5312,7 +5315,12 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5312
5315
  checkedRows,
5313
5316
  onCheckRow: handleCheck,
5314
5317
  emptyContent,
5315
- classNames
5318
+ isLoading,
5319
+ classNames,
5320
+ className: clsx(
5321
+ "transition-all duration-150 ease-out",
5322
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
5323
+ )
5316
5324
  }
5317
5325
  )
5318
5326
  ] }) }),
@@ -2,8 +2,8 @@
2
2
  import "../../chunk-2UUH2MBF.mjs";
3
3
  import {
4
4
  table_default
5
- } from "../../chunk-2YRRWNYG.mjs";
6
- import "../../chunk-ETX4WR6J.mjs";
5
+ } from "../../chunk-3TJAGKKY.mjs";
6
+ import "../../chunk-63WXGSTV.mjs";
7
7
  import "../../chunk-3DPVPTHL.mjs";
8
8
  import "../../chunk-DQRAFUDA.mjs";
9
9
  import "../../chunk-M37VBNB3.mjs";
@@ -13,8 +13,10 @@ interface TableBodyProps {
13
13
  checkedRows: Set<number>;
14
14
  onCheckRow: (index: number, isChecked: boolean) => void;
15
15
  emptyContent?: ReactNode;
16
+ isLoading?: boolean;
16
17
  classNames?: SlotsToClasses<TableSlots>;
18
+ className?: string;
17
19
  }
18
- declare const TableBody: ({ slots, columns, rows, size, selectableRows, checkedRows, onCheckRow, emptyContent, classNames, }: TableBodyProps) => react_jsx_runtime.JSX.Element;
20
+ declare const TableBody: ({ slots, columns, rows, size, selectableRows, checkedRows, onCheckRow, emptyContent, isLoading, classNames, className, }: TableBodyProps) => react_jsx_runtime.JSX.Element;
19
21
 
20
22
  export { TableBody as default };
@@ -13,8 +13,10 @@ interface TableBodyProps {
13
13
  checkedRows: Set<number>;
14
14
  onCheckRow: (index: number, isChecked: boolean) => void;
15
15
  emptyContent?: ReactNode;
16
+ isLoading?: boolean;
16
17
  classNames?: SlotsToClasses<TableSlots>;
18
+ className?: string;
17
19
  }
18
- declare const TableBody: ({ slots, columns, rows, size, selectableRows, checkedRows, onCheckRow, emptyContent, classNames, }: TableBodyProps) => react_jsx_runtime.JSX.Element;
20
+ declare const TableBody: ({ slots, columns, rows, size, selectableRows, checkedRows, onCheckRow, emptyContent, isLoading, classNames, className, }: TableBodyProps) => react_jsx_runtime.JSX.Element;
19
21
 
20
22
  export { TableBody as default };
@@ -605,7 +605,9 @@ var TableBody = ({
605
605
  checkedRows,
606
606
  onCheckRow,
607
607
  emptyContent,
608
- classNames
608
+ isLoading,
609
+ classNames,
610
+ className
609
611
  }) => {
610
612
  const generateColumnStyles = (0, import_react2.useCallback)((column) => {
611
613
  const alignClass = column.align ? `text-${column.align}` : "text-left";
@@ -643,8 +645,8 @@ var TableBody = ({
643
645
  );
644
646
  const hasRows = rows.length > 0;
645
647
  const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
646
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
647
- hasRows && rows.map((row, rowIndex) => {
648
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
649
+ !isLoading && hasRows && rows.map((row, rowIndex) => {
648
650
  const isRowChecked = checkedRows.has(rowIndex);
649
651
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
650
652
  columns.map((column) => /* @__PURE__ */ (0, import_react3.createElement)("td", { ...getCellProps(column, row), key: column.field })),
@@ -658,7 +660,7 @@ var TableBody = ({
658
660
  ) }) })
659
661
  ] }, rowIndex);
660
662
  }),
661
- !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
663
+ !isLoading && !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
662
664
  ] });
663
665
  };
664
666
  var table_body_default = TableBody;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-ETX4WR6J.mjs";
4
+ } from "../../chunk-63WXGSTV.mjs";
5
5
  import "../../chunk-QZ3LVYJW.mjs";
6
6
  import "../../chunk-D6QI3DJG.mjs";
7
7
  import "../../chunk-4ZJFD3L3.mjs";
@@ -18,6 +18,7 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
18
18
  perPage: number;
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
+ isLoading?: boolean;
21
22
  classNames?: SlotsToClasses<TableSlots>;
22
23
  }
23
24
  interface TableRef {
@@ -18,6 +18,7 @@ interface TableBaseProps extends Omit<ComponentPropsWithRef<"table">, "ref" | "c
18
18
  perPage: number;
19
19
  }) => void;
20
20
  emptyContent?: ReactNode;
21
+ isLoading?: boolean;
21
22
  classNames?: SlotsToClasses<TableSlots>;
22
23
  }
23
24
  interface TableRef {
@@ -636,7 +636,9 @@ var TableBody = ({
636
636
  checkedRows,
637
637
  onCheckRow,
638
638
  emptyContent,
639
- classNames
639
+ isLoading,
640
+ classNames,
641
+ className
640
642
  }) => {
641
643
  const generateColumnStyles = (0, import_react2.useCallback)((column) => {
642
644
  const alignClass = column.align ? `text-${column.align}` : "text-left";
@@ -674,8 +676,8 @@ var TableBody = ({
674
676
  );
675
677
  const hasRows = rows.length > 0;
676
678
  const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
677
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
678
- hasRows && rows.map((row, rowIndex) => {
679
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
680
+ !isLoading && hasRows && rows.map((row, rowIndex) => {
679
681
  const isRowChecked = checkedRows.has(rowIndex);
680
682
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
681
683
  columns.map((column) => /* @__PURE__ */ (0, import_react3.createElement)("td", { ...getCellProps(column, row), key: column.field })),
@@ -689,7 +691,7 @@ var TableBody = ({
689
691
  ) }) })
690
692
  ] }, rowIndex);
691
693
  }),
692
- !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
694
+ !isLoading && !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
693
695
  ] });
694
696
  };
695
697
  var table_body_default = TableBody;
@@ -5261,13 +5263,14 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5261
5263
  pagination,
5262
5264
  onPageChange,
5263
5265
  emptyContent,
5266
+ isLoading,
5264
5267
  className,
5265
5268
  color
5266
5269
  } = { ...props, ...variantProps };
5267
5270
  const [checkedRows, setCheckedRows] = (0, import_react7.useState)(/* @__PURE__ */ new Set());
5268
5271
  const divRef = (0, import_react7.useRef)(null);
5269
5272
  const { page, perPage } = pagination || { page: 1, perPage: 10 };
5270
- const showPagination = pagination && typeof totalData === "number";
5273
+ const showPagination = pagination && typeof totalData === "number" && !isLoading;
5271
5274
  (0, import_react7.useImperativeHandle)(ref, () => ({
5272
5275
  checkedRows,
5273
5276
  setCheckedRows
@@ -5286,7 +5289,7 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5286
5289
  };
5287
5290
  const slots = (0, import_react7.useMemo)(() => tableStyle(variantProps), [variantProps]);
5288
5291
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { ref: divRef, "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
5289
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(scrollArea_default, { size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
5292
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
5290
5293
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
5291
5294
  table_head_default,
5292
5295
  {
@@ -5310,7 +5313,12 @@ var Table = (0, import_react7.forwardRef)((originalProps, ref) => {
5310
5313
  checkedRows,
5311
5314
  onCheckRow: handleCheck,
5312
5315
  emptyContent,
5313
- classNames
5316
+ isLoading,
5317
+ classNames,
5318
+ className: clsx(
5319
+ "transition-all duration-150 ease-out",
5320
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
5321
+ )
5314
5322
  }
5315
5323
  )
5316
5324
  ] }) }),
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-2YRRWNYG.mjs";
5
- import "../../chunk-ETX4WR6J.mjs";
4
+ } from "../../chunk-3TJAGKKY.mjs";
5
+ import "../../chunk-63WXGSTV.mjs";
6
6
  import "../../chunk-3DPVPTHL.mjs";
7
7
  import "../../chunk-DQRAFUDA.mjs";
8
8
  import "../../chunk-M37VBNB3.mjs";
package/dist/index.js CHANGED
@@ -6774,7 +6774,9 @@ var TableBody = ({
6774
6774
  checkedRows,
6775
6775
  onCheckRow,
6776
6776
  emptyContent,
6777
- classNames
6777
+ isLoading,
6778
+ classNames,
6779
+ className
6778
6780
  }) => {
6779
6781
  const generateColumnStyles = (0, import_react13.useCallback)((column) => {
6780
6782
  const alignClass = column.align ? `text-${column.align}` : "text-left";
@@ -6812,8 +6814,8 @@ var TableBody = ({
6812
6814
  );
6813
6815
  const hasRows = rows.length > 0;
6814
6816
  const colSpan = (columns.length || 1) + (selectableRows ? 1 : 0);
6815
- return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("tbody", { className: slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), children: [
6816
- hasRows && rows.map((row, rowIndex) => {
6817
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("tbody", { className: clsx(slots.tbody({ class: classNames == null ? void 0 : classNames.tbody }), className), children: [
6818
+ !isLoading && hasRows && rows.map((row, rowIndex) => {
6817
6819
  const isRowChecked = checkedRows.has(rowIndex);
6818
6820
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("tr", { className: slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "aria-checked": isRowChecked, children: [
6819
6821
  columns.map((column) => /* @__PURE__ */ (0, import_react14.createElement)("td", { ...getCellProps(column, row), key: column.field })),
@@ -6827,7 +6829,7 @@ var TableBody = ({
6827
6829
  ) }) })
6828
6830
  ] }, rowIndex);
6829
6831
  }),
6830
- !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
6832
+ !isLoading && !hasRows && emptyContent && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("tr", { className: clsx(slots.tr({ class: classNames == null ? void 0 : classNames.tr }), "border-none"), children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("td", { colSpan, className: slots.empty({ class: classNames == null ? void 0 : classNames.empty }), children: emptyContent }) })
6831
6833
  ] });
6832
6834
  };
6833
6835
  var table_body_default = TableBody;
@@ -7168,13 +7170,14 @@ var Table = (0, import_react17.forwardRef)((originalProps, ref) => {
7168
7170
  pagination,
7169
7171
  onPageChange,
7170
7172
  emptyContent,
7173
+ isLoading,
7171
7174
  className,
7172
7175
  color
7173
7176
  } = { ...props, ...variantProps };
7174
7177
  const [checkedRows, setCheckedRows] = (0, import_react17.useState)(/* @__PURE__ */ new Set());
7175
7178
  const divRef = (0, import_react17.useRef)(null);
7176
7179
  const { page, perPage } = pagination || { page: 1, perPage: 10 };
7177
- const showPagination = pagination && typeof totalData === "number";
7180
+ const showPagination = pagination && typeof totalData === "number" && !isLoading;
7178
7181
  (0, import_react17.useImperativeHandle)(ref, () => ({
7179
7182
  checkedRows,
7180
7183
  setCheckedRows
@@ -7193,7 +7196,7 @@ var Table = (0, import_react17.forwardRef)((originalProps, ref) => {
7193
7196
  };
7194
7197
  const slots = (0, import_react17.useMemo)(() => tableStyle(variantProps), [variantProps]);
7195
7198
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { ref: divRef, "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
7196
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(scrollArea_default, { size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
7199
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: [
7197
7200
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
7198
7201
  table_head_default,
7199
7202
  {
@@ -7217,7 +7220,12 @@ var Table = (0, import_react17.forwardRef)((originalProps, ref) => {
7217
7220
  checkedRows,
7218
7221
  onCheckRow: handleCheck,
7219
7222
  emptyContent,
7220
- classNames
7223
+ isLoading,
7224
+ classNames,
7225
+ className: clsx(
7226
+ "transition-all duration-150 ease-out",
7227
+ isLoading ? "-translate-y-2 opacity-0" : "translate-y-0 opacity-100"
7228
+ )
7221
7229
  }
7222
7230
  )
7223
7231
  ] }) }),
package/dist/index.mjs CHANGED
@@ -1,13 +1,4 @@
1
1
  "use client";
2
- import "./chunk-LUWGOKLG.mjs";
3
- import {
4
- ToastProvider,
5
- useToast
6
- } from "./chunk-HDNQOLUJ.mjs";
7
- import "./chunk-ZOTHPHXA.mjs";
8
- import {
9
- toast_default
10
- } from "./chunk-5OBP42D6.mjs";
11
2
  import "./chunk-HIE2YRGA.mjs";
12
3
  import {
13
4
  tooltip_default
@@ -17,17 +8,26 @@ import "./chunk-WSIADHVC.mjs";
17
8
  import "./chunk-2UUH2MBF.mjs";
18
9
  import {
19
10
  table_default
20
- } from "./chunk-2YRRWNYG.mjs";
21
- import "./chunk-ETX4WR6J.mjs";
11
+ } from "./chunk-3TJAGKKY.mjs";
12
+ import "./chunk-63WXGSTV.mjs";
22
13
  import "./chunk-3DPVPTHL.mjs";
14
+ import "./chunk-3MY6LO7N.mjs";
15
+ import {
16
+ tabs_default
17
+ } from "./chunk-2YMAKIZ6.mjs";
23
18
  import "./chunk-RRAZM5D3.mjs";
24
19
  import {
25
20
  textarea_default
26
21
  } from "./chunk-BKE6QF6W.mjs";
27
- import "./chunk-3MY6LO7N.mjs";
22
+ import "./chunk-LUWGOKLG.mjs";
28
23
  import {
29
- tabs_default
30
- } from "./chunk-2YMAKIZ6.mjs";
24
+ ToastProvider,
25
+ useToast
26
+ } from "./chunk-HDNQOLUJ.mjs";
27
+ import "./chunk-ZOTHPHXA.mjs";
28
+ import {
29
+ toast_default
30
+ } from "./chunk-5OBP42D6.mjs";
31
31
  import "./chunk-DQRAFUDA.mjs";
32
32
  import {
33
33
  scrollArea_default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {