@deepnoid/ui 0.1.144 → 0.1.146

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.
Files changed (109) hide show
  1. package/.turbo/turbo-build.log +166 -166
  2. package/dist/{chunk-MCBAEW2Q.mjs → chunk-2CLPU5LR.mjs} +1 -1
  3. package/dist/{chunk-YYL4LXS7.mjs → chunk-3D5ZOAUR.mjs} +4 -4
  4. package/dist/{chunk-P3PXIJTU.mjs → chunk-3IILPVRA.mjs} +1 -1
  5. package/dist/{chunk-2TDHQLVV.mjs → chunk-4DESGO3D.mjs} +1 -1
  6. package/dist/{chunk-GBVRYEVP.mjs → chunk-5HMTKXVV.mjs} +1 -1
  7. package/dist/{chunk-4ED5G3HR.mjs → chunk-5PJMKFMX.mjs} +1 -1
  8. package/dist/{chunk-QQMJQSD7.mjs → chunk-6EMUORXZ.mjs} +1 -1
  9. package/dist/{chunk-Y6TPXGN2.mjs → chunk-6F4GD2PP.mjs} +1 -1
  10. package/dist/{chunk-GXU7XPZX.mjs → chunk-7HWPWDYW.mjs} +2 -2
  11. package/dist/{chunk-IW2MDZBW.mjs → chunk-AF4I7ZQS.mjs} +1 -1
  12. package/dist/{chunk-76QIZILI.mjs → chunk-CDXBML6O.mjs} +3 -6
  13. package/dist/{chunk-FYDSBMWH.mjs → chunk-CSZQLOP5.mjs} +2 -2
  14. package/dist/{chunk-XL3K55LE.mjs → chunk-EKLA6ZR4.mjs} +1 -1
  15. package/dist/{chunk-DRFO5P44.mjs → chunk-EOP4227J.mjs} +1 -1
  16. package/dist/{chunk-IHLCZM5T.mjs → chunk-GCVS5SLN.mjs} +1 -1
  17. package/dist/{chunk-BTXDP4WR.mjs → chunk-H3UI2ZNK.mjs} +1 -1
  18. package/dist/{chunk-3U5NJTRH.mjs → chunk-H6JGLPPF.mjs} +1 -1
  19. package/dist/{chunk-CVXLLXLE.mjs → chunk-I3ADJOUT.mjs} +1 -1
  20. package/dist/{chunk-GUTGDPXH.mjs → chunk-ITWKPTSD.mjs} +1 -1
  21. package/dist/{chunk-LMQR4BWD.mjs → chunk-J64OQUOI.mjs} +3 -3
  22. package/dist/{chunk-OEFILEL3.mjs → chunk-JGQ5MLQ7.mjs} +1 -1
  23. package/dist/{chunk-T3BUL253.mjs → chunk-JZMJ5UMR.mjs} +1 -1
  24. package/dist/{chunk-J26Y2G5W.mjs → chunk-LWSGRTWO.mjs} +2 -2
  25. package/dist/{chunk-BQ2HWORN.mjs → chunk-M523N4SD.mjs} +6 -6
  26. package/dist/{chunk-UZBMLAXN.mjs → chunk-N5REYKOL.mjs} +58 -49
  27. package/dist/{chunk-BBRPAQON.mjs → chunk-NBJHZ4X2.mjs} +1 -1
  28. package/dist/{chunk-SDUDU3CU.mjs → chunk-Q364C3FI.mjs} +1 -1
  29. package/dist/{chunk-WPSKPHR3.mjs → chunk-QW7T3V5O.mjs} +1 -1
  30. package/dist/{chunk-5XV45JBV.mjs → chunk-S7Y7XUBL.mjs} +1 -1
  31. package/dist/{chunk-NCK5E2NL.mjs → chunk-U2MHQYVG.mjs} +1 -1
  32. package/dist/{chunk-YLHM5XCF.mjs → chunk-UMMZ7NI5.mjs} +1 -1
  33. package/dist/{chunk-TWDIAH3Z.mjs → chunk-UOVPR2VJ.mjs} +1 -1
  34. package/dist/{chunk-MG62SPLM.mjs → chunk-V4QN7YF6.mjs} +2 -2
  35. package/dist/{chunk-JOHU56C6.mjs → chunk-WD5NOXWK.mjs} +1 -1
  36. package/dist/{chunk-3CW4WUMY.mjs → chunk-WYEUAXY7.mjs} +1 -1
  37. package/dist/{chunk-YGOX6FBU.mjs → chunk-YBVJFHH6.mjs} +1 -1
  38. package/dist/components/accordion/accordion.mjs +2 -2
  39. package/dist/components/accordion/accordionItem.mjs +2 -2
  40. package/dist/components/accordion/index.mjs +3 -3
  41. package/dist/components/avatar/avatar.mjs +2 -2
  42. package/dist/components/avatar/index.mjs +2 -2
  43. package/dist/components/backdrop/backdrop.mjs +2 -2
  44. package/dist/components/backdrop/index.mjs +2 -2
  45. package/dist/components/breadcrumb/breadcrumb.mjs +6 -6
  46. package/dist/components/breadcrumb/index.mjs +6 -6
  47. package/dist/components/button/button-group.mjs +2 -2
  48. package/dist/components/button/button.mjs +2 -2
  49. package/dist/components/button/icon-button.mjs +2 -2
  50. package/dist/components/button/index.mjs +5 -5
  51. package/dist/components/button/text-button.mjs +2 -2
  52. package/dist/components/charts/areaChart.mjs +2 -2
  53. package/dist/components/charts/barChart.mjs +2 -2
  54. package/dist/components/charts/circularProgress.mjs +2 -2
  55. package/dist/components/charts/index.mjs +5 -5
  56. package/dist/components/charts/radarChart.mjs +2 -2
  57. package/dist/components/checkbox/checkbox.mjs +2 -2
  58. package/dist/components/checkbox/index.mjs +2 -2
  59. package/dist/components/chip/chip.mjs +2 -2
  60. package/dist/components/chip/index.mjs +2 -2
  61. package/dist/components/drawer/drawer.mjs +2 -2
  62. package/dist/components/drawer/index.mjs +2 -2
  63. package/dist/components/fileUpload/fileUpload.mjs +8 -8
  64. package/dist/components/fileUpload/index.mjs +8 -8
  65. package/dist/components/input/index.mjs +2 -2
  66. package/dist/components/input/input.mjs +2 -2
  67. package/dist/components/list/index.mjs +4 -4
  68. package/dist/components/list/list.mjs +2 -2
  69. package/dist/components/list/listItem.mjs +3 -3
  70. package/dist/components/modal/index.mjs +7 -7
  71. package/dist/components/modal/modal.mjs +7 -7
  72. package/dist/components/pagination/index.mjs +3 -3
  73. package/dist/components/pagination/pagination.mjs +3 -3
  74. package/dist/components/picker/datePicker.mjs +8 -8
  75. package/dist/components/picker/day.mjs +2 -2
  76. package/dist/components/picker/index.mjs +10 -10
  77. package/dist/components/picker/timePicker.mjs +3 -3
  78. package/dist/components/progress/index.mjs +2 -2
  79. package/dist/components/progress/progress.mjs +2 -2
  80. package/dist/components/radio/index.mjs +2 -2
  81. package/dist/components/radio/radio.mjs +2 -2
  82. package/dist/components/select/index.mjs +2 -2
  83. package/dist/components/select/select.mjs +2 -2
  84. package/dist/components/table/definition-table.mjs +2 -2
  85. package/dist/components/table/form-table.mjs +1 -1
  86. package/dist/components/table/index.js +56 -47
  87. package/dist/components/table/index.mjs +8 -8
  88. package/dist/components/table/table-body.js +56 -47
  89. package/dist/components/table/table-body.mjs +5 -5
  90. package/dist/components/table/table-head.js +56 -47
  91. package/dist/components/table/table-head.mjs +5 -5
  92. package/dist/components/table/table.d.mts +3 -0
  93. package/dist/components/table/table.d.ts +3 -0
  94. package/dist/components/table/table.js +56 -47
  95. package/dist/components/table/table.mjs +5 -5
  96. package/dist/components/tabs/index.mjs +2 -2
  97. package/dist/components/tabs/tabs.mjs +2 -2
  98. package/dist/components/timePicker/calendar.mjs +1 -1
  99. package/dist/components/toast/index.mjs +3 -3
  100. package/dist/components/toast/toast.mjs +2 -2
  101. package/dist/components/toast/use-toast.mjs +3 -3
  102. package/dist/components/tooltip/index.mjs +2 -2
  103. package/dist/components/tooltip/tooltip.mjs +2 -2
  104. package/dist/components/tree/index.mjs +2 -2
  105. package/dist/components/tree/tree.mjs +2 -2
  106. package/dist/index.js +59 -53
  107. package/dist/index.mjs +45 -45
  108. package/dist/utils/tailwind-variants.mjs +1 -1
  109. package/package.json +1 -1
@@ -86,6 +86,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
86
86
  };
87
87
  }, {
88
88
  base: string[];
89
+ scroll: string[];
89
90
  table: string[];
90
91
  thead: string[];
91
92
  tbody: string[];
@@ -146,6 +147,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
146
147
  };
147
148
  }, {
148
149
  base: string[];
150
+ scroll: string[];
149
151
  table: string[];
150
152
  thead: string[];
151
153
  tbody: string[];
@@ -206,6 +208,7 @@ declare const tableStyle: tailwind_variants.TVReturnType<{
206
208
  };
207
209
  }, {
208
210
  base: string[];
211
+ scroll: string[];
209
212
  table: string[];
210
213
  thead: string[];
211
214
  tbody: string[];
@@ -6328,52 +6328,60 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
6328
6328
  [variantProps, onRowClick]
6329
6329
  );
6330
6330
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
6331
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: [
6332
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
6333
- "table",
6334
- {
6335
- className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6336
- style: {
6337
- tableLayout: "fixed",
6338
- width: "100%",
6339
- minWidth: `${tableMinWidth}px`
6340
- },
6341
- children: [
6342
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6343
- table_head_default,
6344
- {
6345
- columns,
6346
- size,
6347
- color,
6348
- rowCheckbox,
6349
- hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6350
- onCheckAll: handleAllRowCheck,
6351
- classNames,
6352
- slots
6353
- }
6354
- ),
6355
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6356
- table_body_default,
6357
- {
6358
- slots,
6359
- rows,
6360
- columns,
6361
- size,
6362
- color,
6363
- rowCheckbox,
6364
- checkedRows: checkedRowIds,
6365
- onCheckRow: handleRowCheck,
6366
- onRowClick: handleRowClick,
6367
- isLoading,
6368
- emptyContent,
6369
- classNames
6370
- }
6371
- )
6372
- ]
6373
- }
6374
- ),
6375
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
6376
- ] }),
6331
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
6332
+ scrollArea_default,
6333
+ {
6334
+ direction: "both",
6335
+ size: size === "xl" ? "lg" : size,
6336
+ className: slots.scroll({ class: classNames == null ? void 0 : classNames.scroll }),
6337
+ children: [
6338
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
6339
+ "table",
6340
+ {
6341
+ className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
6342
+ style: {
6343
+ tableLayout: "fixed",
6344
+ width: "100%",
6345
+ minWidth: `${tableMinWidth}px`
6346
+ },
6347
+ children: [
6348
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6349
+ table_head_default,
6350
+ {
6351
+ columns,
6352
+ size,
6353
+ color,
6354
+ rowCheckbox,
6355
+ hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
6356
+ onCheckAll: handleAllRowCheck,
6357
+ classNames,
6358
+ slots
6359
+ }
6360
+ ),
6361
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6362
+ table_body_default,
6363
+ {
6364
+ slots,
6365
+ rows,
6366
+ columns,
6367
+ size,
6368
+ color,
6369
+ rowCheckbox,
6370
+ checkedRows: checkedRowIds,
6371
+ onCheckRow: handleRowCheck,
6372
+ onRowClick: handleRowClick,
6373
+ isLoading,
6374
+ emptyContent,
6375
+ classNames
6376
+ }
6377
+ )
6378
+ ]
6379
+ }
6380
+ ),
6381
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
6382
+ ]
6383
+ }
6384
+ ),
6377
6385
  showPagination && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
6378
6386
  pagination_default,
6379
6387
  {
@@ -6395,7 +6403,8 @@ Table.displayName = "Table";
6395
6403
  var table_default = Table;
6396
6404
  var tableStyle = (0, import_tailwind_variants6.tv)({
6397
6405
  slots: {
6398
- base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]"],
6406
+ base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]", "h-full", "min-h-0"],
6407
+ scroll: ["flex-1", "overflow-auto", "min-h-0"],
6399
6408
  table: ["w-full", "h-auto"],
6400
6409
  thead: ["w-full"],
6401
6410
  tbody: ["w-full"],
@@ -2,21 +2,21 @@
2
2
  import {
3
3
  getCellStyle,
4
4
  table_default
5
- } from "../../chunk-UZBMLAXN.mjs";
5
+ } from "../../chunk-N5REYKOL.mjs";
6
6
  import "../../chunk-7B7LRG5J.mjs";
7
- import "../../chunk-MG62SPLM.mjs";
7
+ import "../../chunk-V4QN7YF6.mjs";
8
8
  import "../../chunk-F3HENRVM.mjs";
9
9
  import "../../chunk-2GCSFWHD.mjs";
10
- import "../../chunk-JOHU56C6.mjs";
10
+ import "../../chunk-WD5NOXWK.mjs";
11
11
  import "../../chunk-DQRAFUDA.mjs";
12
12
  import "../../chunk-M37VBNB3.mjs";
13
13
  import "../../chunk-QZ3LVYJW.mjs";
14
- import "../../chunk-3U5NJTRH.mjs";
14
+ import "../../chunk-H6JGLPPF.mjs";
15
15
  import "../../chunk-ZYIIXWVY.mjs";
16
16
  import "../../chunk-Q6BXFXQM.mjs";
17
17
  import "../../chunk-E3G5QXSH.mjs";
18
18
  import "../../chunk-NX4FTFY3.mjs";
19
- import "../../chunk-76QIZILI.mjs";
19
+ import "../../chunk-CDXBML6O.mjs";
20
20
  import "../../chunk-27Y6K5NK.mjs";
21
21
  import "../../chunk-AC6TWLRT.mjs";
22
22
  export {
@@ -2,9 +2,9 @@
2
2
  import "../../chunk-3MY6LO7N.mjs";
3
3
  import {
4
4
  tabs_default
5
- } from "../../chunk-BBRPAQON.mjs";
5
+ } from "../../chunk-NBJHZ4X2.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
- import "../../chunk-76QIZILI.mjs";
7
+ import "../../chunk-CDXBML6O.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  tabs_default as Tabs
@@ -2,9 +2,9 @@
2
2
  import {
3
3
  tabs,
4
4
  tabs_default
5
- } from "../../chunk-BBRPAQON.mjs";
5
+ } from "../../chunk-NBJHZ4X2.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
- import "../../chunk-76QIZILI.mjs";
7
+ import "../../chunk-CDXBML6O.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  tabs_default as default,
@@ -13,7 +13,7 @@ import {
13
13
  import "../../chunk-NX4FTFY3.mjs";
14
14
  import {
15
15
  tv
16
- } from "../../chunk-76QIZILI.mjs";
16
+ } from "../../chunk-CDXBML6O.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
18
18
 
19
19
  // src/components/timePicker/calendar.tsx
@@ -3,16 +3,16 @@ import "../../chunk-LUWGOKLG.mjs";
3
3
  import {
4
4
  ToastProvider,
5
5
  useToast
6
- } from "../../chunk-YLHM5XCF.mjs";
6
+ } from "../../chunk-UMMZ7NI5.mjs";
7
7
  import "../../chunk-ZOTHPHXA.mjs";
8
8
  import {
9
9
  toast_default
10
- } from "../../chunk-DRFO5P44.mjs";
10
+ } from "../../chunk-EOP4227J.mjs";
11
11
  import "../../chunk-ZYIIXWVY.mjs";
12
12
  import "../../chunk-Q6BXFXQM.mjs";
13
13
  import "../../chunk-E3G5QXSH.mjs";
14
14
  import "../../chunk-NX4FTFY3.mjs";
15
- import "../../chunk-76QIZILI.mjs";
15
+ import "../../chunk-CDXBML6O.mjs";
16
16
  import "../../chunk-27Y6K5NK.mjs";
17
17
  import "../../chunk-AC6TWLRT.mjs";
18
18
  export {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  toast_default
4
- } from "../../chunk-DRFO5P44.mjs";
4
+ } from "../../chunk-EOP4227J.mjs";
5
5
  import "../../chunk-ZYIIXWVY.mjs";
6
6
  import "../../chunk-Q6BXFXQM.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
8
  import "../../chunk-NX4FTFY3.mjs";
9
- import "../../chunk-76QIZILI.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-YLHM5XCF.mjs";
5
+ } from "../../chunk-UMMZ7NI5.mjs";
6
6
  import "../../chunk-ZOTHPHXA.mjs";
7
- import "../../chunk-DRFO5P44.mjs";
7
+ import "../../chunk-EOP4227J.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
9
  import "../../chunk-Q6BXFXQM.mjs";
10
10
  import "../../chunk-E3G5QXSH.mjs";
11
11
  import "../../chunk-NX4FTFY3.mjs";
12
- import "../../chunk-76QIZILI.mjs";
12
+ import "../../chunk-CDXBML6O.mjs";
13
13
  import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
15
15
  export {
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-HIE2YRGA.mjs";
3
3
  import {
4
4
  tooltip_default
5
- } from "../../chunk-YGOX6FBU.mjs";
5
+ } from "../../chunk-YBVJFHH6.mjs";
6
6
  import "../../chunk-ZMOAFSYE.mjs";
7
7
  import "../../chunk-WSIADHVC.mjs";
8
8
  import "../../chunk-E3G5QXSH.mjs";
9
- import "../../chunk-76QIZILI.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-AC6TWLRT.mjs";
11
11
  export {
12
12
  tooltip_default as Tooltip
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  tooltip_default
4
- } from "../../chunk-YGOX6FBU.mjs";
4
+ } from "../../chunk-YBVJFHH6.mjs";
5
5
  import "../../chunk-ZMOAFSYE.mjs";
6
6
  import "../../chunk-WSIADHVC.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
- import "../../chunk-76QIZILI.mjs";
8
+ import "../../chunk-CDXBML6O.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  tooltip_default as default
@@ -2,11 +2,11 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-TWDIAH3Z.mjs";
5
+ } from "../../chunk-UOVPR2VJ.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-Q6BXFXQM.mjs";
8
8
  import "../../chunk-NX4FTFY3.mjs";
9
- import "../../chunk-76QIZILI.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  Tree,
4
4
  tree_default
5
- } from "../../chunk-TWDIAH3Z.mjs";
5
+ } from "../../chunk-UOVPR2VJ.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-Q6BXFXQM.mjs";
8
8
  import "../../chunk-NX4FTFY3.mjs";
9
- import "../../chunk-76QIZILI.mjs";
9
+ import "../../chunk-CDXBML6O.mjs";
10
10
  import "../../chunk-27Y6K5NK.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
package/dist/index.js CHANGED
@@ -548,8 +548,7 @@ var scrollbar = {
548
548
  height: "6px"
549
549
  },
550
550
  "&::-webkit-scrollbar-thumb": {
551
- backgroundColor: "#3F9CF2",
552
- // "rgba(0, 0, 0, 0.05)",
551
+ backgroundColor: "rgba(0, 0, 0, 0.05)",
553
552
  borderRadius: "100px"
554
553
  },
555
554
  "&::-webkit-scrollbar-track": {
@@ -562,8 +561,7 @@ var scrollbar = {
562
561
  height: "8px"
563
562
  },
564
563
  "&::-webkit-scrollbar-thumb": {
565
- backgroundColor: "#3F9CF2",
566
- // "rgba(0, 0, 0, 0.05)",
564
+ backgroundColor: "rgba(0, 0, 0, 0.05)",
567
565
  borderRadius: "100px"
568
566
  },
569
567
  "&::-webkit-scrollbar-track": {
@@ -576,8 +574,7 @@ var scrollbar = {
576
574
  height: "10px"
577
575
  },
578
576
  "&::-webkit-scrollbar-thumb": {
579
- backgroundColor: "#3F9CF2",
580
- // "rgba(0, 0, 0, 0.05)",
577
+ backgroundColor: "rgba(0, 0, 0, 0.05)",
581
578
  borderRadius: "100px"
582
579
  },
583
580
  "&::-webkit-scrollbar-track": {
@@ -8676,52 +8673,60 @@ var Table = (0, import_react17.forwardRef)((originalProps, ref) => {
8676
8673
  [variantProps, onRowClick]
8677
8674
  );
8678
8675
  return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)("div", { "data-table": "base", className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
8679
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(scrollArea_default, { direction: "x", size: size === "xl" ? "lg" : size, children: [
8680
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
8681
- "table",
8682
- {
8683
- className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
8684
- style: {
8685
- tableLayout: "fixed",
8686
- width: "100%",
8687
- minWidth: `${tableMinWidth}px`
8688
- },
8689
- children: [
8690
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8691
- table_head_default,
8692
- {
8693
- columns,
8694
- size,
8695
- color,
8696
- rowCheckbox,
8697
- hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
8698
- onCheckAll: handleAllRowCheck,
8699
- classNames,
8700
- slots
8701
- }
8702
- ),
8703
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8704
- table_body_default,
8705
- {
8706
- slots,
8707
- rows,
8708
- columns,
8709
- size,
8710
- color,
8711
- rowCheckbox,
8712
- checkedRows: checkedRowIds,
8713
- onCheckRow: handleRowCheck,
8714
- onRowClick: handleRowClick,
8715
- isLoading,
8716
- emptyContent,
8717
- classNames
8718
- }
8719
- )
8720
- ]
8721
- }
8722
- ),
8723
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
8724
- ] }),
8676
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
8677
+ scrollArea_default,
8678
+ {
8679
+ direction: "both",
8680
+ size: size === "xl" ? "lg" : size,
8681
+ className: slots.scroll({ class: classNames == null ? void 0 : classNames.scroll }),
8682
+ children: [
8683
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
8684
+ "table",
8685
+ {
8686
+ className: slots.table({ class: classNames == null ? void 0 : classNames.table }),
8687
+ style: {
8688
+ tableLayout: "fixed",
8689
+ width: "100%",
8690
+ minWidth: `${tableMinWidth}px`
8691
+ },
8692
+ children: [
8693
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8694
+ table_head_default,
8695
+ {
8696
+ columns,
8697
+ size,
8698
+ color,
8699
+ rowCheckbox,
8700
+ hasCheckedRows: rows.length > 0 && rows.every((row) => checkedRowIds.has(row.id)),
8701
+ onCheckAll: handleAllRowCheck,
8702
+ classNames,
8703
+ slots
8704
+ }
8705
+ ),
8706
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8707
+ table_body_default,
8708
+ {
8709
+ slots,
8710
+ rows,
8711
+ columns,
8712
+ size,
8713
+ color,
8714
+ rowCheckbox,
8715
+ checkedRows: checkedRowIds,
8716
+ onCheckRow: handleRowCheck,
8717
+ onRowClick: handleRowClick,
8718
+ isLoading,
8719
+ emptyContent,
8720
+ classNames
8721
+ }
8722
+ )
8723
+ ]
8724
+ }
8725
+ ),
8726
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: slots.overlay({ class: classNames == null ? void 0 : classNames.overlay }) })
8727
+ ]
8728
+ }
8729
+ ),
8725
8730
  showPagination && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
8726
8731
  pagination_default,
8727
8732
  {
@@ -8743,7 +8748,8 @@ Table.displayName = "Table";
8743
8748
  var table_default = Table;
8744
8749
  var tableStyle = (0, import_tailwind_variants17.tv)({
8745
8750
  slots: {
8746
- base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]"],
8751
+ base: ["flex", "flex-col", "relative", "select-none", "gap-[20px]", "h-full", "min-h-0"],
8752
+ scroll: ["flex-1", "overflow-auto", "min-h-0"],
8747
8753
  table: ["w-full", "h-auto"],
8748
8754
  thead: ["w-full"],
8749
8755
  tbody: ["w-full"],