@mkbabb/glass-ui 3.1.1 → 3.3.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/{CardFooter-CSGcJkqa.js → CardFooter-C390imy7.js} +3 -3
- package/dist/{CollapsibleContent-CVMOcYlV.js → CollapsibleContent-cauTbZEM.js} +1 -1
- package/dist/{CommandShortcut-DWT19a2Y.js → CommandShortcut-BiVyqipe.js} +7 -6
- package/dist/{ContextMenuSubContent-gAFxJ-qi.js → ContextMenuSubContent-DrWkXKQP.js} +4 -4
- package/dist/DataTable-FfkaAg2z.js +465 -0
- package/dist/DialogContent-IQ8_BRrC.js +100 -0
- package/dist/{DialogFooter-ClrNEOVU.js → DialogFooter-Er0wA3K6.js} +2 -2
- package/dist/{DiscoGlyph-C3JfMnRV.js → DiscoGlyph-BaZ8OawK.js} +1 -1
- package/dist/{GlyphFace-BRS8vUb7.js → GlyphFace-B_7vOmYn.js} +1 -1
- package/dist/HoverPopover-DTSYkJtw.js +96 -0
- package/dist/{IconTooltip-BkaA7tZ2.js → IconTooltip-BTyYn4mr.js} +1 -1
- package/dist/Input-CU9CNKmo.js +52 -0
- package/dist/{MetricBadge-DmAihkXd.js → MetricBadge-BlrdbOGN.js} +2 -2
- package/dist/{Notification-OqIpADml.js → Notification-DP_ApJLo.js} +3 -3
- package/dist/{NumberFieldContent-DTH9gb_N.js → NumberFieldContent-iOTQ5rGO.js} +9 -5
- package/dist/{PopoverContent-EiklFrna.js → PopoverContent-B8WtJECb.js} +1 -1
- package/dist/Progress-DjM86vfb.js +254 -0
- package/dist/{ScrollingText-BFd0i2zJ.js → ScrollingText-P9o_DuMn.js} +2 -2
- package/dist/{SelectScrollDownButton-Dth8-wXQ.js → SelectScrollDownButton-BGn3rjs9.js} +12 -11
- package/dist/TabsIndicator-DA0x9gPr.js +97 -0
- package/dist/{Toaster-Bjlunvq4.js → Toaster-DdhMKfus.js} +1 -1
- package/dist/{ToggleGroupItem-OesUouE7.js → ToggleGroupItem-gyXj998A.js} +37 -40
- package/dist/UnderlineTabs-Cq_AD03t.js +39 -0
- package/dist/animated-digit.js +3 -3
- package/dist/api/index.d.ts +2 -0
- package/dist/api.js +1 -1
- package/dist/aurora.js +471 -320
- package/dist/badge.js +1 -1
- package/dist/{button-C0aHmBbt.js → button-Ckn3eDfB.js} +27 -22
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +6 -6
- package/dist/{check-dwgetki8.js → check-CdkxGxXJ.js} +1 -1
- package/dist/{chevron-down-DILQA1t6.js → chevron-down-pBY8sYfV.js} +1 -1
- package/dist/{chevron-right-fS7fal2t.js → chevron-right-BjeKC22V.js} +1 -1
- package/dist/{chevron-up-BtYjYQOS.js → chevron-up-DBeNHUm1.js} +1 -1
- package/dist/collapsible.js +1 -1
- package/dist/color-rkK4RMx2.js +33 -0
- package/dist/color.d.ts +1 -0
- package/dist/color.js +2 -0
- package/dist/command.js +1 -1
- package/dist/compile-DVgAxagk.js +106 -0
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +7 -7
- package/dist/components/custom/aurora/Aurora.vue.d.ts +3 -3
- package/dist/components/custom/aurora/composables/color.d.ts +42 -16
- package/dist/components/custom/aurora/composables/cursorModel.d.ts +45 -0
- package/dist/components/custom/aurora/composables/frameLoop.d.ts +30 -0
- package/dist/components/custom/aurora/composables/glSetup.d.ts +29 -0
- package/dist/components/custom/aurora/composables/runtime.d.ts +45 -35
- package/dist/components/custom/aurora/composables/uniformBridge.d.ts +67 -0
- package/dist/components/custom/aurora/composables/useAurora.d.ts +14 -1
- package/dist/components/custom/aurora/composables/useCursorInteraction.d.ts +1 -1
- package/dist/components/custom/aurora/constants/budget.d.ts +50 -0
- package/dist/components/custom/aurora/{presets.d.ts → constants/presets.d.ts} +3 -6
- package/dist/components/custom/aurora/constants/shaders/aurora.frag.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/composition.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/flow.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -0
- package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +4 -3
- package/dist/components/custom/configurator/Configurator.vue.d.ts +26 -0
- package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +14 -7
- package/dist/components/custom/configurator/density.d.ts +3 -8
- package/dist/components/custom/configurator/index.d.ts +1 -1
- package/dist/components/custom/dock/DockBackgroundToggle.vue.d.ts +46 -0
- package/dist/components/custom/dock/DockIconButton.vue.d.ts +15 -4
- package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +2 -2
- package/dist/components/custom/dock/GlassDock.vue.d.ts +34 -13
- package/dist/components/custom/dock/composables/dockContext.d.ts +4 -4
- package/dist/components/custom/dock/composables/dockLayerContext.d.ts +13 -6
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +32 -8
- package/dist/components/custom/dock/index.d.ts +1 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
- package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
- package/dist/components/custom/glyph-face/keys.d.ts +3 -29
- package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +48 -0
- package/dist/components/custom/goo-blob/composables/easing.d.ts +6 -0
- package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +14 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +13 -0
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +42 -0
- package/dist/components/custom/goo-blob/index.d.ts +7 -0
- package/dist/components/custom/goo-blob/shaders/metaball.frag.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/metaball.vert.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/oklch-perturb.glsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/sdf-body.glsl.d.ts +1 -0
- package/dist/components/custom/goo-blob/shaders/watercolor-edges.glsl.d.ts +2 -0
- package/dist/components/custom/goo-blob/types.d.ts +77 -0
- package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +48 -9
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +2 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +2 -2
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +2 -2
- package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +13 -7
- package/dist/components/custom/search/FuzzySearch.vue.d.ts +1 -1
- package/dist/components/custom/search/SearchBar.vue.d.ts +1 -1
- package/dist/components/custom/sortable-list/SortableHandle.vue.d.ts +7 -1
- package/dist/components/custom/sortable-list/context.d.ts +2 -3
- package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +6 -3
- package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +7 -3
- package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +6 -3
- package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +39 -0
- package/dist/components/custom/timeline/ContinuousMarkers.vue.d.ts +49 -0
- package/dist/components/custom/timeline/ContinuousRail.vue.d.ts +26 -0
- package/dist/components/custom/timeline/ContinuousTimeline.vue.d.ts +4 -4
- package/dist/components/custom/typewriter/TypewriterText.vue.d.ts +2 -2
- package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +45 -0
- package/dist/components/custom/watercolor-dot/index.d.ts +3 -0
- package/dist/components/custom/watercolor-dot/prng.d.ts +5 -0
- package/dist/components/custom/watercolor-dot/useWatercolorBlob.d.ts +24 -0
- package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
- package/dist/components/ui/avatar/Avatar.vue.d.ts +1 -1
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +5 -1
- package/dist/components/ui/avatar/index.d.ts +1 -1
- package/dist/components/ui/badge/index.d.ts +2 -2
- package/dist/components/ui/button/Button.vue.d.ts +3 -1
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
- package/dist/components/ui/combobox/Combobox.vue.d.ts +2 -2
- package/dist/components/ui/combobox/ComboboxInput.vue.d.ts +2 -1
- package/dist/components/ui/command/Command.vue.d.ts +3 -3
- package/dist/components/ui/command/CommandInput.vue.d.ts +2 -1
- package/dist/components/ui/data-table/DataTable.vue.d.ts +5 -4
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +4 -4
- package/dist/components/ui/input/Input.vue.d.ts +19 -1
- package/dist/components/ui/multi-select/MultiSelect.vue.d.ts +8 -4
- package/dist/components/ui/progress/Progress.vue.d.ts +26 -88
- package/dist/components/ui/progress/ProgressDefault.vue.d.ts +14 -0
- package/dist/components/ui/progress/ProgressGradient.vue.d.ts +25 -0
- package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +36 -0
- package/dist/components/ui/progress/index.d.ts +5 -2
- package/dist/components/ui/progress/useProgressGeometry.d.ts +60 -0
- package/dist/components/ui/select/Select.vue.d.ts +2 -2
- package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +3 -0
- package/dist/components/ui/sheet/index.d.ts +1 -1
- package/dist/components/ui/slider/index.d.ts +12 -11
- package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
- package/dist/components/ui/textarea/Textarea.vue.d.ts +5 -1
- package/dist/components/ui/toast/Toast.vue.d.ts +4 -4
- package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
- package/dist/components/ui/toggle/index.d.ts +1 -1
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +2 -3
- package/dist/composables/color/index.d.ts +49 -0
- package/dist/composables/context/createContext.d.ts +56 -0
- package/dist/composables/context/index.d.ts +1 -0
- package/dist/composables/dark/darkModeSyncScript.d.ts +23 -0
- package/dist/composables/dark/index.d.ts +3 -0
- package/dist/composables/dark/useGlobalDark.d.ts +19 -2
- package/dist/composables/dom/index.d.ts +1 -3
- package/dist/composables/dom/useClipboard.d.ts +35 -12
- package/dist/composables/dom/useDocumentVisibility.d.ts +20 -0
- package/dist/composables/dom/useTextHighlight.d.ts +40 -0
- package/dist/composables/glass/webgl/compile.d.ts +15 -0
- package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +3 -0
- package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +55 -0
- package/dist/composables/motion/core/index.d.ts +2 -1
- package/dist/composables/motion/index.d.ts +1 -1
- package/dist/composables/motion/useCountup.d.ts +29 -0
- package/dist/composables/motion/usePrioritizedTask.d.ts +41 -0
- package/dist/composables/motion/vReveal.d.ts +2 -0
- package/dist/composables/sidebar/useSidebarState.d.ts +2 -2
- package/dist/composables/sortable/dragController.d.ts +44 -0
- package/dist/composables/sortable/dropResolver.d.ts +34 -0
- package/dist/composables/sortable/ghostRenderer.d.ts +44 -0
- package/dist/composables/sortable/index.d.ts +1 -1
- package/dist/composables/sortable/touchGate.d.ts +26 -0
- package/dist/composables/sortable/transitionTiming.d.ts +50 -0
- package/dist/composables/sortable/types.d.ts +133 -0
- package/dist/composables/sortable/useSortable.d.ts +25 -140
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +3 -3
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +5 -5
- package/dist/createContext-DBMGRlx4.js +25 -0
- package/dist/dark.d.ts +2 -1
- package/dist/dark.js +9 -2
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/disco-glyph.js +1 -1
- package/dist/dock.js +410 -254
- package/dist/dockContext-spUj_-E5.js +9 -0
- package/dist/dom.js +6 -5
- package/dist/{dropdown-menu-BvRUamNs.js → dropdown-menu-EFjl5iKo.js} +4 -4
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +28 -22
- package/dist/fonts/README.md +21 -0
- package/dist/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/dist/forms.js +70 -61
- package/dist/glass-carousel.js +59 -52
- package/dist/glass-panel.js +2 -2
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +159 -254
- package/dist/glyph-face.js +2 -2
- package/dist/goo-blob.d.ts +1 -0
- package/dist/goo-blob.js +538 -0
- package/dist/header-ribbon.js +3 -3
- package/dist/hover-card.js +1 -1
- package/dist/hover-popover.js +1 -1
- package/dist/icon-tooltip.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/instrument-chassis.js +1 -1
- package/dist/instrument-rail.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/keys-BFoma9vm.js +9 -0
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +57 -39
- package/dist/metric-badge.js +1 -1
- package/dist/metric-stack.js +1 -1
- package/dist/{minimize-2-LsCJ_eNt.js → minimize-2-BP27-qBY.js} +1 -1
- package/dist/motion-core.js +154 -135
- package/dist/motion.js +63 -15
- package/dist/notification.js +1 -1
- package/dist/number-field.js +1 -1
- package/dist/paper-backdrop.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/{presets-a-D93K1S.js → presets-1OhFpaIC.js} +5 -5
- package/dist/prng-Bz_1Tydc.js +15 -0
- package/dist/progress.js +2 -2
- package/dist/pulse.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/responsive-tabs.js +38 -32
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-DBAiUABx.js → search-DBG8qaRs.js} +1 -1
- package/dist/search.js +153 -149
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-CukNDezz.js → sheet-CQYYrkr9.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/{slider-DJvHkTRe.js → slider-BOh8ycfZ.js} +8 -12
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +37 -39
- package/dist/stacked-icons.js +2 -2
- package/dist/styles/animations.css +1 -1
- package/dist/styles/cards.css +1 -1
- package/dist/styles/components.css +45 -0
- package/dist/styles/dock-controls.css +486 -0
- package/dist/styles/dock.css +325 -431
- package/dist/styles/fonts.css +25 -0
- package/dist/styles/glass-specular-track.css +154 -0
- package/dist/styles/glass.css +74 -2
- package/dist/styles/index.css +25 -2
- package/dist/styles/instrument-chassis.css +11 -4
- package/dist/styles/theme.css +73 -21
- package/dist/styles/tokens.css +282 -140
- package/dist/styles/typography.css +14 -8
- package/dist/styles/utilities.css +92 -8
- package/dist/styles/view-transition.css +10 -4
- package/dist/switch.js +1 -1
- package/dist/tabs.js +148 -106
- package/dist/timeline.js +220 -159
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{useAnimatedNumber-DKQYVB7s.js → useAnimatedNumber-BF6r64lA.js} +1 -1
- package/dist/useClipboard-D8vFyRCa.js +97 -0
- package/dist/useConfiguratorState-DUtC1jxr.js +276 -0
- package/dist/useGlobalDark-CWiaCoEw.js +34 -0
- package/dist/useIntersectionPause-DAdVPVp4.js +53 -0
- package/dist/useSortable-DnyGXKKY.js +246 -0
- package/dist/useTextHighlight-Dmtofpk2.js +72 -0
- package/dist/{useTouchGate-D9Zvrzyc.js → useTouchGate-CS5Csc2h.js} +1 -1
- package/dist/{useViewTransition-DYIK6Gzb.js → useViewTransition-D4ssvnXZ.js} +5 -3
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/platformSupport.d.ts +8 -0
- package/dist/utils/prng.d.ts +4 -0
- package/dist/vReveal-u2wSG2El.js +35 -0
- package/dist/watercolor-dot.d.ts +1 -0
- package/dist/watercolor-dot.js +129 -0
- package/dist/{x-q7pJa83X.js → x-C4pz9nbD.js} +1 -1
- package/package.json +110 -16
- package/src/fonts/README.md +21 -0
- package/src/fonts/fraunces/fraunces-latin.woff2 +0 -0
- package/src/styles/animations.css +1 -1
- package/src/styles/cards.css +1 -1
- package/src/styles/dock-controls.css +486 -0
- package/src/styles/dock.css +325 -431
- package/src/styles/fonts.css +25 -0
- package/src/styles/glass-specular-track.css +154 -0
- package/src/styles/glass.css +74 -2
- package/src/styles/index.css +21 -2
- package/src/styles/instrument-chassis.css +11 -4
- package/src/styles/theme.css +73 -21
- package/src/styles/tokens.css +282 -140
- package/src/styles/typography.css +14 -8
- package/src/styles/utilities.css +92 -8
- package/src/styles/view-transition.css +10 -4
- package/dist/DataTable-R8-Zidms.js +0 -460
- package/dist/DialogContent-2fALDSvc.js +0 -93
- package/dist/HoverPopover-CWFCfLx3.js +0 -96
- package/dist/Input-DDpFn568.js +0 -30
- package/dist/Progress-FApA9fm_.js +0 -126
- package/dist/UnderlineTabs-DAWMLmJG.js +0 -37
- package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +0 -1
- package/dist/composables/dom/useBreakpoint.d.ts +0 -38
- package/dist/composables/dom/useIdleReady.d.ts +0 -63
- package/dist/composables/dom/useViewportReady.d.ts +0 -87
- package/dist/composables/glass/webgl/frostShader.d.ts +0 -27
- package/dist/composables/motion/useAnimatedNumberMap.d.ts +0 -29
- package/dist/composables/motion/useStagger.d.ts +0 -50
- package/dist/dockContext-D5NZCWJs.js +0 -16
- package/dist/keys-CaTQS-vx.js +0 -11
- package/dist/useConfiguratorState-CtRBE0m_.js +0 -268
- package/dist/useGlobalDark-B0WvLJE3.js +0 -24
- package/dist/useIdleReady-Cmkhm03v.js +0 -162
- package/dist/useIntersectionPause-IY2CwPQb.js +0 -39
- package/dist/useSortable-Cq2Y1JLO.js +0 -175
- /package/dist/{ContextMenuContent-otjFIu8v.js → ContextMenuContent-De01_83g.js} +0 -0
- /package/dist/{HoverCardContent-DaGrgJBO.js → HoverCardContent-ICfIMZX1.js} +0 -0
- /package/dist/{InstrumentChassis-CnHTMxds.js → InstrumentChassis-DaHIZCqy.js} +0 -0
- /package/dist/{InstrumentRail-C6dEbi8E.js → InstrumentRail-B0qqLFN0.js} +0 -0
- /package/dist/{Label-DJty89bp.js → Label-CZk-3nTc.js} +0 -0
- /package/dist/{ModalOverlay-iWiAgbYH.js → ModalOverlay-B_CBtqcE.js} +0 -0
- /package/dist/{PaperBackdrop-CeZ-w0R0.js → PaperBackdrop-D_YZW47j.js} +0 -0
- /package/dist/{SelectGroup-DdR4tdDY.js → SelectGroup-CMdoCjRE.js} +0 -0
- /package/dist/{SelectSeparator-CXm_hlqA.js → SelectSeparator-CaJnPF3_.js} +0 -0
- /package/dist/{Separator-D8AUMhxY.js → Separator-C2XtAXRp.js} +0 -0
- /package/dist/{Switch-Cr1t_F_U.js → Switch-x8n6husW.js} +0 -0
- /package/dist/{TooltipProvider-DE78vbEP.js → TooltipProvider-D-JrSqDu.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
- /package/dist/{badge-x46my_Fo.js → badge-Cl6JZ1B7.js} +0 -0
- /package/dist/components/custom/aurora/{renderMode.d.ts → constants/renderMode.d.ts} +0 -0
- /package/dist/components/custom/aurora/{shaders → constants/shaders}/aurora.vert.d.ts +0 -0
- /package/dist/{constants-DwBwnG8N.js → constants-DsCdlK9I.js} +0 -0
- /package/dist/{createLucideIcon-Bn9a1b70.js → createLucideIcon-DuDoe_ra.js} +0 -0
- /package/dist/{menuItemVariants-BsbGNq9C.js → menuItemVariants-C2QlXqT3.js} +0 -0
- /package/dist/{useGlassRenderer-Ds-nmrGz.js → useGlassRenderer-Dn3WpfG-.js} +0 -0
- /package/dist/{useInterval-DVgGUf_y.js → useInterval-CHVYFpXV.js} +0 -0
- /package/dist/{useKeyboardShortcuts-Dpw_RUcB.js → useKeyboardShortcuts-BQfnAHHW.js} +0 -0
- /package/dist/{useResizeObserver-Cg9npuM3.js → useResizeObserver-DX-STszm.js} +0 -0
- /package/dist/{useSpringMount-Cfk1XK1R.js → useSpringMount-CnizvZGm.js} +0 -0
- /package/dist/{useTimer-NAaj9zNq.js → useTimer-DGgoxTXL.js} +0 -0
- /package/dist/{useUserInvalidAria-DVu1eTXG.js → useUserInvalidAria-DmvZ_6Dx.js} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { n as e } from "./createContext-DBMGRlx4.js";
|
|
2
|
+
//#region src/components/custom/dock/composables/dockContext.ts
|
|
3
|
+
var t = e("glass-ui:dock-context", "[glass-ui:dock] useDockContext() called outside <GlassDock>; use useOptionalDockContext() if the primitive may render outside a dock."), n = t.KEY;
|
|
4
|
+
function r(e) {
|
|
5
|
+
t.provide(e);
|
|
6
|
+
}
|
|
7
|
+
var i = t.use, a = t.useOptional;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { a as i, r as n, i as r, n as t };
|
package/dist/dom.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
2
|
-
import { t } from "./
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
|
|
1
|
+
import { t as e } from "./useResizeObserver-DX-STszm.js";
|
|
2
|
+
import { t } from "./useTouchGate-CS5Csc2h.js";
|
|
3
|
+
import { n, r, t as i } from "./useClipboard-D8vFyRCa.js";
|
|
4
|
+
import { t as a } from "./useUserInvalidAria-DmvZ_6Dx.js";
|
|
5
|
+
import { t as o } from "./useTextHighlight-Dmtofpk2.js";
|
|
6
|
+
export { i as copyToClipboard, n as useClipboard, e as useResizeObserver, o as useTextHighlight, r as useTokenColor, t as useTouchGate, a as useUserInvalidAria };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./check-
|
|
3
|
-
import { t as n } from "./chevron-right-
|
|
4
|
-
import { t as r } from "./menuItemVariants-
|
|
5
|
-
import { i } from "./dockContext-
|
|
2
|
+
import { t } from "./check-CdkxGxXJ.js";
|
|
3
|
+
import { t as n } from "./chevron-right-BjeKC22V.js";
|
|
4
|
+
import { t as r } from "./menuItemVariants-C2QlXqT3.js";
|
|
5
|
+
import { i } from "./dockContext-spUj_-E5.js";
|
|
6
6
|
import { computed as a, createBlock as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, guardReactiveProps as d, mergeProps as f, normalizeClass as p, normalizeProps as m, openBlock as h, renderSlot as g, unref as _, withCtx as v } from "vue";
|
|
7
7
|
import { DropdownMenuCheckboxItem as y, DropdownMenuContent as b, DropdownMenuGroup as x, DropdownMenuItem as S, DropdownMenuItemIndicator as C, DropdownMenuLabel as w, DropdownMenuPortal as T, DropdownMenuPortal as E, DropdownMenuRadioGroup as D, DropdownMenuRadioItem as O, DropdownMenuRoot as k, DropdownMenuSeparator as A, DropdownMenuSub as j, DropdownMenuSubContent as M, DropdownMenuSubTrigger as N, DropdownMenuTrigger as P, useForwardProps as F, useForwardPropsEmits as I } from "reka-ui";
|
|
8
8
|
//#endregion
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-
|
|
1
|
+
import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "./dropdown-menu-EFjl5iKo.js";
|
|
2
2
|
export { i as DropdownMenu, o as DropdownMenuCheckboxItem, u as DropdownMenuContent, r as DropdownMenuGroup, m as DropdownMenuItem, e as DropdownMenuLabel, p as DropdownMenuPortal, n as DropdownMenuRadioGroup, t as DropdownMenuRadioItem, l as DropdownMenuSeparator, f as DropdownMenuShortcut, a as DropdownMenuSub, c as DropdownMenuSubContent, d as DropdownMenuSubTrigger, s as DropdownMenuTrigger };
|
|
@@ -1,23 +1,27 @@
|
|
|
1
|
-
import { n as e, t } from "./minimize-2-
|
|
2
|
-
import { i as n } from "./useKeyboardShortcuts-
|
|
1
|
+
import { n as e, t } from "./minimize-2-BP27-qBY.js";
|
|
2
|
+
import { i as n } from "./useKeyboardShortcuts-BQfnAHHW.js";
|
|
3
3
|
import { Fragment as r, Teleport as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeModels as d, mergeProps as f, normalizeClass as p, onMounted as m, onUnmounted as h, openBlock as g, renderSlot as _, unref as v, useModel as y, watch as b } from "vue";
|
|
4
4
|
//#region src/components/custom/expandable-container/ExpandableContainer.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var x = {
|
|
5
|
+
var x = ["aria-label"], S = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "fixed inset-0 z-modal flex flex-col bg-background"
|
|
8
|
-
},
|
|
9
|
-
function
|
|
10
|
-
return typeof document > "u" ? !1 : (
|
|
8
|
+
}, C = ["aria-label"], w = { class: "h-full w-full" }, T = 0, E = null;
|
|
9
|
+
function D() {
|
|
10
|
+
return typeof document > "u" ? !1 : (T === 0 && (E = document.body.style.overflow, document.body.style.overflow = "hidden"), T += 1, !0);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
typeof document > "u" ||
|
|
12
|
+
function O() {
|
|
13
|
+
typeof document > "u" || T === 0 || (--T, T === 0 && (document.body.style.overflow = E ?? "", E = null));
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
16
|
//#region src/components/custom/expandable-container/ExpandableContainer.vue
|
|
17
|
-
var
|
|
17
|
+
var k = /* @__PURE__ */ u({
|
|
18
18
|
inheritAttrs: !1,
|
|
19
19
|
__name: "ExpandableContainer",
|
|
20
|
-
props: /* @__PURE__ */ d({
|
|
20
|
+
props: /* @__PURE__ */ d({
|
|
21
|
+
buttonPosition: { default: "right" },
|
|
22
|
+
expandLabel: { default: "Fullscreen" },
|
|
23
|
+
collapseLabel: { default: "Exit fullscreen" }
|
|
24
|
+
}, {
|
|
21
25
|
open: {
|
|
22
26
|
type: Boolean,
|
|
23
27
|
default: !1
|
|
@@ -26,18 +30,18 @@ var D = /* @__PURE__ */ u({
|
|
|
26
30
|
}),
|
|
27
31
|
emits: ["update:open"],
|
|
28
32
|
setup(u) {
|
|
29
|
-
let d = y(u, "open"),
|
|
30
|
-
function
|
|
31
|
-
if (e && !
|
|
32
|
-
|
|
33
|
+
let d = y(u, "open"), T = !1;
|
|
34
|
+
function E(e) {
|
|
35
|
+
if (e && !T) {
|
|
36
|
+
T = D();
|
|
33
37
|
return;
|
|
34
38
|
}
|
|
35
|
-
!e &&
|
|
39
|
+
!e && T && (O(), T = !1);
|
|
36
40
|
}
|
|
37
|
-
b(d,
|
|
38
|
-
let
|
|
41
|
+
b(d, E, { immediate: !0 });
|
|
42
|
+
let k = null;
|
|
39
43
|
return m(() => {
|
|
40
|
-
|
|
44
|
+
k = n("Escape", () => {
|
|
41
45
|
d.value &&= !1;
|
|
42
46
|
}, {
|
|
43
47
|
label: "Exit fullscreen",
|
|
@@ -45,20 +49,22 @@ var D = /* @__PURE__ */ u({
|
|
|
45
49
|
allowInInput: !0
|
|
46
50
|
});
|
|
47
51
|
}), h(() => {
|
|
48
|
-
|
|
52
|
+
k?.(), E(!1);
|
|
49
53
|
}), (n, m) => (g(), s(r, null, [d.value ? o("", !0) : (g(), s("div", f({
|
|
50
54
|
key: 0,
|
|
51
55
|
class: "relative"
|
|
52
56
|
}, n.$attrs), [c("button", {
|
|
53
57
|
class: p(["expandable-container__trigger absolute z-10 rounded-button bg-card/70 [backdrop-filter:var(--glass-blur-wash)] p-1.5 text-muted-foreground hover:text-foreground transition-colors shadow-sm border border-border/40", u.buttonPosition === "left" ? "left-2 top-2" : "right-2 top-2"]),
|
|
54
58
|
title: "Fullscreen",
|
|
59
|
+
"aria-label": u.expandLabel,
|
|
55
60
|
onClick: m[0] ||= (e) => d.value = !0
|
|
56
|
-
}, [l(v(e), { class: "h-4 w-4" })],
|
|
61
|
+
}, [l(v(e), { class: "h-4 w-4" })], 10, x), _(n.$slots, "default", { fullscreen: !1 })], 16)), (g(), a(i, { to: "body" }, [d.value ? (g(), s("div", S, [c("button", {
|
|
57
62
|
class: p(["expandable-container__trigger absolute z-10 rounded-button bg-card/70 [backdrop-filter:var(--glass-blur-wash)] p-2 text-muted-foreground hover:text-foreground transition-colors shadow-sm border border-border/40", u.buttonPosition === "left" ? "left-3 top-3" : "right-3 top-3"]),
|
|
58
63
|
title: "Exit fullscreen",
|
|
64
|
+
"aria-label": u.collapseLabel,
|
|
59
65
|
onClick: m[1] ||= (e) => d.value = !1
|
|
60
|
-
}, [l(v(t), { class: "h-4 w-4" })],
|
|
66
|
+
}, [l(v(t), { class: "h-4 w-4" })], 10, C), c("div", w, [_(n.$slots, "default", { fullscreen: !0 })])])) : o("", !0)]))], 64));
|
|
61
67
|
}
|
|
62
68
|
});
|
|
63
69
|
//#endregion
|
|
64
|
-
export {
|
|
70
|
+
export { k as ExpandableContainer };
|
package/dist/fonts/README.md
CHANGED
|
@@ -21,6 +21,27 @@ woff2 builds live in `distr/woff2/` of that repository's releases — pull
|
|
|
21
21
|
the `Regular`/`Medium`/`SemiBold` weights only (the three glass-ui ships
|
|
22
22
|
as the `--font-mono` stack rungs).
|
|
23
23
|
|
|
24
|
+
## Fraunces (display, AU.W4)
|
|
25
|
+
|
|
26
|
+
The actual on-disk layout is per-family nested
|
|
27
|
+
(`src/fonts/<family>/<face>.woff2`), e.g.
|
|
28
|
+
`src/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2`. AU.W4 ships the
|
|
29
|
+
display register's face — the `--font-stack-display: "Fraunces"` token
|
|
30
|
+
(`tokens.css`) had no face, so the `WONK`/`SOFT` axes `typography.css` drives were
|
|
31
|
+
silently inert. The shipped face is the FULL variable Fraunces (latin subset):
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
src/fonts/fraunces/fraunces-latin.woff2
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
It carries the `wght` · `opsz` · `SOFT` · `WONK` axes (verified by
|
|
38
|
+
`proof:font-axes`, which parses the woff2 `fvar` against the axes
|
|
39
|
+
`typography.css` references). Source canonical:
|
|
40
|
+
<https://github.com/googlefonts/fraunces> (OFL-1.1); the variable woff2 latin
|
|
41
|
+
subset is the Google Fonts / fontsource distribution. `proof:font-axes` fails
|
|
42
|
+
closed if a wght-only instance (one that drops `SOFT`/`WONK`) is ever
|
|
43
|
+
substituted.
|
|
44
|
+
|
|
24
45
|
## Why this directory ships, not the fetch step
|
|
25
46
|
|
|
26
47
|
This worktree has no network access. Sub-task 1 documents the canonical
|
|
Binary file
|
package/dist/forms.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./search-
|
|
3
|
-
import { t as n } from "./menuItemVariants-
|
|
4
|
-
import { t as r } from "./useUserInvalidAria-
|
|
5
|
-
import { t as i } from "./Input-
|
|
6
|
-
import {
|
|
7
|
-
import { ComboboxAnchor as
|
|
8
|
-
import { reactiveOmit as
|
|
2
|
+
import { t } from "./search-DBG8qaRs.js";
|
|
3
|
+
import { t as n } from "./menuItemVariants-C2QlXqT3.js";
|
|
4
|
+
import { t as r } from "./useUserInvalidAria-DmvZ_6Dx.js";
|
|
5
|
+
import { t as i } from "./Input-CU9CNKmo.js";
|
|
6
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, isRef as f, mergeProps as p, openBlock as m, renderSlot as h, toDisplayString as g, unref as _, vModelText as v, withCtx as y, withDirectives as b } from "vue";
|
|
7
|
+
import { ComboboxAnchor as x, ComboboxCancel as S, ComboboxContent as C, ComboboxEmpty as w, ComboboxGroup as T, ComboboxInput as E, ComboboxItem as D, ComboboxItemIndicator as O, ComboboxLabel as k, ComboboxPortal as A, ComboboxRoot as j, ComboboxSeparator as M, ComboboxTrigger as N, ComboboxViewport as P, useForwardProps as F, useForwardPropsEmits as I } from "reka-ui";
|
|
8
|
+
import { reactiveOmit as L, useVModel as R } from "@vueuse/core";
|
|
9
9
|
//#region src/components/ui/textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var
|
|
10
|
+
var z = ["data-autosize"], B = /* @__PURE__ */ d({
|
|
11
11
|
inheritAttrs: !1,
|
|
12
12
|
__name: "Textarea",
|
|
13
13
|
props: {
|
|
@@ -20,6 +20,8 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
20
20
|
] },
|
|
21
21
|
defaultValue: {},
|
|
22
22
|
modelValue: {},
|
|
23
|
+
placeholder: {},
|
|
24
|
+
disabled: { type: [Boolean, String] },
|
|
23
25
|
autosize: {
|
|
24
26
|
type: Boolean,
|
|
25
27
|
default: !1
|
|
@@ -27,16 +29,22 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
27
29
|
},
|
|
28
30
|
emits: ["update:modelValue"],
|
|
29
31
|
setup(t, { emit: n }) {
|
|
30
|
-
let r = t, i =
|
|
32
|
+
let r = t, i = R(r, "modelValue", n, {
|
|
31
33
|
passive: !0,
|
|
32
34
|
defaultValue: r.defaultValue
|
|
33
|
-
})
|
|
34
|
-
|
|
35
|
+
}), o = a(() => ({
|
|
36
|
+
placeholder: r.placeholder,
|
|
37
|
+
disabled: r.disabled
|
|
38
|
+
}));
|
|
39
|
+
return (n, a) => b((m(), c("textarea", p({ "onUpdate:modelValue": a[0] ||= (e) => f(i) ? i.value = e : null }, {
|
|
40
|
+
...n.$attrs,
|
|
41
|
+
...o.value
|
|
42
|
+
}, {
|
|
35
43
|
"data-autosize": t.autosize ? "" : void 0,
|
|
36
|
-
class:
|
|
37
|
-
}), null, 16,
|
|
44
|
+
class: _(e)("input-pill py-2 text-sm", t.autosize ? "" : "min-h-20", r.class)
|
|
45
|
+
}), null, 16, z)), [[v, _(i)]]);
|
|
38
46
|
}
|
|
39
|
-
}),
|
|
47
|
+
}), V = /* @__PURE__ */ d({
|
|
40
48
|
__name: "Combobox",
|
|
41
49
|
props: {
|
|
42
50
|
open: { type: Boolean },
|
|
@@ -65,13 +73,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
65
73
|
"update:open"
|
|
66
74
|
],
|
|
67
75
|
setup(e, { emit: t }) {
|
|
68
|
-
let n =
|
|
69
|
-
return (e, t) => (
|
|
70
|
-
default:
|
|
76
|
+
let n = I(e, t);
|
|
77
|
+
return (e, t) => (m(), o(_(j), p({ "data-slot": "combobox" }, _(n)), {
|
|
78
|
+
default: y(() => [h(e.$slots, "default")]),
|
|
71
79
|
_: 3
|
|
72
80
|
}, 16));
|
|
73
81
|
}
|
|
74
|
-
}),
|
|
82
|
+
}), H = /* @__PURE__ */ d({
|
|
75
83
|
__name: "ComboboxAnchor",
|
|
76
84
|
props: {
|
|
77
85
|
reference: {},
|
|
@@ -86,13 +94,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
86
94
|
] }
|
|
87
95
|
},
|
|
88
96
|
setup(t) {
|
|
89
|
-
let n = t, r =
|
|
90
|
-
return (t, i) => (
|
|
91
|
-
default:
|
|
97
|
+
let n = t, r = F(L(n, "class"));
|
|
98
|
+
return (t, i) => (m(), o(_(x), p({ "data-slot": "combobox-anchor" }, _(r), { class: _(e)("w-popover", n.class) }), {
|
|
99
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
92
100
|
_: 3
|
|
93
101
|
}, 16, ["class"]));
|
|
94
102
|
}
|
|
95
|
-
}),
|
|
103
|
+
}), U = /* @__PURE__ */ d({
|
|
96
104
|
__name: "ComboboxEmpty",
|
|
97
105
|
props: {
|
|
98
106
|
asChild: { type: Boolean },
|
|
@@ -106,13 +114,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
106
114
|
] }
|
|
107
115
|
},
|
|
108
116
|
setup(t) {
|
|
109
|
-
let n = t, r =
|
|
110
|
-
return (t, i) => (
|
|
111
|
-
default:
|
|
117
|
+
let n = t, r = L(n, "class");
|
|
118
|
+
return (t, i) => (m(), o(_(w), p({ "data-slot": "combobox-empty" }, _(r), { class: _(e)("py-6 text-center text-sm", n.class) }), {
|
|
119
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
112
120
|
_: 3
|
|
113
121
|
}, 16, ["class"]));
|
|
114
122
|
}
|
|
115
|
-
}),
|
|
123
|
+
}), W = /* @__PURE__ */ d({
|
|
116
124
|
__name: "ComboboxGroup",
|
|
117
125
|
props: {
|
|
118
126
|
asChild: { type: Boolean },
|
|
@@ -127,22 +135,22 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
127
135
|
heading: {}
|
|
128
136
|
},
|
|
129
137
|
setup(t) {
|
|
130
|
-
let n = t, r =
|
|
131
|
-
return (i,
|
|
132
|
-
default:
|
|
138
|
+
let n = t, r = L(n, "class");
|
|
139
|
+
return (i, a) => (m(), o(_(T), p({ "data-slot": "combobox-group" }, _(r), { class: _(e)("overflow-hidden p-1 text-foreground", n.class) }), {
|
|
140
|
+
default: y(() => [t.heading ? (m(), o(_(k), {
|
|
133
141
|
key: 0,
|
|
134
142
|
class: "px-2 py-1.5 text-xs font-medium text-muted-foreground"
|
|
135
143
|
}, {
|
|
136
|
-
default:
|
|
144
|
+
default: y(() => [l(g(t.heading), 1)]),
|
|
137
145
|
_: 1
|
|
138
|
-
})) :
|
|
146
|
+
})) : s("", !0), h(i.$slots, "default")]),
|
|
139
147
|
_: 3
|
|
140
148
|
}, 16, ["class"]));
|
|
141
149
|
}
|
|
142
|
-
}),
|
|
150
|
+
}), G = {
|
|
143
151
|
"data-slot": "command-input-wrapper",
|
|
144
152
|
class: "flex h-9 items-center gap-2 border-b px-3"
|
|
145
|
-
},
|
|
153
|
+
}, K = /* @__PURE__ */ d({
|
|
146
154
|
inheritAttrs: !1,
|
|
147
155
|
__name: "ComboboxInput",
|
|
148
156
|
props: {
|
|
@@ -158,23 +166,24 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
158
166
|
String,
|
|
159
167
|
Object,
|
|
160
168
|
Array
|
|
161
|
-
] }
|
|
169
|
+
] },
|
|
170
|
+
placeholder: {}
|
|
162
171
|
},
|
|
163
172
|
emits: ["update:modelValue"],
|
|
164
173
|
setup(n, { emit: r }) {
|
|
165
|
-
let i = n, a = r, o =
|
|
166
|
-
return (n, r) => (
|
|
174
|
+
let i = n, a = r, o = I(L(i, "class"), a);
|
|
175
|
+
return (n, r) => (m(), c("div", G, [u(_(t), { class: "size-4 shrink-0 opacity-50" }), u(_(E), p({
|
|
167
176
|
"data-slot": "command-input",
|
|
168
|
-
class:
|
|
177
|
+
class: _(e)("placeholder:text-muted-foreground flex h-10 w-full rounded-input bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-disabled", i.class)
|
|
169
178
|
}, {
|
|
170
|
-
...
|
|
179
|
+
..._(o),
|
|
171
180
|
...n.$attrs
|
|
172
181
|
}), {
|
|
173
|
-
default:
|
|
182
|
+
default: y(() => [h(n.$slots, "default")]),
|
|
174
183
|
_: 3
|
|
175
184
|
}, 16, ["class"])]));
|
|
176
185
|
}
|
|
177
|
-
}),
|
|
186
|
+
}), q = /* @__PURE__ */ d({
|
|
178
187
|
__name: "ComboboxItem",
|
|
179
188
|
props: {
|
|
180
189
|
textValue: {},
|
|
@@ -192,13 +201,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
192
201
|
},
|
|
193
202
|
emits: ["select"],
|
|
194
203
|
setup(t, { emit: r }) {
|
|
195
|
-
let i = t,
|
|
196
|
-
return (t, r) => (
|
|
197
|
-
default:
|
|
204
|
+
let i = t, a = r, s = I(L(i, "class"), a);
|
|
205
|
+
return (t, r) => (m(), o(_(D), p({ "data-slot": "combobox-item" }, _(s), { class: _(e)(_(n)({ indicator: "none" }), "gap-2 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", i.class) }), {
|
|
206
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
198
207
|
_: 3
|
|
199
208
|
}, 16, ["class"]));
|
|
200
209
|
}
|
|
201
|
-
}),
|
|
210
|
+
}), J = /* @__PURE__ */ d({
|
|
202
211
|
__name: "ComboboxItemIndicator",
|
|
203
212
|
props: {
|
|
204
213
|
asChild: { type: Boolean },
|
|
@@ -212,13 +221,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
212
221
|
] }
|
|
213
222
|
},
|
|
214
223
|
setup(t) {
|
|
215
|
-
let n = t, r =
|
|
216
|
-
return (t, i) => (
|
|
217
|
-
default:
|
|
224
|
+
let n = t, r = F(L(n, "class"));
|
|
225
|
+
return (t, i) => (m(), o(_(O), p({ "data-slot": "combobox-item-indicator" }, _(r), { class: _(e)("ml-auto", n.class) }), {
|
|
226
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
218
227
|
_: 3
|
|
219
228
|
}, 16, ["class"]));
|
|
220
229
|
}
|
|
221
|
-
}),
|
|
230
|
+
}), Y = /* @__PURE__ */ d({
|
|
222
231
|
__name: "ComboboxList",
|
|
223
232
|
props: {
|
|
224
233
|
forceMount: { type: Boolean },
|
|
@@ -261,16 +270,16 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
261
270
|
"interactOutside"
|
|
262
271
|
],
|
|
263
272
|
setup(t, { emit: n }) {
|
|
264
|
-
let r = t, i = n,
|
|
265
|
-
return (t, n) => (
|
|
266
|
-
default:
|
|
267
|
-
default:
|
|
273
|
+
let r = t, i = n, a = I(L(r, "class"), i);
|
|
274
|
+
return (t, n) => (m(), o(_(A), null, {
|
|
275
|
+
default: y(() => [u(_(C), p({ "data-slot": "combobox-list" }, _(a), { class: _(e)("z-popover w-popover rounded-panel border glass-floating text-popover-foreground origin-(--reka-combobox-content-transform-origin) overflow-hidden outline-none popover-animate slide-in-from-side", r.class) }), {
|
|
276
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
268
277
|
_: 3
|
|
269
278
|
}, 16, ["class"])]),
|
|
270
279
|
_: 3
|
|
271
280
|
}));
|
|
272
281
|
}
|
|
273
|
-
}),
|
|
282
|
+
}), X = /* @__PURE__ */ d({
|
|
274
283
|
__name: "ComboboxSeparator",
|
|
275
284
|
props: {
|
|
276
285
|
asChild: { type: Boolean },
|
|
@@ -284,13 +293,13 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
284
293
|
] }
|
|
285
294
|
},
|
|
286
295
|
setup(t) {
|
|
287
|
-
let n = t, r =
|
|
288
|
-
return (t, i) => (
|
|
289
|
-
default:
|
|
296
|
+
let n = t, r = L(n, "class");
|
|
297
|
+
return (t, i) => (m(), o(_(M), p({ "data-slot": "combobox-separator" }, _(r), { class: _(e)("bg-border -mx-1 h-px", n.class) }), {
|
|
298
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
290
299
|
_: 3
|
|
291
300
|
}, 16, ["class"]));
|
|
292
301
|
}
|
|
293
|
-
}),
|
|
302
|
+
}), Z = /* @__PURE__ */ d({
|
|
294
303
|
__name: "ComboboxViewport",
|
|
295
304
|
props: {
|
|
296
305
|
nonce: {},
|
|
@@ -305,12 +314,12 @@ var R = ["data-autosize"], z = /* @__PURE__ */ u({
|
|
|
305
314
|
] }
|
|
306
315
|
},
|
|
307
316
|
setup(t) {
|
|
308
|
-
let n = t, r =
|
|
309
|
-
return (t, i) => (
|
|
310
|
-
default:
|
|
317
|
+
let n = t, r = F(L(n, "class"));
|
|
318
|
+
return (t, i) => (m(), o(_(P), p({ "data-slot": "combobox-viewport" }, _(r), { class: _(e)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto", n.class) }), {
|
|
319
|
+
default: y(() => [h(t.$slots, "default")]),
|
|
311
320
|
_: 3
|
|
312
321
|
}, 16, ["class"]));
|
|
313
322
|
}
|
|
314
323
|
});
|
|
315
324
|
//#endregion
|
|
316
|
-
export {
|
|
325
|
+
export { V as Combobox, H as ComboboxAnchor, S as ComboboxCancel, U as ComboboxEmpty, W as ComboboxGroup, K as ComboboxInput, q as ComboboxItem, J as ComboboxItemIndicator, Y as ComboboxList, X as ComboboxSeparator, N as ComboboxTrigger, Z as ComboboxViewport, i as Input, B as Textarea, r as useUserInvalidAria };
|
package/dist/glass-carousel.js
CHANGED
|
@@ -1,33 +1,40 @@
|
|
|
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-C1je1s0u.js";
|
|
3
3
|
import { computed as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, nextTick as s, normalizeClass as c, normalizeStyle as l, onMounted as u, onUnmounted as d, openBlock as f, ref as p, renderSlot as m, unref as h, useTemplateRef as g, watch as _, withCtx as v } from "vue";
|
|
4
4
|
import { ScrollAreaRoot as y, ScrollAreaViewport as b } from "reka-ui";
|
|
5
5
|
//#region src/components/custom/glass-carousel/useGlassCarousel.ts
|
|
6
|
-
function x(
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
function x() {
|
|
7
|
+
return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("container-type", "scroll-state") && !CSS.supports("container-type", "gl-not-a-real-container-type");
|
|
8
|
+
}
|
|
9
|
+
function S(e) {
|
|
10
|
+
let { orientation: t, expanded: n, rootEl: r, viewportEl: i, fadeMs: a = 60 } = e, o = x();
|
|
11
|
+
function c() {
|
|
12
|
+
return o && t.value === "vertical";
|
|
13
|
+
}
|
|
14
|
+
let l = p(!1), f = p(!1);
|
|
15
|
+
function m() {
|
|
9
16
|
let e = i.value;
|
|
10
17
|
if (!e) {
|
|
11
|
-
|
|
18
|
+
l.value = !1, f.value = !1;
|
|
12
19
|
return;
|
|
13
20
|
}
|
|
14
|
-
t.value === "vertical" ? (
|
|
21
|
+
t.value === "vertical" ? (l.value = e.scrollTop > 1, f.value = e.scrollTop < e.scrollHeight - e.clientHeight - 1) : (l.value = e.scrollLeft > 1, f.value = e.scrollLeft < e.scrollWidth - e.clientWidth - 1);
|
|
15
22
|
}
|
|
16
|
-
let
|
|
17
|
-
function
|
|
18
|
-
|
|
23
|
+
let h = null, g = null;
|
|
24
|
+
function v() {
|
|
25
|
+
if (y(), c()) return;
|
|
19
26
|
let e = i.value;
|
|
20
27
|
if (!e) {
|
|
21
|
-
|
|
28
|
+
m();
|
|
22
29
|
return;
|
|
23
30
|
}
|
|
24
|
-
|
|
31
|
+
h = m, g = e, e.addEventListener("scroll", h, { passive: !0 }), m();
|
|
25
32
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
33
|
+
function y() {
|
|
34
|
+
h && g && g.removeEventListener("scroll", h), h = null, g = null;
|
|
28
35
|
}
|
|
29
|
-
_(i,
|
|
30
|
-
function
|
|
36
|
+
_([i, t], v), u(v), d(y);
|
|
37
|
+
function b(e) {
|
|
31
38
|
let t = i.value;
|
|
32
39
|
if (!t) return;
|
|
33
40
|
let n = t.children[e];
|
|
@@ -37,34 +44,34 @@ function x(e) {
|
|
|
37
44
|
inline: "nearest"
|
|
38
45
|
});
|
|
39
46
|
}
|
|
40
|
-
let
|
|
41
|
-
function
|
|
42
|
-
|
|
47
|
+
let S = p(n.value), C = p(!1), w = p(null), T = p(!1), E = null, D = null, O = 0;
|
|
48
|
+
function k() {
|
|
49
|
+
E &&= (clearTimeout(E), null), D &&= (clearTimeout(D), null);
|
|
43
50
|
}
|
|
44
51
|
_(n, () => {
|
|
45
52
|
let e = r.value;
|
|
46
53
|
if (!e) {
|
|
47
|
-
|
|
54
|
+
S.value = n.value;
|
|
48
55
|
return;
|
|
49
56
|
}
|
|
50
|
-
|
|
51
|
-
let i = ++
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
i ===
|
|
55
|
-
if (i !==
|
|
57
|
+
k();
|
|
58
|
+
let i = ++O, o = t.value === "vertical", c = e.getBoundingClientRect(), l = o ? c.height : c.width;
|
|
59
|
+
T.value = !0, w.value = `${l}px`, C.value = !0, E = setTimeout(() => {
|
|
60
|
+
E = null, i === O && (S.value = n.value, s(() => {
|
|
61
|
+
i === O && (w.value = null, s(() => {
|
|
62
|
+
if (i !== O) return;
|
|
56
63
|
let t = e.getBoundingClientRect(), n = o ? t.height : t.width;
|
|
57
64
|
if (Math.abs(l - n) < 1) {
|
|
58
|
-
|
|
65
|
+
T.value = !1, w.value = null, C.value = !1;
|
|
59
66
|
return;
|
|
60
67
|
}
|
|
61
|
-
|
|
62
|
-
i ===
|
|
63
|
-
if (i !==
|
|
64
|
-
|
|
68
|
+
w.value = `${l}px`, s(() => {
|
|
69
|
+
i === O && (e.offsetWidth, T.value = !1, requestAnimationFrame(() => {
|
|
70
|
+
if (i !== O) return;
|
|
71
|
+
w.value = `${n}px`;
|
|
65
72
|
let t = parseFloat(getComputedStyle(e).transitionDuration) * 1e3 || 300;
|
|
66
|
-
|
|
67
|
-
i ===
|
|
73
|
+
D = setTimeout(() => {
|
|
74
|
+
i === O && (C.value = !1);
|
|
68
75
|
}, t * .55);
|
|
69
76
|
}));
|
|
70
77
|
});
|
|
@@ -72,29 +79,29 @@ function x(e) {
|
|
|
72
79
|
}));
|
|
73
80
|
}, a);
|
|
74
81
|
});
|
|
75
|
-
function
|
|
76
|
-
e.target === r.value && (e.propertyName === "height" || e.propertyName === "width") && (
|
|
82
|
+
function A(e) {
|
|
83
|
+
e.target === r.value && (e.propertyName === "height" || e.propertyName === "width") && (w.value = null, C.value = !1);
|
|
77
84
|
}
|
|
78
|
-
d(
|
|
79
|
-
function
|
|
80
|
-
return
|
|
85
|
+
d(k);
|
|
86
|
+
function j() {
|
|
87
|
+
return c() ? "" : l.value && f.value ? t.value === "vertical" ? "scroll-fade-y" : "scroll-fade-mask" : l.value ? t.value === "vertical" ? "scroll-fade-top" : "scroll-fade-mask" : f.value ? t.value === "vertical" ? "scroll-fade-bottom" : "scroll-fade-mask" : "";
|
|
81
88
|
}
|
|
82
89
|
return {
|
|
83
|
-
canScrollStart:
|
|
84
|
-
canScrollEnd:
|
|
85
|
-
getOverflowFadeClass:
|
|
86
|
-
updateOverflow:
|
|
87
|
-
scrollToItem:
|
|
88
|
-
visualExpanded:
|
|
89
|
-
isTransitioning:
|
|
90
|
-
transitionSize:
|
|
91
|
-
suppressTransition:
|
|
92
|
-
onTransitionEnd:
|
|
90
|
+
canScrollStart: l,
|
|
91
|
+
canScrollEnd: f,
|
|
92
|
+
getOverflowFadeClass: j,
|
|
93
|
+
updateOverflow: m,
|
|
94
|
+
scrollToItem: b,
|
|
95
|
+
visualExpanded: S,
|
|
96
|
+
isTransitioning: C,
|
|
97
|
+
transitionSize: w,
|
|
98
|
+
suppressTransition: T,
|
|
99
|
+
onTransitionEnd: A
|
|
93
100
|
};
|
|
94
101
|
}
|
|
95
102
|
//#endregion
|
|
96
103
|
//#region src/components/custom/glass-carousel/GlassCarousel.vue
|
|
97
|
-
var
|
|
104
|
+
var C = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
98
105
|
__name: "GlassCarousel",
|
|
99
106
|
props: {
|
|
100
107
|
orientation: { default: "vertical" },
|
|
@@ -119,7 +126,7 @@ var S = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
|
119
126
|
] }
|
|
120
127
|
},
|
|
121
128
|
setup(t, { expose: o }) {
|
|
122
|
-
let s = t, u = g("rootEl"), d = p(null), { canScrollStart:
|
|
129
|
+
let s = t, u = g("rootEl"), d = p(null), { canScrollStart: x, canScrollEnd: C, getOverflowFadeClass: w, updateOverflow: T, scrollToItem: E, visualExpanded: D, isTransitioning: O, transitionSize: k, suppressTransition: A, onTransitionEnd: j } = S({
|
|
123
130
|
orientation: n(() => s.orientation),
|
|
124
131
|
expanded: n(() => s.expanded),
|
|
125
132
|
rootEl: u,
|
|
@@ -136,7 +143,7 @@ var S = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
|
136
143
|
if (k.value != null) return s.orientation === "vertical" ? { height: k.value } : { width: k.value };
|
|
137
144
|
});
|
|
138
145
|
return o({
|
|
139
|
-
canScrollStart:
|
|
146
|
+
canScrollStart: x,
|
|
140
147
|
canScrollEnd: C,
|
|
141
148
|
scrollToItem: E,
|
|
142
149
|
isTransitioning: O,
|
|
@@ -172,7 +179,7 @@ var S = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
|
172
179
|
_: 3
|
|
173
180
|
})], 38));
|
|
174
181
|
}
|
|
175
|
-
}), [["__scopeId", "data-v-
|
|
182
|
+
}), [["__scopeId", "data-v-628a65e4"]]), w = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
176
183
|
__name: "GlassCarouselItem",
|
|
177
184
|
props: {
|
|
178
185
|
active: {
|
|
@@ -204,4 +211,4 @@ var S = /* @__PURE__ */ t(/* @__PURE__ */ o({
|
|
|
204
211
|
}
|
|
205
212
|
}), [["__scopeId", "data-v-744cf22e"]]);
|
|
206
213
|
//#endregion
|
|
207
|
-
export {
|
|
214
|
+
export { C as GlassCarousel, w as GlassCarouselItem, S as useGlassCarousel };
|
package/dist/glass-panel.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./cn-DJXf4yaB.js";
|
|
2
|
-
import { t } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { n, r, t as i } from "./useGlassRenderer-
|
|
2
|
+
import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
|
|
3
|
+
import { n, r, t as i } from "./useGlassRenderer-Dn3WpfG-.js";
|
|
4
4
|
import { computed as a, createElementBlock as o, defineComponent as s, normalizeClass as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderSlot as p } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/custom/glass-panel/GlassPanel.vue
|