@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.
- package/README.md +171 -0
- package/dist/App.d.ts +2 -0
- package/dist/cli/index.js +9243 -0
- package/dist/components/DemoSection.d.ts +30 -0
- package/dist/components/SApiKeyboard.d.ts +22 -0
- package/dist/components/SApiSection.d.ts +21 -0
- package/dist/components/SApiTable.d.ts +46 -0
- package/dist/components/STableOfContents.d.ts +2 -0
- package/dist/components/ui/SAlert.d.ts +76 -0
- package/dist/components/ui/SBadge.d.ts +56 -0
- package/dist/components/ui/SButton.d.ts +67 -0
- package/dist/components/ui/SCheckbox.d.ts +64 -0
- package/dist/components/ui/SChip.d.ts +43 -0
- package/dist/components/ui/SDatePicker.d.ts +77 -0
- package/dist/components/ui/SGlassButton.d.ts +70 -0
- package/dist/components/ui/SIcon.d.ts +29 -0
- package/dist/components/ui/SInput.d.ts +129 -0
- package/dist/components/ui/SKbd.d.ts +24 -0
- package/dist/components/ui/SKbdShortcut.d.ts +14 -0
- package/dist/components/ui/SSelect.d.ts +148 -0
- package/dist/components/ui/SSkeleton.d.ts +37 -0
- package/dist/components/ui/SSwitch.d.ts +61 -0
- package/dist/components/ui/STooltip.d.ts +82 -0
- package/dist/components/ui/accordion/SAccordionContent.d.ts +23 -0
- package/dist/components/ui/accordion/SAccordionItem.d.ts +70 -0
- package/dist/components/ui/accordion/SAccordionTrigger.d.ts +37 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/avatar/SAvatar.d.ts +36 -0
- package/dist/components/ui/avatar/SAvatarFallback.d.ts +26 -0
- package/dist/components/ui/avatar/SAvatarGroup.d.ts +30 -0
- package/dist/components/ui/avatar/SAvatarImage.d.ts +23 -0
- package/dist/components/ui/avatar/index.d.ts +4 -0
- package/dist/components/ui/breadcrumb/SBreadcrumb.d.ts +22 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbEllipsis.d.ts +17 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbItem.d.ts +17 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbLink.d.ts +26 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbList.d.ts +17 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbPage.d.ts +17 -0
- package/dist/components/ui/breadcrumb/SBreadcrumbSeparator.d.ts +17 -0
- package/dist/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist/components/ui/card/SCard.d.ts +103 -0
- package/dist/components/ui/card/SCardActions.d.ts +44 -0
- package/dist/components/ui/card/SCardContent.d.ts +35 -0
- package/dist/components/ui/card/SCardFooter.d.ts +38 -0
- package/dist/components/ui/card/SCardHeader.d.ts +53 -0
- package/dist/components/ui/card/SCardMedia.d.ts +83 -0
- package/dist/components/ui/card/SGlassCard.d.ts +103 -0
- package/dist/components/ui/card/SMorphingCardContent.d.ts +18 -0
- package/dist/components/ui/card/index.d.ts +24 -0
- package/dist/components/ui/carousel/SCarousel.d.ts +166 -0
- package/dist/components/ui/carousel/index.d.ts +2 -0
- package/dist/components/ui/color-picker/SColorPickerAlphaSlider.d.ts +4 -0
- package/dist/components/ui/color-picker/SColorPickerCopy.d.ts +19 -0
- package/dist/components/ui/color-picker/SColorPickerEyeDropper.d.ts +17 -0
- package/dist/components/ui/color-picker/SColorPickerHueSlider.d.ts +4 -0
- package/dist/components/ui/color-picker/SColorPickerInputs.d.ts +2 -0
- package/dist/components/ui/color-picker/SColorPickerPresets.d.ts +9 -0
- package/dist/components/ui/color-picker/SColorPickerPreview.d.ts +2 -0
- package/dist/components/ui/color-picker/SColorPickerRecent.d.ts +7 -0
- package/dist/components/ui/color-picker/SColorPickerSpectrum.d.ts +4 -0
- package/dist/components/ui/color-picker/index.d.ts +11 -0
- package/dist/components/ui/drawer/index.d.ts +11 -0
- package/dist/components/ui/dropdown/SDropdownDivider.d.ts +8 -0
- package/dist/components/ui/dropdown/SDropdownGroup.d.ts +25 -0
- package/dist/components/ui/dropdown/SDropdownItem.d.ts +56 -0
- package/dist/components/ui/dropdown/index.d.ts +4 -0
- package/dist/components/ui/form/SForm.d.ts +38 -0
- package/dist/components/ui/form/SFormField.d.ts +31 -0
- package/dist/components/ui/form/index.d.ts +5 -0
- package/dist/components/ui/modal/index.d.ts +19 -0
- package/dist/components/ui/option/SOption.d.ts +32 -0
- package/dist/components/ui/option/SOptionGroup.d.ts +28 -0
- package/dist/components/ui/option/index.d.ts +2 -0
- package/dist/components/ui/otp/SOTP.d.ts +122 -0
- package/dist/components/ui/otp/SOTPGroup.d.ts +23 -0
- package/dist/components/ui/otp/SOTPSeparator.d.ts +17 -0
- package/dist/components/ui/otp/SOTPSlot.d.ts +49 -0
- package/dist/components/ui/otp/index.d.ts +7 -0
- package/dist/components/ui/otp/types.d.ts +26 -0
- package/dist/components/ui/otp/useOTPContext.d.ts +42 -0
- package/dist/components/ui/pagination/SPagination.d.ts +151 -0
- package/dist/components/ui/pagination/index.d.ts +2 -0
- package/dist/components/ui/progress/SProgress.d.ts +62 -0
- package/dist/components/ui/progress/SProgressRange.d.ts +91 -0
- package/dist/components/ui/progress/index.d.ts +4 -0
- package/dist/components/ui/radio/SRadio.d.ts +58 -0
- package/dist/components/ui/radio/SRadioGroup.d.ts +52 -0
- package/dist/components/ui/radio/index.d.ts +2 -0
- package/dist/components/ui/stepper/SStepper.d.ts +83 -0
- package/dist/components/ui/stepper/SStepperContent.d.ts +24 -0
- package/dist/components/ui/stepper/SStepperDescription.d.ts +20 -0
- package/dist/components/ui/stepper/SStepperIndicator.d.ts +37 -0
- package/dist/components/ui/stepper/SStepperItem.d.ts +37 -0
- package/dist/components/ui/stepper/SStepperSeparator.d.ts +5 -0
- package/dist/components/ui/stepper/SStepperTitle.d.ts +20 -0
- package/dist/components/ui/stepper/SStepperTrigger.d.ts +22 -0
- package/dist/components/ui/stepper/index.d.ts +11 -0
- package/dist/components/ui/table/STableBody.d.ts +27 -0
- package/dist/components/ui/table/STableCell.d.ts +55 -0
- package/dist/components/ui/table/STableColumn.d.ts +87 -0
- package/dist/components/ui/table/STableEmpty.d.ts +54 -0
- package/dist/components/ui/table/STableHeader.d.ts +25 -0
- package/dist/components/ui/table/STableRow.d.ts +38 -0
- package/dist/components/ui/table/STableSkeleton.d.ts +29 -0
- package/dist/components/ui/table/index.d.ts +98 -0
- package/dist/components/ui/table/useDataTable.d.ts +80 -0
- package/dist/components/ui/tabs/STabPane.d.ts +31 -0
- package/dist/components/ui/tabs/STabsContent.d.ts +21 -0
- package/dist/components/ui/tabs/STabsIndicator.d.ts +9 -0
- package/dist/components/ui/tabs/STabsTrigger.d.ts +28 -0
- package/dist/components/ui/tabs/index.d.ts +6 -0
- package/dist/components/ui/toast/SToast.d.ts +49 -0
- package/dist/components/ui/toast/SToastContainer.d.ts +21 -0
- package/dist/components/ui/toast/index.d.ts +2 -0
- package/dist/composables/useAsync.d.ts +134 -0
- package/dist/composables/useClickOutside.d.ts +69 -0
- package/dist/composables/useClipboard.d.ts +46 -0
- package/dist/composables/useDebounce.d.ts +150 -0
- package/dist/composables/useDialog.d.ts +118 -0
- package/dist/composables/useForm.d.ts +204 -0
- package/dist/composables/useHotkey.d.ts +128 -0
- package/dist/composables/useIntersectionObserver.d.ts +156 -0
- package/dist/composables/useLocalStorage.d.ts +120 -0
- package/dist/composables/useMediaQuery.d.ts +115 -0
- package/dist/composables/useTheme.d.ts +8 -0
- package/dist/composables/useToast.d.ts +1619 -0
- package/dist/index.d.ts +71 -0
- package/dist/layouts/UILayout.d.ts +2 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/router.d.ts +2 -0
- package/dist/saka-ui.css +1 -0
- package/dist/saka-ui.js +18513 -0
- package/dist/saka-ui.umd.cjs +38 -0
- package/dist/views/docs/CustomizationView.d.ts +2 -0
- package/dist/views/docs/FormValidationView.d.ts +2 -0
- package/dist/views/docs/StylingGuideView.d.ts +2 -0
- package/dist/views/docs/UseAsyncView.d.ts +2 -0
- package/dist/views/docs/UseClickOutsideView.d.ts +124 -0
- package/dist/views/docs/UseClipboardView.d.ts +4 -0
- package/dist/views/docs/UseDebounceView.d.ts +2 -0
- package/dist/views/docs/UseHotkeyView.d.ts +205 -0
- package/dist/views/docs/UseIntersectionObserverView.d.ts +5 -0
- package/dist/views/docs/UseLocalStorageView.d.ts +2 -0
- package/dist/views/docs/UseMediaQueryView.d.ts +2 -0
- package/dist/views/docs/UseThemeView.d.ts +2 -0
- package/dist/views/examples/AuthFormView.d.ts +2 -0
- package/dist/views/examples/CreditCardFormView.d.ts +6 -0
- package/dist/views/examples/FormFieldExampleView.d.ts +2 -0
- package/dist/views/examples/ProjectFormView.d.ts +2 -0
- package/dist/views/ui/AccordionView.d.ts +2 -0
- package/dist/views/ui/AlertView.d.ts +2 -0
- package/dist/views/ui/AvatarView.d.ts +2 -0
- package/dist/views/ui/BadgeView.d.ts +2 -0
- package/dist/views/ui/BreadcrumbView.d.ts +2 -0
- package/dist/views/ui/ButtonView.d.ts +2 -0
- package/dist/views/ui/CardView.d.ts +2 -0
- package/dist/views/ui/CarouselView.d.ts +274 -0
- package/dist/views/ui/CheckboxView.d.ts +2 -0
- package/dist/views/ui/ChipView.d.ts +2 -0
- package/dist/views/ui/ColorPickerView.d.ts +2 -0
- package/dist/views/ui/DatePickerView.d.ts +2 -0
- package/dist/views/ui/DialogView.d.ts +2 -0
- package/dist/views/ui/DrawerView.d.ts +2 -0
- package/dist/views/ui/DropdownView.d.ts +2 -0
- package/dist/views/ui/GlassButtonView.d.ts +2 -0
- package/dist/views/ui/GlassCardView.d.ts +2 -0
- package/dist/views/ui/HomeView.d.ts +2 -0
- package/dist/views/ui/IconsView.d.ts +2 -0
- package/dist/views/ui/InputView.d.ts +2 -0
- package/dist/views/ui/KbdView.d.ts +2 -0
- package/dist/views/ui/ModalView.d.ts +2 -0
- package/dist/views/ui/MorphingCardView.d.ts +2 -0
- package/dist/views/ui/MorphingModalView.d.ts +2 -0
- package/dist/views/ui/OTPView.d.ts +206 -0
- package/dist/views/ui/PaginationView.d.ts +2 -0
- package/dist/views/ui/ProgressView.d.ts +2 -0
- package/dist/views/ui/RadioView.d.ts +2 -0
- package/dist/views/ui/SelectView.d.ts +2 -0
- package/dist/views/ui/SkeletonView.d.ts +2 -0
- package/dist/views/ui/StepperView.d.ts +2 -0
- package/dist/views/ui/SwitchView.d.ts +2 -0
- package/dist/views/ui/TableView.d.ts +2 -0
- package/dist/views/ui/TabsView.d.ts +2 -0
- package/dist/views/ui/ToastView.d.ts +2 -0
- package/dist/views/ui/TooltipView.d.ts +2 -0
- package/dist/vite.svg +1 -0
- package/package.json +64 -0
- package/registry/components/accordion.json +19 -0
- package/registry/components/alert.json +17 -0
- package/registry/components/avatar.json +18 -0
- package/registry/components/badge.json +14 -0
- package/registry/components/breadcrumb.json +24 -0
- package/registry/components/button.json +17 -0
- package/registry/components/card.json +23 -0
- package/registry/components/carousel.json +19 -0
- package/registry/components/checkbox.json +17 -0
- package/registry/components/chip.json +17 -0
- package/registry/components/color-picker.json +24 -0
- package/registry/components/date-picker.json +17 -0
- package/registry/components/drawer.json +26 -0
- package/registry/components/dropdown.json +21 -0
- package/registry/components/form.json +16 -0
- package/registry/components/glass-button.json +17 -0
- package/registry/components/icon.json +17 -0
- package/registry/components/input.json +17 -0
- package/registry/components/kbd.json +16 -0
- package/registry/components/modal.json +32 -0
- package/registry/components/option.json +16 -0
- package/registry/components/otp.json +23 -0
- package/registry/components/pagination.json +18 -0
- package/registry/components/progress.json +16 -0
- package/registry/components/radio.json +19 -0
- package/registry/components/select.json +17 -0
- package/registry/components/skeleton.json +14 -0
- package/registry/components/switch.json +17 -0
- package/registry/components/table.json +26 -0
- package/registry/components/tabs.json +19 -0
- package/registry/components/toast.json +19 -0
- package/registry/components/tooltip.json +14 -0
- package/registry/index.json +4 -0
- package/registry/source/components/ui/SAlert.vue +388 -0
- package/registry/source/components/ui/SBadge.vue +243 -0
- package/registry/source/components/ui/SButton.vue +387 -0
- package/registry/source/components/ui/SCheckbox.vue +310 -0
- package/registry/source/components/ui/SChip.vue +130 -0
- package/registry/source/components/ui/SDatePicker.vue +1290 -0
- package/registry/source/components/ui/SGlassButton.vue +547 -0
- package/registry/source/components/ui/SIcon.vue +78 -0
- package/registry/source/components/ui/SInput.vue +1054 -0
- package/registry/source/components/ui/SKbd.vue +96 -0
- package/registry/source/components/ui/SKbdShortcut.vue +36 -0
- package/registry/source/components/ui/SSelect.vue +1290 -0
- package/registry/source/components/ui/SSkeleton.vue +185 -0
- package/registry/source/components/ui/SSwitch.vue +275 -0
- package/registry/source/components/ui/STooltip.vue +491 -0
- package/registry/source/components/ui/accordion/SAccordion.vue +248 -0
- package/registry/source/components/ui/accordion/SAccordionItem.vue +353 -0
- package/registry/source/components/ui/accordion/index.ts +5 -0
- package/registry/source/components/ui/avatar/SAvatar.vue +169 -0
- package/registry/source/components/ui/avatar/SAvatarFallback.vue +66 -0
- package/registry/source/components/ui/avatar/SAvatarGroup.vue +69 -0
- package/registry/source/components/ui/avatar/SAvatarImage.vue +92 -0
- package/registry/source/components/ui/avatar/index.ts +5 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumb.vue +23 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbEllipsis.vue +17 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbItem.vue +14 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbLink.vue +46 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbList.vue +17 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbPage.vue +15 -0
- package/registry/source/components/ui/breadcrumb/SBreadcrumbSeparator.vue +18 -0
- package/registry/source/components/ui/breadcrumb/index.ts +7 -0
- package/registry/source/components/ui/card/SCard.vue +517 -0
- package/registry/source/components/ui/card/SCardActions.vue +129 -0
- package/registry/source/components/ui/card/SCardContent.vue +117 -0
- package/registry/source/components/ui/card/SCardFooter.vue +103 -0
- package/registry/source/components/ui/card/SCardHeader.vue +163 -0
- package/registry/source/components/ui/card/SCardMedia.vue +312 -0
- package/registry/source/components/ui/card/index.ts +34 -0
- package/registry/source/components/ui/carousel/SCarousel.vue +1069 -0
- package/registry/source/components/ui/carousel/SCarouselSlide.vue +107 -0
- package/registry/source/components/ui/carousel/index.ts +3 -0
- package/registry/source/components/ui/color-picker/SColorPicker.vue +772 -0
- package/registry/source/components/ui/color-picker/SColorPickerAlphaSlider.vue +158 -0
- package/registry/source/components/ui/color-picker/SColorPickerCopy.vue +76 -0
- package/registry/source/components/ui/color-picker/SColorPickerEyeDropper.vue +68 -0
- package/registry/source/components/ui/color-picker/SColorPickerHueSlider.vue +138 -0
- package/registry/source/components/ui/color-picker/SColorPickerInputs.vue +227 -0
- package/registry/source/components/ui/color-picker/SColorPickerPresets.vue +87 -0
- package/registry/source/components/ui/color-picker/SColorPickerPreview.vue +46 -0
- package/registry/source/components/ui/color-picker/SColorPickerRecent.vue +74 -0
- package/registry/source/components/ui/color-picker/SColorPickerSpectrum.vue +149 -0
- package/registry/source/components/ui/color-picker/index.ts +11 -0
- package/registry/source/components/ui/drawer/SDrawer.vue +797 -0
- package/registry/source/components/ui/drawer/SDrawerClose.vue +64 -0
- package/registry/source/components/ui/drawer/SDrawerContent.vue +81 -0
- package/registry/source/components/ui/drawer/SDrawerDescription.vue +40 -0
- package/registry/source/components/ui/drawer/SDrawerFooter.vue +97 -0
- package/registry/source/components/ui/drawer/SDrawerHandle.vue +79 -0
- package/registry/source/components/ui/drawer/SDrawerHeader.vue +117 -0
- package/registry/source/components/ui/drawer/SDrawerTitle.vue +40 -0
- package/registry/source/components/ui/drawer/SDrawerTrigger.vue +51 -0
- package/registry/source/components/ui/drawer/index.ts +20 -0
- package/registry/source/components/ui/dropdown/SDropdown.vue +843 -0
- package/registry/source/components/ui/dropdown/SDropdownDivider.vue +23 -0
- package/registry/source/components/ui/dropdown/SDropdownGroup.vue +53 -0
- package/registry/source/components/ui/dropdown/SDropdownItem.vue +179 -0
- package/registry/source/components/ui/dropdown/index.ts +5 -0
- package/registry/source/components/ui/form/SForm.vue +84 -0
- package/registry/source/components/ui/form/SFormField.vue +78 -0
- package/registry/source/components/ui/form/index.ts +8 -0
- package/registry/source/components/ui/modal/SModal.vue +648 -0
- package/registry/source/components/ui/modal/SModalClose.vue +49 -0
- package/registry/source/components/ui/modal/SModalContent.vue +74 -0
- package/registry/source/components/ui/modal/SModalDescription.vue +39 -0
- package/registry/source/components/ui/modal/SModalFooter.vue +84 -0
- package/registry/source/components/ui/modal/SModalHeader.vue +107 -0
- package/registry/source/components/ui/modal/SModalTitle.vue +39 -0
- package/registry/source/components/ui/modal/SModalTrigger.vue +61 -0
- package/registry/source/components/ui/modal/SMorphingModal.vue +429 -0
- package/registry/source/components/ui/modal/SMorphingModalClose.vue +42 -0
- package/registry/source/components/ui/modal/SMorphingModalDescription.vue +49 -0
- package/registry/source/components/ui/modal/SMorphingModalImage.vue +44 -0
- package/registry/source/components/ui/modal/SMorphingModalSubtitle.vue +29 -0
- package/registry/source/components/ui/modal/SMorphingModalTitle.vue +34 -0
- package/registry/source/components/ui/modal/SMorphingModalTrigger.vue +95 -0
- package/registry/source/components/ui/modal/index.ts +32 -0
- package/registry/source/components/ui/option/SOption.vue +180 -0
- package/registry/source/components/ui/option/SOptionGroup.vue +77 -0
- package/registry/source/components/ui/option/index.ts +3 -0
- package/registry/source/components/ui/otp/SOTP.vue +843 -0
- package/registry/source/components/ui/otp/SOTPGroup.vue +29 -0
- package/registry/source/components/ui/otp/SOTPSeparator.vue +15 -0
- package/registry/source/components/ui/otp/SOTPSlot.vue +462 -0
- package/registry/source/components/ui/otp/index.ts +7 -0
- package/registry/source/components/ui/otp/types.ts +27 -0
- package/registry/source/components/ui/otp/useOTPContext.ts +62 -0
- package/registry/source/components/ui/pagination/SPagination.vue +923 -0
- package/registry/source/components/ui/pagination/index.ts +8 -0
- package/registry/source/components/ui/progress/SProgress.vue +635 -0
- package/registry/source/components/ui/progress/SProgressRange.vue +715 -0
- package/registry/source/components/ui/progress/index.ts +4 -0
- package/registry/source/components/ui/radio/SRadio.vue +407 -0
- package/registry/source/components/ui/radio/SRadioGroup.vue +200 -0
- package/registry/source/components/ui/radio/index.ts +3 -0
- package/registry/source/components/ui/table/SDataTable.vue +828 -0
- package/registry/source/components/ui/table/STableBody.vue +70 -0
- package/registry/source/components/ui/table/STableCell.vue +147 -0
- package/registry/source/components/ui/table/STableColumn.vue +120 -0
- package/registry/source/components/ui/table/STableEmpty.vue +159 -0
- package/registry/source/components/ui/table/STableHeader.vue +132 -0
- package/registry/source/components/ui/table/STableRow.vue +106 -0
- package/registry/source/components/ui/table/STableSkeleton.vue +208 -0
- package/registry/source/components/ui/table/index.ts +126 -0
- package/registry/source/components/ui/table/useDataTable.ts +519 -0
- package/registry/source/components/ui/tabs/STabPane.vue +130 -0
- package/registry/source/components/ui/tabs/STabs.vue +467 -0
- package/registry/source/components/ui/tabs/index.ts +7 -0
- package/registry/source/components/ui/toast/SToast.vue +261 -0
- package/registry/source/components/ui/toast/SToastContainer.vue +209 -0
- package/registry/source/components/ui/toast/index.ts +2 -0
- package/registry/source/composables/useForm.ts +960 -0
- package/registry/source/composables/useTheme.ts +86 -0
- package/registry/source/composables/useToast.ts +440 -0
- package/registry/source/lib/utils.ts +6 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Size preset affecting padding and spacing */
|
|
3
|
+
size?: 'compact' | 'default' | 'comfortable';
|
|
4
|
+
/** Border radius */
|
|
5
|
+
rounded?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'full';
|
|
6
|
+
/** Enable hover animation effects */
|
|
7
|
+
hoverable?: boolean;
|
|
8
|
+
/** Enable press/click effect */
|
|
9
|
+
pressable?: boolean;
|
|
10
|
+
/** Make entire card clickable */
|
|
11
|
+
clickable?: boolean;
|
|
12
|
+
/** Show loading skeleton state */
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
/** Disabled state */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Enable spotlight/glow effect on hover */
|
|
17
|
+
spotlight?: boolean;
|
|
18
|
+
/** Spotlight color */
|
|
19
|
+
spotlightColor?: string;
|
|
20
|
+
/** Horizontal layout (media on side) */
|
|
21
|
+
horizontal?: boolean;
|
|
22
|
+
/** Flip media to right side in horizontal layout */
|
|
23
|
+
mediaRight?: boolean;
|
|
24
|
+
/** Card width */
|
|
25
|
+
width?: string;
|
|
26
|
+
/** Card height */
|
|
27
|
+
height?: string;
|
|
28
|
+
/** Card max-width */
|
|
29
|
+
maxWidth?: string;
|
|
30
|
+
/** Custom padding override */
|
|
31
|
+
padding?: string;
|
|
32
|
+
/** Enable 3D tilt effect on hover */
|
|
33
|
+
tilt?: boolean;
|
|
34
|
+
/** Tag element to render */
|
|
35
|
+
tag?: string;
|
|
36
|
+
/** href for link cards */
|
|
37
|
+
href?: string;
|
|
38
|
+
/** router-link to */
|
|
39
|
+
to?: string | object;
|
|
40
|
+
/** Glass tint mode */
|
|
41
|
+
tint?: 'auto' | 'light' | 'dark';
|
|
42
|
+
/** Backdrop blur amount in px */
|
|
43
|
+
blur?: number;
|
|
44
|
+
/** Backdrop saturation percentage */
|
|
45
|
+
saturation?: number;
|
|
46
|
+
/** Specular highlight intensity (0-1) */
|
|
47
|
+
highlightIntensity?: number;
|
|
48
|
+
/** Accent color for text */
|
|
49
|
+
color?: string;
|
|
50
|
+
}
|
|
51
|
+
declare function __VLS_template(): {
|
|
52
|
+
attrs: Partial<{}>;
|
|
53
|
+
slots: {
|
|
54
|
+
default?(_: {}): any;
|
|
55
|
+
};
|
|
56
|
+
refs: {
|
|
57
|
+
cardRef: unknown;
|
|
58
|
+
};
|
|
59
|
+
rootEl: any;
|
|
60
|
+
};
|
|
61
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
62
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
63
|
+
isHovered: import('vue').Ref<boolean, boolean>;
|
|
64
|
+
isPressed: import('vue').Ref<boolean, boolean>;
|
|
65
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
+
click: (event: MouseEvent) => any;
|
|
67
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
68
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
size: "compact" | "default" | "comfortable";
|
|
71
|
+
disabled: boolean;
|
|
72
|
+
width: string;
|
|
73
|
+
height: string;
|
|
74
|
+
color: string;
|
|
75
|
+
loading: boolean;
|
|
76
|
+
rounded: "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
77
|
+
tag: string;
|
|
78
|
+
href: string;
|
|
79
|
+
to: string | object;
|
|
80
|
+
tint: "auto" | "light" | "dark";
|
|
81
|
+
blur: number;
|
|
82
|
+
saturation: number;
|
|
83
|
+
highlightIntensity: number;
|
|
84
|
+
maxWidth: string;
|
|
85
|
+
horizontal: boolean;
|
|
86
|
+
padding: string;
|
|
87
|
+
hoverable: boolean;
|
|
88
|
+
pressable: boolean;
|
|
89
|
+
clickable: boolean;
|
|
90
|
+
spotlight: boolean;
|
|
91
|
+
spotlightColor: string;
|
|
92
|
+
mediaRight: boolean;
|
|
93
|
+
tilt: boolean;
|
|
94
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
95
|
+
cardRef: unknown;
|
|
96
|
+
}, any>;
|
|
97
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
98
|
+
export default _default;
|
|
99
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Padding size */
|
|
3
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
4
|
+
/** Additional class */
|
|
5
|
+
contentClass?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
8
|
+
contentClass: string;
|
|
9
|
+
padding: "none" | "sm" | "md" | "lg";
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
export interface CardContext {
|
|
3
|
+
variant: 'elevated' | 'outlined' | 'filled' | 'ghost' | 'glass';
|
|
4
|
+
hoverable: boolean;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
horizontal: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const cardContextKey: InjectionKey<CardContext>;
|
|
9
|
+
export { default as SCard } from './SCard';
|
|
10
|
+
export { default as SCardHeader } from './SCardHeader';
|
|
11
|
+
export { default as SCardContent } from './SCardContent';
|
|
12
|
+
export { default as SCardFooter } from './SCardFooter';
|
|
13
|
+
export { default as SCardMedia } from './SCardMedia';
|
|
14
|
+
export { default as SCardActions } from './SCardActions';
|
|
15
|
+
export { default as SGlassCard } from './SGlassCard';
|
|
16
|
+
export { default as SMorphingCard } from './SMorphingCard';
|
|
17
|
+
export { default as SMorphingCardTrigger } from './SMorphingCardTrigger';
|
|
18
|
+
export { default as SMorphingCardContent } from './SMorphingCardContent';
|
|
19
|
+
export { default as SMorphingCardImage } from './SMorphingCardImage';
|
|
20
|
+
export { default as SMorphingCardTitle } from './SMorphingCardTitle';
|
|
21
|
+
export { default as SMorphingCardDescription } from './SMorphingCardDescription';
|
|
22
|
+
export { default as SMorphingCardClose } from './SMorphingCardClose';
|
|
23
|
+
export type { SMorphingCardContext } from './SMorphingCard';
|
|
24
|
+
export { SMorphingCardContextKey } from './SMorphingCard';
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
export type CarouselEffect = 'slide' | 'fade' | 'cube' | 'flip' | 'coverflow' | 'cards' | 'zoom' | 'creative' | 'parallax' | 'stack' | 'swirl' | 'kenburns';
|
|
2
|
+
export type CarouselDirection = 'horizontal' | 'vertical';
|
|
3
|
+
export type DotsPosition = 'bottom' | 'top' | 'left' | 'right';
|
|
4
|
+
export type DotsStyle = 'dots' | 'bars' | 'numbers' | 'fraction';
|
|
5
|
+
export type ArrowStyle = 'default' | 'minimal' | 'rounded' | 'square';
|
|
6
|
+
export type ArrowPlacement = 'sides' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | 'bottom-center' | 'top-center';
|
|
7
|
+
export interface Props {
|
|
8
|
+
modelValue?: number;
|
|
9
|
+
effect?: CarouselEffect;
|
|
10
|
+
direction?: CarouselDirection;
|
|
11
|
+
loop?: boolean;
|
|
12
|
+
rewind?: boolean;
|
|
13
|
+
autoplay?: boolean;
|
|
14
|
+
autoplayDelay?: number;
|
|
15
|
+
pauseOnHover?: boolean;
|
|
16
|
+
pauseOnInteraction?: boolean;
|
|
17
|
+
speed?: number;
|
|
18
|
+
easing?: 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out' | 'linear' | 'spring' | 'bounce';
|
|
19
|
+
showArrows?: boolean;
|
|
20
|
+
showDots?: boolean;
|
|
21
|
+
showProgress?: boolean;
|
|
22
|
+
showThumbnails?: boolean;
|
|
23
|
+
showCounter?: boolean;
|
|
24
|
+
arrowsInside?: boolean;
|
|
25
|
+
arrowStyle?: ArrowStyle;
|
|
26
|
+
arrowPlacement?: ArrowPlacement;
|
|
27
|
+
dotsPosition?: DotsPosition;
|
|
28
|
+
dotsStyle?: DotsStyle;
|
|
29
|
+
gap?: number;
|
|
30
|
+
slidesPerView?: number;
|
|
31
|
+
slidesPerGroup?: number;
|
|
32
|
+
centeredSlides?: boolean;
|
|
33
|
+
height?: string;
|
|
34
|
+
aspectRatio?: string;
|
|
35
|
+
borderRadius?: string;
|
|
36
|
+
arrowSize?: 'small' | 'medium' | 'large';
|
|
37
|
+
mousewheel?: boolean;
|
|
38
|
+
grabCursor?: boolean;
|
|
39
|
+
watchSlidesProgress?: boolean;
|
|
40
|
+
virtualSlides?: boolean;
|
|
41
|
+
freeMode?: boolean;
|
|
42
|
+
freeModeSticky?: boolean;
|
|
43
|
+
resistance?: boolean;
|
|
44
|
+
resistanceRatio?: number;
|
|
45
|
+
touchSensitivity?: number;
|
|
46
|
+
preventClicks?: boolean;
|
|
47
|
+
slideVisibleClass?: string;
|
|
48
|
+
slideActiveClass?: string;
|
|
49
|
+
containerClass?: string;
|
|
50
|
+
a11y?: boolean;
|
|
51
|
+
ariaLabel?: string;
|
|
52
|
+
}
|
|
53
|
+
declare function __VLS_template(): {
|
|
54
|
+
attrs: Partial<{}>;
|
|
55
|
+
slots: {
|
|
56
|
+
default?(_: {}): any;
|
|
57
|
+
thumbnail?(_: {
|
|
58
|
+
index: number;
|
|
59
|
+
isActive: boolean;
|
|
60
|
+
}): any;
|
|
61
|
+
};
|
|
62
|
+
refs: {
|
|
63
|
+
containerRef: HTMLDivElement;
|
|
64
|
+
};
|
|
65
|
+
rootEl: any;
|
|
66
|
+
};
|
|
67
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
68
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
69
|
+
next: () => void;
|
|
70
|
+
prev: () => void;
|
|
71
|
+
goTo: (index: number, skipTransition?: boolean) => void;
|
|
72
|
+
start: () => void;
|
|
73
|
+
stop: () => void;
|
|
74
|
+
pause: () => void;
|
|
75
|
+
resume: () => void;
|
|
76
|
+
activeIndex: import('vue').Ref<number, number>;
|
|
77
|
+
totalSlides: import('vue').ComputedRef<number>;
|
|
78
|
+
isTransitioning: import('vue').Ref<boolean, boolean>;
|
|
79
|
+
slideProgress: import('vue').Ref<Map<number, number> & Omit<Map<number, number>, keyof Map<any, any>>, Map<number, number> | (Map<number, number> & Omit<Map<number, number>, keyof Map<any, any>>)>;
|
|
80
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
81
|
+
click: (index: number) => any;
|
|
82
|
+
"update:modelValue": (index: number) => any;
|
|
83
|
+
change: (index: number) => any;
|
|
84
|
+
slideStart: (index: number) => any;
|
|
85
|
+
slideEnd: (index: number) => any;
|
|
86
|
+
autoplayStart: () => any;
|
|
87
|
+
autoplayStop: () => any;
|
|
88
|
+
autoplayPause: () => any;
|
|
89
|
+
autoplayResume: () => any;
|
|
90
|
+
reachStart: () => any;
|
|
91
|
+
reachEnd: () => any;
|
|
92
|
+
touchStart: (event: MouseEvent | TouchEvent) => any;
|
|
93
|
+
touchMove: (event: MouseEvent | TouchEvent) => any;
|
|
94
|
+
touchEnd: () => any;
|
|
95
|
+
doubleClick: (index: number) => any;
|
|
96
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
97
|
+
onClick?: ((index: number) => any) | undefined;
|
|
98
|
+
"onUpdate:modelValue"?: ((index: number) => any) | undefined;
|
|
99
|
+
onChange?: ((index: number) => any) | undefined;
|
|
100
|
+
onSlideStart?: ((index: number) => any) | undefined;
|
|
101
|
+
onSlideEnd?: ((index: number) => any) | undefined;
|
|
102
|
+
onAutoplayStart?: (() => any) | undefined;
|
|
103
|
+
onAutoplayStop?: (() => any) | undefined;
|
|
104
|
+
onAutoplayPause?: (() => any) | undefined;
|
|
105
|
+
onAutoplayResume?: (() => any) | undefined;
|
|
106
|
+
onReachStart?: (() => any) | undefined;
|
|
107
|
+
onReachEnd?: (() => any) | undefined;
|
|
108
|
+
onTouchStart?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
109
|
+
onTouchMove?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
110
|
+
onTouchEnd?: (() => any) | undefined;
|
|
111
|
+
onDoubleClick?: ((index: number) => any) | undefined;
|
|
112
|
+
}>, {
|
|
113
|
+
modelValue: number;
|
|
114
|
+
borderRadius: string;
|
|
115
|
+
height: string;
|
|
116
|
+
arrowSize: "small" | "medium" | "large";
|
|
117
|
+
arrowStyle: ArrowStyle;
|
|
118
|
+
showProgress: boolean;
|
|
119
|
+
aspectRatio: string;
|
|
120
|
+
direction: CarouselDirection;
|
|
121
|
+
gap: number;
|
|
122
|
+
slidesPerView: number;
|
|
123
|
+
effect: CarouselEffect;
|
|
124
|
+
loop: boolean;
|
|
125
|
+
rewind: boolean;
|
|
126
|
+
autoplay: boolean;
|
|
127
|
+
autoplayDelay: number;
|
|
128
|
+
pauseOnHover: boolean;
|
|
129
|
+
pauseOnInteraction: boolean;
|
|
130
|
+
speed: number;
|
|
131
|
+
easing: "ease" | "ease-in" | "ease-out" | "ease-in-out" | "linear" | "spring" | "bounce";
|
|
132
|
+
showArrows: boolean;
|
|
133
|
+
showDots: boolean;
|
|
134
|
+
showThumbnails: boolean;
|
|
135
|
+
showCounter: boolean;
|
|
136
|
+
arrowsInside: boolean;
|
|
137
|
+
arrowPlacement: ArrowPlacement;
|
|
138
|
+
dotsPosition: DotsPosition;
|
|
139
|
+
dotsStyle: DotsStyle;
|
|
140
|
+
slidesPerGroup: number;
|
|
141
|
+
centeredSlides: boolean;
|
|
142
|
+
mousewheel: boolean;
|
|
143
|
+
grabCursor: boolean;
|
|
144
|
+
watchSlidesProgress: boolean;
|
|
145
|
+
virtualSlides: boolean;
|
|
146
|
+
freeMode: boolean;
|
|
147
|
+
freeModeSticky: boolean;
|
|
148
|
+
resistance: boolean;
|
|
149
|
+
resistanceRatio: number;
|
|
150
|
+
touchSensitivity: number;
|
|
151
|
+
preventClicks: boolean;
|
|
152
|
+
slideVisibleClass: string;
|
|
153
|
+
slideActiveClass: string;
|
|
154
|
+
containerClass: string;
|
|
155
|
+
a11y: boolean;
|
|
156
|
+
ariaLabel: string;
|
|
157
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
158
|
+
containerRef: HTMLDivElement;
|
|
159
|
+
}, any>;
|
|
160
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
161
|
+
export default _default;
|
|
162
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
163
|
+
new (): {
|
|
164
|
+
$slots: S;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
sliderRef: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {
|
|
5
|
+
copied: boolean;
|
|
6
|
+
}): any;
|
|
7
|
+
};
|
|
8
|
+
refs: {};
|
|
9
|
+
rootEl: HTMLButtonElement;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
sliderRef: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -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,9 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
presets?: string[];
|
|
3
|
+
label?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
label: string;
|
|
7
|
+
presets: string[];
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -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, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
label?: string;
|
|
3
|
+
}
|
|
4
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
5
|
+
label: string;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
spectrumRef: HTMLDivElement;
|
|
3
|
+
}, HTMLDivElement>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as SColorPicker } from './SColorPicker';
|
|
2
|
+
export { default as SColorPickerSpectrum } from './SColorPickerSpectrum';
|
|
3
|
+
export { default as SColorPickerHueSlider } from './SColorPickerHueSlider';
|
|
4
|
+
export { default as SColorPickerAlphaSlider } from './SColorPickerAlphaSlider';
|
|
5
|
+
export { default as SColorPickerPreview } from './SColorPickerPreview';
|
|
6
|
+
export { default as SColorPickerEyeDropper } from './SColorPickerEyeDropper';
|
|
7
|
+
export { default as SColorPickerCopy } from './SColorPickerCopy';
|
|
8
|
+
export { default as SColorPickerInputs } from './SColorPickerInputs';
|
|
9
|
+
export { default as SColorPickerPresets } from './SColorPickerPresets';
|
|
10
|
+
export { default as SColorPickerRecent } from './SColorPickerRecent';
|
|
11
|
+
export { SColorPickerContextKey, type SColorPickerContext } from './SColorPicker';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { default as SDrawer } from './SDrawer';
|
|
2
|
+
export { default as SDrawerHeader } from './SDrawerHeader';
|
|
3
|
+
export { default as SDrawerContent } from './SDrawerContent';
|
|
4
|
+
export { default as SDrawerFooter } from './SDrawerFooter';
|
|
5
|
+
export { default as SDrawerTitle } from './SDrawerTitle';
|
|
6
|
+
export { default as SDrawerDescription } from './SDrawerDescription';
|
|
7
|
+
export { default as SDrawerClose } from './SDrawerClose';
|
|
8
|
+
export { default as SDrawerTrigger } from './SDrawerTrigger';
|
|
9
|
+
export { default as SDrawerHandle } from './SDrawerHandle';
|
|
10
|
+
export type { DrawerSide, DrawerSize, DrawerVariant, SDrawerContext } from './SDrawer';
|
|
11
|
+
export { SDrawerContextKey } from './SDrawer';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Custom margin */
|
|
3
|
+
margin?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
margin: string;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Group header label */
|
|
3
|
+
label: string;
|
|
4
|
+
/** Icon for the header */
|
|
5
|
+
icon?: string;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: any;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
17
|
+
icon: string;
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/** Unique key for the item */
|
|
3
|
+
itemKey: string;
|
|
4
|
+
/** Item label text */
|
|
5
|
+
label?: string;
|
|
6
|
+
/** Leading icon (MDI icon name) */
|
|
7
|
+
icon?: string;
|
|
8
|
+
/** Trailing icon */
|
|
9
|
+
trailingIcon?: string;
|
|
10
|
+
/** Description text below label */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Keyboard shortcut display */
|
|
13
|
+
shortcut?: string;
|
|
14
|
+
/** Disable the item */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Danger/destructive styling */
|
|
17
|
+
danger?: boolean;
|
|
18
|
+
/** Checkable state (undefined = not checkable) */
|
|
19
|
+
checked?: boolean;
|
|
20
|
+
/** Custom color for this item */
|
|
21
|
+
color?: string;
|
|
22
|
+
}
|
|
23
|
+
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
25
|
+
slots: {
|
|
26
|
+
default?(_: {}): any;
|
|
27
|
+
trailing?(_: {}): 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
|
+
"update:checked": (checked: boolean) => any;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
37
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
38
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
icon: string;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
label: string;
|
|
43
|
+
color: string;
|
|
44
|
+
description: string;
|
|
45
|
+
checked: boolean;
|
|
46
|
+
trailingIcon: string;
|
|
47
|
+
shortcut: string;
|
|
48
|
+
danger: 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,38 @@
|
|
|
1
|
+
import { FormState } from '../../../composables/useForm';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/** Form state from useForm */
|
|
4
|
+
form: FormState<any>;
|
|
5
|
+
/** Whether the form is disabled */
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/** Gap between form fields */
|
|
8
|
+
gap?: 'none' | 'sm' | 'md' | 'lg';
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {
|
|
14
|
+
isSubmitting: boolean;
|
|
15
|
+
isValid: boolean;
|
|
16
|
+
isDirty: boolean;
|
|
17
|
+
errors: Record<string, string>;
|
|
18
|
+
}): 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
|
+
submit: (values: Record<string, unknown>) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
27
|
+
onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
gap: "none" | "sm" | "md" | "lg";
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { FieldState } from '../../../composables/useForm';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/** Field name matching the key in useFormValidation config */
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
field: FieldState<unknown> | null;
|
|
11
|
+
value: unknown;
|
|
12
|
+
error: string | undefined;
|
|
13
|
+
validationState: "error" | "success" | null;
|
|
14
|
+
modelValue: unknown;
|
|
15
|
+
onUpdate: (val: unknown) => void;
|
|
16
|
+
onBlur: () => void;
|
|
17
|
+
onInput: () => void;
|
|
18
|
+
}): 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, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as SModal } from './SModal';
|
|
2
|
+
export { default as SModalHeader } from './SModalHeader';
|
|
3
|
+
export { default as SModalContent } from './SModalContent';
|
|
4
|
+
export { default as SModalFooter } from './SModalFooter';
|
|
5
|
+
export { default as SModalTrigger } from './SModalTrigger';
|
|
6
|
+
export { default as SModalTitle } from './SModalTitle';
|
|
7
|
+
export { default as SModalDescription } from './SModalDescription';
|
|
8
|
+
export { default as SModalClose } from './SModalClose';
|
|
9
|
+
export { default as SMorphingModal } from './SMorphingModal';
|
|
10
|
+
export { default as SMorphingModalTrigger } from './SMorphingModalTrigger';
|
|
11
|
+
export { default as SMorphingModalClose } from './SMorphingModalClose';
|
|
12
|
+
export { default as SMorphingModalTitle } from './SMorphingModalTitle';
|
|
13
|
+
export { default as SMorphingModalSubtitle } from './SMorphingModalSubtitle';
|
|
14
|
+
export { default as SMorphingModalDescription } from './SMorphingModalDescription';
|
|
15
|
+
export { default as SMorphingModalImage } from './SMorphingModalImage';
|
|
16
|
+
export type { ModalSize, ModalVariant, ModalAnimation, ModalPosition, SModalContext } from './SModal';
|
|
17
|
+
export { SModalContextKey } from './SModal';
|
|
18
|
+
export type { SMorphingModalContext } from './SMorphingModal';
|
|
19
|
+
export { SMorphingModalContextKey } from './SMorphingModal';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
value: any;
|
|
3
|
+
label?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
suffix?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
20
|
+
icon: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
label: string;
|
|
23
|
+
color: string;
|
|
24
|
+
description: string;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|