@mkbabb/glass-ui 0.3.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +179 -70
- package/dist/CardFooter-Yi0xtLLd.js +129 -0
- package/dist/CollapsibleContent-DHRuXE3P.js +52 -0
- package/dist/CommandShortcut-_INFUMu6.js +285 -0
- package/dist/ContextMenuContent-CvXfU5qz.js +85 -0
- package/dist/ContextMenuSubContent-DCkweFW9.js +250 -0
- package/dist/DataTable-Ce00dbHD.js +460 -0
- package/dist/DialogContent-CmCijgX9.js +93 -0
- package/dist/DialogFooter-DRdaCok0.js +165 -0
- package/dist/DiscoGlyph-wRA02zAJ.js +132 -0
- package/dist/GlyphFace-BnPMUZ16.js +51 -0
- package/dist/HoverCardContent-4nN5-5bz.js +83 -0
- package/dist/HoverPopover-Btv4RQfv.js +80 -0
- package/dist/IconTooltip-ge_mBSWR.js +25 -0
- package/dist/Input-CbakTe3B.js +32 -0
- package/dist/InstrumentChassis-DOaVYyWq.js +65 -0
- package/dist/InstrumentRail-jHDqXj70.js +44 -0
- package/dist/Label-C8QMJSsf.js +32 -0
- package/dist/MetricBadge-DRBB18Xq.js +78 -0
- package/dist/ModalOverlay-DKLVY-cj.js +53 -0
- package/dist/Notification-DrI1DT2v.js +99 -0
- package/dist/PaperBackdrop-Bc2drCqJ.js +31 -0
- package/dist/PopoverContent-BCH4eYs8.js +121 -0
- package/dist/Progress-CCH-2UBR.js +126 -0
- package/dist/ScrollingText-7P8skg5W.js +40 -0
- package/dist/SelectGroup-O69GTQ77.js +31 -0
- package/dist/SelectScrollDownButton-yu8EYUnu.js +235 -0
- package/dist/SelectSeparator-GTHxKO0a.js +49 -0
- package/dist/Separator-_NCypg_C.js +37 -0
- package/dist/Switch-CL0uxu8F.js +41 -0
- package/dist/Toaster-DY8_jtHv.js +255 -0
- package/dist/ToggleGroupItem-BYG_8M9M.js +152 -0
- package/dist/TooltipProvider-C5QLSPto.js +104 -0
- package/dist/UnderlineTabs-BtrUcXn-.js +64 -0
- package/dist/_plugin-vue_export-helper-n-_DRHWS.js +8 -0
- package/dist/animated-digit.d.ts +1 -0
- package/dist/animated-digit.js +44 -0
- package/dist/api/index.d.ts +30 -0
- package/dist/api.js +2 -0
- package/dist/aurora.d.ts +1 -0
- package/dist/aurora.js +541 -0
- package/dist/badge-BbxVKZfw.js +49 -0
- package/dist/badge.d.ts +1 -0
- package/dist/badge.js +2 -0
- package/dist/button-BlOW34DT.js +70 -0
- package/dist/button.d.ts +1 -0
- package/dist/button.js +2 -0
- package/dist/card.d.ts +1 -0
- package/dist/card.js +2 -0
- package/dist/carousel.d.ts +2 -0
- package/dist/carousel.js +394 -0
- package/dist/check-dwgetki8.js +7 -0
- package/dist/chevron-down-DILQA1t6.js +7 -0
- package/dist/chevron-right-fS7fal2t.js +7 -0
- package/dist/chevron-up-BtYjYQOS.js +7 -0
- package/dist/cn-DJXf4yaB.js +97 -0
- package/dist/collapsible.d.ts +1 -0
- package/dist/collapsible.js +2 -0
- package/dist/command.d.ts +1 -0
- package/dist/command.js +2 -0
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +48 -0
- package/dist/components/custom/animated-digit/index.d.ts +2 -0
- package/dist/components/custom/aurora/Aurora.vue.d.ts +95 -0
- package/dist/components/custom/aurora/composables/color.d.ts +39 -0
- package/dist/components/custom/aurora/composables/configSource.d.ts +10 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +54 -0
- package/dist/components/custom/aurora/composables/useAurora.d.ts +67 -0
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +25 -0
- package/dist/components/custom/aurora/index.d.ts +9 -0
- package/dist/components/custom/aurora/presets.d.ts +121 -0
- package/dist/components/custom/aurora/renderMode.d.ts +30 -0
- package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +1 -0
- package/dist/components/custom/aurora/shaders/aurora.vert.d.ts +1 -0
- package/dist/components/custom/configurator/Configurator.vue.d.ts +102 -0
- package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +68 -0
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +63 -0
- package/dist/components/custom/configurator/density.d.ts +30 -0
- package/dist/components/custom/configurator/index.d.ts +6 -0
- package/dist/components/custom/configurator/useConfiguratorState.d.ts +45 -0
- package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +32 -0
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +23 -0
- package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +58 -0
- package/dist/components/custom/disco-glyph/index.d.ts +1 -0
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +29 -0
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +30 -0
- package/dist/components/custom/dock/DockLayer.vue.d.ts +34 -0
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +43 -0
- package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +29 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +39 -0
- package/dist/components/custom/dock/GlassDock.vue.d.ts +96 -0
- package/dist/components/custom/dock/composables/dockContext.d.ts +40 -0
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +29 -0
- package/dist/components/custom/dock/composables/index.d.ts +7 -0
- package/dist/components/custom/dock/composables/isTeleportedTarget.d.ts +9 -0
- package/dist/components/custom/dock/composables/useDockState.d.ts +70 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +34 -0
- package/dist/components/custom/dock/index.d.ts +9 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +40 -0
- package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +36 -0
- package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +28 -0
- package/dist/components/custom/glass-carousel/index.d.ts +4 -0
- package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +30 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +41 -0
- package/dist/components/custom/glass-panel/index.d.ts +2 -0
- package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +64 -0
- package/dist/components/custom/glyph-face/index.d.ts +2 -0
- package/dist/components/custom/glyph-face/keys.d.ts +35 -0
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
- package/dist/components/custom/header-ribbon/index.d.ts +2 -0
- package/dist/components/custom/header-ribbon/types.d.ts +7 -0
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +71 -0
- package/dist/components/custom/hover-popover/index.d.ts +1 -0
- package/dist/components/custom/icon-tooltip/IconTooltip.vue.d.ts +16 -0
- package/dist/components/custom/infinite-scroll/InfiniteScroll.vue.d.ts +33 -0
- package/dist/components/custom/infinite-scroll/composables/types.d.ts +21 -0
- package/dist/components/custom/infinite-scroll/composables/useInfiniteScroll.d.ts +9 -0
- package/dist/components/custom/instrument-chassis/ChassisDivider.vue.d.ts +30 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +82 -0
- package/dist/components/custom/instrument-chassis/index.d.ts +3 -0
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +91 -0
- package/dist/components/custom/instrument-rail/index.d.ts +2 -0
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +36 -0
- package/dist/components/custom/labeled-field/LabeledInput.vue.d.ts +15 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +18 -0
- package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +16 -0
- package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +13 -0
- package/dist/components/custom/labeled-field/index.d.ts +5 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +39 -0
- package/dist/components/custom/metric-badge/index.d.ts +1 -0
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +97 -0
- package/dist/components/custom/metric-cell/index.d.ts +2 -0
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +103 -0
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +92 -0
- package/dist/components/custom/metric-stack/index.d.ts +4 -0
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +21 -0
- package/dist/components/custom/paper-backdrop/index.d.ts +2 -0
- package/dist/components/custom/pulse/Pulse.vue.d.ts +53 -0
- package/dist/components/custom/pulse/index.d.ts +1 -0
- package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +67 -0
- package/dist/components/custom/responsive-tabs/index.d.ts +2 -0
- package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +20 -0
- package/dist/components/custom/scrolling-text/index.d.ts +1 -0
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +16 -0
- package/dist/components/custom/search/SearchBar.vue.d.ts +30 -0
- package/dist/components/custom/search/composables/fuzzySearchIndex.d.ts +42 -0
- package/dist/components/custom/search/composables/types.d.ts +31 -0
- package/dist/components/custom/search/composables/useFuzzySearch.d.ts +12 -0
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +32 -0
- package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +38 -0
- package/dist/components/custom/sortable-list/SortableList.vue.d.ts +76 -0
- package/dist/components/custom/sortable-list/context.d.ts +26 -0
- package/dist/components/custom/sortable-list/index.d.ts +4 -0
- package/dist/components/custom/stacked-icons/StackedIconGroup.vue.d.ts +30 -0
- package/dist/components/custom/stacked-icons/index.d.ts +2 -0
- package/dist/components/custom/stacked-icons/types.d.ts +18 -0
- package/dist/components/custom/status-dot/StatusDot.vue.d.ts +18 -0
- package/dist/components/custom/status-dot/index.d.ts +1 -0
- package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +24 -0
- package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +56 -0
- package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +17 -0
- package/dist/components/custom/timeline/ContinuousTimeline.vue.d.ts +118 -0
- package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +114 -0
- package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +29 -0
- package/dist/components/custom/timeline/SegmentedTimeline.vue.d.ts +46 -0
- package/dist/components/custom/timeline/geometry.d.ts +100 -0
- package/dist/components/custom/timeline/index.d.ts +2 -0
- package/dist/components/custom/timeline/types.d.ts +57 -0
- package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +39 -0
- package/dist/components/custom/toggle-chip/index.d.ts +17 -0
- package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +85 -0
- package/dist/components/custom/typewriter/composables/useTypewriter.d.ts +22 -0
- package/dist/components/custom/typewriter/types.d.ts +137 -0
- package/dist/components/custom/typewriter/utils/keyboard.d.ts +15 -0
- package/dist/components/custom/typewriter/utils/pausePatterns.d.ts +28 -0
- package/dist/components/custom/typewriter/utils/timing.d.ts +17 -0
- package/dist/components/custom/typewriter/utils/typoStateMachine.d.ts +24 -0
- package/dist/components/ui/_shared/ModalOverlay.vue.d.ts +90 -0
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +32 -0
- package/dist/components/ui/_shared/useStalePropWarning.d.ts +27 -0
- package/dist/components/ui/accordion/Accordion.vue.d.ts +19 -0
- package/dist/components/ui/accordion/AccordionContent.vue.d.ts +18 -0
- package/dist/components/ui/accordion/AccordionItem.vue.d.ts +18 -0
- package/dist/components/ui/accordion/AccordionTrigger.vue.d.ts +20 -0
- package/dist/components/ui/accordion/index.d.ts +4 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +19 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +17 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +17 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/avatar/Avatar.vue.d.ts +23 -0
- package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +14 -0
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +4 -0
- package/dist/components/ui/avatar/index.d.ts +9 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +20 -0
- package/dist/components/ui/badge/index.d.ts +7 -0
- package/dist/components/ui/button/Button.vue.d.ts +23 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/card/Card.vue.d.ts +56 -0
- package/dist/components/ui/card/CardContent.vue.d.ts +17 -0
- package/dist/components/ui/card/CardDescription.vue.d.ts +17 -0
- package/dist/components/ui/card/CardFooter.vue.d.ts +17 -0
- package/dist/components/ui/card/CardHeader.vue.d.ts +55 -0
- package/dist/components/ui/card/CardTitle.vue.d.ts +17 -0
- package/dist/components/ui/card/index.d.ts +6 -0
- package/dist/components/ui/carousel/Carousel.vue.d.ts +37 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +16 -0
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +4 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +14 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +22 -0
- package/dist/components/ui/carousel/CarouselPager.vue.d.ts +10 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +22 -0
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +51 -0
- package/dist/components/ui/carousel/index.d.ts +10 -0
- package/dist/components/ui/carousel/interface.d.ts +20 -0
- package/dist/components/ui/carousel/useCarousel.d.ts +20 -0
- package/dist/components/ui/checkbox/Checkbox.vue.d.ts +22 -0
- package/dist/components/ui/checkbox/index.d.ts +1 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +20 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +14 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +14 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/combobox/Combobox.vue.d.ts +29 -0
- package/dist/components/ui/combobox/ComboboxAnchor.vue.d.ts +18 -0
- package/dist/components/ui/combobox/ComboboxEmpty.vue.d.ts +18 -0
- package/dist/components/ui/combobox/ComboboxGroup.vue.d.ts +19 -0
- package/dist/components/ui/combobox/ComboboxInput.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxItem.vue.d.ts +22 -0
- package/dist/components/ui/combobox/ComboboxItemIndicator.vue.d.ts +18 -0
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +32 -0
- package/dist/components/ui/combobox/ComboboxSeparator.vue.d.ts +18 -0
- package/dist/components/ui/combobox/ComboboxViewport.vue.d.ts +18 -0
- package/dist/components/ui/combobox/index.d.ts +11 -0
- package/dist/components/ui/command/Command.vue.d.ts +35 -0
- package/dist/components/ui/command/CommandDialog.vue.d.ts +18 -0
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +18 -0
- package/dist/components/ui/command/CommandGroup.vue.d.ts +19 -0
- package/dist/components/ui/command/CommandInput.vue.d.ts +8 -0
- package/dist/components/ui/command/CommandItem.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandList.vue.d.ts +30 -0
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +18 -0
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +17 -0
- package/dist/components/ui/command/index.d.ts +9 -0
- package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +18 -0
- package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +24 -0
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +30 -0
- package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +23 -0
- package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +19 -0
- package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +18 -0
- package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +22 -0
- package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +8 -0
- package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +17 -0
- package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +34 -0
- package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +19 -0
- package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +14 -0
- package/dist/components/ui/context-menu/index.d.ts +12 -0
- package/dist/components/ui/data-table/DataTable.vue.d.ts +81 -0
- package/dist/components/ui/data-table/DataTablePagination.vue.d.ts +13 -0
- package/dist/components/ui/data-table/types.d.ts +56 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +14 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +71 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +33 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +14 -0
- package/dist/components/ui/dialog/index.d.ts +9 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +53 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +43 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +18 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +17 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +17 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +8 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +18 -0
- package/dist/components/ui/drawer/index.d.ts +17 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +24 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +32 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +19 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +19 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +8 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +17 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +34 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +14 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +18 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +20 -0
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +14 -0
- package/dist/components/ui/hover-card/index.d.ts +3 -0
- package/dist/components/ui/index.d.ts +41 -0
- package/dist/components/ui/input/Input.vue.d.ts +13 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/label/Label.vue.d.ts +18 -0
- package/dist/components/ui/label/index.d.ts +1 -0
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +43 -0
- package/dist/components/ui/metric-pill/index.d.ts +1 -0
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +24 -0
- package/dist/components/ui/multi-select/index.d.ts +7 -0
- package/dist/components/ui/notification/Notification.vue.d.ts +16 -0
- package/dist/components/ui/notification/index.d.ts +1 -0
- package/dist/components/ui/number-field/NumberField.vue.d.ts +22 -0
- package/dist/components/ui/number-field/NumberFieldContent.vue.d.ts +17 -0
- package/dist/components/ui/number-field/NumberFieldDecrement.vue.d.ts +18 -0
- package/dist/components/ui/number-field/NumberFieldIncrement.vue.d.ts +18 -0
- package/dist/components/ui/number-field/NumberFieldInput.vue.d.ts +3 -0
- package/dist/components/ui/number-field/index.d.ts +5 -0
- package/dist/components/ui/popover/Popover.vue.d.ts +18 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +39 -0
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +14 -0
- package/dist/components/ui/popover/index.d.ts +3 -0
- package/dist/components/ui/progress/Progress.vue.d.ts +111 -0
- package/dist/components/ui/progress/index.d.ts +2 -0
- package/dist/components/ui/radio-group/RadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/radio-group/RadioGroupItem.vue.d.ts +8 -0
- package/dist/components/ui/radio-group/index.d.ts +2 -0
- package/dist/components/ui/section/Section.vue.d.ts +73 -0
- package/dist/components/ui/section/index.d.ts +1 -0
- package/dist/components/ui/select/Select.vue.d.ts +21 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +30 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +21 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +8 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +14 -0
- package/dist/components/ui/select/index.d.ts +10 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +9 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/sheet/Sheet.vue.d.ts +18 -0
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +14 -0
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +53 -0
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +18 -0
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +17 -0
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +17 -0
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +18 -0
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +14 -0
- package/dist/components/ui/sheet/index.d.ts +13 -0
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +32 -0
- package/dist/components/ui/skeleton/index.d.ts +1 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +26 -0
- package/dist/components/ui/slider/index.d.ts +31 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +12 -0
- package/dist/components/ui/switch/index.d.ts +1 -0
- package/dist/components/ui/table/Table.vue.d.ts +17 -0
- package/dist/components/ui/table/TableBody.vue.d.ts +17 -0
- package/dist/components/ui/table/TableCaption.vue.d.ts +17 -0
- package/dist/components/ui/table/TableCell.vue.d.ts +17 -0
- package/dist/components/ui/table/TableEmpty.vue.d.ts +20 -0
- package/dist/components/ui/table/TableHead.vue.d.ts +17 -0
- package/dist/components/ui/table/TableHeader.vue.d.ts +17 -0
- package/dist/components/ui/table/TableRow.vue.d.ts +17 -0
- package/dist/components/ui/table/index.d.ts +8 -0
- package/dist/components/ui/tabs/Tabs.vue.d.ts +19 -0
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +8 -0
- package/dist/components/ui/tabs/TabsList.vue.d.ts +18 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +18 -0
- package/dist/components/ui/tabs/index.d.ts +5 -0
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +28 -0
- package/dist/components/ui/tags-input/TagsInputInput.vue.d.ts +8 -0
- package/dist/components/ui/tags-input/TagsInputItem.vue.d.ts +18 -0
- package/dist/components/ui/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
- package/dist/components/ui/tags-input/TagsInputItemText.vue.d.ts +8 -0
- package/dist/components/ui/tags-input/index.d.ts +5 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +13 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/toast/Toast.vue.d.ts +104 -0
- package/dist/components/ui/toast/ToastAction.vue.d.ts +18 -0
- package/dist/components/ui/toast/ToastClose.vue.d.ts +8 -0
- package/dist/components/ui/toast/ToastDescription.vue.d.ts +18 -0
- package/dist/components/ui/toast/ToastTitle.vue.d.ts +18 -0
- package/dist/components/ui/toast/Toaster.vue.d.ts +3 -0
- package/dist/components/ui/toast/index.d.ts +8 -0
- package/dist/components/ui/toast/use-toast.d.ts +168 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +29 -0
- package/dist/components/ui/toggle/index.d.ts +26 -0
- package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +25 -0
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
- package/dist/components/ui/toggle-group/index.d.ts +2 -0
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +21 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +18 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +26 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +14 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/components/ui/tooltip/index.d.ts +4 -0
- package/dist/composables/dark/index.d.ts +1 -0
- package/dist/composables/dark/useGlobalDark.d.ts +7 -0
- package/dist/composables/dom/index.d.ts +6 -0
- package/dist/composables/dom/useBreakpoint.d.ts +38 -0
- package/dist/composables/dom/useClipboard.d.ts +45 -0
- package/dist/composables/dom/useResizeObserver.d.ts +50 -0
- package/dist/composables/dom/useTokenColor.d.ts +27 -0
- package/dist/composables/dom/useTouchGate.d.ts +18 -0
- package/dist/composables/dom/useViewportReady.d.ts +87 -0
- package/dist/composables/glass/index.d.ts +1 -0
- package/dist/composables/glass/useGlassRenderer.d.ts +37 -0
- package/dist/composables/glass/webgl/frostShader.d.ts +27 -0
- package/dist/composables/index.d.ts +9 -0
- package/dist/composables/keyboard/index.d.ts +1 -0
- package/dist/composables/keyboard/useKeyboardShortcuts.d.ts +33 -0
- package/dist/composables/motion/constants.d.ts +19 -0
- package/dist/composables/motion/index.d.ts +14 -0
- package/dist/composables/motion/installDarkModeSync.d.ts +1 -0
- package/dist/composables/motion/useAnimatedNumber.d.ts +40 -0
- package/dist/composables/motion/useAnimatedNumberMap.d.ts +29 -0
- package/dist/composables/motion/useIntersectionPause.d.ts +33 -0
- package/dist/composables/motion/useNumericTransition.d.ts +32 -0
- package/dist/composables/motion/useRAFLoop.d.ts +43 -0
- package/dist/composables/motion/useScrollProgress.d.ts +23 -0
- package/dist/composables/motion/useSpring.d.ts +66 -0
- package/dist/composables/motion/useSpringMount.d.ts +52 -0
- package/dist/composables/motion/useSpringOrchestrator.d.ts +15 -0
- package/dist/composables/motion/useSpringPress.d.ts +46 -0
- package/dist/composables/motion/useStagger.d.ts +50 -0
- package/dist/composables/motion/useStaggerReveal.d.ts +22 -0
- package/dist/composables/reactive/index.d.ts +2 -0
- package/dist/composables/reactive/useInterval.d.ts +24 -0
- package/dist/composables/reactive/useTimer.d.ts +24 -0
- package/dist/composables/sidebar/index.d.ts +7 -0
- package/dist/composables/sidebar/types.d.ts +44 -0
- package/dist/composables/sidebar/useScrollTracker.d.ts +12 -0
- package/dist/composables/sidebar/useSidebarFollow.d.ts +16 -0
- package/dist/composables/sidebar/useSidebarState.d.ts +39 -0
- package/dist/composables/sidebar/useTreeIndex.d.ts +37 -0
- package/dist/composables/sortable/index.d.ts +1 -0
- package/dist/composables/sortable/useSortable.d.ts +149 -0
- package/dist/configurator.d.ts +1 -0
- package/dist/configurator.js +2 -0
- package/dist/confirm-dialog.d.ts +1 -0
- package/dist/confirm-dialog.js +69 -0
- package/dist/context-menu.d.ts +1 -0
- package/dist/context-menu.js +3 -0
- package/dist/controls.d.ts +1 -0
- package/dist/controls.js +51 -0
- package/dist/createLucideIcon-Bn9a1b70.js +43 -0
- package/dist/dark.d.ts +1 -0
- package/dist/dark.js +2 -0
- package/dist/data-table.d.ts +1 -0
- package/dist/data-table.js +2 -0
- package/dist/dialog.d.ts +1 -0
- package/dist/dialog.js +3 -0
- package/dist/disco-glyph.d.ts +1 -0
- package/dist/disco-glyph.js +2 -0
- package/dist/dock.d.ts +1 -0
- package/dist/dock.js +548 -0
- package/dist/dockContext-BDGSrwsV.js +16 -0
- package/dist/dom.d.ts +1 -0
- package/dist/dom.js +4 -0
- package/dist/dropdown-menu-2K-SGkZU.js +363 -0
- package/dist/dropdown-menu.d.ts +1 -0
- package/dist/dropdown-menu.js +2 -0
- package/dist/expandable-container.d.ts +1 -0
- package/dist/expandable-container.js +64 -0
- package/dist/fonts/README.md +95 -0
- package/dist/fonts/fira-code/OFL.txt +93 -0
- package/dist/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
- package/dist/fonts/fira-code/fira-code-latin.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans/OFL.txt +93 -0
- package/dist/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
- package/dist/forms.d.ts +3 -0
- package/dist/forms.js +311 -0
- package/dist/glass-carousel.d.ts +1 -0
- package/dist/glass-carousel.js +207 -0
- package/dist/glass-panel.d.ts +1 -0
- package/dist/glass-panel.js +44 -0
- package/dist/glass-ui.css +2 -1
- package/dist/glass-ui.js +1174 -10021
- package/dist/glyph-face.d.ts +1 -0
- package/dist/glyph-face.js +3 -0
- package/dist/header-ribbon.d.ts +1 -0
- package/dist/header-ribbon.js +63 -0
- package/dist/hover-card.d.ts +1 -0
- package/dist/hover-card.js +2 -0
- package/dist/hover-popover.d.ts +1 -0
- package/dist/hover-popover.js +2 -0
- package/dist/icon-tooltip.d.ts +1 -0
- package/dist/icon-tooltip.js +2 -0
- package/dist/index.d.ts +49 -6619
- package/dist/infinite-scroll.d.ts +2 -0
- package/dist/infinite-scroll.js +73 -0
- package/dist/instrument-chassis.d.ts +1 -0
- package/dist/instrument-chassis.js +2 -0
- package/dist/instrument-rail.d.ts +1 -0
- package/dist/instrument-rail.js +2 -0
- package/dist/keyboard.d.ts +1 -0
- package/dist/keyboard.js +2 -0
- package/dist/keys-DVkcUktU.js +11 -0
- package/dist/label.d.ts +1 -0
- package/dist/label.js +2 -0
- package/dist/labeled-field.d.ts +1 -0
- package/dist/labeled-field.js +194 -0
- package/dist/menuItemVariants-B2nDL7zH.js +30 -0
- package/dist/metric-badge.d.ts +1 -0
- package/dist/metric-badge.js +2 -0
- package/dist/metric-cell.d.ts +1 -0
- package/dist/metric-cell.js +54 -0
- package/dist/metric-stack.d.ts +1 -0
- package/dist/metric-stack.js +107 -0
- package/dist/minimize-2-LsCJ_eNt.js +38 -0
- package/dist/motion.d.ts +1 -0
- package/dist/motion.js +286 -0
- package/dist/notification.d.ts +1 -0
- package/dist/notification.js +2 -0
- package/dist/paper-backdrop.d.ts +1 -0
- package/dist/paper-backdrop.js +2 -0
- package/dist/popover.d.ts +1 -0
- package/dist/popover.js +2 -0
- package/dist/presets-BMzCDrmR.js +71 -0
- package/dist/progress.d.ts +1 -0
- package/dist/progress.js +2 -0
- package/dist/pulse.d.ts +1 -0
- package/dist/pulse.js +54 -0
- package/dist/reactive.d.ts +1 -0
- package/dist/reactive.js +3 -0
- package/dist/responsive-tabs.d.ts +1 -0
- package/dist/responsive-tabs.js +89 -0
- package/dist/scrolling-text.d.ts +1 -0
- package/dist/scrolling-text.js +2 -0
- package/dist/search-ocd8tmL9.js +12 -0
- package/dist/search.d.ts +1 -0
- package/dist/search.js +425 -0
- package/dist/select.d.ts +1 -0
- package/dist/select.js +4 -0
- package/dist/separator.d.ts +1 -0
- package/dist/separator.js +2 -0
- package/dist/sheet-CLVkb3AO.js +214 -0
- package/dist/sheet.d.ts +1 -0
- package/dist/sheet.js +2 -0
- package/dist/sidebar.d.ts +1 -0
- package/dist/sidebar.js +304 -0
- package/dist/slider-BQaLYFLh.js +133 -0
- package/dist/slider.d.ts +1 -0
- package/dist/slider.js +2 -0
- package/dist/sortable-list.d.ts +1 -0
- package/dist/sortable-list.js +85 -0
- package/dist/stacked-icons.d.ts +1 -0
- package/dist/stacked-icons.js +83 -0
- package/dist/status-dot.d.ts +1 -0
- package/dist/status-dot.js +58 -0
- package/dist/styles/animations.css +298 -0
- package/dist/styles/cards.css +44 -0
- package/dist/styles/disco-glyph.css +26 -0
- package/dist/styles/dock.css +1085 -0
- package/dist/styles/drawer.css +138 -0
- package/dist/styles/floating-panel.css +34 -0
- package/dist/styles/fonts.css +143 -0
- package/dist/styles/glass.css +277 -0
- package/dist/styles/glyph-face.css +92 -0
- package/dist/styles/hover-popover.css +44 -0
- package/dist/styles/index.css +112 -0
- package/dist/styles/instrument-chassis.css +313 -0
- package/dist/styles/instrument-rail.css +128 -0
- package/dist/styles/paper.css +68 -0
- package/dist/styles/theme.css +358 -0
- package/dist/styles/tokens.css +1495 -0
- package/dist/styles/transitions.css +245 -0
- package/dist/styles/typography.css +553 -0
- package/dist/styles/utilities.css +893 -0
- package/dist/tabs.d.ts +1 -0
- package/dist/tabs.js +206 -0
- package/dist/timeline.d.ts +1 -0
- package/dist/timeline.js +466 -0
- package/dist/toast.d.ts +1 -0
- package/dist/toast.js +2 -0
- package/dist/toggle-chip.d.ts +1 -0
- package/dist/toggle-chip.js +71 -0
- package/dist/toggle-group.d.ts +1 -0
- package/dist/toggle-group.js +2 -0
- package/dist/tokens.d.ts +53 -0
- package/dist/tokens.js +16 -0
- package/dist/tooltip.d.ts +1 -0
- package/dist/tooltip.js +2 -0
- package/dist/typewriter.d.ts +1 -0
- package/dist/typewriter.js +860 -0
- package/dist/useAnimatedNumber-DcvTR9B4.js +51 -0
- package/dist/useBreakpoint-BHlX-MhR.js +134 -0
- package/dist/useConfiguratorState-BlaevW0S.js +266 -0
- package/dist/useGlassRenderer-DMDdMH55.js +69 -0
- package/dist/useGlobalDark-PMiP5Jku.js +24 -0
- package/dist/useIntersectionPause-CXYfYg_C.js +39 -0
- package/dist/useInterval-COlTCeVa.js +18 -0
- package/dist/useKeyboardShortcuts-B1ev1YEC.js +99 -0
- package/dist/useResizeObserver-F4aRR4Cj.js +44 -0
- package/dist/useSortable-Ck0rBJ4g.js +175 -0
- package/dist/useSpringMount-BTRBNzXP.js +113 -0
- package/dist/useTimer-lp5NlH4w.js +20 -0
- package/dist/useTouchGate-BhhEMlwJ.js +84 -0
- package/dist/utils/cn.d.ts +27 -0
- package/dist/x-cdWAmO-q.js +10 -0
- package/package.json +514 -26
- package/src/fonts/README.md +95 -0
- package/src/fonts/fira-code/OFL.txt +93 -0
- package/src/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
- package/src/fonts/fira-code/fira-code-latin.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/OFL.txt +93 -0
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
- package/src/styles/animations.css +172 -107
- package/src/styles/cards.css +30 -52
- package/src/styles/disco-glyph.css +26 -0
- package/src/styles/dock.css +991 -127
- package/src/styles/drawer.css +138 -0
- package/src/styles/floating-panel.css +22 -37
- package/src/styles/fonts.css +143 -0
- package/src/styles/glass.css +129 -126
- package/src/styles/glyph-face.css +92 -0
- package/src/styles/hover-popover.css +44 -0
- package/src/styles/index.css +85 -3
- package/src/styles/instrument-chassis.css +313 -0
- package/src/styles/instrument-rail.css +128 -0
- package/src/styles/paper.css +68 -0
- package/src/styles/theme.css +292 -72
- package/src/styles/tokens.css +1345 -183
- package/src/styles/transitions.css +227 -208
- package/src/styles/typography.css +498 -222
- package/src/styles/utilities.css +612 -437
- package/src/components/custom/aurora/Aurora.vue +0 -34
- package/src/components/custom/aurora/composables/color.ts +0 -122
- package/src/components/custom/aurora/composables/useAurora.ts +0 -352
- package/src/components/custom/aurora/index.ts +0 -8
- package/src/components/custom/confirm-dialog/ConfirmDialog.vue +0 -88
- package/src/components/custom/controls/DarkModeToggle.vue +0 -96
- package/src/components/custom/dock/DockLayerGroup.vue +0 -21
- package/src/components/custom/dock/DockPopover.vue +0 -263
- package/src/components/custom/dock/GlassDock.vue +0 -276
- package/src/components/custom/dock/composables/index.ts +0 -16
- package/src/components/custom/dock/composables/isTeleportedTarget.ts +0 -19
- package/src/components/custom/dock/composables/useDockActionBar.ts +0 -33
- package/src/components/custom/dock/composables/useDockState.ts +0 -314
- package/src/components/custom/dock/composables/useDockTransition.ts +0 -146
- package/src/components/custom/dock/composables/useLayerTransition.ts +0 -135
- package/src/components/custom/dock/composables/usePopupMutex.ts +0 -83
- package/src/components/custom/dock/index.ts +0 -9
- package/src/components/custom/expandable-container/ExpandableContainer.vue +0 -64
- package/src/components/custom/glass-panel/GlassPanel.vue +0 -98
- package/src/components/custom/glass-panel/index.ts +0 -2
- package/src/components/custom/icon-tooltip/IconTooltip.vue +0 -20
- package/src/components/custom/index.ts +0 -15
- package/src/components/custom/infinite-scroll/InfiniteScroll.vue +0 -55
- package/src/components/custom/infinite-scroll/composables/types.ts +0 -23
- package/src/components/custom/infinite-scroll/composables/useInfiniteScroll.ts +0 -73
- package/src/components/custom/labeled-field/LabeledInput.vue +0 -29
- package/src/components/custom/labeled-field/LabeledSelect.vue +0 -59
- package/src/components/custom/labeled-field/LabeledSlider.vue +0 -32
- package/src/components/custom/labeled-field/LabeledSwitch.vue +0 -27
- package/src/components/custom/labeled-field/index.ts +0 -4
- package/src/components/custom/metaballs/MetaballCanvas.vue +0 -23
- package/src/components/custom/metaballs/index.ts +0 -4
- package/src/components/custom/metaballs/shaders.ts +0 -63
- package/src/components/custom/metaballs/types.ts +0 -29
- package/src/components/custom/metaballs/useMetaballs.ts +0 -252
- package/src/components/custom/search/FuzzySearch.vue +0 -589
- package/src/components/custom/search/SearchBar.vue +0 -44
- package/src/components/custom/search/composables/fuzzySearchIndex.ts +0 -224
- package/src/components/custom/search/composables/types.ts +0 -34
- package/src/components/custom/search/composables/useFuzzySearch.ts +0 -115
- package/src/components/custom/sidebar/ProgressiveSidebar.vue +0 -256
- package/src/components/custom/sidebar/composables/index.ts +0 -6
- package/src/components/custom/sidebar/composables/useScrollTracker.ts +0 -242
- package/src/components/custom/sidebar/composables/useSidebarFollow.ts +0 -247
- package/src/components/custom/sidebar/composables/useSidebarState.ts +0 -72
- package/src/components/custom/sidebar/composables/useTreeIndex.ts +0 -152
- package/src/components/custom/sidebar/index.ts +0 -15
- package/src/components/custom/sidebar/types.ts +0 -50
- package/src/components/custom/tabs/BouncyTabs.vue +0 -39
- package/src/components/custom/tabs/BouncyToggle.vue +0 -352
- package/src/components/custom/tabs/UnderlineTabs.vue +0 -115
- package/src/components/custom/timeline/GlassTimeline.vue +0 -174
- package/src/components/custom/timeline/index.ts +0 -1
- package/src/components/custom/typewriter/TypewriterText.vue +0 -239
- package/src/components/custom/typewriter/composables/useTypewriter.ts +0 -413
- package/src/components/custom/typewriter/types.ts +0 -159
- package/src/components/custom/typewriter/utils/keyboard.ts +0 -213
- package/src/components/custom/typewriter/utils/pausePatterns.ts +0 -55
- package/src/components/custom/typewriter/utils/timing.ts +0 -104
- package/src/components/custom/typewriter/utils/typoStateMachine.ts +0 -197
- package/src/components/index.ts +0 -2
- package/src/components/ui/accordion/Accordion.vue +0 -19
- package/src/components/ui/accordion/AccordionContent.vue +0 -24
- package/src/components/ui/accordion/AccordionItem.vue +0 -24
- package/src/components/ui/accordion/AccordionTrigger.vue +0 -39
- package/src/components/ui/accordion/index.ts +0 -4
- package/src/components/ui/alert/Alert.vue +0 -20
- package/src/components/ui/alert/AlertDescription.vue +0 -17
- package/src/components/ui/alert/AlertTitle.vue +0 -17
- package/src/components/ui/alert/index.ts +0 -23
- package/src/components/ui/avatar/Avatar.vue +0 -21
- package/src/components/ui/avatar/AvatarFallback.vue +0 -11
- package/src/components/ui/avatar/AvatarImage.vue +0 -9
- package/src/components/ui/avatar/index.ts +0 -24
- package/src/components/ui/badge/Badge.vue +0 -16
- package/src/components/ui/badge/index.ts +0 -25
- package/src/components/ui/button/Button.vue +0 -26
- package/src/components/ui/button/index.ts +0 -43
- package/src/components/ui/card/Card.vue +0 -28
- package/src/components/ui/card/CardContent.vue +0 -14
- package/src/components/ui/card/CardDescription.vue +0 -14
- package/src/components/ui/card/CardFooter.vue +0 -14
- package/src/components/ui/card/CardHeader.vue +0 -14
- package/src/components/ui/card/CardTitle.vue +0 -21
- package/src/components/ui/card/index.ts +0 -6
- package/src/components/ui/carousel/Carousel.vue +0 -53
- package/src/components/ui/carousel/CarouselContent.vue +0 -35
- package/src/components/ui/carousel/CarouselItem.vue +0 -24
- package/src/components/ui/carousel/CarouselNext.vue +0 -40
- package/src/components/ui/carousel/CarouselPrevious.vue +0 -40
- package/src/components/ui/carousel/index.ts +0 -10
- package/src/components/ui/carousel/interface.ts +0 -26
- package/src/components/ui/carousel/useCarousel.ts +0 -56
- package/src/components/ui/checkbox/Checkbox.vue +0 -33
- package/src/components/ui/checkbox/index.ts +0 -1
- package/src/components/ui/collapsible/Collapsible.vue +0 -15
- package/src/components/ui/collapsible/CollapsibleContent.vue +0 -11
- package/src/components/ui/collapsible/CollapsibleTrigger.vue +0 -11
- package/src/components/ui/collapsible/index.ts +0 -3
- package/src/components/ui/combobox/Combobox.vue +0 -17
- package/src/components/ui/combobox/ComboboxAnchor.vue +0 -23
- package/src/components/ui/combobox/ComboboxEmpty.vue +0 -21
- package/src/components/ui/combobox/ComboboxGroup.vue +0 -27
- package/src/components/ui/combobox/ComboboxInput.vue +0 -41
- package/src/components/ui/combobox/ComboboxItem.vue +0 -24
- package/src/components/ui/combobox/ComboboxItemIndicator.vue +0 -23
- package/src/components/ui/combobox/ComboboxList.vue +0 -29
- package/src/components/ui/combobox/ComboboxSeparator.vue +0 -21
- package/src/components/ui/combobox/ComboboxViewport.vue +0 -23
- package/src/components/ui/combobox/index.ts +0 -12
- package/src/components/ui/command/Command.vue +0 -30
- package/src/components/ui/command/CommandDialog.vue +0 -21
- package/src/components/ui/command/CommandEmpty.vue +0 -20
- package/src/components/ui/command/CommandGroup.vue +0 -29
- package/src/components/ui/command/CommandInput.vue +0 -33
- package/src/components/ui/command/CommandItem.vue +0 -26
- package/src/components/ui/command/CommandList.vue +0 -27
- package/src/components/ui/command/CommandSeparator.vue +0 -23
- package/src/components/ui/command/CommandShortcut.vue +0 -14
- package/src/components/ui/command/index.ts +0 -9
- package/src/components/ui/context-menu/ContextMenu.vue +0 -15
- package/src/components/ui/context-menu/ContextMenuCheckboxItem.vue +0 -40
- package/src/components/ui/context-menu/ContextMenuContent.vue +0 -36
- package/src/components/ui/context-menu/ContextMenuGroup.vue +0 -11
- package/src/components/ui/context-menu/ContextMenuItem.vue +0 -34
- package/src/components/ui/context-menu/ContextMenuLabel.vue +0 -25
- package/src/components/ui/context-menu/ContextMenuPortal.vue +0 -11
- package/src/components/ui/context-menu/ContextMenuRadioGroup.vue +0 -19
- package/src/components/ui/context-menu/ContextMenuRadioItem.vue +0 -40
- package/src/components/ui/context-menu/ContextMenuSeparator.vue +0 -20
- package/src/components/ui/context-menu/ContextMenuShortcut.vue +0 -14
- package/src/components/ui/context-menu/ContextMenuSub.vue +0 -19
- package/src/components/ui/context-menu/ContextMenuSubContent.vue +0 -35
- package/src/components/ui/context-menu/ContextMenuSubTrigger.vue +0 -34
- package/src/components/ui/context-menu/ContextMenuTrigger.vue +0 -13
- package/src/components/ui/context-menu/index.ts +0 -14
- package/src/components/ui/data-table/DataTable.vue +0 -167
- package/src/components/ui/data-table/DataTablePagination.vue +0 -112
- package/src/components/ui/data-table/types.ts +0 -48
- package/src/components/ui/dialog/Dialog.vue +0 -14
- package/src/components/ui/dialog/DialogClose.vue +0 -11
- package/src/components/ui/dialog/DialogContent.vue +0 -61
- package/src/components/ui/dialog/DialogDescription.vue +0 -24
- package/src/components/ui/dialog/DialogFooter.vue +0 -19
- package/src/components/ui/dialog/DialogHeader.vue +0 -16
- package/src/components/ui/dialog/DialogScrollContent.vue +0 -65
- package/src/components/ui/dialog/DialogTitle.vue +0 -29
- package/src/components/ui/dialog/DialogTrigger.vue +0 -11
- package/src/components/ui/dialog/index.ts +0 -9
- package/src/components/ui/drawer/Drawer.vue +0 -19
- package/src/components/ui/drawer/DrawerContent.vue +0 -28
- package/src/components/ui/drawer/DrawerDescription.vue +0 -20
- package/src/components/ui/drawer/DrawerFooter.vue +0 -14
- package/src/components/ui/drawer/DrawerHeader.vue +0 -14
- package/src/components/ui/drawer/DrawerOverlay.vue +0 -18
- package/src/components/ui/drawer/DrawerTitle.vue +0 -20
- package/src/components/ui/drawer/index.ts +0 -8
- package/src/components/ui/dropdown-menu/DropdownMenu.vue +0 -14
- package/src/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue +0 -40
- package/src/components/ui/dropdown-menu/DropdownMenuContent.vue +0 -44
- package/src/components/ui/dropdown-menu/DropdownMenuGroup.vue +0 -11
- package/src/components/ui/dropdown-menu/DropdownMenuItem.vue +0 -28
- package/src/components/ui/dropdown-menu/DropdownMenuLabel.vue +0 -24
- package/src/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue +0 -19
- package/src/components/ui/dropdown-menu/DropdownMenuRadioItem.vue +0 -40
- package/src/components/ui/dropdown-menu/DropdownMenuSeparator.vue +0 -22
- package/src/components/ui/dropdown-menu/DropdownMenuShortcut.vue +0 -14
- package/src/components/ui/dropdown-menu/DropdownMenuSub.vue +0 -19
- package/src/components/ui/dropdown-menu/DropdownMenuSubContent.vue +0 -36
- package/src/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue +0 -33
- package/src/components/ui/dropdown-menu/DropdownMenuTrigger.vue +0 -13
- package/src/components/ui/dropdown-menu/index.ts +0 -16
- package/src/components/ui/hover-card/HoverCard.vue +0 -14
- package/src/components/ui/hover-card/HoverCardContent.vue +0 -41
- package/src/components/ui/hover-card/HoverCardTrigger.vue +0 -11
- package/src/components/ui/hover-card/index.ts +0 -3
- package/src/components/ui/index.ts +0 -41
- package/src/components/ui/input/Input.vue +0 -24
- package/src/components/ui/input/index.ts +0 -1
- package/src/components/ui/label/Label.vue +0 -27
- package/src/components/ui/label/index.ts +0 -1
- package/src/components/ui/multi-select/MultiSelect.vue +0 -141
- package/src/components/ui/multi-select/index.ts +0 -7
- package/src/components/ui/notification/Notification.vue +0 -85
- package/src/components/ui/notification/index.ts +0 -1
- package/src/components/ui/number-field/NumberField.vue +0 -23
- package/src/components/ui/number-field/NumberFieldContent.vue +0 -14
- package/src/components/ui/number-field/NumberFieldDecrement.vue +0 -25
- package/src/components/ui/number-field/NumberFieldIncrement.vue +0 -25
- package/src/components/ui/number-field/NumberFieldInput.vue +0 -8
- package/src/components/ui/number-field/index.ts +0 -5
- package/src/components/ui/popover/Popover.vue +0 -15
- package/src/components/ui/popover/PopoverContent.vue +0 -61
- package/src/components/ui/popover/PopoverTrigger.vue +0 -11
- package/src/components/ui/popover/index.ts +0 -3
- package/src/components/ui/progress/Progress.vue +0 -39
- package/src/components/ui/progress/index.ts +0 -1
- package/src/components/ui/radio-group/RadioGroup.vue +0 -25
- package/src/components/ui/radio-group/RadioGroupItem.vue +0 -39
- package/src/components/ui/radio-group/index.ts +0 -2
- package/src/components/ui/scroll-area/ScrollArea.vue +0 -29
- package/src/components/ui/scroll-area/ScrollBar.vue +0 -30
- package/src/components/ui/scroll-area/index.ts +0 -2
- package/src/components/ui/scroll-pane/ScrollPane.vue +0 -25
- package/src/components/ui/scroll-pane/ScrollPaneHeader.vue +0 -75
- package/src/components/ui/scroll-pane/index.ts +0 -2
- package/src/components/ui/select/Select.vue +0 -15
- package/src/components/ui/select/SelectContent.vue +0 -57
- package/src/components/ui/select/SelectGroup.vue +0 -19
- package/src/components/ui/select/SelectItem.vue +0 -47
- package/src/components/ui/select/SelectItemText.vue +0 -11
- package/src/components/ui/select/SelectLabel.vue +0 -13
- package/src/components/ui/select/SelectScrollDownButton.vue +0 -24
- package/src/components/ui/select/SelectScrollUpButton.vue +0 -24
- package/src/components/ui/select/SelectSeparator.vue +0 -17
- package/src/components/ui/select/SelectTrigger.vue +0 -45
- package/src/components/ui/select/SelectValue.vue +0 -11
- package/src/components/ui/select/index.ts +0 -11
- package/src/components/ui/separator/Separator.vue +0 -35
- package/src/components/ui/separator/index.ts +0 -1
- package/src/components/ui/sheet/Sheet.vue +0 -14
- package/src/components/ui/sheet/SheetClose.vue +0 -11
- package/src/components/ui/sheet/SheetContent.vue +0 -56
- package/src/components/ui/sheet/SheetDescription.vue +0 -22
- package/src/components/ui/sheet/SheetFooter.vue +0 -19
- package/src/components/ui/sheet/SheetHeader.vue +0 -16
- package/src/components/ui/sheet/SheetTitle.vue +0 -22
- package/src/components/ui/sheet/SheetTrigger.vue +0 -11
- package/src/components/ui/sheet/index.ts +0 -31
- package/src/components/ui/skeleton/Skeleton.vue +0 -14
- package/src/components/ui/skeleton/index.ts +0 -1
- package/src/components/ui/slider/Slider.vue +0 -67
- package/src/components/ui/slider/index.ts +0 -1
- package/src/components/ui/switch/Switch.vue +0 -37
- package/src/components/ui/switch/index.ts +0 -1
- package/src/components/ui/table/Table.vue +0 -16
- package/src/components/ui/table/TableBody.vue +0 -14
- package/src/components/ui/table/TableCaption.vue +0 -14
- package/src/components/ui/table/TableCell.vue +0 -14
- package/src/components/ui/table/TableEmpty.vue +0 -39
- package/src/components/ui/table/TableFooter.vue +0 -16
- package/src/components/ui/table/TableHead.vue +0 -21
- package/src/components/ui/table/TableHeader.vue +0 -14
- package/src/components/ui/table/TableRow.vue +0 -21
- package/src/components/ui/table/index.ts +0 -9
- package/src/components/ui/tabs/Tabs.vue +0 -15
- package/src/components/ui/tabs/TabsContent.vue +0 -22
- package/src/components/ui/tabs/TabsIndicator.vue +0 -22
- package/src/components/ui/tabs/TabsList.vue +0 -25
- package/src/components/ui/tabs/TabsTrigger.vue +0 -29
- package/src/components/ui/tabs/index.ts +0 -5
- package/src/components/ui/tags-input/TagsInput.vue +0 -22
- package/src/components/ui/tags-input/TagsInputInput.vue +0 -19
- package/src/components/ui/tags-input/TagsInputItem.vue +0 -22
- package/src/components/ui/tags-input/TagsInputItemDelete.vue +0 -24
- package/src/components/ui/tags-input/TagsInputItemText.vue +0 -19
- package/src/components/ui/tags-input/index.ts +0 -5
- package/src/components/ui/textarea/Textarea.vue +0 -24
- package/src/components/ui/textarea/index.ts +0 -1
- package/src/components/ui/toast/Toast.vue +0 -57
- package/src/components/ui/toast/ToastAction.vue +0 -30
- package/src/components/ui/toast/ToastClose.vue +0 -31
- package/src/components/ui/toast/ToastDescription.vue +0 -25
- package/src/components/ui/toast/ToastTitle.vue +0 -25
- package/src/components/ui/toast/Toaster.vue +0 -31
- package/src/components/ui/toast/index.ts +0 -8
- package/src/components/ui/toast/use-toast.ts +0 -136
- package/src/components/ui/toggle/Toggle.vue +0 -35
- package/src/components/ui/toggle/index.ts +0 -27
- package/src/components/ui/toggle-group/ToggleGroup.vue +0 -34
- package/src/components/ui/toggle-group/ToggleGroupItem.vue +0 -35
- package/src/components/ui/toggle-group/index.ts +0 -2
- package/src/components/ui/tooltip/Tooltip.vue +0 -14
- package/src/components/ui/tooltip/TooltipContent.vue +0 -31
- package/src/components/ui/tooltip/TooltipProvider.vue +0 -11
- package/src/components/ui/tooltip/TooltipTrigger.vue +0 -11
- package/src/components/ui/tooltip/index.ts +0 -4
- package/src/composables/glass/index.ts +0 -8
- package/src/composables/glass/useGlassRenderer.ts +0 -252
- package/src/composables/glass/webgl/frostShader.ts +0 -221
- package/src/composables/glass/webgpu/glassShader.wgsl +0 -173
- package/src/composables/index.ts +0 -32
- package/src/composables/infinite-scroll/index.ts +0 -2
- package/src/composables/infinite-scroll/types.ts +0 -25
- package/src/composables/infinite-scroll/useInfiniteScroll.ts +0 -101
- package/src/composables/interaction/index.ts +0 -5
- package/src/composables/interaction/useHeightTransition.ts +0 -82
- package/src/composables/interaction/useHoverPopover.ts +0 -64
- package/src/composables/interaction/useHoverToggle.ts +0 -103
- package/src/composables/interaction/useLeaveTimer.ts +0 -17
- package/src/composables/interaction/useTouchGate.ts +0 -207
- package/src/composables/pagination/index.ts +0 -2
- package/src/composables/pagination/useOffsetPagination.ts +0 -70
- package/src/composables/prng.ts +0 -32
- package/src/composables/useCharSplit.ts +0 -31
- package/src/composables/useClipboard.ts +0 -46
- package/src/composables/useGlobalDark.ts +0 -61
- package/src/composables/useKeyboardShortcuts.ts +0 -205
- package/src/composables/useWatercolorBlob.ts +0 -136
- package/src/composables/virtual/index.ts +0 -22
- package/src/composables/virtual/useVirtualSectionWindow.ts +0 -338
- package/src/composables/virtual/useWindowedStore.ts +0 -86
- package/src/composables/virtual/virtualSectionLayout.ts +0 -212
- package/src/index.ts +0 -9
- package/src/styles/scroll-pane.css +0 -10
- package/src/utils/cn.ts +0 -6
- /package/{src/components/custom/confirm-dialog/index.ts → dist/components/custom/confirm-dialog/index.d.ts} +0 -0
- /package/{src/components/custom/controls/index.ts → dist/components/custom/controls/index.d.ts} +0 -0
- /package/{src/components/custom/expandable-container/index.ts → dist/components/custom/expandable-container/index.d.ts} +0 -0
- /package/{src/components/custom/icon-tooltip/index.ts → dist/components/custom/icon-tooltip/index.d.ts} +0 -0
- /package/{src/components/custom/infinite-scroll/composables/index.ts → dist/components/custom/infinite-scroll/composables/index.d.ts} +0 -0
- /package/{src/components/custom/infinite-scroll/index.ts → dist/components/custom/infinite-scroll/index.d.ts} +0 -0
- /package/{src/components/custom/search/composables/index.ts → dist/components/custom/search/composables/index.d.ts} +0 -0
- /package/{src/components/custom/search/index.ts → dist/components/custom/search/index.d.ts} +0 -0
- /package/{src/components/custom/tabs/index.ts → dist/components/custom/tabs/index.d.ts} +0 -0
- /package/{src/components/custom/typewriter/composables/index.ts → dist/components/custom/typewriter/composables/index.d.ts} +0 -0
- /package/{src/components/custom/typewriter/index.ts → dist/components/custom/typewriter/index.d.ts} +0 -0
- /package/{src/components/ui/data-table/index.ts → dist/components/ui/data-table/index.d.ts} +0 -0
- /package/{src/utils/index.ts → dist/utils/index.d.ts} +0 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
type Variant = "active" | "paused" | "idle" | "error" | "custom";
|
|
3
|
+
type Size = "xs" | "sm" | "md";
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
variant?: Variant;
|
|
6
|
+
color?: string;
|
|
7
|
+
pulse?: boolean;
|
|
8
|
+
size?: Size;
|
|
9
|
+
label?: string;
|
|
10
|
+
class?: HTMLAttributes["class"];
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
size: Size;
|
|
14
|
+
variant: Variant;
|
|
15
|
+
pulse: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as StatusDot } from "./StatusDot.vue";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
export interface TabOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
options: TabOption[];
|
|
8
|
+
modelValue: string;
|
|
9
|
+
/** "default" = subtle muted slider; "pill" = solid foreground pill */
|
|
10
|
+
variant?: "default" | "pill";
|
|
11
|
+
/** Tab-row overflow — see `<BouncyToggle>`. */
|
|
12
|
+
overflow?: "none" | "scroll" | "auto";
|
|
13
|
+
class?: HTMLAttributes["class"];
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
overflow: "none" | "scroll" | "auto";
|
|
21
|
+
variant: "default" | "pill";
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
export interface ToggleOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
tooltip?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface BouncyToggleProps {
|
|
10
|
+
options: ToggleOption[];
|
|
11
|
+
modelValue: string | string[];
|
|
12
|
+
multiSelect?: boolean;
|
|
13
|
+
/** "default" = subtle muted slider; "pill" = solid foreground pill */
|
|
14
|
+
variant?: "default" | "pill";
|
|
15
|
+
/**
|
|
16
|
+
* Tab-row overflow handling.
|
|
17
|
+
* - `"none"` (default) — inline-grid with `1fr` tracks; tabs share width
|
|
18
|
+
* and clip when content exceeds the parent.
|
|
19
|
+
* - `"scroll"` — flex row with intrinsic-width tracks + `.scroll-fade-mask`
|
|
20
|
+
* + `.scrollbar-hidden`; tab text never truncates and overflowing tabs
|
|
21
|
+
* scroll horizontally with edge fades.
|
|
22
|
+
* - `"auto"` — flex row with intrinsic widths and a horizontal scroll
|
|
23
|
+
* fallback (no fade); useful when the parent already owns the affordance.
|
|
24
|
+
*/
|
|
25
|
+
overflow?: "none" | "scroll" | "auto";
|
|
26
|
+
class?: HTMLAttributes["class"];
|
|
27
|
+
}
|
|
28
|
+
declare var __VLS_19: {
|
|
29
|
+
option: ToggleOption;
|
|
30
|
+
active: boolean;
|
|
31
|
+
}, __VLS_27: {
|
|
32
|
+
option: ToggleOption;
|
|
33
|
+
active: boolean;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Slots = {} & {
|
|
36
|
+
option?: (props: typeof __VLS_19) => any;
|
|
37
|
+
} & {
|
|
38
|
+
option?: (props: typeof __VLS_27) => any;
|
|
39
|
+
};
|
|
40
|
+
declare const __VLS_base: import("vue").DefineComponent<BouncyToggleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"update:modelValue": (value: string | string[]) => any;
|
|
42
|
+
}, string, import("vue").PublicProps, Readonly<BouncyToggleProps> & Readonly<{
|
|
43
|
+
"onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
|
|
44
|
+
}>, {
|
|
45
|
+
overflow: "none" | "scroll" | "auto";
|
|
46
|
+
variant: "default" | "pill";
|
|
47
|
+
multiSelect: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
export interface TabOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
options: TabOption[];
|
|
8
|
+
modelValue: string;
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { TimelineSegment } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* <ContinuousTimeline> — ONE rounded-pill rail substrate with N
|
|
4
|
+
* absolute-positioned region children spanning prev-boundary →
|
|
5
|
+
* current-boundary. Internal variant SFC dispatched from
|
|
6
|
+
* <GlassTimeline variant="continuous">.
|
|
7
|
+
*
|
|
8
|
+
* AA.W1 / A4 §S-17 + AB.W2.T1+T4. Used by multi-phase progress UIs where
|
|
9
|
+
* the phases are conceptually one progression bar (speedtest ping →
|
|
10
|
+
* download → upload).
|
|
11
|
+
*
|
|
12
|
+
* AB.W2.T4 (A4 §nested-interactive — Option C): the progressbar rail and
|
|
13
|
+
* the interactive marker buttons are rendered as SIBLINGS, not as
|
|
14
|
+
* parent/child. `.continuous-track[role="progressbar"]` is a
|
|
15
|
+
* non-interactive aggregate-progress surface; `.continuous-markers
|
|
16
|
+
* ul[role="list"]` is the focusable marker overlay.
|
|
17
|
+
*
|
|
18
|
+
* AB.W2.T2 (A4 §B2.c): each marker button is wrapped in <HoverPopover>
|
|
19
|
+
* so hover surfaces a color-coded popover with the segment's
|
|
20
|
+
* `{ label, value, description, state }`. Consumers override the
|
|
21
|
+
* popover body via the scoped `#popoverContent` slot.
|
|
22
|
+
*
|
|
23
|
+
* AB.W2.T3 (A2 §B2.b): the `currentSegmentKey` prop stamps
|
|
24
|
+
* `data-current="true"` on the matching marker so consumers (panel /
|
|
25
|
+
* W3 raised-rivet styling) can distinguish the active phase from the
|
|
26
|
+
* transient hovered phase. Hover affects the popover only; the
|
|
27
|
+
* underlying current marker survives hover-leave.
|
|
28
|
+
*
|
|
29
|
+
* NON-SCOPED <style> CONTRACT (O.W3 Lane A — Rβ §3.1): the
|
|
30
|
+
* `.timeline-popover` rules live in a non-scoped <style> block at the
|
|
31
|
+
* bottom of THIS SFC because HoverCardPortal escapes scoped CSS. The
|
|
32
|
+
* rules must live in a component that participates in the continuous
|
|
33
|
+
* render path; this is that component.
|
|
34
|
+
*
|
|
35
|
+
* AI.W1-δ `#detail` slot (post-RD-3 §4): the continuous variant emits an
|
|
36
|
+
* optional `#detail` scoped slot rendered as a sibling of the rail wrap,
|
|
37
|
+
* payload-rich with `{ segment, source, currentKey, hoveredKey }`. The
|
|
38
|
+
* primitive owns the effective-segment resolution (hovered ?? current);
|
|
39
|
+
* consumers own the choreography (e.g., a `<Transition mode="out-in">`
|
|
40
|
+
* fade-swap keyed on the segment's stable key). The slot mount carries
|
|
41
|
+
* a `min-height` reservation via `--timeline-detail-min-height` so
|
|
42
|
+
* idle ↔ active transitions do not reflow the surrounding layout.
|
|
43
|
+
* Speedtest's `PhaseTimelineDetailPanel` is the canonical consumer
|
|
44
|
+
* (absorbed in AI.W1-δ).
|
|
45
|
+
*/
|
|
46
|
+
type __VLS_Props = {
|
|
47
|
+
segments?: TimelineSegment[];
|
|
48
|
+
/**
|
|
49
|
+
* Optional aria-label for the rail (role=progressbar). Falls back
|
|
50
|
+
* to a comma-joined list of segment labels when omitted.
|
|
51
|
+
*/
|
|
52
|
+
ariaLabel?: string;
|
|
53
|
+
/**
|
|
54
|
+
* AB.W2.T3 — current segment key. Stamps `data-current="true"`
|
|
55
|
+
* on the matching marker (and `data-completed="true"` on prior
|
|
56
|
+
* markers, derived from each segment's `state`). Hover affects
|
|
57
|
+
* the popover only; the current marker survives hover-leave so
|
|
58
|
+
* the panel's current-phase binding does not flicker.
|
|
59
|
+
*/
|
|
60
|
+
currentSegmentKey?: string;
|
|
61
|
+
/**
|
|
62
|
+
* AB.W2.T2 — disable the default per-marker HoverPopover.
|
|
63
|
+
* Useful when a consumer wants to fully own the hover affordance
|
|
64
|
+
* (e.g. anchor a single popover externally). The dot still emits
|
|
65
|
+
* `hover` / `click` events.
|
|
66
|
+
*/
|
|
67
|
+
disablePopover?: boolean;
|
|
68
|
+
};
|
|
69
|
+
declare var __VLS_11: {
|
|
70
|
+
segment: TimelineSegment;
|
|
71
|
+
}, __VLS_13: {
|
|
72
|
+
segment: TimelineSegment | null;
|
|
73
|
+
source: "idle" | "current" | "hovered";
|
|
74
|
+
currentKey: string | null;
|
|
75
|
+
hoveredKey: string | null;
|
|
76
|
+
};
|
|
77
|
+
type __VLS_Slots = {} & {
|
|
78
|
+
popoverContent?: (props: typeof __VLS_11) => any;
|
|
79
|
+
} & {
|
|
80
|
+
detail?: (props: typeof __VLS_13) => any;
|
|
81
|
+
};
|
|
82
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
click: (payload: {
|
|
84
|
+
key: string;
|
|
85
|
+
segment: TimelineSegment;
|
|
86
|
+
}) => any;
|
|
87
|
+
hover: (payload: {
|
|
88
|
+
key: string;
|
|
89
|
+
segment: TimelineSegment;
|
|
90
|
+
}) => any;
|
|
91
|
+
hoverEnd: (payload: {
|
|
92
|
+
key: string;
|
|
93
|
+
segment: TimelineSegment;
|
|
94
|
+
}) => any;
|
|
95
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
96
|
+
onClick?: ((payload: {
|
|
97
|
+
key: string;
|
|
98
|
+
segment: TimelineSegment;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
onHover?: ((payload: {
|
|
101
|
+
key: string;
|
|
102
|
+
segment: TimelineSegment;
|
|
103
|
+
}) => any) | undefined;
|
|
104
|
+
onHoverEnd?: ((payload: {
|
|
105
|
+
key: string;
|
|
106
|
+
segment: TimelineSegment;
|
|
107
|
+
}) => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
disablePopover: boolean;
|
|
110
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
111
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
112
|
+
declare const _default: typeof __VLS_export;
|
|
113
|
+
export default _default;
|
|
114
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
115
|
+
new (): {
|
|
116
|
+
$slots: S;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import type { TimelineSegment } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* <GlassTimeline> — dispatcher SFC for three structurally-distinct
|
|
4
|
+
* timeline variants. Public surface UNCHANGED from the pre-O.W3 god-module.
|
|
5
|
+
*
|
|
6
|
+
* - `variant="scrubber"` (default): single-track normalized 0..1 scrubber
|
|
7
|
+
* with full keyboard a11y (role=slider + arrow-key step + shift-step).
|
|
8
|
+
* Delegates to `<ScrubberTimeline>`.
|
|
9
|
+
*
|
|
10
|
+
* - `variant="segmented"` (Z.W2.T1 / A2 §B5): adjacent gradient bands,
|
|
11
|
+
* one per phase, with boundary dots that emit `hover` + `click` events
|
|
12
|
+
* carrying the segment key + payload. Delegates to `<SegmentedTimeline>`.
|
|
13
|
+
*
|
|
14
|
+
* - `variant="continuous"` (AA.W1 / A4 §S-17): ONE rounded-pill rail
|
|
15
|
+
* substrate with N absolute-positioned region children. Delegates to
|
|
16
|
+
* `<ContinuousTimeline>`. The continuous variant owns the popover
|
|
17
|
+
* portal CSS contract (non-scoped <style> block; see ContinuousTimeline).
|
|
18
|
+
*
|
|
19
|
+
* Per-segment gradient: either `{from, to}` (expanded as 90deg L→R linear
|
|
20
|
+
* gradient) or a raw CSS gradient string consumed verbatim. Falls back
|
|
21
|
+
* to `--timeline-segment-default-gradient` when omitted.
|
|
22
|
+
*
|
|
23
|
+
* O.W3 Lane A — this dispatcher replaces the prior 1049-line monolith.
|
|
24
|
+
* The three variant SFCs + `geometry.ts` shared math live alongside in
|
|
25
|
+
* the same package. Consumer imports through
|
|
26
|
+
* `@mkbabb/glass-ui/timeline` are unchanged.
|
|
27
|
+
*/
|
|
28
|
+
type __VLS_Props = {
|
|
29
|
+
/** Variant — default `scrubber`. */
|
|
30
|
+
variant?: "scrubber" | "segmented" | "continuous";
|
|
31
|
+
/** 0..1 scrubber position. Required for scrubber variant. */
|
|
32
|
+
modelValue?: number;
|
|
33
|
+
/** Tooltip caret text (scrubber variant only). */
|
|
34
|
+
label?: string;
|
|
35
|
+
/** Phase descriptors (segmented + continuous variants). */
|
|
36
|
+
segments?: TimelineSegment[];
|
|
37
|
+
/**
|
|
38
|
+
* Optional aria-label for the continuous variant's rail
|
|
39
|
+
* (role=progressbar). Falls back to a comma-joined list of segment
|
|
40
|
+
* labels when omitted.
|
|
41
|
+
*/
|
|
42
|
+
ariaLabel?: string;
|
|
43
|
+
/**
|
|
44
|
+
* AB.W2.T3 (A2 §B2.b) — current segment key (continuous variant).
|
|
45
|
+
* Stamps `data-current="true"` on the matching marker so consumers
|
|
46
|
+
* (panel / W3 raised-rivet styling) can distinguish the active
|
|
47
|
+
* phase from the transient hovered phase.
|
|
48
|
+
*/
|
|
49
|
+
currentSegmentKey?: string;
|
|
50
|
+
/**
|
|
51
|
+
* AB.W2.T2 (A4 §B2.c) — disable the default per-marker
|
|
52
|
+
* HoverPopover (continuous variant). The dot still emits
|
|
53
|
+
* `hover` / `click` events.
|
|
54
|
+
*/
|
|
55
|
+
disablePopover?: boolean;
|
|
56
|
+
};
|
|
57
|
+
declare var __VLS_13: {
|
|
58
|
+
segment: TimelineSegment;
|
|
59
|
+
}, __VLS_16: {
|
|
60
|
+
segment: TimelineSegment | null;
|
|
61
|
+
source: "idle" | "current" | "hovered";
|
|
62
|
+
currentKey: string | null;
|
|
63
|
+
hoveredKey: string | null;
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Slots = {} & {
|
|
66
|
+
popoverContent?: (props: typeof __VLS_13) => any;
|
|
67
|
+
} & {
|
|
68
|
+
detail?: (props: typeof __VLS_16) => any;
|
|
69
|
+
};
|
|
70
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
+
click: (payload: {
|
|
72
|
+
key: string;
|
|
73
|
+
segment: TimelineSegment;
|
|
74
|
+
}) => any;
|
|
75
|
+
"update:modelValue": (v: number) => any;
|
|
76
|
+
hover: (payload: {
|
|
77
|
+
key: string;
|
|
78
|
+
segment: TimelineSegment;
|
|
79
|
+
}) => any;
|
|
80
|
+
hoverEnd: (payload: {
|
|
81
|
+
key: string;
|
|
82
|
+
segment: TimelineSegment;
|
|
83
|
+
}) => any;
|
|
84
|
+
scrubStart: () => any;
|
|
85
|
+
scrubEnd: () => any;
|
|
86
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
87
|
+
onClick?: ((payload: {
|
|
88
|
+
key: string;
|
|
89
|
+
segment: TimelineSegment;
|
|
90
|
+
}) => any) | undefined;
|
|
91
|
+
"onUpdate:modelValue"?: ((v: number) => any) | undefined;
|
|
92
|
+
onHover?: ((payload: {
|
|
93
|
+
key: string;
|
|
94
|
+
segment: TimelineSegment;
|
|
95
|
+
}) => any) | undefined;
|
|
96
|
+
onHoverEnd?: ((payload: {
|
|
97
|
+
key: string;
|
|
98
|
+
segment: TimelineSegment;
|
|
99
|
+
}) => any) | undefined;
|
|
100
|
+
onScrubStart?: (() => any) | undefined;
|
|
101
|
+
onScrubEnd?: (() => any) | undefined;
|
|
102
|
+
}>, {
|
|
103
|
+
variant: "scrubber" | "segmented" | "continuous";
|
|
104
|
+
modelValue: number;
|
|
105
|
+
disablePopover: boolean;
|
|
106
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
108
|
+
declare const _default: typeof __VLS_export;
|
|
109
|
+
export default _default;
|
|
110
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
111
|
+
new (): {
|
|
112
|
+
$slots: S;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* <ScrubberTimeline> — single-track normalized 0..1 scrubber.
|
|
3
|
+
*
|
|
4
|
+
* Internal variant SFC dispatched from <GlassTimeline variant="scrubber">.
|
|
5
|
+
* Owns the pre-Z.W2 single-track contract: pointer-capture drag, keyboard
|
|
6
|
+
* a11y (role=slider + arrow-key step + shift-step), `label` tooltip caret.
|
|
7
|
+
*
|
|
8
|
+
* AA.A4 §S-16 — the `aria-valuenow` binding coerces `Number(modelValue ?? 0)`
|
|
9
|
+
* so a numeric attribute always renders (axe `aria-required-attr` regression).
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
/** 0..1 scrubber position. */
|
|
13
|
+
modelValue?: number;
|
|
14
|
+
/** Tooltip caret text. */
|
|
15
|
+
label?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (v: number) => any;
|
|
19
|
+
scrubStart: () => any;
|
|
20
|
+
scrubEnd: () => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((v: number) => any) | undefined;
|
|
23
|
+
onScrubStart?: (() => any) | undefined;
|
|
24
|
+
onScrubEnd?: (() => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
modelValue: number;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { TimelineSegment } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* <SegmentedTimeline> — adjacent gradient bands with boundary dots.
|
|
4
|
+
*
|
|
5
|
+
* Internal variant SFC dispatched from <GlassTimeline variant="segmented">.
|
|
6
|
+
* Per Z.W2.T1 / A2 §B5. Speedtest consumes this as a 3-cell
|
|
7
|
+
* (ping/download/upload) progress timeline; gradient endpoints map to
|
|
8
|
+
* per-phase chart-color tokens. Visual shape: N rectangles in a row.
|
|
9
|
+
*
|
|
10
|
+
* Each cell owns its own gradient background and per-state fill; the
|
|
11
|
+
* boundary dot is a button anchored to the right edge of each cell
|
|
12
|
+
* (the boundary between this cell and the next, or the timeline
|
|
13
|
+
* terminus).
|
|
14
|
+
*/
|
|
15
|
+
type __VLS_Props = {
|
|
16
|
+
segments?: TimelineSegment[];
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
click: (payload: {
|
|
20
|
+
key: string;
|
|
21
|
+
segment: TimelineSegment;
|
|
22
|
+
}) => any;
|
|
23
|
+
hover: (payload: {
|
|
24
|
+
key: string;
|
|
25
|
+
segment: TimelineSegment;
|
|
26
|
+
}) => any;
|
|
27
|
+
hoverEnd: (payload: {
|
|
28
|
+
key: string;
|
|
29
|
+
segment: TimelineSegment;
|
|
30
|
+
}) => any;
|
|
31
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
|
+
onClick?: ((payload: {
|
|
33
|
+
key: string;
|
|
34
|
+
segment: TimelineSegment;
|
|
35
|
+
}) => any) | undefined;
|
|
36
|
+
onHover?: ((payload: {
|
|
37
|
+
key: string;
|
|
38
|
+
segment: TimelineSegment;
|
|
39
|
+
}) => any) | undefined;
|
|
40
|
+
onHoverEnd?: ((payload: {
|
|
41
|
+
key: string;
|
|
42
|
+
segment: TimelineSegment;
|
|
43
|
+
}) => any) | undefined;
|
|
44
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: typeof __VLS_export;
|
|
46
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline shared geometry — pure math + payload helpers used by ≥ 2 of
|
|
3
|
+
* the variant SFCs (ScrubberTimeline / SegmentedTimeline / ContinuousTimeline).
|
|
4
|
+
*
|
|
5
|
+
* Split out of the prior monolithic `GlassTimeline.vue` per O.W3 Lane A —
|
|
6
|
+
* the geometry was identical across the segmented + continuous variants,
|
|
7
|
+
* and the popover-payload helper is consumed only by the continuous variant
|
|
8
|
+
* today but its shape (the AA-canonical `{ label, value, description, state }`
|
|
9
|
+
* envelope) is documented as the shared per-segment hover-payload contract.
|
|
10
|
+
*
|
|
11
|
+
* All exports are pure functions or type aliases — no Vue runtime imports,
|
|
12
|
+
* no side effects. The factory `createContinuousGeometry(segmentsRef)`
|
|
13
|
+
* returns the `totalWeight` + region/boundary helpers bound to a live
|
|
14
|
+
* `Ref<TimelineSegment[]>`, so the continuous SFC can drop them straight
|
|
15
|
+
* into its `<script setup>`.
|
|
16
|
+
*/
|
|
17
|
+
import { type ComputedRef, type Ref } from "vue";
|
|
18
|
+
import type { TimelineSegment } from "./types";
|
|
19
|
+
/**
|
|
20
|
+
* Resolve a segment's gradient declaration to a CSS background expression.
|
|
21
|
+
* - `string` (raw CSS): consumed verbatim — caller controls direction.
|
|
22
|
+
* - `{from, to}` pair: expanded to `linear-gradient(90deg, from, to)`.
|
|
23
|
+
* - undefined: falls through to the `--timeline-segment-default-gradient`
|
|
24
|
+
* token (consumer can override on the primitive or via a section-tone).
|
|
25
|
+
*/
|
|
26
|
+
export declare function gradientFor(seg: TimelineSegment): string;
|
|
27
|
+
/**
|
|
28
|
+
* Fill percentage per state. Explicit `progress` wins; otherwise the
|
|
29
|
+
* canonical mapping (pending=0, active=0.5, completed=1). Clamped to
|
|
30
|
+
* [0, 1] so consumers can't paint past the segment box.
|
|
31
|
+
*/
|
|
32
|
+
export declare function fillFor(seg: TimelineSegment): number;
|
|
33
|
+
/** Resolve a segment's positive weight; defaults to 1. */
|
|
34
|
+
export declare function segmentWeight(seg: TimelineSegment): number;
|
|
35
|
+
/**
|
|
36
|
+
* Bind continuous-variant geometry helpers to a live `Ref<TimelineSegment[]>`.
|
|
37
|
+
* Returns the `totalWeight` ComputedRef + per-index region geometry
|
|
38
|
+
* (regionLeft, regionWidth, boundaryX) + the rail's aggregate aria-valuenow
|
|
39
|
+
* computation. The continuous SFC pulls these into its `<script setup>`.
|
|
40
|
+
*/
|
|
41
|
+
export declare function createContinuousGeometry(segments: Ref<TimelineSegment[]>): {
|
|
42
|
+
totalWeight: ComputedRef<number>;
|
|
43
|
+
regionLeft: (i: number) => number;
|
|
44
|
+
regionWidth: (i: number) => number;
|
|
45
|
+
boundaryX: (i: number) => number;
|
|
46
|
+
continuousAriaValueNow: ComputedRef<number>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Build the ONE rail-spanning stitched gradient for the continuous
|
|
50
|
+
* variant. Each phase's colour is anchored as a stop at the CENTRE of
|
|
51
|
+
* its weight-share so the pure hue sits mid-phase and the hues cross-
|
|
52
|
+
* fade smoothly through every boundary. The first and last stops are
|
|
53
|
+
* pinned to 0% / 100% so the bar's ends saturate fully (no washed
|
|
54
|
+
* leading/trailing edge). Returns a `linear-gradient(90deg, …)` string
|
|
55
|
+
* sized to the FULL rail width.
|
|
56
|
+
*/
|
|
57
|
+
export declare function stitchedRailGradient(segments: TimelineSegment[]): string;
|
|
58
|
+
/**
|
|
59
|
+
* Per-region windowing parameters for the stitched rail gradient. The
|
|
60
|
+
* region paints the FULL-rail gradient (`stitchedRailGradient`) but only
|
|
61
|
+
* its own slice is visible inside the region box. To window correctly
|
|
62
|
+
* the region's `background-size-x` is scaled to `1 / regionWidth` of the
|
|
63
|
+
* region box (so the full gradient spans `regionWidth` of the rail) and
|
|
64
|
+
* the `background-position-x` is offset so the region's left edge aligns
|
|
65
|
+
* with the rail-fraction `regionLeft`.
|
|
66
|
+
*
|
|
67
|
+
* `sizeX` — CSS `background-size` x value, e.g. `"333.333%"`.
|
|
68
|
+
* `positionX` — CSS `background-position` x value, e.g. `"50%"`.
|
|
69
|
+
*
|
|
70
|
+
* background-position interpolates the image's `(size - box)` overflow,
|
|
71
|
+
* so the position fraction is `regionLeft / (1 - regionWidth)` (guarded
|
|
72
|
+
* for the degenerate single-region `regionWidth == 1` case).
|
|
73
|
+
*/
|
|
74
|
+
export declare function stitchedRegionWindow(regionLeft: number, regionWidth: number): {
|
|
75
|
+
sizeX: string;
|
|
76
|
+
positionX: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Continuous-variant active-region fill width (0..1, applied as a clip
|
|
80
|
+
* mask on the region's right edge for partial-fill animation). For
|
|
81
|
+
* `completed` returns 1; for `pending` returns 0; for `active` returns
|
|
82
|
+
* `fillFor(seg)` (which honours explicit `progress` overrides).
|
|
83
|
+
*/
|
|
84
|
+
export declare function continuousFillWidth(seg: TimelineSegment): number;
|
|
85
|
+
/**
|
|
86
|
+
* AB.W2.T2 — default popover content payload shape.
|
|
87
|
+
*
|
|
88
|
+
* Reads `value` shape if the consumer supplied the AA-canonical
|
|
89
|
+
* `{ label, value, description, state }` payload (the speedtest
|
|
90
|
+
* PhaseDetail), otherwise falls back to the segment's own label/state.
|
|
91
|
+
* The slot scope exposes the full segment so consumers can override
|
|
92
|
+
* entirely.
|
|
93
|
+
*/
|
|
94
|
+
export interface DefaultPopoverPayload {
|
|
95
|
+
label?: string;
|
|
96
|
+
value?: unknown;
|
|
97
|
+
description?: string;
|
|
98
|
+
state?: string;
|
|
99
|
+
}
|
|
100
|
+
export declare function popoverPayloadFor(seg: TimelineSegment): DefaultPopoverPayload;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline primitive types — segmented + continuous variants.
|
|
3
|
+
*
|
|
4
|
+
* Per Z.W2.T1 / A2 §B5 + AA.W1 / A4 §S-17. The default `scrubber` variant
|
|
5
|
+
* (single-track YouTube-style scrubber) keeps its original numeric model;
|
|
6
|
+
* `segmented` (Z.W2) renders adjacent gradient bands with hover/click dots;
|
|
7
|
+
* `continuous` (AA.W1) renders ONE pill rail with N absolute-positioned
|
|
8
|
+
* region children. Both array-variants consume the same `TimelineSegment[]`
|
|
9
|
+
* data shape — only the rendering geometry differs.
|
|
10
|
+
*/
|
|
11
|
+
/** Per-segment lifecycle. Drives fill + dot states. */
|
|
12
|
+
export type TimelineSegmentState = "pending" | "active" | "completed";
|
|
13
|
+
/**
|
|
14
|
+
* Gradient endpoints. Either a raw CSS expression (linear-gradient(...))
|
|
15
|
+
* or a `{ from, to }` token pair the primitive expands into a 90deg
|
|
16
|
+
* left-to-right linear-gradient. Accepts CSS color, color-mix(...), or
|
|
17
|
+
* `var(--token)` references.
|
|
18
|
+
*/
|
|
19
|
+
export interface TimelineSegmentGradient {
|
|
20
|
+
from: string;
|
|
21
|
+
to: string;
|
|
22
|
+
}
|
|
23
|
+
export interface TimelineSegment {
|
|
24
|
+
/** Stable identifier emitted on hover/click. Must be unique per timeline. */
|
|
25
|
+
key: string;
|
|
26
|
+
/** Display name. Surfaces in the boundary-dot tooltip. */
|
|
27
|
+
label: string;
|
|
28
|
+
/** Lifecycle state — drives fill percentage + dot affordance. */
|
|
29
|
+
state: TimelineSegmentState;
|
|
30
|
+
/**
|
|
31
|
+
* Optional progress within the segment (0..1). When omitted, falls
|
|
32
|
+
* back to: 1 for `completed`, 0 for `pending`, 0.5 for `active`.
|
|
33
|
+
* Reduced-motion consumers may pin this to `1`/`0` to suppress mid-
|
|
34
|
+
* segment animation while retaining final-state visibility.
|
|
35
|
+
*/
|
|
36
|
+
progress?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Per-segment gradient. Either a `{from, to}` pair (default 90deg
|
|
39
|
+
* left-to-right) or a raw CSS gradient string the primitive consumes
|
|
40
|
+
* verbatim. Falls back to a section-tone via the
|
|
41
|
+
* `--timeline-segment-default-gradient` token when omitted.
|
|
42
|
+
*/
|
|
43
|
+
gradient?: TimelineSegmentGradient | string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional payload surfaced via the `hover` / `click` events. Common
|
|
46
|
+
* shapes: formatted value strings ("145.3 Mbps"), per-phase metric
|
|
47
|
+
* objects, or `null` for pending segments.
|
|
48
|
+
*/
|
|
49
|
+
value?: unknown;
|
|
50
|
+
/**
|
|
51
|
+
* Optional relative weight for the `continuous` variant region width
|
|
52
|
+
* (default `1` — equal share). Per-segment widths are computed as
|
|
53
|
+
* `weight / sum(weights)`. Ignored by the `segmented` variant (which
|
|
54
|
+
* uses CSS flex distribution via `--timeline-segment-flex`).
|
|
55
|
+
*/
|
|
56
|
+
weight?: number;
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ToggleChip — accessible toggleable "chip" or "cell" selector, built
|
|
3
|
+
* on reka-ui's Toggle root so it carries proper `aria-pressed` and
|
|
4
|
+
* keyboard semantics. Pair with `variant="chip"` for inline horizontal
|
|
5
|
+
* selectors or `variant="cell"` for square icon + label cards.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* <ToggleChip v-model:pressed="isActive" variant="chip">
|
|
9
|
+
* Label
|
|
10
|
+
* </ToggleChip>
|
|
11
|
+
*
|
|
12
|
+
* When multiple chips share an exclusive selection, wire them up via
|
|
13
|
+
* `pressed` / `@update:pressed` rather than reaching for ToggleGroup —
|
|
14
|
+
* this component is deliberately unopinionated about selection mode.
|
|
15
|
+
*/
|
|
16
|
+
import type { HTMLAttributes } from "vue";
|
|
17
|
+
import { type ToggleProps } from "reka-ui";
|
|
18
|
+
import { type ToggleChipVariants } from ".";
|
|
19
|
+
type __VLS_Props = ToggleProps & {
|
|
20
|
+
variant?: ToggleChipVariants["variant"];
|
|
21
|
+
class?: HTMLAttributes["class"];
|
|
22
|
+
};
|
|
23
|
+
declare var __VLS_8: {};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
default?: (props: typeof __VLS_8) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: boolean) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type VariantProps } from "class-variance-authority";
|
|
2
|
+
export { default as ToggleChip } from "./ToggleChip.vue";
|
|
3
|
+
/**
|
|
4
|
+
* Shared toggleable "chip" / "cell" primitive for selector grids.
|
|
5
|
+
*
|
|
6
|
+
* `chip` — inline horizontal token (e.g. tag pickers, tool-filter rows).
|
|
7
|
+
* `cell` — square card that stacks an icon/preview over a label
|
|
8
|
+
* (e.g. pose pickers, palette swatches, emotion pickers).
|
|
9
|
+
*
|
|
10
|
+
* The `data-state="on"` attribute is set by the reka-ui Toggle root
|
|
11
|
+
* when pressed, so selected styling hangs off the data attribute and
|
|
12
|
+
* doesn't need a class-binding at the call site.
|
|
13
|
+
*/
|
|
14
|
+
export declare const toggleChipVariants: (props?: ({
|
|
15
|
+
variant?: "cell" | "chip" | null | undefined;
|
|
16
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
+
export type ToggleChipVariants = VariantProps<typeof toggleChipVariants>;
|