@mkbabb/glass-ui 4.0.0 → 4.0.1

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 (394) hide show
  1. package/README.md +3 -1
  2. package/dist/CardAction-CW7a0m8M.js +253 -0
  3. package/dist/{CommandShortcut-DdtWXxOK.js → CommandShortcut-DvZNQ_HF.js} +4 -4
  4. package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
  5. package/dist/{ContextMenuContent-ON3x7cuk.js → ContextMenuContent-uWnVxDab.js} +1 -1
  6. package/dist/{ContextMenuSubContent-B0Vs6atR.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
  7. package/dist/{DataTable-C464Zbqd.js → DataTable-CuKwF7wr.js} +4 -4
  8. package/dist/{DialogContent-DDE6pQBU.js → DialogContent-DcKK8k9i.js} +5 -5
  9. package/dist/{DialogFooter-8eZbdmPc.js → DialogFooter-BZNX5aVr.js} +3 -3
  10. package/dist/{FadingScroll-DwNnvKMs.js → FadingScroll-DI6hQhT9.js} +1 -1
  11. package/dist/{HoverCardContent-DkMaQzH5.js → HoverCardContent-b2uaAMRR.js} +1 -1
  12. package/dist/{HoverPopover-Dpzwvc4t.js → HoverPopover-CbqbNwgU.js} +2 -2
  13. package/dist/{IconChip-BDw1j5mu.js → IconChip-BTD-nay5.js} +3 -2
  14. package/dist/{IconTooltip-DSjasZIt.js → IconTooltip-Bl8gFZ8d.js} +1 -1
  15. package/dist/{Input-DVG_J0ne.js → Input-h9v5LeXf.js} +1 -1
  16. package/dist/{MetricBadge-BpC0R_Ec.js → MetricBadge-RHdBP72w.js} +1 -1
  17. package/dist/Notification-VUwexFUf.js +43 -0
  18. package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
  19. package/dist/{PopoverContent-BTorlp--.js → PopoverContent-DL7E6vJP.js} +4 -4
  20. package/dist/{Progress-hAT4gqGH.js → Progress-DctG61iZ.js} +4 -4
  21. package/dist/{ScrollingText-CUVFTWk2.js → ScrollingText-yOpBzFYq.js} +2 -2
  22. package/dist/{SelectScrollDownButton-C1jb3b3K.js → SelectScrollDownButton-CrA8F0iV.js} +18 -19
  23. package/dist/Toaster-Bw4xR8xV.js +274 -0
  24. package/dist/{ToggleGroupItem-Dzk9hWsF.js → ToggleGroupItem-pEM9vIhs.js} +50 -37
  25. package/dist/{TooltipProvider-B3MkB_8P.js → TooltipProvider-rzvnXz60.js} +1 -1
  26. package/dist/animated-digit.js +2 -2
  27. package/dist/api/index.d.ts +8 -3
  28. package/dist/api/types-extra.d.ts +6 -0
  29. package/dist/aurora.js +885 -242
  30. package/dist/badge.js +1 -1
  31. package/dist/border-progress.d.ts +1 -0
  32. package/dist/border-progress.js +106 -0
  33. package/dist/{button-BNDWhAZb.js → button-DYCUa-tH.js} +71 -26
  34. package/dist/button.js +1 -1
  35. package/dist/canvas.js +2 -2
  36. package/dist/card.js +2 -2
  37. package/dist/carousel.js +93 -110
  38. package/dist/collapsible.js +1 -1
  39. package/dist/command.js +1 -1
  40. package/dist/compile-CQEFRTmx.js +19 -0
  41. package/dist/components/custom/aurora/composables/atoms-fields.d.ts +39 -0
  42. package/dist/components/custom/aurora/composables/auroraFallbackGround.d.ts +108 -0
  43. package/dist/components/custom/aurora/composables/runtime.d.ts +19 -0
  44. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +5 -1
  45. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +51 -0
  46. package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +29 -0
  47. package/dist/components/custom/aurora/constants/budget.d.ts +21 -0
  48. package/dist/components/custom/aurora/constants/presets.d.ts +2 -2
  49. package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -12
  50. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
  51. package/dist/components/custom/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -0
  52. package/dist/components/custom/aurora/constants/shaders/procedural-color.wgsl.d.ts +4 -0
  53. package/dist/components/custom/aurora/index.d.ts +2 -1
  54. package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +46 -0
  55. package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +22 -0
  56. package/dist/components/custom/border-progress/constants.d.ts +59 -0
  57. package/dist/components/custom/border-progress/index.d.ts +4 -0
  58. package/dist/components/custom/concentric/Concentric.vue.d.ts +39 -0
  59. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +11 -0
  60. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
  61. package/dist/components/custom/concentric/composables/ringField.d.ts +44 -0
  62. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +13 -0
  63. package/dist/components/custom/concentric/composables/useConcentric.d.ts +35 -0
  64. package/dist/components/custom/concentric/constants.d.ts +43 -0
  65. package/dist/components/custom/concentric/index.d.ts +5 -0
  66. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +4 -0
  67. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -0
  68. package/dist/components/custom/dock/DockIconButton.vue.d.ts +13 -4
  69. package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +10 -2
  70. package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +75 -0
  71. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -0
  72. package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +38 -0
  73. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +41 -0
  74. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +24 -0
  75. package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +34 -0
  76. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -0
  77. package/dist/components/custom/dot-flow-field/constants.d.ts +48 -0
  78. package/dist/components/custom/dot-flow-field/index.d.ts +5 -0
  79. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -0
  80. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +20 -0
  81. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -0
  82. package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +33 -0
  83. package/dist/components/custom/easing/EasingPicker.vue.d.ts +49 -0
  84. package/dist/components/custom/easing/composables/useEasingPicker.d.ts +75 -0
  85. package/dist/components/custom/easing/constants.d.ts +28 -0
  86. package/dist/components/custom/easing/index.d.ts +3 -0
  87. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +12 -2
  88. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +39 -0
  89. package/dist/components/custom/fourier-field/constants.d.ts +7 -0
  90. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
  91. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +4 -2
  92. package/dist/components/custom/goo-blob/composables/uniformBridgeWGPU.d.ts +24 -0
  93. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +18 -11
  94. package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
  95. package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
  96. package/dist/components/custom/handmark/HandMark.vue.d.ts +1 -1
  97. package/dist/components/custom/icon-chip/types.d.ts +11 -1
  98. package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +3 -1
  99. package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
  100. package/dist/components/custom/spa-view/SpaView.vue.d.ts +50 -0
  101. package/dist/components/custom/spa-view/index.d.ts +2 -0
  102. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +10 -0
  103. package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
  104. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +1 -1
  105. package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
  106. package/dist/components/ui/badge/index.d.ts +1 -1
  107. package/dist/components/ui/button/Button.vue.d.ts +5 -2
  108. package/dist/components/ui/button/index.d.ts +2 -2
  109. package/dist/components/ui/card/Card.vue.d.ts +34 -4
  110. package/dist/components/ui/card/CardHeader.vue.d.ts +42 -16
  111. package/dist/components/ui/card/ScrollCard.vue.d.ts +33 -0
  112. package/dist/components/ui/card/ScrollCardHeader.vue.d.ts +17 -0
  113. package/dist/components/ui/card/index.d.ts +2 -0
  114. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
  115. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
  116. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +2 -2
  117. package/dist/components/ui/command/Command.vue.d.ts +1 -1
  118. package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
  119. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +7 -8
  120. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +2 -2
  121. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +1 -1
  122. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +2 -2
  123. package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +26 -0
  124. package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +17 -0
  125. package/dist/components/ui/drawer/constants.d.ts +45 -0
  126. package/dist/components/ui/drawer/index.d.ts +23 -15
  127. package/dist/components/ui/focus-scope/FocusScope.vue.d.ts +20 -0
  128. package/dist/components/ui/focus-scope/index.d.ts +2 -0
  129. package/dist/components/ui/index.d.ts +1 -0
  130. package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
  131. package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
  132. package/dist/components/ui/sheet/index.d.ts +1 -1
  133. package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
  134. package/dist/components/ui/toast/Toast.vue.d.ts +5 -2
  135. package/dist/components/ui/toast/use-toast.d.ts +14 -0
  136. package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
  137. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +13 -6
  138. package/dist/composables/glass/index.d.ts +5 -2
  139. package/dist/composables/glass/useSpecularPointer.d.ts +33 -0
  140. package/dist/composables/glass/useSpecularTracking.d.ts +20 -0
  141. package/dist/composables/glass/vSpecular.d.ts +2 -0
  142. package/dist/composables/glass/webgl/shaders/flow.glsl.d.ts +1 -0
  143. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -0
  144. package/dist/composables/glass/webgpu/index.d.ts +2 -0
  145. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +54 -0
  146. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +84 -0
  147. package/dist/composables/motion/core/index.d.ts +1 -0
  148. package/dist/composables/motion/index.d.ts +4 -0
  149. package/dist/composables/motion/useDockCtaReceive.d.ts +59 -0
  150. package/dist/composables/motion/useDragMorph.d.ts +77 -0
  151. package/dist/composables/motion/useLiquidFlex.d.ts +11 -0
  152. package/dist/composables/motion/useLiquidPress.d.ts +71 -0
  153. package/dist/composables/motion/useLiquidReveal.d.ts +51 -0
  154. package/dist/composables/motion/useNumericTransition.d.ts +3 -3
  155. package/dist/composables/motion/usePointerVelocityField.d.ts +98 -0
  156. package/dist/concentric.d.ts +1 -0
  157. package/dist/concentric.js +562 -0
  158. package/dist/configurator.js +3 -2
  159. package/dist/confirm-dialog.js +22 -24
  160. package/dist/constellation.js +11 -11
  161. package/dist/context-menu.js +3 -3
  162. package/dist/controls.js +1 -1
  163. package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
  164. package/dist/data-table.js +1 -1
  165. package/dist/dialog.js +2 -2
  166. package/dist/dock.js +564 -457
  167. package/dist/{dockContext-Bu1Avy-a.js → dockContext-BNfyPLe9.js} +1 -1
  168. package/dist/dom.js +5 -5
  169. package/dist/dot-flow-field.d.ts +1 -0
  170. package/dist/dot-flow-field.js +604 -0
  171. package/dist/drawer.d.ts +1 -0
  172. package/dist/drawer.js +380 -0
  173. package/dist/{dropdown-menu-BJ7E9js_.js → dropdown-menu-CofSZuk8.js} +14 -15
  174. package/dist/dropdown-menu.js +1 -1
  175. package/dist/easing.d.ts +1 -0
  176. package/dist/easing.js +463 -0
  177. package/dist/expandable-container.js +7 -4
  178. package/dist/fading-scroll.js +1 -1
  179. package/dist/focus-scope.d.ts +1 -0
  180. package/dist/focus-scope.js +23 -0
  181. package/dist/forms.js +7 -7
  182. package/dist/fourier-field.js +128 -116
  183. package/dist/fourier-math.js +1 -1
  184. package/dist/glass-panel.js +2 -2
  185. package/dist/glass-ui.css +1 -1
  186. package/dist/glass-ui.js +149 -341
  187. package/dist/goo-blob.js +830 -224
  188. package/dist/handmark.js +2 -2
  189. package/dist/header-ribbon.js +1 -1
  190. package/dist/hover-card.js +1 -1
  191. package/dist/hover-popover.js +1 -1
  192. package/dist/icon-chip.js +1 -1
  193. package/dist/icon-tooltip.js +1 -1
  194. package/dist/index.d.ts +1 -1
  195. package/dist/instrument-chassis.js +1 -1
  196. package/dist/label.js +1 -1
  197. package/dist/labeled-field.js +6 -6
  198. package/dist/metric-badge.js +1 -1
  199. package/dist/metric-cell.js +1 -1
  200. package/dist/metric-stack.js +4 -8
  201. package/dist/motion-core.js +36 -36
  202. package/dist/motion-curves.js +1 -1
  203. package/dist/motion.js +157 -55
  204. package/dist/notification.js +1 -1
  205. package/dist/number-field.js +1 -1
  206. package/dist/pager-dots.js +1 -1
  207. package/dist/paper-backdrop.js +1 -1
  208. package/dist/popover.js +1 -1
  209. package/dist/{compile-EXXzEr1q.js → procedural-color.glsl-CIFsJhwI.js} +1 -155
  210. package/dist/procedural-color.wgsl-CToRHugY.js +224 -0
  211. package/dist/progress.js +1 -1
  212. package/dist/pulse.js +1 -1
  213. package/dist/reactive.js +2 -2
  214. package/dist/scrolling-text.js +1 -1
  215. package/dist/search.js +9 -11
  216. package/dist/select.js +3 -3
  217. package/dist/separator.js +1 -1
  218. package/dist/{sheet-CquRYOAw.js → sheet-tZMg0E0w.js} +5 -5
  219. package/dist/sheet.js +1 -1
  220. package/dist/{slider-DQ95MET2.js → slider-DVb4HXU-.js} +3 -3
  221. package/dist/slider.js +1 -1
  222. package/dist/sortable-list.js +3 -3
  223. package/dist/spa-view.d.ts +1 -0
  224. package/dist/spa-view.js +46 -0
  225. package/dist/styles/animations.css +33 -9
  226. package/dist/styles/border-progress.css +109 -0
  227. package/dist/styles/cards.css +76 -0
  228. package/dist/styles/components.css +1 -1
  229. package/dist/styles/critical-partition.mjs +140 -0
  230. package/dist/styles/critical.css +12 -0
  231. package/dist/styles/deferred.css +31 -0
  232. package/dist/styles/dock/density.css +45 -0
  233. package/dist/styles/dock/layers.css +54 -30
  234. package/dist/styles/dock/morph.css +124 -7
  235. package/dist/styles/dock/overflow.css +16 -2
  236. package/dist/styles/dock/shell.css +54 -16
  237. package/dist/styles/dock.css +32 -0
  238. package/dist/styles/drawer.css +81 -35
  239. package/dist/styles/glass/deep.css +44 -0
  240. package/dist/styles/glass/ladder.css +87 -31
  241. package/dist/styles/glass/material.css +78 -15
  242. package/dist/styles/glass/reveal.css +136 -0
  243. package/dist/styles/glass/rim.css +100 -0
  244. package/dist/styles/glass/surfaces.css +101 -3
  245. package/dist/styles/glass-refract.css +96 -44
  246. package/dist/styles/glass-specular-track.css +7 -0
  247. package/dist/styles/glass.css +3 -0
  248. package/dist/styles/hover-popover.css +7 -6
  249. package/dist/styles/icon-chip.css +77 -15
  250. package/dist/styles/index.css +21 -9
  251. package/dist/styles/instrument-chassis.css +66 -3
  252. package/dist/styles/scroll-choreography.css +300 -0
  253. package/dist/styles/segmented-tabs.css +31 -0
  254. package/dist/styles/theme/bridges.css +11 -0
  255. package/dist/styles/theme/literals.css +11 -2
  256. package/dist/styles/theme/radius.css +6 -1
  257. package/dist/styles/tokens/dark-arm.css +98 -26
  258. package/dist/styles/tokens/glass-deep.css +75 -0
  259. package/dist/styles/tokens/glass-fx.css +333 -0
  260. package/dist/styles/tokens/glass.css +39 -319
  261. package/dist/styles/tokens/light-dark.css +15 -2
  262. package/dist/styles/tokens/offsets.css +116 -0
  263. package/dist/styles/tokens/on-glass-fg.css +39 -0
  264. package/dist/styles/tokens/property-regs.css +127 -0
  265. package/dist/styles/tokens/scale-paper.css +117 -89
  266. package/dist/styles/tokens/scheme-motion.css +70 -32
  267. package/dist/styles/tokens/scroll-tokens.css +123 -0
  268. package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
  269. package/dist/styles/tokens.css +9 -3
  270. package/dist/styles/typography/semantic.css +8 -8
  271. package/dist/styles/typography/utilities.css +22 -7
  272. package/dist/styles/utilities/animate.css +27 -24
  273. package/dist/styles/utilities/base-misc.css +255 -0
  274. package/dist/styles/utilities/base.css +47 -261
  275. package/dist/styles/utilities/btn.css +3 -1
  276. package/dist/styles/utilities/metal.css +189 -0
  277. package/dist/styles/utilities.css +14 -7
  278. package/dist/switch.js +1 -1
  279. package/dist/tabs.js +220 -107
  280. package/dist/timeline.js +2 -2
  281. package/dist/toast.js +1 -1
  282. package/dist/toggle-group.js +1 -1
  283. package/dist/tooltip.js +1 -1
  284. package/dist/typewriter.js +1 -1
  285. package/dist/useCanvas2D-B8w_E3Rr.js +83 -0
  286. package/dist/useConfiguratorState-DNlOh6c8.js +161 -0
  287. package/dist/useDragMorph-DgxnsVJz.js +102 -0
  288. package/dist/useLiquidPress-kfb4KX79.js +39 -0
  289. package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
  290. package/dist/useSpring-C0jyvEJB.js +40 -0
  291. package/dist/useSpringMount-q1amq1SJ.js +71 -0
  292. package/dist/useSpringPress-BsqPr7FJ.js +34 -0
  293. package/dist/{useTouchGate-28Tk2-t2.js → useTouchGate-CBZTD4SD.js} +1 -1
  294. package/dist/vSpecular-CQFmLNzA.js +68 -0
  295. package/dist/vendor-CKmzio-i.js +226 -0
  296. package/dist/watercolor-dot.js +2 -2
  297. package/package.json +126 -22
  298. package/src/styles/animations.css +33 -9
  299. package/src/styles/border-progress.css +109 -0
  300. package/src/styles/cards.css +76 -0
  301. package/src/styles/critical-partition.mjs +140 -0
  302. package/src/styles/dock/density.css +45 -0
  303. package/src/styles/dock/layers.css +54 -30
  304. package/src/styles/dock/morph.css +124 -7
  305. package/src/styles/dock/overflow.css +16 -2
  306. package/src/styles/dock/shell.css +54 -16
  307. package/src/styles/dock.css +32 -0
  308. package/src/styles/drawer.css +81 -35
  309. package/src/styles/glass/deep.css +44 -0
  310. package/src/styles/glass/ladder.css +87 -31
  311. package/src/styles/glass/material.css +78 -15
  312. package/src/styles/glass/reveal.css +136 -0
  313. package/src/styles/glass/rim.css +100 -0
  314. package/src/styles/glass/surfaces.css +101 -3
  315. package/src/styles/glass-refract.css +96 -44
  316. package/src/styles/glass-specular-track.css +7 -0
  317. package/src/styles/glass.css +3 -0
  318. package/src/styles/hover-popover.css +7 -6
  319. package/src/styles/icon-chip.css +77 -15
  320. package/src/styles/index.css +12 -0
  321. package/src/styles/instrument-chassis.css +66 -3
  322. package/src/styles/scroll-choreography.css +300 -0
  323. package/src/styles/segmented-tabs.css +31 -0
  324. package/src/styles/theme/bridges.css +11 -0
  325. package/src/styles/theme/literals.css +11 -2
  326. package/src/styles/theme/radius.css +6 -1
  327. package/src/styles/tokens/dark-arm.css +98 -26
  328. package/src/styles/tokens/glass-deep.css +75 -0
  329. package/src/styles/tokens/glass-fx.css +333 -0
  330. package/src/styles/tokens/glass.css +39 -319
  331. package/src/styles/tokens/light-dark.css +15 -2
  332. package/src/styles/tokens/offsets.css +116 -0
  333. package/src/styles/tokens/on-glass-fg.css +39 -0
  334. package/src/styles/tokens/property-regs.css +127 -0
  335. package/src/styles/tokens/scale-paper.css +117 -89
  336. package/src/styles/tokens/scheme-motion.css +70 -32
  337. package/src/styles/tokens/scroll-tokens.css +123 -0
  338. package/src/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
  339. package/src/styles/tokens.css +9 -3
  340. package/src/styles/typography/semantic.css +8 -8
  341. package/src/styles/typography/utilities.css +22 -7
  342. package/src/styles/utilities/animate.css +27 -24
  343. package/src/styles/utilities/base-misc.css +255 -0
  344. package/src/styles/utilities/base.css +47 -261
  345. package/src/styles/utilities/btn.css +3 -1
  346. package/src/styles/utilities/metal.css +189 -0
  347. package/src/styles/utilities.css +14 -7
  348. package/dist/CardAction-XH4YBVEK.js +0 -158
  349. package/dist/Notification-DKjKsQq8.js +0 -100
  350. package/dist/NumberFieldContent-1VtwDSgf.js +0 -145
  351. package/dist/Toaster-Bm_HQSpc.js +0 -263
  352. package/dist/check-njhk-vfu.js +0 -7
  353. package/dist/chevron-down-DKkxb4VV.js +0 -7
  354. package/dist/chevron-right-CPXbqQQz.js +0 -7
  355. package/dist/chevron-up-n_24SqI-.js +0 -7
  356. package/dist/createLucideIcon-DydS2qgk.js +0 -43
  357. package/dist/minimize-2-BV31Ob_h.js +0 -38
  358. package/dist/search-BSGrf2Sk.js +0 -12
  359. package/dist/useCanvas2D-ClrQuZtp.js +0 -96
  360. package/dist/useConfiguratorState-kiIlun8I.js +0 -303
  361. package/dist/useSpecularTracking-Bo5su68i.js +0 -32
  362. package/dist/useSpringMount-CvopqiFr.js +0 -108
  363. package/dist/useViewTransition-COsPjQVZ.js +0 -47
  364. package/dist/x-BUwTKe50.js +0 -10
  365. /package/dist/{CollapsibleContent-C_s6fG7r.js → CollapsibleContent-68dEXIAl.js} +0 -0
  366. /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
  367. /package/dist/{Label-Ck9SWEKM.js → Label-C2ejNWeC.js} +0 -0
  368. /package/dist/{ModalOverlay-CkPRRgl_.js → ModalOverlay-D1VrWyoi.js} +0 -0
  369. /package/dist/{PaperBackdrop-nBKe0vkB.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
  370. /package/dist/{SelectGroup-Dcczq44n.js → SelectGroup-DwwjicPY.js} +0 -0
  371. /package/dist/{SelectSeparator-DK2y1Bun.js → SelectSeparator-DXswVdRz.js} +0 -0
  372. /package/dist/{Separator-BArl4OaB.js → Separator-pKF0oA4M.js} +0 -0
  373. /package/dist/{Switch-Dr--uLGH.js → Switch-CwYNf8bo.js} +0 -0
  374. /package/dist/{_plugin-vue_export-helper-CBt_VvXa.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
  375. /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
  376. /package/dist/{createContext-B2RaZ-b8.js → createContext-CpBNTRMI.js} +0 -0
  377. /package/dist/{math-DeuJwLFx.js → math-BINYmg5z.js} +0 -0
  378. /package/dist/{menuItemVariants-DWRQXBxJ.js → menuItemVariants-D8VNHq22.js} +0 -0
  379. /package/dist/{prng-Cg22zv8g.js → prng-Za0Rmgag.js} +0 -0
  380. /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
  381. /package/dist/{springPresets-WXaLbu8u.js → springPresets-CFQGQfdl.js} +0 -0
  382. /package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-BfUq2bUM.js} +0 -0
  383. /package/dist/{useInterval-CNdua40W.js → useInterval-CvK1mL92.js} +0 -0
  384. /package/dist/{useLiquidFlex-C12hXwOZ.js → useLiquidFlex-mZPMiNXh.js} +0 -0
  385. /package/dist/{useRAFLoop-CdwJ7284.js → useRAFLoop-UYa4zoiN.js} +0 -0
  386. /package/dist/{useResizeObserver-V6nq5gJb.js → useResizeObserver-Bpoi7tRE.js} +0 -0
  387. /package/dist/{useResolveTokenColor-NUG2zYAW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
  388. /package/dist/{useSortable-BVqlJRBR.js → useSortable-DHjtZSEd.js} +0 -0
  389. /package/dist/{useSurfaceAxis-CMnF2zHb.js → useSurfaceAxis-g0NloYEF.js} +0 -0
  390. /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-CWEi25hf.js} +0 -0
  391. /package/dist/{useTimer-B_PAasDL.js → useTimer-BHJOKr35.js} +0 -0
  392. /package/dist/{useUserInvalidAria-CDfJuakL.js → useUserInvalidAria-y5namzeE.js} +0 -0
  393. /package/dist/{useViewportReady-CvBcCYDf.js → useViewportReady-anbac3m6.js} +0 -0
  394. /package/dist/{vReveal-D9k0jADx.js → vReveal-Czsb7zQC.js} +0 -0
@@ -1,7 +1,13 @@
1
1
  /* tokens/glass.css
2
- §8 glassmorphism — the five-tier surface ladder (bg/blur/border/shadow rungs + the glass-level + tint axes).
2
+ §8 glassmorphism — the five-tier surface ladder (opacity/blur/saturate rungs +
3
+ composed bg/border) + the --glass-level axis + the control-REST register.
3
4
  Carved from the tokens.css cascade root; @import-ed by tokens.css in
4
- cascade order. Same :root cascade context as its siblings. */
5
+ cascade order. Same :root cascade context as its siblings. The decorative/fx
6
+ tail (grain/specular/edge-light + the adaptive tint-source/backdrop-luma bucket +
7
+ fringe/curvature/chart-palette + the per-tier shadow/spine/under-shadow/overlay-
8
+ scrim) carved to tokens/glass-fx.css at BB.W-CARVE4 — @import-ed IMMEDIATELY AFTER
9
+ this partial so the two adjacent same-selector :root{} blocks resolve identically
10
+ (the dist is byte-isomorphic). */
5
11
  :root {
6
12
  /* ═══════════════════════════════════════════════
7
13
  §8 GLASSMORPHISM — Five-tier surface ladder (v0.8.0)
@@ -18,7 +24,33 @@
18
24
  breaking change. R3-spec §A.
19
25
  ═══════════════════════════════════════════════ */
20
26
 
21
- /* Opacity primitives */
27
+ /* ── Per-tier alpha — the CANONICAL named opacity register (BB.W-CARD-TIER-ALPHA) ──
28
+ Each `--glass-opacity-{tier}` IS the library's canonical alpha for that tier —
29
+ a NAMED, documented input to the ONE compose recipe below, NOT a magic number
30
+ a consumer re-pins. The values here are the library IDENTITY: the warm-cream
31
+ glass ladder, alpha-monotonic (wash < quiet < resting < floating < overlay), with
32
+ the dock (0.42) + chassis (0.28) carrying their own footprint-calibrated rungs.
33
+ The dark arm (tokens/dark-arm.css) lifts each ~0.08 for read-weight over the
34
+ deeper canvas — the SAME named tokens, per-mode (the plain per-mode pair idiom).
35
+
36
+ A consumer that wants the LIBRARY register reads these named tokens (or composes
37
+ a `<Card tier>` rung) and re-pins NOTHING; a consumer whose surface needs a
38
+ divergent composited luminance (the speedtest dark-AA register: instrument 0.72 /
39
+ document 0.78) keeps that as a NAMED preset IN ITS OWN repo (presets-in-consumers)
40
+ — the library default is its identity, the consumer preset is the consumer's.
41
+
42
+ THE SUBSTITUTION-VS-INHERITANCE SEAM (the recurring trap, recorded). The composed
43
+ `--glass-bg-{tier}` below is declared HERE at `:root`, so a custom-property
44
+ substitution resolves at THIS element — overriding `--glass-opacity-{tier}` on a
45
+ DESCENDANT does NOT re-compose the inherited `--glass-bg-{tier}` (the value is
46
+ already resolved). A consumer that needs a per-scope tier alpha therefore RE-DECLARES
47
+ the composed `--glass-bg-{tier}` on the scope (the same recipe, the pinned alpha) —
48
+ the documented retune path, mirroring the dock's own `--glass-bg-dock` self-re-point.
49
+ The named alpha is the canonical INPUT; the per-scope `--glass-bg-*` re-declaration is
50
+ the sanctioned consumer pin. (The `--glass-level` recipe MECHANISM below is the
51
+ AX.W54 seam — UNTOUCHED by this register; this canonicalizes the alpha INPUTS only.)
52
+ Machine-locked by `proof:card-tier-alpha`. */
53
+ /* Opacity primitives — the per-tier canonical alpha (light arm). */
22
54
  --glass-opacity-wash: 0.30;
23
55
  --glass-opacity-quiet: 0.50;
24
56
  --glass-opacity-resting: 0.65;
@@ -163,7 +195,6 @@
163
195
  --glass-border-overlay: color-mix(in srgb, var(--foreground) 22%, transparent);
164
196
  --glass-border-dock: color-mix(in srgb, var(--foreground) 14%, transparent);
165
197
  --glass-border: var(--glass-border-quiet);
166
- --glass-border-strong: var(--glass-border-floating);
167
198
 
168
199
  /* ── The control REST register (BA.W-SURFACE-AXIS scope 7) ────────────────
169
200
  ONE shared resting surface for the FORM family — Input/Textarea/Select/
@@ -182,319 +213,8 @@
182
213
  --control-surface-blur: var(--glass-blur-quiet);
183
214
  --control-surface-bg-hover: color-mix(in oklab, var(--glass-bg-quiet), var(--glass-bg-resting) 35%);
184
215
 
185
- /* Shared decorative. Light grain dropped 0.035 → 0.025 in P.W1.B —
186
- at the chassis scale the original alpha read as crawl over the new
187
- lower-alpha chassis bg; the grain's role is texture, not reading,
188
- so it sits at the perceptual floor. Dark companion drops 0.06 →
189
- 0.045 below to keep the soft-light blend alive without stippling. */
190
- --glass-grain-opacity: 0.025;
191
- /* BA.W-GLASS-CAL — `--glass-grain-opacity-disco` (0.08) DELETED with the disco
192
- recipe retirement (H2a): no surviving consumer once `btn-audacious` + the
193
- dock-tab primary phase-grain collapse onto the calm glass register. */
194
- --glass-highlight: inset 0 0.5px 0 0 hsl(0 0% 100% / 0.25);
195
-
196
- /* Hairline-accent — 0.5px catch-light + under-shadow pair.
197
- Single token composes the canonical 2-stop hairline used by dock,
198
- instrument-chassis. The `.hairline-accent` utility
199
- (utilities.css §hairline) adopts these via `box-shadow:`. */
200
- --hairline-catch-light: inset 0 0.5px 0 0 rgb(255 255 255 / 0.06);
201
- --hairline-under-shadow: 0 0.5px 0 0 rgb(0 0 0 / 0.04);
202
- --border-hairline: var(--hairline-catch-light), var(--hairline-under-shadow);
203
-
204
- /* Specular catch-light — 1.5px-tall top-edge highlight that swaps in for
205
- --glass-highlight on interactive moments (e.g. primary-action hover).
206
- Reads as a real catch-light on a curved surface. The `-dark` companion
207
- is overridden inside `.dark`; the named token here is the explicit
208
- handle consumers can reference to compose dark-aware layers. */
209
- --glass-specular: inset 0 1.5px 0 0 hsl(0 0% 100% / 0.45);
210
- --glass-specular-dark: inset 0 1.5px 0 0 hsl(0 0% 100% / 0.30);
211
-
212
- /* AV.W15 M3 — Full-perimeter rim light (the "rim that defines the
213
- silhouette", WWDC25 sess. 219). Distinct from the top-only
214
- `--glass-highlight` (a 0.5px top-edge catch-light): this is a 0.75px
215
- inset ring around the WHOLE silhouette, four edges, reading as the
216
- catch-light that wraps the glass plate the way iOS-26 Liquid Glass
217
- carries a rim, not just a top highlight. Composed as a SECOND inset
218
- box-shadow layer alongside `--glass-highlight` on the floating/dock
219
- tiers (glass.css wires it). The alpha is deliberately low (0.18 light
220
- / 0.10 dark) — the rim is decoration and must not eat AA legibility
221
- over a busy backdrop; it sits below the perceptual reading threshold
222
- on text. The `-dark` companion is overridden inside `.dark` mirroring
223
- the `--glass-specular-dark` precedent. */
224
- --glass-edge-light: inset 0 0 0 0.75px hsl(0 0% 100% / 0.18);
225
- /* BA.W-DARK-MATERIAL scope 2 — the dark edge/rim is the PRIMARY silhouette device in
226
- dark. The light register's fill+shadow carry the plate; in dark the fill barely
227
- separates (the deep page is near-black), so the EDGE + the transmitted glow carry the
228
- silhouette — two registers, one design language. HEAD α 0.10 sits below the reading
229
- threshold over the deep canvas; lifted to 0.22 so the rim DEFINES the plate (the
230
- WWDC25 "rim that defines the silhouette" device, dialed up for the dark substrate). */
231
- --glass-edge-light-dark: inset 0 0 0 0.75px hsl(0 0% 100% / 0.22);
232
-
233
- /* AW.W23 — content-aware adaptive tint (the Baseline-2025 "tint informed by
234
- surrounding content" axis, WWDC25 sess. 219). A surface can tint toward a
235
- consumer-provided dominant backdrop color via a `color-mix(in oklab, …)`
236
- recipe (oklab is the mwg-preferred space for tint generation; NEVER a
237
- lightness-shift in `oklch(from …)` — browsers don't gamut-map yet).
238
-
239
- DEFAULT is zero delta: `--glass-tint-source` is the warm-white card itself
240
- and `--glass-tint-strength` is 0%, so the rung background mixes 0% toward
241
- the source = byte-identical to today. A consumer sets `--glass-tint-source`
242
- to a sampled aurora hue + a strength ≤30% to bias the surface. Alpha-safe:
243
- the mix is bounded ≤30% and never re-points the card's own alpha.
244
-
245
- AX.W55 — the DEFAULTS stay `var(--card)`/`0%` (the zero-delta rest state).
246
- The backdrop-luminance probe (`--glass-backdrop`, below) is what OVERRIDES
247
- them under a bright backdrop; the `:root` defaults are NEVER touched — the
248
- bucket blocks (glass.css / dock.css `@container style(--glass-backdrop:
249
- light)`) do the lift, so a surface over today's rich/dark background reads
250
- byte-identical. */
251
- --glass-tint-source: var(--card);
252
- --glass-tint-strength: 0%;
253
-
254
- /* AX.W55 — adaptive glass legibility (the iOS-26/27 "locally darken the glass
255
- over light content" move; G2). There is NO web API that reads the pixels
256
- painted BEHIND a `backdrop-filter` element, so the backdrop-luminance signal
257
- is a DECLARATIVE BUCKET a consumer sets where it KNOWS the backdrop is bright
258
- (a near-white card surface, a pale aurora bleed, a bright data grid). It is
259
- read by the `@container style(--glass-backdrop: light)` blocks on every glass
260
- family (the shipped density-cascade mechanism — utilities.css §density) which
261
- lift `--glass-tint-strength` toward the AA floor + re-point `--glass-tint-
262
- source` to the warm-ink below, mixing the rung TOWARD ink via the EXISTING
263
- `color-mix(in oklab)` seam — ZERO new compositing seam.
264
-
265
- --glass-backdrop: the bucket. `dark` (or unset) = today's zero-delta;
266
- `light` engages the bright-bucket darken. An
267
- INHERITING ident set on any ancestor reaches every
268
- descendant glass surface (the @container read).
269
- --glass-backdrop-luma: the numeric escape hatch — a sampled backdrop
270
- relative-luminance (0..1) a heavier JS observer sets
271
- when the declarative bucket is too coarse. The TOKEN
272
- is minted (the cascade reads it if set); the OBSERVER
273
- that sets it stays demo-private until a 2nd consumer
274
- arrives (the no-overfitting bar — the DEFAULT path is
275
- the declarative bucket, not a speculative sampler).
276
- --glass-tint-ink: the LOW-LUMINANCE warm-ink the bright bucket re-points
277
- `--glass-tint-source` to — the warm dark `--foreground`
278
- family (NOT white; a lightener over light content is
279
- exactly the W52-fixed wrong direction). It auto-flips
280
- with `--foreground` (dark-mode it resolves the light
281
- warm ink — but the bright-backdrop case is a light-mode
282
- concern). Overridable like every magnitude here.
283
-
284
- The bright-bucket `--glass-tint-strength` is clamped to a BOUNDED AA-clearing
285
- floor — `--glass-tint-strength-aa` (≤24%, the iOS clamp; the lowest value that
286
- clears 4.5:1 over synthetic white, capped LOW so the surface STAYS translucent,
287
- "let as much content through as possible"). Recorded here as the ceiling the
288
- bucket blocks drive to; the live 4.5:1 readback (proof:adaptive-glass π arm)
289
- ratifies the exact value. */
290
- --glass-backdrop: dark;
291
- --glass-backdrop-luma: ;
292
- --glass-tint-ink: var(--foreground);
293
- /* AZ.W-ADAPTIVE-AUTO Arm 1 — recalibrated 18% → 20%. The bump strengthens the
294
- G2 surface-SILHOUETTE darken (ΔL ≈ 0.40 over synthetic white, the plate is
295
- distinguishable from a bright page behind) while staying bounded ≤ 24% (the
296
- iOS clamp — the surface STAYS translucent, "let content through"). The body
297
- register over the engaged plate is the full warm-ink `--foreground` (~10.6:1
298
- over white at 20%) — the muted L40 tier is lifted to the full ink by the
299
- self-engage rules (it cannot clear 4.5:1 on a translucent darkened plate;
300
- darkening moves the plate toward muted's own luminance). The shipped overlay-
301
- band engaged appearance re-ratifies at the new floor: `--foreground` reads
302
- ~10.6–10.9:1 (within the ~11:1 ratified register — the bump is a silhouette
303
- strengthening, not a silent re-tint below AA). The live π readback ratifies. */
304
- --glass-tint-strength-aa: 20%;
305
-
306
- /* BA.W-DARK-MATERIAL scope 7 — the calm-light recalibration (R9-1; the slides gray-slab
307
- fix). The AZ unconditional content-tier self-engage applied the full 20% AA darken to
308
- EVERY .glass-card/.glass-resting/.glass-quiet/.glass-wash mode- and backdrop-agnostically
309
- — over a plain LIGHT page (not a bright/busy backdrop) the 20% warm-ink darken + the
310
- muted→ink lift composited the translucent cream card into a flat gray slab (the slides
311
- presenter card: 20% → oklab(0.785) gray). The recalibration: the FULL AA darken is now
312
- gated on the declared/sampled bright signal (the @container --glass-backdrop:light bucket /
313
- the observer); the UNCONDITIONAL content-tier floor drops to this sub-perceptual SILHOUETTE
314
- tint — just enough edge over a busy backdrop without graying a calm-light card (the
315
- calm-light plate stays warm, L ≈ 0.94 at the slides-equivalent fixture). The overlay band
316
- (.glass-floating/.glass-overlay) keeps the FULL unconditional darken (floating over an
317
- UNKNOWN consumer surface, darkening is the correct default). A consumer opts out on a
318
- light-page ancestor via --glass-tint-strength: 0%. Bounded > 0%, ≤ 10%. The DARK arm
319
- re-tunes --glass-tint-strength-aa directly (dark-arm.css scope 3) — the luminous-dark lift
320
- is the desired default there, NOT a sub-perceptual floor, so the floor is a light-mode knob. */
321
- --glass-tint-strength-floor: 4%;
322
-
323
- /* R5-7 — the VEIL text-plate feather. The `veil-surface` decoration
324
- (cards.css) paints a borderless/rimless translucent glass plate as a LOCAL
325
- text-legibility surface over a busy backdrop; its `--veil-feather` axis is
326
- an OPTIONAL `mask-image` that fades the plate edges into the page (the
327
- soft-edged "bleed" the slides deck text plates use). The default is `none`
328
- (a clean rectangle); a consumer opts into the feather by pointing
329
- `--veil-feather` at this ready-made radial, or any `mask-image` value.
330
- The 70%→100% falloff feathers the outer ~30% of the plate; override the
331
- token to retune the fade radius library-wide. */
332
- --veil-feather-radial: radial-gradient(
333
- ellipse 100% 100% at 50% 50%,
334
- black 0%,
335
- black 70%,
336
- transparent 100%
337
- );
338
-
339
- /* AW.W23 — chromatic edge dispersion (the "polished glass" rim fringe Apple
340
- shows). A warm fringe on one edge + a cool fringe on the other, low-alpha,
341
- biased warm-cream/NCSU-red (NOT iOS-blue). Composed OVER the W22 uniform
342
- rim under `prefers-reduced-transparency: no-preference`; dropped under
343
- `reduce` (it is a transparency garnish). The two directional inset rings
344
- read as light refracting through the glass edge. */
345
- --glass-fringe-warm: oklch(0.92 0.06 40 / 0.22);
346
- --glass-fringe-cool: oklch(0.90 0.05 230 / 0.16);
347
- --glass-edge-dispersion:
348
- inset 0.75px 0 0 0 var(--glass-fringe-warm),
349
- inset -0.75px 0 0 0 var(--glass-fringe-cool);
350
-
351
- /* AX.W52 D19 — the moving-specular gleam radius (glass.css `.glass-material::
352
- before`). The ONE knob that BOUNDS the gleam geometry as a percentage of the
353
- plate so it can NEVER again become a whole-surface disc (the prior implicit
354
- `circle at …` ran its stops to 55–75% of the half-diagonal — a wash on a
355
- small tile). 36% reads as a tracked edge glint. Override on `:root` to retune
356
- library-wide; a per-surface override clips the gleam tighter/wider. */
357
- --glass-specular-size: 36%;
358
-
359
- /* Chassis curvature illusion — a subtle radial gradient at the chassis
360
- top centre that lifts the surface without committing to literal 3D.
361
- Composed into <InstrumentChassis>'s background stack. AX.W52 D19 — the
362
- prior pure-white `hsl(0 0% 100% / 0.06)` reaching `transparent 60%` was a
363
- broad top-centre WASH (the #1 fixed-anchor rest-bloom culprit). Re-derived
364
- onto the warm-cream house identity (`hsl(40 30% 96%)`, L < 100% so the warm
365
- hue survives — mirroring the moving gleam), the alpha routed through the
366
- SINGLE overridable `--glass-curvature-intensity` knob (0.02 default, a third
367
- of the old 0.06), and the ellipse tightened to `transparent 38%` so it reads
368
- as a thin top-edge sheen, not a central wash. */
369
- --glass-curvature-intensity: 0.02;
370
- --glass-curvature-overlay: radial-gradient(
371
- ellipse at 50% -20%,
372
- hsl(40 30% 96% / var(--glass-curvature-intensity)),
373
- transparent 38%
374
- );
375
- /* The light-arm dark alias kept on the same warm-cream + token recipe so a
376
- non-`.dark` consumer reading `…-overlay-dark` still resolves a softened
377
- sheen; the `.dark` block below lowers `--glass-curvature-intensity` so the
378
- deep-canvas arm is genuinely softer (the prior byte-identical dark arm read
379
- HARDER over the dark canvas). */
380
- --glass-curvature-overlay-dark: var(--glass-curvature-overlay);
381
-
382
- /* Chart palette aliases — speedtest et al. read these for phase tinting.
383
- Defaults map to viz-basis hues; consumers can override per app. */
384
- --chart-ping: var(--viz-chebyshev);
385
- --chart-download: var(--viz-fourier);
386
- --chart-upload: var(--viz-amber);
387
- --chart-jitter: var(--viz-legendre);
388
-
389
- /* O.W6 Lane D — WCAG companion `--chart-{phase}-label` tokens
390
- (speedtest AC.W6c.T2 — F1.V-04 closure).
391
-
392
- The canvas-side hues above preserve their saturated brand register
393
- (correct against the meter dial); the COMPANION tokens darken to
394
- L≈0.40 so phase-label text on `--background` clears the WCAG 2.1
395
- AA-body 4.5:1 contrast floor. Mirrors the two-token discipline
396
- already established by `--meter-{background-color,track-stroke}`:
397
- one token feeds the canvas/visual, the second feeds the label
398
- text.
399
-
400
- Light-mode L≈0.40 in OKLCH preserves the hue rotation while
401
- dropping luminance enough for body contrast; dark-mode flips to
402
- L≈0.85 against the dark canvas. Consumers reach these via
403
- `color: var(--chart-ping-label)` (etc.) on label elements ONLY —
404
- chart strokes/fills continue to read `--chart-ping`. */
405
- --chart-ping-label: oklch(0.40 0.18 230);
406
- --chart-download-label: oklch(0.40 0.20 22);
407
- --chart-upload-label: oklch(0.40 0.16 55);
408
- --chart-jitter-label: oklch(0.40 0.20 305);
409
-
410
- /* O.W6 Lane D — Meter track stroke (speedtest AC.W6c.T3 — F1.V-02
411
- closure). Promoted from speedtest's consumer-side declaration so
412
- glass-ui owns the canonical light + dark values. The light-mode
413
- value reads opaque foreground (composes through canvas
414
- `globalAlpha` in consumer renderers; e.g., speedtest's `rings.ts`
415
- `globalAlpha = 0.22` lands the phantom-track at the perceptual
416
- sweet-spot). The dark-mode companion lives under `.dark` below
417
- and ALSO reads `var(--foreground)` — the prior speedtest value
418
- `var(--background)` rendered bg-on-bg invisible at dark mode. */
419
- --meter-track-stroke: var(--foreground);
420
-
421
- /* Shadow per tier — complete box-shadow lists for glass surface classes */
422
- --glass-shadow-wash: var(--shadow-sm), var(--glass-highlight);
423
- --glass-shadow-quiet: var(--shadow-md), var(--glass-highlight);
424
- --glass-shadow-resting: var(--shadow-lg), var(--glass-highlight);
425
- --glass-shadow-floating: var(--shadow-xl),
426
- 0 0 0 0.5px color-mix(in srgb, var(--shadow-color) 5%, transparent),
427
- var(--glass-highlight);
428
- --glass-shadow-overlay: var(--shadow-2xl),
429
- 0 0 0 0.5px color-mix(in srgb, var(--shadow-color) 8%, transparent),
430
- var(--glass-highlight);
431
- --glass-shadow: var(--glass-shadow-quiet);
432
- --glass-shadow-lg: var(--glass-shadow-floating);
433
-
434
- /* ─────────────────────────────────────────────────────────────
435
- AL-W1-α augmented — SPINE 8th tier (HOUSING register)
436
-
437
- Closes the AK W2 chassis-spine architectural underclaim per
438
- AL-X5 §4.1. The spine register is a polished SLEEVE, not glass:
439
- NO backdrop-filter, NO plate opacity, hairline outer stroke,
440
- interior radial vignette that subtly carries the phase-color
441
- cascade. Consumed exclusively by `<InstrumentChassis variant="spine">`
442
- at App-level mount paths (quiet-content routes).
443
-
444
- The 4 tokens here cover the minimum viable substrate the SLIM
445
- Y4/Y6/Y7 retention set ratified. The 35 rejected axes (saturate
446
- band, edge-light per tier, depth-shadow per tier, tier-up macro)
447
- stay rejected per the conservative-creation mandate.
448
- ───────────────────────────────────────────────────────────── */
449
- --glass-spine-opacity: 0;
450
- --glass-spine-blur: 0px;
451
- --glass-spine-border: var(--surface-tint-8);
452
- --glass-spine-vignette: radial-gradient(
453
- ellipse at 50% 0%,
454
- color-mix(in oklab, var(--phase-color, var(--surface-tint-8)) 8%, transparent),
455
- transparent 60%
456
- );
457
-
458
- /* ─────────────────────────────────────────────────────────────
459
- AL-W10 SLIM — UNDER-SHADOW recipe rungs
460
-
461
- Per AL-X5 §4 + Y7 §3. iOS Liquid Glass surfaces carry a 0.5px
462
- dark hairline along the bottom edge (reads as under-shadow /
463
- glass thickness). The substrate `--hairline-under-shadow`
464
- already publishes one quiet rung; the four-rung ladder here
465
- names the SLIM retention set (Y4 §3.2 / Y6 §4.3) — `quiet`,
466
- `default`, `vivid`, `spine` cover the consumer landings without
467
- multiplying tokens per tier. The 3 hand-rolled literals at
468
- `instrument-chassis.css:52`, `dock.css:279`, `dock.css:952`
469
- retire to these.
470
-
471
- Composes as a NON-INSET box-shadow layer alongside the existing
472
- `--glass-shadow-*` recipe (the inset under-shadow stays at the
473
- hand-rolled literal where it's load-bearing on chassis-internal
474
- surfaces).
475
- ───────────────────────────────────────────────────────────── */
476
- --glass-under-shadow-quiet: 0 2px 8px -1px oklch(0 0 0 / 0.04);
477
- --glass-under-shadow-default: 0 4px 16px -2px oklch(0 0 0 / 0.08);
478
- --glass-under-shadow-vivid: 0 8px 32px -4px oklch(0 0 0 / 0.12);
479
- --glass-under-shadow-spine: 0 1px 0 0 oklch(0 0 0 / 0.06);
480
-
481
- /* Overlay scrim rungs — substrate-aware modal/dialog backdrop tints.
482
- Three weights cover the deployed range: dialog-scroll (subtle),
483
- canonical modal (default), drawer/full-cover (strong).
484
-
485
- AY.W-PRIM-POLISH D3 — the scrim is its OWN identity token, NOT derived
486
- from `--shadow-color`. A scrim's role is to RECEDE: it must pin to INK in
487
- BOTH modes. The cartoon-shadow family rides `--shadow-color: var(--foreground)`
488
- (correct — a shadow re-tints under `.dark` by construction), but a scrim
489
- that does the same FLOODS the dark room with a cream fog (the old dark
490
- overlay painted `srgb(0.91… / 0.5)`, a near-white wash that BRIGHTENED the
491
- page at the modal moment). `--overlay-scrim-ink` is a fixed warm near-black
492
- (the light-mode `--foreground` value), re-resolved verbatim in `.dark` so
493
- the scrim recedes in both modes. Clean break, no alias (no-backwards-compat).
494
- The `--shadow-color` / `--shadow-cartoon-*` family is UNTOUCHED. */
495
- --overlay-scrim-ink: hsl(24 10% 10%);
496
- --overlay-scrim: color-mix(in srgb, var(--overlay-scrim-ink) 50%, transparent);
497
- --overlay-scrim-strong: color-mix(in srgb, var(--overlay-scrim-ink) 80%, transparent);
498
- --overlay-scrim-subtle: color-mix(in srgb, var(--overlay-scrim-ink) 40%, transparent);
499
-
216
+ /* The decorative/fx tail (grain/specular/edge-light + the adaptive tint-source/
217
+ backdrop-luma bucket + fringe/curvature/chart-palette + per-tier shadow/spine/
218
+ under-shadow/overlay-scrim) lives in tokens/glass-fx.css (carved at BB.W-CARVE4
219
+ — the next adjacent :root{} block in the cascade). */
500
220
  }
@@ -88,8 +88,11 @@
88
88
  --neutral-5: light-dark(hsl(30 22% 40%), hsl(34 14% 62%));
89
89
  --neutral-6: light-dark(hsl(28 24% 30%), hsl(36 14% 72%));
90
90
 
91
- /* Core surfaces + ink */
92
- --foreground: light-dark(hsl(24 10% 10%), hsl(48 10% 90%));
91
+ /* Core surfaces + ink. BB.W-DARK-INK-WARM — the DARK arg warmed off the H95.1°
92
+ yellow-green hsl(48 10% 90%) onto the no-gray identity hsl(30 14% 90%) (OKLab
93
+ H75.4°, L held) in LOCKSTEP with the .dark fallback floor (dark-arm.css:60). The
94
+ LIGHT arg hsl(24 10% 10%) is already the warm-amber identity (H56°) — untouched. */
95
+ --foreground: light-dark(hsl(24 10% 10%), hsl(30 14% 90%));
93
96
  /* BA.W-DARK-MATERIAL scope 1 — the dark --card plate LIFTS L10→L16 (LOCKSTEP
94
97
  dark-arm.css:51); the public-data panel re-anchors L12→L18 to stay above it.
95
98
  BA.W-NO-GRAY L1 — the LIGHT arm DECOUPLES off the near-achromatic page onto the
@@ -183,5 +186,15 @@
183
186
  --silver: light-dark(oklch(0.760 0.012 255), oklch(0.792 0.012 255));
184
187
  --silver-light: light-dark(oklch(0.902 0.010 255), oklch(0.912 0.010 255));
185
188
  --silver-dark: light-dark(oklch(0.582 0.014 255), oklch(0.648 0.014 255));
189
+
190
+ /* Bronze family (BB.W-METAL-SHIMMER) — the `light-dark()` arm mirroring
191
+ gold's exact shape: light value, dark-lifted value (~+0.03 L so the warm
192
+ metal reads on the deep canvas). The third brand metal (warm-brown ~54°,
193
+ chroma above the W-NO-GRAY floor). `--bronze-deep` is mode-invariant —
194
+ not a `light-dark()` pair, exactly as `--gold-deep`/`--silver-deep` are
195
+ omitted from this block. */
196
+ --bronze: light-dark(oklch(0.620 0.092 54.0), oklch(0.650 0.090 54.0));
197
+ --bronze-light: light-dark(oklch(0.760 0.112 60.0), oklch(0.790 0.110 60.0));
198
+ --bronze-dark: light-dark(oklch(0.500 0.082 50.0), oklch(0.560 0.085 50.0));
186
199
  }
187
200
  }
@@ -0,0 +1,116 @@
1
+ /* tokens/offsets.css
2
+ §9 animation offsets — hover-lift offsets, the layout tokens, the public
3
+ --fade-scroll-width ramp, the dock content-overflow caps, the chassis
4
+ max-block-size/mobile dial-reserve, the popover width, the panel inner-padding
5
+ rung, the chart geometry.
6
+ Carved (BB.W-CARVE3) from the former tokens/offsets-sizing.css §9/§10 split;
7
+ @import-ed by tokens.css at offsets-sizing's old cascade slot, immediately
8
+ before sizing.css — adjacent same-selector :root blocks resolve identically,
9
+ so the dist is byte-isomorphic. See docs/precepts/design-idioms.md
10
+ §cohesion-aware partials. */
11
+ :root {
12
+ /* ═══════════════════════════════════════════════
13
+ §9 ANIMATION OFFSETS
14
+ ═══════════════════════════════════════════════ */
15
+ /* Hover lift offsets */
16
+ --lift-sm: -1px;
17
+ --lift-md: -2px;
18
+ --lift-lg: -4px;
19
+
20
+ /* Layout tokens */
21
+ /* BA.W-FADING-SCROLL — `--fade-scroll-width` is the public edge-fade ramp
22
+ width knob for `<FadingScroll>` (inheriting, retunable on any ancestor).
23
+ It superseded the scroll-BLIND `.scroll-fade-*` static masks' knob
24
+ `--mask-fade-width`, which retired in a CLEAN BREAK (no alias) at the
25
+ 4.1.0 cut — BB.W-SCROLL-FADE-RETIRE — alongside the static utilities. */
26
+ --fade-scroll-width: 1rem;
27
+ /* J.W3.C — dock content overflow caps. When dock content exceeds
28
+ these dimensions, the inner `.dock-layers` (horizontal) /
29
+ `.glass-dock.vertical` (rail) container scrolls with a
30
+ `.scroll-fade-{x,y}` mask-fade so the boundary feathers rather
31
+ than cliffs. Defaults clamp to 80vw / 80vh capped at sensible
32
+ desktop widths; consumers override per-dock by setting either
33
+ token directly on a `.glass-dock` instance. User findings 1 + 5a. */
34
+ /* AX.W04 — `--dock-max-inline-size` is the canonical inline cap EVERY overflow
35
+ strategy reads: `overflow="scroll"` scrolls past it, and `overflow="wrap"`
36
+ wraps to N rows on the over-cap crossing (the dock shrink-wraps to content,
37
+ `max-inline-size` caps that intrinsic width at this token). The prior
38
+ `--dock-overflow-bp: 640px` viewport-breakpoint token (the magic-640
39
+ snap-back) is DELETED — the wrap is content-driven, not viewport-coupled, so
40
+ there is no breakpoint threshold to name. */
41
+ --dock-max-inline-size: min(80vw, 64rem);
42
+ --dock-max-block-size: min(80vh, 48rem);
43
+
44
+ /* AB.W1.T1 — chassis max-block-size guardrail.
45
+ Maximum block size a centred consumer-app card may consume while
46
+ preserving the inline dock footprint. The recipe subtracts the
47
+ consumer-owned `--dock-footer-space` (dock height + dock inset +
48
+ card-edge inset) and `--page-padding-top` from the dynamic viewport,
49
+ then takes one further rem of breathing room so the card never
50
+ butts the dock — the user mandate is `≥ 1rem visible gap above
51
+ dock`. Both consumer tokens carry safe fallbacks for callers that
52
+ have not declared them.
53
+
54
+ Consumers should shrink internal regions (meter, readout, timeline)
55
+ before falling back to scroll. This token is a guardrail against
56
+ chassis overflow, NOT a license to make the card scroll as the
57
+ default solution; clamp-first / no-scroll-first is the canon.
58
+ See DESIGN.md `## Chassis sizing — dock-adjusted viewport`. */
59
+ --chassis-max-block-size: calc(
60
+ 100dvh
61
+ - var(--dock-footer-space, 5.75rem)
62
+ - var(--page-padding-top, 0rem)
63
+ - 1rem
64
+ );
65
+ /* R0G-2 (AO.W3/W4) — chassis mobile dial-reserve canon. instrument-
66
+ chassis.css's mobile breakpoint reserves the dial's final box from
67
+ frame 0 via these vars (with the same values as inline fallbacks, the
68
+ safety net). Token-first home so the vars resolve canonically. */
69
+ --instrument-dial-min-height-mobile: 24rem;
70
+ --instrument-dial-meter-reserve-mobile: minmax(0, 1fr);
71
+ /* BB.W-DESKTOP-RESERVE (B3) — the chassis WIDE-AXIS (desktop) dial reserve
72
+ canon, the complement of the mobile rung above. The mobile reflow
73
+ reserves the dial box from frame 0 via the rung above; the WIDE box axis
74
+ had NO library reserve, so on desktop a `1fr` meter row collapsed to its
75
+ pre-hydration intrinsic `<canvas>` size and grew on hydration, pushing
76
+ the results card + dock down (the measured desktop-1440 CLS the speedtest
77
+ App.vue interim authored a local `min-block-size` to cure). This rung is
78
+ the library home: the dial cell reserves its settled height from frame 0
79
+ on the wide axis, so the inner card mounts into an already-correct
80
+ envelope (CLS≈0, no post-hydration growth).
81
+
82
+ The default IS `--chassis-max-block-size` — the library's own
83
+ chassis-sizing guardrail (the dock-adjusted dynamic-viewport budget a
84
+ centred consumer card clamps to), a pure CSS calc that resolves at first
85
+ paint with NO JS. This is the DESKTOP DIAL: a consumer whose meter is a
86
+ different block-size retunes THIS token (the speedtest-specific value
87
+ stays in speedtest — presets-in-consumers). A consumer deletes its local
88
+ App.vue wide-axis interim once it consumes this rung. Both knobs are CSS
89
+ custom properties (token-first), the inline fallback in
90
+ instrument-chassis.css carries the contract if the token is unset. */
91
+ --instrument-dial-min-block-size-desktop: var(--chassis-max-block-size);
92
+
93
+ --max-width-input: 24rem;
94
+ --input-min-width-sm: 5rem;
95
+ --min-width-input-sm: var(--input-min-width-sm);
96
+ /* AU.W8b.4 — canonical popover width (Combobox list + anchor). Lifts the
97
+ `w-[200px]` arbitrary-value wrap to the `w-popover` @theme utility. */
98
+ --popover-width: 200px;
99
+ /* AZ.R5-4 — the ONE panel inner-padding rung (the consumer-verified "the
100
+ popover/dropdown content reads TIGHT" finding). The floating-panel +
101
+ DropdownMenuContent recipes read THIS token for their inner pad instead of
102
+ the prior hand-set `p-1`/literal, so a consumer retunes every teleported
103
+ menu/panel surface from one override. The comfortable default is `0.375rem`
104
+ (a half-rung over the prior 0.25rem tight floor — comfortable both modes
105
+ without over-padding a dense menu list). BB.W-CARD-PAD — the dead
106
+ `--panel-padding-roomy` (1rem) is DELETED here (clean break, no alias): it
107
+ had ZERO `var(--panel-padding-roomy)` consumers (the prose-popover register
108
+ it claimed to back never read it — PopoverContent paints `p-4` directly), so
109
+ it was an orphan declaration the golden-padding cut prunes. */
110
+ --panel-padding: 0.375rem;
111
+ --chart-height-compact: 15rem;
112
+ --chart-height-default: 22.5rem;
113
+ --chart-height-large: 25rem;
114
+ --chart-margin: 1.25rem;
115
+ --paper-texture-size: 200px 200px;
116
+ }
@@ -0,0 +1,39 @@
1
+ /* tokens/on-glass-fg.css
2
+ The surface-aware FOREGROUND register (BB.W-ON-GLASS-FG — N13). Carved out of
3
+ tokens/glass.css to keep that partial under the no-god-module bound; @import-ed
4
+ by tokens.css in cascade order AFTER glass.css (the rungs derive against the
5
+ glass-bg-quiet composite, so they must resolve after the §8 ladder). Same :root
6
+ cascade context as its sibling token partials.
7
+
8
+ A THREE-RUNG on-glass family whose contrast TARGET is the COMPOSITED content-
9
+ tier glass FILL, not the canvas. The glass-first MAXIMAL default (AX.W54) makes
10
+ a caption/well/track rendering over a TRANSLUCENT content plate the common case;
11
+ --muted-foreground (= --neutral-5, "AA vs page") collapses on its OWN surface
12
+ (the speedtest ask measured 1.15-3.29:1 in dark theme — the "whisper collapse").
13
+
14
+ This is the THIRD state the BA adaptive-glass seam never expressed (the SAME
15
+ --glass-tint-* cascade context, NOT a fork): (a) bright/darkened plate → full
16
+ ink (the @container bright bucket + the overlay band, shipped — glass/ladder.css);
17
+ (b) opaque canvas → page-muted (--neutral-5, kept); (c) THIS — calm translucent
18
+ glass plate → a register BETWEEN page-muted and full-ink (legible-AND-subordinate;
19
+ a caption stays quieter than body ink WHILE clearing AA on the composited plate).
20
+
21
+ The values are DERIVED against the LIBRARY composite (--card over --neutral-0
22
+ through --glass-bg-quiet at --glass-tint-strength-floor), warm-amber (the BA.W-
23
+ NO-GRAY identity, OKLab gray floor cleared at the warm hue) — NOT copied from
24
+ the slides deck.css §1 reference (the deck's NC-State-red warm-cream literals
25
+ hsl(24 6% 44%)/hsl(45 12% 64%) are a CONSUMER divergence; the library re-derives).
26
+ NO ppmycota/demo hue. The page-muted register (--muted-foreground/-strong) is
27
+ UNTOUCHED — the on-glass rungs are NET-NEW; the glass/ladder.css calm-tier rule
28
+ re-points --muted-foreground → these on the engaged plate, no per-site edit.
29
+
30
+ PLAIN PER-MODE ARM idiom (light here, dark in tokens/dark-arm.css) — NOT
31
+ light-dark(): the house pattern every explicit-color token follows (a re-
32
+ resolution under .dark, not a single-declaration light-dark() that an inset-
33
+ shadow downstream could collapse — the light-dark() inset-shadow trap). */
34
+ :root {
35
+ --on-glass-muted: hsl(30 26% 35%); /* the muted caption rung over the composited cream plate (5.76:1 vs plate; darker than --neutral-5 L40) */
36
+ --on-glass-muted-strong: hsl(28 28% 28%); /* the -strong secondary rung, one step more present (7.79:1 vs plate) */
37
+ --input-on-glass: hsl(36 40% 92%); /* the form-well fill over glass — grounded warm so the input TEXT (--foreground) reads against a stable base (14.9:1) */
38
+ --progress-track-on-glass: hsl(34 24% 84%); /* the recessed meter track over glass — a warm channel distinct from the fill silhouette */
39
+ }