@mkbabb/glass-ui 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -27
- package/dist/DropdownMenuTrigger-BzQtd9lt.js +65 -0
- package/dist/{FadingScroll-BSRLqQCx.js → FadingScroll-C1ZWEjmG.js} +32 -25
- package/dist/{Input-DKf-XwUM.js → Input-B4WQ_CMc.js} +1 -1
- package/dist/{PagerDots-BP6jh7z4.js → PagerDots-BoTQ7g5l.js} +123 -95
- package/dist/{accent-tone-solve-CBw3L0cy.js → accent-tone-solve-Dii9ePhK.js} +1 -1
- package/dist/animated-digit.js +1 -1
- package/dist/aurora.js +324 -314
- package/dist/blob-config.d.ts +0 -4
- package/dist/blob-config.js +1 -1
- package/dist/blob.js +280 -261
- package/dist/{button-BXzhydVB.js → button-32mg6xA8.js} +63 -56
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/{CardAction-2uUvjMQK.js → card-16xmzIr3.js} +29 -11
- package/dist/card.js +1 -1
- package/dist/carousel.d.ts +1 -2
- package/dist/carousel.js +26 -95
- package/dist/chip.d.ts +0 -9
- package/dist/chip.js +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.js +1 -0
- package/dist/color.js +87 -3
- package/dist/{CommandShortcut-fmdbsEJL.js → command-BjPjUU9z.js} +56 -51
- package/dist/command.js +1 -1
- package/dist/completion-seal.js +64 -55
- package/dist/components/_shared/ModalOverlay.vue.d.ts +5 -52
- package/dist/components/_shared/field-surfaces.css +1 -0
- package/dist/components/_shared/menuItemVariants.d.ts +2 -2
- package/dist/components/_shared/useMotionAxis.d.ts +2 -2
- package/dist/components/_shared/valueDomain.d.ts +6 -0
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +1 -1
- package/dist/components/aurora/Aurora.vue.d.ts +7 -1
- package/dist/components/aurora/composables/runtime.d.ts +5 -3
- package/dist/components/aurora/composables/useAurora.d.ts +4 -2
- package/dist/components/avatar/AvatarImage.vue.d.ts +3 -1
- package/dist/components/badge/index.d.ts +2 -2
- package/dist/components/blob/Blob.vue.d.ts +11 -0
- package/dist/components/blob/composables/useMetaballRenderer.d.ts +2 -0
- package/dist/components/button/Button.vue.d.ts +4 -2
- package/dist/components/button/index.d.ts +2 -2
- package/dist/components/card/Card.vue.d.ts +4 -4
- package/dist/components/card/ScrollCard.vue.d.ts +1 -1
- package/dist/components/card/styles.css +1 -0
- package/dist/components/carousel/Carousel.vue.d.ts +2 -2
- package/dist/components/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/components/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/components/carousel/index.d.ts +0 -1
- package/dist/components/carousel/useCarousel.d.ts +2 -2
- package/dist/components/combobox/ComboboxList.vue.d.ts +1 -1
- package/dist/components/combobox/index.d.ts +1 -3
- package/dist/components/command/Command.vue.d.ts +1 -1
- package/dist/components/command/CommandDialog.vue.d.ts +9 -6
- package/dist/components/completion-seal/styles.css +1 -0
- package/dist/components/constellation/Constellation.vue.d.ts +6 -1
- package/dist/components/constellation/composables/useConstellation.d.ts +3 -16
- package/dist/components/constellation/constants.d.ts +6 -16
- package/dist/components/constellation/constellationField.d.ts +3 -5
- package/dist/components/constellation/constellationInteraction.d.ts +1 -1
- package/dist/components/constellation/constellationRender.d.ts +11 -21
- package/dist/components/constellation/constellationTypes.d.ts +12 -9
- package/dist/components/constellation/index.d.ts +1 -1
- package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -2
- package/dist/components/data-table/DataTable.vue.d.ts +14 -2
- package/dist/components/data-table/index.d.ts +1 -2
- package/dist/components/data-table/types.d.ts +26 -1
- package/dist/components/deck/constants.d.ts +0 -10
- package/dist/components/deck/index.d.ts +0 -1
- package/dist/components/dialog/DialogContent.vue.d.ts +7 -1
- package/dist/components/dialog/index.d.ts +0 -1
- package/dist/components/dock/DockControl.vue.d.ts +4 -4
- package/dist/components/dock/DockStack.vue.d.ts +2 -2
- package/dist/components/dock/GlassDock.vue.d.ts +1 -0
- package/dist/components/dock/composables/dockMorphContext.d.ts +2 -0
- package/dist/components/dock/composables/dockMorphMeasure.d.ts +11 -1
- package/dist/components/dock/composables/useDockClickIntegrity.d.ts +4 -0
- package/dist/components/dock/composables/useDockOverflowFit.d.ts +3 -3
- package/dist/components/dock/composables/useDockPopover.d.ts +2 -0
- package/dist/components/dock/composables/useDockShellProps.d.ts +7 -0
- package/dist/components/dock/composables/useDockState.d.ts +2 -2
- package/dist/components/dock/constants.d.ts +0 -12
- package/dist/components/dock/index.d.ts +1 -0
- package/dist/components/dock/styles/adaptive-legibility.css +1 -0
- package/dist/components/dock/styles/controls/icon-button.css +1 -0
- package/dist/{styles/dock-controls → components/dock/styles/controls}/touch-floor.css +1 -1
- package/dist/components/dock/styles/controls.css +1 -0
- package/dist/{styles/dock → components/dock/styles}/density.css +1 -1
- package/dist/components/dock/styles/dock.css +1 -0
- package/dist/components/dock/styles/index.css +1 -0
- package/dist/components/dock/styles/layer-group.css +1 -0
- package/dist/components/dock/styles/layers.css +1 -0
- package/dist/components/dock/styles/overflow.css +1 -0
- package/dist/components/dock/styles/popover.css +1 -0
- package/dist/components/dock/styles/shape.css +1 -0
- package/dist/components/dock/styles/shell.css +1 -0
- package/dist/components/drawer/Drawer.vue.d.ts +3 -3
- package/dist/components/drawer/composables/drawerSnapContext.d.ts +3 -1
- package/dist/components/drawer/constants.d.ts +6 -6
- package/dist/components/drawer/index.d.ts +4 -6
- package/dist/components/drawer/styles.css +1 -0
- package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +1 -1
- package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -3
- package/dist/components/dropdown-menu/index.d.ts +0 -1
- package/dist/components/easing/EasingConfigurator.vue.d.ts +1 -1
- package/dist/components/easing/EasingPicker.vue.d.ts +2 -2
- package/dist/components/easing/composables/useEasingPicker.d.ts +4 -0
- package/dist/components/easing/constants.d.ts +2 -0
- package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +3 -3
- package/dist/components/fourier-field/FourierField.vue.d.ts +7 -1
- package/dist/components/fourier-field/composables/useFourierField.d.ts +2 -1
- package/dist/components/handmark/HandMark.vue.d.ts +1 -1
- package/dist/components/handmark/geometry.d.ts +1 -1
- package/dist/components/handmark/index.d.ts +4 -6
- package/dist/components/icon-chip/styles.css +1 -0
- package/dist/components/index.d.ts +0 -1
- package/dist/components/infinite-scroll/index.d.ts +1 -0
- package/dist/components/instrument-chassis/styles.css +1 -0
- package/dist/components/labeled-field/LabeledField.vue.d.ts +12 -2
- package/dist/components/labeled-field/LabeledInput.vue.d.ts +10 -3
- package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +4 -0
- package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +2 -1
- package/dist/components/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/pager-dots/PagerDots.vue.d.ts +1 -1
- package/dist/components/popover/PopoverContent.vue.d.ts +1 -1
- package/dist/components/progress/Progress.vue.d.ts +5 -40
- package/dist/components/progress/ProgressDefault.vue.d.ts +1 -17
- package/dist/components/progress/ProgressGradient.vue.d.ts +1 -0
- package/dist/components/progress/ProgressLiquid.vue.d.ts +1 -0
- package/dist/components/progress/index.d.ts +0 -5
- package/dist/components/progress/valueMarks.css +1 -0
- package/dist/components/pulse/Pulse.vue.d.ts +2 -2
- package/dist/components/scroll-progress-rim/styles.css +1 -0
- package/dist/components/search/FuzzySearch.vue.d.ts +4 -2
- package/dist/components/search/SearchBar.vue.d.ts +2 -2
- package/dist/components/search/searchVariants.d.ts +1 -1
- package/dist/components/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/skeleton/Skeleton.vue.d.ts +1 -1
- package/dist/components/slider/Slider.vue.d.ts +2 -0
- package/dist/components/split-chars/SplitChars.vue.d.ts +1 -1
- package/dist/components/surface/Surface.vue.d.ts +1 -1
- package/dist/components/table/Table.vue.d.ts +4 -0
- package/dist/components/tabs/SegmentedTabs.vue.d.ts +10 -0
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tabs/styles/drag.css +1 -0
- package/dist/components/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/timeline/ContinuousTimeline.vue.d.ts +1 -1
- package/dist/components/timeline/GlassTimeline.vue.d.ts +4 -4
- package/dist/components/toast/Toast.vue.d.ts +3 -3
- package/dist/components/toast/use-toast.d.ts +4 -4
- package/dist/components/typewriter/TypewriterText.vue.d.ts +1 -4
- package/dist/components/typewriter/composables/useTypewriter.d.ts +0 -1
- package/dist/components/typewriter/utils/graphemes.d.ts +1 -0
- package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +2 -2
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +31 -0
- package/dist/composables/glass/webgpu/rendererStatus.d.ts +13 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +3 -0
- package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +2 -0
- package/dist/composables/motion/springProjection.d.ts +16 -0
- package/dist/composables/motion/useAnimatedNumber.d.ts +1 -6
- package/dist/composables/motion/useCountup.d.ts +1 -6
- package/dist/composables/motion/useDockCtaReceive.d.ts +55 -0
- package/dist/composables/motion/useElementMorph.d.ts +8 -0
- package/dist/composables/motion/useLiquidPress.d.ts +12 -4
- package/dist/composables/motion/useNumericTransition.d.ts +2 -0
- package/dist/composables/motion/useTextHighlight.d.ts +2 -1
- package/dist/configurator-CSENXXSy.js +311 -0
- package/dist/configurator.js +2 -3
- package/dist/constellation.js +235 -571
- package/dist/controls.js +55 -63
- package/dist/{createCanvasLifecycle-DlrcvWbb.js → createCanvasLifecycle-hsFkQVdl.js} +32 -32
- package/dist/dark-DIH-blY1.js +70 -0
- package/dist/dark.d.ts +1 -2
- package/dist/dark.js +2 -20
- package/dist/{DataTable-Bxya8nBn.js → data-table-DveMdgBM.js} +231 -120
- package/dist/data-table.js +2 -2
- package/dist/deck.js +10 -21
- package/dist/dialog-BzQxKrUr.js +281 -0
- package/dist/dialog.js +2 -3
- package/dist/dock.js +561 -428
- package/dist/{dockContext-d-WpJN2Z.js → dockContext-4S9qP0Z4.js} +1 -1
- package/dist/dom.js +196 -7
- package/dist/drawer.js +111 -66
- package/dist/dropdown-menu-DORIA52F.js +378 -0
- package/dist/dropdown-menu.js +3 -2
- package/dist/easing.d.ts +0 -9
- package/dist/easing.js +334 -187
- package/dist/expandable-container.js +12 -4
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-scope.js +1 -1
- package/dist/forms.js +37 -78
- package/dist/fourier-field.js +273 -263
- package/dist/fourier-math.d.ts +0 -6
- package/dist/fourier-math.js +112 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +131 -195
- package/dist/handmark.d.ts +0 -2
- package/dist/handmark.js +82 -82
- package/dist/header-ribbon.js +41 -30
- package/dist/{IconChip-CwLmBJ_K.js → icon-chip-BWuxz1-u.js} +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/{IconTooltip-D9sbK-Mk.js → icon-tooltip-CO6rw0dZ.js} +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/infinite-scroll.d.ts +0 -1
- package/dist/infinite-scroll.js +17 -15
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +104 -2
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +95 -69
- package/dist/liquid-grid.js +173 -162
- package/dist/metric-badge.js +3 -3
- package/dist/metric-cell.js +2 -2
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +15 -16
- package/dist/motion-curves.d.ts +0 -20
- package/dist/motion.js +59 -58
- package/dist/{Notification-DQv2cOh9.js → notification-DVs7ODMg.js} +17 -8
- package/dist/notification.js +1 -1
- package/dist/{NumberFieldContent-BkE7xPS9.js → number-field-PvkGedHk.js} +2 -2
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.js +31 -2
- package/dist/{PopoverContent-DOtszFWK.js → popover-WMgyRSyN.js} +7 -2
- package/dist/popover.js +1 -1
- package/dist/procedural-color.wgsl-B9mLK7v0.js +377 -0
- package/dist/progress-C-HHuFZy.js +192 -0
- package/dist/progress.js +2 -2
- package/dist/pulse.js +3 -1
- package/dist/reactive.js +19 -3
- package/dist/rendererStatus-C2-zC2Q-.js +40 -0
- package/dist/{resolveCanvasColor-B3L-akX0.js → resolveCanvasColor-yarP5bdk.js} +1 -1
- package/dist/scroll-progress-rim.js +1 -1
- package/dist/search.js +187 -146
- package/dist/{SelectScrollDownButton-CDtwaWkZ.js → select-BIv4R3Ir.js} +109 -44
- package/dist/select.js +2 -4
- package/dist/separator-CBU94kTM.js +62 -0
- package/dist/separator.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-Cc_qw6GA.js +166 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +43 -43
- package/dist/styles/accessibility.css +1 -0
- package/dist/styles/components.css +1 -1
- package/dist/styles/glass/control-surfaces.css +1 -1
- package/dist/styles/glass/glass-capsule.css +1 -1
- package/dist/styles/glass/ladder.css +1 -1
- package/dist/styles/glass/liquid-fill.css +1 -1
- package/dist/styles/glass/material-roles.css +1 -0
- package/dist/styles/glass/material.css +1 -1
- package/dist/styles/glass/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.css +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/theme/bridges.css +1 -1
- package/dist/styles/tokens/glass-fx.css +1 -1
- package/dist/styles/tokens/glass.css +1 -1
- package/dist/styles/tokens/offsets.css +1 -1
- package/dist/styles/tokens/scale-paper.css +1 -1
- package/dist/styles/tokens/scheme-spring.css +1 -1
- package/dist/styles/tokens/shadow.css +1 -1
- package/dist/styles/tokens.d.ts +53 -0
- package/dist/styles/tokens.ts +58 -0
- 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/base.css +1 -1
- package/dist/styles/utilities/btn.css +1 -1
- package/dist/styles/utilities/components.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/{Switch-BPBfhMU3.js → switch-Boj4Ucn5.js} +1 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +51 -45
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/{ToggleGroupItem-DNWx2aSW.js → toggle-group-BPchFsns.js} +10 -7
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -53
- package/dist/tokens.js +1 -1
- package/dist/{TooltipProvider-GtfYdSVf.js → tooltip-BmOQJzh0.js} +1 -0
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +151 -166
- package/dist/{useAccentTone-D25DxviG.js → useAccentTone-C-p6WdPe.js} +1 -1
- package/dist/{useAnimatedNumber-2XC4aRB6.js → useAnimatedNumber-BRVVaFFc.js} +1 -1
- package/dist/useDockCtaReceive-CK-RLASa.js +257 -0
- package/dist/{useGooMorph-CU1pwuC6.js → useGooMorph-D1F6QJlH.js} +140 -59
- package/dist/{useIntersectionPause-Cmt5Tnv9.js → useIntersectionPause-B-dbxl9w.js} +1 -1
- package/dist/useLiquidPress-BYcwwGQV.js +68 -0
- package/dist/{useRAFLoop-CvOo_kgb.js → useRAFLoop-BtwQ9DyY.js} +1 -1
- package/dist/{useScrollProgress-C-yImzhU.js → useScrollProgress-DZI4nf4v.js} +1 -1
- package/dist/{useSelectionGroup-Btpf24aY.js → useSelectionGroup-LDzBdR1Y.js} +3 -3
- package/dist/{useTabRovingFocus-CG1H1k1J.js → useTabRovingFocus-DkLYwo4L.js} +1 -1
- package/dist/{useTouchGate-BlegwvwL.js → useTouchGate-Cj5fOkTv.js} +1 -1
- package/dist/valueDomain-B8L04u3U.js +13 -0
- package/dist/watercolor-dot.js +5 -3
- package/package.json +5 -12
- package/src/styles/accessibility.css +48 -0
- package/src/styles/glass/glass-capsule.css +2 -2
- package/src/styles/glass/ladder.css +1 -1
- package/src/styles/glass/material-roles.css +18 -0
- package/src/styles/glass/material.css +18 -12
- package/src/styles/glass.css +5 -5
- package/src/styles/index.css +38 -30
- package/src/styles/theme/bridges.css +0 -6
- package/src/styles/tokens/glass-fx.css +1 -5
- package/src/styles/tokens/glass.css +1 -2
- package/src/styles/tokens/offsets.css +0 -1
- package/src/styles/tokens/property-regs.css +11 -10
- package/src/styles/tokens/scale-paper.css +0 -1
- package/src/styles/tokens/scheme-motion.css +3 -0
- package/src/styles/tokens/scheme-spring.css +0 -10
- package/src/styles/tokens/shadow.css +3 -29
- package/src/styles/tokens.ts +58 -0
- package/src/styles/typography/scale.css +5 -2
- package/src/styles/typography/semantic.css +5 -5
- package/src/styles/typography/utilities.css +5 -5
- package/src/styles/utilities/base.css +5 -5
- package/src/styles/utilities/btn.css +6 -27
- package/src/styles/utilities.css +4 -6
- package/dist/ConfiguratorRow-BV6zPjTM.js +0 -151
- package/dist/DialogContent-Bl4v10AC.js +0 -192
- package/dist/DialogFooter-C0v4Hz2F.js +0 -168
- package/dist/PaperBackdrop-BYwE8_kg.js +0 -31
- package/dist/Progress-uWLyXE7J.js +0 -308
- package/dist/SelectGroup-BuEptUsa.js +0 -31
- package/dist/SelectSeparator-4QGephvr.js +0 -49
- package/dist/Separator-DqJ6PfOd.js +0 -44
- package/dist/color-Bp5jmv4Z.js +0 -86
- package/dist/components/carousel/GlassCarouselPager.vue.d.ts +0 -50
- package/dist/components/combobox/ComboboxSeparator.vue.d.ts +0 -18
- package/dist/components/combobox/ComboboxViewport.vue.d.ts +0 -18
- package/dist/components/constellation/composables/constellationGLSetup.d.ts +0 -10
- package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +0 -19
- package/dist/components/constellation/composables/uniformBridgeWGPU.d.ts +0 -66
- package/dist/components/constellation/shaders/constellation-lines.glsl.d.ts +0 -2
- package/dist/components/constellation/shaders/constellation-lines.wgsl.d.ts +0 -1
- package/dist/components/constellation/shaders/constellation-points.glsl.d.ts +0 -2
- package/dist/components/constellation/shaders/constellation-points.wgsl.d.ts +0 -1
- package/dist/components/deck/composables/useDeckSpring.d.ts +0 -22
- package/dist/components/dialog/DialogScrollContent.vue.d.ts +0 -33
- package/dist/components/progress/ProgressSectioned.vue.d.ts +0 -47
- package/dist/components/progress/useProgressGeometry.d.ts +0 -60
- package/dist/components/section/Section.vue.d.ts +0 -73
- package/dist/components/section/index.d.ts +0 -1
- package/dist/components/stacked-icons/StackedIconGroup.vue.d.ts +0 -30
- package/dist/components/stacked-icons/index.d.ts +0 -2
- package/dist/components/stacked-icons/types.d.ts +0 -19
- package/dist/dropdown-menu-DaGlVdp9.js +0 -421
- package/dist/math-CIEcwsYi.js +0 -112
- package/dist/procedural-color.wgsl-ByduxnzV.js +0 -4
- package/dist/slider-Cxuj_W_H.js +0 -151
- package/dist/stacked-icons.d.ts +0 -1
- package/dist/stacked-icons.js +0 -98
- package/dist/styles/cards.css +0 -1
- package/dist/styles/completion-seal.css +0 -1
- package/dist/styles/dock/adaptive-legibility.css +0 -1
- package/dist/styles/dock/dock.css +0 -1
- package/dist/styles/dock/layer-group.css +0 -1
- package/dist/styles/dock/layers.css +0 -1
- package/dist/styles/dock/overflow.css +0 -1
- package/dist/styles/dock/popover.css +0 -1
- package/dist/styles/dock/shape.css +0 -1
- package/dist/styles/dock/shell.css +0 -1
- package/dist/styles/dock-controls/icon-button.css +0 -1
- package/dist/styles/dock-controls.css +0 -1
- package/dist/styles/dock.css +0 -1
- package/dist/styles/drawer.css +0 -1
- package/dist/styles/icon-chip.css +0 -1
- package/dist/styles/instrument-chassis.css +0 -1
- package/dist/styles/scroll-progress-rim.css +0 -1
- package/dist/styles/select.css +0 -1
- package/dist/styles/tabs/segmented-tabs-drag.css +0 -1
- package/dist/styles/utilities/animate.css +0 -0
- package/dist/useConfiguratorState-Dq35N_7t.js +0 -167
- package/dist/useDockCtaReceive-BgMmeINo.js +0 -161
- package/dist/useGlobalDark-DjKMEQE2.js +0 -53
- package/dist/useGpuSubstrate-DcY584kE.js +0 -347
- package/dist/useInterval-ZATRi-1T.js +0 -18
- package/dist/useKeyboardShortcuts-ynVmNFo3.js +0 -104
- package/dist/useLiquidPress-BXNHydZh.js +0 -40
- package/dist/useTextHighlight-C46Le9u_.js +0 -72
- package/dist/useViewportReady-c0isoKL8.js +0 -191
- package/src/styles/card-scroll.css +0 -189
- package/src/styles/cards.css +0 -485
- package/src/styles/completion-seal.css +0 -205
- package/src/styles/configurator.css +0 -359
- package/src/styles/dialog-placement.css +0 -68
- package/src/styles/dock/adaptive-legibility.css +0 -119
- package/src/styles/dock/crossfade.css +0 -139
- package/src/styles/dock/cta-seat.css +0 -87
- package/src/styles/dock/density.css +0 -458
- package/src/styles/dock/dock.css +0 -199
- package/src/styles/dock/fisheye.css +0 -81
- package/src/styles/dock/layer-group.css +0 -329
- package/src/styles/dock/layers.css +0 -438
- package/src/styles/dock/morph.css +0 -455
- package/src/styles/dock/overflow.css +0 -332
- package/src/styles/dock/popover.css +0 -249
- package/src/styles/dock/search.css +0 -68
- package/src/styles/dock/section.css +0 -59
- package/src/styles/dock/shape.css +0 -188
- package/src/styles/dock/shell-regions.css +0 -73
- package/src/styles/dock/shell.css +0 -500
- package/src/styles/dock-controls/dark-mode-toggle.css +0 -123
- package/src/styles/dock-controls/icon-button.css +0 -221
- package/src/styles/dock-controls/tab-button.css +0 -143
- package/src/styles/dock-controls/touch-floor.css +0 -119
- package/src/styles/dock-controls/triggers.css +0 -157
- package/src/styles/dock-controls.css +0 -92
- package/src/styles/dock.css +0 -219
- package/src/styles/drawer.css +0 -434
- package/src/styles/feedback-tone.css +0 -104
- package/src/styles/icon-chip.css +0 -256
- package/src/styles/instrument-chassis.css +0 -449
- package/src/styles/menu.css +0 -187
- package/src/styles/scroll-progress-rim.css +0 -87
- package/src/styles/segmented-tabs.css +0 -424
- package/src/styles/select.css +0 -201
- package/src/styles/tabs/segmented-tabs-drag.css +0 -200
- package/src/styles/utilities/animate.css +0 -29
- /package/dist/{coalesce-metric-B8o7zT9u.js → coalesce-metric-znAcLzkB.js} +0 -0
- /package/dist/{CollapsibleContent-DiHcB_HH.js → collapsible-bPzS1aQk.js} +0 -0
- /package/dist/{compile-C55K3P9g.js → compile-DK3Fri1B.js} +0 -0
- /package/dist/{styles → components/_shared}/feedback-tone.css +0 -0
- /package/dist/{styles → components/_shared}/menu.css +0 -0
- /package/dist/{styles → components/card}/card-scroll.css +0 -0
- /package/dist/{styles/configurator.css → components/configurator/styles.css} +0 -0
- /package/dist/{styles/dock-controls → components/controls}/dark-mode-toggle.css +0 -0
- /package/dist/{styles/dialog-placement.css → components/dialog/placement.css} +0 -0
- /package/dist/{styles/dock-controls → components/dock/styles/controls}/tab-button.css +0 -0
- /package/dist/{styles/dock-controls → components/dock/styles/controls}/triggers.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/crossfade.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/cta-seat.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/fisheye.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/morph.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/search.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/section.css +0 -0
- /package/dist/{styles/dock → components/dock/styles}/shell-regions.css +0 -0
- /package/dist/{styles/segmented-tabs.css → components/tabs/styles/segmented.css} +0 -0
- /package/dist/{constants-D8lSMkOz.js → constants-DRZmNIY-.js} +0 -0
- /package/dist/{createContext-BQ1Gy_LB.js → createContext-FU0n5MGK.js} +0 -0
- /package/dist/{flow.glsl-CVqPSj8_.js → flow.glsl-DEGFGE11.js} +0 -0
- /package/dist/{FocusScope-BzKwhsBn.js → focus-scope-DUTKveod.js} +0 -0
- /package/dist/{InstrumentChassis-Dss5Tjcm.js → instrument-chassis-Cvstg4_U.js} +0 -0
- /package/dist/{Label-C84TaQiw.js → label-Cj38tJKG.js} +0 -0
- /package/dist/{menuItemVariants-DbO-Fr74.js → menuItemVariants-D6AOzzND.js} +0 -0
- /package/dist/{pointerFieldMappings-4VtmkOWv.js → pointerFieldMappings-CZojkgKj.js} +0 -0
- /package/dist/{presets-B07HzyKd.js → presets-CxeNvxuO.js} +0 -0
- /package/dist/{prng-B0PLRmR6.js → prng-Dz2_9RJu.js} +0 -0
- /package/dist/{scrollReader-DzYqPQ6V.js → scrollReader-C2oK9Hb8.js} +0 -0
- /package/dist/{supportsCssTimeline-Ie4xJFbD.js → supportsCssTimeline-Dz-GVxXM.js} +0 -0
- /package/dist/{Toaster-C_-WeU9W.js → toast-kAbchIN2.js} +0 -0
- /package/dist/{useControlSize-DJwe-7ZQ.js → useControlSize-CFfOk8I-.js} +0 -0
- /package/dist/{useDocumentVisibility-CpJGUgcJ.js → useDocumentVisibility-YeBDGqtI.js} +0 -0
- /package/dist/{useDragMorph-65ihHePq.js → useDragMorph-7ygF9O0m.js} +0 -0
- /package/dist/{useDragVelocity-BWcNMCux.js → useDragVelocity-CbMZEBaC.js} +0 -0
- /package/dist/{useFuzzySearch-KslRxiJY.js → useFuzzySearch-BOgep7RE.js} +0 -0
- /package/dist/{useLeadTrail-DOH4XkL1.js → useLeadTrail-BYu8dq4G.js} +0 -0
- /package/dist/{usePointerVelocityField-CwXyeW0Z.js → usePointerVelocityField-BdvnO0py.js} +0 -0
- /package/dist/{useResizeObserver-DDuoBeBo.js → useResizeObserver-BcUTquV7.js} +0 -0
- /package/dist/{useResolveTokenColor-DVT5kwv6.js → useResolveTokenColor-C07e-qaT.js} +0 -0
- /package/dist/{useRoutePointer-DL7I0gY4.js → useRoutePointer-BDNMFN73.js} +0 -0
- /package/dist/{useSpringMount-CNvvgGiC.js → useSpringMount-C6-DBx4e.js} +0 -0
- /package/dist/{useTimer-CkDV8SC2.js → useTimer-D8koDvJS.js} +0 -0
- /package/dist/{useUserInvalidAria-Bkruei7M.js → useUserInvalidAria-Cr4nR3tu.js} +0 -0
- /package/dist/{vReveal-DUmiEkX_.js → vReveal-DZfWl9XI.js} +0 -0
- /package/dist/{vSpecular-DlYN0UZy.js → vSpecular-CQFmLNzA.js} +0 -0
- /package/dist/{writeVelocityWeight-D1rvdxJu.js → writeVelocityWeight-D_AcvTsE.js} +0 -0
package/dist/easing.js
CHANGED
|
@@ -1,97 +1,112 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as a } from "./
|
|
3
|
-
import { n as o
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { n as e } from "./button-32mg6xA8.js";
|
|
2
|
+
import { a as t, c as n, o as r, r as i, s as a } from "./select-BIv4R3Ir.js";
|
|
3
|
+
import { n as o } from "./slider-Cc_qw6GA.js";
|
|
4
|
+
import { n as s, r as c } from "./configurator-CSENXXSy.js";
|
|
5
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, mergeModels as v, normalizeClass as y, onScopeDispose as ee, onUnmounted as b, openBlock as x, ref as S, renderList as C, renderSlot as w, toDisplayString as T, unref as E, useId as D, useModel as O, useTemplateRef as te, watch as ne, withCtx as k } from "vue";
|
|
6
|
+
import { Check as re, Copy as ie, LoaderCircle as ae, Play as oe, RotateCcw as se, Square as ce } from "@lucide/vue";
|
|
7
|
+
import { CSSCubicBezier as A, bezierPresets as j, jumpTerms as le, parseSteps as M, steppedEase as N } from "@mkbabb/value.js";
|
|
7
8
|
//#region src/components/easing/constants.ts
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
let t =
|
|
9
|
+
var P = "custom", ue = "ease-out-back", F = (e) => 1 - e, I = .1, L = .6, de = .1, fe = .15, R = 1200, pe = 1400, me = 2e3, z = Object.keys(j);
|
|
10
|
+
function B(e = {}) {
|
|
11
|
+
let t = S(e.initialMode ?? "bezier"), n = S(e.initialPreset ?? "ease-out-back"), r = S([...j[n.value in j ? n.value : ue]]);
|
|
11
12
|
function i(e) {
|
|
12
13
|
n.value = e;
|
|
13
|
-
let t =
|
|
14
|
+
let t = j[e];
|
|
14
15
|
t && (r.value = [...t]);
|
|
15
16
|
}
|
|
16
17
|
function a(e, t, i) {
|
|
17
|
-
let a = Math.max(0, Math.min(1, t)), o = Math.max(-
|
|
18
|
-
s[e * 2] = +a.toFixed(3), s[e * 2 + 1] = +o.toFixed(3), r.value = s, n.value =
|
|
18
|
+
let a = Math.max(0, Math.min(1, t)), o = Math.max(-L, Math.min(1 + L, i)), s = [...r.value];
|
|
19
|
+
s[e * 2] = +a.toFixed(3), s[e * 2 + 1] = +o.toFixed(3), r.value = s, n.value = P;
|
|
19
20
|
}
|
|
20
|
-
let o =
|
|
21
|
-
if (t.value === "steps") return
|
|
21
|
+
let o = S(e.initialSteps ?? 4), s = S(e.initialTerm ?? "end"), c = u(() => {
|
|
22
|
+
if (t.value === "steps") return N(o.value, s.value) ?? ((e) => e);
|
|
22
23
|
let [e, n, i, a] = r.value;
|
|
23
|
-
return
|
|
24
|
-
}),
|
|
24
|
+
return A(e, n, i, a);
|
|
25
|
+
}), l = u(() => {
|
|
25
26
|
if (t.value === "steps") return `steps(${o.value}, ${s.value})`;
|
|
26
27
|
let [e, n, i, a] = r.value.map((e) => +e.toFixed(3));
|
|
27
28
|
return `cubic-bezier(${e}, ${n}, ${i}, ${a})`;
|
|
28
|
-
}), d =
|
|
29
|
+
}), d = u(() => {
|
|
29
30
|
if (t.value !== "steps") return !0;
|
|
30
|
-
let e =
|
|
31
|
+
let e = M(l.value);
|
|
31
32
|
return e != null && e.count === o.value && e.jumpTerm === s.value;
|
|
32
|
-
}), f =
|
|
33
|
+
}), f = u(() => ({
|
|
33
34
|
mode: t.value,
|
|
34
|
-
css:
|
|
35
|
+
css: l.value,
|
|
35
36
|
fn: c.value,
|
|
36
37
|
points: [...r.value],
|
|
37
38
|
steps: o.value,
|
|
38
39
|
term: s.value
|
|
39
|
-
})), p =
|
|
40
|
+
})), p = u(() => {
|
|
40
41
|
let [e, t, n, i] = r.value;
|
|
41
42
|
return [{
|
|
42
43
|
x: e,
|
|
43
|
-
y:
|
|
44
|
+
y: F(t)
|
|
44
45
|
}, {
|
|
45
46
|
x: n,
|
|
46
|
-
y:
|
|
47
|
+
y: F(i)
|
|
47
48
|
}];
|
|
48
|
-
}), m =
|
|
49
|
+
}), m = u(() => {
|
|
49
50
|
let [e, t] = p.value;
|
|
50
51
|
return `M 0 1 C ${e.x} ${e.y}, ${t.x} ${t.y}, 1 0`;
|
|
51
|
-
}), h =
|
|
52
|
+
}), h = u(() => {
|
|
52
53
|
let e = c.value, t = "";
|
|
53
54
|
for (let n = 0; n <= 240; n++) {
|
|
54
|
-
let r = n / 240, i =
|
|
55
|
+
let r = n / 240, i = F(e(r));
|
|
55
56
|
t += n === 0 ? `M ${r} ${i}` : ` L ${r} ${i}`;
|
|
56
57
|
}
|
|
57
58
|
return t;
|
|
58
|
-
}), g =
|
|
59
|
+
}), g = u(() => {
|
|
59
60
|
let e = [
|
|
60
61
|
0,
|
|
61
62
|
1,
|
|
62
63
|
p.value[0].y,
|
|
63
64
|
p.value[1].y
|
|
64
65
|
];
|
|
65
|
-
for (let t = 0; t <= 16; t++) e.push(
|
|
66
|
-
let t = Math.max(Math.min(...e), -
|
|
66
|
+
for (let t = 0; t <= 16; t++) e.push(F(c.value(t / 16)));
|
|
67
|
+
let t = Math.max(Math.min(...e), -L) - I;
|
|
67
68
|
return {
|
|
68
69
|
minY: t,
|
|
69
|
-
height: Math.min(Math.max(...e), 1 +
|
|
70
|
+
height: Math.min(Math.max(...e), 1 + L) + I - t
|
|
70
71
|
};
|
|
71
|
-
}), _ =
|
|
72
|
-
function
|
|
73
|
-
|
|
72
|
+
}), _ = S(0), v = S(!1), y = u(() => v.value ? "playing" : _.value >= 1 ? "complete" : "idle"), b = 0, x = 0, C = S(!1), w = typeof window > "u" || typeof window.matchMedia != "function" ? null : window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
73
|
+
function T() {
|
|
74
|
+
x++, b && cancelAnimationFrame(b), b = 0, v.value = !1;
|
|
74
75
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
function E() {
|
|
77
|
+
T(), _.value = 0;
|
|
78
|
+
}
|
|
79
|
+
let D = (e) => {
|
|
80
|
+
C.value = e.matches, e.matches && (T(), _.value = 1);
|
|
81
|
+
};
|
|
82
|
+
w && (D(w), w.addEventListener("change", D));
|
|
83
|
+
function O() {
|
|
84
|
+
if (T(), _.value = 0, C.value) {
|
|
85
|
+
_.value = 1;
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
v.value = !0;
|
|
89
|
+
let e = x, t = performance.now(), n = (r) => {
|
|
90
|
+
if (e !== x) return;
|
|
91
|
+
let i = Math.min(1, (r - t) / R);
|
|
92
|
+
_.value = i, i < 1 ? b = requestAnimationFrame(n) : (b = 0, v.value = !1);
|
|
80
93
|
};
|
|
81
|
-
|
|
94
|
+
b = requestAnimationFrame(n);
|
|
82
95
|
}
|
|
83
|
-
return {
|
|
96
|
+
return ee(() => {
|
|
97
|
+
T(), w?.removeEventListener("change", D);
|
|
98
|
+
}), {
|
|
84
99
|
mode: t,
|
|
85
100
|
preset: n,
|
|
86
101
|
points: r,
|
|
87
|
-
presetNames:
|
|
102
|
+
presetNames: z,
|
|
88
103
|
selectPreset: i,
|
|
89
104
|
setHandle: a,
|
|
90
105
|
steps: o,
|
|
91
106
|
term: s,
|
|
92
|
-
terms:
|
|
107
|
+
terms: le,
|
|
93
108
|
easingFn: c,
|
|
94
|
-
readout:
|
|
109
|
+
readout: l,
|
|
95
110
|
reparseOk: d,
|
|
96
111
|
value: f,
|
|
97
112
|
handlesSvg: p,
|
|
@@ -99,18 +114,45 @@ function z(e = {}) {
|
|
|
99
114
|
stepPathD: h,
|
|
100
115
|
viewBox: g,
|
|
101
116
|
progress: _,
|
|
102
|
-
|
|
103
|
-
|
|
117
|
+
playing: v,
|
|
118
|
+
playbackState: y,
|
|
119
|
+
reducedMotion: C,
|
|
120
|
+
playTravel: O,
|
|
121
|
+
cancelTravel: E,
|
|
122
|
+
stopTravel: T
|
|
104
123
|
};
|
|
105
124
|
}
|
|
106
125
|
//#endregion
|
|
107
126
|
//#region src/components/easing/EasingPicker.vue?vue&type=script&setup=true&lang.ts
|
|
108
|
-
var
|
|
127
|
+
var he = [
|
|
128
|
+
"data-mode",
|
|
129
|
+
"data-copy-state",
|
|
130
|
+
"data-playback-state",
|
|
131
|
+
"data-reduced-motion"
|
|
132
|
+
], ge = { class: "glass-card relative overflow-hidden rounded-card p-3" }, _e = ["id"], ve = ["viewBox", "aria-label"], ye = ["x1", "x2"], be = ["y1", "y2"], xe = ["x2", "y2"], Se = ["x2", "y2"], Ce = ["d"], we = ["d"], Te = [
|
|
133
|
+
"cx",
|
|
134
|
+
"cy",
|
|
135
|
+
"aria-label",
|
|
136
|
+
"aria-valuenow",
|
|
137
|
+
"aria-valuetext",
|
|
138
|
+
"aria-describedby",
|
|
139
|
+
"onKeydown"
|
|
140
|
+
], Ee = ["cx", "cy"], De = { class: "flex flex-col gap-4" }, Oe = {
|
|
109
141
|
key: 0,
|
|
110
142
|
class: "flex flex-col gap-2"
|
|
111
|
-
},
|
|
143
|
+
}, ke = { class: "flex flex-col gap-2" }, Ae = { class: "text-mono-caption text-muted-foreground" }, je = { class: "flex flex-col gap-2" }, Me = ["data-reparse-ok"], Ne = { class: "flex items-center gap-2" }, Pe = ["disabled", "aria-label"], Fe = {
|
|
144
|
+
key: 0,
|
|
145
|
+
class: "flex flex-wrap items-center justify-between gap-2 text-mono-caption"
|
|
146
|
+
}, Ie = {
|
|
147
|
+
key: 3,
|
|
148
|
+
class: "flex flex-wrap items-center gap-2"
|
|
149
|
+
}, Le = {
|
|
150
|
+
class: "text-mono-caption text-muted-foreground",
|
|
151
|
+
role: "status",
|
|
152
|
+
"aria-live": "polite"
|
|
153
|
+
}, V = /* @__PURE__ */ _({
|
|
112
154
|
__name: "EasingPicker",
|
|
113
|
-
props: /* @__PURE__ */
|
|
155
|
+
props: /* @__PURE__ */ v({
|
|
114
156
|
mode: { default: "bezier" },
|
|
115
157
|
preset: { default: void 0 },
|
|
116
158
|
steps: { default: void 0 },
|
|
@@ -129,19 +171,19 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
129
171
|
modelModifiers: {}
|
|
130
172
|
}),
|
|
131
173
|
emits: ["update:modelValue"],
|
|
132
|
-
setup(
|
|
133
|
-
let
|
|
134
|
-
initialMode:
|
|
135
|
-
initialPreset:
|
|
136
|
-
initialSteps:
|
|
137
|
-
initialTerm:
|
|
174
|
+
setup(s) {
|
|
175
|
+
let c = s, _ = O(s, "modelValue"), { mode: v, preset: ee, points: A, presetNames: j, selectPreset: le, setHandle: M, steps: N, term: P, terms: ue, easingFn: I, readout: L, reparseOk: R, value: z, handlesSvg: V, bezierPathD: H, stepPathD: Re, viewBox: U, progress: W, playing: G, playbackState: K, reducedMotion: ze, playTravel: Be, cancelTravel: Ve, stopTravel: He } = B({
|
|
176
|
+
initialMode: c.mode,
|
|
177
|
+
initialPreset: c.preset,
|
|
178
|
+
initialSteps: c.steps,
|
|
179
|
+
initialTerm: c.term
|
|
138
180
|
});
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
}),
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
let t =
|
|
181
|
+
ne(() => c.mode, (e) => {
|
|
182
|
+
v.value = e;
|
|
183
|
+
}), ne(z, (e) => _.value = e, { immediate: !0 });
|
|
184
|
+
let Ue = te("svgEl"), q = D(), J = S(null);
|
|
185
|
+
function We(e) {
|
|
186
|
+
let t = Ue.value;
|
|
145
187
|
if (!t) return {
|
|
146
188
|
x: 0,
|
|
147
189
|
y: 0
|
|
@@ -154,68 +196,134 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
154
196
|
let r = n.inverse();
|
|
155
197
|
return {
|
|
156
198
|
x: r.a * e.clientX + r.c * e.clientY + r.e,
|
|
157
|
-
y:
|
|
199
|
+
y: F(r.b * e.clientX + r.d * e.clientY + r.f)
|
|
158
200
|
};
|
|
159
201
|
}
|
|
160
|
-
function
|
|
161
|
-
if (
|
|
162
|
-
let { x: t, y: n } =
|
|
163
|
-
x:
|
|
164
|
-
y:
|
|
202
|
+
function Ge(e) {
|
|
203
|
+
if (v.value !== "bezier") return;
|
|
204
|
+
let { x: t, y: n } = We(e), r = e.pointerType === "touch" ? fe : de, i = [{
|
|
205
|
+
x: A.value[0],
|
|
206
|
+
y: A.value[1]
|
|
165
207
|
}, {
|
|
166
|
-
x:
|
|
167
|
-
y:
|
|
208
|
+
x: A.value[2],
|
|
209
|
+
y: A.value[3]
|
|
168
210
|
}], a = null, o = Infinity;
|
|
169
211
|
for (let e = 0; e < 2; e++) {
|
|
170
212
|
let s = Math.hypot(i[e].x - t, i[e].y - n);
|
|
171
213
|
s < r && s < o && (o = s, a = e);
|
|
172
214
|
}
|
|
173
|
-
a !== null && (e.preventDefault(),
|
|
215
|
+
a !== null && (e.preventDefault(), J.value = a, e.currentTarget.setPointerCapture(e.pointerId));
|
|
216
|
+
}
|
|
217
|
+
function Ke(e) {
|
|
218
|
+
if (J.value === null) return;
|
|
219
|
+
let { x: t, y: n } = We(e);
|
|
220
|
+
M(J.value, t, n);
|
|
221
|
+
}
|
|
222
|
+
function qe() {
|
|
223
|
+
J.value = null;
|
|
174
224
|
}
|
|
175
|
-
function
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
225
|
+
function Je(e, t) {
|
|
226
|
+
let n = e * 2, r = A.value[n], i = A.value[n + 1], a = t.shiftKey ? .1 : .01, o = r, s = i;
|
|
227
|
+
switch (t.key) {
|
|
228
|
+
case "ArrowLeft":
|
|
229
|
+
o -= a;
|
|
230
|
+
break;
|
|
231
|
+
case "ArrowRight":
|
|
232
|
+
o += a;
|
|
233
|
+
break;
|
|
234
|
+
case "ArrowDown":
|
|
235
|
+
s -= a;
|
|
236
|
+
break;
|
|
237
|
+
case "ArrowUp":
|
|
238
|
+
s += a;
|
|
239
|
+
break;
|
|
240
|
+
case "Home":
|
|
241
|
+
o = 0;
|
|
242
|
+
break;
|
|
243
|
+
case "End":
|
|
244
|
+
o = 1;
|
|
245
|
+
break;
|
|
246
|
+
default: return;
|
|
247
|
+
}
|
|
248
|
+
t.preventDefault(), M(e, o, s);
|
|
179
249
|
}
|
|
180
|
-
|
|
181
|
-
|
|
250
|
+
let Y = S("idle"), Ye = te("readoutEl"), X = 0, Z, Q;
|
|
251
|
+
function Xe() {
|
|
252
|
+
Z !== void 0 && clearTimeout(Z), Q !== void 0 && clearTimeout(Q), Z = void 0, Q = void 0;
|
|
182
253
|
}
|
|
183
|
-
|
|
184
|
-
|
|
254
|
+
async function Ze() {
|
|
255
|
+
Xe();
|
|
256
|
+
let e = ++X, t;
|
|
257
|
+
Y.value = "pending";
|
|
185
258
|
try {
|
|
186
|
-
|
|
187
|
-
|
|
259
|
+
let n = navigator.clipboard;
|
|
260
|
+
if (!n?.writeText) throw Error("Clipboard unavailable");
|
|
261
|
+
if (await Promise.race([n.writeText(L.value), new Promise((e, n) => {
|
|
262
|
+
t = setTimeout(() => n(/* @__PURE__ */ Error("Clipboard timed out")), me), Q = t;
|
|
263
|
+
})]), e !== X) return;
|
|
264
|
+
Y.value = "copied", Z = setTimeout(() => {
|
|
265
|
+
e === X && (Y.value = "idle");
|
|
266
|
+
}, pe);
|
|
267
|
+
} catch {
|
|
268
|
+
e === X && (Y.value = "failed");
|
|
269
|
+
} finally {
|
|
270
|
+
t !== void 0 && clearTimeout(t), Q === t && (Q = void 0);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
function Qe() {
|
|
274
|
+
let e = Ye.value, t = window.getSelection();
|
|
275
|
+
if (!e || !t) return;
|
|
276
|
+
let n = document.createRange();
|
|
277
|
+
n.selectNodeContents(e), t.removeAllRanges(), t.addRange(n), e.focus();
|
|
188
278
|
}
|
|
189
|
-
let
|
|
190
|
-
|
|
279
|
+
let $e = u(() => ({
|
|
280
|
+
idle: "",
|
|
281
|
+
pending: "Copying curve literal…",
|
|
282
|
+
copied: "Copied curve literal.",
|
|
283
|
+
failed: "Clipboard unavailable. Select the full literal to copy manually."
|
|
284
|
+
})[Y.value]), et = u(() => {
|
|
285
|
+
let e = v.value === "steps" ? "staircase" : "curve";
|
|
286
|
+
return G.value ? `Restart ${e}` : K.value === "complete" ? `Replay ${e}` : v.value === "steps" ? "Climb the staircase" : "Trace the curve";
|
|
287
|
+
});
|
|
288
|
+
b(() => {
|
|
289
|
+
X++, Xe(), He();
|
|
290
|
+
});
|
|
291
|
+
let tt = u(() => v.value === "bezier" ? `0 ${U.value.minY} 1 ${U.value.height}` : "-0.05 -0.1 1.1 1.2"), $ = u({
|
|
292
|
+
get: () => [N.value],
|
|
191
293
|
set: (e) => {
|
|
192
|
-
|
|
294
|
+
N.value = e[0] ?? N.value;
|
|
193
295
|
}
|
|
194
296
|
});
|
|
195
|
-
return (
|
|
297
|
+
return (c, u) => (x(), p("div", {
|
|
196
298
|
class: "grid gap-4 lg:grid-cols-[1fr_18rem]",
|
|
197
|
-
"data-mode":
|
|
299
|
+
"data-mode": E(v),
|
|
300
|
+
"data-copy-state": Y.value,
|
|
301
|
+
"data-playback-state": E(K),
|
|
302
|
+
"data-reduced-motion": E(ze) ? "" : void 0,
|
|
198
303
|
"data-testid": "easing-picker",
|
|
199
304
|
style: { "--easing-curve-accent": "var(--motion-accent, var(--viz-legendre))" }
|
|
200
|
-
}, [
|
|
305
|
+
}, [m("div", ge, [m("span", {
|
|
306
|
+
id: E(q),
|
|
307
|
+
class: "sr-only"
|
|
308
|
+
}, " Left and Right change x from 0 to 1. Up and Down change y from -0.6 to 1.6. Hold Shift for larger steps. ", 8, _e), (x(), p("svg", {
|
|
201
309
|
ref_key: "svgEl",
|
|
202
|
-
ref:
|
|
310
|
+
ref: Ue,
|
|
203
311
|
class: "block w-full touch-none select-none",
|
|
204
|
-
viewBox:
|
|
312
|
+
viewBox: tt.value,
|
|
205
313
|
preserveAspectRatio: "xMidYMid meet",
|
|
206
314
|
style: {
|
|
207
315
|
"aspect-ratio": "1",
|
|
208
316
|
"block-size": "clamp(200px, 38cqi, 320px)",
|
|
209
317
|
"margin-inline": "auto"
|
|
210
318
|
},
|
|
211
|
-
"aria-label":
|
|
212
|
-
role: "
|
|
213
|
-
onPointerdown:
|
|
214
|
-
onPointermove:
|
|
215
|
-
onPointerup:
|
|
216
|
-
onPointercancel:
|
|
319
|
+
"aria-label": s.label,
|
|
320
|
+
role: "group",
|
|
321
|
+
onPointerdown: Ge,
|
|
322
|
+
onPointermove: Ke,
|
|
323
|
+
onPointerup: qe,
|
|
324
|
+
onPointercancel: qe
|
|
217
325
|
}, [
|
|
218
|
-
|
|
326
|
+
u[3] ||= m("rect", {
|
|
219
327
|
x: "0",
|
|
220
328
|
y: "0",
|
|
221
329
|
width: "1",
|
|
@@ -224,7 +332,7 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
224
332
|
class: "stroke-border",
|
|
225
333
|
"stroke-width": "0.012"
|
|
226
334
|
}, null, -1),
|
|
227
|
-
|
|
335
|
+
u[4] ||= m("line", {
|
|
228
336
|
x1: "0",
|
|
229
337
|
y1: "1",
|
|
230
338
|
x2: "1",
|
|
@@ -233,11 +341,11 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
233
341
|
"stroke-width": "0.006",
|
|
234
342
|
"stroke-dasharray": "0.02 0.015"
|
|
235
343
|
}, null, -1),
|
|
236
|
-
(
|
|
344
|
+
(x(), p(l, null, C([
|
|
237
345
|
.25,
|
|
238
346
|
.5,
|
|
239
347
|
.75
|
|
240
|
-
], (e) =>
|
|
348
|
+
], (e) => m("line", {
|
|
241
349
|
key: "gx" + e,
|
|
242
350
|
x1: e,
|
|
243
351
|
y1: "0",
|
|
@@ -245,12 +353,12 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
245
353
|
y2: "1",
|
|
246
354
|
class: "stroke-border/40",
|
|
247
355
|
"stroke-width": "0.006"
|
|
248
|
-
}, null, 8,
|
|
249
|
-
(
|
|
356
|
+
}, null, 8, ye)), 64)),
|
|
357
|
+
(x(), p(l, null, C([
|
|
250
358
|
.25,
|
|
251
359
|
.5,
|
|
252
360
|
.75
|
|
253
|
-
], (e) =>
|
|
361
|
+
], (e) => m("line", {
|
|
254
362
|
key: "gy" + e,
|
|
255
363
|
x1: "0",
|
|
256
364
|
y1: e,
|
|
@@ -258,8 +366,8 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
258
366
|
y2: e,
|
|
259
367
|
class: "stroke-border/40",
|
|
260
368
|
"stroke-width": "0.006"
|
|
261
|
-
}, null, 8,
|
|
262
|
-
|
|
369
|
+
}, null, 8, be)), 64)),
|
|
370
|
+
u[5] ||= m("text", {
|
|
263
371
|
x: "0.05",
|
|
264
372
|
y: "0.95",
|
|
265
373
|
class: "fill-muted-foreground/60",
|
|
@@ -269,7 +377,7 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
269
377
|
},
|
|
270
378
|
"text-anchor": "start"
|
|
271
379
|
}, "0", -1),
|
|
272
|
-
|
|
380
|
+
u[6] ||= m("text", {
|
|
273
381
|
x: "0.95",
|
|
274
382
|
y: "0.12",
|
|
275
383
|
class: "fill-muted-foreground/60",
|
|
@@ -279,99 +387,102 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
279
387
|
},
|
|
280
388
|
"text-anchor": "end"
|
|
281
389
|
}, "1", -1),
|
|
282
|
-
|
|
283
|
-
|
|
390
|
+
E(v) === "bezier" ? (x(), p(l, { key: 0 }, [
|
|
391
|
+
m("line", {
|
|
284
392
|
x1: 0,
|
|
285
393
|
y1: 1,
|
|
286
|
-
x2:
|
|
287
|
-
y2:
|
|
394
|
+
x2: E(V)[0].x,
|
|
395
|
+
y2: E(V)[0].y,
|
|
288
396
|
class: "stroke-muted-foreground/50",
|
|
289
397
|
"stroke-width": "0.02",
|
|
290
398
|
"stroke-dasharray": "0.03 0.02"
|
|
291
|
-
}, null, 8,
|
|
292
|
-
|
|
399
|
+
}, null, 8, xe),
|
|
400
|
+
m("line", {
|
|
293
401
|
x1: 1,
|
|
294
402
|
y1: 0,
|
|
295
|
-
x2:
|
|
296
|
-
y2:
|
|
403
|
+
x2: E(V)[1].x,
|
|
404
|
+
y2: E(V)[1].y,
|
|
297
405
|
class: "stroke-muted-foreground/50",
|
|
298
406
|
"stroke-width": "0.02",
|
|
299
407
|
"stroke-dasharray": "0.03 0.02"
|
|
300
|
-
}, null, 8,
|
|
301
|
-
|
|
302
|
-
d:
|
|
408
|
+
}, null, 8, Se),
|
|
409
|
+
m("path", {
|
|
410
|
+
d: E(H),
|
|
303
411
|
fill: "none",
|
|
304
412
|
class: "stroke-(--easing-curve-accent)",
|
|
305
413
|
"stroke-width": "0.035",
|
|
306
414
|
"stroke-linecap": "round"
|
|
307
|
-
}, null, 8,
|
|
308
|
-
], 64)) : (
|
|
415
|
+
}, null, 8, Ce)
|
|
416
|
+
], 64)) : (x(), p("path", {
|
|
309
417
|
key: 1,
|
|
310
|
-
d:
|
|
418
|
+
d: E(Re),
|
|
311
419
|
fill: "none",
|
|
312
420
|
class: "stroke-(--easing-curve-accent)",
|
|
313
421
|
"stroke-width": "0.025",
|
|
314
422
|
"stroke-linejoin": "miter",
|
|
315
423
|
"stroke-linecap": "butt"
|
|
316
|
-
}, null, 8,
|
|
317
|
-
|
|
424
|
+
}, null, 8, we)),
|
|
425
|
+
u[7] ||= m("circle", {
|
|
318
426
|
cx: "0",
|
|
319
427
|
cy: "1",
|
|
320
428
|
r: "0.018",
|
|
321
429
|
class: "fill-muted-foreground/50"
|
|
322
430
|
}, null, -1),
|
|
323
|
-
|
|
431
|
+
u[8] ||= m("circle", {
|
|
324
432
|
cx: "1",
|
|
325
433
|
cy: "0",
|
|
326
434
|
r: "0.018",
|
|
327
435
|
class: "fill-muted-foreground/50"
|
|
328
436
|
}, null, -1),
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
437
|
+
E(v) === "bezier" ? (x(), p(l, { key: 2 }, C([0, 1], (e) => m("circle", {
|
|
438
|
+
key: e,
|
|
439
|
+
cx: E(V)[e].x,
|
|
440
|
+
cy: E(V)[e].y,
|
|
332
441
|
r: "0.04",
|
|
333
|
-
class: "fill-foreground stroke-background",
|
|
442
|
+
class: "fill-foreground stroke-background focus:outline-none focus-visible:stroke-(--easing-curve-accent) focus-visible:[stroke-width:0.045]",
|
|
334
443
|
"stroke-width": "0.02",
|
|
335
|
-
style: { cursor: "move" }
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
"
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
444
|
+
style: { cursor: "move" },
|
|
445
|
+
role: "slider",
|
|
446
|
+
tabindex: "0",
|
|
447
|
+
"aria-label": `Bezier control point ${e + 1}`,
|
|
448
|
+
"aria-valuemin": 0,
|
|
449
|
+
"aria-valuemax": 1,
|
|
450
|
+
"aria-valuenow": E(A)[e * 2],
|
|
451
|
+
"aria-valuetext": `x ${E(A)[e * 2].toFixed(3)}, y ${E(A)[e * 2 + 1].toFixed(3)}`,
|
|
452
|
+
"aria-describedby": E(q),
|
|
453
|
+
onKeydown: (t) => Je(e, t)
|
|
454
|
+
}, null, 40, Te)), 64)) : f("", !0),
|
|
455
|
+
s.playback ? (x(), p("circle", {
|
|
345
456
|
key: 3,
|
|
346
|
-
cx:
|
|
347
|
-
cy: 1 -
|
|
457
|
+
cx: E(W),
|
|
458
|
+
cy: 1 - E(I)(E(W)),
|
|
348
459
|
r: "0.03",
|
|
349
460
|
class: "fill-(--easing-curve-accent)"
|
|
350
|
-
}, null, 8,
|
|
351
|
-
], 40,
|
|
352
|
-
|
|
353
|
-
"model-value":
|
|
354
|
-
"onUpdate:modelValue":
|
|
461
|
+
}, null, 8, Ee)) : f("", !0)
|
|
462
|
+
], 40, ve))]), m("div", De, [
|
|
463
|
+
E(v) === "bezier" ? (x(), p("div", Oe, [u[9] ||= m("span", { class: "text-mono-caption text-muted-foreground" }, "Preset", -1), g(E(n), {
|
|
464
|
+
"model-value": E(ee),
|
|
465
|
+
"onUpdate:modelValue": u[0] ||= (e) => E(le)(String(e))
|
|
355
466
|
}, {
|
|
356
|
-
default:
|
|
357
|
-
default:
|
|
467
|
+
default: k(() => [g(E(r), { "aria-label": "Easing preset" }, {
|
|
468
|
+
default: k(() => [g(E(a), { placeholder: "Pick a curve" })]),
|
|
358
469
|
_: 1
|
|
359
|
-
}),
|
|
360
|
-
default:
|
|
470
|
+
}), g(E(t), null, {
|
|
471
|
+
default: k(() => [(x(!0), p(l, null, C(E(j), (e) => (x(), d(E(i), {
|
|
361
472
|
key: e,
|
|
362
473
|
value: e
|
|
363
474
|
}, {
|
|
364
|
-
default:
|
|
475
|
+
default: k(() => [h(T(e), 1)]),
|
|
365
476
|
_: 2
|
|
366
477
|
}, 1032, ["value"]))), 128))]),
|
|
367
478
|
_: 1
|
|
368
479
|
})]),
|
|
369
480
|
_: 1
|
|
370
|
-
}, 8, ["model-value"])])) : (
|
|
481
|
+
}, 8, ["model-value"])])) : (x(), p(l, { key: 1 }, [m("div", ke, [m("span", Ae, "Steps (n) — " + T(E(N)), 1), g(E(o), {
|
|
371
482
|
modelValue: $.value,
|
|
372
|
-
"onUpdate:modelValue":
|
|
373
|
-
min:
|
|
374
|
-
max:
|
|
483
|
+
"onUpdate:modelValue": u[1] ||= (e) => $.value = e,
|
|
484
|
+
min: E(1),
|
|
485
|
+
max: E(12),
|
|
375
486
|
step: 1,
|
|
376
487
|
"aria-label": "Step count",
|
|
377
488
|
"data-testid": "easing-steps-n"
|
|
@@ -379,57 +490,93 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
379
490
|
"modelValue",
|
|
380
491
|
"min",
|
|
381
492
|
"max"
|
|
382
|
-
])]),
|
|
383
|
-
"model-value":
|
|
384
|
-
"onUpdate:modelValue":
|
|
493
|
+
])]), m("div", je, [u[10] ||= m("span", { class: "text-mono-caption text-muted-foreground" }, "Jump term", -1), g(E(n), {
|
|
494
|
+
"model-value": E(P),
|
|
495
|
+
"onUpdate:modelValue": u[2] ||= (e) => P.value = String(e)
|
|
385
496
|
}, {
|
|
386
|
-
default:
|
|
387
|
-
default:
|
|
497
|
+
default: k(() => [g(E(r), { "aria-label": "Jump term" }, {
|
|
498
|
+
default: k(() => [g(E(a), { placeholder: "Pick a jump term" })]),
|
|
388
499
|
_: 1
|
|
389
|
-
}),
|
|
390
|
-
default:
|
|
500
|
+
}), g(E(t), null, {
|
|
501
|
+
default: k(() => [(x(!0), p(l, null, C(E(ue), (e) => (x(), d(E(i), {
|
|
391
502
|
key: e,
|
|
392
503
|
value: e
|
|
393
504
|
}, {
|
|
394
|
-
default:
|
|
505
|
+
default: k(() => [h(T(e), 1)]),
|
|
395
506
|
_: 2
|
|
396
507
|
}, 1032, ["value"]))), 128))]),
|
|
397
508
|
_: 1
|
|
398
509
|
})]),
|
|
399
510
|
_: 1
|
|
400
511
|
}, 8, ["model-value"])])], 64)),
|
|
401
|
-
|
|
512
|
+
s.readout ? (x(), p("div", {
|
|
402
513
|
key: 2,
|
|
403
|
-
class: "glass-card flex
|
|
404
|
-
"data-reparse-ok":
|
|
514
|
+
class: "glass-card flex flex-col gap-2 rounded-card px-3 py-2",
|
|
515
|
+
"data-reparse-ok": E(R),
|
|
405
516
|
"data-testid": "easing-readout"
|
|
406
|
-
}, [
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
517
|
+
}, [m("div", Ne, [m("code", {
|
|
518
|
+
ref_key: "readoutEl",
|
|
519
|
+
ref: Ye,
|
|
520
|
+
tabindex: "0",
|
|
521
|
+
class: "min-w-0 flex-1 break-all text-xs text-foreground select-text"
|
|
522
|
+
}, T(E(L)), 513), m("button", {
|
|
410
523
|
type: "button",
|
|
411
|
-
class: "shrink-0 rounded-pill p-1.5 text-muted-foreground transition-colors hover:bg-(--surface-tint-8) hover:text-foreground",
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
524
|
+
class: "shrink-0 rounded-pill p-1.5 text-muted-foreground transition-colors hover:bg-(--surface-tint-8) hover:text-foreground disabled:cursor-wait disabled:opacity-disabled",
|
|
525
|
+
disabled: Y.value === "pending",
|
|
526
|
+
"aria-label": Y.value === "failed" ? "Retry copy curve literal" : Y.value === "copied" ? "Copied" : Y.value === "pending" ? "Copying curve literal" : "Copy curve literal",
|
|
527
|
+
"data-testid": "easing-copy",
|
|
528
|
+
onClick: Ze
|
|
529
|
+
}, [Y.value === "pending" ? (x(), d(E(ae), {
|
|
415
530
|
key: 0,
|
|
416
|
-
class: "size-4
|
|
417
|
-
})) : (
|
|
531
|
+
class: "size-4 animate-spin"
|
|
532
|
+
})) : Y.value === "copied" ? (x(), d(E(re), {
|
|
418
533
|
key: 1,
|
|
534
|
+
class: "size-4 text-(--easing-curve-accent)"
|
|
535
|
+
})) : (x(), d(E(ie), {
|
|
536
|
+
key: 2,
|
|
419
537
|
class: "size-4"
|
|
420
|
-
}))], 8,
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
538
|
+
}))], 8, Pe)]), Y.value === "idle" ? f("", !0) : (x(), p("div", Fe, [m("span", {
|
|
539
|
+
role: "status",
|
|
540
|
+
"aria-live": "polite",
|
|
541
|
+
class: y(Y.value === "failed" ? "text-destructive" : "text-muted-foreground")
|
|
542
|
+
}, T($e.value), 3), Y.value === "failed" ? (x(), d(E(e), {
|
|
543
|
+
key: 0,
|
|
544
|
+
variant: "outline",
|
|
545
|
+
class: "shrink-0 px-3 py-1",
|
|
546
|
+
"data-testid": "easing-select-literal",
|
|
547
|
+
onClick: Qe
|
|
548
|
+
}, {
|
|
549
|
+
default: k(() => [...u[11] ||= [h(" Select literal ", -1)]]),
|
|
550
|
+
_: 1
|
|
551
|
+
})) : f("", !0)]))], 8, Me)) : f("", !0),
|
|
552
|
+
s.playback ? (x(), p("div", Ie, [
|
|
553
|
+
g(E(e), {
|
|
554
|
+
variant: "outline",
|
|
555
|
+
class: "w-fit",
|
|
556
|
+
"data-testid": "easing-playback",
|
|
557
|
+
onClick: E(Be)
|
|
558
|
+
}, {
|
|
559
|
+
default: k(() => [E(G) || E(K) === "complete" ? (x(), d(E(se), { key: 0 })) : (x(), d(E(oe), { key: 1 })), h(" " + T(et.value), 1)]),
|
|
560
|
+
_: 1
|
|
561
|
+
}, 8, ["onClick"]),
|
|
562
|
+
E(G) ? (x(), d(E(e), {
|
|
563
|
+
key: 0,
|
|
564
|
+
variant: "outline",
|
|
565
|
+
class: "w-fit",
|
|
566
|
+
"data-testid": "easing-cancel",
|
|
567
|
+
onClick: E(Ve)
|
|
568
|
+
}, {
|
|
569
|
+
default: k(() => [g(E(ce)), u[12] ||= h(" Cancel preview ", -1)]),
|
|
570
|
+
_: 1
|
|
571
|
+
}, 8, ["onClick"])) : f("", !0),
|
|
572
|
+
m("span", Le, T(E(K) === "playing" ? "Preview playing" : E(K) === "complete" ? "Preview complete" : "Preview idle"), 1)
|
|
573
|
+
])) : f("", !0),
|
|
574
|
+
w(c.$slots, "footer", { value: E(z) })
|
|
575
|
+
])], 8, he));
|
|
429
576
|
}
|
|
430
|
-
}),
|
|
577
|
+
}), H = /* @__PURE__ */ _({
|
|
431
578
|
__name: "EasingConfigurator",
|
|
432
|
-
props: /* @__PURE__ */
|
|
579
|
+
props: /* @__PURE__ */ v({
|
|
433
580
|
label: { default: "Easing" },
|
|
434
581
|
name: { default: void 0 },
|
|
435
582
|
mode: { default: "bezier" },
|
|
@@ -442,16 +589,16 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
442
589
|
}),
|
|
443
590
|
emits: ["update:modelValue"],
|
|
444
591
|
setup(e) {
|
|
445
|
-
let t =
|
|
446
|
-
return (n, r) => (
|
|
592
|
+
let t = O(e, "modelValue");
|
|
593
|
+
return (n, r) => (x(), d(E(c), {
|
|
447
594
|
label: e.label,
|
|
448
595
|
sub: e.name
|
|
449
596
|
}, {
|
|
450
|
-
default:
|
|
597
|
+
default: k(() => [g(E(s), {
|
|
451
598
|
label: "Curve",
|
|
452
599
|
name: t.value?.css
|
|
453
600
|
}, {
|
|
454
|
-
default:
|
|
601
|
+
default: k(() => [g(V, {
|
|
455
602
|
modelValue: t.value,
|
|
456
603
|
"onUpdate:modelValue": r[0] ||= (e) => t.value = e,
|
|
457
604
|
mode: e.mode,
|
|
@@ -472,4 +619,4 @@ var se = ["data-mode"], ce = { class: "glass-card relative overflow-hidden round
|
|
|
472
619
|
}
|
|
473
620
|
});
|
|
474
621
|
//#endregion
|
|
475
|
-
export {
|
|
622
|
+
export { H as EasingConfigurator, V as EasingPicker, B as useEasingPicker };
|