@aleph-alpha/ui-library 1.23.0 → 1.24.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
|
@@ -9,7 +9,7 @@ const ThemePlaceholder = defineComponent({
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
const meta: Meta<typeof ThemePlaceholder> = {
|
|
12
|
-
title: '
|
|
12
|
+
title: 'CSS utility/Background',
|
|
13
13
|
component: ThemePlaceholder,
|
|
14
14
|
tags: ['autodocs'],
|
|
15
15
|
parameters: {
|
|
@@ -46,51 +46,51 @@ export const Surface: Story = {
|
|
|
46
46
|
<script>${copyScript}</script>
|
|
47
47
|
|
|
48
48
|
<div class="mb-6">
|
|
49
|
-
<h2 class="
|
|
50
|
-
<p class="
|
|
49
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">Surface Backgrounds</h2>
|
|
50
|
+
<p class="body-14-regular text-content-on-surface-muted">Reference for surface-layer tokens used across app layouts, overlays, and dialogs.</p>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
53
53
|
<div class="mb-8">
|
|
54
|
-
<h3 class="
|
|
55
|
-
<p class="
|
|
54
|
+
<h3 class="body-14-bold text-content-on-surface-primary mb-1">Background Surfaces</h3>
|
|
55
|
+
<p class="label-12-regular text-content-on-surface-muted mb-3">Base and sheet-level surfaces for pages, panels, and subtle inner containers. Token group: <code class="label-12-medium">background.surface</code></p>
|
|
56
56
|
<div class="flex flex-wrap gap-6">
|
|
57
57
|
<div class="flex flex-col items-center gap-1.5">
|
|
58
58
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border border-border-surface-default"></div>
|
|
59
59
|
<div class="text-center">
|
|
60
|
-
<span class="
|
|
61
|
-
<code class="copy-btn
|
|
60
|
+
<span class="label-12-medium text-content-on-surface-primary block">primary</span>
|
|
61
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-primary', this)">bg-background-surface-primary</code>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
|
|
65
65
|
<div class="flex flex-col items-center gap-1.5">
|
|
66
66
|
<div class="w-16 h-16 rounded-md bg-background-surface-secondary border border-border-surface-default"></div>
|
|
67
67
|
<div class="text-center">
|
|
68
|
-
<span class="
|
|
69
|
-
<code class="copy-btn
|
|
68
|
+
<span class="label-12-medium text-content-on-surface-primary block">secondary</span>
|
|
69
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-secondary', this)">bg-background-surface-secondary</code>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
72
|
|
|
73
73
|
<div class="flex flex-col items-center gap-1.5">
|
|
74
74
|
<div class="w-16 h-16 rounded-md bg-background-surface-muted border border-border-surface-default"></div>
|
|
75
75
|
<div class="text-center">
|
|
76
|
-
<span class="
|
|
77
|
-
<code class="copy-btn
|
|
76
|
+
<span class="label-12-medium text-content-on-surface-primary block">muted</span>
|
|
77
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-muted', this)">bg-background-surface-muted</code>
|
|
78
78
|
</div>
|
|
79
79
|
</div>
|
|
80
80
|
|
|
81
81
|
<div class="flex flex-col items-center gap-1.5">
|
|
82
82
|
<div class="w-16 h-16 rounded-md bg-background-surface-selected border border-border-surface-default"></div>
|
|
83
83
|
<div class="text-center">
|
|
84
|
-
<span class="
|
|
85
|
-
<code class="copy-btn
|
|
84
|
+
<span class="label-12-medium text-content-on-surface-primary block">selected</span>
|
|
85
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-selected', this)">bg-background-surface-selected</code>
|
|
86
86
|
</div>
|
|
87
87
|
</div>
|
|
88
88
|
|
|
89
89
|
<div class="flex flex-col items-center gap-1.5">
|
|
90
90
|
<div class="w-16 h-16 rounded-md bg-background-surface-inverse border border-border-surface-default"></div>
|
|
91
91
|
<div class="text-center">
|
|
92
|
-
<span class="
|
|
93
|
-
<code class="copy-btn
|
|
92
|
+
<span class="label-12-medium text-content-on-surface-primary block">inverse</span>
|
|
93
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-inverse', this)">bg-background-surface-inverse</code>
|
|
94
94
|
</div>
|
|
95
95
|
</div>
|
|
96
96
|
|
|
@@ -98,44 +98,44 @@ export const Surface: Story = {
|
|
|
98
98
|
</div>
|
|
99
99
|
|
|
100
100
|
<div>
|
|
101
|
-
<h3 class="
|
|
102
|
-
<p class="
|
|
101
|
+
<h3 class="body-14-bold text-content-on-surface-primary mb-1">Overlay Surfaces</h3>
|
|
102
|
+
<p class="label-12-regular text-content-on-surface-muted mb-3">Backdrop layers for transparent overlays and modal dimming. Token group: <code class="label-12-medium">overlay.surface</code></p>
|
|
103
103
|
<div class="flex flex-wrap gap-6">
|
|
104
104
|
<div class="flex flex-col items-center gap-1.5">
|
|
105
105
|
<div class="w-16 h-16 rounded-md bg-overlay-surface-transparent border border-border-surface-default"></div>
|
|
106
106
|
<div class="text-center">
|
|
107
|
-
<span class="
|
|
108
|
-
<code class="copy-btn
|
|
107
|
+
<span class="label-12-medium text-content-on-surface-primary block">transparent</span>
|
|
108
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-overlay-surface-transparent', this)">bg-overlay-surface-transparent</code>
|
|
109
109
|
</div>
|
|
110
110
|
</div>
|
|
111
111
|
|
|
112
112
|
<div class="flex flex-col items-center gap-1.5">
|
|
113
113
|
<div class="w-16 h-16 rounded-md bg-overlay-surface-modal-overlay border border-border-surface-default"></div>
|
|
114
114
|
<div class="text-center">
|
|
115
|
-
<span class="
|
|
116
|
-
<code class="copy-btn
|
|
115
|
+
<span class="label-12-medium text-content-on-surface-primary block">modal overlay</span>
|
|
116
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-overlay-surface-modal-overlay', this)">bg-overlay-surface-modal-overlay</code>
|
|
117
117
|
</div>
|
|
118
118
|
</div>
|
|
119
119
|
</div>
|
|
120
120
|
</div>
|
|
121
121
|
|
|
122
122
|
<div class="mt-8">
|
|
123
|
-
<h3 class="
|
|
124
|
-
<p class="
|
|
123
|
+
<h3 class="body-14-bold text-content-on-surface-primary mb-1">Floating Surfaces</h3>
|
|
124
|
+
<p class="label-12-regular text-content-on-surface-muted mb-3">Top-layer containers for floating UI (menus, popovers) and modal/dialog surfaces.</p>
|
|
125
125
|
<div class="flex flex-wrap gap-6">
|
|
126
126
|
<div class="flex flex-col items-center gap-1.5">
|
|
127
127
|
<div class="w-16 h-16 rounded-md bg-background-surface-modal border border-border-surface-default shadow-lg"></div>
|
|
128
128
|
<div class="text-center">
|
|
129
|
-
<span class="
|
|
130
|
-
<code class="copy-btn
|
|
129
|
+
<span class="label-12-medium text-content-on-surface-primary block">modal</span>
|
|
130
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-modal', this)">bg-background-surface-modal</code>
|
|
131
131
|
</div>
|
|
132
132
|
</div>
|
|
133
133
|
|
|
134
134
|
<div class="flex flex-col items-center gap-1.5">
|
|
135
135
|
<div class="w-16 h-16 rounded-md bg-background-surface-floating border border-border-surface-default shadow-xs"></div>
|
|
136
136
|
<div class="text-center">
|
|
137
|
-
<span class="
|
|
138
|
-
<code class="copy-btn
|
|
137
|
+
<span class="label-12-medium text-content-on-surface-primary block">floating</span>
|
|
138
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-surface-floating', this)">bg-background-surface-floating</code>
|
|
139
139
|
</div>
|
|
140
140
|
</div>
|
|
141
141
|
</div>
|
|
@@ -162,32 +162,32 @@ export const Button: Story = {
|
|
|
162
162
|
<script>${copyScript}</script>
|
|
163
163
|
|
|
164
164
|
<div class="mb-6">
|
|
165
|
-
<h2 class="
|
|
166
|
-
<p class="
|
|
165
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">button</h2>
|
|
166
|
+
<p class="body-14-regular text-content-on-surface-muted">Background colors for buttons. Click class name to copy.</p>
|
|
167
167
|
</div>
|
|
168
168
|
|
|
169
169
|
<div class="flex flex-wrap gap-6">
|
|
170
170
|
<div class="flex flex-col items-center gap-1.5">
|
|
171
171
|
<div class="w-16 h-16 rounded-md bg-background-button-primary-button border border-border-surface-default"></div>
|
|
172
172
|
<div class="text-center">
|
|
173
|
-
<span class="
|
|
174
|
-
<code class="copy-btn
|
|
173
|
+
<span class="label-12-medium text-content-on-surface-primary block">primary-button</span>
|
|
174
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-button-primary-button', this)">bg-background-button-primary-button</code>
|
|
175
175
|
</div>
|
|
176
176
|
</div>
|
|
177
177
|
|
|
178
178
|
<div class="flex flex-col items-center gap-1.5">
|
|
179
179
|
<div class="w-16 h-16 rounded-md bg-background-button-secondary-button border border-border-surface-default"></div>
|
|
180
180
|
<div class="text-center">
|
|
181
|
-
<span class="
|
|
182
|
-
<code class="copy-btn
|
|
181
|
+
<span class="label-12-medium text-content-on-surface-primary block">secondary-button</span>
|
|
182
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-button-secondary-button', this)">bg-background-button-secondary-button</code>
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
185
185
|
|
|
186
186
|
<div class="flex flex-col items-center gap-1.5">
|
|
187
187
|
<div class="w-16 h-16 rounded-md bg-background-button-danger-button border border-border-surface-default"></div>
|
|
188
188
|
<div class="text-center">
|
|
189
|
-
<span class="
|
|
190
|
-
<code class="copy-btn
|
|
189
|
+
<span class="label-12-medium text-content-on-surface-primary block">danger-button</span>
|
|
190
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-button-danger-button', this)">bg-background-button-danger-button</code>
|
|
191
191
|
</div>
|
|
192
192
|
</div>
|
|
193
193
|
</div>
|
|
@@ -212,16 +212,16 @@ export const Input: Story = {
|
|
|
212
212
|
<script>${copyScript}</script>
|
|
213
213
|
|
|
214
214
|
<div class="mb-6">
|
|
215
|
-
<h2 class="
|
|
216
|
-
<p class="
|
|
215
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">input</h2>
|
|
216
|
+
<p class="body-14-regular text-content-on-surface-muted">Background colors for input fields. Click class name to copy.</p>
|
|
217
217
|
</div>
|
|
218
218
|
|
|
219
219
|
<div class="flex flex-wrap gap-6">
|
|
220
220
|
<div class="flex flex-col items-center gap-1.5">
|
|
221
221
|
<div class="w-16 h-16 rounded-md bg-background-input-default border border-border-surface-default"></div>
|
|
222
222
|
<div class="text-center">
|
|
223
|
-
<span class="
|
|
224
|
-
<code class="copy-btn
|
|
223
|
+
<span class="label-12-medium text-content-on-surface-primary block">default</span>
|
|
224
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-input-default', this)">bg-background-input-default</code>
|
|
225
225
|
</div>
|
|
226
226
|
</div>
|
|
227
227
|
</div>
|
|
@@ -247,24 +247,81 @@ export const Accent: Story = {
|
|
|
247
247
|
<script>${copyScript}</script>
|
|
248
248
|
|
|
249
249
|
<div class="mb-6">
|
|
250
|
-
<h2 class="
|
|
251
|
-
<p class="
|
|
250
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">accent</h2>
|
|
251
|
+
<p class="body-14-regular text-content-on-surface-muted">Background colors for accents and highlights. Click class name to copy.</p>
|
|
252
252
|
</div>
|
|
253
253
|
|
|
254
254
|
<div class="flex flex-wrap gap-6">
|
|
255
255
|
<div class="flex flex-col items-center gap-1.5">
|
|
256
256
|
<div class="w-16 h-16 rounded-md bg-background-accent-default border border-border-surface-default"></div>
|
|
257
257
|
<div class="text-center">
|
|
258
|
-
<span class="
|
|
259
|
-
<code class="copy-btn
|
|
258
|
+
<span class="label-12-medium text-content-on-surface-primary block">default</span>
|
|
259
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-accent-default', this)">bg-background-accent-default</code>
|
|
260
260
|
</div>
|
|
261
261
|
</div>
|
|
262
262
|
|
|
263
263
|
<div class="flex flex-col items-center gap-1.5">
|
|
264
264
|
<div class="w-16 h-16 rounded-md bg-background-accent-soft border border-border-surface-default"></div>
|
|
265
265
|
<div class="text-center">
|
|
266
|
-
<span class="
|
|
267
|
-
<code class="copy-btn
|
|
266
|
+
<span class="label-12-medium text-content-on-surface-primary block">soft</span>
|
|
267
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-accent-soft', this)">bg-background-accent-soft</code>
|
|
268
|
+
</div>
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
271
|
+
</div>
|
|
272
|
+
`,
|
|
273
|
+
}),
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Semantic status backgrounds for badges, alerts, and validation highlights.
|
|
278
|
+
* Pair with `text-content-on-status-*` utilities for accessible contrast.
|
|
279
|
+
*/
|
|
280
|
+
export const Status: Story = {
|
|
281
|
+
render: () => ({
|
|
282
|
+
template: `
|
|
283
|
+
<div class="p-8 bg-white dark:bg-background min-h-screen">
|
|
284
|
+
<style>
|
|
285
|
+
.copy-btn { cursor: pointer; transition: all 0.15s; }
|
|
286
|
+
.copy-btn:hover { background: rgba(0,0,0,0.05); }
|
|
287
|
+
.copy-btn.copied { background: #22c55e22; }
|
|
288
|
+
.copy-btn.copied::after { content: ' ✓'; color: #22c55e; }
|
|
289
|
+
</style>
|
|
290
|
+
<script>${copyScript}</script>
|
|
291
|
+
|
|
292
|
+
<div class="mb-6">
|
|
293
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">status</h2>
|
|
294
|
+
<p class="body-14-regular text-content-on-surface-muted">Background colors for success, warning, and error emphasis. Token group: <code class="label-12-medium">background.status</code>. Click class name to copy.</p>
|
|
295
|
+
</div>
|
|
296
|
+
|
|
297
|
+
<div class="flex flex-wrap gap-6">
|
|
298
|
+
<div class="flex flex-col items-center gap-1.5">
|
|
299
|
+
<div class="w-16 h-16 rounded-md bg-background-status-success border border-border-surface-default flex items-center justify-center">
|
|
300
|
+
<span class="text-content-on-status-success label-12-medium">Aa</span>
|
|
301
|
+
</div>
|
|
302
|
+
<div class="text-center">
|
|
303
|
+
<span class="label-12-medium text-content-on-surface-primary block">success</span>
|
|
304
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-status-success', this)">bg-background-status-success</code>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
|
|
308
|
+
<div class="flex flex-col items-center gap-1.5">
|
|
309
|
+
<div class="w-16 h-16 rounded-md bg-background-status-warning border border-border-surface-default flex items-center justify-center">
|
|
310
|
+
<span class="text-content-on-status-warning label-12-medium">Aa</span>
|
|
311
|
+
</div>
|
|
312
|
+
<div class="text-center">
|
|
313
|
+
<span class="label-12-medium text-content-on-surface-primary block">warning</span>
|
|
314
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-status-warning', this)">bg-background-status-warning</code>
|
|
315
|
+
</div>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<div class="flex flex-col items-center gap-1.5">
|
|
319
|
+
<div class="w-16 h-16 rounded-md bg-background-status-error border border-border-surface-default flex items-center justify-center">
|
|
320
|
+
<span class="text-content-on-status-error label-12-medium">Aa</span>
|
|
321
|
+
</div>
|
|
322
|
+
<div class="text-center">
|
|
323
|
+
<span class="label-12-medium text-content-on-surface-primary block">error</span>
|
|
324
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('bg-background-status-error', this)">bg-background-status-error</code>
|
|
268
325
|
</div>
|
|
269
326
|
</div>
|
|
270
327
|
</div>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
2
|
+
import { defineComponent, h } from 'vue';
|
|
3
|
+
|
|
4
|
+
const ThemePlaceholder = defineComponent({
|
|
5
|
+
name: 'ThemePlaceholder',
|
|
6
|
+
render() {
|
|
7
|
+
return h('div');
|
|
8
|
+
},
|
|
9
|
+
});
|
|
10
|
+
|
|
11
|
+
const meta: Meta<typeof ThemePlaceholder> = {
|
|
12
|
+
title: 'CSS utility/Background Hover',
|
|
13
|
+
component: ThemePlaceholder,
|
|
14
|
+
tags: ['autodocs'],
|
|
15
|
+
parameters: {
|
|
16
|
+
layout: 'fullscreen',
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export default meta;
|
|
21
|
+
type Story = StoryObj<typeof ThemePlaceholder>;
|
|
22
|
+
|
|
23
|
+
const HOVER_VARIANTS = ['subtle', 'default', 'strong'] as const;
|
|
24
|
+
type HoverVariant = (typeof HOVER_VARIANTS)[number];
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Given a base background utility class (e.g. `bg-background-surface-primary`)
|
|
28
|
+
* return the utility class that renders the solid color for a given hover
|
|
29
|
+
* variant. Classes are generated by `hover-mix.js` + `config.js` and backed by
|
|
30
|
+
* the CSS variable `--<bg>-hover-<variant>`.
|
|
31
|
+
* @param bgClass
|
|
32
|
+
* @param variant
|
|
33
|
+
*/
|
|
34
|
+
const getHoverMixClass = (bgClass: string, variant: HoverVariant): string =>
|
|
35
|
+
`${bgClass}-hover-${variant}`;
|
|
36
|
+
|
|
37
|
+
/** Background tokens to preview, mirroring the Background.stories.ts layout. */
|
|
38
|
+
const BG_GROUPS: Array<{ title: string; description: string; tokens: string[] }> = [
|
|
39
|
+
{
|
|
40
|
+
title: 'Surface',
|
|
41
|
+
description: 'Base and sheet-level surfaces composited with the three hover overlay tiers.',
|
|
42
|
+
tokens: [
|
|
43
|
+
'bg-background-surface-primary',
|
|
44
|
+
'bg-background-surface-secondary',
|
|
45
|
+
'bg-background-surface-muted',
|
|
46
|
+
'bg-background-surface-selected',
|
|
47
|
+
'bg-background-surface-inverse',
|
|
48
|
+
'bg-background-surface-modal',
|
|
49
|
+
'bg-background-surface-floating',
|
|
50
|
+
],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
title: 'Button',
|
|
54
|
+
description: 'Button backgrounds composited with the three hover overlay tiers.',
|
|
55
|
+
tokens: [
|
|
56
|
+
'bg-background-button-primary-button',
|
|
57
|
+
'bg-background-button-secondary-button',
|
|
58
|
+
'bg-background-button-danger-button',
|
|
59
|
+
],
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
title: 'Accent',
|
|
63
|
+
description: 'Accent backgrounds composited with the three hover overlay tiers.',
|
|
64
|
+
tokens: ['bg-background-accent-default', 'bg-background-accent-soft'],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
title: 'Input',
|
|
68
|
+
description: 'Input backgrounds composited with the three hover overlay tiers.',
|
|
69
|
+
tokens: ['bg-background-input-default'],
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
|
|
73
|
+
const copyScript = `
|
|
74
|
+
function copyToClipboard(text, el) {
|
|
75
|
+
navigator.clipboard.writeText(text).then(() => {
|
|
76
|
+
el.classList.add('copied');
|
|
77
|
+
setTimeout(() => el.classList.remove('copied'), 1500);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
`;
|
|
81
|
+
|
|
82
|
+
const renderSwatch = (className: string): string => `
|
|
83
|
+
<div class="w-12 h-12 rounded-md border border-border-surface-default ${className}"></div>
|
|
84
|
+
`;
|
|
85
|
+
|
|
86
|
+
const renderCopyCode = (text: string): string => `
|
|
87
|
+
<code
|
|
88
|
+
class="copy-btn label-12-regular text-content-on-surface-muted inline-block px-1 py-0.5 rounded"
|
|
89
|
+
onclick="copyToClipboard('${text}', this)"
|
|
90
|
+
>${text}</code>
|
|
91
|
+
`;
|
|
92
|
+
|
|
93
|
+
const renderTokenRow = (bgClass: string): string => {
|
|
94
|
+
const variantCells = HOVER_VARIANTS.map((variant) => {
|
|
95
|
+
const mixedClass = getHoverMixClass(bgClass, variant);
|
|
96
|
+
return `
|
|
97
|
+
<td class="p-3 align-middle">
|
|
98
|
+
<div class="flex items-center gap-3">
|
|
99
|
+
${renderSwatch(mixedClass)}
|
|
100
|
+
${renderCopyCode(mixedClass)}
|
|
101
|
+
</div>
|
|
102
|
+
</td>
|
|
103
|
+
`;
|
|
104
|
+
}).join('');
|
|
105
|
+
|
|
106
|
+
return `
|
|
107
|
+
<tr class="border-b border-border-surface-default last:border-b-0">
|
|
108
|
+
<td class="p-3 align-middle">${renderSwatch(bgClass)}</td>
|
|
109
|
+
<td class="p-3 align-middle">${renderCopyCode(bgClass)}</td>
|
|
110
|
+
${variantCells}
|
|
111
|
+
</tr>
|
|
112
|
+
`;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
const renderGroup = (group: (typeof BG_GROUPS)[number]): string => `
|
|
116
|
+
<div class="mb-10">
|
|
117
|
+
<h3 class="body-14-bold text-content-on-surface-primary mb-1">${group.title}</h3>
|
|
118
|
+
<p class="label-12-regular text-content-on-surface-muted mb-3">${group.description}</p>
|
|
119
|
+
<div class="overflow-x-auto">
|
|
120
|
+
<table class="w-full border-collapse text-left">
|
|
121
|
+
<thead>
|
|
122
|
+
<tr class="border-b border-border-surface-default">
|
|
123
|
+
<th class="p-3 label-12-medium text-content-on-surface-muted font-medium w-20">Base</th>
|
|
124
|
+
<th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Token</th>
|
|
125
|
+
<th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Subtle</th>
|
|
126
|
+
<th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Default</th>
|
|
127
|
+
<th class="p-3 label-12-medium text-content-on-surface-muted font-medium">Strong</th>
|
|
128
|
+
</tr>
|
|
129
|
+
</thead>
|
|
130
|
+
<tbody>
|
|
131
|
+
${group.tokens.map(renderTokenRow).join('')}
|
|
132
|
+
</tbody>
|
|
133
|
+
</table>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
`;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Preview of every background token composited with each hover overlay tier
|
|
140
|
+
* (`subtle`, `default`, `strong`). Each swatch is a genuine, flat color
|
|
141
|
+
* generated at build time by the hover-mix utility in
|
|
142
|
+
* `@aleph-alpha/ui-library/hover-mix`, and rendered via the corresponding
|
|
143
|
+
* utility class (e.g. `bg-background-surface-primary-hover-subtle`).
|
|
144
|
+
*/
|
|
145
|
+
export const All: Story = {
|
|
146
|
+
render: () => ({
|
|
147
|
+
template: `
|
|
148
|
+
<div class="p-8 bg-white dark:bg-background min-h-screen">
|
|
149
|
+
<style>
|
|
150
|
+
.copy-btn { cursor: pointer; transition: all 0.15s; }
|
|
151
|
+
.copy-btn:hover { background: rgba(0,0,0,0.05); }
|
|
152
|
+
.copy-btn.copied { background: #22c55e22; }
|
|
153
|
+
.copy-btn.copied::after { content: ' ✓'; color: #22c55e; }
|
|
154
|
+
</style>
|
|
155
|
+
<script>${copyScript}</script>
|
|
156
|
+
|
|
157
|
+
<div class="mb-6">
|
|
158
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">Background Hover</h2>
|
|
159
|
+
<p class="body-14-regular text-content-on-surface-muted">
|
|
160
|
+
For each background token, the three swatches show the flat color produced by the
|
|
161
|
+
hover-mix formula (alpha compositing) combining the base with
|
|
162
|
+
<code class="label-12-medium">overlay-hover-subtle</code>,
|
|
163
|
+
<code class="label-12-medium">overlay-hover-default</code> and
|
|
164
|
+
<code class="label-12-medium">overlay-hover-strong</code>.
|
|
165
|
+
Class names take the form <code class="label-12-medium">bg-<token>-hover-<variant></code>.
|
|
166
|
+
Click a label to copy.
|
|
167
|
+
</p>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
${BG_GROUPS.map(renderGroup).join('')}
|
|
171
|
+
</div>
|
|
172
|
+
`,
|
|
173
|
+
}),
|
|
174
|
+
};
|
|
@@ -9,7 +9,7 @@ const ThemePlaceholder = defineComponent({
|
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
const meta: Meta<typeof ThemePlaceholder> = {
|
|
12
|
-
title: '
|
|
12
|
+
title: 'CSS utility/Border',
|
|
13
13
|
component: ThemePlaceholder,
|
|
14
14
|
tags: ['autodocs'],
|
|
15
15
|
parameters: {
|
|
@@ -46,24 +46,24 @@ export const Surface: Story = {
|
|
|
46
46
|
<script>${copyScript}</script>
|
|
47
47
|
|
|
48
48
|
<div class="mb-6">
|
|
49
|
-
<h2 class="
|
|
50
|
-
<p class="
|
|
49
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">surface</h2>
|
|
50
|
+
<p class="body-14-regular text-content-on-surface-muted">Border colors for general UI elements and focus rings. Click class name to copy.</p>
|
|
51
51
|
</div>
|
|
52
52
|
|
|
53
53
|
<div class="flex flex-wrap gap-6">
|
|
54
54
|
<div class="flex flex-col items-center gap-1.5">
|
|
55
55
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-surface-default"></div>
|
|
56
56
|
<div class="text-center">
|
|
57
|
-
<span class="
|
|
58
|
-
<code class="copy-btn
|
|
57
|
+
<span class="label-12-medium text-content-on-surface-primary block">default</span>
|
|
58
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-surface-default', this)">border-border-surface-default</code>
|
|
59
59
|
</div>
|
|
60
60
|
</div>
|
|
61
61
|
|
|
62
62
|
<div class="flex flex-col items-center gap-1.5">
|
|
63
63
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-surface-focus-ring"></div>
|
|
64
64
|
<div class="text-center">
|
|
65
|
-
<span class="
|
|
66
|
-
<code class="copy-btn
|
|
65
|
+
<span class="label-12-medium text-content-on-surface-primary block">focus-ring</span>
|
|
66
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-surface-focus-ring', this)">border-border-surface-focus-ring</code>
|
|
67
67
|
</div>
|
|
68
68
|
</div>
|
|
69
69
|
</div>
|
|
@@ -89,32 +89,32 @@ export const Input: Story = {
|
|
|
89
89
|
<script>${copyScript}</script>
|
|
90
90
|
|
|
91
91
|
<div class="mb-6">
|
|
92
|
-
<h2 class="
|
|
93
|
-
<p class="
|
|
92
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">input</h2>
|
|
93
|
+
<p class="body-14-regular text-content-on-surface-muted">Border colors for input fields and form elements. Click class name to copy.</p>
|
|
94
94
|
</div>
|
|
95
95
|
|
|
96
96
|
<div class="flex flex-wrap gap-6">
|
|
97
97
|
<div class="flex flex-col items-center gap-1.5">
|
|
98
98
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-input-default"></div>
|
|
99
99
|
<div class="text-center">
|
|
100
|
-
<span class="
|
|
101
|
-
<code class="copy-btn
|
|
100
|
+
<span class="label-12-medium text-content-on-surface-primary block">default</span>
|
|
101
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-input-default', this)">border-border-input-default</code>
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div class="flex flex-col items-center gap-1.5">
|
|
106
106
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-input-hover"></div>
|
|
107
107
|
<div class="text-center">
|
|
108
|
-
<span class="
|
|
109
|
-
<code class="copy-btn
|
|
108
|
+
<span class="label-12-medium text-content-on-surface-primary block">hover</span>
|
|
109
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-input-hover', this)">border-border-input-hover</code>
|
|
110
110
|
</div>
|
|
111
111
|
</div>
|
|
112
112
|
|
|
113
113
|
<div class="flex flex-col items-center gap-1.5">
|
|
114
114
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-input-error"></div>
|
|
115
115
|
<div class="text-center">
|
|
116
|
-
<span class="
|
|
117
|
-
<code class="copy-btn
|
|
116
|
+
<span class="label-12-medium text-content-on-surface-primary block">error</span>
|
|
117
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-input-error', this)">border-border-input-error</code>
|
|
118
118
|
</div>
|
|
119
119
|
</div>
|
|
120
120
|
</div>
|
|
@@ -139,16 +139,16 @@ export const Button: Story = {
|
|
|
139
139
|
<script>${copyScript}</script>
|
|
140
140
|
|
|
141
141
|
<div class="mb-6">
|
|
142
|
-
<h2 class="
|
|
143
|
-
<p class="
|
|
142
|
+
<h2 class="heading-s text-content-on-surface-primary mb-1">button</h2>
|
|
143
|
+
<p class="body-14-regular text-content-on-surface-muted">Border colors for outlined buttons. Click class name to copy.</p>
|
|
144
144
|
</div>
|
|
145
145
|
|
|
146
146
|
<div class="flex flex-wrap gap-6">
|
|
147
147
|
<div class="flex flex-col items-center gap-1.5">
|
|
148
148
|
<div class="w-16 h-16 rounded-md bg-background-surface-primary border-4 border-border-button-outlined"></div>
|
|
149
149
|
<div class="text-center">
|
|
150
|
-
<span class="
|
|
151
|
-
<code class="copy-btn
|
|
150
|
+
<span class="label-12-medium text-content-on-surface-primary block">outlined</span>
|
|
151
|
+
<code class="copy-btn label-12-regular text-content-on-surface-muted block mt-0.5 px-1 py-0.5 rounded" onclick="copyToClipboard('border-border-button-outlined', this)">border-border-button-outlined</code>
|
|
152
152
|
</div>
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|