@moduix/react 2.2.0 → 2.2.5

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 (576) hide show
  1. package/README.md +16 -3
  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.css → Accordion_module.css} +88 -71
  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 +11 -13
  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 +113 -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 +31 -31
  15. package/dist/components/angle-slider/AngleSlider.js +131 -93
  16. package/dist/components/angle-slider/AngleSlider.module.js +10 -12
  17. package/dist/components/angle-slider/AngleSlider_module.css +214 -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 +24 -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 +83 -48
  28. package/dist/components/avatar/Avatar.module.js +7 -8
  29. package/dist/components/avatar/{Avatar.css → Avatar_module.css} +39 -30
  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 +7 -8
  33. package/dist/components/badge/Badge.js +42 -29
  34. package/dist/components/badge/Badge.module.js +6 -7
  35. package/dist/components/badge/Badge_module.css +130 -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 -26
  45. package/dist/components/breadcrumbs/Breadcrumbs.js +109 -97
  46. package/dist/components/breadcrumbs/Breadcrumbs.module.js +11 -13
  47. package/dist/components/breadcrumbs/{Breadcrumbs.css → Breadcrumbs_module.css} +31 -23
  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 +44 -28
  52. package/dist/components/button/Button.module.js +5 -5
  53. package/dist/components/button/Button_module.css +223 -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 +15 -16
  57. package/dist/components/card/Card.js +107 -98
  58. package/dist/components/card/Card.module.js +13 -14
  59. package/dist/components/card/Card_module.css +219 -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 +223 -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 +96 -76
  70. package/dist/components/checkbox/Checkbox.module.js +9 -11
  71. package/dist/components/checkbox/{Checkbox.css → Checkbox_module.css} +55 -45
  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.css → Clipboard_module.css} +52 -38
  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 +45 -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.css → Collapsible_module.css} +61 -48
  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 +335 -293
  94. package/dist/components/color-picker/ColorPicker.module.js +35 -33
  95. package/dist/components/color-picker/{ColorPicker.css → ColorPicker_module.css} +251 -142
  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 +216 -193
  100. package/dist/components/combobox/Combobox.module.js +23 -22
  101. package/dist/components/combobox/{Combobox.css → Combobox_module.css} +92 -90
  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 +362 -351
  106. package/dist/components/command-palette/CommandPalette.module.js +40 -39
  107. package/dist/components/command-palette/{CommandPalette.css → CommandPalette_module.css} +121 -125
  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.css → DateInput_module.css} +41 -39
  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 +438 -367
  124. package/dist/components/date-picker/DatePicker.module.js +28 -28
  125. package/dist/components/date-picker/{DatePicker.css → DatePicker_module.css} +119 -127
  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 +24 -45
  129. package/dist/components/dialog/Dialog.js +136 -120
  130. package/dist/components/dialog/Dialog.module.js +22 -20
  131. package/dist/components/dialog/{Dialog.css → Dialog_module.css} +84 -68
  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 +32 -55
  135. package/dist/components/drawer/Drawer.js +190 -181
  136. package/dist/components/drawer/Drawer.module.js +39 -31
  137. package/dist/components/drawer/Drawer_module.css +557 -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.css → Editable_module.css} +59 -58
  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.css → Empty_module.css} +32 -19
  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.css → Field_module.css} +32 -41
  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.css → Fieldset_module.css} +16 -12
  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.css → FileUpload_module.css} +113 -101
  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 +31 -50
  171. package/dist/components/floating-panel/FloatingPanel.js +189 -178
  172. package/dist/components/floating-panel/FloatingPanel.module.js +19 -19
  173. package/dist/components/floating-panel/{FloatingPanel.css → FloatingPanel_module.css} +124 -129
  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.css → Highlight_module.css} +2 -1
  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 +75 -72
  190. package/dist/components/hover-card/HoverCard.module.js +12 -12
  191. package/dist/components/hover-card/{HoverCard.css → HoverCard_module.css} +48 -33
  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 +8 -10
  195. package/dist/components/image/Image.js +22 -23
  196. package/dist/components/image/Image.module.js +5 -5
  197. package/dist/components/image/{Image.css → Image_module.css} +2 -1
  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.css → ImageCropper_module.css} +55 -47
  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 +25 -26
  220. package/dist/components/kbd/Kbd.module.js +5 -7
  221. package/dist/components/kbd/{Kbd.css → Kbd_module.css} +7 -6
  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 +37 -64
  225. package/dist/components/lightbox/Lightbox.js +213 -200
  226. package/dist/components/lightbox/Lightbox.module.js +23 -21
  227. package/dist/components/lightbox/{Lightbox.css → Lightbox_module.css} +115 -100
  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 +118 -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 +27 -46
  237. package/dist/components/listbox/Listbox.js +180 -175
  238. package/dist/components/listbox/Listbox.module.js +20 -22
  239. package/dist/components/listbox/{Listbox.css → Listbox_module.css} +94 -90
  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 +44 -78
  249. package/dist/components/menu/Menu.js +275 -232
  250. package/dist/components/menu/Menu.module.js +31 -32
  251. package/dist/components/menu/{Menu.css → Menu_module.css} +131 -116
  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.css → NativeSelect_module.css} +39 -33
  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.css → NumberInput_module.css} +52 -49
  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.css → Pagination_module.css} +42 -33
  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.css → PasswordInput_module.css} +49 -55
  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.css → PinInput_module.css} +32 -31
  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 +26 -49
  285. package/dist/components/popover/Popover.js +163 -151
  286. package/dist/components/popover/Popover.module.js +19 -19
  287. package/dist/components/popover/{Popover.css → Popover_module.css} +66 -46
  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.css → ProgressCircular_module.css} +33 -15
  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.css → ProgressLinear_module.css} +50 -37
  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.css → QrCode_module.css} +26 -12
  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 +191 -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.css → SegmentGroup_module.css} +45 -42
  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 +37 -52
  333. package/dist/components/select/Select.js +283 -240
  334. package/dist/components/select/Select.module.js +25 -25
  335. package/dist/components/select/{Select.css → Select_module.css} +112 -92
  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.css → Sidebar_module.css} +185 -181
  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 +15 -20
  351. package/dist/components/signature-pad/SignaturePad.js +146 -107
  352. package/dist/components/signature-pad/SignaturePad.module.js +9 -11
  353. package/dist/components/signature-pad/{SignaturePad.css → SignaturePad_module.css} +20 -26
  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 +32 -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 +226 -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.css → Spinner_module.css} +13 -14
  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 +24 -24
  379. package/dist/components/split-button/SplitButton.js +83 -81
  380. package/dist/components/split-button/SplitButton.module.js +6 -8
  381. package/dist/components/split-button/{SplitButton.css → SplitButton_module.css} +10 -9
  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 +59 -59
  386. package/dist/components/splitter/Splitter.module.js +7 -9
  387. package/dist/components/splitter/{Splitter.css → Splitter_module.css} +83 -78
  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.css → Stack_module.css} +4 -3
  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.css → Steps_module.css} +138 -116
  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 +72 -60
  410. package/dist/components/switch/Switch.module.js +7 -9
  411. package/dist/components/switch/Switch_module.css +151 -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.css → Table_module.css} +66 -61
  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 +64 -59
  422. package/dist/components/tabs/Tabs.module.js +8 -10
  423. package/dist/components/tabs/{Tabs.css → Tabs_module.css} +85 -84
  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 +103 -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.css → TagsInput_module.css} +69 -64
  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 +101 -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.css → Textarea_module.css} +11 -10
  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 +17 -25
  451. package/dist/components/timer/Timer.js +86 -72
  452. package/dist/components/timer/Timer.module.js +9 -11
  453. package/dist/components/timer/{Timer.css → Timer_module.css} +33 -27
  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.css → Toast_module.css} +63 -68
  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 +19 -22
  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 +44 -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.css → Tooltip_module.css} +54 -31
  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 +158 -136
  482. package/dist/components/tour/Tour.module.js +25 -22
  483. package/dist/components/tour/{Tour.css → Tour_module.css} +176 -98
  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.css → TreeView_module.css} +90 -73
  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 +53 -5
  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/alert/Alert.css +0 -138
  527. package/dist/components/angle-slider/AngleSlider.css +0 -193
  528. package/dist/components/aspect-ratio/AspectRatio.css +0 -16
  529. package/dist/components/badge/Badge.css +0 -110
  530. package/dist/components/bleed/Bleed.css +0 -51
  531. package/dist/components/button/Button.css +0 -216
  532. package/dist/components/card/Card.css +0 -164
  533. package/dist/components/carousel/Carousel.css +0 -200
  534. package/dist/components/close-button/CloseButton.css +0 -49
  535. package/dist/components/container/Container.css +0 -45
  536. package/dist/components/drawer/Drawer.css +0 -501
  537. package/dist/components/heading/Heading.css +0 -58
  538. package/dist/components/input/Input.css +0 -84
  539. package/dist/components/input-group/InputGroup.css +0 -159
  540. package/dist/components/list/List.css +0 -118
  541. package/dist/components/marquee/Marquee.css +0 -114
  542. package/dist/components/radio-group/RadioGroup.css +0 -147
  543. package/dist/components/rating-group/RatingGroup.css +0 -133
  544. package/dist/components/scroll-area/ScrollArea.css +0 -167
  545. package/dist/components/separator/Separator.css +0 -45
  546. package/dist/components/skeleton/Skeleton.css +0 -31
  547. package/dist/components/slider/Slider.css +0 -171
  548. package/dist/components/swap/Swap.css +0 -45
  549. package/dist/components/switch/Switch.css +0 -132
  550. package/dist/components/tag/Tag.css +0 -98
  551. package/dist/components/text/Text.css +0 -87
  552. package/dist/components/toggle/Toggle.css +0 -167
  553. package/dist/components/toggle-group/ToggleGroup.css +0 -42
  554. package/dist/components/typeset/Typeset.css +0 -317
  555. package/dist/index.d.ts +0 -86
  556. package/dist/index.js +0 -86
  557. package/dist/lib/moduix/icons/ui/Icons.d.ts +0 -7
  558. package/dist/lib/moduix/icons/ui/Icons.js +0 -532
  559. package/dist/lib/moduix/icons/ui/index.d.ts +0 -2
  560. package/dist/lib/moduix/normalizeClassName.js +0 -4
  561. package/dist/lib/moduix/overlayPortal.d.ts +0 -9
  562. package/dist/lib/moduix/overlayPortal.js +0 -21
  563. package/dist/lib/moduix/presets/contrast.css +0 -64
  564. package/dist/lib/moduix/presets/dense.css +0 -77
  565. package/dist/lib/moduix/presets/soft.css +0 -76
  566. package/dist/lib/moduix/styles/style.css +0 -305
  567. package/dist/presets/contrast.d.ts +0 -1
  568. package/dist/presets/contrast.js +0 -1
  569. package/dist/presets/dense.d.ts +0 -1
  570. package/dist/presets/dense.js +0 -1
  571. package/dist/presets/soft.d.ts +0 -1
  572. package/dist/presets/soft.js +0 -1
  573. package/dist/reset.d.ts +0 -1
  574. package/dist/reset.js +0 -1
  575. package/dist/style.d.ts +0 -1
  576. package/dist/style.js +0 -1
@@ -1,167 +0,0 @@
1
- @layer moduix.components {
2
- .xqtLha_root {
3
- box-sizing: border-box;
4
- width: var(--moduix-scroll-area-width, 100%);
5
- height: var(--moduix-scroll-area-height, 100%);
6
- min-width: 0;
7
- min-height: 0;
8
- color: var(--moduix-scroll-area-color, var(--moduix-color-foreground));
9
- position: relative;
10
- }
11
-
12
- .xqtLha_viewport {
13
- box-sizing: border-box;
14
- border-radius: var(--moduix-scroll-area-radius, var(--moduix-radius-md));
15
- background-color: var(--moduix-scroll-area-bg, transparent);
16
- overscroll-behavior: contain;
17
- scrollbar-width: none;
18
- --_scroll-area-block-fade-mask: linear-gradient(to bottom,
19
- transparent 0,
20
- black
21
- min(var(--moduix-scroll-area-fade-start-size, var(--moduix-scroll-area-fade-size, var(--moduix-spacing-10))),
22
- var(--scroll-area-overflow-y-start, 0px)),
23
- black
24
- calc(100% -
25
- min(var(--moduix-scroll-area-fade-end-size, var(--moduix-scroll-area-fade-size, var(--moduix-spacing-10))),
26
- var(--scroll-area-overflow-y-end, 0px))),
27
- transparent 100%);
28
- outline: 0;
29
- width: 100%;
30
- min-width: 0;
31
- height: 100%;
32
- min-height: 0;
33
-
34
- &::-webkit-scrollbar {
35
- display: none;
36
- }
37
-
38
- .xqtLha_root[data-fade] & {
39
- mask-image: var(--_scroll-area-block-fade-mask);
40
- mask-repeat: no-repeat;
41
- }
42
-
43
- &:focus-visible {
44
- outline: var(--moduix-scroll-area-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
45
- solid var(--moduix-scroll-area-focus-ring-color, var(--moduix-color-ring));
46
- outline-offset: var(--moduix-scroll-area-focus-ring-offset, var(--moduix-focus-ring-inset-offset));
47
- }
48
- }
49
-
50
- .xqtLha_content {
51
- box-sizing: border-box;
52
- padding: var(--moduix-scroll-area-content-padding, 0);
53
- display: block;
54
- }
55
-
56
- .xqtLha_scrollbar {
57
- --_scroll-area-scrollbar-margin: var(--moduix-scroll-area-scrollbar-margin, var(--moduix-spacing-1));
58
- --_scroll-area-scrollbar-hit-area-size: var(--moduix-scroll-area-scrollbar-hit-area-size, var(--moduix-spacing-5));
59
- box-sizing: border-box;
60
- padding: var(--moduix-scroll-area-scrollbar-padding, 0);
61
- border-radius: var(--moduix-scroll-area-scrollbar-radius, var(--moduix-radius-md));
62
- background-color: var(--moduix-scroll-area-scrollbar-bg, transparent);
63
- opacity: var(--moduix-scroll-area-scrollbar-hidden-opacity, 0);
64
- pointer-events: none;
65
- user-select: none;
66
- touch-action: none;
67
- transition: opacity var(--moduix-scroll-area-transition, var(--moduix-transition-default)),
68
- width var(--moduix-scroll-area-thumb-hover-transition, var(--moduix-transition-fast)),
69
- height var(--moduix-scroll-area-thumb-hover-transition, var(--moduix-transition-fast));
70
- justify-content: center;
71
- display: flex;
72
- position: absolute;
73
-
74
- &:before {
75
- content: "";
76
- position: absolute;
77
- }
78
-
79
- &[data-orientation="vertical"] {
80
- top: 0;
81
- inset-inline-end: 0;
82
- bottom: var(--corner-height, 0px);
83
- width: var(--moduix-scroll-area-scrollbar-size, var(--moduix-spacing-1));
84
- margin-block: var(--_scroll-area-scrollbar-margin);
85
- margin-inline-end: var(--_scroll-area-scrollbar-margin);
86
-
87
- &:before {
88
- width: var(--_scroll-area-scrollbar-hit-area-size);
89
- height: 100%;
90
- left: 50%;
91
- transform: translateX(-50%);
92
- }
93
-
94
- &:not([data-overflow-y]) {
95
- display: none;
96
- }
97
-
98
- &:hover, &[data-dragging] {
99
- width: calc(var(--moduix-scroll-area-scrollbar-size, var(--moduix-spacing-1)) +
100
- var(--moduix-scroll-area-thumb-hover-increase, 2px));
101
- }
102
- }
103
-
104
- &[data-orientation="horizontal"] {
105
- inset-inline-start: 0;
106
- inset-inline-end: var(--corner-width, 0px);
107
- height: var(--moduix-scroll-area-scrollbar-size, var(--moduix-spacing-1));
108
- margin-inline: var(--_scroll-area-scrollbar-margin);
109
- flex-direction: column;
110
- margin-block-end: var(--_scroll-area-scrollbar-margin);
111
- bottom: 0;
112
-
113
- &:before {
114
- width: 100%;
115
- height: var(--_scroll-area-scrollbar-hit-area-size);
116
- bottom: 50%;
117
- left: 0;
118
- right: 0;
119
- transform: translateY(50%);
120
- }
121
-
122
- &:not([data-overflow-x]) {
123
- display: none;
124
- }
125
-
126
- &:hover, &[data-dragging] {
127
- height: calc(var(--moduix-scroll-area-scrollbar-size, var(--moduix-spacing-1)) +
128
- var(--moduix-scroll-area-thumb-hover-increase, 2px));
129
- }
130
- }
131
-
132
- &[data-hover], &[data-scrolling] {
133
- opacity: var(--moduix-scroll-area-scrollbar-visible-opacity, 1);
134
- pointer-events: auto;
135
- }
136
-
137
- &[data-scrolling] {
138
- transition-duration: 0s;
139
- }
140
-
141
- .xqtLha_root[data-variant="always"] & {
142
- opacity: var(--moduix-scroll-area-scrollbar-visible-opacity, 1);
143
- pointer-events: auto;
144
- }
145
- }
146
-
147
- .xqtLha_thumb {
148
- box-sizing: border-box;
149
- border-radius: var(--moduix-scroll-area-thumb-radius, var(--moduix-radius-full));
150
- background-color: var(--moduix-scroll-area-thumb-bg, var(--moduix-color-border));
151
-
152
- &[data-orientation="vertical"] {
153
- width: 100%;
154
- min-height: var(--moduix-scroll-area-thumb-min-size, var(--moduix-size-xs));
155
- }
156
-
157
- &[data-orientation="horizontal"] {
158
- height: 100%;
159
- min-width: var(--moduix-scroll-area-thumb-min-size, var(--moduix-size-xs));
160
- }
161
- }
162
-
163
- .xqtLha_corner {
164
- box-sizing: border-box;
165
- background-color: var(--moduix-scroll-area-corner-bg, var(--moduix-scroll-area-scrollbar-bg, transparent));
166
- }
167
- }
@@ -1,45 +0,0 @@
1
- @layer moduix.components {
2
- .Jd5mwa_root {
3
- border: 0;
4
- border-color: var(--moduix-separator-color, var(--moduix-color-border));
5
- border-style: var(--moduix-separator-border-style, var(--moduix-separator-variant-border-style, solid));
6
- flex-shrink: 0;
7
- display: block;
8
-
9
- &[data-size="xs"] {
10
- --moduix-separator-size-thickness: var(--moduix-separator-thickness-xs, .5px);
11
- }
12
-
13
- &[data-size="sm"] {
14
- --moduix-separator-size-thickness: var(--moduix-separator-thickness-sm, var(--moduix-border-width-sm));
15
- }
16
-
17
- &[data-size="md"] {
18
- --moduix-separator-size-thickness: var(--moduix-separator-thickness-md, var(--moduix-border-width-md));
19
- }
20
-
21
- &[data-size="lg"] {
22
- --moduix-separator-size-thickness: var(--moduix-separator-thickness-lg, 3px);
23
- }
24
-
25
- &[data-variant="dashed"] {
26
- --moduix-separator-variant-border-style: dashed;
27
- }
28
-
29
- &[data-variant="dotted"] {
30
- --moduix-separator-variant-border-style: dotted;
31
- }
32
-
33
- &[data-orientation="horizontal"] {
34
- width: var(--moduix-separator-length-horizontal, 100%);
35
- border-block-start-width: var(--moduix-separator-thickness, var(--moduix-separator-size-thickness, var(--moduix-border-width-sm)));
36
- height: 0;
37
- }
38
-
39
- &[data-orientation="vertical"] {
40
- width: 0;
41
- height: var(--moduix-separator-length-vertical, 1em);
42
- border-inline-start-width: var(--moduix-separator-thickness, var(--moduix-separator-size-thickness, var(--moduix-border-width-sm)));
43
- }
44
- }
45
- }
@@ -1,31 +0,0 @@
1
- @layer moduix.components {
2
- .ahClzq_root {
3
- border-radius: var(--moduix-skeleton-border-radius, var(--moduix-radius-md));
4
- width: 100%;
5
- display: block;
6
- overflow: hidden;
7
-
8
- &[data-state="loading"] {
9
- height: var(--moduix-skeleton-height, var(--moduix-spacing-4));
10
- animation: var(--moduix-skeleton-animation, var(--moduix-animation-pulse));
11
- background: var(--moduix-skeleton-bg, color-mix(in oklab,
12
- var(--moduix-color-muted-foreground) 18%,
13
- var(--moduix-color-background)));
14
- color: #0000;
15
- pointer-events: none;
16
- user-select: none;
17
-
18
- & > * {
19
- visibility: hidden;
20
- }
21
-
22
- &[data-variant="none"] {
23
- animation: none;
24
- }
25
-
26
- @media (prefers-reduced-motion: reduce) {
27
- animation: none;
28
- }
29
- }
30
- }
31
- }
@@ -1,171 +0,0 @@
1
- @layer moduix.components {
2
- .NN9-IW_root {
3
- box-sizing: border-box;
4
- gap: var(--moduix-slider-gap, var(--moduix-spacing-2));
5
- width: var(--moduix-slider-width, 12rem);
6
- color: var(--moduix-slider-color, var(--moduix-color-foreground));
7
- flex-direction: column;
8
- display: flex;
9
-
10
- &[data-orientation="vertical"] {
11
- width: var(--moduix-slider-width-vertical, max-content);
12
- height: var(--moduix-slider-height, 12rem);
13
- align-items: center;
14
- }
15
-
16
- &[data-disabled] {
17
- opacity: var(--moduix-slider-disabled-opacity, var(--moduix-opacity-disabled));
18
- }
19
- }
20
-
21
- .NN9-IW_label {
22
- color: var(--moduix-slider-label-color, var(--moduix-slider-color, var(--moduix-color-foreground)));
23
- font-size: var(--moduix-slider-label-font-size, var(--moduix-text-sm));
24
- font-weight: var(--moduix-slider-label-font-weight, var(--moduix-weight-regular));
25
- line-height: var(--moduix-slider-label-line-height, var(--moduix-line-height-text-sm));
26
- user-select: none;
27
- }
28
-
29
- .NN9-IW_valueText {
30
- color: var(--moduix-slider-value-text-color, var(--moduix-slider-color, var(--moduix-color-foreground)));
31
- font-size: var(--moduix-slider-value-text-font-size, var(--moduix-text-sm));
32
- font-weight: var(--moduix-slider-value-text-font-weight, var(--moduix-weight-regular));
33
- line-height: var(--moduix-slider-value-text-line-height, var(--moduix-line-height-text-sm));
34
- text-align: right;
35
- }
36
-
37
- .NN9-IW_control {
38
- box-sizing: border-box;
39
- width: 100%;
40
- min-height: var(--moduix-slider-control-size, var(--moduix-spacing-5));
41
- touch-action: none;
42
- user-select: none;
43
- cursor: pointer;
44
- align-items: center;
45
- display: flex;
46
- position: relative;
47
-
48
- &[data-orientation="vertical"] {
49
- width: var(--moduix-slider-control-size, var(--moduix-spacing-5));
50
- flex-direction: column;
51
- height: 100%;
52
- min-height: 0;
53
- }
54
-
55
- &[data-disabled] {
56
- cursor: default;
57
- }
58
- }
59
-
60
- .NN9-IW_track {
61
- width: 100%;
62
- height: var(--moduix-slider-track-size, var(--moduix-spacing-1-5));
63
- border-radius: var(--moduix-slider-track-radius, var(--moduix-radius-full));
64
- background-color: var(--moduix-slider-track-bg, var(--moduix-color-muted));
65
- box-shadow: inset 0 0 0 var(--moduix-slider-track-border-width, var(--moduix-border-width-sm))
66
- var(--moduix-slider-track-border-color, var(--moduix-color-border));
67
- user-select: none;
68
- flex: 1;
69
- overflow: hidden;
70
-
71
- &[data-orientation="vertical"] {
72
- width: var(--moduix-slider-track-size, var(--moduix-spacing-1-5));
73
- height: 100%;
74
- }
75
- }
76
-
77
- .NN9-IW_range {
78
- border-radius: var(--moduix-slider-range-radius, inherit);
79
- background-color: var(--moduix-slider-range-bg, var(--moduix-color-primary));
80
- height: 100%;
81
-
82
- &[data-orientation="vertical"] {
83
- width: 100%;
84
- }
85
- }
86
-
87
- .NN9-IW_thumb {
88
- box-sizing: border-box;
89
- width: var(--moduix-slider-thumb-size, var(--moduix-spacing-4));
90
- height: var(--moduix-slider-thumb-size, var(--moduix-spacing-4));
91
- border: var(--moduix-slider-thumb-border-width, var(--moduix-border-width-sm)) solid
92
- var(--moduix-slider-thumb-border-color, var(--moduix-color-border));
93
- border-radius: var(--moduix-slider-thumb-radius, var(--moduix-radius-full));
94
- background-color: var(--moduix-slider-thumb-bg, var(--moduix-color-background));
95
- box-shadow: var(--moduix-slider-thumb-shadow, var(--moduix-shadow-sm));
96
- user-select: none;
97
- transition: border-color var(--moduix-slider-transition, var(--moduix-transition-default)),
98
- background-color var(--moduix-slider-transition, var(--moduix-transition-default)),
99
- box-shadow var(--moduix-slider-transition, var(--moduix-transition-default));
100
- outline: 0;
101
- justify-content: center;
102
- align-items: center;
103
- display: flex;
104
-
105
- &[data-dragging] {
106
- border-color: var(--moduix-slider-focus-ring-color, var(--moduix-color-ring));
107
- box-shadow: 0 0 0 var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))
108
- var(--moduix-slider-focus-ring-color, var(--moduix-color-ring)),
109
- var(--moduix-slider-thumb-shadow-dragging, var(--moduix-shadow-md));
110
- }
111
-
112
- &:focus-visible {
113
- border-color: var(--moduix-slider-focus-ring-color, var(--moduix-color-ring));
114
- box-shadow: 0 0 0 var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm))
115
- var(--moduix-slider-focus-ring-color, var(--moduix-color-ring));
116
- }
117
-
118
- &[data-disabled] {
119
- pointer-events: none;
120
- }
121
- }
122
-
123
- .NN9-IW_draggingIndicator {
124
- top: calc(-1 * var(--moduix-spacing-8));
125
- padding: var(--moduix-spacing-1) var(--moduix-spacing-2);
126
- border-radius: var(--moduix-slider-dragging-indicator-radius, var(--moduix-radius-sm));
127
- background-color: var(--moduix-slider-dragging-indicator-bg, var(--moduix-color-foreground));
128
- color: var(--moduix-slider-dragging-indicator-color, var(--moduix-color-background));
129
- font-size: var(--moduix-slider-dragging-indicator-font-size, var(--moduix-text-xs));
130
- font-weight: var(--moduix-slider-dragging-indicator-font-weight, var(--moduix-weight-medium));
131
- line-height: var(--moduix-slider-dragging-indicator-line-height, 1);
132
- white-space: nowrap;
133
- pointer-events: none;
134
- }
135
-
136
- .NN9-IW_markerGroup {
137
- margin-top: var(--moduix-slider-marker-group-margin-top, var(--moduix-spacing-2));
138
- justify-content: space-between;
139
- display: flex;
140
-
141
- &[data-orientation="vertical"] {
142
- height: 100%;
143
- margin-top: 0;
144
- flex-direction: column;
145
- margin-inline-start: var(--moduix-slider-marker-group-margin-inline-start, var(--moduix-spacing-2));
146
- }
147
- }
148
-
149
- .NN9-IW_marker {
150
- color: var(--moduix-slider-marker-color, var(--moduix-color-muted-foreground));
151
- font-size: var(--moduix-slider-marker-font-size, var(--moduix-text-xs));
152
- line-height: var(--moduix-slider-marker-line-height, var(--moduix-line-height-text-xs));
153
- position: relative;
154
-
155
- &:before {
156
- width: var(--moduix-slider-marker-dot-size, var(--moduix-spacing-1));
157
- height: var(--moduix-slider-marker-dot-size, var(--moduix-spacing-1));
158
- border-radius: var(--moduix-radius-full);
159
- background-color: var(--moduix-slider-marker-dot-bg, var(--moduix-color-border));
160
- content: "";
161
- position: absolute;
162
- inset-block-start: calc(-1 * var(--moduix-spacing-2));
163
- inset-inline-start: 50%;
164
- transform: translateX(-50%);
165
- }
166
-
167
- &:is([data-state="under-value"], [data-state="at-value"]):before {
168
- background-color: var(--moduix-slider-marker-dot-bg-active, var(--moduix-slider-range-bg, var(--moduix-color-primary)));
169
- }
170
- }
171
- }
@@ -1,45 +0,0 @@
1
- @layer moduix.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(--moduix-swap-transition, var(--moduix-transition-default));
18
- }
19
-
20
- &[data-state="closed"] {
21
- animation: jqWswG_swap-exit var(--moduix-swap-transition, var(--moduix-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(--moduix-swap-enter-starting-opacity, 0);
35
- transform: scale(var(--moduix-swap-enter-starting-scale, .92));
36
- }
37
- }
38
-
39
- @keyframes jqWswG_swap-exit {
40
- to {
41
- opacity: var(--moduix-swap-exit-ending-opacity, 0);
42
- transform: scale(var(--moduix-swap-exit-ending-scale, .92));
43
- }
44
- }
45
- }
@@ -1,132 +0,0 @@
1
- @layer moduix.components {
2
- .PUgkqa_root {
3
- align-items: center;
4
- gap: var(--moduix-switch-gap, var(--moduix-spacing-2));
5
- vertical-align: middle;
6
- cursor: pointer;
7
- width: fit-content;
8
- display: inline-flex;
9
-
10
- &[data-disabled], &[data-readonly] {
11
- cursor: default;
12
- }
13
-
14
- &[data-disabled] {
15
- opacity: var(--moduix-switch-disabled-opacity, var(--moduix-opacity-disabled));
16
- }
17
- }
18
-
19
- .PUgkqa_control {
20
- box-sizing: border-box;
21
- width: var(--moduix-switch-width, 3rem);
22
- height: var(--moduix-switch-height, var(--moduix-size-xs));
23
- --moduix-switch-thumb-translate-default: calc(var(--moduix-switch-width, 3rem) - var(--moduix-switch-thumb-size, var(--moduix-spacing-5)) -
24
- (var(--moduix-switch-padding, var(--moduix-spacing-0-5)) * 2) -
25
- (var(--moduix-switch-border-width, var(--moduix-border-width-sm)) * 2));
26
- border: var(--moduix-switch-border-width, var(--moduix-border-width-sm)) solid
27
- var(--moduix-switch-border-color, var(--moduix-color-border));
28
- border-radius: var(--moduix-switch-radius, var(--moduix-radius-full));
29
- padding: var(--moduix-switch-padding, var(--moduix-spacing-0-5));
30
- background-color: var(--moduix-switch-bg, var(--moduix-color-muted));
31
- user-select: none;
32
- transition: background-color var(--moduix-switch-transition, var(--moduix-transition-default)),
33
- border-color var(--moduix-switch-transition, var(--moduix-transition-default)),
34
- opacity var(--moduix-switch-transition, var(--moduix-transition-default));
35
- outline: 0;
36
- flex-shrink: 0;
37
- align-items: center;
38
- line-height: 0;
39
- display: inline-flex;
40
- position: relative;
41
-
42
- &[data-state="checked"] {
43
- border-color: var(--moduix-switch-border-color-checked, var(--moduix-color-primary));
44
- background-color: var(--moduix-switch-bg-checked, var(--moduix-color-primary));
45
- }
46
-
47
- &[data-focus-visible] {
48
- outline: var(--moduix-switch-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)))
49
- solid var(--moduix-switch-focus-ring-color, var(--moduix-color-ring));
50
- outline-offset: var(--moduix-switch-focus-ring-offset, var(--moduix-border-width-sm));
51
- }
52
-
53
- @media (hover: hover) {
54
- &[data-state="unchecked"][data-hover]:not([data-readonly], [data-disabled]) {
55
- background-color: var(--moduix-switch-bg-hover, var(--moduix-color-accent));
56
- }
57
-
58
- &[data-state="checked"][data-hover]:not([data-readonly], [data-disabled]) {
59
- background-color: var(--moduix-switch-bg-checked-hover, var(--moduix-switch-bg-checked, var(--moduix-color-primary)));
60
- }
61
- }
62
- }
63
-
64
- .PUgkqa_root[data-size="xs"] .PUgkqa_control {
65
- --moduix-switch-width: var(--moduix-switch-width-xs, 1.75rem);
66
- --moduix-switch-height: var(--moduix-switch-height-xs, 1rem);
67
- --moduix-switch-thumb-size: var(--moduix-switch-thumb-size-xs, var(--moduix-spacing-3));
68
- }
69
-
70
- .PUgkqa_root[data-size="sm"] .PUgkqa_control {
71
- --moduix-switch-width: var(--moduix-switch-width-sm, 2.25rem);
72
- --moduix-switch-height: var(--moduix-switch-height-sm, 1.25rem);
73
- --moduix-switch-thumb-size: var(--moduix-switch-thumb-size-sm, var(--moduix-spacing-4));
74
- }
75
-
76
- .PUgkqa_root[data-size="md"] .PUgkqa_control {
77
- --moduix-switch-width: var(--moduix-switch-width-md, 2.75rem);
78
- --moduix-switch-height: var(--moduix-switch-height-md, var(--moduix-size-xs));
79
- --moduix-switch-thumb-size: var(--moduix-switch-thumb-size-md, var(--moduix-spacing-5));
80
- }
81
-
82
- .PUgkqa_root[data-size="lg"] .PUgkqa_control {
83
- --moduix-switch-width: var(--moduix-switch-width-lg, 3.25rem);
84
- --moduix-switch-height: var(--moduix-switch-height-lg, 1.75rem);
85
- --moduix-switch-thumb-size: var(--moduix-switch-thumb-size-lg, var(--moduix-size-xs));
86
- }
87
-
88
- .PUgkqa_root[data-size="xl"] .PUgkqa_control {
89
- --moduix-switch-width: var(--moduix-switch-width-xl, 3.75rem);
90
- --moduix-switch-height: var(--moduix-switch-height-xl, var(--moduix-size-sm));
91
- --moduix-switch-thumb-size: var(--moduix-switch-thumb-size-xl, var(--moduix-spacing-7));
92
- }
93
-
94
- .PUgkqa_thumb {
95
- width: var(--moduix-switch-thumb-size, var(--moduix-spacing-5));
96
- height: var(--moduix-switch-thumb-size, var(--moduix-spacing-5));
97
- border: var(--moduix-switch-thumb-border-width, 0) solid
98
- var(--moduix-switch-thumb-border-color, transparent);
99
- border-radius: var(--moduix-switch-thumb-radius, var(--moduix-radius-full));
100
- background-color: var(--moduix-switch-thumb-bg-unchecked, var(--moduix-switch-thumb-bg, var(--moduix-color-background)));
101
- color: var(--moduix-switch-thumb-color-unchecked, var(--moduix-switch-thumb-color, var(--moduix-color-muted)));
102
- box-shadow: var(--moduix-switch-thumb-shadow, var(--moduix-shadow-sm));
103
- transition: transform
104
- var(--moduix-switch-thumb-transition, var(--moduix-switch-transition, var(--moduix-transition-default))),
105
- background-color var(--moduix-switch-transition, var(--moduix-transition-default)),
106
- color var(--moduix-switch-transition, var(--moduix-transition-default));
107
- justify-content: center;
108
- align-items: center;
109
- display: inline-flex;
110
- transform: translateX(0);
111
-
112
- &[data-state="checked"] {
113
- background-color: var(--moduix-switch-thumb-bg-checked, var(--moduix-switch-thumb-bg, var(--moduix-color-primary-foreground)));
114
- color: var(--moduix-switch-thumb-color-checked, var(--moduix-switch-thumb-color, var(--moduix-color-primary)));
115
- transform: translateX(var(--moduix-switch-thumb-translate, var(--moduix-switch-thumb-translate-default)));
116
- }
117
-
118
- & > svg {
119
- width: var(--moduix-switch-thumb-icon-size, 65%);
120
- height: var(--moduix-switch-thumb-icon-size, 65%);
121
- flex-shrink: 0;
122
- }
123
- }
124
-
125
- .PUgkqa_label {
126
- color: var(--moduix-switch-label-color, var(--moduix-color-foreground));
127
- font-size: var(--moduix-switch-label-font-size, var(--moduix-text-sm));
128
- font-weight: var(--moduix-switch-label-font-weight, var(--moduix-weight-medium));
129
- line-height: var(--moduix-switch-label-line-height, var(--moduix-line-height-text-sm));
130
- user-select: none;
131
- }
132
- }
@@ -1,98 +0,0 @@
1
- @layer moduix.components {
2
- .mVOnGG_root {
3
- box-sizing: border-box;
4
- align-items: center;
5
- gap: var(--moduix-tag-gap, var(--moduix-spacing-1-5));
6
- border: var(--moduix-tag-border-width, var(--moduix-border-width-sm)) solid
7
- var(--moduix-tag-border-color, transparent);
8
- border-radius: var(--moduix-tag-radius, var(--moduix-radius-full));
9
- background-color: var(--moduix-tag-bg, var(--moduix-color-primary));
10
- width: fit-content;
11
- min-width: 0;
12
- max-width: 100%;
13
- color: var(--moduix-tag-color, var(--moduix-color-primary-foreground));
14
- font-size: var(--moduix-tag-font-size, var(--moduix-text-xs));
15
- font-weight: var(--moduix-tag-font-weight, var(--moduix-weight-medium));
16
- line-height: var(--moduix-tag-line-height, var(--moduix-line-height-text-xs));
17
- min-height: var(--moduix-tag-height-md, var(--moduix-size-xs));
18
- padding-block: var(--moduix-tag-padding-y-md, var(--moduix-spacing-0-5));
19
- padding-inline: var(--moduix-tag-padding-x-md, var(--moduix-spacing-2));
20
- white-space: nowrap;
21
- vertical-align: middle;
22
- transition: color var(--moduix-tag-transition, var(--moduix-transition-default)),
23
- background-color var(--moduix-tag-transition, var(--moduix-transition-default)),
24
- border-color var(--moduix-tag-transition, var(--moduix-transition-default));
25
- display: inline-flex;
26
-
27
- & > svg {
28
- width: var(--moduix-tag-icon-size, var(--moduix-spacing-3));
29
- height: var(--moduix-tag-icon-size, var(--moduix-spacing-3));
30
- pointer-events: none;
31
- flex-shrink: 0;
32
- }
33
-
34
- &[data-size="sm"] {
35
- gap: var(--moduix-tag-gap-sm, var(--moduix-spacing-1));
36
- min-height: var(--moduix-tag-height-sm, 1.25rem);
37
- padding-block: var(--moduix-tag-padding-y-sm, 0);
38
- padding-inline: var(--moduix-tag-padding-x-sm, var(--moduix-spacing-1-5));
39
- }
40
-
41
- &[data-variant="secondary"] {
42
- background-color: var(--moduix-tag-bg, var(--moduix-color-secondary));
43
- border-color: var(--moduix-tag-border-color, transparent);
44
- color: var(--moduix-tag-color, var(--moduix-color-secondary-foreground));
45
- }
46
-
47
- &[data-variant="outline"], &[data-variant="ghost"] {
48
- background-color: var(--moduix-tag-bg, transparent);
49
- color: var(--moduix-tag-color, var(--moduix-color-foreground));
50
- }
51
-
52
- &[data-variant="outline"] {
53
- border-color: var(--moduix-tag-border-color, var(--moduix-color-border));
54
- }
55
-
56
- &[data-variant="destructive"] {
57
- background-color: var(--moduix-tag-bg, var(--moduix-color-destructive));
58
- border-color: var(--moduix-tag-border-color, transparent);
59
- color: var(--moduix-tag-color, var(--moduix-color-destructive-foreground));
60
- }
61
- }
62
-
63
- .mVOnGG_label {
64
- text-overflow: ellipsis;
65
- min-width: 0;
66
- overflow: hidden;
67
- }
68
-
69
- .mVOnGG_startElement, .mVOnGG_endElement {
70
- flex-shrink: 0;
71
- justify-content: center;
72
- align-items: center;
73
- min-width: 0;
74
- display: inline-flex;
75
-
76
- & > svg {
77
- width: var(--moduix-tag-icon-size, var(--moduix-spacing-3));
78
- height: var(--moduix-tag-icon-size, var(--moduix-spacing-3));
79
- pointer-events: none;
80
- flex-shrink: 0;
81
- }
82
- }
83
-
84
- .mVOnGG_closeTrigger {
85
- --moduix-close-button-size: var(--moduix-tag-close-trigger-size, var(--moduix-spacing-4));
86
- --moduix-close-button-radius: var(--moduix-tag-close-trigger-radius, var(--moduix-radius-full));
87
- --moduix-close-button-icon-size: var(--moduix-tag-close-trigger-icon-size, var(--moduix-spacing-2-5));
88
- --moduix-close-button-bg: var(--moduix-tag-close-trigger-bg, transparent);
89
- --moduix-close-button-bg-hover: var(--moduix-tag-close-trigger-bg-hover, color-mix(in oklab, currentColor 12%, transparent));
90
- --moduix-close-button-color: inherit;
91
- --moduix-close-button-color-hover: inherit;
92
- --moduix-close-button-disabled-opacity: var(--moduix-tag-disabled-opacity, var(--moduix-opacity-disabled));
93
- --moduix-close-button-focus-ring-width: var(--moduix-tag-close-trigger-focus-ring-width, var(--moduix-focus-ring-inset-width, var(--moduix-border-width-sm)));
94
- --moduix-close-button-focus-ring-color: var(--moduix-tag-close-trigger-focus-ring-color, var(--moduix-color-ring));
95
- --moduix-close-button-focus-ring-offset: var(--moduix-tag-close-trigger-focus-ring-offset, 0);
96
- --moduix-close-button-transition: var(--moduix-tag-transition, var(--moduix-transition-default));
97
- }
98
- }