@mkbabb/glass-ui 3.13.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-RowNEO6i.js → CommandShortcut-DvZNQ_HF.js} +58 -53
- package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
- package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-uWnVxDab.js} +1 -1
- package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
- package/dist/{DataTable-BCddn3T3.js → DataTable-CuKwF7wr.js} +99 -97
- package/dist/DialogContent-DcKK8k9i.js +103 -0
- package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-BZNX5aVr.js} +3 -3
- package/dist/FadingScroll-DI6hQhT9.js +76 -0
- package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-b2uaAMRR.js} +1 -1
- package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-CbqbNwgU.js} +2 -2
- package/dist/IconChip-BTD-nay5.js +55 -0
- package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-Bl8gFZ8d.js} +1 -1
- package/dist/{Input-DWQQIOC4.js → Input-h9v5LeXf.js} +1 -1
- package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-RHdBP72w.js} +1 -1
- package/dist/Notification-VUwexFUf.js +43 -0
- package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
- package/dist/PopoverContent-DL7E6vJP.js +127 -0
- package/dist/{Progress-DwlUKGbr.js → Progress-DctG61iZ.js} +98 -78
- package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-yOpBzFYq.js} +2 -2
- package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-CrA8F0iV.js} +35 -20
- package/dist/{Switch-CsIuYP_e.js → Switch-CwYNf8bo.js} +1 -1
- package/dist/Toaster-Bw4xR8xV.js +274 -0
- package/dist/{ToggleGroupItem-D_AHlRw9.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 +16 -8
- package/dist/api/types-extra.d.ts +6 -0
- package/dist/api.js +2 -2
- package/dist/aurora.js +888 -230
- package/dist/badge.js +1 -1
- package/dist/border-progress.d.ts +1 -0
- package/dist/border-progress.js +106 -0
- package/dist/button-DYCUa-tH.js +126 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -2
- package/dist/card.js +2 -2
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +90 -151
- package/dist/collapsible.js +1 -1
- package/dist/color-swatch.d.ts +1 -0
- package/dist/color-swatch.js +47 -0
- package/dist/color.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 +30 -2
- package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -10
- 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 +3 -2
- 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/color-swatch/ColorSwatch.vue.d.ts +22 -0
- package/dist/components/custom/color-swatch/index.d.ts +1 -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/configurator/Configurator.vue.d.ts +19 -8
- package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
- package/dist/components/custom/constellation/constellationField.d.ts +2 -369
- package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
- package/dist/components/custom/constellation/index.d.ts +1 -1
- 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/DockRail.vue.d.ts +17 -16
- package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
- package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
- 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/dock/constants.d.ts +35 -0
- package/dist/components/custom/dock/index.d.ts +2 -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/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
- package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
- package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
- package/dist/components/custom/fading-scroll/index.d.ts +2 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +19 -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/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +9 -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 +29 -12
- package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
- package/dist/components/custom/goo-blob/constants.d.ts +6 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
- package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
- package/dist/components/custom/handmark/brush.d.ts +269 -0
- package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
- package/dist/components/custom/handmark/constants.d.ts +39 -0
- package/dist/components/custom/handmark/freehand.d.ts +69 -0
- package/dist/components/custom/handmark/geometry.d.ts +52 -0
- package/dist/components/custom/handmark/index.d.ts +27 -0
- package/dist/components/custom/handmark/ink.d.ts +11 -0
- package/dist/components/custom/handmark/texture.d.ts +39 -0
- package/dist/components/custom/handmark/types.d.ts +62 -0
- package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
- package/dist/components/custom/icon-chip/index.d.ts +2 -0
- package/dist/components/custom/icon-chip/types.d.ts +82 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +17 -2
- package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- 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 +29 -24
- package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
- package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
- package/dist/components/custom/tabs/constants.d.ts +9 -3
- package/dist/components/custom/tabs/index.d.ts +1 -1
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +15 -1
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
- 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/carousel/index.d.ts +0 -1
- package/dist/components/ui/command/Command.vue.d.ts +4 -1
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +12 -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 -1
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
- package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
- 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/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +23 -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/composables/motion/useViewTransition.d.ts +36 -1
- 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 +93 -95
- package/dist/context-menu.js +3 -3
- package/dist/controls.js +10 -4
- package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +738 -442
- package/dist/{dockContext-BegmJVmx.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-DzkkyBwX.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 +45 -38
- package/dist/fading-scroll.d.ts +1 -0
- package/dist/fading-scroll.js +2 -0
- 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 +135 -122
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +39 -36
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +154 -362
- package/dist/goo-blob.js +838 -227
- package/dist/handmark.d.ts +1 -0
- package/dist/handmark.js +707 -0
- 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.d.ts +1 -0
- package/dist/icon-chip.js +2 -0
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +6 -6
- package/dist/{math-U6-RrLmV.js → math-BINYmg5z.js} +11 -3
- package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-D8VNHq22.js} +10 -4
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -22
- package/dist/metric-stack.js +4 -8
- package/dist/motion-core.js +36 -35
- 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.d.ts +1 -0
- package/dist/pager-dots.js +91 -0
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
- package/dist/{compile-B7NGOBcP.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 +10 -12
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/sheet-tZMg0E0w.js +218 -0
- package/dist/sheet.js +1 -1
- package/dist/{slider-B-JP2JlI.js → slider-DVb4HXU-.js} +7 -7
- 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 +40 -31
- 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/configurator.css +35 -0
- 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 +64 -0
- package/dist/styles/dock/layers.css +54 -30
- package/dist/styles/dock/morph.css +124 -7
- package/dist/styles/dock/overflow.css +31 -2
- package/dist/styles/dock/rail-extend.css +168 -71
- package/dist/styles/dock/section.css +59 -0
- package/dist/styles/dock/shell.css +83 -16
- package/dist/styles/dock-controls/icon-button.css +11 -1
- package/dist/styles/dock-controls/tab-button.css +24 -83
- package/dist/styles/dock-controls/triggers.css +7 -0
- package/dist/styles/dock.css +38 -3
- package/dist/styles/drawer.css +127 -35
- package/dist/styles/feedback-tone.css +104 -0
- package/dist/styles/glass/deep.css +44 -0
- package/dist/styles/glass/ladder.css +154 -52
- 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/surface-axis.css +113 -0
- package/dist/styles/glass/surfaces.css +189 -15
- package/dist/styles/glass-refract.css +96 -44
- package/dist/styles/glass-specular-track.css +7 -0
- package/dist/styles/glass.css +8 -2
- package/dist/styles/hover-popover.css +7 -6
- package/dist/styles/icon-chip.css +211 -0
- package/dist/styles/index.css +78 -4
- package/dist/styles/instrument-chassis.css +107 -2
- package/dist/styles/menu.css +127 -0
- package/dist/styles/scroll-choreography.css +300 -0
- package/dist/styles/segmented-tabs.css +188 -86
- package/dist/styles/select.css +50 -0
- package/dist/styles/theme/bridges.css +22 -1
- package/dist/styles/theme/literals.css +11 -2
- package/dist/styles/theme/radius.css +6 -1
- package/dist/styles/tokens/color-radius.css +40 -13
- package/dist/styles/tokens/dark-arm.css +200 -20
- package/dist/styles/tokens/glass-deep.css +75 -0
- package/dist/styles/tokens/glass-fx.css +333 -0
- package/dist/styles/tokens/glass.css +95 -315
- package/dist/styles/tokens/light-dark.css +64 -22
- 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 +130 -10
- package/dist/styles/tokens/scale-paper.css +155 -84
- package/dist/styles/tokens/scheme-motion.css +102 -46
- package/dist/styles/tokens/scroll-tokens.css +123 -0
- package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/dist/styles/tokens.css +9 -3
- package/dist/styles/transitions.css +7 -7
- package/dist/styles/typography/scale.css +153 -0
- package/dist/styles/typography/semantic.css +220 -0
- package/dist/styles/typography/utilities.css +174 -0
- package/dist/styles/typography.css +23 -507
- package/dist/styles/utilities/a11y-overrides.css +33 -4
- package/dist/styles/utilities/animate.css +27 -24
- package/dist/styles/utilities/base-misc.css +255 -0
- package/dist/styles/utilities/base.css +100 -138
- package/dist/styles/utilities/btn.css +21 -202
- package/dist/styles/utilities/metal.css +189 -0
- package/dist/styles/utilities.css +14 -7
- package/dist/styles/view-transition.css +4 -1
- package/dist/switch.js +1 -1
- package/dist/tabs.js +275 -191
- package/dist/timeline.js +2 -2
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +3 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-BfUq2bUM.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/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
- package/dist/useLiquidPress-kfb4KX79.js +39 -0
- package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
- package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-UYa4zoiN.js} +1 -1
- package/dist/useSpring-C0jyvEJB.js +40 -0
- package/dist/useSpringMount-q1amq1SJ.js +71 -0
- package/dist/useSpringPress-BsqPr7FJ.js +34 -0
- package/dist/useSurfaceAxis-g0NloYEF.js +7 -0
- package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-CBZTD4SD.js} +1 -1
- package/dist/vReveal-Czsb7zQC.js +10 -0
- package/dist/vSpecular-CQFmLNzA.js +68 -0
- package/dist/vendor-CKmzio-i.js +226 -0
- package/dist/watercolor-dot.js +12 -5
- package/package.json +193 -25
- package/src/styles/animations.css +40 -31
- package/src/styles/border-progress.css +109 -0
- package/src/styles/cards.css +76 -0
- package/src/styles/configurator.css +35 -0
- package/src/styles/critical-partition.mjs +140 -0
- package/src/styles/dock/density.css +64 -0
- package/src/styles/dock/layers.css +54 -30
- package/src/styles/dock/morph.css +124 -7
- package/src/styles/dock/overflow.css +31 -2
- package/src/styles/dock/rail-extend.css +168 -71
- package/src/styles/dock/section.css +59 -0
- package/src/styles/dock/shell.css +83 -16
- package/src/styles/dock-controls/icon-button.css +11 -1
- package/src/styles/dock-controls/tab-button.css +24 -83
- package/src/styles/dock-controls/triggers.css +7 -0
- package/src/styles/dock.css +38 -3
- package/src/styles/drawer.css +123 -35
- package/src/styles/feedback-tone.css +104 -0
- package/src/styles/glass/deep.css +44 -0
- package/src/styles/glass/ladder.css +154 -52
- 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/surface-axis.css +113 -0
- package/src/styles/glass/surfaces.css +189 -15
- package/src/styles/glass-refract.css +96 -44
- package/src/styles/glass-specular-track.css +7 -0
- package/src/styles/glass.css +8 -2
- package/src/styles/hover-popover.css +7 -6
- package/src/styles/icon-chip.css +211 -0
- package/src/styles/index.css +78 -4
- package/src/styles/instrument-chassis.css +107 -2
- package/src/styles/menu.css +127 -0
- package/src/styles/scroll-choreography.css +300 -0
- package/src/styles/segmented-tabs.css +184 -84
- package/src/styles/select.css +50 -0
- package/src/styles/theme/bridges.css +22 -1
- package/src/styles/theme/literals.css +11 -2
- package/src/styles/theme/radius.css +6 -1
- package/src/styles/tokens/color-radius.css +40 -13
- package/src/styles/tokens/dark-arm.css +200 -20
- package/src/styles/tokens/glass-deep.css +75 -0
- package/src/styles/tokens/glass-fx.css +333 -0
- package/src/styles/tokens/glass.css +95 -315
- package/src/styles/tokens/light-dark.css +64 -22
- 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 +130 -10
- package/src/styles/tokens/scale-paper.css +155 -84
- package/src/styles/tokens/scheme-motion.css +102 -46
- package/src/styles/tokens/scroll-tokens.css +123 -0
- package/src/styles/tokens/{offsets-sizing.css → sizing.css} +88 -89
- package/src/styles/tokens.css +9 -3
- package/src/styles/transitions.css +7 -7
- package/src/styles/typography/scale.css +153 -0
- package/src/styles/typography/semantic.css +220 -0
- package/src/styles/typography/utilities.css +174 -0
- package/src/styles/typography.css +23 -507
- package/src/styles/utilities/a11y-overrides.css +33 -4
- package/src/styles/utilities/animate.css +27 -24
- package/src/styles/utilities/base-misc.css +255 -0
- package/src/styles/utilities/base.css +100 -138
- package/src/styles/utilities/btn.css +21 -202
- package/src/styles/utilities/metal.css +189 -0
- package/src/styles/utilities.css +14 -7
- package/src/styles/view-transition.css +4 -1
- package/dist/CardAction-Cj2eycQ2.js +0 -157
- package/dist/DialogContent-Dl9WkAoS.js +0 -100
- package/dist/Notification-DdwNxIrI.js +0 -100
- package/dist/NumberFieldContent-CqaN-SvN.js +0 -145
- package/dist/PopoverContent-BYwt2-4x.js +0 -121
- package/dist/TabsList-Dttss653.js +0 -105
- package/dist/Toaster-D6q4HtXu.js +0 -263
- package/dist/button-ChXMfsud.js +0 -81
- 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/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
- package/dist/components/custom/underline/index.d.ts +0 -2
- package/dist/components/custom/underline/types.d.ts +0 -56
- package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
- 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/sheet-1fChZjtw.js +0 -214
- package/dist/underline.d.ts +0 -1
- package/dist/underline.js +0 -85
- package/dist/useCanvas2D-ClrQuZtp.js +0 -96
- package/dist/useConfiguratorState-DAoeHVue.js +0 -287
- package/dist/useSpecularTracking-Bo5su68i.js +0 -32
- package/dist/useSpringMount-CI2jOstM.js +0 -108
- package/dist/vReveal-CqaCz_mC.js +0 -44
- package/dist/x-BUwTKe50.js +0 -10
- /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-68dEXIAl.js} +0 -0
- /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
- /package/dist/{Label-r3WzWrsj.js → Label-C2ejNWeC.js} +0 -0
- /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-D1VrWyoi.js} +0 -0
- /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
- /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-DwwjicPY.js} +0 -0
- /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DXswVdRz.js} +0 -0
- /package/dist/{Separator-0JE6LtNu.js → Separator-pKF0oA4M.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
- /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
- /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
- /package/dist/{createContext-BM46COQ-.js → createContext-CpBNTRMI.js} +0 -0
- /package/dist/{prng-D27-B3tK.js → prng-Za0Rmgag.js} +0 -0
- /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
- /package/dist/{springPresets--YdWTHtm.js → springPresets-CFQGQfdl.js} +0 -0
- /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
- /package/dist/{useInterval-iHludrxk.js → useInterval-CvK1mL92.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
- /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-mZPMiNXh.js} +0 -0
- /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-Bpoi7tRE.js} +0 -0
- /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
- /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
- /package/dist/{useSortable-muI29agz.js → useSortable-DHjtZSEd.js} +0 -0
- /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-CWEi25hf.js} +0 -0
- /package/dist/{useTimer-Dzarvzuk.js → useTimer-BHJOKr35.js} +0 -0
- /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-y5namzeE.js} +0 -0
- /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-anbac3m6.js} +0 -0
package/dist/glass-ui.js
CHANGED
|
@@ -1,64 +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 { t as
|
|
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 Te } from "./
|
|
15
|
-
import { n as Ee, t as De } from "./
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { n as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import { a as
|
|
27
|
-
import { n as
|
|
28
|
-
import { t as
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { t as Rt } from "./
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { a as
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import { n as
|
|
40
|
-
import { t as
|
|
41
|
-
import {
|
|
42
|
-
import { n as
|
|
43
|
-
import { t as
|
|
44
|
-
import { i 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 { 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
|
|
56
|
-
import { AccordionContent as
|
|
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";
|
|
57
57
|
import { cva as X } from "class-variance-authority";
|
|
58
|
-
import { DrawerClose as gr, DrawerContent as _r, DrawerDescription as vr, DrawerOverlay as yr, DrawerPortal as br, DrawerPortal as xr, DrawerRoot as Sr, DrawerTitle as Cr, DrawerTrigger as wr } from "vaul-vue";
|
|
59
58
|
//#endregion
|
|
60
59
|
//#region src/components/ui/accordion/Accordion.vue
|
|
61
|
-
var
|
|
60
|
+
var vr = /* @__PURE__ */ L({
|
|
62
61
|
__name: "Accordion",
|
|
63
62
|
props: {
|
|
64
63
|
collapsible: { type: Boolean },
|
|
@@ -75,12 +74,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
75
74
|
emits: ["update:modelValue"],
|
|
76
75
|
setup(e, { emit: t }) {
|
|
77
76
|
let n = Y(e, t);
|
|
78
|
-
return (e, t) => (B(), j(K(
|
|
77
|
+
return (e, t) => (B(), j(K(rr), R({ "data-slot": "accordion" }, K(n)), {
|
|
79
78
|
default: q(() => [U(e.$slots, "default")]),
|
|
80
79
|
_: 3
|
|
81
80
|
}, 16));
|
|
82
81
|
}
|
|
83
|
-
}),
|
|
82
|
+
}), yr = /* @__PURE__ */ L({
|
|
84
83
|
__name: "AccordionContent",
|
|
85
84
|
props: {
|
|
86
85
|
forceMount: { type: Boolean },
|
|
@@ -99,12 +98,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
99
98
|
let { class: e, ...t } = n;
|
|
100
99
|
return t;
|
|
101
100
|
});
|
|
102
|
-
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" }), {
|
|
103
102
|
default: q(() => [P("div", { class: z(K(e)("pb-4 pt-0", n.class)) }, [U(t.$slots, "default")], 2)]),
|
|
104
103
|
_: 3
|
|
105
104
|
}, 16));
|
|
106
105
|
}
|
|
107
|
-
}),
|
|
106
|
+
}), br = /* @__PURE__ */ L({
|
|
108
107
|
__name: "AccordionItem",
|
|
109
108
|
props: {
|
|
110
109
|
disabled: { type: Boolean },
|
|
@@ -125,12 +124,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
125
124
|
let { class: e, ...t } = n;
|
|
126
125
|
return t;
|
|
127
126
|
}));
|
|
128
|
-
return (t, i) => (B(), j(K(
|
|
127
|
+
return (t, i) => (B(), j(K(nr), R(K(r), { class: K(e)("border-b", n.class) }), {
|
|
129
128
|
default: q(() => [U(t.$slots, "default")]),
|
|
130
129
|
_: 3
|
|
131
130
|
}, 16, ["class"]));
|
|
132
131
|
}
|
|
133
|
-
}),
|
|
132
|
+
}), xr = /* @__PURE__ */ L({
|
|
134
133
|
__name: "AccordionTrigger",
|
|
135
134
|
props: {
|
|
136
135
|
asChild: { type: Boolean },
|
|
@@ -148,15 +147,15 @@ var Tr = /* @__PURE__ */ L({
|
|
|
148
147
|
let { class: e, ...t } = n;
|
|
149
148
|
return t;
|
|
150
149
|
});
|
|
151
|
-
return (t, i) => (B(), j(K(
|
|
152
|
-
default: q(() => [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) }), {
|
|
153
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" })])]),
|
|
154
153
|
_: 3
|
|
155
154
|
}, 16, ["class"])]),
|
|
156
155
|
_: 3
|
|
157
156
|
}));
|
|
158
157
|
}
|
|
159
|
-
}),
|
|
158
|
+
}), Sr = /* @__PURE__ */ L({
|
|
160
159
|
__name: "Alert",
|
|
161
160
|
props: {
|
|
162
161
|
class: { type: [
|
|
@@ -176,7 +175,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
176
175
|
role: "alert"
|
|
177
176
|
}, [U(r.$slots, "default")], 2));
|
|
178
177
|
}
|
|
179
|
-
}),
|
|
178
|
+
}), Cr = /* @__PURE__ */ L({
|
|
180
179
|
__name: "AlertDescription",
|
|
181
180
|
props: { class: { type: [
|
|
182
181
|
Boolean,
|
|
@@ -192,7 +191,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
192
191
|
class: z(K(e)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed", n.class))
|
|
193
192
|
}, [U(t.$slots, "default")], 2));
|
|
194
193
|
}
|
|
195
|
-
}),
|
|
194
|
+
}), wr = /* @__PURE__ */ L({
|
|
196
195
|
__name: "AlertTitle",
|
|
197
196
|
props: { class: { type: [
|
|
198
197
|
Boolean,
|
|
@@ -211,13 +210,13 @@ var Tr = /* @__PURE__ */ L({
|
|
|
211
210
|
}), Z = X("relative w-full rounded-lg border px-4 py-3 text-[length:var(--control-text)] grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-(--ui-glyph) [&>svg]:translate-y-0.5 [&>svg]:text-current", {
|
|
212
211
|
variants: { variant: {
|
|
213
212
|
default: "bg-(--glass-bg-wash) [backdrop-filter:var(--glass-blur-wash)] text-card-foreground",
|
|
214
|
-
destructive: "
|
|
215
|
-
success: "
|
|
216
|
-
warning: "
|
|
217
|
-
info: "
|
|
213
|
+
destructive: "feedback-tone feedback-tone-destructive [--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",
|
|
214
|
+
success: "feedback-tone feedback-tone-success [--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",
|
|
215
|
+
warning: "feedback-tone feedback-tone-warning [--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",
|
|
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"
|
|
218
217
|
} },
|
|
219
218
|
defaultVariants: { variant: "default" }
|
|
220
|
-
}),
|
|
219
|
+
}), Tr = /* @__PURE__ */ L({
|
|
221
220
|
__name: "Avatar",
|
|
222
221
|
props: {
|
|
223
222
|
class: { type: [
|
|
@@ -232,9 +231,9 @@ var Tr = /* @__PURE__ */ L({
|
|
|
232
231
|
},
|
|
233
232
|
setup(t) {
|
|
234
233
|
let n = t;
|
|
235
|
-
return (r, i) => (B(), j(K(
|
|
234
|
+
return (r, i) => (B(), j(K(sr), {
|
|
236
235
|
"data-slot": "avatar",
|
|
237
|
-
class: z(K(e)(K(
|
|
236
|
+
class: z(K(e)(K($)({
|
|
238
237
|
size: t.size,
|
|
239
238
|
shape: t.shape
|
|
240
239
|
}), n.class))
|
|
@@ -243,7 +242,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
243
242
|
_: 3
|
|
244
243
|
}, 8, ["class"]));
|
|
245
244
|
}
|
|
246
|
-
}),
|
|
245
|
+
}), Er = /* @__PURE__ */ L({
|
|
247
246
|
__name: "AvatarImage",
|
|
248
247
|
props: {
|
|
249
248
|
src: {},
|
|
@@ -255,9 +254,9 @@ var Tr = /* @__PURE__ */ L({
|
|
|
255
254
|
},
|
|
256
255
|
setup(e) {
|
|
257
256
|
let t = e;
|
|
258
|
-
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));
|
|
259
258
|
}
|
|
260
|
-
}),
|
|
259
|
+
}), Q = /* @__PURE__ */ L({
|
|
261
260
|
__name: "AvatarFallback",
|
|
262
261
|
props: {
|
|
263
262
|
delayMs: {},
|
|
@@ -266,12 +265,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
266
265
|
},
|
|
267
266
|
setup(e) {
|
|
268
267
|
let t = e;
|
|
269
|
-
return (e, n) => (B(), j(K(
|
|
268
|
+
return (e, n) => (B(), j(K(ar), Yn(qn(t)), {
|
|
270
269
|
default: q(() => [U(e.$slots, "default")]),
|
|
271
270
|
_: 3
|
|
272
271
|
}, 16));
|
|
273
272
|
}
|
|
274
|
-
}),
|
|
273
|
+
}), $ = X("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden", { variants: {
|
|
275
274
|
size: {
|
|
276
275
|
sm: "h-(--control-h-md) w-(--control-h-md) text-xs",
|
|
277
276
|
base: "h-16 w-16 text-2xl",
|
|
@@ -281,7 +280,26 @@ var Tr = /* @__PURE__ */ L({
|
|
|
281
280
|
circle: "rounded-pill",
|
|
282
281
|
square: "rounded-input"
|
|
283
282
|
}
|
|
284
|
-
} })
|
|
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({
|
|
285
303
|
__name: "Checkbox",
|
|
286
304
|
props: {
|
|
287
305
|
defaultValue: {},
|
|
@@ -309,15 +327,15 @@ var Tr = /* @__PURE__ */ L({
|
|
|
309
327
|
let { class: e, ...t } = r;
|
|
310
328
|
return t;
|
|
311
329
|
}), i);
|
|
312
|
-
return (t, n) => (B(), j(K(
|
|
313
|
-
default: q(() => [I(K(
|
|
314
|
-
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" })])]),
|
|
315
333
|
_: 3
|
|
316
334
|
})]),
|
|
317
335
|
_: 3
|
|
318
336
|
}, 16, ["class"]));
|
|
319
337
|
}
|
|
320
|
-
}),
|
|
338
|
+
}), kr = /* @__PURE__ */ L({
|
|
321
339
|
__name: "TableCaption",
|
|
322
340
|
props: { class: { type: [
|
|
323
341
|
Boolean,
|
|
@@ -330,208 +348,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
330
348
|
let n = t;
|
|
331
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));
|
|
332
350
|
}
|
|
333
|
-
}),
|
|
334
|
-
__name: "Drawer",
|
|
335
|
-
props: {
|
|
336
|
-
activeSnapPoint: {},
|
|
337
|
-
closeThreshold: {},
|
|
338
|
-
shouldScaleBackground: {
|
|
339
|
-
type: Boolean,
|
|
340
|
-
default: void 0
|
|
341
|
-
},
|
|
342
|
-
setBackgroundColorOnScale: { type: Boolean },
|
|
343
|
-
scrollLockTimeout: {},
|
|
344
|
-
fixed: { type: Boolean },
|
|
345
|
-
dismissible: { type: Boolean },
|
|
346
|
-
modal: {
|
|
347
|
-
type: Boolean,
|
|
348
|
-
default: void 0
|
|
349
|
-
},
|
|
350
|
-
open: {
|
|
351
|
-
type: Boolean,
|
|
352
|
-
default: void 0
|
|
353
|
-
},
|
|
354
|
-
defaultOpen: { type: Boolean },
|
|
355
|
-
nested: { type: Boolean },
|
|
356
|
-
direction: {},
|
|
357
|
-
noBodyStyles: { type: Boolean },
|
|
358
|
-
handleOnly: { type: Boolean },
|
|
359
|
-
preventScrollRestoration: { type: Boolean },
|
|
360
|
-
snapPoints: { default: void 0 },
|
|
361
|
-
fadeFromIndex: {},
|
|
362
|
-
mode: { default: "modal" }
|
|
363
|
-
},
|
|
364
|
-
emits: [
|
|
365
|
-
"drag",
|
|
366
|
-
"release",
|
|
367
|
-
"close",
|
|
368
|
-
"update:open",
|
|
369
|
-
"update:activeSnapPoint",
|
|
370
|
-
"animationEnd"
|
|
371
|
-
],
|
|
372
|
-
setup(e, { emit: t }) {
|
|
373
|
-
let n = e, r = t, i = hr(r), a = A(() => n.open !== void 0), o = V(n.open ?? !1);
|
|
374
|
-
Jn(() => n.open, (e) => {
|
|
375
|
-
e !== void 0 && (o.value = e);
|
|
376
|
-
});
|
|
377
|
-
function s(e) {
|
|
378
|
-
o.value = e, r("update:open", e);
|
|
379
|
-
}
|
|
380
|
-
let c = [
|
|
381
|
-
.12,
|
|
382
|
-
.5,
|
|
383
|
-
1
|
|
384
|
-
], l = A(() => {
|
|
385
|
-
let { mode: e, open: t, ...r } = n, l = e === "live-behind";
|
|
386
|
-
return {
|
|
387
|
-
...r,
|
|
388
|
-
open: a.value ? n.open : o.value,
|
|
389
|
-
modal: n.modal ?? !l,
|
|
390
|
-
shouldScaleBackground: n.shouldScaleBackground ?? !l,
|
|
391
|
-
snapPoints: n.snapPoints ?? (l ? c : void 0),
|
|
392
|
-
...i,
|
|
393
|
-
"onUpdate:open": s
|
|
394
|
-
};
|
|
395
|
-
});
|
|
396
|
-
return (e, t) => (B(), j(K(Sr), R({ "data-slot": "drawer" }, l.value), {
|
|
397
|
-
default: q(() => [U(e.$slots, "default")]),
|
|
398
|
-
_: 3
|
|
399
|
-
}, 16));
|
|
400
|
-
}
|
|
401
|
-
}), $ = /* @__PURE__ */ L({
|
|
402
|
-
__name: "DrawerOverlay",
|
|
403
|
-
props: {
|
|
404
|
-
forceMount: { type: Boolean },
|
|
405
|
-
asChild: { type: Boolean },
|
|
406
|
-
as: {},
|
|
407
|
-
class: { type: [
|
|
408
|
-
Boolean,
|
|
409
|
-
null,
|
|
410
|
-
String,
|
|
411
|
-
Object,
|
|
412
|
-
Array
|
|
413
|
-
] }
|
|
414
|
-
},
|
|
415
|
-
setup(t) {
|
|
416
|
-
let n = t, r = A(() => {
|
|
417
|
-
let { class: e, ...t } = n;
|
|
418
|
-
return t;
|
|
419
|
-
});
|
|
420
|
-
return (t, i) => (B(), j(K(yr), 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"]));
|
|
421
|
-
}
|
|
422
|
-
}), Rr = /* @__PURE__ */ L({
|
|
423
|
-
__name: "DrawerContent",
|
|
424
|
-
props: {
|
|
425
|
-
forceMount: { type: Boolean },
|
|
426
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
427
|
-
asChild: { type: Boolean },
|
|
428
|
-
as: {},
|
|
429
|
-
class: { type: [
|
|
430
|
-
Boolean,
|
|
431
|
-
null,
|
|
432
|
-
String,
|
|
433
|
-
Object,
|
|
434
|
-
Array
|
|
435
|
-
] },
|
|
436
|
-
showOverlay: {
|
|
437
|
-
type: Boolean,
|
|
438
|
-
default: !0
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
|
-
emits: [
|
|
442
|
-
"escapeKeyDown",
|
|
443
|
-
"pointerDownOutside",
|
|
444
|
-
"focusOutside",
|
|
445
|
-
"interactOutside",
|
|
446
|
-
"openAutoFocus",
|
|
447
|
-
"closeAutoFocus"
|
|
448
|
-
],
|
|
449
|
-
setup(t, { emit: n }) {
|
|
450
|
-
let r = t, i = Y(r, n);
|
|
451
|
-
return (t, n) => (B(), j(K(xr), null, {
|
|
452
|
-
default: q(() => [r.showOverlay ? (B(), j($, { key: 0 })) : M("", !0), I(K(_r), R(K(i), { class: K(e)("glass-drawer", r.class) }), {
|
|
453
|
-
default: q(() => [n[0] ||= P("div", {
|
|
454
|
-
class: "glass-drawer-handle",
|
|
455
|
-
"aria-hidden": "true"
|
|
456
|
-
}, [P("span", { class: "glass-drawer-grip" })], -1), U(t.$slots, "default")]),
|
|
457
|
-
_: 3
|
|
458
|
-
}, 16, ["class"])]),
|
|
459
|
-
_: 3
|
|
460
|
-
}));
|
|
461
|
-
}
|
|
462
|
-
}), zr = /* @__PURE__ */ L({
|
|
463
|
-
__name: "DrawerHeader",
|
|
464
|
-
props: { class: { type: [
|
|
465
|
-
Boolean,
|
|
466
|
-
null,
|
|
467
|
-
String,
|
|
468
|
-
Object,
|
|
469
|
-
Array
|
|
470
|
-
] } },
|
|
471
|
-
setup(t) {
|
|
472
|
-
let n = t;
|
|
473
|
-
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));
|
|
474
|
-
}
|
|
475
|
-
}), Br = /* @__PURE__ */ L({
|
|
476
|
-
__name: "DrawerFooter",
|
|
477
|
-
props: { class: { type: [
|
|
478
|
-
Boolean,
|
|
479
|
-
null,
|
|
480
|
-
String,
|
|
481
|
-
Object,
|
|
482
|
-
Array
|
|
483
|
-
] } },
|
|
484
|
-
setup(t) {
|
|
485
|
-
let n = t;
|
|
486
|
-
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));
|
|
487
|
-
}
|
|
488
|
-
}), Vr = /* @__PURE__ */ L({
|
|
489
|
-
__name: "DrawerTitle",
|
|
490
|
-
props: {
|
|
491
|
-
asChild: { type: Boolean },
|
|
492
|
-
as: {},
|
|
493
|
-
class: { type: [
|
|
494
|
-
Boolean,
|
|
495
|
-
null,
|
|
496
|
-
String,
|
|
497
|
-
Object,
|
|
498
|
-
Array
|
|
499
|
-
] }
|
|
500
|
-
},
|
|
501
|
-
setup(t) {
|
|
502
|
-
let n = t, r = A(() => {
|
|
503
|
-
let { class: e, ...t } = n;
|
|
504
|
-
return t;
|
|
505
|
-
});
|
|
506
|
-
return (t, i) => (B(), j(K(Cr), R(r.value, { class: K(e)("text-subheading leading-none tracking-tight", n.class) }), {
|
|
507
|
-
default: q(() => [U(t.$slots, "default")]),
|
|
508
|
-
_: 3
|
|
509
|
-
}, 16, ["class"]));
|
|
510
|
-
}
|
|
511
|
-
}), Hr = /* @__PURE__ */ L({
|
|
512
|
-
__name: "DrawerDescription",
|
|
513
|
-
props: {
|
|
514
|
-
asChild: { type: Boolean },
|
|
515
|
-
as: {},
|
|
516
|
-
class: { type: [
|
|
517
|
-
Boolean,
|
|
518
|
-
null,
|
|
519
|
-
String,
|
|
520
|
-
Object,
|
|
521
|
-
Array
|
|
522
|
-
] }
|
|
523
|
-
},
|
|
524
|
-
setup(t) {
|
|
525
|
-
let n = t, r = A(() => {
|
|
526
|
-
let { class: e, ...t } = n;
|
|
527
|
-
return t;
|
|
528
|
-
});
|
|
529
|
-
return (t, i) => (B(), j(K(vr), R(r.value, { class: K(e)("text-sm text-muted-foreground", n.class) }), {
|
|
530
|
-
default: q(() => [U(t.$slots, "default")]),
|
|
531
|
-
_: 3
|
|
532
|
-
}, 16, ["class"]));
|
|
533
|
-
}
|
|
534
|
-
}), Ur = /* @__PURE__ */ L({
|
|
351
|
+
}), Ar = /* @__PURE__ */ L({
|
|
535
352
|
__name: "MetricPill",
|
|
536
353
|
props: {
|
|
537
354
|
value: {},
|
|
@@ -553,7 +370,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
553
370
|
},
|
|
554
371
|
setup(t) {
|
|
555
372
|
let n = t, r = A(() => e("metric-pill", n.class));
|
|
556
|
-
return (e, n) => (B(), j(
|
|
373
|
+
return (e, n) => (B(), j(Mt, {
|
|
557
374
|
"data-slot": "metric-pill",
|
|
558
375
|
value: t.value,
|
|
559
376
|
unit: t.unit,
|
|
@@ -578,18 +395,18 @@ var Tr = /* @__PURE__ */ L({
|
|
|
578
395
|
"data-density"
|
|
579
396
|
]));
|
|
580
397
|
}
|
|
581
|
-
}),
|
|
398
|
+
}), jr = { class: "truncate" }, Mr = {
|
|
582
399
|
key: 0,
|
|
583
400
|
class: "mr-2"
|
|
584
|
-
},
|
|
401
|
+
}, Nr = {
|
|
585
402
|
key: 0,
|
|
586
403
|
class: "flex flex-wrap gap-1 mt-2"
|
|
587
|
-
},
|
|
404
|
+
}, Pr = {
|
|
588
405
|
key: 0,
|
|
589
406
|
class: "mr-1"
|
|
590
|
-
},
|
|
407
|
+
}, Fr = /* @__PURE__ */ L({
|
|
591
408
|
__name: "MultiSelect",
|
|
592
|
-
props: /* @__PURE__ */
|
|
409
|
+
props: /* @__PURE__ */ Jn({
|
|
593
410
|
options: {},
|
|
594
411
|
placeholder: { default: "Select items..." },
|
|
595
412
|
disabled: {
|
|
@@ -603,12 +420,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
603
420
|
}),
|
|
604
421
|
emits: ["update:modelValue"],
|
|
605
422
|
setup(t) {
|
|
606
|
-
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})`);
|
|
607
424
|
function s(e) {
|
|
608
425
|
return typeof e == "string" && e.length > 0;
|
|
609
426
|
}
|
|
610
427
|
function c(e) {
|
|
611
|
-
return !e || s(e) ? null :
|
|
428
|
+
return !e || s(e) ? null : Zn(e);
|
|
612
429
|
}
|
|
613
430
|
function l(e) {
|
|
614
431
|
r.value = r.value.includes(e) ? r.value.filter((t) => t !== e) : [...r.value, e];
|
|
@@ -616,45 +433,45 @@ var Tr = /* @__PURE__ */ L({
|
|
|
616
433
|
function u(e) {
|
|
617
434
|
r.value = r.value.filter((t) => t !== e);
|
|
618
435
|
}
|
|
619
|
-
return (n,
|
|
436
|
+
return (n, d) => (B(), N(k, null, [I(K(D), {
|
|
620
437
|
"data-slot": "multi-select",
|
|
621
438
|
open: i.value,
|
|
622
|
-
"onUpdate:open":
|
|
439
|
+
"onUpdate:open": d[0] ||= (e) => i.value = e
|
|
623
440
|
}, {
|
|
624
|
-
default: q(() => [I(K(
|
|
625
|
-
default: q(() => [I(K(
|
|
441
|
+
default: q(() => [I(K(E), { "as-child": "" }, {
|
|
442
|
+
default: q(() => [I(K(_), {
|
|
626
443
|
variant: "outline",
|
|
627
444
|
role: "combobox",
|
|
628
445
|
"aria-expanded": i.value,
|
|
629
446
|
disabled: t.disabled,
|
|
630
447
|
class: "w-full justify-between text-left font-normal"
|
|
631
448
|
}, {
|
|
632
|
-
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" })]),
|
|
633
450
|
_: 1
|
|
634
451
|
}, 8, ["aria-expanded", "disabled"])]),
|
|
635
452
|
_: 1
|
|
636
|
-
}), I(K(
|
|
453
|
+
}), I(K(O), {
|
|
637
454
|
class: "w-full p-0",
|
|
638
455
|
align: "start"
|
|
639
456
|
}, {
|
|
640
|
-
default: q(() => [I(K(
|
|
457
|
+
default: q(() => [I(K(b), null, {
|
|
641
458
|
default: q(() => [
|
|
642
|
-
I(K(
|
|
643
|
-
I(K(
|
|
644
|
-
default: q(() => [...
|
|
459
|
+
I(K(v), { placeholder: "Search..." }),
|
|
460
|
+
I(K(C), null, {
|
|
461
|
+
default: q(() => [...d[1] ||= [F("No options found.", -1)]]),
|
|
645
462
|
_: 1
|
|
646
463
|
}),
|
|
647
|
-
I(K(
|
|
648
|
-
default: q(() => [I(K(
|
|
649
|
-
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), {
|
|
650
467
|
key: t.value,
|
|
651
468
|
value: t.value,
|
|
652
469
|
onSelect: (e) => l(t.value),
|
|
653
470
|
class: "cursor-pointer"
|
|
654
471
|
}, {
|
|
655
472
|
default: q(() => [
|
|
656
|
-
I(K(
|
|
657
|
-
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)), {
|
|
658
475
|
key: 1,
|
|
659
476
|
class: "mr-2 h-4 w-4 shrink-0",
|
|
660
477
|
"aria-hidden": "true"
|
|
@@ -673,32 +490,32 @@ var Tr = /* @__PURE__ */ L({
|
|
|
673
490
|
_: 1
|
|
674
491
|
})]),
|
|
675
492
|
_: 1
|
|
676
|
-
}, 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), {
|
|
677
494
|
key: e.value,
|
|
678
495
|
variant: "secondary",
|
|
679
496
|
class: "text-[length:var(--control-text-sm)] px-2 py-1"
|
|
680
497
|
}, {
|
|
681
498
|
default: q(() => [
|
|
682
|
-
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)), {
|
|
683
500
|
key: 1,
|
|
684
501
|
class: "mr-1 h-3 w-3 shrink-0",
|
|
685
502
|
"aria-hidden": "true"
|
|
686
503
|
})) : M("", !0),
|
|
687
504
|
F(" " + G(e.label) + " ", 1),
|
|
688
|
-
I(K(
|
|
505
|
+
I(K(_), {
|
|
689
506
|
variant: "ghost",
|
|
690
507
|
size: "sm",
|
|
691
508
|
class: "relative touch-hit-area ml-1 h-3 w-3 p-0 hover:bg-destructive hover:text-destructive-foreground",
|
|
692
|
-
onClick:
|
|
509
|
+
onClick: $n((t) => u(e.value), ["stop"])
|
|
693
510
|
}, {
|
|
694
|
-
default: q(() => [I(K(
|
|
511
|
+
default: q(() => [I(K(p), { class: "h-2 w-2" })]),
|
|
695
512
|
_: 1
|
|
696
513
|
}, 8, ["onClick"])
|
|
697
514
|
]),
|
|
698
515
|
_: 2
|
|
699
516
|
}, 1024))), 128))])) : M("", !0)], 64));
|
|
700
517
|
}
|
|
701
|
-
}),
|
|
518
|
+
}), Ir = /* @__PURE__ */ L({
|
|
702
519
|
__name: "RadioGroup",
|
|
703
520
|
props: {
|
|
704
521
|
modelValue: {},
|
|
@@ -725,7 +542,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
725
542
|
let { class: e, ...t } = r;
|
|
726
543
|
return t;
|
|
727
544
|
}), i);
|
|
728
|
-
return (t, n) => (B(), j(K(
|
|
545
|
+
return (t, n) => (B(), j(K(fr), R({
|
|
729
546
|
"data-slot": "radio-group",
|
|
730
547
|
class: K(e)("grid gap-2", r.class)
|
|
731
548
|
}, K(a)), {
|
|
@@ -733,7 +550,7 @@ var Tr = /* @__PURE__ */ L({
|
|
|
733
550
|
_: 3
|
|
734
551
|
}, 16, ["class"]));
|
|
735
552
|
}
|
|
736
|
-
}),
|
|
553
|
+
}), Lr = /* @__PURE__ */ L({
|
|
737
554
|
__name: "RadioGroupItem",
|
|
738
555
|
props: {
|
|
739
556
|
id: {},
|
|
@@ -756,18 +573,18 @@ var Tr = /* @__PURE__ */ L({
|
|
|
756
573
|
let { class: e, ...t } = n;
|
|
757
574
|
return t;
|
|
758
575
|
}));
|
|
759
|
-
return (t, i) => (B(), j(K(
|
|
760
|
-
default: q(() => [I(K(
|
|
761
|
-
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" })]),
|
|
762
579
|
_: 1
|
|
763
580
|
})]),
|
|
764
581
|
_: 1
|
|
765
582
|
}, 16, ["class"]));
|
|
766
583
|
}
|
|
767
|
-
}),
|
|
584
|
+
}), Rr = {
|
|
768
585
|
key: 1,
|
|
769
586
|
class: "flex flex-col gap-1"
|
|
770
|
-
},
|
|
587
|
+
}, zr = /* @__PURE__ */ L({
|
|
771
588
|
__name: "Section",
|
|
772
589
|
props: {
|
|
773
590
|
title: {},
|
|
@@ -812,43 +629,18 @@ var Tr = /* @__PURE__ */ L({
|
|
|
812
629
|
"data-slot": "section",
|
|
813
630
|
class: z(K(e)("flex flex-col", i[n.gap], n.backdrop === "paper" && "relative isolate", n.class))
|
|
814
631
|
}, [
|
|
815
|
-
n.backdrop === "paper" ? (B(), j(K(
|
|
632
|
+
n.backdrop === "paper" ? (B(), j(K(Wt), {
|
|
816
633
|
key: 0,
|
|
817
634
|
class: "!absolute inset-0"
|
|
818
635
|
})) : M("", !0),
|
|
819
|
-
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", {
|
|
820
637
|
key: 0,
|
|
821
638
|
class: z(K(e)("section-description", n.descriptionClass))
|
|
822
639
|
}, [U(a.$slots, "description", {}, () => [F(G(t.description), 1)])], 2)) : M("", !0)])) : M("", !0),
|
|
823
640
|
U(a.$slots, "default")
|
|
824
641
|
], 2));
|
|
825
642
|
}
|
|
826
|
-
}),
|
|
827
|
-
__name: "TabsContent",
|
|
828
|
-
props: {
|
|
829
|
-
value: {},
|
|
830
|
-
forceMount: { type: Boolean },
|
|
831
|
-
asChild: { type: Boolean },
|
|
832
|
-
as: {},
|
|
833
|
-
class: { type: [
|
|
834
|
-
Boolean,
|
|
835
|
-
null,
|
|
836
|
-
String,
|
|
837
|
-
Object,
|
|
838
|
-
Array
|
|
839
|
-
] }
|
|
840
|
-
},
|
|
841
|
-
setup(t) {
|
|
842
|
-
let n = t, r = A(() => {
|
|
843
|
-
let { class: e, ...t } = n;
|
|
844
|
-
return t;
|
|
845
|
-
});
|
|
846
|
-
return (t, i) => (B(), j(K(lr), R({ class: K(e)("mt-2 focus-visible:outline-none", n.class) }, r.value), {
|
|
847
|
-
default: q(() => [U(t.$slots, "default")]),
|
|
848
|
-
_: 3
|
|
849
|
-
}, 16, ["class"]));
|
|
850
|
-
}
|
|
851
|
-
}), ei = /* @__PURE__ */ L({
|
|
643
|
+
}), Br = /* @__PURE__ */ L({
|
|
852
644
|
__name: "TagsInput",
|
|
853
645
|
props: {
|
|
854
646
|
modelValue: {},
|
|
@@ -887,12 +679,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
887
679
|
let { class: e, ...t } = r;
|
|
888
680
|
return t;
|
|
889
681
|
}), i);
|
|
890
|
-
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) }), {
|
|
891
683
|
default: q(() => [U(t.$slots, "default")]),
|
|
892
684
|
_: 3
|
|
893
685
|
}, 16, ["class"]));
|
|
894
686
|
}
|
|
895
|
-
}),
|
|
687
|
+
}), Vr = /* @__PURE__ */ L({
|
|
896
688
|
__name: "TagsInputInput",
|
|
897
689
|
props: {
|
|
898
690
|
placeholder: {},
|
|
@@ -913,9 +705,9 @@ var Tr = /* @__PURE__ */ L({
|
|
|
913
705
|
let { class: e, ...t } = n;
|
|
914
706
|
return t;
|
|
915
707
|
}));
|
|
916
|
-
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"]));
|
|
917
709
|
}
|
|
918
|
-
}),
|
|
710
|
+
}), Hr = /* @__PURE__ */ L({
|
|
919
711
|
__name: "TagsInputItem",
|
|
920
712
|
props: {
|
|
921
713
|
value: {},
|
|
@@ -935,12 +727,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
935
727
|
let { class: e, ...t } = n;
|
|
936
728
|
return t;
|
|
937
729
|
}));
|
|
938
|
-
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) }), {
|
|
939
731
|
default: q(() => [U(t.$slots, "default")]),
|
|
940
732
|
_: 3
|
|
941
733
|
}, 16, ["class"]));
|
|
942
734
|
}
|
|
943
|
-
}),
|
|
735
|
+
}), Ur = /* @__PURE__ */ L({
|
|
944
736
|
__name: "TagsInputItemDelete",
|
|
945
737
|
props: {
|
|
946
738
|
asChild: { type: Boolean },
|
|
@@ -958,12 +750,12 @@ var Tr = /* @__PURE__ */ L({
|
|
|
958
750
|
let { class: e, ...t } = n;
|
|
959
751
|
return t;
|
|
960
752
|
}));
|
|
961
|
-
return (t, i) => (B(), j(K(
|
|
962
|
-
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" })])]),
|
|
963
755
|
_: 3
|
|
964
756
|
}, 16, ["class"]));
|
|
965
757
|
}
|
|
966
|
-
}),
|
|
758
|
+
}), Wr = /* @__PURE__ */ L({
|
|
967
759
|
__name: "TagsInputItemText",
|
|
968
760
|
props: {
|
|
969
761
|
asChild: { type: Boolean },
|
|
@@ -981,8 +773,8 @@ var Tr = /* @__PURE__ */ L({
|
|
|
981
773
|
let { class: e, ...t } = n;
|
|
982
774
|
return t;
|
|
983
775
|
}));
|
|
984
|
-
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"]));
|
|
985
777
|
}
|
|
986
778
|
});
|
|
987
779
|
//#endregion
|
|
988
|
-
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 };
|