@livestorm/ui-vue 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -32
- package/components-vite.js +5 -5
- package/components.d.ts +3 -3
- package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-DOLFRKcb.mjs +5565 -0
- package/dist/a11y-DIdrv5Mn.mjs +66 -0
- package/dist/breakpoints.mjs +9 -0
- package/dist/bus.mjs +5 -0
- package/dist/components.mjs +213 -1550
- package/dist/index.mjs +84 -166
- package/dist/integrations.mjs +8 -0
- package/dist/layouts.mjs +236 -0
- package/dist/responsive.mjs +25 -0
- package/dist/slot.mjs +21 -0
- package/dist/toastDSV2-wMh-UMzW.mjs +74 -0
- package/dist/types/index.d.ts +84 -0
- package/dist/types/src/components/Toast/LayoutToasts.vue.d.ts +3 -0
- package/dist/types/src/components/Toast/ToastMessage.vue.d.ts +21 -0
- package/dist/types/src/components/Toast/toastDSV2.d.ts +102 -0
- package/dist/types/src/components/UiActionBar/UiActionBar.vue.d.ts +44 -0
- package/dist/types/src/components/UiActionBar/UiActionBarItem.vue.d.ts +47 -0
- package/dist/types/src/components/UiActionBar/UiActionBarSeparator.vue.d.ts +3 -0
- package/dist/types/src/components/UiActionBar/index.d.ts +4 -0
- package/dist/types/src/components/UiActionBar/types.d.ts +14 -0
- package/dist/types/src/components/UiAnimatedLogo/UiAnimatedLogo.vue.d.ts +10 -0
- package/dist/types/src/components/UiAnimatedLogo/animations-links.d.ts +3 -0
- package/dist/types/src/components/UiAvatar/UiAvatar.vue.d.ts +55 -0
- package/dist/types/src/components/UiAvatar/index.d.ts +1 -0
- package/dist/types/src/components/UiAvatarList/UiAvatarList.vue.d.ts +28 -0
- package/dist/types/src/components/UiAvatarList/index.d.ts +1 -0
- package/dist/types/src/components/UiBadge/UiBadge.vue.d.ts +47 -0
- package/dist/types/src/components/UiBadge/index.d.ts +1 -0
- package/dist/types/src/components/UiBanner/UiBanner.vue.d.ts +96 -0
- package/dist/types/src/components/UiBanner/index.d.ts +2 -0
- package/dist/types/src/components/UiBreadcrumb/UiBreadcrumb.vue.d.ts +15 -0
- package/dist/types/src/components/UiBreadcrumb/index.d.ts +2 -0
- package/dist/types/src/components/UiButton/UiButton.vue.d.ts +249 -0
- package/dist/types/src/components/UiButtonGroup/UiButtonGroup.vue.d.ts +42 -0
- package/dist/types/src/components/UiButtonGroup/UiButtonGroupItem.vue.d.ts +21 -0
- package/dist/types/src/components/UiButtonGroup/index.d.ts +3 -0
- package/dist/types/src/components/UiButtonGroup/types.d.ts +10 -0
- package/dist/types/src/components/UiCard/UiCard.vue.d.ts +31 -0
- package/dist/types/src/components/UiCarousel/UiCarousel.vue.d.ts +63 -0
- package/dist/types/src/components/UiCarousel/index.d.ts +2 -0
- package/dist/types/src/components/UiColorField/UiColorField.vue.d.ts +19 -0
- package/dist/types/src/components/UiColorField/index.d.ts +2 -0
- package/dist/types/src/components/UiColorField/types.d.ts +29 -0
- package/dist/types/src/components/UiColorPicker/UiColorPicker.vue.d.ts +35 -0
- package/dist/types/src/components/UiColorPicker/index.d.ts +2 -0
- package/dist/types/src/components/UiColorPicker/types.d.ts +97 -0
- package/dist/types/src/components/UiDialog/MarketplaceHeaderExample.vue.d.ts +28 -0
- package/dist/types/src/components/UiDialog/UiDialog.vue.d.ts +18 -0
- package/dist/types/src/components/UiDialog/UiDialogClose.vue.d.ts +10 -0
- package/dist/types/src/components/UiDialog/UiDialogContent.vue.d.ts +54 -0
- package/dist/types/src/components/UiDialog/UiDialogFooter.vue.d.ts +13 -0
- package/dist/types/src/components/UiDialog/UiDialogTrigger.vue.d.ts +14 -0
- package/dist/types/src/components/UiDialog/index.d.ts +7 -0
- package/dist/types/src/components/UiDropdown/UiDropdown.vue.d.ts +42 -0
- package/dist/types/src/components/UiDropdown/UiDropdownContent.vue.d.ts +32 -0
- package/dist/types/src/components/UiDropdown/UiDropdownItem.vue.d.ts +27 -0
- package/dist/types/src/components/UiDropdown/UiDropdownSeparator.vue.d.ts +3 -0
- package/dist/types/src/components/UiDropdown/UiDropdownTrigger.vue.d.ts +45 -0
- package/dist/types/src/components/UiDropdown/context.d.ts +7 -0
- package/dist/types/src/components/UiDropdown/index.d.ts +6 -0
- package/dist/types/src/components/UiEmptyState/UiEmptyState.vue.d.ts +29 -0
- package/dist/types/src/components/UiFieldWrapper/UiFieldWrapper.vue.d.ts +36 -0
- package/dist/types/src/components/UiFieldWrapper/index.d.ts +1 -0
- package/dist/types/src/components/UiForm/UiFormField.types.d.ts +22 -0
- package/dist/types/src/components/UiForm/UiFormField.vue.d.ts +34 -0
- package/dist/types/src/components/UiForm/index.d.ts +3 -0
- package/dist/types/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue.d.ts +6 -0
- package/dist/types/src/components/UiInputCheckbox/UiInputCheckbox.vue.d.ts +108 -0
- package/dist/types/src/components/UiInputCheckbox/index.d.ts +2 -0
- package/dist/types/src/components/UiInputCheckbox/types.d.ts +1 -0
- package/dist/types/src/components/UiInputSelect/UiInputSelect.vue.d.ts +66 -0
- package/dist/types/src/components/UiInputSelect/index.d.ts +2 -0
- package/dist/types/src/components/UiInputSelect/types.d.ts +1 -0
- package/dist/types/src/components/UiInputTextarea/UiInputTextarea.vue.d.ts +49 -0
- package/dist/types/src/components/UiInputTextarea/index.d.ts +2 -0
- package/dist/types/src/components/UiInputTextarea/types.d.ts +1 -0
- package/dist/types/src/components/UiLabel/UiLabel.vue.d.ts +17 -0
- package/dist/types/src/components/UiList/UiList.vue.d.ts +27 -0
- package/dist/types/src/components/UiListItem/UiListItem.vue.d.ts +35 -0
- package/dist/types/src/components/UiLoader/UiLoader.vue.d.ts +17 -0
- package/dist/types/src/components/UiLogo/UiLogo.vue.d.ts +20 -0
- package/dist/types/src/components/UiLogo/variants/PulseVariant.vue.d.ts +3 -0
- package/dist/types/src/components/UiLogo/variants/TornadoVariant.vue.d.ts +3 -0
- package/dist/types/src/components/UiMenu/UiMenu.vue.d.ts +18 -0
- package/dist/types/src/components/UiMenu/UiMenuContent.vue.d.ts +30 -0
- package/dist/types/src/components/UiMenu/UiMenuGroup.vue.d.ts +16 -0
- package/dist/types/src/components/UiMenu/UiMenuItem.vue.d.ts +18 -0
- package/dist/types/src/components/UiMenu/UiMenuLabel.vue.d.ts +13 -0
- package/dist/types/src/components/UiMenu/UiMenuSeparator.vue.d.ts +13 -0
- package/dist/types/src/components/UiMenu/UiMenuSub.vue.d.ts +18 -0
- package/dist/types/src/components/UiMenu/UiMenuSubContent.vue.d.ts +32 -0
- package/dist/types/src/components/UiMenu/UiMenuSubTrigger.vue.d.ts +14 -0
- package/dist/types/src/components/UiMenu/UiMenuTrigger.vue.d.ts +14 -0
- package/dist/types/src/components/UiMenu/index.d.ts +10 -0
- package/dist/types/src/components/UiPage/UiPage.vue.d.ts +37 -0
- package/dist/types/src/components/UiPageHeader/UiPageHeader.vue.d.ts +33 -0
- package/dist/types/src/components/UiPopover/UiPopover.vue.d.ts +18 -0
- package/dist/types/src/components/UiPopover/UiPopoverAnchor.vue.d.ts +14 -0
- package/dist/types/src/components/UiPopover/UiPopoverContent.vue.d.ts +28 -0
- package/dist/types/src/components/UiPopover/UiPopoverTrigger.vue.d.ts +14 -0
- package/dist/types/src/components/UiProgress/UiProgress.vue.d.ts +15 -0
- package/dist/types/src/components/UiProgress/index.d.ts +2 -0
- package/dist/types/src/components/UiProgress/types.d.ts +4 -0
- package/dist/types/src/components/UiRoomButton/UiRoomButton.vue.d.ts +29 -0
- package/dist/types/src/components/UiShell/UiShell.vue.d.ts +24 -0
- package/dist/types/src/components/UiSideMenu/UiSideMenu.vue.d.ts +64 -0
- package/dist/types/src/components/UiSideMenu/UiSideMenuBottom.vue.d.ts +7 -0
- package/dist/types/src/components/UiSideMenu/UiSideMenuItem.vue.d.ts +53 -0
- package/dist/types/src/components/UiSideMenu/UiSideMenuItemContent.vue.d.ts +43 -0
- package/dist/types/src/components/UiSideMenu/UiSideMenuTop.vue.d.ts +7 -0
- package/dist/types/src/components/UiSideMenu/injection.d.ts +7 -0
- package/dist/types/src/components/UiSideMenu/types.d.ts +39 -0
- package/dist/types/src/components/UiSideMenu/useLabelHidden.d.ts +2 -0
- package/dist/types/src/components/UiSideMenu/useSideMenuLayout.d.ts +7 -0
- package/dist/types/src/components/UiStepper/UiStepper.vue.d.ts +18 -0
- package/dist/types/src/components/UiStepper/UiStepperDescription.vue.d.ts +14 -0
- package/dist/types/src/components/UiStepper/UiStepperIndicator.vue.d.ts +20 -0
- package/dist/types/src/components/UiStepper/UiStepperItem.vue.d.ts +19 -0
- package/dist/types/src/components/UiStepper/UiStepperSeparator.vue.d.ts +10 -0
- package/dist/types/src/components/UiStepper/UiStepperTitle.vue.d.ts +14 -0
- package/dist/types/src/components/UiStepper/index.d.ts +7 -0
- package/dist/types/src/components/UiTable/UiTable.vue.d.ts +20 -0
- package/dist/types/src/components/UiTable/UiTableBody.vue.d.ts +13 -0
- package/dist/types/src/components/UiTable/UiTableCell.vue.d.ts +13 -0
- package/dist/types/src/components/UiTable/UiTableHeader.vue.d.ts +13 -0
- package/dist/types/src/components/UiTable/UiTableHeaderCell.vue.d.ts +13 -0
- package/dist/types/src/components/UiTable/UiTableRow.vue.d.ts +16 -0
- package/dist/types/src/components/UiTable/index.d.ts +6 -0
- package/dist/types/src/components/UiTabs/UiTabs.vue.d.ts +37 -0
- package/dist/types/src/components/UiTabs/index.d.ts +2 -0
- package/dist/types/src/components/UiTag/UiTag.vue.d.ts +43 -0
- package/dist/types/src/components/UiTag/index.d.ts +1 -0
- package/dist/types/src/components/UiTextField/UiTextField.vue.d.ts +65 -0
- package/dist/types/src/components/UiTextField/index.d.ts +2 -0
- package/dist/types/src/components/UiTextField/types.d.ts +2 -0
- package/dist/types/src/components/UiTimeline/UiTimeline.vue.d.ts +19 -0
- package/dist/types/src/components/UiTimeline/UiTimelineItem.vue.d.ts +28 -0
- package/dist/types/src/components/UiTimeline/index.d.ts +2 -0
- package/dist/types/src/components/UiTooltip/UiTooltip.vue.d.ts +18 -0
- package/dist/types/src/components/UiTooltip/UiTooltipContent.vue.d.ts +54 -0
- package/dist/types/src/components/UiTooltip/UiTooltipProvider.vue.d.ts +17 -0
- package/dist/types/src/components/UiTooltip/UiTooltipTrigger.vue.d.ts +14 -0
- package/dist/types/src/components/UiTooltip/index.d.ts +4 -0
- package/dist/types/src/composables/useButtonStyles.d.ts +20 -0
- package/dist/types/src/composables/useMobileMenu.d.ts +11 -0
- package/dist/types/src/composables/useThemeAndModes.d.ts +34 -0
- package/dist/types/src/constants/index.d.ts +2 -0
- package/dist/types/src/constants/sizes.d.ts +2 -0
- package/dist/types/src/constants/themes.d.ts +22 -0
- package/dist/types/src/integrations/index.d.ts +1 -0
- package/dist/types/src/layouts/index.d.ts +2 -0
- package/dist/types/src/mixins/DynamicAction.d.ts +30 -0
- package/dist/types/src/primitives.d.ts +6 -0
- package/dist/types/src/theme.d.ts +1 -0
- package/dist/types/src/utils/a11y.d.ts +2 -0
- package/dist/types/src/utils/breakpoints.d.ts +9 -0
- package/dist/types/src/utils/bus.d.ts +2 -0
- package/dist/types/src/utils/clipboard.d.ts +4 -0
- package/dist/types/src/utils/devices.d.ts +19 -0
- package/dist/types/src/utils/elements.d.ts +1 -0
- package/dist/types/src/utils/index.d.ts +9 -0
- package/dist/types/src/utils/numbers.d.ts +30 -0
- package/dist/types/src/utils/responsive.d.ts +5 -0
- package/dist/types/src/utils/responsive.types.d.ts +12 -0
- package/dist/types/src/utils/router.d.ts +1 -0
- package/dist/types/src/utils/slot.d.ts +8 -0
- package/dist/types/src/utils/stack-view.d.ts +10 -0
- package/dist/types/src/utils/uid.d.ts +1 -0
- package/dist/types/style.d.ts +1 -0
- package/dist/ui-vue.css +1 -0
- package/dist/useThemeAndModes-DY5SDC0a.mjs +109 -0
- package/dist/utils.mjs +111 -0
- package/index.d.ts +88 -2
- package/index.js +169 -16
- package/integrations.d.ts +10 -0
- package/package.json +127 -58
- package/src/components/Toast/LayoutToasts.vue +63 -0
- package/src/components/Toast/ToastMessage.vue +208 -0
- package/src/components/Toast/toastDSV2.ts +151 -0
- package/src/components/UiActionBar/UiActionBar.vue +86 -0
- package/src/components/UiActionBar/UiActionBarItem.vue +179 -0
- package/src/components/UiActionBar/UiActionBarSeparator.vue +18 -0
- package/src/components/UiActionBar/index.ts +4 -0
- package/src/components/UiActionBar/types.ts +24 -0
- package/src/components/UiAnimatedLogo/UiAnimatedLogo.vue +47 -0
- package/src/components/UiAnimatedLogo/animations-links.ts +6 -0
- package/src/components/UiAvatar/UiAvatar.vue +186 -0
- package/src/components/UiAvatar/index.js +1 -0
- package/src/components/UiAvatarList/UiAvatarList.vue +109 -0
- package/src/components/UiAvatarList/index.js +1 -0
- package/src/components/UiBadge/UiBadge.vue +161 -0
- package/src/components/UiBadge/index.ts +2 -0
- package/src/components/UiBanner/UiBanner.vue +363 -0
- package/src/components/UiBanner/index.ts +2 -0
- package/src/components/UiBreadcrumb/UiBreadcrumb.vue +93 -0
- package/src/components/UiBreadcrumb/index.ts +2 -0
- package/src/components/UiButton/UiButton.vue +319 -0
- package/src/components/UiButtonGroup/UiButtonGroup.vue +198 -0
- package/src/components/UiButtonGroup/UiButtonGroupItem.vue +123 -0
- package/src/components/UiButtonGroup/index.ts +3 -0
- package/src/components/UiButtonGroup/types.ts +24 -0
- package/src/components/UiCard/UiCard.vue +112 -0
- package/src/components/UiCarousel/UiCarousel.vue +215 -0
- package/src/components/UiCarousel/index.ts +2 -0
- package/src/components/UiColorField/UiColorField.vue +158 -0
- package/src/components/UiColorField/index.ts +2 -0
- package/src/components/UiColorField/types.ts +30 -0
- package/src/components/UiColorPicker/UiColorPicker.vue +487 -0
- package/src/components/UiColorPicker/index.ts +2 -0
- package/src/components/UiColorPicker/types.ts +103 -0
- package/src/components/UiDialog/MarketplaceHeaderExample.vue +217 -0
- package/src/components/UiDialog/UiDialog.md +97 -0
- package/src/components/UiDialog/UiDialog.vue +16 -0
- package/src/components/UiDialog/UiDialogClose.vue +29 -0
- package/src/components/UiDialog/UiDialogContent.vue +238 -0
- package/src/components/UiDialog/UiDialogFooter.vue +9 -0
- package/src/components/UiDialog/UiDialogTrigger.vue +12 -0
- package/src/components/UiDialog/index.ts +18 -0
- package/src/components/UiDropdown/UiDropdown.vue +48 -0
- package/src/components/UiDropdown/UiDropdownContent.vue +72 -0
- package/src/components/UiDropdown/UiDropdownItem.vue +75 -0
- package/src/components/UiDropdown/UiDropdownSeparator.vue +7 -0
- package/src/components/UiDropdown/UiDropdownTrigger.vue +239 -0
- package/src/components/UiDropdown/context.ts +9 -0
- package/src/components/UiDropdown/index.ts +21 -0
- package/src/components/UiEmptyState/UiEmptyState.vue +80 -0
- package/src/components/UiFieldWrapper/UiFieldWrapper.vue +79 -0
- package/src/components/UiFieldWrapper/index.ts +1 -0
- package/src/components/UiForm/UiFormField.types.ts +24 -0
- package/src/components/UiForm/UiFormField.vue +66 -0
- package/src/components/UiForm/index.ts +3 -0
- package/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue +28 -0
- package/src/components/UiInputCheckbox/UiInputCheckbox.vue +477 -0
- package/src/components/UiInputCheckbox/index.ts +2 -0
- package/src/components/UiInputCheckbox/types.ts +1 -0
- package/src/components/UiInputSelect/UiInputSelect.vue +166 -0
- package/src/components/UiInputSelect/index.ts +2 -0
- package/src/components/UiInputSelect/types.ts +1 -0
- package/src/components/UiInputTextarea/UiInputTextarea.vue +219 -0
- package/src/components/UiInputTextarea/index.ts +2 -0
- package/src/components/UiInputTextarea/types.ts +1 -0
- package/src/components/UiLabel/UiLabel.vue +34 -0
- package/src/components/UiList/UiList.vue +45 -0
- package/src/components/UiListItem/UiListItem.vue +108 -0
- package/src/components/UiLoader/UiLoader.vue +45 -0
- package/src/components/UiLogo/UiLogo.vue +99 -0
- package/src/components/UiLogo/variants/PulseVariant.vue +51 -0
- package/src/components/UiLogo/variants/TornadoVariant.vue +147 -0
- package/src/components/UiMenu/UiMenu.vue +15 -0
- package/src/components/UiMenu/UiMenuContent.vue +25 -0
- package/src/components/UiMenu/UiMenuGroup.vue +19 -0
- package/src/components/UiMenu/UiMenuItem.vue +18 -0
- package/src/components/UiMenu/UiMenuLabel.vue +9 -0
- package/src/components/UiMenu/UiMenuSeparator.vue +9 -0
- package/src/components/UiMenu/UiMenuSub.vue +15 -0
- package/src/components/UiMenu/UiMenuSubContent.vue +23 -0
- package/src/components/UiMenu/UiMenuSubTrigger.vue +17 -0
- package/src/components/UiMenu/UiMenuTrigger.vue +13 -0
- package/src/components/UiMenu/index.ts +10 -0
- package/src/components/UiPage/UiPage.vue +201 -0
- package/src/components/UiPageHeader/UiPageHeader.vue +128 -0
- package/src/components/UiPopover/UiPopover.vue +16 -0
- package/src/components/UiPopover/UiPopoverAnchor.vue +12 -0
- package/src/components/UiPopover/UiPopoverContent.vue +26 -0
- package/src/components/UiPopover/UiPopoverTrigger.vue +19 -0
- package/src/components/UiProgress/UiProgress.vue +92 -0
- package/src/components/UiProgress/index.ts +2 -0
- package/src/components/UiProgress/types.ts +5 -0
- package/src/components/UiRoomButton/UiRoomButton.vue +240 -0
- package/src/components/UiShell/UiShell.vue +88 -0
- package/src/components/UiSideMenu/UiSideMenu.vue +513 -0
- package/src/components/UiSideMenu/UiSideMenuBottom.vue +27 -0
- package/src/components/UiSideMenu/UiSideMenuItem.vue +102 -0
- package/src/components/UiSideMenu/UiSideMenuItemContent.vue +172 -0
- package/src/components/UiSideMenu/UiSideMenuTop.vue +29 -0
- package/src/components/UiSideMenu/injection.ts +9 -0
- package/src/components/UiSideMenu/types.ts +41 -0
- package/src/components/UiSideMenu/useLabelHidden.ts +33 -0
- package/src/components/UiSideMenu/useSideMenuLayout.ts +12 -0
- package/src/components/UiStepper/UiStepper.vue +40 -0
- package/src/components/UiStepper/UiStepperDescription.vue +27 -0
- package/src/components/UiStepper/UiStepperIndicator.vue +93 -0
- package/src/components/UiStepper/UiStepperItem.vue +30 -0
- package/src/components/UiStepper/UiStepperSeparator.vue +49 -0
- package/src/components/UiStepper/UiStepperTitle.vue +24 -0
- package/src/components/UiStepper/index.ts +17 -0
- package/src/components/UiTable/UiTable.vue +24 -0
- package/src/components/UiTable/UiTableBody.vue +5 -0
- package/src/components/UiTable/UiTableCell.vue +26 -0
- package/src/components/UiTable/UiTableHeader.vue +17 -0
- package/src/components/UiTable/UiTableHeaderCell.vue +19 -0
- package/src/components/UiTable/UiTableRow.vue +27 -0
- package/src/components/UiTable/index.ts +6 -0
- package/src/components/UiTabs/UiTabs.vue +218 -0
- package/src/components/UiTabs/index.ts +5 -0
- package/src/components/UiTag/UiTag.vue +187 -0
- package/src/components/UiTag/index.js +1 -0
- package/src/components/UiTextField/UiTextField.vue +370 -0
- package/src/components/UiTextField/index.ts +2 -0
- package/src/components/UiTextField/types.ts +2 -0
- package/src/components/UiTimeline/README.md +169 -0
- package/src/components/UiTimeline/UiTimeline.vue +58 -0
- package/src/components/UiTimeline/UiTimelineItem.vue +141 -0
- package/src/components/UiTimeline/index.ts +2 -0
- package/src/components/UiTooltip/UiTooltip.vue +16 -0
- package/src/components/UiTooltip/UiTooltipContent.vue +86 -0
- package/src/components/UiTooltip/UiTooltipProvider.vue +15 -0
- package/src/components/UiTooltip/UiTooltipTrigger.vue +19 -0
- package/src/components/UiTooltip/index.js +4 -0
- package/src/composables/useButtonStyles.ts +242 -0
- package/src/composables/useMobileMenu.ts +57 -0
- package/src/composables/useThemeAndModes.ts +225 -0
- package/src/constants/index.ts +2 -0
- package/src/constants/sizes.ts +2 -0
- package/src/constants/themes.ts +34 -0
- package/src/css/{body.postcss → body.css} +3 -2
- package/src/css/reka-animations.css +209 -0
- package/src/css/{transitions.postcss → transitions.css} +12 -5
- package/src/global.d.ts +181 -0
- package/src/integrations/index.js +1 -0
- package/src/layouts/index.js +5 -0
- package/src/mixins/DynamicAction.js +5 -3
- package/src/primitives.ts +6 -0
- package/src/theme.ts +1 -0
- package/src/utils/a11y.ts +8 -0
- package/src/utils/{breakpoints.js → breakpoints.ts} +1 -0
- package/src/utils/clipboard.js +2 -2
- package/src/utils/devices.js +0 -3
- package/src/utils/index.js +2 -1
- package/src/utils/numbers.ts +61 -0
- package/src/utils/responsive.types.ts +12 -0
- package/src/utils/{slot.js → slot.ts} +18 -1
- package/style.js +3 -12
- package/theme.d.ts +1 -0
- package/.env +0 -1
- package/.eslintignore +0 -4
- package/.eslintrc.js +0 -47
- package/.pkg +0 -11
- package/babel.config.js +0 -5
- package/build/Dockerfile +0 -31
- package/ci/ci.yml +0 -54
- package/components-webpack.js +0 -29
- package/dist/environment-e70e5768.mjs +0 -1664
- package/dist/style.css +0 -1
- package/plugins.js +0 -17
- package/postcss.config.js +0 -1
- package/src/components/BaseAutocomplete/BaseAutocomplete.spec.js +0 -506
- package/src/components/BaseAutocomplete/BaseAutocomplete.stories.js +0 -184
- package/src/components/BaseAutocomplete/BaseAutocomplete.vue +0 -431
- package/src/components/BaseBanner/BaseBanner.spec.js +0 -32
- package/src/components/BaseBanner/BaseBanner.stories.js +0 -133
- package/src/components/BaseBanner/BaseBanner.vue +0 -229
- package/src/components/BaseButton/BaseButton.spec.js +0 -98
- package/src/components/BaseButton/BaseButton.stories.js +0 -291
- package/src/components/BaseButton/BaseButton.vue +0 -193
- package/src/components/BaseButton/__snapshots__/BaseButton.spec.js.snap +0 -37
- package/src/components/BaseButton/__snapshots__/BaseButton.spec.js.snap.old +0 -31
- package/src/components/BaseCheckbox/BaseCheckbox.stories.js +0 -82
- package/src/components/BaseCheckbox/BaseCheckbox.vue +0 -161
- package/src/components/BaseDropdownMenu/BaseDropdownMenu.stories.js +0 -84
- package/src/components/BaseDropdownMenu/BaseDropdownMenu.vue +0 -251
- package/src/components/BaseDropdownMenu/BaseDropdownMenuButton.vue +0 -26
- package/src/components/BaseDropdownMenu/BaseDropdownMenuDivider.vue +0 -10
- package/src/components/BaseDropdownMenu/BaseDropdownMenuItem.vue +0 -206
- package/src/components/BaseDropdownMenu/BaseDropdownMenuSearch.vue +0 -49
- package/src/components/BaseDropdownMenu/BaseDropdownMenuTitle.vue +0 -26
- package/src/components/BaseModal/BaseModal.stories.js +0 -143
- package/src/components/BaseModal/BaseModal.vue +0 -187
- package/src/components/BaseModal/BaseModalContent.vue +0 -164
- package/src/components/BaseModal/BaseModalContentOld.vue +0 -242
- package/src/components/BaseRating/BaseRating.spec.js +0 -46
- package/src/components/BaseRating/BaseRating.stories.js +0 -46
- package/src/components/BaseRating/BaseRating.vue +0 -119
- package/src/components/BaseSelect/BaseSelect.stories.js +0 -177
- package/src/components/BaseSelect/BaseSelect.vue +0 -443
- package/src/components/BaseSelect/BaseSelectGroup.vue +0 -34
- package/src/components/BaseSelect/BaseSelectOption.vue +0 -219
- package/src/components/BaseSwitch/BaseSwitch.stories.js +0 -44
- package/src/components/BaseSwitch/BaseSwitch.vue +0 -114
- package/src/components/BaseTag/BaseTag.stories.js +0 -123
- package/src/components/BaseTag/BaseTag.vue +0 -244
- package/src/css/button.postcss +0 -354
- package/src/css/checkbox-radio.postcss +0 -152
- package/src/css/icon.postcss +0 -9
- package/src/css/loader.postcss +0 -120
- package/src/css/popper.postcss +0 -143
- package/src/css/tailwind-utilities.postcss +0 -1
- package/src/css/tailwind.postcss +0 -2
- package/style-postcss.d.ts +0 -3
- package/style-postcss.js +0 -2
- package/tailwind.config.base.cjs +0 -88
- package/tailwind.config.js +0 -9
- package/tsconfig.check.json +0 -13
- package/tsconfig.json +0 -66
- package/vite.config.js +0 -43
- package/vitest.setup.js +0 -26
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import UiActionBar from './src/components/UiActionBar/UiActionBar.vue';
|
|
2
|
+
import UiActionBarItem from './src/components/UiActionBar/UiActionBarItem.vue';
|
|
3
|
+
import UiActionBarSeparator from './src/components/UiActionBar/UiActionBarSeparator.vue';
|
|
4
|
+
import UiAnimatedLogo from './src/components/UiAnimatedLogo/UiAnimatedLogo.vue';
|
|
5
|
+
import UiAvatar from './src/components/UiAvatar/UiAvatar.vue';
|
|
6
|
+
import UiAvatarList from './src/components/UiAvatarList/UiAvatarList.vue';
|
|
7
|
+
import UiBadge from './src/components/UiBadge/UiBadge.vue';
|
|
8
|
+
import UiBanner from './src/components/UiBanner/UiBanner.vue';
|
|
9
|
+
import UiBreadcrumb from './src/components/UiBreadcrumb/UiBreadcrumb.vue';
|
|
10
|
+
import UiButton from './src/components/UiButton/UiButton.vue';
|
|
11
|
+
import UiButtonGroup from './src/components/UiButtonGroup/UiButtonGroup.vue';
|
|
12
|
+
import UiButtonGroupItem from './src/components/UiButtonGroup/UiButtonGroupItem.vue';
|
|
13
|
+
import UiCard from './src/components/UiCard/UiCard.vue';
|
|
14
|
+
import UiCarousel from './src/components/UiCarousel/UiCarousel.vue';
|
|
15
|
+
import UiColorField from './src/components/UiColorField/UiColorField.vue';
|
|
16
|
+
import UiColorPicker from './src/components/UiColorPicker/UiColorPicker.vue';
|
|
17
|
+
import UiDialog from './src/components/UiDialog/UiDialog.vue';
|
|
18
|
+
import UiDialogClose from './src/components/UiDialog/UiDialogClose.vue';
|
|
19
|
+
import UiDialogContent from './src/components/UiDialog/UiDialogContent.vue';
|
|
20
|
+
import UiDialogFooter from './src/components/UiDialog/UiDialogFooter.vue';
|
|
21
|
+
import UiDialogTrigger from './src/components/UiDialog/UiDialogTrigger.vue';
|
|
22
|
+
import UiDropdown from './src/components/UiDropdown/UiDropdown.vue';
|
|
23
|
+
import UiDropdownContent from './src/components/UiDropdown/UiDropdownContent.vue';
|
|
24
|
+
import UiDropdownItem from './src/components/UiDropdown/UiDropdownItem.vue';
|
|
25
|
+
import UiDropdownSeparator from './src/components/UiDropdown/UiDropdownSeparator.vue';
|
|
26
|
+
import UiDropdownTrigger from './src/components/UiDropdown/UiDropdownTrigger.vue';
|
|
27
|
+
import UiEmptyState from './src/components/UiEmptyState/UiEmptyState.vue';
|
|
28
|
+
import UiFieldWrapper from './src/components/UiFieldWrapper/UiFieldWrapper.vue';
|
|
29
|
+
import UiFormField from './src/components/UiForm/UiFormField.vue';
|
|
30
|
+
import UiHorizontalSeparator from './src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue';
|
|
31
|
+
import UiInputCheckbox from './src/components/UiInputCheckbox/UiInputCheckbox.vue';
|
|
32
|
+
import UiInputSelect from './src/components/UiInputSelect/UiInputSelect.vue';
|
|
33
|
+
import UiInputTextarea from './src/components/UiInputTextarea/UiInputTextarea.vue';
|
|
34
|
+
import UiLabel from './src/components/UiLabel/UiLabel.vue';
|
|
35
|
+
import UiList from './src/components/UiList/UiList.vue';
|
|
36
|
+
import UiListItem from './src/components/UiListItem/UiListItem.vue';
|
|
37
|
+
import UiLoader from './src/components/UiLoader/UiLoader.vue';
|
|
38
|
+
import UiLogo from './src/components/UiLogo/UiLogo.vue';
|
|
39
|
+
import UiMenu from './src/components/UiMenu/UiMenu.vue';
|
|
40
|
+
import UiMenuContent from './src/components/UiMenu/UiMenuContent.vue';
|
|
41
|
+
import UiMenuGroup from './src/components/UiMenu/UiMenuGroup.vue';
|
|
42
|
+
import UiMenuItem from './src/components/UiMenu/UiMenuItem.vue';
|
|
43
|
+
import UiMenuLabel from './src/components/UiMenu/UiMenuLabel.vue';
|
|
44
|
+
import UiMenuSeparator from './src/components/UiMenu/UiMenuSeparator.vue';
|
|
45
|
+
import UiMenuSub from './src/components/UiMenu/UiMenuSub.vue';
|
|
46
|
+
import UiMenuSubContent from './src/components/UiMenu/UiMenuSubContent.vue';
|
|
47
|
+
import UiMenuSubTrigger from './src/components/UiMenu/UiMenuSubTrigger.vue';
|
|
48
|
+
import UiMenuTrigger from './src/components/UiMenu/UiMenuTrigger.vue';
|
|
49
|
+
import UiPage from './src/components/UiPage/UiPage.vue';
|
|
50
|
+
import UiPageHeader from './src/components/UiPageHeader/UiPageHeader.vue';
|
|
51
|
+
import UiPopover from './src/components/UiPopover/UiPopover.vue';
|
|
52
|
+
import UiPopoverAnchor from './src/components/UiPopover/UiPopoverAnchor.vue';
|
|
53
|
+
import UiPopoverContent from './src/components/UiPopover/UiPopoverContent.vue';
|
|
54
|
+
import UiPopoverTrigger from './src/components/UiPopover/UiPopoverTrigger.vue';
|
|
55
|
+
import UiProgress from './src/components/UiProgress/UiProgress.vue';
|
|
56
|
+
import UiRoomButton from './src/components/UiRoomButton/UiRoomButton.vue';
|
|
57
|
+
import UiShell from './src/components/UiShell/UiShell.vue';
|
|
58
|
+
import UiSideMenu from './src/components/UiSideMenu/UiSideMenu.vue';
|
|
59
|
+
import UiSideMenuBottom from './src/components/UiSideMenu/UiSideMenuBottom.vue';
|
|
60
|
+
import UiSideMenuItem from './src/components/UiSideMenu/UiSideMenuItem.vue';
|
|
61
|
+
import UiSideMenuItemContent from './src/components/UiSideMenu/UiSideMenuItemContent.vue';
|
|
62
|
+
import UiSideMenuTop from './src/components/UiSideMenu/UiSideMenuTop.vue';
|
|
63
|
+
import UiStepper from './src/components/UiStepper/UiStepper.vue';
|
|
64
|
+
import UiStepperDescription from './src/components/UiStepper/UiStepperDescription.vue';
|
|
65
|
+
import UiStepperIndicator from './src/components/UiStepper/UiStepperIndicator.vue';
|
|
66
|
+
import UiStepperItem from './src/components/UiStepper/UiStepperItem.vue';
|
|
67
|
+
import UiStepperSeparator from './src/components/UiStepper/UiStepperSeparator.vue';
|
|
68
|
+
import UiStepperTitle from './src/components/UiStepper/UiStepperTitle.vue';
|
|
69
|
+
import UiTable from './src/components/UiTable/UiTable.vue';
|
|
70
|
+
import UiTableBody from './src/components/UiTable/UiTableBody.vue';
|
|
71
|
+
import UiTableCell from './src/components/UiTable/UiTableCell.vue';
|
|
72
|
+
import UiTableHeader from './src/components/UiTable/UiTableHeader.vue';
|
|
73
|
+
import UiTableHeaderCell from './src/components/UiTable/UiTableHeaderCell.vue';
|
|
74
|
+
import UiTableRow from './src/components/UiTable/UiTableRow.vue';
|
|
75
|
+
import UiTabs from './src/components/UiTabs/UiTabs.vue';
|
|
76
|
+
import UiTag from './src/components/UiTag/UiTag.vue';
|
|
77
|
+
import UiTextField from './src/components/UiTextField/UiTextField.vue';
|
|
78
|
+
import UiTimeline from './src/components/UiTimeline/UiTimeline.vue';
|
|
79
|
+
import UiTimelineItem from './src/components/UiTimeline/UiTimelineItem.vue';
|
|
80
|
+
import UiTooltip from './src/components/UiTooltip/UiTooltip.vue';
|
|
81
|
+
import UiTooltipContent from './src/components/UiTooltip/UiTooltipContent.vue';
|
|
82
|
+
import UiTooltipProvider from './src/components/UiTooltip/UiTooltipProvider.vue';
|
|
83
|
+
import UiTooltipTrigger from './src/components/UiTooltip/UiTooltipTrigger.vue';
|
|
84
|
+
export { UiActionBar, UiActionBarItem, UiActionBarSeparator, UiAnimatedLogo, UiAvatar, UiAvatarList, UiBadge, UiBanner, UiBreadcrumb, UiButton, UiButtonGroup, UiButtonGroupItem, UiCard, UiCarousel, UiColorField, UiColorPicker, UiDialog, UiDialogClose, UiDialogContent, UiDialogFooter, UiDialogTrigger, UiDropdown, UiDropdownContent, UiDropdownItem, UiDropdownSeparator, UiDropdownTrigger, UiEmptyState, UiFieldWrapper, UiFormField, UiHorizontalSeparator, UiInputCheckbox, UiInputSelect, UiInputTextarea, UiLabel, UiList, UiListItem, UiLoader, UiLogo, UiMenu, UiMenuContent, UiMenuGroup, UiMenuItem, UiMenuLabel, UiMenuSeparator, UiMenuSub, UiMenuSubContent, UiMenuSubTrigger, UiMenuTrigger, UiPage, UiPageHeader, UiPopover, UiPopoverAnchor, UiPopoverContent, UiPopoverTrigger, UiProgress, UiRoomButton, UiShell, UiSideMenu, UiSideMenuBottom, UiSideMenuItem, UiSideMenuItemContent, UiSideMenuTop, UiStepper, UiStepperDescription, UiStepperIndicator, UiStepperItem, UiStepperSeparator, UiStepperTitle, UiTable, UiTableBody, UiTableCell, UiTableHeader, UiTableHeaderCell, UiTableRow, UiTabs, UiTag, UiTextField, UiTimeline, UiTimelineItem, UiTooltip, UiTooltipContent, UiTooltipProvider, UiTooltipTrigger };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ToastOptions } from './toastDSV2';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<Partial<ToastOptions>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
cancel: (...args: any[]) => void;
|
|
4
|
+
close: (...args: any[]) => void;
|
|
5
|
+
mouseenter: (...args: any[]) => void;
|
|
6
|
+
mouseleave: (...args: any[]) => void;
|
|
7
|
+
confirm: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<Partial<ToastOptions>> & Readonly<{
|
|
9
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
12
|
+
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
type: import("../../theme").ThemeColorType;
|
|
16
|
+
closable: boolean;
|
|
17
|
+
locked: boolean;
|
|
18
|
+
confirmHrefTarget: "_blank" | "_self";
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import { type EventHook } from '@vueuse/core';
|
|
4
|
+
import type { ThemeColorType } from '../../theme';
|
|
5
|
+
export type ToastType = 'alert' | 'warning' | 'info' | 'success';
|
|
6
|
+
export interface ToastOptions {
|
|
7
|
+
message: string;
|
|
8
|
+
id?: PropertyKey;
|
|
9
|
+
title?: string;
|
|
10
|
+
info?: string;
|
|
11
|
+
type?: ThemeColorType;
|
|
12
|
+
time?: number | boolean;
|
|
13
|
+
progessIndeterminate?: boolean;
|
|
14
|
+
customIcon?: string;
|
|
15
|
+
confirmLabel?: string;
|
|
16
|
+
confirmHref?: string;
|
|
17
|
+
confirmHrefTarget?: '_blank' | '_self';
|
|
18
|
+
confirmTo?: RouteLocationRaw;
|
|
19
|
+
confirmIcon?: string;
|
|
20
|
+
confirmColor?: ThemeColorType;
|
|
21
|
+
cancelLabel?: string;
|
|
22
|
+
locked?: boolean;
|
|
23
|
+
closable?: boolean;
|
|
24
|
+
component?: Component;
|
|
25
|
+
componentProps?: Record<string, unknown>;
|
|
26
|
+
}
|
|
27
|
+
interface ToastItem {
|
|
28
|
+
id: PropertyKey;
|
|
29
|
+
message: string;
|
|
30
|
+
title?: string;
|
|
31
|
+
info?: string;
|
|
32
|
+
type?: ThemeColorType;
|
|
33
|
+
icon?: string;
|
|
34
|
+
time?: number;
|
|
35
|
+
locked?: boolean;
|
|
36
|
+
progessIndeterminate?: boolean;
|
|
37
|
+
closeTimer: any;
|
|
38
|
+
confirmEventHook: EventHook;
|
|
39
|
+
cancelEventHook: EventHook;
|
|
40
|
+
}
|
|
41
|
+
export declare function useToasts(): {
|
|
42
|
+
toasts: import("vue").Ref<{
|
|
43
|
+
id: PropertyKey;
|
|
44
|
+
message: string;
|
|
45
|
+
title?: string | undefined;
|
|
46
|
+
info?: string | undefined;
|
|
47
|
+
type?: ThemeColorType | undefined;
|
|
48
|
+
icon?: string | undefined;
|
|
49
|
+
time?: number | undefined;
|
|
50
|
+
locked?: boolean | undefined;
|
|
51
|
+
progessIndeterminate?: boolean | undefined;
|
|
52
|
+
closeTimer: any;
|
|
53
|
+
confirmEventHook: {
|
|
54
|
+
on: import("@vueuse/core").EventHookOn<any>;
|
|
55
|
+
off: import("@vueuse/core").EventHookOff<any>;
|
|
56
|
+
trigger: import("@vueuse/core").EventHookTrigger<any>;
|
|
57
|
+
clear: () => void;
|
|
58
|
+
};
|
|
59
|
+
cancelEventHook: {
|
|
60
|
+
on: import("@vueuse/core").EventHookOn<any>;
|
|
61
|
+
off: import("@vueuse/core").EventHookOff<any>;
|
|
62
|
+
trigger: import("@vueuse/core").EventHookTrigger<any>;
|
|
63
|
+
clear: () => void;
|
|
64
|
+
};
|
|
65
|
+
}[], ToastItem[] | {
|
|
66
|
+
id: PropertyKey;
|
|
67
|
+
message: string;
|
|
68
|
+
title?: string | undefined;
|
|
69
|
+
info?: string | undefined;
|
|
70
|
+
type?: ThemeColorType | undefined;
|
|
71
|
+
icon?: string | undefined;
|
|
72
|
+
time?: number | undefined;
|
|
73
|
+
locked?: boolean | undefined;
|
|
74
|
+
progessIndeterminate?: boolean | undefined;
|
|
75
|
+
closeTimer: any;
|
|
76
|
+
confirmEventHook: {
|
|
77
|
+
on: import("@vueuse/core").EventHookOn<any>;
|
|
78
|
+
off: import("@vueuse/core").EventHookOff<any>;
|
|
79
|
+
trigger: import("@vueuse/core").EventHookTrigger<any>;
|
|
80
|
+
clear: () => void;
|
|
81
|
+
};
|
|
82
|
+
cancelEventHook: {
|
|
83
|
+
on: import("@vueuse/core").EventHookOn<any>;
|
|
84
|
+
off: import("@vueuse/core").EventHookOff<any>;
|
|
85
|
+
trigger: import("@vueuse/core").EventHookTrigger<any>;
|
|
86
|
+
clear: () => void;
|
|
87
|
+
};
|
|
88
|
+
}[]>;
|
|
89
|
+
closeToast: typeof closeToast;
|
|
90
|
+
openToast: typeof openToast;
|
|
91
|
+
cancelCloseTimer: typeof cancelCloseTimer;
|
|
92
|
+
};
|
|
93
|
+
export declare function openToast(options: ToastOptions): {
|
|
94
|
+
id: PropertyKey;
|
|
95
|
+
close: () => void;
|
|
96
|
+
onConfirm: import("@vueuse/core").EventHookOn<void>;
|
|
97
|
+
onCancel: import("@vueuse/core").EventHookOn<void>;
|
|
98
|
+
};
|
|
99
|
+
export declare function closeToast(id: PropertyKey): void;
|
|
100
|
+
export declare function cancelCloseTimer(id: PropertyKey): void;
|
|
101
|
+
export declare function resetToasts(): void;
|
|
102
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ActionBarOrientation, ActionBarPosition, ActionBarSize } from './types';
|
|
2
|
+
interface UiActionBarProps {
|
|
3
|
+
/**
|
|
4
|
+
* Lays the items out in a horizontal bar (default) or a vertical rail,
|
|
5
|
+
* matching the two variants in the design system.
|
|
6
|
+
*/
|
|
7
|
+
orientation?: ActionBarOrientation;
|
|
8
|
+
size?: ActionBarSize;
|
|
9
|
+
/**
|
|
10
|
+
* Anchors the bar to a corner of its nearest positioned ancestor.
|
|
11
|
+
* When set, the bar is rendered `absolute` — the parent must be `relative`.
|
|
12
|
+
* Leave undefined (default) to keep the bar in normal flow and position it
|
|
13
|
+
* yourself.
|
|
14
|
+
*/
|
|
15
|
+
position?: ActionBarPosition;
|
|
16
|
+
/**
|
|
17
|
+
* Distance (in Tailwind spacing units) from the anchored edges when
|
|
18
|
+
* `position` is set. Defaults to `3` (12px).
|
|
19
|
+
*/
|
|
20
|
+
offset?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Accessible label for the toolbar landmark. Defaults to "Actions".
|
|
23
|
+
*/
|
|
24
|
+
ariaLabel?: string;
|
|
25
|
+
}
|
|
26
|
+
declare var __VLS_1: {};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
default?: (props: typeof __VLS_1) => any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_base: import("vue").DefineComponent<UiActionBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UiActionBarProps> & Readonly<{}>, {
|
|
31
|
+
orientation: ActionBarOrientation;
|
|
32
|
+
size: ActionBarSize;
|
|
33
|
+
position: ActionBarPosition;
|
|
34
|
+
offset: number;
|
|
35
|
+
ariaLabel: string;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
interface UiActionBarItemProps {
|
|
3
|
+
/** Icon class, e.g. `i-ls-trash`. */
|
|
4
|
+
icon?: string;
|
|
5
|
+
/** Visible/accessible label. Required so icon-only items stay accessible. */
|
|
6
|
+
label: string;
|
|
7
|
+
/**
|
|
8
|
+
* Optional icon class rendered next to the label inside the hover tooltip —
|
|
9
|
+
* e.g. `i-ls-external-link` to flag that the action opens in a new tab.
|
|
10
|
+
* Only shown for icon-only items (the tooltip is suppressed when
|
|
11
|
+
* `showLabel` is set).
|
|
12
|
+
*/
|
|
13
|
+
tooltipIcon?: string;
|
|
14
|
+
/**
|
|
15
|
+
* When false (default), only the icon shows and the label is exposed as a
|
|
16
|
+
* hover tooltip + aria-label. Set true to render the label inline next to
|
|
17
|
+
* the icon (used for primary/secondary actions like "Promote").
|
|
18
|
+
*/
|
|
19
|
+
showLabel?: boolean;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
/** Render as a router-link instead of a button. */
|
|
22
|
+
to?: RouteLocationRaw;
|
|
23
|
+
/** Render as an anchor instead of a button. */
|
|
24
|
+
href?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Marks the item as a toggle and reflects its on/off state. When set, the
|
|
27
|
+
* item renders `aria-pressed` and shows a pressed background while `true`.
|
|
28
|
+
* Leave undefined for a normal (non-toggle) action — no `aria-pressed` is
|
|
29
|
+
* emitted in that case.
|
|
30
|
+
*/
|
|
31
|
+
active?: boolean;
|
|
32
|
+
}
|
|
33
|
+
declare const __VLS_export: import("vue").DefineComponent<UiActionBarItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
click: (event: MouseEvent) => any;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<UiActionBarItemProps> & Readonly<{
|
|
36
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
icon: string;
|
|
39
|
+
tooltipIcon: string;
|
|
40
|
+
showLabel: boolean;
|
|
41
|
+
disabled: boolean;
|
|
42
|
+
to: RouteLocationRaw;
|
|
43
|
+
href: string;
|
|
44
|
+
active: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as UiActionBar } from './UiActionBar.vue';
|
|
2
|
+
export { default as UiActionBarItem } from './UiActionBarItem.vue';
|
|
3
|
+
export { default as UiActionBarSeparator } from './UiActionBarSeparator.vue';
|
|
4
|
+
export type { ActionBarOrientation, ActionBarSize } from './types';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
export type ActionBarOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
export type ActionBarSize = 'sm' | 'md';
|
|
4
|
+
export type ActionBarPosition = 'top-left' | 'top-right' | 'center-left' | 'center-right' | 'bottom-left' | 'bottom-right';
|
|
5
|
+
export interface ActionBarContext {
|
|
6
|
+
orientation: ComputedRef<ActionBarOrientation>;
|
|
7
|
+
size: ComputedRef<ActionBarSize>;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Injected by UiActionBar so child items and separators can adapt their
|
|
11
|
+
* layout (icon size, hover-tooltip side, separator direction) without the
|
|
12
|
+
* consumer threading props down manually.
|
|
13
|
+
*/
|
|
14
|
+
export declare const ACTION_BAR_CONTEXT_KEY: InjectionKey<ActionBarContext>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type AnimatedLogo = "tornado" | "stair" | "streaming";
|
|
2
|
+
interface Props {
|
|
3
|
+
animatedLogo: AnimatedLogo;
|
|
4
|
+
loop?: boolean;
|
|
5
|
+
height: number;
|
|
6
|
+
width: number;
|
|
7
|
+
}
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const LIVESTORM_ANIMATED_LOGO_TORNADO_URL = "https://lottie.host/ba46e3f4-5e79-4762-9c20-405348ee3387/zHDFDAAD5F.lottie";
|
|
2
|
+
export declare const LIVESTORM_ANIMATED_LOGO_STAIR_URL = "https://lottie.host/81c2307c-1cbd-4594-b978-fd5eaf342bf6/4XKfuEedla.lottie";
|
|
3
|
+
export declare const LIVESTORM_ANIMATED_LOGO_STREAMING_URL = "https://lottie.host/d1427490-2228-4dc4-94e9-bf73a4851b3f/eAMtMNYScd.lottie";
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/** Image URL. Initials are shown when missing or when the image fails to load. */
|
|
3
|
+
src?: string | null;
|
|
4
|
+
firstName?: string | null;
|
|
5
|
+
lastName?: string | null;
|
|
6
|
+
/** Custom text rendered instead of initials (e.g. `+4` for overflow chips). */
|
|
7
|
+
customText?: string | null;
|
|
8
|
+
/**
|
|
9
|
+
* Avatar size. Maps to the `--spacing-component-*` tokens:
|
|
10
|
+
* `xs` 24, `sm` 32, `md` 40, `lg` 48, `xl` 64, `10xl` 128.
|
|
11
|
+
*/
|
|
12
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '10xl';
|
|
13
|
+
/**
|
|
14
|
+
* `default` is light-on-dark (used standalone or inside an avatar list);
|
|
15
|
+
* `more` is the light-grey `+N` chip used by `UiAvatarList` overflow.
|
|
16
|
+
*/
|
|
17
|
+
variant?: 'default' | 'more';
|
|
18
|
+
/** Optional `<img>` alt — falls back to the full name. */
|
|
19
|
+
alt?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Custom background color (hex or any CSS color). Used for initials
|
|
22
|
+
* avatars when the backend stores a per-user color (legacy
|
|
23
|
+
* `BaseUserAvatar` parity). Ignored when `src` resolves or when the
|
|
24
|
+
* `more` variant is used.
|
|
25
|
+
*/
|
|
26
|
+
color?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* Icon class shown when there is no image and no name to derive
|
|
29
|
+
* initials from. Accepts any `i-ls-*` UnoCSS icon name.
|
|
30
|
+
*/
|
|
31
|
+
icon?: string;
|
|
32
|
+
}
|
|
33
|
+
declare var __VLS_1: {};
|
|
34
|
+
type __VLS_Slots = {} & {
|
|
35
|
+
badge?: (props: typeof __VLS_1) => any;
|
|
36
|
+
};
|
|
37
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
38
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "10xl";
|
|
39
|
+
icon: string;
|
|
40
|
+
src: string | null;
|
|
41
|
+
firstName: string | null;
|
|
42
|
+
lastName: string | null;
|
|
43
|
+
customText: string | null;
|
|
44
|
+
variant: "default" | "more";
|
|
45
|
+
alt: string;
|
|
46
|
+
color: string | null;
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
|
+
declare const _default: typeof __VLS_export;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./UiAvatar.vue";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface AvatarListItem {
|
|
2
|
+
id?: string | number;
|
|
3
|
+
firstName?: string | null;
|
|
4
|
+
lastName?: string | null;
|
|
5
|
+
src?: string | null;
|
|
6
|
+
/** Per-user background color (hex/CSS) used for the initials state. */
|
|
7
|
+
color?: string | null;
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
items: AvatarListItem[];
|
|
11
|
+
/**
|
|
12
|
+
* Total number of items represented by this list. Defaults to `items.length`.
|
|
13
|
+
* Set when `items` is already truncated server-side and you want the overflow
|
|
14
|
+
* count to reflect the true total.
|
|
15
|
+
*/
|
|
16
|
+
total?: number | null;
|
|
17
|
+
/** Maximum visible avatars before showing the `+N` overflow chip. */
|
|
18
|
+
max?: number;
|
|
19
|
+
/** Mirrors `UiAvatar`'s size scale. The overlap scales with the size. */
|
|
20
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '10xl';
|
|
21
|
+
}
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "10xl";
|
|
24
|
+
total: number | null;
|
|
25
|
+
max: number;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./UiAvatarList.vue";
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* Optional count to display (if provided, shows number; if not, shows dot indicator)
|
|
4
|
+
*/
|
|
5
|
+
count?: number | string;
|
|
6
|
+
/**
|
|
7
|
+
* Color variant of the badge
|
|
8
|
+
*/
|
|
9
|
+
color?: 'primary' | 'neutral' | 'danger' | 'warning' | 'success';
|
|
10
|
+
/**
|
|
11
|
+
* Visual variant of the badge
|
|
12
|
+
*/
|
|
13
|
+
variant?: 'light' | 'strong';
|
|
14
|
+
/**
|
|
15
|
+
* Maximum count to display before showing "+"
|
|
16
|
+
*/
|
|
17
|
+
maxCount?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Badge size:
|
|
20
|
+
* - `md` (default): standard badge metrics + bold badge type.
|
|
21
|
+
* - `sm`: tighter 12px metrics with a smaller, regular-weight glyph — for
|
|
22
|
+
* single-character indicators (e.g. a role initial).
|
|
23
|
+
*/
|
|
24
|
+
size?: 'sm' | 'md';
|
|
25
|
+
/**
|
|
26
|
+
* Force equal width/height (a fixed circle) instead of a pill that grows
|
|
27
|
+
* with its content. Use for single-character indicators that shouldn't
|
|
28
|
+
* stretch. Independent of `size`.
|
|
29
|
+
*/
|
|
30
|
+
square?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Show the `help` cursor on hover. Set this when the consumer attaches a
|
|
33
|
+
* tooltip to the badge (the badge itself doesn't own the tooltip).
|
|
34
|
+
*/
|
|
35
|
+
hasTooltip?: boolean;
|
|
36
|
+
}
|
|
37
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
38
|
+
size: "sm" | "md";
|
|
39
|
+
variant: "light" | "strong";
|
|
40
|
+
color: "primary" | "neutral" | "danger" | "warning" | "success";
|
|
41
|
+
count: number | string;
|
|
42
|
+
maxCount: number;
|
|
43
|
+
square: boolean;
|
|
44
|
+
hasTooltip: boolean;
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as UiBadge } from './UiBadge.vue';
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export interface UiBannerProps {
|
|
2
|
+
/**
|
|
3
|
+
* The color theme of the banner
|
|
4
|
+
* @values neutral, primary, success, warning, danger
|
|
5
|
+
*/
|
|
6
|
+
color?: 'neutral' | 'primary' | 'success' | 'warning' | 'danger';
|
|
7
|
+
/**
|
|
8
|
+
* The layout variant of the banner
|
|
9
|
+
* @values full-width, horizontal, vertical
|
|
10
|
+
*/
|
|
11
|
+
variant?: 'full-width' | 'horizontal' | 'vertical';
|
|
12
|
+
/**
|
|
13
|
+
* Show or hide the icon
|
|
14
|
+
*/
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Label text for the action button
|
|
18
|
+
*/
|
|
19
|
+
actionLabel?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Disabled state for the action button
|
|
22
|
+
*/
|
|
23
|
+
actionDisabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Icon for the action button
|
|
26
|
+
*/
|
|
27
|
+
actionIcon?: string;
|
|
28
|
+
/**
|
|
29
|
+
* External URL for the action button (opens in new tab)
|
|
30
|
+
*/
|
|
31
|
+
actionHref?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Router location for the action button
|
|
34
|
+
*/
|
|
35
|
+
actionTo?: object;
|
|
36
|
+
/**
|
|
37
|
+
* Show or hide the close button
|
|
38
|
+
*/
|
|
39
|
+
closable?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Unique identifier for the banner (required when rememberClosed is true)
|
|
42
|
+
*/
|
|
43
|
+
bannerId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Whether to remember the closed state in localStorage
|
|
46
|
+
*/
|
|
47
|
+
rememberClosed?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Number of seconds before the banner can show again after being closed
|
|
50
|
+
* -1: stays closed forever
|
|
51
|
+
* 0: expires immediately (no persistence)
|
|
52
|
+
* >0: number of seconds until expiry
|
|
53
|
+
*/
|
|
54
|
+
closedExpirySeconds?: number;
|
|
55
|
+
}
|
|
56
|
+
type __VLS_Props = UiBannerProps;
|
|
57
|
+
type __VLS_ModelProps = {
|
|
58
|
+
'closed'?: boolean;
|
|
59
|
+
};
|
|
60
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
61
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
62
|
+
type __VLS_Slots = {} & {
|
|
63
|
+
default?: (props: typeof __VLS_1) => any;
|
|
64
|
+
} & {
|
|
65
|
+
description?: (props: typeof __VLS_3) => any;
|
|
66
|
+
};
|
|
67
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
68
|
+
close: () => any;
|
|
69
|
+
"banner-action": () => any;
|
|
70
|
+
"update:closed": (value: boolean) => any;
|
|
71
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
72
|
+
onClose?: (() => any) | undefined;
|
|
73
|
+
"onBanner-action"?: (() => any) | undefined;
|
|
74
|
+
"onUpdate:closed"?: ((value: boolean) => any) | undefined;
|
|
75
|
+
}>, {
|
|
76
|
+
variant: "full-width" | "horizontal" | "vertical";
|
|
77
|
+
color: "neutral" | "primary" | "success" | "warning" | "danger";
|
|
78
|
+
showIcon: boolean;
|
|
79
|
+
actionLabel: string;
|
|
80
|
+
actionDisabled: boolean;
|
|
81
|
+
actionIcon: string;
|
|
82
|
+
actionHref: string;
|
|
83
|
+
actionTo: object;
|
|
84
|
+
closable: boolean;
|
|
85
|
+
bannerId: string;
|
|
86
|
+
rememberClosed: boolean;
|
|
87
|
+
closedExpirySeconds: number;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
89
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
90
|
+
declare const _default: typeof __VLS_export;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface UiBreadcrumbItem {
|
|
2
|
+
label: string;
|
|
3
|
+
onClick?: () => unknown;
|
|
4
|
+
}
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
items: UiBreadcrumbItem[];
|
|
7
|
+
orientation?: 'horizontal' | 'vertical';
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
orientation: "horizontal" | "vertical";
|
|
12
|
+
ariaLabel: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|