@mkbabb/glass-ui 7.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 +4 -3
- package/dist/DialogContent-4hzLiaCQ.js +152 -0
- package/dist/DotRing-Blh4Mc3Q.js +27 -0
- package/dist/{DropdownMenuTrigger-ClIq8RJE.js → DropdownMenuTrigger-8UZsBtZ8.js} +5 -5
- package/dist/Surface-i1tWC-Ga.js +48 -0
- package/dist/aurora.d.ts +1 -1
- package/dist/aurora.js +219 -209
- package/dist/axes.d.ts +1 -1
- package/dist/axes.js +1 -22
- 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.d.ts +1 -1
- package/dist/blob.js +5 -5
- package/dist/button-yvGPb0Bx.js +110 -0
- package/dist/button.d.ts +1 -1
- package/dist/button.js +1 -1
- package/dist/canvas.d.ts +1 -1
- package/dist/canvas.js +2 -2
- package/dist/{card-Bk96VI2R.js → card-3HFFpC7_.js} +51 -95
- package/dist/card.d.ts +1 -1
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +187 -175
- 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 +129 -2
- package/dist/{class-names-Cpy5eaBk.js → class-names-q-UGOkHH.js} +15 -1
- package/dist/{collapsible-BAP95XTt.js → collapsible-B7O6m-Ch.js} +2 -2
- package/dist/collapsible.d.ts +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color.d.ts +1 -1
- package/dist/color.js +18 -18
- package/dist/{color.wgsl-Ct5o9dpf.js → color.wgsl-B0N3mKMb.js} +168 -167
- 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 +4 -1
- package/dist/components/_shared/class-names.d.ts +1 -1
- package/dist/components/_shared/control.d.ts +11 -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/{fieldControl.d.ts → field/control.d.ts} +1 -1
- package/dist/components/_shared/focus.d.ts +11 -0
- package/dist/components/_shared/index.d.ts +2 -2
- package/dist/components/_shared/interaction.d.ts +1 -1
- 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/selection.d.ts +39 -0
- package/dist/components/_shared/surface/resolve.d.ts +17 -0
- package/dist/components/_shared/useMotionAxis.d.ts +1 -7
- package/dist/components/accordion/Accordion.vue.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +4 -4
- package/dist/components/alert/Alert.vue.d.ts +1 -1
- 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 +9 -9
- package/dist/components/aurora/Aurora.vue.d.ts +4 -4
- package/dist/components/aurora/composables/atoms-fields.d.ts +1 -1
- package/dist/components/aurora/composables/atoms.d.ts +3 -3
- package/dist/components/aurora/composables/auroraFallbackGround.d.ts +1 -1
- package/dist/components/aurora/composables/auroraImageSource.d.ts +2 -2
- package/dist/components/aurora/composables/color.d.ts +3 -4
- package/dist/components/aurora/composables/frameLoop.d.ts +4 -4
- package/dist/components/aurora/composables/glSetup.d.ts +5 -10
- package/dist/components/aurora/composables/runtime.d.ts +2 -2
- package/dist/{composables/glass → components/aurora/composables}/textureUpload.d.ts +0 -13
- package/dist/components/aurora/composables/uniformBridge.d.ts +3 -20
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +2 -2
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +2 -2
- package/dist/components/aurora/composables/useAurora.d.ts +4 -4
- package/dist/components/aurora/composables/useCursorInteraction.d.ts +2 -2
- package/dist/components/aurora/composables/wgpuSetup.d.ts +5 -5
- package/dist/components/aurora/constants/budget.d.ts +0 -36
- package/dist/components/aurora/constants/presets.d.ts +2 -2
- package/dist/components/aurora/constants/shaders/aurora-image.frag.d.ts +0 -2
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +0 -2
- package/dist/components/aurora/index.d.ts +15 -14
- package/dist/components/avatar/AvatarImage.vue.d.ts +1 -6
- package/dist/components/avatar/index.d.ts +3 -3
- package/dist/components/badge/Badge.vue.d.ts +2 -9
- package/dist/components/badge/index.d.ts +12 -11
- package/dist/components/blob/Blob.vue.d.ts +4 -4
- package/dist/components/blob/composables/blobSimulation.d.ts +5 -5
- package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
- package/dist/components/blob/composables/resolveBlobSurface.d.ts +1 -1
- package/dist/components/blob/composables/satelliteKinematics.d.ts +1 -1
- package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +4 -4
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +5 -5
- package/dist/components/blob/composables/useBlobMood.d.ts +1 -1
- package/dist/components/blob/composables/useBlobPointer.d.ts +0 -3
- package/dist/components/blob/composables/useBlobSatellites.d.ts +1 -1
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +6 -6
- package/dist/components/blob/composables/wgpuSetup.d.ts +5 -5
- 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 +1 -1
- package/dist/components/button/Button.vue.d.ts +15 -9
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/styles.css +1 -1
- package/dist/components/card/Card.vue.d.ts +20 -23
- package/dist/components/card/CardHeader.vue.d.ts +8 -1
- package/dist/components/card/index.d.ts +6 -7
- 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 -6
- 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 +6 -6
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/chip/Chip.vue.d.ts +2 -2
- package/dist/components/chip/accent-tone.css +1 -0
- package/dist/components/chip/chipVariants.d.ts +1 -1
- package/dist/components/chip/index.d.ts +3 -3
- package/dist/components/chip/types.d.ts +2 -2
- package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +1 -1
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/command/Command.vue.d.ts +5 -3
- package/dist/components/command/CommandDialog.vue.d.ts +9 -5
- package/dist/components/command/CommandEmpty.vue.d.ts +1 -1
- package/dist/components/command/CommandGroup.vue.d.ts +1 -1
- package/dist/components/command/CommandInput.vue.d.ts +1 -1
- package/dist/components/command/CommandItem.vue.d.ts +3 -3
- package/dist/components/command/CommandList.vue.d.ts +8 -8
- package/dist/components/command/CommandSeparator.vue.d.ts +1 -1
- package/dist/components/command/index.d.ts +11 -10
- package/dist/components/command/types.d.ts +8 -3
- package/dist/components/configurator/Configurator.vue.d.ts +1 -1
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +1 -1
- package/dist/components/configurator/index.d.ts +6 -6
- 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 +3 -5
- package/dist/components/constellation/composables/createConstellationField.d.ts +1 -1
- package/dist/components/constellation/composables/useConstellation.d.ts +2 -2
- package/dist/components/constellation/constants.d.ts +1 -1
- package/dist/components/constellation/constellationField.d.ts +3 -4
- package/dist/components/constellation/constellationInteraction.d.ts +1 -5
- package/dist/components/constellation/constellationRender.d.ts +1 -3
- package/dist/components/constellation/constellationTypes.d.ts +0 -11
- package/dist/components/constellation/constellationWell.d.ts +1 -1
- package/dist/components/constellation/index.d.ts +8 -6
- package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -1
- package/dist/components/dark-mode-toggle/index.d.ts +2 -2
- package/dist/components/data-table/DataTable.vue.d.ts +1 -1
- package/dist/components/data-table/composables/useDataTableResponsive.d.ts +1 -1
- package/dist/components/data-table/index.d.ts +2 -2
- package/dist/components/{number-field/NumberFieldContent.vue.d.ts → deck/DeckSlide.vue.d.ts} +12 -1
- 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 -6
- 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 +13 -0
- package/dist/components/dialog/DialogContent.vue.d.ts +23 -27
- package/dist/components/dialog/DialogFooter.vue.d.ts +2 -2
- package/dist/components/dialog/DialogHeader.vue.d.ts +2 -2
- package/dist/components/dialog/ModalOverlay.vue.d.ts +44 -23
- 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 +8 -4
- package/dist/components/dock/DockCrossfade.vue.d.ts +3 -3
- package/dist/components/dock/DockLayer.vue.d.ts +1 -1
- package/dist/components/dock/DockLayerGroup.vue.d.ts +13 -13
- package/dist/components/dock/DockSeparator.vue.d.ts +23 -18
- package/dist/components/dock/GlassDock.vue.d.ts +4 -4
- package/dist/components/dock/composables/dockContext.d.ts +29 -5
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +5 -5
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +0 -1
- 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/useDockHold.d.ts +21 -6
- package/dist/components/dock/composables/useDockSearch.d.ts +5 -5
- package/dist/components/dock/composables/useDockShellProps.d.ts +10 -34
- package/dist/components/dock/composables/useDockState.d.ts +17 -4
- package/dist/components/dock/constants.d.ts +17 -3
- package/dist/components/dock/index.d.ts +15 -15
- 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 +15 -13
- package/dist/components/easing/index.d.ts +5 -3
- package/dist/components/easing/{composables/useEasingPicker.d.ts → usePicker.d.ts} +27 -23
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -1
- package/dist/components/expandable-container/index.d.ts +1 -1
- package/dist/components/fading-scroll/constants.d.ts +2 -9
- package/dist/components/fading-scroll/index.d.ts +2 -2
- package/dist/components/fourier-field/FourierField.vue.d.ts +6 -8
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +4 -4
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +4 -4
- package/dist/components/fourier-field/composables/uniformBridgeWGPU.d.ts +2 -4
- package/dist/components/fourier-field/composables/useFourierField.d.ts +4 -4
- package/dist/components/fourier-field/constants.d.ts +1 -1
- package/dist/components/fourier-field/index.d.ts +7 -9
- package/dist/components/handmark/HandMark.vue.d.ts +5 -5
- package/dist/components/handmark/composables/useHandMark.d.ts +4 -4
- package/dist/components/handmark/geometry.d.ts +1 -4
- package/dist/components/handmark/index.d.ts +10 -8
- package/dist/components/handmark/ink.d.ts +1 -1
- package/dist/components/handmark/texture.d.ts +2 -2
- package/dist/components/handmark/types.d.ts +1 -1
- package/dist/components/index.d.ts +30 -32
- 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/useInfiniteScroll.d.ts +1 -1
- package/dist/components/infinite-scroll/index.d.ts +2 -2
- package/dist/components/input/Input.vue.d.ts +10 -5
- package/dist/components/input/index.d.ts +3 -2
- package/dist/components/input/types.d.ts +49 -9
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/labeled-field/LabeledField.vue.d.ts +4 -4
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +1 -1
- package/dist/components/labeled-field/LabeledSlider.vue.d.ts +1 -1
- package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +1 -1
- package/dist/components/labeled-field/index.d.ts +5 -6
- package/dist/components/labeled-field/types.d.ts +5 -14
- package/dist/components/{dropdown-menu → menu}/DropdownMenu.vue.d.ts +2 -2
- package/dist/components/{dropdown-menu → menu}/DropdownMenuCheckboxItem.vue.d.ts +2 -2
- package/dist/components/{dropdown-menu → menu}/DropdownMenuContent.vue.d.ts +4 -7
- package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioGroup.vue.d.ts +1 -1
- package/dist/components/{dropdown-menu → menu}/DropdownMenuRadioItem.vue.d.ts +1 -1
- package/dist/components/{dropdown-menu → menu}/DropdownMenuSubContent.vue.d.ts +7 -7
- package/dist/components/{dropdown-menu → menu}/DropdownMenuTrigger.vue.d.ts +1 -1
- package/dist/components/{dropdown-menu → menu}/index.d.ts +15 -15
- package/dist/components/metric/Metric.vue.d.ts +7 -5
- package/dist/components/metric/MetricRow.vue.d.ts +4 -12
- package/dist/components/metric/MetricStack.vue.d.ts +2 -2
- package/dist/components/metric/coalesce-metric.d.ts +30 -2
- package/dist/components/metric/index.d.ts +6 -5
- package/dist/components/metric/styles.css +1 -1
- package/dist/components/metric/types.d.ts +25 -13
- 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 +7 -2
- package/dist/components/number-field/NumberFieldStep.vue.d.ts +31 -0
- package/dist/components/number-field/context.d.ts +4 -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 -2
- package/dist/components/pager-dots/worm.d.ts +42 -0
- package/dist/components/popover/Popover.vue.d.ts +23 -1
- package/dist/components/popover/PopoverContent.vue.d.ts +17 -14
- package/dist/components/popover/PopoverTrigger.vue.d.ts +1 -1
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/popoverContext.d.ts +10 -0
- package/dist/components/progress/Progress.vue.d.ts +5 -5
- package/dist/components/progress/index.d.ts +2 -2
- package/dist/components/progress/types.d.ts +16 -6
- package/dist/components/radio-group/RadioGroup.vue.d.ts +5 -7
- package/dist/components/radio-group/RadioGroupItem.vue.d.ts +3 -2
- package/dist/components/radio-group/index.d.ts +4 -4
- 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 +3 -3
- 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 +3 -4
- package/dist/components/select/Select.vue.d.ts +2 -2
- package/dist/components/select/SelectContent.vue.d.ts +4 -9
- package/dist/components/select/SelectItem.vue.d.ts +1 -1
- package/dist/components/select/SelectScrollButton.vue.d.ts +18 -0
- package/dist/components/select/SelectTrigger.vue.d.ts +1 -8
- package/dist/components/select/SelectValue.vue.d.ts +4 -6
- package/dist/components/select/index.d.ts +18 -16
- package/dist/components/separator/Separator.vue.d.ts +1 -1
- 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/index.d.ts +1 -1
- package/dist/components/slider/Slider.vue.d.ts +2 -3
- package/dist/components/slider/index.d.ts +2 -2
- package/dist/components/slider/styles.css +1 -0
- package/dist/components/slider/types.d.ts +13 -4
- package/dist/components/sortable-list/SortableItem.vue.d.ts +1 -1
- package/dist/components/sortable-list/SortableList.vue.d.ts +1 -2
- 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 +10 -3
- package/dist/components/status-dot/index.d.ts +3 -2
- package/dist/components/status-dot/states.d.ts +4 -0
- package/dist/components/surface/Surface.vue.d.ts +31 -14
- package/dist/components/surface/index.d.ts +2 -2
- package/dist/components/switch/Switch.vue.d.ts +7 -12
- package/dist/components/switch/index.d.ts +2 -2
- package/dist/components/table/index.d.ts +8 -8
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +9 -13
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +2 -2
- package/dist/components/tabs/composables/useTabResponsive.d.ts +1 -1
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +15 -7
- 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 +10 -5
- package/dist/components/textarea/index.d.ts +2 -2
- package/dist/components/textarea/types.d.ts +34 -11
- package/dist/components/timeline/Timeline.vue.d.ts +41 -0
- package/dist/components/timeline/geometry.d.ts +53 -78
- 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 +3 -3
- package/dist/components/toast/index.d.ts +8 -8
- package/dist/components/toast/use-toast.d.ts +9 -2
- package/dist/components/toggle-group/ToggleGroup.vue.d.ts +29 -40
- package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +7 -7
- package/dist/components/toggle-group/context.d.ts +28 -0
- package/dist/components/toggle-group/index.d.ts +2 -3
- package/dist/components/tooltip/TooltipContent.vue.d.ts +3 -8
- package/dist/components/tooltip/TooltipTrigger.vue.d.ts +1 -1
- 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 +1 -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 -1
- package/dist/components/typewriter/utils/typoStateMachine.d.ts +1 -1
- package/dist/composables/color/accent-tone-solve.d.ts +1 -1
- package/dist/composables/color/index.d.ts +7 -7
- package/dist/composables/context/index.d.ts +1 -1
- package/dist/composables/dark/index.d.ts +5 -5
- package/dist/composables/dom/index.d.ts +10 -10
- package/dist/composables/dom/useDragVelocity.d.ts +7 -0
- package/dist/composables/glass/backdropLuminanceSample.d.ts +20 -22
- 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 +2 -10
- package/dist/composables/glass/index.d.ts +5 -7
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +3 -4
- package/dist/composables/glass/useSpecularTracking.d.ts +1 -1
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +13 -22
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +10 -13
- package/dist/composables/glass/webgl/visibility.d.ts +1 -1
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +10 -13
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +3 -4
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +9 -11
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +0 -17
- package/dist/composables/keyboard/index.d.ts +1 -1
- package/dist/composables/motion/core/constants.d.ts +7 -0
- package/dist/composables/motion/core/index.d.ts +21 -21
- package/dist/composables/motion/core/motionTempo.d.ts +0 -2
- 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 -14
- package/dist/composables/motion/morph/eyeglass.d.ts +141 -0
- package/dist/composables/motion/morph/useDockCtaReceive.d.ts +6 -6
- package/dist/composables/motion/morph/useElementMorph.d.ts +4 -4
- package/dist/composables/motion/morph/useLeadTrail.d.ts +30 -28
- package/dist/composables/motion/morph/useSelectionGroup.d.ts +61 -23
- package/dist/composables/motion/morph/useSelectionIndicator.d.ts +52 -22
- package/dist/composables/motion/number/useAnimatedNumberMap.d.ts +1 -1
- package/dist/composables/motion/pointer/pointerFieldMappings.d.ts +1 -1
- package/dist/composables/motion/pointer/useRoutePointer.d.ts +1 -1
- package/dist/composables/motion/reveal/useLiquidReveal.d.ts +7 -6
- package/dist/composables/motion/route/routeGrammar.d.ts +60 -0
- package/dist/composables/motion/route/useRouteTransition.d.ts +45 -0
- package/dist/composables/motion/scroll/useScrollProgress.d.ts +7 -14
- package/dist/composables/motion/scroll/useScrollScene.d.ts +5 -4
- package/dist/composables/motion/spring/springPresets.d.ts +13 -27
- package/dist/composables/motion/spring/springProjection.d.ts +3 -4
- package/dist/composables/motion/spring/useLiquidPress.d.ts +2 -2
- package/dist/composables/motion/spring/useSpring.d.ts +3 -3
- package/dist/composables/motion/spring/useSpringMount.d.ts +6 -3
- package/dist/composables/motion/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/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-M5OaIlJd.js → configurator-BoeScnDL.js} +5 -5
- package/dist/configurator.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/{constants-nBz23tJE.js → constants-Dk96HZHu.js} +2 -2
- package/dist/constellation.d.ts +1 -1
- package/dist/constellation.js +136 -135
- package/dist/content-CWO-XL7o.js +18 -0
- package/dist/control-Da4XeT43.js +11 -0
- package/dist/{field-control.css_vue_type_style_index_0_src_true_lang-CeLay9Tk.js → control.css_vue_type_style_index_0_src_true_lang-BIdufaDG.js} +1 -1
- package/dist/{createCanvasLifecycle-DbXRwjU_.js → createCanvasLifecycle-hJHobVTn.js} +2 -5
- package/dist/dark-mode-toggle.d.ts +1 -1
- package/dist/dark-mode-toggle.js +2 -2
- package/dist/dark.d.ts +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 +546 -519
- package/dist/dom.d.ts +1 -1
- package/dist/dom.js +57 -35
- package/dist/easing.d.ts +1 -1
- package/dist/easing.js +686 -515
- package/dist/expandable-container.d.ts +1 -1
- package/dist/expandable-container.js +80 -78
- package/dist/{fading-scroll-DhxXIhm2.js → fading-scroll-CTeW3KNS.js} +30 -30
- 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 +84 -86
- package/dist/fourier-math.d.ts +1 -1
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +123 -472
- package/dist/handmark.d.ts +1 -1
- package/dist/handmark.js +1 -1
- package/dist/index.d.ts +41 -42
- package/dist/infinite-scroll.d.ts +1 -1
- package/dist/infinite-scroll.js +56 -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 +64 -148
- 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 -1
- package/dist/metric.js +79 -132
- package/dist/motion-D4uYE0UM.js +61 -0
- package/dist/motion-core.d.ts +1 -1
- package/dist/motion-core.js +185 -52
- package/dist/motion.d.ts +1 -1
- package/dist/motion.js +160 -178
- 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/popover-DBMKTPkL.js +181 -0
- package/dist/popover.d.ts +1 -1
- package/dist/popover.js +1 -1
- 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/resolve-DdrNvBby.js +6 -0
- package/dist/{resolveCanvasColor-DS_6DBxA.js → resolveCanvasColor-6MCrswTB.js} +3 -4
- 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/search.d.ts +1 -1
- package/dist/search.js +28 -319
- package/dist/select-CDgwGH_P.js +290 -0
- package/dist/select.d.ts +1 -1
- package/dist/select.js +2 -2
- 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/slider-gsc8jDIo.js +227 -0
- package/dist/slider.d.ts +1 -1
- package/dist/slider.js +1 -1
- package/dist/sortable-list.d.ts +1 -1
- package/dist/sortable-list.js +411 -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 -42
- 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 +4 -4
- 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 +2 -2
- 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 -1
- 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-C2zyWpl8.js → supportsCssTimeline-Di9gzleG.js} +5 -4
- package/dist/surface.d.ts +1 -1
- package/dist/surface.js +1 -1
- 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 -311
- package/dist/textarea.d.ts +1 -0
- package/dist/textarea.js +58 -0
- package/dist/timeline.d.ts +1 -1
- package/dist/timeline.js +238 -528
- package/dist/{toast-CH5mnsYT.js → toast-9c6Kp58L.js} +52 -50
- 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 +12 -10
- 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 +10 -32
- package/dist/useAccentTone-DFAh1osB.js +47 -0
- package/dist/{useDockCtaReceive-DkrOTM0q.js → useDockCtaReceive-BSSgD6mu.js} +2 -2
- package/dist/{useDragMorph-BogSV_nv.js → useDragMorph-B363RUbF.js} +59 -59
- package/dist/{useDragVelocity-6ONX0sr0.js → useDragVelocity-C5BkKiNf.js} +28 -24
- package/dist/useIntersectionPause-CzKR3EyP.js +57 -0
- package/dist/useLeadTrail-DQWdpFN1.js +83 -0
- package/dist/{useLiquidPress-BOxuDkKa.js → useLiquidPress-h1scrPtP.js} +1 -1
- package/dist/{useTouchGate-B4mzQcHJ.js → useResolveTokenColor-CspQv_ik.js} +24 -1
- package/dist/useScrollChrome-BJbWV32F.js +162 -0
- package/dist/useScrollProgress-Bq-KPaKM.js +41 -0
- package/dist/{useScrollTrigger-BDdqptlc.js → useScrollTrigger-Abe5dEeO.js} +25 -26
- package/dist/useSelectionGroup-zsEwitF6.js +291 -0
- package/dist/{useSpringMount-uQ8QL9Ff.js → useSpringMount-OA-0mTNv.js} +5 -6
- package/dist/vReveal-B5WYGofz.js +44 -0
- package/dist/{valueDomain-SbVzoHMH.js → valueDomain-DXRzfc8l.js} +1 -1
- package/package.json +53 -92
- package/dist/FeedbackMark-DZq5001h.js +0 -23
- package/dist/Input-9BlLluik.js +0 -77
- package/dist/PagerDots-BEq0MgtH.js +0 -311
- package/dist/Surface-kFQeYrYv.js +0 -82
- package/dist/animated-digit.d.ts +0 -1
- package/dist/animated-digit.js +0 -44
- package/dist/badge-u65NClWn.js +0 -62
- package/dist/button-Bu9F4uU6.js +0 -98
- package/dist/chip-DFZQr6rV.js +0 -129
- package/dist/command-SFqDQ65h.js +0 -320
- package/dist/completion-seal.d.ts +0 -1
- package/dist/completion-seal.js +0 -132
- package/dist/components/_shared/FeedbackMark.vue.d.ts +0 -11
- package/dist/components/_shared/control-size.d.ts +0 -2
- package/dist/components/_shared/disclosure.css +0 -1
- package/dist/components/_shared/feedback-tone.css +0 -1
- package/dist/components/_shared/feedback.d.ts +0 -7
- package/dist/components/_shared/field-control.css +0 -1
- package/dist/components/_shared/field-surfaces.css +0 -1
- package/dist/components/_shared/floating.d.ts +0 -14
- package/dist/components/_shared/menu.css +0 -1
- package/dist/components/_shared/menuRowClass.d.ts +0 -2
- package/dist/components/_shared/resolveSurfaceClass.d.ts +0 -3
- package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +0 -55
- package/dist/components/animated-digit/index.d.ts +0 -2
- package/dist/components/avatar/styles.css +0 -1
- package/dist/components/card/CardAction.vue.d.ts +0 -17
- package/dist/components/card/card-scroll.css +0 -1
- package/dist/components/carousel/interface.d.ts +0 -22
- package/dist/components/checkbox/styles.css +0 -1
- package/dist/components/combobox/Combobox.vue.d.ts +0 -22
- package/dist/components/combobox/ComboboxAnchor.vue.d.ts +0 -14
- package/dist/components/combobox/ComboboxEmpty.vue.d.ts +0 -14
- package/dist/components/combobox/ComboboxGroup.vue.d.ts +0 -14
- package/dist/components/combobox/ComboboxInput.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxItem.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +0 -14
- package/dist/components/combobox/ComboboxList.vue.d.ts +0 -29
- package/dist/components/combobox/ComboboxTrigger.vue.d.ts +0 -16
- package/dist/components/combobox/index.d.ts +0 -10
- package/dist/components/combobox/types.d.ts +0 -87
- package/dist/components/command/dialogContext.d.ts +0 -6
- package/dist/components/command/styles.css +0 -1
- 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/data-table/styles.css +0 -1
- package/dist/components/deck/DeckPager.vue.d.ts +0 -29
- package/dist/components/dialog/DialogClose.vue.d.ts +0 -16
- package/dist/components/dialog/DialogTrigger.vue.d.ts +0 -16
- package/dist/components/dialog/dialogStageContext.d.ts +0 -7
- package/dist/components/dialog/placement.css +0 -1
- package/dist/components/dialog/sheet-motion.d.ts +0 -17
- package/dist/components/drawer/Drawer.vue.d.ts +0 -82
- package/dist/components/drawer/DrawerContent.vue.d.ts +0 -39
- package/dist/components/drawer/DrawerDescription.vue.d.ts +0 -17
- 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 -17
- package/dist/components/drawer/composables/drawerSnapContext.d.ts +0 -34
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +0 -26
- package/dist/components/drawer/constants.d.ts +0 -32
- package/dist/components/drawer/index.d.ts +0 -33
- package/dist/components/drawer/styles.css +0 -1
- package/dist/components/dropdown-menu/styles.css +0 -1
- package/dist/components/easing/EasingConfigurator.vue.d.ts +0 -33
- package/dist/components/expandable-container/styles.css +0 -1
- package/dist/components/fourier-field/presets.d.ts +0 -54
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +0 -13
- package/dist/components/header-ribbon/index.d.ts +0 -2
- package/dist/components/header-ribbon/styles.css +0 -1
- package/dist/components/header-ribbon/types.d.ts +0 -10
- package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +0 -23
- package/dist/components/instrument-chassis/index.d.ts +0 -2
- package/dist/components/instrument-chassis/styles.css +0 -1
- package/dist/components/instrument-chassis/types.d.ts +0 -13
- package/dist/components/labeled-field/LabeledSelect.vue.d.ts +0 -20
- 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 -92
- 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/MetricCell.vue.d.ts +0 -26
- 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/number-field/styles.css +0 -1
- package/dist/components/pager-dots/composables/usePagerWorm.d.ts +0 -26
- package/dist/components/pager-dots/constants.d.ts +0 -14
- package/dist/components/pager-dots/pagerWindow.d.ts +0 -9
- package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +0 -8
- package/dist/components/paper-backdrop/index.d.ts +0 -2
- package/dist/components/pulse/Pulse.vue.d.ts +0 -14
- package/dist/components/pulse/index.d.ts +0 -2
- package/dist/components/radio-group/styles.css +0 -1
- package/dist/components/search/FuzzySearch.vue.d.ts +0 -24
- package/dist/components/select/SelectScrollDownButton.vue.d.ts +0 -17
- package/dist/components/select/SelectScrollUpButton.vue.d.ts +0 -17
- 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/switch/styles.css +0 -1
- package/dist/components/tabs/constants.d.ts +0 -1
- package/dist/components/tags-input/TagsInput.vue.d.ts +0 -41
- package/dist/components/tags-input/TagsInputInput.vue.d.ts +0 -10
- package/dist/components/tags-input/TagsInputItem.vue.d.ts +0 -19
- package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +0 -17
- package/dist/components/tags-input/TagsInputItemText.vue.d.ts +0 -7
- package/dist/components/tags-input/context.d.ts +0 -5
- package/dist/components/tags-input/index.d.ts +0 -5
- package/dist/components/tags-input/styles.css +0 -1
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +0 -47
- package/dist/components/timeline/ContinuousRail.vue.d.ts +0 -23
- package/dist/components/timeline/ContinuousTimeline.vue.d.ts +0 -117
- package/dist/components/timeline/GlassTimeline.vue.d.ts +0 -113
- package/dist/components/timeline/ScrubberTimeline.vue.d.ts +0 -45
- package/dist/components/timeline/SegmentedTimeline.vue.d.ts +0 -45
- package/dist/components/toggle-group/styles.css +0 -1
- package/dist/components/toggle-group/toggleGroupContext.d.ts +0 -9
- package/dist/components/typewriter/composables/index.d.ts +0 -1
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +0 -61
- 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 -28
- 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/webgpu/index.d.ts +0 -3
- package/dist/composables/index.d.ts +0 -9
- package/dist/composables/motion/number/useCountup.d.ts +0 -30
- package/dist/composables/motion/number/useNumericTransition.d.ts +0 -56
- package/dist/composables/motion/reveal/bloomUpField.d.ts +0 -29
- package/dist/composables/motion/reveal/useBloomUp.d.ts +0 -33
- package/dist/composables/motion/reveal/useStaggerReveal.d.ts +0 -28
- package/dist/composables/motion/reveal/useTextHighlight.d.ts +0 -41
- package/dist/composables/motion/scroll/useScrollPin.d.ts +0 -49
- package/dist/data-table-BygKg6ZA.js +0 -491
- package/dist/dialog-TNRDkcE4.js +0 -385
- package/dist/dockContext-BUTlGRNJ.js +0 -13
- package/dist/drawer.d.ts +0 -1
- package/dist/drawer.js +0 -496
- package/dist/dropdown-menu-BlbnvMaZ.js +0 -507
- package/dist/dropdown-menu.d.ts +0 -1
- package/dist/floating-dB5TD88k.js +0 -7
- package/dist/flow.wgsl-Cd2GUkPx.js +0 -4
- package/dist/fonts/README.md +0 -120
- 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 -403
- package/dist/header-ribbon.d.ts +0 -1
- package/dist/header-ribbon.js +0 -43
- package/dist/instrument-chassis.d.ts +0 -1
- package/dist/instrument-chassis.js +0 -54
- package/dist/label-DnMqH7jr.js +0 -55
- package/dist/liquid-grid.d.ts +0 -1
- package/dist/liquid-grid.js +0 -1065
- package/dist/menuRowClass-Nh7CtMON.js +0 -12
- package/dist/number-field-Boe09SvX.js +0 -154
- package/dist/paper-backdrop.d.ts +0 -1
- package/dist/paper-backdrop.js +0 -23
- package/dist/popover-BQGYXZyO.js +0 -244
- package/dist/progress-DClbhRAT.js +0 -88
- package/dist/pulse.d.ts +0 -1
- package/dist/pulse.js +0 -42
- package/dist/resolveSurfaceClass-DCZ4PZcy.js +0 -6
- package/dist/select-BcBAyLXA.js +0 -336
- package/dist/separator-CgZInrX-.js +0 -75
- package/dist/slider-DzqeQmMu.js +0 -162
- package/dist/springPresets-rCii5KqX.js +0 -52
- 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-refract.css +0 -1
- package/dist/styles/tokens/manifest.ts +0 -56
- package/dist/styles/tokens.ts +0 -54
- package/dist/switch-DZjQuFLa.js +0 -54
- package/dist/toggle-group-O6jBo7AE.js +0 -150
- package/dist/tooltip-Drx5qnw_.js +0 -148
- package/dist/useAccentTone-DyInfHXE.js +0 -23
- package/dist/useAnimatedNumber-WPtMz0AN.js +0 -40
- package/dist/useDocumentVisibility-Dh_TGXsU.js +0 -21
- package/dist/useIntersectionPause-B5mAU6XY.js +0 -39
- package/dist/useLeadTrail-AW1-zZcd.js +0 -74
- package/dist/useRAFLoop-B3YlWK4M.js +0 -98
- package/dist/useResolveTokenColor-B2FfJnd9.js +0 -24
- package/dist/useScrollProgress-CSFYXIZT.js +0 -43
- package/dist/useSelectionGroup-B5XplBbo.js +0 -132
- package/dist/useTabRovingFocus-YnWh-Ytr.js +0 -169
- package/dist/useTextHighlight-mfwNIC1f.js +0 -112
- package/dist/useUserInvalidAria-0GNrddMX.js +0 -25
- package/dist/watercolor-dot.d.ts +0 -1
- package/dist/watercolor-dot.js +0 -149
- /package/dist/components/_shared/{disclosure-context.d.ts → disclosure/disclosure-context.d.ts} +0 -0
- /package/dist/components/_shared/{valueDomain.d.ts → field/valueDomain.d.ts} +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuGroup.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuItem.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuLabel.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuSeparator.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuShortcut.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuSub.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu → menu}/DropdownMenuSubTrigger.vue.d.ts +0 -0
- /package/dist/components/{dropdown-menu/useMenuTrigger.d.ts → menu/context.d.ts} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SurfaceTier } from "../axes.js";
|
|
2
|
+
/**
|
|
3
|
+
* The ONE surface resolver — a plain function, not a composable.
|
|
4
|
+
*
|
|
5
|
+
* Seven call sites across six files ask this question, and six of them pass the
|
|
6
|
+
* literal `"floating"` wanting nothing but the class string. A `useSurface()`
|
|
7
|
+
* returning `{ class, attrs }` would ship an `attrs` member with exactly ONE
|
|
8
|
+
* consumer — sub-`≥2-sites` machinery for a solved problem. The portaled roots'
|
|
9
|
+
* attribute contract is `overlayContentAttrs()`, which COMPOSES this.
|
|
10
|
+
*
|
|
11
|
+
* `deep` is ORTHOGONAL: it thickens the resolved tier, it never jumps to
|
|
12
|
+
* another one. The predecessor returned the literal `"glass-floating
|
|
13
|
+
* glass-deep"` for every deep surface, so `<Surface tier="overlay" deep>`
|
|
14
|
+
* silently became floating and two of the three shipped depth grades were
|
|
15
|
+
* unreachable through the public door.
|
|
16
|
+
*/
|
|
17
|
+
export declare function surfaceClass(tier: SurfaceTier, deep?: boolean): string;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { type MaybeRefOrGetter } from "vue";
|
|
2
|
-
import type { Motion } from "./axes";
|
|
3
|
-
/**
|
|
4
|
-
* Resolve a prop `Motion` value (default `full`) DOWN under live PRM. The prop may
|
|
5
|
-
* only clamp DOWN — PRM forces `full`/`reduced` → `reduced` (never an escalation),
|
|
6
|
-
* `off` is preserved (the prop went below PRM, which is legal).
|
|
7
|
-
*/
|
|
8
|
-
export declare function resolveMotion(motion: Motion | undefined, prefersReducedMotion?: boolean): Motion;
|
|
2
|
+
import type { Motion } from "./axes.js";
|
|
9
3
|
/**
|
|
10
4
|
* The resolved-motion state a carrier reads. `armed` gates the JS gesture
|
|
11
5
|
* enrichment (drag/press/spring-mount/liquid-drag); `dataMotion`/`hostStyle` are the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from "vue";
|
|
2
|
-
import type { SelectionMode } from "../_shared/selection";
|
|
2
|
+
import type { SelectionMode } from "../_shared/selection.js";
|
|
3
3
|
export type AccordionValue<TMode extends SelectionMode = SelectionMode> = TMode extends "single" ? string | undefined : string[];
|
|
4
4
|
export interface AccordionProps<TMode extends SelectionMode = SelectionMode> {
|
|
5
5
|
/** Whether the disclosure owns one open item or any number of open items. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { default as Accordion, type AccordionEmits, type AccordionProps, type AccordionSlotProps, type AccordionValue, } from "./Accordion.vue";
|
|
2
|
-
export { default as AccordionContent, type AccordionContentProps, } from "./AccordionContent.vue";
|
|
3
|
-
export { default as AccordionItem, type AccordionItemProps } from "./AccordionItem.vue";
|
|
4
|
-
export { default as AccordionTrigger, type AccordionTriggerProps, } from "./AccordionTrigger.vue";
|
|
1
|
+
export { default as Accordion, type AccordionEmits, type AccordionProps, type AccordionSlotProps, type AccordionValue, } from "./Accordion.vue.js";
|
|
2
|
+
export { default as AccordionContent, type AccordionContentProps, } from "./AccordionContent.vue.js";
|
|
3
|
+
export { default as AccordionItem, type AccordionItemProps } from "./AccordionItem.vue.js";
|
|
4
|
+
export { default as AccordionTrigger, type AccordionTriggerProps, } from "./AccordionTrigger.vue.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { type ClassValue } from "../_shared/class-names";
|
|
2
|
-
export { default as Alert } from "./Alert.vue";
|
|
3
|
-
export { default as AlertDescription } from "./AlertDescription.vue";
|
|
4
|
-
export { default as AlertTitle } from "./AlertTitle.vue";
|
|
1
|
+
import { type ClassValue } from "../_shared/class-names.js";
|
|
2
|
+
export { default as Alert } from "./Alert.vue.js";
|
|
3
|
+
export { default as AlertDescription } from "./AlertDescription.vue.js";
|
|
4
|
+
export { default as AlertTitle } from "./AlertTitle.vue.js";
|
|
5
5
|
declare const TONE: {
|
|
6
|
-
readonly neutral: "
|
|
7
|
-
readonly destructive: "feedback-tone
|
|
8
|
-
readonly success: "feedback-tone
|
|
9
|
-
readonly warning: "feedback-tone
|
|
10
|
-
readonly info: "feedback-tone
|
|
6
|
+
readonly neutral: "text-card-foreground";
|
|
7
|
+
readonly destructive: "feedback-tone-destructive text-card-foreground [&>svg]:text-(--tone) *:data-[slot=alert-description]:text-card-foreground/90";
|
|
8
|
+
readonly success: "feedback-tone-success text-card-foreground [&>svg]:text-(--tone) *:data-[slot=alert-description]:text-card-foreground/90";
|
|
9
|
+
readonly warning: "feedback-tone-warning text-card-foreground [&>svg]:text-(--tone) *:data-[slot=alert-description]:text-card-foreground/90";
|
|
10
|
+
readonly info: "feedback-tone-info text-card-foreground [&>svg]:text-(--tone) *:data-[slot=alert-description]:text-card-foreground/90";
|
|
11
11
|
};
|
|
12
12
|
export interface AlertVariants {
|
|
13
13
|
tone?: keyof typeof TONE | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AuroraRuntimeOptions } from "./composables/runtime";
|
|
2
|
-
import { type AuroraConfig } from "./constants/presets";
|
|
3
|
-
import { type AuroraRenderMode } from "./constants/renderMode";
|
|
4
|
-
import type { RendererStatus } from "../../composables/glass/webgpu/rendererStatus";
|
|
1
|
+
import type { AuroraRuntimeOptions } from "./composables/runtime.js";
|
|
2
|
+
import { type AuroraConfig } from "./constants/presets.js";
|
|
3
|
+
import { type AuroraRenderMode } from "./constants/renderMode.js";
|
|
4
|
+
import type { RendererStatus } from "../../composables/glass/webgpu/rendererStatus.js";
|
|
5
5
|
/**
|
|
6
6
|
* Aurora — a painterly procedural background.
|
|
7
7
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type AuroraConfig, type AuroraMedium, type OklchStop, type WarpMode } from "../constants/presets";
|
|
1
|
+
import { type AuroraConfig, type AuroraMedium, type OklchStop, type WarpMode } from "../constants/presets.js";
|
|
2
2
|
/** The motion field classifier. */
|
|
3
3
|
export type AuroraMotionAtom = "still" | "breathing" | "drifting";
|
|
4
4
|
/** The deterministic zone-placement classifier. */
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
* as clamped overrides. An absent atom keeps the default's value, so the empty atom
|
|
24
24
|
* set (`DEFAULT_ATOMS`) resolves to exactly the wispy-sky default by construction.
|
|
25
25
|
*/
|
|
26
|
-
import { type AuroraConfig, type AuroraMedium, type OklchStop } from "../constants/presets";
|
|
27
|
-
import { type AuroraHarmony } from "./color";
|
|
28
|
-
import { type AuroraMotionAtom, type AuroraZoneArrangement } from "./atoms-fields";
|
|
26
|
+
import { type AuroraConfig, type AuroraMedium, type OklchStop } from "../constants/presets.js";
|
|
27
|
+
import { type AuroraHarmony } from "./color.js";
|
|
28
|
+
import { type AuroraMotionAtom, type AuroraZoneArrangement } from "./atoms-fields.js";
|
|
29
29
|
/**
|
|
30
30
|
* The ZONES arrangement character — selects the nuclei placement prior. NOT a bare
|
|
31
31
|
* integer count: the same count reads as a different field per arrangement.
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
* The luminance metrics (mean + the 4-quadrant relative luminance) are returned
|
|
37
37
|
* alongside so the gate, π can MEASURE the faithfulness claim rather than assert it.
|
|
38
38
|
*/
|
|
39
|
-
import type { AuroraConfig, AuroraNucleus } from "../constants/presets";
|
|
39
|
+
import type { AuroraConfig, AuroraNucleus } from "../constants/presets.js";
|
|
40
40
|
/** A linear-sRGB triple in [0,1]. */
|
|
41
41
|
type Lin = [number, number, number];
|
|
42
42
|
/** Linear-sRGB relative luminance (Rec.709, WCAG), the contrast-floor metric. */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*
|
|
16
16
|
* The runtime composes this leaf as the WebGL2 image-source path.
|
|
17
17
|
*/
|
|
18
|
-
import { type UploadableImageSource } from "
|
|
19
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
18
|
+
import { type UploadableImageSource } from "./textureUpload.js";
|
|
19
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
20
20
|
export interface AuroraImageCoordinator {
|
|
21
21
|
/** The decoded photo (or null before decode, on a palette config). */
|
|
22
22
|
getDecodedImage(): UploadableImageSource | null;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { type ColorHarmony, type OklchStop } from "../../../composables/color";
|
|
2
|
-
export {
|
|
3
|
-
export type {
|
|
4
|
-
export type { ColorHarmony } from "../../../composables/color";
|
|
1
|
+
import { type ColorHarmony, type OklchStop } from "../../../composables/color/index.js";
|
|
2
|
+
export type { OklchStop } from "../../../composables/color/index.js";
|
|
3
|
+
export type { ColorHarmony } from "../../../composables/color/index.js";
|
|
5
4
|
/**
|
|
6
5
|
* Pack up to `maxStops` OklchStops into linear-sRGB triples. When `out` is
|
|
7
6
|
* provided the buffer is filled in place (no allocation) — the runtime owns a
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
* `true` while drift is live or the field is still easing (engagement, speed, burst,
|
|
17
17
|
* attractor motion above ε).
|
|
18
18
|
*/
|
|
19
|
-
import type { UniformLocations } from "./glSetup";
|
|
20
|
-
import type { AuroraCursorUniforms } from "./uniformBridge";
|
|
21
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
22
|
-
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField";
|
|
19
|
+
import type { UniformLocations } from "./glSetup.js";
|
|
20
|
+
import type { AuroraCursorUniforms } from "./uniformBridge.js";
|
|
21
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
22
|
+
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField.js";
|
|
23
23
|
/** The at-rest scalars a config-less cursor read seeds (strength ceiling + influence radius). */
|
|
24
24
|
export interface AuroraCursorScalars {
|
|
25
25
|
/** The active-strength ceiling (cfg.strength; scaled by engagement). */
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* shader-uniform boundary: a NEW uniform name must be added here, and the cache is
|
|
10
10
|
* keyed off it, so a fresh uniform always gets a location slot.
|
|
11
11
|
*/
|
|
12
|
-
import type { WebGLCanvasFrame } from "../../../composables/glass/webgpu/useGpuSubstrate";
|
|
13
|
-
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField";
|
|
14
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
15
|
-
import { type AuroraImageCoordinator } from "./auroraImageSource";
|
|
16
|
-
import { type AuroraCursorScalars } from "./frameLoop";
|
|
12
|
+
import type { WebGLCanvasFrame } from "../../../composables/glass/webgpu/useGpuSubstrate.js";
|
|
13
|
+
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField.js";
|
|
14
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
15
|
+
import { type AuroraImageCoordinator } from "./auroraImageSource.js";
|
|
16
|
+
import { type AuroraCursorScalars } from "./frameLoop.js";
|
|
17
17
|
export declare const UNIFORM_NAMES: readonly ["uTime", "uPalette", "uStopCount", "uNucleiCount", "uNucleiPos", "uNucleiRadius", "uNucleiPaletteBias", "uNucleiValueBias", "uNucleiDriftRadius", "uNucleiDriftPhase", "uNucleiElong", "uNucleiAngle", "uSoftmaxBeta", "uValueVariance", "uWarpAmount", "uWarpScale", "uWarpDrift", "uWarpMode", "uNoiseOctaves", "uMedium", "uHuePath", "uFlowPattern", "uFlowFocal", "uFlowAngle", "uFlowCurl", "uCursor", "uCursorStrength", "uCursorRadius", "uStrokeAmount", "uStrokeScale", "uStrokeAnisotropy", "uStrokeLayers", "uStrokeMode", "uStrokeOrient", "uLightDir", "uLightColor", "uWetEdge", "uGranulation", "uImpasto", "uBrokenColor", "uCanvasGrain", "uMetalPolish", "uMetalHeightScale", "uNucleiDrift", "uPaletteDrift", "uBreathDepth", "uBreathPeriod", "uSaturation", "uPaperGrain", "uAlpha", "uVividness", "uImage", "uBlurMin", "uBlurMax", "uImageAspect"];
|
|
18
18
|
export type UniformName = (typeof UNIFORM_NAMES)[number];
|
|
19
19
|
export type UniformLocations = Record<UniformName, WebGLUniformLocation | null>;
|
|
@@ -27,11 +27,6 @@ export interface GlProgram {
|
|
|
27
27
|
buf: WebGLBuffer;
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
/**
|
|
31
|
-
* Compile + link the shader pair, build the full-screen triangle (one draw covers
|
|
32
|
-
* the viewport), and resolve the uniform location cache. Leaves the program bound.
|
|
33
|
-
*/
|
|
34
|
-
export declare function createGlProgram(gl: WebGL2RenderingContext, vertexSrc: string, fragmentSrc: string): GlProgram;
|
|
35
30
|
export interface AuroraGLSetupDeps {
|
|
36
31
|
opaquePresentation: boolean;
|
|
37
32
|
getConfig: () => AuroraConfig;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* Y-origin convention: config authoring is CSS-top-origin (0 = top). The seams
|
|
16
16
|
* flip Y at the uniform boundary (`flipY` in uniformBridge/frameLoop).
|
|
17
17
|
*/
|
|
18
|
-
import { type RendererStatus } from "../../../composables/glass/webgpu/useGpuSubstrate";
|
|
19
|
-
import type { AuroraConfig, AuroraInstance } from "../constants/presets";
|
|
18
|
+
import { type RendererStatus } from "../../../composables/glass/webgpu/useGpuSubstrate.js";
|
|
19
|
+
import type { AuroraConfig, AuroraInstance } from "../constants/presets.js";
|
|
20
20
|
export type AuroraRuntimeMode = "live" | "capture";
|
|
21
21
|
/**
|
|
22
22
|
* The three independent reasons the frame loop may be suspended. Owned by the
|
|
@@ -22,8 +22,6 @@
|
|
|
22
22
|
* so the decoded bytes are raw sRGB-encoded, un-premultiplied — the shader owns the
|
|
23
23
|
* sRGB→linear transfer + the premultiply-on-display, exactly like the procedural path.
|
|
24
24
|
*/
|
|
25
|
-
/** The shared decode options — the ONE normalised `createImageBitmap` flag set. */
|
|
26
|
-
export declare const IMAGE_DECODE_OPTIONS: ImageBitmapOptions;
|
|
27
25
|
/**
|
|
28
26
|
* An already-uploadable image source — a decoded bitmap or a live DOM raster that
|
|
29
27
|
* both `gl.texImage2D` and `queue.copyExternalImageToTexture` accept directly.
|
|
@@ -35,12 +33,6 @@ export type UploadableImageSource = ImageBitmap | HTMLImageElement | HTMLCanvasE
|
|
|
35
33
|
* every form to an {@link UploadableImageSource} via the shared decode contract.
|
|
36
34
|
*/
|
|
37
35
|
export type ImageInputSource = UploadableImageSource | Blob | string;
|
|
38
|
-
/**
|
|
39
|
-
* Decode a `Blob` to an `ImageBitmap` through the shared normalised flag set. The
|
|
40
|
-
* single decode home — a consumer NEVER re-spells `createImageBitmap` with its own
|
|
41
|
-
* (divergent) options.
|
|
42
|
-
*/
|
|
43
|
-
export declare function decodeImageBitmap(blob: Blob): Promise<ImageBitmap>;
|
|
44
36
|
/**
|
|
45
37
|
* Normalise any {@link ImageInputSource} to an uploadable source. A URL string is
|
|
46
38
|
* fetched → blob → decoded; a `Blob` is decoded; an already-uploadable source is
|
|
@@ -54,11 +46,6 @@ export declare function resolveImageSource(src: ImageInputSource): Promise<Uploa
|
|
|
54
46
|
* texture creation has exactly ONE home (the anti-evasion floor). DOM-only (`ImageData`).
|
|
55
47
|
*/
|
|
56
48
|
export declare function placeholderImageSource(): ImageData;
|
|
57
|
-
/** The intrinsic pixel dimensions of an uploadable source (both legs size the texture from it). */
|
|
58
|
-
export declare function imageSourceDimensions(src: UploadableImageSource): {
|
|
59
|
-
width: number;
|
|
60
|
-
height: number;
|
|
61
|
-
};
|
|
62
49
|
/** WebGL2 upload options — the sampling register the texture is created with. */
|
|
63
50
|
export interface WebGL2TextureOptions {
|
|
64
51
|
/** Min/mag filter. Default `LINEAR` (the smooth-bokeh dissolve register). */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* The pre-allocated upload buffers live in the bridge: a slider drag refills them
|
|
16
16
|
* in place rather than allocating ~8 Float32Arrays per frame.
|
|
17
17
|
*/
|
|
18
|
-
import type { OklchStop } from "../../../composables/color";
|
|
19
|
-
import type { UniformLocations } from "./glSetup";
|
|
18
|
+
import type { OklchStop } from "../../../composables/color/index.js";
|
|
19
|
+
import type { UniformLocations } from "./glSetup.js";
|
|
20
20
|
/**
|
|
21
21
|
* the aurora cursor UNIFORM shape (the `uCursor*` upload inputs). The
|
|
22
22
|
* retired `cursorModel.ts` `CursorState` is GONE — the cursor is now the mapped readout of
|
|
@@ -31,7 +31,7 @@ export interface AuroraCursorUniforms {
|
|
|
31
31
|
radius: number;
|
|
32
32
|
}
|
|
33
33
|
export declare const AURORA_CURSOR_UNIFORM_REST: AuroraCursorUniforms;
|
|
34
|
-
import { type AuroraConfig } from "../constants/presets";
|
|
34
|
+
import { type AuroraConfig } from "../constants/presets.js";
|
|
35
35
|
export declare const MEDIUM_ID: {
|
|
36
36
|
readonly smooth: 0;
|
|
37
37
|
readonly pastel: 1;
|
|
@@ -68,19 +68,7 @@ export declare const WARP_ID: {
|
|
|
68
68
|
readonly hybrid: 2;
|
|
69
69
|
readonly curl: 3;
|
|
70
70
|
};
|
|
71
|
-
export declare const STROKE_MODE_ID: {
|
|
72
|
-
readonly oil: 0;
|
|
73
|
-
readonly knife: 1;
|
|
74
|
-
readonly chunky: 3;
|
|
75
|
-
};
|
|
76
71
|
export declare const AURORA_CATCH_LIGHT_ANCHOR: OklchStop;
|
|
77
|
-
/**
|
|
78
|
-
* Resolve a config's `lightColor` to a LINEAR-light `[r,g,b]` triple. Accepts either
|
|
79
|
-
* a raw linear triple (the array form, passed through) OR an `{L,C,h}` OKLCh anchor
|
|
80
|
-
* (derived through the shared `warmCatchLight` helper). Omitted = the canonical aurora
|
|
81
|
-
* warm-white from `AURORA_CATCH_LIGHT_ANCHOR`.
|
|
82
|
-
*/
|
|
83
|
-
export declare function resolveLightColor(lightColor: [number, number, number] | OklchStop | undefined): [number, number, number];
|
|
84
72
|
/**
|
|
85
73
|
* The effective `uMedium` integer for a config: a pure identity map over the
|
|
86
74
|
* medium union (the `oil` + `strokeMode:"crayon"` peer-route is REMOVED; crayon is its
|
|
@@ -88,11 +76,6 @@ export declare function resolveLightColor(lightColor: [number, number, number] |
|
|
|
88
76
|
* `satisfies` guarantees it), so this never resolves `undefined`.
|
|
89
77
|
*/
|
|
90
78
|
export declare function resolveMediumId(cfg: AuroraConfig): number;
|
|
91
|
-
/**
|
|
92
|
-
* The `uStrokeMode` integer for a config. `strokeMode` is total over
|
|
93
|
-
* `STROKE_MODE_ID` (no `crayon` special-case), so this is a direct map.
|
|
94
|
-
*/
|
|
95
|
-
export declare function resolveStrokeModeId(cfg: AuroraConfig): number;
|
|
96
79
|
/**
|
|
97
80
|
* The `uStrokeOrient` integer for a config. The painterly mediums (`vangogh`,
|
|
98
81
|
* `oil-pastel`, `crayon`) FORCE the structure-tensor orientation regardless of the
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
* Y-origin: config authoring is CSS-top-origin (0 = top); the bridge flips Y at the
|
|
35
35
|
* uniform boundary (`flipY`), exactly as the GLSL `uniformBridge` does.
|
|
36
36
|
*/
|
|
37
|
-
import { type AuroraConfig } from "../constants/presets";
|
|
38
|
-
import type { AuroraCursorUniforms } from "./uniformBridge";
|
|
37
|
+
import { type AuroraConfig } from "../constants/presets.js";
|
|
38
|
+
import type { AuroraCursorUniforms } from "./uniformBridge.js";
|
|
39
39
|
/** The total uniform-buffer byte size (16-aligned). */
|
|
40
40
|
export declare const AURORA_WGPU_UNIFORM_BYTES = 672;
|
|
41
41
|
/**
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* nuc1: array<vec4<f32>, 8> off 224 (driftRadius, driftPhase, elong, angle)
|
|
22
22
|
* total: 352 bytes (16-aligned)
|
|
23
23
|
*/
|
|
24
|
-
import { type AuroraConfig } from "../constants/presets";
|
|
25
|
-
import type { AuroraCursorUniforms } from "./uniformBridge";
|
|
24
|
+
import { type AuroraConfig } from "../constants/presets.js";
|
|
25
|
+
import type { AuroraCursorUniforms } from "./uniformBridge.js";
|
|
26
26
|
/** The total image-uniform-buffer byte size (16-aligned). */
|
|
27
27
|
export declare const AURORA_IMAGE_WGPU_UNIFORM_BYTES = 352;
|
|
28
28
|
export interface AuroraImageWGPUScratch {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
-
import { type AuroraRuntimeOptions } from "./runtime";
|
|
3
|
-
import { type ConfigSource } from "./configSource";
|
|
4
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
5
|
-
import { type RendererStatus } from "../../../composables/glass/webgpu/rendererStatus";
|
|
2
|
+
import { type AuroraRuntimeOptions } from "./runtime.js";
|
|
3
|
+
import { type ConfigSource } from "./configSource.js";
|
|
4
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
5
|
+
import { type RendererStatus } from "../../../composables/glass/webgpu/rendererStatus.js";
|
|
6
6
|
/**
|
|
7
7
|
* Adaptive-substrate options threaded down from `Aurora.vue`. `"webgl"` is the
|
|
8
8
|
* historical name of the animated GPU mode; the runtime itself prefers WebGPU
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Ref } from "vue";
|
|
2
|
-
import { type ConfigSource } from "./configSource";
|
|
3
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
2
|
+
import { type ConfigSource } from "./configSource.js";
|
|
3
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
4
4
|
export interface CursorInteractionOptions {
|
|
5
5
|
/** Fires `setCursor(x,y,strength)` for continuous swirl. */
|
|
6
6
|
setCursor: (x: number, y: number, strength?: number) => void;
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
* `frameLoop`/`runtime.resize` exactly — the loop is substrate-AGNOSTIC, so the same
|
|
13
13
|
* `getConfig`/`getReducedMotion`/`cursor` closures drive both backends.
|
|
14
14
|
*/
|
|
15
|
-
import type { WebGPUCanvasFrame } from "../../../composables/glass/webgpu/useWebGPUCanvas";
|
|
16
|
-
import { type AuroraCursorScalars } from "./frameLoop";
|
|
17
|
-
import { type UploadableImageSource } from "
|
|
18
|
-
import type { AuroraConfig } from "../constants/presets";
|
|
19
|
-
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField";
|
|
15
|
+
import type { WebGPUCanvasFrame } from "../../../composables/glass/webgpu/useWebGPUCanvas.js";
|
|
16
|
+
import { type AuroraCursorScalars } from "./frameLoop.js";
|
|
17
|
+
import { type UploadableImageSource } from "./textureUpload.js";
|
|
18
|
+
import type { AuroraConfig } from "../constants/presets.js";
|
|
19
|
+
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField.js";
|
|
20
20
|
export interface AuroraWGPUSetupDeps {
|
|
21
21
|
canvas: HTMLCanvasElement;
|
|
22
22
|
/** Live canvases present opaque; capture canvases retain premultiplied alpha. */
|
|
@@ -1,33 +1,5 @@
|
|
|
1
1
|
/** Shared CPU-side ceilings for GPU surface work. Authored values are clamped at
|
|
2
2
|
* upload so a configuration cannot exceed the frame or VRAM budget. */
|
|
3
|
-
/**
|
|
4
|
-
* The device-pixel-ratio clamp. A retina/4K display reports `devicePixelRatio`
|
|
5
|
-
* 2–3+; rendering a full-viewport `backdrop-filter`-adjacent WebGL surface at
|
|
6
|
-
* 3× is ~2.25× the fill of 2× for no perceptible gain on a drift background.
|
|
7
|
-
* Cap the backing-store resolution at 2× — the single biggest VRAM/fill lever
|
|
8
|
-
* after offscreen parking. Consumed by Aurora and Blob backing-store sizing.
|
|
9
|
-
*/
|
|
10
|
-
export declare const AV_DPR_MAX = 2;
|
|
11
|
-
/**
|
|
12
|
-
* The Aurora decorative-wash DPR ceiling, distinct from the focal Blob's
|
|
13
|
-
* {@link AV_DPR_MAX}. The aurora atmosphere is a
|
|
14
|
-
* heavily-blurred drift background, not a sharp-silhouette creature: backing it at
|
|
15
|
-
* full-viewport 2× (~2880×1800, ~21.8 MB native heap) is
|
|
16
|
-
* visually indistinguishable from 1.5× on a drift wash (the per-pixel FBM is
|
|
17
|
-
* already smoothed below the DPR-2 detail floor), so the 1.5× ceiling quarters the
|
|
18
|
-
* GPU memory and composite raster cost without perceptible loss. The focal Blob
|
|
19
|
-
* keeps {@link AV_DPR_MAX} = 2 because its silhouette is sharp; only Aurora
|
|
20
|
-
* reads this sub-cap. This is the CPU-side backing-store DIMENSION only; it never
|
|
21
|
-
* reaches the shader.
|
|
22
|
-
*/
|
|
23
|
-
export declare const AV_AURORA_DPR_MAX = 1.5;
|
|
24
|
-
/**
|
|
25
|
-
* The maximum animated metaball nuclei (the goo-blob body + its satellites, or
|
|
26
|
-
* an aurora field's count). The goo-blob shader hard-caps satellites at 4; this
|
|
27
|
-
* is the authored-config soft cap (body + ≤2 satellites is the budget-safe
|
|
28
|
-
* register, ≤3 the ceiling). A preset above this is clamped at upload.
|
|
29
|
-
*/
|
|
30
|
-
export declare const AV_MAX_BLOBS = 3;
|
|
31
3
|
/**
|
|
32
4
|
* The maximum palette colors a budget-safe field mixes per frame. Aurora's
|
|
33
5
|
* shader caps palette stops at {@link MAX_STOPS} (8) for authoring range; this
|
|
@@ -35,14 +7,6 @@ export declare const AV_MAX_BLOBS = 3;
|
|
|
35
7
|
* cheap. Above this the gradient cost grows without perceptible richness.
|
|
36
8
|
*/
|
|
37
9
|
export declare const AV_MAX_COLORS = 4;
|
|
38
|
-
/**
|
|
39
|
-
* The drift-loop duration band, in seconds. An animation that loops faster than
|
|
40
|
-
* {@link AV_LOOP_DURATION_MIN_S} reads as nervous (and never lets the eye rest →
|
|
41
|
-
* no battery reprieve); slower than {@link AV_LOOP_DURATION_MAX_S} reads as
|
|
42
|
-
* static. The 8–15s band is the SOTA-named budget-safe drift window.
|
|
43
|
-
*/
|
|
44
|
-
export declare const AV_LOOP_DURATION_MIN_S = 8;
|
|
45
|
-
export declare const AV_LOOP_DURATION_MAX_S = 15;
|
|
46
10
|
/** Clamp a numeric value into an inclusive `[min, max]` band. */
|
|
47
11
|
export declare function clampBudget(value: number, min: number, max: number): number;
|
|
48
12
|
/**
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
* the shape and a minimum-viable DEFAULT_AURORA_CONFIG for the component's own
|
|
10
10
|
* type-check ergonomics.
|
|
11
11
|
*/
|
|
12
|
-
import type { OklchStop } from "../../../composables/color";
|
|
12
|
+
import type { OklchStop } from "../../../composables/color/index.js";
|
|
13
13
|
export type { OklchStop };
|
|
14
14
|
import type { HueInterpolationMethod } from "@mkbabb/value.js/color";
|
|
15
15
|
export type AuroraHuePath = HueInterpolationMethod;
|
|
16
16
|
export type AuroraSource = "palette" | "image";
|
|
17
|
-
import type { ImageInputSource } from "
|
|
17
|
+
import type { ImageInputSource } from "../composables/textureUpload.js";
|
|
18
18
|
export type AuroraImageSource = ImageInputSource;
|
|
19
19
|
export type { ImageInputSource };
|
|
20
20
|
/** The per-fragment blur-radius band (uv units) the drifting zone lerps between. */
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export declare const IMAGE_BLUR_RINGS_WGSL = 3;
|
|
2
|
-
export declare const IMAGE_BLUR_SECTORS_WGSL = 8;
|
|
3
1
|
export declare const AURORA_IMAGE_WGSL = "\nconst MAX_NUCLEI: i32 = 8;\nconst PI: f32 = 3.141592653589793;\nconst BLUR_RINGS: i32 = 3;\nconst BLUR_SECTORS: i32 = 8;\n\n// The image program's OWN uniform struct (packed vec4 lanes \u2014 trivial std140/WGSL\n// alignment). DISTINCT from the palette program's 672-byte struct (a separate program).\nstruct ImageUniforms {\n // scalars0: (uTime, uWarpAmount, uWarpScale, uWarpDrift)\n scalars0: vec4<f32>,\n // scalars1: (uSoftmaxBeta, uNucleiDrift, uCursorStrength, uCursorRadius)\n scalars1: vec4<f32>,\n // scalars2: (uSaturation, uPaperGrain, uAlpha, uVividness)\n scalars2: vec4<f32>,\n // image: (uBlurMin, uBlurMax, uImageAspect, _)\n image: vec4<f32>,\n // cursor: (uCursor.x, uCursor.y, _, _)\n cursor: vec4<f32>,\n // ints: (uNucleiCount, uNoiseOctaves, _, _)\n ints: vec4<i32>,\n // nuc0[i] = (pos.x, pos.y, radius, valueBias); nuc1[i] = (driftRadius, driftPhase, elong, angle)\n nuc0: array<vec4<f32>, 8>,\n nuc1: array<vec4<f32>, 8>,\n};\n\n@group(0) @binding(0) var<uniform> u: ImageUniforms;\n@group(0) @binding(1) var imgTex: texture_2d<f32>;\n@group(0) @binding(2) var imgSampler: sampler;\n\nconst K_NUCLEI: f32 = 14.0;\nconst K_WARP: f32 = 5.0;\n\n// \u2500\u2500 Noise (aurora-local hash21/vnoise/fbm \u2014 the same compact foundation) \u2500\u2500\nfn hash21(p0: vec2<f32>) -> f32 {\n var p = fract(p0 * vec2<f32>(123.34, 456.21));\n p = p + dot(p, p + 45.32);\n return fract(p.x * p.y);\n}\nfn vnoise(p: vec2<f32>) -> f32 {\n let i = floor(p);\n let f = fract(p);\n let uu = f * f * (3.0 - 2.0 * f);\n let a = hash21(i);\n let b = hash21(i + vec2<f32>(1.0, 0.0));\n let c = hash21(i + vec2<f32>(0.0, 1.0));\n let d = hash21(i + vec2<f32>(1.0, 1.0));\n return mix(mix(a, b, uu.x), mix(c, d, uu.x), uu.y);\n}\nconst FBM_ROT: mat2x2<f32> = mat2x2<f32>(0.8, 0.6, -0.6, 0.8);\nfn fbm(p0: vec2<f32>) -> f32 {\n var v = 0.0;\n var a = 0.5;\n var p = p0;\n let octaves = u.ints.y;\n for (var i = 0; i < 5; i = i + 1) {\n if (i >= octaves) { break; }\n v = v + a * vnoise(p);\n p = FBM_ROT * p * 2.02;\n a = a * 0.5;\n }\n return v;\n}\nfn ign(p: vec2<f32>) -> f32 {\n return fract(52.9829189 * fract(dot(p, vec2<f32>(0.06711056, 0.00583715))));\n}\n\n\nfn srgbToLinearCh(c: f32) -> f32 {\n if (c <= 0.04045) { return c / 12.92; }\n return pow((c + 0.055) / 1.055, 2.4);\n}\nfn srgbToLinear(c: vec3<f32>) -> vec3<f32> {\n return vec3<f32>(srgbToLinearCh(c.r), srgbToLinearCh(c.g), srgbToLinearCh(c.b));\n}\n\nfn linearToSrgbCh(c: f32) -> f32 {\n if (c <= 0.0031308) { return c * 12.92; }\n return 1.055 * pow(c, 1.0 / 2.4) - 0.055;\n}\nfn linearToSrgb(c: vec3<f32>) -> vec3<f32> {\n return vec3<f32>(linearToSrgbCh(c.r), linearToSrgbCh(c.g), linearToSrgbCh(c.b));\n}\n\n// value.js LINEAR_SRGB_TO_LMS, row-major \u2192 WGSL columns (= the transpose).\nconst LINEAR_SRGB_TO_LMS: mat3x3<f32> = mat3x3<f32>(\n 0.4122214708, 0.2119034982, 0.0883024619,\n 0.5363325363, 0.6806995451, 0.2817188376,\n 0.0514459929, 0.1073969566, 0.6299787005\n);\n\n// value.js srgbToOKLab's INLINE LMS\u2192OKLab coefficients, row-major \u2192 WGSL columns.\nconst LMS_TO_OKLAB: mat3x3<f32> = mat3x3<f32>(\n 0.2104542553, 1.9779984951, 0.0259040371,\n 0.7936177850, -2.4285922050, 0.7827717662,\n -0.0040720468, 0.4505937099, -0.8086757660\n);\n\n// value.js OKLAB_TO_LMS_COEFF, row-major \u2192 WGSL columns.\nconst OKLAB_TO_LMS: mat3x3<f32> = mat3x3<f32>(\n 1.0, 1.0, 1.0,\n 0.3963377774, -0.1055613458, -0.0894841775,\n 0.2158037573, -0.0638541728, -1.2914855480\n);\n\n// value.js LMS_TO_LINEAR_SRGB, row-major \u2192 WGSL columns.\nconst LMS_TO_LINEAR_SRGB: mat3x3<f32> = mat3x3<f32>(\n 4.0767416621, -1.2684380046, -0.0041960863,\n -3.3077115913, 2.6097574011, -0.7034186147,\n 0.2309699292, -0.3413193965, 1.7076147010\n);\n\nfn cbrt3(v: vec3<f32>) -> vec3<f32> {\n return sign(v) * pow(abs(v), vec3<f32>(1.0 / 3.0));\n}\n\n// Gamma sRGB \u2192 raw OKLab (L, a, b). Mirrors value.js srgbToOKLab.\nfn srgbToOklab(c: vec3<f32>) -> vec3<f32> {\n let lin = srgbToLinear(c);\n let lms = LINEAR_SRGB_TO_LMS * lin;\n return LMS_TO_OKLAB * cbrt3(lms);\n}\n\n// Raw OKLab (L, a, b) \u2192 linear sRGB. Mirrors value.js oklabToLinearSRGB.\nfn oklabToLinearSrgb(lab: vec3<f32>) -> vec3<f32> {\n let lms_ = OKLAB_TO_LMS * lab;\n let lms = lms_ * lms_ * lms_;\n return LMS_TO_LINEAR_SRGB * lms;\n}\n\n// OKLab \u2192 OKLCh: H in RADIANS, folded to [0, 2pi). Mirrors value.js rawOklabToOklch.\nfn oklabToOklch(lab: vec3<f32>) -> vec3<f32> {\n let C = length(lab.yz);\n var H = atan2(lab.z, lab.y);\n if (H < 0.0) { H = H + 2.0 * PI; }\n return vec3<f32>(lab.x, C, H);\n}\n\n// OKLCh (H radians) \u2192 OKLab. Mirrors value.js rawOklchToOklab.\nfn oklchToOklab(lch: vec3<f32>) -> vec3<f32> {\n return vec3<f32>(lch.x, lch.y * cos(lch.z), lch.y * sin(lch.z));\n}\n\nfn linOklab(lin: vec3<f32>) -> vec3<f32> {\n let lms = LINEAR_SRGB_TO_LMS * lin;\n return LMS_TO_OKLAB * cbrt3(lms);\n}\n\n// The Quilez double-warp (fbm) + the cursor swirl \u2014 the drift that moves the blur zone.\nfn domainWarp(p: vec2<f32>, t: f32) -> vec2<f32> {\n let warpAmount = u.scalars0.y;\n let warpScale = u.scalars0.z;\n let warpDrift = u.scalars0.w;\n let cursorStrength = u.scalars1.z;\n let cursorRadius = u.scalars1.w;\n let cursor = u.cursor.xy;\n let q = vec2<f32>(fbm(p * warpScale + vec2<f32>(0.0, 0.0) + t * warpDrift * K_WARP),\n fbm(p * warpScale + vec2<f32>(5.2, 1.3) + t * warpDrift * K_WARP));\n let r = vec2<f32>(fbm(p * warpScale + 4.0 * q + vec2<f32>(1.7, 9.2)),\n fbm(p * warpScale + 4.0 * q + vec2<f32>(8.3, 2.8)));\n var warped = p + warpAmount * r;\n if (cursorStrength > 0.001) {\n let toP = p - cursor;\n let d = length(toP);\n let rr = max(cursorRadius, 0.01);\n let w = exp(-(d * d) / (rr * rr * 0.45));\n let ang = w * cursorStrength * 2.1;\n let ca = cos(ang);\n let sa = sin(ang);\n let rotated = vec2<f32>(ca * toP.x - sa * toP.y, sa * toP.x + ca * toP.y) + cursor;\n warped = mix(warped, rotated + warpAmount * r * 0.7, w * cursorStrength);\n }\n return warped;\n}\n\n// The drifting BLUR ZONE \u2014 the anisotropic-Gaussian nuclei softmax (the SAME field the\n// palette program reads), drift-coupled.\nfn zoneField(p: vec2<f32>, t: f32) -> f32 {\n let nucleiCount = u.ints.x;\n let nucleiDrift = u.scalars1.y;\n let softmaxBeta = u.scalars1.x;\n var accum = 0.0;\n var accumW = 0.0;\n for (var i = 0; i < MAX_NUCLEI; i = i + 1) {\n if (i >= nucleiCount) { break; }\n let n0 = u.nuc0[i]; // pos.x, pos.y, radius, valueBias\n let n1 = u.nuc1[i]; // driftRadius, driftPhase, elong, angle\n let posI = n0.xy + n1.x * vec2<f32>(\n cos(t * nucleiDrift * K_NUCLEI + n1.y),\n sin(t * nucleiDrift * K_NUCLEI + n1.y * 1.13));\n let diff = p - posI;\n let ca = cos(n1.w);\n let sa = sin(n1.w);\n let local = vec2<f32>(ca * diff.x + sa * diff.y, -sa * diff.x + ca * diff.y);\n let along = local.x / max(n1.z, 0.01);\n let d2 = along * along + local.y * local.y;\n let rad = max(n0.z, 0.01);\n let w = exp(-softmaxBeta * d2 / (rad * rad));\n accum = accum + w * (0.5 + 0.5 * n0.w);\n accumW = accumW + w;\n }\n return clamp(accum / max(accumW, 1e-4), 0.0, 1.0);\n}\n\nfn coverUv(uv: vec2<f32>) -> vec2<f32> {\n let aspect = max(u.image.z, 0.0001);\n var c = uv - vec2<f32>(0.5);\n c.x = c.x * aspect;\n let s = 1.0 / max(aspect, 1.0);\n return c * s + vec2<f32>(0.5);\n}\n\n// The bounded 24-tap zone blur \u2014 a FIXED 3-ring \u00D7 8-sector stratified kernel, radius\n// per-fragment, sampled in LINEAR light. textureSampleLevel (explicit LOD 0) \u2014 WGSL has\n// no implicit derivative in a varying-radius loop.\nfn zoneBlur(uv: vec2<f32>, radius: f32) -> vec3<f32> {\n let aspect = max(u.image.z, 0.0001);\n var sum = srgbToLinear(textureSampleLevel(imgTex, imgSampler, coverUv(uv), 0.0).rgb);\n var wsum = 1.0;\n for (var ring = 1; ring <= BLUR_RINGS; ring = ring + 1) {\n let rr = radius * (f32(ring) / f32(BLUR_RINGS));\n for (var s = 0; s < BLUR_SECTORS; s = s + 1) {\n let a = (f32(s) + 0.5 * f32(ring)) / f32(BLUR_SECTORS) * 2.0 * PI;\n let off = vec2<f32>(cos(a) / aspect, sin(a)) * rr;\n sum = sum + srgbToLinear(textureSampleLevel(imgTex, imgSampler, coverUv(uv + off), 0.0).rgb);\n wsum = wsum + 1.0;\n }\n }\n return sum / wsum;\n}\n\nconst VIVID_TARGET: f32 = 0.115;\nconst VIVID_EPS: f32 = 0.012;\nconst VIVID_WARM_ANCHOR: vec2<f32> = vec2<f32>(0.34202, 0.93969);\nfn vividnessFloor(c: vec3<f32>, vividness: f32) -> vec3<f32> {\n if (vividness <= 0.0001) { return c; }\n var lab = linOklab(c);\n let C = length(lab.yz);\n let modeLift = mix(1.18, 1.0, clamp(lab.x * 1.4, 0.0, 1.0));\n let Cmin = vividness * VIVID_TARGET * modeLift;\n var hueDir = VIVID_WARM_ANCHOR;\n if (C > VIVID_EPS) { hueDir = lab.yz / C; }\n let yz = hueDir * max(C, Cmin);\n lab = vec3<f32>(lab.x, yz.x, yz.y);\n return max(oklabToLinearSrgb(lab), vec3<f32>(0.0));\n}\n\nfn saturate3(c: vec3<f32>, amt: f32) -> vec3<f32> {\n var lch = oklabToOklch(linOklab(c));\n lch.y = max(lch.y * amt, 0.0);\n return max(oklabToLinearSrgb(oklchToOklab(lch)), vec3<f32>(0.0));\n}\n\nfn aces(color0: vec3<f32>) -> vec3<f32> {\n let startCompression = 0.8 - 0.04;\n let desaturation = 0.15;\n var color = color0;\n let x = min(color.r, min(color.g, color.b));\n var offset = 0.04;\n if (x < 0.08) { offset = x - 6.25 * x * x; }\n color = color - offset;\n let peak = max(color.r, max(color.g, color.b));\n if (peak < startCompression) { return clamp(color, vec3<f32>(0.0), vec3<f32>(1.0)); }\n let d = 1.0 - startCompression;\n let newPeak = 1.0 - d * d / (peak + d - startCompression);\n color = color * (newPeak / peak);\n let g = 1.0 - 1.0 / (desaturation * (peak - newPeak) + 1.0);\n return clamp(mix(color, newPeak * vec3<f32>(1.0), g), vec3<f32>(0.0), vec3<f32>(1.0));\n}\n\nstruct VSOut {\n @builtin(position) pos: vec4<f32>,\n @location(0) uv: vec2<f32>,\n};\n\n@vertex\nfn vs_main(@builtin(vertex_index) vi: u32) -> VSOut {\n var p = vec2<f32>(-1.0, -1.0);\n if (vi == 1u) { p = vec2<f32>(3.0, -1.0); }\n else if (vi == 2u) { p = vec2<f32>(-1.0, 3.0); }\n var out: VSOut;\n out.pos = vec4<f32>(p, 0.0, 1.0);\n out.uv = p * 0.5 + 0.5;\n return out;\n}\n\n@fragment\nfn fs_main(in: VSOut) -> @location(0) vec4<f32> {\n let t = u.scalars0.x;\n let saturation = u.scalars2.x;\n let paperGrain = u.scalars2.y;\n let alpha = u.scalars2.z;\n let vividness = u.scalars2.w;\n let blurMin = u.image.x;\n let blurMax = u.image.y;\n\n let uv = in.uv;\n let p_warp = domainWarp(uv, t);\n let zone = zoneField(p_warp, t);\n\n let radius = mix(blurMin, blurMax, zone);\n var col = zoneBlur(uv, radius);\n\n let cursorDelta = uv - u.cursor.xy;\n let cursorRadius = max(u.scalars1.w, 0.01);\n let cursorLean = exp(-dot(cursorDelta, cursorDelta) / (cursorRadius * cursorRadius * 0.5));\n col = col * (1.0 + 0.12 * cursorLean * u.scalars1.z);\n\n col = saturate3(col, saturation);\n col = vividnessFloor(col, vividness);\n\n col = aces(col);\n let fragCoord = in.pos.xy;\n let grain = hash21(fragCoord + t * 17.0);\n col = col + (grain - 0.5) * paperGrain;\n col = clamp(col * 0.985 + 0.008, vec3<f32>(0.0), vec3<f32>(1.0));\n\n col = linearToSrgb(col);\n col = col + (1.0 / 255.0) * (ign(fragCoord) - 0.5);\n\n return vec4<f32>(col * alpha, alpha);\n}\n";
|
|
@@ -1,14 +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, DEFAULT_ATOMS, type AuroraAtoms, type AuroraZones, type AuroraMediumAtom, type AuroraInteractivityAtom, type AuroraFieldInteractivityAtom, type AuroraSmoothInteractivityAtom, type AuroraPainterlyInteractivityAtom, } from "./composables/atoms";
|
|
10
|
-
export { nucleiPrior, type AuroraMotionAtom, type AuroraZoneArrangement, } from "./composables/atoms-fields";
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export
|
|
14
|
-
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";
|
|
@@ -4,11 +4,6 @@ interface AvatarImageProps {
|
|
|
4
4
|
referrerPolicy?: ImgHTMLAttributes["referrerpolicy"];
|
|
5
5
|
crossOrigin?: ImgHTMLAttributes["crossorigin"];
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<AvatarImageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
loadingStatusChange: (status: AvatarImageStatus) => any;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<AvatarImageProps> & Readonly<{
|
|
11
|
-
onLoadingStatusChange?: ((status: AvatarImageStatus) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
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>;
|
|
13
8
|
declare const _default: typeof __VLS_export;
|
|
14
9
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as Avatar, type AvatarIdentityProps, type AvatarProps, type AvatarShape, type AvatarSize, } from "./Avatar.vue";
|
|
2
|
-
export { default as AvatarImage } from "./AvatarImage.vue";
|
|
3
|
-
export { default as AvatarFallback } from "./AvatarFallback.vue";
|
|
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,5 +1,5 @@
|
|
|
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
|
/**
|
|
@@ -10,13 +10,6 @@ type __VLS_Props = {
|
|
|
10
10
|
*/
|
|
11
11
|
tone?: BadgeVariants['tone'];
|
|
12
12
|
size?: BadgeVariants['size'];
|
|
13
|
-
/**
|
|
14
|
-
* 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
13
|
class?: HTMLAttributes['class'];
|
|
21
14
|
};
|
|
22
15
|
declare var __VLS_1: {};
|