@sewadah/selaras 0.1.1

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 (500) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +131 -0
  3. package/dist/module.d.mts +22 -0
  4. package/dist/module.json +9 -0
  5. package/dist/module.mjs +127 -0
  6. package/dist/runtime/components/Accordion.d.vue.ts +59 -0
  7. package/dist/runtime/components/Accordion.vue +65 -0
  8. package/dist/runtime/components/Accordion.vue.d.ts +59 -0
  9. package/dist/runtime/components/Alert.d.vue.ts +39 -0
  10. package/dist/runtime/components/Alert.vue +64 -0
  11. package/dist/runtime/components/Alert.vue.d.ts +39 -0
  12. package/dist/runtime/components/AlertDialog.d.vue.ts +66 -0
  13. package/dist/runtime/components/AlertDialog.vue +116 -0
  14. package/dist/runtime/components/AlertDialog.vue.d.ts +66 -0
  15. package/dist/runtime/components/App.d.vue.ts +32 -0
  16. package/dist/runtime/components/App.vue +26 -0
  17. package/dist/runtime/components/App.vue.d.ts +32 -0
  18. package/dist/runtime/components/Autocomplete.d.vue.ts +61 -0
  19. package/dist/runtime/components/Autocomplete.vue +41 -0
  20. package/dist/runtime/components/Autocomplete.vue.d.ts +61 -0
  21. package/dist/runtime/components/Avatar.d.vue.ts +46 -0
  22. package/dist/runtime/components/Avatar.vue +64 -0
  23. package/dist/runtime/components/Avatar.vue.d.ts +46 -0
  24. package/dist/runtime/components/AvatarGroup.d.vue.ts +14 -0
  25. package/dist/runtime/components/AvatarGroup.vue +41 -0
  26. package/dist/runtime/components/AvatarGroup.vue.d.ts +14 -0
  27. package/dist/runtime/components/Badge.d.vue.ts +37 -0
  28. package/dist/runtime/components/Badge.vue +47 -0
  29. package/dist/runtime/components/Badge.vue.d.ts +37 -0
  30. package/dist/runtime/components/Breadcrumb.d.vue.ts +37 -0
  31. package/dist/runtime/components/Breadcrumb.vue +109 -0
  32. package/dist/runtime/components/Breadcrumb.vue.d.ts +37 -0
  33. package/dist/runtime/components/Button.d.vue.ts +45 -0
  34. package/dist/runtime/components/Button.vue +67 -0
  35. package/dist/runtime/components/Button.vue.d.ts +45 -0
  36. package/dist/runtime/components/ButtonGroup.d.vue.ts +22 -0
  37. package/dist/runtime/components/ButtonGroup.vue +21 -0
  38. package/dist/runtime/components/ButtonGroup.vue.d.ts +22 -0
  39. package/dist/runtime/components/Callout.d.vue.ts +27 -0
  40. package/dist/runtime/components/Callout.vue +47 -0
  41. package/dist/runtime/components/Callout.vue.d.ts +27 -0
  42. package/dist/runtime/components/Card.d.vue.ts +25 -0
  43. package/dist/runtime/components/Card.vue +30 -0
  44. package/dist/runtime/components/Card.vue.d.ts +25 -0
  45. package/dist/runtime/components/CardGroup.d.vue.ts +23 -0
  46. package/dist/runtime/components/CardGroup.vue +19 -0
  47. package/dist/runtime/components/CardGroup.vue.d.ts +23 -0
  48. package/dist/runtime/components/Checkbox.d.vue.ts +45 -0
  49. package/dist/runtime/components/Checkbox.vue +76 -0
  50. package/dist/runtime/components/Checkbox.vue.d.ts +45 -0
  51. package/dist/runtime/components/Chip.d.vue.ts +50 -0
  52. package/dist/runtime/components/Chip.vue +75 -0
  53. package/dist/runtime/components/Chip.vue.d.ts +50 -0
  54. package/dist/runtime/components/CodeButton.d.vue.ts +21 -0
  55. package/dist/runtime/components/CodeButton.vue +33 -0
  56. package/dist/runtime/components/CodeButton.vue.d.ts +21 -0
  57. package/dist/runtime/components/CodeGroup.d.vue.ts +3 -0
  58. package/dist/runtime/components/CodeGroup.vue +46 -0
  59. package/dist/runtime/components/CodeGroup.vue.d.ts +3 -0
  60. package/dist/runtime/components/CodeTree.d.vue.ts +17 -0
  61. package/dist/runtime/components/CodeTree.vue +56 -0
  62. package/dist/runtime/components/CodeTree.vue.d.ts +17 -0
  63. package/dist/runtime/components/Collapsible.d.vue.ts +44 -0
  64. package/dist/runtime/components/Collapsible.vue +52 -0
  65. package/dist/runtime/components/Collapsible.vue.d.ts +44 -0
  66. package/dist/runtime/components/ColorModeToggle.d.vue.ts +3 -0
  67. package/dist/runtime/components/ColorModeToggle.vue +24 -0
  68. package/dist/runtime/components/ColorModeToggle.vue.d.ts +3 -0
  69. package/dist/runtime/components/ColorPicker.d.vue.ts +30 -0
  70. package/dist/runtime/components/ColorPicker.vue +112 -0
  71. package/dist/runtime/components/ColorPicker.vue.d.ts +30 -0
  72. package/dist/runtime/components/Column.d.ts +72 -0
  73. package/dist/runtime/components/Column.js +34 -0
  74. package/dist/runtime/components/ColumnGroup.d.ts +33 -0
  75. package/dist/runtime/components/ColumnGroup.js +17 -0
  76. package/dist/runtime/components/CommandPalette.d.vue.ts +41 -0
  77. package/dist/runtime/components/CommandPalette.vue +208 -0
  78. package/dist/runtime/components/CommandPalette.vue.d.ts +41 -0
  79. package/dist/runtime/components/Container.d.vue.ts +22 -0
  80. package/dist/runtime/components/Container.vue +21 -0
  81. package/dist/runtime/components/Container.vue.d.ts +22 -0
  82. package/dist/runtime/components/ContentNavigation.d.vue.ts +31 -0
  83. package/dist/runtime/components/ContentNavigation.vue +64 -0
  84. package/dist/runtime/components/ContentNavigation.vue.d.ts +31 -0
  85. package/dist/runtime/components/ContentSurround.d.vue.ts +16 -0
  86. package/dist/runtime/components/ContentSurround.vue +46 -0
  87. package/dist/runtime/components/ContentSurround.vue.d.ts +16 -0
  88. package/dist/runtime/components/ContentToc.d.vue.ts +35 -0
  89. package/dist/runtime/components/ContentToc.vue +265 -0
  90. package/dist/runtime/components/ContentToc.vue.d.ts +35 -0
  91. package/dist/runtime/components/ContextMenu.d.vue.ts +33 -0
  92. package/dist/runtime/components/ContextMenu.vue +49 -0
  93. package/dist/runtime/components/ContextMenu.vue.d.ts +33 -0
  94. package/dist/runtime/components/DashboardGroup.d.vue.ts +24 -0
  95. package/dist/runtime/components/DashboardGroup.vue +52 -0
  96. package/dist/runtime/components/DashboardGroup.vue.d.ts +24 -0
  97. package/dist/runtime/components/DashboardNavbar.d.vue.ts +23 -0
  98. package/dist/runtime/components/DashboardNavbar.vue +33 -0
  99. package/dist/runtime/components/DashboardNavbar.vue.d.ts +23 -0
  100. package/dist/runtime/components/DashboardPanel.d.vue.ts +22 -0
  101. package/dist/runtime/components/DashboardPanel.vue +26 -0
  102. package/dist/runtime/components/DashboardPanel.vue.d.ts +22 -0
  103. package/dist/runtime/components/DashboardResizeHandle.d.vue.ts +8 -0
  104. package/dist/runtime/components/DashboardResizeHandle.vue +19 -0
  105. package/dist/runtime/components/DashboardResizeHandle.vue.d.ts +8 -0
  106. package/dist/runtime/components/DashboardSidebar.d.vue.ts +40 -0
  107. package/dist/runtime/components/DashboardSidebar.vue +117 -0
  108. package/dist/runtime/components/DashboardSidebar.vue.d.ts +40 -0
  109. package/dist/runtime/components/DashboardSidebarToggle.d.vue.ts +21 -0
  110. package/dist/runtime/components/DashboardSidebarToggle.vue +42 -0
  111. package/dist/runtime/components/DashboardSidebarToggle.vue.d.ts +21 -0
  112. package/dist/runtime/components/DatePicker.d.vue.ts +165 -0
  113. package/dist/runtime/components/DatePicker.vue +796 -0
  114. package/dist/runtime/components/DatePicker.vue.d.ts +165 -0
  115. package/dist/runtime/components/Drawer.d.vue.ts +74 -0
  116. package/dist/runtime/components/Drawer.vue +157 -0
  117. package/dist/runtime/components/Drawer.vue.d.ts +74 -0
  118. package/dist/runtime/components/DrawerRenderer.d.vue.ts +3 -0
  119. package/dist/runtime/components/DrawerRenderer.vue +30 -0
  120. package/dist/runtime/components/DrawerRenderer.vue.d.ts +3 -0
  121. package/dist/runtime/components/Dropdown.d.vue.ts +35 -0
  122. package/dist/runtime/components/Dropdown.vue +51 -0
  123. package/dist/runtime/components/Dropdown.vue.d.ts +35 -0
  124. package/dist/runtime/components/FileTree.d.vue.ts +28 -0
  125. package/dist/runtime/components/FileTree.vue +68 -0
  126. package/dist/runtime/components/FileTree.vue.d.ts +28 -0
  127. package/dist/runtime/components/FileUpload.d.vue.ts +68 -0
  128. package/dist/runtime/components/FileUpload.vue +226 -0
  129. package/dist/runtime/components/FileUpload.vue.d.ts +68 -0
  130. package/dist/runtime/components/FormField.d.vue.ts +37 -0
  131. package/dist/runtime/components/FormField.vue +72 -0
  132. package/dist/runtime/components/FormField.vue.d.ts +37 -0
  133. package/dist/runtime/components/Header.d.vue.ts +20 -0
  134. package/dist/runtime/components/Header.vue +23 -0
  135. package/dist/runtime/components/Header.vue.d.ts +20 -0
  136. package/dist/runtime/components/Icon.d.vue.ts +14 -0
  137. package/dist/runtime/components/Icon.vue +18 -0
  138. package/dist/runtime/components/Icon.vue.d.ts +14 -0
  139. package/dist/runtime/components/Input.d.vue.ts +41 -0
  140. package/dist/runtime/components/Input.vue +86 -0
  141. package/dist/runtime/components/Input.vue.d.ts +41 -0
  142. package/dist/runtime/components/InputGroup.d.vue.ts +22 -0
  143. package/dist/runtime/components/InputGroup.vue +21 -0
  144. package/dist/runtime/components/InputGroup.vue.d.ts +22 -0
  145. package/dist/runtime/components/InputNumber.d.vue.ts +37 -0
  146. package/dist/runtime/components/InputNumber.vue +173 -0
  147. package/dist/runtime/components/InputNumber.vue.d.ts +37 -0
  148. package/dist/runtime/components/Kbd.d.vue.ts +24 -0
  149. package/dist/runtime/components/Kbd.vue +42 -0
  150. package/dist/runtime/components/Kbd.vue.d.ts +24 -0
  151. package/dist/runtime/components/Modal.d.vue.ts +72 -0
  152. package/dist/runtime/components/Modal.vue +178 -0
  153. package/dist/runtime/components/Modal.vue.d.ts +72 -0
  154. package/dist/runtime/components/ModalRenderer.d.vue.ts +3 -0
  155. package/dist/runtime/components/ModalRenderer.vue +25 -0
  156. package/dist/runtime/components/ModalRenderer.vue.d.ts +3 -0
  157. package/dist/runtime/components/NavigationMenu.d.vue.ts +108 -0
  158. package/dist/runtime/components/NavigationMenu.vue +166 -0
  159. package/dist/runtime/components/NavigationMenu.vue.d.ts +108 -0
  160. package/dist/runtime/components/NavigationMenuAccordionItem.d.vue.ts +23 -0
  161. package/dist/runtime/components/NavigationMenuAccordionItem.vue +106 -0
  162. package/dist/runtime/components/NavigationMenuAccordionItem.vue.d.ts +23 -0
  163. package/dist/runtime/components/NavigationMenuFlyoutList.d.vue.ts +19 -0
  164. package/dist/runtime/components/NavigationMenuFlyoutList.vue +44 -0
  165. package/dist/runtime/components/NavigationMenuFlyoutList.vue.d.ts +19 -0
  166. package/dist/runtime/components/NavigationMenuFlyoutTrigger.d.vue.ts +49 -0
  167. package/dist/runtime/components/NavigationMenuFlyoutTrigger.vue +116 -0
  168. package/dist/runtime/components/NavigationMenuFlyoutTrigger.vue.d.ts +49 -0
  169. package/dist/runtime/components/PageAside.d.vue.ts +20 -0
  170. package/dist/runtime/components/PageAside.vue +26 -0
  171. package/dist/runtime/components/PageAside.vue.d.ts +20 -0
  172. package/dist/runtime/components/PageHeader.d.vue.ts +24 -0
  173. package/dist/runtime/components/PageHeader.vue +30 -0
  174. package/dist/runtime/components/PageHeader.vue.d.ts +24 -0
  175. package/dist/runtime/components/Pagination.d.vue.ts +42 -0
  176. package/dist/runtime/components/Pagination.vue +113 -0
  177. package/dist/runtime/components/Pagination.vue.d.ts +42 -0
  178. package/dist/runtime/components/PinInput.d.vue.ts +40 -0
  179. package/dist/runtime/components/PinInput.vue +66 -0
  180. package/dist/runtime/components/PinInput.vue.d.ts +40 -0
  181. package/dist/runtime/components/Popover.d.vue.ts +52 -0
  182. package/dist/runtime/components/Popover.vue +77 -0
  183. package/dist/runtime/components/Popover.vue.d.ts +52 -0
  184. package/dist/runtime/components/Progress.d.vue.ts +32 -0
  185. package/dist/runtime/components/Progress.vue +76 -0
  186. package/dist/runtime/components/Progress.vue.d.ts +32 -0
  187. package/dist/runtime/components/ProseH1.d.vue.ts +18 -0
  188. package/dist/runtime/components/ProseH1.vue +21 -0
  189. package/dist/runtime/components/ProseH1.vue.d.ts +18 -0
  190. package/dist/runtime/components/ProseH2.d.vue.ts +18 -0
  191. package/dist/runtime/components/ProseH2.vue +21 -0
  192. package/dist/runtime/components/ProseH2.vue.d.ts +18 -0
  193. package/dist/runtime/components/ProseH3.d.vue.ts +18 -0
  194. package/dist/runtime/components/ProseH3.vue +21 -0
  195. package/dist/runtime/components/ProseH3.vue.d.ts +18 -0
  196. package/dist/runtime/components/ProseH4.d.vue.ts +18 -0
  197. package/dist/runtime/components/ProseH4.vue +21 -0
  198. package/dist/runtime/components/ProseH4.vue.d.ts +18 -0
  199. package/dist/runtime/components/ProseH5.d.vue.ts +18 -0
  200. package/dist/runtime/components/ProseH5.vue +21 -0
  201. package/dist/runtime/components/ProseH5.vue.d.ts +18 -0
  202. package/dist/runtime/components/ProseH6.d.vue.ts +18 -0
  203. package/dist/runtime/components/ProseH6.vue +21 -0
  204. package/dist/runtime/components/ProseH6.vue.d.ts +18 -0
  205. package/dist/runtime/components/ProsePre.d.vue.ts +20 -0
  206. package/dist/runtime/components/ProsePre.vue +50 -0
  207. package/dist/runtime/components/ProsePre.vue.d.ts +20 -0
  208. package/dist/runtime/components/RadioGroup.d.vue.ts +50 -0
  209. package/dist/runtime/components/RadioGroup.vue +82 -0
  210. package/dist/runtime/components/RadioGroup.vue.d.ts +50 -0
  211. package/dist/runtime/components/Rating.d.vue.ts +36 -0
  212. package/dist/runtime/components/Rating.vue +83 -0
  213. package/dist/runtime/components/Rating.vue.d.ts +36 -0
  214. package/dist/runtime/components/ReadMore.d.vue.ts +20 -0
  215. package/dist/runtime/components/ReadMore.vue +59 -0
  216. package/dist/runtime/components/ReadMore.vue.d.ts +20 -0
  217. package/dist/runtime/components/ScrollArea.d.vue.ts +19 -0
  218. package/dist/runtime/components/ScrollArea.vue +37 -0
  219. package/dist/runtime/components/ScrollArea.vue.d.ts +19 -0
  220. package/dist/runtime/components/Select.d.vue.ts +60 -0
  221. package/dist/runtime/components/Select.vue +40 -0
  222. package/dist/runtime/components/Select.vue.d.ts +60 -0
  223. package/dist/runtime/components/Separator.d.vue.ts +27 -0
  224. package/dist/runtime/components/Separator.vue +36 -0
  225. package/dist/runtime/components/Separator.vue.d.ts +27 -0
  226. package/dist/runtime/components/Skeleton.d.vue.ts +13 -0
  227. package/dist/runtime/components/Skeleton.vue +17 -0
  228. package/dist/runtime/components/Skeleton.vue.d.ts +13 -0
  229. package/dist/runtime/components/Slideover.d.vue.ts +65 -0
  230. package/dist/runtime/components/Slideover.vue +140 -0
  231. package/dist/runtime/components/Slideover.vue.d.ts +65 -0
  232. package/dist/runtime/components/SlideoverRenderer.d.vue.ts +3 -0
  233. package/dist/runtime/components/SlideoverRenderer.vue +27 -0
  234. package/dist/runtime/components/SlideoverRenderer.vue.d.ts +3 -0
  235. package/dist/runtime/components/Slider.d.vue.ts +60 -0
  236. package/dist/runtime/components/Slider.vue +186 -0
  237. package/dist/runtime/components/Slider.vue.d.ts +60 -0
  238. package/dist/runtime/components/Splitter.d.vue.ts +41 -0
  239. package/dist/runtime/components/Splitter.vue +31 -0
  240. package/dist/runtime/components/Splitter.vue.d.ts +41 -0
  241. package/dist/runtime/components/SplitterPanel.d.vue.ts +55 -0
  242. package/dist/runtime/components/SplitterPanel.vue +52 -0
  243. package/dist/runtime/components/SplitterPanel.vue.d.ts +55 -0
  244. package/dist/runtime/components/SplitterResizeHandle.d.vue.ts +14 -0
  245. package/dist/runtime/components/SplitterResizeHandle.vue +22 -0
  246. package/dist/runtime/components/SplitterResizeHandle.vue.d.ts +14 -0
  247. package/dist/runtime/components/Stepper.d.vue.ts +57 -0
  248. package/dist/runtime/components/Stepper.vue +101 -0
  249. package/dist/runtime/components/Stepper.vue.d.ts +57 -0
  250. package/dist/runtime/components/Switch.d.vue.ts +49 -0
  251. package/dist/runtime/components/Switch.vue +73 -0
  252. package/dist/runtime/components/Switch.vue.d.ts +49 -0
  253. package/dist/runtime/components/Table.d.vue.ts +83 -0
  254. package/dist/runtime/components/Table.vue +339 -0
  255. package/dist/runtime/components/Table.vue.d.ts +83 -0
  256. package/dist/runtime/components/Tabs.d.vue.ts +43 -0
  257. package/dist/runtime/components/Tabs.vue +60 -0
  258. package/dist/runtime/components/Tabs.vue.d.ts +43 -0
  259. package/dist/runtime/components/Textarea.d.vue.ts +45 -0
  260. package/dist/runtime/components/Textarea.vue +110 -0
  261. package/dist/runtime/components/Textarea.vue.d.ts +45 -0
  262. package/dist/runtime/components/Theme.d.vue.ts +19 -0
  263. package/dist/runtime/components/Theme.vue +18 -0
  264. package/dist/runtime/components/Theme.vue.d.ts +19 -0
  265. package/dist/runtime/components/Toast.d.vue.ts +8 -0
  266. package/dist/runtime/components/Toast.vue +58 -0
  267. package/dist/runtime/components/Toast.vue.d.ts +8 -0
  268. package/dist/runtime/components/Toggle.d.vue.ts +38 -0
  269. package/dist/runtime/components/Toggle.vue +44 -0
  270. package/dist/runtime/components/Toggle.vue.d.ts +38 -0
  271. package/dist/runtime/components/ToggleGroup.d.vue.ts +48 -0
  272. package/dist/runtime/components/ToggleGroup.vue +61 -0
  273. package/dist/runtime/components/ToggleGroup.vue.d.ts +48 -0
  274. package/dist/runtime/components/Tooltip.d.vue.ts +28 -0
  275. package/dist/runtime/components/Tooltip.vue +40 -0
  276. package/dist/runtime/components/Tooltip.vue.d.ts +28 -0
  277. package/dist/runtime/components/Tree.d.vue.ts +64 -0
  278. package/dist/runtime/components/Tree.vue +139 -0
  279. package/dist/runtime/components/Tree.vue.d.ts +64 -0
  280. package/dist/runtime/composables/use-combobox-select.d.ts +45 -0
  281. package/dist/runtime/composables/use-combobox-select.js +80 -0
  282. package/dist/runtime/composables/use-command-palette.d.ts +8 -0
  283. package/dist/runtime/composables/use-command-palette.js +14 -0
  284. package/dist/runtime/composables/use-drawer.d.ts +42 -0
  285. package/dist/runtime/composables/use-drawer.js +44 -0
  286. package/dist/runtime/composables/use-form-field.d.ts +10 -0
  287. package/dist/runtime/composables/use-form-field.js +8 -0
  288. package/dist/runtime/composables/use-icons.d.ts +10 -0
  289. package/dist/runtime/composables/use-icons.js +7 -0
  290. package/dist/runtime/composables/use-locale.d.ts +12 -0
  291. package/dist/runtime/composables/use-locale.js +6 -0
  292. package/dist/runtime/composables/use-media-query.d.ts +11 -0
  293. package/dist/runtime/composables/use-media-query.js +15 -0
  294. package/dist/runtime/composables/use-messages.d.ts +12 -0
  295. package/dist/runtime/composables/use-messages.js +7 -0
  296. package/dist/runtime/composables/use-modal.d.ts +32 -0
  297. package/dist/runtime/composables/use-modal.js +39 -0
  298. package/dist/runtime/composables/use-ripple.d.ts +15 -0
  299. package/dist/runtime/composables/use-ripple.js +6 -0
  300. package/dist/runtime/composables/use-slideover.d.ts +36 -0
  301. package/dist/runtime/composables/use-slideover.js +41 -0
  302. package/dist/runtime/composables/use-table.d.ts +63 -0
  303. package/dist/runtime/composables/use-table.js +142 -0
  304. package/dist/runtime/composables/use-toast.d.ts +15 -0
  305. package/dist/runtime/composables/use-toast.js +16 -0
  306. package/dist/runtime/directives/index.d.ts +1 -0
  307. package/dist/runtime/directives/index.js +1 -0
  308. package/dist/runtime/directives/ripple.d.ts +16 -0
  309. package/dist/runtime/directives/ripple.js +80 -0
  310. package/dist/runtime/internal/ColorPickerBody.d.vue.ts +26 -0
  311. package/dist/runtime/internal/ColorPickerBody.vue +111 -0
  312. package/dist/runtime/internal/ColorPickerBody.vue.d.ts +26 -0
  313. package/dist/runtime/internal/ComboboxSelectBase.d.vue.ts +122 -0
  314. package/dist/runtime/internal/ComboboxSelectBase.vue +590 -0
  315. package/dist/runtime/internal/ComboboxSelectBase.vue.d.ts +122 -0
  316. package/dist/runtime/internal/ComboboxSelectBody.d.vue.ts +71 -0
  317. package/dist/runtime/internal/ComboboxSelectBody.vue +146 -0
  318. package/dist/runtime/internal/ComboboxSelectBody.vue.d.ts +71 -0
  319. package/dist/runtime/internal/DatePickerCalendarBody.d.vue.ts +71 -0
  320. package/dist/runtime/internal/DatePickerCalendarBody.vue +215 -0
  321. package/dist/runtime/internal/DatePickerCalendarBody.vue.d.ts +71 -0
  322. package/dist/runtime/internal/DatePickerRangeCalendarBody.d.vue.ts +37 -0
  323. package/dist/runtime/internal/DatePickerRangeCalendarBody.vue +96 -0
  324. package/dist/runtime/internal/DatePickerRangeCalendarBody.vue.d.ts +37 -0
  325. package/dist/runtime/internal/DatePickerTimeBody.d.vue.ts +33 -0
  326. package/dist/runtime/internal/DatePickerTimeBody.vue +53 -0
  327. package/dist/runtime/internal/DatePickerTimeBody.vue.d.ts +33 -0
  328. package/dist/runtime/internal/TimeStepper.d.vue.ts +28 -0
  329. package/dist/runtime/internal/TimeStepper.vue +99 -0
  330. package/dist/runtime/internal/TimeStepper.vue.d.ts +28 -0
  331. package/dist/runtime/prose.css +1 -0
  332. package/dist/runtime/server/tsconfig.json +3 -0
  333. package/dist/runtime/theme/accordion.d.ts +131 -0
  334. package/dist/runtime/theme/accordion.js +60 -0
  335. package/dist/runtime/theme/alert-dialog.d.ts +50 -0
  336. package/dist/runtime/theme/alert-dialog.js +30 -0
  337. package/dist/runtime/theme/alert.d.ts +62 -0
  338. package/dist/runtime/theme/alert.js +52 -0
  339. package/dist/runtime/theme/avatar-group.d.ts +59 -0
  340. package/dist/runtime/theme/avatar-group.js +18 -0
  341. package/dist/runtime/theme/avatar.d.ts +206 -0
  342. package/dist/runtime/theme/avatar.js +67 -0
  343. package/dist/runtime/theme/badge.d.ts +140 -0
  344. package/dist/runtime/theme/badge.js +90 -0
  345. package/dist/runtime/theme/breadcrumb.d.ts +86 -0
  346. package/dist/runtime/theme/breadcrumb.js +22 -0
  347. package/dist/runtime/theme/button-group.d.ts +53 -0
  348. package/dist/runtime/theme/button-group.js +21 -0
  349. package/dist/runtime/theme/button.d.ts +155 -0
  350. package/dist/runtime/theme/button.js +99 -0
  351. package/dist/runtime/theme/callout.d.ts +74 -0
  352. package/dist/runtime/theme/callout.js +23 -0
  353. package/dist/runtime/theme/card-group.d.ts +44 -0
  354. package/dist/runtime/theme/card-group.js +19 -0
  355. package/dist/runtime/theme/card.d.ts +62 -0
  356. package/dist/runtime/theme/card.js +23 -0
  357. package/dist/runtime/theme/checkbox.d.ts +218 -0
  358. package/dist/runtime/theme/checkbox.js +113 -0
  359. package/dist/runtime/theme/chip.d.ts +155 -0
  360. package/dist/runtime/theme/chip.js +86 -0
  361. package/dist/runtime/theme/code-button.d.ts +32 -0
  362. package/dist/runtime/theme/code-button.js +7 -0
  363. package/dist/runtime/theme/code-tree.d.ts +50 -0
  364. package/dist/runtime/theme/code-tree.js +13 -0
  365. package/dist/runtime/theme/collapsible.d.ts +95 -0
  366. package/dist/runtime/theme/collapsible.js +46 -0
  367. package/dist/runtime/theme/color-picker.d.ts +152 -0
  368. package/dist/runtime/theme/color-picker.js +83 -0
  369. package/dist/runtime/theme/command-palette.d.ts +110 -0
  370. package/dist/runtime/theme/command-palette.js +23 -0
  371. package/dist/runtime/theme/container.d.ts +62 -0
  372. package/dist/runtime/theme/container.js +18 -0
  373. package/dist/runtime/theme/content-navigation.d.ts +47 -0
  374. package/dist/runtime/theme/content-navigation.js +38 -0
  375. package/dist/runtime/theme/content-surround.d.ts +53 -0
  376. package/dist/runtime/theme/content-surround.js +22 -0
  377. package/dist/runtime/theme/content-toc.d.ts +56 -0
  378. package/dist/runtime/theme/content-toc.js +41 -0
  379. package/dist/runtime/theme/context-menu.d.ts +38 -0
  380. package/dist/runtime/theme/context-menu.js +21 -0
  381. package/dist/runtime/theme/dashboard-group.d.ts +26 -0
  382. package/dist/runtime/theme/dashboard-group.js +9 -0
  383. package/dist/runtime/theme/dashboard-navbar.d.ts +44 -0
  384. package/dist/runtime/theme/dashboard-navbar.js +9 -0
  385. package/dist/runtime/theme/dashboard-panel.d.ts +26 -0
  386. package/dist/runtime/theme/dashboard-panel.js +6 -0
  387. package/dist/runtime/theme/dashboard-resize-handle.d.ts +26 -0
  388. package/dist/runtime/theme/dashboard-resize-handle.js +17 -0
  389. package/dist/runtime/theme/dashboard-sidebar.d.ts +50 -0
  390. package/dist/runtime/theme/dashboard-sidebar.js +40 -0
  391. package/dist/runtime/theme/date-picker.d.ts +119 -0
  392. package/dist/runtime/theme/date-picker.js +75 -0
  393. package/dist/runtime/theme/drawer.d.ts +95 -0
  394. package/dist/runtime/theme/drawer.js +57 -0
  395. package/dist/runtime/theme/dropdown.d.ts +41 -0
  396. package/dist/runtime/theme/dropdown.js +21 -0
  397. package/dist/runtime/theme/file-tree.d.ts +56 -0
  398. package/dist/runtime/theme/file-tree.js +33 -0
  399. package/dist/runtime/theme/file-upload.d.ts +233 -0
  400. package/dist/runtime/theme/file-upload.js +63 -0
  401. package/dist/runtime/theme/form-field.d.ts +95 -0
  402. package/dist/runtime/theme/form-field.js +37 -0
  403. package/dist/runtime/theme/header.d.ts +38 -0
  404. package/dist/runtime/theme/header.js +8 -0
  405. package/dist/runtime/theme/icon.d.ts +80 -0
  406. package/dist/runtime/theme/icon.js +26 -0
  407. package/dist/runtime/theme/input-group.d.ts +95 -0
  408. package/dist/runtime/theme/input-group.js +39 -0
  409. package/dist/runtime/theme/input-number.d.ts +164 -0
  410. package/dist/runtime/theme/input-number.js +76 -0
  411. package/dist/runtime/theme/input.d.ts +185 -0
  412. package/dist/runtime/theme/input.js +72 -0
  413. package/dist/runtime/theme/kbd.d.ts +44 -0
  414. package/dist/runtime/theme/kbd.js +16 -0
  415. package/dist/runtime/theme/modal.d.ts +74 -0
  416. package/dist/runtime/theme/modal.js +58 -0
  417. package/dist/runtime/theme/navigation-menu.d.ts +224 -0
  418. package/dist/runtime/theme/navigation-menu.js +232 -0
  419. package/dist/runtime/theme/page-aside.d.ts +44 -0
  420. package/dist/runtime/theme/page-aside.js +17 -0
  421. package/dist/runtime/theme/page-header.d.ts +38 -0
  422. package/dist/runtime/theme/page-header.js +8 -0
  423. package/dist/runtime/theme/pagination.d.ts +68 -0
  424. package/dist/runtime/theme/pagination.js +21 -0
  425. package/dist/runtime/theme/pin-input.d.ts +131 -0
  426. package/dist/runtime/theme/pin-input.js +40 -0
  427. package/dist/runtime/theme/popover.d.ts +32 -0
  428. package/dist/runtime/theme/popover.js +7 -0
  429. package/dist/runtime/theme/progress.d.ts +185 -0
  430. package/dist/runtime/theme/progress.js +54 -0
  431. package/dist/runtime/theme/prose.d.ts +92 -0
  432. package/dist/runtime/theme/prose.js +17 -0
  433. package/dist/runtime/theme/radio-group.d.ts +239 -0
  434. package/dist/runtime/theme/radio-group.js +134 -0
  435. package/dist/runtime/theme/rating.d.ts +167 -0
  436. package/dist/runtime/theme/rating.js +77 -0
  437. package/dist/runtime/theme/read-more.d.ts +38 -0
  438. package/dist/runtime/theme/read-more.js +21 -0
  439. package/dist/runtime/theme/scroll-area.d.ts +50 -0
  440. package/dist/runtime/theme/scroll-area.js +10 -0
  441. package/dist/runtime/theme/select.d.ts +176 -0
  442. package/dist/runtime/theme/select.js +74 -0
  443. package/dist/runtime/theme/separator.d.ts +158 -0
  444. package/dist/runtime/theme/separator.js +63 -0
  445. package/dist/runtime/theme/skeleton.d.ts +35 -0
  446. package/dist/runtime/theme/skeleton.js +27 -0
  447. package/dist/runtime/theme/slideover.d.ts +107 -0
  448. package/dist/runtime/theme/slideover.js +62 -0
  449. package/dist/runtime/theme/slider.d.ts +227 -0
  450. package/dist/runtime/theme/slider.js +73 -0
  451. package/dist/runtime/theme/splitter-panel.d.ts +26 -0
  452. package/dist/runtime/theme/splitter-panel.js +9 -0
  453. package/dist/runtime/theme/splitter-resize-handle.d.ts +44 -0
  454. package/dist/runtime/theme/splitter-resize-handle.js +18 -0
  455. package/dist/runtime/theme/splitter.d.ts +35 -0
  456. package/dist/runtime/theme/splitter.js +15 -0
  457. package/dist/runtime/theme/stepper.d.ts +221 -0
  458. package/dist/runtime/theme/stepper.js +106 -0
  459. package/dist/runtime/theme/switch.d.ts +206 -0
  460. package/dist/runtime/theme/switch.js +84 -0
  461. package/dist/runtime/theme/table.d.ts +176 -0
  462. package/dist/runtime/theme/table.js +59 -0
  463. package/dist/runtime/theme/tabs.d.ts +59 -0
  464. package/dist/runtime/theme/tabs.js +44 -0
  465. package/dist/runtime/theme/textarea.d.ts +212 -0
  466. package/dist/runtime/theme/textarea.js +56 -0
  467. package/dist/runtime/theme/toast.d.ts +80 -0
  468. package/dist/runtime/theme/toast.js +31 -0
  469. package/dist/runtime/theme/toggle-group.d.ts +110 -0
  470. package/dist/runtime/theme/toggle-group.js +48 -0
  471. package/dist/runtime/theme/toggle.d.ts +92 -0
  472. package/dist/runtime/theme/toggle.js +48 -0
  473. package/dist/runtime/theme/tooltip.d.ts +44 -0
  474. package/dist/runtime/theme/tooltip.js +14 -0
  475. package/dist/runtime/theme/tree.d.ts +80 -0
  476. package/dist/runtime/theme/tree.js +32 -0
  477. package/dist/runtime/theme.css +1 -0
  478. package/dist/runtime/types/app-config.d.ts +15 -0
  479. package/dist/runtime/types/index.d.ts +82 -0
  480. package/dist/runtime/types/index.js +2 -0
  481. package/dist/runtime/utils/format-bytes.d.ts +2 -0
  482. package/dist/runtime/utils/format-bytes.js +9 -0
  483. package/dist/runtime/utils/fuzzy-match.d.ts +12 -0
  484. package/dist/runtime/utils/fuzzy-match.js +21 -0
  485. package/dist/runtime/utils/icons.d.ts +38 -0
  486. package/dist/runtime/utils/icons.js +51 -0
  487. package/dist/runtime/utils/injection-keys.d.ts +69 -0
  488. package/dist/runtime/utils/injection-keys.js +3 -0
  489. package/dist/runtime/utils/messages.d.ts +70 -0
  490. package/dist/runtime/utils/messages.js +68 -0
  491. package/dist/runtime/utils/navigation-menu.d.ts +32 -0
  492. package/dist/runtime/utils/navigation-menu.js +5 -0
  493. package/dist/runtime/utils/table-columns.d.ts +30 -0
  494. package/dist/runtime/utils/table-columns.js +89 -0
  495. package/dist/runtime/utils/table-export.d.ts +12 -0
  496. package/dist/runtime/utils/table-export.js +29 -0
  497. package/dist/runtime/utils/ui.d.ts +124 -0
  498. package/dist/runtime/utils/ui.js +74 -0
  499. package/dist/types.d.mts +3 -0
  500. package/package.json +99 -0
@@ -0,0 +1,218 @@
1
+ export declare const checkboxTheme: import("tailwind-variants").TVReturnType<{
2
+ color: {
3
+ primary: {
4
+ box: string;
5
+ indicator: string;
6
+ };
7
+ neutral: {
8
+ box: string;
9
+ indicator: string;
10
+ };
11
+ secondary: {
12
+ box: string;
13
+ indicator: string;
14
+ };
15
+ success: {
16
+ box: string;
17
+ indicator: string;
18
+ };
19
+ danger: {
20
+ box: string;
21
+ indicator: string;
22
+ };
23
+ info: {
24
+ box: string;
25
+ indicator: string;
26
+ };
27
+ warning: {
28
+ box: string;
29
+ indicator: string;
30
+ };
31
+ };
32
+ size: {
33
+ sm: {
34
+ box: string;
35
+ indicator: string;
36
+ label: string;
37
+ description: string;
38
+ };
39
+ md: {
40
+ box: string;
41
+ indicator: string;
42
+ label: string;
43
+ description: string;
44
+ };
45
+ lg: {
46
+ box: string;
47
+ indicator: string;
48
+ label: string;
49
+ description: string;
50
+ };
51
+ };
52
+ variant: {
53
+ default: {};
54
+ card: {
55
+ root: string;
56
+ box: string;
57
+ };
58
+ };
59
+ invalid: {
60
+ true: {
61
+ box: string;
62
+ };
63
+ };
64
+ }, {
65
+ root: string;
66
+ box: string;
67
+ indicator: string;
68
+ checkIcon: string;
69
+ indeterminateIcon: string;
70
+ label: string;
71
+ description: string;
72
+ labelGroup: string;
73
+ }, undefined, {
74
+ color: {
75
+ primary: {
76
+ box: string;
77
+ indicator: string;
78
+ };
79
+ neutral: {
80
+ box: string;
81
+ indicator: string;
82
+ };
83
+ secondary: {
84
+ box: string;
85
+ indicator: string;
86
+ };
87
+ success: {
88
+ box: string;
89
+ indicator: string;
90
+ };
91
+ danger: {
92
+ box: string;
93
+ indicator: string;
94
+ };
95
+ info: {
96
+ box: string;
97
+ indicator: string;
98
+ };
99
+ warning: {
100
+ box: string;
101
+ indicator: string;
102
+ };
103
+ };
104
+ size: {
105
+ sm: {
106
+ box: string;
107
+ indicator: string;
108
+ label: string;
109
+ description: string;
110
+ };
111
+ md: {
112
+ box: string;
113
+ indicator: string;
114
+ label: string;
115
+ description: string;
116
+ };
117
+ lg: {
118
+ box: string;
119
+ indicator: string;
120
+ label: string;
121
+ description: string;
122
+ };
123
+ };
124
+ variant: {
125
+ default: {};
126
+ card: {
127
+ root: string;
128
+ box: string;
129
+ };
130
+ };
131
+ invalid: {
132
+ true: {
133
+ box: string;
134
+ };
135
+ };
136
+ }, {
137
+ root: string;
138
+ box: string;
139
+ indicator: string;
140
+ checkIcon: string;
141
+ indeterminateIcon: string;
142
+ label: string;
143
+ description: string;
144
+ labelGroup: string;
145
+ }, import("tailwind-variants").TVReturnTypeLike<{
146
+ color: {
147
+ primary: {
148
+ box: string;
149
+ indicator: string;
150
+ };
151
+ neutral: {
152
+ box: string;
153
+ indicator: string;
154
+ };
155
+ secondary: {
156
+ box: string;
157
+ indicator: string;
158
+ };
159
+ success: {
160
+ box: string;
161
+ indicator: string;
162
+ };
163
+ danger: {
164
+ box: string;
165
+ indicator: string;
166
+ };
167
+ info: {
168
+ box: string;
169
+ indicator: string;
170
+ };
171
+ warning: {
172
+ box: string;
173
+ indicator: string;
174
+ };
175
+ };
176
+ size: {
177
+ sm: {
178
+ box: string;
179
+ indicator: string;
180
+ label: string;
181
+ description: string;
182
+ };
183
+ md: {
184
+ box: string;
185
+ indicator: string;
186
+ label: string;
187
+ description: string;
188
+ };
189
+ lg: {
190
+ box: string;
191
+ indicator: string;
192
+ label: string;
193
+ description: string;
194
+ };
195
+ };
196
+ variant: {
197
+ default: {};
198
+ card: {
199
+ root: string;
200
+ box: string;
201
+ };
202
+ };
203
+ invalid: {
204
+ true: {
205
+ box: string;
206
+ };
207
+ };
208
+ }, {
209
+ root: string;
210
+ box: string;
211
+ indicator: string;
212
+ checkIcon: string;
213
+ indeterminateIcon: string;
214
+ label: string;
215
+ description: string;
216
+ labelGroup: string;
217
+ }>>;
218
+ export type CheckboxThemeSlots = keyof (typeof checkboxTheme)['slots'];
@@ -0,0 +1,113 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const checkboxTheme = tv({
3
+ slots: {
4
+ root: "inline-flex items-center gap-2 cursor-pointer has-[[data-disabled]]:cursor-not-allowed has-[[data-disabled]]:opacity-50",
5
+ // Ported from RadioGroup's own hover/focus halo (see its theme file for
6
+ // the full derivation) - same mechanism, same size (18px box, 36px
7
+ // halo), same fixes: `isolate` so the halo's -z-10 pseudo keeps its own
8
+ // stacking context instead of leaking to the page root, ring-[1.5px]
9
+ // over plain ring-1 since a 1px stroke on this size circle/box rendered
10
+ // jagged at normal scale, outline-none replacing the old
11
+ // focus-visible:outline box now that the halo itself is the focus
12
+ // indicator. Unlike the radio item, this box keeps its own solid
13
+ // data-[state=checked]/indeterminate background fill (the standard
14
+ // checkbox convention, unlike radio's hollow ring) - the halo still
15
+ // shows correctly layered in front of that fill, since within this
16
+ // element's own isolated stacking context its own background paints
17
+ // first and the negative-z halo paints after it, same as the check
18
+ // icon itself. Only the unchecked resting background was dropped
19
+ // (transparent instead of --ui-bg), the same reason radio's item is
20
+ // hollow - an opaque fill there would block the halo from showing as
21
+ // a full disc instead of a ring cut off by the box's own edge.
22
+ box: "relative isolate flex shrink-0 items-center justify-center rounded-[var(--ui-radius-sm)] ring-[1.5px] ring-inset ring-[var(--ui-border)] transition-colors before:absolute before:-z-10 before:[transform:scale(0)] before:rounded-full before:bg-[var(--ui-border-hover)] before:opacity-35 before:transition-transform before:duration-200 before:content-[''] hover:before:[transform:scale(1)] focus-visible:outline-none focus-visible:before:[transform:scale(1)]",
23
+ indicator: "flex items-center justify-center",
24
+ // A hand-drawn stroke path (not an Icon/icon-registry glyph, unlike
25
+ // every other icon in this library) animated via stroke-dasharray/
26
+ // stroke-dashoffset - the classic "self-drawing" checkmark technique,
27
+ // which needs a real path to control, not an arbitrary swappable
28
+ // Iconify icon. This is a deliberate, one-off exception to the
29
+ // icon-registry pattern documented in use-icons.ts: this glyph isn't
30
+ // overridable via app.config.icons, only restylable (stroke width/
31
+ // color/duration) via these two :ui slots. dasharray/dashoffset are
32
+ // each set to the exact measured length of their own path
33
+ // (path.getTotalLength(), not a guess) so the "draw" finishes exactly
34
+ // at the stroke's own end with no visible overshoot or gap.
35
+ checkIcon: "[stroke-dasharray:20px] [stroke-dashoffset:20px] transition-[stroke-dashoffset] duration-200 data-[state=checked]:[stroke-dashoffset:0]",
36
+ indeterminateIcon: "[stroke-dasharray:14px] [stroke-dashoffset:14px] transition-[stroke-dashoffset] duration-200 data-[state=indeterminate]:[stroke-dashoffset:0]",
37
+ label: "select-none text-sm text-[var(--ui-text)]",
38
+ description: "block select-none text-xs text-[var(--ui-text-muted)]",
39
+ // Only rendered when there's a description (wrapping the label and
40
+ // description together so they stack under one another) - same font-
41
+ // baseline correction as RadioGroup's own labelGroup slot (see its
42
+ // theme file for the full derivation): the label text visually sits a
43
+ // bit lower than its own line box's true center, so this nudges the
44
+ // whole block up slightly to compensate.
45
+ labelGroup: "-mt-[2.5px]"
46
+ },
47
+ variants: {
48
+ // Fills/rings the box in the given color when checked/indeterminate,
49
+ // and colors the checkmark stroke (via the indicator's own
50
+ // `currentColor`) with that color's matching foreground token - same
51
+ // pairing Button's own `solid` variant already uses. Unchecked always
52
+ // stays the same neutral ring regardless of `color`.
53
+ color: {
54
+ primary: {
55
+ box: "data-[state=checked]:bg-[var(--ui-primary)] data-[state=checked]:ring-[var(--ui-primary)] data-[state=checked]:before:bg-[var(--ui-primary)] data-[state=indeterminate]:bg-[var(--ui-primary)] data-[state=indeterminate]:ring-[var(--ui-primary)] data-[state=indeterminate]:before:bg-[var(--ui-primary)]",
56
+ indicator: "text-[var(--ui-primary-foreground)]"
57
+ },
58
+ neutral: {
59
+ box: "data-[state=checked]:bg-[var(--ui-bg-inverted)] data-[state=checked]:ring-[var(--ui-bg-inverted)] data-[state=checked]:before:bg-[var(--ui-bg-inverted)] data-[state=indeterminate]:bg-[var(--ui-bg-inverted)] data-[state=indeterminate]:ring-[var(--ui-bg-inverted)] data-[state=indeterminate]:before:bg-[var(--ui-bg-inverted)]",
60
+ indicator: "text-[var(--ui-text-inverted)]"
61
+ },
62
+ secondary: {
63
+ box: "data-[state=checked]:bg-[var(--ui-secondary)] data-[state=checked]:ring-[var(--ui-secondary)] data-[state=checked]:before:bg-[var(--ui-secondary)] data-[state=indeterminate]:bg-[var(--ui-secondary)] data-[state=indeterminate]:ring-[var(--ui-secondary)] data-[state=indeterminate]:before:bg-[var(--ui-secondary)]",
64
+ indicator: "text-[var(--ui-secondary-foreground)]"
65
+ },
66
+ success: {
67
+ box: "data-[state=checked]:bg-[var(--ui-success)] data-[state=checked]:ring-[var(--ui-success)] data-[state=checked]:before:bg-[var(--ui-success)] data-[state=indeterminate]:bg-[var(--ui-success)] data-[state=indeterminate]:ring-[var(--ui-success)] data-[state=indeterminate]:before:bg-[var(--ui-success)]",
68
+ indicator: "text-[var(--ui-success-foreground)]"
69
+ },
70
+ danger: {
71
+ box: "data-[state=checked]:bg-[var(--ui-danger)] data-[state=checked]:ring-[var(--ui-danger)] data-[state=checked]:before:bg-[var(--ui-danger)] data-[state=indeterminate]:bg-[var(--ui-danger)] data-[state=indeterminate]:ring-[var(--ui-danger)] data-[state=indeterminate]:before:bg-[var(--ui-danger)]",
72
+ indicator: "text-[var(--ui-danger-foreground)]"
73
+ },
74
+ info: {
75
+ box: "data-[state=checked]:bg-[var(--ui-info)] data-[state=checked]:ring-[var(--ui-info)] data-[state=checked]:before:bg-[var(--ui-info)] data-[state=indeterminate]:bg-[var(--ui-info)] data-[state=indeterminate]:ring-[var(--ui-info)] data-[state=indeterminate]:before:bg-[var(--ui-info)]",
76
+ indicator: "text-[var(--ui-info-foreground)]"
77
+ },
78
+ warning: {
79
+ box: "data-[state=checked]:bg-[var(--ui-warning)] data-[state=checked]:ring-[var(--ui-warning)] data-[state=checked]:before:bg-[var(--ui-warning)] data-[state=indeterminate]:bg-[var(--ui-warning)] data-[state=indeterminate]:ring-[var(--ui-warning)] data-[state=indeterminate]:before:bg-[var(--ui-warning)]",
80
+ indicator: "text-[var(--ui-warning-foreground)]"
81
+ }
82
+ },
83
+ // Same +4px-per-step scale RadioGroup's own `size` variant uses.
84
+ size: {
85
+ sm: { box: "size-3.5 before:-inset-[7px]", indicator: "size-2.5", label: "text-xs", description: "text-xs" },
86
+ md: { box: "size-4.5 before:-inset-[9px]", indicator: "size-3.5", label: "text-sm", description: "text-xs" },
87
+ lg: { box: "size-5.5 before:-inset-[11px]", indicator: "size-4", label: "text-base", description: "text-sm" }
88
+ },
89
+ // Wraps the checkbox+label in a bordered box, highlighted when
90
+ // checked - same pattern already proven on RadioGroup's own `card`
91
+ // variant (see radio-group.ts), applied here to root/box instead of
92
+ // itemWrapper/item since there's one control, not a list.
93
+ variant: {
94
+ default: {},
95
+ card: {
96
+ root: "w-full items-start gap-3 rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] px-3.5 py-3 transition-colors has-[[data-state=checked]]:border-[var(--ui-primary)] has-[[data-state=checked]]:bg-[var(--ui-primary-soft)]",
97
+ box: "mt-0.5"
98
+ }
99
+ },
100
+ // Declared last (after color) so tailwind-merge lets its own
101
+ // data-[state=checked]/indeterminate ring override win over color's -
102
+ // invalid should always show danger regardless of what color was also
103
+ // requested, not whichever variant happens to compose later. See
104
+ // RadioGroup's own theme file, which already has this order right.
105
+ invalid: {
106
+ true: { box: "ring-[var(--ui-danger)] data-[state=checked]:ring-[var(--ui-danger)] data-[state=indeterminate]:ring-[var(--ui-danger)]" }
107
+ }
108
+ },
109
+ defaultVariants: {
110
+ color: "primary",
111
+ size: "md"
112
+ }
113
+ });
@@ -0,0 +1,155 @@
1
+ export declare const chipTheme: import("tailwind-variants").TVReturnType<{
2
+ color: {
3
+ primary: "";
4
+ neutral: "";
5
+ secondary: "";
6
+ success: "";
7
+ danger: "";
8
+ info: "";
9
+ warning: "";
10
+ };
11
+ variant: {
12
+ solid: "";
13
+ soft: "";
14
+ outline: "";
15
+ };
16
+ size: {
17
+ sm: {
18
+ root: string;
19
+ leadingIcon: string;
20
+ removeIcon: string;
21
+ };
22
+ md: {
23
+ root: string;
24
+ leadingIcon: string;
25
+ removeIcon: string;
26
+ };
27
+ lg: {
28
+ root: string;
29
+ leadingIcon: string;
30
+ removeIcon: string;
31
+ };
32
+ };
33
+ rounded: {
34
+ true: {
35
+ root: string;
36
+ };
37
+ };
38
+ disabled: {
39
+ true: {
40
+ root: string;
41
+ };
42
+ };
43
+ removable: {
44
+ true: {};
45
+ };
46
+ }, {
47
+ root: string;
48
+ leadingIcon: string;
49
+ label: string;
50
+ remove: string;
51
+ removeIcon: string;
52
+ }, undefined, {
53
+ color: {
54
+ primary: "";
55
+ neutral: "";
56
+ secondary: "";
57
+ success: "";
58
+ danger: "";
59
+ info: "";
60
+ warning: "";
61
+ };
62
+ variant: {
63
+ solid: "";
64
+ soft: "";
65
+ outline: "";
66
+ };
67
+ size: {
68
+ sm: {
69
+ root: string;
70
+ leadingIcon: string;
71
+ removeIcon: string;
72
+ };
73
+ md: {
74
+ root: string;
75
+ leadingIcon: string;
76
+ removeIcon: string;
77
+ };
78
+ lg: {
79
+ root: string;
80
+ leadingIcon: string;
81
+ removeIcon: string;
82
+ };
83
+ };
84
+ rounded: {
85
+ true: {
86
+ root: string;
87
+ };
88
+ };
89
+ disabled: {
90
+ true: {
91
+ root: string;
92
+ };
93
+ };
94
+ removable: {
95
+ true: {};
96
+ };
97
+ }, {
98
+ root: string;
99
+ leadingIcon: string;
100
+ label: string;
101
+ remove: string;
102
+ removeIcon: string;
103
+ }, import("tailwind-variants").TVReturnTypeLike<{
104
+ color: {
105
+ primary: "";
106
+ neutral: "";
107
+ secondary: "";
108
+ success: "";
109
+ danger: "";
110
+ info: "";
111
+ warning: "";
112
+ };
113
+ variant: {
114
+ solid: "";
115
+ soft: "";
116
+ outline: "";
117
+ };
118
+ size: {
119
+ sm: {
120
+ root: string;
121
+ leadingIcon: string;
122
+ removeIcon: string;
123
+ };
124
+ md: {
125
+ root: string;
126
+ leadingIcon: string;
127
+ removeIcon: string;
128
+ };
129
+ lg: {
130
+ root: string;
131
+ leadingIcon: string;
132
+ removeIcon: string;
133
+ };
134
+ };
135
+ rounded: {
136
+ true: {
137
+ root: string;
138
+ };
139
+ };
140
+ disabled: {
141
+ true: {
142
+ root: string;
143
+ };
144
+ };
145
+ removable: {
146
+ true: {};
147
+ };
148
+ }, {
149
+ root: string;
150
+ leadingIcon: string;
151
+ label: string;
152
+ remove: string;
153
+ removeIcon: string;
154
+ }>>;
155
+ export type ChipThemeSlots = keyof (typeof chipTheme)['slots'];
@@ -0,0 +1,86 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const chipTheme = tv({
3
+ slots: {
4
+ // rounded-sm by default, same as Badge's own shape - `rounded` opts a
5
+ // specific chip into the fully-rounded pill look instead. Padding/
6
+ // height below is Badge's original scale, carried over here; Badge
7
+ // itself moved to a tighter one (see badge.ts).
8
+ root: "inline-flex items-center gap-1 rounded-[var(--ui-radius-sm)] font-medium whitespace-nowrap",
9
+ leadingIcon: "shrink-0",
10
+ label: "truncate",
11
+ // inline-flex items-center justify-center centers the icon in both
12
+ // axes and keeps the button's own box vertically centered against the
13
+ // label's line box via the root's items-center, not just tall enough
14
+ // to look right by accident (the exact bug already fixed once for
15
+ // Input/Select's clear button - a plain <button> with no centering
16
+ // inherits ambient line-height on height only).
17
+ remove: "inline-flex shrink-0 items-center justify-center rounded-full p-0.5 opacity-70 transition-[opacity,background-color] hover:opacity-100 hover:bg-current/10 active:bg-current/15 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-current disabled:opacity-30 disabled:pointer-events-none",
18
+ removeIcon: "shrink-0"
19
+ },
20
+ variants: {
21
+ color: {
22
+ primary: "",
23
+ neutral: "",
24
+ secondary: "",
25
+ success: "",
26
+ danger: "",
27
+ info: "",
28
+ warning: ""
29
+ },
30
+ variant: {
31
+ solid: "",
32
+ soft: "",
33
+ outline: ""
34
+ },
35
+ size: {
36
+ sm: { root: "h-5 px-1.5 text-xs", leadingIcon: "size-3", removeIcon: "size-3" },
37
+ md: { root: "h-6 px-2 text-xs", leadingIcon: "size-3.5", removeIcon: "size-3.5" },
38
+ lg: { root: "h-7 px-2.5 text-sm", leadingIcon: "size-4", removeIcon: "size-4" }
39
+ },
40
+ rounded: {
41
+ true: { root: "rounded-full" }
42
+ },
43
+ disabled: {
44
+ true: { root: "opacity-50 pointer-events-none" }
45
+ },
46
+ // The remove button's own p-0.5 (plus its hover-circle inset) already
47
+ // adds visual weight on its own side, so root's end padding (the side
48
+ // the remove button actually renders on, in either direction - it's
49
+ // the last flex child) trims down one step per size to compensate -
50
+ // start padding is untouched.
51
+ removable: {
52
+ true: {}
53
+ }
54
+ },
55
+ compoundVariants: [
56
+ { size: "sm", removable: true, class: { root: "pe-1" } },
57
+ { size: "md", removable: true, class: { root: "pe-1.5" } },
58
+ { size: "lg", removable: true, class: { root: "pe-2" } },
59
+ { color: "primary", variant: "solid", class: { root: "bg-[var(--ui-primary)] text-[var(--ui-primary-foreground)]" } },
60
+ { color: "primary", variant: "soft", class: { root: "bg-[var(--ui-primary-soft)] text-[var(--ui-primary)]" } },
61
+ { color: "primary", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-primary)] text-[var(--ui-primary)]" } },
62
+ { color: "neutral", variant: "solid", class: { root: "bg-[var(--ui-neutral)] text-[var(--ui-neutral-foreground)]" } },
63
+ { color: "neutral", variant: "soft", class: { root: "bg-[var(--ui-neutral-soft)] text-[var(--ui-text)]" } },
64
+ { color: "neutral", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-border)] text-[var(--ui-text)]" } },
65
+ { color: "secondary", variant: "solid", class: { root: "bg-[var(--ui-secondary)] text-[var(--ui-secondary-foreground)]" } },
66
+ { color: "secondary", variant: "soft", class: { root: "bg-[var(--ui-secondary-soft)] text-[var(--ui-secondary)]" } },
67
+ { color: "secondary", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-secondary)] text-[var(--ui-secondary)]" } },
68
+ { color: "success", variant: "solid", class: { root: "bg-[var(--ui-success)] text-[var(--ui-success-foreground)]" } },
69
+ { color: "success", variant: "soft", class: { root: "bg-[var(--ui-success-soft)] text-[var(--ui-success)]" } },
70
+ { color: "success", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-success)] text-[var(--ui-success)]" } },
71
+ { color: "danger", variant: "solid", class: { root: "bg-[var(--ui-danger)] text-[var(--ui-danger-foreground)]" } },
72
+ { color: "danger", variant: "soft", class: { root: "bg-[var(--ui-danger-soft)] text-[var(--ui-danger)]" } },
73
+ { color: "danger", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-danger)] text-[var(--ui-danger)]" } },
74
+ { color: "info", variant: "solid", class: { root: "bg-[var(--ui-info)] text-[var(--ui-info-foreground)]" } },
75
+ { color: "info", variant: "soft", class: { root: "bg-[var(--ui-info-soft)] text-[var(--ui-info)]" } },
76
+ { color: "info", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-info)] text-[var(--ui-info)]" } },
77
+ { color: "warning", variant: "solid", class: { root: "bg-[var(--ui-warning)] text-[var(--ui-warning-foreground)]" } },
78
+ { color: "warning", variant: "soft", class: { root: "bg-[var(--ui-warning-soft)] text-[var(--ui-warning)]" } },
79
+ { color: "warning", variant: "outline", class: { root: "ring-1 ring-inset ring-[var(--ui-warning)] text-[var(--ui-warning)]" } }
80
+ ],
81
+ defaultVariants: {
82
+ color: "neutral",
83
+ variant: "soft",
84
+ size: "md"
85
+ }
86
+ });
@@ -0,0 +1,32 @@
1
+ export declare const codeButtonTheme: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ root?: import("tailwind-variants").ClassValue;
5
+ icon?: import("tailwind-variants").ClassValue;
6
+ };
7
+ };
8
+ } | {
9
+ [x: string]: {
10
+ [x: string]: import("tailwind-variants").ClassValue | {
11
+ root?: import("tailwind-variants").ClassValue;
12
+ icon?: import("tailwind-variants").ClassValue;
13
+ };
14
+ };
15
+ } | {}, {
16
+ root: string;
17
+ icon: string;
18
+ }, undefined, {
19
+ [key: string]: {
20
+ [key: string]: import("tailwind-variants").ClassValue | {
21
+ root?: import("tailwind-variants").ClassValue;
22
+ icon?: import("tailwind-variants").ClassValue;
23
+ };
24
+ };
25
+ } | {}, {
26
+ root: string;
27
+ icon: string;
28
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
29
+ root: string;
30
+ icon: string;
31
+ }>>;
32
+ export type CodeButtonThemeSlots = keyof (typeof codeButtonTheme)['slots'];
@@ -0,0 +1,7 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const codeButtonTheme = tv({
3
+ slots: {
4
+ root: "inline-flex items-center gap-1.5 rounded-[var(--ui-radius-sm)] bg-[var(--ui-bg-elevated)] px-2 py-1 font-mono text-sm text-[var(--ui-text)] transition-colors hover:bg-[var(--ui-bg-elevated)]/70",
5
+ icon: "size-3.5 shrink-0 text-[var(--ui-text-muted)]"
6
+ }
7
+ });
@@ -0,0 +1,50 @@
1
+ export declare const codeTreeTheme: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ root?: import("tailwind-variants").ClassValue;
5
+ content?: import("tailwind-variants").ClassValue;
6
+ pre?: import("tailwind-variants").ClassValue;
7
+ empty?: import("tailwind-variants").ClassValue;
8
+ tree?: import("tailwind-variants").ClassValue;
9
+ };
10
+ };
11
+ } | {
12
+ [x: string]: {
13
+ [x: string]: import("tailwind-variants").ClassValue | {
14
+ root?: import("tailwind-variants").ClassValue;
15
+ content?: import("tailwind-variants").ClassValue;
16
+ pre?: import("tailwind-variants").ClassValue;
17
+ empty?: import("tailwind-variants").ClassValue;
18
+ tree?: import("tailwind-variants").ClassValue;
19
+ };
20
+ };
21
+ } | {}, {
22
+ root: string;
23
+ tree: string;
24
+ content: string;
25
+ pre: string;
26
+ empty: string;
27
+ }, undefined, {
28
+ [key: string]: {
29
+ [key: string]: import("tailwind-variants").ClassValue | {
30
+ root?: import("tailwind-variants").ClassValue;
31
+ content?: import("tailwind-variants").ClassValue;
32
+ pre?: import("tailwind-variants").ClassValue;
33
+ empty?: import("tailwind-variants").ClassValue;
34
+ tree?: import("tailwind-variants").ClassValue;
35
+ };
36
+ };
37
+ } | {}, {
38
+ root: string;
39
+ tree: string;
40
+ content: string;
41
+ pre: string;
42
+ empty: string;
43
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
44
+ root: string;
45
+ tree: string;
46
+ content: string;
47
+ pre: string;
48
+ empty: string;
49
+ }>>;
50
+ export type CodeTreeThemeSlots = keyof (typeof codeTreeTheme)['slots'];
@@ -0,0 +1,13 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const codeTreeTheme = tv({
3
+ slots: {
4
+ root: "flex overflow-hidden rounded-[var(--ui-radius-md)] border border-[var(--ui-border)] bg-[var(--ui-bg)]",
5
+ // FileTree's own root box (border/bg/padding) is stripped via its :ui
6
+ // override below - this wrapper provides that framing instead, so the
7
+ // two panels read as one split view rather than a box inside a box.
8
+ tree: "w-56 shrink-0 overflow-auto border-e border-[var(--ui-border)] p-2",
9
+ content: "min-w-0 flex-1 overflow-auto p-4",
10
+ pre: "whitespace-pre font-mono text-sm text-[var(--ui-text)]",
11
+ empty: "flex flex-1 items-center justify-center p-4 text-center text-sm text-[var(--ui-text-muted)]"
12
+ }
13
+ });