@skewedaspect/sleekspace-ui 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/dist/{src/components → components}/Accordion/SkAccordion.vue.d.ts +1 -1
  2. package/dist/{src/components → components}/Accordion/types.d.ts +1 -1
  3. package/dist/{src/components → components}/Alert/SkAlert.vue.d.ts +1 -1
  4. package/dist/{src/components → components}/Alert/types.d.ts +1 -1
  5. package/dist/{src/components → components}/Avatar/SkAvatar.vue.d.ts +1 -1
  6. package/dist/{src/components → components}/Avatar/types.d.ts +1 -1
  7. package/dist/{src/components → components}/Breadcrumbs/SkBreadcrumbs.vue.d.ts +2 -2
  8. package/dist/{src/components → components}/Breadcrumbs/types.d.ts +1 -1
  9. package/dist/{src/components → components}/Button/SkButton.vue.d.ts +1 -1
  10. package/dist/{src/components → components}/Button/types.d.ts +1 -1
  11. package/dist/{src/components → components}/Card/SkCard.vue.d.ts +1 -1
  12. package/dist/components/Card/types.d.ts +2 -0
  13. package/dist/{src/components → components}/Checkbox/SkCheckbox.vue.d.ts +1 -1
  14. package/dist/{src/components → components}/Checkbox/types.d.ts +1 -1
  15. package/dist/{src/components → components}/Collapsible/SkCollapsible.vue.d.ts +1 -1
  16. package/dist/components/Collapsible/types.d.ts +2 -0
  17. package/dist/{src/components → components}/ColorPicker/SkColorPicker.vue.d.ts +1 -1
  18. package/dist/{src/components → components}/ColorPicker/types.d.ts +1 -1
  19. package/dist/{src/components → components}/ContextMenu/SkContextMenu.vue.d.ts +1 -1
  20. package/dist/components/ContextMenu/types.d.ts +2 -0
  21. package/dist/{src/components → components}/Divider/SkDivider.vue.d.ts +1 -1
  22. package/dist/{src/components → components}/Dropdown/SkDropdown.vue.d.ts +10 -2
  23. package/dist/{src/components → components}/Dropdown/types.d.ts +2 -1
  24. package/dist/{src/components → components}/Input/SkInput.vue.d.ts +1 -1
  25. package/dist/{src/components → components}/Input/types.d.ts +1 -1
  26. package/dist/{src/components → components}/Listbox/SkListbox.vue.d.ts +1 -1
  27. package/dist/{src/components → components}/Listbox/types.d.ts +1 -1
  28. package/dist/{src/components → components}/Modal/SkModal.vue.d.ts +1 -1
  29. package/dist/{src/components → components}/Modal/types.d.ts +1 -1
  30. package/dist/{src/components → components}/NavBar/SkNavBar.vue.d.ts +10 -2
  31. package/dist/{src/components → components}/NavBar/context.d.ts +2 -0
  32. package/dist/components/NavBar/types.d.ts +10 -0
  33. package/dist/{src/components → components}/NumberInput/SkNumberInput.vue.d.ts +1 -1
  34. package/dist/{src/components → components}/NumberInput/types.d.ts +1 -1
  35. package/dist/{src/components → components}/Page/SkPage.vue.d.ts +9 -0
  36. package/dist/{src/components → components}/Pagination/SkPagination.vue.d.ts +3 -3
  37. package/dist/{src/components → components}/Pagination/types.d.ts +1 -1
  38. package/dist/{src/components → components}/Panel/SkPanel.vue.d.ts +1 -1
  39. package/dist/{src/components → components}/Panel/types.d.ts +1 -1
  40. package/dist/{src/components → components}/Popover/SkPopover.vue.d.ts +1 -1
  41. package/dist/{src/components → components}/Progress/SkProgress.vue.d.ts +1 -1
  42. package/dist/{src/components → components}/Progress/types.d.ts +1 -1
  43. package/dist/{src/components → components}/Radio/SkRadio.vue.d.ts +1 -1
  44. package/dist/{src/components → components}/Radio/types.d.ts +1 -1
  45. package/dist/components/ScrollArea/SkScrollArea.vue.d.ts +141 -0
  46. package/dist/{src/components → components}/ScrollArea/types.d.ts +1 -1
  47. package/dist/{src/components → components}/Select/SkSelect.vue.d.ts +1 -1
  48. package/dist/{src/components → components}/Select/types.d.ts +1 -1
  49. package/dist/{src/components → components}/Sidebar/SkSidebar.vue.d.ts +1 -1
  50. package/dist/{src/components → components}/Sidebar/types.d.ts +1 -1
  51. package/dist/{src/components → components}/Slider/SkSlider.vue.d.ts +1 -1
  52. package/dist/{src/components → components}/Slider/types.d.ts +1 -1
  53. package/dist/{src/components → components}/Spinner/SkSpinner.vue.d.ts +1 -1
  54. package/dist/{src/components → components}/Spinner/types.d.ts +1 -1
  55. package/dist/{src/components → components}/Splitter/types.d.ts +1 -1
  56. package/dist/{src/components → components}/Switch/SkSwitch.vue.d.ts +1 -1
  57. package/dist/{src/components → components}/Switch/types.d.ts +1 -1
  58. package/dist/{src/components → components}/Table/SkTable.vue.d.ts +1 -1
  59. package/dist/{src/components → components}/Table/types.d.ts +1 -1
  60. package/dist/{src/components → components}/Tabs/SkTab.vue.d.ts +1 -1
  61. package/dist/{src/components → components}/Tabs/SkTabs.vue.d.ts +1 -1
  62. package/dist/{src/components → components}/Tag/SkTag.vue.d.ts +1 -1
  63. package/dist/{src/components → components}/TagsInput/SkTagsInput.vue.d.ts +1 -1
  64. package/dist/{src/components → components}/TagsInput/types.d.ts +1 -1
  65. package/dist/{src/components → components}/Textarea/SkTextarea.vue.d.ts +1 -1
  66. package/dist/{src/components → components}/Textarea/types.d.ts +1 -1
  67. package/dist/{src/components → components}/Toolbar/types.d.ts +1 -1
  68. package/dist/{src/components → components}/Tooltip/SkTooltip.vue.d.ts +1 -1
  69. package/dist/{src/components → components}/Tooltip/types.d.ts +1 -1
  70. package/dist/{src/components → components}/TreeView/types.d.ts +1 -1
  71. package/dist/composables/useCustomColors.d.ts +36 -0
  72. package/{src → dist}/global.d.ts +6 -2
  73. package/dist/sleekspace-ui.css +4253 -1251
  74. package/dist/sleekspace-ui.es.js +204 -109
  75. package/dist/sleekspace-ui.umd.js +204 -109
  76. package/dist/static/classes.d.ts +18 -0
  77. package/dist/static/components/alert.d.ts +12 -0
  78. package/dist/static/components/avatar.d.ts +9 -0
  79. package/dist/static/components/breadcrumbs.d.ts +6 -0
  80. package/dist/static/components/button.d.ts +13 -0
  81. package/dist/static/components/card.d.ts +5 -0
  82. package/dist/static/components/checkbox.d.ts +10 -0
  83. package/dist/static/components/colorPicker.d.ts +8 -0
  84. package/dist/static/components/divider.d.ts +8 -0
  85. package/dist/static/components/dropdown.d.ts +8 -0
  86. package/dist/static/components/field.d.ts +15 -0
  87. package/dist/static/components/group.d.ts +5 -0
  88. package/dist/static/components/input.d.ts +14 -0
  89. package/dist/static/components/navBar.d.ts +16 -0
  90. package/dist/static/components/numberInput.d.ts +15 -0
  91. package/dist/static/components/page.d.ts +9 -0
  92. package/dist/static/components/pagination.d.ts +5 -0
  93. package/dist/static/components/panel.d.ts +11 -0
  94. package/dist/static/components/progress.d.ts +9 -0
  95. package/dist/static/components/radio.d.ts +11 -0
  96. package/dist/static/components/select.d.ts +10 -0
  97. package/dist/static/components/sidebar.d.ts +9 -0
  98. package/dist/static/components/skeleton.d.ts +11 -0
  99. package/dist/static/components/slider.d.ts +12 -0
  100. package/dist/static/components/spinner.d.ts +12 -0
  101. package/dist/static/components/switchInput.d.ts +10 -0
  102. package/dist/static/components/table.d.ts +12 -0
  103. package/dist/static/components/tag.d.ts +8 -0
  104. package/dist/static/components/tagsInput.d.ts +7 -0
  105. package/dist/static/components/textarea.d.ts +12 -0
  106. package/dist/static/components/toolbar.d.ts +12 -0
  107. package/dist/static/components/tooltip.d.ts +7 -0
  108. package/dist/static/escape.d.ts +2 -0
  109. package/dist/static/index.cjs.js +1 -0
  110. package/dist/static/index.d.ts +68 -0
  111. package/dist/static/index.es.js +732 -0
  112. package/dist/static/render.d.ts +12 -0
  113. package/dist/static/specs.d.ts +2 -0
  114. package/dist/static/types.d.ts +43 -0
  115. package/dist/tokens.css +322 -0
  116. package/dist/types/index.d.ts +36 -0
  117. package/docs/guides/installation.md +8 -2
  118. package/docs/guides/pure-css/_meta.yaml +8 -0
  119. package/docs/guides/pure-css/class-api.md +1070 -0
  120. package/docs/guides/pure-css/custom-elements.md +574 -0
  121. package/docs/guides/pure-css/index.md +86 -0
  122. package/docs/guides/pure-css/limitations.md +152 -0
  123. package/docs/guides/pure-css/static-helpers.md +1203 -0
  124. package/llms-full.txt +3736 -261
  125. package/package.json +16 -5
  126. package/src/components/Card/SkCard.vue +1 -0
  127. package/src/components/ContextMenu/SkContextMenuRadioGroup.vue +4 -1
  128. package/src/components/Dropdown/SkDropdown.vue +20 -3
  129. package/src/components/Dropdown/SkDropdownRadioGroup.vue +4 -1
  130. package/src/components/Dropdown/types.ts +2 -1
  131. package/src/components/NavBar/SkNavBar.vue +14 -4
  132. package/src/components/NavBar/context.ts +4 -2
  133. package/src/components/NavBar/types.ts +6 -1
  134. package/src/components/Page/SkPage.vue +11 -0
  135. package/src/components/Panel/SkPanel.vue +2 -1
  136. package/src/components/ScrollArea/SkScrollArea.vue +78 -5
  137. package/src/components/TreeView/SkTreeView.vue +7 -2
  138. package/src/composables/useCustomColors.ts +86 -77
  139. package/src/composables/usePortalContext.test.ts +0 -2
  140. package/src/shims.d.ts +10 -0
  141. package/src/static/__tests__/parity.test.ts +717 -0
  142. package/src/static/__tests__/parityHarness.test.ts +98 -0
  143. package/src/static/__tests__/parityHarness.ts +260 -0
  144. package/src/static/classes.test.ts +82 -0
  145. package/src/static/classes.ts +111 -0
  146. package/src/static/components/__tests__/helpers.test.ts +837 -0
  147. package/src/static/components/alert.ts +117 -0
  148. package/src/static/components/avatar.ts +86 -0
  149. package/src/static/components/breadcrumbs.ts +28 -0
  150. package/src/static/components/button.ts +75 -0
  151. package/src/static/components/card.ts +27 -0
  152. package/src/static/components/checkbox.ts +48 -0
  153. package/src/static/components/colorPicker.ts +45 -0
  154. package/src/static/components/divider.ts +39 -0
  155. package/src/static/components/dropdown.ts +36 -0
  156. package/src/static/components/field.ts +86 -0
  157. package/src/static/components/group.ts +27 -0
  158. package/src/static/components/input.ts +55 -0
  159. package/src/static/components/navBar.ts +94 -0
  160. package/src/static/components/numberInput.ts +64 -0
  161. package/src/static/components/page.ts +31 -0
  162. package/src/static/components/pagination.ts +27 -0
  163. package/src/static/components/panel.ts +33 -0
  164. package/src/static/components/progress.ts +31 -0
  165. package/src/static/components/radio.ts +53 -0
  166. package/src/static/components/select.ts +51 -0
  167. package/src/static/components/sidebar.ts +85 -0
  168. package/src/static/components/skeleton.ts +66 -0
  169. package/src/static/components/slider.ts +50 -0
  170. package/src/static/components/spinner.ts +94 -0
  171. package/src/static/components/switchInput.ts +49 -0
  172. package/src/static/components/table.ts +88 -0
  173. package/src/static/components/tag.ts +76 -0
  174. package/src/static/components/tagsInput.ts +35 -0
  175. package/src/static/components/textarea.ts +53 -0
  176. package/src/static/components/toolbar.ts +74 -0
  177. package/src/static/components/tooltip.ts +29 -0
  178. package/src/static/escape.test.ts +53 -0
  179. package/src/static/escape.ts +28 -0
  180. package/src/static/generated/defaults.ts +378 -0
  181. package/src/static/generated/propTypes.ts +425 -0
  182. package/src/static/index.ts +116 -0
  183. package/src/static/render.test.ts +83 -0
  184. package/src/static/render.ts +76 -0
  185. package/src/static/specs.test.ts +58 -0
  186. package/src/static/specs.ts +230 -0
  187. package/src/static/types.ts +176 -0
  188. package/src/styles/__tests__/testHelpers.ts +97 -0
  189. package/src/styles/base/_custom-elements.scss +51 -0
  190. package/src/styles/base/_index.scss +4 -0
  191. package/src/styles/components/__tests__/componentSelectors.test.ts +2575 -0
  192. package/src/styles/components/_alert.scss +82 -39
  193. package/src/styles/components/_avatar.scss +102 -47
  194. package/src/styles/components/_breadcrumbs.scss +39 -37
  195. package/src/styles/components/_button.scss +58 -5
  196. package/src/styles/components/_card.scss +64 -2
  197. package/src/styles/components/_checkbox.scss +35 -5
  198. package/src/styles/components/_color-picker.scss +48 -13
  199. package/src/styles/components/_divider.scss +86 -52
  200. package/src/styles/components/_dropdown.scss +214 -0
  201. package/src/styles/components/_field.scss +76 -23
  202. package/src/styles/components/_group.scss +190 -79
  203. package/src/styles/components/_index.scss +1 -0
  204. package/src/styles/components/_input.scss +81 -5
  205. package/src/styles/components/_menu.scss +1 -1
  206. package/src/styles/components/_navbar.scss +76 -45
  207. package/src/styles/components/_number-input.scss +88 -83
  208. package/src/styles/components/_page.scss +82 -23
  209. package/src/styles/components/_pagination.scss +240 -212
  210. package/src/styles/components/_panel.scss +268 -122
  211. package/src/styles/components/_progress.scss +120 -70
  212. package/src/styles/components/_radio.scss +35 -5
  213. package/src/styles/components/_scroll-area.scss +50 -22
  214. package/src/styles/components/_select.scss +40 -9
  215. package/src/styles/components/_sidebar.scss +59 -34
  216. package/src/styles/components/_skeleton.scss +111 -65
  217. package/src/styles/components/_slider.scss +34 -10
  218. package/src/styles/components/_spinner.scss +107 -56
  219. package/src/styles/components/_switch.scss +36 -5
  220. package/src/styles/components/_table.scss +150 -166
  221. package/src/styles/components/_tag.scss +244 -154
  222. package/src/styles/components/_tags-input.scss +46 -12
  223. package/src/styles/components/_textarea.scss +36 -5
  224. package/src/styles/components/_toolbar.scss +85 -31
  225. package/src/styles/components/_tooltip.scss +172 -3
  226. package/src/styles/mixins/_cut-border.scss +18 -4
  227. package/src/styles/mixins/_dual-selector.scss +192 -0
  228. package/src/styles/mixins/_index.scss +1 -0
  229. package/src/styles/mixins/dualSelector.test.ts +151 -0
  230. package/src/styles/themes/_colorful.scss +25 -0
  231. package/src/styles/themes/_greyscale.scss +25 -0
  232. package/src/styles/themes/_shade-scale.scss +39 -0
  233. package/src/styles/tokens/_semantic-color-kinds.scss +66 -0
  234. package/src/{types.ts → types/index.ts} +19 -11
  235. package/web-types.json +970 -137
  236. package/dist/src/components/Card/types.d.ts +0 -2
  237. package/dist/src/components/Collapsible/types.d.ts +0 -2
  238. package/dist/src/components/ContextMenu/types.d.ts +0 -2
  239. package/dist/src/components/NavBar/types.d.ts +0 -6
  240. package/dist/src/components/ScrollArea/SkScrollArea.vue.d.ts +0 -40
  241. package/dist/src/composables/useCustomColors.d.ts +0 -74
  242. package/dist/src/composables/useCustomColors.test.d.ts +0 -1
  243. package/dist/src/composables/useFocusTrap.test.d.ts +0 -1
  244. package/dist/src/composables/usePortalContext.test.d.ts +0 -1
  245. package/dist/src/styles/mixins/fluidSize.test.d.ts +0 -1
  246. package/dist/src/types.d.ts +0 -29
  247. /package/dist/{src/components → components}/Accordion/SkAccordionItem.vue.d.ts +0 -0
  248. /package/dist/{src/components → components}/Accordion/index.d.ts +0 -0
  249. /package/dist/{src/components → components}/Avatar/index.d.ts +0 -0
  250. /package/dist/{src/components → components}/Breadcrumbs/SkBreadcrumbItem.vue.d.ts +0 -0
  251. /package/dist/{src/components → components}/Breadcrumbs/SkBreadcrumbSeparator.vue.d.ts +0 -0
  252. /package/dist/{src/components → components}/Breadcrumbs/index.d.ts +0 -0
  253. /package/dist/{src/components → components}/Checkbox/index.d.ts +0 -0
  254. /package/dist/{src/components → components}/Collapsible/index.d.ts +0 -0
  255. /package/dist/{src/components → components}/ColorPicker/index.d.ts +0 -0
  256. /package/dist/{src/components → components}/ContextMenu/SkContextMenuCheckboxItem.vue.d.ts +0 -0
  257. /package/dist/{src/components → components}/ContextMenu/SkContextMenuItem.vue.d.ts +0 -0
  258. /package/dist/{src/components → components}/ContextMenu/SkContextMenuLabel.vue.d.ts +0 -0
  259. /package/dist/{src/components → components}/ContextMenu/SkContextMenuRadioGroup.vue.d.ts +0 -0
  260. /package/dist/{src/components → components}/ContextMenu/SkContextMenuRadioItem.vue.d.ts +0 -0
  261. /package/dist/{src/components → components}/ContextMenu/SkContextMenuSeparator.vue.d.ts +0 -0
  262. /package/dist/{src/components → components}/ContextMenu/SkContextMenuSubmenu.vue.d.ts +0 -0
  263. /package/dist/{src/components → components}/ContextMenu/index.d.ts +0 -0
  264. /package/dist/{src/components → components}/Divider/types.d.ts +0 -0
  265. /package/dist/{src/components → components}/Dropdown/SkDropdownCheckboxItem.vue.d.ts +0 -0
  266. /package/dist/{src/components → components}/Dropdown/SkDropdownMenuItem.vue.d.ts +0 -0
  267. /package/dist/{src/components → components}/Dropdown/SkDropdownMenuLabel.vue.d.ts +0 -0
  268. /package/dist/{src/components → components}/Dropdown/SkDropdownMenuSeparator.vue.d.ts +0 -0
  269. /package/dist/{src/components → components}/Dropdown/SkDropdownRadioGroup.vue.d.ts +0 -0
  270. /package/dist/{src/components → components}/Dropdown/SkDropdownRadioItem.vue.d.ts +0 -0
  271. /package/dist/{src/components → components}/Dropdown/SkDropdownSubmenu.vue.d.ts +0 -0
  272. /package/dist/{src/components → components}/Dropdown/index.d.ts +0 -0
  273. /package/dist/{src/components → components}/Field/SkField.vue.d.ts +0 -0
  274. /package/dist/{src/components → components}/Field/index.d.ts +0 -0
  275. /package/dist/{src/components → components}/Field/types.d.ts +0 -0
  276. /package/dist/{src/components → components}/Group/SkGroup.vue.d.ts +0 -0
  277. /package/dist/{src/components → components}/Group/types.d.ts +0 -0
  278. /package/dist/{src/components → components}/Input/index.d.ts +0 -0
  279. /package/dist/{src/components → components}/Listbox/SkListboxItem.vue.d.ts +0 -0
  280. /package/dist/{src/components → components}/Listbox/SkListboxSeparator.vue.d.ts +0 -0
  281. /package/dist/{src/components → components}/Listbox/index.d.ts +0 -0
  282. /package/dist/{src/components → components}/Modal/index.d.ts +0 -0
  283. /package/dist/{src/components → components}/NavBar/index.d.ts +0 -0
  284. /package/dist/{src/components → components}/NumberInput/index.d.ts +0 -0
  285. /package/dist/{src/components → components}/Page/SkPageSidebarToggle.vue.d.ts +0 -0
  286. /package/dist/{src/components → components}/Page/index.d.ts +0 -0
  287. /package/dist/{src/components → components}/Page/types.d.ts +0 -0
  288. /package/dist/{src/components → components}/Pagination/SkPaginationItem.vue.d.ts +0 -0
  289. /package/dist/{src/components → components}/Pagination/index.d.ts +0 -0
  290. /package/dist/{src/components → components}/Popover/index.d.ts +0 -0
  291. /package/dist/{src/components → components}/Popover/types.d.ts +0 -0
  292. /package/dist/{src/components → components}/Progress/index.d.ts +0 -0
  293. /package/dist/{src/components → components}/Radio/SkRadioGroup.vue.d.ts +0 -0
  294. /package/dist/{src/components → components}/Radio/index.d.ts +0 -0
  295. /package/dist/{src/components → components}/ScrollArea/index.d.ts +0 -0
  296. /package/dist/{src/components → components}/Select/SkSelectItem.vue.d.ts +0 -0
  297. /package/dist/{src/components → components}/Select/SkSelectSeparator.vue.d.ts +0 -0
  298. /package/dist/{src/components → components}/Select/index.d.ts +0 -0
  299. /package/dist/{src/components → components}/Sidebar/SkSidebarItem.vue.d.ts +0 -0
  300. /package/dist/{src/components → components}/Sidebar/SkSidebarSection.vue.d.ts +0 -0
  301. /package/dist/{src/components → components}/Skeleton/SkSkeleton.vue.d.ts +0 -0
  302. /package/dist/{src/components → components}/Skeleton/index.d.ts +0 -0
  303. /package/dist/{src/components → components}/Skeleton/types.d.ts +0 -0
  304. /package/dist/{src/components → components}/Slider/index.d.ts +0 -0
  305. /package/dist/{src/components → components}/Spinner/index.d.ts +0 -0
  306. /package/dist/{src/components → components}/Splitter/SkSplitter.vue.d.ts +0 -0
  307. /package/dist/{src/components → components}/Splitter/SkSplitterHandle.vue.d.ts +0 -0
  308. /package/dist/{src/components → components}/Splitter/SkSplitterPanel.vue.d.ts +0 -0
  309. /package/dist/{src/components → components}/Splitter/index.d.ts +0 -0
  310. /package/dist/{src/components → components}/Switch/index.d.ts +0 -0
  311. /package/dist/{src/components → components}/Table/index.d.ts +0 -0
  312. /package/dist/{src/components → components}/Tabs/SkTabList.vue.d.ts +0 -0
  313. /package/dist/{src/components → components}/Tabs/SkTabPanel.vue.d.ts +0 -0
  314. /package/dist/{src/components → components}/Tabs/SkTabPanels.vue.d.ts +0 -0
  315. /package/dist/{src/components → components}/Tabs/types.d.ts +0 -0
  316. /package/dist/{src/components → components}/Tag/types.d.ts +0 -0
  317. /package/dist/{src/components → components}/TagsInput/index.d.ts +0 -0
  318. /package/dist/{src/components → components}/Textarea/index.d.ts +0 -0
  319. /package/dist/{src/components → components}/Theme/SkTheme.vue.d.ts +0 -0
  320. /package/dist/{src/components → components}/Theme/types.d.ts +0 -0
  321. /package/dist/{src/components → components}/Theme/useTheme.d.ts +0 -0
  322. /package/dist/{src/components → components}/Toast/SkToast.vue.d.ts +0 -0
  323. /package/dist/{src/components → components}/Toast/SkToastProvider.vue.d.ts +0 -0
  324. /package/dist/{src/components → components}/Toast/index.d.ts +0 -0
  325. /package/dist/{src/components → components}/Toast/types.d.ts +0 -0
  326. /package/dist/{src/components → components}/Toast/useToast.d.ts +0 -0
  327. /package/dist/{src/components → components}/Toolbar/SkToolbar.vue.d.ts +0 -0
  328. /package/dist/{src/components → components}/Toolbar/SkToolbarButton.vue.d.ts +0 -0
  329. /package/dist/{src/components → components}/Toolbar/SkToolbarSeparator.vue.d.ts +0 -0
  330. /package/dist/{src/components → components}/Toolbar/SkToolbarToggleGroup.vue.d.ts +0 -0
  331. /package/dist/{src/components → components}/Toolbar/SkToolbarToggleItem.vue.d.ts +0 -0
  332. /package/dist/{src/components → components}/Toolbar/index.d.ts +0 -0
  333. /package/dist/{src/components → components}/Tooltip/SkTooltipProvider.vue.d.ts +0 -0
  334. /package/dist/{src/components → components}/Tooltip/index.d.ts +0 -0
  335. /package/dist/{src/components → components}/TreeView/SkTreeItem.vue.d.ts +0 -0
  336. /package/dist/{src/components → components}/TreeView/SkTreeView.vue.d.ts +0 -0
  337. /package/dist/{src/components → components}/TreeView/index.d.ts +0 -0
  338. /package/dist/{src/composables → composables}/useFocusTrap.d.ts +0 -0
  339. /package/dist/{src/composables → composables}/usePageDrawer.d.ts +0 -0
  340. /package/dist/{src/composables → composables}/usePortalContext.d.ts +0 -0
  341. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
@@ -21985,88 +21985,86 @@ Defaulting to \`null\`.`);
21985
21985
  //#endregion
21986
21986
  //#region src/composables/useCustomColors.ts
21987
21987
  /**
21988
+ * Kind names that the color props accept as shortcuts. Typing `baseColor="neon-pink"` resolves
21989
+ * to `var(--sk-neon-pink-base)`; typing `borderColor="primary"` resolves to `var(--sk-primary-base)`.
21990
+ * Any string not in this set is passed through verbatim as a CSS color value.
21991
+ */
21992
+ var KIND_NAMES = new Set([
21993
+ "neutral",
21994
+ "primary",
21995
+ "accent",
21996
+ "info",
21997
+ "success",
21998
+ "warning",
21999
+ "danger",
22000
+ "boulder",
22001
+ "neon-blue",
22002
+ "light-blue",
22003
+ "neon-orange",
22004
+ "neon-purple",
22005
+ "neon-green",
22006
+ "neon-mint",
22007
+ "neon-pink",
22008
+ "yellow",
22009
+ "red"
22010
+ ]);
22011
+ function resolveColor(value, part) {
22012
+ if (!value) return;
22013
+ const trimmed = value.trim();
22014
+ if (KIND_NAMES.has(trimmed)) return `var(--sk-${trimmed}-${part})`;
22015
+ return value;
22016
+ }
22017
+ function unwrap(input) {
22018
+ return typeof input === "string" ? input : input?.value;
22019
+ }
22020
+ /**
21988
22021
  * Composable for handling custom color props in components.
21989
22022
  *
21990
- * This composable provides a consistent way to apply custom colors to components by generating
21991
- * CSS variables that override the component's default color tokens. It supports any CSS color
21992
- * format including hex, rgb, hsl, oklch, named colors, and CSS variables.
22023
+ * Generates CSS custom properties that override a component's default color tokens. Props accept
22024
+ * either a kind name (e.g. `"neon-pink"`, `"primary"`), which resolves to the matching
22025
+ * `--sk-<kind>-base/-text` token, or any raw CSS color value (hex, rgb, oklch, named, or
22026
+ * `var(...)`), which is passed through unchanged. This lets consumers use SleekSpace's palette
22027
+ * by name without having to remember the token syntax.
21993
22028
  *
21994
22029
  * Works with any component that follows the CSS variable naming convention:
21995
22030
  * - `--sk-{componentName}-color-base` for the base/background color
21996
22031
  * - `--sk-{componentName}-fg` for the foreground/text color
22032
+ * - `--sk-{componentName}-border-base` / `--sk-{componentName}-border-color` for the border (optional)
21997
22033
  *
21998
- * @param componentName - The component name used in CSS variable naming
21999
- * (e.g., 'button', 'panel', 'my-custom-component')
22000
- * @param baseColor - The base/background color (any CSS color value, including CSS variables)
22001
- * @param textColor - Optional foreground/text color. If not provided, falls back to `--sk-neutral-text`
22034
+ * @param componentName - The component name used in CSS variable naming (e.g., 'button', 'panel')
22035
+ * @param baseColor - Kind name or CSS color value for the base/background color
22036
+ * @param textColor - Kind name or CSS color value for the foreground/text color. Falls back to
22037
+ * `--sk-neutral-text` when only `baseColor` is provided.
22038
+ * @param borderColor - Optional kind name or CSS color value for the border. When provided,
22039
+ * both `--sk-<component>-border-base` and `--sk-<component>-border-color`
22040
+ * are emitted so the border takes precedence over any kind's default.
22002
22041
  *
22003
22042
  * @returns Computed style object with CSS variables ready to bind to a component's style attribute
22004
22043
  *
22005
- * @example Basic usage with base color only
22044
+ * @example Kind name shortcut
22006
22045
  * ```vue
22007
- * <script setup>
22008
- * import { useCustomColors } from '@/composables/useCustomColors';
22009
- *
22010
- * const props = defineProps<{ baseColor?: string }>();
22011
- * const customColors = useCustomColors('button', toRef(() => props.baseColor), undefined);
22012
- * <\/script>
22013
- *
22014
- * <template>
22015
- * <button :style="customColors">Click me</button>
22016
- * </template>
22046
+ * <SkPanel base-color="neon-pink" text-color="primary" border-color="neon-purple">...</SkPanel>
22017
22047
  * ```
22018
22048
  *
22019
- * @example With both base and text colors
22049
+ * @example Raw CSS values
22020
22050
  * ```vue
22021
- * <SkButton base-color="oklch(0.7 0.25 300)" text-color="white">
22022
- * Custom Purple Button
22023
- * </SkButton>
22051
+ * <SkButton base-color="oklch(0.7 0.25 300)" text-color="white">Click me</SkButton>
22024
22052
  * ```
22025
- *
22026
- * @example Using CSS variables
22027
- * ```vue
22028
- * <SkPanel base-color="var(--my-custom-color)" text-color="var(--my-text-color)">
22029
- * Content
22030
- * </SkPanel>
22031
- * ```
22032
- *
22033
- * @example Custom component
22034
- * ```vue
22035
- * <script setup>
22036
- * import { useCustomColors } from '@/composables/useCustomColors';
22037
- *
22038
- * const props = defineProps<{ baseColor?: string; textColor?: string }>();
22039
- * const customColors = useCustomColors('my-widget', toRef(() => props.baseColor), toRef(() => props.textColor));
22040
- * <\/script>
22041
- *
22042
- * <template>
22043
- * <div class="my-widget" :style="customColors">
22044
- * <!-- Will generate: --sk-my-widget-color-base and --sk-my-widget-fg -->
22045
- * </div>
22046
- * </template>
22047
- * ```
22048
- *
22049
- * Generated CSS variables:
22050
- * - `--sk-{componentName}-color-base` - The base color for backgrounds and accents
22051
- * - `--sk-{componentName}-fg` - The foreground/text color
22052
- *
22053
- * @remarks
22054
- * - If `textColor` is not provided, components will use `--sk-neutral-text` from the active theme
22055
- * - For best contrast, always provide `textColor` when using custom `baseColor`
22056
- * - The generated CSS variables integrate with the component's existing token system
22057
- * - Works with any component name - no need to register components beforehand
22058
22053
  */
22059
- function useCustomColors(componentName, baseColor, textColor) {
22054
+ function useCustomColors(componentName, baseColor, textColor, borderColor) {
22060
22055
  return (0, vue.computed)(() => {
22061
22056
  const styles = {};
22062
- const baseColorValue = typeof baseColor === "string" ? baseColor : baseColor?.value;
22063
- const textColorValue = typeof textColor === "string" ? textColor : textColor?.value;
22064
- if (!baseColorValue) return styles;
22065
- const baseVarName = `--sk-${componentName}-color-base`;
22066
- styles[baseVarName] = baseColorValue;
22067
- const fgVarName = `--sk-${componentName}-fg`;
22068
- if (textColorValue) styles[fgVarName] = textColorValue;
22069
- else styles[fgVarName] = "var(--sk-neutral-text)";
22057
+ const baseResolved = resolveColor(unwrap(baseColor), "base");
22058
+ const textResolved = resolveColor(unwrap(textColor), "text");
22059
+ const borderResolved = resolveColor(unwrap(borderColor), "base");
22060
+ if (baseResolved) {
22061
+ styles[`--sk-${componentName}-color-base`] = baseResolved;
22062
+ styles[`--sk-${componentName}-fg`] = textResolved ?? "var(--sk-neutral-text)";
22063
+ } else if (textResolved) styles[`--sk-${componentName}-fg`] = textResolved;
22064
+ if (borderResolved) {
22065
+ styles[`--sk-${componentName}-border-base`] = borderResolved;
22066
+ styles[`--sk-${componentName}-border-color`] = borderResolved;
22067
+ }
22070
22068
  return styles;
22071
22069
  });
22072
22070
  }
@@ -22087,7 +22085,8 @@ Defaulting to \`null\`.`);
22087
22085
  default: false
22088
22086
  },
22089
22087
  baseColor: {},
22090
- textColor: {}
22088
+ textColor: {},
22089
+ borderColor: {}
22091
22090
  },
22092
22091
  emits: ["update:modelValue"],
22093
22092
  setup(__props, { emit: __emit }) {
@@ -22294,7 +22293,8 @@ Defaulting to \`null\`.`);
22294
22293
  default: void 0
22295
22294
  },
22296
22295
  baseColor: {},
22297
- textColor: {}
22296
+ textColor: {},
22297
+ borderColor: {}
22298
22298
  },
22299
22299
  setup(__props) {
22300
22300
  /**
@@ -22859,7 +22859,8 @@ Defaulting to \`null\`.`);
22859
22859
  kind: { default: "neutral" },
22860
22860
  separator: { default: "/" },
22861
22861
  baseColor: { default: void 0 },
22862
- textColor: { default: void 0 }
22862
+ textColor: { default: void 0 },
22863
+ borderColor: {}
22863
22864
  },
22864
22865
  setup(__props) {
22865
22866
  /**
@@ -22957,7 +22958,8 @@ Defaulting to \`null\`.`);
22957
22958
  href: { default: void 0 },
22958
22959
  to: { default: void 0 },
22959
22960
  baseColor: {},
22960
- textColor: {}
22961
+ textColor: {},
22962
+ borderColor: {}
22961
22963
  },
22962
22964
  setup(__props) {
22963
22965
  /**
@@ -23052,10 +23054,11 @@ Defaulting to \`null\`.`);
23052
23054
  corners: { default: () => ["bottom-right"] },
23053
23055
  decorationCorner: { default: "bottom-right" },
23054
23056
  baseColor: {},
23055
- textColor: {}
23057
+ textColor: {},
23058
+ borderColor: {}
23056
23059
  },
23057
23060
  setup(__props) {
23058
- (0, vue.useCssVars)((_ctx) => ({ "v42b18398": decorationDisplay.value }));
23061
+ (0, vue.useCssVars)((_ctx) => ({ "a6c4a7d4": decorationDisplay.value }));
23059
23062
  /**
23060
23063
  * @component SkPanel
23061
23064
  * @description A foundational container component with beveled corners, borders, background colors, and an optional
@@ -23085,7 +23088,7 @@ Defaulting to \`null\`.`);
23085
23088
  [`sk-decoration-${props.decorationCorner}`]: true
23086
23089
  };
23087
23090
  });
23088
- const customColorStyles = useCustomColors("panel", (0, vue.toRef)(() => props.baseColor), (0, vue.toRef)(() => props.textColor));
23091
+ const customColorStyles = useCustomColors("panel", (0, vue.toRef)(() => props.baseColor), (0, vue.toRef)(() => props.textColor), (0, vue.toRef)(() => props.borderColor));
23089
23092
  const decorationDisplay = (0, vue.computed)(() => {
23090
23093
  if (props.noBorder || !props.showDecoration) return "none";
23091
23094
  if (!props.corners.includes(props.decorationCorner)) return "none";
@@ -23098,7 +23101,7 @@ Defaulting to \`null\`.`);
23098
23101
  }, [(0, vue.renderSlot)(_ctx.$slots, "default", {}, void 0, true)], 6);
23099
23102
  };
23100
23103
  }
23101
- }), [["__scopeId", "data-v-07c1642c"]]);
23104
+ }), [["__scopeId", "data-v-3d4b2da6"]]);
23102
23105
  //#endregion
23103
23106
  //#region src/components/Card/SkCard.vue?vue&type=script&setup=true&lang.ts
23104
23107
  var _hoisted_1$33 = {
@@ -23141,7 +23144,8 @@ Defaulting to \`null\`.`);
23141
23144
  corners: { default: () => ["bottom-right"] },
23142
23145
  decorationCorner: { default: "bottom-right" },
23143
23146
  baseColor: {},
23144
- textColor: {}
23147
+ textColor: {},
23148
+ borderColor: {}
23145
23149
  },
23146
23150
  setup(__props) {
23147
23151
  /**
@@ -23200,6 +23204,7 @@ Defaulting to \`null\`.`);
23200
23204
  "no-border": __props.noBorder,
23201
23205
  "base-color": __props.baseColor,
23202
23206
  "text-color": __props.textColor,
23207
+ "border-color": __props.borderColor,
23203
23208
  corners: __props.corners,
23204
23209
  "decoration-corner": __props.decorationCorner,
23205
23210
  class: (0, vue.normalizeClass)(classes.value)
@@ -23225,6 +23230,7 @@ Defaulting to \`null\`.`);
23225
23230
  "no-border",
23226
23231
  "base-color",
23227
23232
  "text-color",
23233
+ "border-color",
23228
23234
  "corners",
23229
23235
  "decoration-corner",
23230
23236
  "class"
@@ -23277,7 +23283,8 @@ Defaulting to \`null\`.`);
23277
23283
  name: { default: void 0 },
23278
23284
  label: { default: void 0 },
23279
23285
  baseColor: {},
23280
- textColor: {}
23286
+ textColor: {},
23287
+ borderColor: {}
23281
23288
  }, {
23282
23289
  "modelValue": {
23283
23290
  type: [Boolean, String],
@@ -23373,7 +23380,8 @@ Defaulting to \`null\`.`);
23373
23380
  kind: { default: "neutral" },
23374
23381
  triggerText: { default: "Toggle" },
23375
23382
  baseColor: {},
23376
- textColor: {}
23383
+ textColor: {},
23384
+ borderColor: {}
23377
23385
  },
23378
23386
  emits: ["update:open"],
23379
23387
  setup(__props, { emit: __emit }) {
@@ -26566,7 +26574,8 @@ Defaulting to \`null\`.`);
26566
26574
  placeholder: { default: "Pick a color" },
26567
26575
  defaultValue: { default: "#B63DDAFF" },
26568
26576
  baseColor: {},
26569
- textColor: {}
26577
+ textColor: {},
26578
+ borderColor: {}
26570
26579
  }, {
26571
26580
  "modelValue": {},
26572
26581
  "modelModifiers": {}
@@ -26690,7 +26699,8 @@ Defaulting to \`null\`.`);
26690
26699
  props: {
26691
26700
  kind: { default: "neutral" },
26692
26701
  baseColor: {},
26693
- textColor: {}
26702
+ textColor: {},
26703
+ borderColor: {}
26694
26704
  },
26695
26705
  setup(__props) {
26696
26706
  const props = __props;
@@ -26987,6 +26997,10 @@ Defaulting to \`null\`.`);
26987
26997
  }
26988
26998
  });
26989
26999
  //#endregion
27000
+ //#region src/components/NavBar/context.ts
27001
+ var NAVBAR_KIND_KEY = Symbol("sk-navbar-kind");
27002
+ var NAVBAR_SIZE_KEY = Symbol("sk-navbar-size");
27003
+ //#endregion
26990
27004
  //#region src/components/Dropdown/SkDropdown.vue?vue&type=script&setup=true&lang.ts
26991
27005
  var _hoisted_1$27 = {
26992
27006
  xmlns: "http://www.w3.org/2000/svg",
@@ -27012,8 +27026,10 @@ Defaulting to \`null\`.`);
27012
27026
  side: { default: "bottom" },
27013
27027
  align: { default: "start" },
27014
27028
  sideOffset: { default: 4 },
27029
+ size: { default: void 0 },
27015
27030
  baseColor: {},
27016
- textColor: {}
27031
+ textColor: {},
27032
+ borderColor: {}
27017
27033
  },
27018
27034
  setup(__props) {
27019
27035
  /**
@@ -27040,6 +27056,8 @@ Defaulting to \`null\`.`);
27040
27056
  */
27041
27057
  const props = __props;
27042
27058
  const { theme } = usePortalContext();
27059
+ const navbarSize = (0, vue.inject)(NAVBAR_SIZE_KEY, void 0);
27060
+ const effectiveSize = (0, vue.computed)(() => props.size ?? navbarSize?.value ?? "md");
27043
27061
  (0, vue.provide)("dropdown-kind", (0, vue.computed)(() => props.kind));
27044
27062
  const caretPoints = (0, vue.computed)(() => {
27045
27063
  switch (props.side) {
@@ -27057,11 +27075,14 @@ Defaulting to \`null\`.`);
27057
27075
  return (_ctx, _cache) => {
27058
27076
  return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(DropdownMenuRoot_default), null, {
27059
27077
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(DropdownMenuTrigger_default), { "as-child": "" }, {
27060
- default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "trigger", {}, () => [(0, vue.createVNode)(SkButton_default, { kind: __props.kind }, {
27078
+ default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "trigger", {}, () => [(0, vue.createVNode)(SkButton_default, {
27079
+ kind: __props.kind,
27080
+ size: effectiveSize.value
27081
+ }, {
27061
27082
  trailing: (0, vue.withCtx)(() => [((0, vue.openBlock)(), (0, vue.createElementBlock)("svg", _hoisted_1$27, [(0, vue.createElementVNode)("polyline", { points: caretPoints.value }, null, 8, _hoisted_2$14)]))]),
27062
27083
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.triggerText) + " ", 1)]),
27063
27084
  _: 1
27064
- }, 8, ["kind"])], true)]),
27085
+ }, 8, ["kind", "size"])], true)]),
27065
27086
  _: 3
27066
27087
  }), (0, vue.createVNode)((0, vue.unref)(DropdownMenuPortal_default), null, {
27067
27088
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(DropdownMenuContent_default), {
@@ -27088,7 +27109,7 @@ Defaulting to \`null\`.`);
27088
27109
  });
27089
27110
  };
27090
27111
  }
27091
- }), [["__scopeId", "data-v-86d554dd"]]);
27112
+ }), [["__scopeId", "data-v-88c7a661"]]);
27092
27113
  //#endregion
27093
27114
  //#region src/components/Dropdown/SkDropdownCheckboxItem.vue?vue&type=script&setup=true&lang.ts
27094
27115
  var _hoisted_1$26 = {
@@ -27526,7 +27547,8 @@ Defaulting to \`null\`.`);
27526
27547
  name: { default: void 0 },
27527
27548
  autocomplete: { default: void 0 },
27528
27549
  baseColor: {},
27529
- textColor: {}
27550
+ textColor: {},
27551
+ borderColor: {}
27530
27552
  }, {
27531
27553
  "modelValue": { default: "" },
27532
27554
  "modelModifiers": {}
@@ -27608,7 +27630,8 @@ Defaulting to \`null\`.`);
27608
27630
  default: false
27609
27631
  },
27610
27632
  baseColor: {},
27611
- textColor: {}
27633
+ textColor: {},
27634
+ borderColor: {}
27612
27635
  }, {
27613
27636
  "modelValue": {},
27614
27637
  "modelModifiers": {}
@@ -27839,7 +27862,8 @@ Defaulting to \`null\`.`);
27839
27862
  default: false
27840
27863
  },
27841
27864
  baseColor: {},
27842
- textColor: {}
27865
+ textColor: {},
27866
+ borderColor: {}
27843
27867
  },
27844
27868
  emits: ["update:open"],
27845
27869
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -27976,9 +28000,6 @@ Defaulting to \`null\`.`);
27976
28000
  }
27977
28001
  }), [["__scopeId", "data-v-d5c13c78"]]);
27978
28002
  //#endregion
27979
- //#region src/components/NavBar/context.ts
27980
- var NAVBAR_KIND_KEY = Symbol("sk-navbar-kind");
27981
- //#endregion
27982
28003
  //#region src/components/NavBar/SkNavBar.vue?vue&type=script&setup=true&lang.ts
27983
28004
  var _hoisted_1$20 = { class: "sk-navbar-content" };
27984
28005
  var _hoisted_2$11 = {
@@ -28007,8 +28028,10 @@ Defaulting to \`null\`.`);
28007
28028
  type: Boolean,
28008
28029
  default: true
28009
28030
  },
28031
+ size: { default: "md" },
28010
28032
  baseColor: {},
28011
- textColor: {}
28033
+ textColor: {},
28034
+ borderColor: {}
28012
28035
  },
28013
28036
  setup(__props) {
28014
28037
  /**
@@ -28043,6 +28066,7 @@ Defaulting to \`null\`.`);
28043
28066
  */
28044
28067
  const props = __props;
28045
28068
  (0, vue.provide)(NAVBAR_KIND_KEY, (0, vue.toRef)(() => props.kind));
28069
+ (0, vue.provide)(NAVBAR_SIZE_KEY, (0, vue.toRef)(() => props.size));
28046
28070
  const slots = (0, vue.useSlots)();
28047
28071
  const classes = (0, vue.computed)(() => {
28048
28072
  return {
@@ -28093,7 +28117,8 @@ Defaulting to \`null\`.`);
28093
28117
  max: { default: void 0 },
28094
28118
  step: { default: 1 },
28095
28119
  baseColor: {},
28096
- textColor: {}
28120
+ textColor: {},
28121
+ borderColor: {}
28097
28122
  }, {
28098
28123
  "modelValue": { default: 0 },
28099
28124
  "modelModifiers": {}
@@ -28494,6 +28519,10 @@ Defaulting to \`null\`.`);
28494
28519
  flush: {
28495
28520
  type: Boolean,
28496
28521
  default: false
28522
+ },
28523
+ noBounce: {
28524
+ type: Boolean,
28525
+ default: false
28497
28526
  }
28498
28527
  },
28499
28528
  emits: ["update:sidebarOpen", "update:asideOpen"],
@@ -28674,7 +28703,8 @@ Defaulting to \`null\`.`);
28674
28703
  "sk-fixed-footer": props.fixedFooter,
28675
28704
  "sk-sidebar-drawer-active": isSidebarDrawerActive.value,
28676
28705
  "sk-aside-drawer-active": isAsideDrawerActive.value,
28677
- "sk-flush": props.flush
28706
+ "sk-flush": props.flush,
28707
+ "sk-no-bounce": props.noBounce
28678
28708
  }));
28679
28709
  const customStyles = (0, vue.computed)(() => {
28680
28710
  const styles = {};
@@ -28772,7 +28802,7 @@ Defaulting to \`null\`.`);
28772
28802
  ], 14, _hoisted_1$18);
28773
28803
  };
28774
28804
  }
28775
- }), [["__scopeId", "data-v-f502bb9d"]]);
28805
+ }), [["__scopeId", "data-v-265ba522"]]);
28776
28806
  //#endregion
28777
28807
  //#region src/components/Page/SkPageSidebarToggle.vue?vue&type=script&setup=true&lang.ts
28778
28808
  var _hoisted_1$17 = {
@@ -28998,7 +29028,8 @@ Defaulting to \`null\`.`);
28998
29028
  default: false
28999
29029
  },
29000
29030
  baseColor: { default: void 0 },
29001
- textColor: { default: void 0 }
29031
+ textColor: { default: void 0 },
29032
+ borderColor: {}
29002
29033
  },
29003
29034
  emits: ["update:modelValue"],
29004
29035
  setup(__props, { emit: __emit }) {
@@ -29150,7 +29181,8 @@ Defaulting to \`null\`.`);
29150
29181
  default: void 0
29151
29182
  },
29152
29183
  baseColor: {},
29153
- textColor: {}
29184
+ textColor: {},
29185
+ borderColor: {}
29154
29186
  },
29155
29187
  emits: ["update:open"],
29156
29188
  setup(__props, { emit: __emit }) {
@@ -29394,7 +29426,8 @@ Defaulting to \`null\`.`);
29394
29426
  kind: { default: void 0 },
29395
29427
  size: { default: void 0 },
29396
29428
  baseColor: {},
29397
- textColor: {}
29429
+ textColor: {},
29430
+ borderColor: {}
29398
29431
  },
29399
29432
  setup(__props) {
29400
29433
  /**
@@ -29553,17 +29586,69 @@ Defaulting to \`null\`.`);
29553
29586
  [`sk-${props.orientation}`]: true,
29554
29587
  "sk-fade": props.fade
29555
29588
  }));
29589
+ const viewportRef = (0, vue.ref)(null);
29590
+ const fadeTop = (0, vue.ref)(0);
29591
+ const fadeBottom = (0, vue.ref)(0);
29592
+ const fadeLeft = (0, vue.ref)(0);
29593
+ const fadeRight = (0, vue.ref)(0);
29594
+ let scrollEl = null;
29595
+ let resizeObs = null;
29596
+ let rafID = null;
29597
+ function updateFades() {
29598
+ if (!scrollEl) return;
29599
+ const { scrollTop, scrollLeft, scrollHeight, scrollWidth, clientHeight, clientWidth } = scrollEl;
29600
+ const threshold = 1;
29601
+ fadeTop.value = scrollTop > threshold ? 1 : 0;
29602
+ fadeBottom.value = scrollHeight - scrollTop - clientHeight > threshold ? 1 : 0;
29603
+ fadeLeft.value = scrollLeft > threshold ? 1 : 0;
29604
+ fadeRight.value = scrollWidth - scrollLeft - clientWidth > threshold ? 1 : 0;
29605
+ }
29606
+ function scheduleUpdate() {
29607
+ if (rafID !== null) return;
29608
+ rafID = requestAnimationFrame(() => {
29609
+ rafID = null;
29610
+ updateFades();
29611
+ });
29612
+ }
29613
+ (0, vue.onMounted)(() => {
29614
+ scrollEl = viewportRef.value?.viewportElement ?? null;
29615
+ if (!scrollEl) return;
29616
+ scrollEl.addEventListener("scroll", scheduleUpdate, { passive: true });
29617
+ resizeObs = new ResizeObserver(scheduleUpdate);
29618
+ resizeObs.observe(scrollEl);
29619
+ for (const child of Array.from(scrollEl.children)) resizeObs.observe(child);
29620
+ updateFades();
29621
+ });
29622
+ (0, vue.onBeforeUnmount)(() => {
29623
+ if (scrollEl) scrollEl.removeEventListener("scroll", scheduleUpdate);
29624
+ resizeObs?.disconnect();
29625
+ if (rafID !== null) cancelAnimationFrame(rafID);
29626
+ });
29627
+ const rootStyles = (0, vue.computed)(() => {
29628
+ const styles = { ...customColorStyles.value };
29629
+ if (props.fade) {
29630
+ styles["--sk-scroll-fade-top"] = String(fadeTop.value);
29631
+ styles["--sk-scroll-fade-bottom"] = String(fadeBottom.value);
29632
+ styles["--sk-scroll-fade-left"] = String(fadeLeft.value);
29633
+ styles["--sk-scroll-fade-right"] = String(fadeRight.value);
29634
+ }
29635
+ return styles;
29636
+ });
29556
29637
  return (_ctx, _cache) => {
29557
29638
  return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ScrollAreaRoot_default), {
29558
29639
  type: __props.type,
29559
29640
  class: (0, vue.normalizeClass)(classes.value),
29560
- style: (0, vue.normalizeStyle)((0, vue.unref)(customColorStyles))
29641
+ style: (0, vue.normalizeStyle)(rootStyles.value)
29561
29642
  }, {
29562
29643
  default: (0, vue.withCtx)(() => [
29563
- (0, vue.createVNode)((0, vue.unref)(ScrollAreaViewport_default), { class: "sk-scroll-area-viewport" }, {
29644
+ (0, vue.createVNode)((0, vue.unref)(ScrollAreaViewport_default), {
29645
+ ref_key: "viewportRef",
29646
+ ref: viewportRef,
29647
+ class: "sk-scroll-area-viewport"
29648
+ }, {
29564
29649
  default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, void 0, true)]),
29565
29650
  _: 3
29566
- }),
29651
+ }, 512),
29567
29652
  __props.orientation !== "horizontal" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ScrollAreaScrollbar_default), {
29568
29653
  key: 0,
29569
29654
  class: "sk-scroll-area-scrollbar",
@@ -29593,7 +29678,7 @@ Defaulting to \`null\`.`);
29593
29678
  ]);
29594
29679
  };
29595
29680
  }
29596
- }), [["__scopeId", "data-v-03c94821"]]);
29681
+ }), [["__scopeId", "data-v-e4dbafd6"]]);
29597
29682
  //#endregion
29598
29683
  //#region src/components/Select/SkSelect.vue?vue&type=script&setup=true&lang.ts
29599
29684
  var _hoisted_1$13 = {
@@ -29623,7 +29708,8 @@ Defaulting to \`null\`.`);
29623
29708
  default: false
29624
29709
  },
29625
29710
  baseColor: {},
29626
- textColor: {}
29711
+ textColor: {},
29712
+ borderColor: {}
29627
29713
  }, {
29628
29714
  "modelValue": {},
29629
29715
  "modelModifiers": {}
@@ -29848,7 +29934,8 @@ Defaulting to \`null\`.`);
29848
29934
  default: false
29849
29935
  },
29850
29936
  baseColor: {},
29851
- textColor: {}
29937
+ textColor: {},
29938
+ borderColor: {}
29852
29939
  },
29853
29940
  setup(__props) {
29854
29941
  /**
@@ -30419,7 +30506,8 @@ Defaulting to \`null\`.`);
30419
30506
  default: false
30420
30507
  },
30421
30508
  baseColor: {},
30422
- textColor: {}
30509
+ textColor: {},
30510
+ borderColor: {}
30423
30511
  },
30424
30512
  emits: ["update:modelValue"],
30425
30513
  setup(__props) {
@@ -30532,7 +30620,8 @@ Defaulting to \`null\`.`);
30532
30620
  default: false
30533
30621
  },
30534
30622
  baseColor: {},
30535
- textColor: {}
30623
+ textColor: {},
30624
+ borderColor: {}
30536
30625
  },
30537
30626
  setup(__props) {
30538
30627
  /**
@@ -30799,7 +30888,8 @@ Defaulting to \`null\`.`);
30799
30888
  default: false
30800
30889
  },
30801
30890
  baseColor: {},
30802
- textColor: {}
30891
+ textColor: {},
30892
+ borderColor: {}
30803
30893
  },
30804
30894
  emits: ["update:modelValue"],
30805
30895
  setup(__props) {
@@ -30874,7 +30964,8 @@ Defaulting to \`null\`.`);
30874
30964
  default: false
30875
30965
  },
30876
30966
  baseColor: {},
30877
- textColor: {}
30967
+ textColor: {},
30968
+ borderColor: {}
30878
30969
  },
30879
30970
  emits: ["remove"],
30880
30971
  setup(__props, { emit: __emit }) {
@@ -30980,7 +31071,8 @@ Defaulting to \`null\`.`);
30980
31071
  tagKind: { default: void 0 },
30981
31072
  tagVariant: { default: "solid" },
30982
31073
  baseColor: {},
30983
- textColor: {}
31074
+ textColor: {},
31075
+ borderColor: {}
30984
31076
  }, {
30985
31077
  "modelValue": { default: () => [] },
30986
31078
  "modelModifiers": {}
@@ -31123,7 +31215,8 @@ Defaulting to \`null\`.`);
31123
31215
  rows: { default: 4 },
31124
31216
  autocomplete: { default: void 0 },
31125
31217
  baseColor: {},
31126
- textColor: {}
31218
+ textColor: {},
31219
+ borderColor: {}
31127
31220
  }, {
31128
31221
  "modelValue": { default: "" },
31129
31222
  "modelModifiers": {}
@@ -31680,7 +31773,8 @@ Defaulting to \`null\`.`);
31680
31773
  default: true
31681
31774
  },
31682
31775
  baseColor: {},
31683
- textColor: {}
31776
+ textColor: {},
31777
+ borderColor: {}
31684
31778
  },
31685
31779
  setup(__props) {
31686
31780
  /**
@@ -31962,6 +32056,7 @@ Defaulting to \`null\`.`);
31962
32056
  emits: ["update:modelValue"],
31963
32057
  setup(__props) {
31964
32058
  const props = __props;
32059
+ const rekaModelValue = (0, vue.computed)(() => props.modelValue);
31965
32060
  function getAllKeys(items) {
31966
32061
  const keys = [];
31967
32062
  for (const item of items) {
@@ -31984,7 +32079,7 @@ Defaulting to \`null\`.`);
31984
32079
  return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(TreeRoot_default), {
31985
32080
  items: __props.items,
31986
32081
  "get-key": __props.getKey,
31987
- "model-value": __props.modelValue,
32082
+ "model-value": rekaModelValue.value,
31988
32083
  multiple: __props.multiple,
31989
32084
  "propagate-select": __props.propagateSelect,
31990
32085
  "default-expanded": expandedKeys.value,
@@ -32006,7 +32101,7 @@ Defaulting to \`null\`.`);
32006
32101
  ]);
32007
32102
  };
32008
32103
  }
32009
- }), [["__scopeId", "data-v-717b6450"]]);
32104
+ }), [["__scopeId", "data-v-39b36ab8"]]);
32010
32105
  //#endregion
32011
32106
  //#region src/components/Theme/SkTheme.vue?vue&type=script&setup=true&lang.ts
32012
32107
  var _hoisted_1 = ["data-scheme"];
@@ -0,0 +1,18 @@
1
+ export interface ListFlagSpec {
2
+ prop: string;
3
+ family: string;
4
+ }
5
+ export interface SingleChoiceFlagSpec {
6
+ prop: string;
7
+ family: string;
8
+ }
9
+ export interface ClassSpec {
10
+ base: string;
11
+ kind?: boolean;
12
+ size?: boolean;
13
+ variant?: boolean;
14
+ booleanFlags?: readonly string[];
15
+ listFlags?: readonly ListFlagSpec[];
16
+ singleChoiceFlags?: readonly SingleChoiceFlagSpec[];
17
+ }
18
+ export declare function composeClasses(spec: ClassSpec, props: Record<string, unknown>): string;
@@ -0,0 +1,12 @@
1
+ import { AlertKind, StaticCustomColors } from '../types';
2
+ export interface AlertStaticProps extends StaticCustomColors {
3
+ kind?: AlertKind;
4
+ subtle?: boolean;
5
+ /**
6
+ * Custom icon HTML string, or `false` to suppress the icon entirely.
7
+ * When omitted (default), a kind-appropriate SVG is shown for feedback kinds
8
+ * (info, success, warning, danger); non-feedback kinds show no icon.
9
+ */
10
+ icon?: string | false;
11
+ }
12
+ export declare function alert(props?: AlertStaticProps, children?: string): string;