@deepnoid/ui 0.1.157 → 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 (117) hide show
  1. package/.turbo/turbo-build.log +168 -158
  2. package/dist/{chunk-DQ3ZRNX4.mjs → chunk-3QE57PU3.mjs} +1 -1
  3. package/dist/{chunk-5KOTQEFC.mjs → chunk-3X376ACN.mjs} +1 -1
  4. package/dist/{chunk-IN6M25YL.mjs → chunk-46EIW6MN.mjs} +2 -2
  5. package/dist/{chunk-MGGBCCZL.mjs → chunk-7QL54JRV.mjs} +2 -2
  6. package/dist/{chunk-ACFDUCPL.mjs → chunk-CSG6FDBX.mjs} +2 -2
  7. package/dist/{chunk-VUMESK5D.mjs → chunk-DDFJMHBC.mjs} +37 -2
  8. package/dist/{chunk-NB45YSED.mjs → chunk-ITFEV25U.mjs} +1 -1
  9. package/dist/{chunk-DSEF7GGB.mjs → chunk-JKYLYL3A.mjs} +1 -1
  10. package/dist/{chunk-QJUPHJN6.mjs → chunk-KLBA5J2H.mjs} +1 -1
  11. package/dist/chunk-L5FRTUM6.mjs +100 -0
  12. package/dist/{chunk-T7IJB3N4.mjs → chunk-OBOPDVVM.mjs} +4 -4
  13. package/dist/chunk-OLQOLLKG.mjs +1 -0
  14. package/dist/{chunk-JJAPJQUD.mjs → chunk-OY5W6JCO.mjs} +1 -1
  15. package/dist/{chunk-PO4H65C3.mjs → chunk-PXAJEOZS.mjs} +1 -1
  16. package/dist/{chunk-T6V6BJOT.mjs → chunk-QHETCLHO.mjs} +2 -2
  17. package/dist/{chunk-BFC4VP3B.mjs → chunk-QR5CKZLL.mjs} +57 -62
  18. package/dist/{chunk-LBJN5TAP.mjs → chunk-R7KUEH3N.mjs} +1 -1
  19. package/dist/{chunk-ZUAOUHWS.mjs → chunk-SFA2DEUD.mjs} +3 -3
  20. package/dist/{chunk-HLWNJLRZ.mjs → chunk-XHCPYYMC.mjs} +1 -1
  21. package/dist/{chunk-73NBUI4Y.mjs → chunk-YQYO5RLZ.mjs} +1 -1
  22. package/dist/{chunk-SHI7P4DQ.mjs → chunk-Z7CLJYRF.mjs} +1 -1
  23. package/dist/components/avatar/avatar.js +37 -2
  24. package/dist/components/avatar/avatar.mjs +2 -2
  25. package/dist/components/avatar/index.js +37 -2
  26. package/dist/components/avatar/index.mjs +2 -2
  27. package/dist/components/breadcrumb/breadcrumb.js +37 -2
  28. package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
  29. package/dist/components/breadcrumb/index.js +37 -2
  30. package/dist/components/breadcrumb/index.mjs +5 -5
  31. package/dist/components/button/button.js +37 -2
  32. package/dist/components/button/button.mjs +3 -3
  33. package/dist/components/button/icon-button.js +37 -2
  34. package/dist/components/button/icon-button.mjs +3 -3
  35. package/dist/components/button/index.js +37 -2
  36. package/dist/components/button/index.mjs +4 -4
  37. package/dist/components/chip/chip.js +37 -2
  38. package/dist/components/chip/chip.mjs +3 -3
  39. package/dist/components/chip/index.js +37 -2
  40. package/dist/components/chip/index.mjs +3 -3
  41. package/dist/components/fileUpload/fileUpload.js +93 -63
  42. package/dist/components/fileUpload/fileUpload.mjs +6 -6
  43. package/dist/components/fileUpload/index.js +93 -63
  44. package/dist/components/fileUpload/index.mjs +6 -6
  45. package/dist/components/icon/Icon.d.mts +4 -0
  46. package/dist/components/icon/Icon.d.ts +4 -0
  47. package/dist/components/icon/Icon.js +37 -2
  48. package/dist/components/icon/Icon.mjs +2 -2
  49. package/dist/components/icon/index.js +37 -2
  50. package/dist/components/icon/index.mjs +2 -2
  51. package/dist/components/icon/template.d.mts +1 -0
  52. package/dist/components/icon/template.d.ts +1 -0
  53. package/dist/components/icon/template.js +37 -2
  54. package/dist/components/icon/template.mjs +1 -1
  55. package/dist/components/input/index.js +93 -63
  56. package/dist/components/input/index.mjs +3 -3
  57. package/dist/components/input/input.d.mts +6 -3
  58. package/dist/components/input/input.d.ts +6 -3
  59. package/dist/components/input/input.js +93 -63
  60. package/dist/components/input/input.mjs +3 -3
  61. package/dist/components/list/index.js +37 -2
  62. package/dist/components/list/index.mjs +4 -4
  63. package/dist/components/list/listItem.js +37 -2
  64. package/dist/components/list/listItem.mjs +4 -4
  65. package/dist/components/modal/index.js +37 -2
  66. package/dist/components/modal/index.mjs +5 -5
  67. package/dist/components/modal/modal.js +37 -2
  68. package/dist/components/modal/modal.mjs +5 -5
  69. package/dist/components/pagination/index.js +93 -63
  70. package/dist/components/pagination/index.mjs +4 -4
  71. package/dist/components/pagination/pagination.js +93 -63
  72. package/dist/components/pagination/pagination.mjs +4 -4
  73. package/dist/components/picker/datePicker.js +93 -63
  74. package/dist/components/picker/datePicker.mjs +6 -6
  75. package/dist/components/picker/day.d.mts +2 -2
  76. package/dist/components/picker/day.d.ts +2 -2
  77. package/dist/components/picker/index.js +93 -63
  78. package/dist/components/picker/index.mjs +8 -8
  79. package/dist/components/picker/timePicker.js +37 -2
  80. package/dist/components/picker/timePicker.mjs +4 -4
  81. package/dist/components/select/index.js +37 -2
  82. package/dist/components/select/index.mjs +3 -3
  83. package/dist/components/select/select.js +37 -2
  84. package/dist/components/select/select.mjs +3 -3
  85. package/dist/components/starRating/index.d.mts +4 -0
  86. package/dist/components/starRating/index.d.ts +4 -0
  87. package/dist/components/starRating/index.js +5279 -0
  88. package/dist/components/starRating/index.mjs +14 -0
  89. package/dist/components/starRating/starRating.d.mts +60 -0
  90. package/dist/components/starRating/starRating.d.ts +60 -0
  91. package/dist/components/starRating/starRating.js +5278 -0
  92. package/dist/components/starRating/starRating.mjs +15 -0
  93. package/dist/components/table/index.js +93 -63
  94. package/dist/components/table/index.mjs +7 -7
  95. package/dist/components/table/table-body.js +93 -63
  96. package/dist/components/table/table-body.mjs +5 -5
  97. package/dist/components/table/table-head.js +93 -63
  98. package/dist/components/table/table-head.mjs +5 -5
  99. package/dist/components/table/table.js +93 -63
  100. package/dist/components/table/table.mjs +5 -5
  101. package/dist/components/timePicker/calendar.js +37 -2
  102. package/dist/components/timePicker/calendar.mjs +2 -2
  103. package/dist/components/toast/index.js +37 -2
  104. package/dist/components/toast/index.mjs +4 -4
  105. package/dist/components/toast/toast.js +37 -2
  106. package/dist/components/toast/toast.mjs +3 -3
  107. package/dist/components/toast/use-toast.js +37 -2
  108. package/dist/components/toast/use-toast.mjs +4 -4
  109. package/dist/components/tree/index.js +37 -2
  110. package/dist/components/tree/index.mjs +3 -3
  111. package/dist/components/tree/tree.js +37 -2
  112. package/dist/components/tree/tree.mjs +3 -3
  113. package/dist/index.d.mts +1 -0
  114. package/dist/index.d.ts +1 -0
  115. package/dist/index.js +180 -63
  116. package/dist/index.mjs +37 -32
  117. package/package.json +1 -1
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import {
3
+ starRatingStyle,
4
+ starRating_default
5
+ } from "../../chunk-L5FRTUM6.mjs";
6
+ import "../../chunk-ZYIIXWVY.mjs";
7
+ import "../../chunk-R7KUEH3N.mjs";
8
+ import "../../chunk-E3G5QXSH.mjs";
9
+ import "../../chunk-DDFJMHBC.mjs";
10
+ import "../../chunk-CDXBML6O.mjs";
11
+ import "../../chunk-AC6TWLRT.mjs";
12
+ export {
13
+ starRating_default as default,
14
+ starRatingStyle
15
+ };
@@ -856,8 +856,8 @@ var template = {
856
856
  {
857
857
  fillRule: "evenodd",
858
858
  clipRule: "evenodd",
859
- fill: "currentColor",
860
- d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z"
859
+ d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
860
+ fill: "currentColor"
861
861
  }
862
862
  ) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
863
863
  "path",
@@ -871,6 +871,41 @@ var template = {
871
871
  }
872
872
  );
873
873
  },
874
+ halfStar: ({ className }) => {
875
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
876
+ "svg",
877
+ {
878
+ xmlns: "http://www.w3.org/2000/svg",
879
+ width: "18",
880
+ height: "18",
881
+ viewBox: "0 0 18 18",
882
+ fill: "none",
883
+ className,
884
+ children: [
885
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
886
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
887
+ "path",
888
+ {
889
+ fillRule: "evenodd",
890
+ clipRule: "evenodd",
891
+ fill: "currentColor",
892
+ d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
893
+ clipPath: "url(#half-clip)"
894
+ }
895
+ ),
896
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
897
+ "path",
898
+ {
899
+ d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
900
+ stroke: "currentColor",
901
+ strokeLinecap: "round",
902
+ strokeLinejoin: "round"
903
+ }
904
+ )
905
+ ]
906
+ }
907
+ );
908
+ },
874
909
  avatar: ({ className }) => {
875
910
  return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
876
911
  "svg",
@@ -5567,7 +5602,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
5567
5602
  ),
5568
5603
  size: originalProps.size
5569
5604
  }),
5570
- [slots, classNames, originalProps.size]
5605
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5571
5606
  );
5572
5607
  const renderStartContent = () => {
5573
5608
  if ((0, import_react3.isValidElement)(startContent)) {
@@ -5690,31 +5725,22 @@ var inputStyle = tv(
5690
5725
  "placeholder:text-neutral-main",
5691
5726
  "outline-none",
5692
5727
  "focus:ring-0",
5693
- "group-has-[:hover]/input:text-neutral-dark",
5694
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5695
- "group-has-[:focus]/input:text-neutral-dark",
5696
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5697
- "group-has-[p.error]/input:text-danger-main",
5698
- "group-has-[p.error]/input:placeholder:text-danger-main",
5699
- "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"
5700
5734
  ],
5701
5735
  content: [
5702
5736
  "flex",
5703
5737
  "items-center",
5704
5738
  "select-none",
5705
5739
  "text-neutral-main",
5706
- "group-has-[:hover]/input:text-neutral-dark",
5707
- "group-has-[p.error]/input:text-danger-main",
5708
- "group-has-[p.error]/input:hover:text-danger-main",
5709
- "group-has-[p.error]/input:focus:text-danger-main"
5710
- ],
5711
- helperMessage: [
5712
- "text-neutral-main",
5713
- "group-has-[:hover]/input:text-neutral-dark",
5714
- "group-has-[p.error]/input:text-danger-main",
5715
- "group-has-[p.error]/input:hover:text-danger-main",
5716
- "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"
5717
5742
  ],
5743
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5718
5744
  errorMessage: ["text-danger-main"],
5719
5745
  readonlyWrapper: [
5720
5746
  "pointer-events-none",
@@ -5723,7 +5749,7 @@ var inputStyle = tv(
5723
5749
  "[&>input]:text-body-foreground",
5724
5750
  "[&>input]:placeholder:text-body-foreground"
5725
5751
  ],
5726
- readonly: []
5752
+ readonly: ["text-body-foreground"]
5727
5753
  },
5728
5754
  variants: {
5729
5755
  variant: {
@@ -5734,8 +5760,8 @@ var inputStyle = tv(
5734
5760
  outline: {
5735
5761
  inputWrapper: [
5736
5762
  "border-neutral-light",
5737
- "group-has-[:hover]/input:bg-trans-soft",
5738
- "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",
5739
5765
  "group-has-[p.error]/input:border-danger-main"
5740
5766
  ],
5741
5767
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5744,8 +5770,8 @@ var inputStyle = tv(
5744
5770
  inputWrapper: [
5745
5771
  "bg-transparent",
5746
5772
  "rounded-none",
5747
- "group-has-[:hover]/input:bg-trans-soft",
5748
- "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",
5749
5775
  "group-has-[p.error]/input:border-danger-main"
5750
5776
  ],
5751
5777
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5753,22 +5779,13 @@ var inputStyle = tv(
5753
5779
  },
5754
5780
  color: {
5755
5781
  primary: {
5756
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5757
- helperMessage: [
5758
- "group-has-[:focus]/input:text-primary-main",
5759
- "group-has-[:focus]/input:hover:text-primary-main"
5760
- ],
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"],
5761
5784
  readonly: ["text-primary-main"]
5762
5785
  },
5763
5786
  secondary: {
5764
- content: [
5765
- "group-has-[:focus]/input:text-secondary-main",
5766
- "group-has-[:focus]/input:hover:text-secondary-main"
5767
- ],
5768
- helperMessage: [
5769
- "group-has-[:focus]/input:text-secondary-main",
5770
- "group-has-[:focus]/input:hover:text-secondary-main"
5771
- ],
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"],
5772
5789
  readonly: ["text-secondary-main"]
5773
5790
  }
5774
5791
  },
@@ -5819,14 +5836,9 @@ var inputStyle = tv(
5819
5836
  },
5820
5837
  disabled: {
5821
5838
  true: {
5822
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5823
- input: [
5824
- "!text-neutral-light",
5825
- "placeholder:!text-neutral-light",
5826
- "group-has-[p.error]/input:!text-danger-light",
5827
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5828
- ],
5829
- 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"],
5830
5842
  helperMessage: ["!text-neutral-light"],
5831
5843
  errorMessage: ["!text-danger-light"]
5832
5844
  }
@@ -5834,11 +5846,9 @@ var inputStyle = tv(
5834
5846
  readonly: {
5835
5847
  true: {
5836
5848
  readonlyWrapper: ["pointer-events-none"],
5837
- input: [
5838
- "group-has-[p.error]/input:!text-danger-main",
5839
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5840
- ],
5841
- 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"]
5842
5852
  }
5843
5853
  }
5844
5854
  },
@@ -5899,17 +5909,6 @@ var inputStyle = tv(
5899
5909
  inputWrapper: ["border-b-xl"]
5900
5910
  }
5901
5911
  },
5902
- {
5903
- disabled: true,
5904
- variant: ["outline", "underline"],
5905
- class: {
5906
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5907
- content: [
5908
- "group-has-[p.error]/input:!text-danger-light",
5909
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5910
- ]
5911
- }
5912
- },
5913
5912
  {
5914
5913
  readonly: true,
5915
5914
  color: "primary",
@@ -5925,6 +5924,37 @@ var inputStyle = tv(
5925
5924
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5926
5925
  content: ["!text-secondary-main"]
5927
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
+ }
5928
5958
  }
5929
5959
  ],
5930
5960
  defaultVariants: {
@@ -1,24 +1,24 @@
1
1
  "use client";
2
2
  import "../../chunk-DX3KXNP6.mjs";
3
- import {
4
- table_default
5
- } from "../../chunk-JJAPJQUD.mjs";
6
3
  import {
7
4
  definition_table_default
8
5
  } from "../../chunk-JZMJ5UMR.mjs";
6
+ import {
7
+ table_default
8
+ } from "../../chunk-OY5W6JCO.mjs";
9
9
  import "../../chunk-7B7LRG5J.mjs";
10
- import "../../chunk-MGGBCCZL.mjs";
10
+ import "../../chunk-7QL54JRV.mjs";
11
11
  import "../../chunk-F3HENRVM.mjs";
12
12
  import "../../chunk-2GCSFWHD.mjs";
13
- import "../../chunk-BFC4VP3B.mjs";
13
+ import "../../chunk-QR5CKZLL.mjs";
14
14
  import "../../chunk-DQRAFUDA.mjs";
15
15
  import "../../chunk-EWS3FESG.mjs";
16
16
  import "../../chunk-QZ3LVYJW.mjs";
17
17
  import "../../chunk-H6JGLPPF.mjs";
18
18
  import "../../chunk-ZYIIXWVY.mjs";
19
- import "../../chunk-LBJN5TAP.mjs";
19
+ import "../../chunk-R7KUEH3N.mjs";
20
20
  import "../../chunk-E3G5QXSH.mjs";
21
- import "../../chunk-VUMESK5D.mjs";
21
+ import "../../chunk-DDFJMHBC.mjs";
22
22
  import "../../chunk-CDXBML6O.mjs";
23
23
  import "../../chunk-27Y6K5NK.mjs";
24
24
  import "../../chunk-AC6TWLRT.mjs";
@@ -787,8 +787,8 @@ var template = {
787
787
  {
788
788
  fillRule: "evenodd",
789
789
  clipRule: "evenodd",
790
- fill: "currentColor",
791
- d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z"
790
+ d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
791
+ fill: "currentColor"
792
792
  }
793
793
  ) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
794
794
  "path",
@@ -802,6 +802,41 @@ var template = {
802
802
  }
803
803
  );
804
804
  },
805
+ halfStar: ({ className }) => {
806
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
807
+ "svg",
808
+ {
809
+ xmlns: "http://www.w3.org/2000/svg",
810
+ width: "18",
811
+ height: "18",
812
+ viewBox: "0 0 18 18",
813
+ fill: "none",
814
+ className,
815
+ children: [
816
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
817
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
818
+ "path",
819
+ {
820
+ fillRule: "evenodd",
821
+ clipRule: "evenodd",
822
+ fill: "currentColor",
823
+ d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
824
+ clipPath: "url(#half-clip)"
825
+ }
826
+ ),
827
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
828
+ "path",
829
+ {
830
+ d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
831
+ stroke: "currentColor",
832
+ strokeLinecap: "round",
833
+ strokeLinejoin: "round"
834
+ }
835
+ )
836
+ ]
837
+ }
838
+ );
839
+ },
805
840
  avatar: ({ className }) => {
806
841
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
807
842
  "svg",
@@ -5498,7 +5533,7 @@ var Input = (0, import_react3.forwardRef)((originalProps, ref) => {
5498
5533
  ),
5499
5534
  size: originalProps.size
5500
5535
  }),
5501
- [slots, classNames, originalProps.size]
5536
+ [slots, classNames, originalProps.size, inputProps.readOnly]
5502
5537
  );
5503
5538
  const renderStartContent = () => {
5504
5539
  if ((0, import_react3.isValidElement)(startContent)) {
@@ -5621,31 +5656,22 @@ var inputStyle = tv(
5621
5656
  "placeholder:text-neutral-main",
5622
5657
  "outline-none",
5623
5658
  "focus:ring-0",
5624
- "group-has-[:hover]/input:text-neutral-dark",
5625
- "group-has-[:hover]/input:placeholder:text-neutral-dark",
5626
- "group-has-[:focus]/input:text-neutral-dark",
5627
- "group-has-[:focus]/input:placeholder:text-neutral-dark",
5628
- "group-has-[p.error]/input:text-danger-main",
5629
- "group-has-[p.error]/input:placeholder:text-danger-main",
5630
- "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"
5631
5665
  ],
5632
5666
  content: [
5633
5667
  "flex",
5634
5668
  "items-center",
5635
5669
  "select-none",
5636
5670
  "text-neutral-main",
5637
- "group-has-[:hover]/input:text-neutral-dark",
5638
- "group-has-[p.error]/input:text-danger-main",
5639
- "group-has-[p.error]/input:hover:text-danger-main",
5640
- "group-has-[p.error]/input:focus:text-danger-main"
5641
- ],
5642
- helperMessage: [
5643
- "text-neutral-main",
5644
- "group-has-[:hover]/input:text-neutral-dark",
5645
- "group-has-[p.error]/input:text-danger-main",
5646
- "group-has-[p.error]/input:hover:text-danger-main",
5647
- "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"
5648
5673
  ],
5674
+ helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
5649
5675
  errorMessage: ["text-danger-main"],
5650
5676
  readonlyWrapper: [
5651
5677
  "pointer-events-none",
@@ -5654,7 +5680,7 @@ var inputStyle = tv(
5654
5680
  "[&>input]:text-body-foreground",
5655
5681
  "[&>input]:placeholder:text-body-foreground"
5656
5682
  ],
5657
- readonly: []
5683
+ readonly: ["text-body-foreground"]
5658
5684
  },
5659
5685
  variants: {
5660
5686
  variant: {
@@ -5665,8 +5691,8 @@ var inputStyle = tv(
5665
5691
  outline: {
5666
5692
  inputWrapper: [
5667
5693
  "border-neutral-light",
5668
- "group-has-[:hover]/input:bg-trans-soft",
5669
- "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",
5670
5696
  "group-has-[p.error]/input:border-danger-main"
5671
5697
  ],
5672
5698
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5675,8 +5701,8 @@ var inputStyle = tv(
5675
5701
  inputWrapper: [
5676
5702
  "bg-transparent",
5677
5703
  "rounded-none",
5678
- "group-has-[:hover]/input:bg-trans-soft",
5679
- "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",
5680
5706
  "group-has-[p.error]/input:border-danger-main"
5681
5707
  ],
5682
5708
  readonlyWrapper: ["!bg-trans-soft"]
@@ -5684,22 +5710,13 @@ var inputStyle = tv(
5684
5710
  },
5685
5711
  color: {
5686
5712
  primary: {
5687
- content: ["group-has-[:focus]/input:text-primary-main", "group-has-[:focus]/input:hover:text-primary-main"],
5688
- helperMessage: [
5689
- "group-has-[:focus]/input:text-primary-main",
5690
- "group-has-[:focus]/input:hover:text-primary-main"
5691
- ],
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"],
5692
5715
  readonly: ["text-primary-main"]
5693
5716
  },
5694
5717
  secondary: {
5695
- content: [
5696
- "group-has-[:focus]/input:text-secondary-main",
5697
- "group-has-[:focus]/input:hover:text-secondary-main"
5698
- ],
5699
- helperMessage: [
5700
- "group-has-[:focus]/input:text-secondary-main",
5701
- "group-has-[:focus]/input:hover:text-secondary-main"
5702
- ],
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"],
5703
5720
  readonly: ["text-secondary-main"]
5704
5721
  }
5705
5722
  },
@@ -5750,14 +5767,9 @@ var inputStyle = tv(
5750
5767
  },
5751
5768
  disabled: {
5752
5769
  true: {
5753
- inputWrapper: ["!bg-neutral-soft", "pointer-events-none", "group-has-[p.error]/input:!text-danger-light"],
5754
- input: [
5755
- "!text-neutral-light",
5756
- "placeholder:!text-neutral-light",
5757
- "group-has-[p.error]/input:!text-danger-light",
5758
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5759
- ],
5760
- 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"],
5761
5773
  helperMessage: ["!text-neutral-light"],
5762
5774
  errorMessage: ["!text-danger-light"]
5763
5775
  }
@@ -5765,11 +5777,9 @@ var inputStyle = tv(
5765
5777
  readonly: {
5766
5778
  true: {
5767
5779
  readonlyWrapper: ["pointer-events-none"],
5768
- input: [
5769
- "group-has-[p.error]/input:!text-danger-main",
5770
- "group-has-[p.error]/input:placeholder:!text-danger-main"
5771
- ],
5772
- 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"]
5773
5783
  }
5774
5784
  }
5775
5785
  },
@@ -5830,17 +5840,6 @@ var inputStyle = tv(
5830
5840
  inputWrapper: ["border-b-xl"]
5831
5841
  }
5832
5842
  },
5833
- {
5834
- disabled: true,
5835
- variant: ["outline", "underline"],
5836
- class: {
5837
- inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
5838
- content: [
5839
- "group-has-[p.error]/input:!text-danger-light",
5840
- "group-has-[p.error]/input:placeholder:!text-danger-light"
5841
- ]
5842
- }
5843
- },
5844
5843
  {
5845
5844
  readonly: true,
5846
5845
  color: "primary",
@@ -5856,6 +5855,37 @@ var inputStyle = tv(
5856
5855
  input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
5857
5856
  content: ["!text-secondary-main"]
5858
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
+ }
5859
5889
  }
5860
5890
  ],
5861
5891
  defaultVariants: {
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import {
3
3
  table_body_default
4
- } from "../../chunk-JJAPJQUD.mjs";
4
+ } from "../../chunk-OY5W6JCO.mjs";
5
5
  import "../../chunk-7B7LRG5J.mjs";
6
- import "../../chunk-MGGBCCZL.mjs";
6
+ import "../../chunk-7QL54JRV.mjs";
7
7
  import "../../chunk-F3HENRVM.mjs";
8
8
  import "../../chunk-2GCSFWHD.mjs";
9
- import "../../chunk-BFC4VP3B.mjs";
9
+ import "../../chunk-QR5CKZLL.mjs";
10
10
  import "../../chunk-DQRAFUDA.mjs";
11
11
  import "../../chunk-EWS3FESG.mjs";
12
12
  import "../../chunk-QZ3LVYJW.mjs";
13
13
  import "../../chunk-H6JGLPPF.mjs";
14
14
  import "../../chunk-ZYIIXWVY.mjs";
15
- import "../../chunk-LBJN5TAP.mjs";
15
+ import "../../chunk-R7KUEH3N.mjs";
16
16
  import "../../chunk-E3G5QXSH.mjs";
17
- import "../../chunk-VUMESK5D.mjs";
17
+ import "../../chunk-DDFJMHBC.mjs";
18
18
  import "../../chunk-CDXBML6O.mjs";
19
19
  import "../../chunk-27Y6K5NK.mjs";
20
20
  import "../../chunk-AC6TWLRT.mjs";