@moduix/react 1.1.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 (396) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +252 -0
  3. package/dist/components/accordion/Accordion.css +190 -0
  4. package/dist/components/accordion/Accordion.d.ts +13 -0
  5. package/dist/components/accordion/Accordion.js +67 -0
  6. package/dist/components/accordion/Accordion.module.js +15 -0
  7. package/dist/components/accordion/index.d.ts +2 -0
  8. package/dist/components/alert/Alert.css +108 -0
  9. package/dist/components/alert/Alert.d.ts +14 -0
  10. package/dist/components/alert/Alert.js +69 -0
  11. package/dist/components/alert/Alert.module.js +11 -0
  12. package/dist/components/angle-slider/AngleSlider.css +192 -0
  13. package/dist/components/angle-slider/AngleSlider.d.ts +16 -0
  14. package/dist/components/angle-slider/AngleSlider.js +92 -0
  15. package/dist/components/angle-slider/AngleSlider.module.js +13 -0
  16. package/dist/components/angle-slider/index.d.ts +2 -0
  17. package/dist/components/aspect-ratio/AspectRatio.css +14 -0
  18. package/dist/components/aspect-ratio/AspectRatio.d.ts +10 -0
  19. package/dist/components/aspect-ratio/AspectRatio.js +24 -0
  20. package/dist/components/aspect-ratio/AspectRatio.module.js +5 -0
  21. package/dist/components/avatar/Avatar.css +75 -0
  22. package/dist/components/avatar/Avatar.d.ts +19 -0
  23. package/dist/components/avatar/Avatar.js +49 -0
  24. package/dist/components/avatar/Avatar.module.js +9 -0
  25. package/dist/components/avatar/index.d.ts +2 -0
  26. package/dist/components/badge/Badge.css +66 -0
  27. package/dist/components/badge/Badge.d.ts +11 -0
  28. package/dist/components/badge/Badge.js +35 -0
  29. package/dist/components/badge/Badge.module.js +8 -0
  30. package/dist/components/bleed/Bleed.css +51 -0
  31. package/dist/components/bleed/Bleed.d.ts +12 -0
  32. package/dist/components/bleed/Bleed.js +22 -0
  33. package/dist/components/bleed/Bleed.module.js +5 -0
  34. package/dist/components/breadcrumbs/Breadcrumbs.css +90 -0
  35. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +12 -0
  36. package/dist/components/breadcrumbs/Breadcrumbs.js +95 -0
  37. package/dist/components/breadcrumbs/Breadcrumbs.module.js +13 -0
  38. package/dist/components/button/Button.css +193 -0
  39. package/dist/components/button/Button.d.ts +14 -0
  40. package/dist/components/button/Button.js +28 -0
  41. package/dist/components/button/Button.module.js +5 -0
  42. package/dist/components/card/Card.css +148 -0
  43. package/dist/components/card/Card.d.ts +19 -0
  44. package/dist/components/card/Card.js +101 -0
  45. package/dist/components/card/Card.module.js +14 -0
  46. package/dist/components/carousel/Carousel.css +198 -0
  47. package/dist/components/carousel/Carousel.d.ts +19 -0
  48. package/dist/components/carousel/Carousel.js +128 -0
  49. package/dist/components/carousel/Carousel.module.js +18 -0
  50. package/dist/components/carousel/index.d.ts +2 -0
  51. package/dist/components/checkbox/Checkbox.css +135 -0
  52. package/dist/components/checkbox/Checkbox.d.ts +22 -0
  53. package/dist/components/checkbox/Checkbox.js +84 -0
  54. package/dist/components/checkbox/Checkbox.module.js +12 -0
  55. package/dist/components/checkbox/index.d.ts +2 -0
  56. package/dist/components/clipboard/Clipboard.css +145 -0
  57. package/dist/components/clipboard/Clipboard.d.ts +15 -0
  58. package/dist/components/clipboard/Clipboard.js +96 -0
  59. package/dist/components/clipboard/Clipboard.module.js +14 -0
  60. package/dist/components/clipboard/index.d.ts +2 -0
  61. package/dist/components/close-button/CloseButton.css +49 -0
  62. package/dist/components/close-button/CloseButton.d.ts +6 -0
  63. package/dist/components/close-button/CloseButton.js +39 -0
  64. package/dist/components/close-button/CloseButton.module.js +5 -0
  65. package/dist/components/collapsible/Collapsible.css +138 -0
  66. package/dist/components/collapsible/Collapsible.d.ts +12 -0
  67. package/dist/components/collapsible/Collapsible.js +59 -0
  68. package/dist/components/collapsible/Collapsible.module.js +12 -0
  69. package/dist/components/collapsible/index.d.ts +2 -0
  70. package/dist/components/color-picker/ColorPicker.css +433 -0
  71. package/dist/components/color-picker/ColorPicker.d.ts +39 -0
  72. package/dist/components/color-picker/ColorPicker.js +275 -0
  73. package/dist/components/color-picker/ColorPicker.module.js +33 -0
  74. package/dist/components/color-picker/index.d.ts +2 -0
  75. package/dist/components/combobox/Combobox.css +315 -0
  76. package/dist/components/combobox/Combobox.d.ts +24 -0
  77. package/dist/components/combobox/Combobox.js +169 -0
  78. package/dist/components/combobox/Combobox.module.js +23 -0
  79. package/dist/components/combobox/index.d.ts +2 -0
  80. package/dist/components/command-palette/CommandPalette.css +492 -0
  81. package/dist/components/command-palette/CommandPalette.d.ts +71 -0
  82. package/dist/components/command-palette/CommandPalette.js +383 -0
  83. package/dist/components/command-palette/CommandPalette.module.js +43 -0
  84. package/dist/components/command-palette/index.d.ts +2 -0
  85. package/dist/components/container/Container.css +45 -0
  86. package/dist/components/container/Container.d.ts +14 -0
  87. package/dist/components/container/Container.js +22 -0
  88. package/dist/components/container/Container.module.js +5 -0
  89. package/dist/components/date-input/DateInput.css +104 -0
  90. package/dist/components/date-input/DateInput.d.ts +22 -0
  91. package/dist/components/date-input/DateInput.js +83 -0
  92. package/dist/components/date-input/DateInput.module.js +12 -0
  93. package/dist/components/date-input/index.d.ts +2 -0
  94. package/dist/components/date-picker/DatePicker.css +420 -0
  95. package/dist/components/date-picker/DatePicker.d.ts +39 -0
  96. package/dist/components/date-picker/DatePicker.js +284 -0
  97. package/dist/components/date-picker/DatePicker.module.js +29 -0
  98. package/dist/components/date-picker/index.d.ts +2 -0
  99. package/dist/components/dialog/Dialog.css +221 -0
  100. package/dist/components/dialog/Dialog.d.ts +46 -0
  101. package/dist/components/dialog/Dialog.js +133 -0
  102. package/dist/components/dialog/Dialog.module.js +21 -0
  103. package/dist/components/dialog/index.d.ts +2 -0
  104. package/dist/components/drawer/Drawer.css +482 -0
  105. package/dist/components/drawer/Drawer.d.ts +56 -0
  106. package/dist/components/drawer/Drawer.js +188 -0
  107. package/dist/components/drawer/Drawer.module.js +32 -0
  108. package/dist/components/drawer/index.d.ts +2 -0
  109. package/dist/components/editable/Editable.css +171 -0
  110. package/dist/components/editable/Editable.d.ts +17 -0
  111. package/dist/components/editable/Editable.js +106 -0
  112. package/dist/components/editable/Editable.module.js +13 -0
  113. package/dist/components/editable/index.d.ts +2 -0
  114. package/dist/components/empty/Empty.css +78 -0
  115. package/dist/components/empty/Empty.d.ts +11 -0
  116. package/dist/components/empty/Empty.js +77 -0
  117. package/dist/components/empty/Empty.module.js +12 -0
  118. package/dist/components/field/Field.css +113 -0
  119. package/dist/components/field/Field.d.ts +25 -0
  120. package/dist/components/field/Field.js +104 -0
  121. package/dist/components/field/Field.module.js +15 -0
  122. package/dist/components/field/index.d.ts +2 -0
  123. package/dist/components/fieldset/Fieldset.css +52 -0
  124. package/dist/components/fieldset/Fieldset.d.ts +12 -0
  125. package/dist/components/fieldset/Fieldset.js +56 -0
  126. package/dist/components/fieldset/Fieldset.module.js +10 -0
  127. package/dist/components/fieldset/index.d.ts +2 -0
  128. package/dist/components/file-upload/FileUpload.css +290 -0
  129. package/dist/components/file-upload/FileUpload.d.ts +28 -0
  130. package/dist/components/file-upload/FileUpload.js +149 -0
  131. package/dist/components/file-upload/FileUpload.module.js +19 -0
  132. package/dist/components/file-upload/index.d.ts +2 -0
  133. package/dist/components/floating-panel/FloatingPanel.css +319 -0
  134. package/dist/components/floating-panel/FloatingPanel.d.ts +45 -0
  135. package/dist/components/floating-panel/FloatingPanel.js +194 -0
  136. package/dist/components/floating-panel/FloatingPanel.module.js +20 -0
  137. package/dist/components/floating-panel/index.d.ts +2 -0
  138. package/dist/components/heading/Heading.css +58 -0
  139. package/dist/components/heading/Heading.d.ts +17 -0
  140. package/dist/components/heading/Heading.js +32 -0
  141. package/dist/components/heading/Heading.module.js +5 -0
  142. package/dist/components/highlight/Highlight.css +15 -0
  143. package/dist/components/highlight/Highlight.d.ts +13 -0
  144. package/dist/components/highlight/Highlight.js +18 -0
  145. package/dist/components/highlight/Highlight.module.js +5 -0
  146. package/dist/components/highlight/index.d.ts +2 -0
  147. package/dist/components/hover-card/HoverCard.css +107 -0
  148. package/dist/components/hover-card/HoverCard.d.ts +28 -0
  149. package/dist/components/hover-card/HoverCard.js +81 -0
  150. package/dist/components/hover-card/HoverCard.module.js +13 -0
  151. package/dist/components/hover-card/index.d.ts +2 -0
  152. package/dist/components/image-cropper/ImageCropper.css +147 -0
  153. package/dist/components/image-cropper/ImageCropper.d.ts +15 -0
  154. package/dist/components/image-cropper/ImageCropper.js +75 -0
  155. package/dist/components/image-cropper/ImageCropper.module.js +12 -0
  156. package/dist/components/image-cropper/index.d.ts +2 -0
  157. package/dist/components/input/Input.css +83 -0
  158. package/dist/components/input/Input.d.ts +15 -0
  159. package/dist/components/input/Input.js +22 -0
  160. package/dist/components/input/Input.module.js +5 -0
  161. package/dist/components/input/index.d.ts +2 -0
  162. package/dist/components/input-group/InputGroup.css +158 -0
  163. package/dist/components/input-group/InputGroup.d.ts +25 -0
  164. package/dist/components/input-group/InputGroup.js +76 -0
  165. package/dist/components/input-group/InputGroup.module.js +11 -0
  166. package/dist/components/input-group/index.d.ts +2 -0
  167. package/dist/components/kbd/Kbd.css +45 -0
  168. package/dist/components/kbd/Kbd.d.ts +7 -0
  169. package/dist/components/kbd/Kbd.js +33 -0
  170. package/dist/components/kbd/Kbd.module.js +8 -0
  171. package/dist/components/lightbox/Lightbox.css +242 -0
  172. package/dist/components/lightbox/Lightbox.d.ts +71 -0
  173. package/dist/components/lightbox/Lightbox.js +219 -0
  174. package/dist/components/lightbox/Lightbox.module.js +22 -0
  175. package/dist/components/lightbox/index.d.ts +2 -0
  176. package/dist/components/list/List.css +118 -0
  177. package/dist/components/list/List.d.ts +24 -0
  178. package/dist/components/list/List.js +48 -0
  179. package/dist/components/list/List.module.js +5 -0
  180. package/dist/components/list/index.d.ts +2 -0
  181. package/dist/components/listbox/Listbox.css +255 -0
  182. package/dist/components/listbox/Listbox.d.ts +35 -0
  183. package/dist/components/listbox/Listbox.js +145 -0
  184. package/dist/components/listbox/Listbox.module.js +20 -0
  185. package/dist/components/listbox/index.d.ts +2 -0
  186. package/dist/components/marquee/Marquee.css +114 -0
  187. package/dist/components/marquee/Marquee.d.ts +13 -0
  188. package/dist/components/marquee/Marquee.js +65 -0
  189. package/dist/components/marquee/Marquee.module.js +13 -0
  190. package/dist/components/marquee/index.d.ts +2 -0
  191. package/dist/components/menu/Menu.css +371 -0
  192. package/dist/components/menu/Menu.d.ts +83 -0
  193. package/dist/components/menu/Menu.js +240 -0
  194. package/dist/components/menu/Menu.module.js +33 -0
  195. package/dist/components/menu/index.d.ts +2 -0
  196. package/dist/components/native-select/NativeSelect.css +104 -0
  197. package/dist/components/native-select/NativeSelect.d.ts +8 -0
  198. package/dist/components/native-select/NativeSelect.js +32 -0
  199. package/dist/components/native-select/NativeSelect.module.js +9 -0
  200. package/dist/components/native-select/index.d.ts +2 -0
  201. package/dist/components/number-input/NumberInput.css +162 -0
  202. package/dist/components/number-input/NumberInput.d.ts +16 -0
  203. package/dist/components/number-input/NumberInput.js +95 -0
  204. package/dist/components/number-input/NumberInput.module.js +14 -0
  205. package/dist/components/number-input/index.d.ts +2 -0
  206. package/dist/components/pagination/Pagination.css +99 -0
  207. package/dist/components/pagination/Pagination.d.ts +16 -0
  208. package/dist/components/pagination/Pagination.js +101 -0
  209. package/dist/components/pagination/Pagination.module.js +12 -0
  210. package/dist/components/pagination/index.d.ts +2 -0
  211. package/dist/components/password-input/PasswordInput.css +155 -0
  212. package/dist/components/password-input/PasswordInput.d.ts +14 -0
  213. package/dist/components/password-input/PasswordInput.js +77 -0
  214. package/dist/components/password-input/PasswordInput.module.js +12 -0
  215. package/dist/components/password-input/index.d.ts +2 -0
  216. package/dist/components/pin-input/PinInput.css +96 -0
  217. package/dist/components/pin-input/PinInput.d.ts +23 -0
  218. package/dist/components/pin-input/PinInput.js +85 -0
  219. package/dist/components/pin-input/PinInput.module.js +11 -0
  220. package/dist/components/pin-input/index.d.ts +2 -0
  221. package/dist/components/popover/Popover.css +162 -0
  222. package/dist/components/popover/Popover.d.ts +50 -0
  223. package/dist/components/popover/Popover.js +167 -0
  224. package/dist/components/popover/Popover.module.js +20 -0
  225. package/dist/components/popover/index.d.ts +2 -0
  226. package/dist/components/progress-circular/ProgressCircular.css +68 -0
  227. package/dist/components/progress-circular/ProgressCircular.d.ts +15 -0
  228. package/dist/components/progress-circular/ProgressCircular.js +83 -0
  229. package/dist/components/progress-circular/ProgressCircular.module.js +14 -0
  230. package/dist/components/progress-circular/index.d.ts +2 -0
  231. package/dist/components/progress-linear/ProgressLinear.css +106 -0
  232. package/dist/components/progress-linear/ProgressLinear.d.ts +14 -0
  233. package/dist/components/progress-linear/ProgressLinear.js +74 -0
  234. package/dist/components/progress-linear/ProgressLinear.module.js +14 -0
  235. package/dist/components/progress-linear/index.d.ts +2 -0
  236. package/dist/components/qr-code/QrCode.css +100 -0
  237. package/dist/components/qr-code/QrCode.d.ts +13 -0
  238. package/dist/components/qr-code/QrCode.js +65 -0
  239. package/dist/components/qr-code/QrCode.module.js +11 -0
  240. package/dist/components/qr-code/index.d.ts +2 -0
  241. package/dist/components/radio-group/RadioGroup.css +147 -0
  242. package/dist/components/radio-group/RadioGroup.d.ts +20 -0
  243. package/dist/components/radio-group/RadioGroup.js +83 -0
  244. package/dist/components/radio-group/RadioGroup.module.js +12 -0
  245. package/dist/components/radio-group/index.d.ts +2 -0
  246. package/dist/components/rating-group/RatingGroup.css +133 -0
  247. package/dist/components/rating-group/RatingGroup.d.ts +23 -0
  248. package/dist/components/rating-group/RatingGroup.js +86 -0
  249. package/dist/components/rating-group/RatingGroup.module.js +13 -0
  250. package/dist/components/rating-group/index.d.ts +2 -0
  251. package/dist/components/scroll-area/ScrollArea.css +162 -0
  252. package/dist/components/scroll-area/ScrollArea.d.ts +21 -0
  253. package/dist/components/scroll-area/ScrollArea.js +76 -0
  254. package/dist/components/scroll-area/ScrollArea.module.js +12 -0
  255. package/dist/components/scroll-area/index.d.ts +2 -0
  256. package/dist/components/segment-group/SegmentGroup.css +120 -0
  257. package/dist/components/segment-group/SegmentGroup.d.ts +15 -0
  258. package/dist/components/segment-group/SegmentGroup.js +83 -0
  259. package/dist/components/segment-group/SegmentGroup.module.js +12 -0
  260. package/dist/components/segment-group/index.d.ts +2 -0
  261. package/dist/components/select/Select.css +351 -0
  262. package/dist/components/select/Select.d.ts +48 -0
  263. package/dist/components/select/Select.js +210 -0
  264. package/dist/components/select/Select.module.js +27 -0
  265. package/dist/components/select/index.d.ts +2 -0
  266. package/dist/components/separator/Separator.css +45 -0
  267. package/dist/components/separator/Separator.d.ts +14 -0
  268. package/dist/components/separator/Separator.js +27 -0
  269. package/dist/components/separator/Separator.module.js +5 -0
  270. package/dist/components/sidebar/Sidebar.css +341 -0
  271. package/dist/components/sidebar/Sidebar.d.ts +48 -0
  272. package/dist/components/sidebar/Sidebar.js +279 -0
  273. package/dist/components/sidebar/Sidebar.module.js +23 -0
  274. package/dist/components/sidebar/index.d.ts +2 -0
  275. package/dist/components/signature-pad/SignaturePad.css +123 -0
  276. package/dist/components/signature-pad/SignaturePad.d.ts +15 -0
  277. package/dist/components/signature-pad/SignaturePad.js +82 -0
  278. package/dist/components/signature-pad/SignaturePad.module.js +12 -0
  279. package/dist/components/signature-pad/index.d.ts +2 -0
  280. package/dist/components/simple-grid/SimpleGrid.d.ts +18 -0
  281. package/dist/components/simple-grid/SimpleGrid.js +32 -0
  282. package/dist/components/skeleton/Skeleton.css +29 -0
  283. package/dist/components/skeleton/Skeleton.d.ts +20 -0
  284. package/dist/components/skeleton/Skeleton.js +32 -0
  285. package/dist/components/skeleton/Skeleton.module.js +5 -0
  286. package/dist/components/slider/Slider.css +167 -0
  287. package/dist/components/slider/Slider.d.ts +19 -0
  288. package/dist/components/slider/Slider.js +119 -0
  289. package/dist/components/slider/Slider.module.js +16 -0
  290. package/dist/components/slider/index.d.ts +2 -0
  291. package/dist/components/spinner/Spinner.css +60 -0
  292. package/dist/components/spinner/Spinner.d.ts +12 -0
  293. package/dist/components/spinner/Spinner.js +40 -0
  294. package/dist/components/spinner/Spinner.module.js +9 -0
  295. package/dist/components/split-button/SplitButton.css +51 -0
  296. package/dist/components/split-button/SplitButton.d.ts +36 -0
  297. package/dist/components/split-button/SplitButton.js +93 -0
  298. package/dist/components/split-button/SplitButton.module.js +9 -0
  299. package/dist/components/split-button/index.d.ts +2 -0
  300. package/dist/components/splitter/Splitter.css +170 -0
  301. package/dist/components/splitter/Splitter.d.ts +12 -0
  302. package/dist/components/splitter/Splitter.js +68 -0
  303. package/dist/components/splitter/Splitter.module.js +10 -0
  304. package/dist/components/splitter/index.d.ts +2 -0
  305. package/dist/components/stack/Stack.css +13 -0
  306. package/dist/components/stack/Stack.d.ts +31 -0
  307. package/dist/components/stack/Stack.js +36 -0
  308. package/dist/components/stack/Stack.module.js +5 -0
  309. package/dist/components/stack/index.d.ts +2 -0
  310. package/dist/components/steps/Steps.css +283 -0
  311. package/dist/components/steps/Steps.d.ts +19 -0
  312. package/dist/components/steps/Steps.js +122 -0
  313. package/dist/components/steps/Steps.module.js +17 -0
  314. package/dist/components/steps/index.d.ts +2 -0
  315. package/dist/components/switch/Switch.css +130 -0
  316. package/dist/components/switch/Switch.d.ts +21 -0
  317. package/dist/components/switch/Switch.js +67 -0
  318. package/dist/components/switch/Switch.module.js +10 -0
  319. package/dist/components/switch/index.d.ts +2 -0
  320. package/dist/components/table/Table.css +162 -0
  321. package/dist/components/table/Table.d.ts +41 -0
  322. package/dist/components/table/Table.js +173 -0
  323. package/dist/components/table/Table.module.js +18 -0
  324. package/dist/components/tabs/Tabs.css +186 -0
  325. package/dist/components/tabs/Tabs.d.ts +20 -0
  326. package/dist/components/tabs/Tabs.js +67 -0
  327. package/dist/components/tabs/Tabs.module.js +11 -0
  328. package/dist/components/tabs/index.d.ts +2 -0
  329. package/dist/components/tag/Tag.css +128 -0
  330. package/dist/components/tag/Tag.d.ts +18 -0
  331. package/dist/components/tag/Tag.js +87 -0
  332. package/dist/components/tag/Tag.module.js +11 -0
  333. package/dist/components/tags-input/TagsInput.css +248 -0
  334. package/dist/components/tags-input/TagsInput.d.ts +20 -0
  335. package/dist/components/tags-input/TagsInput.js +139 -0
  336. package/dist/components/tags-input/TagsInput.module.js +16 -0
  337. package/dist/components/tags-input/index.d.ts +2 -0
  338. package/dist/components/text/Text.css +87 -0
  339. package/dist/components/text/Text.d.ts +27 -0
  340. package/dist/components/text/Text.js +43 -0
  341. package/dist/components/text/Text.module.js +5 -0
  342. package/dist/components/textarea/Textarea.css +55 -0
  343. package/dist/components/textarea/Textarea.d.ts +6 -0
  344. package/dist/components/textarea/Textarea.js +21 -0
  345. package/dist/components/textarea/Textarea.module.js +5 -0
  346. package/dist/components/textarea/index.d.ts +2 -0
  347. package/dist/components/timer/Timer.css +95 -0
  348. package/dist/components/timer/Timer.d.ts +14 -0
  349. package/dist/components/timer/Timer.js +74 -0
  350. package/dist/components/timer/Timer.module.js +12 -0
  351. package/dist/components/timer/index.d.ts +2 -0
  352. package/dist/components/toast/Toast.css +154 -0
  353. package/dist/components/toast/Toast.d.ts +17 -0
  354. package/dist/components/toast/Toast.js +92 -0
  355. package/dist/components/toast/Toast.module.js +12 -0
  356. package/dist/components/toast/index.d.ts +2 -0
  357. package/dist/components/toggle/Toggle.css +167 -0
  358. package/dist/components/toggle/Toggle.d.ts +16 -0
  359. package/dist/components/toggle/Toggle.js +31 -0
  360. package/dist/components/toggle/Toggle.module.js +8 -0
  361. package/dist/components/toggle/index.d.ts +2 -0
  362. package/dist/components/toggle-group/ToggleGroup.css +42 -0
  363. package/dist/components/toggle-group/ToggleGroup.d.ts +25 -0
  364. package/dist/components/toggle-group/ToggleGroup.js +62 -0
  365. package/dist/components/toggle-group/ToggleGroup.module.js +8 -0
  366. package/dist/components/toggle-group/index.d.ts +2 -0
  367. package/dist/components/tooltip/Tooltip.css +125 -0
  368. package/dist/components/tooltip/Tooltip.d.ts +28 -0
  369. package/dist/components/tooltip/Tooltip.js +75 -0
  370. package/dist/components/tooltip/Tooltip.module.js +13 -0
  371. package/dist/components/tooltip/index.d.ts +2 -0
  372. package/dist/components/tour/Tour.css +286 -0
  373. package/dist/components/tour/Tour.d.ts +30 -0
  374. package/dist/components/tour/Tour.js +149 -0
  375. package/dist/components/tour/Tour.module.js +23 -0
  376. package/dist/components/tour/index.d.ts +2 -0
  377. package/dist/components/tree-view/TreeView.css +261 -0
  378. package/dist/components/tree-view/TreeView.d.ts +32 -0
  379. package/dist/components/tree-view/TreeView.js +171 -0
  380. package/dist/components/tree-view/TreeView.module.js +26 -0
  381. package/dist/components/tree-view/index.d.ts +2 -0
  382. package/dist/index.d.ts +83 -0
  383. package/dist/index.js +83 -0
  384. package/dist/lib/moduix/icons/ui/Icons.d.ts +51 -0
  385. package/dist/lib/moduix/icons/ui/Icons.js +759 -0
  386. package/dist/lib/moduix/icons/ui/index.d.ts +2 -0
  387. package/dist/lib/moduix/normalizeClassName.js +4 -0
  388. package/dist/lib/moduix/overlayPortal.d.ts +9 -0
  389. package/dist/lib/moduix/overlayPortal.js +21 -0
  390. package/dist/lib/moduix/styles/reset.css +175 -0
  391. package/dist/lib/moduix/styles/style.css +288 -0
  392. package/dist/reset.d.ts +1 -0
  393. package/dist/reset.js +1 -0
  394. package/dist/style.d.ts +1 -0
  395. package/dist/style.js +1 -0
  396. package/package.json +76 -0
@@ -0,0 +1,95 @@
1
+ import { MinusIcon, PlusIcon } from "../../lib/moduix/icons/ui/Icons.js";
2
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
3
+ import NumberInput_module_default from "./NumberInput.module.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ import { NumberInput } from "@ark-ui/react/number-input";
8
+ //#region src/components/number-input/NumberInput.tsx
9
+ const NumberInputRoot = forwardRef(function NumberInputRoot({ className, ...props }, ref) {
10
+ return /* @__PURE__ */ jsx(NumberInput.Root, {
11
+ ref,
12
+ "data-slot": "number-input-root",
13
+ className: clsx(NumberInput_module_default.root, normalizeClassName(className)),
14
+ ...props
15
+ });
16
+ });
17
+ const NumberInputRootProvider = forwardRef(function NumberInputRootProvider({ className, ...props }, ref) {
18
+ return /* @__PURE__ */ jsx(NumberInput.RootProvider, {
19
+ ref,
20
+ "data-slot": "number-input-root-provider",
21
+ className: clsx(NumberInput_module_default.root, normalizeClassName(className)),
22
+ ...props
23
+ });
24
+ });
25
+ const NumberInputLabel = forwardRef(function NumberInputLabel({ className, ...props }, ref) {
26
+ return /* @__PURE__ */ jsx(NumberInput.Label, {
27
+ ref,
28
+ "data-slot": "number-input-label",
29
+ className: clsx(NumberInput_module_default.label, normalizeClassName(className)),
30
+ ...props
31
+ });
32
+ });
33
+ const NumberInputScrubber = forwardRef(function NumberInputScrubber({ className, ...props }, ref) {
34
+ return /* @__PURE__ */ jsx(NumberInput.Scrubber, {
35
+ ref,
36
+ "data-slot": "number-input-scrubber",
37
+ className: clsx(NumberInput_module_default.scrubber, normalizeClassName(className)),
38
+ ...props
39
+ });
40
+ });
41
+ const NumberInputControl = forwardRef(function NumberInputControl({ className, ...props }, ref) {
42
+ return /* @__PURE__ */ jsx(NumberInput.Control, {
43
+ ref,
44
+ "data-slot": "number-input-control",
45
+ className: clsx(NumberInput_module_default.control, normalizeClassName(className)),
46
+ ...props
47
+ });
48
+ });
49
+ const NumberInputDecrementTrigger = forwardRef(function NumberInputDecrementTrigger({ className, children, ...props }, ref) {
50
+ return /* @__PURE__ */ jsx(NumberInput.DecrementTrigger, {
51
+ ref,
52
+ "data-slot": "number-input-decrement-trigger",
53
+ className: clsx(NumberInput_module_default.decrementTrigger, normalizeClassName(className)),
54
+ ...props,
55
+ children: children ?? /* @__PURE__ */ jsx(MinusIcon, {})
56
+ });
57
+ });
58
+ const NumberInputInput = forwardRef(function NumberInputInput({ className, ...props }, ref) {
59
+ return /* @__PURE__ */ jsx(NumberInput.Input, {
60
+ ref,
61
+ "data-slot": "number-input-input",
62
+ className: clsx(NumberInput_module_default.input, normalizeClassName(className)),
63
+ ...props
64
+ });
65
+ });
66
+ const NumberInputIncrementTrigger = forwardRef(function NumberInputIncrementTrigger({ className, children, ...props }, ref) {
67
+ return /* @__PURE__ */ jsx(NumberInput.IncrementTrigger, {
68
+ ref,
69
+ "data-slot": "number-input-increment-trigger",
70
+ className: clsx(NumberInput_module_default.incrementTrigger, normalizeClassName(className)),
71
+ ...props,
72
+ children: children ?? /* @__PURE__ */ jsx(PlusIcon, {})
73
+ });
74
+ });
75
+ const NumberInputValueText = forwardRef(function NumberInputValueText({ className, ...props }, ref) {
76
+ return /* @__PURE__ */ jsx(NumberInput.ValueText, {
77
+ ref,
78
+ "data-slot": "number-input-value-text",
79
+ className: clsx(NumberInput_module_default.valueText, normalizeClassName(className)),
80
+ ...props
81
+ });
82
+ });
83
+ const NumberInput$1 = Object.assign(NumberInputRoot, {
84
+ Root: NumberInputRoot,
85
+ RootProvider: NumberInputRootProvider,
86
+ Label: NumberInputLabel,
87
+ Scrubber: NumberInputScrubber,
88
+ Control: NumberInputControl,
89
+ DecrementTrigger: NumberInputDecrementTrigger,
90
+ Input: NumberInputInput,
91
+ IncrementTrigger: NumberInputIncrementTrigger,
92
+ ValueText: NumberInputValueText
93
+ });
94
+ //#endregion
95
+ export { NumberInput$1 as NumberInput };
@@ -0,0 +1,14 @@
1
+ import './NumberInput.css';
2
+ //#region src/components/number-input/NumberInput.module.css
3
+ var NumberInput_module_default = {
4
+ "control": "_99y8lW_control",
5
+ "decrementTrigger": "_99y8lW_decrementTrigger",
6
+ "incrementTrigger": "_99y8lW_incrementTrigger",
7
+ "input": "_99y8lW_input",
8
+ "label": "_99y8lW_label",
9
+ "root": "_99y8lW_root",
10
+ "scrubber": "_99y8lW_scrubber",
11
+ "valueText": "_99y8lW_valueText"
12
+ };
13
+ //#endregion
14
+ export { NumberInput_module_default as default };
@@ -0,0 +1,2 @@
1
+ import { NumberInput } from "./NumberInput.js";
2
+ export { NumberInput };
@@ -0,0 +1,99 @@
1
+ @layer ui.components {
2
+ ._9uLVTW_root {
3
+ align-items: center;
4
+ gap: var(--pagination-gap, var(--spacing-1));
5
+ color: var(--pagination-color, var(--color-foreground));
6
+ display: inline-flex;
7
+ }
8
+
9
+ ._9uLVTW_item, ._9uLVTW_trigger, ._9uLVTW_ellipsis {
10
+ box-sizing: border-box;
11
+ min-width: var(--pagination-item-size, var(--size-lg));
12
+ height: var(--pagination-item-size, var(--size-lg));
13
+ border-radius: var(--pagination-item-radius, var(--radius-md));
14
+ font-size: var(--pagination-font-size, var(--text-sm));
15
+ font-weight: var(--pagination-font-weight, var(--weight-medium));
16
+ line-height: var(--pagination-line-height, var(--line-height-text-sm));
17
+ font-variant-numeric: tabular-nums;
18
+ justify-content: center;
19
+ align-items: center;
20
+ display: inline-flex;
21
+ }
22
+
23
+ ._9uLVTW_item, ._9uLVTW_trigger {
24
+ cursor: pointer;
25
+ gap: var(--pagination-trigger-gap, var(--spacing-2));
26
+ border: var(--pagination-item-border-width, var(--border-width-sm)) solid
27
+ var(--pagination-item-border-color, var(--color-border));
28
+ padding-inline: var(--pagination-item-padding-inline, .75rem);
29
+ background-color: var(--pagination-item-bg, var(--color-background));
30
+ color: var(--pagination-item-color, var(--color-foreground));
31
+ user-select: none;
32
+ white-space: nowrap;
33
+ transition: background-color var(--pagination-transition, var(--transition-default)),
34
+ border-color var(--pagination-transition, var(--transition-default)),
35
+ color var(--pagination-transition, var(--transition-default)),
36
+ opacity var(--pagination-transition, var(--transition-default));
37
+ font-family: inherit;
38
+ text-decoration: none;
39
+
40
+ @media (hover: hover) {
41
+ &:hover {
42
+ background-color: var(--pagination-item-bg-hover, var(--color-accent));
43
+ }
44
+ }
45
+
46
+ &:focus-visible, &[data-focus] {
47
+ outline: var(--pagination-focus-ring-width, var(--border-width-md)) solid
48
+ var(--pagination-focus-ring-color, var(--color-ring));
49
+ outline-offset: var(--pagination-focus-ring-offset, -1px);
50
+ }
51
+
52
+ &:is([data-disabled], :disabled) {
53
+ opacity: var(--pagination-disabled-opacity, var(--opacity-disabled));
54
+ pointer-events: none;
55
+ }
56
+
57
+ & svg {
58
+ width: var(--pagination-icon-size, 1rem);
59
+ height: var(--pagination-icon-size, 1rem);
60
+ flex-shrink: 0;
61
+ }
62
+ }
63
+
64
+ ._9uLVTW_item[data-selected] {
65
+ border-color: var(--pagination-item-border-color-selected, var(--color-foreground));
66
+ background-color: var(--pagination-item-bg-selected, var(--color-foreground));
67
+ color: var(--pagination-item-color-selected, var(--color-background));
68
+
69
+ @media (hover: hover) {
70
+ &:hover {
71
+ background-color: var(--pagination-item-bg-selected, var(--color-foreground));
72
+ }
73
+ }
74
+ }
75
+
76
+ ._9uLVTW_trigger {
77
+ padding-inline: max(var(--pagination-item-padding-inline, .75rem), var(--spacing-3));
78
+ }
79
+
80
+ ._9uLVTW_iconTrigger {
81
+ width: var(--pagination-item-size, var(--size-lg));
82
+ padding-inline: 0;
83
+ }
84
+
85
+ ._9uLVTW_ellipsis {
86
+ color: var(--pagination-ellipsis-color, var(--color-muted-foreground));
87
+ user-select: none;
88
+ }
89
+
90
+ ._9uLVTW_edgeIcon {
91
+ justify-content: center;
92
+ align-items: center;
93
+ display: inline-flex;
94
+
95
+ & svg + svg {
96
+ margin-inline-start: calc(var(--pagination-icon-size, 1rem) * -.5);
97
+ }
98
+ }
99
+ }
@@ -0,0 +1,16 @@
1
+ import { Pagination } from "@ark-ui/react/pagination";
2
+
3
+ //#region src/components/pagination/Pagination.d.ts
4
+ declare const Pagination$1: import("react").ForwardRefExoticComponent<Omit<Pagination.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>> & {
5
+ Root: import("react").ForwardRefExoticComponent<Omit<Pagination.RootProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
6
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<Pagination.RootProviderProps & import("react").RefAttributes<HTMLElement>, "ref"> & import("react").RefAttributes<HTMLElement>>;
7
+ Item: import("react").ForwardRefExoticComponent<Omit<Pagination.ItemProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
8
+ Ellipsis: import("react").ForwardRefExoticComponent<Omit<Pagination.EllipsisProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ PrevTrigger: import("react").ForwardRefExoticComponent<Omit<Pagination.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
10
+ NextTrigger: import("react").ForwardRefExoticComponent<Omit<Pagination.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ FirstTrigger: import("react").ForwardRefExoticComponent<Omit<Pagination.FirstTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
12
+ LastTrigger: import("react").ForwardRefExoticComponent<Omit<Pagination.LastTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
13
+ Context: (props: Pagination.ContextProps) => import("react").ReactNode;
14
+ };
15
+ //#endregion
16
+ export { Pagination$1 as Pagination };
@@ -0,0 +1,101 @@
1
+ import { ChevronLeftIcon, ChevronRightIcon } from "../../lib/moduix/icons/ui/Icons.js";
2
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
3
+ import Pagination_module_default from "./Pagination.module.js";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ import { Pagination } from "@ark-ui/react/pagination";
8
+ //#region src/components/pagination/Pagination.tsx
9
+ const PaginationRoot = forwardRef(function PaginationRoot({ "aria-label": ariaLabel = "Pagination", className, ...props }, ref) {
10
+ return /* @__PURE__ */ jsx(Pagination.Root, {
11
+ ref,
12
+ "data-slot": "pagination-root",
13
+ "aria-label": ariaLabel,
14
+ className: clsx(Pagination_module_default.root, normalizeClassName(className)),
15
+ ...props
16
+ });
17
+ });
18
+ const PaginationRootProvider = forwardRef(function PaginationRootProvider({ "aria-label": ariaLabel = "Pagination", className, ...props }, ref) {
19
+ return /* @__PURE__ */ jsx(Pagination.RootProvider, {
20
+ ref,
21
+ "data-slot": "pagination-root-provider",
22
+ "aria-label": ariaLabel,
23
+ className: clsx(Pagination_module_default.root, normalizeClassName(className)),
24
+ ...props
25
+ });
26
+ });
27
+ const PaginationItem = forwardRef(function PaginationItem({ className, ...props }, ref) {
28
+ return /* @__PURE__ */ jsx(Pagination.Item, {
29
+ ref,
30
+ "data-slot": "pagination-item",
31
+ className: clsx(Pagination_module_default.item, normalizeClassName(className)),
32
+ ...props
33
+ });
34
+ });
35
+ const PaginationEllipsis = forwardRef(function PaginationEllipsis({ className, children, ...props }, ref) {
36
+ return /* @__PURE__ */ jsx(Pagination.Ellipsis, {
37
+ ref,
38
+ "data-slot": "pagination-ellipsis",
39
+ className: clsx(Pagination_module_default.ellipsis, normalizeClassName(className)),
40
+ ...props,
41
+ children: children ?? "..."
42
+ });
43
+ });
44
+ function EdgeIcon({ side }) {
45
+ const Icon = side === "left" ? ChevronLeftIcon : ChevronRightIcon;
46
+ return /* @__PURE__ */ jsxs("span", {
47
+ className: Pagination_module_default.edgeIcon,
48
+ "aria-hidden": true,
49
+ children: [/* @__PURE__ */ jsx(Icon, {}), /* @__PURE__ */ jsx(Icon, {})]
50
+ });
51
+ }
52
+ const PaginationPrevTrigger = forwardRef(function PaginationPrevTrigger({ className, children, ...props }, ref) {
53
+ return /* @__PURE__ */ jsx(Pagination.PrevTrigger, {
54
+ ref,
55
+ "data-slot": "pagination-prev-trigger",
56
+ className: clsx(Pagination_module_default.trigger, children == null && Pagination_module_default.iconTrigger, normalizeClassName(className)),
57
+ ...props,
58
+ children: children ?? /* @__PURE__ */ jsx(ChevronLeftIcon, {})
59
+ });
60
+ });
61
+ const PaginationNextTrigger = forwardRef(function PaginationNextTrigger({ className, children, ...props }, ref) {
62
+ return /* @__PURE__ */ jsx(Pagination.NextTrigger, {
63
+ ref,
64
+ "data-slot": "pagination-next-trigger",
65
+ className: clsx(Pagination_module_default.trigger, children == null && Pagination_module_default.iconTrigger, normalizeClassName(className)),
66
+ ...props,
67
+ children: children ?? /* @__PURE__ */ jsx(ChevronRightIcon, {})
68
+ });
69
+ });
70
+ const PaginationFirstTrigger = forwardRef(function PaginationFirstTrigger({ className, children, ...props }, ref) {
71
+ return /* @__PURE__ */ jsx(Pagination.FirstTrigger, {
72
+ ref,
73
+ "data-slot": "pagination-first-trigger",
74
+ className: clsx(Pagination_module_default.trigger, children == null && Pagination_module_default.iconTrigger, normalizeClassName(className)),
75
+ ...props,
76
+ children: children ?? /* @__PURE__ */ jsx(EdgeIcon, { side: "left" })
77
+ });
78
+ });
79
+ const PaginationLastTrigger = forwardRef(function PaginationLastTrigger({ className, children, ...props }, ref) {
80
+ return /* @__PURE__ */ jsx(Pagination.LastTrigger, {
81
+ ref,
82
+ "data-slot": "pagination-last-trigger",
83
+ className: clsx(Pagination_module_default.trigger, children == null && Pagination_module_default.iconTrigger, normalizeClassName(className)),
84
+ ...props,
85
+ children: children ?? /* @__PURE__ */ jsx(EdgeIcon, { side: "right" })
86
+ });
87
+ });
88
+ const PaginationContext = Pagination.Context;
89
+ const Pagination$1 = Object.assign(PaginationRoot, {
90
+ Root: PaginationRoot,
91
+ RootProvider: PaginationRootProvider,
92
+ Item: PaginationItem,
93
+ Ellipsis: PaginationEllipsis,
94
+ PrevTrigger: PaginationPrevTrigger,
95
+ NextTrigger: PaginationNextTrigger,
96
+ FirstTrigger: PaginationFirstTrigger,
97
+ LastTrigger: PaginationLastTrigger,
98
+ Context: PaginationContext
99
+ });
100
+ //#endregion
101
+ export { Pagination$1 as Pagination };
@@ -0,0 +1,12 @@
1
+ import './Pagination.css';
2
+ //#region src/components/pagination/Pagination.module.css
3
+ var Pagination_module_default = {
4
+ "edgeIcon": "_9uLVTW_edgeIcon",
5
+ "ellipsis": "_9uLVTW_ellipsis",
6
+ "iconTrigger": "_9uLVTW_iconTrigger",
7
+ "item": "_9uLVTW_item",
8
+ "root": "_9uLVTW_root",
9
+ "trigger": "_9uLVTW_trigger"
10
+ };
11
+ //#endregion
12
+ export { Pagination_module_default as default };
@@ -0,0 +1,2 @@
1
+ import { Pagination } from "./Pagination.js";
2
+ export { Pagination };
@@ -0,0 +1,155 @@
1
+ @layer ui.components {
2
+ .Tb1TUq_root {
3
+ box-sizing: border-box;
4
+ gap: var(--password-input-gap, var(--field-gap, var(--spacing-1)));
5
+ width: var(--password-input-width, 100%);
6
+ max-width: var(--password-input-max-width, 20rem);
7
+ color: var(--password-input-color, var(--input-color, var(--color-foreground)));
8
+ flex-direction: column;
9
+ display: flex;
10
+
11
+ &[data-disabled] {
12
+ opacity: var(--password-input-disabled-opacity, var(--field-disabled-opacity, var(--input-disabled-opacity, var(--opacity-disabled))));
13
+ }
14
+ }
15
+
16
+ .Tb1TUq_label {
17
+ align-items: center;
18
+ gap: var(--password-input-label-gap, var(--field-label-gap, var(--spacing-1)));
19
+ color: var(--password-input-label-color, var(--field-label-color, var(--color-foreground)));
20
+ font-size: var(--password-input-label-font-size, var(--field-label-font-size, var(--text-sm)));
21
+ font-weight: var(--password-input-label-font-weight, var(--field-label-font-weight, var(--weight-medium)));
22
+ line-height: var(--password-input-label-line-height, var(--field-label-line-height, var(--line-height-text-sm)));
23
+ display: inline-flex;
24
+
25
+ &[data-disabled] {
26
+ opacity: var(--password-input-disabled-opacity, var(--field-disabled-opacity, var(--input-disabled-opacity, var(--opacity-disabled))));
27
+ }
28
+ }
29
+
30
+ .Tb1TUq_control {
31
+ box-sizing: border-box;
32
+ width: 100%;
33
+ min-height: var(--password-input-height, var(--input-height, var(--input-height-md, var(--size-lg))));
34
+ border: var(--input-border-width, var(--border-width-sm)) var(--input-border-style, solid)
35
+ var(--password-input-border-color, var(--input-border-color, var(--color-border)));
36
+ border-radius: var(--password-input-radius, var(--input-radius, var(--radius-md)));
37
+ background-color: var(--password-input-bg, var(--input-bg, var(--color-background)));
38
+ color: var(--password-input-color, var(--input-color, var(--color-foreground)));
39
+ outline: var(--input-focus-ring-width, var(--input-border-width, var(--border-width-sm))) solid
40
+ transparent;
41
+ outline-offset: var(--input-focus-ring-offset, calc(0px - var(--input-border-width, var(--border-width-sm))));
42
+ transition: border-color var(--input-transition, var(--transition-default)),
43
+ outline-color var(--input-transition, var(--transition-default)),
44
+ opacity var(--input-transition, var(--transition-default));
45
+ align-items: center;
46
+ padding-inline-end: var(--password-input-trigger-inset, var(--spacing-2));
47
+ display: flex;
48
+
49
+ &:focus-within {
50
+ outline-color: var(--password-input-focus-ring-color, var(--input-focus-ring-color, var(--color-ring)));
51
+ }
52
+
53
+ &[data-invalid] {
54
+ border-color: var(--password-input-invalid-border-color, var(--input-border-color-invalid, var(--color-destructive)));
55
+
56
+ &:focus-within {
57
+ outline-color: var(--password-input-invalid-focus-ring-color, var(--input-border-color-invalid, var(--color-destructive)));
58
+ }
59
+ }
60
+
61
+ &[data-disabled] {
62
+ opacity: var(--password-input-disabled-opacity, var(--field-disabled-opacity, var(--input-disabled-opacity, var(--opacity-disabled))));
63
+ }
64
+
65
+ &[data-readonly] {
66
+ background-color: var(--password-input-readonly-bg, var(--input-readonly-bg, var(--color-background)));
67
+ color: var(--password-input-readonly-color, var(--input-readonly-color, var(--color-foreground)));
68
+ }
69
+ }
70
+
71
+ .Tb1TUq_input {
72
+ box-sizing: border-box;
73
+ min-width: 0;
74
+ min-height: 0;
75
+ padding: var(--password-input-padding-y, var(--input-padding-y, var(--input-padding-y-md, var(--spacing-2))))
76
+ var(--password-input-padding-x, var(--input-padding-x, var(--input-padding-x-md, var(--spacing-3))));
77
+ color: var(--password-input-color, var(--input-color, var(--color-foreground)));
78
+ font: inherit;
79
+ font-size: var(--password-input-font-size, var(--input-font-size, var(--input-font-size-md, var(--text-md))));
80
+ line-height: var(--password-input-line-height, var(--input-line-height, var(--input-line-height-md, var(--line-height-text-md))));
81
+ transition: opacity var(--input-transition, var(--transition-default));
82
+ background-color: #0000;
83
+ border: 0;
84
+ border-radius: 0;
85
+ outline: 0;
86
+ flex: auto;
87
+ margin: 0;
88
+
89
+ &::placeholder {
90
+ color: var(--password-input-placeholder-color, var(--input-placeholder-color, var(--color-muted-foreground)));
91
+ }
92
+
93
+ &:is([data-disabled], :disabled) {
94
+ pointer-events: none;
95
+ opacity: 1;
96
+ }
97
+
98
+ &:is(:read-only, [data-readonly]) {
99
+ background-color: #0000;
100
+ }
101
+ }
102
+
103
+ .Tb1TUq_visibilityTrigger {
104
+ width: var(--password-input-trigger-size, var(--button-size-sm, var(--size-sm)));
105
+ min-width: var(--password-input-trigger-size, var(--button-size-sm, var(--size-sm)));
106
+ height: var(--password-input-trigger-size, var(--button-size-sm, var(--size-sm)));
107
+ color: var(--password-input-trigger-color, var(--color-muted-foreground));
108
+ background: var(--password-input-trigger-bg, transparent);
109
+ border-radius: var(--password-input-trigger-radius, var(--radius-sm));
110
+ outline: var(--input-focus-ring-width, var(--input-border-width, var(--border-width-sm))) solid
111
+ transparent;
112
+ outline-offset: var(--input-focus-ring-offset, calc(0px - var(--input-border-width, var(--border-width-sm))));
113
+ cursor: pointer;
114
+ transition: color var(--input-transition, var(--transition-default)),
115
+ outline-color var(--input-transition, var(--transition-default)),
116
+ opacity var(--input-transition, var(--transition-default));
117
+ border: 0;
118
+ flex-shrink: 0;
119
+ justify-content: center;
120
+ align-items: center;
121
+ padding: 0;
122
+ display: inline-flex;
123
+
124
+ &:hover {
125
+ color: var(--password-input-trigger-hover-color, var(--color-foreground));
126
+ }
127
+
128
+ &:focus-visible {
129
+ outline-color: var(--password-input-focus-ring-color, var(--input-focus-ring-color, var(--color-ring)));
130
+ }
131
+
132
+ &:is([data-disabled], :disabled) {
133
+ opacity: 1;
134
+ }
135
+ }
136
+
137
+ .Tb1TUq_indicator {
138
+ padding: var(--password-input-trigger-visual-padding, var(--spacing-1));
139
+ border-radius: var(--password-input-trigger-radius, var(--radius-sm));
140
+ transition: background-color var(--input-transition, var(--transition-default)),
141
+ color var(--input-transition, var(--transition-default));
142
+ justify-content: center;
143
+ align-items: center;
144
+ display: inline-flex;
145
+
146
+ & svg {
147
+ width: var(--password-input-icon-size, var(--button-icon-size, 1rem));
148
+ height: var(--password-input-icon-size, var(--button-icon-size, 1rem));
149
+ }
150
+ }
151
+
152
+ .Tb1TUq_visibilityTrigger:hover .Tb1TUq_indicator, .Tb1TUq_visibilityTrigger:focus-visible .Tb1TUq_indicator {
153
+ background: var(--password-input-trigger-hover-bg, var(--color-muted));
154
+ }
155
+ }
@@ -0,0 +1,14 @@
1
+ import { PasswordInput, usePasswordInput } from "@ark-ui/react/password-input";
2
+
3
+ //#region src/components/password-input/PasswordInput.d.ts
4
+ declare const PasswordInput$1: import("react").ForwardRefExoticComponent<Omit<PasswordInput.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
5
+ Root: import("react").ForwardRefExoticComponent<Omit<PasswordInput.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<PasswordInput.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ Label: import("react").ForwardRefExoticComponent<Omit<PasswordInput.LabelProps & import("react").RefAttributes<HTMLLabelElement>, "ref"> & import("react").RefAttributes<HTMLLabelElement>>;
8
+ Control: import("react").ForwardRefExoticComponent<Omit<PasswordInput.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ Input: import("react").ForwardRefExoticComponent<Omit<PasswordInput.InputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
10
+ VisibilityTrigger: import("react").ForwardRefExoticComponent<Omit<PasswordInput.VisibilityTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ Indicator: import("react").ForwardRefExoticComponent<Omit<PasswordInput.IndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
12
+ };
13
+ //#endregion
14
+ export { PasswordInput$1 as PasswordInput, usePasswordInput };
@@ -0,0 +1,77 @@
1
+ import { EyeClosedIcon, EyeIcon } from "../../lib/moduix/icons/ui/Icons.js";
2
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
3
+ import PasswordInput_module_default from "./PasswordInput.module.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ import { PasswordInput, usePasswordInput } from "@ark-ui/react/password-input";
8
+ //#region src/components/password-input/PasswordInput.tsx
9
+ const PasswordInputRoot = forwardRef(function PasswordInputRoot({ className, ...props }, ref) {
10
+ return /* @__PURE__ */ jsx(PasswordInput.Root, {
11
+ ref,
12
+ "data-slot": "password-input-root",
13
+ className: clsx(PasswordInput_module_default.root, normalizeClassName(className)),
14
+ ...props
15
+ });
16
+ });
17
+ const PasswordInputRootProvider = forwardRef(function PasswordInputRootProvider({ className, ...props }, ref) {
18
+ return /* @__PURE__ */ jsx(PasswordInput.RootProvider, {
19
+ ref,
20
+ "data-slot": "password-input-root-provider",
21
+ className: clsx(PasswordInput_module_default.root, normalizeClassName(className)),
22
+ ...props
23
+ });
24
+ });
25
+ const PasswordInputLabel = forwardRef(function PasswordInputLabel({ className, ...props }, ref) {
26
+ return /* @__PURE__ */ jsx(PasswordInput.Label, {
27
+ ref,
28
+ "data-slot": "password-input-label",
29
+ className: clsx(PasswordInput_module_default.label, normalizeClassName(className)),
30
+ ...props
31
+ });
32
+ });
33
+ const PasswordInputControl = forwardRef(function PasswordInputControl({ className, ...props }, ref) {
34
+ return /* @__PURE__ */ jsx(PasswordInput.Control, {
35
+ ref,
36
+ "data-slot": "password-input-control",
37
+ className: clsx(PasswordInput_module_default.control, normalizeClassName(className)),
38
+ ...props
39
+ });
40
+ });
41
+ const PasswordInputInput = forwardRef(function PasswordInputInput({ className, ...props }, ref) {
42
+ return /* @__PURE__ */ jsx(PasswordInput.Input, {
43
+ ref,
44
+ "data-slot": "password-input-input",
45
+ className: clsx(PasswordInput_module_default.input, normalizeClassName(className)),
46
+ ...props
47
+ });
48
+ });
49
+ const PasswordInputVisibilityTrigger = forwardRef(function PasswordInputVisibilityTrigger({ className, ...props }, ref) {
50
+ return /* @__PURE__ */ jsx(PasswordInput.VisibilityTrigger, {
51
+ ref,
52
+ "data-slot": "password-input-visibility-trigger",
53
+ className: clsx(PasswordInput_module_default.visibilityTrigger, normalizeClassName(className)),
54
+ ...props
55
+ });
56
+ });
57
+ const PasswordInputIndicator = forwardRef(function PasswordInputIndicator({ className, children, fallback, ...props }, ref) {
58
+ return /* @__PURE__ */ jsx(PasswordInput.Indicator, {
59
+ ref,
60
+ "data-slot": "password-input-indicator",
61
+ className: clsx(PasswordInput_module_default.indicator, normalizeClassName(className)),
62
+ fallback: fallback ?? /* @__PURE__ */ jsx(EyeClosedIcon, {}),
63
+ ...props,
64
+ children: children ?? /* @__PURE__ */ jsx(EyeIcon, {})
65
+ });
66
+ });
67
+ const PasswordInput$1 = Object.assign(PasswordInputRoot, {
68
+ Root: PasswordInputRoot,
69
+ RootProvider: PasswordInputRootProvider,
70
+ Label: PasswordInputLabel,
71
+ Control: PasswordInputControl,
72
+ Input: PasswordInputInput,
73
+ VisibilityTrigger: PasswordInputVisibilityTrigger,
74
+ Indicator: PasswordInputIndicator
75
+ });
76
+ //#endregion
77
+ export { PasswordInput$1 as PasswordInput, usePasswordInput };
@@ -0,0 +1,12 @@
1
+ import './PasswordInput.css';
2
+ //#region src/components/password-input/PasswordInput.module.css
3
+ var PasswordInput_module_default = {
4
+ "control": "Tb1TUq_control",
5
+ "indicator": "Tb1TUq_indicator",
6
+ "input": "Tb1TUq_input",
7
+ "label": "Tb1TUq_label",
8
+ "root": "Tb1TUq_root",
9
+ "visibilityTrigger": "Tb1TUq_visibilityTrigger"
10
+ };
11
+ //#endregion
12
+ export { PasswordInput_module_default as default };
@@ -0,0 +1,2 @@
1
+ import { PasswordInput, usePasswordInput } from "./PasswordInput.js";
2
+ export { PasswordInput, usePasswordInput };