@moduix/react 1.1.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/README.md +16 -16
  2. package/dist/components/accordion/Accordion.css +21 -14
  3. package/dist/components/accordion/Accordion.d.ts +3 -2
  4. package/dist/components/accordion/Accordion.js +17 -5
  5. package/dist/components/accordion/Accordion.module.js +10 -9
  6. package/dist/components/accordion/index.d.ts +2 -2
  7. package/dist/components/alert/Alert.css +24 -10
  8. package/dist/components/alert/Alert.d.ts +5 -3
  9. package/dist/components/alert/Alert.js +17 -5
  10. package/dist/components/alert/Alert.module.js +6 -5
  11. package/dist/components/angle-slider/AngleSlider.css +8 -8
  12. package/dist/components/angle-slider/AngleSlider.d.ts +18 -2
  13. package/dist/components/angle-slider/AngleSlider.js +34 -18
  14. package/dist/components/angle-slider/AngleSlider.module.js +7 -7
  15. package/dist/components/angle-slider/index.d.ts +2 -2
  16. package/dist/components/aspect-ratio/AspectRatio.css +4 -2
  17. package/dist/components/aspect-ratio/AspectRatio.js +2 -2
  18. package/dist/components/aspect-ratio/AspectRatio.module.js +1 -1
  19. package/dist/components/avatar/Avatar.css +3 -3
  20. package/dist/components/avatar/Avatar.d.ts +6 -3
  21. package/dist/components/avatar/Avatar.js +12 -5
  22. package/dist/components/avatar/Avatar.module.js +3 -3
  23. package/dist/components/avatar/index.d.ts +2 -2
  24. package/dist/components/badge/Badge.css +46 -3
  25. package/dist/components/badge/Badge.d.ts +2 -2
  26. package/dist/components/badge/Badge.js +1 -1
  27. package/dist/components/badge/Badge.module.js +2 -2
  28. package/dist/components/bleed/Bleed.css +1 -1
  29. package/dist/components/bleed/Bleed.d.ts +6 -4
  30. package/dist/components/bleed/Bleed.js +3 -3
  31. package/dist/components/bleed/Bleed.module.js +1 -1
  32. package/dist/components/breadcrumbs/Breadcrumbs.css +17 -11
  33. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +18 -0
  34. package/dist/components/breadcrumbs/Breadcrumbs.js +18 -4
  35. package/dist/components/breadcrumbs/Breadcrumbs.module.js +8 -7
  36. package/dist/components/breadcrumbs/index.d.ts +2 -0
  37. package/dist/components/button/Button.css +22 -2
  38. package/dist/components/button/Button.d.ts +6 -0
  39. package/dist/components/button/Button.js +12 -7
  40. package/dist/components/button/Button.module.js +1 -1
  41. package/dist/components/card/Card.css +29 -13
  42. package/dist/components/card/Card.d.ts +1 -0
  43. package/dist/components/card/Card.js +12 -1
  44. package/dist/components/card/Card.module.js +9 -8
  45. package/dist/components/carousel/Carousel.css +20 -18
  46. package/dist/components/carousel/Carousel.d.ts +4 -0
  47. package/dist/components/carousel/Carousel.js +15 -2
  48. package/dist/components/carousel/Carousel.module.js +12 -12
  49. package/dist/components/checkbox/Checkbox.css +11 -11
  50. package/dist/components/checkbox/Checkbox.d.ts +2 -3
  51. package/dist/components/checkbox/Checkbox.js +25 -22
  52. package/dist/components/checkbox/Checkbox.module.js +6 -6
  53. package/dist/components/checkbox/index.d.ts +2 -2
  54. package/dist/components/clipboard/Clipboard.css +8 -8
  55. package/dist/components/clipboard/Clipboard.d.ts +2 -0
  56. package/dist/components/clipboard/Clipboard.js +15 -4
  57. package/dist/components/clipboard/Clipboard.module.js +8 -8
  58. package/dist/components/close-button/CloseButton.css +1 -1
  59. package/dist/components/close-button/CloseButton.d.ts +12 -2
  60. package/dist/components/close-button/CloseButton.js +9 -9
  61. package/dist/components/close-button/CloseButton.module.js +1 -1
  62. package/dist/components/collapsible/Collapsible.css +17 -10
  63. package/dist/components/collapsible/Collapsible.d.ts +3 -2
  64. package/dist/components/collapsible/Collapsible.js +18 -6
  65. package/dist/components/collapsible/Collapsible.module.js +7 -6
  66. package/dist/components/collapsible/index.d.ts +2 -2
  67. package/dist/components/color-picker/ColorPicker.css +63 -34
  68. package/dist/components/color-picker/ColorPicker.d.ts +3 -3
  69. package/dist/components/color-picker/ColorPicker.js +78 -27
  70. package/dist/components/color-picker/ColorPicker.module.js +28 -27
  71. package/dist/components/color-picker/index.d.ts +2 -2
  72. package/dist/components/combobox/Combobox.css +55 -26
  73. package/dist/components/combobox/Combobox.d.ts +9 -2
  74. package/dist/components/combobox/Combobox.js +34 -8
  75. package/dist/components/combobox/Combobox.module.js +17 -17
  76. package/dist/components/combobox/index.d.ts +2 -2
  77. package/dist/components/command-palette/CommandPalette.css +80 -114
  78. package/dist/components/command-palette/CommandPalette.d.ts +13 -3
  79. package/dist/components/command-palette/CommandPalette.js +54 -43
  80. package/dist/components/command-palette/CommandPalette.module.js +35 -37
  81. package/dist/components/container/Container.css +1 -1
  82. package/dist/components/container/Container.js +1 -1
  83. package/dist/components/container/Container.module.js +1 -1
  84. package/dist/components/date-input/DateInput.css +9 -7
  85. package/dist/components/date-input/DateInput.d.ts +12 -7
  86. package/dist/components/date-input/DateInput.js +35 -14
  87. package/dist/components/date-input/DateInput.module.js +6 -6
  88. package/dist/components/date-input/index.d.ts +2 -2
  89. package/dist/components/date-picker/DatePicker.css +68 -40
  90. package/dist/components/date-picker/DatePicker.d.ts +30 -2
  91. package/dist/components/date-picker/DatePicker.js +94 -9
  92. package/dist/components/date-picker/DatePicker.module.js +23 -23
  93. package/dist/components/date-picker/index.d.ts +2 -2
  94. package/dist/components/dialog/Dialog.css +31 -27
  95. package/dist/components/dialog/Dialog.d.ts +2 -2
  96. package/dist/components/dialog/Dialog.js +3 -3
  97. package/dist/components/dialog/Dialog.module.js +15 -15
  98. package/dist/components/dialog/index.d.ts +2 -2
  99. package/dist/components/drawer/Drawer.css +40 -40
  100. package/dist/components/drawer/Drawer.d.ts +2 -2
  101. package/dist/components/drawer/Drawer.js +3 -3
  102. package/dist/components/drawer/Drawer.module.js +26 -26
  103. package/dist/components/drawer/index.d.ts +2 -2
  104. package/dist/components/editable/Editable.css +10 -10
  105. package/dist/components/editable/Editable.d.ts +9 -2
  106. package/dist/components/editable/Editable.js +14 -5
  107. package/dist/components/editable/Editable.module.js +7 -7
  108. package/dist/components/editable/index.d.ts +2 -2
  109. package/dist/components/empty/Empty.css +6 -6
  110. package/dist/components/empty/Empty.js +1 -1
  111. package/dist/components/empty/Empty.module.js +6 -6
  112. package/dist/components/field/Field.css +8 -12
  113. package/dist/components/field/Field.d.ts +3 -2
  114. package/dist/components/field/Field.js +6 -5
  115. package/dist/components/field/Field.module.js +8 -9
  116. package/dist/components/field/index.d.ts +2 -2
  117. package/dist/components/fieldset/Fieldset.css +6 -6
  118. package/dist/components/fieldset/Fieldset.d.ts +2 -2
  119. package/dist/components/fieldset/Fieldset.js +3 -3
  120. package/dist/components/fieldset/Fieldset.module.js +4 -4
  121. package/dist/components/fieldset/index.d.ts +2 -2
  122. package/dist/components/file-upload/FileUpload.css +97 -24
  123. package/dist/components/file-upload/FileUpload.d.ts +22 -5
  124. package/dist/components/file-upload/FileUpload.js +79 -21
  125. package/dist/components/file-upload/FileUpload.module.js +16 -13
  126. package/dist/components/file-upload/index.d.ts +2 -2
  127. package/dist/components/floating-panel/FloatingPanel.css +28 -24
  128. package/dist/components/floating-panel/FloatingPanel.d.ts +11 -3
  129. package/dist/components/floating-panel/FloatingPanel.js +15 -9
  130. package/dist/components/floating-panel/FloatingPanel.module.js +14 -14
  131. package/dist/components/heading/Heading.css +1 -1
  132. package/dist/components/heading/Heading.js +1 -1
  133. package/dist/components/heading/Heading.module.js +1 -1
  134. package/dist/components/highlight/Highlight.css +1 -1
  135. package/dist/components/highlight/Highlight.js +1 -1
  136. package/dist/components/highlight/Highlight.module.js +1 -1
  137. package/dist/components/hover-card/HoverCard.css +21 -17
  138. package/dist/components/hover-card/HoverCard.d.ts +3 -2
  139. package/dist/components/hover-card/HoverCard.js +5 -4
  140. package/dist/components/hover-card/HoverCard.module.js +7 -7
  141. package/dist/components/hover-card/index.d.ts +2 -2
  142. package/dist/components/image/Image.css +7 -0
  143. package/dist/components/image/Image.d.ts +12 -0
  144. package/dist/components/image/Image.js +28 -0
  145. package/dist/components/image/Image.module.js +5 -0
  146. package/dist/components/image/index.d.ts +2 -0
  147. package/dist/components/image-cropper/ImageCropper.css +6 -6
  148. package/dist/components/image-cropper/ImageCropper.d.ts +7 -2
  149. package/dist/components/image-cropper/ImageCropper.js +25 -3
  150. package/dist/components/image-cropper/ImageCropper.module.js +6 -6
  151. package/dist/components/image-cropper/index.d.ts +2 -2
  152. package/dist/components/input/Input.css +1 -1
  153. package/dist/components/input/Input.js +1 -1
  154. package/dist/components/input/Input.module.js +1 -1
  155. package/dist/components/input-group/InputGroup.css +6 -6
  156. package/dist/components/input-group/InputGroup.d.ts +3 -0
  157. package/dist/components/input-group/InputGroup.js +1 -1
  158. package/dist/components/input-group/InputGroup.module.js +5 -5
  159. package/dist/components/kbd/Kbd.css +2 -2
  160. package/dist/components/kbd/Kbd.js +1 -1
  161. package/dist/components/kbd/Kbd.module.js +2 -2
  162. package/dist/components/lightbox/Lightbox.css +30 -28
  163. package/dist/components/lightbox/Lightbox.d.ts +4 -2
  164. package/dist/components/lightbox/Lightbox.js +9 -7
  165. package/dist/components/lightbox/Lightbox.module.js +16 -16
  166. package/dist/components/lightbox/index.d.ts +2 -2
  167. package/dist/components/list/List.css +1 -1
  168. package/dist/components/list/List.js +1 -1
  169. package/dist/components/list/List.module.js +1 -1
  170. package/dist/components/listbox/Listbox.css +76 -17
  171. package/dist/components/listbox/Listbox.d.ts +14 -2
  172. package/dist/components/listbox/Listbox.js +41 -5
  173. package/dist/components/listbox/Listbox.module.js +17 -14
  174. package/dist/components/listbox/index.d.ts +2 -2
  175. package/dist/components/marquee/Marquee.css +10 -10
  176. package/dist/components/marquee/Marquee.d.ts +2 -1
  177. package/dist/components/marquee/Marquee.js +4 -3
  178. package/dist/components/marquee/Marquee.module.js +7 -7
  179. package/dist/components/marquee/index.d.ts +2 -2
  180. package/dist/components/menu/Menu.css +46 -40
  181. package/dist/components/menu/Menu.d.ts +3 -2
  182. package/dist/components/menu/Menu.js +6 -5
  183. package/dist/components/menu/Menu.module.js +27 -27
  184. package/dist/components/menu/index.d.ts +2 -2
  185. package/dist/components/native-select/NativeSelect.css +5 -5
  186. package/dist/components/native-select/NativeSelect.d.ts +6 -2
  187. package/dist/components/native-select/NativeSelect.js +5 -4
  188. package/dist/components/native-select/NativeSelect.module.js +3 -3
  189. package/dist/components/number-input/NumberInput.css +11 -17
  190. package/dist/components/number-input/NumberInput.d.ts +7 -2
  191. package/dist/components/number-input/NumberInput.js +17 -4
  192. package/dist/components/number-input/NumberInput.module.js +8 -8
  193. package/dist/components/number-input/index.d.ts +2 -2
  194. package/dist/components/pagination/Pagination.css +8 -8
  195. package/dist/components/pagination/Pagination.d.ts +4 -0
  196. package/dist/components/pagination/Pagination.js +13 -4
  197. package/dist/components/pagination/Pagination.module.js +6 -6
  198. package/dist/components/password-input/PasswordInput.css +7 -7
  199. package/dist/components/password-input/PasswordInput.d.ts +4 -0
  200. package/dist/components/password-input/PasswordInput.js +10 -2
  201. package/dist/components/password-input/PasswordInput.module.js +6 -6
  202. package/dist/components/pin-input/PinInput.css +5 -5
  203. package/dist/components/pin-input/PinInput.d.ts +6 -1
  204. package/dist/components/pin-input/PinInput.js +25 -16
  205. package/dist/components/pin-input/PinInput.module.js +5 -5
  206. package/dist/components/popover/Popover.css +33 -24
  207. package/dist/components/popover/Popover.js +1 -1
  208. package/dist/components/popover/Popover.module.js +14 -14
  209. package/dist/components/progress-circular/ProgressCircular.css +8 -8
  210. package/dist/components/progress-circular/ProgressCircular.d.ts +6 -0
  211. package/dist/components/progress-circular/ProgressCircular.js +14 -3
  212. package/dist/components/progress-circular/ProgressCircular.module.js +8 -8
  213. package/dist/components/progress-linear/ProgressLinear.css +8 -8
  214. package/dist/components/progress-linear/ProgressLinear.d.ts +3 -0
  215. package/dist/components/progress-linear/ProgressLinear.js +6 -3
  216. package/dist/components/progress-linear/ProgressLinear.module.js +8 -8
  217. package/dist/components/qr-code/QrCode.css +13 -12
  218. package/dist/components/qr-code/QrCode.d.ts +2 -2
  219. package/dist/components/qr-code/QrCode.js +3 -3
  220. package/dist/components/qr-code/QrCode.module.js +5 -5
  221. package/dist/components/qr-code/index.d.ts +2 -2
  222. package/dist/components/radio-group/RadioGroup.css +6 -6
  223. package/dist/components/radio-group/RadioGroup.d.ts +8 -4
  224. package/dist/components/radio-group/RadioGroup.js +22 -14
  225. package/dist/components/radio-group/RadioGroup.module.js +6 -6
  226. package/dist/components/radio-group/index.d.ts +2 -2
  227. package/dist/components/rating-group/RatingGroup.css +14 -14
  228. package/dist/components/rating-group/RatingGroup.d.ts +11 -4
  229. package/dist/components/rating-group/RatingGroup.js +29 -18
  230. package/dist/components/rating-group/RatingGroup.module.js +7 -7
  231. package/dist/components/rating-group/index.d.ts +2 -2
  232. package/dist/components/scroll-area/ScrollArea.css +14 -9
  233. package/dist/components/scroll-area/ScrollArea.d.ts +3 -0
  234. package/dist/components/scroll-area/ScrollArea.js +9 -6
  235. package/dist/components/scroll-area/ScrollArea.module.js +6 -6
  236. package/dist/components/segment-group/SegmentGroup.css +6 -6
  237. package/dist/components/segment-group/SegmentGroup.d.ts +13 -3
  238. package/dist/components/segment-group/SegmentGroup.js +23 -15
  239. package/dist/components/segment-group/SegmentGroup.module.js +6 -6
  240. package/dist/components/segment-group/index.d.ts +2 -2
  241. package/dist/components/select/Select.css +49 -40
  242. package/dist/components/select/Select.d.ts +18 -4
  243. package/dist/components/select/Select.js +65 -20
  244. package/dist/components/select/Select.module.js +21 -21
  245. package/dist/components/separator/Separator.css +1 -1
  246. package/dist/components/separator/Separator.js +1 -1
  247. package/dist/components/separator/Separator.module.js +1 -1
  248. package/dist/components/sidebar/Sidebar.css +169 -32
  249. package/dist/components/sidebar/Sidebar.d.ts +26 -0
  250. package/dist/components/sidebar/Sidebar.js +105 -13
  251. package/dist/components/sidebar/Sidebar.module.js +23 -17
  252. package/dist/components/signature-pad/SignaturePad.css +18 -47
  253. package/dist/components/signature-pad/SignaturePad.d.ts +14 -6
  254. package/dist/components/signature-pad/SignaturePad.js +56 -17
  255. package/dist/components/signature-pad/SignaturePad.module.js +6 -6
  256. package/dist/components/signature-pad/index.d.ts +2 -2
  257. package/dist/components/simple-grid/SimpleGrid.js +3 -3
  258. package/dist/components/skeleton/Skeleton.css +1 -1
  259. package/dist/components/skeleton/Skeleton.js +1 -1
  260. package/dist/components/skeleton/Skeleton.module.js +1 -1
  261. package/dist/components/slider/Slider.css +16 -14
  262. package/dist/components/slider/Slider.d.ts +12 -3
  263. package/dist/components/slider/Slider.js +24 -15
  264. package/dist/components/slider/Slider.module.js +10 -10
  265. package/dist/components/slider/index.d.ts +2 -2
  266. package/dist/components/spinner/Spinner.css +9 -9
  267. package/dist/components/spinner/Spinner.js +2 -2
  268. package/dist/components/spinner/Spinner.module.js +3 -3
  269. package/dist/components/split-button/SplitButton.css +9 -9
  270. package/dist/components/split-button/SplitButton.d.ts +1 -1
  271. package/dist/components/split-button/SplitButton.js +3 -4
  272. package/dist/components/split-button/SplitButton.module.js +3 -3
  273. package/dist/components/splitter/Splitter.css +27 -22
  274. package/dist/components/splitter/Splitter.d.ts +2 -2
  275. package/dist/components/splitter/Splitter.js +12 -11
  276. package/dist/components/splitter/Splitter.module.js +4 -4
  277. package/dist/components/splitter/index.d.ts +2 -2
  278. package/dist/components/stack/Stack.css +2 -2
  279. package/dist/components/stack/Stack.d.ts +1 -3
  280. package/dist/components/stack/Stack.js +4 -6
  281. package/dist/components/stack/Stack.module.js +1 -1
  282. package/dist/components/steps/Steps.css +14 -14
  283. package/dist/components/steps/Steps.d.ts +2 -1
  284. package/dist/components/steps/Steps.js +5 -4
  285. package/dist/components/steps/Steps.module.js +11 -11
  286. package/dist/components/swap/Swap.css +45 -0
  287. package/dist/components/swap/Swap.d.ts +11 -0
  288. package/dist/components/swap/Swap.js +39 -0
  289. package/dist/components/swap/Swap.module.js +11 -0
  290. package/dist/components/swap/index.d.ts +2 -0
  291. package/dist/components/switch/Switch.css +11 -11
  292. package/dist/components/switch/Switch.d.ts +4 -4
  293. package/dist/components/switch/Switch.js +19 -16
  294. package/dist/components/switch/Switch.module.js +4 -4
  295. package/dist/components/switch/index.d.ts +2 -2
  296. package/dist/components/table/Table.css +18 -18
  297. package/dist/components/table/Table.js +3 -2
  298. package/dist/components/table/Table.module.js +11 -12
  299. package/dist/components/tabs/Tabs.css +12 -10
  300. package/dist/components/tabs/Tabs.d.ts +3 -2
  301. package/dist/components/tabs/Tabs.js +5 -4
  302. package/dist/components/tabs/Tabs.module.js +5 -5
  303. package/dist/components/tabs/index.d.ts +2 -2
  304. package/dist/components/tag/Tag.css +16 -46
  305. package/dist/components/tag/Tag.js +7 -20
  306. package/dist/components/tag/Tag.module.js +5 -5
  307. package/dist/components/tags-input/TagsInput.css +13 -50
  308. package/dist/components/tags-input/TagsInput.d.ts +7 -4
  309. package/dist/components/tags-input/TagsInput.js +33 -21
  310. package/dist/components/tags-input/TagsInput.module.js +10 -10
  311. package/dist/components/tags-input/index.d.ts +2 -2
  312. package/dist/components/text/Text.css +1 -1
  313. package/dist/components/text/Text.d.ts +2 -2
  314. package/dist/components/text/Text.js +1 -1
  315. package/dist/components/text/Text.module.js +1 -1
  316. package/dist/components/textarea/Textarea.css +7 -7
  317. package/dist/components/textarea/Textarea.js +1 -1
  318. package/dist/components/textarea/Textarea.module.js +1 -1
  319. package/dist/components/timer/Timer.css +6 -6
  320. package/dist/components/timer/Timer.d.ts +14 -2
  321. package/dist/components/timer/Timer.js +13 -5
  322. package/dist/components/timer/Timer.module.js +6 -6
  323. package/dist/components/timer/index.d.ts +2 -2
  324. package/dist/components/toast/Toast.css +8 -8
  325. package/dist/components/toast/Toast.d.ts +3 -1
  326. package/dist/components/toast/Toast.js +11 -2
  327. package/dist/components/toast/Toast.module.js +6 -6
  328. package/dist/components/toggle/Toggle.css +5 -5
  329. package/dist/components/toggle/Toggle.d.ts +3 -2
  330. package/dist/components/toggle/Toggle.js +5 -4
  331. package/dist/components/toggle/Toggle.module.js +2 -2
  332. package/dist/components/toggle/index.d.ts +2 -2
  333. package/dist/components/toggle-group/ToggleGroup.css +3 -3
  334. package/dist/components/toggle-group/ToggleGroup.d.ts +3 -2
  335. package/dist/components/toggle-group/ToggleGroup.js +4 -3
  336. package/dist/components/toggle-group/ToggleGroup.module.js +2 -2
  337. package/dist/components/toggle-group/index.d.ts +2 -2
  338. package/dist/components/tooltip/Tooltip.css +21 -17
  339. package/dist/components/tooltip/Tooltip.d.ts +3 -2
  340. package/dist/components/tooltip/Tooltip.js +10 -3
  341. package/dist/components/tooltip/Tooltip.module.js +7 -7
  342. package/dist/components/tooltip/index.d.ts +2 -2
  343. package/dist/components/tour/Tour.css +42 -37
  344. package/dist/components/tour/Tour.d.ts +6 -0
  345. package/dist/components/tour/Tour.js +8 -1
  346. package/dist/components/tour/Tour.module.js +17 -17
  347. package/dist/components/tree-view/TreeView.css +22 -22
  348. package/dist/components/tree-view/TreeView.d.ts +2 -2
  349. package/dist/components/tree-view/TreeView.js +4 -4
  350. package/dist/components/tree-view/TreeView.module.js +20 -20
  351. package/dist/components/tree-view/index.d.ts +2 -2
  352. package/dist/index.d.ts +40 -39
  353. package/dist/index.js +40 -39
  354. package/dist/lib/moduix/icons/ui/Icons.d.ts +1 -45
  355. package/dist/lib/moduix/icons/ui/Icons.js +36 -263
  356. package/dist/lib/moduix/icons/ui/index.d.ts +2 -2
  357. package/dist/lib/moduix/overlayPortal.js +1 -1
  358. package/package.json +4 -3
@@ -0,0 +1,45 @@
1
+ @layer ui.components {
2
+ .jqWswG_root {
3
+ vertical-align: middle;
4
+ grid-template-areas: "jqWswG_swap";
5
+ place-items: center;
6
+ display: inline-grid;
7
+ }
8
+
9
+ .jqWswG_indicator {
10
+ color: inherit;
11
+ grid-area: jqWswG_swap;
12
+ justify-content: center;
13
+ align-items: center;
14
+ display: inline-flex;
15
+
16
+ &[data-state="open"] {
17
+ animation: jqWswG_swap-enter var(--swap-transition, var(--transition-default));
18
+ }
19
+
20
+ &[data-state="closed"] {
21
+ animation: jqWswG_swap-exit var(--swap-transition, var(--transition-default));
22
+ }
23
+ }
24
+
25
+ @media (prefers-reduced-motion: reduce) {
26
+ .jqWswG_indicator[data-state] {
27
+ animation-duration: 1ms;
28
+ animation-delay: 0s;
29
+ }
30
+ }
31
+
32
+ @keyframes jqWswG_swap-enter {
33
+ from {
34
+ opacity: var(--swap-enter-starting-opacity, 0);
35
+ transform: scale(var(--swap-enter-starting-scale, .92));
36
+ }
37
+ }
38
+
39
+ @keyframes jqWswG_swap-exit {
40
+ to {
41
+ opacity: var(--swap-exit-ending-opacity, 0);
42
+ transform: scale(var(--swap-exit-ending-scale, .92));
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,11 @@
1
+ import { Swap, useSwapContext } from "@ark-ui/react/swap";
2
+
3
+ //#region src/components/swap/Swap.d.ts
4
+ declare const Swap$1: import("react").ForwardRefExoticComponent<Omit<Swap.RootProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>> & {
5
+ Root: import("react").ForwardRefExoticComponent<Omit<Swap.RootProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
6
+ RootProvider: import("react").ForwardRefExoticComponent<Omit<Swap.RootProviderProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
7
+ Indicator: import("react").ForwardRefExoticComponent<Omit<Swap.IndicatorProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
8
+ useSwap: (props?: import("@ark-ui/react/swap").UseSwapProps) => import("@ark-ui/react/swap").UseSwapReturn;
9
+ };
10
+ //#endregion
11
+ export { Swap$1 as Swap, useSwapContext };
@@ -0,0 +1,39 @@
1
+ import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
+ import Swap_module_default from "./Swap.module.js";
3
+ import { clsx } from "clsx";
4
+ import { forwardRef } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { Swap, useSwap, useSwapContext } from "@ark-ui/react/swap";
7
+ //#region src/components/swap/Swap.tsx
8
+ const SwapRoot = forwardRef(function SwapRoot({ className, ...props }, ref) {
9
+ return /* @__PURE__ */ jsx(Swap.Root, {
10
+ ref,
11
+ "data-slot": "swap-root",
12
+ className: clsx(Swap_module_default.root, normalizeClassName(className)),
13
+ ...props
14
+ });
15
+ });
16
+ const SwapRootProvider = forwardRef(function SwapRootProvider({ className, ...props }, ref) {
17
+ return /* @__PURE__ */ jsx(Swap.RootProvider, {
18
+ ref,
19
+ "data-slot": "swap-root-provider",
20
+ className: clsx(Swap_module_default.root, normalizeClassName(className)),
21
+ ...props
22
+ });
23
+ });
24
+ const SwapIndicator = forwardRef(function SwapIndicator({ className, ...props }, ref) {
25
+ return /* @__PURE__ */ jsx(Swap.Indicator, {
26
+ ref,
27
+ "data-slot": "swap-indicator",
28
+ className: clsx(Swap_module_default.indicator, normalizeClassName(className)),
29
+ ...props
30
+ });
31
+ });
32
+ const Swap$1 = Object.assign(SwapRoot, {
33
+ Root: SwapRoot,
34
+ RootProvider: SwapRootProvider,
35
+ Indicator: SwapIndicator,
36
+ useSwap
37
+ });
38
+ //#endregion
39
+ export { Swap$1 as Swap, useSwapContext };
@@ -0,0 +1,11 @@
1
+ import './Swap.css';
2
+ //#region src/components/swap/Swap.module.css
3
+ var Swap_module_default = {
4
+ "indicator": "jqWswG_indicator",
5
+ "root": "jqWswG_root",
6
+ "swap": "jqWswG_swap",
7
+ "swap-enter": "jqWswG_swap-enter",
8
+ "swap-exit": "jqWswG_swap-exit"
9
+ };
10
+ //#endregion
11
+ export { Swap_module_default as default };
@@ -0,0 +1,2 @@
1
+ import { Swap, useSwapContext } from "./Swap.js";
2
+ export { Swap, useSwapContext };
@@ -1,5 +1,5 @@
1
1
  @layer ui.components {
2
- .wDUCnq_root {
2
+ .PUgkqa_root {
3
3
  align-items: center;
4
4
  gap: var(--switch-gap, var(--spacing-2));
5
5
  vertical-align: middle;
@@ -16,7 +16,7 @@
16
16
  }
17
17
  }
18
18
 
19
- .wDUCnq_control {
19
+ .PUgkqa_control {
20
20
  box-sizing: border-box;
21
21
  width: var(--switch-width, 3rem);
22
22
  height: var(--switch-height, 1.5rem);
@@ -51,47 +51,47 @@
51
51
  }
52
52
 
53
53
  @media (hover: hover) {
54
- &[data-state="unchecked"][data-hover]:not([data-readonly]) {
54
+ &[data-state="unchecked"][data-hover]:not([data-readonly], [data-disabled]) {
55
55
  background-color: var(--switch-bg-hover, var(--color-accent));
56
56
  }
57
57
 
58
- &[data-state="checked"][data-hover]:not([data-readonly]) {
58
+ &[data-state="checked"][data-hover]:not([data-readonly], [data-disabled]) {
59
59
  background-color: var(--switch-bg-checked-hover, var(--switch-bg-checked, var(--color-primary)));
60
60
  }
61
61
  }
62
62
  }
63
63
 
64
- .wDUCnq_root[data-size="xs"] .wDUCnq_control {
64
+ .PUgkqa_root[data-size="xs"] .PUgkqa_control {
65
65
  --switch-width: var(--switch-width-xs, 1.75rem);
66
66
  --switch-height: var(--switch-height-xs, 1rem);
67
67
  --switch-thumb-size: var(--switch-thumb-size-xs, .75rem);
68
68
  }
69
69
 
70
- .wDUCnq_root[data-size="sm"] .wDUCnq_control {
70
+ .PUgkqa_root[data-size="sm"] .PUgkqa_control {
71
71
  --switch-width: var(--switch-width-sm, 2.25rem);
72
72
  --switch-height: var(--switch-height-sm, 1.25rem);
73
73
  --switch-thumb-size: var(--switch-thumb-size-sm, 1rem);
74
74
  }
75
75
 
76
- .wDUCnq_root[data-size="md"] .wDUCnq_control {
76
+ .PUgkqa_root[data-size="md"] .PUgkqa_control {
77
77
  --switch-width: var(--switch-width-md, 2.75rem);
78
78
  --switch-height: var(--switch-height-md, 1.5rem);
79
79
  --switch-thumb-size: var(--switch-thumb-size-md, 1.25rem);
80
80
  }
81
81
 
82
- .wDUCnq_root[data-size="lg"] .wDUCnq_control {
82
+ .PUgkqa_root[data-size="lg"] .PUgkqa_control {
83
83
  --switch-width: var(--switch-width-lg, 3.25rem);
84
84
  --switch-height: var(--switch-height-lg, 1.75rem);
85
85
  --switch-thumb-size: var(--switch-thumb-size-lg, 1.5rem);
86
86
  }
87
87
 
88
- .wDUCnq_root[data-size="xl"] .wDUCnq_control {
88
+ .PUgkqa_root[data-size="xl"] .PUgkqa_control {
89
89
  --switch-width: var(--switch-width-xl, 3.75rem);
90
90
  --switch-height: var(--switch-height-xl, 2rem);
91
91
  --switch-thumb-size: var(--switch-thumb-size-xl, 1.75rem);
92
92
  }
93
93
 
94
- .wDUCnq_thumb {
94
+ .PUgkqa_thumb {
95
95
  width: var(--switch-thumb-size, 1.25rem);
96
96
  height: var(--switch-thumb-size, 1.25rem);
97
97
  border: var(--switch-thumb-border-width, 0) solid var(--switch-thumb-border-color, transparent);
@@ -120,7 +120,7 @@
120
120
  }
121
121
  }
122
122
 
123
- .wDUCnq_label {
123
+ .PUgkqa_label {
124
124
  color: var(--switch-label-color, var(--color-foreground));
125
125
  font-size: var(--switch-label-font-size, var(--text-sm));
126
126
  font-weight: var(--switch-label-font-weight, var(--weight-medium));
@@ -1,5 +1,5 @@
1
- import { ComponentProps } from "react";
2
- import { Switch } from "@ark-ui/react/switch";
1
+ import { ComponentProps, ReactNode } from "react";
2
+ import { Switch, useSwitch, useSwitchContext } from "@ark-ui/react/switch";
3
3
 
4
4
  //#region src/components/switch/Switch.d.ts
5
5
  type SwitchSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -15,7 +15,7 @@ declare const Switch$1: import("react").ForwardRefExoticComponent<Omit<SwitchRoo
15
15
  Control: import("react").ForwardRefExoticComponent<Omit<Switch.ControlProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
16
16
  Thumb: import("react").ForwardRefExoticComponent<Omit<Switch.ThumbProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
17
17
  Label: import("react").ForwardRefExoticComponent<Omit<Switch.LabelProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
18
- HiddenInput: import("react").ForwardRefExoticComponent<Omit<Switch.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
18
+ Context: (props: Switch.ContextProps) => ReactNode;
19
19
  };
20
20
  //#endregion
21
- export { Switch$1 as Switch, type SwitchRootProps, type SwitchRootProviderProps, type SwitchSize };
21
+ export { Switch$1 as Switch, type SwitchRootProps, type SwitchRootProviderProps, type SwitchSize, useSwitch, useSwitchContext };
@@ -1,26 +1,30 @@
1
1
  import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
2
  import Switch_module_default from "./Switch.module.js";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { clsx } from "clsx";
5
- import { forwardRef } from "react";
6
- import { Switch } from "@ark-ui/react/switch";
4
+ import { Children, cloneElement, forwardRef } from "react";
5
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
+ import { Switch, SwitchContext, useSwitch, useSwitchContext } from "@ark-ui/react/switch";
7
7
  //#region src/components/switch/Switch.tsx
8
- const SwitchRoot = forwardRef(function SwitchRoot({ className, size = "md", ...props }, ref) {
8
+ const SwitchRoot = forwardRef(function SwitchRoot({ asChild, children, className, size = "md", ...props }, ref) {
9
9
  return /* @__PURE__ */ jsx(Switch.Root, {
10
10
  ref,
11
+ asChild,
11
12
  "data-slot": "switch-root",
12
13
  "data-size": size,
13
14
  className: clsx(Switch_module_default.root, normalizeClassName(className)),
14
- ...props
15
+ ...props,
16
+ children: withHiddenInput(children, asChild)
15
17
  });
16
18
  });
17
- const SwitchRootProvider = forwardRef(function SwitchRootProvider({ className, size = "md", ...props }, ref) {
19
+ const SwitchRootProvider = forwardRef(function SwitchRootProvider({ asChild, children, className, size = "md", ...props }, ref) {
18
20
  return /* @__PURE__ */ jsx(Switch.RootProvider, {
19
21
  ref,
22
+ asChild,
20
23
  "data-slot": "switch-root-provider",
21
24
  "data-size": size,
22
25
  className: clsx(Switch_module_default.root, normalizeClassName(className)),
23
- ...props
26
+ ...props,
27
+ children: withHiddenInput(children, asChild)
24
28
  });
25
29
  });
26
30
  const SwitchControl = forwardRef(function SwitchControl({ className, children, ...props }, ref) {
@@ -48,20 +52,19 @@ const SwitchLabel = forwardRef(function SwitchLabel({ className, ...props }, ref
48
52
  ...props
49
53
  });
50
54
  });
51
- const SwitchHiddenInput = forwardRef(function SwitchHiddenInput(props, ref) {
52
- return /* @__PURE__ */ jsx(Switch.HiddenInput, {
53
- ref,
54
- "data-slot": "switch-hidden-input",
55
- ...props
56
- });
57
- });
55
+ function withHiddenInput(children, asChild) {
56
+ const hiddenInput = /* @__PURE__ */ jsx(Switch.HiddenInput, { "data-slot": "switch-hidden-input" });
57
+ if (!asChild) return /* @__PURE__ */ jsxs(Fragment$1, { children: [children, hiddenInput] });
58
+ const child = Children.only(children);
59
+ return cloneElement(child, {}, child.props.children, hiddenInput);
60
+ }
58
61
  const Switch$1 = Object.assign(SwitchRoot, {
59
62
  Root: SwitchRoot,
60
63
  RootProvider: SwitchRootProvider,
61
64
  Control: SwitchControl,
62
65
  Thumb: SwitchThumb,
63
66
  Label: SwitchLabel,
64
- HiddenInput: SwitchHiddenInput
67
+ Context: SwitchContext
65
68
  });
66
69
  //#endregion
67
- export { Switch$1 as Switch };
70
+ export { Switch$1 as Switch, useSwitch, useSwitchContext };
@@ -1,10 +1,10 @@
1
1
  import './Switch.css';
2
2
  //#region src/components/switch/Switch.module.css
3
3
  var Switch_module_default = {
4
- "control": "wDUCnq_control",
5
- "label": "wDUCnq_label",
6
- "root": "wDUCnq_root",
7
- "thumb": "wDUCnq_thumb"
4
+ "control": "PUgkqa_control",
5
+ "label": "PUgkqa_label",
6
+ "root": "PUgkqa_root",
7
+ "thumb": "PUgkqa_thumb"
8
8
  };
9
9
  //#endregion
10
10
  export { Switch_module_default as default };
@@ -1,2 +1,2 @@
1
- import { Switch, SwitchRootProps, SwitchRootProviderProps, SwitchSize } from "./Switch.js";
2
- export { Switch, type SwitchRootProps, type SwitchRootProviderProps, type SwitchSize };
1
+ import { Switch, SwitchRootProps, SwitchRootProviderProps, SwitchSize, useSwitch, useSwitchContext } from "./Switch.js";
2
+ export { Switch, type SwitchRootProps, type SwitchRootProviderProps, type SwitchSize, useSwitch, useSwitchContext };
@@ -1,5 +1,5 @@
1
1
  @layer ui.components {
2
- .YeBawq_scrollArea {
2
+ .-X2Dga_scrollArea {
3
3
  box-sizing: border-box;
4
4
  isolation: isolate;
5
5
  border: var(--table-scroll-area-border-width, var(--table-border-width, var(--border-width-sm)))
@@ -13,7 +13,7 @@
13
13
  overflow-x: auto;
14
14
  }
15
15
 
16
- .YeBawq_root {
16
+ .-X2Dga_root {
17
17
  --table-cell-padding-x-default: var(--table-cell-padding-x, var(--spacing-4));
18
18
  --table-cell-padding-y-default: var(--table-cell-padding-y, var(--spacing-3));
19
19
  --table-empty-padding-y-default: calc(var(--table-cell-padding-y-default) * 2);
@@ -48,7 +48,7 @@
48
48
  }
49
49
  }
50
50
 
51
- .YeBawq_caption {
51
+ .-X2Dga_caption {
52
52
  box-sizing: border-box;
53
53
  color: var(--table-caption-color, var(--color-muted-foreground));
54
54
  font-size: var(--table-caption-font-size, var(--text-sm));
@@ -70,40 +70,40 @@
70
70
  }
71
71
  }
72
72
 
73
- .YeBawq_row {
73
+ .-X2Dga_row {
74
74
  transition: var(--table-row-transition, background-color var(--transition-default));
75
75
  }
76
76
 
77
- .YeBawq_header .YeBawq_row, .YeBawq_body .YeBawq_row {
77
+ .-X2Dga_header .-X2Dga_row, .-X2Dga_body .-X2Dga_row {
78
78
  border-bottom: var(--table-border-width, var(--border-width-sm)) solid
79
79
  var(--table-border-color, var(--color-border));
80
80
  }
81
81
 
82
- .YeBawq_root[data-striped] .YeBawq_body .YeBawq_row:nth-child(2n):not(.YeBawq_emptyRow) {
82
+ .-X2Dga_root[data-striped] .-X2Dga_body .-X2Dga_row:nth-child(2n):not([data-empty]) {
83
83
  background-color: var(--table-row-bg-striped, color-mix(in oklab, var(--color-muted) 35%, transparent));
84
84
  }
85
85
 
86
- .YeBawq_root[data-interactive] .YeBawq_body .YeBawq_row:not(.YeBawq_emptyRow):hover {
86
+ .-X2Dga_root[data-interactive] .-X2Dga_body .-X2Dga_row:not([data-empty]):hover {
87
87
  background-color: var(--table-row-bg-hover, var(--color-muted));
88
88
  }
89
89
 
90
- .YeBawq_root[data-show-column-border] :is(.YeBawq_columnHeader, .YeBawq_cell):not(:last-child) {
90
+ .-X2Dga_root[data-show-column-border] :is(.-X2Dga_columnHeader, .-X2Dga_cell):not(:last-child) {
91
91
  border-inline-end: var(--table-column-border-width, var(--table-border-width, var(--border-width-sm)))
92
92
  solid var(--table-column-border-color, var(--table-border-color, var(--color-border)));
93
93
  }
94
94
 
95
- .YeBawq_root[data-sticky-header] .YeBawq_header {
95
+ .-X2Dga_root[data-sticky-header] .-X2Dga_header {
96
96
  z-index: var(--table-sticky-header-z-index, 3);
97
97
  background-color: var(--table-sticky-header-bg, var(--table-scroll-area-bg, var(--color-card)));
98
98
  position: sticky;
99
99
  inset-block-start: 0;
100
100
  }
101
101
 
102
- .YeBawq_body .YeBawq_row:last-child {
102
+ .-X2Dga_body .-X2Dga_row:last-child {
103
103
  border-bottom: 0;
104
104
  }
105
105
 
106
- .YeBawq_footer {
106
+ .-X2Dga_footer {
107
107
  border-top: var(--table-border-width, var(--border-width-sm)) solid
108
108
  var(--table-border-color, var(--color-border));
109
109
  background-color: var(--table-footer-bg, var(--color-muted));
@@ -111,7 +111,7 @@
111
111
  font-weight: var(--table-footer-font-weight, var(--weight-medium));
112
112
  }
113
113
 
114
- .YeBawq_columnHeader, .YeBawq_cell {
114
+ .-X2Dga_columnHeader, .-X2Dga_cell {
115
115
  z-index: 0;
116
116
  padding-block: var(--table-cell-padding-y-default);
117
117
  padding-inline: var(--table-cell-padding-x-default);
@@ -133,28 +133,28 @@
133
133
  }
134
134
  }
135
135
 
136
- .YeBawq_root[data-sticky-header] .YeBawq_header .YeBawq_columnHeader[data-sticky] {
136
+ .-X2Dga_root[data-sticky-header] .-X2Dga_header .-X2Dga_columnHeader[data-sticky] {
137
137
  z-index: var(--table-sticky-intersection-z-index, 4);
138
138
  }
139
139
 
140
- .YeBawq_columnHeader {
140
+ .-X2Dga_columnHeader {
141
141
  color: var(--table-column-header-color, var(--color-muted-foreground));
142
142
  font-weight: var(--table-column-header-font-weight, var(--weight-medium));
143
143
  text-align: inherit;
144
144
  white-space: nowrap;
145
145
  }
146
146
 
147
- .YeBawq_cell {
147
+ .-X2Dga_cell {
148
148
  color: inherit;
149
149
  }
150
150
 
151
- .YeBawq_numeric {
152
- text-align: right;
151
+ .-X2Dga_numeric {
152
+ text-align: end;
153
153
  white-space: nowrap;
154
154
  font-variant-numeric: tabular-nums;
155
155
  }
156
156
 
157
- .YeBawq_empty {
157
+ .-X2Dga_empty {
158
158
  padding-block: var(--table-empty-padding-y, var(--table-empty-padding-y-default));
159
159
  color: var(--table-empty-color, var(--color-muted-foreground));
160
160
  text-align: center;
@@ -1,9 +1,9 @@
1
1
  import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
2
  import Table_module_default from "./Table.module.js";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { ark } from "@ark-ui/react/factory";
5
4
  import { clsx } from "clsx";
6
5
  import { forwardRef } from "react";
6
+ import { jsx } from "react/jsx-runtime";
7
7
  //#region src/components/table/Table.tsx
8
8
  const TableRoot = forwardRef(function TableRoot({ asChild, className, interactive = false, showColumnBorder = false, size = "md", stickyHeader = false, striped = false, variant = "line", ...props }, ref) {
9
9
  return /* @__PURE__ */ jsx(ark.table, {
@@ -140,8 +140,9 @@ const TableEmpty = forwardRef(function TableEmpty({ asChild, children = "No resu
140
140
  return /* @__PURE__ */ jsx(ark.tr, {
141
141
  "data-scope": "table",
142
142
  "data-part": "row",
143
+ "data-empty": true,
143
144
  "data-slot": "table-row",
144
- className: clsx(Table_module_default.row, Table_module_default.emptyRow),
145
+ className: Table_module_default.row,
145
146
  children: /* @__PURE__ */ jsx(ark.td, {
146
147
  ref,
147
148
  asChild,
@@ -1,18 +1,17 @@
1
1
  import './Table.css';
2
2
  //#region src/components/table/Table.module.css
3
3
  var Table_module_default = {
4
- "body": "YeBawq_body",
5
- "caption": "YeBawq_caption",
6
- "cell": "YeBawq_cell",
7
- "columnHeader": "YeBawq_columnHeader",
8
- "empty": "YeBawq_empty",
9
- "emptyRow": "YeBawq_emptyRow",
10
- "footer": "YeBawq_footer",
11
- "header": "YeBawq_header",
12
- "numeric": "YeBawq_numeric",
13
- "root": "YeBawq_root",
14
- "row": "YeBawq_row",
15
- "scrollArea": "YeBawq_scrollArea"
4
+ "body": "-X2Dga_body",
5
+ "caption": "-X2Dga_caption",
6
+ "cell": "-X2Dga_cell",
7
+ "columnHeader": "-X2Dga_columnHeader",
8
+ "empty": "-X2Dga_empty",
9
+ "footer": "-X2Dga_footer",
10
+ "header": "-X2Dga_header",
11
+ "numeric": "-X2Dga_numeric",
12
+ "root": "-X2Dga_root",
13
+ "row": "-X2Dga_row",
14
+ "scrollArea": "-X2Dga_scrollArea"
16
15
  };
17
16
  //#endregion
18
17
  export { Table_module_default as default };
@@ -1,5 +1,5 @@
1
1
  @layer ui.components {
2
- .Peepwa_root {
2
+ .ostTjG_root {
3
3
  box-sizing: border-box;
4
4
  gap: var(--tabs-gap, .75rem);
5
5
  min-width: 0;
@@ -13,7 +13,7 @@
13
13
  }
14
14
  }
15
15
 
16
- .Peepwa_list {
16
+ .ostTjG_list {
17
17
  box-sizing: border-box;
18
18
  z-index: 0;
19
19
  align-items: stretch;
@@ -35,7 +35,7 @@
35
35
  flex-direction: column;
36
36
  }
37
37
 
38
- .Peepwa_root[data-variant="line"] & {
38
+ .ostTjG_root[data-variant="line"] & {
39
39
  border-width: 0 0 var(--tabs-list-border-width, var(--border-width-sm));
40
40
  background-color: #0000;
41
41
  border-radius: 0;
@@ -43,13 +43,13 @@
43
43
  padding-inline: 0;
44
44
  }
45
45
 
46
- .Peepwa_root[data-orientation="vertical"][data-variant="line"] & {
46
+ .ostTjG_root[data-orientation="vertical"][data-variant="line"] & {
47
47
  width: var(--tabs-vertical-list-width, 12rem);
48
48
  border-width: 0 var(--tabs-list-border-width, var(--border-width-sm)) 0 0;
49
49
  }
50
50
  }
51
51
 
52
- .Peepwa_trigger {
52
+ .ostTjG_trigger {
53
53
  box-sizing: border-box;
54
54
  z-index: 1;
55
55
  justify-content: center;
@@ -113,8 +113,10 @@
113
113
  }
114
114
  }
115
115
 
116
- .Peepwa_indicator {
116
+ .ostTjG_indicator {
117
117
  z-index: 0;
118
+ top: 50%;
119
+ left: var(--left, 0);
118
120
  width: var(--width, 0);
119
121
  height: var(--tabs-indicator-size, 2rem);
120
122
  border-radius: var(--tabs-indicator-radius, var(--radius-md));
@@ -125,10 +127,9 @@
125
127
  top var(--tabs-indicator-transition, var(--transition-default)),
126
128
  left var(--tabs-indicator-transition, var(--transition-default));
127
129
  position: absolute;
128
- top: 50%;
129
130
  translate: 0 -50%;
130
131
 
131
- .Peepwa_root[data-variant="line"] & {
132
+ .ostTjG_root[data-variant="line"] & {
132
133
  height: var(--tabs-line-indicator-size, 2px);
133
134
  border-radius: var(--tabs-line-indicator-radius, var(--radius-full));
134
135
  background-color: var(--tabs-line-indicator-bg, var(--tabs-tab-color-active, var(--color-foreground)));
@@ -143,12 +144,13 @@
143
144
  }
144
145
 
145
146
  &[data-orientation="vertical"] {
147
+ top: var(--top, 0);
146
148
  width: calc(100% - (var(--tabs-list-padding-x, var(--tabs-list-padding, .25rem)) * 2));
147
149
  height: var(--height, 0);
148
150
  left: 50%;
149
151
  translate: -50%;
150
152
 
151
- .Peepwa_root[data-variant="line"] & {
153
+ .ostTjG_root[data-variant="line"] & {
152
154
  width: var(--tabs-line-indicator-size, 2px);
153
155
  bottom: auto;
154
156
  left: 0;
@@ -157,7 +159,7 @@
157
159
  }
158
160
  }
159
161
 
160
- .Peepwa_content {
162
+ .ostTjG_content {
161
163
  box-sizing: border-box;
162
164
  border: var(--tabs-border-width, var(--border-width-sm)) solid
163
165
  var(--tabs-border-color, var(--color-border));
@@ -1,4 +1,4 @@
1
- import { Tabs } from "@ark-ui/react/tabs";
1
+ import { Tabs, useTabs } from "@ark-ui/react/tabs";
2
2
 
3
3
  //#region src/components/tabs/Tabs.d.ts
4
4
  type TabsVariant = 'default' | 'line';
@@ -15,6 +15,7 @@ declare const Tabs$1: import("react").ForwardRefExoticComponent<Omit<Tabs.RootPr
15
15
  Trigger: import("react").ForwardRefExoticComponent<Omit<Tabs.TriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
16
16
  Indicator: import("react").ForwardRefExoticComponent<Omit<Tabs.IndicatorProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
17
17
  Content: import("react").ForwardRefExoticComponent<Omit<Tabs.ContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
18
+ useTabs: (props?: import("@ark-ui/react/tabs").UseTabsProps) => import("@ark-ui/react/tabs").UseTabsReturn;
18
19
  };
19
20
  //#endregion
20
- export { Tabs$1 as Tabs };
21
+ export { Tabs$1 as Tabs, useTabs };
@@ -1,9 +1,9 @@
1
1
  import { normalizeClassName } from "../../lib/moduix/normalizeClassName.js";
2
2
  import Tabs_module_default from "./Tabs.module.js";
3
- import { jsx } from "react/jsx-runtime";
4
3
  import { clsx } from "clsx";
5
4
  import { forwardRef } from "react";
6
- import { Tabs } from "@ark-ui/react/tabs";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { Tabs, useTabs } from "@ark-ui/react/tabs";
7
7
  //#region src/components/tabs/Tabs.tsx
8
8
  const TabsRoot = forwardRef(function TabsRoot({ className, variant = "default", ...props }, ref) {
9
9
  return /* @__PURE__ */ jsx(Tabs.Root, {
@@ -61,7 +61,8 @@ const Tabs$1 = Object.assign(TabsRoot, {
61
61
  List: TabsList,
62
62
  Trigger: TabsTrigger,
63
63
  Indicator: TabsIndicator,
64
- Content: TabsContent
64
+ Content: TabsContent,
65
+ useTabs
65
66
  });
66
67
  //#endregion
67
- export { Tabs$1 as Tabs };
68
+ export { Tabs$1 as Tabs, useTabs };
@@ -1,11 +1,11 @@
1
1
  import './Tabs.css';
2
2
  //#region src/components/tabs/Tabs.module.css
3
3
  var Tabs_module_default = {
4
- "content": "Peepwa_content",
5
- "indicator": "Peepwa_indicator",
6
- "list": "Peepwa_list",
7
- "root": "Peepwa_root",
8
- "trigger": "Peepwa_trigger"
4
+ "content": "ostTjG_content",
5
+ "indicator": "ostTjG_indicator",
6
+ "list": "ostTjG_list",
7
+ "root": "ostTjG_root",
8
+ "trigger": "ostTjG_trigger"
9
9
  };
10
10
  //#endregion
11
11
  export { Tabs_module_default as default };
@@ -1,2 +1,2 @@
1
- import { Tabs } from "./Tabs.js";
2
- export { Tabs };
1
+ import { Tabs, useTabs } from "./Tabs.js";
2
+ export { Tabs, useTabs };