@deepnoid/ui 0.1.31 → 0.1.33

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 (37) hide show
  1. package/.turbo/turbo-build.log +138 -138
  2. package/dist/{chunk-EBRCE7XY.mjs → chunk-2M5G4MRK.mjs} +4 -4
  3. package/dist/{chunk-62X5AX5B.mjs → chunk-4EIGHKUO.mjs} +7 -11
  4. package/dist/{chunk-K7V4VE7R.mjs → chunk-C7AFIF2M.mjs} +4 -4
  5. package/dist/{chunk-AIIMJZ7L.mjs → chunk-GH6CPGFN.mjs} +25 -20
  6. package/dist/{chunk-CVQM3T2X.mjs → chunk-MCNCHQ33.mjs} +1 -1
  7. package/dist/{chunk-BCMVEGJG.mjs → chunk-PSO2IJIF.mjs} +1 -1
  8. package/dist/components/dateTimePicker/dateTimePicker.mjs +4 -4
  9. package/dist/components/dateTimePicker/index.mjs +4 -4
  10. package/dist/components/dateTimePicker/timePicker.mjs +2 -2
  11. package/dist/components/fileUpload/fileUpload.js +25 -20
  12. package/dist/components/fileUpload/fileUpload.mjs +2 -2
  13. package/dist/components/fileUpload/index.js +25 -20
  14. package/dist/components/fileUpload/index.mjs +2 -2
  15. package/dist/components/input/index.js +25 -20
  16. package/dist/components/input/index.mjs +1 -1
  17. package/dist/components/input/input.d.mts +3 -0
  18. package/dist/components/input/input.d.ts +3 -0
  19. package/dist/components/input/input.js +25 -20
  20. package/dist/components/input/input.mjs +1 -1
  21. package/dist/components/list/index.mjs +3 -3
  22. package/dist/components/pagination/index.js +25 -20
  23. package/dist/components/pagination/index.mjs +2 -2
  24. package/dist/components/pagination/pagination.js +25 -20
  25. package/dist/components/pagination/pagination.mjs +2 -2
  26. package/dist/components/table/index.js +28 -23
  27. package/dist/components/table/index.mjs +3 -3
  28. package/dist/components/table/table.js +28 -23
  29. package/dist/components/table/table.mjs +3 -3
  30. package/dist/components/textarea/index.js +7 -11
  31. package/dist/components/textarea/index.mjs +1 -1
  32. package/dist/components/textarea/textarea.js +7 -11
  33. package/dist/components/textarea/textarea.mjs +1 -1
  34. package/dist/index.js +35 -34
  35. package/dist/index.mjs +23 -23
  36. package/package.json +1 -1
  37. package/dist/{chunk-BFOK4HVC.mjs → chunk-KYJTZPXY.mjs} +3 -3
@@ -4532,12 +4532,13 @@ var inputStyle = tv(
4532
4532
  "placeholder:text-neutral-main",
4533
4533
  "outline-none",
4534
4534
  "focus:ring-0",
4535
- "group-has-[:hover]/input:!text-neutral-dark",
4536
- "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4535
+ "group-has-[:hover]/input:text-neutral-dark",
4536
+ "group-has-[:hover]/input:placeholder:text-neutral-dark",
4537
4537
  "group-has-[:focus]/input:text-neutral-dark",
4538
4538
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4539
4539
  "group-has-[p.error]/input:text-danger-main",
4540
- "group-has-[p.error]/input:placeholder:text-danger-main"
4540
+ "group-has-[p.error]/input:placeholder:text-danger-main",
4541
+ "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
4541
4542
  ],
4542
4543
  content: [
4543
4544
  "flex",
@@ -4545,9 +4546,17 @@ var inputStyle = tv(
4545
4546
  "select-none",
4546
4547
  "text-neutral-main",
4547
4548
  "group-has-[:hover]/input:text-neutral-dark",
4548
- "group-has-[p.error]/input:text-danger-main"
4549
+ "group-has-[p.error]/input:text-danger-main",
4550
+ "group-has-[p.error]/input:hover:text-danger-main",
4551
+ "group-has-[p.error]/input:focus:text-danger-main"
4552
+ ],
4553
+ helperMessage: [
4554
+ "text-neutral-main",
4555
+ "group-has-[:hover]/input:text-neutral-dark",
4556
+ "group-has-[p.error]/input:text-danger-main",
4557
+ "group-has-[p.error]/input:hover:text-danger-main",
4558
+ "group-has-[p.error]/input:focus:text-danger-main"
4549
4559
  ],
4550
- helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4551
4560
  errorMessage: ["text-danger-main"],
4552
4561
  readonlyWrapper: [
4553
4562
  "pointer-events-none",
@@ -4588,27 +4597,23 @@ var inputStyle = tv(
4588
4597
  },
4589
4598
  color: {
4590
4599
  primary: {
4591
- content: [
4592
- "group-has-[:focus]/input:!text-primary-main",
4593
- "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4594
- ],
4600
+ content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
4595
4601
  helperMessage: [
4596
- "group-has-[:focus]/input:!text-primary-main",
4597
- "group-has-[:focus:hover]/input:!text-primary-main",
4598
- "group-has-[:focus]/input:hover:!text-primary-main"
4602
+ "group-has-[:focus]/input:text-primary-main",
4603
+ "group-has-[:focus]/input:hover:text-primary-main"
4599
4604
  ],
4600
- readonly: ["!text-primary-main"]
4605
+ readonly: ["text-primary-main"]
4601
4606
  },
4602
4607
  secondary: {
4603
4608
  content: [
4604
- "group-has-[:focus]/input:!text-secondary-main",
4605
- "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
4609
+ "group-has-[:focus]/input:text-secondary-main",
4610
+ "group-has-[:focus]/input:hover:text-secondary-main"
4606
4611
  ],
4607
4612
  helperMessage: [
4608
- "group-has-[:focus]/input:!text-secondary-main",
4609
- "group-has-[:focus:hover]/input:!text-secondary-main",
4610
- "group-has-[:focus]/input:hover:!text-secondary-main"
4611
- ]
4613
+ "group-has-[:focus]/input:text-secondary-main",
4614
+ "group-has-[:focus]/input:hover:text-secondary-main"
4615
+ ],
4616
+ readonly: ["text-secondary-main"]
4612
4617
  }
4613
4618
  },
4614
4619
  size: {
@@ -4665,7 +4670,7 @@ var inputStyle = tv(
4665
4670
  "group-has-[p.error]/input:!text-danger-light",
4666
4671
  "group-has-[p.error]/input:placeholder:!text-danger-light"
4667
4672
  ],
4668
- content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4673
+ content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
4669
4674
  helperMessage: ["!text-neutral-light"],
4670
4675
  errorMessage: ["!text-danger-light"]
4671
4676
  }
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-7B7LRG5J.mjs";
3
3
  import {
4
4
  pagination_default
5
- } from "../../chunk-CVQM3T2X.mjs";
5
+ } from "../../chunk-MCNCHQ33.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-AIIMJZ7L.mjs";
8
+ import "../../chunk-GH6CPGFN.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-2TKEWFGH.mjs";
11
11
  import "../../chunk-2SDYFOZL.mjs";
@@ -4531,12 +4531,13 @@ var inputStyle = tv(
4531
4531
  "placeholder:text-neutral-main",
4532
4532
  "outline-none",
4533
4533
  "focus:ring-0",
4534
- "group-has-[:hover]/input:!text-neutral-dark",
4535
- "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4534
+ "group-has-[:hover]/input:text-neutral-dark",
4535
+ "group-has-[:hover]/input:placeholder:text-neutral-dark",
4536
4536
  "group-has-[:focus]/input:text-neutral-dark",
4537
4537
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4538
4538
  "group-has-[p.error]/input:text-danger-main",
4539
- "group-has-[p.error]/input:placeholder:text-danger-main"
4539
+ "group-has-[p.error]/input:placeholder:text-danger-main",
4540
+ "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
4540
4541
  ],
4541
4542
  content: [
4542
4543
  "flex",
@@ -4544,9 +4545,17 @@ var inputStyle = tv(
4544
4545
  "select-none",
4545
4546
  "text-neutral-main",
4546
4547
  "group-has-[:hover]/input:text-neutral-dark",
4547
- "group-has-[p.error]/input:text-danger-main"
4548
+ "group-has-[p.error]/input:text-danger-main",
4549
+ "group-has-[p.error]/input:hover:text-danger-main",
4550
+ "group-has-[p.error]/input:focus:text-danger-main"
4551
+ ],
4552
+ helperMessage: [
4553
+ "text-neutral-main",
4554
+ "group-has-[:hover]/input:text-neutral-dark",
4555
+ "group-has-[p.error]/input:text-danger-main",
4556
+ "group-has-[p.error]/input:hover:text-danger-main",
4557
+ "group-has-[p.error]/input:focus:text-danger-main"
4548
4558
  ],
4549
- helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4550
4559
  errorMessage: ["text-danger-main"],
4551
4560
  readonlyWrapper: [
4552
4561
  "pointer-events-none",
@@ -4587,27 +4596,23 @@ var inputStyle = tv(
4587
4596
  },
4588
4597
  color: {
4589
4598
  primary: {
4590
- content: [
4591
- "group-has-[:focus]/input:!text-primary-main",
4592
- "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4593
- ],
4599
+ content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
4594
4600
  helperMessage: [
4595
- "group-has-[:focus]/input:!text-primary-main",
4596
- "group-has-[:focus:hover]/input:!text-primary-main",
4597
- "group-has-[:focus]/input:hover:!text-primary-main"
4601
+ "group-has-[:focus]/input:text-primary-main",
4602
+ "group-has-[:focus]/input:hover:text-primary-main"
4598
4603
  ],
4599
- readonly: ["!text-primary-main"]
4604
+ readonly: ["text-primary-main"]
4600
4605
  },
4601
4606
  secondary: {
4602
4607
  content: [
4603
- "group-has-[:focus]/input:!text-secondary-main",
4604
- "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
4608
+ "group-has-[:focus]/input:text-secondary-main",
4609
+ "group-has-[:focus]/input:hover:text-secondary-main"
4605
4610
  ],
4606
4611
  helperMessage: [
4607
- "group-has-[:focus]/input:!text-secondary-main",
4608
- "group-has-[:focus:hover]/input:!text-secondary-main",
4609
- "group-has-[:focus]/input:hover:!text-secondary-main"
4610
- ]
4612
+ "group-has-[:focus]/input:text-secondary-main",
4613
+ "group-has-[:focus]/input:hover:text-secondary-main"
4614
+ ],
4615
+ readonly: ["text-secondary-main"]
4611
4616
  }
4612
4617
  },
4613
4618
  size: {
@@ -4664,7 +4669,7 @@ var inputStyle = tv(
4664
4669
  "group-has-[p.error]/input:!text-danger-light",
4665
4670
  "group-has-[p.error]/input:placeholder:!text-danger-light"
4666
4671
  ],
4667
- content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
4672
+ content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
4668
4673
  helperMessage: ["!text-neutral-light"],
4669
4674
  errorMessage: ["!text-danger-light"]
4670
4675
  }
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  paginationStyle,
4
4
  pagination_default
5
- } from "../../chunk-CVQM3T2X.mjs";
5
+ } from "../../chunk-MCNCHQ33.mjs";
6
6
  import "../../chunk-F3HENRVM.mjs";
7
7
  import "../../chunk-2GCSFWHD.mjs";
8
- import "../../chunk-AIIMJZ7L.mjs";
8
+ import "../../chunk-GH6CPGFN.mjs";
9
9
  import "../../chunk-ZYIIXWVY.mjs";
10
10
  import "../../chunk-2TKEWFGH.mjs";
11
11
  import "../../chunk-2SDYFOZL.mjs";
@@ -4934,12 +4934,13 @@ var inputStyle = tv(
4934
4934
  "placeholder:text-neutral-main",
4935
4935
  "outline-none",
4936
4936
  "focus:ring-0",
4937
- "group-has-[:hover]/input:!text-neutral-dark",
4938
- "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4937
+ "group-has-[:hover]/input:text-neutral-dark",
4938
+ "group-has-[:hover]/input:placeholder:text-neutral-dark",
4939
4939
  "group-has-[:focus]/input:text-neutral-dark",
4940
4940
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4941
4941
  "group-has-[p.error]/input:text-danger-main",
4942
- "group-has-[p.error]/input:placeholder:text-danger-main"
4942
+ "group-has-[p.error]/input:placeholder:text-danger-main",
4943
+ "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
4943
4944
  ],
4944
4945
  content: [
4945
4946
  "flex",
@@ -4947,9 +4948,17 @@ var inputStyle = tv(
4947
4948
  "select-none",
4948
4949
  "text-neutral-main",
4949
4950
  "group-has-[:hover]/input:text-neutral-dark",
4950
- "group-has-[p.error]/input:text-danger-main"
4951
+ "group-has-[p.error]/input:text-danger-main",
4952
+ "group-has-[p.error]/input:hover:text-danger-main",
4953
+ "group-has-[p.error]/input:focus:text-danger-main"
4954
+ ],
4955
+ helperMessage: [
4956
+ "text-neutral-main",
4957
+ "group-has-[:hover]/input:text-neutral-dark",
4958
+ "group-has-[p.error]/input:text-danger-main",
4959
+ "group-has-[p.error]/input:hover:text-danger-main",
4960
+ "group-has-[p.error]/input:focus:text-danger-main"
4951
4961
  ],
4952
- helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4953
4962
  errorMessage: ["text-danger-main"],
4954
4963
  readonlyWrapper: [
4955
4964
  "pointer-events-none",
@@ -4990,27 +4999,23 @@ var inputStyle = tv(
4990
4999
  },
4991
5000
  color: {
4992
5001
  primary: {
4993
- content: [
4994
- "group-has-[:focus]/input:!text-primary-main",
4995
- "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4996
- ],
5002
+ content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
4997
5003
  helperMessage: [
4998
- "group-has-[:focus]/input:!text-primary-main",
4999
- "group-has-[:focus:hover]/input:!text-primary-main",
5000
- "group-has-[:focus]/input:hover:!text-primary-main"
5004
+ "group-has-[:focus]/input:text-primary-main",
5005
+ "group-has-[:focus]/input:hover:text-primary-main"
5001
5006
  ],
5002
- readonly: ["!text-primary-main"]
5007
+ readonly: ["text-primary-main"]
5003
5008
  },
5004
5009
  secondary: {
5005
5010
  content: [
5006
- "group-has-[:focus]/input:!text-secondary-main",
5007
- "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
5011
+ "group-has-[:focus]/input:text-secondary-main",
5012
+ "group-has-[:focus]/input:hover:text-secondary-main"
5008
5013
  ],
5009
5014
  helperMessage: [
5010
- "group-has-[:focus]/input:!text-secondary-main",
5011
- "group-has-[:focus:hover]/input:!text-secondary-main",
5012
- "group-has-[:focus]/input:hover:!text-secondary-main"
5013
- ]
5015
+ "group-has-[:focus]/input:text-secondary-main",
5016
+ "group-has-[:focus]/input:hover:text-secondary-main"
5017
+ ],
5018
+ readonly: ["text-secondary-main"]
5014
5019
  }
5015
5020
  },
5016
5021
  size: {
@@ -5067,7 +5072,7 @@ var inputStyle = tv(
5067
5072
  "group-has-[p.error]/input:!text-danger-light",
5068
5073
  "group-has-[p.error]/input:placeholder:!text-danger-light"
5069
5074
  ],
5070
- content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
5075
+ content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5071
5076
  helperMessage: ["!text-neutral-light"],
5072
5077
  errorMessage: ["!text-danger-light"]
5073
5078
  }
@@ -5459,7 +5464,7 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
5459
5464
  columns,
5460
5465
  rowCheckbox = false,
5461
5466
  onRowClick,
5462
- totalData,
5467
+ totalData = 0,
5463
5468
  pagination,
5464
5469
  onPageChange,
5465
5470
  emptyContent,
@@ -5469,8 +5474,8 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
5469
5474
  size,
5470
5475
  skeletonRow
5471
5476
  } = { ...props, ...variantProps };
5472
- const { page = 1, perPage = 10 } = pagination || {};
5473
- const showPagination = pagination && typeof totalData === "number" && !isLoading;
5477
+ const { page = 1, perPage = 15 } = pagination || {};
5478
+ const showPagination = pagination && totalData > 0 && !isLoading;
5474
5479
  const [checkedRows, setCheckedRows] = (0, import_react5.useState)(/* @__PURE__ */ new Set());
5475
5480
  const divRef = (0, import_react5.useRef)(null);
5476
5481
  (0, import_react5.useImperativeHandle)(
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-DX3KXNP6.mjs";
3
3
  import {
4
4
  table_default
5
- } from "../../chunk-EBRCE7XY.mjs";
5
+ } from "../../chunk-2M5G4MRK.mjs";
6
6
  import {
7
7
  definition_table_default
8
8
  } from "../../chunk-6TIIBU7J.mjs";
@@ -13,10 +13,10 @@ import "../../chunk-M37VBNB3.mjs";
13
13
  import "../../chunk-MZ76AA76.mjs";
14
14
  import "../../chunk-6PN3DGOE.mjs";
15
15
  import "../../chunk-7B7LRG5J.mjs";
16
- import "../../chunk-CVQM3T2X.mjs";
16
+ import "../../chunk-MCNCHQ33.mjs";
17
17
  import "../../chunk-F3HENRVM.mjs";
18
18
  import "../../chunk-2GCSFWHD.mjs";
19
- import "../../chunk-AIIMJZ7L.mjs";
19
+ import "../../chunk-GH6CPGFN.mjs";
20
20
  import "../../chunk-QZ3LVYJW.mjs";
21
21
  import "../../chunk-D6QI3DJG.mjs";
22
22
  import "../../chunk-ZYIIXWVY.mjs";
@@ -4931,12 +4931,13 @@ var inputStyle = tv(
4931
4931
  "placeholder:text-neutral-main",
4932
4932
  "outline-none",
4933
4933
  "focus:ring-0",
4934
- "group-has-[:hover]/input:!text-neutral-dark",
4935
- "group-has-[:hover]/input:placeholder:!text-neutral-dark",
4934
+ "group-has-[:hover]/input:text-neutral-dark",
4935
+ "group-has-[:hover]/input:placeholder:text-neutral-dark",
4936
4936
  "group-has-[:focus]/input:text-neutral-dark",
4937
4937
  "group-has-[:focus]/input:placeholder:text-neutral-dark",
4938
4938
  "group-has-[p.error]/input:text-danger-main",
4939
- "group-has-[p.error]/input:placeholder:text-danger-main"
4939
+ "group-has-[p.error]/input:placeholder:text-danger-main",
4940
+ "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
4940
4941
  ],
4941
4942
  content: [
4942
4943
  "flex",
@@ -4944,9 +4945,17 @@ var inputStyle = tv(
4944
4945
  "select-none",
4945
4946
  "text-neutral-main",
4946
4947
  "group-has-[:hover]/input:text-neutral-dark",
4947
- "group-has-[p.error]/input:text-danger-main"
4948
+ "group-has-[p.error]/input:text-danger-main",
4949
+ "group-has-[p.error]/input:hover:text-danger-main",
4950
+ "group-has-[p.error]/input:focus:text-danger-main"
4951
+ ],
4952
+ helperMessage: [
4953
+ "text-neutral-main",
4954
+ "group-has-[:hover]/input:text-neutral-dark",
4955
+ "group-has-[p.error]/input:text-danger-main",
4956
+ "group-has-[p.error]/input:hover:text-danger-main",
4957
+ "group-has-[p.error]/input:focus:text-danger-main"
4948
4958
  ],
4949
- helperMessage: ["text-neutral-main", "group-has-[:hover]/input:text-neutral-dark"],
4950
4959
  errorMessage: ["text-danger-main"],
4951
4960
  readonlyWrapper: [
4952
4961
  "pointer-events-none",
@@ -4987,27 +4996,23 @@ var inputStyle = tv(
4987
4996
  },
4988
4997
  color: {
4989
4998
  primary: {
4990
- content: [
4991
- "group-has-[:focus]/input:!text-primary-main",
4992
- "group-has-[p.error]:not(input:focus):hover/input:!text-primary-main"
4993
- ],
4999
+ content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
4994
5000
  helperMessage: [
4995
- "group-has-[:focus]/input:!text-primary-main",
4996
- "group-has-[:focus:hover]/input:!text-primary-main",
4997
- "group-has-[:focus]/input:hover:!text-primary-main"
5001
+ "group-has-[:focus]/input:text-primary-main",
5002
+ "group-has-[:focus]/input:hover:text-primary-main"
4998
5003
  ],
4999
- readonly: ["!text-primary-main"]
5004
+ readonly: ["text-primary-main"]
5000
5005
  },
5001
5006
  secondary: {
5002
5007
  content: [
5003
- "group-has-[:focus]/input:!text-secondary-main",
5004
- "group-has-[p.error]:not(input:focus):hover/input:!text-secondary-main"
5008
+ "group-has-[:focus]/input:text-secondary-main",
5009
+ "group-has-[:focus]/input:hover:text-secondary-main"
5005
5010
  ],
5006
5011
  helperMessage: [
5007
- "group-has-[:focus]/input:!text-secondary-main",
5008
- "group-has-[:focus:hover]/input:!text-secondary-main",
5009
- "group-has-[:focus]/input:hover:!text-secondary-main"
5010
- ]
5012
+ "group-has-[:focus]/input:text-secondary-main",
5013
+ "group-has-[:focus]/input:hover:text-secondary-main"
5014
+ ],
5015
+ readonly: ["text-secondary-main"]
5011
5016
  }
5012
5017
  },
5013
5018
  size: {
@@ -5064,7 +5069,7 @@ var inputStyle = tv(
5064
5069
  "group-has-[p.error]/input:!text-danger-light",
5065
5070
  "group-has-[p.error]/input:placeholder:!text-danger-light"
5066
5071
  ],
5067
- content: ["!text-neutral-light", "group-has-[p.error]/input:text-danger-light"],
5072
+ content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5068
5073
  helperMessage: ["!text-neutral-light"],
5069
5074
  errorMessage: ["!text-danger-light"]
5070
5075
  }
@@ -5456,7 +5461,7 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
5456
5461
  columns,
5457
5462
  rowCheckbox = false,
5458
5463
  onRowClick,
5459
- totalData,
5464
+ totalData = 0,
5460
5465
  pagination,
5461
5466
  onPageChange,
5462
5467
  emptyContent,
@@ -5466,8 +5471,8 @@ var Table = (0, import_react5.forwardRef)((originalProps, ref) => {
5466
5471
  size,
5467
5472
  skeletonRow
5468
5473
  } = { ...props, ...variantProps };
5469
- const { page = 1, perPage = 10 } = pagination || {};
5470
- const showPagination = pagination && typeof totalData === "number" && !isLoading;
5474
+ const { page = 1, perPage = 15 } = pagination || {};
5475
+ const showPagination = pagination && totalData > 0 && !isLoading;
5471
5476
  const [checkedRows, setCheckedRows] = (0, import_react5.useState)(/* @__PURE__ */ new Set());
5472
5477
  const divRef = (0, import_react5.useRef)(null);
5473
5478
  (0, import_react5.useImperativeHandle)(
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  table_default
4
- } from "../../chunk-EBRCE7XY.mjs";
4
+ } from "../../chunk-2M5G4MRK.mjs";
5
5
  import "../../chunk-LWRK5TPZ.mjs";
6
6
  import "../../chunk-P7YYNA6L.mjs";
7
7
  import "../../chunk-DQRAFUDA.mjs";
@@ -9,10 +9,10 @@ import "../../chunk-M37VBNB3.mjs";
9
9
  import "../../chunk-MZ76AA76.mjs";
10
10
  import "../../chunk-6PN3DGOE.mjs";
11
11
  import "../../chunk-7B7LRG5J.mjs";
12
- import "../../chunk-CVQM3T2X.mjs";
12
+ import "../../chunk-MCNCHQ33.mjs";
13
13
  import "../../chunk-F3HENRVM.mjs";
14
14
  import "../../chunk-2GCSFWHD.mjs";
15
- import "../../chunk-AIIMJZ7L.mjs";
15
+ import "../../chunk-GH6CPGFN.mjs";
16
16
  import "../../chunk-QZ3LVYJW.mjs";
17
17
  import "../../chunk-D6QI3DJG.mjs";
18
18
  import "../../chunk-ZYIIXWVY.mjs";
@@ -202,13 +202,15 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
202
202
  "group-has-[:focus]/textarea:!text-neutral-dark",
203
203
  "group-has-[:focus]/textarea:placeholder:!text-neutral-dark",
204
204
  "group-has-[p.error]/textarea:bg-danger-soft",
205
- "group-has-[p.error]/textarea:text-danger-main",
205
+ "group-has-[p.error]/textarea:!text-danger-main",
206
206
  "group-has-[p.error]/textarea:placeholder:!text-danger-main"
207
207
  ],
208
208
  helperMessage: [
209
209
  "text-neutral-main",
210
210
  "group-has-[:hover]/textarea:text-neutral-dark",
211
- "group-has-[p.error]/textarea:text-danger-main"
211
+ "group-has-[p.error]/textarea:text-danger-main",
212
+ "group-has-[p.error]/textarea:hover:text-danger-main",
213
+ "group-has-[p.error]/textarea:focus:text-danger-main"
212
214
  ],
213
215
  errorMessage: ["text-danger-main"],
214
216
  readonlyWrapper: [
@@ -237,21 +239,15 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
237
239
  color: {
238
240
  primary: {
239
241
  helperMessage: [
240
- "group-has-[:focus]/textarea:!text-primary-main",
241
- "group-has-[:focus]/textarea:!text-primary-main",
242
- "group-has-[:focus]/textarea:hover:!text-primary-main",
243
- "group-has-[:focus:hover]/textarea:!text-primary-main",
244
- "group-has-[p.error]:not(textarea:focus):hover/textarea:!text-primary-main"
242
+ "group-has-[:focus]/textarea:text-primary-main",
243
+ "group-has-[:focus]/textarea:hover:text-primary-main"
245
244
  ],
246
245
  readonly: ["!text-primary-main"]
247
246
  },
248
247
  secondary: {
249
248
  helperMessage: [
250
249
  "group-has-[:focus]/textarea:text-secondary-main",
251
- "group-has-[:focus]/textarea:text-secondary-main",
252
- "group-has-[:focus]/textarea:hover:text-secondary-main",
253
- "group-has-[:focus:hover]/textarea:text-secondary-main",
254
- "group-has-[p.error]:not(textarea:focus):hover/textarea:!text-secondary-main"
250
+ "group-has-[:focus]/textarea:hover:text-secondary-main"
255
251
  ],
256
252
  readonly: ["!text-secondary-main"]
257
253
  }
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-RRAZM5D3.mjs";
3
3
  import {
4
4
  textarea_default
5
- } from "../../chunk-62X5AX5B.mjs";
5
+ } from "../../chunk-4EIGHKUO.mjs";
6
6
  import "../../chunk-27Y6K5NK.mjs";
7
7
  import "../../chunk-E3G5QXSH.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
@@ -200,13 +200,15 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
200
200
  "group-has-[:focus]/textarea:!text-neutral-dark",
201
201
  "group-has-[:focus]/textarea:placeholder:!text-neutral-dark",
202
202
  "group-has-[p.error]/textarea:bg-danger-soft",
203
- "group-has-[p.error]/textarea:text-danger-main",
203
+ "group-has-[p.error]/textarea:!text-danger-main",
204
204
  "group-has-[p.error]/textarea:placeholder:!text-danger-main"
205
205
  ],
206
206
  helperMessage: [
207
207
  "text-neutral-main",
208
208
  "group-has-[:hover]/textarea:text-neutral-dark",
209
- "group-has-[p.error]/textarea:text-danger-main"
209
+ "group-has-[p.error]/textarea:text-danger-main",
210
+ "group-has-[p.error]/textarea:hover:text-danger-main",
211
+ "group-has-[p.error]/textarea:focus:text-danger-main"
210
212
  ],
211
213
  errorMessage: ["text-danger-main"],
212
214
  readonlyWrapper: [
@@ -235,21 +237,15 @@ var textareaStyle = (0, import_tailwind_variants.tv)({
235
237
  color: {
236
238
  primary: {
237
239
  helperMessage: [
238
- "group-has-[:focus]/textarea:!text-primary-main",
239
- "group-has-[:focus]/textarea:!text-primary-main",
240
- "group-has-[:focus]/textarea:hover:!text-primary-main",
241
- "group-has-[:focus:hover]/textarea:!text-primary-main",
242
- "group-has-[p.error]:not(textarea:focus):hover/textarea:!text-primary-main"
240
+ "group-has-[:focus]/textarea:text-primary-main",
241
+ "group-has-[:focus]/textarea:hover:text-primary-main"
243
242
  ],
244
243
  readonly: ["!text-primary-main"]
245
244
  },
246
245
  secondary: {
247
246
  helperMessage: [
248
247
  "group-has-[:focus]/textarea:text-secondary-main",
249
- "group-has-[:focus]/textarea:text-secondary-main",
250
- "group-has-[:focus]/textarea:hover:text-secondary-main",
251
- "group-has-[:focus:hover]/textarea:text-secondary-main",
252
- "group-has-[p.error]:not(textarea:focus):hover/textarea:!text-secondary-main"
248
+ "group-has-[:focus]/textarea:hover:text-secondary-main"
253
249
  ],
254
250
  readonly: ["!text-secondary-main"]
255
251
  }
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  textarea_default
4
- } from "../../chunk-62X5AX5B.mjs";
4
+ } from "../../chunk-4EIGHKUO.mjs";
5
5
  import "../../chunk-27Y6K5NK.mjs";
6
6
  import "../../chunk-E3G5QXSH.mjs";
7
7
  import "../../chunk-AC6TWLRT.mjs";