@deepnoid/ui 0.1.183 → 0.1.185

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/hooks/useIsMounted.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/accordion/accordion.tsx, src/components/accordion/accordionItem.tsx, src/components/accordion/index.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/charts/radarChart.tsx, src/components/charts/simpleBarChart.tsx, src/components/checkbox/checkbox.tsx, src/components/checkbox/index.tsx, src/components/chip/chip.tsx, src/components/chip/index.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/picker/datePicker.tsx, src/components/picker/day.tsx, src/components/picker/index.ts, src/components/picker/timePicker.tsx, src/components/picker/utils.ts, src/components/progress/index.ts, src/components/progress/progress.tsx, 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/starRating/index.ts, src/components/starRating/starRating.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/timePicker/calendar.tsx, src/components/timePicker/useDateTimePicker.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/hooks/useIsMounted.ts, src/utils/clsx.ts, src/utils/props.ts, src/utils/tailwind-variants.ts, src/utils/types.ts, src/components/accordion/accordion.tsx, src/components/accordion/accordionItem.tsx, src/components/accordion/index.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/charts/radarChart.tsx, src/components/charts/simpleBarChart.tsx, src/components/checkbox/checkbox.tsx, src/components/checkbox/index.tsx, src/components/chip/chip.tsx, src/components/chip/index.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/picker/datePicker.tsx, src/components/picker/day.tsx, src/components/picker/index.ts, src/components/picker/timePicker.tsx, src/components/picker/utils.ts, src/components/progress/index.ts, src/components/progress/progress.tsx, 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/starRating/index.ts, src/components/starRating/starRating.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/timePicker/calendar.tsx, src/components/timePicker/useDateTimePicker.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
@@ -12,232 +12,233 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
12
12
  ESM dist/utils/props.mjs 137.00 B
13
13
  ESM dist/hooks/useIsMounted.mjs 129.00 B
14
14
  ESM dist/fonts/NanumSquare_acB.mjs 194.00 B
15
- ESM dist/chunk-HIE2YRGA.mjs 14.00 B
15
+ ESM dist/index.mjs 5.19 KB
16
16
  ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
17
- ESM dist/chunk-WSIADHVC.mjs 3.80 KB
18
- ESM dist/chunk-5KC3IFNR.mjs 4.21 KB
19
17
  ESM dist/chunk-MBLZYQCN.mjs 14.00 B
18
+ ESM dist/chunk-MWUA62VL.mjs 5.53 KB
20
19
  ESM dist/chunk-3MY6LO7N.mjs 14.00 B
21
- ESM dist/chunk-DW3BX4M2.mjs 6.13 KB
20
+ ESM dist/chunk-HIE2YRGA.mjs 14.00 B
21
+ ESM dist/chunk-WSIADHVC.mjs 3.80 KB
22
+ ESM dist/chunk-5KC3IFNR.mjs 4.21 KB
22
23
  ESM dist/chunk-RRAZM5D3.mjs 14.00 B
23
- ESM dist/chunk-MWUA62VL.mjs 5.53 KB
24
- ESM dist/chunk-4SDPS5R2.mjs 2.58 KB
25
- ESM dist/chunk-LUWGOKLG.mjs 14.00 B
24
+ ESM dist/chunk-DW3BX4M2.mjs 6.13 KB
26
25
  ESM dist/chunk-3CRSSRCH.mjs 9.13 KB
26
+ ESM dist/chunk-LUWGOKLG.mjs 14.00 B
27
+ ESM dist/chunk-4SDPS5R2.mjs 2.58 KB
27
28
  ESM dist/chunk-GS5X67UB.mjs 4.10 KB
28
29
  ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
29
- ESM dist/chunk-OLQOLLKG.mjs 14.00 B
30
- ESM dist/chunk-X64VT74O.mjs 4.19 KB
31
- ESM dist/index.mjs 5.19 KB
32
- ESM dist/chunk-DX3KXNP6.mjs 14.00 B
30
+ ESM dist/chunk-LVFI2NOH.mjs 14.00 B
33
31
  ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
32
+ ESM dist/chunk-DX3KXNP6.mjs 14.00 B
33
+ ESM dist/chunk-AGE57VDD.mjs 4.16 KB
34
34
  ESM dist/chunk-MZ76AA76.mjs 14.00 B
35
35
  ESM dist/chunk-DS5CGU2X.mjs 4.12 KB
36
+ ESM dist/chunk-OLQOLLKG.mjs 14.00 B
37
+ ESM dist/chunk-PRNE3U26.mjs 5.65 KB
36
38
  ESM dist/chunk-6PN3DGOE.mjs 1.78 KB
37
- ESM dist/chunk-VRHMQMRO.mjs 17.21 KB
38
- ESM dist/chunk-LVFI2NOH.mjs 14.00 B
39
+ ESM dist/chunk-ZHFP6XAL.mjs 17.77 KB
39
40
  ESM dist/chunk-TPFN22HR.mjs 14.00 B
40
- ESM dist/utils/tailwind-variants.mjs 109.00 B
41
- ESM dist/utils/types.mjs 14.00 B
41
+ ESM dist/chunk-X64VT74O.mjs 4.19 KB
42
42
  ESM dist/chunk-7B7LRG5J.mjs 14.00 B
43
- ESM dist/chunk-AGE57VDD.mjs 4.16 KB
44
- ESM dist/chunk-PRNE3U26.mjs 5.65 KB
45
43
  ESM dist/chunk-7C7RHDHV.mjs 11.06 KB
44
+ ESM dist/chunk-XZYQFBCT.mjs 1.51 KB
46
45
  ESM dist/chunk-F3HENRVM.mjs 934.00 B
46
+ ESM dist/chunk-4VWG4726.mjs 14.00 B
47
47
  ESM dist/chunk-Q2AFTLDT.mjs 18.81 KB
48
48
  ESM dist/chunk-FWFEKWWD.mjs 437.00 B
49
- ESM dist/chunk-4VWG4726.mjs 14.00 B
49
+ ESM dist/utils/tailwind-variants.mjs 109.00 B
50
50
  ESM dist/chunk-QCEKPS7U.mjs 14.00 B
51
- ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
51
+ ESM dist/chunk-4EELFA6L.mjs 15.68 KB
52
52
  ESM dist/chunk-2H5EBNCD.mjs 12.45 KB
53
+ ESM dist/utils/types.mjs 14.00 B
54
+ ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
53
55
  ESM dist/chunk-NGRGAY42.mjs 1.27 KB
56
+ ESM dist/chunk-MU6QDNYC.mjs 4.67 KB
54
57
  ESM dist/chunk-A3WPBLOW.mjs 7.20 KB
55
- ESM dist/chunk-XZYQFBCT.mjs 1.51 KB
56
- ESM dist/chunk-DJOG6Z35.mjs 14.00 B
57
58
  ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
58
- ESM dist/chunk-MGEWSREV.mjs 14.00 B
59
- ESM dist/chunk-MU6QDNYC.mjs 4.67 KB
59
+ ESM dist/chunk-DJOG6Z35.mjs 14.00 B
60
60
  ESM dist/chunk-32GA3YW4.mjs 14.00 B
61
+ ESM dist/chunk-MGEWSREV.mjs 14.00 B
61
62
  ESM dist/chunk-H4D2OHNE.mjs 4.03 KB
63
+ ESM dist/chunk-45Y7ANPK.mjs 5.03 KB
62
64
  ESM dist/chunk-RLXOHILK.mjs 14.00 B
63
- ESM dist/chunk-4EELFA6L.mjs 15.68 KB
64
65
  ESM dist/chunk-7VOQKIIK.mjs 14.00 B
65
- ESM dist/chunk-45Y7ANPK.mjs 5.03 KB
66
- ESM dist/chunk-2GCSFWHD.mjs 14.00 B
67
66
  ESM dist/chunk-KH63CD55.mjs 3.75 KB
68
- ESM dist/chunk-DQRAFUDA.mjs 14.00 B
67
+ ESM dist/chunk-NPVMCUZ4.mjs 5.73 KB
69
68
  ESM dist/chunk-3OCNT22V.mjs 14.00 B
69
+ ESM dist/chunk-2GCSFWHD.mjs 14.00 B
70
70
  ESM dist/chunk-EWS3FESG.mjs 1.03 KB
71
71
  ESM dist/chunk-LH6Z7SDZ.mjs 6.32 KB
72
- ESM dist/chunk-RXDRG6MC.mjs 13.42 KB
73
- ESM dist/chunk-WA7CSZQ3.mjs 5.17 KB
72
+ ESM dist/chunk-DQRAFUDA.mjs 14.00 B
74
73
  ESM dist/chunk-U7SYKG2C.mjs 4.33 KB
75
- ESM dist/chunk-WKTRWHDA.mjs 9.11 KB
74
+ ESM dist/chunk-WA7CSZQ3.mjs 5.17 KB
76
75
  ESM dist/chunk-6WD32ERF.mjs 7.52 KB
77
- ESM dist/chunk-IH3BJRTV.mjs 778.00 B
76
+ ESM dist/chunk-RXDRG6MC.mjs 13.42 KB
78
77
  ESM dist/chunk-OEIEALIP.mjs 6.54 KB
78
+ ESM dist/chunk-IH3BJRTV.mjs 778.00 B
79
79
  ESM dist/chunk-SE5TU755.mjs 14.00 B
80
- ESM dist/chunk-NPVMCUZ4.mjs 5.73 KB
81
- ESM dist/chunk-GG7QANQF.mjs 2.87 KB
82
80
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
83
- ESM dist/chunk-5VTYO3RF.mjs 724.00 B
81
+ ESM dist/chunk-WKTRWHDA.mjs 9.11 KB
84
82
  ESM dist/chunk-4LUASWAN.mjs 4.40 KB
85
83
  ESM dist/chunk-MY5U63QO.mjs 14.00 B
86
- ESM dist/chunk-SRCCJ4CV.mjs 13.26 KB
87
84
  ESM dist/chunk-6WSACUIB.mjs 14.00 B
88
- ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
89
- ESM dist/chunk-YCU6NNLR.mjs 9.36 KB
90
- ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
85
+ ESM dist/chunk-5VTYO3RF.mjs 724.00 B
91
86
  ESM dist/chunk-SZL743JC.mjs 1.00 KB
87
+ ESM dist/chunk-YCU6NNLR.mjs 9.36 KB
88
+ ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
89
+ ESM dist/chunk-GG7QANQF.mjs 2.87 KB
90
+ ESM dist/chunk-SRCCJ4CV.mjs 13.26 KB
92
91
  ESM dist/chunk-NMSDSEBD.mjs 14.00 B
93
- ESM dist/chunk-JGG3ZUNG.mjs 2.01 KB
92
+ ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
94
93
  ESM dist/chunk-B4YBLIBE.mjs 929.00 B
95
94
  ESM dist/chunk-E3G5QXSH.mjs 608.00 B
96
95
  ESM dist/chunk-PCASWP2U.mjs 1.65 KB
96
+ ESM dist/chunk-JGG3ZUNG.mjs 2.01 KB
97
+ ESM dist/chunk-7DLOYKVC.mjs 14.00 B
98
+ ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
97
99
  ESM dist/chunk-NTNF5T5I.mjs 6.03 KB
98
- ESM dist/chunk-U4DJHAM5.mjs 15.38 KB
99
100
  ESM dist/chunk-3V4HT2K5.mjs 837.00 B
100
- ESM dist/chunk-7DLOYKVC.mjs 14.00 B
101
+ ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
101
102
  ESM dist/utils/clsx.mjs 113.00 B
102
103
  ESM dist/chunk-27Y6K5NK.mjs 823.00 B
103
104
  ESM dist/fonts/font.css 777.00 B
104
105
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
106
+ ESM dist/chunk-U4DJHAM5.mjs 15.38 KB
105
107
  ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
106
- ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
107
- ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
108
- ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
109
- ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
110
108
  ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
111
- ESM dist/components/tooltip/index.mjs 327.00 B
112
- ESM dist/components/tree/index.mjs 353.00 B
109
+ ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
110
+ ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
111
+ ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
113
112
  ESM dist/components/tabs/index.mjs 248.00 B
114
- ESM dist/components/timePicker/calendar.mjs 11.09 KB
113
+ ESM dist/components/tree/index.mjs 353.00 B
114
+ ESM dist/components/timePicker/useDateTimePicker.mjs 3.37 KB
115
115
  ESM dist/components/textarea/index.mjs 260.00 B
116
116
  ESM dist/components/toast/toast.mjs 358.00 B
117
- ESM dist/components/starRating/index.mjs 371.00 B
118
- ESM dist/components/table/definition-table.mjs 240.00 B
119
- ESM dist/components/scroll/index.mjs 231.00 B
120
- ESM dist/components/skeleton/skeleton.mjs 189.00 B
121
- ESM dist/components/select/select.mjs 360.00 B
122
117
  ESM dist/components/switch/index.mjs 219.00 B
118
+ ESM dist/components/scroll/index.mjs 231.00 B
119
+ ESM dist/components/select/index.mjs 394.00 B
120
+ ESM dist/components/skeleton/index.mjs 225.00 B
121
+ ESM dist/components/table/form-table.mjs 1.92 KB
122
+ ESM dist/components/starRating/index.mjs 371.00 B
123
123
  ESM dist/components/picker/utils.mjs 191.00 B
124
124
  ESM dist/components/ripple/index.mjs 253.00 B
125
+ ESM dist/components/radio/index.mjs 286.00 B
126
+ ESM dist/components/progress/progress.mjs 259.00 B
125
127
  ESM dist/components/pagination/pagination.mjs 473.00 B
126
- ESM dist/components/modal/modal.mjs 708.00 B
127
128
  ESM dist/chunk-R54J7VHL.mjs 751.57 KB
129
+ ESM dist/components/modal/modal.mjs 708.00 B
128
130
  ESM dist/components/icon/index.mjs 245.00 B
129
- ESM dist/components/radio/index.mjs 286.00 B
130
131
  ESM dist/components/input/index.mjs 391.00 B
132
+ ESM dist/components/list/list.mjs 216.00 B
131
133
  ESM dist/components/checkbox/index.mjs 295.00 B
132
134
  ESM dist/components/chip/chip.mjs 321.00 B
133
- ESM dist/components/list/index.mjs 483.00 B
134
- ESM dist/components/drawer/drawer.mjs 255.00 B
135
- ESM dist/components/progress/index.mjs 295.00 B
136
- ESM dist/components/button/text-button.mjs 265.00 B
137
- ESM dist/components/fileUpload/fileUpload.mjs 889.00 B
135
+ ESM dist/components/drawer/index.mjs 289.00 B
136
+ ESM dist/components/fileUpload/index.mjs 861.00 B
138
137
  ESM dist/components/charts/areaChart.mjs 331.00 B
139
- ESM dist/components/backdrop/backdrop.mjs 224.00 B
138
+ ESM dist/components/button/text-button.mjs 265.00 B
139
+ ESM dist/components/backdrop/index.mjs 260.00 B
140
+ ESM dist/components/accordion/accordionItem.mjs 234.00 B
141
+ ESM dist/components/avatar/index.mjs 254.00 B
140
142
  ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
141
- ESM dist/components/avatar/avatar.mjs 220.00 B
142
143
  ESM dist/components/toast/use-toast.mjs 441.00 B
143
144
  ESM dist/components/tooltip/tooltip.mjs 292.00 B
144
- ESM dist/components/accordion/accordion.mjs 226.00 B
145
145
  ESM dist/components/tooltip/useTooltip.mjs 166.00 B
146
- ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
146
+ ESM dist/components/tooltip/index.mjs 327.00 B
147
+ ESM dist/components/tabs/tabs.mjs 232.00 B
147
148
  ESM dist/components/tree/tree.mjs 337.00 B
148
149
  ESM dist/components/textarea/textarea.mjs 224.00 B
149
150
  ESM dist/components/toast/toast-utils.mjs 143.00 B
150
- ESM dist/components/timePicker/useDateTimePicker.mjs 3.37 KB
151
+ ESM dist/components/switch/switch.mjs 185.00 B
151
152
  ESM dist/components/toast/index.mjs 527.00 B
153
+ ESM dist/components/timePicker/calendar.mjs 11.09 KB
154
+ ESM dist/components/table/table-body.mjs 683.00 B
155
+ ESM dist/components/table/index.mjs 824.00 B
152
156
  ESM dist/components/table/table-head.mjs 683.00 B
153
157
  ESM dist/components/table/table.mjs 705.00 B
154
- ESM dist/components/table/index.mjs 824.00 B
155
- ESM dist/components/starRating/starRating.mjs 371.00 B
156
158
  ESM dist/components/scroll/scrollArea.mjs 193.00 B
157
- ESM dist/components/table/table-body.mjs 683.00 B
158
- ESM dist/components/table/form-table.mjs 1.92 KB
159
- ESM dist/components/select/index.mjs 394.00 B
160
- ESM dist/components/skeleton/index.mjs 225.00 B
161
- ESM dist/components/switch/switch.mjs 185.00 B
159
+ ESM dist/components/table/definition-table.mjs 240.00 B
160
+ ESM dist/components/select/select.mjs 360.00 B
161
+ ESM dist/components/starRating/starRating.mjs 371.00 B
162
+ ESM dist/components/skeleton/skeleton.mjs 189.00 B
162
163
  ESM dist/components/radio/radio.mjs 253.00 B
163
- ESM dist/components/ripple/ripple.mjs 150.00 B
164
- ESM dist/components/progress/progress.mjs 259.00 B
164
+ ESM dist/components/progress/index.mjs 295.00 B
165
165
  ESM dist/components/ripple/useRipple.mjs 158.00 B
166
- ESM dist/components/picker/day.mjs 238.00 B
167
- ESM dist/components/pagination/index.mjs 511.00 B
166
+ ESM dist/components/picker/datePicker.mjs 826.00 B
167
+ ESM dist/components/ripple/ripple.mjs 150.00 B
168
168
  ESM dist/components/picker/timePicker.mjs 476.00 B
169
169
  ESM dist/components/pagination/usePagination.mjs 164.00 B
170
- ESM dist/components/picker/datePicker.mjs 826.00 B
171
- ESM dist/components/icon/template.mjs 127.00 B
170
+ ESM dist/components/picker/day.mjs 238.00 B
171
+ ESM dist/components/pagination/index.mjs 511.00 B
172
172
  ESM dist/components/picker/index.mjs 1.02 KB
173
+ ESM dist/components/icon/template.mjs 127.00 B
174
+ ESM dist/components/list/index.mjs 483.00 B
173
175
  ESM dist/components/input/input.mjs 386.00 B
174
- ESM dist/components/list/listItem.mjs 364.00 B
175
176
  ESM dist/components/modal/index.mjs 741.00 B
176
- ESM dist/components/list/list.mjs 216.00 B
177
+ ESM dist/components/list/listItem.mjs 364.00 B
177
178
  ESM dist/components/chip/index.mjs 353.00 B
178
- ESM dist/components/drawer/index.mjs 289.00 B
179
- ESM dist/components/fileUpload/index.mjs 861.00 B
179
+ ESM dist/components/drawer/drawer.mjs 255.00 B
180
180
  ESM dist/components/icon/Icon.mjs 213.00 B
181
- ESM dist/components/charts/barChart.mjs 262.00 B
182
- ESM dist/components/charts/circularProgress.mjs 240.00 B
181
+ ESM dist/components/fileUpload/fileUpload.mjs 889.00 B
183
182
  ESM dist/components/charts/radarChart.mjs 228.00 B
184
- ESM dist/components/charts/index.mjs 834.00 B
185
- ESM dist/components/checkbox/checkbox.mjs 259.00 B
186
183
  ESM dist/components/charts/simpleBarChart.mjs 236.00 B
187
- ESM dist/components/backdrop/index.mjs 260.00 B
184
+ ESM dist/components/charts/circularProgress.mjs 240.00 B
185
+ ESM dist/components/checkbox/checkbox.mjs 259.00 B
186
+ ESM dist/components/charts/barChart.mjs 262.00 B
187
+ ESM dist/components/backdrop/backdrop.mjs 224.00 B
188
+ ESM dist/components/charts/index.mjs 834.00 B
188
189
  ESM dist/components/breadcrumb/index.mjs 686.00 B
189
190
  ESM dist/components/button/button.mjs 430.00 B
190
- ESM dist/components/button/index.mjs 811.00 B
191
191
  ESM dist/components/button/button-group.mjs 197.00 B
192
- ESM dist/components/accordion/accordionItem.mjs 234.00 B
193
- ESM dist/components/avatar/index.mjs 254.00 B
194
- ESM dist/components/accordion/index.mjs 373.00 B
195
- ESM dist/components/tabs/tabs.mjs 232.00 B
196
192
  ESM dist/components/button/icon-button.mjs 440.00 B
197
- ESM ⚡️ Build success in 376ms
198
- CJS dist/hooks/useIsMounted.js 1.87 KB
199
- CJS dist/fonts/NanumSquare_acB.js 113.00 B
193
+ ESM dist/components/accordion/accordion.mjs 226.00 B
194
+ ESM dist/components/accordion/index.mjs 373.00 B
195
+ ESM dist/components/avatar/avatar.mjs 220.00 B
196
+ ESM dist/components/button/index.mjs 811.00 B
197
+ ESM ⚡️ Build success in 364ms
198
+ CJS dist/fonts/NanumSquare_acEB.js 116.00 B
200
199
  CJS dist/fonts/NanumSquare_acL.js 113.00 B
200
+ CJS dist/fonts/NanumSquare_acB.js 113.00 B
201
+ CJS dist/hooks/useIsMounted.js 1.87 KB
202
+ CJS dist/utils/clsx.js 1.77 KB
201
203
  CJS dist/fonts/NanumSquare_acR.js 113.00 B
202
- CJS dist/fonts/NanumSquare_acEB.js 116.00 B
203
204
  CJS dist/fonts/font.css 777.00 B
204
- CJS dist/utils/clsx.js 1.77 KB
205
- CJS dist/utils/types.js 778.00 B
206
- CJS dist/utils/tailwind-variants.js 8.79 KB
207
- CJS dist/components/accordion/accordion.js 11.23 KB
208
205
  CJS dist/utils/props.js 1.59 KB
206
+ CJS dist/components/accordion/accordion.js 11.23 KB
207
+ CJS dist/utils/tailwind-variants.js 8.79 KB
208
+ CJS dist/utils/types.js 778.00 B
209
+ CJS dist/components/accordion/accordionItem.js 15.38 KB
209
210
  CJS dist/components/accordion/index.js 17.52 KB
210
- CJS dist/components/backdrop/backdrop.js 10.19 KB
211
211
  CJS dist/components/backdrop/index.js 10.33 KB
212
- CJS dist/components/accordion/accordionItem.js 15.38 KB
212
+ CJS dist/components/backdrop/backdrop.js 10.19 KB
213
213
  CJS dist/components/button/button-group.js 9.45 KB
214
- CJS dist/components/charts/areaChart.js 17.94 KB
215
- CJS dist/components/charts/circularProgress.js 14.74 KB
214
+ CJS dist/components/button/text-button.js 14.35 KB
216
215
  CJS dist/components/charts/barChart.js 19.20 KB
216
+ CJS dist/components/charts/circularProgress.js 14.74 KB
217
217
  CJS dist/components/charts/index.js 46.09 KB
218
- CJS dist/components/charts/simpleBarChart.js 17.16 KB
218
+ CJS dist/components/charts/areaChart.js 17.94 KB
219
219
  CJS dist/components/charts/radarChart.js 13.85 KB
220
- CJS dist/components/checkbox/checkbox.js 16.64 KB
220
+ CJS dist/components/charts/simpleBarChart.js 17.16 KB
221
221
  CJS dist/components/checkbox/index.js 16.78 KB
222
- CJS dist/components/drawer/drawer.js 15.10 KB
222
+ CJS dist/components/checkbox/checkbox.js 16.64 KB
223
223
  CJS dist/components/drawer/index.js 15.23 KB
224
- CJS dist/components/list/list.js 10.46 KB
224
+ CJS dist/components/drawer/drawer.js 15.10 KB
225
225
  CJS dist/components/pagination/usePagination.js 1.88 KB
226
226
  CJS dist/components/picker/day.js 10.81 KB
227
227
  CJS dist/components/picker/utils.js 1.47 KB
228
228
  CJS dist/components/progress/index.js 13.91 KB
229
229
  CJS dist/components/progress/progress.js 13.77 KB
230
- CJS dist/components/radio/index.js 15.85 KB
230
+ CJS dist/components/radio/radio.js 15.72 KB
231
+ CJS dist/components/ripple/index.js 3.66 KB
231
232
  CJS dist/components/ripple/ripple.js 2.57 KB
232
233
  CJS dist/components/ripple/useRipple.js 2.04 KB
233
- CJS dist/components/ripple/index.js 3.66 KB
234
234
  CJS dist/components/scroll/index.js 2.90 KB
235
- CJS dist/components/radio/radio.js 15.72 KB
236
235
  CJS dist/components/scroll/scrollArea.js 2.78 KB
236
+ CJS dist/components/radio/index.js 15.85 KB
237
237
  CJS dist/components/skeleton/index.js 3.68 KB
238
238
  CJS dist/components/skeleton/skeleton.js 3.54 KB
239
- CJS dist/components/switch/switch.js 5.77 KB
239
+ CJS dist/components/list/list.js 10.46 KB
240
240
  CJS dist/components/switch/index.js 5.90 KB
241
+ CJS dist/components/switch/switch.js 5.77 KB
241
242
  CJS dist/components/table/definition-table.js 13.78 KB
242
243
  CJS dist/components/table/form-table.js 10.78 KB
243
244
  CJS dist/components/tabs/index.js 15.60 KB
@@ -247,56 +248,55 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
247
248
  CJS dist/components/timePicker/useDateTimePicker.js 4.81 KB
248
249
  CJS dist/components/toast/toast-utils.js 1.85 KB
249
250
  CJS dist/components/tooltip/index.js 18.73 KB
250
- CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
251
251
  CJS dist/components/tooltip/tooltip.js 18.59 KB
252
+ CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
252
253
  CJS dist/components/tooltip/useTooltip.js 4.19 KB
253
- CJS dist/components/button/text-button.js 14.35 KB
254
- CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
254
+ CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
255
255
  CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
256
+ CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
256
257
  CJS dist/components/avatar/index.js 775.42 KB
257
258
  CJS dist/components/avatar/avatar.js 775.29 KB
258
- CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
259
- CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
259
+ CJS dist/components/breadcrumb/breadcrumb.js 783.09 KB
260
260
  CJS dist/components/breadcrumb/index.js 783.23 KB
261
+ CJS dist/components/button/index.js 806.46 KB
262
+ CJS dist/components/button/icon-button.js 786.92 KB
261
263
  CJS dist/components/button/button.js 791.09 KB
262
264
  CJS dist/components/chip/chip.js 778.97 KB
263
- CJS dist/components/chip/index.js 779.10 KB
264
- CJS dist/components/button/icon-button.js 786.92 KB
265
- CJS dist/components/button/index.js 806.46 KB
266
- CJS dist/components/fileUpload/fileUpload.js 825.43 KB
267
265
  CJS dist/components/fileUpload/index.js 825.38 KB
266
+ CJS dist/components/fileUpload/fileUpload.js 825.43 KB
267
+ CJS dist/components/chip/index.js 779.10 KB
268
268
  CJS dist/components/icon/Icon.js 766.92 KB
269
+ CJS dist/components/icon/template.js 765.99 KB
269
270
  CJS dist/components/icon/index.js 766.92 KB
270
271
  CJS dist/components/input/index.js 789.56 KB
271
- CJS dist/components/input/input.js 789.56 KB
272
272
  CJS dist/components/list/listItem.js 783.90 KB
273
- CJS dist/components/icon/template.js 765.99 KB
274
273
  CJS dist/components/list/index.js 785.86 KB
275
- CJS dist/components/pagination/index.js 801.63 KB
276
274
  CJS dist/components/modal/index.js 797.45 KB
277
- CJS dist/components/pagination/pagination.js 801.49 KB
278
275
  CJS dist/components/modal/modal.js 797.32 KB
279
- CJS dist/components/breadcrumb/breadcrumb.js 783.09 KB
280
- CJS dist/components/select/index.js 791.96 KB
276
+ CJS dist/components/input/input.js 789.56 KB
277
+ CJS dist/components/pagination/pagination.js 801.49 KB
281
278
  CJS dist/components/picker/datePicker.js 840.48 KB
279
+ CJS dist/components/pagination/index.js 801.63 KB
280
+ CJS dist/components/picker/timePicker.js 804.85 KB
282
281
  CJS dist/components/picker/index.js 870.04 KB
283
- CJS dist/components/starRating/starRating.js 779.55 KB
284
- CJS dist/components/starRating/index.js 779.54 KB
285
- CJS dist/components/table/index.js 831.69 KB
286
282
  CJS dist/components/select/select.js 791.83 KB
287
- CJS dist/components/table/table-head.js 827.26 KB
288
- CJS dist/components/table/table-body.js 827.26 KB
283
+ CJS dist/components/starRating/index.js 779.54 KB
284
+ CJS dist/components/table/index.js 832.24 KB
285
+ CJS dist/components/select/index.js 791.96 KB
286
+ CJS dist/components/table/table-head.js 827.81 KB
287
+ CJS dist/components/table/table-body.js 827.81 KB
288
+ CJS dist/components/starRating/starRating.js 779.55 KB
289
+ CJS dist/components/table/table.js 827.92 KB
289
290
  CJS dist/components/timePicker/calendar.js 786.71 KB
290
- CJS dist/components/table/table.js 827.37 KB
291
291
  CJS dist/components/toast/toast.js 779.89 KB
292
292
  CJS dist/components/toast/use-toast.js 783.47 KB
293
293
  CJS dist/components/toast/index.js 783.53 KB
294
- CJS dist/components/tree/index.js 781.12 KB
294
+ CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
295
295
  CJS dist/index.js 1.03 MB
296
- CJS dist/components/picker/timePicker.js 804.85 KB
297
296
  CJS dist/components/tree/tree.js 781.11 KB
298
- CJS ⚡️ Build success in 462ms
299
- DTS ⚡️ Build success in 18584ms
297
+ CJS dist/components/tree/index.js 781.12 KB
298
+ CJS ⚡️ Build success in 470ms
299
+ DTS ⚡️ Build success in 18414ms
300
300
  DTS dist/index.d.ts 3.70 KB
301
301
  DTS dist/components/accordion/index.d.ts 229.00 B
302
302
  DTS dist/components/button/index.d.ts 415.00 B
@@ -358,8 +358,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
358
358
  DTS dist/components/scroll/scrollArea.d.ts 423.00 B
359
359
  DTS dist/components/select/select.d.ts 9.77 KB
360
360
  DTS dist/components/skeleton/skeleton.d.ts 425.00 B
361
- DTS dist/components/switch/switch.d.ts 4.08 KB
362
361
  DTS dist/components/starRating/starRating.d.ts 1.63 KB
362
+ DTS dist/components/switch/switch.d.ts 4.08 KB
363
363
  DTS dist/components/tabs/tabs.d.ts 3.09 KB
364
364
  DTS dist/components/textarea/textarea.d.ts 6.78 KB
365
365
  DTS dist/components/tooltip/tooltip.d.ts 2.19 KB
@@ -387,8 +387,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
387
387
  DTS dist/components/scroll/index.d.ts 101.00 B
388
388
  DTS dist/components/select/index.d.ts 235.00 B
389
389
  DTS dist/components/skeleton/index.d.ts 81.00 B
390
- DTS dist/components/switch/index.d.ts 124.00 B
391
390
  DTS dist/components/starRating/index.d.ts 149.00 B
391
+ DTS dist/components/switch/index.d.ts 124.00 B
392
392
  DTS dist/components/tabs/index.d.ts 179.00 B
393
393
  DTS dist/components/textarea/index.d.ts 143.00 B
394
394
  DTS dist/components/tooltip/index.d.ts 182.00 B
@@ -455,8 +455,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
455
455
  DTS dist/components/scroll/scrollArea.d.mts 423.00 B
456
456
  DTS dist/components/select/select.d.mts 9.78 KB
457
457
  DTS dist/components/skeleton/skeleton.d.mts 425.00 B
458
- DTS dist/components/switch/switch.d.mts 4.08 KB
459
458
  DTS dist/components/starRating/starRating.d.mts 1.63 KB
459
+ DTS dist/components/switch/switch.d.mts 4.08 KB
460
460
  DTS dist/components/tabs/tabs.d.mts 3.09 KB
461
461
  DTS dist/components/textarea/textarea.d.mts 6.78 KB
462
462
  DTS dist/components/tooltip/tooltip.d.mts 2.20 KB
@@ -484,12 +484,12 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
484
484
  DTS dist/components/scroll/index.d.mts 102.00 B
485
485
  DTS dist/components/select/index.d.mts 239.00 B
486
486
  DTS dist/components/skeleton/index.d.mts 82.00 B
487
- DTS dist/components/switch/index.d.mts 126.00 B
488
487
  DTS dist/components/starRating/index.d.mts 151.00 B
488
+ DTS dist/components/switch/index.d.mts 126.00 B
489
489
  DTS dist/components/tabs/index.d.mts 181.00 B
490
490
  DTS dist/components/textarea/index.d.mts 145.00 B
491
491
  DTS dist/components/tooltip/index.d.mts 185.00 B
492
492
  DTS dist/components/tree/index.d.mts 185.00 B
493
493
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
494
494
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
495
- Done in 19.45s.
495
+ Done in 19.26s.
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-27Y6K5NK.mjs";
17
17
 
18
18
  // src/components/table/table-head.tsx
19
- import { isValidElement, useEffect as useEffect3, useRef as useRef2, useState as useState3 } from "react";
19
+ import { isValidElement as isValidElement2, useEffect as useEffect3, useRef as useRef2, useState as useState3 } from "react";
20
20
 
21
21
  // src/components/table/table.tsx
22
22
  import {
@@ -29,7 +29,7 @@ import {
29
29
  import { tv } from "tailwind-variants";
30
30
 
31
31
  // src/components/table/table-body.tsx
32
- import { useEffect, useRef, useState } from "react";
32
+ import { isValidElement, useEffect, useRef, useState } from "react";
33
33
  import { jsx, jsxs } from "react/jsx-runtime";
34
34
  function TableCell({
35
35
  row,
@@ -39,12 +39,13 @@ function TableCell({
39
39
  slots,
40
40
  classNames
41
41
  }) {
42
- var _a, _b;
42
+ var _a, _b, _c, _d, _e, _f;
43
43
  const value = row[column.field];
44
44
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
45
45
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
46
46
  const tdRef = useRef(null);
47
47
  const [showTitle, setShowTitle] = useState(false);
48
+ const hasButton = column.renderCell && isValidElement(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
48
49
  const checkOverflow = (el) => {
49
50
  if (el.scrollWidth > el.clientWidth) {
50
51
  return true;
@@ -58,14 +59,14 @@ function TableCell({
58
59
  return false;
59
60
  };
60
61
  useEffect(() => {
61
- if (tdRef.current) {
62
+ if (tdRef.current && !hasButton) {
62
63
  setTimeout(() => {
63
64
  if (tdRef.current) {
64
65
  setShowTitle(checkOverflow(tdRef.current));
65
66
  }
66
67
  }, 0);
67
68
  }
68
- }, [content]);
69
+ }, [content, hasButton]);
69
70
  return /* @__PURE__ */ jsx(
70
71
  "td",
71
72
  {
@@ -74,11 +75,19 @@ function TableCell({
74
75
  slots.td(),
75
76
  classNames == null ? void 0 : classNames.td,
76
77
  column.className,
77
- "truncate",
78
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
78
+ !hasButton && "truncate",
79
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
79
80
  ),
80
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
81
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
81
+ style: {
82
+ ...getCellStyle(column),
83
+ maxWidth: column.width || "150px",
84
+ textAlign: column.align || "center",
85
+ ...hasButton && {
86
+ overflow: "visible",
87
+ whiteSpace: "normal"
88
+ }
89
+ },
90
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
82
91
  children: content
83
92
  },
84
93
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -567,7 +576,7 @@ function TableHeaderCell({
567
576
  if (typeof node === "string" || typeof node === "number") {
568
577
  return String(node);
569
578
  }
570
- if (isValidElement(node)) {
579
+ if (isValidElement2(node)) {
571
580
  return String(node.props.children || "");
572
581
  }
573
582
  return "";
@@ -743,12 +743,13 @@ function TableCell({
743
743
  slots,
744
744
  classNames
745
745
  }) {
746
- var _a, _b;
746
+ var _a, _b, _c, _d, _e, _f;
747
747
  const value = row[column.field];
748
748
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
749
749
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
750
750
  const tdRef = (0, import_react3.useRef)(null);
751
751
  const [showTitle, setShowTitle] = (0, import_react3.useState)(false);
752
+ const hasButton = column.renderCell && (0, import_react3.isValidElement)(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
752
753
  const checkOverflow = (el) => {
753
754
  if (el.scrollWidth > el.clientWidth) {
754
755
  return true;
@@ -762,14 +763,14 @@ function TableCell({
762
763
  return false;
763
764
  };
764
765
  (0, import_react3.useEffect)(() => {
765
- if (tdRef.current) {
766
+ if (tdRef.current && !hasButton) {
766
767
  setTimeout(() => {
767
768
  if (tdRef.current) {
768
769
  setShowTitle(checkOverflow(tdRef.current));
769
770
  }
770
771
  }, 0);
771
772
  }
772
- }, [content]);
773
+ }, [content, hasButton]);
773
774
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
774
775
  "td",
775
776
  {
@@ -778,11 +779,19 @@ function TableCell({
778
779
  slots.td(),
779
780
  classNames == null ? void 0 : classNames.td,
780
781
  column.className,
781
- "truncate",
782
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
782
+ !hasButton && "truncate",
783
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
783
784
  ),
784
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
785
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
785
+ style: {
786
+ ...getCellStyle(column),
787
+ maxWidth: column.width || "150px",
788
+ textAlign: column.align || "center",
789
+ ...hasButton && {
790
+ overflow: "visible",
791
+ whiteSpace: "normal"
792
+ }
793
+ },
794
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
786
795
  children: content
787
796
  },
788
797
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -5,7 +5,7 @@ import {
5
5
  } from "../../chunk-DS5CGU2X.mjs";
6
6
  import {
7
7
  table_default
8
- } from "../../chunk-VRHMQMRO.mjs";
8
+ } from "../../chunk-ZHFP6XAL.mjs";
9
9
  import "../../chunk-7B7LRG5J.mjs";
10
10
  import "../../chunk-7C7RHDHV.mjs";
11
11
  import "../../chunk-F3HENRVM.mjs";
@@ -6667,12 +6667,13 @@ function TableCell({
6667
6667
  slots,
6668
6668
  classNames
6669
6669
  }) {
6670
- var _a, _b;
6670
+ var _a, _b, _c, _d, _e, _f;
6671
6671
  const value = row[column.field];
6672
6672
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
6673
6673
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
6674
6674
  const tdRef = (0, import_react7.useRef)(null);
6675
6675
  const [showTitle, setShowTitle] = (0, import_react7.useState)(false);
6676
+ const hasButton = column.renderCell && (0, import_react7.isValidElement)(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
6676
6677
  const checkOverflow = (el) => {
6677
6678
  if (el.scrollWidth > el.clientWidth) {
6678
6679
  return true;
@@ -6686,14 +6687,14 @@ function TableCell({
6686
6687
  return false;
6687
6688
  };
6688
6689
  (0, import_react7.useEffect)(() => {
6689
- if (tdRef.current) {
6690
+ if (tdRef.current && !hasButton) {
6690
6691
  setTimeout(() => {
6691
6692
  if (tdRef.current) {
6692
6693
  setShowTitle(checkOverflow(tdRef.current));
6693
6694
  }
6694
6695
  }, 0);
6695
6696
  }
6696
- }, [content]);
6697
+ }, [content, hasButton]);
6697
6698
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6698
6699
  "td",
6699
6700
  {
@@ -6702,11 +6703,19 @@ function TableCell({
6702
6703
  slots.td(),
6703
6704
  classNames == null ? void 0 : classNames.td,
6704
6705
  column.className,
6705
- "truncate",
6706
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
6706
+ !hasButton && "truncate",
6707
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
6707
6708
  ),
6708
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
6709
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
6709
+ style: {
6710
+ ...getCellStyle(column),
6711
+ maxWidth: column.width || "150px",
6712
+ textAlign: column.align || "center",
6713
+ ...hasButton && {
6714
+ overflow: "visible",
6715
+ whiteSpace: "normal"
6716
+ }
6717
+ },
6718
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
6710
6719
  children: content
6711
6720
  },
6712
6721
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-VRHMQMRO.mjs";
4
+ } from "../../chunk-ZHFP6XAL.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
6
  import "../../chunk-7C7RHDHV.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
@@ -640,12 +640,13 @@ function TableCell({
640
640
  slots,
641
641
  classNames
642
642
  }) {
643
- var _a, _b;
643
+ var _a, _b, _c, _d, _e, _f;
644
644
  const value = row[column.field];
645
645
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
646
646
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
647
647
  const tdRef = (0, import_react2.useRef)(null);
648
648
  const [showTitle, setShowTitle] = (0, import_react2.useState)(false);
649
+ const hasButton = column.renderCell && (0, import_react2.isValidElement)(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
649
650
  const checkOverflow = (el) => {
650
651
  if (el.scrollWidth > el.clientWidth) {
651
652
  return true;
@@ -659,14 +660,14 @@ function TableCell({
659
660
  return false;
660
661
  };
661
662
  (0, import_react2.useEffect)(() => {
662
- if (tdRef.current) {
663
+ if (tdRef.current && !hasButton) {
663
664
  setTimeout(() => {
664
665
  if (tdRef.current) {
665
666
  setShowTitle(checkOverflow(tdRef.current));
666
667
  }
667
668
  }, 0);
668
669
  }
669
- }, [content]);
670
+ }, [content, hasButton]);
670
671
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
671
672
  "td",
672
673
  {
@@ -675,11 +676,19 @@ function TableCell({
675
676
  slots.td(),
676
677
  classNames == null ? void 0 : classNames.td,
677
678
  column.className,
678
- "truncate",
679
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
679
+ !hasButton && "truncate",
680
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
680
681
  ),
681
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
682
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
682
+ style: {
683
+ ...getCellStyle(column),
684
+ maxWidth: column.width || "150px",
685
+ textAlign: column.align || "center",
686
+ ...hasButton && {
687
+ overflow: "visible",
688
+ whiteSpace: "normal"
689
+ }
690
+ },
691
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
683
692
  children: content
684
693
  },
685
694
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_head_default
4
- } from "../../chunk-VRHMQMRO.mjs";
4
+ } from "../../chunk-ZHFP6XAL.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
6
  import "../../chunk-7C7RHDHV.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
@@ -741,12 +741,13 @@ function TableCell({
741
741
  slots,
742
742
  classNames
743
743
  }) {
744
- var _a, _b;
744
+ var _a, _b, _c, _d, _e, _f;
745
745
  const value = row[column.field];
746
746
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
747
747
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
748
748
  const tdRef = (0, import_react3.useRef)(null);
749
749
  const [showTitle, setShowTitle] = (0, import_react3.useState)(false);
750
+ const hasButton = column.renderCell && (0, import_react3.isValidElement)(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
750
751
  const checkOverflow = (el) => {
751
752
  if (el.scrollWidth > el.clientWidth) {
752
753
  return true;
@@ -760,14 +761,14 @@ function TableCell({
760
761
  return false;
761
762
  };
762
763
  (0, import_react3.useEffect)(() => {
763
- if (tdRef.current) {
764
+ if (tdRef.current && !hasButton) {
764
765
  setTimeout(() => {
765
766
  if (tdRef.current) {
766
767
  setShowTitle(checkOverflow(tdRef.current));
767
768
  }
768
769
  }, 0);
769
770
  }
770
- }, [content]);
771
+ }, [content, hasButton]);
771
772
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
772
773
  "td",
773
774
  {
@@ -776,11 +777,19 @@ function TableCell({
776
777
  slots.td(),
777
778
  classNames == null ? void 0 : classNames.td,
778
779
  column.className,
779
- "truncate",
780
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
780
+ !hasButton && "truncate",
781
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
781
782
  ),
782
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
783
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
783
+ style: {
784
+ ...getCellStyle(column),
785
+ maxWidth: column.width || "150px",
786
+ textAlign: column.align || "center",
787
+ ...hasButton && {
788
+ overflow: "visible",
789
+ whiteSpace: "normal"
790
+ }
791
+ },
792
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
784
793
  children: content
785
794
  },
786
795
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getCellStyle,
4
4
  table_default
5
- } from "../../chunk-VRHMQMRO.mjs";
5
+ } from "../../chunk-ZHFP6XAL.mjs";
6
6
  import "../../chunk-7B7LRG5J.mjs";
7
7
  import "../../chunk-7C7RHDHV.mjs";
8
8
  import "../../chunk-F3HENRVM.mjs";
package/dist/index.js CHANGED
@@ -8247,12 +8247,13 @@ function TableCell({
8247
8247
  slots,
8248
8248
  classNames
8249
8249
  }) {
8250
- var _a, _b;
8250
+ var _a, _b, _c, _d, _e, _f;
8251
8251
  const value = row[column.field];
8252
8252
  const formattedValue = ((_a = column.valueFormatter) == null ? void 0 : _a.call(column, { value, field: column.field })) || value;
8253
8253
  const content = column.renderCell ? column.renderCell({ id: row.id, field: column.field, value, formattedValue, row }) : formattedValue;
8254
8254
  const tdRef = (0, import_react16.useRef)(null);
8255
8255
  const [showTitle, setShowTitle] = (0, import_react16.useState)(false);
8256
+ const hasButton = column.renderCell && (0, import_react16.isValidElement)(content) && (((_b = content.type) == null ? void 0 : _b.toString().includes("Button")) || ((_e = (_d = (_c = content.props) == null ? void 0 : _c.children) == null ? void 0 : _d.type) == null ? void 0 : _e.toString().includes("Button")));
8256
8257
  const checkOverflow = (el) => {
8257
8258
  if (el.scrollWidth > el.clientWidth) {
8258
8259
  return true;
@@ -8266,14 +8267,14 @@ function TableCell({
8266
8267
  return false;
8267
8268
  };
8268
8269
  (0, import_react16.useEffect)(() => {
8269
- if (tdRef.current) {
8270
+ if (tdRef.current && !hasButton) {
8270
8271
  setTimeout(() => {
8271
8272
  if (tdRef.current) {
8272
8273
  setShowTitle(checkOverflow(tdRef.current));
8273
8274
  }
8274
8275
  }, 0);
8275
8276
  }
8276
- }, [content]);
8277
+ }, [content, hasButton]);
8277
8278
  return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
8278
8279
  "td",
8279
8280
  {
@@ -8282,11 +8283,19 @@ function TableCell({
8282
8283
  slots.td(),
8283
8284
  classNames == null ? void 0 : classNames.td,
8284
8285
  column.className,
8285
- "truncate",
8286
- "[&>*]:block [&>*]:w-full [&>*]:truncate"
8286
+ !hasButton && "truncate",
8287
+ !hasButton && "[&>*]:inline-block [&>*]:max-w-full [&>*]:truncate"
8287
8288
  ),
8288
- style: { ...getCellStyle(column), maxWidth: column.width || "150px" },
8289
- title: showTitle ? String(((_b = value == null ? void 0 : value.props) == null ? void 0 : _b.children) || content || "") : void 0,
8289
+ style: {
8290
+ ...getCellStyle(column),
8291
+ maxWidth: column.width || "150px",
8292
+ textAlign: column.align || "center",
8293
+ ...hasButton && {
8294
+ overflow: "visible",
8295
+ whiteSpace: "normal"
8296
+ }
8297
+ },
8298
+ title: showTitle ? String(((_f = value == null ? void 0 : value.props) == null ? void 0 : _f.children) || content || "") : void 0,
8290
8299
  children: content
8291
8300
  },
8292
8301
  `${row.id}-${column.field}-${colIdx}-${rowIndex}`
package/dist/index.mjs CHANGED
@@ -26,25 +26,25 @@ import {
26
26
  toast_default
27
27
  } from "./chunk-GS5X67UB.mjs";
28
28
  import "./chunk-ZOTHPHXA.mjs";
29
- import "./chunk-OLQOLLKG.mjs";
29
+ import "./chunk-LVFI2NOH.mjs";
30
30
  import {
31
- starRating_default
32
- } from "./chunk-X64VT74O.mjs";
31
+ switch_default
32
+ } from "./chunk-AGE57VDD.mjs";
33
33
  import "./chunk-DX3KXNP6.mjs";
34
34
  import {
35
35
  definition_table_default
36
36
  } from "./chunk-DS5CGU2X.mjs";
37
37
  import {
38
38
  table_default
39
- } from "./chunk-VRHMQMRO.mjs";
39
+ } from "./chunk-ZHFP6XAL.mjs";
40
40
  import "./chunk-MZ76AA76.mjs";
41
41
  import {
42
42
  skeleton_default
43
43
  } from "./chunk-6PN3DGOE.mjs";
44
- import "./chunk-LVFI2NOH.mjs";
44
+ import "./chunk-OLQOLLKG.mjs";
45
45
  import {
46
- switch_default
47
- } from "./chunk-AGE57VDD.mjs";
46
+ starRating_default
47
+ } from "./chunk-X64VT74O.mjs";
48
48
  import "./chunk-TPFN22HR.mjs";
49
49
  import {
50
50
  radio_default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.183",
3
+ "version": "0.1.185",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {