@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
@@ -0,0 +1,9 @@
1
+ import { AvatarSize, ComponentKind, StaticCustomColors } from '../types';
2
+ export interface AvatarStaticProps extends StaticCustomColors {
3
+ kind?: ComponentKind;
4
+ size?: AvatarSize;
5
+ src?: string;
6
+ alt?: string;
7
+ initials?: string;
8
+ }
9
+ export declare function avatar(props?: AvatarStaticProps): string;
@@ -0,0 +1,6 @@
1
+ import { BreadcrumbsKind, StaticCustomColors } from '../types';
2
+ export interface BreadcrumbsStaticProps extends StaticCustomColors {
3
+ kind?: BreadcrumbsKind;
4
+ separator?: string;
5
+ }
6
+ export declare function breadcrumbs(props?: BreadcrumbsStaticProps, children?: string): string;
@@ -0,0 +1,13 @@
1
+ import { ButtonKind, ButtonSize, ButtonType, ButtonVariant, StaticCustomColors } from '../types';
2
+ export interface ButtonStaticProps extends StaticCustomColors {
3
+ type?: ButtonType;
4
+ kind?: ButtonKind;
5
+ variant?: ButtonVariant;
6
+ size?: ButtonSize;
7
+ disabled?: boolean;
8
+ loading?: boolean;
9
+ pressed?: boolean;
10
+ dense?: boolean;
11
+ href?: string;
12
+ }
13
+ export declare function button(props?: ButtonStaticProps, children?: string): string;
@@ -0,0 +1,5 @@
1
+ import { CardKind, StaticCustomColors } from '../types';
2
+ export interface CardStaticProps extends StaticCustomColors {
3
+ kind?: CardKind;
4
+ }
5
+ export declare function card(props?: CardStaticProps, children?: string): string;
@@ -0,0 +1,10 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface CheckboxStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ checked?: boolean;
6
+ disabled?: boolean;
7
+ required?: boolean;
8
+ name?: string;
9
+ }
10
+ export declare function checkbox(props?: CheckboxStaticProps, children?: string): string;
@@ -0,0 +1,8 @@
1
+ import { ComponentSize } from '../types';
2
+ export interface ColorPickerStaticProps {
3
+ size?: ComponentSize;
4
+ value?: string;
5
+ name?: string;
6
+ disabled?: boolean;
7
+ }
8
+ export declare function colorPicker(props?: ColorPickerStaticProps): string;
@@ -0,0 +1,8 @@
1
+ import { ComponentKind, ComponentSize, DividerOrientation, DividerVariant } from '../types';
2
+ export interface DividerStaticProps {
3
+ orientation?: DividerOrientation;
4
+ kind?: ComponentKind;
5
+ variant?: DividerVariant;
6
+ size?: ComponentSize;
7
+ }
8
+ export declare function divider(props?: DividerStaticProps): string;
@@ -0,0 +1,8 @@
1
+ import { SemanticKind } from '../types';
2
+ export interface DropdownStaticProps {
3
+ summary: string;
4
+ kind?: SemanticKind;
5
+ size?: 'sm' | 'md' | 'lg';
6
+ open?: boolean;
7
+ }
8
+ export declare function dropdown(props: DropdownStaticProps, children?: string): string;
@@ -0,0 +1,15 @@
1
+ import { FieldLabelPosition } from '../types';
2
+ export interface FieldStaticProps {
3
+ label?: string;
4
+ description?: string;
5
+ error?: string;
6
+ required?: boolean;
7
+ labelPosition?: FieldLabelPosition;
8
+ /**
9
+ * Explicit field ID — forwarded to label `for` and description/error `id` attributes.
10
+ * Mirrors Vue's `id` prop. When omitted, Vue auto-generates the ID and the static helper
11
+ * skips those attributes (avoid parity tests without an explicit `id`).
12
+ */
13
+ id?: string;
14
+ }
15
+ export declare function field(props?: FieldStaticProps, children?: string): string;
@@ -0,0 +1,5 @@
1
+ import { GroupOrientation } from '../types';
2
+ export interface GroupStaticProps {
3
+ orientation?: GroupOrientation;
4
+ }
5
+ export declare function group(props?: GroupStaticProps, children?: string): string;
@@ -0,0 +1,14 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface InputStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ type?: string;
6
+ value?: string;
7
+ placeholder?: string;
8
+ name?: string;
9
+ id?: string;
10
+ disabled?: boolean;
11
+ readonly?: boolean;
12
+ required?: boolean;
13
+ }
14
+ export declare function input(props?: InputStaticProps): string;
@@ -0,0 +1,16 @@
1
+ import { NavBarKind, StaticCustomColors } from '../types';
2
+ export interface NavBarStaticProps extends StaticCustomColors {
3
+ kind?: NavBarKind;
4
+ /**
5
+ * When true (default), applies `sk-sticky` class — matches Vue's `sticky: true` default.
6
+ * @default true
7
+ */
8
+ sticky?: boolean;
9
+ /** HTML for the leading slot (far-left area, e.g. sidebar toggle). */
10
+ leading?: string;
11
+ /** HTML for the brand slot (logo / site name). */
12
+ brand?: string;
13
+ /** HTML for the actions slot (right-aligned CTAs / user menu). */
14
+ actions?: string;
15
+ }
16
+ export declare function navBar(props?: NavBarStaticProps, children?: string): string;
@@ -0,0 +1,15 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface NumberInputStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ value?: string;
6
+ min?: string;
7
+ max?: string;
8
+ step?: string;
9
+ name?: string;
10
+ placeholder?: string;
11
+ disabled?: boolean;
12
+ readonly?: boolean;
13
+ required?: boolean;
14
+ }
15
+ export declare function numberInput(props?: NumberInputStaticProps): string;
@@ -0,0 +1,9 @@
1
+ import { PagePanelMode } from '../types';
2
+ export interface PageStaticProps {
3
+ fixedHeader?: boolean;
4
+ fixedFooter?: boolean;
5
+ flush?: boolean;
6
+ sidebarMode?: PagePanelMode;
7
+ asideMode?: PagePanelMode;
8
+ }
9
+ export declare function page(props?: PageStaticProps, children?: string): string;
@@ -0,0 +1,5 @@
1
+ import { PaginationKind, StaticCustomColors } from '../types';
2
+ export interface PaginationStaticProps extends StaticCustomColors {
3
+ kind?: PaginationKind;
4
+ }
5
+ export declare function pagination(props?: PaginationStaticProps, children?: string): string;
@@ -0,0 +1,11 @@
1
+ import { PanelCorner, PanelKind, PanelSize, StaticCustomColors } from '../types';
2
+ export interface PanelStaticProps extends StaticCustomColors {
3
+ kind?: PanelKind;
4
+ size?: PanelSize;
5
+ showDecoration?: boolean;
6
+ noBorder?: boolean;
7
+ noDecoration?: boolean;
8
+ corners?: PanelCorner[];
9
+ decorationCorner?: PanelCorner;
10
+ }
11
+ export declare function panel(props?: PanelStaticProps, children?: string): string;
@@ -0,0 +1,9 @@
1
+ import { ComponentKind, ProgressSize } from '../types';
2
+ export interface ProgressStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ProgressSize;
5
+ indeterminate?: boolean;
6
+ value?: number | null;
7
+ max?: number;
8
+ }
9
+ export declare function progress(props?: ProgressStaticProps, children?: string): string;
@@ -0,0 +1,11 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface RadioStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ name?: string;
6
+ value?: string;
7
+ checked?: boolean;
8
+ disabled?: boolean;
9
+ required?: boolean;
10
+ }
11
+ export declare function radio(props?: RadioStaticProps, children?: string): string;
@@ -0,0 +1,10 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface SelectStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ name?: string;
6
+ id?: string;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ }
10
+ export declare function select(props?: SelectStaticProps, children?: string): string;
@@ -0,0 +1,9 @@
1
+ import { SidebarKind, SidebarSide, StaticCustomColors } from '../types';
2
+ export interface SidebarStaticProps extends StaticCustomColors {
3
+ kind?: SidebarKind;
4
+ side?: SidebarSide;
5
+ dense?: boolean;
6
+ /** CSS width of the sidebar (not used for class output; here for completeness). */
7
+ width?: string;
8
+ }
9
+ export declare function sidebar(props?: SidebarStaticProps, children?: string): string;
@@ -0,0 +1,11 @@
1
+ export type SkeletonVariant = 'text' | 'circular' | 'rectangular' | 'square';
2
+ export type SkeletonAnimation = 'shimmer' | 'pulse' | 'none';
3
+ export interface SkeletonStaticProps {
4
+ variant?: SkeletonVariant;
5
+ animation?: SkeletonAnimation;
6
+ /** CSS width value, e.g. '200px', '100%'. Emitted as inline style when set. */
7
+ width?: string;
8
+ /** CSS height value. Emitted as inline style when set. */
9
+ height?: string;
10
+ }
11
+ export declare function skeleton(props?: SkeletonStaticProps): string;
@@ -0,0 +1,12 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface SliderStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ min?: string;
6
+ max?: string;
7
+ step?: string;
8
+ value?: string;
9
+ name?: string;
10
+ disabled?: boolean;
11
+ }
12
+ export declare function slider(props?: SliderStaticProps): string;
@@ -0,0 +1,12 @@
1
+ import { ComponentKind, SpinnerSize, SpinnerVariant } from '../types';
2
+ export interface SpinnerStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: SpinnerSize;
5
+ variant?: SpinnerVariant;
6
+ /**
7
+ * Custom color override — maps to `--sk-spinner-color` CSS variable.
8
+ * Optional; omit to use the kind-derived color.
9
+ */
10
+ color?: string;
11
+ }
12
+ export declare function spinner(props?: SpinnerStaticProps): string;
@@ -0,0 +1,10 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface SwitchStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ name?: string;
6
+ checked?: boolean;
7
+ disabled?: boolean;
8
+ required?: boolean;
9
+ }
10
+ export declare function switchInput(props?: SwitchStaticProps, children?: string): string;
@@ -0,0 +1,12 @@
1
+ import { StaticCustomColors, TableKind, TableVariant } from '../types';
2
+ export interface TableStaticProps extends StaticCustomColors {
3
+ kind?: TableKind;
4
+ variant?: TableVariant;
5
+ striped?: boolean;
6
+ hoverable?: boolean;
7
+ bordered?: boolean;
8
+ innerBorders?: boolean;
9
+ darkBackground?: boolean;
10
+ subtle?: boolean;
11
+ }
12
+ export declare function table(props?: TableStaticProps, children?: string): string;
@@ -0,0 +1,8 @@
1
+ import { ComponentKind, StaticCustomColors, TagSize, TagVariant } from '../types';
2
+ export interface TagStaticProps extends StaticCustomColors {
3
+ kind?: ComponentKind;
4
+ variant?: TagVariant;
5
+ size?: TagSize;
6
+ removable?: boolean;
7
+ }
8
+ export declare function tag(props?: TagStaticProps, children?: string): string;
@@ -0,0 +1,7 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface TagsInputStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ disabled?: boolean;
6
+ }
7
+ export declare function tagsInput(props?: TagsInputStaticProps, children?: string): string;
@@ -0,0 +1,12 @@
1
+ import { ComponentKind, ComponentSize } from '../types';
2
+ export interface TextareaStaticProps {
3
+ kind?: ComponentKind;
4
+ size?: ComponentSize;
5
+ placeholder?: string;
6
+ name?: string;
7
+ id?: string;
8
+ disabled?: boolean;
9
+ readonly?: boolean;
10
+ required?: boolean;
11
+ }
12
+ export declare function textarea(props?: TextareaStaticProps, children?: string): string;
@@ -0,0 +1,12 @@
1
+ import { StaticCustomColors, ToolbarCorner, ToolbarKind, ToolbarOrientation } from '../types';
2
+ export interface ToolbarStaticProps extends StaticCustomColors {
3
+ kind?: ToolbarKind;
4
+ orientation?: ToolbarOrientation;
5
+ /**
6
+ * Corner cuts. Defaults to all four corners, matching the Vue component's default.
7
+ * Pass an empty array to suppress all cuts.
8
+ * @default ['top-left', 'top-right', 'bottom-right', 'bottom-left']
9
+ */
10
+ corners?: ToolbarCorner[];
11
+ }
12
+ export declare function toolbar(props?: ToolbarStaticProps, children?: string): string;
@@ -0,0 +1,7 @@
1
+ import { StaticCustomColors, TooltipKind, TooltipSide, TooltipVariant } from '../types';
2
+ export interface TooltipStaticProps extends StaticCustomColors {
3
+ kind?: TooltipKind;
4
+ variant?: TooltipVariant;
5
+ placement?: TooltipSide;
6
+ }
7
+ export declare function tooltip(props?: TooltipStaticProps, children?: string): string;
@@ -0,0 +1,2 @@
1
+ export declare function escapeAttr(value: string): string;
2
+ export declare function text(value: string): string;
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});function e(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`)}function t(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`).replace(/'/g,`&#39;`)}function n(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function r(e,t){let r=[e.base];if(e.kind&&typeof t.kind==`string`&&r.push(`sk-${t.kind}`),e.size&&typeof t.size==`string`&&(r.push(`sk-${t.size}`),r.push(`sk-size-${t.size}`)),e.variant&&typeof t.variant==`string`&&r.push(`sk-${t.variant}`),e.booleanFlags)for(let i of e.booleanFlags)t[n(i)]===!0&&r.push(`sk-${i}`);if(e.listFlags)for(let{prop:n,family:i}of e.listFlags){let e=t[n];if(Array.isArray(e))for(let t of e)typeof t==`string`&&r.push(`sk-${i}-${t}`)}if(e.singleChoiceFlags)for(let{prop:n,family:i}of e.singleChoiceFlags){let e=t[n];typeof e==`string`&&r.push(`sk-${i}-${e}`)}return r.join(` `)}function i(t,n,i){let a=[`class="${e(r(t.classSpec,n))}"`];if(t.tag===`button`&&a.push(`type="button"`),t.extraAttrs)for(let[n,r]of Object.entries(t.extraAttrs))a.push(`${n}="${e(r)}"`);let o=[];if(t.customColorVars){let{base:r,text:i}=t.customColorVars;r&&typeof n.baseColor==`string`&&o.push(`${r}: ${e(n.baseColor)};`),i&&typeof n.textColor==`string`&&o.push(`${i}: ${e(n.textColor)};`)}o.length>0&&a.push(`style="${o.join(` `)}"`);let s=a.join(` `);return t.void?`<${t.tag} ${s} />`:`<${t.tag} ${s}>${i}</${t.tag}>`}var a={panel:{tag:`div`,classSpec:{base:`sk-panel`,kind:!0,size:!0,booleanFlags:[`no-border`,`no-decoration`],listFlags:[{prop:`corners`,family:`cut`}],singleChoiceFlags:[{prop:`decorationCorner`,family:`decoration`}]},customColorVars:{base:`--sk-panel-color-base`,text:`--sk-panel-fg`}},card:{tag:`div`,classSpec:{base:`sk-card`,kind:!0},customColorVars:{base:`--sk-panel-color-base`,text:`--sk-panel-fg`}},alert:{tag:`div`,classSpec:{base:`sk-alert`,kind:!0,booleanFlags:[`subtle`]},extraAttrs:{role:`alert`},customColorVars:{base:`--sk-alert-color-base`,text:`--sk-alert-fg`}},divider:{tag:`div`,classSpec:{base:`sk-divider`,kind:!0,booleanFlags:[`subtle`],singleChoiceFlags:[{prop:`orientation`,family:`orientation`}]},extraAttrs:{role:`separator`}},page:{tag:`div`,classSpec:{base:`sk-page`,booleanFlags:[`flush`,`fixed-header`,`fixed-footer`]}},group:{tag:`div`,classSpec:{base:`sk-group`,singleChoiceFlags:[{prop:`orientation`,family:`orientation`}]}},skeleton:{tag:`div`,classSpec:{base:`sk-skeleton`,singleChoiceFlags:[{prop:`variant`,family:`shape`}],booleanFlags:[`shimmer`,`pulse`]}},progress:{tag:`progress`,classSpec:{base:`sk-progress`,kind:!0,size:!0,booleanFlags:[`indeterminate`]},void:!0},spinner:{tag:`div`,classSpec:{base:`sk-spinner`,kind:!0,size:!0}},navBar:{tag:`nav`,classSpec:{base:`sk-navbar`,kind:!0,booleanFlags:[`sticky`]}},toolbar:{tag:`div`,classSpec:{base:`sk-toolbar`,kind:!0,singleChoiceFlags:[{prop:`orientation`,family:`orientation`}]},extraAttrs:{role:`toolbar`}},sidebar:{tag:`aside`,classSpec:{base:`sk-sidebar`,kind:!0,booleanFlags:[`dense`]}},breadcrumbs:{tag:`nav`,classSpec:{base:`sk-breadcrumbs`,kind:!0},extraAttrs:{"aria-label":`Breadcrumbs`}},pagination:{tag:`nav`,classSpec:{base:`sk-pagination`,kind:!0},extraAttrs:{"aria-label":`Pagination`}},tag:{tag:`span`,classSpec:{base:`sk-tag`,kind:!0,size:!0,variant:!0,booleanFlags:[`removable`]}},avatar:{tag:`div`,classSpec:{base:`sk-avatar`,kind:!0,size:!0,singleChoiceFlags:[{prop:`shape`,family:`shape`}]}},field:{tag:`div`,classSpec:{base:`sk-field`,booleanFlags:[`has-error`],singleChoiceFlags:[{prop:`labelPosition`,family:`label-position`}]}},table:{tag:`table`,classSpec:{base:`sk-table`,kind:!0,variant:!0,booleanFlags:[`striped`,`bordered`,`compact`,`comfortable`]}},tooltip:{tag:`div`,classSpec:{base:`sk-tooltip`,kind:!0,variant:!0,singleChoiceFlags:[{prop:`placement`,family:`placement`}]},extraAttrs:{role:`tooltip`}},input:{tag:`input`,classSpec:{base:`sk-input`,kind:!0,size:!0},void:!0},textarea:{tag:`textarea`,classSpec:{base:`sk-textarea`,kind:!0,size:!0}},select:{tag:`select`,classSpec:{base:`sk-select`,kind:!0,size:!0}},slider:{tag:`input`,classSpec:{base:`sk-slider`,kind:!0,size:!0,singleChoiceFlags:[{prop:`orientation`,family:`orientation`}]},void:!0,extraAttrs:{type:`range`}},colorPicker:{tag:`input`,classSpec:{base:`sk-color-picker`,size:!0},void:!0,extraAttrs:{type:`color`}},dropdown:{tag:`details`,classSpec:{base:`sk-dropdown`,kind:!0,size:!0}}};function o(e={},t=``){return i(a.panel,e,t)}function s(e={},t=``){return i(a.card,e,t)}var c=new Set([`info`,`success`,`warning`,`danger`]),l={info:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><circle cx="12" cy="8" r="0.5" fill="currentColor"></circle></svg>`,success:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>`,warning:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><circle cx="12" cy="17" r="0.5" fill="currentColor"></circle></svg>`,danger:`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><line x1="15" y1="9" x2="9" y2="15"></line><line x1="9" y1="9" x2="15" y2="15"></line></svg>`};function u(t={},n=``){let i=t.kind??`info`,a=[`class="${e(r({base:`sk-alert`,kind:!0,booleanFlags:[`subtle`]},{...t,kind:i}))}"`,`role="alert"`],o=[];typeof t.baseColor==`string`&&o.push(`--sk-alert-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&o.push(`--sk-alert-fg: ${e(t.textColor)};`),o.length>0&&a.push(`style="${o.join(` `)}"`);let s=``;if(t.icon!==!1){let e=typeof t.icon==`string`?t.icon:c.has(i)?l[i]??``:null;e!==null&&(s=`<div class="sk-alert-icon">${e}</div>`)}let u=`<div class="sk-alert-content">${n}</div>`;return`<div ${a.join(` `)}>${s}${u}</div>`}function d(t={}){let n=t.orientation??`horizontal`,r=t.kind??`neutral`,i=t.size??`md`,a=[`sk-divider`,`sk-${n}`,`sk-${r}`,`sk-${i}`];return t.variant===`subtle`&&a.push(`sk-subtle`),`<hr class="${e(a.join(` `))}" role="separator">`}function f(e={},t=``){return i(a.page,e,t)}function p(e={},t=``){return i(a.group,e,t)}function m(t={}){let n=t.variant??`text`,r=t.animation??`shimmer`,i=[`sk-skeleton`,`sk-${n}`];r!==`none`&&i.push(`sk-${r}`);let a=[`class="${e(i.join(` `))}"`],o=[],s=t.height??((n===`circular`||n===`square`)&&t.width?t.width:void 0);return typeof t.width==`string`&&o.push(`width: ${e(t.width)};`),typeof s==`string`&&o.push(`height: ${e(s)};`),o.length>0&&a.push(`style="${o.join(` `)}"`),`<div ${a.join(` `)}></div>`}function h(e={},t=``){return i(a.progress,e,t)}function g(e){switch(e){case`circular`:return`<div class="sk-spinner-circular"><div class="sk-arc sk-arc-large"></div><div class="sk-arc sk-arc-small"></div></div>`;case`dots`:return`<div class="sk-spinner-dots"><div class="sk-dot"></div><div class="sk-dot"></div><div class="sk-dot"></div></div>`;case`crosshair`:return`<div class="sk-crosshair-loader"></div>`}}function _(t={}){let n=t.kind??`primary`,r=t.size??`md`,i=t.variant??`circular`,a=[`class="${e([`sk-spinner`,`sk-${n}`,`sk-${r}`,`sk-variant-${i}`].join(` `))}"`,`role="status"`,`aria-live="polite"`,`aria-label="Loading"`];return typeof t.color==`string`&&a.push(`style="--sk-spinner-color: ${e(t.color)};"`),`<div ${a.join(` `)}>${g(i)}</div>`}function v(t={},n=``){let i=t.sticky!==!1,a=r({base:`sk-navbar`,kind:!0},t),o=[`class="${e(i?`${a} sk-sticky`:a)}"`],s=[];typeof t.baseColor==`string`&&s.push(`--sk-navbar-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&s.push(`--sk-navbar-fg: ${e(t.textColor)};`),s.length>0&&o.push(`style="${s.join(` `)}"`);let c=``;t.leading&&(c+=`<div class="sk-navbar-leading">${t.leading}</div>`),t.brand&&(c+=`<div class="sk-navbar-brand">${t.brand}</div>`),n&&(c+=`<div class="sk-navbar-nav">${n}</div>`),t.actions&&(c+=`<div class="sk-navbar-actions">${t.actions}</div>`);let l=`<div class="sk-navbar-content">${c}</div>`;return`<nav ${o.join(` `)}>${l}</nav>`}var y=[`top-left`,`top-right`,`bottom-right`,`bottom-left`];function b(t={},n=``){let r=t.kind,i=t.orientation??`horizontal`,a=t.corners??y,o=[`sk-toolbar`];typeof r==`string`&&o.push(`sk-${r}`),o.push(`sk-${i}`);for(let e of a)o.push(`sk-cut-${e}`);let s=[`class="${e(o.join(` `))}"`,`role="toolbar"`],c=[];return typeof t.baseColor==`string`&&c.push(`--sk-toolbar-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&c.push(`--sk-toolbar-fg: ${e(t.textColor)};`),c.length>0&&s.push(`style="${c.join(` `)}"`),`<div ${s.join(` `)}>${n}</div>`}function x(t={},n=``){let r=t.kind??`neutral`,i=t.side??`left`,a=[`sk-sidebar`,`sk-${r}`];i===`right`&&a.push(`sk-sidebar-right`),t.dense===!0&&a.push(`sk-dense`);let o=i===`right`?`bottom-left`:`bottom-right`,s=[`sk-panel`,`sk-${r}`,`sk-md`,`sk-cut-${o}`,`sk-decoration-${o}`,`sk-sidebar-panel`],c=`class="${e(a.join(` `))}"`,l=`class="${e(s.join(` `))}"`,u=[];return typeof t.baseColor==`string`&&u.push(`--sk-sidebar-color-base: ${e(t.baseColor)};`),`<aside ${c}${u.length>0?` style="${u.join(` `)}"`:``}><div ${l}>${`<div class="sk-panel-scroll-content"><nav class="sk-sidebar-nav">${n}</nav></div>`}</div></aside>`}function S(e={},t=``){return i(a.breadcrumbs,e,t)}function C(e={},t=``){return i(a.pagination,e,t)}var w=`<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>`;function T(t={},n=``){let r=t.kind??`neutral`,i=t.variant??`solid`,a=t.size??`md`,o=[`sk-tag`,`sk-${r}`,`sk-${i}`,`sk-${a}`];t.removable&&o.push(`sk-removable`);let s=[`class="${e(o.join(` `))}"`],c=[];typeof t.baseColor==`string`&&c.push(`--sk-tag-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&c.push(`--sk-tag-fg: ${e(t.textColor)};`),c.length>0&&s.push(`style="${c.join(` `)}"`);let l=`<span class="sk-tag-content">${n}</span>`,u=t.removable?`<button type="button" class="sk-tag-remove" aria-label="Remove">${w}</button>`:``;return`<span ${s.join(` `)}>${l}${u}</span>`}var E=`<svg class="sk-avatar-icon" viewBox="0 0 24 24" fill="currentColor"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></svg>`;function D(t={}){let n=t.kind??`neutral`,r=t.size??`md`,i=[`class="${e([`sk-avatar`,`sk-${n}`,`sk-${r}`].join(` `))}"`],a=[];typeof t.baseColor==`string`&&a.push(`--sk-avatar-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&a.push(`--sk-avatar-fg: ${e(t.textColor)};`),a.length>0&&i.push(`style="${a.join(` `)}"`);let o;if(t.src){let n=t.alt??``;o=`<img src="${e(t.src)}" alt="${e(n)}" class="sk-avatar-image">`}else o=t.initials?`<span class="sk-avatar-initials">${e(t.initials.slice(0,2).toUpperCase())}</span>`:E;return`<div ${i.join(` `)}>${o}</div>`}function O(t={},n=``){let r=[`sk-field`,`sk-label-${t.labelPosition??`top`}`];t.error&&r.push(`sk-has-error`);let i=`class="${e(r.join(` `))}"`,a=``;if(t.label){let n=t.id?` for="${e(t.id)}"`:``,r=t.required?`<span class="sk-field-required">*</span>`:``;a=`<label${n} class="sk-field-label">${e(t.label)}${r}</label>`}let o=`<div class="sk-field-input-wrapper">${n}</div>`,s=``;t.description&&!t.error&&(s=`<p${t.id?` id="${e(t.id)}-description"`:``} class="sk-field-description">${e(t.description)}</p>`);let c=``;return t.error&&(c=`<p${t.id?` id="${e(t.id)}-error"`:``} class="sk-field-error">${e(t.error)}</p>`),`<div ${i}>${a}${o}${s}${c}</div>`}function k(t={},n=``){let r=t.kind??`neutral`,i=t.variant??`default`,a=t.hoverable!==!1,o=t.bordered!==!1,s=t.innerBorders===!0,c=t.subtle===!0,l=t.darkBackground===!0,u=t.striped===!0,d=[`sk-table-wrapper`,`sk-table-wrapper-${r}`];l&&d.push(`sk-dark-background`),c&&d.push(`sk-subtle`);let f=[`sk-table`,`sk-${r}`,`sk-${i}`];u&&f.push(`sk-striped`),a&&f.push(`sk-hoverable`),o&&f.push(`sk-bordered`),s||f.push(`sk-no-inner-borders`),c&&f.push(`sk-subtle`);let p=[`class="${e(f.join(` `))}"`],m=[];return typeof t.baseColor==`string`&&m.push(`--sk-table-color-base: ${e(t.baseColor)};`),typeof t.textColor==`string`&&m.push(`--sk-table-fg: ${e(t.textColor)};`),m.length>0&&p.push(`style="${m.join(` `)}"`),`<div ${`class="${e(d.join(` `))}"`}><table ${p.join(` `)}>${n}</table></div>`}function A(e={},t=``){return i(a.tooltip,e,t)}function j(t={},n=``){let i=[`class="${e(r({base:`sk-button`,kind:!0,size:!0,variant:!0,booleanFlags:[`loading`,`pressed`,`dense`]},t))}"`],a=typeof t.href==`string`;if(a)i.push(`href="${e(t.href??``)}"`);else{let n=t.type??`button`;i.push(`type="${e(n)}"`)}t.disabled&&i.push(a?`aria-disabled="true"`:`disabled`),t.loading&&i.push(`aria-busy="true"`),t.pressed&&i.push(`aria-pressed="true"`);let o=a?`a`:`button`,s=`<span class="sk-button-chrome">${n}</span>`;return`<${o} ${i.join(` `)}>${s}</${o}>`}function M(t={}){let n=[`class="${e(r({base:`sk-input`,kind:!0,size:!0},t))}"`];for(let r of[`type`,`value`,`placeholder`,`name`,`id`]){let i=t[r];typeof i==`string`&&n.push(`${r}="${e(i)}"`)}for(let e of[`disabled`,`readonly`,`required`])t[e]===!0&&n.push(e);return`<input ${n.join(` `)} />`}function N(t={},n=``){let i=[`class="${e(r({base:`sk-textarea`,kind:!0,size:!0},t))}"`];for(let n of[`placeholder`,`name`,`id`]){let r=t[n];typeof r==`string`&&i.push(`${n}="${e(r)}"`)}for(let e of[`disabled`,`readonly`,`required`])t[e]===!0&&i.push(e);return`<textarea ${i.join(` `)}>${n}</textarea>`}function P(t={},n=``){let i=[`class="${e(r({base:`sk-select`,kind:!0,size:!0},t))}"`];for(let n of[`name`,`id`]){let r=t[n];typeof r==`string`&&i.push(`${n}="${e(r)}"`)}for(let e of[`disabled`,`required`])t[e]===!0&&i.push(e);return`<select ${i.join(` `)}>${n}</select>`}function F(t={}){let n=[`class="${e(r({base:`sk-slider`,kind:!0,size:!0},t))}"`,`type="range"`];for(let r of[`min`,`max`,`step`,`value`,`name`]){let i=t[r];typeof i==`string`&&n.push(`${r}="${e(i)}"`)}return t.disabled===!0&&n.push(`disabled`),`<input ${n.join(` `)} />`}function I(t={}){let n=[`class="${e(r({base:`sk-color-picker`,size:!0},t))}"`,`type="color"`];for(let r of[`value`,`name`]){let i=t[r];typeof i==`string`&&n.push(`${r}="${e(i)}"`)}return t.disabled===!0&&n.push(`disabled`),`<input ${n.join(` `)} />`}function L(t={},n=``){let i=r({base:`sk-checkbox`,kind:!0,size:!0},t),a=[`type="checkbox"`];t.name&&a.push(`name="${e(t.name)}"`),t.checked===!0&&a.push(`checked`),t.disabled===!0&&a.push(`disabled`),t.required===!0&&a.push(`required`);let o=`<input ${a.join(` `)} />`,s=`<span class="sk-checkbox-label">${n}</span>`;return`<label class="${e(i)}">${o}<span class="sk-checkbox-box"></span>${s}</label>`}function R(t={},n=``){let i=r({base:`sk-radio`,kind:!0,size:!0},t),a=[`type="radio"`];t.name&&a.push(`name="${e(t.name)}"`),t.value!==void 0&&a.push(`value="${e(t.value)}"`),t.checked===!0&&a.push(`checked`),t.disabled===!0&&a.push(`disabled`),t.required===!0&&a.push(`required`);let o=`<input ${a.join(` `)} />`,s=`<span class="sk-radio-label">${n}</span>`;return`<label class="${e(i)}">${o}<span class="sk-radio-dot"></span>${s}</label>`}function z(t={},n=``){let i=r({base:`sk-switch`,kind:!0,size:!0},t),a=[`type="checkbox"`];t.name&&a.push(`name="${e(t.name)}"`),t.checked===!0&&a.push(`checked`),t.disabled===!0&&a.push(`disabled`),t.required===!0&&a.push(`required`);let o=`<input ${a.join(` `)} />`,s=`<span class="sk-switch-label">${n}</span>`;return`<label class="${e(i)}">${o}<span class="sk-switch-track"><span class="sk-switch-thumb"></span></span>${s}</label>`}function B(t={}){let n=r({base:`sk-number-input-wrapper`,kind:!0,size:!0},t),i=[`class="sk-number-input-field"`,`type="number"`];for(let n of[`value`,`min`,`max`,`step`,`name`,`placeholder`]){let r=t[n];typeof r==`string`&&i.push(`${n}="${e(r)}"`)}for(let e of[`disabled`,`readonly`,`required`])t[e]===!0&&i.push(e);let a=`<input ${i.join(` `)} />`;return`<div class="${e(n)}">${a}</div>`}function V(t={},n=``){return`<div class="${e(r({base:`sk-tags-input`,kind:!0,size:!0},t))}">${n}</div>`}function H(t,n=``){let i=[`class="${e(r({base:`sk-dropdown`,kind:!0,size:!0},t))}"`];return t.open&&i.push(`open`),`<details ${i.join(` `)}><summary>${e(t.summary)}</summary>${n}</details>`}exports.alert=u,exports.avatar=D,exports.breadcrumbs=S,exports.button=j,exports.card=s,exports.checkbox=L,exports.colorPicker=I,exports.composeClasses=r,exports.divider=d,exports.dropdown=H,exports.escapeAttr=e,exports.field=O,exports.group=p,exports.input=M,exports.navBar=v,exports.numberInput=B,exports.page=f,exports.pagination=C,exports.panel=o,exports.progress=h,exports.radio=R,exports.render=i,exports.select=P,exports.sidebar=x,exports.skeleton=m,exports.slider=F,exports.spinner=_,exports.switchInput=z,exports.table=k,exports.tag=T,exports.tagsInput=V,exports.text=t,exports.textarea=N,exports.toolbar=b,exports.tooltip=A;
@@ -0,0 +1,68 @@
1
+ export { text, escapeAttr } from './escape';
2
+ export { composeClasses } from './classes';
3
+ export type { ClassSpec, ListFlagSpec, SingleChoiceFlagSpec } from './classes';
4
+ export { render } from './render';
5
+ export type { RenderSpec } from './render';
6
+ export type * from './types';
7
+ export { panel } from './components/panel';
8
+ export type { PanelStaticProps } from './components/panel';
9
+ export { card } from './components/card';
10
+ export type { CardStaticProps } from './components/card';
11
+ export { alert } from './components/alert';
12
+ export type { AlertStaticProps } from './components/alert';
13
+ export { divider } from './components/divider';
14
+ export type { DividerStaticProps } from './components/divider';
15
+ export { page } from './components/page';
16
+ export type { PageStaticProps } from './components/page';
17
+ export { group } from './components/group';
18
+ export type { GroupStaticProps } from './components/group';
19
+ export { skeleton } from './components/skeleton';
20
+ export type { SkeletonStaticProps } from './components/skeleton';
21
+ export { progress } from './components/progress';
22
+ export type { ProgressStaticProps } from './components/progress';
23
+ export { spinner } from './components/spinner';
24
+ export type { SpinnerStaticProps } from './components/spinner';
25
+ export { navBar } from './components/navBar';
26
+ export type { NavBarStaticProps } from './components/navBar';
27
+ export { toolbar } from './components/toolbar';
28
+ export type { ToolbarStaticProps } from './components/toolbar';
29
+ export { sidebar } from './components/sidebar';
30
+ export type { SidebarStaticProps } from './components/sidebar';
31
+ export { breadcrumbs } from './components/breadcrumbs';
32
+ export type { BreadcrumbsStaticProps } from './components/breadcrumbs';
33
+ export { pagination } from './components/pagination';
34
+ export type { PaginationStaticProps } from './components/pagination';
35
+ export { tag } from './components/tag';
36
+ export type { TagStaticProps } from './components/tag';
37
+ export { avatar } from './components/avatar';
38
+ export type { AvatarStaticProps } from './components/avatar';
39
+ export { field } from './components/field';
40
+ export type { FieldStaticProps } from './components/field';
41
+ export { table } from './components/table';
42
+ export type { TableStaticProps } from './components/table';
43
+ export { tooltip } from './components/tooltip';
44
+ export type { TooltipStaticProps } from './components/tooltip';
45
+ export { button } from './components/button';
46
+ export type { ButtonStaticProps } from './components/button';
47
+ export { input } from './components/input';
48
+ export type { InputStaticProps } from './components/input';
49
+ export { textarea } from './components/textarea';
50
+ export type { TextareaStaticProps } from './components/textarea';
51
+ export { select } from './components/select';
52
+ export type { SelectStaticProps } from './components/select';
53
+ export { slider } from './components/slider';
54
+ export type { SliderStaticProps } from './components/slider';
55
+ export { colorPicker } from './components/colorPicker';
56
+ export type { ColorPickerStaticProps } from './components/colorPicker';
57
+ export { checkbox } from './components/checkbox';
58
+ export type { CheckboxStaticProps } from './components/checkbox';
59
+ export { radio } from './components/radio';
60
+ export type { RadioStaticProps } from './components/radio';
61
+ export { switchInput } from './components/switchInput';
62
+ export type { SwitchStaticProps } from './components/switchInput';
63
+ export { numberInput } from './components/numberInput';
64
+ export type { NumberInputStaticProps } from './components/numberInput';
65
+ export { tagsInput } from './components/tagsInput';
66
+ export type { TagsInputStaticProps } from './components/tagsInput';
67
+ export { dropdown } from './components/dropdown';
68
+ export type { DropdownStaticProps } from './components/dropdown';