@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,48 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const toggleTheme = tv({
3
+ slots: {
4
+ base: "inline-flex items-center justify-center gap-1.5 font-medium rounded-[var(--ui-radius-md)] transition-colors text-[var(--ui-text-muted)] hover:bg-[var(--ui-bg-elevated)] hover:text-[var(--ui-text)] disabled:opacity-50 disabled:pointer-events-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--ui-primary)]",
5
+ icon: "shrink-0"
6
+ },
7
+ variants: {
8
+ color: {
9
+ primary: "",
10
+ neutral: "",
11
+ secondary: "",
12
+ success: "",
13
+ danger: "",
14
+ info: "",
15
+ warning: ""
16
+ },
17
+ size: {
18
+ sm: { base: "h-8 px-3 text-sm", icon: "size-4" },
19
+ md: { base: "h-10 px-4 text-sm", icon: "size-4.5" },
20
+ lg: { base: "h-11 px-5 text-base", icon: "size-5" }
21
+ },
22
+ square: {
23
+ true: {}
24
+ }
25
+ },
26
+ compoundVariants: [
27
+ // Icon-only: swap the size's text-oriented horizontal padding for an
28
+ // equal-width square matching its own height - same technique as
29
+ // Button's own `square` compound variants.
30
+ { size: "sm", square: true, class: { base: "w-8 px-0" } },
31
+ { size: "md", square: true, class: { base: "w-10 px-0" } },
32
+ { size: "lg", square: true, class: { base: "w-11 px-0" } },
33
+ // Pressed (data-[state=on]) - the same soft-variant look Button/Alert/
34
+ // Badge already use for this color at rest, so a pressed Toggle reads
35
+ // as "this color's own settled state" rather than a one-off treatment.
36
+ { color: "primary", class: { base: "data-[state=on]:bg-[var(--ui-primary-soft)] data-[state=on]:text-[var(--ui-primary)] data-[state=on]:hover:bg-[var(--ui-primary-soft)]/70" } },
37
+ { color: "neutral", class: { base: "data-[state=on]:bg-[var(--ui-neutral-soft)] data-[state=on]:text-[var(--ui-text)] data-[state=on]:hover:bg-[var(--ui-neutral-soft)]/70" } },
38
+ { color: "secondary", class: { base: "data-[state=on]:bg-[var(--ui-secondary-soft)] data-[state=on]:text-[var(--ui-secondary)] data-[state=on]:hover:bg-[var(--ui-secondary-soft)]/70" } },
39
+ { color: "success", class: { base: "data-[state=on]:bg-[var(--ui-success-soft)] data-[state=on]:text-[var(--ui-success)] data-[state=on]:hover:bg-[var(--ui-success-soft)]/70" } },
40
+ { color: "danger", class: { base: "data-[state=on]:bg-[var(--ui-danger-soft)] data-[state=on]:text-[var(--ui-danger)] data-[state=on]:hover:bg-[var(--ui-danger-soft)]/70" } },
41
+ { color: "info", class: { base: "data-[state=on]:bg-[var(--ui-info-soft)] data-[state=on]:text-[var(--ui-info)] data-[state=on]:hover:bg-[var(--ui-info-soft)]/70" } },
42
+ { color: "warning", class: { base: "data-[state=on]:bg-[var(--ui-warning-soft)] data-[state=on]:text-[var(--ui-warning)] data-[state=on]:hover:bg-[var(--ui-warning-soft)]/70" } }
43
+ ],
44
+ defaultVariants: {
45
+ color: "primary",
46
+ size: "md"
47
+ }
48
+ });
@@ -0,0 +1,44 @@
1
+ export declare const tooltipTheme: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ content?: import("tailwind-variants").ClassValue;
5
+ kbd?: import("tailwind-variants").ClassValue;
6
+ arrow?: import("tailwind-variants").ClassValue;
7
+ kbds?: import("tailwind-variants").ClassValue;
8
+ };
9
+ };
10
+ } | {
11
+ [x: string]: {
12
+ [x: string]: import("tailwind-variants").ClassValue | {
13
+ content?: import("tailwind-variants").ClassValue;
14
+ kbd?: import("tailwind-variants").ClassValue;
15
+ arrow?: import("tailwind-variants").ClassValue;
16
+ kbds?: import("tailwind-variants").ClassValue;
17
+ };
18
+ };
19
+ } | {}, {
20
+ content: string;
21
+ arrow: string;
22
+ kbds: string;
23
+ kbd: string;
24
+ }, undefined, {
25
+ [key: string]: {
26
+ [key: string]: import("tailwind-variants").ClassValue | {
27
+ content?: import("tailwind-variants").ClassValue;
28
+ kbd?: import("tailwind-variants").ClassValue;
29
+ arrow?: import("tailwind-variants").ClassValue;
30
+ kbds?: import("tailwind-variants").ClassValue;
31
+ };
32
+ };
33
+ } | {}, {
34
+ content: string;
35
+ arrow: string;
36
+ kbds: string;
37
+ kbd: string;
38
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
39
+ content: string;
40
+ arrow: string;
41
+ kbds: string;
42
+ kbd: string;
43
+ }>>;
44
+ export type TooltipThemeSlots = keyof (typeof tooltipTheme)['slots'];
@@ -0,0 +1,14 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const tooltipTheme = tv({
3
+ slots: {
4
+ content: "z-[var(--ui-z-tooltip)] flex items-center gap-2 rounded-[var(--ui-radius-sm)] bg-[var(--ui-bg-inverted)] text-[var(--ui-text-inverted)] px-2.5 py-1.5 text-xs shadow-[var(--ui-shadow-md)] data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=delayed-open]:animate-in data-[state=instant-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=instant-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-[state=instant-open]:zoom-in-95",
5
+ arrow: "fill-[var(--ui-bg-inverted)]",
6
+ kbds: "ms-auto flex items-center gap-0.5",
7
+ // bg-current/15 (not a fixed light/dark token) picks up whatever
8
+ // text-inverted resolves to at this spot, so the badge reads as a
9
+ // subtle overlay on the tooltip's own inverted surface in both themes -
10
+ // the same currentColor-overlay technique Chip's own remove button
11
+ // already uses against its (also currentColor-driven) surface.
12
+ kbd: "rounded-[var(--ui-radius-sm)] bg-current/15 px-1 py-0.5 text-[10px] font-medium"
13
+ }
14
+ });
@@ -0,0 +1,80 @@
1
+ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ sm: {
4
+ item: string;
5
+ icon: string;
6
+ toggle: string;
7
+ spacer: string;
8
+ };
9
+ md: {
10
+ item: string;
11
+ };
12
+ lg: {
13
+ item: string;
14
+ icon: string;
15
+ toggle: string;
16
+ spacer: string;
17
+ };
18
+ };
19
+ }, {
20
+ root: string;
21
+ item: string;
22
+ toggle: string;
23
+ spacer: string;
24
+ checkbox: string;
25
+ icon: string;
26
+ label: string;
27
+ }, undefined, {
28
+ size: {
29
+ sm: {
30
+ item: string;
31
+ icon: string;
32
+ toggle: string;
33
+ spacer: string;
34
+ };
35
+ md: {
36
+ item: string;
37
+ };
38
+ lg: {
39
+ item: string;
40
+ icon: string;
41
+ toggle: string;
42
+ spacer: string;
43
+ };
44
+ };
45
+ }, {
46
+ root: string;
47
+ item: string;
48
+ toggle: string;
49
+ spacer: string;
50
+ checkbox: string;
51
+ icon: string;
52
+ label: string;
53
+ }, import("tailwind-variants").TVReturnTypeLike<{
54
+ size: {
55
+ sm: {
56
+ item: string;
57
+ icon: string;
58
+ toggle: string;
59
+ spacer: string;
60
+ };
61
+ md: {
62
+ item: string;
63
+ };
64
+ lg: {
65
+ item: string;
66
+ icon: string;
67
+ toggle: string;
68
+ spacer: string;
69
+ };
70
+ };
71
+ }, {
72
+ root: string;
73
+ item: string;
74
+ toggle: string;
75
+ spacer: string;
76
+ checkbox: string;
77
+ icon: string;
78
+ label: string;
79
+ }>>;
80
+ export type TreeThemeSlots = keyof (typeof treeTheme)['slots'];
@@ -0,0 +1,32 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const treeTheme = tv({
3
+ slots: {
4
+ root: "flex flex-col gap-0.5 text-sm",
5
+ // Reka's own TreeItem sets data-selected/data-expanded/data-disabled
6
+ // on its own rendered root itself (confirmed by reading TreeItem.js
7
+ // directly) - so this styles off those attributes the same way every
8
+ // other component here keys off Reka's own data-* state, rather than
9
+ // a JS-computed variant like FileTree.vue's own hand-rolled one (it
10
+ // has no Reka data-attribute of its own to key off).
11
+ item: "flex w-full items-center gap-1.5 rounded-[var(--ui-radius-sm)] px-1.5 py-1 text-[var(--ui-text)] outline-none cursor-pointer select-none data-[selected]:bg-[var(--ui-primary-soft)] data-[selected]:text-[var(--ui-primary)] not-data-[selected]:hover:bg-[var(--ui-bg-elevated)] data-[disabled]:opacity-50 data-[disabled]:pointer-events-none focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-[var(--ui-primary)]",
12
+ // Same rotate-on-expand convention as Accordion/FileTree's own
13
+ // chevron. A leaf row (no children) renders `spacer` instead, sized
14
+ // identically, so labels still align into one column regardless of
15
+ // depth.
16
+ toggle: "flex size-4 shrink-0 items-center justify-center text-[var(--ui-text-muted)] transition-transform rtl:rotate-180 data-[expanded]:rotate-90 rtl:data-[expanded]:rotate-90",
17
+ spacer: "size-4 shrink-0",
18
+ checkbox: "shrink-0 pointer-events-none",
19
+ icon: "size-4 shrink-0 text-[var(--ui-text-muted)]",
20
+ label: "truncate"
21
+ },
22
+ variants: {
23
+ size: {
24
+ sm: { item: "text-xs", icon: "size-3.5", toggle: "size-3.5", spacer: "size-3.5" },
25
+ md: { item: "text-sm" },
26
+ lg: { item: "text-base", icon: "size-5", toggle: "size-5", spacer: "size-5" }
27
+ }
28
+ },
29
+ defaultVariants: {
30
+ size: "md"
31
+ }
32
+ });
@@ -0,0 +1 @@
1
+ @import "tw-animate-css";@source "./components";@source "./internal";@source "./theme";@source "./utils";@custom-variant dark (&:where(.dark, .dark *));@layer base{a:focus-visible{outline-offset:0}}@keyframes selaras-ripple{to{opacity:0;transform:scale(1)}}@keyframes selaras-accordion-down{0%{height:0}to{height:var(--reka-accordion-content-height)}}@keyframes selaras-accordion-up{0%{height:var(--reka-accordion-content-height)}to{height:0}}@keyframes selaras-collapsible-down{0%{height:0}to{height:var(--reka-collapsible-content-height)}}@keyframes selaras-collapsible-up{0%{height:var(--reka-collapsible-content-height)}to{height:0}}@keyframes selaras-skeleton-shimmer{0%{background-position:150% 0}to{background-position:-50% 0}}@keyframes selaras-progress-indeterminate{0%{transform:translateX(-100%)}to{transform:translateX(300%)}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}.selaras-nav-elbow{position:relative}.selaras-nav-elbow:before{inset-inline-start:-16px;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;width:16px}.selaras-nav-elbow:after,.selaras-nav-elbow:before{background-color:var(--ui-border);content:"";position:absolute;top:0}.selaras-nav-elbow:after{inset-inline-start:-15px;width:1.5px}.selaras-nav-elbow--content-navigation:before{height:40px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 14a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 40'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 14a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E")}.selaras-nav-elbow--content-navigation:after{bottom:-2px}.selaras-nav-elbow--content-navigation:last-child:after{bottom:auto;height:14px}.selaras-nav-elbow--navigation-menu:before{height:32px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 10a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 10a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E")}.selaras-nav-elbow--navigation-menu:after{bottom:-4px}.selaras-nav-elbow--navigation-menu:last-child:after{bottom:auto;height:10px}.selaras-nav-elbow--file-tree:before{height:28px;-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 28'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 8a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 28'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5' d='M1 8a6 6 0 0 0 6 6h7'/%3E%3C/svg%3E")}.selaras-nav-elbow--file-tree:after{bottom:-2px}.selaras-nav-elbow--file-tree:last-child:after{bottom:auto;height:8px}@theme{--color-primary-50:oklch(0.9700 0.0120 279.99);--color-primary-100:oklch(0.9300 0.0280 279.99);--color-primary-200:oklch(0.8600 0.0550 279.99);--color-primary-300:oklch(0.7800 0.1000 279.99);--color-primary-400:oklch(0.6400 0.1650 279.99);--color-primary-500:oklch(0.4755 0.2026 279.99);--color-primary-600:oklch(0.4150 0.1850 279.99);--color-primary-700:oklch(0.3550 0.1580 279.99);--color-primary-800:oklch(0.2950 0.1280 279.99);--color-primary-900:oklch(0.2350 0.0950 279.99);--color-primary-950:oklch(0.1700 0.0600 279.99);--color-secondary-50:oklch(0.975 0.012 325);--color-secondary-100:oklch(0.945 0.030 325);--color-secondary-200:oklch(0.890 0.060 325);--color-secondary-300:oklch(0.810 0.100 325);--color-secondary-400:oklch(0.690 0.145 325);--color-secondary-500:oklch(0.565 0.175 325);--color-secondary-600:oklch(0.495 0.165 325);--color-secondary-700:oklch(0.420 0.145 325);--color-secondary-800:oklch(0.345 0.115 325);--color-secondary-900:oklch(0.275 0.085 325);--color-secondary-950:oklch(0.190 0.055 325);--color-neutral-25:oklch(0.995 0.0015 280);--color-neutral-50:oklch(0.980 0.0030 280);--color-neutral-100:oklch(0.945 0.0065 280);--color-neutral-200:oklch(0.900 0.0100 280);--color-neutral-300:oklch(0.840 0.0140 280);--color-neutral-400:oklch(0.700 0.0180 280);--color-neutral-500:oklch(0.555 0.0200 280);--color-neutral-600:oklch(0.445 0.0190 280);--color-neutral-700:oklch(0.365 0.0170 280);--color-neutral-800:oklch(0.275 0.0140 280);--color-neutral-900:oklch(0.205 0.0110 280);--color-neutral-950:oklch(0.145 0.0080 280);--color-success-50:oklch(0.980 0.020 148);--color-success-100:oklch(0.950 0.045 148);--color-success-200:oklch(0.895 0.080 148);--color-success-300:oklch(0.820 0.120 148);--color-success-400:oklch(0.735 0.155 148);--color-success-500:oklch(0.640 0.175 148);--color-success-600:oklch(0.555 0.160 148);--color-success-700:oklch(0.470 0.140 148);--color-success-800:oklch(0.390 0.115 148);--color-success-900:oklch(0.315 0.085 148);--color-success-950:oklch(0.225 0.055 148);--color-info-50:oklch(0.975 0.018 245);--color-info-100:oklch(0.945 0.040 245);--color-info-200:oklch(0.895 0.075 245);--color-info-300:oklch(0.820 0.115 245);--color-info-400:oklch(0.715 0.155 245);--color-info-500:oklch(0.620 0.175 245);--color-info-600:oklch(0.535 0.165 245);--color-info-700:oklch(0.455 0.145 245);--color-info-800:oklch(0.375 0.115 245);--color-info-900:oklch(0.300 0.085 245);--color-info-950:oklch(0.215 0.055 245);--color-warning-50:oklch(0.985 0.022 88);--color-warning-100:oklch(0.960 0.055 88);--color-warning-200:oklch(0.915 0.105 88);--color-warning-300:oklch(0.860 0.145 88);--color-warning-400:oklch(0.810 0.165 88);--color-warning-500:oklch(0.755 0.165 88);--color-warning-600:oklch(0.665 0.155 88);--color-warning-700:oklch(0.565 0.135 88);--color-warning-800:oklch(0.465 0.110 88);--color-warning-900:oklch(0.375 0.085 88);--color-warning-950:oklch(0.255 0.055 88);--color-danger-50:oklch(0.975 0.015 28);--color-danger-100:oklch(0.945 0.035 28);--color-danger-200:oklch(0.890 0.070 28);--color-danger-300:oklch(0.805 0.120 28);--color-danger-400:oklch(0.700 0.175 28);--color-danger-500:oklch(0.600 0.205 28);--color-danger-600:oklch(0.525 0.195 28);--color-danger-700:oklch(0.445 0.170 28);--color-danger-800:oklch(0.365 0.135 28);--color-danger-900:oklch(0.295 0.100 28);--color-danger-950:oklch(0.205 0.065 28)}:root{--ui-radius:8px;--ui-radius-sm:calc(var(--ui-radius)*0.75);--ui-radius-md:var(--ui-radius);--ui-radius-lg:calc(var(--ui-radius)*2);--ui-radius-full:9999px;--ui-shadow-sm:0 1px 2px 0 rgba(0,0,0,.06);--ui-shadow-md:0 4px 16px -2px rgba(0,0,0,.12);--ui-shadow-lg:0 12px 32px -4px rgba(0,0,0,.16);--ui-z-modal-overlay:40;--ui-z-modal:50;--ui-z-dropdown:60;--ui-z-tooltip:70;--ui-z-toast:80;--ui-bg:--theme(--color-neutral-25);--ui-bg-elevated:--theme(--color-neutral-50);--ui-bg-inverted:--theme(--color-neutral-950);--ui-border:--theme(--color-neutral-200);--ui-border-hover:--theme(--color-neutral-300);--ui-border-muted:--theme(--color-neutral-100);--ui-text:--theme(--color-neutral-950);--ui-text-muted:--theme(--color-neutral-600);--ui-text-inverted:--theme(--color-neutral-50);--ui-primary:--theme(--color-primary-500);--ui-primary-hover:--theme(--color-primary-600);--ui-primary-active:--theme(--color-primary-700);--ui-primary-foreground:--theme(--color-neutral-25);--ui-primary-soft:--theme(--color-primary-100);--ui-secondary:--theme(--color-secondary-500);--ui-secondary-hover:--theme(--color-secondary-600);--ui-secondary-active:--theme(--color-secondary-700);--ui-secondary-foreground:--theme(--color-neutral-25);--ui-secondary-soft:--theme(--color-secondary-100);--ui-success:--theme(--color-success-500);--ui-success-hover:--theme(--color-success-600);--ui-success-active:--theme(--color-success-700);--ui-success-foreground:--theme(--color-neutral-25);--ui-success-soft:--theme(--color-success-100);--ui-info:--theme(--color-info-500);--ui-info-hover:--theme(--color-info-600);--ui-info-active:--theme(--color-info-700);--ui-info-foreground:--theme(--color-neutral-25);--ui-info-soft:--theme(--color-info-100);--ui-danger:--theme(--color-danger-500);--ui-danger-hover:--theme(--color-danger-600);--ui-danger-active:--theme(--color-danger-700);--ui-danger-foreground:--theme(--color-neutral-25);--ui-danger-soft:--theme(--color-danger-100);--ui-warning:--theme(--color-warning-500);--ui-warning-hover:--theme(--color-warning-600);--ui-warning-active:--theme(--color-warning-700);--ui-warning-foreground:--theme(--color-neutral-950);--ui-warning-soft:--theme(--color-warning-100);--ui-neutral:--theme(--color-neutral-950);--ui-neutral-hover:--theme(--color-neutral-900);--ui-neutral-active:--theme(--color-neutral-800);--ui-neutral-foreground:--theme(--color-neutral-25);--ui-neutral-soft:--theme(--color-neutral-100)}.dark{--ui-bg:--theme(--color-neutral-950);--ui-bg-elevated:--theme(--color-neutral-900);--ui-bg-inverted:--theme(--color-neutral-50);--ui-border:--theme(--color-neutral-800);--ui-border-hover:--theme(--color-neutral-700);--ui-border-muted:--theme(--color-neutral-900);--ui-text:--theme(--color-neutral-50);--ui-text-muted:--theme(--color-neutral-400);--ui-text-inverted:--theme(--color-neutral-950);--ui-primary-soft:color-mix(in oklab,--theme(--color-primary-500) 24%,var(--ui-bg));--ui-secondary-soft:color-mix(in oklab,--theme(--color-secondary-500) 24%,var(--ui-bg));--ui-success-soft:color-mix(in oklab,--theme(--color-success-500) 24%,var(--ui-bg));--ui-info-soft:color-mix(in oklab,--theme(--color-info-500) 24%,var(--ui-bg));--ui-warning-soft:color-mix(in oklab,--theme(--color-warning-500) 24%,var(--ui-bg));--ui-danger-soft:color-mix(in oklab,--theme(--color-danger-500) 24%,var(--ui-bg));--ui-neutral:--theme(--color-neutral-50);--ui-neutral-hover:--theme(--color-neutral-100);--ui-neutral-active:--theme(--color-neutral-200);--ui-neutral-foreground:--theme(--color-neutral-950);--ui-neutral-soft:--theme(--color-neutral-900)}
@@ -0,0 +1,15 @@
1
+ import type { IconRegistry } from '../utils/icons'
2
+ import type { MessageRegistry } from '../utils/messages'
3
+
4
+ // Types app.config.ts's own override surface for the three global
5
+ // mechanisms that read from it (useIcons/useMessages/useLocale) - without
6
+ // this, `messages`/`icons`/`locale` are untyped `any` in a consumer's own
7
+ // app.config.ts, with no autocomplete and no typo detection. Referenced
8
+ // into the generated nuxt.d.ts via module.ts's own `prepare:types` hook.
9
+ declare module '@nuxt/schema' {
10
+ interface AppConfig {
11
+ messages?: Partial<MessageRegistry>
12
+ icons?: Partial<IconRegistry>
13
+ locale?: string
14
+ }
15
+ }
@@ -0,0 +1,82 @@
1
+ export type * from '../components/Accordion.vue';
2
+ export type * from '../components/Alert.vue';
3
+ export type * from '../components/App.vue';
4
+ export type * from '../components/Autocomplete.vue';
5
+ export type * from '../components/Avatar.vue';
6
+ export type * from '../components/AvatarGroup.vue';
7
+ export type * from '../components/Badge.vue';
8
+ export type * from '../components/Breadcrumb.vue';
9
+ export type * from '../components/Button.vue';
10
+ export type * from '../components/ButtonGroup.vue';
11
+ export type * from '../components/Callout.vue';
12
+ export type * from '../components/Card.vue';
13
+ export type * from '../components/CardGroup.vue';
14
+ export type * from '../components/Checkbox.vue';
15
+ export type * from '../components/Chip.vue';
16
+ export type * from '../components/CodeButton.vue';
17
+ export type * from '../components/CodeGroup.vue';
18
+ export type * from '../components/CodeTree.vue';
19
+ export type * from '../components/Collapsible.vue';
20
+ export type * from '../components/ColorModeToggle.vue';
21
+ export type * from '../components/CommandPalette.vue';
22
+ export type * from '../components/Container.vue';
23
+ export type * from '../components/ContentNavigation.vue';
24
+ export type * from '../components/ContentSurround.vue';
25
+ export type * from '../components/ContentToc.vue';
26
+ export type * from '../components/ContextMenu.vue';
27
+ export type * from '../components/DashboardGroup.vue';
28
+ export type * from '../components/DashboardNavbar.vue';
29
+ export type * from '../components/DashboardPanel.vue';
30
+ export type * from '../components/DashboardResizeHandle.vue';
31
+ export type * from '../components/DashboardSidebar.vue';
32
+ export type * from '../components/DashboardSidebarToggle.vue';
33
+ export type * from '../components/DatePicker.vue';
34
+ export type * from '../components/Dropdown.vue';
35
+ export type * from '../components/FileTree.vue';
36
+ export type * from '../components/FileUpload.vue';
37
+ export type * from '../components/FormField.vue';
38
+ export type * from '../components/Header.vue';
39
+ export type * from '../components/Icon.vue';
40
+ export type * from '../components/Input.vue';
41
+ export type * from '../components/InputNumber.vue';
42
+ export type * from '../components/Kbd.vue';
43
+ export type * from '../components/Modal.vue';
44
+ export type * from '../components/NavigationMenu.vue';
45
+ export type * from '../components/PageAside.vue';
46
+ export type * from '../components/PageHeader.vue';
47
+ export type * from '../components/Pagination.vue';
48
+ export type * from '../components/PinInput.vue';
49
+ export type * from '../components/Popover.vue';
50
+ export type * from '../components/Progress.vue';
51
+ export type * from '../components/ProseH1.vue';
52
+ export type * from '../components/ProseH2.vue';
53
+ export type * from '../components/ProseH3.vue';
54
+ export type * from '../components/ProseH4.vue';
55
+ export type * from '../components/ProseH5.vue';
56
+ export type * from '../components/ProseH6.vue';
57
+ export type * from '../components/ProsePre.vue';
58
+ export type * from '../components/RadioGroup.vue';
59
+ export type * from '../components/Rating.vue';
60
+ export type * from '../components/ReadMore.vue';
61
+ export type * from '../components/ScrollArea.vue';
62
+ export type * from '../components/Select.vue';
63
+ export type * from '../components/Separator.vue';
64
+ export type * from '../components/Skeleton.vue';
65
+ export type * from '../components/Slideover.vue';
66
+ export type * from '../components/Splitter.vue';
67
+ export type * from '../components/SplitterPanel.vue';
68
+ export type * from '../components/SplitterResizeHandle.vue';
69
+ export type * from '../components/Stepper.vue';
70
+ export type * from '../components/Switch.vue';
71
+ export type * from '../components/Table.vue';
72
+ export type * from '../components/Tabs.vue';
73
+ export type * from '../components/Textarea.vue';
74
+ export type * from '../components/Theme.vue';
75
+ export type * from '../components/Toast.vue';
76
+ export type * from '../components/Toggle.vue';
77
+ export type * from '../components/ToggleGroup.vue';
78
+ export type * from '../components/Tooltip.vue';
79
+ export type { IconRegistry } from '../utils/icons.js';
80
+ export { defaultIcons } from '../utils/icons.js';
81
+ export type { MessageRegistry } from '../utils/messages.js';
82
+ export { defaultMessages } from '../utils/messages.js';
@@ -0,0 +1,2 @@
1
+ export { defaultIcons } from "../utils/icons.js";
2
+ export { defaultMessages } from "../utils/messages.js";
@@ -0,0 +1,2 @@
1
+ /** Formats a byte count as a human-readable size (`"1.5 MB"`) - used for a file's own size label and for a maxSize validation message. `locale` shapes the decimal separator (via `toLocaleString`, not a hardcoded `.`); omit it for the app-wide default. */
2
+ export declare function formatBytes(bytes: number, locale?: string): string;
@@ -0,0 +1,9 @@
1
+ const UNITS = ["B", "KB", "MB", "GB", "TB"];
2
+ export function formatBytes(bytes, locale) {
3
+ if (bytes <= 0)
4
+ return "0 B";
5
+ const exponent = Math.min(Math.floor(Math.log(bytes) / Math.log(1024)), UNITS.length - 1);
6
+ const value = bytes / 1024 ** exponent;
7
+ const formatted = exponent === 0 ? String(value) : value.toLocaleString(locale ?? "en-US", { maximumFractionDigits: 1 });
8
+ return `${formatted} ${UNITS[exponent]}`;
9
+ }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Returns `null` when `query` isn't a subsequence of `target` (every
3
+ * character of `query`, in order, somewhere in `target`) - that `null` is
4
+ * the actual filter signal, used to drop the item entirely. When it *is* a
5
+ * subsequence, returns a score where higher is better: a word-boundary
6
+ * match (start of string, right after a space/`-`/`_`, or a lower-to-upper
7
+ * camelCase transition) scores more than a mid-word one, and a run of
8
+ * consecutive matched characters scores progressively more than the same
9
+ * characters found scattered apart - so "cf" ranks "Create File" above a
10
+ * coincidental scattered match elsewhere.
11
+ */
12
+ export declare function fuzzyScore(query: string, target: string): number | null;
@@ -0,0 +1,21 @@
1
+ export function fuzzyScore(query, target) {
2
+ if (!query)
3
+ return 0;
4
+ const q = query.toLowerCase();
5
+ const t = target.toLowerCase();
6
+ let queryIndex = 0;
7
+ let score = 0;
8
+ let streak = 0;
9
+ let lastMatchIndex = -1;
10
+ for (let targetIndex = 0; targetIndex < t.length && queryIndex < q.length; targetIndex++) {
11
+ if (t[targetIndex] !== q[queryIndex])
12
+ continue;
13
+ const previousChar = target[targetIndex - 1];
14
+ const isWordBoundary = targetIndex === 0 || previousChar === " " || previousChar === "-" || previousChar === "_" || /[a-z]/.test(previousChar ?? "") && /[A-Z]/.test(target[targetIndex]);
15
+ streak = lastMatchIndex === targetIndex - 1 ? streak + 1 : 1;
16
+ score += 1 + (isWordBoundary ? 8 : 0) + streak * 2;
17
+ lastMatchIndex = targetIndex;
18
+ queryIndex += 1;
19
+ }
20
+ return queryIndex === q.length ? score : null;
21
+ }
@@ -0,0 +1,38 @@
1
+ export interface IconRegistry {
2
+ close: string;
3
+ check: string;
4
+ indeterminate: string;
5
+ chevronUp: string;
6
+ chevronDown: string;
7
+ chevronRight: string;
8
+ chevronLeft: string;
9
+ chevronsLeft: string;
10
+ chevronsRight: string;
11
+ loading: string;
12
+ search: string;
13
+ sortAscending: string;
14
+ sortDescending: string;
15
+ columns: string;
16
+ copy: string;
17
+ lightMode: string;
18
+ darkMode: string;
19
+ calendar: string;
20
+ clock: string;
21
+ plus: string;
22
+ minus: string;
23
+ success: string;
24
+ danger: string;
25
+ warning: string;
26
+ info: string;
27
+ user: string;
28
+ maximize: string;
29
+ minimize: string;
30
+ star: string;
31
+ upload: string;
32
+ file: string;
33
+ folder: string;
34
+ folderOpen: string;
35
+ more: string;
36
+ sidebarCollapse: string;
37
+ }
38
+ export declare const defaultIcons: IconRegistry;
@@ -0,0 +1,51 @@
1
+ export const defaultIcons = {
2
+ close: "hugeicons:cancel-01",
3
+ check: "hugeicons:tick-02",
4
+ indeterminate: "hugeicons:minus-sign",
5
+ // Hugeicons' "arrow-*-01" set is the plain chevron shape (no shaft) -
6
+ // matches the original caret look despite the name.
7
+ chevronUp: "hugeicons:arrow-up-01",
8
+ chevronDown: "hugeicons:arrow-down-01",
9
+ chevronRight: "hugeicons:arrow-right-01",
10
+ chevronLeft: "hugeicons:arrow-left-01",
11
+ chevronsLeft: "hugeicons:previous",
12
+ chevronsRight: "hugeicons:next",
13
+ loading: "hugeicons:loading-02",
14
+ search: "hugeicons:search-01",
15
+ // "arrow-*-02" (shaft + arrowhead) - kept visually distinct from the
16
+ // plain chevrons above, matching the original caret-vs-arrow split.
17
+ sortAscending: "hugeicons:arrow-up-02",
18
+ sortDescending: "hugeicons:arrow-down-02",
19
+ columns: "hugeicons:table-columns-split",
20
+ copy: "hugeicons:copy",
21
+ lightMode: "hugeicons:sun-01",
22
+ darkMode: "hugeicons:moon",
23
+ calendar: "hugeicons:calendar-01",
24
+ clock: "hugeicons:clock-01",
25
+ plus: "hugeicons:plus-sign",
26
+ minus: "hugeicons:minus-sign",
27
+ success: "hugeicons:checkmark-circle-01",
28
+ danger: "hugeicons:cancel-circle",
29
+ warning: "hugeicons:alert-circle",
30
+ info: "hugeicons:information-circle",
31
+ user: "hugeicons:user",
32
+ // Four expanding corner brackets / two arrows converging - a matched
33
+ // expand/collapse pair, not just any two vaguely-related glyphs.
34
+ maximize: "hugeicons:fullscreen",
35
+ minimize: "hugeicons:collapse",
36
+ star: "hugeicons:star",
37
+ upload: "hugeicons:upload-01",
38
+ file: "hugeicons:file-01",
39
+ folder: "hugeicons:folder-01",
40
+ folderOpen: "hugeicons:folder-open",
41
+ more: "hugeicons:more-horizontal",
42
+ // A panel-with-a-shaded-column glyph reads as "sidebar" far more directly
43
+ // than a generic double-chevron - DashboardSidebarToggle mirrors this one
44
+ // horizontally (`scaleX(-1)`, not a rotation) once collapsed, rather than
45
+ // swapping in hugeicons:sidebar-right-01. Confirmed by diffing both
46
+ // icons' real path data: they're identical except every x-coordinate is
47
+ // reflected around the icon's center (same y-coordinates throughout) -
48
+ // a true mirror image, not a 180°-rotated one, which would put the
49
+ // little nav-line details at the bottom instead of back at the top.
50
+ sidebarCollapse: "hugeicons:sidebar-left-01"
51
+ };
@@ -0,0 +1,69 @@
1
+ import type { ComputedRef, InjectionKey, Ref } from 'vue';
2
+ export declare const AVATAR_SIZE_INJECTION_KEY: InjectionKey<ComputedRef<'sm' | 'md' | 'lg' | undefined>>;
3
+ /**
4
+ * Shared from DashboardGroup down to DashboardSidebar, DashboardPanel, and
5
+ * DashboardNavbar - all three need it, and DashboardGroup is the one
6
+ * actual common ancestor of all three (DashboardSidebar/DashboardNavbar
7
+ * are themselves siblings under it, not ancestor/descendant of each
8
+ * other, so a `provide()` from either one directly would never reach the
9
+ * other - confirmed the hard way: DashboardSidebar originally provided
10
+ * its own toggle function directly, which DashboardNavbar's inject()
11
+ * silently never received).
12
+ *
13
+ * `toggleSidebar` is a ref (not a plain function) because DashboardGroup
14
+ * itself doesn't know how to toggle anything - only DashboardSidebar
15
+ * does, once it mounts and knows which mechanism (the Splitter panel's
16
+ * collapse, or the mobile drawer's open state) is actually active - so
17
+ * DashboardSidebar populates this ref with the real function, and
18
+ * DashboardNavbar just calls whatever's currently in it.
19
+ */
20
+ export interface DashboardContext {
21
+ isMobile: Ref<boolean>;
22
+ toggleSidebar: Ref<(() => void) | undefined>;
23
+ /**
24
+ * Same populate-after-mount reasoning as `toggleSidebar` - DashboardGroup
25
+ * doesn't know the sidebar's own collapsed state, only DashboardSidebar
26
+ * does, so it keeps this ref's value in sync. On mobile this tracks the
27
+ * drawer's own closed/open state (closed = "collapsed", the same
28
+ * "sidebar isn't currently taking up space" meaning collapsed has on
29
+ * desktop) rather than a hardcoded `false` - DashboardSidebarToggle
30
+ * mirrors its icon off this one flag regardless of which mode is active.
31
+ */
32
+ isSidebarCollapsed: Ref<boolean>;
33
+ /**
34
+ * Owned by DashboardGroup itself (not DashboardSidebar) for a real
35
+ * reason, not just consistency with the other two - DashboardGroup's
36
+ * own `v-if="!isMobile"`/`v-else` wraps its *entire* default slot, not
37
+ * just the Splitter, so DashboardSidebar (along with everything else in
38
+ * that slot) is fully unmounted and re-created on every mobile
39
+ * transition, not merely swapping an internal branch. A value living on
40
+ * DashboardSidebar's own instance can't survive that - it's gone the
41
+ * moment the old instance is torn down, before a fresh instance's own
42
+ * watchers ever get a chance to observe the transition. DashboardGroup
43
+ * is the one thing that actually persists across it, so the last known
44
+ * desktop pixel width has to live here instead, written by
45
+ * DashboardSidebar's own `resize` handler and read back by a freshly
46
+ * mounted DashboardSidebar to correct Reka's own cookie-restored
47
+ * percentage (recalibrated against whatever the container's width
48
+ * happens to be at that specific remount - see DashboardSidebar.vue's
49
+ * own comment for the full explanation).
50
+ */
51
+ lastDesktopWidthPx: Ref<number | undefined>;
52
+ }
53
+ export declare const DASHBOARD_INJECTION_KEY: InjectionKey<DashboardContext>;
54
+ /**
55
+ * Provided by STheme (Theme.vue), read by useComponentTheme/useThemeProps
56
+ * (utils/ui.ts) - `parent` is a deliberate back-reference to whatever
57
+ * STheme (if any) the providing one is itself nested inside, rather than
58
+ * a pre-merged bag: this lets the read side walk the *whole* ancestor
59
+ * chain and compose overrides in the correct outermost-to-innermost
60
+ * order (see useComponentTheme's own collectThemeChain), so nesting two
61
+ * STheme components inherits an outer one's unset slots/props instead of
62
+ * an inner one wholesale replacing it.
63
+ */
64
+ export interface ThemeContext {
65
+ ui?: Partial<Record<string, object>>;
66
+ props?: Partial<Record<string, Record<string, unknown>>>;
67
+ parent?: ThemeContext;
68
+ }
69
+ export declare const THEME_INJECTION_KEY: InjectionKey<ComputedRef<ThemeContext>>;
@@ -0,0 +1,3 @@
1
+ export const AVATAR_SIZE_INJECTION_KEY = Symbol("selaras-avatar-size");
2
+ export const DASHBOARD_INJECTION_KEY = Symbol("selaras-dashboard");
3
+ export const THEME_INJECTION_KEY = Symbol("selaras-theme");
@@ -0,0 +1,70 @@
1
+ export interface MessageRegistry {
2
+ loading: string;
3
+ clear: string;
4
+ close: string;
5
+ cancel: string;
6
+ continue: string;
7
+ colorModeToggle: string;
8
+ colorPicker: string;
9
+ colorPickerDescription: string;
10
+ search: string;
11
+ searchDescription: string;
12
+ columns: string;
13
+ filterPlaceholder: string;
14
+ previous: string;
15
+ next: string;
16
+ first: string;
17
+ last: string;
18
+ pagination: string;
19
+ datePicker: string;
20
+ datePickerDescription: string;
21
+ dateRangePicker: string;
22
+ dateRangePickerDescription: string;
23
+ timePicker: string;
24
+ timePickerDescription: string;
25
+ pickTime: string;
26
+ previousMonth: string;
27
+ nextMonth: string;
28
+ previousYear: string;
29
+ nextYear: string;
30
+ previousDecade: string;
31
+ nextDecade: string;
32
+ pickDate: string;
33
+ chooseMonth: string;
34
+ chooseYear: string;
35
+ hour: string;
36
+ minute: string;
37
+ done: string;
38
+ increment: string;
39
+ decrement: string;
40
+ noOptions: string;
41
+ noResultsFound: string;
42
+ noData: string;
43
+ expandRow: string;
44
+ collapseRow: string;
45
+ maximize: string;
46
+ minimize: string;
47
+ /** A single removed/removable item's accessible name - `label` is omitted for a bare, unlabeled control (matches Chip's own existing fallback). */
48
+ removeItem: (label?: string) => string;
49
+ moreItems: (count: number) => string;
50
+ avatarGroupOverflow: (count: number) => string;
51
+ paginationInfo: (page: number, total: number) => string;
52
+ codeTabFallback: (index: number) => string;
53
+ dropFiles: string;
54
+ invalidFileType: (name: string) => string;
55
+ invalidFileSize: (name: string, max: string) => string;
56
+ tooManyFiles: (max: number) => string;
57
+ showMore: string;
58
+ showLess: string;
59
+ selectFile: string;
60
+ toggleSidebar: string;
61
+ breadcrumb: string;
62
+ showHiddenBreadcrumbItems: string;
63
+ commandPalette: string;
64
+ commandPaletteDescription: string;
65
+ navigate: string;
66
+ select: string;
67
+ onThisPage: string;
68
+ upToSize: (size: string) => string;
69
+ }
70
+ export declare const defaultMessages: MessageRegistry;