@mkbabb/glass-ui 6.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 +36 -34
- package/dist/DropdownMenuTrigger-ClIq8RJE.js +93 -0
- package/dist/FeedbackMark-DZq5001h.js +23 -0
- package/dist/Input-9BlLluik.js +77 -0
- package/dist/{PagerDots-BoTQ7g5l.js → PagerDots-BEq0MgtH.js} +85 -81
- 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 +831 -776
- package/dist/axes.js +25 -14
- package/dist/badge-u65NClWn.js +62 -0
- package/dist/badge.js +1 -1
- package/dist/blob-config.js +1 -1
- package/dist/blob.js +442 -395
- 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.js +109 -169
- package/dist/chip-DFZQr6rV.js +129 -0
- 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 +46 -50
- package/dist/{procedural-color.wgsl-B9mLK7v0.js → color.wgsl-Ct5o9dpf.js} +155 -121
- package/dist/command-SFqDQ65h.js +320 -0
- package/dist/command.js +1 -1
- package/dist/completion-seal.js +54 -54
- 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 -1
- 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 -1
- 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 +3 -2
- 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 +2 -3
- package/dist/components/aurora/Aurora.vue.d.ts +37 -42
- 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 +56 -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 +19 -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 -8
- 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 +5 -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 +27 -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 +26 -20
- package/dist/components/button/index.d.ts +1 -9
- package/dist/components/button/styles.css +1 -0
- package/dist/components/card/Card.vue.d.ts +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 -1
- package/dist/components/card/index.d.ts +1 -3
- package/dist/components/card/styles.css +1 -1
- package/dist/components/carousel/index.d.ts +0 -2
- package/dist/components/carousel/interface.d.ts +2 -0
- 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 -1
- 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 +4 -9
- 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/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 -1
- package/dist/components/constellation/Constellation.vue.d.ts +1 -1
- package/dist/components/constellation/composables/createConstellationField.d.ts +2 -2
- package/dist/components/constellation/constants.d.ts +8 -8
- package/dist/components/constellation/constellationField.d.ts +5 -6
- package/dist/components/constellation/constellationInteraction.d.ts +8 -8
- package/dist/components/constellation/constellationTypes.d.ts +53 -54
- package/dist/components/constellation/constellationWell.d.ts +2 -2
- package/dist/components/dark-mode-toggle/DarkModeToggle.vue.d.ts +12 -0
- package/dist/components/dark-mode-toggle/dark-mode-toggle.css +1 -0
- package/dist/components/dark-mode-toggle/index.d.ts +2 -0
- package/dist/components/data-table/DataTable.vue.d.ts +11 -59
- package/dist/components/data-table/composables/useDataTableRowIdentity.d.ts +5 -23
- package/dist/components/data-table/index.d.ts +1 -1
- package/dist/components/data-table/styles.css +1 -0
- package/dist/components/data-table/types.d.ts +10 -12
- package/dist/components/deck/index.d.ts +0 -1
- 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 +27 -90
- 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/{_shared → dialog}/ModalOverlay.vue.d.ts +18 -16
- package/dist/components/dialog/dialogStageContext.d.ts +7 -0
- package/dist/components/dialog/index.d.ts +8 -8
- package/dist/components/dialog/placement.css +1 -1
- package/dist/components/dialog/sheet-motion.d.ts +17 -0
- package/dist/components/dock/DockControl.vue.d.ts +9 -12
- 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/composables/dockContext.d.ts +4 -14
- package/dist/components/dock/composables/dockCrossfadeContext.d.ts +6 -7
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +7 -86
- package/dist/components/dock/composables/index.d.ts +1 -1
- package/dist/components/dock/composables/useDockClickIntegrity.d.ts +1 -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 +4 -6
- package/dist/components/dock/composables/useDockSearch.d.ts +8 -8
- package/dist/components/dock/composables/useDockShellProps.d.ts +46 -43
- package/dist/components/dock/composables/useDockSpring.d.ts +7 -11
- package/dist/components/dock/composables/useDockState.d.ts +12 -3
- package/dist/components/dock/composables/useDockTouchGate.d.ts +14 -23
- package/dist/components/dock/constants.d.ts +5 -78
- package/dist/components/dock/index.d.ts +2 -7
- package/dist/components/dock/styles/controls.css +1 -1
- package/dist/components/dock/styles/crossfade.css +1 -1
- package/dist/components/dock/styles/density.css +1 -1
- package/dist/components/dock/styles/index.css +1 -1
- package/dist/components/dock/styles/layer-group.css +1 -1
- package/dist/components/dock/styles/layers.css +1 -1
- package/dist/components/dock/styles/morph.css +1 -1
- package/dist/components/dock/styles/shape.css +1 -1
- package/dist/components/dock/styles/shell.css +1 -1
- package/dist/components/drawer/Drawer.vue.d.ts +17 -20
- 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 +7 -1
- package/dist/components/drawer/composables/useDrawerSnap.d.ts +3 -1
- package/dist/components/drawer/constants.d.ts +7 -25
- package/dist/components/drawer/index.d.ts +10 -10
- package/dist/components/drawer/styles.css +1 -1
- 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 +15 -8
- package/dist/components/dropdown-menu/index.d.ts +15 -15
- package/dist/components/dropdown-menu/styles.css +1 -0
- package/dist/components/dropdown-menu/useMenuTrigger.d.ts +2 -9
- package/dist/components/easing/composables/useEasingPicker.d.ts +5 -8
- package/dist/components/easing/constants.d.ts +1 -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 +4 -0
- package/dist/components/fading-scroll/constants.d.ts +1 -2
- package/dist/components/fourier-field/FourierField.vue.d.ts +3 -5
- 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 +4 -4
- 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 +1 -1
- 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 +8 -8
- package/dist/components/handmark/index.d.ts +7 -8
- 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 -3
- package/dist/components/infinite-scroll/composables/types.d.ts +1 -1
- 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 -1
- 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 +10 -108
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +3 -23
- 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/composables/liquidGrid.d.ts +5 -5
- 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/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 +5 -13
- package/dist/components/progress/index.d.ts +1 -0
- 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 -1
- package/dist/components/search/FuzzySearch.vue.d.ts +2 -2
- package/dist/components/search/SearchBar.vue.d.ts +2 -2
- 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 -8
- 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 -37
- 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 +1 -1
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +21 -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 -1
- package/dist/components/tabs/styles/segmented.css +1 -1
- 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 +12 -13
- package/dist/components/timeline/GlassTimeline.vue.d.ts +7 -8
- 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 +37 -79
- 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/composables/useTypewriter.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 +11 -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/useGpuSubstrate.d.ts +10 -10
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +1 -1
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +12 -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} +2 -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/{useNumericTransition.d.ts → number/useNumericTransition.d.ts} +2 -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/{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/{springProjection.d.ts → spring/springProjection.d.ts} +3 -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} +3 -3
- 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-CSENXXSy.js → configurator-M5OaIlJd.js} +11 -11
- package/dist/configurator.js +1 -1
- package/dist/{constants-DRZmNIY-.js → constants-nBz23tJE.js} +1 -1
- package/dist/constellation.js +125 -124
- package/dist/{createCanvasLifecycle-hsFkQVdl.js → createCanvasLifecycle-DbXRwjU_.js} +87 -82
- package/dist/dark-mode-toggle.d.ts +1 -0
- package/dist/dark-mode-toggle.js +43 -0
- package/dist/dark.js +1 -1
- package/dist/data-table-BygKg6ZA.js +491 -0
- package/dist/data-table.js +1 -1
- package/dist/deck.js +3 -3
- package/dist/dialog-TNRDkcE4.js +385 -0
- package/dist/dialog.js +1 -1
- package/dist/dock.js +523 -940
- package/dist/dockContext-BUTlGRNJ.js +13 -0
- package/dist/dom.js +52 -114
- package/dist/drawer.js +262 -209
- package/dist/dropdown-menu-BlbnvMaZ.js +507 -0
- package/dist/dropdown-menu.js +2 -2
- package/dist/easing.js +294 -278
- package/dist/expandable-container.js +107 -93
- 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-DEGFGE11.js → flow.wgsl-Cd2GUkPx.js} +2 -2
- package/dist/fonts/README.md +14 -18
- package/dist/forms.js +279 -174
- package/dist/fourier-field.js +148 -148
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +512 -373
- package/dist/handmark.js +4 -4
- package/dist/header-ribbon.js +37 -68
- package/dist/index.d.ts +9 -18
- package/dist/infinite-scroll.js +31 -28
- package/dist/instrument-chassis.js +54 -2
- package/dist/label-DnMqH7jr.js +55 -0
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +291 -214
- package/dist/liquid-grid.js +141 -151
- 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 -165
- package/dist/motion.js +104 -161
- 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 +16 -24
- package/dist/{pointerFieldMappings-CZojkgKj.js → pointerFieldMappings-DP5tla5z.js} +4 -7
- package/dist/popover-BQGYXZyO.js +244 -0
- package/dist/popover.js +1 -1
- package/dist/{presets-CxeNvxuO.js → presets-5myqNv59.js} +1 -1
- package/dist/primitive-B2t2jdqM.js +11 -0
- package/dist/progress-DClbhRAT.js +88 -0
- package/dist/progress.js +1 -1
- package/dist/pulse.js +29 -43
- package/dist/reactive.js +1 -1
- package/dist/resolveCanvasColor-DS_6DBxA.js +82 -0
- package/dist/resolveSurfaceClass-DCZ4PZcy.js +6 -0
- package/dist/{scrollReader-C2oK9Hb8.js → scrollReader-Brf5cQNo.js} +1 -1
- package/dist/search.js +241 -213
- package/dist/select-BcBAyLXA.js +336 -0
- package/dist/select.js +1 -1
- 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 +9 -8
- package/dist/springPresets-rCii5KqX.js +52 -0
- package/dist/status-dot.js +26 -43
- package/dist/styles/accessibility.css +1 -1
- 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 -1
- 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 +4 -9
- package/dist/styles/tokens.ts +5 -9
- 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/view-transition.css +1 -1
- package/dist/{supportsCssTimeline-Dz-GVxXM.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 +141 -169
- 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.js +96 -5
- package/dist/tooltip-Drx5qnw_.js +148 -0
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +222 -193
- package/dist/{useAccentTone-C-p6WdPe.js → useAccentTone-DyInfHXE.js} +2 -2
- package/dist/{useAnimatedNumber-BRVVaFFc.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-B-dbxl9w.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-Cj5fOkTv.js → useTouchGate-B4mzQcHJ.js} +1 -1
- package/dist/vSpecular-DMJo8pfD.js +68 -0
- package/dist/value-DMhh2R94.js +33 -0
- package/dist/watercolor-dot.js +77 -103
- package/package.json +163 -232
- package/dist/DropdownMenuTrigger-BzQtd9lt.js +0 -65
- package/dist/FadingScroll-C1ZWEjmG.js +0 -83
- package/dist/Input-B4WQ_CMc.js +0 -57
- package/dist/Surface-BWRfwyn8.js +0 -59
- package/dist/accent-tone-solve-Dii9ePhK.js +0 -20
- package/dist/badge-C0C-rTBu.js +0 -80
- package/dist/button-32mg6xA8.js +0 -194
- package/dist/card-16xmzIr3.js +0 -303
- package/dist/coalesce-metric-znAcLzkB.js +0 -13
- package/dist/collapsible-bPzS1aQk.js +0 -63
- package/dist/color-swatch.d.ts +0 -1
- package/dist/color-swatch.js +0 -48
- package/dist/command-BjPjUU9z.js +0 -307
- package/dist/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/color-swatch/ColorSwatch.vue.d.ts +0 -22
- package/dist/components/color-swatch/index.d.ts +0 -1
- package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -32
- package/dist/components/controls/dark-mode-toggle.css +0 -1
- package/dist/components/controls/index.d.ts +0 -1
- package/dist/components/data-table/DataTablePagination.vue.d.ts +0 -13
- package/dist/components/dock/DockSection.vue.d.ts +0 -69
- package/dist/components/dock/DockStack.vue.d.ts +0 -73
- package/dist/components/dock/composables/dockMorphContext.d.ts +0 -91
- package/dist/components/dock/composables/useDockFisheye.d.ts +0 -24
- package/dist/components/dock/composables/useDockPopover.d.ts +0 -70
- package/dist/components/dock/styles/fisheye.css +0 -1
- package/dist/components/dock/styles/popover.css +0 -1
- package/dist/components/dock/styles/section.css +0 -1
- package/dist/components/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/styles.css +0 -1
- package/dist/components/icon-chip/types.d.ts +0 -92
- package/dist/components/icon-tooltip/IconTooltip.vue.d.ts +0 -16
- package/dist/components/icon-tooltip/index.d.ts +0 -1
- package/dist/components/instrument-chassis/ChassisDivider.vue.d.ts +0 -30
- package/dist/components/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 -9
- package/dist/components/progress/ProgressGradient.vue.d.ts +0 -26
- package/dist/components/progress/ProgressLiquid.vue.d.ts +0 -22
- package/dist/components/progress/valueMarks.css +0 -1
- package/dist/components/spa-view/SpaView.vue.d.ts +0 -50
- package/dist/components/spa-view/index.d.ts +0 -2
- package/dist/components/split-chars/SplitChars.vue.d.ts +0 -53
- package/dist/components/split-chars/index.d.ts +0 -1
- package/dist/components/tabs/composables/useEyeglassLive.d.ts +0 -17
- package/dist/components/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 -107
- 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 -83
- package/dist/data-table-DveMdgBM.js +0 -629
- package/dist/dialog-BzQxKrUr.js +0 -281
- package/dist/dockContext-4S9qP0Z4.js +0 -13
- package/dist/dropdown-menu-DORIA52F.js +0 -378
- package/dist/focus-scope-DUTKveod.js +0 -23
- package/dist/focus-scope.d.ts +0 -1
- package/dist/focus-scope.js +0 -2
- package/dist/icon-chip-BWuxz1-u.js +0 -57
- package/dist/icon-chip.d.ts +0 -1
- package/dist/icon-chip.js +0 -2
- package/dist/icon-tooltip-CO6rw0dZ.js +0 -25
- package/dist/icon-tooltip.d.ts +0 -1
- package/dist/icon-tooltip.js +0 -2
- package/dist/instrument-chassis-Cvstg4_U.js +0 -65
- package/dist/label-Cj38tJKG.js +0 -36
- package/dist/menuItemVariants-D6AOzzND.js +0 -36
- package/dist/metric-badge.d.ts +0 -1
- package/dist/metric-badge.js +0 -79
- package/dist/metric-cell.d.ts +0 -1
- package/dist/metric-cell.js +0 -61
- package/dist/metric-stack.d.ts +0 -1
- package/dist/metric-stack.js +0 -113
- package/dist/motion-curves.d.ts +0 -1
- package/dist/motion-curves.js +0 -146
- package/dist/notification-DVs7ODMg.js +0 -52
- package/dist/notification.d.ts +0 -1
- package/dist/notification.js +0 -2
- package/dist/number-field-PvkGedHk.js +0 -140
- package/dist/popover-WMgyRSyN.js +0 -256
- package/dist/progress-C-HHuFZy.js +0 -192
- package/dist/resolveCanvasColor-yarP5bdk.js +0 -93
- package/dist/select-BIv4R3Ir.js +0 -326
- package/dist/separator-CBU94kTM.js +0 -62
- package/dist/slider-Cc_qw6GA.js +0 -166
- package/dist/spa-view.d.ts +0 -1
- package/dist/spa-view.js +0 -46
- package/dist/springPresets-h5VKJQqG.js +0 -58
- package/dist/styles/glass/progress-rail.css +0 -1
- package/dist/switch-Boj4Ucn5.js +0 -49
- package/dist/toast-kAbchIN2.js +0 -281
- package/dist/toggle-group-BPchFsns.js +0 -178
- package/dist/tooltip-BmOQJzh0.js +0 -111
- package/dist/useControlSize-CFfOk8I-.js +0 -9
- package/dist/useDockCtaReceive-CK-RLASa.js +0 -257
- package/dist/useDocumentVisibility-YeBDGqtI.js +0 -17
- package/dist/useDragMorph-7ygF9O0m.js +0 -93
- package/dist/useGooMorph-D1F6QJlH.js +0 -349
- package/dist/useLeadTrail-BYu8dq4G.js +0 -74
- package/dist/useLiquidPress-BYcwwGQV.js +0 -68
- package/dist/useMotionAxis-DCCXMC-i.js +0 -20
- package/dist/usePointerVelocityField-BdvnO0py.js +0 -122
- package/dist/useRAFLoop-BtwQ9DyY.js +0 -109
- package/dist/useRoutePointer-BDNMFN73.js +0 -52
- package/dist/useScrollProgress-DZI4nf4v.js +0 -35
- package/dist/useSelectionGroup-LDzBdR1Y.js +0 -215
- package/dist/useSpringMount-C6-DBx4e.js +0 -71
- package/dist/useSpringPress-BypV_KO-.js +0 -36
- package/dist/useSurfaceAxis-DudiZVOR.js +0 -10
- package/dist/useTabRovingFocus-DkLYwo4L.js +0 -143
- package/dist/vReveal-DZfWl9XI.js +0 -10
- package/dist/vSpecular-CQFmLNzA.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/accessibility.css +0 -48
- package/src/styles/animations.css +0 -468
- package/src/styles/draw-in.css +0 -89
- package/src/styles/fonts.css +0 -143
- package/src/styles/glass/a11y-fallback.css +0 -188
- package/src/styles/glass/accent-tone.css +0 -66
- package/src/styles/glass/control-surfaces.css +0 -171
- package/src/styles/glass/deep.css +0 -114
- package/src/styles/glass/defined.css +0 -88
- package/src/styles/glass/glass-atom.css +0 -247
- package/src/styles/glass/glass-capsule.css +0 -175
- package/src/styles/glass/glass-chip.css +0 -211
- package/src/styles/glass/grain-overlay.css +0 -79
- package/src/styles/glass/ladder-undershadow.css +0 -61
- package/src/styles/glass/ladder.css +0 -452
- package/src/styles/glass/liquid-enter.css +0 -240
- package/src/styles/glass/liquid-fill.css +0 -65
- package/src/styles/glass/material-roles.css +0 -18
- package/src/styles/glass/material.css +0 -500
- package/src/styles/glass/progress-rail.css +0 -78
- package/src/styles/glass/reveal.css +0 -333
- package/src/styles/glass/rim.css +0 -122
- package/src/styles/glass/squircle.css +0 -58
- package/src/styles/glass/surface-axis.css +0 -136
- package/src/styles/glass/surfaces-pager.css +0 -79
- package/src/styles/glass/surfaces.css +0 -434
- package/src/styles/glass-refract.css +0 -112
- package/src/styles/glass-specular-track.css +0 -74
- package/src/styles/glass.css +0 -110
- package/src/styles/index.css +0 -288
- package/src/styles/paper.css +0 -187
- package/src/styles/scroll-choreography.css +0 -294
- package/src/styles/scroll-chrome.css +0 -123
- package/src/styles/scroll-driven.css +0 -123
- package/src/styles/theme/bridges.css +0 -380
- package/src/styles/theme/dark.css +0 -7
- package/src/styles/theme/literals.css +0 -104
- package/src/styles/theme/radius.css +0 -148
- package/src/styles/theme.css +0 -33
- package/src/styles/tokens/color-radius.css +0 -308
- package/src/styles/tokens/dark-arm-glass.css +0 -55
- package/src/styles/tokens/dark-arm.css +0 -455
- package/src/styles/tokens/glass-deep.css +0 -126
- package/src/styles/tokens/glass-fx.css +0 -480
- package/src/styles/tokens/glass.css +0 -477
- package/src/styles/tokens/light-dark.css +0 -216
- package/src/styles/tokens/motion-registers.css +0 -93
- package/src/styles/tokens/offsets.css +0 -142
- package/src/styles/tokens/on-glass-fg.css +0 -39
- package/src/styles/tokens/property-regs-specular.css +0 -160
- package/src/styles/tokens/property-regs.css +0 -448
- package/src/styles/tokens/scale-paper.css +0 -495
- package/src/styles/tokens/scheme-motion.css +0 -425
- package/src/styles/tokens/scheme-spring.css +0 -282
- package/src/styles/tokens/scroll-tokens.css +0 -137
- package/src/styles/tokens/shadow.css +0 -206
- package/src/styles/tokens/sizing-config.css +0 -110
- package/src/styles/tokens/sizing.css +0 -505
- package/src/styles/tokens.css +0 -68
- package/src/styles/tokens.ts +0 -58
- package/src/styles/transitions.css +0 -228
- package/src/styles/typography/scale.css +0 -166
- package/src/styles/typography/semantic.css +0 -233
- package/src/styles/typography/utilities.css +0 -197
- package/src/styles/typography.css +0 -46
- package/src/styles/utilities/a11y-overrides.css +0 -184
- package/src/styles/utilities/base-misc.css +0 -307
- package/src/styles/utilities/base.css +0 -337
- package/src/styles/utilities/btn.css +0 -306
- package/src/styles/utilities/components.css +0 -337
- package/src/styles/utilities/metal.css +0 -272
- package/src/styles/utilities.css +0 -24
- package/src/styles/view-transition.css +0 -67
- package/src/styles/viz-reveal.css +0 -63
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{compile-DK3Fri1B.js → compile-D7VYG3gi.js} +0 -0
- /package/dist/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/{useAnimatedNumber.d.ts → number/useAnimatedNumber.d.ts} +0 -0
- /package/dist/composables/motion/{useAnimatedNumberMap.d.ts → number/useAnimatedNumberMap.d.ts} +0 -0
- /package/dist/composables/motion/{useCountup.d.ts → number/useCountup.d.ts} +0 -0
- /package/dist/composables/motion/{useRoutePointer.d.ts → pointer/useRoutePointer.d.ts} +0 -0
- /package/dist/composables/motion/{useTextHighlight.d.ts → reveal/useTextHighlight.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-FU0n5MGK.js → createContext-BhkE9mLH.js} +0 -0
- /package/dist/{dark-DIH-blY1.js → dark-z_P5QwqI.js} +0 -0
- /package/dist/{motionTempo-CMS5b0Vu.js → motionTempo-tscp92Nm.js} +0 -0
- /package/dist/{prng-Dz2_9RJu.js → prng-2uS6J_A1.js} +0 -0
- /package/dist/{rendererStatus-C2-zC2Q-.js → rendererStatus-BxUlBLVy.js} +0 -0
- /package/dist/{useDragVelocity-CbMZEBaC.js → useDragVelocity-6ONX0sr0.js} +0 -0
- /package/dist/{useFuzzySearch-BOgep7RE.js → useFuzzySearch-CUnZknpm.js} +0 -0
- /package/dist/{useResizeObserver-BcUTquV7.js → useResizeObserver-CdUlm2QZ.js} +0 -0
- /package/dist/{useResolveTokenColor-C07e-qaT.js → useResolveTokenColor-B2FfJnd9.js} +0 -0
- /package/dist/{useTimer-D8koDvJS.js → useTimer-C3yfti4C.js} +0 -0
- /package/dist/{useUserInvalidAria-Cr4nR3tu.js → useUserInvalidAria-0GNrddMX.js} +0 -0
- /package/dist/{valueDomain-B8L04u3U.js → valueDomain-SbVzoHMH.js} +0 -0
- /package/dist/{writeVelocityWeight-D_AcvTsE.js → writeVelocityWeight-DoGOCW3e.js} +0 -0
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type __VLS_Props = ComboboxItemProps & {
|
|
4
|
-
class?: HTMLAttributes['class'];
|
|
5
|
-
};
|
|
6
|
-
declare var __VLS_8: {};
|
|
1
|
+
import type { ComboboxItemProps } from "../combobox/types";
|
|
2
|
+
declare var __VLS_10: {};
|
|
7
3
|
type __VLS_Slots = {} & {
|
|
8
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_10) => any;
|
|
9
5
|
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
11
|
-
select: (event: import("
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
13
|
-
onSelect?: ((event: import("
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComboboxItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
select: (event: import("../_shared/interaction").ListboxItemSelectEvent<import("../_shared/selection").SelectionValue>) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<ComboboxItemProps> & Readonly<{
|
|
9
|
+
onSelect?: ((event: import("../_shared/interaction").ListboxItemSelectEvent<import("../_shared/selection").SelectionValue>) => any) | undefined;
|
|
14
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { type Surface } from '../_shared/useSurfaceAxis';
|
|
4
|
-
type __VLS_Props = ComboboxContentProps & {
|
|
5
|
-
class?: HTMLAttributes['class'];
|
|
6
|
-
surface?: Surface;
|
|
7
|
-
};
|
|
8
|
-
declare var __VLS_8: {};
|
|
1
|
+
import type { CommandListProps } from "./types";
|
|
2
|
+
declare var __VLS_13: {};
|
|
9
3
|
type __VLS_Slots = {} & {
|
|
10
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_13) => any;
|
|
11
5
|
};
|
|
12
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<CommandListProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
7
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
14
|
-
pointerDownOutside: (event: import("
|
|
15
|
-
focusOutside: (event: import("
|
|
16
|
-
interactOutside: (event: import("
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
8
|
+
pointerDownOutside: (event: import("../_shared/interaction").PointerDownOutsideEvent) => any;
|
|
9
|
+
focusOutside: (event: import("../_shared/interaction").FocusOutsideEvent) => any;
|
|
10
|
+
interactOutside: (event: import("../_shared/interaction").PointerDownOutsideEvent | import("../_shared/interaction").FocusOutsideEvent) => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<CommandListProps> & Readonly<{
|
|
18
12
|
onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
19
|
-
onPointerDownOutside?: ((event: import("
|
|
20
|
-
onFocusOutside?: ((event: import("
|
|
21
|
-
onInteractOutside?: ((event: import("
|
|
13
|
+
onPointerDownOutside?: ((event: import("../_shared/interaction").PointerDownOutsideEvent) => any) | undefined;
|
|
14
|
+
onFocusOutside?: ((event: import("../_shared/interaction").FocusOutsideEvent) => any) | undefined;
|
|
15
|
+
onInteractOutside?: ((event: import("../_shared/interaction").PointerDownOutsideEvent | import("../_shared/interaction").FocusOutsideEvent) => any) | undefined;
|
|
22
16
|
}>, {
|
|
23
|
-
surface: Surface;
|
|
24
|
-
disableOutsidePointerEvents: boolean;
|
|
17
|
+
surface: import("../..").Surface;
|
|
25
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { ComboboxSeparatorProps } from 'reka-ui';
|
|
3
|
-
type __VLS_Props = ComboboxSeparatorProps & {
|
|
4
|
-
class?: HTMLAttributes['class'];
|
|
5
|
-
};
|
|
1
|
+
import type { ComboboxSeparatorProps } from "../combobox/types";
|
|
6
2
|
declare var __VLS_8: {};
|
|
7
3
|
type __VLS_Slots = {} & {
|
|
8
4
|
default?: (props: typeof __VLS_8) => any;
|
|
9
5
|
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
6
|
+
declare const __VLS_base: import("vue").DefineComponent<ComboboxSeparatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ComboboxSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
7
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
8
|
declare const _default: typeof __VLS_export;
|
|
13
9
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { default as Command } from
|
|
2
|
-
export { default as CommandDialog } from
|
|
3
|
-
export { default as CommandEmpty } from
|
|
4
|
-
export { default as CommandGroup } from
|
|
5
|
-
export { default as CommandInput } from
|
|
6
|
-
export { default as CommandItem } from
|
|
7
|
-
export { default as CommandList } from
|
|
8
|
-
export { default as CommandSeparator } from
|
|
9
|
-
export { default as CommandShortcut } from
|
|
10
|
-
export type {
|
|
1
|
+
export { default as Command } from "./Command.vue";
|
|
2
|
+
export { default as CommandDialog } from "./CommandDialog.vue";
|
|
3
|
+
export { default as CommandEmpty } from "./CommandEmpty.vue";
|
|
4
|
+
export { default as CommandGroup } from "./CommandGroup.vue";
|
|
5
|
+
export { default as CommandInput } from "./CommandInput.vue";
|
|
6
|
+
export { default as CommandItem } from "./CommandItem.vue";
|
|
7
|
+
export { default as CommandList } from "./CommandList.vue";
|
|
8
|
+
export { default as CommandSeparator } from "./CommandSeparator.vue";
|
|
9
|
+
export { default as CommandShortcut } from "./CommandShortcut.vue";
|
|
10
|
+
export type { CommandDialogEmits, CommandDialogProps, CommandEmits, CommandListProps, CommandProps, } from "./types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.command { display: flex; width: 100%; height: 100%; flex-direction: column; overflow: hidden; border-radius: var(--radius-panel); color: var(--popover-foreground); } .command-dialog__content { overflow: hidden; padding: 0; } .command__input-wrapper { display: flex; align-items: center; border-block-end: 1px solid var(--border); padding-inline: 0.75rem; } .command__input-icon { width: 1rem; height: 1rem; flex: none; margin-inline-end: 0.5rem; opacity: 0.5; } .command-dialog__content .command__input-icon, .command-dialog__content .command__item > svg { width: 1.25rem; height: 1.25rem; } .command__input { width: 100%; height: var(--dropdown-input-height); border: 0; border-radius: var(--radius-input); outline: 0; background: transparent; padding-block: 0.75rem; color: inherit; font: inherit; font-size: var(--dropdown-text); } .command-dialog__content .command__input { height: 3rem; } .command__input::placeholder { color: var(--muted-foreground); } .command__input:disabled { cursor: not-allowed; opacity: var(--opacity-disabled); } .command__list { max-height: var(--overlay-max-block); overflow-x: hidden; overflow-y: auto; scrollbar-gutter: stable; padding: var(--panel-padding); } .command__group { overflow: hidden; padding: 0.25rem; color: var(--foreground); } .command__group-label { padding: 0.375rem 0.5rem; color: var(--muted-foreground); font-size: var(--dropdown-text-secondary); font-weight: 500; } .command__item { position: relative; display: flex; width: 100%; align-items: center; padding: 0.375rem 0.5rem; cursor: default; outline: none; color: inherit; font-size: var(--dropdown-text); user-select: none; } .command-dialog__content .command__item { padding-block: 0.75rem; } .command__item[data-disabled] { pointer-events: none; cursor: not-allowed; opacity: var(--opacity-disabled); } .command__empty { padding-block: 1.5rem; text-align: center; font-size: var(--dropdown-text); } .command__separator { height: 1px; margin-inline: -0.25rem; background: var(--border); } .command__shortcut { margin-inline-start: auto; color: var(--muted-foreground); font-size: var(--dropdown-text-secondary); letter-spacing: 0.1em; }
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
import type { Surface } from "../_shared/axes";
|
|
3
|
+
import type { DialogProps } from "../dialog/Dialog.vue";
|
|
4
|
+
import type { ComboboxValue } from "../combobox/types";
|
|
5
|
+
export interface CommandProps {
|
|
6
|
+
modelValue?: ComboboxValue;
|
|
7
|
+
open?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
class?: HTMLAttributes["class"];
|
|
10
|
+
surface?: Surface;
|
|
11
|
+
}
|
|
12
|
+
export interface CommandEmits {
|
|
13
|
+
"update:modelValue": [value: ComboboxValue];
|
|
14
|
+
"update:open": [value: boolean];
|
|
15
|
+
}
|
|
16
|
+
export interface CommandDialogProps extends DialogProps {
|
|
17
|
+
surface?: Surface;
|
|
18
|
+
modelValue?: ComboboxValue;
|
|
19
|
+
}
|
|
20
|
+
export interface CommandDialogEmits {
|
|
21
|
+
"update:open": [value: boolean];
|
|
22
|
+
"update:modelValue": [value: ComboboxValue];
|
|
23
|
+
}
|
|
24
|
+
export interface CommandListProps {
|
|
25
|
+
class?: HTMLAttributes["class"];
|
|
26
|
+
surface?: Surface;
|
|
27
|
+
}
|
|
@@ -4,7 +4,7 @@ export interface CompletionSealProps {
|
|
|
4
4
|
shape?: CompletionSealShape;
|
|
5
5
|
/**
|
|
6
6
|
* The accessible completion announcement (the `role="status"`/`aria-live` text — a
|
|
7
|
-
* screen reader hears "
|
|
7
|
+
* screen reader hears "Task complete", etc.). The gold mark is the visual.
|
|
8
8
|
*/
|
|
9
9
|
label?: string;
|
|
10
10
|
/**
|
|
@@ -14,7 +14,7 @@ export interface CompletionSealProps {
|
|
|
14
14
|
*/
|
|
15
15
|
play?: boolean;
|
|
16
16
|
/**
|
|
17
|
-
* The earned-gold garnish
|
|
17
|
+
* The earned-gold garnish — the result exceeded the user's
|
|
18
18
|
* historical best. Arms `[data-best]`, which re-points `--seal-ink` onto the brighter
|
|
19
19
|
* `--seal-best` earned-gold register (a colour LIFT within the gold family — gold is
|
|
20
20
|
* EARNED, Q2). Compositor-only; the base seal ink stays the completion register.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* - `ring` — a ring/circle around the completion (a seal around the event).
|
|
5
5
|
* - `disc` — the composed earned-coin gesture: a filled gold disc FACE with the ring
|
|
6
6
|
* stroke-draw affirmation around it and the check draw-in inside, SEQUENCED
|
|
7
|
-
* disc→ring→check (the hero completion coin
|
|
7
|
+
* disc→ring→check (the hero completion coin).
|
|
8
8
|
* - `wordmark` — a self-contained seal mark (a stylized seal glyph).
|
|
9
9
|
*
|
|
10
10
|
* `check`/`ring`/`wordmark` share the ONE gold-draw mechanism (the `--seal-draw`
|
|
@@ -53,7 +53,7 @@ export declare const COMPLETION_SEAL_DISC: {
|
|
|
53
53
|
readonly r: 21;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
|
-
* The SPRING register the draw rides (SPRING-EASE
|
|
56
|
+
* The SPRING register the draw rides (SPRING-EASE, P2 enter-bouncy):
|
|
57
57
|
* - the SETTLE leg (the spatial overshoot) rides `--spring-bouncy` (an ENTER may
|
|
58
58
|
* overshoot on arrival);
|
|
59
59
|
* - the DRAW + GLINT legs ride the `--spring-snappy` CLOCK (the snappy settle duration)
|
|
@@ -34,14 +34,14 @@ export type ConfiguratorAsideSide = "left" | "right";
|
|
|
34
34
|
* frame — the §2.1 reflow (gallery up-top + larger + scrollable). The stage +
|
|
35
35
|
* controls reclaim the full height below it. An additive axis: the grid arm is
|
|
36
36
|
* the precompiled `[data-slot=configurator][data-gallery=top]` rule in
|
|
37
|
-
* configurator.css (never a dead JIT bracket — the
|
|
37
|
+
* configurator.css (never a dead JIT bracket — the lesson).
|
|
38
38
|
*/
|
|
39
39
|
export type ConfiguratorGalleryPlacement = "aside" | "top";
|
|
40
40
|
/**
|
|
41
41
|
* Generic preset descriptor. Consumers pass `T` as the live config shape.
|
|
42
42
|
* The primitive carries no preset semantics beyond `key + label` for
|
|
43
43
|
* the picker row and `config: T` for the active payload — preset
|
|
44
|
-
* selection
|
|
44
|
+
* selection, diff-from-preset, reset semantics live in the optional
|
|
45
45
|
* `useConfiguratorState<T>` composable.
|
|
46
46
|
*/
|
|
47
47
|
export interface ConfiguratorPreset<T> {
|
|
@@ -68,10 +68,10 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
68
68
|
/** Scroll behavior for the controls column. Default: `auto`. */
|
|
69
69
|
scrollMode?: ConfiguratorScrollMode;
|
|
70
70
|
/**
|
|
71
|
-
* Row-level density axis
|
|
71
|
+
* Row-level density axis. Cascades to descendant
|
|
72
72
|
* `<ConfiguratorRow>` children via provide/inject. A row may
|
|
73
73
|
* override locally by setting its own `size` prop (prop wins
|
|
74
|
-
* over inject). Default `"md"`
|
|
74
|
+
* over inject). Default `"md"` uses the
|
|
75
75
|
* `gap-1.5 py-2` recipe exactly.
|
|
76
76
|
*/
|
|
77
77
|
size?: ConfiguratorSize;
|
|
@@ -93,7 +93,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
93
93
|
* Aside width band at `lg`+ width, as a CSS length pair driving
|
|
94
94
|
* `minmax(--configurator-aside-min, --configurator-aside-max)`. The
|
|
95
95
|
* prop sets the two inline custom properties; consumers may instead
|
|
96
|
-
* (or also) set `--configurator-aside-min
|
|
96
|
+
* (or also) set `--configurator-aside-min`, `--configurator-aside-max`
|
|
97
97
|
* via the cascade. Default band is `280px`/`360px`. Pass a single
|
|
98
98
|
* length to pin the band (`min === max`), or a `[min, max]` pair.
|
|
99
99
|
*/
|
|
@@ -149,7 +149,7 @@ declare const __VLS_export: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_se
|
|
|
149
149
|
(e: "reset"): void;
|
|
150
150
|
};
|
|
151
151
|
}>) => import("vue").VNode & {
|
|
152
|
-
__ctx?: Awaited<typeof __VLS_setup
|
|
152
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
153
153
|
};
|
|
154
154
|
declare const _default: typeof __VLS_export;
|
|
155
155
|
export default _default;
|
|
@@ -11,25 +11,21 @@ import { type HTMLAttributes } from "vue";
|
|
|
11
11
|
* SegmentedTabs / DockLayerGroup at the parent governs which layer is
|
|
12
12
|
* active).
|
|
13
13
|
*
|
|
14
|
-
*
|
|
14
|
+
* Recursion-free reveal
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
|
-
* reka-ui to drive the height transition. Under Lighthouse's strict cold-
|
|
18
|
-
* load discipline (CPU throttle + network throttle + headless Chrome
|
|
19
|
-
* stable layout gating) this surfaced a watcher-graph race inside reka-
|
|
20
|
-
* ui's `<Presence>` + `<CollapsibleContent>` height-measurement watchers
|
|
21
|
-
* — `getComputedStyle(node).animationName` + `getBoundingClientRect()`
|
|
22
|
-
* reads inside a `watch([isOpen, presentRef.value?.present])` callback
|
|
23
|
-
* created a non-convergent loop that tripped Vue's 100-iteration
|
|
24
|
-
* recursion cap on `<Configurator>`.
|
|
25
|
-
*
|
|
26
|
-
* This component now uses the canonical CSS-only animated-reveal pattern
|
|
16
|
+
* The reveal is the canonical CSS-only animated-reveal pattern
|
|
27
17
|
* (`grid-template-rows: 0fr ↔ 1fr` with `transition-[grid-template-rows]`)
|
|
28
|
-
* which requires no JS watchers and produces no reactive graph.
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
18
|
+
* which requires no JS watchers and produces no reactive graph. A
|
|
19
|
+
* JS-watcher collapsible (a reka-ui `<Collapsible>` + `<CollapsibleContent>`
|
|
20
|
+
* height transition) is deliberately NOT used: under Lighthouse's strict cold-
|
|
21
|
+
* load discipline (CPU throttle + network throttle + headless Chrome
|
|
22
|
+
* stable layout gating) reka-ui's `<Presence>` + `<CollapsibleContent>`
|
|
23
|
+
* height-measurement watchers — `getComputedStyle(node).animationName` +
|
|
24
|
+
* `getBoundingClientRect()` reads inside a `watch([isOpen,
|
|
25
|
+
* presentRef.value?.present])` callback — form a non-convergent loop that
|
|
26
|
+
* trips Vue's 100-iteration recursion cap on `<Configurator>`. The
|
|
27
|
+
* a11y surface (`role="button"` + `aria-expanded` + `aria-controls`) is the
|
|
28
|
+
* standard collapsible shape.
|
|
33
29
|
*/
|
|
34
30
|
type __VLS_Props = {
|
|
35
31
|
/** Header label (large, semantic). */
|
|
@@ -43,7 +39,7 @@ type __VLS_Props = {
|
|
|
43
39
|
/**
|
|
44
40
|
* Opt-in inter-row hairline. When set, sibling rows inside the body
|
|
45
41
|
* are separated by a `border-border/30` top rule (the first row stays
|
|
46
|
-
* flush). Default `false` keeps the body gap-only
|
|
42
|
+
* flush). Default `false` keeps the body gap-only.
|
|
47
43
|
*/
|
|
48
44
|
dividers?: boolean;
|
|
49
45
|
class?: HTMLAttributes["class"];
|
|
@@ -13,15 +13,14 @@ import { type ConfiguratorSize } from "./size";
|
|
|
13
13
|
*
|
|
14
14
|
* # The double-label API (value.js L14)
|
|
15
15
|
*
|
|
16
|
-
* The label header is a first-class
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* spec reference, or a live numeric readout). All three are declarative props,
|
|
16
|
+
* The label header is a first-class triple: `label` (primary sans medium), the optional
|
|
17
|
+
* `sub` (secondary descriptive text paired inline), and the optional `name` (a mono token,
|
|
18
|
+
* specification reference, or live numeric readout). All three are declarative props,
|
|
20
19
|
* so a consumer expresses a "double-label" row (primary + secondary) WITHOUT a
|
|
21
20
|
* `:deep()` reach into the slot or a hand-rolled in-slot sans+mono pair. Use
|
|
22
21
|
* `sub` for a descriptive secondary label and `name` for a mono token/value.
|
|
23
22
|
*
|
|
24
|
-
* # Size axis
|
|
23
|
+
* # Size axis
|
|
25
24
|
*
|
|
26
25
|
* The row honors a three-rung size axis (`sm` | `md` | `lg`).
|
|
27
26
|
* Resolution order:
|
|
@@ -36,21 +35,19 @@ import { type ConfiguratorSize } from "./size";
|
|
|
36
35
|
* `"md"` rung is functionally identical to the no-size
|
|
37
36
|
* fallback; it exists so consumers can be explicit.
|
|
38
37
|
*
|
|
39
|
-
* # ConfiguratorRow vs LabeledField
|
|
38
|
+
* # ConfiguratorRow vs LabeledField
|
|
40
39
|
*
|
|
41
40
|
* Both are "label (+ meta) above/beside a slotted control", but they are NOT
|
|
42
41
|
* interchangeable — they emphasize DIFFERENT features:
|
|
43
|
-
* - **ConfiguratorRow** (this) — for TOKEN
|
|
42
|
+
* - **ConfiguratorRow** (this) — for TOKEN, PRESET controls. Carries the
|
|
44
43
|
* token-`name` reference, the opt-in `reset` affordance (`canReset`), and the
|
|
45
44
|
* three-rung `size` axis (local-prop-over-inject). No a11y for/id wiring.
|
|
46
|
-
* - **LabeledField** — for
|
|
47
|
-
*
|
|
48
|
-
* asterisk, and the `aria-live` `error` region.
|
|
45
|
+
* - **LabeledField** — for form controls. Carries stable label, description,
|
|
46
|
+
* error, requirement, state, and layout associations without styling the control.
|
|
49
47
|
*
|
|
50
|
-
* Reach for ConfiguratorRow
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* `docs/precepts/design-idioms.md §9`, alongside the `cn`/`focus-ring` keeps.
|
|
48
|
+
* Reach for ConfiguratorRow only when token metadata or reset is the content;
|
|
49
|
+
* use LabeledField directly for an accessible form control, including inside a
|
|
50
|
+
* Configurator. Never nest both solely to repeat a label.
|
|
54
51
|
*/
|
|
55
52
|
type __VLS_Props = {
|
|
56
53
|
/** Display label (top-left, primary). */
|
|
@@ -62,16 +59,16 @@ type __VLS_Props = {
|
|
|
62
59
|
* a two-part label declaratively — no `:deep()` reach, no in-slot label pair.
|
|
63
60
|
*/
|
|
64
61
|
sub?: string;
|
|
65
|
-
/** Optional token name
|
|
62
|
+
/** Optional token name, spec reference (right of label, monospaced). */
|
|
66
63
|
name?: string;
|
|
67
|
-
/** Optional helper
|
|
64
|
+
/** Optional helper, value description (below the control). */
|
|
68
65
|
description?: string;
|
|
69
66
|
/** Show the reset affordance (top-right). */
|
|
70
67
|
canReset?: boolean;
|
|
71
68
|
/**
|
|
72
69
|
* Size rung. Overrides the value injected by an ancestor
|
|
73
70
|
* `<Configurator>` when set. Omit to follow the inject (or to fall
|
|
74
|
-
* back to the
|
|
71
|
+
* back to the `gap-1.5 py-2` recipe when there is no
|
|
75
72
|
* ancestor configurator).
|
|
76
73
|
*/
|
|
77
74
|
size?: ConfiguratorSize;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import type { ComputedRef } from "vue";
|
|
2
2
|
/**
|
|
3
|
-
* Size axis for `<Configurator>`
|
|
4
|
-
*
|
|
5
|
-
* `"mobile"` rung is DROPPED — a coarse-pointer state is a `@media(pointer:coarse)`
|
|
6
|
-
* concern, never a scale rung (axes.ts §sub-range-law).
|
|
3
|
+
* Size axis for `<Configurator>` and `<ConfiguratorRow>`. Coarse-pointer state is a
|
|
4
|
+
* `@media(pointer:coarse)` concern, not a scale rung.
|
|
7
5
|
*
|
|
8
|
-
* - `"sm"`
|
|
9
|
-
* - `"md"`
|
|
10
|
-
* - `"lg"`
|
|
6
|
+
* - `"sm"` — slightly tighter than the default for dense studios.
|
|
7
|
+
* - `"md"` — the default; matches the `gap-1.5 py-2` recipe.
|
|
8
|
+
* - `"lg"` — generous gap for demos and settings surfaces.
|
|
11
9
|
*
|
|
12
10
|
* The `<Configurator>` provides its `size` prop to descendants via
|
|
13
11
|
* `provide`/`inject` (key: `configuratorSize`). A `<ConfiguratorRow>` may override
|
|
@@ -1 +1 @@
|
|
|
1
|
-
:root { --configurator-pad-inline: 1rem; --configurator-section-gap: 0.5rem; } .configurator-section-label { font-family: var(--font-text); font-size: var(--configurator-section-size); line-height: var(--type-leading-body); font-weight: var(--configurator-section-weight); letter-spacing: var(--type-tracking-tight); color: var(--foreground); } .configurator-presets { padding-block: var(--configurator-preset-row-weight); } .configurator-presets .configurator-gallery-track, .configurator-presets [role="group"] { gap: var(--configurator-preset-row-gap); } .configurator-layer { border-color: var(--configurator-divider-section); background-color: var(--configurator-section-tint); border-radius: max( var(--radius-floor), calc(var(--radius-ctx) - var(--radius-inset)) ); } .configurator-layer + .configurator-layer { margin-block-start: var(--configurator-section-gap); } .configurator-layer-trigger { padding-inline: var(--configurator-pad-inline); } .configurator-layer-body { padding-inline: var(--configurator-pad-inline); } .configurator-layer-body[data-dividers] > * + * { border-color: var(--configurator-divider); } .configurator-aside, .configurator-presets, .configurator-footer { border-color: var(--configurator-divider); } [data-slot="configurator"] > [data-gallery-dock] { grid-row: 1; grid-column: 1; } [data-slot="configurator"] > .configurator-stage { grid-row: 2; grid-column: 1; } [data-slot="configurator"] > .configurator-aside { grid-row: 3; grid-column: 1; } @media (min-width: 1024px) { [data-slot="configurator"] { grid-template-columns: minmax(0, 1fr) minmax( var(--configurator-aside-min, 280px), var(--configurator-aside-max, 360px) ); grid-template-rows: auto minmax(0, 1fr); } [data-slot="configurator"][data-gallery="aside"] > [data-gallery-dock] { grid-row: 1; grid-column: 2; } [data-slot="configurator"][data-gallery="aside"] > .configurator-stage { grid-row: 1 / span 2; grid-column: 1; } [data-slot="configurator"][data-gallery="aside"] > .configurator-aside { grid-row: 2; grid-column: 2; } [data-slot="configurator"][data-gallery="top"] > [data-gallery-dock] { grid-row: 1; grid-column: 1 / span 2; } [data-slot="configurator"][data-gallery="top"] > .configurator-stage { grid-row: 2; grid-column: 1; } [data-slot="configurator"][data-gallery="top"] > .configurator-aside { grid-row: 2; grid-column: 2; } } [data-slot="configurator"] > [data-gallery-dock] { border-color: var(--configurator-divider); } [data-slot="configurator"][data-gallery="aside"] > [data-gallery-dock] { border-bottom-width: 1px; } @media (min-width: 1024px) { [data-slot="configurator"][data-gallery="top"] > [data-gallery-dock] { border-bottom-width: 1px; } } .configurator-preset-tile { inline-size: clamp(160px, 22vw, 232px); border-radius: var(--radius-card); } [data-slot="configurator"][data-gallery="top"] .configurator-preset-tile { inline-size: clamp(200px, 20vw, 288px); } .configurator-preset-well { background-size: cover; background-position: center; image-rendering: auto; } .configurator-preset-well.is-loading { background-image: linear-gradient( 100deg, color-mix(in oklab, var(--card) 84%, transparent) 30%, color-mix(in oklab, var(--foreground) 8%, var(--card)) 50%, color-mix(in oklab, var(--card) 84%, transparent) 70% ); background-size: 200% 100%; animation: configurator-preset-shimmer 1.2s ease-in-out infinite; } @media (prefers-reduced-motion: reduce) { .configurator-preset-well.is-loading { animation: none; } } @keyframes configurator-preset-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } .configurator-preset-tile.is-active { box-shadow: inset 0 0 0 2px var(--focus-ring-color), var(--shadow-cartoon-lg); } .configurator-preset-chip { border-radius: var(--radius-pill); } .configurator-preset-chip.is-active { --glass-capsule-fill: var(--glass-bg-quiet); } @media (min-width: 1024px) { [data-slot="configurator"][data-aside-side="left"] > .configurator-stage { grid-column: 2; } [data-slot="configurator"][data-aside-side="left"] > .configurator-aside { grid-column: 1; } [data-slot="configurator"][data-aside-side="left"][data-gallery="aside"] > [data-gallery-dock] { grid-column: 1; } }
|
|
1
|
+
:root { --configurator-pad-inline: 1rem; --configurator-section-gap: 0.5rem; } .configurator { -webkit-backdrop-filter: none; backdrop-filter: none; } .configurator > .configurator-presets, .configurator > .configurator-aside { -webkit-backdrop-filter: var(--glass-blur-floating); backdrop-filter: var(--glass-blur-floating); } .configurator-section-label { font-family: var(--font-text); font-size: var(--configurator-section-size); line-height: var(--type-leading-body); font-weight: var(--configurator-section-weight); letter-spacing: var(--type-tracking-tight); color: var(--foreground); } .configurator-presets { padding-block: var(--configurator-preset-row-weight); } .configurator-presets .configurator-gallery-track, .configurator-presets [role="group"] { gap: var(--configurator-preset-row-gap); } .configurator-layer { border-color: var(--configurator-divider-section); background-color: var(--configurator-section-tint); border-radius: max( var(--radius-floor), calc(var(--radius-ctx) - var(--radius-inset)) ); } .configurator-layer + .configurator-layer { margin-block-start: var(--configurator-section-gap); } .configurator-layer-trigger { padding-inline: var(--configurator-pad-inline); } .configurator-layer-body { padding-inline: var(--configurator-pad-inline); } .configurator-layer-body[data-dividers] > * + * { border-color: var(--configurator-divider); } .configurator-aside, .configurator-presets, .configurator-footer { border-color: var(--configurator-divider); } [data-slot="configurator"] > [data-gallery-dock] { grid-row: 1; grid-column: 1; } [data-slot="configurator"] > .configurator-stage { grid-row: 2; grid-column: 1; } [data-slot="configurator"] > .configurator-aside { grid-row: 3; grid-column: 1; } @media (min-width: 1024px) { [data-slot="configurator"] { grid-template-columns: minmax(0, 1fr) minmax( var(--configurator-aside-min, 280px), var(--configurator-aside-max, 360px) ); grid-template-rows: auto minmax(0, 1fr); } [data-slot="configurator"][data-gallery="aside"] > [data-gallery-dock] { grid-row: 1; grid-column: 2; } [data-slot="configurator"][data-gallery="aside"] > .configurator-stage { grid-row: 1 / span 2; grid-column: 1; } [data-slot="configurator"][data-gallery="aside"] > .configurator-aside { grid-row: 2; grid-column: 2; } [data-slot="configurator"][data-gallery="top"] > [data-gallery-dock] { grid-row: 1; grid-column: 1 / span 2; } [data-slot="configurator"][data-gallery="top"] > .configurator-stage { grid-row: 2; grid-column: 1; } [data-slot="configurator"][data-gallery="top"] > .configurator-aside { grid-row: 2; grid-column: 2; } } [data-slot="configurator"] > [data-gallery-dock] { border-color: var(--configurator-divider); } [data-slot="configurator"][data-gallery="aside"] > [data-gallery-dock] { border-bottom-width: 1px; } @media (min-width: 1024px) { [data-slot="configurator"][data-gallery="top"] > [data-gallery-dock] { border-bottom-width: 1px; } } .configurator-preset-tile { inline-size: clamp(160px, 22vw, 232px); border-radius: var(--radius-card); } [data-slot="configurator"][data-gallery="top"] .configurator-preset-tile { inline-size: clamp(200px, 20vw, 288px); } .configurator-preset-well { background-size: cover; background-position: center; image-rendering: auto; } .configurator-preset-well.is-loading { background-image: linear-gradient( 100deg, color-mix(in oklab, var(--card) 84%, transparent) 30%, color-mix(in oklab, var(--foreground) 8%, var(--card)) 50%, color-mix(in oklab, var(--card) 84%, transparent) 70% ); background-size: 200% 100%; animation: configurator-preset-shimmer 1.2s ease-in-out infinite; } @media (prefers-reduced-motion: reduce) { .configurator-preset-well.is-loading { animation: none; } } @keyframes configurator-preset-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } } .configurator-preset-tile.is-active { box-shadow: inset 0 0 0 2px var(--focus-ring-color), var(--shadow-cartoon-lg); } .configurator-preset-chip { border-radius: var(--radius-pill); } .configurator-preset-chip.is-active { --glass-capsule-fill: var(--glass-bg-quiet); } @media (min-width: 1024px) { [data-slot="configurator"][data-aside-side="left"] > .configurator-stage { grid-column: 2; } [data-slot="configurator"][data-aside-side="left"] > .configurator-aside { grid-column: 1; } [data-slot="configurator"][data-aside-side="left"][data-gallery="aside"] > [data-gallery-dock] { grid-column: 1; } }
|
|
@@ -28,10 +28,10 @@ export interface ConstellationFieldState {
|
|
|
28
28
|
wellOverride: Exclude<GravityWellProp, boolean>;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* Build the per-instance field state. The focal node
|
|
31
|
+
* Build the per-instance field state. The focal node is engine-owned:
|
|
32
32
|
* `focalIndex` names the pinned node, `warp` is the per-axis critically-damped
|
|
33
33
|
* spring the engine steps inside `stepField`. `wander`/`gravityWell` absent/false
|
|
34
|
-
* leaves `field.wander`/`field.well` undefined (
|
|
34
|
+
* leaves `field.wander`/`field.well` undefined (the plain field — stepField
|
|
35
35
|
* skips the cadence / force pass); `true` / an object seeds the cold state with the
|
|
36
36
|
* built-in defaults + any prop override layered on (the on-mount
|
|
37
37
|
* `readInteractionConfig` token read re-points the un-overridden members, with the
|
|
@@ -10,7 +10,7 @@ export declare const BASE_WIDTH = 1280;
|
|
|
10
10
|
* color/alpha tokens are absent (SSR / no-token mount). The fallbacks mirror the §5c
|
|
11
11
|
* light-arm token defaults so a no-token mount still reads recessive-but-legible.
|
|
12
12
|
*
|
|
13
|
-
* `accent`/`edgeFloor`/`edgeAccentAlpha`
|
|
13
|
+
* `accent`/`edgeFloor`/`edgeAccentAlpha` are the accent-edge skin
|
|
14
14
|
* weights the optional `drawEdges(…, accentIndex)` pass reads — the flagged-node EDGE
|
|
15
15
|
* tint. `accent` mirrors the `--constellation-accent` neutral library default;
|
|
16
16
|
* `edgeFloor: 0` is the byte-identity (no floor by default — a consumer lifts it so a
|
|
@@ -26,7 +26,7 @@ export declare const DEFAULT_PALETTE: ConstellationPalette;
|
|
|
26
26
|
export declare const WARP_RESPONSE = 0.55;
|
|
27
27
|
export declare const WARP_ZETA = 1;
|
|
28
28
|
/**
|
|
29
|
-
* Gravity-well tuning
|
|
29
|
+
* Gravity-well tuning defaults. The `--constellation-well-*` tokens
|
|
30
30
|
* override these on mount via `field.well.cfg`; these stay the fallback. SET by the
|
|
31
31
|
* §6 egg-live π readback (the field-perturbs-then-cools capture is the binding
|
|
32
32
|
* truth) — a moderate gain over a generous reach, a brisk ramp, a tight no-slingshot
|
|
@@ -34,7 +34,7 @@ export declare const WARP_ZETA = 1;
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const DEFAULT_WELL_CONFIG: ConstellationWellConfig;
|
|
36
36
|
/**
|
|
37
|
-
* Auto-
|
|
37
|
+
* Auto-drift cadence defaults. The
|
|
38
38
|
* `--constellation-wander-idle`/`-wander-jitter` tokens override these on mount; a
|
|
39
39
|
* prop `{ minIdle, jitter }` still wins over the token. The 8s/8s default rhythm
|
|
40
40
|
* re-targets the focal mark every 8–16s (the slides cadence).
|
|
@@ -42,7 +42,7 @@ export declare const DEFAULT_WELL_CONFIG: ConstellationWellConfig;
|
|
|
42
42
|
export declare const DEFAULT_WANDER_IDLE = 8000;
|
|
43
43
|
export declare const DEFAULT_WANDER_JITTER = 8000;
|
|
44
44
|
/**
|
|
45
|
-
* Autonomous
|
|
45
|
+
* Autonomous pinned-anchor drift cadence defaults. Distinct from
|
|
46
46
|
* `wander` (which re-targets the WARP spring among random nodes): this gently eases
|
|
47
47
|
* the PINNED node (`field.pinnedIndex`) around its seeded ANCHOR on a jittered
|
|
48
48
|
* cadence — the flagged point breathes its neighborhood without leaving it. The
|
|
@@ -55,7 +55,7 @@ export declare const DEFAULT_PINNED_DRIFT_FRAC = 0.14;
|
|
|
55
55
|
export declare const DEFAULT_PINNED_DRIFT_DUR = 2600;
|
|
56
56
|
export declare const DEFAULT_PINNED_DRIFT_IDLE = 6000;
|
|
57
57
|
export declare const DEFAULT_PINNED_DRIFT_JITTER = 8000;
|
|
58
|
-
/**
|
|
58
|
+
/** The visual-size floor: `kVisOf` === `k` for every canvas
|
|
59
59
|
* ≥ ~0.72·BASE_WIDTH ≈ 922px (incl. the 1280 export frame — byte-identical
|
|
60
60
|
* there by construction); below it the marks stop crushing sub-pixel. */
|
|
61
61
|
export declare const DEFAULT_K_FLOOR = 0.72;
|
|
@@ -72,9 +72,9 @@ export declare const E_MAX: number;
|
|
|
72
72
|
* The pointer-parallax depth default (§6). Each node carries a seeded depth `z ∈ [0,1]`;
|
|
73
73
|
* the pointer offsets node screen positions by `parallax · z · (pointer − center)` — a
|
|
74
74
|
* cheap pointer-parallax giving the flat lattice apparent depth (the Awwwards "living
|
|
75
|
-
* network" register). DEFAULT-OFF (`0` — the flat lattice).
|
|
76
|
-
*
|
|
77
|
-
* cursor,
|
|
75
|
+
* network" register). DEFAULT-OFF (`0` — the flat lattice). A default-on `0.08`
|
|
76
|
+
* slides the WHOLE lattice ~58px on a center→corner pointer sweep (every node tracks the
|
|
77
|
+
* cursor, reads as a bug, not depth). Depth is
|
|
78
78
|
* OPT-IN: a consumer that wants the living-network parallax passes `parallax` (e.g. a
|
|
79
79
|
* sub-perceptual `0.02`); the bare lattice never tracks the cursor.
|
|
80
80
|
*/
|
|
@@ -4,7 +4,7 @@ import type { ConstellationNode, ConstellationField, ConstellationPointer } from
|
|
|
4
4
|
/**
|
|
5
5
|
* Seed `count` drifting nodes inside `w × h`. `rng` is a `() => number` in
|
|
6
6
|
* `[0, 1)` (the glass-ui `mulberry32`/`Math.random`); a seeded `rng` lays out a
|
|
7
|
-
* reproducible field. Every node drifts; a focal node
|
|
7
|
+
* reproducible field. Every node drifts; a focal node is pinnable — the
|
|
8
8
|
* `field.focalIndex` designation + the engine-owned `warp` spring chase a node,
|
|
9
9
|
* but the underlying node still drifts (warp re-points an EXISTING node, never
|
|
10
10
|
* adds one, so node count is conserved).
|
|
@@ -12,7 +12,7 @@ import type { ConstellationNode, ConstellationField, ConstellationPointer } from
|
|
|
12
12
|
export declare function seedField(rng: () => number, count: number, w: number, h: number, speed: number): ConstellationNode[];
|
|
13
13
|
/**
|
|
14
14
|
* Re-fit the existing lattice to a NEW canvas size, proportionally, ON the
|
|
15
|
-
* size-change frame
|
|
15
|
+
* size-change frame. Without it a field seeded at a transitional
|
|
16
16
|
* size (the canvas measures mid responsive-scale — the deck slide-enter case)
|
|
17
17
|
* keeps its small-canvas positions and DRIFTS out to fill the larger box at
|
|
18
18
|
* `speed` px/frame — the visible "takes a while to expand out" lag the slides
|
|
@@ -29,12 +29,12 @@ export declare function refitField(field: ConstellationField, prevW: number, pre
|
|
|
29
29
|
* their speed (the slow geometric drift is preserved). `k` is the scale factor.
|
|
30
30
|
*
|
|
31
31
|
* `dt` (seconds since the previous frame) advances the focal-node warp spring
|
|
32
|
-
* via `warpStep`
|
|
32
|
+
* via `warpStep` inside this single per-frame call — no second rAF,
|
|
33
33
|
* NO `useSpring`. The warp rides the substrate's ONE parked rAF; a `dt` of `0`
|
|
34
34
|
* (omitted / first frame) leaves the spring untouched.
|
|
35
35
|
*
|
|
36
36
|
* `now` (ms; default `0` — every existing caller stays green) + `rng` (default
|
|
37
|
-
* `Math.random`) drive the optional auto-
|
|
37
|
+
* `Math.random`) drive the optional auto-drift cadence: after the
|
|
38
38
|
* warp step, if `field.wander` is set and `now > 0`, the cadence re-points
|
|
39
39
|
* `setWarpTarget` to a random node when it elapses AND the spring has settled
|
|
40
40
|
* (a click-warp in flight pre-empts the cadence — `warpSettled` reports false).
|
|
@@ -51,8 +51,7 @@ import type { ConstellationEdge } from "./constellationTypes";
|
|
|
51
51
|
*/
|
|
52
52
|
export declare function buildEdges(field: ConstellationField, link: number, accentIndex?: number, eMax?: number): ConstellationEdge[];
|
|
53
53
|
/**
|
|
54
|
-
* Append the POINTER-WEB tether edges to an existing edge set (the `drawPointerWeb` math
|
|
55
|
-
* relocated): the cursor is a "virtual node" whose incident edges (to every node within
|
|
54
|
+
* Append the POINTER-WEB tether edges to an existing edge set (the `drawPointerWeb` math): the cursor is a "virtual node" whose incident edges (to every node within
|
|
56
55
|
* `reach`) carry `focus = 1` (the render strokes them at the focus alpha). No-op when the
|
|
57
56
|
* pointer is inactive (`x < 0`). The `eMax` budget is shared with the ambient set.
|
|
58
57
|
*/
|
|
@@ -4,12 +4,12 @@ export { DEFAULT_WANDER_IDLE, DEFAULT_WANDER_JITTER, DEFAULT_WELL_CONFIG, WARP_R
|
|
|
4
4
|
export { DEFAULT_PINNED_DRIFT_FRAC, DEFAULT_PINNED_DRIFT_DUR, DEFAULT_PINNED_DRIFT_IDLE, DEFAULT_PINNED_DRIFT_JITTER, };
|
|
5
5
|
/**
|
|
6
6
|
* Read the NUMERIC interaction-tuning tokens (the warp spring + the gravity-well
|
|
7
|
-
* gains) off a canvas's resolved custom properties
|
|
7
|
+
* gains) off a canvas's resolved custom properties once on mount,
|
|
8
8
|
* via `parseFloat`, NOT per-frame `getComputedStyle` (the hot loop stays clean).
|
|
9
9
|
* Returns `{ warp, well }` configs the field carries; every member falls back to
|
|
10
10
|
* the shipped default when the token is absent (an SSR / no-token mount reads the
|
|
11
11
|
* byte-identical spring). The tokens are PLAIN numbers (`0.55`, `12000`), immune
|
|
12
|
-
* to the
|
|
12
|
+
* to the `light-dark()`-into-Canvas2D leak (they never reach a `fillStyle`).
|
|
13
13
|
*/
|
|
14
14
|
export declare function readInteractionConfig(canvas: HTMLCanvasElement): {
|
|
15
15
|
warp: ConstellationWarpConfig;
|
|
@@ -39,7 +39,7 @@ export declare function nearestNode(field: ConstellationField, px: number, py: n
|
|
|
39
39
|
*
|
|
40
40
|
* x += v·dt ; v += (−2ζω·v − ω²·(x − target))·dt
|
|
41
41
|
*
|
|
42
|
-
* Reads `(response, ζ)` from `field.warpCfg` (the tokenised override
|
|
42
|
+
* Reads `(response, ζ)` from `field.warpCfg` (the tokenised override),
|
|
43
43
|
* falling back to the shipped `WARP_RESPONSE`/`WARP_ZETA` defaults. `ω = 2π/response`
|
|
44
44
|
* is the keyframes.js `(response, dampingFraction)` convention (the SHARED house
|
|
45
45
|
* model — `ω₀` is the angular frequency, `response` its ANGULAR PERIOD, NOT a
|
|
@@ -70,7 +70,7 @@ export declare function setWarpTarget(field: ConstellationField, idx: number): v
|
|
|
70
70
|
*/
|
|
71
71
|
export declare function warpTo(field: ConstellationField, px: number, py: number): number;
|
|
72
72
|
/**
|
|
73
|
-
* Is the warp spring
|
|
73
|
+
* Is the warp spring arrived on its target? True when there is no
|
|
74
74
|
* active target (`targetIdx < 0`) OR the focal's gap to its LIVE target node is
|
|
75
75
|
* within {@link WARP_SETTLE_BAND}. A click-warp in flight (hundreds of px out)
|
|
76
76
|
* reports NOT arrived, so a user click always PRE-EMPTS the auto-drift cadence
|
|
@@ -81,7 +81,7 @@ export declare function warpTo(field: ConstellationField, px: number, py: number
|
|
|
81
81
|
*/
|
|
82
82
|
export declare function warpSettled(field: ConstellationField): boolean;
|
|
83
83
|
/**
|
|
84
|
-
* Pick a random eligible node index for the auto-drift
|
|
84
|
+
* Pick a random eligible node index for the auto-drift retarget —
|
|
85
85
|
* any node EXCEPT the current `focalIndex` (so the focal actually MOVES). `rng`
|
|
86
86
|
* is the seeded `() => number` in `[0, 1)`. A degenerate field (≤1 node, or only
|
|
87
87
|
* the current focal) returns the current focal, which `setWarpTarget` no-ops
|
|
@@ -89,7 +89,7 @@ export declare function warpSettled(field: ConstellationField): boolean;
|
|
|
89
89
|
*/
|
|
90
90
|
export declare function pickWanderTarget(field: ConstellationField, rng: () => number): number;
|
|
91
91
|
/**
|
|
92
|
-
* Build the cold `ConstellationPinnedDrift` state
|
|
92
|
+
* Build the cold `ConstellationPinnedDrift` state the field carries
|
|
93
93
|
* when `pinnedDrift` is on. The anchor is seeded LATER (on the first sized frame, off
|
|
94
94
|
* the pinned node's layout position) — here it is `(0,0)` until `stepPinnedDrift`
|
|
95
95
|
* stamps it on the first armed leg. The token-read re-points the un-overridden
|
|
@@ -102,13 +102,13 @@ export declare function makePinnedDrift(override?: {
|
|
|
102
102
|
jitter?: number;
|
|
103
103
|
}): ConstellationPinnedDrift;
|
|
104
104
|
/**
|
|
105
|
-
* Advance the autonomous
|
|
105
|
+
* Advance the autonomous pinned-anchor drift one frame. Distinct
|
|
106
106
|
* from `wander` (warp re-target): this gently eases the PINNED node around its seeded
|
|
107
107
|
* ANCHOR within `wanderFrac` of the canvas, on a jittered cadence, via a closed-form
|
|
108
108
|
* easeInOutQuad over `now` (no integrator, no second rAF — it rides `stepField`'s ONE
|
|
109
109
|
* per-frame call). No-ops (skipped) when there is no `field.pinnedDrift`, no pinned
|
|
110
110
|
* node, or `now <= 0` (the default unit callers stay green) — so an absent
|
|
111
|
-
* `pinnedDrift`
|
|
111
|
+
* `pinnedDrift` leaves the plain field untouched.
|
|
112
112
|
*
|
|
113
113
|
* The anchor is captured ON the first armed frame off the pinned node's CURRENT
|
|
114
114
|
* position (its seeded rest), so a consumer that re-anchors the pin (a resize re-fit)
|