@mkbabb/glass-ui 3.13.0 → 4.0.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 (304) hide show
  1. package/dist/CardAction-XH4YBVEK.js +158 -0
  2. package/dist/{CommandShortcut-RowNEO6i.js → CommandShortcut-DdtWXxOK.js} +57 -52
  3. package/dist/{ContextMenuSubContent-BQmxTAdw.js → ContextMenuSubContent-B0Vs6atR.js} +1 -1
  4. package/dist/{DataTable-BCddn3T3.js → DataTable-C464Zbqd.js} +99 -97
  5. package/dist/DialogContent-DDE6pQBU.js +103 -0
  6. package/dist/{DialogFooter-Blu4t7tJ.js → DialogFooter-8eZbdmPc.js} +1 -1
  7. package/dist/FadingScroll-DwNnvKMs.js +76 -0
  8. package/dist/{HoverPopover-CISOJQuZ.js → HoverPopover-Dpzwvc4t.js} +1 -1
  9. package/dist/IconChip-BDw1j5mu.js +54 -0
  10. package/dist/{MetricBadge-C9QMz1KT.js → MetricBadge-BpC0R_Ec.js} +1 -1
  11. package/dist/{Notification-DdwNxIrI.js → Notification-DKjKsQq8.js} +8 -8
  12. package/dist/{NumberFieldContent-CqaN-SvN.js → NumberFieldContent-1VtwDSgf.js} +1 -1
  13. package/dist/PopoverContent-BTorlp--.js +127 -0
  14. package/dist/{Progress-DwlUKGbr.js → Progress-hAT4gqGH.js} +97 -77
  15. package/dist/{ScrollingText-DfFrwSph.js → ScrollingText-CUVFTWk2.js} +2 -2
  16. package/dist/{SelectScrollDownButton-CiDUxfEj.js → SelectScrollDownButton-C1jb3b3K.js} +22 -6
  17. package/dist/{Switch-CsIuYP_e.js → Switch-Dr--uLGH.js} +1 -1
  18. package/dist/{Toaster-D6q4HtXu.js → Toaster-Bm_HQSpc.js} +6 -6
  19. package/dist/{ToggleGroupItem-D_AHlRw9.js → ToggleGroupItem-Dzk9hWsF.js} +1 -1
  20. package/dist/animated-digit.js +2 -2
  21. package/dist/api/index.d.ts +8 -5
  22. package/dist/api.js +2 -2
  23. package/dist/aurora.js +132 -117
  24. package/dist/{button-ChXMfsud.js → button-BNDWhAZb.js} +2 -2
  25. package/dist/button.js +1 -1
  26. package/dist/card.js +1 -1
  27. package/dist/carousel.d.ts +1 -1
  28. package/dist/carousel.js +97 -141
  29. package/dist/collapsible.js +1 -1
  30. package/dist/color-swatch.d.ts +1 -0
  31. package/dist/color-swatch.js +47 -0
  32. package/dist/color.js +1 -1
  33. package/dist/command.js +1 -1
  34. package/dist/components/custom/aurora/constants/presets.d.ts +28 -0
  35. package/dist/components/custom/aurora/constants/renderMode.d.ts +2 -0
  36. package/dist/components/custom/aurora/index.d.ts +1 -1
  37. package/dist/components/custom/color-swatch/ColorSwatch.vue.d.ts +22 -0
  38. package/dist/components/custom/color-swatch/index.d.ts +1 -0
  39. package/dist/components/custom/configurator/Configurator.vue.d.ts +19 -8
  40. package/dist/components/custom/constellation/Constellation.vue.d.ts +18 -206
  41. package/dist/components/custom/constellation/composables/useConstellation.d.ts +26 -0
  42. package/dist/components/custom/constellation/constellationField.d.ts +2 -369
  43. package/dist/components/custom/constellation/constellationTypes.d.ts +369 -0
  44. package/dist/components/custom/constellation/index.d.ts +1 -1
  45. package/dist/components/custom/dock/DockRail.vue.d.ts +17 -16
  46. package/dist/components/custom/dock/DockSection.vue.d.ts +69 -0
  47. package/dist/components/custom/dock/DockSeparator.vue.d.ts +49 -1
  48. package/dist/components/custom/dock/DockTabButton.vue.d.ts +5 -5
  49. package/dist/components/custom/dock/constants.d.ts +35 -0
  50. package/dist/components/custom/dock/index.d.ts +2 -0
  51. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +10 -0
  52. package/dist/components/custom/fading-scroll/FadingScroll.vue.d.ts +25 -0
  53. package/dist/components/custom/fading-scroll/composables/useFadingScroll.d.ts +31 -0
  54. package/dist/components/custom/fading-scroll/constants.d.ts +19 -0
  55. package/dist/components/custom/fading-scroll/index.d.ts +2 -0
  56. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +7 -0
  57. package/dist/components/custom/fourier-field/index.d.ts +1 -1
  58. package/dist/components/custom/fourier-field/math.d.ts +17 -0
  59. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +8 -0
  60. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +11 -1
  61. package/dist/components/custom/goo-blob/constants.d.ts +6 -1
  62. package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
  63. package/dist/components/custom/handmark/brush.d.ts +269 -0
  64. package/dist/components/custom/handmark/composables/useHandMark.d.ts +89 -0
  65. package/dist/components/custom/handmark/constants.d.ts +39 -0
  66. package/dist/components/custom/handmark/freehand.d.ts +69 -0
  67. package/dist/components/custom/handmark/geometry.d.ts +52 -0
  68. package/dist/components/custom/handmark/index.d.ts +27 -0
  69. package/dist/components/custom/handmark/ink.d.ts +11 -0
  70. package/dist/components/custom/handmark/texture.d.ts +39 -0
  71. package/dist/components/custom/handmark/types.d.ts +62 -0
  72. package/dist/components/custom/icon-chip/IconChip.vue.d.ts +4 -0
  73. package/dist/components/custom/icon-chip/index.d.ts +2 -0
  74. package/dist/components/custom/icon-chip/types.d.ts +72 -0
  75. package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +15 -2
  76. package/dist/components/custom/pager-dots/PagerDots.vue.d.ts +39 -0
  77. package/dist/components/custom/pager-dots/index.d.ts +2 -0
  78. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +20 -25
  79. package/dist/components/custom/tabs/composables/useTabIndicator.d.ts +30 -21
  80. package/dist/components/custom/tabs/constants.d.ts +9 -3
  81. package/dist/components/custom/tabs/index.d.ts +1 -1
  82. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +14 -0
  83. package/dist/components/ui/_shared/index.d.ts +2 -0
  84. package/dist/components/ui/_shared/menuItemVariants.d.ts +19 -0
  85. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +41 -0
  86. package/dist/components/ui/card/Card.vue.d.ts +1 -1
  87. package/dist/components/ui/carousel/index.d.ts +0 -1
  88. package/dist/components/ui/command/Command.vue.d.ts +3 -0
  89. package/dist/components/ui/dialog/DialogContent.vue.d.ts +8 -3
  90. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +5 -0
  91. package/dist/components/ui/index.d.ts +0 -1
  92. package/dist/components/ui/popover/PopoverContent.vue.d.ts +3 -0
  93. package/dist/components/ui/progress/ProgressSectioned.vue.d.ts +14 -3
  94. package/dist/components/ui/select/SelectTrigger.vue.d.ts +27 -4
  95. package/dist/components/ui/sheet/SheetContent.vue.d.ts +6 -0
  96. package/dist/components/ui/skeleton/Skeleton.vue.d.ts +3 -0
  97. package/dist/composables/dark/index.d.ts +1 -1
  98. package/dist/composables/dark/useGlobalDark.d.ts +23 -1
  99. package/dist/composables/motion/useViewTransition.d.ts +36 -1
  100. package/dist/configurator.js +1 -1
  101. package/dist/confirm-dialog.js +2 -2
  102. package/dist/constellation.js +92 -94
  103. package/dist/context-menu.js +2 -2
  104. package/dist/controls.js +10 -4
  105. package/dist/dark.d.ts +1 -1
  106. package/dist/dark.js +1 -1
  107. package/dist/data-table.js +1 -1
  108. package/dist/dialog.js +2 -2
  109. package/dist/dock.js +510 -321
  110. package/dist/{dockContext-BegmJVmx.js → dockContext-Bu1Avy-a.js} +1 -1
  111. package/dist/dom.js +5 -5
  112. package/dist/{dropdown-menu-DzkkyBwX.js → dropdown-menu-BJ7E9js_.js} +2 -2
  113. package/dist/dropdown-menu.js +1 -1
  114. package/dist/expandable-container.js +42 -38
  115. package/dist/fading-scroll.d.ts +1 -0
  116. package/dist/fading-scroll.js +2 -0
  117. package/dist/forms.js +3 -3
  118. package/dist/fourier-field.js +38 -37
  119. package/dist/fourier-math.js +2 -2
  120. package/dist/glass-panel.js +39 -36
  121. package/dist/glass-ui.css +1 -1
  122. package/dist/glass-ui.js +129 -145
  123. package/dist/goo-blob.js +86 -81
  124. package/dist/handmark.d.ts +1 -0
  125. package/dist/handmark.js +707 -0
  126. package/dist/header-ribbon.js +1 -1
  127. package/dist/hover-card.js +1 -1
  128. package/dist/hover-popover.js +1 -1
  129. package/dist/icon-chip.d.ts +1 -0
  130. package/dist/icon-chip.js +2 -0
  131. package/dist/icon-tooltip.js +1 -1
  132. package/dist/index.d.ts +2 -2
  133. package/dist/keyboard.js +1 -1
  134. package/dist/label.js +1 -1
  135. package/dist/labeled-field.js +6 -6
  136. package/dist/{math-U6-RrLmV.js → math-DeuJwLFx.js} +11 -3
  137. package/dist/{menuItemVariants-DPiEarb0.js → menuItemVariants-DWRQXBxJ.js} +10 -4
  138. package/dist/metric-badge.js +1 -1
  139. package/dist/metric-cell.js +25 -22
  140. package/dist/metric-stack.js +1 -1
  141. package/dist/motion-core.js +33 -32
  142. package/dist/motion-curves.js +1 -1
  143. package/dist/motion.js +4 -4
  144. package/dist/notification.js +1 -1
  145. package/dist/number-field.js +1 -1
  146. package/dist/pager-dots.d.ts +1 -0
  147. package/dist/pager-dots.js +91 -0
  148. package/dist/paper-backdrop.js +1 -1
  149. package/dist/popover.js +1 -1
  150. package/dist/{presets-BKVyQfbt.js → presets-BW2b-fr1.js} +14 -1
  151. package/dist/progress.js +1 -1
  152. package/dist/pulse.js +1 -1
  153. package/dist/reactive.js +2 -2
  154. package/dist/scrolling-text.js +1 -1
  155. package/dist/search.js +5 -5
  156. package/dist/select.js +3 -3
  157. package/dist/separator.js +1 -1
  158. package/dist/{sheet-1fChZjtw.js → sheet-CquRYOAw.js} +59 -55
  159. package/dist/sheet.js +1 -1
  160. package/dist/{slider-B-JP2JlI.js → slider-DQ95MET2.js} +7 -7
  161. package/dist/slider.js +1 -1
  162. package/dist/sortable-list.js +3 -3
  163. package/dist/styles/animations.css +11 -26
  164. package/dist/styles/components.css +1 -1
  165. package/dist/styles/configurator.css +35 -0
  166. package/dist/styles/dock/density.css +19 -0
  167. package/dist/styles/dock/overflow.css +15 -0
  168. package/dist/styles/dock/rail-extend.css +168 -71
  169. package/dist/styles/dock/section.css +59 -0
  170. package/dist/styles/dock/shell.css +34 -5
  171. package/dist/styles/dock-controls/icon-button.css +11 -1
  172. package/dist/styles/dock-controls/tab-button.css +24 -83
  173. package/dist/styles/dock-controls/triggers.css +7 -0
  174. package/dist/styles/dock.css +6 -3
  175. package/dist/styles/drawer.css +46 -0
  176. package/dist/styles/feedback-tone.css +104 -0
  177. package/dist/styles/glass/ladder.css +68 -22
  178. package/dist/styles/glass/surface-axis.css +113 -0
  179. package/dist/styles/glass/surfaces.css +88 -12
  180. package/dist/styles/glass.css +5 -2
  181. package/dist/styles/icon-chip.css +149 -0
  182. package/dist/styles/index.css +67 -5
  183. package/dist/styles/instrument-chassis.css +42 -0
  184. package/dist/styles/menu.css +127 -0
  185. package/dist/styles/segmented-tabs.css +160 -89
  186. package/dist/styles/select.css +50 -0
  187. package/dist/styles/theme/bridges.css +11 -1
  188. package/dist/styles/tokens/color-radius.css +40 -13
  189. package/dist/styles/tokens/dark-arm.css +124 -16
  190. package/dist/styles/tokens/glass.css +83 -23
  191. package/dist/styles/tokens/light-dark.css +48 -19
  192. package/dist/styles/tokens/offsets-sizing.css +62 -0
  193. package/dist/styles/tokens/property-regs.css +3 -10
  194. package/dist/styles/tokens/scale-paper.css +45 -2
  195. package/dist/styles/tokens/scheme-motion.css +32 -14
  196. package/dist/styles/transitions.css +7 -7
  197. package/dist/styles/typography/scale.css +153 -0
  198. package/dist/styles/typography/semantic.css +220 -0
  199. package/dist/styles/typography/utilities.css +159 -0
  200. package/dist/styles/typography.css +23 -507
  201. package/dist/styles/utilities/a11y-overrides.css +33 -4
  202. package/dist/styles/utilities/base.css +177 -1
  203. package/dist/styles/utilities/btn.css +18 -201
  204. package/dist/styles/view-transition.css +4 -1
  205. package/dist/switch.js +1 -1
  206. package/dist/tabs.js +154 -183
  207. package/dist/timeline.js +2 -2
  208. package/dist/toast.js +1 -1
  209. package/dist/toggle-chip.js +3 -1
  210. package/dist/toggle-group.js +1 -1
  211. package/dist/typewriter.js +1 -1
  212. package/dist/{useAnimatedNumber-C5I3wWd8.js → useAnimatedNumber-C_3wZLx4.js} +1 -1
  213. package/dist/useConfiguratorState-kiIlun8I.js +303 -0
  214. package/dist/{useGlobalDark-yhL4Wp-s.js → useGlobalDark-C28t0VWJ.js} +22 -3
  215. package/dist/{useRAFLoop-Bxv0o6L5.js → useRAFLoop-CdwJ7284.js} +1 -1
  216. package/dist/{useSpringMount-CI2jOstM.js → useSpringMount-CvopqiFr.js} +1 -1
  217. package/dist/useSurfaceAxis-CMnF2zHb.js +7 -0
  218. package/dist/{useTouchGate-Dg7MQI1G.js → useTouchGate-28Tk2-t2.js} +1 -1
  219. package/dist/{vReveal-CqaCz_mC.js → useViewTransition-COsPjQVZ.js} +15 -12
  220. package/dist/vReveal-D9k0jADx.js +10 -0
  221. package/dist/watercolor-dot.js +12 -5
  222. package/package.json +71 -7
  223. package/src/styles/animations.css +11 -26
  224. package/src/styles/configurator.css +35 -0
  225. package/src/styles/dock/density.css +19 -0
  226. package/src/styles/dock/overflow.css +15 -0
  227. package/src/styles/dock/rail-extend.css +168 -71
  228. package/src/styles/dock/section.css +59 -0
  229. package/src/styles/dock/shell.css +34 -5
  230. package/src/styles/dock-controls/icon-button.css +11 -1
  231. package/src/styles/dock-controls/tab-button.css +24 -83
  232. package/src/styles/dock-controls/triggers.css +7 -0
  233. package/src/styles/dock.css +6 -3
  234. package/src/styles/drawer.css +42 -0
  235. package/src/styles/feedback-tone.css +104 -0
  236. package/src/styles/glass/ladder.css +68 -22
  237. package/src/styles/glass/surface-axis.css +113 -0
  238. package/src/styles/glass/surfaces.css +88 -12
  239. package/src/styles/glass.css +5 -2
  240. package/src/styles/icon-chip.css +149 -0
  241. package/src/styles/index.css +66 -4
  242. package/src/styles/instrument-chassis.css +42 -0
  243. package/src/styles/menu.css +127 -0
  244. package/src/styles/segmented-tabs.css +156 -87
  245. package/src/styles/select.css +50 -0
  246. package/src/styles/theme/bridges.css +11 -1
  247. package/src/styles/tokens/color-radius.css +40 -13
  248. package/src/styles/tokens/dark-arm.css +124 -16
  249. package/src/styles/tokens/glass.css +83 -23
  250. package/src/styles/tokens/light-dark.css +48 -19
  251. package/src/styles/tokens/offsets-sizing.css +62 -0
  252. package/src/styles/tokens/property-regs.css +3 -10
  253. package/src/styles/tokens/scale-paper.css +45 -2
  254. package/src/styles/tokens/scheme-motion.css +32 -14
  255. package/src/styles/transitions.css +7 -7
  256. package/src/styles/typography/scale.css +153 -0
  257. package/src/styles/typography/semantic.css +220 -0
  258. package/src/styles/typography/utilities.css +159 -0
  259. package/src/styles/typography.css +23 -507
  260. package/src/styles/utilities/a11y-overrides.css +33 -4
  261. package/src/styles/utilities/base.css +177 -1
  262. package/src/styles/utilities/btn.css +18 -201
  263. package/src/styles/view-transition.css +4 -1
  264. package/dist/CardAction-Cj2eycQ2.js +0 -157
  265. package/dist/DialogContent-Dl9WkAoS.js +0 -100
  266. package/dist/PopoverContent-BYwt2-4x.js +0 -121
  267. package/dist/TabsList-Dttss653.js +0 -105
  268. package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
  269. package/dist/components/custom/underline/index.d.ts +0 -2
  270. package/dist/components/custom/underline/types.d.ts +0 -56
  271. package/dist/components/ui/carousel/CarouselDots.vue.d.ts +0 -4
  272. package/dist/underline.d.ts +0 -1
  273. package/dist/underline.js +0 -85
  274. package/dist/useConfiguratorState-DAoeHVue.js +0 -287
  275. /package/dist/{CollapsibleContent-CP9qF1v4.js → CollapsibleContent-C_s6fG7r.js} +0 -0
  276. /package/dist/{ContextMenuContent-CT3AS1WX.js → ContextMenuContent-ON3x7cuk.js} +0 -0
  277. /package/dist/{HoverCardContent-Csywg3YF.js → HoverCardContent-DkMaQzH5.js} +0 -0
  278. /package/dist/{IconTooltip-DPzE09X9.js → IconTooltip-DSjasZIt.js} +0 -0
  279. /package/dist/{Input-DWQQIOC4.js → Input-DVG_J0ne.js} +0 -0
  280. /package/dist/{Label-r3WzWrsj.js → Label-Ck9SWEKM.js} +0 -0
  281. /package/dist/{ModalOverlay-DVLI2VRr.js → ModalOverlay-CkPRRgl_.js} +0 -0
  282. /package/dist/{PaperBackdrop-DIXTtVq6.js → PaperBackdrop-nBKe0vkB.js} +0 -0
  283. /package/dist/{SelectGroup-aumMgWLs.js → SelectGroup-Dcczq44n.js} +0 -0
  284. /package/dist/{SelectSeparator-BQ_1Fcbp.js → SelectSeparator-DK2y1Bun.js} +0 -0
  285. /package/dist/{Separator-0JE6LtNu.js → Separator-BArl4OaB.js} +0 -0
  286. /package/dist/{_plugin-vue_export-helper-ok8pgSl5.js → _plugin-vue_export-helper-CBt_VvXa.js} +0 -0
  287. /package/dist/{color-CUYeFbgd.js → color-DweYl7pE.js} +0 -0
  288. /package/dist/{compile-B7NGOBcP.js → compile-EXXzEr1q.js} +0 -0
  289. /package/dist/{constants-CS75AWHG.js → constants-BPOqYJAm.js} +0 -0
  290. /package/dist/{createContext-BM46COQ-.js → createContext-B2RaZ-b8.js} +0 -0
  291. /package/dist/{prng-D27-B3tK.js → prng-Cg22zv8g.js} +0 -0
  292. /package/dist/{springPresets--YdWTHtm.js → springPresets-WXaLbu8u.js} +0 -0
  293. /package/dist/{useIntersectionPause-Cc-H9ees.js → useIntersectionPause-Bj4sPkMh.js} +0 -0
  294. /package/dist/{useInterval-iHludrxk.js → useInterval-CNdua40W.js} +0 -0
  295. /package/dist/{useKeyboardShortcuts-Be3w_Rwk.js → useKeyboardShortcuts-BXWXOZ-9.js} +0 -0
  296. /package/dist/{useLiquidFlex-BL0lLLN2.js → useLiquidFlex-C12hXwOZ.js} +0 -0
  297. /package/dist/{useResizeObserver-BhgdhOIj.js → useResizeObserver-V6nq5gJb.js} +0 -0
  298. /package/dist/{useResolveTokenColor-Dvn2RZJW.js → useResolveTokenColor-NUG2zYAW.js} +0 -0
  299. /package/dist/{useScrollProgress-Dlvx-L3v.js → useScrollProgress-D7bYU2RK.js} +0 -0
  300. /package/dist/{useSortable-muI29agz.js → useSortable-BVqlJRBR.js} +0 -0
  301. /package/dist/{useTextHighlight-DmRYkOBx.js → useTextHighlight-NmBM5V_4.js} +0 -0
  302. /package/dist/{useTimer-Dzarvzuk.js → useTimer-B_PAasDL.js} +0 -0
  303. /package/dist/{useUserInvalidAria-B2h6jAM_.js → useUserInvalidAria-CDfJuakL.js} +0 -0
  304. /package/dist/{useViewportReady-B40FK4Pa.js → useViewportReady-CvBcCYDf.js} +0 -0
@@ -28,10 +28,13 @@
28
28
  */
29
29
  @layer components {
30
30
  :root {
31
- /* The beyond-edge overrun length — how far the hairline runs PAST the dock
32
- content box. A proportioned default (a touch more than a dock control); a
33
- consumer retunes per-instance. Rides `--dock-scale` so it tracks the
34
- coarse-pointer density thread the rest of the dock floor speaks. */
31
+ /* BA.W-DOCK-SECTIONS RE-SEMANTIC — the SYMMETRIC dual-side overrun length. The
32
+ seam line crosses THROUGH the dock and protrudes past BOTH edges by this
33
+ amount each side (the line's cross-extent = dock extent + 2× this knob,
34
+ centered on the seam). Was a one-way connector length pre-wave; now the
35
+ per-side overrun of the dual-side seam line. A proportioned default (a touch
36
+ more than a dock control); rides `--dock-scale` so it tracks the coarse-pointer
37
+ density thread the rest of the dock floor speaks. */
35
38
  --dock-rail-extend-length: calc(2.5rem * var(--dock-scale, 1));
36
39
  }
37
40
 
@@ -72,128 +75,198 @@
72
75
  pointer-events: auto;
73
76
  }
74
77
 
75
- /* AZ.W-RAIL3 — the slot hangs the floating carousel BELOW the dock's bottom edge
76
- for BOTH orientations. The slot's top sits AT the dock's bottom edge
77
- (`inset-block-start: 100%`) and the strip (a horizontal chip carousel) lives
78
- wholly BELOW the dock. The slot anchors at the dock's LEADING (inline-start)
79
- edge but is NOT clamped to the dock's width (`inset-inline-end: auto`), so a
80
- carousel WIDER than a narrow vertical column overflows past the dock's inline
81
- extent — the "floating carousel" that overflows OUTSIDE the dock (the box stays
82
- INVIOLATE because the slot is `position: absolute`, never feeding the dock's
83
- intrinsic size). The connective hairline (`.dock-hairline-extend::before`) is
84
- center-aligned over the strip so it reads as a connector from the dock edge. */
78
+ /* BA.W-DOCK-SECTIONS — THE DIVIDER-SEAM RE-SEAT (the 4th-rail re-conception; the
79
+ midline/edge seat workaround #4 is DELETED, inv-6). The rail line co-locates with
80
+ a NAMED `<DockSeparator anchor>` seam: GlassDock measures that separator's offset
81
+ within the frame and writes `--dock-rail-seam-offset` (the cross-axis center of the
82
+ divider). The slot anchors AT the seam — NOT `50%` (the vertical midline workaround
83
+ the H1 band motivated), NOT the dock edge — and the line OVERRUNS BOTH dock edges
84
+ by `--dock-rail-extend-length` each side (a SYMMETRIC dual-side overrun, replacing
85
+ the one-way connector). The chips fan FLUSH alongside the line. Because the slot is
86
+ `position: absolute` on the non-clipping frame, the dock box stays INVIOLATE (it
87
+ feeds NO size into the dock's intrinsic box — proof:rail-extend box-equality holds).
88
+
89
+ FALLBACK: when no anchored separator is present `--dock-rail-seam-offset` is unset;
90
+ the `var(…, 50%)`-FREE fallback seats the line at the dock's near edge via the
91
+ extent default (never the midline seat). */
92
+
93
+ /* VERTICAL (column) dock — the rail is a HORIZONTAL line. It anchors on the BLOCK
94
+ axis at the ℱ-separator's Y (the seam offset) and overruns on the INLINE axis past
95
+ BOTH the leading and trailing edges: the slot starts `--dock-rail-extend-length`
96
+ LEFT of the dock and its inline extent is the dock width + 2× the overrun, so the
97
+ line protrudes symmetrically each side. The chips fan FLUSH in the trailing gutter
98
+ (translated past the dock's trailing edge). */
85
99
  .glass-dock-frame[data-has-rail].vertical .dock-hairline-slot {
86
- inset-inline-start: 100%;
87
- /* seat the carousel CENTERED beside the dock column. A top-anchored seat
88
- collides with the page H1/breadcrumb band at scroll-top (any fixed offset
89
- from the dock top lands in it at some viewport); the vertical center is
90
- stable across viewport heights and reads as the carousel riding the dock's
91
- midline, clear of the title band. */
92
- inset-block-start: 50%;
100
+ inset-block-start: var(--dock-rail-seam-offset, 0px);
93
101
  inset-block-end: auto;
102
+ inset-inline-start: calc(-1 * var(--dock-rail-extend-length));
103
+ inset-inline-end: auto;
104
+ /* the line's inline extent = dock width + 2× overrun (symmetric, centered). */
105
+ inline-size: calc(100% + 2 * var(--dock-rail-extend-length));
94
106
  translate: 0 -50%;
95
107
  flex-direction: row;
96
- align-items: flex-start;
108
+ align-items: center;
97
109
  justify-content: flex-start;
98
110
  }
111
+ /* HORIZONTAL (row) dock — the rail is a VERTICAL line. It anchors on the INLINE axis
112
+ at the nav-separator's X (the seam offset) and overruns on the BLOCK axis past BOTH
113
+ the top and bottom edges: the slot starts `--dock-rail-extend-length` ABOVE the
114
+ dock and its block extent is the dock height + 2× the overrun. The chips fan FLUSH
115
+ above the line (translated above the dock's top edge so they stay ON-SCREEN for a
116
+ viewport-bottom-anchored dock). */
99
117
  .glass-dock-frame[data-has-rail]:not(.vertical) .dock-hairline-slot {
100
- inset-block-end: 100%;
101
- inset-inline-start: 0;
118
+ inset-inline-start: var(--dock-rail-seam-offset, 0px);
102
119
  inset-inline-end: auto;
120
+ inset-block-start: calc(-1 * var(--dock-rail-extend-length));
121
+ inset-block-end: auto;
122
+ /* the line's block extent = dock height + 2× overrun (symmetric, centered). */
123
+ block-size: calc(100% + 2 * var(--dock-rail-extend-length));
124
+ translate: -50% 0;
103
125
  flex-direction: column;
104
- align-items: flex-start;
105
- justify-content: flex-end;
126
+ align-items: center;
127
+ justify-content: flex-start;
106
128
  }
107
129
 
108
- /* AZ.W-RAIL3 — the FLOATING CAROUSEL strip. The hairline element is the wrapper
109
- that carries (a) a VISIBLE connective hairline running from the dock edge down
110
- to the strip (the user's "the hairline must visibly connect") and (b) the
111
- `.dock-hairline-strip` — a flex row of detached glass chips, the floating
112
- carousel that overflows OUTSIDE the dock box (the third-rail redirect: the
113
- contextual facets are no longer in-dock layers; they are the rail's content). */
130
+ /* BA.W-DOCK-SECTIONS — the seam wrapper. It FILLS the slot (which is already the
131
+ dock + 2× overrun, centered on the seam) and carries (a) the `::before` seam line
132
+ running the full extent and (b) the `.dock-hairline-strip` — the flush fan of
133
+ glass chips butted to the line (the macOS fan-out, rectilinear; NOT a 40px-adrift
134
+ carousel). The chips paint OUTSIDE the dock box (the slot is a `.glass-dock-frame`
135
+ sibling — R4 / box INVIOLATE). */
114
136
  .dock-hairline-extend {
115
137
  position: relative;
116
138
  display: flex;
117
139
  gap: 0;
140
+ inline-size: 100%;
141
+ block-size: 100%;
118
142
  }
119
- /* Vertical dock — connector (a horizontal line) then the chip COLUMN, left-to-right
120
- (the carousel rides BESIDE the dock in its trailing gutter). */
143
+ /* Vertical dock — the seam is a horizontal line at the slot's block center; the chip
144
+ ROW fans FLUSH just past the dock's trailing edge, butted to the line. */
121
145
  .dock-hairline-extend.vertical {
122
146
  flex-direction: row;
123
- align-items: flex-start;
147
+ align-items: center;
148
+ justify-content: flex-end;
124
149
  }
125
- /* Horizontal dock — the strip sits ABOVE: stack the chip-row then the connector
126
- bottom-up (column-reverse puts the first child, the connector, at the BOTTOM,
127
- nearest the dock's top edge — so a viewport-bottom-anchored dock keeps its
128
- carousel ON-SCREEN above it). */
150
+ /* Horizontal dock — the seam is a vertical line at the slot's inline center; the chip
151
+ COLUMN/ROW fans FLUSH above the line (the viewport-bottom dock keeps it on-screen). */
129
152
  .dock-hairline-extend.horizontal {
130
- flex-direction: column-reverse;
131
- align-items: flex-start;
153
+ flex-direction: column;
154
+ align-items: center;
155
+ justify-content: flex-start;
156
+ }
157
+ /* BA.W-DOCK-SECTIONS — the chips fan FLUSH at the DOCK's near edge, butted to the
158
+ seam line where it crosses the dock boundary (NOT at the slot's far overrun end,
159
+ which would re-float them adrift). The positioning rides the `<FadingScroll>`
160
+ WRAPPER (`.dock-hairline-fade`), NOT the strip itself — the strip stays the
161
+ in-flow scroll content of FadingScroll (an absolutely-positioned strip would
162
+ escape FadingScroll's flow → its scroll-port collapses to 0 + the mask hides the
163
+ chips). A vertical dock's fade rides the dock's TRAILING (inline-end) edge in its
164
+ gutter; a horizontal dock's fade rides the dock's TOP (block-start) edge. The seam
165
+ line still protrudes past BOTH edges (the `::before` spans the full slot); only the
166
+ CHIP fade butts the dock so it reads as a fan growing FROM the divider. */
167
+ .dock-hairline-fade {
168
+ max-inline-size: var(--dock-rail-strip-max, 60vw);
169
+ }
170
+ .dock-hairline-extend.vertical .dock-hairline-fade {
171
+ position: absolute;
172
+ inset-inline-start: calc(100% - var(--dock-rail-extend-length));
173
+ inset-block-start: 50%;
174
+ translate: 0 -50%;
175
+ }
176
+ .dock-hairline-extend.horizontal .dock-hairline-fade {
177
+ position: absolute;
178
+ inset-block-end: calc(100% - var(--dock-rail-extend-length));
179
+ inset-inline-start: 50%;
180
+ translate: -50% 0;
132
181
  }
133
182
 
134
- /* R3 — the VISIBLE connective hairline. R1 — the `--border-hairline` token pair
135
- (catch-light + under-shadow) + a faint background fallback so the whisper reads
136
- even over a busy backdrop (the user audited "NO VISIBLE HAIRLINE"). The line
137
- overruns by `--dock-rail-extend-length` (the beyond-edge extent); the
138
- `min-{inline,block}-size` floor is the proof:rail-extend R3 overrun witness. */
183
+ /* R3 — the VISIBLE seam line (no longer a one-way connector tether). R1 — the
184
+ `--border-hairline` token pair (catch-light + under-shadow) + a faint background
185
+ fallback so the whisper reads even over a busy backdrop. BA.W-DOCK-SECTIONS: the
186
+ line now RUNS THE FULL SLOT EXTENT (the slot is already dock + 2× overrun,
187
+ centered on the seam), so it crosses THROUGH the dock and protrudes past BOTH
188
+ edges — ONE continuous line, NOT a 40px tether to a detached carousel. The
189
+ `min-{inline,block}-size: var(--dock-rail-extend-length)` floor stays as the
190
+ proof:rail-extend / proof:rail3 R3 overrun witness (the line is always ≥ the
191
+ overrun length); the `100%` width/height makes it the full symmetric seam. The
192
+ tether `margin` is GONE — the chips fan FLUSH against the line (S3). */
139
193
  .dock-hairline-extend::before {
140
194
  content: "";
141
195
  flex: 0 0 auto;
196
+ position: absolute;
142
197
  box-shadow: var(--border-hairline);
143
198
  background: var(--dock-layer-rail-divider, color-mix(in srgb, var(--border) 45%, transparent));
144
199
  }
145
- /* Vertical dock connector — a HORIZONTAL line running right from the dock's
146
- trailing edge to the chip column, seated near the dock's vertical center. */
200
+ /* Vertical dock — a HORIZONTAL line spanning the FULL slot inline extent (dock +
201
+ 2× overrun), seated on the seam Y; the chips fan flush in the trailing gutter. */
147
202
  .dock-hairline-extend.vertical::before {
148
203
  block-size: 1px;
149
- inline-size: var(--dock-rail-extend-length);
204
+ inline-size: 100%;
150
205
  min-inline-size: var(--dock-rail-extend-length);
151
- align-self: center;
152
- margin-inline-end: 0.25rem;
206
+ inset-block-start: 50%;
207
+ inset-inline-start: 0;
208
+ translate: 0 -50%;
153
209
  }
154
- /* Horizontal dock connector — a VERTICAL line running up from the dock's top
155
- edge to the chip row, seated near the dock's leading control center. */
210
+ /* Horizontal dock — a VERTICAL line spanning the FULL slot block extent (dock +
211
+ 2× overrun), seated on the seam X; the chips fan flush above the line. */
156
212
  .dock-hairline-extend.horizontal::before {
157
213
  inline-size: 1px;
158
- block-size: var(--dock-rail-extend-length);
214
+ block-size: 100%;
159
215
  min-block-size: var(--dock-rail-extend-length);
160
- margin-inline-start: calc(var(--dock-control-size, 1.75rem) * 0.5);
161
- margin-block-start: 0.25rem;
216
+ inset-inline-start: 50%;
217
+ inset-block-start: 0;
218
+ translate: -50% 0;
162
219
  }
163
220
 
164
- /* `extent="inset"` keeps the connector flush at the edge (no overrun). */
221
+ /* `extent="inset"` zeroes the overrun (the line stays flush within the dock edges —
222
+ the slot's `inline-size`/`block-size` collapse to the dock box, no protrusion). */
165
223
  .dock-hairline-extend.extent-inset.vertical::before {
166
- inline-size: 0;
167
224
  min-inline-size: 0;
168
225
  }
169
226
  .dock-hairline-extend.extent-inset.horizontal::before {
170
- block-size: 0;
171
227
  min-block-size: 0;
172
228
  }
229
+ .glass-dock-frame[data-has-rail].vertical .dock-hairline-slot:has(.extent-inset) {
230
+ inset-inline-start: 0;
231
+ inline-size: 100%;
232
+ }
233
+ .glass-dock-frame[data-has-rail]:not(.vertical) .dock-hairline-slot:has(.extent-inset) {
234
+ inset-block-start: 0;
235
+ block-size: 100%;
236
+ }
173
237
 
174
- /* The carousel strip — a flex run of chips that SCROLLS when the chips exceed the
175
- budget (the common 2-4-facet case fits with no scroll; a larger set cycles).
176
- `scroll-snap` gives the carousel detent feel. The strip paints OUTSIDE the dock
177
- box (it is in the `.dock-hairline-slot`, a `.glass-dock-frame` sibling — R4). */
238
+ /* BA.W-DOCK-SECTIONS — the FLUSH chip fan. The chips butt the seam line (NO adrift
239
+ tether — the strip's positioning context is the seam wrapper, not a 40px offset).
240
+ The strip keeps `scroll-snap` (the carousel detent) + a single `overflow` axis as
241
+ the proof:rail3 R5 cyclable witness, but the PRIMARY scroll-fade port is the
242
+ `<FadingScroll>` wrapper DockRail composes (S5 — the bespoke overflow strip is the
243
+ inert inner fallback; FadingScroll owns the edge fade, no duplicate mask here). */
178
244
  .dock-hairline-strip {
179
245
  display: flex;
180
- align-items: flex-start;
246
+ align-items: center;
181
247
  gap: var(--dock-rail-strip-gap, 0.375rem);
182
248
  scrollbar-width: none;
183
249
  padding: 0.125rem;
250
+ /* the collapse-retract origin: the chips translate/fade INTO the rail toward the
251
+ seam on collapse, leaving the stub protrusion. The rest state is full-out. */
252
+ transition:
253
+ opacity var(--duration-normal) var(--ease-standard),
254
+ translate var(--duration-normal) var(--dock-resize-spring, var(--ease-standard));
184
255
  }
185
256
  .dock-hairline-strip::-webkit-scrollbar {
186
257
  display: none;
187
258
  }
188
- /* Vertical dock → a COLUMN carousel beside the dock, scrolls on the block axis. */
259
+ /* Vertical dock → a ROW of chips beside the dock, flush to the horizontal seam;
260
+ scrolls on the inline axis when they exceed the budget. */
189
261
  .dock-hairline-extend.vertical .dock-hairline-strip {
190
- flex-direction: column;
191
- max-block-size: var(--dock-rail-strip-max, 60vh);
192
- overflow-y: auto;
193
- overflow-x: visible;
194
- scroll-snap-type: y proximity;
262
+ flex-direction: row;
263
+ max-inline-size: var(--dock-rail-strip-max, 60vw);
264
+ overflow-x: auto;
265
+ overflow-y: visible;
266
+ scroll-snap-type: x proximity;
195
267
  }
196
- /* Horizontal dock → a ROW carousel above the dock, scrolls on the inline axis. */
268
+ /* Horizontal dock → a ROW of chips above the dock, flush to the vertical seam;
269
+ scrolls on the inline axis when they exceed the budget. */
197
270
  .dock-hairline-extend.horizontal .dock-hairline-strip {
198
271
  flex-direction: row;
199
272
  align-items: center;
@@ -206,6 +279,30 @@
206
279
  scroll-snap-align: start;
207
280
  }
208
281
 
282
+ /* BA.W-DOCK-SECTIONS — THE COLLAPSE-RETRACT (the macOS fan-out retraction; the brief
283
+ + R8-6 fan-out half). When the dock collapses the chips fold back behind a slight
284
+ protruding stub at the dock edge: they translate along the seam axis INTO the rail
285
+ and fade, the seam line keeping a SLIGHT protrusion (the rail never detaches — it
286
+ retracts along the seam axis). The stub fraction is `--dock-rail-retract-stub`. */
287
+ .glass-dock.collapsed ~ .dock-hairline-slot .dock-hairline-strip,
288
+ .glass-dock-frame:has(.glass-dock.collapsed) .dock-hairline-strip {
289
+ opacity: 0;
290
+ translate: calc(var(--dock-rail-extend-length) * (1 - var(--dock-rail-retract-stub, 0.35)))
291
+ 0;
292
+ }
293
+ .glass-dock.collapsed ~ .dock-hairline-slot .dock-hairline-extend.horizontal .dock-hairline-strip,
294
+ .glass-dock-frame:has(.glass-dock.collapsed) .dock-hairline-extend.horizontal .dock-hairline-strip {
295
+ translate: 0
296
+ calc(-1 * var(--dock-rail-extend-length) * (1 - var(--dock-rail-retract-stub, 0.35)));
297
+ }
298
+ /* PRM — snap to the retracted state, no travel (the retract must not animate under
299
+ reduced motion; only the discrete opacity/position endpoints apply). */
300
+ @media (prefers-reduced-motion: reduce) {
301
+ .dock-hairline-strip {
302
+ transition: none;
303
+ }
304
+ }
305
+
209
306
  /* Each chip — a detached FLOATING glass pill (R4-1's register, now a label-bearing
210
307
  carousel chip, auto-width). It is chrome OUTSIDE the dock substrate, so it
211
308
  carries its OWN glass plate (the floating-tier fill + edge-light rim + soft
@@ -0,0 +1,59 @@
1
+ /* BA.W-DOCK-SECTIONS — the <DockSection> tripartite grouping recipe + (in .2) the
2
+ * seam fan-out / retract chrome.
3
+ *
4
+ * THE THREE-ZONE GESTALT (R8-9 — "the docks COMPLETELY lack sections"). The
5
+ * <DockSection> chassis groups the dock's already-in-flow controls into a
6
+ * rail-core | divided sections | nav silhouette and demarcates the zones with the
7
+ * existing <DockSeparator> primitive — NO box-inflation (the section grouping is the
8
+ * controls already in the dock plus the divider seams; it does NOT re-mount a
9
+ * <DockLayerGroup> switcher rail, the W-RAIL3 inflator that demanded column height).
10
+ *
11
+ * The chassis is layout-transparent by default: `display: contents` so the zones flow
12
+ * exactly as the bare controls did (the dock box shrink-wraps as before — the
13
+ * box-INVIOLATE contract). The zone wrappers carry the kind marker the recipe reads;
14
+ * they add NO size of their own. On a vertical (column) dock the section runs as a
15
+ * column; on a horizontal (row) dock it runs as a row — inheriting the dock's own
16
+ * flex axis, never establishing a competing one.
17
+ *
18
+ * @import-ed by dock.css into the SAME `@layer components` as the other dock partials.
19
+ */
20
+ @layer components {
21
+ /* The chassis root is layout-transparent — the zones inherit the dock's flex flow
22
+ (row or column) directly, so grouping into sections adds zero box. */
23
+ .dock-section {
24
+ display: contents;
25
+ }
26
+
27
+ /* A grouped zone — a flex run of the consumer's controls along the dock's axis.
28
+ It owns NO intrinsic size beyond `max-content` (the controls' own size), so the
29
+ dock keeps shrink-wrapping to its tight pill (box INVIOLATE). The gap matches the
30
+ dock's inter-control rhythm. */
31
+ .dock-section-zone {
32
+ display: inline-flex;
33
+ align-items: center;
34
+ gap: var(--dock-section-zone-gap, var(--dock-gap, 0.25rem));
35
+ }
36
+
37
+ /* On a vertical (column) dock the zones stack — the section runs down the rail. */
38
+ .glass-dock.vertical .dock-section-zone {
39
+ flex-direction: column;
40
+ align-items: stretch;
41
+ }
42
+
43
+ /* The rail-core zone leads (the home/brand region); the nav zone trails. They are
44
+ the same flex run — the kind marker is for the recipe + a11y, not a layout fork.
45
+ The core (`data-kind="rail-core"`) zone gets a touch more breathing room from the
46
+ first section seam. The CSS token is `--core` (NOT `--rail-core`): the dock-band
47
+ "rail" noun is de-overloaded (AZ.W-DOCK-TAXONOMY); the data-attr carries the
48
+ spec's `rail-core` vocabulary, the class never says "rail". */
49
+ .dock-section-zone--core {
50
+ flex: 0 0 auto;
51
+ }
52
+ .dock-section-zone--nav {
53
+ flex: 0 0 auto;
54
+ }
55
+ .dock-section-zone--section {
56
+ flex: 0 1 auto;
57
+ min-inline-size: 0;
58
+ }
59
+ }
@@ -80,6 +80,19 @@
80
80
  backdrop-filter sample does not escape the dock box (the standard nested-
81
81
  backdrop-cost mitigation; the Button-in-glass-in-dock stack re-samples the
82
82
  already-blurred buffer at each level without it). */
83
+ /* BA.W-DOCK-GEOMETRY contain:paint AUDIT verdict (a) — the control-plate
84
+ clearance fix (the `--dock-control-safe-inset` painted-plate inset, scope
85
+ 1) + the scroll-port cross-axis un-clip (scope 2) keep the maximal
86
+ hover/active control plate INSIDE the dock padding box: the inset plate is
87
+ centered in its cell (≥1px slack/side at hover), the cell sits flush at the
88
+ dock content edge, and the `--dock-padding-block` (≈6px) padding holds the
89
+ plate ≥7px clear of the `contain: paint` border-box edge on the block axis.
90
+ So `contain: paint` is the NON-proximate second clip box (the lane's
91
+ `probe-bottomdock-nocontain.png` forced-root probe proved the inner
92
+ scroll-port box was proximate, not this) and it is UNEDITED here — the
93
+ inset + freed cross axis suffice, no containment lift on the control-plate
94
+ band. The π readback (W-DOCK-GEOMETRY-DELTA.md) records the live
95
+ plate-inside-padding margin number that binds this verdict. */
83
96
  contain: paint;
84
97
  display: inline-flex;
85
98
  align-items: center;
@@ -184,17 +197,33 @@
184
197
  scrolls — the scroll port only engages on real over-cap content. The
185
198
  block-axis morph clip stays `data-morphing`-gated above; this is the
186
199
  AT-REST port only. Consumers set `--dock-max-block-size` per-instance to
187
- anchor the column to the viewport without re-deriving the scroll plumbing. */
188
- .glass-dock.vertical.always-expanded:not([data-morphing]),
189
- .glass-dock.vertical.expanded:not([data-morphing]) {
200
+ anchor the column to the viewport without re-deriving the scroll plumbing.
201
+
202
+ BA.W-DOCK-GEOMETRY (DC-1) — the port is now GATED behind the `dock-scroll-y`
203
+ opt-in (`overflow="scroll"`), NOT unconditional on every `.vertical.
204
+ always-expanded`. THE ROOT: `overflow-y: auto` is a scroll value, and CSS
205
+ Overflow §3 FORCES the sibling `overflow-x: visible` to COMPUTE to `auto` —
206
+ so the F6 pin never survived, and EVERY at-rest vertical dock (even a
207
+ fit-content shell that never scrolls) paid the cross-axis inline clip,
208
+ slicing a control's inset plate left/right (the live π readback measured
209
+ `overflow-x: auto` on the grow-to-fit SidebarDock). A vertical dock that
210
+ genuinely needs the cap+scroll opts IN via `overflow="scroll"` (the
211
+ `.dock-scroll-y` port in overflow.css, the SAME plumbing the F6 comment names);
212
+ a grow-to-fit vertical shell stays `overflow: visible` (line 186) on BOTH axes
213
+ so its inset control plate paints past the track. The fit-content shell pays
214
+ NO cross-axis clip for zero scroll benefit — the goal criterion's "the
215
+ scroll-port cross-axis clip no longer fires on a fit-content shell that never
216
+ scrolls", honored at the geometry root. */
217
+ .glass-dock.vertical.dock-scroll-y.always-expanded:not([data-morphing]),
218
+ .glass-dock.vertical.dock-scroll-y.expanded:not([data-morphing]) {
190
219
  overflow-x: visible;
191
220
  overflow-y: auto;
192
221
  scrollbar-width: none;
193
222
  overscroll-behavior-y: contain;
194
223
  }
195
224
 
196
- .glass-dock.vertical.always-expanded:not([data-morphing])::-webkit-scrollbar,
197
- .glass-dock.vertical.expanded:not([data-morphing])::-webkit-scrollbar {
225
+ .glass-dock.vertical.dock-scroll-y.always-expanded:not([data-morphing])::-webkit-scrollbar,
226
+ .glass-dock.vertical.dock-scroll-y.expanded:not([data-morphing])::-webkit-scrollbar {
198
227
  display: none;
199
228
  }
200
229
 
@@ -20,10 +20,20 @@
20
20
  scale: 1;
21
21
  width: var(--dock-control-size, var(--size-icon-btn));
22
22
  height: var(--dock-control-size, var(--size-icon-btn));
23
- padding: var(--dock-icon-padding, 0);
23
+ /* BA.W-DOCK-GEOMETRY — the control-plate clearance inset (DC-2). The HIT
24
+ BOX stays the full `--dock-control-size` (the WCAG 2.5.5 touch floor on
25
+ the CELL), while the inset padding + `background-clip: content-box`
26
+ insets the PAINTED plate within it: the hover/active fill paints only the
27
+ content box (the cell minus the inset on every side), so the maximal
28
+ hover (×1.1) / active circle clears the cross-axis clip edge with ≥1px
29
+ margin — the lozenge dies at the plate diameter, not at the clip box. The
30
+ inset falls back to the prior `--dock-icon-padding` (0) when no dock
31
+ ancestor sets `--dock-control-safe-inset` (a standalone icon button). */
32
+ padding: var(--dock-icon-padding, var(--dock-control-safe-inset, 0));
24
33
  cursor: pointer;
25
34
  border: none;
26
35
  background: transparent;
36
+ background-clip: content-box;
27
37
  border-radius: var(--dock-control-radius, var(--radius-pill));
28
38
  /* Foreground base routes through `--dock-fg-on-aurora` (defaults to
29
39
  `--foreground`, byte-identical to before) so a consumer floating the
@@ -2,10 +2,10 @@
2
2
  (AZ.W-CARVE partial 3 of 5; carved out of dock-controls.css).
3
3
 
4
4
  The base rule (density-keyed height knob, padding, glass hover/active/press
5
- cohort), the PRIMARY tier (the dock extension over `@utility btn-audacious` —
6
- structural shell + the `--phase-color` disco-grain hover radial + the
7
- `[data-phase]` backplate halo), and the SECONDARY tier (the quieter
8
- edge-light/edge-shadow cross-control comma-group over tab + icon button).
5
+ cohort), the PRIMARY tier (the structural shell — taller min-height + wider
6
+ padding + a stronger base tint; the disco grain/halo RETIRED at BA.W-GLASS-CAL,
7
+ it now inherits the base glass hover register), and the SECONDARY tier (the
8
+ quieter edge-light/edge-shadow cross-control comma-group over tab + icon button).
9
9
  Opens its OWN `@layer components`; @import-ed after dark-mode-toggle.css. */
10
10
 
11
11
  @layer components {
@@ -29,6 +29,14 @@
29
29
  padding-block: var(--dock-tab-padding-block, 0.375rem);
30
30
  border: none;
31
31
  background: transparent;
32
+ /* BA.W-DOCK-GEOMETRY — the control-plate clearance inset (DC-2). The tab's
33
+ OWN padding already insets a content box within the row-locked border box;
34
+ `background-clip: content-box` realizes that as a PAINTED-plate inset, so
35
+ the hover (×1.1) / active pill clears the cross-axis clip edge with margin
36
+ — the same plate-inset-within-cell principle the icon-button consumes via
37
+ `--dock-control-safe-inset`. The text + min-height keep the box at the row;
38
+ only the painted fill insets (no box growth, no glyph reflow). */
39
+ background-clip: content-box;
32
40
  border-radius: var(--dock-control-radius, var(--radius-pill));
33
41
  /* Default font-size carries through to text-only tab content; consumers
34
42
  wrapping content in an explicit type utility (e.g. `text-hero`,
@@ -86,91 +94,24 @@
86
94
 
87
95
  /* Tier — primary ────────────────────────────────────────────
88
96
  *
89
- * Per W2.7 §9, §12, §13, §17. The primary tier composes three at-rest
90
- * marks (top-highlight, bottom under-shadow, baseline glass) with three
91
- * disco accents on hover (specular swap, sparkle sweep, disco-grain).
92
- *
93
- * Reservation: disco fires on hover only. At rest the button reads as
94
- * a Vignelli-restrained composed glass surface. The `--phase-color`
95
- * cascade (provided by `<InstrumentChassis>` via `data-phase`) tints
96
- * the disco-grain radial only on hover; idle is neutral.
97
- *
98
- * K.W6 Lane B — the canonical disco-grain + sparkle-sweep + specular
99
- * recipe lifted to `@utility btn-audacious` (utilities.css). The Vue
100
- * <DockTabButton> attaches `btn-audacious` automatically when the
101
- * consumer passes `data-tier="primary"`. The dock-local rules below
102
- * are STRICTLY the dock extension: structural shell (padding, base
103
- * surface tint, min-height) + phase-tint extensions (hover radial
104
- * uses `--phase-color`, plus the `[data-phase]` `::before` halo).
97
+ * BA.W-GLASS-CAL (H2a) — the disco COLLAPSED. The primary tier was a SECOND
98
+ * disco surface: it composed `@utility btn-audacious` (auto-attached by
99
+ * <DockTabButton> on `data-tier="primary"`) PLUS a dock-local phase-grain
100
+ * (the `--glass-grain-opacity-disco` + `--paper-clean-texture`/`--phase-color`
101
+ * radial hover) PLUS a `[data-phase]` `::before` rest-halo. With the disco
102
+ * retired, the primary tier keeps ONLY its STRUCTURAL shell (taller min-height,
103
+ * wider padding, the slightly-stronger base tint that distinguishes it from the
104
+ * secondary tier) and inherits the plain de-red'd dock-control glass hover
105
+ * register from the base `.dock-tab-button` rule above (bg → `--dock-control-
106
+ * hover-bg`, scale → `--scale-hover-dock`, the specular gleam — the SAME register
107
+ * `.dock-icon-button` speaks). No grain, no phase-radial, no rest-halo. The
108
+ * <DockTabButton> auto-attach of `btn-audacious` is removed (the utility is gone).
105
109
  */
106
110
  .dock-tab-button[data-tier="primary"] {
107
111
  --dock-tab-min-height: 4rem;
108
112
  padding-inline: 1.5rem;
109
113
  background: color-mix(in srgb, var(--card) 60%, transparent);
110
114
  color: var(--foreground);
111
-
112
- /* Phase-tint hover override — same disco-grain composition as
113
- * `btn-audacious`, but the radial uses `--phase-color` (instrument-
114
- * cluster axis) instead of the canonical `--primary`. The `--paper-
115
- * clean-texture` overlay and `--glass-specular` shadow stack are
116
- * inherited from the underlying `btn-audacious` utility. */
117
- /* AX.W52 D19 — the phase-tint hover radial DEMOTED: the prior
118
- * `ellipse at 30% 30%` at 18% was a loud top-LEFT corner hotspot. Toned to
119
- * 8% and the anchor shifted off the hard corner toward a softer top-biased
120
- * ellipse (`40% 25%`) with a tighter `transparent 55%` falloff, so it reads
121
- * as a surface lift rather than a corner glow — the disco hover identity
122
- * survives, the egregious corner bloom does not. */
123
- &:hover:not(:disabled) {
124
- --glass-grain-opacity: var(--glass-grain-opacity-disco, 0.08);
125
- background-image:
126
- var(--paper-clean-texture),
127
- radial-gradient(
128
- ellipse at 40% 25%,
129
- color-mix(
130
- in srgb,
131
- var(--phase-color, var(--foreground)) 8%,
132
- transparent
133
- ),
134
- transparent 55%
135
- );
136
- background-blend-mode: overlay, normal;
137
- background-size: var(--paper-texture-size), auto;
138
- }
139
-
140
- /* Q.W3.A.4 — phase-tint backplate halo at the pill wrapper.
141
- *
142
- * An inner glyph wrapper's own halo would be clipped by the pill's
143
- * `overflow: hidden` and never escape the glyph box. This `::before`
144
- * lifts the phase-tint to the pill itself so the glow composes with the
145
- * whole CTA. Scoped to active phases — at idle / ready the pill stays
146
- * neutral and inherits the W2.7 reservation ("disco fires on hover
147
- * only"). */
148
- /* AX.W52 D19 — the REST phase-halo `::before` (fires during a speedtest run
149
- * on the most prominent dock control) DEMOTED on the same axis as the hover
150
- * radial: 18%→8%, the hard `30% 30%` corner shifted to a softer `40% 25%`
151
- * top-biased ellipse with a tighter `transparent 55%` falloff, and the
152
- * `opacity: 1` dropped to 0.5 so the persistent run-time halo is a subtle
153
- * surface lift, not a corner bloom that washes the pill for the whole run. */
154
- &[data-phase]:not([data-phase="ready"]):not([data-phase="idle"])::before {
155
- content: "";
156
- position: absolute;
157
- inset: 0;
158
- border-radius: inherit;
159
- background: radial-gradient(
160
- ellipse at 40% 25%,
161
- color-mix(
162
- in srgb,
163
- var(--phase-color, var(--foreground)) 8%,
164
- transparent
165
- )
166
- 0%,
167
- transparent 55%
168
- );
169
- pointer-events: none;
170
- z-index: -1;
171
- opacity: 0.5;
172
- transition: opacity var(--duration-fast) var(--ease-standard);
173
- }
174
115
  }
175
116
 
176
117
  /* Tier — secondary ──────────────────────────────────────────
@@ -26,6 +26,13 @@
26
26
  cursor: pointer;
27
27
  border: none;
28
28
  background: transparent;
29
+ /* BA.W-DOCK-GEOMETRY — the control-plate clearance inset (DC-2). As on the
30
+ tab button: the trigger's OWN padding insets a content box within the
31
+ row-locked border box, and `background-clip: content-box` realizes that
32
+ as a PAINTED-plate inset so the hover (×1.1) / open pill clears the
33
+ cross-axis clip edge — the same plate-inset-within-cell principle the
34
+ icon-button consumes via `--dock-control-safe-inset`. No box growth. */
35
+ background-clip: content-box;
29
36
  border-radius: var(--dock-control-radius, var(--radius-pill));
30
37
  /* Shares the dock-icon-button legibility base (`--dock-fg-on-aurora`). */
31
38
  color: color-mix(