@moduix/react-tailwind 1.0.0

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 (380) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +130 -0
  3. package/THIRD_PARTY_NOTICES.md +49 -0
  4. package/dist/components/accordion/Accordion.d.ts +13 -0
  5. package/dist/components/accordion/Accordion.js +78 -0
  6. package/dist/components/accordion/index.d.ts +1 -0
  7. package/dist/components/accordion/index.js +1 -0
  8. package/dist/components/alert/Alert.d.ts +14 -0
  9. package/dist/components/alert/Alert.js +93 -0
  10. package/dist/components/alert/index.d.ts +1 -0
  11. package/dist/components/alert/index.js +1 -0
  12. package/dist/components/angle-slider/AngleSlider.d.ts +26 -0
  13. package/dist/components/angle-slider/AngleSlider.js +107 -0
  14. package/dist/components/angle-slider/index.d.ts +1 -0
  15. package/dist/components/angle-slider/index.js +1 -0
  16. package/dist/components/aspect-ratio/AspectRatio.d.ts +8 -0
  17. package/dist/components/aspect-ratio/AspectRatio.js +23 -0
  18. package/dist/components/aspect-ratio/index.d.ts +1 -0
  19. package/dist/components/aspect-ratio/index.js +1 -0
  20. package/dist/components/avatar/Avatar.d.ts +17 -0
  21. package/dist/components/avatar/Avatar.js +66 -0
  22. package/dist/components/avatar/index.d.ts +1 -0
  23. package/dist/components/avatar/index.js +1 -0
  24. package/dist/components/badge/Badge.d.ts +11 -0
  25. package/dist/components/badge/Badge.js +60 -0
  26. package/dist/components/badge/index.d.ts +1 -0
  27. package/dist/components/badge/index.js +1 -0
  28. package/dist/components/bleed/Bleed.d.ts +12 -0
  29. package/dist/components/bleed/Bleed.js +49 -0
  30. package/dist/components/bleed/index.d.ts +1 -0
  31. package/dist/components/bleed/index.js +1 -0
  32. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +21 -0
  33. package/dist/components/breadcrumbs/Breadcrumbs.js +105 -0
  34. package/dist/components/breadcrumbs/index.d.ts +1 -0
  35. package/dist/components/breadcrumbs/index.js +1 -0
  36. package/dist/components/button/Button.d.ts +18 -0
  37. package/dist/components/button/Button.js +84 -0
  38. package/dist/components/button/index.d.ts +1 -0
  39. package/dist/components/button/index.js +1 -0
  40. package/dist/components/card/Card.d.ts +19 -0
  41. package/dist/components/card/Card.js +135 -0
  42. package/dist/components/card/index.d.ts +1 -0
  43. package/dist/components/card/index.js +1 -0
  44. package/dist/components/carousel/Carousel.d.ts +20 -0
  45. package/dist/components/carousel/Carousel.js +145 -0
  46. package/dist/components/carousel/index.d.ts +1 -0
  47. package/dist/components/carousel/index.js +1 -0
  48. package/dist/components/chart/Chart.d.ts +18 -0
  49. package/dist/components/chart/Chart.js +183 -0
  50. package/dist/components/chart/index.d.ts +1 -0
  51. package/dist/components/chart/index.js +1 -0
  52. package/dist/components/checkbox/Checkbox.d.ts +20 -0
  53. package/dist/components/checkbox/Checkbox.js +83 -0
  54. package/dist/components/checkbox/index.d.ts +1 -0
  55. package/dist/components/checkbox/index.js +1 -0
  56. package/dist/components/clipboard/Clipboard.d.ts +15 -0
  57. package/dist/components/clipboard/Clipboard.js +105 -0
  58. package/dist/components/clipboard/index.d.ts +1 -0
  59. package/dist/components/clipboard/index.js +1 -0
  60. package/dist/components/close-button/CloseButton.d.ts +14 -0
  61. package/dist/components/close-button/CloseButton.js +50 -0
  62. package/dist/components/close-button/index.d.ts +1 -0
  63. package/dist/components/close-button/index.js +1 -0
  64. package/dist/components/collapsible/Collapsible.d.ts +11 -0
  65. package/dist/components/collapsible/Collapsible.js +67 -0
  66. package/dist/components/collapsible/index.d.ts +1 -0
  67. package/dist/components/collapsible/index.js +1 -0
  68. package/dist/components/color-picker/ColorPicker.d.ts +38 -0
  69. package/dist/components/color-picker/ColorPicker.js +354 -0
  70. package/dist/components/color-picker/index.d.ts +1 -0
  71. package/dist/components/color-picker/index.js +1 -0
  72. package/dist/components/combobox/Combobox.d.ts +30 -0
  73. package/dist/components/combobox/Combobox.js +208 -0
  74. package/dist/components/combobox/index.d.ts +1 -0
  75. package/dist/components/combobox/index.js +1 -0
  76. package/dist/components/command-palette/CommandPalette.d.ts +45 -0
  77. package/dist/components/command-palette/CommandPalette.js +376 -0
  78. package/dist/components/command-palette/index.d.ts +1 -0
  79. package/dist/components/command-palette/index.js +1 -0
  80. package/dist/components/container/Container.d.ts +12 -0
  81. package/dist/components/container/Container.js +123 -0
  82. package/dist/components/container/index.d.ts +1 -0
  83. package/dist/components/container/index.js +1 -0
  84. package/dist/components/date-input/DateInput.d.ts +17 -0
  85. package/dist/components/date-input/DateInput.js +87 -0
  86. package/dist/components/date-input/index.d.ts +1 -0
  87. package/dist/components/date-input/index.js +1 -0
  88. package/dist/components/date-picker/DatePicker.d.ts +66 -0
  89. package/dist/components/date-picker/DatePicker.js +430 -0
  90. package/dist/components/date-picker/index.d.ts +2 -0
  91. package/dist/components/date-picker/index.js +1 -0
  92. package/dist/components/dialog/Dialog.d.ts +25 -0
  93. package/dist/components/dialog/Dialog.js +147 -0
  94. package/dist/components/dialog/index.d.ts +2 -0
  95. package/dist/components/dialog/index.js +1 -0
  96. package/dist/components/drawer/Drawer.d.ts +40 -0
  97. package/dist/components/drawer/Drawer.js +202 -0
  98. package/dist/components/drawer/index.d.ts +1 -0
  99. package/dist/components/drawer/index.js +1 -0
  100. package/dist/components/editable/Editable.d.ts +16 -0
  101. package/dist/components/editable/Editable.js +120 -0
  102. package/dist/components/editable/index.d.ts +1 -0
  103. package/dist/components/editable/index.js +1 -0
  104. package/dist/components/empty/Empty.d.ts +9 -0
  105. package/dist/components/empty/Empty.js +73 -0
  106. package/dist/components/empty/index.d.ts +1 -0
  107. package/dist/components/empty/index.js +1 -0
  108. package/dist/components/field/Field.d.ts +17 -0
  109. package/dist/components/field/Field.js +103 -0
  110. package/dist/components/field/index.d.ts +1 -0
  111. package/dist/components/field/index.js +1 -0
  112. package/dist/components/fieldset/Fieldset.d.ts +10 -0
  113. package/dist/components/fieldset/Fieldset.js +54 -0
  114. package/dist/components/fieldset/index.d.ts +1 -0
  115. package/dist/components/fieldset/index.js +1 -0
  116. package/dist/components/file-upload/FileUpload.d.ts +31 -0
  117. package/dist/components/file-upload/FileUpload.js +199 -0
  118. package/dist/components/file-upload/index.d.ts +1 -0
  119. package/dist/components/file-upload/index.js +1 -0
  120. package/dist/components/floating-panel/FloatingPanel.d.ts +34 -0
  121. package/dist/components/floating-panel/FloatingPanel.js +209 -0
  122. package/dist/components/floating-panel/index.d.ts +1 -0
  123. package/dist/components/floating-panel/index.js +1 -0
  124. package/dist/components/heading/Heading.d.ts +15 -0
  125. package/dist/components/heading/Heading.js +60 -0
  126. package/dist/components/heading/index.d.ts +1 -0
  127. package/dist/components/heading/index.js +1 -0
  128. package/dist/components/highlight/Highlight.d.ts +7 -0
  129. package/dist/components/highlight/Highlight.js +16 -0
  130. package/dist/components/highlight/index.d.ts +1 -0
  131. package/dist/components/highlight/index.js +1 -0
  132. package/dist/components/hover-card/HoverCard.d.ts +19 -0
  133. package/dist/components/hover-card/HoverCard.js +93 -0
  134. package/dist/components/hover-card/index.d.ts +1 -0
  135. package/dist/components/hover-card/index.js +1 -0
  136. package/dist/components/image/Image.d.ts +13 -0
  137. package/dist/components/image/Image.js +25 -0
  138. package/dist/components/image/index.d.ts +1 -0
  139. package/dist/components/image/index.js +1 -0
  140. package/dist/components/image-cropper/ImageCropper.d.ts +17 -0
  141. package/dist/components/image-cropper/ImageCropper.js +95 -0
  142. package/dist/components/image-cropper/index.d.ts +1 -0
  143. package/dist/components/image-cropper/index.js +1 -0
  144. package/dist/components/input/Input.d.ts +12 -0
  145. package/dist/components/input/Input.js +38 -0
  146. package/dist/components/input/index.d.ts +1 -0
  147. package/dist/components/input/index.js +1 -0
  148. package/dist/components/input-group/InputGroup.d.ts +25 -0
  149. package/dist/components/input-group/InputGroup.js +131 -0
  150. package/dist/components/input-group/index.d.ts +1 -0
  151. package/dist/components/input-group/index.js +1 -0
  152. package/dist/components/json-tree-view/JsonTreeView.d.ts +8 -0
  153. package/dist/components/json-tree-view/JsonTreeView.js +39 -0
  154. package/dist/components/json-tree-view/index.d.ts +1 -0
  155. package/dist/components/json-tree-view/index.js +1 -0
  156. package/dist/components/kbd/Kbd.d.ts +5 -0
  157. package/dist/components/kbd/Kbd.js +30 -0
  158. package/dist/components/kbd/index.d.ts +1 -0
  159. package/dist/components/kbd/index.js +1 -0
  160. package/dist/components/lightbox/Lightbox.d.ts +46 -0
  161. package/dist/components/lightbox/Lightbox.js +232 -0
  162. package/dist/components/lightbox/index.d.ts +2 -0
  163. package/dist/components/lightbox/index.js +1 -0
  164. package/dist/components/list/List.d.ts +21 -0
  165. package/dist/components/list/List.js +106 -0
  166. package/dist/components/list/index.d.ts +1 -0
  167. package/dist/components/list/index.js +1 -0
  168. package/dist/components/listbox/Listbox.d.ts +28 -0
  169. package/dist/components/listbox/Listbox.js +179 -0
  170. package/dist/components/listbox/index.d.ts +1 -0
  171. package/dist/components/listbox/index.js +1 -0
  172. package/dist/components/marquee/Marquee.d.ts +12 -0
  173. package/dist/components/marquee/Marquee.js +93 -0
  174. package/dist/components/marquee/index.d.ts +1 -0
  175. package/dist/components/marquee/index.js +1 -0
  176. package/dist/components/menu/Menu.d.ts +51 -0
  177. package/dist/components/menu/Menu.js +300 -0
  178. package/dist/components/menu/index.d.ts +1 -0
  179. package/dist/components/menu/index.js +1 -0
  180. package/dist/components/native-select/NativeSelect.d.ts +9 -0
  181. package/dist/components/native-select/NativeSelect.js +38 -0
  182. package/dist/components/native-select/index.d.ts +1 -0
  183. package/dist/components/native-select/index.js +1 -0
  184. package/dist/components/navigation-menu/NavigationMenu.d.ts +18 -0
  185. package/dist/components/navigation-menu/NavigationMenu.js +119 -0
  186. package/dist/components/navigation-menu/index.d.ts +1 -0
  187. package/dist/components/navigation-menu/index.js +1 -0
  188. package/dist/components/number-input/NumberInput.d.ts +18 -0
  189. package/dist/components/number-input/NumberInput.js +105 -0
  190. package/dist/components/number-input/index.d.ts +1 -0
  191. package/dist/components/number-input/index.js +1 -0
  192. package/dist/components/pagination/Pagination.d.ts +17 -0
  193. package/dist/components/pagination/Pagination.js +115 -0
  194. package/dist/components/pagination/index.d.ts +1 -0
  195. package/dist/components/pagination/index.js +1 -0
  196. package/dist/components/password-input/PasswordInput.d.ts +16 -0
  197. package/dist/components/password-input/PasswordInput.js +87 -0
  198. package/dist/components/password-input/index.d.ts +1 -0
  199. package/dist/components/password-input/index.js +1 -0
  200. package/dist/components/pin-input/PinInput.d.ts +19 -0
  201. package/dist/components/pin-input/PinInput.js +83 -0
  202. package/dist/components/pin-input/index.d.ts +1 -0
  203. package/dist/components/pin-input/index.js +1 -0
  204. package/dist/components/popover/Popover.d.ts +29 -0
  205. package/dist/components/popover/Popover.js +177 -0
  206. package/dist/components/popover/index.d.ts +1 -0
  207. package/dist/components/popover/index.js +1 -0
  208. package/dist/components/progress-circular/ProgressCircular.d.ts +18 -0
  209. package/dist/components/progress-circular/ProgressCircular.js +94 -0
  210. package/dist/components/progress-circular/index.d.ts +1 -0
  211. package/dist/components/progress-circular/index.js +1 -0
  212. package/dist/components/progress-linear/ProgressLinear.d.ts +14 -0
  213. package/dist/components/progress-linear/ProgressLinear.js +73 -0
  214. package/dist/components/progress-linear/index.d.ts +1 -0
  215. package/dist/components/progress-linear/index.js +1 -0
  216. package/dist/components/qr-code/QrCode.d.ts +11 -0
  217. package/dist/components/qr-code/QrCode.js +63 -0
  218. package/dist/components/qr-code/index.d.ts +1 -0
  219. package/dist/components/qr-code/index.js +1 -0
  220. package/dist/components/radio-group/RadioGroup.d.ts +25 -0
  221. package/dist/components/radio-group/RadioGroup.js +108 -0
  222. package/dist/components/radio-group/index.d.ts +2 -0
  223. package/dist/components/radio-group/index.js +1 -0
  224. package/dist/components/rating-group/RatingGroup.d.ts +27 -0
  225. package/dist/components/rating-group/RatingGroup.js +92 -0
  226. package/dist/components/rating-group/index.d.ts +2 -0
  227. package/dist/components/rating-group/index.js +1 -0
  228. package/dist/components/scroll-area/ScrollArea.d.ts +23 -0
  229. package/dist/components/scroll-area/ScrollArea.js +77 -0
  230. package/dist/components/scroll-area/index.d.ts +2 -0
  231. package/dist/components/scroll-area/index.js +1 -0
  232. package/dist/components/segment-group/SegmentGroup.d.ts +25 -0
  233. package/dist/components/segment-group/SegmentGroup.js +119 -0
  234. package/dist/components/segment-group/index.d.ts +1 -0
  235. package/dist/components/segment-group/index.js +1 -0
  236. package/dist/components/select/Select.d.ts +39 -0
  237. package/dist/components/select/Select.js +239 -0
  238. package/dist/components/select/index.d.ts +1 -0
  239. package/dist/components/select/index.js +1 -0
  240. package/dist/components/separator/Separator.d.ts +12 -0
  241. package/dist/components/separator/Separator.js +96 -0
  242. package/dist/components/separator/index.d.ts +1 -0
  243. package/dist/components/separator/index.js +1 -0
  244. package/dist/components/sidebar/Sidebar.d.ts +61 -0
  245. package/dist/components/sidebar/Sidebar.js +400 -0
  246. package/dist/components/sidebar/index.d.ts +1 -0
  247. package/dist/components/sidebar/index.js +1 -0
  248. package/dist/components/signature-pad/SignaturePad.d.ts +15 -0
  249. package/dist/components/signature-pad/SignaturePad.js +133 -0
  250. package/dist/components/signature-pad/index.d.ts +1 -0
  251. package/dist/components/signature-pad/index.js +1 -0
  252. package/dist/components/simple-grid/SimpleGrid.d.ts +16 -0
  253. package/dist/components/simple-grid/SimpleGrid.js +43 -0
  254. package/dist/components/simple-grid/index.d.ts +1 -0
  255. package/dist/components/simple-grid/index.js +1 -0
  256. package/dist/components/skeleton/Skeleton.d.ts +18 -0
  257. package/dist/components/skeleton/Skeleton.js +30 -0
  258. package/dist/components/skeleton/index.d.ts +1 -0
  259. package/dist/components/skeleton/index.js +1 -0
  260. package/dist/components/slider/Slider.d.ts +23 -0
  261. package/dist/components/slider/Slider.js +122 -0
  262. package/dist/components/slider/index.d.ts +1 -0
  263. package/dist/components/slider/index.js +1 -0
  264. package/dist/components/spinner/Spinner.d.ts +11 -0
  265. package/dist/components/spinner/Spinner.js +57 -0
  266. package/dist/components/spinner/index.d.ts +1 -0
  267. package/dist/components/spinner/index.js +1 -0
  268. package/dist/components/split-button/SplitButton.d.ts +36 -0
  269. package/dist/components/split-button/SplitButton.js +125 -0
  270. package/dist/components/split-button/index.d.ts +1 -0
  271. package/dist/components/split-button/index.js +1 -0
  272. package/dist/components/splitter/Splitter.d.ts +11 -0
  273. package/dist/components/splitter/Splitter.js +66 -0
  274. package/dist/components/splitter/index.d.ts +1 -0
  275. package/dist/components/splitter/index.js +1 -0
  276. package/dist/components/stack/Stack.d.ts +26 -0
  277. package/dist/components/stack/Stack.js +57 -0
  278. package/dist/components/stack/index.d.ts +1 -0
  279. package/dist/components/stack/index.js +1 -0
  280. package/dist/components/steps/Steps.d.ts +25 -0
  281. package/dist/components/steps/Steps.js +122 -0
  282. package/dist/components/steps/index.d.ts +1 -0
  283. package/dist/components/steps/index.js +1 -0
  284. package/dist/components/swap/Swap.d.ts +16 -0
  285. package/dist/components/swap/Swap.js +38 -0
  286. package/dist/components/swap/index.d.ts +1 -0
  287. package/dist/components/swap/index.js +1 -0
  288. package/dist/components/switch/Switch.d.ts +20 -0
  289. package/dist/components/switch/Switch.js +58 -0
  290. package/dist/components/switch/index.d.ts +1 -0
  291. package/dist/components/switch/index.js +1 -0
  292. package/dist/components/table/Table.d.ts +39 -0
  293. package/dist/components/table/Table.js +191 -0
  294. package/dist/components/table/index.d.ts +1 -0
  295. package/dist/components/table/index.js +1 -0
  296. package/dist/components/tabs/Tabs.d.ts +19 -0
  297. package/dist/components/tabs/Tabs.js +71 -0
  298. package/dist/components/tabs/index.d.ts +1 -0
  299. package/dist/components/tabs/index.js +1 -0
  300. package/dist/components/tag/Tag.d.ts +16 -0
  301. package/dist/components/tag/Tag.js +92 -0
  302. package/dist/components/tag/index.d.ts +1 -0
  303. package/dist/components/tag/index.js +1 -0
  304. package/dist/components/tags-input/TagsInput.d.ts +20 -0
  305. package/dist/components/tags-input/TagsInput.js +145 -0
  306. package/dist/components/tags-input/index.d.ts +1 -0
  307. package/dist/components/tags-input/index.js +1 -0
  308. package/dist/components/text/Text.d.ts +25 -0
  309. package/dist/components/text/Text.js +79 -0
  310. package/dist/components/text/index.d.ts +1 -0
  311. package/dist/components/text/index.js +1 -0
  312. package/dist/components/textarea/Textarea.d.ts +3 -0
  313. package/dist/components/textarea/Textarea.js +17 -0
  314. package/dist/components/textarea/index.d.ts +1 -0
  315. package/dist/components/textarea/index.js +1 -0
  316. package/dist/components/timer/Timer.d.ts +18 -0
  317. package/dist/components/timer/Timer.js +94 -0
  318. package/dist/components/timer/index.d.ts +1 -0
  319. package/dist/components/timer/index.js +1 -0
  320. package/dist/components/toast/Toast.d.ts +17 -0
  321. package/dist/components/toast/Toast.js +107 -0
  322. package/dist/components/toast/index.d.ts +1 -0
  323. package/dist/components/toast/index.js +1 -0
  324. package/dist/components/toc/Toc.d.ts +23 -0
  325. package/dist/components/toc/Toc.js +144 -0
  326. package/dist/components/toc/index.d.ts +1 -0
  327. package/dist/components/toc/index.js +1 -0
  328. package/dist/components/toggle/Toggle.d.ts +15 -0
  329. package/dist/components/toggle/Toggle.js +55 -0
  330. package/dist/components/toggle/index.d.ts +2 -0
  331. package/dist/components/toggle/index.js +1 -0
  332. package/dist/components/toggle-group/ToggleGroup.d.ts +24 -0
  333. package/dist/components/toggle-group/ToggleGroup.js +102 -0
  334. package/dist/components/toggle-group/index.d.ts +2 -0
  335. package/dist/components/toggle-group/index.js +1 -0
  336. package/dist/components/tooltip/Tooltip.d.ts +20 -0
  337. package/dist/components/tooltip/Tooltip.js +105 -0
  338. package/dist/components/tooltip/index.d.ts +1 -0
  339. package/dist/components/tooltip/index.js +1 -0
  340. package/dist/components/tour/Tour.d.ts +29 -0
  341. package/dist/components/tour/Tour.js +176 -0
  342. package/dist/components/tour/index.d.ts +1 -0
  343. package/dist/components/tour/index.js +1 -0
  344. package/dist/components/tree-view/TreeView.d.ts +38 -0
  345. package/dist/components/tree-view/TreeView.js +189 -0
  346. package/dist/components/tree-view/index.d.ts +1 -0
  347. package/dist/components/tree-view/index.js +1 -0
  348. package/dist/components/typeset/Typeset.d.ts +5 -0
  349. package/dist/components/typeset/Typeset.js +34 -0
  350. package/dist/components/typeset/Typeset.module.js +6 -0
  351. package/dist/components/typeset/Typeset_module.css +466 -0
  352. package/dist/components/typeset/index.d.ts +1 -0
  353. package/dist/components/typeset/index.js +1 -0
  354. package/dist/internal/cn.d.ts +2 -0
  355. package/dist/internal/cn.js +40 -0
  356. package/dist/internal/icons/ui/Icons.d.ts +24 -0
  357. package/dist/internal/icons/ui/Icons.js +229 -0
  358. package/dist/internal/icons/ui/index.d.ts +1 -0
  359. package/dist/internal/icons/ui/index.js +1 -0
  360. package/dist/internal/overlayPortal.d.ts +13 -0
  361. package/dist/internal/overlayPortal.js +20 -0
  362. package/dist/locale.d.ts +1 -0
  363. package/dist/locale.js +1 -0
  364. package/dist/presets/contrast.css +65 -0
  365. package/dist/presets/dense.css +78 -0
  366. package/dist/presets/soft.css +77 -0
  367. package/dist/styles/animations.css +371 -0
  368. package/dist/styles/borders.css +10 -0
  369. package/dist/styles/colors.css +122 -0
  370. package/dist/styles/opacity.css +5 -0
  371. package/dist/styles/radius.css +11 -0
  372. package/dist/styles/shadows.css +5 -0
  373. package/dist/styles/sizing.css +11 -0
  374. package/dist/styles/spacing.css +26 -0
  375. package/dist/styles/style.css +180 -0
  376. package/dist/styles/transforms.css +4 -0
  377. package/dist/styles/transitions.css +32 -0
  378. package/dist/styles/typography.css +37 -0
  379. package/dist/styles/z-index.css +13 -0
  380. package/package.json +459 -0
@@ -0,0 +1 @@
1
+ export * from './Menu.js';
@@ -0,0 +1 @@
1
+ export * from "./Menu.js";
@@ -0,0 +1,9 @@
1
+ import { Field as FieldPrimitive } from '@ark-ui/react/field';
2
+ import type { ComponentProps } from 'react';
3
+ type NativeSelectRootProps = ComponentProps<typeof FieldPrimitive.Select> & {
4
+ controlProps?: ComponentProps<'span'>;
5
+ };
6
+ declare const NativeSelect: import("react").ForwardRefExoticComponent<Omit<NativeSelectRootProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>> & {
7
+ Root: import("react").ForwardRefExoticComponent<Omit<NativeSelectRootProps, "ref"> & import("react").RefAttributes<HTMLSelectElement>>;
8
+ };
9
+ export { NativeSelect };
@@ -0,0 +1,38 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { Field } from "@ark-ui/react/field";
4
+ import { forwardRef } from "react";
5
+ import { cn } from "../../internal/cn.js";
6
+ import { ChevronDownIcon } from "../../internal/icons/ui/index.js";
7
+ const NativeSelect_NativeSelectRoot = /*#__PURE__*/ forwardRef(function({ className, controlProps, multiple, size, ...props }, ref) {
8
+ const isList = multiple || void 0 !== size && size > 1;
9
+ return /*#__PURE__*/ jsxs("span", {
10
+ ...controlProps,
11
+ "data-scope": "native-select",
12
+ "data-part": "control",
13
+ "data-slot": "native-select-control",
14
+ className: cn('relative inline-grid w-fit max-w-full min-w-0', controlProps?.className),
15
+ children: [
16
+ /*#__PURE__*/ jsx(Field.Select, {
17
+ ...props,
18
+ ref: ref,
19
+ "data-slot": "native-select-root",
20
+ multiple: multiple,
21
+ size: size,
22
+ className: cn('peer/native-select box-border h-control-md w-56 max-w-full min-w-0 cursor-pointer appearance-none rounded-md border border-border bg-background ps-3 pe-11 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[background-color,border-color,outline-color,opacity] duration-200 ease-in-out [font:inherit] focus-visible:border-ring focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:outline-destructive aria-invalid:focus-visible:outline-destructive data-disabled:pointer-events-none data-disabled:opacity-50 data-invalid:border-destructive data-invalid:outline-destructive data-invalid:focus-visible:outline-destructive motion-reduce:transition-none forced-colors:appearance-auto forced-colors:pe-3', isList && 'h-auto appearance-auto px-3 py-2', className)
23
+ }),
24
+ /*#__PURE__*/ jsx("span", {
25
+ "aria-hidden": "true",
26
+ "data-scope": "native-select",
27
+ "data-part": "indicator",
28
+ "data-slot": "native-select-indicator",
29
+ className: cn('pointer-events-none absolute end-2 top-1/2 inline-flex size-6 -translate-y-1/2 items-center justify-center rounded-sm bg-transparent leading-none text-muted-foreground transition-[background-color,color,opacity] duration-200 ease-in-out peer-disabled/native-select:opacity-50 peer-data-disabled/native-select:opacity-50 motion-reduce:transition-none forced-colors:hidden [&>svg]:block [&>svg]:size-4 [@media(hover:hover)]:peer-[:not([disabled]):not([data-disabled]):hover]/native-select:bg-muted [@media(hover:hover)]:peer-[:not([disabled]):not([data-disabled]):hover]/native-select:text-foreground', isList && 'hidden'),
30
+ children: /*#__PURE__*/ jsx(ChevronDownIcon, {})
31
+ })
32
+ ]
33
+ });
34
+ });
35
+ const NativeSelect = Object.assign(NativeSelect_NativeSelectRoot, {
36
+ Root: NativeSelect_NativeSelectRoot
37
+ });
38
+ export { NativeSelect };
@@ -0,0 +1 @@
1
+ export * from './NativeSelect.js';
@@ -0,0 +1 @@
1
+ export * from "./NativeSelect.js";
@@ -0,0 +1,18 @@
1
+ import { NavigationMenu as NavigationMenuPrimitive, useNavigationMenu, useNavigationMenuContext } from '@ark-ui/react/navigation-menu';
2
+ declare const NavigationMenu: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>> & {
3
+ Root: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
4
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.RootProviderProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
5
+ Context: (props: NavigationMenuPrimitive.ContextProps) => import("react").ReactNode;
6
+ List: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ListProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ Item: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ Trigger: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
9
+ Content: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
+ Link: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.LinkProps & import("react").RefAttributes<HTMLAnchorElement>, "ref"> & import("react").RefAttributes<HTMLAnchorElement>>;
11
+ Indicator: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ ItemIndicator: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ItemIndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ Arrow: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ArrowProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
14
+ ViewportPositioner: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ViewportPositionerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
+ Viewport: import("react").ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.ViewportProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
16
+ useNavigationMenu: (props?: import("@ark-ui/react/navigation-menu").UseNavigationMenuProps) => import("@ark-ui/react/navigation-menu").UseNavigationMenuReturn;
17
+ };
18
+ export { NavigationMenu, useNavigationMenu, useNavigationMenuContext };
@@ -0,0 +1,119 @@
1
+ "use client";
2
+ import { jsx } from "react/jsx-runtime";
3
+ import { NavigationMenu, useNavigationMenu, useNavigationMenuContext } from "@ark-ui/react/navigation-menu";
4
+ import { forwardRef } from "react";
5
+ import { cn } from "../../internal/cn.js";
6
+ const NavigationMenu_NavigationMenuRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
7
+ return /*#__PURE__*/ jsx(NavigationMenu.Root, {
8
+ ref: ref,
9
+ "data-slot": "navigation-menu-root",
10
+ className: cn('group/navigation-menu relative box-border flex w-fit max-w-full min-w-0 justify-center text-foreground', className),
11
+ ...props
12
+ });
13
+ });
14
+ const NavigationMenu_NavigationMenuRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
15
+ return /*#__PURE__*/ jsx(NavigationMenu.RootProvider, {
16
+ ref: ref,
17
+ "data-slot": "navigation-menu-root-provider",
18
+ className: cn('group/navigation-menu relative box-border flex w-fit max-w-full min-w-0 justify-center text-foreground', className),
19
+ ...props
20
+ });
21
+ });
22
+ const NavigationMenu_NavigationMenuList = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
23
+ return /*#__PURE__*/ jsx(NavigationMenu.List, {
24
+ ref: ref,
25
+ "data-slot": "navigation-menu-list",
26
+ className: cn('group/navigation-menu-list relative m-0 box-border flex max-w-full list-none items-center gap-1 p-0 data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch [&>[data-slot=navigation-menu-indicator]]:top-auto [&>[data-slot=navigation-menu-indicator]]:-bottom-2.5 [&>[data-slot=navigation-menu-indicator]]:z-[61]', className),
27
+ ...props
28
+ });
29
+ });
30
+ const NavigationMenu_NavigationMenuItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
+ return /*#__PURE__*/ jsx(NavigationMenu.Item, {
32
+ ref: ref,
33
+ "data-slot": "navigation-menu-item",
34
+ className: cn('relative group-has-[>[data-slot=navigation-menu-indicator]]/navigation-menu-list:static group-has-[>[data-slot=navigation-menu-viewport-positioner]>[data-slot=navigation-menu-viewport]]/navigation-menu:static', className),
35
+ ...props
36
+ });
37
+ });
38
+ const NavigationMenu_NavigationMenuTrigger = /*#__PURE__*/ forwardRef(function({ asChild, className, ...props }, ref) {
39
+ return /*#__PURE__*/ jsx(NavigationMenu.Trigger, {
40
+ ref: ref,
41
+ asChild: asChild,
42
+ "data-slot": "navigation-menu-trigger",
43
+ className: cn(!asChild && 'box-border inline-flex min-h-control-md items-center justify-center gap-2 rounded-md bg-transparent px-3 py-1 text-sm leading-5 font-medium whitespace-nowrap text-inherit no-underline outline-0 transition-[background-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:outline-offset-0 focus-visible:outline-ring disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 data-disabled:pointer-events-none data-disabled:cursor-default data-disabled:opacity-50 data-[state=open]:bg-muted motion-reduce:transition-none [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:transition-[rotate] [&>svg]:duration-200 [&>svg]:ease-in-out data-[state=open]:[&>svg]:rotate-180 [@media(hover:hover)]:[&:not(:disabled):not([data-disabled])]:hover:bg-muted', className),
44
+ ...props
45
+ });
46
+ });
47
+ const NavigationMenu_NavigationMenuContent = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
48
+ return /*#__PURE__*/ jsx(NavigationMenu.Content, {
49
+ ref: ref,
50
+ "data-slot": "navigation-menu-content",
51
+ className: cn('group/navigation-menu-content absolute start-0 top-[calc(100%+0.5rem)] z-60 box-border flex max-h-[min(24rem,calc(100dvh-1.5rem))] w-max max-w-[min(20rem,calc(100vw-1.5rem))] min-w-[min(max(var(--trigger-width,0px),12rem),calc(100vw-1.5rem))] origin-top-left flex-col overflow-auto overscroll-contain rounded-md bg-popover py-1 text-popover-foreground shadow-lg outline-1 outline-border data-[state=closed]:pointer-events-none data-[state=closed]:animate-moduix-menu-closed group-has-[>[data-slot=navigation-menu-indicator]]/navigation-menu-list:data-[state=closed]:animate-none data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none rtl:origin-top-right [&_[data-slot=navigation-menu-link]]:mx-1 [&_[data-slot=navigation-menu-link]]:justify-start [&_[data-slot=navigation-menu-link]]:rounded-sm [&_[data-slot=navigation-menu-link]]:px-2', className),
52
+ ...props
53
+ });
54
+ });
55
+ const NavigationMenu_NavigationMenuLink = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
56
+ return /*#__PURE__*/ jsx(NavigationMenu.Link, {
57
+ ref: ref,
58
+ "data-slot": "navigation-menu-link",
59
+ className: cn('box-border inline-flex min-h-control-md items-center justify-center gap-2 rounded-md bg-transparent px-3 py-1 text-sm leading-5 font-medium whitespace-nowrap text-inherit no-underline outline-0 transition-[background-color,color] duration-200 ease-in-out select-none focus-visible:outline-1 focus-visible:outline-offset-0 focus-visible:outline-ring disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 data-current:bg-transparent data-current:text-primary data-disabled:pointer-events-none data-disabled:cursor-default data-disabled:opacity-50 motion-reduce:transition-none [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:transition-[rotate] [&>svg]:duration-200 [&>svg]:ease-in-out [@media(hover:hover)]:[&:not(:disabled):not([data-disabled])]:hover:bg-muted', className),
60
+ ...props
61
+ });
62
+ });
63
+ const NavigationMenu_NavigationMenuIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
64
+ return /*#__PURE__*/ jsx(NavigationMenu.Indicator, {
65
+ ref: ref,
66
+ "data-slot": "navigation-menu-indicator",
67
+ className: cn('pointer-events-none absolute start-0 -top-2.5 flex h-2.5 w-[var(--trigger-width,0px)] [translate:var(--trigger-x,0px)_0] justify-center transition-[translate,inline-size] duration-200 ease-in-out data-[state=closed]:opacity-0 data-[state=open]:opacity-100 motion-reduce:transition-none', className),
68
+ ...props
69
+ });
70
+ });
71
+ const NavigationMenu_NavigationMenuItemIndicator = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
72
+ return /*#__PURE__*/ jsx(NavigationMenu.ItemIndicator, {
73
+ ref: ref,
74
+ "data-slot": "navigation-menu-item-indicator",
75
+ className: cn('absolute inset-x-2 bottom-0 h-0.5 rounded-full bg-current', className),
76
+ ...props
77
+ });
78
+ });
79
+ const NavigationMenu_NavigationMenuArrow = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
80
+ return /*#__PURE__*/ jsx(NavigationMenu.Arrow, {
81
+ ref: ref,
82
+ "data-slot": "navigation-menu-arrow",
83
+ className: cn('relative top-1 size-2.5 rotate-45 border-s border-t border-border bg-popover', className),
84
+ ...props
85
+ });
86
+ });
87
+ const NavigationMenu_NavigationMenuViewportPositioner = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
88
+ return /*#__PURE__*/ jsx(NavigationMenu.ViewportPositioner, {
89
+ ref: ref,
90
+ "data-slot": "navigation-menu-viewport-positioner",
91
+ className: cn('absolute start-0 top-full z-60 flex [translate:var(--viewport-x,0px)_0] data-[orientation=vertical]:start-full data-[orientation=vertical]:top-[var(--viewport-y,0px)] data-[orientation=vertical]:[translate:0_0] data-[orientation=vertical]:[&>[data-slot=navigation-menu-viewport]]:ms-2 data-[orientation=vertical]:[&>[data-slot=navigation-menu-viewport]]:mt-0', className),
92
+ ...props
93
+ });
94
+ });
95
+ const NavigationMenu_NavigationMenuViewport = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
96
+ return /*#__PURE__*/ jsx(NavigationMenu.Viewport, {
97
+ ref: ref,
98
+ "data-slot": "navigation-menu-viewport",
99
+ className: cn('relative mt-2.5 box-border h-[var(--viewport-height)] max-h-[min(32rem,calc(100dvh-1.5rem))] w-[var(--viewport-width)] max-w-[min(40rem,calc(100vw-1.5rem))] origin-top overflow-hidden rounded-md bg-popover text-popover-foreground shadow-lg outline-1 outline-border transition-[inline-size,block-size] duration-200 ease-in-out data-[state=closed]:pointer-events-none data-[state=closed]:animate-moduix-menu-closed data-[state=open]:animate-moduix-menu-open motion-reduce:animate-none motion-reduce:transition-none [&_[data-slot=navigation-menu-content]]:absolute [&_[data-slot=navigation-menu-content]]:top-0 [&_[data-slot=navigation-menu-content]]:right-auto [&_[data-slot=navigation-menu-content]]:bottom-auto [&_[data-slot=navigation-menu-content]]:left-0 [&_[data-slot=navigation-menu-content]]:m-0 [&_[data-slot=navigation-menu-content]]:max-h-none [&_[data-slot=navigation-menu-content]]:origin-center [&_[data-slot=navigation-menu-content]]:overflow-visible [&_[data-slot=navigation-menu-content]]:rounded-none [&_[data-slot=navigation-menu-content]]:bg-transparent [&_[data-slot=navigation-menu-content]]:shadow-none [&_[data-slot=navigation-menu-content]]:outline-0 [&_[data-slot=navigation-menu-content]]:will-change-[translate,opacity] [&_[data-slot=navigation-menu-content][data-motion=from-end][data-state=open]]:animate-moduix-navigation-menu-content-from-end [&_[data-slot=navigation-menu-content][data-motion=from-start][data-state=open]]:animate-moduix-navigation-menu-content-from-start [&_[data-slot=navigation-menu-content][data-motion=to-end][data-state=closed]]:animate-moduix-navigation-menu-content-to-end [&_[data-slot=navigation-menu-content][data-motion=to-start][data-state=closed]]:animate-moduix-navigation-menu-content-to-start [&_[data-slot=navigation-menu-content][data-state]]:animate-none', className),
100
+ ...props
101
+ });
102
+ });
103
+ const NavigationMenu_NavigationMenu = Object.assign(NavigationMenu_NavigationMenuRoot, {
104
+ Root: NavigationMenu_NavigationMenuRoot,
105
+ RootProvider: NavigationMenu_NavigationMenuRootProvider,
106
+ Context: NavigationMenu.Context,
107
+ List: NavigationMenu_NavigationMenuList,
108
+ Item: NavigationMenu_NavigationMenuItem,
109
+ Trigger: NavigationMenu_NavigationMenuTrigger,
110
+ Content: NavigationMenu_NavigationMenuContent,
111
+ Link: NavigationMenu_NavigationMenuLink,
112
+ Indicator: NavigationMenu_NavigationMenuIndicator,
113
+ ItemIndicator: NavigationMenu_NavigationMenuItemIndicator,
114
+ Arrow: NavigationMenu_NavigationMenuArrow,
115
+ ViewportPositioner: NavigationMenu_NavigationMenuViewportPositioner,
116
+ Viewport: NavigationMenu_NavigationMenuViewport,
117
+ useNavigationMenu: useNavigationMenu
118
+ });
119
+ export { NavigationMenu_NavigationMenu as NavigationMenu, useNavigationMenu, useNavigationMenuContext };
@@ -0,0 +1 @@
1
+ export * from './NavigationMenu.js';
@@ -0,0 +1 @@
1
+ export * from "./NavigationMenu.js";
@@ -0,0 +1,18 @@
1
+ import { NumberInput as NumberInputPrimitive, useNumberInput, useNumberInputContext } from '@ark-ui/react/number-input';
2
+ import type { ComponentProps } from 'react';
3
+ declare const NumberInputControl: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ type NumberInputFieldProps = Omit<ComponentProps<typeof NumberInputControl>, 'asChild' | 'children'>;
5
+ declare const NumberInput: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
6
+ Root: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ Context: (props: NumberInputPrimitive.ContextProps) => import("react").ReactNode;
9
+ Label: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
10
+ Scrubber: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.ScrubberProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ Control: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ Field: import("react").ForwardRefExoticComponent<Omit<NumberInputFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ DecrementTrigger: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.DecrementTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
14
+ Input: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
15
+ IncrementTrigger: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.IncrementTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
16
+ ValueText: import("react").ForwardRefExoticComponent<Omit<NumberInputPrimitive.ValueTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
17
+ };
18
+ export { NumberInput, useNumberInput, useNumberInputContext };
@@ -0,0 +1,105 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { NumberInput, useNumberInput, useNumberInputContext } from "@ark-ui/react/number-input";
4
+ import { forwardRef } from "react";
5
+ import { cn } from "../../internal/cn.js";
6
+ import { MinusIcon, PlusIcon } from "../../internal/icons/ui/index.js";
7
+ const NumberInput_NumberInputRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
8
+ return /*#__PURE__*/ jsx(NumberInput.Root, {
9
+ ref: ref,
10
+ "data-slot": "number-input-root",
11
+ className: cn('group/number-input flex w-auto max-w-none flex-col items-start gap-1 data-disabled:opacity-50', className),
12
+ ...props
13
+ });
14
+ });
15
+ const NumberInput_NumberInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
16
+ return /*#__PURE__*/ jsx(NumberInput.RootProvider, {
17
+ ref: ref,
18
+ "data-slot": "number-input-root-provider",
19
+ className: cn('group/number-input flex w-auto max-w-none flex-col items-start gap-1 data-disabled:opacity-50', className),
20
+ ...props
21
+ });
22
+ });
23
+ const NumberInput_NumberInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
24
+ return /*#__PURE__*/ jsx(NumberInput.Label, {
25
+ ref: ref,
26
+ "data-slot": "number-input-label",
27
+ className: cn('text-sm leading-5 font-medium text-foreground', className),
28
+ ...props
29
+ });
30
+ });
31
+ const NumberInput_NumberInputScrubber = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
32
+ return /*#__PURE__*/ jsx(NumberInput.Scrubber, {
33
+ ref: ref,
34
+ "data-slot": "number-input-scrubber",
35
+ className: cn('inline-flex cursor-ew-resize items-center gap-2 text-foreground select-none data-disabled:cursor-default', className),
36
+ ...props
37
+ });
38
+ });
39
+ const NumberInput_NumberInputControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
40
+ return /*#__PURE__*/ jsx(NumberInput.Control, {
41
+ ref: ref,
42
+ "data-slot": "number-input-control",
43
+ className: cn('inline-flex items-stretch', className),
44
+ ...props
45
+ });
46
+ });
47
+ const NumberInput_NumberInputDecrementTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
48
+ return /*#__PURE__*/ jsx(NumberInput.DecrementTrigger, {
49
+ ref: ref,
50
+ "data-slot": "number-input-decrement-trigger",
51
+ className: cn('box-border inline-flex size-control-md min-w-control-md cursor-pointer items-center justify-center rounded-s-md border border-e-0 border-border bg-background p-0 text-foreground outline-0 transition-[background-color,border-color,color,opacity] duration-200 ease-in-out select-none group-data-invalid/number-input:border-destructive focus-visible:z-1 focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring group-data-invalid/number-input:focus-visible:outline-destructive active:bg-accent disabled:pointer-events-none data-disabled:pointer-events-none data-focus:z-1 data-focus:outline-1 data-focus:-outline-offset-1 data-focus:outline-ring group-data-invalid/number-input:data-focus:outline-destructive data-invalid:border-destructive data-invalid:focus-visible:outline-destructive data-invalid:data-focus:outline-destructive motion-reduce:transition-none [&>svg]:size-3.5 [&>svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', className),
52
+ ...props,
53
+ children: children ?? /*#__PURE__*/ jsx(MinusIcon, {})
54
+ });
55
+ });
56
+ const NumberInput_NumberInputInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
57
+ return /*#__PURE__*/ jsx(NumberInput.Input, {
58
+ ref: ref,
59
+ "data-slot": "number-input-input",
60
+ className: cn('h-control-md w-24 rounded-none border-x-0 border-y border-border border-x-current bg-background px-3 py-1 text-center text-md leading-6 text-foreground tabular-nums outline-1 -outline-offset-1 outline-transparent transition-[border-color,outline-color,opacity] duration-200 ease-in-out group-data-invalid/number-input:border-t-destructive group-data-invalid/number-input:border-b-destructive focus-visible:z-1 focus-visible:outline-ring group-data-invalid/number-input:focus-visible:outline-destructive data-focus:z-1 data-focus:outline-ring group-data-invalid/number-input:data-focus:outline-destructive data-invalid:border-t-destructive data-invalid:border-b-destructive data-invalid:focus-visible:outline-destructive data-invalid:data-focus:outline-destructive motion-reduce:transition-none', className),
61
+ ...props
62
+ });
63
+ });
64
+ const NumberInput_NumberInputIncrementTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
65
+ return /*#__PURE__*/ jsx(NumberInput.IncrementTrigger, {
66
+ ref: ref,
67
+ "data-slot": "number-input-increment-trigger",
68
+ className: cn('box-border inline-flex size-control-md min-w-control-md cursor-pointer items-center justify-center rounded-e-md border border-s-0 border-border bg-background p-0 text-foreground outline-0 transition-[background-color,border-color,color,opacity] duration-200 ease-in-out select-none group-data-invalid/number-input:border-destructive focus-visible:z-1 focus-visible:outline-1 focus-visible:-outline-offset-1 focus-visible:outline-ring group-data-invalid/number-input:focus-visible:outline-destructive active:bg-accent disabled:pointer-events-none data-disabled:pointer-events-none data-focus:z-1 data-focus:outline-1 data-focus:-outline-offset-1 data-focus:outline-ring group-data-invalid/number-input:data-focus:outline-destructive data-invalid:border-destructive data-invalid:focus-visible:outline-destructive data-invalid:data-focus:outline-destructive motion-reduce:transition-none [&>svg]:size-3.5 [&>svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', className),
69
+ ...props,
70
+ children: children ?? /*#__PURE__*/ jsx(PlusIcon, {})
71
+ });
72
+ });
73
+ const NumberInput_NumberInputValueText = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
74
+ return /*#__PURE__*/ jsx(NumberInput.ValueText, {
75
+ ref: ref,
76
+ "data-slot": "number-input-value-text",
77
+ className: cn('text-sm leading-5 text-muted-foreground tabular-nums', className),
78
+ ...props
79
+ });
80
+ });
81
+ const NumberInput_NumberInputField = /*#__PURE__*/ forwardRef(function(props, ref) {
82
+ return /*#__PURE__*/ jsxs(NumberInput_NumberInputControl, {
83
+ ref: ref,
84
+ ...props,
85
+ children: [
86
+ /*#__PURE__*/ jsx(NumberInput_NumberInputDecrementTrigger, {}),
87
+ /*#__PURE__*/ jsx(NumberInput_NumberInputInput, {}),
88
+ /*#__PURE__*/ jsx(NumberInput_NumberInputIncrementTrigger, {})
89
+ ]
90
+ });
91
+ });
92
+ const NumberInput_NumberInput = Object.assign(NumberInput_NumberInputRoot, {
93
+ Root: NumberInput_NumberInputRoot,
94
+ RootProvider: NumberInput_NumberInputRootProvider,
95
+ Context: NumberInput.Context,
96
+ Label: NumberInput_NumberInputLabel,
97
+ Scrubber: NumberInput_NumberInputScrubber,
98
+ Control: NumberInput_NumberInputControl,
99
+ Field: NumberInput_NumberInputField,
100
+ DecrementTrigger: NumberInput_NumberInputDecrementTrigger,
101
+ Input: NumberInput_NumberInputInput,
102
+ IncrementTrigger: NumberInput_NumberInputIncrementTrigger,
103
+ ValueText: NumberInput_NumberInputValueText
104
+ });
105
+ export { NumberInput_NumberInput as NumberInput, useNumberInput, useNumberInputContext };
@@ -0,0 +1 @@
1
+ export { NumberInput, useNumberInput, useNumberInputContext } from './NumberInput.js';
@@ -0,0 +1 @@
1
+ export { NumberInput, useNumberInput, useNumberInputContext } from "./NumberInput.js";
@@ -0,0 +1,17 @@
1
+ import { Pagination as PaginationPrimitive, usePagination, usePaginationContext } from '@ark-ui/react/pagination';
2
+ declare function PaginationItems(): import("react").JSX.Element;
3
+ declare const Pagination: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>> & {
4
+ Root: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
5
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.RootProviderProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
6
+ Item: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
7
+ Ellipsis: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.EllipsisProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ PrevTrigger: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
9
+ NextTrigger: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
10
+ FirstTrigger: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.FirstTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ LastTrigger: import("react").ForwardRefExoticComponent<Omit<PaginationPrimitive.LastTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
12
+ Context: (props: PaginationPrimitive.ContextProps) => import("react").ReactNode;
13
+ Items: typeof PaginationItems;
14
+ usePagination: (props?: import("@ark-ui/react/pagination").UsePaginationProps) => import("@ark-ui/react/pagination").UsePaginationReturn;
15
+ usePaginationContext: () => import("@ark-ui/react/pagination").UsePaginationContext;
16
+ };
17
+ export { Pagination, usePagination, usePaginationContext };
@@ -0,0 +1,115 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Pagination, usePagination, usePaginationContext } from "@ark-ui/react/pagination";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../../internal/cn.js";
5
+ import { ChevronLeftIcon, ChevronRightIcon } from "../../internal/icons/ui/index.js";
6
+ const Pagination_PaginationRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
7
+ return /*#__PURE__*/ jsx(Pagination.Root, {
8
+ ref: ref,
9
+ "data-slot": "pagination-root",
10
+ className: cn('inline-flex max-w-full items-center gap-1 overflow-x-auto text-foreground', className),
11
+ ...props
12
+ });
13
+ });
14
+ const Pagination_PaginationRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
15
+ return /*#__PURE__*/ jsx(Pagination.RootProvider, {
16
+ ref: ref,
17
+ "data-slot": "pagination-root-provider",
18
+ className: cn('inline-flex max-w-full items-center gap-1 overflow-x-auto text-foreground', className),
19
+ ...props
20
+ });
21
+ });
22
+ const Pagination_PaginationItem = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
23
+ return /*#__PURE__*/ jsx(Pagination.Item, {
24
+ ref: ref,
25
+ "data-slot": "pagination-item",
26
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium tabular-nums', 'cursor-pointer gap-2 border border-border bg-background px-2 whitespace-nowrap text-foreground no-underline select-none', 'focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50', 'data-selected:border-foreground data-selected:bg-foreground data-selected:text-background [@media(hover:hover)]:hover:bg-accent [@media(hover:hover)]:data-selected:hover:bg-foreground', '[&_svg]:size-4 [&_svg]:shrink-0', className),
27
+ ...props
28
+ });
29
+ });
30
+ const Pagination_PaginationEllipsis = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
31
+ return /*#__PURE__*/ jsx(Pagination.Ellipsis, {
32
+ ref: ref,
33
+ "data-slot": "pagination-ellipsis",
34
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium text-muted-foreground tabular-nums select-none', className),
35
+ ...props,
36
+ children: children ?? (!props.asChild && '...')
37
+ });
38
+ });
39
+ function EdgeIcon({ side }) {
40
+ const Icon = 'left' === side ? ChevronLeftIcon : ChevronRightIcon;
41
+ return /*#__PURE__*/ jsxs("span", {
42
+ className: "inline-flex items-center justify-center [&_svg+svg]:-ms-2",
43
+ "aria-hidden": true,
44
+ children: [
45
+ /*#__PURE__*/ jsx(Icon, {}),
46
+ /*#__PURE__*/ jsx(Icon, {})
47
+ ]
48
+ });
49
+ }
50
+ const Pagination_PaginationPrevTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
51
+ return /*#__PURE__*/ jsx(Pagination.PrevTrigger, {
52
+ ref: ref,
53
+ "data-slot": "pagination-prev-trigger",
54
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium tabular-nums', 'cursor-pointer gap-2 border border-border bg-background px-3 whitespace-nowrap text-foreground no-underline select-none', 'focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50', '[&_svg]:size-4 [&_svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', null == children && 'w-control-md p-0 rtl:[&_svg]:-scale-x-100', className),
55
+ ...props,
56
+ children: children ?? (!props.asChild && /*#__PURE__*/ jsx(ChevronLeftIcon, {}))
57
+ });
58
+ });
59
+ const Pagination_PaginationNextTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
60
+ return /*#__PURE__*/ jsx(Pagination.NextTrigger, {
61
+ ref: ref,
62
+ "data-slot": "pagination-next-trigger",
63
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium tabular-nums', 'cursor-pointer gap-2 border border-border bg-background px-3 whitespace-nowrap text-foreground no-underline select-none', 'focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50', '[&_svg]:size-4 [&_svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', null == children && 'w-control-md p-0 rtl:[&_svg]:-scale-x-100', className),
64
+ ...props,
65
+ children: children ?? (!props.asChild && /*#__PURE__*/ jsx(ChevronRightIcon, {}))
66
+ });
67
+ });
68
+ const Pagination_PaginationFirstTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
69
+ return /*#__PURE__*/ jsx(Pagination.FirstTrigger, {
70
+ ref: ref,
71
+ "data-slot": "pagination-first-trigger",
72
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium tabular-nums', 'cursor-pointer gap-2 border border-border bg-background px-3 whitespace-nowrap text-foreground no-underline select-none', 'focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50', '[&_svg]:size-4 [&_svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', null == children && 'w-control-md p-0 rtl:[&_svg]:-scale-x-100', className),
73
+ ...props,
74
+ children: children ?? (!props.asChild && /*#__PURE__*/ jsx(EdgeIcon, {
75
+ side: "left"
76
+ }))
77
+ });
78
+ });
79
+ const Pagination_PaginationLastTrigger = /*#__PURE__*/ forwardRef(function({ className, children, ...props }, ref) {
80
+ return /*#__PURE__*/ jsx(Pagination.LastTrigger, {
81
+ ref: ref,
82
+ "data-slot": "pagination-last-trigger",
83
+ className: cn('inline-flex h-control-md min-w-control-md items-center justify-center rounded-md text-sm leading-5 font-medium tabular-nums', 'cursor-pointer gap-2 border border-border bg-background px-3 whitespace-nowrap text-foreground no-underline select-none', 'focus-visible:outline-2 focus-visible:-outline-offset-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 data-disabled:pointer-events-none data-disabled:opacity-50', '[&_svg]:size-4 [&_svg]:shrink-0 [@media(hover:hover)]:hover:bg-accent', null == children && 'w-control-md p-0 rtl:[&_svg]:-scale-x-100', className),
84
+ ...props,
85
+ children: children ?? (!props.asChild && /*#__PURE__*/ jsx(EdgeIcon, {
86
+ side: "right"
87
+ }))
88
+ });
89
+ });
90
+ const PaginationContext = Pagination.Context;
91
+ function PaginationItems() {
92
+ return /*#__PURE__*/ jsx(PaginationContext, {
93
+ children: (pagination)=>pagination.pages.map((page, index)=>'page' === page.type ? /*#__PURE__*/ jsx(Pagination_PaginationItem, {
94
+ ...page,
95
+ children: page.value
96
+ }, page.value) : /*#__PURE__*/ jsx(Pagination_PaginationEllipsis, {
97
+ index: index
98
+ }, `ellipsis-${index}`))
99
+ });
100
+ }
101
+ const Pagination_Pagination = Object.assign(Pagination_PaginationRoot, {
102
+ Root: Pagination_PaginationRoot,
103
+ RootProvider: Pagination_PaginationRootProvider,
104
+ Item: Pagination_PaginationItem,
105
+ Ellipsis: Pagination_PaginationEllipsis,
106
+ PrevTrigger: Pagination_PaginationPrevTrigger,
107
+ NextTrigger: Pagination_PaginationNextTrigger,
108
+ FirstTrigger: Pagination_PaginationFirstTrigger,
109
+ LastTrigger: Pagination_PaginationLastTrigger,
110
+ Context: PaginationContext,
111
+ Items: PaginationItems,
112
+ usePagination: usePagination,
113
+ usePaginationContext: usePaginationContext
114
+ });
115
+ export { Pagination_Pagination as Pagination, usePagination, usePaginationContext };
@@ -0,0 +1 @@
1
+ export { Pagination, usePagination, usePaginationContext } from './Pagination.js';
@@ -0,0 +1 @@
1
+ export { Pagination, usePagination, usePaginationContext } from "./Pagination.js";
@@ -0,0 +1,16 @@
1
+ import { PasswordInput as PasswordInputPrimitive, usePasswordInput, usePasswordInputContext } from '@ark-ui/react/password-input';
2
+ import type { ComponentProps } from 'react';
3
+ declare const PasswordInputControl: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
4
+ type PasswordInputFieldProps = Omit<ComponentProps<typeof PasswordInputControl>, 'asChild' | 'children'>;
5
+ declare const PasswordInput: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
6
+ Root: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ Context: (props: PasswordInputPrimitive.ContextProps) => import("react").ReactNode;
9
+ Label: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
10
+ Control: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ Field: import("react").ForwardRefExoticComponent<Omit<PasswordInputFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
12
+ Input: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
13
+ VisibilityTrigger: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.VisibilityTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
14
+ Indicator: import("react").ForwardRefExoticComponent<Omit<PasswordInputPrimitive.IndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
15
+ };
16
+ export { PasswordInput, usePasswordInput, usePasswordInputContext };
@@ -0,0 +1,87 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { PasswordInput, usePasswordInput, usePasswordInputContext } from "@ark-ui/react/password-input";
3
+ import { forwardRef } from "react";
4
+ import { cn } from "../../internal/cn.js";
5
+ import { EyeClosedIcon, EyeIcon } from "../../internal/icons/ui/index.js";
6
+ const PasswordInput_PasswordInputRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
7
+ return /*#__PURE__*/ jsx(PasswordInput.Root, {
8
+ ref: ref,
9
+ "data-slot": "password-input-root",
10
+ className: cn('flex w-full max-w-none flex-col gap-1 text-foreground data-disabled:opacity-50', className),
11
+ ...props
12
+ });
13
+ });
14
+ const PasswordInput_PasswordInputRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
15
+ return /*#__PURE__*/ jsx(PasswordInput.RootProvider, {
16
+ ref: ref,
17
+ "data-slot": "password-input-root-provider",
18
+ className: cn('flex w-full max-w-none flex-col gap-1 text-foreground data-disabled:opacity-50', className),
19
+ ...props
20
+ });
21
+ });
22
+ const PasswordInput_PasswordInputLabel = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
23
+ return /*#__PURE__*/ jsx(PasswordInput.Label, {
24
+ ref: ref,
25
+ "data-slot": "password-input-label",
26
+ className: cn('inline-flex items-center gap-1 text-sm leading-5 font-medium text-foreground', className),
27
+ ...props
28
+ });
29
+ });
30
+ const PasswordInput_PasswordInputControl = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
31
+ return /*#__PURE__*/ jsx(PasswordInput.Control, {
32
+ ref: ref,
33
+ "data-slot": "password-input-control",
34
+ className: cn('flex min-h-control-md w-full items-center rounded-md border border-border bg-background pr-2 text-foreground outline-1 -outline-offset-1 outline-transparent transition-[border-color,outline-color,opacity] duration-200 ease-in-out focus-within:outline-ring data-invalid:border-destructive data-invalid:focus-within:outline-destructive data-readonly:bg-background data-readonly:text-foreground motion-reduce:transition-none', className),
35
+ ...props
36
+ });
37
+ });
38
+ const PasswordInput_PasswordInputInput = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
39
+ return /*#__PURE__*/ jsx(PasswordInput.Input, {
40
+ ref: ref,
41
+ "data-slot": "password-input-input",
42
+ className: cn('min-h-0 min-w-0 flex-auto bg-transparent px-3 py-1 text-md leading-6 text-foreground outline-0 transition-opacity duration-200 ease-in-out placeholder:text-muted-foreground disabled:pointer-events-none data-disabled:pointer-events-none motion-reduce:transition-none', className),
43
+ ...props
44
+ });
45
+ });
46
+ const PasswordInput_PasswordInputVisibilityTrigger = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
47
+ return /*#__PURE__*/ jsx(PasswordInput.VisibilityTrigger, {
48
+ ref: ref,
49
+ "data-slot": "password-input-visibility-trigger",
50
+ className: cn('group/password-input-trigger inline-flex size-control-sm min-w-control-sm shrink-0 cursor-pointer items-center justify-center rounded-sm bg-transparent text-muted-foreground outline-1 -outline-offset-1 outline-transparent transition-[color,outline-color,opacity] duration-200 ease-in-out focus-visible:outline-ring disabled:cursor-default data-disabled:cursor-default data-readonly:cursor-default motion-reduce:transition-none [@media(hover:hover)]:[&:not(:disabled):not([data-disabled]):not([data-readonly]):hover]:text-foreground', className),
51
+ ...props
52
+ });
53
+ });
54
+ const PasswordInput_PasswordInputIndicator = /*#__PURE__*/ forwardRef(function({ className, children, fallback, ...props }, ref) {
55
+ return /*#__PURE__*/ jsx(PasswordInput.Indicator, {
56
+ ref: ref,
57
+ "data-slot": "password-input-indicator",
58
+ className: cn("inline-flex items-center justify-center rounded-sm p-1 transition-[background-color,color] duration-200 ease-in-out group-hover/password-input-trigger:bg-muted group-focus-visible/password-input-trigger:bg-muted group-data-[disabled]/password-input-trigger:bg-transparent group-data-[readonly]/password-input-trigger:bg-transparent motion-reduce:transition-none [&>svg:not([class*='size-'])]:size-4", className),
59
+ fallback: fallback ?? /*#__PURE__*/ jsx(EyeClosedIcon, {}),
60
+ ...props,
61
+ children: children ?? /*#__PURE__*/ jsx(EyeIcon, {})
62
+ });
63
+ });
64
+ const PasswordInput_PasswordInputField = /*#__PURE__*/ forwardRef(function(props, ref) {
65
+ return /*#__PURE__*/ jsxs(PasswordInput_PasswordInputControl, {
66
+ ref: ref,
67
+ ...props,
68
+ children: [
69
+ /*#__PURE__*/ jsx(PasswordInput_PasswordInputInput, {}),
70
+ /*#__PURE__*/ jsx(PasswordInput_PasswordInputVisibilityTrigger, {
71
+ children: /*#__PURE__*/ jsx(PasswordInput_PasswordInputIndicator, {})
72
+ })
73
+ ]
74
+ });
75
+ });
76
+ const PasswordInput_PasswordInput = Object.assign(PasswordInput_PasswordInputRoot, {
77
+ Root: PasswordInput_PasswordInputRoot,
78
+ RootProvider: PasswordInput_PasswordInputRootProvider,
79
+ Context: PasswordInput.Context,
80
+ Label: PasswordInput_PasswordInputLabel,
81
+ Control: PasswordInput_PasswordInputControl,
82
+ Field: PasswordInput_PasswordInputField,
83
+ Input: PasswordInput_PasswordInputInput,
84
+ VisibilityTrigger: PasswordInput_PasswordInputVisibilityTrigger,
85
+ Indicator: PasswordInput_PasswordInputIndicator
86
+ });
87
+ export { PasswordInput_PasswordInput as PasswordInput, usePasswordInput, usePasswordInputContext };
@@ -0,0 +1 @@
1
+ export { PasswordInput, usePasswordInput, usePasswordInputContext } from './PasswordInput.js';
@@ -0,0 +1 @@
1
+ export { PasswordInput, usePasswordInput, usePasswordInputContext } from "./PasswordInput.js";