@mkbabb/glass-ui 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardAction-CW7a0m8M.js → CardAction-8whJrLWt.js} +23 -8
- package/dist/{CommandShortcut-DvZNQ_HF.js → CommandShortcut-D3yxgHNn.js} +23 -12
- package/dist/{ConfiguratorRow-BR4l-ixA.js → ConfiguratorRow-CaP7U3ZA.js} +11 -11
- package/dist/ContextMenuContent-B3ZsheLV.js +90 -0
- package/dist/{ContextMenuSubContent-xol4sD2q.js → ContextMenuSubContent-DDRID3qC.js} +15 -15
- package/dist/{DataTable-CuKwF7wr.js → DataTable-Bc9kUtu_.js} +2 -2
- package/dist/{DialogContent-DcKK8k9i.js → DialogContent-6JtTB5x2.js} +8 -5
- package/dist/DialogFooter-9phqcRIS.js +80 -0
- package/dist/DialogScrollContent-TTuovQst.js +93 -0
- package/dist/HoverCardContent-Bel1gdLZ.js +88 -0
- package/dist/{IconChip-BTD-nay5.js → IconChip-DhbdGdFQ.js} +1 -1
- package/dist/{IconTooltip-Bl8gFZ8d.js → IconTooltip-B0zimd2H.js} +1 -1
- package/dist/Input-Cg9DF62r.js +57 -0
- package/dist/{Notification-VUwexFUf.js → Notification-CphK7AAm.js} +3 -3
- package/dist/NumberFieldContent-D8cXeyO4.js +140 -0
- package/dist/PagerDots-Cjx96la-.js +98 -0
- package/dist/{SelectScrollDownButton-CrA8F0iV.js → SelectScrollDownButton-DAKCBEdW.js} +62 -57
- package/dist/{SelectSeparator-DXswVdRz.js → SelectSeparator-C2UGOkXF.js} +1 -1
- package/dist/Separator-DQcwC2TR.js +44 -0
- package/dist/Switch-B8RscmRu.js +49 -0
- package/dist/{Toaster-Bw4xR8xV.js → Toaster-D9qIHjBI.js} +1 -1
- package/dist/{ToggleGroupItem-pEM9vIhs.js → ToggleGroupItem-BLtr3TJq.js} +2 -2
- package/dist/TooltipProvider-BJ_Y5EGX.js +109 -0
- package/dist/animated-digit.js +1 -1
- package/dist/api/index.d.ts +15 -32
- package/dist/api/types-extra.d.ts +31 -0
- package/dist/api.js +1 -1
- package/dist/aurora.js +579 -251
- package/dist/border-progress.js +49 -57
- package/dist/{button-DYCUa-tH.js → button-5dY1Dvhd.js} +13 -14
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -3
- package/dist/card.js +1 -1
- package/dist/carousel.js +20 -20
- package/dist/color-Cs0-oxYL.js +116 -0
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/completion-seal.d.ts +1 -0
- package/dist/completion-seal.js +89 -0
- package/dist/components/custom/aurora/Aurora.vue.d.ts +10 -5
- package/dist/components/custom/aurora/composables/color.d.ts +13 -0
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +9 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +12 -0
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +11 -2
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +18 -0
- package/dist/components/custom/aurora/constants/renderMode.d.ts +16 -8
- package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +25 -0
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +14 -18
- package/dist/components/custom/border-progress/index.d.ts +1 -1
- package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +21 -0
- package/dist/components/custom/completion-seal/composables/useCompletionSeal.d.ts +37 -0
- package/dist/components/custom/completion-seal/constants.d.ts +46 -0
- package/dist/components/custom/completion-seal/index.d.ts +4 -0
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +7 -0
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +9 -0
- package/dist/components/custom/concentric/composables/ringField.d.ts +57 -16
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +2 -1
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +4 -4
- package/dist/components/custom/concentric/constants.d.ts +30 -6
- 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/confirm-dialog/ConfirmDialog.vue.d.ts +3 -3
- package/dist/components/custom/constellation/Constellation.vue.d.ts +5 -4
- package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +10 -0
- package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +19 -0
- package/dist/components/custom/constellation/composables/uniformBridgeWGPU.d.ts +66 -0
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +3 -10
- package/dist/components/custom/constellation/constants.d.ts +33 -0
- package/dist/components/custom/constellation/constellationField.d.ts +31 -1
- package/dist/components/custom/constellation/constellationInteraction.d.ts +23 -14
- package/dist/components/custom/constellation/constellationRender.d.ts +25 -0
- package/dist/components/custom/constellation/constellationTypes.d.ts +38 -0
- package/dist/components/custom/constellation/constellationWell.d.ts +15 -0
- package/dist/components/custom/constellation/index.d.ts +5 -5
- package/dist/components/custom/constellation/shaders/constellation-lines.glsl.d.ts +2 -0
- package/dist/components/custom/constellation/shaders/constellation-lines.wgsl.d.ts +1 -0
- package/dist/components/custom/constellation/shaders/constellation-points.glsl.d.ts +2 -0
- package/dist/components/custom/constellation/shaders/constellation-points.wgsl.d.ts +1 -0
- package/dist/components/custom/deck/DeckPager.vue.d.ts +29 -0
- package/dist/components/custom/deck/composables/useDeck.d.ts +27 -0
- package/dist/components/custom/deck/composables/useDeckKeyboard.d.ts +25 -0
- package/dist/components/custom/deck/composables/useDeckSpring.d.ts +22 -0
- package/dist/components/custom/deck/constants.d.ts +14 -0
- package/dist/components/custom/deck/index.d.ts +8 -0
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +12 -0
- package/dist/components/custom/dock/DockStack.vue.d.ts +65 -0
- package/dist/components/custom/dock/GlassDock.vue.d.ts +4 -2
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +80 -0
- package/dist/components/custom/dock/composables/index.d.ts +2 -0
- package/dist/components/custom/dock/composables/useDockSearch.d.ts +85 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +11 -0
- package/dist/components/custom/dock/constants.d.ts +18 -14
- package/dist/components/custom/dock/index.d.ts +5 -2
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +15 -11
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +48 -6
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +23 -8
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +6 -5
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -5
- package/dist/components/custom/dot-flow-field/constants.d.ts +42 -21
- package/dist/components/custom/dot-flow-field/index.d.ts +2 -2
- 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 +4 -20
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -1
- package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +43 -0
- package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +89 -0
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +52 -0
- package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +34 -0
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +27 -0
- package/dist/components/custom/dot-matrix/constants.d.ts +58 -0
- package/dist/components/custom/dot-matrix/index.d.ts +5 -0
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +4 -0
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -0
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +2 -2
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +5 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +11 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +40 -47
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +15 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +20 -0
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +40 -37
- package/dist/components/custom/fourier-field/constants.d.ts +61 -4
- package/dist/components/custom/fourier-field/index.d.ts +23 -18
- package/dist/components/custom/fourier-field/shaders/fourier-field.compute.wgsl.d.ts +1 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +9 -1
- package/dist/components/custom/goo-blob/constants.d.ts +1 -1
- package/dist/components/custom/goo-blob/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/metaball-noise.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/metaball-palette.wgsl.d.ts +1 -0
- 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 +36 -0
- package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +49 -0
- package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +24 -0
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +50 -0
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +35 -0
- package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +31 -0
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +76 -0
- package/dist/components/custom/goo-dot-matrix/index.d.ts +5 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +11 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +3 -0
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +21 -2
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +15 -0
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +9 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/pager-dots/pagerWindow.d.ts +9 -0
- package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +42 -0
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +90 -0
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +16 -0
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +19 -0
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +16 -0
- package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +31 -0
- package/dist/components/custom/paper-grid/constants.d.ts +57 -0
- package/dist/components/custom/paper-grid/index.d.ts +5 -0
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +4 -0
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -0
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +8 -2
- package/dist/components/custom/search/SearchBar.vue.d.ts +8 -0
- package/dist/components/custom/search/index.d.ts +2 -0
- package/dist/components/custom/search/searchVariants.d.ts +19 -0
- package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +50 -0
- package/dist/components/custom/selectable-chip/index.d.ts +2 -0
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +23 -0
- package/dist/components/custom/split-chars/SplitChars.vue.d.ts +39 -0
- package/dist/components/custom/split-chars/index.d.ts +1 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +8 -6
- package/dist/components/custom/tabs/constants.d.ts +20 -2
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +29 -16
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +10 -5
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/useControlSize.d.ts +46 -0
- package/dist/components/ui/button/index.d.ts +1 -1
- package/dist/components/ui/card/Card.vue.d.ts +45 -0
- package/dist/components/ui/card/index.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/components/ui/command/CommandDialog.vue.d.ts +9 -3
- package/dist/components/ui/command/CommandList.vue.d.ts +3 -0
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +5 -1
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +4 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +3 -0
- package/dist/components/ui/input/Input.vue.d.ts +3 -0
- package/dist/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -1
- package/dist/components/ui/select/SelectContent.vue.d.ts +3 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +2 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +3 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +3 -0
- package/dist/composables/color/index.d.ts +2 -0
- package/dist/composables/color/useAccentTone.d.ts +34 -0
- package/dist/composables/glass/useVizChoreography.d.ts +123 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +10 -0
- package/dist/composables/glass/webgl/shaders/flow.wgsl.d.ts +1 -0
- package/dist/composables/glass/webgpu/index.d.ts +1 -1
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +28 -7
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +1 -0
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +42 -0
- package/dist/composables/motion/core/index.d.ts +3 -0
- package/dist/composables/motion/scrollReader.d.ts +25 -0
- package/dist/composables/motion/springPresets.d.ts +20 -1
- package/dist/composables/motion/useCharStagger.d.ts +44 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +31 -6
- package/dist/composables/motion/useScrollChrome.d.ts +58 -0
- package/dist/composables/motion/useScrollTrigger.d.ts +67 -0
- package/dist/composables/motion/useSpringPress.d.ts +5 -5
- package/dist/composables/motion/useStaggerReveal.d.ts +24 -0
- package/dist/composables/sidebar/index.d.ts +4 -1
- package/dist/composables/sidebar/types.d.ts +68 -3
- package/dist/composables/sidebar/useClickDelegate.d.ts +4 -0
- package/dist/composables/sidebar/useLazyLoader.d.ts +5 -0
- package/dist/composables/sidebar/useScrollTo.d.ts +5 -0
- package/dist/composables/virtual/index.d.ts +4 -0
- package/dist/composables/virtual/useVirtualSectionWindow.d.ts +72 -0
- package/dist/composables/virtual/useWindowedStore.d.ts +43 -0
- package/dist/composables/virtual/virtualSectionLayout.d.ts +103 -0
- package/dist/concentric.js +495 -221
- package/dist/configurator.js +2 -2
- package/dist/confirm-dialog.js +62 -47
- package/dist/constellation.js +635 -235
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +1 -1
- package/dist/createCanvasLifecycle-Gh45Ce-p.js +93 -0
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck.d.ts +1 -0
- package/dist/deck.js +105 -0
- package/dist/dialog.js +4 -3
- package/dist/dock.js +602 -458
- package/dist/dot-flow-field.js +580 -290
- package/dist/dot-matrix.d.ts +1 -0
- package/dist/dot-matrix.js +630 -0
- package/dist/dotMatrixField-D_x9_1qq.js +48 -0
- package/dist/{dropdown-menu-CofSZuk8.js → dropdown-menu-aJmV5SqE.js} +83 -79
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.js +188 -176
- package/dist/expandable-container.js +42 -20
- package/dist/fading-scroll.js +1 -1
- package/dist/flow.glsl-B2P7e0MT.js +4 -0
- package/dist/forms.js +62 -60
- package/dist/fourier-field.js +825 -178
- package/dist/fourier-math.js +1 -1
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +145 -104
- package/dist/goo-blob.js +171 -1228
- package/dist/goo-dot-matrix.d.ts +1 -0
- package/dist/goo-dot-matrix.js +591 -0
- package/dist/handmark.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 +2 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/labeled-field.js +70 -60
- package/dist/metric-cell.js +1 -1
- package/dist/metric-stack.js +11 -2
- package/dist/motion-core.js +54 -32
- package/dist/motion-curves.js +11 -1
- package/dist/motion.js +46 -111
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +2 -91
- package/dist/paper-backdrop.js +1 -1
- package/dist/paper-grid.d.ts +1 -0
- package/dist/paper-grid.js +788 -0
- package/dist/{presets-BW2b-fr1.js → presets-CvOUqtdY.js} +3 -3
- package/dist/{procedural-color.glsl-CIFsJhwI.js → procedural-color.wgsl-m7Zgv35j.js} +2 -2
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +1 -1
- package/dist/{useCanvas2D-B8w_E3Rr.js → resolveCanvasColor-yPyIpJt9.js} +12 -2
- package/dist/scrollReader-DI1NWxUw.js +42 -0
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +160 -304
- package/dist/select.js +3 -3
- package/dist/selectable-chip.d.ts +1 -0
- package/dist/selectable-chip.js +65 -0
- package/dist/separator.js +1 -1
- package/dist/{sheet-tZMg0E0w.js → sheet-B2flBfLH.js} +2 -2
- package/dist/sheet.js +1 -1
- package/dist/sidebar.js +216 -114
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +1 -1
- package/dist/spectrum-walk-BVzA7Biz.js +33 -0
- package/dist/{springPresets-CFQGQfdl.js → springPresets-Ce7OYCm9.js} +12 -6
- package/dist/styles/animations.css +13 -3
- package/dist/styles/cards.css +69 -0
- package/dist/styles/completion-seal.css +131 -0
- package/dist/styles/components.css +2 -3
- package/dist/styles/configurator.css +55 -0
- package/dist/styles/critical-partition.mjs +33 -11
- package/dist/styles/deferred.css +2 -0
- package/dist/styles/dock/cta-seat.css +87 -0
- package/dist/styles/dock/density.css +153 -0
- package/dist/styles/dock/layers.css +55 -7
- package/dist/styles/dock/morph-bridge.css +54 -18
- package/dist/styles/dock/morph.css +41 -33
- package/dist/styles/dock/overflow.css +12 -0
- package/dist/styles/dock/search.css +68 -0
- package/dist/styles/dock/shape.css +124 -0
- package/dist/styles/dock/shell.css +23 -5
- package/dist/styles/dock/stack-rail.css +264 -0
- package/dist/styles/dock-controls/dark-mode-toggle.css +17 -4
- package/dist/styles/dock-controls/icon-button.css +14 -0
- package/dist/styles/dock.css +11 -1
- package/dist/styles/glass/accent-tone.css +66 -0
- package/dist/styles/glass/control-surfaces.css +167 -0
- package/dist/styles/glass/ladder.css +67 -17
- package/dist/styles/glass/rim.css +19 -9
- package/dist/styles/glass/surfaces.css +69 -148
- package/dist/styles/glass.css +10 -0
- package/dist/styles/index.css +15 -0
- package/dist/styles/scroll-chrome.css +123 -0
- package/dist/styles/scroll-driven.css +38 -0
- package/dist/styles/segmented-tabs.css +50 -14
- package/dist/styles/theme/bridges.css +22 -0
- package/dist/styles/theme/radius.css +18 -1
- package/dist/styles/tokens/color-radius.css +13 -3
- package/dist/styles/tokens/dark-arm.css +39 -6
- package/dist/styles/tokens/glass-deep.css +28 -3
- package/dist/styles/tokens/glass-fx.css +44 -1
- package/dist/styles/tokens/glass.css +91 -31
- package/dist/styles/tokens/light-dark.css +1 -1
- package/dist/styles/tokens/offsets.css +27 -0
- package/dist/styles/tokens/property-regs.css +133 -0
- package/dist/styles/tokens/scale-paper.css +73 -29
- package/dist/styles/tokens/scheme-motion.css +44 -6
- package/dist/styles/tokens/sizing-config.css +110 -0
- package/dist/styles/tokens/sizing.css +55 -104
- package/dist/styles/tokens.css +5 -0
- package/dist/styles/typography/semantic.css +18 -5
- package/dist/styles/utilities/a11y-overrides.css +20 -5
- package/dist/styles/utilities/base-misc.css +52 -0
- package/dist/styles/utilities/btn.css +14 -3
- package/dist/styles/utilities/components.css +31 -6
- package/dist/styles/utilities/metal.css +26 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +8 -8
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +10 -10
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/uniformBridgeWGPU-CtAKl45L.js +1204 -0
- package/dist/{useAnimatedNumber-BfUq2bUM.js → useAnimatedNumber-CLrxicG9.js} +1 -1
- package/dist/{useConfiguratorState-DNlOh6c8.js → useConfiguratorState-4xblKfwd.js} +25 -24
- package/dist/useControlSize-SH1UmJCi.js +9 -0
- package/dist/useDockCtaReceive-DfFkmgL1.js +82 -0
- package/dist/{useDragMorph-DgxnsVJz.js → useDragMorph-BUgAC-zK.js} +4 -4
- package/dist/useFuzzySearch-DIhcYtcw.js +177 -0
- package/dist/useGpuSubstrate-4pTcp6mX.js +294 -0
- package/dist/{useLiquidPress-kfb4KX79.js → useLiquidPress-BooG97RY.js} +2 -2
- package/dist/usePointerVelocityField-QLsy3_kv.js +91 -0
- package/dist/useScrollChrome-D66AVP7C.js +258 -0
- package/dist/{useSpringMount-q1amq1SJ.js → useSpringMount-BWDnKIwh.js} +1 -1
- package/dist/useSpringPress-B1-Czp-V.js +36 -0
- package/dist/useViewTransition-CUI1nAgn.js +95 -0
- package/dist/{vendor-CKmzio-i.js → vendor-B2qOlYY3.js} +24 -11
- package/dist/virtual.d.ts +1 -0
- package/dist/virtual.js +225 -0
- package/dist/watercolor-dot.js +116 -73
- package/package.json +127 -7
- package/src/styles/animations.css +13 -3
- package/src/styles/cards.css +69 -0
- package/src/styles/completion-seal.css +131 -0
- package/src/styles/configurator.css +55 -0
- package/src/styles/critical-partition.mjs +33 -11
- package/src/styles/dock/cta-seat.css +87 -0
- package/src/styles/dock/density.css +153 -0
- package/src/styles/dock/layers.css +55 -7
- package/src/styles/dock/morph-bridge.css +54 -18
- package/src/styles/dock/morph.css +41 -33
- package/src/styles/dock/overflow.css +12 -0
- package/src/styles/dock/search.css +68 -0
- package/src/styles/dock/shape.css +124 -0
- package/src/styles/dock/shell.css +23 -5
- package/src/styles/dock/stack-rail.css +264 -0
- package/src/styles/dock-controls/dark-mode-toggle.css +17 -4
- package/src/styles/dock-controls/icon-button.css +14 -0
- package/src/styles/dock.css +11 -1
- package/src/styles/glass/accent-tone.css +66 -0
- package/src/styles/glass/control-surfaces.css +167 -0
- package/src/styles/glass/ladder.css +67 -17
- package/src/styles/glass/rim.css +19 -9
- package/src/styles/glass/surfaces.css +69 -148
- package/src/styles/glass.css +10 -0
- package/src/styles/index.css +15 -0
- package/src/styles/scroll-chrome.css +123 -0
- package/src/styles/scroll-driven.css +38 -0
- package/src/styles/segmented-tabs.css +50 -14
- package/src/styles/theme/bridges.css +22 -0
- package/src/styles/theme/radius.css +18 -1
- package/src/styles/tokens/color-radius.css +13 -3
- package/src/styles/tokens/dark-arm.css +39 -6
- package/src/styles/tokens/glass-deep.css +28 -3
- package/src/styles/tokens/glass-fx.css +44 -1
- package/src/styles/tokens/glass.css +91 -31
- package/src/styles/tokens/light-dark.css +1 -1
- package/src/styles/tokens/offsets.css +27 -0
- package/src/styles/tokens/property-regs.css +133 -0
- package/src/styles/tokens/scale-paper.css +73 -29
- package/src/styles/tokens/scheme-motion.css +44 -6
- package/src/styles/tokens/sizing-config.css +110 -0
- package/src/styles/tokens/sizing.css +55 -104
- package/src/styles/tokens.css +5 -0
- package/src/styles/typography/semantic.css +18 -5
- package/src/styles/utilities/a11y-overrides.css +20 -5
- package/src/styles/utilities/base-misc.css +52 -0
- package/src/styles/utilities/btn.css +14 -3
- package/src/styles/utilities/components.css +31 -6
- package/src/styles/utilities/metal.css +26 -0
- package/dist/ContextMenuContent-uWnVxDab.js +0 -85
- package/dist/DialogFooter-BZNX5aVr.js +0 -165
- package/dist/HoverCardContent-b2uaAMRR.js +0 -83
- package/dist/Input-h9v5LeXf.js +0 -55
- package/dist/NumberFieldContent-Cq7EzX-U.js +0 -138
- package/dist/Separator-pKF0oA4M.js +0 -37
- package/dist/Switch-CwYNf8bo.js +0 -47
- package/dist/TooltipProvider-rzvnXz60.js +0 -104
- package/dist/color-DweYl7pE.js +0 -86
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +0 -35
- package/dist/components/custom/constellation/constellationDraw.d.ts +0 -30
- package/dist/components/custom/dock/DockRail.vue.d.ts +0 -89
- package/dist/createCanvasLifecycle-CHD5XrDW.js +0 -82
- package/dist/procedural-color.wgsl-CToRHugY.js +0 -224
- package/dist/resolveCanvasColor-CUyHr5Uu.js +0 -11
- package/dist/styles/dock/rail-extend.css +0 -397
- package/dist/usePointerVelocityField-JbRd5CrM.js +0 -137
- package/dist/useRAFLoop-UYa4zoiN.js +0 -109
- package/dist/useSpringPress-BsqPr7FJ.js +0 -34
- package/src/styles/dock/rail-extend.css +0 -397
- /package/dist/{FadingScroll-DI6hQhT9.js → FadingScroll-DLRbH5Xr.js} +0 -0
- /package/dist/{HoverPopover-CbqbNwgU.js → HoverPopover-BcIxvyqZ.js} +0 -0
- /package/dist/{InstrumentChassis-Bx0F_q5g.js → InstrumentChassis-CxsHSyMj.js} +0 -0
- /package/dist/{PaperBackdrop-Vf3tlpvd.js → PaperBackdrop-CqwjnfLv.js} +0 -0
- /package/dist/{Progress-DctG61iZ.js → Progress-CnqB7gLm.js} +0 -0
- /package/dist/{ScrollingText-yOpBzFYq.js → ScrollingText-CTZbA_cG.js} +0 -0
- /package/dist/{SelectGroup-DwwjicPY.js → SelectGroup-BFiod7X2.js} +0 -0
- /package/dist/{compile-CQEFRTmx.js → compile-nZ1xVYTp.js} +0 -0
- /package/dist/{constants-BPOqYJAm.js → constants--C2DkLW8.js} +0 -0
- /package/dist/{math-BINYmg5z.js → math-Eb0w3LqU.js} +0 -0
- /package/dist/{prng-Za0Rmgag.js → prng-B-d9eYX8.js} +0 -0
- /package/dist/{slider-DVb4HXU-.js → slider-2A0rPn79.js} +0 -0
- /package/dist/{useGlobalDark-C28t0VWJ.js → useGlobalDark-CmjB9E32.js} +0 -0
- /package/dist/{useIntersectionPause-Bj4sPkMh.js → useIntersectionPause-Dbozzjgm.js} +0 -0
- /package/dist/{useInterval-CvK1mL92.js → useInterval-CNdua40W.js} +0 -0
- /package/dist/{useKeyboardShortcuts-BXWXOZ-9.js → useKeyboardShortcuts-BPRp33Im.js} +0 -0
- /package/dist/{useLiquidFlex-mZPMiNXh.js → useLiquidFlex-UmA6LMZu.js} +0 -0
- /package/dist/{useScrollProgress-D7bYU2RK.js → useScrollProgress-c3yxmH6a.js} +0 -0
- /package/dist/{useSortable-DHjtZSEd.js → useSortable-BVqlJRBR.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.js → useTextHighlight-NmBM5V_4.js} +0 -0
- /package/dist/{vReveal-Czsb7zQC.js → vReveal-D9k0jADx.js} +0 -0
- /package/dist/{vSpecular-CQFmLNzA.js → vSpecular-EX7loENl.js} +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { u as t } from "./color-Cs0-oxYL.js";
|
|
3
|
+
import { computed as n, createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, unref as c, withCtx as l } from "vue";
|
|
4
|
+
import { Toggle as u, useForwardPropsEmits as d } from "reka-ui";
|
|
5
|
+
import { cva as f } from "class-variance-authority";
|
|
6
|
+
//#region src/components/custom/selectable-chip/selectableChipVariants.ts
|
|
7
|
+
var p = f([
|
|
8
|
+
"accent-tone",
|
|
9
|
+
"focus-ring select-none cursor-pointer outline-none font-sans",
|
|
10
|
+
"inline-flex items-center justify-center gap-1.5",
|
|
11
|
+
"border",
|
|
12
|
+
"bg-(--accent-fill)",
|
|
13
|
+
"border-[color-mix(in_oklab,transparent,var(--accent-edge)_35%)]",
|
|
14
|
+
"text-muted-foreground",
|
|
15
|
+
"data-[state=on]:bg-(--accent-band)",
|
|
16
|
+
"data-[state=on]:border-(--accent-edge)",
|
|
17
|
+
"data-[state=on]:text-(--accent-ink)",
|
|
18
|
+
"data-[state=on]:font-medium",
|
|
19
|
+
"scale-100 hover:scale-(--scale-hover-btn) active:scale-(--scale-press-btn) data-[state=on]:scale-(--scale-press-btn)",
|
|
20
|
+
"[transition:scale_var(--spring-smooth-duration)_var(--spring-smooth),background-color_var(--duration-fast)_var(--ease-standard),border-color_var(--duration-fast)_var(--ease-standard),color_var(--duration-fast)_var(--ease-standard)]",
|
|
21
|
+
"disabled:opacity-disabled disabled:pointer-events-none disabled:cursor-not-allowed"
|
|
22
|
+
].join(" "), {
|
|
23
|
+
variants: { size: {
|
|
24
|
+
sm: "px-2 py-0.5 text-caption rounded-sm",
|
|
25
|
+
md: "px-3 py-1 text-small rounded-md",
|
|
26
|
+
lg: "px-4 py-1.5 text-base rounded-lg"
|
|
27
|
+
} },
|
|
28
|
+
defaultVariants: { size: "md" }
|
|
29
|
+
}), m = /* @__PURE__ */ i({
|
|
30
|
+
__name: "SelectableChip",
|
|
31
|
+
props: {
|
|
32
|
+
defaultValue: { type: Boolean },
|
|
33
|
+
modelValue: { type: [Boolean, null] },
|
|
34
|
+
disabled: { type: Boolean },
|
|
35
|
+
asChild: { type: Boolean },
|
|
36
|
+
as: {},
|
|
37
|
+
name: {},
|
|
38
|
+
required: { type: Boolean },
|
|
39
|
+
tone: {},
|
|
40
|
+
size: {},
|
|
41
|
+
class: { type: [
|
|
42
|
+
Boolean,
|
|
43
|
+
null,
|
|
44
|
+
String,
|
|
45
|
+
Object,
|
|
46
|
+
Array
|
|
47
|
+
] }
|
|
48
|
+
},
|
|
49
|
+
emits: ["update:modelValue"],
|
|
50
|
+
setup(i, { emit: f }) {
|
|
51
|
+
let m = i, h = f, { toneStyle: g } = t(() => m.tone ?? "var(--primary)"), _ = d(() => {
|
|
52
|
+
let { class: e, tone: t, size: n, ...r } = m;
|
|
53
|
+
return r;
|
|
54
|
+
}, h), v = n(() => e(p({ size: m.size }), m.class));
|
|
55
|
+
return (e, t) => (o(), r(c(u), a(c(_), {
|
|
56
|
+
class: v.value,
|
|
57
|
+
style: c(g)
|
|
58
|
+
}), {
|
|
59
|
+
default: l(() => [s(e.$slots, "default")]),
|
|
60
|
+
_: 3
|
|
61
|
+
}, 16, ["class", "style"]));
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
//#endregion
|
|
65
|
+
export { m as SelectableChip, p as selectableChipVariants };
|
package/dist/separator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./Separator-
|
|
1
|
+
import { t as e } from "./Separator-DQcwC2TR.js";
|
|
2
2
|
export { e as Separator };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./vendor-
|
|
2
|
+
import { t } from "./vendor-B2qOlYY3.js";
|
|
3
3
|
import { t as n } from "./useSurfaceAxis-g0NloYEF.js";
|
|
4
|
-
import { t as r } from "./useSpringMount-
|
|
4
|
+
import { t as r } from "./useSpringMount-BWDnKIwh.js";
|
|
5
5
|
import { t as i } from "./ModalOverlay-D1VrWyoi.js";
|
|
6
6
|
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, toHandlers as _, unref as v, withCtx as y } from "vue";
|
|
7
7
|
import { DialogClose as b, DialogContent as x, DialogDescription as S, DialogPortal as C, DialogRoot as w, DialogTitle as T, DialogTrigger as E, injectDialogRootContext as D, useForwardPropsEmits as O } from "reka-ui";
|
package/dist/sheet.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 "./sheet-
|
|
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 "./sheet-B2flBfLH.js";
|
|
2
2
|
export { r as Sheet, s as SheetClose, a as SheetContent, o as SheetDescription, i as SheetFooter, e as SheetHeader, n as SheetTitle, t as SheetTrigger, c as sheetVariants };
|
package/dist/sidebar.js
CHANGED
|
@@ -1,123 +1,121 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { t as e } from "./scrollReader-DI1NWxUw.js";
|
|
2
|
+
import { computed as t, nextTick as n, onMounted as r, onScopeDispose as i, onUnmounted as a, reactive as o, ref as s, toValue as c, watch as l } from "vue";
|
|
2
3
|
//#region src/composables/sidebar/useScrollTracker.ts
|
|
3
|
-
function
|
|
4
|
-
let
|
|
5
|
-
function y() {
|
|
6
|
-
_ = !0;
|
|
7
|
-
}
|
|
4
|
+
function u(i, o, u) {
|
|
5
|
+
let d = u?.getChildren ?? ((e) => e.children), f = u?.rootMargin ?? "-20% 0px -60% 0px", p = u?.threshold ?? 0, m = s(null), h = /* @__PURE__ */ new Map(), g = null, _ = /* @__PURE__ */ new Set(), v = !1, y = !1;
|
|
8
6
|
function b() {
|
|
9
|
-
|
|
7
|
+
v = !0;
|
|
8
|
+
}
|
|
9
|
+
function x() {
|
|
10
|
+
v = !1;
|
|
10
11
|
}
|
|
11
|
-
let
|
|
12
|
-
function
|
|
12
|
+
let S = t(() => m.value ? c(o).get(m.value)?.parentId ?? null : null);
|
|
13
|
+
function C(e) {
|
|
13
14
|
for (let t of e) {
|
|
14
|
-
let e =
|
|
15
|
+
let e = d(t);
|
|
15
16
|
if (e) {
|
|
16
|
-
let t =
|
|
17
|
+
let t = C(e);
|
|
17
18
|
if (t) return t;
|
|
18
19
|
}
|
|
19
|
-
if (
|
|
20
|
+
if (h.get(t.id)) return t.id;
|
|
20
21
|
}
|
|
21
22
|
return null;
|
|
22
23
|
}
|
|
23
|
-
function
|
|
24
|
-
let e =
|
|
25
|
-
e && (
|
|
24
|
+
function w() {
|
|
25
|
+
let e = C(c(i));
|
|
26
|
+
e && (m.value = e);
|
|
26
27
|
}
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
if (
|
|
28
|
+
let T = null;
|
|
29
|
+
function E() {
|
|
30
|
+
if (T) return T;
|
|
30
31
|
let e = [];
|
|
31
32
|
function t(n) {
|
|
32
33
|
for (let r of n) {
|
|
33
34
|
e.push(r.id);
|
|
34
|
-
let n =
|
|
35
|
+
let n = d(r);
|
|
35
36
|
n && t(n);
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
|
-
return t(
|
|
39
|
+
return t(c(i)), T = e, e;
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
41
|
+
function D() {
|
|
42
|
+
T = null;
|
|
42
43
|
}
|
|
43
|
-
let D = 0;
|
|
44
44
|
function O() {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
f && f !== p.value && (m.clear(), m.set(f, !0), p.value = f);
|
|
56
|
-
}));
|
|
45
|
+
if (v) return;
|
|
46
|
+
let e = u?.scrollContainer?.value, t = parseFloat(f.split(" ")[0]) / 100, n = e ? e.clientHeight : window.innerHeight, r = Math.abs(t) * n, i = e ? e.getBoundingClientRect().top : 0, a = E(), o = null, s = Infinity, c = null, l = Infinity;
|
|
47
|
+
for (let e of a) {
|
|
48
|
+
let t = document.getElementById(e);
|
|
49
|
+
if (!t) continue;
|
|
50
|
+
let n = t.getBoundingClientRect().top - i - r;
|
|
51
|
+
n <= 0 && Math.abs(n) < s && (s = Math.abs(n), o = e), n > 0 && n < l && (l = n, c = e);
|
|
52
|
+
}
|
|
53
|
+
let d = o ?? c;
|
|
54
|
+
d && d !== m.value && (h.clear(), h.set(d, !0), m.value = d);
|
|
57
55
|
}
|
|
58
56
|
function k(e) {
|
|
59
57
|
for (let t of e) {
|
|
60
|
-
if (!
|
|
58
|
+
if (!_.has(t.id)) {
|
|
61
59
|
let e = document.getElementById(t.id);
|
|
62
|
-
e && (
|
|
60
|
+
e && (g?.observe(e), _.add(t.id));
|
|
63
61
|
}
|
|
64
|
-
let e =
|
|
62
|
+
let e = d(t);
|
|
65
63
|
e && k(e);
|
|
66
64
|
}
|
|
67
65
|
}
|
|
68
66
|
function A() {
|
|
69
|
-
|
|
70
|
-
let e =
|
|
71
|
-
|
|
72
|
-
if (!
|
|
73
|
-
for (let t of e)
|
|
74
|
-
|
|
67
|
+
g?.disconnect(), _.clear(), h.clear(), D();
|
|
68
|
+
let e = u?.scrollContainer?.value;
|
|
69
|
+
g = new IntersectionObserver((e) => {
|
|
70
|
+
if (!v) {
|
|
71
|
+
for (let t of e) h.set(t.target.id, t.isIntersecting);
|
|
72
|
+
w();
|
|
75
73
|
}
|
|
76
74
|
}, {
|
|
77
75
|
root: e ?? void 0,
|
|
78
|
-
rootMargin:
|
|
79
|
-
threshold:
|
|
80
|
-
}),
|
|
81
|
-
k(
|
|
82
|
-
let e =
|
|
83
|
-
!
|
|
76
|
+
rootMargin: f,
|
|
77
|
+
threshold: p
|
|
78
|
+
}), n(() => {
|
|
79
|
+
k(c(i));
|
|
80
|
+
let e = c(i);
|
|
81
|
+
!m.value && e.length > 0 && (m.value = e[0].id);
|
|
84
82
|
});
|
|
85
83
|
}
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
l(() => c(i), (e) => {
|
|
85
|
+
y && (m.value = e[0]?.id ?? null, A());
|
|
88
86
|
});
|
|
89
87
|
let j = null;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}),
|
|
93
|
-
|
|
88
|
+
r(() => {
|
|
89
|
+
y = !0, A(), j = e(u?.scrollContainer?.value ?? null, () => O());
|
|
90
|
+
}), a(() => {
|
|
91
|
+
y = !1, g?.disconnect(), j?.stop(), j = null;
|
|
94
92
|
});
|
|
95
93
|
function M() {
|
|
96
|
-
|
|
97
|
-
let e =
|
|
94
|
+
h.clear();
|
|
95
|
+
let e = u?.scrollContainer?.value, t = parseFloat(f.split(" ")[0]) / 100, n = e ? e.clientHeight : window.innerHeight, r = Math.abs(t) * n, i = e ? e.getBoundingClientRect().top : 0, a = E(), o = null, s = Infinity, c = null, l = Infinity;
|
|
98
96
|
for (let e of a) {
|
|
99
97
|
let t = document.getElementById(e);
|
|
100
98
|
if (!t) continue;
|
|
101
99
|
let n = t.getBoundingClientRect().top - i - r;
|
|
102
|
-
n <= 0 && Math.abs(n) < s && (s = Math.abs(n), o = e), n > 0 && n <
|
|
100
|
+
n <= 0 && Math.abs(n) < s && (s = Math.abs(n), o = e), n > 0 && n < l && (l = n, c = e);
|
|
103
101
|
}
|
|
104
|
-
let
|
|
105
|
-
|
|
102
|
+
let d = o ?? c;
|
|
103
|
+
d && (h.set(d, !0), m.value = d);
|
|
106
104
|
}
|
|
107
105
|
return {
|
|
108
|
-
activeId:
|
|
109
|
-
activeRootId:
|
|
106
|
+
activeId: m,
|
|
107
|
+
activeRootId: S,
|
|
110
108
|
forceRecalculate: M,
|
|
111
|
-
lockTracking:
|
|
112
|
-
unlockTracking:
|
|
109
|
+
lockTracking: b,
|
|
110
|
+
unlockTracking: x
|
|
113
111
|
};
|
|
114
112
|
}
|
|
115
113
|
//#endregion
|
|
116
114
|
//#region src/composables/sidebar/useSidebarFollow.ts
|
|
117
|
-
function
|
|
118
|
-
let
|
|
115
|
+
function d(e) {
|
|
116
|
+
let t = e.damping ?? .22, i = 0, o = 0, s = null, c = null, u = null, d = !1, f = 0;
|
|
119
117
|
function p() {
|
|
120
|
-
d = !0, u = null,
|
|
118
|
+
d = !0, u = null, i &&= (cancelAnimationFrame(i), 0), o &&= (cancelAnimationFrame(o), 0);
|
|
121
119
|
}
|
|
122
120
|
function m(e) {
|
|
123
121
|
return typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(e) : e.replace(/["\\]/g, "\\$&");
|
|
@@ -141,31 +139,31 @@ function l(e) {
|
|
|
141
139
|
}
|
|
142
140
|
}
|
|
143
141
|
function v() {
|
|
144
|
-
if (
|
|
145
|
-
let
|
|
146
|
-
if (!
|
|
147
|
-
let
|
|
148
|
-
if (Math.abs(
|
|
142
|
+
if (i = 0, d) return;
|
|
143
|
+
let n = e.sidebarEl.value, r = u;
|
|
144
|
+
if (!n || r == null) return;
|
|
145
|
+
let a = r - n.scrollTop;
|
|
146
|
+
if (Math.abs(a) < 1) {
|
|
149
147
|
_(() => {
|
|
150
|
-
|
|
148
|
+
n.scrollTop = r;
|
|
151
149
|
}), u = null;
|
|
152
150
|
return;
|
|
153
151
|
}
|
|
154
152
|
_(() => {
|
|
155
|
-
|
|
156
|
-
}),
|
|
153
|
+
n.scrollTop += a * t;
|
|
154
|
+
}), i = requestAnimationFrame(v);
|
|
157
155
|
}
|
|
158
156
|
function y(t = !1) {
|
|
159
157
|
if (!t && d) return;
|
|
160
158
|
let n = e.sidebarEl.value, r = h();
|
|
161
159
|
if (!(!n || !r)) {
|
|
162
160
|
if (u = g(n, r), t) {
|
|
163
|
-
|
|
161
|
+
i &&= (cancelAnimationFrame(i), 0), _(() => {
|
|
164
162
|
n.scrollTop = u;
|
|
165
163
|
}), u = null;
|
|
166
164
|
return;
|
|
167
165
|
}
|
|
168
|
-
|
|
166
|
+
i ||= requestAnimationFrame(v);
|
|
169
167
|
}
|
|
170
168
|
}
|
|
171
169
|
function b() {
|
|
@@ -189,26 +187,26 @@ function l(e) {
|
|
|
189
187
|
f > 0 || p();
|
|
190
188
|
}
|
|
191
189
|
function E(e) {
|
|
192
|
-
|
|
190
|
+
c !== e && (c?.removeEventListener("wheel", x), c?.removeEventListener("scroll", T), c?.removeEventListener("touchstart", S), c?.removeEventListener("pointerdown", C), c?.removeEventListener("keydown", w), c = e, c?.addEventListener("wheel", x, { passive: !0 }), c?.addEventListener("scroll", T, { passive: !0 }), c?.addEventListener("touchstart", S, { passive: !0 }), c?.addEventListener("pointerdown", C, { passive: !0 }), c?.addEventListener("keydown", w));
|
|
193
191
|
}
|
|
194
192
|
function D(e) {
|
|
195
|
-
|
|
193
|
+
s !== e && (s?.removeEventListener("scroll", b), s = e, s?.addEventListener("scroll", b, { passive: !0 }));
|
|
196
194
|
}
|
|
197
|
-
return
|
|
198
|
-
D(e.scrollSource?.value ?? null), E(e.sidebarEl.value ?? null),
|
|
199
|
-
}),
|
|
200
|
-
|
|
201
|
-
}, { flush: "post" }),
|
|
195
|
+
return r(() => {
|
|
196
|
+
D(e.scrollSource?.value ?? null), E(e.sidebarEl.value ?? null), n(() => y(!0)), window.addEventListener("resize", b);
|
|
197
|
+
}), l([e.activeId, e.activeRootId ?? { value: null }], () => {
|
|
198
|
+
n(() => y());
|
|
199
|
+
}, { flush: "post" }), l(e.sidebarEl, (e) => {
|
|
202
200
|
E(e);
|
|
203
|
-
}, { immediate: !0 }),
|
|
201
|
+
}, { immediate: !0 }), l(() => e.scrollSource?.value ?? null, (e) => {
|
|
204
202
|
D(e);
|
|
205
|
-
}, { immediate: !0 }),
|
|
206
|
-
|
|
203
|
+
}, { immediate: !0 }), a(() => {
|
|
204
|
+
i && cancelAnimationFrame(i), o && cancelAnimationFrame(o), s?.removeEventListener("scroll", b), c?.removeEventListener("wheel", x), c?.removeEventListener("scroll", T), c?.removeEventListener("touchstart", S), c?.removeEventListener("pointerdown", C), c?.removeEventListener("keydown", w), window.removeEventListener("resize", b);
|
|
207
205
|
}), { queueSidebarFollow: y };
|
|
208
206
|
}
|
|
209
207
|
//#endregion
|
|
210
208
|
//#region src/composables/sidebar/useTreeIndex.ts
|
|
211
|
-
function
|
|
209
|
+
function f(e, t) {
|
|
212
210
|
let n = t?.getChildren ?? ((e) => e.children), r = /* @__PURE__ */ new Map();
|
|
213
211
|
function i(t, a, o, s, c) {
|
|
214
212
|
for (let l of t) {
|
|
@@ -248,57 +246,161 @@ function u(e, t) {
|
|
|
248
246
|
isDescendant: s
|
|
249
247
|
};
|
|
250
248
|
}
|
|
251
|
-
function
|
|
252
|
-
return
|
|
249
|
+
function p(e) {
|
|
250
|
+
return f(e).index;
|
|
253
251
|
}
|
|
254
|
-
function
|
|
252
|
+
function m(e, t) {
|
|
255
253
|
return e === t;
|
|
256
254
|
}
|
|
257
|
-
function
|
|
255
|
+
function h(e, t, n, r) {
|
|
258
256
|
if (!t) return !1;
|
|
259
257
|
let i = n.get(t);
|
|
260
|
-
return i ? e === t || e === i.parentId ? !0 : n.get(e) ?
|
|
258
|
+
return i ? e === t || e === i.parentId ? !0 : n.get(e) ? g(t, e, n) : !1 : !1;
|
|
261
259
|
}
|
|
262
|
-
function
|
|
260
|
+
function g(e, t, n) {
|
|
263
261
|
let r = n.get(t);
|
|
264
262
|
if (!r) return !1;
|
|
265
263
|
let i = r.node.children;
|
|
266
264
|
if (!i) return !1;
|
|
267
|
-
for (let t of i) if (t.id === e ||
|
|
265
|
+
for (let t of i) if (t.id === e || g(e, t.id, n)) return !0;
|
|
268
266
|
return !1;
|
|
269
267
|
}
|
|
270
268
|
//#endregion
|
|
271
269
|
//#region src/composables/sidebar/useSidebarState.ts
|
|
272
|
-
function
|
|
273
|
-
let { index: n, isActive: r, isInActiveChain:
|
|
274
|
-
function l(
|
|
275
|
-
return
|
|
270
|
+
function _(e) {
|
|
271
|
+
let { index: n, isActive: r, isInActiveChain: i } = f(e.sections, { getChildren: e.getChildren }), a = o(/* @__PURE__ */ new Set()), s = o(/* @__PURE__ */ new Set());
|
|
272
|
+
function l(t) {
|
|
273
|
+
return s.has(t) ? !1 : a.has(t) ? !0 : c(e.activeRootId) === t;
|
|
276
274
|
}
|
|
277
|
-
function
|
|
278
|
-
l(e) ? (
|
|
275
|
+
function u(e) {
|
|
276
|
+
l(e) ? (a.delete(e), s.add(e)) : (s.delete(e), a.add(e));
|
|
279
277
|
}
|
|
280
|
-
function
|
|
281
|
-
|
|
278
|
+
function d(t) {
|
|
279
|
+
e.scrollTo(t);
|
|
282
280
|
}
|
|
283
|
-
function p(
|
|
284
|
-
return r(
|
|
281
|
+
function p(t) {
|
|
282
|
+
return r(t, c(e.activeId));
|
|
285
283
|
}
|
|
286
|
-
function m(
|
|
287
|
-
return
|
|
284
|
+
function m(t) {
|
|
285
|
+
return i(t, c(e.activeId));
|
|
288
286
|
}
|
|
289
|
-
let h =
|
|
287
|
+
let h = t(() => c(e.activeId)), g = t(() => c(e.activeRootId));
|
|
290
288
|
return {
|
|
291
|
-
sections:
|
|
289
|
+
sections: e.sections,
|
|
292
290
|
activeId: h,
|
|
293
291
|
activeRootId: g,
|
|
294
292
|
treeIndex: n,
|
|
295
293
|
isExpanded: l,
|
|
296
|
-
toggleSection:
|
|
297
|
-
navigateTo:
|
|
298
|
-
scrollToTop:
|
|
294
|
+
toggleSection: u,
|
|
295
|
+
navigateTo: d,
|
|
296
|
+
scrollToTop: e.scrollToTop,
|
|
299
297
|
isActive: p,
|
|
300
298
|
isInActiveChain: m
|
|
301
299
|
};
|
|
302
300
|
}
|
|
303
301
|
//#endregion
|
|
304
|
-
|
|
302
|
+
//#region src/composables/sidebar/useScrollTo.ts
|
|
303
|
+
function v(e) {
|
|
304
|
+
let { scrollContainer: t, totalCount: r, visibleCount: a } = e, o = e.scrollOffset ?? 16, s = e.maxAttempts ?? 60, c = e.treeIndex, l = null;
|
|
305
|
+
function u() {
|
|
306
|
+
l !== null && (cancelAnimationFrame(l), l = null);
|
|
307
|
+
}
|
|
308
|
+
i(u);
|
|
309
|
+
function d(e) {
|
|
310
|
+
if (c) {
|
|
311
|
+
let t = c.get(e);
|
|
312
|
+
if (t) {
|
|
313
|
+
let e = t.rootIndex + 2;
|
|
314
|
+
a.value = Math.max(a.value, Math.min(e, r));
|
|
315
|
+
return;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
a.value = r;
|
|
319
|
+
}
|
|
320
|
+
function f(e) {
|
|
321
|
+
d(e), u();
|
|
322
|
+
let r = 0, i = -1;
|
|
323
|
+
function a() {
|
|
324
|
+
l = null;
|
|
325
|
+
let n = document.getElementById(e), c = t.value;
|
|
326
|
+
if (!n || !c) {
|
|
327
|
+
r++ < s && (l = requestAnimationFrame(a));
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
let u = c.getBoundingClientRect(), d = n.getBoundingClientRect().top - u.top + c.scrollTop;
|
|
331
|
+
if (Math.abs(d - i) < 1 && r > 2) {
|
|
332
|
+
c.scrollTo({
|
|
333
|
+
top: Math.max(0, d - o),
|
|
334
|
+
behavior: "smooth"
|
|
335
|
+
});
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
i = d, r++, r < s && (l = requestAnimationFrame(a));
|
|
339
|
+
}
|
|
340
|
+
n(() => {
|
|
341
|
+
l = requestAnimationFrame(a);
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
return {
|
|
345
|
+
scrollTo: f,
|
|
346
|
+
cancel: u
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
//#endregion
|
|
350
|
+
//#region src/composables/sidebar/useClickDelegate.ts
|
|
351
|
+
function y(e) {
|
|
352
|
+
let t = e.selector ?? "[data-scroll-target]", n = e.attribute ?? "data-scroll-target";
|
|
353
|
+
function i(r) {
|
|
354
|
+
let i = r.target.closest(t);
|
|
355
|
+
if (!i) return;
|
|
356
|
+
r.preventDefault();
|
|
357
|
+
let a = i.getAttribute(n);
|
|
358
|
+
if (!a) return;
|
|
359
|
+
let o = e.resolve(a);
|
|
360
|
+
o && e.scrollTo(o);
|
|
361
|
+
}
|
|
362
|
+
return r(() => {
|
|
363
|
+
let t = e.container.value;
|
|
364
|
+
t && t.addEventListener("click", i);
|
|
365
|
+
}), a(() => {
|
|
366
|
+
let t = e.container.value;
|
|
367
|
+
t && t.removeEventListener("click", i);
|
|
368
|
+
}), { handleClick: i };
|
|
369
|
+
}
|
|
370
|
+
//#endregion
|
|
371
|
+
//#region src/composables/sidebar/useLazyLoader.ts
|
|
372
|
+
function b(e, t) {
|
|
373
|
+
let i = t?.batchSize ?? 2, o = t?.rootMargin ?? "0px 0px 600px 0px", c = s(Math.min(i, e)), u = s(null), d = null, f = 0;
|
|
374
|
+
function p() {
|
|
375
|
+
c.value < e && (c.value = Math.min(c.value + i, e));
|
|
376
|
+
}
|
|
377
|
+
function m() {
|
|
378
|
+
f || c.value >= e || (f = requestAnimationFrame(() => {
|
|
379
|
+
if (f = 0, !u.value || c.value >= e) return;
|
|
380
|
+
let n = t?.scrollContainer?.value, r = n ? n.getBoundingClientRect().bottom : window.innerHeight;
|
|
381
|
+
u.value.getBoundingClientRect().top < r && p();
|
|
382
|
+
}));
|
|
383
|
+
}
|
|
384
|
+
return r(() => {
|
|
385
|
+
let e = t?.scrollContainer?.value;
|
|
386
|
+
d = new IntersectionObserver((e) => {
|
|
387
|
+
for (let t of e) t.isIntersecting && p();
|
|
388
|
+
}, {
|
|
389
|
+
root: e ?? void 0,
|
|
390
|
+
rootMargin: o
|
|
391
|
+
}), n(() => {
|
|
392
|
+
u.value && d.observe(u.value);
|
|
393
|
+
}), (e ?? document).addEventListener("scroll", m, { passive: !0 });
|
|
394
|
+
}), a(() => {
|
|
395
|
+
d?.disconnect(), f && cancelAnimationFrame(f), (t?.scrollContainer?.value ?? document).removeEventListener("scroll", m);
|
|
396
|
+
}), l(c, () => {
|
|
397
|
+
d && (d.disconnect(), n(() => {
|
|
398
|
+
u.value && d.observe(u.value);
|
|
399
|
+
}));
|
|
400
|
+
}), {
|
|
401
|
+
visibleCount: c,
|
|
402
|
+
loadSentinel: u
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
//#endregion
|
|
406
|
+
export { p as buildTreeIndex, m as isActive, h as isInActiveChain, y as useClickDelegate, b as useLazyLoader, v as useScrollTo, u as useScrollTracker, d as useSidebarFollow, _ as useSidebarState, f as useTreeIndex };
|
package/dist/slider.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./slider-
|
|
1
|
+
import { n as e, t } from "./slider-2A0rPn79.js";
|
|
2
2
|
export { e as Slider, t as sliderVariants };
|
package/dist/sortable-list.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
2
2
|
import { n as t } from "./createContext-CpBNTRMI.js";
|
|
3
|
-
import { t as n } from "./useSortable-
|
|
3
|
+
import { t as n } from "./useSortable-BVqlJRBR.js";
|
|
4
4
|
import { computed as r, createBlock as i, defineComponent as a, mergeProps as o, openBlock as s, renderSlot as c, resolveDynamicComponent as l, toRef as u, unref as d, withCtx as f } from "vue";
|
|
5
5
|
//#region src/components/custom/sortable-list/context.ts
|
|
6
6
|
var p = t("glass-ui:sortable", "[glass-ui:sortable] <SortableItem> must be used inside <SortableList>"), m = p.KEY;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { o as e, t } from "./color-Cs0-oxYL.js";
|
|
2
|
+
import { OKLCHColor as n, sampleColorRamp as r } from "@mkbabb/value.js";
|
|
3
|
+
//#region src/components/custom/border-progress/composables/spectrum-walk.ts
|
|
4
|
+
var i = (e) => new n(e.L, e.C, e.h / 360), a = (e) => ({
|
|
5
|
+
L: Number(e.l),
|
|
6
|
+
C: Number(e.c),
|
|
7
|
+
h: (Number(e.h) * 360 % 360 + 360) % 360
|
|
8
|
+
});
|
|
9
|
+
function o(n, o) {
|
|
10
|
+
let s = n.map((e) => t(e)), c = s.length;
|
|
11
|
+
if (o < 2) return [e(s[0] ?? {
|
|
12
|
+
L: .7,
|
|
13
|
+
C: 0,
|
|
14
|
+
h: 0
|
|
15
|
+
})];
|
|
16
|
+
if (c === 0) return Array.from({ length: o }, () => e({
|
|
17
|
+
L: .7,
|
|
18
|
+
C: 0,
|
|
19
|
+
h: 0
|
|
20
|
+
}));
|
|
21
|
+
if (c === 1) return Array.from({ length: o }, () => e(s[0]));
|
|
22
|
+
let l = (t, n, o) => r(i(t), i(n), o, {
|
|
23
|
+
space: "oklch",
|
|
24
|
+
hueMethod: "shorter"
|
|
25
|
+
}).map((t) => e(a(t))), u = c - 1, d = [];
|
|
26
|
+
for (let e = 0; e < u; e++) {
|
|
27
|
+
let t = Math.round(e * (o - 1) / u), n = Math.round((e + 1) * (o - 1) / u), r = l(s[e], s[e + 1], n - t + 1);
|
|
28
|
+
d.push(...e > 0 ? r.slice(1) : r);
|
|
29
|
+
}
|
|
30
|
+
return d;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
export { o as walkConcreteSpectrum };
|
|
@@ -8,27 +8,33 @@ var e = [
|
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
name: "snappy",
|
|
11
|
-
response: .
|
|
12
|
-
dampingFraction: .
|
|
13
|
-
comment: "CONTROL register — crisp position morphs (tab underline, progress fill, marker pop), overshoot ~+
|
|
11
|
+
response: .42,
|
|
12
|
+
dampingFraction: .78,
|
|
13
|
+
comment: "CONTROL register — crisp position morphs (tab underline, progress fill, marker pop); eased to fill its clock (90%-travel ~0.57 of clock), overshoot ~+2.0%"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
name: "bouncy",
|
|
17
17
|
response: .5,
|
|
18
|
-
dampingFraction: .
|
|
19
|
-
comment: "PLAYFUL register — emphatic one-shots only (bouncy toggle, dialog/success entrance, VT default), overshoot ~+
|
|
18
|
+
dampingFraction: .55,
|
|
19
|
+
comment: "PLAYFUL register — emphatic one-shots only (bouncy toggle, dialog/success entrance, VT default), overshoot ~+12.6% (the Apple 12-18% band)"
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
name: "gentle",
|
|
23
23
|
response: .7,
|
|
24
24
|
dampingFraction: 1,
|
|
25
|
-
comment: "GENTLE register — patient critically-damped settle, reached via the --ease-spring-gentle @theme alias"
|
|
25
|
+
comment: "GENTLE register — patient critically-damped settle, reached via the --ease-spring-gentle @theme alias. BC.W-MOTION-PRESETS reuses this row as the brand convergence-reveal (--ease-convergence): the partial-sum settle is critically-damped with NO overshoot (ζ=1.0, overshoot 0) — measured-not-distinct, so the ALIAS, not a new row"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
name: "dock",
|
|
29
29
|
response: .32,
|
|
30
30
|
dampingFraction: .7,
|
|
31
31
|
comment: "DOCK register — dock expand/collapse morph + the in-dock Slider thumb, iOS-control settled, overshoot ~+4.6%"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: "press",
|
|
35
|
+
response: .15,
|
|
36
|
+
dampingFraction: .86,
|
|
37
|
+
comment: "PRESS register — the iOS interactive tap-press (Apple interactiveSpring 0.15/0.86); sub-100ms answer, tiny alive rebound ~+0.5%. Read by useSpringPress + the --glass-btn-press-t drive"
|
|
32
38
|
}
|
|
33
39
|
];
|
|
34
40
|
function t(t) {
|
|
@@ -207,14 +207,24 @@
|
|
|
207
207
|
/* AX.W57 (P6) — the aura breath reads its OWN element-opacity range
|
|
208
208
|
(`--pulse-aura-breath-{min,max}`, 0.28↔0.42), decoupled from the
|
|
209
209
|
shared `--pulse-aura-opacity-*` skeleton-shimmer stops so the halo
|
|
210
|
-
breathes as an ambient wash, never up to the 0.95 shimmer peak.
|
|
210
|
+
breathes as an ambient wash, never up to the 0.95 shimmer peak.
|
|
211
|
+
|
|
212
|
+
BC.W-GLASS-GLOW-FIX (Atlas A-8 root) — the breath SCALE is driven via the
|
|
213
|
+
`--pulse-aura-breath-scale` registered custom property (a `<number>`, typed
|
|
214
|
+
in property-regs.css so it INTERPOLATES per-frame), NOT a `transform: scale()`
|
|
215
|
+
on `.pulse-aura` itself. The `.pulse-aura::before` child reads the scale; the
|
|
216
|
+
`.pulse-aura` element stays UNSCALED at `inset:0` as the `overflow: clip`
|
|
217
|
+
boundary. Scaling the CHILD (clipped by the unscaled parent) is what makes the
|
|
218
|
+
1.15× peak STAY inside the host box — scaling the clip element itself scaled the
|
|
219
|
+
clip rect too, so the radial escaped (the prior incomplete fix). The element-
|
|
220
|
+
opacity breath stays HERE (it does not change geometry). */
|
|
211
221
|
0%,
|
|
212
222
|
100% {
|
|
213
|
-
|
|
223
|
+
--pulse-aura-breath-scale: var(--animate-ambient-pulse-scale-min, 1);
|
|
214
224
|
opacity: var(--pulse-aura-breath-min, 0.28);
|
|
215
225
|
}
|
|
216
226
|
50% {
|
|
217
|
-
|
|
227
|
+
--pulse-aura-breath-scale: var(--animate-ambient-pulse-scale-max, 1.15);
|
|
218
228
|
opacity: var(--pulse-aura-breath-max, 0.42);
|
|
219
229
|
}
|
|
220
230
|
}
|