@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/carousel.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
2
|
import { C as t, b as n, v as r, w as i, x as a, y as o } from "./vendor-B2qOlYY3.js";
|
|
3
|
-
import { n as s } from "./button-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import D from "
|
|
3
|
+
import { n as s } from "./button-D1W9PrzI.js";
|
|
4
|
+
import { t as c } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
5
|
+
import { t as l } from "./useGooMorph-Cs13NgYL.js";
|
|
6
|
+
import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeProps as _, nextTick as v, normalizeClass as y, onBeforeUnmount as b, onMounted as x, openBlock as S, ref as C, renderSlot as w, resolveDynamicComponent as T, toDisplayString as E, unref as D, watch as O, withCtx as k } from "vue";
|
|
7
|
+
import { createInjectionState as A } from "@vueuse/core";
|
|
8
|
+
import j from "embla-carousel-vue";
|
|
7
9
|
//#region src/components/ui/carousel/useCarousel.ts
|
|
8
|
-
var [
|
|
9
|
-
let [i, a] =
|
|
10
|
+
var [M, N] = A(({ opts: e, orientation: t, plugins: n }, r) => {
|
|
11
|
+
let [i, a] = j({
|
|
10
12
|
...e,
|
|
11
13
|
axis: t === "horizontal" ? "x" : "y"
|
|
12
14
|
}, n);
|
|
@@ -16,11 +18,11 @@ var [O, k] = E(({ opts: e, orientation: t, plugins: n }, r) => {
|
|
|
16
18
|
function s() {
|
|
17
19
|
a.value?.scrollNext();
|
|
18
20
|
}
|
|
19
|
-
let c =
|
|
21
|
+
let c = C(!1), l = C(!1);
|
|
20
22
|
function u(e) {
|
|
21
23
|
c.value = e?.canScrollNext() || !1, l.value = e?.canScrollPrev() || !1;
|
|
22
24
|
}
|
|
23
|
-
return
|
|
25
|
+
return x(() => {
|
|
24
26
|
a.value && (a.value?.on("init", u), a.value?.on("reInit", u), a.value?.on("select", u), r("init-api", a.value));
|
|
25
27
|
}), {
|
|
26
28
|
carouselRef: i,
|
|
@@ -32,14 +34,14 @@ var [O, k] = E(({ opts: e, orientation: t, plugins: n }, r) => {
|
|
|
32
34
|
orientation: t
|
|
33
35
|
};
|
|
34
36
|
});
|
|
35
|
-
function
|
|
36
|
-
let e =
|
|
37
|
+
function P() {
|
|
38
|
+
let e = N();
|
|
37
39
|
if (!e) throw Error("useCarousel must be used within a <Carousel />");
|
|
38
40
|
return e;
|
|
39
41
|
}
|
|
40
42
|
//#endregion
|
|
41
43
|
//#region src/components/ui/carousel/Carousel.vue
|
|
42
|
-
var
|
|
44
|
+
var F = /* @__PURE__ */ g({
|
|
43
45
|
__name: "Carousel",
|
|
44
46
|
props: {
|
|
45
47
|
opts: {},
|
|
@@ -55,7 +57,7 @@ var j = /* @__PURE__ */ m({
|
|
|
55
57
|
},
|
|
56
58
|
emits: ["init-api"],
|
|
57
59
|
setup(t, { expose: n, emit: r }) {
|
|
58
|
-
let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: u, scrollPrev:
|
|
60
|
+
let i = t, { canScrollNext: a, canScrollPrev: o, carouselApi: s, carouselRef: c, orientation: l, scrollNext: u, scrollPrev: d } = M(i, r);
|
|
59
61
|
n({
|
|
60
62
|
canScrollNext: a,
|
|
61
63
|
canScrollPrev: o,
|
|
@@ -63,34 +65,34 @@ var j = /* @__PURE__ */ m({
|
|
|
63
65
|
carouselRef: c,
|
|
64
66
|
orientation: l,
|
|
65
67
|
scrollNext: u,
|
|
66
|
-
scrollPrev:
|
|
68
|
+
scrollPrev: d
|
|
67
69
|
});
|
|
68
|
-
function
|
|
70
|
+
function f(e) {
|
|
69
71
|
let t = i.orientation === "vertical" ? "ArrowUp" : "ArrowLeft", n = i.orientation === "vertical" ? "ArrowDown" : "ArrowRight";
|
|
70
72
|
if (e.key === t) {
|
|
71
|
-
e.preventDefault(),
|
|
73
|
+
e.preventDefault(), d();
|
|
72
74
|
return;
|
|
73
75
|
}
|
|
74
76
|
e.key === n && (e.preventDefault(), u());
|
|
75
77
|
}
|
|
76
|
-
return (t, n) => (
|
|
78
|
+
return (t, n) => (S(), p("div", {
|
|
77
79
|
"data-slot": "carousel",
|
|
78
|
-
class:
|
|
80
|
+
class: y(D(e)("relative", i.class)),
|
|
79
81
|
role: "region",
|
|
80
82
|
"aria-roledescription": "carousel",
|
|
81
83
|
tabindex: "0",
|
|
82
|
-
onKeydown:
|
|
83
|
-
}, [
|
|
84
|
-
canScrollNext:
|
|
85
|
-
canScrollPrev:
|
|
86
|
-
carouselApi:
|
|
87
|
-
carouselRef:
|
|
88
|
-
orientation:
|
|
89
|
-
scrollNext:
|
|
90
|
-
scrollPrev:
|
|
84
|
+
onKeydown: f
|
|
85
|
+
}, [w(t.$slots, "default", {
|
|
86
|
+
canScrollNext: D(a),
|
|
87
|
+
canScrollPrev: D(o),
|
|
88
|
+
carouselApi: D(s),
|
|
89
|
+
carouselRef: D(c),
|
|
90
|
+
orientation: D(l),
|
|
91
|
+
scrollNext: D(u),
|
|
92
|
+
scrollPrev: D(d)
|
|
91
93
|
})], 34));
|
|
92
94
|
}
|
|
93
|
-
}),
|
|
95
|
+
}), I = /* @__PURE__ */ c(/* @__PURE__ */ g({
|
|
94
96
|
inheritAttrs: !1,
|
|
95
97
|
__name: "CarouselContent",
|
|
96
98
|
props: { class: { type: [
|
|
@@ -100,16 +102,143 @@ var j = /* @__PURE__ */ m({
|
|
|
100
102
|
Object,
|
|
101
103
|
Array
|
|
102
104
|
] } },
|
|
103
|
-
setup(t
|
|
104
|
-
let
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
105
|
+
setup(t) {
|
|
106
|
+
let n = t, { carouselRef: r, carouselApi: i, orientation: a } = P(), o = u(() => a === "vertical"), s = C(null), c = C(null), d = C(null), f = C(null), h = C(null), g = C(0);
|
|
107
|
+
function T() {
|
|
108
|
+
let e = i.value, t = c.value, n = e?.slideNodes() ?? [];
|
|
109
|
+
if (n.length >= 2) {
|
|
110
|
+
let e = n[0].getBoundingClientRect(), t = n[1].getBoundingClientRect(), r = o.value ? Math.abs(t.top - e.top) : Math.abs(t.left - e.left);
|
|
111
|
+
if (r > 1) return r;
|
|
112
|
+
}
|
|
113
|
+
if (t) {
|
|
114
|
+
let e = t.getBoundingClientRect();
|
|
115
|
+
return Math.max(1, o.value ? e.height : e.width);
|
|
116
|
+
}
|
|
117
|
+
return 1;
|
|
118
|
+
}
|
|
119
|
+
function E(e) {
|
|
120
|
+
let t = c.value;
|
|
121
|
+
if (!t) return null;
|
|
122
|
+
let n = t.getBoundingClientRect(), r = o.value ? n.height : n.width, i = T();
|
|
123
|
+
return r / 2 + (e - j) * i;
|
|
124
|
+
}
|
|
125
|
+
function k() {
|
|
126
|
+
return Math.max(24, T());
|
|
127
|
+
}
|
|
128
|
+
let A = l({
|
|
129
|
+
barbellRefs: {
|
|
130
|
+
bodyARef: d,
|
|
131
|
+
bodyBRef: f,
|
|
132
|
+
neckRef: h
|
|
133
|
+
},
|
|
134
|
+
hostRef: c,
|
|
135
|
+
vertical: o,
|
|
136
|
+
centerOf: E,
|
|
137
|
+
restSize: k,
|
|
138
|
+
tokenPrefix: "carousel-goo",
|
|
139
|
+
neckGap: .78
|
|
140
|
+
}), j = 0;
|
|
141
|
+
function M() {
|
|
142
|
+
let e = c.value;
|
|
143
|
+
if (!e) return;
|
|
144
|
+
let t = k() / 1.618033988749895;
|
|
145
|
+
e.style.setProperty("--carousel-body-d", `${t.toFixed(2)}px`);
|
|
146
|
+
}
|
|
147
|
+
let N = !1, F = null;
|
|
148
|
+
function I() {
|
|
149
|
+
N = !0, F && clearTimeout(F), F = setTimeout(() => {
|
|
150
|
+
N = !1, F = null;
|
|
151
|
+
}, 600);
|
|
152
|
+
}
|
|
153
|
+
let L = null;
|
|
154
|
+
function R(e) {
|
|
155
|
+
let t = e.target;
|
|
156
|
+
L && t && L.contains(t) && I();
|
|
157
|
+
}
|
|
158
|
+
let z = null;
|
|
159
|
+
function B() {
|
|
160
|
+
let e = c.value;
|
|
161
|
+
if (!e) return;
|
|
162
|
+
e.setAttribute("data-traveling", ""), N ? e.removeAttribute("data-autoplay") : e.setAttribute("data-autoplay", ""), z && clearTimeout(z);
|
|
163
|
+
let t = (parseFloat(getComputedStyle(e).getPropertyValue("--carousel-goo-duration")) || .95) * 1e3;
|
|
164
|
+
z = setTimeout(() => {
|
|
165
|
+
e.removeAttribute("data-traveling"), z = null;
|
|
166
|
+
}, t + 80);
|
|
167
|
+
}
|
|
168
|
+
function V() {
|
|
169
|
+
let e = i.value;
|
|
170
|
+
if (!e) return;
|
|
171
|
+
let t = e.selectedScrollSnap(), n = e.previousScrollSnap();
|
|
172
|
+
j = t, M(), n === t ? A.snap(t) : (B(), A.travel(n, t));
|
|
173
|
+
}
|
|
174
|
+
function H() {
|
|
175
|
+
let e = i.value;
|
|
176
|
+
if (!e) return;
|
|
177
|
+
let t = Math.max(1, g.value - 1), n = Math.min(1, Math.max(0, e.scrollProgress()));
|
|
178
|
+
n > .001 && n < .999 && B(), A.drive(n * t);
|
|
179
|
+
}
|
|
180
|
+
function U() {
|
|
181
|
+
let e = i.value;
|
|
182
|
+
g.value = e ? e.slideNodes().length : 0;
|
|
183
|
+
}
|
|
184
|
+
let W = null;
|
|
185
|
+
function G(e) {
|
|
186
|
+
!e || W === e || (W = e, U(), e.on("reInit", U), e.on("select", V), e.on("scroll", H), v(() => {
|
|
187
|
+
j = e.selectedScrollSnap(), M(), A.snap(j);
|
|
188
|
+
}));
|
|
189
|
+
}
|
|
190
|
+
return O(i, (e) => G(e), { immediate: !0 }), x(() => {
|
|
191
|
+
v(() => G(i.value)), L = s.value?.closest("[data-slot=\"carousel\"]") ?? null, document.addEventListener("pointerdown", R, !0), document.addEventListener("keydown", R, !0);
|
|
192
|
+
}), b(() => {
|
|
193
|
+
z &&= (clearTimeout(z), null), F &&= (clearTimeout(F), null), document.removeEventListener("pointerdown", R, !0), document.removeEventListener("keydown", R, !0), L = null;
|
|
194
|
+
let e = W;
|
|
195
|
+
e && (e.off("reInit", U), e.off("select", V), e.off("scroll", H), W = null);
|
|
196
|
+
}), (t, i) => (S(), p("div", {
|
|
197
|
+
ref_key: "rootEl",
|
|
198
|
+
ref: s,
|
|
199
|
+
class: "carousel-content-root"
|
|
200
|
+
}, [
|
|
201
|
+
i[0] ||= m("svg", {
|
|
202
|
+
class: "carousel-neck-defs",
|
|
203
|
+
width: "0",
|
|
204
|
+
height: "0",
|
|
205
|
+
"aria-hidden": "true",
|
|
206
|
+
focusable: "false"
|
|
207
|
+
}, [m("defs", null, [m("clipPath", {
|
|
208
|
+
id: "carousel-neck-throat",
|
|
209
|
+
clipPathUnits: "objectBoundingBox"
|
|
210
|
+
}, [m("path", { d: "M0,0 C0.25,0 0.36,0.34 0.5,0.34 C0.64,0.34 0.75,0 1,0 L1,1 C0.75,1 0.64,0.66 0.5,0.66 C0.36,0.66 0.25,1 0,1 Z" })])])], -1),
|
|
211
|
+
m("div", {
|
|
212
|
+
ref_key: "gooLayerEl",
|
|
213
|
+
ref: c,
|
|
214
|
+
class: y(["carousel-goo-layer", D(a) === "vertical" ? "carousel-goo-layer--vertical" : ""]),
|
|
215
|
+
"aria-hidden": "true"
|
|
216
|
+
}, [
|
|
217
|
+
m("span", {
|
|
218
|
+
ref_key: "bodyAEl",
|
|
219
|
+
ref: d,
|
|
220
|
+
class: "carousel-goo-body"
|
|
221
|
+
}, null, 512),
|
|
222
|
+
m("span", {
|
|
223
|
+
ref_key: "neckEl",
|
|
224
|
+
ref: h,
|
|
225
|
+
class: "carousel-goo-neck"
|
|
226
|
+
}, null, 512),
|
|
227
|
+
m("span", {
|
|
228
|
+
ref_key: "bodyBEl",
|
|
229
|
+
ref: f,
|
|
230
|
+
class: "carousel-goo-body"
|
|
231
|
+
}, null, 512)
|
|
232
|
+
], 2),
|
|
233
|
+
m("div", {
|
|
234
|
+
ref_key: "carouselRef",
|
|
235
|
+
ref: r,
|
|
236
|
+
"data-slot": "carousel-content",
|
|
237
|
+
class: "carousel-viewport overflow-hidden"
|
|
238
|
+
}, [m("div", _({ class: D(e)("carousel-track flex", D(a) === "horizontal" ? "-ml-4" : "-mt-4 flex-col", n.class) }, t.$attrs), [w(t.$slots, "default", {}, void 0, !0)], 16)], 512)
|
|
239
|
+
], 512));
|
|
111
240
|
}
|
|
112
|
-
}),
|
|
241
|
+
}), [["__scopeId", "data-v-6fa0b5cc"]]), L = /* @__PURE__ */ g({
|
|
113
242
|
__name: "CarouselItem",
|
|
114
243
|
props: { class: { type: [
|
|
115
244
|
Boolean,
|
|
@@ -119,15 +248,15 @@ var j = /* @__PURE__ */ m({
|
|
|
119
248
|
Array
|
|
120
249
|
] } },
|
|
121
250
|
setup(t) {
|
|
122
|
-
let n = t, { orientation: r } =
|
|
123
|
-
return (t, i) => (
|
|
251
|
+
let n = t, { orientation: r } = P();
|
|
252
|
+
return (t, i) => (S(), p("div", {
|
|
124
253
|
"data-slot": "carousel-item",
|
|
125
254
|
role: "group",
|
|
126
255
|
"aria-roledescription": "slide",
|
|
127
|
-
class:
|
|
128
|
-
}, [
|
|
256
|
+
class: y(D(e)("min-w-0 shrink-0 grow-0 basis-full", D(r) === "horizontal" ? "pl-4" : "pt-4", n.class))
|
|
257
|
+
}, [w(t.$slots, "default")], 2));
|
|
129
258
|
}
|
|
130
|
-
}),
|
|
259
|
+
}), R = /* @__PURE__ */ g({
|
|
131
260
|
__name: "CarouselNext",
|
|
132
261
|
props: {
|
|
133
262
|
variant: { default: "outline" },
|
|
@@ -141,16 +270,16 @@ var j = /* @__PURE__ */ m({
|
|
|
141
270
|
] }
|
|
142
271
|
},
|
|
143
272
|
setup(n) {
|
|
144
|
-
let r = n, { orientation: i, canScrollNext: a, scrollNext: o } =
|
|
145
|
-
return (c,
|
|
273
|
+
let r = n, { orientation: i, canScrollNext: a, scrollNext: o } = P();
|
|
274
|
+
return (c, l) => (S(), d(D(s), {
|
|
146
275
|
"data-slot": "carousel-next",
|
|
147
|
-
disabled: !
|
|
148
|
-
class:
|
|
276
|
+
disabled: !D(a),
|
|
277
|
+
class: y(D(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", D(i) === "horizontal" ? "top-1/2 -translate-y-1/2 right-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 bottom-[calc(-1*var(--carousel-nav-offset))]", r.class)),
|
|
149
278
|
variant: n.variant,
|
|
150
279
|
size: n.size,
|
|
151
|
-
onClick:
|
|
280
|
+
onClick: D(o)
|
|
152
281
|
}, {
|
|
153
|
-
default:
|
|
282
|
+
default: k(() => [w(c.$slots, "default", {}, () => [h(D(t)), l[0] ||= m("span", { class: "sr-only" }, "Next Slide", -1)])]),
|
|
154
283
|
_: 3
|
|
155
284
|
}, 8, [
|
|
156
285
|
"disabled",
|
|
@@ -160,11 +289,11 @@ var j = /* @__PURE__ */ m({
|
|
|
160
289
|
"onClick"
|
|
161
290
|
]));
|
|
162
291
|
}
|
|
163
|
-
}),
|
|
292
|
+
}), z = {
|
|
164
293
|
key: 0,
|
|
165
294
|
"data-slot": "carousel-pager-counter",
|
|
166
295
|
class: "glass-pager-ring text-mono-caption tabular-nums"
|
|
167
|
-
},
|
|
296
|
+
}, B = /* @__PURE__ */ g({
|
|
168
297
|
__name: "CarouselPager",
|
|
169
298
|
props: {
|
|
170
299
|
showCounter: {
|
|
@@ -180,44 +309,44 @@ var j = /* @__PURE__ */ m({
|
|
|
180
309
|
] }
|
|
181
310
|
},
|
|
182
311
|
setup(t) {
|
|
183
|
-
let i = t, { carouselApi:
|
|
184
|
-
function
|
|
185
|
-
let e =
|
|
186
|
-
e && (
|
|
312
|
+
let i = t, { carouselApi: c, canScrollNext: l, canScrollPrev: m, orientation: g, scrollNext: _, scrollPrev: v } = P(), b = C(0), w = C(0);
|
|
313
|
+
function A() {
|
|
314
|
+
let e = c.value;
|
|
315
|
+
e && (b.value = e.selectedScrollSnap(), w.value = e.scrollSnapList().length);
|
|
187
316
|
}
|
|
188
|
-
|
|
189
|
-
e && (
|
|
190
|
-
}, { immediate: !0 }),
|
|
191
|
-
let
|
|
192
|
-
return (n, r) => (
|
|
317
|
+
O(c, (e) => {
|
|
318
|
+
e && (A(), e.on("select", A), e.on("reInit", A));
|
|
319
|
+
}, { immediate: !0 }), x(A);
|
|
320
|
+
let j = u(() => g === "vertical" ? r : n), M = u(() => g === "vertical" ? a : o);
|
|
321
|
+
return (n, r) => (S(), p("div", {
|
|
193
322
|
"data-slot": "carousel-pager",
|
|
194
|
-
class:
|
|
323
|
+
class: y(D(e)("inline-flex items-center gap-2", D(g) === "vertical" && "flex-col", i.class))
|
|
195
324
|
}, [
|
|
196
|
-
|
|
325
|
+
h(D(s), {
|
|
197
326
|
variant: "ghost",
|
|
198
327
|
size: "icon",
|
|
199
|
-
disabled: !
|
|
200
|
-
"aria-label":
|
|
328
|
+
disabled: !D(m),
|
|
329
|
+
"aria-label": D(g) === "vertical" ? "Previous slide (up)" : "Previous slide",
|
|
201
330
|
"data-slot": "carousel-pager-prev",
|
|
202
|
-
onClick:
|
|
331
|
+
onClick: D(v)
|
|
203
332
|
}, {
|
|
204
|
-
default:
|
|
333
|
+
default: k(() => [(S(), d(T(j.value), { class: "size-4" }))]),
|
|
205
334
|
_: 1
|
|
206
335
|
}, 8, [
|
|
207
336
|
"disabled",
|
|
208
337
|
"aria-label",
|
|
209
338
|
"onClick"
|
|
210
339
|
]),
|
|
211
|
-
t.showCounter &&
|
|
212
|
-
|
|
340
|
+
t.showCounter && w.value > 0 ? (S(), p("span", z, E(b.value + 1) + " / " + E(w.value), 1)) : f("", !0),
|
|
341
|
+
h(D(s), {
|
|
213
342
|
variant: "ghost",
|
|
214
343
|
size: "icon",
|
|
215
|
-
disabled: !
|
|
216
|
-
"aria-label":
|
|
344
|
+
disabled: !D(l),
|
|
345
|
+
"aria-label": D(g) === "vertical" ? "Next slide (down)" : "Next slide",
|
|
217
346
|
"data-slot": "carousel-pager-next",
|
|
218
|
-
onClick:
|
|
347
|
+
onClick: D(_)
|
|
219
348
|
}, {
|
|
220
|
-
default:
|
|
349
|
+
default: k(() => [(S(), d(T(M.value), { class: "size-4" }))]),
|
|
221
350
|
_: 1
|
|
222
351
|
}, 8, [
|
|
223
352
|
"disabled",
|
|
@@ -226,7 +355,7 @@ var j = /* @__PURE__ */ m({
|
|
|
226
355
|
])
|
|
227
356
|
], 2));
|
|
228
357
|
}
|
|
229
|
-
}),
|
|
358
|
+
}), V = /* @__PURE__ */ g({
|
|
230
359
|
__name: "CarouselPrevious",
|
|
231
360
|
props: {
|
|
232
361
|
variant: { default: "outline" },
|
|
@@ -240,16 +369,16 @@ var j = /* @__PURE__ */ m({
|
|
|
240
369
|
] }
|
|
241
370
|
},
|
|
242
371
|
setup(t) {
|
|
243
|
-
let n = t, { orientation: r, canScrollPrev: a, scrollPrev: o } =
|
|
244
|
-
return (c,
|
|
372
|
+
let n = t, { orientation: r, canScrollPrev: a, scrollPrev: o } = P();
|
|
373
|
+
return (c, l) => (S(), d(D(s), {
|
|
245
374
|
"data-slot": "carousel-previous",
|
|
246
|
-
disabled: !
|
|
247
|
-
class:
|
|
375
|
+
disabled: !D(a),
|
|
376
|
+
class: y(D(e)("absolute h-(--carousel-nav-size) w-(--carousel-nav-size) rounded-pill", D(r) === "horizontal" ? "top-1/2 -translate-y-1/2 left-[calc(-1*var(--carousel-nav-offset))]" : "left-1/2 -translate-x-1/2 rotate-90 top-[calc(-1*var(--carousel-nav-offset))]", n.class)),
|
|
248
377
|
variant: t.variant,
|
|
249
378
|
size: t.size,
|
|
250
|
-
onClick:
|
|
379
|
+
onClick: D(o)
|
|
251
380
|
}, {
|
|
252
|
-
default:
|
|
381
|
+
default: k(() => [w(c.$slots, "default", {}, () => [h(D(i)), l[0] ||= m("span", { class: "sr-only" }, "Previous Slide", -1)])]),
|
|
253
382
|
_: 3
|
|
254
383
|
}, 8, [
|
|
255
384
|
"disabled",
|
|
@@ -259,11 +388,11 @@ var j = /* @__PURE__ */ m({
|
|
|
259
388
|
"onClick"
|
|
260
389
|
]));
|
|
261
390
|
}
|
|
262
|
-
}),
|
|
391
|
+
}), H = {
|
|
263
392
|
key: 0,
|
|
264
393
|
"data-slot": "glass-carousel-pager-counter",
|
|
265
394
|
class: "rounded-pill border border-border bg-card px-3 py-1 text-mono-caption tabular-nums shadow-cartoon-sm"
|
|
266
|
-
},
|
|
395
|
+
}, U = /* @__PURE__ */ g({
|
|
267
396
|
__name: "GlassCarouselPager",
|
|
268
397
|
props: {
|
|
269
398
|
index: {},
|
|
@@ -291,44 +420,44 @@ var j = /* @__PURE__ */ m({
|
|
|
291
420
|
"select"
|
|
292
421
|
],
|
|
293
422
|
setup(t, { emit: i }) {
|
|
294
|
-
let
|
|
295
|
-
function
|
|
296
|
-
|
|
423
|
+
let c = t, l = i, m = u(() => c.loop ? c.total > 1 : c.index > 0), g = u(() => c.loop ? c.total > 1 : c.index < c.total - 1);
|
|
424
|
+
function _() {
|
|
425
|
+
m.value && (c.loop ? l("select", (c.index - 1 + c.total) % c.total) : (l("prev"), l("select", Math.max(0, c.index - 1))));
|
|
297
426
|
}
|
|
298
|
-
function
|
|
299
|
-
|
|
427
|
+
function v() {
|
|
428
|
+
g.value && (c.loop ? l("select", (c.index + 1) % c.total) : (l("next"), l("select", Math.min(c.total - 1, c.index + 1))));
|
|
300
429
|
}
|
|
301
|
-
let
|
|
302
|
-
return (n, r) => (
|
|
430
|
+
let b = u(() => c.orientation === "vertical" ? r : n), x = u(() => c.orientation === "vertical" ? a : o);
|
|
431
|
+
return (n, r) => (S(), p("div", {
|
|
303
432
|
"data-slot": "glass-carousel-pager",
|
|
304
|
-
class:
|
|
433
|
+
class: y(D(e)("inline-flex items-center gap-2", t.orientation === "vertical" && "flex-col", "max-md:flex-wrap max-md:justify-center max-md:gap-2", c.class))
|
|
305
434
|
}, [
|
|
306
|
-
|
|
435
|
+
h(D(s), {
|
|
307
436
|
variant: "outline",
|
|
308
437
|
size: "icon",
|
|
309
|
-
disabled: !
|
|
438
|
+
disabled: !m.value,
|
|
310
439
|
"aria-label": t.orientation === "vertical" ? "Previous slide (up)" : "Previous slide",
|
|
311
440
|
"data-slot": "glass-carousel-pager-prev",
|
|
312
|
-
onClick:
|
|
441
|
+
onClick: _
|
|
313
442
|
}, {
|
|
314
|
-
default:
|
|
443
|
+
default: k(() => [(S(), d(T(b.value), { class: "size-4" }))]),
|
|
315
444
|
_: 1
|
|
316
445
|
}, 8, ["disabled", "aria-label"]),
|
|
317
|
-
t.showCounter && t.total > 0 ? (
|
|
318
|
-
|
|
446
|
+
t.showCounter && t.total > 0 ? (S(), p("span", H, E(t.index + 1) + " / " + E(t.total), 1)) : f("", !0),
|
|
447
|
+
h(D(s), {
|
|
319
448
|
variant: "outline",
|
|
320
449
|
size: "icon",
|
|
321
|
-
disabled: !
|
|
450
|
+
disabled: !g.value,
|
|
322
451
|
"aria-label": t.orientation === "vertical" ? "Next slide (down)" : "Next slide",
|
|
323
452
|
"data-slot": "glass-carousel-pager-next",
|
|
324
|
-
onClick:
|
|
453
|
+
onClick: v
|
|
325
454
|
}, {
|
|
326
|
-
default:
|
|
455
|
+
default: k(() => [(S(), d(T(x.value), { class: "size-4" }))]),
|
|
327
456
|
_: 1
|
|
328
457
|
}, 8, ["disabled", "aria-label"]),
|
|
329
|
-
|
|
458
|
+
w(n.$slots, "trailing")
|
|
330
459
|
], 2));
|
|
331
460
|
}
|
|
332
461
|
});
|
|
333
462
|
//#endregion
|
|
334
|
-
export {
|
|
463
|
+
export { F as Carousel, I as CarouselContent, L as CarouselItem, R as CarouselNext, B as CarouselPager, V as CarouselPrevious, U as GlassCarouselPager, P as useCarousel };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { cva as e } from "class-variance-authority";
|
|
2
|
+
//#region src/components/custom/selectable-chip/chipVariants.ts
|
|
3
|
+
var t = e([
|
|
4
|
+
"glass-chip glass-capsule glass-capsule-hover accent-tone",
|
|
5
|
+
"focus-ring select-none cursor-pointer outline-none font-sans",
|
|
6
|
+
"text-muted-foreground",
|
|
7
|
+
"disabled:opacity-disabled disabled:pointer-events-none disabled:cursor-not-allowed"
|
|
8
|
+
].join(" "), {
|
|
9
|
+
variants: { size: {
|
|
10
|
+
sm: "inline-flex items-center justify-center gap-1 px-2.5 py-1 text-caption",
|
|
11
|
+
md: "inline-flex items-center justify-center gap-1.5 px-3.5 py-1.5 text-small",
|
|
12
|
+
lg: "inline-flex items-center justify-center gap-2 px-5 py-2 text-base",
|
|
13
|
+
cell: "glass-chip--cell flex flex-col items-center justify-center gap-1.5 px-2 py-2.5 text-micro"
|
|
14
|
+
} },
|
|
15
|
+
defaultVariants: { size: "md" }
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { t };
|
package/dist/collapsible.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "./CollapsibleContent-
|
|
1
|
+
import { n as e, r as t, t as n } from "./CollapsibleContent-D7UNsXQr.js";
|
|
2
2
|
export { t as Collapsible, n as CollapsibleContent, e as CollapsibleTrigger };
|
package/dist/color.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./color-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "./color-B9jZdhJX.js";
|
|
2
2
|
export { c as cssToOklch, i as defaultBlobColorResolver, o as deriveBlobPalette, n as deriveHue, e as gamutMapStop, a as oklchStopToHex, s as oklchToGammaRgb, t as oklchToLinear, l as useAccentTone, r as warmCatchLight };
|
package/dist/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./CommandShortcut-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./CommandShortcut-By-VQcLO.js";
|
|
2
2
|
export { r as Command, t as CommandDialog, s as CommandEmpty, a as CommandGroup, e as CommandInput, n as CommandItem, o as CommandList, i as CommandSeparator, c as CommandShortcut };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* shader-uniform boundary: a NEW uniform name must be added here, and the cache is
|
|
10
10
|
* keyed off it, so a fresh uniform always gets a location slot.
|
|
11
11
|
*/
|
|
12
|
-
export declare const UNIFORM_NAMES: readonly ["uTime", "uPalette", "uStopCount", "uNucleiCount", "uNucleiPos", "uNucleiRadius", "uNucleiPaletteBias", "uNucleiValueBias", "uNucleiDriftRadius", "uNucleiDriftPhase", "uNucleiElong", "uNucleiAngle", "uSoftmaxBeta", "uValueVariance", "uWarpAmount", "uWarpScale", "uWarpDrift", "uWarpMode", "uNoiseOctaves", "uMedium", "uHuePath", "uFlowPattern", "uFlowFocal", "uFlowAngle", "uFlowCurl", "uCursor", "uCursorStrength", "uCursorRadius", "uCursorVelocity", "uCursorBurst", "uStrokeAmount", "uStrokeScale", "uStrokeAnisotropy", "uStrokeLayers", "uStrokeMode", "uStrokeOrient", "uLightDir", "uLightColor", "uWetEdge", "uGranulation", "uImpasto", "uBrokenColor", "uCanvasGrain", "uNucleiDrift", "uPaletteDrift", "uBreathDepth", "uBreathPeriod", "uSaturation", "uPaperGrain", "uAlpha"];
|
|
12
|
+
export declare const UNIFORM_NAMES: readonly ["uTime", "uPalette", "uStopCount", "uNucleiCount", "uNucleiPos", "uNucleiRadius", "uNucleiPaletteBias", "uNucleiValueBias", "uNucleiDriftRadius", "uNucleiDriftPhase", "uNucleiElong", "uNucleiAngle", "uSoftmaxBeta", "uValueVariance", "uWarpAmount", "uWarpScale", "uWarpDrift", "uWarpMode", "uNoiseOctaves", "uMedium", "uHuePath", "uFlowPattern", "uFlowFocal", "uFlowAngle", "uFlowCurl", "uCursor", "uCursorStrength", "uCursorRadius", "uCursorVelocity", "uCursorBurst", "uStrokeAmount", "uStrokeScale", "uStrokeAnisotropy", "uStrokeLayers", "uStrokeMode", "uStrokeOrient", "uLightDir", "uLightColor", "uWetEdge", "uGranulation", "uImpasto", "uBrokenColor", "uCanvasGrain", "uNucleiDrift", "uPaletteDrift", "uBreathDepth", "uBreathPeriod", "uSaturation", "uPaperGrain", "uAlpha", "uVividness"];
|
|
13
13
|
export type UniformName = (typeof UNIFORM_NAMES)[number];
|
|
14
14
|
export type UniformLocations = Record<UniformName, WebGLUniformLocation | null>;
|
|
15
15
|
export interface GlProgram {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* scalars0 : vec4<f32> off 0 (uTime, uSoftmaxBeta, uValueVariance, uWarpAmount)
|
|
14
14
|
* scalars1 : vec4<f32> off 16 (uWarpScale, uWarpDrift, uSaturation, uPaperGrain)
|
|
15
15
|
* scalars2 : vec4<f32> off 32 (uAlpha, uNucleiDrift, uPaletteDrift, uBreathDepth)
|
|
16
|
-
* scalars3 : vec4<f32> off 48 (uBreathPeriod, uCursorStrength, uCursorRadius,
|
|
16
|
+
* scalars3 : vec4<f32> off 48 (uBreathPeriod, uCursorStrength, uCursorRadius, uVividness)
|
|
17
17
|
* cursor : vec4<f32> off 64 (uCursor.x, uCursor.y, _, _)
|
|
18
18
|
* ints0 : vec4<i32> off 80 (uStopCount, uNucleiCount, uWarpMode, uNoiseOctaves)
|
|
19
19
|
* ints1 : vec4<i32> off 96 (uMedium, uHuePath, _, _)
|
|
@@ -149,6 +149,20 @@ export interface AuroraConfig {
|
|
|
149
149
|
saturation: number;
|
|
150
150
|
paperGrain: number;
|
|
151
151
|
alpha: number;
|
|
152
|
+
/**
|
|
153
|
+
* BD.W-AUR-VIVIDNESS — the §3 chroma FLOOR (the warm-field vividness contract).
|
|
154
|
+
* Optional; omitted = `DEFAULT_VIVIDNESS` (1 — high, the library's vivid identity).
|
|
155
|
+
* A shader-resident OKLab chroma-floor lifts any pale zone toward `VIVID_TARGET`
|
|
156
|
+
* (mode-scaled in the shader) so the field never resolves toward gray BEHIND glass
|
|
157
|
+
* — the literal fix for the "missing colorful field → gray glass" defect. The lift
|
|
158
|
+
* is HUE-PRESERVING (scales chroma along the zone's existing OKLab direction); below
|
|
159
|
+
* `VIVID_EPS` the hue is precision noise, so the floor synthesizes along the WARM
|
|
160
|
+
* anchor (`VIVID_WARM_ANCHOR`) — NEVER teal/navy, the warm-floor guarantee. A
|
|
161
|
+
* deliberately-pale hero surface opts OUT with `vividness: 0` (the new lanes write 0,
|
|
162
|
+
* so a `vividness:0` config is byte-identical to the pre-floor render — the gated
|
|
163
|
+
* identity move). Range 0..1.
|
|
164
|
+
*/
|
|
165
|
+
vividness?: number;
|
|
152
166
|
/**
|
|
153
167
|
* AW.W6/W8 — the pointer/scroll interactivity opt-in (default OFF — the wispy-sky
|
|
154
168
|
* default stays static). W6 declares the SHAPE; W8 wires the cursor-as-light /
|
|
@@ -194,6 +208,21 @@ export interface AuroraInstance extends AuroraCursorApi {
|
|
|
194
208
|
}
|
|
195
209
|
export declare const MAX_NUCLEI = 6;
|
|
196
210
|
export declare const MAX_STOPS = 8;
|
|
211
|
+
/**
|
|
212
|
+
* The default `vividness` for a bare `<Aurora>` — HIGH (the library's vivid identity).
|
|
213
|
+
* This INVERTS the pre-floor status quo: vivid is the default, pale is the explicit
|
|
214
|
+
* `vividness: 0` opt-out. The literal §3 fix — a warm glass plate over the default field
|
|
215
|
+
* now reads transmissive-not-gray because the field carries chroma.
|
|
216
|
+
*/
|
|
217
|
+
export declare const DEFAULT_VIVIDNESS = 1;
|
|
218
|
+
/**
|
|
219
|
+
* The per-fragment OKLab chroma the floor lifts a pale zone TOWARD at `vividness:1`
|
|
220
|
+
* (the shader scales this by a mode factor — a dim/dark field needs more chroma to read
|
|
221
|
+
* vivid through glass). Tuned so the lifted DEFAULT field clears the §3 transmissive
|
|
222
|
+
* floor (mean OKLab chroma ≥ 0.045) with headroom; a vivid zone above this is untouched.
|
|
223
|
+
* Mirrored as `VIVID_TARGET` in the GLSL + WGSL twins.
|
|
224
|
+
*/
|
|
225
|
+
export declare const VIVID_TARGET = 0.115;
|
|
197
226
|
/**
|
|
198
227
|
* A neutral starting point for consumers that build their own config from scratch.
|
|
199
228
|
* Not a themed preset — the demo's 11 authored presets override every field.
|