@mkbabb/glass-ui 4.1.0 → 5.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 +73 -159
- package/dist/CardAction-2uUvjMQK.js +285 -0
- package/dist/CollapsibleContent-DiHcB_HH.js +63 -0
- package/dist/CommandShortcut-fmdbsEJL.js +302 -0
- package/dist/ConfiguratorRow-BV6zPjTM.js +151 -0
- package/dist/DataTable-Bxya8nBn.js +518 -0
- package/dist/DialogContent-Bl4v10AC.js +192 -0
- package/dist/DialogFooter-C0v4Hz2F.js +168 -0
- package/dist/FadingScroll-BSRLqQCx.js +76 -0
- package/dist/FocusScope-BzKwhsBn.js +23 -0
- package/dist/IconChip-CwLmBJ_K.js +57 -0
- package/dist/IconTooltip-D9sbK-Mk.js +25 -0
- package/dist/Input-DKf-XwUM.js +57 -0
- package/dist/InstrumentChassis-Dss5Tjcm.js +65 -0
- package/dist/Label-C84TaQiw.js +36 -0
- package/dist/Notification-DQv2cOh9.js +43 -0
- package/dist/NumberFieldContent-BkE7xPS9.js +140 -0
- package/dist/PagerDots-BP6jh7z4.js +279 -0
- package/dist/PaperBackdrop-BYwE8_kg.js +31 -0
- package/dist/PopoverContent-DOtszFWK.js +251 -0
- package/dist/Progress-uWLyXE7J.js +308 -0
- package/dist/SelectGroup-BuEptUsa.js +31 -0
- package/dist/SelectScrollDownButton-CDtwaWkZ.js +261 -0
- package/dist/SelectSeparator-4QGephvr.js +49 -0
- package/dist/Separator-DqJ6PfOd.js +44 -0
- package/dist/Surface-BWRfwyn8.js +59 -0
- package/dist/Switch-BPBfhMU3.js +49 -0
- package/dist/Toaster-C_-WeU9W.js +281 -0
- package/dist/ToggleGroupItem-DNWx2aSW.js +175 -0
- package/dist/TooltipProvider-GtfYdSVf.js +110 -0
- package/dist/accent-tone-solve-CBw3L0cy.js +20 -0
- package/dist/animated-digit.d.ts +1 -1
- package/dist/animated-digit.js +4 -4
- package/dist/aurora.d.ts +1 -1
- package/dist/aurora.js +1427 -398
- package/dist/axes.d.ts +1 -0
- package/dist/axes.js +50 -0
- package/dist/badge-C0C-rTBu.js +80 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/blob-config.d.ts +5 -0
- package/dist/blob-config.js +2 -0
- package/dist/blob.d.ts +1 -0
- package/dist/blob.js +1582 -0
- package/dist/button-BXzhydVB.js +187 -0
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +2 -2
- package/dist/carousel.js +177 -131
- package/dist/chip.d.ts +10 -0
- package/dist/chip.js +81 -0
- package/dist/class-names-5jotTFzp.js +97 -0
- package/dist/coalesce-metric-B8o7zT9u.js +13 -0
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-Bp5jmv4Z.js +86 -0
- package/dist/color-swatch.d.ts +1 -1
- package/dist/color-swatch.js +2 -2
- package/dist/color.js +3 -2
- package/dist/command.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/completion-seal.d.ts +1 -1
- package/dist/completion-seal.js +76 -42
- package/dist/components/_shared/axes.d.ts +21 -0
- package/dist/components/_shared/class-names.d.ts +27 -0
- package/dist/components/_shared/index.d.ts +6 -0
- package/dist/components/_shared/menuItemVariants.d.ts +51 -0
- package/dist/components/_shared/useControlSize.d.ts +46 -0
- package/dist/components/_shared/useMotionAxis.d.ts +41 -0
- package/dist/components/_shared/useSurfaceAxis.d.ts +64 -0
- package/dist/components/alert/Alert.vue.d.ts +19 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/aurora/Aurora.vue.d.ts +104 -0
- package/dist/components/aurora/composables/atoms-fields.d.ts +43 -0
- package/dist/components/aurora/composables/atoms.d.ts +198 -0
- package/dist/components/aurora/composables/auroraImageSource.d.ts +44 -0
- package/dist/components/aurora/composables/color.d.ts +111 -0
- package/dist/components/aurora/composables/frameLoop.d.ts +66 -0
- package/dist/components/aurora/composables/glSetup.d.ts +29 -0
- package/dist/components/aurora/composables/runtime.d.ts +140 -0
- package/dist/components/aurora/composables/uniformBridge.d.ts +120 -0
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +60 -0
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +39 -0
- package/dist/components/aurora/composables/useAurora.d.ts +80 -0
- package/dist/components/aurora/composables/useCursorInteraction.d.ts +25 -0
- package/dist/components/aurora/composables/wgpuSetup.d.ts +50 -0
- package/dist/components/aurora/constants/presets.d.ts +326 -0
- package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
- package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -0
- package/dist/components/aurora/index.d.ts +13 -0
- package/dist/components/avatar/Avatar.vue.d.ts +23 -0
- package/dist/components/avatar/index.d.ts +9 -0
- package/dist/components/badge/Badge.vue.d.ts +41 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/blob/Blob.vue.d.ts +72 -0
- package/dist/components/blob/composables/easing.d.ts +7 -0
- package/dist/components/blob/composables/satelliteKinematics.d.ts +20 -0
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +51 -0
- package/dist/components/blob/composables/useBlobPointer.d.ts +88 -0
- package/dist/components/blob/composables/useBlobSatellites.d.ts +16 -0
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +100 -0
- package/dist/components/blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/blob/config.d.ts +3 -0
- package/dist/components/blob/constants.d.ts +82 -0
- package/dist/components/blob/index.d.ts +8 -0
- package/dist/components/blob/presets.d.ts +14 -0
- package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -0
- package/dist/components/blob/types.d.ts +256 -0
- package/dist/components/button/Button.vue.d.ts +31 -0
- package/dist/components/button/index.d.ts +9 -0
- package/dist/components/card/Card.vue.d.ts +180 -0
- package/dist/components/card/CardHeader.vue.d.ts +58 -0
- package/dist/components/carousel/Carousel.vue.d.ts +44 -0
- package/dist/components/carousel/CarouselContent.vue.d.ts +24 -0
- package/dist/components/carousel/CarouselNext.vue.d.ts +21 -0
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +21 -0
- package/dist/components/carousel/GlassCarouselPager.vue.d.ts +50 -0
- package/dist/components/carousel/useCarousel.d.ts +21 -0
- package/dist/components/chip/Chip.vue.d.ts +20 -0
- package/dist/components/chip/chipVariants.d.ts +43 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/types.d.ts +38 -0
- package/dist/components/combobox/Combobox.vue.d.ts +32 -0
- package/dist/components/combobox/ComboboxList.vue.d.ts +32 -0
- package/dist/components/command/index.d.ts +10 -0
- package/dist/components/completion-seal/CompletionSeal.vue.d.ts +28 -0
- package/dist/components/completion-seal/constants.d.ts +66 -0
- package/dist/components/configurator/Configurator.vue.d.ts +160 -0
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +96 -0
- package/dist/components/configurator/index.d.ts +6 -0
- package/dist/components/configurator/size.d.ts +26 -0
- package/dist/components/constellation/Constellation.vue.d.ts +34 -0
- package/dist/components/constellation/composables/constellationGLSetup.d.ts +10 -0
- package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +19 -0
- package/dist/components/constellation/composables/useConstellation.d.ts +39 -0
- package/dist/components/constellation/constants.d.ts +97 -0
- package/dist/components/constellation/constellationTypes.d.ts +420 -0
- package/dist/components/dialog/DialogContent.vue.d.ts +115 -0
- package/dist/components/dock/DockBackgroundToggle.vue.d.ts +46 -0
- package/dist/components/dock/DockControl.vue.d.ts +73 -0
- package/dist/components/dock/DockCrossfade.vue.d.ts +50 -0
- package/dist/components/dock/DockLayer.vue.d.ts +33 -0
- package/dist/components/dock/DockLayerGroup.vue.d.ts +65 -0
- package/dist/components/dock/DockStack.vue.d.ts +73 -0
- package/dist/components/dock/DockTrigger.vue.d.ts +27 -0
- package/dist/components/dock/GlassDock.vue.d.ts +33 -0
- package/dist/components/dock/composables/dockContext.d.ts +48 -0
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +57 -0
- package/dist/components/dock/composables/dockMorphContext.d.ts +89 -0
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +86 -0
- package/dist/components/dock/composables/index.d.ts +10 -0
- package/dist/components/dock/composables/useDockFisheye.d.ts +24 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +22 -0
- package/dist/components/dock/composables/useDockPopover.d.ts +68 -0
- package/dist/components/dock/composables/useDockSearch.d.ts +85 -0
- package/dist/components/dock/composables/useDockShellProps.d.ts +178 -0
- package/dist/components/dock/composables/useDockSpring.d.ts +71 -0
- package/dist/components/dock/composables/useDockTouchGate.d.ts +51 -0
- package/dist/components/dock/constants.d.ts +107 -0
- package/dist/components/dock/index.d.ts +19 -0
- package/dist/components/drawer/Drawer.vue.d.ts +85 -0
- package/dist/components/drawer/DrawerContent.vue.d.ts +40 -0
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +24 -0
- package/dist/components/drawer/constants.d.ts +50 -0
- package/dist/components/drawer/index.d.ts +35 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/dropdown-menu/index.d.ts +16 -0
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +14 -0
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +71 -0
- package/dist/components/fourier-field/FourierField.vue.d.ts +54 -0
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
- package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
- package/dist/components/fourier-field/composables/useFourierField.d.ts +55 -0
- package/dist/components/fourier-field/constants.d.ts +134 -0
- package/dist/components/fourier-field/index.d.ts +31 -0
- package/dist/components/fourier-field/math.d.ts +111 -0
- package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
- package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
- package/dist/components/fourier-field/shaders/fourier-field.ribbon.d.ts +51 -0
- package/dist/components/goo-filter/GooFilter.vue.d.ts +22 -0
- package/dist/components/goo-filter/index.d.ts +1 -0
- package/dist/components/handmark/brush.d.ts +269 -0
- package/dist/components/handmark/composables/useHandMark.d.ts +99 -0
- package/dist/components/handmark/constants.d.ts +69 -0
- package/dist/components/handmark/geometry.d.ts +65 -0
- package/dist/components/handmark/index.d.ts +27 -0
- package/dist/components/handmark/noise.d.ts +30 -0
- package/dist/components/handmark/types.d.ts +70 -0
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
- package/dist/components/header-ribbon/index.d.ts +2 -0
- package/dist/components/header-ribbon/types.d.ts +7 -0
- package/dist/components/icon-chip/types.d.ts +92 -0
- package/dist/components/index.d.ts +36 -0
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +42 -0
- package/dist/components/liquid-grid/composables/liquidGrid.d.ts +113 -0
- package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +18 -0
- package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +21 -0
- package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +16 -0
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +31 -0
- package/dist/components/liquid-grid/constants.d.ts +93 -0
- package/dist/components/liquid-grid/index.d.ts +5 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +4 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -0
- package/dist/components/metric-badge/MetricBadge.vue.d.ts +40 -0
- package/dist/components/metric-cell/MetricCell.vue.d.ts +108 -0
- package/dist/components/metric-stack/MetricRow.vue.d.ts +120 -0
- package/dist/components/notification/Notification.vue.d.ts +16 -0
- package/dist/components/pager-dots/composables/usePagerWorm.d.ts +26 -0
- package/dist/components/pager-dots/constants.d.ts +15 -0
- package/dist/components/popover/Popover.vue.d.ts +54 -0
- package/dist/components/popover/PopoverContent.vue.d.ts +53 -0
- package/dist/components/popover/PopoverTrigger.vue.d.ts +16 -0
- package/dist/components/popover/popoverContext.d.ts +17 -0
- package/dist/components/progress/Progress.vue.d.ts +54 -0
- package/dist/components/progress/ProgressLiquid.vue.d.ts +21 -0
- package/dist/components/progress/index.d.ts +6 -0
- package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +19 -0
- package/dist/components/scroll-progress-rim/index.d.ts +3 -0
- package/dist/components/scroll-progress-rim/types.d.ts +2 -0
- package/dist/components/search/FuzzySearch.vue.d.ts +22 -0
- package/dist/components/search/SearchBar.vue.d.ts +38 -0
- package/dist/components/search/searchVariants.d.ts +19 -0
- package/dist/components/select/SelectContent.vue.d.ts +42 -0
- package/dist/components/slider/Slider.vue.d.ts +40 -0
- package/dist/components/slider/index.d.ts +46 -0
- package/dist/components/sortable-list/SortableHandle.vue.d.ts +19 -0
- package/dist/components/sortable-list/SortableItem.vue.d.ts +22 -0
- package/dist/components/sortable-list/SortableList.vue.d.ts +39 -0
- package/dist/components/sortable-list/composables/dragController.d.ts +29 -0
- package/dist/components/sortable-list/composables/types.d.ts +50 -0
- package/dist/components/sortable-list/composables/useSortable.d.ts +5 -0
- package/dist/components/sortable-list/context.d.ts +11 -0
- package/dist/components/sortable-list/index.d.ts +4 -0
- package/dist/components/split-chars/SplitChars.vue.d.ts +53 -0
- package/dist/components/stacked-icons/types.d.ts +19 -0
- package/dist/components/surface/Surface.vue.d.ts +45 -0
- package/dist/components/surface/index.d.ts +2 -0
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +101 -0
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +17 -0
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/tabs/composables/useTabResponsive.d.ts +43 -0
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +51 -0
- package/dist/components/tabs/constants.d.ts +1 -0
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +49 -0
- package/dist/components/timeline/GlassTimeline.vue.d.ts +114 -0
- package/dist/components/timeline/ScrubberTimeline.vue.d.ts +45 -0
- package/dist/components/timeline/geometry.d.ts +92 -0
- package/dist/components/toast/Toast.vue.d.ts +107 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/use-toast.d.ts +182 -0
- package/dist/components/toggle/Toggle.vue.d.ts +29 -0
- package/dist/components/toggle/index.d.ts +26 -0
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +74 -0
- package/dist/components/watercolor-dot/prng.d.ts +5 -0
- package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +31 -0
- package/dist/composables/color/accent-tone-solve.d.ts +11 -0
- package/dist/composables/color/index.d.ts +18 -1
- package/dist/composables/color/useAccentTone.d.ts +6 -8
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useDragVelocity.d.ts +46 -0
- package/dist/composables/dom/useUserInvalidAria.d.ts +7 -11
- package/dist/composables/glass/ambientHueHistogram.d.ts +27 -0
- package/dist/composables/glass/backdropLuminanceSample.d.ts +56 -0
- package/dist/composables/glass/backdropSampleMath.d.ts +5 -0
- package/dist/composables/glass/textureUpload.d.ts +91 -0
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +27 -1
- package/dist/composables/glass/useSpecularPointer.d.ts +23 -4
- package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
- package/dist/composables/glass/wave/index.d.ts +4 -0
- package/dist/composables/glass/wave/waveField.d.ts +136 -0
- package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -0
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -0
- package/dist/composables/glass/webgl/backingSize.d.ts +44 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +76 -2
- package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +36 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
- package/dist/composables/glass/webgl/visibility.d.ts +42 -0
- package/dist/composables/glass/webgpu/index.d.ts +1 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +38 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +13 -74
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +96 -0
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +31 -1
- package/dist/composables/index.d.ts +1 -2
- package/dist/composables/motion/bloomUpField.d.ts +29 -0
- package/dist/composables/motion/core/index.d.ts +8 -0
- package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
- package/dist/composables/motion/gooBarbellGeometry.d.ts +79 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/morphSignatures.d.ts +88 -0
- package/dist/composables/motion/motionTempo.d.ts +9 -0
- package/dist/composables/motion/pointerFieldMappings.d.ts +161 -0
- package/dist/composables/motion/springPresets.d.ts +20 -27
- package/dist/composables/motion/suite.d.ts +2 -2
- package/dist/composables/motion/useBloomUp.d.ts +97 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +29 -54
- package/dist/composables/motion/useElementMorph.d.ts +99 -0
- package/dist/composables/motion/useGooMorph.d.ts +72 -0
- package/dist/composables/motion/useLeadTrail.d.ts +69 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
- package/dist/composables/motion/useLiquidPress.d.ts +21 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +19 -30
- package/dist/composables/motion/usePointerVelocityField.d.ts +59 -0
- package/dist/composables/motion/useRoutePointer.d.ts +41 -0
- package/dist/composables/motion/useScrollPin.d.ts +49 -0
- package/dist/composables/motion/useScrollScene.d.ts +67 -0
- package/dist/composables/motion/useSelectionGroup.d.ts +83 -0
- package/dist/composables/motion/useSelectionIndicator.d.ts +90 -0
- package/dist/composables/motion/useSpringPress.d.ts +5 -5
- package/dist/configurator.d.ts +1 -1
- package/dist/configurator.js +3 -3
- package/dist/constellation.d.ts +1 -1
- package/dist/constellation.js +291 -254
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +4 -4
- package/dist/createCanvasLifecycle-DlrcvWbb.js +209 -0
- package/dist/dark.js +1 -1
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck.d.ts +1 -1
- package/dist/deck.js +6 -6
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +3 -4
- package/dist/dock.d.ts +1 -1
- package/dist/dock.js +1111 -1119
- package/dist/dockContext-d-WpJN2Z.js +13 -0
- package/dist/dom.js +7 -6
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +181 -163
- package/dist/dropdown-menu-DaGlVdp9.js +421 -0
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.d.ts +10 -1
- package/dist/easing.js +148 -148
- package/dist/expandable-container.d.ts +1 -1
- package/dist/expandable-container.js +85 -66
- package/dist/fading-scroll.d.ts +1 -1
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-scope.d.ts +1 -1
- package/dist/focus-scope.js +2 -23
- package/dist/forms.d.ts +4 -3
- package/dist/forms.js +75 -66
- package/dist/fourier-field.d.ts +1 -1
- package/dist/fourier-field.js +720 -422
- package/dist/fourier-math.d.ts +7 -1
- package/dist/fourier-math.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +200 -344
- package/dist/handmark.d.ts +3 -1
- package/dist/handmark.js +225 -164
- package/dist/header-ribbon.d.ts +1 -1
- package/dist/header-ribbon.js +6 -6
- package/dist/icon-chip.d.ts +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/icon-tooltip.d.ts +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +43 -43
- package/dist/infinite-scroll.d.ts +2 -2
- package/dist/infinite-scroll.js +2 -2
- package/dist/instrument-chassis.d.ts +1 -1
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.d.ts +1 -1
- package/dist/labeled-field.js +12 -12
- package/dist/liquid-grid.d.ts +1 -0
- package/dist/liquid-grid.js +1064 -0
- package/dist/math-CIEcwsYi.js +112 -0
- package/dist/menuItemVariants-DbO-Fr74.js +36 -0
- package/dist/metric-badge.d.ts +1 -1
- package/dist/metric-badge.js +79 -2
- package/dist/metric-cell.d.ts +1 -1
- package/dist/metric-cell.js +9 -9
- package/dist/metric-stack.d.ts +1 -1
- package/dist/metric-stack.js +23 -23
- package/dist/motion-core.js +48 -39
- package/dist/motion-curves.d.ts +20 -0
- package/dist/motion-curves.js +20 -14
- package/dist/motion.js +153 -69
- package/dist/motionTempo-CMS5b0Vu.js +7 -0
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/number-field.d.ts +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.d.ts +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/pointerFieldMappings-4VtmkOWv.js +65 -0
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- package/dist/presets-B07HzyKd.js +95 -0
- package/dist/prng-B0PLRmR6.js +15 -0
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +2 -2
- package/dist/pulse.d.ts +1 -1
- package/dist/pulse.js +3 -3
- package/dist/reactive.js +2 -2
- package/dist/resolveCanvasColor-B3L-akX0.js +93 -0
- package/dist/scroll-progress-rim.d.ts +1 -0
- package/dist/scroll-progress-rim.js +61 -0
- package/dist/search.d.ts +1 -1
- package/dist/search.js +123 -123
- package/dist/select.d.ts +1 -1
- package/dist/select.js +3 -3
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-Cxuj_W_H.js +151 -0
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +1 -1
- package/dist/sortable-list.d.ts +1 -1
- package/dist/sortable-list.js +383 -58
- package/dist/spa-view.d.ts +1 -1
- package/dist/spa-view.js +1 -1
- package/dist/springPresets-h5VKJQqG.js +58 -0
- package/dist/stacked-icons.d.ts +1 -1
- package/dist/stacked-icons.js +56 -41
- package/dist/status-dot.d.ts +1 -1
- package/dist/status-dot.js +2 -2
- package/dist/styles/animations.css +1 -409
- package/dist/styles/card-scroll.css +1 -0
- package/dist/styles/cards.css +1 -248
- package/dist/styles/completion-seal.css +1 -131
- package/dist/styles/components.css +1 -47
- package/dist/styles/configurator.css +1 -132
- package/dist/styles/dialog-placement.css +1 -0
- package/dist/styles/dock/adaptive-legibility.css +1 -0
- package/dist/styles/dock/crossfade.css +1 -0
- package/dist/styles/dock/cta-seat.css +1 -87
- package/dist/styles/dock/density.css +1 -447
- package/dist/styles/dock/dock.css +1 -0
- package/dist/styles/dock/fisheye.css +1 -0
- package/dist/styles/dock/layer-group.css +1 -333
- package/dist/styles/dock/layers.css +1 -449
- package/dist/styles/dock/morph.css +1 -499
- package/dist/styles/dock/overflow.css +1 -292
- package/dist/styles/dock/popover.css +1 -0
- package/dist/styles/dock/search.css +1 -68
- package/dist/styles/dock/section.css +1 -59
- package/dist/styles/dock/shape.css +1 -124
- package/dist/styles/dock/shell-regions.css +1 -0
- package/dist/styles/dock/shell.css +1 -500
- package/dist/styles/dock-controls/dark-mode-toggle.css +1 -122
- package/dist/styles/dock-controls/icon-button.css +1 -157
- package/dist/styles/dock-controls/tab-button.css +1 -143
- package/dist/styles/dock-controls/touch-floor.css +1 -94
- package/dist/styles/dock-controls/triggers.css +1 -135
- package/dist/styles/dock-controls.css +1 -74
- package/dist/styles/dock.css +1 -158
- package/dist/styles/draw-in.css +1 -0
- package/dist/styles/drawer.css +1 -240
- package/dist/styles/feedback-tone.css +1 -104
- package/dist/styles/fonts.css +1 -143
- package/dist/styles/glass/a11y-fallback.css +1 -245
- package/dist/styles/glass/accent-tone.css +1 -66
- package/dist/styles/glass/control-surfaces.css +1 -167
- package/dist/styles/glass/deep.css +1 -44
- package/dist/styles/glass/defined.css +1 -0
- package/dist/styles/glass/glass-atom.css +1 -0
- package/dist/styles/glass/glass-capsule.css +1 -0
- package/dist/styles/glass/glass-chip.css +1 -0
- package/dist/styles/glass/grain-overlay.css +1 -0
- package/dist/styles/glass/ladder-undershadow.css +1 -0
- package/dist/styles/glass/ladder.css +1 -489
- package/dist/styles/glass/liquid-enter.css +1 -0
- package/dist/styles/glass/liquid-fill.css +1 -0
- package/dist/styles/glass/material.css +1 -301
- package/dist/styles/glass/progress-rail.css +1 -78
- package/dist/styles/glass/reveal.css +1 -136
- package/dist/styles/glass/rim.css +1 -110
- package/dist/styles/glass/squircle.css +1 -66
- package/dist/styles/glass/surface-axis.css +1 -113
- package/dist/styles/glass/surfaces-pager.css +1 -0
- package/dist/styles/glass/surfaces.css +1 -401
- package/dist/styles/glass-refract.css +1 -114
- package/dist/styles/glass-specular-track.css +1 -74
- package/dist/styles/glass.css +1 -66
- package/dist/styles/icon-chip.css +1 -211
- package/dist/styles/index.css +1 -249
- package/dist/styles/instrument-chassis.css +1 -453
- package/dist/styles/menu.css +1 -127
- package/dist/styles/paper.css +1 -68
- package/dist/styles/scroll-choreography.css +1 -300
- package/dist/styles/scroll-chrome.css +1 -123
- package/dist/styles/scroll-driven.css +1 -110
- package/dist/styles/scroll-progress-rim.css +1 -0
- package/dist/styles/segmented-tabs.css +1 -413
- package/dist/styles/select.css +1 -50
- package/dist/styles/tabs/segmented-tabs-drag.css +1 -0
- package/dist/styles/theme/bridges.css +1 -380
- package/dist/styles/theme/dark.css +1 -7
- package/dist/styles/theme/literals.css +1 -103
- package/dist/styles/theme/radius.css +1 -117
- package/dist/styles/theme.css +1 -33
- package/dist/styles/tokens/color-radius.css +1 -297
- package/dist/styles/tokens/dark-arm-glass.css +1 -0
- package/dist/styles/tokens/dark-arm.css +1 -413
- package/dist/styles/tokens/glass-deep.css +1 -100
- package/dist/styles/tokens/glass-fx.css +1 -376
- package/dist/styles/tokens/glass.css +1 -280
- package/dist/styles/tokens/light-dark.css +1 -200
- package/dist/styles/tokens/motion-registers.css +1 -0
- package/dist/styles/tokens/offsets.css +1 -143
- package/dist/styles/tokens/on-glass-fg.css +1 -39
- package/dist/styles/tokens/property-regs-specular.css +1 -0
- package/dist/styles/tokens/property-regs.css +1 -422
- package/dist/styles/tokens/scale-paper.css +1 -481
- package/dist/styles/tokens/scheme-motion.css +1 -428
- package/dist/styles/tokens/scheme-spring.css +1 -0
- package/dist/styles/tokens/scroll-tokens.css +1 -123
- package/dist/styles/tokens/shadow.css +1 -166
- package/dist/styles/tokens/sizing-config.css +1 -110
- package/dist/styles/tokens/sizing.css +1 -450
- package/dist/styles/tokens.css +1 -45
- package/dist/styles/transitions.css +1 -263
- package/dist/styles/typography/scale.css +1 -153
- package/dist/styles/typography/semantic.css +1 -233
- package/dist/styles/typography/utilities.css +1 -174
- package/dist/styles/typography.css +1 -46
- package/dist/styles/utilities/a11y-overrides.css +1 -184
- package/dist/styles/utilities/animate.css +0 -29
- package/dist/styles/utilities/base-misc.css +1 -307
- package/dist/styles/utilities/base.css +1 -327
- package/dist/styles/utilities/btn.css +1 -231
- package/dist/styles/utilities/components.css +1 -342
- package/dist/styles/utilities/metal.css +1 -215
- package/dist/styles/utilities.css +1 -26
- package/dist/styles/view-transition.css +1 -67
- package/dist/styles/viz-reveal.css +1 -0
- package/dist/surface.d.ts +1 -0
- package/dist/surface.js +3 -0
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +217 -260
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +269 -218
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.d.ts +1 -1
- package/dist/typewriter.js +7 -7
- package/dist/useAccentTone-D25DxviG.js +23 -0
- package/dist/useAnimatedNumber-2XC4aRB6.js +40 -0
- package/dist/useConfiguratorState-Dq35N_7t.js +167 -0
- package/dist/useControlSize-DJwe-7ZQ.js +9 -0
- package/dist/useDockCtaReceive-BgMmeINo.js +161 -0
- package/dist/useDocumentVisibility-CpJGUgcJ.js +17 -0
- package/dist/useDragMorph-65ihHePq.js +93 -0
- package/dist/useDragVelocity-BWcNMCux.js +57 -0
- package/dist/useFuzzySearch-KslRxiJY.js +177 -0
- package/dist/useGooMorph-CU1pwuC6.js +268 -0
- package/dist/useGpuSubstrate-DcY584kE.js +347 -0
- package/dist/useIntersectionPause-Cmt5Tnv9.js +39 -0
- package/dist/useKeyboardShortcuts-ynVmNFo3.js +104 -0
- package/dist/useLeadTrail-DOH4XkL1.js +74 -0
- package/dist/useLiquidFlex-Ch4exNvN.js +35 -0
- package/dist/useLiquidPress-BXNHydZh.js +40 -0
- package/dist/useMotionAxis-DCCXMC-i.js +20 -0
- package/dist/usePointerVelocityField-CwXyeW0Z.js +122 -0
- package/dist/useRAFLoop-CvOo_kgb.js +109 -0
- package/dist/useRoutePointer-DL7I0gY4.js +52 -0
- package/dist/useScrollProgress-C-yImzhU.js +35 -0
- package/dist/useSelectionGroup-Btpf24aY.js +215 -0
- package/dist/useSpring-BBSKFx_0.js +41 -0
- package/dist/useSpringMount-CNvvgGiC.js +71 -0
- package/dist/useSpringPress-BypV_KO-.js +36 -0
- package/dist/useSurfaceAxis-DudiZVOR.js +10 -0
- package/dist/useTabRovingFocus-CG1H1k1J.js +143 -0
- package/dist/useTouchGate-BlegwvwL.js +84 -0
- package/dist/useUserInvalidAria-Bkruei7M.js +25 -0
- package/dist/watercolor-dot.d.ts +1 -1
- package/dist/watercolor-dot.js +57 -65
- package/dist/writeVelocityWeight-D1rvdxJu.js +19 -0
- package/package.json +386 -816
- package/src/styles/animations.css +82 -23
- package/src/styles/card-scroll.css +189 -0
- package/src/styles/cards.css +244 -5
- package/src/styles/completion-seal.css +75 -1
- package/src/styles/configurator.css +234 -7
- package/src/styles/dialog-placement.css +68 -0
- package/src/styles/dock/adaptive-legibility.css +119 -0
- package/src/styles/dock/crossfade.css +139 -0
- package/src/styles/dock/density.css +34 -23
- package/src/styles/dock/dock.css +199 -0
- package/src/styles/dock/fisheye.css +81 -0
- package/src/styles/dock/layer-group.css +37 -41
- package/src/styles/dock/layers.css +127 -138
- package/src/styles/dock/morph.css +85 -129
- package/src/styles/dock/overflow.css +107 -67
- package/src/styles/dock/popover.css +249 -0
- package/src/styles/dock/shape.css +86 -22
- package/src/styles/dock/shell-regions.css +73 -0
- package/src/styles/dock/shell.css +160 -160
- package/src/styles/dock-controls/dark-mode-toggle.css +3 -2
- package/src/styles/dock-controls/icon-button.css +77 -13
- package/src/styles/dock-controls/tab-button.css +2 -2
- package/src/styles/dock-controls/touch-floor.css +25 -0
- package/src/styles/dock-controls/triggers.css +23 -1
- package/src/styles/dock-controls.css +18 -0
- package/src/styles/dock.css +67 -6
- package/src/styles/draw-in.css +89 -0
- package/src/styles/drawer.css +203 -3
- package/src/styles/glass/a11y-fallback.css +19 -76
- package/src/styles/glass/control-surfaces.css +20 -16
- package/src/styles/glass/deep.css +74 -4
- package/src/styles/glass/defined.css +88 -0
- package/src/styles/glass/glass-atom.css +247 -0
- package/src/styles/glass/glass-capsule.css +175 -0
- package/src/styles/glass/glass-chip.css +211 -0
- package/src/styles/glass/grain-overlay.css +79 -0
- package/src/styles/glass/ladder-undershadow.css +61 -0
- package/src/styles/glass/ladder.css +96 -133
- package/src/styles/glass/liquid-enter.css +240 -0
- package/src/styles/glass/liquid-fill.css +65 -0
- package/src/styles/glass/material.css +201 -8
- package/src/styles/glass/reveal.css +213 -16
- package/src/styles/glass/rim.css +13 -1
- package/src/styles/glass/squircle.css +18 -26
- package/src/styles/glass/surface-axis.css +24 -1
- package/src/styles/glass/surfaces-pager.css +79 -0
- package/src/styles/glass/surfaces.css +123 -90
- package/src/styles/glass.css +45 -1
- package/src/styles/icon-chip.css +45 -0
- package/src/styles/index.css +54 -15
- package/src/styles/menu.css +66 -6
- package/src/styles/paper.css +133 -14
- package/src/styles/scroll-choreography.css +151 -157
- package/src/styles/scroll-driven.css +18 -5
- package/src/styles/scroll-progress-rim.css +87 -0
- package/src/styles/segmented-tabs.css +147 -130
- package/src/styles/select.css +151 -0
- package/src/styles/tabs/segmented-tabs-drag.css +200 -0
- package/src/styles/theme/bridges.css +8 -2
- package/src/styles/theme/literals.css +2 -1
- package/src/styles/theme/radius.css +43 -12
- package/src/styles/tokens/color-radius.css +16 -5
- package/src/styles/tokens/dark-arm-glass.css +55 -0
- package/src/styles/tokens/dark-arm.css +101 -59
- package/src/styles/tokens/glass-deep.css +108 -82
- package/src/styles/tokens/glass-fx.css +113 -5
- package/src/styles/tokens/glass.css +242 -44
- package/src/styles/tokens/light-dark.css +22 -6
- package/src/styles/tokens/motion-registers.css +93 -0
- package/src/styles/tokens/property-regs-specular.css +160 -0
- package/src/styles/tokens/property-regs.css +185 -160
- package/src/styles/tokens/scale-paper.css +26 -11
- package/src/styles/tokens/scheme-motion.css +151 -157
- package/src/styles/tokens/scheme-spring.css +292 -0
- package/src/styles/tokens/scroll-tokens.css +40 -26
- package/src/styles/tokens/shadow.css +79 -13
- package/src/styles/tokens/sizing.css +62 -7
- package/src/styles/tokens.css +25 -2
- package/src/styles/transitions.css +108 -143
- package/src/styles/typography/scale.css +10 -0
- package/src/styles/typography/semantic.css +5 -5
- package/src/styles/typography/utilities.css +25 -2
- package/src/styles/utilities/a11y-overrides.css +2 -2
- package/src/styles/utilities/base.css +13 -3
- package/src/styles/utilities/btn.css +99 -3
- package/src/styles/utilities/components.css +16 -21
- package/src/styles/utilities/metal.css +86 -29
- package/src/styles/viz-reveal.css +63 -0
- package/dist/CardAction-8whJrLWt.js +0 -268
- package/dist/CollapsibleContent-68dEXIAl.js +0 -63
- package/dist/CommandShortcut-D3yxgHNn.js +0 -302
- package/dist/ConfiguratorRow-CaP7U3ZA.js +0 -143
- package/dist/ContextMenuContent-B3ZsheLV.js +0 -90
- package/dist/ContextMenuSubContent-DDRID3qC.js +0 -245
- package/dist/DataTable-Bc9kUtu_.js +0 -512
- package/dist/DialogContent-6JtTB5x2.js +0 -106
- package/dist/DialogFooter-9phqcRIS.js +0 -80
- package/dist/DialogScrollContent-TTuovQst.js +0 -93
- package/dist/FadingScroll-DLRbH5Xr.js +0 -76
- package/dist/HoverCardContent-Bel1gdLZ.js +0 -88
- package/dist/HoverPopover-BcIxvyqZ.js +0 -96
- package/dist/IconChip-DhbdGdFQ.js +0 -55
- package/dist/IconTooltip-B0zimd2H.js +0 -25
- package/dist/Input-Cg9DF62r.js +0 -57
- package/dist/InstrumentChassis-CxsHSyMj.js +0 -65
- package/dist/Label-C2ejNWeC.js +0 -36
- package/dist/MetricBadge-RHdBP72w.js +0 -79
- package/dist/ModalOverlay-D1VrWyoi.js +0 -53
- package/dist/Notification-CphK7AAm.js +0 -43
- package/dist/NumberFieldContent-D8cXeyO4.js +0 -140
- package/dist/PagerDots-Cjx96la-.js +0 -98
- package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
- package/dist/PopoverContent-DL7E6vJP.js +0 -127
- package/dist/Progress-CnqB7gLm.js +0 -274
- package/dist/ScrollingText-CTZbA_cG.js +0 -40
- package/dist/SelectGroup-BFiod7X2.js +0 -31
- package/dist/SelectScrollDownButton-DAKCBEdW.js +0 -257
- package/dist/SelectSeparator-C2UGOkXF.js +0 -49
- package/dist/Separator-DQcwC2TR.js +0 -44
- package/dist/Switch-B8RscmRu.js +0 -49
- package/dist/Toaster-D9qIHjBI.js +0 -274
- package/dist/ToggleGroupItem-BLtr3TJq.js +0 -170
- package/dist/TooltipProvider-BJ_Y5EGX.js +0 -109
- package/dist/api/index.d.ts +0 -33
- package/dist/api/types-extra.d.ts +0 -37
- package/dist/api.js +0 -2
- package/dist/badge-D9XWW4GT.js +0 -53
- package/dist/border-progress.d.ts +0 -1
- package/dist/border-progress.js +0 -98
- package/dist/button-5dY1Dvhd.js +0 -125
- package/dist/cn-DJXf4yaB.js +0 -97
- package/dist/coalesceMetric-5qIeZnTx.js +0 -13
- package/dist/color-Cs0-oxYL.js +0 -116
- package/dist/components/custom/aurora/Aurora.vue.d.ts +0 -101
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +0 -39
- package/dist/components/custom/aurora/composables/atoms.d.ts +0 -142
- package/dist/components/custom/aurora/composables/color.d.ts +0 -93
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +0 -78
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +0 -39
- package/dist/components/custom/aurora/composables/glSetup.d.ts +0 -29
- package/dist/components/custom/aurora/composables/runtime.d.ts +0 -127
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -100
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +0 -60
- package/dist/components/custom/aurora/composables/useAurora.d.ts +0 -86
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +0 -33
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +0 -37
- package/dist/components/custom/aurora/constants/presets.d.ts +0 -229
- package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +0 -2
- package/dist/components/custom/aurora/index.d.ts +0 -13
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +0 -46
- package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +0 -25
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +0 -18
- package/dist/components/custom/border-progress/constants.d.ts +0 -59
- package/dist/components/custom/border-progress/index.d.ts +0 -4
- package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +0 -21
- package/dist/components/custom/completion-seal/constants.d.ts +0 -46
- package/dist/components/custom/concentric/Concentric.vue.d.ts +0 -39
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +0 -18
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +0 -22
- package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +0 -14
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +0 -35
- package/dist/components/custom/concentric/constants.d.ts +0 -67
- package/dist/components/custom/concentric/index.d.ts +0 -5
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +0 -4
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +0 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +0 -139
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +0 -79
- package/dist/components/custom/configurator/density.d.ts +0 -25
- package/dist/components/custom/configurator/index.d.ts +0 -6
- package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +0 -32
- package/dist/components/custom/confirm-dialog/index.d.ts +0 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -33
- package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +0 -10
- package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +0 -19
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +0 -19
- package/dist/components/custom/constellation/constants.d.ts +0 -94
- package/dist/components/custom/constellation/constellationTypes.d.ts +0 -407
- package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +0 -46
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +0 -29
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +0 -62
- package/dist/components/custom/dock/DockLayer.vue.d.ts +0 -34
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +0 -51
- package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +0 -29
- package/dist/components/custom/dock/DockStack.vue.d.ts +0 -65
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +0 -39
- package/dist/components/custom/dock/GlassDock.vue.d.ts +0 -31
- package/dist/components/custom/dock/composables/dockContext.d.ts +0 -47
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +0 -36
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -93
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +0 -155
- package/dist/components/custom/dock/composables/index.d.ts +0 -13
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +0 -44
- package/dist/components/custom/dock/composables/useDockSearch.d.ts +0 -85
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -176
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -90
- package/dist/components/custom/dock/constants.d.ts +0 -87
- package/dist/components/custom/dock/index.d.ts +0 -21
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +0 -42
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +0 -83
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +0 -39
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +0 -35
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +0 -31
- package/dist/components/custom/dot-flow-field/constants.d.ts +0 -69
- package/dist/components/custom/dot-flow-field/index.d.ts +0 -5
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +0 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +0 -4
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +0 -1
- package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +0 -43
- package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +0 -89
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -52
- package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +0 -34
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +0 -27
- package/dist/components/custom/dot-matrix/constants.d.ts +0 -58
- package/dist/components/custom/dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +0 -4
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +0 -1
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -71
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +0 -54
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +0 -15
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +0 -20
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +0 -41
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +0 -42
- package/dist/components/custom/fourier-field/constants.d.ts +0 -64
- package/dist/components/custom/fourier-field/index.d.ts +0 -31
- package/dist/components/custom/fourier-field/math.d.ts +0 -86
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +0 -4
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +0 -1
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -49
- package/dist/components/custom/glass-panel/index.d.ts +0 -2
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +0 -71
- package/dist/components/custom/goo-blob/composables/easing.d.ts +0 -6
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +0 -62
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +0 -15
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +0 -69
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +0 -23
- package/dist/components/custom/goo-blob/constants.d.ts +0 -57
- package/dist/components/custom/goo-blob/index.d.ts +0 -7
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +0 -1
- package/dist/components/custom/goo-blob/types.d.ts +0 -195
- package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +0 -49
- package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +0 -24
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +0 -50
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -35
- package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +0 -31
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +0 -76
- package/dist/components/custom/goo-dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +0 -11
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +0 -3
- package/dist/components/custom/handmark/brush.d.ts +0 -269
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +0 -89
- package/dist/components/custom/handmark/constants.d.ts +0 -39
- package/dist/components/custom/handmark/geometry.d.ts +0 -52
- package/dist/components/custom/handmark/index.d.ts +0 -27
- package/dist/components/custom/handmark/types.d.ts +0 -62
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
- package/dist/components/custom/header-ribbon/index.d.ts +0 -2
- package/dist/components/custom/header-ribbon/types.d.ts +0 -7
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +0 -132
- package/dist/components/custom/hover-popover/index.d.ts +0 -1
- package/dist/components/custom/icon-chip/types.d.ts +0 -82
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -40
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +0 -108
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +0 -120
- package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +0 -42
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +0 -90
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +0 -16
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +0 -19
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +0 -16
- package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +0 -31
- package/dist/components/custom/paper-grid/constants.d.ts +0 -57
- package/dist/components/custom/paper-grid/index.d.ts +0 -5
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +0 -4
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +0 -1
- package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +0 -20
- package/dist/components/custom/scrolling-text/index.d.ts +0 -1
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +0 -22
- package/dist/components/custom/search/SearchBar.vue.d.ts +0 -38
- package/dist/components/custom/search/searchVariants.d.ts +0 -19
- package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +0 -50
- package/dist/components/custom/selectable-chip/index.d.ts +0 -2
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +0 -23
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableList.vue.d.ts +0 -76
- package/dist/components/custom/sortable-list/context.d.ts +0 -25
- package/dist/components/custom/sortable-list/index.d.ts +0 -4
- package/dist/components/custom/split-chars/SplitChars.vue.d.ts +0 -39
- package/dist/components/custom/stacked-icons/types.d.ts +0 -18
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +0 -99
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +0 -42
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +0 -58
- package/dist/components/custom/tabs/constants.d.ts +0 -36
- package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +0 -49
- package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +0 -114
- package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +0 -29
- package/dist/components/custom/timeline/geometry.d.ts +0 -100
- package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +0 -41
- package/dist/components/custom/toggle-chip/index.d.ts +0 -17
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +0 -72
- package/dist/components/custom/watercolor-dot/prng.d.ts +0 -5
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +0 -29
- package/dist/components/ui/_shared/index.d.ts +0 -6
- package/dist/components/ui/_shared/menuItemVariants.d.ts +0 -51
- package/dist/components/ui/_shared/useControlSize.d.ts +0 -46
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +0 -41
- package/dist/components/ui/alert/Alert.vue.d.ts +0 -19
- package/dist/components/ui/alert/index.d.ts +0 -8
- package/dist/components/ui/avatar/Avatar.vue.d.ts +0 -23
- package/dist/components/ui/avatar/index.d.ts +0 -9
- package/dist/components/ui/badge/Badge.vue.d.ts +0 -20
- package/dist/components/ui/badge/index.d.ts +0 -7
- package/dist/components/ui/button/Button.vue.d.ts +0 -28
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/card/Card.vue.d.ts +0 -168
- package/dist/components/ui/card/CardHeader.vue.d.ts +0 -81
- package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -37
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -16
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -22
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -22
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +0 -50
- package/dist/components/ui/carousel/useCarousel.d.ts +0 -20
- package/dist/components/ui/combobox/Combobox.vue.d.ts +0 -29
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +0 -32
- package/dist/components/ui/command/index.d.ts +0 -9
- package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -24
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
- package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -22
- package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
- package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
- package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
- package/dist/components/ui/context-menu/index.d.ts +0 -12
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -84
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -67
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -47
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +0 -17
- package/dist/components/ui/drawer/constants.d.ts +0 -45
- package/dist/components/ui/drawer/index.d.ts +0 -25
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +0 -18
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +0 -23
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -14
- package/dist/components/ui/hover-card/index.d.ts +0 -3
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +0 -46
- package/dist/components/ui/metric-pill/index.d.ts +0 -1
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +0 -28
- package/dist/components/ui/multi-select/index.d.ts +0 -7
- package/dist/components/ui/notification/Notification.vue.d.ts +0 -16
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -18
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -42
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
- package/dist/components/ui/progress/Progress.vue.d.ts +0 -49
- package/dist/components/ui/progress/index.d.ts +0 -5
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -33
- package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -14
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -59
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
- package/dist/components/ui/sheet/index.d.ts +0 -13
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -28
- package/dist/components/ui/slider/index.d.ts +0 -46
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -19
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -18
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +0 -11
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -28
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
- package/dist/components/ui/tabs/index.d.ts +0 -5
- package/dist/components/ui/toast/Toast.vue.d.ts +0 -107
- package/dist/components/ui/toast/index.d.ts +0 -9
- package/dist/components/ui/toast/use-toast.d.ts +0 -182
- package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -29
- package/dist/components/ui/toggle/index.d.ts +0 -26
- package/dist/composables/glass/useGlassRenderer.d.ts +0 -44
- package/dist/composables/glass/useVizChoreography.d.ts +0 -123
- package/dist/composables/sortable/dragController.d.ts +0 -44
- package/dist/composables/sortable/types.d.ts +0 -133
- package/dist/composables/sortable/useSortable.d.ts +0 -34
- package/dist/concentric.d.ts +0 -1
- package/dist/concentric.js +0 -836
- package/dist/confirm-dialog.d.ts +0 -1
- package/dist/confirm-dialog.js +0 -82
- package/dist/context-menu.d.ts +0 -1
- package/dist/context-menu.js +0 -3
- package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
- package/dist/dockContext-BNfyPLe9.js +0 -17
- package/dist/dot-flow-field.d.ts +0 -1
- package/dist/dot-flow-field.js +0 -894
- package/dist/dot-matrix.d.ts +0 -1
- package/dist/dot-matrix.js +0 -630
- package/dist/dotMatrixField-D_x9_1qq.js +0 -48
- package/dist/dropdown-menu-aJmV5SqE.js +0 -369
- package/dist/glass-panel.d.ts +0 -1
- package/dist/glass-panel.js +0 -113
- package/dist/goo-blob.d.ts +0 -1
- package/dist/goo-blob.js +0 -346
- package/dist/goo-dot-matrix.d.ts +0 -1
- package/dist/goo-dot-matrix.js +0 -591
- package/dist/hover-card.d.ts +0 -1
- package/dist/hover-card.js +0 -2
- package/dist/hover-popover.d.ts +0 -1
- package/dist/hover-popover.js +0 -2
- package/dist/math-Eb0w3LqU.js +0 -51
- package/dist/menuItemVariants-D8VNHq22.js +0 -36
- package/dist/paper-grid.d.ts +0 -1
- package/dist/paper-grid.js +0 -788
- package/dist/presets-CvOUqtdY.js +0 -84
- package/dist/prng-B-d9eYX8.js +0 -15
- package/dist/resolveCanvasColor-yPyIpJt9.js +0 -93
- package/dist/scrolling-text.d.ts +0 -1
- package/dist/scrolling-text.js +0 -2
- package/dist/selectable-chip.d.ts +0 -1
- package/dist/selectable-chip.js +0 -65
- package/dist/sheet-B2flBfLH.js +0 -218
- package/dist/sheet.d.ts +0 -1
- package/dist/sheet.js +0 -2
- package/dist/slider-2A0rPn79.js +0 -142
- package/dist/spectrum-walk-BVzA7Biz.js +0 -33
- package/dist/springPresets-Ce7OYCm9.js +0 -46
- package/dist/styles/border-progress.css +0 -109
- package/dist/styles/critical-partition.mjs +0 -162
- package/dist/styles/critical.css +0 -12
- package/dist/styles/deferred.css +0 -33
- package/dist/styles/dock/morph-bridge.css +0 -159
- package/dist/styles/dock/stack-rail.css +0 -264
- package/dist/styles/floating-panel.css +0 -51
- package/dist/styles/hover-popover.css +0 -47
- package/dist/toggle-chip.d.ts +0 -1
- package/dist/toggle-chip.js +0 -73
- package/dist/uniformBridgeWGPU-CtAKl45L.js +0 -1204
- package/dist/useAnimatedNumber-CLrxicG9.js +0 -40
- package/dist/useConfiguratorState-4xblKfwd.js +0 -162
- package/dist/useControlSize-SH1UmJCi.js +0 -9
- package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
- package/dist/useDragMorph-BUgAC-zK.js +0 -102
- package/dist/useFuzzySearch-DIhcYtcw.js +0 -177
- package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
- package/dist/useIntersectionPause-Dbozzjgm.js +0 -53
- package/dist/useKeyboardShortcuts-BPRp33Im.js +0 -99
- package/dist/useLiquidFlex-UmA6LMZu.js +0 -30
- package/dist/useLiquidPress-BooG97RY.js +0 -39
- package/dist/usePointerVelocityField-QLsy3_kv.js +0 -91
- package/dist/useScrollChrome-D66AVP7C.js +0 -258
- package/dist/useScrollProgress-c3yxmH6a.js +0 -35
- package/dist/useSortable-BVqlJRBR.js +0 -246
- package/dist/useSpring-C0jyvEJB.js +0 -40
- package/dist/useSpringMount-BWDnKIwh.js +0 -71
- package/dist/useSpringPress-B1-Czp-V.js +0 -36
- package/dist/useSurfaceAxis-g0NloYEF.js +0 -7
- package/dist/useTouchGate-CBZTD4SD.js +0 -84
- package/dist/useUserInvalidAria-y5namzeE.js +0 -29
- package/dist/useViewTransition-CUI1nAgn.js +0 -95
- package/dist/utils/cn.d.ts +0 -27
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/moveBefore.d.ts +0 -15
- package/dist/utils/platformSupport.d.ts +0 -8
- package/dist/vendor-B2qOlYY3.js +0 -239
- package/dist/virtual.d.ts +0 -1
- package/dist/virtual.js +0 -225
- package/src/styles/border-progress.css +0 -109
- package/src/styles/critical-partition.mjs +0 -162
- package/src/styles/dock/morph-bridge.css +0 -159
- package/src/styles/dock/stack-rail.css +0 -264
- package/src/styles/floating-panel.css +0 -49
- package/src/styles/hover-popover.css +0 -45
- /package/dist/{compile-nZ1xVYTp.js → compile-C55K3P9g.js} +0 -0
- /package/dist/components/{ui/_shared → _shared}/ModalOverlay.vue.d.ts +0 -0
- /package/dist/components/{ui/_shared → _shared}/useStalePropWarning.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/Accordion.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionContent.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionItem.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/index.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertTitle.vue.d.ts +0 -0
- /package/dist/components/{custom/animated-digit → animated-digit}/AnimatedDigit.vue.d.ts +0 -0
- /package/dist/components/{custom/animated-digit → animated-digit}/index.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/auroraFallbackGround.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/configSource.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/budget.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/renderMode.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.frag.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.vert.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/composition.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/oil-modes.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/procedural-color.wgsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/tonemap.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/vangogh-medium.glsl.d.ts +0 -0
- /package/dist/components/{ui/avatar → avatar}/AvatarFallback.vue.d.ts +0 -0
- /package/dist/components/{ui/avatar → avatar}/AvatarImage.vue.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/buildMetaballProgram.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/uniformBridgeWGPU.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/useBlobMood.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-noise.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-palette.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.frag.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.vert.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/oklch-perturb.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/sdf-body.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/watercolor-edges.glsl.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardAction.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardContent.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/ScrollCard.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/ScrollCardHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/index.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselItem.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselPager.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/index.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/interface.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/Checkbox.vue.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/Collapsible.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleContent.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/index.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/ColorSwatch.vue.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/index.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxAnchor.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxInput.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItemIndicator.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxViewport.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/index.d.ts +0 -0
- /package/dist/components/{ui/command → command}/Command.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandDialog.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandInput.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandItem.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandList.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandShortcut.vue.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/composables/useCompletionSeal.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/index.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/ConfiguratorLayer.vue.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/useConfiguratorState.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/composables/createConstellationField.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/composables/uniformBridgeWGPU.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationField.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationInteraction.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationRender.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationWell.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/index.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.glsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-lines.wgsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.glsl.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/shaders/constellation-points.wgsl.d.ts +0 -0
- /package/dist/components/{custom/controls → controls}/DarkModeToggle.vue.d.ts +0 -0
- /package/dist/components/{custom/controls → controls}/index.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/DataTable.vue.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/DataTablePagination.vue.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableResponsive.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableRowIdentity.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/index.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/types.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/DeckPager.vue.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeck.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeckKeyboard.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeckSpring.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/constants.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/index.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/Dialog.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogClose.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogScrollContent.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/index.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSection.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSeparator.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/isTeleportedTarget.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockClickIntegrity.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockHold.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockState.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerOverlay.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/composables/drawerSnapContext.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuCheckboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuShortcut.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSub.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubContent.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuTrigger.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/EasingConfigurator.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/EasingPicker.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/composables/useEasingPicker.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/constants.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/index.d.ts +0 -0
- /package/dist/components/{custom/expandable-container → expandable-container}/index.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/FadingScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/composables/useFadingScroll.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/constants.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/index.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/FocusScope.vue.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/index.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/presets.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/shaders/fourier-field.compute.wgsl.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/HandMark.vue.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/freehand.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/ink.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/texture.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/IconChip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/index.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/IconTooltip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/InfiniteScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/useInfiniteScroll.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/index.d.ts +0 -0
- /package/dist/components/{ui/input → input}/Input.vue.d.ts +0 -0
- /package/dist/components/{ui/input → input}/index.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/ChassisDivider.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/InstrumentChassis.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/index.d.ts +0 -0
- /package/dist/components/{ui/label → label}/Label.vue.d.ts +0 -0
- /package/dist/components/{ui/label → label}/index.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledField.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledInput.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSelect.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSlider.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSwitch.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/index.d.ts +0 -0
- /package/dist/{utils/coalesceMetric.d.ts → components/metric/coalesce-metric.d.ts} +0 -0
- /package/dist/components/{custom/metric-badge → metric-badge}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-cell → metric-cell}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-stack → metric-stack}/MetricStack.vue.d.ts +0 -0
- /package/dist/components/{custom/metric-stack → metric-stack}/index.d.ts +0 -0
- /package/dist/components/{ui/notification → notification}/index.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberField.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldContent.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldDecrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldIncrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldInput.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/PagerDots.vue.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/pagerWindow.d.ts +0 -0
- /package/dist/components/{custom/paper-backdrop → paper-backdrop}/PaperBackdrop.vue.d.ts +0 -0
- /package/dist/components/{custom/paper-backdrop → paper-backdrop}/index.d.ts +0 -0
- /package/dist/components/{ui/popover → popover}/index.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressDefault.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressGradient.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/ProgressSectioned.vue.d.ts +0 -0
- /package/dist/components/{ui/progress → progress}/useProgressGeometry.d.ts +0 -0
- /package/dist/components/{custom/pulse → pulse}/Pulse.vue.d.ts +0 -0
- /package/dist/components/{custom/pulse → pulse}/index.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/fuzzySearchIndex.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/useFuzzySearch.d.ts +0 -0
- /package/dist/components/{custom/search → search}/index.d.ts +0 -0
- /package/dist/components/{ui/section → section}/Section.vue.d.ts +0 -0
- /package/dist/components/{ui/section → section}/index.d.ts +0 -0
- /package/dist/components/{ui/select → select}/Select.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectItem.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollDownButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollUpButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectValue.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/index.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/Separator.vue.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/index.d.ts +0 -0
- /package/dist/components/{ui/skeleton → skeleton}/Skeleton.vue.d.ts +0 -0
- /package/dist/components/{ui/skeleton → skeleton}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/dropResolver.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/ghostRenderer.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/touchGate.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/transitionTiming.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/SpaView.vue.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/index.d.ts +0 -0
- /package/dist/components/{custom/split-chars → split-chars}/index.d.ts +0 -0
- /package/dist/components/{custom/stacked-icons → stacked-icons}/StackedIconGroup.vue.d.ts +0 -0
- /package/dist/components/{custom/stacked-icons → stacked-icons}/index.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/StatusDot.vue.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/index.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/Switch.vue.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/index.d.ts +0 -0
- /package/dist/components/{ui/table → table}/Table.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableBody.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCaption.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCell.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHead.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableRow.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/index.d.ts +0 -0
- /package/dist/components/{custom/tabs → tabs}/index.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInput.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputInput.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItem.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemDelete.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemText.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/index.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/Textarea.vue.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ContinuousRail.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ContinuousTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/SegmentedTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/types.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastAction.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastClose.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/Toaster.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/index.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/toggleGroupContext.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/Tooltip.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipContent.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipProvider.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/TypewriterText.vue.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/composables/useTypewriter.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/types.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/keyboard.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/pausePatterns.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/timing.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/typoStateMachine.d.ts +0 -0
- /package/dist/components/{custom/watercolor-dot → watercolor-dot}/index.d.ts +0 -0
- /package/dist/{utils → composables/glass/procedural}/prng.d.ts +0 -0
- /package/dist/{constants--C2DkLW8.js → constants-D8lSMkOz.js} +0 -0
- /package/dist/{createContext-CpBNTRMI.js → createContext-BQ1Gy_LB.js} +0 -0
- /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-CVqPSj8_.js} +0 -0
- /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-ByduxnzV.js} +0 -0
- /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-DzYqPQ6V.js} +0 -0
- /package/dist/{supportsCssTimeline-BWenxvHU.js → supportsCssTimeline-Ie4xJFbD.js} +0 -0
- /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-DjKMEQE2.js} +0 -0
- /package/dist/{useInterval-CNdua40W.js → useInterval-ZATRi-1T.js} +0 -0
- /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DDuoBeBo.js} +0 -0
- /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-DVT5kwv6.js} +0 -0
- /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-C46Le9u_.js} +0 -0
- /package/dist/{useTimer-BHJOKr35.js → useTimer-CkDV8SC2.js} +0 -0
- /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-c0isoKL8.js} +0 -0
- /package/dist/{vReveal-D9k0jADx.js → vReveal-DUmiEkX_.js} +0 -0
- /package/dist/{vSpecular-EX7loENl.js → vSpecular-DlYN0UZy.js} +0 -0
package/dist/dock.js
CHANGED
|
@@ -1,34 +1,36 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
|
+
import { t } from "./motionTempo-CMS5b0Vu.js";
|
|
3
|
+
import { n } from "./springPresets-h5VKJQqG.js";
|
|
4
|
+
import { t as r } from "./vSpecular-DlYN0UZy.js";
|
|
5
|
+
import { t as i } from "./useLiquidPress-BXNHydZh.js";
|
|
6
|
+
import { t as a } from "./useMotionAxis-DCCXMC-i.js";
|
|
7
|
+
import { t as o } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
8
|
+
import { t as s } from "./useResizeObserver-DDuoBeBo.js";
|
|
9
|
+
import { t as c } from "./useTouchGate-BlegwvwL.js";
|
|
10
|
+
import { n as l } from "./useResolveTokenColor-DVT5kwv6.js";
|
|
11
|
+
import { n as u, t as d } from "./createContext-BQ1Gy_LB.js";
|
|
12
|
+
import { a as f, i as p, n as m, o as h, r as g, s as _, t as v } from "./dockContext-d-WpJN2Z.js";
|
|
13
|
+
import { t as y } from "./FadingScroll-BSRLqQCx.js";
|
|
14
|
+
import { t as b } from "./useDragMorph-65ihHePq.js";
|
|
15
|
+
import { t as x } from "./useDockCtaReceive-BgMmeINo.js";
|
|
16
|
+
import { t as S } from "./useRAFLoop-CvOo_kgb.js";
|
|
17
|
+
import { t as C } from "./useIntersectionPause-Cmt5Tnv9.js";
|
|
18
|
+
import { n as w, t as T } from "./useSelectionGroup-Btpf24aY.js";
|
|
19
|
+
import { t as E } from "./useFuzzySearch-KslRxiJY.js";
|
|
20
|
+
import { Fragment as D, computed as O, createBlock as k, createCommentVNode as A, createElementBlock as j, createElementVNode as M, createVNode as N, defineComponent as P, mergeModels as F, mergeProps as I, nextTick as L, normalizeClass as R, normalizeStyle as z, onBeforeUnmount as ee, onMounted as te, onScopeDispose as B, onUnmounted as V, openBlock as H, readonly as U, ref as W, renderList as G, renderSlot as K, resolveDynamicComponent as q, toDisplayString as ne, toValue as re, unref as J, useId as ie, useModel as ae, useTemplateRef as Y, watch as X, withCtx as Z, withDirectives as Q, withKeys as oe } from "vue";
|
|
21
|
+
import { DropdownMenuTrigger as se, PopoverTrigger as ce, Primitive as le, SelectIcon as ue, SelectTrigger as de } from "reka-ui";
|
|
22
|
+
import { ChevronDown as fe, Layers as pe, Pause as me, Play as he } from "@lucide/vue";
|
|
23
|
+
import { SpringProgress as ge } from "@mkbabb/keyframes.js";
|
|
24
|
+
import { rawOklabToOklch as _e, srgbToOKLab as ve } from "@mkbabb/value.js";
|
|
25
|
+
//#region src/composables/glass/backdropSampleMath.ts
|
|
21
26
|
function ye(e) {
|
|
22
|
-
return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
|
|
23
|
-
}
|
|
24
|
-
function be(e) {
|
|
25
27
|
let t = e / 255;
|
|
26
28
|
return t <= .03928 ? t / 12.92 : ((t + .055) / 1.055) ** 2.4;
|
|
27
29
|
}
|
|
28
|
-
function
|
|
29
|
-
return .2126 *
|
|
30
|
+
function be(e, t, n) {
|
|
31
|
+
return .2126 * ye(e) + .7152 * ye(t) + .0722 * ye(n);
|
|
30
32
|
}
|
|
31
|
-
function
|
|
33
|
+
function xe(e) {
|
|
32
34
|
let t = e.match(/rgba?\(\s*([\d.]+)[,\s]+([\d.]+)[,\s]+([\d.]+)(?:[,\s/]+([\d.]+))?/i);
|
|
33
35
|
return t ? [
|
|
34
36
|
Number(t[1]),
|
|
@@ -37,468 +39,487 @@ function Se(e) {
|
|
|
37
39
|
t[4] === void 0 ? 1 : Number(t[4])
|
|
38
40
|
] : null;
|
|
39
41
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
function Se(e) {
|
|
43
|
+
return typeof HTMLCanvasElement < "u" && e instanceof HTMLCanvasElement;
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/composables/glass/ambientHueHistogram.ts
|
|
47
|
+
var $ = 12, Ce = .72, we = .06, Te = .004;
|
|
48
|
+
function Ee() {
|
|
49
|
+
return {
|
|
50
|
+
weight: new Float64Array($),
|
|
51
|
+
sumCos: new Float64Array($),
|
|
52
|
+
sumSin: new Float64Array($),
|
|
53
|
+
totalMass: 0,
|
|
54
|
+
n: 0
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function De(e, t, n, r, i) {
|
|
58
|
+
e.n++;
|
|
59
|
+
let [a, o, s] = ve(t, n, r), [, c, l] = _e(a, o, s);
|
|
60
|
+
if (!Number.isFinite(c) || !Number.isFinite(l) || c <= 0) return;
|
|
61
|
+
let u = c * i;
|
|
62
|
+
if (u <= 0) return;
|
|
63
|
+
let d = l * Math.PI / 180, f = Math.floor(l / 360 * $) % $;
|
|
64
|
+
f < 0 && (f += $), e.weight[f] += u, e.sumCos[f] += u * Math.cos(d), e.sumSin[f] += u * Math.sin(d), e.totalMass += u;
|
|
65
|
+
}
|
|
66
|
+
function Oe(e) {
|
|
67
|
+
if (e.n === 0 || e.totalMass / e.n < Te) return "transparent";
|
|
68
|
+
let t = 0;
|
|
69
|
+
for (let n = 1; n < $; n++) e.weight[n] > e.weight[t] && (t = n);
|
|
70
|
+
if (e.weight[t] <= 0) return "transparent";
|
|
71
|
+
let n = Math.atan2(e.sumSin[t], e.sumCos[t]) * 180 / Math.PI;
|
|
72
|
+
return n < 0 && (n += 360), `oklch(${Ce} ${we} ${n.toFixed(1)})`;
|
|
73
|
+
}
|
|
74
|
+
var ke = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
|
|
75
|
+
function Ae(e) {
|
|
76
|
+
if (!e) {
|
|
77
|
+
if (typeof document < "u") {
|
|
78
|
+
let e = document.querySelector(ke);
|
|
79
|
+
if (Se(e)) return e;
|
|
80
|
+
}
|
|
81
|
+
return null;
|
|
82
|
+
}
|
|
83
|
+
if (Se(e)) return e;
|
|
43
84
|
if (typeof e == "function") {
|
|
44
85
|
let t = e();
|
|
45
|
-
return
|
|
86
|
+
return Se(t) ? t : null;
|
|
46
87
|
}
|
|
47
88
|
if (typeof e == "string" && typeof document < "u") {
|
|
48
89
|
let t = document.querySelector(e);
|
|
49
|
-
return
|
|
90
|
+
return Se(t) ? t : null;
|
|
50
91
|
}
|
|
51
92
|
return null;
|
|
52
93
|
}
|
|
53
|
-
function
|
|
54
|
-
let
|
|
94
|
+
function je(e, t) {
|
|
95
|
+
let n = xe(e);
|
|
96
|
+
if (n) return n;
|
|
97
|
+
if (!t) return null;
|
|
98
|
+
try {
|
|
99
|
+
t.clearRect(0, 0, 1, 1), t.fillStyle = "rgba(0,0,0,0)", t.fillStyle = e, t.fillRect(0, 0, 1, 1);
|
|
100
|
+
let n = t.getImageData(0, 0, 1, 1).data;
|
|
101
|
+
return [
|
|
102
|
+
n[0],
|
|
103
|
+
n[1],
|
|
104
|
+
n[2],
|
|
105
|
+
n[3] / 255
|
|
106
|
+
];
|
|
107
|
+
} catch {
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
function Me(e, t, n) {
|
|
112
|
+
if (!t || t.width === 0 || t.height === 0 || !n) return null;
|
|
113
|
+
let r = e.getBoundingClientRect(), i = t.getBoundingClientRect();
|
|
114
|
+
if (i.width === 0 || i.height === 0) return null;
|
|
115
|
+
let a = t.width / i.width, o = t.height / i.height, s = Math.max(0, (r.left - i.left) * a), c = Math.max(0, (r.top - i.top) * o), l = Math.min(t.width - s, Math.max(1, r.width * a)), u = Math.min(t.height - c, Math.max(1, r.height * o));
|
|
116
|
+
if (l <= 0 || u <= 0) return null;
|
|
117
|
+
try {
|
|
118
|
+
n.clearRect(0, 0, 32, 32), n.drawImage(t, s, c, l, u, 0, 0, 32, 32);
|
|
119
|
+
let e = n.getImageData(0, 0, 32, 32).data, r = 0, i = 0, a = 0, o = Ee();
|
|
120
|
+
for (let t = 0; t < e.length; t += 4) {
|
|
121
|
+
let n = e[t + 3] / 255, s = e[t] * n + 255 * (1 - n), c = e[t + 1] * n + 255 * (1 - n), l = e[t + 2] * n + 255 * (1 - n);
|
|
122
|
+
r += be(s, c, l), i += n, De(o, s, c, l, n), a++;
|
|
123
|
+
}
|
|
124
|
+
return a === 0 || i / a < .02 ? null : {
|
|
125
|
+
luma: r / a,
|
|
126
|
+
ambientHue: Oe(o)
|
|
127
|
+
};
|
|
128
|
+
} catch {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function Ne(e, t) {
|
|
133
|
+
let n = e.getBoundingClientRect(), r = n.left + n.width / 2, i = n.top + n.height / 2, a = document.elementsFromPoint(r, i);
|
|
134
|
+
for (let n of a) {
|
|
135
|
+
if (!(n instanceof HTMLElement) || n === e || e.contains(n)) continue;
|
|
136
|
+
let r = getComputedStyle(n).backgroundColor, i = je(l(r, e), t);
|
|
137
|
+
if (i && !(i[3] < .5)) return Pe(i);
|
|
138
|
+
}
|
|
139
|
+
let o = je(l(getComputedStyle(document.body).backgroundColor, e), t);
|
|
140
|
+
return o ? Pe(o) : null;
|
|
141
|
+
}
|
|
142
|
+
function Pe(e) {
|
|
143
|
+
let t = Ee();
|
|
144
|
+
return De(t, e[0], e[1], e[2], e[3]), {
|
|
145
|
+
luma: be(e[0], e[1], e[2]),
|
|
146
|
+
ambientHue: Oe(t)
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
//#endregion
|
|
150
|
+
//#region src/composables/glass/useGlassBackdropLuminance.ts
|
|
151
|
+
var Fe = "(prefers-reduced-motion: reduce)", Ie = "data-glass-backdrop-shared", Le = "8%";
|
|
152
|
+
function Re(e, t = {}) {
|
|
153
|
+
let { lightThreshold: n = .6, minSampleIntervalMs: r = 250, writeBucket: i = !0 } = t, a = Math.max(250, r), o = t.shared === !0;
|
|
154
|
+
function c(e) {
|
|
155
|
+
return o ? !1 : e.closest(`[${Ie}]`) !== null;
|
|
156
|
+
}
|
|
157
|
+
let l = W(null), u = W(null);
|
|
55
158
|
if (typeof window > "u") return {
|
|
56
|
-
luma: U(
|
|
57
|
-
bucket: U(
|
|
159
|
+
luma: U(l),
|
|
160
|
+
bucket: U(u),
|
|
58
161
|
sampleNow: () => {},
|
|
59
162
|
dispose: () => {}
|
|
60
163
|
};
|
|
61
|
-
let
|
|
62
|
-
function m() {
|
|
63
|
-
return f || (f = document.createElement("canvas"), f.width = Q, f.height = Q), p ||= f.getContext("2d", { willReadFrequently: !0 }), p;
|
|
64
|
-
}
|
|
164
|
+
let d = window.matchMedia(Fe), f = d.matches, p = null, m = null;
|
|
65
165
|
function h() {
|
|
66
|
-
return
|
|
67
|
-
}
|
|
68
|
-
function g(e) {
|
|
69
|
-
let n = Ce(t.backgroundCanvas);
|
|
70
|
-
if (!n || n.width === 0 || n.height === 0) return null;
|
|
71
|
-
let r = m();
|
|
72
|
-
if (!r) return null;
|
|
73
|
-
let i = e.getBoundingClientRect(), a = n.getBoundingClientRect();
|
|
74
|
-
if (a.width === 0 || a.height === 0) return null;
|
|
75
|
-
let o = n.width / a.width, s = n.height / a.height, c = Math.max(0, (i.left - a.left) * o), l = Math.max(0, (i.top - a.top) * s), u = Math.min(n.width - c, Math.max(1, i.width * o)), d = Math.min(n.height - l, Math.max(1, i.height * s));
|
|
76
|
-
if (u <= 0 || d <= 0) return null;
|
|
77
|
-
try {
|
|
78
|
-
r.clearRect(0, 0, Q, Q), r.drawImage(n, c, l, u, d, 0, 0, Q, Q);
|
|
79
|
-
let e = r.getImageData(0, 0, Q, Q).data, t = 0, i = 0;
|
|
80
|
-
for (let n = 0; n < e.length; n += 4) {
|
|
81
|
-
let r = e[n + 3] / 255, a = e[n] * r + 255 * (1 - r), o = e[n + 1] * r + 255 * (1 - r), s = e[n + 2] * r + 255 * (1 - r);
|
|
82
|
-
t += xe(a, o, s), i++;
|
|
83
|
-
}
|
|
84
|
-
return i > 0 ? t / i : null;
|
|
85
|
-
} catch {
|
|
86
|
-
return null;
|
|
87
|
-
}
|
|
166
|
+
return p || (p = document.createElement("canvas"), p.width = 32, p.height = 32), m ||= p.getContext("2d", { willReadFrequently: !0 }), m;
|
|
88
167
|
}
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if (r && !(r[3] < .5)) return xe(r[0], r[1], r[2]);
|
|
95
|
-
}
|
|
96
|
-
let a = Se(l(getComputedStyle(document.body).backgroundColor, e));
|
|
97
|
-
return a ? xe(a[0], a[1], a[2]) : null;
|
|
168
|
+
function g() {
|
|
169
|
+
return t.live === void 0 ? e.value?.dataset.glassSample === "live" ? !0 : Ae(t.backgroundCanvas) !== null : t.live;
|
|
170
|
+
}
|
|
171
|
+
function _() {
|
|
172
|
+
return t.live === void 0 ? e.value?.dataset.glassSample === "live" || t.backgroundCanvas != null ? !0 : Ae(void 0) !== null : t.live;
|
|
98
173
|
}
|
|
99
174
|
function v(t) {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
175
|
+
let r = t.luma;
|
|
176
|
+
l.value = r;
|
|
177
|
+
let a = e.value;
|
|
178
|
+
if (a && (a.style.setProperty("--glass-backdrop-luma", r.toFixed(3)), a.style.setProperty("--glass-ambient-hue", t.ambientHue), a.style.setProperty("--glass-ambient-strength", t.ambientHue === "transparent" ? "0%" : Le), a.setAttribute("data-backdrop-sampled", ""), a.style.setProperty("--glass-backdrop-sampled", "1"), i)) {
|
|
179
|
+
let e = r >= n ? "light" : "dark";
|
|
180
|
+
u.value = e, a.style.setProperty("--glass-backdrop", e);
|
|
105
181
|
}
|
|
106
182
|
}
|
|
107
183
|
let y = 0;
|
|
108
184
|
function b() {
|
|
109
|
-
let
|
|
110
|
-
if (!
|
|
111
|
-
let
|
|
112
|
-
|
|
185
|
+
let n = e.value;
|
|
186
|
+
if (!n || c(n)) return;
|
|
187
|
+
let r = h(), i = g() ? Me(n, Ae(t.backgroundCanvas), r) ?? Ne(n, r) : Ne(n, r);
|
|
188
|
+
i !== null && v(i), y = typeof performance < "u" ? performance.now() : Date.now();
|
|
113
189
|
}
|
|
114
|
-
let
|
|
115
|
-
|
|
190
|
+
let x = S(({ now: e }) => {
|
|
191
|
+
f || e - y < a || b();
|
|
116
192
|
}, {
|
|
117
193
|
immediate: !1,
|
|
118
194
|
pauseWhenHidden: !0,
|
|
119
195
|
respectReducedMotion: !0
|
|
120
|
-
}),
|
|
121
|
-
pause: () =>
|
|
196
|
+
}), w = C(() => e.value, {
|
|
197
|
+
pause: () => x.pause(),
|
|
122
198
|
resume: () => {
|
|
123
|
-
|
|
199
|
+
let t = e.value;
|
|
200
|
+
t && c(t) || _() && !f && x.resume();
|
|
124
201
|
}
|
|
125
202
|
}, { rootMargin: "200px" }), T = s(e, () => b());
|
|
126
203
|
function E() {
|
|
127
|
-
|
|
204
|
+
f = d.matches;
|
|
205
|
+
let t = e.value;
|
|
206
|
+
if (t && c(t)) {
|
|
207
|
+
x.stop();
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
f ? (x.stop(), b()) : _() && x.start();
|
|
128
211
|
}
|
|
129
212
|
let D = () => E();
|
|
130
|
-
typeof
|
|
131
|
-
let O =
|
|
132
|
-
|
|
213
|
+
typeof d.addEventListener == "function" && d.addEventListener("change", D);
|
|
214
|
+
let O = X(() => e.value, (e) => {
|
|
215
|
+
if (e) {
|
|
216
|
+
if (o) e.setAttribute(Ie, "");
|
|
217
|
+
else if (c(e)) return;
|
|
218
|
+
b(), E();
|
|
219
|
+
}
|
|
133
220
|
}, {
|
|
134
221
|
immediate: !0,
|
|
135
222
|
flush: "post"
|
|
136
223
|
});
|
|
137
224
|
function k() {
|
|
138
|
-
O(),
|
|
225
|
+
O(), x.dispose(), w.dispose(), T.stop(), typeof d.removeEventListener == "function" && d.removeEventListener("change", D), p = null, m = null;
|
|
139
226
|
}
|
|
140
227
|
return B(k), {
|
|
141
|
-
luma: U(
|
|
142
|
-
bucket: U(
|
|
228
|
+
luma: U(l),
|
|
229
|
+
bucket: U(u),
|
|
143
230
|
sampleNow: b,
|
|
144
231
|
dispose: k
|
|
145
232
|
};
|
|
146
233
|
}
|
|
147
234
|
//#endregion
|
|
148
|
-
//#region src/components/
|
|
149
|
-
function
|
|
235
|
+
//#region src/components/dock/composables/isTeleportedTarget.ts
|
|
236
|
+
function ze(e, t) {
|
|
150
237
|
if (!(e instanceof Element)) return !1;
|
|
151
238
|
let n = e.closest("[data-glass-dock-portal]");
|
|
152
239
|
return n ? t ? n.getAttribute("data-glass-dock-owner") === t : !0 : !1;
|
|
153
240
|
}
|
|
154
241
|
//#endregion
|
|
155
|
-
//#region src/components/
|
|
156
|
-
function
|
|
157
|
-
let { collapseDelay: t =
|
|
242
|
+
//#region src/components/dock/composables/useDockState.ts
|
|
243
|
+
function Be(e) {
|
|
244
|
+
let { collapseDelay: t = 3600, rootEl: n, alwaysExpanded: r = !1, isTransitioning: i, dockId: a, onStateChange: o } = e, s = () => typeof r == "boolean" ? r : r.value, c = s(), l = W(c ? "pinned" : "collapsed"), u = W(c), d = W(c), f = null, p = W(0), m = O(() => p.value > 0), h = null, g = null, _ = !1, v = null;
|
|
158
245
|
function y() {
|
|
159
246
|
v &&= (clearTimeout(v), null);
|
|
160
247
|
}
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
if (!t || typeof t.getBoundingClientRect != "function" || !t.hasAttribute("data-morphing")) return !1;
|
|
165
|
-
let r = t.getBoundingClientRect();
|
|
166
|
-
return e.clientX >= r.left && e.clientX <= r.right && e.clientY >= r.top && e.clientY <= r.bottom ? e.clientX - r.left <= 24 || r.right - e.clientX <= 24 || e.clientY - r.top <= 24 || r.bottom - e.clientY <= 24 : !1;
|
|
248
|
+
let b = l.value;
|
|
249
|
+
function x() {
|
|
250
|
+
s() && (l.value = "pinned"), u.value = l.value !== "collapsed", d.value = l.value === "pinned", o && b !== l.value && o(l.value, b), b = l.value;
|
|
167
251
|
}
|
|
168
|
-
let x = l.value;
|
|
169
252
|
function S() {
|
|
170
|
-
|
|
253
|
+
f &&= (clearTimeout(f), null);
|
|
171
254
|
}
|
|
172
255
|
function C() {
|
|
173
|
-
|
|
256
|
+
g !== null && (cancelAnimationFrame(g), g = null);
|
|
174
257
|
}
|
|
175
258
|
function w() {
|
|
176
|
-
|
|
259
|
+
C(), h?.();
|
|
177
260
|
}
|
|
178
261
|
function T() {
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
function E() {
|
|
182
|
-
s() || p.value > 0 || (C(), f = setTimeout(() => {
|
|
183
|
-
D(), l.value = "collapsed", S();
|
|
262
|
+
s() || p.value > 0 || (S(), f = setTimeout(() => {
|
|
263
|
+
l.value = "collapsed", x();
|
|
184
264
|
}, t));
|
|
185
265
|
}
|
|
186
|
-
function
|
|
187
|
-
typeof document > "u" || typeof PointerEvent > "u" || document.body.dispatchEvent(new PointerEvent("pointerdown", {
|
|
188
|
-
bubbles: !0,
|
|
189
|
-
composed: !0
|
|
190
|
-
}));
|
|
191
|
-
}
|
|
192
|
-
function k() {
|
|
266
|
+
function E() {
|
|
193
267
|
if (s()) {
|
|
194
|
-
l.value = "pinned",
|
|
268
|
+
l.value = "pinned", x();
|
|
195
269
|
return;
|
|
196
270
|
}
|
|
197
|
-
_ ||= (_ = !0,
|
|
271
|
+
_ ||= (_ = !0, S(), y(), l.value = "collapsed", x(), !1);
|
|
198
272
|
}
|
|
199
|
-
function
|
|
273
|
+
function D() {
|
|
200
274
|
if (s()) {
|
|
201
|
-
l.value = "pinned",
|
|
275
|
+
l.value = "pinned", x();
|
|
202
276
|
return;
|
|
203
277
|
}
|
|
204
|
-
|
|
278
|
+
S(), y(), l.value = "hover", x();
|
|
205
279
|
}
|
|
206
|
-
function
|
|
207
|
-
s() || (
|
|
208
|
-
v = null, !s() && l.value === "collapsed" && (l.value = "hover",
|
|
280
|
+
function k() {
|
|
281
|
+
s() || (S(), l.value === "collapsed" && (y(), v = setTimeout(() => {
|
|
282
|
+
v = null, !s() && l.value === "collapsed" && (l.value = "hover", x());
|
|
209
283
|
}, 60)));
|
|
210
284
|
}
|
|
211
|
-
function
|
|
285
|
+
function A(e) {
|
|
212
286
|
if (!s() && (y(), l.value === "hover")) {
|
|
213
287
|
if (p.value > 0) return;
|
|
214
288
|
if (e) {
|
|
215
289
|
let t = n.value;
|
|
216
|
-
if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) ||
|
|
290
|
+
if (t && e.relatedTarget instanceof Node && t.contains(e.relatedTarget) || ze(e.relatedTarget, a)) return;
|
|
217
291
|
}
|
|
218
|
-
|
|
292
|
+
T();
|
|
219
293
|
}
|
|
220
294
|
}
|
|
221
|
-
function
|
|
222
|
-
s() || (
|
|
295
|
+
function j() {
|
|
296
|
+
s() || (S(), l.value === "collapsed" && (l.value = "hover", x()));
|
|
223
297
|
}
|
|
224
|
-
function
|
|
298
|
+
function M(e) {
|
|
225
299
|
if (s() || l.value !== "hover" || p.value > 0) return;
|
|
226
300
|
let t = e.currentTarget;
|
|
227
|
-
e.relatedTarget && t.contains(e.relatedTarget) ||
|
|
301
|
+
e.relatedTarget && t.contains(e.relatedTarget) || ze(e.relatedTarget, a) || T();
|
|
228
302
|
}
|
|
229
|
-
function
|
|
303
|
+
function N() {
|
|
230
304
|
if (s()) {
|
|
231
|
-
l.value = "pinned",
|
|
305
|
+
l.value = "pinned", x();
|
|
232
306
|
return;
|
|
233
307
|
}
|
|
234
|
-
|
|
308
|
+
S(), y(), l.value = "pinned", x();
|
|
235
309
|
}
|
|
236
|
-
function
|
|
237
|
-
p.value++,
|
|
310
|
+
function P() {
|
|
311
|
+
p.value++, S();
|
|
238
312
|
}
|
|
239
|
-
function
|
|
240
|
-
p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (
|
|
241
|
-
p.value === 0 && l.value === "hover" &&
|
|
313
|
+
function F() {
|
|
314
|
+
p.value = Math.max(0, p.value - 1), p.value === 0 && l.value === "hover" && (S(), f = setTimeout(() => {
|
|
315
|
+
p.value === 0 && l.value === "hover" && T();
|
|
242
316
|
}, Math.min(t, 800)));
|
|
243
317
|
}
|
|
244
|
-
function
|
|
318
|
+
function I(e) {
|
|
245
319
|
if (s() || i?.value) return;
|
|
246
320
|
let t = n.value;
|
|
247
|
-
!t || t.contains(e.target) ||
|
|
321
|
+
!t || t.contains(e.target) || ze(e.target, a) || E();
|
|
248
322
|
}
|
|
249
|
-
return
|
|
250
|
-
e ? (
|
|
251
|
-
g = null, u.value && (document.addEventListener("pointerdown",
|
|
252
|
-
document.removeEventListener("pointerdown",
|
|
323
|
+
return X(u, (e) => {
|
|
324
|
+
e ? (w(), g = requestAnimationFrame(() => {
|
|
325
|
+
g = null, u.value && (document.addEventListener("pointerdown", I, !0), h = () => {
|
|
326
|
+
document.removeEventListener("pointerdown", I, !0), h = null;
|
|
253
327
|
});
|
|
254
|
-
})) :
|
|
255
|
-
}), typeof r == "boolean" ? r && (l.value = "pinned",
|
|
328
|
+
})) : w();
|
|
329
|
+
}), typeof r == "boolean" ? r && (l.value = "pinned", x()) : X(r, (e) => {
|
|
256
330
|
if (e) {
|
|
257
|
-
|
|
331
|
+
S(), l.value = "pinned", x();
|
|
258
332
|
return;
|
|
259
333
|
}
|
|
260
|
-
l.value = "collapsed",
|
|
334
|
+
l.value = "collapsed", x();
|
|
261
335
|
}, { immediate: !0 }), V(() => {
|
|
262
|
-
|
|
336
|
+
S(), y(), w();
|
|
263
337
|
}), {
|
|
264
338
|
state: l,
|
|
265
339
|
expanded: u,
|
|
266
340
|
isPinned: d,
|
|
267
341
|
isHeld: m,
|
|
268
|
-
onMouseEnter:
|
|
269
|
-
onMouseLeave:
|
|
270
|
-
onFocusIn:
|
|
271
|
-
onFocusOut:
|
|
272
|
-
onClickCollapsed:
|
|
273
|
-
keepOpen:
|
|
274
|
-
release:
|
|
275
|
-
expand:
|
|
276
|
-
collapse:
|
|
342
|
+
onMouseEnter: k,
|
|
343
|
+
onMouseLeave: A,
|
|
344
|
+
onFocusIn: j,
|
|
345
|
+
onFocusOut: M,
|
|
346
|
+
onClickCollapsed: N,
|
|
347
|
+
keepOpen: P,
|
|
348
|
+
release: F,
|
|
349
|
+
expand: D,
|
|
350
|
+
collapse: E
|
|
277
351
|
};
|
|
278
352
|
}
|
|
279
353
|
//#endregion
|
|
280
|
-
//#region src/components/
|
|
281
|
-
function
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
return Number.isFinite(n) && n > 0 ? n : 44;
|
|
299
|
-
}
|
|
300
|
-
function je(e, t, n) {
|
|
301
|
-
let r = [];
|
|
302
|
-
for (let i of n) {
|
|
303
|
-
if (i === e) continue;
|
|
304
|
-
let n = i.containerEl.value;
|
|
305
|
-
n && n !== t && t.contains(n) && r.push(i);
|
|
306
|
-
}
|
|
307
|
-
return r;
|
|
308
|
-
}
|
|
309
|
-
function Me(e) {
|
|
310
|
-
let t = e.containerEl.value;
|
|
311
|
-
if (!t) return () => {};
|
|
312
|
-
let n = Oe(e.axis.value), r = t.style.getPropertyValue(n);
|
|
313
|
-
return t.style.setProperty(n, "max-content"), () => {
|
|
314
|
-
r ? t.style.setProperty(n, r) : t.style.removeProperty(n);
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
function Ne(e, t, n) {
|
|
318
|
-
let r = e.axis.value, i = Oe(r);
|
|
319
|
-
ke(t);
|
|
320
|
-
let a = je(e, t, n).map((e) => Me(e)), o = t.style.getPropertyValue(i);
|
|
321
|
-
t.style.setProperty(i, "max-content");
|
|
322
|
-
let s = $(t, r);
|
|
323
|
-
o ? t.style.setProperty(i, o) : t.style.removeProperty(i);
|
|
324
|
-
for (let e of a) e();
|
|
325
|
-
return s;
|
|
326
|
-
}
|
|
327
|
-
function Pe(e, t, n, r, i) {
|
|
328
|
-
if (t !== e.txId) return;
|
|
329
|
-
let a = e.containerEl.value, o = n;
|
|
330
|
-
if (!a || !o) return;
|
|
331
|
-
let s = e.axis.value, c = Ne(e, a, r);
|
|
332
|
-
a.style.setProperty("--dock-morph-from", `${c}px`), a.style.setProperty("--dock-morph-to", `${c}px`), o.style.setProperty("--dock-morph-t", "1"), a.getBoundingClientRect()[De(s)], i.settleTarget(e), i.maybeSettleRoot();
|
|
333
|
-
}
|
|
334
|
-
function Fe(e, t) {
|
|
335
|
-
for (let n of t) {
|
|
336
|
-
if (n === e) continue;
|
|
337
|
-
let t = n.containerEl.value;
|
|
338
|
-
if (t && t.style.getPropertyValue("--dock-morph-to")) {
|
|
339
|
-
let e = $(t, n.axis.value);
|
|
340
|
-
t.style.setProperty("--dock-morph-from", `${e}px`);
|
|
341
|
-
}
|
|
354
|
+
//#region src/components/dock/composables/useDockSpring.ts
|
|
355
|
+
function Ve(e) {
|
|
356
|
+
let n = null, r = () => n !== null && !n.settled;
|
|
357
|
+
function i() {
|
|
358
|
+
n &&= (n.dispose(), null);
|
|
359
|
+
}
|
|
360
|
+
function a(a, o, s) {
|
|
361
|
+
let c = r() ? n.velocity : 0;
|
|
362
|
+
i();
|
|
363
|
+
let l = new ge({
|
|
364
|
+
response: e.response * t(),
|
|
365
|
+
dampingFraction: e.dampingFraction,
|
|
366
|
+
initial: a,
|
|
367
|
+
respectReducedMotion: !0
|
|
368
|
+
});
|
|
369
|
+
n = l, l.reset(a, c), l.target = o, l.play((e, t) => {
|
|
370
|
+
s.onFrame(e, t), l.settled && (s.onSettle?.(), n === l && i());
|
|
371
|
+
});
|
|
342
372
|
}
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
let g = $(l, n), _ = p ? $(u, n) : 0;
|
|
358
|
-
l.style.removeProperty(d);
|
|
359
|
-
let v = Ae(l), y = g > 0 ? g : v, b = !p || _ > 0 ? _ : Ae(u);
|
|
360
|
-
p && (m && u.style.setProperty("--dock-root-morph-from", m), h && u.style.setProperty("--dock-root-morph-to", h));
|
|
361
|
-
for (let e of f) e();
|
|
362
|
-
c.armTarget(e, t, r, y), a && (Math.abs(b - i) < .5 ? Ie(u) : Le(u, i, b));
|
|
373
|
+
function o(e) {
|
|
374
|
+
r() && (n.target = e);
|
|
375
|
+
}
|
|
376
|
+
return {
|
|
377
|
+
playTo: a,
|
|
378
|
+
retarget: o,
|
|
379
|
+
get live() {
|
|
380
|
+
return r();
|
|
381
|
+
},
|
|
382
|
+
get velocity() {
|
|
383
|
+
return r() ? n.velocity : 0;
|
|
384
|
+
},
|
|
385
|
+
dispose: i
|
|
386
|
+
};
|
|
363
387
|
}
|
|
364
388
|
//#endregion
|
|
365
|
-
//#region src/components/
|
|
366
|
-
var
|
|
367
|
-
function
|
|
368
|
-
|
|
389
|
+
//#region src/components/dock/composables/dockMorphContext.ts
|
|
390
|
+
var He = d(h), { KEY: Ue } = He;
|
|
391
|
+
function We(e) {
|
|
392
|
+
He.provide(e);
|
|
369
393
|
}
|
|
370
|
-
|
|
371
|
-
function
|
|
372
|
-
let { rootEl: t, outerEl: n, outerActiveLayer: r, outerAxis: i } = e, a =
|
|
394
|
+
He.use;
|
|
395
|
+
function Ge(e) {
|
|
396
|
+
let { rootEl: t, outerEl: n, outerActiveLayer: r, outerAxis: i } = e, a = Ve({
|
|
397
|
+
response: _.response,
|
|
398
|
+
dampingFraction: _.dampingFraction
|
|
399
|
+
}), o = /* @__PURE__ */ new Set();
|
|
373
400
|
function s() {
|
|
374
401
|
return t.value;
|
|
375
402
|
}
|
|
376
403
|
function c() {
|
|
377
|
-
|
|
404
|
+
let e = s();
|
|
405
|
+
return !!e && e.hasAttribute("data-morphing");
|
|
378
406
|
}
|
|
379
|
-
function l() {
|
|
380
|
-
|
|
407
|
+
function l(e) {
|
|
408
|
+
e.leavingLayer.value = null;
|
|
381
409
|
}
|
|
382
410
|
function u() {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
if (t && t.style.getPropertyValue("--dock-morph-to")) return !0;
|
|
386
|
-
}
|
|
387
|
-
return !1;
|
|
388
|
-
}
|
|
389
|
-
function d(e) {
|
|
390
|
-
let t = e.containerEl.value;
|
|
391
|
-
t && ke(t), e === b && Ie(s()), e.leavingLayer.value = null;
|
|
392
|
-
}
|
|
393
|
-
function f() {
|
|
394
|
-
if (u()) return;
|
|
395
|
-
let e = s();
|
|
396
|
-
e && (e.style.removeProperty("--dock-morph-t"), e.removeAttribute("data-morphing")), c();
|
|
411
|
+
let t = s();
|
|
412
|
+
t && (t.removeAttribute("data-morphing"), t.removeAttribute("data-pane-swap"), t.style.removeProperty("--dock-morph-t")), e.onMorphActiveChange?.(!1), a.dispose();
|
|
397
413
|
}
|
|
398
|
-
function
|
|
399
|
-
let e
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
if (t && t.style.setProperty("--dock-morph-t", `${e}`), n.settled) {
|
|
412
|
-
for (let e of o) {
|
|
413
|
-
let t = e.containerEl.value;
|
|
414
|
-
t && t.style.getPropertyValue("--dock-morph-to") && d(e);
|
|
415
|
-
}
|
|
416
|
-
f();
|
|
414
|
+
function d() {
|
|
415
|
+
for (let e of o) l(e);
|
|
416
|
+
u();
|
|
417
|
+
}
|
|
418
|
+
function f(t = !1) {
|
|
419
|
+
let n = s();
|
|
420
|
+
n && (e.onMorphActiveChange?.(!0), n.setAttribute("data-morphing", ""), t ? n.setAttribute("data-pane-swap", "") : n.removeAttribute("data-pane-swap"), n.style.setProperty("--dock-morph-t", "0"), a.playTo(0, 1, {
|
|
421
|
+
onFrame: (e) => {
|
|
422
|
+
let t = s();
|
|
423
|
+
t && t.style.setProperty("--dock-morph-t", `${e}`);
|
|
424
|
+
},
|
|
425
|
+
onSettle: () => {
|
|
426
|
+
d();
|
|
417
427
|
}
|
|
418
|
-
});
|
|
428
|
+
}));
|
|
419
429
|
}
|
|
420
|
-
function
|
|
421
|
-
if (t !==
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
if (Math.abs(r - n) < .5) {
|
|
425
|
-
d(e), f();
|
|
430
|
+
function p(e, t, n) {
|
|
431
|
+
if (t !== n) {
|
|
432
|
+
if (!s()) {
|
|
433
|
+
e.currentLayer.value = t, e.leavingLayer.value = null;
|
|
426
434
|
return;
|
|
427
435
|
}
|
|
428
|
-
|
|
436
|
+
e.leavingLayer.value = n, e.currentLayer.value = t, f(!e.isOuter);
|
|
429
437
|
}
|
|
430
438
|
}
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
maybeSettleRoot: f
|
|
434
|
-
};
|
|
435
|
-
function g(e, t, n) {
|
|
436
|
-
if (t === n) return;
|
|
437
|
-
let r = e.containerEl.value, i = s();
|
|
438
|
-
if (!r || !i) {
|
|
439
|
-
e.currentLayer.value = t, e.leavingLayer.value = null;
|
|
440
|
-
return;
|
|
441
|
-
}
|
|
442
|
-
let a = ++e.txId, c = e.axis.value, u = $(r, c), d = e === b ? $(i, c) : 0;
|
|
443
|
-
if (e.leavingLayer.value = n, e.currentLayer.value = t, Fe(e, o), r.style.setProperty("--dock-morph-from", `${u}px`), r.style.setProperty("--dock-morph-to", `${u}px`), i.style.setProperty("--dock-morph-t", "0"), i.setAttribute("data-morphing", ""), e === b && Le(s(), d, d), l()) {
|
|
444
|
-
L(() => Pe(e, a, s(), o, h));
|
|
445
|
-
return;
|
|
446
|
-
}
|
|
447
|
-
L(() => requestAnimationFrame(() => Re(e, a, c, u, d, e === b, s(), o, { armTarget: m })));
|
|
448
|
-
}
|
|
449
|
-
function _(e) {
|
|
450
|
-
let t = {
|
|
439
|
+
function m(e, t = !1) {
|
|
440
|
+
let n = {
|
|
451
441
|
containerEl: e.containerEl,
|
|
452
|
-
activeLayer: e.activeLayer,
|
|
453
442
|
axis: e.axis,
|
|
443
|
+
activeLayer: e.activeLayer,
|
|
454
444
|
currentLayer: W(e.activeLayer.value),
|
|
455
445
|
leavingLayer: W(null),
|
|
456
|
-
|
|
446
|
+
isOuter: t,
|
|
457
447
|
stop: () => {}
|
|
458
448
|
};
|
|
459
|
-
return
|
|
460
|
-
|
|
461
|
-
}), o.add(
|
|
449
|
+
return n.stop = X(e.activeLayer, (e, t) => {
|
|
450
|
+
p(n, e, t);
|
|
451
|
+
}), o.add(n), n;
|
|
462
452
|
}
|
|
463
|
-
function
|
|
464
|
-
e.stop(), o.delete(e),
|
|
453
|
+
function h(e) {
|
|
454
|
+
e.stop(), o.delete(e), c() || a.dispose();
|
|
465
455
|
}
|
|
466
|
-
let
|
|
456
|
+
let g = m({
|
|
467
457
|
containerEl: n,
|
|
468
458
|
activeLayer: r,
|
|
469
459
|
axis: i
|
|
470
|
-
}
|
|
471
|
-
let t = _(e);
|
|
472
|
-
return {
|
|
473
|
-
currentLayer: U(t.currentLayer),
|
|
474
|
-
leavingLayer: U(t.leavingLayer),
|
|
475
|
-
release: () => y(t)
|
|
476
|
-
};
|
|
477
|
-
} };
|
|
478
|
-
function S(e) {
|
|
479
|
-
let t = n.value;
|
|
480
|
-
if (!t || e.target !== t) return;
|
|
481
|
-
let r = Oe(i.value);
|
|
482
|
-
e.propertyName !== r && e.propertyName !== De(i.value) || a && a.settled && (d(b), f());
|
|
483
|
-
}
|
|
460
|
+
}, !0);
|
|
484
461
|
return V(() => {
|
|
485
462
|
for (let e of o) e.stop();
|
|
486
|
-
o.clear(),
|
|
463
|
+
o.clear(), a.dispose();
|
|
487
464
|
}), {
|
|
488
|
-
context:
|
|
489
|
-
|
|
490
|
-
|
|
465
|
+
context: { registerGroup(e) {
|
|
466
|
+
let t = m(e);
|
|
467
|
+
return {
|
|
468
|
+
currentLayer: U(t.currentLayer),
|
|
469
|
+
leavingLayer: U(t.leavingLayer),
|
|
470
|
+
release: () => h(t)
|
|
471
|
+
};
|
|
472
|
+
} },
|
|
473
|
+
outerCurrentLayer: U(g.currentLayer)
|
|
491
474
|
};
|
|
492
475
|
}
|
|
493
476
|
//#endregion
|
|
494
|
-
//#region src/components/
|
|
495
|
-
function
|
|
477
|
+
//#region src/components/dock/composables/dockMorphMeasure.ts
|
|
478
|
+
function Ke(e) {
|
|
479
|
+
return e === "vertical" ? "height" : "width";
|
|
480
|
+
}
|
|
481
|
+
function qe(e, t) {
|
|
482
|
+
return e.getBoundingClientRect()[Ke(t)];
|
|
483
|
+
}
|
|
484
|
+
function Je(e) {
|
|
485
|
+
if (!e || typeof getComputedStyle != "function") return 44;
|
|
486
|
+
let t = getComputedStyle(e).getPropertyValue("--dock-morph-min").trim(), n = Number.parseFloat(t);
|
|
487
|
+
return Number.isFinite(n) && n > 0 ? n : 44;
|
|
488
|
+
}
|
|
489
|
+
function Ye(e) {
|
|
490
|
+
let { rootEl: t, contentEl: n, axis: r, expanded: i } = e, a = null, o = 0, s = 0;
|
|
491
|
+
function c(e) {
|
|
492
|
+
return e.hasAttribute("data-morphing");
|
|
493
|
+
}
|
|
494
|
+
function l() {
|
|
495
|
+
let e = t.value, a = n.value;
|
|
496
|
+
if (!e || !a) return;
|
|
497
|
+
let l = r.value, u = Je(e);
|
|
498
|
+
if (s <= 0 && (s = u), !c(e)) {
|
|
499
|
+
let t = qe(e, l);
|
|
500
|
+
t > 0 && (i.value ? o = t : s = t);
|
|
501
|
+
}
|
|
502
|
+
let d = o > 0 ? o : Math.max(qe(a, l), s), f = Math.max(d, s);
|
|
503
|
+
e.style.setProperty("--dock-collapsed-px", `${s}px`), e.style.setProperty("--dock-expanded-px", `${f}px`);
|
|
504
|
+
}
|
|
505
|
+
function u(e) {
|
|
506
|
+
a &&= (a.disconnect(), null), !(!e || typeof ResizeObserver > "u") && (a = new ResizeObserver(() => l()), n.value && a.observe(n.value), a.observe(e), l());
|
|
507
|
+
}
|
|
508
|
+
X(t, (e) => u(e), { immediate: !0 }), X(n, () => u(t.value)), X(i, () => l());
|
|
509
|
+
let d = typeof document < "u" ? document.fonts : void 0;
|
|
510
|
+
d && d.ready.then(() => l()), B(() => {
|
|
511
|
+
a && a.disconnect(), a = null;
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
//#endregion
|
|
515
|
+
//#region src/components/dock/composables/useDockShellProps.ts
|
|
516
|
+
function Xe(e) {
|
|
496
517
|
let t = O(() => {
|
|
497
518
|
if (e.containerName) return {
|
|
498
519
|
"container-type": "inline-size",
|
|
499
520
|
"container-name": e.containerName
|
|
500
521
|
};
|
|
501
|
-
}), n = O(() => e.collapseDelay ??
|
|
522
|
+
}), n = O(() => e.collapseDelay ?? 3600), r = O(() => e.layout ?? "linear"), i = O(() => e.shape ?? "pill"), a = O(() => e.orientation ?? "horizontal"), o = O(() => e.size ?? "md"), s = O(() => a.value === "vertical" || e.overflow === "wrap" ? null : "dock-scroll-x"), c = O(() => e.alwaysExpanded || r.value === "grid");
|
|
502
523
|
return {
|
|
503
524
|
containerStyle: t,
|
|
504
525
|
collapseDelay: n,
|
|
@@ -506,59 +527,23 @@ function We(e) {
|
|
|
506
527
|
layoutValue: r,
|
|
507
528
|
shape: i,
|
|
508
529
|
orientation: a,
|
|
509
|
-
|
|
530
|
+
size: o,
|
|
510
531
|
scrollClass: s,
|
|
511
532
|
alwaysExpanded: c,
|
|
512
533
|
fitContent: O(() => e.fitContent ?? !1)
|
|
513
534
|
};
|
|
514
535
|
}
|
|
515
536
|
//#endregion
|
|
516
|
-
//#region src/components/
|
|
517
|
-
function
|
|
518
|
-
let t = e.trim();
|
|
519
|
-
return t ? t.endsWith("ms") ? Number.parseFloat(t) : t.endsWith("s") ? Number.parseFloat(t) * 1e3 : Number.parseFloat(t) || 0 : 0;
|
|
520
|
-
}
|
|
521
|
-
function Ke(e) {
|
|
522
|
-
let t = getComputedStyle(e), n = t.transitionDuration.split(",").map(Ge), r = t.transitionDelay.split(",").map(Ge);
|
|
523
|
-
return Math.max(0, ...n.map((e, t) => e + (r[t] ?? r[0] ?? 0)));
|
|
524
|
-
}
|
|
525
|
-
function qe(e) {
|
|
526
|
-
let t = Ge(getComputedStyle(e).getPropertyValue("--duration-normal") || "0.3s");
|
|
527
|
-
return Math.max(t > 0 ? t * 2 : 0, 600);
|
|
528
|
-
}
|
|
529
|
-
function Je(e, t) {
|
|
530
|
-
let n = null, r = 0;
|
|
531
|
-
function i() {
|
|
532
|
-
n &&= (clearTimeout(n), null);
|
|
533
|
-
}
|
|
534
|
-
function a() {
|
|
535
|
-
let a = e.value;
|
|
536
|
-
if (!a) return;
|
|
537
|
-
let o = ++r;
|
|
538
|
-
i(), t.value = !0, n = setTimeout(() => {
|
|
539
|
-
o === r && (t.value = !1, n = null);
|
|
540
|
-
}, Math.max(Ke(a), qe(a)) + 50);
|
|
541
|
-
}
|
|
542
|
-
function o(n) {
|
|
543
|
-
n.target === e.value && p.has(n.propertyName) && (i(), r++, t.value = !1);
|
|
544
|
-
}
|
|
545
|
-
return ee(i), {
|
|
546
|
-
markTransitioning: a,
|
|
547
|
-
onDockTransitionDone: o,
|
|
548
|
-
clearTransitionTimer: i
|
|
549
|
-
};
|
|
550
|
-
}
|
|
551
|
-
//#endregion
|
|
552
|
-
//#region src/components/custom/dock/composables/useDockClickIntegrity.ts
|
|
553
|
-
function Ye(e) {
|
|
537
|
+
//#region src/components/dock/composables/useDockClickIntegrity.ts
|
|
538
|
+
function Ze(e) {
|
|
554
539
|
let { rootEl: t, visualExpanded: n } = e, r = null, i = !1, a = 0, o = null;
|
|
555
540
|
function s() {
|
|
556
541
|
o !== null && (clearTimeout(o), o = null);
|
|
557
542
|
}
|
|
558
543
|
function c() {
|
|
559
|
-
a = l() +
|
|
544
|
+
a = l() + 840, s(), o = setTimeout(() => {
|
|
560
545
|
o = null;
|
|
561
|
-
},
|
|
546
|
+
}, 840);
|
|
562
547
|
}
|
|
563
548
|
function l() {
|
|
564
549
|
return typeof performance < "u" && typeof performance.now == "function" ? performance.now() : Date.now();
|
|
@@ -601,19 +586,78 @@ function Ye(e) {
|
|
|
601
586
|
};
|
|
602
587
|
}
|
|
603
588
|
//#endregion
|
|
604
|
-
//#region src/components/
|
|
605
|
-
|
|
606
|
-
|
|
589
|
+
//#region src/components/dock/composables/useDockTouchGate.ts
|
|
590
|
+
function Qe(e) {
|
|
591
|
+
let { collapseDelay: t, rootEl: n, alwaysExpanded: r, visualExpanded: i, expanded: a, isPinned: o, expand: s, collapse: l } = e, u = c(t);
|
|
592
|
+
function d() {
|
|
593
|
+
return !r.value;
|
|
594
|
+
}
|
|
595
|
+
function f(e) {
|
|
596
|
+
if (!d() || i.value) return;
|
|
597
|
+
let t = n.value, r = e.touches[0];
|
|
598
|
+
!t || !r || u.handleTouchStart(t, r.clientY);
|
|
599
|
+
}
|
|
600
|
+
function p(e) {
|
|
601
|
+
d() && u.handleScrollCheck(e);
|
|
602
|
+
}
|
|
603
|
+
function m() {
|
|
604
|
+
if (!d()) return;
|
|
605
|
+
let e = u.isActive.value;
|
|
606
|
+
u.handleTouchEnd(), !e && u.isActive.value && !i.value && s();
|
|
607
|
+
}
|
|
608
|
+
return X(u.isActive, (e) => {
|
|
609
|
+
!e && a.value && !o.value && !r.value && l();
|
|
610
|
+
}), {
|
|
611
|
+
onTouchStart: f,
|
|
612
|
+
onTouchMove: p,
|
|
613
|
+
onTouchEnd: m,
|
|
614
|
+
deactivate: () => u.deactivate()
|
|
615
|
+
};
|
|
616
|
+
}
|
|
617
|
+
//#endregion
|
|
618
|
+
//#region src/components/dock/composables/useDockOverflowFit.ts
|
|
619
|
+
function $e(e) {
|
|
620
|
+
let t = null, n = null, r = 0;
|
|
621
|
+
function i() {
|
|
622
|
+
return e.value?.querySelector(".dock-layer--full") ?? null;
|
|
623
|
+
}
|
|
624
|
+
function a() {
|
|
625
|
+
let t = e.value, n = i();
|
|
626
|
+
if (!t || !n) return;
|
|
627
|
+
let r = n.scrollWidth - n.clientWidth > 1;
|
|
628
|
+
t.toggleAttribute("data-dock-overflow", r);
|
|
629
|
+
}
|
|
630
|
+
function o() {
|
|
631
|
+
cancelAnimationFrame(r), r = requestAnimationFrame(a);
|
|
632
|
+
}
|
|
633
|
+
return te(() => {
|
|
634
|
+
let r = e.value, a = i();
|
|
635
|
+
o(), r && (t = new ResizeObserver(o), t.observe(r), a && t.observe(a)), a && (n = new MutationObserver(o), n.observe(a, {
|
|
636
|
+
childList: !0,
|
|
637
|
+
subtree: !0,
|
|
638
|
+
characterData: !0
|
|
639
|
+
}));
|
|
640
|
+
}), X(() => e.value, () => o()), V(() => {
|
|
641
|
+
t?.disconnect(), n?.disconnect(), cancelAnimationFrame(r);
|
|
642
|
+
}), { measure: a };
|
|
643
|
+
}
|
|
644
|
+
//#endregion
|
|
645
|
+
//#region src/components/dock/GlassDock.vue?vue&type=script&setup=true&lang.ts
|
|
646
|
+
var et = [
|
|
647
|
+
"data-size",
|
|
607
648
|
"data-held",
|
|
608
649
|
"data-search",
|
|
609
650
|
"data-container-name"
|
|
610
|
-
],
|
|
651
|
+
], tt = { class: "dock-controls" }, nt = {
|
|
611
652
|
key: 0,
|
|
612
653
|
class: "dock-persistent"
|
|
613
|
-
},
|
|
654
|
+
}, rt = ["inert"], it = ["inert"], at = {
|
|
614
655
|
key: 0,
|
|
615
656
|
class: "dock-search-field"
|
|
616
|
-
},
|
|
657
|
+
}, ot = {
|
|
658
|
+
key: 1,
|
|
659
|
+
class: "dock-persistent dock-persistent-end"
|
|
660
|
+
}, st = /* @__PURE__ */ P({
|
|
617
661
|
inheritAttrs: !1,
|
|
618
662
|
__name: "GlassDock",
|
|
619
663
|
props: {
|
|
@@ -622,341 +666,254 @@ var Xe = ["data-has-rail"], Ze = [
|
|
|
622
666
|
alwaysExpanded: { type: Boolean },
|
|
623
667
|
shape: {},
|
|
624
668
|
orientation: {},
|
|
625
|
-
|
|
669
|
+
size: {},
|
|
626
670
|
overflow: {},
|
|
627
671
|
containerName: {},
|
|
628
672
|
collapseDelay: {},
|
|
629
673
|
startCollapsed: { type: Boolean },
|
|
630
674
|
layout: {},
|
|
631
|
-
autoLuminance: {
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
] },
|
|
675
|
+
autoLuminance: {
|
|
676
|
+
type: Boolean,
|
|
677
|
+
default: !0
|
|
678
|
+
},
|
|
679
|
+
backgroundCanvas: {},
|
|
637
680
|
search: { type: Boolean }
|
|
638
681
|
},
|
|
639
682
|
setup(e, { expose: t }) {
|
|
640
|
-
let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, layoutValue: o, shape: s, orientation:
|
|
641
|
-
n.autoLuminance !== !1 &&
|
|
642
|
-
|
|
683
|
+
let n = e, { containerStyle: r, collapseDelay: i, startCollapsed: a, layoutValue: o, shape: s, orientation: c, size: l, scrollClass: u, alwaysExpanded: d, fitContent: f } = Xe(n), p = o, h = Y("dockEl"), g = Y("layersEl");
|
|
684
|
+
$e(h), n.autoLuminance !== !1 && Re(h, { backgroundCanvas: () => {
|
|
685
|
+
let e = n.backgroundCanvas;
|
|
686
|
+
return typeof e == "function" ? e() : e instanceof HTMLCanvasElement ? e : null;
|
|
687
|
+
} });
|
|
688
|
+
let _ = W(!1), v = `glass-dock-${ie()}`, { expanded: y, isPinned: b, isHeld: x, onMouseEnter: S, onMouseLeave: C, onFocusIn: w, onFocusOut: T, onClickCollapsed: E, keepOpen: D, release: k, expand: N, collapse: P } = Be({
|
|
643
689
|
collapseDelay: i.value,
|
|
644
|
-
rootEl:
|
|
645
|
-
alwaysExpanded:
|
|
646
|
-
isTransitioning:
|
|
647
|
-
dockId:
|
|
690
|
+
rootEl: h,
|
|
691
|
+
alwaysExpanded: d,
|
|
692
|
+
isTransitioning: _,
|
|
693
|
+
dockId: v
|
|
694
|
+
});
|
|
695
|
+
m({
|
|
696
|
+
id: v,
|
|
697
|
+
orientation: c,
|
|
698
|
+
layout: p,
|
|
699
|
+
keepOpen: D,
|
|
700
|
+
release: k,
|
|
701
|
+
held: x
|
|
648
702
|
});
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
703
|
+
let F = O(() => d.value || y.value), L = O(() => F.value ? "full" : "summary"), z = O(() => c.value), { context: ee } = Ge({
|
|
704
|
+
rootEl: h,
|
|
705
|
+
outerEl: g,
|
|
706
|
+
outerActiveLayer: L,
|
|
707
|
+
outerAxis: z,
|
|
708
|
+
onMorphActiveChange: (e) => {
|
|
709
|
+
_.value = e;
|
|
710
|
+
}
|
|
656
711
|
});
|
|
657
|
-
|
|
658
|
-
rootEl:
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
712
|
+
We(ee), Ye({
|
|
713
|
+
rootEl: h,
|
|
714
|
+
contentEl: g,
|
|
715
|
+
axis: z,
|
|
716
|
+
expanded: F
|
|
662
717
|
});
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
visualExpanded: z
|
|
718
|
+
let B = O(() => ({ "view-transition-name": v.replace(/[^a-zA-Z0-9_-]/g, "-") })), { onPointerDownCapture: V, onClickCapture: U, markExpandFlip: G } = Ze({
|
|
719
|
+
rootEl: h,
|
|
720
|
+
visualExpanded: F
|
|
667
721
|
});
|
|
668
722
|
te(() => {
|
|
669
|
-
(n.alwaysExpanded || !a.value) &&
|
|
723
|
+
(n.alwaysExpanded || !a.value) && N();
|
|
670
724
|
});
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
if (!ce()) return;
|
|
684
|
-
let e = y.isActive.value;
|
|
685
|
-
y.handleTouchEnd(), !e && y.isActive.value && !z.value && F();
|
|
686
|
-
}
|
|
687
|
-
return Y(y.isActive, (e) => {
|
|
688
|
-
!e && x.value && !S.value && !f.value && L();
|
|
689
|
-
}), Y(z, (e) => {
|
|
690
|
-
ie(), e ? se() : y.deactivate();
|
|
725
|
+
let { onTouchStart: q, onTouchMove: ne, onTouchEnd: re, deactivate: ae } = Qe({
|
|
726
|
+
collapseDelay: i.value,
|
|
727
|
+
rootEl: h,
|
|
728
|
+
alwaysExpanded: d,
|
|
729
|
+
visualExpanded: F,
|
|
730
|
+
expanded: y,
|
|
731
|
+
isPinned: b,
|
|
732
|
+
expand: N,
|
|
733
|
+
collapse: P
|
|
734
|
+
});
|
|
735
|
+
return X(F, (e) => {
|
|
736
|
+
e ? G() : ae();
|
|
691
737
|
}), t({
|
|
692
|
-
expanded:
|
|
693
|
-
isPinned:
|
|
694
|
-
isHeld:
|
|
695
|
-
isTransitioning:
|
|
696
|
-
expand:
|
|
697
|
-
collapse:
|
|
698
|
-
keepOpen:
|
|
699
|
-
release:
|
|
700
|
-
}), (t, n) => (H(), j("div", {
|
|
701
|
-
ref_key: "frameEl",
|
|
702
|
-
ref: V,
|
|
703
|
-
class: R(["glass-dock-frame", K(l)]),
|
|
704
|
-
"data-has-rail": B.value || void 0
|
|
705
|
-
}, [M("div", I({
|
|
738
|
+
expanded: y,
|
|
739
|
+
isPinned: b,
|
|
740
|
+
isHeld: x,
|
|
741
|
+
isTransitioning: _,
|
|
742
|
+
expand: N,
|
|
743
|
+
collapse: P,
|
|
744
|
+
keepOpen: D,
|
|
745
|
+
release: k
|
|
746
|
+
}), (t, n) => (H(), j("div", I({
|
|
706
747
|
ref_key: "dockEl",
|
|
707
|
-
ref:
|
|
748
|
+
ref: h
|
|
708
749
|
}, t.$attrs, {
|
|
709
750
|
class: ["glass-dock", [
|
|
710
|
-
|
|
711
|
-
`shape-${
|
|
712
|
-
`layout-${
|
|
713
|
-
|
|
751
|
+
J(c),
|
|
752
|
+
`shape-${J(s)}`,
|
|
753
|
+
`layout-${J(p)}`,
|
|
754
|
+
J(u),
|
|
714
755
|
{
|
|
715
|
-
expanded:
|
|
716
|
-
collapsed: !
|
|
717
|
-
pinned:
|
|
718
|
-
"fit-content":
|
|
719
|
-
"always-expanded":
|
|
720
|
-
"dock-overflow-wrap": e.overflow === "wrap" &&
|
|
756
|
+
expanded: F.value,
|
|
757
|
+
collapsed: !F.value,
|
|
758
|
+
pinned: J(b),
|
|
759
|
+
"fit-content": J(f),
|
|
760
|
+
"always-expanded": J(d),
|
|
761
|
+
"dock-overflow-wrap": e.overflow === "wrap" && J(c) !== "vertical"
|
|
721
762
|
},
|
|
722
|
-
e.position === "fixed" ? "fixed bottom-(--dock-pos)
|
|
763
|
+
e.position === "fixed" ? "fixed bottom-(--dock-pos) inset-x-0 mx-auto w-max" : e.position === "sticky" ? "dock-sticky" : "dock-inline"
|
|
723
764
|
]],
|
|
724
|
-
"data-
|
|
725
|
-
"data-held":
|
|
765
|
+
"data-size": J(l),
|
|
766
|
+
"data-held": J(x) || void 0,
|
|
726
767
|
"data-search": e.search || void 0,
|
|
727
768
|
"data-container-name": e.containerName || void 0,
|
|
728
|
-
style: [
|
|
729
|
-
onMouseenter: n[
|
|
730
|
-
onMouseleave: n[
|
|
731
|
-
onFocusin: n[
|
|
732
|
-
onFocusout: n[
|
|
733
|
-
onTouchstart:
|
|
734
|
-
onTouchmove:
|
|
735
|
-
onTouchend:
|
|
736
|
-
onPointerdownCapture: n[
|
|
737
|
-
onClickCapture: n[
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
class: "dock-layers",
|
|
744
|
-
onTransitionend: n[1] ||= (...e) => K(ne) && K(ne)(...e)
|
|
745
|
-
}, [
|
|
746
|
-
M("div", {
|
|
747
|
-
class: R(["dock-layer dock-layer--full", { "is-active": z.value }]),
|
|
748
|
-
inert: !z.value || void 0
|
|
749
|
-
}, [G(t.$slots, "default")], 10, $e),
|
|
769
|
+
style: [J(r), B.value],
|
|
770
|
+
onMouseenter: n[1] ||= (...e) => J(S) && J(S)(...e),
|
|
771
|
+
onMouseleave: n[2] ||= (e) => J(C)(e),
|
|
772
|
+
onFocusin: n[3] ||= (...e) => J(w) && J(w)(...e),
|
|
773
|
+
onFocusout: n[4] ||= (...e) => J(T) && J(T)(...e),
|
|
774
|
+
onTouchstart: n[5] ||= (...e) => J(q) && J(q)(...e),
|
|
775
|
+
onTouchmove: n[6] ||= (...e) => J(ne) && J(ne)(...e),
|
|
776
|
+
onTouchend: n[7] ||= (...e) => J(re) && J(re)(...e),
|
|
777
|
+
onPointerdownCapture: n[8] ||= (...e) => J(V) && J(V)(...e),
|
|
778
|
+
onClickCapture: n[9] ||= (...e) => J(U) && J(U)(...e)
|
|
779
|
+
}), [n[10] ||= M("div", {
|
|
780
|
+
class: "dock-plate",
|
|
781
|
+
"aria-hidden": "true"
|
|
782
|
+
}, null, -1), M("div", tt, [
|
|
783
|
+
t.$slots.persistent ? (H(), j("div", nt, [K(t.$slots, "persistent")])) : A("", !0),
|
|
750
784
|
M("div", {
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
}, [
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
}, 16));
|
|
780
|
-
}
|
|
781
|
-
}), it = /* @__PURE__ */ P({
|
|
782
|
-
__name: "TabsTrigger",
|
|
785
|
+
ref_key: "layersEl",
|
|
786
|
+
ref: g,
|
|
787
|
+
class: "dock-layers"
|
|
788
|
+
}, [
|
|
789
|
+
M("div", {
|
|
790
|
+
class: R(["dock-layer dock-layer--full", { "is-active": F.value }]),
|
|
791
|
+
inert: !F.value || void 0
|
|
792
|
+
}, [K(t.$slots, "default")], 10, rt),
|
|
793
|
+
M("div", {
|
|
794
|
+
class: R(["dock-layer dock-layer--summary", { "is-active": !F.value }]),
|
|
795
|
+
inert: F.value || void 0,
|
|
796
|
+
onClick: n[0] ||= (...e) => J(E) && J(E)(...e)
|
|
797
|
+
}, [K(t.$slots, "collapsed")], 10, it),
|
|
798
|
+
e.search ? (H(), j("div", at, [K(t.$slots, "search")])) : A("", !0)
|
|
799
|
+
], 512),
|
|
800
|
+
t.$slots["persistent-end"] ? (H(), j("div", ot, [K(t.$slots, "persistent-end")])) : A("", !0)
|
|
801
|
+
])], 16, et));
|
|
802
|
+
}
|
|
803
|
+
}), ct = u(f, "[glass-ui:dock] <DockLayer> must be used inside <DockCrossfade> (or <DockLayerGroup>)"), { KEY: lt } = ct;
|
|
804
|
+
function ut(e) {
|
|
805
|
+
ct.provide(e);
|
|
806
|
+
}
|
|
807
|
+
var dt = ct.use;
|
|
808
|
+
ct.useOptional;
|
|
809
|
+
//#endregion
|
|
810
|
+
//#region src/components/dock/DockCrossfade.vue
|
|
811
|
+
var ft = /* @__PURE__ */ P({
|
|
812
|
+
__name: "DockCrossfade",
|
|
783
813
|
props: {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
asChild: { type: Boolean },
|
|
787
|
-
as: {},
|
|
788
|
-
class: { type: [
|
|
789
|
-
Boolean,
|
|
790
|
-
null,
|
|
791
|
-
String,
|
|
792
|
-
Object,
|
|
793
|
-
Array
|
|
794
|
-
] }
|
|
814
|
+
active: {},
|
|
815
|
+
reserve: { default: "block" }
|
|
795
816
|
},
|
|
796
|
-
setup(t) {
|
|
797
|
-
let n =
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
}
|
|
806
|
-
}), at = /* @__PURE__ */ P({
|
|
807
|
-
__name: "TabsIndicator",
|
|
808
|
-
props: {
|
|
809
|
-
asChild: { type: Boolean },
|
|
810
|
-
as: {},
|
|
811
|
-
class: { type: [
|
|
812
|
-
Boolean,
|
|
813
|
-
null,
|
|
814
|
-
String,
|
|
815
|
-
Object,
|
|
816
|
-
Array
|
|
817
|
-
] },
|
|
818
|
-
surface: {
|
|
819
|
-
type: Boolean,
|
|
820
|
-
default: !0
|
|
817
|
+
setup(e, { expose: t }) {
|
|
818
|
+
let n = e, r = W(null), i = W(/* @__PURE__ */ new Map()), a = O(() => [...i.value.values()].map(({ id: e, label: t, icon: n }) => ({
|
|
819
|
+
id: e,
|
|
820
|
+
label: t,
|
|
821
|
+
icon: n
|
|
822
|
+
})));
|
|
823
|
+
function o(e) {
|
|
824
|
+
let t = new Map(i.value);
|
|
825
|
+
t.set(e.id, e), i.value = t, p();
|
|
821
826
|
}
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
+
function c(e) {
|
|
828
|
+
if (!i.value.has(e)) return;
|
|
829
|
+
let t = new Map(i.value);
|
|
830
|
+
t.delete(e), i.value = t, p();
|
|
831
|
+
}
|
|
832
|
+
let l = O(() => n.active), u = W(null);
|
|
833
|
+
ut({
|
|
834
|
+
register: o,
|
|
835
|
+
unregister: c,
|
|
836
|
+
activeId: l,
|
|
837
|
+
leavingId: u,
|
|
838
|
+
faces: a
|
|
827
839
|
});
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
class: { type: [
|
|
837
|
-
Boolean,
|
|
838
|
-
null,
|
|
839
|
-
String,
|
|
840
|
-
Object,
|
|
841
|
-
Array
|
|
842
|
-
] },
|
|
843
|
-
indicator: {
|
|
844
|
-
type: Boolean,
|
|
845
|
-
default: !0
|
|
840
|
+
let d = W(0), f = O(() => n.reserve === "inline" ? "min-inline-size" : "min-block-size");
|
|
841
|
+
function p() {
|
|
842
|
+
let e = 0;
|
|
843
|
+
for (let { el: t } of i.value.values()) {
|
|
844
|
+
let r = n.reserve === "inline" ? t.scrollWidth : t.scrollHeight;
|
|
845
|
+
r > e && (e = r);
|
|
846
|
+
}
|
|
847
|
+
e > d.value && (d.value = e);
|
|
846
848
|
}
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
849
|
+
let m = O(() => d.value > 0 ? {
|
|
850
|
+
[f.value]: `${d.value}px`,
|
|
851
|
+
"--dock-crossfade-peak": `${d.value}px`
|
|
852
|
+
} : void 0);
|
|
853
|
+
s(r, () => p());
|
|
854
|
+
let h = Ve({
|
|
855
|
+
response: _.response,
|
|
856
|
+
dampingFraction: _.dampingFraction
|
|
852
857
|
});
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
_: 3
|
|
856
|
-
}, 16, ["class"]));
|
|
857
|
-
}
|
|
858
|
-
}), st = u(f, "[glass-ui:dock] <DockLayer> must be used inside <DockLayerGroup>"), { KEY: ct } = st;
|
|
859
|
-
function lt(e) {
|
|
860
|
-
st.provide(e);
|
|
861
|
-
}
|
|
862
|
-
var ut = st.use;
|
|
863
|
-
st.useOptional;
|
|
864
|
-
//#endregion
|
|
865
|
-
//#region src/components/custom/dock/composables/useLayerTransition.ts
|
|
866
|
-
function dt(e) {
|
|
867
|
-
let { containerEl: t, activeLayer: n, axis: r } = e, i = O(() => r?.value === "vertical" ? "height" : "width"), a = O(() => i.value === "width" ? "inline-size" : "block-size"), o = (e) => e.getBoundingClientRect()[i.value], s = W(n.value), c = W(null), l = 0, u = W(!1), d = [];
|
|
868
|
-
function f() {
|
|
869
|
-
if (d.length === 0) return;
|
|
870
|
-
let e = d.splice(0, d.length);
|
|
871
|
-
for (let t of e) t();
|
|
872
|
-
}
|
|
873
|
-
let p = null, m = null;
|
|
874
|
-
function h() {
|
|
875
|
-
p &&= (p.dispose(), null), m = null;
|
|
876
|
-
}
|
|
877
|
-
function g(e) {
|
|
878
|
-
return e.closest(".glass-dock") ?? e;
|
|
879
|
-
}
|
|
880
|
-
function _(e) {
|
|
881
|
-
if (u.value) {
|
|
882
|
-
d.push(e);
|
|
883
|
-
return;
|
|
858
|
+
function g(e) {
|
|
859
|
+
return e ? i.value.get(e)?.el : void 0;
|
|
884
860
|
}
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
function y(e) {
|
|
888
|
-
e.style.removeProperty("--dock-morph-from"), e.style.removeProperty("--dock-morph-to");
|
|
889
|
-
}
|
|
890
|
-
function b() {
|
|
891
|
-
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
892
|
-
}
|
|
893
|
-
function x(e, t, n) {
|
|
894
|
-
if (n !== l) return;
|
|
895
|
-
let r = a.value;
|
|
896
|
-
y(e);
|
|
897
|
-
let s = e.style.getPropertyValue(r);
|
|
898
|
-
e.style.setProperty(r, "max-content");
|
|
899
|
-
let c = o(e);
|
|
900
|
-
s ? e.style.setProperty(r, s) : e.style.removeProperty(r), e.style.setProperty("--dock-morph-from", `${c}px`), e.style.setProperty("--dock-morph-to", `${c}px`), t.style.setProperty("--dock-morph-t", "1"), e.getBoundingClientRect()[i.value], S(e, t);
|
|
901
|
-
}
|
|
902
|
-
function S(e, t) {
|
|
903
|
-
y(e), t.style.removeProperty("--dock-morph-t"), t.removeAttribute("data-morphing"), c.value = null, h(), u.value = !1, f();
|
|
904
|
-
}
|
|
905
|
-
function C(e, t, n, r, i, a, o) {
|
|
906
|
-
if (Math.abs(i - r) < .5) {
|
|
907
|
-
S(e, t);
|
|
908
|
-
return;
|
|
861
|
+
function v(e, t) {
|
|
862
|
+
g(e)?.style.setProperty("--dock-t", `${t}`);
|
|
909
863
|
}
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
dampingFraction: v.dampingFraction,
|
|
913
|
-
initial: 0,
|
|
914
|
-
respectReducedMotion: !0
|
|
915
|
-
}), m = e);
|
|
916
|
-
let s = p;
|
|
917
|
-
s.reset(0, a), s.target = 1, s.play((r) => {
|
|
918
|
-
n === l && (t.style.setProperty("--dock-morph-t", `${r}`), s.settled && S(e, t));
|
|
919
|
-
});
|
|
920
|
-
}
|
|
921
|
-
Y(n, (e, n) => {
|
|
922
|
-
if (e === n) return;
|
|
923
|
-
let r = t.value;
|
|
924
|
-
if (!r) {
|
|
925
|
-
s.value = e, c.value = null;
|
|
926
|
-
return;
|
|
864
|
+
function y(e) {
|
|
865
|
+
g(e)?.style.removeProperty("--dock-t");
|
|
927
866
|
}
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
L(() => x(r, i, d));
|
|
931
|
-
return;
|
|
867
|
+
function b(e) {
|
|
868
|
+
return e < 0 ? 0 : e > 1 ? 1 : e;
|
|
932
869
|
}
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
870
|
+
function x() {
|
|
871
|
+
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
872
|
+
}
|
|
873
|
+
async function S(e, t) {
|
|
874
|
+
if (typeof document > "u") return;
|
|
875
|
+
let n = g(e), r = document.activeElement;
|
|
876
|
+
!n || !r || !n.contains(r) || (await L(), (g(t) ?? document.body).focus?.());
|
|
877
|
+
}
|
|
878
|
+
return X(l, (e, t) => {
|
|
879
|
+
if (e === t) return;
|
|
880
|
+
p();
|
|
881
|
+
let n = g(e), i = g(t);
|
|
882
|
+
if (!n || !i) {
|
|
883
|
+
u.value = null, y(e);
|
|
884
|
+
return;
|
|
885
|
+
}
|
|
886
|
+
let a = u.value;
|
|
887
|
+
a && a !== e && a !== t && y(a), u.value = t;
|
|
888
|
+
let o = typeof getComputedStyle == "function" ? b(parseFloat(getComputedStyle(n).opacity) || 0) : 0;
|
|
889
|
+
v(e, o), v(t, o), S(t, e), r.value?.setAttribute("data-crossfading", "");
|
|
890
|
+
let s = () => {
|
|
891
|
+
y(e), y(t), r.value?.removeAttribute("data-crossfading"), u.value = null;
|
|
892
|
+
};
|
|
893
|
+
if (x()) {
|
|
894
|
+
s();
|
|
895
|
+
return;
|
|
896
|
+
}
|
|
897
|
+
h.playTo(o, 1, {
|
|
898
|
+
onFrame: (n) => {
|
|
899
|
+
let r = b(n);
|
|
900
|
+
v(e, r), v(t, r);
|
|
901
|
+
},
|
|
902
|
+
onSettle: s
|
|
903
|
+
});
|
|
904
|
+
}), ee(() => h.dispose()), t({ faces: a }), (e, t) => (H(), j("div", {
|
|
905
|
+
ref_key: "rootEl",
|
|
906
|
+
ref: r,
|
|
907
|
+
class: "dock-crossfade",
|
|
908
|
+
style: z(m.value)
|
|
909
|
+
}, [K(e.$slots, "default")], 4));
|
|
910
|
+
}
|
|
911
|
+
}), pt = ["data-motion"], mt = ["aria-orientation"], ht = [
|
|
912
|
+
"tabindex",
|
|
913
|
+
"title",
|
|
914
|
+
"aria-label",
|
|
915
|
+
"onClick"
|
|
916
|
+
], gt = { key: 1 }, _t = { key: 2 }, vt = /* @__PURE__ */ P({
|
|
960
917
|
__name: "DockLayerGroup",
|
|
961
918
|
props: /* @__PURE__ */ F({
|
|
962
919
|
orientation: {},
|
|
@@ -965,176 +922,119 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
965
922
|
default: !0
|
|
966
923
|
},
|
|
967
924
|
railPosition: { default: "start" },
|
|
968
|
-
|
|
969
|
-
type: Boolean,
|
|
970
|
-
default: !1
|
|
971
|
-
}
|
|
925
|
+
motion: {}
|
|
972
926
|
}, {
|
|
973
927
|
active: { required: !0 },
|
|
974
928
|
activeModifiers: {}
|
|
975
929
|
}),
|
|
976
930
|
emits: ["update:active"],
|
|
977
931
|
setup(e) {
|
|
978
|
-
let t = e, n =
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
let
|
|
990
|
-
for (let e of r) {
|
|
991
|
-
let t = e.scrollHeight;
|
|
992
|
-
t > n && (n = t);
|
|
993
|
-
}
|
|
994
|
-
n > u.value && (u.value = n);
|
|
995
|
-
}
|
|
996
|
-
let f = O(() => u.value > 0 ? {
|
|
997
|
-
"min-block-size": `${u.value}px`,
|
|
998
|
-
"--dock-layer-peak-block-size": `${u.value}px`
|
|
999
|
-
} : void 0);
|
|
1000
|
-
s(a, () => d()), Y(() => i.value.length, () => d());
|
|
1001
|
-
let p = O(() => t.orientation ?? r?.orientation.value ?? "horizontal"), h = O(() => p.value === "vertical" ? "horizontal" : "vertical"), g = J("railListEl"), _ = W(null);
|
|
1002
|
-
function v() {
|
|
1003
|
-
let e = g.value;
|
|
1004
|
-
_.value = e ? e.$el ?? e : null;
|
|
1005
|
-
}
|
|
1006
|
-
let y = O(() => h.value === "vertical" ? "y" : "x");
|
|
1007
|
-
function b() {
|
|
1008
|
-
let e = _.value;
|
|
932
|
+
let t = e, n = a(() => t.motion), r = ae(e, "active"), i = p(), o = O(() => t.orientation ?? i?.orientation.value ?? "horizontal"), s = Y("crossfade"), c = O(() => s.value?.faces ?? []), l = O(() => o.value === "vertical" ? "horizontal" : "vertical"), u = O(() => l.value === "vertical"), d = W(null), f = W(null), m = W([]), h = T({
|
|
933
|
+
options: O(() => c.value.map((e) => ({ value: e.id }))),
|
|
934
|
+
model: r,
|
|
935
|
+
mode: "single",
|
|
936
|
+
role: "tablist",
|
|
937
|
+
vertical: u,
|
|
938
|
+
containerRef: d,
|
|
939
|
+
indicatorRef: f,
|
|
940
|
+
buttonRefs: m
|
|
941
|
+
}), g = O(() => u.value ? "y" : "x");
|
|
942
|
+
function _() {
|
|
943
|
+
let e = d.value;
|
|
1009
944
|
if (!e) return [];
|
|
1010
945
|
let t = Array.from(e.querySelectorAll(".dock-layer-tab"));
|
|
1011
|
-
return
|
|
1012
|
-
let r = t[n]?.getBoundingClientRect(), i = r ?
|
|
946
|
+
return c.value.map((e, n) => {
|
|
947
|
+
let r = t[n]?.getBoundingClientRect(), i = r ? g.value === "y" ? r.top + r.height / 2 : r.left + r.width / 2 : 0;
|
|
1013
948
|
return {
|
|
1014
949
|
value: e.id,
|
|
1015
950
|
center: i
|
|
1016
951
|
};
|
|
1017
952
|
});
|
|
1018
953
|
}
|
|
1019
|
-
let
|
|
1020
|
-
el:
|
|
1021
|
-
axis: () =>
|
|
1022
|
-
snapTargets:
|
|
954
|
+
let v = b({
|
|
955
|
+
el: d,
|
|
956
|
+
axis: () => g.value,
|
|
957
|
+
snapTargets: _,
|
|
1023
958
|
onSnap: (e) => {
|
|
1024
|
-
|
|
959
|
+
n.armed.value && r.value !== e && (r.value = e);
|
|
1025
960
|
}
|
|
1026
961
|
});
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
962
|
+
X(() => [
|
|
963
|
+
c.value.length,
|
|
964
|
+
l.value,
|
|
965
|
+
n.armed.value
|
|
1031
966
|
], () => {
|
|
1032
|
-
|
|
967
|
+
n.armed.value && L(() => v.refresh());
|
|
1033
968
|
}), te(() => {
|
|
1034
|
-
|
|
1035
|
-
});
|
|
1036
|
-
let C = He(), w, T, E;
|
|
1037
|
-
if (C) {
|
|
1038
|
-
let e = C.registerGroup({
|
|
1039
|
-
containerEl: a,
|
|
1040
|
-
activeLayer: n,
|
|
1041
|
-
axis: p
|
|
1042
|
-
});
|
|
1043
|
-
w = e.currentLayer, T = e.leavingLayer, E = () => {}, ee(() => e.release());
|
|
1044
|
-
} else {
|
|
1045
|
-
let e = dt({
|
|
1046
|
-
containerEl: a,
|
|
1047
|
-
activeLayer: n,
|
|
1048
|
-
axis: p,
|
|
1049
|
-
directionTypes: (e, t) => {
|
|
1050
|
-
let n = i.value.findIndex((t) => t.id === e);
|
|
1051
|
-
return [i.value.findIndex((e) => e.id === t) < n ? "layer-back" : "layer-forward"];
|
|
1052
|
-
}
|
|
1053
|
-
});
|
|
1054
|
-
w = U(e.currentLayer), T = U(e.leavingLayer), E = e.onTransitionEnd;
|
|
1055
|
-
}
|
|
1056
|
-
let P = typeof document < "u" && "startViewTransition" in document, F = ae(), I = O(() => P ? {
|
|
1057
|
-
"view-transition-name": `gl-dock-stack-${F.replace(/[^a-zA-Z0-9_-]/g, "-")}`,
|
|
1058
|
-
"view-transition-class": "gl-dock-layer"
|
|
1059
|
-
} : void 0);
|
|
1060
|
-
lt({
|
|
1061
|
-
register: c,
|
|
1062
|
-
unregister: l,
|
|
1063
|
-
currentLayerId: w,
|
|
1064
|
-
leavingLayerId: T
|
|
969
|
+
n.armed.value && L(() => v.refresh());
|
|
1065
970
|
});
|
|
1066
|
-
function
|
|
971
|
+
function y(e) {
|
|
1067
972
|
return typeof e == "object" && !!e || typeof e == "function";
|
|
1068
973
|
}
|
|
1069
|
-
let
|
|
1070
|
-
function
|
|
1071
|
-
|
|
974
|
+
let x = W(!1);
|
|
975
|
+
function S() {
|
|
976
|
+
x.value || (x.value = !0, i?.keepOpen());
|
|
1072
977
|
}
|
|
1073
|
-
function
|
|
978
|
+
function C(e) {
|
|
1074
979
|
let t = e.relatedTarget, n = e.currentTarget;
|
|
1075
|
-
t && n?.contains(t) ||
|
|
980
|
+
t && n?.contains(t) || x.value && (x.value = !1, i?.release());
|
|
1076
981
|
}
|
|
1077
|
-
return (
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
}, [e.showRail && i.value.length > 1 ? (H(), k(K(rt), {
|
|
982
|
+
return (t, i) => (H(), j("div", {
|
|
983
|
+
class: R(["dock-layer-group", [o.value, `rail-${e.railPosition}`]]),
|
|
984
|
+
"data-motion": J(n).dataMotion.value,
|
|
985
|
+
style: z(J(n).hostStyle.value)
|
|
986
|
+
}, [e.showRail && c.value.length > 1 ? (H(), j("div", {
|
|
1083
987
|
key: 0,
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
"
|
|
988
|
+
ref_key: "railListEl",
|
|
989
|
+
ref: d,
|
|
990
|
+
role: "tablist",
|
|
991
|
+
class: R(["dock-layer-rail", [
|
|
992
|
+
e.railPosition,
|
|
993
|
+
J(n).armed.value && "glass-drag-grabbable",
|
|
994
|
+
J(n).armed.value && J(v).dragging.value && "glass-drag-lift"
|
|
995
|
+
]]),
|
|
996
|
+
"aria-orientation": l.value,
|
|
997
|
+
style: z(J(n).armed.value ? J(v).dragStyle.value : void 0),
|
|
998
|
+
onKeydown: i[0] ||= (...e) => J(h).onKeydown && J(h).onKeydown(...e),
|
|
999
|
+
onFocusin: S,
|
|
1000
|
+
onFocusout: C
|
|
1001
|
+
}, [(H(!0), j(D, null, G(c.value, (e, t) => (H(), j("button", I({
|
|
1002
|
+
key: e.id,
|
|
1003
|
+
ref_for: !0,
|
|
1004
|
+
ref: (e) => {
|
|
1005
|
+
e && (m.value[t] = e);
|
|
1006
|
+
},
|
|
1007
|
+
type: "button",
|
|
1008
|
+
class: "dock-layer-tab",
|
|
1009
|
+
tabindex: J(h).rovingTabindex(t)
|
|
1010
|
+
}, { ref_for: !0 }, J(h).itemAttrs(e.id), {
|
|
1011
|
+
title: e.label,
|
|
1012
|
+
"aria-label": e.label ?? e.id,
|
|
1013
|
+
onClick: (n) => J(h).select(e.id, t)
|
|
1014
|
+
}), [y(e.icon) ? (H(), k(q(e.icon), {
|
|
1015
|
+
key: 0,
|
|
1016
|
+
class: "size-4"
|
|
1017
|
+
})) : typeof e.icon == "string" ? (H(), j("span", gt, ne(e.icon), 1)) : (H(), j("span", _t, ne((e.label ?? e.id).charAt(0)), 1))], 16, ht))), 128)), M("div", {
|
|
1018
|
+
ref_key: "railIndicatorEl",
|
|
1019
|
+
ref: f,
|
|
1020
|
+
class: "dock-layer-tab-indicator",
|
|
1021
|
+
style: z(J(h).singleSliderStyle.value),
|
|
1022
|
+
"aria-hidden": "true"
|
|
1023
|
+
}, null, 4)], 46, mt)) : A("", !0), N(ft, {
|
|
1024
|
+
ref_key: "crossfade",
|
|
1025
|
+
ref: s,
|
|
1026
|
+
active: r.value,
|
|
1027
|
+
class: "dock-layer-stack"
|
|
1088
1028
|
}, {
|
|
1089
|
-
default:
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
t.draggable && "glass-drag-grabbable",
|
|
1095
|
-
t.draggable && K(x).dragging.value && "glass-drag-lift"
|
|
1096
|
-
]]),
|
|
1097
|
-
style: z(t.draggable ? K(x).dragStyle.value : void 0),
|
|
1098
|
-
indicator: !1,
|
|
1099
|
-
onFocusin: oe,
|
|
1100
|
-
onFocusout: Z
|
|
1101
|
-
}, {
|
|
1102
|
-
default: X(() => [(H(!0), j(D, null, ne(i.value, (e) => (H(), k(K(it), {
|
|
1103
|
-
key: e.id,
|
|
1104
|
-
value: e.id,
|
|
1105
|
-
class: "dock-layer-tab",
|
|
1106
|
-
title: e.label,
|
|
1107
|
-
"aria-label": e.label ?? e.id
|
|
1108
|
-
}, {
|
|
1109
|
-
default: X(() => [B(e.icon) ? (H(), k(re(e.icon), {
|
|
1110
|
-
key: 0,
|
|
1111
|
-
class: "size-4"
|
|
1112
|
-
})) : typeof e.icon == "string" ? (H(), j("span", ft, ie(e.icon), 1)) : (H(), j("span", pt, ie((e.label ?? e.id).charAt(0)), 1))]),
|
|
1113
|
-
_: 2
|
|
1114
|
-
}, 1032, [
|
|
1115
|
-
"value",
|
|
1116
|
-
"title",
|
|
1117
|
-
"aria-label"
|
|
1118
|
-
]))), 128)), N(K(at), {
|
|
1119
|
-
class: "dock-layer-tab-indicator",
|
|
1120
|
-
surface: !1
|
|
1121
|
-
})]),
|
|
1122
|
-
_: 1
|
|
1123
|
-
}, 8, ["class", "style"])]),
|
|
1124
|
-
_: 1
|
|
1125
|
-
}, 8, ["modelValue", "orientation"])) : A("", !0), M("div", {
|
|
1126
|
-
ref_key: "containerEl",
|
|
1127
|
-
ref: a,
|
|
1128
|
-
class: "dock-layer-stack",
|
|
1129
|
-
style: z(I.value),
|
|
1130
|
-
onTransitionend: s[1] ||= (...e) => K(E) && K(E)(...e)
|
|
1131
|
-
}, [G(r.$slots, "default")], 36)], 6));
|
|
1132
|
-
}
|
|
1133
|
-
}), ht = [
|
|
1029
|
+
default: Z(() => [K(t.$slots, "default")]),
|
|
1030
|
+
_: 3
|
|
1031
|
+
}, 8, ["active"])], 14, pt));
|
|
1032
|
+
}
|
|
1033
|
+
}), yt = [
|
|
1134
1034
|
"inert",
|
|
1135
1035
|
"aria-hidden",
|
|
1136
1036
|
"tabindex"
|
|
1137
|
-
],
|
|
1037
|
+
], bt = { class: "dock-face-content" }, xt = /* @__PURE__ */ P({
|
|
1138
1038
|
__name: "DockLayer",
|
|
1139
1039
|
props: {
|
|
1140
1040
|
id: {},
|
|
@@ -1142,37 +1042,43 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1142
1042
|
icon: {}
|
|
1143
1043
|
},
|
|
1144
1044
|
setup(e) {
|
|
1145
|
-
let t = e, n =
|
|
1045
|
+
let t = e, n = dt(), r = Y("hostEl");
|
|
1146
1046
|
te(() => {
|
|
1147
|
-
n.register({
|
|
1047
|
+
r.value && n.register({
|
|
1148
1048
|
id: t.id,
|
|
1149
1049
|
label: t.label,
|
|
1150
|
-
icon: t.icon
|
|
1050
|
+
icon: t.icon,
|
|
1051
|
+
el: r.value
|
|
1151
1052
|
});
|
|
1152
|
-
}),
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1053
|
+
}), X(() => [
|
|
1054
|
+
t.id,
|
|
1055
|
+
t.label,
|
|
1056
|
+
t.icon
|
|
1057
|
+
], (e, i) => {
|
|
1058
|
+
i && i[0] !== e[0] && n.unregister(i[0]), r.value && n.register({
|
|
1059
|
+
id: t.id,
|
|
1060
|
+
label: t.label,
|
|
1061
|
+
icon: t.icon,
|
|
1062
|
+
el: r.value
|
|
1063
|
+
});
|
|
1064
|
+
}), ee(() => n.unregister(t.id));
|
|
1065
|
+
let i = O(() => n.activeId.value === t.id), a = O(() => n.leavingId.value === t.id);
|
|
1066
|
+
return (e, t) => (H(), j("div", {
|
|
1162
1067
|
ref_key: "hostEl",
|
|
1163
|
-
ref:
|
|
1164
|
-
class: R(["dock-
|
|
1165
|
-
"is-active":
|
|
1166
|
-
"is-leaving":
|
|
1068
|
+
ref: r,
|
|
1069
|
+
class: R(["dock-face", {
|
|
1070
|
+
"is-active": i.value,
|
|
1071
|
+
"is-leaving": a.value
|
|
1167
1072
|
}]),
|
|
1168
|
-
inert:
|
|
1169
|
-
"aria-hidden":
|
|
1170
|
-
tabindex:
|
|
1171
|
-
}, [
|
|
1073
|
+
inert: i.value ? void 0 : !0,
|
|
1074
|
+
"aria-hidden": i.value ? void 0 : !0,
|
|
1075
|
+
tabindex: i.value ? -1 : void 0
|
|
1076
|
+
}, [M("div", bt, [K(e.$slots, "default")])], 10, yt));
|
|
1172
1077
|
}
|
|
1173
|
-
}),
|
|
1174
|
-
__name: "
|
|
1078
|
+
}), St = /* @__PURE__ */ P({
|
|
1079
|
+
__name: "DockControl",
|
|
1175
1080
|
props: {
|
|
1081
|
+
shape: { default: "icon" },
|
|
1176
1082
|
compact: {
|
|
1177
1083
|
type: Boolean,
|
|
1178
1084
|
default: !1
|
|
@@ -1182,6 +1088,10 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1182
1088
|
default: !1
|
|
1183
1089
|
},
|
|
1184
1090
|
type: { default: "button" },
|
|
1091
|
+
disabled: {
|
|
1092
|
+
type: Boolean,
|
|
1093
|
+
default: !1
|
|
1094
|
+
},
|
|
1185
1095
|
as: { default: "button" },
|
|
1186
1096
|
asChild: {
|
|
1187
1097
|
type: Boolean,
|
|
@@ -1196,26 +1106,76 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1196
1106
|
] }
|
|
1197
1107
|
},
|
|
1198
1108
|
setup(t) {
|
|
1199
|
-
let
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1109
|
+
let a = t, o = O(() => a.shape === "tab"), s = O(() => o.value ? e("dock-tab-button glass-specular-track", a.class) : e("dock-icon-button glass-specular-track glass-capsule-hover", { "glass-capsule": a.active }, { "dock-icon-button--compact": a.compact }, a.class)), c = O(() => ({
|
|
1110
|
+
...a.active ? {
|
|
1111
|
+
"aria-pressed": "true",
|
|
1112
|
+
"data-active": ""
|
|
1113
|
+
} : {},
|
|
1114
|
+
...a.disabled ? {
|
|
1115
|
+
...a.as === "button" && !a.asChild ? { disabled: !0 } : {},
|
|
1116
|
+
"aria-disabled": "true"
|
|
1117
|
+
} : {}
|
|
1118
|
+
})), l = O(() => !a.asChild && a.as === "button" ? { type: a.type } : {}), u = n("press"), d = i({
|
|
1119
|
+
squish: !0,
|
|
1120
|
+
response: u.response,
|
|
1121
|
+
dampingFraction: u.dampingFraction,
|
|
1122
|
+
pressVar: "--dock-press-t",
|
|
1123
|
+
shrinkDepth: .04,
|
|
1124
|
+
maxStretch: 1.03
|
|
1125
|
+
}), f = O(() => o.value ? {} : { ...d.pressStyle.value });
|
|
1126
|
+
return (e, n) => Q((H(), k(J(le), I({
|
|
1204
1127
|
as: t.as,
|
|
1205
1128
|
"as-child": t.asChild
|
|
1206
1129
|
}, {
|
|
1207
|
-
...
|
|
1208
|
-
...
|
|
1209
|
-
}, {
|
|
1210
|
-
|
|
1130
|
+
...l.value,
|
|
1131
|
+
...c.value
|
|
1132
|
+
}, {
|
|
1133
|
+
class: s.value,
|
|
1134
|
+
style: f.value,
|
|
1135
|
+
onPointerdown: n[0] ||= (e) => !o.value && J(d).press(),
|
|
1136
|
+
onPointerup: n[1] ||= (e) => !o.value && J(d).release(),
|
|
1137
|
+
onPointercancel: n[2] ||= (e) => !o.value && J(d).release(),
|
|
1138
|
+
onPointerleave: n[3] ||= (e) => !o.value && J(d).release()
|
|
1139
|
+
}), {
|
|
1140
|
+
default: Z(() => [K(e.$slots, "default")]),
|
|
1211
1141
|
_: 3
|
|
1212
1142
|
}, 16, [
|
|
1213
1143
|
"as",
|
|
1214
1144
|
"as-child",
|
|
1215
|
-
"class"
|
|
1216
|
-
|
|
1145
|
+
"class",
|
|
1146
|
+
"style"
|
|
1147
|
+
])), [[J(r)]]);
|
|
1148
|
+
}
|
|
1149
|
+
}), Ct = /* @__PURE__ */ P({
|
|
1150
|
+
inheritAttrs: !1,
|
|
1151
|
+
__name: "DockTrigger",
|
|
1152
|
+
props: {
|
|
1153
|
+
for: { default: "select" },
|
|
1154
|
+
class: { type: [
|
|
1155
|
+
Boolean,
|
|
1156
|
+
null,
|
|
1157
|
+
String,
|
|
1158
|
+
Object,
|
|
1159
|
+
Array
|
|
1160
|
+
] }
|
|
1161
|
+
},
|
|
1162
|
+
setup(t) {
|
|
1163
|
+
let n = t, i = O(() => e("dock-trigger", n.for === "select" && "dock-select-trigger", n.for !== "select" && "dock-dropdown-trigger", n.class));
|
|
1164
|
+
return (e, t) => n.for === "select" ? Q((H(), k(J(de), I({ key: 0 }, e.$attrs, { class: i.value }), {
|
|
1165
|
+
default: Z(() => [K(e.$slots, "default"), N(J(ue), { "as-child": "" }, {
|
|
1166
|
+
default: Z(() => [K(e.$slots, "icon", {}, () => [N(J(fe), { class: "dock-select-trigger__chevron" })])]),
|
|
1167
|
+
_: 3
|
|
1168
|
+
})]),
|
|
1169
|
+
_: 3
|
|
1170
|
+
}, 16, ["class"])), [[J(r)]]) : n.for === "dropdown" ? Q((H(), k(J(se), I({ key: 1 }, e.$attrs, { class: i.value }), {
|
|
1171
|
+
default: Z(() => [K(e.$slots, "default")]),
|
|
1172
|
+
_: 3
|
|
1173
|
+
}, 16, ["class"])), [[J(r)]]) : Q((H(), k(J(ce), I({ key: 2 }, e.$attrs, { class: i.value }), {
|
|
1174
|
+
default: Z(() => [K(e.$slots, "default")]),
|
|
1175
|
+
_: 3
|
|
1176
|
+
}, 16, ["class"])), [[J(r)]]);
|
|
1217
1177
|
}
|
|
1218
|
-
}),
|
|
1178
|
+
}), wt = /* @__PURE__ */ P({
|
|
1219
1179
|
__name: "DockBackgroundToggle",
|
|
1220
1180
|
props: {
|
|
1221
1181
|
paused: {
|
|
@@ -1226,23 +1186,23 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1226
1186
|
playLabel: { default: "Resume background animation" }
|
|
1227
1187
|
},
|
|
1228
1188
|
emits: ["update:paused"],
|
|
1229
|
-
setup(e, { emit:
|
|
1230
|
-
let
|
|
1231
|
-
function
|
|
1232
|
-
|
|
1189
|
+
setup(e, { emit: t }) {
|
|
1190
|
+
let n = e, r = t, i = O(() => n.paused ? n.playLabel : n.pauseLabel);
|
|
1191
|
+
function a() {
|
|
1192
|
+
r("update:paused", !n.paused);
|
|
1233
1193
|
}
|
|
1234
|
-
return (
|
|
1194
|
+
return (t, n) => (H(), k(St, {
|
|
1235
1195
|
type: "button",
|
|
1236
1196
|
"aria-pressed": e.paused,
|
|
1237
|
-
"aria-label":
|
|
1238
|
-
title:
|
|
1239
|
-
onClick:
|
|
1197
|
+
"aria-label": i.value,
|
|
1198
|
+
title: i.value,
|
|
1199
|
+
onClick: a
|
|
1240
1200
|
}, {
|
|
1241
|
-
default:
|
|
1201
|
+
default: Z(() => [e.paused ? (H(), k(J(he), {
|
|
1242
1202
|
key: 0,
|
|
1243
1203
|
size: 18,
|
|
1244
1204
|
"aria-hidden": "true"
|
|
1245
|
-
})) : (H(), k(
|
|
1205
|
+
})) : (H(), k(J(me), {
|
|
1246
1206
|
key: 1,
|
|
1247
1207
|
size: 18,
|
|
1248
1208
|
"aria-hidden": "true"
|
|
@@ -1254,171 +1214,194 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1254
1214
|
"title"
|
|
1255
1215
|
]));
|
|
1256
1216
|
}
|
|
1257
|
-
}),
|
|
1258
|
-
__name: "DockTabButton",
|
|
1259
|
-
props: {
|
|
1260
|
-
as: { default: "button" },
|
|
1261
|
-
asChild: {
|
|
1262
|
-
type: Boolean,
|
|
1263
|
-
default: !1
|
|
1264
|
-
},
|
|
1265
|
-
class: { type: [
|
|
1266
|
-
Boolean,
|
|
1267
|
-
null,
|
|
1268
|
-
String,
|
|
1269
|
-
Object,
|
|
1270
|
-
Array
|
|
1271
|
-
] }
|
|
1272
|
-
},
|
|
1273
|
-
setup(t) {
|
|
1274
|
-
let n = t, r = O(() => e("dock-tab-button", n.class));
|
|
1275
|
-
return (e, n) => Z((H(), k(K(ce), {
|
|
1276
|
-
as: t.as,
|
|
1277
|
-
"as-child": t.asChild,
|
|
1278
|
-
class: R(r.value)
|
|
1279
|
-
}, {
|
|
1280
|
-
default: X(() => [G(e.$slots, "default")]),
|
|
1281
|
-
_: 3
|
|
1282
|
-
}, 8, [
|
|
1283
|
-
"as",
|
|
1284
|
-
"as-child",
|
|
1285
|
-
"class"
|
|
1286
|
-
])), [[K(o)]]);
|
|
1287
|
-
}
|
|
1288
|
-
}), bt = /* @__PURE__ */ P({
|
|
1289
|
-
__name: "DockSelectTrigger",
|
|
1290
|
-
props: {
|
|
1291
|
-
disabled: { type: Boolean },
|
|
1292
|
-
reference: {},
|
|
1293
|
-
asChild: { type: Boolean },
|
|
1294
|
-
as: {},
|
|
1295
|
-
class: { type: [
|
|
1296
|
-
Boolean,
|
|
1297
|
-
null,
|
|
1298
|
-
String,
|
|
1299
|
-
Object,
|
|
1300
|
-
Array
|
|
1301
|
-
] }
|
|
1302
|
-
},
|
|
1303
|
-
setup(t) {
|
|
1304
|
-
let n = t, r = he(O(() => {
|
|
1305
|
-
let { class: e, ...t } = n;
|
|
1306
|
-
return t;
|
|
1307
|
-
}));
|
|
1308
|
-
return (t, a) => Z((H(), k(K(ue), I(K(r), { class: K(e)("dock-select-trigger", n.class) }), {
|
|
1309
|
-
default: X(() => [G(t.$slots, "default"), N(K(le), { "as-child": "" }, {
|
|
1310
|
-
default: X(() => [G(t.$slots, "icon", {}, () => [N(K(i), { class: "dock-select-trigger__chevron" })])]),
|
|
1311
|
-
_: 3
|
|
1312
|
-
})]),
|
|
1313
|
-
_: 3
|
|
1314
|
-
}, 16, ["class"])), [[K(o)]]);
|
|
1315
|
-
}
|
|
1316
|
-
}), xt = /* @__PURE__ */ P({
|
|
1317
|
-
__name: "DockDropdownTrigger",
|
|
1318
|
-
props: {
|
|
1319
|
-
disabled: { type: Boolean },
|
|
1320
|
-
asChild: { type: Boolean },
|
|
1321
|
-
as: {},
|
|
1322
|
-
type: {},
|
|
1323
|
-
class: { type: [
|
|
1324
|
-
Boolean,
|
|
1325
|
-
null,
|
|
1326
|
-
String,
|
|
1327
|
-
Object,
|
|
1328
|
-
Array
|
|
1329
|
-
] }
|
|
1330
|
-
},
|
|
1331
|
-
setup(t) {
|
|
1332
|
-
let n = t, r = he(O(() => {
|
|
1333
|
-
let { class: e, ...t } = n;
|
|
1334
|
-
return t;
|
|
1335
|
-
}));
|
|
1336
|
-
return (t, i) => Z((H(), k(K(se), I(K(r), { class: K(e)("dock-dropdown-trigger", n.class) }), {
|
|
1337
|
-
default: X(() => [G(t.$slots, "default")]),
|
|
1338
|
-
_: 3
|
|
1339
|
-
}, 16, ["class"])), [[K(o)]]);
|
|
1340
|
-
}
|
|
1341
|
-
}), St = [
|
|
1217
|
+
}), Tt = [
|
|
1342
1218
|
"data-orientation",
|
|
1343
1219
|
"data-rail-anchor",
|
|
1344
1220
|
"aria-orientation"
|
|
1345
|
-
],
|
|
1221
|
+
], Et = /* @__PURE__ */ P({
|
|
1346
1222
|
__name: "DockSeparator",
|
|
1347
1223
|
props: { anchor: {
|
|
1348
1224
|
type: Boolean,
|
|
1349
1225
|
default: !1
|
|
1350
1226
|
} },
|
|
1351
1227
|
setup(e) {
|
|
1352
|
-
let t =
|
|
1228
|
+
let t = p(), n = O(() => t?.orientation.value ?? "horizontal"), r = O(() => n.value), i = O(() => n.value === "vertical" ? "horizontal" : "vertical");
|
|
1353
1229
|
return (t, n) => (H(), j("div", {
|
|
1354
1230
|
class: R(["dock-separator", { "dock-separator--anchor": e.anchor }]),
|
|
1355
1231
|
role: "separator",
|
|
1356
1232
|
"data-orientation": r.value,
|
|
1357
1233
|
"data-rail-anchor": e.anchor || void 0,
|
|
1358
1234
|
"aria-orientation": i.value
|
|
1359
|
-
}, null, 10,
|
|
1235
|
+
}, null, 10, Tt));
|
|
1236
|
+
}
|
|
1237
|
+
});
|
|
1238
|
+
//#endregion
|
|
1239
|
+
//#region src/components/dock/composables/useDockPopover.ts
|
|
1240
|
+
function Dt(e) {
|
|
1241
|
+
let t = W(!1), n = e.gap ?? 8, r = e.viewportMargin ?? 8, i = e.hoverIntentMs ?? 60, a = e.hoverGraceMs ?? 120, o = null, s = null, c = !1;
|
|
1242
|
+
function l() {
|
|
1243
|
+
o != null && (clearTimeout(o), o = null);
|
|
1360
1244
|
}
|
|
1361
|
-
|
|
1245
|
+
function u() {
|
|
1246
|
+
s != null && (clearTimeout(s), s = null);
|
|
1247
|
+
}
|
|
1248
|
+
function d() {
|
|
1249
|
+
let t = e.anchor(), i = e.popover.value;
|
|
1250
|
+
if (!t || !i) return;
|
|
1251
|
+
let a = t.getBoundingClientRect(), o = i.offsetWidth, s = i.offsetHeight, c = re(e.side) ?? "top", l = re(e.align) ?? "center", u = (e, t, n) => l === "start" ? e : l === "end" ? e + t - n : e + t / 2 - n / 2, d = 0, f = 0;
|
|
1252
|
+
switch (c) {
|
|
1253
|
+
case "bottom":
|
|
1254
|
+
d = a.bottom + n, f = u(a.left, a.width, o);
|
|
1255
|
+
break;
|
|
1256
|
+
case "left":
|
|
1257
|
+
f = a.left - o - n, d = u(a.top, a.height, s);
|
|
1258
|
+
break;
|
|
1259
|
+
case "right":
|
|
1260
|
+
f = a.right + n, d = u(a.top, a.height, s);
|
|
1261
|
+
break;
|
|
1262
|
+
default:
|
|
1263
|
+
d = a.top - s - n, f = u(a.left, a.width, o);
|
|
1264
|
+
break;
|
|
1265
|
+
}
|
|
1266
|
+
let p = Math.max(r, window.innerWidth - o - r), m = Math.max(r, window.innerHeight - s - r);
|
|
1267
|
+
f = Math.min(Math.max(f, r), p), d = Math.min(Math.max(d, r), m), i.style.position = "fixed", i.style.margin = "0", i.style.inset = "auto", i.style.top = `${Math.round(d)}px`, i.style.left = `${Math.round(f)}px`;
|
|
1268
|
+
}
|
|
1269
|
+
function f() {
|
|
1270
|
+
d();
|
|
1271
|
+
}
|
|
1272
|
+
function p(t) {
|
|
1273
|
+
let n = t.target, r = e.popover.value, i = e.anchor();
|
|
1274
|
+
n && (r && r.contains(n) || i && i.contains(n)) || _();
|
|
1275
|
+
}
|
|
1276
|
+
function m() {
|
|
1277
|
+
c || (c = !0, window.addEventListener("resize", f), window.addEventListener("scroll", f, !0), document.addEventListener("pointerdown", p, !0));
|
|
1278
|
+
}
|
|
1279
|
+
function h() {
|
|
1280
|
+
c && (c = !1, window.removeEventListener("resize", f), window.removeEventListener("scroll", f, !0), document.removeEventListener("pointerdown", p, !0));
|
|
1281
|
+
}
|
|
1282
|
+
function g() {
|
|
1283
|
+
l(), u();
|
|
1284
|
+
let n = e.popover.value;
|
|
1285
|
+
if (!(!n || t.value)) {
|
|
1286
|
+
try {
|
|
1287
|
+
n.showPopover();
|
|
1288
|
+
} catch {}
|
|
1289
|
+
t.value = !0, d(), m();
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
function _() {
|
|
1293
|
+
l(), u();
|
|
1294
|
+
let n = e.popover.value;
|
|
1295
|
+
if (!n || !t.value) return;
|
|
1296
|
+
let r = n.contains(document.activeElement);
|
|
1297
|
+
try {
|
|
1298
|
+
n.hidePopover();
|
|
1299
|
+
} catch {}
|
|
1300
|
+
t.value = !1, h(), r && e.anchor()?.focus();
|
|
1301
|
+
}
|
|
1302
|
+
function v() {
|
|
1303
|
+
t.value ? _() : g();
|
|
1304
|
+
}
|
|
1305
|
+
function y() {
|
|
1306
|
+
u(), !t.value && (l(), o = setTimeout(() => {
|
|
1307
|
+
o = null, g();
|
|
1308
|
+
}, i));
|
|
1309
|
+
}
|
|
1310
|
+
function b() {
|
|
1311
|
+
l(), T();
|
|
1312
|
+
}
|
|
1313
|
+
function x() {
|
|
1314
|
+
l(), u();
|
|
1315
|
+
}
|
|
1316
|
+
function S() {
|
|
1317
|
+
T();
|
|
1318
|
+
}
|
|
1319
|
+
function C() {
|
|
1320
|
+
l(), u(), g();
|
|
1321
|
+
}
|
|
1322
|
+
function w(t) {
|
|
1323
|
+
let n = t.relatedTarget, r = e.popover.value, i = e.anchor();
|
|
1324
|
+
n && (r && r.contains(n) || i && i.contains(n)) || _();
|
|
1325
|
+
}
|
|
1326
|
+
function T() {
|
|
1327
|
+
u(), s = setTimeout(() => {
|
|
1328
|
+
s = null, _();
|
|
1329
|
+
}, a);
|
|
1330
|
+
}
|
|
1331
|
+
return B(() => {
|
|
1332
|
+
l(), u(), h();
|
|
1333
|
+
let n = e.popover.value;
|
|
1334
|
+
if (n && t.value) try {
|
|
1335
|
+
n.hidePopover();
|
|
1336
|
+
} catch {}
|
|
1337
|
+
}), {
|
|
1338
|
+
open: t,
|
|
1339
|
+
show: g,
|
|
1340
|
+
hide: _,
|
|
1341
|
+
toggle: v,
|
|
1342
|
+
place: d,
|
|
1343
|
+
onAnchorEnter: y,
|
|
1344
|
+
onAnchorLeave: b,
|
|
1345
|
+
onPopoverEnter: x,
|
|
1346
|
+
onPopoverLeave: S,
|
|
1347
|
+
onFocusIn: C,
|
|
1348
|
+
onFocusOut: w
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
//#endregion
|
|
1352
|
+
//#region src/components/dock/DockStack.vue?vue&type=script&setup=true&lang.ts
|
|
1353
|
+
var Ot = ["data-orientation", "data-mode"], kt = ["data-scrolls", "data-wrap"], At = /* @__PURE__ */ P({
|
|
1362
1354
|
__name: "DockStack",
|
|
1363
1355
|
props: /* @__PURE__ */ F({
|
|
1364
1356
|
items: {},
|
|
1357
|
+
mode: { default: "stack" },
|
|
1365
1358
|
core: {},
|
|
1366
1359
|
coreLabel: { default: "Open stack" },
|
|
1367
1360
|
visibleCount: { default: 3 },
|
|
1368
|
-
|
|
1369
|
-
}, {
|
|
1370
|
-
selected: {},
|
|
1371
|
-
selectedModifiers: {},
|
|
1372
|
-
expanded: {
|
|
1361
|
+
wrap: {
|
|
1373
1362
|
type: Boolean,
|
|
1374
1363
|
default: !1
|
|
1375
1364
|
},
|
|
1376
|
-
|
|
1365
|
+
position: { default: "end" }
|
|
1366
|
+
}, {
|
|
1367
|
+
selected: {},
|
|
1368
|
+
selectedModifiers: {}
|
|
1377
1369
|
}),
|
|
1378
|
-
emits: /* @__PURE__ */ F(["select"], ["update:selected"
|
|
1370
|
+
emits: /* @__PURE__ */ F(["select"], ["update:selected"]),
|
|
1379
1371
|
setup(e, { emit: t }) {
|
|
1380
|
-
let
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
}
|
|
1389
|
-
function _() {
|
|
1390
|
-
h(), o.value = !1;
|
|
1391
|
-
}
|
|
1392
|
-
function v() {
|
|
1393
|
-
h(), o.value = !0;
|
|
1394
|
-
}
|
|
1395
|
-
function y(e) {
|
|
1396
|
-
let t = e.relatedTarget, n = e.currentTarget;
|
|
1397
|
-
n && t && n.contains(t) || (o.value = !1);
|
|
1398
|
-
}
|
|
1399
|
-
ee(h);
|
|
1400
|
-
function x(e) {
|
|
1401
|
-
a.value = e.id, e.onSelect?.(), i("select", e.id);
|
|
1372
|
+
let n = e, r = t, i = ae(e, "selected"), a = p(), o = O(() => a?.orientation.value ?? "vertical"), s = O(() => n.core ?? pe), c = O(() => [...n.items]), l = O(() => n.mode === "facets"), u = O(() => c.value.length > n.visibleCount), d = `dock-stack-fan-${ie()}`, f = Y("stackRoot"), m = Y("fanEl"), h = Dt({
|
|
1373
|
+
anchor: () => f.value?.querySelector(".dock-stack-core") ?? null,
|
|
1374
|
+
popover: m,
|
|
1375
|
+
side: () => o.value === "vertical" ? "right" : "top",
|
|
1376
|
+
align: O(() => n.position === "start" ? "start" : "end")
|
|
1377
|
+
});
|
|
1378
|
+
function g(e) {
|
|
1379
|
+
i.value = e.id, e.onSelect?.(), r("select", e.id), h.hide();
|
|
1402
1380
|
}
|
|
1403
1381
|
return (t, n) => (H(), j("div", {
|
|
1382
|
+
ref_key: "stackRoot",
|
|
1383
|
+
ref: f,
|
|
1404
1384
|
class: R(["dock-stack", [
|
|
1405
|
-
|
|
1406
|
-
`
|
|
1407
|
-
{
|
|
1385
|
+
o.value,
|
|
1386
|
+
`mode-${e.mode}`,
|
|
1387
|
+
`at-${e.position}`
|
|
1408
1388
|
]]),
|
|
1409
|
-
"data-orientation":
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
}, [N(_t, {
|
|
1389
|
+
"data-orientation": o.value,
|
|
1390
|
+
"data-mode": e.mode,
|
|
1391
|
+
onFocusin: n[3] ||= (...e) => J(h).onFocusIn && J(h).onFocusIn(...e),
|
|
1392
|
+
onFocusout: n[4] ||= (e) => J(h).onFocusOut(e)
|
|
1393
|
+
}, [N(St, {
|
|
1415
1394
|
type: "button",
|
|
1416
1395
|
class: "dock-stack-core",
|
|
1417
1396
|
"aria-label": e.coreLabel,
|
|
1418
|
-
"aria-expanded":
|
|
1419
|
-
|
|
1397
|
+
"aria-expanded": J(h).open.value,
|
|
1398
|
+
"aria-controls": d,
|
|
1399
|
+
title: e.coreLabel,
|
|
1400
|
+
onPointerenter: J(h).onAnchorEnter,
|
|
1401
|
+
onPointerleave: J(h).onAnchorLeave,
|
|
1402
|
+
onClick: J(h).toggle
|
|
1420
1403
|
}, {
|
|
1421
|
-
default:
|
|
1404
|
+
default: Z(() => [(H(), k(q(s.value), {
|
|
1422
1405
|
class: "size-4",
|
|
1423
1406
|
"aria-hidden": "true"
|
|
1424
1407
|
}))]),
|
|
@@ -1426,24 +1409,51 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1426
1409
|
}, 8, [
|
|
1427
1410
|
"aria-label",
|
|
1428
1411
|
"aria-expanded",
|
|
1429
|
-
"title"
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1412
|
+
"title",
|
|
1413
|
+
"onPointerenter",
|
|
1414
|
+
"onPointerleave",
|
|
1415
|
+
"onClick"
|
|
1416
|
+
]), M("div", {
|
|
1417
|
+
id: d,
|
|
1418
|
+
ref_key: "fanEl",
|
|
1419
|
+
ref: m,
|
|
1420
|
+
popover: "manual",
|
|
1421
|
+
class: R(["dock-stack-fan", [
|
|
1422
|
+
o.value,
|
|
1423
|
+
`mode-${e.mode}`,
|
|
1424
|
+
{ "mode-facets": l.value }
|
|
1425
|
+
]]),
|
|
1426
|
+
"data-scrolls": u.value && !e.wrap || void 0,
|
|
1427
|
+
"data-wrap": e.wrap || void 0,
|
|
1428
|
+
onPointerenter: n[0] ||= (...e) => J(h).onPopoverEnter && J(h).onPopoverEnter(...e),
|
|
1429
|
+
onPointerleave: n[1] ||= (...e) => J(h).onPopoverLeave && J(h).onPopoverLeave(...e),
|
|
1430
|
+
onKeydown: n[2] ||= oe((...e) => J(h).hide && J(h).hide(...e), ["escape"])
|
|
1431
|
+
}, [N(y, {
|
|
1432
|
+
axis: o.value === "vertical" ? "x" : "y",
|
|
1433
|
+
class: "dock-stack-fan-scroll",
|
|
1434
|
+
"data-scrolls": u.value && !e.wrap || void 0,
|
|
1435
|
+
"data-wrap": e.wrap || void 0
|
|
1435
1436
|
}, {
|
|
1436
|
-
default:
|
|
1437
|
+
default: Z(() => [(H(!0), j(D, null, G(c.value, (e, t) => (H(), k(St, {
|
|
1437
1438
|
key: e.id,
|
|
1438
1439
|
type: "button",
|
|
1439
|
-
class: R(["dock-stack-member", {
|
|
1440
|
-
|
|
1440
|
+
class: R(["dock-stack-member", {
|
|
1441
|
+
"is-active": i.value === e.id,
|
|
1442
|
+
"dock-facet-chip": l.value
|
|
1443
|
+
}]),
|
|
1444
|
+
style: z({
|
|
1445
|
+
"--i": t,
|
|
1446
|
+
...l.value && e.accent ? {
|
|
1447
|
+
"--glass-accent": e.accent,
|
|
1448
|
+
"--glass-accent-strength": "var(--dock-facet-accent-strength)"
|
|
1449
|
+
} : {}
|
|
1450
|
+
}),
|
|
1441
1451
|
"aria-label": e.label,
|
|
1442
|
-
"aria-pressed":
|
|
1452
|
+
"aria-pressed": i.value === e.id,
|
|
1443
1453
|
title: e.label,
|
|
1444
|
-
onClick: (t) =>
|
|
1454
|
+
onClick: (t) => g(e)
|
|
1445
1455
|
}, {
|
|
1446
|
-
default:
|
|
1456
|
+
default: Z(() => [(H(), k(q(e.icon ?? s.value), {
|
|
1447
1457
|
class: "size-4",
|
|
1448
1458
|
"aria-hidden": "true"
|
|
1449
1459
|
}))]),
|
|
@@ -1459,15 +1469,15 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1459
1469
|
_: 1
|
|
1460
1470
|
}, 8, [
|
|
1461
1471
|
"axis",
|
|
1462
|
-
"
|
|
1463
|
-
"data-
|
|
1464
|
-
])], 42,
|
|
1472
|
+
"data-scrolls",
|
|
1473
|
+
"data-wrap"
|
|
1474
|
+
])], 42, kt)], 42, Ot));
|
|
1465
1475
|
}
|
|
1466
|
-
}),
|
|
1476
|
+
}), jt = ["aria-label"], Mt = [
|
|
1467
1477
|
"data-kind",
|
|
1468
1478
|
"data-section-id",
|
|
1469
1479
|
"aria-label"
|
|
1470
|
-
],
|
|
1480
|
+
], Nt = /* @__PURE__ */ P({
|
|
1471
1481
|
__name: "DockSection",
|
|
1472
1482
|
props: {
|
|
1473
1483
|
sections: {},
|
|
@@ -1493,7 +1503,7 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1493
1503
|
class: "dock-section",
|
|
1494
1504
|
role: "group",
|
|
1495
1505
|
"aria-label": e.ariaLabel
|
|
1496
|
-
}, [(H(!0), j(D, null,
|
|
1506
|
+
}, [(H(!0), j(D, null, G(e.sections, (e, n) => (H(), j(D, { key: e.id }, [r(n) ? (H(), k(Et, {
|
|
1497
1507
|
key: 0,
|
|
1498
1508
|
anchor: i(e)
|
|
1499
1509
|
}, null, 8, ["anchor"])) : A("", !0), M("div", {
|
|
@@ -1501,15 +1511,15 @@ var ft = { key: 1 }, pt = { key: 2 }, mt = /* @__PURE__ */ P({
|
|
|
1501
1511
|
"data-kind": e.kind,
|
|
1502
1512
|
"data-section-id": e.id,
|
|
1503
1513
|
"aria-label": e.label || void 0
|
|
1504
|
-
}, [
|
|
1514
|
+
}, [K(t.$slots, e.id, {
|
|
1505
1515
|
section: e,
|
|
1506
1516
|
kind: e.kind
|
|
1507
|
-
})], 10,
|
|
1517
|
+
})], 10, Mt)], 64))), 128))], 8, jt));
|
|
1508
1518
|
}
|
|
1509
1519
|
});
|
|
1510
1520
|
//#endregion
|
|
1511
|
-
//#region src/components/
|
|
1512
|
-
function
|
|
1521
|
+
//#region src/components/dock/composables/useDockSearch.ts
|
|
1522
|
+
function Pt(e) {
|
|
1513
1523
|
let { dockState: t } = e, n = e.debounceMs ?? 120, r = e.maxResults ?? 30, i = W([]), a = null, o = e.items ? e.items : () => i.value;
|
|
1514
1524
|
function s(t) {
|
|
1515
1525
|
let n = t.item.id;
|
|
@@ -1523,7 +1533,7 @@ function kt(e) {
|
|
|
1523
1533
|
});
|
|
1524
1534
|
if (e.onSearch) {
|
|
1525
1535
|
let t = e.onSearch;
|
|
1526
|
-
|
|
1536
|
+
X(() => c.query.value, (e) => {
|
|
1527
1537
|
if (a?.abort(), !e) {
|
|
1528
1538
|
i.value = [];
|
|
1529
1539
|
return;
|
|
@@ -1556,7 +1566,7 @@ function kt(e) {
|
|
|
1556
1566
|
d.value && (d.value = !1, c.close(), t.release());
|
|
1557
1567
|
}
|
|
1558
1568
|
let m = null;
|
|
1559
|
-
return e.collapseOnScroll && e.scrollContainer && (m =
|
|
1569
|
+
return e.collapseOnScroll && e.scrollContainer && (m = w(e.scrollContainer, {
|
|
1560
1570
|
collapseOnScroll: !0,
|
|
1561
1571
|
chromeRef: e.chromeRef
|
|
1562
1572
|
})), B(() => {
|
|
@@ -1572,94 +1582,76 @@ function kt(e) {
|
|
|
1572
1582
|
};
|
|
1573
1583
|
}
|
|
1574
1584
|
//#endregion
|
|
1575
|
-
//#region src/components/
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
}
|
|
1647
|
-
let b = O(() => s.sizeStyle.value), x = O(() => c.sizeStyle.value), S = O(() => ({ opacity: String(_(r.value)) })), C = O(() => ({ opacity: String(y(r.value)) })), w = O(() => Math.max(s.stretch.value, c.stretch.value));
|
|
1648
|
-
return Y(t, (e) => {
|
|
1649
|
-
e && e.style.setProperty("--dock-morph-t", `${r.value}`);
|
|
1650
|
-
}, { immediate: !0 }), B(d), {
|
|
1651
|
-
orientation: n,
|
|
1652
|
-
t: r,
|
|
1653
|
-
morphing: i,
|
|
1654
|
-
verticalStyle: b,
|
|
1655
|
-
horizontalStyle: x,
|
|
1656
|
-
verticalOpacity: S,
|
|
1657
|
-
horizontalOpacity: C,
|
|
1658
|
-
stretch: w,
|
|
1659
|
-
morphTo: m,
|
|
1660
|
-
toggle: h,
|
|
1661
|
-
pin: g
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1585
|
+
//#region src/components/goo-filter/GooFilter.vue?vue&type=script&setup=true&lang.ts
|
|
1586
|
+
var Ft = {
|
|
1587
|
+
class: "goo-filter-host",
|
|
1588
|
+
"aria-hidden": "true",
|
|
1589
|
+
focusable: "false",
|
|
1590
|
+
width: "1",
|
|
1591
|
+
height: "1"
|
|
1592
|
+
}, It = ["id"], Lt = ["stdDeviation"], Rt = ["values"], zt = /* @__PURE__ */ o(/* @__PURE__ */ P({
|
|
1593
|
+
__name: "GooFilter",
|
|
1594
|
+
props: { extra: { default: () => [] } },
|
|
1595
|
+
setup(e) {
|
|
1596
|
+
let t = [
|
|
1597
|
+
{
|
|
1598
|
+
id: "glass-goo",
|
|
1599
|
+
blur: 10,
|
|
1600
|
+
slope: 15,
|
|
1601
|
+
offset: -7
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
id: "dock-fission-goo",
|
|
1605
|
+
blur: 7,
|
|
1606
|
+
slope: 20,
|
|
1607
|
+
offset: -9
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
id: "pager-worm-goo",
|
|
1611
|
+
blur: 4,
|
|
1612
|
+
slope: 18,
|
|
1613
|
+
offset: -6
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
id: "dock-morph-goo",
|
|
1617
|
+
blur: 16,
|
|
1618
|
+
slope: 14,
|
|
1619
|
+
offset: -7
|
|
1620
|
+
},
|
|
1621
|
+
{
|
|
1622
|
+
id: "morph-goo",
|
|
1623
|
+
blur: 10,
|
|
1624
|
+
slope: 18,
|
|
1625
|
+
offset: -7
|
|
1626
|
+
}
|
|
1627
|
+
], n = e, r = [...t, ...n.extra];
|
|
1628
|
+
return (e, t) => (H(), j("svg", Ft, [M("defs", null, [(H(), j(D, null, G(r, (e) => M("filter", {
|
|
1629
|
+
key: e.id,
|
|
1630
|
+
id: e.id,
|
|
1631
|
+
"color-interpolation-filters": "sRGB",
|
|
1632
|
+
x: "-50%",
|
|
1633
|
+
y: "-50%",
|
|
1634
|
+
width: "200%",
|
|
1635
|
+
height: "200%"
|
|
1636
|
+
}, [
|
|
1637
|
+
M("feGaussianBlur", {
|
|
1638
|
+
in: "SourceGraphic",
|
|
1639
|
+
stdDeviation: e.blur,
|
|
1640
|
+
result: "blur"
|
|
1641
|
+
}, null, 8, Lt),
|
|
1642
|
+
M("feColorMatrix", {
|
|
1643
|
+
in: "blur",
|
|
1644
|
+
mode: "matrix",
|
|
1645
|
+
values: `1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 ${e.slope} ${e.offset}`,
|
|
1646
|
+
result: "goo"
|
|
1647
|
+
}, null, 8, Rt),
|
|
1648
|
+
t[0] ||= M("feComposite", {
|
|
1649
|
+
in: "SourceGraphic",
|
|
1650
|
+
in2: "goo",
|
|
1651
|
+
operator: "atop"
|
|
1652
|
+
}, null, -1)
|
|
1653
|
+
], 8, It)), 64))])]));
|
|
1654
|
+
}
|
|
1655
|
+
}), [["__scopeId", "data-v-f8d28853"]]);
|
|
1664
1656
|
//#endregion
|
|
1665
|
-
export {
|
|
1657
|
+
export { v as DOCK_CONTEXT_KEY, wt as DockBackgroundToggle, St as DockControl, ft as DockCrossfade, xt as DockLayer, vt as DockLayerGroup, Nt as DockSection, Et as DockSeparator, At as DockStack, Ct as DockTrigger, st as GlassDock, zt as GooFilter, m as provideDockContext, g as useDockContext, x as useDockCtaReceive, Pt as useDockSearch, p as useOptionalDockContext };
|