@mkbabb/glass-ui 6.0.0 → 8.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 +40 -37
- package/dist/DialogContent-4hzLiaCQ.js +152 -0
- package/dist/DotRing-Blh4Mc3Q.js +27 -0
- package/dist/DropdownMenuTrigger-8UZsBtZ8.js +93 -0
- package/dist/Surface-i1tWC-Ga.js +48 -0
- package/dist/accent-tone-solve-Cw7WkRD9.js +14 -0
- package/dist/asElement-CRnm6A2v.js +9 -0
- package/dist/aurora.d.ts +1 -1
- package/dist/aurora.js +832 -767
- package/dist/axes.d.ts +1 -1
- package/dist/axes.js +16 -26
- package/dist/badge-owUOaaba.js +63 -0
- package/dist/badge.d.ts +1 -1
- package/dist/badge.js +2 -2
- package/dist/blob-config.d.ts +1 -1
- package/dist/blob-config.js +1 -1
- package/dist/blob.d.ts +1 -1
- package/dist/blob.js +442 -395
- package/dist/button-yvGPb0Bx.js +110 -0
- package/dist/button.d.ts +1 -1
- package/dist/button.js +2 -2
- package/dist/canvas.d.ts +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card-3HFFpC7_.js +190 -0
- package/dist/card.d.ts +1 -1
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +191 -239
- package/dist/checkbox-BnXuGgJ3.js +64 -0
- package/dist/checkbox.d.ts +1 -0
- package/dist/checkbox.js +2 -0
- package/dist/chip.d.ts +1 -1
- package/dist/chip.js +101 -53
- package/dist/{class-names-5jotTFzp.js → class-names-q-UGOkHH.js} +26 -5
- package/dist/collapsible-B7O6m-Ch.js +154 -0
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color.d.ts +1 -1
- package/dist/color.js +46 -50
- package/dist/{procedural-color.wgsl-B9mLK7v0.js → color.wgsl-B0N3mKMb.js} +200 -165
- package/dist/command-BuBnYpxF.js +340 -0
- package/dist/command.d.ts +1 -1
- package/dist/command.js +1 -1
- package/dist/component-styles.css +4 -0
- package/dist/components/_shared/axes.d.ts +13 -4
- package/dist/components/_shared/class-names.d.ts +10 -9
- package/dist/components/_shared/control.d.ts +11 -0
- package/dist/components/_shared/disclosure/disclosure-context.d.ts +7 -0
- package/dist/components/_shared/feedback/DotRing.vue.d.ts +3 -0
- package/dist/components/_shared/feedback/dot-ring.css +1 -0
- package/dist/components/_shared/feedback/feedback-tone.css +1 -0
- package/dist/components/_shared/field/control.d.ts +13 -0
- package/dist/components/_shared/focus.d.ts +11 -0
- package/dist/components/_shared/index.d.ts +2 -6
- package/dist/components/_shared/interaction.d.ts +23 -0
- package/dist/components/_shared/menu/menu.css +1 -0
- package/dist/components/_shared/menu/rowClass.d.ts +2 -0
- package/dist/components/_shared/overlay/content.d.ts +40 -0
- package/dist/components/_shared/overlay/index.d.ts +12 -0
- package/dist/components/{dock/composables → _shared/overlay}/isTeleportedTarget.d.ts +5 -0
- package/dist/components/_shared/overlay/participation.d.ts +66 -0
- package/dist/components/_shared/overlay/placement.d.ts +22 -0
- package/dist/components/_shared/primitive.d.ts +19 -0
- package/dist/components/_shared/selection.d.ts +46 -0
- package/dist/components/_shared/surface/resolve.d.ts +17 -0
- package/dist/components/_shared/useMotionAxis.d.ts +3 -8
- package/dist/components/accordion/Accordion.vue.d.ts +41 -16
- package/dist/components/accordion/AccordionContent.vue.d.ts +11 -9
- package/dist/components/accordion/AccordionItem.vue.d.ts +12 -9
- package/dist/components/accordion/AccordionTrigger.vue.d.ts +8 -11
- package/dist/components/accordion/index.d.ts +4 -4
- package/dist/components/alert/Alert.vue.d.ts +9 -5
- package/dist/components/alert/AlertDescription.vue.d.ts +2 -2
- package/dist/components/alert/AlertTitle.vue.d.ts +2 -2
- package/dist/components/alert/index.d.ts +17 -8
- package/dist/components/aurora/Aurora.vue.d.ts +41 -46
- package/dist/components/aurora/composables/atoms-fields.d.ts +13 -2
- package/dist/components/aurora/composables/atoms.d.ts +54 -52
- package/dist/components/aurora/composables/auroraFallbackGround.d.ts +14 -14
- package/dist/components/aurora/composables/auroraImageSource.d.ts +6 -7
- package/dist/components/aurora/composables/color.d.ts +18 -24
- package/dist/components/aurora/composables/frameLoop.d.ts +17 -14
- package/dist/components/aurora/composables/glSetup.d.ts +19 -7
- package/dist/components/aurora/composables/runtime.d.ts +58 -62
- package/dist/{composables/glass → components/aurora/composables}/textureUpload.d.ts +8 -23
- package/dist/components/aurora/composables/uniformBridge.d.ts +11 -33
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +23 -24
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +15 -15
- package/dist/components/aurora/composables/useAurora.d.ts +23 -34
- package/dist/components/aurora/composables/useCursorInteraction.d.ts +2 -2
- package/dist/components/aurora/composables/wgpuSetup.d.ts +14 -12
- package/dist/components/aurora/constants/budget.d.ts +5 -54
- package/dist/components/aurora/constants/presets.d.ts +49 -60
- package/dist/components/aurora/constants/renderMode.d.ts +21 -36
- package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +0 -2
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +1 -3
- package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/composition.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -2
- package/dist/components/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -1
- package/dist/components/aurora/index.d.ts +15 -13
- package/dist/components/avatar/Avatar.vue.d.ts +72 -11
- package/dist/components/avatar/AvatarFallback.vue.d.ts +1 -2
- package/dist/components/avatar/AvatarImage.vue.d.ts +7 -8
- package/dist/components/avatar/index.d.ts +3 -9
- package/dist/components/badge/Badge.vue.d.ts +3 -17
- package/dist/components/badge/index.d.ts +33 -9
- package/dist/components/blob/Blob.vue.d.ts +8 -15
- package/dist/components/blob/composables/blobSimulation.d.ts +80 -0
- package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
- package/dist/components/blob/composables/resolveBlobSurface.d.ts +6 -0
- package/dist/components/blob/composables/satelliteKinematics.d.ts +4 -4
- package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +4 -4
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +7 -34
- package/dist/components/blob/composables/useBlobMood.d.ts +6 -6
- package/dist/components/blob/composables/useBlobPointer.d.ts +11 -15
- package/dist/components/blob/composables/useBlobSatellites.d.ts +1 -1
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +32 -29
- package/dist/components/blob/composables/wgpuSetup.d.ts +10 -8
- package/dist/components/blob/config.d.ts +3 -3
- package/dist/components/blob/constants.d.ts +1 -3
- package/dist/components/blob/index.d.ts +8 -8
- package/dist/components/blob/presets.d.ts +3 -3
- package/dist/components/blob/shaders/metaball-palette.wgsl.d.ts +1 -1
- package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
- package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -1
- package/dist/components/blob/shaders/sdf-body.glsl.d.ts +1 -1
- package/dist/components/blob/shaders/watercolor-edges.glsl.d.ts +1 -1
- package/dist/components/blob/types.d.ts +28 -60
- package/dist/components/button/Button.vue.d.ts +32 -20
- package/dist/components/button/index.d.ts +1 -9
- package/dist/components/button/styles.css +1 -0
- package/dist/components/card/Card.vue.d.ts +24 -162
- package/dist/components/card/CardContent.vue.d.ts +2 -2
- package/dist/components/card/CardDescription.vue.d.ts +2 -2
- package/dist/components/card/CardFooter.vue.d.ts +2 -2
- package/dist/components/card/CardHeader.vue.d.ts +8 -40
- package/dist/components/card/CardTitle.vue.d.ts +6 -3
- package/dist/components/card/index.d.ts +6 -9
- package/dist/components/card/scroll.css +1 -0
- package/dist/components/card/styles.css +1 -1
- package/dist/components/carousel/Carousel.vue.d.ts +14 -19
- package/dist/components/carousel/CarouselContent.vue.d.ts +2 -12
- package/dist/components/carousel/CarouselItem.vue.d.ts +14 -3
- package/dist/components/carousel/CarouselPager.vue.d.ts +2 -2
- package/dist/components/carousel/index.d.ts +7 -8
- package/dist/components/carousel/projection.d.ts +23 -0
- package/dist/components/carousel/styles.css +1 -0
- package/dist/components/carousel/types.d.ts +47 -0
- package/dist/components/carousel/useCarousel.d.ts +4 -21
- package/dist/components/checkbox/Checkbox.vue.d.ts +17 -9
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/chip/Chip.vue.d.ts +12 -7
- package/dist/components/chip/accent-tone.css +1 -0
- package/dist/components/chip/chipVariants.d.ts +20 -43
- package/dist/components/chip/index.d.ts +3 -3
- package/dist/components/chip/types.d.ts +46 -31
- package/dist/components/collapsible/Collapsible.vue.d.ts +22 -9
- package/dist/components/collapsible/CollapsibleContent.vue.d.ts +11 -5
- package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +12 -9
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/command/Command.vue.d.ts +11 -23
- package/dist/components/command/CommandDialog.vue.d.ts +10 -11
- package/dist/components/command/CommandEmpty.vue.d.ts +2 -6
- package/dist/components/command/CommandGroup.vue.d.ts +2 -7
- package/dist/components/command/CommandInput.vue.d.ts +6 -7
- package/dist/components/command/CommandItem.vue.d.ts +7 -11
- package/dist/components/command/CommandList.vue.d.ts +12 -19
- package/dist/components/command/CommandSeparator.vue.d.ts +2 -6
- package/dist/components/command/CommandShortcut.vue.d.ts +2 -2
- package/dist/components/command/index.d.ts +11 -10
- package/dist/components/command/types.d.ts +32 -0
- package/dist/components/configurator/Configurator.vue.d.ts +7 -7
- package/dist/components/configurator/ConfiguratorLayer.vue.d.ts +14 -18
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +15 -18
- package/dist/components/configurator/index.d.ts +6 -6
- package/dist/components/configurator/size.d.ts +5 -7
- package/dist/components/configurator/styles.css +1 -1
- package/dist/components/configurator/useConfiguratorState.d.ts +1 -1
- package/dist/components/constellation/Constellation.vue.d.ts +4 -6
- package/dist/components/constellation/composables/createConstellationField.d.ts +3 -3
- package/dist/components/constellation/composables/useConstellation.d.ts +2 -2
- package/dist/components/constellation/constants.d.ts +9 -9
- package/dist/components/constellation/constellationField.d.ts +8 -10
- package/dist/components/constellation/constellationInteraction.d.ts +9 -13
- package/dist/components/constellation/constellationRender.d.ts +1 -3
- package/dist/components/constellation/constellationTypes.d.ts +51 -63
- package/dist/components/constellation/constellationWell.d.ts +3 -3
- package/dist/components/constellation/index.d.ts +8 -6
- package/dist/components/dark-mode-toggle/DarkModeToggle.vue.d.ts +12 -0
- package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -0
- package/dist/components/dark-mode-toggle/index.d.ts +2 -0
- package/dist/components/data-table/DataTable.vue.d.ts +11 -59
- package/dist/components/data-table/composables/useDataTableResponsive.d.ts +1 -1
- package/dist/components/data-table/composables/useDataTableRowIdentity.d.ts +5 -23
- package/dist/components/data-table/index.d.ts +2 -2
- package/dist/components/data-table/types.d.ts +10 -12
- package/dist/components/{card/CardAction.vue.d.ts → deck/DeckSlide.vue.d.ts} +12 -8
- package/dist/components/deck/DeckStage.vue.d.ts +36 -0
- package/dist/components/deck/composables/useDeck.d.ts +35 -10
- package/dist/components/deck/composables/useDeckCapture.d.ts +26 -0
- package/dist/components/deck/composables/useDeckHashSync.d.ts +8 -0
- package/dist/components/deck/composables/useDeckKeyboard.d.ts +16 -8
- package/dist/components/deck/composables/useDeckSnap.d.ts +20 -0
- package/dist/components/deck/composables/useDeckSwipe.d.ts +13 -0
- package/dist/components/deck/composables/useEdgeZones.d.ts +14 -0
- package/dist/components/deck/constants.d.ts +0 -3
- package/dist/components/deck/index.d.ts +22 -7
- package/dist/components/deck/slideContext.d.ts +21 -0
- package/dist/components/deck/styles/capture.css +1 -0
- package/dist/components/deck/styles/index.css +1 -0
- package/dist/components/deck/styles/reveal.css +1 -0
- package/dist/components/deck/styles/stage.css +1 -0
- package/dist/components/deck/styles/turn.css +1 -0
- package/dist/components/deck/types.d.ts +26 -0
- package/dist/components/deck/window.d.ts +27 -0
- package/dist/components/dialog/Dialog.vue.d.ts +21 -3
- package/dist/components/dialog/DialogContent.vue.d.ts +32 -99
- package/dist/components/dialog/DialogDescription.vue.d.ts +5 -6
- package/dist/components/dialog/DialogFooter.vue.d.ts +2 -2
- package/dist/components/dialog/DialogHeader.vue.d.ts +2 -2
- package/dist/components/dialog/DialogTitle.vue.d.ts +5 -6
- package/dist/components/dialog/ModalOverlay.vue.d.ts +66 -0
- package/dist/components/dialog/index.d.ts +7 -8
- package/dist/components/dialog/styles.css +1 -0
- package/dist/components/dock/DockControl.vue.d.ts +15 -14
- package/dist/components/dock/DockCrossfade.vue.d.ts +6 -10
- package/dist/components/dock/DockLayer.vue.d.ts +3 -4
- package/dist/components/dock/DockLayerGroup.vue.d.ts +18 -18
- package/dist/components/dock/DockSeparator.vue.d.ts +25 -20
- package/dist/components/dock/GlassDock.vue.d.ts +4 -4
- package/dist/components/dock/composables/dockContext.d.ts +33 -19
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +10 -11
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +7 -87
- package/dist/components/dock/composables/dockSwitcherContext.d.ts +29 -0
- package/dist/components/dock/composables/index.d.ts +10 -10
- package/dist/components/dock/composables/useDockClickIntegrity.d.ts +1 -1
- package/dist/components/dock/composables/useDockHold.d.ts +24 -10
- package/dist/components/dock/composables/useDockMorph.d.ts +26 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +4 -6
- package/dist/components/dock/composables/useDockSearch.d.ts +12 -12
- package/dist/components/dock/composables/useDockShellProps.d.ts +44 -65
- package/dist/components/dock/composables/useDockSpring.d.ts +7 -11
- package/dist/components/dock/composables/useDockState.d.ts +28 -6
- package/dist/components/dock/composables/useDockTouchGate.d.ts +14 -23
- package/dist/components/dock/constants.d.ts +21 -80
- package/dist/components/dock/index.d.ts +15 -20
- package/dist/components/dock/styles/adaptive-legibility.css +1 -1
- package/dist/components/dock/styles/controls/icon-button.css +1 -1
- package/dist/components/dock/styles/controls/tab-button.css +1 -1
- package/dist/components/dock/styles/controls/touch-floor.css +1 -1
- package/dist/components/dock/styles/controls/triggers.css +1 -1
- package/dist/components/dock/styles/controls.css +1 -1
- package/dist/components/dock/styles/crossfade.css +1 -1
- package/dist/components/dock/styles/cta-seat.css +1 -1
- package/dist/components/dock/styles/density.css +1 -1
- package/dist/components/dock/styles/dock.css +1 -1
- package/dist/components/dock/styles/index.css +1 -1
- package/dist/components/dock/styles/layer-group.css +1 -1
- package/dist/components/dock/styles/layers.css +1 -1
- package/dist/components/dock/styles/morph.css +1 -1
- package/dist/components/dock/styles/overflow.css +1 -1
- package/dist/components/dock/styles/search.css +1 -1
- package/dist/components/dock/styles/shape.css +1 -1
- package/dist/components/dock/styles/shell-regions.css +1 -1
- package/dist/components/dock/styles/shell.css +1 -1
- package/dist/components/easing/EasingCurve.vue.d.ts +51 -0
- package/dist/components/easing/EasingPicker.vue.d.ts +16 -32
- package/dist/components/easing/constants.d.ts +16 -14
- package/dist/components/easing/index.d.ts +5 -3
- package/dist/components/easing/{composables/useEasingPicker.d.ts → usePicker.d.ts} +31 -30
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -25
- package/dist/components/expandable-container/index.d.ts +1 -1
- package/dist/components/fading-scroll/FadingScroll.vue.d.ts +4 -0
- package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +4 -0
- package/dist/components/fading-scroll/constants.d.ts +2 -10
- package/dist/components/fading-scroll/index.d.ts +2 -2
- package/dist/components/fourier-field/FourierField.vue.d.ts +9 -13
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +5 -5
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +5 -5
- package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +2 -4
- package/dist/components/fourier-field/composables/useFourierField.d.ts +8 -8
- package/dist/components/fourier-field/constants.d.ts +11 -11
- package/dist/components/fourier-field/index.d.ts +10 -12
- package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +2 -2
- package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
- package/dist/components/handmark/HandMark.vue.d.ts +6 -6
- package/dist/components/handmark/brush.d.ts +1 -1
- package/dist/components/handmark/composables/useHandMark.d.ts +8 -8
- package/dist/components/handmark/constants.d.ts +10 -10
- package/dist/components/handmark/geometry.d.ts +9 -12
- package/dist/components/handmark/index.d.ts +17 -16
- package/dist/components/handmark/ink.d.ts +1 -1
- package/dist/components/handmark/noise.d.ts +3 -3
- package/dist/components/handmark/texture.d.ts +2 -2
- package/dist/components/handmark/types.d.ts +3 -3
- package/dist/components/index.d.ts +30 -35
- package/dist/components/infinite-scroll/InfiniteScroll.vue.d.ts +3 -3
- package/dist/components/infinite-scroll/composables/index.d.ts +2 -2
- package/dist/components/infinite-scroll/composables/types.d.ts +1 -1
- package/dist/components/infinite-scroll/composables/useInfiniteScroll.d.ts +1 -1
- package/dist/components/infinite-scroll/index.d.ts +2 -2
- package/dist/components/input/Input.vue.d.ts +15 -35
- package/dist/components/input/index.d.ts +3 -1
- package/dist/components/input/types.d.ts +62 -0
- package/dist/components/label/Label.vue.d.ts +9 -14
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/labeled-field/LabeledField.vue.d.ts +10 -108
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +3 -23
- package/dist/components/labeled-field/LabeledSlider.vue.d.ts +12 -18
- package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +14 -17
- package/dist/components/labeled-field/index.d.ts +5 -5
- package/dist/components/labeled-field/types.d.ts +41 -0
- package/dist/components/menu/DropdownMenu.vue.d.ts +51 -0
- package/dist/components/menu/DropdownMenuCheckboxItem.vue.d.ts +33 -0
- package/dist/components/menu/DropdownMenuContent.vue.d.ts +42 -0
- package/dist/components/{dropdown-menu → menu}/DropdownMenuGroup.vue.d.ts +6 -4
- package/dist/components/menu/DropdownMenuItem.vue.d.ts +31 -0
- package/dist/components/menu/DropdownMenuLabel.vue.d.ts +19 -0
- package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioGroup.vue.d.ts +13 -6
- package/dist/components/menu/DropdownMenuRadioItem.vue.d.ts +29 -0
- package/dist/components/menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/menu/DropdownMenuShortcut.vue.d.ts +16 -0
- package/dist/components/{dropdown-menu → menu}/DropdownMenuSub.vue.d.ts +15 -7
- package/dist/components/menu/DropdownMenuSubContent.vue.d.ts +41 -0
- package/dist/components/menu/DropdownMenuSubTrigger.vue.d.ts +20 -0
- package/dist/components/menu/DropdownMenuTrigger.vue.d.ts +27 -0
- package/dist/components/menu/context.d.ts +7 -0
- package/dist/components/menu/index.d.ts +15 -0
- package/dist/components/metric/Metric.vue.d.ts +26 -0
- package/dist/components/metric/MetricRow.vue.d.ts +14 -0
- package/dist/components/metric/MetricStack.vue.d.ts +16 -0
- package/dist/components/metric/coalesce-metric.d.ts +31 -24
- package/dist/components/metric/index.d.ts +6 -0
- package/dist/components/metric/styles.css +1 -0
- package/dist/components/metric/types.d.ts +44 -0
- package/dist/components/music-staff/MusicStaff.vue.d.ts +22 -0
- package/dist/components/music-staff/glyphs.d.ts +74 -0
- package/dist/components/music-staff/index.d.ts +4 -0
- package/dist/components/music-staff/midiAdapter.d.ts +22 -0
- package/dist/components/music-staff/staffGeometry.d.ts +216 -0
- package/dist/components/music-staff/styles.css +1 -0
- package/dist/components/number-field/NumberField.vue.d.ts +27 -10
- package/dist/components/number-field/NumberFieldInput.vue.d.ts +1 -6
- package/dist/components/number-field/NumberFieldStep.vue.d.ts +31 -0
- package/dist/components/number-field/context.d.ts +10 -0
- package/dist/components/number-field/index.d.ts +3 -5
- package/dist/components/pager-dots/PagerDots.vue.d.ts +22 -10
- package/dist/components/pager-dots/index.d.ts +3 -4
- package/dist/components/pager-dots/worm.d.ts +42 -0
- package/dist/components/popover/Popover.vue.d.ts +45 -35
- package/dist/components/popover/PopoverContent.vue.d.ts +27 -30
- package/dist/components/popover/PopoverTrigger.vue.d.ts +12 -7
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/popoverContext.d.ts +13 -4
- package/dist/components/progress/Progress.vue.d.ts +6 -14
- package/dist/components/progress/index.d.ts +2 -1
- package/dist/components/progress/types.d.ts +29 -0
- package/dist/components/radio-group/RadioGroup.vue.d.ts +25 -15
- package/dist/components/radio-group/RadioGroupItem.vue.d.ts +10 -6
- package/dist/components/radio-group/index.d.ts +4 -2
- package/dist/components/scroll-progress-rim/ScrollProgressRim.vue.d.ts +2 -14
- package/dist/components/scroll-progress-rim/index.d.ts +2 -3
- package/dist/components/scroll-progress-rim/styles.css +1 -1
- package/dist/components/scroll-progress-rim/types.d.ts +20 -2
- package/dist/components/search/SearchBar.vue.d.ts +4 -4
- package/dist/components/search/composables/fuzzySearchIndex.d.ts +1 -1
- package/dist/components/search/composables/index.d.ts +5 -5
- package/dist/components/search/composables/useFuzzySearch.d.ts +1 -1
- package/dist/components/search/index.d.ts +8 -9
- package/dist/components/search/searchVariants.d.ts +15 -18
- package/dist/components/select/Select.vue.d.ts +25 -14
- package/dist/components/select/SelectContent.vue.d.ts +24 -32
- package/dist/components/select/SelectGroup.vue.d.ts +7 -11
- package/dist/components/select/SelectItem.vue.d.ts +24 -13
- package/dist/components/select/SelectLabel.vue.d.ts +7 -11
- package/dist/components/select/SelectScrollButton.vue.d.ts +18 -0
- package/dist/components/select/SelectSeparator.vue.d.ts +5 -6
- package/dist/components/select/SelectTrigger.vue.d.ts +8 -41
- package/dist/components/select/SelectValue.vue.d.ts +11 -7
- package/dist/components/select/index.d.ts +18 -8
- package/dist/components/separator/Separator.vue.d.ts +11 -6
- package/dist/components/separator/index.d.ts +1 -1
- package/dist/components/sheet/SheetContent.vue.d.ts +60 -0
- package/dist/components/sheet/detents/projection.d.ts +42 -0
- package/dist/components/sheet/detents/use.d.ts +27 -0
- package/dist/components/sheet/index.d.ts +4 -0
- package/dist/components/sheet/motion.d.ts +29 -0
- package/dist/components/sheet/styles.css +1 -0
- package/dist/components/skeleton/Skeleton.vue.d.ts +3 -31
- package/dist/components/skeleton/index.d.ts +1 -1
- package/dist/components/slider/Slider.vue.d.ts +10 -38
- package/dist/components/slider/index.d.ts +2 -46
- package/dist/components/slider/styles.css +1 -0
- package/dist/components/slider/types.d.ts +34 -0
- package/dist/components/sortable-list/SortableItem.vue.d.ts +1 -1
- package/dist/components/sortable-list/SortableList.vue.d.ts +2 -3
- package/dist/components/sortable-list/context.d.ts +1 -1
- package/dist/components/sortable-list/drag.d.ts +52 -0
- package/dist/components/sortable-list/ghost.d.ts +40 -0
- package/dist/components/sortable-list/index.d.ts +4 -4
- package/dist/components/sortable-list/motion.d.ts +75 -0
- package/dist/components/sortable-list/resolve.d.ts +56 -0
- package/dist/components/sortable-list/{composables/types.d.ts → types.d.ts} +14 -7
- package/dist/components/sortable-list/{composables/useSortable.d.ts → useSortable.d.ts} +2 -4
- package/dist/components/status-dot/StatusDot.vue.d.ts +14 -10
- package/dist/components/status-dot/index.d.ts +3 -1
- package/dist/components/status-dot/states.d.ts +4 -0
- package/dist/components/surface/Surface.vue.d.ts +33 -24
- package/dist/components/surface/index.d.ts +2 -2
- package/dist/components/switch/Switch.vue.d.ts +15 -11
- package/dist/components/switch/index.d.ts +2 -1
- package/dist/components/table/Table.vue.d.ts +1 -1
- package/dist/components/table/index.d.ts +8 -8
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +28 -24
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +7 -7
- package/dist/components/tabs/composables/useTabResponsive.d.ts +6 -7
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +31 -23
- package/dist/components/tabs/index.d.ts +2 -2
- package/dist/components/tabs/styles/drag.css +1 -1
- package/dist/components/tabs/styles/segmented.css +1 -1
- package/dist/components/textarea/Textarea.vue.d.ts +14 -54
- package/dist/components/textarea/index.d.ts +2 -1
- package/dist/components/textarea/types.d.ts +45 -0
- package/dist/components/timeline/Timeline.vue.d.ts +41 -0
- package/dist/components/timeline/geometry.d.ts +53 -79
- package/dist/components/timeline/index.d.ts +2 -2
- package/dist/components/timeline/types.d.ts +42 -42
- package/dist/components/toast/Toast.vue.d.ts +39 -81
- package/dist/components/toast/ToastAction.vue.d.ts +5 -5
- package/dist/components/toast/ToastClose.vue.d.ts +4 -5
- package/dist/components/toast/ToastDescription.vue.d.ts +4 -5
- package/dist/components/toast/ToastTitle.vue.d.ts +4 -5
- package/dist/components/toast/Toaster.vue.d.ts +1 -1
- package/dist/components/toast/index.d.ts +8 -9
- package/dist/components/toast/use-toast.d.ts +27 -163
- package/dist/components/toggle-group/ToggleGroup.vue.d.ts +25 -14
- package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +14 -12
- package/dist/components/toggle-group/context.d.ts +28 -0
- package/dist/components/toggle-group/index.d.ts +2 -2
- package/dist/components/tooltip/Tooltip.vue.d.ts +20 -7
- package/dist/components/tooltip/TooltipContent.vue.d.ts +16 -13
- package/dist/components/tooltip/TooltipProvider.vue.d.ts +12 -5
- package/dist/components/tooltip/TooltipTrigger.vue.d.ts +12 -5
- package/dist/components/tooltip/index.d.ts +4 -4
- package/dist/components/typewriter/TypewriterText.vue.d.ts +12 -32
- package/dist/components/typewriter/composables/useTypewriter.d.ts +2 -1
- package/dist/components/typewriter/index.d.ts +7 -7
- package/dist/components/typewriter/types.d.ts +1 -1
- package/dist/components/typewriter/utils/timing.d.ts +1 -3
- package/dist/components/typewriter/utils/typoStateMachine.d.ts +1 -1
- package/dist/composables/color/accent-tone-solve.d.ts +3 -6
- package/dist/composables/color/index.d.ts +36 -43
- package/dist/composables/color/useAccentTone.d.ts +0 -3
- package/dist/composables/color/value.d.ts +21 -0
- package/dist/composables/context/createContext.d.ts +2 -2
- package/dist/composables/context/index.d.ts +1 -1
- package/dist/composables/dark/index.d.ts +5 -5
- package/dist/composables/dark/useGlobalDark.d.ts +7 -6
- package/dist/composables/dom/index.d.ts +10 -10
- package/dist/composables/dom/useBreakpoint.d.ts +2 -2
- package/dist/composables/dom/useClipboard.d.ts +28 -52
- package/dist/composables/dom/useDocumentVisibility.d.ts +3 -1
- package/dist/composables/dom/useDragVelocity.d.ts +7 -0
- package/dist/composables/dom/useIdleReady.d.ts +5 -6
- package/dist/composables/dom/useTokenColor.d.ts +2 -2
- package/dist/composables/dom/useUserInvalidAria.d.ts +2 -3
- package/dist/composables/dom/useViewportReady.d.ts +4 -4
- package/dist/composables/glass/backdropLuminanceSample.d.ts +23 -24
- package/dist/composables/glass/backdropSampleMath.d.ts +10 -0
- package/dist/composables/glass/canvas2d/index.d.ts +3 -3
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +8 -10
- package/dist/composables/glass/index.d.ts +5 -7
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +13 -22
- package/dist/composables/glass/useSpecularTracking.d.ts +13 -16
- package/dist/composables/glass/webgl/backingSize.d.ts +5 -8
- package/dist/composables/glass/webgl/compile.d.ts +1 -1
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +25 -34
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +24 -39
- package/dist/composables/glass/webgl/visibility.d.ts +4 -5
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +20 -23
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +4 -5
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +19 -19
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +8 -26
- package/dist/composables/keyboard/index.d.ts +1 -1
- package/dist/composables/motion/core/asElement.d.ts +2 -0
- package/dist/composables/motion/core/constants.d.ts +25 -0
- package/dist/composables/motion/core/index.d.ts +21 -24
- package/dist/composables/motion/{motionTempo.d.ts → core/motionTempo.d.ts} +0 -2
- package/dist/composables/motion/core/useReducedMotion.d.ts +5 -0
- package/dist/composables/motion/core/useViewTransition.d.ts +44 -0
- package/dist/composables/motion/dissolve/dissolveGrammar.d.ts +88 -0
- package/dist/composables/motion/engage/engageEnvelopes.d.ts +45 -0
- package/dist/composables/motion/engage/engageLadder.d.ts +86 -0
- package/dist/composables/motion/index.d.ts +14 -16
- package/dist/composables/motion/morph/eyeglass.d.ts +141 -0
- package/dist/composables/motion/{useDockCtaReceive.d.ts → morph/useDockCtaReceive.d.ts} +8 -9
- package/dist/composables/motion/{useDragMorph.d.ts → morph/useDragMorph.d.ts} +7 -7
- package/dist/composables/motion/morph/useElementMorph.d.ts +50 -0
- package/dist/composables/motion/morph/useLeadTrail.d.ts +71 -0
- package/dist/composables/motion/morph/useSelectionGroup.d.ts +123 -0
- package/dist/composables/motion/morph/useSelectionIndicator.d.ts +113 -0
- package/dist/composables/motion/{useAnimatedNumberMap.d.ts → number/useAnimatedNumberMap.d.ts} +1 -1
- package/dist/composables/motion/{pointerFieldMappings.d.ts → pointer/pointerFieldMappings.d.ts} +8 -11
- package/dist/composables/motion/{usePointerVelocityField.d.ts → pointer/usePointerVelocityField.d.ts} +1 -1
- package/dist/composables/motion/{useRoutePointer.d.ts → pointer/useRoutePointer.d.ts} +1 -1
- package/dist/composables/motion/{useLiquidReveal.d.ts → reveal/useLiquidReveal.d.ts} +11 -10
- package/dist/composables/motion/{useStagger.d.ts → reveal/useStagger.d.ts} +3 -3
- package/dist/composables/motion/route/routeGrammar.d.ts +60 -0
- package/dist/composables/motion/route/useRouteTransition.d.ts +45 -0
- package/dist/composables/motion/{useScrollChrome.d.ts → scroll/useScrollChrome.d.ts} +2 -2
- package/dist/composables/motion/{useScrollProgress.d.ts → scroll/useScrollProgress.d.ts} +9 -6
- package/dist/composables/motion/{useScrollScene.d.ts → scroll/useScrollScene.d.ts} +5 -4
- package/dist/composables/motion/spring/springPresets.d.ts +32 -0
- package/dist/composables/motion/{springProjection.d.ts → spring/springProjection.d.ts} +6 -4
- package/dist/composables/motion/{useLiquidFlex.d.ts → spring/useLiquidFlex.d.ts} +11 -12
- package/dist/composables/motion/{useLiquidPress.d.ts → spring/useLiquidPress.d.ts} +5 -5
- package/dist/composables/motion/{useSpring.d.ts → spring/useSpring.d.ts} +5 -2
- package/dist/composables/motion/{useSpringMount.d.ts → spring/useSpringMount.d.ts} +14 -4
- package/dist/composables/motion/{useSpringPress.d.ts → spring/useSpringPress.d.ts} +6 -6
- package/dist/composables/reactive/index.d.ts +2 -2
- package/dist/composables/sidebar/index.d.ts +10 -10
- package/dist/composables/sidebar/types.d.ts +3 -3
- package/dist/composables/sidebar/useClickDelegate.d.ts +1 -1
- package/dist/composables/sidebar/useLazyLoader.d.ts +1 -1
- package/dist/composables/sidebar/useScrollTo.d.ts +1 -1
- package/dist/composables/sidebar/useScrollTracker.d.ts +1 -1
- package/dist/composables/sidebar/useSidebarState.d.ts +1 -1
- package/dist/composables/sidebar/useTreeIndex.d.ts +1 -1
- package/dist/{configurator-CSENXXSy.js → configurator-BoeScnDL.js} +12 -12
- package/dist/configurator.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/{constants-DRZmNIY-.js → constants-Dk96HZHu.js} +3 -3
- package/dist/constellation.d.ts +1 -1
- package/dist/constellation.js +198 -196
- package/dist/content-CWO-XL7o.js +18 -0
- package/dist/control-Da4XeT43.js +11 -0
- package/dist/control.css_vue_type_style_index_0_src_true_lang-BIdufaDG.js +21 -0
- package/dist/{createCanvasLifecycle-hsFkQVdl.js → createCanvasLifecycle-hJHobVTn.js} +84 -82
- package/dist/dark-mode-toggle.d.ts +1 -0
- package/dist/dark-mode-toggle.js +43 -0
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table-_RrOEdiw.js +493 -0
- package/dist/data-table.d.ts +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck-Ci6YjB5e.js +453 -0
- package/dist/deck.d.ts +1 -1
- package/dist/deck.js +2 -94
- package/dist/dialog-CbRnTRtg.js +78 -0
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.js +3 -2
- package/dist/dock.d.ts +1 -1
- package/dist/dock.js +654 -1044
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +65 -105
- package/dist/easing.d.ts +1 -1
- package/dist/easing.js +709 -522
- package/dist/expandable-container.d.ts +1 -1
- package/dist/expandable-container.js +109 -93
- package/dist/fading-scroll-CTeW3KNS.js +96 -0
- package/dist/fading-scroll.d.ts +1 -1
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-Duf7EpUu.js +13 -0
- package/dist/fourier-field.d.ts +1 -1
- package/dist/fourier-field.js +172 -174
- package/dist/fourier-math.d.ts +1 -1
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +295 -505
- package/dist/handmark.d.ts +1 -1
- package/dist/handmark.js +4 -4
- package/dist/index.d.ts +41 -51
- package/dist/infinite-scroll.d.ts +1 -1
- package/dist/infinite-scroll.js +59 -43
- package/dist/input-Bls2A4Tt.js +54 -0
- package/dist/input.d.ts +1 -0
- package/dist/input.js +2 -0
- package/dist/keyboard.d.ts +1 -1
- package/dist/label-BQEZhnK_.js +53 -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 +232 -239
- package/dist/menu-wLu1XGKn.js +501 -0
- package/dist/menu.d.ts +1 -0
- package/dist/{dropdown-menu.js → menu.js} +2 -2
- package/dist/metric.d.ts +1 -0
- package/dist/metric.js +139 -0
- package/dist/motion-D4uYE0UM.js +61 -0
- package/dist/motion-core.d.ts +1 -1
- package/dist/motion-core.js +206 -165
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +164 -239
- package/dist/music-staff.d.ts +1 -0
- package/dist/music-staff.js +915 -0
- package/dist/number-field-NFAwQ0HK.js +111 -0
- package/dist/number-field.d.ts +1 -1
- package/dist/number-field.js +2 -2
- package/dist/pager-dots.d.ts +1 -1
- package/dist/pager-dots.js +362 -2
- package/dist/participation-B0hdsIRo.js +42 -0
- package/dist/{pointerFieldMappings-CZojkgKj.js → pointerFieldMappings-DP5tla5z.js} +4 -7
- package/dist/popover-DBMKTPkL.js +181 -0
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-CxeNvxuO.js → presets-5myqNv59.js} +1 -1
- package/dist/primitive-B2t2jdqM.js +11 -0
- package/dist/progress-DF8dWZIX.js +74 -0
- package/dist/progress.d.ts +1 -1
- package/dist/progress.js +1 -1
- package/dist/radio-group-Ci8o-pDx.js +85 -0
- package/dist/radio-group.d.ts +1 -0
- package/dist/radio-group.js +2 -0
- package/dist/reactive.d.ts +1 -1
- package/dist/reactive.js +1 -1
- package/dist/resolve-DdrNvBby.js +6 -0
- package/dist/resolveCanvasColor-6MCrswTB.js +81 -0
- package/dist/rowClass-DYOXwxhO.js +10 -0
- package/dist/scroll-progress-rim.d.ts +1 -1
- package/dist/scroll-progress-rim.js +48 -42
- package/dist/{scrollReader-C2oK9Hb8.js → scrollReader-Brf5cQNo.js} +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.js +33 -296
- package/dist/select-CDgwGH_P.js +290 -0
- package/dist/select.d.ts +1 -1
- package/dist/select.js +2 -2
- package/dist/selection-DqIULxRG.js +6 -0
- package/dist/separator-CN11t406.js +73 -0
- package/dist/separator.d.ts +1 -1
- package/dist/separator.js +1 -1
- package/dist/sheet-BEFvnO_u.js +340 -0
- package/dist/sheet.d.ts +1 -0
- package/dist/sheet.js +3 -0
- package/dist/sidebar.d.ts +1 -1
- package/dist/sidebar.js +53 -42
- package/dist/slider-gsc8jDIo.js +227 -0
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +2 -2
- package/dist/sortable-list.d.ts +1 -1
- package/dist/sortable-list.js +412 -286
- package/dist/springPresets-Cbe0Voqg.js +52 -0
- package/dist/status-dot-BpnqOP5N.js +56 -0
- package/dist/status-dot.d.ts +1 -1
- package/dist/status-dot.js +2 -59
- package/dist/styles/accessibility.css +1 -1
- package/dist/styles/animations.css +1 -1
- package/dist/styles/components.css +1 -1
- package/dist/styles/fonts.css +1 -1
- package/dist/styles/glass/a11y-fallback.css +1 -1
- package/dist/styles/glass/control-bit.css +1 -0
- package/dist/styles/glass/control-edge.css +1 -0
- package/dist/styles/glass/control-surfaces.css +1 -1
- package/dist/styles/glass/deep.css +1 -1
- package/dist/styles/glass/defined.css +1 -1
- package/dist/styles/glass/dissolve.css +1 -0
- package/dist/styles/glass/focus-veil.css +1 -0
- package/dist/styles/glass/glass-atom.css +1 -1
- package/dist/styles/glass/glass-capsule.css +1 -1
- package/dist/styles/glass/glass-chip.css +1 -1
- package/dist/styles/glass/grasp.css +1 -0
- package/dist/styles/glass/ladder-undershadow.css +1 -1
- package/dist/styles/glass/ladder.css +1 -1
- package/dist/styles/glass/liquid-enter.css +1 -1
- package/dist/styles/glass/liquid-fill.css +1 -1
- package/dist/styles/glass/mark.css +1 -0
- package/dist/styles/glass/material.css +1 -1
- package/dist/styles/glass/overlay-plate.css +1 -0
- package/dist/styles/glass/reveal.css +1 -1
- package/dist/styles/glass/rim.css +1 -1
- package/dist/styles/glass/squircle.css +1 -1
- package/dist/styles/glass/surface-axis.css +1 -1
- package/dist/styles/glass/surfaces-pager.css +1 -1
- package/dist/styles/glass/surfaces.css +1 -1
- package/dist/styles/glass/track-flow.css +1 -0
- package/dist/styles/glass/value-marks.css +1 -0
- package/dist/styles/glass/veil.css +1 -0
- package/dist/styles/glass-specular-track.css +1 -1
- package/dist/styles/glass.css +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/paper.css +1 -1
- package/dist/styles/scroll-choreography.css +1 -1
- package/dist/styles/scroll-chrome.css +1 -1
- package/dist/styles/scroll-driven.css +1 -1
- package/dist/styles/theme/bridges.css +1 -1
- package/dist/styles/theme/dark.css +1 -1
- package/dist/styles/theme/literals.css +1 -1
- package/dist/styles/theme/radius.css +1 -1
- package/dist/styles/theme.css +1 -1
- package/dist/styles/tokens/color-radius.css +1 -1
- package/dist/styles/tokens/dark-arm-glass.css +1 -1
- package/dist/styles/tokens/dark-arm.css +1 -1
- package/dist/styles/tokens/glass-deep.css +1 -1
- package/dist/styles/tokens/glass-fx.css +1 -1
- package/dist/styles/tokens/glass.css +1 -1
- package/dist/styles/tokens/light-dark.css +1 -1
- package/dist/styles/tokens/manifest.d.ts +14 -0
- package/dist/styles/tokens/motion-registers.css +1 -1
- package/dist/styles/tokens/offsets.css +1 -1
- package/dist/styles/tokens/on-glass-fg.css +1 -1
- package/dist/styles/tokens/property-regs-specular.css +1 -1
- package/dist/styles/tokens/property-regs.css +1 -1
- package/dist/styles/tokens/scale-paper.css +1 -1
- package/dist/styles/tokens/scheme-motion.css +1 -1
- package/dist/styles/tokens/scheme-spring.css +1 -1
- package/dist/styles/tokens/scroll-tokens.css +1 -1
- package/dist/styles/tokens/shadow.css +1 -1
- package/dist/styles/tokens/sizing-config.css +1 -1
- package/dist/styles/tokens/sizing.css +1 -1
- package/dist/styles/tokens.css +1 -1
- package/dist/styles/tokens.d.ts +5 -10
- package/dist/styles/track-well.css +1 -0
- package/dist/styles/transitions.css +1 -1
- package/dist/styles/typography/scale.css +1 -1
- package/dist/styles/typography/semantic.css +1 -1
- package/dist/styles/typography/utilities.css +1 -1
- package/dist/styles/typography.css +1 -1
- package/dist/styles/utilities/a11y-overrides.css +1 -1
- package/dist/styles/utilities/base-misc.css +1 -1
- package/dist/styles/utilities/base.css +1 -1
- package/dist/styles/utilities/btn.css +1 -1
- package/dist/styles/utilities/components.css +1 -1
- package/dist/styles/utilities/metal.css +1 -1
- package/dist/styles/utilities/responsive.css +1 -0
- package/dist/styles/utilities.css +1 -1
- package/dist/styles/view-transition.css +1 -1
- package/dist/styles/viz-reveal.css +1 -1
- package/dist/{supportsCssTimeline-Dz-GVxXM.js → supportsCssTimeline-Di9gzleG.js} +6 -5
- package/dist/surface.d.ts +1 -1
- package/dist/surface.js +2 -3
- package/dist/switch-DxZzDrmV.js +49 -0
- package/dist/switch.d.ts +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs-CYscnq5H.js +268 -0
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.js +2 -339
- package/dist/textarea.d.ts +1 -0
- package/dist/textarea.js +58 -0
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +241 -532
- package/dist/toast-9c6Kp58L.js +269 -0
- package/dist/toast.d.ts +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group-11aPGMfE.js +125 -0
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +98 -5
- package/dist/tooltip-DqKMZ4dn.js +142 -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 +215 -208
- package/dist/useAccentTone-DFAh1osB.js +47 -0
- package/dist/useClipboard-D36OTaeT.js +53 -0
- package/dist/useDockCtaReceive-BSSgD6mu.js +146 -0
- package/dist/useDragMorph-B363RUbF.js +293 -0
- package/dist/{useDragVelocity-CbMZEBaC.js → useDragVelocity-C5BkKiNf.js} +28 -24
- package/dist/useIntersectionPause-CzKR3EyP.js +57 -0
- package/dist/useLeadTrail-DQWdpFN1.js +83 -0
- package/dist/{useLiquidFlex-Ch4exNvN.js → useLiquidFlex-TJZmRqyY.js} +1 -1
- package/dist/useLiquidPress-h1scrPtP.js +101 -0
- package/dist/useMotionAxis-D-rtIhca.js +19 -0
- package/dist/usePointerVelocityField-DsIf7yyq.js +121 -0
- package/dist/useReducedMotion-vCXA_vyM.js +27 -0
- package/dist/{useTouchGate-Cj5fOkTv.js → useResolveTokenColor-CspQv_ik.js} +25 -2
- package/dist/useRoutePointer-B8itM7Ka.js +53 -0
- package/dist/useScrollChrome-BJbWV32F.js +162 -0
- package/dist/useScrollProgress-Bq-KPaKM.js +41 -0
- package/dist/useScrollTrigger-Abe5dEeO.js +86 -0
- package/dist/useSelectionGroup-zsEwitF6.js +291 -0
- package/dist/{useSpring-BBSKFx_0.js → useSpring-9u2_shxV.js} +2 -2
- package/dist/useSpringMount-OA-0mTNv.js +73 -0
- package/dist/vReveal-B5WYGofz.js +44 -0
- package/dist/vSpecular-DMJo8pfD.js +68 -0
- package/dist/value-DMhh2R94.js +33 -0
- package/dist/{valueDomain-B8L04u3U.js → valueDomain-DXRzfc8l.js} +1 -1
- package/package.json +183 -291
- package/dist/DropdownMenuTrigger-BzQtd9lt.js +0 -65
- package/dist/FadingScroll-C1ZWEjmG.js +0 -83
- package/dist/Input-B4WQ_CMc.js +0 -57
- package/dist/PagerDots-BoTQ7g5l.js +0 -307
- package/dist/Surface-BWRfwyn8.js +0 -59
- package/dist/accent-tone-solve-Dii9ePhK.js +0 -20
- package/dist/animated-digit.d.ts +0 -1
- package/dist/animated-digit.js +0 -44
- package/dist/badge-C0C-rTBu.js +0 -80
- package/dist/button-32mg6xA8.js +0 -194
- package/dist/card-16xmzIr3.js +0 -303
- package/dist/coalesce-metric-znAcLzkB.js +0 -13
- package/dist/collapsible-bPzS1aQk.js +0 -63
- package/dist/color-swatch.d.ts +0 -1
- package/dist/color-swatch.js +0 -48
- package/dist/command-BjPjUU9z.js +0 -307
- package/dist/completion-seal.d.ts +0 -1
- package/dist/completion-seal.js +0 -132
- package/dist/components/_shared/ModalOverlay.vue.d.ts +0 -43
- package/dist/components/_shared/feedback-tone.css +0 -1
- package/dist/components/_shared/field-surfaces.css +0 -1
- package/dist/components/_shared/menu.css +0 -1
- package/dist/components/_shared/menuItemVariants.d.ts +0 -51
- package/dist/components/_shared/useControlSize.d.ts +0 -46
- package/dist/components/_shared/useStalePropWarning.d.ts +0 -27
- package/dist/components/_shared/useSurfaceAxis.d.ts +0 -64
- package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +0 -56
- package/dist/components/animated-digit/index.d.ts +0 -2
- package/dist/components/card/ScrollCard.vue.d.ts +0 -33
- package/dist/components/card/ScrollCardHeader.vue.d.ts +0 -17
- package/dist/components/card/card-scroll.css +0 -1
- package/dist/components/carousel/CarouselNext.vue.d.ts +0 -21
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +0 -21
- package/dist/components/carousel/interface.d.ts +0 -20
- package/dist/components/color-swatch/ColorSwatch.vue.d.ts +0 -22
- package/dist/components/color-swatch/index.d.ts +0 -1
- package/dist/components/combobox/Combobox.vue.d.ts +0 -32
- package/dist/components/combobox/ComboboxAnchor.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxEmpty.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxGroup.vue.d.ts +0 -19
- package/dist/components/combobox/ComboboxInput.vue.d.ts +0 -23
- package/dist/components/combobox/ComboboxItem.vue.d.ts +0 -22
- package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxList.vue.d.ts +0 -32
- package/dist/components/combobox/index.d.ts +0 -9
- package/dist/components/completion-seal/CompletionSeal.vue.d.ts +0 -28
- package/dist/components/completion-seal/composables/useCompletionSeal.d.ts +0 -37
- package/dist/components/completion-seal/constants.d.ts +0 -66
- package/dist/components/completion-seal/index.d.ts +0 -4
- package/dist/components/completion-seal/styles.css +0 -1
- package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -32
- package/dist/components/controls/dark-mode-toggle.css +0 -1
- package/dist/components/controls/index.d.ts +0 -1
- package/dist/components/data-table/DataTablePagination.vue.d.ts +0 -13
- package/dist/components/deck/DeckPager.vue.d.ts +0 -29
- package/dist/components/dialog/DialogClose.vue.d.ts +0 -14
- package/dist/components/dialog/DialogTrigger.vue.d.ts +0 -14
- package/dist/components/dialog/placement.css +0 -1
- package/dist/components/dock/DockSection.vue.d.ts +0 -69
- package/dist/components/dock/DockStack.vue.d.ts +0 -73
- package/dist/components/dock/composables/dockMorphContext.d.ts +0 -91
- package/dist/components/dock/composables/useDockFisheye.d.ts +0 -24
- package/dist/components/dock/composables/useDockPopover.d.ts +0 -70
- package/dist/components/dock/styles/fisheye.css +0 -1
- package/dist/components/dock/styles/popover.css +0 -1
- package/dist/components/dock/styles/section.css +0 -1
- package/dist/components/drawer/Drawer.vue.d.ts +0 -85
- package/dist/components/drawer/DrawerContent.vue.d.ts +0 -40
- package/dist/components/drawer/DrawerDescription.vue.d.ts +0 -18
- package/dist/components/drawer/DrawerFooter.vue.d.ts +0 -17
- package/dist/components/drawer/DrawerHeader.vue.d.ts +0 -17
- package/dist/components/drawer/DrawerOverlay.vue.d.ts +0 -8
- package/dist/components/drawer/DrawerTitle.vue.d.ts +0 -18
- package/dist/components/drawer/composables/drawerSnapContext.d.ts +0 -28
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +0 -24
- package/dist/components/drawer/constants.d.ts +0 -50
- package/dist/components/drawer/index.d.ts +0 -33
- package/dist/components/drawer/styles.css +0 -1
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +0 -24
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +0 -24
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +0 -36
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +0 -19
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +0 -19
- package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +0 -22
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +0 -8
- package/dist/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +0 -17
- package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +0 -34
- package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +0 -18
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +0 -20
- package/dist/components/dropdown-menu/index.d.ts +0 -15
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +0 -14
- package/dist/components/easing/EasingConfigurator.vue.d.ts +0 -33
- package/dist/components/focus-scope/FocusScope.vue.d.ts +0 -20
- package/dist/components/focus-scope/index.d.ts +0 -2
- package/dist/components/fourier-field/presets.d.ts +0 -54
- package/dist/components/goo-filter/GooFilter.vue.d.ts +0 -22
- package/dist/components/goo-filter/index.d.ts +0 -1
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +0 -31
- package/dist/components/header-ribbon/index.d.ts +0 -2
- package/dist/components/header-ribbon/types.d.ts +0 -7
- package/dist/components/icon-chip/IconChip.vue.d.ts +0 -4
- package/dist/components/icon-chip/index.d.ts +0 -2
- package/dist/components/icon-chip/styles.css +0 -1
- package/dist/components/icon-chip/types.d.ts +0 -92
- package/dist/components/icon-tooltip/IconTooltip.vue.d.ts +0 -16
- package/dist/components/icon-tooltip/index.d.ts +0 -1
- package/dist/components/instrument-chassis/ChassisDivider.vue.d.ts +0 -30
- package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +0 -97
- package/dist/components/instrument-chassis/index.d.ts +0 -3
- package/dist/components/instrument-chassis/styles.css +0 -1
- package/dist/components/labeled-field/LabeledSelect.vue.d.ts +0 -26
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +0 -46
- package/dist/components/liquid-grid/composables/liquidGrid.d.ts +0 -113
- package/dist/components/liquid-grid/composables/liquidGridGLSetup.d.ts +0 -18
- package/dist/components/liquid-grid/composables/liquidGridWGPUSetup.d.ts +0 -21
- package/dist/components/liquid-grid/composables/uniformBridgeWGPU.d.ts +0 -16
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +0 -32
- package/dist/components/liquid-grid/constants.d.ts +0 -93
- package/dist/components/liquid-grid/index.d.ts +0 -5
- package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +0 -4
- package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +0 -1
- package/dist/components/metric-badge/MetricBadge.vue.d.ts +0 -40
- package/dist/components/metric-badge/index.d.ts +0 -2
- package/dist/components/metric-cell/MetricCell.vue.d.ts +0 -108
- package/dist/components/metric-cell/index.d.ts +0 -2
- package/dist/components/metric-stack/MetricRow.vue.d.ts +0 -120
- package/dist/components/metric-stack/MetricStack.vue.d.ts +0 -92
- package/dist/components/metric-stack/index.d.ts +0 -4
- package/dist/components/notification/Notification.vue.d.ts +0 -16
- package/dist/components/notification/index.d.ts +0 -1
- package/dist/components/number-field/NumberFieldContent.vue.d.ts +0 -17
- package/dist/components/number-field/NumberFieldDecrement.vue.d.ts +0 -18
- package/dist/components/number-field/NumberFieldIncrement.vue.d.ts +0 -18
- package/dist/components/pager-dots/composables/usePagerWorm.d.ts +0 -26
- package/dist/components/pager-dots/constants.d.ts +0 -15
- package/dist/components/pager-dots/pagerWindow.d.ts +0 -9
- package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +0 -21
- package/dist/components/paper-backdrop/index.d.ts +0 -2
- package/dist/components/progress/ProgressDefault.vue.d.ts +0 -9
- package/dist/components/progress/ProgressGradient.vue.d.ts +0 -26
- package/dist/components/progress/ProgressLiquid.vue.d.ts +0 -22
- package/dist/components/progress/valueMarks.css +0 -1
- package/dist/components/pulse/Pulse.vue.d.ts +0 -53
- package/dist/components/pulse/index.d.ts +0 -1
- package/dist/components/search/FuzzySearch.vue.d.ts +0 -24
- package/dist/components/select/SelectScrollDownButton.vue.d.ts +0 -18
- package/dist/components/select/SelectScrollUpButton.vue.d.ts +0 -18
- package/dist/components/sortable-list/composables/dragController.d.ts +0 -29
- package/dist/components/sortable-list/composables/dropResolver.d.ts +0 -34
- package/dist/components/sortable-list/composables/ghostRenderer.d.ts +0 -44
- package/dist/components/sortable-list/composables/index.d.ts +0 -1
- package/dist/components/sortable-list/composables/touchGate.d.ts +0 -26
- package/dist/components/sortable-list/composables/transitionTiming.d.ts +0 -50
- package/dist/components/spa-view/SpaView.vue.d.ts +0 -50
- package/dist/components/spa-view/index.d.ts +0 -2
- package/dist/components/split-chars/SplitChars.vue.d.ts +0 -53
- package/dist/components/split-chars/index.d.ts +0 -1
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +0 -17
- package/dist/components/tabs/constants.d.ts +0 -1
- package/dist/components/tags-input/TagsInput.vue.d.ts +0 -28
- package/dist/components/tags-input/TagsInputInput.vue.d.ts +0 -8
- package/dist/components/tags-input/TagsInputItem.vue.d.ts +0 -18
- package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +0 -18
- package/dist/components/tags-input/TagsInputItemText.vue.d.ts +0 -8
- package/dist/components/tags-input/index.d.ts +0 -5
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +0 -49
- package/dist/components/timeline/ContinuousRail.vue.d.ts +0 -26
- package/dist/components/timeline/ContinuousTimeline.vue.d.ts +0 -118
- package/dist/components/timeline/GlassTimeline.vue.d.ts +0 -114
- package/dist/components/timeline/ScrubberTimeline.vue.d.ts +0 -45
- package/dist/components/timeline/SegmentedTimeline.vue.d.ts +0 -46
- package/dist/components/toggle/Toggle.vue.d.ts +0 -29
- package/dist/components/toggle/index.d.ts +0 -26
- package/dist/components/toggle-group/toggleGroupContext.d.ts +0 -20
- package/dist/components/typewriter/composables/index.d.ts +0 -1
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +0 -74
- package/dist/components/watercolor-dot/index.d.ts +0 -3
- package/dist/components/watercolor-dot/prng.d.ts +0 -5
- package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +0 -31
- package/dist/composables/glass/ambientHueHistogram.d.ts +0 -27
- package/dist/composables/glass/useSpecularPointer.d.ts +0 -52
- package/dist/composables/glass/wave/index.d.ts +0 -4
- package/dist/composables/glass/wave/waveField.d.ts +0 -136
- package/dist/composables/glass/wave/waveField.glsl.d.ts +0 -1
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +0 -1
- package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +0 -36
- package/dist/composables/glass/webgpu/index.d.ts +0 -3
- package/dist/composables/index.d.ts +0 -9
- package/dist/composables/motion/bloomUpField.d.ts +0 -29
- package/dist/composables/motion/constants.d.ts +0 -19
- package/dist/composables/motion/curves.d.ts +0 -48
- package/dist/composables/motion/gooBarbellGeometry.d.ts +0 -79
- package/dist/composables/motion/morphSignatures.d.ts +0 -88
- package/dist/composables/motion/springPresets.d.ts +0 -45
- package/dist/composables/motion/suite.d.ts +0 -2
- package/dist/composables/motion/useBloomUp.d.ts +0 -97
- package/dist/composables/motion/useCharStagger.d.ts +0 -44
- package/dist/composables/motion/useCountup.d.ts +0 -30
- package/dist/composables/motion/useElementMorph.d.ts +0 -107
- package/dist/composables/motion/useGooMorph.d.ts +0 -72
- package/dist/composables/motion/useLeadTrail.d.ts +0 -69
- package/dist/composables/motion/useNumericTransition.d.ts +0 -56
- package/dist/composables/motion/usePrioritizedTask.d.ts +0 -41
- package/dist/composables/motion/useScrollPin.d.ts +0 -49
- package/dist/composables/motion/useSelectionGroup.d.ts +0 -83
- package/dist/composables/motion/useSelectionIndicator.d.ts +0 -90
- package/dist/composables/motion/useStaggerReveal.d.ts +0 -52
- package/dist/composables/motion/useTextHighlight.d.ts +0 -41
- package/dist/composables/motion/useViewTransition.d.ts +0 -81
- package/dist/composables/virtual/index.d.ts +0 -4
- package/dist/composables/virtual/useVirtualSectionWindow.d.ts +0 -72
- package/dist/composables/virtual/useWindowedStore.d.ts +0 -43
- package/dist/composables/virtual/virtualSectionLayout.d.ts +0 -103
- package/dist/controls.d.ts +0 -1
- package/dist/controls.js +0 -83
- package/dist/data-table-DveMdgBM.js +0 -629
- package/dist/dialog-BzQxKrUr.js +0 -281
- package/dist/dockContext-4S9qP0Z4.js +0 -13
- package/dist/drawer.d.ts +0 -1
- package/dist/drawer.js +0 -443
- package/dist/dropdown-menu-DORIA52F.js +0 -378
- package/dist/dropdown-menu.d.ts +0 -1
- package/dist/flow.glsl-DEGFGE11.js +0 -4
- package/dist/focus-scope-DUTKveod.js +0 -23
- package/dist/focus-scope.d.ts +0 -1
- package/dist/focus-scope.js +0 -2
- package/dist/fonts/README.md +0 -124
- package/dist/fonts/fira-code/OFL.txt +0 -93
- package/dist/fonts/plus-jakarta-sans/OFL.txt +0 -93
- package/dist/forms.d.ts +0 -5
- package/dist/forms.js +0 -298
- package/dist/header-ribbon.d.ts +0 -1
- package/dist/header-ribbon.js +0 -74
- package/dist/icon-chip-BWuxz1-u.js +0 -57
- package/dist/icon-chip.d.ts +0 -1
- package/dist/icon-chip.js +0 -2
- package/dist/icon-tooltip-CO6rw0dZ.js +0 -25
- package/dist/icon-tooltip.d.ts +0 -1
- package/dist/icon-tooltip.js +0 -2
- package/dist/instrument-chassis-Cvstg4_U.js +0 -65
- package/dist/instrument-chassis.d.ts +0 -1
- package/dist/instrument-chassis.js +0 -2
- package/dist/label-Cj38tJKG.js +0 -36
- package/dist/liquid-grid.d.ts +0 -1
- package/dist/liquid-grid.js +0 -1075
- package/dist/menuItemVariants-D6AOzzND.js +0 -36
- package/dist/metric-badge.d.ts +0 -1
- package/dist/metric-badge.js +0 -79
- package/dist/metric-cell.d.ts +0 -1
- package/dist/metric-cell.js +0 -61
- package/dist/metric-stack.d.ts +0 -1
- package/dist/metric-stack.js +0 -113
- package/dist/motion-curves.d.ts +0 -1
- package/dist/motion-curves.js +0 -146
- package/dist/notification-DVs7ODMg.js +0 -52
- package/dist/notification.d.ts +0 -1
- package/dist/notification.js +0 -2
- package/dist/number-field-PvkGedHk.js +0 -140
- package/dist/paper-backdrop.d.ts +0 -1
- package/dist/paper-backdrop.js +0 -31
- package/dist/popover-WMgyRSyN.js +0 -256
- package/dist/progress-C-HHuFZy.js +0 -192
- package/dist/pulse.d.ts +0 -1
- package/dist/pulse.js +0 -56
- package/dist/resolveCanvasColor-yarP5bdk.js +0 -93
- package/dist/select-BIv4R3Ir.js +0 -326
- package/dist/separator-CBU94kTM.js +0 -62
- package/dist/slider-Cc_qw6GA.js +0 -166
- package/dist/spa-view.d.ts +0 -1
- package/dist/spa-view.js +0 -46
- package/dist/springPresets-h5VKJQqG.js +0 -58
- package/dist/styles/draw-in.css +0 -1
- package/dist/styles/glass/accent-tone.css +0 -1
- package/dist/styles/glass/grain-overlay.css +0 -1
- package/dist/styles/glass/material-roles.css +0 -1
- package/dist/styles/glass/progress-rail.css +0 -1
- package/dist/styles/glass-refract.css +0 -1
- package/dist/styles/tokens.ts +0 -58
- package/dist/switch-Boj4Ucn5.js +0 -49
- package/dist/toast-kAbchIN2.js +0 -281
- package/dist/toggle-group-BPchFsns.js +0 -178
- package/dist/tooltip-BmOQJzh0.js +0 -111
- package/dist/useAccentTone-C-p6WdPe.js +0 -23
- package/dist/useAnimatedNumber-BRVVaFFc.js +0 -40
- package/dist/useControlSize-CFfOk8I-.js +0 -9
- package/dist/useDockCtaReceive-CK-RLASa.js +0 -257
- package/dist/useDocumentVisibility-YeBDGqtI.js +0 -17
- package/dist/useDragMorph-7ygF9O0m.js +0 -93
- package/dist/useGooMorph-D1F6QJlH.js +0 -349
- package/dist/useIntersectionPause-B-dbxl9w.js +0 -39
- package/dist/useLeadTrail-BYu8dq4G.js +0 -74
- package/dist/useLiquidPress-BYcwwGQV.js +0 -68
- package/dist/useMotionAxis-DCCXMC-i.js +0 -20
- package/dist/usePointerVelocityField-BdvnO0py.js +0 -122
- package/dist/useRAFLoop-BtwQ9DyY.js +0 -109
- package/dist/useResolveTokenColor-C07e-qaT.js +0 -24
- package/dist/useRoutePointer-BDNMFN73.js +0 -52
- package/dist/useScrollProgress-DZI4nf4v.js +0 -35
- package/dist/useSelectionGroup-LDzBdR1Y.js +0 -215
- package/dist/useSpringMount-C6-DBx4e.js +0 -71
- package/dist/useSpringPress-BypV_KO-.js +0 -36
- package/dist/useSurfaceAxis-DudiZVOR.js +0 -10
- package/dist/useTabRovingFocus-DkLYwo4L.js +0 -143
- package/dist/useUserInvalidAria-Cr4nR3tu.js +0 -25
- package/dist/vReveal-DZfWl9XI.js +0 -10
- package/dist/vSpecular-CQFmLNzA.js +0 -68
- package/dist/watercolor-dot.d.ts +0 -1
- package/dist/watercolor-dot.js +0 -175
- package/src/fonts/README.md +0 -124
- package/src/fonts/fira-code/OFL.txt +0 -93
- package/src/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
- package/src/fonts/fira-code/fira-code-latin.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/OFL.txt +0 -93
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
- package/src/styles/accessibility.css +0 -48
- package/src/styles/animations.css +0 -468
- package/src/styles/draw-in.css +0 -89
- package/src/styles/fonts.css +0 -143
- package/src/styles/glass/a11y-fallback.css +0 -188
- package/src/styles/glass/accent-tone.css +0 -66
- package/src/styles/glass/control-surfaces.css +0 -171
- package/src/styles/glass/deep.css +0 -114
- package/src/styles/glass/defined.css +0 -88
- package/src/styles/glass/glass-atom.css +0 -247
- package/src/styles/glass/glass-capsule.css +0 -175
- package/src/styles/glass/glass-chip.css +0 -211
- package/src/styles/glass/grain-overlay.css +0 -79
- package/src/styles/glass/ladder-undershadow.css +0 -61
- package/src/styles/glass/ladder.css +0 -452
- package/src/styles/glass/liquid-enter.css +0 -240
- package/src/styles/glass/liquid-fill.css +0 -65
- package/src/styles/glass/material-roles.css +0 -18
- package/src/styles/glass/material.css +0 -500
- package/src/styles/glass/progress-rail.css +0 -78
- package/src/styles/glass/reveal.css +0 -333
- package/src/styles/glass/rim.css +0 -122
- package/src/styles/glass/squircle.css +0 -58
- package/src/styles/glass/surface-axis.css +0 -136
- package/src/styles/glass/surfaces-pager.css +0 -79
- package/src/styles/glass/surfaces.css +0 -434
- package/src/styles/glass-refract.css +0 -112
- package/src/styles/glass-specular-track.css +0 -74
- package/src/styles/glass.css +0 -110
- package/src/styles/index.css +0 -288
- package/src/styles/paper.css +0 -187
- package/src/styles/scroll-choreography.css +0 -294
- package/src/styles/scroll-chrome.css +0 -123
- package/src/styles/scroll-driven.css +0 -123
- package/src/styles/theme/bridges.css +0 -380
- package/src/styles/theme/dark.css +0 -7
- package/src/styles/theme/literals.css +0 -104
- package/src/styles/theme/radius.css +0 -148
- package/src/styles/theme.css +0 -33
- package/src/styles/tokens/color-radius.css +0 -308
- package/src/styles/tokens/dark-arm-glass.css +0 -55
- package/src/styles/tokens/dark-arm.css +0 -455
- package/src/styles/tokens/glass-deep.css +0 -126
- package/src/styles/tokens/glass-fx.css +0 -480
- package/src/styles/tokens/glass.css +0 -477
- package/src/styles/tokens/light-dark.css +0 -216
- package/src/styles/tokens/motion-registers.css +0 -93
- package/src/styles/tokens/offsets.css +0 -142
- package/src/styles/tokens/on-glass-fg.css +0 -39
- package/src/styles/tokens/property-regs-specular.css +0 -160
- package/src/styles/tokens/property-regs.css +0 -448
- package/src/styles/tokens/scale-paper.css +0 -495
- package/src/styles/tokens/scheme-motion.css +0 -425
- package/src/styles/tokens/scheme-spring.css +0 -282
- package/src/styles/tokens/scroll-tokens.css +0 -137
- package/src/styles/tokens/shadow.css +0 -206
- package/src/styles/tokens/sizing-config.css +0 -110
- package/src/styles/tokens/sizing.css +0 -505
- package/src/styles/tokens.css +0 -68
- package/src/styles/tokens.ts +0 -58
- package/src/styles/transitions.css +0 -228
- package/src/styles/typography/scale.css +0 -166
- package/src/styles/typography/semantic.css +0 -233
- package/src/styles/typography/utilities.css +0 -197
- package/src/styles/typography.css +0 -46
- package/src/styles/utilities/a11y-overrides.css +0 -184
- package/src/styles/utilities/base-misc.css +0 -307
- package/src/styles/utilities/base.css +0 -337
- package/src/styles/utilities/btn.css +0 -306
- package/src/styles/utilities/components.css +0 -337
- package/src/styles/utilities/metal.css +0 -272
- package/src/styles/utilities.css +0 -24
- package/src/styles/view-transition.css +0 -67
- package/src/styles/viz-reveal.css +0 -63
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{compile-DK3Fri1B.js → compile-D7VYG3gi.js} +0 -0
- /package/dist/components/_shared/{valueDomain.d.ts → field/valueDomain.d.ts} +0 -0
- /package/dist/composables/glass/{webgl/shaders/procedural-color.glsl.d.ts → procedural/color.glsl.d.ts} +0 -0
- /package/dist/{components/aurora/constants/shaders/procedural-color.wgsl.d.ts → composables/glass/procedural/color.wgsl.d.ts} +0 -0
- /package/dist/composables/motion/{useIntersectionPause.d.ts → core/useIntersectionPause.d.ts} +0 -0
- /package/dist/composables/motion/{useRAFLoop.d.ts → core/useRAFLoop.d.ts} +0 -0
- /package/dist/composables/motion/{useYieldToMain.d.ts → core/useYieldToMain.d.ts} +0 -0
- /package/dist/composables/motion/{useAnimatedNumber.d.ts → number/useAnimatedNumber.d.ts} +0 -0
- /package/dist/composables/motion/{vReveal.d.ts → reveal/vReveal.d.ts} +0 -0
- /package/dist/composables/motion/{scrollReader.d.ts → scroll/scrollReader.d.ts} +0 -0
- /package/dist/composables/motion/{supportsCssTimeline.d.ts → scroll/supportsCssTimeline.d.ts} +0 -0
- /package/dist/composables/motion/{useScrollTrigger.d.ts → scroll/useScrollTrigger.d.ts} +0 -0
- /package/dist/{createContext-FU0n5MGK.js → createContext-BhkE9mLH.js} +0 -0
- /package/dist/{dark-DIH-blY1.js → dark-z_P5QwqI.js} +0 -0
- /package/dist/{motionTempo-CMS5b0Vu.js → motionTempo-tscp92Nm.js} +0 -0
- /package/dist/{prng-Dz2_9RJu.js → prng-2uS6J_A1.js} +0 -0
- /package/dist/{rendererStatus-C2-zC2Q-.js → rendererStatus-BxUlBLVy.js} +0 -0
- /package/dist/{useFuzzySearch-BOgep7RE.js → useFuzzySearch-CUnZknpm.js} +0 -0
- /package/dist/{useResizeObserver-BcUTquV7.js → useResizeObserver-CdUlm2QZ.js} +0 -0
- /package/dist/{useTimer-D8koDvJS.js → useTimer-C3yfti4C.js} +0 -0
- /package/dist/{writeVelocityWeight-D_AcvTsE.js → writeVelocityWeight-DoGOCW3e.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AURORA_VANGOGH_MEDIUM_GLSL = "// \u2500\u2500 Van-Gogh \u2014 DEDICATED atomic-dab body (W-AUR-VANGOGH-REBUILD) \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// REBUILT FROM FIRST PRINCIPLES. The prior path routed van-Gogh through the shared\n// oil paintStrokeMedium cascade \u2014 four DENSE layers of LONG-THIN tensor-oriented\n// strokes (lenMul up to 5.2, widMul 0.22) hugging a continuous coherent field. Packed\n// that tight, thin strokes that follow continuous iso-bands MERGE into smooth flowing\n// filaments \u2014 the \"marbled flow-bands\" read (a spirograph/fingerprint, not impasto),\n// AND the per-cell 8-tap structure tensor \u00D7 4 layers \u00D7 9 cells = ~324 sampleBase/pixel\n// made it run at ~4fps. Van Gogh's sky is NOT continuous flow \u2014 it is DISCRETE, SHORT,\n// LOADED comma dabs, separated by visible ground, queued into swirl ROWS.\n//\n// The rebuild is a purpose-built two-layer DAB pass, disjoint from the oil cascade:\n// \u2022 orientation from the analytic SWIRL flowField (van-Gogh skies ARE swirl rows) +\n// per-cell angular jitter \u2014 NOT the expensive per-cell tensor (the lag source, and\n// the marble source: a jittered discrete dab can NOT merge into a continuous\n// filament the way a tensor-locked thin stroke does).\n// \u2022 SHORT comma dabs (len/wid \u2248 2.6 : 1 \u2014 a loaded crescent mark, not a 10:1\n// filament), so each reads as a SEPARABLE atom.\n// \u2022 SPARSE placement with visible inter-dab ground (density \u2248 0.42), over a darkened\n// swirl underpainting (the Starry-Night visible ground the bright dabs read over).\n// \u2022 a single sampleBase per cell + OKLCh broken-color jitter (pigment shimmer);\n// full-height impasto crown per dab (each catches its own raked glint).\n// This is ~2 layers \u00D7 9 cells \u00D7 ~1 sampleBase \u2248 20/pixel (a ~16\u00D7 cost cut, ~60fps), and\n// jittered short dabs CANNOT marble.\n\n// One atomic comma dab \u2014 a CLEAN analytic crescent SDF (NOT the oil curvedStroke).\n// The oil curvedStroke's spine-projection + rounded end-caps + fwidth-AA + bristle\n// edge each leave a thin sub-pixel skirt, and a field of those skirts over open ground\n// abuts into a faint network of SEAM LINES. A van-Gogh dab needs none of that\n// machinery \u2014 it is a short oriented capsule (rounded line segment) whose half-width\n// tapers along its length (the loaded-head \u2192 dragged-tail comma). The capsule SDF is\n// derivative-free (smoothstep AA against the analytic distance), so no fwidth skirt, no\n// best-of-9 seam. Returns a StrokeHit (coverage/color/alongT/edgeN) for paintOver.\n// cellSize \u2014 dab cell pitch (UV units); lenMul/widMul \u2014 dab aspect off the cell;\n// density \u2014 placement gate (sparse \u2192 visible gaps); seed \u2014 layer decorrelation.\nStrokeHit vangoghDab(vec2 p, float cellSize, float lenMul, float widMul,\n float density, float jitterAmt, float angJitter,\n vec2 flow, float t, float seed) {\n vec2 cell = floor(p / cellSize);\n StrokeHit best = noHit();\n for (int dy = -1; dy <= 1; dy++) {\n for (int dx = -1; dx <= 1; dx++) {\n vec2 cc = cell + vec2(float(dx), float(dy));\n // Sparse density gate \u2014 leaves visible canvas ground between dabs (atomicity).\n if (hash21(cc * 1.7 + seed * 0.3) > density) continue;\n vec2 jit = (hash22(cc + seed) - 0.5) * jitterAmt;\n vec2 center = (cc + 0.5 + jit) * cellSize;\n\n // Orientation: the analytic swirl flow at the cell center + per-cell angular\n // jitter (so adjacent dabs FAN \u2014 the divisionist scatter that keeps the dabs from\n // locking into perfectly-concentric rows) + a flow-noise curl wobble.\n float ang = (hash21(cc + seed + 11.0) - 0.5) * angJitter;\n float curl = (fbm(center * 3.1 + seed * 1.9) - 0.5) * (0.18 + 0.3 * uFlowCurl);\n vec2 dir = rotateDir(safeDir(flow), ang + curl);\n\n // SHORT comma \u2014 len \u2248 the cell pitch (a contained dab, not a tiling filament).\n float len = cellSize * lenMul * (0.82 + 0.30 * hash21(cc + seed + 23.0));\n float halfW = max(cellSize * widMul * (0.86 + 0.28 * hash21(cc + seed + 41.0)), 0.010);\n\n // Local dab frame: along = projection onto the dab axis (centred 0), perp = cross.\n vec2 rel = p - center;\n float along = dot(rel, dir);\n float perp = dot(rel, vec2(-dir.y, dir.x));\n // The comma TAPER: half-width peaks ~1/3 from the loaded head and drags to a fine\n // tail (the asymmetric crescent). u in [0,1] along the dab from head to tail.\n float halfLen = len * 0.5;\n float u = clamp((along + halfLen) / max(len, 1e-5), 0.0, 1.0);\n float head = smoothstep(0.0, 0.30, u); // rounded loaded head\n float tail = pow(clamp((1.0 - u) / 0.70, 0.0, 1.0), 1.3); // dragged thin tail\n float prof = clamp(min(head, tail) * 1.05, 0.0, 1.0);\n float wNow = halfW * prof;\n // A gentle comma CURVE \u2014 bow the spine sideways so the mark reads as a crescent.\n float bowAmt = (hash21(cc + seed + 53.0) - 0.5) * halfW * 1.4;\n float spine = bowAmt * sin(u * PI); // 0 at ends, max mid\n float d = abs(perp - spine);\n // Derivative-free AA: a fixed fraction of the dab width (no fwidth skirt). Coverage\n // is 1 in the dab body, smoothly 0 at the edge; outside the [head,tail] span wNow\u21920\n // so the dab self-terminates with no end-cap blob.\n float aa = max(halfW * 0.45, 0.002);\n float cov = (wNow > 1e-5) ? (1.0 - smoothstep(wNow - aa, wNow + aa, d)) : 0.0;\n if (cov < 0.004) continue;\n\n // One sampleBase per cell + OKLCh broken-color jitter (pigment patch shimmer). The\n // dab pigment is chroma-boosted (saturate3 1.22) AND value-lifted (\u00D71.14) at the\n // SOURCE \u2014 the loaded brush mark deposits BRIGHTER + more saturated pigment than the\n // base field, so the loaded-mark pixels lift BOTH the \u00A74.1 colourfulness AND the field\n // mean-luma. The higher mean raises the gap-fraction threshold (meanLum\u00B70.6) so the\n // moderate-depth inter-dab ground falls below it (the gap-fraction atomicity read is\n // DECOUPLED from the ground floor depth \u2014 the ground can stay only moderately dark, so\n // the \u00A74.3 slope is NOT over-steepened, while the bright dabs manufacture the gap). The\n // dark ground is untouched, so this lifts C + gap WITHOUT a band-conflicting deep ground.\n vec3 colMid = brokenColorJitter(\n saturate3(sampleBase(center, t), 1.22),\n hash21(cc + seed + 89.0),\n hash21(cc * 2.3 + seed + 97.0),\n 1.0\n );\n\n // edgeN: 1 at the spine, 0 at the edge (the impasto crown reads it).\n float edgeN = (wNow > 1e-5) ? clamp(1.0 - d / wNow, 0.0, 1.0) : 0.0;\n if (cov > best.coverage) {\n best = StrokeHit(cov, colMid, u, (wNow > 1e-5 ? (perp - spine) / wNow : 0.0), edgeN);\n }\n }\n }\n return best;\n}\n\nvec3 mediumVangogh(vec3 col, vec2 p, float t) {\n vec3 result = col;\n float height = 0.0;\n\n // The swirl flow basis (van-Gogh sky = swirl rows). Computed ONCE per pixel.\n vec2 flow = flowField(p, t);\n\n // Dab cell pitch in UV [0,1]. CHUNKY, SEPARABLE marks \u2014 the big layer is ~1/14 of\n // the frame so it reads as a distinct loaded brush dab (not a fine speckle, not a\n // screen-spanning filament). uStrokeScale (authored ~110) modulates the pitch\n // INVERSELY (higher = finer dabs) around the ~0.07 chunky default; clamped so the\n // dab never collapses to noise or balloons past one screen. uStrokeAnisotropy\n // stretches the comma aspect (longer, more directional marks).\n float pitch = clamp(7.0 / max(uStrokeScale, 20.0), 0.044, 0.12);\n // The dab LENGTH \u2248 the cell pitch (lenAniso ~1.2-1.7) so a dab sits WITHIN its cell\n // and leaves visible ground around it \u2014 a longer dab (lenMul > 2) spans neighbour\n // cells and tiles the field into continuous coverage (no gaps, the gap-fraction floor\n // miss + the marble). Narrow width keeps it a directional crescent, not a wide shard.\n // lenAniso/widAniso \u2014 the comma aspect. The W-AUR-VANGOGH-CONFIG reconcile lengthened\n // the comma (1.25-1.75 \u2192 1.5-2.0) and THINNED it (0.40-0.30 \u2192 0.32-0.24): the rebuilt\n // dabs measured \u00A74.2 structure-tensor anisotropy A=0.699, BELOW the reference band\n // floor 0.732 (the dabs read slightly too short-fat \u2192 locally isotropic, dragging mean\n // A down). A LONGER, THINNER comma hugs the swirl-flow tangent more strongly so the\n // rendered field reads coherent the way the tensor metric measures it (A lift), while\n // the thinner width LEAVES MORE inter-dab ground (the gap-fraction atomicity read is\n // preserved, not closed). The length stays \u2248 the cell pitch so each dab remains a\n // CONTAINED separable mark, not a tiling filament.\n float lenAniso = mix(2.1, 2.7, uStrokeAnisotropy); // comma length / cell pitch (a contained dab)\n float widAniso = mix(0.23, 0.16, uStrokeAnisotropy); // comma width / cell pitch (a thin loaded crescent)\n\n // Layer 1 \u2014 the big swirl-row dabs: the loaded gestural marks, SPARSE so the dark\n // underpainting shows BETWEEN them (the atomicity read \u2014 visible inter-dab ground).\n // hardness 0.74 \u2014 the loaded brush deposits with a SOFT shoulder, so adjacent dabs\n // feather instead of razor-clipping into hard polygon shards. jitterAmt 0.85 fully\n // scatters the cell centres so the placement GRID never reads as a periodic seam.\n // angJitter EASED 0.55 \u2192 0.38 (the reconcile A lift): a tighter angular spread keeps\n // adjacent dabs more flow-aligned (coherent) while the per-cell curl wobble still\n // breaks the perfectly-concentric-rows read (the dabs FAN gently, not lock to a grid).\n // angJitter eased 0.38 \u2192 0.26 + hardness 0.74 \u2192 0.84 (the \u00A74.2 A lift): a tighter angular\n // spread keeps adjacent dabs strongly flow-aligned (the structure-tensor coherence) and a\n // sharper edge gives each dab a STRONGER directional gradient (a soft dab's faint edge\n // reads weakly anisotropic). The per-cell curl wobble still breaks the perfectly-\n // concentric-rows read, so the dabs FAN gently rather than locking to a grid.\n StrokeHit dBig = vangoghDab(p, pitch, lenAniso, widAniso,\n 0.30, 0.50, 0.08, flow, t, 1.3);\n // streakFreq raised 14 \u2192 34 (the \u00A74.3 slope fix): a high-frequency streak runs ALONG the\n // dab spine, injecting fine-scale luma energy that flattens the too-steep \u03B2 WITHOUT\n // adding new isotropic marks (the along-spine streak stays directional, so the \u00A74.2\n // anisotropy the long-thin dab carries is preserved \u2014 the band-conflict resolution).\n paintOver(result, height, dBig, 48.0, 0.34,\n uImpasto * 0.75 * uStrokeAmount, 0.84, 1.3, 1.0 /* full crown */);\n\n // Layer 2 \u2014 two-thirds-pitch accent dabs (the divisionist sparkle between the big\n // marks \u2014 denser placement but still contained dabs, so dark canvas survives between).\n // angJitter eased 0.5 \u2192 0.34 (same A-lift reasoning \u2014 the accent dabs queue along the\n // flow rather than scattering isotropically); hardness 0.78 \u2192 0.86 sharpens the gradient.\n StrokeHit dSml = vangoghDab(p + vec2(-5.1, 8.4), pitch * 0.62, lenAniso * 0.95,\n widAniso * 0.95, 0.36, 0.60, 0.20, flow, t, 4.1);\n paintOver(result, height, dSml, 42.0, 0.22,\n uImpasto * 0.55 * uStrokeAmount, 0.86, 4.1, 1.0);\n\n // Layer 3 \u2014 the FINE divisionist flecks (W-AUR-VANGOGH-CONFIG reconcile). The two-layer\n // field read as a few BIG cobalt dabs over a smooth empty teal ground (the side-by-side\n // against starry-night-crop.png: the painting is DENSE small varied flecks, not sparse\n // large marks). The flecks are LONG\u00B7THIN directional commas hugging the swirl tangent\n // (the A-preserving fleck \u2014 short fat flecks read isotropic and drag \u00A74.2 down). Sparse\n // density 0.30 keeps the inter-fleck ground open (the gap-fraction atomicity read).\n // The flecks are FINE (\u22480.42\u00D7 pitch) directional commas, tightly flow-aligned (angJitter\n // 0.22) and SPARSE (0.30) \u2014 the divisionist sparkle between the loaded marks that keeps\n // the inter-dab ground open (atomicity) while adding the small-mark mid-band energy. Thin\n // + flow-aligned so the \u00A74.2 anisotropy the long dabs carry survives the added small marks.\n StrokeHit dFleck = vangoghDab(p + vec2(8.7, -3.2), pitch * 0.42, lenAniso * 1.0,\n widAniso * 0.68, 0.30, 0.85, 0.22, flow, t, 7.7);\n paintOver(result, height, dFleck, 30.0, 0.16,\n uImpasto * 0.40 * uStrokeAmount, 0.80, 7.7, 1.0);\n\n // \u2500\u2500 Flow-aligned GROUND swirl-GROOVING (W-AUR-VANGOGH-CONFIG reconcile) \u2500\u2500\n // The bare ground between the dabs was a SMOOTH low-frequency teal gradient \u2014 the \u00A74.3\n // power-spectrum slope ran too STEEP (\u03B2\u2248\u22122.0: too much low-frequency nuclei-field energy\n // vs the high band). Van Gogh's actual sky has the swirl BRUSHWORK everywhere, so groove\n // the OPEN GROUND with a flow-aligned ripple. It is SUBTRACTIVE-biased (it only darkens,\n // never brightens the ground), so it DEEPENS the inter-dab valleys (MORE gap-fraction \u2014\n // atomicity preserved/strengthened) while injecting the across-flow mid-band luma energy\n // that flattens \u03B2. Gated to the open ground (low height) via the (1-height) gate so it\n // never lifts/erodes the loaded dab bodies (the dab read is untouched). Across the swirl\n // FLOW axis so the grooves run WITH the sky's brushwork direction.\n // The ground swirl-combing \u2014 a FIXED-global-angle directional grain on the open ground.\n // A flow-FOLLOWING comb varies its direction with the swirl across the readback window,\n // so its blurred structure tensor averages toward isotropic (no \u00A74.2 lift). A comb at one\n // GLOBAL angle (van-Gogh's dominant diagonal stroke grain) is COHERENT over the whole\n // window \u21D2 every open-ground pixel reads the SAME direction (the \u00A74.2 mean-anisotropy lift\n // the swirl comb could not reach). Two resolved bands (\u224822 + \u224844 across the global axis \u21D2\n // ~21px + ~11px at 464px, both in the \u00A74.3 fit window) also feed the \u03B2 flatten. Gated to\n // the open ground (low height) so the loaded dabs are untouched; SUBTRACTIVE-biased so the\n // inter-dab valleys deepen (gap-fraction preserved, not filled).\n vec2 gdir = normalize(vec2(0.82, 0.57)); // the dominant global stroke grain axis\n float gacross = dot(p, vec2(-gdir.y, gdir.x));\n float groundGate = 1.0 - smoothstep(0.05, 0.28, height);\n float groove = sin(gacross * 22.0) + 0.5 * sin(gacross * 44.0 + 1.3);\n result *= 1.0 - 0.16 * groundGate * (0.5 - 0.5 * groove);\n\n // Canvas tooth (fine linen weave \u2014 base relief the raking light catches).\n float tooth1 = vnoise(p * 220.0);\n float tooth2 = vnoise(p * 220.0 * vec2(0.6, 2.4) + 37.0);\n float tooth = (0.6 * tooth1 + 0.4 * tooth2) - 0.5;\n result *= 1.0 + tooth * 0.06 * uCanvasGrain;\n\n // Relight the accumulated impasto height (raking light catches each dab's crown \u2014\n // the visible impasto ridge that makes a dab read as a RAISED loaded mark).\n float canvasBase = tooth * 0.06 * 0.5;\n result = relightImpasto(result, height, canvasBase);\n\n // The visible Starry-Night GROUND \u2014 the open canvas between dabs (low accumulated\n // height) darkens toward the deep underpainting, so the bright impasto dabs read as\n // SEPARABLE atomic marks over a darker field (the dab\u2194ground contrast the user's\n // \"reads as strokes\" bar needs, AND the painterly-statistics gap-fraction floor \u2014 the\n // dark inter-dab ground must register as a measurable fraction of the field). 0.30\n // floor over a WIDER smoothstep (0..0.40): deep enough that the open gaps read as the\n // dark Starry-Night sky between marks (clearing the 4% gap floor) while the gradual\n // ramp keeps the gaps reading as flowing underpainting, not the hard black ink LINES a\n // narrow near-black step (0.26 / 0.0..0.32) produced.\n // The smoothstep FLOOR starts at 0.10 (not 0): a dab's faint AA coverage TAIL deposits\n // a sliver of height, and where many tails align along the swirl flow those slivers\n // accumulate into a faint continuous height ridge that read as thin curved LINES in the\n // ground. Holding the ground full-dark until a real dab CORE (height > 0.10) lifts out\n // keeps the open field clean \u2014 only the loaded dab bodies emerge, the tails stay ground.\n result *= mix(0.115, 1.0, smoothstep(0.085, 0.31, height));\n\n // The van-Gogh chroma \u2014 a light OKLCh punch. EASED to 0.92 (off 1.04) in the\n // W-AUR-VANGOGH-CONFIG reconcile: the rebuilt discrete-dab register's per-dab OKLCh\n // broken-color jitter (the \u00B116\u00B0 hue + \u00B1chroma swing per cell) lifts the field's\n // colourfulness on its own, so the prior 1.04 punch on TOP overshot the \u00A74.1\n // reference band (rendered C=100.5 vs the painting's measured 70.67 \u00B1 15/+25 \u2192\n // ceiling 95.67 \u2014 neon, not Starry Night's rich-but-not-garish blue/gold). The 0.92\n // demote pulls the rendered colourfulness back IN-band while the broken-color jitter\n // keeps the per-dab pigment variation (the discrete-stroke read is untouched \u2014 this\n // is a chroma scale, not a dab-geometry change). Band-anchored on the real painting\n // (proof:aurora-arresting), NOT a widened band.\n result = saturate3(result, 1.0);\n return result;\n}\n\n";
|
|
1
|
+
export declare const AURORA_VANGOGH_MEDIUM_GLSL = "// \u2500\u2500 Van Gogh atomic-dab body \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n// Van-Gogh does NOT route through the shared\n// oil paintStrokeMedium cascade \u2014 four DENSE layers of LONG-THIN tensor-oriented\n// strokes (lenMul up to 5.2, widMul 0.22) hugging a continuous coherent field. Packed\n// that tight, thin strokes that follow continuous iso-bands MERGE into smooth flowing\n// filaments \u2014 the \"marbled flow-bands\" read (a spirograph/fingerprint, not impasto),\n// AND the per-cell 8-tap structure tensor \u00D7 4 layers \u00D7 9 cells = ~324 sampleBase/pixel\n// runs at ~4fps. Van Gogh's sky is NOT continuous flow \u2014 it is DISCRETE, SHORT,\n// LOADED comma dabs, separated by visible ground, queued into swirl ROWS.\n//\n// This is a purpose-built two-layer DAB pass, disjoint from the oil cascade:\n// \u2022 orientation from the analytic SWIRL flowField (van-Gogh skies ARE swirl rows) +\n// per-cell angular jitter \u2014 NOT the expensive per-cell tensor (the lag source, and\n// the marble source: a jittered discrete dab can NOT merge into a continuous\n// filament the way a tensor-locked thin stroke does).\n// \u2022 SHORT comma dabs (len/wid \u2248 2.6 : 1 \u2014 a loaded crescent mark, not a 10:1\n// filament), so each reads as a SEPARABLE atom.\n// \u2022 SPARSE placement with visible inter-dab ground (density \u2248 0.42), over a darkened\n// swirl underpainting (the Starry-Night visible ground the bright dabs read over).\n// \u2022 a single sampleBase per cell + OKLCh broken-color jitter (pigment shimmer);\n// full-height impasto crown per dab (each catches its own raked glint).\n// This is ~2 layers \u00D7 9 cells \u00D7 ~1 sampleBase \u2248 20/pixel (a ~16\u00D7 cost cut, ~60fps), and\n// jittered short dabs CANNOT marble.\n\n// One atomic comma dab \u2014 a CLEAN analytic crescent SDF (NOT the oil curvedStroke).\n// The oil curvedStroke's spine-projection + rounded end-caps + fwidth-AA + bristle\n// edge each leave a thin sub-pixel skirt, and a field of those skirts over open ground\n// abuts into a faint network of SEAM LINES. A van-Gogh dab needs none of that\n// machinery \u2014 it is a short oriented capsule (rounded line segment) whose half-width\n// tapers along its length (the loaded-head \u2192 dragged-tail comma). The capsule SDF is\n// derivative-free (smoothstep AA against the analytic distance), so no fwidth skirt, no\n// best-of-9 seam. Returns a StrokeHit (coverage/color/alongT/edgeN) for paintOver.\n// cellSize \u2014 dab cell pitch (UV units); lenMul/widMul \u2014 dab aspect off the cell;\n// density \u2014 placement gate (sparse \u2192 visible gaps); seed \u2014 layer decorrelation.\nStrokeHit vangoghDab(vec2 p, float cellSize, float lenMul, float widMul,\n float density, float jitterAmt, float angJitter,\n vec2 flow, float t, float seed) {\n vec2 cell = floor(p / cellSize);\n StrokeHit best = noHit();\n for (int dy = -1; dy <= 1; dy++) {\n for (int dx = -1; dx <= 1; dx++) {\n vec2 cc = cell + vec2(float(dx), float(dy));\n // Sparse density gate \u2014 leaves visible canvas ground between dabs (atomicity).\n if (hash21(cc * 1.7 + seed * 0.3) > density) continue;\n vec2 jit = (hash22(cc + seed) - 0.5) * jitterAmt;\n vec2 center = (cc + 0.5 + jit) * cellSize;\n\n // Orientation: the analytic swirl flow at the cell center + per-cell angular\n // jitter (so adjacent dabs FAN \u2014 the divisionist scatter that keeps the dabs from\n // locking into perfectly-concentric rows) + a flow-noise curl wobble.\n float ang = (hash21(cc + seed + 11.0) - 0.5) * angJitter;\n float curl = (fbm(center * 3.1 + seed * 1.9) - 0.5) * (0.18 + 0.3 * uFlowCurl);\n vec2 dir = rotateDir(safeDir(flow), ang + curl);\n\n // SHORT comma \u2014 len \u2248 the cell pitch (a contained dab, not a tiling filament).\n float len = cellSize * lenMul * (0.82 + 0.30 * hash21(cc + seed + 23.0));\n float halfW = max(cellSize * widMul * (0.86 + 0.28 * hash21(cc + seed + 41.0)), 0.010);\n\n // Local dab frame: along = projection onto the dab axis (centred 0), perp = cross.\n vec2 rel = p - center;\n float along = dot(rel, dir);\n float perp = dot(rel, vec2(-dir.y, dir.x));\n // The comma TAPER: half-width peaks ~1/3 from the loaded head and drags to a fine\n // tail (the asymmetric crescent). u in [0,1] along the dab from head to tail.\n float halfLen = len * 0.5;\n float u = clamp((along + halfLen) / max(len, 1e-5), 0.0, 1.0);\n float head = smoothstep(0.0, 0.30, u); // rounded loaded head\n float tail = pow(clamp((1.0 - u) / 0.70, 0.0, 1.0), 1.3); // dragged thin tail\n float prof = clamp(min(head, tail) * 1.05, 0.0, 1.0);\n float wNow = halfW * prof;\n // A gentle comma CURVE \u2014 bow the spine sideways so the mark reads as a crescent.\n float bowAmt = (hash21(cc + seed + 53.0) - 0.5) * halfW * 1.4;\n float spine = bowAmt * sin(u * PI); // 0 at ends, max mid\n float d = abs(perp - spine);\n // Derivative-free AA: a fixed fraction of the dab width (no fwidth skirt). Coverage\n // is 1 in the dab body, smoothly 0 at the edge; outside the [head,tail] span wNow\u21920\n // so the dab self-terminates with no end-cap blob.\n float aa = max(halfW * 0.45, 0.002);\n float cov = (wNow > 1e-5) ? (1.0 - smoothstep(wNow - aa, wNow + aa, d)) : 0.0;\n if (cov < 0.004) continue;\n\n // One sampleBase per cell + OKLCh broken-color jitter (pigment patch shimmer). The\n // dab pigment is chroma-boosted (saturate3 1.22) AND value-lifted (\u00D71.14) at the\n // SOURCE \u2014 the loaded brush mark deposits BRIGHTER + more saturated pigment than the\n // base field, so the loaded-mark pixels lift BOTH the \u00A74.1 colourfulness AND the field\n // mean-luma. The higher mean raises the gap-fraction threshold (meanLum\u00B70.6) so the\n // moderate-depth inter-dab ground falls below it (the gap-fraction atomicity read is\n // DECOUPLED from the ground floor depth \u2014 the ground can stay only moderately dark, so\n // the \u00A74.3 slope is NOT over-steepened, while the bright dabs manufacture the gap). The\n // dark ground is untouched, so this lifts C + gap WITHOUT a band-conflicting deep ground.\n vec3 colMid = brokenColorJitter(\n saturate3(sampleBase(center, t), 1.22),\n hash21(cc + seed + 89.0),\n hash21(cc * 2.3 + seed + 97.0),\n 1.0\n );\n\n // edgeN: 1 at the spine, 0 at the edge (the impasto crown reads it).\n float edgeN = (wNow > 1e-5) ? clamp(1.0 - d / wNow, 0.0, 1.0) : 0.0;\n if (cov > best.coverage) {\n best = StrokeHit(cov, colMid, u, (wNow > 1e-5 ? (perp - spine) / wNow : 0.0), edgeN);\n }\n }\n }\n return best;\n}\n\nvec3 mediumVangogh(vec3 col, vec2 p, float t) {\n vec3 result = col;\n float height = 0.0;\n\n // The swirl flow basis (van-Gogh sky = swirl rows). Computed ONCE per pixel.\n vec2 flow = flowField(p, t);\n\n // Dab cell pitch in UV [0,1]. CHUNKY, SEPARABLE marks \u2014 the big layer is ~1/14 of\n // the frame so it reads as a distinct loaded brush dab (not a fine speckle, not a\n // screen-spanning filament). uStrokeScale (authored ~110) modulates the pitch\n // INVERSELY (higher = finer dabs) around the ~0.07 chunky default; clamped so the\n // dab never collapses to noise or balloons past one screen. uStrokeAnisotropy\n // stretches the comma aspect (longer, more directional marks).\n float pitch = clamp(7.0 / max(uStrokeScale, 20.0), 0.044, 0.12);\n // The dab LENGTH \u2248 the cell pitch (lenAniso ~1.2-1.7) so a dab sits WITHIN its cell\n // and leaves visible ground around it \u2014 a longer dab (lenMul > 2) spans neighbour\n // cells and tiles the field into continuous coverage (no gaps, the gap-fraction floor\n // miss + the marble). Narrow width keeps it a directional crescent, not a wide shard.\n // lenAniso/widAniso \u2014 the comma aspect. The current profile lengthens\n // the comma (1.25-1.75 \u2192 1.5-2.0) and THINNED it (0.40-0.30 \u2192 0.32-0.24): the rebuilt\n // dabs measured \u00A74.2 structure-tensor anisotropy A=0.699, BELOW the reference band\n // floor 0.732 (the dabs read slightly too short-fat \u2192 locally isotropic, dragging mean\n // A down). A LONGER, THINNER comma hugs the swirl-flow tangent more strongly so the\n // rendered field reads coherent the way the tensor metric measures it (A lift), while\n // the thinner width LEAVES MORE inter-dab ground (the gap-fraction atomicity read is\n // preserved, not closed). The length stays \u2248 the cell pitch so each dab remains a\n // CONTAINED separable mark, not a tiling filament.\n float lenAniso = mix(2.1, 2.7, uStrokeAnisotropy); // comma length / cell pitch (a contained dab)\n float widAniso = mix(0.23, 0.16, uStrokeAnisotropy); // comma width / cell pitch (a thin loaded crescent)\n\n // Layer 1 \u2014 the big swirl-row dabs: the loaded gestural marks, SPARSE so the dark\n // underpainting shows BETWEEN them (the atomicity read \u2014 visible inter-dab ground).\n // hardness 0.74 \u2014 the loaded brush deposits with a SOFT shoulder, so adjacent dabs\n // feather instead of razor-clipping into hard polygon shards. jitterAmt 0.85 fully\n // scatters the cell centres so the placement GRID never reads as a periodic seam.\n // angJitter EASED 0.55 \u2192 0.38 (the reconcile A lift): a tighter angular spread keeps\n // adjacent dabs more flow-aligned (coherent) while the per-cell curl wobble still\n // breaks the perfectly-concentric-rows read (the dabs FAN gently, not lock to a grid).\n // angJitter eased 0.38 \u2192 0.26 + hardness 0.74 \u2192 0.84 (the \u00A74.2 A lift): a tighter angular\n // spread keeps adjacent dabs strongly flow-aligned (the structure-tensor coherence) and a\n // sharper edge gives each dab a STRONGER directional gradient (a soft dab's faint edge\n // reads weakly anisotropic). The per-cell curl wobble still breaks the perfectly-\n // concentric-rows read, so the dabs FAN gently rather than locking to a grid.\n StrokeHit dBig = vangoghDab(p, pitch, lenAniso, widAniso,\n 0.30, 0.50, 0.08, flow, t, 1.3);\n // streakFreq raised 14 \u2192 34 (the \u00A74.3 slope fix): a high-frequency streak runs ALONG the\n // dab spine, injecting fine-scale luma energy that flattens the too-steep \u03B2 WITHOUT\n // adding new isotropic marks (the along-spine streak stays directional, so the \u00A74.2\n // anisotropy the long-thin dab carries is preserved \u2014 the band-conflict resolution).\n paintOver(result, height, dBig, 48.0, 0.34,\n uImpasto * 0.75 * uStrokeAmount, 0.84, 1.3, 1.0 /* full crown */);\n\n // Layer 2 \u2014 two-thirds-pitch accent dabs (the divisionist sparkle between the big\n // marks \u2014 denser placement but still contained dabs, so dark canvas survives between).\n // angJitter eased 0.5 \u2192 0.34 (same A-lift reasoning \u2014 the accent dabs queue along the\n // flow rather than scattering isotropically); hardness 0.78 \u2192 0.86 sharpens the gradient.\n StrokeHit dSml = vangoghDab(p + vec2(-5.1, 8.4), pitch * 0.62, lenAniso * 0.95,\n widAniso * 0.95, 0.36, 0.60, 0.20, flow, t, 4.1);\n paintOver(result, height, dSml, 42.0, 0.22,\n uImpasto * 0.55 * uStrokeAmount, 0.86, 4.1, 1.0);\n\n // Layer 3 \u2014 fine divisionist flecks. The two-layer\n // field read as a few BIG cobalt dabs over a smooth empty teal ground (the side-by-side\n // against starry-night-crop.png: the painting is DENSE small varied flecks, not sparse\n // large marks). The flecks are LONG\u00B7THIN directional commas hugging the swirl tangent\n // (the A-preserving fleck \u2014 short fat flecks read isotropic and drag \u00A74.2 down). Sparse\n // density 0.30 keeps the inter-fleck ground open (the gap-fraction atomicity read).\n // The flecks are FINE (\u22480.42\u00D7 pitch) directional commas, tightly flow-aligned (angJitter\n // 0.22) and SPARSE (0.30) \u2014 the divisionist sparkle between the loaded marks that keeps\n // the inter-dab ground open (atomicity) while adding the small-mark mid-band energy. Thin\n // + flow-aligned so the \u00A74.2 anisotropy the long dabs carry survives the added small marks.\n StrokeHit dFleck = vangoghDab(p + vec2(8.7, -3.2), pitch * 0.42, lenAniso * 1.0,\n widAniso * 0.68, 0.30, 0.85, 0.22, flow, t, 7.7);\n paintOver(result, height, dFleck, 30.0, 0.16,\n uImpasto * 0.40 * uStrokeAmount, 0.80, 7.7, 1.0);\n\n // \u2500\u2500 Flow-aligned ground swirl grooving \u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n // The bare ground between the dabs was a SMOOTH low-frequency teal gradient \u2014 the \u00A74.3\n // power-spectrum slope ran too STEEP (\u03B2\u2248\u22122.0: too much low-frequency nuclei-field energy\n // vs the high band). Van Gogh's actual sky has the swirl BRUSHWORK everywhere, so groove\n // the OPEN GROUND with a flow-aligned ripple. It is SUBTRACTIVE-biased (it only darkens,\n // never brightens the ground), so it DEEPENS the inter-dab valleys (MORE gap-fraction \u2014\n // atomicity preserved/strengthened) while injecting the across-flow mid-band luma energy\n // that flattens \u03B2. Gated to the open ground (low height) via the (1-height) gate so it\n // never lifts/erodes the loaded dab bodies (the dab read is untouched). Across the swirl\n // FLOW axis so the grooves run WITH the sky's brushwork direction.\n // The ground swirl-combing \u2014 a FIXED-global-angle directional grain on the open ground.\n // A flow-FOLLOWING comb varies its direction with the swirl across the readback window,\n // so its blurred structure tensor averages toward isotropic (no \u00A74.2 lift). A comb at one\n // GLOBAL angle (van-Gogh's dominant diagonal stroke grain) is COHERENT over the whole\n // window \u21D2 every open-ground pixel reads the SAME direction (the \u00A74.2 mean-anisotropy lift\n // the swirl comb could not reach). Two resolved bands (\u224822 + \u224844 across the global axis \u21D2\n // ~21px + ~11px at 464px, both in the \u00A74.3 fit window) also feed the \u03B2 flatten. Gated to\n // the open ground (low height) so the loaded dabs are untouched; SUBTRACTIVE-biased so the\n // inter-dab valleys deepen (gap-fraction preserved, not filled).\n vec2 gdir = normalize(vec2(0.82, 0.57)); // the dominant global stroke grain axis\n float gacross = dot(p, vec2(-gdir.y, gdir.x));\n float groundGate = 1.0 - smoothstep(0.05, 0.28, height);\n float groove = sin(gacross * 22.0) + 0.5 * sin(gacross * 44.0 + 1.3);\n result *= 1.0 - 0.16 * groundGate * (0.5 - 0.5 * groove);\n\n // Canvas tooth (fine linen weave \u2014 base relief the raking light catches).\n float tooth1 = vnoise(p * 220.0);\n float tooth2 = vnoise(p * 220.0 * vec2(0.6, 2.4) + 37.0);\n float tooth = (0.6 * tooth1 + 0.4 * tooth2) - 0.5;\n result *= 1.0 + tooth * 0.06 * uCanvasGrain;\n\n // Relight the accumulated impasto height (raking light catches each dab's crown \u2014\n // the visible impasto ridge that makes a dab read as a RAISED loaded mark).\n float canvasBase = tooth * 0.06 * 0.5;\n result = relightImpasto(result, height, canvasBase);\n\n // The visible Starry-Night GROUND \u2014 the open canvas between dabs (low accumulated\n // height) darkens toward the deep underpainting, so the bright impasto dabs read as\n // SEPARABLE atomic marks over a darker field (the dab\u2194ground contrast the user's\n // \"reads as strokes\" bar needs, AND the painterly-statistics gap-fraction floor \u2014 the\n // dark inter-dab ground must register as a measurable fraction of the field). 0.30\n // floor over a WIDER smoothstep (0..0.40): deep enough that the open gaps read as the\n // dark Starry-Night sky between marks (clearing the 4% gap floor) while the gradual\n // ramp keeps the gaps reading as flowing underpainting, not the hard black ink LINES a\n // narrow near-black step (0.26 / 0.0..0.32) produced.\n // The smoothstep FLOOR starts at 0.10 (not 0): a dab's faint AA coverage TAIL deposits\n // a sliver of height, and where many tails align along the swirl flow those slivers\n // accumulate into a faint continuous height ridge that read as thin curved LINES in the\n // ground. Holding the ground full-dark until a real dab CORE (height > 0.10) lifts out\n // keeps the open field clean \u2014 only the loaded dab bodies emerge, the tails stay ground.\n result *= mix(0.115, 1.0, smoothstep(0.085, 0.31, height));\n\n // The van-Gogh chroma \u2014 a light OKLCh punch at 0.92 in the\n // The discrete-dab profile's per-dab OKLCh\n // broken-color jitter (the \u00B116\u00B0 hue + \u00B1chroma swing per cell) lifts the field's\n // colourfulness on its own, so a 1.04 punch on TOP overshoots the\n // reference band (rendered C=100.5 vs the painting's measured 70.67 \u00B1 15/+25 \u2192\n // ceiling 95.67 \u2014 neon, not Starry Night's rich-but-not-garish blue/gold). The 0.92\n // demote pulls the rendered colourfulness back IN-band while the broken-color jitter\n // keeps the per-dab pigment variation (the discrete-stroke read is untouched \u2014 this\n // is a chroma scale, not a dab-geometry change). Band-anchored on the real painting\n // not a widened band.\n result = saturate3(result, 1.0);\n return result;\n}\n\n";
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
export { default as Aurora } from "./Aurora.vue";
|
|
2
|
-
export { resolveRenderMode, isSoftwareWebGLRenderer, type AuroraRenderMode, type ResolveRenderModeOptions, } from "./constants/renderMode";
|
|
3
|
-
export { useAurora } from "./composables/useAurora";
|
|
4
|
-
export type { UseAuroraReturn } from "./composables/useAurora";
|
|
5
|
-
export { useCursorInteraction } from "./composables/useCursorInteraction";
|
|
6
|
-
export { createAurora } from "./composables/runtime";
|
|
7
|
-
export type { AuroraRuntimeMode, AuroraRuntimeOptions } from "./composables/runtime";
|
|
8
|
-
export { DEFAULT_AURORA_CONFIG, PAPER_WASH_GROUND, DEFAULT_VIVIDNESS, VIVID_TARGET, IMAGE_BLUR_MIN_DEFAULT, IMAGE_BLUR_MAX_DEFAULT, MAX_NUCLEI, MAX_STOPS, type AuroraConfig, type AuroraCursorApi, type AuroraFlow, type AuroraInstance, type AuroraInteractivity, type AuroraMedium, type AuroraNucleus, type AuroraSource, type AuroraImageSource, type AuroraImageBlur, type FlowPattern, type OklchStop, type StrokeMode, type StrokeOrient, type WarpMode, } from "./constants/presets";
|
|
9
|
-
export { resolveAtoms, configToAtoms,
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export
|
|
13
|
-
export type
|
|
1
|
+
export { default as Aurora } from "./Aurora.vue.js";
|
|
2
|
+
export { resolveRenderMode, isSoftwareWebGLRenderer, type AuroraRenderMode, type ResolveRenderModeOptions, } from "./constants/renderMode.js";
|
|
3
|
+
export { useAurora } from "./composables/useAurora.js";
|
|
4
|
+
export type { UseAuroraReturn } from "./composables/useAurora.js";
|
|
5
|
+
export { useCursorInteraction } from "./composables/useCursorInteraction.js";
|
|
6
|
+
export { createAurora } from "./composables/runtime.js";
|
|
7
|
+
export type { AuroraRuntimeMode, AuroraRuntimeOptions } from "./composables/runtime.js";
|
|
8
|
+
export { DEFAULT_AURORA_CONFIG, PAPER_WASH_GROUND, DEFAULT_VIVIDNESS, VIVID_TARGET, IMAGE_BLUR_MIN_DEFAULT, IMAGE_BLUR_MAX_DEFAULT, MAX_NUCLEI, MAX_STOPS, type AuroraConfig, type AuroraCursorApi, type AuroraFlow, type AuroraInstance, type AuroraInteractivity, type AuroraMedium, type AuroraNucleus, type AuroraSource, type AuroraImageSource, type AuroraImageBlur, type FlowPattern, type OklchStop, type StrokeMode, type StrokeOrient, type WarpMode, } from "./constants/presets.js";
|
|
9
|
+
export { resolveAtoms, configToAtoms, DEFAULT_ATOMS, type AuroraAtoms, type AuroraZones, type AuroraMediumAtom, type AuroraInteractivityAtom, type AuroraFieldInteractivityAtom, type AuroraSmoothInteractivityAtom, type AuroraPainterlyInteractivityAtom, } from "./composables/atoms.js";
|
|
10
|
+
export { nucleiPrior, type AuroraMotionAtom, type AuroraZoneArrangement, } from "./composables/atoms-fields.js";
|
|
11
|
+
export { deriveAurora, flattenPalette, hexToOklchStop, paletteToCssGradient, } from "./composables/color.js";
|
|
12
|
+
export { cssToOklch, oklchStopToHex, oklchToLinear, } from "../../composables/color/index.js";
|
|
13
|
+
export { auroraFallbackGround, sampleAuroraField, nucleiFieldStatic, relativeLuminance, type AuroraFallbackGround, type AuroraFallbackGroundOptions, type AuroraGroundMetrics, } from "./composables/auroraFallbackGround.js";
|
|
14
|
+
export type { AuroraHarmony, DeriveAuroraOptions, DeriveEasing, } from "./composables/color.js";
|
|
15
|
+
export type { AuroraHuePath } from "./constants/presets.js";
|
|
@@ -1,18 +1,79 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { type HTMLAttributes } from "vue";
|
|
2
|
+
export type AvatarSize = "sm" | "md" | "lg";
|
|
3
|
+
export type AvatarShape = "circle" | "square";
|
|
4
|
+
export type AvatarIdentityProps = {
|
|
5
|
+
label: string;
|
|
6
|
+
labelledBy?: never;
|
|
7
|
+
decorative?: false;
|
|
8
|
+
} | {
|
|
9
|
+
label?: never;
|
|
10
|
+
labelledBy: string;
|
|
11
|
+
decorative?: false;
|
|
12
|
+
} | {
|
|
13
|
+
label?: never;
|
|
14
|
+
labelledBy?: never;
|
|
15
|
+
decorative: true;
|
|
7
16
|
};
|
|
8
|
-
|
|
17
|
+
export type AvatarProps = AvatarIdentityProps & {
|
|
18
|
+
size?: AvatarSize;
|
|
19
|
+
shape?: AvatarShape;
|
|
20
|
+
class?: HTMLAttributes["class"];
|
|
21
|
+
};
|
|
22
|
+
declare var __VLS_8: {}, __VLS_10: {};
|
|
9
23
|
type __VLS_Slots = {} & {
|
|
10
24
|
default?: (props: typeof __VLS_8) => any;
|
|
25
|
+
} & {
|
|
26
|
+
status?: (props: typeof __VLS_10) => any;
|
|
11
27
|
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
28
|
+
declare const __VLS_base: import("vue").DefineComponent<({
|
|
29
|
+
label: string;
|
|
30
|
+
labelledBy?: never;
|
|
31
|
+
decorative?: false;
|
|
32
|
+
} & {
|
|
33
|
+
size?: AvatarSize;
|
|
34
|
+
shape?: AvatarShape;
|
|
35
|
+
class?: HTMLAttributes["class"];
|
|
36
|
+
}) | ({
|
|
37
|
+
label?: never;
|
|
38
|
+
labelledBy: string;
|
|
39
|
+
decorative?: false;
|
|
40
|
+
} & {
|
|
41
|
+
size?: AvatarSize;
|
|
42
|
+
shape?: AvatarShape;
|
|
43
|
+
class?: HTMLAttributes["class"];
|
|
44
|
+
}) | ({
|
|
45
|
+
label?: never;
|
|
46
|
+
labelledBy?: never;
|
|
47
|
+
decorative: true;
|
|
48
|
+
} & {
|
|
49
|
+
size?: AvatarSize;
|
|
50
|
+
shape?: AvatarShape;
|
|
51
|
+
class?: HTMLAttributes["class"];
|
|
52
|
+
}), {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<({
|
|
53
|
+
label: string;
|
|
54
|
+
labelledBy?: never;
|
|
55
|
+
decorative?: false;
|
|
56
|
+
} & {
|
|
57
|
+
size?: AvatarSize;
|
|
58
|
+
shape?: AvatarShape;
|
|
59
|
+
class?: HTMLAttributes["class"];
|
|
60
|
+
}) | ({
|
|
61
|
+
label?: never;
|
|
62
|
+
labelledBy: string;
|
|
63
|
+
decorative?: false;
|
|
64
|
+
} & {
|
|
65
|
+
size?: AvatarSize;
|
|
66
|
+
shape?: AvatarShape;
|
|
67
|
+
class?: HTMLAttributes["class"];
|
|
68
|
+
}) | ({
|
|
69
|
+
label?: never;
|
|
70
|
+
labelledBy?: never;
|
|
71
|
+
decorative: true;
|
|
72
|
+
} & {
|
|
73
|
+
size?: AvatarSize;
|
|
74
|
+
shape?: AvatarShape;
|
|
75
|
+
class?: HTMLAttributes["class"];
|
|
76
|
+
})> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
77
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
78
|
declare const _default: typeof __VLS_export;
|
|
18
79
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { type AvatarFallbackProps } from 'reka-ui';
|
|
2
1
|
declare var __VLS_8: {};
|
|
3
2
|
type __VLS_Slots = {} & {
|
|
4
3
|
default?: (props: typeof __VLS_8) => any;
|
|
5
4
|
};
|
|
6
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
6
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
8
7
|
declare const _default: typeof __VLS_export;
|
|
9
8
|
export default _default;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1
|
+
import { type ImgHTMLAttributes } from "vue";
|
|
2
|
+
interface AvatarImageProps {
|
|
3
|
+
src: string;
|
|
4
|
+
referrerPolicy?: ImgHTMLAttributes["referrerpolicy"];
|
|
5
|
+
crossOrigin?: ImgHTMLAttributes["crossorigin"];
|
|
6
|
+
}
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<AvatarImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarImageProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
8
|
declare const _default: typeof __VLS_export;
|
|
10
9
|
export default _default;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export { default as
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as AvatarFallback } from './AvatarFallback.vue';
|
|
5
|
-
export declare const avatarVariants: (props?: ({
|
|
6
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
-
shape?: "circle" | "square" | null | undefined;
|
|
8
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
-
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
1
|
+
export { default as Avatar, type AvatarIdentityProps, type AvatarProps, type AvatarShape, type AvatarSize, } from "./Avatar.vue.js";
|
|
2
|
+
export { default as AvatarImage } from "./AvatarImage.vue.js";
|
|
3
|
+
export { default as AvatarFallback } from "./AvatarFallback.vue.js";
|
|
@@ -1,29 +1,15 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type BadgeVariants } from './';
|
|
1
|
+
import { type HTMLAttributes } from 'vue';
|
|
2
|
+
import { type BadgeVariants } from './index.js';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
variant?: BadgeVariants['variant'];
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* the semantic status register (the shared `tone` axis:
|
|
7
7
|
* neutral/destructive/success/warning/info). Orthogonal to the `variant` STYLE
|
|
8
8
|
* plate; a set tone overrides the plate colour. Replaces the former
|
|
9
9
|
* `variant="destructive|success|warning|info"` (a tone is not a style).
|
|
10
10
|
*/
|
|
11
11
|
tone?: BadgeVariants['tone'];
|
|
12
12
|
size?: BadgeVariants['size'];
|
|
13
|
-
/**
|
|
14
|
-
* BD.W-GLASS-ATOM-REGISTER — the register split. `loud` (default) is the opaque
|
|
15
|
-
* saturated identity pill; `glass` is the quiet transmissive `.glass-atom`
|
|
16
|
-
* capsule tinted via `--glass-fill-tint`. A status badge stays loud (information,
|
|
17
|
-
* not a sticker); `secondary`/`outline` placements may route quiet.
|
|
18
|
-
*/
|
|
19
|
-
surface?: BadgeVariants['surface'];
|
|
20
|
-
/**
|
|
21
|
-
* The LOUD cel cast opt-in (BD.W-CARTOON-CASTER). Every badge carries the
|
|
22
|
-
* family floor (the press-squish + a hairline rim-cast); `cast` INTENSIFIES the
|
|
23
|
-
* loud layered-offset stamp + mounts the inert `.cartoon-cast` child. A status
|
|
24
|
-
* pill is information, so the loud stamp is opt-in (not the default).
|
|
25
|
-
*/
|
|
26
|
-
cast?: boolean;
|
|
27
13
|
class?: HTMLAttributes['class'];
|
|
28
14
|
};
|
|
29
15
|
declare var __VLS_1: {};
|
|
@@ -1,9 +1,33 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export { default as Badge } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { type ClassValue } from "../_shared/class-names.js";
|
|
2
|
+
export { default as Badge } from "./Badge.vue.js";
|
|
3
|
+
declare const VARIANT: {
|
|
4
|
+
readonly default: "bg-primary text-primary-foreground";
|
|
5
|
+
readonly secondary: "bg-secondary text-secondary-foreground";
|
|
6
|
+
readonly outline: "badge-atom--outline text-foreground";
|
|
7
|
+
};
|
|
8
|
+
declare const TONE: {
|
|
9
|
+
readonly neutral: "";
|
|
10
|
+
readonly destructive: "bg-destructive text-destructive-foreground";
|
|
11
|
+
readonly success: "bg-success text-success-foreground";
|
|
12
|
+
readonly warning: "bg-warning text-warning-foreground";
|
|
13
|
+
readonly info: "bg-info text-info-foreground";
|
|
14
|
+
};
|
|
15
|
+
declare const SIZE: {
|
|
16
|
+
readonly sm: "text-[length:var(--type-caption)] leading-[1.1] [--mark-pad-block:--spacing(1)] [--mark-pad-inline:--spacing(2)]";
|
|
17
|
+
readonly md: "text-[length:var(--control-label)] leading-[1.1] [--mark-pad-block:--spacing(1)] [--mark-pad-inline:--spacing(3)]";
|
|
18
|
+
readonly lg: "text-[length:var(--control-text)] leading-[1.1] [--mark-pad-block:--spacing(2)] [--mark-pad-inline:--spacing(3)]";
|
|
19
|
+
};
|
|
20
|
+
export interface BadgeVariants {
|
|
21
|
+
variant?: keyof typeof VARIANT | null;
|
|
22
|
+
tone?: keyof typeof TONE | null;
|
|
23
|
+
size?: keyof typeof SIZE | null;
|
|
24
|
+
class?: ClassValue;
|
|
25
|
+
className?: ClassValue;
|
|
26
|
+
}
|
|
27
|
+
/** The axis defaults the class map applies — the SAME source the host stamps from. */
|
|
28
|
+
export declare const BADGE_AXIS_DEFAULTS: {
|
|
29
|
+
readonly variant: "default";
|
|
30
|
+
readonly tone: "neutral";
|
|
31
|
+
readonly size: "md";
|
|
32
|
+
};
|
|
33
|
+
export declare function badgeVariants(options?: BadgeVariants): string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { BlobMood, BlobConfig
|
|
1
|
+
import type { BlobMood, BlobConfig } from "./types.js";
|
|
2
2
|
/**
|
|
3
|
-
* Blob — a gooey metaball creature on a WebGL2 canvas.
|
|
3
|
+
* Blob — a gooey metaball creature on a WebGPU/WebGL2 canvas.
|
|
4
4
|
*
|
|
5
5
|
* Renders a pulsing SDF body with orbiting satellites that periodically merge in,
|
|
6
6
|
* get absorbed, then re-emerge. Mood, pointer-attraction and a deterministic
|
|
7
7
|
* satellite system drive the motion. The renderer composes the `createGpuSubstrate`
|
|
8
8
|
* picker — the WebGPU-first `metaball.wgsl` primary OR the WebGL2 `metaball.frag`
|
|
9
|
-
* fallback
|
|
9
|
+
* fallback, selected once by `navigator.gpu`
|
|
10
10
|
* feature-detect; it never bootstraps its own context.
|
|
11
11
|
*
|
|
12
12
|
* Color is resolved INTERNALLY through the `/color` leaf (`cssToOklch →
|
|
@@ -30,18 +30,10 @@ type __VLS_Props = {
|
|
|
30
30
|
* The metaball tuning. Pass `BLOB_CONFIG_DEFAULTS` for the stock look.
|
|
31
31
|
*/
|
|
32
32
|
config?: BlobConfig;
|
|
33
|
-
/**
|
|
34
|
-
* BC.W-GOOBLOB-PLAIN — the render-variant axis. `"blob"` is the STAGE-1
|
|
35
|
-
* shadowless lightless fill-only floor; `"meatball"` (default) is the full lit
|
|
36
|
-
* register. When set it WINS the resolved config's `variant` (the per-instance
|
|
37
|
-
* override); unset, the config's own `variant` rules. STAGE 1's `uStage` gate
|
|
38
|
-
* strips the lit/shadow blocks for the `"blob"` register.
|
|
39
|
-
*/
|
|
40
|
-
variant?: BlobVariant;
|
|
41
33
|
/** Extra seed string mixed into the satellite PRNG for a unique-but-reproducible system. */
|
|
42
34
|
seed?: string;
|
|
43
35
|
/**
|
|
44
|
-
*
|
|
36
|
+
* Declarative WCAG 2.2.2 pause seam. `v-model:paused` parks the
|
|
45
37
|
* render loop (the substrate's `manual` suspend) when `true` and restarts it when
|
|
46
38
|
* `false`. This is the EXACT shape `<DockBackgroundToggle>` wears — wire its
|
|
47
39
|
* `@update:paused` to this `v-model` and the blob's animation stops/starts for ALL
|
|
@@ -69,14 +61,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
69
61
|
pause: () => void;
|
|
70
62
|
resume: () => void;
|
|
71
63
|
settled: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
72
|
-
|
|
64
|
+
settledFrame: Readonly<import("vue").Ref<import(".").BlobSettledFrame | null, import(".").BlobSettledFrame | null>>;
|
|
65
|
+
rendererStatus: Readonly<import("vue").Ref<import("../../composables/glass/webgpu/rendererStatus.js").RendererStatus, import("../../composables/glass/webgpu/rendererStatus.js").RendererStatus>>;
|
|
73
66
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
74
67
|
click: () => any;
|
|
75
|
-
rendererStatus: (status: import("../../composables/glass/webgpu/rendererStatus").RendererStatus) => any;
|
|
68
|
+
rendererStatus: (status: import("../../composables/glass/webgpu/rendererStatus.js").RendererStatus) => any;
|
|
76
69
|
"update:paused": (value: boolean) => any;
|
|
77
70
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
78
71
|
onClick?: (() => any) | undefined;
|
|
79
|
-
onRendererStatus?: ((status: import("../../composables/glass/webgpu/rendererStatus").RendererStatus) => any) | undefined;
|
|
72
|
+
onRendererStatus?: ((status: import("../../composables/glass/webgpu/rendererStatus.js").RendererStatus) => any) | undefined;
|
|
80
73
|
"onUpdate:paused"?: ((value: boolean) => any) | undefined;
|
|
81
74
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
82
75
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { BackingSize } from "../../../composables/glass/webgpu/useGpuSubstrate.js";
|
|
3
|
+
import type { BlobConfig, MoodParams } from "../types.js";
|
|
4
|
+
import type { BlobMoodSystem } from "./useBlobMood.js";
|
|
5
|
+
import type { BlobPointer } from "./useBlobPointer.js";
|
|
6
|
+
import type { BlobSatelliteSystem } from "./useBlobSatellites.js";
|
|
7
|
+
/** Per-frame state shared by the WebGPU and WebGL2 upload legs. */
|
|
8
|
+
export interface BlobFrameState {
|
|
9
|
+
params: MoodParams;
|
|
10
|
+
rgb: [number, number, number];
|
|
11
|
+
simTimeMs: number;
|
|
12
|
+
timeSec: number;
|
|
13
|
+
resolveColor: (css: string) => [number, number, number];
|
|
14
|
+
rimColor: string;
|
|
15
|
+
paletteStops: string[];
|
|
16
|
+
satColors?: string[];
|
|
17
|
+
}
|
|
18
|
+
/** The exact terminal frame last drawn while the Blob engine was quiescent. */
|
|
19
|
+
export interface BlobSettledFrame {
|
|
20
|
+
readonly timeSec: number;
|
|
21
|
+
readonly simulationTimeMs: number;
|
|
22
|
+
readonly buffer: {
|
|
23
|
+
readonly width: number;
|
|
24
|
+
readonly height: number;
|
|
25
|
+
readonly dpr: number;
|
|
26
|
+
};
|
|
27
|
+
readonly simulationOrigin: {
|
|
28
|
+
readonly x: 0.5;
|
|
29
|
+
readonly y: 0.5;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export declare function resolveBlobSettledFrame(frame: BlobFrameState | null, size: BackingSize | null): BlobSettledFrame | null;
|
|
33
|
+
interface BlobSimulationDeps {
|
|
34
|
+
color: Ref<string>;
|
|
35
|
+
rimColor: Ref<string>;
|
|
36
|
+
paletteStops: Ref<string[]>;
|
|
37
|
+
satelliteColors?: Ref<string[]>;
|
|
38
|
+
mood: BlobMoodSystem;
|
|
39
|
+
pointer: BlobPointer;
|
|
40
|
+
satellites: BlobSatelliteSystem;
|
|
41
|
+
config: BlobConfig;
|
|
42
|
+
getReducedMotion: () => boolean;
|
|
43
|
+
wake: () => void;
|
|
44
|
+
}
|
|
45
|
+
export declare function createBlobSimulation(deps: BlobSimulationDeps): {
|
|
46
|
+
resolveFrame: (timeSec: number) => BlobFrameState;
|
|
47
|
+
shouldContinue: () => boolean;
|
|
48
|
+
recordBackingSize: (size: BackingSize) => void;
|
|
49
|
+
recordDraw: (frame: BlobFrameState) => void;
|
|
50
|
+
pause: () => void;
|
|
51
|
+
resume: () => void;
|
|
52
|
+
dispose: () => void;
|
|
53
|
+
settled: Readonly<Ref<boolean, boolean>>;
|
|
54
|
+
settledFrame: Readonly<Ref<{
|
|
55
|
+
readonly timeSec: number;
|
|
56
|
+
readonly simulationTimeMs: number;
|
|
57
|
+
readonly buffer: {
|
|
58
|
+
readonly width: number;
|
|
59
|
+
readonly height: number;
|
|
60
|
+
readonly dpr: number;
|
|
61
|
+
};
|
|
62
|
+
readonly simulationOrigin: {
|
|
63
|
+
readonly x: 0.5;
|
|
64
|
+
readonly y: 0.5;
|
|
65
|
+
};
|
|
66
|
+
} | null, {
|
|
67
|
+
readonly timeSec: number;
|
|
68
|
+
readonly simulationTimeMs: number;
|
|
69
|
+
readonly buffer: {
|
|
70
|
+
readonly width: number;
|
|
71
|
+
readonly height: number;
|
|
72
|
+
readonly dpr: number;
|
|
73
|
+
};
|
|
74
|
+
readonly simulationOrigin: {
|
|
75
|
+
readonly x: 0.5;
|
|
76
|
+
readonly y: 0.5;
|
|
77
|
+
};
|
|
78
|
+
} | null>>;
|
|
79
|
+
};
|
|
80
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MetaballUniformLocations } from "./uploadBlobUniforms.js";
|
|
2
2
|
/** The compiled-program handles the renderer closes over + tears down. */
|
|
3
3
|
export interface MetaballProgram {
|
|
4
4
|
prog: WebGLProgram;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { SatelliteInternal } from "../types";
|
|
1
|
+
import type { SatelliteInternal } from "../types.js";
|
|
2
2
|
/**
|
|
3
|
-
* The stateless satellite KINEMATICS leaf
|
|
4
|
-
* orbit
|
|
3
|
+
* The stateless satellite KINEMATICS leaf — the
|
|
4
|
+
* orbit, eccentricity, wobble math.
|
|
5
5
|
*
|
|
6
6
|
* Every function here is PURE: it takes the PRNG, the geometry, and the tempo
|
|
7
7
|
* clock as EXPLICIT parameters and owns NO closure state, NO `SpringProgress`,
|
|
@@ -9,7 +9,7 @@ import type { SatelliteInternal } from "../types";
|
|
|
9
9
|
* the phase state-machine live in the driver (`useBlobSatellites.ts`), which
|
|
10
10
|
* COMPOSES these — one writer of the satellite state (the driver), and the
|
|
11
11
|
* kinematics math beside it (this leaf). The `rng` is passed IN, never owned:
|
|
12
|
-
* the seed
|
|
12
|
+
* the seed, reseed discipline stays with the stateful driver.
|
|
13
13
|
*/
|
|
14
14
|
declare function createSatellite(rng: () => number, index: number, orbitRadius: number, eccentricity: number, now: number): SatelliteInternal;
|
|
15
15
|
declare function orbitPos(s: SatelliteInternal, now: number, orbitSpeedScale: number, wobbleScale: number): {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BlobConfig } from "../types";
|
|
2
|
-
import type { BlobPointer } from "./useBlobPointer";
|
|
3
|
-
import type { BlobSatelliteSystem } from "./useBlobSatellites";
|
|
4
|
-
import type { BlobFrameState } from "./
|
|
1
|
+
import type { BlobConfig } from "../types.js";
|
|
2
|
+
import type { BlobPointer } from "./useBlobPointer.js";
|
|
3
|
+
import type { BlobSatelliteSystem } from "./useBlobSatellites.js";
|
|
4
|
+
import type { BlobFrameState } from "./blobSimulation.js";
|
|
5
5
|
/** The total uniform-buffer byte size (16-aligned). */
|
|
6
6
|
export declare const BLOB_WGPU_UNIFORM_BYTES: number;
|
|
7
7
|
/**
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { BlobConfig
|
|
2
|
-
import type { BlobPointer } from "./useBlobPointer";
|
|
3
|
-
import type { BlobSatelliteSystem } from "./useBlobSatellites";
|
|
4
|
-
import {
|
|
5
|
-
import type {
|
|
6
|
-
export { MAX_SATS, TRAIL_N, MAX_BLOB_STOPS, POS_SCALE, UNIFORM_NAMES };
|
|
7
|
-
export type { UniformName };
|
|
1
|
+
import type { BlobConfig } from "../types.js";
|
|
2
|
+
import type { BlobPointer } from "./useBlobPointer.js";
|
|
3
|
+
import type { BlobSatelliteSystem } from "./useBlobSatellites.js";
|
|
4
|
+
import type { UniformName } from "../constants.js";
|
|
5
|
+
import type { BlobFrameState } from "./blobSimulation.js";
|
|
8
6
|
/** The cached uniform-location set the GL setup builds once per context. */
|
|
9
7
|
export interface MetaballUniformLocations {
|
|
10
8
|
U: Record<UniformName, WebGLUniformLocation | null>;
|
|
@@ -17,35 +15,10 @@ export interface MetaballUniformLocations {
|
|
|
17
15
|
trailRadLocs: (WebGLUniformLocation | null)[];
|
|
18
16
|
paletteLocs: (WebGLUniformLocation | null)[];
|
|
19
17
|
}
|
|
20
|
-
/** The per-frame state the renderer resolves and hands to the upload leaf. */
|
|
21
|
-
export interface BlobFrameState {
|
|
22
|
-
/** The mood params for this frame (`mood.params.value`). */
|
|
23
|
-
params: MoodParams;
|
|
24
|
-
/** The resolved base-color gamma-sRGB triple. */
|
|
25
|
-
rgb: [number, number, number];
|
|
26
|
-
/** The tempo-integrated motion clock (ms). */
|
|
27
|
-
simTimeMs: number;
|
|
28
|
-
/** The substrate's seconds clock for this frame (the pulse-phase axis). */
|
|
29
|
-
timeSec: number;
|
|
30
|
-
/** A CONCRETE → gamma-sRGB triple resolver (the renderer's memoised `/color` leaf). */
|
|
31
|
-
resolveColor: (css: string) => [number, number, number];
|
|
32
|
-
/** The Fresnel rim color (CONCRETE — the SFC un-wrapped any var()-token). */
|
|
33
|
-
rimColor: string;
|
|
34
|
-
/** The multi-stop palette (CONCRETE strings; EMPTY → falls back to base). */
|
|
35
|
-
paletteStops: string[];
|
|
36
|
-
/**
|
|
37
|
-
* F9.R1 (BG.W-BLOB-SATELLITE-SHADE) — the per-satellite explicit shades (CONCRETE
|
|
38
|
-
* strings, index-aligned to the satellite array; EMPTY/undefined → the derived
|
|
39
|
-
* palette shade, byte-identical to HEAD). A set entry tints that satellite's
|
|
40
|
-
* smin-field neighbourhood toward the shade; an unset/empty entry leaves it on the
|
|
41
|
-
* derived base. The GL color-seam value.js's hero blob derives satellite shades into.
|
|
42
|
-
*/
|
|
43
|
-
satColors?: string[];
|
|
44
|
-
}
|
|
45
18
|
/**
|
|
46
19
|
* Write the resolved frame state into the metaball program's uniforms and issue
|
|
47
20
|
* the draw call. Pure: it mutates GL state only (the bound program/VAO + the
|
|
48
|
-
* uniform values) and never reads the renderer's closure. The body
|
|
49
|
-
*
|
|
21
|
+
* uniform values) and never reads the renderer's closure. The body performs the
|
|
22
|
+
* `drawFrame` uniform-upload writes.
|
|
50
23
|
*/
|
|
51
24
|
export declare function uploadBlobUniforms(gl: WebGL2RenderingContext, prog: WebGLProgram, vao: WebGLVertexArrayObject, locs: MetaballUniformLocations, canvas: HTMLCanvasElement, config: BlobConfig, pointer: BlobPointer, satellites: BlobSatelliteSystem, frame: BlobFrameState): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
-
import type { BlobMood, MoodParams } from "../types";
|
|
2
|
+
import type { BlobMood, MoodParams } from "../types.js";
|
|
3
3
|
/** The interaction signals `update` reads to drive the auto-mood arc. */
|
|
4
4
|
export interface MoodInteraction {
|
|
5
5
|
/** The pointer is over the blob (drives `curious`). */
|
|
@@ -10,7 +10,7 @@ export interface MoodInteraction {
|
|
|
10
10
|
idleMs: number;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Who is driving a `setMood` retarget
|
|
13
|
+
* Who is driving a `setMood` retarget. `"auto"` — the autonomic arc
|
|
14
14
|
* (`update` from the pointer/idle state); `"manual"` — the public expose (an imperative
|
|
15
15
|
* `setMood` from a consumer / the demo mood pills). A manual retarget arms the
|
|
16
16
|
* `manualOverride` latch the auto-arc respects.
|
|
@@ -24,8 +24,8 @@ export interface SetMoodOptions {
|
|
|
24
24
|
/**
|
|
25
25
|
* Animates the blob's mood parameters — a cross-fade between named mood targets
|
|
26
26
|
* driven per frame by `tick(dt)`. `setMood(mood, { source })` retargets (a `"manual"`
|
|
27
|
-
* source — the default — pins the mood above the auto
|
|
28
|
-
* `update(interaction)` drives the
|
|
27
|
+
* source — the default — pins the mood above the auto arc;
|
|
28
|
+
* `update(interaction)` drives the autonomic arc from pointer and idle state
|
|
29
29
|
* (curious on approach, excited on click, sleepy after inactivity), always
|
|
30
30
|
* `source: "auto"`, and early-returns while a manual mood is pinned; `params` is the
|
|
31
31
|
* eased current value the renderer reads.
|
|
@@ -36,9 +36,9 @@ export declare function useBlobMood(): {
|
|
|
36
36
|
setMood: (mood: BlobMood, options?: SetMoodOptions) => void;
|
|
37
37
|
update: (interaction: MoodInteraction) => void;
|
|
38
38
|
tick: (dt: number) => void;
|
|
39
|
-
/**
|
|
39
|
+
/** Quiescence predicate read by the renderer's demand gate. */
|
|
40
40
|
isSettled: () => boolean;
|
|
41
|
-
/**
|
|
41
|
+
/** Milliseconds to the next automatic mood retarget. */
|
|
42
42
|
nextAutoMoodMs: () => number;
|
|
43
43
|
};
|
|
44
44
|
export type BlobMoodSystem = ReturnType<typeof useBlobMood>;
|