@aleph-alpha/ui-library 1.23.0 → 1.25.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/config.d.ts +21 -4
- package/config.js +258 -69
- package/dist/system/__tests__/test-utils.d.ts +37 -0
- package/dist/system/components/UiAccordion/UiAccordion.vue.d.ts +21 -0
- package/dist/system/components/UiAccordion/UiAccordionContent.vue.d.ts +18 -0
- package/dist/system/components/UiAccordion/UiAccordionItem.vue.d.ts +18 -0
- package/dist/system/components/UiAccordion/UiAccordionTrigger.vue.d.ts +19 -0
- package/dist/system/components/UiAccordion/index.d.ts +5 -0
- package/dist/system/components/UiAccordion/types.d.ts +85 -0
- package/dist/system/components/UiAlert/UiAlert.vue.d.ts +20 -0
- package/dist/system/components/UiAlert/UiAlertDescription.vue.d.ts +17 -0
- package/dist/system/components/UiAlert/UiAlertTitle.vue.d.ts +17 -0
- package/dist/system/components/UiAlert/constants.d.ts +2 -0
- package/dist/system/components/UiAlert/index.d.ts +4 -0
- package/dist/system/components/UiAlert/types.d.ts +14 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialog.vue.d.ts +24 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogAction.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogCancel.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogContent.vue.d.ts +32 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogDescription.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogFooter.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogHeader.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogTitle.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/UiAlertDialogTrigger.vue.d.ts +17 -0
- package/dist/system/components/UiAlertDialog/index.d.ts +10 -0
- package/dist/system/components/UiAlertDialog/types.d.ts +90 -0
- package/dist/system/components/UiAvatar/UiAvatar.vue.d.ts +17 -0
- package/dist/system/components/UiAvatar/UiAvatarFallback.vue.d.ts +17 -0
- package/dist/system/components/UiAvatar/UiAvatarImage.vue.d.ts +3 -0
- package/dist/system/components/UiAvatar/index.d.ts +4 -0
- package/dist/system/components/UiAvatar/types.d.ts +19 -0
- package/dist/system/components/UiBadge/UiBadge.vue.d.ts +23 -0
- package/dist/system/components/UiBadge/constants.d.ts +3 -0
- package/dist/system/components/UiBadge/index.d.ts +2 -0
- package/dist/system/components/UiBadge/types.d.ts +56 -0
- package/dist/system/components/UiButton/UiButton.vue.d.ts +29 -0
- package/dist/system/components/UiButton/index.d.ts +2 -0
- package/dist/system/components/UiButton/types.d.ts +72 -0
- package/dist/system/components/UiCalendar/UiCalendar.vue.d.ts +52 -0
- package/dist/system/components/UiCalendar/index.d.ts +3 -0
- package/dist/system/components/UiCalendar/types.d.ts +202 -0
- package/dist/system/components/UiCard/index.d.ts +2 -0
- package/dist/system/components/UiCard/types.d.ts +9 -0
- package/dist/system/components/UiCheckbox/UiCheckbox.vue.d.ts +14 -0
- package/dist/system/components/UiCheckbox/index.d.ts +2 -0
- package/dist/system/components/UiCheckbox/types.d.ts +28 -0
- package/dist/system/components/UiChip/UiChip.vue.d.ts +36 -0
- package/dist/system/components/UiChip/index.d.ts +2 -0
- package/dist/system/components/UiChip/types.d.ts +43 -0
- package/dist/system/components/UiCodeBlock/UiCodeBlock.vue.d.ts +11 -0
- package/dist/system/components/UiCodeBlock/index.d.ts +2 -0
- package/dist/system/components/UiCodeBlock/types.d.ts +53 -0
- package/dist/system/components/UiDialog/UiDialog.vue.d.ts +28 -0
- package/dist/system/components/UiDialog/UiDialogClose.vue.d.ts +17 -0
- package/dist/system/components/UiDialog/UiDialogContent.vue.d.ts +39 -0
- package/dist/system/components/UiDialog/UiDialogDescription.vue.d.ts +17 -0
- package/dist/system/components/UiDialog/UiDialogFooter.vue.d.ts +18 -0
- package/dist/system/components/UiDialog/UiDialogHeader.vue.d.ts +18 -0
- package/dist/system/components/UiDialog/UiDialogTitle.vue.d.ts +17 -0
- package/dist/system/components/UiDialog/UiDialogTrigger.vue.d.ts +17 -0
- package/dist/system/components/UiDialog/index.d.ts +13 -0
- package/dist/system/components/UiDialog/types.d.ts +105 -0
- package/dist/system/components/UiDrawer/UiDrawer.vue.d.ts +28 -0
- package/dist/system/components/UiDrawer/UiDrawerClose.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/UiDrawerContent.vue.d.ts +35 -0
- package/dist/system/components/UiDrawer/UiDrawerDescription.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/UiDrawerFooter.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/UiDrawerHeader.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/UiDrawerTitle.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/UiDrawerTrigger.vue.d.ts +18 -0
- package/dist/system/components/UiDrawer/index.d.ts +9 -0
- package/dist/system/components/UiDrawer/types.d.ts +116 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenu.vue.d.ts +25 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuCheckboxItem.vue.d.ts +23 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuContent.vue.d.ts +26 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuGroup.vue.d.ts +17 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuItem.vue.d.ts +23 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuLabel.vue.d.ts +20 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuRadioItem.vue.d.ts +22 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuSeparator.vue.d.ts +2 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuShortcut.vue.d.ts +17 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuSub.vue.d.ts +25 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuSubContent.vue.d.ts +24 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuSubTrigger.vue.d.ts +22 -0
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuTrigger.vue.d.ts +22 -0
- package/dist/system/components/UiDropdownMenu/index.d.ts +15 -0
- package/dist/system/components/UiDropdownMenu/types.d.ts +248 -0
- package/dist/system/components/UiEmpty/UiEmpty.vue.d.ts +22 -0
- package/dist/system/components/UiEmpty/index.d.ts +2 -0
- package/dist/system/components/UiEmpty/types.d.ts +23 -0
- package/dist/system/components/UiField/UiField.vue.d.ts +22 -0
- package/dist/system/components/UiField/UiFieldContent.vue.d.ts +17 -0
- package/dist/system/components/UiField/UiFieldDescription.vue.d.ts +31 -0
- package/dist/system/components/UiField/UiFieldError.vue.d.ts +11 -0
- package/dist/system/components/UiField/UiFieldGroup.vue.d.ts +17 -0
- package/dist/system/components/UiField/UiFieldLabel.vue.d.ts +18 -0
- package/dist/system/components/UiField/UiFieldLabelInfo.vue.d.ts +5 -0
- package/dist/system/components/UiField/UiFieldLegend.vue.d.ts +17 -0
- package/dist/system/components/UiField/UiFieldSeparator.vue.d.ts +17 -0
- package/dist/system/components/UiField/UiFieldSet.vue.d.ts +17 -0
- package/dist/system/components/UiField/UiFieldTitle.vue.d.ts +17 -0
- package/dist/system/components/UiField/index.d.ts +12 -0
- package/dist/system/components/UiField/keys.d.ts +2 -0
- package/dist/system/components/UiField/types.d.ts +119 -0
- package/dist/system/components/UiFileItem/UiFileItem.vue.d.ts +14 -0
- package/dist/system/components/UiFileItem/index.d.ts +2 -0
- package/dist/system/components/UiFileItem/types.d.ts +27 -0
- package/dist/system/components/UiFileUploadBox/UiFileUploadBox.vue.d.ts +61 -0
- package/dist/system/components/UiFileUploadBox/file-validation.d.ts +50 -0
- package/dist/system/components/UiFileUploadBox/index.d.ts +3 -0
- package/dist/system/components/UiFileUploadBox/types.d.ts +82 -0
- package/dist/system/components/UiIcon/UiIcon.vue.d.ts +6 -0
- package/dist/system/components/UiIcon/index.d.ts +2 -0
- package/dist/system/components/UiIcon/types.d.ts +40 -0
- package/dist/system/components/UiIconButton/UiIconButton.vue.d.ts +25 -0
- package/dist/system/components/UiIconButton/index.d.ts +7 -0
- package/dist/system/components/UiIconButton/types.d.ts +67 -0
- package/dist/system/components/UiInput/UiInput.vue.d.ts +21 -0
- package/dist/system/components/UiInput/index.d.ts +2 -0
- package/dist/system/components/UiInput/types.d.ts +60 -0
- package/dist/system/components/UiItem/UiItem.vue.d.ts +23 -0
- package/dist/system/components/UiItem/UiItemMedia.vue.d.ts +20 -0
- package/dist/system/components/UiItem/constants.d.ts +3 -0
- package/dist/system/components/UiItem/index.d.ts +11 -0
- package/dist/system/components/UiItem/types.d.ts +106 -0
- package/dist/system/components/UiKbd/UiKbd.vue.d.ts +20 -0
- package/dist/system/components/UiKbd/UiKbdGroup.vue.d.ts +17 -0
- package/dist/system/components/UiKbd/index.d.ts +3 -0
- package/dist/system/components/UiKbd/types.d.ts +24 -0
- package/dist/system/components/UiLabel/UiLabel.vue.d.ts +18 -0
- package/dist/system/components/UiLabel/index.d.ts +2 -0
- package/dist/system/components/UiLabel/types.d.ts +15 -0
- package/dist/system/components/UiListbox/UiListbox.vue.d.ts +31 -0
- package/dist/system/components/UiListbox/UiListboxContent.vue.d.ts +17 -0
- package/dist/system/components/UiListbox/UiListboxFilter.vue.d.ts +11 -0
- package/dist/system/components/UiListbox/UiListboxGroup.vue.d.ts +17 -0
- package/dist/system/components/UiListbox/UiListboxGroupLabel.vue.d.ts +17 -0
- package/dist/system/components/UiListbox/UiListboxItem.vue.d.ts +22 -0
- package/dist/system/components/UiListbox/UiListboxItemIndicator.vue.d.ts +17 -0
- package/dist/system/components/UiListbox/index.d.ts +8 -0
- package/dist/system/components/UiListbox/types.d.ts +102 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenu.vue.d.ts +32 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuContent.vue.d.ts +28 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuIndicator.vue.d.ts +3 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuItem.vue.d.ts +18 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuLink.vue.d.ts +26 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuList.vue.d.ts +18 -0
- package/dist/system/components/UiNavigationMenu/UiNavigationMenuTrigger.vue.d.ts +18 -0
- package/dist/system/components/UiNavigationMenu/index.d.ts +9 -0
- package/dist/system/components/UiNavigationMenu/types.d.ts +163 -0
- package/dist/system/components/UiPopover/UiPopover.vue.d.ts +26 -0
- package/dist/system/components/UiPopover/UiPopoverContent.vue.d.ts +26 -0
- package/dist/system/components/UiPopover/UiPopoverTrigger.vue.d.ts +18 -0
- package/dist/system/components/UiPopover/index.d.ts +5 -0
- package/dist/system/components/UiPopover/types.d.ts +90 -0
- package/dist/system/components/UiProgress/UiProgress.vue.d.ts +13 -0
- package/dist/system/components/UiProgress/index.d.ts +2 -0
- package/dist/system/components/UiProgress/types.d.ts +15 -0
- package/dist/system/components/UiRadioGroup/UiRadioGroup.vue.d.ts +33 -0
- package/dist/system/components/UiRadioGroup/UiRadioGroupItem.vue.d.ts +7 -0
- package/dist/system/components/UiRadioGroup/index.d.ts +3 -0
- package/dist/system/components/UiRadioGroup/types.d.ts +68 -0
- package/dist/system/components/UiRangeCalendar/UiRangeCalendar.vue.d.ts +25 -0
- package/dist/system/components/UiRangeCalendar/index.d.ts +3 -0
- package/dist/system/components/UiRangeCalendar/types.d.ts +157 -0
- package/dist/system/components/UiSelect/UiSelect.vue.d.ts +33 -0
- package/dist/system/components/UiSelect/UiSelectContent.vue.d.ts +29 -0
- package/dist/system/components/UiSelect/UiSelectGroup.vue.d.ts +17 -0
- package/dist/system/components/UiSelect/UiSelectItem.vue.d.ts +21 -0
- package/dist/system/components/UiSelect/UiSelectLabel.vue.d.ts +17 -0
- package/dist/system/components/UiSelect/UiSelectSeparator.vue.d.ts +2 -0
- package/dist/system/components/UiSelect/UiSelectTrigger.vue.d.ts +22 -0
- package/dist/system/components/UiSelect/UiSelectValue.vue.d.ts +20 -0
- package/dist/system/components/UiSelect/index.d.ts +9 -0
- package/dist/system/components/UiSelect/types.d.ts +86 -0
- package/dist/system/components/UiSeparator/UiSeparator.vue.d.ts +6 -0
- package/dist/system/components/UiSeparator/index.d.ts +2 -0
- package/dist/system/components/UiSeparator/types.d.ts +22 -0
- package/dist/system/components/UiSheet/index.d.ts +2 -0
- package/dist/system/components/UiSheet/types.d.ts +75 -0
- package/dist/system/components/UiSkeleton/UiSkeleton.vue.d.ts +5 -0
- package/dist/system/components/UiSkeleton/index.d.ts +2 -0
- package/dist/system/components/UiSkeleton/types.d.ts +25 -0
- package/dist/system/components/UiSlider/UiSlider.vue.d.ts +9 -0
- package/dist/system/components/UiSlider/index.d.ts +2 -0
- package/dist/system/components/UiSlider/types.d.ts +86 -0
- package/dist/system/components/UiSpinner/UiSpinner.vue.d.ts +5 -0
- package/dist/system/components/UiSpinner/index.d.ts +2 -0
- package/dist/system/components/UiSpinner/types.d.ts +15 -0
- package/dist/system/components/UiStepper/UiStepper.vue.d.ts +38 -0
- package/dist/system/components/UiStepper/UiStepperDescription.vue.d.ts +17 -0
- package/dist/system/components/UiStepper/UiStepperIndicator.vue.d.ts +17 -0
- package/dist/system/components/UiStepper/UiStepperItem.vue.d.ts +18 -0
- package/dist/system/components/UiStepper/UiStepperSeparator.vue.d.ts +2 -0
- package/dist/system/components/UiStepper/UiStepperTitle.vue.d.ts +17 -0
- package/dist/system/components/UiStepper/UiStepperTrigger.vue.d.ts +20 -0
- package/dist/system/components/UiStepper/index.d.ts +8 -0
- package/dist/system/components/UiStepper/types.d.ts +61 -0
- package/dist/system/components/UiSwitch/UiSwitch.vue.d.ts +14 -0
- package/dist/system/components/UiSwitch/index.d.ts +2 -0
- package/dist/system/components/UiSwitch/types.d.ts +24 -0
- package/dist/system/components/UiTable/UiTable.vue.d.ts +17 -0
- package/dist/system/components/UiTable/UiTableBody.vue.d.ts +17 -0
- package/dist/system/components/UiTable/UiTableCaption.vue.d.ts +17 -0
- package/dist/system/components/UiTable/UiTableCell.vue.d.ts +18 -0
- package/dist/system/components/UiTable/UiTableEmpty.vue.d.ts +20 -0
- package/dist/system/components/UiTable/UiTableFooter.vue.d.ts +17 -0
- package/dist/system/components/UiTable/UiTableHead.vue.d.ts +20 -0
- package/dist/system/components/UiTable/UiTableHeader.vue.d.ts +17 -0
- package/dist/system/components/UiTable/UiTableRow.vue.d.ts +20 -0
- package/dist/system/components/UiTable/index.d.ts +10 -0
- package/dist/system/components/UiTable/types.d.ts +61 -0
- package/dist/system/components/UiTabs/UiTabs.vue.d.ts +22 -0
- package/dist/system/components/UiTabs/UiTabsContent.vue.d.ts +18 -0
- package/dist/system/components/UiTabs/UiTabsList.vue.d.ts +18 -0
- package/dist/system/components/UiTabs/UiTabsTrigger.vue.d.ts +18 -0
- package/dist/system/components/UiTabs/index.d.ts +5 -0
- package/dist/system/components/UiTabs/types.d.ts +60 -0
- package/dist/system/components/UiTagsInput/UiTagsInput.vue.d.ts +30 -0
- package/dist/system/components/UiTagsInput/UiTagsInputInput.vue.d.ts +3 -0
- package/dist/system/components/UiTagsInput/UiTagsInputItem.vue.d.ts +18 -0
- package/dist/system/components/UiTagsInput/UiTagsInputItemDelete.vue.d.ts +17 -0
- package/dist/system/components/UiTagsInput/UiTagsInputItemText.vue.d.ts +2 -0
- package/dist/system/components/UiTagsInput/index.d.ts +6 -0
- package/dist/system/components/UiTagsInput/types.d.ts +47 -0
- package/dist/system/components/UiTextarea/UiTextarea.vue.d.ts +14 -0
- package/dist/system/components/UiTextarea/index.d.ts +2 -0
- package/dist/system/components/UiTextarea/types.d.ts +29 -0
- package/dist/system/components/UiToggle/UiToggle.vue.d.ts +30 -0
- package/dist/system/components/UiToggle/index.d.ts +2 -0
- package/dist/system/components/UiToggle/types.d.ts +34 -0
- package/dist/system/components/UiToggleGroup/UiToggleGroup.vue.d.ts +31 -0
- package/dist/system/components/UiToggleGroup/UiToggleGroupItem.vue.d.ts +18 -0
- package/dist/system/components/UiToggleGroup/index.d.ts +3 -0
- package/dist/system/components/UiToggleGroup/types.d.ts +123 -0
- package/dist/system/components/UiTooltip/UiTooltip.vue.d.ts +33 -0
- package/dist/system/components/UiTooltip/index.d.ts +3 -0
- package/dist/system/components/UiTooltip/types.d.ts +45 -0
- package/dist/system/components/core/accordion/Accordion.vue.d.ts +25 -0
- package/dist/system/components/core/accordion/AccordionContent.vue.d.ts +22 -0
- package/dist/system/components/core/accordion/AccordionItem.vue.d.ts +22 -0
- package/dist/system/components/core/accordion/AccordionTrigger.vue.d.ts +23 -0
- package/dist/system/components/core/accordion/index.d.ts +4 -0
- package/dist/system/components/core/alert/Alert.vue.d.ts +23 -0
- package/dist/system/components/core/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/system/components/core/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/system/components/core/alert/index.d.ts +8 -0
- package/dist/system/components/core/alert-dialog/AlertDialog.vue.d.ts +25 -0
- package/dist/system/components/core/alert-dialog/AlertDialogAction.vue.d.ts +18 -0
- package/dist/system/components/core/alert-dialog/AlertDialogCancel.vue.d.ts +18 -0
- package/dist/system/components/core/alert-dialog/AlertDialogContent.vue.d.ts +40 -0
- package/dist/system/components/core/alert-dialog/AlertDialogDescription.vue.d.ts +18 -0
- package/dist/system/components/core/alert-dialog/AlertDialogFooter.vue.d.ts +17 -0
- package/dist/system/components/core/alert-dialog/AlertDialogHeader.vue.d.ts +17 -0
- package/dist/system/components/core/alert-dialog/AlertDialogTitle.vue.d.ts +18 -0
- package/dist/system/components/core/alert-dialog/AlertDialogTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/alert-dialog/index.d.ts +9 -0
- package/dist/system/components/core/avatar/Avatar.vue.d.ts +21 -0
- package/dist/system/components/core/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/system/components/core/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/system/components/core/avatar/index.d.ts +3 -0
- package/dist/system/components/core/badge/Badge.vue.d.ts +25 -0
- package/dist/system/components/core/badge/index.d.ts +7 -0
- package/dist/system/components/core/button/Button.vue.d.ts +28 -0
- package/dist/system/components/core/button/index.d.ts +7 -0
- package/dist/system/components/core/calendar/Calendar.vue.d.ts +44 -0
- package/dist/system/components/core/calendar/CalendarCell.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarCellTrigger.vue.d.ts +24 -0
- package/dist/system/components/core/calendar/CalendarGrid.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarGridBody.vue.d.ts +18 -0
- package/dist/system/components/core/calendar/CalendarGridHead.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarGridRow.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarHeadCell.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarHeader.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarHeading.vue.d.ts +28 -0
- package/dist/system/components/core/calendar/CalendarNextButton.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/CalendarPrevButton.vue.d.ts +22 -0
- package/dist/system/components/core/calendar/index.d.ts +13 -0
- package/dist/system/components/core/card/Card.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardAction.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardContent.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardDescription.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardFooter.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardHeader.vue.d.ts +21 -0
- package/dist/system/components/core/card/CardTitle.vue.d.ts +21 -0
- package/dist/system/components/core/card/index.d.ts +7 -0
- package/dist/system/components/core/checkbox/Checkbox.vue.d.ts +29 -0
- package/dist/system/components/core/checkbox/index.d.ts +1 -0
- package/dist/system/components/core/dialog/Dialog.vue.d.ts +25 -0
- package/dist/system/components/core/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/system/components/core/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/system/components/core/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/system/components/core/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/system/components/core/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/system/components/core/dialog/DialogOverlay.vue.d.ts +18 -0
- package/dist/system/components/core/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/system/components/core/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/dialog/index.d.ts +9 -0
- package/dist/system/components/core/drawer/Drawer.vue.d.ts +25 -0
- package/dist/system/components/core/drawer/DrawerClose.vue.d.ts +18 -0
- package/dist/system/components/core/drawer/DrawerContent.vue.d.ts +41 -0
- package/dist/system/components/core/drawer/DrawerDescription.vue.d.ts +22 -0
- package/dist/system/components/core/drawer/DrawerFooter.vue.d.ts +21 -0
- package/dist/system/components/core/drawer/DrawerHeader.vue.d.ts +21 -0
- package/dist/system/components/core/drawer/DrawerTitle.vue.d.ts +22 -0
- package/dist/system/components/core/drawer/DrawerTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/drawer/index.d.ts +8 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/system/components/core/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/dropdown-menu/index.d.ts +15 -0
- package/dist/system/components/core/field/Field.vue.d.ts +23 -0
- package/dist/system/components/core/field/FieldContent.vue.d.ts +21 -0
- package/dist/system/components/core/field/FieldDescription.vue.d.ts +21 -0
- package/dist/system/components/core/field/FieldError.vue.d.ts +24 -0
- package/dist/system/components/core/field/FieldGroup.vue.d.ts +21 -0
- package/dist/system/components/core/field/FieldLabel.vue.d.ts +22 -0
- package/dist/system/components/core/field/FieldLegend.vue.d.ts +22 -0
- package/dist/system/components/core/field/FieldSeparator.vue.d.ts +21 -0
- package/dist/system/components/core/field/FieldSet.vue.d.ts +21 -0
- package/dist/system/components/core/field/FieldTitle.vue.d.ts +21 -0
- package/dist/system/components/core/field/index.d.ts +15 -0
- package/dist/system/components/core/icon/Icon.vue.d.ts +21 -0
- package/dist/system/components/core/icon/index.d.ts +1 -0
- package/dist/system/components/core/index.d.ts +4 -0
- package/dist/system/components/core/input/Input.vue.d.ts +12 -0
- package/dist/system/components/core/input/index.d.ts +1 -0
- package/dist/system/components/core/item/Item.vue.d.ts +30 -0
- package/dist/system/components/core/item/ItemActions.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemContent.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemDescription.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemFooter.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemGroup.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemHeader.vue.d.ts +21 -0
- package/dist/system/components/core/item/ItemMedia.vue.d.ts +23 -0
- package/dist/system/components/core/item/ItemSeparator.vue.d.ts +7 -0
- package/dist/system/components/core/item/ItemTitle.vue.d.ts +21 -0
- package/dist/system/components/core/item/index.d.ts +20 -0
- package/dist/system/components/core/kbd/Kbd.vue.d.ts +21 -0
- package/dist/system/components/core/kbd/KbdGroup.vue.d.ts +21 -0
- package/dist/system/components/core/kbd/index.d.ts +2 -0
- package/dist/system/components/core/label/Label.vue.d.ts +22 -0
- package/dist/system/components/core/label/index.d.ts +1 -0
- package/dist/system/components/core/listbox/Listbox.vue.d.ts +38 -0
- package/dist/system/components/core/listbox/ListboxContent.vue.d.ts +22 -0
- package/dist/system/components/core/listbox/ListboxFilter.vue.d.ts +11 -0
- package/dist/system/components/core/listbox/ListboxGroup.vue.d.ts +22 -0
- package/dist/system/components/core/listbox/ListboxGroupLabel.vue.d.ts +22 -0
- package/dist/system/components/core/listbox/ListboxItem.vue.d.ts +26 -0
- package/dist/system/components/core/listbox/ListboxItemIndicator.vue.d.ts +22 -0
- package/dist/system/components/core/listbox/index.d.ts +7 -0
- package/dist/system/components/core/native-select/NativeSelect.vue.d.ts +27 -0
- package/dist/system/components/core/native-select/NativeSelectOptGroup.vue.d.ts +405 -0
- package/dist/system/components/core/native-select/NativeSelectOption.vue.d.ts +409 -0
- package/dist/system/components/core/native-select/index.d.ts +3 -0
- package/dist/system/components/core/navigation-menu/NavigationMenu.vue.d.ts +29 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuContent.vue.d.ts +28 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuIndicator.vue.d.ts +3 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuItem.vue.d.ts +18 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuLink.vue.d.ts +26 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuList.vue.d.ts +18 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/navigation-menu/NavigationMenuViewport.vue.d.ts +3 -0
- package/dist/system/components/core/navigation-menu/index.d.ts +9 -0
- package/dist/system/components/core/popover/Popover.vue.d.ts +22 -0
- package/dist/system/components/core/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/system/components/core/popover/PopoverTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/popover/index.d.ts +4 -0
- package/dist/system/components/core/progress/Progress.vue.d.ts +9 -0
- package/dist/system/components/core/progress/index.d.ts +1 -0
- package/dist/system/components/core/radio-group/RadioGroup.vue.d.ts +28 -0
- package/dist/system/components/core/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/system/components/core/radio-group/index.d.ts +2 -0
- package/dist/system/components/core/range-calendar/RangeCalendar.vue.d.ts +17 -0
- package/dist/system/components/core/range-calendar/RangeCalendarCell.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarCellTrigger.vue.d.ts +24 -0
- package/dist/system/components/core/range-calendar/RangeCalendarGrid.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarGridBody.vue.d.ts +18 -0
- package/dist/system/components/core/range-calendar/RangeCalendarGridHead.vue.d.ts +18 -0
- package/dist/system/components/core/range-calendar/RangeCalendarGridRow.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarHeadCell.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarHeader.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarHeading.vue.d.ts +28 -0
- package/dist/system/components/core/range-calendar/RangeCalendarNextButton.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/RangeCalendarPrevButton.vue.d.ts +22 -0
- package/dist/system/components/core/range-calendar/index.d.ts +12 -0
- package/dist/system/components/core/select/Select.vue.d.ts +28 -0
- package/dist/system/components/core/select/SelectContent.vue.d.ts +32 -0
- package/dist/system/components/core/select/SelectGroup.vue.d.ts +18 -0
- package/dist/system/components/core/select/SelectItem.vue.d.ts +23 -0
- package/dist/system/components/core/select/SelectItemText.vue.d.ts +18 -0
- package/dist/system/components/core/select/SelectLabel.vue.d.ts +22 -0
- package/dist/system/components/core/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/system/components/core/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/system/components/core/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/system/components/core/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/system/components/core/select/SelectValue.vue.d.ts +18 -0
- package/dist/system/components/core/select/index.d.ts +11 -0
- package/dist/system/components/core/separator/Separator.vue.d.ts +10 -0
- package/dist/system/components/core/separator/index.d.ts +1 -0
- package/dist/system/components/core/sheet/Sheet.vue.d.ts +25 -0
- package/dist/system/components/core/sheet/SheetClose.vue.d.ts +18 -0
- package/dist/system/components/core/sheet/SheetContent.vue.d.ts +39 -0
- package/dist/system/components/core/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/system/components/core/sheet/SheetFooter.vue.d.ts +17 -0
- package/dist/system/components/core/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/system/components/core/sheet/SheetOverlay.vue.d.ts +18 -0
- package/dist/system/components/core/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/system/components/core/sheet/SheetTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/sheet/index.d.ts +8 -0
- package/dist/system/components/core/sidebar/Sidebar.vue.d.ts +24 -0
- package/dist/system/components/core/sidebar/SidebarContent.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarFooter.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarGroup.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarGroupAction.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarGroupContent.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarGroupLabel.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarHeader.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarInput.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarInset.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarMenu.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarMenuAction.vue.d.ts +20 -0
- package/dist/system/components/core/sidebar/SidebarMenuBadge.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarMenuButton.vue.d.ts +27 -0
- package/dist/system/components/core/sidebar/SidebarMenuButtonChild.vue.d.ts +28 -0
- package/dist/system/components/core/sidebar/SidebarMenuItem.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarMenuSkeleton.vue.d.ts +5 -0
- package/dist/system/components/core/sidebar/SidebarMenuSub.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarMenuSubButton.vue.d.ts +23 -0
- package/dist/system/components/core/sidebar/SidebarMenuSubItem.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarProvider.vue.d.ts +28 -0
- package/dist/system/components/core/sidebar/SidebarRail.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarSeparator.vue.d.ts +17 -0
- package/dist/system/components/core/sidebar/SidebarTrigger.vue.d.ts +2 -0
- package/dist/system/components/core/sidebar/index.d.ts +35 -0
- package/dist/system/components/core/sidebar/utils.d.ts +21 -0
- package/dist/system/components/core/skeleton/Skeleton.vue.d.ts +6 -0
- package/dist/system/components/core/skeleton/index.d.ts +1 -0
- package/dist/system/components/core/slider/Slider.vue.d.ts +13 -0
- package/dist/system/components/core/slider/index.d.ts +1 -0
- package/dist/system/components/core/spinner/Spinner.vue.d.ts +6 -0
- package/dist/system/components/core/spinner/index.d.ts +1 -0
- package/dist/system/components/core/stepper/Stepper.vue.d.ts +38 -0
- package/dist/system/components/core/stepper/StepperDescription.vue.d.ts +22 -0
- package/dist/system/components/core/stepper/StepperIndicator.vue.d.ts +22 -0
- package/dist/system/components/core/stepper/StepperItem.vue.d.ts +22 -0
- package/dist/system/components/core/stepper/StepperSeparator.vue.d.ts +7 -0
- package/dist/system/components/core/stepper/StepperTitle.vue.d.ts +22 -0
- package/dist/system/components/core/stepper/StepperTrigger.vue.d.ts +22 -0
- package/dist/system/components/core/stepper/index.d.ts +7 -0
- package/dist/system/components/core/switch/Switch.vue.d.ts +29 -0
- package/dist/system/components/core/switch/index.d.ts +1 -0
- package/dist/system/components/core/table/Table.vue.d.ts +21 -0
- package/dist/system/components/core/table/TableBody.vue.d.ts +21 -0
- package/dist/system/components/core/table/TableCaption.vue.d.ts +21 -0
- package/dist/system/components/core/table/TableCell.vue.d.ts +23 -0
- package/dist/system/components/core/table/TableEmpty.vue.d.ts +24 -0
- package/dist/system/components/core/table/TableFooter.vue.d.ts +21 -0
- package/dist/system/components/core/table/TableHead.vue.d.ts +24 -0
- package/dist/system/components/core/table/TableHeader.vue.d.ts +21 -0
- package/dist/system/components/core/table/TableRow.vue.d.ts +22 -0
- package/dist/system/components/core/table/index.d.ts +9 -0
- package/dist/system/components/core/table/utils.d.ts +3 -0
- package/dist/system/components/core/tabs/Tabs.vue.d.ts +28 -0
- package/dist/system/components/core/tabs/TabsContent.vue.d.ts +22 -0
- package/dist/system/components/core/tabs/TabsList.vue.d.ts +22 -0
- package/dist/system/components/core/tabs/TabsTrigger.vue.d.ts +22 -0
- package/dist/system/components/core/tabs/index.d.ts +4 -0
- package/dist/system/components/core/tags-input/TagsInput.vue.d.ts +34 -0
- package/dist/system/components/core/tags-input/TagsInputInput.vue.d.ts +7 -0
- package/dist/system/components/core/tags-input/TagsInputItem.vue.d.ts +22 -0
- package/dist/system/components/core/tags-input/TagsInputItemDelete.vue.d.ts +22 -0
- package/dist/system/components/core/tags-input/TagsInputItemText.vue.d.ts +7 -0
- package/dist/system/components/core/tags-input/index.d.ts +5 -0
- package/dist/system/components/core/textarea/Textarea.vue.d.ts +12 -0
- package/dist/system/components/core/textarea/index.d.ts +1 -0
- package/dist/system/components/core/toggle/Toggle.vue.d.ts +31 -0
- package/dist/system/components/core/toggle/index.d.ts +7 -0
- package/dist/system/components/core/toggle-group/ToggleGroup.vue.d.ts +30 -0
- package/dist/system/components/core/toggle-group/ToggleGroupItem.vue.d.ts +23 -0
- package/dist/system/components/core/toggle-group/context.d.ts +7 -0
- package/dist/system/components/core/toggle-group/index.d.ts +9 -0
- package/dist/system/components/core/tooltip/Tooltip.vue.d.ts +22 -0
- package/dist/system/components/core/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/system/components/core/tooltip/TooltipProvider.vue.d.ts +18 -0
- package/dist/system/components/core/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/system/components/core/tooltip/index.d.ts +4 -0
- package/dist/system/components/index.d.ts +49 -0
- package/dist/system/directives/index.d.ts +3 -0
- package/dist/system/directives/useVHover.d.ts +26 -0
- package/dist/system/directives/vHover.d.ts +38 -0
- package/dist/system/directives/vOverlay.d.ts +28 -0
- package/dist/system/index.d.ts +12 -8509
- package/dist/system/lib/utils.d.ts +2 -0
- package/dist/system/lib.js +16445 -16177
- package/dist/system/patterns/UiDataTable/UiDataTable.mock.d.ts +44 -0
- package/dist/system/patterns/UiDataTable/UiDataTable.vue.d.ts +18 -0
- package/dist/system/patterns/UiDataTable/UiDataTableColumnHeader.vue.d.ts +14 -0
- package/dist/system/patterns/UiDataTable/UiDataTablePagination.vue.d.ts +14 -0
- package/dist/system/patterns/UiDataTable/UiDataTableToolbar.vue.d.ts +14 -0
- package/dist/system/patterns/UiDataTable/constants.d.ts +68 -0
- package/dist/system/patterns/UiDataTable/index.d.ts +6 -0
- package/dist/system/patterns/UiDataTable/types.d.ts +117 -0
- package/dist/system/patterns/UiDatePicker/UiDatePicker.vue.d.ts +29 -0
- package/dist/system/patterns/UiDatePicker/index.d.ts +3 -0
- package/dist/system/patterns/UiDatePicker/types.d.ts +189 -0
- package/dist/system/patterns/UiFileUpload/UiFileUpload.vue.d.ts +56 -0
- package/dist/system/patterns/UiFileUpload/index.d.ts +3 -0
- package/dist/system/patterns/UiFileUpload/types.d.ts +10 -0
- package/dist/system/patterns/UiPlaceholder/UiPlaceholder.vue.d.ts +2 -0
- package/dist/system/patterns/UiPlaceholder/index.d.ts +1 -0
- package/dist/system/patterns/UiPlaceholder/types.d.ts +7 -0
- package/dist/system/patterns/UiSidebar/UiSidebar.vue.d.ts +21 -0
- package/dist/system/patterns/UiSidebar/UiSidebarChatHistory.vue.d.ts +20 -0
- package/dist/system/patterns/UiSidebar/UiSidebarChatHistoryItem.vue.d.ts +34 -0
- package/dist/system/patterns/UiSidebar/UiSidebarContent.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarFooter.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarGroup.vue.d.ts +20 -0
- package/dist/system/patterns/UiSidebar/UiSidebarGroupContent.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarGroupLabel.vue.d.ts +33 -0
- package/dist/system/patterns/UiSidebar/UiSidebarHeader.vue.d.ts +22 -0
- package/dist/system/patterns/UiSidebar/UiSidebarInset.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarMenu.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarMenuButton.vue.d.ts +33 -0
- package/dist/system/patterns/UiSidebar/UiSidebarMenuItem.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarMenuSub.vue.d.ts +20 -0
- package/dist/system/patterns/UiSidebar/UiSidebarMenuSubItem.vue.d.ts +21 -0
- package/dist/system/patterns/UiSidebar/UiSidebarPopover.vue.d.ts +26 -0
- package/dist/system/patterns/UiSidebar/UiSidebarPopoverMenu.vue.d.ts +22 -0
- package/dist/system/patterns/UiSidebar/UiSidebarPopoverMenuItem.vue.d.ts +23 -0
- package/dist/system/patterns/UiSidebar/UiSidebarPopoverTrigger.vue.d.ts +22 -0
- package/dist/system/patterns/UiSidebar/UiSidebarProvider.vue.d.ts +18 -0
- package/dist/system/patterns/UiSidebar/UiSidebarRail.vue.d.ts +3 -0
- package/dist/system/patterns/UiSidebar/UiSidebarSub.vue.d.ts +21 -0
- package/dist/system/patterns/UiSidebar/UiSidebarTrigger.vue.d.ts +6 -0
- package/dist/system/patterns/UiSidebar/__tests__/sidebar-test-helpers.d.ts +134 -0
- package/dist/system/patterns/UiSidebar/activeIndicator.d.ts +16 -0
- package/dist/system/patterns/UiSidebar/groupContext.d.ts +11 -0
- package/dist/system/patterns/UiSidebar/index.d.ts +24 -0
- package/dist/system/patterns/UiSidebar/types.d.ts +410 -0
- package/dist/system/patterns/index.d.ts +9 -0
- package/dist/system/templates/UiTemplatePlaceholder/UiTemplatePlaceholder.vue.d.ts +2 -0
- package/dist/system/templates/UiTemplatePlaceholder/index.d.ts +1 -0
- package/dist/system/templates/UiTemplatePlaceholder/types.d.ts +7 -0
- package/dist/system/templates/index.d.ts +5 -0
- package/hover-mix.d.ts +93 -0
- package/hover-mix.js +216 -0
- package/package.json +6 -3
- package/src/components/UiAlertDialog/__tests__/UiAlertDialog.test.ts +8 -0
- package/src/components/UiBadge/UiBadge.stories.ts +239 -239
- package/src/components/UiBadge/UiBadge.vue +8 -3
- package/src/components/UiBadge/__tests__/UiBadge.test.ts +52 -0
- package/src/components/UiBadge/constants.ts +12 -2
- package/src/components/UiBadge/types.ts +29 -5
- package/src/components/UiButton/UiButton.stories.ts +198 -4
- package/src/components/UiButton/UiButton.vue +23 -11
- package/src/components/UiButton/types.ts +13 -2
- package/src/components/UiCard/UiCard.stories.ts +6 -6
- package/src/components/UiCheckbox/UiCheckbox.stories.ts +12 -12
- package/src/components/UiChip/UiChip.stories.ts +2 -2
- package/src/components/UiChip/UiChip.vue +1 -1
- package/src/components/UiCodeBlock/UiCodeBlock.vue +11 -4
- package/src/components/UiDialog/UiDialog.stories.ts +13 -13
- package/src/components/UiDrawer/UiDrawer.stories.ts +14 -14
- package/src/components/UiDrawer/types.ts +1 -1
- package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +6 -7
- package/src/components/UiDropdownMenu/__tests__/UiDropdownMenu.test.ts +7 -0
- package/src/components/UiDropdownMenu/types.ts +1 -1
- package/src/components/UiEmpty/UiEmpty.vue +2 -2
- package/src/components/UiField/UiFieldLabelInfo.vue +3 -3
- package/src/components/UiField/types.ts +1 -1
- package/src/components/UiFileItem/UiFileItem.stories.ts +7 -7
- package/src/components/UiFileUploadBox/UiFileUploadBox.stories.ts +4 -4
- package/src/components/UiFileUploadBox/UiFileUploadBox.vue +2 -5
- package/src/components/UiFileUploadBox/file-validation.ts +43 -9
- package/src/components/UiFileUploadBox/types.ts +0 -1
- package/src/components/UiIcon/UiIcon.stories.ts +8 -8
- package/src/components/UiIcon/UiIcon.vue +22 -3
- package/src/components/UiIcon/index.ts +1 -1
- package/src/components/UiIcon/types.ts +14 -3
- package/src/components/UiIconButton/UiIconButton.stories.ts +23 -7
- package/src/components/UiIconButton/UiIconButton.vue +10 -5
- package/src/components/UiIconButton/index.ts +12 -1
- package/src/components/UiIconButton/types.ts +18 -1
- package/src/components/UiInput/UiInput.stories.ts +4 -4
- package/src/components/UiInput/UiInput.vue +72 -2
- package/src/components/UiInput/types.ts +53 -7
- package/src/components/UiItem/UiItem.stories.ts +7 -7
- package/src/components/UiItem/__tests__/UiItem.test.ts +2 -2
- package/src/components/UiKbd/UiKbd.stories.ts +16 -16
- package/src/components/UiNavigationMenu/UiNavigationMenu.stories.ts +58 -58
- package/src/components/UiNavigationMenu/__tests__/UiNavigationMenu.test.ts +11 -0
- package/src/components/UiNavigationMenu/types.ts +6 -2
- package/src/components/UiPopover/types.ts +1 -1
- package/src/components/UiSelect/__tests__/UiSelect.test.ts +8 -0
- package/src/components/UiSeparator/UiSeparator.stories.ts +16 -16
- package/src/components/UiSheet/types.ts +1 -2
- package/src/components/UiStepper/types.ts +1 -2
- package/src/components/UiTable/UiTable.stories.ts +4 -4
- package/src/components/UiTextarea/UiTextarea.stories.ts +4 -4
- package/src/components/UiToggle/UiToggle.stories.ts +8 -8
- package/src/components/UiToggleGroup/__tests__/UiToggleGroup.test.ts +2 -0
- package/src/components/UiToggleGroup/types.ts +1 -3
- package/src/components/UiTooltip/UiTooltip.stories.ts +3 -3
- package/src/components/core/alert-dialog/AlertDialogDescription.vue +1 -1
- package/src/components/core/alert-dialog/AlertDialogTitle.vue +1 -1
- package/src/components/core/badge/Badge.vue +28 -19
- package/src/components/core/badge/index.ts +16 -5
- package/src/components/core/button/Button.vue +1 -26
- package/src/components/core/button/index.ts +25 -20
- package/src/components/core/calendar/CalendarHeading.vue +1 -1
- package/src/components/core/card/CardDescription.vue +1 -1
- package/src/components/core/card/CardTitle.vue +1 -1
- package/src/components/core/dialog/DialogDescription.vue +1 -1
- package/src/components/core/dialog/DialogTitle.vue +1 -1
- package/src/components/core/drawer/DrawerTitle.vue +1 -1
- package/src/components/core/field/FieldError.vue +1 -1
- package/src/components/core/field/FieldTitle.vue +1 -1
- package/src/components/core/input/Input.vue +1 -1
- package/src/components/core/item/ItemTitle.vue +1 -1
- package/src/components/core/range-calendar/RangeCalendarHeading.vue +1 -1
- package/src/components/core/sheet/SheetDescription.vue +1 -1
- package/src/components/core/sheet/SheetTitle.vue +1 -1
- package/src/components/core/sidebar/Sidebar.vue +2 -2
- package/src/components/core/sidebar/SidebarGroupLabel.vue +1 -1
- package/src/components/core/sidebar/SidebarMenuSub.vue +1 -1
- package/src/components/core/stepper/StepperTitle.vue +1 -3
- package/src/components/core/table/TableCaption.vue +4 -1
- package/src/directives/index.ts +11 -1
- package/src/directives/useVHover.ts +67 -0
- package/src/directives/vHover.stories.ts +18 -18
- package/src/directives/vHover.ts +66 -29
- package/src/directives/vOverlay.ts +49 -15
- package/src/patterns/UiDataTable/UiDataTablePagination.vue +3 -3
- package/src/patterns/UiDataTable/__tests__/UiDataTableColumnHeader.test.ts +6 -0
- package/src/patterns/UiDataTable/__tests__/UiDataTablePagination.test.ts +11 -0
- package/src/patterns/UiDataTable/__tests__/UiDataTableToolbar.test.ts +6 -0
- package/src/patterns/UiFileUpload/UiFileUpload.stories.ts +4 -4
- package/src/patterns/UiFileUpload/types.ts +0 -1
- package/src/patterns/UiSidebar/UiSidebar.stories.ts +285 -49
- package/src/patterns/UiSidebar/UiSidebarChatHistory.stories.ts +16 -1
- package/src/patterns/UiSidebar/UiSidebarChatHistoryItem.stories.ts +118 -2
- package/src/patterns/UiSidebar/UiSidebarChatHistoryItem.vue +134 -33
- package/src/patterns/UiSidebar/UiSidebarContent.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarFooter.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarGroup.stories.ts +16 -0
- package/src/patterns/UiSidebar/UiSidebarGroupContent.vue +45 -3
- package/src/patterns/UiSidebar/UiSidebarGroupLabel.stories.ts +40 -0
- package/src/patterns/UiSidebar/UiSidebarGroupLabel.vue +55 -30
- package/src/patterns/UiSidebar/UiSidebarHeader.vue +1 -1
- package/src/patterns/UiSidebar/UiSidebarInset.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarMenu.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarMenuButton.stories.ts +35 -0
- package/src/patterns/UiSidebar/UiSidebarMenuButton.vue +17 -17
- package/src/patterns/UiSidebar/UiSidebarMenuItem.stories.ts +6 -0
- package/src/patterns/UiSidebar/UiSidebarMenuItem.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarMenuSubItem.stories.ts +20 -0
- package/src/patterns/UiSidebar/UiSidebarMenuSubItem.vue +9 -11
- package/src/patterns/UiSidebar/UiSidebarPopover.vue +1 -1
- package/src/patterns/UiSidebar/UiSidebarPopoverMenu.stories.ts +17 -1
- package/src/patterns/UiSidebar/UiSidebarPopoverMenu.vue +2 -5
- package/src/patterns/UiSidebar/UiSidebarPopoverMenuItem.stories.ts +33 -1
- package/src/patterns/UiSidebar/UiSidebarPopoverMenuItem.vue +25 -20
- package/src/patterns/UiSidebar/UiSidebarPopoverTrigger.stories.ts +20 -0
- package/src/patterns/UiSidebar/UiSidebarPopoverTrigger.vue +8 -10
- package/src/patterns/UiSidebar/UiSidebarProvider.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarRail.vue +3 -0
- package/src/patterns/UiSidebar/UiSidebarSub.stories.ts +100 -0
- package/src/patterns/UiSidebar/UiSidebarSub.vue +65 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebar.test.ts +30 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarChatHistory.test.ts +29 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarChatHistoryItem.test.ts +49 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarContent.test.ts +16 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarFooter.test.ts +19 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarGroup.test.ts +25 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarGroupContent.test.ts +40 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarGroupLabel.test.ts +53 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarHeader.test.ts +19 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarInset.test.ts +30 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarMenu.test.ts +14 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarMenuButton.test.ts +61 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarMenuItem.test.ts +25 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarMenuSub.test.ts +40 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarMenuSubItem.test.ts +28 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarPopover.test.ts +31 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarPopoverMenu.test.ts +26 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarPopoverMenuItem.test.ts +19 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarPopoverTrigger.test.ts +32 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarProvider.test.ts +24 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarRail.test.ts +22 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarSub.test.ts +63 -0
- package/src/patterns/UiSidebar/__tests__/UiSidebarTrigger.test.ts +17 -0
- package/src/patterns/UiSidebar/__tests__/sidebar-test-helpers.ts +78 -0
- package/src/patterns/UiSidebar/activeIndicator.ts +17 -0
- package/src/patterns/UiSidebar/groupContext.ts +5 -0
- package/src/patterns/UiSidebar/index.ts +14 -3
- package/src/patterns/UiSidebar/types.ts +99 -6
- package/src/theme/Background.stories.ts +102 -45
- package/src/theme/BackgroundHover.stories.ts +174 -0
- package/src/theme/Border.stories.ts +19 -19
- package/src/theme/ContentHover.stories.ts +165 -0
- package/src/theme/Extended.stories.ts +33 -33
- package/src/theme/Flex.stories.ts +27 -27
- package/src/theme/Grid.stories.ts +25 -25
- package/src/theme/Overlay.stories.ts +15 -15
- package/src/theme/Shadow.stories.ts +95 -0
- package/src/theme/Theme.stories.ts +60 -60
- package/src/theme/Typography.stories.ts +154 -118
- package/tokens.json +5303 -4408
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { DateRange, DateValue } from 'reka-ui';
|
|
2
|
+
import { Matcher } from 'reka-ui/date';
|
|
3
|
+
/**
|
|
4
|
+
* Format options for weekday labels displayed in the calendar header.
|
|
5
|
+
*
|
|
6
|
+
* - `'narrow'` - Single letter (e.g., "M", "T", "W")
|
|
7
|
+
* - `'short'` - Abbreviated (e.g., "Mon", "Tue", "Wed")
|
|
8
|
+
* - `'long'` - Full name (e.g., "Monday", "Tuesday", "Wednesday")
|
|
9
|
+
*/
|
|
10
|
+
export type UiRangeCalendarWeekdayFormat = 'narrow' | 'short' | 'long';
|
|
11
|
+
/**
|
|
12
|
+
* Day of the week to start the calendar on.
|
|
13
|
+
*
|
|
14
|
+
* - `0` - Sunday
|
|
15
|
+
* - `1` - Monday
|
|
16
|
+
* - `2` - Tuesday
|
|
17
|
+
* - `3` - Wednesday
|
|
18
|
+
* - `4` - Thursday
|
|
19
|
+
* - `5` - Friday
|
|
20
|
+
* - `6` - Saturday
|
|
21
|
+
*/
|
|
22
|
+
export type UiRangeCalendarWeekStartsOn = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
23
|
+
/**
|
|
24
|
+
* A calendar for selecting date ranges (start and end dates). Use for
|
|
25
|
+
* booking periods, vacation dates, or any range-based date selection.
|
|
26
|
+
* @category Form Inputs
|
|
27
|
+
* @useCases date range, booking period, vacation dates, filter by dates
|
|
28
|
+
* @keywords calendar, range, daterange, period, booking, from, to, start, end
|
|
29
|
+
* @related UiCalendar, UiPopover
|
|
30
|
+
*/
|
|
31
|
+
export interface UiRangeCalendarProps {
|
|
32
|
+
/**
|
|
33
|
+
* The controlled selected date range value.
|
|
34
|
+
* Use with v-model for two-way binding.
|
|
35
|
+
*/
|
|
36
|
+
modelValue?: DateRange;
|
|
37
|
+
/**
|
|
38
|
+
* The default selected date range when first rendered.
|
|
39
|
+
* Use when you don't need controlled state.
|
|
40
|
+
*/
|
|
41
|
+
defaultValue?: DateRange;
|
|
42
|
+
/**
|
|
43
|
+
* The placeholder date used to determine which month/year to display.
|
|
44
|
+
* Defaults to today's date if not provided.
|
|
45
|
+
* Use with `v-model:placeholder` for two-way binding.
|
|
46
|
+
*/
|
|
47
|
+
placeholder?: DateValue;
|
|
48
|
+
/**
|
|
49
|
+
* The default placeholder date when first rendered.
|
|
50
|
+
*/
|
|
51
|
+
defaultPlaceholder?: DateValue;
|
|
52
|
+
/**
|
|
53
|
+
* The minimum selectable date.
|
|
54
|
+
* Dates before this will be disabled.
|
|
55
|
+
*/
|
|
56
|
+
minValue?: DateValue;
|
|
57
|
+
/**
|
|
58
|
+
* The maximum selectable date.
|
|
59
|
+
* Dates after this will be disabled.
|
|
60
|
+
*/
|
|
61
|
+
maxValue?: DateValue;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the calendar is disabled.
|
|
64
|
+
* @default false
|
|
65
|
+
*/
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the calendar is read-only.
|
|
69
|
+
* Users can navigate but not select dates.
|
|
70
|
+
* @default false
|
|
71
|
+
*/
|
|
72
|
+
readonly?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* The locale to use for formatting dates and weekday names.
|
|
75
|
+
* @default 'en'
|
|
76
|
+
* @example 'de', 'fr', 'es'
|
|
77
|
+
*/
|
|
78
|
+
locale?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The day of the week to start on.
|
|
81
|
+
* @default 0
|
|
82
|
+
*/
|
|
83
|
+
weekStartsOn?: UiRangeCalendarWeekStartsOn;
|
|
84
|
+
/**
|
|
85
|
+
* The number of months to display at once.
|
|
86
|
+
* @default 1
|
|
87
|
+
*/
|
|
88
|
+
numberOfMonths?: number;
|
|
89
|
+
/**
|
|
90
|
+
* Whether to navigate by page (all visible months) or by single month.
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
pagedNavigation?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* The format to use for weekday labels.
|
|
96
|
+
* @default 'narrow'
|
|
97
|
+
*/
|
|
98
|
+
weekdayFormat?: UiRangeCalendarWeekdayFormat;
|
|
99
|
+
/**
|
|
100
|
+
* Whether to always show 6 weeks in the calendar.
|
|
101
|
+
* Useful for consistent height.
|
|
102
|
+
* @default false
|
|
103
|
+
*/
|
|
104
|
+
fixedWeeks?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
* Whether to prevent the user from deselecting a date without selecting another date first.
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
preventDeselect?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* The accessible label for the calendar.
|
|
112
|
+
* Used for screen readers.
|
|
113
|
+
*/
|
|
114
|
+
calendarLabel?: string;
|
|
115
|
+
/**
|
|
116
|
+
* If true, the calendar will focus the selected day, today, or the first day
|
|
117
|
+
* of the month depending on what is visible when the calendar is mounted.
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
initialFocus?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* A function that returns whether or not a date is disabled.
|
|
123
|
+
* Disabled dates cannot be selected.
|
|
124
|
+
* @example (date) => date.dayOfWeek === 0 // Disable Sundays
|
|
125
|
+
*/
|
|
126
|
+
isDateDisabled?: Matcher;
|
|
127
|
+
/**
|
|
128
|
+
* A function that returns whether or not a date is unavailable.
|
|
129
|
+
* Unavailable dates are styled differently but may still be selectable.
|
|
130
|
+
* @example (date) => isHoliday(date)
|
|
131
|
+
*/
|
|
132
|
+
isDateUnavailable?: Matcher;
|
|
133
|
+
/**
|
|
134
|
+
* A function that returns the next page of the calendar.
|
|
135
|
+
* Receives the current placeholder as an argument.
|
|
136
|
+
*/
|
|
137
|
+
nextPage?: (placeholder: DateValue) => DateValue;
|
|
138
|
+
/**
|
|
139
|
+
* A function that returns the previous page of the calendar.
|
|
140
|
+
* Receives the current placeholder as an argument.
|
|
141
|
+
*/
|
|
142
|
+
prevPage?: (placeholder: DateValue) => DateValue;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Emits for UiRangeCalendar component.
|
|
146
|
+
*/
|
|
147
|
+
export interface UiRangeCalendarEmits {
|
|
148
|
+
/**
|
|
149
|
+
* Emitted when the selected date range changes.
|
|
150
|
+
*/
|
|
151
|
+
(e: 'update:modelValue', value: DateRange): void;
|
|
152
|
+
/**
|
|
153
|
+
* Emitted when the placeholder (displayed month/year) changes.
|
|
154
|
+
*/
|
|
155
|
+
(e: 'update:placeholder', value: DateValue): void;
|
|
156
|
+
}
|
|
157
|
+
export type { DateRange, DateValue, Matcher };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { UiSelectProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiSelectProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
"update:open": (value: boolean) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<UiSelectProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
dir: "ltr" | "rtl";
|
|
20
|
+
modelValue: string;
|
|
21
|
+
defaultValue: string;
|
|
22
|
+
open: boolean;
|
|
23
|
+
defaultOpen: boolean;
|
|
24
|
+
name: string;
|
|
25
|
+
required: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { UiSelectContentProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiSelectContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
13
|
+
pointerDownOutside: (event: Event) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<UiSelectContentProps> & Readonly<{
|
|
15
|
+
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
16
|
+
onPointerDownOutside?: ((event: Event) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
side: "top" | "right" | "bottom" | "left";
|
|
19
|
+
sideOffset: number;
|
|
20
|
+
align: "start" | "center" | "end";
|
|
21
|
+
position: "item-aligned" | "popper";
|
|
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
|
+
};
|
|
@@ -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,21 @@
|
|
|
1
|
+
import { UiSelectItemProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiSelectItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiSelectItemProps> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
textValue: string;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
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,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,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,22 @@
|
|
|
1
|
+
import { UiSelectTriggerProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiSelectTriggerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiSelectTriggerProps> & Readonly<{}>, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
size: "default" | "sm";
|
|
14
|
+
ariaLabel: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { UiSelectValueProps } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<UiSelectValueProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiSelectValueProps> & Readonly<{}>, {
|
|
12
|
+
placeholder: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { default as UiSelect } from './UiSelect.vue';
|
|
2
|
+
export { default as UiSelectTrigger } from './UiSelectTrigger.vue';
|
|
3
|
+
export { default as UiSelectContent } from './UiSelectContent.vue';
|
|
4
|
+
export { default as UiSelectItem } from './UiSelectItem.vue';
|
|
5
|
+
export { default as UiSelectValue } from './UiSelectValue.vue';
|
|
6
|
+
export { default as UiSelectLabel } from './UiSelectLabel.vue';
|
|
7
|
+
export { default as UiSelectGroup } from './UiSelectGroup.vue';
|
|
8
|
+
export { default as UiSelectSeparator } from './UiSelectSeparator.vue';
|
|
9
|
+
export * from './types';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A dropdown select for choosing from a list of options. Use for
|
|
3
|
+
* form fields where users must pick one value from many.
|
|
4
|
+
* @category Form Inputs
|
|
5
|
+
* @useCases dropdown selection, form picker, option list, country selector
|
|
6
|
+
* @keywords select, dropdown, picker, option, choice, combobox, form
|
|
7
|
+
* @related UiDropdownMenu, UiRadioGroup
|
|
8
|
+
*/
|
|
9
|
+
export type UiSelectProps = {
|
|
10
|
+
/** The controlled value of the select. */
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
/** The value when initially rendered (uncontrolled). */
|
|
13
|
+
defaultValue?: string;
|
|
14
|
+
/** Whether the select is open by default. */
|
|
15
|
+
defaultOpen?: boolean;
|
|
16
|
+
/** Controlled open state. */
|
|
17
|
+
open?: boolean;
|
|
18
|
+
/** Whether the select is disabled. */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Whether the select is required in a form. */
|
|
21
|
+
required?: boolean;
|
|
22
|
+
/** The name for form submission. */
|
|
23
|
+
name?: string;
|
|
24
|
+
/** Reading direction. */
|
|
25
|
+
dir?: 'ltr' | 'rtl';
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Emits for the UiSelect root component.
|
|
29
|
+
*/
|
|
30
|
+
export type UiSelectEmits = {
|
|
31
|
+
/** Emitted when the selected value changes. */
|
|
32
|
+
'update:modelValue': [value: string];
|
|
33
|
+
/** Emitted when the open state changes. */
|
|
34
|
+
'update:open': [value: boolean];
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Props for the UiSelectTrigger component.
|
|
38
|
+
*/
|
|
39
|
+
export type UiSelectTriggerProps = {
|
|
40
|
+
/** Accessible label for icon-only triggers. */
|
|
41
|
+
ariaLabel?: string;
|
|
42
|
+
/** Whether the trigger is disabled. */
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
/** Size of the trigger. */
|
|
45
|
+
size?: 'default' | 'sm';
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Props for the UiSelectContent component.
|
|
49
|
+
*/
|
|
50
|
+
export type UiSelectContentProps = {
|
|
51
|
+
/** Preferred side of the trigger. */
|
|
52
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
53
|
+
/** Distance from the trigger in pixels. */
|
|
54
|
+
sideOffset?: number;
|
|
55
|
+
/** Alignment against the trigger. */
|
|
56
|
+
align?: 'start' | 'center' | 'end';
|
|
57
|
+
/** Positioning mode. */
|
|
58
|
+
position?: 'item-aligned' | 'popper';
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* Emits for the UiSelectContent component.
|
|
62
|
+
*/
|
|
63
|
+
export type UiSelectContentEmits = {
|
|
64
|
+
/** Emitted when the Escape key is pressed. */
|
|
65
|
+
(e: 'escapeKeyDown', event: KeyboardEvent): void;
|
|
66
|
+
/** Emitted when a pointer down event occurs outside the content. */
|
|
67
|
+
(e: 'pointerDownOutside', event: Event): void;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Props for the UiSelectItem component.
|
|
71
|
+
*/
|
|
72
|
+
export type UiSelectItemProps = {
|
|
73
|
+
/** Unique value of the item (required). */
|
|
74
|
+
value: string;
|
|
75
|
+
/** Whether the item is disabled. */
|
|
76
|
+
disabled?: boolean;
|
|
77
|
+
/** Text for typeahead purposes. */
|
|
78
|
+
textValue?: string;
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Props for the UiSelectValue component.
|
|
82
|
+
*/
|
|
83
|
+
export type UiSelectValueProps = {
|
|
84
|
+
/** Placeholder when no value is selected. */
|
|
85
|
+
placeholder?: string;
|
|
86
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { UiSeparatorProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UiSeparatorProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiSeparatorProps> & Readonly<{}>, {
|
|
3
|
+
orientation: "horizontal" | "vertical";
|
|
4
|
+
decorative: boolean;
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A visual divider between content sections. Use for grouping
|
|
3
|
+
* related items or creating visual breaks in layouts.
|
|
4
|
+
* @category Layout
|
|
5
|
+
* @useCases divider, section break, content grouping, visual separation
|
|
6
|
+
* @keywords separator, divider, line, hr, break, layout
|
|
7
|
+
* @related UiCard, UiDropdownMenu
|
|
8
|
+
*/
|
|
9
|
+
export interface UiSeparatorProps {
|
|
10
|
+
/**
|
|
11
|
+
* The orientation of the separator.
|
|
12
|
+
* @type {'horizontal' | 'vertical'}
|
|
13
|
+
* @default 'horizontal'
|
|
14
|
+
*/
|
|
15
|
+
orientation?: 'horizontal' | 'vertical';
|
|
16
|
+
/**
|
|
17
|
+
* When true, the separator is purely decorative and not announced by screen readers.
|
|
18
|
+
* @type {boolean}
|
|
19
|
+
* @default true
|
|
20
|
+
*/
|
|
21
|
+
decorative?: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Sheet as UiSheet, SheetTrigger as UiSheetTrigger, SheetContent as UiSheetContent, SheetClose as UiSheetClose, SheetHeader as UiSheetHeader, SheetFooter as UiSheetFooter, SheetTitle as UiSheetTitle, SheetDescription as UiSheetDescription, } from '../core/sheet';
|
|
2
|
+
export type * from './types';
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Side of the screen where the sheet slides in from.
|
|
3
|
+
*/
|
|
4
|
+
export type UiSheetSide = 'top' | 'right' | 'bottom' | 'left';
|
|
5
|
+
/**
|
|
6
|
+
* A panel that slides in from the edge of the screen to display
|
|
7
|
+
* supplementary content. Use for forms, filters, detail views, or
|
|
8
|
+
* any content that complements the main screen.
|
|
9
|
+
* @category Overlays
|
|
10
|
+
* @useCases side panel, filter panel, detail view, settings panel, form drawer
|
|
11
|
+
* @keywords sheet, drawer, panel, slide, overlay, side panel
|
|
12
|
+
* @related UiDrawer, UiAlertDialog
|
|
13
|
+
*/
|
|
14
|
+
export interface UiSheetProps {
|
|
15
|
+
/**
|
|
16
|
+
* The controlled open state of the sheet.
|
|
17
|
+
* - Omit for uncontrolled mode (component manages state internally)
|
|
18
|
+
* - Use `v-model:open` for controlled mode
|
|
19
|
+
*/
|
|
20
|
+
open?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The open state of the sheet when it is initially rendered.
|
|
23
|
+
* Use when you do not need to control its open state.
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
defaultOpen?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The modality of the sheet.
|
|
29
|
+
* When set to `true`, interaction with outside elements will be disabled
|
|
30
|
+
* and only sheet content will be visible to screen readers.
|
|
31
|
+
* @default true
|
|
32
|
+
*/
|
|
33
|
+
modal?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Props for the UiSheetTrigger component.
|
|
37
|
+
* The element that opens the sheet when clicked.
|
|
38
|
+
*/
|
|
39
|
+
export interface UiSheetTriggerProps {
|
|
40
|
+
/**
|
|
41
|
+
* Render as child element (merges props into slotted element instead of wrapping).
|
|
42
|
+
* Set to `true` when using custom button components like `UiButton`.
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
asChild?: boolean;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Props for the UiSheetContent component.
|
|
49
|
+
* The main content container for the sheet.
|
|
50
|
+
*/
|
|
51
|
+
export interface UiSheetContentProps {
|
|
52
|
+
/**
|
|
53
|
+
* The side of the screen from which the sheet slides in.
|
|
54
|
+
* @default 'right'
|
|
55
|
+
*/
|
|
56
|
+
side?: UiSheetSide;
|
|
57
|
+
/**
|
|
58
|
+
* Accessible label for the built-in close button (sr-only text).
|
|
59
|
+
* Override for i18n or to provide a more descriptive label.
|
|
60
|
+
* @default 'Close'
|
|
61
|
+
*/
|
|
62
|
+
closeLabel?: string;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Props for the UiSheetClose component.
|
|
66
|
+
* A button that closes the sheet when clicked.
|
|
67
|
+
*/
|
|
68
|
+
export interface UiSheetCloseProps {
|
|
69
|
+
/**
|
|
70
|
+
* Render as child element (merges props into slotted element instead of wrapping).
|
|
71
|
+
* Set to `true` when using a custom button for the close action.
|
|
72
|
+
* @default false
|
|
73
|
+
*/
|
|
74
|
+
asChild?: boolean;
|
|
75
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UiSkeletonProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UiSkeletonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<UiSkeletonProps> & Readonly<{}>, {
|
|
3
|
+
rounded: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A placeholder loading state for content. Use to indicate
|
|
3
|
+
* loading state while preserving layout structure.
|
|
4
|
+
* @category Feedback
|
|
5
|
+
* @useCases loading state, content placeholder, lazy loading, data fetching
|
|
6
|
+
* @keywords skeleton, loading, placeholder, shimmer, pulse, loader
|
|
7
|
+
* @related UiSpinner, UiProgress
|
|
8
|
+
*/
|
|
9
|
+
export interface UiSkeletonProps {
|
|
10
|
+
/**
|
|
11
|
+
* Custom width for the skeleton.
|
|
12
|
+
* Can be any valid CSS width value.
|
|
13
|
+
*/
|
|
14
|
+
width?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Custom height for the skeleton.
|
|
17
|
+
* Can be any valid CSS height value.
|
|
18
|
+
*/
|
|
19
|
+
height?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to render as a rounded.
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
rounded?: boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UiSliderProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<UiSliderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: number[]) => any;
|
|
4
|
+
valueCommit: (value: number[]) => any;
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<UiSliderProps> & Readonly<{
|
|
6
|
+
"onUpdate:modelValue"?: ((value: number[]) => any) | undefined;
|
|
7
|
+
onValueCommit?: ((value: number[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|