@mkbabb/glass-ui 4.0.1 → 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-CW7a0m8M.js → CardAction-DlVP2evz.js} +72 -53
- package/dist/{CommandShortcut-DvZNQ_HF.js → CommandShortcut-By-VQcLO.js} +25 -14
- package/dist/{ConfiguratorRow-BR4l-ixA.js → ConfiguratorRow-YMXdINHx.js} +14 -14
- package/dist/ContextMenuContent-CMWn6huB.js +90 -0
- package/dist/{ContextMenuSubContent-xol4sD2q.js → ContextMenuSubContent-DvwWCUc0.js} +16 -16
- package/dist/{DataTable-CuKwF7wr.js → DataTable-C4tG3eIJ.js} +4 -4
- package/dist/DialogContent-D8U9ZfWS.js +121 -0
- package/dist/DialogFooter-DoLy0ewI.js +80 -0
- package/dist/DialogScrollContent-BMekN7gq.js +93 -0
- package/dist/{FadingScroll-DI6hQhT9.js → FadingScroll-P8B30rAD.js} +1 -1
- package/dist/HoverCardContent-DAmGYglo.js +88 -0
- package/dist/{HoverPopover-CbqbNwgU.js → HoverPopover-DYpBOzzF.js} +1 -1
- package/dist/{IconChip-BTD-nay5.js → IconChip-CQa7XZYc.js} +7 -5
- package/dist/{IconTooltip-Bl8gFZ8d.js → IconTooltip-_df8M3xm.js} +1 -1
- package/dist/Input-CyU4_hIC.js +57 -0
- package/dist/{MetricBadge-RHdBP72w.js → MetricBadge-DQt_dGah.js} +1 -1
- package/dist/{Notification-VUwexFUf.js → Notification-BlSPJhtZ.js} +4 -4
- package/dist/NumberFieldContent-Z3VxGu_6.js +140 -0
- 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-DctG61iZ.js → Progress-C9SsdwIZ.js} +1 -1
- package/dist/{ScrollingText-yOpBzFYq.js → ScrollingText-DY3W1Jfh.js} +2 -2
- package/dist/SelectScrollDownButton-3mFHX_R-.js +260 -0
- package/dist/{SelectSeparator-DXswVdRz.js → SelectSeparator-CNRGG7Ew.js} +1 -1
- package/dist/Separator-Cf9-JFgi.js +44 -0
- package/dist/Switch-uf-UKPA2.js +49 -0
- package/dist/{Toaster-Bw4xR8xV.js → Toaster-ozrsR4mP.js} +2 -2
- package/dist/{ToggleGroupItem-pEM9vIhs.js → ToggleGroupItem-BpzaVzNm.js} +6 -6
- package/dist/TooltipProvider-QQVM_80r.js +109 -0
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +16 -32
- package/dist/api/types-extra.d.ts +33 -0
- package/dist/api.js +2 -2
- package/dist/aurora.js +629 -269
- package/dist/badge-Bt14yURi.js +72 -0
- package/dist/badge.js +1 -1
- package/dist/border-progress.js +49 -57
- package/dist/button-D1W9PrzI.js +130 -0
- package/dist/button.js +1 -1
- package/dist/canvas.js +2 -3
- package/dist/card.js +1 -1
- package/dist/carousel.js +235 -106
- package/dist/chipVariants-BJQ0I2kB.js +18 -0
- package/dist/collapsible.js +1 -1
- package/dist/color-B9jZdhJX.js +116 -0
- package/dist/color.js +2 -2
- package/dist/command.js +1 -1
- package/dist/completion-seal.d.ts +1 -0
- package/dist/completion-seal.js +89 -0
- package/dist/components/custom/aurora/Aurora.vue.d.ts +10 -5
- package/dist/components/custom/aurora/composables/color.d.ts +13 -0
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +9 -0
- package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
- package/dist/components/custom/aurora/composables/runtime.d.ts +12 -0
- package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +12 -3
- package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +47 -0
- package/dist/components/custom/aurora/constants/renderMode.d.ts +16 -8
- package/dist/components/custom/aurora/constants/shaders/aurora-mediums.wgsl.d.ts +1 -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/border-progress/composables/spectrum-walk.d.ts +25 -0
- package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +14 -18
- package/dist/components/custom/border-progress/index.d.ts +1 -1
- package/dist/components/custom/completion-seal/CompletionSeal.vue.d.ts +21 -0
- package/dist/components/custom/completion-seal/composables/useCompletionSeal.d.ts +37 -0
- package/dist/components/custom/completion-seal/constants.d.ts +46 -0
- package/dist/components/custom/completion-seal/index.d.ts +4 -0
- package/dist/components/custom/concentric/Concentric.vue.d.ts +15 -12
- package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +12 -0
- package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
- package/dist/components/custom/concentric/composables/levelField.d.ts +50 -0
- package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +7 -3
- package/dist/components/custom/concentric/composables/useConcentric.d.ts +3 -3
- package/dist/components/custom/concentric/constants.d.ts +69 -24
- 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/confirm-dialog/ConfirmDialog.vue.d.ts +3 -3
- package/dist/components/custom/constellation/Constellation.vue.d.ts +5 -4
- package/dist/components/custom/constellation/composables/constellationGLSetup.d.ts +10 -0
- package/dist/components/custom/constellation/composables/constellationWGPUSetup.d.ts +19 -0
- package/dist/components/custom/constellation/composables/uniformBridgeWGPU.d.ts +66 -0
- package/dist/components/custom/constellation/composables/useConstellation.d.ts +3 -10
- package/dist/components/custom/constellation/constants.d.ts +33 -0
- package/dist/components/custom/constellation/constellationField.d.ts +31 -1
- package/dist/components/custom/constellation/constellationInteraction.d.ts +23 -14
- package/dist/components/custom/constellation/constellationRender.d.ts +25 -0
- package/dist/components/custom/constellation/constellationTypes.d.ts +38 -0
- package/dist/components/custom/constellation/constellationWell.d.ts +15 -0
- package/dist/components/custom/constellation/index.d.ts +5 -5
- package/dist/components/custom/constellation/shaders/constellation-lines.glsl.d.ts +2 -0
- package/dist/components/custom/constellation/shaders/constellation-lines.wgsl.d.ts +1 -0
- package/dist/components/custom/constellation/shaders/constellation-points.glsl.d.ts +2 -0
- package/dist/components/custom/constellation/shaders/constellation-points.wgsl.d.ts +1 -0
- package/dist/components/custom/deck/DeckPager.vue.d.ts +29 -0
- package/dist/components/custom/deck/composables/useDeck.d.ts +27 -0
- package/dist/components/custom/deck/composables/useDeckKeyboard.d.ts +25 -0
- package/dist/components/custom/deck/composables/useDeckSpring.d.ts +22 -0
- package/dist/components/custom/deck/constants.d.ts +14 -0
- package/dist/components/custom/deck/index.d.ts +8 -0
- package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +4 -3
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +22 -0
- package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +19 -0
- package/dist/components/custom/dock/DockStack.vue.d.ts +78 -0
- package/dist/components/custom/dock/GlassDock.vue.d.ts +21 -3
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +18 -32
- package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +78 -67
- package/dist/components/custom/dock/composables/index.d.ts +3 -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/useDockSearch.d.ts +85 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +49 -0
- package/dist/components/custom/dock/constants.d.ts +32 -17
- package/dist/components/custom/dock/index.d.ts +8 -2
- package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +15 -11
- package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +69 -6
- 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 +50 -9
- package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +6 -5
- package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +23 -9
- package/dist/components/custom/dot-flow-field/constants.d.ts +92 -20
- package/dist/components/custom/dot-flow-field/index.d.ts +2 -2
- 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 +31 -18
- package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +2 -1
- package/dist/components/custom/dot-matrix/DotMatrix.vue.d.ts +43 -0
- package/dist/components/custom/dot-matrix/composables/dotMatrixField.d.ts +89 -0
- package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +61 -0
- package/dist/components/custom/dot-matrix/composables/useDotMatrix.d.ts +34 -0
- package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +34 -0
- package/dist/components/custom/dot-matrix/constants.d.ts +72 -0
- package/dist/components/custom/dot-matrix/index.d.ts +5 -0
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +4 -0
- package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -0
- package/dist/components/custom/easing/EasingPicker.vue.d.ts +2 -2
- package/dist/components/custom/easing/composables/useEasingPicker.d.ts +5 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +11 -0
- package/dist/components/custom/fourier-field/FourierField.vue.d.ts +44 -47
- package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +24 -0
- package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +31 -0
- package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +56 -0
- package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +61 -37
- package/dist/components/custom/fourier-field/constants.d.ts +114 -4
- package/dist/components/custom/fourier-field/index.d.ts +23 -18
- package/dist/components/custom/fourier-field/shaders/fourier-field.compute.wgsl.d.ts +1 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +4 -0
- package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +9 -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/index.d.ts +1 -1
- package/dist/components/custom/goo-blob/shaders/metaball-noise.wgsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/metaball-palette.wgsl.d.ts +1 -0
- 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 +86 -1
- package/dist/components/custom/goo-dot-matrix/GooDotMatrix.vue.d.ts +49 -0
- package/dist/components/custom/goo-dot-matrix/composables/gooDotLattice.d.ts +24 -0
- package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +79 -0
- package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +45 -0
- package/dist/components/custom/goo-dot-matrix/composables/useGooDotMatrix.d.ts +31 -0
- package/dist/components/custom/goo-dot-matrix/constants.d.ts +115 -0
- package/dist/components/custom/goo-dot-matrix/index.d.ts +5 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +13 -0
- package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +4 -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/labeled-field/LabeledField.vue.d.ts +21 -2
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +15 -0
- package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +9 -0
- package/dist/components/custom/pager-dots/index.d.ts +2 -0
- package/dist/components/custom/pager-dots/pagerWindow.d.ts +9 -0
- package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +18 -0
- package/dist/components/custom/paper-grid/PaperGrid.vue.d.ts +42 -0
- package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +105 -0
- package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +18 -0
- package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +21 -0
- package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +16 -0
- package/dist/components/custom/paper-grid/composables/usePaperGrid.d.ts +31 -0
- package/dist/components/custom/paper-grid/constants.d.ts +95 -0
- package/dist/components/custom/paper-grid/index.d.ts +5 -0
- package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +4 -0
- package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -0
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +8 -2
- package/dist/components/custom/search/SearchBar.vue.d.ts +8 -0
- package/dist/components/custom/search/index.d.ts +2 -0
- package/dist/components/custom/search/searchVariants.d.ts +19 -0
- package/dist/components/custom/selectable-chip/SelectableChip.vue.d.ts +50 -0
- package/dist/components/custom/selectable-chip/chipVariants.d.ts +39 -0
- package/dist/components/custom/selectable-chip/index.d.ts +2 -0
- package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +15 -0
- package/dist/components/custom/split-chars/SplitChars.vue.d.ts +39 -0
- package/dist/components/custom/split-chars/index.d.ts +1 -0
- package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +8 -6
- package/dist/components/custom/tabs/constants.d.ts +28 -2
- 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 +32 -17
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +10 -5
- package/dist/components/ui/_shared/index.d.ts +2 -0
- package/dist/components/ui/_shared/useControlSize.d.ts +46 -0
- 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/button/index.d.ts +1 -1
- package/dist/components/ui/card/Card.vue.d.ts +46 -1
- package/dist/components/ui/card/ScrollCard.vue.d.ts +1 -1
- package/dist/components/ui/card/index.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +2 -4
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/components/ui/command/CommandDialog.vue.d.ts +9 -3
- package/dist/components/ui/command/CommandList.vue.d.ts +3 -0
- package/dist/components/ui/context-menu/ContextMenuContent.vue.d.ts +5 -1
- 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/dropdown-menu/DropdownMenuContent.vue.d.ts +4 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +3 -0
- package/dist/components/ui/input/Input.vue.d.ts +3 -0
- package/dist/components/ui/number-field/NumberFieldInput.vue.d.ts +6 -1
- package/dist/components/ui/select/SelectContent.vue.d.ts +12 -0
- package/dist/components/ui/slider/Slider.vue.d.ts +9 -0
- package/dist/components/ui/switch/Switch.vue.d.ts +2 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +3 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +3 -0
- package/dist/composables/color/index.d.ts +2 -0
- package/dist/composables/color/useAccentTone.d.ts +34 -0
- package/dist/composables/dom/index.d.ts +1 -0
- package/dist/composables/dom/useDragVelocity.d.ts +46 -0
- package/dist/composables/glass/useVizChoreography.d.ts +123 -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 +105 -2
- package/dist/composables/glass/webgl/shaders/flow.wgsl.d.ts +1 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
- package/dist/composables/glass/webgpu/index.d.ts +2 -1
- package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +65 -7
- package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +50 -2
- package/dist/composables/glass/webgpu/webgpuDevice.d.ts +42 -0
- package/dist/composables/motion/core/index.d.ts +7 -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/scrollReader.d.ts +25 -0
- package/dist/composables/motion/springPresets.d.ts +19 -1
- 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/useCharStagger.d.ts +44 -0
- package/dist/composables/motion/useDockCtaReceive.d.ts +29 -22
- 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/useScrollChrome.d.ts +58 -0
- package/dist/composables/motion/useScrollPin.d.ts +49 -0
- package/dist/composables/motion/useScrollScene.d.ts +67 -0
- package/dist/composables/motion/useScrollTrigger.d.ts +67 -0
- package/dist/composables/motion/useSpringPress.d.ts +5 -5
- package/dist/composables/motion/useStaggerReveal.d.ts +24 -0
- package/dist/composables/sidebar/index.d.ts +4 -1
- package/dist/composables/sidebar/types.d.ts +68 -3
- package/dist/composables/sidebar/useClickDelegate.d.ts +4 -0
- package/dist/composables/sidebar/useLazyLoader.d.ts +5 -0
- package/dist/composables/sidebar/useScrollTo.d.ts +5 -0
- package/dist/composables/virtual/index.d.ts +4 -0
- package/dist/composables/virtual/useVirtualSectionWindow.d.ts +72 -0
- package/dist/composables/virtual/useWindowedStore.d.ts +43 -0
- package/dist/composables/virtual/virtualSectionLayout.d.ts +103 -0
- package/dist/concentric.js +552 -309
- package/dist/configurator.js +2 -2
- package/dist/confirm-dialog.js +62 -47
- package/dist/constellation.js +635 -235
- 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.d.ts +1 -0
- package/dist/deck.js +105 -0
- package/dist/dialog.js +4 -3
- package/dist/dock.js +1320 -631
- package/dist/dockContext-gFVS2gMg.js +18 -0
- package/dist/dom.js +7 -6
- package/dist/dot-flow-field.js +1268 -387
- package/dist/dot-matrix.d.ts +1 -0
- package/dist/dot-matrix.js +774 -0
- package/dist/dotMatrixField-CRO0ZFk4.js +48 -0
- package/dist/drawer.js +106 -96
- package/dist/{dropdown-menu-CofSZuk8.js → dropdown-menu-CCfcCQ68.js} +83 -79
- package/dist/dropdown-menu.js +1 -1
- package/dist/easing.js +188 -176
- package/dist/expandable-container.js +43 -21
- package/dist/fading-scroll.js +1 -1
- package/dist/flow.glsl-DqEGRpl4.js +4 -0
- package/dist/forms.js +64 -62
- package/dist/fourier-field.js +1069 -178
- 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 +164 -119
- package/dist/goo-blob.js +175 -1230
- package/dist/goo-dot-matrix.d.ts +1 -0
- package/dist/goo-dot-matrix.js +811 -0
- 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 +5 -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 +70 -60
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +1 -1
- package/dist/metric-stack.js +12 -3
- package/dist/motion-core.js +59 -34
- package/dist/motion-curves.js +30 -14
- package/dist/motion.js +231 -96
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/pager-dots.js +2 -91
- package/dist/paper-backdrop.js +1 -1
- package/dist/paper-grid.d.ts +1 -0
- package/dist/paper-grid.js +761 -0
- package/dist/paperGrid-CXCSMbZ1.js +191 -0
- package/dist/popover.js +1 -1
- package/dist/{presets-BW2b-fr1.js → presets-QvYgnFIZ.js} +14 -13
- package/dist/{procedural-color.glsl-CIFsJhwI.js → procedural-color.wgsl-C1Y5PkM6.js} +2 -2
- package/dist/progress.js +1 -1
- package/dist/pulse.js +2 -2
- package/dist/reactive.js +2 -2
- package/dist/{useCanvas2D-B8w_E3Rr.js → resolveCanvasColor-DsSJk06I.js} +16 -6
- package/dist/scrollReader-rc3Ns_NM.js +42 -0
- package/dist/scrolling-text.js +1 -1
- package/dist/search.js +162 -306
- package/dist/select.js +3 -3
- package/dist/selectable-chip.d.ts +1 -0
- package/dist/selectable-chip.js +48 -0
- package/dist/separator.js +1 -1
- package/dist/{sheet-tZMg0E0w.js → sheet-DUCIoOe0.js} +4 -4
- package/dist/sheet.js +1 -1
- package/dist/sidebar.js +216 -114
- package/dist/slider-CcICPe3u.js +149 -0
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +3 -3
- package/dist/spectrum-walk-cBNSx_zm.js +33 -0
- package/dist/springPresets-DfoQ6XRY.js +64 -0
- package/dist/stacked-icons.js +54 -39
- package/dist/styles/animations.css +13 -3
- package/dist/styles/cards.css +271 -2
- package/dist/styles/completion-seal.css +131 -0
- package/dist/styles/components.css +1 -4
- package/dist/styles/configurator.css +221 -1
- package/dist/styles/critical-partition.mjs +66 -11
- package/dist/styles/deferred.css +4 -0
- package/dist/styles/dock/adaptive-legibility.css +119 -0
- package/dist/styles/dock/cta-seat.css +87 -0
- package/dist/styles/dock/density.css +167 -6
- package/dist/styles/dock/fission-bridge.css +552 -0
- package/dist/styles/dock/layers.css +90 -78
- package/dist/styles/dock/morph-bridge.css +67 -18
- package/dist/styles/dock/morph.css +57 -118
- package/dist/styles/dock/overflow.css +12 -0
- package/dist/styles/dock/search.css +68 -0
- package/dist/styles/dock/shape.css +250 -0
- package/dist/styles/dock/shell.css +24 -8
- package/dist/styles/dock/stack-rail.css +352 -0
- package/dist/styles/dock-controls/dark-mode-toggle.css +17 -4
- package/dist/styles/dock-controls/icon-button.css +46 -0
- package/dist/styles/dock-controls/triggers.css +23 -1
- package/dist/styles/dock-controls.css +18 -0
- package/dist/styles/dock.css +27 -2
- package/dist/styles/drawer.css +166 -0
- package/dist/styles/glass/accent-tone.css +66 -0
- package/dist/styles/glass/control-surfaces.css +167 -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/ladder.css +67 -17
- 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 +31 -9
- package/dist/styles/glass/surfaces.css +81 -150
- package/dist/styles/glass.css +21 -0
- package/dist/styles/icon-chip.css +45 -0
- package/dist/styles/index.css +26 -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/scroll-chrome.css +123 -0
- package/dist/styles/scroll-driven.css +38 -0
- package/dist/styles/segmented-tabs.css +110 -40
- package/dist/styles/select.css +151 -0
- package/dist/styles/theme/bridges.css +22 -0
- package/dist/styles/theme/radius.css +18 -1
- package/dist/styles/tokens/color-radius.css +14 -4
- package/dist/styles/tokens/dark-arm.css +94 -12
- package/dist/styles/tokens/glass-deep.css +33 -4
- package/dist/styles/tokens/glass-fx.css +122 -1
- package/dist/styles/tokens/glass.css +226 -34
- package/dist/styles/tokens/light-dark.css +3 -3
- package/dist/styles/tokens/offsets.css +27 -0
- package/dist/styles/tokens/property-regs.css +277 -0
- package/dist/styles/tokens/scale-paper.css +86 -30
- package/dist/styles/tokens/scheme-motion.css +106 -133
- 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/sizing-config.css +110 -0
- package/dist/styles/tokens/sizing.css +55 -104
- package/dist/styles/tokens.css +14 -2
- package/dist/styles/typography/semantic.css +18 -5
- package/dist/styles/utilities/a11y-overrides.css +20 -5
- package/dist/styles/utilities/base-misc.css +52 -0
- package/dist/styles/utilities/btn.css +84 -3
- package/dist/styles/utilities/components.css +31 -6
- package/dist/styles/utilities/metal.css +26 -0
- package/dist/switch.js +1 -1
- package/dist/tabs.js +199 -182
- 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 +2 -2
- package/dist/uniformBridgeWGPU-BCse1SHU.js +1268 -0
- package/dist/{useAnimatedNumber-BfUq2bUM.js → useAnimatedNumber-BntskVdQ.js} +1 -1
- package/dist/{useConfiguratorState-DNlOh6c8.js → useConfiguratorState-22BcULzF.js} +41 -38
- package/dist/useControlSize-DAZ062x7.js +9 -0
- package/dist/useDockCtaReceive-DX7RDb6_.js +88 -0
- package/dist/{useDragMorph-DgxnsVJz.js → useDragMorph-DGLSewwB.js} +4 -4
- package/dist/useDragVelocity-CjcfX3dA.js +57 -0
- package/dist/useFuzzySearch-0fTYOhS4.js +177 -0
- package/dist/useGooMorph-Cs13NgYL.js +104 -0
- package/dist/useGpuSubstrate-Ceet70xq.js +347 -0
- package/dist/useHaptic-CPz5BT9I.js +134 -0
- package/dist/{useLiquidFlex-mZPMiNXh.js → useLiquidFlex-Cc6PjVJD.js} +8 -3
- package/dist/useLiquidPress-CtOQ8Z0_.js +43 -0
- package/dist/useMorphField-ogBM7ubT.js +141 -0
- package/dist/usePointerVelocityField-BrkqZFhj.js +91 -0
- package/dist/useScrollChrome-JuImi1DM.js +258 -0
- package/dist/{useSpringMount-q1amq1SJ.js → useSpringMount-DFxtzmkR.js} +1 -1
- package/dist/useSpringPress-VM9RgVq3.js +36 -0
- package/dist/{useSurfaceAxis-g0NloYEF.js → useSurfaceAxis-Ci7Dnaw2.js} +1 -1
- package/dist/{useTouchGate-CBZTD4SD.js → useTouchGate-B1Lf9XqN.js} +1 -1
- package/dist/{vendor-CKmzio-i.js → vendor-B2qOlYY3.js} +24 -11
- package/dist/virtual.d.ts +1 -0
- package/dist/virtual.js +225 -0
- package/dist/watercolor-dot.js +107 -74
- package/dist/writeVelocityWeight-Bh83xZfs.js +19 -0
- package/package.json +140 -9
- package/src/styles/animations.css +13 -3
- package/src/styles/cards.css +271 -2
- package/src/styles/completion-seal.css +131 -0
- package/src/styles/configurator.css +221 -1
- package/src/styles/critical-partition.mjs +66 -11
- package/src/styles/dock/adaptive-legibility.css +119 -0
- package/src/styles/dock/cta-seat.css +87 -0
- package/src/styles/dock/density.css +167 -6
- package/src/styles/dock/fission-bridge.css +552 -0
- package/src/styles/dock/layers.css +90 -78
- package/src/styles/dock/morph-bridge.css +67 -18
- package/src/styles/dock/morph.css +57 -118
- package/src/styles/dock/overflow.css +12 -0
- package/src/styles/dock/search.css +68 -0
- package/src/styles/dock/shape.css +250 -0
- package/src/styles/dock/shell.css +24 -8
- package/src/styles/dock/stack-rail.css +352 -0
- package/src/styles/dock-controls/dark-mode-toggle.css +17 -4
- package/src/styles/dock-controls/icon-button.css +46 -0
- package/src/styles/dock-controls/triggers.css +23 -1
- package/src/styles/dock-controls.css +18 -0
- package/src/styles/dock.css +27 -2
- package/src/styles/drawer.css +164 -0
- package/src/styles/glass/accent-tone.css +66 -0
- package/src/styles/glass/control-surfaces.css +167 -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/ladder.css +67 -17
- 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 +31 -9
- package/src/styles/glass/surfaces.css +81 -150
- package/src/styles/glass.css +21 -0
- package/src/styles/icon-chip.css +45 -0
- package/src/styles/index.css +26 -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/scroll-chrome.css +123 -0
- package/src/styles/scroll-driven.css +38 -0
- package/src/styles/segmented-tabs.css +110 -36
- package/src/styles/select.css +151 -0
- package/src/styles/theme/bridges.css +22 -0
- package/src/styles/theme/radius.css +18 -1
- package/src/styles/tokens/color-radius.css +14 -4
- package/src/styles/tokens/dark-arm.css +94 -12
- package/src/styles/tokens/glass-deep.css +33 -4
- package/src/styles/tokens/glass-fx.css +122 -1
- package/src/styles/tokens/glass.css +226 -34
- package/src/styles/tokens/light-dark.css +3 -3
- package/src/styles/tokens/offsets.css +27 -0
- package/src/styles/tokens/property-regs.css +277 -0
- package/src/styles/tokens/scale-paper.css +86 -30
- package/src/styles/tokens/scheme-motion.css +106 -133
- 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/sizing-config.css +110 -0
- package/src/styles/tokens/sizing.css +55 -104
- package/src/styles/tokens.css +14 -2
- package/src/styles/typography/semantic.css +18 -5
- package/src/styles/utilities/a11y-overrides.css +20 -5
- package/src/styles/utilities/base-misc.css +52 -0
- package/src/styles/utilities/btn.css +84 -3
- package/src/styles/utilities/components.css +31 -6
- package/src/styles/utilities/metal.css +26 -0
- package/dist/ContextMenuContent-uWnVxDab.js +0 -85
- package/dist/DialogContent-DcKK8k9i.js +0 -103
- package/dist/DialogFooter-BZNX5aVr.js +0 -165
- package/dist/HoverCardContent-b2uaAMRR.js +0 -83
- package/dist/Input-h9v5LeXf.js +0 -55
- package/dist/NumberFieldContent-Cq7EzX-U.js +0 -138
- package/dist/PaperBackdrop-Vf3tlpvd.js +0 -31
- package/dist/SelectScrollDownButton-CrA8F0iV.js +0 -252
- package/dist/Separator-pKF0oA4M.js +0 -37
- package/dist/Switch-CwYNf8bo.js +0 -47
- package/dist/TooltipProvider-rzvnXz60.js +0 -104
- package/dist/badge-D9XWW4GT.js +0 -53
- package/dist/button-DYCUa-tH.js +0 -126
- package/dist/color-DweYl7pE.js +0 -86
- package/dist/components/custom/concentric/composables/ringField.d.ts +0 -44
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +0 -35
- package/dist/components/custom/constellation/constellationDraw.d.ts +0 -30
- package/dist/components/custom/dock/DockRail.vue.d.ts +0 -89
- package/dist/createCanvasLifecycle-CHD5XrDW.js +0 -82
- package/dist/dockContext-BNfyPLe9.js +0 -17
- package/dist/procedural-color.wgsl-CToRHugY.js +0 -224
- package/dist/resolveCanvasColor-CUyHr5Uu.js +0 -11
- package/dist/slider-DVb4HXU-.js +0 -142
- package/dist/springPresets-CFQGQfdl.js +0 -40
- package/dist/styles/dock/rail-extend.css +0 -397
- package/dist/useLiquidPress-kfb4KX79.js +0 -39
- package/dist/usePointerVelocityField-JbRd5CrM.js +0 -137
- package/dist/useRAFLoop-UYa4zoiN.js +0 -109
- package/dist/useSpringPress-BsqPr7FJ.js +0 -34
- package/src/styles/dock/rail-extend.css +0 -397
- /package/dist/{CollapsibleContent-68dEXIAl.js → CollapsibleContent-D7UNsXQr.js} +0 -0
- /package/dist/{InstrumentChassis-Bx0F_q5g.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-DwwjicPY.js → SelectGroup-Dcczq44n.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
- /package/dist/{compile-CQEFRTmx.js → compile-INR_tPk_.js} +0 -0
- /package/dist/{constants-BPOqYJAm.js → constants-BWj7DkMn.js} +0 -0
- /package/dist/{createContext-CpBNTRMI.js → createContext-Cd23P9j0.js} +0 -0
- /package/dist/{math-BINYmg5z.js → math-5RcIgCB4.js} +0 -0
- /package/dist/{menuItemVariants-D8VNHq22.js → menuItemVariants-DAXquKja.js} +0 -0
- /package/dist/{prng-Za0Rmgag.js → prng-B5tIXTtj.js} +0 -0
- /package/dist/{useGlobalDark-C28t0VWJ.js → useGlobalDark-B4HO9LXG.js} +0 -0
- /package/dist/{useIntersectionPause-Bj4sPkMh.js → useIntersectionPause-DO8Vl4gs.js} +0 -0
- /package/dist/{useInterval-CvK1mL92.js → useInterval-BVUI-sez.js} +0 -0
- /package/dist/{useKeyboardShortcuts-BXWXOZ-9.js → useKeyboardShortcuts-BEut54Tk.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-D7bYU2RK.js → useScrollProgress-A0M6qRl7.js} +0 -0
- /package/dist/{useSortable-DHjtZSEd.js → useSortable-DQV_UNDw.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.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-Czsb7zQC.js → vReveal-CT1KtwZA.js} +0 -0
- /package/dist/{vSpecular-CQFmLNzA.js → vSpecular-EX7loENl.js} +0 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
3
|
+
import { t as n } from "./useGooMorph-Cs13NgYL.js";
|
|
4
|
+
import { Fragment as r, computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, mergeModels as c, nextTick as l, normalizeClass as u, onMounted as d, openBlock as f, ref as p, renderList as m, unref as h, useModel as g, watch as _ } from "vue";
|
|
5
|
+
//#region src/components/custom/pager-dots/pagerWindow.ts
|
|
6
|
+
function v(e, t, n) {
|
|
7
|
+
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);
|
|
8
|
+
return {
|
|
9
|
+
shown: o,
|
|
10
|
+
clippedStart: o.length > 0 && o[0] > 0,
|
|
11
|
+
clippedEnd: o.length > 0 && o[o.length - 1] < e - 1
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/custom/pager-dots/PagerDots.vue?vue&type=script&setup=true&lang.ts
|
|
16
|
+
var y = [
|
|
17
|
+
"role",
|
|
18
|
+
"aria-label",
|
|
19
|
+
"aria-orientation",
|
|
20
|
+
"data-orientation"
|
|
21
|
+
], b = {
|
|
22
|
+
class: "pager-goo-layer",
|
|
23
|
+
"aria-hidden": "true"
|
|
24
|
+
}, x = ["data-active", "data-edge"], S = [
|
|
25
|
+
"role",
|
|
26
|
+
"aria-selected",
|
|
27
|
+
"aria-current",
|
|
28
|
+
"aria-label",
|
|
29
|
+
"data-active",
|
|
30
|
+
"data-edge",
|
|
31
|
+
"onClick"
|
|
32
|
+
], C = /* @__PURE__ */ t(/* @__PURE__ */ s({
|
|
33
|
+
__name: "PagerDots",
|
|
34
|
+
props: /* @__PURE__ */ c({
|
|
35
|
+
count: {},
|
|
36
|
+
orientation: { default: "horizontal" },
|
|
37
|
+
windowFit: {},
|
|
38
|
+
ring: {
|
|
39
|
+
type: Boolean,
|
|
40
|
+
default: !0
|
|
41
|
+
},
|
|
42
|
+
pattern: { default: "tabs" },
|
|
43
|
+
ariaLabel: { default: "Pager" },
|
|
44
|
+
class: { type: [
|
|
45
|
+
Boolean,
|
|
46
|
+
null,
|
|
47
|
+
String,
|
|
48
|
+
Object,
|
|
49
|
+
Array
|
|
50
|
+
] }
|
|
51
|
+
}, {
|
|
52
|
+
active: { default: 0 },
|
|
53
|
+
activeModifiers: {}
|
|
54
|
+
}),
|
|
55
|
+
emits: /* @__PURE__ */ c(["select"], ["update:active"]),
|
|
56
|
+
setup(t, { emit: s }) {
|
|
57
|
+
let c = t, C = s, w = g(t, "active"), T = p(null), E = p(null), D = p(null), O = p(null), k = /* @__PURE__ */ new Map();
|
|
58
|
+
function A(e, t) {
|
|
59
|
+
t ? k.set(e, t) : k.delete(e);
|
|
60
|
+
}
|
|
61
|
+
let j = /* @__PURE__ */ new Map();
|
|
62
|
+
function M(e, t) {
|
|
63
|
+
t ? j.set(e, t) : j.delete(e);
|
|
64
|
+
}
|
|
65
|
+
let N = i(() => c.orientation === "vertical"), P = i(() => c.windowFit && c.windowFit > 0 ? v(c.count, w.value, c.windowFit) : {
|
|
66
|
+
shown: Array.from({ length: Math.max(0, c.count) }, (e, t) => t),
|
|
67
|
+
clippedStart: !1,
|
|
68
|
+
clippedEnd: !1
|
|
69
|
+
}), F = i(() => P.value.shown);
|
|
70
|
+
function I(e) {
|
|
71
|
+
let t = T.value;
|
|
72
|
+
if (!t) return null;
|
|
73
|
+
let n = j.get(e);
|
|
74
|
+
if (!n) {
|
|
75
|
+
let t = F.value;
|
|
76
|
+
if (t.length === 0) return null;
|
|
77
|
+
let r = t.reduce((t, n) => Math.abs(n - e) < Math.abs(t - e) ? n : t);
|
|
78
|
+
if (n = j.get(r), !n) return null;
|
|
79
|
+
}
|
|
80
|
+
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
|
|
81
|
+
return N.value ? i.top + i.height / 2 - r.top : i.left + i.width / 2 - r.left;
|
|
82
|
+
}
|
|
83
|
+
function L() {
|
|
84
|
+
let e = T.value, t = 13;
|
|
85
|
+
if (e) {
|
|
86
|
+
let n = getComputedStyle(e).getPropertyValue("--pager-dot-size").trim();
|
|
87
|
+
if (n.endsWith("rem")) {
|
|
88
|
+
let e = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
89
|
+
t = (parseFloat(n) || .8125) * e;
|
|
90
|
+
} else t = parseFloat(n) || 13;
|
|
91
|
+
}
|
|
92
|
+
return t * 1.618033988749895;
|
|
93
|
+
}
|
|
94
|
+
let R = n({
|
|
95
|
+
barbellRefs: {
|
|
96
|
+
bodyARef: E,
|
|
97
|
+
bodyBRef: D,
|
|
98
|
+
neckRef: O
|
|
99
|
+
},
|
|
100
|
+
hostRef: T,
|
|
101
|
+
vertical: N,
|
|
102
|
+
centerOf: I,
|
|
103
|
+
restSize: L,
|
|
104
|
+
tokenPrefix: "pager-worm",
|
|
105
|
+
neckGap: .7
|
|
106
|
+
});
|
|
107
|
+
_(F, (e) => {
|
|
108
|
+
let t = T.value;
|
|
109
|
+
if (!t || !t.contains(document.activeElement)) return;
|
|
110
|
+
let n = document.activeElement;
|
|
111
|
+
e.some((e) => k.get(e) === n) || l(() => k.get(w.value)?.focus());
|
|
112
|
+
});
|
|
113
|
+
let z = !1, B = 0;
|
|
114
|
+
_(w, (e, t) => {
|
|
115
|
+
z = !0;
|
|
116
|
+
let n = ++B;
|
|
117
|
+
l(() => {
|
|
118
|
+
R.travel(t ?? e, e);
|
|
119
|
+
let r = T.value, i = r && parseFloat(getComputedStyle(r).getPropertyValue("--pager-worm-duration")) || 1.8;
|
|
120
|
+
setTimeout(() => {
|
|
121
|
+
n === B && (z = !1);
|
|
122
|
+
}, i * 1e3 + 120);
|
|
123
|
+
});
|
|
124
|
+
}), _(F, () => {
|
|
125
|
+
z || l(() => R.snap(w.value));
|
|
126
|
+
}), d(() => {
|
|
127
|
+
l(() => R.snap(w.value));
|
|
128
|
+
});
|
|
129
|
+
function V(e) {
|
|
130
|
+
w.value = e, C("select", e);
|
|
131
|
+
}
|
|
132
|
+
return (n, i) => (f(), a("div", {
|
|
133
|
+
ref_key: "rootEl",
|
|
134
|
+
ref: T,
|
|
135
|
+
"data-slot": "pager-dots",
|
|
136
|
+
role: t.pattern === "group" ? "group" : "tablist",
|
|
137
|
+
"aria-label": t.ariaLabel,
|
|
138
|
+
"aria-orientation": t.pattern === "group" ? void 0 : t.orientation,
|
|
139
|
+
"data-orientation": t.orientation,
|
|
140
|
+
class: u(h(e)("pager-dots inline-flex items-center justify-center gap-1.5", t.ring && "glass-pager-ring", t.orientation === "vertical" && "flex-col", c.class))
|
|
141
|
+
}, [
|
|
142
|
+
i[0] ||= o("svg", {
|
|
143
|
+
class: "pager-goo-defs",
|
|
144
|
+
width: "0",
|
|
145
|
+
height: "0",
|
|
146
|
+
"aria-hidden": "true",
|
|
147
|
+
focusable: "false"
|
|
148
|
+
}, [o("defs", null, [o("clipPath", {
|
|
149
|
+
id: "pager-neck-throat",
|
|
150
|
+
clipPathUnits: "objectBoundingBox"
|
|
151
|
+
}, [o("path", { d: "M0,0 C0.25,0 0.36,0.34 0.5,0.34 C0.64,0.34 0.75,0 1,0 L1,1 C0.75,1 0.64,0.66 0.5,0.66 C0.36,0.66 0.25,1 0,1 Z" })])])], -1),
|
|
152
|
+
o("div", b, [
|
|
153
|
+
(f(!0), a(r, null, m(F.value, (e) => (f(), a("span", {
|
|
154
|
+
key: e,
|
|
155
|
+
ref_for: !0,
|
|
156
|
+
ref: (t) => M(e, t),
|
|
157
|
+
class: "goo-dot",
|
|
158
|
+
"data-active": e === w.value ? "" : void 0,
|
|
159
|
+
"data-edge": e === F.value[0] && P.value.clippedStart || e === F.value[F.value.length - 1] && P.value.clippedEnd ? "" : void 0
|
|
160
|
+
}, null, 8, x))), 128)),
|
|
161
|
+
o("span", {
|
|
162
|
+
ref_key: "bodyAEl",
|
|
163
|
+
ref: E,
|
|
164
|
+
class: "goo-body"
|
|
165
|
+
}, null, 512),
|
|
166
|
+
o("span", {
|
|
167
|
+
ref_key: "neckEl",
|
|
168
|
+
ref: O,
|
|
169
|
+
class: "goo-neck"
|
|
170
|
+
}, null, 512),
|
|
171
|
+
o("span", {
|
|
172
|
+
ref_key: "bodyBEl",
|
|
173
|
+
ref: D,
|
|
174
|
+
class: "goo-body"
|
|
175
|
+
}, null, 512)
|
|
176
|
+
]),
|
|
177
|
+
(f(!0), a(r, null, m(F.value, (e, n) => (f(), a("button", {
|
|
178
|
+
key: e,
|
|
179
|
+
ref_for: !0,
|
|
180
|
+
ref: (t) => A(e, t),
|
|
181
|
+
type: "button",
|
|
182
|
+
role: t.pattern === "group" ? void 0 : "tab",
|
|
183
|
+
"aria-selected": t.pattern === "group" ? void 0 : e === w.value,
|
|
184
|
+
"aria-current": t.pattern === "group" && e === w.value ? "true" : void 0,
|
|
185
|
+
"aria-label": `Go to slide ${e + 1}`,
|
|
186
|
+
"data-active": e === w.value ? "" : void 0,
|
|
187
|
+
"data-edge": n === 0 && P.value.clippedStart || n === F.value.length - 1 && P.value.clippedEnd ? "" : void 0,
|
|
188
|
+
"data-slot": "pager-dot",
|
|
189
|
+
class: "pager-dot focus-ring tap-squish",
|
|
190
|
+
onClick: (t) => V(e)
|
|
191
|
+
}, null, 8, S))), 128))
|
|
192
|
+
], 10, y));
|
|
193
|
+
}
|
|
194
|
+
}), [["__scopeId", "data-v-883fb0b0"]]);
|
|
195
|
+
//#endregion
|
|
196
|
+
export { v as n, C as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { Fragment as t, computed as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, openBlock as l, unref as u } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/custom/paper-backdrop/PaperBackdrop.vue
|
|
5
|
+
var d = /* @__PURE__ */ o({
|
|
6
|
+
__name: "PaperBackdrop",
|
|
7
|
+
props: {
|
|
8
|
+
opacity: {},
|
|
9
|
+
frequency: {},
|
|
10
|
+
field: { type: Boolean },
|
|
11
|
+
fieldHue: {},
|
|
12
|
+
fieldIntensity: {},
|
|
13
|
+
class: { type: [
|
|
14
|
+
Boolean,
|
|
15
|
+
null,
|
|
16
|
+
String,
|
|
17
|
+
Object,
|
|
18
|
+
Array
|
|
19
|
+
] }
|
|
20
|
+
},
|
|
21
|
+
setup(o) {
|
|
22
|
+
let d = o, f = n(() => {
|
|
23
|
+
let e = {};
|
|
24
|
+
return d.opacity !== void 0 && (e.opacity = String(d.opacity)), d.frequency === "aged" && (e.backgroundImage = "var(--paper-aged-texture)"), e;
|
|
25
|
+
}), p = n(() => {
|
|
26
|
+
let e = {};
|
|
27
|
+
return d.fieldHue !== void 0 && (e["--field-h-raw"] = String(d.fieldHue)), d.fieldIntensity !== void 0 && (e["--field-intensity"] = String(d.fieldIntensity)), e;
|
|
28
|
+
});
|
|
29
|
+
return (n, o) => (l(), i(t, null, [d.field ? (l(), i("div", {
|
|
30
|
+
key: 0,
|
|
31
|
+
class: "paper-field",
|
|
32
|
+
style: c(p.value),
|
|
33
|
+
"aria-hidden": "true"
|
|
34
|
+
}, null, 4)) : r("", !0), a("div", {
|
|
35
|
+
class: s(u(e)("paper-underpaint", d.class)),
|
|
36
|
+
style: c(f.value),
|
|
37
|
+
"aria-hidden": "true"
|
|
38
|
+
}, null, 6)], 64));
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { d as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./useSurfaceAxis-
|
|
3
|
-
import { i as n } from "./dockContext-
|
|
2
|
+
import { t } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
3
|
+
import { i as n } from "./dockContext-gFVS2gMg.js";
|
|
4
4
|
import { computed as r, createBlock as i, createVNode as a, defineComponent as o, guardReactiveProps as s, mergeProps as c, normalizeProps as l, openBlock as u, renderSlot as d, unref as f, withCtx as p } from "vue";
|
|
5
5
|
import { PopoverContent as m, PopoverPortal as h, PopoverRoot as g, PopoverTrigger as _, useForwardPropsEmits as v } from "reka-ui";
|
|
6
6
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
3
3
|
import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, openBlock as f, toRef as p, unref as m, watchEffect as h, withCtx as g } from "vue";
|
|
4
4
|
import { ProgressIndicator as _, ProgressRoot as v } from "reka-ui";
|
|
5
5
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { t as n } from "./useResizeObserver-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-gLzyemvl.js";
|
|
3
|
+
import { t as n } from "./useResizeObserver-DdEn3v2f.js";
|
|
4
4
|
import { createElementBlock as r, createElementVNode as i, createTextVNode as a, defineComponent as o, normalizeClass as s, openBlock as c, ref as l, renderSlot as u, toDisplayString as d, unref as f, useTemplateRef as p, watchEffect as m } from "vue";
|
|
5
5
|
//#region src/components/custom/scrolling-text/ScrollingText.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var h = ["data-overflows"], g = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { v as t, x as n } from "./vendor-B2qOlYY3.js";
|
|
3
|
+
import { t as r } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
4
|
+
import { t as i } from "./menuItemVariants-DAXquKja.js";
|
|
5
|
+
import { i as a } from "./dockContext-gFVS2gMg.js";
|
|
6
|
+
import { computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, guardReactiveProps as p, mergeProps as m, normalizeClass as h, normalizeProps as g, openBlock as _, renderSlot as v, unref as y, withCtx as b } from "vue";
|
|
7
|
+
import { SelectContent as x, SelectIcon as S, SelectItem as C, SelectItemIndicator as w, SelectItemText as T, SelectPortal as E, SelectRoot as D, SelectScrollDownButton as O, SelectScrollUpButton as k, SelectTrigger as A, SelectValue as j, SelectViewport as M, useForwardProps as N, useForwardPropsEmits as P } from "reka-ui";
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/components/ui/select/Select.vue
|
|
10
|
+
var F = /* @__PURE__ */ f({
|
|
11
|
+
__name: "Select",
|
|
12
|
+
props: {
|
|
13
|
+
open: { type: Boolean },
|
|
14
|
+
defaultOpen: { type: Boolean },
|
|
15
|
+
defaultValue: {},
|
|
16
|
+
modelValue: {},
|
|
17
|
+
by: { type: [String, Function] },
|
|
18
|
+
dir: {},
|
|
19
|
+
multiple: { type: Boolean },
|
|
20
|
+
autocomplete: {},
|
|
21
|
+
disabled: { type: Boolean },
|
|
22
|
+
name: {},
|
|
23
|
+
required: { type: Boolean }
|
|
24
|
+
},
|
|
25
|
+
emits: ["update:modelValue", "update:open"],
|
|
26
|
+
setup(e, { emit: t }) {
|
|
27
|
+
let n = P(e, t);
|
|
28
|
+
return (e, t) => (_(), s(y(D), m({ "data-slot": "select" }, y(n)), {
|
|
29
|
+
default: b(() => [v(e.$slots, "default")]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 16));
|
|
32
|
+
}
|
|
33
|
+
}), I = /* @__PURE__ */ f({
|
|
34
|
+
__name: "SelectValue",
|
|
35
|
+
props: {
|
|
36
|
+
placeholder: {},
|
|
37
|
+
asChild: { type: Boolean },
|
|
38
|
+
as: {}
|
|
39
|
+
},
|
|
40
|
+
setup(e) {
|
|
41
|
+
let t = e;
|
|
42
|
+
return (e, n) => (_(), s(y(j), g(p(t)), {
|
|
43
|
+
default: b(() => [v(e.$slots, "default")]),
|
|
44
|
+
_: 3
|
|
45
|
+
}, 16));
|
|
46
|
+
}
|
|
47
|
+
}), L = /* @__PURE__ */ f({
|
|
48
|
+
__name: "SelectTrigger",
|
|
49
|
+
props: {
|
|
50
|
+
disabled: { type: Boolean },
|
|
51
|
+
reference: {},
|
|
52
|
+
asChild: { type: Boolean },
|
|
53
|
+
as: {},
|
|
54
|
+
class: { type: [
|
|
55
|
+
Boolean,
|
|
56
|
+
null,
|
|
57
|
+
String,
|
|
58
|
+
Object,
|
|
59
|
+
Array
|
|
60
|
+
] },
|
|
61
|
+
variant: { default: "default" },
|
|
62
|
+
size: { default: "default" }
|
|
63
|
+
},
|
|
64
|
+
setup(t) {
|
|
65
|
+
let r = t, i = N(o(() => {
|
|
66
|
+
let { class: e, variant: t, size: n, ...i } = r;
|
|
67
|
+
return i;
|
|
68
|
+
})), a = o(() => r.variant === "ghost" ? "bg-transparent border-none shadow-none" : "control-surface glass-control-edge glass-capsule-hover"), c = o(() => {
|
|
69
|
+
switch (r.size) {
|
|
70
|
+
case "sm": return "h-(--control-h-sm)";
|
|
71
|
+
case "display":
|
|
72
|
+
case "audacious": return "h-(--control-h-lg)";
|
|
73
|
+
default: return "h-(--control-h-md)";
|
|
74
|
+
}
|
|
75
|
+
}), l = o(() => {
|
|
76
|
+
let e = r.size === "display" ? "var(--type-heading)" : r.size === "audacious" ? "var(--type-display-1)" : void 0;
|
|
77
|
+
if (e) return {
|
|
78
|
+
"--dropdown-text": e,
|
|
79
|
+
"--text-dropdown": e
|
|
80
|
+
};
|
|
81
|
+
});
|
|
82
|
+
return (t, o) => (_(), s(y(A), m({ "data-slot": "select-trigger" }, y(i), {
|
|
83
|
+
style: l.value,
|
|
84
|
+
class: y(e)(a.value, c.value, "tap-squish focus-ring flex w-full items-center justify-between rounded-pill px-3 py-2 text-dropdown placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-disabled [&>span]:line-clamp-1 transition-control aria-invalid:border-(--destructive) user-invalid:border-(--destructive) focus-visible:aria-invalid:shadow-(--invalid-ring) focus-visible:user-invalid:shadow-(--invalid-ring)", r.class)
|
|
85
|
+
}), {
|
|
86
|
+
default: b(() => [v(t.$slots, "default"), d(y(S), { "as-child": "" }, {
|
|
87
|
+
default: b(() => [d(y(n), { class: "[transition:rotate_var(--spring-snappy-duration)_var(--ease-cartoon-punch)] [&[data-state=open]]:rotate-180 h-4 w-4 shrink-0 opacity-(--select-chevron-opacity)" })]),
|
|
88
|
+
_: 1
|
|
89
|
+
})]),
|
|
90
|
+
_: 3
|
|
91
|
+
}, 16, ["style", "class"]));
|
|
92
|
+
}
|
|
93
|
+
}), R = /* @__PURE__ */ f({
|
|
94
|
+
inheritAttrs: !1,
|
|
95
|
+
__name: "SelectContent",
|
|
96
|
+
props: {
|
|
97
|
+
forceMount: { type: Boolean },
|
|
98
|
+
position: { default: "popper" },
|
|
99
|
+
bodyLock: { type: Boolean },
|
|
100
|
+
side: {},
|
|
101
|
+
sideOffset: {},
|
|
102
|
+
sideFlip: { type: Boolean },
|
|
103
|
+
align: { default: "start" },
|
|
104
|
+
alignOffset: {},
|
|
105
|
+
alignFlip: { type: Boolean },
|
|
106
|
+
avoidCollisions: { type: Boolean },
|
|
107
|
+
collisionBoundary: {},
|
|
108
|
+
collisionPadding: { default: 16 },
|
|
109
|
+
arrowPadding: {},
|
|
110
|
+
hideShiftedArrow: { type: Boolean },
|
|
111
|
+
sticky: {},
|
|
112
|
+
hideWhenDetached: { type: Boolean },
|
|
113
|
+
positionStrategy: {},
|
|
114
|
+
updatePositionStrategy: {},
|
|
115
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
116
|
+
prioritizePosition: { type: Boolean },
|
|
117
|
+
reference: {},
|
|
118
|
+
asChild: { type: Boolean },
|
|
119
|
+
as: {},
|
|
120
|
+
disableOutsidePointerEvents: { type: Boolean },
|
|
121
|
+
class: { type: [
|
|
122
|
+
Boolean,
|
|
123
|
+
null,
|
|
124
|
+
String,
|
|
125
|
+
Object,
|
|
126
|
+
Array
|
|
127
|
+
] },
|
|
128
|
+
surface: { default: "glass" },
|
|
129
|
+
fieldHue: {}
|
|
130
|
+
},
|
|
131
|
+
emits: [
|
|
132
|
+
"closeAutoFocus",
|
|
133
|
+
"escapeKeyDown",
|
|
134
|
+
"pointerDownOutside"
|
|
135
|
+
],
|
|
136
|
+
setup(t, { emit: n }) {
|
|
137
|
+
let i = t, c = n, l = P(o(() => {
|
|
138
|
+
let { class: e, surface: t, fieldHue: n, ...r } = i;
|
|
139
|
+
return r;
|
|
140
|
+
}), c), u = a(), f = o(() => i.fieldHue == null ? void 0 : { "--field-h": String(i.fieldHue) });
|
|
141
|
+
return (n, a) => (_(), s(y(E), null, {
|
|
142
|
+
default: b(() => [d(y(x), m({
|
|
143
|
+
...y(l),
|
|
144
|
+
...n.$attrs
|
|
145
|
+
}, {
|
|
146
|
+
"data-glass-dock-portal": y(u)?.id ? "" : void 0,
|
|
147
|
+
"data-glass-dock-owner": y(u)?.id,
|
|
148
|
+
"data-surface": i.surface,
|
|
149
|
+
"data-slot": "select-content",
|
|
150
|
+
class: y(e)("relative z-popover min-w-(--overlay-min-width) overflow-y-auto rounded-panel border text-popover-foreground glass-reveal origin-(--reka-select-content-transform-origin)", t.position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", y(r)(i.surface, "floating"), "glass-field-portal", "[--overlay-pad-inline:--spacing(1)] [--overlay-pad-block:calc(var(--overlay-pad-inline)*1.272)]", i.class),
|
|
151
|
+
style: f.value
|
|
152
|
+
}), {
|
|
153
|
+
default: b(() => [
|
|
154
|
+
d(y(H)),
|
|
155
|
+
d(y(M), { class: h(y(e)("px-(--overlay-pad-inline) py-(--overlay-pad-block) overflow-y-auto", t.position === "popper" && "h-(--reka-select-trigger-height) w-full min-w-(--reka-select-trigger-width)")) }, {
|
|
156
|
+
default: b(() => [v(n.$slots, "default")]),
|
|
157
|
+
_: 3
|
|
158
|
+
}, 8, ["class"]),
|
|
159
|
+
d(y(U))
|
|
160
|
+
]),
|
|
161
|
+
_: 3
|
|
162
|
+
}, 16, [
|
|
163
|
+
"data-glass-dock-portal",
|
|
164
|
+
"data-glass-dock-owner",
|
|
165
|
+
"data-surface",
|
|
166
|
+
"class",
|
|
167
|
+
"style"
|
|
168
|
+
])]),
|
|
169
|
+
_: 3
|
|
170
|
+
}));
|
|
171
|
+
}
|
|
172
|
+
}), z = {
|
|
173
|
+
key: 0,
|
|
174
|
+
"aria-hidden": "true",
|
|
175
|
+
class: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
|
|
176
|
+
}, B = { class: "flex flex-col gap-0.5 min-w-0" }, V = /* @__PURE__ */ f({
|
|
177
|
+
__name: "SelectItem",
|
|
178
|
+
props: {
|
|
179
|
+
value: {},
|
|
180
|
+
disabled: { type: Boolean },
|
|
181
|
+
textValue: {},
|
|
182
|
+
asChild: { type: Boolean },
|
|
183
|
+
as: {},
|
|
184
|
+
class: { type: [
|
|
185
|
+
Boolean,
|
|
186
|
+
null,
|
|
187
|
+
String,
|
|
188
|
+
Object,
|
|
189
|
+
Array
|
|
190
|
+
] },
|
|
191
|
+
hideIndicator: { type: Boolean }
|
|
192
|
+
},
|
|
193
|
+
setup(t) {
|
|
194
|
+
let n = t, r = N(o(() => {
|
|
195
|
+
let { class: e, hideIndicator: t, ...r } = n;
|
|
196
|
+
return r;
|
|
197
|
+
})), a = o(() => n.hideIndicator ? "none" : "start");
|
|
198
|
+
return (t, o) => (_(), s(y(C), m(y(r), { class: y(e)(y(i)({ indicator: a.value }), n.class) }), {
|
|
199
|
+
default: b(() => [a.value === "none" ? c("", !0) : (_(), l("span", z, [d(y(w), null, {
|
|
200
|
+
default: b(() => [...o[0] ||= [u("span", {
|
|
201
|
+
class: "inline-block w-2 h-2 rounded-pill",
|
|
202
|
+
style: { "background-color": "var(--select-dot-color, var(--glass-accent, currentColor))" }
|
|
203
|
+
}, null, -1)]]),
|
|
204
|
+
_: 1
|
|
205
|
+
})])), u("div", B, [d(y(T), null, {
|
|
206
|
+
default: b(() => [v(t.$slots, "default")]),
|
|
207
|
+
_: 3
|
|
208
|
+
}), v(t.$slots, "description")])]),
|
|
209
|
+
_: 3
|
|
210
|
+
}, 16, ["class"]));
|
|
211
|
+
}
|
|
212
|
+
}), H = /* @__PURE__ */ f({
|
|
213
|
+
__name: "SelectScrollUpButton",
|
|
214
|
+
props: {
|
|
215
|
+
asChild: { type: Boolean },
|
|
216
|
+
as: {},
|
|
217
|
+
class: { type: [
|
|
218
|
+
Boolean,
|
|
219
|
+
null,
|
|
220
|
+
String,
|
|
221
|
+
Object,
|
|
222
|
+
Array
|
|
223
|
+
] }
|
|
224
|
+
},
|
|
225
|
+
setup(n) {
|
|
226
|
+
let r = n, i = N(o(() => {
|
|
227
|
+
let { class: e, ...t } = r;
|
|
228
|
+
return t;
|
|
229
|
+
}));
|
|
230
|
+
return (n, a) => (_(), s(y(k), m(y(i), { class: y(e)("flex cursor-default items-center justify-center py-1", r.class) }), {
|
|
231
|
+
default: b(() => [v(n.$slots, "default", {}, () => [d(y(t), { class: "h-4 w-4" })])]),
|
|
232
|
+
_: 3
|
|
233
|
+
}, 16, ["class"]));
|
|
234
|
+
}
|
|
235
|
+
}), U = /* @__PURE__ */ f({
|
|
236
|
+
__name: "SelectScrollDownButton",
|
|
237
|
+
props: {
|
|
238
|
+
asChild: { type: Boolean },
|
|
239
|
+
as: {},
|
|
240
|
+
class: { type: [
|
|
241
|
+
Boolean,
|
|
242
|
+
null,
|
|
243
|
+
String,
|
|
244
|
+
Object,
|
|
245
|
+
Array
|
|
246
|
+
] }
|
|
247
|
+
},
|
|
248
|
+
setup(t) {
|
|
249
|
+
let r = t, i = N(o(() => {
|
|
250
|
+
let { class: e, ...t } = r;
|
|
251
|
+
return t;
|
|
252
|
+
}));
|
|
253
|
+
return (t, a) => (_(), s(y(O), m(y(i), { class: y(e)("flex cursor-default items-center justify-center py-1", r.class) }), {
|
|
254
|
+
default: b(() => [v(t.$slots, "default", {}, () => [d(y(n), { class: "h-4 w-4" })])]),
|
|
255
|
+
_: 3
|
|
256
|
+
}, 16, ["class"]));
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
//#endregion
|
|
260
|
+
export { L as a, R as i, H as n, I as o, V as r, F as s, U as t };
|
|
@@ -42,7 +42,7 @@ var f = /* @__PURE__ */ r({
|
|
|
42
42
|
let { class: e, ...t } = a;
|
|
43
43
|
return t;
|
|
44
44
|
});
|
|
45
|
-
return (t, r) => (o(), n(c(d), i(s.value, { class: c(e)("-mx-1 my-1 h-px bg-
|
|
45
|
+
return (t, r) => (o(), n(c(d), i(s.value, { class: c(e)("-mx-1 my-1 h-px bg-[color-mix(in_srgb,var(--foreground)_12%,transparent)]", a.class) }), null, 16, ["class"]));
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { computed as t, createBlock as n, createElementBlock as r, createElementVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, toDisplayString as l, unref as u } from "vue";
|
|
3
|
+
import { Separator as d } from "reka-ui";
|
|
4
|
+
//#region src/components/ui/separator/Separator.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var f = ["aria-orientation", "aria-label"], p = { class: "text-mono-caption text-muted-foreground bg-background shrink-0 px-1.5 rounded-sm" }, m = /* @__PURE__ */ a({
|
|
6
|
+
__name: "Separator",
|
|
7
|
+
props: {
|
|
8
|
+
orientation: {},
|
|
9
|
+
decorative: { type: Boolean },
|
|
10
|
+
asChild: { type: Boolean },
|
|
11
|
+
as: {},
|
|
12
|
+
class: { type: [
|
|
13
|
+
Boolean,
|
|
14
|
+
null,
|
|
15
|
+
String,
|
|
16
|
+
Object,
|
|
17
|
+
Array
|
|
18
|
+
] },
|
|
19
|
+
label: {}
|
|
20
|
+
},
|
|
21
|
+
setup(a) {
|
|
22
|
+
let m = a, h = t(() => m.orientation === "vertical"), g = t(() => {
|
|
23
|
+
let { class: e, label: t, ...n } = m;
|
|
24
|
+
return n;
|
|
25
|
+
}), _ = t(() => e("shrink-0 bg-(--separator-ink)", h.value ? "w-px flex-1" : "h-px flex-1"));
|
|
26
|
+
return (t, a) => m.label ? (c(), r("div", {
|
|
27
|
+
key: 0,
|
|
28
|
+
"data-slot": "separator",
|
|
29
|
+
role: "separator",
|
|
30
|
+
"aria-orientation": h.value ? "vertical" : "horizontal",
|
|
31
|
+
"aria-label": m.label,
|
|
32
|
+
class: s(u(e)("flex items-center", h.value ? "flex-col w-px h-full gap-2" : "flex-row w-full gap-3", m.class))
|
|
33
|
+
}, [
|
|
34
|
+
i("span", { class: s(_.value) }, null, 2),
|
|
35
|
+
i("span", p, l(m.label), 1),
|
|
36
|
+
i("span", { class: s(_.value) }, null, 2)
|
|
37
|
+
], 10, f)) : (c(), n(u(d), o({
|
|
38
|
+
key: 1,
|
|
39
|
+
"data-slot": "separator"
|
|
40
|
+
}, g.value, { class: u(e)("shrink-0 bg-(--separator-ink)", h.value ? "w-px h-full" : "h-px w-full", m.class) }), null, 16, ["class"]));
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { m as t };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
+
import { n as t } from "./useControlSize-DAZ062x7.js";
|
|
3
|
+
import { computed as n, createBlock as r, createVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, unref as l, withCtx as u } from "vue";
|
|
4
|
+
import { SwitchRoot as d, SwitchThumb as f, useForwardPropsEmits as p } from "reka-ui";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/ui/switch/Switch.vue
|
|
7
|
+
var m = /* @__PURE__ */ a({
|
|
8
|
+
__name: "Switch",
|
|
9
|
+
props: {
|
|
10
|
+
defaultValue: {},
|
|
11
|
+
modelValue: {},
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
id: {},
|
|
14
|
+
value: {},
|
|
15
|
+
trueValue: {},
|
|
16
|
+
falseValue: {},
|
|
17
|
+
asChild: { type: Boolean },
|
|
18
|
+
as: {},
|
|
19
|
+
name: {},
|
|
20
|
+
required: { type: Boolean },
|
|
21
|
+
class: { type: [
|
|
22
|
+
Boolean,
|
|
23
|
+
null,
|
|
24
|
+
String,
|
|
25
|
+
Object,
|
|
26
|
+
Array
|
|
27
|
+
] },
|
|
28
|
+
size: {}
|
|
29
|
+
},
|
|
30
|
+
emits: ["update:modelValue"],
|
|
31
|
+
setup(a, { emit: m }) {
|
|
32
|
+
let h = a, g = m, _ = p(n(() => {
|
|
33
|
+
let { class: e, size: t, ...n } = h;
|
|
34
|
+
return n;
|
|
35
|
+
}), g);
|
|
36
|
+
return (n, a) => (c(), r(l(d), o({ "data-slot": "switch" }, l(_), { class: l(e)("[--switch-track-h:calc(var(--control-h-md)*0.6)] [--switch-thumb:calc(var(--switch-track-h)-0.25rem)] [--switch-track-w:calc(var(--switch-track-h)*11/6)] [--switch-throw:calc(var(--switch-track-w)-var(--switch-thumb)-0.25rem)]", "glass-wash glass-specular-track focus-ring peer relative touch-hit-area inline-flex h-(--switch-track-h) w-(--switch-track-w) shrink-0 cursor-pointer items-center rounded-pill border-2 border-transparent transition-control disabled:cursor-not-allowed disabled:opacity-disabled data-[state=checked]:bg-primary data-[state=unchecked]:bg-(--glass-bg-wash)", l(t)(h.size), h.class) }), {
|
|
37
|
+
default: u(() => [i(l(f), {
|
|
38
|
+
class: s(l(e)("pointer-events-none block size-(--switch-thumb) rounded-pill bg-card ring-0 data-[state=checked]:translate-x-(--switch-throw) data-[state=unchecked]:translate-x-0")),
|
|
39
|
+
style: {
|
|
40
|
+
"box-shadow": "var(--shadow-md), var(--glass-highlight)",
|
|
41
|
+
transition: "translate var(--spring-snappy-duration) var(--spring-snappy)"
|
|
42
|
+
}
|
|
43
|
+
}, null, 8, ["class"])]),
|
|
44
|
+
_: 1
|
|
45
|
+
}, 16, ["class"]));
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
//#endregion
|
|
49
|
+
export { m as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./vendor-
|
|
3
|
-
import { t as n } from "./useSurfaceAxis-
|
|
2
|
+
import { t } from "./vendor-B2qOlYY3.js";
|
|
3
|
+
import { t as n } from "./useSurfaceAxis-Ci7Dnaw2.js";
|
|
4
4
|
import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, withCtx as b } from "vue";
|
|
5
5
|
import { ToastAction as x, ToastClose as S, ToastDescription as C, ToastPortal as w, ToastProvider as T, ToastRoot as E, ToastTitle as D, ToastViewport as O, useForwardPropsEmits as k } from "reka-ui";
|
|
6
6
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./createContext-
|
|
2
|
+
import { t } from "./createContext-Cd23P9j0.js";
|
|
3
3
|
import { computed as n, createBlock as r, createElementVNode as i, defineComponent as a, mergeProps as o, normalizeClass as s, openBlock as c, renderSlot as l, unref as u, withCtx as d } from "vue";
|
|
4
4
|
import { Toggle as f, ToggleGroupItem as p, ToggleGroupRoot as m, injectToggleGroupRootContext as h, useForwardProps as g, useForwardPropsEmits as _ } from "reka-ui";
|
|
5
5
|
import { cva as v } from "class-variance-authority";
|
|
@@ -50,11 +50,11 @@ var y = /* @__PURE__ */ a({
|
|
|
50
50
|
"class"
|
|
51
51
|
]));
|
|
52
52
|
}
|
|
53
|
-
}), b = v("tap-squish focus-ring inline-flex items-center justify-center gap-2 rounded-
|
|
53
|
+
}), b = v("tap-squish focus-ring inline-flex items-center justify-center gap-2 rounded-pill text-[length:var(--control-text)] font-medium transition-control hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-disabled data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg:not([class*=size-])]:size-(--ui-glyph) [&_svg]:shrink-0 [&_svg]:pointer-events-none", {
|
|
54
54
|
variants: {
|
|
55
55
|
variant: {
|
|
56
56
|
default: "bg-transparent",
|
|
57
|
-
outline: "
|
|
57
|
+
outline: "control-surface",
|
|
58
58
|
card: "rounded-card glass-card w-full transform-gpu cursor-pointer flex-col gap-4 p-8 text-center transition-[background-color,border-color,box-shadow,color,opacity,transform] duration-fast ease-standard hover:bg-glass-quiet hover:text-foreground active:scale-95 data-[state=on]:border-glass-border-quiet data-[state=on]:bg-glass-quiet data-[state=on]:text-foreground data-[state=on]:shadow-glass-quiet"
|
|
59
59
|
},
|
|
60
60
|
size: {
|
|
@@ -113,15 +113,15 @@ var C = x.use, w = ["role"], T = /* @__PURE__ */ a({
|
|
|
113
113
|
variant: f.variant,
|
|
114
114
|
size: f.size
|
|
115
115
|
});
|
|
116
|
-
let h = n(() => f.type === "single" ? "radiogroup" : "group"), g = _(n(() => {
|
|
116
|
+
let h = n(() => f.type === "single" ? "radiogroup" : "group"), g = n(() => f.type === "single" ? "glass-capsule-track rounded-pill p-1" : ""), v = _(n(() => {
|
|
117
117
|
let { class: e, ...t } = f;
|
|
118
118
|
return t;
|
|
119
119
|
}), p);
|
|
120
|
-
return (t, n) => (c(), r(u(m), o(u(
|
|
120
|
+
return (t, n) => (c(), r(u(m), o(u(v), { "as-child": "" }), {
|
|
121
121
|
default: d(() => [i("div", {
|
|
122
122
|
"data-slot": "toggle-group",
|
|
123
123
|
role: h.value,
|
|
124
|
-
class: s(u(e)("flex items-center justify-center gap-1", f.class))
|
|
124
|
+
class: s(u(e)("flex items-center justify-center gap-1", g.value, f.class))
|
|
125
125
|
}, [l(t.$slots, "default")], 10, w)]),
|
|
126
126
|
_: 3
|
|
127
127
|
}, 16));
|