@moduix/solid-tailwind 1.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 (560) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +130 -0
  3. package/THIRD_PARTY_NOTICES.md +49 -0
  4. package/dist/components/accordion/Accordion.d.ts +22 -0
  5. package/dist/components/accordion/Accordion.js +103 -0
  6. package/dist/components/accordion/Accordion.jsx +63 -0
  7. package/dist/components/accordion/index.d.ts +1 -0
  8. package/dist/components/accordion/index.js +1 -0
  9. package/dist/components/accordion/index.jsx +1 -0
  10. package/dist/components/alert/Alert.d.ts +20 -0
  11. package/dist/components/alert/Alert.js +116 -0
  12. package/dist/components/alert/Alert.jsx +66 -0
  13. package/dist/components/alert/index.d.ts +1 -0
  14. package/dist/components/alert/index.js +1 -0
  15. package/dist/components/alert/index.jsx +1 -0
  16. package/dist/components/angle-slider/AngleSlider.d.ts +37 -0
  17. package/dist/components/angle-slider/AngleSlider.js +165 -0
  18. package/dist/components/angle-slider/AngleSlider.jsx +97 -0
  19. package/dist/components/angle-slider/index.d.ts +1 -0
  20. package/dist/components/angle-slider/index.js +1 -0
  21. package/dist/components/angle-slider/index.jsx +1 -0
  22. package/dist/components/aspect-ratio/AspectRatio.d.ts +13 -0
  23. package/dist/components/aspect-ratio/AspectRatio.js +43 -0
  24. package/dist/components/aspect-ratio/AspectRatio.jsx +28 -0
  25. package/dist/components/aspect-ratio/index.d.ts +1 -0
  26. package/dist/components/aspect-ratio/index.js +1 -0
  27. package/dist/components/aspect-ratio/index.jsx +1 -0
  28. package/dist/components/avatar/Avatar.d.ts +21 -0
  29. package/dist/components/avatar/Avatar.js +88 -0
  30. package/dist/components/avatar/Avatar.jsx +59 -0
  31. package/dist/components/avatar/index.d.ts +1 -0
  32. package/dist/components/avatar/index.js +1 -0
  33. package/dist/components/avatar/index.jsx +1 -0
  34. package/dist/components/badge/Badge.d.ts +14 -0
  35. package/dist/components/badge/Badge.js +72 -0
  36. package/dist/components/badge/Badge.jsx +46 -0
  37. package/dist/components/badge/index.d.ts +1 -0
  38. package/dist/components/badge/index.js +1 -0
  39. package/dist/components/badge/index.jsx +1 -0
  40. package/dist/components/bleed/Bleed.d.ts +17 -0
  41. package/dist/components/bleed/Bleed.js +68 -0
  42. package/dist/components/bleed/Bleed.jsx +50 -0
  43. package/dist/components/bleed/index.d.ts +1 -0
  44. package/dist/components/bleed/index.js +1 -0
  45. package/dist/components/bleed/index.jsx +1 -0
  46. package/dist/components/breadcrumbs/Breadcrumbs.d.ts +30 -0
  47. package/dist/components/breadcrumbs/Breadcrumbs.js +158 -0
  48. package/dist/components/breadcrumbs/Breadcrumbs.jsx +88 -0
  49. package/dist/components/breadcrumbs/index.d.ts +1 -0
  50. package/dist/components/breadcrumbs/index.js +1 -0
  51. package/dist/components/breadcrumbs/index.jsx +1 -0
  52. package/dist/components/button/Button.d.ts +16 -0
  53. package/dist/components/button/Button.js +124 -0
  54. package/dist/components/button/Button.jsx +75 -0
  55. package/dist/components/button/index.d.ts +1 -0
  56. package/dist/components/button/index.js +1 -0
  57. package/dist/components/button/index.jsx +1 -0
  58. package/dist/components/card/Card.d.ts +28 -0
  59. package/dist/components/card/Card.js +210 -0
  60. package/dist/components/card/Card.jsx +103 -0
  61. package/dist/components/card/index.d.ts +1 -0
  62. package/dist/components/card/index.js +1 -0
  63. package/dist/components/card/index.jsx +1 -0
  64. package/dist/components/carousel/Carousel.d.ts +35 -0
  65. package/dist/components/carousel/Carousel.js +218 -0
  66. package/dist/components/carousel/Carousel.jsx +121 -0
  67. package/dist/components/carousel/index.d.ts +1 -0
  68. package/dist/components/carousel/index.js +1 -0
  69. package/dist/components/carousel/index.jsx +1 -0
  70. package/dist/components/chart/Chart.d.ts +34 -0
  71. package/dist/components/chart/Chart.js +450 -0
  72. package/dist/components/chart/Chart.jsx +265 -0
  73. package/dist/components/chart/index.d.ts +1 -0
  74. package/dist/components/chart/index.js +1 -0
  75. package/dist/components/chart/index.jsx +1 -0
  76. package/dist/components/checkbox/Checkbox.d.ts +26 -0
  77. package/dist/components/checkbox/Checkbox.js +139 -0
  78. package/dist/components/checkbox/Checkbox.jsx +76 -0
  79. package/dist/components/checkbox/index.d.ts +1 -0
  80. package/dist/components/checkbox/index.js +1 -0
  81. package/dist/components/checkbox/index.jsx +1 -0
  82. package/dist/components/clipboard/Clipboard.d.ts +26 -0
  83. package/dist/components/clipboard/Clipboard.js +143 -0
  84. package/dist/components/clipboard/Clipboard.jsx +85 -0
  85. package/dist/components/clipboard/index.d.ts +1 -0
  86. package/dist/components/clipboard/index.js +1 -0
  87. package/dist/components/clipboard/index.jsx +1 -0
  88. package/dist/components/close-button/CloseButton.d.ts +14 -0
  89. package/dist/components/close-button/CloseButton.js +89 -0
  90. package/dist/components/close-button/CloseButton.jsx +48 -0
  91. package/dist/components/close-button/index.d.ts +1 -0
  92. package/dist/components/close-button/index.js +1 -0
  93. package/dist/components/close-button/index.jsx +1 -0
  94. package/dist/components/collapsible/Collapsible.d.ts +19 -0
  95. package/dist/components/collapsible/Collapsible.js +92 -0
  96. package/dist/components/collapsible/Collapsible.jsx +56 -0
  97. package/dist/components/collapsible/index.d.ts +1 -0
  98. package/dist/components/collapsible/index.js +1 -0
  99. package/dist/components/collapsible/index.jsx +1 -0
  100. package/dist/components/color-picker/ColorPicker.d.ts +66 -0
  101. package/dist/components/color-picker/ColorPicker.js +514 -0
  102. package/dist/components/color-picker/ColorPicker.jsx +276 -0
  103. package/dist/components/color-picker/index.d.ts +1 -0
  104. package/dist/components/color-picker/index.js +1 -0
  105. package/dist/components/color-picker/index.jsx +1 -0
  106. package/dist/components/combobox/Combobox.d.ts +50 -0
  107. package/dist/components/combobox/Combobox.js +353 -0
  108. package/dist/components/combobox/Combobox.jsx +187 -0
  109. package/dist/components/combobox/index.d.ts +1 -0
  110. package/dist/components/combobox/index.js +1 -0
  111. package/dist/components/combobox/index.jsx +1 -0
  112. package/dist/components/command-palette/CommandPalette.d.ts +72 -0
  113. package/dist/components/command-palette/CommandPalette.js +575 -0
  114. package/dist/components/command-palette/CommandPalette.jsx +324 -0
  115. package/dist/components/command-palette/index.d.ts +1 -0
  116. package/dist/components/command-palette/index.js +1 -0
  117. package/dist/components/command-palette/index.jsx +1 -0
  118. package/dist/components/container/Container.d.ts +17 -0
  119. package/dist/components/container/Container.js +140 -0
  120. package/dist/components/container/Container.jsx +126 -0
  121. package/dist/components/container/index.d.ts +1 -0
  122. package/dist/components/container/index.js +1 -0
  123. package/dist/components/container/index.jsx +1 -0
  124. package/dist/components/date-input/DateInput.d.ts +25 -0
  125. package/dist/components/date-input/DateInput.js +136 -0
  126. package/dist/components/date-input/DateInput.jsx +76 -0
  127. package/dist/components/date-input/index.d.ts +1 -0
  128. package/dist/components/date-input/index.js +1 -0
  129. package/dist/components/date-input/index.jsx +1 -0
  130. package/dist/components/date-picker/DatePicker.d.ts +98 -0
  131. package/dist/components/date-picker/DatePicker.js +701 -0
  132. package/dist/components/date-picker/DatePicker.jsx +359 -0
  133. package/dist/components/date-picker/index.d.ts +2 -0
  134. package/dist/components/date-picker/index.js +1 -0
  135. package/dist/components/date-picker/index.jsx +1 -0
  136. package/dist/components/dialog/Dialog.d.ts +38 -0
  137. package/dist/components/dialog/Dialog.js +239 -0
  138. package/dist/components/dialog/Dialog.jsx +130 -0
  139. package/dist/components/dialog/index.d.ts +2 -0
  140. package/dist/components/dialog/index.js +1 -0
  141. package/dist/components/dialog/index.jsx +1 -0
  142. package/dist/components/drawer/Drawer.d.ts +54 -0
  143. package/dist/components/drawer/Drawer.js +333 -0
  144. package/dist/components/drawer/Drawer.jsx +179 -0
  145. package/dist/components/drawer/index.d.ts +1 -0
  146. package/dist/components/drawer/index.js +1 -0
  147. package/dist/components/drawer/index.jsx +1 -0
  148. package/dist/components/editable/Editable.d.ts +29 -0
  149. package/dist/components/editable/Editable.js +181 -0
  150. package/dist/components/editable/Editable.jsx +105 -0
  151. package/dist/components/editable/index.d.ts +1 -0
  152. package/dist/components/editable/index.js +1 -0
  153. package/dist/components/editable/index.jsx +1 -0
  154. package/dist/components/empty/Empty.d.ts +16 -0
  155. package/dist/components/empty/Empty.js +121 -0
  156. package/dist/components/empty/Empty.jsx +54 -0
  157. package/dist/components/empty/index.d.ts +1 -0
  158. package/dist/components/empty/index.js +1 -0
  159. package/dist/components/empty/index.jsx +1 -0
  160. package/dist/components/field/Field.d.ts +37 -0
  161. package/dist/components/field/Field.js +236 -0
  162. package/dist/components/field/Field.jsx +134 -0
  163. package/dist/components/field/index.d.ts +1 -0
  164. package/dist/components/field/index.js +1 -0
  165. package/dist/components/field/index.jsx +1 -0
  166. package/dist/components/fieldset/Fieldset.d.ts +16 -0
  167. package/dist/components/fieldset/Fieldset.js +93 -0
  168. package/dist/components/fieldset/Fieldset.jsx +47 -0
  169. package/dist/components/fieldset/index.d.ts +1 -0
  170. package/dist/components/fieldset/index.js +1 -0
  171. package/dist/components/fieldset/index.jsx +1 -0
  172. package/dist/components/file-upload/FileUpload.d.ts +44 -0
  173. package/dist/components/file-upload/FileUpload.js +325 -0
  174. package/dist/components/file-upload/FileUpload.jsx +178 -0
  175. package/dist/components/file-upload/index.d.ts +1 -0
  176. package/dist/components/file-upload/index.js +1 -0
  177. package/dist/components/file-upload/index.jsx +1 -0
  178. package/dist/components/floating-panel/FloatingPanel.d.ts +53 -0
  179. package/dist/components/floating-panel/FloatingPanel.js +338 -0
  180. package/dist/components/floating-panel/FloatingPanel.jsx +186 -0
  181. package/dist/components/floating-panel/index.d.ts +2 -0
  182. package/dist/components/floating-panel/index.js +1 -0
  183. package/dist/components/floating-panel/index.jsx +1 -0
  184. package/dist/components/heading/Heading.d.ts +20 -0
  185. package/dist/components/heading/Heading.js +82 -0
  186. package/dist/components/heading/Heading.jsx +62 -0
  187. package/dist/components/heading/index.d.ts +1 -0
  188. package/dist/components/heading/index.js +1 -0
  189. package/dist/components/heading/index.jsx +1 -0
  190. package/dist/components/highlight/Highlight.d.ts +12 -0
  191. package/dist/components/highlight/Highlight.js +24 -0
  192. package/dist/components/highlight/Highlight.jsx +16 -0
  193. package/dist/components/highlight/index.d.ts +1 -0
  194. package/dist/components/highlight/index.js +1 -0
  195. package/dist/components/highlight/index.jsx +1 -0
  196. package/dist/components/hover-card/HoverCard.d.ts +27 -0
  197. package/dist/components/hover-card/HoverCard.js +164 -0
  198. package/dist/components/hover-card/HoverCard.jsx +89 -0
  199. package/dist/components/hover-card/index.d.ts +1 -0
  200. package/dist/components/hover-card/index.js +1 -0
  201. package/dist/components/hover-card/index.jsx +1 -0
  202. package/dist/components/image/Image.d.ts +14 -0
  203. package/dist/components/image/Image.js +53 -0
  204. package/dist/components/image/Image.jsx +33 -0
  205. package/dist/components/image/index.d.ts +1 -0
  206. package/dist/components/image/index.js +1 -0
  207. package/dist/components/image/index.jsx +1 -0
  208. package/dist/components/image-cropper/ImageCropper.d.ts +27 -0
  209. package/dist/components/image-cropper/ImageCropper.js +131 -0
  210. package/dist/components/image-cropper/ImageCropper.jsx +72 -0
  211. package/dist/components/image-cropper/index.d.ts +1 -0
  212. package/dist/components/image-cropper/index.js +1 -0
  213. package/dist/components/image-cropper/index.jsx +1 -0
  214. package/dist/components/input/Input.d.ts +13 -0
  215. package/dist/components/input/Input.js +57 -0
  216. package/dist/components/input/Input.jsx +36 -0
  217. package/dist/components/input/index.d.ts +1 -0
  218. package/dist/components/input/index.js +1 -0
  219. package/dist/components/input/index.jsx +1 -0
  220. package/dist/components/input-group/InputGroup.d.ts +27 -0
  221. package/dist/components/input-group/InputGroup.js +191 -0
  222. package/dist/components/input-group/InputGroup.jsx +129 -0
  223. package/dist/components/input-group/index.d.ts +1 -0
  224. package/dist/components/input-group/index.js +1 -0
  225. package/dist/components/input-group/index.jsx +1 -0
  226. package/dist/components/json-tree-view/JsonTreeView.d.ts +11 -0
  227. package/dist/components/json-tree-view/JsonTreeView.js +69 -0
  228. package/dist/components/json-tree-view/JsonTreeView.jsx +37 -0
  229. package/dist/components/json-tree-view/index.d.ts +1 -0
  230. package/dist/components/json-tree-view/index.js +1 -0
  231. package/dist/components/json-tree-view/index.jsx +1 -0
  232. package/dist/components/kbd/Kbd.d.ts +8 -0
  233. package/dist/components/kbd/Kbd.js +36 -0
  234. package/dist/components/kbd/Kbd.jsx +20 -0
  235. package/dist/components/kbd/index.d.ts +1 -0
  236. package/dist/components/kbd/index.js +1 -0
  237. package/dist/components/kbd/index.jsx +1 -0
  238. package/dist/components/lightbox/Lightbox.d.ts +60 -0
  239. package/dist/components/lightbox/Lightbox.js +351 -0
  240. package/dist/components/lightbox/Lightbox.jsx +218 -0
  241. package/dist/components/lightbox/index.d.ts +2 -0
  242. package/dist/components/lightbox/index.js +1 -0
  243. package/dist/components/lightbox/index.jsx +1 -0
  244. package/dist/components/list/List.d.ts +36 -0
  245. package/dist/components/list/List.js +201 -0
  246. package/dist/components/list/List.jsx +133 -0
  247. package/dist/components/list/index.d.ts +1 -0
  248. package/dist/components/list/index.js +1 -0
  249. package/dist/components/list/index.jsx +1 -0
  250. package/dist/components/listbox/Listbox.d.ts +46 -0
  251. package/dist/components/listbox/Listbox.js +249 -0
  252. package/dist/components/listbox/Listbox.jsx +147 -0
  253. package/dist/components/listbox/index.d.ts +1 -0
  254. package/dist/components/listbox/index.js +1 -0
  255. package/dist/components/listbox/index.jsx +1 -0
  256. package/dist/components/marquee/Marquee.d.ts +18 -0
  257. package/dist/components/marquee/Marquee.js +120 -0
  258. package/dist/components/marquee/Marquee.jsx +80 -0
  259. package/dist/components/marquee/index.d.ts +1 -0
  260. package/dist/components/marquee/index.js +1 -0
  261. package/dist/components/marquee/index.jsx +1 -0
  262. package/dist/components/menu/Menu.d.ts +74 -0
  263. package/dist/components/menu/Menu.js +476 -0
  264. package/dist/components/menu/Menu.jsx +277 -0
  265. package/dist/components/menu/index.d.ts +1 -0
  266. package/dist/components/menu/index.js +1 -0
  267. package/dist/components/menu/index.jsx +1 -0
  268. package/dist/components/native-select/NativeSelect.d.ts +11 -0
  269. package/dist/components/native-select/NativeSelect.js +49 -0
  270. package/dist/components/native-select/NativeSelect.jsx +24 -0
  271. package/dist/components/native-select/index.d.ts +1 -0
  272. package/dist/components/native-select/index.js +1 -0
  273. package/dist/components/native-select/index.jsx +1 -0
  274. package/dist/components/navigation-menu/NavigationMenu.d.ts +31 -0
  275. package/dist/components/navigation-menu/NavigationMenu.js +156 -0
  276. package/dist/components/navigation-menu/NavigationMenu.jsx +92 -0
  277. package/dist/components/navigation-menu/index.d.ts +1 -0
  278. package/dist/components/navigation-menu/index.js +1 -0
  279. package/dist/components/navigation-menu/index.jsx +1 -0
  280. package/dist/components/number-input/NumberInput.d.ts +27 -0
  281. package/dist/components/number-input/NumberInput.js +167 -0
  282. package/dist/components/number-input/NumberInput.jsx +97 -0
  283. package/dist/components/number-input/index.d.ts +1 -0
  284. package/dist/components/number-input/index.js +1 -0
  285. package/dist/components/number-input/index.jsx +1 -0
  286. package/dist/components/pagination/Pagination.d.ts +28 -0
  287. package/dist/components/pagination/Pagination.js +218 -0
  288. package/dist/components/pagination/Pagination.jsx +115 -0
  289. package/dist/components/pagination/index.d.ts +1 -0
  290. package/dist/components/pagination/index.js +1 -0
  291. package/dist/components/pagination/index.jsx +1 -0
  292. package/dist/components/password-input/PasswordInput.d.ts +26 -0
  293. package/dist/components/password-input/PasswordInput.js +135 -0
  294. package/dist/components/password-input/PasswordInput.jsx +83 -0
  295. package/dist/components/password-input/index.d.ts +1 -0
  296. package/dist/components/password-input/index.js +1 -0
  297. package/dist/components/password-input/index.jsx +1 -0
  298. package/dist/components/pin-input/PinInput.d.ts +24 -0
  299. package/dist/components/pin-input/PinInput.js +144 -0
  300. package/dist/components/pin-input/PinInput.jsx +80 -0
  301. package/dist/components/pin-input/index.d.ts +1 -0
  302. package/dist/components/pin-input/index.js +1 -0
  303. package/dist/components/pin-input/index.jsx +1 -0
  304. package/dist/components/popover/Popover.d.ts +46 -0
  305. package/dist/components/popover/Popover.js +288 -0
  306. package/dist/components/popover/Popover.jsx +155 -0
  307. package/dist/components/popover/index.d.ts +1 -0
  308. package/dist/components/popover/index.js +1 -0
  309. package/dist/components/popover/index.jsx +1 -0
  310. package/dist/components/progress-circular/ProgressCircular.d.ts +28 -0
  311. package/dist/components/progress-circular/ProgressCircular.js +164 -0
  312. package/dist/components/progress-circular/ProgressCircular.jsx +89 -0
  313. package/dist/components/progress-circular/index.d.ts +1 -0
  314. package/dist/components/progress-circular/index.js +1 -0
  315. package/dist/components/progress-circular/index.jsx +1 -0
  316. package/dist/components/progress-linear/ProgressLinear.d.ts +23 -0
  317. package/dist/components/progress-linear/ProgressLinear.js +132 -0
  318. package/dist/components/progress-linear/ProgressLinear.jsx +71 -0
  319. package/dist/components/progress-linear/index.d.ts +1 -0
  320. package/dist/components/progress-linear/index.js +1 -0
  321. package/dist/components/progress-linear/index.jsx +1 -0
  322. package/dist/components/qr-code/QrCode.d.ts +19 -0
  323. package/dist/components/qr-code/QrCode.js +129 -0
  324. package/dist/components/qr-code/QrCode.jsx +70 -0
  325. package/dist/components/qr-code/index.d.ts +1 -0
  326. package/dist/components/qr-code/index.js +1 -0
  327. package/dist/components/qr-code/index.jsx +1 -0
  328. package/dist/components/radio-group/RadioGroup.d.ts +33 -0
  329. package/dist/components/radio-group/RadioGroup.js +158 -0
  330. package/dist/components/radio-group/RadioGroup.jsx +94 -0
  331. package/dist/components/radio-group/index.d.ts +2 -0
  332. package/dist/components/radio-group/index.js +1 -0
  333. package/dist/components/radio-group/index.jsx +1 -0
  334. package/dist/components/rating-group/RatingGroup.d.ts +33 -0
  335. package/dist/components/rating-group/RatingGroup.js +150 -0
  336. package/dist/components/rating-group/RatingGroup.jsx +80 -0
  337. package/dist/components/rating-group/index.d.ts +2 -0
  338. package/dist/components/rating-group/index.js +1 -0
  339. package/dist/components/rating-group/index.jsx +1 -0
  340. package/dist/components/scroll-area/ScrollArea.d.ts +30 -0
  341. package/dist/components/scroll-area/ScrollArea.js +109 -0
  342. package/dist/components/scroll-area/ScrollArea.jsx +61 -0
  343. package/dist/components/scroll-area/index.d.ts +2 -0
  344. package/dist/components/scroll-area/index.js +1 -0
  345. package/dist/components/scroll-area/index.jsx +1 -0
  346. package/dist/components/segment-group/SegmentGroup.d.ts +33 -0
  347. package/dist/components/segment-group/SegmentGroup.js +205 -0
  348. package/dist/components/segment-group/SegmentGroup.jsx +126 -0
  349. package/dist/components/segment-group/index.d.ts +1 -0
  350. package/dist/components/segment-group/index.js +1 -0
  351. package/dist/components/segment-group/index.jsx +1 -0
  352. package/dist/components/select/Select.d.ts +57 -0
  353. package/dist/components/select/Select.js +395 -0
  354. package/dist/components/select/Select.jsx +210 -0
  355. package/dist/components/select/index.d.ts +1 -0
  356. package/dist/components/select/index.js +1 -0
  357. package/dist/components/select/index.jsx +1 -0
  358. package/dist/components/separator/Separator.d.ts +17 -0
  359. package/dist/components/separator/Separator.js +127 -0
  360. package/dist/components/separator/Separator.jsx +100 -0
  361. package/dist/components/separator/index.d.ts +1 -0
  362. package/dist/components/separator/index.js +1 -0
  363. package/dist/components/separator/index.jsx +1 -0
  364. package/dist/components/sidebar/Sidebar.d.ts +82 -0
  365. package/dist/components/sidebar/Sidebar.js +590 -0
  366. package/dist/components/sidebar/Sidebar.jsx +308 -0
  367. package/dist/components/sidebar/index.d.ts +1 -0
  368. package/dist/components/sidebar/index.js +1 -0
  369. package/dist/components/sidebar/index.jsx +1 -0
  370. package/dist/components/signature-pad/SignaturePad.d.ts +30 -0
  371. package/dist/components/signature-pad/SignaturePad.js +211 -0
  372. package/dist/components/signature-pad/SignaturePad.jsx +116 -0
  373. package/dist/components/signature-pad/index.d.ts +1 -0
  374. package/dist/components/signature-pad/index.js +1 -0
  375. package/dist/components/signature-pad/index.jsx +1 -0
  376. package/dist/components/simple-grid/SimpleGrid.d.ts +17 -0
  377. package/dist/components/simple-grid/SimpleGrid.js +74 -0
  378. package/dist/components/simple-grid/SimpleGrid.jsx +59 -0
  379. package/dist/components/simple-grid/index.d.ts +1 -0
  380. package/dist/components/simple-grid/index.js +1 -0
  381. package/dist/components/simple-grid/index.jsx +1 -0
  382. package/dist/components/skeleton/Skeleton.d.ts +15 -0
  383. package/dist/components/skeleton/Skeleton.js +74 -0
  384. package/dist/components/skeleton/Skeleton.jsx +47 -0
  385. package/dist/components/skeleton/index.d.ts +1 -0
  386. package/dist/components/skeleton/index.js +1 -0
  387. package/dist/components/skeleton/index.jsx +1 -0
  388. package/dist/components/slider/Slider.d.ts +36 -0
  389. package/dist/components/slider/Slider.js +202 -0
  390. package/dist/components/slider/Slider.jsx +109 -0
  391. package/dist/components/slider/index.d.ts +1 -0
  392. package/dist/components/slider/index.js +1 -0
  393. package/dist/components/slider/index.jsx +1 -0
  394. package/dist/components/spinner/Spinner.d.ts +11 -0
  395. package/dist/components/spinner/Spinner.js +73 -0
  396. package/dist/components/spinner/Spinner.jsx +44 -0
  397. package/dist/components/spinner/index.d.ts +1 -0
  398. package/dist/components/spinner/index.js +1 -0
  399. package/dist/components/spinner/index.jsx +1 -0
  400. package/dist/components/split-button/SplitButton.d.ts +41 -0
  401. package/dist/components/split-button/SplitButton.js +197 -0
  402. package/dist/components/split-button/SplitButton.jsx +117 -0
  403. package/dist/components/split-button/index.d.ts +1 -0
  404. package/dist/components/split-button/index.js +1 -0
  405. package/dist/components/split-button/index.jsx +1 -0
  406. package/dist/components/splitter/Splitter.d.ts +18 -0
  407. package/dist/components/splitter/Splitter.js +101 -0
  408. package/dist/components/splitter/Splitter.jsx +58 -0
  409. package/dist/components/splitter/index.d.ts +1 -0
  410. package/dist/components/splitter/index.js +1 -0
  411. package/dist/components/splitter/index.jsx +1 -0
  412. package/dist/components/stack/Stack.d.ts +19 -0
  413. package/dist/components/stack/Stack.js +83 -0
  414. package/dist/components/stack/Stack.jsx +68 -0
  415. package/dist/components/stack/index.d.ts +1 -0
  416. package/dist/components/stack/index.js +1 -0
  417. package/dist/components/stack/index.jsx +1 -0
  418. package/dist/components/steps/Steps.d.ts +35 -0
  419. package/dist/components/steps/Steps.js +162 -0
  420. package/dist/components/steps/Steps.jsx +99 -0
  421. package/dist/components/steps/index.d.ts +1 -0
  422. package/dist/components/steps/index.js +1 -0
  423. package/dist/components/steps/index.jsx +1 -0
  424. package/dist/components/swap/Swap.d.ts +20 -0
  425. package/dist/components/swap/Swap.js +52 -0
  426. package/dist/components/swap/Swap.jsx +30 -0
  427. package/dist/components/swap/index.d.ts +1 -0
  428. package/dist/components/swap/index.js +1 -0
  429. package/dist/components/swap/index.jsx +1 -0
  430. package/dist/components/switch/Switch.d.ts +25 -0
  431. package/dist/components/switch/Switch.js +101 -0
  432. package/dist/components/switch/Switch.jsx +57 -0
  433. package/dist/components/switch/index.d.ts +1 -0
  434. package/dist/components/switch/index.js +1 -0
  435. package/dist/components/switch/index.jsx +1 -0
  436. package/dist/components/table/Table.d.ts +71 -0
  437. package/dist/components/table/Table.js +363 -0
  438. package/dist/components/table/Table.jsx +189 -0
  439. package/dist/components/table/index.d.ts +1 -0
  440. package/dist/components/table/index.js +1 -0
  441. package/dist/components/table/index.jsx +1 -0
  442. package/dist/components/tabs/Tabs.d.ts +25 -0
  443. package/dist/components/tabs/Tabs.js +98 -0
  444. package/dist/components/tabs/Tabs.jsx +55 -0
  445. package/dist/components/tabs/index.d.ts +1 -0
  446. package/dist/components/tabs/index.js +1 -0
  447. package/dist/components/tabs/index.jsx +1 -0
  448. package/dist/components/tag/Tag.d.ts +24 -0
  449. package/dist/components/tag/Tag.js +147 -0
  450. package/dist/components/tag/Tag.jsx +78 -0
  451. package/dist/components/tag/index.d.ts +1 -0
  452. package/dist/components/tag/index.js +1 -0
  453. package/dist/components/tag/index.jsx +1 -0
  454. package/dist/components/tags-input/TagsInput.d.ts +32 -0
  455. package/dist/components/tags-input/TagsInput.js +240 -0
  456. package/dist/components/tags-input/TagsInput.jsx +127 -0
  457. package/dist/components/tags-input/index.d.ts +1 -0
  458. package/dist/components/tags-input/index.js +1 -0
  459. package/dist/components/tags-input/index.jsx +1 -0
  460. package/dist/components/text/Text.d.ts +30 -0
  461. package/dist/components/text/Text.js +126 -0
  462. package/dist/components/text/Text.jsx +91 -0
  463. package/dist/components/text/index.d.ts +1 -0
  464. package/dist/components/text/index.js +1 -0
  465. package/dist/components/text/index.jsx +1 -0
  466. package/dist/components/textarea/Textarea.d.ts +9 -0
  467. package/dist/components/textarea/Textarea.js +45 -0
  468. package/dist/components/textarea/Textarea.jsx +26 -0
  469. package/dist/components/textarea/index.d.ts +1 -0
  470. package/dist/components/textarea/index.js +1 -0
  471. package/dist/components/textarea/index.jsx +1 -0
  472. package/dist/components/timer/Timer.d.ts +26 -0
  473. package/dist/components/timer/Timer.js +126 -0
  474. package/dist/components/timer/Timer.jsx +77 -0
  475. package/dist/components/timer/index.d.ts +1 -0
  476. package/dist/components/timer/index.js +1 -0
  477. package/dist/components/timer/index.jsx +1 -0
  478. package/dist/components/toast/Toast.d.ts +22 -0
  479. package/dist/components/toast/Toast.js +184 -0
  480. package/dist/components/toast/Toast.jsx +94 -0
  481. package/dist/components/toast/index.d.ts +1 -0
  482. package/dist/components/toast/index.js +1 -0
  483. package/dist/components/toast/index.jsx +1 -0
  484. package/dist/components/toc/Toc.d.ts +34 -0
  485. package/dist/components/toc/Toc.js +222 -0
  486. package/dist/components/toc/Toc.jsx +129 -0
  487. package/dist/components/toc/index.d.ts +1 -0
  488. package/dist/components/toc/index.js +1 -0
  489. package/dist/components/toc/index.jsx +1 -0
  490. package/dist/components/toggle/Toggle.d.ts +17 -0
  491. package/dist/components/toggle/Toggle.js +76 -0
  492. package/dist/components/toggle/Toggle.jsx +51 -0
  493. package/dist/components/toggle/index.d.ts +2 -0
  494. package/dist/components/toggle/index.js +1 -0
  495. package/dist/components/toggle/index.jsx +1 -0
  496. package/dist/components/toggle-group/ToggleGroup.d.ts +27 -0
  497. package/dist/components/toggle-group/ToggleGroup.js +165 -0
  498. package/dist/components/toggle-group/ToggleGroup.jsx +110 -0
  499. package/dist/components/toggle-group/index.d.ts +2 -0
  500. package/dist/components/toggle-group/index.js +1 -0
  501. package/dist/components/toggle-group/index.jsx +1 -0
  502. package/dist/components/tooltip/Tooltip.d.ts +29 -0
  503. package/dist/components/tooltip/Tooltip.js +192 -0
  504. package/dist/components/tooltip/Tooltip.jsx +108 -0
  505. package/dist/components/tooltip/index.d.ts +1 -0
  506. package/dist/components/tooltip/index.js +1 -0
  507. package/dist/components/tooltip/index.jsx +1 -0
  508. package/dist/components/tour/Tour.d.ts +46 -0
  509. package/dist/components/tour/Tour.js +274 -0
  510. package/dist/components/tour/Tour.jsx +155 -0
  511. package/dist/components/tour/index.d.ts +2 -0
  512. package/dist/components/tour/index.js +1 -0
  513. package/dist/components/tour/index.jsx +1 -0
  514. package/dist/components/tree-view/TreeView.d.ts +58 -0
  515. package/dist/components/tree-view/TreeView.js +296 -0
  516. package/dist/components/tree-view/TreeView.jsx +173 -0
  517. package/dist/components/tree-view/index.d.ts +1 -0
  518. package/dist/components/tree-view/index.js +1 -0
  519. package/dist/components/tree-view/index.jsx +1 -0
  520. package/dist/components/typeset/Typeset.d.ts +15 -0
  521. package/dist/components/typeset/Typeset.js +68 -0
  522. package/dist/components/typeset/Typeset.jsx +33 -0
  523. package/dist/components/typeset/Typeset.module.js +6 -0
  524. package/dist/components/typeset/Typeset.module.jsx +6 -0
  525. package/dist/components/typeset/Typeset_module.css +466 -0
  526. package/dist/components/typeset/index.d.ts +1 -0
  527. package/dist/components/typeset/index.js +1 -0
  528. package/dist/components/typeset/index.jsx +1 -0
  529. package/dist/internal/cn.d.ts +2 -0
  530. package/dist/internal/cn.js +40 -0
  531. package/dist/internal/cn.jsx +40 -0
  532. package/dist/internal/icons/ui/Icons.d.ts +37 -0
  533. package/dist/internal/icons/ui/Icons.js +115 -0
  534. package/dist/internal/icons/ui/Icons.jsx +93 -0
  535. package/dist/internal/icons/ui/index.d.ts +1 -0
  536. package/dist/internal/icons/ui/index.js +1 -0
  537. package/dist/internal/icons/ui/index.jsx +1 -0
  538. package/dist/internal/overlayPortal.d.ts +13 -0
  539. package/dist/internal/overlayPortal.js +39 -0
  540. package/dist/internal/overlayPortal.jsx +19 -0
  541. package/dist/locale.d.ts +1 -0
  542. package/dist/locale.js +1 -0
  543. package/dist/locale.jsx +1 -0
  544. package/dist/presets/contrast.css +65 -0
  545. package/dist/presets/dense.css +78 -0
  546. package/dist/presets/soft.css +77 -0
  547. package/dist/styles/animations.css +371 -0
  548. package/dist/styles/borders.css +10 -0
  549. package/dist/styles/colors.css +122 -0
  550. package/dist/styles/opacity.css +5 -0
  551. package/dist/styles/radius.css +11 -0
  552. package/dist/styles/shadows.css +5 -0
  553. package/dist/styles/sizing.css +11 -0
  554. package/dist/styles/spacing.css +26 -0
  555. package/dist/styles/style.css +180 -0
  556. package/dist/styles/transforms.css +4 -0
  557. package/dist/styles/transitions.css +32 -0
  558. package/dist/styles/typography.css +37 -0
  559. package/dist/styles/z-index.css +13 -0
  560. package/package.json +633 -0
@@ -0,0 +1,165 @@
1
+ import { createComponent, memo, mergeProps } from "solid-js/web";
2
+ import { AngleSlider, useAngleSlider, useAngleSliderContext } from "@ark-ui/solid/angle-slider";
3
+ import { For, splitProps } from "solid-js";
4
+ import { cn } from "../../internal/cn.js";
5
+ function AngleSliderRoot(props) {
6
+ const [local, others] = splitProps(props, [
7
+ 'asChild',
8
+ 'children',
9
+ 'class'
10
+ ]);
11
+ return createComponent(AngleSlider.Root, mergeProps({
12
+ get asChild () {
13
+ return local.asChild;
14
+ },
15
+ "data-slot": "angle-slider-root",
16
+ get ["class"] () {
17
+ return cn('box-border inline-flex min-w-0 flex-col items-center gap-3 text-foreground data-disabled:opacity-50', local.class);
18
+ }
19
+ }, others, {
20
+ get children () {
21
+ return local.children;
22
+ }
23
+ }));
24
+ }
25
+ function AngleSliderLabel(props) {
26
+ const [local, others] = splitProps(props, [
27
+ 'class'
28
+ ]);
29
+ return createComponent(AngleSlider.Label, mergeProps({
30
+ "data-slot": "angle-slider-label",
31
+ get ["class"] () {
32
+ return cn('text-center text-sm font-medium text-foreground', local.class);
33
+ }
34
+ }, others));
35
+ }
36
+ function AngleSliderRootProvider(props) {
37
+ const [local, others] = splitProps(props, [
38
+ 'asChild',
39
+ 'children',
40
+ 'class',
41
+ 'value'
42
+ ]);
43
+ return createComponent(AngleSlider.RootProvider, mergeProps({
44
+ get asChild () {
45
+ return local.asChild;
46
+ },
47
+ get value () {
48
+ return local.value;
49
+ },
50
+ "data-slot": "angle-slider-root-provider",
51
+ get ["class"] () {
52
+ return cn('box-border inline-flex min-w-0 flex-col items-center gap-3 text-foreground data-disabled:opacity-50', local.class);
53
+ }
54
+ }, others, {
55
+ get children () {
56
+ return local.children;
57
+ }
58
+ }));
59
+ }
60
+ function AngleSliderControl(props) {
61
+ const [local, others] = splitProps(props, [
62
+ 'class',
63
+ 'onPointerDown'
64
+ ]);
65
+ return createComponent(AngleSlider.Control, mergeProps({
66
+ "data-slot": "angle-slider-control",
67
+ get ["class"] () {
68
+ return cn("relative box-border flex aspect-square w-32 min-w-0 cursor-pointer items-center justify-center rounded-full bg-muted shadow-[inset_0_0_0_1px_var(--color-border)] outline-0 transition-colors duration-200 select-none before:absolute before:z-1 before:size-1.5 before:rounded-[inherit] before:bg-foreground before:content-[''] after:absolute after:inset-3.5 after:z-1 after:rounded-[inherit] after:bg-background after:shadow-[inset_0_0_0_1px_var(--color-border)] after:content-[''] data-disabled:cursor-default data-invalid:shadow-[inset_0_0_0_1px_var(--color-destructive)] data-invalid:after:shadow-[inset_0_0_0_1px_var(--color-destructive)] data-readonly:cursor-default motion-reduce:transition-none [&:has([data-scope='angle-slider'][data-part='thumb']:focus-visible)]:shadow-[inset_0_0_0_1px_var(--color-border),0_0_0_3px_var(--color-ring)] [&:not([data-disabled]):not([data-readonly]):active]:bg-muted [@media(hover:hover)]:[&:not([data-disabled]):not([data-readonly]):hover]:bg-muted", local.class);
69
+ },
70
+ onPointerDown: (event)=>{
71
+ local.onPointerDown?.(event);
72
+ event.currentTarget.querySelector('[data-scope="angle-slider"][data-part="thumb"]')?.blur();
73
+ }
74
+ }, others));
75
+ }
76
+ function AngleSliderThumb(props) {
77
+ const [local, others] = splitProps(props, [
78
+ 'class'
79
+ ]);
80
+ return createComponent(AngleSlider.Thumb, mergeProps({
81
+ "data-slot": "angle-slider-thumb",
82
+ get ["class"] () {
83
+ return cn("absolute inset-y-0 left-[calc(50%-0.09375rem)] z-2 w-[0.1875rem] outline-0 before:absolute before:top-3.5 before:left-1/2 before:box-border before:size-4 before:-translate-x-1/2 before:rounded-full before:border before:border-border before:bg-primary before:shadow-sm before:transition-[border-color,box-shadow,background-color,scale] before:duration-200 before:content-[''] after:absolute after:top-[2.125rem] after:left-1/2 after:h-[calc(50%-2.25rem)] after:w-[0.1875rem] after:-translate-x-1/2 after:rounded-full after:bg-linear-to-b after:from-primary after:to-transparent after:content-[''] focus-visible:before:border-ring focus-visible:before:ring-1 focus-visible:before:ring-ring data-disabled:pointer-events-none data-invalid:before:border-destructive data-invalid:before:bg-destructive data-invalid:after:from-destructive motion-reduce:before:transition-none [&:active:not([data-disabled]):not([data-readonly])]:before:scale-[1.08]", local.class);
84
+ }
85
+ }, others));
86
+ }
87
+ function AngleSliderMarkerGroup(props) {
88
+ const [local, others] = splitProps(props, [
89
+ 'class'
90
+ ]);
91
+ return createComponent(AngleSlider.MarkerGroup, mergeProps({
92
+ "data-slot": "angle-slider-marker-group",
93
+ get ["class"] () {
94
+ return cn('pointer-events-none absolute inset-0 z-1', local.class);
95
+ }
96
+ }, others));
97
+ }
98
+ function AngleSliderMarker(props) {
99
+ const [local, others] = splitProps(props, [
100
+ 'class'
101
+ ]);
102
+ return createComponent(AngleSlider.Marker, mergeProps({
103
+ "data-slot": "angle-slider-marker",
104
+ get ["class"] () {
105
+ return cn("absolute inset-0 before:absolute before:top-4 before:left-1/2 before:h-2.5 before:w-0.5 before:-translate-x-1/2 before:-translate-y-1/2 before:rounded-full before:bg-muted-foreground before:content-[''] data-[state=at-value]:before:bg-foreground data-[state=under-value]:before:bg-primary", local.class);
106
+ }
107
+ }, others));
108
+ }
109
+ function AngleSliderMarks(props) {
110
+ const [local, others] = splitProps(props, [
111
+ 'values'
112
+ ]);
113
+ return createComponent(AngleSliderMarkerGroup, mergeProps(others, {
114
+ get children () {
115
+ return createComponent(For, {
116
+ get each () {
117
+ return local.values;
118
+ },
119
+ children: (value)=>createComponent(AngleSliderMarker, {
120
+ value: value
121
+ })
122
+ });
123
+ }
124
+ }));
125
+ }
126
+ function AngleSliderDial(props) {
127
+ const [local, others] = splitProps(props, [
128
+ 'children'
129
+ ]);
130
+ return createComponent(AngleSliderControl, mergeProps(others, {
131
+ get children () {
132
+ return [
133
+ memo(()=>local.children),
134
+ createComponent(AngleSliderThumb, {})
135
+ ];
136
+ }
137
+ }));
138
+ }
139
+ function AngleSliderValueText(props) {
140
+ const [local, others] = splitProps(props, [
141
+ 'class'
142
+ ]);
143
+ return createComponent(AngleSlider.ValueText, mergeProps({
144
+ "data-slot": "angle-slider-value-text",
145
+ get ["class"] () {
146
+ return cn('text-center text-sm font-medium text-foreground', local.class);
147
+ }
148
+ }, others));
149
+ }
150
+ const AngleSlider_AngleSlider = Object.assign(AngleSliderRoot, {
151
+ Root: AngleSliderRoot,
152
+ RootProvider: AngleSliderRootProvider,
153
+ Context: AngleSlider.Context,
154
+ HiddenInput: AngleSlider.HiddenInput,
155
+ Label: AngleSliderLabel,
156
+ Control: AngleSliderControl,
157
+ Dial: AngleSliderDial,
158
+ Thumb: AngleSliderThumb,
159
+ MarkerGroup: AngleSliderMarkerGroup,
160
+ Marker: AngleSliderMarker,
161
+ Marks: AngleSliderMarks,
162
+ ValueText: AngleSliderValueText
163
+ });
164
+ const AngleSlider_useAngleSlider = useAngleSlider;
165
+ export { AngleSlider_AngleSlider as AngleSlider, AngleSlider_useAngleSlider as useAngleSlider, useAngleSliderContext };
@@ -0,0 +1,97 @@
1
+ import { AngleSlider, useAngleSlider, useAngleSliderContext } from "@ark-ui/solid/angle-slider";
2
+ import { For, splitProps } from "solid-js";
3
+ import { cn } from "../../internal/cn.jsx";
4
+ function AngleSliderRoot(props) {
5
+ const [local, others] = splitProps(props, [
6
+ 'asChild',
7
+ 'children',
8
+ 'class'
9
+ ]);
10
+ return <AngleSlider.Root asChild={local.asChild} data-slot="angle-slider-root" class={cn('box-border inline-flex min-w-0 flex-col items-center gap-3 text-foreground data-disabled:opacity-50', local.class)} {...others}>
11
+ {local.children}
12
+ </AngleSlider.Root>;
13
+ }
14
+ function AngleSliderLabel(props) {
15
+ const [local, others] = splitProps(props, [
16
+ 'class'
17
+ ]);
18
+ return <AngleSlider.Label data-slot="angle-slider-label" class={cn('text-center text-sm font-medium text-foreground', local.class)} {...others}/>;
19
+ }
20
+ function AngleSliderRootProvider(props) {
21
+ const [local, others] = splitProps(props, [
22
+ 'asChild',
23
+ 'children',
24
+ 'class',
25
+ 'value'
26
+ ]);
27
+ return <AngleSlider.RootProvider asChild={local.asChild} value={local.value} data-slot="angle-slider-root-provider" class={cn('box-border inline-flex min-w-0 flex-col items-center gap-3 text-foreground data-disabled:opacity-50', local.class)} {...others}>
28
+ {local.children}
29
+ </AngleSlider.RootProvider>;
30
+ }
31
+ function AngleSliderControl(props) {
32
+ const [local, others] = splitProps(props, [
33
+ 'class',
34
+ 'onPointerDown'
35
+ ]);
36
+ return <AngleSlider.Control data-slot="angle-slider-control" class={cn("relative box-border flex aspect-square w-32 min-w-0 cursor-pointer items-center justify-center rounded-full bg-muted shadow-[inset_0_0_0_1px_var(--color-border)] outline-0 transition-colors duration-200 select-none before:absolute before:z-1 before:size-1.5 before:rounded-[inherit] before:bg-foreground before:content-[''] after:absolute after:inset-3.5 after:z-1 after:rounded-[inherit] after:bg-background after:shadow-[inset_0_0_0_1px_var(--color-border)] after:content-[''] data-disabled:cursor-default data-invalid:shadow-[inset_0_0_0_1px_var(--color-destructive)] data-invalid:after:shadow-[inset_0_0_0_1px_var(--color-destructive)] data-readonly:cursor-default motion-reduce:transition-none [&:has([data-scope='angle-slider'][data-part='thumb']:focus-visible)]:shadow-[inset_0_0_0_1px_var(--color-border),0_0_0_3px_var(--color-ring)] [&:not([data-disabled]):not([data-readonly]):active]:bg-muted [@media(hover:hover)]:[&:not([data-disabled]):not([data-readonly]):hover]:bg-muted", local.class)} onPointerDown={(event)=>{
37
+ local.onPointerDown?.(event);
38
+ event.currentTarget.querySelector('[data-scope="angle-slider"][data-part="thumb"]')?.blur();
39
+ }} {...others}/>;
40
+ }
41
+ function AngleSliderThumb(props) {
42
+ const [local, others] = splitProps(props, [
43
+ 'class'
44
+ ]);
45
+ return <AngleSlider.Thumb data-slot="angle-slider-thumb" class={cn("absolute inset-y-0 left-[calc(50%-0.09375rem)] z-2 w-[0.1875rem] outline-0 before:absolute before:top-3.5 before:left-1/2 before:box-border before:size-4 before:-translate-x-1/2 before:rounded-full before:border before:border-border before:bg-primary before:shadow-sm before:transition-[border-color,box-shadow,background-color,scale] before:duration-200 before:content-[''] after:absolute after:top-[2.125rem] after:left-1/2 after:h-[calc(50%-2.25rem)] after:w-[0.1875rem] after:-translate-x-1/2 after:rounded-full after:bg-linear-to-b after:from-primary after:to-transparent after:content-[''] focus-visible:before:border-ring focus-visible:before:ring-1 focus-visible:before:ring-ring data-disabled:pointer-events-none data-invalid:before:border-destructive data-invalid:before:bg-destructive data-invalid:after:from-destructive motion-reduce:before:transition-none [&:active:not([data-disabled]):not([data-readonly])]:before:scale-[1.08]", local.class)} {...others}/>;
46
+ }
47
+ function AngleSliderMarkerGroup(props) {
48
+ const [local, others] = splitProps(props, [
49
+ 'class'
50
+ ]);
51
+ return <AngleSlider.MarkerGroup data-slot="angle-slider-marker-group" class={cn('pointer-events-none absolute inset-0 z-1', local.class)} {...others}/>;
52
+ }
53
+ function AngleSliderMarker(props) {
54
+ const [local, others] = splitProps(props, [
55
+ 'class'
56
+ ]);
57
+ return <AngleSlider.Marker data-slot="angle-slider-marker" class={cn("absolute inset-0 before:absolute before:top-4 before:left-1/2 before:h-2.5 before:w-0.5 before:-translate-x-1/2 before:-translate-y-1/2 before:rounded-full before:bg-muted-foreground before:content-[''] data-[state=at-value]:before:bg-foreground data-[state=under-value]:before:bg-primary", local.class)} {...others}/>;
58
+ }
59
+ function AngleSliderMarks(props) {
60
+ const [local, others] = splitProps(props, [
61
+ 'values'
62
+ ]);
63
+ return <AngleSliderMarkerGroup {...others}>
64
+ <For each={local.values}>{(value)=><AngleSliderMarker value={value}/>}</For>
65
+ </AngleSliderMarkerGroup>;
66
+ }
67
+ function AngleSliderDial(props) {
68
+ const [local, others] = splitProps(props, [
69
+ 'children'
70
+ ]);
71
+ return <AngleSliderControl {...others}>
72
+ {local.children}
73
+ <AngleSliderThumb/>
74
+ </AngleSliderControl>;
75
+ }
76
+ function AngleSliderValueText(props) {
77
+ const [local, others] = splitProps(props, [
78
+ 'class'
79
+ ]);
80
+ return <AngleSlider.ValueText data-slot="angle-slider-value-text" class={cn('text-center text-sm font-medium text-foreground', local.class)} {...others}/>;
81
+ }
82
+ const AngleSlider_AngleSlider = Object.assign(AngleSliderRoot, {
83
+ Root: AngleSliderRoot,
84
+ RootProvider: AngleSliderRootProvider,
85
+ Context: AngleSlider.Context,
86
+ HiddenInput: AngleSlider.HiddenInput,
87
+ Label: AngleSliderLabel,
88
+ Control: AngleSliderControl,
89
+ Dial: AngleSliderDial,
90
+ Thumb: AngleSliderThumb,
91
+ MarkerGroup: AngleSliderMarkerGroup,
92
+ Marker: AngleSliderMarker,
93
+ Marks: AngleSliderMarks,
94
+ ValueText: AngleSliderValueText
95
+ });
96
+ const AngleSlider_useAngleSlider = useAngleSlider;
97
+ export { AngleSlider_AngleSlider as AngleSlider, AngleSlider_useAngleSlider as useAngleSlider, useAngleSliderContext };
@@ -0,0 +1 @@
1
+ export * from './AngleSlider.js';
@@ -0,0 +1 @@
1
+ export * from "./AngleSlider.js";
@@ -0,0 +1 @@
1
+ export * from "./AngleSlider.jsx";
@@ -0,0 +1,13 @@
1
+ import type { HTMLArkProps } from '@ark-ui/solid/factory';
2
+ import type { JSX } from 'solid-js';
3
+ type AspectRatioRootProps = HTMLArkProps<'div'> & {
4
+ ratio: number;
5
+ 'data-scope'?: string;
6
+ 'data-part'?: string;
7
+ 'data-slot'?: string;
8
+ };
9
+ declare function AspectRatioRoot(props: AspectRatioRootProps): JSX.Element;
10
+ declare const AspectRatio: typeof AspectRatioRoot & {
11
+ Root: typeof AspectRatioRoot;
12
+ };
13
+ export { AspectRatio };
@@ -0,0 +1,43 @@
1
+ import { createComponent, mergeProps } from "solid-js/web";
2
+ import { ark } from "@ark-ui/solid/factory";
3
+ import { splitProps } from "solid-js";
4
+ import { cn } from "../../internal/cn.js";
5
+ function AspectRatioRoot(props) {
6
+ const [local, others] = splitProps(props, [
7
+ 'asChild',
8
+ 'class',
9
+ 'ratio',
10
+ 'style',
11
+ 'data-scope',
12
+ 'data-part',
13
+ 'data-slot'
14
+ ]);
15
+ const aspectRatioStyle = ()=>{
16
+ const ratio = local.ratio;
17
+ if (!Number.isFinite(ratio) || ratio <= 0) throw new RangeError('AspectRatio `ratio` must be a finite number greater than zero.');
18
+ if ('string' == typeof local.style) return `${local.style};--_aspect-ratio-value:${ratio}`;
19
+ return {
20
+ ...local.style,
21
+ '--_aspect-ratio-value': ratio
22
+ };
23
+ };
24
+ return createComponent(ark.div, mergeProps({
25
+ get asChild () {
26
+ return local.asChild;
27
+ }
28
+ }, others, {
29
+ "data-scope": "aspect-ratio",
30
+ "data-part": "root",
31
+ "data-slot": "aspect-ratio-root",
32
+ get ["class"] () {
33
+ return cn('relative block aspect-[var(--_aspect-ratio-value)] w-full', local.class);
34
+ },
35
+ get style () {
36
+ return aspectRatioStyle();
37
+ }
38
+ }));
39
+ }
40
+ const AspectRatio = Object.assign(AspectRatioRoot, {
41
+ Root: AspectRatioRoot
42
+ });
43
+ export { AspectRatio };
@@ -0,0 +1,28 @@
1
+ import { ark } from "@ark-ui/solid/factory";
2
+ import { splitProps } from "solid-js";
3
+ import { cn } from "../../internal/cn.jsx";
4
+ function AspectRatioRoot(props) {
5
+ const [local, others] = splitProps(props, [
6
+ 'asChild',
7
+ 'class',
8
+ 'ratio',
9
+ 'style',
10
+ 'data-scope',
11
+ 'data-part',
12
+ 'data-slot'
13
+ ]);
14
+ const aspectRatioStyle = ()=>{
15
+ const ratio = local.ratio;
16
+ if (!Number.isFinite(ratio) || ratio <= 0) throw new RangeError('AspectRatio `ratio` must be a finite number greater than zero.');
17
+ if ('string' == typeof local.style) return `${local.style};--_aspect-ratio-value:${ratio}`;
18
+ return {
19
+ ...local.style,
20
+ '--_aspect-ratio-value': ratio
21
+ };
22
+ };
23
+ return <ark.div asChild={local.asChild} {...others} data-scope="aspect-ratio" data-part="root" data-slot="aspect-ratio-root" class={cn('relative block aspect-[var(--_aspect-ratio-value)] w-full', local.class)} style={aspectRatioStyle()}/>;
24
+ }
25
+ const AspectRatio = Object.assign(AspectRatioRoot, {
26
+ Root: AspectRatioRoot
27
+ });
28
+ export { AspectRatio };
@@ -0,0 +1 @@
1
+ export { AspectRatio } from './AspectRatio.js';
@@ -0,0 +1 @@
1
+ export { AspectRatio } from "./AspectRatio.js";
@@ -0,0 +1 @@
1
+ export { AspectRatio } from "./AspectRatio.jsx";
@@ -0,0 +1,21 @@
1
+ import { Avatar as AvatarPrimitive, useAvatar, useAvatarContext } from '@ark-ui/solid/avatar';
2
+ import type { ComponentProps } from 'solid-js';
3
+ type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ type AvatarRootProps = ComponentProps<typeof AvatarPrimitive.Root> & {
5
+ size?: AvatarSize;
6
+ };
7
+ type AvatarRootProviderProps = ComponentProps<typeof AvatarPrimitive.RootProvider> & {
8
+ size?: AvatarSize;
9
+ };
10
+ declare function AvatarRoot(props: AvatarRootProps): import("solid-js").JSX.Element;
11
+ declare function AvatarRootProvider(props: AvatarRootProviderProps): import("solid-js").JSX.Element;
12
+ declare function AvatarImage(props: ComponentProps<typeof AvatarPrimitive.Image>): import("solid-js").JSX.Element;
13
+ declare function AvatarFallback(props: ComponentProps<typeof AvatarPrimitive.Fallback>): import("solid-js").JSX.Element;
14
+ declare const Avatar: typeof AvatarRoot & {
15
+ Root: typeof AvatarRoot;
16
+ RootProvider: typeof AvatarRootProvider;
17
+ Context: (props: AvatarPrimitive.ContextProps) => import("solid-js").JSX.Element;
18
+ Image: typeof AvatarImage;
19
+ Fallback: typeof AvatarFallback;
20
+ };
21
+ export { Avatar, useAvatar, useAvatarContext };
@@ -0,0 +1,88 @@
1
+ import { createComponent, mergeProps } from "solid-js/web";
2
+ import { Avatar, useAvatar, useAvatarContext } from "@ark-ui/solid/avatar";
3
+ import { cva } from "class-variance-authority";
4
+ import { splitProps } from "solid-js";
5
+ import { cn } from "../../internal/cn.js";
6
+ const avatarVariants = cva('relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted align-middle font-medium text-foreground select-none', {
7
+ variants: {
8
+ size: {
9
+ xs: 'size-control-xs text-xs',
10
+ sm: 'size-control-sm text-sm',
11
+ md: 'size-control-md text-md',
12
+ lg: 'size-control-lg text-lg',
13
+ xl: 'size-control-xl text-lg'
14
+ }
15
+ },
16
+ defaultVariants: {
17
+ size: 'md'
18
+ }
19
+ });
20
+ function AvatarRoot(props) {
21
+ const [local, others] = splitProps(props, [
22
+ 'class',
23
+ 'size'
24
+ ]);
25
+ return createComponent(Avatar.Root, mergeProps({
26
+ "data-slot": "avatar-root",
27
+ get ["data-size"] () {
28
+ return local.size;
29
+ },
30
+ get ["class"] () {
31
+ return cn(avatarVariants({
32
+ size: local.size
33
+ }), local.class);
34
+ }
35
+ }, others));
36
+ }
37
+ function AvatarRootProvider(props) {
38
+ const [local, others] = splitProps(props, [
39
+ 'class',
40
+ 'size'
41
+ ]);
42
+ return createComponent(Avatar.RootProvider, mergeProps({
43
+ "data-slot": "avatar-root-provider",
44
+ get ["data-size"] () {
45
+ return local.size;
46
+ },
47
+ get ["class"] () {
48
+ return cn(avatarVariants({
49
+ size: local.size
50
+ }), local.class);
51
+ }
52
+ }, others));
53
+ }
54
+ function AvatarImage(props) {
55
+ const [local, others] = splitProps(props, [
56
+ 'class'
57
+ ]);
58
+ return createComponent(Avatar.Image, mergeProps({
59
+ "data-slot": "avatar-image",
60
+ get ["class"] () {
61
+ return cn('block size-full rounded-[inherit] object-cover object-center data-[state=hidden]:hidden', local.class);
62
+ }
63
+ }, others));
64
+ }
65
+ function AvatarFallback(props) {
66
+ const [local, others] = splitProps(props, [
67
+ 'children',
68
+ 'class'
69
+ ]);
70
+ return createComponent(Avatar.Fallback, mergeProps({
71
+ "data-slot": "avatar-fallback",
72
+ get ["class"] () {
73
+ return cn('inline-flex size-full items-center justify-center rounded-[inherit] bg-[inherit] data-[state=hidden]:hidden', local.class);
74
+ }
75
+ }, others, {
76
+ get children () {
77
+ return local.children;
78
+ }
79
+ }));
80
+ }
81
+ const Avatar_Avatar = Object.assign(AvatarRoot, {
82
+ Root: AvatarRoot,
83
+ RootProvider: AvatarRootProvider,
84
+ Context: Avatar.Context,
85
+ Image: AvatarImage,
86
+ Fallback: AvatarFallback
87
+ });
88
+ export { Avatar_Avatar as Avatar, useAvatar, useAvatarContext };
@@ -0,0 +1,59 @@
1
+ import { Avatar, useAvatar, useAvatarContext } from "@ark-ui/solid/avatar";
2
+ import { cva } from "class-variance-authority";
3
+ import { splitProps } from "solid-js";
4
+ import { cn } from "../../internal/cn.jsx";
5
+ const avatarVariants = cva('relative inline-flex shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted align-middle font-medium text-foreground select-none', {
6
+ variants: {
7
+ size: {
8
+ xs: 'size-control-xs text-xs',
9
+ sm: 'size-control-sm text-sm',
10
+ md: 'size-control-md text-md',
11
+ lg: 'size-control-lg text-lg',
12
+ xl: 'size-control-xl text-lg'
13
+ }
14
+ },
15
+ defaultVariants: {
16
+ size: 'md'
17
+ }
18
+ });
19
+ function AvatarRoot(props) {
20
+ const [local, others] = splitProps(props, [
21
+ 'class',
22
+ 'size'
23
+ ]);
24
+ return <Avatar.Root data-slot="avatar-root" data-size={local.size} class={cn(avatarVariants({
25
+ size: local.size
26
+ }), local.class)} {...others}/>;
27
+ }
28
+ function AvatarRootProvider(props) {
29
+ const [local, others] = splitProps(props, [
30
+ 'class',
31
+ 'size'
32
+ ]);
33
+ return <Avatar.RootProvider data-slot="avatar-root-provider" data-size={local.size} class={cn(avatarVariants({
34
+ size: local.size
35
+ }), local.class)} {...others}/>;
36
+ }
37
+ function AvatarImage(props) {
38
+ const [local, others] = splitProps(props, [
39
+ 'class'
40
+ ]);
41
+ return <Avatar.Image data-slot="avatar-image" class={cn('block size-full rounded-[inherit] object-cover object-center data-[state=hidden]:hidden', local.class)} {...others}/>;
42
+ }
43
+ function AvatarFallback(props) {
44
+ const [local, others] = splitProps(props, [
45
+ 'children',
46
+ 'class'
47
+ ]);
48
+ return <Avatar.Fallback data-slot="avatar-fallback" class={cn('inline-flex size-full items-center justify-center rounded-[inherit] bg-[inherit] data-[state=hidden]:hidden', local.class)} {...others}>
49
+ {local.children}
50
+ </Avatar.Fallback>;
51
+ }
52
+ const Avatar_Avatar = Object.assign(AvatarRoot, {
53
+ Root: AvatarRoot,
54
+ RootProvider: AvatarRootProvider,
55
+ Context: Avatar.Context,
56
+ Image: AvatarImage,
57
+ Fallback: AvatarFallback
58
+ });
59
+ export { Avatar_Avatar as Avatar, useAvatar, useAvatarContext };
@@ -0,0 +1 @@
1
+ export { Avatar, useAvatar, useAvatarContext } from './Avatar.js';
@@ -0,0 +1 @@
1
+ export { Avatar, useAvatar, useAvatarContext } from "./Avatar.js";
@@ -0,0 +1 @@
1
+ export { Avatar, useAvatar, useAvatarContext } from "./Avatar.jsx";
@@ -0,0 +1,14 @@
1
+ import type { HTMLArkProps } from '@ark-ui/solid/factory';
2
+ type BadgeVariant = 'default' | 'secondary' | 'destructive' | 'outline' | 'ghost' | 'link';
3
+ type BadgeRootProps = HTMLArkProps<'span'> & {
4
+ variant?: BadgeVariant;
5
+ };
6
+ declare function BadgeLabel(props: HTMLArkProps<'span'>): import("solid-js").JSX.Element;
7
+ declare function BadgeRoot(props: BadgeRootProps): import("solid-js").JSX.Element;
8
+ declare function BadgeDot(props: HTMLArkProps<'span'>): import("solid-js").JSX.Element;
9
+ declare const Badge: typeof BadgeRoot & {
10
+ Root: typeof BadgeRoot;
11
+ Label: typeof BadgeLabel;
12
+ Dot: typeof BadgeDot;
13
+ };
14
+ export { Badge };
@@ -0,0 +1,72 @@
1
+ import { createComponent, mergeProps } from "solid-js/web";
2
+ import { ark } from "@ark-ui/solid/factory";
3
+ import { cva } from "class-variance-authority";
4
+ import { splitProps } from "solid-js";
5
+ import { cn } from "../../internal/cn.js";
6
+ const badgeVariants = cva('inline-flex min-h-5 w-fit max-w-full min-w-0 items-center justify-center gap-1.5 overflow-hidden rounded-full border px-2.5 align-middle font-medium text-xs tabular-nums whitespace-nowrap no-underline select-none transition-[color,background-color,border-color,opacity] duration-200 ease-in-out focus-visible:outline-2 focus-visible:outline-offset-0.5 focus-visible:outline-ring motion-reduce:transition-none [&>svg]:pointer-events-none [&>svg]:size-3 [&>svg]:shrink-0 [a&]:cursor-pointer', {
7
+ variants: {
8
+ variant: {
9
+ default: 'border-transparent bg-primary text-primary-foreground [a&]:hover:opacity-90',
10
+ secondary: 'border-transparent bg-secondary text-secondary-foreground [a&]:hover:opacity-90',
11
+ destructive: 'border-transparent bg-destructive text-destructive-foreground [a&]:hover:opacity-90',
12
+ outline: 'border-border bg-transparent text-foreground [a&]:hover:border-primary [a&]:hover:text-primary',
13
+ ghost: 'border-transparent bg-transparent text-foreground [a&]:hover:border-primary [a&]:hover:text-primary',
14
+ link: 'min-h-auto rounded-none border-transparent bg-transparent px-0 py-[0.125em] text-primary underline decoration-[color-mix(in_oklab,currentColor_55%,transparent)] underline-offset-[0.15em] [text-decoration-thickness:from-font] [a&]:hover:decoration-current'
15
+ }
16
+ },
17
+ defaultVariants: {
18
+ variant: 'default'
19
+ }
20
+ });
21
+ function BadgeLabel(props) {
22
+ const [local, others] = splitProps(props, [
23
+ 'class'
24
+ ]);
25
+ return createComponent(ark.span, mergeProps(others, {
26
+ "data-scope": "badge",
27
+ "data-part": "label",
28
+ "data-slot": "badge-label",
29
+ get ["class"] () {
30
+ return cn('min-w-0 overflow-hidden text-ellipsis', local.class);
31
+ }
32
+ }));
33
+ }
34
+ function BadgeRoot(props) {
35
+ const [local, others] = splitProps(props, [
36
+ 'class',
37
+ 'variant'
38
+ ]);
39
+ return createComponent(ark.span, mergeProps(others, {
40
+ "data-scope": "badge",
41
+ "data-part": "root",
42
+ "data-slot": "badge-root",
43
+ get ["data-variant"] () {
44
+ return local.variant ?? 'default';
45
+ },
46
+ get ["class"] () {
47
+ return cn(badgeVariants({
48
+ variant: local.variant
49
+ }), local.class);
50
+ }
51
+ }));
52
+ }
53
+ function BadgeDot(props) {
54
+ const [local, others] = splitProps(props, [
55
+ 'class'
56
+ ]);
57
+ return createComponent(ark.span, mergeProps(others, {
58
+ "data-scope": "badge",
59
+ "data-part": "dot",
60
+ "data-slot": "badge-dot",
61
+ "aria-hidden": "true",
62
+ get ["class"] () {
63
+ return cn('size-1.5 shrink-0 rounded-full bg-current', local.class);
64
+ }
65
+ }));
66
+ }
67
+ const Badge = Object.assign(BadgeRoot, {
68
+ Root: BadgeRoot,
69
+ Label: BadgeLabel,
70
+ Dot: BadgeDot
71
+ });
72
+ export { Badge };