@choice-ui/react 1.7.5 → 1.7.7

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 (335) hide show
  1. package/dist/components/colors/dist/index.d.ts +878 -0
  2. package/dist/components/colors/scripts/build-worker.d.ts +1 -0
  3. package/dist/components/colors/src/check-color-contrast/check-color-contrast-boundary.d.ts +14 -0
  4. package/dist/components/colors/src/check-color-contrast/check-color-contrast-boundary.js +403 -0
  5. package/dist/components/colors/src/check-color-contrast/check-color-contrast-toolbar.d.ts +12 -0
  6. package/dist/components/colors/src/check-color-contrast/check-color-contrast-toolbar.js +285 -0
  7. package/dist/components/colors/src/check-color-contrast/index.d.ts +2 -0
  8. package/dist/components/colors/src/color-area/color-area.d.ts +24 -0
  9. package/dist/components/colors/src/color-area/color-area.js +228 -0
  10. package/dist/components/colors/src/color-area/index.d.ts +1 -0
  11. package/dist/components/colors/src/color-area/tv.d.ts +34 -0
  12. package/dist/components/colors/src/color-area/tv.js +22 -0
  13. package/dist/components/colors/src/color-channel-field/color-channel-field.d.ts +22 -0
  14. package/dist/components/colors/src/color-channel-field/color-channel-field.js +110 -0
  15. package/dist/components/colors/src/color-channel-field/color-channel-input.d.ts +20 -0
  16. package/dist/components/colors/src/color-channel-field/color-channel-input.js +261 -0
  17. package/dist/components/colors/src/color-channel-field/index.d.ts +1 -0
  18. package/dist/components/colors/src/color-channel-field/tv.d.ts +101 -0
  19. package/dist/components/colors/src/color-channel-field/tv.js +85 -0
  20. package/dist/components/colors/src/color-gradients-paint/color-gradient-combined.d.ts +16 -0
  21. package/dist/components/colors/src/color-gradients-paint/color-gradient-combined.js +54 -0
  22. package/dist/components/colors/src/color-gradients-paint/color-gradient-control.d.ts +18 -0
  23. package/dist/components/colors/src/color-gradients-paint/color-gradient-control.js +149 -0
  24. package/dist/components/colors/src/color-gradients-paint/color-gradient-list.d.ts +20 -0
  25. package/dist/components/colors/src/color-gradients-paint/color-gradient-list.js +111 -0
  26. package/dist/components/colors/src/color-gradients-paint/color-gradient-slider.d.ts +18 -0
  27. package/dist/components/colors/src/color-gradients-paint/color-gradient-slider.js +281 -0
  28. package/dist/components/colors/src/color-gradients-paint/color-gradients-paint.d.ts +17 -0
  29. package/dist/components/colors/src/color-gradients-paint/color-gradients-paint.js +162 -0
  30. package/dist/components/colors/src/color-gradients-paint/color-gradients-toolbar.d.ts +10 -0
  31. package/dist/components/colors/src/color-gradients-paint/color-gradients-toolbar.js +62 -0
  32. package/dist/components/colors/src/color-gradients-paint/index.d.ts +3 -0
  33. package/dist/components/colors/src/color-image-paint/color-image-paint.d.ts +13 -0
  34. package/dist/components/colors/src/color-image-paint/color-image-paint.js +236 -0
  35. package/dist/components/colors/src/color-image-paint/color-image-toolbar.d.ts +9 -0
  36. package/dist/components/colors/src/color-image-paint/color-image-toolbar.js +52 -0
  37. package/dist/components/colors/src/color-image-paint/index.d.ts +1 -0
  38. package/dist/components/colors/src/color-image-paint/tv.d.ts +89 -0
  39. package/dist/components/colors/src/color-image-paint/tv.js +45 -0
  40. package/dist/components/colors/src/color-picker-content/color-picker-content.d.ts +18 -0
  41. package/dist/components/colors/src/color-picker-content/color-picker-content.js +58 -0
  42. package/dist/components/colors/src/color-picker-content/color-picker-custom-content.d.ts +16 -0
  43. package/dist/components/colors/src/color-picker-content/color-picker-custom-content.js +75 -0
  44. package/dist/components/colors/src/color-picker-content/index.d.ts +1 -0
  45. package/dist/components/colors/src/color-picker-content/paint-type-selector.d.ts +13 -0
  46. package/dist/components/colors/src/color-picker-content/paint-type-selector.js +50 -0
  47. package/dist/components/colors/src/color-picker-content/tv.d.ts +31 -0
  48. package/dist/components/colors/src/color-picker-content/tv.js +13 -0
  49. package/dist/components/colors/src/color-picker-popover/color-paints-type.d.ts +15 -0
  50. package/dist/components/colors/src/color-picker-popover/color-paints-type.js +56 -0
  51. package/dist/components/colors/src/color-picker-popover/color-picker-popover.d.ts +26 -0
  52. package/dist/components/colors/src/color-picker-popover/color-picker-popover.js +116 -0
  53. package/dist/components/colors/src/color-picker-popover/color-picker-tabs.d.ts +14 -0
  54. package/dist/components/colors/src/color-picker-popover/color-picker-tabs.js +47 -0
  55. package/dist/components/colors/src/color-picker-popover/color-picker-title.d.ts +14 -0
  56. package/dist/components/colors/src/color-picker-popover/color-picker-title.js +30 -0
  57. package/dist/components/colors/src/color-picker-popover/index.d.ts +3 -0
  58. package/dist/components/colors/src/color-picker-popover/tv.d.ts +37 -0
  59. package/dist/components/colors/src/color-slider/color-slider.d.ts +19 -0
  60. package/dist/components/colors/src/color-slider/color-slider.js +185 -0
  61. package/dist/components/colors/src/color-slider/index.d.ts +1 -0
  62. package/dist/components/colors/src/color-slider/tv.d.ts +31 -0
  63. package/dist/components/colors/src/color-slider/tv.js +21 -0
  64. package/dist/components/colors/src/color-solid-paint/color-native-picker.d.ts +8 -0
  65. package/dist/components/colors/src/color-solid-paint/color-native-picker.js +63 -0
  66. package/dist/components/colors/src/color-solid-paint/color-solid-paint.d.ts +25 -0
  67. package/dist/components/colors/src/color-solid-paint/color-solid-paint.js +295 -0
  68. package/dist/components/colors/src/color-solid-paint/index.d.ts +3 -0
  69. package/dist/components/colors/src/color-solid-paint/solid-paint-alpha-slider.d.ts +10 -0
  70. package/dist/components/colors/src/color-solid-paint/solid-paint-alpha-slider.js +20 -0
  71. package/dist/components/colors/src/color-solid-paint/solid-paint-area.d.ts +17 -0
  72. package/dist/components/colors/src/color-solid-paint/solid-paint-area.js +131 -0
  73. package/dist/components/colors/src/color-solid-paint/solid-paint-channel-field.d.ts +20 -0
  74. package/dist/components/colors/src/color-solid-paint/solid-paint-channel-field.js +147 -0
  75. package/dist/components/colors/src/color-solid-paint/solid-paint-hue-slider.d.ts +14 -0
  76. package/dist/components/colors/src/color-solid-paint/solid-paint-hue-slider.js +46 -0
  77. package/dist/components/colors/src/color-solid-paint/solid-paint-library-item.d.ts +8 -0
  78. package/dist/components/colors/src/color-solid-paint/tv.d.ts +79 -0
  79. package/dist/components/colors/src/color-solid-paint/tv.js +39 -0
  80. package/dist/components/colors/src/color-swatch/color-swatch.d.ts +15 -0
  81. package/dist/components/colors/src/color-swatch/color-swatch.js +111 -0
  82. package/dist/components/colors/src/color-swatch/index.d.ts +1 -0
  83. package/dist/components/colors/src/contents/color-space.d.ts +19 -0
  84. package/dist/components/colors/src/contents/color-space.js +16 -0
  85. package/dist/components/colors/src/contents/colors.d.ts +42 -0
  86. package/dist/components/colors/src/contents/colors.js +24 -0
  87. package/dist/components/colors/src/contents/index.d.ts +3 -0
  88. package/dist/components/colors/src/contents/translation.d.ts +100 -0
  89. package/dist/components/colors/src/contents/translation.js +94 -0
  90. package/dist/components/colors/src/context/colots-context.d.ts +24 -0
  91. package/dist/components/colors/src/context/colots-context.js +62 -0
  92. package/dist/components/colors/src/context/index.d.ts +1 -0
  93. package/dist/components/colors/src/fill-input/alpha-input.d.ts +12 -0
  94. package/dist/components/colors/src/fill-input/alpha-input.js +48 -0
  95. package/dist/components/colors/src/fill-input/color-input.d.ts +31 -0
  96. package/dist/components/colors/src/fill-input/color-input.js +115 -0
  97. package/dist/components/colors/src/fill-input/gradient-item.d.ts +25 -0
  98. package/dist/components/colors/src/fill-input/gradient-item.js +103 -0
  99. package/dist/components/colors/src/fill-input/image-item.d.ts +25 -0
  100. package/dist/components/colors/src/fill-input/image-item.js +89 -0
  101. package/dist/components/colors/src/fill-input/index.d.ts +5 -0
  102. package/dist/components/colors/src/fill-input/tv.d.ts +221 -0
  103. package/dist/components/colors/src/fill-input/tv.js +205 -0
  104. package/dist/components/colors/src/fill-input/variable-item.d.ts +22 -0
  105. package/dist/components/colors/src/fill-input/variable-item.js +105 -0
  106. package/dist/components/colors/src/hex-input/hex-input.d.ts +10 -0
  107. package/dist/components/colors/src/hex-input/hex-input.js +182 -0
  108. package/dist/components/colors/src/hex-input/index.d.ts +1 -0
  109. package/dist/components/colors/src/hex-input/tv.d.ts +1 -0
  110. package/dist/components/colors/src/hex-input/tv.js +12 -0
  111. package/dist/components/colors/src/hooks/index.d.ts +10 -0
  112. package/dist/components/colors/src/hooks/use-color-contrast-recommendation.d.ts +36 -0
  113. package/dist/components/colors/src/hooks/use-color-contrast-recommendation.js +502 -0
  114. package/dist/components/colors/src/hooks/use-color-parser.d.ts +10 -0
  115. package/dist/components/colors/src/hooks/use-color-parser.js +146 -0
  116. package/dist/components/colors/src/hooks/use-color-picker.d.ts +45 -0
  117. package/dist/components/colors/src/hooks/use-color-picker.js +117 -0
  118. package/dist/components/colors/src/hooks/use-color-profile.d.ts +2 -0
  119. package/dist/components/colors/src/hooks/use-color-profile.js +27 -0
  120. package/dist/components/colors/src/hooks/use-cursor.d.ts +1 -0
  121. package/dist/components/colors/src/hooks/use-cursor.js +25 -0
  122. package/dist/components/colors/src/hooks/use-features.d.ts +21 -0
  123. package/dist/components/colors/src/hooks/use-features.js +73 -0
  124. package/dist/components/colors/src/hooks/use-image-filter-style.d.ts +9 -0
  125. package/dist/components/colors/src/hooks/use-image-filter-style.js +25 -0
  126. package/dist/components/colors/src/hooks/use-image-processor.d.ts +10 -0
  127. package/dist/components/colors/src/hooks/use-image-processor.js +121 -0
  128. package/dist/components/colors/src/hooks/use-paint-state.d.ts +16 -0
  129. package/dist/components/colors/src/hooks/use-paint-state.js +37 -0
  130. package/dist/components/colors/src/hooks/use-rgb-color-handler.d.ts +21 -0
  131. package/dist/components/colors/src/hooks/use-rgb-color-handler.js +58 -0
  132. package/dist/components/colors/src/index.d.ts +38 -0
  133. package/dist/components/colors/src/libraries/components/virtualized-grid-row.d.ts +36 -0
  134. package/dist/components/colors/src/libraries/components/virtualized-grid-row.js +53 -0
  135. package/dist/components/colors/src/libraries/components/virtualized-header.d.ts +9 -0
  136. package/dist/components/colors/src/libraries/components/virtualized-header.js +30 -0
  137. package/dist/components/colors/src/libraries/hooks/index.d.ts +2 -0
  138. package/dist/components/colors/src/libraries/hooks/use-category-options.d.ts +11 -0
  139. package/dist/components/colors/src/libraries/hooks/use-category-options.js +27 -0
  140. package/dist/components/colors/src/libraries/hooks/use-palette-color.d.ts +19 -0
  141. package/dist/components/colors/src/libraries/hooks/use-palette-color.js +41 -0
  142. package/dist/components/colors/src/libraries/index.d.ts +8 -0
  143. package/dist/components/colors/src/libraries/libraries-content.d.ts +8 -0
  144. package/dist/components/colors/src/libraries/libraries-empty-content.d.ts +5 -0
  145. package/dist/components/colors/src/libraries/libraries-header.d.ts +18 -0
  146. package/dist/components/colors/src/libraries/libraries-header.js +111 -0
  147. package/dist/components/colors/src/libraries/libraries-search-empty-content.d.ts +1 -0
  148. package/dist/components/colors/src/libraries/libraries-search-input.d.ts +6 -0
  149. package/dist/components/colors/src/libraries/libraries.d.ts +42 -0
  150. package/dist/components/colors/src/libraries/libraries.js +461 -0
  151. package/dist/components/colors/src/libraries/library-color-swatch.d.ts +21 -0
  152. package/dist/components/colors/src/libraries/library-item/index.d.ts +4 -0
  153. package/dist/components/colors/src/libraries/library-item/library-item.d.ts +21 -0
  154. package/dist/components/colors/src/libraries/library-item/library-item.js +151 -0
  155. package/dist/components/colors/src/libraries/library-item/library-list-item.d.ts +6 -0
  156. package/dist/components/colors/src/libraries/library-item/style-items.d.ts +17 -0
  157. package/dist/components/colors/src/libraries/library-item/style-items.js +63 -0
  158. package/dist/components/colors/src/libraries/library-item/variable-items.d.ts +19 -0
  159. package/dist/components/colors/src/libraries/library-item/variable-items.js +47 -0
  160. package/dist/components/colors/src/libraries/tv.d.ts +198 -0
  161. package/dist/components/colors/src/libraries/tv.js +141 -0
  162. package/dist/components/colors/src/simple-color-picker/index.d.ts +1 -0
  163. package/dist/components/colors/src/simple-color-picker/simple-color-picker.d.ts +17 -0
  164. package/dist/components/colors/src/simple-color-picker/simple-color-picker.js +153 -0
  165. package/dist/components/colors/src/types/base.d.ts +5 -0
  166. package/dist/components/colors/src/types/colors.d.ts +139 -0
  167. package/dist/components/colors/src/types/effect.d.ts +18 -0
  168. package/dist/components/colors/src/types/fill.d.ts +15 -0
  169. package/dist/components/colors/src/types/fonts.d.ts +38 -0
  170. package/dist/components/colors/src/types/index.d.ts +7 -0
  171. package/dist/components/colors/src/types/libraries.d.ts +7 -0
  172. package/dist/components/colors/src/types/paint.d.ts +139 -0
  173. package/dist/components/colors/src/types/style.d.ts +51 -0
  174. package/dist/components/colors/src/types/testing-library.d.ts +0 -0
  175. package/dist/components/colors/src/types/util.d.ts +26 -0
  176. package/dist/components/colors/src/types/variable.d.ts +27 -0
  177. package/dist/components/colors/src/utils/background.d.ts +12 -0
  178. package/dist/components/colors/src/utils/background.js +216 -0
  179. package/dist/components/colors/src/utils/color-profile-storage.d.ts +29 -0
  180. package/dist/components/colors/src/utils/color.d.ts +20 -0
  181. package/dist/components/colors/src/utils/color.js +45 -0
  182. package/dist/components/colors/src/utils/colors-convert.d.ts +18 -0
  183. package/dist/components/colors/src/utils/colors-convert.js +138 -0
  184. package/dist/components/colors/src/utils/contrast-utils.d.ts +27 -0
  185. package/dist/components/colors/src/utils/contrast-utils.js +25 -0
  186. package/dist/components/colors/src/utils/cursor.d.ts +1 -0
  187. package/dist/components/colors/src/utils/index.d.ts +7 -0
  188. package/dist/components/colors/src/utils/math.d.ts +9 -0
  189. package/dist/components/colors/src/utils/position.d.ts +33 -0
  190. package/dist/components/colors/src/utils/position.js +60 -0
  191. package/dist/components/colors/src/utils/validate.d.ts +10 -0
  192. package/dist/components/colors/src/workers/boundary-calculator.worker.bundled.d.ts +2 -0
  193. package/dist/components/colors/src/workers/boundary-calculator.worker.bundled.js +36 -0
  194. package/dist/components/colors/src/workers/boundary-calculator.worker.d.ts +1 -0
  195. package/dist/components/colors/src/workers/index.d.ts +1 -0
  196. package/dist/components/colors/tsup.config.d.ts +2 -0
  197. package/dist/components/comments/dist/index.d.ts +3 -0
  198. package/dist/components/comments/src/comment-input/comment-input.d.ts +3 -0
  199. package/dist/components/comments/src/comment-input/comment-input.js +8 -2
  200. package/dist/components/comments/src/comment-input/components/comment-input-footer.d.ts +3 -0
  201. package/dist/components/comments/src/comment-input/components/comment-input-footer.js +10 -9
  202. package/dist/components/comments/src/comment-input/components/comment-input-renderers.js +1 -1
  203. package/dist/components/index.d.ts +1 -0
  204. package/dist/components/modal/dist/index.js +1 -2
  205. package/dist/components/modal/src/tv.js +1 -2
  206. package/dist/components/numeric-input/dist/index.js +3 -4
  207. package/dist/components/numeric-input/src/tv.js +3 -4
  208. package/dist/components/otp-input/src/tv.js +1 -2
  209. package/dist/components/panel/src/tv.js +15 -16
  210. package/dist/components/skeleton/src/tv.js +1 -2
  211. package/dist/components/text-field/dist/index.js +1 -2
  212. package/dist/components/text-field/src/tv.js +1 -2
  213. package/dist/components/textarea/src/tv.d.ts +9 -3
  214. package/dist/components/textarea/src/tv.js +3 -1
  215. package/dist/components/toggle-button/dist/index.js +602 -0
  216. package/dist/index.js +69 -0
  217. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/index.js +119 -0
  218. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/Color.js +42 -0
  219. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/chroma.js +9 -0
  220. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/colors/colorbrewer.js +57 -0
  221. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/colors/w3cx11.js +159 -0
  222. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/average.js +82 -0
  223. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/bezier.js +68 -0
  224. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/blend.js +43 -0
  225. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/cubehelix.js +81 -0
  226. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/mix.js +20 -0
  227. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/random.js +13 -0
  228. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/generator/scale.js +325 -0
  229. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/_hsx.js +54 -0
  230. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/hcg.js +10 -0
  231. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/hsi.js +10 -0
  232. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/hsl.js +10 -0
  233. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/hsv.js +10 -0
  234. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/index.js +4 -0
  235. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/lab.js +17 -0
  236. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/lch.js +11 -0
  237. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/lrgb.js +17 -0
  238. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/num.js +12 -0
  239. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/oklab.js +17 -0
  240. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/oklch.js +10 -0
  241. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/interpolator/rgb.js +16 -0
  242. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/cmyk/cmyk2rgb.js +20 -0
  243. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/cmyk/index.js +25 -0
  244. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/cmyk/rgb2cmyk.js +18 -0
  245. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/css2rgb.js +169 -0
  246. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/hsl2css.js +20 -0
  247. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/index.js +23 -0
  248. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/lab2css.js +19 -0
  249. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/lch2css.js +19 -0
  250. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/oklab2css.js +17 -0
  251. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/oklch2css.js +17 -0
  252. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/css/rgb2css.js +53 -0
  253. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/gl/index.js +21 -0
  254. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hcg/hcg2rgb.js +48 -0
  255. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hcg/index.js +25 -0
  256. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hcg/rgb2hcg.js +24 -0
  257. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hex/hex2rgb.js +37 -0
  258. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hex/index.js +23 -0
  259. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hex/rgb2hex.js +31 -0
  260. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsi/hsi2rgb.js +36 -0
  261. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsi/index.js +25 -0
  262. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsi/rgb2hsi.js +28 -0
  263. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsl/hsl2rgb.js +35 -0
  264. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsl/index.js +25 -0
  265. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsl/rgb2hsl.js +29 -0
  266. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsv/hsv2rgb.js +46 -0
  267. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsv/index.js +25 -0
  268. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/hsv/rgb2hsv.js +27 -0
  269. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/input.js +7 -0
  270. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lab/index.js +28 -0
  271. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lab/lab-constants.js +106 -0
  272. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lab/lab2rgb.js +59 -0
  273. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lab/rgb2lab.js +51 -0
  274. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/hcl2rgb.js +10 -0
  275. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/index.js +35 -0
  276. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/lab2lch.js +13 -0
  277. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/lch2lab.js +12 -0
  278. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/lch2rgb.js +14 -0
  279. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/lch/rgb2lch.js +13 -0
  280. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/named/index.js +26 -0
  281. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/num/index.js +23 -0
  282. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/num/num2rgb.js +13 -0
  283. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/num/rgb2num.js +9 -0
  284. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklab/index.js +25 -0
  285. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklab/oklab2rgb.js +31 -0
  286. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklab/rgb2oklab.js +30 -0
  287. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklch/index.js +25 -0
  288. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklch/oklch2rgb.js +14 -0
  289. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/oklch/rgb2oklch.js +13 -0
  290. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/rgb/index.js +34 -0
  291. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/temp/index.js +16 -0
  292. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/temp/rgb2temperature.js +25 -0
  293. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/io/temp/temperature2rgb.js +18 -0
  294. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/alpha.js +12 -0
  295. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/clipped.js +4 -0
  296. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/darken.js +14 -0
  297. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/get.js +12 -0
  298. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/luminance.js +38 -0
  299. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/mix.js +5 -0
  300. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/premultiply.js +11 -0
  301. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/saturate.js +13 -0
  302. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/set.js +42 -0
  303. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/ops/shade.js +9 -0
  304. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/analyze.js +161 -0
  305. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/clip_rgb.js +17 -0
  306. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/contrast.js +12 -0
  307. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/contrastAPCA.js +43 -0
  308. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/delta-e.js +48 -0
  309. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/distance.js +16 -0
  310. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/index.js +24 -0
  311. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/last.js +10 -0
  312. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/limit.js +7 -0
  313. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/multiply-matrices.js +29 -0
  314. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/scales.js +16 -0
  315. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/type.js +20 -0
  316. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/unpack.js +11 -0
  317. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/utils/valid.js +12 -0
  318. package/dist/node_modules/.pnpm/chroma-js@3.2.0/node_modules/chroma-js/src/version.js +4 -0
  319. package/dist/node_modules/.pnpm/fuse.js@7.1.0/node_modules/fuse.js/dist/fuse.js +1317 -0
  320. package/dist/styles/components.css +226 -0
  321. package/dist/tailwind.css +1 -0
  322. package/package.json +32 -20
  323. package/dist/components/modal/src/styles/style.module.css +0 -4
  324. package/dist/components/modal/src/styles/style.module.css.js +0 -8
  325. package/dist/components/numeric-input/src/styles/style.module.css +0 -45
  326. package/dist/components/numeric-input/src/styles/style.module.css.js +0 -12
  327. package/dist/components/otp-input/src/styles/style.module.css +0 -15
  328. package/dist/components/otp-input/src/styles/style.module.css.js +0 -8
  329. package/dist/components/panel/src/styles/style.module.css +0 -103
  330. package/dist/components/panel/src/styles/style.module.css.js +0 -23
  331. package/dist/components/skeleton/src/styles/style.module.css +0 -18
  332. package/dist/components/skeleton/src/styles/style.module.css.js +0 -8
  333. package/dist/components/text-field/src/styles/style.module.css +0 -31
  334. package/dist/components/text-field/src/styles/style.module.css.js +0 -8
  335. package/dist/components/virtual-select/dist/index.d.ts +0 -48
@@ -362,6 +362,103 @@
362
362
  }
363
363
  }
364
364
 
365
+ /* Panel row styles */
366
+ @layer components {
367
+ .properties-panel {
368
+ @apply relative flex min-w-0 flex-col;
369
+ &:not(:last-child) {
370
+ @apply border-b;
371
+ }
372
+ }
373
+
374
+ .rows {
375
+ @apply grid min-w-0 items-center pr-2 pl-4;
376
+ }
377
+ .rows--label {
378
+ @apply text-secondary-foreground mt-1 select-none;
379
+ padding-right: 0.125rem;
380
+ padding-left: 0.125rem;
381
+ font-weight: 500;
382
+ font-size: 0.5625rem;
383
+ line-height: 0.875rem;
384
+ letter-spacing: 0.016875rem;
385
+ }
386
+ .rows--single {
387
+ @apply gap-x-2 pr-4;
388
+ grid-template-rows: auto minmax(2rem, auto);
389
+ grid-template-columns: 1fr;
390
+ grid-template-areas: "label" "input";
391
+ }
392
+ .rows--two-columns {
393
+ @apply gap-x-2 pr-4;
394
+ grid-template-rows: auto minmax(2rem, auto);
395
+ grid-template-columns: 1fr 1fr;
396
+ grid-template-areas: "label-1 label-2" "input-1 input-2";
397
+ }
398
+ .rows--one-label-one-input {
399
+ @apply gap-x-2 pr-4;
400
+ grid-template-rows: 2rem;
401
+ grid-template-columns: 8fr 20fr;
402
+ grid-template-areas: "label input";
403
+ }
404
+ .rows--one-label-one-input-one-icon {
405
+ @apply gap-x-1 pr-2;
406
+ grid-template-rows: 2rem;
407
+ grid-template-columns: 8fr 20fr 1.5rem;
408
+ grid-template-areas: "label input icon";
409
+ }
410
+ .rows--one-label-two-input {
411
+ @apply gap-x-2 pr-4;
412
+ grid-template-rows: 2rem;
413
+ grid-template-columns: 8fr 10fr 10fr;
414
+ grid-template-areas: "label input-1 input-2";
415
+ }
416
+ .rows--one-icon-one-input {
417
+ @apply gap-x-2 pr-4;
418
+ grid-template-rows: auto minmax(2rem, auto);
419
+ grid-template-columns: 1.5rem 1fr;
420
+ grid-template-areas: ". label" "icon input";
421
+ }
422
+ .rows--one-input-one-icon {
423
+ @apply gap-x-2;
424
+ grid-template-rows: auto minmax(2rem, auto);
425
+ grid-template-columns: 1fr 1.5rem;
426
+ grid-template-areas: "label label" "input icon";
427
+ }
428
+ .rows--one-input-two-icon {
429
+ grid-template-rows: auto minmax(2rem, auto);
430
+ grid-template-columns: 1fr 0.5rem 1.5rem 0.25rem 1.5rem;
431
+ grid-template-areas: "label . . . ." "input . icon-1 . icon-2";
432
+ }
433
+ .rows--two-input-two-icon {
434
+ grid-template-rows: auto minmax(2rem, auto);
435
+ grid-template-columns: minmax(76px, 1fr) 0.5rem 1fr 0.5rem 1.5rem 0.25rem 1.5rem;
436
+ grid-template-areas: "label-1 label-1 label-2 label-2 . . ." "input-1 . input-2 . icon-1 . icon-2";
437
+ }
438
+ .rows--two-input-one-icon {
439
+ @apply gap-x-2;
440
+ grid-template-rows: auto minmax(2rem, auto);
441
+ grid-template-columns: 1fr 1fr 1.5rem;
442
+ grid-template-areas: "label-1 label-2 label-2" "input-1 input-2 icon";
443
+ }
444
+ .rows--one-icon-one-input-one-icon {
445
+ grid-template-rows: auto minmax(2rem, auto);
446
+ grid-template-columns: 1.5rem 0.5rem 1fr 0.5rem 1.5rem;
447
+ grid-template-areas: "label label label label label" "icon-1 . input . icon-2";
448
+ }
449
+ .rows--one-icon-one-input-two-icon {
450
+ grid-template-rows: auto minmax(2rem, auto);
451
+ grid-template-columns: 1.5rem 0.5rem 1fr 0.5rem 1.5rem 0.25rem 1.5rem;
452
+ grid-template-areas: "label label label label label label label" "icon-1 . input . icon-2 . icon-3";
453
+ }
454
+ .rows--two-input-one-icon-double-row {
455
+ @apply gap-x-2;
456
+ grid-template-rows: auto 2rem 2rem;
457
+ grid-template-columns: 1fr 1fr 1.5rem;
458
+ grid-template-areas: "label-1 label-2 ." "input-1 input-3 icon-1" "input-2 input-3 icon-2";
459
+ }
460
+ }
461
+
365
462
  /* Condition styles */
366
463
  @layer components {
367
464
  .condition__group {
@@ -414,6 +511,28 @@
414
511
  }
415
512
  }
416
513
 
514
+ /* Skeleton styles */
515
+ @layer components {
516
+ .skeleton {
517
+ transition: all 0.2s ease-in-out !important;
518
+ outline: none !important;
519
+ box-shadow: none !important;
520
+ border-color: transparent !important;
521
+ border-radius: var(--radius-md);
522
+ background-color: var(--color-secondary-background) !important;
523
+ resize: none !important;
524
+ pointer-events: none !important;
525
+ color: transparent !important;
526
+ &::placeholder,
527
+ &:placeholder-shown {
528
+ color: transparent !important;
529
+ }
530
+ & * {
531
+ visibility: hidden !important;
532
+ }
533
+ }
534
+ }
535
+
417
536
  /* Comments styles */
418
537
  @layer components {
419
538
  .comments__input {
@@ -428,3 +547,110 @@
428
547
  column-gap: calc(var(--spacing) * 2);
429
548
  }
430
549
  }
550
+
551
+ /* Fields styles */
552
+ @layer components {
553
+ .fields__text-field {
554
+ grid-template-columns: auto 1fr auto;
555
+ grid-template-areas: "prefix input suffix";
556
+ &::before {
557
+ @apply pointer-events-none z-2 h-full border transform-3d;
558
+ grid-row: 1 / 2;
559
+ grid-column: 1 / 4;
560
+ border-radius: inherit;
561
+ content: "";
562
+ }
563
+ }
564
+
565
+ .input__number {
566
+ grid-template-columns: auto auto 1fr auto auto;
567
+ grid-template-areas: "prefix-handler variable input action suffix-handler";
568
+ &::before {
569
+ @apply pointer-events-none z-3 rounded-md border;
570
+ grid-row: 1 / 2;
571
+ grid-column: 1 / 6;
572
+ content: "";
573
+ }
574
+ }
575
+
576
+ .input__number--default {
577
+ grid-template-rows: 1.5rem;
578
+ &::before {
579
+ @apply h-6;
580
+ }
581
+ }
582
+
583
+ .input__number--large {
584
+ grid-template-rows: 2rem;
585
+ &::before {
586
+ @apply h-8;
587
+ }
588
+ }
589
+ }
590
+
591
+ /* Modal styles */
592
+ @layer components {
593
+ .modal__header {
594
+ grid-template-rows: minmax(2.5rem, auto);
595
+ grid-template-areas: "title . close" "input input input";
596
+ }
597
+ }
598
+
599
+ /* OTP Input styles */
600
+ @layer components {
601
+ .otp-input__caret {
602
+ animation: otp-caret-blink 1s ease-out infinite;
603
+ }
604
+
605
+ @keyframes otp-caret-blink {
606
+ 0%,
607
+ 70%,
608
+ 100% {
609
+ opacity: 1;
610
+ }
611
+ 20%,
612
+ 50% {
613
+ opacity: 0;
614
+ }
615
+ }
616
+ }
617
+
618
+ /* Colors styles */
619
+
620
+ @layer components {
621
+ .input-fill {
622
+ @apply relative grid;
623
+ &::before {
624
+ @apply pointer-events-none z-2 h-6 rounded-md border border-transparent;
625
+ grid-row: 1 / 2;
626
+ }
627
+ }
628
+ .input-fill--hex {
629
+ grid-template-columns: 1fr;
630
+ grid-template-areas: "input-1";
631
+ &::before {
632
+ grid-column: 1 / 2;
633
+ }
634
+ }
635
+ .input-fill--hex-and-alpha {
636
+ grid-template-columns: 1fr 2px 52px;
637
+ grid-template-areas: "input-1 . input-2";
638
+ &::before {
639
+ grid-column: 1 / 4;
640
+ }
641
+ }
642
+ .input-fill--rgb {
643
+ grid-template-columns: 1fr 2px 1fr 2px 1fr;
644
+ grid-template-areas: "input-1 . input-2 . input-3";
645
+ &::before {
646
+ grid-column: 1 / 6;
647
+ }
648
+ }
649
+ .input-fill--rgb-and-alpha {
650
+ grid-template-columns: 1fr 2px 1fr 2px 1fr 2px 48px;
651
+ grid-template-areas: "input-1 . input-2 . input-3 . input-4";
652
+ &::before {
653
+ grid-column: 1 / 8;
654
+ }
655
+ }
656
+ }
package/dist/tailwind.css CHANGED
@@ -1,5 +1,6 @@
1
1
  @import "tailwindcss";
2
2
  @plugin "@tailwindcss/typography";
3
+ @plugin "@choice-ui/grid-areas";
3
4
 
4
5
  @import "@choice-ui/design-tokens/tokens.css";
5
6
  @import "@choice-ui/design-tokens/preflight.css";
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@choice-ui/react",
3
- "version": "1.7.5",
3
+ "version": "1.7.7",
4
4
  "description": "A desktop-first React UI component library built for professional desktop applications with comprehensive documentation",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "source": "./app/index.ts",
8
8
  "main": "./dist/index.js",
9
- "types": "./dist/index.d.ts",
9
+ "types": "./app/index.ts",
10
10
  "files": [
11
11
  "dist",
12
12
  "README.md",
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "exports": {
16
16
  ".": {
17
- "types": "./dist/index.d.ts",
17
+ "types": "./app/index.ts",
18
18
  "import": "./dist/index.js"
19
19
  },
20
20
  "./styles/*": "./dist/styles/*",
@@ -22,10 +22,36 @@
22
22
  "./llms.txt": "./dist/llms.txt"
23
23
  },
24
24
  "publishConfig": {
25
- "access": "public"
25
+ "access": "public",
26
+ "types": "./dist/index.d.ts",
27
+ "main": "./dist/index.js",
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ },
33
+ "./styles/*": "./dist/styles/*",
34
+ "./tailwind.css": "./dist/tailwind.css",
35
+ "./llms.txt": "./dist/llms.txt"
36
+ }
37
+ },
38
+ "scripts": {
39
+ "build": "pnpm run clean && pnpm --filter @choice-ui/shared build && vite build",
40
+ "build:watch": "vite build --watch",
41
+ "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
42
+ "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
43
+ "lint:types": "tsc",
44
+ "clean": "rimraf dist",
45
+ "prepublishOnly": "pnpm run build",
46
+ "plop": "pnpm dlx plop",
47
+ "test": "jest",
48
+ "test:watch": "jest --watch",
49
+ "test:coverage": "jest --coverage",
50
+ "madge": "npx madge --circular --extensions ts app/"
26
51
  },
27
52
  "dependencies": {
28
53
  "@choiceform/icons-react": "^1.3.8",
54
+ "@choice-ui/design-tokens": "workspace:*",
29
55
  "classnames": "^2.5.1",
30
56
  "tailwind-merge": "^3.3.1",
31
57
  "tailwind-variants": "^3.1.0",
@@ -59,8 +85,7 @@
59
85
  "remark-breaks": "^4.0.0",
60
86
  "remark-math": "^6.0.0",
61
87
  "harden-react-markdown": "^1.0.4",
62
- "shiki": "^3.9.2",
63
- "@choice-ui/design-tokens": "0.2.13"
88
+ "shiki": "^3.9.2"
64
89
  },
65
90
  "devDependencies": {
66
91
  "@babel/core": "^7.27.1",
@@ -111,18 +136,5 @@
111
136
  "peerDependencies": {
112
137
  "react": ">=18.0.0",
113
138
  "react-dom": ">=18.0.0"
114
- },
115
- "scripts": {
116
- "build": "pnpm run clean && pnpm --filter @choice-ui/shared build && vite build",
117
- "build:watch": "vite build --watch",
118
- "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
119
- "lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
120
- "lint:types": "tsc",
121
- "clean": "rimraf dist",
122
- "plop": "pnpm dlx plop",
123
- "test": "jest",
124
- "test:watch": "jest --watch",
125
- "test:coverage": "jest --coverage",
126
- "madge": "npx madge --circular --extensions ts app/"
127
139
  }
128
- }
140
+ }
@@ -1,4 +0,0 @@
1
- ._header_15lpo_1 {
2
- grid-template-rows: minmax(2.5rem, auto);
3
- grid-template-areas: "title . close" "input input input";
4
- }
@@ -1,8 +0,0 @@
1
- import './style.module.css';const header = "_header_15lpo_1";
2
- const s = {
3
- header
4
- };
5
- export {
6
- s as default,
7
- header
8
- };
@@ -1,45 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- @layer properties {
3
- @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
- *, :before, :after, ::backdrop {
5
- --tw-border-style: solid;
6
- }
7
- }
8
- }
9
-
10
- ._input_irmph_10 {
11
- grid-template-columns: auto auto 1fr auto auto;
12
- grid-template-areas: "prefix-handler variable input action suffix-handler";
13
- }
14
-
15
- ._input_irmph_10:before {
16
- pointer-events: none;
17
- z-index: 3;
18
- border-radius: var(--radius-md, .375rem);
19
- border-style: var(--tw-border-style);
20
- content: "";
21
- border-width: 1px;
22
- grid-area: 1 / 1 / 2 / 6;
23
- }
24
-
25
- ._default_irmph_25 {
26
- grid-template-rows: 1.5rem;
27
- }
28
-
29
- ._default_irmph_25:before {
30
- height: calc(var(--spacing, .25rem) * 6);
31
- }
32
-
33
- ._large_irmph_33 {
34
- grid-template-rows: 2rem;
35
- }
36
-
37
- ._large_irmph_33:before {
38
- height: calc(var(--spacing, .25rem) * 8);
39
- }
40
-
41
- @property --tw-border-style {
42
- syntax: "*";
43
- inherits: false;
44
- initial-value: solid;
45
- }
@@ -1,12 +0,0 @@
1
- import './style.module.css';const input = "_input_irmph_10";
2
- const large = "_large_irmph_33";
3
- const s = {
4
- input,
5
- "default": "_default_irmph_25",
6
- large
7
- };
8
- export {
9
- s as default,
10
- input,
11
- large
12
- };
@@ -1,15 +0,0 @@
1
- ._caret_giwn8_1 {
2
- animation: _otp-caret-blink_giwn8_1 1s ease-out infinite;
3
- }
4
-
5
- @keyframes _otp-caret-blink_giwn8_1 {
6
- 0%,
7
- 70%,
8
- 100% {
9
- opacity: 1;
10
- }
11
- 20%,
12
- 50% {
13
- opacity: 0;
14
- }
15
- }
@@ -1,8 +0,0 @@
1
- import './style.module.css';const caret = "_caret_giwn8_1";
2
- const s = {
3
- caret
4
- };
5
- export {
6
- caret,
7
- s as default
8
- };
@@ -1,103 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- ._label_yadvv_2 {
3
- margin-top: calc(var(--spacing, .25rem) * 1);
4
- -webkit-user-select: none;
5
- user-select: none;
6
- letter-spacing: .016875rem;
7
- padding-left: .125rem;
8
- padding-right: .125rem;
9
- font-size: .5625rem;
10
- font-weight: 500;
11
- line-height: .875rem;
12
- }
13
-
14
- ._single_yadvv_14 {
15
- column-gap: calc(var(--spacing, .25rem) * 2);
16
- padding-right: calc(var(--spacing, .25rem) * 4);
17
- grid-template: "label"
18
- "input" minmax(2rem, auto)
19
- / 1fr;
20
- }
21
-
22
- ._two-columns_yadvv_22 {
23
- column-gap: calc(var(--spacing, .25rem) * 2);
24
- padding-right: calc(var(--spacing, .25rem) * 4);
25
- grid-template: "label-1 label-2"
26
- "input-1 input-2" minmax(2rem, auto)
27
- / 1fr 1fr;
28
- }
29
-
30
- ._one-label-one-input_yadvv_30 {
31
- column-gap: calc(var(--spacing, .25rem) * 2);
32
- padding-right: calc(var(--spacing, .25rem) * 4);
33
- grid-template: "label input" 2rem
34
- / 8fr 20fr;
35
- }
36
-
37
- ._one-label-one-input-one-icon_yadvv_37 {
38
- column-gap: calc(var(--spacing, .25rem) * 1);
39
- padding-right: calc(var(--spacing, .25rem) * 2);
40
- grid-template: "label input icon" 2rem
41
- / 8fr 20fr 1.5rem;
42
- }
43
-
44
- ._one-label-two-input_yadvv_44 {
45
- column-gap: calc(var(--spacing, .25rem) * 2);
46
- padding-right: calc(var(--spacing, .25rem) * 4);
47
- grid-template: "label input-1 input-2" 2rem
48
- / 8fr 10fr 10fr;
49
- }
50
-
51
- ._one-icon-one-input_yadvv_51 {
52
- column-gap: calc(var(--spacing, .25rem) * 2);
53
- padding-right: calc(var(--spacing, .25rem) * 4);
54
- grid-template: ". label"
55
- "icon input" minmax(2rem, auto)
56
- / 1.5rem 1fr;
57
- }
58
-
59
- ._one-input-one-icon_yadvv_59 {
60
- column-gap: calc(var(--spacing, .25rem) * 2);
61
- grid-template: "label label"
62
- "input icon" minmax(2rem, auto)
63
- / 1fr 1.5rem;
64
- }
65
-
66
- ._one-input-two-icon_yadvv_66 {
67
- grid-template: "label . . . ."
68
- "input . icon-1 . icon-2" minmax(2rem, auto)
69
- / 1fr .5rem 1.5rem .25rem 1.5rem;
70
- }
71
-
72
- ._two-input-two-icon_yadvv_72 {
73
- grid-template: "label-1 label-1 label-2 label-2 . . ."
74
- "input-1 . input-2 . icon-1 . icon-2" minmax(2rem, auto)
75
- / minmax(76px, 1fr) .5rem 1fr .5rem 1.5rem .25rem 1.5rem;
76
- }
77
-
78
- ._two-input-one-icon_yadvv_78 {
79
- column-gap: calc(var(--spacing, .25rem) * 2);
80
- grid-template: "label-1 label-2 label-2"
81
- "input-1 input-2 icon" minmax(2rem, auto)
82
- / 1fr 1fr 1.5rem;
83
- }
84
-
85
- ._one-icon-one-input-one-icon_yadvv_85 {
86
- grid-template: "label label label label label"
87
- "icon-1 . input . icon-2" minmax(2rem, auto)
88
- / 1.5rem .5rem 1fr .5rem 1.5rem;
89
- }
90
-
91
- ._one-icon-one-input-two-icon_yadvv_91 {
92
- grid-template: "label label label label label label label"
93
- "icon-1 . input . icon-2 . icon-3" minmax(2rem, auto)
94
- / 1.5rem .5rem 1fr .5rem 1.5rem .25rem 1.5rem;
95
- }
96
-
97
- ._two-input-one-icon-double-row_yadvv_97 {
98
- column-gap: calc(var(--spacing, .25rem) * 2);
99
- grid-template: "label-1 label-2 ."
100
- "input-1 input-3 icon-1" 2rem
101
- "input-2 input-3 icon-2" 2rem
102
- / 1fr 1fr 1.5rem;
103
- }
@@ -1,23 +0,0 @@
1
- import './style.module.css';const label = "_label_yadvv_2";
2
- const single = "_single_yadvv_14";
3
- const s = {
4
- label,
5
- single,
6
- "two-columns": "_two-columns_yadvv_22",
7
- "one-label-one-input": "_one-label-one-input_yadvv_30",
8
- "one-label-one-input-one-icon": "_one-label-one-input-one-icon_yadvv_37",
9
- "one-label-two-input": "_one-label-two-input_yadvv_44",
10
- "one-icon-one-input": "_one-icon-one-input_yadvv_51",
11
- "one-input-one-icon": "_one-input-one-icon_yadvv_59",
12
- "one-input-two-icon": "_one-input-two-icon_yadvv_66",
13
- "two-input-two-icon": "_two-input-two-icon_yadvv_72",
14
- "two-input-one-icon": "_two-input-one-icon_yadvv_78",
15
- "one-icon-one-input-one-icon": "_one-icon-one-input-one-icon_yadvv_85",
16
- "one-icon-one-input-two-icon": "_one-icon-one-input-two-icon_yadvv_91",
17
- "two-input-one-icon-double-row": "_two-input-one-icon-double-row_yadvv_97"
18
- };
19
- export {
20
- s as default,
21
- label,
22
- single
23
- };
@@ -1,18 +0,0 @@
1
- ._skeleton_76sc4_1 {
2
- transition: all 0.2s ease-in-out !important;
3
- outline: none !important;
4
- box-shadow: none !important;
5
- border-color: transparent !important;
6
- border-radius: var(--radius-md);
7
- background-color: var(--color-secondary-background) !important;
8
- resize: none !important;
9
- pointer-events: none !important;
10
- color: transparent !important;
11
- &::placeholder,
12
- &:placeholder-shown {
13
- color: transparent !important;
14
- }
15
- & * {
16
- visibility: hidden !important;
17
- }
18
- }
@@ -1,8 +0,0 @@
1
- import './style.module.css';const skeleton = "_skeleton_76sc4_1";
2
- const s = {
3
- skeleton
4
- };
5
- export {
6
- s as default,
7
- skeleton
8
- };
@@ -1,31 +0,0 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- @layer properties {
3
- @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
- *, :before, :after, ::backdrop {
5
- --tw-border-style: solid;
6
- }
7
- }
8
- }
9
-
10
- ._textField_u6mdl_10 {
11
- grid-template-columns: auto 1fr auto;
12
- grid-template-areas: "prefix input suffix";
13
- }
14
-
15
- ._textField_u6mdl_10:before {
16
- pointer-events: none;
17
- z-index: 2;
18
- border-style: var(--tw-border-style);
19
- height: 100%;
20
- transform-style: preserve-3d;
21
- border-radius: inherit;
22
- content: "";
23
- border-width: 1px;
24
- grid-area: 1 / 1 / 2 / 4;
25
- }
26
-
27
- @property --tw-border-style {
28
- syntax: "*";
29
- inherits: false;
30
- initial-value: solid;
31
- }
@@ -1,8 +0,0 @@
1
- import './style.module.css';const textField = "_textField_u6mdl_10";
2
- const s = {
3
- textField
4
- };
5
- export {
6
- s as default,
7
- textField
8
- };
@@ -1,48 +0,0 @@
1
- import { MenuContextContent, MenuDivider, MenuEmpty, MenuContextItem, MenuSearch, MenuTrigger, MenuValue } from '../../menus/src';
2
- import { FloatingFocusManagerProps } from '@floating-ui/react';
3
- import { default as React } from 'react';
4
- interface VirtualSelectOption<T = unknown> {
5
- value: string;
6
- label: string;
7
- disabled?: boolean;
8
- data?: T;
9
- }
10
- interface VirtualSelectProps<T = unknown> {
11
- className?: string;
12
- closeOnEscape?: boolean;
13
- disabled?: boolean;
14
- emptyText?: string;
15
- focusManagerProps?: Partial<FloatingFocusManagerProps>;
16
- matchTriggerWidth?: boolean;
17
- maxHeight?: number;
18
- onChange?: (value: string) => void;
19
- onOpenChange?: (open: boolean) => void;
20
- open?: boolean;
21
- options: VirtualSelectOption<T>[];
22
- overscan?: number;
23
- placeholder?: string;
24
- placement?: "bottom-start" | "bottom-end";
25
- portalId?: string;
26
- readOnly?: boolean;
27
- renderOption?: (option: VirtualSelectOption<T>, isSelected: boolean) => React.ReactNode;
28
- renderValue?: (option: VirtualSelectOption<T> | null) => React.ReactNode;
29
- root?: HTMLElement | null;
30
- searchPlaceholder?: string;
31
- size?: "default" | "large";
32
- value?: string | null;
33
- variant?: "default" | "light" | "reset";
34
- }
35
- interface VirtualSelectComponentType {
36
- <T = unknown>(props: VirtualSelectProps<T>): React.ReactElement | null;
37
- displayName?: string;
38
- Content: typeof MenuContextContent;
39
- Divider: typeof MenuDivider;
40
- Empty: typeof MenuEmpty;
41
- Item: typeof MenuContextItem;
42
- Search: typeof MenuSearch;
43
- Trigger: typeof MenuTrigger;
44
- Value: typeof MenuValue;
45
- }
46
- declare const VirtualSelect: VirtualSelectComponentType;
47
-
48
- export { VirtualSelect, type VirtualSelectOption, type VirtualSelectProps };