@mkbabb/glass-ui 3.8.0 → 3.10.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.
Files changed (228) hide show
  1. package/README.md +1 -6
  2. package/dist/{CardAction-q2qHCJFG.js → CardAction-DuArVky-.js} +4 -4
  3. package/dist/{CommandShortcut-SzWRhROC.js → CommandShortcut-CefCj5mt.js} +7 -7
  4. package/dist/{ContextMenuSubContent-Do977Cbf.js → ContextMenuSubContent-Bhg4f5jX.js} +3 -3
  5. package/dist/{DataTable-CvlWXz65.js → DataTable-CUHMukiQ.js} +1 -1
  6. package/dist/{DialogContent-DjZWT3lK.js → DialogContent-BRkT1cjP.js} +1 -1
  7. package/dist/{MetricBadge-lTc002u2.js → MetricBadge-BZVWIxNy.js} +6 -4
  8. package/dist/{Notification-BxK8LZMw.js → Notification-DLMhblXR.js} +2 -2
  9. package/dist/{NumberFieldContent-CLNVR1iY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
  10. package/dist/{SelectScrollDownButton-C7TRe-ep.js → SelectScrollDownButton-T32cVFeM.js} +3 -3
  11. package/dist/{SelectSeparator-L8pPEn4L.js → SelectSeparator-C4Ql0gzV.js} +1 -1
  12. package/dist/{Switch-LDKLmmgx.js → Switch-Ch-k3Rv-.js} +1 -1
  13. package/dist/{TabsList-qyHZ2lKY.js → TabsList-B8CVOQPC.js} +2 -2
  14. package/dist/{Toaster-CabYEEF_.js → Toaster-1rYWrmAm.js} +1 -1
  15. package/dist/{ToggleGroupItem-CkXUcBlt.js → ToggleGroupItem-Cev4pOVK.js} +4 -4
  16. package/dist/animated-digit.js +1 -1
  17. package/dist/api/index.d.ts +2 -1
  18. package/dist/api.js +1 -1
  19. package/dist/aurora.js +236 -545
  20. package/dist/{badge-DHQrc_GQ.js → badge-CaoFJzRb.js} +5 -5
  21. package/dist/badge.js +1 -1
  22. package/dist/{button-CAywcrhO.js → button-DN39cGqL.js} +13 -12
  23. package/dist/button.js +1 -1
  24. package/dist/card.js +1 -1
  25. package/dist/carousel.js +1 -1
  26. package/dist/color.js +1 -1
  27. package/dist/command.js +1 -1
  28. package/dist/{compile-BBTRjvQS.js → compile-BOXjLUxu.js} +24 -24
  29. package/dist/components/custom/aurora/composables/atoms.d.ts +21 -4
  30. package/dist/components/custom/aurora/composables/runtime.d.ts +0 -9
  31. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +0 -11
  32. package/dist/components/custom/aurora/constants/renderMode.d.ts +0 -32
  33. package/dist/components/custom/aurora/constants/shaders/brush.glsl.d.ts +1 -1
  34. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +2 -2
  35. package/dist/components/custom/aurora/constants/shaders/tonemap.glsl.d.ts +1 -1
  36. package/dist/components/custom/aurora/index.d.ts +1 -1
  37. package/dist/components/custom/configurator/ConfiguratorLayer.vue.d.ts +1 -1
  38. package/dist/components/custom/constellation/Constellation.vue.d.ts +73 -1
  39. package/dist/components/custom/constellation/constellationField.d.ts +255 -3
  40. package/dist/components/custom/constellation/index.d.ts +2 -2
  41. package/dist/components/custom/dock/DockSeparator.vue.d.ts +3 -0
  42. package/dist/components/custom/dock/DockTabButton.vue.d.ts +4 -3
  43. package/dist/components/custom/dock/GlassDock.vue.d.ts +45 -63
  44. package/dist/components/custom/dock/composables/dockContext.d.ts +7 -0
  45. package/dist/components/custom/dock/index.d.ts +2 -1
  46. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +29 -0
  47. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +6 -0
  48. package/dist/components/custom/fourier-field/index.d.ts +25 -1
  49. package/dist/components/custom/fourier-field/math.d.ts +3 -8
  50. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +8 -10
  51. package/dist/components/custom/goo-blob/composables/useBlobMood.d.ts +19 -5
  52. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +6 -14
  53. package/dist/components/custom/goo-blob/index.d.ts +1 -1
  54. package/dist/components/custom/goo-blob/types.d.ts +59 -25
  55. package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
  56. package/dist/components/custom/handmark/brush.d.ts +219 -0
  57. package/dist/components/custom/handmark/freehand.d.ts +69 -0
  58. package/dist/components/custom/handmark/geometry.d.ts +32 -0
  59. package/dist/components/custom/handmark/index.d.ts +21 -0
  60. package/dist/components/custom/handmark/ink.d.ts +11 -0
  61. package/dist/components/custom/handmark/texture.d.ts +39 -0
  62. package/dist/components/custom/handmark/types.d.ts +53 -0
  63. package/dist/components/custom/handmark/useHandMark.d.ts +66 -0
  64. package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +8 -0
  65. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +92 -0
  66. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +49 -0
  67. package/dist/components/custom/tabs/index.d.ts +2 -5
  68. package/dist/components/ui/button/index.d.ts +1 -1
  69. package/dist/components/ui/card/Card.vue.d.ts +5 -3
  70. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
  71. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
  72. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +3 -4
  73. package/dist/components/ui/slider/index.d.ts +22 -11
  74. package/dist/components/ui/tabs/TabsList.vue.d.ts +1 -1
  75. package/dist/composables/color/index.d.ts +12 -7
  76. package/dist/composables/context/createContext.d.ts +1 -1
  77. package/dist/composables/glass/webgl/shaders/procedural-color.glsl.d.ts +1 -6
  78. package/dist/composables/motion/core/index.d.ts +1 -0
  79. package/dist/composables/motion/useRouteTransition.d.ts +42 -0
  80. package/dist/configurator.js +1 -1
  81. package/dist/confirm-dialog.js +1 -1
  82. package/dist/constellation.js +212 -72
  83. package/dist/context-menu.js +1 -1
  84. package/dist/controls.js +1 -1
  85. package/dist/dark.js +1 -1
  86. package/dist/data-table.js +1 -1
  87. package/dist/deck-progress.js +1 -1
  88. package/dist/dialog.js +1 -1
  89. package/dist/dock.js +257 -243
  90. package/dist/{dropdown-menu-B_4bWyyG.js → dropdown-menu-D77jX6Df.js} +3 -3
  91. package/dist/dropdown-menu.js +1 -1
  92. package/dist/expandable-container.js +61 -38
  93. package/dist/forms.js +5 -5
  94. package/dist/fourier-field.js +89 -97
  95. package/dist/fourier-math.d.ts +1 -0
  96. package/dist/fourier-math.js +2 -0
  97. package/dist/glass-panel.js +1 -1
  98. package/dist/glass-ui.css +1 -1
  99. package/dist/glass-ui.js +107 -109
  100. package/dist/goo-blob.js +316 -297
  101. package/dist/handmark.d.ts +1 -0
  102. package/dist/handmark.js +609 -0
  103. package/dist/hover-popover.js +1 -1
  104. package/dist/icon-tooltip.js +1 -1
  105. package/dist/index.d.ts +1 -2
  106. package/dist/keyboard.js +1 -1
  107. package/dist/labeled-field.js +5 -5
  108. package/dist/math-DTpRVC0e.js +27 -0
  109. package/dist/{menuItemVariants-DKM85SNE.js → menuItemVariants-CCoBNkU5.js} +1 -1
  110. package/dist/metric-badge.js +1 -1
  111. package/dist/metric-stack.js +1 -1
  112. package/dist/motion-core.js +70 -69
  113. package/dist/motion.js +2 -2
  114. package/dist/notification.js +1 -1
  115. package/dist/number-field.js +1 -1
  116. package/dist/pulse.js +1 -1
  117. package/dist/reactive.js +1 -1
  118. package/dist/scrolling-text.js +1 -1
  119. package/dist/search.js +4 -4
  120. package/dist/select.js +2 -2
  121. package/dist/{slider-D9puf-Ko.js → slider-CyzcxBoh.js} +6 -6
  122. package/dist/slider.js +1 -1
  123. package/dist/sortable-list.js +1 -1
  124. package/dist/status-dot.js +17 -16
  125. package/dist/styles/animations.css +80 -20
  126. package/dist/styles/cards.css +2 -2
  127. package/dist/styles/components.css +1 -1
  128. package/dist/styles/dock/density.css +230 -0
  129. package/dist/styles/dock/layer-group.css +275 -0
  130. package/dist/styles/dock/layers.css +355 -0
  131. package/dist/styles/dock/morph.css +244 -0
  132. package/dist/styles/dock/overflow.css +201 -0
  133. package/dist/styles/dock/shell.css +457 -0
  134. package/dist/styles/dock-controls.css +205 -55
  135. package/dist/styles/dock.css +42 -1349
  136. package/dist/styles/drawer.css +12 -4
  137. package/dist/styles/glass.css +535 -78
  138. package/dist/styles/index.css +12 -11
  139. package/dist/styles/paper.css +68 -2
  140. package/dist/styles/theme.css +58 -0
  141. package/dist/styles/tokens.css +601 -69
  142. package/dist/styles/transitions.css +20 -2
  143. package/dist/styles/utilities.css +218 -78
  144. package/dist/styles/view-transition.css +51 -0
  145. package/dist/switch.js +1 -1
  146. package/dist/tabs.js +182 -151
  147. package/dist/timeline.js +1 -1
  148. package/dist/toast.js +1 -1
  149. package/dist/toggle-group.js +1 -1
  150. package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-Bcpy5Etf.js} +1 -1
  151. package/dist/{useConfiguratorState-CMff4GzH.js → useConfiguratorState-DxAqksK6.js} +21 -10
  152. package/dist/{useGlassRenderer-5I0YkI4t.js → useGlassRenderer-D7YGOYiM.js} +1 -1
  153. package/dist/useViewTransition-DaN5Zrox.js +21 -0
  154. package/dist/vReveal-zUIQk-rJ.js +53 -0
  155. package/dist/watercolor-dot.js +1 -1
  156. package/package.json +80 -39
  157. package/src/styles/animations.css +80 -20
  158. package/src/styles/cards.css +2 -2
  159. package/src/styles/dock/density.css +230 -0
  160. package/src/styles/dock/layer-group.css +275 -0
  161. package/src/styles/dock/layers.css +355 -0
  162. package/src/styles/dock/morph.css +244 -0
  163. package/src/styles/dock/overflow.css +201 -0
  164. package/src/styles/dock/shell.css +457 -0
  165. package/src/styles/dock-controls.css +205 -55
  166. package/src/styles/dock.css +42 -1349
  167. package/src/styles/drawer.css +12 -4
  168. package/src/styles/glass.css +535 -78
  169. package/src/styles/index.css +12 -11
  170. package/src/styles/paper.css +68 -2
  171. package/src/styles/theme.css +58 -0
  172. package/src/styles/tokens.css +601 -69
  173. package/src/styles/transitions.css +20 -2
  174. package/src/styles/utilities.css +218 -78
  175. package/src/styles/view-transition.css +51 -0
  176. package/dist/DiscoGlyph-CG0F410s.js +0 -132
  177. package/dist/GlyphFace-DRjDkB0s.js +0 -51
  178. package/dist/UnderlineTabs-Uxn-R3MT.js +0 -39
  179. package/dist/components/custom/aurora/composables/gpuRuntime.d.ts +0 -16
  180. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +0 -7
  181. package/dist/components/custom/aurora/constants/shaders/painterly.wgsl.d.ts +0 -7
  182. package/dist/components/custom/aurora/constants/shaders/wake.wgsl.d.ts +0 -4
  183. package/dist/components/custom/disco-glyph/DiscoGlyph.vue.d.ts +0 -58
  184. package/dist/components/custom/disco-glyph/index.d.ts +0 -1
  185. package/dist/components/custom/glass-carousel/GlassCarousel.vue.d.ts +0 -36
  186. package/dist/components/custom/glass-carousel/GlassCarouselItem.vue.d.ts +0 -28
  187. package/dist/components/custom/glass-carousel/index.d.ts +0 -4
  188. package/dist/components/custom/glass-carousel/useGlassCarousel.d.ts +0 -30
  189. package/dist/components/custom/glyph-face/GlyphFace.vue.d.ts +0 -64
  190. package/dist/components/custom/glyph-face/index.d.ts +0 -2
  191. package/dist/components/custom/glyph-face/keys.d.ts +0 -9
  192. package/dist/components/custom/responsive-tabs/ResponsiveTabs.vue.d.ts +0 -73
  193. package/dist/components/custom/responsive-tabs/index.d.ts +0 -2
  194. package/dist/components/custom/tabs/BouncyTabs.vue.d.ts +0 -27
  195. package/dist/components/custom/tabs/BouncyToggle.vue.d.ts +0 -60
  196. package/dist/components/custom/tabs/UnderlineTabs.vue.d.ts +0 -20
  197. package/dist/components/custom/tabs/composables/useBouncySlider.d.ts +0 -39
  198. package/dist/composables/glass/createGPUCanvas.d.ts +0 -40
  199. package/dist/disco-glyph.d.ts +0 -1
  200. package/dist/disco-glyph.js +0 -2
  201. package/dist/glass-carousel.d.ts +0 -1
  202. package/dist/glass-carousel.js +0 -219
  203. package/dist/glyph-face.d.ts +0 -1
  204. package/dist/glyph-face.js +0 -3
  205. package/dist/keys-BsYjEFOW.js +0 -9
  206. package/dist/responsive-tabs.d.ts +0 -1
  207. package/dist/responsive-tabs.js +0 -95
  208. package/dist/styles/disco-glyph.css +0 -26
  209. package/dist/styles/glyph-face.css +0 -92
  210. package/dist/vReveal-CqaCz_mC.js +0 -44
  211. package/src/styles/disco-glyph.css +0 -26
  212. package/src/styles/glyph-face.css +0 -92
  213. /package/dist/{DeckProgress-AVgbIULY.js → DeckProgress-Dmk4_AKN.js} +0 -0
  214. /package/dist/{HoverPopover-D56O6Ylp.js → HoverPopover-2LOIW34a.js} +0 -0
  215. /package/dist/{IconTooltip-D2T5nYOM.js → IconTooltip-Cus0fvK0.js} +0 -0
  216. /package/dist/{Input-DVG_J0ne.js → Input-xuDwALQR.js} +0 -0
  217. /package/dist/{ScrollingText-CVyqxvfv.js → ScrollingText-BPP84wKo.js} +0 -0
  218. /package/dist/{color-DMLTunJK.js → color-C5ls_QF7.js} +0 -0
  219. /package/dist/{constants-BPOqYJAm.js → constants-yKeKnE84.js} +0 -0
  220. /package/dist/{presets-D1XPuTj-.js → presets-Dkdv55Gt.js} +0 -0
  221. /package/dist/{prng-COGhh02-.js → prng-D27-B3tK.js} +0 -0
  222. /package/dist/{useGlobalDark-D3EBWzXK.js → useGlobalDark-d6waty-X.js} +0 -0
  223. /package/dist/{useIntersectionPause-Bj4sPkMh.js → useIntersectionPause-Cck5Uxk8.js} +0 -0
  224. /package/dist/{useInterval-CcLfq2WU.js → useInterval-Dsmqwi03.js} +0 -0
  225. /package/dist/{useKeyboardShortcuts-BXWXOZ-9.js → useKeyboardShortcuts-CyIYrndH.js} +0 -0
  226. /package/dist/{useScrollProgress-C9ysDic5.js → useScrollProgress-CffFGLa5.js} +0 -0
  227. /package/dist/{useSortable-MGAbCGVJ.js → useSortable-C8ReQ50P.js} +0 -0
  228. /package/dist/{useTextHighlight-9nMW23Qb.js → useTextHighlight-CWEi25hf.js} +0 -0
@@ -0,0 +1,219 @@
1
+ /**
2
+ * brush.ts — the flat Brush DATA model (the keystone; SPEC §2). Pure data, 0 deps.
3
+ * ─────────────────────────────────────────────────────────────────────────────
4
+ * A `Brush` is a plain JSON-serialisable record — twelve scalars, four enums, and
5
+ * one optional `stamp` function. Every built-in medium is a frozen literal: a
6
+ * POINT in one continuous parameter space, NOT a class in a taxonomy. The renderer
7
+ * (`ink.ts`) reads fields — it NEVER branches on instrument name (SPEC §12 acc-1).
8
+ * Adding a medium = adding one row here; an in-between medium = a spread/lerp.
9
+ *
10
+ * Field-count discipline (SPEC §2): resist a 13th scalar per new instrument —
11
+ * `blend` earned its place only because highlighter genuinely needed `multiply`.
12
+ *
13
+ * The shipped register: PEN is the default (clean ink, grain:0 ⇒ no filter); the
14
+ * CRAYON ships as the proven STROKE-crayon (constant-width offset passes + the
15
+ * seeded static feTurbulence grain — `ds-crayon-handmark` verdict), i.e.
16
+ * `ribbon:'stroke'` (the `ribbon:'hull'` perfect-freehand width-variance upgrade
17
+ * is wired but unconsumed — a later field-delta, never a code branch).
18
+ */
19
+ export type BlendMode = "source-over" | "multiply" | "darken" | "screen";
20
+ export interface TaperSpec {
21
+ /** px the width ramps 0→full at the start (lift-on). */
22
+ start: number;
23
+ /** px the width ramps full→0 at the end (lift-off / dry run-out). */
24
+ end: number;
25
+ /** out-cubic = the lazy pencil run-out. */
26
+ ease: "linear" | "out-cubic";
27
+ }
28
+ export interface Brush {
29
+ /** base stroke diameter, in viewBox units. */
30
+ weight: number;
31
+ /** 0..1.4 seeded ±width variance along arc-length. */
32
+ weightJitter: number;
33
+ /** -1..1 pressure→width gain (pf `thinning`). */
34
+ thinning: number;
35
+ /** lift-on / lift-off ramp. */
36
+ taper: TaperSpec;
37
+ /** L2 body strategy: plain stroked <path> | pf filled hull. DEFAULT 'stroke'. */
38
+ ribbon: "stroke" | "hull";
39
+ /** 0..1 base alpha. */
40
+ opacity: number;
41
+ /** 'source-over' ink | 'multiply' highlighter-behind-text. */
42
+ blend: BlendMode;
43
+ /** overdraw count (pen 1 · crayon 2-3). */
44
+ passes: number;
45
+ /** 0..1 per-pass alpha falloff (heavy core, light fringe). */
46
+ passOpacity: number;
47
+ /** 0..1 paper-through depth — THE master pen↔crayon knob. 0 ⇒ NO filter. */
48
+ grain: number;
49
+ /** feTurbulence baseFrequency (high=pencil tooth · low=crayon wax). */
50
+ grainFreq: number;
51
+ /** feDisplacementMap edge-fray scale, px. */
52
+ grainScale: number;
53
+ /** feTurbulence numOctaves (grain richness). */
54
+ octaves: number;
55
+ /** macro tremor → wobbleLinePoints({ roughness }). */
56
+ roughness: number;
57
+ /** micro displacement scale (boil amplitude + warp filter). */
58
+ wobble: number;
59
+ /** wobble centerline resolution. */
60
+ segments: number;
61
+ cap: "round" | "square" | "butt";
62
+ /** when present, OVERRIDES the built-in ink stage only. */
63
+ stamp?: StampFn;
64
+ }
65
+ /** SPEC §5 — the arbitrary-brush escape hatch (one optional field, not a framework). */
66
+ export type StampFn = (ctx: {
67
+ centerline: [number, number][];
68
+ brush: Brush;
69
+ rng: () => number;
70
+ seed: number;
71
+ length: number;
72
+ color: string;
73
+ }) => {
74
+ paths: InkPath[];
75
+ filterId?: string | null;
76
+ defs?: string[];
77
+ };
78
+ /** One ink path the renderer emits (shared with ink.ts; declared here to avoid a cycle). */
79
+ export interface InkPath {
80
+ d: string;
81
+ fill?: string;
82
+ stroke?: string;
83
+ opacity: number;
84
+ blend: BlendMode;
85
+ }
86
+ /**
87
+ * The named points in the continuum. `pen` is the DEFAULT (clean ink, grain:0).
88
+ * `crayon` is the SHIPPED stroke-crayon (ribbon:'stroke', the static grain filter);
89
+ * `pencil`/`marker`/`highlighter` round out the spanning set.
90
+ */
91
+ export declare const BRUSHES: {
92
+ readonly pen: {
93
+ readonly weight: 6;
94
+ readonly weightJitter: 0.1;
95
+ readonly thinning: 0.15;
96
+ readonly taper: {
97
+ readonly start: 14;
98
+ readonly end: 14;
99
+ readonly ease: "out-cubic";
100
+ };
101
+ readonly ribbon: "stroke";
102
+ readonly opacity: 1;
103
+ readonly blend: "source-over";
104
+ readonly passes: 1;
105
+ readonly passOpacity: 0;
106
+ readonly grain: 0;
107
+ readonly grainFreq: 0.1;
108
+ readonly grainScale: 0;
109
+ readonly octaves: 2;
110
+ readonly roughness: 0.7;
111
+ readonly wobble: 1.2;
112
+ readonly segments: 9;
113
+ readonly cap: "round";
114
+ };
115
+ readonly pencil: {
116
+ readonly weight: 3;
117
+ readonly weightJitter: 0.3;
118
+ readonly thinning: 0.4;
119
+ readonly taper: {
120
+ readonly start: 8;
121
+ readonly end: 18;
122
+ readonly ease: "out-cubic";
123
+ };
124
+ readonly ribbon: "stroke";
125
+ readonly opacity: 0.6;
126
+ readonly blend: "source-over";
127
+ readonly passes: 1;
128
+ readonly passOpacity: 0;
129
+ readonly grain: 0.5;
130
+ readonly grainFreq: 0.42;
131
+ readonly grainScale: 1.5;
132
+ readonly octaves: 3;
133
+ readonly roughness: 1;
134
+ readonly wobble: 1.6;
135
+ readonly segments: 11;
136
+ readonly cap: "round";
137
+ };
138
+ readonly crayon: {
139
+ readonly weight: 16;
140
+ readonly weightJitter: 1;
141
+ readonly thinning: 0.25;
142
+ readonly taper: {
143
+ readonly start: 6;
144
+ readonly end: 6;
145
+ readonly ease: "linear";
146
+ };
147
+ readonly ribbon: "stroke";
148
+ readonly opacity: 0.8;
149
+ readonly blend: "source-over";
150
+ readonly passes: 2;
151
+ readonly passOpacity: 0.18;
152
+ readonly grain: 0.85;
153
+ readonly grainFreq: 0.16;
154
+ readonly grainScale: 2.6;
155
+ readonly octaves: 4;
156
+ readonly roughness: 1.5;
157
+ readonly wobble: 3;
158
+ readonly segments: 13;
159
+ readonly cap: "round";
160
+ };
161
+ readonly marker: {
162
+ readonly weight: 12;
163
+ readonly weightJitter: 0.2;
164
+ readonly thinning: 0.1;
165
+ readonly taper: {
166
+ readonly start: 4;
167
+ readonly end: 10;
168
+ readonly ease: "out-cubic";
169
+ };
170
+ readonly ribbon: "stroke";
171
+ readonly opacity: 0.92;
172
+ readonly blend: "source-over";
173
+ readonly passes: 1;
174
+ readonly passOpacity: 0;
175
+ readonly grain: 0.22;
176
+ readonly grainFreq: 0.09;
177
+ readonly grainScale: 1;
178
+ readonly octaves: 3;
179
+ readonly roughness: 1;
180
+ readonly wobble: 2.2;
181
+ readonly segments: 9;
182
+ readonly cap: "square";
183
+ };
184
+ readonly highlighter: {
185
+ readonly weight: 26;
186
+ readonly weightJitter: 0.05;
187
+ readonly thinning: 0;
188
+ readonly taper: {
189
+ readonly start: 0;
190
+ readonly end: 0;
191
+ readonly ease: "linear";
192
+ };
193
+ readonly ribbon: "stroke";
194
+ readonly opacity: 0.38;
195
+ readonly blend: "multiply";
196
+ readonly passes: 1;
197
+ readonly passOpacity: 0;
198
+ readonly grain: 0.12;
199
+ readonly grainFreq: 0.2;
200
+ readonly grainScale: 1.5;
201
+ readonly octaves: 2;
202
+ readonly roughness: 0.5;
203
+ readonly wobble: 1.4;
204
+ readonly segments: 9;
205
+ readonly cap: "square";
206
+ };
207
+ };
208
+ export type BrushName = keyof typeof BRUSHES;
209
+ /**
210
+ * Resolution order (KISS, deterministic): preset → object overrides → extra `o`.
211
+ * A string selects a preset; an object spreads over `pen`. Later wins.
212
+ */
213
+ export declare const resolveBrush: (b: BrushName | Partial<Brush>, o?: Partial<Brush>) => Brush;
214
+ /**
215
+ * lerpBrush — the continuum proof (SPEC §12 acc-2). Linearly interpolate the
216
+ * scalar fields of two brushes; enums/taper/ribbon snap from `a` below 0.5, `b`
217
+ * at/above. Yields a sensible in-between ("inky crayon"), no NaN.
218
+ */
219
+ export declare const lerpBrush: (a: Brush, b: Brush, t: number) => Brush;
@@ -0,0 +1,69 @@
1
+ /**
2
+ * freehand.ts — the VENDORED perfect-freehand geometry core (MIT, tldraw).
3
+ * ─────────────────────────────────────────────────────────────────────────────
4
+ * SPEC §1.1 / §11: glass-ui ships ZERO hard deps. `perfect-freehand` is an
5
+ * OPTIONAL peer; its `getStroke` is the only one of the four engines that
6
+ * produces TRUE variable width (the swelling/tapering crayon nib). We vendor only
7
+ * its *geometry* core (a few hundred LOC, MIT) behind this L2 seam so:
8
+ *
9
+ * - the default pen/crayon presets (`ribbon: 'stroke'`) NEVER import it — the
10
+ * bundle treeshakes it away (the shipped stroke-crayon, `ds-crayon-handmark`),
11
+ * - the `ribbon: 'hull'` opt-in (the future width-variance upgrade) has a
12
+ * dependency-free, deterministic body engine already in place,
13
+ * - the pointer-capture half of the library (dead weight to us) never ships.
14
+ *
15
+ * This is the `getStroke` + `getStrokeOutlinePoints` + `getStrokePoints` core
16
+ * from perfect-freehand@1.2.3 (Steve Ruiz, MIT), transcribed to TypeScript with
17
+ * the `getSvgPathFromStroke` median-quad serialiser the references use. The
18
+ * algorithm is verbatim; only the module shape (named exports, vendored vec math)
19
+ * is glass-ui-local.
20
+ *
21
+ * @license MIT — perfect-freehand © Stephen Ruiz Ltd. https://github.com/steveruizok/perfect-freehand
22
+ */
23
+ /** A point: [x, y] or [x, y, pressure]. */
24
+ export type InputPoint = [number, number] | [number, number, number];
25
+ export interface StrokeOptions {
26
+ size?: number;
27
+ thinning?: number;
28
+ smoothing?: number;
29
+ streamline?: number;
30
+ easing?: (t: number) => number;
31
+ simulatePressure?: boolean;
32
+ start?: {
33
+ cap?: boolean;
34
+ taper?: number | boolean;
35
+ easing?: (t: number) => number;
36
+ };
37
+ end?: {
38
+ cap?: boolean;
39
+ taper?: number | boolean;
40
+ easing?: (t: number) => number;
41
+ };
42
+ last?: boolean;
43
+ }
44
+ interface StrokePoint {
45
+ point: number[];
46
+ pressure: number;
47
+ distance: number;
48
+ vector: number[];
49
+ runningLength: number;
50
+ }
51
+ /**
52
+ * getStrokePoints — resample the raw input into smoothed StrokePoints with
53
+ * running length + per-segment unit vectors (the streamline low-pass).
54
+ */
55
+ export declare function getStrokePoints(points: InputPoint[], options?: StrokeOptions): StrokePoint[];
56
+ /**
57
+ * getStrokeOutlinePoints — walk the StrokePoints, emit left/right offset points
58
+ * (the variable-width hull), with tapered caps.
59
+ */
60
+ export declare function getStrokeOutlinePoints(points: StrokePoint[], options?: StrokeOptions): number[][];
61
+ /** getStroke — the public entry: raw input → variable-width hull outline points. */
62
+ export declare function getStroke(points: InputPoint[], options?: StrokeOptions): number[][];
63
+ /**
64
+ * getSvgPathFromStroke — the canonical median-quad serialiser the references use:
65
+ * each segment's control point is the midpoint of two consecutive outline points,
66
+ * yielding a smooth closed fill `d`-string.
67
+ */
68
+ export declare function getSvgPathFromStroke(stroke: number[][], closed?: boolean): string;
69
+ export {};
@@ -0,0 +1,32 @@
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
+ /** A shape maps to one or more centerlines (open polylines) or one closed ring. */
23
+ export interface ShapeGeom {
24
+ lines: [number, number][][];
25
+ closed: boolean;
26
+ }
27
+ /** Semantic shape → { lines, closed } in the marking space (or a positioned box). */
28
+ export declare function shapeGeom(shape: HandShape, opts: WobbleOptions, box?: MarkBox | null): ShapeGeom;
29
+ /** Boil one geometry: re-perturb the CACHED centerlines (anchored → no draw-on pop). */
30
+ export declare function boilLines({ lines, closed }: ShapeGeom, amount: number, seed: number): [number, number][][];
31
+ /** Serialize centerlines → one SVG `d` (multi-line shapes concat with a space). */
32
+ export declare function serialize(lines: [number, number][][], jagged?: boolean): string;
@@ -0,0 +1,21 @@
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, 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, } from "./useHandMark";
21
+ export type { HandMarkProps, HandShape, HandAnimation, MarkBox, } from "./types";
@@ -0,0 +1,11 @@
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;
@@ -0,0 +1,39 @@
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;
@@ -0,0 +1,53 @@
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
+ }
@@ -0,0 +1,66 @@
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 { useLineBoil } from "@mkbabb/pencil-boil";
22
+ import { type Brush, type BrushName } from "./brush";
23
+ import { type ShapeGeom } from "./geometry";
24
+ import { type SVGFragment } from "./ink";
25
+ import type { HandAnimation, HandMarkProps, HandShape, MarkBox } from "./types";
26
+ export interface UseHandMarkInput {
27
+ brush: BrushName | Partial<Brush>;
28
+ shape: HandShape;
29
+ color: string;
30
+ seed: number;
31
+ overrides?: Partial<Brush>;
32
+ animation: HandAnimation;
33
+ boilFps: number;
34
+ boilFrames: number;
35
+ roughness: number | null;
36
+ segments: number | null;
37
+ jagged: boolean;
38
+ box: MarkBox | null;
39
+ path: string | null;
40
+ filterId: string;
41
+ }
42
+ /** Normalise raw HandMarkProps (with their defaults applied) into the core input. */
43
+ export declare function normalizeProps(props: HandMarkProps, filterId: string): UseHandMarkInput;
44
+ export interface HandMarkCore {
45
+ /** the resolved effective brush vector. */
46
+ brush: Ref<Brush>;
47
+ /** the static base geometry (boil re-perturbs THIS). */
48
+ baseGeom: Ref<ShapeGeom>;
49
+ /** the live SVG fragment (paths + filter defs). */
50
+ fragment: Ref<SVGFragment>;
51
+ /** the live `d` (escape-hatch path > boiled geometry > static base). */
52
+ pathD: Ref<string>;
53
+ /** does the brush emit a grain filter? (drives the draw-on mechanism). */
54
+ grained: Ref<boolean>;
55
+ /** the draw-on mechanism for this mark: dashoffset (pen) | clip (crayon). */
56
+ drawKind: Ref<"dashoffset" | "clip">;
57
+ /** does this animation draw on at all? */
58
+ draws: Ref<boolean>;
59
+ /** does this animation boil? */
60
+ boils: Ref<boolean>;
61
+ /** the lazy boil clock (subscribes to the singleton RAF). */
62
+ boil: ReturnType<typeof useLineBoil>;
63
+ /** arm/disarm boil (draw-then-boil holds it until the draw finishes). */
64
+ boilArmed: Ref<boolean>;
65
+ }
66
+ export declare function useHandMark(input: Ref<UseHandMarkInput>): HandMarkCore;
@@ -1,6 +1,7 @@
1
1
  import type { HTMLAttributes } from 'vue';
2
2
  type MetricBadgeSize = 'sm' | 'md' | 'lg' | 'xl';
3
3
  type MetricBadgeLabelPosition = 'inline' | 'stacked';
4
+ type MetricBadgeVariant = 'default' | 'record';
4
5
  type __VLS_Props = {
5
6
  amount: string | number | null | undefined;
6
7
  unit?: string;
@@ -29,10 +30,17 @@ type __VLS_Props = {
29
30
  * rung (`text-mono-prose` amount, `text-prose` unit) for hero
30
31
  * placements that need to read at chassis distance. */
31
32
  size?: MetricBadgeSize;
33
+ /** Surface register. `default` is the canonical 5-tier glass pill;
34
+ * `record` is the GILT pill (D6.b) — a 1px `--gold-rim` tooled edge +
35
+ * `--gold-ink` amount + a faint ≤8% gold wash (never opaque). Gold marks
36
+ * the SUPERLATIVE, exactly one per view: the all-time-high / peak figure.
37
+ * The medal reads as earned, not as a fourth data color. */
38
+ variant?: MetricBadgeVariant;
32
39
  class?: HTMLAttributes['class'];
33
40
  };
34
41
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
35
42
  size: MetricBadgeSize;
43
+ variant: MetricBadgeVariant;
36
44
  placeholder: string;
37
45
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
46
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,92 @@
1
+ import { type HTMLAttributes } from "vue";
2
+ /** The canonical tab/option shape — one descriptor across all three variants. */
3
+ export interface SegmentedTabOption {
4
+ label: string;
5
+ value: string;
6
+ icon?: string;
7
+ disabled?: boolean;
8
+ tooltip?: string;
9
+ }
10
+ /** The three indicator chromes. `segmented` (default) = the muted pill-slider;
11
+ * `pill` = the solid `--foreground` pill; `underline` = the hairline rule. */
12
+ export type SegmentedTabsVariant = "segmented" | "pill" | "underline";
13
+ export interface SegmentedTabsResponsive {
14
+ /**
15
+ * CSS length consumed inside `(min-width: <breakpoint>)`. BELOW it the
16
+ * strip collapses to a `<Select>`; at/above it renders the tab strip.
17
+ * Defaults to `"640px"` (Tailwind `sm:`).
18
+ */
19
+ breakpoint?: string;
20
+ /**
21
+ * Optional subset shown in the desktop strip (the mobile Select keeps the
22
+ * full option list). Falls back to `options`.
23
+ */
24
+ desktopOptions?: SegmentedTabOption[] | null;
25
+ /** Accessible name for the mobile `<SelectTrigger>`. */
26
+ ariaLabel?: string;
27
+ /** Class merged onto the mobile `<SelectTrigger>` only. */
28
+ triggerClass?: HTMLAttributes["class"];
29
+ }
30
+ export interface SegmentedTabsProps {
31
+ options: SegmentedTabOption[];
32
+ /**
33
+ * Indicator chrome — `segmented` (DEFAULT, the pill-slider over a muted
34
+ * track), `pill` (solid foreground pill), `underline` (the hairline rule).
35
+ */
36
+ variant?: SegmentedTabsVariant;
37
+ /**
38
+ * Multi-select — when true the surface mutates as a ToggleGroup (N
39
+ * simultaneous pressed buttons, `role="group"`). Only valid on the
40
+ * `segmented`/`pill` variants; `underline` is panel-nav (single-select).
41
+ */
42
+ multiSelect?: boolean;
43
+ /**
44
+ * Tab-row overflow handling.
45
+ * - `"none"` (default) — inline-grid; tabs share width and clip.
46
+ * - `"scroll"` — flex row with intrinsic widths + edge fades; never clips.
47
+ * - `"auto"` — flex row with intrinsic widths + plain horizontal scroll.
48
+ */
49
+ overflow?: "none" | "scroll" | "auto";
50
+ /**
51
+ * Responsive collapse — below the breakpoint the strip becomes a `<Select>`
52
+ * (subsumes the former standalone ResponsiveTabs). `true` uses defaults;
53
+ * an object tunes the breakpoint / desktop subset / accessible name.
54
+ */
55
+ responsive?: boolean | SegmentedTabsResponsive;
56
+ class?: HTMLAttributes["class"];
57
+ }
58
+ type __VLS_Props = SegmentedTabsProps;
59
+ type __VLS_ModelProps = {
60
+ modelValue: string | string[];
61
+ };
62
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
63
+ declare var __VLS_50: {
64
+ option: SegmentedTabOption;
65
+ active: boolean;
66
+ }, __VLS_58: {
67
+ option: SegmentedTabOption;
68
+ active: boolean;
69
+ };
70
+ type __VLS_Slots = {} & {
71
+ option?: (props: typeof __VLS_50) => any;
72
+ } & {
73
+ option?: (props: typeof __VLS_58) => any;
74
+ };
75
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
76
+ "update:modelValue": (value: string | string[]) => any;
77
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
78
+ "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
79
+ }>, {
80
+ overflow: "none" | "scroll" | "auto";
81
+ variant: SegmentedTabsVariant;
82
+ responsive: boolean | SegmentedTabsResponsive;
83
+ multiSelect: boolean;
84
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
85
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
86
+ declare const _default: typeof __VLS_export;
87
+ export default _default;
88
+ type __VLS_WithSlots<T, S> = T & {
89
+ new (): {
90
+ $slots: S;
91
+ };
92
+ };