@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/color.js
CHANGED
|
@@ -1,3 +1,87 @@
|
|
|
1
|
-
import { t as e } from "./useAccentTone-
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { t as e } from "./useAccentTone-C-p6WdPe.js";
|
|
2
|
+
import { colorUnit2 as t, gamutMapOKLab as n, interpolateHue as r, isInSRGBGamut as i, oklabToLinearSRGB as a, oklabToRgb255 as o, parseCSSColor as s, rawOklabToOklch as c, rawOklchToOklab as l, srgbToOKLab as u } from "@mkbabb/value.js";
|
|
3
|
+
//#region src/composables/color/index.ts
|
|
4
|
+
function d(e) {
|
|
5
|
+
let [t, n, r] = l(e.L, e.C, e.h), [i, o, s] = a(t, n, r);
|
|
6
|
+
return [
|
|
7
|
+
Math.max(0, i),
|
|
8
|
+
Math.max(0, o),
|
|
9
|
+
Math.max(0, s)
|
|
10
|
+
];
|
|
11
|
+
}
|
|
12
|
+
function f(e, t, n) {
|
|
13
|
+
if (!Number.isFinite(e) || !Number.isFinite(t) || !Number.isFinite(n)) throw Error(`warmCatchLight: non-finite OKLCh anchor (L=${e}, C=${t}, h=${n})`);
|
|
14
|
+
return d({
|
|
15
|
+
L: e,
|
|
16
|
+
C: t,
|
|
17
|
+
h: n
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
function p(e) {
|
|
21
|
+
let [t, n, r] = l(e.L, e.C, e.h), [i, a, s] = o(t, n, r), c = (e) => Math.min(1, Math.max(0, e / 255));
|
|
22
|
+
return [
|
|
23
|
+
c(i),
|
|
24
|
+
c(a),
|
|
25
|
+
c(s)
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
function m(e) {
|
|
29
|
+
let n = t(s(e), "rgb").value, [r, i, a] = u(Number(n.r), Number(n.g), Number(n.b)), [o, l, d] = c(r, i, a);
|
|
30
|
+
return {
|
|
31
|
+
L: o,
|
|
32
|
+
C: l,
|
|
33
|
+
h: d
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function h(e) {
|
|
37
|
+
let [t, n, r] = l(e.L, e.C, e.h), [i, a, s] = o(t, n, r), c = (e) => Math.round(e).toString(16).padStart(2, "0");
|
|
38
|
+
return `#${c(i)}${c(a)}${c(s)}`;
|
|
39
|
+
}
|
|
40
|
+
var g = (e) => p(m(e)), _ = {
|
|
41
|
+
complementary: "longer",
|
|
42
|
+
"split-complementary": "longer",
|
|
43
|
+
analogous: "shorter",
|
|
44
|
+
monochrome: "shorter",
|
|
45
|
+
triad: "increasing",
|
|
46
|
+
tetradic: "increasing"
|
|
47
|
+
}, v = (e) => (e % 360 + 360) % 360;
|
|
48
|
+
function y(e, t, n, i) {
|
|
49
|
+
let a = _[t], o = (e, t) => v(r(v(e) / 360, v(t) / 360, i, a) * 360);
|
|
50
|
+
switch (t) {
|
|
51
|
+
case "monochrome": return v(e);
|
|
52
|
+
case "complementary": return o(e, e + 180);
|
|
53
|
+
case "split-complementary": return o(e + 150, e + 210);
|
|
54
|
+
case "triad": return o(e, e + 240);
|
|
55
|
+
case "tetradic": return o(e, e + 270);
|
|
56
|
+
default: return o(e - n, e + n);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function b(e) {
|
|
60
|
+
let [t, r, o] = l(e.L, e.C, e.h), [s, u, d] = n(t, r, o), [f, p, m] = c(s, u, d), h = p;
|
|
61
|
+
for (let e = 0; e < 6; e++) {
|
|
62
|
+
let [e, t, n] = l(f, h, m), [r, o, s] = a(e, t, n);
|
|
63
|
+
if (i(r, o, s)) break;
|
|
64
|
+
h *= .999;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
L: f,
|
|
68
|
+
C: h,
|
|
69
|
+
h: m
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
function x(e, t = {}) {
|
|
73
|
+
let n = typeof e == "string" ? m(e) : e, { stopCount: r = 3, harmony: i = "analogous", lightnessSpread: a = .18, hueSpread: o = 24, chromaBump: s = .03, chromaCeiling: c, bodyLightness: l, lightnessFloor: u } = t, d = l === void 0 ? n.L - a / 2 : l, f = u === void 0 ? .05 : u, p = Math.max(2, Math.min(4, Math.round(r))), h = [];
|
|
74
|
+
for (let e = 0; e < p; e++) {
|
|
75
|
+
let t = p === 1 ? 0 : e / (p - 1), r = d + a * t, l = Math.max(0, n.C + s * Math.sin(Math.PI * t));
|
|
76
|
+
c !== void 0 && (l = Math.min(l, c));
|
|
77
|
+
let u = y(n.h, i, o, t);
|
|
78
|
+
h.push(b({
|
|
79
|
+
L: Math.min(.98, Math.max(f, r)),
|
|
80
|
+
C: l,
|
|
81
|
+
h: u
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
return h;
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
export { m as cssToOklch, g as defaultBlobColorResolver, x as deriveBlobPalette, y as deriveHue, b as gamutMapStop, h as oklchStopToHex, p as oklchToGammaRgb, d as oklchToLinear, e as useAccentTone, f as warmCatchLight };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
2
|
import { t } from "./useSurfaceAxis-DudiZVOR.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "./menuItemVariants-
|
|
5
|
-
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f,
|
|
6
|
-
import { ComboboxContent as
|
|
7
|
-
import { Search as
|
|
3
|
+
import { c as n, n as r } from "./dialog-BzQxKrUr.js";
|
|
4
|
+
import { t as i } from "./menuItemVariants-D6AOzzND.js";
|
|
5
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, normalizeClass as m, openBlock as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
6
|
+
import { ComboboxContent as b, ComboboxEmpty as x, ComboboxGroup as S, ComboboxInput as C, ComboboxItem as w, ComboboxLabel as T, ComboboxRoot as E, ComboboxSeparator as D, useForwardProps as O, useForwardPropsEmits as k } from "reka-ui";
|
|
7
|
+
import { Search as A } from "@lucide/vue";
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/components/command/Command.vue
|
|
10
|
-
var
|
|
10
|
+
var j = /* @__PURE__ */ f({
|
|
11
11
|
__name: "Command",
|
|
12
12
|
props: {
|
|
13
13
|
open: {
|
|
@@ -47,47 +47,52 @@ var N = /* @__PURE__ */ f({
|
|
|
47
47
|
"update:open"
|
|
48
48
|
],
|
|
49
49
|
setup(n, { emit: r }) {
|
|
50
|
-
let i = n, s = r, c =
|
|
50
|
+
let i = n, s = r, c = k(a(() => {
|
|
51
51
|
let { class: e, surface: t, ...n } = i;
|
|
52
52
|
return n;
|
|
53
53
|
}), s), l = a(() => t(i.surface));
|
|
54
|
-
return (t, n) => (
|
|
54
|
+
return (t, n) => (h(), o(v(E), p({ "data-slot": "command" }, v(c), {
|
|
55
55
|
"data-surface": i.surface,
|
|
56
|
-
class:
|
|
56
|
+
class: v(e)("glass-floating flex h-full w-full flex-col overflow-hidden rounded-panel text-popover-foreground", l.value, i.class)
|
|
57
57
|
}), {
|
|
58
|
-
default:
|
|
58
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
59
59
|
_: 3
|
|
60
60
|
}, 16, ["data-surface", "class"]));
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
62
|
+
}), M = /* @__PURE__ */ f({
|
|
63
63
|
__name: "CommandDialog",
|
|
64
64
|
props: {
|
|
65
65
|
open: { type: Boolean },
|
|
66
66
|
defaultOpen: { type: Boolean },
|
|
67
67
|
modal: { type: Boolean },
|
|
68
|
-
surface: { default: "glass" }
|
|
68
|
+
surface: { default: "glass" },
|
|
69
|
+
modelValue: {}
|
|
69
70
|
},
|
|
70
|
-
emits: ["update:open"],
|
|
71
|
+
emits: ["update:open", "update:modelValue"],
|
|
71
72
|
setup(e, { emit: t }) {
|
|
72
|
-
let i = e, s = t, c =
|
|
73
|
-
let { surface: e,
|
|
74
|
-
return
|
|
75
|
-
})
|
|
76
|
-
return (e, t) => (
|
|
77
|
-
default:
|
|
73
|
+
let i = e, s = t, c = a(() => {
|
|
74
|
+
let { surface: e, modelValue: t, ...n } = i;
|
|
75
|
+
return n;
|
|
76
|
+
});
|
|
77
|
+
return (e, t) => (h(), o(v(n), p(c.value, { "onUpdate:open": t[1] ||= (e) => s("update:open", e) }), {
|
|
78
|
+
default: y(() => [d(v(r), {
|
|
78
79
|
surface: i.surface,
|
|
79
80
|
class: "overflow-hidden p-0"
|
|
80
81
|
}, {
|
|
81
|
-
default:
|
|
82
|
-
|
|
82
|
+
default: y(() => [d(j, {
|
|
83
|
+
"model-value": i.modelValue,
|
|
84
|
+
class: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[data-cmdk-input-wrapper]_svg]:h-5 [&_[data-cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",
|
|
85
|
+
"onUpdate:modelValue": t[0] ||= (e) => s("update:modelValue", e)
|
|
86
|
+
}, {
|
|
87
|
+
default: y(() => [g(e.$slots, "default")]),
|
|
83
88
|
_: 3
|
|
84
|
-
})]),
|
|
89
|
+
}, 8, ["model-value"])]),
|
|
85
90
|
_: 3
|
|
86
91
|
}, 8, ["surface"])]),
|
|
87
92
|
_: 3
|
|
88
93
|
}, 16));
|
|
89
94
|
}
|
|
90
|
-
}),
|
|
95
|
+
}), N = /* @__PURE__ */ f({
|
|
91
96
|
__name: "CommandEmpty",
|
|
92
97
|
props: {
|
|
93
98
|
asChild: { type: Boolean },
|
|
@@ -105,12 +110,12 @@ var N = /* @__PURE__ */ f({
|
|
|
105
110
|
let { class: e, ...t } = n;
|
|
106
111
|
return t;
|
|
107
112
|
});
|
|
108
|
-
return (t, i) => (
|
|
109
|
-
default:
|
|
113
|
+
return (t, i) => (h(), o(v(x), p(r.value, { class: v(e)("py-6 text-center text-dropdown", n.class) }), {
|
|
114
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
110
115
|
_: 3
|
|
111
116
|
}, 16, ["class"]));
|
|
112
117
|
}
|
|
113
|
-
}),
|
|
118
|
+
}), P = /* @__PURE__ */ f({
|
|
114
119
|
__name: "CommandGroup",
|
|
115
120
|
props: {
|
|
116
121
|
asChild: { type: Boolean },
|
|
@@ -129,21 +134,21 @@ var N = /* @__PURE__ */ f({
|
|
|
129
134
|
let { class: e, ...t } = n;
|
|
130
135
|
return t;
|
|
131
136
|
});
|
|
132
|
-
return (i, a) => (
|
|
133
|
-
default:
|
|
137
|
+
return (i, a) => (h(), o(v(S), p(r.value, { class: v(e)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-dropdown-secondary [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", n.class) }), {
|
|
138
|
+
default: y(() => [t.heading ? (h(), o(v(T), {
|
|
134
139
|
key: 0,
|
|
135
140
|
class: "px-2 py-1.5 text-dropdown-secondary font-medium text-muted-foreground"
|
|
136
141
|
}, {
|
|
137
|
-
default:
|
|
142
|
+
default: y(() => [u(_(t.heading), 1)]),
|
|
138
143
|
_: 1
|
|
139
|
-
})) : s("", !0),
|
|
144
|
+
})) : s("", !0), g(i.$slots, "default")]),
|
|
140
145
|
_: 3
|
|
141
146
|
}, 16, ["class"]));
|
|
142
147
|
}
|
|
143
|
-
}),
|
|
148
|
+
}), F = {
|
|
144
149
|
class: "flex items-center border-b px-3",
|
|
145
150
|
"data-cmdk-input-wrapper": ""
|
|
146
|
-
},
|
|
151
|
+
}, I = /* @__PURE__ */ f({
|
|
147
152
|
inheritAttrs: !1,
|
|
148
153
|
__name: "CommandInput",
|
|
149
154
|
props: {
|
|
@@ -163,19 +168,19 @@ var N = /* @__PURE__ */ f({
|
|
|
163
168
|
placeholder: {}
|
|
164
169
|
},
|
|
165
170
|
setup(t) {
|
|
166
|
-
let n = t, r =
|
|
171
|
+
let n = t, r = O(a(() => {
|
|
167
172
|
let { class: e, ...t } = n;
|
|
168
173
|
return t;
|
|
169
174
|
}));
|
|
170
|
-
return (t, i) => (
|
|
171
|
-
...
|
|
175
|
+
return (t, i) => (h(), c("div", F, [d(v(A), { class: "mr-2 h-4 w-4 shrink-0 opacity-50" }), d(v(C), p({
|
|
176
|
+
...v(r),
|
|
172
177
|
...t.$attrs
|
|
173
178
|
}, {
|
|
174
179
|
"auto-focus": "",
|
|
175
|
-
class:
|
|
180
|
+
class: v(e)("flex h-(--dropdown-input-height) w-full rounded-input bg-transparent py-3 text-dropdown outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled", n.class)
|
|
176
181
|
}), null, 16, ["class"])]));
|
|
177
182
|
}
|
|
178
|
-
}),
|
|
183
|
+
}), L = /* @__PURE__ */ f({
|
|
179
184
|
__name: "CommandItem",
|
|
180
185
|
props: {
|
|
181
186
|
textValue: {},
|
|
@@ -193,16 +198,16 @@ var N = /* @__PURE__ */ f({
|
|
|
193
198
|
},
|
|
194
199
|
emits: ["select"],
|
|
195
200
|
setup(t, { emit: n }) {
|
|
196
|
-
let r = t, s = n, c =
|
|
201
|
+
let r = t, s = n, c = k(a(() => {
|
|
197
202
|
let { class: e, ...t } = r;
|
|
198
203
|
return t;
|
|
199
204
|
}), s);
|
|
200
|
-
return (t, n) => (
|
|
201
|
-
default:
|
|
205
|
+
return (t, n) => (h(), o(v(w), p(v(c), { class: v(e)(v(i)({ indicator: "none" }), r.class) }), {
|
|
206
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
202
207
|
_: 3
|
|
203
208
|
}, 16, ["class"]));
|
|
204
209
|
}
|
|
205
|
-
}),
|
|
210
|
+
}), R = { role: "presentation" }, z = /* @__PURE__ */ f({
|
|
206
211
|
__name: "CommandList",
|
|
207
212
|
props: {
|
|
208
213
|
forceMount: { type: Boolean },
|
|
@@ -249,19 +254,19 @@ var N = /* @__PURE__ */ f({
|
|
|
249
254
|
"interactOutside"
|
|
250
255
|
],
|
|
251
256
|
setup(t, { emit: n }) {
|
|
252
|
-
let r = t, i = n, s =
|
|
257
|
+
let r = t, i = n, s = k(a(() => {
|
|
253
258
|
let { class: e, surface: t, ...n } = r;
|
|
254
259
|
return n;
|
|
255
260
|
}), i);
|
|
256
|
-
return (t, n) => (
|
|
261
|
+
return (t, n) => (h(), o(v(b), p(v(s), {
|
|
257
262
|
"data-surface": r.surface,
|
|
258
|
-
class:
|
|
263
|
+
class: v(e)("max-h-(--overlay-max-block) overflow-y-auto overflow-x-hidden", "scroll-gutter-stable", "[--overlay-pad-inline:--spacing(1)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block)", r.class)
|
|
259
264
|
}), {
|
|
260
|
-
default:
|
|
265
|
+
default: y(() => [l("div", R, [g(t.$slots, "default")])]),
|
|
261
266
|
_: 3
|
|
262
267
|
}, 16, ["data-surface", "class"]));
|
|
263
268
|
}
|
|
264
|
-
}),
|
|
269
|
+
}), B = /* @__PURE__ */ f({
|
|
265
270
|
__name: "CommandSeparator",
|
|
266
271
|
props: {
|
|
267
272
|
asChild: { type: Boolean },
|
|
@@ -279,12 +284,12 @@ var N = /* @__PURE__ */ f({
|
|
|
279
284
|
let { class: e, ...t } = n;
|
|
280
285
|
return t;
|
|
281
286
|
});
|
|
282
|
-
return (t, i) => (
|
|
283
|
-
default:
|
|
287
|
+
return (t, i) => (h(), o(v(D), p(r.value, { class: v(e)("-mx-1 h-px bg-border", n.class) }), {
|
|
288
|
+
default: y(() => [g(t.$slots, "default")]),
|
|
284
289
|
_: 3
|
|
285
290
|
}, 16, ["class"]));
|
|
286
291
|
}
|
|
287
|
-
}),
|
|
292
|
+
}), V = /* @__PURE__ */ f({
|
|
288
293
|
__name: "CommandShortcut",
|
|
289
294
|
props: { class: { type: [
|
|
290
295
|
Boolean,
|
|
@@ -295,8 +300,8 @@ var N = /* @__PURE__ */ f({
|
|
|
295
300
|
] } },
|
|
296
301
|
setup(t) {
|
|
297
302
|
let n = t;
|
|
298
|
-
return (t, r) => (
|
|
303
|
+
return (t, r) => (h(), c("span", { class: m(v(e)("ml-auto text-dropdown-secondary tracking-widest text-muted-foreground", n.class)) }, [g(t.$slots, "default")], 2));
|
|
299
304
|
}
|
|
300
305
|
});
|
|
301
306
|
//#endregion
|
|
302
|
-
export {
|
|
307
|
+
export { I as a, M as c, L as i, j as l, B as n, P as o, z as r, N as s, V as t };
|
package/dist/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./command-BjPjUU9z.js";
|
|
2
2
|
export { r as Command, t as CommandDialog, s as CommandEmpty, a as CommandGroup, e as CommandInput, n as CommandItem, o as CommandList, i as CommandSeparator, c as CommandShortcut };
|
package/dist/completion-seal.js
CHANGED
|
@@ -1,66 +1,75 @@
|
|
|
1
1
|
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
|
-
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, onMounted as c,
|
|
2
|
+
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, onMounted as c, onScopeDispose as l, openBlock as u, readonly as d, ref as f, toDisplayString as p, toRef as m, unref as h, watch as g } from "vue";
|
|
3
|
+
import { useMediaQuery as _ } from "@vueuse/core";
|
|
3
4
|
//#region src/components/completion-seal/composables/useCompletionSeal.ts
|
|
4
|
-
function
|
|
5
|
-
return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
6
|
-
}
|
|
7
|
-
function _(e) {
|
|
5
|
+
function v(e) {
|
|
8
6
|
if (e != null) return typeof e == "function" ? e() : e.value;
|
|
9
7
|
}
|
|
10
|
-
function
|
|
11
|
-
let { play: t, respectReducedMotion: r = !0 } = e, i =
|
|
12
|
-
function
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
function y(e = {}) {
|
|
9
|
+
let { play: t, respectReducedMotion: r = !0 } = e, i = f(!1), a = f(!1), o = _("(prefers-reduced-motion: reduce)"), s = n(() => r && o.value), u = null;
|
|
10
|
+
function p() {
|
|
11
|
+
u !== null && (cancelAnimationFrame(u), u = null), i.value = !1, a.value = !0;
|
|
12
|
+
}
|
|
13
|
+
function m() {
|
|
14
|
+
if (s.value) {
|
|
15
|
+
p();
|
|
15
16
|
return;
|
|
16
17
|
}
|
|
17
|
-
i.value = !1, typeof requestAnimationFrame == "function" ? requestAnimationFrame(() => {
|
|
18
|
+
i.value = !1, typeof requestAnimationFrame == "function" ? (u !== null && cancelAnimationFrame(u), u = requestAnimationFrame(() => {
|
|
19
|
+
if (u = null, s.value) {
|
|
20
|
+
p();
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
18
23
|
i.value = !0, a.value = !0;
|
|
19
|
-
}) : (i.value = !0, a.value = !0);
|
|
24
|
+
})) : (i.value = !0, a.value = !0);
|
|
20
25
|
}
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
}),
|
|
24
|
-
|
|
26
|
+
return g(s, (e) => {
|
|
27
|
+
e && p();
|
|
28
|
+
}), l(() => {
|
|
29
|
+
u !== null && cancelAnimationFrame(u);
|
|
30
|
+
}), t == null ? c(m) : (c(() => {
|
|
31
|
+
v(t) && m();
|
|
32
|
+
}), g(() => v(t), (e, t) => {
|
|
33
|
+
e && !t && m();
|
|
25
34
|
})), {
|
|
26
|
-
playing:
|
|
27
|
-
drawn:
|
|
28
|
-
reduced:
|
|
29
|
-
draw:
|
|
35
|
+
playing: d(i),
|
|
36
|
+
drawn: d(a),
|
|
37
|
+
reduced: d(s),
|
|
38
|
+
draw: m
|
|
30
39
|
};
|
|
31
40
|
}
|
|
32
|
-
var
|
|
41
|
+
var b = "0 0 64 64", x = {
|
|
33
42
|
check: "M16 33 L28 45 L48 19",
|
|
34
43
|
wordmark: "M14 30 L26 42 L50 16 M14 50 L50 50"
|
|
35
|
-
},
|
|
44
|
+
}, S = {
|
|
36
45
|
cx: 32,
|
|
37
46
|
cy: 32,
|
|
38
47
|
r: 24
|
|
39
|
-
},
|
|
48
|
+
}, C = {
|
|
40
49
|
cx: 32,
|
|
41
50
|
cy: 32,
|
|
42
51
|
r: 21
|
|
43
|
-
},
|
|
52
|
+
}, w = [
|
|
44
53
|
"data-shape",
|
|
45
54
|
"data-best",
|
|
46
55
|
"data-play",
|
|
47
56
|
"data-drawn"
|
|
48
|
-
],
|
|
57
|
+
], T = ["viewBox"], E = [
|
|
49
58
|
"cx",
|
|
50
59
|
"cy",
|
|
51
60
|
"r"
|
|
52
|
-
],
|
|
61
|
+
], D = [
|
|
53
62
|
"cx",
|
|
54
63
|
"cy",
|
|
55
64
|
"r"
|
|
56
|
-
],
|
|
65
|
+
], O = ["d"], k = [
|
|
57
66
|
"cx",
|
|
58
67
|
"cy",
|
|
59
68
|
"r"
|
|
60
|
-
],
|
|
69
|
+
], A = ["d"], j = {
|
|
61
70
|
key: 0,
|
|
62
71
|
class: "sr-only"
|
|
63
|
-
},
|
|
72
|
+
}, M = /* @__PURE__ */ o({
|
|
64
73
|
name: "CompletionSeal",
|
|
65
74
|
__name: "CompletionSeal",
|
|
66
75
|
props: {
|
|
@@ -71,53 +80,53 @@ var y = "0 0 64 64", b = {
|
|
|
71
80
|
class: {}
|
|
72
81
|
},
|
|
73
82
|
setup(o) {
|
|
74
|
-
let c = o,
|
|
75
|
-
return (n, o) => (
|
|
76
|
-
class: s(["completion-seal",
|
|
77
|
-
"data-shape":
|
|
83
|
+
let c = o, l = n(() => c.shape ?? "check"), d = n(() => l.value === "wordmark" ? x.wordmark : x.check), { playing: f, drawn: g } = y({ play: c.play === void 0 ? void 0 : m(c, "play") });
|
|
84
|
+
return (n, o) => (u(), i("div", {
|
|
85
|
+
class: s(["completion-seal", h(e)(c.class)]),
|
|
86
|
+
"data-shape": l.value,
|
|
78
87
|
"data-best": c.personalBest ? "" : void 0,
|
|
79
|
-
"data-play":
|
|
80
|
-
"data-drawn":
|
|
88
|
+
"data-play": h(f) ? "" : void 0,
|
|
89
|
+
"data-drawn": h(g) ? "" : void 0,
|
|
81
90
|
role: "status",
|
|
82
91
|
"aria-live": "polite"
|
|
83
|
-
}, [(
|
|
92
|
+
}, [(u(), i("svg", {
|
|
84
93
|
class: "completion-seal__svg",
|
|
85
|
-
viewBox:
|
|
94
|
+
viewBox: h(b),
|
|
86
95
|
"aria-hidden": "true",
|
|
87
96
|
focusable: "false"
|
|
88
|
-
}, [
|
|
97
|
+
}, [l.value === "disc" ? (u(), i(t, { key: 0 }, [
|
|
89
98
|
a("circle", {
|
|
90
99
|
class: "completion-seal__disc",
|
|
91
|
-
cx:
|
|
92
|
-
cy:
|
|
93
|
-
r:
|
|
94
|
-
}, null, 8,
|
|
100
|
+
cx: h(C).cx,
|
|
101
|
+
cy: h(C).cy,
|
|
102
|
+
r: h(C).r
|
|
103
|
+
}, null, 8, E),
|
|
95
104
|
a("circle", {
|
|
96
105
|
class: "completion-seal__mark completion-seal__ring",
|
|
97
|
-
cx:
|
|
98
|
-
cy:
|
|
99
|
-
r:
|
|
106
|
+
cx: h(S).cx,
|
|
107
|
+
cy: h(S).cy,
|
|
108
|
+
r: h(S).r,
|
|
100
109
|
pathLength: "100"
|
|
101
|
-
}, null, 8,
|
|
110
|
+
}, null, 8, D),
|
|
102
111
|
a("path", {
|
|
103
112
|
class: "completion-seal__mark completion-seal__check",
|
|
104
|
-
d:
|
|
113
|
+
d: h(x).check,
|
|
105
114
|
pathLength: "100"
|
|
106
|
-
}, null, 8,
|
|
107
|
-
], 64)) :
|
|
115
|
+
}, null, 8, O)
|
|
116
|
+
], 64)) : l.value === "ring" ? (u(), i("circle", {
|
|
108
117
|
key: 1,
|
|
109
118
|
class: "completion-seal__mark",
|
|
110
|
-
cx:
|
|
111
|
-
cy:
|
|
112
|
-
r:
|
|
119
|
+
cx: h(S).cx,
|
|
120
|
+
cy: h(S).cy,
|
|
121
|
+
r: h(S).r,
|
|
113
122
|
pathLength: "100"
|
|
114
|
-
}, null, 8,
|
|
123
|
+
}, null, 8, k)) : (u(), i("path", {
|
|
115
124
|
key: 2,
|
|
116
125
|
class: "completion-seal__mark",
|
|
117
126
|
d: d.value,
|
|
118
127
|
pathLength: "100"
|
|
119
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, A))], 8, T)), c.label ? (u(), i("span", j, p(c.label), 1)) : r("", !0)], 10, w));
|
|
120
129
|
}
|
|
121
130
|
});
|
|
122
131
|
//#endregion
|
|
123
|
-
export {
|
|
132
|
+
export { M as CompletionSeal, y as useCompletionSeal };
|
|
@@ -1,65 +1,20 @@
|
|
|
1
1
|
import { type HTMLAttributes } from "vue";
|
|
2
|
-
/**
|
|
3
|
-
* ModalOverlay — canonical wrapper for Dialog / Sheet / AlertDialog scrim
|
|
4
|
-
* declarations (V.W3.T4 / A5 §4). Three near-bit-identical class strings
|
|
5
|
-
* (DialogContent, DialogScrollContent, SheetContent) collapse onto one
|
|
6
|
-
* primitive parameterised by:
|
|
7
|
-
*
|
|
8
|
-
* - `scrim`: `glass` (default — `bg-overlay-scrim`) | `dim`
|
|
9
|
-
* (`bg-overlay-scrim-strong`) | `clear` (`bg-overlay-scrim-subtle`)
|
|
10
|
-
* - `animate`: `fade` (default — composes `.sheet-animate`) | `scale`
|
|
11
|
-
* | `slide` | `none` (Drawer / vaul-vue case)
|
|
12
|
-
* - `layout`: `centered` (default flat overlay) | `edge` (reserved alias —
|
|
13
|
-
* maps to no-op today; held for future right/bottom edge-pinned overlays
|
|
14
|
-
* per A5 §4.4 forward-reservation) | `scroll` (the DialogScrollContent
|
|
15
|
-
* pattern: grid place-items-center overflow-y-auto so content scrolls
|
|
16
|
-
* inside the scrim)
|
|
17
|
-
* - `scrimAnimation` (AJ-W4-δ): a CSS `animation` shorthand value forwarded
|
|
18
|
-
* to the portaled overlay element via the typed `--scrim-animation`
|
|
19
|
-
* cascade variable. Consumers that need a long-running scrim-breath
|
|
20
|
-
* (e.g. CellularWarningDialog's slow opacity pulse) cannot reach the
|
|
21
|
-
* portaled overlay through their scoped CSS — reka-ui's DialogPortal
|
|
22
|
-
* teleports it outside the consumer's component subtree. The publisher
|
|
23
|
-
* owns the bridge: the prop value lands as `--scrim-animation` on the
|
|
24
|
-
* overlay's inline style, and the rule
|
|
25
|
-
* `[data-scrim-animation] { animation: var(--scrim-animation, none) }`
|
|
26
|
-
* in the canonical animations.css consumes it.
|
|
27
|
-
*
|
|
28
|
-
* Drawer / vaul-vue stays carved per A5 §4.4 — its transform-driven motion
|
|
29
|
-
* conflicts with `.sheet-animate`'s data-state animation, and the
|
|
30
|
-
* vaul-vue overlay is a different reka-ui primitive entirely.
|
|
31
|
-
*/
|
|
2
|
+
/** Canonical Dialog scrim with one enter/exit recipe and a real intensity axis. */
|
|
32
3
|
interface ModalOverlayProps {
|
|
33
4
|
class?: HTMLAttributes["class"];
|
|
34
5
|
/**
|
|
35
|
-
* Scrim intensity. `glass` reads `--overlay-scrim`
|
|
36
|
-
*
|
|
37
|
-
* — quieter so chassis content shows through); `dim` reads
|
|
38
|
-
* `--overlay-scrim-strong` (Drawer / heavy-modal host).
|
|
6
|
+
* Scrim intensity. `glass` reads `--overlay-scrim`; `clear` reads
|
|
7
|
+
* `--overlay-scrim-subtle`; `dim` reads `--overlay-scrim-strong`.
|
|
39
8
|
*/
|
|
40
9
|
scrim?: "glass" | "clear" | "dim";
|
|
41
|
-
/**
|
|
42
|
-
* Animation grammar. `fade` enables the canonical `.sheet-animate`
|
|
43
|
-
* data-state pair (Dialog, Sheet); `none` skips it for hosts whose
|
|
44
|
-
* portal library drives its own motion.
|
|
45
|
-
*/
|
|
46
|
-
animate?: "fade" | "scale" | "slide" | "none";
|
|
47
|
-
/**
|
|
48
|
-
* Layout — `centered` is the default flat overlay. `scroll` adds
|
|
49
|
-
* `grid place-items-center overflow-y-auto` so content scrolls inside
|
|
50
|
-
* the scrim (DialogScrollContent's "scrollable centred dialog" pattern).
|
|
51
|
-
* `edge` is a forward-reserved alias that maps to no-op today (held for
|
|
52
|
-
* future right/bottom edge-pinned overlays per A5 §4.4).
|
|
53
|
-
*/
|
|
54
|
-
layout?: "centered" | "edge" | "scroll";
|
|
55
10
|
/**
|
|
56
11
|
* Optional CSS `animation` shorthand applied to the portaled overlay
|
|
57
12
|
* via the `--scrim-animation` typed cascade variable. Pairs with the
|
|
58
13
|
* `[data-scrim-animation] { animation: var(--scrim-animation, none) }`
|
|
59
14
|
* rule in `animations.css` so consumers can drive a long-running
|
|
60
15
|
* scrim-breath without owning the portal traversal. Composes with the
|
|
61
|
-
*
|
|
62
|
-
*
|
|
16
|
+
* `.sheet-animate` data-state enter/exit (the fade's panel/fast base clocks
|
|
17
|
+
* co-scale through `--motion-tempo`; the scrim-breath
|
|
63
18
|
* rides the typed variable on `data-scrim-animation` — distinct
|
|
64
19
|
* selectors, no cascade fight).
|
|
65
20
|
*
|
|
@@ -76,8 +31,6 @@ type __VLS_Slots = {} & {
|
|
|
76
31
|
default?: (props: typeof __VLS_8) => any;
|
|
77
32
|
};
|
|
78
33
|
declare const __VLS_base: import("vue").DefineComponent<ModalOverlayProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ModalOverlayProps> & Readonly<{}>, {
|
|
79
|
-
animate: "fade" | "scale" | "slide" | "none";
|
|
80
|
-
layout: "centered" | "edge" | "scroll";
|
|
81
34
|
scrim: "glass" | "clear" | "dim";
|
|
82
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
83
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root { --select-content-max-h: min(24rem, 60dvh); } [data-slot="select-content"] { max-height: min( var(--select-content-max-h), var(--reka-popper-available-height, var(--select-content-max-h)) ); overflow-y: auto; } @layer components { .glass-control-edge { box-shadow: var(--glass-rim-top), var(--glass-rim-bottom); } [data-slot="select-content"], [data-slot="combobox-list"] { --select-plate-alpha: 0.9; background: color-mix( in oklab, color-mix( in oklab, var(--glass-bg-floating-tinted, var(--glass-bg-floating)), var(--glass-capsule-warm) var(--glass-capsule-warm-floor) ), transparent calc((1 - var(--select-plate-alpha)) * 100%) ); box-shadow: var(--glass-material-rim), var(--glass-under-shadow-vivid), var(--glass-shadow-floating), var(--shadow-cartoon-lg); } .dark [data-slot="select-content"], .dark [data-slot="combobox-list"] { --select-plate-alpha: 0.94; } .glass-field-portal { position: relative; } .glass-field-portal::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: radial-gradient( 70% 60% at 24% 22%, oklch(0.92 0.08 var(--field-h, 48) / 0.55), transparent 72% ), radial-gradient( 64% 58% at 82% 80%, oklch(0.88 0.07 calc(var(--field-h, 48) + 18) / 0.5), transparent 70% ), radial-gradient( 60% 62% at 60% 40%, oklch(0.9 0.06 calc(var(--field-h, 48) - 14) / 0.48), transparent 74% ); } .dark .glass-field-portal::before { background: radial-gradient( 70% 60% at 24% 22%, oklch(0.3 0.1 var(--field-h, 48) / 0.55), transparent 72% ), radial-gradient( 64% 58% at 82% 80%, oklch(0.26 0.09 calc(var(--field-h, 48) + 18) / 0.5), transparent 70% ), radial-gradient( 60% 62% at 60% 40%, oklch(0.28 0.08 calc(var(--field-h, 48) - 14) / 0.48), transparent 74% ); } @supports not (color: oklch(0.9 0.08 48)) { .glass-field-portal::before { background: radial-gradient( 70% 60% at 24% 22%, hsl(var(--field-h, 48) 60% 88% / 0.5), transparent 72% ); } .dark .glass-field-portal::before { background: radial-gradient( 70% 60% at 24% 22%, hsl(var(--field-h, 48) 45% 26% / 0.55), transparent 72% ); } } }
|
|
@@ -29,7 +29,7 @@ import { type VariantProps } from "class-variance-authority";
|
|
|
29
29
|
* EXPRESSION of the shared {glass·veil·opaque} surface-decoration axis
|
|
30
30
|
* (`_shared/useSurfaceAxis.ts` / `glass/surface-axis.css`), NOT a second axis:
|
|
31
31
|
* - `glass` (DEFAULT, glass-first canon AX.W54) — the `.glass-menu-row` recipe
|
|
32
|
-
* (
|
|
32
|
+
* (`./menu.css`): the hover / focus / `data-highlighted` / open states
|
|
33
33
|
* paint the ELEMENT-LEVEL glass-quiet oklab tint (so the row darkens-over-light
|
|
34
34
|
* AND lifts-over-dark per W-DARK-MATERIAL's tint arm) + a PRM-gated `translateY`
|
|
35
35
|
* hover-lift, the 44px touch floor, the iOS-grade glassy hover-lift plate. The
|
|
@@ -45,7 +45,7 @@ import { type VariantProps } from "class-variance-authority";
|
|
|
45
45
|
*/
|
|
46
46
|
export declare const menuItemVariants: (props?: ({
|
|
47
47
|
surface?: "glass" | "accent" | null | undefined;
|
|
48
|
-
indicator?: "
|
|
48
|
+
indicator?: "none" | "start" | "start-wide" | null | undefined;
|
|
49
49
|
size?: "md" | "lg" | null | undefined;
|
|
50
50
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
51
51
|
export type MenuItemVariants = VariantProps<typeof menuItemVariants>;
|
|
@@ -34,8 +34,8 @@ export interface MotionAxis {
|
|
|
34
34
|
* // if (motion.armed.value) { …arm the drag/press/spring enrichment… }
|
|
35
35
|
*/
|
|
36
36
|
export declare function useMotionAxis(motion: MaybeRefOrGetter<Motion | undefined>): {
|
|
37
|
-
resolved: import("vue").ComputedRef<"
|
|
37
|
+
resolved: import("vue").ComputedRef<"off" | "full" | "reduced">;
|
|
38
38
|
armed: import("vue").ComputedRef<boolean>;
|
|
39
|
-
dataMotion: import("vue").ComputedRef<"
|
|
39
|
+
dataMotion: import("vue").ComputedRef<"off" | "reduced" | undefined>;
|
|
40
40
|
hostStyle: import("vue").ComputedRef<Record<string, string> | undefined>;
|
|
41
41
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface ResolvedValueMark {
|
|
2
|
+
value: number;
|
|
3
|
+
position: number;
|
|
4
|
+
}
|
|
5
|
+
export declare function resolveValueFraction(value: number | null | undefined, min: number, max: number): number;
|
|
6
|
+
export declare function resolveValueMarks(marks: readonly number[] | undefined, min: number, max: number): ResolvedValueMark[];
|
|
@@ -3,6 +3,6 @@ export { default as Alert } from './Alert.vue';
|
|
|
3
3
|
export { default as AlertDescription } from './AlertDescription.vue';
|
|
4
4
|
export { default as AlertTitle } from './AlertTitle.vue';
|
|
5
5
|
export declare const alertVariants: (props?: ({
|
|
6
|
-
tone?: "neutral" | "
|
|
6
|
+
tone?: "neutral" | "destructive" | "success" | "warning" | "info" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
export type AlertVariants = VariantProps<typeof alertVariants>;
|