@deepnoid/ui 0.1.158 → 0.1.159

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 (35) hide show
  1. package/.turbo/turbo-build.log +146 -146
  2. package/dist/{chunk-IRJP6BF3.mjs → chunk-7QL54JRV.mjs} +1 -1
  3. package/dist/{chunk-7YMXOYES.mjs → chunk-OBOPDVVM.mjs} +1 -1
  4. package/dist/{chunk-HKHVSCER.mjs → chunk-OY5W6JCO.mjs} +1 -1
  5. package/dist/{chunk-SFGFRMWL.mjs → chunk-QR5CKZLL.mjs} +56 -61
  6. package/dist/{chunk-V64PCWVW.mjs → chunk-SFA2DEUD.mjs} +1 -1
  7. package/dist/components/fileUpload/fileUpload.js +56 -61
  8. package/dist/components/fileUpload/fileUpload.mjs +2 -2
  9. package/dist/components/fileUpload/index.js +56 -61
  10. package/dist/components/fileUpload/index.mjs +2 -2
  11. package/dist/components/input/index.js +56 -61
  12. package/dist/components/input/index.mjs +1 -1
  13. package/dist/components/input/input.d.mts +6 -3
  14. package/dist/components/input/input.d.ts +6 -3
  15. package/dist/components/input/input.js +56 -61
  16. package/dist/components/input/input.mjs +1 -1
  17. package/dist/components/pagination/index.js +56 -61
  18. package/dist/components/pagination/index.mjs +2 -2
  19. package/dist/components/pagination/pagination.js +56 -61
  20. package/dist/components/pagination/pagination.mjs +2 -2
  21. package/dist/components/picker/datePicker.js +56 -61
  22. package/dist/components/picker/datePicker.mjs +2 -2
  23. package/dist/components/picker/index.js +56 -61
  24. package/dist/components/picker/index.mjs +2 -2
  25. package/dist/components/table/index.js +56 -61
  26. package/dist/components/table/index.mjs +3 -3
  27. package/dist/components/table/table-body.js +56 -61
  28. package/dist/components/table/table-body.mjs +3 -3
  29. package/dist/components/table/table-head.js +56 -61
  30. package/dist/components/table/table-head.mjs +3 -3
  31. package/dist/components/table/table.js +56 -61
  32. package/dist/components/table/table.mjs +3 -3
  33. package/dist/index.js +56 -61
  34. package/dist/index.mjs +5 -5
  35. package/package.json +1 -1
@@ -6314,7 +6314,7 @@ var Input = (0, import_react6.forwardRef)((originalProps, ref) => {
6314
6314
  ),
6315
6315
  size: originalProps.size
6316
6316
  }),
6317
- [slots, classNames, originalProps.size]
6317
+ [slots, classNames, originalProps.size, inputProps.readOnly]
6318
6318
  );
6319
6319
  const renderStartContent = () => {
6320
6320
  if ((0, import_react6.isValidElement)(startContent)) {
@@ -6437,31 +6437,22 @@ var inputStyle = tv(
6437
6437
  "placeholder:text-neutral-main",
6438
6438
  "outline-none",
6439
6439
  "focus:ring-0",
6440
- "group-has-[:hover]/input:text-neutral-dark",
6441
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
6442
- "group-has-[:focus]/input:text-neutral-dark",
6443
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
6444
- "group-has-[p.error]/input:text-danger-main",
6445
- "group-has-[p.error]/input:placeholder:text-danger-main",
6446
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
6440
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
6441
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
6442
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
6443
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
6444
+ "read-only:!text-body-foreground",
6445
+ "read-only:placeholder:!text-body-foreground"
6447
6446
  ],
6448
6447
  content: [
6449
6448
  "flex",
6450
6449
  "items-center",
6451
6450
  "select-none",
6452
6451
  "text-neutral-main",
6453
- "group-has-[:hover]/input:text-neutral-dark",
6454
- "group-has-[p.error]/input:text-danger-main",
6455
- "group-has-[p.error]/input:hover:text-danger-main",
6456
- "group-has-[p.error]/input:focus:text-danger-main"
6457
- ],
6458
- helperMessage: [
6459
- "text-neutral-main",
6460
- "group-has-[:hover]/input:text-neutral-dark",
6461
- "group-has-[p.error]/input:text-danger-main",
6462
- "group-has-[p.error]/input:hover:text-danger-main",
6463
- "group-has-[p.error]/input:focus:text-danger-main"
6452
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
6453
+ "read-only:!text-body-foreground"
6464
6454
  ],
6455
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
6465
6456
  errorMessage: ["text-danger-main"],
6466
6457
  readonlyWrapper: [
6467
6458
  "pointer-events-none",
@@ -6470,7 +6461,7 @@ var inputStyle = tv(
6470
6461
  "[&>input]:text-body-foreground",
6471
6462
  "[&>input]:placeholder:text-body-foreground"
6472
6463
  ],
6473
- readonly: []
6464
+ readonly: ["text-body-foreground"]
6474
6465
  },
6475
6466
  variants: {
6476
6467
  variant: {
@@ -6481,8 +6472,8 @@ var inputStyle = tv(
6481
6472
  outline: {
6482
6473
  inputWrapper: [
6483
6474
  "border-neutral-light",
6484
- "group-has-[:hover]/input:bg-trans-soft",
6485
- "group-has-[:focus]/input:bg-body-background",
6475
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
6476
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
6486
6477
  "group-has-[p.error]/input:border-danger-main"
6487
6478
  ],
6488
6479
  readonlyWrapper: ["!bg-trans-soft"]
@@ -6491,8 +6482,8 @@ var inputStyle = tv(
6491
6482
  inputWrapper: [
6492
6483
  "bg-transparent",
6493
6484
  "rounded-none",
6494
- "group-has-[:hover]/input:bg-trans-soft",
6495
- "group-has-[:focus]/input:bg-body-background",
6485
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
6486
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
6496
6487
  "group-has-[p.error]/input:border-danger-main"
6497
6488
  ],
6498
6489
  readonlyWrapper: ["!bg-trans-soft"]
@@ -6500,22 +6491,13 @@ var inputStyle = tv(
6500
6491
  },
6501
6492
  color: {
6502
6493
  primary: {
6503
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
6504
- helperMessage: [
6505
- "group-has-[:focus]/input:text-primary-main",
6506
- "group-has-[:focus]/input:hover:text-primary-main"
6507
- ],
6494
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
6495
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
6508
6496
  readonly: ["text-primary-main"]
6509
6497
  },
6510
6498
  secondary: {
6511
- content: [
6512
- "group-has-[:focus]/input:text-secondary-main",
6513
- "group-has-[:focus]/input:hover:text-secondary-main"
6514
- ],
6515
- helperMessage: [
6516
- "group-has-[:focus]/input:text-secondary-main",
6517
- "group-has-[:focus]/input:hover:text-secondary-main"
6518
- ],
6499
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
6500
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
6519
6501
  readonly: ["text-secondary-main"]
6520
6502
  }
6521
6503
  },
@@ -6566,14 +6548,9 @@ var inputStyle = tv(
6566
6548
  },
6567
6549
  disabled: {
6568
6550
  true: {
6569
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
6570
- input: [
6571
- "!text-neutral-light",
6572
- "placeholder:!text-neutral-light",
6573
- "group-has-[p.error]/input:!text-danger-light",
6574
- "group-has-[p.error]/input:placeholder:!text-danger-light"
6575
- ],
6576
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
6551
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
6552
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
6553
+ content: ["!text-neutral-light"],
6577
6554
  helperMessage: ["!text-neutral-light"],
6578
6555
  errorMessage: ["!text-danger-light"]
6579
6556
  }
@@ -6581,11 +6558,9 @@ var inputStyle = tv(
6581
6558
  readonly: {
6582
6559
  true: {
6583
6560
  readonlyWrapper: ["pointer-events-none"],
6584
- input: [
6585
- "group-has-[p.error]/input:!text-danger-main",
6586
- "group-has-[p.error]/input:placeholder:!text-danger-main"
6587
- ],
6588
- content: ["group-has-[p.error]/input:!text-danger-main"]
6561
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
6562
+ content: ["!text-body-foreground"],
6563
+ helperMessage: ["!text-body-foreground"]
6589
6564
  }
6590
6565
  }
6591
6566
  },
@@ -6646,17 +6621,6 @@ var inputStyle = tv(
6646
6621
  inputWrapper: ["border-b-xl"]
6647
6622
  }
6648
6623
  },
6649
- {
6650
- disabled: true,
6651
- variant: ["outline", "underline"],
6652
- class: {
6653
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
6654
- content: [
6655
- "group-has-[p.error]/input:!text-danger-light",
6656
- "group-has-[p.error]/input:placeholder:!text-danger-light"
6657
- ]
6658
- }
6659
- },
6660
6624
  {
6661
6625
  readonly: true,
6662
6626
  color: "primary",
@@ -6672,6 +6636,37 @@ var inputStyle = tv(
6672
6636
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
6673
6637
  content: ["!text-secondary-main"]
6674
6638
  }
6639
+ },
6640
+ {
6641
+ disabled: true,
6642
+ class: {
6643
+ input: [
6644
+ "group-has-[p.error]/input:!text-danger-light",
6645
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
6646
+ ],
6647
+ content: ["group-has-[p.error]/input:!text-danger-light"],
6648
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
6649
+ errorMessage: ["!text-danger-light"]
6650
+ }
6651
+ },
6652
+ {
6653
+ disabled: true,
6654
+ variant: ["outline", "underline"],
6655
+ class: {
6656
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
6657
+ }
6658
+ },
6659
+ {
6660
+ disabled: false,
6661
+ class: {
6662
+ input: [
6663
+ "group-has-[p.error]/input:!text-danger-main",
6664
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
6665
+ ],
6666
+ content: ["group-has-[p.error]/input:!text-danger-main"],
6667
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
6668
+ errorMessage: ["!text-danger-main"]
6669
+ }
6675
6670
  }
6676
6671
  ],
6677
6672
  defaultVariants: {
@@ -2,7 +2,7 @@
2
2
  import "../../chunk-4VWG4726.mjs";
3
3
  import {
4
4
  datePicker_default
5
- } from "../../chunk-7YMXOYES.mjs";
5
+ } from "../../chunk-OBOPDVVM.mjs";
6
6
  import {
7
7
  day_default
8
8
  } from "../../chunk-4DESGO3D.mjs";
@@ -13,7 +13,7 @@ import "../../chunk-QCEKPS7U.mjs";
13
13
  import "../../chunk-Z7CLJYRF.mjs";
14
14
  import "../../chunk-FWFEKWWD.mjs";
15
15
  import "../../chunk-2GCSFWHD.mjs";
16
- import "../../chunk-SFGFRMWL.mjs";
16
+ import "../../chunk-QR5CKZLL.mjs";
17
17
  import "../../chunk-MY5U63QO.mjs";
18
18
  import "../../chunk-Q364C3FI.mjs";
19
19
  import "../../chunk-ITWKPTSD.mjs";
@@ -5602,7 +5602,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
5602
5602
  ),
5603
5603
  size: originalProps.size
5604
5604
  }),
5605
- [slots, classNames, originalProps.size]
5605
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5606
5606
  );
5607
5607
  const renderStartContent = () => {
5608
5608
  if ((0, import_react3.isValidElement)(startContent)) {
@@ -5725,31 +5725,22 @@ var inputStyle = tv(
5725
5725
  "placeholder:text-neutral-main",
5726
5726
  "outline-none",
5727
5727
  "focus:ring-0",
5728
- "group-has-[:hover]/input:text-neutral-dark",
5729
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5730
- "group-has-[:focus]/input:text-neutral-dark",
5731
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5732
- "group-has-[p.error]/input:text-danger-main",
5733
- "group-has-[p.error]/input:placeholder:text-danger-main",
5734
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
5728
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5729
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
5730
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
5731
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
5732
+ "read-only:!text-body-foreground",
5733
+ "read-only:placeholder:!text-body-foreground"
5735
5734
  ],
5736
5735
  content: [
5737
5736
  "flex",
5738
5737
  "items-center",
5739
5738
  "select-none",
5740
5739
  "text-neutral-main",
5741
- "group-has-[:hover]/input:text-neutral-dark",
5742
- "group-has-[p.error]/input:text-danger-main",
5743
- "group-has-[p.error]/input:hover:text-danger-main",
5744
- "group-has-[p.error]/input:focus:text-danger-main"
5745
- ],
5746
- helperMessage: [
5747
- "text-neutral-main",
5748
- "group-has-[:hover]/input:text-neutral-dark",
5749
- "group-has-[p.error]/input:text-danger-main",
5750
- "group-has-[p.error]/input:hover:text-danger-main",
5751
- "group-has-[p.error]/input:focus:text-danger-main"
5740
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5741
+ "read-only:!text-body-foreground"
5752
5742
  ],
5743
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5753
5744
  errorMessage: ["text-danger-main"],
5754
5745
  readonlyWrapper: [
5755
5746
  "pointer-events-none",
@@ -5758,7 +5749,7 @@ var inputStyle = tv(
5758
5749
  "[&>input]:text-body-foreground",
5759
5750
  "[&>input]:placeholder:text-body-foreground"
5760
5751
  ],
5761
- readonly: []
5752
+ readonly: ["text-body-foreground"]
5762
5753
  },
5763
5754
  variants: {
5764
5755
  variant: {
@@ -5769,8 +5760,8 @@ var inputStyle = tv(
5769
5760
  outline: {
5770
5761
  inputWrapper: [
5771
5762
  "border-neutral-light",
5772
- "group-has-[:hover]/input:bg-trans-soft",
5773
- "group-has-[:focus]/input:bg-body-background",
5763
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5764
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5774
5765
  "group-has-[p.error]/input:border-danger-main"
5775
5766
  ],
5776
5767
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5779,8 +5770,8 @@ var inputStyle = tv(
5779
5770
  inputWrapper: [
5780
5771
  "bg-transparent",
5781
5772
  "rounded-none",
5782
- "group-has-[:hover]/input:bg-trans-soft",
5783
- "group-has-[:focus]/input:bg-body-background",
5773
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5774
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5784
5775
  "group-has-[p.error]/input:border-danger-main"
5785
5776
  ],
5786
5777
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5788,22 +5779,13 @@ var inputStyle = tv(
5788
5779
  },
5789
5780
  color: {
5790
5781
  primary: {
5791
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5792
- helperMessage: [
5793
- "group-has-[:focus]/input:text-primary-main",
5794
- "group-has-[:focus]/input:hover:text-primary-main"
5795
- ],
5782
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
5783
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
5796
5784
  readonly: ["text-primary-main"]
5797
5785
  },
5798
5786
  secondary: {
5799
- content: [
5800
- "group-has-[:focus]/input:text-secondary-main",
5801
- "group-has-[:focus]/input:hover:text-secondary-main"
5802
- ],
5803
- helperMessage: [
5804
- "group-has-[:focus]/input:text-secondary-main",
5805
- "group-has-[:focus]/input:hover:text-secondary-main"
5806
- ],
5787
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
5788
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
5807
5789
  readonly: ["text-secondary-main"]
5808
5790
  }
5809
5791
  },
@@ -5854,14 +5836,9 @@ var inputStyle = tv(
5854
5836
  },
5855
5837
  disabled: {
5856
5838
  true: {
5857
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5858
- input: [
5859
- "!text-neutral-light",
5860
- "placeholder:!text-neutral-light",
5861
- "group-has-[p.error]/input:!text-danger-light",
5862
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5863
- ],
5864
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5839
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
5840
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
5841
+ content: ["!text-neutral-light"],
5865
5842
  helperMessage: ["!text-neutral-light"],
5866
5843
  errorMessage: ["!text-danger-light"]
5867
5844
  }
@@ -5869,11 +5846,9 @@ var inputStyle = tv(
5869
5846
  readonly: {
5870
5847
  true: {
5871
5848
  readonlyWrapper: ["pointer-events-none"],
5872
- input: [
5873
- "group-has-[p.error]/input:!text-danger-main",
5874
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5875
- ],
5876
- content: ["group-has-[p.error]/input:!text-danger-main"]
5849
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
5850
+ content: ["!text-body-foreground"],
5851
+ helperMessage: ["!text-body-foreground"]
5877
5852
  }
5878
5853
  }
5879
5854
  },
@@ -5934,17 +5909,6 @@ var inputStyle = tv(
5934
5909
  inputWrapper: ["border-b-xl"]
5935
5910
  }
5936
5911
  },
5937
- {
5938
- disabled: true,
5939
- variant: ["outline", "underline"],
5940
- class: {
5941
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5942
- content: [
5943
- "group-has-[p.error]/input:!text-danger-light",
5944
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5945
- ]
5946
- }
5947
- },
5948
5912
  {
5949
5913
  readonly: true,
5950
5914
  color: "primary",
@@ -5960,6 +5924,37 @@ var inputStyle = tv(
5960
5924
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5961
5925
  content: ["!text-secondary-main"]
5962
5926
  }
5927
+ },
5928
+ {
5929
+ disabled: true,
5930
+ class: {
5931
+ input: [
5932
+ "group-has-[p.error]/input:!text-danger-light",
5933
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
5934
+ ],
5935
+ content: ["group-has-[p.error]/input:!text-danger-light"],
5936
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
5937
+ errorMessage: ["!text-danger-light"]
5938
+ }
5939
+ },
5940
+ {
5941
+ disabled: true,
5942
+ variant: ["outline", "underline"],
5943
+ class: {
5944
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
5945
+ }
5946
+ },
5947
+ {
5948
+ disabled: false,
5949
+ class: {
5950
+ input: [
5951
+ "group-has-[p.error]/input:!text-danger-main",
5952
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
5953
+ ],
5954
+ content: ["group-has-[p.error]/input:!text-danger-main"],
5955
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
5956
+ errorMessage: ["!text-danger-main"]
5957
+ }
5963
5958
  }
5964
5959
  ],
5965
5960
  defaultVariants: {
@@ -5,12 +5,12 @@ import {
5
5
  } from "../../chunk-JZMJ5UMR.mjs";
6
6
  import {
7
7
  table_default
8
- } from "../../chunk-HKHVSCER.mjs";
8
+ } from "../../chunk-OY5W6JCO.mjs";
9
9
  import "../../chunk-7B7LRG5J.mjs";
10
- import "../../chunk-IRJP6BF3.mjs";
10
+ import "../../chunk-7QL54JRV.mjs";
11
11
  import "../../chunk-F3HENRVM.mjs";
12
12
  import "../../chunk-2GCSFWHD.mjs";
13
- import "../../chunk-SFGFRMWL.mjs";
13
+ import "../../chunk-QR5CKZLL.mjs";
14
14
  import "../../chunk-DQRAFUDA.mjs";
15
15
  import "../../chunk-EWS3FESG.mjs";
16
16
  import "../../chunk-QZ3LVYJW.mjs";
@@ -5533,7 +5533,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
5533
5533
  ),
5534
5534
  size: originalProps.size
5535
5535
  }),
5536
- [slots, classNames, originalProps.size]
5536
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5537
5537
  );
5538
5538
  const renderStartContent = () => {
5539
5539
  if ((0, import_react3.isValidElement)(startContent)) {
@@ -5656,31 +5656,22 @@ var inputStyle = tv(
5656
5656
  "placeholder:text-neutral-main",
5657
5657
  "outline-none",
5658
5658
  "focus:ring-0",
5659
- "group-has-[:hover]/input:text-neutral-dark",
5660
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5661
- "group-has-[:focus]/input:text-neutral-dark",
5662
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5663
- "group-has-[p.error]/input:text-danger-main",
5664
- "group-has-[p.error]/input:placeholder:text-danger-main",
5665
- "group-has-[p.error]/input:placeholder:hover:!text-danger-main"
5659
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5660
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
5661
+ "group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
5662
+ "group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
5663
+ "read-only:!text-body-foreground",
5664
+ "read-only:placeholder:!text-body-foreground"
5666
5665
  ],
5667
5666
  content: [
5668
5667
  "flex",
5669
5668
  "items-center",
5670
5669
  "select-none",
5671
5670
  "text-neutral-main",
5672
- "group-has-[:hover]/input:text-neutral-dark",
5673
- "group-has-[p.error]/input:text-danger-main",
5674
- "group-has-[p.error]/input:hover:text-danger-main",
5675
- "group-has-[p.error]/input:focus:text-danger-main"
5676
- ],
5677
- helperMessage: [
5678
- "text-neutral-main",
5679
- "group-has-[:hover]/input:text-neutral-dark",
5680
- "group-has-[p.error]/input:text-danger-main",
5681
- "group-has-[p.error]/input:hover:text-danger-main",
5682
- "group-has-[p.error]/input:focus:text-danger-main"
5671
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
5672
+ "read-only:!text-body-foreground"
5683
5673
  ],
5674
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5684
5675
  errorMessage: ["text-danger-main"],
5685
5676
  readonlyWrapper: [
5686
5677
  "pointer-events-none",
@@ -5689,7 +5680,7 @@ var inputStyle = tv(
5689
5680
  "[&>input]:text-body-foreground",
5690
5681
  "[&>input]:placeholder:text-body-foreground"
5691
5682
  ],
5692
- readonly: []
5683
+ readonly: ["text-body-foreground"]
5693
5684
  },
5694
5685
  variants: {
5695
5686
  variant: {
@@ -5700,8 +5691,8 @@ var inputStyle = tv(
5700
5691
  outline: {
5701
5692
  inputWrapper: [
5702
5693
  "border-neutral-light",
5703
- "group-has-[:hover]/input:bg-trans-soft",
5704
- "group-has-[:focus]/input:bg-body-background",
5694
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5695
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5705
5696
  "group-has-[p.error]/input:border-danger-main"
5706
5697
  ],
5707
5698
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5710,8 +5701,8 @@ var inputStyle = tv(
5710
5701
  inputWrapper: [
5711
5702
  "bg-transparent",
5712
5703
  "rounded-none",
5713
- "group-has-[:hover]/input:bg-trans-soft",
5714
- "group-has-[:focus]/input:bg-body-background",
5704
+ "group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
5705
+ "group-has-[:focus:not(:read-only)]/input:bg-body-background",
5715
5706
  "group-has-[p.error]/input:border-danger-main"
5716
5707
  ],
5717
5708
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5719,22 +5710,13 @@ var inputStyle = tv(
5719
5710
  },
5720
5711
  color: {
5721
5712
  primary: {
5722
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5723
- helperMessage: [
5724
- "group-has-[:focus]/input:text-primary-main",
5725
- "group-has-[:focus]/input:hover:text-primary-main"
5726
- ],
5713
+ content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
5714
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
5727
5715
  readonly: ["text-primary-main"]
5728
5716
  },
5729
5717
  secondary: {
5730
- content: [
5731
- "group-has-[:focus]/input:text-secondary-main",
5732
- "group-has-[:focus]/input:hover:text-secondary-main"
5733
- ],
5734
- helperMessage: [
5735
- "group-has-[:focus]/input:text-secondary-main",
5736
- "group-has-[:focus]/input:hover:text-secondary-main"
5737
- ],
5718
+ content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
5719
+ helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
5738
5720
  readonly: ["text-secondary-main"]
5739
5721
  }
5740
5722
  },
@@ -5785,14 +5767,9 @@ var inputStyle = tv(
5785
5767
  },
5786
5768
  disabled: {
5787
5769
  true: {
5788
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5789
- input: [
5790
- "!text-neutral-light",
5791
- "placeholder:!text-neutral-light",
5792
- "group-has-[p.error]/input:!text-danger-light",
5793
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5794
- ],
5795
- content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
5770
+ inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
5771
+ input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
5772
+ content: ["!text-neutral-light"],
5796
5773
  helperMessage: ["!text-neutral-light"],
5797
5774
  errorMessage: ["!text-danger-light"]
5798
5775
  }
@@ -5800,11 +5777,9 @@ var inputStyle = tv(
5800
5777
  readonly: {
5801
5778
  true: {
5802
5779
  readonlyWrapper: ["pointer-events-none"],
5803
- input: [
5804
- "group-has-[p.error]/input:!text-danger-main",
5805
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5806
- ],
5807
- content: ["group-has-[p.error]/input:!text-danger-main"]
5780
+ input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
5781
+ content: ["!text-body-foreground"],
5782
+ helperMessage: ["!text-body-foreground"]
5808
5783
  }
5809
5784
  }
5810
5785
  },
@@ -5865,17 +5840,6 @@ var inputStyle = tv(
5865
5840
  inputWrapper: ["border-b-xl"]
5866
5841
  }
5867
5842
  },
5868
- {
5869
- disabled: true,
5870
- variant: ["outline", "underline"],
5871
- class: {
5872
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5873
- content: [
5874
- "group-has-[p.error]/input:!text-danger-light",
5875
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5876
- ]
5877
- }
5878
- },
5879
5843
  {
5880
5844
  readonly: true,
5881
5845
  color: "primary",
@@ -5891,6 +5855,37 @@ var inputStyle = tv(
5891
5855
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5892
5856
  content: ["!text-secondary-main"]
5893
5857
  }
5858
+ },
5859
+ {
5860
+ disabled: true,
5861
+ class: {
5862
+ input: [
5863
+ "group-has-[p.error]/input:!text-danger-light",
5864
+ "group-has-[p.error]/input:placeholder:!text-danger-light"
5865
+ ],
5866
+ content: ["group-has-[p.error]/input:!text-danger-light"],
5867
+ helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
5868
+ errorMessage: ["!text-danger-light"]
5869
+ }
5870
+ },
5871
+ {
5872
+ disabled: true,
5873
+ variant: ["outline", "underline"],
5874
+ class: {
5875
+ inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
5876
+ }
5877
+ },
5878
+ {
5879
+ disabled: false,
5880
+ class: {
5881
+ input: [
5882
+ "group-has-[p.error]/input:!text-danger-main",
5883
+ "group-has-[p.error]/input:placeholder:!text-danger-main"
5884
+ ],
5885
+ content: ["group-has-[p.error]/input:!text-danger-main"],
5886
+ helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
5887
+ errorMessage: ["!text-danger-main"]
5888
+ }
5894
5889
  }
5895
5890
  ],
5896
5891
  defaultVariants: {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-HKHVSCER.mjs";
4
+ } from "../../chunk-OY5W6JCO.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
- import "../../chunk-IRJP6BF3.mjs";
6
+ import "../../chunk-7QL54JRV.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
8
8
  import "../../chunk-2GCSFWHD.mjs";
9
- import "../../chunk-SFGFRMWL.mjs";
9
+ import "../../chunk-QR5CKZLL.mjs";
10
10
  import "../../chunk-DQRAFUDA.mjs";
11
11
  import "../../chunk-EWS3FESG.mjs";
12
12
  import "../../chunk-QZ3LVYJW.mjs";