@moduix/react 2.1.0 → 2.2.4

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 (629) hide show
  1. package/README.md +28 -16
  2. package/dist/components/accordion/Accordion.d.ts +12 -13
  3. package/dist/components/accordion/Accordion.js +69 -68
  4. package/dist/components/accordion/Accordion.module.js +17 -15
  5. package/dist/components/accordion/Accordion_module.css +203 -0
  6. package/dist/components/accordion/index.d.ts +1 -2
  7. package/dist/components/accordion/index.js +1 -0
  8. package/dist/components/alert/Alert.d.ts +10 -12
  9. package/dist/components/alert/Alert.js +68 -70
  10. package/dist/components/alert/Alert.module.js +9 -11
  11. package/dist/components/alert/Alert_module.css +139 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/alert/index.js +1 -0
  14. package/dist/components/angle-slider/AngleSlider.d.ts +25 -31
  15. package/dist/components/angle-slider/AngleSlider.js +105 -91
  16. package/dist/components/angle-slider/AngleSlider.module.js +10 -12
  17. package/dist/components/angle-slider/AngleSlider_module.css +195 -0
  18. package/dist/components/angle-slider/index.d.ts +1 -2
  19. package/dist/components/angle-slider/index.js +1 -0
  20. package/dist/components/aspect-ratio/AspectRatio.d.ts +5 -7
  21. package/dist/components/aspect-ratio/AspectRatio.js +20 -19
  22. package/dist/components/aspect-ratio/AspectRatio.module.js +5 -5
  23. package/dist/components/aspect-ratio/AspectRatio_module.css +17 -0
  24. package/dist/components/aspect-ratio/index.d.ts +1 -0
  25. package/dist/components/aspect-ratio/index.js +1 -0
  26. package/dist/components/avatar/Avatar.d.ts +15 -17
  27. package/dist/components/avatar/Avatar.js +47 -48
  28. package/dist/components/avatar/Avatar.module.js +6 -8
  29. package/dist/components/avatar/Avatar_module.css +77 -0
  30. package/dist/components/avatar/index.d.ts +1 -2
  31. package/dist/components/avatar/index.js +1 -0
  32. package/dist/components/badge/Badge.d.ts +6 -8
  33. package/dist/components/badge/Badge.js +32 -29
  34. package/dist/components/badge/Badge.module.js +6 -7
  35. package/dist/components/badge/Badge_module.css +115 -0
  36. package/dist/components/badge/index.d.ts +1 -0
  37. package/dist/components/badge/index.js +1 -0
  38. package/dist/components/bleed/Bleed.d.ts +6 -8
  39. package/dist/components/bleed/Bleed.js +17 -17
  40. package/dist/components/bleed/Bleed.module.js +5 -5
  41. package/dist/components/bleed/Bleed_module.css +52 -0
  42. package/dist/components/bleed/index.d.ts +1 -0
  43. package/dist/components/bleed/index.js +1 -0
  44. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +17 -24
  45. package/dist/components/breadcrumbs/Breadcrumbs.js +106 -95
  46. package/dist/components/breadcrumbs/Breadcrumbs.module.js +11 -13
  47. package/dist/components/breadcrumbs/Breadcrumbs_module.css +105 -0
  48. package/dist/components/breadcrumbs/index.d.ts +1 -2
  49. package/dist/components/breadcrumbs/index.js +1 -0
  50. package/dist/components/button/Button.d.ts +10 -12
  51. package/dist/components/button/Button.js +36 -28
  52. package/dist/components/button/Button.module.js +5 -5
  53. package/dist/components/button/Button_module.css +230 -0
  54. package/dist/components/button/index.d.ts +1 -0
  55. package/dist/components/button/index.js +1 -0
  56. package/dist/components/card/Card.d.ts +14 -16
  57. package/dist/components/card/Card.js +96 -98
  58. package/dist/components/card/Card.module.js +12 -14
  59. package/dist/components/card/Card_module.css +169 -0
  60. package/dist/components/card/index.d.ts +1 -0
  61. package/dist/components/card/index.js +1 -0
  62. package/dist/components/carousel/Carousel.d.ts +19 -22
  63. package/dist/components/carousel/Carousel.js +126 -125
  64. package/dist/components/carousel/Carousel.module.js +15 -17
  65. package/dist/components/carousel/Carousel_module.css +201 -0
  66. package/dist/components/carousel/index.d.ts +1 -2
  67. package/dist/components/carousel/index.js +1 -0
  68. package/dist/components/checkbox/Checkbox.d.ts +15 -17
  69. package/dist/components/checkbox/Checkbox.js +90 -76
  70. package/dist/components/checkbox/Checkbox.module.js +9 -11
  71. package/dist/components/checkbox/Checkbox_module.css +137 -0
  72. package/dist/components/checkbox/index.d.ts +1 -2
  73. package/dist/components/checkbox/index.js +1 -0
  74. package/dist/components/clipboard/Clipboard.d.ts +14 -16
  75. package/dist/components/clipboard/Clipboard.js +95 -95
  76. package/dist/components/clipboard/Clipboard.module.js +11 -13
  77. package/dist/components/clipboard/Clipboard_module.css +156 -0
  78. package/dist/components/clipboard/index.d.ts +1 -2
  79. package/dist/components/clipboard/index.js +1 -0
  80. package/dist/components/close-button/CloseButton.d.ts +8 -10
  81. package/dist/components/close-button/CloseButton.js +34 -34
  82. package/dist/components/close-button/CloseButton.module.js +5 -5
  83. package/dist/components/close-button/CloseButton_module.css +64 -0
  84. package/dist/components/close-button/index.d.ts +1 -0
  85. package/dist/components/close-button/index.js +1 -0
  86. package/dist/components/collapsible/Collapsible.d.ts +10 -12
  87. package/dist/components/collapsible/Collapsible.js +61 -61
  88. package/dist/components/collapsible/Collapsible.module.js +12 -12
  89. package/dist/components/collapsible/Collapsible_module.css +149 -0
  90. package/dist/components/collapsible/index.d.ts +1 -2
  91. package/dist/components/collapsible/index.js +1 -0
  92. package/dist/components/color-picker/ColorPicker.d.ts +36 -38
  93. package/dist/components/color-picker/ColorPicker.js +325 -293
  94. package/dist/components/color-picker/ColorPicker.module.js +33 -33
  95. package/dist/components/color-picker/ColorPicker_module.css +507 -0
  96. package/dist/components/color-picker/index.d.ts +1 -2
  97. package/dist/components/color-picker/index.js +1 -0
  98. package/dist/components/combobox/Combobox.d.ts +28 -29
  99. package/dist/components/combobox/Combobox.js +215 -193
  100. package/dist/components/combobox/Combobox.module.js +23 -22
  101. package/dist/components/combobox/Combobox_module.css +336 -0
  102. package/dist/components/combobox/index.d.ts +1 -2
  103. package/dist/components/combobox/index.js +1 -0
  104. package/dist/components/command-palette/CommandPalette.d.ts +52 -77
  105. package/dist/components/command-palette/CommandPalette.js +370 -351
  106. package/dist/components/command-palette/CommandPalette.module.js +41 -40
  107. package/dist/components/command-palette/CommandPalette_module.css +460 -0
  108. package/dist/components/command-palette/index.d.ts +1 -2
  109. package/dist/components/command-palette/index.js +1 -0
  110. package/dist/components/container/Container.d.ts +6 -8
  111. package/dist/components/container/Container.js +17 -17
  112. package/dist/components/container/Container.module.js +5 -5
  113. package/dist/components/container/Container_module.css +46 -0
  114. package/dist/components/container/index.d.ts +1 -0
  115. package/dist/components/container/index.js +1 -0
  116. package/dist/components/date-input/DateInput.d.ts +16 -24
  117. package/dist/components/date-input/DateInput.js +103 -89
  118. package/dist/components/date-input/DateInput.module.js +9 -11
  119. package/dist/components/date-input/DateInput_module.css +110 -0
  120. package/dist/components/date-input/index.d.ts +1 -2
  121. package/dist/components/date-input/index.js +1 -0
  122. package/dist/components/date-picker/DatePicker.d.ts +61 -62
  123. package/dist/components/date-picker/DatePicker.js +429 -367
  124. package/dist/components/date-picker/DatePicker.module.js +28 -28
  125. package/dist/components/date-picker/DatePicker_module.css +435 -0
  126. package/dist/components/date-picker/index.d.ts +1 -2
  127. package/dist/components/date-picker/index.js +1 -0
  128. package/dist/components/dialog/Dialog.d.ts +27 -45
  129. package/dist/components/dialog/Dialog.js +126 -114
  130. package/dist/components/dialog/Dialog.module.js +22 -20
  131. package/dist/components/dialog/Dialog_module.css +236 -0
  132. package/dist/components/dialog/index.d.ts +2 -2
  133. package/dist/components/dialog/index.js +1 -0
  134. package/dist/components/drawer/Drawer.d.ts +35 -55
  135. package/dist/components/drawer/Drawer.js +166 -161
  136. package/dist/components/drawer/Drawer.module.js +39 -31
  137. package/dist/components/drawer/Drawer_module.css +546 -0
  138. package/dist/components/drawer/index.d.ts +1 -2
  139. package/dist/components/drawer/index.js +1 -0
  140. package/dist/components/editable/Editable.d.ts +15 -23
  141. package/dist/components/editable/Editable.js +109 -102
  142. package/dist/components/editable/Editable.module.js +10 -12
  143. package/dist/components/editable/Editable_module.css +176 -0
  144. package/dist/components/editable/index.d.ts +1 -2
  145. package/dist/components/editable/index.js +1 -0
  146. package/dist/components/empty/Empty.d.ts +7 -9
  147. package/dist/components/empty/Empty.js +64 -66
  148. package/dist/components/empty/Empty.module.js +9 -11
  149. package/dist/components/empty/Empty_module.css +91 -0
  150. package/dist/components/empty/index.d.ts +1 -0
  151. package/dist/components/empty/index.js +1 -0
  152. package/dist/components/field/Field.d.ts +16 -25
  153. package/dist/components/field/Field.js +93 -93
  154. package/dist/components/field/Field.module.js +11 -13
  155. package/dist/components/field/Field_module.css +98 -0
  156. package/dist/components/field/index.d.ts +1 -2
  157. package/dist/components/field/index.js +1 -0
  158. package/dist/components/fieldset/Fieldset.d.ts +9 -11
  159. package/dist/components/fieldset/Fieldset.js +48 -48
  160. package/dist/components/fieldset/Fieldset.module.js +7 -9
  161. package/dist/components/fieldset/Fieldset_module.css +53 -0
  162. package/dist/components/fieldset/index.d.ts +1 -2
  163. package/dist/components/fieldset/index.js +1 -0
  164. package/dist/components/file-upload/FileUpload.d.ts +27 -42
  165. package/dist/components/file-upload/FileUpload.js +196 -176
  166. package/dist/components/file-upload/FileUpload.module.js +19 -21
  167. package/dist/components/file-upload/FileUpload_module.css +378 -0
  168. package/dist/components/file-upload/index.d.ts +1 -2
  169. package/dist/components/file-upload/index.js +1 -0
  170. package/dist/components/floating-panel/FloatingPanel.d.ts +32 -50
  171. package/dist/components/floating-panel/FloatingPanel.js +185 -176
  172. package/dist/components/floating-panel/FloatingPanel.module.js +19 -19
  173. package/dist/components/floating-panel/FloatingPanel_module.css +322 -0
  174. package/dist/components/floating-panel/index.d.ts +1 -2
  175. package/dist/components/floating-panel/index.js +1 -0
  176. package/dist/components/heading/Heading.d.ts +7 -9
  177. package/dist/components/heading/Heading.js +26 -26
  178. package/dist/components/heading/Heading.module.js +5 -5
  179. package/dist/components/heading/Heading_module.css +59 -0
  180. package/dist/components/heading/index.d.ts +1 -0
  181. package/dist/components/heading/index.js +1 -0
  182. package/dist/components/highlight/Highlight.d.ts +6 -12
  183. package/dist/components/highlight/Highlight.js +14 -14
  184. package/dist/components/highlight/Highlight.module.js +5 -5
  185. package/dist/components/highlight/Highlight_module.css +16 -0
  186. package/dist/components/highlight/index.d.ts +1 -2
  187. package/dist/components/highlight/index.js +1 -0
  188. package/dist/components/hover-card/HoverCard.d.ts +17 -28
  189. package/dist/components/hover-card/HoverCard.js +77 -72
  190. package/dist/components/hover-card/HoverCard.module.js +12 -12
  191. package/dist/components/hover-card/HoverCard_module.css +117 -0
  192. package/dist/components/hover-card/index.d.ts +1 -2
  193. package/dist/components/hover-card/index.js +1 -0
  194. package/dist/components/image/Image.d.ts +5 -11
  195. package/dist/components/image/Image.js +21 -23
  196. package/dist/components/image/Image.module.js +5 -5
  197. package/dist/components/image/Image_module.css +8 -0
  198. package/dist/components/image/index.d.ts +1 -2
  199. package/dist/components/image/index.js +1 -0
  200. package/dist/components/image-cropper/ImageCropper.d.ts +16 -19
  201. package/dist/components/image-cropper/ImageCropper.js +86 -86
  202. package/dist/components/image-cropper/ImageCropper.module.js +9 -11
  203. package/dist/components/image-cropper/ImageCropper_module.css +163 -0
  204. package/dist/components/image-cropper/index.d.ts +1 -2
  205. package/dist/components/image-cropper/index.js +1 -0
  206. package/dist/components/input/Input.d.ts +9 -12
  207. package/dist/components/input/Input.js +19 -18
  208. package/dist/components/input/Input.module.js +5 -5
  209. package/dist/components/input/Input_module.css +110 -0
  210. package/dist/components/input/index.d.ts +1 -2
  211. package/dist/components/input/index.js +1 -0
  212. package/dist/components/input-group/InputGroup.d.ts +21 -24
  213. package/dist/components/input-group/InputGroup.js +64 -66
  214. package/dist/components/input-group/InputGroup.module.js +8 -10
  215. package/dist/components/input-group/InputGroup_module.css +162 -0
  216. package/dist/components/input-group/index.d.ts +1 -2
  217. package/dist/components/input-group/index.js +1 -0
  218. package/dist/components/kbd/Kbd.d.ts +3 -5
  219. package/dist/components/kbd/Kbd.js +24 -26
  220. package/dist/components/kbd/Kbd.module.js +5 -7
  221. package/dist/components/kbd/Kbd_module.css +46 -0
  222. package/dist/components/kbd/index.d.ts +1 -0
  223. package/dist/components/kbd/index.js +1 -0
  224. package/dist/components/lightbox/Lightbox.d.ts +39 -63
  225. package/dist/components/lightbox/Lightbox.js +203 -194
  226. package/dist/components/lightbox/Lightbox.module.js +23 -21
  227. package/dist/components/lightbox/Lightbox_module.css +255 -0
  228. package/dist/components/lightbox/index.d.ts +2 -2
  229. package/dist/components/lightbox/index.js +1 -0
  230. package/dist/components/list/List.d.ts +10 -13
  231. package/dist/components/list/List.js +39 -41
  232. package/dist/components/list/List.module.js +5 -5
  233. package/dist/components/list/List_module.css +119 -0
  234. package/dist/components/list/index.d.ts +1 -2
  235. package/dist/components/list/index.js +1 -0
  236. package/dist/components/listbox/Listbox.d.ts +30 -46
  237. package/dist/components/listbox/Listbox.js +158 -156
  238. package/dist/components/listbox/Listbox.module.js +20 -22
  239. package/dist/components/listbox/Listbox_module.css +323 -0
  240. package/dist/components/listbox/index.d.ts +1 -2
  241. package/dist/components/listbox/index.js +1 -0
  242. package/dist/components/marquee/Marquee.d.ts +11 -13
  243. package/dist/components/marquee/Marquee.js +56 -57
  244. package/dist/components/marquee/Marquee.module.js +12 -12
  245. package/dist/components/marquee/Marquee_module.css +109 -0
  246. package/dist/components/marquee/index.d.ts +1 -2
  247. package/dist/components/marquee/index.js +1 -0
  248. package/dist/components/menu/Menu.d.ts +48 -78
  249. package/dist/components/menu/Menu.js +261 -223
  250. package/dist/components/menu/Menu.module.js +31 -32
  251. package/dist/components/menu/Menu_module.css +386 -0
  252. package/dist/components/menu/index.d.ts +1 -2
  253. package/dist/components/menu/index.js +1 -0
  254. package/dist/components/native-select/NativeSelect.d.ts +6 -9
  255. package/dist/components/native-select/NativeSelect.js +32 -29
  256. package/dist/components/native-select/NativeSelect.module.js +6 -8
  257. package/dist/components/native-select/NativeSelect_module.css +116 -0
  258. package/dist/components/native-select/index.d.ts +1 -2
  259. package/dist/components/native-select/index.js +1 -0
  260. package/dist/components/number-input/NumberInput.d.ts +16 -19
  261. package/dist/components/number-input/NumberInput.js +94 -95
  262. package/dist/components/number-input/NumberInput.module.js +11 -13
  263. package/dist/components/number-input/NumberInput_module.css +161 -0
  264. package/dist/components/number-input/index.d.ts +1 -2
  265. package/dist/components/number-input/index.js +1 -0
  266. package/dist/components/pagination/Pagination.d.ts +15 -18
  267. package/dist/components/pagination/Pagination.js +103 -94
  268. package/dist/components/pagination/Pagination.module.js +9 -11
  269. package/dist/components/pagination/Pagination_module.css +109 -0
  270. package/dist/components/pagination/index.d.ts +1 -2
  271. package/dist/components/pagination/index.js +1 -0
  272. package/dist/components/password-input/PasswordInput.d.ts +14 -16
  273. package/dist/components/password-input/PasswordInput.js +79 -74
  274. package/dist/components/password-input/PasswordInput.module.js +9 -11
  275. package/dist/components/password-input/PasswordInput_module.css +150 -0
  276. package/dist/components/password-input/index.d.ts +1 -2
  277. package/dist/components/password-input/index.js +1 -0
  278. package/dist/components/pin-input/PinInput.d.ts +16 -26
  279. package/dist/components/pin-input/PinInput.js +112 -81
  280. package/dist/components/pin-input/PinInput.module.js +8 -10
  281. package/dist/components/pin-input/PinInput_module.css +97 -0
  282. package/dist/components/pin-input/index.d.ts +1 -2
  283. package/dist/components/pin-input/index.js +1 -0
  284. package/dist/components/popover/Popover.d.ts +29 -49
  285. package/dist/components/popover/Popover.js +151 -145
  286. package/dist/components/popover/Popover.module.js +19 -19
  287. package/dist/components/popover/Popover_module.css +186 -0
  288. package/dist/components/popover/index.d.ts +1 -2
  289. package/dist/components/popover/index.js +1 -0
  290. package/dist/components/progress-circular/ProgressCircular.d.ts +17 -20
  291. package/dist/components/progress-circular/ProgressCircular.js +82 -81
  292. package/dist/components/progress-circular/ProgressCircular.module.js +12 -13
  293. package/dist/components/progress-circular/ProgressCircular_module.css +79 -0
  294. package/dist/components/progress-circular/index.d.ts +1 -2
  295. package/dist/components/progress-circular/index.js +1 -0
  296. package/dist/components/progress-linear/ProgressLinear.d.ts +13 -16
  297. package/dist/components/progress-linear/ProgressLinear.js +64 -66
  298. package/dist/components/progress-linear/ProgressLinear.module.js +13 -13
  299. package/dist/components/progress-linear/ProgressLinear_module.css +119 -0
  300. package/dist/components/progress-linear/index.d.ts +1 -2
  301. package/dist/components/progress-linear/index.js +1 -0
  302. package/dist/components/qr-code/QrCode.d.ts +10 -12
  303. package/dist/components/qr-code/QrCode.js +56 -56
  304. package/dist/components/qr-code/QrCode.module.js +8 -10
  305. package/dist/components/qr-code/QrCode_module.css +120 -0
  306. package/dist/components/qr-code/index.d.ts +1 -2
  307. package/dist/components/qr-code/index.js +1 -0
  308. package/dist/components/radio-group/RadioGroup.d.ts +20 -20
  309. package/dist/components/radio-group/RadioGroup.js +93 -78
  310. package/dist/components/radio-group/RadioGroup.module.js +9 -11
  311. package/dist/components/radio-group/RadioGroup_module.css +157 -0
  312. package/dist/components/radio-group/index.d.ts +2 -2
  313. package/dist/components/radio-group/index.js +1 -0
  314. package/dist/components/rating-group/RatingGroup.d.ts +20 -24
  315. package/dist/components/rating-group/RatingGroup.js +99 -84
  316. package/dist/components/rating-group/RatingGroup.module.js +10 -12
  317. package/dist/components/rating-group/RatingGroup_module.css +139 -0
  318. package/dist/components/rating-group/index.d.ts +2 -2
  319. package/dist/components/rating-group/index.js +1 -0
  320. package/dist/components/scroll-area/ScrollArea.d.ts +20 -21
  321. package/dist/components/scroll-area/ScrollArea.js +69 -69
  322. package/dist/components/scroll-area/ScrollArea.module.js +9 -11
  323. package/dist/components/scroll-area/ScrollArea_module.css +176 -0
  324. package/dist/components/scroll-area/index.d.ts +2 -2
  325. package/dist/components/scroll-area/index.js +1 -0
  326. package/dist/components/segment-group/SegmentGroup.d.ts +22 -23
  327. package/dist/components/segment-group/SegmentGroup.js +120 -77
  328. package/dist/components/segment-group/SegmentGroup.module.js +9 -11
  329. package/dist/components/segment-group/SegmentGroup_module.css +123 -0
  330. package/dist/components/segment-group/index.d.ts +1 -2
  331. package/dist/components/segment-group/index.js +1 -0
  332. package/dist/components/select/Select.d.ts +40 -57
  333. package/dist/components/select/Select.js +273 -242
  334. package/dist/components/select/Select.module.js +25 -26
  335. package/dist/components/select/Select_module.css +375 -0
  336. package/dist/components/select/index.d.ts +1 -2
  337. package/dist/components/select/index.js +1 -0
  338. package/dist/components/separator/Separator.d.ts +7 -9
  339. package/dist/components/separator/Separator.js +22 -22
  340. package/dist/components/separator/Separator.module.js +5 -5
  341. package/dist/components/separator/Separator_module.css +47 -0
  342. package/dist/components/separator/index.d.ts +1 -0
  343. package/dist/components/separator/index.js +1 -0
  344. package/dist/components/sidebar/Sidebar.d.ts +53 -67
  345. package/dist/components/sidebar/Sidebar.js +342 -329
  346. package/dist/components/sidebar/Sidebar.module.js +26 -28
  347. package/dist/components/sidebar/Sidebar_module.css +482 -0
  348. package/dist/components/sidebar/index.d.ts +1 -2
  349. package/dist/components/sidebar/index.js +1 -0
  350. package/dist/components/signature-pad/SignaturePad.d.ts +16 -19
  351. package/dist/components/signature-pad/SignaturePad.js +118 -105
  352. package/dist/components/signature-pad/SignaturePad.module.js +9 -11
  353. package/dist/components/signature-pad/SignaturePad_module.css +89 -0
  354. package/dist/components/signature-pad/index.d.ts +1 -2
  355. package/dist/components/signature-pad/index.js +1 -0
  356. package/dist/components/simple-grid/SimpleGrid.d.ts +9 -11
  357. package/dist/components/simple-grid/SimpleGrid.js +31 -27
  358. package/dist/components/simple-grid/index.d.ts +1 -0
  359. package/dist/components/simple-grid/index.js +1 -0
  360. package/dist/components/skeleton/Skeleton.d.ts +10 -12
  361. package/dist/components/skeleton/Skeleton.js +27 -27
  362. package/dist/components/skeleton/Skeleton.module.js +5 -5
  363. package/dist/components/skeleton/Skeleton_module.css +35 -0
  364. package/dist/components/skeleton/index.d.ts +1 -0
  365. package/dist/components/skeleton/index.js +1 -0
  366. package/dist/components/slider/Slider.d.ts +21 -26
  367. package/dist/components/slider/Slider.js +119 -110
  368. package/dist/components/slider/Slider.module.js +13 -15
  369. package/dist/components/slider/Slider_module.css +222 -0
  370. package/dist/components/slider/index.d.ts +1 -2
  371. package/dist/components/slider/index.js +1 -0
  372. package/dist/components/spinner/Spinner.d.ts +7 -9
  373. package/dist/components/spinner/Spinner.js +35 -35
  374. package/dist/components/spinner/Spinner.module.js +6 -8
  375. package/dist/components/spinner/Spinner_module.css +59 -0
  376. package/dist/components/spinner/index.d.ts +1 -0
  377. package/dist/components/spinner/index.js +1 -0
  378. package/dist/components/split-button/SplitButton.d.ts +20 -24
  379. package/dist/components/split-button/SplitButton.js +80 -81
  380. package/dist/components/split-button/SplitButton.module.js +6 -8
  381. package/dist/components/split-button/SplitButton_module.css +52 -0
  382. package/dist/components/split-button/index.d.ts +1 -2
  383. package/dist/components/split-button/index.js +1 -0
  384. package/dist/components/splitter/Splitter.d.ts +10 -11
  385. package/dist/components/splitter/Splitter.js +58 -59
  386. package/dist/components/splitter/Splitter.module.js +7 -9
  387. package/dist/components/splitter/Splitter_module.css +174 -0
  388. package/dist/components/splitter/index.d.ts +1 -2
  389. package/dist/components/splitter/index.js +1 -0
  390. package/dist/components/stack/Stack.d.ts +17 -20
  391. package/dist/components/stack/Stack.js +29 -29
  392. package/dist/components/stack/Stack.module.js +5 -5
  393. package/dist/components/stack/Stack_module.css +14 -0
  394. package/dist/components/stack/index.d.ts +1 -2
  395. package/dist/components/stack/index.js +1 -0
  396. package/dist/components/steps/Steps.d.ts +24 -19
  397. package/dist/components/steps/Steps.js +109 -108
  398. package/dist/components/steps/Steps.module.js +14 -16
  399. package/dist/components/steps/Steps_module.css +306 -0
  400. package/dist/components/steps/index.d.ts +1 -2
  401. package/dist/components/steps/index.js +1 -0
  402. package/dist/components/swap/Swap.d.ts +15 -10
  403. package/dist/components/swap/Swap.js +34 -33
  404. package/dist/components/swap/Swap.module.js +21 -10
  405. package/dist/components/swap/Swap_module.css +118 -0
  406. package/dist/components/swap/index.d.ts +1 -2
  407. package/dist/components/swap/index.js +1 -0
  408. package/dist/components/switch/Switch.d.ts +15 -17
  409. package/dist/components/switch/Switch.js +66 -60
  410. package/dist/components/switch/Switch.module.js +7 -9
  411. package/dist/components/switch/Switch_module.css +144 -0
  412. package/dist/components/switch/index.d.ts +2 -2
  413. package/dist/components/switch/index.js +1 -0
  414. package/dist/components/table/Table.d.ts +31 -33
  415. package/dist/components/table/Table.js +155 -157
  416. package/dist/components/table/Table.module.js +14 -16
  417. package/dist/components/table/Table_module.css +165 -0
  418. package/dist/components/table/index.d.ts +1 -0
  419. package/dist/components/table/index.js +1 -0
  420. package/dist/components/tabs/Tabs.d.ts +16 -18
  421. package/dist/components/tabs/Tabs.js +61 -59
  422. package/dist/components/tabs/Tabs.module.js +8 -10
  423. package/dist/components/tabs/Tabs_module.css +191 -0
  424. package/dist/components/tabs/index.d.ts +1 -2
  425. package/dist/components/tabs/index.js +1 -0
  426. package/dist/components/tag/Tag.d.ts +10 -12
  427. package/dist/components/tag/Tag.js +62 -64
  428. package/dist/components/tag/Tag.module.js +8 -10
  429. package/dist/components/tag/Tag_module.css +100 -0
  430. package/dist/components/tag/index.d.ts +1 -0
  431. package/dist/components/tag/index.js +1 -0
  432. package/dist/components/tags-input/TagsInput.d.ts +18 -21
  433. package/dist/components/tags-input/TagsInput.js +183 -133
  434. package/dist/components/tags-input/TagsInput.module.js +13 -15
  435. package/dist/components/tags-input/TagsInput_module.css +223 -0
  436. package/dist/components/tags-input/index.d.ts +1 -2
  437. package/dist/components/tags-input/index.js +1 -0
  438. package/dist/components/text/Text.d.ts +12 -14
  439. package/dist/components/text/Text.js +38 -37
  440. package/dist/components/text/Text.module.js +5 -5
  441. package/dist/components/text/Text_module.css +100 -0
  442. package/dist/components/text/index.d.ts +1 -0
  443. package/dist/components/text/index.js +1 -0
  444. package/dist/components/textarea/Textarea.d.ts +3 -6
  445. package/dist/components/textarea/Textarea.js +16 -18
  446. package/dist/components/textarea/Textarea.module.js +5 -5
  447. package/dist/components/textarea/Textarea_module.css +58 -0
  448. package/dist/components/textarea/index.d.ts +1 -2
  449. package/dist/components/textarea/index.js +1 -0
  450. package/dist/components/timer/Timer.d.ts +19 -25
  451. package/dist/components/timer/Timer.js +84 -71
  452. package/dist/components/timer/Timer.module.js +9 -11
  453. package/dist/components/timer/Timer_module.css +102 -0
  454. package/dist/components/timer/index.d.ts +1 -2
  455. package/dist/components/timer/index.js +1 -0
  456. package/dist/components/toast/Toast.d.ts +15 -17
  457. package/dist/components/toast/Toast.js +95 -89
  458. package/dist/components/toast/Toast.module.js +9 -11
  459. package/dist/components/toast/Toast_module.css +171 -0
  460. package/dist/components/toast/index.d.ts +1 -2
  461. package/dist/components/toast/index.js +1 -0
  462. package/dist/components/toggle/Toggle.d.ts +11 -13
  463. package/dist/components/toggle/Toggle.js +26 -27
  464. package/dist/components/toggle/Toggle.module.js +5 -7
  465. package/dist/components/toggle/Toggle_module.css +169 -0
  466. package/dist/components/toggle/index.d.ts +2 -2
  467. package/dist/components/toggle/index.js +1 -0
  468. package/dist/components/toggle-group/ToggleGroup.d.ts +18 -20
  469. package/dist/components/toggle-group/ToggleGroup.js +57 -57
  470. package/dist/components/toggle-group/ToggleGroup.module.js +5 -7
  471. package/dist/components/toggle-group/ToggleGroup_module.css +46 -0
  472. package/dist/components/toggle-group/index.d.ts +1 -2
  473. package/dist/components/toggle-group/index.js +1 -0
  474. package/dist/components/tooltip/Tooltip.d.ts +19 -28
  475. package/dist/components/tooltip/Tooltip.js +96 -71
  476. package/dist/components/tooltip/Tooltip.module.js +13 -12
  477. package/dist/components/tooltip/Tooltip_module.css +146 -0
  478. package/dist/components/tooltip/index.d.ts +1 -2
  479. package/dist/components/tooltip/index.js +1 -0
  480. package/dist/components/tour/Tour.d.ts +27 -34
  481. package/dist/components/tour/Tour.js +157 -136
  482. package/dist/components/tour/Tour.module.js +25 -22
  483. package/dist/components/tour/Tour_module.css +361 -0
  484. package/dist/components/tour/index.d.ts +1 -2
  485. package/dist/components/tour/index.js +1 -0
  486. package/dist/components/tree-view/TreeView.d.ts +37 -31
  487. package/dist/components/tree-view/TreeView.js +184 -164
  488. package/dist/components/tree-view/TreeView.module.js +27 -25
  489. package/dist/components/tree-view/TreeView_module.css +283 -0
  490. package/dist/components/tree-view/index.d.ts +1 -2
  491. package/dist/components/tree-view/index.js +1 -0
  492. package/dist/components/typeset/Typeset.d.ts +4 -6
  493. package/dist/components/typeset/Typeset.js +28 -26
  494. package/dist/components/typeset/Typeset.module.js +5 -7
  495. package/dist/components/typeset/Typeset_module.css +325 -0
  496. package/dist/components/typeset/index.d.ts +1 -0
  497. package/dist/components/typeset/index.js +1 -0
  498. package/dist/internal/icons/ui/Icons.d.ts +45 -0
  499. package/dist/internal/icons/ui/Icons.js +969 -0
  500. package/dist/internal/icons/ui/index.d.ts +1 -0
  501. package/dist/internal/icons/ui/index.js +1 -0
  502. package/dist/internal/normalizeClassName.d.ts +1 -0
  503. package/dist/internal/normalizeClassName.js +2 -0
  504. package/dist/internal/overlayPortal.d.ts +13 -0
  505. package/dist/internal/overlayPortal.js +20 -0
  506. package/dist/locale.d.ts +1 -0
  507. package/dist/locale.js +1 -0
  508. package/dist/presets/contrast.css +131 -0
  509. package/dist/presets/dense.css +144 -0
  510. package/dist/presets/soft.css +143 -0
  511. package/dist/styles/animations.css +63 -0
  512. package/dist/styles/borders.css +10 -0
  513. package/dist/styles/colors.css +206 -0
  514. package/dist/styles/opacity.css +6 -0
  515. package/dist/styles/radius.css +11 -0
  516. package/dist/{lib/moduix/styles → styles}/reset.css +54 -39
  517. package/dist/styles/shadows.css +6 -0
  518. package/dist/styles/sizing.css +8 -0
  519. package/dist/styles/spacing.css +24 -0
  520. package/dist/styles/style.css +14 -0
  521. package/dist/styles/transforms.css +5 -0
  522. package/dist/styles/transitions.css +28 -0
  523. package/dist/styles/typography.css +27 -0
  524. package/dist/styles/z-index.css +13 -0
  525. package/package.json +385 -25
  526. package/dist/components/accordion/Accordion.css +0 -197
  527. package/dist/components/alert/Alert.css +0 -122
  528. package/dist/components/angle-slider/AngleSlider.css +0 -192
  529. package/dist/components/aspect-ratio/AspectRatio.css +0 -16
  530. package/dist/components/avatar/Avatar.css +0 -75
  531. package/dist/components/badge/Badge.css +0 -110
  532. package/dist/components/bleed/Bleed.css +0 -51
  533. package/dist/components/breadcrumbs/Breadcrumbs.css +0 -97
  534. package/dist/components/button/Button.css +0 -213
  535. package/dist/components/card/Card.css +0 -164
  536. package/dist/components/carousel/Carousel.css +0 -200
  537. package/dist/components/checkbox/Checkbox.css +0 -135
  538. package/dist/components/clipboard/Clipboard.css +0 -145
  539. package/dist/components/close-button/CloseButton.css +0 -49
  540. package/dist/components/collapsible/Collapsible.css +0 -145
  541. package/dist/components/color-picker/ColorPicker.css +0 -469
  542. package/dist/components/combobox/Combobox.css +0 -331
  543. package/dist/components/command-palette/CommandPalette.css +0 -459
  544. package/dist/components/container/Container.css +0 -45
  545. package/dist/components/date-input/DateInput.css +0 -107
  546. package/dist/components/date-picker/DatePicker.css +0 -441
  547. package/dist/components/dialog/Dialog.css +0 -226
  548. package/dist/components/drawer/Drawer.css +0 -483
  549. package/dist/components/editable/Editable.css +0 -173
  550. package/dist/components/empty/Empty.css +0 -78
  551. package/dist/components/field/Field.css +0 -111
  552. package/dist/components/fieldset/Fieldset.css +0 -52
  553. package/dist/components/file-upload/FileUpload.css +0 -363
  554. package/dist/components/floating-panel/FloatingPanel.css +0 -323
  555. package/dist/components/heading/Heading.css +0 -58
  556. package/dist/components/highlight/Highlight.css +0 -15
  557. package/dist/components/hover-card/HoverCard.css +0 -111
  558. package/dist/components/image/Image.css +0 -7
  559. package/dist/components/image-cropper/ImageCropper.css +0 -151
  560. package/dist/components/input/Input.css +0 -83
  561. package/dist/components/input-group/InputGroup.css +0 -158
  562. package/dist/components/kbd/Kbd.css +0 -45
  563. package/dist/components/lightbox/Lightbox.css +0 -244
  564. package/dist/components/list/List.css +0 -118
  565. package/dist/components/listbox/Listbox.css +0 -316
  566. package/dist/components/marquee/Marquee.css +0 -114
  567. package/dist/components/menu/Menu.css +0 -380
  568. package/dist/components/native-select/NativeSelect.css +0 -109
  569. package/dist/components/number-input/NumberInput.css +0 -155
  570. package/dist/components/pagination/Pagination.css +0 -99
  571. package/dist/components/password-input/PasswordInput.css +0 -155
  572. package/dist/components/pin-input/PinInput.css +0 -96
  573. package/dist/components/popover/Popover.css +0 -172
  574. package/dist/components/progress-circular/ProgressCircular.css +0 -68
  575. package/dist/components/progress-linear/ProgressLinear.css +0 -106
  576. package/dist/components/qr-code/QrCode.css +0 -101
  577. package/dist/components/radio-group/RadioGroup.css +0 -147
  578. package/dist/components/rating-group/RatingGroup.css +0 -133
  579. package/dist/components/scroll-area/ScrollArea.css +0 -167
  580. package/dist/components/segment-group/SegmentGroup.css +0 -120
  581. package/dist/components/select/Select.css +0 -377
  582. package/dist/components/separator/Separator.css +0 -45
  583. package/dist/components/sidebar/Sidebar.css +0 -479
  584. package/dist/components/signature-pad/SignaturePad.css +0 -95
  585. package/dist/components/skeleton/Skeleton.css +0 -29
  586. package/dist/components/slider/Slider.css +0 -171
  587. package/dist/components/spinner/Spinner.css +0 -60
  588. package/dist/components/split-button/SplitButton.css +0 -51
  589. package/dist/components/splitter/Splitter.css +0 -175
  590. package/dist/components/stack/Stack.css +0 -13
  591. package/dist/components/steps/Steps.css +0 -284
  592. package/dist/components/swap/Swap.css +0 -45
  593. package/dist/components/switch/Switch.css +0 -130
  594. package/dist/components/table/Table.css +0 -162
  595. package/dist/components/tabs/Tabs.css +0 -188
  596. package/dist/components/tag/Tag.css +0 -98
  597. package/dist/components/tags-input/TagsInput.css +0 -212
  598. package/dist/components/text/Text.css +0 -87
  599. package/dist/components/textarea/Textarea.css +0 -56
  600. package/dist/components/timer/Timer.css +0 -95
  601. package/dist/components/toast/Toast.css +0 -155
  602. package/dist/components/toggle/Toggle.css +0 -167
  603. package/dist/components/toggle-group/ToggleGroup.css +0 -42
  604. package/dist/components/tooltip/Tooltip.css +0 -130
  605. package/dist/components/tour/Tour.css +0 -291
  606. package/dist/components/tree-view/TreeView.css +0 -264
  607. package/dist/components/typeset/Typeset.css +0 -317
  608. package/dist/index.d.ts +0 -86
  609. package/dist/index.js +0 -86
  610. package/dist/lib/moduix/icons/ui/Icons.d.ts +0 -7
  611. package/dist/lib/moduix/icons/ui/Icons.js +0 -532
  612. package/dist/lib/moduix/icons/ui/index.d.ts +0 -2
  613. package/dist/lib/moduix/normalizeClassName.js +0 -4
  614. package/dist/lib/moduix/overlayPortal.d.ts +0 -9
  615. package/dist/lib/moduix/overlayPortal.js +0 -21
  616. package/dist/lib/moduix/presets/contrast.css +0 -65
  617. package/dist/lib/moduix/presets/dense.css +0 -78
  618. package/dist/lib/moduix/presets/soft.css +0 -77
  619. package/dist/lib/moduix/styles/style.css +0 -301
  620. package/dist/presets/contrast.d.ts +0 -1
  621. package/dist/presets/contrast.js +0 -1
  622. package/dist/presets/dense.d.ts +0 -1
  623. package/dist/presets/dense.js +0 -1
  624. package/dist/presets/soft.d.ts +0 -1
  625. package/dist/presets/soft.js +0 -1
  626. package/dist/reset.d.ts +0 -1
  627. package/dist/reset.js +0 -1
  628. package/dist/style.d.ts +0 -1
  629. package/dist/style.js +0 -1
@@ -1,97 +1,97 @@
1
- import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
- import ImageCropper_module_default from "./ImageCropper.module.js";
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { ImageCropper, useImageCropper, useImageCropperContext } from "@ark-ui/react/image-cropper";
3
4
  import { clsx } from "clsx";
4
5
  import { forwardRef } from "react";
5
- import { jsx, jsxs } from "react/jsx-runtime";
6
- import { ImageCropper, useImageCropper } from "@ark-ui/react/image-cropper";
7
- //#region src/components/image-cropper/ImageCropper.tsx
8
- const ImageCropperRoot = forwardRef(function ImageCropperRoot({ className, ...props }, ref) {
9
- return /* @__PURE__ */ jsx(ImageCropper.Root, {
10
- ref,
11
- "data-slot": "image-cropper-root",
12
- className: clsx(ImageCropper_module_default.root, normalizeClassName(className)),
13
- ...props
14
- });
6
+ import { normalizeClassName } from "../../internal/normalizeClassName.js";
7
+ import ImageCropper_module from "./ImageCropper.module.js";
8
+ const ImageCropper_ImageCropperRoot = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
9
+ return /*#__PURE__*/ jsx(ImageCropper.Root, {
10
+ ref: ref,
11
+ "data-slot": "image-cropper-root",
12
+ className: clsx(ImageCropper_module.root, normalizeClassName(className)),
13
+ ...props
14
+ });
15
15
  });
16
- const ImageCropperRootProvider = forwardRef(function ImageCropperRootProvider({ className, ...props }, ref) {
17
- return /* @__PURE__ */ jsx(ImageCropper.RootProvider, {
18
- ref,
19
- "data-slot": "image-cropper-root-provider",
20
- className: clsx(ImageCropper_module_default.root, normalizeClassName(className)),
21
- ...props
22
- });
16
+ const ImageCropper_ImageCropperRootProvider = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
17
+ return /*#__PURE__*/ jsx(ImageCropper.RootProvider, {
18
+ ref: ref,
19
+ "data-slot": "image-cropper-root-provider",
20
+ className: clsx(ImageCropper_module.root, normalizeClassName(className)),
21
+ ...props
22
+ });
23
23
  });
24
- const ImageCropperViewport = forwardRef(function ImageCropperViewport({ className, ...props }, ref) {
25
- return /* @__PURE__ */ jsx(ImageCropper.Viewport, {
26
- ref,
27
- "data-slot": "image-cropper-viewport",
28
- className: clsx(ImageCropper_module_default.viewport, normalizeClassName(className)),
29
- ...props
30
- });
24
+ const ImageCropper_ImageCropperViewport = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
25
+ return /*#__PURE__*/ jsx(ImageCropper.Viewport, {
26
+ ref: ref,
27
+ "data-slot": "image-cropper-viewport",
28
+ className: clsx(ImageCropper_module.viewport, normalizeClassName(className)),
29
+ ...props
30
+ });
31
31
  });
32
- const ImageCropperImage = forwardRef(function ImageCropperImage({ className, ...props }, ref) {
33
- return /* @__PURE__ */ jsx(ImageCropper.Image, {
34
- ref,
35
- "data-slot": "image-cropper-image",
36
- className: clsx(ImageCropper_module_default.image, normalizeClassName(className)),
37
- ...props
38
- });
32
+ const ImageCropper_ImageCropperImage = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
33
+ return /*#__PURE__*/ jsx(ImageCropper.Image, {
34
+ ref: ref,
35
+ "data-slot": "image-cropper-image",
36
+ className: clsx(ImageCropper_module.image, normalizeClassName(className)),
37
+ ...props
38
+ });
39
39
  });
40
- const ImageCropperSelection = forwardRef(function ImageCropperSelection({ className, ...props }, ref) {
41
- return /* @__PURE__ */ jsx(ImageCropper.Selection, {
42
- ref,
43
- "data-slot": "image-cropper-selection",
44
- className: clsx(ImageCropper_module_default.selection, normalizeClassName(className)),
45
- ...props
46
- });
40
+ const ImageCropper_ImageCropperSelection = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
41
+ return /*#__PURE__*/ jsx(ImageCropper.Selection, {
42
+ ref: ref,
43
+ "data-slot": "image-cropper-selection",
44
+ className: clsx(ImageCropper_module.selection, normalizeClassName(className)),
45
+ ...props
46
+ });
47
47
  });
48
- const ImageCropperGrid = forwardRef(function ImageCropperGrid({ className, ...props }, ref) {
49
- return /* @__PURE__ */ jsx(ImageCropper.Grid, {
50
- ref,
51
- "data-slot": "image-cropper-grid",
52
- className: clsx(ImageCropper_module_default.grid, normalizeClassName(className)),
53
- ...props
54
- });
48
+ const ImageCropper_ImageCropperGrid = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
49
+ return /*#__PURE__*/ jsx(ImageCropper.Grid, {
50
+ ref: ref,
51
+ "data-slot": "image-cropper-grid",
52
+ className: clsx(ImageCropper_module.grid, normalizeClassName(className)),
53
+ ...props
54
+ });
55
55
  });
56
- const ImageCropperHandle = forwardRef(function ImageCropperHandle({ className, ...props }, ref) {
57
- return /* @__PURE__ */ jsx(ImageCropper.Handle, {
58
- ref,
59
- "data-slot": "image-cropper-handle",
60
- className: clsx(ImageCropper_module_default.handle, normalizeClassName(className)),
61
- ...props
62
- });
56
+ const ImageCropper_ImageCropperHandle = /*#__PURE__*/ forwardRef(function({ className, ...props }, ref) {
57
+ return /*#__PURE__*/ jsx(ImageCropper.Handle, {
58
+ ref: ref,
59
+ "data-slot": "image-cropper-handle",
60
+ className: clsx(ImageCropper_module.handle, normalizeClassName(className)),
61
+ ...props
62
+ });
63
63
  });
64
- const ImageCropperCropArea = forwardRef(function ImageCropperCropArea({ gridClassName, handleClassName, ...props }, ref) {
65
- return /* @__PURE__ */ jsxs(ImageCropperSelection, {
66
- ref,
67
- ...props,
68
- children: [
69
- /* @__PURE__ */ jsx(ImageCropperGrid, {
70
- axis: "horizontal",
71
- className: gridClassName
72
- }),
73
- /* @__PURE__ */ jsx(ImageCropperGrid, {
74
- axis: "vertical",
75
- className: gridClassName
76
- }),
77
- ImageCropper.handles.map((position) => /* @__PURE__ */ jsx(ImageCropperHandle, {
78
- position,
79
- className: handleClassName
80
- }, position))
81
- ]
82
- });
64
+ const ImageCropper_ImageCropperCropArea = /*#__PURE__*/ forwardRef(function({ gridClassName, handleClassName, ...props }, ref) {
65
+ const { asChild: _asChild, children: _children, ...selectionProps } = props;
66
+ return /*#__PURE__*/ jsxs(ImageCropper_ImageCropperSelection, {
67
+ ref: ref,
68
+ ...selectionProps,
69
+ children: [
70
+ /*#__PURE__*/ jsx(ImageCropper_ImageCropperGrid, {
71
+ axis: "horizontal",
72
+ className: gridClassName
73
+ }),
74
+ /*#__PURE__*/ jsx(ImageCropper_ImageCropperGrid, {
75
+ axis: "vertical",
76
+ className: gridClassName
77
+ }),
78
+ ImageCropper.handles.map((position)=>/*#__PURE__*/ jsx(ImageCropper_ImageCropperHandle, {
79
+ position: position,
80
+ className: handleClassName
81
+ }, position))
82
+ ]
83
+ });
83
84
  });
84
- const ImageCropper$1 = Object.assign(ImageCropperRoot, {
85
- Root: ImageCropperRoot,
86
- RootProvider: ImageCropperRootProvider,
87
- Context: ImageCropper.Context,
88
- Viewport: ImageCropperViewport,
89
- Image: ImageCropperImage,
90
- Selection: ImageCropperSelection,
91
- Grid: ImageCropperGrid,
92
- Handle: ImageCropperHandle,
93
- CropArea: ImageCropperCropArea,
94
- handles: ImageCropper.handles
85
+ const ImageCropper_ImageCropper = Object.assign(ImageCropper_ImageCropperRoot, {
86
+ Root: ImageCropper_ImageCropperRoot,
87
+ RootProvider: ImageCropper_ImageCropperRootProvider,
88
+ Context: ImageCropper.Context,
89
+ Viewport: ImageCropper_ImageCropperViewport,
90
+ Image: ImageCropper_ImageCropperImage,
91
+ Selection: ImageCropper_ImageCropperSelection,
92
+ Grid: ImageCropper_ImageCropperGrid,
93
+ Handle: ImageCropper_ImageCropperHandle,
94
+ CropArea: ImageCropper_ImageCropperCropArea,
95
+ handles: ImageCropper.handles
95
96
  });
96
- //#endregion
97
- export { ImageCropper$1 as ImageCropper, useImageCropper };
97
+ export { ImageCropper_ImageCropper as ImageCropper, useImageCropper, useImageCropperContext };
@@ -1,12 +1,10 @@
1
- import './ImageCropper.css';
2
- //#region src/components/image-cropper/ImageCropper.module.css
3
- var ImageCropper_module_default = {
4
- "grid": "Bk909a_grid",
5
- "handle": "Bk909a_handle",
6
- "image": "Bk909a_image",
7
- "root": "Bk909a_root",
8
- "selection": "Bk909a_selection",
9
- "viewport": "Bk909a_viewport"
1
+ import "./ImageCropper_module.css";
2
+ const ImageCropper_module = {
3
+ root: "root-nC08p2",
4
+ viewport: "viewport-PRSc53",
5
+ image: "image-FoPSOC",
6
+ selection: "selection-aUs9kH",
7
+ grid: "grid-LmzoH9",
8
+ handle: "handle-qbAAS1"
10
9
  };
11
- //#endregion
12
- export { ImageCropper_module_default as default };
10
+ export default ImageCropper_module;
@@ -0,0 +1,163 @@
1
+ @layer moduix.components {
2
+ .root-nC08p2 {
3
+ --moduix-image-cropper-viewport-height: min(var(--moduix-image-cropper-viewport-min-height, 20rem),
4
+ 62.5vw);
5
+ box-sizing: border-box;
6
+ width: var(--moduix-image-cropper-width, 32rem);
7
+ max-width: var(--moduix-image-cropper-max-width, 100%);
8
+ gap: var(--moduix-image-cropper-gap, var(--moduix-spacing-3));
9
+ color: var(--moduix-image-cropper-color, var(--moduix-color-foreground));
10
+ display: grid;
11
+ }
12
+
13
+ .root-nC08p2[data-dragging], .root-nC08p2[data-panning] {
14
+ cursor: grabbing;
15
+ }
16
+
17
+ .viewport-PRSc53 {
18
+ box-sizing: border-box;
19
+ width: 100%;
20
+ height: var(--moduix-image-cropper-viewport-height);
21
+ border: var(--moduix-image-cropper-border-width, var(--moduix-border-width-sm)) solid
22
+ var(--moduix-image-cropper-border-color, var(--moduix-color-border));
23
+ border-radius: var(--moduix-image-cropper-radius, var(--moduix-radius-lg));
24
+ background: linear-gradient(45deg,
25
+ var(--moduix-image-cropper-checker-color, color-mix(in oklab, var(--moduix-color-muted) 72%, transparent))
26
+ 25%,
27
+ transparent 25%)
28
+ 0 0 / var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4))
29
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)),
30
+ linear-gradient(45deg,
31
+ transparent 75%,
32
+ var(--moduix-image-cropper-checker-color, color-mix(in oklab, var(--moduix-color-muted) 72%, transparent))
33
+ 75%)
34
+ 0 0 / var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4))
35
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)),
36
+ linear-gradient(45deg,
37
+ transparent 75%,
38
+ var(--moduix-image-cropper-checker-color, color-mix(in oklab, var(--moduix-color-muted) 72%, transparent))
39
+ 75%)
40
+ calc(var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)) / -2)
41
+ calc(var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)) / -2) /
42
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4))
43
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)),
44
+ linear-gradient(45deg,
45
+ var(--moduix-image-cropper-checker-color, color-mix(in oklab, var(--moduix-color-muted) 72%, transparent))
46
+ 25%,
47
+ var(--moduix-image-cropper-viewport-bg, var(--moduix-color-background)) 25%)
48
+ calc(var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)) / -2)
49
+ calc(var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4)) / -2) /
50
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4))
51
+ var(--moduix-image-cropper-checker-size, var(--moduix-spacing-4));
52
+ box-shadow: var(--moduix-image-cropper-shadow, none);
53
+ overflow: hidden;
54
+ }
55
+
56
+ .viewport-PRSc53[data-disabled] {
57
+ cursor: grab;
58
+ }
59
+
60
+ .image-FoPSOC {
61
+ object-fit: contain;
62
+ transform-origin: center;
63
+ backface-visibility: hidden;
64
+ width: 100%;
65
+ height: 100%;
66
+ display: block;
67
+ position: absolute;
68
+ inset: 0;
69
+ }
70
+
71
+ .selection-aUs9kH {
72
+ box-sizing: border-box;
73
+ border: var(--moduix-image-cropper-selection-border-width, var(--moduix-border-width-md)) solid
74
+ var(--moduix-image-cropper-selection-border-color, var(--moduix-color-primary));
75
+ border-radius: var(--moduix-image-cropper-selection-radius, var(--moduix-radius-md));
76
+ box-shadow: 0 0 0 9999px var(--moduix-image-cropper-selection-overlay-bg, #00000073),
77
+ inset 0 0 0
78
+ var(--moduix-image-cropper-selection-inner-border-width, var(--moduix-border-width-sm))
79
+ var(--moduix-image-cropper-selection-inner-border-color, #ffffffa3);
80
+ cursor: grab;
81
+ transition: border-color var(--moduix-image-cropper-transition, var(--moduix-transition-default)),
82
+ box-shadow var(--moduix-image-cropper-transition, var(--moduix-transition-default));
83
+ outline: 0;
84
+ }
85
+
86
+ .selection-aUs9kH[data-shape="circle"] {
87
+ border-radius: var(--moduix-image-cropper-selection-circle-radius, var(--moduix-radius-full));
88
+ border-color: #0000;
89
+ }
90
+
91
+ .selection-aUs9kH:focus-visible {
92
+ box-shadow: 0 0 0 9999px var(--moduix-image-cropper-selection-overlay-bg, #00000073),
93
+ inset 0 0 0
94
+ var(--moduix-image-cropper-selection-inner-border-width, var(--moduix-border-width-sm))
95
+ var(--moduix-image-cropper-selection-inner-border-color, #ffffffa3),
96
+ 0 0 0
97
+ var(--moduix-image-cropper-focus-ring-width, var(--moduix-focus-ring-width, var(--moduix-border-width-md)))
98
+ var(--moduix-image-cropper-focus-ring-color, var(--moduix-color-ring));
99
+ }
100
+
101
+ .selection-aUs9kH[data-dragging] {
102
+ cursor: grabbing;
103
+ }
104
+
105
+ .selection-aUs9kH[data-disabled] {
106
+ cursor: default;
107
+ }
108
+
109
+ .grid-LmzoH9 {
110
+ pointer-events: none;
111
+ }
112
+
113
+ .grid-LmzoH9[data-axis="horizontal"] {
114
+ border-block: var(--moduix-image-cropper-grid-width, var(--moduix-border-width-sm)) solid
115
+ var(--moduix-image-cropper-grid-color, #ffffff9e);
116
+ }
117
+
118
+ .grid-LmzoH9[data-axis="vertical"] {
119
+ border-inline: var(--moduix-image-cropper-grid-width, var(--moduix-border-width-sm)) solid
120
+ var(--moduix-image-cropper-grid-color, #ffffff9e);
121
+ }
122
+
123
+ .handle-qbAAS1 {
124
+ z-index: 1;
125
+ box-sizing: border-box;
126
+ width: var(--moduix-image-cropper-handle-size, var(--moduix-spacing-3));
127
+ height: var(--moduix-image-cropper-handle-size, var(--moduix-spacing-3));
128
+ border: var(--moduix-image-cropper-handle-border-width, var(--moduix-border-width-sm)) solid
129
+ var(--moduix-image-cropper-handle-border-color, #ffffffe0);
130
+ border-radius: var(--moduix-image-cropper-handle-radius, var(--moduix-radius-xs));
131
+ background-color: var(--moduix-image-cropper-handle-bg, #fffffff5);
132
+ box-shadow: var(--moduix-image-cropper-handle-shadow, 0 1px 3px #0f172a2e);
133
+ transition: border-color var(--moduix-image-cropper-transition, var(--moduix-transition-default)),
134
+ background-color var(--moduix-image-cropper-transition, var(--moduix-transition-default)),
135
+ box-shadow var(--moduix-image-cropper-transition, var(--moduix-transition-default)),
136
+ opacity var(--moduix-image-cropper-transition, var(--moduix-transition-default));
137
+ position: absolute;
138
+ }
139
+
140
+ .handle-qbAAS1[data-position="n"], .handle-qbAAS1[data-position="s"] {
141
+ height: var(--moduix-image-cropper-handle-edge-thickness, .2rem);
142
+ border-radius: var(--moduix-image-cropper-handle-edge-radius, var(--moduix-radius-full));
143
+ border-width: 0;
144
+ width: 100% !important;
145
+ }
146
+
147
+ .handle-qbAAS1[data-position="e"], .handle-qbAAS1[data-position="w"] {
148
+ width: var(--moduix-image-cropper-handle-edge-thickness, .2rem);
149
+ border-radius: var(--moduix-image-cropper-handle-edge-radius, var(--moduix-radius-full));
150
+ border-width: 0;
151
+ height: 100% !important;
152
+ }
153
+
154
+ .handle-qbAAS1[data-position="nw"], .handle-qbAAS1[data-position="ne"], .handle-qbAAS1[data-position="se"], .handle-qbAAS1[data-position="sw"] {
155
+ z-index: 2;
156
+ background-color: #fff;
157
+ }
158
+
159
+ .handle-qbAAS1[data-disabled] {
160
+ display: none;
161
+ }
162
+ }
163
+
@@ -1,2 +1 @@
1
- import { ImageCropper, useImageCropper } from "./ImageCropper.js";
2
- export { ImageCropper, useImageCropper };
1
+ export { ImageCropper, useImageCropper, useImageCropperContext } from './ImageCropper.js';
@@ -0,0 +1 @@
1
+ export { ImageCropper, useImageCropper, useImageCropperContext } from "./ImageCropper.js";
@@ -1,15 +1,12 @@
1
- import { ComponentProps } from "react";
2
- import { Field } from "@ark-ui/react/field";
3
-
4
- //#region src/components/input/Input.d.ts
5
- declare const Input: import("react").ForwardRefExoticComponent<Omit<Omit<Field.InputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
6
- size?: "xs" | "sm" | "md" | "lg" | "xl";
7
- htmlSize?: ComponentProps<"input">["size"];
8
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>> & {
9
- Root: import("react").ForwardRefExoticComponent<Omit<Omit<Field.InputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
1
+ import { Field as FieldPrimitive } from '@ark-ui/react/field';
2
+ import type { ComponentProps } from 'react';
3
+ declare const Input: import("react").ForwardRefExoticComponent<Omit<Omit<FieldPrimitive.InputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
10
4
  size?: "xs" | "sm" | "md" | "lg" | "xl";
11
5
  htmlSize?: ComponentProps<"input">["size"];
12
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
6
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>> & {
7
+ Root: import("react").ForwardRefExoticComponent<Omit<Omit<FieldPrimitive.InputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
8
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
9
+ htmlSize?: ComponentProps<"input">["size"];
10
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
13
11
  };
14
- //#endregion
15
- export { Input };
12
+ export { Input };
@@ -1,22 +1,23 @@
1
- import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
- import Input_module_default from "./Input.module.js";
3
- import { clsx } from "clsx";
4
- import { forwardRef } from "react";
5
1
  import { jsx } from "react/jsx-runtime";
6
2
  import { Field } from "@ark-ui/react/field";
7
- //#region src/components/input/Input.tsx
8
- const InputRoot = forwardRef(function InputRoot({ className, size = "md", htmlSize, ...props }, ref) {
9
- return /* @__PURE__ */ jsx(Field.Input, {
10
- ref,
11
- "data-scope": "field",
12
- "data-part": "input",
13
- "data-slot": "input-root",
14
- "data-size": size,
15
- className: clsx(Input_module_default.root, normalizeClassName(className)),
16
- size: htmlSize,
17
- ...props
18
- });
3
+ import { clsx } from "clsx";
4
+ import { forwardRef } from "react";
5
+ import { normalizeClassName } from "../../internal/normalizeClassName.js";
6
+ import Input_module from "./Input.module.js";
7
+ const Input_InputRoot = /*#__PURE__*/ forwardRef(function({ className, size = 'md', htmlSize, ...props }, ref) {
8
+ return /*#__PURE__*/ jsx(Field.Input, {
9
+ ...props,
10
+ ref: ref,
11
+ "data-scope": "field",
12
+ "data-part": "input",
13
+ "data-slot": "input-root",
14
+ "data-size": size,
15
+ "data-html-size": void 0 === htmlSize ? void 0 : '',
16
+ className: clsx(Input_module.root, normalizeClassName(className)),
17
+ size: htmlSize
18
+ });
19
+ });
20
+ const Input = Object.assign(Input_InputRoot, {
21
+ Root: Input_InputRoot
19
22
  });
20
- const Input = Object.assign(InputRoot, { Root: InputRoot });
21
- //#endregion
22
23
  export { Input };
@@ -1,5 +1,5 @@
1
- import './Input.css';
2
- //#region src/components/input/Input.module.css
3
- var Input_module_default = { "root": "wmyYha_root" };
4
- //#endregion
5
- export { Input_module_default as default };
1
+ import "./Input_module.css";
2
+ const Input_module = {
3
+ root: "root-cSSoZX"
4
+ };
5
+ export default Input_module;
@@ -0,0 +1,110 @@
1
+ @layer moduix.components {
2
+ .root-cSSoZX {
3
+ box-sizing: border-box;
4
+ width: var(--moduix-input-width, var(--moduix-input-default-width, 100%));
5
+ max-width: var(--moduix-input-max-width, none);
6
+ min-height: var(--moduix-input-height, var(--moduix-input-height-md, var(--moduix-size-md)));
7
+ border: var(--moduix-input-border-width, var(--moduix-border-width-sm))
8
+ var(--moduix-input-border-style, solid)
9
+ var(--moduix-input-border-color, var(--moduix-color-border));
10
+ border-radius: var(--moduix-input-radius, var(--moduix-radius-md));
11
+ padding: var(--moduix-input-padding-y, var(--moduix-input-padding-y-md, var(--moduix-spacing-1)))
12
+ var(--moduix-input-padding-x, var(--moduix-input-padding-x-md, var(--moduix-spacing-3)));
13
+ background-color: var(--moduix-input-bg, var(--moduix-color-background));
14
+ color: var(--moduix-input-color, var(--moduix-color-foreground));
15
+ font: inherit;
16
+ font-size: var(--moduix-input-font-size, var(--moduix-input-font-size-md, var(--moduix-text-md)));
17
+ line-height: var(--moduix-input-line-height, var(--moduix-input-line-height-md, var(--moduix-line-height-text-md)));
18
+ outline: var(--moduix-input-focus-ring-width, var(--moduix-input-border-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))))
19
+ solid transparent;
20
+ outline-offset: var(--moduix-input-focus-ring-offset, calc(0px - var(--moduix-input-border-width, var(--moduix-border-width-sm))));
21
+ transition: border-color var(--moduix-input-transition, var(--moduix-transition-default)),
22
+ outline-color var(--moduix-input-transition, var(--moduix-transition-default)),
23
+ opacity var(--moduix-input-transition, var(--moduix-transition-default));
24
+ margin: 0;
25
+ }
26
+
27
+ .root-cSSoZX::placeholder {
28
+ color: var(--moduix-input-placeholder-color, var(--moduix-color-muted-foreground));
29
+ }
30
+
31
+ .root-cSSoZX::file-selector-button {
32
+ border: var(--moduix-button-border-width, var(--moduix-border-width-sm)) solid
33
+ var(--moduix-button-default-border-color, var(--moduix-color-primary));
34
+ border-radius: var(--moduix-button-radius, var(--moduix-radius-md));
35
+ padding: var(--moduix-spacing-0-5) var(--moduix-spacing-2);
36
+ background-color: var(--moduix-button-default-bg, var(--moduix-color-primary));
37
+ color: var(--moduix-button-default-color, var(--moduix-color-primary-foreground));
38
+ font: inherit;
39
+ font-weight: var(--moduix-button-font-weight, var(--moduix-weight-medium));
40
+ line-height: inherit;
41
+ cursor: pointer;
42
+ transition: background-color var(--moduix-input-transition, var(--moduix-transition-default));
43
+ margin-inline-end: var(--moduix-spacing-3);
44
+ }
45
+
46
+ @media (hover: hover) {
47
+ .root-cSSoZX::file-selector-button:hover {
48
+ background-color: var(--moduix-button-default-bg-hover, var(--moduix-color-foreground));
49
+ }
50
+ }
51
+
52
+ .root-cSSoZX[data-html-size] {
53
+ --moduix-input-default-width: auto;
54
+ }
55
+
56
+ .root-cSSoZX:focus-visible {
57
+ outline-color: var(--moduix-input-focus-ring-color, var(--moduix-color-ring));
58
+ }
59
+
60
+ .root-cSSoZX:is([data-invalid], [aria-invalid="true"]) {
61
+ border-color: var(--moduix-input-border-color-invalid, var(--moduix-color-destructive));
62
+ }
63
+
64
+ .root-cSSoZX:is([data-invalid], [aria-invalid="true"]):focus-visible {
65
+ outline-color: var(--moduix-input-border-color-invalid, var(--moduix-color-destructive));
66
+ }
67
+
68
+ .root-cSSoZX:is([data-disabled], :disabled) {
69
+ pointer-events: none;
70
+ opacity: var(--moduix-input-disabled-opacity, var(--moduix-opacity-disabled));
71
+ }
72
+
73
+ .root-cSSoZX:is(:read-only, [data-readonly]) {
74
+ background-color: var(--moduix-input-readonly-bg, var(--moduix-input-bg, var(--moduix-color-background)));
75
+ color: var(--moduix-input-readonly-color, var(--moduix-input-color, var(--moduix-color-foreground)));
76
+ }
77
+
78
+ .root-cSSoZX[data-size="xs"] {
79
+ --moduix-input-height: var(--moduix-input-height-xs, var(--moduix-size-xs));
80
+ --moduix-input-padding-x: var(--moduix-input-padding-x-xs, var(--moduix-spacing-2));
81
+ --moduix-input-padding-y: var(--moduix-input-padding-y-xs, var(--moduix-spacing-0-5));
82
+ --moduix-input-font-size: var(--moduix-input-font-size-xs, var(--moduix-text-xs));
83
+ --moduix-input-line-height: var(--moduix-input-line-height-xs, var(--moduix-line-height-text-xs));
84
+ }
85
+
86
+ .root-cSSoZX[data-size="sm"] {
87
+ --moduix-input-height: var(--moduix-input-height-sm, var(--moduix-size-sm));
88
+ --moduix-input-padding-x: var(--moduix-input-padding-x-sm, var(--moduix-spacing-2));
89
+ --moduix-input-padding-y: var(--moduix-input-padding-y-sm, var(--moduix-spacing-1));
90
+ --moduix-input-font-size: var(--moduix-input-font-size-sm, var(--moduix-text-sm));
91
+ --moduix-input-line-height: var(--moduix-input-line-height-sm, var(--moduix-line-height-text-sm));
92
+ }
93
+
94
+ .root-cSSoZX[data-size="lg"] {
95
+ --moduix-input-height: var(--moduix-input-height-lg, var(--moduix-size-lg));
96
+ --moduix-input-padding-x: var(--moduix-input-padding-x-lg, var(--moduix-spacing-4));
97
+ --moduix-input-padding-y: var(--moduix-input-padding-y-lg, var(--moduix-spacing-1));
98
+ --moduix-input-font-size: var(--moduix-input-font-size-lg, var(--moduix-text-lg));
99
+ --moduix-input-line-height: var(--moduix-input-line-height-lg, var(--moduix-line-height-text-lg));
100
+ }
101
+
102
+ .root-cSSoZX[data-size="xl"] {
103
+ --moduix-input-height: var(--moduix-input-height-xl, var(--moduix-size-xl));
104
+ --moduix-input-padding-x: var(--moduix-input-padding-x-xl, var(--moduix-spacing-4));
105
+ --moduix-input-padding-y: var(--moduix-input-padding-y-xl, var(--moduix-spacing-2));
106
+ --moduix-input-font-size: var(--moduix-input-font-size-xl, var(--moduix-text-lg));
107
+ --moduix-input-line-height: var(--moduix-input-line-height-xl, var(--moduix-line-height-text-lg));
108
+ }
109
+ }
110
+
@@ -1,2 +1 @@
1
- import { Input } from "./Input.js";
2
- export { Input };
1
+ export { Input } from './Input.js';
@@ -0,0 +1 @@
1
+ export { Input } from "./Input.js";
@@ -1,28 +1,25 @@
1
- import { Input } from "../input/Input.js";
2
- import { ComponentProps } from "react";
3
-
4
- //#region src/components/input-group/InputGroup.d.ts
1
+ import { type ComponentProps } from 'react';
2
+ import { Input } from '../input';
5
3
  type InputGroupSize = NonNullable<ComponentProps<typeof Input>['size']>;
6
4
  declare const InputGroup: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
7
- size?: InputGroupSize;
8
- } & import("react").RefAttributes<HTMLDivElement>> & {
9
- Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
10
5
  size?: InputGroupSize;
11
- } & import("react").RefAttributes<HTMLDivElement>>;
12
- Input: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("@ark-ui/react/field").FieldInputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
13
- size?: "xs" | "sm" | "md" | "lg" | "xl";
14
- htmlSize?: ComponentProps<"input">["size"];
15
- }, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
16
- Addon: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
17
- Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
18
- Button: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
19
- loading?: boolean;
20
- variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
21
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
22
- 'data-scope'?: string;
23
- 'data-part'?: string;
24
- 'data-slot'?: string;
25
- } & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ } & import("react").RefAttributes<HTMLDivElement>> & {
7
+ Root: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
8
+ size?: InputGroupSize;
9
+ } & import("react").RefAttributes<HTMLDivElement>>;
10
+ Input: import("react").ForwardRefExoticComponent<Omit<Omit<Omit<import("@ark-ui/react/field").FieldInputProps & import("react").RefAttributes<HTMLInputElement>, "size"> & {
11
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
12
+ htmlSize?: ComponentProps<"input">["size"];
13
+ }, "ref"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
14
+ Addon: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
15
+ Text: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & import("react").RefAttributes<HTMLSpanElement>>;
16
+ Button: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import("@ark-ui/react/factory").PolymorphicProps & {
17
+ loading?: boolean;
18
+ variant?: "default" | "outline" | "secondary" | "destructive" | "destructive-outline" | "ghost" | "link";
19
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | "icon-sm" | "icon-md" | "icon-lg";
20
+ 'data-scope'?: string;
21
+ 'data-part'?: string;
22
+ 'data-slot'?: string;
23
+ } & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
26
24
  };
27
- //#endregion
28
- export { InputGroup };
25
+ export { InputGroup };