@skewedaspect/sleekspace-ui 0.2.0-beta.1 → 0.2.0-beta.3

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 (536) hide show
  1. package/dist/components/Accordion/SkAccordion.vue.d.ts +65 -0
  2. package/dist/components/Accordion/SkAccordionItem.vue.d.ts +52 -0
  3. package/dist/components/Accordion/index.d.ts +3 -0
  4. package/dist/components/Accordion/types.d.ts +3 -0
  5. package/dist/components/Alert/SkAlert.vue.d.ts +39 -0
  6. package/dist/components/Alert/types.d.ts +4 -0
  7. package/dist/components/Avatar/SkAvatar.vue.d.ts +75 -0
  8. package/dist/components/Avatar/index.d.ts +2 -0
  9. package/dist/components/Avatar/types.d.ts +20 -0
  10. package/dist/components/Breadcrumbs/SkBreadcrumbItem.vue.d.ts +51 -0
  11. package/dist/components/Breadcrumbs/SkBreadcrumbSeparator.vue.d.ts +13 -0
  12. package/dist/components/Breadcrumbs/SkBreadcrumbs.vue.d.ts +24 -0
  13. package/dist/components/Breadcrumbs/index.d.ts +4 -0
  14. package/dist/components/Breadcrumbs/types.d.ts +18 -0
  15. package/dist/components/Button/SkButton.vue.d.ts +97 -0
  16. package/dist/components/Button/types.d.ts +5 -0
  17. package/dist/components/Card/SkCard.vue.d.ts +88 -0
  18. package/dist/components/Card/types.d.ts +2 -0
  19. package/dist/components/Checkbox/SkCheckbox.vue.d.ts +71 -0
  20. package/dist/components/Checkbox/index.d.ts +2 -0
  21. package/dist/components/Checkbox/types.d.ts +3 -0
  22. package/dist/components/Collapsible/SkCollapsible.vue.d.ts +70 -0
  23. package/dist/components/Collapsible/index.d.ts +2 -0
  24. package/dist/components/Collapsible/types.d.ts +2 -0
  25. package/dist/components/Divider/SkDivider.vue.d.ts +39 -0
  26. package/dist/components/Divider/types.d.ts +8 -0
  27. package/dist/components/Dropdown/SkDropdown.vue.d.ts +63 -0
  28. package/dist/components/Dropdown/SkDropdownMenuItem.vue.d.ts +32 -0
  29. package/dist/components/Dropdown/SkDropdownMenuSeparator.vue.d.ts +2 -0
  30. package/dist/components/Dropdown/SkDropdownSubmenu.vue.d.ts +34 -0
  31. package/dist/components/Dropdown/index.d.ts +5 -0
  32. package/dist/components/Dropdown/types.d.ts +4 -0
  33. package/dist/components/Field/SkField.vue.d.ts +99 -0
  34. package/dist/components/Field/index.d.ts +2 -0
  35. package/dist/components/Field/types.d.ts +1 -0
  36. package/dist/components/Group/SkGroup.vue.d.ts +29 -0
  37. package/dist/components/Group/types.d.ts +4 -0
  38. package/dist/components/Input/SkInput.vue.d.ts +84 -0
  39. package/dist/components/Input/index.d.ts +2 -0
  40. package/dist/components/Input/types.d.ts +4 -0
  41. package/dist/components/Listbox/SkListbox.vue.d.ts +62 -0
  42. package/dist/components/Listbox/SkListboxItem.vue.d.ts +34 -0
  43. package/dist/components/Listbox/SkListboxSeparator.vue.d.ts +2 -0
  44. package/dist/components/Listbox/index.d.ts +4 -0
  45. package/dist/components/Listbox/types.d.ts +3 -0
  46. package/dist/components/Modal/SkModal.vue.d.ts +108 -0
  47. package/dist/components/Modal/index.d.ts +2 -0
  48. package/dist/components/Modal/types.d.ts +3 -0
  49. package/dist/components/NavBar/SkNavBar.vue.d.ts +40 -0
  50. package/dist/components/NavBar/index.d.ts +2 -0
  51. package/dist/components/NavBar/types.d.ts +6 -0
  52. package/dist/components/NumberInput/SkNumberInput.vue.d.ts +93 -0
  53. package/dist/components/NumberInput/index.d.ts +2 -0
  54. package/dist/components/NumberInput/types.d.ts +3 -0
  55. package/dist/components/Page/SkPage.vue.d.ts +55 -0
  56. package/dist/components/Page/index.d.ts +2 -0
  57. package/dist/components/Page/types.d.ts +13 -0
  58. package/dist/components/Pagination/SkPagination.vue.d.ts +79 -0
  59. package/dist/components/Pagination/SkPaginationItem.vue.d.ts +44 -0
  60. package/dist/components/Pagination/index.d.ts +3 -0
  61. package/dist/components/Pagination/types.d.ts +24 -0
  62. package/dist/components/Panel/SkPanel.vue.d.ts +55 -0
  63. package/dist/components/Panel/types.d.ts +3 -0
  64. package/dist/components/Popover/SkPopover.vue.d.ts +94 -0
  65. package/dist/components/Popover/index.d.ts +2 -0
  66. package/dist/components/Popover/types.d.ts +4 -0
  67. package/dist/components/Progress/SkProgress.vue.d.ts +66 -0
  68. package/dist/components/Progress/index.d.ts +2 -0
  69. package/dist/components/Progress/types.d.ts +22 -0
  70. package/dist/components/Radio/SkRadio.vue.d.ts +59 -0
  71. package/dist/components/Radio/SkRadioGroup.vue.d.ts +85 -0
  72. package/dist/components/Radio/index.d.ts +3 -0
  73. package/dist/components/Radio/types.d.ts +4 -0
  74. package/dist/components/Sidebar/SkSidebar.vue.d.ts +38 -0
  75. package/dist/components/Sidebar/SkSidebarItem.vue.d.ts +37 -0
  76. package/dist/components/Sidebar/SkSidebarSection.vue.d.ts +44 -0
  77. package/dist/components/Sidebar/types.d.ts +2 -0
  78. package/dist/components/Skeleton/SkSkeleton.vue.d.ts +55 -0
  79. package/dist/components/Skeleton/index.d.ts +2 -0
  80. package/dist/components/Skeleton/types.d.ts +21 -0
  81. package/dist/components/Slider/SkSlider.vue.d.ts +100 -0
  82. package/dist/components/Slider/index.d.ts +2 -0
  83. package/dist/components/Slider/types.d.ts +32 -0
  84. package/dist/components/Spinner/SkSpinner.vue.d.ts +39 -0
  85. package/dist/components/Spinner/index.d.ts +2 -0
  86. package/dist/components/Spinner/types.d.ts +16 -0
  87. package/dist/components/Switch/SkSwitch.vue.d.ts +120 -0
  88. package/dist/components/Switch/index.d.ts +2 -0
  89. package/dist/components/Switch/types.d.ts +3 -0
  90. package/dist/components/Table/SkTable.vue.d.ts +86 -0
  91. package/dist/components/Table/index.d.ts +2 -0
  92. package/dist/components/Table/types.d.ts +3 -0
  93. package/dist/components/Tabs/SkTab.vue.d.ts +49 -0
  94. package/dist/components/Tabs/SkTabList.vue.d.ts +28 -0
  95. package/dist/components/Tabs/SkTabPanel.vue.d.ts +33 -0
  96. package/dist/components/Tabs/SkTabPanels.vue.d.ts +17 -0
  97. package/dist/components/Tabs/SkTabs.vue.d.ts +60 -0
  98. package/dist/components/Tabs/types.d.ts +5 -0
  99. package/dist/components/Tag/SkTag.vue.d.ts +58 -0
  100. package/dist/components/Tag/types.d.ts +8 -0
  101. package/dist/components/TagsInput/SkTagsInput.vue.d.ts +77 -0
  102. package/dist/components/TagsInput/index.d.ts +2 -0
  103. package/dist/components/TagsInput/types.d.ts +3 -0
  104. package/dist/components/Textarea/SkTextarea.vue.d.ts +85 -0
  105. package/dist/components/Textarea/index.d.ts +2 -0
  106. package/dist/components/Textarea/types.d.ts +3 -0
  107. package/dist/components/Theme/SkTheme.vue.d.ts +20 -0
  108. package/dist/components/Theme/types.d.ts +16 -0
  109. package/dist/components/Theme/useTheme.d.ts +84 -0
  110. package/dist/components/Toast/SkToast.vue.d.ts +42 -0
  111. package/dist/components/Toast/SkToastProvider.vue.d.ts +62 -0
  112. package/dist/components/Toast/index.d.ts +3 -0
  113. package/dist/components/Toast/types.d.ts +35 -0
  114. package/dist/components/Toast/useToast.d.ts +33 -0
  115. package/dist/components/Tooltip/SkTooltip.vue.d.ts +81 -0
  116. package/dist/components/Tooltip/SkTooltipProvider.vue.d.ts +70 -0
  117. package/dist/components/Tooltip/index.d.ts +3 -0
  118. package/dist/components/Tooltip/types.d.ts +4 -0
  119. package/dist/composables/useCustomColors.d.ts +74 -0
  120. package/dist/composables/useCustomColors.test.d.ts +1 -0
  121. package/dist/composables/usePortalContext.d.ts +75 -0
  122. package/dist/composables/usePortalContext.test.d.ts +1 -0
  123. package/dist/index.d.ts +149 -0
  124. package/dist/sleekspace-ui.css +2 -16
  125. package/dist/sleekspace-ui.es.js +43 -42
  126. package/dist/sleekspace-ui.umd.js +43 -42
  127. package/dist/tokens.css +968 -0
  128. package/dist/types.d.ts +29 -0
  129. package/docs/components/accordion/_meta.yaml +9 -0
  130. package/docs/components/accordion/custom-colors.md +20 -0
  131. package/docs/components/accordion/intro.md +8 -0
  132. package/docs/components/accordion/kinds.md +30 -0
  133. package/docs/components/accordion/multiple.md +28 -0
  134. package/docs/components/accordion/real-world.md +31 -0
  135. package/docs/components/accordion/usage.md +28 -0
  136. package/docs/components/alert/_meta.yaml +10 -0
  137. package/docs/components/alert/custom-colors.md +30 -0
  138. package/docs/components/alert/custom-icons.md +17 -0
  139. package/docs/components/alert/intro.md +8 -0
  140. package/docs/components/alert/kinds.md +24 -0
  141. package/docs/components/alert/prominent.md +16 -0
  142. package/docs/components/alert/rich-content.md +19 -0
  143. package/docs/components/alert/usage.md +12 -0
  144. package/docs/components/avatar/_meta.yaml +10 -0
  145. package/docs/components/avatar/custom-colors.md +14 -0
  146. package/docs/components/avatar/images.md +12 -0
  147. package/docs/components/avatar/intro.md +8 -0
  148. package/docs/components/avatar/kinds.md +16 -0
  149. package/docs/components/avatar/real-world.md +25 -0
  150. package/docs/components/avatar/sizes.md +14 -0
  151. package/docs/components/avatar/usage.md +15 -0
  152. package/docs/components/breadcrumbs/_meta.yaml +9 -0
  153. package/docs/components/breadcrumbs/custom-colors.md +14 -0
  154. package/docs/components/breadcrumbs/intro.md +8 -0
  155. package/docs/components/breadcrumbs/kinds.md +16 -0
  156. package/docs/components/breadcrumbs/real-world.md +33 -0
  157. package/docs/components/breadcrumbs/separators.md +13 -0
  158. package/docs/components/breadcrumbs/usage.md +15 -0
  159. package/docs/components/card/_meta.yaml +10 -0
  160. package/docs/components/card/intro.md +8 -0
  161. package/docs/components/card/kinds.md +24 -0
  162. package/docs/components/card/media.md +25 -0
  163. package/docs/components/card/neon-kinds.md +24 -0
  164. package/docs/components/card/no-decoration.md +15 -0
  165. package/docs/components/card/scrollable.md +23 -0
  166. package/docs/components/card/usage.md +12 -0
  167. package/docs/components/checkbox/_meta.yaml +11 -0
  168. package/docs/components/checkbox/color-kinds.md +17 -0
  169. package/docs/components/checkbox/custom-colors.md +21 -0
  170. package/docs/components/checkbox/form-example.md +24 -0
  171. package/docs/components/checkbox/intro.md +8 -0
  172. package/docs/components/checkbox/kinds.md +16 -0
  173. package/docs/components/checkbox/sizes.md +13 -0
  174. package/docs/components/checkbox/states.md +14 -0
  175. package/docs/components/checkbox/usage.md +17 -0
  176. package/docs/components/collapsible/_meta.yaml +9 -0
  177. package/docs/components/collapsible/accessibility.md +6 -0
  178. package/docs/components/collapsible/custom-colors.md +16 -0
  179. package/docs/components/collapsible/custom-trigger.md +35 -0
  180. package/docs/components/collapsible/intro.md +8 -0
  181. package/docs/components/collapsible/kinds.md +16 -0
  182. package/docs/components/collapsible/usage.md +22 -0
  183. package/docs/components/divider/_meta.yaml +10 -0
  184. package/docs/components/divider/accessibility.md +6 -0
  185. package/docs/components/divider/intro.md +8 -0
  186. package/docs/components/divider/kinds.md +16 -0
  187. package/docs/components/divider/orientation.md +18 -0
  188. package/docs/components/divider/sizes.md +24 -0
  189. package/docs/components/divider/usage.md +14 -0
  190. package/docs/components/divider/variants.md +14 -0
  191. package/docs/components/dropdown/_meta.yaml +11 -0
  192. package/docs/components/dropdown/accessibility.md +6 -0
  193. package/docs/components/dropdown/custom-colors.md +17 -0
  194. package/docs/components/dropdown/custom-trigger.md +18 -0
  195. package/docs/components/dropdown/intro.md +8 -0
  196. package/docs/components/dropdown/kinds.md +23 -0
  197. package/docs/components/dropdown/positioning.md +23 -0
  198. package/docs/components/dropdown/submenus.md +28 -0
  199. package/docs/components/dropdown/usage.md +24 -0
  200. package/docs/components/field/_meta.yaml +10 -0
  201. package/docs/components/field/accessibility.md +6 -0
  202. package/docs/components/field/description.md +15 -0
  203. package/docs/components/field/intro.md +8 -0
  204. package/docs/components/field/label-position.md +16 -0
  205. package/docs/components/field/required.md +12 -0
  206. package/docs/components/field/usage.md +19 -0
  207. package/docs/components/field/validation.md +32 -0
  208. package/docs/components/group/_meta.yaml +7 -0
  209. package/docs/components/group/accessibility.md +6 -0
  210. package/docs/components/group/intro.md +8 -0
  211. package/docs/components/group/orientation.md +22 -0
  212. package/docs/components/group/usage.md +14 -0
  213. package/docs/components/input/_meta.yaml +11 -0
  214. package/docs/components/input/accessibility.md +6 -0
  215. package/docs/components/input/custom-colors.md +21 -0
  216. package/docs/components/input/intro.md +8 -0
  217. package/docs/components/input/kinds.md +16 -0
  218. package/docs/components/input/sizes.md +13 -0
  219. package/docs/components/input/states.md +12 -0
  220. package/docs/components/input/types.md +15 -0
  221. package/docs/components/input/usage.md +17 -0
  222. package/docs/components/listbox/_meta.yaml +12 -0
  223. package/docs/components/listbox/color-kinds.md +27 -0
  224. package/docs/components/listbox/custom-colors.md +18 -0
  225. package/docs/components/listbox/form-example.md +36 -0
  226. package/docs/components/listbox/intro.md +8 -0
  227. package/docs/components/listbox/kinds.md +30 -0
  228. package/docs/components/listbox/separators.md +19 -0
  229. package/docs/components/listbox/sizes.md +24 -0
  230. package/docs/components/listbox/states.md +19 -0
  231. package/docs/components/listbox/usage.md +23 -0
  232. package/docs/components/modal/_meta.yaml +13 -0
  233. package/docs/components/modal/close-behaviors.md +49 -0
  234. package/docs/components/modal/confirmation.md +19 -0
  235. package/docs/components/modal/controlled-state.md +29 -0
  236. package/docs/components/modal/custom-colors.md +25 -0
  237. package/docs/components/modal/custom-trigger.md +28 -0
  238. package/docs/components/modal/form-modal.md +23 -0
  239. package/docs/components/modal/intro.md +8 -0
  240. package/docs/components/modal/kinds.md +30 -0
  241. package/docs/components/modal/sizes.md +21 -0
  242. package/docs/components/modal/usage.md +15 -0
  243. package/docs/components/navbar/_meta.yaml +11 -0
  244. package/docs/components/navbar/complex-layouts.md +34 -0
  245. package/docs/components/navbar/custom-colors.md +24 -0
  246. package/docs/components/navbar/icons.md +33 -0
  247. package/docs/components/navbar/intro.md +8 -0
  248. package/docs/components/navbar/kinds.md +24 -0
  249. package/docs/components/navbar/neon-colors.md +24 -0
  250. package/docs/components/navbar/sticky.md +22 -0
  251. package/docs/components/navbar/usage.md +25 -0
  252. package/docs/components/number-input/_meta.yaml +12 -0
  253. package/docs/components/number-input/color-kinds.md +17 -0
  254. package/docs/components/number-input/custom-colors.md +21 -0
  255. package/docs/components/number-input/form-example.md +55 -0
  256. package/docs/components/number-input/intro.md +8 -0
  257. package/docs/components/number-input/kinds.md +16 -0
  258. package/docs/components/number-input/min-max-step.md +11 -0
  259. package/docs/components/number-input/sizes.md +13 -0
  260. package/docs/components/number-input/states.md +12 -0
  261. package/docs/components/number-input/usage.md +18 -0
  262. package/docs/components/page/_meta.yaml +9 -0
  263. package/docs/components/page/custom-width.md +17 -0
  264. package/docs/components/page/fixed-header.md +17 -0
  265. package/docs/components/page/intro.md +8 -0
  266. package/docs/components/page/real-world.md +37 -0
  267. package/docs/components/page/sidebar-position.md +18 -0
  268. package/docs/components/page/usage.md +33 -0
  269. package/docs/components/pagination/_meta.yaml +12 -0
  270. package/docs/components/pagination/config-options.md +17 -0
  271. package/docs/components/pagination/custom-colors.md +15 -0
  272. package/docs/components/pagination/intro.md +8 -0
  273. package/docs/components/pagination/kinds.md +13 -0
  274. package/docs/components/pagination/sizes.md +14 -0
  275. package/docs/components/pagination/states.md +10 -0
  276. package/docs/components/pagination/table-example.md +28 -0
  277. package/docs/components/pagination/usage.md +10 -0
  278. package/docs/components/pagination/variants.md +13 -0
  279. package/docs/components/panel/_meta.yaml +10 -0
  280. package/docs/components/panel/custom-colors.md +18 -0
  281. package/docs/components/panel/decoration.md +20 -0
  282. package/docs/components/panel/intro.md +8 -0
  283. package/docs/components/panel/kinds.md +23 -0
  284. package/docs/components/panel/scrollable.md +18 -0
  285. package/docs/components/panel/sizes.md +20 -0
  286. package/docs/components/panel/usage.md +13 -0
  287. package/docs/components/popover/_meta.yaml +9 -0
  288. package/docs/components/popover/arrow.md +15 -0
  289. package/docs/components/popover/custom-colors.md +19 -0
  290. package/docs/components/popover/intro.md +8 -0
  291. package/docs/components/popover/kinds.md +24 -0
  292. package/docs/components/popover/positioning.md +36 -0
  293. package/docs/components/popover/usage.md +15 -0
  294. package/docs/components/progress/_meta.yaml +10 -0
  295. package/docs/components/progress/custom-colors.md +14 -0
  296. package/docs/components/progress/indeterminate.md +11 -0
  297. package/docs/components/progress/intro.md +8 -0
  298. package/docs/components/progress/kinds.md +16 -0
  299. package/docs/components/progress/sizes.md +14 -0
  300. package/docs/components/progress/usage.md +13 -0
  301. package/docs/components/progress/value-label.md +12 -0
  302. package/docs/components/radio/_meta.yaml +10 -0
  303. package/docs/components/radio/custom-colors.md +24 -0
  304. package/docs/components/radio/intro.md +8 -0
  305. package/docs/components/radio/kinds.md +23 -0
  306. package/docs/components/radio/orientation.md +22 -0
  307. package/docs/components/radio/sizes.md +23 -0
  308. package/docs/components/radio/states.md +21 -0
  309. package/docs/components/radio/usage.md +21 -0
  310. package/docs/components/sidebar/_meta.yaml +10 -0
  311. package/docs/components/sidebar/active-state.md +35 -0
  312. package/docs/components/sidebar/custom-colors.md +20 -0
  313. package/docs/components/sidebar/intro.md +8 -0
  314. package/docs/components/sidebar/kinds.md +22 -0
  315. package/docs/components/sidebar/router.md +24 -0
  316. package/docs/components/sidebar/sections.md +24 -0
  317. package/docs/components/sidebar/usage.md +25 -0
  318. package/docs/components/skeleton/_meta.yaml +8 -0
  319. package/docs/components/skeleton/animations.md +17 -0
  320. package/docs/components/skeleton/composition.md +22 -0
  321. package/docs/components/skeleton/intro.md +8 -0
  322. package/docs/components/skeleton/usage.md +12 -0
  323. package/docs/components/skeleton/variants.md +17 -0
  324. package/docs/components/slider/_meta.yaml +12 -0
  325. package/docs/components/slider/accessibility.md +6 -0
  326. package/docs/components/slider/custom-colors.md +14 -0
  327. package/docs/components/slider/intro.md +8 -0
  328. package/docs/components/slider/kinds.md +16 -0
  329. package/docs/components/slider/range.md +16 -0
  330. package/docs/components/slider/sizes.md +14 -0
  331. package/docs/components/slider/step.md +13 -0
  332. package/docs/components/slider/usage.md +16 -0
  333. package/docs/components/slider/vertical.md +14 -0
  334. package/docs/components/spinner/_meta.yaml +10 -0
  335. package/docs/components/spinner/accessibility.md +6 -0
  336. package/docs/components/spinner/custom-colors.md +13 -0
  337. package/docs/components/spinner/intro.md +8 -0
  338. package/docs/components/spinner/kinds.md +16 -0
  339. package/docs/components/spinner/sizes.md +14 -0
  340. package/docs/components/spinner/usage.md +10 -0
  341. package/docs/components/spinner/variants.md +12 -0
  342. package/docs/components/switch/_meta.yaml +12 -0
  343. package/docs/components/switch/accessibility.md +6 -0
  344. package/docs/components/switch/custom-colors.md +29 -0
  345. package/docs/components/switch/disabled.md +11 -0
  346. package/docs/components/switch/dynamic-labels.md +12 -0
  347. package/docs/components/switch/intro.md +8 -0
  348. package/docs/components/switch/kinds.md +16 -0
  349. package/docs/components/switch/sizes.md +14 -0
  350. package/docs/components/switch/thumb-color.md +16 -0
  351. package/docs/components/switch/usage.md +18 -0
  352. package/docs/components/table/_meta.yaml +12 -0
  353. package/docs/components/table/accessibility.md +6 -0
  354. package/docs/components/table/borders.md +17 -0
  355. package/docs/components/table/hoverable.md +26 -0
  356. package/docs/components/table/intro.md +8 -0
  357. package/docs/components/table/kinds.md +18 -0
  358. package/docs/components/table/striped.md +28 -0
  359. package/docs/components/table/subtle.md +26 -0
  360. package/docs/components/table/usage.md +30 -0
  361. package/docs/components/table/variants.md +23 -0
  362. package/docs/components/tabs/_meta.yaml +10 -0
  363. package/docs/components/tabs/accessibility.md +6 -0
  364. package/docs/components/tabs/custom-colors.md +23 -0
  365. package/docs/components/tabs/icons.md +23 -0
  366. package/docs/components/tabs/intro.md +8 -0
  367. package/docs/components/tabs/kinds.md +30 -0
  368. package/docs/components/tabs/usage.md +38 -0
  369. package/docs/components/tabs/vertical.md +23 -0
  370. package/docs/components/tag/_meta.yaml +11 -0
  371. package/docs/components/tag/accessibility.md +6 -0
  372. package/docs/components/tag/custom-colors.md +32 -0
  373. package/docs/components/tag/intro.md +8 -0
  374. package/docs/components/tag/kinds.md +16 -0
  375. package/docs/components/tag/removable.md +33 -0
  376. package/docs/components/tag/sizes.md +13 -0
  377. package/docs/components/tag/usage.md +13 -0
  378. package/docs/components/tag/variants.md +13 -0
  379. package/docs/components/tags-input/_meta.yaml +13 -0
  380. package/docs/components/tags-input/color-kinds.md +17 -0
  381. package/docs/components/tags-input/custom-colors.md +21 -0
  382. package/docs/components/tags-input/form-example.md +30 -0
  383. package/docs/components/tags-input/intro.md +8 -0
  384. package/docs/components/tags-input/kinds.md +16 -0
  385. package/docs/components/tags-input/max-tags.md +10 -0
  386. package/docs/components/tags-input/sizes.md +13 -0
  387. package/docs/components/tags-input/states.md +10 -0
  388. package/docs/components/tags-input/tag-customization.md +17 -0
  389. package/docs/components/tags-input/usage.md +17 -0
  390. package/docs/components/textarea/_meta.yaml +12 -0
  391. package/docs/components/textarea/color-kinds.md +17 -0
  392. package/docs/components/textarea/custom-colors.md +21 -0
  393. package/docs/components/textarea/form-example.md +37 -0
  394. package/docs/components/textarea/intro.md +8 -0
  395. package/docs/components/textarea/kinds.md +16 -0
  396. package/docs/components/textarea/rows.md +12 -0
  397. package/docs/components/textarea/sizes.md +13 -0
  398. package/docs/components/textarea/states.md +12 -0
  399. package/docs/components/textarea/usage.md +17 -0
  400. package/docs/components/theme/_meta.yaml +9 -0
  401. package/docs/components/theme/available-themes.md +16 -0
  402. package/docs/components/theme/intro.md +8 -0
  403. package/docs/components/theme/nested-themes.md +16 -0
  404. package/docs/components/theme/portal-components.md +19 -0
  405. package/docs/components/theme/programmatic-switching.md +19 -0
  406. package/docs/components/theme/usage.md +16 -0
  407. package/docs/components/toast/_meta.yaml +11 -0
  408. package/docs/components/toast/dismiss.md +15 -0
  409. package/docs/components/toast/duration.md +23 -0
  410. package/docs/components/toast/intro.md +8 -0
  411. package/docs/components/toast/kinds.md +13 -0
  412. package/docs/components/toast/real-world.md +23 -0
  413. package/docs/components/toast/setup.md +16 -0
  414. package/docs/components/toast/usage.md +18 -0
  415. package/docs/components/toast/with-title.md +14 -0
  416. package/docs/components/tooltip/_meta.yaml +14 -0
  417. package/docs/components/tooltip/alignment.md +24 -0
  418. package/docs/components/tooltip/app-level-provider.md +21 -0
  419. package/docs/components/tooltip/arrow.md +21 -0
  420. package/docs/components/tooltip/custom-colors.md +24 -0
  421. package/docs/components/tooltip/delay.md +27 -0
  422. package/docs/components/tooltip/intro.md +8 -0
  423. package/docs/components/tooltip/kinds.md +27 -0
  424. package/docs/components/tooltip/positioning.md +24 -0
  425. package/docs/components/tooltip/provider.md +26 -0
  426. package/docs/components/tooltip/real-world.md +32 -0
  427. package/docs/components/tooltip/usage.md +15 -0
  428. package/docs/guides/ai-llms.md +63 -0
  429. package/docs/guides/design-tokens/_meta.yaml +14 -0
  430. package/docs/guides/design-tokens/advanced.md +60 -0
  431. package/docs/guides/design-tokens/architecture.md +11 -0
  432. package/docs/guides/design-tokens/best-practices.md +21 -0
  433. package/docs/guides/design-tokens/component-tokens.md +37 -0
  434. package/docs/guides/design-tokens/foundation-colors.md +13 -0
  435. package/docs/guides/design-tokens/foundation-other.md +41 -0
  436. package/docs/guides/design-tokens/intro.md +19 -0
  437. package/docs/guides/design-tokens/semantic-kinds.md +33 -0
  438. package/docs/guides/design-tokens/semantic-states.md +55 -0
  439. package/docs/guides/design-tokens/themes.md +38 -0
  440. package/docs/guides/design-tokens/usage.md +55 -0
  441. package/package.json +3 -5
  442. package/src/components/Accordion/SkAccordion.vue +51 -37
  443. package/src/components/Accordion/SkAccordionItem.vue +40 -20
  444. package/src/components/Alert/SkAlert.vue +37 -27
  445. package/src/components/Avatar/SkAvatar.vue +69 -10
  446. package/src/components/Breadcrumbs/SkBreadcrumbItem.vue +63 -1
  447. package/src/components/Breadcrumbs/SkBreadcrumbSeparator.vue +32 -3
  448. package/src/components/Breadcrumbs/SkBreadcrumbs.vue +36 -0
  449. package/src/components/Button/SkButton.vue +83 -17
  450. package/src/components/Card/SkCard.vue +84 -17
  451. package/src/components/Checkbox/SkCheckbox.vue +52 -12
  452. package/src/components/Collapsible/SkCollapsible.vue +65 -27
  453. package/src/components/Divider/SkDivider.vue +51 -11
  454. package/src/components/Dropdown/SkDropdown.vue +54 -11
  455. package/src/components/Dropdown/SkDropdownMenuItem.vue +25 -6
  456. package/src/components/Dropdown/SkDropdownMenuSeparator.vue +16 -2
  457. package/src/components/Dropdown/SkDropdownSubmenu.vue +30 -8
  458. package/src/components/Field/SkField.vue +83 -15
  459. package/src/components/Group/SkGroup.vue +24 -9
  460. package/src/components/Input/SkInput.vue +77 -15
  461. package/src/components/Listbox/SkListbox.vue +48 -10
  462. package/src/components/Listbox/SkListboxItem.vue +28 -7
  463. package/src/components/Listbox/SkListboxSeparator.vue +16 -2
  464. package/src/components/Modal/SkModal.vue +85 -36
  465. package/src/components/NavBar/SkNavBar.vue +39 -9
  466. package/src/components/NumberInput/SkNumberInput.vue +85 -16
  467. package/src/components/Page/SkPage.vue +55 -6
  468. package/src/components/Pagination/SkPagination.vue +88 -0
  469. package/src/components/Pagination/SkPaginationItem.vue +51 -1
  470. package/src/components/Panel/SkPanel.vue +46 -12
  471. package/src/components/Popover/SkPopover.vue +91 -36
  472. package/src/components/Progress/SkProgress.vue +74 -10
  473. package/src/components/Radio/SkRadio.vue +48 -12
  474. package/src/components/Radio/SkRadioGroup.vue +69 -13
  475. package/src/components/Sidebar/SkSidebar.vue +36 -29
  476. package/src/components/Sidebar/SkSidebarItem.vue +34 -9
  477. package/src/components/Sidebar/SkSidebarSection.vue +22 -8
  478. package/src/components/Skeleton/SkSkeleton.vue +75 -8
  479. package/src/components/Slider/SkSlider.vue +91 -15
  480. package/src/components/Spinner/SkSpinner.vue +50 -6
  481. package/src/components/Switch/SkSwitch.vue +98 -35
  482. package/src/components/Table/SkTable.vue +79 -15
  483. package/src/components/Tabs/SkTab.vue +41 -11
  484. package/src/components/Tabs/SkTabList.vue +24 -8
  485. package/src/components/Tabs/SkTabPanel.vue +31 -9
  486. package/src/components/Tabs/SkTabPanels.vue +21 -4
  487. package/src/components/Tabs/SkTabs.vue +49 -37
  488. package/src/components/Tag/SkTag.vue +57 -32
  489. package/src/components/TagsInput/SkTagsInput.vue +75 -14
  490. package/src/components/Textarea/SkTextarea.vue +78 -15
  491. package/src/components/Theme/SkTheme.vue +27 -3
  492. package/src/components/Theme/types.ts +14 -5
  493. package/src/components/Toast/SkToast.vue +56 -9
  494. package/src/components/Toast/SkToastProvider.vue +43 -17
  495. package/src/components/Tooltip/SkTooltip.vue +66 -35
  496. package/src/components/Tooltip/SkTooltipProvider.vue +36 -36
  497. package/src/composables/usePortalContext.test.ts +2 -0
  498. package/src/styles/components/_alert.scss +0 -22
  499. package/web-types.json +302 -282
  500. package/docs/components/accordion.md +0 -92
  501. package/docs/components/alert.md +0 -72
  502. package/docs/components/avatar.md +0 -69
  503. package/docs/components/breadcrumbs.md +0 -65
  504. package/docs/components/button.md +0 -110
  505. package/docs/components/card.md +0 -87
  506. package/docs/components/checkbox.md +0 -77
  507. package/docs/components/collapsible.md +0 -71
  508. package/docs/components/divider.md +0 -62
  509. package/docs/components/dropdown.md +0 -88
  510. package/docs/components/field.md +0 -80
  511. package/docs/components/group.md +0 -41
  512. package/docs/components/input.md +0 -84
  513. package/docs/components/listbox.md +0 -82
  514. package/docs/components/modal.md +0 -101
  515. package/docs/components/navbar.md +0 -64
  516. package/docs/components/number-input.md +0 -78
  517. package/docs/components/page.md +0 -77
  518. package/docs/components/pagination.md +0 -88
  519. package/docs/components/panel.md +0 -74
  520. package/docs/components/popover.md +0 -93
  521. package/docs/components/progress.md +0 -76
  522. package/docs/components/radio.md +0 -86
  523. package/docs/components/sidebar.md +0 -74
  524. package/docs/components/skeleton.md +0 -76
  525. package/docs/components/slider.md +0 -94
  526. package/docs/components/spinner.md +0 -59
  527. package/docs/components/switch.md +0 -97
  528. package/docs/components/table.md +0 -91
  529. package/docs/components/tabs.md +0 -108
  530. package/docs/components/tag.md +0 -75
  531. package/docs/components/tags-input.md +0 -88
  532. package/docs/components/textarea.md +0 -80
  533. package/docs/components/theme.md +0 -65
  534. package/docs/components/toast.md +0 -95
  535. package/docs/components/tooltip.md +0 -90
  536. package/docs/guides/design-tokens.md +0 -105
@@ -0,0 +1,12 @@
1
+ ---
2
+ section: variants
3
+ order: 3
4
+ ---
5
+
6
+ Choose from three animation styles to match your design aesthetic: `circular` (default) for a dual rotating arc, `dots` for three bouncing dots, and `crosshair` for a rotating targeting animation.
7
+
8
+ ```vue
9
+ <SkSpinner variant="circular" />
10
+ <SkSpinner variant="dots" />
11
+ <SkSpinner variant="crosshair" />
12
+ ```
@@ -0,0 +1,12 @@
1
+ component: SkSwitch
2
+ category: Forms
3
+ sections:
4
+ - intro
5
+ - usage
6
+ - kinds
7
+ - sizes
8
+ - dynamic-labels
9
+ - thumb-color
10
+ - disabled
11
+ - custom-colors
12
+ - accessibility
@@ -0,0 +1,6 @@
1
+ ---
2
+ section: accessibility
3
+ order: 9
4
+ ---
5
+
6
+ Built on RekaUI Switch which provides `role="switch"` and `aria-checked`. The label is associated via a wrapping `<label>` element. Space key toggles the state.
@@ -0,0 +1,29 @@
1
+ ---
2
+ section: custom-colors
3
+ order: 8
4
+ ---
5
+
6
+ Use `base-color` to customize the switch track with any CSS color value. Provide `text-color` if needed for labels.
7
+
8
+ ```vue
9
+ <SkSwitch
10
+ v-model="value"
11
+ base-color="oklch(0.7 0.25 45)"
12
+ text-color="white"
13
+ label="Custom Orange Switch"
14
+ />
15
+
16
+ <SkSwitch
17
+ v-model="value"
18
+ base-color="oklch(0.65 0.25 280)"
19
+ text-color="white"
20
+ label="Custom Purple Switch"
21
+ />
22
+
23
+ <SkSwitch
24
+ v-model="value"
25
+ base-color="#10B981"
26
+ text-color="white"
27
+ label="Hex Color (Green)"
28
+ />
29
+ ```
@@ -0,0 +1,11 @@
1
+ ---
2
+ section: disabled
3
+ order: 7
4
+ ---
5
+
6
+ Disabled switches have reduced opacity and cannot be toggled.
7
+
8
+ ```vue
9
+ <SkSwitch :model-value="true" :disabled="true" label="Disabled (On)" />
10
+ <SkSwitch :model-value="false" :disabled="true" label="Disabled (Off)" />
11
+ ```
@@ -0,0 +1,12 @@
1
+ ---
2
+ section: dynamic-labels
3
+ order: 5
4
+ ---
5
+
6
+ Use `labelOn` and `labelOff` props to display different text based on the switch state. Labels animate by default.
7
+
8
+ ```vue
9
+ <SkSwitch v-model="value" kind="success" label-on="Enabled" label-off="Disabled" />
10
+ <SkSwitch v-model="darkMode" kind="primary" label-on="Dark Mode" label-off="Light Mode" />
11
+ <SkSwitch v-model="visibility" kind="warning" label-on="Public" label-off="Private" />
12
+ ```
@@ -0,0 +1,8 @@
1
+ ---
2
+ section: intro
3
+ order: 1
4
+ ---
5
+
6
+ # SkSwitch
7
+
8
+ A toggle switch component for binary on/off choices. Supports dynamic labels that change with state and flexible thumb styling. Built on RekaUI's Switch primitive.
@@ -0,0 +1,16 @@
1
+ ---
2
+ section: kinds
3
+ order: 3
4
+ ---
5
+
6
+ Choose from semantic kinds to match your theme or indicate status.
7
+
8
+ ```vue
9
+ <SkSwitch v-model="value" kind="neutral" label="Neutral" />
10
+ <SkSwitch v-model="value" kind="primary" label="Primary" />
11
+ <SkSwitch v-model="value" kind="accent" label="Accent" />
12
+ <SkSwitch v-model="value" kind="info" label="Info" />
13
+ <SkSwitch v-model="value" kind="success" label="Success" />
14
+ <SkSwitch v-model="value" kind="warning" label="Warning" />
15
+ <SkSwitch v-model="value" kind="danger" label="Danger" />
16
+ ```
@@ -0,0 +1,14 @@
1
+ ---
2
+ section: sizes
3
+ order: 4
4
+ ---
5
+
6
+ Five sizes available from `xs` to `xl`.
7
+
8
+ ```vue
9
+ <SkSwitch v-model="value" size="xs" label="Extra Small" />
10
+ <SkSwitch v-model="value" size="sm" label="Small" />
11
+ <SkSwitch v-model="value" size="md" label="Medium" />
12
+ <SkSwitch v-model="value" size="lg" label="Large" />
13
+ <SkSwitch v-model="value" size="xl" label="Extra Large" />
14
+ ```
@@ -0,0 +1,16 @@
1
+ ---
2
+ section: thumb-color
3
+ order: 6
4
+ ---
5
+
6
+ Use `thumbKind` to customize the thumb color independently from the track.
7
+
8
+ ```vue
9
+ <SkSwitch
10
+ v-model="value"
11
+ kind="primary"
12
+ thumb-kind="warning"
13
+ label="Primary track, Warning thumb"
14
+ />
15
+ <SkSwitch v-model="value" kind="success" thumb-kind="danger" label="Success track, Danger thumb" />
16
+ ```
@@ -0,0 +1,18 @@
1
+ ---
2
+ section: usage
3
+ order: 2
4
+ ---
5
+
6
+ Use `v-model` for two-way binding. Add a `label` prop to describe the switch's purpose.
7
+
8
+ ```vue
9
+ <script setup>
10
+ import { ref } from 'vue';
11
+
12
+ const isEnabled = ref(true);
13
+ </script>
14
+
15
+ <template>
16
+ <SkSwitch v-model="isEnabled" label="Enable notifications" />
17
+ </template>
18
+ ```
@@ -0,0 +1,12 @@
1
+ component: SkTable
2
+ category: Feedback
3
+ sections:
4
+ - intro
5
+ - usage
6
+ - kinds
7
+ - striped
8
+ - hoverable
9
+ - borders
10
+ - variants
11
+ - subtle
12
+ - accessibility
@@ -0,0 +1,6 @@
1
+ ---
2
+ section: accessibility
3
+ order: 9
4
+ ---
5
+
6
+ SkTable renders as a standard `<table>` element. Use semantic `<thead>`, `<tbody>`, `<th>`, and `<td>` elements. Add `scope="col"` or `scope="row"` to header cells for screen reader clarity.
@@ -0,0 +1,17 @@
1
+ ---
2
+ section: borders
3
+ order: 6
4
+ ---
5
+
6
+ Control table borders with the `bordered` and `innerBorders` props. Inner borders are disabled by default for a cleaner look.
7
+
8
+ ```vue
9
+ <!-- With inner borders -->
10
+ <SkTable :inner-borders="true">...</SkTable>
11
+
12
+ <!-- No inner borders (default) -->
13
+ <SkTable>...</SkTable>
14
+
15
+ <!-- No borders at all -->
16
+ <SkTable :bordered="false">...</SkTable>
17
+ ```
@@ -0,0 +1,26 @@
1
+ ---
2
+ section: hoverable
3
+ order: 5
4
+ ---
5
+
6
+ The `hoverable` prop is enabled by default. Rows highlight on hover for better interactivity.
7
+
8
+ ```vue
9
+ <SkTable hoverable>
10
+ <thead>
11
+ <tr>
12
+ <th>Project</th>
13
+ <th>Progress</th>
14
+ <th>Status</th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td>Website Redesign</td>
20
+ <td>75%</td>
21
+ <td>In Progress</td>
22
+ </tr>
23
+ <!-- More rows... -->
24
+ </tbody>
25
+ </SkTable>
26
+ ```
@@ -0,0 +1,8 @@
1
+ ---
2
+ section: intro
3
+ order: 1
4
+ ---
5
+
6
+ # SkTable
7
+
8
+ A styled HTML table component with striped rows, hover effects, and configurable borders. Wraps standard `<table>` markup with consistent theming.
@@ -0,0 +1,18 @@
1
+ ---
2
+ section: kinds
3
+ order: 3
4
+ ---
5
+
6
+ Choose from semantic kinds (`neutral`, `primary`, `accent`, etc.) that adapt to your theme, or color palette kinds (`neon-blue`, `neon-pink`, etc.) for vibrant, eye-catching designs.
7
+
8
+ ```vue
9
+ <!-- All semantic kinds available -->
10
+ <SkTable kind="neutral">...</SkTable>
11
+ <SkTable kind="primary">...</SkTable>
12
+ <SkTable kind="secondary">...</SkTable>
13
+ <SkTable kind="accent">...</SkTable>
14
+ <SkTable kind="info">...</SkTable>
15
+ <SkTable kind="success">...</SkTable>
16
+ <SkTable kind="warning">...</SkTable>
17
+ <SkTable kind="danger">...</SkTable>
18
+ ```
@@ -0,0 +1,28 @@
1
+ ---
2
+ section: striped
3
+ order: 4
4
+ ---
5
+
6
+ Add the `striped` prop to alternate row background colors for better readability of large tables.
7
+
8
+ ```vue
9
+ <SkTable striped>
10
+ <thead>
11
+ <tr>
12
+ <th>#</th>
13
+ <th>Username</th>
14
+ <th>Email</th>
15
+ <th>Status</th>
16
+ </tr>
17
+ </thead>
18
+ <tbody>
19
+ <tr>
20
+ <td>1</td>
21
+ <td>alice_j</td>
22
+ <td>alice@example.com</td>
23
+ <td>Active</td>
24
+ </tr>
25
+ <!-- More rows... -->
26
+ </tbody>
27
+ </SkTable>
28
+ ```
@@ -0,0 +1,26 @@
1
+ ---
2
+ section: subtle
3
+ order: 8
4
+ ---
5
+
6
+ Use the `subtle` prop for more transparent borders, headers, and footers. Subtle tables use reduced opacity for borders, creating a lighter, more refined aesthetic.
7
+
8
+ ```vue
9
+ <SkTable :subtle="true">
10
+ <thead>
11
+ <tr>
12
+ <th>Product</th>
13
+ <th>Price</th>
14
+ <th>Stock</th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td>Keyboard</td>
20
+ <td>$89.99</td>
21
+ <td>45</td>
22
+ </tr>
23
+ <!-- More rows... -->
24
+ </tbody>
25
+ </SkTable>
26
+ ```
@@ -0,0 +1,30 @@
1
+ ---
2
+ section: usage
3
+ order: 2
4
+ ---
5
+
6
+ Wrap standard HTML table elements (`<thead>`, `<tbody>`, `<tr>`, `<th>`, `<td>`) to apply clean, professional table styling with rounded corners and consistent spacing.
7
+
8
+ ```vue
9
+ <SkTable>
10
+ <thead>
11
+ <tr>
12
+ <th>Name</th>
13
+ <th>Email</th>
14
+ <th>Role</th>
15
+ </tr>
16
+ </thead>
17
+ <tbody>
18
+ <tr>
19
+ <td>Alice Johnson</td>
20
+ <td>alice@example.com</td>
21
+ <td>Developer</td>
22
+ </tr>
23
+ <tr>
24
+ <td>Bob Smith</td>
25
+ <td>bob@example.com</td>
26
+ <td>Designer</td>
27
+ </tr>
28
+ </tbody>
29
+ </SkTable>
30
+ ```
@@ -0,0 +1,23 @@
1
+ ---
2
+ section: variants
3
+ order: 7
4
+ ---
5
+
6
+ Control cell padding with the `variant` prop: `compact`, `default`, or `comfortable`.
7
+
8
+ ```vue
9
+ <!-- Compact spacing -->
10
+ <SkTable variant="compact">
11
+ ...
12
+ </SkTable>
13
+
14
+ <!-- Default spacing -->
15
+ <SkTable variant="default">
16
+ ...
17
+ </SkTable>
18
+
19
+ <!-- Comfortable spacing -->
20
+ <SkTable variant="comfortable">
21
+ ...
22
+ </SkTable>
23
+ ```
@@ -0,0 +1,10 @@
1
+ component: SkTabs
2
+ category: Navigation
3
+ sections:
4
+ - intro
5
+ - usage
6
+ - kinds
7
+ - vertical
8
+ - icons
9
+ - custom-colors
10
+ - accessibility
@@ -0,0 +1,6 @@
1
+ ---
2
+ section: accessibility
3
+ order: 7
4
+ ---
5
+
6
+ Built on RekaUI Tabs which provides `role="tablist"`, `role="tab"`, and `role="tabpanel"` with proper `aria-selected`, `aria-controls`, and `aria-labelledby` associations. Arrow keys navigate between tabs, Home/End jump to first/last tab.
@@ -0,0 +1,23 @@
1
+ ---
2
+ section: custom-colors
3
+ order: 6
4
+ ---
5
+
6
+ Use `base-color` to customize tab colors with any CSS color value. Provide `text-color` for tab text colors.
7
+
8
+ ```vue
9
+ <SkTabs v-model="activeTab" base-color="oklch(0.65 0.25 280)" text-color="white">
10
+ <SkTabList>
11
+ <SkTab name="overview">Overview</SkTab>
12
+ <SkTab name="details">Details</SkTab>
13
+ <SkTab name="analytics">Analytics</SkTab>
14
+ </SkTabList>
15
+ <SkTabPanels>
16
+ <SkTabPanel name="overview">
17
+ <h4>Overview</h4>
18
+ <p>Custom purple tabs with white text using OKLCH color values.</p>
19
+ </SkTabPanel>
20
+ <!-- More panels -->
21
+ </SkTabPanels>
22
+ </SkTabs>
23
+ ```
@@ -0,0 +1,23 @@
1
+ ---
2
+ section: icons
3
+ order: 5
4
+ ---
5
+
6
+ Enhance tab triggers with FontAwesome icons for visual identification.
7
+
8
+ ```vue
9
+ <SkTabs v-model="activeTab" kind="primary">
10
+ <SkTabList>
11
+ <SkTab name="home">
12
+ <FontAwesomeIcon :icon="['fasds', 'house']" class="mr-2" /> Home
13
+ </SkTab>
14
+ <SkTab name="user">
15
+ <FontAwesomeIcon :icon="['fasds', 'user']" class="mr-2" /> Profile
16
+ </SkTab>
17
+ <SkTab name="settings">
18
+ <FontAwesomeIcon :icon="['fasds', 'gear']" class="mr-2" /> Settings
19
+ </SkTab>
20
+ </SkTabList>
21
+ <!-- Content panels -->
22
+ </SkTabs>
23
+ ```
@@ -0,0 +1,8 @@
1
+ ---
2
+ section: intro
3
+ order: 1
4
+ ---
5
+
6
+ # SkTabs
7
+
8
+ A tabbed interface for organizing content into switchable panels. Composed of SkTabs, SkTabList, SkTab, SkTabPanels, and SkTabPanel. Built on RekaUI's Tabs primitive.
@@ -0,0 +1,30 @@
1
+ ---
2
+ section: kinds
3
+ order: 3
4
+ ---
5
+
6
+ Apply semantic colors to tabs using the `kind` prop.
7
+
8
+ ```vue
9
+ <SkTabs v-model="activeTab" kind="primary">
10
+ <SkTabList>
11
+ <SkTab name="tab1">Tab One</SkTab>
12
+ <SkTab name="tab2">Tab Two</SkTab>
13
+ </SkTabList>
14
+ <SkTabPanels>
15
+ <SkTabPanel name="tab1">Primary kind tabs</SkTabPanel>
16
+ <SkTabPanel name="tab2">Content for tab two</SkTabPanel>
17
+ </SkTabPanels>
18
+ </SkTabs>
19
+
20
+ <SkTabs v-model="activeTab" kind="success">
21
+ <SkTabList>
22
+ <SkTab name="tab1">Tab One</SkTab>
23
+ <SkTab name="tab2">Tab Two</SkTab>
24
+ </SkTabList>
25
+ <SkTabPanels>
26
+ <SkTabPanel name="tab1">Success kind tabs</SkTabPanel>
27
+ <SkTabPanel name="tab2">Content for tab two</SkTabPanel>
28
+ </SkTabPanels>
29
+ </SkTabs>
30
+ ```
@@ -0,0 +1,38 @@
1
+ ---
2
+ section: usage
3
+ order: 2
4
+ ---
5
+
6
+ Use `v-model` to control the active tab. Each tab trigger and content panel needs a matching `name` prop.
7
+
8
+ ```vue
9
+ <script setup>
10
+ import { ref } from 'vue';
11
+
12
+ const activeTab = ref('profile');
13
+ </script>
14
+
15
+ <template>
16
+ <SkTabs v-model="activeTab">
17
+ <SkTabList>
18
+ <SkTab name="profile">Profile</SkTab>
19
+ <SkTab name="settings">Settings</SkTab>
20
+ <SkTab name="notifications">Notifications</SkTab>
21
+ </SkTabList>
22
+ <SkTabPanels>
23
+ <SkTabPanel name="profile">
24
+ <h4>Profile Settings</h4>
25
+ <p>Manage your personal information.</p>
26
+ </SkTabPanel>
27
+ <SkTabPanel name="settings">
28
+ <h4>General Settings</h4>
29
+ <p>Configure application settings.</p>
30
+ </SkTabPanel>
31
+ <SkTabPanel name="notifications">
32
+ <h4>Notification Preferences</h4>
33
+ <p>Choose how you want to be notified.</p>
34
+ </SkTabPanel>
35
+ </SkTabPanels>
36
+ </SkTabs>
37
+ </template>
38
+ ```
@@ -0,0 +1,23 @@
1
+ ---
2
+ section: vertical
3
+ order: 4
4
+ ---
5
+
6
+ Set `orientation="vertical"` to display tabs in a column layout.
7
+
8
+ ```vue
9
+ <SkTabs v-model="activeTab" orientation="vertical" kind="primary">
10
+ <SkTabList>
11
+ <SkTab name="account">Account</SkTab>
12
+ <SkTab name="appearance">Appearance</SkTab>
13
+ <SkTab name="notifications">Notifications</SkTab>
14
+ </SkTabList>
15
+ <SkTabPanels>
16
+ <SkTabPanel name="account">
17
+ <h4>Account Settings</h4>
18
+ <p>Manage your account details.</p>
19
+ </SkTabPanel>
20
+ <!-- More content panels -->
21
+ </SkTabPanels>
22
+ </SkTabs>
23
+ ```
@@ -0,0 +1,11 @@
1
+ component: SkTag
2
+ category: Feedback
3
+ sections:
4
+ - intro
5
+ - usage
6
+ - variants
7
+ - kinds
8
+ - sizes
9
+ - removable
10
+ - custom-colors
11
+ - accessibility
@@ -0,0 +1,6 @@
1
+ ---
2
+ section: accessibility
3
+ order: 8
4
+ ---
5
+
6
+ The remove button is keyboard-accessible. Developers should provide context (such as an `aria-label`) if the tag content alone does not convey its purpose to screen readers.
@@ -0,0 +1,32 @@
1
+ ---
2
+ section: custom-colors
3
+ order: 7
4
+ ---
5
+
6
+ Use `base-color` with any CSS color value. Provide `text-color` for optimal contrast, or it defaults to the theme's neutral text.
7
+
8
+ ```vue
9
+ <SkTag
10
+ base-color="oklch(0.75 0.2 150)"
11
+ text-color="white"
12
+ variant="solid"
13
+ >
14
+ Custom Green
15
+ </SkTag>
16
+
17
+ <SkTag
18
+ base-color="oklch(0.7 0.25 300)"
19
+ text-color="white"
20
+ variant="solid"
21
+ >
22
+ Custom Purple
23
+ </SkTag>
24
+
25
+ <SkTag
26
+ base-color="#FF6B6B"
27
+ text-color="white"
28
+ variant="outline"
29
+ >
30
+ Hex Color
31
+ </SkTag>
32
+ ```
@@ -0,0 +1,8 @@
1
+ ---
2
+ section: intro
3
+ order: 1
4
+ ---
5
+
6
+ # SkTag
7
+
8
+ A compact label component for metadata, categories, status indicators, or keywords. Supports removable tags with a close button.
@@ -0,0 +1,16 @@
1
+ ---
2
+ section: kinds
3
+ order: 4
4
+ ---
5
+
6
+ Choose from semantic kinds to indicate status, category, or priority.
7
+
8
+ ```vue
9
+ <SkTag kind="neutral">Neutral</SkTag>
10
+ <SkTag kind="primary">Primary</SkTag>
11
+ <SkTag kind="accent">Accent</SkTag>
12
+ <SkTag kind="info">Info</SkTag>
13
+ <SkTag kind="success">Success</SkTag>
14
+ <SkTag kind="warning">Warning</SkTag>
15
+ <SkTag kind="danger">Danger</SkTag>
16
+ ```
@@ -0,0 +1,33 @@
1
+ ---
2
+ section: removable
3
+ order: 6
4
+ ---
5
+
6
+ Enable `removable` to add a remove button. Handle the `@remove` event to respond when users click the remove button.
7
+
8
+ ```vue
9
+ <script setup>
10
+ import { ref } from 'vue';
11
+
12
+ const tags = ref(['JavaScript', 'TypeScript', 'Vue.js', 'React', 'Angular']);
13
+
14
+ function removeTag(tag) {
15
+ const index = tags.value.indexOf(tag);
16
+ if (index > -1) {
17
+ tags.value.splice(index, 1);
18
+ }
19
+ }
20
+ </script>
21
+
22
+ <template>
23
+ <SkTag
24
+ v-for="tag in tags"
25
+ :key="tag"
26
+ :removable="true"
27
+ kind="primary"
28
+ @remove="removeTag(tag)"
29
+ >
30
+ {{ tag }}
31
+ </SkTag>
32
+ </template>
33
+ ```