@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,28 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Button_module_default from "./Button.module.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { ark } from "@ark-ui/react/factory";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ //#region src/components/button/Button.tsx
8
+ const ButtonRoot = forwardRef(function ButtonRoot({ asChild, className, disabled, size = "md", type, "data-slot": dataSlot, variant = "default", "aria-disabled": ariaDisabled, ...props }, ref) {
9
+ const isDisabled = disabled || ariaDisabled === true || ariaDisabled === "true";
10
+ return /* @__PURE__ */ jsx(ark.button, {
11
+ ref,
12
+ asChild,
13
+ type: asChild ? type : type ?? "button",
14
+ disabled,
15
+ "aria-disabled": ariaDisabled,
16
+ ...props,
17
+ "data-scope": "button",
18
+ "data-part": "root",
19
+ "data-slot": dataSlot ?? "button-root",
20
+ "data-variant": variant,
21
+ "data-size": size,
22
+ "data-disabled": isDisabled ? "" : void 0,
23
+ className: clsx(Button_module_default.root, normalizeClassName(className))
24
+ });
25
+ });
26
+ const Button = Object.assign(ButtonRoot, { Root: ButtonRoot });
27
+ //#endregion
28
+ export { Button };
@@ -0,0 +1,5 @@
1
+ import './Button.css';
2
+ //#region src/components/button/Button.module.css
3
+ var Button_module_default = { "root": "ypNn3a_root" };
4
+ //#endregion
5
+ export { Button_module_default as default };
@@ -0,0 +1,148 @@
1
+ @layer ui.components {
2
+ .E2gSWq_root {
3
+ --card-padding-default: var(--card-padding, var(--spacing-6));
4
+ --card-title-font-size-default: var(--card-title-font-size, var(--text-lg));
5
+ --card-title-line-height-default: var(--card-title-line-height, var(--line-height-text-lg));
6
+ box-sizing: border-box;
7
+ border: var(--card-border-width, var(--card-border-width-default, var(--border-width-sm))) solid
8
+ var(--card-border-color, var(--color-border));
9
+ border-radius: var(--card-radius, var(--radius-lg));
10
+ background-color: var(--card-bg, var(--card-bg-default, var(--color-card)));
11
+ width: 100%;
12
+ min-width: 0;
13
+ color: var(--card-color, var(--color-card-foreground));
14
+ box-shadow: var(--card-shadow, var(--card-shadow-default, none));
15
+ flex-direction: column;
16
+ display: flex;
17
+ position: relative;
18
+
19
+ &:where(a) {
20
+ text-decoration: none;
21
+ }
22
+
23
+ &[data-size="sm"] {
24
+ --card-padding-default: var(--card-padding-sm, var(--spacing-4));
25
+ --card-title-font-size-default: var(--card-title-font-size-sm, var(--text-md));
26
+ --card-title-line-height-default: var(--card-title-line-height-sm, var(--line-height-text-md));
27
+ }
28
+
29
+ &[data-size="lg"] {
30
+ --card-padding-default: var(--card-padding-lg, var(--spacing-8));
31
+ --card-title-font-size-default: var(--card-title-font-size-lg, var(--text-xl));
32
+ --card-title-line-height-default: var(--card-title-line-height-lg, var(--line-height-text-xl));
33
+ }
34
+
35
+ &[data-variant="elevated"] {
36
+ --card-border-width-default: 0;
37
+ --card-shadow-default: var(--shadow-md);
38
+ }
39
+
40
+ &[data-variant="subtle"] {
41
+ --card-border-width-default: 0;
42
+ --card-bg-default: var(--color-muted);
43
+ }
44
+
45
+ &:has([data-scope="card"][data-part="link"]) :where(a, button, input, select, textarea, [role="button"], [role="checkbox"], [role="menuitem"], [role="switch"], [tabindex]:not([tabindex="-1"])):not([data-scope="card"][data-part="link"]) {
46
+ z-index: 1;
47
+ position: relative;
48
+ }
49
+ }
50
+
51
+ .E2gSWq_header, .E2gSWq_body, .E2gSWq_footer {
52
+ box-sizing: border-box;
53
+ min-width: 0;
54
+ padding-inline: var(--card-padding-default);
55
+ }
56
+
57
+ .E2gSWq_header {
58
+ column-gap: var(--card-action-gap, var(--spacing-2));
59
+ row-gap: var(--card-header-gap, var(--spacing-1));
60
+ padding-block: var(--card-padding-default) 0;
61
+ grid-template-columns: minmax(0, 1fr) auto;
62
+ display: grid;
63
+ }
64
+
65
+ .E2gSWq_body {
66
+ padding-block: var(--card-body-padding-top, var(--spacing-4)) var(--card-padding-default);
67
+ color: var(--card-body-color, var(--color-muted-foreground));
68
+ font-size: var(--card-body-font-size, var(--text-sm));
69
+ line-height: var(--card-body-line-height, var(--line-height-text-sm));
70
+ overflow-wrap: anywhere;
71
+
72
+ &:first-child {
73
+ padding-block-start: var(--card-padding-default);
74
+ }
75
+
76
+ & > :first-child {
77
+ margin-top: 0;
78
+ }
79
+
80
+ & > :last-child {
81
+ margin-bottom: 0;
82
+ }
83
+ }
84
+
85
+ .E2gSWq_footer {
86
+ align-items: center;
87
+ gap: var(--card-footer-gap, var(--spacing-2));
88
+ padding-block: 0 var(--card-padding-default);
89
+ flex-wrap: wrap;
90
+ display: flex;
91
+ }
92
+
93
+ .E2gSWq_title {
94
+ min-width: 0;
95
+ color: var(--card-title-color, currentColor);
96
+ font-size: var(--card-title-font-size-default);
97
+ font-weight: var(--card-title-font-weight, var(--weight-semibold));
98
+ line-height: var(--card-title-line-height-default);
99
+ overflow-wrap: anywhere;
100
+ grid-column: 1;
101
+ margin: 0;
102
+ }
103
+
104
+ .E2gSWq_description {
105
+ min-width: 0;
106
+ color: var(--card-description-color, var(--color-muted-foreground));
107
+ font-size: var(--card-description-font-size, var(--text-sm));
108
+ line-height: var(--card-description-line-height, var(--line-height-text-sm));
109
+ overflow-wrap: anywhere;
110
+ grid-column: 1;
111
+ margin: 0;
112
+ }
113
+
114
+ .E2gSWq_action {
115
+ z-index: 1;
116
+ justify-content: flex-end;
117
+ align-items: start;
118
+ gap: var(--card-action-gap, var(--spacing-2));
119
+ grid-area: 1 / 2 / span 2;
120
+ justify-self: end;
121
+ display: inline-flex;
122
+ position: relative;
123
+ }
124
+
125
+ .E2gSWq_link {
126
+ color: inherit;
127
+ text-decoration: none;
128
+ position: static;
129
+
130
+ &:after {
131
+ content: "";
132
+ z-index: 0;
133
+ border-radius: var(--card-radius, var(--radius-lg));
134
+ position: absolute;
135
+ inset: 0;
136
+ }
137
+
138
+ &:focus-visible {
139
+ outline: 0;
140
+ }
141
+
142
+ &:focus-visible:after {
143
+ outline: var(--card-focus-ring-width, var(--border-width-md)) solid
144
+ var(--card-focus-ring-color, var(--color-ring));
145
+ outline-offset: var(--card-focus-ring-offset, var(--border-width-sm));
146
+ }
147
+ }
148
+ }
@@ -0,0 +1,19 @@
1
+ //#region src/components/card/Card.d.ts
2
+ declare const Card: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
3
+ size?: "sm" | "md" | "lg";
4
+ variant?: "elevated" | "outline" | "subtle";
5
+ } & import("react").RefAttributes<HTMLDivElement>> & {
6
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
7
+ size?: "sm" | "md" | "lg";
8
+ variant?: "elevated" | "outline" | "subtle";
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
10
+ Header: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ Body: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ Footer: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ Title: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLHeadingElement>>;
14
+ Description: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLParagraphElement>>;
15
+ Action: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLDivElement>>;
16
+ Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLAnchorElement>>;
17
+ };
18
+ //#endregion
19
+ export { Card };
@@ -0,0 +1,101 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Card_module_default from "./Card.module.js";
3
+ import { jsx } from "react/jsx-runtime";
4
+ import { ark } from "@ark-ui/react/factory";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ //#region src/components/card/Card.tsx
8
+ const CardRoot = forwardRef(function CardRoot({ className, size = "md", variant = "outline", ...props }, ref) {
9
+ return /* @__PURE__ */ jsx(ark.div, {
10
+ ref,
11
+ "data-scope": "card",
12
+ "data-part": "root",
13
+ "data-slot": "card-root",
14
+ "data-size": size,
15
+ "data-variant": variant,
16
+ className: clsx(Card_module_default.root, normalizeClassName(className)),
17
+ ...props
18
+ });
19
+ });
20
+ const CardHeader = forwardRef(function CardHeader({ className, ...props }, ref) {
21
+ return /* @__PURE__ */ jsx(ark.div, {
22
+ ref,
23
+ "data-scope": "card",
24
+ "data-part": "header",
25
+ "data-slot": "card-header",
26
+ className: clsx(Card_module_default.header, normalizeClassName(className)),
27
+ ...props
28
+ });
29
+ });
30
+ const CardBody = forwardRef(function CardBody({ className, ...props }, ref) {
31
+ return /* @__PURE__ */ jsx(ark.div, {
32
+ ref,
33
+ "data-scope": "card",
34
+ "data-part": "body",
35
+ "data-slot": "card-body",
36
+ className: clsx(Card_module_default.body, normalizeClassName(className)),
37
+ ...props
38
+ });
39
+ });
40
+ const CardFooter = forwardRef(function CardFooter({ className, ...props }, ref) {
41
+ return /* @__PURE__ */ jsx(ark.div, {
42
+ ref,
43
+ "data-scope": "card",
44
+ "data-part": "footer",
45
+ "data-slot": "card-footer",
46
+ className: clsx(Card_module_default.footer, normalizeClassName(className)),
47
+ ...props
48
+ });
49
+ });
50
+ const CardTitle = forwardRef(function CardTitle({ className, ...props }, ref) {
51
+ return /* @__PURE__ */ jsx(ark.h3, {
52
+ ref,
53
+ "data-scope": "card",
54
+ "data-part": "title",
55
+ "data-slot": "card-title",
56
+ className: clsx(Card_module_default.title, normalizeClassName(className)),
57
+ ...props
58
+ });
59
+ });
60
+ const CardDescription = forwardRef(function CardDescription({ className, ...props }, ref) {
61
+ return /* @__PURE__ */ jsx(ark.p, {
62
+ ref,
63
+ "data-scope": "card",
64
+ "data-part": "description",
65
+ "data-slot": "card-description",
66
+ className: clsx(Card_module_default.description, normalizeClassName(className)),
67
+ ...props
68
+ });
69
+ });
70
+ const CardAction = forwardRef(function CardAction({ className, ...props }, ref) {
71
+ return /* @__PURE__ */ jsx(ark.div, {
72
+ ref,
73
+ "data-scope": "card",
74
+ "data-part": "action",
75
+ "data-slot": "card-action",
76
+ className: clsx(Card_module_default.action, normalizeClassName(className)),
77
+ ...props
78
+ });
79
+ });
80
+ const CardLink = forwardRef(function CardLink({ className, ...props }, ref) {
81
+ return /* @__PURE__ */ jsx(ark.a, {
82
+ ref,
83
+ "data-scope": "card",
84
+ "data-part": "link",
85
+ "data-slot": "card-link",
86
+ className: clsx(Card_module_default.link, normalizeClassName(className)),
87
+ ...props
88
+ });
89
+ });
90
+ const Card = Object.assign(CardRoot, {
91
+ Root: CardRoot,
92
+ Header: CardHeader,
93
+ Body: CardBody,
94
+ Footer: CardFooter,
95
+ Title: CardTitle,
96
+ Description: CardDescription,
97
+ Action: CardAction,
98
+ Link: CardLink
99
+ });
100
+ //#endregion
101
+ export { Card };
@@ -0,0 +1,14 @@
1
+ import './Card.css';
2
+ //#region src/components/card/Card.module.css
3
+ var Card_module_default = {
4
+ "action": "E2gSWq_action",
5
+ "body": "E2gSWq_body",
6
+ "description": "E2gSWq_description",
7
+ "footer": "E2gSWq_footer",
8
+ "header": "E2gSWq_header",
9
+ "link": "E2gSWq_link",
10
+ "root": "E2gSWq_root",
11
+ "title": "E2gSWq_title"
12
+ };
13
+ //#endregion
14
+ export { Card_module_default as default };
@@ -0,0 +1,198 @@
1
+ @layer ui.components {
2
+ .m9QXca_root {
3
+ gap: var(--carousel-gap, var(--spacing-3));
4
+ flex-direction: column;
5
+ width: 100%;
6
+ min-width: 0;
7
+ display: flex;
8
+ }
9
+
10
+ .m9QXca_root[data-orientation="vertical"] {
11
+ height: var(--carousel-height, 24rem);
12
+ flex-direction: row;
13
+ align-items: stretch;
14
+ }
15
+
16
+ .m9QXca_control {
17
+ align-items: center;
18
+ gap: var(--carousel-gap, var(--spacing-3));
19
+ min-width: 0;
20
+ display: flex;
21
+ }
22
+
23
+ .m9QXca_control[data-orientation="vertical"] {
24
+ flex-direction: column;
25
+ justify-content: space-between;
26
+ }
27
+
28
+ .m9QXca_itemGroup {
29
+ overscroll-behavior-x: contain;
30
+ overscroll-behavior-y: auto;
31
+ border-radius: var(--carousel-track-radius, var(--radius-xl));
32
+ scrollbar-width: none;
33
+ scroll-behavior: smooth;
34
+ flex: auto;
35
+ min-width: 0;
36
+ min-height: 0;
37
+ display: flex;
38
+
39
+ &::-webkit-scrollbar {
40
+ display: none;
41
+ }
42
+
43
+ &[data-dragging] {
44
+ cursor: grabbing;
45
+ user-select: none;
46
+ }
47
+ }
48
+
49
+ .m9QXca_root[data-orientation="vertical"] > .m9QXca_itemGroup {
50
+ height: 100%;
51
+ }
52
+
53
+ .m9QXca_item {
54
+ box-sizing: border-box;
55
+ min-width: 0;
56
+ min-height: 0;
57
+ }
58
+
59
+ .m9QXca_prevTrigger, .m9QXca_nextTrigger, .m9QXca_autoplayTrigger {
60
+ width: var(--carousel-control-size, 2.5rem);
61
+ height: var(--carousel-control-size, 2.5rem);
62
+ border: var(--border-width-sm) solid
63
+ var(--carousel-control-border-color, color-mix(in oklab, var(--color-border) 88%, black 12%));
64
+ border-radius: var(--radius-full);
65
+ background-color: var(--carousel-control-bg, color-mix(in oklab, var(--color-background) 92%, var(--color-card) 8%));
66
+ box-shadow: var(--carousel-control-shadow, var(--shadow-sm));
67
+ color: var(--carousel-control-color, var(--color-foreground));
68
+ cursor: pointer;
69
+ transition: background-color var(--transition-fast),
70
+ border-color var(--transition-fast),
71
+ color var(--transition-fast),
72
+ box-shadow var(--transition-fast),
73
+ transform var(--transition-fast);
74
+ flex: none;
75
+ justify-content: center;
76
+ align-items: center;
77
+ display: inline-flex;
78
+
79
+ & svg {
80
+ width: 1rem;
81
+ height: 1rem;
82
+ }
83
+
84
+ &:not(:disabled, [data-disabled]):hover {
85
+ border-color: var(--carousel-control-border-color-hover, color-mix(in oklab, var(--color-border) 50%, var(--color-foreground) 50%));
86
+ background-color: var(--carousel-control-bg-hover, var(--color-accent));
87
+ box-shadow: var(--carousel-control-shadow-hover, var(--shadow-md));
88
+ color: var(--carousel-control-color-hover, var(--color-accent-foreground));
89
+ }
90
+
91
+ &:focus-visible {
92
+ outline: var(--carousel-focus-ring-width, var(--border-width-md)) solid
93
+ var(--carousel-focus-ring-color, var(--color-ring));
94
+ outline-offset: var(--carousel-focus-ring-offset, 2px);
95
+ }
96
+
97
+ &:is(:disabled, [data-disabled]) {
98
+ cursor: not-allowed;
99
+ opacity: var(--opacity-disabled);
100
+ }
101
+
102
+ &[data-pressed] {
103
+ border-color: var(--carousel-control-border-color-hover, color-mix(in oklab, var(--color-border) 50%, var(--color-foreground) 50%));
104
+ background-color: var(--carousel-control-bg-hover, var(--color-accent));
105
+ color: var(--carousel-control-color-hover, var(--color-accent-foreground));
106
+ }
107
+ }
108
+
109
+ .m9QXca_defaultIcon {
110
+ justify-content: center;
111
+ align-items: center;
112
+ display: inline-flex;
113
+ }
114
+
115
+ .m9QXca_root[data-orientation="vertical"] {
116
+ & .m9QXca_defaultIcon {
117
+ & svg {
118
+ transform: rotate(90deg);
119
+ }
120
+ }
121
+ }
122
+
123
+ .m9QXca_indicatorGroup {
124
+ justify-content: center;
125
+ align-items: center;
126
+ gap: var(--carousel-indicator-gap, var(--spacing-2));
127
+ display: flex;
128
+ }
129
+
130
+ .m9QXca_root[data-orientation="vertical"] > .m9QXca_indicatorGroup, .m9QXca_control[data-orientation="vertical"] > .m9QXca_indicatorGroup {
131
+ flex-direction: column;
132
+ }
133
+
134
+ .m9QXca_indicator {
135
+ width: var(--carousel-indicator-size, .5rem);
136
+ height: var(--carousel-indicator-size, .5rem);
137
+ border-radius: var(--radius-full);
138
+ background-color: var(--carousel-indicator-bg, color-mix(in oklab, var(--color-muted) 84%, var(--color-background) 16%));
139
+ cursor: pointer;
140
+ opacity: .88;
141
+ transition: inline-size var(--transition-fast),
142
+ block-size var(--transition-fast),
143
+ background-color var(--transition-fast),
144
+ opacity var(--transition-fast);
145
+ border: 0;
146
+ padding: 0;
147
+
148
+ &:hover {
149
+ background-color: var(--carousel-indicator-bg-hover, color-mix(in oklab, var(--color-muted) 56%, var(--color-foreground) 44%));
150
+ }
151
+
152
+ &:focus-visible {
153
+ outline: var(--carousel-focus-ring-width, var(--border-width-md)) solid
154
+ var(--carousel-focus-ring-color, var(--color-ring));
155
+ outline-offset: var(--carousel-focus-ring-offset, 2px);
156
+ }
157
+
158
+ &[data-current] {
159
+ width: calc(var(--carousel-indicator-size, .5rem) * 3);
160
+ background-color: var(--carousel-indicator-bg-current, var(--color-primary));
161
+ opacity: 1;
162
+ }
163
+
164
+ &:is(:disabled, [data-disabled], [data-readonly]) {
165
+ cursor: not-allowed;
166
+ opacity: var(--opacity-disabled);
167
+ }
168
+ }
169
+
170
+ .m9QXca_root[data-orientation="vertical"] > .m9QXca_indicatorGroup .m9QXca_indicator, .m9QXca_control[data-orientation="vertical"] > .m9QXca_indicatorGroup .m9QXca_indicator {
171
+ &[data-current] {
172
+ width: var(--carousel-indicator-size, .5rem);
173
+ height: calc(var(--carousel-indicator-size, .5rem) * 3);
174
+ }
175
+ }
176
+
177
+ .m9QXca_autoplayTrigger {
178
+ min-width: 3rem;
179
+ }
180
+
181
+ .m9QXca_autoplayIndicator {
182
+ min-width: 1rem;
183
+ font-size: var(--text-xs);
184
+ font-weight: var(--weight-medium);
185
+ line-height: var(--line-height-text-xs);
186
+ text-transform: uppercase;
187
+ justify-content: center;
188
+ align-items: center;
189
+ display: inline-flex;
190
+ }
191
+
192
+ .m9QXca_progressText {
193
+ color: var(--carousel-progress-text-color, var(--color-muted-foreground));
194
+ font-size: var(--carousel-progress-text-font-size, var(--text-sm));
195
+ line-height: var(--line-height-text-sm);
196
+ font-variant-numeric: tabular-nums;
197
+ }
198
+ }
@@ -0,0 +1,19 @@
1
+ import { Carousel } from "@ark-ui/react/carousel";
2
+
3
+ //#region src/components/carousel/Carousel.d.ts
4
+ declare const Carousel$1: import("react").ForwardRefExoticComponent<Omit<Carousel.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
5
+ Root: import("react").ForwardRefExoticComponent<Omit<Carousel.RootProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<Carousel.RootProviderProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ Control: import("react").ForwardRefExoticComponent<Omit<Carousel.ControlProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
8
+ ItemGroup: import("react").ForwardRefExoticComponent<Omit<Carousel.ItemGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
9
+ Item: import("react").ForwardRefExoticComponent<Omit<Carousel.ItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
10
+ PrevTrigger: import("react").ForwardRefExoticComponent<Omit<Carousel.PrevTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
11
+ NextTrigger: import("react").ForwardRefExoticComponent<Omit<Carousel.NextTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
12
+ IndicatorGroup: import("react").ForwardRefExoticComponent<Omit<Carousel.IndicatorGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
13
+ Indicator: import("react").ForwardRefExoticComponent<Omit<Carousel.IndicatorProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
14
+ AutoplayTrigger: import("react").ForwardRefExoticComponent<Omit<Carousel.AutoplayTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
15
+ AutoplayIndicator: import("react").ForwardRefExoticComponent<Omit<Carousel.AutoplayIndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
16
+ ProgressText: import("react").ForwardRefExoticComponent<Omit<Carousel.ProgressTextProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
17
+ };
18
+ //#endregion
19
+ export { Carousel$1 as Carousel };
@@ -0,0 +1,128 @@
1
+ import { ChevronLeftIcon, ChevronRightIcon } from "../../lib/moduix/icons/ui/Icons.js";
2
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
3
+ import Carousel_module_default from "./Carousel.module.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
+ import { forwardRef } from "react";
7
+ import { Carousel } from "@ark-ui/react/carousel";
8
+ //#region src/components/carousel/Carousel.tsx
9
+ const CarouselRoot = forwardRef(function CarouselRoot({ className, ...props }, ref) {
10
+ return /* @__PURE__ */ jsx(Carousel.Root, {
11
+ ref,
12
+ "data-slot": "carousel-root",
13
+ className: clsx(Carousel_module_default.root, normalizeClassName(className)),
14
+ ...props
15
+ });
16
+ });
17
+ const CarouselRootProvider = forwardRef(function CarouselRootProvider({ className, ...props }, ref) {
18
+ return /* @__PURE__ */ jsx(Carousel.RootProvider, {
19
+ ref,
20
+ "data-slot": "carousel-root-provider",
21
+ className: clsx(Carousel_module_default.root, normalizeClassName(className)),
22
+ ...props
23
+ });
24
+ });
25
+ const CarouselControl = forwardRef(function CarouselControl({ className, ...props }, ref) {
26
+ return /* @__PURE__ */ jsx(Carousel.Control, {
27
+ ref,
28
+ "data-slot": "carousel-control",
29
+ className: clsx(Carousel_module_default.control, normalizeClassName(className)),
30
+ ...props
31
+ });
32
+ });
33
+ const CarouselItemGroup = forwardRef(function CarouselItemGroup({ className, ...props }, ref) {
34
+ return /* @__PURE__ */ jsx(Carousel.ItemGroup, {
35
+ ref,
36
+ "data-slot": "carousel-item-group",
37
+ className: clsx(Carousel_module_default.itemGroup, normalizeClassName(className)),
38
+ ...props
39
+ });
40
+ });
41
+ const CarouselItem = forwardRef(function CarouselItem({ className, ...props }, ref) {
42
+ return /* @__PURE__ */ jsx(Carousel.Item, {
43
+ ref,
44
+ "data-slot": "carousel-item",
45
+ className: clsx(Carousel_module_default.item, normalizeClassName(className)),
46
+ ...props
47
+ });
48
+ });
49
+ const CarouselPrevTrigger = forwardRef(function CarouselPrevTrigger({ className, children, ...props }, ref) {
50
+ return /* @__PURE__ */ jsx(Carousel.PrevTrigger, {
51
+ ref,
52
+ "data-slot": "carousel-prev-trigger",
53
+ className: clsx(Carousel_module_default.prevTrigger, normalizeClassName(className)),
54
+ ...props,
55
+ children: children ?? /* @__PURE__ */ jsx("span", {
56
+ className: Carousel_module_default.defaultIcon,
57
+ children: /* @__PURE__ */ jsx(ChevronLeftIcon, {})
58
+ })
59
+ });
60
+ });
61
+ const CarouselNextTrigger = forwardRef(function CarouselNextTrigger({ className, children, ...props }, ref) {
62
+ return /* @__PURE__ */ jsx(Carousel.NextTrigger, {
63
+ ref,
64
+ "data-slot": "carousel-next-trigger",
65
+ className: clsx(Carousel_module_default.nextTrigger, normalizeClassName(className)),
66
+ ...props,
67
+ children: children ?? /* @__PURE__ */ jsx("span", {
68
+ className: Carousel_module_default.defaultIcon,
69
+ children: /* @__PURE__ */ jsx(ChevronRightIcon, {})
70
+ })
71
+ });
72
+ });
73
+ const CarouselIndicatorGroup = forwardRef(function CarouselIndicatorGroup({ className, ...props }, ref) {
74
+ return /* @__PURE__ */ jsx(Carousel.IndicatorGroup, {
75
+ ref,
76
+ "data-slot": "carousel-indicator-group",
77
+ className: clsx(Carousel_module_default.indicatorGroup, normalizeClassName(className)),
78
+ ...props
79
+ });
80
+ });
81
+ const CarouselIndicator = forwardRef(function CarouselIndicator({ className, ...props }, ref) {
82
+ return /* @__PURE__ */ jsx(Carousel.Indicator, {
83
+ ref,
84
+ "data-slot": "carousel-indicator",
85
+ className: clsx(Carousel_module_default.indicator, normalizeClassName(className)),
86
+ ...props
87
+ });
88
+ });
89
+ const CarouselAutoplayTrigger = forwardRef(function CarouselAutoplayTrigger({ className, ...props }, ref) {
90
+ return /* @__PURE__ */ jsx(Carousel.AutoplayTrigger, {
91
+ ref,
92
+ "data-slot": "carousel-autoplay-trigger",
93
+ className: clsx(Carousel_module_default.autoplayTrigger, normalizeClassName(className)),
94
+ ...props
95
+ });
96
+ });
97
+ const CarouselAutoplayIndicator = forwardRef(function CarouselAutoplayIndicator({ className, ...props }, ref) {
98
+ return /* @__PURE__ */ jsx(Carousel.AutoplayIndicator, {
99
+ ref,
100
+ "data-slot": "carousel-autoplay-indicator",
101
+ className: clsx(Carousel_module_default.autoplayIndicator, normalizeClassName(className)),
102
+ ...props
103
+ });
104
+ });
105
+ const CarouselProgressText = forwardRef(function CarouselProgressText({ className, ...props }, ref) {
106
+ return /* @__PURE__ */ jsx(Carousel.ProgressText, {
107
+ ref,
108
+ "data-slot": "carousel-progress-text",
109
+ className: clsx(Carousel_module_default.progressText, normalizeClassName(className)),
110
+ ...props
111
+ });
112
+ });
113
+ const Carousel$1 = Object.assign(CarouselRoot, {
114
+ Root: CarouselRoot,
115
+ RootProvider: CarouselRootProvider,
116
+ Control: CarouselControl,
117
+ ItemGroup: CarouselItemGroup,
118
+ Item: CarouselItem,
119
+ PrevTrigger: CarouselPrevTrigger,
120
+ NextTrigger: CarouselNextTrigger,
121
+ IndicatorGroup: CarouselIndicatorGroup,
122
+ Indicator: CarouselIndicator,
123
+ AutoplayTrigger: CarouselAutoplayTrigger,
124
+ AutoplayIndicator: CarouselAutoplayIndicator,
125
+ ProgressText: CarouselProgressText
126
+ });
127
+ //#endregion
128
+ export { Carousel$1 as Carousel };