@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/dist/glass-ui.js
CHANGED
|
@@ -1,66 +1,63 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { a as t,
|
|
3
|
-
import { n as
|
|
4
|
-
import { n as
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { t as
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { a as
|
|
23
|
-
import { n as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import { t as
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { n as
|
|
33
|
-
import {
|
|
34
|
-
import { t as
|
|
35
|
-
import { n as
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import {
|
|
39
|
-
import { t as
|
|
40
|
-
import { n as
|
|
41
|
-
import { t as
|
|
42
|
-
import { a as
|
|
43
|
-
import { n as
|
|
44
|
-
import { t as
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import { i as
|
|
48
|
-
import { n as
|
|
49
|
-
import { t as
|
|
50
|
-
import { t as
|
|
51
|
-
import { t as
|
|
52
|
-
import { t as
|
|
53
|
-
import { t as
|
|
54
|
-
import { t as
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Un, mergeModels as Wn, mergeProps as R, normalizeClass as z, normalizeProps as Gn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as Kn, unref as K, useModel as qn, watch as Jn, withCtx as q, withModifiers as Yn } from "vue";
|
|
58
|
-
import { AccordionContent as Xn, AccordionHeader as Zn, AccordionItem as Qn, AccordionRoot as $n, AccordionTrigger as er, AvatarFallback as tr, AvatarImage as nr, AvatarRoot as rr, CheckboxIndicator as ir, CheckboxRoot as ar, RadioGroupIndicator as or, RadioGroupItem as sr, RadioGroupRoot as cr, TagsInputInput as lr, TagsInputItem as ur, TagsInputItemDelete as dr, TagsInputItemText as fr, TagsInputRoot as pr, useEmitAsProps as mr, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
2
|
+
import { a as t, c as n, i as r, n as i, o as a, r as o, s, t as c } from "./usePointerVelocityField-JbRd5CrM.js";
|
|
3
|
+
import { n as l, t as u } from "./coalesceMetric-5qIeZnTx.js";
|
|
4
|
+
import { n as d, t as ee } from "./supportsCssTimeline-BWenxvHU.js";
|
|
5
|
+
import { b as f, p as te, s as ne, t as p, x as m } from "./vendor-CKmzio-i.js";
|
|
6
|
+
import { n as h, t as re } from "./badge-D9XWW4GT.js";
|
|
7
|
+
import { t as ie } from "./useLiquidFlex-mZPMiNXh.js";
|
|
8
|
+
import { n as g, r as ae, t as oe } from "./vSpecular-CQFmLNzA.js";
|
|
9
|
+
import { n as se, t as ce } from "./useCanvas2D-B8w_E3Rr.js";
|
|
10
|
+
import { t as le } from "./resolveCanvasColor-CUyHr5Uu.js";
|
|
11
|
+
import { n as _, t as ue } from "./button-DYCUa-tH.js";
|
|
12
|
+
import { a as de, c as fe, i as pe, l as me, n as he, o as ge, r as _e, s as ve, t as ye } from "./CardAction-CW7a0m8M.js";
|
|
13
|
+
import { n as be, r as xe, t as Se } from "./CollapsibleContent-68dEXIAl.js";
|
|
14
|
+
import { a as v, c as Ce, i as y, l as b, n as we, o as x, r as S, s as C, t as Te } from "./CommandShortcut-DvZNQ_HF.js";
|
|
15
|
+
import { n as Ee, t as De } from "./DialogContent-DcKK8k9i.js";
|
|
16
|
+
import { a as Oe, i as w, n as T, o as ke, r as Ae, s as je, t as Me } from "./DialogFooter-BZNX5aVr.js";
|
|
17
|
+
import { n as Ne, r as Pe, t as Fe } from "./ContextMenuContent-uWnVxDab.js";
|
|
18
|
+
import { a as Ie, c as Le, i as Re, l as ze, n as Be, o as Ve, r as He, s as Ue, t as We } from "./ContextMenuSubContent-xol4sD2q.js";
|
|
19
|
+
import { t as Ge } from "./useResizeObserver-Bpoi7tRE.js";
|
|
20
|
+
import { t as Ke } from "./useTimer-BHJOKr35.js";
|
|
21
|
+
import { t as qe } from "./useTouchGate-CBZTD4SD.js";
|
|
22
|
+
import { a as Je, i as Ye, n as Xe, o as Ze, r as Qe, t as $e } from "./useViewportReady-anbac3m6.js";
|
|
23
|
+
import { n as et, t as tt } from "./useResolveTokenColor-vAylyR0x.js";
|
|
24
|
+
import { t as nt } from "./useUserInvalidAria-y5namzeE.js";
|
|
25
|
+
import { a as rt, c as it, i as at, l as ot, n as st, o as ct, r as lt, s as ut, t as dt, u as ft } from "./DataTable-CuKwF7wr.js";
|
|
26
|
+
import { a as pt, c as mt, d as ht, f as gt, h as _t, i as vt, l as yt, m as bt, n as xt, o as St, p as Ct, r as wt, s as Tt, t as Et, u as Dt } from "./dropdown-menu-CofSZuk8.js";
|
|
27
|
+
import { n as Ot, r as kt, t as At } from "./HoverCardContent-b2uaAMRR.js";
|
|
28
|
+
import { t as jt } from "./Label-C2ejNWeC.js";
|
|
29
|
+
import { t as Mt } from "./MetricBadge-RHdBP72w.js";
|
|
30
|
+
import { n as E, r as D, t as O } from "./PopoverContent-DL7E6vJP.js";
|
|
31
|
+
import { t as Nt } from "./Notification-VUwexFUf.js";
|
|
32
|
+
import { a as Pt, i as Ft, n as It, r as Lt, t as Rt } from "./NumberFieldContent-Cq7EzX-U.js";
|
|
33
|
+
import { a as zt, i as Bt, n as Vt, r as Ht, t as Ut } from "./Progress-DctG61iZ.js";
|
|
34
|
+
import { t as Wt } from "./PaperBackdrop-Vf3tlpvd.js";
|
|
35
|
+
import { a as Gt, i as Kt, n as qt, o as Jt, r as Yt, s as Xt, t as Zt } from "./SelectScrollDownButton-CrA8F0iV.js";
|
|
36
|
+
import { t as Qt } from "./SelectGroup-DwwjicPY.js";
|
|
37
|
+
import { n as $t, t as en } from "./SelectSeparator-DXswVdRz.js";
|
|
38
|
+
import { t as tn } from "./Separator-pKF0oA4M.js";
|
|
39
|
+
import { a as nn, c as rn, i as an, l as on, n as sn, o as cn, r as ln, s as un, t as dn } from "./sheet-tZMg0E0w.js";
|
|
40
|
+
import { n as fn, t as pn } from "./slider-DVb4HXU-.js";
|
|
41
|
+
import { t as mn } from "./Switch-CwYNf8bo.js";
|
|
42
|
+
import { a as hn, c as gn, i as _n, n as vn, o as yn, r as bn, s as xn, t as Sn } from "./Toaster-Bw4xR8xV.js";
|
|
43
|
+
import { i as Cn, n as wn, r as Tn, t as En } from "./ToggleGroupItem-pEM9vIhs.js";
|
|
44
|
+
import { i as Dn, n as On, r as kn, t as An } from "./TooltipProvider-rzvnXz60.js";
|
|
45
|
+
import { n as jn, t as Mn } from "./InstrumentChassis-Bx0F_q5g.js";
|
|
46
|
+
import { t as Nn } from "./HoverPopover-CbqbNwgU.js";
|
|
47
|
+
import { a as Pn, i as Fn, n as In, r as Ln, t as Rn } from "./ConfiguratorRow-BR4l-ixA.js";
|
|
48
|
+
import { n as zn, t as Bn } from "./useConfiguratorState-DNlOh6c8.js";
|
|
49
|
+
import { t as Vn } from "./ScrollingText-yOpBzFYq.js";
|
|
50
|
+
import { t as Hn } from "./vReveal-Czsb7zQC.js";
|
|
51
|
+
import { t as Un } from "./IconChip-BTD-nay5.js";
|
|
52
|
+
import { t as Wn } from "./useInterval-CvK1mL92.js";
|
|
53
|
+
import { t as Gn } from "./useSortable-DHjtZSEd.js";
|
|
54
|
+
import { t as Kn } from "./useTextHighlight-CWEi25hf.js";
|
|
55
|
+
import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as qn, mergeModels as Jn, mergeProps as R, normalizeClass as z, normalizeProps as Yn, onScopeDispose as Xn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as W, toDisplayString as G, toRaw as Zn, unref as K, useModel as Qn, withCtx as q, withModifiers as $n } from "vue";
|
|
56
|
+
import { AccordionContent as er, AccordionHeader as tr, AccordionItem as nr, AccordionRoot as rr, AccordionTrigger as ir, AvatarFallback as ar, AvatarImage as or, AvatarRoot as sr, CheckboxIndicator as cr, CheckboxRoot as lr, RadioGroupIndicator as ur, RadioGroupItem as dr, RadioGroupRoot as fr, TagsInputInput as pr, TagsInputItem as mr, TagsInputItemDelete as hr, TagsInputItemText as gr, TagsInputRoot as _r, useForwardProps as J, useForwardPropsEmits as Y } from "reka-ui";
|
|
59
57
|
import { cva as X } from "class-variance-authority";
|
|
60
|
-
import { DrawerClose as hr, DrawerContent as gr, DrawerDescription as _r, DrawerOverlay as vr, DrawerPortal as yr, DrawerPortal as br, DrawerRoot as xr, DrawerTitle as Sr, DrawerTrigger as Cr } from "vaul-vue";
|
|
61
58
|
//#endregion
|
|
62
59
|
//#region src/components/ui/accordion/Accordion.vue
|
|
63
|
-
var
|
|
60
|
+
var vr = /* @__PURE__ */ L({
|
|
64
61
|
__name: "Accordion",
|
|
65
62
|
props: {
|
|
66
63
|
collapsible: { type: Boolean },
|
|
@@ -77,12 +74,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
77
74
|
emits: ["update:modelValue"],
|
|
78
75
|
setup(e, { emit: t }) {
|
|
79
76
|
let n = Y(e, t);
|
|
80
|
-
return (e, t) => (B(), j(K(
|
|
77
|
+
return (e, t) => (B(), j(K(rr), R({ "data-slot": "accordion" }, K(n)), {
|
|
81
78
|
default: q(() => [U(e.$slots, "default")]),
|
|
82
79
|
_: 3
|
|
83
80
|
}, 16));
|
|
84
81
|
}
|
|
85
|
-
}),
|
|
82
|
+
}), yr = /* @__PURE__ */ L({
|
|
86
83
|
__name: "AccordionContent",
|
|
87
84
|
props: {
|
|
88
85
|
forceMount: { type: Boolean },
|
|
@@ -101,12 +98,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
101
98
|
let { class: e, ...t } = n;
|
|
102
99
|
return t;
|
|
103
100
|
});
|
|
104
|
-
return (t, i) => (B(), j(K(
|
|
101
|
+
return (t, i) => (B(), j(K(er), R(r.value, { class: "overflow-hidden text-sm transition-collapse data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down" }), {
|
|
105
102
|
default: q(() => [P("div", { class: z(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
106
103
|
_: 3
|
|
107
104
|
}, 16));
|
|
108
105
|
}
|
|
109
|
-
}),
|
|
106
|
+
}), br = /* @__PURE__ */ L({
|
|
110
107
|
__name: "AccordionItem",
|
|
111
108
|
props: {
|
|
112
109
|
disabled: { type: Boolean },
|
|
@@ -127,12 +124,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
127
124
|
let { class: e, ...t } = n;
|
|
128
125
|
return t;
|
|
129
126
|
}));
|
|
130
|
-
return (t, i) => (B(), j(K(
|
|
127
|
+
return (t, i) => (B(), j(K(nr), R(K(r), { class: K(e)("border-b", n.class) }), {
|
|
131
128
|
default: q(() => [U(t.$slots, "default")]),
|
|
132
129
|
_: 3
|
|
133
130
|
}, 16, ["class"]));
|
|
134
131
|
}
|
|
135
|
-
}),
|
|
132
|
+
}), xr = /* @__PURE__ */ L({
|
|
136
133
|
__name: "AccordionTrigger",
|
|
137
134
|
props: {
|
|
138
135
|
asChild: { type: Boolean },
|
|
@@ -150,15 +147,15 @@ var wr = /* @__PURE__ */ L({
|
|
|
150
147
|
let { class: e, ...t } = n;
|
|
151
148
|
return t;
|
|
152
149
|
});
|
|
153
|
-
return (t, i) => (B(), j(K(
|
|
154
|
-
default: q(() => [I(K(
|
|
155
|
-
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [I(K(
|
|
150
|
+
return (t, i) => (B(), j(K(tr), { class: "flex" }, {
|
|
151
|
+
default: q(() => [I(K(ir), R({ "data-slot": "accordion-trigger" }, r.value, { class: K(e)("tap-squish focus-ring flex flex-1 items-center justify-between rounded-control px-1 py-4 font-medium transition-control hover:underline disabled:pointer-events-none disabled:opacity-disabled [&[data-state=open]>svg]:rotate-180", n.class) }), {
|
|
152
|
+
default: q(() => [U(t.$slots, "default"), U(t.$slots, "icon", {}, () => [I(K(f), { class: "h-4 w-4 shrink-0 transition-transform duration-200" })])]),
|
|
156
153
|
_: 3
|
|
157
154
|
}, 16, ["class"])]),
|
|
158
155
|
_: 3
|
|
159
156
|
}));
|
|
160
157
|
}
|
|
161
|
-
}),
|
|
158
|
+
}), Sr = /* @__PURE__ */ L({
|
|
162
159
|
__name: "Alert",
|
|
163
160
|
props: {
|
|
164
161
|
class: { type: [
|
|
@@ -178,7 +175,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
178
175
|
role: "alert"
|
|
179
176
|
}, [U(r.$slots, "default")], 2));
|
|
180
177
|
}
|
|
181
|
-
}),
|
|
178
|
+
}), Cr = /* @__PURE__ */ L({
|
|
182
179
|
__name: "AlertDescription",
|
|
183
180
|
props: { class: { type: [
|
|
184
181
|
Boolean,
|
|
@@ -194,7 +191,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
194
191
|
class: z(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
195
192
|
}, [U(t.$slots, "default")], 2));
|
|
196
193
|
}
|
|
197
|
-
}),
|
|
194
|
+
}), wr = /* @__PURE__ */ L({
|
|
198
195
|
__name: "AlertTitle",
|
|
199
196
|
props: { class: { type: [
|
|
200
197
|
Boolean,
|
|
@@ -219,7 +216,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
219
216
|
info: "feedback-tone feedback-tone-info [--feedback-tone-rung:var(--glass-bg-wash)] [backdrop-filter:var(--glass-blur-wash)] text-card-foreground [&>svg]:text-(--tone) *:data-[slot=alert-description]:text-card-foreground/90"
|
|
220
217
|
} },
|
|
221
218
|
defaultVariants: { variant: "default" }
|
|
222
|
-
}),
|
|
219
|
+
}), Tr = /* @__PURE__ */ L({
|
|
223
220
|
__name: "Avatar",
|
|
224
221
|
props: {
|
|
225
222
|
class: { type: [
|
|
@@ -234,9 +231,9 @@ var wr = /* @__PURE__ */ L({
|
|
|
234
231
|
},
|
|
235
232
|
setup(t) {
|
|
236
233
|
let n = t;
|
|
237
|
-
return (r, i) => (B(), j(K(
|
|
234
|
+
return (r, i) => (B(), j(K(sr), {
|
|
238
235
|
"data-slot": "avatar",
|
|
239
|
-
class: z(K(e)(K(
|
|
236
|
+
class: z(K(e)(K($)({
|
|
240
237
|
size: t.size,
|
|
241
238
|
shape: t.shape
|
|
242
239
|
}), n.class))
|
|
@@ -245,7 +242,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
245
242
|
_: 3
|
|
246
243
|
}, 8, ["class"]));
|
|
247
244
|
}
|
|
248
|
-
}),
|
|
245
|
+
}), Er = /* @__PURE__ */ L({
|
|
249
246
|
__name: "AvatarImage",
|
|
250
247
|
props: {
|
|
251
248
|
src: {},
|
|
@@ -257,9 +254,9 @@ var wr = /* @__PURE__ */ L({
|
|
|
257
254
|
},
|
|
258
255
|
setup(e) {
|
|
259
256
|
let t = e;
|
|
260
|
-
return (e, n) => (B(), j(K(
|
|
257
|
+
return (e, n) => (B(), j(K(or), R(t, { class: "h-full w-full object-cover" }), null, 16));
|
|
261
258
|
}
|
|
262
|
-
}),
|
|
259
|
+
}), Q = /* @__PURE__ */ L({
|
|
263
260
|
__name: "AvatarFallback",
|
|
264
261
|
props: {
|
|
265
262
|
delayMs: {},
|
|
@@ -268,12 +265,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
268
265
|
},
|
|
269
266
|
setup(e) {
|
|
270
267
|
let t = e;
|
|
271
|
-
return (e, n) => (B(), j(K(
|
|
268
|
+
return (e, n) => (B(), j(K(ar), Yn(qn(t)), {
|
|
272
269
|
default: q(() => [U(e.$slots, "default")]),
|
|
273
270
|
_: 3
|
|
274
271
|
}, 16));
|
|
275
272
|
}
|
|
276
|
-
}),
|
|
273
|
+
}), $ = X("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
277
274
|
size: {
|
|
278
275
|
sm: "h-(--control-h-md) w-(--control-h-md) text-xs",
|
|
279
276
|
base: "h-16 w-16 text-2xl",
|
|
@@ -283,7 +280,26 @@ var wr = /* @__PURE__ */ L({
|
|
|
283
280
|
circle: "rounded-pill",
|
|
284
281
|
square: "rounded-input"
|
|
285
282
|
}
|
|
286
|
-
} })
|
|
283
|
+
} });
|
|
284
|
+
//#endregion
|
|
285
|
+
//#region src/composables/glass/useSpecularPointer.ts
|
|
286
|
+
function Dr() {
|
|
287
|
+
let e = V({}), t = g((t, n) => {
|
|
288
|
+
let r = Math.atan2(n - 50, t - 50) * 180 / Math.PI + 90;
|
|
289
|
+
e.value = {
|
|
290
|
+
"--mouse-x": `${t.toFixed(2)}%`,
|
|
291
|
+
"--mouse-y": `${n.toFixed(2)}%`,
|
|
292
|
+
"--specular-angle": `${r.toFixed(1)}deg`
|
|
293
|
+
};
|
|
294
|
+
});
|
|
295
|
+
return Xn(t.dispose), {
|
|
296
|
+
specularStyle: e,
|
|
297
|
+
onPointerMove: t.onPointerMove
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
//#endregion
|
|
301
|
+
//#region src/components/ui/checkbox/Checkbox.vue
|
|
302
|
+
var Or = /* @__PURE__ */ L({
|
|
287
303
|
__name: "Checkbox",
|
|
288
304
|
props: {
|
|
289
305
|
defaultValue: {},
|
|
@@ -311,15 +327,15 @@ var wr = /* @__PURE__ */ L({
|
|
|
311
327
|
let { class: e, ...t } = r;
|
|
312
328
|
return t;
|
|
313
329
|
}), i);
|
|
314
|
-
return (t, n) => (B(), j(K(
|
|
315
|
-
default: q(() => [I(K(
|
|
316
|
-
default: q(() => [U(t.$slots, "default", {}, () => [I(K(
|
|
330
|
+
return (t, n) => (B(), j(K(lr), R({ "data-slot": "checkbox" }, K(a), { class: K(e)("group tap-squish focus-ring peer relative touch-hit-area h-4 w-4 shrink-0 rounded-control border border-primary transition-control disabled:cursor-not-allowed disabled:opacity-disabled data-[state=checked]:bg-[color-mix(in_srgb,var(--primary)_88%,var(--glass-bg-floating))] data-[state=checked]:text-primary-foreground data-[state=indeterminate]:bg-[color-mix(in_srgb,var(--primary)_88%,var(--glass-bg-floating))] data-[state=indeterminate]:text-primary-foreground", r.class) }), {
|
|
331
|
+
default: q(() => [I(K(cr), { class: "flex h-full w-full items-center justify-center text-current" }, {
|
|
332
|
+
default: q(() => [U(t.$slots, "default", {}, () => [I(K(ne), { class: "hidden h-4 w-4 group-data-[state=indeterminate]:block" }), I(K(m), { class: "h-4 w-4 group-data-[state=indeterminate]:hidden" })])]),
|
|
317
333
|
_: 3
|
|
318
334
|
})]),
|
|
319
335
|
_: 3
|
|
320
336
|
}, 16, ["class"]));
|
|
321
337
|
}
|
|
322
|
-
}),
|
|
338
|
+
}), kr = /* @__PURE__ */ L({
|
|
323
339
|
__name: "TableCaption",
|
|
324
340
|
props: { class: { type: [
|
|
325
341
|
Boolean,
|
|
@@ -332,215 +348,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
332
348
|
let n = t;
|
|
333
349
|
return (t, r) => (B(), N("caption", { class: z(K(e)("mt-4 text-sm text-muted-foreground", n.class)) }, [U(t.$slots, "default")], 2));
|
|
334
350
|
}
|
|
335
|
-
}),
|
|
336
|
-
__name: "Drawer",
|
|
337
|
-
props: {
|
|
338
|
-
activeSnapPoint: {},
|
|
339
|
-
closeThreshold: {},
|
|
340
|
-
shouldScaleBackground: {
|
|
341
|
-
type: Boolean,
|
|
342
|
-
default: void 0
|
|
343
|
-
},
|
|
344
|
-
setBackgroundColorOnScale: { type: Boolean },
|
|
345
|
-
scrollLockTimeout: {},
|
|
346
|
-
fixed: { type: Boolean },
|
|
347
|
-
dismissible: { type: Boolean },
|
|
348
|
-
modal: {
|
|
349
|
-
type: Boolean,
|
|
350
|
-
default: void 0
|
|
351
|
-
},
|
|
352
|
-
open: {
|
|
353
|
-
type: Boolean,
|
|
354
|
-
default: void 0
|
|
355
|
-
},
|
|
356
|
-
defaultOpen: { type: Boolean },
|
|
357
|
-
nested: { type: Boolean },
|
|
358
|
-
direction: {},
|
|
359
|
-
noBodyStyles: { type: Boolean },
|
|
360
|
-
handleOnly: { type: Boolean },
|
|
361
|
-
preventScrollRestoration: { type: Boolean },
|
|
362
|
-
snapPoints: { default: void 0 },
|
|
363
|
-
fadeFromIndex: {},
|
|
364
|
-
mode: { default: "modal" }
|
|
365
|
-
},
|
|
366
|
-
emits: [
|
|
367
|
-
"drag",
|
|
368
|
-
"release",
|
|
369
|
-
"close",
|
|
370
|
-
"update:open",
|
|
371
|
-
"update:activeSnapPoint",
|
|
372
|
-
"animationEnd"
|
|
373
|
-
],
|
|
374
|
-
setup(e, { emit: t }) {
|
|
375
|
-
let n = e, r = t, i = mr(r), a = A(() => n.open !== void 0), o = V(n.open ?? !1);
|
|
376
|
-
Jn(() => n.open, (e) => {
|
|
377
|
-
e !== void 0 && (o.value = e);
|
|
378
|
-
});
|
|
379
|
-
function s(e) {
|
|
380
|
-
o.value = e, r("update:open", e);
|
|
381
|
-
}
|
|
382
|
-
let c = [
|
|
383
|
-
.12,
|
|
384
|
-
.5,
|
|
385
|
-
1
|
|
386
|
-
], l = A(() => {
|
|
387
|
-
let { mode: e, open: t, ...r } = n, l = e === "live-behind";
|
|
388
|
-
return {
|
|
389
|
-
...r,
|
|
390
|
-
open: a.value ? n.open : o.value,
|
|
391
|
-
modal: n.modal ?? !l,
|
|
392
|
-
shouldScaleBackground: n.shouldScaleBackground ?? !l,
|
|
393
|
-
snapPoints: n.snapPoints ?? (l ? c : void 0),
|
|
394
|
-
...i,
|
|
395
|
-
"onUpdate:open": s
|
|
396
|
-
};
|
|
397
|
-
});
|
|
398
|
-
return (e, t) => (B(), j(K(xr), R({ "data-slot": "drawer" }, l.value), {
|
|
399
|
-
default: q(() => [U(e.$slots, "default")]),
|
|
400
|
-
_: 3
|
|
401
|
-
}, 16));
|
|
402
|
-
}
|
|
403
|
-
}), $ = /* @__PURE__ */ L({
|
|
404
|
-
__name: "DrawerOverlay",
|
|
405
|
-
props: {
|
|
406
|
-
forceMount: { type: Boolean },
|
|
407
|
-
asChild: { type: Boolean },
|
|
408
|
-
as: {},
|
|
409
|
-
class: { type: [
|
|
410
|
-
Boolean,
|
|
411
|
-
null,
|
|
412
|
-
String,
|
|
413
|
-
Object,
|
|
414
|
-
Array
|
|
415
|
-
] }
|
|
416
|
-
},
|
|
417
|
-
setup(t) {
|
|
418
|
-
let n = t, r = A(() => {
|
|
419
|
-
let { class: e, ...t } = n;
|
|
420
|
-
return t;
|
|
421
|
-
});
|
|
422
|
-
return (t, i) => (B(), j(K(vr), R(r.value, { class: K(e)("fixed inset-0 z-overlay bg-overlay-scrim-strong [backdrop-filter:var(--glass-blur-wash)]", n.class) }), null, 16, ["class"]));
|
|
423
|
-
}
|
|
424
|
-
}), Lr = /* @__PURE__ */ L({
|
|
425
|
-
__name: "DrawerContent",
|
|
426
|
-
props: {
|
|
427
|
-
forceMount: { type: Boolean },
|
|
428
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
429
|
-
asChild: { type: Boolean },
|
|
430
|
-
as: {},
|
|
431
|
-
class: { type: [
|
|
432
|
-
Boolean,
|
|
433
|
-
null,
|
|
434
|
-
String,
|
|
435
|
-
Object,
|
|
436
|
-
Array
|
|
437
|
-
] },
|
|
438
|
-
showOverlay: {
|
|
439
|
-
type: Boolean,
|
|
440
|
-
default: !0
|
|
441
|
-
},
|
|
442
|
-
surface: { default: "glass" }
|
|
443
|
-
},
|
|
444
|
-
emits: [
|
|
445
|
-
"escapeKeyDown",
|
|
446
|
-
"pointerDownOutside",
|
|
447
|
-
"focusOutside",
|
|
448
|
-
"interactOutside",
|
|
449
|
-
"openAutoFocus",
|
|
450
|
-
"closeAutoFocus"
|
|
451
|
-
],
|
|
452
|
-
setup(t, { emit: n }) {
|
|
453
|
-
let r = t, i = n, a = Y(A(() => {
|
|
454
|
-
let { class: e, showOverlay: t, surface: n, ...i } = r;
|
|
455
|
-
return i;
|
|
456
|
-
}), i), o = A(() => v(r.surface).replace(/^glass-\w+\s*/, ""));
|
|
457
|
-
return (t, n) => (B(), j(K(br), null, {
|
|
458
|
-
default: q(() => [r.showOverlay ? (B(), j($, { key: 0 })) : M("", !0), I(K(gr), R(K(a), {
|
|
459
|
-
"data-surface": r.surface,
|
|
460
|
-
class: K(e)("glass-drawer", o.value, r.class)
|
|
461
|
-
}), {
|
|
462
|
-
default: q(() => [n[0] ||= P("div", {
|
|
463
|
-
class: "glass-drawer-handle",
|
|
464
|
-
"aria-hidden": "true"
|
|
465
|
-
}, [P("span", { class: "glass-drawer-grip" })], -1), U(t.$slots, "default")]),
|
|
466
|
-
_: 3
|
|
467
|
-
}, 16, ["data-surface", "class"])]),
|
|
468
|
-
_: 3
|
|
469
|
-
}));
|
|
470
|
-
}
|
|
471
|
-
}), Rr = /* @__PURE__ */ L({
|
|
472
|
-
__name: "DrawerHeader",
|
|
473
|
-
props: { class: { type: [
|
|
474
|
-
Boolean,
|
|
475
|
-
null,
|
|
476
|
-
String,
|
|
477
|
-
Object,
|
|
478
|
-
Array
|
|
479
|
-
] } },
|
|
480
|
-
setup(t) {
|
|
481
|
-
let n = t;
|
|
482
|
-
return (t, r) => (B(), N("div", { class: z(K(e)("grid gap-1.5 p-4 text-center sm:text-left", n.class)) }, [U(t.$slots, "default")], 2));
|
|
483
|
-
}
|
|
484
|
-
}), zr = /* @__PURE__ */ L({
|
|
485
|
-
__name: "DrawerFooter",
|
|
486
|
-
props: { class: { type: [
|
|
487
|
-
Boolean,
|
|
488
|
-
null,
|
|
489
|
-
String,
|
|
490
|
-
Object,
|
|
491
|
-
Array
|
|
492
|
-
] } },
|
|
493
|
-
setup(t) {
|
|
494
|
-
let n = t;
|
|
495
|
-
return (t, r) => (B(), N("div", { class: z(K(e)("mt-auto flex flex-col gap-2 p-4", n.class)) }, [U(t.$slots, "default")], 2));
|
|
496
|
-
}
|
|
497
|
-
}), Br = /* @__PURE__ */ L({
|
|
498
|
-
__name: "DrawerTitle",
|
|
499
|
-
props: {
|
|
500
|
-
asChild: { type: Boolean },
|
|
501
|
-
as: {},
|
|
502
|
-
class: { type: [
|
|
503
|
-
Boolean,
|
|
504
|
-
null,
|
|
505
|
-
String,
|
|
506
|
-
Object,
|
|
507
|
-
Array
|
|
508
|
-
] }
|
|
509
|
-
},
|
|
510
|
-
setup(t) {
|
|
511
|
-
let n = t, r = A(() => {
|
|
512
|
-
let { class: e, ...t } = n;
|
|
513
|
-
return t;
|
|
514
|
-
});
|
|
515
|
-
return (t, i) => (B(), j(K(Sr), R(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
516
|
-
default: q(() => [U(t.$slots, "default")]),
|
|
517
|
-
_: 3
|
|
518
|
-
}, 16, ["class"]));
|
|
519
|
-
}
|
|
520
|
-
}), Vr = /* @__PURE__ */ L({
|
|
521
|
-
__name: "DrawerDescription",
|
|
522
|
-
props: {
|
|
523
|
-
asChild: { type: Boolean },
|
|
524
|
-
as: {},
|
|
525
|
-
class: { type: [
|
|
526
|
-
Boolean,
|
|
527
|
-
null,
|
|
528
|
-
String,
|
|
529
|
-
Object,
|
|
530
|
-
Array
|
|
531
|
-
] }
|
|
532
|
-
},
|
|
533
|
-
setup(t) {
|
|
534
|
-
let n = t, r = A(() => {
|
|
535
|
-
let { class: e, ...t } = n;
|
|
536
|
-
return t;
|
|
537
|
-
});
|
|
538
|
-
return (t, i) => (B(), j(K(_r), R(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
539
|
-
default: q(() => [U(t.$slots, "default")]),
|
|
540
|
-
_: 3
|
|
541
|
-
}, 16, ["class"]));
|
|
542
|
-
}
|
|
543
|
-
}), Hr = /* @__PURE__ */ L({
|
|
351
|
+
}), Ar = /* @__PURE__ */ L({
|
|
544
352
|
__name: "MetricPill",
|
|
545
353
|
props: {
|
|
546
354
|
value: {},
|
|
@@ -562,7 +370,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
562
370
|
},
|
|
563
371
|
setup(t) {
|
|
564
372
|
let n = t, r = A(() => e("metric-pill", n.class));
|
|
565
|
-
return (e, n) => (B(), j(
|
|
373
|
+
return (e, n) => (B(), j(Mt, {
|
|
566
374
|
"data-slot": "metric-pill",
|
|
567
375
|
value: t.value,
|
|
568
376
|
unit: t.unit,
|
|
@@ -587,18 +395,18 @@ var wr = /* @__PURE__ */ L({
|
|
|
587
395
|
"data-density"
|
|
588
396
|
]));
|
|
589
397
|
}
|
|
590
|
-
}),
|
|
398
|
+
}), jr = { class: "truncate" }, Mr = {
|
|
591
399
|
key: 0,
|
|
592
400
|
class: "mr-2"
|
|
593
|
-
},
|
|
401
|
+
}, Nr = {
|
|
594
402
|
key: 0,
|
|
595
403
|
class: "flex flex-wrap gap-1 mt-2"
|
|
596
|
-
},
|
|
404
|
+
}, Pr = {
|
|
597
405
|
key: 0,
|
|
598
406
|
class: "mr-1"
|
|
599
|
-
},
|
|
407
|
+
}, Fr = /* @__PURE__ */ L({
|
|
600
408
|
__name: "MultiSelect",
|
|
601
|
-
props: /* @__PURE__ */
|
|
409
|
+
props: /* @__PURE__ */ Jn({
|
|
602
410
|
options: {},
|
|
603
411
|
placeholder: { default: "Select items..." },
|
|
604
412
|
disabled: {
|
|
@@ -612,12 +420,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
612
420
|
}),
|
|
613
421
|
emits: ["update:modelValue"],
|
|
614
422
|
setup(t) {
|
|
615
|
-
let n = t, r =
|
|
423
|
+
let n = t, r = Qn(t, "modelValue"), i = V(!1), a = A(() => n.options.filter((e) => r.value.includes(e.value))), o = A(() => a.value.length === 0 ? n.placeholder : a.value.length <= n.maxDisplay ? a.value.map((e) => e.label).join(", ") : `${a.value.slice(0, n.maxDisplay).map((e) => e.label).join(", ")}... (+${a.value.length - n.maxDisplay})`);
|
|
616
424
|
function s(e) {
|
|
617
425
|
return typeof e == "string" && e.length > 0;
|
|
618
426
|
}
|
|
619
427
|
function c(e) {
|
|
620
|
-
return !e || s(e) ? null :
|
|
428
|
+
return !e || s(e) ? null : Zn(e);
|
|
621
429
|
}
|
|
622
430
|
function l(e) {
|
|
623
431
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -625,45 +433,45 @@ var wr = /* @__PURE__ */ L({
|
|
|
625
433
|
function u(e) {
|
|
626
434
|
r.value = r.value.filter((t) => t !== e);
|
|
627
435
|
}
|
|
628
|
-
return (n, d) => (B(), N(k, null, [I(K(
|
|
436
|
+
return (n, d) => (B(), N(k, null, [I(K(D), {
|
|
629
437
|
"data-slot": "multi-select",
|
|
630
438
|
open: i.value,
|
|
631
439
|
"onUpdate:open": d[0] ||= (e) => i.value = e
|
|
632
440
|
}, {
|
|
633
|
-
default: q(() => [I(K(
|
|
634
|
-
default: q(() => [I(K(
|
|
441
|
+
default: q(() => [I(K(E), { "as-child": "" }, {
|
|
442
|
+
default: q(() => [I(K(_), {
|
|
635
443
|
variant: "outline",
|
|
636
444
|
role: "combobox",
|
|
637
445
|
"aria-expanded": i.value,
|
|
638
446
|
disabled: t.disabled,
|
|
639
447
|
class: "w-full justify-between text-left font-normal"
|
|
640
448
|
}, {
|
|
641
|
-
default: q(() => [P("span",
|
|
449
|
+
default: q(() => [P("span", jr, G(o.value), 1), I(K(f), { class: "ml-2 h-4 w-4 shrink-0 opacity-50" })]),
|
|
642
450
|
_: 1
|
|
643
451
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
644
452
|
_: 1
|
|
645
|
-
}), I(K(
|
|
453
|
+
}), I(K(O), {
|
|
646
454
|
class: "w-full p-0",
|
|
647
455
|
align: "start"
|
|
648
456
|
}, {
|
|
649
|
-
default: q(() => [I(K(
|
|
457
|
+
default: q(() => [I(K(b), null, {
|
|
650
458
|
default: q(() => [
|
|
651
|
-
I(K(
|
|
652
|
-
I(K(
|
|
459
|
+
I(K(v), { placeholder: "Search..." }),
|
|
460
|
+
I(K(C), null, {
|
|
653
461
|
default: q(() => [...d[1] ||= [F("No options found.", -1)]]),
|
|
654
462
|
_: 1
|
|
655
463
|
}),
|
|
656
|
-
I(K(
|
|
657
|
-
default: q(() => [I(K(
|
|
658
|
-
default: q(() => [(B(!0), N(k, null, H(t.options, (t) => (B(), j(K(
|
|
464
|
+
I(K(S), null, {
|
|
465
|
+
default: q(() => [I(K(x), null, {
|
|
466
|
+
default: q(() => [(B(!0), N(k, null, H(t.options, (t) => (B(), j(K(y), {
|
|
659
467
|
key: t.value,
|
|
660
468
|
value: t.value,
|
|
661
469
|
onSelect: (e) => l(t.value),
|
|
662
470
|
class: "cursor-pointer"
|
|
663
471
|
}, {
|
|
664
472
|
default: q(() => [
|
|
665
|
-
I(K(
|
|
666
|
-
s(t.icon) ? (B(), N("span",
|
|
473
|
+
I(K(m), { class: z(K(e)("mr-2 h-4 w-4", r.value.includes(t.value) ? "opacity-100" : "opacity-0")) }, null, 8, ["class"]),
|
|
474
|
+
s(t.icon) ? (B(), N("span", Mr, G(t.icon), 1)) : c(t.icon) ? (B(), j(W(c(t.icon)), {
|
|
667
475
|
key: 1,
|
|
668
476
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
669
477
|
"aria-hidden": "true"
|
|
@@ -682,32 +490,32 @@ var wr = /* @__PURE__ */ L({
|
|
|
682
490
|
_: 1
|
|
683
491
|
})]),
|
|
684
492
|
_: 1
|
|
685
|
-
}, 8, ["open"]), a.value.length > 0 ? (B(), N("div",
|
|
493
|
+
}, 8, ["open"]), a.value.length > 0 ? (B(), N("div", Nr, [(B(!0), N(k, null, H(a.value, (e) => (B(), j(K(h), {
|
|
686
494
|
key: e.value,
|
|
687
495
|
variant: "secondary",
|
|
688
496
|
class: "text-[length:var(--control-text-sm)] px-2 py-1"
|
|
689
497
|
}, {
|
|
690
498
|
default: q(() => [
|
|
691
|
-
s(e.icon) ? (B(), N("span",
|
|
499
|
+
s(e.icon) ? (B(), N("span", Pr, G(e.icon), 1)) : c(e.icon) ? (B(), j(W(c(e.icon)), {
|
|
692
500
|
key: 1,
|
|
693
501
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
694
502
|
"aria-hidden": "true"
|
|
695
503
|
})) : M("", !0),
|
|
696
504
|
F(" " + G(e.label) + " ", 1),
|
|
697
|
-
I(K(
|
|
505
|
+
I(K(_), {
|
|
698
506
|
variant: "ghost",
|
|
699
507
|
size: "sm",
|
|
700
508
|
class: "relative touch-hit-area ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
701
|
-
onClick:
|
|
509
|
+
onClick: $n((t) => u(e.value), ["stop"])
|
|
702
510
|
}, {
|
|
703
|
-
default: q(() => [I(K(
|
|
511
|
+
default: q(() => [I(K(p), { class: "h-2 w-2" })]),
|
|
704
512
|
_: 1
|
|
705
513
|
}, 8, ["onClick"])
|
|
706
514
|
]),
|
|
707
515
|
_: 2
|
|
708
516
|
}, 1024))), 128))])) : M("", !0)], 64));
|
|
709
517
|
}
|
|
710
|
-
}),
|
|
518
|
+
}), Ir = /* @__PURE__ */ L({
|
|
711
519
|
__name: "RadioGroup",
|
|
712
520
|
props: {
|
|
713
521
|
modelValue: {},
|
|
@@ -734,7 +542,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
734
542
|
let { class: e, ...t } = r;
|
|
735
543
|
return t;
|
|
736
544
|
}), i);
|
|
737
|
-
return (t, n) => (B(), j(K(
|
|
545
|
+
return (t, n) => (B(), j(K(fr), R({
|
|
738
546
|
"data-slot": "radio-group",
|
|
739
547
|
class: K(e)("grid gap-2", r.class)
|
|
740
548
|
}, K(a)), {
|
|
@@ -742,7 +550,7 @@ var wr = /* @__PURE__ */ L({
|
|
|
742
550
|
_: 3
|
|
743
551
|
}, 16, ["class"]));
|
|
744
552
|
}
|
|
745
|
-
}),
|
|
553
|
+
}), Lr = /* @__PURE__ */ L({
|
|
746
554
|
__name: "RadioGroupItem",
|
|
747
555
|
props: {
|
|
748
556
|
id: {},
|
|
@@ -765,18 +573,18 @@ var wr = /* @__PURE__ */ L({
|
|
|
765
573
|
let { class: e, ...t } = n;
|
|
766
574
|
return t;
|
|
767
575
|
}));
|
|
768
|
-
return (t, i) => (B(), j(K(
|
|
769
|
-
default: q(() => [I(K(
|
|
770
|
-
default: q(() => [I(K(
|
|
576
|
+
return (t, i) => (B(), j(K(dr), R({ "data-slot": "radio-group-item" }, K(r), { class: K(e)("tap-squish focus-ring relative touch-hit-area aspect-square h-4 w-4 rounded-pill border border-primary text-primary transition-control disabled:cursor-not-allowed disabled:opacity-disabled", n.class) }), {
|
|
577
|
+
default: q(() => [I(K(ur), { class: "flex items-center justify-center" }, {
|
|
578
|
+
default: q(() => [I(K(te), { class: "h-2.5 w-2.5 fill-current text-current" })]),
|
|
771
579
|
_: 1
|
|
772
580
|
})]),
|
|
773
581
|
_: 1
|
|
774
582
|
}, 16, ["class"]));
|
|
775
583
|
}
|
|
776
|
-
}),
|
|
584
|
+
}), Rr = {
|
|
777
585
|
key: 1,
|
|
778
586
|
class: "flex flex-col gap-1"
|
|
779
|
-
},
|
|
587
|
+
}, zr = /* @__PURE__ */ L({
|
|
780
588
|
__name: "Section",
|
|
781
589
|
props: {
|
|
782
590
|
title: {},
|
|
@@ -821,18 +629,18 @@ var wr = /* @__PURE__ */ L({
|
|
|
821
629
|
"data-slot": "section",
|
|
822
630
|
class: z(K(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
823
631
|
}, [
|
|
824
|
-
n.backdrop === "paper" ? (B(), j(K(
|
|
632
|
+
n.backdrop === "paper" ? (B(), j(K(Wt), {
|
|
825
633
|
key: 0,
|
|
826
634
|
class: "!absolute inset-0"
|
|
827
635
|
})) : M("", !0),
|
|
828
|
-
t.title || a.$slots.header ? (B(), N("header",
|
|
636
|
+
t.title || a.$slots.header ? (B(), N("header", Rr, [U(a.$slots, "header", {}, () => [P("h2", { class: z(K(e)(r[n.tone], n.titleClass)) }, G(t.title), 3)]), t.description || a.$slots.description ? (B(), N("p", {
|
|
829
637
|
key: 0,
|
|
830
638
|
class: z(K(e)("section-description", n.descriptionClass))
|
|
831
639
|
}, [U(a.$slots, "description", {}, () => [F(G(t.description), 1)])], 2)) : M("", !0)])) : M("", !0),
|
|
832
640
|
U(a.$slots, "default")
|
|
833
641
|
], 2));
|
|
834
642
|
}
|
|
835
|
-
}),
|
|
643
|
+
}), Br = /* @__PURE__ */ L({
|
|
836
644
|
__name: "TagsInput",
|
|
837
645
|
props: {
|
|
838
646
|
modelValue: {},
|
|
@@ -871,12 +679,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
871
679
|
let { class: e, ...t } = r;
|
|
872
680
|
return t;
|
|
873
681
|
}), i);
|
|
874
|
-
return (t, n) => (B(), j(K(
|
|
682
|
+
return (t, n) => (B(), j(K(_r), R({ "data-slot": "tags-input" }, K(a), { class: K(e)("flex flex-wrap gap-2 items-center rounded-input border border-(--control-surface-border) bg-(--control-surface-bg) [backdrop-filter:var(--control-surface-blur)] px-3 py-2 text-sm aria-invalid:border-(--destructive) user-invalid:border-(--destructive) aria-invalid:shadow-(--invalid-ring) user-invalid:shadow-(--invalid-ring)", r.class) }), {
|
|
875
683
|
default: q(() => [U(t.$slots, "default")]),
|
|
876
684
|
_: 3
|
|
877
685
|
}, 16, ["class"]));
|
|
878
686
|
}
|
|
879
|
-
}),
|
|
687
|
+
}), Vr = /* @__PURE__ */ L({
|
|
880
688
|
__name: "TagsInputInput",
|
|
881
689
|
props: {
|
|
882
690
|
placeholder: {},
|
|
@@ -897,9 +705,9 @@ var wr = /* @__PURE__ */ L({
|
|
|
897
705
|
let { class: e, ...t } = n;
|
|
898
706
|
return t;
|
|
899
707
|
}));
|
|
900
|
-
return (t, i) => (B(), j(K(
|
|
708
|
+
return (t, i) => (B(), j(K(pr), R(K(r), { class: K(e)("text-sm min-h-6 focus:outline-none flex-1 bg-transparent px-1", n.class) }), null, 16, ["class"]));
|
|
901
709
|
}
|
|
902
|
-
}),
|
|
710
|
+
}), Hr = /* @__PURE__ */ L({
|
|
903
711
|
__name: "TagsInputItem",
|
|
904
712
|
props: {
|
|
905
713
|
value: {},
|
|
@@ -919,12 +727,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
919
727
|
let { class: e, ...t } = n;
|
|
920
728
|
return t;
|
|
921
729
|
}));
|
|
922
|
-
return (t, i) => (B(), j(K(
|
|
730
|
+
return (t, i) => (B(), j(K(mr), R(K(r), { class: K(e)("flex h-6 items-center rounded bg-secondary data-[state=active]:ring-ring data-[state=active]:ring-2 data-[state=active]:ring-offset-2 ring-offset-background", n.class) }), {
|
|
923
731
|
default: q(() => [U(t.$slots, "default")]),
|
|
924
732
|
_: 3
|
|
925
733
|
}, 16, ["class"]));
|
|
926
734
|
}
|
|
927
|
-
}),
|
|
735
|
+
}), Ur = /* @__PURE__ */ L({
|
|
928
736
|
__name: "TagsInputItemDelete",
|
|
929
737
|
props: {
|
|
930
738
|
asChild: { type: Boolean },
|
|
@@ -942,12 +750,12 @@ var wr = /* @__PURE__ */ L({
|
|
|
942
750
|
let { class: e, ...t } = n;
|
|
943
751
|
return t;
|
|
944
752
|
}));
|
|
945
|
-
return (t, i) => (B(), j(K(
|
|
946
|
-
default: q(() => [U(t.$slots, "default", {}, () => [I(K(
|
|
753
|
+
return (t, i) => (B(), j(K(hr), R(K(r), { class: K(e)("relative touch-hit-area flex rounded bg-transparent mr-1", n.class) }), {
|
|
754
|
+
default: q(() => [U(t.$slots, "default", {}, () => [I(K(p), { class: "w-4 h-4" })])]),
|
|
947
755
|
_: 3
|
|
948
756
|
}, 16, ["class"]));
|
|
949
757
|
}
|
|
950
|
-
}),
|
|
758
|
+
}), Wr = /* @__PURE__ */ L({
|
|
951
759
|
__name: "TagsInputItemText",
|
|
952
760
|
props: {
|
|
953
761
|
asChild: { type: Boolean },
|
|
@@ -965,8 +773,8 @@ var wr = /* @__PURE__ */ L({
|
|
|
965
773
|
let { class: e, ...t } = n;
|
|
966
774
|
return t;
|
|
967
775
|
}));
|
|
968
|
-
return (t, i) => (B(), j(K(
|
|
776
|
+
return (t, i) => (B(), j(K(gr), R(K(r), { class: K(e)("py-1 px-2 text-sm rounded bg-transparent", n.class) }), null, 16, ["class"]));
|
|
969
777
|
}
|
|
970
778
|
});
|
|
971
779
|
//#endregion
|
|
972
|
-
export {
|
|
780
|
+
export { vr as Accordion, yr as AccordionContent, br as AccordionItem, xr as AccordionTrigger, Sr as Alert, Cr as AlertDescription, wr as AlertTitle, Tr as Avatar, Q as AvatarFallback, Er as AvatarImage, h as Badge, _ as Button, Ln as CONFIGURATOR_DENSITY_KEY, me as Card, ye as CardAction, _e as CardContent, pe as CardDescription, he as CardFooter, fe as CardHeader, de as CardTitle, jn as ChassisDivider, Or as Checkbox, xe as Collapsible, Se as CollapsibleContent, be as CollapsibleTrigger, b as Command, Ce as CommandDialog, C as CommandEmpty, x as CommandGroup, v as CommandInput, y as CommandItem, S as CommandList, we as CommandSeparator, Te as CommandShortcut, zn as Configurator, In as ConfiguratorLayer, Rn as ConfiguratorRow, Pe as ContextMenu, Ue as ContextMenuCheckboxItem, Fe as ContextMenuContent, Le as ContextMenuItem, He as ContextMenuLabel, ze as ContextMenuRadioGroup, Ve as ContextMenuRadioItem, Re as ContextMenuSeparator, Ie as ContextMenuShortcut, We as ContextMenuSubContent, Be as ContextMenuSubTrigger, Ne as ContextMenuTrigger, dt as DataTable, st as DataTablePagination, Ee as Dialog, je as DialogClose, De as DialogContent, Ae as DialogDescription, Me as DialogFooter, Oe as DialogHeader, T as DialogScrollContent, w as DialogTitle, ke as DialogTrigger, _t as DropdownMenu, yt as DropdownMenuCheckboxItem, Ct as DropdownMenuContent, gt as DropdownMenuGroup, Dt as DropdownMenuItem, pt as DropdownMenuLabel, Et as DropdownMenuPortal, ht as DropdownMenuRadioGroup, mt as DropdownMenuRadioItem, St as DropdownMenuSeparator, Tt as DropdownMenuShortcut, vt as DropdownMenuSub, xt as DropdownMenuSubContent, wt as DropdownMenuSubTrigger, bt as DropdownMenuTrigger, kt as HoverCard, At as HoverCardContent, Ot as HoverCardTrigger, Nn as HoverPopover, Un as IconChip, Mn as InstrumentChassis, jt as Label, u as METRIC_PLACEHOLDER, Ar as MetricPill, Fr as MultiSelect, Nt as Notification, Pt as NumberField, Rt as NumberFieldContent, It as NumberFieldDecrement, Lt as NumberFieldIncrement, Ft as NumberFieldInput, D as Popover, O as PopoverContent, E as PopoverTrigger, Ut as Progress, zt as ProgressDefault, Bt as ProgressGradient, Vt as ProgressSectioned, Ir as RadioGroup, Lr as RadioGroupItem, ve as ScrollCard, ge as ScrollCardHeader, Vn as ScrollingText, zr as Section, Xt as Select, Kt as SelectContent, Qt as SelectGroup, Yt as SelectItem, $t as SelectLabel, Zt as SelectScrollDownButton, qt as SelectScrollUpButton, en as SelectSeparator, Gt as SelectTrigger, Jt as SelectValue, tn as Separator, on as Sheet, un as SheetClose, cn as SheetContent, ln as SheetDescription, sn as SheetFooter, nn as SheetHeader, an as SheetTitle, rn as SheetTrigger, lt as Skeleton, fn as Slider, mn as Switch, ft as Table, ot as TableBody, kr as TableCaption, it as TableCell, at as TableEmpty, ut as TableHead, ct as TableHeader, rt as TableRow, Br as TagsInput, Vr as TagsInputInput, Hr as TagsInputItem, Ur as TagsInputItemDelete, Wr as TagsInputItemText, gn as Toast, xn as ToastAction, yn as ToastClose, hn as ToastDescription, _n as ToastTitle, Sn as Toaster, Cn as Toggle, wn as ToggleGroup, En as ToggleGroupItem, Dn as Tooltip, kn as TooltipContent, An as TooltipProvider, On as TooltipTrigger, Z as alertVariants, $ as avatarVariants, re as badgeVariants, ue as buttonVariants, e as cn, l as coalesceMetric, Ye as copyToClipboard, g as createSpecularWriter, tt as createTokenColorCache, s as moveBeforeSafe, i as navigate, Fn as provideConfiguratorDensity, le as resolveCanvasColor, et as resolveTokenColor, dn as sheetVariants, pn as sliderVariants, o as startViewTransition, n as supportsMoveBefore, a as supportsPostTask, r as supportsRouteTransitions, ee as supportsScrollTimeline, d as supportsViewTimeline, t as supportsViewTransitions, vn as toast, Tn as toggleVariants, Qe as useBreakpoint, ce as useCanvas2D, se as useCanvasLifecycle, Je as useClipboard, Bn as useConfiguratorState, Xe as useIdleReady, Wn as useInterval, ie as useLiquidFlex, Pn as useOptionalConfiguratorDensity, c as usePointerVelocityField, Ht as useProgressGeometry, Ge as useResizeObserver, Gn as useSortable, Dr as useSpecularPointer, ae as useSpecularTracking, Kn as useTextHighlight, Ke as useTimer, bn as useToast, Ze as useTokenColor, qe as useTouchGate, nt as useUserInvalidAria, $e as useViewportReady, Hn as vReveal, oe as vSpecular };
|