@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
2
|
import { n as t } from "./useSurfaceAxis-DudiZVOR.js";
|
|
3
|
-
import { t as n } from "./menuItemVariants-
|
|
4
|
-
import { i as r } from "./dockContext-
|
|
3
|
+
import { t as n } from "./menuItemVariants-D6AOzzND.js";
|
|
4
|
+
import { i as r } from "./dockContext-4S9qP0Z4.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, unref as _, withCtx as v } from "vue";
|
|
6
|
-
import { SelectContent as y,
|
|
7
|
-
import { ChevronDown as
|
|
6
|
+
import { SelectContent as y, SelectGroup as b, SelectIcon as x, SelectItem as S, SelectItemIndicator as C, SelectItemText as w, SelectLabel as T, SelectPortal as E, SelectRoot as D, SelectScrollDownButton as O, SelectScrollUpButton as k, SelectSeparator as A, SelectTrigger as j, SelectValue as M, SelectViewport as N, useForwardProps as P, useForwardPropsEmits as F } from "reka-ui";
|
|
7
|
+
import { ChevronDown as I, ChevronUp as L } from "@lucide/vue";
|
|
8
8
|
//#endregion
|
|
9
9
|
//#region src/components/select/Select.vue
|
|
10
|
-
var
|
|
10
|
+
var R = /* @__PURE__ */ u({
|
|
11
11
|
__name: "Select",
|
|
12
12
|
props: {
|
|
13
13
|
open: { type: Boolean },
|
|
@@ -24,13 +24,13 @@ var F = /* @__PURE__ */ u({
|
|
|
24
24
|
},
|
|
25
25
|
emits: ["update:modelValue", "update:open"],
|
|
26
26
|
setup(e, { emit: t }) {
|
|
27
|
-
let n =
|
|
28
|
-
return (e, t) => (h(), a(_(
|
|
27
|
+
let n = F(e, t);
|
|
28
|
+
return (e, t) => (h(), a(_(D), f({ "data-slot": "select" }, _(n)), {
|
|
29
29
|
default: v(() => [g(e.$slots, "default")]),
|
|
30
30
|
_: 3
|
|
31
31
|
}, 16));
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
33
|
+
}), z = /* @__PURE__ */ u({
|
|
34
34
|
__name: "SelectValue",
|
|
35
35
|
props: {
|
|
36
36
|
placeholder: {},
|
|
@@ -39,12 +39,12 @@ var F = /* @__PURE__ */ u({
|
|
|
39
39
|
},
|
|
40
40
|
setup(e) {
|
|
41
41
|
let t = e;
|
|
42
|
-
return (e, n) => (h(), a(_(
|
|
42
|
+
return (e, n) => (h(), a(_(M), m(d(t)), {
|
|
43
43
|
default: v(() => [g(e.$slots, "default")]),
|
|
44
44
|
_: 3
|
|
45
45
|
}, 16));
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
47
|
+
}), B = /* @__PURE__ */ u({
|
|
48
48
|
__name: "SelectTrigger",
|
|
49
49
|
props: {
|
|
50
50
|
disabled: { type: Boolean },
|
|
@@ -62,7 +62,7 @@ var F = /* @__PURE__ */ u({
|
|
|
62
62
|
size: { default: "default" }
|
|
63
63
|
},
|
|
64
64
|
setup(t) {
|
|
65
|
-
let n = t, r =
|
|
65
|
+
let n = t, r = P(i(() => {
|
|
66
66
|
let { class: e, variant: t, size: r, ...i } = n;
|
|
67
67
|
return i;
|
|
68
68
|
})), o = i(() => n.variant === "ghost" ? "bg-transparent border-none shadow-none" : "control-surface glass-control-edge glass-capsule-hover"), s = i(() => {
|
|
@@ -79,18 +79,64 @@ var F = /* @__PURE__ */ u({
|
|
|
79
79
|
"--text-dropdown": e
|
|
80
80
|
};
|
|
81
81
|
});
|
|
82
|
-
return (t, i) => (h(), a(_(
|
|
82
|
+
return (t, i) => (h(), a(_(j), f({ "data-slot": "select-trigger" }, _(r), {
|
|
83
83
|
style: c.value,
|
|
84
84
|
class: _(e)(o.value, s.value, "tap-squish focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-dropdown placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control aria-invalid:border-(--destructive) user-invalid:border-(--destructive) focus-visible:aria-invalid:shadow-(--invalid-ring) focus-visible:user-invalid:shadow-(--invalid-ring)", n.class)
|
|
85
85
|
}), {
|
|
86
|
-
default: v(() => [g(t.$slots, "default"), l(_(
|
|
87
|
-
default: v(() => [l(_(
|
|
86
|
+
default: v(() => [g(t.$slots, "default"), l(_(x), { "as-child": "" }, {
|
|
87
|
+
default: v(() => [l(_(I), { class: "transition-disclosure in-data-[state=open]:rotate-180 h-4 w-4 shrink-0 opacity-(--select-chevron-opacity)" })]),
|
|
88
88
|
_: 1
|
|
89
89
|
})]),
|
|
90
90
|
_: 3
|
|
91
91
|
}, 16, ["style", "class"]));
|
|
92
92
|
}
|
|
93
|
-
}),
|
|
93
|
+
}), V = /* @__PURE__ */ u({
|
|
94
|
+
__name: "SelectScrollDownButton",
|
|
95
|
+
props: {
|
|
96
|
+
asChild: { type: Boolean },
|
|
97
|
+
as: {},
|
|
98
|
+
class: { type: [
|
|
99
|
+
Boolean,
|
|
100
|
+
null,
|
|
101
|
+
String,
|
|
102
|
+
Object,
|
|
103
|
+
Array
|
|
104
|
+
] }
|
|
105
|
+
},
|
|
106
|
+
setup(t) {
|
|
107
|
+
let n = t, r = P(i(() => {
|
|
108
|
+
let { class: e, ...t } = n;
|
|
109
|
+
return t;
|
|
110
|
+
}));
|
|
111
|
+
return (t, i) => (h(), a(_(O), f(_(r), { class: _(e)("flex cursor-default items-center justify-center py-1", n.class) }), {
|
|
112
|
+
default: v(() => [g(t.$slots, "default", {}, () => [l(_(I), { class: "h-4 w-4" })])]),
|
|
113
|
+
_: 3
|
|
114
|
+
}, 16, ["class"]));
|
|
115
|
+
}
|
|
116
|
+
}), H = /* @__PURE__ */ u({
|
|
117
|
+
__name: "SelectScrollUpButton",
|
|
118
|
+
props: {
|
|
119
|
+
asChild: { type: Boolean },
|
|
120
|
+
as: {},
|
|
121
|
+
class: { type: [
|
|
122
|
+
Boolean,
|
|
123
|
+
null,
|
|
124
|
+
String,
|
|
125
|
+
Object,
|
|
126
|
+
Array
|
|
127
|
+
] }
|
|
128
|
+
},
|
|
129
|
+
setup(t) {
|
|
130
|
+
let n = t, r = P(i(() => {
|
|
131
|
+
let { class: e, ...t } = n;
|
|
132
|
+
return t;
|
|
133
|
+
}));
|
|
134
|
+
return (t, i) => (h(), a(_(k), f(_(r), { class: _(e)("flex cursor-default items-center justify-center py-1", n.class) }), {
|
|
135
|
+
default: v(() => [g(t.$slots, "default", {}, () => [l(_(L), { class: "h-4 w-4" })])]),
|
|
136
|
+
_: 3
|
|
137
|
+
}, 16, ["class"]));
|
|
138
|
+
}
|
|
139
|
+
}), U = /* @__PURE__ */ u({
|
|
94
140
|
inheritAttrs: !1,
|
|
95
141
|
__name: "SelectContent",
|
|
96
142
|
props: {
|
|
@@ -134,11 +180,11 @@ var F = /* @__PURE__ */ u({
|
|
|
134
180
|
"pointerDownOutside"
|
|
135
181
|
],
|
|
136
182
|
setup(n, { emit: o }) {
|
|
137
|
-
let s = n, c = o, u =
|
|
183
|
+
let s = n, c = o, u = F(i(() => {
|
|
138
184
|
let { class: e, surface: t, fieldHue: n, ...r } = s;
|
|
139
185
|
return r;
|
|
140
186
|
}), c), d = r(), m = i(() => s.fieldHue == null ? void 0 : { "--field-h": String(s.fieldHue) });
|
|
141
|
-
return (r, i) => (h(), a(_(
|
|
187
|
+
return (r, i) => (h(), a(_(E), null, {
|
|
142
188
|
default: v(() => [l(_(y), f({
|
|
143
189
|
..._(u),
|
|
144
190
|
...r.$attrs
|
|
@@ -146,18 +192,19 @@ var F = /* @__PURE__ */ u({
|
|
|
146
192
|
"data-glass-dock-portal": _(d)?.id ? "" : void 0,
|
|
147
193
|
"data-glass-dock-owner": _(d)?.id,
|
|
148
194
|
"data-surface": s.surface,
|
|
195
|
+
"data-material": "transient-overlay",
|
|
149
196
|
"data-reveal": "menu",
|
|
150
197
|
"data-slot": "select-content",
|
|
151
198
|
class: _(e)("relative z-popover min-w-(--overlay-min-width) overflow-y-auto rounded-panel border text-popover-foreground glass-reveal origin-(--reka-select-content-transform-origin)", n.position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", _(t)(s.surface, "floating"), "glass-field-portal", "[--overlay-pad-inline:--spacing(1)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)]", s.class),
|
|
152
199
|
style: m.value
|
|
153
200
|
}), {
|
|
154
201
|
default: v(() => [
|
|
155
|
-
l(
|
|
156
|
-
l(_(
|
|
202
|
+
l(H),
|
|
203
|
+
l(_(N), { class: p(_(e)("px-(--overlay-pad-inline) py-(--overlay-pad-block) overflow-y-auto", n.position === "popper" && "h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width)")) }, {
|
|
157
204
|
default: v(() => [g(r.$slots, "default")]),
|
|
158
205
|
_: 3
|
|
159
206
|
}, 8, ["class"]),
|
|
160
|
-
l(
|
|
207
|
+
l(V)
|
|
161
208
|
]),
|
|
162
209
|
_: 3
|
|
163
210
|
}, 16, [
|
|
@@ -170,11 +217,34 @@ var F = /* @__PURE__ */ u({
|
|
|
170
217
|
_: 3
|
|
171
218
|
}));
|
|
172
219
|
}
|
|
173
|
-
}),
|
|
220
|
+
}), W = /* @__PURE__ */ u({
|
|
221
|
+
__name: "SelectGroup",
|
|
222
|
+
props: {
|
|
223
|
+
asChild: { type: Boolean },
|
|
224
|
+
as: {},
|
|
225
|
+
class: { type: [
|
|
226
|
+
Boolean,
|
|
227
|
+
null,
|
|
228
|
+
String,
|
|
229
|
+
Object,
|
|
230
|
+
Array
|
|
231
|
+
] }
|
|
232
|
+
},
|
|
233
|
+
setup(t) {
|
|
234
|
+
let n = t, r = i(() => {
|
|
235
|
+
let { class: e, ...t } = n;
|
|
236
|
+
return t;
|
|
237
|
+
});
|
|
238
|
+
return (t, i) => (h(), a(_(b), f({ class: _(e)("p-1 w-full", n.class) }, r.value), {
|
|
239
|
+
default: v(() => [g(t.$slots, "default")]),
|
|
240
|
+
_: 3
|
|
241
|
+
}, 16, ["class"]));
|
|
242
|
+
}
|
|
243
|
+
}), G = {
|
|
174
244
|
key: 0,
|
|
175
245
|
"aria-hidden": "true",
|
|
176
246
|
class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
|
|
177
|
-
},
|
|
247
|
+
}, K = { class: "flex flex-col gap-0.5 min-w-0" }, q = /* @__PURE__ */ u({
|
|
178
248
|
__name: "SelectItem",
|
|
179
249
|
props: {
|
|
180
250
|
value: {},
|
|
@@ -192,27 +262,28 @@ var F = /* @__PURE__ */ u({
|
|
|
192
262
|
hideIndicator: { type: Boolean }
|
|
193
263
|
},
|
|
194
264
|
setup(t) {
|
|
195
|
-
let r = t, u =
|
|
265
|
+
let r = t, u = P(i(() => {
|
|
196
266
|
let { class: e, hideIndicator: t, ...n } = r;
|
|
197
267
|
return n;
|
|
198
268
|
})), d = i(() => r.hideIndicator ? "none" : "start");
|
|
199
|
-
return (t, i) => (h(), a(_(
|
|
200
|
-
default: v(() => [d.value === "none" ? o("", !0) : (h(), s("span",
|
|
269
|
+
return (t, i) => (h(), a(_(S), f(_(u), { class: _(e)(_(n)({ indicator: d.value }), r.class) }), {
|
|
270
|
+
default: v(() => [d.value === "none" ? o("", !0) : (h(), s("span", G, [l(_(C), null, {
|
|
201
271
|
default: v(() => [...i[0] ||= [c("span", {
|
|
202
272
|
class: "inline-block w-2 h-2 rounded-pill",
|
|
203
273
|
style: { "background-color": "var(--select-dot-color, var(--glass-accent, currentColor))" }
|
|
204
274
|
}, null, -1)]]),
|
|
205
275
|
_: 1
|
|
206
|
-
})])), c("div",
|
|
276
|
+
})])), c("div", K, [l(_(w), null, {
|
|
207
277
|
default: v(() => [g(t.$slots, "default")]),
|
|
208
278
|
_: 3
|
|
209
279
|
}), g(t.$slots, "description")])]),
|
|
210
280
|
_: 3
|
|
211
281
|
}, 16, ["class"]));
|
|
212
282
|
}
|
|
213
|
-
}),
|
|
214
|
-
__name: "
|
|
283
|
+
}), J = /* @__PURE__ */ u({
|
|
284
|
+
__name: "SelectLabel",
|
|
215
285
|
props: {
|
|
286
|
+
for: {},
|
|
216
287
|
asChild: { type: Boolean },
|
|
217
288
|
as: {},
|
|
218
289
|
class: { type: [
|
|
@@ -224,17 +295,14 @@ var F = /* @__PURE__ */ u({
|
|
|
224
295
|
] }
|
|
225
296
|
},
|
|
226
297
|
setup(t) {
|
|
227
|
-
let n = t
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}));
|
|
231
|
-
return (t, i) => (h(), a(_(D), f(_(r), { class: _(e)("flex cursor-default items-center justify-center py-1", n.class) }), {
|
|
232
|
-
default: v(() => [g(t.$slots, "default", {}, () => [l(_(P), { class: "h-4 w-4" })])]),
|
|
298
|
+
let n = t;
|
|
299
|
+
return (t, r) => (h(), a(_(T), { class: p(_(e)("py-1.5 pl-8 pr-2 text-dropdown-secondary font-semibold", n.class)) }, {
|
|
300
|
+
default: v(() => [g(t.$slots, "default")]),
|
|
233
301
|
_: 3
|
|
234
|
-
},
|
|
302
|
+
}, 8, ["class"]));
|
|
235
303
|
}
|
|
236
|
-
}),
|
|
237
|
-
__name: "
|
|
304
|
+
}), Y = /* @__PURE__ */ u({
|
|
305
|
+
__name: "SelectSeparator",
|
|
238
306
|
props: {
|
|
239
307
|
asChild: { type: Boolean },
|
|
240
308
|
as: {},
|
|
@@ -247,15 +315,12 @@ var F = /* @__PURE__ */ u({
|
|
|
247
315
|
] }
|
|
248
316
|
},
|
|
249
317
|
setup(t) {
|
|
250
|
-
let n = t, r =
|
|
318
|
+
let n = t, r = i(() => {
|
|
251
319
|
let { class: e, ...t } = n;
|
|
252
320
|
return t;
|
|
253
|
-
})
|
|
254
|
-
return (t, i) => (h(), a(_(
|
|
255
|
-
default: v(() => [g(t.$slots, "default", {}, () => [l(_(N), { class: "h-4 w-4" })])]),
|
|
256
|
-
_: 3
|
|
257
|
-
}, 16, ["class"]));
|
|
321
|
+
});
|
|
322
|
+
return (t, i) => (h(), a(_(A), f(r.value, { class: _(e)("-mx-1 my-1 h-px bg-[color-mix(in_srgb,var(--foreground)_12%,transparent)]", n.class) }), null, 16, ["class"]));
|
|
258
323
|
}
|
|
259
324
|
});
|
|
260
325
|
//#endregion
|
|
261
|
-
export {
|
|
326
|
+
export { U as a, R as c, W as i, J as n, B as o, q as r, z as s, Y as t };
|
package/dist/select.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
import { a as e,
|
|
2
|
-
|
|
3
|
-
import { n as c, t as l } from "./SelectSeparator-4QGephvr.js";
|
|
4
|
-
export { a as Select, t as SelectContent, s as SelectGroup, i as SelectItem, c as SelectLabel, o as SelectScrollDownButton, n as SelectScrollUpButton, l as SelectSeparator, e as SelectTrigger, r as SelectValue };
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./select-BIv4R3Ir.js";
|
|
2
|
+
export { t as Select, e as SelectContent, n as SelectGroup, a as SelectItem, r as SelectLabel, s as SelectSeparator, i as SelectTrigger, o as SelectValue };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
|
+
import { computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, toDisplayString as l, unref as u, useAttrs as d, useId as f } from "vue";
|
|
3
|
+
import { Separator as p } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/separator/Separator.vue
|
|
6
|
+
var m = /* @__PURE__ */ a({
|
|
7
|
+
inheritAttrs: !1,
|
|
8
|
+
__name: "Separator",
|
|
9
|
+
props: {
|
|
10
|
+
orientation: {},
|
|
11
|
+
decorative: { type: Boolean },
|
|
12
|
+
asChild: { type: Boolean },
|
|
13
|
+
as: {},
|
|
14
|
+
class: { type: [
|
|
15
|
+
Boolean,
|
|
16
|
+
null,
|
|
17
|
+
String,
|
|
18
|
+
Object,
|
|
19
|
+
Array
|
|
20
|
+
] },
|
|
21
|
+
label: {}
|
|
22
|
+
},
|
|
23
|
+
setup(a) {
|
|
24
|
+
let m = a, h = t(() => m.orientation === "vertical"), g = d(), _ = `${f()}-label`, v = t(() => {
|
|
25
|
+
let { class: e, label: t, ...n } = m;
|
|
26
|
+
return n;
|
|
27
|
+
}), y = t(() => {
|
|
28
|
+
let { role: e, "aria-orientation": t, "aria-label": n, "aria-labelledby": r, ...i } = g;
|
|
29
|
+
if (m.decorative) return {
|
|
30
|
+
...i,
|
|
31
|
+
role: "none"
|
|
32
|
+
};
|
|
33
|
+
let a = typeof n == "string" ? n : void 0, o = (typeof r == "string" ? r : void 0) ?? (a ? void 0 : _);
|
|
34
|
+
return {
|
|
35
|
+
...i,
|
|
36
|
+
role: "separator",
|
|
37
|
+
"aria-orientation": h.value ? "vertical" : void 0,
|
|
38
|
+
"aria-label": o ? void 0 : a,
|
|
39
|
+
"aria-labelledby": o
|
|
40
|
+
};
|
|
41
|
+
}), b = t(() => e("shrink-0 bg-(--separator-ink)", h.value ? "w-px flex-1" : "h-px flex-1"));
|
|
42
|
+
return (t, a) => m.label ? (c(), r("div", o({ key: 0 }, y.value, {
|
|
43
|
+
"data-slot": "separator",
|
|
44
|
+
class: u(e)("flex items-center", h.value ? "flex-col w-px h-full gap-2" : "flex-row w-full gap-3", m.class)
|
|
45
|
+
}), [
|
|
46
|
+
i("span", { class: s(b.value) }, null, 2),
|
|
47
|
+
i("span", {
|
|
48
|
+
id: _,
|
|
49
|
+
class: "text-mono-caption text-muted-foreground bg-background shrink-0 px-1.5 rounded-sm"
|
|
50
|
+
}, l(m.label), 1),
|
|
51
|
+
i("span", { class: s(b.value) }, null, 2)
|
|
52
|
+
], 16)) : (c(), n(u(p), o({
|
|
53
|
+
key: 1,
|
|
54
|
+
"data-slot": "separator"
|
|
55
|
+
}, {
|
|
56
|
+
...t.$attrs,
|
|
57
|
+
...v.value
|
|
58
|
+
}, { class: u(e)("shrink-0 bg-(--separator-ink)", h.value ? "w-px h-full" : "h-px w-full", m.class) }), null, 16, ["class"]));
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
//#endregion
|
|
62
|
+
export { m as t };
|
package/dist/separator.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./separator-CBU94kTM.js";
|
|
2
2
|
export { e as Separator };
|
package/dist/sidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./scrollReader-
|
|
1
|
+
import { t as e } from "./scrollReader-C2oK9Hb8.js";
|
|
2
2
|
import { computed as t, nextTick as n, onMounted as r, onScopeDispose as i, onUnmounted as a, reactive as o, ref as s, toValue as c, watch as l } from "vue";
|
|
3
3
|
//#region src/composables/sidebar/useScrollTracker.ts
|
|
4
4
|
function u(i, o, u) {
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { t as e } from "./class-names-5jotTFzp.js";
|
|
2
|
+
import { t } from "./useMotionAxis-DCCXMC-i.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
4
|
+
import { t as r } from "./useTouchGate-Cj5fOkTv.js";
|
|
5
|
+
import { t as i } from "./useDragVelocity-CbMZEBaC.js";
|
|
6
|
+
import { i as a } from "./dockContext-4S9qP0Z4.js";
|
|
7
|
+
import { n as o } from "./valueDomain-B8L04u3U.js";
|
|
8
|
+
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createVNode as f, defineComponent as p, mergeProps as m, normalizeStyle as h, onBeforeUnmount as g, onMounted as _, openBlock as v, renderList as y, unref as b, useAttrs as x, useTemplateRef as S, withCtx as C } from "vue";
|
|
9
|
+
import { SliderRange as w, SliderRoot as T, SliderThumb as E, SliderTrack as D, useForwardPropsEmits as O } from "reka-ui";
|
|
10
|
+
import { cva as k } from "class-variance-authority";
|
|
11
|
+
//#region src/components/dock/composables/useDockHold.ts
|
|
12
|
+
function A(e, t = {}) {
|
|
13
|
+
let n = a(), r = t.enabled ?? (() => !0), i = !1;
|
|
14
|
+
function o() {
|
|
15
|
+
!r() || i || !n || (n.keepOpen(), i = !0);
|
|
16
|
+
}
|
|
17
|
+
function s() {
|
|
18
|
+
!i || !n || (n.release(), i = !1);
|
|
19
|
+
}
|
|
20
|
+
function c() {
|
|
21
|
+
s(), !(typeof window > "u") && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c), window.removeEventListener("blur", c));
|
|
22
|
+
}
|
|
23
|
+
function l() {
|
|
24
|
+
o(), !(typeof window > "u") && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c), window.removeEventListener("blur", c), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", c), window.addEventListener("blur", c));
|
|
25
|
+
}
|
|
26
|
+
let u = null;
|
|
27
|
+
return _(() => {
|
|
28
|
+
u = e(), u && (u.addEventListener("pointerdown", l), u.addEventListener("touchstart", l, { passive: !0 }));
|
|
29
|
+
}), g(() => {
|
|
30
|
+
u && (u.removeEventListener("pointerdown", l), u.removeEventListener("touchstart", l)), typeof window < "u" && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c), window.removeEventListener("blur", c)), s();
|
|
31
|
+
}), { isHeld: n?.held };
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/slider/Slider.vue?vue&type=script&setup=true&lang.ts
|
|
35
|
+
var j = {
|
|
36
|
+
key: 0,
|
|
37
|
+
class: "slider-marks",
|
|
38
|
+
"aria-hidden": "true"
|
|
39
|
+
}, M = /* @__PURE__ */ n(/* @__PURE__ */ p({
|
|
40
|
+
__name: "Slider",
|
|
41
|
+
props: {
|
|
42
|
+
defaultValue: {},
|
|
43
|
+
modelValue: {},
|
|
44
|
+
disabled: { type: Boolean },
|
|
45
|
+
orientation: {},
|
|
46
|
+
dir: {},
|
|
47
|
+
inverted: { type: Boolean },
|
|
48
|
+
min: {},
|
|
49
|
+
max: {},
|
|
50
|
+
step: {},
|
|
51
|
+
minStepsBetweenThumbs: {},
|
|
52
|
+
thumbAlignment: {},
|
|
53
|
+
asChild: { type: Boolean },
|
|
54
|
+
as: {},
|
|
55
|
+
name: {},
|
|
56
|
+
required: { type: Boolean },
|
|
57
|
+
class: { type: [
|
|
58
|
+
Boolean,
|
|
59
|
+
null,
|
|
60
|
+
String,
|
|
61
|
+
Object,
|
|
62
|
+
Array
|
|
63
|
+
] },
|
|
64
|
+
variant: {},
|
|
65
|
+
size: {},
|
|
66
|
+
marks: {},
|
|
67
|
+
keepDockOpen: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: !0
|
|
70
|
+
},
|
|
71
|
+
motion: {}
|
|
72
|
+
},
|
|
73
|
+
emits: ["update:modelValue", "valueCommit"],
|
|
74
|
+
setup(n, { emit: p }) {
|
|
75
|
+
let k = n, M = p, P = c(() => k.variant ?? "standard"), F = c(() => k.size ?? "md"), I = c(() => k.keepDockOpen), L = c(() => o(k.marks, k.min ?? 0, k.max ?? 100)), R = O(c(() => {
|
|
76
|
+
let { class: e, variant: t, size: n, marks: r, keepDockOpen: i, motion: a, ...o } = k;
|
|
77
|
+
return o.thumbAlignment ||= "contain", o;
|
|
78
|
+
}), M), z = a(), B = S("sliderRootRef");
|
|
79
|
+
function V() {
|
|
80
|
+
let e = B.value;
|
|
81
|
+
return e ? e instanceof HTMLElement ? e : e.$el ?? null : null;
|
|
82
|
+
}
|
|
83
|
+
A(V, { enabled: () => I.value });
|
|
84
|
+
let H = t(() => k.motion);
|
|
85
|
+
i({
|
|
86
|
+
host: () => H.armed.value ? V() : null,
|
|
87
|
+
axis: () => k.orientation === "vertical" ? "y" : "x"
|
|
88
|
+
});
|
|
89
|
+
let U = r();
|
|
90
|
+
function W(e) {
|
|
91
|
+
let t = V(), n = e.touches[0];
|
|
92
|
+
!t || !n || U.handleTouchStart(t, n.clientY) || (e.preventDefault(), e.stopPropagation());
|
|
93
|
+
}
|
|
94
|
+
function G(e) {
|
|
95
|
+
U.handleScrollCheck(e);
|
|
96
|
+
}
|
|
97
|
+
function K() {
|
|
98
|
+
U.handleTouchEnd();
|
|
99
|
+
}
|
|
100
|
+
_(() => {
|
|
101
|
+
let e = V();
|
|
102
|
+
e && (e.addEventListener("touchstart", W, { passive: !1 }), e.addEventListener("touchmove", G, { passive: !0 }), e.addEventListener("touchend", K, { passive: !0 }));
|
|
103
|
+
}), g(() => {
|
|
104
|
+
let e = V();
|
|
105
|
+
e && (e.removeEventListener("touchstart", W), e.removeEventListener("touchmove", G), e.removeEventListener("touchend", K));
|
|
106
|
+
});
|
|
107
|
+
let q = c(() => z?.held.value === !0), J = c(() => U.isActive.value);
|
|
108
|
+
return x(), _(() => {}), (t, r) => (v(), l(b(T), m({
|
|
109
|
+
"data-slot": "slider",
|
|
110
|
+
ref_key: "sliderRootRef",
|
|
111
|
+
ref: B,
|
|
112
|
+
class: b(e)(b(N)({
|
|
113
|
+
variant: P.value,
|
|
114
|
+
size: F.value
|
|
115
|
+
}), k.class),
|
|
116
|
+
"data-variant": P.value,
|
|
117
|
+
"data-size": F.value,
|
|
118
|
+
"data-held": q.value || void 0,
|
|
119
|
+
"data-touch-active": J.value || void 0,
|
|
120
|
+
"data-inverted": k.inverted || void 0,
|
|
121
|
+
"data-motion": b(H).dataMotion.value,
|
|
122
|
+
style: b(H).hostStyle.value
|
|
123
|
+
}, b(R)), {
|
|
124
|
+
default: C(() => [f(b(D), { class: "slider-track" }, {
|
|
125
|
+
default: C(() => [L.value.length ? (v(), d("span", j, [(v(!0), d(s, null, y(L.value, (e) => (v(), d("span", {
|
|
126
|
+
key: e.value,
|
|
127
|
+
class: "slider-mark",
|
|
128
|
+
style: h({ "--value-mark-position": `${e.position * 100}%` })
|
|
129
|
+
}, null, 4))), 128))])) : u("", !0), f(b(w), { class: "slider-range glass-liquid-fill" })]),
|
|
130
|
+
_: 1
|
|
131
|
+
}), (v(!0), d(s, null, y(n.modelValue, (e, n) => (v(), l(b(E), {
|
|
132
|
+
key: n,
|
|
133
|
+
"aria-label": t.$attrs["aria-label"] ?? void 0,
|
|
134
|
+
class: "slider-thumb glass-specular-track touch-hit-area"
|
|
135
|
+
}, null, 8, ["aria-label"]))), 128))]),
|
|
136
|
+
_: 1
|
|
137
|
+
}, 16, [
|
|
138
|
+
"class",
|
|
139
|
+
"data-variant",
|
|
140
|
+
"data-size",
|
|
141
|
+
"data-held",
|
|
142
|
+
"data-touch-active",
|
|
143
|
+
"data-inverted",
|
|
144
|
+
"data-motion",
|
|
145
|
+
"style"
|
|
146
|
+
]));
|
|
147
|
+
}
|
|
148
|
+
}), [["__scopeId", "data-v-30570575"]]), N = k("glass-slider focus-ring relative flex w-full touch-none select-none items-center transition-colors", {
|
|
149
|
+
variants: {
|
|
150
|
+
variant: {
|
|
151
|
+
standard: "",
|
|
152
|
+
spectrum: ""
|
|
153
|
+
},
|
|
154
|
+
size: {
|
|
155
|
+
sm: "",
|
|
156
|
+
md: "",
|
|
157
|
+
lg: ""
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
defaultVariants: {
|
|
161
|
+
variant: "standard",
|
|
162
|
+
size: "md"
|
|
163
|
+
}
|
|
164
|
+
});
|
|
165
|
+
//#endregion
|
|
166
|
+
export { M as n, N as t };
|
package/dist/slider.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./slider-
|
|
1
|
+
import { n as e, t } from "./slider-Cc_qw6GA.js";
|
|
2
2
|
export { e as Slider, t as sliderVariants };
|