@mkbabb/glass-ui 4.1.0 → 4.2.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/dist/{CardAction-8whJrLWt.js → CardAction-DlVP2evz.js} +58 -54
- package/dist/{CommandShortcut-D3yxgHNn.js → CommandShortcut-By-VQcLO.js} +3 -3
- package/dist/{ConfiguratorRow-CaP7U3ZA.js → ConfiguratorRow-YMXdINHx.js} +3 -3
- package/dist/{ContextMenuContent-B3ZsheLV.js → ContextMenuContent-CMWn6huB.js} +1 -1
- package/dist/{ContextMenuSubContent-DDRID3qC.js → ContextMenuSubContent-DvwWCUc0.js} +1 -1
- package/dist/{DataTable-Bc9kUtu_.js → DataTable-C4tG3eIJ.js} +4 -4
- package/dist/DialogContent-D8U9ZfWS.js +121 -0
- package/dist/{DialogScrollContent-TTuovQst.js → DialogScrollContent-BMekN7gq.js} +1 -1
- package/dist/{FadingScroll-DLRbH5Xr.js → FadingScroll-P8B30rAD.js} +1 -1
- package/dist/{HoverCardContent-Bel1gdLZ.js → HoverCardContent-DAmGYglo.js} +1 -1
- package/dist/{HoverPopover-BcIxvyqZ.js → HoverPopover-DYpBOzzF.js} +1 -1
- package/dist/{IconChip-DhbdGdFQ.js → IconChip-CQa7XZYc.js} +7 -5
- package/dist/{IconTooltip-B0zimd2H.js → IconTooltip-_df8M3xm.js} +1 -1
- package/dist/{Input-Cg9DF62r.js → Input-CyU4_hIC.js} +2 -2
- package/dist/{MetricBadge-RHdBP72w.js → MetricBadge-DQt_dGah.js} +1 -1
- package/dist/{Notification-CphK7AAm.js → Notification-BlSPJhtZ.js} +1 -1
- package/dist/{NumberFieldContent-D8cXeyO4.js → NumberFieldContent-Z3VxGu_6.js} +3 -3
- package/dist/PagerDots-CYlqVFd4.js +196 -0
- package/dist/PaperBackdrop-DYWgrnh8.js +42 -0
- package/dist/{PopoverContent-DL7E6vJP.js → PopoverContent-BuKyHZSz.js} +2 -2
- package/dist/{Progress-CnqB7gLm.js → Progress-C9SsdwIZ.js} +1 -1
- package/dist/{ScrollingText-CTZbA_cG.js → ScrollingText-DY3W1Jfh.js} +2 -2
- package/dist/{SelectScrollDownButton-DAKCBEdW.js → SelectScrollDownButton-3mFHX_R-.js} +15 -12
- package/dist/{Switch-B8RscmRu.js → Switch-uf-UKPA2.js} +1 -1
- package/dist/{Toaster-D9qIHjBI.js → Toaster-ozrsR4mP.js} +1 -1
- package/dist/{ToggleGroupItem-BLtr3TJq.js → ToggleGroupItem-BpzaVzNm.js} +4 -4
- package/dist/{TooltipProvider-BJ_Y5EGX.js → TooltipProvider-QQVM_80r.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +1 -0
- package/dist/api/types-extra.d.ts +3 -1
- package/dist/api.js +2 -2
- package/dist/aurora.js +163 -131
- package/dist/badge-Bt14yURi.js +72 -0
- package/dist/badge.js +1 -1
- package/dist/border-progress.js +1 -1
- package/dist/button-D1W9PrzI.js +130 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +227 -98
- package/dist/chipVariants-BJQ0I2kB.js +18 -0
- package/dist/collapsible.js +1 -1
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +1 -1
- package/dist/components/custom/aurora/constants/presets.d.ts +29 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/concentric/Concentric.vue.d.ts +15 -12
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +8 -3
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +8 -4
- package/dist/components/custom/concentric/composables/levelField.d.ts +50 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +7 -4
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +3 -3
- package/dist/components/custom/concentric/constants.d.ts +62 -41
- package/dist/components/custom/concentric/index.d.ts +2 -2
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +2 -2
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +23 -2
- package/dist/components/custom/configurator/index.d.ts +1 -1
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +4 -3
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +10 -0
- package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +19 -0
- package/dist/components/custom/dock/DockStack.vue.d.ts +35 -22
- package/dist/components/custom/dock/GlassDock.vue.d.ts +19 -3
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +18 -32
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +76 -145
- package/dist/components/custom/dock/composables/index.d.ts +1 -0
- package/dist/components/custom/dock/composables/railProjection.d.ts +45 -0
- package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +192 -0
- package/dist/components/custom/dock/composables/useDockFission.d.ts +158 -0
- package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +18 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +38 -0
- package/dist/components/custom/dock/constants.d.ts +14 -3
- package/dist/components/custom/dock/index.d.ts +3 -0
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +21 -0
- package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +8 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +9 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +12 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +7 -0
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +28 -2
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -17
- package/dist/components/custom/dot-flow-field/constants.d.ts +51 -0
- package/dist/components/custom/dot-flow-field/index.d.ts +1 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +29 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +2 -1
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +10 -1
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +7 -0
- package/dist/components/custom/dot-matrix/constants.d.ts +14 -0
- package/dist/components/custom/dot-matrix/index.d.ts +1 -1
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +2 -2
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -1
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +4 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +9 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +11 -0
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +16 -1
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +22 -1
- package/dist/components/custom/fourier-field/constants.d.ts +53 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +1 -1
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/composables/easing.d.ts +1 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +1 -0
- package/dist/components/custom/goo-blob/constants.d.ts +26 -1
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/types.d.ts +50 -1
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +32 -3
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +14 -4
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +55 -16
- package/dist/components/custom/goo-dot-matrix/index.d.ts +1 -1
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +2 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-filter/GooFilter.vue.d.ts +22 -0
- package/dist/components/custom/goo-filter/index.d.ts +1 -0
- package/dist/components/custom/handmark/brush.d.ts +17 -17
- package/dist/components/custom/handmark/constants.d.ts +28 -8
- package/dist/components/custom/handmark/geometry.d.ts +34 -1
- package/dist/components/custom/handmark/index.d.ts +1 -1
- package/dist/components/custom/icon-chip/types.d.ts +10 -0
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +18 -0
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +44 -29
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +2 -0
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +3 -1
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +2 -2
- package/dist/components/custom/paper-grid/constants.d.ts +44 -6
- package/dist/components/custom/paper-grid/index.d.ts +2 -2
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +1 -1
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -1
- package/dist/components/custom/selectable-chip/chipVariants.d.ts +39 -0
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +12 -20
- package/dist/components/custom/tabs/constants.d.ts +16 -8
- package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +16 -0
- package/dist/components/custom/timeline/geometry.d.ts +0 -8
- package/dist/components/custom/toggle-chip/index.d.ts +15 -4
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +12 -10
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +17 -3
- package/dist/components/ui/badge/Badge.vue.d.ts +14 -0
- package/dist/components/ui/badge/index.d.ts +1 -0
- package/dist/components/ui/button/Button.vue.d.ts +1 -0
- package/dist/components/ui/card/Card.vue.d.ts +1 -1
- package/dist/components/ui/card/ScrollCard.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +2 -4
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +9 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +33 -14
- package/dist/components/ui/drawer/constants.d.ts +8 -6
- package/dist/components/ui/drawer/index.d.ts +12 -2
- package/dist/components/ui/select/SelectContent.vue.d.ts +9 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +9 -0
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useDragVelocity.d.ts +46 -0
- package/dist/composables/glass/wave/index.d.ts +4 -0
- package/dist/composables/glass/wave/waveField.d.ts +115 -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/createCanvasLifecycle.d.ts +95 -2
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
- package/dist/composables/glass/webgpu/index.d.ts +1 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +37 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +49 -2
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +1 -1
- package/dist/composables/motion/core/index.d.ts +4 -0
- package/dist/composables/motion/core/useHaptic.d.ts +48 -0
- package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +16 -17
- package/dist/composables/motion/suite.d.ts +2 -2
- package/dist/composables/motion/useBloomUp.d.ts +97 -0
- package/dist/composables/motion/useCelebrationBurst.d.ts +50 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +10 -28
- package/dist/composables/motion/useGooMorph.d.ts +72 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
- package/dist/composables/motion/useLiquidMorph.d.ts +108 -0
- package/dist/composables/motion/useLiquidPress.d.ts +12 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +7 -4
- package/dist/composables/motion/useMorphField.d.ts +157 -0
- package/dist/composables/motion/useScrollPin.d.ts +49 -0
- package/dist/composables/motion/useScrollScene.d.ts +67 -0
- package/dist/concentric.js +532 -563
- package/dist/configurator.js +2 -2
- package/dist/confirm-dialog.js +3 -3
- package/dist/constellation.js +4 -4
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +2 -2
- package/dist/createCanvasLifecycle-CuCrGRfq.js +173 -0
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck.js +1 -1
- package/dist/dialog.js +3 -3
- package/dist/dock.js +1163 -618
- package/dist/dockContext-gFVS2gMg.js +18 -0
- package/dist/dom.js +7 -6
- package/dist/dot-flow-field.js +1114 -523
- package/dist/dot-matrix.js +348 -204
- package/dist/drawer.js +106 -96
- package/dist/{dropdown-menu-aJmV5SqE.js → dropdown-menu-CCfcCQ68.js} +3 -3
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.js +3 -3
- package/dist/expandable-container.js +2 -2
- package/dist/fading-scroll.js +1 -1
- package/dist/forms.js +6 -6
- package/dist/fourier-field.js +441 -197
- package/dist/fourier-math.js +1 -1
- package/dist/glass-panel.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +139 -135
- package/dist/goo-blob.js +11 -9
- package/dist/goo-dot-matrix.js +418 -198
- package/dist/handmark.js +137 -94
- 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.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +7 -7
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +42 -39
- package/dist/motion-curves.js +20 -14
- package/dist/motion.js +226 -26
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/paper-grid.js +315 -342
- package/dist/paperGrid-CXCSMbZ1.js +191 -0
- package/dist/popover.js +1 -1
- package/dist/{presets-CvOUqtdY.js → presets-QvYgnFIZ.js} +13 -12
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/{resolveCanvasColor-yPyIpJt9.js → resolveCanvasColor-DsSJk06I.js} +5 -5
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +7 -7
- package/dist/select.js +3 -3
- package/dist/selectable-chip.js +18 -35
- package/dist/separator.js +1 -1
- package/dist/{sheet-B2flBfLH.js → sheet-DUCIoOe0.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-CcICPe3u.js +149 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/{spectrum-walk-BVzA7Biz.js → spectrum-walk-cBNSx_zm.js} +1 -1
- package/dist/springPresets-DfoQ6XRY.js +64 -0
- package/dist/stacked-icons.js +54 -39
- package/dist/styles/cards.css +202 -2
- package/dist/styles/components.css +1 -3
- package/dist/styles/configurator.css +172 -7
- package/dist/styles/critical-partition.mjs +35 -2
- package/dist/styles/deferred.css +2 -0
- package/dist/styles/dock/adaptive-legibility.css +119 -0
- package/dist/styles/dock/density.css +18 -10
- package/dist/styles/dock/fission-bridge.css +552 -0
- package/dist/styles/dock/layers.css +88 -124
- package/dist/styles/dock/morph-bridge.css +15 -2
- package/dist/styles/dock/morph.css +45 -114
- package/dist/styles/dock/shape.css +137 -11
- package/dist/styles/dock/shell.css +1 -3
- package/dist/styles/dock/stack-rail.css +95 -7
- package/dist/styles/dock-controls/icon-button.css +34 -2
- package/dist/styles/dock-controls/triggers.css +23 -1
- package/dist/styles/dock-controls.css +18 -0
- package/dist/styles/dock.css +16 -1
- package/dist/styles/drawer.css +166 -0
- package/dist/styles/glass/glass-atom.css +244 -0
- package/dist/styles/glass/glass-capsule.css +143 -0
- package/dist/styles/glass/glass-chip.css +215 -0
- package/dist/styles/glass/liquid-enter.css +252 -0
- package/dist/styles/glass/liquid-morph.css +850 -0
- package/dist/styles/glass/material.css +70 -1
- package/dist/styles/glass/reveal.css +22 -2
- package/dist/styles/glass/rim.css +13 -1
- package/dist/styles/glass/surfaces.css +18 -8
- package/dist/styles/glass.css +11 -0
- package/dist/styles/icon-chip.css +45 -0
- package/dist/styles/index.css +11 -0
- package/dist/styles/jubilance.css +65 -0
- package/dist/styles/motion/morph-field.css +229 -0
- package/dist/styles/paper.css +230 -14
- package/dist/styles/scroll-choreography.css +135 -78
- package/dist/styles/segmented-tabs.css +85 -51
- package/dist/styles/select.css +151 -0
- package/dist/styles/tokens/color-radius.css +1 -1
- package/dist/styles/tokens/dark-arm.css +57 -8
- package/dist/styles/tokens/glass-deep.css +8 -4
- package/dist/styles/tokens/glass-fx.css +80 -2
- package/dist/styles/tokens/glass.css +140 -8
- package/dist/styles/tokens/light-dark.css +2 -2
- package/dist/styles/tokens/property-regs.css +144 -0
- package/dist/styles/tokens/scale-paper.css +20 -8
- package/dist/styles/tokens/scheme-motion.css +92 -157
- package/dist/styles/tokens/scheme-spring.css +239 -0
- package/dist/styles/tokens/scroll-tokens.css +15 -15
- package/dist/styles/tokens/shadow.css +73 -13
- package/dist/styles/tokens.css +9 -2
- package/dist/styles/utilities/btn.css +70 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +198 -181
- package/dist/timeline.js +241 -206
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +14 -41
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{uniformBridgeWGPU-CtAKl45L.js → uniformBridgeWGPU-BCse1SHU.js} +191 -127
- package/dist/{useAnimatedNumber-CLrxicG9.js → useAnimatedNumber-BntskVdQ.js} +1 -1
- package/dist/{useConfiguratorState-4xblKfwd.js → useConfiguratorState-22BcULzF.js} +37 -35
- package/dist/useDockCtaReceive-DX7RDb6_.js +88 -0
- package/dist/{useDragMorph-BUgAC-zK.js → useDragMorph-DGLSewwB.js} +2 -2
- package/dist/useDragVelocity-CjcfX3dA.js +57 -0
- package/dist/useGooMorph-Cs13NgYL.js +104 -0
- package/dist/useGpuSubstrate-Ceet70xq.js +347 -0
- package/dist/{useViewTransition-CUI1nAgn.js → useHaptic-CPz5BT9I.js} +40 -1
- package/dist/{useLiquidFlex-UmA6LMZu.js → useLiquidFlex-Cc6PjVJD.js} +8 -3
- package/dist/useLiquidPress-CtOQ8Z0_.js +43 -0
- package/dist/useMorphField-ogBM7ubT.js +141 -0
- package/dist/{useScrollChrome-D66AVP7C.js → useScrollChrome-JuImi1DM.js} +2 -2
- package/dist/{useSpringMount-BWDnKIwh.js → useSpringMount-DFxtzmkR.js} +1 -1
- package/dist/{useSpringPress-B1-Czp-V.js → useSpringPress-VM9RgVq3.js} +1 -1
- package/dist/{useSurfaceAxis-g0NloYEF.js → useSurfaceAxis-Ci7Dnaw2.js} +1 -1
- package/dist/{useTouchGate-CBZTD4SD.js → useTouchGate-B1Lf9XqN.js} +1 -1
- package/dist/virtual.js +1 -1
- package/dist/watercolor-dot.js +16 -26
- package/dist/writeVelocityWeight-Bh83xZfs.js +19 -0
- package/package.json +14 -3
- package/src/styles/cards.css +202 -2
- package/src/styles/configurator.css +172 -7
- package/src/styles/critical-partition.mjs +35 -2
- package/src/styles/dock/adaptive-legibility.css +119 -0
- package/src/styles/dock/density.css +18 -10
- package/src/styles/dock/fission-bridge.css +552 -0
- package/src/styles/dock/layers.css +88 -124
- package/src/styles/dock/morph-bridge.css +15 -2
- package/src/styles/dock/morph.css +45 -114
- package/src/styles/dock/shape.css +137 -11
- package/src/styles/dock/shell.css +1 -3
- package/src/styles/dock/stack-rail.css +95 -7
- package/src/styles/dock-controls/icon-button.css +34 -2
- package/src/styles/dock-controls/triggers.css +23 -1
- package/src/styles/dock-controls.css +18 -0
- package/src/styles/dock.css +16 -1
- package/src/styles/drawer.css +164 -0
- package/src/styles/glass/glass-atom.css +244 -0
- package/src/styles/glass/glass-capsule.css +143 -0
- package/src/styles/glass/glass-chip.css +215 -0
- package/src/styles/glass/liquid-enter.css +252 -0
- package/src/styles/glass/liquid-morph.css +850 -0
- package/src/styles/glass/material.css +70 -1
- package/src/styles/glass/reveal.css +22 -2
- package/src/styles/glass/rim.css +13 -1
- package/src/styles/glass/surfaces.css +18 -8
- package/src/styles/glass.css +11 -0
- package/src/styles/icon-chip.css +45 -0
- package/src/styles/index.css +11 -0
- package/src/styles/jubilance.css +65 -0
- package/src/styles/motion/morph-field.css +229 -0
- package/src/styles/paper.css +230 -14
- package/src/styles/scroll-choreography.css +135 -78
- package/src/styles/segmented-tabs.css +85 -47
- package/src/styles/select.css +151 -0
- package/src/styles/tokens/color-radius.css +1 -1
- package/src/styles/tokens/dark-arm.css +57 -8
- package/src/styles/tokens/glass-deep.css +8 -4
- package/src/styles/tokens/glass-fx.css +80 -2
- package/src/styles/tokens/glass.css +140 -8
- package/src/styles/tokens/light-dark.css +2 -2
- package/src/styles/tokens/property-regs.css +144 -0
- package/src/styles/tokens/scale-paper.css +20 -8
- package/src/styles/tokens/scheme-motion.css +92 -157
- package/src/styles/tokens/scheme-spring.css +239 -0
- package/src/styles/tokens/scroll-tokens.css +15 -15
- package/src/styles/tokens/shadow.css +73 -13
- package/src/styles/tokens.css +9 -2
- package/src/styles/utilities/btn.css +70 -0
- package/dist/DialogContent-6JtTB5x2.js +0 -106
- package/dist/PagerDots-Cjx96la-.js +0 -98
- package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
- package/dist/badge-D9XWW4GT.js +0 -53
- package/dist/button-5dY1Dvhd.js +0 -125
- package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
- package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
- package/dist/dockContext-BNfyPLe9.js +0 -17
- package/dist/slider-2A0rPn79.js +0 -142
- package/dist/springPresets-Ce7OYCm9.js +0 -46
- package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
- package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
- package/dist/useLiquidPress-BooG97RY.js +0 -39
- /package/dist/{CollapsibleContent-68dEXIAl.js → CollapsibleContent-D7UNsXQr.js} +0 -0
- /package/dist/{DialogFooter-9phqcRIS.js → DialogFooter-DoLy0ewI.js} +0 -0
- /package/dist/{InstrumentChassis-CxsHSyMj.js → InstrumentChassis-UUJX0-mW.js} +0 -0
- /package/dist/{Label-C2ejNWeC.js → Label-B_HPqi_q.js} +0 -0
- /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-DfAf7o15.js} +0 -0
- /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-Dcczq44n.js} +0 -0
- /package/dist/{SelectSeparator-C2UGOkXF.js → SelectSeparator-CNRGG7Ew.js} +0 -0
- /package/dist/{Separator-DQcwC2TR.js → Separator-Cf9-JFgi.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
- /package/dist/{color-Cs0-oxYL.js → color-B9jZdhJX.js} +0 -0
- /package/dist/{compile-nZ1xVYTp.js → compile-INR_tPk_.js} +0 -0
- /package/dist/{constants--C2DkLW8.js → constants-BWj7DkMn.js} +0 -0
- /package/dist/{createContext-CpBNTRMI.js → createContext-Cd23P9j0.js} +0 -0
- /package/dist/{dotMatrixField-D_x9_1qq.js → dotMatrixField-CRO0ZFk4.js} +0 -0
- /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-DqEGRpl4.js} +0 -0
- /package/dist/{math-Eb0w3LqU.js → math-5RcIgCB4.js} +0 -0
- /package/dist/{menuItemVariants-D8VNHq22.js → menuItemVariants-DAXquKja.js} +0 -0
- /package/dist/{prng-B-d9eYX8.js → prng-B5tIXTtj.js} +0 -0
- /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-C1Y5PkM6.js} +0 -0
- /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-rc3Ns_NM.js} +0 -0
- /package/dist/{useControlSize-SH1UmJCi.js → useControlSize-DAZ062x7.js} +0 -0
- /package/dist/{useFuzzySearch-DIhcYtcw.js → useFuzzySearch-0fTYOhS4.js} +0 -0
- /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-B4HO9LXG.js} +0 -0
- /package/dist/{useIntersectionPause-Dbozzjgm.js → useIntersectionPause-DO8Vl4gs.js} +0 -0
- /package/dist/{useInterval-CNdua40W.js → useInterval-BVUI-sez.js} +0 -0
- /package/dist/{useKeyboardShortcuts-BPRp33Im.js → useKeyboardShortcuts-BEut54Tk.js} +0 -0
- /package/dist/{usePointerVelocityField-QLsy3_kv.js → usePointerVelocityField-BrkqZFhj.js} +0 -0
- /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DdEn3v2f.js} +0 -0
- /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-ChOnCckA.js} +0 -0
- /package/dist/{useScrollProgress-c3yxmH6a.js → useScrollProgress-A0M6qRl7.js} +0 -0
- /package/dist/{useSortable-BVqlJRBR.js → useSortable-DQV_UNDw.js} +0 -0
- /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-Bma3UlKA.js} +0 -0
- /package/dist/{useTimer-BHJOKr35.js → useTimer-BBLGPXR8.js} +0 -0
- /package/dist/{useUserInvalidAria-y5namzeE.js → useUserInvalidAria-EmmwWPOl.js} +0 -0
- /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-C9pYnn7K.js} +0 -0
- /package/dist/{vReveal-D9k0jADx.js → vReveal-CT1KtwZA.js} +0 -0
package/dist/drawer.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./useSurfaceAxis-
|
|
3
|
-
import { t as n } from "./createContext-
|
|
4
|
-
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d,
|
|
5
|
-
import { DialogClose as
|
|
6
|
-
import { SpringProgress as
|
|
2
|
+
import { t } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
3
|
+
import { t as n } from "./createContext-Cd23P9j0.js";
|
|
4
|
+
import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, onScopeDispose as f, onUnmounted as p, openBlock as m, ref as h, renderSlot as g, toRef as _, unref as v, watch as y, withCtx as b } from "vue";
|
|
5
|
+
import { DialogClose as x, DialogContent as S, DialogDescription as C, DialogOverlay as w, DialogPortal as T, DialogPortal as E, DialogRoot as D, DialogTitle as O, DialogTrigger as k, useForwardPropsEmits as A } from "reka-ui";
|
|
6
|
+
import { SpringProgress as j } from "@mkbabb/keyframes.js";
|
|
7
7
|
//#region src/components/ui/drawer/constants.ts
|
|
8
|
-
var
|
|
9
|
-
response: .
|
|
10
|
-
dampingFraction: .
|
|
11
|
-
},
|
|
8
|
+
var M = {
|
|
9
|
+
response: .5,
|
|
10
|
+
dampingFraction: .74
|
|
11
|
+
}, N = [
|
|
12
12
|
.12,
|
|
13
13
|
.5,
|
|
14
14
|
1
|
|
15
15
|
];
|
|
16
|
-
function
|
|
17
|
-
return e === "left" || e === "right" ? [] :
|
|
16
|
+
function P(e) {
|
|
17
|
+
return e === "left" || e === "right" ? [] : N;
|
|
18
18
|
}
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/ui/drawer/composables/drawerSnapContext.ts
|
|
21
|
-
var
|
|
22
|
-
function
|
|
23
|
-
|
|
21
|
+
var F = n("glass-ui:drawer-snap-context"), { KEY: I } = F;
|
|
22
|
+
function L(e) {
|
|
23
|
+
F.provide(e);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var R = F.use, z = /* @__PURE__ */ l({
|
|
26
26
|
__name: "Drawer",
|
|
27
27
|
props: {
|
|
28
28
|
open: {
|
|
@@ -41,43 +41,50 @@ var L = P.use, R = /* @__PURE__ */ l({
|
|
|
41
41
|
snapPoints: { default: void 0 },
|
|
42
42
|
activeSnapPoint: { default: void 0 },
|
|
43
43
|
direction: { default: "bottom" },
|
|
44
|
-
|
|
45
|
-
type: Boolean,
|
|
46
|
-
default: void 0
|
|
47
|
-
}
|
|
44
|
+
stage: { default: void 0 }
|
|
48
45
|
},
|
|
49
46
|
emits: ["update:open", "update:activeSnapPoint"],
|
|
50
47
|
setup(e, { emit: t }) {
|
|
51
|
-
let n = e, a = t, o = r(() => n.open !== void 0), s =
|
|
52
|
-
|
|
48
|
+
let n = e, a = t, o = r(() => n.open !== void 0), s = h(n.open ?? n.defaultOpen);
|
|
49
|
+
y(() => n.open, (e) => {
|
|
53
50
|
e !== void 0 && (s.value = e);
|
|
54
51
|
});
|
|
55
52
|
function c(e) {
|
|
56
53
|
s.value = e, a("update:open", e);
|
|
57
54
|
}
|
|
58
|
-
let l = r(() => o.value ? n.open : s.value), u = r(() => n.mode === "live-behind"), d = r(() => n.modal ?? !u.value),
|
|
59
|
-
|
|
60
|
-
e
|
|
61
|
-
})
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
let l = r(() => o.value ? n.open : s.value), u = r(() => n.mode === "live-behind"), d = r(() => n.modal ?? !u.value), p = typeof window < "u" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches, x = r(() => {
|
|
56
|
+
let e = n.stage ?? (u.value ? "none" : "scale");
|
|
57
|
+
return p && (e === "scale" || e === "immersive") ? "dim" : e;
|
|
58
|
+
});
|
|
59
|
+
function S(e) {
|
|
60
|
+
if (typeof document > "u") return;
|
|
61
|
+
let t = document.querySelector("[data-stage-wrapper]"), n = document.querySelector("[data-stage-scrim]"), r = e && (x.value === "scale" || x.value === "immersive"), i = e && x.value === "immersive";
|
|
62
|
+
t && t.toggleAttribute("data-stage-scale", r), n && n.toggleAttribute("data-stage-immersive", i);
|
|
63
|
+
}
|
|
64
|
+
y(() => l.value, (e) => S(e), { immediate: !0 }), y(x, () => S(l.value)), f(() => S(!1));
|
|
65
|
+
let C = r(() => n.snapPoints && n.snapPoints.length > 0 ? n.snapPoints.map((e) => typeof e == "number" ? e : Number.parseFloat(e)) : P(n.direction)), w = h(n.activeSnapPoint ?? null);
|
|
66
|
+
y(() => n.activeSnapPoint, (e) => {
|
|
67
|
+
e !== void 0 && (w.value = e);
|
|
68
|
+
}), y(w, (e) => a("update:activeSnapPoint", e));
|
|
69
|
+
let T = h(l.value);
|
|
70
|
+
return y(l, (e) => T.value = e), y(T, (e) => {
|
|
64
71
|
e !== l.value && c(e);
|
|
65
|
-
}),
|
|
66
|
-
open:
|
|
67
|
-
snapPoints:
|
|
68
|
-
direction:
|
|
69
|
-
activeSnapPoint:
|
|
70
|
-
}), (e, t) => (
|
|
72
|
+
}), L({
|
|
73
|
+
open: T,
|
|
74
|
+
snapPoints: C,
|
|
75
|
+
direction: _(n, "direction"),
|
|
76
|
+
activeSnapPoint: w
|
|
77
|
+
}), (e, t) => (m(), i(v(D), {
|
|
71
78
|
"data-slot": "drawer",
|
|
72
79
|
open: l.value,
|
|
73
80
|
modal: d.value,
|
|
74
81
|
"onUpdate:open": c
|
|
75
82
|
}, {
|
|
76
|
-
default:
|
|
83
|
+
default: b(() => [g(e.$slots, "default")]),
|
|
77
84
|
_: 3
|
|
78
85
|
}, 8, ["open", "modal"]));
|
|
79
86
|
}
|
|
80
|
-
}),
|
|
87
|
+
}), B = /* @__PURE__ */ l({
|
|
81
88
|
__name: "DrawerOverlay",
|
|
82
89
|
props: {
|
|
83
90
|
forceMount: { type: Boolean },
|
|
@@ -96,18 +103,21 @@ var L = P.use, R = /* @__PURE__ */ l({
|
|
|
96
103
|
let { class: e, ...t } = n;
|
|
97
104
|
return t;
|
|
98
105
|
});
|
|
99
|
-
return (t, r) => (
|
|
106
|
+
return (t, r) => (m(), i(v(w), u(a.value, {
|
|
107
|
+
"data-stage-scrim": "",
|
|
108
|
+
class: v(e)("fixed inset-0 z-overlay [backdrop-filter:var(--glass-blur-wash)]", n.class)
|
|
109
|
+
}), null, 16, ["class"]));
|
|
100
110
|
}
|
|
101
111
|
});
|
|
102
112
|
//#endregion
|
|
103
113
|
//#region src/components/ui/drawer/composables/useDrawerSnap.ts
|
|
104
|
-
function
|
|
114
|
+
function V(e) {
|
|
105
115
|
return e === "left" || e === "right";
|
|
106
116
|
}
|
|
107
|
-
function V(e, t) {
|
|
108
|
-
return e.length > 0 ? [...e].sort((e, t) => e - t) : B(t) ? [0, 1] : [1];
|
|
109
|
-
}
|
|
110
117
|
function H(e, t) {
|
|
118
|
+
return e.length > 0 ? [...e].sort((e, t) => e - t) : V(t) ? [0, 1] : [1];
|
|
119
|
+
}
|
|
120
|
+
function U(e, t) {
|
|
111
121
|
let n = t[0], r = Math.abs(e - n);
|
|
112
122
|
for (let i of t) {
|
|
113
123
|
let t = Math.abs(e - i);
|
|
@@ -115,25 +125,25 @@ function H(e, t) {
|
|
|
115
125
|
}
|
|
116
126
|
return n;
|
|
117
127
|
}
|
|
118
|
-
function
|
|
128
|
+
function W(e, t, n) {
|
|
119
129
|
let r = n.indexOf(e);
|
|
120
|
-
if (r === -1) return
|
|
130
|
+
if (r === -1) return U(e, n);
|
|
121
131
|
let i = r + t;
|
|
122
132
|
return i < 0 || i >= n.length ? e : n[i];
|
|
123
133
|
}
|
|
124
|
-
function
|
|
125
|
-
let { contentEl: t, handleEl: n, ctx: r } = e, i =
|
|
134
|
+
function G(e) {
|
|
135
|
+
let { contentEl: t, handleEl: n, ctx: r } = e, i = h(!1), a = null;
|
|
126
136
|
function o(e) {
|
|
127
137
|
let n = t.value;
|
|
128
|
-
n && n.style.setProperty("--glass-drawer-t", `${e}`);
|
|
138
|
+
n && n.style.setProperty("--glass-drawer-t", `${e}`), document.documentElement.style.setProperty("--stage-t", `${e}`);
|
|
129
139
|
}
|
|
130
140
|
function s() {
|
|
131
|
-
a &&= (a.dispose(), null);
|
|
141
|
+
a &&= (a.dispose(), null), document.documentElement.style.removeProperty("--stage-t");
|
|
132
142
|
}
|
|
133
143
|
function c() {
|
|
134
|
-
return a || (a = new
|
|
135
|
-
response:
|
|
136
|
-
dampingFraction:
|
|
144
|
+
return a || (a = new j({
|
|
145
|
+
response: M.response,
|
|
146
|
+
dampingFraction: M.dampingFraction,
|
|
137
147
|
initial: l(),
|
|
138
148
|
respectReducedMotion: !0
|
|
139
149
|
}), a.play((e) => o(e)), a);
|
|
@@ -145,7 +155,7 @@ function W(e) {
|
|
|
145
155
|
let t = Number.parseFloat(e);
|
|
146
156
|
if (!Number.isNaN(t)) return t;
|
|
147
157
|
}
|
|
148
|
-
let t =
|
|
158
|
+
let t = H(r.snapPoints.value, r.direction.value);
|
|
149
159
|
return t[t.length - 1] ?? 1;
|
|
150
160
|
}
|
|
151
161
|
function u(e) {
|
|
@@ -153,9 +163,9 @@ function W(e) {
|
|
|
153
163
|
t.target = e, r.activeSnapPoint.value = e;
|
|
154
164
|
}
|
|
155
165
|
function d(e) {
|
|
156
|
-
u(
|
|
166
|
+
u(U(e, H(r.snapPoints.value, r.direction.value)));
|
|
157
167
|
}
|
|
158
|
-
let
|
|
168
|
+
let f = null, m = 0, g = 0, _ = 0, v = 0, b = 0;
|
|
159
169
|
function x(e) {
|
|
160
170
|
let t = r.direction.value;
|
|
161
171
|
return t === "bottom" ? -e.clientY : t === "top" ? e.clientY : t === "left" ? e.clientX : -e.clientX;
|
|
@@ -164,27 +174,27 @@ function W(e) {
|
|
|
164
174
|
let e = t.value;
|
|
165
175
|
if (!e) return 1;
|
|
166
176
|
let n = e.getBoundingClientRect();
|
|
167
|
-
return
|
|
177
|
+
return V(r.direction.value) ? n.width || 1 : n.height || 1;
|
|
168
178
|
}
|
|
169
179
|
function C(e) {
|
|
170
180
|
let t = n.value;
|
|
171
|
-
t && (a && a.stop(), i.value = !0,
|
|
181
|
+
t && (a && a.stop(), i.value = !0, f = e.pointerId, m = x(e), _ = m, v = e.timeStamp, g = l(), b = 0, t.setPointerCapture?.(e.pointerId));
|
|
172
182
|
}
|
|
173
183
|
function w(e) {
|
|
174
|
-
if (
|
|
175
|
-
let t = x(e), n = (e.timeStamp -
|
|
176
|
-
n > 0 && (b = (t - _) / n), _ = t,
|
|
177
|
-
let i = (t -
|
|
184
|
+
if (f === null || e.pointerId !== f) return;
|
|
185
|
+
let t = x(e), n = (e.timeStamp - v) / 1e3;
|
|
186
|
+
n > 0 && (b = (t - _) / n), _ = t, v = e.timeStamp;
|
|
187
|
+
let i = (t - m) / S(), a = H(r.snapPoints.value, r.direction.value), s = a[0], c = a[a.length - 1];
|
|
178
188
|
o(Math.min(c, Math.max(s, g + i)));
|
|
179
189
|
}
|
|
180
190
|
function T(e) {
|
|
181
|
-
if (
|
|
182
|
-
n.value?.releasePointerCapture?.(e.pointerId),
|
|
183
|
-
let t =
|
|
191
|
+
if (f === null || e.pointerId !== f) return;
|
|
192
|
+
n.value?.releasePointerCapture?.(e.pointerId), f = null, i.value = !1;
|
|
193
|
+
let t = H(r.snapPoints.value, r.direction.value), a = E(), o;
|
|
184
194
|
if (Math.abs(b) >= 450 && t.length > 1) {
|
|
185
195
|
let e = b > 0 ? 1 : -1;
|
|
186
|
-
o = U(
|
|
187
|
-
} else o =
|
|
196
|
+
o = W(U(a, t), e, t);
|
|
197
|
+
} else o = U(a, t);
|
|
188
198
|
if (o <= 0) {
|
|
189
199
|
r.open.value = !1;
|
|
190
200
|
return;
|
|
@@ -203,20 +213,20 @@ function W(e) {
|
|
|
203
213
|
e.removeEventListener("pointerdown", C), e.removeEventListener("pointermove", w), e.removeEventListener("pointerup", T), e.removeEventListener("pointercancel", T), D = null;
|
|
204
214
|
};
|
|
205
215
|
}
|
|
206
|
-
return
|
|
216
|
+
return y(n, (e) => {
|
|
207
217
|
D?.(), e && O(e);
|
|
208
|
-
}, { immediate: !0 }),
|
|
218
|
+
}, { immediate: !0 }), y(r.open, (e) => {
|
|
209
219
|
e ? queueMicrotask(() => {
|
|
210
220
|
o(0), u(l());
|
|
211
221
|
}) : s();
|
|
212
|
-
}, { immediate: !0 }),
|
|
222
|
+
}, { immediate: !0 }), y(r.activeSnapPoint, (e) => {
|
|
213
223
|
if (!r.open.value || i.value) return;
|
|
214
224
|
let t = typeof e == "number" ? e : typeof e == "string" ? Number.parseFloat(e) : NaN;
|
|
215
225
|
if (!Number.isNaN(t) && (!a || Math.abs(a.target - t) > .001)) {
|
|
216
|
-
let e =
|
|
217
|
-
c().target =
|
|
226
|
+
let e = H(r.snapPoints.value, r.direction.value);
|
|
227
|
+
c().target = U(t, e);
|
|
218
228
|
}
|
|
219
|
-
}),
|
|
229
|
+
}), p(() => {
|
|
220
230
|
D?.(), s();
|
|
221
231
|
}), {
|
|
222
232
|
dragging: i,
|
|
@@ -225,7 +235,7 @@ function W(e) {
|
|
|
225
235
|
}
|
|
226
236
|
//#endregion
|
|
227
237
|
//#region src/components/ui/drawer/DrawerContent.vue?vue&type=script&setup=true&lang.ts
|
|
228
|
-
var
|
|
238
|
+
var K = ["data-dragging"], q = /* @__PURE__ */ l({
|
|
229
239
|
__name: "DrawerContent",
|
|
230
240
|
props: {
|
|
231
241
|
forceMount: { type: Boolean },
|
|
@@ -254,44 +264,44 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
254
264
|
"closeAutoFocus"
|
|
255
265
|
],
|
|
256
266
|
setup(n, { emit: o }) {
|
|
257
|
-
let l = n, d = o, f =
|
|
267
|
+
let l = n, d = o, f = A(r(() => {
|
|
258
268
|
let { class: e, showOverlay: t, surface: n, ...r } = l;
|
|
259
269
|
return r;
|
|
260
|
-
}), d),
|
|
261
|
-
function
|
|
270
|
+
}), d), p = r(() => t(l.surface).replace(/^glass-\w+\s*/, "")), _ = h(null), y = h(null);
|
|
271
|
+
function x(e) {
|
|
262
272
|
if (!e) {
|
|
263
|
-
|
|
273
|
+
_.value = null;
|
|
264
274
|
return;
|
|
265
275
|
}
|
|
266
276
|
let t = e.$el ?? e;
|
|
267
|
-
|
|
277
|
+
_.value = t instanceof HTMLElement ? t : null;
|
|
268
278
|
}
|
|
269
|
-
let C =
|
|
270
|
-
contentEl:
|
|
271
|
-
handleEl:
|
|
279
|
+
let C = R(), w = C ? G({
|
|
280
|
+
contentEl: _,
|
|
281
|
+
handleEl: y,
|
|
272
282
|
ctx: C
|
|
273
283
|
}) : null, E = r(() => (C?.snapPoints.value.length ?? 0) > 1), D = r(() => C?.direction.value ?? "bottom"), O = r(() => {
|
|
274
284
|
if (!C) return;
|
|
275
285
|
let e = D.value;
|
|
276
286
|
return e === "bottom" ? { transform: "translateY(calc((1 - var(--glass-drawer-t, 1)) * 100%))" } : e === "top" ? { transform: "translateY(calc((var(--glass-drawer-t, 1) - 1) * 100%))" } : e === "left" ? { transform: "translateX(calc((var(--glass-drawer-t, 1) - 1) * 100%))" } : { transform: "translateX(calc((1 - var(--glass-drawer-t, 1)) * 100%))" };
|
|
277
287
|
});
|
|
278
|
-
return (t, n) => (
|
|
279
|
-
default:
|
|
288
|
+
return (t, n) => (m(), i(v(T), null, {
|
|
289
|
+
default: b(() => [l.showOverlay ? (m(), i(B, { key: 0 })) : a("", !0), c(v(S), u({ ref: x }, v(f), {
|
|
280
290
|
"data-glass-drawer": "",
|
|
281
291
|
"data-glass-drawer-snap-points": E.value ? "true" : void 0,
|
|
282
292
|
"data-glass-drawer-direction": D.value,
|
|
283
293
|
"data-surface": l.surface,
|
|
284
|
-
class:
|
|
294
|
+
class: v(e)("glass-drawer", p.value, l.class),
|
|
285
295
|
style: O.value
|
|
286
296
|
}), {
|
|
287
|
-
default:
|
|
297
|
+
default: b(() => [s("div", {
|
|
288
298
|
ref_key: "handleEl",
|
|
289
|
-
ref:
|
|
299
|
+
ref: y,
|
|
290
300
|
class: "glass-drawer-handle",
|
|
291
301
|
"data-glass-drawer-handle": "",
|
|
292
|
-
"data-dragging":
|
|
302
|
+
"data-dragging": v(w)?.dragging.value ? "" : void 0,
|
|
293
303
|
"aria-hidden": "true"
|
|
294
|
-
}, [...n[0] ||= [s("span", { class: "glass-drawer-grip" }, null, -1)]], 8,
|
|
304
|
+
}, [...n[0] ||= [s("span", { class: "glass-drawer-grip" }, null, -1)]], 8, K), g(t.$slots, "default")]),
|
|
295
305
|
_: 3
|
|
296
306
|
}, 16, [
|
|
297
307
|
"data-glass-drawer-snap-points",
|
|
@@ -303,7 +313,7 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
303
313
|
_: 3
|
|
304
314
|
}));
|
|
305
315
|
}
|
|
306
|
-
}),
|
|
316
|
+
}), J = /* @__PURE__ */ l({
|
|
307
317
|
__name: "DrawerHeader",
|
|
308
318
|
props: { class: { type: [
|
|
309
319
|
Boolean,
|
|
@@ -314,9 +324,9 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
314
324
|
] } },
|
|
315
325
|
setup(t) {
|
|
316
326
|
let n = t;
|
|
317
|
-
return (t, r) => (
|
|
327
|
+
return (t, r) => (m(), o("div", { class: d(v(e)("[--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] [--card-pad-title-gap:calc(var(--overlay-pad-inline)/2.618)]", "grid gap-(--card-pad-title-gap) px-(--overlay-pad-inline) pt-(--overlay-pad-block) pb-0 text-center sm:text-left", n.class)) }, [g(t.$slots, "default")], 2));
|
|
318
328
|
}
|
|
319
|
-
}),
|
|
329
|
+
}), Y = /* @__PURE__ */ l({
|
|
320
330
|
__name: "DrawerFooter",
|
|
321
331
|
props: { class: { type: [
|
|
322
332
|
Boolean,
|
|
@@ -327,9 +337,9 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
327
337
|
] } },
|
|
328
338
|
setup(t) {
|
|
329
339
|
let n = t;
|
|
330
|
-
return (t, r) => (
|
|
340
|
+
return (t, r) => (m(), o("div", { class: d(v(e)("[--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] [--card-pad-footer:calc(var(--overlay-pad-block)/1.618)]", "mt-auto flex flex-col gap-2 px-(--overlay-pad-inline) pt-(--card-pad-footer) pb-(--overlay-pad-block)", n.class)) }, [g(t.$slots, "default")], 2));
|
|
331
341
|
}
|
|
332
|
-
}),
|
|
342
|
+
}), X = /* @__PURE__ */ l({
|
|
333
343
|
__name: "DrawerTitle",
|
|
334
344
|
props: {
|
|
335
345
|
asChild: { type: Boolean },
|
|
@@ -347,12 +357,12 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
347
357
|
let { class: e, ...t } = n;
|
|
348
358
|
return t;
|
|
349
359
|
});
|
|
350
|
-
return (t, r) => (
|
|
351
|
-
default:
|
|
360
|
+
return (t, r) => (m(), i(v(O), u(a.value, { class: v(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
361
|
+
default: b(() => [g(t.$slots, "default")]),
|
|
352
362
|
_: 3
|
|
353
363
|
}, 16, ["class"]));
|
|
354
364
|
}
|
|
355
|
-
}),
|
|
365
|
+
}), Z = /* @__PURE__ */ l({
|
|
356
366
|
__name: "DrawerDescription",
|
|
357
367
|
props: {
|
|
358
368
|
asChild: { type: Boolean },
|
|
@@ -370,11 +380,11 @@ var G = ["data-dragging"], K = /* @__PURE__ */ l({
|
|
|
370
380
|
let { class: e, ...t } = n;
|
|
371
381
|
return t;
|
|
372
382
|
});
|
|
373
|
-
return (t, r) => (
|
|
374
|
-
default:
|
|
383
|
+
return (t, r) => (m(), i(v(C), u(a.value, { class: v(e)("text-sm text-muted-foreground", n.class) }), {
|
|
384
|
+
default: b(() => [g(t.$slots, "default")]),
|
|
375
385
|
_: 3
|
|
376
386
|
}, 16, ["class"]));
|
|
377
387
|
}
|
|
378
388
|
});
|
|
379
389
|
//#endregion
|
|
380
|
-
export {
|
|
390
|
+
export { z as Drawer, x as DrawerClose, q as DrawerContent, Z as DrawerDescription, Y as DrawerFooter, J as DrawerHeader, B as DrawerOverlay, E as DrawerPortal, X as DrawerTitle, k as DrawerTrigger };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { S as t, y as n } from "./vendor-B2qOlYY3.js";
|
|
3
|
-
import { t as r } from "./useSurfaceAxis-
|
|
4
|
-
import { t as i } from "./menuItemVariants-
|
|
5
|
-
import { i as a } from "./dockContext-
|
|
3
|
+
import { t as r } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
4
|
+
import { t as i } from "./menuItemVariants-DAXquKja.js";
|
|
5
|
+
import { i as a } from "./dockContext-gFVS2gMg.js";
|
|
6
6
|
import { computed as o, createBlock as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, guardReactiveProps as f, mergeProps as p, normalizeClass as m, normalizeProps as h, openBlock as g, renderSlot as _, unref as v, withCtx as y } from "vue";
|
|
7
7
|
import { DropdownMenuCheckboxItem as b, DropdownMenuContent as x, DropdownMenuGroup as S, DropdownMenuItem as C, DropdownMenuItemIndicator as w, DropdownMenuLabel as T, DropdownMenuPortal as E, DropdownMenuPortal as D, DropdownMenuRadioGroup as O, DropdownMenuRadioItem as k, DropdownMenuRoot as A, DropdownMenuSeparator as j, DropdownMenuSub as M, DropdownMenuSubContent as N, DropdownMenuSubTrigger as P, DropdownMenuTrigger as F, useForwardProps as I, useForwardPropsEmits as L } from "reka-ui";
|
|
8
8
|
//#endregion
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-CCfcCQ68.js";
|
|
2
2
|
export { i as DropdownMenu, o as DropdownMenuCheckboxItem, u as DropdownMenuContent, r as DropdownMenuGroup, m as DropdownMenuItem, e as DropdownMenuLabel, p as DropdownMenuPortal, n as DropdownMenuRadioGroup, t as DropdownMenuRadioItem, l as DropdownMenuSeparator, f as DropdownMenuShortcut, a as DropdownMenuSub, c as DropdownMenuSubContent, d as DropdownMenuSubTrigger, s as DropdownMenuTrigger };
|
package/dist/easing.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { S as e, p as t } from "./vendor-B2qOlYY3.js";
|
|
2
|
-
import { a as n, i as r, o as i, r as a, s as o } from "./SelectScrollDownButton-
|
|
3
|
-
import { n as s } from "./slider-
|
|
4
|
-
import { n as c, t as l } from "./ConfiguratorRow-
|
|
2
|
+
import { a as n, i as r, o as i, r as a, s as o } from "./SelectScrollDownButton-3mFHX_R-.js";
|
|
3
|
+
import { n as s } from "./slider-CcICPe3u.js";
|
|
4
|
+
import { n as c, t as l } from "./ConfiguratorRow-YMXdINHx.js";
|
|
5
5
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as _, defineComponent as v, mergeModels as y, onUnmounted as b, openBlock as x, ref as S, renderList as C, renderSlot as ee, toDisplayString as w, unref as T, useModel as E, useTemplateRef as te, watch as D, withCtx as O } from "vue";
|
|
6
6
|
import { CSSCubicBezier as k, bezierPresets as A, jumpTerms as j, parseSteps as M, steppedEase as N } from "@mkbabb/value.js";
|
|
7
7
|
//#region src/components/custom/easing/constants.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { c as t, l as n } from "./vendor-B2qOlYY3.js";
|
|
3
|
-
import { t as r } from "./useSurfaceAxis-
|
|
4
|
-
import { i } from "./useKeyboardShortcuts-
|
|
3
|
+
import { t as r } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
4
|
+
import { i } from "./useKeyboardShortcuts-BEut54Tk.js";
|
|
5
5
|
import { Fragment as a, Teleport as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as f, defineComponent as p, mergeModels as m, mergeProps as h, normalizeClass as g, onMounted as _, onUnmounted as v, openBlock as y, renderSlot as b, unref as x, useModel as S, watch as C } from "vue";
|
|
6
6
|
//#region src/components/custom/expandable-container/ExpandableContainer.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var w = ["aria-label"], T = ["data-surface"], E = ["aria-label"], D = {
|
package/dist/fading-scroll.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./FadingScroll-
|
|
1
|
+
import { n as e, t } from "./FadingScroll-P8B30rAD.js";
|
|
2
2
|
export { t as FadingScroll, e as useFadingScroll };
|
package/dist/forms.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { n as t } from "./vendor-B2qOlYY3.js";
|
|
3
|
-
import { t as n } from "./menuItemVariants-
|
|
4
|
-
import { t as r } from "./useUserInvalidAria-
|
|
5
|
-
import { t as i } from "./useControlSize-
|
|
6
|
-
import { t as a } from "./Input-
|
|
3
|
+
import { t as n } from "./menuItemVariants-DAXquKja.js";
|
|
4
|
+
import { t as r } from "./useUserInvalidAria-EmmwWPOl.js";
|
|
5
|
+
import { t as i } from "./useControlSize-DAZ062x7.js";
|
|
6
|
+
import { t as a } from "./Input-CyU4_hIC.js";
|
|
7
7
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createTextVNode as u, createVNode as d, defineComponent as f, isRef as p, mergeProps as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, vModelText as y, withCtx as b, withDirectives as x } from "vue";
|
|
8
8
|
import { ComboboxAnchor as S, ComboboxCancel as C, ComboboxContent as w, ComboboxEmpty as T, ComboboxGroup as E, ComboboxInput as D, ComboboxItem as O, ComboboxItemIndicator as k, ComboboxLabel as A, ComboboxPortal as j, ComboboxRoot as M, ComboboxSeparator as N, ComboboxTrigger as P, ComboboxViewport as F, useForwardProps as I, useForwardPropsEmits as L } from "reka-ui";
|
|
9
9
|
import { reactiveOmit as R, useVModel as z } from "@vueuse/core";
|
|
@@ -46,7 +46,7 @@ var B = ["data-autosize"], V = /* @__PURE__ */ f({
|
|
|
46
46
|
...s.value
|
|
47
47
|
}, {
|
|
48
48
|
"data-autosize": t.autosize ? "" : void 0,
|
|
49
|
-
class: v(e)("input-pill [--control-surface-bg:var(--input-on-glass)] rounded-field py-2", v(i)(r.size), t.autosize ? "" : "min-h-20", r.class)
|
|
49
|
+
class: v(e)("input-pill glass-control-edge [--control-surface-bg:var(--input-on-glass)] rounded-field py-2", v(i)(r.size), t.autosize ? "" : "min-h-20", r.class)
|
|
50
50
|
}), null, 16, B)), [[y, v(a)]]);
|
|
51
51
|
}
|
|
52
52
|
}), H = /* @__PURE__ */ f({
|
|
@@ -277,7 +277,7 @@ var B = ["data-autosize"], V = /* @__PURE__ */ f({
|
|
|
277
277
|
setup(t, { emit: n }) {
|
|
278
278
|
let r = t, i = n, a = L(R(r, "class"), i);
|
|
279
279
|
return (t, n) => (h(), s(v(j), null, {
|
|
280
|
-
default: b(() => [d(v(w), m({ "data-slot": "combobox-list" }, v(a), { class: v(e)("z-popover w-popover rounded-panel border glass-floating text-popover-foreground origin-(--reka-combobox-content-transform-origin) overflow-hidden outline-none glass-reveal", r.class) }), {
|
|
280
|
+
default: b(() => [d(v(w), m({ "data-slot": "combobox-list" }, v(a), { class: v(e)("z-popover w-popover rounded-panel border glass-floating text-popover-foreground origin-(--reka-combobox-content-transform-origin) overflow-hidden outline-none glass-reveal glass-field-portal", r.class) }), {
|
|
281
281
|
default: b(() => [g(t.$slots, "default")]),
|
|
282
282
|
_: 3
|
|
283
283
|
}, 16, ["class"])]),
|