@mkbabb/glass-ui 3.13.0 → 4.0.1
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 +3 -1
- package/dist/CardAction-CW7a0m8M.js +253 -0
- package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DvZNQ_HF.js} +58 -53
- package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
- package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-uWnVxDab.js} +1 -1
- package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
- package/dist/{DataTable-BCddn3T3.js → DataTable-CuKwF7wr.js} +99 -97
- package/dist/DialogContent-DcKK8k9i.js +103 -0
- package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-BZNX5aVr.js} +3 -3
- package/dist/FadingScroll-DI6hQhT9.js +76 -0
- package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-b2uaAMRR.js} +1 -1
- package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-CbqbNwgU.js} +2 -2
- package/dist/IconChip-BTD-nay5.js +55 -0
- package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-Bl8gFZ8d.js} +1 -1
- package/dist/{Input-DWQQIOC4.js → Input-h9v5LeXf.js} +1 -1
- package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-RHdBP72w.js} +1 -1
- package/dist/Notification-VUwexFUf.js +43 -0
- package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
- package/dist/PopoverContent-DL7E6vJP.js +127 -0
- package/dist/{Progress-DwlUKGbr.js → Progress-DctG61iZ.js} +98 -78
- package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-yOpBzFYq.js} +2 -2
- package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-CrA8F0iV.js} +35 -20
- package/dist/{Switch-CsIuYP_e.js → Switch-CwYNf8bo.js} +1 -1
- package/dist/Toaster-Bw4xR8xV.js +274 -0
- package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-pEM9vIhs.js} +50 -37
- package/dist/{TooltipProvider-B3MkB_8P.js → TooltipProvider-rzvnXz60.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +16 -8
- package/dist/api/types-extra.d.ts +6 -0
- package/dist/api.js +2 -2
- package/dist/aurora.js +888 -230
- package/dist/badge.js +1 -1
- package/dist/border-progress.d.ts +1 -0
- package/dist/border-progress.js +106 -0
- package/dist/button-DYCUa-tH.js +126 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +90 -151
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -0
- package/dist/color-swatch.js +47 -0
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/compile-CQEFRTmx.js +19 -0
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +39 -0
- package/dist/components/custom/aurora/composables/auroraFallbackGround.d.ts +108 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +19 -0
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +5 -1
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +51 -0
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +29 -0
- package/dist/components/custom/aurora/constants/budget.d.ts +21 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +30 -2
- package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -10
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/procedural-color.wgsl.d.ts +4 -0
- package/dist/components/custom/aurora/index.d.ts +3 -2
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +46 -0
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +22 -0
- package/dist/components/custom/border-progress/constants.d.ts +59 -0
- package/dist/components/custom/border-progress/index.d.ts +4 -0
- package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/components/custom/color-swatch/index.d.ts +1 -0
- package/dist/components/custom/concentric/Concentric.vue.d.ts +39 -0
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +11 -0
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
- package/dist/components/custom/concentric/composables/ringField.d.ts +44 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +13 -0
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +35 -0
- package/dist/components/custom/concentric/constants.d.ts +43 -0
- package/dist/components/custom/concentric/index.d.ts +5 -0
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +4 -0
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -0
- package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
- package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/custom/constellation/constellationField.d.ts +2 -369
- package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
- package/dist/components/custom/constellation/index.d.ts +1 -1
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +13 -4
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +10 -2
- package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
- package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +75 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -0
- package/dist/components/custom/dock/constants.d.ts +35 -0
- package/dist/components/custom/dock/index.d.ts +2 -0
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +38 -0
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +41 -0
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +34 -0
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -0
- package/dist/components/custom/dot-flow-field/constants.d.ts +48 -0
- package/dist/components/custom/dot-flow-field/index.d.ts +5 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +20 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -0
- package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +33 -0
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +49 -0
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +75 -0
- package/dist/components/custom/easing/constants.d.ts +28 -0
- package/dist/components/custom/easing/index.d.ts +3 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
- package/dist/components/custom/fading-scroll/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +19 -2
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +39 -0
- package/dist/components/custom/fourier-field/constants.d.ts +7 -0
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +9 -1
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +4 -2
- package/dist/components/custom/goo-blob/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +29 -12
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/custom/goo-blob/constants.d.ts +6 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +269 -0
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
- package/dist/components/custom/handmark/constants.d.ts +39 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +52 -0
- package/dist/components/custom/handmark/index.d.ts +27 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +62 -0
- package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
- package/dist/components/custom/icon-chip/index.d.ts +2 -0
- package/dist/components/custom/icon-chip/types.d.ts +82 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +17 -2
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/spa-view/SpaView.vue.d.ts +50 -0
- package/dist/components/custom/spa-view/index.d.ts +2 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +29 -24
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
- package/dist/components/custom/tabs/constants.d.ts +9 -3
- package/dist/components/custom/tabs/index.d.ts +1 -1
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +15 -1
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/button/Button.vue.d.ts +5 -2
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/card/Card.vue.d.ts +34 -4
- package/dist/components/ui/card/CardHeader.vue.d.ts +42 -16
- package/dist/components/ui/card/ScrollCard.vue.d.ts +33 -0
- package/dist/components/ui/card/ScrollCardHeader.vue.d.ts +17 -0
- package/dist/components/ui/card/index.d.ts +2 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +2 -2
- package/dist/components/ui/carousel/index.d.ts +0 -1
- package/dist/components/ui/command/Command.vue.d.ts +4 -1
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +12 -8
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +2 -2
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +1 -1
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +2 -2
- package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +26 -0
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +17 -0
- package/dist/components/ui/drawer/constants.d.ts +45 -0
- package/dist/components/ui/drawer/index.d.ts +23 -15
- package/dist/components/ui/focus-scope/FocusScope.vue.d.ts +20 -0
- package/dist/components/ui/focus-scope/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts +1 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/ui/toast/Toast.vue.d.ts +5 -2
- package/dist/components/ui/toast/use-toast.d.ts +14 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +23 -1
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +13 -6
- package/dist/composables/glass/index.d.ts +5 -2
- package/dist/composables/glass/useSpecularPointer.d.ts +33 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +20 -0
- package/dist/composables/glass/vSpecular.d.ts +2 -0
- package/dist/composables/glass/webgl/shaders/flow.glsl.d.ts +1 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -0
- package/dist/composables/glass/webgpu/index.d.ts +2 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +54 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +84 -0
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/index.d.ts +4 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +59 -0
- package/dist/composables/motion/useDragMorph.d.ts +77 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +11 -0
- package/dist/composables/motion/useLiquidPress.d.ts +71 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +51 -0
- package/dist/composables/motion/useNumericTransition.d.ts +3 -3
- package/dist/composables/motion/usePointerVelocityField.d.ts +98 -0
- package/dist/composables/motion/useViewTransition.d.ts +36 -1
- package/dist/concentric.d.ts +1 -0
- package/dist/concentric.js +562 -0
- package/dist/configurator.js +3 -2
- package/dist/confirm-dialog.js +22 -24
- package/dist/constellation.js +93 -95
- package/dist/context-menu.js +3 -3
- package/dist/controls.js +10 -4
- package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +738 -442
- package/dist/{dockContext-BegmJVmx.js → dockContext-BNfyPLe9.js} +1 -1
- package/dist/dom.js +5 -5
- package/dist/dot-flow-field.d.ts +1 -0
- package/dist/dot-flow-field.js +604 -0
- package/dist/drawer.d.ts +1 -0
- package/dist/drawer.js +380 -0
- package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-CofSZuk8.js} +14 -15
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.d.ts +1 -0
- package/dist/easing.js +463 -0
- package/dist/expandable-container.js +45 -38
- package/dist/fading-scroll.d.ts +1 -0
- package/dist/fading-scroll.js +2 -0
- package/dist/focus-scope.d.ts +1 -0
- package/dist/focus-scope.js +23 -0
- package/dist/forms.js +7 -7
- package/dist/fourier-field.js +135 -122
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +39 -36
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +154 -362
- package/dist/goo-blob.js +838 -227
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +707 -0
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.d.ts +1 -0
- package/dist/icon-chip.js +2 -0
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/{math-U6-RrLmV.js → math-BINYmg5z.js} +11 -3
- package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-D8VNHq22.js} +10 -4
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -22
- package/dist/metric-stack.js +4 -8
- package/dist/motion-core.js +36 -35
- package/dist/motion-curves.js +1 -1
- package/dist/motion.js +157 -55
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -0
- package/dist/pager-dots.js +91 -0
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
- package/dist/{compile-B7NGOBcP.js → procedural-color.glsl-CIFsJhwI.js} +1 -155
- package/dist/procedural-color.wgsl-CToRHugY.js +224 -0
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +10 -12
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/sheet-tZMg0E0w.js +218 -0
- package/dist/sheet.js +1 -1
- package/dist/{slider-B-JP2JlI.js → slider-DVb4HXU-.js} +7 -7
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/spa-view.d.ts +1 -0
- package/dist/spa-view.js +46 -0
- package/dist/styles/animations.css +40 -31
- package/dist/styles/border-progress.css +109 -0
- package/dist/styles/cards.css +76 -0
- package/dist/styles/components.css +1 -1
- package/dist/styles/configurator.css +35 -0
- package/dist/styles/critical-partition.mjs +140 -0
- package/dist/styles/critical.css +12 -0
- package/dist/styles/deferred.css +31 -0
- package/dist/styles/dock/density.css +64 -0
- package/dist/styles/dock/layers.css +54 -30
- package/dist/styles/dock/morph.css +124 -7
- package/dist/styles/dock/overflow.css +31 -2
- package/dist/styles/dock/rail-extend.css +168 -71
- package/dist/styles/dock/section.css +59 -0
- package/dist/styles/dock/shell.css +83 -16
- package/dist/styles/dock-controls/icon-button.css +11 -1
- package/dist/styles/dock-controls/tab-button.css +24 -83
- package/dist/styles/dock-controls/triggers.css +7 -0
- package/dist/styles/dock.css +38 -3
- package/dist/styles/drawer.css +127 -35
- package/dist/styles/feedback-tone.css +104 -0
- package/dist/styles/glass/deep.css +44 -0
- package/dist/styles/glass/ladder.css +154 -52
- package/dist/styles/glass/material.css +78 -15
- package/dist/styles/glass/reveal.css +136 -0
- package/dist/styles/glass/rim.css +100 -0
- package/dist/styles/glass/surface-axis.css +113 -0
- package/dist/styles/glass/surfaces.css +189 -15
- package/dist/styles/glass-refract.css +96 -44
- package/dist/styles/glass-specular-track.css +7 -0
- package/dist/styles/glass.css +8 -2
- package/dist/styles/hover-popover.css +7 -6
- package/dist/styles/icon-chip.css +211 -0
- package/dist/styles/index.css +78 -4
- package/dist/styles/instrument-chassis.css +107 -2
- package/dist/styles/menu.css +127 -0
- package/dist/styles/scroll-choreography.css +300 -0
- package/dist/styles/segmented-tabs.css +188 -86
- package/dist/styles/select.css +50 -0
- package/dist/styles/theme/bridges.css +22 -1
- package/dist/styles/theme/literals.css +11 -2
- package/dist/styles/theme/radius.css +6 -1
- package/dist/styles/tokens/color-radius.css +40 -13
- package/dist/styles/tokens/dark-arm.css +200 -20
- package/dist/styles/tokens/glass-deep.css +75 -0
- package/dist/styles/tokens/glass-fx.css +333 -0
- package/dist/styles/tokens/glass.css +95 -315
- package/dist/styles/tokens/light-dark.css +64 -22
- package/dist/styles/tokens/offsets.css +116 -0
- package/dist/styles/tokens/on-glass-fg.css +39 -0
- package/dist/styles/tokens/property-regs.css +130 -10
- package/dist/styles/tokens/scale-paper.css +155 -84
- package/dist/styles/tokens/scheme-motion.css +102 -46
- package/dist/styles/tokens/scroll-tokens.css +123 -0
- package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/dist/styles/tokens.css +9 -3
- package/dist/styles/transitions.css +7 -7
- package/dist/styles/typography/scale.css +153 -0
- package/dist/styles/typography/semantic.css +220 -0
- package/dist/styles/typography/utilities.css +174 -0
- package/dist/styles/typography.css +23 -507
- package/dist/styles/utilities/a11y-overrides.css +33 -4
- package/dist/styles/utilities/animate.css +27 -24
- package/dist/styles/utilities/base-misc.css +255 -0
- package/dist/styles/utilities/base.css +100 -138
- package/dist/styles/utilities/btn.css +21 -202
- package/dist/styles/utilities/metal.css +189 -0
- package/dist/styles/utilities.css +14 -7
- package/dist/styles/view-transition.css +4 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +275 -191
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +3 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-BfUq2bUM.js} +1 -1
- package/dist/useCanvas2D-B8w_E3Rr.js +83 -0
- package/dist/useConfiguratorState-DNlOh6c8.js +161 -0
- package/dist/useDragMorph-DgxnsVJz.js +102 -0
- package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
- package/dist/useLiquidPress-kfb4KX79.js +39 -0
- package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
- package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-UYa4zoiN.js} +1 -1
- package/dist/useSpring-C0jyvEJB.js +40 -0
- package/dist/useSpringMount-q1amq1SJ.js +71 -0
- package/dist/useSpringPress-BsqPr7FJ.js +34 -0
- package/dist/useSurfaceAxis-g0NloYEF.js +7 -0
- package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-CBZTD4SD.js} +1 -1
- package/dist/vReveal-Czsb7zQC.js +10 -0
- package/dist/vSpecular-CQFmLNzA.js +68 -0
- package/dist/vendor-CKmzio-i.js +226 -0
- package/dist/watercolor-dot.js +12 -5
- package/package.json +193 -25
- package/src/styles/animations.css +40 -31
- package/src/styles/border-progress.css +109 -0
- package/src/styles/cards.css +76 -0
- package/src/styles/configurator.css +35 -0
- package/src/styles/critical-partition.mjs +140 -0
- package/src/styles/dock/density.css +64 -0
- package/src/styles/dock/layers.css +54 -30
- package/src/styles/dock/morph.css +124 -7
- package/src/styles/dock/overflow.css +31 -2
- package/src/styles/dock/rail-extend.css +168 -71
- package/src/styles/dock/section.css +59 -0
- package/src/styles/dock/shell.css +83 -16
- package/src/styles/dock-controls/icon-button.css +11 -1
- package/src/styles/dock-controls/tab-button.css +24 -83
- package/src/styles/dock-controls/triggers.css +7 -0
- package/src/styles/dock.css +38 -3
- package/src/styles/drawer.css +123 -35
- package/src/styles/feedback-tone.css +104 -0
- package/src/styles/glass/deep.css +44 -0
- package/src/styles/glass/ladder.css +154 -52
- package/src/styles/glass/material.css +78 -15
- package/src/styles/glass/reveal.css +136 -0
- package/src/styles/glass/rim.css +100 -0
- package/src/styles/glass/surface-axis.css +113 -0
- package/src/styles/glass/surfaces.css +189 -15
- package/src/styles/glass-refract.css +96 -44
- package/src/styles/glass-specular-track.css +7 -0
- package/src/styles/glass.css +8 -2
- package/src/styles/hover-popover.css +7 -6
- package/src/styles/icon-chip.css +211 -0
- package/src/styles/index.css +78 -4
- package/src/styles/instrument-chassis.css +107 -2
- package/src/styles/menu.css +127 -0
- package/src/styles/scroll-choreography.css +300 -0
- package/src/styles/segmented-tabs.css +184 -84
- package/src/styles/select.css +50 -0
- package/src/styles/theme/bridges.css +22 -1
- package/src/styles/theme/literals.css +11 -2
- package/src/styles/theme/radius.css +6 -1
- package/src/styles/tokens/color-radius.css +40 -13
- package/src/styles/tokens/dark-arm.css +200 -20
- package/src/styles/tokens/glass-deep.css +75 -0
- package/src/styles/tokens/glass-fx.css +333 -0
- package/src/styles/tokens/glass.css +95 -315
- package/src/styles/tokens/light-dark.css +64 -22
- package/src/styles/tokens/offsets.css +116 -0
- package/src/styles/tokens/on-glass-fg.css +39 -0
- package/src/styles/tokens/property-regs.css +130 -10
- package/src/styles/tokens/scale-paper.css +155 -84
- package/src/styles/tokens/scheme-motion.css +102 -46
- package/src/styles/tokens/scroll-tokens.css +123 -0
- package/src/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/src/styles/tokens.css +9 -3
- package/src/styles/transitions.css +7 -7
- package/src/styles/typography/scale.css +153 -0
- package/src/styles/typography/semantic.css +220 -0
- package/src/styles/typography/utilities.css +174 -0
- package/src/styles/typography.css +23 -507
- package/src/styles/utilities/a11y-overrides.css +33 -4
- package/src/styles/utilities/animate.css +27 -24
- package/src/styles/utilities/base-misc.css +255 -0
- package/src/styles/utilities/base.css +100 -138
- package/src/styles/utilities/btn.css +21 -202
- package/src/styles/utilities/metal.css +189 -0
- package/src/styles/utilities.css +14 -7
- package/src/styles/view-transition.css +4 -1
- package/dist/CardAction-Cj2eycQ2.js +0 -157
- package/dist/DialogContent-Dl9WkAoS.js +0 -100
- package/dist/Notification-DdwNxIrI.js +0 -100
- package/dist/NumberFieldContent-CqaN-SvN.js +0 -145
- package/dist/PopoverContent-BYwt2-4x.js +0 -121
- package/dist/TabsList-Dttss653.js +0 -105
- package/dist/Toaster-D6q4HtXu.js +0 -263
- package/dist/button-ChXMfsud.js +0 -81
- package/dist/check-njhk-vfu.js +0 -7
- package/dist/chevron-down-DKkxb4VV.js +0 -7
- package/dist/chevron-right-CPXbqQQz.js +0 -7
- package/dist/chevron-up-n_24SqI-.js +0 -7
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
- package/dist/createLucideIcon-DydS2qgk.js +0 -43
- package/dist/minimize-2-BV31Ob_h.js +0 -38
- package/dist/search-BSGrf2Sk.js +0 -12
- package/dist/sheet-1fChZjtw.js +0 -214
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useCanvas2D-ClrQuZtp.js +0 -96
- package/dist/useConfiguratorState-DAoeHVue.js +0 -287
- package/dist/useSpecularTracking-Bo5su68i.js +0 -32
- package/dist/useSpringMount-CI2jOstM.js +0 -108
- package/dist/vReveal-CqaCz_mC.js +0 -44
- package/dist/x-BUwTKe50.js +0 -10
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-68dEXIAl.js} +0 -0
- /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
- /package/dist/{Label-r3WzWrsj.js → Label-C2ejNWeC.js} +0 -0
- /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-D1VrWyoi.js} +0 -0
- /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
- /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-DwwjicPY.js} +0 -0
- /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DXswVdRz.js} +0 -0
- /package/dist/{Separator-0JE6LtNu.js → Separator-pKF0oA4M.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
- /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-BM46COQ-.js → createContext-CpBNTRMI.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-Za0Rmgag.js} +0 -0
- /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
- /package/dist/{springPresets--YdWTHtm.js → springPresets-CFQGQfdl.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-iHludrxk.js → useInterval-CvK1mL92.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-mZPMiNXh.js} +0 -0
- /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-Bpoi7tRE.js} +0 -0
- /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
- /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-DHjtZSEd.js} +0 -0
- /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-CWEi25hf.js} +0 -0
- /package/dist/{useTimer-Dzarvzuk.js → useTimer-BHJOKr35.js} +0 -0
- /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-y5namzeE.js} +0 -0
- /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-anbac3m6.js} +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as n } from "./useSurfaceAxis-g0NloYEF.js";
|
|
4
|
+
import { t as r } from "./useSpringMount-q1amq1SJ.js";
|
|
5
|
+
import { t as i } from "./ModalOverlay-D1VrWyoi.js";
|
|
6
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, unref as m, withCtx as h } from "vue";
|
|
7
|
+
import { DialogClose as g, DialogContent as _, DialogPortal as v, DialogRoot as y, injectDialogRootContext as b, useForwardPropsEmits as x } from "reka-ui";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/ui/dialog/Dialog.vue
|
|
10
|
+
var S = /* @__PURE__ */ u({
|
|
11
|
+
__name: "Dialog",
|
|
12
|
+
props: {
|
|
13
|
+
open: { type: Boolean },
|
|
14
|
+
defaultOpen: { type: Boolean },
|
|
15
|
+
modal: { type: Boolean }
|
|
16
|
+
},
|
|
17
|
+
emits: ["update:open"],
|
|
18
|
+
setup(e, { emit: t }) {
|
|
19
|
+
let n = x(e, t);
|
|
20
|
+
return (e, t) => (f(), o(m(y), d({ "data-slot": "dialog" }, m(n)), {
|
|
21
|
+
default: h(() => [p(e.$slots, "default")]),
|
|
22
|
+
_: 3
|
|
23
|
+
}, 16));
|
|
24
|
+
}
|
|
25
|
+
}), C = "fixed left-1/2 top-1/2 z-modal grid w-full max-w-lg gap-4 [--overlay-pad-inline:--spacing(6)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block)", w = "-translate-x-1/2 -translate-y-1/2 glass-reveal", T = /* @__PURE__ */ u({
|
|
26
|
+
__name: "DialogContent",
|
|
27
|
+
props: {
|
|
28
|
+
forceMount: { type: Boolean },
|
|
29
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
30
|
+
asChild: { type: Boolean },
|
|
31
|
+
as: {},
|
|
32
|
+
class: { type: [
|
|
33
|
+
Boolean,
|
|
34
|
+
null,
|
|
35
|
+
String,
|
|
36
|
+
Object,
|
|
37
|
+
Array
|
|
38
|
+
] },
|
|
39
|
+
surface: { default: "glass" },
|
|
40
|
+
scrimAnimation: {},
|
|
41
|
+
spring: { type: [Boolean, String] },
|
|
42
|
+
showClose: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !0
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
emits: [
|
|
48
|
+
"escapeKeyDown",
|
|
49
|
+
"pointerDownOutside",
|
|
50
|
+
"focusOutside",
|
|
51
|
+
"interactOutside",
|
|
52
|
+
"openAutoFocus",
|
|
53
|
+
"closeAutoFocus"
|
|
54
|
+
],
|
|
55
|
+
setup(u, { emit: y }) {
|
|
56
|
+
let S = u, T = y, E = x(a(() => {
|
|
57
|
+
let { class: e, surface: t, scrimAnimation: n, spring: r, showClose: i, ...a } = S;
|
|
58
|
+
return a;
|
|
59
|
+
}), T), D = a(() => e(n(S.surface, "floating"), "rounded-dialog")), O = S.spring ? b() : null, k = S.spring && O ? r({
|
|
60
|
+
open: O.open,
|
|
61
|
+
preset: typeof S.spring == "string" ? S.spring : "smooth"
|
|
62
|
+
}) : null, A = a(() => {
|
|
63
|
+
if (!k) return;
|
|
64
|
+
let e = k.position.value;
|
|
65
|
+
return {
|
|
66
|
+
transform: `translate(-50%, -50%) scale(${1 - .05 * e})`,
|
|
67
|
+
opacity: String(1 - e),
|
|
68
|
+
animation: "none",
|
|
69
|
+
transition: "none"
|
|
70
|
+
};
|
|
71
|
+
});
|
|
72
|
+
return (n, r) => (f(), o(m(v), null, {
|
|
73
|
+
default: h(() => [l(i, {
|
|
74
|
+
scrim: "glass",
|
|
75
|
+
animate: "fade",
|
|
76
|
+
layout: "centered",
|
|
77
|
+
"scrim-animation": S.scrimAnimation
|
|
78
|
+
}, null, 8, ["scrim-animation"]), l(m(_), d(m(E), {
|
|
79
|
+
class: m(e)(C, S.spring ? "" : w, D.value, S.class),
|
|
80
|
+
style: A.value,
|
|
81
|
+
"data-surface": S.surface,
|
|
82
|
+
"data-spring": S.spring ? typeof S.spring == "string" ? S.spring : "smooth" : void 0
|
|
83
|
+
}), {
|
|
84
|
+
default: h(() => [p(n.$slots, "default"), S.showClose ? (f(), o(m(g), {
|
|
85
|
+
key: 0,
|
|
86
|
+
class: "focus-ring absolute right-4 top-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
|
|
87
|
+
}, {
|
|
88
|
+
default: h(() => [l(m(t), { class: "w-4 h-4" }), r[0] ||= c("span", { class: "sr-only" }, "Close", -1)]),
|
|
89
|
+
_: 1
|
|
90
|
+
})) : s("", !0)]),
|
|
91
|
+
_: 3
|
|
92
|
+
}, 16, [
|
|
93
|
+
"class",
|
|
94
|
+
"style",
|
|
95
|
+
"data-surface",
|
|
96
|
+
"data-spring"
|
|
97
|
+
])]),
|
|
98
|
+
_: 3
|
|
99
|
+
}));
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
//#endregion
|
|
103
|
+
export { S as n, T as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./ModalOverlay-
|
|
2
|
+
import { t } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as n } from "./ModalOverlay-D1VrWyoi.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeClass as d, normalizeProps as f, openBlock as p, renderSlot as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
import { DialogClose as _, DialogContent as v, DialogDescription as y, DialogPortal as b, DialogTitle as x, DialogTrigger as S, useForwardProps as C, useForwardPropsEmits as w } from "reka-ui";
|
|
6
6
|
//#endregion
|
|
@@ -132,7 +132,7 @@ var T = /* @__PURE__ */ c({
|
|
|
132
132
|
layout: "scroll",
|
|
133
133
|
class: d(l.overlayClass)
|
|
134
134
|
}, {
|
|
135
|
-
default: g(() => [s(h(v), u({ class: h(e)("popover-content relative z-overlay grid w-full max-w-lg my-8 gap-4 border border-border
|
|
135
|
+
default: g(() => [s(h(v), u({ class: h(e)("popover-content relative z-overlay grid w-full max-w-lg my-8 gap-4 border border-border glass-floating [--overlay-pad-inline:--spacing(6)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) [box-shadow:var(--glass-shadow-floating)] duration-200 sm:rounded-dialog md:w-full", l.class) }, h(y), { onPointerDownOutside: a[0] ||= (e) => {
|
|
136
136
|
let t = e.detail.originalEvent, n = t.target;
|
|
137
137
|
(t.offsetX > n.clientWidth || t.offsetY > n.clientHeight) && e.preventDefault();
|
|
138
138
|
} }), {
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { t as e } from "./supportsCssTimeline-BWenxvHU.js";
|
|
2
|
+
import { t } from "./useResizeObserver-Bpoi7tRE.js";
|
|
3
|
+
import { createElementBlock as n, defineComponent as r, normalizeClass as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, renderSlot as l, unref as u } from "vue";
|
|
4
|
+
//#region src/components/custom/fading-scroll/constants.ts
|
|
5
|
+
var d = e();
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/custom/fading-scroll/composables/useFadingScroll.ts
|
|
8
|
+
function f(e, n = {}) {
|
|
9
|
+
let { axis: r = "x", fadeStart: i = !0, fadeEnd: s = !0 } = n, l = c(!d), f = 0, p = null;
|
|
10
|
+
function m(t, n) {
|
|
11
|
+
let r = u(e);
|
|
12
|
+
r && (r.style.setProperty("--fade-start", t ? "var(--fade-scroll-width)" : "0px"), r.style.setProperty("--fade-end", n ? "var(--fade-scroll-width)" : "0px"));
|
|
13
|
+
}
|
|
14
|
+
function h() {
|
|
15
|
+
let t = u(e);
|
|
16
|
+
if (!t) return;
|
|
17
|
+
let n = r === "x" ? t.scrollLeft : t.scrollTop, a = r === "x" ? t.scrollWidth - t.clientWidth : t.scrollHeight - t.clientHeight, o = n <= 12, c = n >= a - 12;
|
|
18
|
+
m(i && !o, s && !c);
|
|
19
|
+
}
|
|
20
|
+
function g() {
|
|
21
|
+
f ||= requestAnimationFrame(() => {
|
|
22
|
+
f = 0, h();
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function _() {
|
|
26
|
+
let n = u(e);
|
|
27
|
+
n && (n.addEventListener("scroll", g, { passive: !0 }), p = t(e, h).stop, h());
|
|
28
|
+
}
|
|
29
|
+
function v() {
|
|
30
|
+
u(e)?.removeEventListener("scroll", g), p?.(), p = null, f &&= (cancelAnimationFrame(f), 0);
|
|
31
|
+
}
|
|
32
|
+
return o(() => {
|
|
33
|
+
l.value && _();
|
|
34
|
+
}), a(v), {
|
|
35
|
+
active: l,
|
|
36
|
+
measure: h,
|
|
37
|
+
stop: v
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/custom/fading-scroll/FadingScroll.vue?vue&type=script&setup=true&lang.ts
|
|
42
|
+
var p = [
|
|
43
|
+
"data-fade-axis",
|
|
44
|
+
"data-fade-start",
|
|
45
|
+
"data-fade-end"
|
|
46
|
+
], m = /* @__PURE__ */ r({
|
|
47
|
+
__name: "FadingScroll",
|
|
48
|
+
props: {
|
|
49
|
+
axis: { default: "x" },
|
|
50
|
+
fadeStart: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: !0
|
|
53
|
+
},
|
|
54
|
+
fadeEnd: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: !0
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
setup(e) {
|
|
60
|
+
let t = e, r = c(null);
|
|
61
|
+
return f(r, {
|
|
62
|
+
axis: t.axis,
|
|
63
|
+
fadeStart: t.fadeStart,
|
|
64
|
+
fadeEnd: t.fadeEnd
|
|
65
|
+
}), (t, a) => (s(), n("div", {
|
|
66
|
+
ref_key: "rootRef",
|
|
67
|
+
ref: r,
|
|
68
|
+
class: i(["fading-scroll", e.axis === "y" ? "fading-scroll--y" : "fading-scroll--x"]),
|
|
69
|
+
"data-fade-axis": e.axis,
|
|
70
|
+
"data-fade-start": e.fadeStart ? "" : void 0,
|
|
71
|
+
"data-fade-end": e.fadeEnd ? "" : void 0
|
|
72
|
+
}, [l(t.$slots, "default")], 10, p));
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
//#endregion
|
|
76
|
+
export { f as n, m as t };
|
|
@@ -71,7 +71,7 @@ var v = /* @__PURE__ */ i({
|
|
|
71
71
|
return t;
|
|
72
72
|
}));
|
|
73
73
|
return (t, i) => (c(), n(u(p), null, {
|
|
74
|
-
default: d(() => [r(u(f), o(u(s), { class: u(e)("z-hovercard w-64 rounded-panel border glass-floating
|
|
74
|
+
default: d(() => [r(u(f), o(u(s), { class: u(e)("z-hovercard w-64 rounded-panel border glass-floating [--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) text-popover-foreground outline-none glass-reveal", a.class) }), {
|
|
75
75
|
default: d(() => [l(t.$slots, "default")]),
|
|
76
76
|
_: 3
|
|
77
77
|
}, 16, ["class"])]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { i as t } from "./dockContext-
|
|
2
|
+
import { i as t } from "./dockContext-BNfyPLe9.js";
|
|
3
3
|
import { Fragment as n, computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, mergeModels as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useId as h, useModel as g, watch as _, withCtx as v } from "vue";
|
|
4
4
|
import { HoverCardContent as y, HoverCardPortal as b, HoverCardRoot as x, HoverCardTrigger as S } from "reka-ui";
|
|
5
5
|
//#region src/components/custom/hover-popover/HoverPopover.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -36,7 +36,7 @@ var C = { class: "hover-popover-label" }, w = { class: "hover-popover-label" },
|
|
|
36
36
|
}),
|
|
37
37
|
emits: ["update:open"],
|
|
38
38
|
setup(c) {
|
|
39
|
-
let l = c, T = g(c, "open"), E = r(() => e("z-popover hover-popover-panel
|
|
39
|
+
let l = c, T = g(c, "open"), E = r(() => e("z-popover hover-popover-panel glass-reveal", l.class)), D = typeof HTMLButtonElement < "u" && "interestForElement" in HTMLButtonElement.prototype, O = r(() => l.native && D), k = `gl-hover-popover-${h() ?? "0"}`;
|
|
40
40
|
function A(e) {
|
|
41
41
|
let t = e.newState === "open";
|
|
42
42
|
t !== T.value && (T.value = t);
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./vReveal-Czsb7zQC.js";
|
|
3
|
+
import { computed as n, createBlock as r, createElementBlock as i, defineComponent as a, normalizeClass as o, normalizeStyle as s, openBlock as c, resolveDynamicComponent as l, unref as u, withDirectives as d } from "vue";
|
|
4
|
+
//#region src/components/custom/icon-chip/IconChip.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var f = ["data-duotone"], p = 48, m = 22, h = /* @__PURE__ */ a({
|
|
6
|
+
name: "IconChip",
|
|
7
|
+
__name: "IconChip",
|
|
8
|
+
props: {
|
|
9
|
+
icon: { type: [Function, Object] },
|
|
10
|
+
section: {},
|
|
11
|
+
tone: {},
|
|
12
|
+
size: {},
|
|
13
|
+
glyphSize: {},
|
|
14
|
+
strokeWidth: {},
|
|
15
|
+
bare: { type: Boolean },
|
|
16
|
+
duotone: { type: Boolean },
|
|
17
|
+
bloom: { type: Boolean },
|
|
18
|
+
saturated: { type: Boolean },
|
|
19
|
+
reveal: { type: [Boolean, Number] },
|
|
20
|
+
class: { type: [
|
|
21
|
+
Boolean,
|
|
22
|
+
null,
|
|
23
|
+
String,
|
|
24
|
+
Object,
|
|
25
|
+
Array
|
|
26
|
+
] }
|
|
27
|
+
},
|
|
28
|
+
setup(a) {
|
|
29
|
+
let h = a, g = n(() => h.tone == null ? h.section == null ? "var(--muted-foreground)" : `var(--section-color-${h.section}, var(--muted-foreground))` : h.tone), _ = n(() => h.tone == null ? h.section == null ? "var(--muted)" : `var(--section-color-${h.section}, var(--muted))` : h.tone), v = n(() => void 0), y = n(() => h.reveal != null && h.reveal !== !1), b = n(() => h.reveal === !0 ? 0 : typeof h.reveal == "number" ? h.reveal : 0), x = n(() => {
|
|
30
|
+
let e = h.glyphSize ?? m;
|
|
31
|
+
return {
|
|
32
|
+
"--icon-chip-event-color": g.value,
|
|
33
|
+
"--icon-chip-plate-color": _.value,
|
|
34
|
+
"--icon-chip-glyph-size": `${e}px`,
|
|
35
|
+
"--icon-chip-size": `${h.size ?? p}px`
|
|
36
|
+
};
|
|
37
|
+
});
|
|
38
|
+
return (n, a) => d((c(), i("span", {
|
|
39
|
+
class: o(["icon-chip", u(e)(h.bare && "icon-chip--bare", h.duotone && "icon-chip--duotone", h.bloom && "icon-chip--bloom", h.saturated && "icon-chip--saturated", y.value && "icon-chip--reveal", h.class)]),
|
|
40
|
+
"data-duotone": h.duotone ? "" : void 0,
|
|
41
|
+
style: s(x.value)
|
|
42
|
+
}, [(c(), r(l(h.icon), {
|
|
43
|
+
class: "icon-chip__glyph",
|
|
44
|
+
size: h.glyphSize ?? 22,
|
|
45
|
+
"stroke-width": h.strokeWidth ?? 1.75,
|
|
46
|
+
"aria-hidden": "true"
|
|
47
|
+
}, null, 8, ["size", "stroke-width"]))], 14, f)), [[
|
|
48
|
+
u(t),
|
|
49
|
+
b.value,
|
|
50
|
+
v.value
|
|
51
|
+
]]);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
//#endregion
|
|
55
|
+
export { h as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./TooltipProvider-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./TooltipProvider-rzvnXz60.js";
|
|
2
2
|
import { createBlock as i, createTextVNode as a, createVNode as o, defineComponent as s, openBlock as c, renderSlot as l, toDisplayString as u, unref as d, withCtx as f } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/custom/icon-tooltip/IconTooltip.vue
|
|
@@ -48,7 +48,7 @@ var d = /* @__PURE__ */ r({
|
|
|
48
48
|
}, {
|
|
49
49
|
...t.$attrs,
|
|
50
50
|
...m.value
|
|
51
|
-
}, { class: s(e)("input-pill text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium", f.class) }), null, 16)), [[c, s(p)]]);
|
|
51
|
+
}, { class: s(e)("input-pill [--control-surface-bg:var(--input-on-glass)] text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium", f.class) }), null, 16)), [[c, s(p)]]);
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { n as t } from "./coalesceMetric-5qIeZnTx.js";
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, toDisplayString as f, unref as p } from "vue";
|
|
5
5
|
//#region src/components/custom/metric-badge/MetricBadge.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var m = ["data-size"], h = {
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { d as e, g as t, h as n, m as r, t as i } from "./vendor-CKmzio-i.js";
|
|
2
|
+
import { t as a } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
3
|
+
import { Fragment as o, TransitionGroup as s, createBlock as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, renderList as h, resolveDynamicComponent as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
4
|
+
//#region src/components/ui/notification/Notification.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var b = { class: "flex-1 text-sm font-medium" }, x = ["onClick"], S = /* @__PURE__ */ a(/* @__PURE__ */ f({
|
|
6
|
+
__name: "Notification",
|
|
7
|
+
props: { notifications: {} },
|
|
8
|
+
emits: ["remove"],
|
|
9
|
+
setup(a) {
|
|
10
|
+
let f = {
|
|
11
|
+
success: "feedback-tone-success",
|
|
12
|
+
error: "feedback-tone-destructive",
|
|
13
|
+
warning: "feedback-tone-warning",
|
|
14
|
+
info: "feedback-tone-info"
|
|
15
|
+
}, S = {
|
|
16
|
+
success: n,
|
|
17
|
+
error: r,
|
|
18
|
+
warning: t,
|
|
19
|
+
info: e
|
|
20
|
+
};
|
|
21
|
+
return (e, t) => (m(), c(s, {
|
|
22
|
+
"data-slot": "notification",
|
|
23
|
+
name: "notification",
|
|
24
|
+
tag: "div",
|
|
25
|
+
class: "fixed bottom-4 right-4 z-toast flex flex-col gap-2"
|
|
26
|
+
}, {
|
|
27
|
+
default: y(() => [(m(!0), l(o, null, h(a.notifications, (t) => (m(), l("div", {
|
|
28
|
+
key: t.id,
|
|
29
|
+
class: p(["glass-floating feedback-tone flex items-center gap-3 rounded-panel px-4 py-3 text-foreground", [f[t.type], "min-w-[300px] max-w-[500px]"]])
|
|
30
|
+
}, [
|
|
31
|
+
(m(), c(g(S[t.type]), { class: "feedback-tone-glyph h-5 w-5 flex-shrink-0" })),
|
|
32
|
+
u("p", b, _(t.message), 1),
|
|
33
|
+
u("button", {
|
|
34
|
+
onClick: (n) => e.$emit("remove", t.id),
|
|
35
|
+
class: "rounded-button p-1 transition-colors hover:bg-white/10"
|
|
36
|
+
}, [d(v(i), { class: "h-4 w-4" })], 8, x)
|
|
37
|
+
], 2))), 128))]),
|
|
38
|
+
_: 1
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
}), [["__scopeId", "data-v-cec8742e"]]);
|
|
42
|
+
//#endregion
|
|
43
|
+
export { S as t };
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { i as t, s as n } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { n as r } from "./button-DYCUa-tH.js";
|
|
4
|
+
import { computed as i, createBlock as a, createElementBlock as o, createVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, openBlock as d, renderSlot as f, unref as p, withCtx as m } from "vue";
|
|
5
|
+
import { NumberFieldDecrement as h, NumberFieldIncrement as g, NumberFieldInput as _, NumberFieldRoot as v, useForwardProps as y, useForwardPropsEmits as b } from "reka-ui";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/ui/number-field/NumberField.vue
|
|
8
|
+
var x = /* @__PURE__ */ c({
|
|
9
|
+
__name: "NumberField",
|
|
10
|
+
props: {
|
|
11
|
+
defaultValue: {},
|
|
12
|
+
modelValue: {},
|
|
13
|
+
min: {},
|
|
14
|
+
max: {},
|
|
15
|
+
step: {},
|
|
16
|
+
stepSnapping: { type: Boolean },
|
|
17
|
+
focusOnChange: { type: Boolean },
|
|
18
|
+
formatOptions: {},
|
|
19
|
+
locale: {},
|
|
20
|
+
disabled: { type: Boolean },
|
|
21
|
+
readonly: { type: Boolean },
|
|
22
|
+
disableWheelChange: { type: Boolean },
|
|
23
|
+
invertWheelChange: { type: Boolean },
|
|
24
|
+
id: {},
|
|
25
|
+
asChild: { type: Boolean },
|
|
26
|
+
as: {},
|
|
27
|
+
name: {},
|
|
28
|
+
required: { type: Boolean },
|
|
29
|
+
class: { type: [
|
|
30
|
+
Boolean,
|
|
31
|
+
null,
|
|
32
|
+
String,
|
|
33
|
+
Object,
|
|
34
|
+
Array
|
|
35
|
+
] }
|
|
36
|
+
},
|
|
37
|
+
emits: ["update:modelValue"],
|
|
38
|
+
setup(t, { emit: n }) {
|
|
39
|
+
let r = t, o = n, s = b(i(() => {
|
|
40
|
+
let { class: e, ...t } = r;
|
|
41
|
+
return t;
|
|
42
|
+
}), o);
|
|
43
|
+
return (t, n) => (d(), a(p(v), l({ "data-slot": "number-field" }, p(s), { class: p(e)("grid gap-1.5", r.class) }), {
|
|
44
|
+
default: m(() => [f(t.$slots, "default")]),
|
|
45
|
+
_: 3
|
|
46
|
+
}, 16, ["class"]));
|
|
47
|
+
}
|
|
48
|
+
}), S = /* @__PURE__ */ c({
|
|
49
|
+
inheritAttrs: !1,
|
|
50
|
+
__name: "NumberFieldInput",
|
|
51
|
+
setup(t) {
|
|
52
|
+
let n = { inputmode: "decimal" };
|
|
53
|
+
return (t, r) => (d(), a(p(_), l({
|
|
54
|
+
...n,
|
|
55
|
+
...t.$attrs
|
|
56
|
+
}, {
|
|
57
|
+
"data-slot": "input",
|
|
58
|
+
class: p(e)("input-pill h-(--control-h-md) rounded-field px-9 py-2 text-sm text-center")
|
|
59
|
+
}), null, 16, ["class"]));
|
|
60
|
+
}
|
|
61
|
+
}), C = /* @__PURE__ */ c({
|
|
62
|
+
__name: "NumberFieldIncrement",
|
|
63
|
+
props: {
|
|
64
|
+
disabled: { type: Boolean },
|
|
65
|
+
asChild: { type: Boolean },
|
|
66
|
+
as: {},
|
|
67
|
+
class: { type: [
|
|
68
|
+
Boolean,
|
|
69
|
+
null,
|
|
70
|
+
String,
|
|
71
|
+
Object,
|
|
72
|
+
Array
|
|
73
|
+
] }
|
|
74
|
+
},
|
|
75
|
+
setup(n) {
|
|
76
|
+
let o = n, c = y(i(() => {
|
|
77
|
+
let { class: e, ...t } = o;
|
|
78
|
+
return t;
|
|
79
|
+
}));
|
|
80
|
+
return (n, i) => (d(), a(p(g), l({ "data-slot": "increment" }, p(c), { "as-child": "" }), {
|
|
81
|
+
default: m(() => [s(p(r), {
|
|
82
|
+
variant: "ghost",
|
|
83
|
+
size: "icon",
|
|
84
|
+
class: u(p(e)("absolute top-1/2 -translate-y-1/2 right-0 disabled:cursor-not-allowed disabled:opacity-20", o.class))
|
|
85
|
+
}, {
|
|
86
|
+
default: m(() => [f(n.$slots, "default", {}, () => [s(p(t), { class: "size-icon-sm" })])]),
|
|
87
|
+
_: 3
|
|
88
|
+
}, 8, ["class"])]),
|
|
89
|
+
_: 3
|
|
90
|
+
}, 16));
|
|
91
|
+
}
|
|
92
|
+
}), w = /* @__PURE__ */ c({
|
|
93
|
+
__name: "NumberFieldDecrement",
|
|
94
|
+
props: {
|
|
95
|
+
disabled: { type: Boolean },
|
|
96
|
+
asChild: { type: Boolean },
|
|
97
|
+
as: {},
|
|
98
|
+
class: { type: [
|
|
99
|
+
Boolean,
|
|
100
|
+
null,
|
|
101
|
+
String,
|
|
102
|
+
Object,
|
|
103
|
+
Array
|
|
104
|
+
] }
|
|
105
|
+
},
|
|
106
|
+
setup(t) {
|
|
107
|
+
let o = t, c = y(i(() => {
|
|
108
|
+
let { class: e, ...t } = o;
|
|
109
|
+
return t;
|
|
110
|
+
}));
|
|
111
|
+
return (t, i) => (d(), a(p(h), l({ "data-slot": "decrement" }, p(c), { "as-child": "" }), {
|
|
112
|
+
default: m(() => [s(p(r), {
|
|
113
|
+
variant: "ghost",
|
|
114
|
+
size: "icon",
|
|
115
|
+
class: u(p(e)("absolute top-1/2 -translate-y-1/2 left-0 disabled:cursor-not-allowed disabled:opacity-20", o.class))
|
|
116
|
+
}, {
|
|
117
|
+
default: m(() => [f(t.$slots, "default", {}, () => [s(p(n), { class: "size-icon-sm" })])]),
|
|
118
|
+
_: 3
|
|
119
|
+
}, 8, ["class"])]),
|
|
120
|
+
_: 3
|
|
121
|
+
}, 16));
|
|
122
|
+
}
|
|
123
|
+
}), T = /* @__PURE__ */ c({
|
|
124
|
+
__name: "NumberFieldContent",
|
|
125
|
+
props: { class: { type: [
|
|
126
|
+
Boolean,
|
|
127
|
+
null,
|
|
128
|
+
String,
|
|
129
|
+
Object,
|
|
130
|
+
Array
|
|
131
|
+
] } },
|
|
132
|
+
setup(t) {
|
|
133
|
+
let n = t;
|
|
134
|
+
return (t, r) => (d(), o("div", { class: u(p(e)("relative [&>[data-slot=input]]:has-[[data-slot=increment]]:pr-5 [&>[data-slot=input]]:has-[[data-slot=decrement]]:pl-5", n.class)) }, [f(t.$slots, "default")], 2));
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
//#endregion
|
|
138
|
+
export { x as a, S as i, w as n, C as r, T as t };
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./useSurfaceAxis-g0NloYEF.js";
|
|
3
|
+
import { i as n } from "./dockContext-BNfyPLe9.js";
|
|
4
|
+
import { computed as r, createBlock as i, createVNode as a, defineComponent as o, guardReactiveProps as s, mergeProps as c, normalizeProps as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
5
|
+
import { PopoverContent as m, PopoverPortal as h, PopoverRoot as g, PopoverTrigger as _, useForwardPropsEmits as v } from "reka-ui";
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/ui/popover/Popover.vue
|
|
8
|
+
var y = /* @__PURE__ */ o({
|
|
9
|
+
__name: "Popover",
|
|
10
|
+
props: {
|
|
11
|
+
defaultOpen: { type: Boolean },
|
|
12
|
+
open: { type: Boolean },
|
|
13
|
+
modal: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:open"],
|
|
16
|
+
setup(e, { emit: t }) {
|
|
17
|
+
let n = v(e, t);
|
|
18
|
+
return (e, t) => (u(), i(f(g), c({ "data-slot": "popover" }, f(n)), {
|
|
19
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
20
|
+
_: 3
|
|
21
|
+
}, 16));
|
|
22
|
+
}
|
|
23
|
+
}), b = /* @__PURE__ */ o({
|
|
24
|
+
__name: "PopoverTrigger",
|
|
25
|
+
props: {
|
|
26
|
+
asChild: { type: Boolean },
|
|
27
|
+
as: {}
|
|
28
|
+
},
|
|
29
|
+
setup(e) {
|
|
30
|
+
let t = e;
|
|
31
|
+
return (e, n) => (u(), i(f(_), l(s(t)), {
|
|
32
|
+
default: p(() => [d(e.$slots, "default")]),
|
|
33
|
+
_: 3
|
|
34
|
+
}, 16));
|
|
35
|
+
}
|
|
36
|
+
}), x = /* @__PURE__ */ o({
|
|
37
|
+
inheritAttrs: !1,
|
|
38
|
+
__name: "PopoverContent",
|
|
39
|
+
props: {
|
|
40
|
+
forceMount: { type: Boolean },
|
|
41
|
+
side: {},
|
|
42
|
+
sideOffset: { default: 4 },
|
|
43
|
+
sideFlip: { type: Boolean },
|
|
44
|
+
align: { default: "center" },
|
|
45
|
+
alignOffset: {},
|
|
46
|
+
alignFlip: { type: Boolean },
|
|
47
|
+
avoidCollisions: { type: Boolean },
|
|
48
|
+
collisionBoundary: {},
|
|
49
|
+
collisionPadding: {},
|
|
50
|
+
arrowPadding: {},
|
|
51
|
+
hideShiftedArrow: { type: Boolean },
|
|
52
|
+
sticky: {},
|
|
53
|
+
hideWhenDetached: { type: Boolean },
|
|
54
|
+
positionStrategy: {},
|
|
55
|
+
updatePositionStrategy: {},
|
|
56
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
57
|
+
prioritizePosition: { type: Boolean },
|
|
58
|
+
reference: {},
|
|
59
|
+
asChild: { type: Boolean },
|
|
60
|
+
as: {},
|
|
61
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
62
|
+
class: { type: [
|
|
63
|
+
Boolean,
|
|
64
|
+
null,
|
|
65
|
+
String,
|
|
66
|
+
Object,
|
|
67
|
+
Array
|
|
68
|
+
] },
|
|
69
|
+
portal: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: !0
|
|
72
|
+
},
|
|
73
|
+
surface: { default: "glass" }
|
|
74
|
+
},
|
|
75
|
+
emits: [
|
|
76
|
+
"escapeKeyDown",
|
|
77
|
+
"pointerDownOutside",
|
|
78
|
+
"focusOutside",
|
|
79
|
+
"interactOutside",
|
|
80
|
+
"openAutoFocus",
|
|
81
|
+
"closeAutoFocus"
|
|
82
|
+
],
|
|
83
|
+
setup(o, { emit: s }) {
|
|
84
|
+
let l = o, g = s, _ = v(r(() => {
|
|
85
|
+
let { class: e, portal: t, surface: n, ...r } = l;
|
|
86
|
+
return r;
|
|
87
|
+
}), g), y = n(), b = r(() => t(l.surface).replace(/^glass-\w+\s*/, ""));
|
|
88
|
+
return (t, n) => o.portal ? (u(), i(f(h), { key: 0 }, {
|
|
89
|
+
default: p(() => [a(f(m), c({
|
|
90
|
+
...f(_),
|
|
91
|
+
...t.$attrs
|
|
92
|
+
}, {
|
|
93
|
+
"data-glass-dock-portal": f(y)?.id ? "" : void 0,
|
|
94
|
+
"data-glass-dock-owner": f(y)?.id,
|
|
95
|
+
"data-surface": l.surface,
|
|
96
|
+
class: f(e)("popover-content z-popover w-72 glass-floating [--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) glass-reveal", b.value, l.class)
|
|
97
|
+
}), {
|
|
98
|
+
default: p(() => [d(t.$slots, "default")]),
|
|
99
|
+
_: 3
|
|
100
|
+
}, 16, [
|
|
101
|
+
"data-glass-dock-portal",
|
|
102
|
+
"data-glass-dock-owner",
|
|
103
|
+
"data-surface",
|
|
104
|
+
"class"
|
|
105
|
+
])]),
|
|
106
|
+
_: 3
|
|
107
|
+
})) : (u(), i(f(m), c({ key: 1 }, {
|
|
108
|
+
...f(_),
|
|
109
|
+
...t.$attrs
|
|
110
|
+
}, {
|
|
111
|
+
"data-glass-dock-portal": f(y)?.id ? "" : void 0,
|
|
112
|
+
"data-glass-dock-owner": f(y)?.id,
|
|
113
|
+
"data-surface": l.surface,
|
|
114
|
+
class: f(e)("popover-content z-popover w-72 glass-floating [--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) glass-reveal", b.value, l.class)
|
|
115
|
+
}), {
|
|
116
|
+
default: p(() => [d(t.$slots, "default")]),
|
|
117
|
+
_: 3
|
|
118
|
+
}, 16, [
|
|
119
|
+
"data-glass-dock-portal",
|
|
120
|
+
"data-glass-dock-owner",
|
|
121
|
+
"data-surface",
|
|
122
|
+
"class"
|
|
123
|
+
]));
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
//#endregion
|
|
127
|
+
export { b as n, y as r, x as t };
|