@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,66 @@
1
+ @layer ui.components {
2
+ .aGjOha_root {
3
+ justify-content: center;
4
+ align-items: center;
5
+ gap: var(--badge-gap, .375rem);
6
+ border: var(--badge-border-width, var(--border-width-sm)) solid
7
+ var(--badge-border-color, transparent);
8
+ border-radius: var(--badge-radius, var(--radius-full));
9
+ width: fit-content;
10
+ min-width: 0;
11
+ max-width: 100%;
12
+ padding-block: var(--badge-padding-y, 0);
13
+ padding-inline: var(--badge-padding-x, .625rem);
14
+ background-color: var(--badge-bg, var(--color-primary));
15
+ color: var(--badge-color, var(--color-primary-foreground));
16
+ font-size: var(--badge-font-size, var(--text-xs));
17
+ font-weight: var(--badge-font-weight, var(--weight-medium));
18
+ font-variant-numeric: tabular-nums;
19
+ line-height: var(--badge-line-height, var(--line-height-text-xs));
20
+ min-height: var(--badge-height, 1.25rem);
21
+ user-select: none;
22
+ white-space: nowrap;
23
+ text-overflow: ellipsis;
24
+ vertical-align: middle;
25
+ transition: color var(--transition-default),
26
+ background-color var(--transition-default),
27
+ border-color var(--transition-default);
28
+ text-decoration: none;
29
+ display: inline-flex;
30
+ overflow: hidden;
31
+
32
+ & > svg {
33
+ width: var(--badge-icon-size, .75rem);
34
+ height: var(--badge-icon-size, .75rem);
35
+ pointer-events: none;
36
+ flex-shrink: 0;
37
+ }
38
+
39
+ &[data-variant="secondary"] {
40
+ background-color: var(--badge-bg, var(--color-secondary));
41
+ color: var(--badge-color, var(--color-secondary-foreground));
42
+ }
43
+
44
+ &[data-variant="destructive"] {
45
+ background-color: var(--badge-bg, var(--color-destructive));
46
+ color: var(--badge-color, var(--color-primary-foreground));
47
+ }
48
+
49
+ &[data-variant="outline"], &[data-variant="ghost"] {
50
+ background-color: var(--badge-bg, transparent);
51
+ color: var(--badge-color, var(--color-foreground));
52
+ }
53
+
54
+ &[data-variant="outline"] {
55
+ border-color: var(--badge-border-color, var(--color-border));
56
+ }
57
+ }
58
+
59
+ .aGjOha_dot {
60
+ width: var(--badge-dot-size, .375rem);
61
+ height: var(--badge-dot-size, .375rem);
62
+ background-color: currentColor;
63
+ border-radius: 50%;
64
+ flex-shrink: 0;
65
+ }
66
+ }
@@ -0,0 +1,11 @@
1
+ //#region src/components/badge/Badge.d.ts
2
+ declare const Badge: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
3
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost";
4
+ } & import("react").RefAttributes<HTMLSpanElement>> & {
5
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
6
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost";
7
+ } & import("react").RefAttributes<HTMLSpanElement>>;
8
+ Dot: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
9
+ };
10
+ //#endregion
11
+ export { Badge };
@@ -0,0 +1,35 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Badge_module_default from "./Badge.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/badge/Badge.tsx
8
+ const BadgeRoot = forwardRef(function BadgeRoot({ className, variant = "default", ...props }, ref) {
9
+ return /* @__PURE__ */ jsx(ark.span, {
10
+ ref,
11
+ "data-scope": "badge",
12
+ "data-part": "root",
13
+ "data-slot": "badge-root",
14
+ "data-variant": variant,
15
+ className: clsx(Badge_module_default.root, normalizeClassName(className)),
16
+ ...props
17
+ });
18
+ });
19
+ const BadgeDot = forwardRef(function BadgeDot({ className, ...props }, ref) {
20
+ return /* @__PURE__ */ jsx(ark.span, {
21
+ ref,
22
+ "data-scope": "badge",
23
+ "data-part": "dot",
24
+ "data-slot": "badge-dot",
25
+ "aria-hidden": "true",
26
+ className: clsx(Badge_module_default.dot, normalizeClassName(className)),
27
+ ...props
28
+ });
29
+ });
30
+ const Badge = Object.assign(BadgeRoot, {
31
+ Root: BadgeRoot,
32
+ Dot: BadgeDot
33
+ });
34
+ //#endregion
35
+ export { Badge };
@@ -0,0 +1,8 @@
1
+ import './Badge.css';
2
+ //#region src/components/badge/Badge.module.css
3
+ var Badge_module_default = {
4
+ "dot": "aGjOha_dot",
5
+ "root": "aGjOha_root"
6
+ };
7
+ //#endregion
8
+ export { Badge_module_default as default };
@@ -0,0 +1,51 @@
1
+ @layer ui.components {
2
+ .Nez5aa_root {
3
+ box-sizing: border-box;
4
+ margin: 0;
5
+
6
+ &[data-inline="xs"] {
7
+ margin-inline: calc(var(--bleed-inline-xs, var(--spacing-1)) * -1);
8
+ }
9
+
10
+ &[data-inline="sm"] {
11
+ margin-inline: calc(var(--bleed-inline-sm, var(--spacing-2)) * -1);
12
+ }
13
+
14
+ &[data-inline="md"] {
15
+ margin-inline: calc(var(--bleed-inline-md, var(--spacing-3)) * -1);
16
+ }
17
+
18
+ &[data-inline="lg"] {
19
+ margin-inline: calc(var(--bleed-inline-lg, var(--spacing-4)) * -1);
20
+ }
21
+
22
+ &[data-inline="xl"] {
23
+ margin-inline: calc(var(--bleed-inline-xl, var(--spacing-6)) * -1);
24
+ }
25
+
26
+ &[data-inline="full"] {
27
+ inline-size: var(--bleed-inline-full-size, 100vw);
28
+ margin-inline: var(--bleed-inline-full, calc(50% - 50vw));
29
+ }
30
+
31
+ &[data-block="xs"] {
32
+ margin-block: calc(var(--bleed-block-xs, var(--spacing-1)) * -1);
33
+ }
34
+
35
+ &[data-block="sm"] {
36
+ margin-block: calc(var(--bleed-block-sm, var(--spacing-2)) * -1);
37
+ }
38
+
39
+ &[data-block="md"] {
40
+ margin-block: calc(var(--bleed-block-md, var(--spacing-3)) * -1);
41
+ }
42
+
43
+ &[data-block="lg"] {
44
+ margin-block: calc(var(--bleed-block-lg, var(--spacing-4)) * -1);
45
+ }
46
+
47
+ &[data-block="xl"] {
48
+ margin-block: calc(var(--bleed-block-xl, var(--spacing-6)) * -1);
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,12 @@
1
+ //#region src/components/bleed/Bleed.d.ts
2
+ declare const Bleed: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
3
+ inline?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
4
+ block?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
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
+ inline?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
8
+ block?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
10
+ };
11
+ //#endregion
12
+ export { Bleed };
@@ -0,0 +1,22 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Bleed_module_default from "./Bleed.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/bleed/Bleed.tsx
8
+ const BleedRoot = forwardRef(function BleedRoot({ inline = "full", block = "none", className, ...props }, ref) {
9
+ return /* @__PURE__ */ jsx(ark.div, {
10
+ ref,
11
+ "data-scope": "bleed",
12
+ "data-part": "root",
13
+ "data-slot": "bleed-root",
14
+ "data-inline": inline,
15
+ "data-block": block,
16
+ className: clsx(Bleed_module_default.root, normalizeClassName(className)),
17
+ ...props
18
+ });
19
+ });
20
+ const Bleed = Object.assign(BleedRoot, { Root: BleedRoot });
21
+ //#endregion
22
+ export { Bleed };
@@ -0,0 +1,5 @@
1
+ import './Bleed.css';
2
+ //#region src/components/bleed/Bleed.module.css
3
+ var Bleed_module_default = { "root": "Nez5aa_root" };
4
+ //#endregion
5
+ export { Bleed_module_default as default };
@@ -0,0 +1,90 @@
1
+ @layer ui.components {
2
+ .ubtGFa_root[data-scope="breadcrumbs"][data-part="root"] {
3
+ max-width: var(--breadcrumbs-max-width, 100%);
4
+ color: var(--breadcrumbs-color, var(--color-muted-foreground));
5
+ font-size: var(--breadcrumbs-font-size, var(--text-sm));
6
+ line-height: var(--breadcrumbs-line-height, var(--line-height-text-sm));
7
+ }
8
+
9
+ .ubtGFa_list[data-scope="breadcrumbs"][data-part="list"] {
10
+ align-items: center;
11
+ gap: var(--breadcrumbs-gap, var(--spacing-1));
12
+ white-space: nowrap;
13
+ min-width: 0;
14
+ margin: 0;
15
+ padding: 0;
16
+ list-style: none;
17
+ display: flex;
18
+
19
+ & > .ubtGFa_item:last-child {
20
+ max-width: var(--breadcrumbs-item-max-width, 16rem);
21
+ flex: auto;
22
+ }
23
+ }
24
+
25
+ .ubtGFa_item[data-scope="breadcrumbs"][data-part="item"] {
26
+ flex: none;
27
+ align-items: center;
28
+ min-width: 0;
29
+ display: inline-flex;
30
+ }
31
+
32
+ .ubtGFa_link[data-scope="breadcrumbs"][data-part="link"], .ubtGFa_page[data-scope="breadcrumbs"][data-part="page"] {
33
+ min-width: 0;
34
+ max-width: 100%;
35
+ padding-inline: var(--breadcrumbs-item-padding-x, .25rem);
36
+ white-space: nowrap;
37
+ display: block;
38
+ }
39
+
40
+ .ubtGFa_link[data-scope="breadcrumbs"][data-part="link"], .ubtGFa_page[data-scope="breadcrumbs"][data-part="page"], .ubtGFa_ellipsis[data-scope="breadcrumbs"][data-part="ellipsis"] {
41
+ text-overflow: ellipsis;
42
+ overflow: hidden;
43
+ }
44
+
45
+ .ubtGFa_link[data-scope="breadcrumbs"][data-part="link"] {
46
+ color: var(--breadcrumbs-link-color, var(--color-muted-foreground));
47
+ text-decoration: var(--breadcrumbs-link-text-decoration, none);
48
+ text-underline-offset: var(--breadcrumbs-link-underline-offset, .2em);
49
+ border-radius: var(--breadcrumbs-link-radius, var(--radius-sm));
50
+ transition: var(--breadcrumbs-link-transition, var(--transition-default));
51
+ outline: none;
52
+
53
+ @media (hover: hover) {
54
+ &:hover {
55
+ color: var(--breadcrumbs-link-color-hover, var(--color-foreground));
56
+ text-decoration: var(--breadcrumbs-link-text-decoration-hover, none);
57
+ }
58
+ }
59
+
60
+ &:focus-visible {
61
+ box-shadow: 0 0 0 var(--breadcrumbs-focus-ring-width, var(--border-width-sm))
62
+ var(--breadcrumbs-focus-ring-color, var(--color-ring));
63
+ }
64
+ }
65
+
66
+ .ubtGFa_page[data-scope="breadcrumbs"][data-part="page"] {
67
+ color: var(--breadcrumbs-page-color, var(--color-foreground));
68
+ font-weight: var(--breadcrumbs-page-font-weight, var(--weight-medium));
69
+ }
70
+
71
+ .ubtGFa_separator[data-scope="breadcrumbs"][data-part="separator"] {
72
+ color: var(--breadcrumbs-separator-color, var(--color-muted-foreground));
73
+ font-size: var(--breadcrumbs-separator-font-size, .875em);
74
+ user-select: none;
75
+ align-items: center;
76
+ line-height: 1;
77
+ display: inline-flex;
78
+ }
79
+
80
+ .ubtGFa_ellipsis[data-scope="breadcrumbs"][data-part="ellipsis"] {
81
+ min-width: var(--breadcrumbs-ellipsis-size, 1rem);
82
+ min-height: var(--breadcrumbs-ellipsis-size, 1rem);
83
+ padding-inline: var(--breadcrumbs-item-padding-x, .25rem);
84
+ color: var(--breadcrumbs-ellipsis-color, var(--color-muted-foreground));
85
+ border-radius: var(--breadcrumbs-ellipsis-radius, var(--radius-sm));
86
+ justify-content: center;
87
+ align-items: center;
88
+ display: inline-flex;
89
+ }
90
+ }
@@ -0,0 +1,12 @@
1
+ //#region src/components/breadcrumbs/Breadcrumbs.d.ts
2
+ declare const Breadcrumbs: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>> & {
3
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLElement>>;
4
+ List: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLOListElement>>;
5
+ Item: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLLIElement>>;
6
+ Link: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLAnchorElement>>;
7
+ Page: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
8
+ Separator: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLLIElement>>;
9
+ Ellipsis: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
10
+ };
11
+ //#endregion
12
+ export { Breadcrumbs };
@@ -0,0 +1,95 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Breadcrumbs_module_default from "./Breadcrumbs.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/breadcrumbs/Breadcrumbs.tsx
8
+ const BreadcrumbsRoot = forwardRef(function BreadcrumbsRoot({ className, "aria-label": ariaLabel = "Breadcrumb", ...props }, ref) {
9
+ return /* @__PURE__ */ jsx(ark.nav, {
10
+ ref,
11
+ "data-scope": "breadcrumbs",
12
+ "data-part": "root",
13
+ "data-slot": "breadcrumbs-root",
14
+ "aria-label": ariaLabel,
15
+ className: clsx(Breadcrumbs_module_default.root, normalizeClassName(className)),
16
+ ...props
17
+ });
18
+ });
19
+ const BreadcrumbsList = forwardRef(function BreadcrumbsList({ className, ...props }, ref) {
20
+ return /* @__PURE__ */ jsx(ark.ol, {
21
+ ref,
22
+ "data-scope": "breadcrumbs",
23
+ "data-part": "list",
24
+ "data-slot": "breadcrumbs-list",
25
+ className: clsx(Breadcrumbs_module_default.list, normalizeClassName(className)),
26
+ ...props
27
+ });
28
+ });
29
+ const BreadcrumbsItem = forwardRef(function BreadcrumbsItem({ className, ...props }, ref) {
30
+ return /* @__PURE__ */ jsx(ark.li, {
31
+ ref,
32
+ "data-scope": "breadcrumbs",
33
+ "data-part": "item",
34
+ "data-slot": "breadcrumbs-item",
35
+ className: clsx(Breadcrumbs_module_default.item, normalizeClassName(className)),
36
+ ...props
37
+ });
38
+ });
39
+ const BreadcrumbsLink = forwardRef(function BreadcrumbsLink({ className, ...props }, ref) {
40
+ return /* @__PURE__ */ jsx(ark.a, {
41
+ ref,
42
+ "data-scope": "breadcrumbs",
43
+ "data-part": "link",
44
+ "data-slot": "breadcrumbs-link",
45
+ className: clsx(Breadcrumbs_module_default.link, normalizeClassName(className)),
46
+ ...props
47
+ });
48
+ });
49
+ const BreadcrumbsPage = forwardRef(function BreadcrumbsPage({ className, ...props }, ref) {
50
+ return /* @__PURE__ */ jsx(ark.span, {
51
+ ref,
52
+ "data-scope": "breadcrumbs",
53
+ "data-part": "page",
54
+ "data-slot": "breadcrumbs-page",
55
+ "aria-current": "page",
56
+ className: clsx(Breadcrumbs_module_default.page, normalizeClassName(className)),
57
+ ...props
58
+ });
59
+ });
60
+ const BreadcrumbsSeparator = forwardRef(function BreadcrumbsSeparator({ className, children = "/", role = "presentation", ...props }, ref) {
61
+ return /* @__PURE__ */ jsx(ark.li, {
62
+ ref,
63
+ "data-scope": "breadcrumbs",
64
+ "data-part": "separator",
65
+ "data-slot": "breadcrumbs-separator",
66
+ "aria-hidden": "true",
67
+ role,
68
+ className: clsx(Breadcrumbs_module_default.separator, normalizeClassName(className)),
69
+ ...props,
70
+ children
71
+ });
72
+ });
73
+ const BreadcrumbsEllipsis = forwardRef(function BreadcrumbsEllipsis({ className, children = "...", ...props }, ref) {
74
+ return /* @__PURE__ */ jsx(ark.span, {
75
+ ref,
76
+ "data-scope": "breadcrumbs",
77
+ "data-part": "ellipsis",
78
+ "data-slot": "breadcrumbs-ellipsis",
79
+ "aria-hidden": "true",
80
+ className: clsx(Breadcrumbs_module_default.ellipsis, normalizeClassName(className)),
81
+ ...props,
82
+ children
83
+ });
84
+ });
85
+ const Breadcrumbs = Object.assign(BreadcrumbsRoot, {
86
+ Root: BreadcrumbsRoot,
87
+ List: BreadcrumbsList,
88
+ Item: BreadcrumbsItem,
89
+ Link: BreadcrumbsLink,
90
+ Page: BreadcrumbsPage,
91
+ Separator: BreadcrumbsSeparator,
92
+ Ellipsis: BreadcrumbsEllipsis
93
+ });
94
+ //#endregion
95
+ export { Breadcrumbs };
@@ -0,0 +1,13 @@
1
+ import './Breadcrumbs.css';
2
+ //#region src/components/breadcrumbs/Breadcrumbs.module.css
3
+ var Breadcrumbs_module_default = {
4
+ "ellipsis": "ubtGFa_ellipsis",
5
+ "item": "ubtGFa_item",
6
+ "link": "ubtGFa_link",
7
+ "list": "ubtGFa_list",
8
+ "page": "ubtGFa_page",
9
+ "root": "ubtGFa_root",
10
+ "separator": "ubtGFa_separator"
11
+ };
12
+ //#endregion
13
+ export { Breadcrumbs_module_default as default };
@@ -0,0 +1,193 @@
1
+ @layer ui.components {
2
+ .ypNn3a_root {
3
+ box-sizing: border-box;
4
+ justify-content: center;
5
+ align-items: center;
6
+ gap: var(--button-content-gap, var(--spacing-2));
7
+ border: var(--button-border-width, var(--border-width-sm)) solid transparent;
8
+ border-radius: var(--button-radius, var(--radius-md));
9
+ color: var(--button-color, var(--color-foreground));
10
+ appearance: none;
11
+ font: inherit;
12
+ font-size: var(--button-font-size, var(--text-sm));
13
+ font-weight: var(--button-font-weight, var(--weight-medium));
14
+ line-height: var(--button-line-height, var(--line-height-text-sm));
15
+ user-select: none;
16
+ white-space: nowrap;
17
+ cursor: pointer;
18
+ transition: background-color var(--button-transition, var(--transition-default)),
19
+ border-color var(--button-transition, var(--transition-default)),
20
+ color var(--button-transition, var(--transition-default)),
21
+ opacity var(--button-transition, var(--transition-default)),
22
+ box-shadow var(--button-transition, var(--transition-default));
23
+ background-color: #0000;
24
+ margin: 0;
25
+ text-decoration: none;
26
+ display: inline-flex;
27
+
28
+ &:focus-visible {
29
+ outline: var(--button-focus-ring-width, var(--border-width-md)) solid
30
+ var(--button-focus-ring-color, var(--color-ring));
31
+ outline-offset: calc(var(--button-focus-ring-offset, var(--button-border-width, var(--border-width-sm))) * -1);
32
+ }
33
+
34
+ &[data-disabled] {
35
+ opacity: var(--button-disabled-opacity, var(--opacity-disabled));
36
+ cursor: default;
37
+ pointer-events: none;
38
+ }
39
+
40
+ & :where(svg) {
41
+ width: var(--button-icon-size, 1rem);
42
+ height: var(--button-icon-size, 1rem);
43
+ flex-shrink: 0;
44
+ }
45
+
46
+ &[data-variant="default"] {
47
+ border-color: var(--button-default-border-color, var(--color-primary));
48
+ background-color: var(--button-default-bg, var(--color-primary));
49
+ color: var(--button-default-color, var(--color-primary-foreground));
50
+
51
+ @media (hover: hover) {
52
+ &:not([data-disabled]):hover {
53
+ background-color: var(--button-default-bg-hover, var(--color-foreground));
54
+ }
55
+ }
56
+ }
57
+
58
+ &[data-variant="outline"] {
59
+ border-color: var(--button-outline-border-color, var(--color-border));
60
+ background-color: var(--button-outline-bg, var(--color-background));
61
+ color: var(--button-outline-color, var(--color-foreground));
62
+
63
+ @media (hover: hover) {
64
+ &:not([data-disabled]):hover {
65
+ background-color: var(--button-outline-bg-hover, var(--color-accent));
66
+ }
67
+ }
68
+ }
69
+
70
+ &[data-variant="secondary"] {
71
+ border-color: var(--button-secondary-border-color, var(--color-secondary));
72
+ background-color: var(--button-secondary-bg, var(--color-secondary));
73
+ color: var(--button-secondary-color, var(--color-secondary-foreground));
74
+
75
+ @media (hover: hover) {
76
+ &:not([data-disabled]):hover {
77
+ background-color: var(--button-secondary-bg-hover, var(--color-accent));
78
+ }
79
+ }
80
+ }
81
+
82
+ &[data-variant="destructive"] {
83
+ border-color: var(--button-destructive-border-color, var(--color-destructive));
84
+ background-color: var(--button-destructive-bg, var(--color-destructive));
85
+ color: var(--button-destructive-color, var(--color-primary-foreground));
86
+
87
+ @media (hover: hover) {
88
+ &:not([data-disabled]):hover {
89
+ filter: brightness(var(--button-destructive-hover-brightness, .96));
90
+ }
91
+ }
92
+ }
93
+
94
+ &[data-variant="destructive-outline"] {
95
+ border-color: var(--button-destructive-outline-border-color, var(--color-destructive));
96
+ background-color: var(--button-destructive-outline-bg, var(--color-background));
97
+ color: var(--button-destructive-outline-color, var(--color-destructive));
98
+
99
+ @media (hover: hover) {
100
+ &:not([data-disabled]):hover {
101
+ background-color: var(--button-destructive-outline-bg-hover, var(--color-destructive));
102
+ color: var(--button-destructive-outline-color-hover, var(--button-destructive-color, var(--color-primary-foreground)));
103
+ }
104
+ }
105
+ }
106
+
107
+ &[data-variant="ghost"] {
108
+ border-color: var(--button-ghost-border-color, transparent);
109
+ background-color: var(--button-ghost-bg, transparent);
110
+ color: var(--button-ghost-color, var(--color-foreground));
111
+
112
+ @media (hover: hover) {
113
+ &:not([data-disabled]):hover {
114
+ background-color: var(--button-ghost-bg-hover, var(--color-accent));
115
+ }
116
+ }
117
+ }
118
+
119
+ &[data-variant="link"] {
120
+ color: var(--button-link-color, var(--color-primary));
121
+ text-decoration: var(--button-link-text-decoration, underline);
122
+ text-underline-offset: var(--button-link-underline-offset, .25em);
123
+ background-color: #0000;
124
+ border-color: #0000;
125
+ padding-inline: 0;
126
+
127
+ @media (hover: hover) {
128
+ &:not([data-disabled]):hover {
129
+ color: var(--button-link-color-hover, var(--color-foreground));
130
+ }
131
+ }
132
+ }
133
+
134
+ &[data-size="xs"] {
135
+ min-height: var(--button-size-xs, var(--size-xs));
136
+ padding-block: var(--button-padding-y-xs, .25rem);
137
+ padding-inline: var(--button-padding-x-xs, .625rem);
138
+ font-size: var(--button-font-size-xs, var(--text-xs));
139
+ line-height: var(--button-line-height-xs, var(--line-height-text-xs));
140
+ }
141
+
142
+ &[data-size="sm"] {
143
+ min-height: var(--button-size-sm, var(--size-sm));
144
+ padding-block: var(--button-padding-y-sm, .375rem);
145
+ padding-inline: var(--button-padding-x-sm, .75rem);
146
+ }
147
+
148
+ &[data-size="md"] {
149
+ min-height: var(--button-size-md, var(--size-lg));
150
+ padding-block: var(--button-padding-y-md, .5rem);
151
+ padding-inline: var(--button-padding-x-md, 1rem);
152
+ }
153
+
154
+ &[data-size="lg"] {
155
+ min-height: var(--button-size-lg, var(--size-xl));
156
+ padding-block: var(--button-padding-y-lg, .625rem);
157
+ padding-inline: var(--button-padding-x-lg, 1.25rem);
158
+ font-size: var(--button-font-size-lg, var(--text-md));
159
+ line-height: var(--button-line-height-lg, var(--line-height-text-md));
160
+ }
161
+
162
+ &[data-size="xl"] {
163
+ min-height: var(--button-size-xl, 3.5rem);
164
+ padding-block: var(--button-padding-y-xl, .75rem);
165
+ padding-inline: var(--button-padding-x-xl, 1.5rem);
166
+ font-size: var(--button-font-size-xl, var(--text-lg));
167
+ line-height: var(--button-line-height-xl, var(--line-height-text-lg));
168
+ }
169
+
170
+ &[data-size="icon-sm"], &[data-size="icon-md"], &[data-size="icon-lg"] {
171
+ gap: 0;
172
+ padding: 0;
173
+ }
174
+
175
+ &[data-size="icon-sm"] {
176
+ width: var(--button-size-icon-sm, var(--size-sm));
177
+ min-width: var(--button-size-icon-sm, var(--size-sm));
178
+ height: var(--button-size-icon-sm, var(--size-sm));
179
+ }
180
+
181
+ &[data-size="icon-md"] {
182
+ width: var(--button-size-icon-md, var(--size-lg));
183
+ min-width: var(--button-size-icon-md, var(--size-lg));
184
+ height: var(--button-size-icon-md, var(--size-lg));
185
+ }
186
+
187
+ &[data-size="icon-lg"] {
188
+ width: var(--button-size-icon-lg, var(--size-xl));
189
+ min-width: var(--button-size-icon-lg, var(--size-xl));
190
+ height: var(--button-size-icon-lg, var(--size-xl));
191
+ }
192
+ }
193
+ }
@@ -0,0 +1,14 @@
1
+ //#region src/components/button/Button.d.ts
2
+ declare const Button: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
3
+ variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
4
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
5
+ 'data-slot'?: string;
6
+ } & import("react").RefAttributes<HTMLButtonElement>> & {
7
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
8
+ variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
9
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
10
+ 'data-slot'?: string;
11
+ } & import("react").RefAttributes<HTMLButtonElement>>;
12
+ };
13
+ //#endregion
14
+ export { Button };