@mkbabb/glass-ui 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardAction-8whJrLWt.js → CardAction-DlVP2evz.js} +58 -54
- package/dist/{CommandShortcut-D3yxgHNn.js → CommandShortcut-By-VQcLO.js} +3 -3
- package/dist/{ConfiguratorRow-CaP7U3ZA.js → ConfiguratorRow-YMXdINHx.js} +3 -3
- package/dist/{ContextMenuContent-B3ZsheLV.js → ContextMenuContent-CMWn6huB.js} +1 -1
- package/dist/{ContextMenuSubContent-DDRID3qC.js → ContextMenuSubContent-DvwWCUc0.js} +1 -1
- package/dist/{DataTable-Bc9kUtu_.js → DataTable-C4tG3eIJ.js} +4 -4
- package/dist/DialogContent-D8U9ZfWS.js +121 -0
- package/dist/{DialogScrollContent-TTuovQst.js → DialogScrollContent-BMekN7gq.js} +1 -1
- package/dist/{FadingScroll-DLRbH5Xr.js → FadingScroll-P8B30rAD.js} +1 -1
- package/dist/{HoverCardContent-Bel1gdLZ.js → HoverCardContent-DAmGYglo.js} +1 -1
- package/dist/{HoverPopover-BcIxvyqZ.js → HoverPopover-DYpBOzzF.js} +1 -1
- package/dist/{IconChip-DhbdGdFQ.js → IconChip-CQa7XZYc.js} +7 -5
- package/dist/{IconTooltip-B0zimd2H.js → IconTooltip-_df8M3xm.js} +1 -1
- package/dist/{Input-Cg9DF62r.js → Input-CyU4_hIC.js} +2 -2
- package/dist/{MetricBadge-RHdBP72w.js → MetricBadge-DQt_dGah.js} +1 -1
- package/dist/{Notification-CphK7AAm.js → Notification-BlSPJhtZ.js} +1 -1
- package/dist/{NumberFieldContent-D8cXeyO4.js → NumberFieldContent-Z3VxGu_6.js} +3 -3
- package/dist/PagerDots-CYlqVFd4.js +196 -0
- package/dist/PaperBackdrop-DYWgrnh8.js +42 -0
- package/dist/{PopoverContent-DL7E6vJP.js → PopoverContent-BuKyHZSz.js} +2 -2
- package/dist/{Progress-CnqB7gLm.js → Progress-C9SsdwIZ.js} +1 -1
- package/dist/{ScrollingText-CTZbA_cG.js → ScrollingText-DY3W1Jfh.js} +2 -2
- package/dist/{SelectScrollDownButton-DAKCBEdW.js → SelectScrollDownButton-3mFHX_R-.js} +15 -12
- package/dist/{Switch-B8RscmRu.js → Switch-uf-UKPA2.js} +1 -1
- package/dist/{Toaster-D9qIHjBI.js → Toaster-ozrsR4mP.js} +1 -1
- package/dist/{ToggleGroupItem-BLtr3TJq.js → ToggleGroupItem-BpzaVzNm.js} +4 -4
- package/dist/{TooltipProvider-BJ_Y5EGX.js → TooltipProvider-QQVM_80r.js} +1 -1
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +1 -0
- package/dist/api/types-extra.d.ts +3 -1
- package/dist/api.js +2 -2
- package/dist/aurora.js +163 -131
- package/dist/badge-Bt14yURi.js +72 -0
- package/dist/badge.js +1 -1
- package/dist/border-progress.js +1 -1
- package/dist/button-D1W9PrzI.js +130 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +227 -98
- package/dist/chipVariants-BJQ0I2kB.js +18 -0
- package/dist/collapsible.js +1 -1
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +1 -1
- package/dist/components/custom/aurora/constants/presets.d.ts +29 -0
- package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/concentric/Concentric.vue.d.ts +15 -12
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +8 -3
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +8 -4
- package/dist/components/custom/concentric/composables/levelField.d.ts +50 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +7 -4
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +3 -3
- package/dist/components/custom/concentric/constants.d.ts +62 -41
- package/dist/components/custom/concentric/index.d.ts +2 -2
- package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +2 -2
- package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -1
- package/dist/components/custom/configurator/Configurator.vue.d.ts +23 -2
- package/dist/components/custom/configurator/index.d.ts +1 -1
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +4 -3
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +10 -0
- package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +19 -0
- package/dist/components/custom/dock/DockStack.vue.d.ts +35 -22
- package/dist/components/custom/dock/GlassDock.vue.d.ts +19 -3
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +18 -32
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +76 -145
- package/dist/components/custom/dock/composables/index.d.ts +1 -0
- package/dist/components/custom/dock/composables/railProjection.d.ts +45 -0
- package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +192 -0
- package/dist/components/custom/dock/composables/useDockFission.d.ts +158 -0
- package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +18 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +38 -0
- package/dist/components/custom/dock/constants.d.ts +14 -3
- package/dist/components/custom/dock/index.d.ts +3 -0
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +21 -0
- package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +8 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +9 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +12 -0
- package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +7 -0
- package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +28 -2
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -17
- package/dist/components/custom/dot-flow-field/constants.d.ts +51 -0
- package/dist/components/custom/dot-flow-field/index.d.ts +1 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -1
- package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +29 -0
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +2 -1
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +10 -1
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +7 -0
- package/dist/components/custom/dot-matrix/constants.d.ts +14 -0
- package/dist/components/custom/dot-matrix/index.d.ts +1 -1
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +2 -2
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -1
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +4 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +9 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +11 -0
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +16 -1
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +22 -1
- package/dist/components/custom/fourier-field/constants.d.ts +53 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +1 -1
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/composables/easing.d.ts +1 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +1 -0
- package/dist/components/custom/goo-blob/constants.d.ts +26 -1
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -1
- package/dist/components/custom/goo-blob/types.d.ts +50 -1
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +32 -3
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +14 -4
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +55 -16
- package/dist/components/custom/goo-dot-matrix/index.d.ts +1 -1
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +2 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-filter/GooFilter.vue.d.ts +22 -0
- package/dist/components/custom/goo-filter/index.d.ts +1 -0
- package/dist/components/custom/handmark/brush.d.ts +17 -17
- package/dist/components/custom/handmark/constants.d.ts +28 -8
- package/dist/components/custom/handmark/geometry.d.ts +34 -1
- package/dist/components/custom/handmark/index.d.ts +1 -1
- package/dist/components/custom/icon-chip/types.d.ts +10 -0
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +18 -0
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +44 -29
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +2 -0
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +3 -1
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +2 -2
- package/dist/components/custom/paper-grid/constants.d.ts +44 -6
- package/dist/components/custom/paper-grid/index.d.ts +2 -2
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +1 -1
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -1
- package/dist/components/custom/selectable-chip/chipVariants.d.ts +39 -0
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +12 -20
- package/dist/components/custom/tabs/constants.d.ts +16 -8
- package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +16 -0
- package/dist/components/custom/timeline/geometry.d.ts +0 -8
- package/dist/components/custom/toggle-chip/index.d.ts +15 -4
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +12 -10
- package/dist/components/ui/_shared/useSurfaceAxis.d.ts +17 -3
- package/dist/components/ui/badge/Badge.vue.d.ts +14 -0
- package/dist/components/ui/badge/index.d.ts +1 -0
- package/dist/components/ui/button/Button.vue.d.ts +1 -0
- package/dist/components/ui/card/Card.vue.d.ts +1 -1
- package/dist/components/ui/card/ScrollCard.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +2 -4
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +9 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +33 -14
- package/dist/components/ui/drawer/constants.d.ts +8 -6
- package/dist/components/ui/drawer/index.d.ts +12 -2
- package/dist/components/ui/select/SelectContent.vue.d.ts +9 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +9 -0
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useDragVelocity.d.ts +46 -0
- package/dist/composables/glass/wave/index.d.ts +4 -0
- package/dist/composables/glass/wave/waveField.d.ts +115 -0
- package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -0
- package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -0
- package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +95 -2
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
- package/dist/composables/glass/webgpu/index.d.ts +1 -0
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +37 -0
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +49 -2
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +1 -1
- package/dist/composables/motion/core/index.d.ts +4 -0
- package/dist/composables/motion/core/useHaptic.d.ts +48 -0
- package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +16 -17
- package/dist/composables/motion/suite.d.ts +2 -2
- package/dist/composables/motion/useBloomUp.d.ts +97 -0
- package/dist/composables/motion/useCelebrationBurst.d.ts +50 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +10 -28
- package/dist/composables/motion/useGooMorph.d.ts +72 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
- package/dist/composables/motion/useLiquidMorph.d.ts +108 -0
- package/dist/composables/motion/useLiquidPress.d.ts +12 -0
- package/dist/composables/motion/useLiquidReveal.d.ts +7 -4
- package/dist/composables/motion/useMorphField.d.ts +157 -0
- package/dist/composables/motion/useScrollPin.d.ts +49 -0
- package/dist/composables/motion/useScrollScene.d.ts +67 -0
- package/dist/concentric.js +532 -563
- package/dist/configurator.js +2 -2
- package/dist/confirm-dialog.js +3 -3
- package/dist/constellation.js +4 -4
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +2 -2
- package/dist/createCanvasLifecycle-CuCrGRfq.js +173 -0
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/deck.js +1 -1
- package/dist/dialog.js +3 -3
- package/dist/dock.js +1163 -618
- package/dist/dockContext-gFVS2gMg.js +18 -0
- package/dist/dom.js +7 -6
- package/dist/dot-flow-field.js +1114 -523
- package/dist/dot-matrix.js +348 -204
- package/dist/drawer.js +106 -96
- package/dist/{dropdown-menu-aJmV5SqE.js → dropdown-menu-CCfcCQ68.js} +3 -3
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.js +3 -3
- package/dist/expandable-container.js +2 -2
- package/dist/fading-scroll.js +1 -1
- package/dist/forms.js +6 -6
- package/dist/fourier-field.js +441 -197
- package/dist/fourier-math.js +1 -1
- package/dist/glass-panel.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +139 -135
- package/dist/goo-blob.js +11 -9
- package/dist/goo-dot-matrix.js +418 -198
- package/dist/handmark.js +137 -94
- package/dist/header-ribbon.js +1 -1
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-chip.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +7 -7
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/motion-core.js +42 -39
- package/dist/motion-curves.js +20 -14
- package/dist/motion.js +226 -26
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/paper-grid.js +315 -342
- package/dist/paperGrid-CXCSMbZ1.js +191 -0
- package/dist/popover.js +1 -1
- package/dist/{presets-CvOUqtdY.js → presets-QvYgnFIZ.js} +13 -12
- package/dist/progress.js +1 -1
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/{resolveCanvasColor-yPyIpJt9.js → resolveCanvasColor-DsSJk06I.js} +5 -5
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +7 -7
- package/dist/select.js +3 -3
- package/dist/selectable-chip.js +18 -35
- package/dist/separator.js +1 -1
- package/dist/{sheet-B2flBfLH.js → sheet-DUCIoOe0.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/sidebar.js +1 -1
- package/dist/slider-CcICPe3u.js +149 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/{spectrum-walk-BVzA7Biz.js → spectrum-walk-cBNSx_zm.js} +1 -1
- package/dist/springPresets-DfoQ6XRY.js +64 -0
- package/dist/stacked-icons.js +54 -39
- package/dist/styles/cards.css +202 -2
- package/dist/styles/components.css +1 -3
- package/dist/styles/configurator.css +172 -7
- package/dist/styles/critical-partition.mjs +35 -2
- package/dist/styles/deferred.css +2 -0
- package/dist/styles/dock/adaptive-legibility.css +119 -0
- package/dist/styles/dock/density.css +18 -10
- package/dist/styles/dock/fission-bridge.css +552 -0
- package/dist/styles/dock/layers.css +88 -124
- package/dist/styles/dock/morph-bridge.css +15 -2
- package/dist/styles/dock/morph.css +45 -114
- package/dist/styles/dock/shape.css +137 -11
- package/dist/styles/dock/shell.css +1 -3
- package/dist/styles/dock/stack-rail.css +95 -7
- package/dist/styles/dock-controls/icon-button.css +34 -2
- package/dist/styles/dock-controls/triggers.css +23 -1
- package/dist/styles/dock-controls.css +18 -0
- package/dist/styles/dock.css +16 -1
- package/dist/styles/drawer.css +166 -0
- package/dist/styles/glass/glass-atom.css +244 -0
- package/dist/styles/glass/glass-capsule.css +143 -0
- package/dist/styles/glass/glass-chip.css +215 -0
- package/dist/styles/glass/liquid-enter.css +252 -0
- package/dist/styles/glass/liquid-morph.css +850 -0
- package/dist/styles/glass/material.css +70 -1
- package/dist/styles/glass/reveal.css +22 -2
- package/dist/styles/glass/rim.css +13 -1
- package/dist/styles/glass/surfaces.css +18 -8
- package/dist/styles/glass.css +11 -0
- package/dist/styles/icon-chip.css +45 -0
- package/dist/styles/index.css +11 -0
- package/dist/styles/jubilance.css +65 -0
- package/dist/styles/motion/morph-field.css +229 -0
- package/dist/styles/paper.css +230 -14
- package/dist/styles/scroll-choreography.css +135 -78
- package/dist/styles/segmented-tabs.css +85 -51
- package/dist/styles/select.css +151 -0
- package/dist/styles/tokens/color-radius.css +1 -1
- package/dist/styles/tokens/dark-arm.css +57 -8
- package/dist/styles/tokens/glass-deep.css +8 -4
- package/dist/styles/tokens/glass-fx.css +80 -2
- package/dist/styles/tokens/glass.css +140 -8
- package/dist/styles/tokens/light-dark.css +2 -2
- package/dist/styles/tokens/property-regs.css +144 -0
- package/dist/styles/tokens/scale-paper.css +20 -8
- package/dist/styles/tokens/scheme-motion.css +92 -157
- package/dist/styles/tokens/scheme-spring.css +239 -0
- package/dist/styles/tokens/scroll-tokens.css +15 -15
- package/dist/styles/tokens/shadow.css +73 -13
- package/dist/styles/tokens.css +9 -2
- package/dist/styles/utilities/btn.css +70 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +198 -181
- package/dist/timeline.js +241 -206
- package/dist/toast.js +1 -1
- package/dist/toggle-chip.js +14 -41
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{uniformBridgeWGPU-CtAKl45L.js → uniformBridgeWGPU-BCse1SHU.js} +191 -127
- package/dist/{useAnimatedNumber-CLrxicG9.js → useAnimatedNumber-BntskVdQ.js} +1 -1
- package/dist/{useConfiguratorState-4xblKfwd.js → useConfiguratorState-22BcULzF.js} +37 -35
- package/dist/useDockCtaReceive-DX7RDb6_.js +88 -0
- package/dist/{useDragMorph-BUgAC-zK.js → useDragMorph-DGLSewwB.js} +2 -2
- package/dist/useDragVelocity-CjcfX3dA.js +57 -0
- package/dist/useGooMorph-Cs13NgYL.js +104 -0
- package/dist/useGpuSubstrate-Ceet70xq.js +347 -0
- package/dist/{useViewTransition-CUI1nAgn.js → useHaptic-CPz5BT9I.js} +40 -1
- package/dist/{useLiquidFlex-UmA6LMZu.js → useLiquidFlex-Cc6PjVJD.js} +8 -3
- package/dist/useLiquidPress-CtOQ8Z0_.js +43 -0
- package/dist/useMorphField-ogBM7ubT.js +141 -0
- package/dist/{useScrollChrome-D66AVP7C.js → useScrollChrome-JuImi1DM.js} +2 -2
- package/dist/{useSpringMount-BWDnKIwh.js → useSpringMount-DFxtzmkR.js} +1 -1
- package/dist/{useSpringPress-B1-Czp-V.js → useSpringPress-VM9RgVq3.js} +1 -1
- package/dist/{useSurfaceAxis-g0NloYEF.js → useSurfaceAxis-Ci7Dnaw2.js} +1 -1
- package/dist/{useTouchGate-CBZTD4SD.js → useTouchGate-B1Lf9XqN.js} +1 -1
- package/dist/virtual.js +1 -1
- package/dist/watercolor-dot.js +16 -26
- package/dist/writeVelocityWeight-Bh83xZfs.js +19 -0
- package/package.json +14 -3
- package/src/styles/cards.css +202 -2
- package/src/styles/configurator.css +172 -7
- package/src/styles/critical-partition.mjs +35 -2
- package/src/styles/dock/adaptive-legibility.css +119 -0
- package/src/styles/dock/density.css +18 -10
- package/src/styles/dock/fission-bridge.css +552 -0
- package/src/styles/dock/layers.css +88 -124
- package/src/styles/dock/morph-bridge.css +15 -2
- package/src/styles/dock/morph.css +45 -114
- package/src/styles/dock/shape.css +137 -11
- package/src/styles/dock/shell.css +1 -3
- package/src/styles/dock/stack-rail.css +95 -7
- package/src/styles/dock-controls/icon-button.css +34 -2
- package/src/styles/dock-controls/triggers.css +23 -1
- package/src/styles/dock-controls.css +18 -0
- package/src/styles/dock.css +16 -1
- package/src/styles/drawer.css +164 -0
- package/src/styles/glass/glass-atom.css +244 -0
- package/src/styles/glass/glass-capsule.css +143 -0
- package/src/styles/glass/glass-chip.css +215 -0
- package/src/styles/glass/liquid-enter.css +252 -0
- package/src/styles/glass/liquid-morph.css +850 -0
- package/src/styles/glass/material.css +70 -1
- package/src/styles/glass/reveal.css +22 -2
- package/src/styles/glass/rim.css +13 -1
- package/src/styles/glass/surfaces.css +18 -8
- package/src/styles/glass.css +11 -0
- package/src/styles/icon-chip.css +45 -0
- package/src/styles/index.css +11 -0
- package/src/styles/jubilance.css +65 -0
- package/src/styles/motion/morph-field.css +229 -0
- package/src/styles/paper.css +230 -14
- package/src/styles/scroll-choreography.css +135 -78
- package/src/styles/segmented-tabs.css +85 -47
- package/src/styles/select.css +151 -0
- package/src/styles/tokens/color-radius.css +1 -1
- package/src/styles/tokens/dark-arm.css +57 -8
- package/src/styles/tokens/glass-deep.css +8 -4
- package/src/styles/tokens/glass-fx.css +80 -2
- package/src/styles/tokens/glass.css +140 -8
- package/src/styles/tokens/light-dark.css +2 -2
- package/src/styles/tokens/property-regs.css +144 -0
- package/src/styles/tokens/scale-paper.css +20 -8
- package/src/styles/tokens/scheme-motion.css +92 -157
- package/src/styles/tokens/scheme-spring.css +239 -0
- package/src/styles/tokens/scroll-tokens.css +15 -15
- package/src/styles/tokens/shadow.css +73 -13
- package/src/styles/tokens.css +9 -2
- package/src/styles/utilities/btn.css +70 -0
- package/dist/DialogContent-6JtTB5x2.js +0 -106
- package/dist/PagerDots-Cjx96la-.js +0 -98
- package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
- package/dist/badge-D9XWW4GT.js +0 -53
- package/dist/button-5dY1Dvhd.js +0 -125
- package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
- package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
- package/dist/dockContext-BNfyPLe9.js +0 -17
- package/dist/slider-2A0rPn79.js +0 -142
- package/dist/springPresets-Ce7OYCm9.js +0 -46
- package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
- package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
- package/dist/useLiquidPress-BooG97RY.js +0 -39
- /package/dist/{CollapsibleContent-68dEXIAl.js → CollapsibleContent-D7UNsXQr.js} +0 -0
- /package/dist/{DialogFooter-9phqcRIS.js → DialogFooter-DoLy0ewI.js} +0 -0
- /package/dist/{InstrumentChassis-CxsHSyMj.js → InstrumentChassis-UUJX0-mW.js} +0 -0
- /package/dist/{Label-C2ejNWeC.js → Label-B_HPqi_q.js} +0 -0
- /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-DfAf7o15.js} +0 -0
- /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-Dcczq44n.js} +0 -0
- /package/dist/{SelectSeparator-C2UGOkXF.js → SelectSeparator-CNRGG7Ew.js} +0 -0
- /package/dist/{Separator-DQcwC2TR.js → Separator-Cf9-JFgi.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
- /package/dist/{color-Cs0-oxYL.js → color-B9jZdhJX.js} +0 -0
- /package/dist/{compile-nZ1xVYTp.js → compile-INR_tPk_.js} +0 -0
- /package/dist/{constants--C2DkLW8.js → constants-BWj7DkMn.js} +0 -0
- /package/dist/{createContext-CpBNTRMI.js → createContext-Cd23P9j0.js} +0 -0
- /package/dist/{dotMatrixField-D_x9_1qq.js → dotMatrixField-CRO0ZFk4.js} +0 -0
- /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-DqEGRpl4.js} +0 -0
- /package/dist/{math-Eb0w3LqU.js → math-5RcIgCB4.js} +0 -0
- /package/dist/{menuItemVariants-D8VNHq22.js → menuItemVariants-DAXquKja.js} +0 -0
- /package/dist/{prng-B-d9eYX8.js → prng-B5tIXTtj.js} +0 -0
- /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-C1Y5PkM6.js} +0 -0
- /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-rc3Ns_NM.js} +0 -0
- /package/dist/{useControlSize-SH1UmJCi.js → useControlSize-DAZ062x7.js} +0 -0
- /package/dist/{useFuzzySearch-DIhcYtcw.js → useFuzzySearch-0fTYOhS4.js} +0 -0
- /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-B4HO9LXG.js} +0 -0
- /package/dist/{useIntersectionPause-Dbozzjgm.js → useIntersectionPause-DO8Vl4gs.js} +0 -0
- /package/dist/{useInterval-CNdua40W.js → useInterval-BVUI-sez.js} +0 -0
- /package/dist/{useKeyboardShortcuts-BPRp33Im.js → useKeyboardShortcuts-BEut54Tk.js} +0 -0
- /package/dist/{usePointerVelocityField-QLsy3_kv.js → usePointerVelocityField-BrkqZFhj.js} +0 -0
- /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DdEn3v2f.js} +0 -0
- /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-ChOnCckA.js} +0 -0
- /package/dist/{useScrollProgress-c3yxmH6a.js → useScrollProgress-A0M6qRl7.js} +0 -0
- /package/dist/{useSortable-BVqlJRBR.js → useSortable-DQV_UNDw.js} +0 -0
- /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-Bma3UlKA.js} +0 -0
- /package/dist/{useTimer-BHJOKr35.js → useTimer-BBLGPXR8.js} +0 -0
- /package/dist/{useUserInvalidAria-y5namzeE.js → useUserInvalidAria-EmmwWPOl.js} +0 -0
- /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-C9pYnn7K.js} +0 -0
- /package/dist/{vReveal-D9k0jADx.js → vReveal-CT1KtwZA.js} +0 -0
|
@@ -6,12 +6,17 @@
|
|
|
6
6
|
/* ═══════════════════════════════════════════════
|
|
7
7
|
§7 SHADOWS — cartoon offset is the signature
|
|
8
8
|
═══════════════════════════════════════════════ */
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
/* BD.W-CARTOON-CEL-INK — the `--shadow-cartoon`/`-hover` aliases + the
|
|
10
|
+
`--shadow-modal` cartoon plane re-point onto the warm `--cartoon-ink-lead`
|
|
11
|
+
(0-blur down-LEFT, the cel family coherence — no neutral `--foreground` gray
|
|
12
|
+
smudge). `--cartoon-ink-lead` is defined below in this same :root block (custom
|
|
13
|
+
properties resolve order-independently). */
|
|
14
|
+
--shadow-cartoon: -3px 3px 0px 0px var(--cartoon-ink-lead);
|
|
15
|
+
--shadow-cartoon-hover: -4px 4px 0px 0px var(--cartoon-ink-lead);
|
|
11
16
|
--shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
12
17
|
--shadow-elevated: 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
13
18
|
--shadow-modal:
|
|
14
|
-
4px 4px 0px 0px
|
|
19
|
+
-4px 4px 0px 0px var(--cartoon-ink-lead),
|
|
15
20
|
0 24px 64px color-mix(in srgb, var(--foreground) 12%, transparent);
|
|
16
21
|
|
|
17
22
|
--cartoon-shadow: var(--shadow-cartoon);
|
|
@@ -88,16 +93,42 @@
|
|
|
88
93
|
--shadow-cartoon-color: rgb(0 0 0 / 0.12);
|
|
89
94
|
--shadow-cartoon-color-soft: rgb(0 0 0 / 0.06);
|
|
90
95
|
|
|
91
|
-
/*
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
/* ── BD.W-CARTOON-CEL-INK — the cartoon register's OWN warm cel ink ──────────────
|
|
97
|
+
Decoupled from `--shadow-color` so a consumer retunes the cast without
|
|
98
|
+
disturbing every elevation box-shadow. Built by EXTRACTING the warm
|
|
99
|
+
`--foreground` hue (`oklch from`) and FLOORING chroma (`max(c, 0.11)` —
|
|
100
|
+
TECHNICOLOR, not merely-non-gray, the BA.W-NO-GRAY discipline applied to the
|
|
101
|
+
cast) + DEEPENING L (`clamp(0.14, l, 0.18)`) so at stamp opacity it reads as a
|
|
102
|
+
COLORED cel line, never a neutral gray. A cel cast is INK — it stays a warm DARK
|
|
103
|
+
ink (the dark arm pins its own warm dark ink, dark-arm.css). The three planes
|
|
104
|
+
step DOWN in opacity (lead 32% / mid 26% / contact 18%) — `in oklab` NOT
|
|
105
|
+
`in srgb` (srgb muddies a warm dark ink toward gray as it dilutes; oklab holds
|
|
106
|
+
the warm hue stable across the alpha ramp — the landed gray-dilution defect). */
|
|
107
|
+
--cartoon-ink: oklch(from var(--foreground) clamp(0.14, l, 0.18) max(c, 0.11) h);
|
|
108
|
+
--cartoon-ink-lead: color-mix(in oklab, var(--cartoon-ink) 32%, transparent);
|
|
109
|
+
--cartoon-ink-mid: color-mix(in oklab, var(--cartoon-ink) 26%, transparent);
|
|
110
|
+
--cartoon-ink-contact: color-mix(in oklab, var(--cartoon-ink) 18%, transparent);
|
|
111
|
+
/* `@supports not (oklch from …)` floors the ink to a named warm sRGB literal
|
|
112
|
+
(a legacy engine gets a WARM — not gray — stamp; NO dead inline literal). */
|
|
113
|
+
--cartoon-ink-fallback: #4a3320;
|
|
114
|
+
|
|
115
|
+
/* BD.W-CARTOON-CEL-INK — the tiered cel-ink STAMP, re-pointed to the warm
|
|
116
|
+
`--cartoon-ink` rungs at HARD 0-BLUR (lead + mid + contact all 0px — the cel
|
|
117
|
+
edge; the landed 1–2px soft blur is the gray-smudge defect), keeping the LANDED
|
|
118
|
+
down-LEFT geometry (REFINE-not-flip — the direction is coherent with the
|
|
119
|
+
upper-right `--glass-key`; cast lands lower-LEFT). φ-cadenced offsets. */
|
|
120
|
+
--shadow-cartoon-sm:
|
|
121
|
+
-2px 2px 0 var(--cartoon-ink-lead),
|
|
122
|
+
-3px 3px 0 var(--cartoon-ink-mid),
|
|
123
|
+
-4px 4px 0 var(--cartoon-ink-contact);
|
|
124
|
+
--shadow-cartoon-md:
|
|
125
|
+
-3px 3px 0 var(--cartoon-ink-lead),
|
|
126
|
+
-5px 5px 0 var(--cartoon-ink-mid),
|
|
127
|
+
-7px 7px 0 var(--cartoon-ink-contact);
|
|
128
|
+
--shadow-cartoon-lg:
|
|
129
|
+
-4px 4px 0 var(--cartoon-ink-lead),
|
|
130
|
+
-7px 7px 0 var(--cartoon-ink-mid),
|
|
131
|
+
-11px 11px 0 var(--cartoon-ink-contact);
|
|
101
132
|
--cartoon-shadow-sm: var(--shadow-cartoon-sm);
|
|
102
133
|
--cartoon-shadow-md: var(--shadow-cartoon-md);
|
|
103
134
|
--cartoon-shadow-lg: var(--shadow-cartoon-lg);
|
|
@@ -164,3 +195,32 @@
|
|
|
164
195
|
color-mix(in srgb, var(--blob-shadow-color) 44%, transparent);
|
|
165
196
|
|
|
166
197
|
}
|
|
198
|
+
|
|
199
|
+
/* BD.W-CARTOON-CEL-INK — the relative-color-syntax fallback. On a legacy engine that
|
|
200
|
+
lacks `oklch(from …)`, `--cartoon-ink` would be invalid (the whole cast drops). Floor
|
|
201
|
+
it to the named warm sRGB literal `--cartoon-ink-fallback` (NOT a dead inline literal)
|
|
202
|
+
so the cel stamp degrades to a WARM — never gray, never empty — ink. The three
|
|
203
|
+
strength rungs re-derive off the floored ink for free (they `color-mix` it). */
|
|
204
|
+
@supports not (color: oklch(from white l c h)) {
|
|
205
|
+
:root {
|
|
206
|
+
--cartoon-ink: var(--cartoon-ink-fallback);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/* BD.W-CARTOON-CEL-INK — prefers-contrast / reduced-transparency floor the inked edge
|
|
211
|
+
UP (the cel cast is a legibility ASSET, not decoration; PRT is NOT a no-op — the cast
|
|
212
|
+
is translucent ink). */
|
|
213
|
+
@media (prefers-contrast: more) {
|
|
214
|
+
:root {
|
|
215
|
+
--cartoon-ink-lead: color-mix(in oklab, var(--cartoon-ink) 42%, transparent);
|
|
216
|
+
--cartoon-ink-mid: color-mix(in oklab, var(--cartoon-ink) 34%, transparent);
|
|
217
|
+
--cartoon-ink-contact: color-mix(in oklab, var(--cartoon-ink) 24%, transparent);
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
221
|
+
:root {
|
|
222
|
+
--cartoon-ink-lead: color-mix(in oklab, var(--cartoon-ink) 42%, transparent);
|
|
223
|
+
--cartoon-ink-mid: color-mix(in oklab, var(--cartoon-ink) 34%, transparent);
|
|
224
|
+
--cartoon-ink-contact: color-mix(in oklab, var(--cartoon-ink) 24%, transparent);
|
|
225
|
+
}
|
|
226
|
+
}
|
package/src/styles/tokens.css
CHANGED
|
@@ -21,10 +21,17 @@
|
|
|
21
21
|
* (registrations + the specular magnitude cohort that reads them).
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
-
/* CSS @import rules must precede every other rule. The
|
|
24
|
+
/* CSS @import rules must precede every other rule. The partials @import in
|
|
25
25
|
cascade order (offsets-sizing.css was carved into offsets.css + sizing.css at
|
|
26
|
-
BB.W-CARVE3
|
|
26
|
+
BB.W-CARVE3, and scheme-motion's §2 EASING block into scheme-spring.css at
|
|
27
|
+
BD.W-CUT — adjacent same-selector :root blocks at the same cascade slot): */
|
|
27
28
|
@import "./tokens/scheme-motion.css";
|
|
29
|
+
/* BD.W-CUT (no-god-module carve) — scheme-motion's §2 EASING block (spring
|
|
30
|
+
linear() curves + per-spring duration clocks + goo-flow curves + bezier
|
|
31
|
+
cores/aliases) carved into scheme-spring.css to hold the 500-line bound,
|
|
32
|
+
@import-ed IMMEDIATELY AFTER scheme-motion.css (adjacent same-selector :root
|
|
33
|
+
blocks at the same cascade slot — the spring/easing tokens resolve in order). */
|
|
34
|
+
@import "./tokens/scheme-spring.css";
|
|
28
35
|
@import "./tokens/color-radius.css";
|
|
29
36
|
@import "./tokens/shadow.css";
|
|
30
37
|
@import "./tokens/glass.css";
|
|
@@ -109,6 +109,76 @@
|
|
|
109
109
|
(`.gold-shimmer` static text gradient, the specular gleam, the press-scale)
|
|
110
110
|
STAY — they were never disco. */
|
|
111
111
|
|
|
112
|
+
/* ── BD.W-BUTTON-GLASS-CONSUME — `.btn-punch`, the ONE new opt-in cartoon tier ──
|
|
113
|
+
The LOUD hero interaction decoration that sits ON TOP of the shared `.glass-capsule`
|
|
114
|
+
(it is NOT a material — buttons own no material). Composed via Button.vue's
|
|
115
|
+
`punchDecoration` (default-ON for `primary-audacious`/`gold-audacious`, opt-in via the
|
|
116
|
+
`punch` prop). It re-targets the EXISTING press primitives — ZERO second spring/rAF,
|
|
117
|
+
ZERO re-forked caster:
|
|
118
|
+
|
|
119
|
+
• the LOUD register — `--motion-weight: 1` (the same loud-register coupling
|
|
120
|
+
`.cartoon-surface` carries) so the cast travel + the glyph pop are never muted to
|
|
121
|
+
the rest 0.618 (the BD.W-CARTOON-PUNCH loud-register guard). The `:root` PRM carve
|
|
122
|
+
still zeroes it under reduce (handled below).
|
|
123
|
+
• the ANTICIPATION + OVERSHOOT — the host `scale` transition leg re-points off the
|
|
124
|
+
calm `--spring-smooth` (the `.btn-pill` base) onto `--ease-cartoon-punch` (DEPEND,
|
|
125
|
+
the booked raw `linear()` with the real pre-dip-below-origin + overshoot arm). The
|
|
126
|
+
JS `useLiquidFlex` writes the reciprocal `scale` inline DURING the press (single
|
|
127
|
+
source, it wins); on RELEASE the inline scale is removed and THIS transition curve
|
|
128
|
+
carries the scale back to rest with the cartoon follow-through. ONE scalar drive,
|
|
129
|
+
no double-drive on the same property.
|
|
130
|
+
• the louder squish amplitude is the JS side (Button.vue `maxStretch` 1.04→1.09,
|
|
131
|
+
fenced ≤1.14 composed area) — the css only owns the curve + the weight.
|
|
132
|
+
• the moving inked cast is the BD.W-CARTOON-CASTER inert `.cartoon-cast` child
|
|
133
|
+
(emitted by Button.vue, driven by `--cartoon-press-t × --motion-weight`); its
|
|
134
|
+
travel/spread/lag recipe lives ONCE in cards.css — composed here, not re-forked.
|
|
135
|
+
|
|
136
|
+
The GLYPH overlapping-pop (the label settles a beat AFTER the capsule — child trails
|
|
137
|
+
parent) REFERENCES the BD.W-TABS-LIQUID glyph scale-pop register: the pop reads the
|
|
138
|
+
SAME `--motion-weight` scalar via a button-scoped `--btn-glyph-pop` magnitude (the
|
|
139
|
+
literal lives ONCE here, not re-pasted from the tabs `0.06`), delayed `--duration-fast`
|
|
140
|
+
so it lags the capsule. Exactly 1 under PRM (`--motion-weight: 0`). */
|
|
141
|
+
.btn-punch {
|
|
142
|
+
/* anchor the absolute inert `.cartoon-cast` child to THIS host (the glass variants
|
|
143
|
+
already get `position: relative` from `.glass-wash`; this guarantees it for an
|
|
144
|
+
opt-in `punch` on a non-glass variant too). */
|
|
145
|
+
position: relative;
|
|
146
|
+
--motion-weight: 1;
|
|
147
|
+
/* the press ramp the inert cast reads at REST (0); Button.vue overrides it live off
|
|
148
|
+
the spring during the press. */
|
|
149
|
+
--cartoon-press-t: 0;
|
|
150
|
+
/* re-point the scale leg onto the cartoon-punch curve (anticipation + overshoot on
|
|
151
|
+
the release leg); the surface legs stay on the bezier (the §6 doctrine). */
|
|
152
|
+
transition:
|
|
153
|
+
scale var(--spring-smooth-duration) var(--ease-cartoon-punch);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/* the glyph overlapping-action pop — the label/icon settles a beat AFTER the capsule
|
|
157
|
+
(child trails parent). DEPENDS `--motion-weight` (CONSUMED, the tabs glyph-pop idiom);
|
|
158
|
+
the magnitude literal lives once as `--btn-glyph-pop`. Delayed so it lags. */
|
|
159
|
+
.btn-punch > :not(.cartoon-cast) {
|
|
160
|
+
--btn-glyph-pop: 0.05;
|
|
161
|
+
transition: scale var(--duration-fast) var(--ease-cartoon-punch) var(--duration-fast);
|
|
162
|
+
}
|
|
163
|
+
.btn-punch:active > :not(.cartoon-cast) {
|
|
164
|
+
scale: calc(1 + var(--btn-glyph-pop) * var(--motion-weight));
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
/* PRM carve — under reduced-motion the LOUD register zeroes in ONE assignment (every
|
|
168
|
+
`calc(… * --motion-weight)` — the cast travel/spread + the glyph pop — collapses to
|
|
169
|
+
rest) and `--ease-cartoon-punch` degrades to the calm `--ease-standard`; the press
|
|
170
|
+
still FUNCTIONS (the spring snaps, the squish physics off), the warm capsule fill +
|
|
171
|
+
rim + lift are STATIC (present for everyone). */
|
|
172
|
+
@media (prefers-reduced-motion: reduce) {
|
|
173
|
+
.btn-punch {
|
|
174
|
+
--motion-weight: 0;
|
|
175
|
+
transition: scale var(--spring-smooth-duration) var(--ease-standard);
|
|
176
|
+
}
|
|
177
|
+
.btn-punch > :not(.cartoon-cast) {
|
|
178
|
+
transition: none;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
112
182
|
/* ── Table density utilities — AN.R0 ─────────────────────────────────────
|
|
113
183
|
`table-cell` and `table-head` replace the former Tailwind `p-4` / `h-12`
|
|
114
184
|
literals in TableCell.vue / TableHead.vue. Both read `--table-density`
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./vendor-B2qOlYY3.js";
|
|
3
|
-
import { t as n } from "./useSurfaceAxis-g0NloYEF.js";
|
|
4
|
-
import { t as r } from "./useSpringMount-BWDnKIwh.js";
|
|
5
|
-
import { t as i } from "./ModalOverlay-D1VrWyoi.js";
|
|
6
|
-
import { computed as a, createBlock as o, createCommentVNode as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, unref as m, withCtx as h } from "vue";
|
|
7
|
-
import { DialogClose as g, DialogContent as _, DialogPortal as v, DialogRoot as y, injectDialogRootContext as b, useForwardPropsEmits as x } from "reka-ui";
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/ui/dialog/Dialog.vue
|
|
10
|
-
var S = /* @__PURE__ */ u({
|
|
11
|
-
__name: "Dialog",
|
|
12
|
-
props: {
|
|
13
|
-
open: { type: Boolean },
|
|
14
|
-
defaultOpen: { type: Boolean },
|
|
15
|
-
modal: { type: Boolean }
|
|
16
|
-
},
|
|
17
|
-
emits: ["update:open"],
|
|
18
|
-
setup(e, { emit: t }) {
|
|
19
|
-
let n = x(e, t);
|
|
20
|
-
return (e, t) => (f(), o(m(y), d({ "data-slot": "dialog" }, m(n)), {
|
|
21
|
-
default: h(() => [p(e.$slots, "default")]),
|
|
22
|
-
_: 3
|
|
23
|
-
}, 16));
|
|
24
|
-
}
|
|
25
|
-
}), C = "fixed left-1/2 top-1/2 z-modal grid w-full max-w-lg gap-4 [--overlay-pad-inline:--spacing(6)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)] px-(--overlay-pad-inline) py-(--overlay-pad-block)", w = "-translate-x-1/2 -translate-y-1/2 glass-reveal", T = /* @__PURE__ */ u({
|
|
26
|
-
__name: "DialogContent",
|
|
27
|
-
props: {
|
|
28
|
-
forceMount: { type: Boolean },
|
|
29
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
30
|
-
asChild: { type: Boolean },
|
|
31
|
-
as: {},
|
|
32
|
-
class: { type: [
|
|
33
|
-
Boolean,
|
|
34
|
-
null,
|
|
35
|
-
String,
|
|
36
|
-
Object,
|
|
37
|
-
Array
|
|
38
|
-
] },
|
|
39
|
-
surface: { default: "glass" },
|
|
40
|
-
scrimAnimation: {},
|
|
41
|
-
spring: { type: [Boolean, String] },
|
|
42
|
-
showClose: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: !0
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
emits: [
|
|
48
|
-
"escapeKeyDown",
|
|
49
|
-
"pointerDownOutside",
|
|
50
|
-
"focusOutside",
|
|
51
|
-
"interactOutside",
|
|
52
|
-
"openAutoFocus",
|
|
53
|
-
"closeAutoFocus"
|
|
54
|
-
],
|
|
55
|
-
setup(u, { emit: y }) {
|
|
56
|
-
let S = u, T = y, E = x(a(() => {
|
|
57
|
-
let { class: e, surface: t, scrimAnimation: n, spring: r, showClose: i, ...a } = S;
|
|
58
|
-
return a;
|
|
59
|
-
}), T), D = a(() => e(n(S.surface, "floating"), "rounded-dialog")), O = S.spring ? b() : null, k = S.spring && O ? r({
|
|
60
|
-
open: O.open,
|
|
61
|
-
preset: typeof S.spring == "string" ? S.spring : "smooth"
|
|
62
|
-
}) : null, A = a(() => {
|
|
63
|
-
if (!k) return;
|
|
64
|
-
let e = k.position.value;
|
|
65
|
-
return {
|
|
66
|
-
transform: `translate(-50%, -50%) scale(${1 - .05 * e})`,
|
|
67
|
-
opacity: String(1 - e),
|
|
68
|
-
animation: "none",
|
|
69
|
-
transition: "none"
|
|
70
|
-
};
|
|
71
|
-
}), j = { "--glass-bg-floating": "var(--glass-bg-dialog)" }, M = a(() => ({
|
|
72
|
-
...j,
|
|
73
|
-
...A.value ?? {}
|
|
74
|
-
}));
|
|
75
|
-
return (n, r) => (f(), o(m(v), null, {
|
|
76
|
-
default: h(() => [l(i, {
|
|
77
|
-
scrim: "glass",
|
|
78
|
-
animate: "fade",
|
|
79
|
-
layout: "centered",
|
|
80
|
-
"scrim-animation": S.scrimAnimation
|
|
81
|
-
}, null, 8, ["scrim-animation"]), l(m(_), d(m(E), {
|
|
82
|
-
class: m(e)(C, S.spring ? "" : w, D.value, S.class),
|
|
83
|
-
style: M.value,
|
|
84
|
-
"data-surface": S.surface,
|
|
85
|
-
"data-spring": S.spring ? typeof S.spring == "string" ? S.spring : "smooth" : void 0
|
|
86
|
-
}), {
|
|
87
|
-
default: h(() => [p(n.$slots, "default"), S.showClose ? (f(), o(m(g), {
|
|
88
|
-
key: 0,
|
|
89
|
-
class: "focus-ring absolute right-(--overlay-pad-inline) top-(--overlay-pad-block) rounded-sm opacity-70 transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
|
|
90
|
-
}, {
|
|
91
|
-
default: h(() => [l(m(t), { class: "w-4 h-4" }), r[0] ||= c("span", { class: "sr-only" }, "Close", -1)]),
|
|
92
|
-
_: 1
|
|
93
|
-
})) : s("", !0)]),
|
|
94
|
-
_: 3
|
|
95
|
-
}, 16, [
|
|
96
|
-
"class",
|
|
97
|
-
"style",
|
|
98
|
-
"data-surface",
|
|
99
|
-
"data-spring"
|
|
100
|
-
])]),
|
|
101
|
-
_: 3
|
|
102
|
-
}));
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
//#endregion
|
|
106
|
-
export { S as n, T as t };
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
3
|
-
import { Fragment as n, computed as r, createElementBlock as i, defineComponent as a, mergeModels as o, nextTick as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, unref as f, useModel as p, watch as m } from "vue";
|
|
4
|
-
//#region src/components/custom/pager-dots/pagerWindow.ts
|
|
5
|
-
function h(e, t, n) {
|
|
6
|
-
let r = Math.max(1, Math.min(n, e)), i = e <= r ? 0 : Math.max(0, Math.min(t - Math.floor(r / 2), e - r)), a = Math.min(r, e), o = Array.from({ length: a }, (e, t) => i + t);
|
|
7
|
-
return {
|
|
8
|
-
shown: o,
|
|
9
|
-
clippedStart: o.length > 0 && o[0] > 0,
|
|
10
|
-
clippedEnd: o.length > 0 && o[o.length - 1] < e - 1
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
//#endregion
|
|
14
|
-
//#region src/components/custom/pager-dots/PagerDots.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
-
var g = [
|
|
16
|
-
"role",
|
|
17
|
-
"aria-label",
|
|
18
|
-
"aria-orientation",
|
|
19
|
-
"data-orientation"
|
|
20
|
-
], _ = [
|
|
21
|
-
"role",
|
|
22
|
-
"aria-selected",
|
|
23
|
-
"aria-current",
|
|
24
|
-
"aria-label",
|
|
25
|
-
"data-active",
|
|
26
|
-
"data-edge",
|
|
27
|
-
"onClick"
|
|
28
|
-
], v = /* @__PURE__ */ t(/* @__PURE__ */ a({
|
|
29
|
-
__name: "PagerDots",
|
|
30
|
-
props: /* @__PURE__ */ o({
|
|
31
|
-
count: {},
|
|
32
|
-
orientation: { default: "horizontal" },
|
|
33
|
-
windowFit: {},
|
|
34
|
-
ring: {
|
|
35
|
-
type: Boolean,
|
|
36
|
-
default: !0
|
|
37
|
-
},
|
|
38
|
-
pattern: { default: "tabs" },
|
|
39
|
-
ariaLabel: { default: "Pager" },
|
|
40
|
-
class: { type: [
|
|
41
|
-
Boolean,
|
|
42
|
-
null,
|
|
43
|
-
String,
|
|
44
|
-
Object,
|
|
45
|
-
Array
|
|
46
|
-
] }
|
|
47
|
-
}, {
|
|
48
|
-
active: { default: 0 },
|
|
49
|
-
activeModifiers: {}
|
|
50
|
-
}),
|
|
51
|
-
emits: /* @__PURE__ */ o(["select"], ["update:active"]),
|
|
52
|
-
setup(t, { emit: a }) {
|
|
53
|
-
let o = t, v = a, y = p(t, "active"), b = u(null), x = /* @__PURE__ */ new Map();
|
|
54
|
-
function S(e, t) {
|
|
55
|
-
t ? x.set(e, t) : x.delete(e);
|
|
56
|
-
}
|
|
57
|
-
let C = r(() => o.windowFit && o.windowFit > 0 ? h(o.count, y.value, o.windowFit) : {
|
|
58
|
-
shown: Array.from({ length: Math.max(0, o.count) }, (e, t) => t),
|
|
59
|
-
clippedStart: !1,
|
|
60
|
-
clippedEnd: !1
|
|
61
|
-
}), w = r(() => C.value.shown);
|
|
62
|
-
m(w, (e) => {
|
|
63
|
-
let t = b.value;
|
|
64
|
-
if (!t || !t.contains(document.activeElement)) return;
|
|
65
|
-
let n = document.activeElement;
|
|
66
|
-
e.some((e) => x.get(e) === n) || s(() => x.get(y.value)?.focus());
|
|
67
|
-
});
|
|
68
|
-
function T(e) {
|
|
69
|
-
y.value = e, v("select", e);
|
|
70
|
-
}
|
|
71
|
-
return (r, a) => (l(), i("div", {
|
|
72
|
-
ref_key: "rootEl",
|
|
73
|
-
ref: b,
|
|
74
|
-
"data-slot": "pager-dots",
|
|
75
|
-
role: t.pattern === "group" ? "group" : "tablist",
|
|
76
|
-
"aria-label": t.ariaLabel,
|
|
77
|
-
"aria-orientation": t.pattern === "group" ? void 0 : t.orientation,
|
|
78
|
-
"data-orientation": t.orientation,
|
|
79
|
-
class: c(f(e)("pager-dots inline-flex items-center justify-center gap-1.5", t.ring && "glass-pager-ring", t.orientation === "vertical" && "flex-col", o.class))
|
|
80
|
-
}, [(l(!0), i(n, null, d(w.value, (e, n) => (l(), i("button", {
|
|
81
|
-
key: e,
|
|
82
|
-
ref_for: !0,
|
|
83
|
-
ref: (t) => S(e, t),
|
|
84
|
-
type: "button",
|
|
85
|
-
role: t.pattern === "group" ? void 0 : "tab",
|
|
86
|
-
"aria-selected": t.pattern === "group" ? void 0 : e === y.value,
|
|
87
|
-
"aria-current": t.pattern === "group" && e === y.value ? "true" : void 0,
|
|
88
|
-
"aria-label": `Go to slide ${e + 1}`,
|
|
89
|
-
"data-active": e === y.value ? "" : void 0,
|
|
90
|
-
"data-edge": n === 0 && C.value.clippedStart || n === w.value.length - 1 && C.value.clippedEnd ? "" : void 0,
|
|
91
|
-
"data-slot": "pager-dot",
|
|
92
|
-
class: "pager-dot focus-ring tap-squish",
|
|
93
|
-
onClick: (t) => T(e)
|
|
94
|
-
}, null, 8, _))), 128))], 10, g));
|
|
95
|
-
}
|
|
96
|
-
}), [["__scopeId", "data-v-8a305958"]]);
|
|
97
|
-
//#endregion
|
|
98
|
-
export { h as n, v as t };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { computed as t, createElementBlock as n, defineComponent as r, normalizeClass as i, normalizeStyle as a, openBlock as o, unref as s } from "vue";
|
|
3
|
-
//#endregion
|
|
4
|
-
//#region src/components/custom/paper-backdrop/PaperBackdrop.vue
|
|
5
|
-
var c = /* @__PURE__ */ r({
|
|
6
|
-
__name: "PaperBackdrop",
|
|
7
|
-
props: {
|
|
8
|
-
opacity: {},
|
|
9
|
-
frequency: {},
|
|
10
|
-
class: { type: [
|
|
11
|
-
Boolean,
|
|
12
|
-
null,
|
|
13
|
-
String,
|
|
14
|
-
Object,
|
|
15
|
-
Array
|
|
16
|
-
] }
|
|
17
|
-
},
|
|
18
|
-
setup(r) {
|
|
19
|
-
let c = r, l = t(() => {
|
|
20
|
-
let e = {};
|
|
21
|
-
return c.opacity !== void 0 && (e.opacity = String(c.opacity)), c.frequency === "aged" && (e.backgroundImage = "var(--paper-aged-texture)"), e;
|
|
22
|
-
});
|
|
23
|
-
return (t, r) => (o(), n("div", {
|
|
24
|
-
class: i(s(e)("paper-underpaint", c.class)),
|
|
25
|
-
style: a(l.value),
|
|
26
|
-
"aria-hidden": "true"
|
|
27
|
-
}, null, 6));
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
//#endregion
|
|
31
|
-
export { c as t };
|
package/dist/badge-D9XWW4GT.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { createElementBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, renderSlot as a, unref as o } from "vue";
|
|
3
|
-
import { cva as s } from "class-variance-authority";
|
|
4
|
-
//#region src/components/ui/badge/Badge.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var c = ["data-variant", "data-size"], l = /* @__PURE__ */ n({
|
|
6
|
-
__name: "Badge",
|
|
7
|
-
props: {
|
|
8
|
-
variant: {},
|
|
9
|
-
size: {},
|
|
10
|
-
class: { type: [
|
|
11
|
-
Boolean,
|
|
12
|
-
null,
|
|
13
|
-
String,
|
|
14
|
-
Object,
|
|
15
|
-
Array
|
|
16
|
-
] }
|
|
17
|
-
},
|
|
18
|
-
setup(n) {
|
|
19
|
-
let s = n;
|
|
20
|
-
return (l, d) => (i(), t("div", {
|
|
21
|
-
"data-slot": "badge",
|
|
22
|
-
"data-variant": n.variant,
|
|
23
|
-
"data-size": n.size,
|
|
24
|
-
class: r(o(e)(o(u)({
|
|
25
|
-
variant: n.variant,
|
|
26
|
-
size: n.size
|
|
27
|
-
}), s.class))
|
|
28
|
-
}, [a(l.$slots, "default")], 10, c));
|
|
29
|
-
}
|
|
30
|
-
}), u = s("focus-ring inline-flex items-center gap-1.5 rounded-badge border font-semibold transition-control wrap-anywhere [&_svg:not([class*=size-])]:size-(--ui-glyph-sm) [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
31
|
-
variants: {
|
|
32
|
-
variant: {
|
|
33
|
-
default: "border-transparent bg-primary text-primary-foreground hover:bg-primary/80",
|
|
34
|
-
secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
|
|
35
|
-
destructive: "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80 dark:bg-[hsl(0_70%_45%)] dark:hover:bg-[hsl(0_70%_45%)]/85",
|
|
36
|
-
outline: "text-foreground",
|
|
37
|
-
success: "border-transparent bg-success text-success-foreground hover:bg-success/80",
|
|
38
|
-
warning: "border-transparent bg-warning text-warning-foreground hover:bg-warning/80",
|
|
39
|
-
info: "border-transparent bg-info text-info-foreground hover:bg-info/80"
|
|
40
|
-
},
|
|
41
|
-
size: {
|
|
42
|
-
sm: "text-[length:var(--control-text-sm)] leading-4 px-2 py-0.5",
|
|
43
|
-
md: "text-[length:var(--control-text)] leading-5 px-2.5 py-1",
|
|
44
|
-
lg: "text-[length:calc(var(--type-body)*var(--ui-scale))] leading-6 px-3 py-1.5"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
defaultVariants: {
|
|
48
|
-
variant: "default",
|
|
49
|
-
size: "md"
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
//#endregion
|
|
53
|
-
export { l as n, u as t };
|
package/dist/button-5dY1Dvhd.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./useSpringPress-B1-Czp-V.js";
|
|
3
|
-
import { t as n } from "./useLiquidFlex-UmA6LMZu.js";
|
|
4
|
-
import { t as r } from "./vSpecular-EX7loENl.js";
|
|
5
|
-
import { computed as i, createBlock as a, defineComponent as o, mergeProps as s, openBlock as c, renderSlot as l, unref as u, watch as d, withCtx as f, withDirectives as p } from "vue";
|
|
6
|
-
import { Primitive as m } from "reka-ui";
|
|
7
|
-
import { cva as h } from "class-variance-authority";
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region src/components/ui/button/Button.vue
|
|
10
|
-
var g = /* @__PURE__ */ o({
|
|
11
|
-
__name: "Button",
|
|
12
|
-
props: {
|
|
13
|
-
variant: {},
|
|
14
|
-
size: {},
|
|
15
|
-
class: { type: [
|
|
16
|
-
Boolean,
|
|
17
|
-
null,
|
|
18
|
-
String,
|
|
19
|
-
Object,
|
|
20
|
-
Array
|
|
21
|
-
] },
|
|
22
|
-
surface: {},
|
|
23
|
-
liquid: { type: Boolean },
|
|
24
|
-
type: {},
|
|
25
|
-
disabled: { type: [Boolean, String] },
|
|
26
|
-
asChild: { type: Boolean },
|
|
27
|
-
as: { default: "button" }
|
|
28
|
-
},
|
|
29
|
-
setup(o) {
|
|
30
|
-
let h = o, g = i(() => ({
|
|
31
|
-
type: h.type,
|
|
32
|
-
disabled: h.disabled
|
|
33
|
-
})), v = i(() => {
|
|
34
|
-
if (h.surface === "veil") return "veil-surface";
|
|
35
|
-
if (h.surface === "opaque") return "glass-opaque";
|
|
36
|
-
}), y = t(), b = n({
|
|
37
|
-
from: 0,
|
|
38
|
-
to: 1,
|
|
39
|
-
axis: "width",
|
|
40
|
-
maxStretch: 1.04,
|
|
41
|
-
squishLaw: "linear"
|
|
42
|
-
});
|
|
43
|
-
d(() => y.value.value, (e) => b.squish(e), {
|
|
44
|
-
immediate: !0,
|
|
45
|
-
flush: "sync"
|
|
46
|
-
});
|
|
47
|
-
let x = i(() => {
|
|
48
|
-
let e = y.value.value, t = b.stretch.value, n = 1 - e * .03, r = (n * t).toFixed(4), i = (n / t).toFixed(4), a = { "--glass-btn-press-t": e.toFixed(4) };
|
|
49
|
-
return e > .001 && (a.scale = `${r} ${i}`), a;
|
|
50
|
-
}), S = new Set([
|
|
51
|
-
"default",
|
|
52
|
-
"glass",
|
|
53
|
-
"glass-wash",
|
|
54
|
-
"primary-audacious",
|
|
55
|
-
"gold-audacious",
|
|
56
|
-
"outline",
|
|
57
|
-
"secondary",
|
|
58
|
-
"accent"
|
|
59
|
-
]), C = i(() => S.has(h.variant ?? "default")), w = i(() => ({ ...x.value })), T = i(() => h.liquid ? "glass-lens" : void 0);
|
|
60
|
-
return (t, n) => p((c(), a(u(m), s({
|
|
61
|
-
as: o.as,
|
|
62
|
-
"as-child": o.asChild,
|
|
63
|
-
"data-slot": "button",
|
|
64
|
-
"data-variant": o.variant,
|
|
65
|
-
"data-size": o.size,
|
|
66
|
-
"data-surface": o.surface
|
|
67
|
-
}, g.value, {
|
|
68
|
-
class: u(e)(u(_)({
|
|
69
|
-
variant: o.variant,
|
|
70
|
-
size: o.size
|
|
71
|
-
}), v.value, T.value, h.class),
|
|
72
|
-
style: w.value,
|
|
73
|
-
onPointerdown: u(y).press,
|
|
74
|
-
onPointerup: u(y).release,
|
|
75
|
-
onPointercancel: u(y).release,
|
|
76
|
-
onPointerleave: u(y).release
|
|
77
|
-
}), {
|
|
78
|
-
default: f(() => [l(t.$slots, "default")]),
|
|
79
|
-
_: 3
|
|
80
|
-
}, 16, [
|
|
81
|
-
"as",
|
|
82
|
-
"as-child",
|
|
83
|
-
"data-variant",
|
|
84
|
-
"data-size",
|
|
85
|
-
"data-surface",
|
|
86
|
-
"class",
|
|
87
|
-
"style",
|
|
88
|
-
"onPointerdown",
|
|
89
|
-
"onPointerup",
|
|
90
|
-
"onPointercancel",
|
|
91
|
-
"onPointerleave"
|
|
92
|
-
])), [[u(r), C.value]]);
|
|
93
|
-
}
|
|
94
|
-
}), _ = h("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", {
|
|
95
|
-
variants: {
|
|
96
|
-
variant: {
|
|
97
|
-
default: "glass-wash btn-glass glass-deep text-foreground hover:bg-(--glass-bg-resting-tinted) hover:border-(--glass-border-resting) active:bg-(--glass-bg-floating-tinted) active:border-(--glass-border-floating) aria-pressed:bg-[color-mix(in_srgb,var(--foreground)_10%,var(--glass-bg-resting-tinted))]",
|
|
98
|
-
"primary-audacious": "glass-wash btn-glass glass-deep text-foreground hover:bg-(--glass-bg-resting-tinted) hover:border-(--glass-border-resting) active:bg-(--glass-bg-floating-tinted) active:border-(--glass-border-floating) aria-pressed:bg-[color-mix(in_srgb,var(--foreground)_10%,var(--glass-bg-resting-tinted))] hover:scale-(--scale-hover-btn) aria-pressed:scale-(--scale-press-btn)",
|
|
99
|
-
"gold-audacious": "glass-wash btn-glass text-foreground bg-[linear-gradient(135deg,color-mix(in_srgb,var(--color-gold)_10%,transparent),color-mix(in_srgb,var(--color-gold-light)_6%,transparent)_50%,color-mix(in_srgb,var(--color-gold)_10%,transparent))] hover:bg-[linear-gradient(135deg,color-mix(in_srgb,var(--color-gold)_16%,transparent),color-mix(in_srgb,var(--color-gold-light)_10%,transparent)_50%,color-mix(in_srgb,var(--color-gold)_16%,transparent))] hover:scale-(--scale-hover-btn) aria-pressed:scale-(--scale-press-btn)",
|
|
100
|
-
destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90 active:bg-destructive/80 aria-pressed:bg-destructive/85",
|
|
101
|
-
outline: "glass-wash btn-glass text-foreground border-(--glass-border-floating) hover:bg-(--glass-bg-quiet-tinted) hover:border-(--glass-border-resting) active:bg-(--glass-bg-resting-tinted) active:border-(--glass-border-floating) aria-pressed:bg-(--glass-bg-resting-tinted)",
|
|
102
|
-
secondary: "glass-wash btn-glass text-foreground hover:bg-(--glass-bg-quiet-tinted) hover:border-(--glass-border-resting) active:bg-(--glass-bg-resting-tinted) aria-pressed:bg-(--glass-bg-resting-tinted)",
|
|
103
|
-
accent: "glass-wash btn-glass text-foreground border-(--glass-border-resting) hover:bg-(--glass-bg-resting-tinted) hover:border-(--glass-border-floating) active:bg-(--glass-bg-floating-tinted) aria-pressed:bg-(--glass-bg-resting-tinted)",
|
|
104
|
-
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",
|
|
105
|
-
glass: "glass-wash btn-glass text-foreground hover:bg-(--glass-bg-resting-tinted) hover:border-(--glass-border-resting) active:bg-(--glass-bg-floating-tinted) active:border-(--glass-border-floating) aria-pressed:bg-[color-mix(in_srgb,var(--foreground)_10%,var(--glass-bg-resting-tinted))]",
|
|
106
|
-
"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",
|
|
107
|
-
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",
|
|
108
|
-
link: "text-primary underline-offset-4 hover:underline active:opacity-80 active:scale-100"
|
|
109
|
-
},
|
|
110
|
-
size: {
|
|
111
|
-
default: "h-(--control-h-md) px-4 py-2 has-[>svg]:px-3",
|
|
112
|
-
xs: "h-(--control-h-xs) rounded-pill px-2 text-[length:var(--control-text-sm)]",
|
|
113
|
-
sm: "h-(--control-h-sm) rounded-pill px-3",
|
|
114
|
-
lg: "h-(--control-h-lg) rounded-pill px-8 has-[>svg]:px-5",
|
|
115
|
-
icon: "h-(--control-h-md) w-(--control-h-md) p-0",
|
|
116
|
-
"icon-sm": "h-(--control-h-xs) w-(--control-h-xs) p-0"
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
defaultVariants: {
|
|
120
|
-
variant: "default",
|
|
121
|
-
size: "default"
|
|
122
|
-
}
|
|
123
|
-
});
|
|
124
|
-
//#endregion
|
|
125
|
-
export { g as n, _ as t };
|