@sakoa/ui 0.1.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 (345) hide show
  1. package/README.md +171 -0
  2. package/dist/App.d.ts +2 -0
  3. package/dist/cli/index.js +9243 -0
  4. package/dist/components/DemoSection.d.ts +30 -0
  5. package/dist/components/SApiKeyboard.d.ts +22 -0
  6. package/dist/components/SApiSection.d.ts +21 -0
  7. package/dist/components/SApiTable.d.ts +46 -0
  8. package/dist/components/STableOfContents.d.ts +2 -0
  9. package/dist/components/ui/SAlert.d.ts +76 -0
  10. package/dist/components/ui/SBadge.d.ts +56 -0
  11. package/dist/components/ui/SButton.d.ts +67 -0
  12. package/dist/components/ui/SCheckbox.d.ts +64 -0
  13. package/dist/components/ui/SChip.d.ts +43 -0
  14. package/dist/components/ui/SDatePicker.d.ts +77 -0
  15. package/dist/components/ui/SGlassButton.d.ts +70 -0
  16. package/dist/components/ui/SIcon.d.ts +29 -0
  17. package/dist/components/ui/SInput.d.ts +129 -0
  18. package/dist/components/ui/SKbd.d.ts +24 -0
  19. package/dist/components/ui/SKbdShortcut.d.ts +14 -0
  20. package/dist/components/ui/SSelect.d.ts +148 -0
  21. package/dist/components/ui/SSkeleton.d.ts +37 -0
  22. package/dist/components/ui/SSwitch.d.ts +61 -0
  23. package/dist/components/ui/STooltip.d.ts +82 -0
  24. package/dist/components/ui/accordion/SAccordionContent.d.ts +23 -0
  25. package/dist/components/ui/accordion/SAccordionItem.d.ts +70 -0
  26. package/dist/components/ui/accordion/SAccordionTrigger.d.ts +37 -0
  27. package/dist/components/ui/accordion/index.d.ts +4 -0
  28. package/dist/components/ui/avatar/SAvatar.d.ts +36 -0
  29. package/dist/components/ui/avatar/SAvatarFallback.d.ts +26 -0
  30. package/dist/components/ui/avatar/SAvatarGroup.d.ts +30 -0
  31. package/dist/components/ui/avatar/SAvatarImage.d.ts +23 -0
  32. package/dist/components/ui/avatar/index.d.ts +4 -0
  33. package/dist/components/ui/breadcrumb/SBreadcrumb.d.ts +22 -0
  34. package/dist/components/ui/breadcrumb/SBreadcrumbEllipsis.d.ts +17 -0
  35. package/dist/components/ui/breadcrumb/SBreadcrumbItem.d.ts +17 -0
  36. package/dist/components/ui/breadcrumb/SBreadcrumbLink.d.ts +26 -0
  37. package/dist/components/ui/breadcrumb/SBreadcrumbList.d.ts +17 -0
  38. package/dist/components/ui/breadcrumb/SBreadcrumbPage.d.ts +17 -0
  39. package/dist/components/ui/breadcrumb/SBreadcrumbSeparator.d.ts +17 -0
  40. package/dist/components/ui/breadcrumb/index.d.ts +7 -0
  41. package/dist/components/ui/card/SCard.d.ts +103 -0
  42. package/dist/components/ui/card/SCardActions.d.ts +44 -0
  43. package/dist/components/ui/card/SCardContent.d.ts +35 -0
  44. package/dist/components/ui/card/SCardFooter.d.ts +38 -0
  45. package/dist/components/ui/card/SCardHeader.d.ts +53 -0
  46. package/dist/components/ui/card/SCardMedia.d.ts +83 -0
  47. package/dist/components/ui/card/SGlassCard.d.ts +103 -0
  48. package/dist/components/ui/card/SMorphingCardContent.d.ts +18 -0
  49. package/dist/components/ui/card/index.d.ts +24 -0
  50. package/dist/components/ui/carousel/SCarousel.d.ts +166 -0
  51. package/dist/components/ui/carousel/index.d.ts +2 -0
  52. package/dist/components/ui/color-picker/SColorPickerAlphaSlider.d.ts +4 -0
  53. package/dist/components/ui/color-picker/SColorPickerCopy.d.ts +19 -0
  54. package/dist/components/ui/color-picker/SColorPickerEyeDropper.d.ts +17 -0
  55. package/dist/components/ui/color-picker/SColorPickerHueSlider.d.ts +4 -0
  56. package/dist/components/ui/color-picker/SColorPickerInputs.d.ts +2 -0
  57. package/dist/components/ui/color-picker/SColorPickerPresets.d.ts +9 -0
  58. package/dist/components/ui/color-picker/SColorPickerPreview.d.ts +2 -0
  59. package/dist/components/ui/color-picker/SColorPickerRecent.d.ts +7 -0
  60. package/dist/components/ui/color-picker/SColorPickerSpectrum.d.ts +4 -0
  61. package/dist/components/ui/color-picker/index.d.ts +11 -0
  62. package/dist/components/ui/drawer/index.d.ts +11 -0
  63. package/dist/components/ui/dropdown/SDropdownDivider.d.ts +8 -0
  64. package/dist/components/ui/dropdown/SDropdownGroup.d.ts +25 -0
  65. package/dist/components/ui/dropdown/SDropdownItem.d.ts +56 -0
  66. package/dist/components/ui/dropdown/index.d.ts +4 -0
  67. package/dist/components/ui/form/SForm.d.ts +38 -0
  68. package/dist/components/ui/form/SFormField.d.ts +31 -0
  69. package/dist/components/ui/form/index.d.ts +5 -0
  70. package/dist/components/ui/modal/index.d.ts +19 -0
  71. package/dist/components/ui/option/SOption.d.ts +32 -0
  72. package/dist/components/ui/option/SOptionGroup.d.ts +28 -0
  73. package/dist/components/ui/option/index.d.ts +2 -0
  74. package/dist/components/ui/otp/SOTP.d.ts +122 -0
  75. package/dist/components/ui/otp/SOTPGroup.d.ts +23 -0
  76. package/dist/components/ui/otp/SOTPSeparator.d.ts +17 -0
  77. package/dist/components/ui/otp/SOTPSlot.d.ts +49 -0
  78. package/dist/components/ui/otp/index.d.ts +7 -0
  79. package/dist/components/ui/otp/types.d.ts +26 -0
  80. package/dist/components/ui/otp/useOTPContext.d.ts +42 -0
  81. package/dist/components/ui/pagination/SPagination.d.ts +151 -0
  82. package/dist/components/ui/pagination/index.d.ts +2 -0
  83. package/dist/components/ui/progress/SProgress.d.ts +62 -0
  84. package/dist/components/ui/progress/SProgressRange.d.ts +91 -0
  85. package/dist/components/ui/progress/index.d.ts +4 -0
  86. package/dist/components/ui/radio/SRadio.d.ts +58 -0
  87. package/dist/components/ui/radio/SRadioGroup.d.ts +52 -0
  88. package/dist/components/ui/radio/index.d.ts +2 -0
  89. package/dist/components/ui/stepper/SStepper.d.ts +83 -0
  90. package/dist/components/ui/stepper/SStepperContent.d.ts +24 -0
  91. package/dist/components/ui/stepper/SStepperDescription.d.ts +20 -0
  92. package/dist/components/ui/stepper/SStepperIndicator.d.ts +37 -0
  93. package/dist/components/ui/stepper/SStepperItem.d.ts +37 -0
  94. package/dist/components/ui/stepper/SStepperSeparator.d.ts +5 -0
  95. package/dist/components/ui/stepper/SStepperTitle.d.ts +20 -0
  96. package/dist/components/ui/stepper/SStepperTrigger.d.ts +22 -0
  97. package/dist/components/ui/stepper/index.d.ts +11 -0
  98. package/dist/components/ui/table/STableBody.d.ts +27 -0
  99. package/dist/components/ui/table/STableCell.d.ts +55 -0
  100. package/dist/components/ui/table/STableColumn.d.ts +87 -0
  101. package/dist/components/ui/table/STableEmpty.d.ts +54 -0
  102. package/dist/components/ui/table/STableHeader.d.ts +25 -0
  103. package/dist/components/ui/table/STableRow.d.ts +38 -0
  104. package/dist/components/ui/table/STableSkeleton.d.ts +29 -0
  105. package/dist/components/ui/table/index.d.ts +98 -0
  106. package/dist/components/ui/table/useDataTable.d.ts +80 -0
  107. package/dist/components/ui/tabs/STabPane.d.ts +31 -0
  108. package/dist/components/ui/tabs/STabsContent.d.ts +21 -0
  109. package/dist/components/ui/tabs/STabsIndicator.d.ts +9 -0
  110. package/dist/components/ui/tabs/STabsTrigger.d.ts +28 -0
  111. package/dist/components/ui/tabs/index.d.ts +6 -0
  112. package/dist/components/ui/toast/SToast.d.ts +49 -0
  113. package/dist/components/ui/toast/SToastContainer.d.ts +21 -0
  114. package/dist/components/ui/toast/index.d.ts +2 -0
  115. package/dist/composables/useAsync.d.ts +134 -0
  116. package/dist/composables/useClickOutside.d.ts +69 -0
  117. package/dist/composables/useClipboard.d.ts +46 -0
  118. package/dist/composables/useDebounce.d.ts +150 -0
  119. package/dist/composables/useDialog.d.ts +118 -0
  120. package/dist/composables/useForm.d.ts +204 -0
  121. package/dist/composables/useHotkey.d.ts +128 -0
  122. package/dist/composables/useIntersectionObserver.d.ts +156 -0
  123. package/dist/composables/useLocalStorage.d.ts +120 -0
  124. package/dist/composables/useMediaQuery.d.ts +115 -0
  125. package/dist/composables/useTheme.d.ts +8 -0
  126. package/dist/composables/useToast.d.ts +1619 -0
  127. package/dist/index.d.ts +71 -0
  128. package/dist/layouts/UILayout.d.ts +2 -0
  129. package/dist/lib/utils.d.ts +2 -0
  130. package/dist/main.d.ts +0 -0
  131. package/dist/router.d.ts +2 -0
  132. package/dist/saka-ui.css +1 -0
  133. package/dist/saka-ui.js +18513 -0
  134. package/dist/saka-ui.umd.cjs +38 -0
  135. package/dist/views/docs/CustomizationView.d.ts +2 -0
  136. package/dist/views/docs/FormValidationView.d.ts +2 -0
  137. package/dist/views/docs/StylingGuideView.d.ts +2 -0
  138. package/dist/views/docs/UseAsyncView.d.ts +2 -0
  139. package/dist/views/docs/UseClickOutsideView.d.ts +124 -0
  140. package/dist/views/docs/UseClipboardView.d.ts +4 -0
  141. package/dist/views/docs/UseDebounceView.d.ts +2 -0
  142. package/dist/views/docs/UseHotkeyView.d.ts +205 -0
  143. package/dist/views/docs/UseIntersectionObserverView.d.ts +5 -0
  144. package/dist/views/docs/UseLocalStorageView.d.ts +2 -0
  145. package/dist/views/docs/UseMediaQueryView.d.ts +2 -0
  146. package/dist/views/docs/UseThemeView.d.ts +2 -0
  147. package/dist/views/examples/AuthFormView.d.ts +2 -0
  148. package/dist/views/examples/CreditCardFormView.d.ts +6 -0
  149. package/dist/views/examples/FormFieldExampleView.d.ts +2 -0
  150. package/dist/views/examples/ProjectFormView.d.ts +2 -0
  151. package/dist/views/ui/AccordionView.d.ts +2 -0
  152. package/dist/views/ui/AlertView.d.ts +2 -0
  153. package/dist/views/ui/AvatarView.d.ts +2 -0
  154. package/dist/views/ui/BadgeView.d.ts +2 -0
  155. package/dist/views/ui/BreadcrumbView.d.ts +2 -0
  156. package/dist/views/ui/ButtonView.d.ts +2 -0
  157. package/dist/views/ui/CardView.d.ts +2 -0
  158. package/dist/views/ui/CarouselView.d.ts +274 -0
  159. package/dist/views/ui/CheckboxView.d.ts +2 -0
  160. package/dist/views/ui/ChipView.d.ts +2 -0
  161. package/dist/views/ui/ColorPickerView.d.ts +2 -0
  162. package/dist/views/ui/DatePickerView.d.ts +2 -0
  163. package/dist/views/ui/DialogView.d.ts +2 -0
  164. package/dist/views/ui/DrawerView.d.ts +2 -0
  165. package/dist/views/ui/DropdownView.d.ts +2 -0
  166. package/dist/views/ui/GlassButtonView.d.ts +2 -0
  167. package/dist/views/ui/GlassCardView.d.ts +2 -0
  168. package/dist/views/ui/HomeView.d.ts +2 -0
  169. package/dist/views/ui/IconsView.d.ts +2 -0
  170. package/dist/views/ui/InputView.d.ts +2 -0
  171. package/dist/views/ui/KbdView.d.ts +2 -0
  172. package/dist/views/ui/ModalView.d.ts +2 -0
  173. package/dist/views/ui/MorphingCardView.d.ts +2 -0
  174. package/dist/views/ui/MorphingModalView.d.ts +2 -0
  175. package/dist/views/ui/OTPView.d.ts +206 -0
  176. package/dist/views/ui/PaginationView.d.ts +2 -0
  177. package/dist/views/ui/ProgressView.d.ts +2 -0
  178. package/dist/views/ui/RadioView.d.ts +2 -0
  179. package/dist/views/ui/SelectView.d.ts +2 -0
  180. package/dist/views/ui/SkeletonView.d.ts +2 -0
  181. package/dist/views/ui/StepperView.d.ts +2 -0
  182. package/dist/views/ui/SwitchView.d.ts +2 -0
  183. package/dist/views/ui/TableView.d.ts +2 -0
  184. package/dist/views/ui/TabsView.d.ts +2 -0
  185. package/dist/views/ui/ToastView.d.ts +2 -0
  186. package/dist/views/ui/TooltipView.d.ts +2 -0
  187. package/dist/vite.svg +1 -0
  188. package/package.json +64 -0
  189. package/registry/components/accordion.json +19 -0
  190. package/registry/components/alert.json +17 -0
  191. package/registry/components/avatar.json +18 -0
  192. package/registry/components/badge.json +14 -0
  193. package/registry/components/breadcrumb.json +24 -0
  194. package/registry/components/button.json +17 -0
  195. package/registry/components/card.json +23 -0
  196. package/registry/components/carousel.json +19 -0
  197. package/registry/components/checkbox.json +17 -0
  198. package/registry/components/chip.json +17 -0
  199. package/registry/components/color-picker.json +24 -0
  200. package/registry/components/date-picker.json +17 -0
  201. package/registry/components/drawer.json +26 -0
  202. package/registry/components/dropdown.json +21 -0
  203. package/registry/components/form.json +16 -0
  204. package/registry/components/glass-button.json +17 -0
  205. package/registry/components/icon.json +17 -0
  206. package/registry/components/input.json +17 -0
  207. package/registry/components/kbd.json +16 -0
  208. package/registry/components/modal.json +32 -0
  209. package/registry/components/option.json +16 -0
  210. package/registry/components/otp.json +23 -0
  211. package/registry/components/pagination.json +18 -0
  212. package/registry/components/progress.json +16 -0
  213. package/registry/components/radio.json +19 -0
  214. package/registry/components/select.json +17 -0
  215. package/registry/components/skeleton.json +14 -0
  216. package/registry/components/switch.json +17 -0
  217. package/registry/components/table.json +26 -0
  218. package/registry/components/tabs.json +19 -0
  219. package/registry/components/toast.json +19 -0
  220. package/registry/components/tooltip.json +14 -0
  221. package/registry/index.json +4 -0
  222. package/registry/source/components/ui/SAlert.vue +388 -0
  223. package/registry/source/components/ui/SBadge.vue +243 -0
  224. package/registry/source/components/ui/SButton.vue +387 -0
  225. package/registry/source/components/ui/SCheckbox.vue +310 -0
  226. package/registry/source/components/ui/SChip.vue +130 -0
  227. package/registry/source/components/ui/SDatePicker.vue +1290 -0
  228. package/registry/source/components/ui/SGlassButton.vue +547 -0
  229. package/registry/source/components/ui/SIcon.vue +78 -0
  230. package/registry/source/components/ui/SInput.vue +1054 -0
  231. package/registry/source/components/ui/SKbd.vue +96 -0
  232. package/registry/source/components/ui/SKbdShortcut.vue +36 -0
  233. package/registry/source/components/ui/SSelect.vue +1290 -0
  234. package/registry/source/components/ui/SSkeleton.vue +185 -0
  235. package/registry/source/components/ui/SSwitch.vue +275 -0
  236. package/registry/source/components/ui/STooltip.vue +491 -0
  237. package/registry/source/components/ui/accordion/SAccordion.vue +248 -0
  238. package/registry/source/components/ui/accordion/SAccordionItem.vue +353 -0
  239. package/registry/source/components/ui/accordion/index.ts +5 -0
  240. package/registry/source/components/ui/avatar/SAvatar.vue +169 -0
  241. package/registry/source/components/ui/avatar/SAvatarFallback.vue +66 -0
  242. package/registry/source/components/ui/avatar/SAvatarGroup.vue +69 -0
  243. package/registry/source/components/ui/avatar/SAvatarImage.vue +92 -0
  244. package/registry/source/components/ui/avatar/index.ts +5 -0
  245. package/registry/source/components/ui/breadcrumb/SBreadcrumb.vue +23 -0
  246. package/registry/source/components/ui/breadcrumb/SBreadcrumbEllipsis.vue +17 -0
  247. package/registry/source/components/ui/breadcrumb/SBreadcrumbItem.vue +14 -0
  248. package/registry/source/components/ui/breadcrumb/SBreadcrumbLink.vue +46 -0
  249. package/registry/source/components/ui/breadcrumb/SBreadcrumbList.vue +17 -0
  250. package/registry/source/components/ui/breadcrumb/SBreadcrumbPage.vue +15 -0
  251. package/registry/source/components/ui/breadcrumb/SBreadcrumbSeparator.vue +18 -0
  252. package/registry/source/components/ui/breadcrumb/index.ts +7 -0
  253. package/registry/source/components/ui/card/SCard.vue +517 -0
  254. package/registry/source/components/ui/card/SCardActions.vue +129 -0
  255. package/registry/source/components/ui/card/SCardContent.vue +117 -0
  256. package/registry/source/components/ui/card/SCardFooter.vue +103 -0
  257. package/registry/source/components/ui/card/SCardHeader.vue +163 -0
  258. package/registry/source/components/ui/card/SCardMedia.vue +312 -0
  259. package/registry/source/components/ui/card/index.ts +34 -0
  260. package/registry/source/components/ui/carousel/SCarousel.vue +1069 -0
  261. package/registry/source/components/ui/carousel/SCarouselSlide.vue +107 -0
  262. package/registry/source/components/ui/carousel/index.ts +3 -0
  263. package/registry/source/components/ui/color-picker/SColorPicker.vue +772 -0
  264. package/registry/source/components/ui/color-picker/SColorPickerAlphaSlider.vue +158 -0
  265. package/registry/source/components/ui/color-picker/SColorPickerCopy.vue +76 -0
  266. package/registry/source/components/ui/color-picker/SColorPickerEyeDropper.vue +68 -0
  267. package/registry/source/components/ui/color-picker/SColorPickerHueSlider.vue +138 -0
  268. package/registry/source/components/ui/color-picker/SColorPickerInputs.vue +227 -0
  269. package/registry/source/components/ui/color-picker/SColorPickerPresets.vue +87 -0
  270. package/registry/source/components/ui/color-picker/SColorPickerPreview.vue +46 -0
  271. package/registry/source/components/ui/color-picker/SColorPickerRecent.vue +74 -0
  272. package/registry/source/components/ui/color-picker/SColorPickerSpectrum.vue +149 -0
  273. package/registry/source/components/ui/color-picker/index.ts +11 -0
  274. package/registry/source/components/ui/drawer/SDrawer.vue +797 -0
  275. package/registry/source/components/ui/drawer/SDrawerClose.vue +64 -0
  276. package/registry/source/components/ui/drawer/SDrawerContent.vue +81 -0
  277. package/registry/source/components/ui/drawer/SDrawerDescription.vue +40 -0
  278. package/registry/source/components/ui/drawer/SDrawerFooter.vue +97 -0
  279. package/registry/source/components/ui/drawer/SDrawerHandle.vue +79 -0
  280. package/registry/source/components/ui/drawer/SDrawerHeader.vue +117 -0
  281. package/registry/source/components/ui/drawer/SDrawerTitle.vue +40 -0
  282. package/registry/source/components/ui/drawer/SDrawerTrigger.vue +51 -0
  283. package/registry/source/components/ui/drawer/index.ts +20 -0
  284. package/registry/source/components/ui/dropdown/SDropdown.vue +843 -0
  285. package/registry/source/components/ui/dropdown/SDropdownDivider.vue +23 -0
  286. package/registry/source/components/ui/dropdown/SDropdownGroup.vue +53 -0
  287. package/registry/source/components/ui/dropdown/SDropdownItem.vue +179 -0
  288. package/registry/source/components/ui/dropdown/index.ts +5 -0
  289. package/registry/source/components/ui/form/SForm.vue +84 -0
  290. package/registry/source/components/ui/form/SFormField.vue +78 -0
  291. package/registry/source/components/ui/form/index.ts +8 -0
  292. package/registry/source/components/ui/modal/SModal.vue +648 -0
  293. package/registry/source/components/ui/modal/SModalClose.vue +49 -0
  294. package/registry/source/components/ui/modal/SModalContent.vue +74 -0
  295. package/registry/source/components/ui/modal/SModalDescription.vue +39 -0
  296. package/registry/source/components/ui/modal/SModalFooter.vue +84 -0
  297. package/registry/source/components/ui/modal/SModalHeader.vue +107 -0
  298. package/registry/source/components/ui/modal/SModalTitle.vue +39 -0
  299. package/registry/source/components/ui/modal/SModalTrigger.vue +61 -0
  300. package/registry/source/components/ui/modal/SMorphingModal.vue +429 -0
  301. package/registry/source/components/ui/modal/SMorphingModalClose.vue +42 -0
  302. package/registry/source/components/ui/modal/SMorphingModalDescription.vue +49 -0
  303. package/registry/source/components/ui/modal/SMorphingModalImage.vue +44 -0
  304. package/registry/source/components/ui/modal/SMorphingModalSubtitle.vue +29 -0
  305. package/registry/source/components/ui/modal/SMorphingModalTitle.vue +34 -0
  306. package/registry/source/components/ui/modal/SMorphingModalTrigger.vue +95 -0
  307. package/registry/source/components/ui/modal/index.ts +32 -0
  308. package/registry/source/components/ui/option/SOption.vue +180 -0
  309. package/registry/source/components/ui/option/SOptionGroup.vue +77 -0
  310. package/registry/source/components/ui/option/index.ts +3 -0
  311. package/registry/source/components/ui/otp/SOTP.vue +843 -0
  312. package/registry/source/components/ui/otp/SOTPGroup.vue +29 -0
  313. package/registry/source/components/ui/otp/SOTPSeparator.vue +15 -0
  314. package/registry/source/components/ui/otp/SOTPSlot.vue +462 -0
  315. package/registry/source/components/ui/otp/index.ts +7 -0
  316. package/registry/source/components/ui/otp/types.ts +27 -0
  317. package/registry/source/components/ui/otp/useOTPContext.ts +62 -0
  318. package/registry/source/components/ui/pagination/SPagination.vue +923 -0
  319. package/registry/source/components/ui/pagination/index.ts +8 -0
  320. package/registry/source/components/ui/progress/SProgress.vue +635 -0
  321. package/registry/source/components/ui/progress/SProgressRange.vue +715 -0
  322. package/registry/source/components/ui/progress/index.ts +4 -0
  323. package/registry/source/components/ui/radio/SRadio.vue +407 -0
  324. package/registry/source/components/ui/radio/SRadioGroup.vue +200 -0
  325. package/registry/source/components/ui/radio/index.ts +3 -0
  326. package/registry/source/components/ui/table/SDataTable.vue +828 -0
  327. package/registry/source/components/ui/table/STableBody.vue +70 -0
  328. package/registry/source/components/ui/table/STableCell.vue +147 -0
  329. package/registry/source/components/ui/table/STableColumn.vue +120 -0
  330. package/registry/source/components/ui/table/STableEmpty.vue +159 -0
  331. package/registry/source/components/ui/table/STableHeader.vue +132 -0
  332. package/registry/source/components/ui/table/STableRow.vue +106 -0
  333. package/registry/source/components/ui/table/STableSkeleton.vue +208 -0
  334. package/registry/source/components/ui/table/index.ts +126 -0
  335. package/registry/source/components/ui/table/useDataTable.ts +519 -0
  336. package/registry/source/components/ui/tabs/STabPane.vue +130 -0
  337. package/registry/source/components/ui/tabs/STabs.vue +467 -0
  338. package/registry/source/components/ui/tabs/index.ts +7 -0
  339. package/registry/source/components/ui/toast/SToast.vue +261 -0
  340. package/registry/source/components/ui/toast/SToastContainer.vue +209 -0
  341. package/registry/source/components/ui/toast/index.ts +2 -0
  342. package/registry/source/composables/useForm.ts +960 -0
  343. package/registry/source/composables/useTheme.ts +86 -0
  344. package/registry/source/composables/useToast.ts +440 -0
  345. package/registry/source/lib/utils.ts +6 -0
@@ -0,0 +1,30 @@
1
+ interface Props {
2
+ title: string;
3
+ description?: string;
4
+ code: string;
5
+ language?: string;
6
+ customBackground?: string;
7
+ codeOnly?: boolean;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ description: string;
20
+ language: string;
21
+ customBackground: string;
22
+ codeOnly: boolean;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,22 @@
1
+ export interface KeyboardShortcut {
2
+ /** Key or keys to display (e.g., "Enter", "Ctrl+C", ["Enter", "Space"]) */
3
+ keys: string | string[];
4
+ /** Description of what the shortcut does */
5
+ action: string;
6
+ }
7
+ interface Props {
8
+ /** Title of the keyboard section */
9
+ title?: string;
10
+ /** Array of keyboard shortcuts */
11
+ shortcuts: KeyboardShortcut[];
12
+ /** Display as a table instead of grid */
13
+ variant?: 'grid' | 'table';
14
+ /** Maximum number of columns for grid layout */
15
+ columns?: 2 | 3 | 4;
16
+ }
17
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
18
+ title: string;
19
+ variant: "grid" | "table";
20
+ columns: 2 | 3 | 4;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ export default _default;
@@ -0,0 +1,21 @@
1
+ interface Props {
2
+ /** Optional heading for the section */
3
+ title?: string;
4
+ }
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: {
8
+ default?(_: {}): any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
+ export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,46 @@
1
+ export interface ApiProp {
2
+ name: string;
3
+ type: string;
4
+ default?: string;
5
+ description: string;
6
+ category?: string;
7
+ }
8
+ export interface ApiEvent {
9
+ name: string;
10
+ payload?: string;
11
+ description: string;
12
+ }
13
+ export interface ApiSlot {
14
+ name: string;
15
+ props?: string;
16
+ description: string;
17
+ }
18
+ export interface ApiMethod {
19
+ name: string;
20
+ description: string;
21
+ }
22
+ export type TableType = 'props' | 'events' | 'slots' | 'methods';
23
+ interface Props {
24
+ /** Title of the table section (e.g., "SButton Props") */
25
+ title: string;
26
+ /** Type of table to render */
27
+ type: TableType;
28
+ /** Props data (when type="props") */
29
+ props?: ApiProp[];
30
+ /** Events data (when type="events") */
31
+ events?: ApiEvent[];
32
+ /** Slots data (when type="slots") */
33
+ slots?: ApiSlot[];
34
+ /** Methods data (when type="methods") */
35
+ methods?: ApiMethod[];
36
+ }
37
+ declare function __VLS_template(): void;
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
40
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
41
+ export default _default;
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,76 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const alertVariants: (props?: ({
3
+ variant?: "custom" | "error" | "success" | "warning" | "info" | null | undefined;
4
+ size?: "small" | "medium" | "large" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type AlertVariants = VariantProps<typeof alertVariants>;
7
+ export interface Props {
8
+ variant?: 'success' | 'warning' | 'error' | 'info' | 'custom';
9
+ size?: 'small' | 'medium' | 'large';
10
+ title?: string;
11
+ description?: string;
12
+ icon?: string | boolean;
13
+ closable?: boolean;
14
+ autoDismiss?: boolean;
15
+ duration?: number;
16
+ showProgress?: boolean;
17
+ color?: string;
18
+ position?: 'static' | 'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
19
+ elevation?: boolean;
20
+ border?: 'none' | 'left' | 'top' | 'all';
21
+ rounded?: boolean;
22
+ dismissible?: boolean;
23
+ contentClass?: string;
24
+ iconClass?: string;
25
+ }
26
+ declare function close(): void;
27
+ declare function pause(): void;
28
+ declare function resume(): void;
29
+ declare function __VLS_template(): {
30
+ attrs: Partial<{}>;
31
+ slots: {
32
+ icon?(_: {}): any;
33
+ title?(_: {}): any;
34
+ default?(_: {}): any;
35
+ actions?(_: {}): any;
36
+ };
37
+ refs: {};
38
+ rootEl: any;
39
+ };
40
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
42
+ close: typeof close;
43
+ pause: typeof pause;
44
+ resume: typeof resume;
45
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ close: () => any;
47
+ dismiss: () => any;
48
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
49
+ onClose?: (() => any) | undefined;
50
+ onDismiss?: (() => any) | undefined;
51
+ }>, {
52
+ size: "small" | "medium" | "large";
53
+ closable: boolean;
54
+ icon: string | boolean;
55
+ title: string;
56
+ position: "static" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
57
+ duration: number;
58
+ color: string;
59
+ variant: "success" | "warning" | "error" | "info" | "custom";
60
+ contentClass: string;
61
+ border: "none" | "left" | "top" | "all";
62
+ rounded: boolean;
63
+ iconClass: string;
64
+ description: string;
65
+ autoDismiss: boolean;
66
+ showProgress: boolean;
67
+ elevation: boolean;
68
+ dismissible: boolean;
69
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
70
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
71
+ export default _default;
72
+ type __VLS_WithTemplateSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
@@ -0,0 +1,56 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const badgeVariants: (props?: ({
3
+ variant?: "filled" | "outlined" | "light" | null | undefined;
4
+ size?: "small" | "medium" | "large" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type BadgeVariants = VariantProps<typeof badgeVariants>;
7
+ export interface Props {
8
+ variant?: 'filled' | 'outlined' | 'light';
9
+ size?: 'small' | 'medium' | 'large';
10
+ color?: string;
11
+ content?: string | number;
12
+ max?: number;
13
+ showZero?: boolean;
14
+ dot?: boolean;
15
+ bordered?: boolean;
16
+ position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
17
+ offset?: [number, number];
18
+ standalone?: boolean;
19
+ pulse?: boolean;
20
+ badgeClass?: string;
21
+ }
22
+ declare function __VLS_template(): {
23
+ attrs: Partial<{}>;
24
+ slots: {
25
+ content?(_: {}): any;
26
+ content?(_: {}): any;
27
+ default?(_: {}): any;
28
+ };
29
+ refs: {};
30
+ rootEl: any;
31
+ };
32
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ click: (event: MouseEvent) => any;
35
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
36
+ onClick?: ((event: MouseEvent) => any) | undefined;
37
+ }>, {
38
+ size: "small" | "medium" | "large";
39
+ position: "top-right" | "top-left" | "bottom-right" | "bottom-left";
40
+ color: string;
41
+ variant: "filled" | "outlined" | "light";
42
+ offset: [number, number];
43
+ max: number;
44
+ showZero: boolean;
45
+ dot: boolean;
46
+ bordered: boolean;
47
+ standalone: boolean;
48
+ pulse: boolean;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,67 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ export declare const buttonVariants: (props?: ({
3
+ variant?: "link" | "filled" | "outlined" | "light" | "ghost" | null | undefined;
4
+ size?: "small" | "medium" | "large" | "xs" | "xl" | null | undefined;
5
+ rounded?: "none" | "sm" | "md" | "lg" | "full" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export type ButtonVariants = VariantProps<typeof buttonVariants>;
8
+ export interface Props {
9
+ variant?: 'filled' | 'outlined' | 'light' | 'ghost' | 'link';
10
+ size?: 'xs' | 'small' | 'medium' | 'large' | 'xl';
11
+ color?: string;
12
+ disabled?: boolean;
13
+ loading?: boolean;
14
+ preserveSize?: boolean;
15
+ block?: boolean;
16
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
17
+ iconLeft?: string;
18
+ iconRight?: string;
19
+ iconOnly?: boolean;
20
+ tag?: string;
21
+ href?: string;
22
+ to?: string | object;
23
+ type?: 'button' | 'submit' | 'reset';
24
+ ripple?: boolean;
25
+ animationType?: 'slide' | 'vertical' | 'scale' | 'rotate';
26
+ animateInactive?: boolean;
27
+ contentClass?: string;
28
+ iconClass?: string;
29
+ }
30
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ click: (event: MouseEvent) => any;
32
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
33
+ onClick?: ((event: MouseEvent) => any) | undefined;
34
+ }>, {
35
+ type: "button" | "submit" | "reset";
36
+ size: "xs" | "small" | "medium" | "large" | "xl";
37
+ disabled: boolean;
38
+ color: string;
39
+ variant: "filled" | "outlined" | "light" | "ghost" | "link";
40
+ contentClass: string;
41
+ loading: boolean;
42
+ rounded: "none" | "sm" | "md" | "lg" | "full";
43
+ preserveSize: boolean;
44
+ block: boolean;
45
+ iconLeft: string;
46
+ iconRight: string;
47
+ iconOnly: boolean;
48
+ tag: string;
49
+ href: string;
50
+ to: string | object;
51
+ ripple: boolean;
52
+ animationType: "slide" | "vertical" | "scale" | "rotate";
53
+ animateInactive: boolean;
54
+ iconClass: string;
55
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
56
+ 'icon-left'?(_: {}): any;
57
+ default?(_: {}): any;
58
+ default?(_: {}): any;
59
+ 'icon-right'?(_: {}): any;
60
+ animate?(_: {}): any;
61
+ }>;
62
+ export default _default;
63
+ type __VLS_WithTemplateSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };
@@ -0,0 +1,64 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const checkboxVariants: (props?: ({
3
+ size?: "small" | "medium" | "large" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
+ export type CheckboxVariants = VariantProps<typeof checkboxVariants>;
6
+ export interface Props {
7
+ modelValue?: boolean | string | number | any[];
8
+ value?: any;
9
+ size?: 'small' | 'medium' | 'large';
10
+ color?: string;
11
+ disabled?: boolean;
12
+ loading?: boolean;
13
+ indeterminate?: boolean;
14
+ label?: string;
15
+ labelPosition?: 'left' | 'right';
16
+ rounded?: boolean;
17
+ icon?: string;
18
+ required?: boolean;
19
+ name?: string;
20
+ error?: string;
21
+ checkboxClass?: string;
22
+ labelClass?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ icon?(_: {}): any;
28
+ default?(_: {}): any;
29
+ };
30
+ refs: {};
31
+ rootEl: any;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
+ "update:modelValue": (value: string | number | boolean | any[]) => any;
36
+ change: (value: string | number | boolean | any[], event: Event) => any;
37
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: string | number | boolean | any[]) => any) | undefined;
39
+ onChange?: ((value: string | number | boolean | any[], event: Event) => any) | undefined;
40
+ }>, {
41
+ modelValue: boolean | string | number | any[];
42
+ size: "small" | "medium" | "large";
43
+ name: string;
44
+ icon: string;
45
+ disabled: boolean;
46
+ label: string;
47
+ value: any;
48
+ required: boolean;
49
+ color: string;
50
+ loading: boolean;
51
+ labelClass: string;
52
+ rounded: boolean;
53
+ error: string;
54
+ indeterminate: boolean;
55
+ labelPosition: "left" | "right";
56
+ checkboxClass: string;
57
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
58
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
+ export default _default;
60
+ type __VLS_WithTemplateSlots<T, S> = T & {
61
+ new (): {
62
+ $slots: S;
63
+ };
64
+ };
@@ -0,0 +1,43 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const chipVariants: (props?: ({
3
+ variant?: "filled" | "outlined" | "light" | null | undefined;
4
+ size?: "small" | "medium" | "large" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type ChipVariants = VariantProps<typeof chipVariants>;
7
+ export interface Props {
8
+ variant?: 'filled' | 'outlined' | 'light';
9
+ size?: 'small' | 'medium' | 'large';
10
+ color?: string;
11
+ closable?: boolean;
12
+ disabled?: boolean;
13
+ contentClass?: string;
14
+ }
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: {
18
+ default?(_: {}): any;
19
+ };
20
+ refs: {};
21
+ rootEl: any;
22
+ };
23
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
24
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
25
+ click: () => any;
26
+ close: () => any;
27
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
28
+ onClick?: (() => any) | undefined;
29
+ onClose?: (() => any) | undefined;
30
+ }>, {
31
+ size: "small" | "medium" | "large";
32
+ closable: boolean;
33
+ disabled: boolean;
34
+ color: string;
35
+ variant: "filled" | "outlined" | "light";
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
38
+ export default _default;
39
+ type __VLS_WithTemplateSlots<T, S> = T & {
40
+ new (): {
41
+ $slots: S;
42
+ };
43
+ };
@@ -0,0 +1,77 @@
1
+ export interface Props {
2
+ modelValue?: Date | Date[] | [Date, Date] | null;
3
+ mode?: 'single' | 'range' | 'multiple';
4
+ variant?: 'outlined' | 'filled' | 'ghost';
5
+ size?: 'small' | 'medium' | 'large';
6
+ color?: string;
7
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
8
+ format?: string;
9
+ placeholder?: string;
10
+ minDate?: Date;
11
+ maxDate?: Date;
12
+ disabledDates?: Date[] | ((date: Date) => boolean);
13
+ disabledWeekdays?: number[];
14
+ disabled?: boolean;
15
+ loading?: boolean;
16
+ readonly?: boolean;
17
+ clearable?: boolean;
18
+ closeOnSelect?: boolean;
19
+ teleport?: boolean | string;
20
+ showWeekNumbers?: boolean;
21
+ firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
22
+ monthsToShow?: 1 | 2;
23
+ showToday?: boolean;
24
+ enableTime?: boolean;
25
+ timeFormat?: '12h' | '24h';
26
+ minuteStep?: number;
27
+ label?: string;
28
+ labelPlacement?: 'top' | 'left';
29
+ }
30
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (value: Date | [Date, Date] | Date[] | null) => any;
32
+ close: () => any;
33
+ clear: () => any;
34
+ open: () => any;
35
+ monthChange: (month: number, year: number) => any;
36
+ yearChange: (year: number) => any;
37
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: Date | [Date, Date] | Date[] | null) => any) | undefined;
39
+ onClose?: (() => any) | undefined;
40
+ onClear?: (() => any) | undefined;
41
+ onOpen?: (() => any) | undefined;
42
+ onMonthChange?: ((month: number, year: number) => any) | undefined;
43
+ onYearChange?: ((year: number) => any) | undefined;
44
+ }>, {
45
+ modelValue: Date | Date[] | [Date, Date] | null;
46
+ size: "small" | "medium" | "large";
47
+ disabled: boolean;
48
+ label: string;
49
+ mode: "single" | "range" | "multiple";
50
+ placeholder: string;
51
+ color: string;
52
+ variant: "outlined" | "filled" | "ghost";
53
+ loading: boolean;
54
+ rounded: "none" | "sm" | "md" | "lg" | "full";
55
+ teleport: boolean | string;
56
+ clearable: boolean;
57
+ closeOnSelect: boolean;
58
+ labelPlacement: "top" | "left";
59
+ format: string;
60
+ minDate: Date;
61
+ maxDate: Date;
62
+ disabledDates: Date[] | ((date: Date) => boolean);
63
+ disabledWeekdays: number[];
64
+ readonly: boolean;
65
+ showWeekNumbers: boolean;
66
+ firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;
67
+ monthsToShow: 1 | 2;
68
+ showToday: boolean;
69
+ enableTime: boolean;
70
+ timeFormat: "12h" | "24h";
71
+ minuteStep: number;
72
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
73
+ triggerRef: HTMLDivElement;
74
+ calendarRef: HTMLDivElement;
75
+ yearPickerRef: HTMLDivElement;
76
+ }, any>;
77
+ export default _default;
@@ -0,0 +1,70 @@
1
+ export interface Props {
2
+ size?: 'xs' | 'small' | 'medium' | 'large' | 'xl';
3
+ disabled?: boolean;
4
+ loading?: boolean;
5
+ preserveSize?: boolean;
6
+ block?: boolean;
7
+ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full';
8
+ iconLeft?: string;
9
+ iconRight?: string;
10
+ iconOnly?: boolean;
11
+ tag?: string;
12
+ href?: string;
13
+ to?: string | object;
14
+ type?: 'button' | 'submit' | 'reset';
15
+ ripple?: boolean;
16
+ animationType?: 'slide' | 'vertical' | 'scale' | 'rotate';
17
+ animateInactive?: boolean;
18
+ tint?: 'auto' | 'light' | 'dark';
19
+ blur?: number;
20
+ saturation?: number;
21
+ highlightIntensity?: number;
22
+ color?: string;
23
+ }
24
+ declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
26
+ slots: {
27
+ 'icon-left'?(_: {}): any;
28
+ default?(_: {}): any;
29
+ default?(_: {}): any;
30
+ 'icon-right'?(_: {}): any;
31
+ animate?(_: {}): any;
32
+ };
33
+ refs: {};
34
+ rootEl: any;
35
+ };
36
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ click: (event: MouseEvent) => any;
39
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
40
+ onClick?: ((event: MouseEvent) => any) | undefined;
41
+ }>, {
42
+ type: "button" | "submit" | "reset";
43
+ size: "xs" | "small" | "medium" | "large" | "xl";
44
+ disabled: boolean;
45
+ color: string;
46
+ loading: boolean;
47
+ rounded: "none" | "sm" | "md" | "lg" | "full";
48
+ preserveSize: boolean;
49
+ block: boolean;
50
+ iconLeft: string;
51
+ iconRight: string;
52
+ iconOnly: boolean;
53
+ tag: string;
54
+ href: string;
55
+ to: string | object;
56
+ ripple: boolean;
57
+ animationType: "slide" | "vertical" | "scale" | "rotate";
58
+ animateInactive: boolean;
59
+ tint: "auto" | "light" | "dark";
60
+ blur: number;
61
+ saturation: number;
62
+ highlightIntensity: number;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
64
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
65
+ export default _default;
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
@@ -0,0 +1,29 @@
1
+ import { Component } from 'vue';
2
+ export interface Props {
3
+ component?: Component;
4
+ size?: number | string;
5
+ color?: string;
6
+ depth?: 1 | 2 | 3 | 4 | 5;
7
+ }
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ default?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
18
+ size: number | string;
19
+ component: Component;
20
+ color: string;
21
+ depth: 1 | 2 | 3 | 4 | 5;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };