@mkbabb/glass-ui 3.12.0 → 3.13.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-DuArVky-.js → CardAction-Cj2eycQ2.js} +2 -2
- package/dist/{CommandShortcut-CefCj5mt.js → CommandShortcut-RowNEO6i.js} +4 -4
- package/dist/{ContextMenuSubContent-Bhg4f5jX.js → ContextMenuSubContent-BQmxTAdw.js} +4 -4
- package/dist/{DataTable-CUHMukiQ.js → DataTable-BCddn3T3.js} +3 -3
- package/dist/{DialogContent-BRkT1cjP.js → DialogContent-Dl9WkAoS.js} +3 -3
- package/dist/{DialogFooter-Gprw8H_A.js → DialogFooter-Blu4t7tJ.js} +2 -2
- package/dist/{HoverPopover-2LOIW34a.js → HoverPopover-CISOJQuZ.js} +1 -1
- package/dist/{IconTooltip-Cus0fvK0.js → IconTooltip-DPzE09X9.js} +1 -1
- package/dist/MetricBadge-C9QMz1KT.js +79 -0
- package/dist/{Notification-DLMhblXR.js → Notification-DdwNxIrI.js} +2 -2
- package/dist/{NumberFieldContent-BbLOh8RU.js → NumberFieldContent-CqaN-SvN.js} +3 -3
- package/dist/{PopoverContent-BId6ggf_.js → PopoverContent-BYwt2-4x.js} +1 -1
- package/dist/{ScrollingText-BPP84wKo.js → ScrollingText-DfFrwSph.js} +1 -1
- package/dist/{SelectScrollDownButton-T32cVFeM.js → SelectScrollDownButton-CiDUxfEj.js} +6 -6
- package/dist/{Switch-Ch-k3Rv-.js → Switch-CsIuYP_e.js} +1 -1
- package/dist/{TabsList-B8CVOQPC.js → TabsList-Dttss653.js} +9 -5
- package/dist/{Toaster-1rYWrmAm.js → Toaster-D6q4HtXu.js} +50 -47
- package/dist/{ToggleGroupItem-COu_4IW4.js → ToggleGroupItem-D_AHlRw9.js} +18 -22
- package/dist/animated-digit.js +2 -2
- package/dist/api/index.d.ts +5 -2
- package/dist/api.js +2 -2
- package/dist/aurora.js +69 -69
- package/dist/{badge-CaoFJzRb.js → badge-UILT_3pZ.js} +1 -1
- package/dist/badge.js +1 -1
- package/dist/{button-DN39cGqL.js → button-ChXMfsud.js} +12 -12
- package/dist/button.js +1 -1
- package/dist/card.js +1 -1
- package/dist/carousel.js +8 -8
- package/dist/{check-BBKKKSTf.js → check-njhk-vfu.js} +1 -1
- package/dist/{chevron-down-BSkTP2aL.js → chevron-down-DKkxb4VV.js} +1 -1
- package/dist/{chevron-right-sDM0Yvrf.js → chevron-right-CPXbqQQz.js} +1 -1
- package/dist/{chevron-up-CCOD_FTz.js → chevron-up-n_24SqI-.js} +1 -1
- package/dist/coalesceMetric-5qIeZnTx.js +13 -0
- package/dist/{color-C5ls_QF7.js → color-CUYeFbgd.js} +9 -7
- package/dist/color.js +1 -1
- package/dist/command.js +1 -1
- package/dist/components/custom/animated-digit/AnimatedDigit.vue.d.ts +8 -0
- package/dist/components/custom/aurora/constants/presets.d.ts +5 -62
- package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
- package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +1 -0
- package/dist/components/custom/aurora/index.d.ts +1 -1
- package/dist/components/custom/configurator/ConfiguratorRow.vue.d.ts +16 -0
- package/dist/components/custom/constellation/Constellation.vue.d.ts +74 -6
- package/dist/components/custom/constellation/composables/createConstellationField.d.ts +41 -0
- package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +35 -0
- package/dist/components/custom/constellation/constants.d.ts +61 -0
- package/dist/components/custom/constellation/constellationDraw.d.ts +30 -0
- package/dist/components/custom/constellation/constellationField.d.ts +116 -149
- package/dist/components/custom/constellation/constellationInteraction.d.ts +132 -0
- package/dist/components/custom/constellation/index.d.ts +5 -2
- package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +11 -0
- package/dist/components/custom/dock/DockRail.vue.d.ts +88 -0
- package/dist/components/custom/dock/DockTabButton.vue.d.ts +3 -4
- package/dist/components/custom/dock/GlassDock.vue.d.ts +5 -118
- package/dist/components/custom/dock/composables/dockMorphContext.d.ts +36 -0
- package/dist/components/custom/dock/composables/index.d.ts +1 -0
- package/dist/components/custom/dock/composables/useDockClickIntegrity.d.ts +23 -0
- package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +15 -0
- package/dist/components/custom/dock/composables/useDockOrientationMorph.d.ts +44 -0
- package/dist/components/custom/dock/composables/useDockShellProps.d.ts +165 -0
- package/dist/components/custom/dock/composables/useLayerTransition.d.ts +44 -0
- package/dist/components/custom/dock/constants.d.ts +48 -0
- package/dist/components/custom/dock/index.d.ts +3 -0
- package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +5 -37
- package/dist/components/custom/fourier-field/index.d.ts +1 -1
- package/dist/components/custom/fourier-field/math.d.ts +17 -0
- package/dist/components/custom/fourier-field/presets.d.ts +54 -0
- package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +18 -0
- package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +41 -0
- package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +4 -3
- package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -8
- package/dist/components/custom/goo-blob/constants.d.ts +52 -0
- package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -0
- package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
- package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +37 -0
- package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +6 -0
- package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +6 -0
- package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +11 -18
- package/dist/components/custom/metric-badge/index.d.ts +1 -0
- package/dist/components/custom/metric-cell/MetricCell.vue.d.ts +15 -4
- package/dist/components/custom/metric-stack/MetricRow.vue.d.ts +6 -4
- package/dist/components/custom/tabs/constants.d.ts +12 -0
- package/dist/components/custom/underline/GlassUnderline.vue.d.ts +84 -0
- package/dist/components/custom/underline/index.d.ts +2 -0
- package/dist/components/custom/underline/types.d.ts +56 -0
- package/dist/components/ui/card/Card.vue.d.ts +15 -3
- package/dist/components/ui/drawer/Drawer.vue.d.ts +1 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
- package/dist/components/ui/metric-pill/MetricPill.vue.d.ts +6 -3
- package/dist/components/ui/slider/index.d.ts +22 -19
- package/dist/components/ui/tabs/TabsIndicator.vue.d.ts +4 -1
- package/dist/components/ui/toast/use-toast.d.ts +2 -2
- 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/ToggleGroup.vue.d.ts +1 -7
- package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +1 -3
- package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +0 -13
- package/dist/composables/color/index.d.ts +12 -0
- package/dist/composables/dark/index.d.ts +1 -1
- package/dist/composables/dark/useGlobalDark.d.ts +1 -21
- package/dist/composables/glass/index.d.ts +0 -1
- package/dist/composables/glass/useGlassBackdropLuminance.d.ts +59 -0
- package/dist/composables/glass/useSpecularTracking.d.ts +12 -3
- package/dist/composables/motion/core/index.d.ts +1 -1
- package/dist/composables/motion/curves.d.ts +48 -0
- package/dist/composables/motion/index.d.ts +2 -0
- package/dist/composables/motion/springPresets.d.ts +33 -0
- package/dist/composables/motion/suite.d.ts +2 -0
- package/dist/composables/motion/useLiquidFlex.d.ts +85 -0
- package/dist/composables/motion/useSpringMount.d.ts +1 -1
- package/dist/configurator.js +1 -1
- package/dist/confirm-dialog.js +2 -2
- package/dist/constellation.js +336 -222
- package/dist/context-menu.js +2 -2
- package/dist/controls.js +48 -20
- package/dist/dark.d.ts +1 -1
- package/dist/dark.js +1 -1
- package/dist/data-table.js +1 -1
- package/dist/dialog.js +2 -2
- package/dist/dock.js +705 -365
- package/dist/dockContext-BegmJVmx.js +17 -0
- package/dist/dom.js +5 -5
- package/dist/{dropdown-menu-D77jX6Df.js → dropdown-menu-DzkkyBwX.js} +11 -8
- package/dist/dropdown-menu.js +1 -1
- package/dist/expandable-container.js +39 -80
- package/dist/forms.js +5 -5
- package/dist/fourier-field.js +134 -99
- package/dist/fourier-math.js +2 -2
- package/dist/glass-panel.js +86 -20
- package/dist/glass-ui.css +1 -1
- package/dist/glass-ui.js +222 -212
- package/dist/goo-blob.js +243 -212
- 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 -3
- package/dist/instrument-chassis.js +1 -1
- package/dist/keyboard.js +1 -1
- package/dist/label.js +1 -1
- package/dist/labeled-field.js +28 -18
- package/dist/{math-DTpRVC0e.js → math-U6-RrLmV.js} +18 -2
- package/dist/metric-badge.js +1 -1
- package/dist/metric-cell.js +25 -21
- package/dist/metric-stack.js +35 -34
- package/dist/{minimize-2-lcXOuc6V.js → minimize-2-BV31Ob_h.js} +1 -1
- package/dist/motion-core.js +32 -137
- package/dist/motion-curves.d.ts +1 -0
- package/dist/motion-curves.js +130 -0
- package/dist/motion.js +38 -37
- 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-BP_ALM0m.js → presets-BKVyQfbt.js} +1 -14
- package/dist/progress.js +1 -1
- package/dist/reactive.js +2 -2
- package/dist/scrolling-text.js +1 -1
- package/dist/{search-nbkvr2dC.js → search-BSGrf2Sk.js} +1 -1
- package/dist/search.js +9 -9
- package/dist/select.js +3 -3
- package/dist/separator.js +1 -1
- package/dist/{sheet-VZEtNFvO.js → sheet-1fChZjtw.js} +3 -3
- package/dist/sheet.js +1 -1
- package/dist/{slider-ClgpP7EB.js → slider-B-JP2JlI.js} +4 -4
- package/dist/slider.js +1 -1
- package/dist/sortable-list.js +2 -2
- package/dist/springPresets--YdWTHtm.js +40 -0
- package/dist/stacked-icons.js +6 -6
- package/dist/styles/animations.css +29 -114
- package/dist/styles/cards.css +55 -0
- package/dist/styles/components.css +4 -1
- package/dist/styles/configurator.css +42 -0
- package/dist/styles/dock/layer-group.css +83 -25
- package/dist/styles/dock/layers.css +23 -1
- package/dist/styles/dock/morph-bridge.css +123 -0
- package/dist/styles/dock/morph.css +175 -45
- package/dist/styles/dock/overflow.css +51 -1
- package/dist/styles/dock/rail-extend.css +300 -0
- package/dist/styles/dock/shell.css +63 -105
- package/dist/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/dist/styles/dock-controls/icon-button.css +133 -0
- package/dist/styles/dock-controls/tab-button.css +202 -0
- package/dist/styles/dock-controls/touch-floor.css +94 -0
- package/dist/styles/dock-controls/triggers.css +128 -0
- package/dist/styles/dock-controls.css +30 -595
- package/dist/styles/dock.css +2 -0
- package/dist/styles/drawer.css +2 -0
- package/dist/styles/floating-panel.css +17 -0
- package/dist/styles/glass/a11y-fallback.css +245 -0
- package/dist/styles/glass/ladder.css +337 -0
- package/dist/styles/glass/material.css +238 -0
- package/dist/styles/glass/progress-rail.css +78 -0
- package/dist/styles/glass/squircle.css +66 -0
- package/dist/styles/glass/surfaces.css +306 -0
- package/dist/styles/glass-refract.css +2 -0
- package/dist/styles/glass.css +31 -1188
- package/dist/styles/hover-popover.css +2 -0
- package/dist/styles/index.css +28 -14
- package/dist/styles/instrument-chassis.css +4 -0
- package/dist/styles/paper.css +2 -68
- package/dist/styles/segmented-tabs.css +275 -0
- package/dist/styles/theme/bridges.css +337 -0
- package/dist/styles/theme/dark.css +7 -0
- package/dist/styles/theme/literals.css +94 -0
- package/dist/styles/theme/radius.css +95 -0
- package/dist/styles/theme.css +26 -529
- package/dist/styles/tokens/color-radius.css +260 -0
- package/dist/styles/tokens/dark-arm.css +200 -0
- package/dist/styles/tokens/glass.css +440 -0
- package/dist/styles/tokens/light-dark.css +158 -0
- package/dist/styles/tokens/offsets-sizing.css +500 -0
- package/dist/styles/tokens/property-regs.css +169 -0
- package/dist/styles/tokens/scale-paper.css +366 -0
- package/dist/styles/tokens/scheme-motion.css +334 -0
- package/dist/styles/tokens/shadow.css +166 -0
- package/dist/styles/tokens.css +22 -2360
- package/dist/styles/typography.css +75 -21
- package/dist/styles/utilities/a11y-overrides.css +140 -0
- package/dist/styles/utilities/animate.css +26 -0
- package/dist/styles/utilities/base.css +365 -0
- package/dist/styles/utilities/btn.css +401 -0
- package/dist/styles/utilities/components.css +317 -0
- package/dist/styles/utilities.css +19 -1318
- package/dist/styles/view-transition.css +0 -51
- package/dist/switch.js +1 -1
- package/dist/tabs.js +91 -82
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle-group.js +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/underline.d.ts +1 -0
- package/dist/underline.js +85 -0
- package/dist/{useAnimatedNumber-Bcpy5Etf.js → useAnimatedNumber-C5I3wWd8.js} +1 -1
- package/dist/{useConfiguratorState-DxAqksK6.js → useConfiguratorState-DAoeHVue.js} +8 -8
- package/dist/{useGlobalDark-CAhOXNLO.js → useGlobalDark-yhL4Wp-s.js} +3 -22
- package/dist/useLiquidFlex-BL0lLLN2.js +30 -0
- package/dist/useRAFLoop-Bxv0o6L5.js +109 -0
- package/dist/{useScrollProgress-CffFGLa5.js → useScrollProgress-Dlvx-L3v.js} +1 -1
- package/dist/useSpecularTracking-Bo5su68i.js +32 -0
- package/dist/useSpringMount-CI2jOstM.js +108 -0
- package/dist/{useTouchGate-WFyJYsth.js → useTouchGate-Dg7MQI1G.js} +1 -1
- package/dist/utils/coalesceMetric.d.ts +29 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vReveal-CqaCz_mC.js +44 -0
- package/dist/watercolor-dot.js +11 -9
- package/dist/{x-Dfsegz9Y.js → x-BUwTKe50.js} +1 -1
- package/package.json +78 -58
- package/src/styles/animations.css +29 -114
- package/src/styles/cards.css +53 -0
- package/src/styles/configurator.css +42 -0
- package/src/styles/dock/layer-group.css +83 -25
- package/src/styles/dock/layers.css +23 -1
- package/src/styles/dock/morph-bridge.css +123 -0
- package/src/styles/dock/morph.css +175 -45
- package/src/styles/dock/overflow.css +51 -1
- package/src/styles/dock/rail-extend.css +300 -0
- package/src/styles/dock/shell.css +63 -105
- package/src/styles/dock-controls/dark-mode-toggle.css +109 -0
- package/src/styles/dock-controls/icon-button.css +133 -0
- package/src/styles/dock-controls/tab-button.css +202 -0
- package/src/styles/dock-controls/touch-floor.css +94 -0
- package/src/styles/dock-controls/triggers.css +128 -0
- package/src/styles/dock-controls.css +30 -595
- package/src/styles/dock.css +2 -0
- package/src/styles/floating-panel.css +15 -0
- package/src/styles/glass/a11y-fallback.css +245 -0
- package/src/styles/glass/ladder.css +337 -0
- package/src/styles/glass/material.css +238 -0
- package/src/styles/glass/progress-rail.css +78 -0
- package/src/styles/glass/squircle.css +66 -0
- package/src/styles/glass/surfaces.css +306 -0
- package/src/styles/glass.css +31 -1188
- package/src/styles/index.css +28 -14
- package/src/styles/paper.css +2 -68
- package/src/styles/segmented-tabs.css +271 -0
- package/src/styles/theme/bridges.css +337 -0
- package/src/styles/theme/dark.css +7 -0
- package/src/styles/theme/literals.css +94 -0
- package/src/styles/theme/radius.css +95 -0
- package/src/styles/theme.css +26 -529
- package/src/styles/tokens/color-radius.css +260 -0
- package/src/styles/tokens/dark-arm.css +200 -0
- package/src/styles/tokens/glass.css +440 -0
- package/src/styles/tokens/light-dark.css +158 -0
- package/src/styles/tokens/offsets-sizing.css +500 -0
- package/src/styles/tokens/property-regs.css +169 -0
- package/src/styles/tokens/scale-paper.css +366 -0
- package/src/styles/tokens/scheme-motion.css +334 -0
- package/src/styles/tokens/shadow.css +166 -0
- package/src/styles/tokens.css +22 -2360
- package/src/styles/typography.css +75 -21
- package/src/styles/utilities/a11y-overrides.css +140 -0
- package/src/styles/utilities/animate.css +26 -0
- package/src/styles/utilities/base.css +365 -0
- package/src/styles/utilities/btn.css +401 -0
- package/src/styles/utilities/components.css +317 -0
- package/src/styles/utilities.css +19 -1318
- package/src/styles/view-transition.css +0 -51
- package/dist/DeckProgress-Dmk4_AKN.js +0 -23
- package/dist/InstrumentRail-CUJ05YVG.js +0 -44
- package/dist/MetricBadge-BZVWIxNy.js +0 -80
- package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +0 -27
- package/dist/components/custom/deck-progress/index.d.ts +0 -2
- package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +0 -57
- package/dist/components/custom/dialog-native/index.d.ts +0 -1
- package/dist/components/custom/handmark/HandMark.vue.d.ts +0 -29
- package/dist/components/custom/handmark/brush.d.ts +0 -242
- package/dist/components/custom/handmark/freehand.d.ts +0 -69
- package/dist/components/custom/handmark/geometry.d.ts +0 -50
- package/dist/components/custom/handmark/index.d.ts +0 -21
- package/dist/components/custom/handmark/ink.d.ts +0 -11
- package/dist/components/custom/handmark/texture.d.ts +0 -39
- package/dist/components/custom/handmark/types.d.ts +0 -53
- package/dist/components/custom/handmark/useHandMark.d.ts +0 -87
- package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +0 -91
- package/dist/components/custom/instrument-rail/index.d.ts +0 -2
- package/dist/composables/motion/useRouteTransition.d.ts +0 -42
- package/dist/deck-progress.d.ts +0 -1
- package/dist/deck-progress.js +0 -2
- package/dist/dockContext-BKeIMmNk.js +0 -9
- package/dist/handmark.d.ts +0 -1
- package/dist/handmark.js +0 -663
- package/dist/instrument-rail.d.ts +0 -1
- package/dist/instrument-rail.js +0 -2
- package/dist/styles/instrument-rail.css +0 -127
- package/dist/useGlassRenderer-D7YGOYiM.js +0 -69
- package/dist/useSpecularTracking-BVRZsRHA.js +0 -26
- package/dist/useSpringMount-BJSHcLl3.js +0 -113
- package/dist/useViewTransition-DaN5Zrox.js +0 -21
- package/dist/vReveal-zUIQk-rJ.js +0 -53
- package/src/styles/instrument-rail.css +0 -127
- /package/dist/{ContextMenuContent-DDa0v27s.js → ContextMenuContent-CT3AS1WX.js} +0 -0
- /package/dist/{HoverCardContent-B6CcQ8He.js → HoverCardContent-Csywg3YF.js} +0 -0
- /package/dist/{Input-xuDwALQR.js → Input-DWQQIOC4.js} +0 -0
- /package/dist/{InstrumentChassis-C2f6cBaQ.js → InstrumentChassis-UUJX0-mW.js} +0 -0
- /package/dist/{Label-zRfbQdCn.js → Label-r3WzWrsj.js} +0 -0
- /package/dist/{ModalOverlay-B1GkAjNb.js → ModalOverlay-DVLI2VRr.js} +0 -0
- /package/dist/{PaperBackdrop-CqwjnfLv.js → PaperBackdrop-DIXTtVq6.js} +0 -0
- /package/dist/{Progress-iEuD9pxG.js → Progress-DwlUKGbr.js} +0 -0
- /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-aumMgWLs.js} +0 -0
- /package/dist/{SelectSeparator-C4Ql0gzV.js → SelectSeparator-BQ_1Fcbp.js} +0 -0
- /package/dist/{Separator-D7sD7RKj.js → Separator-0JE6LtNu.js} +0 -0
- /package/dist/{TooltipProvider-CmZzCuaG.js → TooltipProvider-B3MkB_8P.js} +0 -0
- /package/dist/{compile-BOXjLUxu.js → compile-B7NGOBcP.js} +0 -0
- /package/dist/{constants-yKeKnE84.js → constants-CS75AWHG.js} +0 -0
- /package/dist/{createContext-B44Sah_H.js → createContext-BM46COQ-.js} +0 -0
- /package/dist/{createLucideIcon-B6uNAU9G.js → createLucideIcon-DydS2qgk.js} +0 -0
- /package/dist/{menuItemVariants-CCoBNkU5.js → menuItemVariants-DPiEarb0.js} +0 -0
- /package/dist/{supportsCssTimeline-C5oe0lnD.js → supportsCssTimeline-BWenxvHU.js} +0 -0
- /package/dist/{useIntersectionPause-Cck5Uxk8.js → useIntersectionPause-Cc-H9ees.js} +0 -0
- /package/dist/{useInterval-Dsmqwi03.js → useInterval-iHludrxk.js} +0 -0
- /package/dist/{useKeyboardShortcuts-CyIYrndH.js → useKeyboardShortcuts-Be3w_Rwk.js} +0 -0
- /package/dist/{useResizeObserver-CWCbk5Px.js → useResizeObserver-BhgdhOIj.js} +0 -0
- /package/dist/{useResolveTokenColor-r9pnNjqK.js → useResolveTokenColor-Dvn2RZJW.js} +0 -0
- /package/dist/{useSortable-C8ReQ50P.js → useSortable-muI29agz.js} +0 -0
- /package/dist/{useTextHighlight-CWEi25hf.js → useTextHighlight-DmRYkOBx.js} +0 -0
- /package/dist/{useTimer-3xqf_54b.js → useTimer-Dzarvzuk.js} +0 -0
- /package/dist/{useUserInvalidAria-DoJKMZ3s.js → useUserInvalidAria-B2h6jAM_.js} +0 -0
- /package/dist/{useViewportReady-RIr5Wgkh.js → useViewportReady-B40FK4Pa.js} +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* geometry.ts — SEMANTIC shape → pencil-boil centerlines (L1, pure; SPEC §3).
|
|
3
|
-
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
* A shape is a pure mapper: (semantic target) → L1 geometry. The renderer never
|
|
5
|
-
* knows what it drew — it sees only `Point[]`. Adding a shape = adding one switch
|
|
6
|
-
* arm; nothing downstream changes (texture + animation are shape-blind). This is
|
|
7
|
-
* the generality lever (Brush ⟂ Path).
|
|
8
|
-
*
|
|
9
|
-
* The marking coordinate space is 0..100 × 0..40, with `preserveAspectRatio="none"`
|
|
10
|
-
* so the <svg> stretches to the slotted word box (the SPEC §6.2 width-invariance
|
|
11
|
-
* contract). Two usage modes:
|
|
12
|
-
* - text mode (box == null): use the full viewBox (single-line underline/strike)
|
|
13
|
-
* - positioned mode (box = {x,y,w,h}): map an explicit rect (circle a datum)
|
|
14
|
-
*
|
|
15
|
-
* The circle arm rides pencil-boil 0.4.0's `ellipsePoints` (the hand-circle
|
|
16
|
-
* overshoot ring — the sole upstream geometry delta this component required).
|
|
17
|
-
*/
|
|
18
|
-
import { type WobbleOptions } from "@mkbabb/pencil-boil";
|
|
19
|
-
import type { HandShape, MarkBox } from "./types";
|
|
20
|
-
export declare const VB_W = 100;
|
|
21
|
-
export declare const VB_H = 40;
|
|
22
|
-
/**
|
|
23
|
-
* The hairline gap, as a fraction of the `.hm` box, between the MEASURED text
|
|
24
|
-
* baseline and the underline centerline. The underline rides just under the real
|
|
25
|
-
* glyph bottoms — a hand mark sits a few % of cap-height below the baseline, never
|
|
26
|
-
* through it (the E1 occlusion root: a constant `y=32` strikethroughs tight-leading
|
|
27
|
-
* display type because 80% of a `line-height:1.02` box IS the baseline).
|
|
28
|
-
*/
|
|
29
|
-
export declare const UNDERLINE_GAP = 0.06;
|
|
30
|
-
/** A shape maps to one or more centerlines (open polylines) or one closed ring. */
|
|
31
|
-
export interface ShapeGeom {
|
|
32
|
-
lines: [number, number][][];
|
|
33
|
-
closed: boolean;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Semantic shape → { lines, closed } in the marking space (or a positioned box).
|
|
37
|
-
*
|
|
38
|
-
* The text-mode underline anchors to a MEASURED baseline: `baselineFrac` is the
|
|
39
|
-
* slotted word's alphabetic baseline as a fraction of the `.hm` box height (the SFC
|
|
40
|
-
* measures it via ResizeObserver + `document.fonts.ready`). The underline y is then
|
|
41
|
-
* `VB_H × (baselineFrac + UNDERLINE_GAP)` — never the old hardcoded `32` (80% of the
|
|
42
|
-
* box), which struck through tight-leading headings. `null` ⇒ not yet measured: fall
|
|
43
|
-
* back to the legacy `VB_H − 8` constant so first paint (and jsdom/SSR) still renders
|
|
44
|
-
* a line, replaced the instant the measure lands.
|
|
45
|
-
*/
|
|
46
|
-
export declare function shapeGeom(shape: HandShape, opts: WobbleOptions, box?: MarkBox | null, baselineFrac?: number | null): ShapeGeom;
|
|
47
|
-
/** Boil one geometry: re-perturb the CACHED centerlines (anchored → no draw-on pop). */
|
|
48
|
-
export declare function boilLines({ lines, closed }: ShapeGeom, amount: number, seed: number): [number, number][][];
|
|
49
|
-
/** Serialize centerlines → one SVG `d` (multi-line shapes concat with a space). */
|
|
50
|
-
export declare function serialize(lines: [number, number][][], jagged?: boolean): string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* handmark — the ./handmark barrel (SPEC §11).
|
|
3
|
-
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
* `HandMark` is the generic export; `InkMark` is the prose alias the atlas/slides
|
|
5
|
-
* import so call sites read as prose (one implementation, zero divergence). The
|
|
6
|
-
* pure L1–L3 functions ship too — they are framework-free, directly usable in
|
|
7
|
-
* slides decks, D3 charts (call `shapeGeom`/`ellipsePoints` to ink a path), even
|
|
8
|
-
* canvas.
|
|
9
|
-
*
|
|
10
|
-
* The DEFAULT is `pen` (clean ink, grain:0 ⇒ no filter, zero extra dep). The
|
|
11
|
-
* `@mkbabb/pencil-boil` geometry + `perfect-freehand` body are OPTIONAL PEERS;
|
|
12
|
-
* only `ribbon:'hull'` touches the vendored pf core (treeshaken otherwise).
|
|
13
|
-
*/
|
|
14
|
-
export { default as HandMark, default as InkMark } from "./HandMark.vue";
|
|
15
|
-
export { BRUSHES, resolveBrush, lerpBrush, type Brush, type BrushName, type BlendMode, type TaperSpec, type StampFn, type InkPath, } from "./brush";
|
|
16
|
-
export { shapeGeom, serialize, boilLines, VB_W, VB_H, UNDERLINE_GAP, type ShapeGeom, } from "./geometry";
|
|
17
|
-
export { ink, type SVGFragment } from "./ink";
|
|
18
|
-
export { grainFilter, hasGrain } from "./texture";
|
|
19
|
-
export { getStroke, getStrokePoints, getSvgPathFromStroke, type StrokeOptions, type InputPoint, } from "./freehand";
|
|
20
|
-
export { useHandMark, normalizeProps, type UseHandMarkInput, type HandMarkCore, type BoilClock, } from "./useHandMark";
|
|
21
|
-
export type { HandMarkProps, HandShape, HandAnimation, MarkBox, } from "./types";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Brush, InkPath } from "./brush";
|
|
2
|
-
export interface SVGFragment {
|
|
3
|
-
paths: InkPath[];
|
|
4
|
-
filterId: string | null;
|
|
5
|
-
defs: string[];
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* ink — the only stage the brush fully drives. `jagged` serialises the stroke body
|
|
9
|
-
* with angular kinks (pointsToLinear) instead of the smooth Catmull-Rom bezier.
|
|
10
|
-
*/
|
|
11
|
-
export declare function ink(centerline: [number, number][], b: Brush, seed: number, color: string, filterId: string, jagged?: boolean): SVGFragment;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* texture.ts — the L3 grain as ONE parameterized SVG <filter> (pure; SPEC §4.2).
|
|
3
|
-
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
* `grainFilter(id, b, seed)` returns the markup for ONE static, seeded <filter>
|
|
5
|
-
* driven entirely by the brush vector. The KISS invariant (the PEN-is-free law,
|
|
6
|
-
* SPEC §12 acc-4):
|
|
7
|
-
*
|
|
8
|
-
* grain <= 0 && grainScale <= 0 ⇒ returns '' ⇒ NO filter emitted ⇒ bare <path>.
|
|
9
|
-
*
|
|
10
|
-
* So pen/marker-lite get the cleanest vector edge at zero filter cost; pencil/
|
|
11
|
-
* crayon get a real broken-edge filter. SAME code path, field delta only — never
|
|
12
|
-
* an instrument `if`.
|
|
13
|
-
*
|
|
14
|
-
* The graph is the proven 5-stage pipeline from the `proto/_final` sandbox (it
|
|
15
|
-
* supersets the bare SPEC §4.2 graph with a trailing re-break displacement —
|
|
16
|
-
* `ds-crayon-handmark §4.4` keeps the proven one):
|
|
17
|
-
* 1. feTurbulence (warp) — low-freq fractal noise for edge wobble
|
|
18
|
-
* 2. feDisplacementMap (wob) — push the stroke edge by grainScale
|
|
19
|
-
* 3. feTurbulence (grain) — high-freq noise = paper tooth / wax grain
|
|
20
|
-
* 4. feColorMatrix (grainA) — threshold the grain into a hard alpha mask
|
|
21
|
-
* 5. feComposite + feDisplace — knock paper-through holes (operator="in") + re-break
|
|
22
|
-
*
|
|
23
|
-
* CRITICAL (the Δ4 gate, `ds-crayon-handmark §3`): this filter is STATIC + SEEDED.
|
|
24
|
-
* It rasters ONCE per (mount, resize, scheme flip) and is cached. The draw-on is a
|
|
25
|
-
* `clip-path: inset()` wipe that mutates only the clip — it NEVER animates
|
|
26
|
-
* `stroke-dashoffset` under the filter (which would re-raster the graph per frame).
|
|
27
|
-
* Boil does NOT ship on this register (`ds-crayon-handmark §5.3`).
|
|
28
|
-
*
|
|
29
|
-
* `id` MUST be per-instance (the component's `useId()`) so two marks never collide
|
|
30
|
-
* their <filter> namespaces — the glass-ui WatercolorDot idiom.
|
|
31
|
-
*
|
|
32
|
-
* The grain sub-seed is derived (`seed ^ 0x85eb`) per SPEC §7, so one top seed
|
|
33
|
-
* re-rolls the grain coherently with the centerline wobble.
|
|
34
|
-
*/
|
|
35
|
-
import type { Brush } from "./brush";
|
|
36
|
-
/** @returns SVG <filter> markup, or '' when the brush is clean ink (pen). */
|
|
37
|
-
export declare function grainFilter(id: string, b: Brush, seed: number): string;
|
|
38
|
-
/** Does this brush emit a grain filter? (the pen-is-free predicate). */
|
|
39
|
-
export declare function hasGrain(b: Brush): boolean;
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* types.ts — the public API surface (SPEC §6). Pure types, 0 runtime.
|
|
3
|
-
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
* The L5 surface steals rough-notation's *vocabulary* (annotate-style props +
|
|
5
|
-
* ordered groups), not its code. Every prop has a per-brush default, so the
|
|
6
|
-
* common call is one tag: <HandMark>who pays in</HandMark>.
|
|
7
|
-
*/
|
|
8
|
-
import type { Brush, BrushName } from "./brush";
|
|
9
|
-
/** A target rect in the 0..100 × 0..40 marking space (positioned mode). */
|
|
10
|
-
export interface MarkBox {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
w: number;
|
|
14
|
-
h: number;
|
|
15
|
-
}
|
|
16
|
-
export type HandShape = "underline" | "strikethrough" | "highlight" | "circle" | "box" | "bracket" | "path";
|
|
17
|
-
export type HandAnimation = "none" | "draw-on" | "boil" | "draw-then-boil";
|
|
18
|
-
export interface HandMarkProps {
|
|
19
|
-
/** 'pen'(default) | preset name | full/partial Brush object. */
|
|
20
|
-
brush?: BrushName | Partial<Brush>;
|
|
21
|
-
/** default 'underline'. */
|
|
22
|
-
shape?: HandShape;
|
|
23
|
-
/** ANY CSS color. default 'currentColor'. */
|
|
24
|
-
color?: string;
|
|
25
|
-
/** procedural variant — deterministic. default 1. */
|
|
26
|
-
seed?: number;
|
|
27
|
-
/** spread over the resolved brush (3rd resolution level). */
|
|
28
|
-
overrides?: Partial<Brush>;
|
|
29
|
-
/** default 'none' (the static-masthead default). */
|
|
30
|
-
animation?: HandAnimation;
|
|
31
|
-
/** draw-on duration. default 800. */
|
|
32
|
-
drawMs?: number;
|
|
33
|
-
/** draw-on start delay. default 0. */
|
|
34
|
-
drawDelayMs?: number;
|
|
35
|
-
/** draw-on trigger. default 'visible' (IntersectionObserver). */
|
|
36
|
-
appear?: "mount" | "visible" | "manual";
|
|
37
|
-
/** boil frame rate. default 8 (≈125ms). */
|
|
38
|
-
boilFps?: number;
|
|
39
|
-
/** distinct boil frames. default 3. */
|
|
40
|
-
boilFrames?: number;
|
|
41
|
-
/** override brush.roughness. */
|
|
42
|
-
roughness?: number;
|
|
43
|
-
/** wobble resolution. default per-brush. */
|
|
44
|
-
segments?: number;
|
|
45
|
-
/** angular kinks vs smooth bezier. default false. */
|
|
46
|
-
jagged?: boolean;
|
|
47
|
-
/** POSITIONED mode (circle a datum): explicit target rect. */
|
|
48
|
-
box?: MarkBox;
|
|
49
|
-
/** shape:'path' escape hatch — arbitrary SVG `d` (wins over shape). */
|
|
50
|
-
path?: string;
|
|
51
|
-
/** arbitrary point stream → brush ink. */
|
|
52
|
-
points?: [number, number][];
|
|
53
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* useHandMark.ts — the headless reactive core (L2/L3/L4; SPEC §9).
|
|
3
|
-
* ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
* Sits between the props and the SFC template so a future React/web-component skin
|
|
5
|
-
* reuses L1–L4. It orchestrates: resolve brush → shapeGeom → ink → animation. It
|
|
6
|
-
* owns NO DOM (the SFC anchors/measures/mounts the filter); it owns the reactive
|
|
7
|
-
* pipeline + the draw-on / boil state machine.
|
|
8
|
-
*
|
|
9
|
-
* Two draw-on mechanisms, picked by a FIELD (never an instrument `if`):
|
|
10
|
-
* - clean ink (no grain): `stroke-dashoffset` on `pathLength="1"` — the slides
|
|
11
|
-
* recipe, geometry-agnostic, compositor-cheap, no filter to re-raster.
|
|
12
|
-
* - grained ink (crayon): a `clip-path: inset()` WIPE — the filter rasters ONCE
|
|
13
|
-
* and the reveal mutates only the clip (`ds-crayon-handmark §5.1`). NEVER
|
|
14
|
-
* dashoffset under a filter (it would re-raster the graph per frame — the Δ4
|
|
15
|
-
* gate).
|
|
16
|
-
*
|
|
17
|
-
* PRM: every draw-on collapses to instant (finished static state); boil no-ops
|
|
18
|
-
* (`useLineBoil.start()` early-returns under reduced motion).
|
|
19
|
-
*/
|
|
20
|
-
import { type Ref } from "vue";
|
|
21
|
-
import { type Brush, type BrushName } from "./brush";
|
|
22
|
-
/**
|
|
23
|
-
* The boil clock surface the SFC binds — the `useLineBoil` return shape, declared
|
|
24
|
-
* structurally over glass-ui's OWN `Ref` (pencil-boil ships a nested `@vue`, so its
|
|
25
|
-
* `Ref` symbol differs; the no-op stub is built with this `ref`, hence the surface
|
|
26
|
-
* is named here rather than `ReturnType<typeof useLineBoil>`).
|
|
27
|
-
*/
|
|
28
|
-
export interface BoilClock {
|
|
29
|
-
currentFrame: Ref<number>;
|
|
30
|
-
start: () => void;
|
|
31
|
-
stop: () => void;
|
|
32
|
-
}
|
|
33
|
-
import { type ShapeGeom } from "./geometry";
|
|
34
|
-
import { type SVGFragment } from "./ink";
|
|
35
|
-
import type { HandAnimation, HandMarkProps, HandShape, MarkBox } from "./types";
|
|
36
|
-
export interface UseHandMarkInput {
|
|
37
|
-
brush: BrushName | Partial<Brush>;
|
|
38
|
-
shape: HandShape;
|
|
39
|
-
color: string;
|
|
40
|
-
seed: number;
|
|
41
|
-
overrides?: Partial<Brush>;
|
|
42
|
-
animation: HandAnimation;
|
|
43
|
-
boilFps: number;
|
|
44
|
-
boilFrames: number;
|
|
45
|
-
roughness: number | null;
|
|
46
|
-
segments: number | null;
|
|
47
|
-
jagged: boolean;
|
|
48
|
-
box: MarkBox | null;
|
|
49
|
-
path: string | null;
|
|
50
|
-
filterId: string;
|
|
51
|
-
/**
|
|
52
|
-
* The MEASURED text baseline as a fraction of the `.hm` box height (text-mode
|
|
53
|
-
* underline anchor). `null` until the SFC measures it (ResizeObserver +
|
|
54
|
-
* `document.fonts.ready`) — geometry falls back to the legacy constant for that
|
|
55
|
-
* one pre-measure frame. Ignored in positioned (`box`) mode.
|
|
56
|
-
*/
|
|
57
|
-
baselineFrac: number | null;
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Normalise raw HandMarkProps (with their defaults applied) into the core input.
|
|
61
|
-
* `baselineFrac` is the SFC's MEASURED text baseline (text-mode underline anchor) —
|
|
62
|
-
* passed in (not a prop) because it is a runtime measurement, `null` until measured.
|
|
63
|
-
*/
|
|
64
|
-
export declare function normalizeProps(props: HandMarkProps, filterId: string, baselineFrac?: number | null): UseHandMarkInput;
|
|
65
|
-
export interface HandMarkCore {
|
|
66
|
-
/** the resolved effective brush vector. */
|
|
67
|
-
brush: Ref<Brush>;
|
|
68
|
-
/** the static base geometry (boil re-perturbs THIS). */
|
|
69
|
-
baseGeom: Ref<ShapeGeom>;
|
|
70
|
-
/** the live SVG fragment (paths + filter defs). */
|
|
71
|
-
fragment: Ref<SVGFragment>;
|
|
72
|
-
/** the live `d` (escape-hatch path > boiled geometry > static base). */
|
|
73
|
-
pathD: Ref<string>;
|
|
74
|
-
/** does the brush emit a grain filter? (drives the draw-on mechanism). */
|
|
75
|
-
grained: Ref<boolean>;
|
|
76
|
-
/** the draw-on mechanism for this mark: dashoffset (pen) | clip (crayon). */
|
|
77
|
-
drawKind: Ref<"dashoffset" | "clip">;
|
|
78
|
-
/** does this animation draw on at all? */
|
|
79
|
-
draws: Ref<boolean>;
|
|
80
|
-
/** does this animation boil? */
|
|
81
|
-
boils: Ref<boolean>;
|
|
82
|
-
/** the boil clock (a real `useLineBoil` only when the mark boils; else a no-op stub). */
|
|
83
|
-
boil: BoilClock;
|
|
84
|
-
/** arm/disarm boil (draw-then-boil holds it until the draw finishes). */
|
|
85
|
-
boilArmed: Ref<boolean>;
|
|
86
|
-
}
|
|
87
|
-
export declare function useHandMark(input: Ref<UseHandMarkInput>): HandMarkCore;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes } from "vue";
|
|
2
|
-
/**
|
|
3
|
-
* <InstrumentRail> — flex-basis cockpit-ratio rail with bezel hairlines
|
|
4
|
-
* and an internal twin-line divider rule between children.
|
|
5
|
-
*
|
|
6
|
-
* Resolves A3 D-4 (cockpit ratio 0.222 → 0.382, the 1/φ² golden gestalt)
|
|
7
|
-
* by carrying the ratio as a typed flex-basis term with min/max clamp
|
|
8
|
-
* safety. Composes inside <InstrumentChassis> alongside a primary panel,
|
|
9
|
-
* or stands alone as the sidekick column of any cockpit composition.
|
|
10
|
-
*
|
|
11
|
-
* Geometry:
|
|
12
|
-
* - `variant="vertical"` (default) — rail is a column; flex-basis binds
|
|
13
|
-
* against the parent's main-axis width. min-width 15rem, max-width 28rem.
|
|
14
|
-
* - `variant="horizontal"` — rail is a row; flex-basis binds against the
|
|
15
|
-
* parent's main-axis height. min-height 15rem, max-height 28rem.
|
|
16
|
-
*
|
|
17
|
-
* Bezel character:
|
|
18
|
-
* - `bezelHairlines="true"` (default) draws the engraved-bezel ::before
|
|
19
|
-
* inner stroke, the same twin-pixel signature that <InstrumentChassis>
|
|
20
|
-
* carries (catch-light + under-shadow). Resolves FD1 TRANSPOSITION 3's
|
|
21
|
-
* internal-divider concern by giving the rail its own bezel edge so
|
|
22
|
-
* it reads as a chassis-internal module, not an unbordered slot.
|
|
23
|
-
* - `dividerRule="true"` (default) renders a twin-line hairline groove
|
|
24
|
-
* above every child after the first via the bezel-line idiom (same
|
|
25
|
-
* `rgb(255 255 255 / α)` + `rgb(0 0 0 / α)` pair the chassis-divider
|
|
26
|
-
* primitive uses). Sibling-CSS — no slotted dividers needed.
|
|
27
|
-
*
|
|
28
|
-
* Slots:
|
|
29
|
-
* - default — rail children, stacked along the variant axis.
|
|
30
|
-
* - `status` — bezel-edge status-light region; pinned to the rail's
|
|
31
|
-
* opening edge (top for vertical, leading for horizontal). Optional;
|
|
32
|
-
* omitted slots emit no markup.
|
|
33
|
-
*
|
|
34
|
-
* a11y: layout primitive; emits no ARIA role by default. Consumers compose
|
|
35
|
-
* semantic landmarks (<aside>, <nav>) by wrapping or by passing `as`.
|
|
36
|
-
*
|
|
37
|
-
* PRM: no animation — the primitive is purely geometric. PRM cascades
|
|
38
|
-
* through children (they own their own animation contracts).
|
|
39
|
-
*
|
|
40
|
-
* AK-W2-α — see A3 §8.T-1 + FD1 TRANSPOSITION 6 + G-AK-D9.
|
|
41
|
-
*/
|
|
42
|
-
export interface InstrumentRailProps {
|
|
43
|
-
/**
|
|
44
|
-
* Rail axis. `"vertical"` (default) stacks children top-to-bottom and
|
|
45
|
-
* binds flex-basis on the inline axis (column rail of a row cockpit).
|
|
46
|
-
* `"horizontal"` stacks left-to-right and binds flex-basis on the
|
|
47
|
-
* block axis (row rail of a column cockpit).
|
|
48
|
-
*/
|
|
49
|
-
variant?: "vertical" | "horizontal";
|
|
50
|
-
/**
|
|
51
|
-
* Cockpit ratio — flex-basis fraction of the parent flex container.
|
|
52
|
-
* Defaults to 0.382 (1/φ², the golden-gestalt cockpit ratio per A3
|
|
53
|
-
* §8.T-1). Consumers may pass any ratio in (0, 1); the rail clamps
|
|
54
|
-
* the realised width via `min-width`/`max-width` so a degenerate
|
|
55
|
-
* value still hits a readable register.
|
|
56
|
-
*/
|
|
57
|
-
ratio?: number;
|
|
58
|
-
/**
|
|
59
|
-
* Toggle the engraved-bezel ::before inner stroke. Default `true`.
|
|
60
|
-
* Disable when the rail is composed inside another bezel-bearing
|
|
61
|
-
* surface that already carries the stroke (avoid double bezels).
|
|
62
|
-
*/
|
|
63
|
-
bezelHairlines?: boolean;
|
|
64
|
-
/**
|
|
65
|
-
* Toggle the internal twin-line divider rule between sibling
|
|
66
|
-
* children. Default `true`. Disable when children carry their own
|
|
67
|
-
* dividers or when a flush composition is desired.
|
|
68
|
-
*/
|
|
69
|
-
dividerRule?: boolean;
|
|
70
|
-
class?: HTMLAttributes["class"];
|
|
71
|
-
}
|
|
72
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
73
|
-
type __VLS_Slots = {} & {
|
|
74
|
-
status?: (props: typeof __VLS_1) => any;
|
|
75
|
-
} & {
|
|
76
|
-
default?: (props: typeof __VLS_3) => any;
|
|
77
|
-
};
|
|
78
|
-
declare const __VLS_base: import("vue").DefineComponent<InstrumentRailProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InstrumentRailProps> & Readonly<{}>, {
|
|
79
|
-
variant: "vertical" | "horizontal";
|
|
80
|
-
ratio: number;
|
|
81
|
-
bezelHairlines: boolean;
|
|
82
|
-
dividerRule: boolean;
|
|
83
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
84
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
|
-
declare const _default: typeof __VLS_export;
|
|
86
|
-
export default _default;
|
|
87
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
88
|
-
new (): {
|
|
89
|
-
$slots: S;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
export interface RouteTransitionOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Directional transition types tagged on the active transition for
|
|
4
|
-
* `:active-view-transition-type(<t>)` CSS curves (Chrome 140+; feature-
|
|
5
|
-
* detected, degrades to one symmetric curve elsewhere). For a route morph a
|
|
6
|
-
* consumer might tag `["forward"]` / `["back"]` off the navigation direction.
|
|
7
|
-
*/
|
|
8
|
-
types?: string[];
|
|
9
|
-
}
|
|
10
|
-
export interface RouteTransitionResult {
|
|
11
|
-
/**
|
|
12
|
-
* Resolves when the transition's `finished` promise settles (or immediately
|
|
13
|
-
* in the fallback / PRM path). Use to route focus per the a11y MANDATORY:
|
|
14
|
-
* `await navigate(go).finished; mastheadTitle.value?.focus()`. Never rejects —
|
|
15
|
-
* a skipped/aborted transition settles cleanly.
|
|
16
|
-
*/
|
|
17
|
-
finished: Promise<void>;
|
|
18
|
-
/** True when the native VT ran; false when the instant / PRM fallback ran. */
|
|
19
|
-
transitioned: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface UseRouteTransitionReturn {
|
|
22
|
-
/**
|
|
23
|
-
* Run `navigate` (the route/state change, possibly async) wrapped in a View
|
|
24
|
-
* Transition. Under PRM or on an unsupported engine the navigation runs
|
|
25
|
-
* directly (awaited), unanimated. Returns `{ finished, transitioned }`.
|
|
26
|
-
*/
|
|
27
|
-
navigate: (navigate: () => void | Promise<void>, options?: RouteTransitionOptions) => RouteTransitionResult;
|
|
28
|
-
/** True when the native VT API is available (feature-detect for VT-only CSS). */
|
|
29
|
-
supported: boolean;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* True when `document.startViewTransition` is available — the feature-detected
|
|
33
|
-
* predicate the helper (and a consumer's VT-only styling) gate on.
|
|
34
|
-
*/
|
|
35
|
-
export declare function supportsRouteTransitions(): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* The route-transition helper. Returns `navigate` — a function that wraps a
|
|
38
|
-
* (possibly async) navigation callback in `document.startViewTransition` with PRM
|
|
39
|
-
* + unsupported fallbacks. The navigation ALWAYS runs (information parity); the
|
|
40
|
-
* morph is conditional on support + motion preference.
|
|
41
|
-
*/
|
|
42
|
-
export declare function useRouteTransition(): UseRouteTransitionReturn;
|
package/dist/deck-progress.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components/custom/deck-progress";
|
package/dist/deck-progress.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { n as e } from "./createContext-B44Sah_H.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/handmark.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components/custom/handmark";
|