@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/Toaster-D6q4HtXu.js
DELETED
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./x-BUwTKe50.js";
|
|
3
|
-
import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
|
|
4
|
-
import { ToastAction as b, ToastClose as x, ToastDescription as S, ToastPortal as C, ToastProvider as w, ToastRoot as T, ToastTitle as E, ToastViewport as D, useForwardPropsEmits as O } from "reka-ui";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/ui/toast/Toast.vue
|
|
7
|
-
var k = /* @__PURE__ */ u({
|
|
8
|
-
__name: "Toast",
|
|
9
|
-
props: {
|
|
10
|
-
class: { type: [
|
|
11
|
-
Boolean,
|
|
12
|
-
null,
|
|
13
|
-
String,
|
|
14
|
-
Object,
|
|
15
|
-
Array
|
|
16
|
-
] },
|
|
17
|
-
variant: { default: "default" },
|
|
18
|
-
defaultOpen: { type: Boolean },
|
|
19
|
-
forceMount: { type: Boolean },
|
|
20
|
-
type: {},
|
|
21
|
-
open: { type: Boolean },
|
|
22
|
-
duration: {},
|
|
23
|
-
asChild: { type: Boolean },
|
|
24
|
-
as: {}
|
|
25
|
-
},
|
|
26
|
-
emits: [
|
|
27
|
-
"escapeKeyDown",
|
|
28
|
-
"pause",
|
|
29
|
-
"resume",
|
|
30
|
-
"swipeStart",
|
|
31
|
-
"swipeMove",
|
|
32
|
-
"swipeCancel",
|
|
33
|
-
"swipeEnd",
|
|
34
|
-
"update:open"
|
|
35
|
-
],
|
|
36
|
-
setup(t, { emit: n }) {
|
|
37
|
-
let a = t, o = n, s = O(r(() => {
|
|
38
|
-
let { class: e, variant: t, ...n } = a;
|
|
39
|
-
return n;
|
|
40
|
-
}), o);
|
|
41
|
-
return (n, r) => (p(), i(v(T), d({
|
|
42
|
-
"data-slot": "toast",
|
|
43
|
-
"data-variant": t.variant
|
|
44
|
-
}, v(s), { class: v(e)("glass-floating group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-panel p-6 pr-8 transition-[opacity,transform] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full", {
|
|
45
|
-
"text-foreground": t.variant === "default",
|
|
46
|
-
"bg-destructive text-destructive-foreground border-destructive": t.variant === "destructive",
|
|
47
|
-
"bg-success text-success-foreground border-success": t.variant === "success",
|
|
48
|
-
"bg-warning text-warning-foreground border-warning": t.variant === "warning",
|
|
49
|
-
"bg-info text-info-foreground border-info": t.variant === "info"
|
|
50
|
-
}, a.class) }), {
|
|
51
|
-
default: y(() => [g(n.$slots, "default")]),
|
|
52
|
-
_: 3
|
|
53
|
-
}, 16, ["data-variant", "class"]));
|
|
54
|
-
}
|
|
55
|
-
}), A = /* @__PURE__ */ u({
|
|
56
|
-
__name: "ToastAction",
|
|
57
|
-
props: {
|
|
58
|
-
class: { type: [
|
|
59
|
-
Boolean,
|
|
60
|
-
null,
|
|
61
|
-
String,
|
|
62
|
-
Object,
|
|
63
|
-
Array
|
|
64
|
-
] },
|
|
65
|
-
altText: {},
|
|
66
|
-
asChild: { type: Boolean },
|
|
67
|
-
as: {}
|
|
68
|
-
},
|
|
69
|
-
setup(t) {
|
|
70
|
-
let n = t, a = r(() => {
|
|
71
|
-
let { class: e, ...t } = n;
|
|
72
|
-
return t;
|
|
73
|
-
});
|
|
74
|
-
return (t, r) => (p(), i(v(b), d(a.value, { class: v(e)("focus-ring inline-flex h-[calc(2rem*var(--ui-scale))] shrink-0 items-center justify-center rounded-button border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary disabled:pointer-events-none disabled:opacity-disabled group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground", n.class) }), {
|
|
75
|
-
default: y(() => [g(t.$slots, "default")]),
|
|
76
|
-
_: 3
|
|
77
|
-
}, 16, ["class"]));
|
|
78
|
-
}
|
|
79
|
-
}), j = /* @__PURE__ */ u({
|
|
80
|
-
__name: "ToastClose",
|
|
81
|
-
props: {
|
|
82
|
-
class: { type: [
|
|
83
|
-
Boolean,
|
|
84
|
-
null,
|
|
85
|
-
String,
|
|
86
|
-
Object,
|
|
87
|
-
Array
|
|
88
|
-
] },
|
|
89
|
-
asChild: { type: Boolean },
|
|
90
|
-
as: {}
|
|
91
|
-
},
|
|
92
|
-
setup(n) {
|
|
93
|
-
let a = n, o = r(() => {
|
|
94
|
-
let { class: e, ...t } = a;
|
|
95
|
-
return t;
|
|
96
|
-
});
|
|
97
|
-
return (n, r) => (p(), i(v(x), d(o.value, { class: v(e)("focus-ring absolute right-2 top-2 rounded-button p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50", a.class) }), {
|
|
98
|
-
default: y(() => [l(v(t), { class: "h-4 w-4" })]),
|
|
99
|
-
_: 1
|
|
100
|
-
}, 16, ["class"]));
|
|
101
|
-
}
|
|
102
|
-
}), M = /* @__PURE__ */ u({
|
|
103
|
-
__name: "ToastDescription",
|
|
104
|
-
props: {
|
|
105
|
-
class: { type: [
|
|
106
|
-
Boolean,
|
|
107
|
-
null,
|
|
108
|
-
String,
|
|
109
|
-
Object,
|
|
110
|
-
Array
|
|
111
|
-
] },
|
|
112
|
-
asChild: { type: Boolean },
|
|
113
|
-
as: {}
|
|
114
|
-
},
|
|
115
|
-
setup(t) {
|
|
116
|
-
let n = t, a = r(() => {
|
|
117
|
-
let { class: e, ...t } = n;
|
|
118
|
-
return t;
|
|
119
|
-
});
|
|
120
|
-
return (t, r) => (p(), i(v(S), d(a.value, { class: v(e)("text-sm opacity-90", n.class) }), {
|
|
121
|
-
default: y(() => [g(t.$slots, "default")]),
|
|
122
|
-
_: 3
|
|
123
|
-
}, 16, ["class"]));
|
|
124
|
-
}
|
|
125
|
-
}), N = /* @__PURE__ */ u({
|
|
126
|
-
__name: "ToastTitle",
|
|
127
|
-
props: {
|
|
128
|
-
class: { type: [
|
|
129
|
-
Boolean,
|
|
130
|
-
null,
|
|
131
|
-
String,
|
|
132
|
-
Object,
|
|
133
|
-
Array
|
|
134
|
-
] },
|
|
135
|
-
asChild: { type: Boolean },
|
|
136
|
-
as: {}
|
|
137
|
-
},
|
|
138
|
-
setup(t) {
|
|
139
|
-
let n = t, a = r(() => {
|
|
140
|
-
let { class: e, ...t } = n;
|
|
141
|
-
return t;
|
|
142
|
-
});
|
|
143
|
-
return (t, r) => (p(), i(v(E), d(a.value, { class: v(e)("text-sm font-semibold", n.class) }), {
|
|
144
|
-
default: y(() => [g(t.$slots, "default")]),
|
|
145
|
-
_: 3
|
|
146
|
-
}, 16, ["class"]));
|
|
147
|
-
}
|
|
148
|
-
}), P = 5, F = 1e6, I = /* @__PURE__ */ new Map();
|
|
149
|
-
function L(e) {
|
|
150
|
-
if (I.has(e)) return;
|
|
151
|
-
let t = setTimeout(() => {
|
|
152
|
-
I.delete(e), z({
|
|
153
|
-
type: "REMOVE_TOAST",
|
|
154
|
-
toastId: e
|
|
155
|
-
});
|
|
156
|
-
}, F);
|
|
157
|
-
I.set(e, t);
|
|
158
|
-
}
|
|
159
|
-
var R = m([]);
|
|
160
|
-
function z(e) {
|
|
161
|
-
switch (e.type) {
|
|
162
|
-
case "ADD_TOAST":
|
|
163
|
-
R.value = [e.toast, ...R.value].slice(0, P);
|
|
164
|
-
break;
|
|
165
|
-
case "UPDATE_TOAST":
|
|
166
|
-
R.value = R.value.map((t) => t.id === e.toast.id ? {
|
|
167
|
-
...t,
|
|
168
|
-
...e.toast
|
|
169
|
-
} : t);
|
|
170
|
-
break;
|
|
171
|
-
case "DISMISS_TOAST": {
|
|
172
|
-
let { toastId: t } = e;
|
|
173
|
-
t ? L(t) : R.value.forEach((e) => {
|
|
174
|
-
L(e.id);
|
|
175
|
-
}), R.value = R.value.map((e) => e.id === t || t === void 0 ? {
|
|
176
|
-
...e,
|
|
177
|
-
open: !1
|
|
178
|
-
} : e);
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
case "REMOVE_TOAST":
|
|
182
|
-
e.toastId === void 0 ? R.value = [] : R.value = R.value.filter((t) => t.id !== e.toastId);
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
var B = 0;
|
|
187
|
-
function V() {
|
|
188
|
-
return B = (B + 1) % Number.MAX_VALUE, B.toString();
|
|
189
|
-
}
|
|
190
|
-
function H(e) {
|
|
191
|
-
let t = V(), n = (e) => z({
|
|
192
|
-
type: "UPDATE_TOAST",
|
|
193
|
-
toast: {
|
|
194
|
-
...e,
|
|
195
|
-
id: t
|
|
196
|
-
}
|
|
197
|
-
}), r = () => z({
|
|
198
|
-
type: "DISMISS_TOAST",
|
|
199
|
-
toastId: t
|
|
200
|
-
});
|
|
201
|
-
return z({
|
|
202
|
-
type: "ADD_TOAST",
|
|
203
|
-
toast: {
|
|
204
|
-
...e,
|
|
205
|
-
id: t,
|
|
206
|
-
open: !0,
|
|
207
|
-
"onUpdate:open": (e) => {
|
|
208
|
-
e || r();
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}), {
|
|
212
|
-
id: t,
|
|
213
|
-
dismiss: r,
|
|
214
|
-
update: n
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
function U() {
|
|
218
|
-
return {
|
|
219
|
-
toasts: r(() => R.value),
|
|
220
|
-
toast: H,
|
|
221
|
-
dismiss: (e) => z({
|
|
222
|
-
type: "DISMISS_TOAST",
|
|
223
|
-
toastId: e
|
|
224
|
-
})
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region src/components/ui/toast/Toaster.vue?vue&type=script&setup=true&lang.ts
|
|
229
|
-
var W = { class: "grid gap-1" }, G = "fixed top-0 z-toast flex max-h-screen w-full", K = "p-4", q = "md:max-w-[420px]", J = /* @__PURE__ */ u({
|
|
230
|
-
__name: "Toaster",
|
|
231
|
-
props: { position: { default: "bottom-right" } },
|
|
232
|
-
setup(t) {
|
|
233
|
-
let u = t, { toasts: m } = U(), g = {
|
|
234
|
-
"bottom-right": ["flex-col-reverse", "sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col"],
|
|
235
|
-
"bottom-left": ["flex-col-reverse", "sm:bottom-0 sm:left-0 sm:top-auto sm:flex-col"],
|
|
236
|
-
"bottom-center": ["flex-col-reverse", "sm:bottom-0 sm:left-1/2 sm:top-auto sm:-translate-x-1/2 sm:flex-col"],
|
|
237
|
-
"top-right": ["right-0 flex-col", ""],
|
|
238
|
-
"top-left": ["left-0 flex-col", ""],
|
|
239
|
-
"top-center": ["left-1/2 -translate-x-1/2 flex-col", ""]
|
|
240
|
-
}, b = r(() => {
|
|
241
|
-
let [t, n] = g[u.position];
|
|
242
|
-
return e(G, t, K, n, q);
|
|
243
|
-
});
|
|
244
|
-
return (e, t) => (p(), i(v(w), null, {
|
|
245
|
-
default: y(() => [(p(!0), o(n, null, h(v(m), (e) => (p(), i(k, d({ key: e.id }, { ref_for: !0 }, e), {
|
|
246
|
-
default: y(() => [s("div", W, [e.title ? (p(), i(N, { key: 0 }, {
|
|
247
|
-
default: y(() => [c(_(e.title), 1)]),
|
|
248
|
-
_: 2
|
|
249
|
-
}, 1024)) : a("", !0), e.description ? (p(), i(M, { key: 1 }, {
|
|
250
|
-
default: y(() => [c(_(e.description), 1)]),
|
|
251
|
-
_: 2
|
|
252
|
-
}, 1024)) : a("", !0)]), l(j)]),
|
|
253
|
-
_: 2
|
|
254
|
-
}, 1040))), 128)), l(v(C), null, {
|
|
255
|
-
default: y(() => [l(v(D), { class: f(b.value) }, null, 8, ["class"])]),
|
|
256
|
-
_: 1
|
|
257
|
-
})]),
|
|
258
|
-
_: 1
|
|
259
|
-
}));
|
|
260
|
-
}
|
|
261
|
-
});
|
|
262
|
-
//#endregion
|
|
263
|
-
export { M as a, k as c, N as i, H as n, j as o, U as r, A as s, J as t };
|
package/dist/button-ChXMfsud.js
DELETED
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { computed as t, createBlock as n, defineComponent as r, mergeProps as i, openBlock as a, renderSlot as o, unref as s, withCtx as c } from "vue";
|
|
3
|
-
import { Primitive as l } from "reka-ui";
|
|
4
|
-
import { cva as u } from "class-variance-authority";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/ui/button/Button.vue
|
|
7
|
-
var d = /* @__PURE__ */ r({
|
|
8
|
-
__name: "Button",
|
|
9
|
-
props: {
|
|
10
|
-
variant: {},
|
|
11
|
-
size: {},
|
|
12
|
-
class: { type: [
|
|
13
|
-
Boolean,
|
|
14
|
-
null,
|
|
15
|
-
String,
|
|
16
|
-
Object,
|
|
17
|
-
Array
|
|
18
|
-
] },
|
|
19
|
-
type: {},
|
|
20
|
-
disabled: { type: [Boolean, String] },
|
|
21
|
-
asChild: { type: Boolean },
|
|
22
|
-
as: { default: "button" }
|
|
23
|
-
},
|
|
24
|
-
setup(r) {
|
|
25
|
-
let u = r, d = t(() => ({
|
|
26
|
-
type: u.type,
|
|
27
|
-
disabled: u.disabled
|
|
28
|
-
}));
|
|
29
|
-
return (t, p) => (a(), n(s(l), i({
|
|
30
|
-
as: r.as,
|
|
31
|
-
"as-child": r.asChild,
|
|
32
|
-
"data-slot": "button",
|
|
33
|
-
"data-variant": r.variant,
|
|
34
|
-
"data-size": r.size
|
|
35
|
-
}, d.value, { class: s(e)(s(f)({
|
|
36
|
-
variant: r.variant,
|
|
37
|
-
size: r.size
|
|
38
|
-
}), u.class) }), {
|
|
39
|
-
default: c(() => [o(t.$slots, "default")]),
|
|
40
|
-
_: 3
|
|
41
|
-
}, 16, [
|
|
42
|
-
"as",
|
|
43
|
-
"as-child",
|
|
44
|
-
"data-variant",
|
|
45
|
-
"data-size",
|
|
46
|
-
"class"
|
|
47
|
-
]));
|
|
48
|
-
}
|
|
49
|
-
}), f = u("btn-pill tap-squish focus-ring whitespace-nowrap text-[length:var(--control-text)] font-medium cursor-pointer active:scale-(--scale-press-btn) disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-disabled [&_svg:not([class*=size-])]:size-(--ui-glyph) [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
50
|
-
variants: {
|
|
51
|
-
variant: {
|
|
52
|
-
default: "glass-wash btn-glass text-foreground hover:bg-(--glass-bg-resting) hover:border-(--glass-border-resting) active:bg-(--glass-bg-floating) active:border-(--glass-border-floating) aria-pressed:bg-[color-mix(in_srgb,var(--foreground)_10%,var(--glass-bg-resting))]",
|
|
53
|
-
solid: "bg-primary text-primary-foreground hover:bg-primary/90 active:bg-primary/80 aria-pressed:bg-primary/85",
|
|
54
|
-
"primary-audacious": "btn-audacious bg-primary text-primary-foreground hover:scale-(--scale-hover-btn) aria-pressed:scale-(--scale-press-btn)",
|
|
55
|
-
"gold-audacious": "btn-audacious btn-audacious-gold text-foreground hover:text-white active:text-white aria-pressed:text-white hover:scale-(--scale-hover-btn) aria-pressed:scale-(--scale-press-btn)",
|
|
56
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 active:bg-destructive/80 aria-pressed:bg-destructive/85",
|
|
57
|
-
outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground active:bg-accent/80 aria-pressed:bg-accent aria-pressed:text-accent-foreground",
|
|
58
|
-
secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 active:bg-secondary/70 aria-pressed:bg-secondary/60",
|
|
59
|
-
accent: "bg-accent text-accent-foreground border border-border/40 hover:bg-accent/80 active:bg-accent/70 aria-pressed:bg-accent/60",
|
|
60
|
-
ghost: "bg-transparent text-foreground/70 hover:bg-foreground/8 hover:text-foreground active:bg-foreground/12 aria-pressed:bg-foreground/10 aria-pressed:text-foreground",
|
|
61
|
-
glass: "glass-wash btn-glass text-foreground hover:bg-(--glass-bg-resting) hover:border-(--glass-border-resting) active:bg-(--glass-bg-floating) active:border-(--glass-border-floating) aria-pressed:bg-[color-mix(in_srgb,var(--foreground)_10%,var(--glass-bg-resting))]",
|
|
62
|
-
"glass-wash": "glass-wash btn-glass text-foreground/70 hover:bg-foreground/[0.04] hover:border-(--surface-tint-22) hover:text-foreground active:bg-foreground/[0.08] aria-pressed:bg-foreground/[0.1] aria-pressed:text-foreground",
|
|
63
|
-
ai: "bg-amber-500/15 text-amber-700 hover:bg-amber-500/25 active:bg-amber-500/35 dark:text-amber-400 aria-pressed:bg-amber-500/30",
|
|
64
|
-
link: "text-primary underline-offset-4 hover:underline active:opacity-80 active:scale-100"
|
|
65
|
-
},
|
|
66
|
-
size: {
|
|
67
|
-
default: "h-(--control-h-md) px-4 py-2 has-[>svg]:px-3",
|
|
68
|
-
xs: "h-(--control-h-xs) rounded-pill px-2 text-[length:var(--control-text-sm)]",
|
|
69
|
-
sm: "h-(--control-h-sm) rounded-pill px-3",
|
|
70
|
-
lg: "h-(--control-h-lg) rounded-pill px-8 has-[>svg]:px-5",
|
|
71
|
-
icon: "h-(--control-h-md) w-(--control-h-md) p-0",
|
|
72
|
-
"icon-sm": "h-(--control-h-xs) w-(--control-h-xs) p-0"
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
defaultVariants: {
|
|
76
|
-
variant: "default",
|
|
77
|
-
size: "default"
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
//#endregion
|
|
81
|
-
export { d as n, f as t };
|
package/dist/check-njhk-vfu.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import type { TimingFunction } from "@mkbabb/keyframes.js";
|
|
2
|
-
import type { GlassUnderlinePaths } from "./types";
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
/**
|
|
5
|
-
* Which clock drives the draw. `load` (default) — the draw is a
|
|
6
|
-
* `NumericAnimation` the parent's load `Sequence` fires once via `play()`.
|
|
7
|
-
* `scroll` — native `view()` keyframes, bidirectional, no JS. `static` —
|
|
8
|
-
* set drawn, no clock.
|
|
9
|
-
*/
|
|
10
|
-
clock?: "load" | "scroll" | "static";
|
|
11
|
-
/**
|
|
12
|
-
* The render variant. `pen` is the only PROVEN, filter-free render.
|
|
13
|
-
* pencil | crayon | boil are UNPROVEN headroom — the API seam for a future
|
|
14
|
-
* wave, NOT shipped here (they render pen today).
|
|
15
|
-
*/
|
|
16
|
-
variant?: "pen" | "pencil" | "crayon" | "boil";
|
|
17
|
-
/** The stroke colour. Defaults to `var(--primary)` (re-resolves under .dark). */
|
|
18
|
-
color?: string;
|
|
19
|
-
/** The load-clock draw duration (ms). Default 700. */
|
|
20
|
-
drawMs?: number;
|
|
21
|
-
/**
|
|
22
|
-
* The load-clock easing. Default `easeOutCubic` — doctrine-compliant (DEC-6):
|
|
23
|
-
* ink is an irreversible additive reveal, so an overshooting spring would lay
|
|
24
|
-
* ink past the end then retract it (the "never overshoot past gone" logic).
|
|
25
|
-
* The value.js `TimingFunction` type (already a peer) serves a consumer's own
|
|
26
|
-
* decelerating register (e.g. an expo).
|
|
27
|
-
*/
|
|
28
|
-
easing?: TimingFunction;
|
|
29
|
-
/**
|
|
30
|
-
* The scroll-clock timeline name (DEC-5). Default the element's own `view()`.
|
|
31
|
-
* Bound as `--gu-timeline`; the CSS reads `animation-timeline:
|
|
32
|
-
* var(--gu-timeline, view())`. A consumer (`--beat-tl`, a named scroll
|
|
33
|
-
* timeline) passes its own.
|
|
34
|
-
*/
|
|
35
|
-
timeline?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The declarative third clock (DEC-2). A thin overlay ON the load clock:
|
|
38
|
-
* `undefined` (default) = source parity (seeds undrawn, parent fires
|
|
39
|
-
* `play()`); bound: rising edge → play() (under PRM → snap()), falling edge
|
|
40
|
-
* → reset to undrawn so re-activation REPLAYS, mount with `true` → plays.
|
|
41
|
-
* Only meaningful with `clock="load"` (the other clocks rest drawn).
|
|
42
|
-
*/
|
|
43
|
-
active?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* The geometry escape (DEC-7). The FULL geometry tuple
|
|
46
|
-
* `{ stroke, ghost?, viewBox?, len? }` — a bare `d`-string escape silently
|
|
47
|
-
* breaks the dash model when the consumer geometry's viewBox/length differ.
|
|
48
|
-
* Defaults to the canonical pen + ghost.
|
|
49
|
-
*/
|
|
50
|
-
paths?: GlassUnderlinePaths;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* CLOCK A — draw the underline ONCE. The awaitable a parent's load `Sequence` fires
|
|
54
|
-
* as a causal link. Resolves a Promise so the Sequence can `await` it; under PRM it
|
|
55
|
-
* snaps to drawn in one paint and resolves immediately. A no-op for scroll/static.
|
|
56
|
-
*/
|
|
57
|
-
declare function play(): Promise<void>;
|
|
58
|
-
/** Snap to terminal (drawn) — the PRM / interrupt path. */
|
|
59
|
-
declare function snap(): void;
|
|
60
|
-
declare var __VLS_1: {};
|
|
61
|
-
type __VLS_Slots = {} & {
|
|
62
|
-
default?: (props: typeof __VLS_1) => any;
|
|
63
|
-
};
|
|
64
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
|
|
65
|
-
play: typeof play;
|
|
66
|
-
snap: typeof snap;
|
|
67
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
68
|
-
active: boolean;
|
|
69
|
-
variant: "pen" | "pencil" | "crayon" | "boil";
|
|
70
|
-
color: string;
|
|
71
|
-
clock: "load" | "scroll" | "static";
|
|
72
|
-
drawMs: number;
|
|
73
|
-
easing: TimingFunction;
|
|
74
|
-
timeline: string;
|
|
75
|
-
paths: GlassUnderlinePaths;
|
|
76
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
77
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
78
|
-
declare const _default: typeof __VLS_export;
|
|
79
|
-
export default _default;
|
|
80
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
81
|
-
new (): {
|
|
82
|
-
$slots: S;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import type { TimingFunction } from "@mkbabb/keyframes.js";
|
|
2
|
-
/** Which clock drives the draw. */
|
|
3
|
-
export type GlassUnderlineClock = "load" | "scroll" | "static";
|
|
4
|
-
/**
|
|
5
|
-
* The render variant. `pen` is the only PROVEN, filter-free render (the masthead
|
|
6
|
-
* invariant). pencil | crayon | boil are UNPROVEN headroom — the API seam for a
|
|
7
|
-
* future wave, NOT shipped (they render pen today).
|
|
8
|
-
*/
|
|
9
|
-
export type GlassUnderlineVariant = "pen" | "pencil" | "crayon" | "boil";
|
|
10
|
-
/**
|
|
11
|
-
* The geometry escape tuple (DEC-7). Carries the FULL geometry so an escaped path
|
|
12
|
-
* stays dash-coherent — a bare `d`-string escape silently breaks the dash model when
|
|
13
|
-
* the consumer geometry's viewBox/length differ from the canonical
|
|
14
|
-
* (`0 0 100 10` + `len` 120).
|
|
15
|
-
*/
|
|
16
|
-
export interface GlassUnderlinePaths {
|
|
17
|
-
/** The primary pen stroke `d`. */
|
|
18
|
-
readonly stroke: string;
|
|
19
|
-
/** The faint ghost overdraw `d`. Omit for a single-path (no overdraw) render. */
|
|
20
|
-
readonly ghost?: string;
|
|
21
|
-
/** The SVG viewBox. Default `0 0 100 10`. */
|
|
22
|
-
readonly viewBox?: string;
|
|
23
|
-
/** The dasharray length (the over-long fixed dash). Default `120`. */
|
|
24
|
-
readonly len?: number;
|
|
25
|
-
}
|
|
26
|
-
/** GlassUnderline props (the public prop surface). */
|
|
27
|
-
export interface GlassUnderlineProps {
|
|
28
|
-
/** Which clock drives the draw. Default `load`. */
|
|
29
|
-
clock?: GlassUnderlineClock;
|
|
30
|
-
/** The render variant. Default `pen` (the only proven render). */
|
|
31
|
-
variant?: GlassUnderlineVariant;
|
|
32
|
-
/** The stroke colour. Default `var(--primary)` (re-resolves under `.dark`). */
|
|
33
|
-
color?: string;
|
|
34
|
-
/** The load-clock draw duration (ms). Default `700`. */
|
|
35
|
-
drawMs?: number;
|
|
36
|
-
/** The load-clock easing (value.js `TimingFunction`). Default `easeOutCubic`. */
|
|
37
|
-
easing?: TimingFunction;
|
|
38
|
-
/** The scroll-clock timeline name. Default the element's own `view()`. */
|
|
39
|
-
timeline?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The declarative third clock — a thin overlay ON the load clock. `undefined`
|
|
42
|
-
* (default) = source parity (parent fires `play()`); rising edge → play, falling
|
|
43
|
-
* edge → reset-to-undrawn (re-rise REPLAYS), mount-`true` → plays. Only
|
|
44
|
-
* meaningful with `clock="load"`.
|
|
45
|
-
*/
|
|
46
|
-
active?: boolean;
|
|
47
|
-
/** The geometry escape tuple. Defaults to the canonical pen + ghost. */
|
|
48
|
-
paths?: GlassUnderlinePaths;
|
|
49
|
-
}
|
|
50
|
-
/** The imperative handle exposed via `defineExpose` / a template ref. */
|
|
51
|
-
export interface GlassUnderlineExpose {
|
|
52
|
-
/** Draw the load-clock underline once (the awaitable a Sequence chains). */
|
|
53
|
-
play: () => Promise<void>;
|
|
54
|
-
/** Snap to terminal (drawn) — the PRM / interrupt path. */
|
|
55
|
-
snap: () => void;
|
|
56
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { WithClassAsProps } from "./interface";
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<WithClassAsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<WithClassAsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
-
declare const _default: typeof __VLS_export;
|
|
4
|
-
export default _default;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { computed as e, h as t, inject as n } from "vue";
|
|
2
|
-
//#region node_modules/@lucide/vue/dist/esm/shared/src/utils/isEmptyString.mjs
|
|
3
|
-
var r = (e) => e === "", i = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), a = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), o = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), s = (e) => {
|
|
4
|
-
let t = o(e);
|
|
5
|
-
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
6
|
-
}, c = {
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
width: 24,
|
|
9
|
-
height: 24,
|
|
10
|
-
viewBox: "0 0 24 24",
|
|
11
|
-
fill: "none",
|
|
12
|
-
stroke: "currentColor",
|
|
13
|
-
"stroke-width": 2,
|
|
14
|
-
"stroke-linecap": "round",
|
|
15
|
-
"stroke-linejoin": "round"
|
|
16
|
-
}, l = Symbol("lucide-icons");
|
|
17
|
-
function u() {
|
|
18
|
-
return n(l, {});
|
|
19
|
-
}
|
|
20
|
-
//#endregion
|
|
21
|
-
//#region node_modules/@lucide/vue/dist/esm/Icon.mjs
|
|
22
|
-
var d = ({ name: n, iconNode: o, absoluteStrokeWidth: l, "absolute-stroke-width": d, strokeWidth: f, "stroke-width": p, size: m, color: h, ...g }, { slots: _ }) => {
|
|
23
|
-
let { size: v, color: y, strokeWidth: b = 2, absoluteStrokeWidth: x = !1, class: S = "" } = u(), C = e(() => {
|
|
24
|
-
let e = r(l) || r(d) || l === !0 || d === !0 || x === !0, t = f || p || b || c["stroke-width"];
|
|
25
|
-
return e ? Number(t) * 24 / Number(m ?? v ?? c.width) : t;
|
|
26
|
-
});
|
|
27
|
-
return t("svg", {
|
|
28
|
-
...c,
|
|
29
|
-
...g,
|
|
30
|
-
width: m ?? v ?? c.width,
|
|
31
|
-
height: m ?? v ?? c.height,
|
|
32
|
-
stroke: h ?? y ?? c.stroke,
|
|
33
|
-
"stroke-width": C.value,
|
|
34
|
-
class: i("lucide", S, ...n ? [`lucide-${a(s(n))}-icon`, `lucide-${a(n)}`] : ["lucide-icon"])
|
|
35
|
-
}, [...o.map((e) => t(...e)), ..._.default ? [_.default()] : []]);
|
|
36
|
-
}, f = (e, n) => (r, { slots: i, attrs: a }) => t(d, {
|
|
37
|
-
...a,
|
|
38
|
-
...r,
|
|
39
|
-
iconNode: n,
|
|
40
|
-
name: e
|
|
41
|
-
}, i.default ? { default: i.default } : void 0);
|
|
42
|
-
//#endregion
|
|
43
|
-
export { f as t };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./createLucideIcon-DydS2qgk.js";
|
|
2
|
-
var t = e("maximize-2", [
|
|
3
|
-
["path", {
|
|
4
|
-
d: "M15 3h6v6",
|
|
5
|
-
key: "1q9fwt"
|
|
6
|
-
}],
|
|
7
|
-
["path", {
|
|
8
|
-
d: "m21 3-7 7",
|
|
9
|
-
key: "1l2asr"
|
|
10
|
-
}],
|
|
11
|
-
["path", {
|
|
12
|
-
d: "m3 21 7-7",
|
|
13
|
-
key: "tjx5ai"
|
|
14
|
-
}],
|
|
15
|
-
["path", {
|
|
16
|
-
d: "M9 21H3v-6",
|
|
17
|
-
key: "wtvkvv"
|
|
18
|
-
}]
|
|
19
|
-
]), n = e("minimize-2", [
|
|
20
|
-
["path", {
|
|
21
|
-
d: "m14 10 7-7",
|
|
22
|
-
key: "oa77jy"
|
|
23
|
-
}],
|
|
24
|
-
["path", {
|
|
25
|
-
d: "M20 10h-6V4",
|
|
26
|
-
key: "mjg0md"
|
|
27
|
-
}],
|
|
28
|
-
["path", {
|
|
29
|
-
d: "m3 21 7-7",
|
|
30
|
-
key: "tjx5ai"
|
|
31
|
-
}],
|
|
32
|
-
["path", {
|
|
33
|
-
d: "M4 14h6v6",
|
|
34
|
-
key: "rmj7iw"
|
|
35
|
-
}]
|
|
36
|
-
]);
|
|
37
|
-
//#endregion
|
|
38
|
-
export { t as n, n as t };
|
package/dist/search-BSGrf2Sk.js
DELETED