@deepnoid/ui 0.1.223 → 1.0.0
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.
- package/.turbo/turbo-build.log +266 -251
- package/dist/{chunk-NTNF5T5I.mjs → chunk-23KGTXH2.mjs} +1 -1
- package/dist/{chunk-SX3JDFTH.mjs → chunk-2K3HZMC6.mjs} +9 -9
- package/dist/{chunk-ZFC5O2V3.mjs → chunk-3JKORA4G.mjs} +1 -1
- package/dist/{chunk-HFOHFBZH.mjs → chunk-3N442F6I.mjs} +2 -2
- package/dist/{chunk-WA7CSZQ3.mjs → chunk-3QZPVRM5.mjs} +1 -1
- package/dist/{chunk-BH3I4LIZ.mjs → chunk-4V5D237Z.mjs} +1 -1
- package/dist/chunk-63JRWMWN.mjs +215 -0
- package/dist/{chunk-GDHLN463.mjs → chunk-6CNPC722.mjs} +2 -2
- package/dist/{chunk-4IEHQI5B.mjs → chunk-7JCCPTBU.mjs} +3 -3
- package/dist/chunk-A6UUVHC6.mjs +38 -0
- package/dist/{chunk-P5L4YI54.mjs → chunk-AOU4QX7H.mjs} +106 -40
- package/dist/{chunk-U7SYKG2C.mjs → chunk-BBCJTXGU.mjs} +1 -1
- package/dist/{chunk-4S4AAZFC.mjs → chunk-CBFUVFGI.mjs} +4 -4
- package/dist/{chunk-AGE57VDD.mjs → chunk-CBIV6KFQ.mjs} +22 -25
- package/dist/{chunk-KWHCUAFU.mjs → chunk-CGJBY53Q.mjs} +3 -3
- package/dist/{chunk-XZYQFBCT.mjs → chunk-DI7QXTYZ.mjs} +1 -1
- package/dist/{chunk-U4DJHAM5.mjs → chunk-DPWUIAVC.mjs} +413 -149
- package/dist/chunk-E4VJDQD5.mjs +142 -0
- package/dist/{chunk-TE5JU3WA.mjs → chunk-EAWNUQDB.mjs} +90 -133
- package/dist/{chunk-OXJX5G3O.mjs → chunk-EIVSXVP5.mjs} +2 -2
- package/dist/{chunk-JGG3ZUNG.mjs → chunk-GSOTTSR4.mjs} +1 -1
- package/dist/{chunk-NGRGAY42.mjs → chunk-HKF5BNPX.mjs} +1 -1
- package/dist/{chunk-2URJGQFC.mjs → chunk-JUKILR6X.mjs} +2 -2
- package/dist/{chunk-DW3BX4M2.mjs → chunk-KPOXK7NN.mjs} +1 -1
- package/dist/{chunk-5KC3IFNR.mjs → chunk-LJSGQO4B.mjs} +1 -1
- package/dist/{chunk-LH6Z7SDZ.mjs → chunk-M7V5YMM2.mjs} +1 -1
- package/dist/{chunk-44FMPRHV.mjs → chunk-MAGZDGUW.mjs} +67 -38
- package/dist/chunk-MV2WCFK7.mjs +1 -0
- package/dist/{chunk-U52FBRJ3.mjs → chunk-NJWXYTBQ.mjs} +1 -1
- package/dist/{chunk-3DCUMRYP.mjs → chunk-NPQBJO6G.mjs} +11 -39
- package/dist/chunk-OK34FKBQ.mjs +224 -0
- package/dist/{chunk-OC5C42CB.mjs → chunk-OPGGL4CG.mjs} +3 -3
- package/dist/{chunk-R2XKPG4K.mjs → chunk-OPSMMRA2.mjs} +1 -1
- package/dist/{chunk-4X35QQTI.mjs → chunk-P4GNXDMO.mjs} +1 -1
- package/dist/{chunk-MTT24BLX.mjs → chunk-PCWANNZ4.mjs} +3 -3
- package/dist/{chunk-V2YH54JQ.mjs → chunk-PXUYPS6M.mjs} +12 -2
- package/dist/chunk-RFHWRBAB.mjs +105 -0
- package/dist/{chunk-EJ4GDC6K.mjs → chunk-S2T4GHJA.mjs} +27 -27
- package/dist/{chunk-5VTYO3RF.mjs → chunk-TBI5O3OL.mjs} +1 -1
- package/dist/{chunk-FZYZSMSS.mjs → chunk-TBRF36RK.mjs} +1 -1
- package/dist/{chunk-Q3KBMVJS.mjs → chunk-TEERNFIT.mjs} +77 -46
- package/dist/{chunk-RH3AHG52.mjs → chunk-V5XX3CGL.mjs} +1 -1
- package/dist/{chunk-6WD32ERF.mjs → chunk-VO2ZIGIK.mjs} +1 -1
- package/dist/{chunk-H6ZQDMYU.mjs → chunk-VOOEH6OJ.mjs} +24 -38
- package/dist/{chunk-ACZ3DQVT.mjs → chunk-VUO5J2OK.mjs} +16 -15
- package/dist/{chunk-RY5VVXQ4.mjs → chunk-WYTAGN2P.mjs} +1 -1
- package/dist/{chunk-NDNIAALB.mjs → chunk-YBDQSEPV.mjs} +17 -18
- package/dist/chunk-Z4NO7SMY.mjs +460 -0
- package/dist/components/accordion/accordion.js +366 -4
- package/dist/components/accordion/accordion.mjs +2 -2
- package/dist/components/accordion/accordionItem.js +366 -4
- package/dist/components/accordion/accordionItem.mjs +2 -2
- package/dist/components/accordion/index.js +366 -4
- package/dist/components/accordion/index.mjs +3 -3
- package/dist/components/avatar/avatar.js +472 -44
- package/dist/components/avatar/avatar.mjs +3 -3
- package/dist/components/avatar/index.js +472 -44
- package/dist/components/avatar/index.mjs +3 -3
- package/dist/components/backdrop/backdrop.js +366 -4
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.js +366 -4
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +951 -74
- package/dist/components/breadcrumb/breadcrumb.mjs +10 -9
- package/dist/components/breadcrumb/index.js +951 -74
- package/dist/components/breadcrumb/index.mjs +10 -9
- package/dist/components/button/button-group.js +366 -4
- package/dist/components/button/button-group.mjs +2 -2
- package/dist/components/button/button.d.mts +82 -119
- package/dist/components/button/button.d.ts +82 -119
- package/dist/components/button/button.js +966 -355
- package/dist/components/button/button.mjs +6 -5
- package/dist/components/button/button.style.d.mts +89 -0
- package/dist/components/button/button.style.d.ts +89 -0
- package/dist/components/button/button.style.js +1172 -0
- package/dist/components/button/button.style.mjs +9 -0
- package/dist/components/button/icon-button.d.mts +45 -46
- package/dist/components/button/icon-button.d.ts +45 -46
- package/dist/components/button/icon-button.js +1125 -527
- package/dist/components/button/icon-button.mjs +6 -5
- package/dist/components/button/index.js +1154 -830
- package/dist/components/button/index.mjs +9 -8
- package/dist/components/button/text-button.d.mts +59 -39
- package/dist/components/button/text-button.d.ts +59 -39
- package/dist/components/button/text-button.js +831 -21
- package/dist/components/button/text-button.mjs +3 -2
- package/dist/components/charts/areaChart.js +366 -4
- package/dist/components/charts/areaChart.mjs +2 -2
- package/dist/components/charts/barChart.js +366 -4
- package/dist/components/charts/barChart.mjs +2 -2
- package/dist/components/charts/circularProgress.js +366 -4
- package/dist/components/charts/circularProgress.mjs +2 -2
- package/dist/components/charts/index.js +366 -4
- package/dist/components/charts/index.mjs +6 -6
- package/dist/components/charts/radarChart.js +366 -4
- package/dist/components/charts/radarChart.mjs +2 -2
- package/dist/components/charts/simpleBarChart.js +366 -4
- package/dist/components/charts/simpleBarChart.mjs +2 -2
- package/dist/components/checkbox/checkbox.js +376 -42
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.js +376 -42
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.d.mts +32 -0
- package/dist/components/chip/chip.d.ts +32 -0
- package/dist/components/chip/chip.js +496 -57
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +496 -57
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/drawer/drawer.js +366 -4
- package/dist/components/drawer/drawer.mjs +2 -2
- package/dist/components/drawer/index.js +366 -4
- package/dist/components/drawer/index.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.js +1014 -402
- package/dist/components/fileUpload/fileUpload.mjs +12 -11
- package/dist/components/fileUpload/index.js +1014 -402
- package/dist/components/fileUpload/index.mjs +12 -11
- package/dist/components/icon/Icon.d.mts +23 -10
- package/dist/components/icon/Icon.d.ts +23 -10
- package/dist/components/icon/Icon.js +120 -53
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +120 -53
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +5 -2
- package/dist/components/icon/template.d.ts +5 -2
- package/dist/components/icon/template.js +106 -40
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +511 -82
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +511 -82
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +486 -57
- package/dist/components/list/index.mjs +6 -6
- package/dist/components/list/list.js +366 -4
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +486 -57
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/GlobalModalProvider.d.mts +2 -0
- package/dist/components/modal/GlobalModalProvider.d.ts +2 -0
- package/dist/components/modal/GlobalModalProvider.js +1028 -416
- package/dist/components/modal/GlobalModalProvider.mjs +12 -11
- package/dist/components/modal/index.d.mts +2 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/index.js +1028 -416
- package/dist/components/modal/index.mjs +13 -12
- package/dist/components/modal/modal.d.mts +101 -29
- package/dist/components/modal/modal.d.ts +101 -29
- package/dist/components/modal/modal.js +1028 -416
- package/dist/components/modal/modal.mjs +11 -10
- package/dist/components/modal/useGlobalModal.d.mts +2 -0
- package/dist/components/modal/useGlobalModal.d.ts +2 -0
- package/dist/components/modal/useGlobalModal.mjs +13 -12
- package/dist/components/pagination/index.js +598 -212
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +598 -212
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/picker/datePicker.js +1029 -705
- package/dist/components/picker/datePicker.mjs +12 -11
- package/dist/components/picker/day.js +366 -4
- package/dist/components/picker/day.mjs +2 -2
- package/dist/components/picker/index.js +1027 -703
- package/dist/components/picker/index.mjs +15 -14
- package/dist/components/picker/timePicker/Panel.js +831 -21
- package/dist/components/picker/timePicker/Panel.mjs +10 -9
- package/dist/components/picker/timePicker/index.js +976 -99
- package/dist/components/picker/timePicker/index.mjs +12 -11
- package/dist/components/progress/index.js +381 -18
- package/dist/components/progress/index.mjs +2 -2
- package/dist/components/progress/progress.d.mts +21 -18
- package/dist/components/progress/progress.d.ts +21 -18
- package/dist/components/progress/progress.js +381 -18
- package/dist/components/progress/progress.mjs +2 -2
- package/dist/components/radio/index.js +389 -41
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.d.mts +33 -48
- package/dist/components/radio/radio.d.ts +33 -48
- package/dist/components/radio/radio.js +389 -41
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +819 -221
- package/dist/components/select/index.mjs +10 -9
- package/dist/components/select/select.js +819 -221
- package/dist/components/select/select.mjs +10 -9
- package/dist/components/slider/index.d.mts +4 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +955 -0
- package/dist/components/slider/index.mjs +11 -0
- package/dist/components/slider/slider.d.mts +158 -0
- package/dist/components/slider/slider.d.ts +158 -0
- package/dist/components/slider/slider.js +949 -0
- package/dist/components/slider/slider.mjs +10 -0
- package/dist/components/starRating/index.js +486 -57
- package/dist/components/starRating/index.mjs +4 -4
- package/dist/components/starRating/starRating.js +486 -57
- package/dist/components/starRating/starRating.mjs +4 -4
- package/dist/components/switch/index.js +22 -25
- package/dist/components/switch/index.mjs +1 -1
- package/dist/components/switch/switch.d.mts +0 -18
- package/dist/components/switch/switch.d.ts +0 -18
- package/dist/components/switch/switch.js +22 -25
- package/dist/components/switch/switch.mjs +1 -1
- package/dist/components/table/definition-table.js +366 -4
- package/dist/components/table/definition-table.mjs +2 -2
- package/dist/components/table/form-table.js +366 -4
- package/dist/components/table/form-table.mjs +1 -1
- package/dist/components/table/index.js +679 -291
- package/dist/components/table/index.mjs +10 -10
- package/dist/components/table/table-body.js +679 -291
- package/dist/components/table/table-body.mjs +7 -7
- package/dist/components/table/table-head.js +679 -291
- package/dist/components/table/table-head.mjs +7 -7
- package/dist/components/table/table.d.mts +8 -29
- package/dist/components/table/table.d.ts +8 -29
- package/dist/components/table/table.js +679 -291
- package/dist/components/table/table.mjs +7 -7
- package/dist/components/tabs/index.js +366 -4
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.js +366 -4
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/textarea/index.js +67 -38
- package/dist/components/textarea/index.mjs +1 -1
- package/dist/components/textarea/textarea.d.mts +21 -0
- package/dist/components/textarea/textarea.d.ts +21 -0
- package/dist/components/textarea/textarea.js +67 -38
- package/dist/components/textarea/textarea.mjs +1 -1
- package/dist/components/timePicker/calendar.js +486 -57
- package/dist/components/timePicker/calendar.mjs +3 -3
- package/dist/components/toast/index.js +486 -57
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +486 -57
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +486 -57
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.js +366 -4
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.js +366 -4
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +486 -57
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.js +486 -57
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1705 -1281
- package/dist/index.mjs +76 -70
- package/dist/utils/tailwind-variants.js +366 -4
- package/dist/utils/tailwind-variants.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AID2NLT.mjs +0 -37
- package/dist/chunk-BBRO35V3.mjs +0 -385
- package/dist/chunk-EVJ46M3U.mjs +0 -141
- package/dist/chunk-SKX5QPUD.mjs +0 -482
|
@@ -183,6 +183,352 @@ var import_tailwind_variants = require("tailwind-variants");
|
|
|
183
183
|
// ../tailwind-config/src/plugin.ts
|
|
184
184
|
var import_plugin = __toESM(require_plugin());
|
|
185
185
|
|
|
186
|
+
// ../tailwind-config/src/colors/primitive-palette.ts
|
|
187
|
+
var primitivePalette = {
|
|
188
|
+
bg: {
|
|
189
|
+
"01": "#040811",
|
|
190
|
+
"02": "#040811",
|
|
191
|
+
"03": "#14161E",
|
|
192
|
+
"04": "#070414",
|
|
193
|
+
"05": "#070C12",
|
|
194
|
+
"06": "#202123"
|
|
195
|
+
},
|
|
196
|
+
gray: {
|
|
197
|
+
cool: {
|
|
198
|
+
50: "#F7F7F8",
|
|
199
|
+
100: "#EEEEF0",
|
|
200
|
+
200: "#D8D9DF",
|
|
201
|
+
300: "#B6B8C3",
|
|
202
|
+
400: "#999CA9",
|
|
203
|
+
500: "#717486",
|
|
204
|
+
600: "#5B5E6E",
|
|
205
|
+
700: "#4A4C5A",
|
|
206
|
+
800: "#40424C",
|
|
207
|
+
900: "#36373F",
|
|
208
|
+
950: "#25252C"
|
|
209
|
+
},
|
|
210
|
+
warm: {
|
|
211
|
+
50: "#F6F6F6",
|
|
212
|
+
100: "#E7E7E7",
|
|
213
|
+
200: "#D1D1D1",
|
|
214
|
+
300: "#B0B0B0",
|
|
215
|
+
400: "#888888",
|
|
216
|
+
500: "#6D6D6D",
|
|
217
|
+
600: "#5D5D5D",
|
|
218
|
+
700: "#525252",
|
|
219
|
+
800: "#454545",
|
|
220
|
+
900: "#3D3D3D",
|
|
221
|
+
950: "#25252C"
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
opacity: {
|
|
225
|
+
white: {
|
|
226
|
+
"0": "#FFFFFF, 0",
|
|
227
|
+
5: "#FFFFFF, 5",
|
|
228
|
+
10: "#FFFFFF, 10",
|
|
229
|
+
20: "#FFFFFF, 20",
|
|
230
|
+
30: "#FFFFFF, 30",
|
|
231
|
+
40: "#FFFFFF, 40",
|
|
232
|
+
50: "#FFFFFF, 50",
|
|
233
|
+
60: "#FFFFFF, 60",
|
|
234
|
+
70: "#FFFFFF, 70",
|
|
235
|
+
80: "#FFFFFF, 80",
|
|
236
|
+
90: "#FFFFFF, 90"
|
|
237
|
+
},
|
|
238
|
+
black: {
|
|
239
|
+
"0": "#000000, 0",
|
|
240
|
+
5: "#000000, 5",
|
|
241
|
+
10: "#000000, 10",
|
|
242
|
+
20: "#000000, 20",
|
|
243
|
+
30: "#000000, 30",
|
|
244
|
+
40: "#000000, 40",
|
|
245
|
+
50: "#000000, 50",
|
|
246
|
+
60: "#000000, 60",
|
|
247
|
+
70: "#000000, 70",
|
|
248
|
+
80: "#000000, 80",
|
|
249
|
+
90: "#000000, 90"
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
red: {
|
|
253
|
+
50: "#FEF2F2",
|
|
254
|
+
100: "#FEE9E9",
|
|
255
|
+
200: "#FCCFD2",
|
|
256
|
+
300: "#F9A8AC",
|
|
257
|
+
400: "#F57780",
|
|
258
|
+
500: "#EC4757",
|
|
259
|
+
600: "#D82640",
|
|
260
|
+
700: "#B71934",
|
|
261
|
+
800: "#991832",
|
|
262
|
+
900: "#831831",
|
|
263
|
+
950: "#831831"
|
|
264
|
+
},
|
|
265
|
+
rose: {
|
|
266
|
+
50: "#FDF4F6",
|
|
267
|
+
100: "#F9E9EC",
|
|
268
|
+
200: "#F4D8DD",
|
|
269
|
+
300: "#E9B8C2",
|
|
270
|
+
400: "#DF96A6",
|
|
271
|
+
500: "#CB6881",
|
|
272
|
+
600: "#B54969",
|
|
273
|
+
700: "#973957",
|
|
274
|
+
800: "#7F324D",
|
|
275
|
+
900: "#6A2740",
|
|
276
|
+
950: "#3C1523"
|
|
277
|
+
},
|
|
278
|
+
hotPink: {
|
|
279
|
+
50: "#FDF2F7",
|
|
280
|
+
100: "#FDE6F0",
|
|
281
|
+
200: "#FCCEE3",
|
|
282
|
+
300: "#FBA6CA",
|
|
283
|
+
400: "#F76FA6",
|
|
284
|
+
500: "#F04485",
|
|
285
|
+
600: "#E2326C",
|
|
286
|
+
700: "#C21448",
|
|
287
|
+
800: "#A1133C",
|
|
288
|
+
900: "#861535",
|
|
289
|
+
950: "#52051B"
|
|
290
|
+
},
|
|
291
|
+
sepia: {
|
|
292
|
+
50: "#FCF5F4",
|
|
293
|
+
100: "#FAE9E9",
|
|
294
|
+
200: "#F5D6D7",
|
|
295
|
+
300: "#EDB4B6",
|
|
296
|
+
400: "#E28A8F",
|
|
297
|
+
500: "#D45F69",
|
|
298
|
+
600: "#BE4051",
|
|
299
|
+
700: "#9F3142",
|
|
300
|
+
800: "#862B3C",
|
|
301
|
+
900: "#6B2433",
|
|
302
|
+
950: "#320E15"
|
|
303
|
+
},
|
|
304
|
+
orange: {
|
|
305
|
+
50: "#FEF7EE",
|
|
306
|
+
100: "#FDEDD7",
|
|
307
|
+
200: "#F9D8AF",
|
|
308
|
+
300: "#F5BB7C",
|
|
309
|
+
400: "#F09447",
|
|
310
|
+
500: "#EC7723",
|
|
311
|
+
600: "#E15F19",
|
|
312
|
+
700: "#E15F19",
|
|
313
|
+
800: "#92391A",
|
|
314
|
+
900: "#763118",
|
|
315
|
+
950: "#40160A"
|
|
316
|
+
},
|
|
317
|
+
yellow: {
|
|
318
|
+
50: "#F9F2E5",
|
|
319
|
+
100: "#F5E6BC",
|
|
320
|
+
200: "#FFE9BC",
|
|
321
|
+
300: "#FFD174",
|
|
322
|
+
400: "#F8BE4A",
|
|
323
|
+
500: "#EAAD30",
|
|
324
|
+
600: "#D77908",
|
|
325
|
+
700: "#B2550B",
|
|
326
|
+
800: "#91420F",
|
|
327
|
+
900: "#773610",
|
|
328
|
+
950: "#441B04"
|
|
329
|
+
},
|
|
330
|
+
tree: {
|
|
331
|
+
50: "#F5F3F1",
|
|
332
|
+
100: "#E5E1DC",
|
|
333
|
+
200: "#CCC5BC",
|
|
334
|
+
300: "#AFA395",
|
|
335
|
+
400: "#978878",
|
|
336
|
+
500: "#907E6F",
|
|
337
|
+
600: "#756459",
|
|
338
|
+
700: "#5F4F49",
|
|
339
|
+
800: "#524541",
|
|
340
|
+
900: "#483D3B",
|
|
341
|
+
950: "#282120"
|
|
342
|
+
},
|
|
343
|
+
brown: {
|
|
344
|
+
50: "#F6F3F0",
|
|
345
|
+
100: "#F4EDEC",
|
|
346
|
+
200: "#EBDFDD",
|
|
347
|
+
300: "#DCC9C5",
|
|
348
|
+
400: "#C6A9A3",
|
|
349
|
+
500: "#B08983",
|
|
350
|
+
600: "#A27E77",
|
|
351
|
+
700: "#7F5D56",
|
|
352
|
+
800: "#6A4F4A",
|
|
353
|
+
900: "#5B4541",
|
|
354
|
+
950: "#2C1E1C"
|
|
355
|
+
},
|
|
356
|
+
lime: {
|
|
357
|
+
50: "#F7FFE5",
|
|
358
|
+
100: "#ECFFC7",
|
|
359
|
+
200: "#D9FF95",
|
|
360
|
+
300: "#BDFE58",
|
|
361
|
+
400: "#A1F524",
|
|
362
|
+
500: "#82DC06",
|
|
363
|
+
600: "#63B000",
|
|
364
|
+
700: "#4B8506",
|
|
365
|
+
800: "#3E690B",
|
|
366
|
+
900: "#34580F",
|
|
367
|
+
950: "#193102"
|
|
368
|
+
},
|
|
369
|
+
green: {
|
|
370
|
+
50: "#E7F3EB",
|
|
371
|
+
100: "#DFF9EA",
|
|
372
|
+
200: "#CEECDA",
|
|
373
|
+
300: "#9CD4B3",
|
|
374
|
+
400: "#6EC092",
|
|
375
|
+
500: "#3FA46B",
|
|
376
|
+
600: "#209754",
|
|
377
|
+
700: "#1E7745",
|
|
378
|
+
800: "#1D5E3A",
|
|
379
|
+
900: "#194E32",
|
|
380
|
+
950: "#082B19"
|
|
381
|
+
},
|
|
382
|
+
timberGreen: {
|
|
383
|
+
50: "#F1FCF5",
|
|
384
|
+
100: "#DFF9EA",
|
|
385
|
+
200: "#B5DACD",
|
|
386
|
+
300: "#8ABFAF",
|
|
387
|
+
400: "#60A18F",
|
|
388
|
+
500: "#468675",
|
|
389
|
+
600: "#366B5F",
|
|
390
|
+
700: "#2E574D",
|
|
391
|
+
800: "#2A4641",
|
|
392
|
+
900: "#1D2F2B",
|
|
393
|
+
950: "#11221E"
|
|
394
|
+
},
|
|
395
|
+
teal: {
|
|
396
|
+
50: "#E2F1F0",
|
|
397
|
+
100: "#C9EBE8",
|
|
398
|
+
200: "#C7E8E5",
|
|
399
|
+
300: "#8AD0D0",
|
|
400
|
+
400: "#67C4C4",
|
|
401
|
+
500: "#39A6A7",
|
|
402
|
+
600: "#258386",
|
|
403
|
+
700: "#1B666A",
|
|
404
|
+
800: "#1A5255",
|
|
405
|
+
900: "#1A4447",
|
|
406
|
+
950: "#09272A"
|
|
407
|
+
},
|
|
408
|
+
lightBlue: {
|
|
409
|
+
50: "#F2F8FD",
|
|
410
|
+
100: "#E3EFFB",
|
|
411
|
+
200: "#C1E0F6",
|
|
412
|
+
300: "#8BC6EE",
|
|
413
|
+
400: "#3DA2E1",
|
|
414
|
+
500: "#258FD2",
|
|
415
|
+
600: "#1771B2",
|
|
416
|
+
700: "#145A90",
|
|
417
|
+
800: "#154D77",
|
|
418
|
+
900: "#174163",
|
|
419
|
+
950: "#062C2D"
|
|
420
|
+
},
|
|
421
|
+
sea: {
|
|
422
|
+
50: "#F4F6FC",
|
|
423
|
+
100: "#E8EDF6",
|
|
424
|
+
200: "#CBD9EB",
|
|
425
|
+
300: "#9FB9DA",
|
|
426
|
+
400: "#6A93C5",
|
|
427
|
+
500: "#446FA4",
|
|
428
|
+
600: "#375D92",
|
|
429
|
+
700: "#2D4B77",
|
|
430
|
+
800: "#294163",
|
|
431
|
+
900: "#263954",
|
|
432
|
+
950: "#1A2537"
|
|
433
|
+
},
|
|
434
|
+
blue: {
|
|
435
|
+
50: "#F0F6FE",
|
|
436
|
+
100: "#DDEAFC",
|
|
437
|
+
200: "#C2DBFB",
|
|
438
|
+
300: "#98C5F8",
|
|
439
|
+
400: "#68A7F2",
|
|
440
|
+
500: "#377CEB",
|
|
441
|
+
600: "#2F68E1",
|
|
442
|
+
700: "#2754CE",
|
|
443
|
+
800: "#20429E",
|
|
444
|
+
900: "#1C2A52",
|
|
445
|
+
950: "#061132"
|
|
446
|
+
},
|
|
447
|
+
lightPurple: {
|
|
448
|
+
50: "#F6F5FD",
|
|
449
|
+
100: "#EEEDFA",
|
|
450
|
+
200: "#DDDCFD",
|
|
451
|
+
300: "#BDB9EC",
|
|
452
|
+
400: "#AAA1E4",
|
|
453
|
+
500: "#826CE3",
|
|
454
|
+
600: "#7250D7",
|
|
455
|
+
700: "#623DC4",
|
|
456
|
+
800: "#5133A4",
|
|
457
|
+
900: "#442B87",
|
|
458
|
+
950: "#291A5B"
|
|
459
|
+
}
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
// ../tailwind-config/src/colors/semantic-palette.ts
|
|
463
|
+
var semanticPalette = {
|
|
464
|
+
primary: {
|
|
465
|
+
soft: { light: primitivePalette.blue[100], dark: primitivePalette.blue[950] },
|
|
466
|
+
light: { light: primitivePalette.blue[200], dark: primitivePalette.blue[900] },
|
|
467
|
+
main: { light: primitivePalette.blue[600], dark: primitivePalette.blue[600] },
|
|
468
|
+
dark: { light: primitivePalette.blue[800], dark: primitivePalette.blue[500] },
|
|
469
|
+
strong: { light: primitivePalette.blue[900], dark: primitivePalette.blue[200] }
|
|
470
|
+
},
|
|
471
|
+
secondary: {
|
|
472
|
+
soft: { light: primitivePalette.lightPurple[100], dark: primitivePalette.lightPurple[950] },
|
|
473
|
+
light: { light: primitivePalette.lightPurple[200], dark: primitivePalette.lightPurple[900] },
|
|
474
|
+
main: { light: primitivePalette.lightPurple[600], dark: primitivePalette.lightPurple[500] },
|
|
475
|
+
dark: { light: primitivePalette.lightPurple[800], dark: primitivePalette.lightPurple[700] },
|
|
476
|
+
strong: { light: primitivePalette.lightPurple[950], dark: primitivePalette.lightPurple[950] }
|
|
477
|
+
},
|
|
478
|
+
body: {
|
|
479
|
+
foreground: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[50] },
|
|
480
|
+
background: { light: primitivePalette.gray.cool[50], dark: primitivePalette.bg["06"] }
|
|
481
|
+
},
|
|
482
|
+
neutral: {
|
|
483
|
+
soft: { light: primitivePalette.gray.cool[100], dark: primitivePalette.gray.cool[900] },
|
|
484
|
+
light: { light: primitivePalette.gray.cool[200], dark: primitivePalette.gray.cool[700] },
|
|
485
|
+
main: { light: primitivePalette.gray.cool[400], dark: primitivePalette.gray.cool[400] },
|
|
486
|
+
dark: { light: primitivePalette.gray.cool[500], dark: primitivePalette.gray.cool[300] },
|
|
487
|
+
strong: { light: primitivePalette.gray.cool[700], dark: primitivePalette.gray.cool[200] }
|
|
488
|
+
},
|
|
489
|
+
trans: {
|
|
490
|
+
soft: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] },
|
|
491
|
+
light: { light: primitivePalette.opacity.black[10], dark: primitivePalette.opacity.white[10] },
|
|
492
|
+
main: { light: primitivePalette.opacity.black[20], dark: primitivePalette.opacity.white[20] },
|
|
493
|
+
dark: { light: primitivePalette.opacity.black[30], dark: primitivePalette.opacity.white[30] },
|
|
494
|
+
strong: { light: primitivePalette.opacity.black[60], dark: primitivePalette.opacity.black[60] }
|
|
495
|
+
},
|
|
496
|
+
common: {
|
|
497
|
+
black: { light: primitivePalette.gray.cool[950], dark: primitivePalette.gray.cool[950] },
|
|
498
|
+
white: { light: primitivePalette.gray.cool[50], dark: primitivePalette.gray.cool[50] },
|
|
499
|
+
transparent: { light: primitivePalette.opacity.white["0"], dark: primitivePalette.opacity.black["0"] },
|
|
500
|
+
hover: { light: primitivePalette.opacity.black[5], dark: primitivePalette.opacity.white[5] }
|
|
501
|
+
},
|
|
502
|
+
info: {
|
|
503
|
+
soft: { light: primitivePalette.teal[50], dark: primitivePalette.teal[950] },
|
|
504
|
+
light: { light: primitivePalette.teal[100], dark: primitivePalette.teal[900] },
|
|
505
|
+
main: { light: primitivePalette.teal[500], dark: primitivePalette.teal[500] },
|
|
506
|
+
dark: { light: primitivePalette.teal[600], dark: primitivePalette.teal[700] },
|
|
507
|
+
strong: { light: "", dark: "" }
|
|
508
|
+
},
|
|
509
|
+
success: {
|
|
510
|
+
soft: { light: primitivePalette.green[50], dark: primitivePalette.green[950] },
|
|
511
|
+
light: { light: primitivePalette.green[200], dark: primitivePalette.green[900] },
|
|
512
|
+
main: { light: primitivePalette.green[500], dark: primitivePalette.green[600] },
|
|
513
|
+
dark: { light: primitivePalette.green[600], dark: primitivePalette.green[700] },
|
|
514
|
+
strong: { light: "", dark: "" }
|
|
515
|
+
},
|
|
516
|
+
warning: {
|
|
517
|
+
soft: { light: primitivePalette.yellow[50], dark: primitivePalette.yellow[950] },
|
|
518
|
+
light: { light: primitivePalette.yellow[100], dark: primitivePalette.yellow[900] },
|
|
519
|
+
main: { light: primitivePalette.yellow[500], dark: primitivePalette.yellow[600] },
|
|
520
|
+
dark: { light: primitivePalette.yellow[600], dark: primitivePalette.yellow[700] },
|
|
521
|
+
strong: { light: "", dark: "" }
|
|
522
|
+
},
|
|
523
|
+
danger: {
|
|
524
|
+
soft: { light: primitivePalette.hotPink[50], dark: primitivePalette.hotPink[950] },
|
|
525
|
+
light: { light: primitivePalette.hotPink[200], dark: primitivePalette.hotPink[900] },
|
|
526
|
+
main: { light: primitivePalette.hotPink[500], dark: primitivePalette.hotPink[500] },
|
|
527
|
+
dark: { light: primitivePalette.hotPink[600], dark: primitivePalette.hotPink[700] },
|
|
528
|
+
strong: { light: "", dark: "" }
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
|
|
186
532
|
// ../tailwind-config/src/typography/font.ts
|
|
187
533
|
var fontSize = {
|
|
188
534
|
h1: [
|
|
@@ -386,7 +732,7 @@ var boxShadow = {
|
|
|
386
732
|
"drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
|
|
387
733
|
"drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
|
|
388
734
|
"drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
|
|
389
|
-
"drop-xl": "0
|
|
735
|
+
"drop-xl": "0 0px 60px 0 rgba(0, 0, 0, 0.2)"
|
|
390
736
|
};
|
|
391
737
|
|
|
392
738
|
// ../tailwind-config/src/border/radius.ts
|
|
@@ -395,8 +741,19 @@ var borderRadius = {
|
|
|
395
741
|
md: "6px",
|
|
396
742
|
lg: "8px",
|
|
397
743
|
xl: "10px",
|
|
744
|
+
"2xl": "20px",
|
|
398
745
|
none: "0",
|
|
399
|
-
full: "9999px"
|
|
746
|
+
full: "9999px",
|
|
747
|
+
2: "2px",
|
|
748
|
+
5: "5px"
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
// ../tailwind-config/src/border/width.ts
|
|
752
|
+
var borderWidth = {
|
|
753
|
+
sm: "1px",
|
|
754
|
+
md: "1.25px",
|
|
755
|
+
lg: "1.5px",
|
|
756
|
+
xl: "1.75px"
|
|
400
757
|
};
|
|
401
758
|
|
|
402
759
|
// ../tailwind-config/src/space/gap.ts
|
|
@@ -404,7 +761,11 @@ var gap = {
|
|
|
404
761
|
sm: "4px",
|
|
405
762
|
md: "6px",
|
|
406
763
|
lg: "8px",
|
|
407
|
-
xl: "10px"
|
|
764
|
+
xl: "10px",
|
|
765
|
+
5: "5px",
|
|
766
|
+
10: "10px",
|
|
767
|
+
20: "20px",
|
|
768
|
+
30: "30px"
|
|
408
769
|
};
|
|
409
770
|
|
|
410
771
|
// src/utils/tailwind-variants.ts
|
|
@@ -419,7 +780,8 @@ var tv = (0, import_tailwind_variants.createTV)({
|
|
|
419
780
|
borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
|
|
420
781
|
boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
|
|
421
782
|
padding: [{ p: [...COMMON_SIZE] }],
|
|
422
|
-
gap: [{ gap: [...typedKeys(gap)] }]
|
|
783
|
+
gap: [{ gap: [...typedKeys(gap)] }],
|
|
784
|
+
borderWidth: [{ border: [...typedKeys(borderWidth)] }]
|
|
423
785
|
}
|
|
424
786
|
}
|
|
425
787
|
});
|
|
@@ -475,7 +837,7 @@ var CheckBoxIcon = ({ size, isSelected, className }) => {
|
|
|
475
837
|
"path",
|
|
476
838
|
{
|
|
477
839
|
d: "M2.16667 6.90123L5.63334 10.1111L10.8333 2.88889",
|
|
478
|
-
stroke: "
|
|
840
|
+
stroke: "currentColor",
|
|
479
841
|
strokeWidth,
|
|
480
842
|
strokeLinecap: "round",
|
|
481
843
|
strokeLinejoin: "round",
|
|
@@ -508,7 +870,7 @@ var checkboxStyle = tv({
|
|
|
508
870
|
"group-has-[:checked]:after:opacity-100",
|
|
509
871
|
"before:transition duration-200"
|
|
510
872
|
],
|
|
511
|
-
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-
|
|
873
|
+
icon: ["z-10", "opacity-0", "group-has-[:checked]:opacity-100", "text-common-white"],
|
|
512
874
|
labelReverse: ["flex-row-reverse"],
|
|
513
875
|
label: ["relative", "text-body-foreground", "select-none"]
|
|
514
876
|
},
|
|
@@ -541,54 +903,26 @@ var checkboxStyle = tv({
|
|
|
541
903
|
},
|
|
542
904
|
size: {
|
|
543
905
|
sm: {
|
|
544
|
-
base: ["gap-
|
|
545
|
-
wrapper: [
|
|
546
|
-
"w-[12px]",
|
|
547
|
-
"h-[12px]",
|
|
548
|
-
"rounded-[2px]",
|
|
549
|
-
"before:border-sm",
|
|
550
|
-
"before:rounded-[2px]",
|
|
551
|
-
"after:rounded-[2px]"
|
|
552
|
-
],
|
|
906
|
+
base: ["gap-lg"],
|
|
907
|
+
wrapper: ["w-[12px]", "h-[12px]", "rounded-2", "before:border-sm", "before:rounded-2", "after:rounded-2"],
|
|
553
908
|
label: ["text-sm"],
|
|
554
909
|
icon: ["w-[10px]", "h-[10px]"]
|
|
555
910
|
},
|
|
556
911
|
md: {
|
|
557
|
-
base: ["gap-
|
|
558
|
-
wrapper: [
|
|
559
|
-
"w-[15px]",
|
|
560
|
-
"h-[15px]",
|
|
561
|
-
"rounded-[2px]",
|
|
562
|
-
"before:border-md",
|
|
563
|
-
"before:rounded-[2px]",
|
|
564
|
-
"after:rounded-[2px]"
|
|
565
|
-
],
|
|
912
|
+
base: ["gap-lg"],
|
|
913
|
+
wrapper: ["w-[15px]", "h-[15px]", "rounded-2", "before:border-md", "before:rounded-2", "after:rounded-2"],
|
|
566
914
|
label: ["text-md"],
|
|
567
915
|
icon: ["w-[13px]", "h-[13px]"]
|
|
568
916
|
},
|
|
569
917
|
lg: {
|
|
570
|
-
base: ["gap-
|
|
571
|
-
wrapper: [
|
|
572
|
-
"w-[18px]",
|
|
573
|
-
"h-[18px]",
|
|
574
|
-
"rounded-[4px]",
|
|
575
|
-
"before:border-lg",
|
|
576
|
-
"before:rounded-[4px]",
|
|
577
|
-
"after:rounded-[4px]"
|
|
578
|
-
],
|
|
918
|
+
base: ["gap-xl"],
|
|
919
|
+
wrapper: ["w-[18px]", "h-[18px]", "rounded-sm", "before:border-lg", "before:rounded-sm", "after:rounded-sm"],
|
|
579
920
|
label: ["text-lg"],
|
|
580
921
|
icon: ["w-[16px]", "h-[16px]"]
|
|
581
922
|
},
|
|
582
923
|
xl: {
|
|
583
|
-
base: ["gap-
|
|
584
|
-
wrapper: [
|
|
585
|
-
"w-[21px]",
|
|
586
|
-
"h-[21px]",
|
|
587
|
-
"rounded-[4px]",
|
|
588
|
-
"before:border-xl",
|
|
589
|
-
"before:rounded-[2px]",
|
|
590
|
-
"after:rounded-[2px]"
|
|
591
|
-
],
|
|
924
|
+
base: ["gap-xl"],
|
|
925
|
+
wrapper: ["w-[21px]", "h-[21px]", "rounded-sm", "before:border-xl", "before:rounded-sm", "after:rounded-sm"],
|
|
592
926
|
label: ["text-xl"],
|
|
593
927
|
icon: ["w-[19px]", "h-[19px]"]
|
|
594
928
|
}
|
|
@@ -647,12 +981,17 @@ function TableHeaderCell({
|
|
|
647
981
|
setShowTitle(el.scrollWidth > el.clientWidth);
|
|
648
982
|
}
|
|
649
983
|
}, [content, isCheckbox]);
|
|
650
|
-
const
|
|
984
|
+
const isTextContent = ["string", "number"].includes(typeof content) || content === null || content === void 0;
|
|
985
|
+
const titleText = !isCheckbox && showTitle && isTextContent ? String(content) : void 0;
|
|
651
986
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
652
987
|
"th",
|
|
653
988
|
{
|
|
654
989
|
ref: thRef,
|
|
655
|
-
className: clsx(
|
|
990
|
+
className: clsx(
|
|
991
|
+
slots.th({ class: classNames == null ? void 0 : classNames.th }),
|
|
992
|
+
column == null ? void 0 : column.className,
|
|
993
|
+
!isCheckbox && isTextContent && "truncate"
|
|
994
|
+
),
|
|
656
995
|
style: isCheckbox ? {
|
|
657
996
|
width: "40px",
|
|
658
997
|
minWidth: "40px",
|
|
@@ -661,11 +1000,19 @@ function TableHeaderCell({
|
|
|
661
1000
|
flexGrow: 0,
|
|
662
1001
|
boxSizing: "border-box"
|
|
663
1002
|
} : column ? {
|
|
664
|
-
...getCellStyle(column)
|
|
665
|
-
textAlign: "center"
|
|
1003
|
+
...getCellStyle(column)
|
|
666
1004
|
} : void 0,
|
|
667
1005
|
title: titleText,
|
|
668
|
-
children: content
|
|
1006
|
+
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1007
|
+
"div",
|
|
1008
|
+
{
|
|
1009
|
+
className: clsx(
|
|
1010
|
+
"flex w-full items-center",
|
|
1011
|
+
isCheckbox ? "justify-center" : (column == null ? void 0 : column.align) === "right" ? "justify-end" : (column == null ? void 0 : column.align) === "left" ? "justify-start" : "justify-center"
|
|
1012
|
+
),
|
|
1013
|
+
children: content
|
|
1014
|
+
}
|
|
1015
|
+
)
|
|
669
1016
|
}
|
|
670
1017
|
);
|
|
671
1018
|
}
|
|
@@ -692,7 +1039,7 @@ var TableHead = ({
|
|
|
692
1039
|
rowCheckbox && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
693
1040
|
TableHeaderCell,
|
|
694
1041
|
{
|
|
695
|
-
content: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
1042
|
+
content: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { "data-checkbox": true, className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
696
1043
|
checkbox_default,
|
|
697
1044
|
{
|
|
698
1045
|
size,
|
|
@@ -744,6 +1091,98 @@ var import_react4 = require("react");
|
|
|
744
1091
|
// src/components/icon/template.tsx
|
|
745
1092
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
746
1093
|
var template = {
|
|
1094
|
+
left: ({ className }) => {
|
|
1095
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1096
|
+
"svg",
|
|
1097
|
+
{
|
|
1098
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1099
|
+
width: "21",
|
|
1100
|
+
height: "21",
|
|
1101
|
+
viewBox: "0 0 21 21",
|
|
1102
|
+
fill: "none",
|
|
1103
|
+
className,
|
|
1104
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1105
|
+
"path",
|
|
1106
|
+
{
|
|
1107
|
+
d: "M12.8333 15.1667L8.16667 10.5L12.8333 5.83334",
|
|
1108
|
+
stroke: "currentColor",
|
|
1109
|
+
strokeWidth: "1.25",
|
|
1110
|
+
strokeLinecap: "round",
|
|
1111
|
+
strokeLinejoin: "round"
|
|
1112
|
+
}
|
|
1113
|
+
)
|
|
1114
|
+
}
|
|
1115
|
+
);
|
|
1116
|
+
},
|
|
1117
|
+
"left-double": ({ className }) => {
|
|
1118
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1119
|
+
"svg",
|
|
1120
|
+
{
|
|
1121
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1122
|
+
width: "21",
|
|
1123
|
+
height: "21",
|
|
1124
|
+
viewBox: "0 0 21 21",
|
|
1125
|
+
fill: "none",
|
|
1126
|
+
className,
|
|
1127
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1128
|
+
"path",
|
|
1129
|
+
{
|
|
1130
|
+
d: "M15.1667 5.83334L9.98148 10.5L15.1667 15.1667M11.0185 5.83334L5.83334 10.5L11.0185 15.1667",
|
|
1131
|
+
stroke: "currentColor",
|
|
1132
|
+
strokeWidth: "1.25",
|
|
1133
|
+
strokeLinecap: "round",
|
|
1134
|
+
strokeLinejoin: "round"
|
|
1135
|
+
}
|
|
1136
|
+
)
|
|
1137
|
+
}
|
|
1138
|
+
);
|
|
1139
|
+
},
|
|
1140
|
+
right: ({ className }) => {
|
|
1141
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1142
|
+
"svg",
|
|
1143
|
+
{
|
|
1144
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1145
|
+
width: "21",
|
|
1146
|
+
height: "21",
|
|
1147
|
+
viewBox: "0 0 21 21",
|
|
1148
|
+
fill: "none",
|
|
1149
|
+
className,
|
|
1150
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1151
|
+
"path",
|
|
1152
|
+
{
|
|
1153
|
+
d: "M8.16666 5.83334L12.8333 10.5L8.16666 15.1667",
|
|
1154
|
+
stroke: "currentColor",
|
|
1155
|
+
strokeWidth: "1.25",
|
|
1156
|
+
strokeLinecap: "round",
|
|
1157
|
+
strokeLinejoin: "round"
|
|
1158
|
+
}
|
|
1159
|
+
)
|
|
1160
|
+
}
|
|
1161
|
+
);
|
|
1162
|
+
},
|
|
1163
|
+
"right-double": ({ className }) => {
|
|
1164
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1165
|
+
"svg",
|
|
1166
|
+
{
|
|
1167
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1168
|
+
width: "21",
|
|
1169
|
+
height: "21",
|
|
1170
|
+
viewBox: "0 0 21 21",
|
|
1171
|
+
fill: "none",
|
|
1172
|
+
className,
|
|
1173
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
1174
|
+
"path",
|
|
1175
|
+
{
|
|
1176
|
+
d: "M5.83334 5.83334L11.0185 10.5L5.83334 15.1667M9.98149 5.83334L15.1667 10.5L9.98149 15.1667",
|
|
1177
|
+
stroke: "currentColor",
|
|
1178
|
+
strokeWidth: "1.25",
|
|
1179
|
+
strokeLinecap: "round",
|
|
1180
|
+
strokeLinejoin: "round"
|
|
1181
|
+
}
|
|
1182
|
+
)
|
|
1183
|
+
}
|
|
1184
|
+
);
|
|
1185
|
+
},
|
|
747
1186
|
"left-chevron": ({ className }) => {
|
|
748
1187
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
749
1188
|
"svg",
|
|
@@ -2129,46 +2568,6 @@ var template = {
|
|
|
2129
2568
|
}
|
|
2130
2569
|
);
|
|
2131
2570
|
},
|
|
2132
|
-
left: ({ className }) => {
|
|
2133
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2134
|
-
"svg",
|
|
2135
|
-
{
|
|
2136
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2137
|
-
width: "22",
|
|
2138
|
-
height: "22",
|
|
2139
|
-
viewBox: "0 0 22 22",
|
|
2140
|
-
fill: "none",
|
|
2141
|
-
className,
|
|
2142
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2143
|
-
"path",
|
|
2144
|
-
{
|
|
2145
|
-
d: "M14.4955 7.21404C14.4957 7.26442 14.4957 7.26442 14.4959 7.31582C14.4962 7.40882 14.4962 7.50182 14.496 7.59482C14.496 7.69521 14.4962 7.79559 14.4965 7.89598C14.4969 8.09257 14.497 8.28915 14.4969 8.48574C14.4968 8.64555 14.4969 8.80536 14.497 8.96516C14.4971 8.98791 14.4971 9.01066 14.4971 9.0341C14.4971 9.08032 14.4972 9.12653 14.4972 9.17275C14.4976 9.60613 14.4975 10.0395 14.4973 10.4729C14.4971 10.8692 14.4975 11.2656 14.4981 11.6619C14.4988 12.069 14.499 12.4761 14.4989 12.8832C14.4989 13.1117 14.4989 13.3402 14.4994 13.5687C14.4998 13.7633 14.4998 13.9578 14.4994 14.1524C14.4992 14.2516 14.4992 14.3508 14.4996 14.45C14.4999 14.5577 14.4997 14.6653 14.4993 14.7729C14.4995 14.8042 14.4997 14.8354 14.5 14.8676C14.4981 15.094 14.4635 15.2952 14.2769 15.4694C14.0633 15.6269 13.8501 15.6664 13.574 15.6667C13.3359 15.6312 13.1607 15.5177 12.9847 15.381C12.9446 15.3506 12.9044 15.3202 12.8642 15.2898C12.8338 15.2666 12.8338 15.2666 12.8028 15.2429C12.7059 15.1692 12.6076 15.0969 12.5094 15.0246C12.4807 15.0034 12.4807 15.0034 12.4515 14.9819C12.3238 14.8875 12.1955 14.7936 12.0669 14.7C11.8604 14.5497 11.6552 14.3982 11.4501 14.2465C11.3539 14.1754 11.2577 14.1043 11.1615 14.0332C11.1231 14.0048 11.0847 13.9765 11.0462 13.9481C11.0177 13.927 11.0177 13.927 10.9886 13.9055C10.1627 13.2955 9.33686 12.6854 8.51098 12.0753C8.49194 12.0613 8.47291 12.0472 8.45329 12.0328C8.41508 12.0045 8.37691 11.9762 8.33878 11.9479C8.23994 11.8746 8.14044 11.8021 8.03961 11.7309C7.56492 11.3929 7.56492 11.3929 7.50676 11.139C7.48169 10.8947 7.5218 10.7077 7.70431 10.5165C7.82684 10.4027 7.96443 10.3072 8.1052 10.2107C8.19396 10.1488 8.27857 10.0845 8.36282 10.0181C8.5044 9.90695 8.65122 9.80273 8.80011 9.69893C8.88704 9.63693 8.97086 9.57289 9.05425 9.50739C9.19583 9.3962 9.34265 9.29198 9.49154 9.18818C9.57847 9.12618 9.6623 9.06214 9.74569 8.99664C9.88726 8.88544 10.0341 8.78123 10.183 8.67742C10.2699 8.61542 10.3537 8.55139 10.4371 8.48589C10.5787 8.37469 10.7255 8.27048 10.8744 8.16667C10.9613 8.10467 11.0452 8.04064 11.1286 7.97514C11.2379 7.88937 11.3491 7.80701 11.464 7.72686C11.676 7.57888 11.881 7.42428 12.0868 7.26992C12.2036 7.18255 12.321 7.09588 12.4386 7.00934C12.5366 6.93723 12.6341 6.8648 12.7311 6.7917C13.3456 6.32986 13.3456 6.32986 13.7814 6.33404C13.9843 6.35117 14.1418 6.41415 14.2854 6.53943C14.4816 6.75169 14.4966 6.95069 14.4955 7.21404Z",
|
|
2146
|
-
fill: "currentColor"
|
|
2147
|
-
}
|
|
2148
|
-
)
|
|
2149
|
-
}
|
|
2150
|
-
);
|
|
2151
|
-
},
|
|
2152
|
-
right: ({ className }) => {
|
|
2153
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2154
|
-
"svg",
|
|
2155
|
-
{
|
|
2156
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2157
|
-
width: "22",
|
|
2158
|
-
height: "22",
|
|
2159
|
-
viewBox: "0 0 22 22",
|
|
2160
|
-
fill: "none",
|
|
2161
|
-
className,
|
|
2162
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2163
|
-
"path",
|
|
2164
|
-
{
|
|
2165
|
-
d: "M7.50447 7.21404C7.50428 7.26442 7.50428 7.26442 7.50409 7.31582C7.50381 7.40882 7.50383 7.50182 7.50397 7.59482C7.50405 7.69521 7.50375 7.79559 7.5035 7.89598C7.50308 8.09257 7.50303 8.28915 7.5031 8.48574C7.50316 8.64555 7.5031 8.80536 7.50296 8.96516C7.50294 8.98791 7.50292 9.01066 7.5029 9.0341C7.50286 9.08032 7.50282 9.12653 7.50278 9.17275C7.50243 9.60613 7.5025 10.0395 7.5027 10.4729C7.50287 10.8692 7.5025 11.2656 7.50187 11.6619C7.50123 12.069 7.50096 12.4761 7.50109 12.8832C7.50115 13.1117 7.50107 13.3402 7.5006 13.5687C7.50021 13.7633 7.50016 13.9578 7.50056 14.1524C7.50076 14.2516 7.50079 14.3508 7.5004 14.45C7.50005 14.5577 7.50032 14.6653 7.50074 14.7729C7.50049 14.8042 7.50025 14.8354 7.5 14.8676C7.50185 15.094 7.53645 15.2952 7.72309 15.4694C7.93671 15.6269 8.14985 15.6664 8.42597 15.6667C8.66414 15.6312 8.8393 15.5177 9.01528 15.381C9.05544 15.3506 9.09561 15.3202 9.13579 15.2898C9.16617 15.2666 9.16617 15.2666 9.19716 15.2429C9.29408 15.1692 9.39237 15.0969 9.49064 15.0246C9.51926 15.0034 9.51926 15.0034 9.54847 14.9819C9.67623 14.8875 9.80451 14.7936 9.93307 14.7C10.1396 14.5497 10.3448 14.3982 10.5499 14.2465C10.6461 14.1754 10.7423 14.1043 10.8385 14.0332C10.8769 14.0048 10.9153 13.9765 10.9538 13.9481C10.9823 13.927 10.9823 13.927 11.0114 13.9055C11.8373 13.2955 12.6631 12.6854 13.489 12.0753C13.5081 12.0613 13.5271 12.0472 13.5467 12.0328C13.5849 12.0045 13.6231 11.9762 13.6612 11.9479C13.7601 11.8746 13.8596 11.8021 13.9604 11.7309C14.4351 11.3929 14.4351 11.3929 14.4932 11.139C14.5183 10.8947 14.4782 10.7077 14.2957 10.5165C14.1732 10.4027 14.0356 10.3072 13.8948 10.2107C13.806 10.1488 13.7214 10.0845 13.6372 10.0181C13.4956 9.90695 13.3488 9.80273 13.1999 9.69893C13.113 9.63693 13.0291 9.57289 12.9457 9.50739C12.8042 9.3962 12.6573 9.29198 12.5085 9.18818C12.4215 9.12618 12.3377 9.06214 12.2543 8.99664C12.1127 8.88544 11.9659 8.78123 11.817 8.67742C11.7301 8.61542 11.6463 8.55139 11.5629 8.48589C11.4213 8.37469 11.2745 8.27048 11.1256 8.16667C11.0387 8.10467 10.9548 8.04064 10.8714 7.97514C10.7621 7.88937 10.6509 7.80701 10.536 7.72686C10.324 7.57888 10.119 7.42428 9.9132 7.26992C9.79643 7.18255 9.67897 7.09588 9.56138 7.00934C9.46343 6.93723 9.36586 6.8648 9.26891 6.7917C8.65441 6.32986 8.65441 6.32986 8.21864 6.33404C8.01565 6.35117 7.85817 6.41415 7.7146 6.53943C7.51841 6.75169 7.50343 6.95069 7.50447 7.21404Z",
|
|
2166
|
-
fill: "currentColor"
|
|
2167
|
-
}
|
|
2168
|
-
)
|
|
2169
|
-
}
|
|
2170
|
-
);
|
|
2171
|
-
},
|
|
2172
2571
|
"brace-left": ({ className }) => {
|
|
2173
2572
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2174
2573
|
"svg",
|
|
@@ -2478,6 +2877,20 @@ var template = {
|
|
|
2478
2877
|
}
|
|
2479
2878
|
);
|
|
2480
2879
|
},
|
|
2880
|
+
polygon: ({ className }) => {
|
|
2881
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
2882
|
+
"svg",
|
|
2883
|
+
{
|
|
2884
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2885
|
+
width: "24",
|
|
2886
|
+
height: "24",
|
|
2887
|
+
viewBox: "0 0 24 24",
|
|
2888
|
+
fill: "none",
|
|
2889
|
+
className,
|
|
2890
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polygon", { points: "12 4 20 9 20 15 12 20 4 15 4 9", stroke: "currentColor", strokeWidth: "2" })
|
|
2891
|
+
}
|
|
2892
|
+
);
|
|
2893
|
+
},
|
|
2481
2894
|
"new-window": ({ className }) => {
|
|
2482
2895
|
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
2483
2896
|
"svg",
|
|
@@ -5591,25 +6004,26 @@ var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
|
5591
6004
|
var Icon = ({ name, size = "md", fill = false, className, onClick, ...props }) => {
|
|
5592
6005
|
const SVGIcon = template[name];
|
|
5593
6006
|
const getInputIconSize = (size2) => {
|
|
5594
|
-
switch (size2) {
|
|
6007
|
+
switch (String(size2)) {
|
|
5595
6008
|
case "sm":
|
|
5596
|
-
return "
|
|
6009
|
+
return "w-[18px] h-[18px]";
|
|
5597
6010
|
case "md":
|
|
5598
|
-
return "
|
|
6011
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5599
6012
|
case "lg":
|
|
5600
|
-
return "
|
|
6013
|
+
return "w-[24px] h-[24px] stroke-[1.5px]";
|
|
5601
6014
|
case "xl":
|
|
5602
|
-
return "
|
|
6015
|
+
return "w-[27px] h-[27px] stroke-[1.5px]";
|
|
6016
|
+
case "20":
|
|
6017
|
+
return "w-[20px] h-[20px] stroke-[1.25px]";
|
|
6018
|
+
case "30":
|
|
6019
|
+
return "w-[30px] h-[30px] stroke-[1.5px]";
|
|
6020
|
+
case "40":
|
|
6021
|
+
return "w-[40px] h-[40px] stroke-[2px]";
|
|
6022
|
+
default:
|
|
6023
|
+
return "w-[21px] h-[21px] stroke-[1.25px]";
|
|
5603
6024
|
}
|
|
5604
6025
|
};
|
|
5605
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className:
|
|
5606
|
-
SVGIcon,
|
|
5607
|
-
{
|
|
5608
|
-
fill,
|
|
5609
|
-
className: className ? `${getInputIconSize(size)} ${className}` : `${getInputIconSize(size)}`,
|
|
5610
|
-
...props
|
|
5611
|
-
}
|
|
5612
|
-
) });
|
|
6026
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: `m-0 flex items-center justify-center p-0 ${className}`, onClick, children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(SVGIcon, { fill, className: getInputIconSize(size), ...props }) });
|
|
5613
6027
|
};
|
|
5614
6028
|
var Icon_default = Icon;
|
|
5615
6029
|
|
|
@@ -5751,10 +6165,10 @@ var inputStyle = tv(
|
|
|
5751
6165
|
"placeholder:text-neutral-main",
|
|
5752
6166
|
"outline-none",
|
|
5753
6167
|
"focus:ring-0",
|
|
5754
|
-
"group-
|
|
5755
|
-
"group-
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
6168
|
+
"group-hover/input:text-neutral-dark",
|
|
6169
|
+
"group-hover/input:placeholder:text-neutral-dark",
|
|
6170
|
+
"focus:text-neutral-dark",
|
|
6171
|
+
"focus:placeholder:text-neutral-dark",
|
|
5758
6172
|
"read-only:!text-body-foreground",
|
|
5759
6173
|
"read-only:placeholder:!text-body-foreground"
|
|
5760
6174
|
],
|
|
@@ -5763,10 +6177,10 @@ var inputStyle = tv(
|
|
|
5763
6177
|
"items-center",
|
|
5764
6178
|
"select-none",
|
|
5765
6179
|
"text-neutral-main",
|
|
5766
|
-
"
|
|
5767
|
-
"
|
|
6180
|
+
"transition-colors",
|
|
6181
|
+
"group-hover/input:text-neutral-dark"
|
|
5768
6182
|
],
|
|
5769
|
-
helperMessage: ["text-neutral-main", "group-
|
|
6183
|
+
helperMessage: ["text-neutral-main", "group-hover/input:text-neutral-dark"],
|
|
5770
6184
|
errorMessage: ["text-danger-main"],
|
|
5771
6185
|
readonlyWrapper: [
|
|
5772
6186
|
"pointer-events-none",
|
|
@@ -5805,46 +6219,46 @@ var inputStyle = tv(
|
|
|
5805
6219
|
},
|
|
5806
6220
|
color: {
|
|
5807
6221
|
primary: {
|
|
5808
|
-
content: ["group-
|
|
5809
|
-
helperMessage: ["group-
|
|
5810
|
-
readonly: ["text-primary-main"]
|
|
6222
|
+
content: ["group-focus-within/input:!text-primary-main"],
|
|
6223
|
+
helperMessage: ["group-focus-within/input:!text-primary-main"],
|
|
6224
|
+
readonly: ["!text-primary-main"]
|
|
5811
6225
|
},
|
|
5812
6226
|
secondary: {
|
|
5813
|
-
content: ["group-
|
|
5814
|
-
helperMessage: ["group-
|
|
5815
|
-
readonly: ["text-secondary-main"]
|
|
6227
|
+
content: ["group-focus-within/input:!text-secondary-main"],
|
|
6228
|
+
helperMessage: ["group-focus-within/input:!text-secondary-main"],
|
|
6229
|
+
readonly: ["!text-secondary-main"]
|
|
5816
6230
|
}
|
|
5817
6231
|
},
|
|
5818
6232
|
size: {
|
|
5819
6233
|
sm: {
|
|
5820
|
-
base: ["text-sm", "gap-
|
|
6234
|
+
base: ["text-sm", "gap-sm"],
|
|
5821
6235
|
label: ["text-sm"],
|
|
5822
|
-
innerWrapper: ["gap-
|
|
5823
|
-
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-
|
|
6236
|
+
innerWrapper: ["gap-sm"],
|
|
6237
|
+
inputWrapper: ["w-[240px]", "h-[24px]", "rounded-sm", "px-xs", "gap-sm"],
|
|
5824
6238
|
helperMessage: ["text-sm"],
|
|
5825
6239
|
errorMessage: ["text-sm"]
|
|
5826
6240
|
},
|
|
5827
6241
|
md: {
|
|
5828
|
-
base: ["text-md", "gap-
|
|
6242
|
+
base: ["text-md", "gap-md"],
|
|
5829
6243
|
label: ["text-md"],
|
|
5830
|
-
innerWrapper: ["gap-
|
|
5831
|
-
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-
|
|
6244
|
+
innerWrapper: ["gap-md"],
|
|
6245
|
+
inputWrapper: ["w-[240px]", "h-[32px]", "rounded-md", "px-sm", "gap-md"],
|
|
5832
6246
|
helperMessage: ["text-sm"],
|
|
5833
6247
|
errorMessage: ["text-sm"]
|
|
5834
6248
|
},
|
|
5835
6249
|
lg: {
|
|
5836
|
-
base: ["text-lg", "gap-
|
|
6250
|
+
base: ["text-lg", "gap-lg"],
|
|
5837
6251
|
label: ["text-lg"],
|
|
5838
|
-
innerWrapper: ["gap-
|
|
5839
|
-
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-
|
|
6252
|
+
innerWrapper: ["gap-lg"],
|
|
6253
|
+
inputWrapper: ["w-[240px]", "h-[40px]", "rounded-lg", "px-md", "gap-lg"],
|
|
5840
6254
|
helperMessage: ["text-md"],
|
|
5841
6255
|
errorMessage: ["text-md"]
|
|
5842
6256
|
},
|
|
5843
6257
|
xl: {
|
|
5844
|
-
base: ["text-xl", "gap-
|
|
6258
|
+
base: ["text-xl", "gap-xl"],
|
|
5845
6259
|
label: ["text-xl"],
|
|
5846
|
-
innerWrapper: ["gap-
|
|
5847
|
-
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-
|
|
6260
|
+
innerWrapper: ["gap-xl"],
|
|
6261
|
+
inputWrapper: ["w-[240px]", "h-[50px]", "rounded-lg", "px-lg", "gap-xl"],
|
|
5848
6262
|
helperMessage: ["text-md"],
|
|
5849
6263
|
errorMessage: ["text-md"]
|
|
5850
6264
|
}
|
|
@@ -6033,32 +6447,34 @@ var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
|
|
|
6033
6447
|
}
|
|
6034
6448
|
}
|
|
6035
6449
|
};
|
|
6036
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }),
|
|
6450
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
6037
6451
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: slots.wrapper({ class: classNames == null ? void 0 : classNames.wrapper }), children: [
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6059
|
-
|
|
6060
|
-
|
|
6061
|
-
|
|
6452
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex", children: [
|
|
6453
|
+
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6454
|
+
"div",
|
|
6455
|
+
{
|
|
6456
|
+
"aria-label": "firstPage",
|
|
6457
|
+
"data-disabled": isFirstPageDisabled,
|
|
6458
|
+
className: slots.icon({
|
|
6459
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isFirstPageDisabled && "!text-neutral-light !cursor-default")
|
|
6460
|
+
}),
|
|
6461
|
+
onClick: !isFirstPageDisabled ? handleClickMovePage(1) : void 0,
|
|
6462
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "left-double", size })
|
|
6463
|
+
}
|
|
6464
|
+
),
|
|
6465
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6466
|
+
"div",
|
|
6467
|
+
{
|
|
6468
|
+
"aria-label": "prevPage",
|
|
6469
|
+
"data-disabled": isPrevPageDisabled,
|
|
6470
|
+
className: slots.icon({
|
|
6471
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isPrevPageDisabled && "!text-neutral-light !cursor-default")
|
|
6472
|
+
}),
|
|
6473
|
+
onClick: !isPrevPageDisabled ? handleClickMovePage(currentPage - 1) : void 0,
|
|
6474
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "left", size })
|
|
6475
|
+
}
|
|
6476
|
+
)
|
|
6477
|
+
] }),
|
|
6062
6478
|
showPageNumber && pageList.map((page, index) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6063
6479
|
"div",
|
|
6064
6480
|
{
|
|
@@ -6069,30 +6485,32 @@ var Pagination = (0, import_react5.forwardRef)((originalProps, ref) => {
|
|
|
6069
6485
|
},
|
|
6070
6486
|
index
|
|
6071
6487
|
)),
|
|
6072
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6488
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "flex", children: [
|
|
6489
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6490
|
+
"div",
|
|
6491
|
+
{
|
|
6492
|
+
"aria-label": "nextPage",
|
|
6493
|
+
"data-disabled": isNextPageDisabled,
|
|
6494
|
+
className: slots.icon({
|
|
6495
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isNextPageDisabled && "!text-neutral-light !cursor-default")
|
|
6496
|
+
}),
|
|
6497
|
+
onClick: !isNextPageDisabled ? handleClickMovePage(currentPage + 1) : void 0,
|
|
6498
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "right", size })
|
|
6499
|
+
}
|
|
6500
|
+
),
|
|
6501
|
+
showFirstLastButtons && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
6502
|
+
"div",
|
|
6503
|
+
{
|
|
6504
|
+
"aria-label": "lastPage",
|
|
6505
|
+
"data-disabled": isLastPageDisabled,
|
|
6506
|
+
className: slots.icon({
|
|
6507
|
+
class: clsx(classNames == null ? void 0 : classNames.icon, isLastPageDisabled && "!text-neutral-light !cursor-default")
|
|
6508
|
+
}),
|
|
6509
|
+
onClick: !isLastPageDisabled ? handleClickMovePage(totalPage) : void 0,
|
|
6510
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon_default, { name: "right-double", size })
|
|
6511
|
+
}
|
|
6512
|
+
)
|
|
6513
|
+
] })
|
|
6096
6514
|
] }),
|
|
6097
6515
|
showPageLabel && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: slots.label({ class: classNames == null ? void 0 : classNames.label }), children: [
|
|
6098
6516
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
@@ -6119,8 +6537,8 @@ var pagination_default = Pagination;
|
|
|
6119
6537
|
var paginationStyle = tv(
|
|
6120
6538
|
{
|
|
6121
6539
|
slots: {
|
|
6122
|
-
base: ["flex", "items-center", "select-none", "gap-
|
|
6123
|
-
wrapper: ["flex", "items-center", "overflow-hidden", "gap-
|
|
6540
|
+
base: ["flex", "items-center", "select-none", "gap-20"],
|
|
6541
|
+
wrapper: ["flex", "items-center", "overflow-hidden", "gap-5"],
|
|
6124
6542
|
icon: [
|
|
6125
6543
|
"flex",
|
|
6126
6544
|
"items-center",
|
|
@@ -6142,15 +6560,24 @@ var paginationStyle = tv(
|
|
|
6142
6560
|
"text-neutral-main",
|
|
6143
6561
|
"data-[selected=true]:font-bold"
|
|
6144
6562
|
],
|
|
6145
|
-
label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-
|
|
6563
|
+
label: ["whitespace-nowrap", "text-neutral-main", "flex", "items-center", "gap-5", "text-sm"]
|
|
6146
6564
|
},
|
|
6147
6565
|
variants: {
|
|
6148
6566
|
variant: {
|
|
6149
6567
|
solid: {
|
|
6150
|
-
button: ["rounded-
|
|
6568
|
+
button: ["rounded-sm"]
|
|
6151
6569
|
},
|
|
6152
6570
|
underline: {
|
|
6153
|
-
button: [
|
|
6571
|
+
button: [
|
|
6572
|
+
"rounded-0",
|
|
6573
|
+
"relative",
|
|
6574
|
+
"after:content-['']",
|
|
6575
|
+
"after:absolute",
|
|
6576
|
+
"after:inset-x-0",
|
|
6577
|
+
"after:bottom-0",
|
|
6578
|
+
"after:border-solid",
|
|
6579
|
+
"after:border-transparent"
|
|
6580
|
+
]
|
|
6154
6581
|
}
|
|
6155
6582
|
},
|
|
6156
6583
|
size: {
|
|
@@ -6175,7 +6602,7 @@ var paginationStyle = tv(
|
|
|
6175
6602
|
disabled: {
|
|
6176
6603
|
true: {
|
|
6177
6604
|
icon: ["!text-neutral-light", "!cursor-default"],
|
|
6178
|
-
button: ["!text-neutral-light", "!cursor-default"]
|
|
6605
|
+
button: ["!text-neutral-light", "!cursor-default", "data-[selected=true]:after:border-neutral-light"]
|
|
6179
6606
|
}
|
|
6180
6607
|
}
|
|
6181
6608
|
},
|
|
@@ -6220,120 +6647,64 @@ var paginationStyle = tv(
|
|
|
6220
6647
|
variant: "underline",
|
|
6221
6648
|
color: "primary",
|
|
6222
6649
|
class: {
|
|
6223
|
-
button: [
|
|
6650
|
+
button: [
|
|
6651
|
+
"hover:text-primary-main",
|
|
6652
|
+
"data-[selected=true]:text-primary-main",
|
|
6653
|
+
"data-[selected=true]:after:border-primary-main"
|
|
6654
|
+
],
|
|
6224
6655
|
icon: ["hover:text-primary-main", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6225
6656
|
}
|
|
6226
6657
|
},
|
|
6227
|
-
{
|
|
6228
|
-
variant: "underline",
|
|
6229
|
-
color: "primary",
|
|
6230
|
-
size: "sm",
|
|
6231
|
-
class: {
|
|
6232
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1px_0_0_var(--dn-primary-main)]"]
|
|
6233
|
-
}
|
|
6234
|
-
},
|
|
6235
|
-
{
|
|
6236
|
-
variant: "underline",
|
|
6237
|
-
color: "primary",
|
|
6238
|
-
size: "md",
|
|
6239
|
-
class: {
|
|
6240
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.25px_0_0_var(--dn-primary-main)]"]
|
|
6241
|
-
}
|
|
6242
|
-
},
|
|
6243
|
-
{
|
|
6244
|
-
variant: "underline",
|
|
6245
|
-
color: "primary",
|
|
6246
|
-
size: "lg",
|
|
6247
|
-
class: {
|
|
6248
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.5px_0_0_var(--dn-primary-main)]"]
|
|
6249
|
-
}
|
|
6250
|
-
},
|
|
6251
|
-
{
|
|
6252
|
-
variant: "underline",
|
|
6253
|
-
color: "primary",
|
|
6254
|
-
size: "xl",
|
|
6255
|
-
class: {
|
|
6256
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.75px_0_0_var(--dn-primary-main)]"]
|
|
6257
|
-
}
|
|
6258
|
-
},
|
|
6259
6658
|
{
|
|
6260
6659
|
variant: "underline",
|
|
6261
6660
|
color: "secondary",
|
|
6262
6661
|
class: {
|
|
6263
|
-
button: [
|
|
6662
|
+
button: [
|
|
6663
|
+
"hover:text-secondary-main",
|
|
6664
|
+
"data-[selected=true]:text-secondary-main",
|
|
6665
|
+
"data-[selected=true]:after:border-secondary-main"
|
|
6666
|
+
],
|
|
6264
6667
|
icon: ["hover:text-secondary-main", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6265
6668
|
}
|
|
6266
6669
|
},
|
|
6267
|
-
{
|
|
6268
|
-
variant: "underline",
|
|
6269
|
-
color: "secondary",
|
|
6270
|
-
size: "sm",
|
|
6271
|
-
class: {
|
|
6272
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1px_0_0_var(--dn-secondary-main)]"]
|
|
6273
|
-
}
|
|
6274
|
-
},
|
|
6275
|
-
{
|
|
6276
|
-
variant: "underline",
|
|
6277
|
-
color: "secondary",
|
|
6278
|
-
size: "md",
|
|
6279
|
-
class: {
|
|
6280
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.25px_0_0_var(--dn-secondary-main)]"]
|
|
6281
|
-
}
|
|
6282
|
-
},
|
|
6283
|
-
{
|
|
6284
|
-
variant: "underline",
|
|
6285
|
-
color: "secondary",
|
|
6286
|
-
size: "lg",
|
|
6287
|
-
class: {
|
|
6288
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.5px_0_0_var(--dn-secondary-main)]"]
|
|
6289
|
-
}
|
|
6290
|
-
},
|
|
6291
|
-
{
|
|
6292
|
-
variant: "underline",
|
|
6293
|
-
color: "secondary",
|
|
6294
|
-
size: "xl",
|
|
6295
|
-
class: {
|
|
6296
|
-
button: ["data-[selected=true]:shadow-[inset_0_-1.75px_0_0_var(--dn-secondary-main)]"]
|
|
6297
|
-
}
|
|
6298
|
-
},
|
|
6299
6670
|
{
|
|
6300
6671
|
variant: "underline",
|
|
6301
6672
|
color: "neutral",
|
|
6302
6673
|
class: {
|
|
6303
|
-
button: [
|
|
6674
|
+
button: [
|
|
6675
|
+
"hover:text-neutral-dark",
|
|
6676
|
+
"data-[selected=true]:text-neutral-dark",
|
|
6677
|
+
"data-[selected=true]:after:border-neutral-main"
|
|
6678
|
+
],
|
|
6304
6679
|
icon: ["hover:text-neutral-dark", "data-[disabled=true]:hover:text-neutral-light"]
|
|
6305
6680
|
}
|
|
6306
6681
|
},
|
|
6307
6682
|
{
|
|
6308
6683
|
variant: "underline",
|
|
6309
|
-
color: "neutral",
|
|
6310
6684
|
size: "sm",
|
|
6311
6685
|
class: {
|
|
6312
|
-
button: ["
|
|
6686
|
+
button: ["after:border-b-sm"]
|
|
6313
6687
|
}
|
|
6314
6688
|
},
|
|
6315
6689
|
{
|
|
6316
6690
|
variant: "underline",
|
|
6317
|
-
color: "neutral",
|
|
6318
6691
|
size: "md",
|
|
6319
6692
|
class: {
|
|
6320
|
-
button: ["
|
|
6693
|
+
button: ["after:border-b-md"]
|
|
6321
6694
|
}
|
|
6322
6695
|
},
|
|
6323
6696
|
{
|
|
6324
6697
|
variant: "underline",
|
|
6325
|
-
color: "neutral",
|
|
6326
6698
|
size: "lg",
|
|
6327
6699
|
class: {
|
|
6328
|
-
button: ["
|
|
6700
|
+
button: ["after:border-b-lg"]
|
|
6329
6701
|
}
|
|
6330
6702
|
},
|
|
6331
6703
|
{
|
|
6332
6704
|
variant: "underline",
|
|
6333
|
-
color: "neutral",
|
|
6334
6705
|
size: "xl",
|
|
6335
6706
|
class: {
|
|
6336
|
-
button: ["
|
|
6707
|
+
button: ["after:border-b-xl"]
|
|
6337
6708
|
}
|
|
6338
6709
|
}
|
|
6339
6710
|
],
|
|
@@ -6421,17 +6792,26 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6421
6792
|
const checkboxWidth = rowCheckbox ? 40 : 0;
|
|
6422
6793
|
return columnsWidth + checkboxWidth;
|
|
6423
6794
|
}, [columns, rowCheckbox]);
|
|
6795
|
+
const prevCheckedRef = (0, import_react6.useRef)("");
|
|
6424
6796
|
(0, import_react6.useEffect)(() => {
|
|
6425
|
-
|
|
6797
|
+
const currentCheckedStr = Array.from(checkedRowIds).sort().join(",");
|
|
6798
|
+
if (prevCheckedRef.current !== currentCheckedStr) {
|
|
6799
|
+
prevCheckedRef.current = currentCheckedStr;
|
|
6800
|
+
onCheckedRowsChange == null ? void 0 : onCheckedRowsChange(getCheckedRowData(checkedRowIds));
|
|
6801
|
+
}
|
|
6426
6802
|
}, [checkedRowIds]);
|
|
6427
6803
|
(0, import_react6.useEffect)(() => {
|
|
6428
6804
|
const currentRowIds = new Set(rows.map((row) => row.id));
|
|
6429
6805
|
const ids = Array.from(checkedRowIds);
|
|
6430
6806
|
const hasValidCheckedRows = ids.every((id) => currentRowIds.has(id));
|
|
6431
6807
|
if (!hasValidCheckedRows) {
|
|
6432
|
-
|
|
6808
|
+
const newCheckedSet = new Set(checkedRows == null ? void 0 : checkedRows.map((row) => row.id));
|
|
6809
|
+
const newCheckedStr = Array.from(newCheckedSet).sort().join(",");
|
|
6810
|
+
if (prevCheckedRef.current !== newCheckedStr) {
|
|
6811
|
+
setCheckedRowIds(newCheckedSet);
|
|
6812
|
+
}
|
|
6433
6813
|
}
|
|
6434
|
-
}, [rows
|
|
6814
|
+
}, [rows]);
|
|
6435
6815
|
(0, import_react6.useImperativeHandle)(
|
|
6436
6816
|
ref,
|
|
6437
6817
|
() => ({
|
|
@@ -6525,7 +6905,7 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6525
6905
|
color,
|
|
6526
6906
|
size: "sm",
|
|
6527
6907
|
currentPage: page,
|
|
6528
|
-
totalPage: Math.ceil(totalData / perPage),
|
|
6908
|
+
totalPage: Math.ceil(totalData / (perPage || 1)),
|
|
6529
6909
|
groupSize: paginationGroupSize,
|
|
6530
6910
|
showFirstLastButtons,
|
|
6531
6911
|
showPageLabel,
|
|
@@ -6538,11 +6918,11 @@ var Table = (0, import_react6.forwardRef)((originalProps, ref) => {
|
|
|
6538
6918
|
Table.displayName = "Table";
|
|
6539
6919
|
var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
6540
6920
|
slots: {
|
|
6541
|
-
base: ["flex", "flex-col", "relative", "select-none", "gap-
|
|
6921
|
+
base: ["flex", "flex-col", "relative", "select-none", "gap-20", "h-full", "min-h-0"],
|
|
6542
6922
|
scroll: [],
|
|
6543
6923
|
table: ["w-full", "h-auto"],
|
|
6544
|
-
thead: ["w-full"],
|
|
6545
|
-
tbody: ["w-full"],
|
|
6924
|
+
thead: ["w-full", "px-lg"],
|
|
6925
|
+
tbody: ["w-full", "[&>tr:hover]:bg-common-hover"],
|
|
6546
6926
|
tr: ["group/tr", "outline-none", "w-full", "h-full"],
|
|
6547
6927
|
th: [
|
|
6548
6928
|
"text-body-foreground",
|
|
@@ -6550,9 +6930,9 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6550
6930
|
"whitespace-nowrap",
|
|
6551
6931
|
"outline-none",
|
|
6552
6932
|
"align-middle",
|
|
6553
|
-
"px-[
|
|
6933
|
+
"px-[5px]",
|
|
6554
6934
|
"[&>div]:flex",
|
|
6555
|
-
"[&>div]:gap-
|
|
6935
|
+
"[&>div]:gap-10"
|
|
6556
6936
|
],
|
|
6557
6937
|
td: [
|
|
6558
6938
|
"relative",
|
|
@@ -6562,8 +6942,8 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6562
6942
|
"outline-none",
|
|
6563
6943
|
"[&>*]:z-1",
|
|
6564
6944
|
"[&>*]:relative",
|
|
6565
|
-
"px-[
|
|
6566
|
-
"gap-
|
|
6945
|
+
"px-[5px]",
|
|
6946
|
+
"gap-10",
|
|
6567
6947
|
"transition duration-200",
|
|
6568
6948
|
"align-middle"
|
|
6569
6949
|
],
|
|
@@ -6581,17 +6961,10 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6581
6961
|
},
|
|
6582
6962
|
variants: {
|
|
6583
6963
|
variant: {
|
|
6584
|
-
solid: {
|
|
6585
|
-
|
|
6586
|
-
},
|
|
6587
|
-
outline: {
|
|
6588
|
-
tbody: ["[&>td]:border"],
|
|
6589
|
-
th: ["border"],
|
|
6590
|
-
td: ["border"]
|
|
6591
|
-
},
|
|
6964
|
+
solid: {},
|
|
6965
|
+
outline: {},
|
|
6592
6966
|
underline: {
|
|
6593
|
-
|
|
6594
|
-
th: ["border-t-[2px]", "border-b"]
|
|
6967
|
+
th: ["bg-body-background", "border-t-[2px]", "border-b-[1px]"]
|
|
6595
6968
|
}
|
|
6596
6969
|
},
|
|
6597
6970
|
size: {
|
|
@@ -6630,26 +7003,32 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6630
7003
|
}
|
|
6631
7004
|
},
|
|
6632
7005
|
compoundVariants: [
|
|
7006
|
+
{ variant: "solid", size: "sm", class: { tbody: ["[&>tr]:border-b-sm"] } },
|
|
7007
|
+
{ variant: "solid", size: "md", class: { tbody: ["[&>tr]:border-b-md"] } },
|
|
7008
|
+
{ variant: "solid", size: "lg", class: { tbody: ["[&>tr]:border-b-lg"] } },
|
|
7009
|
+
{ variant: "solid", size: "xl", class: { tbody: ["[&>tr]:border-b-xl"] } },
|
|
7010
|
+
{ variant: "outline", size: "sm", class: { th: ["border-sm"], td: ["border-sm"] } },
|
|
7011
|
+
{ variant: "outline", size: "md", class: { th: ["border-md"], td: ["border-md"] } },
|
|
7012
|
+
{ variant: "outline", size: "lg", class: { th: ["border-lg"], td: ["border-lg"] } },
|
|
7013
|
+
{ variant: "outline", size: "xl", class: { th: ["border-xl"], td: ["border-xl"] } },
|
|
7014
|
+
{ variant: "underline", size: "sm", class: { tbody: ["[&>tr]:border-b-sm"], th: ["border-b-sm"] } },
|
|
7015
|
+
{ variant: "underline", size: "md", class: { tbody: ["[&>tr]:border-b-md"], th: ["border-b-md"] } },
|
|
7016
|
+
{ variant: "underline", size: "lg", class: { tbody: ["[&>tr]:border-b-lg"], th: ["border-b-lg"] } },
|
|
7017
|
+
{ variant: "underline", size: "xl", class: { tbody: ["[&>tr]:border-b-xl"], th: ["border-b-xl"] } },
|
|
6633
7018
|
{
|
|
6634
7019
|
variant: "solid",
|
|
6635
7020
|
color: "primary",
|
|
6636
|
-
class: {
|
|
6637
|
-
th: ["bg-primary-soft"]
|
|
6638
|
-
}
|
|
7021
|
+
class: { th: ["bg-primary-soft"] }
|
|
6639
7022
|
},
|
|
6640
7023
|
{
|
|
6641
7024
|
variant: "solid",
|
|
6642
7025
|
color: "secondary",
|
|
6643
|
-
class: {
|
|
6644
|
-
th: ["bg-secondary-soft"]
|
|
6645
|
-
}
|
|
7026
|
+
class: { th: ["bg-secondary-soft"] }
|
|
6646
7027
|
},
|
|
6647
7028
|
{
|
|
6648
7029
|
variant: "solid",
|
|
6649
7030
|
color: "neutral",
|
|
6650
|
-
class: {
|
|
6651
|
-
th: ["bg-neutral-soft"]
|
|
6652
|
-
}
|
|
7031
|
+
class: { th: ["bg-neutral-soft"] }
|
|
6653
7032
|
},
|
|
6654
7033
|
{
|
|
6655
7034
|
variant: "outline",
|
|
@@ -6679,21 +7058,21 @@ var tableStyle = (0, import_tailwind_variants6.tv)({
|
|
|
6679
7058
|
variant: "underline",
|
|
6680
7059
|
color: "primary",
|
|
6681
7060
|
class: {
|
|
6682
|
-
th: ["
|
|
7061
|
+
th: ["border-primary-light"]
|
|
6683
7062
|
}
|
|
6684
7063
|
},
|
|
6685
7064
|
{
|
|
6686
7065
|
variant: "underline",
|
|
6687
7066
|
color: "secondary",
|
|
6688
7067
|
class: {
|
|
6689
|
-
th: ["
|
|
7068
|
+
th: ["border-secondary-light"]
|
|
6690
7069
|
}
|
|
6691
7070
|
},
|
|
6692
7071
|
{
|
|
6693
7072
|
variant: "underline",
|
|
6694
7073
|
color: "neutral",
|
|
6695
7074
|
class: {
|
|
6696
|
-
th: ["
|
|
7075
|
+
th: ["border-neutral-light"]
|
|
6697
7076
|
}
|
|
6698
7077
|
},
|
|
6699
7078
|
{
|
|
@@ -6813,7 +7192,16 @@ function TableCell({
|
|
|
6813
7192
|
textOverflow: isTextContent ? "ellipsis" : void 0
|
|
6814
7193
|
},
|
|
6815
7194
|
title: showTitle && isTextContent ? String(content != null ? content : "") : void 0,
|
|
6816
|
-
children: content
|
|
7195
|
+
children: isTextContent ? content : /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
7196
|
+
"div",
|
|
7197
|
+
{
|
|
7198
|
+
className: clsx(
|
|
7199
|
+
"flex w-full items-center",
|
|
7200
|
+
column.align === "right" ? "justify-end" : column.align === "left" ? "justify-start" : "justify-center"
|
|
7201
|
+
),
|
|
7202
|
+
children: content
|
|
7203
|
+
}
|
|
7204
|
+
)
|
|
6817
7205
|
},
|
|
6818
7206
|
`${row.id}-${column.field}-${colIdx}-${rowIndex}`
|
|
6819
7207
|
);
|
|
@@ -6838,7 +7226,7 @@ var TableBody = ({
|
|
|
6838
7226
|
{
|
|
6839
7227
|
className: clsx(slots.td({ class: classNames == null ? void 0 : classNames.td }), "text-center"),
|
|
6840
7228
|
style: { width: "40px", minWidth: "40px", textAlign: "center" },
|
|
6841
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "data-checkbox": true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
|
|
7229
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { "data-checkbox": true, className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(checkbox_default, { size, checked: checkedRows.has(rowId), onChange: (e) => onCheckRow(rowId, e.target.checked) }) })
|
|
6842
7230
|
},
|
|
6843
7231
|
`checkbox-${rowId}-${rowIndex}`
|
|
6844
7232
|
);
|