@mkbabb/glass-ui 4.0.0 → 4.0.1
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 +3 -1
- package/dist/CardAction-CW7a0m8M.js +253 -0
- package/dist/{CommandShortcut-DdtWXxOK.js → CommandShortcut-DvZNQ_HF.js} +4 -4
- package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
- package/dist/{ContextMenuContent-ON3x7cuk.js → ContextMenuContent-uWnVxDab.js} +1 -1
- package/dist/{ContextMenuSubContent-B0Vs6atR.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
- package/dist/{DataTable-C464Zbqd.js → DataTable-CuKwF7wr.js} +4 -4
- package/dist/{DialogContent-DDE6pQBU.js → DialogContent-DcKK8k9i.js} +5 -5
- package/dist/{DialogFooter-8eZbdmPc.js → DialogFooter-BZNX5aVr.js} +3 -3
- package/dist/{FadingScroll-DwNnvKMs.js → FadingScroll-DI6hQhT9.js} +1 -1
- package/dist/{HoverCardContent-DkMaQzH5.js → HoverCardContent-b2uaAMRR.js} +1 -1
- package/dist/{HoverPopover-Dpzwvc4t.js → HoverPopover-CbqbNwgU.js} +2 -2
- package/dist/{IconChip-BDw1j5mu.js → IconChip-BTD-nay5.js} +3 -2
- package/dist/{IconTooltip-DSjasZIt.js → IconTooltip-Bl8gFZ8d.js} +1 -1
- package/dist/{Input-DVG_J0ne.js → Input-h9v5LeXf.js} +1 -1
- package/dist/{MetricBadge-BpC0R_Ec.js → MetricBadge-RHdBP72w.js} +1 -1
- package/dist/Notification-VUwexFUf.js +43 -0
- package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
- package/dist/{PopoverContent-BTorlp--.js → PopoverContent-DL7E6vJP.js} +4 -4
- package/dist/{Progress-hAT4gqGH.js → Progress-DctG61iZ.js} +4 -4
- package/dist/{ScrollingText-CUVFTWk2.js → ScrollingText-yOpBzFYq.js} +2 -2
- package/dist/{SelectScrollDownButton-C1jb3b3K.js → SelectScrollDownButton-CrA8F0iV.js} +18 -19
- package/dist/Toaster-Bw4xR8xV.js +274 -0
- package/dist/{ToggleGroupItem-Dzk9hWsF.js → ToggleGroupItem-pEM9vIhs.js} +50 -37
- package/dist/{TooltipProvider-B3MkB_8P.js → TooltipProvider-rzvnXz60.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +8 -3
- package/dist/api/types-extra.d.ts +6 -0
- package/dist/aurora.js +885 -242
- package/dist/badge.js +1 -1
- package/dist/border-progress.d.ts +1 -0
- package/dist/border-progress.js +106 -0
- package/dist/{button-BNDWhAZb.js → button-DYCUa-tH.js} +71 -26
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +2 -2
- package/dist/carousel.js +93 -110
- package/dist/collapsible.js +1 -1
- package/dist/command.js +1 -1
- package/dist/compile-CQEFRTmx.js +19 -0
- package/dist/components/custom/aurora/composables/atoms-fields.d.ts +39 -0
- package/dist/components/custom/aurora/composables/auroraFallbackGround.d.ts +108 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +19 -0
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +5 -1
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +51 -0
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +29 -0
- package/dist/components/custom/aurora/constants/budget.d.ts +21 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +2 -2
- package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -12
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/procedural-color.wgsl.d.ts +4 -0
- package/dist/components/custom/aurora/index.d.ts +2 -1
- package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +46 -0
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +22 -0
- package/dist/components/custom/border-progress/constants.d.ts +59 -0
- package/dist/components/custom/border-progress/index.d.ts +4 -0
- package/dist/components/custom/concentric/Concentric.vue.d.ts +39 -0
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +11 -0
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
- package/dist/components/custom/concentric/composables/ringField.d.ts +44 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +13 -0
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +35 -0
- package/dist/components/custom/concentric/constants.d.ts +43 -0
- package/dist/components/custom/concentric/index.d.ts +5 -0
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +4 -0
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -0
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +13 -4
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +10 -2
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +75 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -0
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +38 -0
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +41 -0
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +34 -0
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -0
- package/dist/components/custom/dot-flow-field/constants.d.ts +48 -0
- package/dist/components/custom/dot-flow-field/index.d.ts +5 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +20 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -0
- package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +33 -0
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +49 -0
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +75 -0
- package/dist/components/custom/easing/constants.d.ts +28 -0
- package/dist/components/custom/easing/index.d.ts +3 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +12 -2
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +39 -0
- package/dist/components/custom/fourier-field/constants.d.ts +7 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +4 -2
- package/dist/components/custom/goo-blob/composables/uniformBridgeWGPU.d.ts +24 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +18 -11
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
- package/dist/components/custom/handmark/HandMark.vue.d.ts +1 -1
- package/dist/components/custom/icon-chip/types.d.ts +11 -1
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +3 -1
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/custom/spa-view/SpaView.vue.d.ts +50 -0
- package/dist/components/custom/spa-view/index.d.ts +2 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +10 -0
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +1 -1
- package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts +1 -1
- package/dist/components/ui/button/Button.vue.d.ts +5 -2
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/card/Card.vue.d.ts +34 -4
- package/dist/components/ui/card/CardHeader.vue.d.ts +42 -16
- package/dist/components/ui/card/ScrollCard.vue.d.ts +33 -0
- package/dist/components/ui/card/ScrollCardHeader.vue.d.ts +17 -0
- package/dist/components/ui/card/index.d.ts +2 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +2 -2
- package/dist/components/ui/command/Command.vue.d.ts +1 -1
- package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +7 -8
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +2 -2
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +1 -1
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +2 -2
- package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +26 -0
- package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +17 -0
- package/dist/components/ui/drawer/constants.d.ts +45 -0
- package/dist/components/ui/drawer/index.d.ts +23 -15
- package/dist/components/ui/focus-scope/FocusScope.vue.d.ts +20 -0
- package/dist/components/ui/focus-scope/index.d.ts +2 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/ui/toast/Toast.vue.d.ts +5 -2
- package/dist/components/ui/toast/use-toast.d.ts +14 -0
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +13 -6
- package/dist/composables/glass/index.d.ts +5 -2
- package/dist/composables/glass/useSpecularPointer.d.ts +33 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +20 -0
- package/dist/composables/glass/vSpecular.d.ts +2 -0
- package/dist/composables/glass/webgl/shaders/flow.glsl.d.ts +1 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -0
- package/dist/composables/glass/webgpu/index.d.ts +2 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +54 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +84 -0
- package/dist/composables/motion/core/index.d.ts +1 -0
- package/dist/composables/motion/index.d.ts +4 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +59 -0
- package/dist/composables/motion/useDragMorph.d.ts +77 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +11 -0
- package/dist/composables/motion/useLiquidPress.d.ts +71 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +51 -0
- package/dist/composables/motion/useNumericTransition.d.ts +3 -3
- package/dist/composables/motion/usePointerVelocityField.d.ts +98 -0
- package/dist/concentric.d.ts +1 -0
- package/dist/concentric.js +562 -0
- package/dist/configurator.js +3 -2
- package/dist/confirm-dialog.js +22 -24
- package/dist/constellation.js +11 -11
- package/dist/context-menu.js +3 -3
- package/dist/controls.js +1 -1
- package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +564 -457
- package/dist/{dockContext-Bu1Avy-a.js → dockContext-BNfyPLe9.js} +1 -1
- package/dist/dom.js +5 -5
- package/dist/dot-flow-field.d.ts +1 -0
- package/dist/dot-flow-field.js +604 -0
- package/dist/drawer.d.ts +1 -0
- package/dist/drawer.js +380 -0
- package/dist/{dropdown-menu-BJ7E9js_.js → dropdown-menu-CofSZuk8.js} +14 -15
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.d.ts +1 -0
- package/dist/easing.js +463 -0
- package/dist/expandable-container.js +7 -4
- package/dist/fading-scroll.js +1 -1
- package/dist/focus-scope.d.ts +1 -0
- package/dist/focus-scope.js +23 -0
- package/dist/forms.js +7 -7
- package/dist/fourier-field.js +128 -116
- package/dist/fourier-math.js +1 -1
- package/dist/glass-panel.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +149 -341
- package/dist/goo-blob.js +830 -224
- package/dist/handmark.js +2 -2
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/instrument-chassis.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +1 -1
- package/dist/metric-stack.js +4 -8
- package/dist/motion-core.js +36 -36
- package/dist/motion-curves.js +1 -1
- package/dist/motion.js +157 -55
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{compile-EXXzEr1q.js → procedural-color.glsl-CIFsJhwI.js} +1 -155
- package/dist/procedural-color.wgsl-CToRHugY.js +224 -0
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +9 -11
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-CquRYOAw.js → sheet-tZMg0E0w.js} +5 -5
- package/dist/sheet.js +1 -1
- package/dist/{slider-DQ95MET2.js → slider-DVb4HXU-.js} +3 -3
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/spa-view.d.ts +1 -0
- package/dist/spa-view.js +46 -0
- package/dist/styles/animations.css +33 -9
- package/dist/styles/border-progress.css +109 -0
- package/dist/styles/cards.css +76 -0
- package/dist/styles/components.css +1 -1
- package/dist/styles/critical-partition.mjs +140 -0
- package/dist/styles/critical.css +12 -0
- package/dist/styles/deferred.css +31 -0
- package/dist/styles/dock/density.css +45 -0
- package/dist/styles/dock/layers.css +54 -30
- package/dist/styles/dock/morph.css +124 -7
- package/dist/styles/dock/overflow.css +16 -2
- package/dist/styles/dock/shell.css +54 -16
- package/dist/styles/dock.css +32 -0
- package/dist/styles/drawer.css +81 -35
- package/dist/styles/glass/deep.css +44 -0
- package/dist/styles/glass/ladder.css +87 -31
- package/dist/styles/glass/material.css +78 -15
- package/dist/styles/glass/reveal.css +136 -0
- package/dist/styles/glass/rim.css +100 -0
- package/dist/styles/glass/surfaces.css +101 -3
- package/dist/styles/glass-refract.css +96 -44
- package/dist/styles/glass-specular-track.css +7 -0
- package/dist/styles/glass.css +3 -0
- package/dist/styles/hover-popover.css +7 -6
- package/dist/styles/icon-chip.css +77 -15
- package/dist/styles/index.css +21 -9
- package/dist/styles/instrument-chassis.css +66 -3
- package/dist/styles/scroll-choreography.css +300 -0
- package/dist/styles/segmented-tabs.css +31 -0
- package/dist/styles/theme/bridges.css +11 -0
- package/dist/styles/theme/literals.css +11 -2
- package/dist/styles/theme/radius.css +6 -1
- package/dist/styles/tokens/dark-arm.css +98 -26
- package/dist/styles/tokens/glass-deep.css +75 -0
- package/dist/styles/tokens/glass-fx.css +333 -0
- package/dist/styles/tokens/glass.css +39 -319
- package/dist/styles/tokens/light-dark.css +15 -2
- package/dist/styles/tokens/offsets.css +116 -0
- package/dist/styles/tokens/on-glass-fg.css +39 -0
- package/dist/styles/tokens/property-regs.css +127 -0
- package/dist/styles/tokens/scale-paper.css +117 -89
- package/dist/styles/tokens/scheme-motion.css +70 -32
- package/dist/styles/tokens/scroll-tokens.css +123 -0
- package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
- package/dist/styles/tokens.css +9 -3
- package/dist/styles/typography/semantic.css +8 -8
- package/dist/styles/typography/utilities.css +22 -7
- package/dist/styles/utilities/animate.css +27 -24
- package/dist/styles/utilities/base-misc.css +255 -0
- package/dist/styles/utilities/base.css +47 -261
- package/dist/styles/utilities/btn.css +3 -1
- package/dist/styles/utilities/metal.css +189 -0
- package/dist/styles/utilities.css +14 -7
- package/dist/switch.js +1 -1
- package/dist/tabs.js +220 -107
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/useCanvas2D-B8w_E3Rr.js +83 -0
- package/dist/useConfiguratorState-DNlOh6c8.js +161 -0
- package/dist/useDragMorph-DgxnsVJz.js +102 -0
- package/dist/useLiquidPress-kfb4KX79.js +39 -0
- package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
- package/dist/useSpring-C0jyvEJB.js +40 -0
- package/dist/useSpringMount-q1amq1SJ.js +71 -0
- package/dist/useSpringPress-BsqPr7FJ.js +34 -0
- package/dist/{useTouchGate-28Tk2-t2.js → useTouchGate-CBZTD4SD.js} +1 -1
- package/dist/vSpecular-CQFmLNzA.js +68 -0
- package/dist/vendor-CKmzio-i.js +226 -0
- package/dist/watercolor-dot.js +2 -2
- package/package.json +126 -22
- package/src/styles/animations.css +33 -9
- package/src/styles/border-progress.css +109 -0
- package/src/styles/cards.css +76 -0
- package/src/styles/critical-partition.mjs +140 -0
- package/src/styles/dock/density.css +45 -0
- package/src/styles/dock/layers.css +54 -30
- package/src/styles/dock/morph.css +124 -7
- package/src/styles/dock/overflow.css +16 -2
- package/src/styles/dock/shell.css +54 -16
- package/src/styles/dock.css +32 -0
- package/src/styles/drawer.css +81 -35
- package/src/styles/glass/deep.css +44 -0
- package/src/styles/glass/ladder.css +87 -31
- package/src/styles/glass/material.css +78 -15
- package/src/styles/glass/reveal.css +136 -0
- package/src/styles/glass/rim.css +100 -0
- package/src/styles/glass/surfaces.css +101 -3
- package/src/styles/glass-refract.css +96 -44
- package/src/styles/glass-specular-track.css +7 -0
- package/src/styles/glass.css +3 -0
- package/src/styles/hover-popover.css +7 -6
- package/src/styles/icon-chip.css +77 -15
- package/src/styles/index.css +12 -0
- package/src/styles/instrument-chassis.css +66 -3
- package/src/styles/scroll-choreography.css +300 -0
- package/src/styles/segmented-tabs.css +31 -0
- package/src/styles/theme/bridges.css +11 -0
- package/src/styles/theme/literals.css +11 -2
- package/src/styles/theme/radius.css +6 -1
- package/src/styles/tokens/dark-arm.css +98 -26
- package/src/styles/tokens/glass-deep.css +75 -0
- package/src/styles/tokens/glass-fx.css +333 -0
- package/src/styles/tokens/glass.css +39 -319
- package/src/styles/tokens/light-dark.css +15 -2
- package/src/styles/tokens/offsets.css +116 -0
- package/src/styles/tokens/on-glass-fg.css +39 -0
- package/src/styles/tokens/property-regs.css +127 -0
- package/src/styles/tokens/scale-paper.css +117 -89
- package/src/styles/tokens/scheme-motion.css +70 -32
- package/src/styles/tokens/scroll-tokens.css +123 -0
- package/src/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
- package/src/styles/tokens.css +9 -3
- package/src/styles/typography/semantic.css +8 -8
- package/src/styles/typography/utilities.css +22 -7
- package/src/styles/utilities/animate.css +27 -24
- package/src/styles/utilities/base-misc.css +255 -0
- package/src/styles/utilities/base.css +47 -261
- package/src/styles/utilities/btn.css +3 -1
- package/src/styles/utilities/metal.css +189 -0
- package/src/styles/utilities.css +14 -7
- package/dist/CardAction-XH4YBVEK.js +0 -158
- package/dist/Notification-DKjKsQq8.js +0 -100
- package/dist/NumberFieldContent-1VtwDSgf.js +0 -145
- package/dist/Toaster-Bm_HQSpc.js +0 -263
- package/dist/check-njhk-vfu.js +0 -7
- package/dist/chevron-down-DKkxb4VV.js +0 -7
- package/dist/chevron-right-CPXbqQQz.js +0 -7
- package/dist/chevron-up-n_24SqI-.js +0 -7
- package/dist/createLucideIcon-DydS2qgk.js +0 -43
- package/dist/minimize-2-BV31Ob_h.js +0 -38
- package/dist/search-BSGrf2Sk.js +0 -12
- package/dist/useCanvas2D-ClrQuZtp.js +0 -96
- package/dist/useConfiguratorState-kiIlun8I.js +0 -303
- package/dist/useSpecularTracking-Bo5su68i.js +0 -32
- package/dist/useSpringMount-CvopqiFr.js +0 -108
- package/dist/useViewTransition-COsPjQVZ.js +0 -47
- package/dist/x-BUwTKe50.js +0 -10
- /package/dist/{CollapsibleContent-C_s6fG7r.js → CollapsibleContent-68dEXIAl.js} +0 -0
- /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
- /package/dist/{Label-Ck9SWEKM.js → Label-C2ejNWeC.js} +0 -0
- /package/dist/{ModalOverlay-CkPRRgl_.js → ModalOverlay-D1VrWyoi.js} +0 -0
- /package/dist/{PaperBackdrop-nBKe0vkB.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
- /package/dist/{SelectGroup-Dcczq44n.js → SelectGroup-DwwjicPY.js} +0 -0
- /package/dist/{SelectSeparator-DK2y1Bun.js → SelectSeparator-DXswVdRz.js} +0 -0
- /package/dist/{Separator-BArl4OaB.js → Separator-pKF0oA4M.js} +0 -0
- /package/dist/{Switch-Dr--uLGH.js → Switch-CwYNf8bo.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-CBt_VvXa.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
- /package/dist/{createContext-B2RaZ-b8.js → createContext-CpBNTRMI.js} +0 -0
- /package/dist/{math-DeuJwLFx.js → math-BINYmg5z.js} +0 -0
- /package/dist/{menuItemVariants-DWRQXBxJ.js → menuItemVariants-D8VNHq22.js} +0 -0
- /package/dist/{prng-Cg22zv8g.js → prng-Za0Rmgag.js} +0 -0
- /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
- /package/dist/{springPresets-WXaLbu8u.js → springPresets-CFQGQfdl.js} +0 -0
- /package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-BfUq2bUM.js} +0 -0
- /package/dist/{useInterval-CNdua40W.js → useInterval-CvK1mL92.js} +0 -0
- /package/dist/{useLiquidFlex-C12hXwOZ.js → useLiquidFlex-mZPMiNXh.js} +0 -0
- /package/dist/{useRAFLoop-CdwJ7284.js → useRAFLoop-UYa4zoiN.js} +0 -0
- /package/dist/{useResizeObserver-V6nq5gJb.js → useResizeObserver-Bpoi7tRE.js} +0 -0
- /package/dist/{useResolveTokenColor-NUG2zYAW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
- /package/dist/{useSortable-BVqlJRBR.js → useSortable-DHjtZSEd.js} +0 -0
- /package/dist/{useSurfaceAxis-CMnF2zHb.js → useSurfaceAxis-g0NloYEF.js} +0 -0
- /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-CWEi25hf.js} +0 -0
- /package/dist/{useTimer-B_PAasDL.js → useTimer-BHJOKr35.js} +0 -0
- /package/dist/{useUserInvalidAria-CDfJuakL.js → useUserInvalidAria-y5namzeE.js} +0 -0
- /package/dist/{useViewportReady-CvBcCYDf.js → useViewportReady-anbac3m6.js} +0 -0
- /package/dist/{vReveal-D9k0jADx.js → vReveal-Czsb7zQC.js} +0 -0
package/README.md
CHANGED
|
@@ -60,7 +60,9 @@ import { DEFAULT_AURORA_CONFIG, MAX_NUCLEI } from "@mkbabb/glass-ui/api";
|
|
|
60
60
|
/* override tokens locally for your project */
|
|
61
61
|
:root {
|
|
62
62
|
--glass-opacity-resting: 0.82;
|
|
63
|
-
--glass-blur-resting
|
|
63
|
+
/* the consumer-tunable radius primitive — the composed --glass-blur-resting
|
|
64
|
+
threads --glass-level + saturate, never override it directly */
|
|
65
|
+
--glass-blur-resting-radius: 10px;
|
|
64
66
|
}
|
|
65
67
|
```
|
|
66
68
|
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./vSpecular-CQFmLNzA.js";
|
|
3
|
+
import { t as n } from "./useLiquidPress-kfb4KX79.js";
|
|
4
|
+
import { t as r } from "./useSurfaceAxis-g0NloYEF.js";
|
|
5
|
+
import { t as i } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
6
|
+
import { computed as a, createBlock as o, createElementBlock as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderSlot as f, unref as p, withCtx as m, withDirectives as h } from "vue";
|
|
7
|
+
import { Primitive as g } from "reka-ui";
|
|
8
|
+
var _ = /* @__PURE__ */ c({
|
|
9
|
+
__name: "Card",
|
|
10
|
+
props: {
|
|
11
|
+
tier: { default: "resting" },
|
|
12
|
+
surface: { default: "glass" },
|
|
13
|
+
shadow: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !0
|
|
16
|
+
},
|
|
17
|
+
grain: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: !0
|
|
20
|
+
},
|
|
21
|
+
grid: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
25
|
+
specular: { default: "off" },
|
|
26
|
+
pressable: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
class: { type: [
|
|
31
|
+
Boolean,
|
|
32
|
+
null,
|
|
33
|
+
String,
|
|
34
|
+
Object,
|
|
35
|
+
Array
|
|
36
|
+
] },
|
|
37
|
+
asChild: { type: Boolean },
|
|
38
|
+
as: { default: "div" }
|
|
39
|
+
},
|
|
40
|
+
setup(i) {
|
|
41
|
+
let s = i, c = a(() => s.surface === "glass" && s.specular !== "off"), _ = a(() => s.specular === "full" ? {
|
|
42
|
+
"--glass-specular-intensity-rest": "0.04",
|
|
43
|
+
"--glass-specular-intensity-hover": "0.18",
|
|
44
|
+
"--glass-specular-intensity-active": "0.26"
|
|
45
|
+
} : {}), v = n({
|
|
46
|
+
response: .28,
|
|
47
|
+
dampingFraction: .78,
|
|
48
|
+
pressVar: "--card-press-t",
|
|
49
|
+
shrinkDepth: .02,
|
|
50
|
+
maxStretch: 1.03
|
|
51
|
+
}), y = a(() => {
|
|
52
|
+
let e = c.value ? _.value : void 0;
|
|
53
|
+
return s.pressable ? {
|
|
54
|
+
...e ?? {},
|
|
55
|
+
...v.pressStyle.value
|
|
56
|
+
} : e;
|
|
57
|
+
});
|
|
58
|
+
return (n, a) => h((d(), o(p(g), {
|
|
59
|
+
"data-slot": "card",
|
|
60
|
+
"data-tier": i.tier,
|
|
61
|
+
"data-surface": i.surface,
|
|
62
|
+
"data-grain": i.grain,
|
|
63
|
+
"data-grid": i.grid,
|
|
64
|
+
"data-pressable": i.pressable || void 0,
|
|
65
|
+
as: i.as,
|
|
66
|
+
"as-child": i.asChild,
|
|
67
|
+
style: u(y.value),
|
|
68
|
+
onPointerdown: a[0] ||= (e) => i.pressable ? p(v).press() : void 0,
|
|
69
|
+
onPointerup: a[1] ||= (e) => i.pressable ? p(v).release() : void 0,
|
|
70
|
+
onPointercancel: a[2] ||= (e) => i.pressable ? p(v).release() : void 0,
|
|
71
|
+
onPointerleave: a[3] ||= (e) => i.pressable ? p(v).release() : void 0,
|
|
72
|
+
class: l(p(e)("rounded-card text-card-foreground scrollbar-hidden", "[--card-pad-inline:--spacing(6)] [--card-pad-block:calc(var(--card-pad-inline)*1.272)] [--card-pad-section-gap:var(--card-pad-block)] [--card-pad-footer:calc(var(--card-pad-block)/1.618)] [--card-pad-title-gap:calc(var(--card-pad-inline)/2.618)] data-[size=sm]:[--card-pad-inline:--spacing(4)]", i.tier === "opaque" ? "glass-resting glass-opaque" : i.tier === "deep" ? "glass-floating glass-deep" : `glass-${i.tier}`, c.value && "glass-specular-track", i.surface === "cartoon" && "cartoon-surface", i.surface === "veil" && p(r)("veil").replace(/^glass-\w+\s+/, ""), i.shadow && i.surface === "glass" && "shadow-card", !i.grain && "[&::after]:hidden", i.grid && "paper-grid", i.pressable && "glass-press tap-squish", s.class))
|
|
73
|
+
}, {
|
|
74
|
+
default: m(() => [f(n.$slots, "default")]),
|
|
75
|
+
_: 3
|
|
76
|
+
}, 8, [
|
|
77
|
+
"data-tier",
|
|
78
|
+
"data-surface",
|
|
79
|
+
"data-grain",
|
|
80
|
+
"data-grid",
|
|
81
|
+
"data-pressable",
|
|
82
|
+
"as",
|
|
83
|
+
"as-child",
|
|
84
|
+
"style",
|
|
85
|
+
"class"
|
|
86
|
+
])), [[p(t), c.value]]);
|
|
87
|
+
}
|
|
88
|
+
}), v = /* @__PURE__ */ i(/* @__PURE__ */ c({
|
|
89
|
+
__name: "CardHeader",
|
|
90
|
+
props: {
|
|
91
|
+
shrink: { type: Boolean },
|
|
92
|
+
class: { type: [
|
|
93
|
+
Boolean,
|
|
94
|
+
null,
|
|
95
|
+
String,
|
|
96
|
+
Object,
|
|
97
|
+
Array
|
|
98
|
+
] }
|
|
99
|
+
},
|
|
100
|
+
setup(t) {
|
|
101
|
+
let n = t;
|
|
102
|
+
return (r, i) => (d(), s("div", {
|
|
103
|
+
"data-slot": "card-header",
|
|
104
|
+
class: l(p(e)("@container/card-header flex flex-col gap-y-(--card-pad-title-gap) px-(--card-pad-inline) pt-(--card-pad-block) pb-0", "has-data-[slot=card-action]:grid has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-action]:items-start", t.shrink && "card-header--shrink", n.class))
|
|
105
|
+
}, [f(r.$slots, "default")], 2));
|
|
106
|
+
}
|
|
107
|
+
}), [["__scopeId", "data-v-59bd3f49"]]), y = /* @__PURE__ */ i(/* @__PURE__ */ c({
|
|
108
|
+
__name: "ScrollCard",
|
|
109
|
+
props: {
|
|
110
|
+
tier: { default: "resting" },
|
|
111
|
+
surface: { default: "glass" },
|
|
112
|
+
shadow: {
|
|
113
|
+
type: Boolean,
|
|
114
|
+
default: !0
|
|
115
|
+
},
|
|
116
|
+
specular: { default: "off" },
|
|
117
|
+
maxHeight: { default: "18rem" },
|
|
118
|
+
class: { type: [
|
|
119
|
+
Boolean,
|
|
120
|
+
null,
|
|
121
|
+
String,
|
|
122
|
+
Object,
|
|
123
|
+
Array
|
|
124
|
+
] }
|
|
125
|
+
},
|
|
126
|
+
setup(e) {
|
|
127
|
+
let t = e, n = a(() => ({ "--scroll-card-max-height": t.maxHeight }));
|
|
128
|
+
return (r, i) => (d(), o(_, {
|
|
129
|
+
tier: e.tier,
|
|
130
|
+
surface: e.surface,
|
|
131
|
+
shadow: e.shadow,
|
|
132
|
+
specular: e.specular,
|
|
133
|
+
grain: !1,
|
|
134
|
+
tabindex: "0",
|
|
135
|
+
"data-slot": "scroll-card",
|
|
136
|
+
style: u(n.value),
|
|
137
|
+
class: l([
|
|
138
|
+
"scroll-card",
|
|
139
|
+
"card-scroll-host",
|
|
140
|
+
t.class
|
|
141
|
+
])
|
|
142
|
+
}, {
|
|
143
|
+
default: m(() => [f(r.$slots, "default", {}, void 0, !0)]),
|
|
144
|
+
_: 3
|
|
145
|
+
}, 8, [
|
|
146
|
+
"tier",
|
|
147
|
+
"surface",
|
|
148
|
+
"shadow",
|
|
149
|
+
"specular",
|
|
150
|
+
"style",
|
|
151
|
+
"class"
|
|
152
|
+
]));
|
|
153
|
+
}
|
|
154
|
+
}), [["__scopeId", "data-v-2b254340"]]), b = /* @__PURE__ */ i(/* @__PURE__ */ c({
|
|
155
|
+
__name: "ScrollCardHeader",
|
|
156
|
+
props: {
|
|
157
|
+
sticky: { type: Boolean },
|
|
158
|
+
class: { type: [
|
|
159
|
+
Boolean,
|
|
160
|
+
null,
|
|
161
|
+
String,
|
|
162
|
+
Object,
|
|
163
|
+
Array
|
|
164
|
+
] }
|
|
165
|
+
},
|
|
166
|
+
setup(t) {
|
|
167
|
+
let n = t;
|
|
168
|
+
return (t, r) => (d(), o(v, {
|
|
169
|
+
shrink: "",
|
|
170
|
+
"data-slot": "scroll-card-header",
|
|
171
|
+
class: l(p(e)("scroll-card-header", n.sticky !== !1 && "sticky top-0 z-10", n.class))
|
|
172
|
+
}, {
|
|
173
|
+
default: m(() => [f(t.$slots, "default")]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, ["class"]));
|
|
176
|
+
}
|
|
177
|
+
}), [["__scopeId", "data-v-ee1e969c"]]), x = /* @__PURE__ */ c({
|
|
178
|
+
__name: "CardTitle",
|
|
179
|
+
props: { class: { type: [
|
|
180
|
+
Boolean,
|
|
181
|
+
null,
|
|
182
|
+
String,
|
|
183
|
+
Object,
|
|
184
|
+
Array
|
|
185
|
+
] } },
|
|
186
|
+
setup(t) {
|
|
187
|
+
let n = t;
|
|
188
|
+
return (t, r) => (d(), s("h3", {
|
|
189
|
+
"data-slot": "card-title",
|
|
190
|
+
class: l(p(e)("text-heading leading-none tracking-tight", n.class))
|
|
191
|
+
}, [f(t.$slots, "default")], 2));
|
|
192
|
+
}
|
|
193
|
+
}), S = /* @__PURE__ */ c({
|
|
194
|
+
__name: "CardDescription",
|
|
195
|
+
props: { class: { type: [
|
|
196
|
+
Boolean,
|
|
197
|
+
null,
|
|
198
|
+
String,
|
|
199
|
+
Object,
|
|
200
|
+
Array
|
|
201
|
+
] } },
|
|
202
|
+
setup(t) {
|
|
203
|
+
let n = t;
|
|
204
|
+
return (t, r) => (d(), s("p", {
|
|
205
|
+
"data-slot": "card-description",
|
|
206
|
+
class: l(p(e)("text-sm text-muted-foreground-strong", n.class))
|
|
207
|
+
}, [f(t.$slots, "default")], 2));
|
|
208
|
+
}
|
|
209
|
+
}), C = /* @__PURE__ */ c({
|
|
210
|
+
__name: "CardContent",
|
|
211
|
+
props: { class: { type: [
|
|
212
|
+
Boolean,
|
|
213
|
+
null,
|
|
214
|
+
String,
|
|
215
|
+
Object,
|
|
216
|
+
Array
|
|
217
|
+
] } },
|
|
218
|
+
setup(t) {
|
|
219
|
+
let n = t;
|
|
220
|
+
return (t, r) => (d(), s("div", { class: l(p(e)("px-(--card-pad-inline) pt-(--card-pad-section-gap) pb-(--card-pad-block)", n.class)) }, [f(t.$slots, "default")], 2));
|
|
221
|
+
}
|
|
222
|
+
}), w = /* @__PURE__ */ c({
|
|
223
|
+
__name: "CardFooter",
|
|
224
|
+
props: { class: { type: [
|
|
225
|
+
Boolean,
|
|
226
|
+
null,
|
|
227
|
+
String,
|
|
228
|
+
Object,
|
|
229
|
+
Array
|
|
230
|
+
] } },
|
|
231
|
+
setup(t) {
|
|
232
|
+
let n = t;
|
|
233
|
+
return (t, r) => (d(), s("div", { class: l(p(e)("flex items-center px-(--card-pad-inline) pt-(--card-pad-footer) pb-(--card-pad-block)", n.class)) }, [f(t.$slots, "default")], 2));
|
|
234
|
+
}
|
|
235
|
+
}), T = /* @__PURE__ */ c({
|
|
236
|
+
__name: "CardAction",
|
|
237
|
+
props: { class: { type: [
|
|
238
|
+
Boolean,
|
|
239
|
+
null,
|
|
240
|
+
String,
|
|
241
|
+
Object,
|
|
242
|
+
Array
|
|
243
|
+
] } },
|
|
244
|
+
setup(t) {
|
|
245
|
+
let n = t;
|
|
246
|
+
return (t, r) => (d(), s("div", {
|
|
247
|
+
"data-slot": "card-action",
|
|
248
|
+
class: l(p(e)("col-start-2 row-span-2 row-start-1 self-start justify-self-end", n.class))
|
|
249
|
+
}, [f(t.$slots, "default")], 2));
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
//#endregion
|
|
253
|
+
export { x as a, v as c, S as i, _ as l, w as n, b as o, C as r, y as s, T as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./useSurfaceAxis-
|
|
4
|
-
import { n as r, t as i } from "./DialogContent-
|
|
5
|
-
import { t as a } from "./menuItemVariants-
|
|
2
|
+
import { n as t } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as n } from "./useSurfaceAxis-g0NloYEF.js";
|
|
4
|
+
import { n as r, t as i } from "./DialogContent-DcKK8k9i.js";
|
|
5
|
+
import { t as a } from "./menuItemVariants-D8VNHq22.js";
|
|
6
6
|
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeClass as g, normalizeProps as _, openBlock as v, renderSlot as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
|
|
7
7
|
import { ComboboxContent as C, ComboboxEmpty as w, ComboboxGroup as T, ComboboxInput as E, ComboboxItem as D, ComboboxLabel as O, ComboboxRoot as k, ComboboxSeparator as A, useForwardProps as j, useForwardPropsEmits as M } from "reka-ui";
|
|
8
8
|
//#endregion
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { b as t, r as n } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as r } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
4
|
+
import { t as i } from "./createContext-CpBNTRMI.js";
|
|
5
|
+
import { t as a } from "./Label-C2ejNWeC.js";
|
|
6
|
+
import { computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeModels as p, normalizeClass as m, normalizeStyle as h, openBlock as g, renderSlot as _, toDisplayString as v, unref as y, useId as b, useModel as x, withCtx as S } from "vue";
|
|
7
|
+
//#region src/components/custom/configurator/density.ts
|
|
8
|
+
var C = i("configuratorDensity"), w = C.KEY;
|
|
9
|
+
function T(e) {
|
|
10
|
+
C.provide(e);
|
|
11
|
+
}
|
|
12
|
+
var E = C.use, D = ["data-state"], O = [
|
|
13
|
+
"aria-expanded",
|
|
14
|
+
"aria-controls",
|
|
15
|
+
"data-state"
|
|
16
|
+
], k = { class: "flex min-w-0 items-baseline gap-2" }, A = { class: "configurator-section-label truncate" }, j = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "truncate text-micro font-mono text-muted-foreground/70"
|
|
19
|
+
}, M = [
|
|
20
|
+
"id",
|
|
21
|
+
"aria-hidden",
|
|
22
|
+
"inert",
|
|
23
|
+
"data-state"
|
|
24
|
+
], N = { class: "min-h-0 overflow-hidden" }, P = ["data-dividers"], F = /* @__PURE__ */ r(/* @__PURE__ */ f({
|
|
25
|
+
__name: "ConfiguratorLayer",
|
|
26
|
+
props: /* @__PURE__ */ p({
|
|
27
|
+
label: {},
|
|
28
|
+
sub: {},
|
|
29
|
+
id: {},
|
|
30
|
+
defaultOpen: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: !0
|
|
33
|
+
},
|
|
34
|
+
dividers: { type: Boolean },
|
|
35
|
+
class: { type: [
|
|
36
|
+
Boolean,
|
|
37
|
+
null,
|
|
38
|
+
String,
|
|
39
|
+
Object,
|
|
40
|
+
Array
|
|
41
|
+
] },
|
|
42
|
+
bodyClass: { type: [
|
|
43
|
+
Boolean,
|
|
44
|
+
null,
|
|
45
|
+
String,
|
|
46
|
+
Object,
|
|
47
|
+
Array
|
|
48
|
+
] }
|
|
49
|
+
}, {
|
|
50
|
+
open: {
|
|
51
|
+
type: Boolean,
|
|
52
|
+
default: void 0
|
|
53
|
+
},
|
|
54
|
+
openModifiers: {}
|
|
55
|
+
}),
|
|
56
|
+
emits: ["update:open"],
|
|
57
|
+
setup(n) {
|
|
58
|
+
let r = n, i = x(n, "open");
|
|
59
|
+
i.value === void 0 && (i.value = r.defaultOpen);
|
|
60
|
+
let a = `configurator-layer-body-${b()}`, u = o(() => r.id ?? a);
|
|
61
|
+
function f() {
|
|
62
|
+
i.value = !i.value;
|
|
63
|
+
}
|
|
64
|
+
let p = o(() => i.value ? "open" : "closed");
|
|
65
|
+
return (a, o) => (g(), c("div", {
|
|
66
|
+
"data-slot": "configurator-layer",
|
|
67
|
+
class: m(y(e)("configurator-layer border-b last:border-b-0", r.class)),
|
|
68
|
+
"data-state": p.value
|
|
69
|
+
}, [l("button", {
|
|
70
|
+
type: "button",
|
|
71
|
+
"data-slot": "configurator-layer-trigger",
|
|
72
|
+
class: m(y(e)("configurator-layer-trigger", "group flex w-full items-center justify-between gap-2 px-3 py-2", "tap-squish transition-control text-left hover:bg-foreground/5 focus-ring")),
|
|
73
|
+
"aria-expanded": i.value,
|
|
74
|
+
"aria-controls": u.value,
|
|
75
|
+
"data-state": p.value,
|
|
76
|
+
onClick: f
|
|
77
|
+
}, [l("div", k, [l("span", A, v(n.label), 1), n.sub ? (g(), c("span", j, v(n.sub), 1)) : s("", !0)]), d(y(t), {
|
|
78
|
+
class: "configurator-layer-chevron h-4 w-4 shrink-0 text-muted-foreground group-data-[state=open]:rotate-180",
|
|
79
|
+
"aria-hidden": "true"
|
|
80
|
+
})], 10, O), l("div", {
|
|
81
|
+
id: u.value,
|
|
82
|
+
role: "region",
|
|
83
|
+
"aria-hidden": !i.value,
|
|
84
|
+
inert: !i.value || void 0,
|
|
85
|
+
"data-state": p.value,
|
|
86
|
+
class: "configurator-layer-region grid motion-reduce:transition-none",
|
|
87
|
+
style: h({ gridTemplateRows: i.value ? "1fr" : "0fr" })
|
|
88
|
+
}, [l("div", N, [l("div", {
|
|
89
|
+
"data-dividers": r.dividers || void 0,
|
|
90
|
+
class: m(y(e)("configurator-layer-body px-3 py-2 space-y-2", r.dividers && "[&>*+*]:border-t [&>*+*]:pt-2", r.bodyClass))
|
|
91
|
+
}, [_(a.$slots, "default", {}, void 0, !0)], 10, P)])], 12, M)], 10, D));
|
|
92
|
+
}
|
|
93
|
+
}), [["__scopeId", "data-v-e887a77f"]]), I = ["data-density"], L = { class: "flex items-baseline justify-between gap-3" }, R = { class: "flex min-w-0 items-baseline gap-2" }, z = {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: "truncate text-micro font-mono text-muted-foreground/70"
|
|
96
|
+
}, B = ["aria-label"], V = { class: "flex w-full min-w-0 items-center [&>*]:min-w-0 [&>*]:w-full [&>*]:flex-1" }, H = {
|
|
97
|
+
key: 0,
|
|
98
|
+
class: "text-micro leading-snug text-muted-foreground/80"
|
|
99
|
+
}, U = /* @__PURE__ */ r(/* @__PURE__ */ f({
|
|
100
|
+
__name: "ConfiguratorRow",
|
|
101
|
+
props: {
|
|
102
|
+
label: {},
|
|
103
|
+
name: {},
|
|
104
|
+
description: {},
|
|
105
|
+
canReset: { type: Boolean },
|
|
106
|
+
density: {},
|
|
107
|
+
class: { type: [
|
|
108
|
+
Boolean,
|
|
109
|
+
null,
|
|
110
|
+
String,
|
|
111
|
+
Object,
|
|
112
|
+
Array
|
|
113
|
+
] }
|
|
114
|
+
},
|
|
115
|
+
emits: ["reset"],
|
|
116
|
+
setup(t, { emit: r }) {
|
|
117
|
+
let i = t, f = r, p = E(), h = o(() => i.density ?? p?.value ?? void 0);
|
|
118
|
+
return (r, o) => (g(), c("div", {
|
|
119
|
+
"data-slot": "configurator-row",
|
|
120
|
+
class: m(y(e)("configurator-row flex flex-col gap-1.5 py-2", i.class)),
|
|
121
|
+
"data-density": h.value
|
|
122
|
+
}, [
|
|
123
|
+
l("div", L, [l("div", R, [d(y(a), { class: "truncate text-small font-medium text-foreground" }, {
|
|
124
|
+
default: S(() => [u(v(t.label), 1)]),
|
|
125
|
+
_: 1
|
|
126
|
+
}), t.name ? (g(), c("span", z, v(t.name), 1)) : s("", !0)]), t.canReset ? (g(), c("button", {
|
|
127
|
+
key: 0,
|
|
128
|
+
type: "button",
|
|
129
|
+
"data-slot": "configurator-reset",
|
|
130
|
+
class: "tap-squish transition-control focus-ring inline-flex h-6 w-6 items-center justify-center rounded-pill text-muted-foreground/60 hover:bg-foreground/5 hover:text-foreground",
|
|
131
|
+
"aria-label": `Reset ${t.label}`,
|
|
132
|
+
onClick: o[0] ||= (e) => f("reset")
|
|
133
|
+
}, [d(y(n), {
|
|
134
|
+
class: "h-3 w-3",
|
|
135
|
+
"aria-hidden": "true"
|
|
136
|
+
})], 8, B)) : s("", !0)]),
|
|
137
|
+
l("div", V, [_(r.$slots, "default", {}, void 0, !0)]),
|
|
138
|
+
t.description ? (g(), c("p", H, v(t.description), 1)) : s("", !0)
|
|
139
|
+
], 10, I));
|
|
140
|
+
}
|
|
141
|
+
}), [["__scopeId", "data-v-7978cb8d"]]);
|
|
142
|
+
//#endregion
|
|
143
|
+
export { E as a, T as i, F as n, w as r, U as t };
|
|
@@ -73,7 +73,7 @@ var v = /* @__PURE__ */ i({
|
|
|
73
73
|
return t;
|
|
74
74
|
}), m);
|
|
75
75
|
return (t, i) => (c(), n(u(p), null, {
|
|
76
|
-
default: d(() => [r(u(f), o(u(h), { class: u(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground
|
|
76
|
+
default: d(() => [r(u(f), o(u(h), { class: u(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground glass-reveal", s.class) }), {
|
|
77
77
|
default: d(() => [l(t.$slots, "default")]),
|
|
78
78
|
_: 3
|
|
79
79
|
}, 16, ["class"])]),
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as r } from "./chevron-right-CPXbqQQz.js";
|
|
5
|
-
import { t as i } from "./menuItemVariants-DWRQXBxJ.js";
|
|
2
|
+
import { p as t, v as n, x as r } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as i } from "./menuItemVariants-D8VNHq22.js";
|
|
6
4
|
import { computed as a, createBlock 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";
|
|
7
5
|
import { ContextMenuCheckboxItem as y, ContextMenuItem as b, ContextMenuItemIndicator as x, ContextMenuLabel as S, ContextMenuRadioGroup as C, ContextMenuRadioItem as w, ContextMenuSeparator as T, ContextMenuSubContent as E, ContextMenuSubTrigger as D, useForwardProps as O, useForwardPropsEmits as k } from "reka-ui";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
r: "10",
|
|
12
|
-
key: "1mglay"
|
|
13
|
-
}]]), j = /* @__PURE__ */ u({
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/ui/context-menu/ContextMenuRadioGroup.vue
|
|
8
|
+
var A = /* @__PURE__ */ u({
|
|
14
9
|
__name: "ContextMenuRadioGroup",
|
|
15
10
|
props: {
|
|
16
11
|
modelValue: {},
|
|
@@ -25,7 +20,7 @@ var A = t("circle", [["circle", {
|
|
|
25
20
|
_: 3
|
|
26
21
|
}, 16));
|
|
27
22
|
}
|
|
28
|
-
}),
|
|
23
|
+
}), j = /* @__PURE__ */ u({
|
|
29
24
|
__name: "ContextMenuItem",
|
|
30
25
|
props: {
|
|
31
26
|
disabled: { type: Boolean },
|
|
@@ -52,7 +47,7 @@ var A = t("circle", [["circle", {
|
|
|
52
47
|
_: 3
|
|
53
48
|
}, 16, ["class"]));
|
|
54
49
|
}
|
|
55
|
-
}),
|
|
50
|
+
}), M = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, N = /* @__PURE__ */ u({
|
|
56
51
|
__name: "ContextMenuCheckboxItem",
|
|
57
52
|
props: {
|
|
58
53
|
modelValue: { type: [Boolean, String] },
|
|
@@ -69,20 +64,20 @@ var A = t("circle", [["circle", {
|
|
|
69
64
|
] }
|
|
70
65
|
},
|
|
71
66
|
emits: ["select", "update:modelValue"],
|
|
72
|
-
setup(t, { emit:
|
|
73
|
-
let s = t, u =
|
|
67
|
+
setup(t, { emit: n }) {
|
|
68
|
+
let s = t, u = n, d = k(a(() => {
|
|
74
69
|
let { class: e, ...t } = s;
|
|
75
70
|
return t;
|
|
76
71
|
}), u);
|
|
77
|
-
return (t,
|
|
78
|
-
default: v(() => [c("span",
|
|
79
|
-
default: v(() => [l(_(
|
|
72
|
+
return (t, n) => (h(), o(_(y), f(_(d), { class: _(e)(_(i)({ indicator: "start-wide" }), s.class) }), {
|
|
73
|
+
default: v(() => [c("span", M, [l(_(x), null, {
|
|
74
|
+
default: v(() => [l(_(r), { class: "h-4 w-4" })]),
|
|
80
75
|
_: 1
|
|
81
76
|
})]), g(t.$slots, "default")]),
|
|
82
77
|
_: 3
|
|
83
78
|
}, 16, ["class"]));
|
|
84
79
|
}
|
|
85
|
-
}),
|
|
80
|
+
}), P = { class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, F = /* @__PURE__ */ u({
|
|
86
81
|
__name: "ContextMenuRadioItem",
|
|
87
82
|
props: {
|
|
88
83
|
value: {},
|
|
@@ -99,20 +94,20 @@ var A = t("circle", [["circle", {
|
|
|
99
94
|
] }
|
|
100
95
|
},
|
|
101
96
|
emits: ["select"],
|
|
102
|
-
setup(
|
|
103
|
-
let
|
|
104
|
-
let { class: e, ...t } =
|
|
97
|
+
setup(n, { emit: r }) {
|
|
98
|
+
let s = n, u = r, d = k(a(() => {
|
|
99
|
+
let { class: e, ...t } = s;
|
|
105
100
|
return t;
|
|
106
|
-
}),
|
|
107
|
-
return (
|
|
108
|
-
default: v(() => [c("span",
|
|
109
|
-
default: v(() => [l(_(
|
|
101
|
+
}), u);
|
|
102
|
+
return (n, r) => (h(), o(_(w), f(_(d), { class: _(e)(_(i)({ indicator: "start-wide" }), s.class) }), {
|
|
103
|
+
default: v(() => [c("span", P, [l(_(x), null, {
|
|
104
|
+
default: v(() => [l(_(t), { class: "h-2 w-2 fill-current" })]),
|
|
110
105
|
_: 1
|
|
111
|
-
})]), g(
|
|
106
|
+
})]), g(n.$slots, "default")]),
|
|
112
107
|
_: 3
|
|
113
108
|
}, 16, ["class"]));
|
|
114
109
|
}
|
|
115
|
-
}),
|
|
110
|
+
}), I = /* @__PURE__ */ u({
|
|
116
111
|
__name: "ContextMenuShortcut",
|
|
117
112
|
props: { class: { type: [
|
|
118
113
|
Boolean,
|
|
@@ -125,7 +120,7 @@ var A = t("circle", [["circle", {
|
|
|
125
120
|
let n = t;
|
|
126
121
|
return (t, r) => (h(), s("span", { class: p(_(e)("ml-auto text-dropdown-secondary tracking-widest text-muted-foreground", n.class)) }, [g(t.$slots, "default")], 2));
|
|
127
122
|
}
|
|
128
|
-
}),
|
|
123
|
+
}), L = /* @__PURE__ */ u({
|
|
129
124
|
__name: "ContextMenuSeparator",
|
|
130
125
|
props: {
|
|
131
126
|
asChild: { type: Boolean },
|
|
@@ -145,7 +140,7 @@ var A = t("circle", [["circle", {
|
|
|
145
140
|
});
|
|
146
141
|
return (t, i) => (h(), o(_(T), f(r.value, { class: _(e)("-mx-1 my-1 h-px bg-border", n.class) }), null, 16, ["class"]));
|
|
147
142
|
}
|
|
148
|
-
}),
|
|
143
|
+
}), R = /* @__PURE__ */ u({
|
|
149
144
|
__name: "ContextMenuLabel",
|
|
150
145
|
props: {
|
|
151
146
|
asChild: { type: Boolean },
|
|
@@ -169,7 +164,7 @@ var A = t("circle", [["circle", {
|
|
|
169
164
|
_: 3
|
|
170
165
|
}, 16, ["class"]));
|
|
171
166
|
}
|
|
172
|
-
}),
|
|
167
|
+
}), z = /* @__PURE__ */ u({
|
|
173
168
|
__name: "ContextMenuSubTrigger",
|
|
174
169
|
props: {
|
|
175
170
|
disabled: { type: Boolean },
|
|
@@ -186,16 +181,16 @@ var A = t("circle", [["circle", {
|
|
|
186
181
|
inset: { type: Boolean }
|
|
187
182
|
},
|
|
188
183
|
setup(t) {
|
|
189
|
-
let
|
|
190
|
-
let { class: e, ...t } =
|
|
184
|
+
let r = t, s = O(a(() => {
|
|
185
|
+
let { class: e, ...t } = r;
|
|
191
186
|
return t;
|
|
192
187
|
}));
|
|
193
|
-
return (a, c) => (h(), o(_(D), f(_(s), { class: _(e)(_(i)({ indicator: t.inset ? "start-wide" : "none" }),
|
|
194
|
-
default: v(() => [g(a.$slots, "default"), l(_(
|
|
188
|
+
return (a, c) => (h(), o(_(D), f(_(s), { class: _(e)(_(i)({ indicator: t.inset ? "start-wide" : "none" }), r.class) }), {
|
|
189
|
+
default: v(() => [g(a.$slots, "default"), l(_(n), { class: "ml-auto h-4 w-4" })]),
|
|
195
190
|
_: 3
|
|
196
191
|
}, 16, ["class"]));
|
|
197
192
|
}
|
|
198
|
-
}),
|
|
193
|
+
}), B = /* @__PURE__ */ u({
|
|
199
194
|
__name: "ContextMenuSubContent",
|
|
200
195
|
props: {
|
|
201
196
|
forceMount: { type: Boolean },
|
|
@@ -240,11 +235,11 @@ var A = t("circle", [["circle", {
|
|
|
240
235
|
let { class: e, ...t } = r;
|
|
241
236
|
return t;
|
|
242
237
|
}), i);
|
|
243
|
-
return (t, n) => (h(), o(_(E), f(_(s), { class: _(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground
|
|
238
|
+
return (t, n) => (h(), o(_(E), f(_(s), { class: _(e)("z-popover min-w-32 overflow-hidden rounded-panel border glass-floating p-1 text-popover-foreground glass-reveal", r.class) }), {
|
|
244
239
|
default: v(() => [g(t.$slots, "default")]),
|
|
245
240
|
_: 3
|
|
246
241
|
}, 16, ["class"]));
|
|
247
242
|
}
|
|
248
243
|
});
|
|
249
244
|
//#endregion
|
|
250
|
-
export {
|
|
245
|
+
export { I as a, j as c, L as i, A as l, z as n, F as o, R as r, N as s, B as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { n as t } from "./button-
|
|
3
|
-
import { t as n } from "./_plugin-vue_export-helper-
|
|
4
|
-
import { n as r, r as i, t as a } from "./ContextMenuContent-
|
|
5
|
-
import { t as o } from "./useResizeObserver-
|
|
2
|
+
import { n as t } from "./button-DYCUa-tH.js";
|
|
3
|
+
import { t as n } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
4
|
+
import { n as r, r as i, t as a } from "./ContextMenuContent-uWnVxDab.js";
|
|
5
|
+
import { t as o } from "./useResizeObserver-Bpoi7tRE.js";
|
|
6
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, mergeModels as g, mergeProps as _, normalizeClass as v, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as C, toDisplayString as w, toValue as T, unref as E, useModel as D, useSlots as ee, withCtx as O, withModifiers as k } from "vue";
|
|
7
7
|
//#region src/components/ui/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var A = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./useSurfaceAxis-
|
|
4
|
-
import { t as r } from "./useSpringMount-
|
|
5
|
-
import { t as i } from "./ModalOverlay-
|
|
2
|
+
import { t } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as n } from "./useSurfaceAxis-g0NloYEF.js";
|
|
4
|
+
import { t as r } from "./useSpringMount-q1amq1SJ.js";
|
|
5
|
+
import { t as i } from "./ModalOverlay-D1VrWyoi.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, unref as m, withCtx as h } from "vue";
|
|
7
7
|
import { DialogClose as g, DialogContent as _, DialogPortal as v, DialogRoot as y, injectDialogRootContext as b, useForwardPropsEmits as x } from "reka-ui";
|
|
8
8
|
//#endregion
|
|
@@ -22,7 +22,7 @@ var S = /* @__PURE__ */ u({
|
|
|
22
22
|
_: 3
|
|
23
23
|
}, 16));
|
|
24
24
|
}
|
|
25
|
-
}), C = "fixed left-1/2 top-1/2 z-modal grid w-full max-w-lg gap-4
|
|
25
|
+
}), C = "fixed left-1/2 top-1/2 z-modal grid w-full max-w-lg gap-4 [--overlay-pad-inline:--spacing(6)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block)", w = "-translate-x-1/2 -translate-y-1/2 glass-reveal", T = /* @__PURE__ */ u({
|
|
26
26
|
__name: "DialogContent",
|
|
27
27
|
props: {
|
|
28
28
|
forceMount: { type: Boolean },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import { t as n } from "./ModalOverlay-
|
|
2
|
+
import { t } from "./vendor-CKmzio-i.js";
|
|
3
|
+
import { t as n } from "./ModalOverlay-D1VrWyoi.js";
|
|
4
4
|
import { computed as r, createBlock as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, guardReactiveProps as l, mergeProps as u, normalizeClass as d, normalizeProps as f, openBlock as p, renderSlot as m, unref as h, withCtx as g } from "vue";
|
|
5
5
|
import { DialogClose as _, DialogContent as v, DialogDescription as y, DialogPortal as b, DialogTitle as x, DialogTrigger as S, useForwardProps as C, useForwardPropsEmits as w } from "reka-ui";
|
|
6
6
|
//#endregion
|
|
@@ -132,7 +132,7 @@ var T = /* @__PURE__ */ c({
|
|
|
132
132
|
layout: "scroll",
|
|
133
133
|
class: d(l.overlayClass)
|
|
134
134
|
}, {
|
|
135
|
-
default: g(() => [s(h(v), u({ class: h(e)("popover-content relative z-overlay grid w-full max-w-lg my-8 gap-4 border border-border
|
|
135
|
+
default: g(() => [s(h(v), u({ class: h(e)("popover-content relative z-overlay grid w-full max-w-lg my-8 gap-4 border border-border glass-floating [--overlay-pad-inline:--spacing(6)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) [box-shadow:var(--glass-shadow-floating)] duration-200 sm:rounded-dialog md:w-full", l.class) }, h(y), { onPointerDownOutside: a[0] ||= (e) => {
|
|
136
136
|
let t = e.detail.originalEvent, n = t.target;
|
|
137
137
|
(t.offsetX > n.clientWidth || t.offsetY > n.clientHeight) && e.preventDefault();
|
|
138
138
|
} }), {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./supportsCssTimeline-BWenxvHU.js";
|
|
2
|
-
import { t } from "./useResizeObserver-
|
|
2
|
+
import { t } from "./useResizeObserver-Bpoi7tRE.js";
|
|
3
3
|
import { createElementBlock as n, defineComponent as r, normalizeClass as i, onBeforeUnmount as a, onMounted as o, openBlock as s, ref as c, renderSlot as l, unref as u } from "vue";
|
|
4
4
|
//#region src/components/custom/fading-scroll/constants.ts
|
|
5
5
|
var d = e();
|
|
@@ -71,7 +71,7 @@ var v = /* @__PURE__ */ i({
|
|
|
71
71
|
return t;
|
|
72
72
|
}));
|
|
73
73
|
return (t, i) => (c(), n(u(p), null, {
|
|
74
|
-
default: d(() => [r(u(f), o(u(s), { class: u(e)("z-hovercard w-64 rounded-panel border glass-floating
|
|
74
|
+
default: d(() => [r(u(f), o(u(s), { class: u(e)("z-hovercard w-64 rounded-panel border glass-floating [--overlay-pad-inline:1rem] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block) text-popover-foreground outline-none glass-reveal", a.class) }), {
|
|
75
75
|
default: d(() => [l(t.$slots, "default")]),
|
|
76
76
|
_: 3
|
|
77
77
|
}, 16, ["class"])]),
|