@mkbabb/glass-ui 5.0.0 → 7.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 +61 -56
- package/dist/DropdownMenuTrigger-ClIq8RJE.js +93 -0
- package/dist/FeedbackMark-DZq5001h.js +23 -0
- package/dist/Input-9BlLluik.js +77 -0
- package/dist/PagerDots-BEq0MgtH.js +311 -0
- package/dist/Surface-kFQeYrYv.js +82 -0
- package/dist/accent-tone-solve-Cw7WkRD9.js +14 -0
- package/dist/animated-digit.js +5 -5
- package/dist/asElement-CRnm6A2v.js +9 -0
- package/dist/aurora.js +858 -793
- package/dist/axes.js +25 -14
- package/dist/badge-u65NClWn.js +62 -0
- package/dist/badge.js +1 -1
- package/dist/blob-config.d.ts +0 -4
- package/dist/blob-config.js +1 -1
- package/dist/blob.js +490 -424
- package/dist/button-Bu9F4uU6.js +98 -0
- package/dist/button.js +2 -2
- package/dist/canvas.js +1 -1
- package/dist/card-Bk96VI2R.js +234 -0
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -2
- package/dist/carousel.js +109 -238
- package/dist/chip-DFZQr6rV.js +129 -0
- package/dist/chip.d.ts +0 -9
- package/dist/chip.js +2 -81
- package/dist/{class-names-5jotTFzp.js → class-names-Cpy5eaBk.js} +11 -4
- package/dist/collapsible-BAP95XTt.js +154 -0
- package/dist/collapsible.js +1 -1
- package/dist/color.js +83 -3
- package/dist/{procedural-color.wgsl-ByduxnzV.js → color.wgsl-Ct5o9dpf.js} +410 -3
- package/dist/command-SFqDQ65h.js +320 -0
- package/dist/command.js +1 -1
- package/dist/completion-seal.js +72 -63
- package/dist/components/_shared/FeedbackMark.vue.d.ts +11 -0
- package/dist/components/_shared/axes.d.ts +9 -3
- package/dist/components/_shared/class-names.d.ts +9 -8
- package/dist/components/_shared/control-size.d.ts +2 -0
- package/dist/components/_shared/disclosure-context.d.ts +7 -0
- package/dist/components/_shared/disclosure.css +1 -0
- package/dist/components/_shared/feedback.d.ts +7 -0
- package/dist/components/_shared/field-control.css +1 -0
- package/dist/components/_shared/field-surfaces.css +1 -0
- package/dist/components/_shared/fieldControl.d.ts +13 -0
- package/dist/components/_shared/floating.d.ts +14 -0
- package/dist/components/_shared/index.d.ts +2 -6
- package/dist/components/_shared/interaction.d.ts +23 -0
- package/dist/components/_shared/menu.css +1 -0
- package/dist/components/_shared/menuRowClass.d.ts +2 -0
- package/dist/components/_shared/primitive.d.ts +19 -0
- package/dist/components/_shared/resolveSurfaceClass.d.ts +3 -0
- package/dist/components/_shared/selection.d.ts +7 -0
- package/dist/components/_shared/useMotionAxis.d.ts +5 -4
- package/dist/components/_shared/valueDomain.d.ts +6 -0
- package/dist/components/accordion/Accordion.vue.d.ts +41 -16
- package/dist/components/accordion/AccordionContent.vue.d.ts +11 -9
- package/dist/components/accordion/AccordionItem.vue.d.ts +12 -9
- package/dist/components/accordion/AccordionTrigger.vue.d.ts +8 -11
- package/dist/components/accordion/index.d.ts +4 -4
- package/dist/components/alert/Alert.vue.d.ts +9 -5
- package/dist/components/alert/index.d.ts +17 -8
- package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +3 -4
- package/dist/components/aurora/Aurora.vue.d.ts +44 -43
- package/dist/components/aurora/composables/atoms-fields.d.ts +13 -2
- package/dist/components/aurora/composables/atoms.d.ts +52 -50
- package/dist/components/aurora/composables/auroraFallbackGround.d.ts +13 -13
- package/dist/components/aurora/composables/auroraImageSource.d.ts +4 -5
- package/dist/components/aurora/composables/color.d.ts +15 -20
- package/dist/components/aurora/composables/frameLoop.d.ts +14 -11
- package/dist/components/aurora/composables/glSetup.d.ts +19 -2
- package/dist/components/aurora/composables/runtime.d.ts +58 -60
- package/dist/components/aurora/composables/uniformBridge.d.ts +9 -14
- package/dist/components/aurora/composables/uniformBridgeWGPU.d.ts +21 -22
- package/dist/components/aurora/composables/uniformBridgeWGPUImage.d.ts +13 -13
- package/dist/components/aurora/composables/useAurora.d.ts +21 -30
- package/dist/components/aurora/composables/wgpuSetup.d.ts +10 -8
- package/dist/components/aurora/constants/budget.d.ts +12 -25
- package/dist/components/aurora/constants/presets.d.ts +47 -58
- package/dist/components/aurora/constants/renderMode.d.ts +21 -36
- package/dist/components/aurora/constants/shaders/aurora-image.wgsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/brush.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/composition.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/flow.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/metal-medium.glsl.d.ts +2 -2
- package/dist/components/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -1
- package/dist/components/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -1
- package/dist/components/aurora/index.d.ts +2 -1
- package/dist/components/avatar/Avatar.vue.d.ts +72 -11
- package/dist/components/avatar/AvatarFallback.vue.d.ts +1 -2
- package/dist/components/avatar/AvatarImage.vue.d.ts +12 -6
- package/dist/components/avatar/index.d.ts +3 -9
- package/dist/components/avatar/styles.css +1 -0
- package/dist/components/badge/Badge.vue.d.ts +2 -9
- package/dist/components/badge/index.d.ts +32 -9
- package/dist/components/blob/Blob.vue.d.ts +16 -12
- package/dist/components/blob/composables/blobSimulation.d.ts +80 -0
- package/dist/components/blob/composables/buildMetaballProgram.d.ts +1 -1
- package/dist/components/blob/composables/resolveBlobSurface.d.ts +6 -0
- package/dist/components/blob/composables/satelliteKinematics.d.ts +3 -3
- package/dist/components/blob/composables/uniformBridgeWGPU.d.ts +1 -1
- package/dist/components/blob/composables/uploadBlobUniforms.d.ts +4 -31
- package/dist/components/blob/composables/useBlobMood.d.ts +5 -5
- package/dist/components/blob/composables/useBlobPointer.d.ts +11 -12
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +29 -24
- package/dist/components/blob/composables/wgpuSetup.d.ts +7 -5
- package/dist/components/blob/config.d.ts +1 -1
- package/dist/components/blob/index.d.ts +2 -2
- package/dist/components/blob/presets.d.ts +2 -2
- package/dist/components/blob/shaders/metaball-palette.wgsl.d.ts +1 -1
- package/dist/components/blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
- package/dist/components/blob/shaders/metaball.wgsl.d.ts +1 -1
- package/dist/components/blob/shaders/sdf-body.glsl.d.ts +1 -1
- package/dist/components/blob/shaders/watercolor-edges.glsl.d.ts +1 -1
- package/dist/components/blob/types.d.ts +28 -60
- package/dist/components/button/Button.vue.d.ts +27 -19
- package/dist/components/button/index.d.ts +1 -9
- package/dist/components/button/styles.css +1 -0
- package/dist/components/card/Card.vue.d.ts +20 -155
- package/dist/components/card/CardAction.vue.d.ts +0 -7
- package/dist/components/card/CardContent.vue.d.ts +2 -2
- package/dist/components/card/CardDescription.vue.d.ts +2 -2
- package/dist/components/card/CardFooter.vue.d.ts +2 -2
- package/dist/components/card/CardHeader.vue.d.ts +3 -42
- package/dist/components/card/CardTitle.vue.d.ts +6 -3
- package/dist/components/card/card-scroll.css +1 -0
- package/dist/components/card/index.d.ts +1 -3
- package/dist/components/card/styles.css +1 -0
- package/dist/components/carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/carousel/index.d.ts +0 -3
- package/dist/components/carousel/interface.d.ts +2 -0
- package/dist/components/carousel/useCarousel.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.vue.d.ts +17 -9
- package/dist/components/checkbox/index.d.ts +1 -1
- package/dist/components/checkbox/styles.css +1 -0
- package/dist/components/chip/Chip.vue.d.ts +12 -7
- package/dist/components/chip/chipVariants.d.ts +20 -43
- package/dist/components/chip/index.d.ts +1 -1
- package/dist/components/chip/types.d.ts +45 -30
- package/dist/components/collapsible/Collapsible.vue.d.ts +22 -9
- package/dist/components/collapsible/CollapsibleContent.vue.d.ts +11 -5
- package/dist/components/collapsible/CollapsibleTrigger.vue.d.ts +12 -9
- package/dist/components/collapsible/index.d.ts +3 -3
- package/dist/components/combobox/Combobox.vue.d.ts +10 -20
- package/dist/components/combobox/ComboboxAnchor.vue.d.ts +2 -6
- package/dist/components/combobox/ComboboxEmpty.vue.d.ts +2 -6
- package/dist/components/combobox/ComboboxGroup.vue.d.ts +2 -7
- package/dist/components/combobox/ComboboxInput.vue.d.ts +7 -12
- package/dist/components/combobox/ComboboxItem.vue.d.ts +7 -11
- package/dist/components/combobox/ComboboxItemIndicator.vue.d.ts +2 -6
- package/dist/components/combobox/ComboboxList.vue.d.ts +14 -17
- package/dist/components/combobox/ComboboxTrigger.vue.d.ts +16 -0
- package/dist/components/combobox/index.d.ts +2 -3
- package/dist/components/combobox/types.d.ts +87 -0
- package/dist/components/command/Command.vue.d.ts +9 -23
- package/dist/components/command/CommandDialog.vue.d.ts +8 -10
- package/dist/components/command/CommandEmpty.vue.d.ts +2 -6
- package/dist/components/command/CommandGroup.vue.d.ts +2 -7
- package/dist/components/command/CommandInput.vue.d.ts +6 -7
- package/dist/components/command/CommandItem.vue.d.ts +7 -11
- package/dist/components/command/CommandList.vue.d.ts +12 -19
- package/dist/components/command/CommandSeparator.vue.d.ts +2 -6
- package/dist/components/command/CommandShortcut.vue.d.ts +2 -2
- package/dist/components/command/dialogContext.d.ts +6 -0
- package/dist/components/command/index.d.ts +10 -10
- package/dist/components/command/styles.css +1 -0
- package/dist/components/command/types.d.ts +27 -0
- package/dist/components/completion-seal/CompletionSeal.vue.d.ts +2 -2
- package/dist/components/completion-seal/constants.d.ts +2 -2
- package/dist/components/completion-seal/styles.css +1 -0
- package/dist/components/configurator/Configurator.vue.d.ts +6 -6
- package/dist/components/configurator/ConfiguratorLayer.vue.d.ts +14 -18
- package/dist/components/configurator/ConfiguratorRow.vue.d.ts +14 -17
- package/dist/components/configurator/size.d.ts +5 -7
- package/dist/components/configurator/styles.css +1 -0
- package/dist/components/constellation/Constellation.vue.d.ts +7 -2
- package/dist/components/constellation/composables/createConstellationField.d.ts +2 -2
- package/dist/components/constellation/composables/useConstellation.d.ts +3 -16
- package/dist/components/constellation/constants.d.ts +14 -24
- package/dist/components/constellation/constellationField.d.ts +8 -11
- package/dist/components/constellation/constellationInteraction.d.ts +9 -9
- package/dist/components/constellation/constellationRender.d.ts +11 -21
- package/dist/components/constellation/constellationTypes.d.ts +64 -62
- package/dist/components/constellation/constellationWell.d.ts +2 -2
- package/dist/components/constellation/index.d.ts +1 -1
- package/dist/components/dark-mode-toggle/DarkModeToggle.vue.d.ts +12 -0
- package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -0
- package/dist/components/dark-mode-toggle/index.d.ts +2 -0
- package/dist/components/data-table/DataTable.vue.d.ts +12 -48
- package/dist/components/data-table/composables/useDataTableRowIdentity.d.ts +5 -23
- package/dist/components/data-table/index.d.ts +1 -2
- package/dist/components/data-table/styles.css +1 -0
- package/dist/components/data-table/types.d.ts +36 -13
- package/dist/components/deck/constants.d.ts +0 -10
- package/dist/components/deck/index.d.ts +0 -2
- package/dist/components/dialog/Dialog.vue.d.ts +8 -3
- package/dist/components/dialog/DialogClose.vue.d.ts +3 -1
- package/dist/components/dialog/DialogContent.vue.d.ts +28 -85
- package/dist/components/dialog/DialogDescription.vue.d.ts +5 -6
- package/dist/components/dialog/DialogTitle.vue.d.ts +5 -6
- package/dist/components/dialog/DialogTrigger.vue.d.ts +3 -1
- package/dist/components/dialog/ModalOverlay.vue.d.ts +45 -0
- package/dist/components/dialog/dialogStageContext.d.ts +7 -0
- package/dist/components/dialog/index.d.ts +8 -9
- package/dist/components/dialog/placement.css +1 -0
- package/dist/components/dialog/sheet-motion.d.ts +17 -0
- package/dist/components/dock/DockControl.vue.d.ts +13 -16
- package/dist/components/dock/DockCrossfade.vue.d.ts +4 -8
- package/dist/components/dock/DockLayer.vue.d.ts +2 -3
- package/dist/components/dock/DockLayerGroup.vue.d.ts +6 -6
- package/dist/components/dock/DockSeparator.vue.d.ts +8 -8
- package/dist/components/dock/GlassDock.vue.d.ts +1 -0
- package/dist/components/dock/composables/dockContext.d.ts +4 -14
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +6 -7
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +6 -75
- package/dist/components/dock/composables/index.d.ts +1 -1
- package/dist/components/dock/composables/useDockClickIntegrity.d.ts +5 -1
- package/dist/components/dock/composables/useDockHold.d.ts +4 -5
- package/dist/components/dock/composables/useDockMorph.d.ts +26 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +7 -9
- package/dist/components/dock/composables/useDockSearch.d.ts +8 -8
- package/dist/components/dock/composables/useDockShellProps.d.ts +53 -43
- package/dist/components/dock/composables/useDockSpring.d.ts +7 -11
- package/dist/components/dock/composables/useDockState.d.ts +14 -5
- package/dist/components/dock/composables/useDockTouchGate.d.ts +14 -23
- package/dist/components/dock/constants.d.ts +5 -90
- package/dist/components/dock/index.d.ts +2 -6
- package/dist/components/dock/styles/adaptive-legibility.css +1 -0
- package/dist/components/dock/styles/controls/icon-button.css +1 -0
- package/dist/{styles/dock-controls → components/dock/styles/controls}/touch-floor.css +1 -1
- package/dist/components/dock/styles/controls.css +1 -0
- package/dist/components/dock/styles/crossfade.css +1 -0
- package/dist/{styles/dock → components/dock/styles}/density.css +1 -1
- package/dist/components/dock/styles/dock.css +1 -0
- package/dist/components/dock/styles/index.css +1 -0
- package/dist/components/dock/styles/layer-group.css +1 -0
- package/dist/components/dock/styles/layers.css +1 -0
- package/dist/components/dock/styles/morph.css +1 -0
- package/dist/components/dock/styles/overflow.css +1 -0
- package/dist/components/dock/styles/shape.css +1 -0
- package/dist/components/dock/styles/shell.css +1 -0
- package/dist/components/drawer/Drawer.vue.d.ts +20 -23
- package/dist/components/drawer/DrawerContent.vue.d.ts +15 -16
- package/dist/components/drawer/DrawerDescription.vue.d.ts +5 -6
- package/dist/components/drawer/DrawerOverlay.vue.d.ts +6 -6
- package/dist/components/drawer/DrawerTitle.vue.d.ts +5 -6
- package/dist/components/drawer/composables/drawerSnapContext.d.ts +9 -1
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +3 -1
- package/dist/components/drawer/constants.d.ts +10 -28
- package/dist/components/drawer/index.d.ts +13 -15
- package/dist/components/drawer/styles.css +1 -0
- package/dist/components/dropdown-menu/DropdownMenu.vue.d.ts +43 -16
- package/dist/components/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +22 -13
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +28 -19
- package/dist/components/dropdown-menu/DropdownMenuGroup.vue.d.ts +6 -4
- package/dist/components/dropdown-menu/DropdownMenuItem.vue.d.ts +21 -9
- package/dist/components/dropdown-menu/DropdownMenuLabel.vue.d.ts +9 -9
- package/dist/components/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +13 -6
- package/dist/components/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +18 -11
- package/dist/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts +5 -6
- package/dist/components/dropdown-menu/DropdownMenuShortcut.vue.d.ts +7 -8
- package/dist/components/dropdown-menu/DropdownMenuSub.vue.d.ts +15 -7
- package/dist/components/dropdown-menu/DropdownMenuSubContent.vue.d.ts +24 -17
- package/dist/components/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +11 -9
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -5
- package/dist/components/dropdown-menu/index.d.ts +15 -16
- package/dist/components/dropdown-menu/styles.css +1 -0
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +2 -9
- package/dist/components/easing/EasingConfigurator.vue.d.ts +1 -1
- package/dist/components/easing/EasingPicker.vue.d.ts +2 -2
- package/dist/components/easing/composables/useEasingPicker.d.ts +8 -7
- package/dist/components/easing/constants.d.ts +3 -1
- package/dist/components/expandable-container/ExpandableContainer.vue.d.ts +1 -25
- package/dist/components/expandable-container/styles.css +1 -0
- package/dist/components/fading-scroll/FadingScroll.vue.d.ts +4 -0
- package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +7 -3
- package/dist/components/fading-scroll/constants.d.ts +1 -2
- package/dist/components/fourier-field/FourierField.vue.d.ts +10 -6
- package/dist/components/fourier-field/composables/fourierFieldGLSetup.d.ts +1 -1
- package/dist/components/fourier-field/composables/fourierFieldWGPUSetup.d.ts +1 -1
- package/dist/components/fourier-field/composables/useFourierField.d.ts +6 -5
- package/dist/components/fourier-field/constants.d.ts +10 -10
- package/dist/components/fourier-field/index.d.ts +3 -3
- package/dist/components/fourier-field/presets.d.ts +3 -3
- package/dist/components/fourier-field/shaders/fourier-field.glsl.d.ts +2 -2
- package/dist/components/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
- package/dist/components/handmark/HandMark.vue.d.ts +2 -2
- package/dist/components/handmark/brush.d.ts +1 -1
- package/dist/components/handmark/composables/useHandMark.d.ts +4 -4
- package/dist/components/handmark/constants.d.ts +10 -10
- package/dist/components/handmark/geometry.d.ts +9 -9
- package/dist/components/handmark/index.d.ts +11 -14
- package/dist/components/handmark/noise.d.ts +3 -3
- package/dist/components/handmark/types.d.ts +2 -2
- package/dist/components/header-ribbon/HeaderRibbon.vue.d.ts +3 -21
- package/dist/components/header-ribbon/styles.css +1 -0
- package/dist/components/header-ribbon/types.d.ts +5 -2
- package/dist/components/index.d.ts +0 -4
- package/dist/components/infinite-scroll/composables/types.d.ts +1 -1
- package/dist/components/infinite-scroll/index.d.ts +1 -0
- package/dist/components/input/Input.vue.d.ts +10 -35
- package/dist/components/input/index.d.ts +2 -1
- package/dist/components/input/types.d.ts +22 -0
- package/dist/components/instrument-chassis/InstrumentChassis.vue.d.ts +10 -84
- package/dist/components/instrument-chassis/index.d.ts +1 -2
- package/dist/components/instrument-chassis/styles.css +1 -0
- package/dist/components/instrument-chassis/types.d.ts +13 -0
- package/dist/components/label/Label.vue.d.ts +9 -14
- package/dist/components/label/index.d.ts +1 -1
- package/dist/components/labeled-field/LabeledField.vue.d.ts +11 -99
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +5 -18
- package/dist/components/labeled-field/LabeledSelect.vue.d.ts +12 -18
- package/dist/components/labeled-field/LabeledSlider.vue.d.ts +12 -18
- package/dist/components/labeled-field/LabeledSwitch.vue.d.ts +14 -17
- package/dist/components/labeled-field/index.d.ts +1 -0
- package/dist/components/labeled-field/types.d.ts +50 -0
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +4 -0
- package/dist/components/liquid-grid/composables/liquidGrid.d.ts +5 -5
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +2 -1
- package/dist/components/liquid-grid/constants.d.ts +6 -7
- package/dist/components/liquid-grid/shaders/liquid-grid.glsl.d.ts +1 -1
- package/dist/components/liquid-grid/shaders/liquid-grid.wgsl.d.ts +1 -1
- package/dist/components/metric/Metric.vue.d.ts +24 -0
- package/dist/components/metric/MetricCell.vue.d.ts +26 -0
- package/dist/components/metric/MetricRow.vue.d.ts +22 -0
- package/dist/components/metric/MetricStack.vue.d.ts +16 -0
- package/dist/components/metric/coalesce-metric.d.ts +7 -28
- package/dist/components/metric/index.d.ts +5 -0
- package/dist/components/metric/styles.css +1 -0
- package/dist/components/metric/types.d.ts +32 -0
- package/dist/components/number-field/NumberField.vue.d.ts +21 -9
- package/dist/components/number-field/NumberFieldContent.vue.d.ts +2 -2
- package/dist/components/number-field/NumberFieldDecrement.vue.d.ts +6 -6
- package/dist/components/number-field/NumberFieldIncrement.vue.d.ts +6 -6
- package/dist/components/number-field/NumberFieldInput.vue.d.ts +1 -6
- package/dist/components/number-field/context.d.ts +6 -0
- package/dist/components/number-field/index.d.ts +5 -5
- package/dist/components/number-field/styles.css +1 -0
- package/dist/components/pager-dots/PagerDots.vue.d.ts +1 -1
- package/dist/components/pager-dots/constants.d.ts +1 -2
- package/dist/components/pager-dots/index.d.ts +0 -2
- package/dist/components/paper-backdrop/PaperBackdrop.vue.d.ts +1 -14
- package/dist/components/paper-backdrop/index.d.ts +1 -1
- package/dist/components/popover/Popover.vue.d.ts +24 -36
- package/dist/components/popover/PopoverContent.vue.d.ts +23 -29
- package/dist/components/popover/PopoverTrigger.vue.d.ts +12 -7
- package/dist/components/popover/index.d.ts +3 -3
- package/dist/components/popover/popoverContext.d.ts +3 -4
- package/dist/components/progress/Progress.vue.d.ts +6 -49
- package/dist/components/progress/index.d.ts +1 -5
- package/dist/components/progress/types.d.ts +19 -0
- package/dist/components/pulse/Pulse.vue.d.ts +8 -47
- package/dist/components/pulse/index.d.ts +1 -0
- package/dist/components/radio-group/RadioGroup.vue.d.ts +27 -15
- package/dist/components/radio-group/RadioGroupItem.vue.d.ts +9 -6
- package/dist/components/radio-group/index.d.ts +2 -0
- package/dist/components/radio-group/styles.css +1 -0
- package/dist/components/scroll-progress-rim/styles.css +1 -0
- package/dist/components/search/FuzzySearch.vue.d.ts +4 -2
- package/dist/components/search/SearchBar.vue.d.ts +3 -3
- package/dist/components/search/searchVariants.d.ts +15 -17
- package/dist/components/select/Select.vue.d.ts +25 -14
- package/dist/components/select/SelectContent.vue.d.ts +26 -29
- package/dist/components/select/SelectGroup.vue.d.ts +7 -11
- package/dist/components/select/SelectItem.vue.d.ts +24 -13
- package/dist/components/select/SelectLabel.vue.d.ts +7 -11
- package/dist/components/select/SelectScrollDownButton.vue.d.ts +3 -4
- package/dist/components/select/SelectScrollUpButton.vue.d.ts +3 -4
- package/dist/components/select/SelectSeparator.vue.d.ts +5 -6
- package/dist/components/select/SelectTrigger.vue.d.ts +15 -41
- package/dist/components/select/SelectValue.vue.d.ts +13 -7
- package/dist/components/select/index.d.ts +16 -10
- package/dist/components/separator/Separator.vue.d.ts +11 -6
- package/dist/components/separator/index.d.ts +1 -1
- package/dist/components/skeleton/Skeleton.vue.d.ts +3 -31
- package/dist/components/slider/Slider.vue.d.ts +10 -35
- package/dist/components/slider/index.d.ts +1 -45
- package/dist/components/slider/types.d.ts +25 -0
- package/dist/components/sortable-list/SortableList.vue.d.ts +1 -1
- package/dist/components/sortable-list/composables/ghostRenderer.d.ts +1 -1
- package/dist/components/sortable-list/composables/touchGate.d.ts +1 -1
- package/dist/components/sortable-list/composables/transitionTiming.d.ts +1 -1
- package/dist/components/status-dot/StatusDot.vue.d.ts +7 -10
- package/dist/components/status-dot/index.d.ts +1 -0
- package/dist/components/surface/Surface.vue.d.ts +13 -21
- package/dist/components/surface/index.d.ts +2 -2
- package/dist/components/switch/Switch.vue.d.ts +20 -11
- package/dist/components/switch/index.d.ts +2 -1
- package/dist/components/switch/styles.css +1 -0
- package/dist/components/table/Table.vue.d.ts +5 -1
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +31 -13
- package/dist/components/tabs/composables/useTabDragMorph.d.ts +6 -6
- package/dist/components/tabs/composables/useTabResponsive.d.ts +5 -6
- package/dist/components/tabs/composables/useTabRovingFocus.d.ts +16 -16
- package/dist/components/tabs/constants.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/styles/drag.css +1 -0
- package/dist/components/tabs/styles/segmented.css +1 -0
- package/dist/components/tags-input/TagsInput.vue.d.ts +28 -15
- package/dist/components/tags-input/TagsInputInput.vue.d.ts +8 -6
- package/dist/components/tags-input/TagsInputItem.vue.d.ts +9 -8
- package/dist/components/tags-input/TagsInputItemDelete.vue.d.ts +5 -6
- package/dist/components/tags-input/TagsInputItemText.vue.d.ts +5 -6
- package/dist/components/tags-input/context.d.ts +5 -0
- package/dist/components/tags-input/index.d.ts +5 -5
- package/dist/components/tags-input/styles.css +1 -0
- package/dist/components/textarea/Textarea.vue.d.ts +10 -55
- package/dist/components/textarea/index.d.ts +2 -1
- package/dist/components/textarea/types.d.ts +22 -0
- package/dist/components/timeline/ContinuousMarkers.vue.d.ts +2 -4
- package/dist/components/timeline/ContinuousRail.vue.d.ts +3 -6
- package/dist/components/timeline/ContinuousTimeline.vue.d.ts +11 -12
- package/dist/components/timeline/GlassTimeline.vue.d.ts +9 -10
- package/dist/components/timeline/ScrubberTimeline.vue.d.ts +4 -4
- package/dist/components/timeline/SegmentedTimeline.vue.d.ts +2 -3
- package/dist/components/timeline/geometry.d.ts +3 -4
- package/dist/components/timeline/types.d.ts +3 -3
- package/dist/components/toast/Toast.vue.d.ts +38 -80
- package/dist/components/toast/ToastAction.vue.d.ts +5 -5
- package/dist/components/toast/ToastClose.vue.d.ts +4 -5
- package/dist/components/toast/ToastDescription.vue.d.ts +4 -5
- package/dist/components/toast/ToastTitle.vue.d.ts +4 -5
- package/dist/components/toast/Toaster.vue.d.ts +1 -1
- package/dist/components/toast/index.d.ts +8 -9
- package/dist/components/toast/use-toast.d.ts +20 -163
- package/dist/components/toggle-group/ToggleGroup.vue.d.ts +44 -22
- package/dist/components/toggle-group/ToggleGroupItem.vue.d.ts +11 -9
- package/dist/components/toggle-group/index.d.ts +3 -2
- package/dist/components/toggle-group/styles.css +1 -0
- package/dist/components/toggle-group/toggleGroupContext.d.ts +4 -15
- package/dist/components/tooltip/Tooltip.vue.d.ts +20 -7
- package/dist/components/tooltip/TooltipContent.vue.d.ts +20 -12
- package/dist/components/tooltip/TooltipProvider.vue.d.ts +12 -5
- package/dist/components/tooltip/TooltipTrigger.vue.d.ts +12 -5
- package/dist/components/tooltip/index.d.ts +4 -4
- package/dist/components/typewriter/TypewriterText.vue.d.ts +1 -4
- package/dist/components/typewriter/composables/useTypewriter.d.ts +1 -1
- package/dist/components/typewriter/utils/graphemes.d.ts +1 -0
- package/dist/components/typewriter/utils/timing.d.ts +0 -2
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +5 -18
- package/dist/components/watercolor-dot/useWatercolorBlob.d.ts +1 -4
- package/dist/composables/color/accent-tone-solve.d.ts +2 -5
- package/dist/composables/color/index.d.ts +31 -38
- package/dist/composables/color/useAccentTone.d.ts +0 -3
- package/dist/composables/color/value.d.ts +21 -0
- package/dist/composables/context/createContext.d.ts +2 -2
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +7 -6
- package/dist/composables/dom/useBreakpoint.d.ts +2 -2
- package/dist/composables/dom/useClipboard.d.ts +28 -52
- package/dist/composables/dom/useDocumentVisibility.d.ts +3 -1
- package/dist/composables/dom/useIdleReady.d.ts +5 -6
- package/dist/composables/dom/useTokenColor.d.ts +2 -2
- package/dist/composables/dom/useUserInvalidAria.d.ts +2 -3
- package/dist/composables/dom/useViewportReady.d.ts +4 -4
- package/dist/composables/glass/backdropLuminanceSample.d.ts +7 -6
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +7 -1
- package/dist/composables/glass/textureUpload.d.ts +8 -10
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +42 -19
- package/dist/composables/glass/useSpecularPointer.d.ts +6 -6
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -15
- package/dist/composables/glass/wave/waveField.d.ts +2 -2
- package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -1
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -1
- package/dist/composables/glass/webgl/backingSize.d.ts +5 -8
- package/dist/composables/glass/webgl/compile.d.ts +1 -1
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +20 -20
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -28
- package/dist/composables/glass/webgl/visibility.d.ts +3 -4
- package/dist/composables/glass/webgpu/rendererStatus.d.ts +13 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +13 -10
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +1 -1
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +14 -10
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +15 -16
- package/dist/composables/motion/core/asElement.d.ts +2 -0
- package/dist/composables/motion/{constants.d.ts → core/constants.d.ts} +2 -3
- package/dist/composables/motion/core/index.d.ts +20 -23
- package/dist/composables/motion/core/useReducedMotion.d.ts +5 -0
- package/dist/composables/motion/core/useViewTransition.d.ts +44 -0
- package/dist/composables/motion/index.d.ts +14 -16
- package/dist/composables/motion/{useDockCtaReceive.d.ts → morph/useDockCtaReceive.d.ts} +57 -3
- package/dist/composables/motion/{useDragMorph.d.ts → morph/useDragMorph.d.ts} +7 -7
- package/dist/composables/motion/morph/useElementMorph.d.ts +50 -0
- package/dist/composables/motion/{useLeadTrail.d.ts → morph/useLeadTrail.d.ts} +6 -6
- package/dist/composables/motion/{useSelectionGroup.d.ts → morph/useSelectionGroup.d.ts} +7 -5
- package/dist/composables/motion/{useSelectionIndicator.d.ts → morph/useSelectionIndicator.d.ts} +9 -16
- package/dist/composables/motion/{useAnimatedNumber.d.ts → number/useAnimatedNumber.d.ts} +1 -6
- package/dist/composables/motion/{useCountup.d.ts → number/useCountup.d.ts} +1 -6
- package/dist/composables/motion/{useNumericTransition.d.ts → number/useNumericTransition.d.ts} +4 -2
- package/dist/composables/motion/{pointerFieldMappings.d.ts → pointer/pointerFieldMappings.d.ts} +7 -10
- package/dist/composables/motion/{usePointerVelocityField.d.ts → pointer/usePointerVelocityField.d.ts} +1 -1
- package/dist/composables/motion/{bloomUpField.d.ts → reveal/bloomUpField.d.ts} +1 -1
- package/dist/composables/motion/reveal/useBloomUp.d.ts +33 -0
- package/dist/composables/motion/{useLiquidReveal.d.ts → reveal/useLiquidReveal.d.ts} +5 -5
- package/dist/composables/motion/{useStagger.d.ts → reveal/useStagger.d.ts} +3 -3
- package/dist/composables/motion/reveal/useStaggerReveal.d.ts +28 -0
- package/dist/composables/motion/{useTextHighlight.d.ts → reveal/useTextHighlight.d.ts} +2 -1
- package/dist/composables/motion/{useScrollChrome.d.ts → scroll/useScrollChrome.d.ts} +2 -2
- package/dist/composables/motion/{useScrollProgress.d.ts → scroll/useScrollProgress.d.ts} +12 -2
- package/dist/composables/motion/{springPresets.d.ts → spring/springPresets.d.ts} +8 -7
- package/dist/composables/motion/spring/springProjection.d.ts +19 -0
- package/dist/composables/motion/{useLiquidFlex.d.ts → spring/useLiquidFlex.d.ts} +11 -12
- package/dist/composables/motion/{useLiquidPress.d.ts → spring/useLiquidPress.d.ts} +15 -7
- package/dist/composables/motion/{useSpring.d.ts → spring/useSpring.d.ts} +5 -2
- package/dist/composables/motion/{useSpringMount.d.ts → spring/useSpringMount.d.ts} +8 -1
- package/dist/composables/sidebar/types.d.ts +3 -3
- package/dist/configurator-M5OaIlJd.js +311 -0
- package/dist/configurator.js +2 -3
- package/dist/{constants-D8lSMkOz.js → constants-nBz23tJE.js} +1 -1
- package/dist/constellation.js +230 -565
- package/dist/createCanvasLifecycle-DbXRwjU_.js +214 -0
- package/dist/dark-mode-toggle.d.ts +1 -0
- package/dist/dark-mode-toggle.js +43 -0
- package/dist/dark-z_P5QwqI.js +70 -0
- package/dist/dark.d.ts +1 -2
- package/dist/dark.js +2 -20
- package/dist/data-table-BygKg6ZA.js +491 -0
- package/dist/data-table.js +2 -2
- package/dist/deck.js +12 -23
- package/dist/dialog-TNRDkcE4.js +385 -0
- package/dist/dialog.js +2 -3
- package/dist/dock.js +624 -908
- package/dist/dockContext-BUTlGRNJ.js +13 -0
- package/dist/dom.js +134 -7
- package/dist/drawer.js +291 -193
- package/dist/dropdown-menu-BlbnvMaZ.js +507 -0
- package/dist/dropdown-menu.js +3 -2
- package/dist/easing.d.ts +0 -9
- package/dist/easing.js +385 -222
- package/dist/expandable-container.js +107 -85
- package/dist/fading-scroll-DhxXIhm2.js +96 -0
- package/dist/fading-scroll.js +1 -1
- package/dist/field-control.css_vue_type_style_index_0_src_true_lang-CeLay9Tk.js +21 -0
- package/dist/floating-dB5TD88k.js +7 -0
- package/dist/{flow.glsl-CVqPSj8_.js → flow.wgsl-Cd2GUkPx.js} +2 -2
- package/dist/fonts/README.md +14 -18
- package/dist/forms.js +268 -204
- package/dist/fourier-field.js +298 -288
- package/dist/fourier-math.d.ts +0 -6
- package/dist/fourier-math.js +112 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +512 -437
- package/dist/handmark.d.ts +0 -2
- package/dist/handmark.js +84 -84
- package/dist/header-ribbon.js +37 -57
- package/dist/index.d.ts +9 -19
- package/dist/infinite-scroll.d.ts +0 -1
- package/dist/infinite-scroll.js +39 -34
- package/dist/instrument-chassis.js +54 -2
- package/dist/keyboard.js +104 -2
- package/dist/label-DnMqH7jr.js +55 -0
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +295 -192
- package/dist/liquid-grid.js +199 -198
- package/dist/menuRowClass-Nh7CtMON.js +12 -0
- package/dist/metric.d.ts +1 -0
- package/dist/metric.js +192 -0
- package/dist/motion-core.js +73 -166
- package/dist/motion.js +111 -167
- package/dist/number-field-Boe09SvX.js +154 -0
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +2 -2
- package/dist/paper-backdrop.js +23 -2
- package/dist/{pointerFieldMappings-4VtmkOWv.js → pointerFieldMappings-DP5tla5z.js} +4 -7
- package/dist/popover-BQGYXZyO.js +244 -0
- package/dist/popover.js +1 -1
- package/dist/{presets-B07HzyKd.js → presets-5myqNv59.js} +1 -1
- package/dist/primitive-B2t2jdqM.js +11 -0
- package/dist/progress-DClbhRAT.js +88 -0
- package/dist/progress.js +2 -2
- package/dist/pulse.js +29 -41
- package/dist/reactive.js +19 -3
- package/dist/rendererStatus-BxUlBLVy.js +40 -0
- package/dist/resolveCanvasColor-DS_6DBxA.js +82 -0
- package/dist/resolveSurfaceClass-DCZ4PZcy.js +6 -0
- package/dist/scroll-progress-rim.js +1 -1
- package/dist/{scrollReader-DzYqPQ6V.js → scrollReader-Brf5cQNo.js} +1 -1
- package/dist/search.js +287 -218
- package/dist/select-BcBAyLXA.js +336 -0
- package/dist/select.js +2 -4
- package/dist/selection-DqIULxRG.js +6 -0
- package/dist/separator-CgZInrX-.js +75 -0
- package/dist/separator.js +1 -1
- package/dist/sidebar.js +53 -42
- package/dist/slider-DzqeQmMu.js +162 -0
- package/dist/slider.js +2 -2
- package/dist/sortable-list.js +51 -50
- package/dist/springPresets-rCii5KqX.js +52 -0
- package/dist/status-dot.js +26 -43
- package/dist/styles/accessibility.css +1 -0
- package/dist/styles/animations.css +1 -1
- package/dist/styles/components.css +1 -1
- package/dist/styles/glass/a11y-fallback.css +1 -1
- package/dist/styles/glass/accent-tone.css +1 -1
- package/dist/styles/glass/control-surfaces.css +1 -1
- package/dist/styles/glass/defined.css +1 -1
- 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/ladder.css +1 -1
- package/dist/styles/glass/liquid-fill.css +1 -1
- package/dist/styles/glass/material-roles.css +1 -0
- package/dist/styles/glass/material.css +1 -1
- package/dist/styles/glass/reveal.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-refract.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-driven.css +1 -1
- package/dist/styles/theme/bridges.css +1 -1
- package/dist/styles/theme/radius.css +1 -1
- package/dist/styles/tokens/color-radius.css +1 -1
- package/dist/styles/tokens/dark-arm.css +1 -1
- package/dist/styles/tokens/glass-deep.css +1 -1
- package/dist/styles/tokens/glass-fx.css +1 -1
- package/dist/styles/tokens/glass.css +1 -1
- package/dist/styles/tokens/light-dark.css +1 -1
- package/dist/styles/tokens/manifest.d.ts +14 -0
- package/dist/styles/tokens/manifest.ts +56 -0
- package/dist/styles/tokens/motion-registers.css +1 -1
- package/dist/styles/tokens/offsets.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.d.ts +48 -0
- package/dist/styles/tokens.ts +54 -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/utilities/a11y-overrides.css +1 -1
- package/dist/styles/utilities/base-misc.css +1 -1
- package/dist/styles/utilities/base.css +1 -1
- package/dist/styles/utilities/btn.css +1 -1
- package/dist/styles/utilities/components.css +1 -1
- package/dist/styles/utilities/metal.css +1 -1
- package/dist/styles/utilities/responsive.css +1 -0
- package/dist/styles/utilities.css +1 -1
- package/dist/styles/view-transition.css +1 -1
- package/dist/{supportsCssTimeline-Ie4xJFbD.js → supportsCssTimeline-C2zyWpl8.js} +1 -1
- package/dist/surface.js +2 -3
- package/dist/switch-DZjQuFLa.js +54 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +146 -168
- package/dist/timeline.js +86 -87
- package/dist/toast-CH5mnsYT.js +267 -0
- package/dist/toast.js +1 -1
- package/dist/toggle-group-O6jBo7AE.js +150 -0
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -53
- package/dist/tokens.js +96 -5
- package/dist/tooltip-Drx5qnw_.js +148 -0
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +233 -219
- package/dist/{useAccentTone-D25DxviG.js → useAccentTone-DyInfHXE.js} +2 -2
- package/dist/{useAnimatedNumber-2XC4aRB6.js → useAnimatedNumber-WPtMz0AN.js} +2 -2
- package/dist/useClipboard-D36OTaeT.js +53 -0
- package/dist/useDockCtaReceive-DkrOTM0q.js +146 -0
- package/dist/useDocumentVisibility-Dh_TGXsU.js +21 -0
- package/dist/useDragMorph-BogSV_nv.js +293 -0
- package/dist/{useIntersectionPause-Cmt5Tnv9.js → useIntersectionPause-B5mAU6XY.js} +15 -15
- package/dist/useLeadTrail-AW1-zZcd.js +74 -0
- package/dist/{useLiquidFlex-Ch4exNvN.js → useLiquidFlex-TJZmRqyY.js} +1 -1
- package/dist/useLiquidPress-BOxuDkKa.js +101 -0
- package/dist/useMotionAxis-D-rtIhca.js +19 -0
- package/dist/usePointerVelocityField-DsIf7yyq.js +121 -0
- package/dist/useRAFLoop-B3YlWK4M.js +98 -0
- package/dist/useReducedMotion-vCXA_vyM.js +27 -0
- package/dist/useRoutePointer-B8itM7Ka.js +53 -0
- package/dist/useScrollProgress-CSFYXIZT.js +43 -0
- package/dist/useScrollTrigger-BDdqptlc.js +87 -0
- package/dist/useSelectionGroup-B5XplBbo.js +132 -0
- package/dist/{useSpring-BBSKFx_0.js → useSpring-9u2_shxV.js} +2 -2
- package/dist/useSpringMount-uQ8QL9Ff.js +74 -0
- package/dist/useTabRovingFocus-YnWh-Ytr.js +169 -0
- package/dist/useTextHighlight-mfwNIC1f.js +112 -0
- package/dist/{useTouchGate-BlegwvwL.js → useTouchGate-B4mzQcHJ.js} +1 -1
- package/dist/vSpecular-DMJo8pfD.js +68 -0
- package/dist/value-DMhh2R94.js +33 -0
- package/dist/valueDomain-SbVzoHMH.js +13 -0
- package/dist/watercolor-dot.js +77 -101
- package/package.json +166 -242
- package/dist/CardAction-2uUvjMQK.js +0 -285
- package/dist/CollapsibleContent-DiHcB_HH.js +0 -63
- package/dist/CommandShortcut-fmdbsEJL.js +0 -302
- package/dist/ConfiguratorRow-BV6zPjTM.js +0 -151
- package/dist/DataTable-Bxya8nBn.js +0 -518
- package/dist/DialogContent-Bl4v10AC.js +0 -192
- package/dist/DialogFooter-C0v4Hz2F.js +0 -168
- package/dist/FadingScroll-BSRLqQCx.js +0 -76
- package/dist/FocusScope-BzKwhsBn.js +0 -23
- package/dist/IconChip-CwLmBJ_K.js +0 -57
- package/dist/IconTooltip-D9sbK-Mk.js +0 -25
- package/dist/Input-DKf-XwUM.js +0 -57
- package/dist/InstrumentChassis-Dss5Tjcm.js +0 -65
- package/dist/Label-C84TaQiw.js +0 -36
- package/dist/Notification-DQv2cOh9.js +0 -43
- package/dist/NumberFieldContent-BkE7xPS9.js +0 -140
- package/dist/PagerDots-BP6jh7z4.js +0 -279
- package/dist/PaperBackdrop-BYwE8_kg.js +0 -31
- package/dist/PopoverContent-DOtszFWK.js +0 -251
- package/dist/Progress-uWLyXE7J.js +0 -308
- package/dist/SelectGroup-BuEptUsa.js +0 -31
- package/dist/SelectScrollDownButton-CDtwaWkZ.js +0 -261
- package/dist/SelectSeparator-4QGephvr.js +0 -49
- package/dist/Separator-DqJ6PfOd.js +0 -44
- package/dist/Surface-BWRfwyn8.js +0 -59
- package/dist/Switch-BPBfhMU3.js +0 -49
- package/dist/Toaster-C_-WeU9W.js +0 -281
- package/dist/ToggleGroupItem-DNWx2aSW.js +0 -175
- package/dist/TooltipProvider-GtfYdSVf.js +0 -110
- package/dist/accent-tone-solve-CBw3L0cy.js +0 -20
- package/dist/badge-C0C-rTBu.js +0 -80
- package/dist/button-BXzhydVB.js +0 -187
- package/dist/coalesce-metric-B8o7zT9u.js +0 -13
- package/dist/color-Bp5jmv4Z.js +0 -86
- package/dist/color-swatch.d.ts +0 -1
- package/dist/color-swatch.js +0 -47
- package/dist/components/_shared/ModalOverlay.vue.d.ts +0 -90
- package/dist/components/_shared/menuItemVariants.d.ts +0 -51
- package/dist/components/_shared/useControlSize.d.ts +0 -46
- package/dist/components/_shared/useStalePropWarning.d.ts +0 -27
- package/dist/components/_shared/useSurfaceAxis.d.ts +0 -64
- package/dist/components/card/ScrollCard.vue.d.ts +0 -33
- package/dist/components/card/ScrollCardHeader.vue.d.ts +0 -17
- package/dist/components/carousel/CarouselNext.vue.d.ts +0 -21
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +0 -21
- package/dist/components/carousel/GlassCarouselPager.vue.d.ts +0 -50
- package/dist/components/color-swatch/ColorSwatch.vue.d.ts +0 -22
- package/dist/components/color-swatch/index.d.ts +0 -1
- package/dist/components/combobox/ComboboxSeparator.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxViewport.vue.d.ts +0 -18
- package/dist/components/constellation/composables/constellationGLSetup.d.ts +0 -10
- package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +0 -19
- package/dist/components/constellation/composables/uniformBridgeWGPU.d.ts +0 -66
- package/dist/components/constellation/shaders/constellation-lines.glsl.d.ts +0 -2
- package/dist/components/constellation/shaders/constellation-lines.wgsl.d.ts +0 -1
- package/dist/components/constellation/shaders/constellation-points.glsl.d.ts +0 -2
- package/dist/components/constellation/shaders/constellation-points.wgsl.d.ts +0 -1
- package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -34
- package/dist/components/controls/index.d.ts +0 -1
- package/dist/components/data-table/DataTablePagination.vue.d.ts +0 -13
- package/dist/components/deck/composables/useDeckSpring.d.ts +0 -22
- package/dist/components/dialog/DialogScrollContent.vue.d.ts +0 -33
- package/dist/components/dock/DockSection.vue.d.ts +0 -69
- package/dist/components/dock/DockStack.vue.d.ts +0 -73
- package/dist/components/dock/composables/dockMorphContext.d.ts +0 -89
- package/dist/components/dock/composables/useDockFisheye.d.ts +0 -24
- package/dist/components/dock/composables/useDockPopover.d.ts +0 -68
- package/dist/components/focus-scope/FocusScope.vue.d.ts +0 -20
- package/dist/components/focus-scope/index.d.ts +0 -2
- package/dist/components/goo-filter/GooFilter.vue.d.ts +0 -22
- package/dist/components/goo-filter/index.d.ts +0 -1
- package/dist/components/icon-chip/IconChip.vue.d.ts +0 -4
- package/dist/components/icon-chip/index.d.ts +0 -2
- package/dist/components/icon-chip/types.d.ts +0 -92
- package/dist/components/icon-tooltip/IconTooltip.vue.d.ts +0 -16
- package/dist/components/icon-tooltip/index.d.ts +0 -1
- package/dist/components/instrument-chassis/ChassisDivider.vue.d.ts +0 -30
- package/dist/components/metric-badge/MetricBadge.vue.d.ts +0 -40
- package/dist/components/metric-badge/index.d.ts +0 -2
- package/dist/components/metric-cell/MetricCell.vue.d.ts +0 -108
- package/dist/components/metric-cell/index.d.ts +0 -2
- package/dist/components/metric-stack/MetricRow.vue.d.ts +0 -120
- package/dist/components/metric-stack/MetricStack.vue.d.ts +0 -92
- package/dist/components/metric-stack/index.d.ts +0 -4
- package/dist/components/notification/Notification.vue.d.ts +0 -16
- package/dist/components/notification/index.d.ts +0 -1
- package/dist/components/progress/ProgressDefault.vue.d.ts +0 -25
- package/dist/components/progress/ProgressGradient.vue.d.ts +0 -25
- package/dist/components/progress/ProgressLiquid.vue.d.ts +0 -21
- package/dist/components/progress/ProgressSectioned.vue.d.ts +0 -47
- package/dist/components/progress/useProgressGeometry.d.ts +0 -60
- package/dist/components/section/Section.vue.d.ts +0 -73
- package/dist/components/section/index.d.ts +0 -1
- package/dist/components/spa-view/SpaView.vue.d.ts +0 -50
- package/dist/components/spa-view/index.d.ts +0 -2
- package/dist/components/split-chars/SplitChars.vue.d.ts +0 -53
- package/dist/components/split-chars/index.d.ts +0 -1
- package/dist/components/stacked-icons/StackedIconGroup.vue.d.ts +0 -30
- package/dist/components/stacked-icons/index.d.ts +0 -2
- package/dist/components/stacked-icons/types.d.ts +0 -19
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +0 -17
- package/dist/components/toggle/Toggle.vue.d.ts +0 -29
- package/dist/components/toggle/index.d.ts +0 -26
- package/dist/composables/glass/webgl/shaders/glass-refract.glsl.d.ts +0 -36
- package/dist/composables/motion/curves.d.ts +0 -48
- package/dist/composables/motion/gooBarbellGeometry.d.ts +0 -79
- package/dist/composables/motion/morphSignatures.d.ts +0 -88
- package/dist/composables/motion/suite.d.ts +0 -2
- package/dist/composables/motion/useBloomUp.d.ts +0 -97
- package/dist/composables/motion/useCharStagger.d.ts +0 -44
- package/dist/composables/motion/useElementMorph.d.ts +0 -99
- package/dist/composables/motion/useGooMorph.d.ts +0 -72
- package/dist/composables/motion/usePrioritizedTask.d.ts +0 -41
- package/dist/composables/motion/useStaggerReveal.d.ts +0 -52
- package/dist/composables/motion/useViewTransition.d.ts +0 -81
- package/dist/composables/virtual/index.d.ts +0 -4
- package/dist/composables/virtual/useVirtualSectionWindow.d.ts +0 -72
- package/dist/composables/virtual/useWindowedStore.d.ts +0 -43
- package/dist/composables/virtual/virtualSectionLayout.d.ts +0 -103
- package/dist/controls.d.ts +0 -1
- package/dist/controls.js +0 -91
- package/dist/createCanvasLifecycle-DlrcvWbb.js +0 -209
- package/dist/dockContext-d-WpJN2Z.js +0 -13
- package/dist/dropdown-menu-DaGlVdp9.js +0 -421
- package/dist/focus-scope.d.ts +0 -1
- package/dist/focus-scope.js +0 -2
- package/dist/icon-chip.d.ts +0 -1
- package/dist/icon-chip.js +0 -2
- package/dist/icon-tooltip.d.ts +0 -1
- package/dist/icon-tooltip.js +0 -2
- package/dist/math-CIEcwsYi.js +0 -112
- package/dist/menuItemVariants-DbO-Fr74.js +0 -36
- package/dist/metric-badge.d.ts +0 -1
- package/dist/metric-badge.js +0 -79
- package/dist/metric-cell.d.ts +0 -1
- package/dist/metric-cell.js +0 -61
- package/dist/metric-stack.d.ts +0 -1
- package/dist/metric-stack.js +0 -113
- package/dist/motion-curves.d.ts +0 -21
- package/dist/motion-curves.js +0 -146
- package/dist/notification.d.ts +0 -1
- package/dist/notification.js +0 -2
- package/dist/resolveCanvasColor-B3L-akX0.js +0 -93
- package/dist/slider-Cxuj_W_H.js +0 -151
- package/dist/spa-view.d.ts +0 -1
- package/dist/spa-view.js +0 -46
- package/dist/springPresets-h5VKJQqG.js +0 -58
- package/dist/stacked-icons.d.ts +0 -1
- package/dist/stacked-icons.js +0 -98
- package/dist/styles/card-scroll.css +0 -1
- package/dist/styles/cards.css +0 -1
- package/dist/styles/completion-seal.css +0 -1
- package/dist/styles/configurator.css +0 -1
- package/dist/styles/dialog-placement.css +0 -1
- package/dist/styles/dock/adaptive-legibility.css +0 -1
- package/dist/styles/dock/crossfade.css +0 -1
- package/dist/styles/dock/dock.css +0 -1
- package/dist/styles/dock/fisheye.css +0 -1
- package/dist/styles/dock/layer-group.css +0 -1
- package/dist/styles/dock/layers.css +0 -1
- package/dist/styles/dock/morph.css +0 -1
- package/dist/styles/dock/overflow.css +0 -1
- package/dist/styles/dock/popover.css +0 -1
- package/dist/styles/dock/section.css +0 -1
- package/dist/styles/dock/shape.css +0 -1
- package/dist/styles/dock/shell.css +0 -1
- package/dist/styles/dock-controls/dark-mode-toggle.css +0 -1
- package/dist/styles/dock-controls/icon-button.css +0 -1
- package/dist/styles/dock-controls.css +0 -1
- package/dist/styles/dock.css +0 -1
- package/dist/styles/drawer.css +0 -1
- package/dist/styles/glass/progress-rail.css +0 -1
- package/dist/styles/icon-chip.css +0 -1
- package/dist/styles/instrument-chassis.css +0 -1
- package/dist/styles/menu.css +0 -1
- package/dist/styles/scroll-progress-rim.css +0 -1
- package/dist/styles/segmented-tabs.css +0 -1
- package/dist/styles/select.css +0 -1
- package/dist/styles/tabs/segmented-tabs-drag.css +0 -1
- package/dist/styles/utilities/animate.css +0 -0
- package/dist/useConfiguratorState-Dq35N_7t.js +0 -167
- package/dist/useControlSize-DJwe-7ZQ.js +0 -9
- package/dist/useDockCtaReceive-BgMmeINo.js +0 -161
- package/dist/useDocumentVisibility-CpJGUgcJ.js +0 -17
- package/dist/useDragMorph-65ihHePq.js +0 -93
- package/dist/useGlobalDark-DjKMEQE2.js +0 -53
- package/dist/useGooMorph-CU1pwuC6.js +0 -268
- package/dist/useGpuSubstrate-DcY584kE.js +0 -347
- package/dist/useInterval-ZATRi-1T.js +0 -18
- package/dist/useKeyboardShortcuts-ynVmNFo3.js +0 -104
- package/dist/useLeadTrail-DOH4XkL1.js +0 -74
- package/dist/useLiquidPress-BXNHydZh.js +0 -40
- package/dist/useMotionAxis-DCCXMC-i.js +0 -20
- package/dist/usePointerVelocityField-CwXyeW0Z.js +0 -122
- package/dist/useRAFLoop-CvOo_kgb.js +0 -109
- package/dist/useRoutePointer-DL7I0gY4.js +0 -52
- package/dist/useScrollProgress-C-yImzhU.js +0 -35
- package/dist/useSelectionGroup-Btpf24aY.js +0 -215
- package/dist/useSpringMount-CNvvgGiC.js +0 -71
- package/dist/useSpringPress-BypV_KO-.js +0 -36
- package/dist/useSurfaceAxis-DudiZVOR.js +0 -10
- package/dist/useTabRovingFocus-CG1H1k1J.js +0 -143
- package/dist/useTextHighlight-C46Le9u_.js +0 -72
- package/dist/useViewportReady-c0isoKL8.js +0 -191
- package/dist/vReveal-DUmiEkX_.js +0 -10
- package/dist/vSpecular-DlYN0UZy.js +0 -68
- package/src/fonts/README.md +0 -124
- package/src/fonts/fira-code/OFL.txt +0 -93
- package/src/fonts/fira-code/fira-code-latin-ext.woff2 +0 -0
- package/src/fonts/fira-code/fira-code-latin.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/OFL.txt +0 -93
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2 +0 -0
- package/src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2 +0 -0
- package/src/styles/animations.css +0 -468
- package/src/styles/card-scroll.css +0 -189
- package/src/styles/cards.css +0 -485
- package/src/styles/completion-seal.css +0 -205
- package/src/styles/configurator.css +0 -359
- package/src/styles/dialog-placement.css +0 -68
- package/src/styles/dock/adaptive-legibility.css +0 -119
- package/src/styles/dock/crossfade.css +0 -139
- package/src/styles/dock/cta-seat.css +0 -87
- package/src/styles/dock/density.css +0 -458
- package/src/styles/dock/dock.css +0 -199
- package/src/styles/dock/fisheye.css +0 -81
- package/src/styles/dock/layer-group.css +0 -329
- package/src/styles/dock/layers.css +0 -438
- package/src/styles/dock/morph.css +0 -455
- package/src/styles/dock/overflow.css +0 -332
- package/src/styles/dock/popover.css +0 -249
- package/src/styles/dock/search.css +0 -68
- package/src/styles/dock/section.css +0 -59
- package/src/styles/dock/shape.css +0 -188
- package/src/styles/dock/shell-regions.css +0 -73
- package/src/styles/dock/shell.css +0 -500
- package/src/styles/dock-controls/dark-mode-toggle.css +0 -123
- package/src/styles/dock-controls/icon-button.css +0 -221
- package/src/styles/dock-controls/tab-button.css +0 -143
- package/src/styles/dock-controls/touch-floor.css +0 -119
- package/src/styles/dock-controls/triggers.css +0 -157
- package/src/styles/dock-controls.css +0 -92
- package/src/styles/dock.css +0 -219
- package/src/styles/draw-in.css +0 -89
- package/src/styles/drawer.css +0 -434
- package/src/styles/feedback-tone.css +0 -104
- package/src/styles/fonts.css +0 -143
- package/src/styles/glass/a11y-fallback.css +0 -188
- package/src/styles/glass/accent-tone.css +0 -66
- package/src/styles/glass/control-surfaces.css +0 -171
- package/src/styles/glass/deep.css +0 -114
- package/src/styles/glass/defined.css +0 -88
- package/src/styles/glass/glass-atom.css +0 -247
- package/src/styles/glass/glass-capsule.css +0 -175
- package/src/styles/glass/glass-chip.css +0 -211
- package/src/styles/glass/grain-overlay.css +0 -79
- package/src/styles/glass/ladder-undershadow.css +0 -61
- package/src/styles/glass/ladder.css +0 -452
- package/src/styles/glass/liquid-enter.css +0 -240
- package/src/styles/glass/liquid-fill.css +0 -65
- package/src/styles/glass/material.css +0 -494
- package/src/styles/glass/progress-rail.css +0 -78
- package/src/styles/glass/reveal.css +0 -333
- package/src/styles/glass/rim.css +0 -122
- package/src/styles/glass/squircle.css +0 -58
- package/src/styles/glass/surface-axis.css +0 -136
- package/src/styles/glass/surfaces-pager.css +0 -79
- package/src/styles/glass/surfaces.css +0 -434
- package/src/styles/glass-refract.css +0 -112
- package/src/styles/glass-specular-track.css +0 -74
- package/src/styles/glass.css +0 -110
- package/src/styles/icon-chip.css +0 -256
- package/src/styles/index.css +0 -280
- package/src/styles/instrument-chassis.css +0 -449
- package/src/styles/menu.css +0 -187
- package/src/styles/paper.css +0 -187
- package/src/styles/scroll-choreography.css +0 -294
- package/src/styles/scroll-chrome.css +0 -123
- package/src/styles/scroll-driven.css +0 -123
- package/src/styles/scroll-progress-rim.css +0 -87
- package/src/styles/segmented-tabs.css +0 -424
- package/src/styles/select.css +0 -201
- package/src/styles/tabs/segmented-tabs-drag.css +0 -200
- package/src/styles/theme/bridges.css +0 -386
- package/src/styles/theme/dark.css +0 -7
- package/src/styles/theme/literals.css +0 -104
- package/src/styles/theme/radius.css +0 -148
- package/src/styles/theme.css +0 -33
- package/src/styles/tokens/color-radius.css +0 -308
- package/src/styles/tokens/dark-arm-glass.css +0 -55
- package/src/styles/tokens/dark-arm.css +0 -455
- package/src/styles/tokens/glass-deep.css +0 -126
- package/src/styles/tokens/glass-fx.css +0 -484
- package/src/styles/tokens/glass.css +0 -478
- package/src/styles/tokens/light-dark.css +0 -216
- package/src/styles/tokens/motion-registers.css +0 -93
- package/src/styles/tokens/offsets.css +0 -143
- package/src/styles/tokens/on-glass-fg.css +0 -39
- package/src/styles/tokens/property-regs-specular.css +0 -160
- package/src/styles/tokens/property-regs.css +0 -447
- package/src/styles/tokens/scale-paper.css +0 -496
- package/src/styles/tokens/scheme-motion.css +0 -422
- package/src/styles/tokens/scheme-spring.css +0 -292
- package/src/styles/tokens/scroll-tokens.css +0 -137
- package/src/styles/tokens/shadow.css +0 -232
- package/src/styles/tokens/sizing-config.css +0 -110
- package/src/styles/tokens/sizing.css +0 -505
- package/src/styles/tokens.css +0 -68
- package/src/styles/transitions.css +0 -228
- package/src/styles/typography/scale.css +0 -163
- package/src/styles/typography/semantic.css +0 -233
- package/src/styles/typography/utilities.css +0 -197
- package/src/styles/typography.css +0 -46
- package/src/styles/utilities/a11y-overrides.css +0 -184
- package/src/styles/utilities/animate.css +0 -29
- package/src/styles/utilities/base-misc.css +0 -307
- package/src/styles/utilities/base.css +0 -337
- package/src/styles/utilities/btn.css +0 -327
- package/src/styles/utilities/components.css +0 -337
- package/src/styles/utilities/metal.css +0 -272
- package/src/styles/utilities.css +0 -26
- package/src/styles/view-transition.css +0 -67
- package/src/styles/viz-reveal.css +0 -63
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{compile-C55K3P9g.js → compile-D7VYG3gi.js} +0 -0
- /package/dist/{styles → components/_shared}/feedback-tone.css +0 -0
- /package/dist/{styles/dock-controls → components/dock/styles/controls}/tab-button.css +0 -0
- /package/dist/{styles/dock-controls → components/dock/styles/controls}/triggers.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/cta-seat.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/search.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/shell-regions.css +0 -0
- /package/dist/composables/glass/{webgl/shaders/procedural-color.glsl.d.ts → procedural/color.glsl.d.ts} +0 -0
- /package/dist/{components/aurora/constants/shaders/procedural-color.wgsl.d.ts → composables/glass/procedural/color.wgsl.d.ts} +0 -0
- /package/dist/composables/motion/{motionTempo.d.ts → core/motionTempo.d.ts} +0 -0
- /package/dist/composables/motion/{useIntersectionPause.d.ts → core/useIntersectionPause.d.ts} +0 -0
- /package/dist/composables/motion/{useRAFLoop.d.ts → core/useRAFLoop.d.ts} +0 -0
- /package/dist/composables/motion/{useYieldToMain.d.ts → core/useYieldToMain.d.ts} +0 -0
- /package/dist/composables/motion/{useAnimatedNumberMap.d.ts → number/useAnimatedNumberMap.d.ts} +0 -0
- /package/dist/composables/motion/{useRoutePointer.d.ts → pointer/useRoutePointer.d.ts} +0 -0
- /package/dist/composables/motion/{vReveal.d.ts → reveal/vReveal.d.ts} +0 -0
- /package/dist/composables/motion/{scrollReader.d.ts → scroll/scrollReader.d.ts} +0 -0
- /package/dist/composables/motion/{supportsCssTimeline.d.ts → scroll/supportsCssTimeline.d.ts} +0 -0
- /package/dist/composables/motion/{useScrollPin.d.ts → scroll/useScrollPin.d.ts} +0 -0
- /package/dist/composables/motion/{useScrollScene.d.ts → scroll/useScrollScene.d.ts} +0 -0
- /package/dist/composables/motion/{useScrollTrigger.d.ts → scroll/useScrollTrigger.d.ts} +0 -0
- /package/dist/composables/motion/{useSpringPress.d.ts → spring/useSpringPress.d.ts} +0 -0
- /package/dist/{createContext-BQ1Gy_LB.js → createContext-BhkE9mLH.js} +0 -0
- /package/dist/{motionTempo-CMS5b0Vu.js → motionTempo-tscp92Nm.js} +0 -0
- /package/dist/{prng-B0PLRmR6.js → prng-2uS6J_A1.js} +0 -0
- /package/dist/{useDragVelocity-BWcNMCux.js → useDragVelocity-6ONX0sr0.js} +0 -0
- /package/dist/{useFuzzySearch-KslRxiJY.js → useFuzzySearch-CUnZknpm.js} +0 -0
- /package/dist/{useResizeObserver-DDuoBeBo.js → useResizeObserver-CdUlm2QZ.js} +0 -0
- /package/dist/{useResolveTokenColor-DVT5kwv6.js → useResolveTokenColor-B2FfJnd9.js} +0 -0
- /package/dist/{useTimer-CkDV8SC2.js → useTimer-C3yfti4C.js} +0 -0
- /package/dist/{useUserInvalidAria-Bkruei7M.js → useUserInvalidAria-0GNrddMX.js} +0 -0
- /package/dist/{writeVelocityWeight-D1rvdxJu.js → writeVelocityWeight-DoGOCW3e.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Aurora's atoms-of-control door: the one consumer-facing surface
|
|
3
3
|
* over the ~28-field author schema. `AuroraConfig` is the INTERNAL author schema
|
|
4
4
|
* (the full escape hatch a preset author types against); `resolveAtoms` is the
|
|
5
5
|
* SIMPLIFIED door the live config UI + every consumer drives.
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* saturation + valueVariance + breath + the warm/cool temperature, because moving any
|
|
13
13
|
* one alone reads as a defect).
|
|
14
14
|
*
|
|
15
|
-
* Contract
|
|
15
|
+
* Contract:
|
|
16
16
|
* - TOTAL — every atom combination (incl. out-of-range/adversarial inputs) produces
|
|
17
17
|
* a VALID in-range `AuroraConfig` respecting every `budget.ts` cap (no NaN, no
|
|
18
18
|
* out-of-range field). Clamp/saturate, never garbage.
|
|
@@ -25,8 +25,7 @@
|
|
|
25
25
|
*/
|
|
26
26
|
import { type AuroraConfig, type AuroraMedium, type OklchStop } from "../constants/presets";
|
|
27
27
|
import { type AuroraHarmony } from "./color";
|
|
28
|
-
|
|
29
|
-
export type AuroraMotionAtom = "still" | "breathing" | "drifting";
|
|
28
|
+
import { type AuroraMotionAtom, type AuroraZoneArrangement } from "./atoms-fields";
|
|
30
29
|
/**
|
|
31
30
|
* The ZONES arrangement character — selects the nuclei placement prior. NOT a bare
|
|
32
31
|
* integer count: the same count reads as a different field per arrangement.
|
|
@@ -34,7 +33,6 @@ export type AuroraMotionAtom = "still" | "breathing" | "drifting";
|
|
|
34
33
|
* - `composed` — the rule-of-thirds prior (the deliberate, balanced field).
|
|
35
34
|
* - `centred` — a tight central cluster (one dominant glow, calm).
|
|
36
35
|
*/
|
|
37
|
-
export type AuroraZoneArrangement = "scattered" | "composed" | "centred";
|
|
38
36
|
/** The ZONES atom — a count + an arrangement character (default `composed`). */
|
|
39
37
|
export interface AuroraZones {
|
|
40
38
|
/** 1..MAX_NUCLEI — the number of color zones (nuclei). Clamped. */
|
|
@@ -55,38 +53,42 @@ export type AuroraMediumAtom = {
|
|
|
55
53
|
amount?: number;
|
|
56
54
|
};
|
|
57
55
|
/**
|
|
58
|
-
* The interactivity atom
|
|
59
|
-
* `scroll` (scroll-coupled palette/breath) are wired
|
|
60
|
-
*
|
|
61
|
-
* EXCISED from the shipped atom shape (no declared-but-dead axis — excise-or-wire).
|
|
56
|
+
* The interactivity atom exposes only wired axes. `light` (cursor-as-light) and
|
|
57
|
+
* `scroll` (scroll-coupled palette/breath) are wired by
|
|
58
|
+
* `frameLoop.ts` and `useAurora.ts`.
|
|
62
59
|
*/
|
|
63
|
-
export interface
|
|
64
|
-
/** cursor drives the impasto light direction (cursor-as-light + idle orbit). */
|
|
65
|
-
light?: boolean;
|
|
60
|
+
export interface AuroraFieldInteractivityAtom {
|
|
66
61
|
/** palette/breath progress couples to scroll (via useScrollProgress). */
|
|
67
62
|
scroll?: boolean;
|
|
68
63
|
/**
|
|
69
|
-
*
|
|
64
|
+
* Cursor swirl/luminance-lean axis, medium-gated. On the
|
|
70
65
|
* `smooth` medium the cursor reads as a local LUMINANCE LEAN (engagement-driven, via the
|
|
71
|
-
* `auroraCursorMapping` strength → `uCursorStrength
|
|
72
|
-
* impasto light the `light` axis drives
|
|
73
|
-
*
|
|
74
|
-
* `light` when unset (an interactive config reads on EVERY medium, not just painterly).
|
|
66
|
+
* `auroraCursorMapping` strength → `uCursorStrength`) instead of the dead
|
|
67
|
+
* impasto light the `light` axis drives only on painterly media. It defaults to
|
|
68
|
+
* the interactive state so every medium responds.
|
|
75
69
|
*/
|
|
76
70
|
swirl?: boolean;
|
|
77
71
|
/**
|
|
78
|
-
*
|
|
79
|
-
* field influence — how much the velocity
|
|
80
|
-
* cursor (routed through the existing `uCursorBurst`/`uWarp*` uniforms — no shader edit).
|
|
72
|
+
* Sized amplitude atom (0..1, default 0.5). Sizes the cursor's
|
|
73
|
+
* field influence — how much the velocity burst lifts the CPU-projected cursor strength.
|
|
81
74
|
*/
|
|
82
75
|
amplitude?: number;
|
|
83
76
|
}
|
|
77
|
+
/** Smooth fields expose the cursor field but have no directional impasto light. */
|
|
78
|
+
export interface AuroraSmoothInteractivityAtom extends AuroraFieldInteractivityAtom {
|
|
79
|
+
light?: never;
|
|
80
|
+
}
|
|
81
|
+
/** Textured media may additionally steer their directional light from the cursor. */
|
|
82
|
+
export interface AuroraPainterlyInteractivityAtom extends AuroraFieldInteractivityAtom {
|
|
83
|
+
light?: boolean;
|
|
84
|
+
}
|
|
85
|
+
export type AuroraInteractivityAtom = AuroraSmoothInteractivityAtom | AuroraPainterlyInteractivityAtom;
|
|
84
86
|
/**
|
|
85
87
|
* The Tier-1 atoms of control (≤7) — the user's named control elements. EVERY atom is
|
|
86
88
|
* OPTIONAL; an absent atom keeps the wispy-sky default for the fields it would drive,
|
|
87
89
|
* so `DEFAULT_ATOMS` (the empty set) resolves to `DEFAULT_AURORA_CONFIG`.
|
|
88
90
|
*/
|
|
89
|
-
|
|
91
|
+
interface AuroraAtomsBase {
|
|
90
92
|
/** A seed color (CSS string or an OklchStop anchor) → drives the derived palette. */
|
|
91
93
|
seed?: string | OklchStop;
|
|
92
94
|
/** The hue scheme across the derived ramp. Default `analogous` (when a seed is set). */
|
|
@@ -99,31 +101,31 @@ export interface AuroraAtoms {
|
|
|
99
101
|
*/
|
|
100
102
|
colorEnergy?: number;
|
|
101
103
|
/**
|
|
102
|
-
*
|
|
104
|
+
* the lightness SCHEME of the derived ramp. `"light"`
|
|
103
105
|
* (the default when a seed is set) is the light-pastel band; `"dark"` shifts the WHOLE
|
|
104
106
|
* ramp into the luminous-dark band [0.18, 0.42] so a derived-from-seed field reads as a
|
|
105
107
|
* rich luminous-dark wash behind glass in a dark shell — never a washed-pale salmon
|
|
106
|
-
* field with dark cards floating on it (the
|
|
108
|
+
* field with dark cards floating on it (the dark-leg defect). CONFIG-LEVEL: routes
|
|
107
109
|
* to `deriveAurora`'s `scheme`; ZERO shader edit. Only read when a `seed` is set (the
|
|
108
110
|
* door drives the DERIVE path; an authored-palette config has no scheme to resolve).
|
|
109
111
|
*/
|
|
110
112
|
lightnessScheme?: "light" | "dark";
|
|
111
113
|
/**
|
|
112
|
-
*
|
|
114
|
+
* an explicit derived L band `[min, max]` (OKLCh L
|
|
113
115
|
* units) that OVERRIDES `lightnessScheme`. The single retune knob for a bespoke
|
|
114
116
|
* luminosity window (e.g. `[0.18, 0.42]` for the deep luminous-dark identity). Routes
|
|
115
117
|
* to `deriveAurora`'s `lBand`; only read when a `seed` is set.
|
|
116
118
|
*/
|
|
117
119
|
lBand?: readonly [number, number];
|
|
118
120
|
/**
|
|
119
|
-
*
|
|
121
|
+
* the analogous hue-walk width (degrees). Optional;
|
|
120
122
|
* omitted = the chroma-ADAPTIVE default (a higher `colorEnergy` widens the walk so a
|
|
121
123
|
* vivid field carries a real second accent hue, a calm field stays a tight
|
|
122
124
|
* neighbourhood). An explicit value wins. Only read when a `seed` is set.
|
|
123
125
|
*/
|
|
124
126
|
hueSpread?: number;
|
|
125
127
|
/**
|
|
126
|
-
*
|
|
128
|
+
* the cross-stop chroma VARIANCE (0..1, the
|
|
127
129
|
* bracket grammar). 0 (default) = the uniform painterly ramp (every stop near the
|
|
128
130
|
* anchor chroma); 1 = a WIDE bracket — the vivid stops toward marigold, the calm stops
|
|
129
131
|
* toward the sage-whisper pole (C≈0.03), so the ramp carries an "interesting" chroma
|
|
@@ -132,9 +134,9 @@ export interface AuroraAtoms {
|
|
|
132
134
|
*/
|
|
133
135
|
chromaVariance?: number;
|
|
134
136
|
/**
|
|
135
|
-
*
|
|
137
|
+
* the counterpoint option. When true (and
|
|
136
138
|
* `chromaVariance > 0`) the deepest ramp stop is pinned to the sage-whisper pole as a
|
|
137
|
-
* deliberate low-chroma "silence" note against the vivid mass (the
|
|
139
|
+
* deliberate low-chroma "silence" note against the vivid mass (the "silence ←
|
|
138
140
|
* whisper → marigold" grammar). Default false (the variance spreads without a dedicated
|
|
139
141
|
* whisper stop). Only read when a `seed` is set.
|
|
140
142
|
*/
|
|
@@ -148,51 +150,51 @@ export interface AuroraAtoms {
|
|
|
148
150
|
* clean isotropic zones, 1 = turbulent organic edges.
|
|
149
151
|
*/
|
|
150
152
|
noise?: number;
|
|
151
|
-
/** The painterly medium + (textured mediums only) its dominant texture amount. */
|
|
152
|
-
medium?: AuroraMediumAtom;
|
|
153
153
|
/** still | breathing | drifting — the three motion registers. */
|
|
154
154
|
motion?: AuroraMotionAtom;
|
|
155
|
-
/** The pointer/scroll interactivity axes (default OFF). Only `light`/`scroll` ship. */
|
|
156
|
-
interactivity?: AuroraInteractivityAtom;
|
|
157
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* The medium-discriminated atoms surface. Smooth fields retain swirl/scroll/amplitude but
|
|
158
|
+
* reject the directional `light` axis; textured media expose it explicitly.
|
|
159
|
+
*/
|
|
160
|
+
export type AuroraAtoms = AuroraAtomsBase & ({
|
|
161
|
+
medium?: {
|
|
162
|
+
kind: "smooth";
|
|
163
|
+
};
|
|
164
|
+
interactivity?: AuroraSmoothInteractivityAtom;
|
|
165
|
+
} | {
|
|
166
|
+
medium: {
|
|
167
|
+
kind: Exclude<AuroraMedium, "smooth">;
|
|
168
|
+
amount?: number;
|
|
169
|
+
};
|
|
170
|
+
interactivity?: AuroraPainterlyInteractivityAtom;
|
|
171
|
+
});
|
|
158
172
|
/**
|
|
159
173
|
* The default atoms — the EMPTY set. `resolveAtoms(DEFAULT_ATOMS)` deep-equals the
|
|
160
174
|
* wispy-sky `DEFAULT_AURORA_CONFIG` (machine-asserted). The user explicitly asked the
|
|
161
175
|
* default to be preserved; the empty-atom pass-through is how the door honors it.
|
|
162
176
|
*/
|
|
163
177
|
export declare const DEFAULT_ATOMS: AuroraAtoms;
|
|
164
|
-
/**
|
|
165
|
-
* The deterministic nuclei prior for `count` zones under an `arrangement` character.
|
|
166
|
-
* ONE home for the rule-of-thirds prior (the AW duplicated prior pair is gone). Total:
|
|
167
|
-
* clamps `count` to `[1, MAX_NUCLEI]`; every arrangement yields a valid in-range nuclei
|
|
168
|
-
* array.
|
|
169
|
-
*
|
|
170
|
-
* - `composed` — the rule-of-thirds anchor table (the deliberate balanced field).
|
|
171
|
-
* - `scattered` — a golden-angle (φ⁻¹) low-discrepancy spread off-centre (loose).
|
|
172
|
-
* - `centred` — a tight cluster around the centre (one dominant glow).
|
|
173
|
-
*/
|
|
174
|
-
export declare function nucleiPrior(count: number, arrangement?: AuroraZoneArrangement): AuroraConfig["nuclei"];
|
|
175
178
|
/**
|
|
176
179
|
* Expand the ≤7 Tier-1 atoms into a full, valid, in-range `AuroraConfig`. A PURE,
|
|
177
180
|
* TOTAL function: clones the BASE config and applies ONLY the present atoms as clamped
|
|
178
181
|
* overrides, so the empty atom set resolves to exactly the base and every atom
|
|
179
182
|
* combination yields a config respecting every `budget.ts` cap.
|
|
180
183
|
*
|
|
181
|
-
* `base` defaults to the wispy-sky `DEFAULT_AURORA_CONFIG
|
|
182
|
-
* deep-equals it
|
|
184
|
+
* `base` defaults to the wispy-sky `DEFAULT_AURORA_CONFIG`, so
|
|
185
|
+
* `resolveAtoms(DEFAULT_ATOMS)` deep-equals it. A consumer that
|
|
183
186
|
* REFINES a richer config (the live atoms studio seeding FROM the active preset) passes the
|
|
184
187
|
* preset config as `base`, so the ~21 non-atom fields the ≤7-knob projection does NOT carry
|
|
185
188
|
* (the hero's stroke params, the per-preset palette specifics beyond the seed) SURVIVE the
|
|
186
|
-
* atom touch
|
|
187
|
-
* wispy-sky default (the W-AUR-STUDIO D4 atoms-trap fix).
|
|
189
|
+
* atom touch: the first edit refines the active preset rather than replacing it.
|
|
188
190
|
*/
|
|
189
191
|
export declare function resolveAtoms(atoms?: AuroraAtoms, base?: AuroraConfig): AuroraConfig;
|
|
190
192
|
/**
|
|
191
193
|
* Project a full `AuroraConfig` back onto the ≤7 Tier-1 atoms. The minimal recovered
|
|
192
|
-
* set is seed
|
|
194
|
+
* set is seed, colorEnergy, zones-count, noise, medium(+amount), motion; `harmony`
|
|
193
195
|
* and `zones.arrangement` take their door defaults (not recoverable — lossy by design).
|
|
194
196
|
* `configToAtoms(resolveAtoms(a))` recovers the energy/noise/medium/motion/zone-count
|
|
195
|
-
* axes of `a` within the projection's resolution
|
|
196
|
-
* fix needs + the gate asserts).
|
|
197
|
+
* axes of `a` within the projection's resolution.
|
|
197
198
|
*/
|
|
198
199
|
export declare function configToAtoms(cfg: AuroraConfig): AuroraAtoms;
|
|
200
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Aurora luminance-faithful fallback ground
|
|
2
|
+
* Aurora luminance-faithful fallback ground.
|
|
3
3
|
*
|
|
4
|
-
* The headless
|
|
5
|
-
*
|
|
4
|
+
* The headless, software-raster substrate cannot run the live WebGL field, but
|
|
5
|
+
* a consumer's CI/witness harness must still certify text-on-aurora AA contrast
|
|
6
6
|
* floors HEADLESS (no `--use-gl=angle`). The flat `paletteToCssGradient`
|
|
7
7
|
* placeholder (`color.ts`) is a deliberate "visually-adjacent approximation" — a
|
|
8
8
|
* gamma-sRGB-stop `linear-gradient(135deg, …)` band whose MEAN luminance and
|
|
9
9
|
* SPATIAL distribution both diverge from the shader's nuclei-field composite, so a
|
|
10
10
|
* contrast capture against it certifies the WRONG floor. This module REPLACES it,
|
|
11
|
-
* in the software-raster
|
|
11
|
+
* in the software-raster, capture substrate, with a FIELD-SAMPLED ground derived
|
|
12
12
|
* from the SAME inputs the shader uploads (the palette stops + the nuclei field),
|
|
13
13
|
* matching the composite's mean + per-quadrant luminance within the certify band.
|
|
14
14
|
*
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* `nucleiField` (the softmax-Gaussian over the nuclei → paletteId + valueMod) +
|
|
18
18
|
* `samplePalette` (the linear-sRGB LUT lerp of the CPU-baked endpoints) + the
|
|
19
19
|
* `valueVariance` modulation + the Khronos PBR-Neutral tonemap (`tonemap.glsl.ts`'s
|
|
20
|
-
* `aces()`) + the mandatory `linearToSrgb` OETF
|
|
20
|
+
* `aces()`) + the mandatory `linearToSrgb` OETF. The
|
|
21
21
|
* palette LUT is `oklchToLinear` (the SAME value.js Ottosson bake `flattenPalette`
|
|
22
22
|
* feeds the GPU) — ONE color source, no re-implemented OKLCh math. The
|
|
23
23
|
* between-endpoint interpolation runs in LINEAR (the linear-baked endpoints the
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
* bilinear, which preserves the per-quadrant MEAN luminance) — so the painted ground
|
|
32
32
|
* reproduces the composite's SPATIAL luminance, not a partial-alpha approximation. It
|
|
33
33
|
* paints once at mount and parks (no rAF, zero ongoing GPU). When no `document` is
|
|
34
|
-
* available (SSR
|
|
34
|
+
* available (SSR, happy-dom) it degrades to a deterministic pure-CSS layered
|
|
35
35
|
* `radial-gradient` stack (zero canvas) — the same field samples, the SSR-safe form.
|
|
36
36
|
* The luminance metrics (mean + the 4-quadrant relative luminance) are returned
|
|
37
|
-
* alongside so the gate
|
|
37
|
+
* alongside so the gate, π can MEASURE the faithfulness claim rather than assert it.
|
|
38
38
|
*/
|
|
39
39
|
import type { AuroraConfig, AuroraNucleus } from "../constants/presets";
|
|
40
40
|
/** A linear-sRGB triple in [0,1]. */
|
|
41
41
|
type Lin = [number, number, number];
|
|
42
|
-
/** Linear-sRGB relative luminance (Rec.709
|
|
42
|
+
/** Linear-sRGB relative luminance (Rec.709, WCAG), the contrast-floor metric. */
|
|
43
43
|
export declare function relativeLuminance([r, g, b]: Lin): number;
|
|
44
44
|
/**
|
|
45
45
|
* The static (t=0) nuclei field at normalized `(x, y)` — mirrors
|
|
46
46
|
* `composition.glsl.ts`'s `nucleiField`. At t=0 the drift orbit term vanishes
|
|
47
|
-
* (cos 0
|
|
47
|
+
* (cos 0, sin 0 → the nucleus sits at its authored position), so the field is a
|
|
48
48
|
* pure softmax-Gaussian over the static nuclei: `w_i = exp(-β·d2_i/r_i²)`,
|
|
49
49
|
* `paletteId = Σ(w_i·bias_i)/Σw_i`, `valueMod = Σ(w_i·vbias_i)/Σw_i`. The
|
|
50
50
|
* anisotropic-ellipse local-frame rotation (elongation + angle) is reproduced.
|
|
@@ -64,12 +64,12 @@ export declare function nucleiFieldStatic(nuclei: readonly AuroraNucleus[], soft
|
|
|
64
64
|
* Sample the aurora's STATIC composite at normalized `(x, y)` → a gamma-sRGB
|
|
65
65
|
* `[r,g,b]` in [0,1]. The full CPU mirror of the shader main() output transfer:
|
|
66
66
|
* field → linear palette LUT → valueVariance modulation → PBR-Neutral tonemap →
|
|
67
|
-
* the `clamp(col*0.985 + 0.008)` toe → the `linearToSrgb` OETF. The drift
|
|
68
|
-
|
|
67
|
+
* the `clamp(col*0.985 + 0.008)` toe → the `linearToSrgb` OETF. The drift, breath
|
|
68
|
+
*, cursor, medium-texture terms are STATIC (t=0, no cursor, the atmospheric
|
|
69
69
|
* smooth pole) — the luminance ground the certify reads, not the live animation.
|
|
70
70
|
*/
|
|
71
71
|
export declare function sampleAuroraField(config: AuroraConfig, x: number, y: number): Lin;
|
|
72
|
-
/** The luminance metrics the gate
|
|
72
|
+
/** The luminance metrics the gate, π MEASURES the faithfulness against. */
|
|
73
73
|
export interface AuroraGroundMetrics {
|
|
74
74
|
/** Mean relative luminance over the sample grid (gamma → relative-luminance). */
|
|
75
75
|
mean: number;
|
|
@@ -92,7 +92,7 @@ export interface AuroraFallbackGround {
|
|
|
92
92
|
* Build the luminance-faithful CSS fallback ground for an aurora config.
|
|
93
93
|
*
|
|
94
94
|
* Samples the static field at a `grid × grid` lattice (the SAME `sampleAuroraField`
|
|
95
|
-
* the gate
|
|
95
|
+
* the gate, π measures), emits a stack of soft `radial-gradient` layers — one per
|
|
96
96
|
* sample cell, centred on the cell, fading to transparent at ~the cell radius — over
|
|
97
97
|
* a base fill at the FIELD-MEAN color. The base fill anchors the global luminance;
|
|
98
98
|
* the radial layers paint the spatial nuclei-glow distribution, so the ground reads
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Aurora image-source coordination seam
|
|
2
|
+
* Aurora image-source coordination seam.
|
|
3
3
|
*
|
|
4
|
-
* The `source:"image"` decode + upload state machine
|
|
4
|
+
* The `source:"image"` decode + upload state machine (the
|
|
5
5
|
* no-god-module bound; the same colocation seam `glSetup`/`wgpuSetup` carry). It owns:
|
|
6
6
|
* - the ONE decode (through the shared `resolveImageSource` normalisation), de-duped on
|
|
7
7
|
* the same `src` so an `update()` burst never re-decodes;
|
|
@@ -13,13 +13,12 @@
|
|
|
13
13
|
* cross-engine parity floor), seeds the placeholder + any already-decoded photo, and
|
|
14
14
|
* returns a teardown.
|
|
15
15
|
*
|
|
16
|
-
* The runtime
|
|
17
|
-
* routing-through-the-primitive witness (the reader-follows-the-carve precedent).
|
|
16
|
+
* The runtime composes this leaf as the WebGL2 image-source path.
|
|
18
17
|
*/
|
|
19
18
|
import { type UploadableImageSource } from "../../../composables/glass/textureUpload";
|
|
20
19
|
import type { AuroraConfig } from "../constants/presets";
|
|
21
20
|
export interface AuroraImageCoordinator {
|
|
22
|
-
/** The decoded photo (or null before decode
|
|
21
|
+
/** The decoded photo (or null before decode, on a palette config). */
|
|
23
22
|
getDecodedImage(): UploadableImageSource | null;
|
|
24
23
|
/**
|
|
25
24
|
* Register the active backend's texture uploader; passing `null` clears it (teardown).
|
|
@@ -12,7 +12,7 @@ export declare function flattenPalette(stops: OklchStop[], maxStops?: number, ou
|
|
|
12
12
|
/**
|
|
13
13
|
* Derive a cheap CSS `linear-gradient` from an Aurora palette — the static
|
|
14
14
|
* first-frame placeholder painted under the WebGL canvas while the runtime
|
|
15
|
-
* arms (see `useAurora`'s deferred init
|
|
15
|
+
* arms (see `useAurora`'s deferred init, Aurora.vue's placeholder element).
|
|
16
16
|
*
|
|
17
17
|
* The shader interpolates the same OKLCh stops in linear sRGB; here we render
|
|
18
18
|
* each stop as a gamma-sRGB hex so the browser's gradient compositor produces
|
|
@@ -27,16 +27,14 @@ export declare function paletteToCssGradient(stops: OklchStop[]): string;
|
|
|
27
27
|
export declare function hexToOklchStop(hex: string): OklchStop;
|
|
28
28
|
/**
|
|
29
29
|
* Harmony schemes for {@link deriveAurora} — the PUBLIC alias of the shared
|
|
30
|
-
* `ColorHarmony` vocabulary hoisted to the `/color` leaf (
|
|
30
|
+
* `ColorHarmony` vocabulary hoisted to the `/color` leaf (.b). The blob and
|
|
31
31
|
* aurora derive from this ONE union; aurora keeps the `AuroraHarmony` name for
|
|
32
32
|
* surface preservation. See `ColorHarmony` for the per-scheme semantics.
|
|
33
33
|
*/
|
|
34
34
|
export type AuroraHarmony = ColorHarmony;
|
|
35
35
|
/**
|
|
36
|
-
* Eased L/C journey shapes for the derived ramp. `bell`
|
|
37
|
-
*
|
|
38
|
-
* "saturated body, calm edges" curve. `linear` is the prior monotone falloff
|
|
39
|
-
* (the named pre-W5 branch — NOT a back-compat alias, a first-class choice).
|
|
36
|
+
* Eased L/C journey shapes for the derived ramp. `bell` peaks chroma in the
|
|
37
|
+
* middle and calms both extremes; `linear` provides a monotone falloff.
|
|
40
38
|
*/
|
|
41
39
|
export type DeriveEasing = "linear" | "sine" | "bell";
|
|
42
40
|
export interface DeriveAuroraOptions {
|
|
@@ -52,33 +50,30 @@ export interface DeriveAuroraOptions {
|
|
|
52
50
|
hueSpread?: number;
|
|
53
51
|
/** L-ramp easing across the band. Default `linear` (monotone ascent). */
|
|
54
52
|
lightnessEasing?: DeriveEasing;
|
|
55
|
-
/** C-ramp easing.
|
|
53
|
+
/** C-ramp easing. `bell` peaks in the middle. Default `bell`. */
|
|
56
54
|
chromaEasing?: DeriveEasing;
|
|
57
55
|
/**
|
|
58
|
-
* Warm-light
|
|
56
|
+
* Warm-light, cool-shadow temperature coupling (0..1). A hue delta that warms
|
|
59
57
|
* the lights and cools the shadows — the single most-cited painting rule, the
|
|
60
58
|
* fold that makes the oil/oil-pastel mediums read as mixed paint. Default 0.
|
|
61
59
|
*/
|
|
62
60
|
temperatureShift?: number;
|
|
63
61
|
/**
|
|
64
|
-
*
|
|
65
|
-
* speedtest-AX cross-repo fold). Named OKLCh hue bands (each `[startDeg, endDeg]`,
|
|
62
|
+
* Additive derive-path hue exclusions. Named OKLCh hue bands (each `[startDeg, endDeg]`,
|
|
66
63
|
* wrap-around supported via `start > end`) that EVERY derived stop's hue must fall
|
|
67
64
|
* OUTSIDE. The mechanism that makes "teal-on-navy is GONE" enforceable in the DERIVE
|
|
68
65
|
* path, not just the static default — a consumer deriving a palette FROM any seed
|
|
69
66
|
* can never re-introduce a purged band (e.g. `avoidHues: [[170, 200]]` excludes the
|
|
70
67
|
* teal arc by construction). The exclusion RE-ROUTES the walked hue to the nearest
|
|
71
68
|
* band EDGE (preserving L/C — no chroma flatten); it is NOT a post-hoc desaturate.
|
|
72
|
-
*
|
|
73
|
-
* precedent: `proof:aurora-atoms-roundtrip` stays GREEN by construction).
|
|
69
|
+
* Leaving it unset preserves the ordinary derivation.
|
|
74
70
|
*/
|
|
75
71
|
avoidHues?: readonly (readonly [number, number])[];
|
|
76
72
|
/**
|
|
77
|
-
*
|
|
73
|
+
* The luminance scheme preset. A
|
|
78
74
|
* derived palette's L band anchors the whole ramp's luminosity; the default
|
|
79
75
|
* `"light"` band ([0.35, 0.95]) reads as a light-pastel field, which composites to a
|
|
80
|
-
* flat gray behind glass in a
|
|
81
|
-
* `W-DARK-MATERIAL` owns). `"dark"` shifts the band toward the luminous-dark identity
|
|
76
|
+
* flat gray behind glass in a dark app shell. `"dark"` shifts the band toward the luminous-dark identity
|
|
82
77
|
* (`DERIVE_L_BAND_DARK`, a deeper base + a lower apex) so a derived-from-seed field
|
|
83
78
|
* reads as a rich luminous-dark wash, not a washed-pale composite. Additive +
|
|
84
79
|
* default-unset → byte-identical derive (the `WarpMode`-additive-widen precedent).
|
|
@@ -86,7 +81,7 @@ export interface DeriveAuroraOptions {
|
|
|
86
81
|
*/
|
|
87
82
|
scheme?: "light" | "dark";
|
|
88
83
|
/**
|
|
89
|
-
*
|
|
84
|
+
* an explicit L band `[min, max]` (OKLCh L units) that OVERRIDES
|
|
90
85
|
* both the default band AND `scheme`. The single retune knob for a consumer whose
|
|
91
86
|
* derived field needs a bespoke luminosity window. Clamped into [0, 1] defensively.
|
|
92
87
|
*/
|
|
@@ -95,13 +90,13 @@ export interface DeriveAuroraOptions {
|
|
|
95
90
|
/**
|
|
96
91
|
* Seed ONE color into a harmonious, gamut-safe N-stop aurora palette.
|
|
97
92
|
*
|
|
98
|
-
* A thin COMPOSING producer over the shipped value.js Ottosson core
|
|
99
|
-
* no color math is re-implemented here). The seed's `{L,C,h}` is the anchor; the
|
|
93
|
+
* A thin COMPOSING producer over the shipped value.js Ottosson core
|
|
94
|
+
* (no color math is re-implemented here). The seed's `{L,C,h}` is the anchor; the
|
|
100
95
|
* ramp spreads L across a painterly band, falls C off toward the pale apex, and
|
|
101
96
|
* walks the hue per `harmony`. EVERY derived stop is gamut-mapped through
|
|
102
|
-
* value.js's `
|
|
97
|
+
* value.js's `mapColorToGamut` so none falls outside sRGB.
|
|
103
98
|
*
|
|
104
|
-
* Deterministic and DOM-free (SSR
|
|
99
|
+
* Deterministic and DOM-free (SSR, happy-dom safe — `cssToOklch` is the only
|
|
105
100
|
* string path and it parses via value.js, not a canvas). The returned length is
|
|
106
101
|
* clamped to `[2, MAX_STOPS]`; L is monotonic ascending across the ramp.
|
|
107
102
|
*
|
|
@@ -1,38 +1,40 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Aurora frame loop — the per-frame draw + the render-demand gate.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* the retired `cursorModel.ts` is GONE. The cursor is now the mapped
|
|
5
5
|
* readout of the SHARED `usePointerVelocityField` (`auroraCursorMapping`): the mass-spring
|
|
6
6
|
* attractor is the cursor position, `engagement · strength` the attraction (so the
|
|
7
|
-
* cursor-local luminance lean reads on the `smooth` medium, not a dead swirl axis),
|
|
8
|
-
* derived
|
|
9
|
-
*
|
|
7
|
+
* cursor-local luminance lean reads on the `smooth` medium, not a dead swirl axis), with
|
|
8
|
+
* the derived burst folded into that strength on the CPU. The field is FED `tick(deltaMs)`
|
|
9
|
+
* from THIS loop (the one-loop discipline — no own
|
|
10
10
|
* rAF) and FREEZES under PRM via the MASTER TEMPO SCALAR (`tick(0)`).
|
|
11
11
|
*
|
|
12
12
|
* `drawFrame` re-sends the per-frame cursor + time uniforms and issues the single
|
|
13
13
|
* full-screen-triangle draw. `needsAnimation` is the demand gate: `false` under
|
|
14
14
|
* reduced-motion (the static frame draws once, then parks), `false` at steady-state (all
|
|
15
15
|
* four drift uniforms 0 AND the field settled — the next frame is pixel-identical), and
|
|
16
|
-
* `true` while drift is live or the field is still easing (engagement
|
|
16
|
+
* `true` while drift is live or the field is still easing (engagement, speed, burst,
|
|
17
17
|
* attractor motion above ε).
|
|
18
18
|
*/
|
|
19
19
|
import type { UniformLocations } from "./glSetup";
|
|
20
20
|
import type { AuroraCursorUniforms } from "./uniformBridge";
|
|
21
21
|
import type { AuroraConfig } from "../constants/presets";
|
|
22
|
-
import type { UsePointerVelocityField } from "../../../composables/motion/usePointerVelocityField";
|
|
22
|
+
import type { UsePointerVelocityField } from "../../../composables/motion/pointer/usePointerVelocityField";
|
|
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). */
|
|
26
26
|
strength: number;
|
|
27
27
|
/** The influence radius (0.05..0.5). */
|
|
28
28
|
radius: number;
|
|
29
|
+
/** The bounded contribution of the pointer-field burst. */
|
|
30
|
+
amplitude: number;
|
|
29
31
|
}
|
|
30
32
|
export interface FrameLoopDeps {
|
|
31
33
|
gl: WebGL2RenderingContext;
|
|
32
34
|
prog: WebGLProgram;
|
|
33
35
|
uniforms: UniformLocations;
|
|
34
36
|
/**
|
|
35
|
-
*
|
|
37
|
+
* the shared viz-pointer-physics field (the ONE cursor source). FED
|
|
36
38
|
* `tick(deltaMs)` from THIS callback (the one-loop discipline — no own rAF). The
|
|
37
39
|
* `auroraCursorMapping` projects its readout onto the `uCursor*` uniforms.
|
|
38
40
|
*/
|
|
@@ -43,6 +45,8 @@ export interface FrameLoopDeps {
|
|
|
43
45
|
getConfig: () => AuroraConfig;
|
|
44
46
|
/** Reduced-motion intent — parks the loop after one static frame. */
|
|
45
47
|
getReducedMotion: () => boolean;
|
|
48
|
+
/** Resolve shader time without altering the pointer field's real frame delta. */
|
|
49
|
+
getRenderTime: (elapsedSec: number) => number;
|
|
46
50
|
}
|
|
47
51
|
export interface FrameLoop {
|
|
48
52
|
/** Advance the field THEN draw — the per-frame step. */
|
|
@@ -53,14 +57,13 @@ export interface FrameLoop {
|
|
|
53
57
|
/**
|
|
54
58
|
* Map an ALREADY-TICKED shared pointer field onto the aurora `uCursor*` uniform shape (the
|
|
55
59
|
* ONE cursor projection both backends — WebGL2 frameLoop + WGSL wgpuSetup — share). The
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
* cannot leak under reduce).
|
|
60
|
+
* iOS-27 gel snap-back augments the field burst before `auroraCursorMapping` folds it
|
|
61
|
+
* into strength. Both shader engines consume the resulting four-value cursor shape.
|
|
59
62
|
*/
|
|
60
63
|
export declare function mapAuroraCursor(pointerField: UsePointerVelocityField, scalars: AuroraCursorScalars, tempo: number): AuroraCursorUniforms;
|
|
61
64
|
/**
|
|
62
65
|
* The demand-gate liveness over the shared field state (the retired `cursorIsLive` over the
|
|
63
|
-
* field) — engaged
|
|
66
|
+
* field) — engaged, moving, bursting, attractor mid-settle.
|
|
64
67
|
*/
|
|
65
68
|
export declare function auroraFieldLive(pointerField: UsePointerVelocityField): boolean;
|
|
66
69
|
export declare function createFrameLoop(deps: FrameLoopDeps): FrameLoop;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Aurora GL setup seam — shader compile/link + geometry + the uniform location
|
|
3
|
-
* cache.
|
|
3
|
+
* cache. `createAuroraGLSetup` calls `createGlProgram` on a
|
|
4
4
|
* fresh context (on arm AND on every webglcontextrestored), so a GPU context loss
|
|
5
5
|
* self-heals: each call rebuilds the program + the full-screen triangle + the
|
|
6
6
|
* `UNIFORM_NAMES` location cache against the fresh `gl`.
|
|
@@ -9,7 +9,12 @@
|
|
|
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
|
-
|
|
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";
|
|
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"];
|
|
13
18
|
export type UniformName = (typeof UNIFORM_NAMES)[number];
|
|
14
19
|
export type UniformLocations = Record<UniformName, WebGLUniformLocation | null>;
|
|
15
20
|
export interface GlProgram {
|
|
@@ -27,3 +32,15 @@ export interface GlProgram {
|
|
|
27
32
|
* the viewport), and resolve the uniform location cache. Leaves the program bound.
|
|
28
33
|
*/
|
|
29
34
|
export declare function createGlProgram(gl: WebGL2RenderingContext, vertexSrc: string, fragmentSrc: string): GlProgram;
|
|
35
|
+
export interface AuroraGLSetupDeps {
|
|
36
|
+
opaquePresentation: boolean;
|
|
37
|
+
getConfig: () => AuroraConfig;
|
|
38
|
+
getReducedMotion: () => boolean;
|
|
39
|
+
getRenderTime: (elapsedSec: number) => number;
|
|
40
|
+
getCursorScalars: () => AuroraCursorScalars;
|
|
41
|
+
pointerField: UsePointerVelocityField;
|
|
42
|
+
imageCoordinator: AuroraImageCoordinator;
|
|
43
|
+
registerConfigUploader: (upload: ((config: AuroraConfig) => void) | null) => void;
|
|
44
|
+
}
|
|
45
|
+
/** Build the WebGL2 program, uniform bridge, frame loop, and teardown as one setup. */
|
|
46
|
+
export declare function createAuroraGLSetup(deps: AuroraGLSetupDeps): (gl: WebGL2RenderingContext) => WebGLCanvasFrame;
|