@deepnoid/ui 0.1.163 → 0.1.165

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/checkbox/checkbox.tsx, src/components/checkbox/index.tsx, src/components/drawer/drawer.tsx, src/components/drawer/index.ts, src/components/chip/chip.tsx, src/components/chip/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
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/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/modal/index.ts, src/components/modal/modal.tsx, src/components/list/index.ts, src/components/list/list.tsx, src/components/list/listItem.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/tree/index.ts, src/components/tree/tree.tsx, src/components/tooltip/index.ts, src/components/tooltip/tooltip-utils.ts, src/components/tooltip/tooltip.tsx, src/components/tooltip/useTooltip.ts, src/components/toast/index.ts, src/components/toast/toast-utils.ts, src/components/toast/toast.tsx, src/components/toast/use-toast.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
@@ -10,209 +10,209 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
10
10
  ESM Build start
11
11
  DTS Build start
12
12
  ESM dist/utils/props.mjs 137.00 B
13
- ESM dist/hooks/useIsMounted.mjs 129.00 B
14
13
  ESM dist/fonts/NanumSquare_acB.mjs 194.00 B
14
+ ESM dist/hooks/useIsMounted.mjs 129.00 B
15
15
  ESM dist/index.mjs 5.08 KB
16
- ESM dist/chunk-HIE2YRGA.mjs 14.00 B
17
- ESM dist/utils/tailwind-variants.mjs 109.00 B
18
- ESM dist/chunk-5KC3IFNR.mjs 4.21 KB
19
- ESM dist/utils/types.mjs 14.00 B
20
- ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
21
- ESM dist/chunk-WSIADHVC.mjs 3.80 KB
22
- ESM dist/chunk-MBLZYQCN.mjs 14.00 B
16
+ ESM dist/chunk-LUWGOKLG.mjs 14.00 B
23
17
  ESM dist/chunk-RRAZM5D3.mjs 14.00 B
18
+ ESM dist/chunk-6574ITBF.mjs 4.10 KB
19
+ ESM dist/chunk-EQLBG32V.mjs 2.58 KB
20
+ ESM dist/chunk-MBLZYQCN.mjs 14.00 B
21
+ ESM dist/chunk-5KC3IFNR.mjs 4.21 KB
24
22
  ESM dist/chunk-WSBUOY2M.mjs 5.53 KB
25
23
  ESM dist/chunk-3CRSSRCH.mjs 9.13 KB
26
- ESM dist/chunk-LUWGOKLG.mjs 14.00 B
27
- ESM dist/chunk-EQLBG32V.mjs 2.58 KB
28
- ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
29
- ESM dist/chunk-DS5CGU2X.mjs 4.12 KB
24
+ ESM dist/chunk-HIE2YRGA.mjs 14.00 B
30
25
  ESM dist/chunk-DX3KXNP6.mjs 14.00 B
31
- ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
26
+ ESM dist/chunk-ZMOAFSYE.mjs 1.43 KB
27
+ ESM dist/chunk-WSIADHVC.mjs 3.80 KB
32
28
  ESM dist/chunk-3MY6LO7N.mjs 14.00 B
33
- ESM dist/chunk-6574ITBF.mjs 4.10 KB
34
- ESM dist/chunk-MZ76AA76.mjs 14.00 B
35
- ESM dist/chunk-DW3BX4M2.mjs 6.13 KB
29
+ ESM dist/chunk-DS5CGU2X.mjs 4.12 KB
36
30
  ESM dist/chunk-6PN3DGOE.mjs 1.78 KB
31
+ ESM dist/chunk-DW3BX4M2.mjs 6.13 KB
37
32
  ESM dist/chunk-PX4RCHOE.mjs 14.66 KB
33
+ ESM dist/chunk-MZ76AA76.mjs 14.00 B
38
34
  ESM dist/chunk-OLQOLLKG.mjs 14.00 B
39
- ESM dist/chunk-INRA6IED.mjs 3.49 KB
40
35
  ESM dist/chunk-LVFI2NOH.mjs 14.00 B
41
- ESM dist/chunk-7B7LRG5J.mjs 14.00 B
42
- ESM dist/chunk-AGE57VDD.mjs 4.16 KB
36
+ ESM dist/chunk-PRNE3U26.mjs 5.65 KB
43
37
  ESM dist/chunk-TPFN22HR.mjs 14.00 B
38
+ ESM dist/chunk-AGE57VDD.mjs 4.16 KB
39
+ ESM dist/chunk-XTS6WKFD.mjs 4.19 KB
40
+ ESM dist/chunk-7B7LRG5J.mjs 14.00 B
44
41
  ESM dist/chunk-F3HENRVM.mjs 934.00 B
45
- ESM dist/chunk-PRNE3U26.mjs 5.65 KB
46
- ESM dist/chunk-XZYQFBCT.mjs 1.51 KB
47
42
  ESM dist/chunk-4VWG4726.mjs 14.00 B
48
- ESM dist/chunk-QCEKPS7U.mjs 14.00 B
43
+ ESM dist/chunk-XZYQFBCT.mjs 1.51 KB
49
44
  ESM dist/chunk-WLTBJF4I.mjs 10.24 KB
50
- ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
51
- ESM dist/chunk-FWFEKWWD.mjs 437.00 B
52
- ESM dist/chunk-NJFJJIWK.mjs 18.32 KB
45
+ ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
46
+ ESM dist/chunk-QCEKPS7U.mjs 14.00 B
47
+ ESM dist/chunk-5G6CCE55.mjs 15.68 KB
53
48
  ESM dist/chunk-BM3MR3JR.mjs 12.45 KB
49
+ ESM dist/chunk-FWFEKWWD.mjs 437.00 B
50
+ ESM dist/chunk-7MVEAQ7Z.mjs 14.00 B
54
51
  ESM dist/chunk-DJOG6Z35.mjs 14.00 B
55
52
  ESM dist/chunk-NGRGAY42.mjs 1.27 KB
53
+ ESM dist/chunk-SCQCMQDP.mjs 4.67 KB
54
+ ESM dist/chunk-MGEWSREV.mjs 14.00 B
55
+ ESM dist/chunk-NJFJJIWK.mjs 18.32 KB
56
56
  ESM dist/chunk-HKLVFMYQ.mjs 7.20 KB
57
- ESM dist/chunk-5G6CCE55.mjs 15.68 KB
57
+ ESM dist/utils/tailwind-variants.mjs 109.00 B
58
+ ESM dist/utils/types.mjs 14.00 B
58
59
  ESM dist/chunk-32GA3YW4.mjs 14.00 B
59
- ESM dist/chunk-MGEWSREV.mjs 14.00 B
60
- ESM dist/chunk-SCQCMQDP.mjs 4.67 KB
61
- ESM dist/chunk-45Y7ANPK.mjs 5.03 KB
62
60
  ESM dist/chunk-RLXOHILK.mjs 14.00 B
63
- ESM dist/chunk-7VOQKIIK.mjs 14.00 B
64
61
  ESM dist/chunk-2B3HDC26.mjs 4.03 KB
65
62
  ESM dist/chunk-OOX5X2MN.mjs 4.55 KB
63
+ ESM dist/chunk-7VOQKIIK.mjs 14.00 B
64
+ ESM dist/chunk-45Y7ANPK.mjs 5.03 KB
66
65
  ESM dist/chunk-KH63CD55.mjs 3.75 KB
67
66
  ESM dist/chunk-2GCSFWHD.mjs 14.00 B
68
- ESM dist/chunk-VYNBJBXD.mjs 14.00 B
69
- ESM dist/chunk-DQRAFUDA.mjs 14.00 B
70
67
  ESM dist/chunk-EWS3FESG.mjs 1.03 KB
68
+ ESM dist/chunk-VYNBJBXD.mjs 14.00 B
71
69
  ESM dist/chunk-VNRGOOSY.mjs 13.42 KB
72
- ESM dist/chunk-ARNMOGRH.mjs 6.32 KB
73
- ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
70
+ ESM dist/chunk-BRVQTI2T.mjs 8.34 KB
74
71
  ESM dist/chunk-WA7CSZQ3.mjs 5.17 KB
72
+ ESM dist/chunk-DQRAFUDA.mjs 14.00 B
73
+ ESM dist/chunk-QZ3LVYJW.mjs 14.00 B
75
74
  ESM dist/chunk-SE5TU755.mjs 14.00 B
76
- ESM dist/chunk-BRVQTI2T.mjs 8.34 KB
77
75
  ESM dist/chunk-U7SYKG2C.mjs 4.33 KB
78
- ESM dist/chunk-OEIEALIP.mjs 6.54 KB
79
76
  ESM dist/chunk-IH3BJRTV.mjs 778.00 B
80
77
  ESM dist/chunk-KYIODWXL.mjs 14.00 B
81
78
  ESM dist/chunk-6DOAZ27E.mjs 2.87 KB
79
+ ESM dist/chunk-ARNMOGRH.mjs 6.32 KB
80
+ ESM dist/chunk-OEIEALIP.mjs 6.54 KB
82
81
  ESM dist/chunk-MY5U63QO.mjs 14.00 B
83
82
  ESM dist/chunk-5VTYO3RF.mjs 724.00 B
84
83
  ESM dist/chunk-4LUASWAN.mjs 4.40 KB
84
+ ESM dist/chunk-6WSACUIB.mjs 14.00 B
85
85
  ESM dist/chunk-SZL743JC.mjs 1.00 KB
86
+ ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
86
87
  ESM dist/chunk-R7KUEH3N.mjs 929.00 B
88
+ ESM dist/chunk-AKAGWXXP.mjs 9.36 KB
89
+ ESM dist/chunk-NMSDSEBD.mjs 14.00 B
87
90
  ESM dist/chunk-DO56H4BN.mjs 12.17 KB
88
- ESM dist/chunk-6WSACUIB.mjs 14.00 B
89
91
  ESM dist/chunk-ZYIIXWVY.mjs 14.00 B
90
92
  ESM dist/chunk-CPFFP7L6.mjs 2.01 KB
91
- ESM dist/chunk-NMSDSEBD.mjs 14.00 B
92
- ESM dist/chunk-LXHUO6VM.mjs 1.49 KB
93
- ESM dist/chunk-VO332GRO.mjs 1.65 KB
94
93
  ESM dist/chunk-7DLOYKVC.mjs 14.00 B
94
+ ESM dist/chunk-VO332GRO.mjs 1.65 KB
95
95
  ESM dist/chunk-DU7L4GA7.mjs 6.02 KB
96
- ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
97
96
  ESM dist/chunk-E3G5QXSH.mjs 608.00 B
98
97
  ESM dist/chunk-3V4HT2K5.mjs 837.00 B
99
- ESM dist/chunk-U4DJHAM5.mjs 15.38 KB
100
- ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
101
- ESM dist/chunk-27Y6K5NK.mjs 823.00 B
102
98
  ESM dist/utils/clsx.mjs 113.00 B
103
- ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
99
+ ESM dist/chunk-27Y6K5NK.mjs 823.00 B
104
100
  ESM dist/chunk-AC6TWLRT.mjs 1.34 KB
101
+ ESM dist/chunk-U4DJHAM5.mjs 15.38 KB
102
+ ESM dist/fonts/NanumSquare_acR.mjs 194.00 B
105
103
  ESM dist/fonts/font.css 777.00 B
106
- ESM dist/chunk-AKAGWXXP.mjs 9.36 KB
107
- ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
104
+ ESM dist/fonts/NanumSquare_acEB.mjs 198.00 B
105
+ ESM dist/fonts/NanumSquare_acL.mjs 194.00 B
106
+ ESM dist/chunk-ZOTHPHXA.mjs 857.00 B
107
+ ESM dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
108
108
  ESM dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
109
- ESM dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
110
- ESM dist/components/toast/use-toast.mjs 441.00 B
111
- ESM dist/components/tooltip/index.mjs 327.00 B
112
- ESM dist/components/tree/tree.mjs 337.00 B
109
+ ESM dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
110
+ ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
113
111
  ESM dist/components/tabs/tabs.mjs 232.00 B
112
+ ESM dist/components/toast/index.mjs 527.00 B
113
+ ESM dist/components/textarea/textarea.mjs 224.00 B
114
+ ESM dist/chunk-DDFJMHBC.mjs 760.18 KB
114
115
  ESM dist/components/timePicker/calendar.mjs 11.09 KB
115
- ESM dist/components/table/definition-table.mjs 240.00 B
116
- ESM dist/components/select/index.mjs 394.00 B
116
+ ESM dist/components/select/select.mjs 360.00 B
117
+ ESM dist/components/tree/index.mjs 353.00 B
118
+ ESM dist/components/starRating/index.mjs 371.00 B
117
119
  ESM dist/components/scroll/scrollArea.mjs 193.00 B
118
120
  ESM dist/components/skeleton/index.mjs 225.00 B
119
- ESM dist/components/switch/switch.mjs 185.00 B
120
- ESM dist/components/starRating/index.mjs 371.00 B
121
+ ESM dist/components/table/definition-table.mjs 240.00 B
121
122
  ESM dist/components/progress/index.mjs 295.00 B
122
123
  ESM dist/components/radio/index.mjs 286.00 B
123
124
  ESM dist/components/ripple/index.mjs 253.00 B
124
- ESM dist/components/pagination/pagination.mjs 473.00 B
125
- ESM dist/chunk-DDFJMHBC.mjs 760.18 KB
126
- ESM dist/components/picker/datePicker.mjs 826.00 B
125
+ ESM dist/components/pagination/index.mjs 511.00 B
127
126
  ESM dist/components/input/index.mjs 391.00 B
127
+ ESM dist/components/picker/day.mjs 238.00 B
128
128
  ESM dist/components/icon/template.mjs 127.00 B
129
- ESM dist/components/list/index.mjs 483.00 B
130
- ESM dist/components/textarea/index.mjs 260.00 B
129
+ ESM dist/components/switch/switch.mjs 185.00 B
131
130
  ESM dist/components/modal/index.mjs 741.00 B
132
- ESM dist/components/drawer/drawer.mjs 255.00 B
133
- ESM dist/components/chip/chip.mjs 321.00 B
131
+ ESM dist/components/list/list.mjs 216.00 B
132
+ ESM dist/components/drawer/index.mjs 289.00 B
133
+ ESM dist/components/chip/index.mjs 353.00 B
134
134
  ESM dist/components/fileUpload/fileUpload.mjs 889.00 B
135
135
  ESM dist/components/charts/areaChart.mjs 331.00 B
136
- ESM dist/components/checkbox/index.mjs 295.00 B
136
+ ESM dist/components/checkbox/checkbox.mjs 259.00 B
137
+ ESM dist/components/backdrop/index.mjs 260.00 B
137
138
  ESM dist/components/breadcrumb/index.mjs 686.00 B
138
- ESM dist/components/backdrop/backdrop.mjs 224.00 B
139
139
  ESM dist/components/button/text-button.mjs 265.00 B
140
140
  ESM dist/components/accordion/accordion.mjs 226.00 B
141
141
  ESM dist/components/avatar/avatar.mjs 220.00 B
142
- ESM dist/components/tooltip/tooltip-utils.mjs 221.00 B
142
+ ESM dist/components/toast/toast.mjs 358.00 B
143
143
  ESM dist/components/tooltip/tooltip.mjs 292.00 B
144
- ESM dist/components/tree/index.mjs 353.00 B
145
144
  ESM dist/components/tooltip/useTooltip.mjs 166.00 B
146
- ESM dist/components/textarea/textarea.mjs 224.00 B
147
145
  ESM dist/components/toast/toast-utils.mjs 143.00 B
148
- ESM dist/components/toast/index.mjs 527.00 B
149
- ESM dist/components/toast/toast.mjs 358.00 B
150
- ESM dist/components/table/table-head.mjs 683.00 B
151
- ESM dist/components/table/table-body.mjs 683.00 B
152
- ESM dist/components/tabs/index.mjs 248.00 B
153
- ESM dist/components/table/table.mjs 705.00 B
154
- ESM dist/components/table/form-table.mjs 1.92 KB
146
+ ESM dist/components/toast/use-toast.mjs 441.00 B
155
147
  ESM dist/components/timePicker/useDateTimePicker.mjs 3.37 KB
148
+ ESM dist/components/tree/tree.mjs 337.00 B
149
+ ESM dist/components/textarea/index.mjs 260.00 B
150
+ ESM dist/components/tooltip/index.mjs 327.00 B
156
151
  ESM dist/components/table/index.mjs 824.00 B
157
- ESM dist/components/select/select.mjs 360.00 B
158
- ESM dist/components/skeleton/skeleton.mjs 189.00 B
152
+ ESM dist/components/table/form-table.mjs 1.92 KB
153
+ ESM dist/components/tabs/index.mjs 248.00 B
154
+ ESM dist/components/table/table-body.mjs 683.00 B
155
+ ESM dist/components/table/table.mjs 705.00 B
156
+ ESM dist/components/table/table-head.mjs 683.00 B
157
+ ESM dist/components/select/index.mjs 394.00 B
159
158
  ESM dist/components/starRating/starRating.mjs 371.00 B
159
+ ESM dist/components/skeleton/skeleton.mjs 189.00 B
160
+ ESM dist/components/switch/index.mjs 219.00 B
160
161
  ESM dist/components/progress/progress.mjs 259.00 B
161
- ESM dist/components/scroll/index.mjs 231.00 B
162
162
  ESM dist/components/radio/radio.mjs 253.00 B
163
- ESM dist/components/switch/index.mjs 219.00 B
164
163
  ESM dist/components/ripple/ripple.mjs 150.00 B
165
- ESM dist/components/pagination/index.mjs 511.00 B
166
164
  ESM dist/components/ripple/useRipple.mjs 158.00 B
165
+ ESM dist/components/scroll/index.mjs 231.00 B
167
166
  ESM dist/components/pagination/usePagination.mjs 164.00 B
168
- ESM dist/components/picker/day.mjs 238.00 B
169
- ESM dist/components/picker/timePicker.mjs 476.00 B
167
+ ESM dist/components/pagination/pagination.mjs 473.00 B
170
168
  ESM dist/components/picker/utils.mjs 191.00 B
171
- ESM dist/components/input/input.mjs 386.00 B
172
- ESM dist/components/list/list.mjs 216.00 B
169
+ ESM dist/components/picker/timePicker.mjs 476.00 B
173
170
  ESM dist/components/picker/index.mjs 1.02 KB
174
- ESM dist/components/list/listItem.mjs 364.00 B
175
- ESM dist/components/drawer/index.mjs 289.00 B
171
+ ESM dist/components/picker/datePicker.mjs 826.00 B
172
+ ESM dist/components/input/input.mjs 386.00 B
176
173
  ESM dist/components/modal/modal.mjs 708.00 B
174
+ ESM dist/components/list/index.mjs 483.00 B
175
+ ESM dist/components/list/listItem.mjs 364.00 B
176
+ ESM dist/components/drawer/drawer.mjs 255.00 B
177
177
  ESM dist/components/fileUpload/index.mjs 861.00 B
178
+ ESM dist/components/chip/chip.mjs 321.00 B
178
179
  ESM dist/components/icon/Icon.mjs 213.00 B
179
- ESM dist/components/chip/index.mjs 353.00 B
180
- ESM dist/components/charts/index.mjs 721.00 B
181
- ESM dist/components/charts/radarChart.mjs 228.00 B
182
180
  ESM dist/components/icon/index.mjs 245.00 B
183
181
  ESM dist/components/charts/circularProgress.mjs 240.00 B
184
- ESM dist/components/checkbox/checkbox.mjs 259.00 B
185
182
  ESM dist/components/charts/barChart.mjs 262.00 B
186
- ESM dist/components/button/index.mjs 811.00 B
187
- ESM dist/components/button/icon-button.mjs 440.00 B
183
+ ESM dist/components/charts/index.mjs 721.00 B
184
+ ESM dist/components/charts/radarChart.mjs 228.00 B
185
+ ESM dist/components/checkbox/index.mjs 295.00 B
186
+ ESM dist/components/button/button-group.mjs 197.00 B
188
187
  ESM dist/components/breadcrumb/breadcrumb.mjs 648.00 B
188
+ ESM dist/components/button/index.mjs 811.00 B
189
+ ESM dist/components/backdrop/backdrop.mjs 224.00 B
189
190
  ESM dist/components/button/button.mjs 430.00 B
190
- ESM dist/components/backdrop/index.mjs 260.00 B
191
- ESM dist/components/button/button-group.mjs 197.00 B
191
+ ESM dist/components/button/icon-button.mjs 440.00 B
192
192
  ESM dist/components/accordion/accordionItem.mjs 234.00 B
193
- ESM dist/components/accordion/index.mjs 373.00 B
194
193
  ESM dist/components/avatar/index.mjs 254.00 B
195
- ESM ⚡️ Build success in 428ms
194
+ ESM dist/components/accordion/index.mjs 373.00 B
195
+ ESM ⚡️ Build success in 387ms
196
196
  CJS dist/hooks/useIsMounted.js 1.87 KB
197
- CJS dist/fonts/NanumSquare_acB.js 113.00 B
198
197
  CJS dist/fonts/NanumSquare_acEB.js 116.00 B
199
198
  CJS dist/fonts/NanumSquare_acL.js 113.00 B
200
199
  CJS dist/fonts/NanumSquare_acR.js 113.00 B
201
200
  CJS dist/utils/clsx.js 1.77 KB
202
201
  CJS dist/utils/props.js 1.59 KB
203
202
  CJS dist/utils/tailwind-variants.js 8.79 KB
204
- CJS dist/components/accordion/accordion.js 11.25 KB
205
- CJS dist/fonts/font.css 777.00 B
206
203
  CJS dist/utils/types.js 778.00 B
204
+ CJS dist/components/accordion/accordion.js 11.25 KB
207
205
  CJS dist/components/accordion/accordionItem.js 15.37 KB
206
+ CJS dist/fonts/font.css 777.00 B
208
207
  CJS dist/components/accordion/index.js 17.53 KB
209
208
  CJS dist/components/backdrop/backdrop.js 10.19 KB
210
209
  CJS dist/components/backdrop/index.js 10.33 KB
211
210
  CJS dist/components/button/button-group.js 9.45 KB
212
211
  CJS dist/components/button/text-button.js 14.35 KB
213
212
  CJS dist/components/charts/barChart.js 18.42 KB
214
- CJS dist/components/charts/circularProgress.js 14.74 KB
215
213
  CJS dist/components/charts/areaChart.js 17.94 KB
214
+ CJS dist/components/charts/circularProgress.js 14.74 KB
215
+ CJS dist/fonts/NanumSquare_acB.js 113.00 B
216
216
  CJS dist/components/charts/index.js 37.37 KB
217
217
  CJS dist/components/charts/radarChart.js 13.85 KB
218
218
  CJS dist/components/checkbox/checkbox.js 16.64 KB
@@ -222,79 +222,79 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
222
222
  CJS dist/components/list/list.js 10.46 KB
223
223
  CJS dist/components/pagination/usePagination.js 1.88 KB
224
224
  CJS dist/components/picker/day.js 10.81 KB
225
- CJS dist/components/picker/utils.js 1.47 KB
226
225
  CJS dist/components/progress/index.js 13.91 KB
226
+ CJS dist/components/picker/utils.js 1.47 KB
227
227
  CJS dist/components/progress/progress.js 13.77 KB
228
+ CJS dist/components/radio/index.js 15.85 KB
228
229
  CJS dist/components/radio/radio.js 15.72 KB
229
230
  CJS dist/components/ripple/index.js 3.66 KB
230
- CJS dist/components/ripple/ripple.js 2.57 KB
231
231
  CJS dist/components/ripple/useRipple.js 2.04 KB
232
- CJS dist/components/radio/index.js 15.85 KB
233
232
  CJS dist/components/scroll/index.js 2.90 KB
234
233
  CJS dist/components/scroll/scrollArea.js 2.78 KB
234
+ CJS dist/components/ripple/ripple.js 2.57 KB
235
235
  CJS dist/components/skeleton/skeleton.js 3.54 KB
236
- CJS dist/components/switch/switch.js 5.77 KB
237
236
  CJS dist/components/switch/index.js 5.90 KB
237
+ CJS dist/components/switch/switch.js 5.77 KB
238
238
  CJS dist/components/table/definition-table.js 13.78 KB
239
- CJS dist/components/table/form-table.js 10.78 KB
240
239
  CJS dist/components/skeleton/index.js 3.68 KB
241
240
  CJS dist/components/tabs/index.js 15.60 KB
242
- CJS dist/components/textarea/index.js 11.72 KB
243
241
  CJS dist/components/tabs/tabs.js 15.59 KB
242
+ CJS dist/components/textarea/index.js 11.72 KB
243
+ CJS dist/components/textarea/textarea.js 11.58 KB
244
244
  CJS dist/components/timePicker/useDateTimePicker.js 4.81 KB
245
- CJS dist/components/toast/toast-utils.js 1.85 KB
246
245
  CJS dist/components/tooltip/index.js 18.73 KB
247
- CJS dist/components/textarea/textarea.js 11.58 KB
248
246
  CJS dist/components/tooltip/tooltip-utils.js 4.90 KB
249
- CJS dist/components/tooltip/useTooltip.js 4.19 KB
250
247
  CJS dist/components/tooltip/tooltip.js 18.59 KB
248
+ CJS dist/components/tooltip/useTooltip.js 4.19 KB
249
+ CJS dist/components/toast/toast-utils.js 1.85 KB
250
+ CJS dist/components/table/form-table.js 10.78 KB
251
251
  CJS dist/NanumSquare_acEB-HRZ3QLG2.ttf 618.41 KB
252
+ CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
253
+ CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
252
254
  CJS dist/components/avatar/avatar.js 783.92 KB
253
- CJS dist/components/button/icon-button.js 795.54 KB
254
- CJS dist/components/avatar/index.js 784.05 KB
255
255
  CJS dist/components/breadcrumb/breadcrumb.js 791.71 KB
256
- CJS dist/components/button/index.js 813.96 KB
256
+ CJS dist/components/avatar/index.js 784.05 KB
257
+ CJS dist/components/breadcrumb/index.js 791.86 KB
257
258
  CJS dist/components/button/button.js 798.60 KB
259
+ CJS dist/components/button/icon-button.js 795.54 KB
258
260
  CJS dist/components/chip/chip.js 787.60 KB
259
- CJS dist/components/icon/Icon.js 775.54 KB
261
+ CJS dist/components/button/index.js 813.96 KB
260
262
  CJS dist/components/chip/index.js 787.72 KB
261
- CJS dist/components/breadcrumb/index.js 791.86 KB
262
- CJS dist/components/icon/index.js 775.55 KB
263
- CJS dist/components/fileUpload/index.js 831.64 KB
264
263
  CJS dist/components/fileUpload/fileUpload.js 831.69 KB
265
264
  CJS dist/components/icon/template.js 774.62 KB
265
+ CJS dist/components/icon/Icon.js 775.54 KB
266
+ CJS dist/components/icon/index.js 775.55 KB
267
+ CJS dist/components/fileUpload/index.js 831.64 KB
266
268
  CJS dist/components/input/input.js 798.19 KB
267
- CJS dist/components/list/index.js 794.48 KB
268
- CJS dist/components/list/listItem.js 792.52 KB
269
269
  CJS dist/components/modal/index.js 804.95 KB
270
- CJS dist/components/modal/modal.js 804.83 KB
271
- CJS dist/components/picker/datePicker.js 847.47 KB
272
270
  CJS dist/components/input/index.js 798.19 KB
271
+ CJS dist/components/list/index.js 794.48 KB
272
+ CJS dist/components/modal/modal.js 804.83 KB
273
273
  CJS dist/components/pagination/index.js 809.43 KB
274
+ CJS dist/components/list/listItem.js 792.52 KB
274
275
  CJS dist/components/pagination/pagination.js 809.29 KB
275
- CJS dist/NanumSquare_acB-VMSVRKSM.ttf 625.04 KB
276
+ CJS dist/components/picker/timePicker.js 813.48 KB
277
+ CJS dist/components/picker/datePicker.js 847.47 KB
276
278
  CJS dist/components/picker/index.js 877.03 KB
277
279
  CJS dist/components/select/index.js 800.59 KB
278
- CJS dist/components/picker/timePicker.js 813.48 KB
279
- CJS dist/components/starRating/index.js 787.38 KB
280
280
  CJS dist/components/select/select.js 800.46 KB
281
- CJS dist/components/starRating/starRating.js 787.38 KB
282
- CJS dist/components/table/table-body.js 832.43 KB
283
- CJS dist/NanumSquare_acR-RZCHPXSJ.ttf 631.56 KB
281
+ CJS dist/components/starRating/index.js 788.17 KB
284
282
  CJS dist/components/table/index.js 836.86 KB
285
- CJS dist/components/table/table-head.js 832.43 KB
283
+ CJS dist/components/starRating/starRating.js 788.18 KB
284
+ CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
286
285
  CJS dist/components/timePicker/calendar.js 795.34 KB
287
- CJS dist/components/toast/index.js 792.16 KB
288
286
  CJS dist/components/table/table.js 832.53 KB
287
+ CJS dist/components/tree/index.js 789.74 KB
289
288
  CJS dist/components/toast/toast.js 788.51 KB
290
- CJS dist/components/toast/use-toast.js 792.10 KB
291
289
  CJS dist/components/tree/tree.js 789.73 KB
292
- CJS dist/components/tree/index.js 789.74 KB
293
- CJS dist/NanumSquare_acL-FSAAP5CK.ttf 642.08 KB
290
+ CJS dist/components/toast/index.js 792.16 KB
291
+ CJS dist/components/toast/use-toast.js 792.10 KB
294
292
  CJS dist/index.js 1.03 MB
295
- CJS ⚡️ Build success in 532ms
296
- DTS ⚡️ Build success in 18131ms
297
- DTS dist/index.d.ts 3.55 KB
293
+ CJS dist/components/table/table-head.js 832.43 KB
294
+ CJS dist/components/table/table-body.js 832.43 KB
295
+ CJS ⚡️ Build success in 468ms
296
+ DTS ⚡️ Build success in 17663ms
297
+ DTS dist/index.d.ts 3.56 KB
298
298
  DTS dist/components/accordion/index.d.ts 229.00 B
299
299
  DTS dist/components/button/index.d.ts 415.00 B
300
300
  DTS dist/components/charts/index.d.ts 354.00 B
@@ -341,8 +341,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
341
341
  DTS dist/components/backdrop/backdrop.d.ts 330.00 B
342
342
  DTS dist/components/breadcrumb/breadcrumb.d.ts 2.11 KB
343
343
  DTS dist/components/checkbox/checkbox.d.ts 4.43 KB
344
- DTS dist/components/drawer/drawer.d.ts 2.20 KB
345
344
  DTS dist/components/chip/chip.d.ts 2.57 KB
345
+ DTS dist/components/drawer/drawer.d.ts 2.20 KB
346
346
  DTS dist/components/fileUpload/fileUpload.d.ts 2.98 KB
347
347
  DTS dist/components/icon/Icon.d.ts 22.19 KB
348
348
  DTS dist/components/input/input.d.ts 8.36 KB
@@ -358,8 +358,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
358
358
  DTS dist/components/switch/switch.d.ts 4.08 KB
359
359
  DTS dist/components/tabs/tabs.d.ts 3.09 KB
360
360
  DTS dist/components/textarea/textarea.d.ts 6.78 KB
361
- DTS dist/components/tooltip/tooltip.d.ts 2.19 KB
362
361
  DTS dist/components/tree/tree.d.ts 3.26 KB
362
+ DTS dist/components/tooltip/tooltip.d.ts 2.19 KB
363
363
  DTS dist/fonts/NanumSquare_acEB.d.ts 13.00 B
364
364
  DTS dist/fonts/NanumSquare_acL.d.ts 13.00 B
365
365
  DTS dist/fonts/NanumSquare_acR.d.ts 13.00 B
@@ -370,8 +370,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
370
370
  DTS dist/components/backdrop/index.d.ts 81.00 B
371
371
  DTS dist/components/breadcrumb/index.d.ts 216.00 B
372
372
  DTS dist/components/checkbox/index.d.ts 143.00 B
373
- DTS dist/components/drawer/index.d.ts 137.00 B
374
373
  DTS dist/components/chip/index.d.ts 204.00 B
374
+ DTS dist/components/drawer/index.d.ts 137.00 B
375
375
  DTS dist/components/fileUpload/index.d.ts 169.00 B
376
376
  DTS dist/components/icon/index.d.ts 179.00 B
377
377
  DTS dist/components/input/index.d.ts 134.00 B
@@ -387,10 +387,10 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
387
387
  DTS dist/components/switch/index.d.ts 124.00 B
388
388
  DTS dist/components/tabs/index.d.ts 179.00 B
389
389
  DTS dist/components/textarea/index.d.ts 143.00 B
390
- DTS dist/components/tooltip/index.d.ts 182.00 B
391
390
  DTS dist/components/tree/index.d.ts 183.00 B
391
+ DTS dist/components/tooltip/index.d.ts 182.00 B
392
392
  DTS dist/tooltip-utils-DO3LQaVM.d.ts 2.05 KB
393
- DTS dist/index.d.mts 3.59 KB
393
+ DTS dist/index.d.mts 3.60 KB
394
394
  DTS dist/components/accordion/index.d.mts 232.00 B
395
395
  DTS dist/components/button/index.d.mts 422.00 B
396
396
  DTS dist/components/charts/index.d.mts 359.00 B
@@ -437,8 +437,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
437
437
  DTS dist/components/backdrop/backdrop.d.mts 330.00 B
438
438
  DTS dist/components/breadcrumb/breadcrumb.d.mts 2.11 KB
439
439
  DTS dist/components/checkbox/checkbox.d.mts 4.43 KB
440
- DTS dist/components/drawer/drawer.d.mts 2.21 KB
441
440
  DTS dist/components/chip/chip.d.mts 2.58 KB
441
+ DTS dist/components/drawer/drawer.d.mts 2.21 KB
442
442
  DTS dist/components/fileUpload/fileUpload.d.mts 2.98 KB
443
443
  DTS dist/components/icon/Icon.d.mts 22.19 KB
444
444
  DTS dist/components/input/input.d.mts 8.36 KB
@@ -454,8 +454,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
454
454
  DTS dist/components/switch/switch.d.mts 4.08 KB
455
455
  DTS dist/components/tabs/tabs.d.mts 3.09 KB
456
456
  DTS dist/components/textarea/textarea.d.mts 6.78 KB
457
- DTS dist/components/tooltip/tooltip.d.mts 2.20 KB
458
457
  DTS dist/components/tree/tree.d.mts 3.26 KB
458
+ DTS dist/components/tooltip/tooltip.d.mts 2.20 KB
459
459
  DTS dist/fonts/NanumSquare_acEB.d.mts 13.00 B
460
460
  DTS dist/fonts/NanumSquare_acL.d.mts 13.00 B
461
461
  DTS dist/fonts/NanumSquare_acR.d.mts 13.00 B
@@ -466,8 +466,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
466
466
  DTS dist/components/backdrop/index.d.mts 82.00 B
467
467
  DTS dist/components/breadcrumb/index.d.mts 220.00 B
468
468
  DTS dist/components/checkbox/index.d.mts 145.00 B
469
- DTS dist/components/drawer/index.d.mts 139.00 B
470
469
  DTS dist/components/chip/index.d.mts 208.00 B
470
+ DTS dist/components/drawer/index.d.mts 139.00 B
471
471
  DTS dist/components/fileUpload/index.d.mts 171.00 B
472
472
  DTS dist/components/icon/index.d.mts 182.00 B
473
473
  DTS dist/components/input/index.d.mts 136.00 B
@@ -483,8 +483,8 @@ $ cross-env NODE_OPTIONS=--max-old-space-size=8192 tsup src --dts && yarn copy:f
483
483
  DTS dist/components/switch/index.d.mts 126.00 B
484
484
  DTS dist/components/tabs/index.d.mts 181.00 B
485
485
  DTS dist/components/textarea/index.d.mts 145.00 B
486
- DTS dist/components/tooltip/index.d.mts 185.00 B
487
486
  DTS dist/components/tree/index.d.mts 185.00 B
487
+ DTS dist/components/tooltip/index.d.mts 185.00 B
488
488
  DTS dist/tooltip-utils-DO3LQaVM.d.mts 2.05 KB
489
489
  $ copyfiles -u 2 src/fonts/**/* dist/fonts
490
- Done in 18.98s.
490
+ Done in 18.48s.
@@ -23,18 +23,28 @@ var StarRating = forwardRef((originalProps, ref) => {
23
23
  allowHalf = false,
24
24
  classNames,
25
25
  filledColor = "text-primary-main",
26
- emptyColor = "text-neutral-light"
26
+ emptyColor = "text-neutral-soft"
27
27
  } = { ...props, ...variantProps };
28
28
  const slots = useMemo(() => starRatingStyle({ ...variantProps }), [variantProps]);
29
29
  const [hoverRating, setHoverRating] = useState(0);
30
30
  const handleStarClick = (starIndex, isHalf = false) => {
31
31
  if (readOnly || !onChange) return;
32
- const newRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
32
+ let newRating;
33
+ if (allowHalf && isHalf) {
34
+ newRating = starIndex - 0.5;
35
+ } else {
36
+ newRating = starIndex;
37
+ }
33
38
  onChange(newRating);
34
39
  };
35
40
  const handleStarHover = (starIndex, isHalf = false) => {
36
41
  if (readOnly) return;
37
- const newHoverRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
42
+ let newHoverRating;
43
+ if (allowHalf && isHalf) {
44
+ newHoverRating = starIndex - 0.5;
45
+ } else {
46
+ newHoverRating = starIndex;
47
+ }
38
48
  setHoverRating(newHoverRating);
39
49
  };
40
50
  const handleMouseLeave = () => {
@@ -47,7 +57,9 @@ var StarRating = forwardRef((originalProps, ref) => {
47
57
  const renderStar = (starIndex) => {
48
58
  const currentRating = readOnly ? value : hoverRating || value;
49
59
  const isFull = currentRating >= starIndex;
50
- const isHalf = allowHalf && currentRating >= starIndex - 0.5 && currentRating < starIndex;
60
+ const isEmpty = currentRating < starIndex - 1;
61
+ const isPartial = !isFull && !isEmpty;
62
+ const fillPercentage = isPartial ? (currentRating - (starIndex - 1)) * 100 : 0;
51
63
  return /* @__PURE__ */ jsxs("div", { className: slots.starWrapper({ class: classNames == null ? void 0 : classNames.starWrapper }), children: [
52
64
  !readOnly && /* @__PURE__ */ jsxs(Fragment, { children: [
53
65
  /* @__PURE__ */ jsx(
@@ -67,7 +79,22 @@ var StarRating = forwardRef((originalProps, ref) => {
67
79
  }
68
80
  )
69
81
  ] }),
70
- /* @__PURE__ */ jsx("div", { children: isHalf ? /* @__PURE__ */ jsx(Icon_default, { name: "halfStar", className: filledColor, size }) : /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: isFull, className: isFull ? filledColor : emptyColor, size }) })
82
+ /* @__PURE__ */ jsxs("div", { className: "relative", children: [
83
+ (isFull || isPartial) && /* @__PURE__ */ jsxs(Fragment, { children: [
84
+ /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: true, className: emptyColor, size }),
85
+ /* @__PURE__ */ jsx(
86
+ "div",
87
+ {
88
+ className: "absolute left-0 top-0 overflow-hidden",
89
+ style: {
90
+ width: isFull ? "100%" : `${fillPercentage}%`
91
+ },
92
+ children: /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: true, className: filledColor, size })
93
+ }
94
+ )
95
+ ] }),
96
+ isEmpty && /* @__PURE__ */ jsx(Icon_default, { name: "star", fill: true, className: emptyColor, size })
97
+ ] })
71
98
  ] }, starIndex);
72
99
  };
73
100
  return /* @__PURE__ */ jsx("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: createRange(stars).map(renderStar) });
@@ -5210,18 +5210,28 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5210
5210
  allowHalf = false,
5211
5211
  classNames,
5212
5212
  filledColor = "text-primary-main",
5213
- emptyColor = "text-neutral-light"
5213
+ emptyColor = "text-neutral-soft"
5214
5214
  } = { ...props, ...variantProps };
5215
5215
  const slots = (0, import_react.useMemo)(() => starRatingStyle({ ...variantProps }), [variantProps]);
5216
5216
  const [hoverRating, setHoverRating] = (0, import_react.useState)(0);
5217
5217
  const handleStarClick = (starIndex, isHalf = false) => {
5218
5218
  if (readOnly || !onChange) return;
5219
- const newRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
5219
+ let newRating;
5220
+ if (allowHalf && isHalf) {
5221
+ newRating = starIndex - 0.5;
5222
+ } else {
5223
+ newRating = starIndex;
5224
+ }
5220
5225
  onChange(newRating);
5221
5226
  };
5222
5227
  const handleStarHover = (starIndex, isHalf = false) => {
5223
5228
  if (readOnly) return;
5224
- const newHoverRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
5229
+ let newHoverRating;
5230
+ if (allowHalf && isHalf) {
5231
+ newHoverRating = starIndex - 0.5;
5232
+ } else {
5233
+ newHoverRating = starIndex;
5234
+ }
5225
5235
  setHoverRating(newHoverRating);
5226
5236
  };
5227
5237
  const handleMouseLeave = () => {
@@ -5234,7 +5244,9 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5234
5244
  const renderStar = (starIndex) => {
5235
5245
  const currentRating = readOnly ? value : hoverRating || value;
5236
5246
  const isFull = currentRating >= starIndex;
5237
- const isHalf = allowHalf && currentRating >= starIndex - 0.5 && currentRating < starIndex;
5247
+ const isEmpty = currentRating < starIndex - 1;
5248
+ const isPartial = !isFull && !isEmpty;
5249
+ const fillPercentage = isPartial ? (currentRating - (starIndex - 1)) * 100 : 0;
5238
5250
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.starWrapper({ class: classNames == null ? void 0 : classNames.starWrapper }), children: [
5239
5251
  !readOnly && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
5240
5252
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -5254,7 +5266,22 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5254
5266
  }
5255
5267
  )
5256
5268
  ] }),
5257
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: isHalf ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "halfStar", className: filledColor, size }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: isFull, className: isFull ? filledColor : emptyColor, size }) })
5269
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "relative", children: [
5270
+ (isFull || isPartial) && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
5271
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size }),
5272
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
5273
+ "div",
5274
+ {
5275
+ className: "absolute left-0 top-0 overflow-hidden",
5276
+ style: {
5277
+ width: isFull ? "100%" : `${fillPercentage}%`
5278
+ },
5279
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: filledColor, size })
5280
+ }
5281
+ )
5282
+ ] }),
5283
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size })
5284
+ ] })
5258
5285
  ] }, starIndex);
5259
5286
  };
5260
5287
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: createRange(stars).map(renderStar) });
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-OLQOLLKG.mjs";
3
3
  import {
4
4
  starRating_default
5
- } from "../../chunk-INRA6IED.mjs";
5
+ } from "../../chunk-XTS6WKFD.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-R7KUEH3N.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
@@ -5209,18 +5209,28 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5209
5209
  allowHalf = false,
5210
5210
  classNames,
5211
5211
  filledColor = "text-primary-main",
5212
- emptyColor = "text-neutral-light"
5212
+ emptyColor = "text-neutral-soft"
5213
5213
  } = { ...props, ...variantProps };
5214
5214
  const slots = (0, import_react.useMemo)(() => starRatingStyle({ ...variantProps }), [variantProps]);
5215
5215
  const [hoverRating, setHoverRating] = (0, import_react.useState)(0);
5216
5216
  const handleStarClick = (starIndex, isHalf = false) => {
5217
5217
  if (readOnly || !onChange) return;
5218
- const newRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
5218
+ let newRating;
5219
+ if (allowHalf && isHalf) {
5220
+ newRating = starIndex - 0.5;
5221
+ } else {
5222
+ newRating = starIndex;
5223
+ }
5219
5224
  onChange(newRating);
5220
5225
  };
5221
5226
  const handleStarHover = (starIndex, isHalf = false) => {
5222
5227
  if (readOnly) return;
5223
- const newHoverRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
5228
+ let newHoverRating;
5229
+ if (allowHalf && isHalf) {
5230
+ newHoverRating = starIndex - 0.5;
5231
+ } else {
5232
+ newHoverRating = starIndex;
5233
+ }
5224
5234
  setHoverRating(newHoverRating);
5225
5235
  };
5226
5236
  const handleMouseLeave = () => {
@@ -5233,7 +5243,9 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5233
5243
  const renderStar = (starIndex) => {
5234
5244
  const currentRating = readOnly ? value : hoverRating || value;
5235
5245
  const isFull = currentRating >= starIndex;
5236
- const isHalf = allowHalf && currentRating >= starIndex - 0.5 && currentRating < starIndex;
5246
+ const isEmpty = currentRating < starIndex - 1;
5247
+ const isPartial = !isFull && !isEmpty;
5248
+ const fillPercentage = isPartial ? (currentRating - (starIndex - 1)) * 100 : 0;
5237
5249
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: slots.starWrapper({ class: classNames == null ? void 0 : classNames.starWrapper }), children: [
5238
5250
  !readOnly && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
5239
5251
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -5253,7 +5265,22 @@ var StarRating = (0, import_react.forwardRef)((originalProps, ref) => {
5253
5265
  }
5254
5266
  )
5255
5267
  ] }),
5256
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children: isHalf ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "halfStar", className: filledColor, size }) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: isFull, className: isFull ? filledColor : emptyColor, size }) })
5268
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: "relative", children: [
5269
+ (isFull || isPartial) && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
5270
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size }),
5271
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
5272
+ "div",
5273
+ {
5274
+ className: "absolute left-0 top-0 overflow-hidden",
5275
+ style: {
5276
+ width: isFull ? "100%" : `${fillPercentage}%`
5277
+ },
5278
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: filledColor, size })
5279
+ }
5280
+ )
5281
+ ] }),
5282
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size })
5283
+ ] })
5257
5284
  ] }, starIndex);
5258
5285
  };
5259
5286
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: createRange(stars).map(renderStar) });
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  starRatingStyle,
4
4
  starRating_default
5
- } from "../../chunk-INRA6IED.mjs";
5
+ } from "../../chunk-XTS6WKFD.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-R7KUEH3N.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
package/dist/index.d.mts CHANGED
@@ -40,10 +40,10 @@ export { default as RadarChart } from './components/charts/radarChart.mjs';
40
40
  export { default as Progress } from './components/progress/progress.mjs';
41
41
  export { default as StarRating, StarRatingProps } from './components/starRating/starRating.mjs';
42
42
  export { tv } from './utils/tailwind-variants.mjs';
43
+ export { Size } from './utils/types.mjs';
43
44
  export { deepnoidUi } from '@deepnoid/tailwind-config';
44
45
  export { VariantProps } from 'tailwind-variants';
45
46
  import 'react';
46
- import './utils/types.mjs';
47
47
  import 'react/jsx-runtime';
48
48
  import 'tailwind-merge';
49
49
  import './components/icon/template.mjs';
package/dist/index.d.ts CHANGED
@@ -40,10 +40,10 @@ export { default as RadarChart } from './components/charts/radarChart.js';
40
40
  export { default as Progress } from './components/progress/progress.js';
41
41
  export { default as StarRating, StarRatingProps } from './components/starRating/starRating.js';
42
42
  export { tv } from './utils/tailwind-variants.js';
43
+ export { Size } from './utils/types.js';
43
44
  export { deepnoidUi } from '@deepnoid/tailwind-config';
44
45
  export { VariantProps } from 'tailwind-variants';
45
46
  import 'react';
46
- import './utils/types.js';
47
47
  import 'react/jsx-runtime';
48
48
  import 'tailwind-merge';
49
49
  import './components/icon/template.js';
package/dist/index.js CHANGED
@@ -13210,18 +13210,28 @@ var StarRating = (0, import_react42.forwardRef)((originalProps, ref) => {
13210
13210
  allowHalf = false,
13211
13211
  classNames,
13212
13212
  filledColor = "text-primary-main",
13213
- emptyColor = "text-neutral-light"
13213
+ emptyColor = "text-neutral-soft"
13214
13214
  } = { ...props, ...variantProps };
13215
13215
  const slots = (0, import_react42.useMemo)(() => starRatingStyle({ ...variantProps }), [variantProps]);
13216
13216
  const [hoverRating, setHoverRating] = (0, import_react42.useState)(0);
13217
13217
  const handleStarClick = (starIndex, isHalf = false) => {
13218
13218
  if (readOnly || !onChange) return;
13219
- const newRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
13219
+ let newRating;
13220
+ if (allowHalf && isHalf) {
13221
+ newRating = starIndex - 0.5;
13222
+ } else {
13223
+ newRating = starIndex;
13224
+ }
13220
13225
  onChange(newRating);
13221
13226
  };
13222
13227
  const handleStarHover = (starIndex, isHalf = false) => {
13223
13228
  if (readOnly) return;
13224
- const newHoverRating = allowHalf && isHalf ? starIndex - 0.5 : starIndex;
13229
+ let newHoverRating;
13230
+ if (allowHalf && isHalf) {
13231
+ newHoverRating = starIndex - 0.5;
13232
+ } else {
13233
+ newHoverRating = starIndex;
13234
+ }
13225
13235
  setHoverRating(newHoverRating);
13226
13236
  };
13227
13237
  const handleMouseLeave = () => {
@@ -13234,7 +13244,9 @@ var StarRating = (0, import_react42.forwardRef)((originalProps, ref) => {
13234
13244
  const renderStar = (starIndex) => {
13235
13245
  const currentRating = readOnly ? value : hoverRating || value;
13236
13246
  const isFull = currentRating >= starIndex;
13237
- const isHalf = allowHalf && currentRating >= starIndex - 0.5 && currentRating < starIndex;
13247
+ const isEmpty = currentRating < starIndex - 1;
13248
+ const isPartial = !isFull && !isEmpty;
13249
+ const fillPercentage = isPartial ? (currentRating - (starIndex - 1)) * 100 : 0;
13238
13250
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: slots.starWrapper({ class: classNames == null ? void 0 : classNames.starWrapper }), children: [
13239
13251
  !readOnly && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
13240
13252
  /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
@@ -13254,7 +13266,22 @@ var StarRating = (0, import_react42.forwardRef)((originalProps, ref) => {
13254
13266
  }
13255
13267
  )
13256
13268
  ] }),
13257
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { children: isHalf ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { name: "halfStar", className: filledColor, size }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { name: "star", fill: isFull, className: isFull ? filledColor : emptyColor, size }) })
13269
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "relative", children: [
13270
+ (isFull || isPartial) && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(import_jsx_runtime45.Fragment, { children: [
13271
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size }),
13272
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
13273
+ "div",
13274
+ {
13275
+ className: "absolute left-0 top-0 overflow-hidden",
13276
+ style: {
13277
+ width: isFull ? "100%" : `${fillPercentage}%`
13278
+ },
13279
+ children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { name: "star", fill: true, className: filledColor, size })
13280
+ }
13281
+ )
13282
+ ] }),
13283
+ isEmpty && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(Icon_default, { name: "star", fill: true, className: emptyColor, size })
13284
+ ] })
13258
13285
  ] }, starIndex);
13259
13286
  };
13260
13287
  return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), onMouseLeave: handleMouseLeave, children: createRange(stars).map(renderStar) });
package/dist/index.mjs CHANGED
@@ -1,18 +1,4 @@
1
1
  "use client";
2
- import "./chunk-HIE2YRGA.mjs";
3
- import {
4
- tooltip_default
5
- } from "./chunk-5KC3IFNR.mjs";
6
- import "./chunk-ZMOAFSYE.mjs";
7
- import "./chunk-WSIADHVC.mjs";
8
- import "./chunk-MBLZYQCN.mjs";
9
- import {
10
- tree_default
11
- } from "./chunk-WSBUOY2M.mjs";
12
- import "./chunk-RRAZM5D3.mjs";
13
- import {
14
- textarea_default
15
- } from "./chunk-3CRSSRCH.mjs";
16
2
  import "./chunk-LUWGOKLG.mjs";
17
3
  import {
18
4
  ToastProvider,
@@ -22,6 +8,20 @@ import "./chunk-ZOTHPHXA.mjs";
22
8
  import {
23
9
  toast_default
24
10
  } from "./chunk-6574ITBF.mjs";
11
+ import "./chunk-RRAZM5D3.mjs";
12
+ import {
13
+ textarea_default
14
+ } from "./chunk-3CRSSRCH.mjs";
15
+ import "./chunk-MBLZYQCN.mjs";
16
+ import {
17
+ tree_default
18
+ } from "./chunk-WSBUOY2M.mjs";
19
+ import "./chunk-HIE2YRGA.mjs";
20
+ import {
21
+ tooltip_default
22
+ } from "./chunk-5KC3IFNR.mjs";
23
+ import "./chunk-ZMOAFSYE.mjs";
24
+ import "./chunk-WSIADHVC.mjs";
25
25
  import "./chunk-DX3KXNP6.mjs";
26
26
  import {
27
27
  definition_table_default
@@ -40,7 +40,7 @@ import {
40
40
  import "./chunk-OLQOLLKG.mjs";
41
41
  import {
42
42
  starRating_default
43
- } from "./chunk-INRA6IED.mjs";
43
+ } from "./chunk-XTS6WKFD.mjs";
44
44
  import "./chunk-LVFI2NOH.mjs";
45
45
  import {
46
46
  switch_default
@@ -69,6 +69,10 @@ import {
69
69
  select_default
70
70
  } from "./chunk-5G6CCE55.mjs";
71
71
  import "./chunk-FWFEKWWD.mjs";
72
+ import "./chunk-DJOG6Z35.mjs";
73
+ import {
74
+ modal_default
75
+ } from "./chunk-SCQCMQDP.mjs";
72
76
  import "./chunk-7MVEAQ7Z.mjs";
73
77
  import {
74
78
  list_default
@@ -76,18 +80,14 @@ import {
76
80
  import {
77
81
  listItem_default
78
82
  } from "./chunk-HKLVFMYQ.mjs";
79
- import "./chunk-DJOG6Z35.mjs";
83
+ import "./chunk-MGEWSREV.mjs";
80
84
  import {
81
- modal_default
82
- } from "./chunk-SCQCMQDP.mjs";
85
+ chip_default
86
+ } from "./chunk-2B3HDC26.mjs";
83
87
  import "./chunk-32GA3YW4.mjs";
84
88
  import {
85
89
  drawer_default
86
90
  } from "./chunk-45Y7ANPK.mjs";
87
- import "./chunk-MGEWSREV.mjs";
88
- import {
89
- chip_default
90
- } from "./chunk-2B3HDC26.mjs";
91
91
  import "./chunk-RLXOHILK.mjs";
92
92
  import {
93
93
  fileUpload_default
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnoid/ui",
3
- "version": "0.1.163",
3
+ "version": "0.1.165",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "exports": {