@mkbabb/glass-ui 4.2.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +89 -172
- package/dist/DropdownMenuTrigger-BzQtd9lt.js +65 -0
- package/dist/FadingScroll-C1ZWEjmG.js +83 -0
- package/dist/Input-B4WQ_CMc.js +57 -0
- package/dist/PagerDots-BoTQ7g5l.js +307 -0
- package/dist/Surface-BWRfwyn8.js +59 -0
- package/dist/accent-tone-solve-Dii9ePhK.js +20 -0
- package/dist/animated-digit.d.ts +1 -1
- package/dist/animated-digit.js +5 -5
- package/dist/aurora.d.ts +1 -1
- package/dist/aurora.js +1438 -431
- package/dist/axes.d.ts +1 -0
- package/dist/axes.js +50 -0
- package/dist/badge-C0C-rTBu.js +80 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +1 -1
- package/dist/blob-config.d.ts +1 -0
- package/dist/blob-config.js +2 -0
- package/dist/blob.d.ts +1 -0
- package/dist/blob.js +1601 -0
- package/dist/button-32mg6xA8.js +194 -0
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card-16xmzIr3.js +303 -0
- package/dist/card.d.ts +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +1 -2
- package/dist/carousel.js +148 -300
- package/dist/chip.d.ts +1 -0
- package/dist/chip.js +81 -0
- package/dist/class-names-5jotTFzp.js +97 -0
- package/dist/coalesce-metric-znAcLzkB.js +13 -0
- package/dist/collapsible-bPzS1aQk.js +63 -0
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -1
- package/dist/color-swatch.js +3 -2
- package/dist/color.js +87 -2
- package/dist/command-BjPjUU9z.js +307 -0
- package/dist/command.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/completion-seal.d.ts +1 -1
- package/dist/completion-seal.js +89 -46
- package/dist/components/_shared/ModalOverlay.vue.d.ts +43 -0
- package/dist/components/_shared/axes.d.ts +21 -0
- package/dist/components/_shared/class-names.d.ts +27 -0
- package/dist/components/_shared/feedback-tone.css +1 -0
- package/dist/components/_shared/field-surfaces.css +1 -0
- package/dist/components/_shared/index.d.ts +6 -0
- package/dist/components/_shared/menu.css +1 -0
- package/dist/components/_shared/menuItemVariants.d.ts +51 -0
- package/dist/components/_shared/useControlSize.d.ts +46 -0
- package/dist/components/_shared/useMotionAxis.d.ts +41 -0
- package/dist/components/_shared/useSurfaceAxis.d.ts +64 -0
- package/dist/components/_shared/valueDomain.d.ts +6 -0
- package/dist/components/alert/Alert.vue.d.ts +19 -0
- package/dist/components/alert/index.d.ts +8 -0
- package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +56 -0
- package/dist/components/aurora/Aurora.vue.d.ts +110 -0
- package/dist/components/aurora/composables/atoms-fields.d.ts +43 -0
- package/dist/components/aurora/composables/atoms.d.ts +198 -0
- package/dist/components/aurora/composables/auroraImageSource.d.ts +44 -0
- package/dist/components/aurora/composables/color.d.ts +111 -0
- package/dist/components/aurora/composables/frameLoop.d.ts +66 -0
- package/dist/components/aurora/composables/glSetup.d.ts +29 -0
- package/dist/components/aurora/composables/runtime.d.ts +142 -0
- package/dist/components/aurora/composables/uniformBridge.d.ts +120 -0
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +60 -0
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +39 -0
- package/dist/components/aurora/composables/useAurora.d.ts +82 -0
- package/dist/components/aurora/composables/useCursorInteraction.d.ts +25 -0
- package/dist/components/aurora/composables/wgpuSetup.d.ts +50 -0
- package/dist/components/aurora/constants/presets.d.ts +326 -0
- package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +3 -0
- package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -0
- package/dist/components/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
- package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -0
- package/dist/components/aurora/index.d.ts +13 -0
- package/dist/components/avatar/Avatar.vue.d.ts +23 -0
- package/dist/components/avatar/AvatarImage.vue.d.ts +10 -0
- package/dist/components/avatar/index.d.ts +9 -0
- package/dist/components/badge/Badge.vue.d.ts +41 -0
- package/dist/components/badge/index.d.ts +9 -0
- package/dist/components/blob/Blob.vue.d.ts +83 -0
- package/dist/components/blob/composables/satelliteKinematics.d.ts +20 -0
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +51 -0
- package/dist/components/blob/composables/useBlobPointer.d.ts +88 -0
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +102 -0
- package/dist/components/blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/blob/config.d.ts +3 -0
- package/dist/components/blob/constants.d.ts +82 -0
- package/dist/components/blob/index.d.ts +8 -0
- package/dist/components/blob/presets.d.ts +14 -0
- package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/blob/types.d.ts +256 -0
- package/dist/components/button/Button.vue.d.ts +33 -0
- package/dist/components/button/index.d.ts +9 -0
- package/dist/components/card/Card.vue.d.ts +180 -0
- package/dist/components/card/CardHeader.vue.d.ts +58 -0
- package/dist/components/card/ScrollCard.vue.d.ts +33 -0
- package/dist/components/card/card-scroll.css +1 -0
- package/dist/components/card/styles.css +1 -0
- package/dist/components/carousel/Carousel.vue.d.ts +44 -0
- package/dist/components/carousel/CarouselContent.vue.d.ts +24 -0
- package/dist/components/carousel/CarouselNext.vue.d.ts +21 -0
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +21 -0
- package/dist/components/carousel/index.d.ts +8 -0
- package/dist/components/carousel/useCarousel.d.ts +21 -0
- package/dist/components/chip/Chip.vue.d.ts +20 -0
- package/dist/components/chip/chipVariants.d.ts +43 -0
- package/dist/components/chip/index.d.ts +3 -0
- package/dist/components/chip/types.d.ts +38 -0
- package/dist/components/combobox/Combobox.vue.d.ts +32 -0
- package/dist/components/combobox/ComboboxList.vue.d.ts +32 -0
- package/dist/components/combobox/index.d.ts +9 -0
- package/dist/components/command/Command.vue.d.ts +38 -0
- package/dist/components/command/CommandDialog.vue.d.ts +27 -0
- package/dist/components/command/index.d.ts +10 -0
- package/dist/components/completion-seal/CompletionSeal.vue.d.ts +28 -0
- package/dist/components/completion-seal/constants.d.ts +66 -0
- package/dist/components/completion-seal/styles.css +1 -0
- package/dist/components/configurator/Configurator.vue.d.ts +160 -0
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +96 -0
- package/dist/components/configurator/index.d.ts +6 -0
- package/dist/components/configurator/size.d.ts +26 -0
- package/dist/components/configurator/styles.css +1 -0
- package/dist/components/constellation/Constellation.vue.d.ts +39 -0
- package/dist/components/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/constellation/constants.d.ts +87 -0
- package/dist/components/constellation/constellationField.d.ts +70 -0
- package/dist/components/constellation/constellationInteraction.d.ts +141 -0
- package/dist/components/constellation/constellationRender.d.ts +15 -0
- package/dist/components/constellation/constellationTypes.d.ts +423 -0
- package/dist/components/constellation/index.d.ts +6 -0
- package/dist/components/controls/DarkModeToggle.vue.d.ts +32 -0
- package/dist/components/controls/dark-mode-toggle.css +1 -0
- package/dist/components/data-table/DataTable.vue.d.ts +94 -0
- package/dist/components/data-table/index.d.ts +2 -0
- package/dist/components/data-table/types.d.ts +81 -0
- package/dist/components/deck/constants.d.ts +4 -0
- package/dist/components/deck/index.d.ts +7 -0
- package/dist/components/dialog/DialogContent.vue.d.ts +121 -0
- package/dist/components/dialog/index.d.ts +8 -0
- package/dist/components/dialog/placement.css +1 -0
- package/dist/components/dock/DockBackgroundToggle.vue.d.ts +46 -0
- package/dist/components/dock/DockControl.vue.d.ts +73 -0
- package/dist/components/dock/DockCrossfade.vue.d.ts +50 -0
- package/dist/components/dock/DockLayer.vue.d.ts +33 -0
- package/dist/components/dock/DockLayerGroup.vue.d.ts +65 -0
- package/dist/components/dock/DockStack.vue.d.ts +73 -0
- package/dist/components/dock/DockTrigger.vue.d.ts +27 -0
- package/dist/components/dock/GlassDock.vue.d.ts +34 -0
- package/dist/components/dock/composables/dockContext.d.ts +48 -0
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +57 -0
- package/dist/components/dock/composables/dockMorphContext.d.ts +91 -0
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +96 -0
- package/dist/components/dock/composables/index.d.ts +10 -0
- package/dist/components/dock/composables/useDockClickIntegrity.d.ts +27 -0
- package/dist/components/dock/composables/useDockFisheye.d.ts +24 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +22 -0
- package/dist/components/dock/composables/useDockPopover.d.ts +70 -0
- package/dist/components/dock/composables/useDockSearch.d.ts +85 -0
- package/dist/components/dock/composables/useDockShellProps.d.ts +185 -0
- package/dist/components/dock/composables/useDockSpring.d.ts +71 -0
- package/dist/components/dock/composables/useDockState.d.ts +70 -0
- package/dist/components/dock/composables/useDockTouchGate.d.ts +51 -0
- package/dist/components/dock/constants.d.ts +95 -0
- package/dist/components/dock/index.d.ts +20 -0
- package/dist/components/dock/styles/adaptive-legibility.css +1 -0
- package/dist/components/dock/styles/controls/icon-button.css +1 -0
- package/dist/components/dock/styles/controls/tab-button.css +1 -0
- package/dist/components/dock/styles/controls/touch-floor.css +1 -0
- package/dist/components/dock/styles/controls/triggers.css +1 -0
- package/dist/components/dock/styles/controls.css +1 -0
- package/dist/components/dock/styles/crossfade.css +1 -0
- package/dist/components/dock/styles/cta-seat.css +1 -0
- package/dist/components/dock/styles/density.css +1 -0
- package/dist/components/dock/styles/dock.css +1 -0
- package/dist/components/dock/styles/fisheye.css +1 -0
- package/dist/components/dock/styles/index.css +1 -0
- package/dist/components/dock/styles/layer-group.css +1 -0
- package/dist/components/dock/styles/layers.css +1 -0
- package/dist/components/dock/styles/morph.css +1 -0
- package/dist/components/dock/styles/overflow.css +1 -0
- package/dist/components/dock/styles/popover.css +1 -0
- package/dist/components/dock/styles/search.css +1 -0
- package/dist/components/dock/styles/section.css +1 -0
- package/dist/components/dock/styles/shape.css +1 -0
- package/dist/components/dock/styles/shell-regions.css +1 -0
- package/dist/components/dock/styles/shell.css +1 -0
- package/dist/components/drawer/Drawer.vue.d.ts +85 -0
- package/dist/components/drawer/DrawerContent.vue.d.ts +40 -0
- package/dist/components/drawer/composables/drawerSnapContext.d.ts +28 -0
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +24 -0
- package/dist/components/drawer/constants.d.ts +50 -0
- package/dist/components/drawer/index.d.ts +33 -0
- package/dist/components/drawer/styles.css +1 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +20 -0
- package/dist/components/dropdown-menu/index.d.ts +15 -0
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +14 -0
- package/dist/components/easing/EasingConfigurator.vue.d.ts +33 -0
- package/dist/components/easing/EasingPicker.vue.d.ts +49 -0
- package/dist/components/easing/composables/useEasingPicker.d.ts +84 -0
- package/dist/components/easing/constants.d.ts +30 -0
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +71 -0
- package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/fourier-field/FourierField.vue.d.ts +60 -0
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
- package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +41 -0
- package/dist/components/fourier-field/composables/useFourierField.d.ts +56 -0
- package/dist/components/fourier-field/constants.d.ts +134 -0
- package/dist/components/fourier-field/index.d.ts +31 -0
- package/dist/components/fourier-field/math.d.ts +111 -0
- package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
- package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
- package/dist/components/fourier-field/shaders/fourier-field.ribbon.d.ts +51 -0
- package/dist/components/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/handmark/composables/useHandMark.d.ts +99 -0
- package/dist/components/handmark/constants.d.ts +69 -0
- package/dist/components/handmark/geometry.d.ts +65 -0
- package/dist/components/handmark/index.d.ts +25 -0
- package/dist/components/handmark/noise.d.ts +30 -0
- package/dist/components/handmark/types.d.ts +70 -0
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
- package/dist/components/header-ribbon/index.d.ts +2 -0
- package/dist/components/header-ribbon/types.d.ts +7 -0
- package/dist/components/icon-chip/styles.css +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/infinite-scroll/index.d.ts +2 -0
- package/dist/components/instrument-chassis/styles.css +1 -0
- package/dist/components/labeled-field/LabeledField.vue.d.ts +118 -0
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +38 -0
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +46 -0
- package/dist/components/liquid-grid/composables/liquidGrid.d.ts +113 -0
- package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +18 -0
- package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +21 -0
- package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +16 -0
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +32 -0
- package/dist/components/liquid-grid/constants.d.ts +93 -0
- package/dist/components/liquid-grid/index.d.ts +5 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +4 -0
- package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -0
- package/dist/components/metric-badge/MetricBadge.vue.d.ts +40 -0
- package/dist/components/metric-cell/MetricCell.vue.d.ts +108 -0
- package/dist/components/metric-stack/MetricRow.vue.d.ts +120 -0
- package/dist/components/metric-stack/MetricStack.vue.d.ts +92 -0
- package/dist/components/notification/Notification.vue.d.ts +16 -0
- package/dist/components/pager-dots/PagerDots.vue.d.ts +48 -0
- package/dist/components/pager-dots/composables/usePagerWorm.d.ts +26 -0
- package/dist/components/pager-dots/constants.d.ts +15 -0
- package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +21 -0
- package/dist/components/popover/Popover.vue.d.ts +54 -0
- package/dist/components/popover/PopoverContent.vue.d.ts +53 -0
- package/dist/components/popover/PopoverTrigger.vue.d.ts +16 -0
- package/dist/components/popover/popoverContext.d.ts +17 -0
- package/dist/components/progress/Progress.vue.d.ts +19 -0
- package/dist/components/progress/ProgressDefault.vue.d.ts +9 -0
- package/dist/components/progress/ProgressGradient.vue.d.ts +26 -0
- package/dist/components/progress/ProgressLiquid.vue.d.ts +22 -0
- package/dist/components/progress/index.d.ts +1 -0
- package/dist/components/progress/valueMarks.css +1 -0
- package/dist/components/pulse/Pulse.vue.d.ts +53 -0
- package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +19 -0
- package/dist/components/scroll-progress-rim/index.d.ts +3 -0
- package/dist/components/scroll-progress-rim/styles.css +1 -0
- package/dist/components/scroll-progress-rim/types.d.ts +2 -0
- package/dist/components/search/FuzzySearch.vue.d.ts +24 -0
- package/dist/components/search/SearchBar.vue.d.ts +38 -0
- package/dist/components/search/searchVariants.d.ts +19 -0
- package/dist/components/select/SelectContent.vue.d.ts +42 -0
- package/dist/components/select/index.d.ts +8 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts +35 -0
- package/dist/components/slider/Slider.vue.d.ts +42 -0
- package/dist/components/slider/index.d.ts +46 -0
- package/dist/components/sortable-list/SortableHandle.vue.d.ts +19 -0
- package/dist/components/sortable-list/SortableItem.vue.d.ts +22 -0
- package/dist/components/sortable-list/SortableList.vue.d.ts +39 -0
- package/dist/components/sortable-list/composables/dragController.d.ts +29 -0
- package/dist/components/sortable-list/composables/types.d.ts +50 -0
- package/dist/components/sortable-list/composables/useSortable.d.ts +5 -0
- package/dist/components/sortable-list/context.d.ts +11 -0
- package/dist/components/sortable-list/index.d.ts +4 -0
- package/dist/components/split-chars/SplitChars.vue.d.ts +53 -0
- package/dist/components/surface/Surface.vue.d.ts +45 -0
- package/dist/components/surface/index.d.ts +2 -0
- package/dist/components/table/Table.vue.d.ts +21 -0
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +111 -0
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +17 -0
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/tabs/composables/useTabResponsive.d.ts +43 -0
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +51 -0
- package/dist/components/tabs/constants.d.ts +1 -0
- package/dist/components/tabs/index.d.ts +2 -0
- package/dist/components/tabs/styles/drag.css +1 -0
- package/dist/components/tabs/styles/segmented.css +1 -0
- package/dist/components/tags-input/TagsInput.vue.d.ts +28 -0
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +49 -0
- package/dist/components/timeline/ContinuousTimeline.vue.d.ts +118 -0
- package/dist/components/timeline/GlassTimeline.vue.d.ts +114 -0
- package/dist/components/toast/Toast.vue.d.ts +107 -0
- package/dist/components/toast/index.d.ts +9 -0
- package/dist/components/toast/use-toast.d.ts +182 -0
- package/dist/components/toggle/Toggle.vue.d.ts +29 -0
- package/dist/components/toggle/index.d.ts +26 -0
- package/dist/components/typewriter/TypewriterText.vue.d.ts +82 -0
- package/dist/components/typewriter/composables/useTypewriter.d.ts +21 -0
- package/dist/components/typewriter/utils/graphemes.d.ts +1 -0
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +74 -0
- package/dist/components/watercolor-dot/prng.d.ts +5 -0
- package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +31 -0
- package/dist/composables/color/accent-tone-solve.d.ts +11 -0
- package/dist/composables/color/index.d.ts +18 -1
- package/dist/composables/color/useAccentTone.d.ts +6 -8
- package/dist/composables/dom/useUserInvalidAria.d.ts +7 -11
- package/dist/composables/glass/ambientHueHistogram.d.ts +27 -0
- package/dist/composables/glass/backdropLuminanceSample.d.ts +56 -0
- package/dist/composables/glass/backdropSampleMath.d.ts +5 -0
- package/dist/composables/glass/textureUpload.d.ts +91 -0
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +58 -1
- package/dist/composables/glass/useSpecularPointer.d.ts +23 -4
- package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
- package/dist/composables/glass/wave/waveField.d.ts +22 -1
- package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -1
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -1
- package/dist/composables/glass/webgl/backingSize.d.ts +44 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +36 -55
- package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +36 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +1 -1
- package/dist/composables/glass/webgl/visibility.d.ts +42 -0
- package/dist/composables/glass/webgpu/rendererStatus.d.ts +13 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +8 -4
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +3 -111
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +98 -0
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +30 -0
- package/dist/composables/index.d.ts +1 -2
- package/dist/composables/motion/bloomUpField.d.ts +29 -0
- package/dist/composables/motion/core/index.d.ts +6 -2
- package/dist/composables/motion/gooBarbellGeometry.d.ts +79 -0
- package/dist/composables/motion/index.d.ts +1 -1
- package/dist/composables/motion/morphSignatures.d.ts +88 -0
- package/dist/composables/motion/motionTempo.d.ts +9 -0
- package/dist/composables/motion/pointerFieldMappings.d.ts +161 -0
- package/dist/composables/motion/springPresets.d.ts +17 -23
- package/dist/composables/motion/springProjection.d.ts +16 -0
- package/dist/composables/motion/useAnimatedNumber.d.ts +1 -6
- package/dist/composables/motion/useCountup.d.ts +1 -6
- package/dist/composables/motion/useDockCtaReceive.d.ts +87 -39
- package/dist/composables/motion/useElementMorph.d.ts +107 -0
- package/dist/composables/motion/useLeadTrail.d.ts +69 -0
- package/dist/composables/motion/useLiquidPress.d.ts +21 -4
- package/dist/composables/motion/useLiquidReveal.d.ts +15 -29
- package/dist/composables/motion/useNumericTransition.d.ts +2 -0
- package/dist/composables/motion/usePointerVelocityField.d.ts +59 -0
- package/dist/composables/motion/useRoutePointer.d.ts +41 -0
- package/dist/composables/motion/useSelectionGroup.d.ts +83 -0
- package/dist/composables/motion/useSelectionIndicator.d.ts +90 -0
- package/dist/composables/motion/useSpringPress.d.ts +5 -5
- package/dist/composables/motion/useTextHighlight.d.ts +2 -1
- package/dist/configurator-CSENXXSy.js +311 -0
- package/dist/configurator.d.ts +1 -1
- package/dist/configurator.js +2 -3
- package/dist/constellation.d.ts +1 -1
- package/dist/constellation.js +271 -570
- package/dist/controls.d.ts +1 -1
- package/dist/controls.js +57 -65
- package/dist/createCanvasLifecycle-hsFkQVdl.js +209 -0
- package/dist/dark-DIH-blY1.js +70 -0
- package/dist/dark.d.ts +1 -2
- package/dist/dark.js +2 -20
- package/dist/data-table-DveMdgBM.js +629 -0
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +2 -2
- package/dist/deck.d.ts +1 -1
- package/dist/deck.js +14 -25
- package/dist/dialog-BzQxKrUr.js +281 -0
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +2 -4
- package/dist/dock.d.ts +1 -1
- package/dist/dock.js +1194 -1614
- package/dist/dockContext-4S9qP0Z4.js +13 -0
- package/dist/dom.js +196 -7
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.js +201 -148
- package/dist/dropdown-menu-DORIA52F.js +378 -0
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.js +3 -2
- package/dist/easing.d.ts +1 -1
- package/dist/easing.js +328 -181
- package/dist/expandable-container.d.ts +1 -1
- package/dist/expandable-container.js +93 -66
- package/dist/fading-scroll.d.ts +1 -1
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-scope-DUTKveod.js +23 -0
- package/dist/focus-scope.d.ts +1 -1
- package/dist/focus-scope.js +2 -23
- package/dist/forms.d.ts +4 -3
- package/dist/forms.js +72 -104
- package/dist/fourier-field.d.ts +1 -1
- package/dist/fourier-field.js +641 -577
- package/dist/fourier-math.d.ts +1 -1
- package/dist/fourier-math.js +112 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +178 -390
- package/dist/handmark.d.ts +1 -1
- package/dist/handmark.js +143 -125
- package/dist/header-ribbon.d.ts +1 -1
- package/dist/header-ribbon.js +47 -36
- package/dist/icon-chip-BWuxz1-u.js +57 -0
- package/dist/icon-chip.d.ts +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/icon-tooltip-CO6rw0dZ.js +25 -0
- package/dist/icon-tooltip.d.ts +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +41 -45
- package/dist/infinite-scroll.d.ts +1 -2
- package/dist/infinite-scroll.js +19 -17
- package/dist/instrument-chassis-Cvstg4_U.js +65 -0
- package/dist/instrument-chassis.d.ts +1 -1
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +104 -2
- package/dist/label-Cj38tJKG.js +36 -0
- package/dist/label.d.ts +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.d.ts +1 -1
- package/dist/labeled-field.js +100 -74
- package/dist/liquid-grid.d.ts +1 -0
- package/dist/liquid-grid.js +1075 -0
- package/dist/menuItemVariants-D6AOzzND.js +36 -0
- package/dist/metric-badge.d.ts +1 -1
- package/dist/metric-badge.js +79 -2
- package/dist/metric-cell.d.ts +1 -1
- package/dist/metric-cell.js +9 -9
- package/dist/metric-stack.d.ts +1 -1
- package/dist/metric-stack.js +23 -23
- package/dist/motion-core.js +47 -42
- package/dist/motion-curves.js +2 -2
- package/dist/motion.js +104 -219
- package/dist/motionTempo-CMS5b0Vu.js +7 -0
- package/dist/notification-DVs7ODMg.js +52 -0
- package/dist/notification.d.ts +1 -1
- package/dist/notification.js +1 -1
- package/dist/number-field-PvkGedHk.js +140 -0
- package/dist/number-field.d.ts +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.d.ts +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.d.ts +1 -1
- package/dist/paper-backdrop.js +31 -2
- package/dist/pointerFieldMappings-CZojkgKj.js +65 -0
- package/dist/popover-WMgyRSyN.js +256 -0
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- package/dist/presets-CxeNvxuO.js +95 -0
- package/dist/prng-Dz2_9RJu.js +15 -0
- package/dist/procedural-color.wgsl-B9mLK7v0.js +377 -0
- package/dist/progress-C-HHuFZy.js +192 -0
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +2 -2
- package/dist/pulse.d.ts +1 -1
- package/dist/pulse.js +6 -4
- package/dist/reactive.js +19 -3
- package/dist/rendererStatus-C2-zC2Q-.js +40 -0
- package/dist/resolveCanvasColor-yarP5bdk.js +93 -0
- package/dist/scroll-progress-rim.d.ts +1 -0
- package/dist/scroll-progress-rim.js +61 -0
- package/dist/search.d.ts +1 -1
- package/dist/search.js +201 -160
- package/dist/select-BIv4R3Ir.js +326 -0
- package/dist/select.d.ts +1 -1
- package/dist/select.js +2 -4
- package/dist/separator-CBU94kTM.js +62 -0
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-Cc_qw6GA.js +166 -0
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +1 -1
- package/dist/sortable-list.d.ts +1 -1
- package/dist/sortable-list.js +384 -59
- package/dist/spa-view.d.ts +1 -1
- package/dist/spa-view.js +1 -1
- package/dist/springPresets-h5VKJQqG.js +58 -0
- package/dist/status-dot.d.ts +1 -1
- package/dist/status-dot.js +2 -2
- package/dist/styles/accessibility.css +1 -0
- package/dist/styles/animations.css +1 -409
- package/dist/styles/components.css +1 -45
- package/dist/styles/draw-in.css +1 -0
- package/dist/styles/fonts.css +1 -143
- package/dist/styles/glass/a11y-fallback.css +1 -245
- package/dist/styles/glass/accent-tone.css +1 -66
- package/dist/styles/glass/control-surfaces.css +1 -167
- package/dist/styles/glass/deep.css +1 -44
- package/dist/styles/glass/defined.css +1 -0
- package/dist/styles/glass/glass-atom.css +1 -244
- package/dist/styles/glass/glass-capsule.css +1 -143
- package/dist/styles/glass/glass-chip.css +1 -215
- package/dist/styles/glass/grain-overlay.css +1 -0
- package/dist/styles/glass/ladder-undershadow.css +1 -0
- package/dist/styles/glass/ladder.css +1 -489
- package/dist/styles/glass/liquid-enter.css +1 -252
- package/dist/styles/glass/liquid-fill.css +1 -0
- package/dist/styles/glass/material-roles.css +1 -0
- package/dist/styles/glass/material.css +1 -370
- package/dist/styles/glass/progress-rail.css +1 -78
- package/dist/styles/glass/reveal.css +1 -156
- package/dist/styles/glass/rim.css +1 -122
- package/dist/styles/glass/squircle.css +1 -66
- package/dist/styles/glass/surface-axis.css +1 -113
- package/dist/styles/glass/surfaces-pager.css +1 -0
- package/dist/styles/glass/surfaces.css +1 -411
- package/dist/styles/glass-refract.css +1 -114
- package/dist/styles/glass-specular-track.css +1 -74
- package/dist/styles/glass.css +1 -77
- package/dist/styles/index.css +1 -260
- package/dist/styles/paper.css +1 -284
- package/dist/styles/scroll-choreography.css +1 -357
- package/dist/styles/scroll-chrome.css +1 -123
- package/dist/styles/scroll-driven.css +1 -110
- package/dist/styles/theme/bridges.css +1 -380
- package/dist/styles/theme/dark.css +1 -7
- package/dist/styles/theme/literals.css +1 -103
- package/dist/styles/theme/radius.css +1 -117
- package/dist/styles/theme.css +1 -33
- package/dist/styles/tokens/color-radius.css +1 -297
- package/dist/styles/tokens/dark-arm-glass.css +1 -0
- package/dist/styles/tokens/dark-arm.css +1 -462
- package/dist/styles/tokens/glass-deep.css +1 -104
- package/dist/styles/tokens/glass-fx.css +1 -454
- package/dist/styles/tokens/glass.css +1 -412
- package/dist/styles/tokens/light-dark.css +1 -200
- package/dist/styles/tokens/motion-registers.css +1 -0
- package/dist/styles/tokens/offsets.css +1 -143
- package/dist/styles/tokens/on-glass-fg.css +1 -39
- package/dist/styles/tokens/property-regs-specular.css +1 -0
- package/dist/styles/tokens/property-regs.css +1 -566
- package/dist/styles/tokens/scale-paper.css +1 -493
- package/dist/styles/tokens/scheme-motion.css +1 -363
- package/dist/styles/tokens/scheme-spring.css +1 -239
- package/dist/styles/tokens/scroll-tokens.css +1 -123
- package/dist/styles/tokens/shadow.css +1 -226
- package/dist/styles/tokens/sizing-config.css +1 -110
- package/dist/styles/tokens/sizing.css +1 -450
- package/dist/styles/tokens.css +1 -52
- package/dist/styles/tokens.d.ts +53 -0
- package/dist/styles/tokens.ts +58 -0
- package/dist/styles/transitions.css +1 -263
- package/dist/styles/typography/scale.css +1 -153
- package/dist/styles/typography/semantic.css +1 -233
- package/dist/styles/typography/utilities.css +1 -174
- package/dist/styles/typography.css +1 -46
- package/dist/styles/utilities/a11y-overrides.css +1 -184
- package/dist/styles/utilities/base-misc.css +1 -307
- package/dist/styles/utilities/base.css +1 -327
- package/dist/styles/utilities/btn.css +1 -301
- package/dist/styles/utilities/components.css +1 -342
- package/dist/styles/utilities/metal.css +1 -215
- package/dist/styles/utilities.css +1 -26
- package/dist/styles/view-transition.css +1 -67
- package/dist/styles/viz-reveal.css +1 -0
- package/dist/surface.d.ts +1 -0
- package/dist/surface.js +3 -0
- package/dist/switch-Boj4Ucn5.js +49 -0
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +198 -252
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +199 -183
- package/dist/toast-kAbchIN2.js +281 -0
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group-BPchFsns.js +178 -0
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -53
- package/dist/tokens.js +1 -1
- package/dist/tooltip-BmOQJzh0.js +111 -0
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.d.ts +1 -1
- package/dist/typewriter.js +158 -173
- package/dist/useAccentTone-C-p6WdPe.js +23 -0
- package/dist/useAnimatedNumber-BRVVaFFc.js +40 -0
- package/dist/useControlSize-CFfOk8I-.js +9 -0
- package/dist/useDockCtaReceive-CK-RLASa.js +257 -0
- package/dist/useDocumentVisibility-YeBDGqtI.js +17 -0
- package/dist/useDragMorph-7ygF9O0m.js +93 -0
- package/dist/useFuzzySearch-BOgep7RE.js +177 -0
- package/dist/useGooMorph-D1F6QJlH.js +349 -0
- package/dist/useIntersectionPause-B-dbxl9w.js +39 -0
- package/dist/useLeadTrail-BYu8dq4G.js +74 -0
- package/dist/useLiquidPress-BYcwwGQV.js +68 -0
- package/dist/useMotionAxis-DCCXMC-i.js +20 -0
- package/dist/usePointerVelocityField-BdvnO0py.js +122 -0
- package/dist/useRAFLoop-BtwQ9DyY.js +109 -0
- package/dist/useRoutePointer-BDNMFN73.js +52 -0
- package/dist/useScrollProgress-DZI4nf4v.js +35 -0
- package/dist/useSelectionGroup-LDzBdR1Y.js +215 -0
- package/dist/useSpring-BBSKFx_0.js +41 -0
- package/dist/useSpringMount-C6-DBx4e.js +71 -0
- package/dist/useSpringPress-BypV_KO-.js +36 -0
- package/dist/useSurfaceAxis-DudiZVOR.js +10 -0
- package/dist/useTabRovingFocus-DkLYwo4L.js +143 -0
- package/dist/useTouchGate-Cj5fOkTv.js +84 -0
- package/dist/useUserInvalidAria-Cr4nR3tu.js +25 -0
- package/dist/valueDomain-B8L04u3U.js +13 -0
- package/dist/watercolor-dot.d.ts +1 -1
- package/dist/watercolor-dot.js +54 -50
- package/package.json +383 -831
- package/src/styles/accessibility.css +48 -0
- package/src/styles/animations.css +82 -23
- package/src/styles/draw-in.css +89 -0
- package/src/styles/glass/a11y-fallback.css +19 -76
- package/src/styles/glass/control-surfaces.css +20 -16
- package/src/styles/glass/deep.css +74 -4
- package/src/styles/glass/defined.css +88 -0
- package/src/styles/glass/glass-atom.css +23 -20
- package/src/styles/glass/glass-capsule.css +34 -2
- package/src/styles/glass/glass-chip.css +13 -17
- package/src/styles/glass/grain-overlay.css +79 -0
- package/src/styles/glass/ladder-undershadow.css +61 -0
- package/src/styles/glass/ladder.css +96 -133
- package/src/styles/glass/liquid-enter.css +12 -24
- package/src/styles/glass/liquid-fill.css +65 -0
- package/src/styles/glass/material-roles.css +18 -0
- package/src/styles/glass/material.css +152 -22
- package/src/styles/glass/reveal.css +197 -20
- package/src/styles/glass/squircle.css +18 -26
- package/src/styles/glass/surface-axis.css +24 -1
- package/src/styles/glass/surfaces-pager.css +79 -0
- package/src/styles/glass/surfaces.css +121 -98
- package/src/styles/glass.css +38 -5
- package/src/styles/index.css +86 -50
- package/src/styles/paper.css +105 -202
- package/src/styles/scroll-choreography.css +29 -92
- package/src/styles/scroll-driven.css +18 -5
- package/src/styles/theme/bridges.css +8 -8
- package/src/styles/theme/literals.css +2 -1
- package/src/styles/theme/radius.css +43 -12
- package/src/styles/tokens/color-radius.css +15 -4
- package/src/styles/tokens/dark-arm-glass.css +55 -0
- package/src/styles/tokens/dark-arm.css +62 -69
- package/src/styles/tokens/glass-deep.css +102 -80
- package/src/styles/tokens/glass-fx.css +36 -10
- package/src/styles/tokens/glass.css +143 -78
- package/src/styles/tokens/light-dark.css +20 -4
- package/src/styles/tokens/motion-registers.css +93 -0
- package/src/styles/tokens/offsets.css +0 -1
- package/src/styles/tokens/property-regs-specular.css +160 -0
- package/src/styles/tokens/property-regs.css +68 -186
- package/src/styles/tokens/scale-paper.css +6 -4
- package/src/styles/tokens/scheme-motion.css +62 -0
- package/src/styles/tokens/scheme-spring.css +147 -104
- package/src/styles/tokens/scroll-tokens.css +25 -11
- package/src/styles/tokens/shadow.css +31 -51
- package/src/styles/tokens/sizing.css +62 -7
- package/src/styles/tokens.css +16 -0
- package/src/styles/tokens.ts +58 -0
- package/src/styles/transitions.css +108 -143
- package/src/styles/typography/scale.css +13 -0
- package/src/styles/typography/semantic.css +10 -10
- package/src/styles/typography/utilities.css +30 -7
- package/src/styles/utilities/a11y-overrides.css +2 -2
- package/src/styles/utilities/base.css +18 -8
- package/src/styles/utilities/btn.css +35 -30
- package/src/styles/utilities/components.css +16 -21
- package/src/styles/utilities/metal.css +86 -29
- package/src/styles/utilities.css +4 -6
- package/src/styles/viz-reveal.css +63 -0
- package/dist/CardAction-DlVP2evz.js +0 -272
- package/dist/CollapsibleContent-D7UNsXQr.js +0 -63
- package/dist/CommandShortcut-By-VQcLO.js +0 -302
- package/dist/ConfiguratorRow-YMXdINHx.js +0 -143
- package/dist/ContextMenuContent-CMWn6huB.js +0 -90
- package/dist/ContextMenuSubContent-DvwWCUc0.js +0 -245
- package/dist/DataTable-C4tG3eIJ.js +0 -512
- package/dist/DialogContent-D8U9ZfWS.js +0 -121
- package/dist/DialogFooter-DoLy0ewI.js +0 -80
- package/dist/DialogScrollContent-BMekN7gq.js +0 -93
- package/dist/FadingScroll-P8B30rAD.js +0 -76
- package/dist/HoverCardContent-DAmGYglo.js +0 -88
- package/dist/HoverPopover-DYpBOzzF.js +0 -96
- package/dist/IconChip-CQa7XZYc.js +0 -57
- package/dist/IconTooltip-_df8M3xm.js +0 -25
- package/dist/Input-CyU4_hIC.js +0 -57
- package/dist/InstrumentChassis-UUJX0-mW.js +0 -65
- package/dist/Label-B_HPqi_q.js +0 -36
- package/dist/MetricBadge-DQt_dGah.js +0 -79
- package/dist/ModalOverlay-DfAf7o15.js +0 -53
- package/dist/Notification-BlSPJhtZ.js +0 -43
- package/dist/NumberFieldContent-Z3VxGu_6.js +0 -140
- package/dist/PagerDots-CYlqVFd4.js +0 -196
- package/dist/PaperBackdrop-DYWgrnh8.js +0 -42
- package/dist/PopoverContent-BuKyHZSz.js +0 -127
- package/dist/Progress-C9SsdwIZ.js +0 -274
- package/dist/ScrollingText-DY3W1Jfh.js +0 -40
- package/dist/SelectGroup-Dcczq44n.js +0 -31
- package/dist/SelectScrollDownButton-3mFHX_R-.js +0 -260
- package/dist/SelectSeparator-CNRGG7Ew.js +0 -49
- package/dist/Separator-Cf9-JFgi.js +0 -44
- package/dist/Switch-uf-UKPA2.js +0 -49
- package/dist/Toaster-ozrsR4mP.js +0 -274
- package/dist/ToggleGroupItem-BpzaVzNm.js +0 -170
- package/dist/TooltipProvider-QQVM_80r.js +0 -109
- package/dist/api/index.d.ts +0 -34
- package/dist/api/types-extra.d.ts +0 -39
- package/dist/api.js +0 -2
- package/dist/badge-Bt14yURi.js +0 -72
- package/dist/border-progress.d.ts +0 -1
- package/dist/border-progress.js +0 -98
- package/dist/button-D1W9PrzI.js +0 -130
- package/dist/chipVariants-BJQ0I2kB.js +0 -18
- package/dist/cn-DJXf4yaB.js +0 -97
- package/dist/coalesceMetric-5qIeZnTx.js +0 -13
- package/dist/color-B9jZdhJX.js +0 -116
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +0 -56
- package/dist/components/custom/aurora/Aurora.vue.d.ts +0 -101
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +0 -39
- package/dist/components/custom/aurora/composables/atoms.d.ts +0 -142
- package/dist/components/custom/aurora/composables/color.d.ts +0 -93
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +0 -78
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +0 -39
- package/dist/components/custom/aurora/composables/glSetup.d.ts +0 -29
- package/dist/components/custom/aurora/composables/runtime.d.ts +0 -127
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -100
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +0 -60
- package/dist/components/custom/aurora/composables/useAurora.d.ts +0 -86
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +0 -33
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +0 -37
- package/dist/components/custom/aurora/constants/presets.d.ts +0 -258
- package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +0 -1
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +0 -2
- package/dist/components/custom/aurora/index.d.ts +0 -13
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +0 -46
- package/dist/components/custom/border-progress/composables/spectrum-walk.d.ts +0 -25
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +0 -18
- package/dist/components/custom/border-progress/constants.d.ts +0 -59
- package/dist/components/custom/border-progress/index.d.ts +0 -4
- package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +0 -21
- package/dist/components/custom/completion-seal/constants.d.ts +0 -46
- package/dist/components/custom/concentric/Concentric.vue.d.ts +0 -42
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +0 -23
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +0 -26
- package/dist/components/custom/concentric/composables/levelField.d.ts +0 -50
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +0 -17
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +0 -35
- package/dist/components/custom/concentric/constants.d.ts +0 -88
- package/dist/components/custom/concentric/index.d.ts +0 -5
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +0 -4
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +0 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +0 -160
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +0 -79
- package/dist/components/custom/configurator/density.d.ts +0 -25
- package/dist/components/custom/configurator/index.d.ts +0 -6
- package/dist/components/custom/confirm-dialog/ConfirmDialog.vue.d.ts +0 -32
- package/dist/components/custom/confirm-dialog/index.d.ts +0 -1
- package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -33
- package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +0 -10
- package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +0 -19
- package/dist/components/custom/constellation/composables/uniformBridgeWGPU.d.ts +0 -66
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +0 -19
- package/dist/components/custom/constellation/constants.d.ts +0 -94
- package/dist/components/custom/constellation/constellationField.d.ts +0 -72
- package/dist/components/custom/constellation/constellationInteraction.d.ts +0 -141
- package/dist/components/custom/constellation/constellationRender.d.ts +0 -25
- package/dist/components/custom/constellation/constellationTypes.d.ts +0 -407
- package/dist/components/custom/constellation/index.d.ts +0 -6
- package/dist/components/custom/constellation/shaders/constellation-lines.glsl.d.ts +0 -2
- package/dist/components/custom/constellation/shaders/constellation-lines.wgsl.d.ts +0 -1
- package/dist/components/custom/constellation/shaders/constellation-points.glsl.d.ts +0 -2
- package/dist/components/custom/constellation/shaders/constellation-points.wgsl.d.ts +0 -1
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +0 -34
- package/dist/components/custom/deck/composables/useDeckSpring.d.ts +0 -22
- package/dist/components/custom/deck/constants.d.ts +0 -14
- package/dist/components/custom/deck/index.d.ts +0 -8
- package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +0 -46
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +0 -30
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +0 -72
- package/dist/components/custom/dock/DockLayer.vue.d.ts +0 -34
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +0 -51
- package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +0 -19
- package/dist/components/custom/dock/DockSelectTrigger.vue.d.ts +0 -29
- package/dist/components/custom/dock/DockStack.vue.d.ts +0 -78
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +0 -39
- package/dist/components/custom/dock/GlassDock.vue.d.ts +0 -47
- package/dist/components/custom/dock/composables/dockContext.d.ts +0 -47
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +0 -36
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -79
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +0 -86
- package/dist/components/custom/dock/composables/index.d.ts +0 -14
- package/dist/components/custom/dock/composables/railProjection.d.ts +0 -45
- package/dist/components/custom/dock/composables/useDockClickIntegrity.d.ts +0 -23
- package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +0 -192
- package/dist/components/custom/dock/composables/useDockFission.d.ts +0 -158
- package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +0 -18
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +0 -44
- package/dist/components/custom/dock/composables/useDockSearch.d.ts +0 -85
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -214
- package/dist/components/custom/dock/composables/useDockState.d.ts +0 -70
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -90
- package/dist/components/custom/dock/constants.d.ts +0 -98
- package/dist/components/custom/dock/index.d.ts +0 -24
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +0 -42
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +0 -104
- package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +0 -8
- package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +0 -9
- package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +0 -12
- package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +0 -7
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +0 -65
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +0 -35
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +0 -32
- package/dist/components/custom/dot-flow-field/constants.d.ts +0 -120
- package/dist/components/custom/dot-flow-field/index.d.ts +0 -5
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +0 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +0 -33
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +0 -2
- package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +0 -43
- package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +0 -89
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -61
- package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +0 -34
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +0 -34
- package/dist/components/custom/dot-matrix/constants.d.ts +0 -72
- package/dist/components/custom/dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +0 -4
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +0 -1
- package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +0 -33
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +0 -49
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +0 -80
- package/dist/components/custom/easing/constants.d.ts +0 -28
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +0 -71
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +0 -31
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +0 -58
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +0 -24
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +0 -31
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +0 -56
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +0 -63
- package/dist/components/custom/fourier-field/constants.d.ts +0 -117
- package/dist/components/custom/fourier-field/index.d.ts +0 -31
- package/dist/components/custom/fourier-field/math.d.ts +0 -86
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +0 -4
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +0 -1
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +0 -49
- package/dist/components/custom/glass-panel/index.d.ts +0 -2
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +0 -71
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +0 -62
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +0 -69
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +0 -23
- package/dist/components/custom/goo-blob/constants.d.ts +0 -82
- package/dist/components/custom/goo-blob/index.d.ts +0 -7
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
- package/dist/components/custom/goo-blob/types.d.ts +0 -244
- package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +0 -49
- package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +0 -24
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +0 -79
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +0 -45
- package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +0 -31
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +0 -115
- package/dist/components/custom/goo-dot-matrix/index.d.ts +0 -5
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +0 -13
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +0 -4
- package/dist/components/custom/handmark/HandMark.vue.d.ts +0 -29
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +0 -89
- package/dist/components/custom/handmark/constants.d.ts +0 -59
- package/dist/components/custom/handmark/geometry.d.ts +0 -85
- package/dist/components/custom/handmark/index.d.ts +0 -27
- package/dist/components/custom/handmark/types.d.ts +0 -62
- package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
- package/dist/components/custom/header-ribbon/index.d.ts +0 -2
- package/dist/components/custom/header-ribbon/types.d.ts +0 -7
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +0 -132
- package/dist/components/custom/hover-popover/index.d.ts +0 -1
- package/dist/components/custom/infinite-scroll/index.d.ts +0 -1
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +0 -108
- package/dist/components/custom/labeled-field/LabeledInput.vue.d.ts +0 -31
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +0 -40
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +0 -108
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +0 -120
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +0 -92
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +0 -48
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +0 -39
- package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +0 -42
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +0 -105
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +0 -18
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +0 -21
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +0 -16
- package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +0 -31
- package/dist/components/custom/paper-grid/constants.d.ts +0 -95
- package/dist/components/custom/paper-grid/index.d.ts +0 -5
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +0 -4
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +0 -1
- package/dist/components/custom/pulse/Pulse.vue.d.ts +0 -53
- package/dist/components/custom/scrolling-text/ScrollingText.vue.d.ts +0 -20
- package/dist/components/custom/scrolling-text/index.d.ts +0 -1
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +0 -22
- package/dist/components/custom/search/SearchBar.vue.d.ts +0 -38
- package/dist/components/custom/search/searchVariants.d.ts +0 -19
- package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +0 -50
- package/dist/components/custom/selectable-chip/chipVariants.d.ts +0 -39
- package/dist/components/custom/selectable-chip/index.d.ts +0 -2
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +0 -15
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableItem.vue.d.ts +0 -38
- package/dist/components/custom/sortable-list/SortableList.vue.d.ts +0 -76
- package/dist/components/custom/sortable-list/context.d.ts +0 -25
- package/dist/components/custom/sortable-list/index.d.ts +0 -4
- package/dist/components/custom/split-chars/SplitChars.vue.d.ts +0 -39
- package/dist/components/custom/stacked-icons/StackedIconGroup.vue.d.ts +0 -30
- package/dist/components/custom/stacked-icons/index.d.ts +0 -2
- package/dist/components/custom/stacked-icons/types.d.ts +0 -18
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +0 -99
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +0 -42
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +0 -58
- package/dist/components/custom/tabs/constants.d.ts +0 -44
- package/dist/components/custom/tabs/index.d.ts +0 -2
- package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +0 -49
- package/dist/components/custom/timeline/ContinuousTimeline.vue.d.ts +0 -118
- package/dist/components/custom/timeline/GlassTimeline.vue.d.ts +0 -114
- package/dist/components/custom/toggle-chip/ToggleChip.vue.d.ts +0 -41
- package/dist/components/custom/toggle-chip/index.d.ts +0 -28
- package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +0 -85
- package/dist/components/custom/typewriter/composables/useTypewriter.d.ts +0 -22
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +0 -74
- package/dist/components/custom/watercolor-dot/prng.d.ts +0 -5
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +0 -29
- package/dist/components/ui/_shared/ModalOverlay.vue.d.ts +0 -90
- package/dist/components/ui/_shared/index.d.ts +0 -6
- package/dist/components/ui/_shared/menuItemVariants.d.ts +0 -51
- package/dist/components/ui/_shared/useControlSize.d.ts +0 -46
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +0 -55
- package/dist/components/ui/alert/Alert.vue.d.ts +0 -19
- package/dist/components/ui/alert/index.d.ts +0 -8
- package/dist/components/ui/avatar/Avatar.vue.d.ts +0 -23
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +0 -8
- package/dist/components/ui/avatar/index.d.ts +0 -9
- package/dist/components/ui/badge/Badge.vue.d.ts +0 -34
- package/dist/components/ui/badge/index.d.ts +0 -8
- package/dist/components/ui/button/Button.vue.d.ts +0 -29
- package/dist/components/ui/button/index.d.ts +0 -7
- package/dist/components/ui/card/Card.vue.d.ts +0 -168
- package/dist/components/ui/card/CardHeader.vue.d.ts +0 -81
- package/dist/components/ui/card/ScrollCard.vue.d.ts +0 -33
- package/dist/components/ui/carousel/Carousel.vue.d.ts +0 -37
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +0 -14
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +0 -22
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +0 -22
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +0 -50
- package/dist/components/ui/carousel/index.d.ts +0 -9
- package/dist/components/ui/carousel/useCarousel.d.ts +0 -20
- package/dist/components/ui/combobox/Combobox.vue.d.ts +0 -29
- package/dist/components/ui/combobox/ComboboxList.vue.d.ts +0 -32
- package/dist/components/ui/combobox/ComboboxSeparator.vue.d.ts +0 -18
- package/dist/components/ui/combobox/ComboboxViewport.vue.d.ts +0 -18
- package/dist/components/ui/combobox/index.d.ts +0 -11
- package/dist/components/ui/command/Command.vue.d.ts +0 -38
- package/dist/components/ui/command/CommandDialog.vue.d.ts +0 -24
- package/dist/components/ui/command/index.d.ts +0 -9
- package/dist/components/ui/context-menu/ContextMenu.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuCheckboxItem.vue.d.ts +0 -24
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuItem.vue.d.ts +0 -23
- package/dist/components/ui/context-menu/ContextMenuLabel.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuRadioGroup.vue.d.ts +0 -18
- package/dist/components/ui/context-menu/ContextMenuRadioItem.vue.d.ts +0 -22
- package/dist/components/ui/context-menu/ContextMenuSeparator.vue.d.ts +0 -8
- package/dist/components/ui/context-menu/ContextMenuShortcut.vue.d.ts +0 -17
- package/dist/components/ui/context-menu/ContextMenuSubContent.vue.d.ts +0 -34
- package/dist/components/ui/context-menu/ContextMenuSubTrigger.vue.d.ts +0 -19
- package/dist/components/ui/context-menu/ContextMenuTrigger.vue.d.ts +0 -14
- package/dist/components/ui/context-menu/index.d.ts +0 -12
- package/dist/components/ui/data-table/DataTable.vue.d.ts +0 -82
- package/dist/components/ui/data-table/index.d.ts +0 -3
- package/dist/components/ui/data-table/types.d.ts +0 -56
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +0 -93
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -33
- package/dist/components/ui/dialog/index.d.ts +0 -9
- package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -86
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +0 -47
- package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +0 -26
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +0 -17
- package/dist/components/ui/drawer/constants.d.ts +0 -47
- package/dist/components/ui/drawer/index.d.ts +0 -35
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +0 -18
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -14
- package/dist/components/ui/dropdown-menu/index.d.ts +0 -15
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +0 -18
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +0 -23
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +0 -14
- package/dist/components/ui/hover-card/index.d.ts +0 -3
- package/dist/components/ui/index.d.ts +0 -41
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +0 -46
- package/dist/components/ui/metric-pill/index.d.ts +0 -1
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +0 -28
- package/dist/components/ui/multi-select/index.d.ts +0 -7
- package/dist/components/ui/notification/Notification.vue.d.ts +0 -16
- package/dist/components/ui/popover/Popover.vue.d.ts +0 -18
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +0 -42
- package/dist/components/ui/popover/PopoverTrigger.vue.d.ts +0 -14
- package/dist/components/ui/progress/Progress.vue.d.ts +0 -49
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +0 -25
- package/dist/components/ui/progress/ProgressGradient.vue.d.ts +0 -25
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +0 -47
- package/dist/components/ui/progress/index.d.ts +0 -5
- package/dist/components/ui/progress/useProgressGeometry.d.ts +0 -60
- package/dist/components/ui/section/Section.vue.d.ts +0 -73
- package/dist/components/ui/section/index.d.ts +0 -1
- package/dist/components/ui/select/SelectContent.vue.d.ts +0 -42
- package/dist/components/ui/select/index.d.ts +0 -10
- package/dist/components/ui/sheet/Sheet.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetClose.vue.d.ts +0 -14
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +0 -59
- package/dist/components/ui/sheet/SheetDescription.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetFooter.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetHeader.vue.d.ts +0 -17
- package/dist/components/ui/sheet/SheetTitle.vue.d.ts +0 -18
- package/dist/components/ui/sheet/SheetTrigger.vue.d.ts +0 -14
- package/dist/components/ui/sheet/index.d.ts +0 -13
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +0 -35
- package/dist/components/ui/slider/Slider.vue.d.ts +0 -37
- package/dist/components/ui/slider/index.d.ts +0 -46
- package/dist/components/ui/table/Table.vue.d.ts +0 -17
- package/dist/components/ui/tabs/Tabs.vue.d.ts +0 -19
- package/dist/components/ui/tabs/TabsContent.vue.d.ts +0 -18
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +0 -11
- package/dist/components/ui/tabs/TabsList.vue.d.ts +0 -28
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts +0 -18
- package/dist/components/ui/tabs/index.d.ts +0 -5
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +0 -28
- package/dist/components/ui/toast/Toast.vue.d.ts +0 -107
- package/dist/components/ui/toast/index.d.ts +0 -9
- package/dist/components/ui/toast/use-toast.d.ts +0 -182
- package/dist/components/ui/toggle/Toggle.vue.d.ts +0 -29
- package/dist/components/ui/toggle/index.d.ts +0 -26
- package/dist/composables/glass/useGlassRenderer.d.ts +0 -44
- package/dist/composables/glass/useVizChoreography.d.ts +0 -123
- package/dist/composables/motion/core/useHaptic.d.ts +0 -48
- package/dist/composables/motion/useCelebrationBurst.d.ts +0 -50
- package/dist/composables/motion/useLiquidMorph.d.ts +0 -108
- package/dist/composables/motion/useMorphField.d.ts +0 -157
- package/dist/composables/sortable/dragController.d.ts +0 -44
- package/dist/composables/sortable/types.d.ts +0 -133
- package/dist/composables/sortable/useSortable.d.ts +0 -34
- package/dist/concentric.d.ts +0 -1
- package/dist/concentric.js +0 -805
- package/dist/confirm-dialog.d.ts +0 -1
- package/dist/confirm-dialog.js +0 -82
- package/dist/context-menu.d.ts +0 -1
- package/dist/context-menu.js +0 -3
- package/dist/createCanvasLifecycle-CuCrGRfq.js +0 -173
- package/dist/dockContext-gFVS2gMg.js +0 -18
- package/dist/dot-flow-field.d.ts +0 -1
- package/dist/dot-flow-field.js +0 -1485
- package/dist/dot-matrix.d.ts +0 -1
- package/dist/dot-matrix.js +0 -774
- package/dist/dotMatrixField-CRO0ZFk4.js +0 -48
- package/dist/dropdown-menu-CCfcCQ68.js +0 -369
- package/dist/glass-panel.d.ts +0 -1
- package/dist/glass-panel.js +0 -113
- package/dist/goo-blob.d.ts +0 -1
- package/dist/goo-blob.js +0 -348
- package/dist/goo-dot-matrix.d.ts +0 -1
- package/dist/goo-dot-matrix.js +0 -811
- package/dist/hover-card.d.ts +0 -1
- package/dist/hover-card.js +0 -2
- package/dist/hover-popover.d.ts +0 -1
- package/dist/hover-popover.js +0 -2
- package/dist/math-5RcIgCB4.js +0 -51
- package/dist/menuItemVariants-DAXquKja.js +0 -36
- package/dist/paper-grid.d.ts +0 -1
- package/dist/paper-grid.js +0 -761
- package/dist/paperGrid-CXCSMbZ1.js +0 -191
- package/dist/presets-QvYgnFIZ.js +0 -85
- package/dist/prng-B5tIXTtj.js +0 -15
- package/dist/procedural-color.wgsl-C1Y5PkM6.js +0 -4
- package/dist/resolveCanvasColor-DsSJk06I.js +0 -93
- package/dist/scrolling-text.d.ts +0 -1
- package/dist/scrolling-text.js +0 -2
- package/dist/selectable-chip.d.ts +0 -1
- package/dist/selectable-chip.js +0 -48
- package/dist/sheet-DUCIoOe0.js +0 -218
- package/dist/sheet.d.ts +0 -1
- package/dist/sheet.js +0 -2
- package/dist/slider-CcICPe3u.js +0 -149
- package/dist/spectrum-walk-cBNSx_zm.js +0 -33
- package/dist/springPresets-DfoQ6XRY.js +0 -64
- package/dist/stacked-icons.d.ts +0 -1
- package/dist/stacked-icons.js +0 -98
- package/dist/styles/border-progress.css +0 -109
- package/dist/styles/cards.css +0 -448
- package/dist/styles/completion-seal.css +0 -131
- package/dist/styles/configurator.css +0 -297
- package/dist/styles/critical-partition.mjs +0 -195
- package/dist/styles/critical.css +0 -12
- package/dist/styles/deferred.css +0 -35
- package/dist/styles/dock/adaptive-legibility.css +0 -119
- package/dist/styles/dock/cta-seat.css +0 -87
- package/dist/styles/dock/density.css +0 -455
- package/dist/styles/dock/fission-bridge.css +0 -552
- package/dist/styles/dock/layer-group.css +0 -333
- package/dist/styles/dock/layers.css +0 -413
- package/dist/styles/dock/morph-bridge.css +0 -172
- package/dist/styles/dock/morph.css +0 -430
- package/dist/styles/dock/overflow.css +0 -292
- package/dist/styles/dock/search.css +0 -68
- package/dist/styles/dock/section.css +0 -59
- package/dist/styles/dock/shape.css +0 -250
- package/dist/styles/dock/shell.css +0 -498
- package/dist/styles/dock/stack-rail.css +0 -352
- package/dist/styles/dock-controls/dark-mode-toggle.css +0 -122
- package/dist/styles/dock-controls/icon-button.css +0 -189
- package/dist/styles/dock-controls/tab-button.css +0 -143
- package/dist/styles/dock-controls/touch-floor.css +0 -94
- package/dist/styles/dock-controls/triggers.css +0 -157
- package/dist/styles/dock-controls.css +0 -92
- package/dist/styles/dock.css +0 -173
- package/dist/styles/drawer.css +0 -406
- package/dist/styles/feedback-tone.css +0 -104
- package/dist/styles/floating-panel.css +0 -51
- package/dist/styles/glass/liquid-morph.css +0 -850
- package/dist/styles/hover-popover.css +0 -47
- package/dist/styles/icon-chip.css +0 -256
- package/dist/styles/instrument-chassis.css +0 -453
- package/dist/styles/jubilance.css +0 -65
- package/dist/styles/menu.css +0 -127
- package/dist/styles/motion/morph-field.css +0 -229
- package/dist/styles/segmented-tabs.css +0 -447
- package/dist/styles/select.css +0 -201
- package/dist/styles/utilities/animate.css +0 -29
- package/dist/toggle-chip.d.ts +0 -1
- package/dist/toggle-chip.js +0 -46
- package/dist/uniformBridgeWGPU-BCse1SHU.js +0 -1268
- package/dist/useAnimatedNumber-BntskVdQ.js +0 -40
- package/dist/useConfiguratorState-22BcULzF.js +0 -164
- package/dist/useControlSize-DAZ062x7.js +0 -9
- package/dist/useDockCtaReceive-DX7RDb6_.js +0 -88
- package/dist/useDragMorph-DGLSewwB.js +0 -102
- package/dist/useFuzzySearch-0fTYOhS4.js +0 -177
- package/dist/useGlobalDark-B4HO9LXG.js +0 -53
- package/dist/useGooMorph-Cs13NgYL.js +0 -104
- package/dist/useGpuSubstrate-Ceet70xq.js +0 -347
- package/dist/useHaptic-CPz5BT9I.js +0 -134
- package/dist/useIntersectionPause-DO8Vl4gs.js +0 -53
- package/dist/useInterval-BVUI-sez.js +0 -18
- package/dist/useKeyboardShortcuts-BEut54Tk.js +0 -99
- package/dist/useLiquidPress-CtOQ8Z0_.js +0 -43
- package/dist/useMorphField-ogBM7ubT.js +0 -141
- package/dist/usePointerVelocityField-BrkqZFhj.js +0 -91
- package/dist/useScrollChrome-JuImi1DM.js +0 -258
- package/dist/useScrollProgress-A0M6qRl7.js +0 -35
- package/dist/useSortable-DQV_UNDw.js +0 -246
- package/dist/useSpring-C0jyvEJB.js +0 -40
- package/dist/useSpringMount-DFxtzmkR.js +0 -71
- package/dist/useSpringPress-VM9RgVq3.js +0 -36
- package/dist/useSurfaceAxis-Ci7Dnaw2.js +0 -7
- package/dist/useTextHighlight-Bma3UlKA.js +0 -72
- package/dist/useTouchGate-B1Lf9XqN.js +0 -84
- package/dist/useUserInvalidAria-EmmwWPOl.js +0 -29
- package/dist/useViewportReady-C9pYnn7K.js +0 -191
- package/dist/utils/cn.d.ts +0 -27
- package/dist/utils/index.d.ts +0 -4
- package/dist/utils/moveBefore.d.ts +0 -15
- package/dist/utils/platformSupport.d.ts +0 -8
- package/dist/vendor-B2qOlYY3.js +0 -239
- package/dist/virtual.d.ts +0 -1
- package/dist/virtual.js +0 -225
- package/src/styles/border-progress.css +0 -109
- package/src/styles/cards.css +0 -446
- package/src/styles/completion-seal.css +0 -131
- package/src/styles/configurator.css +0 -297
- package/src/styles/critical-partition.mjs +0 -195
- package/src/styles/dock/adaptive-legibility.css +0 -119
- package/src/styles/dock/cta-seat.css +0 -87
- package/src/styles/dock/density.css +0 -455
- package/src/styles/dock/fission-bridge.css +0 -552
- package/src/styles/dock/layer-group.css +0 -333
- package/src/styles/dock/layers.css +0 -413
- package/src/styles/dock/morph-bridge.css +0 -172
- package/src/styles/dock/morph.css +0 -430
- package/src/styles/dock/overflow.css +0 -292
- package/src/styles/dock/search.css +0 -68
- package/src/styles/dock/section.css +0 -59
- package/src/styles/dock/shape.css +0 -250
- package/src/styles/dock/shell.css +0 -498
- package/src/styles/dock/stack-rail.css +0 -352
- package/src/styles/dock-controls/dark-mode-toggle.css +0 -122
- package/src/styles/dock-controls/icon-button.css +0 -189
- package/src/styles/dock-controls/tab-button.css +0 -143
- package/src/styles/dock-controls/touch-floor.css +0 -94
- package/src/styles/dock-controls/triggers.css +0 -157
- package/src/styles/dock-controls.css +0 -92
- package/src/styles/dock.css +0 -173
- package/src/styles/drawer.css +0 -398
- package/src/styles/feedback-tone.css +0 -104
- package/src/styles/floating-panel.css +0 -49
- package/src/styles/glass/liquid-morph.css +0 -850
- package/src/styles/hover-popover.css +0 -45
- package/src/styles/icon-chip.css +0 -256
- package/src/styles/instrument-chassis.css +0 -449
- package/src/styles/jubilance.css +0 -65
- package/src/styles/menu.css +0 -127
- package/src/styles/motion/morph-field.css +0 -229
- package/src/styles/segmented-tabs.css +0 -445
- package/src/styles/select.css +0 -201
- package/src/styles/utilities/animate.css +0 -29
- /package/dist/{_plugin-vue_export-helper-gLzyemvl.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{compile-INR_tPk_.js → compile-DK3Fri1B.js} +0 -0
- /package/dist/components/{ui/_shared → _shared}/useStalePropWarning.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/Accordion.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionContent.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionItem.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/AccordionTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/accordion → accordion}/index.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/alert → alert}/AlertTitle.vue.d.ts +0 -0
- /package/dist/components/{custom/animated-digit → animated-digit}/index.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/auroraFallbackGround.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/composables/configSource.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/budget.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/renderMode.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.frag.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/aurora.vert.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/composition.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/oil-modes.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/procedural-color.wgsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/tonemap.glsl.d.ts +0 -0
- /package/dist/components/{custom/aurora → aurora}/constants/shaders/vangogh-medium.glsl.d.ts +0 -0
- /package/dist/components/{ui/avatar → avatar}/AvatarFallback.vue.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/buildMetaballProgram.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/easing.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/uniformBridgeWGPU.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/useBlobMood.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/composables/useBlobSatellites.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-noise.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball-palette.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.frag.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.vert.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/metaball.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/oklch-perturb.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/sdf-body.glsl.d.ts +0 -0
- /package/dist/components/{custom/goo-blob → blob}/shaders/watercolor-edges.glsl.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardAction.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardContent.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/CardTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/ScrollCardHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/card → card}/index.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselItem.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/CarouselPager.vue.d.ts +0 -0
- /package/dist/components/{ui/carousel → carousel}/interface.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/Checkbox.vue.d.ts +0 -0
- /package/dist/components/{ui/checkbox → checkbox}/index.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/Collapsible.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleContent.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/CollapsibleTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/collapsible → collapsible}/index.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/ColorSwatch.vue.d.ts +0 -0
- /package/dist/components/{custom/color-swatch → color-swatch}/index.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxAnchor.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxInput.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/combobox → combobox}/ComboboxItemIndicator.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandInput.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandItem.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandList.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/command → command}/CommandShortcut.vue.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/composables/useCompletionSeal.d.ts +0 -0
- /package/dist/components/{custom/completion-seal → completion-seal}/index.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/ConfiguratorLayer.vue.d.ts +0 -0
- /package/dist/components/{custom/configurator → configurator}/useConfiguratorState.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/composables/createConstellationField.d.ts +0 -0
- /package/dist/components/{custom/constellation → constellation}/constellationWell.d.ts +0 -0
- /package/dist/components/{custom/controls → controls}/index.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/DataTablePagination.vue.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableResponsive.d.ts +0 -0
- /package/dist/components/{ui/data-table → data-table}/composables/useDataTableRowIdentity.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/DeckPager.vue.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeck.d.ts +0 -0
- /package/dist/components/{custom/deck → deck}/composables/useDeckKeyboard.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/Dialog.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogClose.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/dialog → dialog}/DialogTrigger.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSection.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/DockSeparator.vue.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/isTeleportedTarget.d.ts +0 -0
- /package/dist/components/{custom/dock → dock}/composables/useDockHold.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerFooter.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerOverlay.vue.d.ts +0 -0
- /package/dist/components/{ui/drawer → drawer}/DrawerTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuCheckboxItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuRadioItem.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuShortcut.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSub.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubContent.vue.d.ts +0 -0
- /package/dist/components/{ui/dropdown-menu → dropdown-menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
- /package/dist/components/{custom/easing → easing}/index.d.ts +0 -0
- /package/dist/components/{custom/expandable-container → expandable-container}/index.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/FadingScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/constants.d.ts +0 -0
- /package/dist/components/{custom/fading-scroll → fading-scroll}/index.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/FocusScope.vue.d.ts +0 -0
- /package/dist/components/{ui/focus-scope → focus-scope}/index.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/presets.d.ts +0 -0
- /package/dist/components/{custom/fourier-field → fourier-field}/shaders/fourier-field.compute.wgsl.d.ts +0 -0
- /package/dist/components/{custom/goo-filter → goo-filter}/GooFilter.vue.d.ts +0 -0
- /package/dist/components/{custom/goo-filter → goo-filter}/index.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/brush.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/freehand.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/ink.d.ts +0 -0
- /package/dist/components/{custom/handmark → handmark}/texture.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/IconChip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/index.d.ts +0 -0
- /package/dist/components/{custom/icon-chip → icon-chip}/types.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/IconTooltip.vue.d.ts +0 -0
- /package/dist/components/{custom/icon-tooltip → icon-tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/InfiniteScroll.vue.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/infinite-scroll → infinite-scroll}/composables/useInfiniteScroll.d.ts +0 -0
- /package/dist/components/{ui/input → input}/Input.vue.d.ts +0 -0
- /package/dist/components/{ui/input → input}/index.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/ChassisDivider.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/InstrumentChassis.vue.d.ts +0 -0
- /package/dist/components/{custom/instrument-chassis → instrument-chassis}/index.d.ts +0 -0
- /package/dist/components/{ui/label → label}/Label.vue.d.ts +0 -0
- /package/dist/components/{ui/label → label}/index.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSelect.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSlider.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/LabeledSwitch.vue.d.ts +0 -0
- /package/dist/components/{custom/labeled-field → labeled-field}/index.d.ts +0 -0
- /package/dist/{utils/coalesceMetric.d.ts → components/metric/coalesce-metric.d.ts} +0 -0
- /package/dist/components/{custom/metric-badge → metric-badge}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-cell → metric-cell}/index.d.ts +0 -0
- /package/dist/components/{custom/metric-stack → metric-stack}/index.d.ts +0 -0
- /package/dist/components/{ui/notification → notification}/index.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberField.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldContent.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldDecrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldIncrement.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/NumberFieldInput.vue.d.ts +0 -0
- /package/dist/components/{ui/number-field → number-field}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/index.d.ts +0 -0
- /package/dist/components/{custom/pager-dots → pager-dots}/pagerWindow.d.ts +0 -0
- /package/dist/components/{custom/paper-backdrop → paper-backdrop}/index.d.ts +0 -0
- /package/dist/components/{ui/popover → popover}/index.d.ts +0 -0
- /package/dist/components/{custom/pulse → pulse}/index.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/RadioGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/radio-group → radio-group}/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/fuzzySearchIndex.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/types.d.ts +0 -0
- /package/dist/components/{custom/search → search}/composables/useFuzzySearch.d.ts +0 -0
- /package/dist/components/{custom/search → search}/index.d.ts +0 -0
- /package/dist/components/{ui/select → select}/Select.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectItem.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectLabel.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollDownButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectScrollUpButton.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectSeparator.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/select → select}/SelectValue.vue.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/Separator.vue.d.ts +0 -0
- /package/dist/components/{ui/separator → separator}/index.d.ts +0 -0
- /package/dist/components/{ui/skeleton → skeleton}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/dropResolver.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/ghostRenderer.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/index.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/touchGate.d.ts +0 -0
- /package/dist/{composables/sortable → components/sortable-list/composables}/transitionTiming.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/SpaView.vue.d.ts +0 -0
- /package/dist/components/{custom/spa-view → spa-view}/index.d.ts +0 -0
- /package/dist/components/{custom/split-chars → split-chars}/index.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/StatusDot.vue.d.ts +0 -0
- /package/dist/components/{custom/status-dot → status-dot}/index.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/Switch.vue.d.ts +0 -0
- /package/dist/components/{ui/switch → switch}/index.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableBody.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCaption.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableCell.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableEmpty.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHead.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableHeader.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/TableRow.vue.d.ts +0 -0
- /package/dist/components/{ui/table → table}/index.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputInput.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItem.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemDelete.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/TagsInputItemText.vue.d.ts +0 -0
- /package/dist/components/{ui/tags-input → tags-input}/index.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/Textarea.vue.d.ts +0 -0
- /package/dist/components/{ui/textarea → textarea}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ContinuousRail.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/ScrubberTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/SegmentedTimeline.vue.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/geometry.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/index.d.ts +0 -0
- /package/dist/components/{custom/timeline → timeline}/types.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastAction.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastClose.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastDescription.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/ToastTitle.vue.d.ts +0 -0
- /package/dist/components/{ui/toast → toast}/Toaster.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroup.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/ToggleGroupItem.vue.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/index.d.ts +0 -0
- /package/dist/components/{ui/toggle-group → toggle-group}/toggleGroupContext.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/Tooltip.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipContent.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipProvider.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/TooltipTrigger.vue.d.ts +0 -0
- /package/dist/components/{ui/tooltip → tooltip}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/composables/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/index.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/types.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/keyboard.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/pausePatterns.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/timing.d.ts +0 -0
- /package/dist/components/{custom/typewriter → typewriter}/utils/typoStateMachine.d.ts +0 -0
- /package/dist/components/{custom/watercolor-dot → watercolor-dot}/index.d.ts +0 -0
- /package/dist/{utils → composables/glass/procedural}/prng.d.ts +0 -0
- /package/dist/{constants-BWj7DkMn.js → constants-DRZmNIY-.js} +0 -0
- /package/dist/{createContext-Cd23P9j0.js → createContext-FU0n5MGK.js} +0 -0
- /package/dist/{flow.glsl-DqEGRpl4.js → flow.glsl-DEGFGE11.js} +0 -0
- /package/dist/{scrollReader-rc3Ns_NM.js → scrollReader-C2oK9Hb8.js} +0 -0
- /package/dist/{supportsCssTimeline-BWenxvHU.js → supportsCssTimeline-Dz-GVxXM.js} +0 -0
- /package/dist/{useDragVelocity-CjcfX3dA.js → useDragVelocity-CbMZEBaC.js} +0 -0
- /package/dist/{useLiquidFlex-Cc6PjVJD.js → useLiquidFlex-Ch4exNvN.js} +0 -0
- /package/dist/{useResizeObserver-DdEn3v2f.js → useResizeObserver-BcUTquV7.js} +0 -0
- /package/dist/{useResolveTokenColor-ChOnCckA.js → useResolveTokenColor-C07e-qaT.js} +0 -0
- /package/dist/{useTimer-BBLGPXR8.js → useTimer-D8koDvJS.js} +0 -0
- /package/dist/{vReveal-CT1KtwZA.js → vReveal-DZfWl9XI.js} +0 -0
- /package/dist/{vSpecular-EX7loENl.js → vSpecular-CQFmLNzA.js} +0 -0
- /package/dist/{writeVelocityWeight-Bh83xZfs.js → writeVelocityWeight-D_AcvTsE.js} +0 -0
|
@@ -1,14 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for {@link useUserInvalidAria}. Empty since the legacy
|
|
3
|
+
* `fallbackClasses` knob was retired at BG.NF.2 W-LEGACY-LADDER-COLLAPSE
|
|
4
|
+
* (`:user-invalid` is Baseline on the target set); the shape is kept as the
|
|
5
|
+
* canonical options seam for future extension.
|
|
6
|
+
*/
|
|
1
7
|
export interface UseUserInvalidAriaOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Also toggle the `.user-invalid-fallback` / `.user-valid-fallback`
|
|
4
|
-
* classes the W4.1 CSS rungs key off (for engines without `:user-invalid`
|
|
5
|
-
* support).
|
|
6
|
-
*
|
|
7
|
-
* Default: auto — `true` only when `CSS.supports('selector(:user-invalid)')`
|
|
8
|
-
* resolves `false`. Pass an explicit boolean to force the path (e.g. for a
|
|
9
|
-
* test that stubs feature detection).
|
|
10
|
-
*/
|
|
11
|
-
fallbackClasses?: boolean;
|
|
12
8
|
}
|
|
13
9
|
export interface UseUserInvalidAriaReturn {
|
|
14
10
|
/**
|
|
@@ -29,4 +25,4 @@ export interface UseUserInvalidAriaReturn {
|
|
|
29
25
|
* the `input` handler only CLEARS — never sets — so a programmatic `v-model`
|
|
30
26
|
* write can at worst clear a stale error, never mint a false one.
|
|
31
27
|
*/
|
|
32
|
-
export declare function useUserInvalidAria(
|
|
28
|
+
export declare function useUserInvalidAria(_opts?: UseUserInvalidAriaOptions): UseUserInvalidAriaReturn;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/** A 12-bucket chroma×alpha-weighted OKLCh hue accumulator over the SAME pixel pass. */
|
|
2
|
+
export interface HueHistogram {
|
|
3
|
+
/** chroma×alpha mass per hue bucket (the bucket weight). */
|
|
4
|
+
weight: Float64Array;
|
|
5
|
+
/** Σ chroma×alpha·cos(h) per bucket (for the circular-mean refine). */
|
|
6
|
+
sumCos: Float64Array;
|
|
7
|
+
/** Σ chroma×alpha·sin(h) per bucket. */
|
|
8
|
+
sumSin: Float64Array;
|
|
9
|
+
/** total chroma×alpha mass (the null-detection denominator numerator). */
|
|
10
|
+
totalMass: number;
|
|
11
|
+
/** total pixels accumulated (the null-mass denominator). */
|
|
12
|
+
n: number;
|
|
13
|
+
}
|
|
14
|
+
export declare function makeHueHistogram(): HueHistogram;
|
|
15
|
+
/**
|
|
16
|
+
* Bin ONE sRGB pixel (composited triple, already over-white) into the histogram,
|
|
17
|
+
* weighted by its OKLCh chroma × the source alpha — a low-chroma/gray pixel
|
|
18
|
+
* contributes ~0. The sRGB→OKLCh math is value.js's primitives (NOT hand-rolled).
|
|
19
|
+
*/
|
|
20
|
+
export declare function accumulateHuePixel(h: HueHistogram, r: number, g: number, b: number, alpha: number): void;
|
|
21
|
+
/**
|
|
22
|
+
* Resolve the histogram → a complete `oklch()` ambient-hue string, or `transparent`
|
|
23
|
+
* for a NULL (gray) sample. The modal bucket's chroma-weighted CIRCULAR MEAN is the
|
|
24
|
+
* picked hue; it is emitted at the FIXED sub-perceptual chroma/L (a HUE event, never
|
|
25
|
+
* the backdrop's saturation).
|
|
26
|
+
*/
|
|
27
|
+
export declare function resolveAmbientHue(h: HueHistogram): string;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/** The per-sample result — the luminance AND the ambient hue (the FREE rider). */
|
|
2
|
+
export interface SampleResult {
|
|
3
|
+
/** WCAG relative luminance of the sampled backdrop (0..1). */
|
|
4
|
+
luma: number;
|
|
5
|
+
/** A complete `oklch()` ambient-hue string, or `transparent` for a gray null. */
|
|
6
|
+
ambientHue: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* The KNOWN background-layer source for the ANIMATED case — an HTMLCanvasElement, a
|
|
10
|
+
* getter, a CSS selector resolved against the document, or null. The observer's
|
|
11
|
+
* `backgroundCanvas` option is this type.
|
|
12
|
+
*/
|
|
13
|
+
export type BackgroundCanvasSource = HTMLCanvasElement | (() => HTMLCanvasElement | null) | string | null;
|
|
14
|
+
/** The downsample resolution for the animated-field read (a 32×32 mean). */
|
|
15
|
+
export declare const SAMPLE_DOWNSAMPLE = 32;
|
|
16
|
+
export declare const FIELD_ALPHA_FLOOR = 0.02;
|
|
17
|
+
/** BG.W-FIELD-ACCENT-RECONCILE — the library convention marking the ONE shell
|
|
18
|
+
* field canvas (the recessive shell `<Aurora>` the demo chassis mounts behind every
|
|
19
|
+
* non-focal route; also the WS8 BACKDROP-SAMPLE marker). A glass surface that does
|
|
20
|
+
* NOT name an explicit `backgroundCanvas` auto-discovers this canvas so it samples
|
|
21
|
+
* the LIVE field rather than a static stack-walk; absent it (a focal route where the
|
|
22
|
+
* shell stands down, an SSR scope) the static `elementsFromPoint` path is the floor. */
|
|
23
|
+
export declare const SHELL_FIELD_CANVAS_SELECTOR = "[data-glass-field-canvas] canvas, canvas[data-glass-field-canvas]";
|
|
24
|
+
/**
|
|
25
|
+
* Resolve the animated-case source canvas from the observer's `backgroundCanvas`
|
|
26
|
+
* option (an element, a getter, a selector, or nullish). A nullish source
|
|
27
|
+
* auto-discovers the shell field canvas — the rewire to the live shell field
|
|
28
|
+
* (backward-safe: no field canvas → null → the static elementsFromPoint path).
|
|
29
|
+
*/
|
|
30
|
+
export declare function resolveSourceCanvas(src: BackgroundCanvasSource | undefined): HTMLCanvasElement | null;
|
|
31
|
+
/**
|
|
32
|
+
* Robust CSS-color → sRGB `[r,g,b,a]`. `parseRgb` is the fast path for the legacy
|
|
33
|
+
* `rgb()/rgba()` serialization; ANY other valid CSS color form — the MODERN
|
|
34
|
+
* `oklch()` / `color(srgb …)` / `hsl()` tokens the warm-cream demo basis resolves to —
|
|
35
|
+
* is normalized by painting it onto the 1×1 corner of the reused 2D canvas (passed in)
|
|
36
|
+
* and reading the composited pixel back (`getImageData` ALWAYS returns integer sRGB
|
|
37
|
+
* whatever the source space). BG.W-GLASS-SIGNAL-TRUTH: without this `sampleStatic`
|
|
38
|
+
* returned null on a `color(srgb …)`/`oklch(…)` backdrop and wrote NOTHING — the static
|
|
39
|
+
* floor was a DEAD channel. The static floor is now writer-true over ANY backdrop.
|
|
40
|
+
*/
|
|
41
|
+
export declare function normalizeToRgb(css: string, ctx: CanvasRenderingContext2D | null): [number, number, number, number] | null;
|
|
42
|
+
/**
|
|
43
|
+
* Sample the ANIMATED backdrop: downsample the resolved source canvas under the
|
|
44
|
+
* surface's bounding box → mean relative luminance + the ambient-hue histogram (a FREE
|
|
45
|
+
* rider over the SAME pixel pass). Returns null if no source / an all-transparent
|
|
46
|
+
* (unrendered) field / a tainted canvas — the caller falls to the static stack-walk.
|
|
47
|
+
*/
|
|
48
|
+
export declare function sampleAnimated(el: HTMLElement, source: HTMLCanvasElement | null, ctx: CanvasRenderingContext2D | null): SampleResult | null;
|
|
49
|
+
/**
|
|
50
|
+
* Sample the STATIC backdrop: stack-walk `elementsFromPoint` at the surface centre,
|
|
51
|
+
* read the first element under it with a resolved non-transparent background, un-wrap
|
|
52
|
+
* the `var(--token)` through the resolveTokenColor leaf → relative luminance + the
|
|
53
|
+
* ambient hue (the single resolved background color binned the SAME way). The reusable
|
|
54
|
+
* 2D context (for the modern-color normalization paint-read) is passed in.
|
|
55
|
+
*/
|
|
56
|
+
export declare function sampleStatic(el: HTMLElement, ctx: CanvasRenderingContext2D | null): SampleResult | null;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** WCAG relative luminance of an sRGB triple [0..255]. */
|
|
2
|
+
export declare function relLuminance(r: number, g: number, b: number): number;
|
|
3
|
+
/** Parse a `rgb()/rgba()` string → [r,g,b,a] (the un-wrapped concrete form). */
|
|
4
|
+
export declare function parseRgb(str: string): [number, number, number, number] | null;
|
|
5
|
+
export declare function isCanvas(v: unknown): v is HTMLCanvasElement;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ONE shared texture-upload primitive (BG.W-AUR-IMAGE-SOURCE).
|
|
3
|
+
*
|
|
4
|
+
* A photo entering a dual-engine (WebGL2 + WebGPU) shader family has ONE genuine
|
|
5
|
+
* cross-engine hazard: the WebGL2 and WebGPU uploads DIFFER on premultiply /
|
|
6
|
+
* colour-space / flip-Y defaults (gpuweb #4356; Safari's
|
|
7
|
+
* `copyExternalImageToTexture(ImageBitmap)` history). Left ad-hoc per site it bites
|
|
8
|
+
* invisibly and per-backend. This module NORMALISES the decode + declares the SAME
|
|
9
|
+
* flag set EXPLICITLY on both upload legs, so a texture reads identically on Chromium
|
|
10
|
+
* and WebKit — the single seam every image-consuming viz routes through.
|
|
11
|
+
*
|
|
12
|
+
* The ≥2-consumer bar is met by construction: `<Aurora source="image">` is consumer
|
|
13
|
+
* #1 (this wave BUILDS the seam); `BD.W-DOT-IMAGE` (the dot-matrix image variant) is
|
|
14
|
+
* the booked consumer #2 — whichever landed first BUILDS it, the other CONSUMES it
|
|
15
|
+
* (the first-to-land-builds contract). Recorded in
|
|
16
|
+
* `docs/consumer-evidence/texture-upload.md`.
|
|
17
|
+
*
|
|
18
|
+
* INTERNAL — off the public `src/composables/glass/index.ts` barrel (the WebGL2 /
|
|
19
|
+
* WebGPU substrates are likewise): aurora + dot-image compose it via a direct
|
|
20
|
+
* relative import.
|
|
21
|
+
*
|
|
22
|
+
* The decode contract (BOTH legs share it):
|
|
23
|
+
* `createImageBitmap(blob, { premultiplyAlpha: "none", colorSpaceConversion: "none" })`
|
|
24
|
+
* so the decoded bytes are raw sRGB-encoded, un-premultiplied — the shader owns the
|
|
25
|
+
* sRGB→linear transfer + the premultiply-on-display, exactly like the procedural path.
|
|
26
|
+
*/
|
|
27
|
+
/** The shared decode options — the ONE normalised `createImageBitmap` flag set. */
|
|
28
|
+
export declare const IMAGE_DECODE_OPTIONS: ImageBitmapOptions;
|
|
29
|
+
/**
|
|
30
|
+
* An already-uploadable image source — a decoded bitmap or a live DOM raster that
|
|
31
|
+
* both `gl.texImage2D` and `queue.copyExternalImageToTexture` accept directly.
|
|
32
|
+
*/
|
|
33
|
+
export type UploadableImageSource = ImageBitmap | HTMLImageElement | HTMLCanvasElement | OffscreenCanvas | ImageData;
|
|
34
|
+
/**
|
|
35
|
+
* Anything a consumer may hand the axis: a URL string / `Blob` (needs a decode) OR an
|
|
36
|
+
* already-uploadable source (passed straight through). `resolveImageSource` normalises
|
|
37
|
+
* every form to an {@link UploadableImageSource} via the shared decode contract.
|
|
38
|
+
*/
|
|
39
|
+
export type ImageInputSource = UploadableImageSource | Blob | string;
|
|
40
|
+
/**
|
|
41
|
+
* Decode a `Blob` to an `ImageBitmap` through the shared normalised flag set. The
|
|
42
|
+
* single decode home — a consumer NEVER re-spells `createImageBitmap` with its own
|
|
43
|
+
* (divergent) options.
|
|
44
|
+
*/
|
|
45
|
+
export declare function decodeImageBitmap(blob: Blob): Promise<ImageBitmap>;
|
|
46
|
+
/**
|
|
47
|
+
* Normalise any {@link ImageInputSource} to an uploadable source. A URL string is
|
|
48
|
+
* fetched → blob → decoded; a `Blob` is decoded; an already-uploadable source is
|
|
49
|
+
* returned as-is. Deterministic + DOM-light (only the URL path touches `fetch`).
|
|
50
|
+
*/
|
|
51
|
+
export declare function resolveImageSource(src: ImageInputSource): Promise<UploadableImageSource>;
|
|
52
|
+
/**
|
|
53
|
+
* A 1×1 mid-grey placeholder source — the texture a `source:"image"` program samples
|
|
54
|
+
* BEFORE its real photo has decoded (so the sampler is always complete + the first frame
|
|
55
|
+
* is a neutral wash, never black garbage). Routed through the SAME upload primitive so
|
|
56
|
+
* texture creation has exactly ONE home (the anti-evasion floor). DOM-only (`ImageData`).
|
|
57
|
+
*/
|
|
58
|
+
export declare function placeholderImageSource(): ImageData;
|
|
59
|
+
/** The intrinsic pixel dimensions of an uploadable source (both legs size the texture from it). */
|
|
60
|
+
export declare function imageSourceDimensions(src: UploadableImageSource): {
|
|
61
|
+
width: number;
|
|
62
|
+
height: number;
|
|
63
|
+
};
|
|
64
|
+
/** WebGL2 upload options — the sampling register the texture is created with. */
|
|
65
|
+
export interface WebGL2TextureOptions {
|
|
66
|
+
/** Min/mag filter. Default `LINEAR` (the smooth-bokeh dissolve register). */
|
|
67
|
+
linearFilter?: boolean;
|
|
68
|
+
/** Wrap mode. Default `CLAMP_TO_EDGE` (a cover-fit backdrop never tiles). */
|
|
69
|
+
clampToEdge?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Upload an image into a fresh WebGL2 texture through the shared explicit flag set.
|
|
73
|
+
* Returns the bound texture (the caller sets the sampler uniform to its unit + binds
|
|
74
|
+
* it per draw). The premultiply/colour-space/flip-Y flags are declared explicitly,
|
|
75
|
+
* then restored so the primitive leaves no global GL residue.
|
|
76
|
+
*/
|
|
77
|
+
export declare function uploadImageTextureWebGL2(gl: WebGL2RenderingContext, source: UploadableImageSource, opts?: WebGL2TextureOptions): WebGLTexture;
|
|
78
|
+
export interface WebGPUImageTexture {
|
|
79
|
+
texture: GPUTexture;
|
|
80
|
+
width: number;
|
|
81
|
+
height: number;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Upload an image into a fresh WebGPU texture through the shared explicit flag set.
|
|
85
|
+
* The `copyExternalImageToTexture` destination declares `premultipliedAlpha: false`
|
|
86
|
+
* EXPLICITLY (the WebGPU twin of the WebGL2 `UNPACK_PREMULTIPLY_ALPHA_WEBGL:false`) and
|
|
87
|
+
* the source declares `flipY: false` — so the decoded bytes land in the texture
|
|
88
|
+
* byte-identically to the WebGL2 leg (the cross-engine parity contract). Returns the
|
|
89
|
+
* texture + its dims (the caller builds the sampler + the bind group entry).
|
|
90
|
+
*/
|
|
91
|
+
export declare function uploadImageTextureWebGPU(device: GPUDevice, source: UploadableImageSource): WebGPUImageTexture;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
+
import { type BackgroundCanvasSource } from "./backdropLuminanceSample";
|
|
2
3
|
/** The discrete bucket the observer derives + writes (re-engages the W55 machinery). */
|
|
3
4
|
export type GlassBackdropBucket = "light" | "dark";
|
|
4
5
|
export interface UseGlassBackdropLuminanceOptions {
|
|
@@ -9,7 +10,7 @@ export interface UseGlassBackdropLuminanceOptions {
|
|
|
9
10
|
* instead of the static `elementsFromPoint` stack-walk. The aurora/blob `<canvas>`
|
|
10
11
|
* the surface floats over.
|
|
11
12
|
*/
|
|
12
|
-
backgroundCanvas?:
|
|
13
|
+
backgroundCanvas?: BackgroundCanvasSource;
|
|
13
14
|
/**
|
|
14
15
|
* Force the LIVE periodic re-sample loop on (mirrors the `data-glass-sample="live"`
|
|
15
16
|
* attribute on the target). Default: read from the target's
|
|
@@ -35,17 +36,73 @@ export interface UseGlassBackdropLuminanceOptions {
|
|
|
35
36
|
* `--glass-backdrop-luma` is written (a continuous-strength consumer).
|
|
36
37
|
*/
|
|
37
38
|
writeBucket?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* BI.W-DOCK-LUMA-SHARE — mark this as the SHARED per-ROUTE observer. It stamps
|
|
41
|
+
* `GLASS_BACKDROP_SHARED_ATTR` on its target (the route/stage scope) so descendant
|
|
42
|
+
* glass surfaces (docks) DETECT the coverage and STAND DOWN — inheriting the route's
|
|
43
|
+
* `--glass-backdrop-luma` / `--glass-backdrop` / `--glass-ambient-*` via the cascade
|
|
44
|
+
* rather than each mounting its own readback loop (12 per-dock observers over ONE
|
|
45
|
+
* aurora → ONE per-route readback). Default false: a per-SURFACE observer, which
|
|
46
|
+
* stands down when a shared ancestor covers it and self-samples as the honest floor
|
|
47
|
+
* when standalone. N docks over the SAME aurora read ONE per-route signal.
|
|
48
|
+
*/
|
|
49
|
+
shared?: boolean;
|
|
38
50
|
}
|
|
39
51
|
export interface UseGlassBackdropLuminanceControls {
|
|
40
52
|
/** The last sampled backdrop relative luminance (0..1), or null before the first sample. */
|
|
41
53
|
readonly luma: Readonly<Ref<number | null>>;
|
|
42
54
|
/** The last derived bucket, or null before the first sample. */
|
|
43
55
|
readonly bucket: Readonly<Ref<GlassBackdropBucket | null>>;
|
|
56
|
+
/**
|
|
57
|
+
* The observer's explicit sample provenance. A live request is never represented
|
|
58
|
+
* as a static sample: a missing or unreadable canvas reports `unavailable`.
|
|
59
|
+
*/
|
|
60
|
+
readonly sample: Readonly<Ref<GlassBackdropSample>>;
|
|
44
61
|
/** Force one sample now (bypasses the throttle — used on mount + resize-settle). */
|
|
45
62
|
sampleNow: () => void;
|
|
46
63
|
/** Stop the loop + detach every observer/listener. */
|
|
47
64
|
dispose: () => void;
|
|
48
65
|
}
|
|
66
|
+
export type GlassBackdropSample = {
|
|
67
|
+
state: "pending";
|
|
68
|
+
mode: "live" | "static";
|
|
69
|
+
source: "canvas" | "elements";
|
|
70
|
+
} | {
|
|
71
|
+
state: "sampled";
|
|
72
|
+
mode: "live" | "static";
|
|
73
|
+
source: "canvas" | "elements";
|
|
74
|
+
luma: number;
|
|
75
|
+
ambientHue: string;
|
|
76
|
+
sampledAt: number;
|
|
77
|
+
targetRect: GlassBackdropTargetRect;
|
|
78
|
+
} | {
|
|
79
|
+
state: "unavailable";
|
|
80
|
+
mode: "live" | "static";
|
|
81
|
+
source: "canvas" | "elements";
|
|
82
|
+
reason: "source-unavailable" | "sample-unavailable";
|
|
83
|
+
sampledAt: number;
|
|
84
|
+
targetRect: GlassBackdropTargetRect;
|
|
85
|
+
};
|
|
86
|
+
export interface GlassBackdropTargetRect {
|
|
87
|
+
x: number;
|
|
88
|
+
y: number;
|
|
89
|
+
width: number;
|
|
90
|
+
height: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* BI.W-DOCK-LUMA-SHARE — the shared-coverage marker. A SHARED route observer
|
|
94
|
+
* (`shared: true`) stamps this attribute on its target (the route/stage scope); a
|
|
95
|
+
* per-SURFACE observer detects it on an ANCESTOR (`.closest`) and STANDS DOWN —
|
|
96
|
+
* inheriting the route's `--glass-backdrop-luma` / `--glass-backdrop` /
|
|
97
|
+
* `--glass-ambient-*` via the registered inheriting @property cascade instead of
|
|
98
|
+
* mounting its OWN `drawImage + getImageData` readback loop (the 12 per-dock observers
|
|
99
|
+
* over ONE DockStage aurora collapse to ONE per-route readback — PERF-6/FAM-5). A DOM
|
|
100
|
+
* marker, NOT provide/inject: provide/inject does not cross the `<slot>` boundary (the
|
|
101
|
+
* DockStage renders `<slot>`, the docks are slotted from the route, so the slotted
|
|
102
|
+
* content's instance-parent is the slot OWNER not the stage), and the marker rides the
|
|
103
|
+
* SAME DOM ancestry the inheriting custom property itself cascades over.
|
|
104
|
+
*/
|
|
105
|
+
export declare const GLASS_BACKDROP_SHARED_ATTR = "data-glass-backdrop-shared";
|
|
49
106
|
/**
|
|
50
107
|
* The sampled-luminance observer. Wire it on a glass surface (the dock root, a
|
|
51
108
|
* content-glass panel) to write a DYNAMIC backdrop-luminance signal that refines the
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ComputedRef, type CSSProperties, type MaybeRefOrGetter } from "vue";
|
|
2
2
|
/**
|
|
3
3
|
* `useSpecularPointer` — the EVOLUTION of `useSpecularTracking` (BB.W-LENSING). It
|
|
4
4
|
* writes the catch-light POSITION (`--mouse-x`/`--mouse-y`, as today) PLUS the
|
|
@@ -23,11 +23,30 @@ import { ref, type CSSProperties } from "vue";
|
|
|
23
23
|
* centred 50% and `--specular-angle` to its `0deg` static rest). The composable
|
|
24
24
|
* disposes the core (cancel the pending rAF + drop the cached PRM listener) on scope
|
|
25
25
|
* teardown.
|
|
26
|
+
*
|
|
27
|
+
* BG.W-GLASS-DYNAMICS — the OPTIONAL press-couple (absorbs 13.5, soft-gated by F5.1).
|
|
28
|
+
* A consumer may pass `press` (a 0..1 press scalar — a `useSpringPress` `.value`, or
|
|
29
|
+
* any press signal); it is folded reactively into the emitted style as the ONE
|
|
30
|
+
* `--glass-btn-press-t` channel the `.glass-material::before` specular magnitude reads
|
|
31
|
+
* (material.css). Reusing the SINGLE press channel (never a forked `--*-press-t`) keeps
|
|
32
|
+
* ONE drive, two legs — the gleam SWELLS + SETTLES with the press spring. The merge is
|
|
33
|
+
* a `computed` so the press tracks the spring INDEPENDENTLY of pointer moves (a press
|
|
34
|
+
* settles while the pointer is still). SOFT-GATED: when `press` is OMITTED the emitted
|
|
35
|
+
* style carries NO press channel (the CSS `--glass-btn-press-t` default 0 holds — no
|
|
36
|
+
* hard F5.1 dependency), and the position/angle write is byte-identical to before.
|
|
26
37
|
*/
|
|
38
|
+
export interface UseSpecularPointerOptions {
|
|
39
|
+
/** Optional 0..1 press scalar (soft-gated) folded into `--glass-btn-press-t`. */
|
|
40
|
+
press?: MaybeRefOrGetter<number>;
|
|
41
|
+
}
|
|
27
42
|
export interface UseSpecularPointer {
|
|
28
|
-
/**
|
|
29
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Bind to the host element's `:style`. Carries `--mouse-x/--mouse-y` +
|
|
45
|
+
* `--specular-angle` (+ the press-coupled `--glass-btn-press-t` when `press` is
|
|
46
|
+
* supplied).
|
|
47
|
+
*/
|
|
48
|
+
specularStyle: ComputedRef<CSSProperties>;
|
|
30
49
|
/** Bind to the host's `@pointermove`. Schedules the rAF-coalesced position+angle write (PRM-gated). */
|
|
31
50
|
onPointerMove: (event: PointerEvent) => void;
|
|
32
51
|
}
|
|
33
|
-
export declare function useSpecularPointer(): UseSpecularPointer;
|
|
52
|
+
export declare function useSpecularPointer(options?: UseSpecularPointerOptions): UseSpecularPointer;
|
|
@@ -2,7 +2,7 @@ import { ref, type CSSProperties } from "vue";
|
|
|
2
2
|
/**
|
|
3
3
|
* `useSpecularTracking` — the pointer-anchored moving-specular write seam
|
|
4
4
|
* (AX.W09). The single DRY home for the catch-light position write that was
|
|
5
|
-
* hand-copied VERBATIM in `Card.vue` and `
|
|
5
|
+
* hand-copied VERBATIM in `Card.vue` and `DockControl.vue`.
|
|
6
6
|
*
|
|
7
7
|
* On pointer-move it writes the cursor position (`--mouse-x`/`--mouse-y`, as
|
|
8
8
|
* percentages of the host box) onto the host's inline style; the unified
|
|
@@ -83,6 +83,14 @@ export declare function facePlateau(g: Vec2, inset: number, uvDeriv: Vec2): numb
|
|
|
83
83
|
* swirled coordinate.
|
|
84
84
|
*/
|
|
85
85
|
export declare function cursorSwirl(g: Vec2, cursor: Vec2, strength: number, radius: number): Vec2;
|
|
86
|
+
/**
|
|
87
|
+
* The `waveFlow` second-flow FREQUENCY RATIO (shared across JS↔GLSL↔WGSL — the round-trip fence).
|
|
88
|
+
* The secondary counter-flow term samples the curl at `warpFreq · this` so it drifts on a slightly
|
|
89
|
+
* different spatial scale (the anti-loop variety) while staying the SAME order of magnitude as the
|
|
90
|
+
* primary. `0.6 · 1.833333 ≈ 1.1` reproduces concentric's unit-scale pair; the GLSL/WGSL
|
|
91
|
+
* transcriptions carry the identical literal.
|
|
92
|
+
*/
|
|
93
|
+
export declare const WAVE_FLOW_SECOND_RATIO = 1.833333;
|
|
86
94
|
/**
|
|
87
95
|
* A CONTINUOUS divergence-free flow warp gated by the traveling wave — the SMOOTH twin of
|
|
88
96
|
* `cellTwist` for surfaces that need an unbroken coordinate (the level-set contours shatter
|
|
@@ -91,8 +99,21 @@ export declare function cursorSwirl(g: Vec2, cursor: Vec2, strength: number, rad
|
|
|
91
99
|
* the SAME traveling Gaussian crest sweeping along `waveDir`. So the contours flow + twist as
|
|
92
100
|
* the wave passes OVER and THROUGH them, with NO cell-boundary discontinuity. Returns the
|
|
93
101
|
* warped coordinate.
|
|
102
|
+
*
|
|
103
|
+
* BG.W-GRID-AFFINE — the LOCALLY-AFFINE frequency law. `warpFreq` is the HOST-supplied spatial
|
|
104
|
+
* frequency (in the caller's OWN coordinate units) at which the curl-flow potential is sampled.
|
|
105
|
+
* The caller passes a frequency an ORDER OF MAGNITUDE BELOW its own grid/contour frequency, so
|
|
106
|
+
* the warp-displacement gradient is ~constant across any ONE cell (the warp Jacobian is locally
|
|
107
|
+
* affine): the major gridlines bow as ONE smooth continuous curve across the frame, NEVER the
|
|
108
|
+
* per-cell crackle a cell-scale sampling frequency produces. liquid-grid feeds a CELL-scale
|
|
109
|
+
* coordinate (`uv · gridScale`, span ~14–40 cells) so it passes a tiny `warpFreq` (~0.03 →
|
|
110
|
+
* wavelength of MANY cells); concentric feeds a UNIT-scale domain (`vUv`, span ~1) so it passes
|
|
111
|
+
* the unit-scale `0.6`. The amplitude is UNCHANGED (the curl magnitude is the intrinsic q-space
|
|
112
|
+
* gradient at the fixed `CURL_EPS`, independent of `warpFreq` — only the spatial frequency drops,
|
|
113
|
+
* the bow amplitude `twistMax · env` is preserved). The `t·` drift coefficients are host-agnostic
|
|
114
|
+
* (they set the flow's temporal evolution rate in q-space, independent of `warpFreq`).
|
|
94
115
|
*/
|
|
95
|
-
export declare function waveFlow(curlFn: (p: Vec2) => Vec2, g: Vec2, t: number, waveDir: Vec2, waveK: number, waveOmega: number, waveSigma: number, twistMax: number, amp: number): Vec2;
|
|
116
|
+
export declare function waveFlow(curlFn: (p: Vec2) => Vec2, g: Vec2, t: number, waveDir: Vec2, waveK: number, waveOmega: number, waveSigma: number, twistMax: number, amp: number, warpFreq?: number): Vec2;
|
|
96
117
|
/**
|
|
97
118
|
* A LOW-octave value-noise topography H(p) — the scalar field concentric extracts level-set
|
|
98
119
|
* contours of. `octaves` LOW (3) keeps the nested loops CLEAN (not high-freq speckle — the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WAVE_FIELD_GLSL = "\n#ifndef WAVE_FIELD_TAU\n#define WAVE_FIELD_TAU 6.283185307179586\n#endif\n\n// The traveling-wave envelope \u2014 a moving Gaussian crest band sweeping along waveDir.\nfloat travelingEnvelope(vec2 pivot, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma) {\n float coord = dot(pivot, waveDir) * waveK - t * waveOmega;\n float crest = fract(coord / WAVE_FIELD_TAU);\n float z = (crest - 0.5) * 2.0;\n return exp(-(z * z) / max(waveSigma, 1e-3));\n}\n\n// The curl-direction scalar \u2014 the smooth low-freq director the per-cell twist follows.\nfloat curlScalar(vec2 cc, float t) {\n vec2 f = curlFBM(vec2(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));\n return clamp(f.x, -1.0, 1.0);\n}\n\n// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean\n// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.\n#ifndef WAVE_FIELD_TWIST_FLOOR\n#define WAVE_FIELD_TWIST_FLOOR 0.62\n#endif\nfloat directedTwist(float s, float floorMag) {\n float mag = max(floorMag, abs(s));\n float sgn = tanh(s * 6.0);\n return sgn * mag;\n}\n\n// \u2500\u2500 The FACE leaf (the structurally-absent RE-INVENT \u2014 height-lit filled cell interior) \u2500\u2500\n// Defined ABOVE cellTwist: cellTwist rides cellHeight via the driver so twist + face read ONE\n// envelope.\n\n// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.\nfloat cellHeight(vec2 cc, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma, float amp) {\n return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n}\n\n// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the\n// face both ride. The face samples height/relief at THIS pre-twist cc (floor(twisted_g) at the\n// crest lights a NEIGHBOUR cell). cc in .xy, env in .z.\nvec3 cellDriver(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float cs = max(cellSize, 1e-3);\n vec2 cc = (floor(g / cs) + 0.5) * cs;\n float env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec3(cc, env);\n}\n\n// The central-difference slope of cellHeight across a cell (eps = 0.5\u00B7cellSize) \u2014 derivative-\n// FREE (NO dFdx on the height) \u2192 Safari WebGL2-safe. Returns \u2207H.\nvec2 faceRelief(vec2 cc, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float eps = max(cellSize, 1e-3) * 0.5;\n float hxp = cellHeight(cc + vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hxm = cellHeight(cc - vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hyp = cellHeight(cc + vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hym = cellHeight(cc - vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec2((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));\n}\n\n// Soft inset-square coverage inside a (warped) cell \u2014 the filled FACE plateau. d is the distance\n// into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats as it grows\n// (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).\nfloat facePlateau(vec2 g, float inset, vec2 uvDeriv) {\n vec2 tri = 1.0 - abs(fract(g) * 2.0 - 1.0);\n float d = min(tri.x, tri.y);\n float aa = max(uvDeriv.x, uvDeriv.y) * 1.5;\n return smoothstep(inset, inset + 2.0 * aa, d);\n}\n\n// The cell-local twist about each cell's own center, gated by the traveling wave + directed\n// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the\n// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling\n// read, not static foil).\nvec2 cellTwist(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float twistMax, float shearMax, float amp) {\n vec3 drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);\n vec2 cc = drv.xy;\n float env = drv.z;\n float floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor\n float theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);\n float shear = shearMax * env * directedTwist(curlScalar(cc + vec2(17.3, 9.1), t), floorMag);\n vec2 local = g - cc;\n float ct = cos(theta);\n float st = sin(theta);\n vec2 rot = vec2(ct * local.x - st * local.y, st * local.x + ct * local.y);\n rot.x += shear * rot.y; // a small skew so the box MORPHS, not just rotates\n return cc + rot;\n}\n\n// The CONTINUOUS traveling-wave FLOW warp \u2014 the SMOOTH twin of cellTwist (no per-cell seam;\n// for the level-set contours that shatter into a mesh under the cell discontinuity).\nvec2 waveFlow(vec2 g, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma,\n float twistMax, float amp) {\n float env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n vec2 f = curlFBM(vec2(g.x *
|
|
1
|
+
export declare const WAVE_FIELD_GLSL = "\n#ifndef WAVE_FIELD_TAU\n#define WAVE_FIELD_TAU 6.283185307179586\n#endif\n\n// The traveling-wave envelope \u2014 a moving Gaussian crest band sweeping along waveDir.\nfloat travelingEnvelope(vec2 pivot, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma) {\n float coord = dot(pivot, waveDir) * waveK - t * waveOmega;\n float crest = fract(coord / WAVE_FIELD_TAU);\n float z = (crest - 0.5) * 2.0;\n return exp(-(z * z) / max(waveSigma, 1e-3));\n}\n\n// The curl-direction scalar \u2014 the smooth low-freq director the per-cell twist follows.\nfloat curlScalar(vec2 cc, float t) {\n vec2 f = curlFBM(vec2(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));\n return clamp(f.x, -1.0, 1.0);\n}\n\n// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean\n// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.\n#ifndef WAVE_FIELD_TWIST_FLOOR\n#define WAVE_FIELD_TWIST_FLOOR 0.62\n#endif\nfloat directedTwist(float s, float floorMag) {\n float mag = max(floorMag, abs(s));\n float sgn = tanh(s * 6.0);\n return sgn * mag;\n}\n\n// \u2500\u2500 The FACE leaf (the structurally-absent RE-INVENT \u2014 height-lit filled cell interior) \u2500\u2500\n// Defined ABOVE cellTwist: cellTwist rides cellHeight via the driver so twist + face read ONE\n// envelope.\n\n// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.\nfloat cellHeight(vec2 cc, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma, float amp) {\n return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n}\n\n// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the\n// face both ride. The face samples height/relief at THIS pre-twist cc (floor(twisted_g) at the\n// crest lights a NEIGHBOUR cell). cc in .xy, env in .z.\nvec3 cellDriver(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float cs = max(cellSize, 1e-3);\n vec2 cc = (floor(g / cs) + 0.5) * cs;\n float env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec3(cc, env);\n}\n\n// The central-difference slope of cellHeight across a cell (eps = 0.5\u00B7cellSize) \u2014 derivative-\n// FREE (NO dFdx on the height) \u2192 Safari WebGL2-safe. Returns \u2207H.\nvec2 faceRelief(vec2 cc, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float amp) {\n float eps = max(cellSize, 1e-3) * 0.5;\n float hxp = cellHeight(cc + vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hxm = cellHeight(cc - vec2(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hyp = cellHeight(cc + vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n float hym = cellHeight(cc - vec2(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec2((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));\n}\n\n// Soft inset-square coverage inside a (warped) cell \u2014 the filled FACE plateau. d is the distance\n// into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats as it grows\n// (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).\nfloat facePlateau(vec2 g, float inset, vec2 uvDeriv) {\n vec2 tri = 1.0 - abs(fract(g) * 2.0 - 1.0);\n float d = min(tri.x, tri.y);\n float aa = max(uvDeriv.x, uvDeriv.y) * 1.5;\n return smoothstep(inset, inset + 2.0 * aa, d);\n}\n\n// The cell-local twist about each cell's own center, gated by the traveling wave + directed\n// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the\n// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling\n// read, not static foil).\nvec2 cellTwist(vec2 g, float cellSize, float t, vec2 waveDir, float waveK, float waveOmega,\n float waveSigma, float twistMax, float shearMax, float amp) {\n vec3 drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);\n vec2 cc = drv.xy;\n float env = drv.z;\n float floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor\n float theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);\n float shear = shearMax * env * directedTwist(curlScalar(cc + vec2(17.3, 9.1), t), floorMag);\n vec2 local = g - cc;\n float ct = cos(theta);\n float st = sin(theta);\n vec2 rot = vec2(ct * local.x - st * local.y, st * local.x + ct * local.y);\n rot.x += shear * rot.y; // a small skew so the box MORPHS, not just rotates\n return cc + rot;\n}\n\n// The CONTINUOUS traveling-wave FLOW warp \u2014 the SMOOTH twin of cellTwist (no per-cell seam;\n// for the level-set contours that shatter into a mesh under the cell discontinuity).\n// BG.W-GRID-AFFINE \u2014 warpFreq is the HOST-supplied curl-sampling spatial frequency (the caller's\n// own coordinate units): an order of magnitude BELOW its grid frequency so the warp is locally\n// affine (major lines bow as ONE smooth curve, no sub-cell crackle). liquid-grid (cell-scale g0)\n// passes ~0.03; concentric (unit-scale p) passes 0.6. The 1.833333 second-flow ratio transcribes\n// WAVE_FLOW_SECOND_RATIO. Amplitude unchanged \u2014 curl magnitude is the intrinsic gradient at the\n// fixed CURL_EPS, independent of warpFreq; the t-drift is host-agnostic.\nvec2 waveFlow(vec2 g, float t, vec2 waveDir, float waveK, float waveOmega, float waveSigma,\n float twistMax, float amp, float warpFreq) {\n float env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n vec2 f = curlFBM(vec2(g.x * warpFreq + t * 0.05, g.y * warpFreq - t * 0.04));\n float wf2 = warpFreq * 1.833333;\n vec2 f2 = curlFBM(vec2(g.x * wf2 - t * 0.03, g.y * wf2 + t * 0.035));\n float k = twistMax * env;\n return g + (f + f2 * 0.5) * k;\n}\n\n// The local cursor swirl \u2014 the finger twists the cells around it (re-aimed cursorBulge).\nvec2 cursorSwirl(vec2 g, vec2 cursor, float strength, float radius) {\n vec2 to = g - cursor;\n float d2 = dot(to, to);\n float r = max(radius, 1e-4);\n float theta = strength * exp(-d2 / (2.0 * r * r));\n float ct = cos(theta);\n float st = sin(theta);\n return cursor + vec2(ct * to.x - st * to.y, st * to.x + ct * to.y);\n}\n\n// The LOW-octave value-noise topography \u2014 the scalar field concentric extracts contours of.\nfloat heightField(vec2 p, float octavesF, float seed) {\n float v = 0.0;\n float amp = 0.5;\n float freq = 1.0;\n float px = p.x + seed;\n float py = p.y - seed;\n int n = int(clamp(octavesF, 1.0, 6.0));\n for (int i = 0; i < 6; i++) {\n if (i >= n) break;\n v += amp * valueNoise(px * freq, py * freq);\n float rx = 0.8 * px - 0.6 * py;\n float ry = 0.6 * px + 0.8 * py;\n px = rx;\n py = ry;\n freq *= 2.0;\n amp *= 0.5;\n }\n return v;\n}\n\n// The \u03C9=\u221A(g\u00B7k) breathing swell \u2014 basins inflate/deflate with weight.\nfloat waveSwell(float t, float phase) {\n return sin(t * 0.35 + phase) * 0.5 + sin(t * 0.21 + phase * 1.7) * 0.5;\n}\n";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const WAVE_FIELD_WGSL = "\nconst WAVE_FIELD_TAU: f32 = 6.283185307179586;\n\n// The traveling-wave envelope \u2014 a moving Gaussian crest band sweeping along waveDir.\nfn travelingEnvelope(pivot: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32) -> f32 {\n let coord = dot(pivot, waveDir) * waveK - t * waveOmega;\n let crest = fract(coord / WAVE_FIELD_TAU);\n let z = (crest - 0.5) * 2.0;\n return exp(-(z * z) / max(waveSigma, 1e-3));\n}\n\n// The curl-direction scalar \u2014 the smooth low-freq director the per-cell twist follows.\nfn curlScalar(cc: vec2f, t: f32) -> f32 {\n let f = curlFBM(vec2f(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));\n return clamp(f.x, -1.0, 1.0);\n}\n\n// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean\n// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.\nconst WAVE_FIELD_TWIST_FLOOR: f32 = 0.62;\nfn directedTwist(s: f32, floorMag: f32) -> f32 {\n let mag = max(floorMag, abs(s));\n let sgn = tanh(s * 6.0);\n return sgn * mag;\n}\n\n// \u2500\u2500 The FACE leaf (the structurally-absent RE-INVENT \u2014 height-lit filled cell interior) \u2500\u2500\n// DECLARED ABOVE cellTwist (no WGSL forward declaration): cellTwist rides cellHeight via the\n// driver so twist + face read ONE envelope.\n\n// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.\nfn cellHeight(cc: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32, amp: f32) -> f32 {\n return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n}\n\n// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the\n// face both ride. The face samples height/relief at THIS pre-twist cc (the crest twist crosses\n// the cell boundary \u2192 floor(twisted_g) would light a NEIGHBOUR cell). cc in .xy, env in .z.\nfn cellDriver(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, amp: f32) -> vec3f {\n let cs = max(cellSize, 1e-3);\n let cc = (floor(g / cs) + 0.5) * cs;\n let env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec3f(cc, env);\n}\n\n// The central-difference slope of cellHeight across a cell (eps = 0.5\u00B7cellSize) \u2014 derivative-\n// FREE (NO dFdx on the height) \u2192 Safari WebGL2-safe. Returns \u2207H.\nfn faceRelief(cc: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, amp: f32) -> vec2f {\n let eps = max(cellSize, 1e-3) * 0.5;\n let hxp = cellHeight(cc + vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hxm = cellHeight(cc - vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hyp = cellHeight(cc + vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hym = cellHeight(cc - vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec2f((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));\n}\n\n// Soft inset-square coverage inside a (warped) cell \u2014 the filled FACE plateau. d is the\n// distance into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats\n// as it grows (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).\nfn facePlateau(g: vec2f, inset: f32, uvDeriv: vec2f) -> f32 {\n let tri = 1.0 - abs(fract(g) * 2.0 - 1.0);\n let d = min(tri.x, tri.y);\n let aa = max(uvDeriv.x, uvDeriv.y) * 1.5;\n return smoothstep(inset, inset + 2.0 * aa, d);\n}\n\n// The cell-local twist about each cell's own center, gated by the traveling wave + directed\n// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the\n// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling\n// read, not static foil).\nfn cellTwist(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, twistMax: f32, shearMax: f32, amp: f32) -> vec2f {\n let drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);\n let cc = drv.xy;\n let env = drv.z;\n let floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor\n let theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);\n let shear = shearMax * env * directedTwist(curlScalar(cc + vec2f(17.3, 9.1), t), floorMag);\n let local = g - cc;\n let ct = cos(theta);\n let st = sin(theta);\n var rot = vec2f(ct * local.x - st * local.y, st * local.x + ct * local.y);\n rot.x = rot.x + shear * rot.y; // a small skew so the box MORPHS, not just rotates\n return cc + rot;\n}\n\n// The CONTINUOUS traveling-wave FLOW warp \u2014 the SMOOTH twin of cellTwist (no per-cell seam;\n// for the level-set contours that shatter into a mesh under the cell discontinuity).\nfn waveFlow(g: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32,\n twistMax: f32, amp: f32) -> vec2f {\n let env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n let f = curlFBM(vec2f(g.x *
|
|
1
|
+
export declare const WAVE_FIELD_WGSL = "\nconst WAVE_FIELD_TAU: f32 = 6.283185307179586;\n\n// The traveling-wave envelope \u2014 a moving Gaussian crest band sweeping along waveDir.\nfn travelingEnvelope(pivot: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32) -> f32 {\n let coord = dot(pivot, waveDir) * waveK - t * waveOmega;\n let crest = fract(coord / WAVE_FIELD_TAU);\n let z = (crest - 0.5) * 2.0;\n return exp(-(z * z) / max(waveSigma, 1e-3));\n}\n\n// The curl-direction scalar \u2014 the smooth low-freq director the per-cell twist follows.\nfn curlScalar(cc: vec2f, t: f32) -> f32 {\n let f = curlFBM(vec2f(cc.x * 0.5 + t * 0.08, cc.y * 0.5 - t * 0.06));\n return clamp(f.x, -1.0, 1.0);\n}\n\n// The directed-twist FLOOR (the visibility cure): keep the curl SIGN (adjacent cells lean\n// together) but floor the magnitude so a crest-band cell ALWAYS rotates decisively.\nconst WAVE_FIELD_TWIST_FLOOR: f32 = 0.62;\nfn directedTwist(s: f32, floorMag: f32) -> f32 {\n let mag = max(floorMag, abs(s));\n let sgn = tanh(s * 6.0);\n return sgn * mag;\n}\n\n// \u2500\u2500 The FACE leaf (the structurally-absent RE-INVENT \u2014 height-lit filled cell interior) \u2500\u2500\n// DECLARED ABOVE cellTwist (no WGSL forward declaration): cellTwist rides cellHeight via the\n// driver so twist + face read ONE envelope.\n\n// The sheet displacement at a cell center = the EXACT traveling-wave scalar the twist rides.\nfn cellHeight(cc: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32, amp: f32) -> f32 {\n return travelingEnvelope(cc, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n}\n\n// The pre-twist driver (FOLD A): the cell pivot cc + the crest envelope env the twist AND the\n// face both ride. The face samples height/relief at THIS pre-twist cc (the crest twist crosses\n// the cell boundary \u2192 floor(twisted_g) would light a NEIGHBOUR cell). cc in .xy, env in .z.\nfn cellDriver(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, amp: f32) -> vec3f {\n let cs = max(cellSize, 1e-3);\n let cc = (floor(g / cs) + 0.5) * cs;\n let env = cellHeight(cc, t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec3f(cc, env);\n}\n\n// The central-difference slope of cellHeight across a cell (eps = 0.5\u00B7cellSize) \u2014 derivative-\n// FREE (NO dFdx on the height) \u2192 Safari WebGL2-safe. Returns \u2207H.\nfn faceRelief(cc: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, amp: f32) -> vec2f {\n let eps = max(cellSize, 1e-3) * 0.5;\n let hxp = cellHeight(cc + vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hxm = cellHeight(cc - vec2f(eps, 0.0), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hyp = cellHeight(cc + vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n let hym = cellHeight(cc - vec2f(0.0, eps), t, waveDir, waveK, waveOmega, waveSigma, amp);\n return vec2f((hxp - hxm) / (2.0 * eps), (hyp - hym) / (2.0 * eps));\n}\n\n// Soft inset-square coverage inside a (warped) cell \u2014 the filled FACE plateau. d is the\n// distance into the cell from the nearest gutter (the Golus triangle-wave); the inset retreats\n// as it grows (the squash). aa = the shader's fwidth(g) (JS passes a fixed uvDeriv).\nfn facePlateau(g: vec2f, inset: f32, uvDeriv: vec2f) -> f32 {\n let tri = 1.0 - abs(fract(g) * 2.0 - 1.0);\n let d = min(tri.x, tri.y);\n let aa = max(uvDeriv.x, uvDeriv.y) * 1.5;\n return smoothstep(inset, inset + 2.0 * aa, d);\n}\n\n// The cell-local twist about each cell's own center, gated by the traveling wave + directed\n// by the curl flow. amp is the spring-eased envelope amplitude the JS host drives. FOLD C: the\n// TWIST_FLOOR is crest-gated by env so OFF-crest cells relax to flat calm paper (the traveling\n// read, not static foil).\nfn cellTwist(g: vec2f, cellSize: f32, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32,\n waveSigma: f32, twistMax: f32, shearMax: f32, amp: f32) -> vec2f {\n let drv = cellDriver(g, cellSize, t, waveDir, waveK, waveOmega, waveSigma, amp);\n let cc = drv.xy;\n let env = drv.z;\n let floorMag = WAVE_FIELD_TWIST_FLOOR * env; // FOLD C: crest-gated floor\n let theta = twistMax * env * directedTwist(curlScalar(cc, t), floorMag);\n let shear = shearMax * env * directedTwist(curlScalar(cc + vec2f(17.3, 9.1), t), floorMag);\n let local = g - cc;\n let ct = cos(theta);\n let st = sin(theta);\n var rot = vec2f(ct * local.x - st * local.y, st * local.x + ct * local.y);\n rot.x = rot.x + shear * rot.y; // a small skew so the box MORPHS, not just rotates\n return cc + rot;\n}\n\n// The CONTINUOUS traveling-wave FLOW warp \u2014 the SMOOTH twin of cellTwist (no per-cell seam;\n// for the level-set contours that shatter into a mesh under the cell discontinuity).\n// BG.W-GRID-AFFINE \u2014 warpFreq is the HOST-supplied curl-sampling spatial frequency (the caller's\n// own coordinate units): an order of magnitude BELOW its grid frequency so the warp is locally\n// affine (major lines bow as ONE smooth curve, no sub-cell crackle). liquid-grid (cell-scale g0)\n// passes ~0.03; concentric (unit-scale p) passes 0.6. The 1.833333 second-flow ratio transcribes\n// WAVE_FLOW_SECOND_RATIO. Amplitude unchanged \u2014 curl magnitude is the intrinsic gradient at the\n// fixed CURL_EPS, independent of warpFreq; the t-drift is host-agnostic.\nfn waveFlow(g: vec2f, t: f32, waveDir: vec2f, waveK: f32, waveOmega: f32, waveSigma: f32,\n twistMax: f32, amp: f32, warpFreq: f32) -> vec2f {\n let env = travelingEnvelope(g, t, waveDir, waveK, waveOmega, waveSigma) * amp;\n let f = curlFBM(vec2f(g.x * warpFreq + t * 0.05, g.y * warpFreq - t * 0.04));\n let wf2 = warpFreq * 1.833333;\n let f2 = curlFBM(vec2f(g.x * wf2 - t * 0.03, g.y * wf2 + t * 0.035));\n let k = twistMax * env;\n return g + (f + f2 * 0.5) * k;\n}\n\n// The local cursor swirl \u2014 the finger twists the cells around it (re-aimed cursorBulge).\nfn cursorSwirl(g: vec2f, cursor: vec2f, strength: f32, radius: f32) -> vec2f {\n let to = g - cursor;\n let d2 = dot(to, to);\n let r = max(radius, 1e-4);\n let theta = strength * exp(-d2 / (2.0 * r * r));\n let ct = cos(theta);\n let st = sin(theta);\n return cursor + vec2f(ct * to.x - st * to.y, st * to.x + ct * to.y);\n}\n\n// The LOW-octave value-noise topography \u2014 the scalar field concentric extracts contours of.\nfn heightField(p: vec2f, octavesF: f32, seed: f32) -> f32 {\n var v = 0.0;\n var amp = 0.5;\n var freq = 1.0;\n var px = p.x + seed;\n var py = p.y - seed;\n let n = i32(clamp(octavesF, 1.0, 6.0));\n for (var i = 0; i < 6; i = i + 1) {\n if (i >= n) { break; }\n v = v + amp * valueNoise(px * freq, py * freq);\n let rx = 0.8 * px - 0.6 * py;\n let ry = 0.6 * px + 0.8 * py;\n px = rx;\n py = ry;\n freq = freq * 2.0;\n amp = amp * 0.5;\n }\n return v;\n}\n\n// The \u03C9=\u221A(g\u00B7k) breathing swell \u2014 basins inflate/deflate with weight.\nfn waveSwell(t: f32, phase: f32) -> f32 {\n return sin(t * 0.35 + phase) * 0.5 + sin(t * 0.21 + phase * 1.7) * 0.5;\n}\n";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The freshly-measured backing geometry the leaf hands the consumer's `resize`. The
|
|
3
|
+
* consumer no longer MEASURES (the leaf owns the gBCR + the bounded ancestor walk +
|
|
4
|
+
* the DPR clamp + the NEVER-300×150 floor, ONE implementation); it only UPLOADS these
|
|
5
|
+
* dims to its viewport/uniforms. `changed` is `false` when the buffer already matched
|
|
6
|
+
* (an idempotent same-box tick — the consumer can skip a redundant uniform upload).
|
|
7
|
+
*/
|
|
8
|
+
export interface BackingSize {
|
|
9
|
+
w: number;
|
|
10
|
+
h: number;
|
|
11
|
+
dpr: number;
|
|
12
|
+
changed: boolean;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The consumer's DPR policy — either a flat multiplier or a box-aware resolver (e.g.
|
|
16
|
+
* aurora's 1.5× wash ceiling vs goo-blob's 2× focal `resolveBudgetDpr`). The leaf owns
|
|
17
|
+
* the MEASUREMENT + the floor; the consumer owns ONLY the DPR number.
|
|
18
|
+
*/
|
|
19
|
+
export type DprPolicy = number | ((box: {
|
|
20
|
+
w: number;
|
|
21
|
+
h: number;
|
|
22
|
+
}) => number);
|
|
23
|
+
/**
|
|
24
|
+
* BD.W-SUBSTRATE-SIZE-UNIFY (G1) — the ONE canonical backing-store sizer.
|
|
25
|
+
*
|
|
26
|
+
* Aurora's PROVEN gBCR-ancestor sizer, lifted into the agnostic leaf so it lives ONCE
|
|
27
|
+
* (DRY) instead of in N drifted consumer `resize()` closures (the three incompatible
|
|
28
|
+
* `clientWidth || 320` / `clientWidth || canvasSize` / one-parent-gBCR conventions the
|
|
29
|
+
* DELTA-ASSAY reproduced as the live 300×150 stuck-canvas).
|
|
30
|
+
*
|
|
31
|
+
* Measures the LAID-OUT border-box via `getBoundingClientRect` — NOT `clientWidth`,
|
|
32
|
+
* which reads 0 under a `content-visibility:auto` skip (the born-skipped trap). Walks
|
|
33
|
+
* ancestors ONLY when our own rect is still zero (truly un-laid-out), and the walk is
|
|
34
|
+
* BOUNDED (H-B): cap depth at 3 AND stop at the first sized / contained / container /
|
|
35
|
+
* positioned ancestor — never an unbounded gBCR storm to `<body>` (O(depth) reflow per
|
|
36
|
+
* tick), never an over-recovered wide flex/grid grandparent that sizes the backing to
|
|
37
|
+
* the viewport. Idempotent: the realloc (which CLEARS the drawing buffer) is skipped
|
|
38
|
+
* when the buffer already matches the box.
|
|
39
|
+
*
|
|
40
|
+
* Pure CSS-geometry — ZERO dependency on which GPU API is live, so it runs SYNCHRONOUSLY
|
|
41
|
+
* at mount before the async WebGPU device resolves (G2). Engine-identical in Chromium +
|
|
42
|
+
* WebKit (gBCR reflects the real box across a CV skip in both).
|
|
43
|
+
*/
|
|
44
|
+
export declare function sizeBacking(canvas: HTMLCanvasElement, dprPolicy: DprPolicy): BackingSize;
|
|
@@ -1,41 +1,7 @@
|
|
|
1
1
|
export type CanvasSuspendReason = "tab-hidden" | "off-screen" | "off-screen-io" | "manual";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
dpr: number;
|
|
6
|
-
changed: boolean;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The consumer's DPR policy — either a flat multiplier or a box-aware resolver (e.g.
|
|
10
|
-
* aurora's 1.5× wash ceiling vs goo-blob's 2× focal `resolveBudgetDpr`). The leaf owns
|
|
11
|
-
* the MEASUREMENT + the floor; the consumer owns ONLY the DPR number.
|
|
12
|
-
*/
|
|
13
|
-
export type DprPolicy = number | ((box: {
|
|
14
|
-
w: number;
|
|
15
|
-
h: number;
|
|
16
|
-
}) => number);
|
|
17
|
-
/**
|
|
18
|
-
* BD.W-SUBSTRATE-SIZE-UNIFY (G1) — the ONE canonical backing-store sizer.
|
|
19
|
-
*
|
|
20
|
-
* Aurora's PROVEN gBCR-ancestor sizer, lifted into the agnostic leaf so it lives ONCE
|
|
21
|
-
* (DRY) instead of in N drifted consumer `resize()` closures (the three incompatible
|
|
22
|
-
* `clientWidth || 320` / `clientWidth || canvasSize` / one-parent-gBCR conventions the
|
|
23
|
-
* DELTA-ASSAY reproduced as the live 300×150 stuck-canvas).
|
|
24
|
-
*
|
|
25
|
-
* Measures the LAID-OUT border-box via `getBoundingClientRect` — NOT `clientWidth`,
|
|
26
|
-
* which reads 0 under a `content-visibility:auto` skip (the born-skipped trap). Walks
|
|
27
|
-
* ancestors ONLY when our own rect is still zero (truly un-laid-out), and the walk is
|
|
28
|
-
* BOUNDED (H-B): cap depth at 3 AND stop at the first sized / contained / container /
|
|
29
|
-
* positioned ancestor — never an unbounded gBCR storm to `<body>` (O(depth) reflow per
|
|
30
|
-
* tick), never an over-recovered wide flex/grid grandparent that sizes the backing to
|
|
31
|
-
* the viewport. Idempotent: the realloc (which CLEARS the drawing buffer) is skipped
|
|
32
|
-
* when the buffer already matches the box.
|
|
33
|
-
*
|
|
34
|
-
* Pure CSS-geometry — ZERO dependency on which GPU API is live, so it runs SYNCHRONOUSLY
|
|
35
|
-
* at mount before the async WebGPU device resolves (G2). Engine-identical in Chromium +
|
|
36
|
-
* WebKit (gBCR reflects the real box across a CV skip in both).
|
|
37
|
-
*/
|
|
38
|
-
export declare function sizeBacking(canvas: HTMLCanvasElement, dprPolicy: DprPolicy): BackingSize;
|
|
2
|
+
import { sizeBacking, type BackingSize, type DprPolicy } from "./backingSize";
|
|
3
|
+
export { sizeBacking };
|
|
4
|
+
export type { BackingSize, DprPolicy };
|
|
39
5
|
/** The per-frame hooks a backend's `buildContext` returns to the lifecycle core. */
|
|
40
6
|
export interface CanvasFrameHooks {
|
|
41
7
|
/** Draw one frame at `timeSec`. */
|
|
@@ -59,21 +25,30 @@ export interface CanvasLifecycleOptions {
|
|
|
59
25
|
/**
|
|
60
26
|
* Upload the backing geometry to the viewport/uniforms.
|
|
61
27
|
*
|
|
62
|
-
* BD.W-SUBSTRATE-SIZE-UNIFY (G1): the leaf
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
28
|
+
* BD.W-SUBSTRATE-SIZE-UNIFY (G1): the leaf MEASURES + sizes the backing store (via
|
|
29
|
+
* `sizeBacking`, the ONE sizer) and passes the freshly-computed `BackingSize` here so
|
|
30
|
+
* the consumer can never re-derive a wrong one. When the leaf owns sizing (`dprPolicy`
|
|
31
|
+
* provided) the buffer is already correct on entry — the consumer body is UPLOAD-ONLY,
|
|
32
|
+
* shrinking to `gl.viewport(0,0,s.w,s.h)` / `uploadResolution` (a WGPU swap-chain leg
|
|
33
|
+
* is a no-op — it auto-resizes to the backing the leaf set).
|
|
34
|
+
*
|
|
35
|
+
* BG.W-VIZ-RESIZE-ADOPT: every GL/WGPU procedural viz has HARD-ADOPTED the leaf sizer
|
|
36
|
+
* (all 9 pass `dprPolicy` + read `s` upload-only; ZERO viz self-measures the backing —
|
|
37
|
+
* `proof:viz` enforces `backing == round(gBCR × dpr)` with no surviving `canvas.width =`
|
|
38
|
+
* self-size). The arg stays optional ONLY for the un-migrated `useCanvas2D` leg + the
|
|
39
|
+
* substrate contract tests; dropping the `?` (the flag-day) is booked to their adopt.
|
|
69
40
|
*/
|
|
70
41
|
resize: (s?: BackingSize) => void;
|
|
71
42
|
/**
|
|
72
43
|
* The consumer's DPR policy, handed to the leaf's `sizeBacking`. When PRESENT the
|
|
73
44
|
* leaf owns the backing-store MEASUREMENT + sizing (the G1 inversion) and the live
|
|
74
45
|
* `BackingSize` rides every `resize` call. When ABSENT the leaf falls back to the
|
|
75
|
-
* legacy behaviour (the consumer's `resize()` self-measures) — the migration seam
|
|
76
|
-
*
|
|
46
|
+
* legacy behaviour (the consumer's `resize()` self-measures) — the migration seam.
|
|
47
|
+
*
|
|
48
|
+
* BG.W-VIZ-RESIZE-ADOPT: the GL/WGPU substrate (the `createGpuSubstrate` picker + both
|
|
49
|
+
* legs) is UNIVERSALLY on this seam now — every one of the 9 procedural viz threads its
|
|
50
|
+
* budget DPR here (`resolveBudgetDpr` / `resolveAuroraWashDpr`), so the STANDARD is
|
|
51
|
+
* `dprPolicy`-present; the ABSENT branch survives only for `useCanvas2D`.
|
|
77
52
|
*/
|
|
78
53
|
dprPolicy?: DprPolicy;
|
|
79
54
|
/**
|
|
@@ -93,7 +68,7 @@ export interface CanvasLifecycleOptions {
|
|
|
93
68
|
* via `sizeBacking` (the reveal belt-and-braces, the load-bearing path on WebKit
|
|
94
69
|
* where `contentvisibilityautostatechange` support is weaker).
|
|
95
70
|
*
|
|
96
|
-
* Default `false` — OPT-IN. Today several consumers (goo-blob,
|
|
71
|
+
* Default `false` — OPT-IN. Today several consumers (goo-blob, aurora)
|
|
97
72
|
* already write `"off-screen-io"` from their OWN `useIntersectionPause`; a leaf IO
|
|
98
73
|
* defaulting on would DOUBLE-WRITE that reason and breach the one-writer invariant.
|
|
99
74
|
* The atomic retirement of those per-consumer calls (so the leaf IO becomes the sole
|
|
@@ -104,14 +79,20 @@ export interface CanvasLifecycleOptions {
|
|
|
104
79
|
/** `rootMargin` for the leaf-composed IO park (G3). Default `"256px"` (pre-warm). */
|
|
105
80
|
intersectionRootMargin?: string;
|
|
106
81
|
/**
|
|
107
|
-
*
|
|
108
|
-
* leaf
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
82
|
+
* BG.W-VIZ-REVEAL-BLOOM — the one-shot cold-first-VISIBLE entrance bloom. When set,
|
|
83
|
+
* the leaf sets a one-shot `data-substrate-reveal` ATTRIBUTE on the canvas at the
|
|
84
|
+
* moment it FIRST becomes visible (a dedicated one-shot IntersectionObserver — NOT
|
|
85
|
+
* at `arm()`, which a content-skipped / below-fold viz would burn on an invisible
|
|
86
|
+
* paint). The CANVAS-targeted CSS `@keyframes substrate-reveal-bloom` (`viz-reveal.css`)
|
|
87
|
+
* then ramps `filter: brightness()/saturate()` from a dim floor, OVERSHOOTS past 1.0
|
|
88
|
+
* on the `--ease-cartoon-punch` linear() curve (the EFFECTS-channel sanctioned
|
|
89
|
+
* overshoot — opacity clamps at 1.0, only `filter: brightness` can exceed the
|
|
90
|
+
* settle), and settles to the canvas's own no-resting-filter rest — a FIELD bloom
|
|
91
|
+
* (the canvas rect stays `scale(1)`, no box-zoom gutter). The `revealFired` guard
|
|
92
|
+
* keeps it ONE-SHOT: an IO/CV re-reveal of an already-seen viz is a silent re-attach
|
|
93
|
+
* → ZERO second bloom on scroll-off-and-back. PRM → the leaf skips the attr AND the
|
|
94
|
+
* CSS animation sits inside `@media (prefers-reduced-motion: no-preference)`, so the
|
|
95
|
+
* field paints settled from frame 0 (zero ramp). Default `false` (opt-in per viz).
|
|
115
96
|
*/
|
|
116
97
|
revealBloom?: boolean;
|
|
117
98
|
}
|