@mkbabb/glass-ui 5.0.0 → 6.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 (470) hide show
  1. package/README.md +30 -27
  2. package/dist/DropdownMenuTrigger-BzQtd9lt.js +65 -0
  3. package/dist/{FadingScroll-BSRLqQCx.js → FadingScroll-C1ZWEjmG.js} +32 -25
  4. package/dist/{Input-DKf-XwUM.js → Input-B4WQ_CMc.js} +1 -1
  5. package/dist/{PagerDots-BP6jh7z4.js → PagerDots-BoTQ7g5l.js} +123 -95
  6. package/dist/{accent-tone-solve-CBw3L0cy.js → accent-tone-solve-Dii9ePhK.js} +1 -1
  7. package/dist/animated-digit.js +1 -1
  8. package/dist/aurora.js +324 -314
  9. package/dist/blob-config.d.ts +0 -4
  10. package/dist/blob-config.js +1 -1
  11. package/dist/blob.js +280 -261
  12. package/dist/{button-BXzhydVB.js → button-32mg6xA8.js} +63 -56
  13. package/dist/button.js +1 -1
  14. package/dist/canvas.js +1 -1
  15. package/dist/{CardAction-2uUvjMQK.js → card-16xmzIr3.js} +29 -11
  16. package/dist/card.js +1 -1
  17. package/dist/carousel.d.ts +1 -2
  18. package/dist/carousel.js +26 -95
  19. package/dist/chip.d.ts +0 -9
  20. package/dist/chip.js +1 -1
  21. package/dist/collapsible.js +1 -1
  22. package/dist/color-swatch.js +1 -0
  23. package/dist/color.js +87 -3
  24. package/dist/{CommandShortcut-fmdbsEJL.js → command-BjPjUU9z.js} +56 -51
  25. package/dist/command.js +1 -1
  26. package/dist/completion-seal.js +64 -55
  27. package/dist/components/_shared/ModalOverlay.vue.d.ts +5 -52
  28. package/dist/components/_shared/field-surfaces.css +1 -0
  29. package/dist/components/_shared/menuItemVariants.d.ts +2 -2
  30. package/dist/components/_shared/useMotionAxis.d.ts +2 -2
  31. package/dist/components/_shared/valueDomain.d.ts +6 -0
  32. package/dist/components/alert/index.d.ts +1 -1
  33. package/dist/components/animated-digit/AnimatedDigit.vue.d.ts +1 -1
  34. package/dist/components/aurora/Aurora.vue.d.ts +7 -1
  35. package/dist/components/aurora/composables/runtime.d.ts +5 -3
  36. package/dist/components/aurora/composables/useAurora.d.ts +4 -2
  37. package/dist/components/avatar/AvatarImage.vue.d.ts +3 -1
  38. package/dist/components/badge/index.d.ts +2 -2
  39. package/dist/components/blob/Blob.vue.d.ts +11 -0
  40. package/dist/components/blob/composables/useMetaballRenderer.d.ts +2 -0
  41. package/dist/components/button/Button.vue.d.ts +4 -2
  42. package/dist/components/button/index.d.ts +2 -2
  43. package/dist/components/card/Card.vue.d.ts +4 -4
  44. package/dist/components/card/ScrollCard.vue.d.ts +1 -1
  45. package/dist/components/card/styles.css +1 -0
  46. package/dist/components/carousel/Carousel.vue.d.ts +2 -2
  47. package/dist/components/carousel/CarouselNext.vue.d.ts +1 -1
  48. package/dist/components/carousel/CarouselPrevious.vue.d.ts +1 -1
  49. package/dist/components/carousel/index.d.ts +0 -1
  50. package/dist/components/carousel/useCarousel.d.ts +2 -2
  51. package/dist/components/combobox/ComboboxList.vue.d.ts +1 -1
  52. package/dist/components/combobox/index.d.ts +1 -3
  53. package/dist/components/command/Command.vue.d.ts +1 -1
  54. package/dist/components/command/CommandDialog.vue.d.ts +9 -6
  55. package/dist/components/completion-seal/styles.css +1 -0
  56. package/dist/components/constellation/Constellation.vue.d.ts +6 -1
  57. package/dist/components/constellation/composables/useConstellation.d.ts +3 -16
  58. package/dist/components/constellation/constants.d.ts +6 -16
  59. package/dist/components/constellation/constellationField.d.ts +3 -5
  60. package/dist/components/constellation/constellationInteraction.d.ts +1 -1
  61. package/dist/components/constellation/constellationRender.d.ts +11 -21
  62. package/dist/components/constellation/constellationTypes.d.ts +12 -9
  63. package/dist/components/constellation/index.d.ts +1 -1
  64. package/dist/components/controls/DarkModeToggle.vue.d.ts +0 -2
  65. package/dist/components/data-table/DataTable.vue.d.ts +14 -2
  66. package/dist/components/data-table/index.d.ts +1 -2
  67. package/dist/components/data-table/types.d.ts +26 -1
  68. package/dist/components/deck/constants.d.ts +0 -10
  69. package/dist/components/deck/index.d.ts +0 -1
  70. package/dist/components/dialog/DialogContent.vue.d.ts +7 -1
  71. package/dist/components/dialog/index.d.ts +0 -1
  72. package/dist/components/dock/DockControl.vue.d.ts +4 -4
  73. package/dist/components/dock/DockStack.vue.d.ts +2 -2
  74. package/dist/components/dock/GlassDock.vue.d.ts +1 -0
  75. package/dist/components/dock/composables/dockMorphContext.d.ts +2 -0
  76. package/dist/components/dock/composables/dockMorphMeasure.d.ts +11 -1
  77. package/dist/components/dock/composables/useDockClickIntegrity.d.ts +4 -0
  78. package/dist/components/dock/composables/useDockOverflowFit.d.ts +3 -3
  79. package/dist/components/dock/composables/useDockPopover.d.ts +2 -0
  80. package/dist/components/dock/composables/useDockShellProps.d.ts +7 -0
  81. package/dist/components/dock/composables/useDockState.d.ts +2 -2
  82. package/dist/components/dock/constants.d.ts +0 -12
  83. package/dist/components/dock/index.d.ts +1 -0
  84. package/dist/components/dock/styles/adaptive-legibility.css +1 -0
  85. package/dist/components/dock/styles/controls/icon-button.css +1 -0
  86. package/dist/{styles/dock-controls → components/dock/styles/controls}/touch-floor.css +1 -1
  87. package/dist/components/dock/styles/controls.css +1 -0
  88. package/dist/{styles/dock → components/dock/styles}/density.css +1 -1
  89. package/dist/components/dock/styles/dock.css +1 -0
  90. package/dist/components/dock/styles/index.css +1 -0
  91. package/dist/components/dock/styles/layer-group.css +1 -0
  92. package/dist/components/dock/styles/layers.css +1 -0
  93. package/dist/components/dock/styles/overflow.css +1 -0
  94. package/dist/components/dock/styles/popover.css +1 -0
  95. package/dist/components/dock/styles/shape.css +1 -0
  96. package/dist/components/dock/styles/shell.css +1 -0
  97. package/dist/components/drawer/Drawer.vue.d.ts +3 -3
  98. package/dist/components/drawer/composables/drawerSnapContext.d.ts +3 -1
  99. package/dist/components/drawer/constants.d.ts +6 -6
  100. package/dist/components/drawer/index.d.ts +4 -6
  101. package/dist/components/drawer/styles.css +1 -0
  102. package/dist/components/dropdown-menu/DropdownMenuContent.vue.d.ts +1 -1
  103. package/dist/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts +9 -3
  104. package/dist/components/dropdown-menu/index.d.ts +0 -1
  105. package/dist/components/easing/EasingConfigurator.vue.d.ts +1 -1
  106. package/dist/components/easing/EasingPicker.vue.d.ts +2 -2
  107. package/dist/components/easing/composables/useEasingPicker.d.ts +4 -0
  108. package/dist/components/easing/constants.d.ts +2 -0
  109. package/dist/components/fading-scroll/composables/useFadingScroll.d.ts +3 -3
  110. package/dist/components/fourier-field/FourierField.vue.d.ts +7 -1
  111. package/dist/components/fourier-field/composables/useFourierField.d.ts +2 -1
  112. package/dist/components/handmark/HandMark.vue.d.ts +1 -1
  113. package/dist/components/handmark/geometry.d.ts +1 -1
  114. package/dist/components/handmark/index.d.ts +4 -6
  115. package/dist/components/icon-chip/styles.css +1 -0
  116. package/dist/components/index.d.ts +0 -1
  117. package/dist/components/infinite-scroll/index.d.ts +1 -0
  118. package/dist/components/instrument-chassis/styles.css +1 -0
  119. package/dist/components/labeled-field/LabeledField.vue.d.ts +12 -2
  120. package/dist/components/labeled-field/LabeledInput.vue.d.ts +10 -3
  121. package/dist/components/liquid-grid/LiquidGrid.vue.d.ts +4 -0
  122. package/dist/components/liquid-grid/composables/useLiquidGrid.d.ts +2 -1
  123. package/dist/components/metric-stack/MetricStack.vue.d.ts +1 -1
  124. package/dist/components/pager-dots/PagerDots.vue.d.ts +1 -1
  125. package/dist/components/popover/PopoverContent.vue.d.ts +1 -1
  126. package/dist/components/progress/Progress.vue.d.ts +5 -40
  127. package/dist/components/progress/ProgressDefault.vue.d.ts +1 -17
  128. package/dist/components/progress/ProgressGradient.vue.d.ts +1 -0
  129. package/dist/components/progress/ProgressLiquid.vue.d.ts +1 -0
  130. package/dist/components/progress/index.d.ts +0 -5
  131. package/dist/components/progress/valueMarks.css +1 -0
  132. package/dist/components/pulse/Pulse.vue.d.ts +2 -2
  133. package/dist/components/scroll-progress-rim/styles.css +1 -0
  134. package/dist/components/search/FuzzySearch.vue.d.ts +4 -2
  135. package/dist/components/search/SearchBar.vue.d.ts +2 -2
  136. package/dist/components/search/searchVariants.d.ts +1 -1
  137. package/dist/components/select/SelectContent.vue.d.ts +1 -1
  138. package/dist/components/select/index.d.ts +0 -2
  139. package/dist/components/skeleton/Skeleton.vue.d.ts +1 -1
  140. package/dist/components/slider/Slider.vue.d.ts +2 -0
  141. package/dist/components/split-chars/SplitChars.vue.d.ts +1 -1
  142. package/dist/components/surface/Surface.vue.d.ts +1 -1
  143. package/dist/components/table/Table.vue.d.ts +4 -0
  144. package/dist/components/tabs/SegmentedTabs.vue.d.ts +10 -0
  145. package/dist/components/tabs/index.d.ts +1 -1
  146. package/dist/components/tabs/styles/drag.css +1 -0
  147. package/dist/components/tags-input/TagsInput.vue.d.ts +2 -2
  148. package/dist/components/timeline/ContinuousTimeline.vue.d.ts +1 -1
  149. package/dist/components/timeline/GlassTimeline.vue.d.ts +4 -4
  150. package/dist/components/toast/Toast.vue.d.ts +3 -3
  151. package/dist/components/toast/use-toast.d.ts +4 -4
  152. package/dist/components/typewriter/TypewriterText.vue.d.ts +1 -4
  153. package/dist/components/typewriter/composables/useTypewriter.d.ts +0 -1
  154. package/dist/components/typewriter/utils/graphemes.d.ts +1 -0
  155. package/dist/components/watercolor-dot/WatercolorDot.vue.d.ts +2 -2
  156. package/dist/composables/glass/useGlassBackdropLuminance.d.ts +31 -0
  157. package/dist/composables/glass/webgpu/rendererStatus.d.ts +13 -0
  158. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +3 -0
  159. package/dist/composables/glass/webgpu/webgpuCanvasTypes.d.ts +2 -0
  160. package/dist/composables/motion/springProjection.d.ts +16 -0
  161. package/dist/composables/motion/useAnimatedNumber.d.ts +1 -6
  162. package/dist/composables/motion/useCountup.d.ts +1 -6
  163. package/dist/composables/motion/useDockCtaReceive.d.ts +55 -0
  164. package/dist/composables/motion/useElementMorph.d.ts +8 -0
  165. package/dist/composables/motion/useLiquidPress.d.ts +12 -4
  166. package/dist/composables/motion/useNumericTransition.d.ts +2 -0
  167. package/dist/composables/motion/useTextHighlight.d.ts +2 -1
  168. package/dist/configurator-CSENXXSy.js +311 -0
  169. package/dist/configurator.js +2 -3
  170. package/dist/constellation.js +235 -571
  171. package/dist/controls.js +55 -63
  172. package/dist/{createCanvasLifecycle-DlrcvWbb.js → createCanvasLifecycle-hsFkQVdl.js} +32 -32
  173. package/dist/dark-DIH-blY1.js +70 -0
  174. package/dist/dark.d.ts +1 -2
  175. package/dist/dark.js +2 -20
  176. package/dist/{DataTable-Bxya8nBn.js → data-table-DveMdgBM.js} +231 -120
  177. package/dist/data-table.js +2 -2
  178. package/dist/deck.js +10 -21
  179. package/dist/dialog-BzQxKrUr.js +281 -0
  180. package/dist/dialog.js +2 -3
  181. package/dist/dock.js +561 -428
  182. package/dist/{dockContext-d-WpJN2Z.js → dockContext-4S9qP0Z4.js} +1 -1
  183. package/dist/dom.js +196 -7
  184. package/dist/drawer.js +111 -66
  185. package/dist/dropdown-menu-DORIA52F.js +378 -0
  186. package/dist/dropdown-menu.js +3 -2
  187. package/dist/easing.d.ts +0 -9
  188. package/dist/easing.js +334 -187
  189. package/dist/expandable-container.js +12 -4
  190. package/dist/fading-scroll.js +1 -1
  191. package/dist/focus-scope.js +1 -1
  192. package/dist/forms.js +37 -78
  193. package/dist/fourier-field.js +273 -263
  194. package/dist/fourier-math.d.ts +0 -6
  195. package/dist/fourier-math.js +112 -2
  196. package/dist/glass-ui.css +1 -1
  197. package/dist/glass-ui.js +131 -195
  198. package/dist/handmark.d.ts +0 -2
  199. package/dist/handmark.js +82 -82
  200. package/dist/header-ribbon.js +41 -30
  201. package/dist/{IconChip-CwLmBJ_K.js → icon-chip-BWuxz1-u.js} +1 -1
  202. package/dist/icon-chip.js +1 -1
  203. package/dist/{IconTooltip-D9sbK-Mk.js → icon-tooltip-CO6rw0dZ.js} +1 -1
  204. package/dist/icon-tooltip.js +1 -1
  205. package/dist/index.d.ts +0 -1
  206. package/dist/infinite-scroll.d.ts +0 -1
  207. package/dist/infinite-scroll.js +17 -15
  208. package/dist/instrument-chassis.js +1 -1
  209. package/dist/keyboard.js +104 -2
  210. package/dist/label.js +1 -1
  211. package/dist/labeled-field.js +95 -69
  212. package/dist/liquid-grid.js +173 -162
  213. package/dist/metric-badge.js +3 -3
  214. package/dist/metric-cell.js +2 -2
  215. package/dist/metric-stack.js +1 -1
  216. package/dist/motion-core.js +15 -16
  217. package/dist/motion-curves.d.ts +0 -20
  218. package/dist/motion.js +59 -58
  219. package/dist/{Notification-DQv2cOh9.js → notification-DVs7ODMg.js} +17 -8
  220. package/dist/notification.js +1 -1
  221. package/dist/{NumberFieldContent-BkE7xPS9.js → number-field-PvkGedHk.js} +2 -2
  222. package/dist/number-field.js +1 -1
  223. package/dist/pager-dots.js +1 -1
  224. package/dist/paper-backdrop.js +31 -2
  225. package/dist/{PopoverContent-DOtszFWK.js → popover-WMgyRSyN.js} +7 -2
  226. package/dist/popover.js +1 -1
  227. package/dist/procedural-color.wgsl-B9mLK7v0.js +377 -0
  228. package/dist/progress-C-HHuFZy.js +192 -0
  229. package/dist/progress.js +2 -2
  230. package/dist/pulse.js +3 -1
  231. package/dist/reactive.js +19 -3
  232. package/dist/rendererStatus-C2-zC2Q-.js +40 -0
  233. package/dist/{resolveCanvasColor-B3L-akX0.js → resolveCanvasColor-yarP5bdk.js} +1 -1
  234. package/dist/scroll-progress-rim.js +1 -1
  235. package/dist/search.js +187 -146
  236. package/dist/{SelectScrollDownButton-CDtwaWkZ.js → select-BIv4R3Ir.js} +109 -44
  237. package/dist/select.js +2 -4
  238. package/dist/separator-CBU94kTM.js +62 -0
  239. package/dist/separator.js +1 -1
  240. package/dist/sidebar.js +1 -1
  241. package/dist/slider-Cc_qw6GA.js +166 -0
  242. package/dist/slider.js +1 -1
  243. package/dist/sortable-list.js +43 -43
  244. package/dist/styles/accessibility.css +1 -0
  245. package/dist/styles/components.css +1 -1
  246. package/dist/styles/glass/control-surfaces.css +1 -1
  247. package/dist/styles/glass/glass-capsule.css +1 -1
  248. package/dist/styles/glass/ladder.css +1 -1
  249. package/dist/styles/glass/liquid-fill.css +1 -1
  250. package/dist/styles/glass/material-roles.css +1 -0
  251. package/dist/styles/glass/material.css +1 -1
  252. package/dist/styles/glass/surface-axis.css +1 -1
  253. package/dist/styles/glass/surfaces-pager.css +1 -1
  254. package/dist/styles/glass/surfaces.css +1 -1
  255. package/dist/styles/glass.css +1 -1
  256. package/dist/styles/index.css +1 -1
  257. package/dist/styles/theme/bridges.css +1 -1
  258. package/dist/styles/tokens/glass-fx.css +1 -1
  259. package/dist/styles/tokens/glass.css +1 -1
  260. package/dist/styles/tokens/offsets.css +1 -1
  261. package/dist/styles/tokens/scale-paper.css +1 -1
  262. package/dist/styles/tokens/scheme-spring.css +1 -1
  263. package/dist/styles/tokens/shadow.css +1 -1
  264. package/dist/styles/tokens.d.ts +53 -0
  265. package/dist/styles/tokens.ts +58 -0
  266. package/dist/styles/typography/scale.css +1 -1
  267. package/dist/styles/typography/semantic.css +1 -1
  268. package/dist/styles/typography/utilities.css +1 -1
  269. package/dist/styles/utilities/base.css +1 -1
  270. package/dist/styles/utilities/btn.css +1 -1
  271. package/dist/styles/utilities/components.css +1 -1
  272. package/dist/styles/utilities.css +1 -1
  273. package/dist/{Switch-BPBfhMU3.js → switch-Boj4Ucn5.js} +1 -1
  274. package/dist/switch.js +1 -1
  275. package/dist/tabs.js +51 -45
  276. package/dist/timeline.js +2 -2
  277. package/dist/toast.js +1 -1
  278. package/dist/{ToggleGroupItem-DNWx2aSW.js → toggle-group-BPchFsns.js} +10 -7
  279. package/dist/toggle-group.js +1 -1
  280. package/dist/tokens.d.ts +1 -53
  281. package/dist/tokens.js +1 -1
  282. package/dist/{TooltipProvider-GtfYdSVf.js → tooltip-BmOQJzh0.js} +1 -0
  283. package/dist/tooltip.js +1 -1
  284. package/dist/typewriter.js +151 -166
  285. package/dist/{useAccentTone-D25DxviG.js → useAccentTone-C-p6WdPe.js} +1 -1
  286. package/dist/{useAnimatedNumber-2XC4aRB6.js → useAnimatedNumber-BRVVaFFc.js} +1 -1
  287. package/dist/useDockCtaReceive-CK-RLASa.js +257 -0
  288. package/dist/{useGooMorph-CU1pwuC6.js → useGooMorph-D1F6QJlH.js} +140 -59
  289. package/dist/{useIntersectionPause-Cmt5Tnv9.js → useIntersectionPause-B-dbxl9w.js} +1 -1
  290. package/dist/useLiquidPress-BYcwwGQV.js +68 -0
  291. package/dist/{useRAFLoop-CvOo_kgb.js → useRAFLoop-BtwQ9DyY.js} +1 -1
  292. package/dist/{useScrollProgress-C-yImzhU.js → useScrollProgress-DZI4nf4v.js} +1 -1
  293. package/dist/{useSelectionGroup-Btpf24aY.js → useSelectionGroup-LDzBdR1Y.js} +3 -3
  294. package/dist/{useTabRovingFocus-CG1H1k1J.js → useTabRovingFocus-DkLYwo4L.js} +1 -1
  295. package/dist/{useTouchGate-BlegwvwL.js → useTouchGate-Cj5fOkTv.js} +1 -1
  296. package/dist/valueDomain-B8L04u3U.js +13 -0
  297. package/dist/watercolor-dot.js +5 -3
  298. package/package.json +5 -12
  299. package/src/styles/accessibility.css +48 -0
  300. package/src/styles/glass/glass-capsule.css +2 -2
  301. package/src/styles/glass/ladder.css +1 -1
  302. package/src/styles/glass/material-roles.css +18 -0
  303. package/src/styles/glass/material.css +18 -12
  304. package/src/styles/glass.css +5 -5
  305. package/src/styles/index.css +38 -30
  306. package/src/styles/theme/bridges.css +0 -6
  307. package/src/styles/tokens/glass-fx.css +1 -5
  308. package/src/styles/tokens/glass.css +1 -2
  309. package/src/styles/tokens/offsets.css +0 -1
  310. package/src/styles/tokens/property-regs.css +11 -10
  311. package/src/styles/tokens/scale-paper.css +0 -1
  312. package/src/styles/tokens/scheme-motion.css +3 -0
  313. package/src/styles/tokens/scheme-spring.css +0 -10
  314. package/src/styles/tokens/shadow.css +3 -29
  315. package/src/styles/tokens.ts +58 -0
  316. package/src/styles/typography/scale.css +5 -2
  317. package/src/styles/typography/semantic.css +5 -5
  318. package/src/styles/typography/utilities.css +5 -5
  319. package/src/styles/utilities/base.css +5 -5
  320. package/src/styles/utilities/btn.css +6 -27
  321. package/src/styles/utilities.css +4 -6
  322. package/dist/ConfiguratorRow-BV6zPjTM.js +0 -151
  323. package/dist/DialogContent-Bl4v10AC.js +0 -192
  324. package/dist/DialogFooter-C0v4Hz2F.js +0 -168
  325. package/dist/PaperBackdrop-BYwE8_kg.js +0 -31
  326. package/dist/Progress-uWLyXE7J.js +0 -308
  327. package/dist/SelectGroup-BuEptUsa.js +0 -31
  328. package/dist/SelectSeparator-4QGephvr.js +0 -49
  329. package/dist/Separator-DqJ6PfOd.js +0 -44
  330. package/dist/color-Bp5jmv4Z.js +0 -86
  331. package/dist/components/carousel/GlassCarouselPager.vue.d.ts +0 -50
  332. package/dist/components/combobox/ComboboxSeparator.vue.d.ts +0 -18
  333. package/dist/components/combobox/ComboboxViewport.vue.d.ts +0 -18
  334. package/dist/components/constellation/composables/constellationGLSetup.d.ts +0 -10
  335. package/dist/components/constellation/composables/constellationWGPUSetup.d.ts +0 -19
  336. package/dist/components/constellation/composables/uniformBridgeWGPU.d.ts +0 -66
  337. package/dist/components/constellation/shaders/constellation-lines.glsl.d.ts +0 -2
  338. package/dist/components/constellation/shaders/constellation-lines.wgsl.d.ts +0 -1
  339. package/dist/components/constellation/shaders/constellation-points.glsl.d.ts +0 -2
  340. package/dist/components/constellation/shaders/constellation-points.wgsl.d.ts +0 -1
  341. package/dist/components/deck/composables/useDeckSpring.d.ts +0 -22
  342. package/dist/components/dialog/DialogScrollContent.vue.d.ts +0 -33
  343. package/dist/components/progress/ProgressSectioned.vue.d.ts +0 -47
  344. package/dist/components/progress/useProgressGeometry.d.ts +0 -60
  345. package/dist/components/section/Section.vue.d.ts +0 -73
  346. package/dist/components/section/index.d.ts +0 -1
  347. package/dist/components/stacked-icons/StackedIconGroup.vue.d.ts +0 -30
  348. package/dist/components/stacked-icons/index.d.ts +0 -2
  349. package/dist/components/stacked-icons/types.d.ts +0 -19
  350. package/dist/dropdown-menu-DaGlVdp9.js +0 -421
  351. package/dist/math-CIEcwsYi.js +0 -112
  352. package/dist/procedural-color.wgsl-ByduxnzV.js +0 -4
  353. package/dist/slider-Cxuj_W_H.js +0 -151
  354. package/dist/stacked-icons.d.ts +0 -1
  355. package/dist/stacked-icons.js +0 -98
  356. package/dist/styles/cards.css +0 -1
  357. package/dist/styles/completion-seal.css +0 -1
  358. package/dist/styles/dock/adaptive-legibility.css +0 -1
  359. package/dist/styles/dock/dock.css +0 -1
  360. package/dist/styles/dock/layer-group.css +0 -1
  361. package/dist/styles/dock/layers.css +0 -1
  362. package/dist/styles/dock/overflow.css +0 -1
  363. package/dist/styles/dock/popover.css +0 -1
  364. package/dist/styles/dock/shape.css +0 -1
  365. package/dist/styles/dock/shell.css +0 -1
  366. package/dist/styles/dock-controls/icon-button.css +0 -1
  367. package/dist/styles/dock-controls.css +0 -1
  368. package/dist/styles/dock.css +0 -1
  369. package/dist/styles/drawer.css +0 -1
  370. package/dist/styles/icon-chip.css +0 -1
  371. package/dist/styles/instrument-chassis.css +0 -1
  372. package/dist/styles/scroll-progress-rim.css +0 -1
  373. package/dist/styles/select.css +0 -1
  374. package/dist/styles/tabs/segmented-tabs-drag.css +0 -1
  375. package/dist/styles/utilities/animate.css +0 -0
  376. package/dist/useConfiguratorState-Dq35N_7t.js +0 -167
  377. package/dist/useDockCtaReceive-BgMmeINo.js +0 -161
  378. package/dist/useGlobalDark-DjKMEQE2.js +0 -53
  379. package/dist/useGpuSubstrate-DcY584kE.js +0 -347
  380. package/dist/useInterval-ZATRi-1T.js +0 -18
  381. package/dist/useKeyboardShortcuts-ynVmNFo3.js +0 -104
  382. package/dist/useLiquidPress-BXNHydZh.js +0 -40
  383. package/dist/useTextHighlight-C46Le9u_.js +0 -72
  384. package/dist/useViewportReady-c0isoKL8.js +0 -191
  385. package/src/styles/card-scroll.css +0 -189
  386. package/src/styles/cards.css +0 -485
  387. package/src/styles/completion-seal.css +0 -205
  388. package/src/styles/configurator.css +0 -359
  389. package/src/styles/dialog-placement.css +0 -68
  390. package/src/styles/dock/adaptive-legibility.css +0 -119
  391. package/src/styles/dock/crossfade.css +0 -139
  392. package/src/styles/dock/cta-seat.css +0 -87
  393. package/src/styles/dock/density.css +0 -458
  394. package/src/styles/dock/dock.css +0 -199
  395. package/src/styles/dock/fisheye.css +0 -81
  396. package/src/styles/dock/layer-group.css +0 -329
  397. package/src/styles/dock/layers.css +0 -438
  398. package/src/styles/dock/morph.css +0 -455
  399. package/src/styles/dock/overflow.css +0 -332
  400. package/src/styles/dock/popover.css +0 -249
  401. package/src/styles/dock/search.css +0 -68
  402. package/src/styles/dock/section.css +0 -59
  403. package/src/styles/dock/shape.css +0 -188
  404. package/src/styles/dock/shell-regions.css +0 -73
  405. package/src/styles/dock/shell.css +0 -500
  406. package/src/styles/dock-controls/dark-mode-toggle.css +0 -123
  407. package/src/styles/dock-controls/icon-button.css +0 -221
  408. package/src/styles/dock-controls/tab-button.css +0 -143
  409. package/src/styles/dock-controls/touch-floor.css +0 -119
  410. package/src/styles/dock-controls/triggers.css +0 -157
  411. package/src/styles/dock-controls.css +0 -92
  412. package/src/styles/dock.css +0 -219
  413. package/src/styles/drawer.css +0 -434
  414. package/src/styles/feedback-tone.css +0 -104
  415. package/src/styles/icon-chip.css +0 -256
  416. package/src/styles/instrument-chassis.css +0 -449
  417. package/src/styles/menu.css +0 -187
  418. package/src/styles/scroll-progress-rim.css +0 -87
  419. package/src/styles/segmented-tabs.css +0 -424
  420. package/src/styles/select.css +0 -201
  421. package/src/styles/tabs/segmented-tabs-drag.css +0 -200
  422. package/src/styles/utilities/animate.css +0 -29
  423. /package/dist/{coalesce-metric-B8o7zT9u.js → coalesce-metric-znAcLzkB.js} +0 -0
  424. /package/dist/{CollapsibleContent-DiHcB_HH.js → collapsible-bPzS1aQk.js} +0 -0
  425. /package/dist/{compile-C55K3P9g.js → compile-DK3Fri1B.js} +0 -0
  426. /package/dist/{styles → components/_shared}/feedback-tone.css +0 -0
  427. /package/dist/{styles → components/_shared}/menu.css +0 -0
  428. /package/dist/{styles → components/card}/card-scroll.css +0 -0
  429. /package/dist/{styles/configurator.css → components/configurator/styles.css} +0 -0
  430. /package/dist/{styles/dock-controls → components/controls}/dark-mode-toggle.css +0 -0
  431. /package/dist/{styles/dialog-placement.css → components/dialog/placement.css} +0 -0
  432. /package/dist/{styles/dock-controls → components/dock/styles/controls}/tab-button.css +0 -0
  433. /package/dist/{styles/dock-controls → components/dock/styles/controls}/triggers.css +0 -0
  434. /package/dist/{styles/dock → components/dock/styles}/crossfade.css +0 -0
  435. /package/dist/{styles/dock → components/dock/styles}/cta-seat.css +0 -0
  436. /package/dist/{styles/dock → components/dock/styles}/fisheye.css +0 -0
  437. /package/dist/{styles/dock → components/dock/styles}/morph.css +0 -0
  438. /package/dist/{styles/dock → components/dock/styles}/search.css +0 -0
  439. /package/dist/{styles/dock → components/dock/styles}/section.css +0 -0
  440. /package/dist/{styles/dock → components/dock/styles}/shell-regions.css +0 -0
  441. /package/dist/{styles/segmented-tabs.css → components/tabs/styles/segmented.css} +0 -0
  442. /package/dist/{constants-D8lSMkOz.js → constants-DRZmNIY-.js} +0 -0
  443. /package/dist/{createContext-BQ1Gy_LB.js → createContext-FU0n5MGK.js} +0 -0
  444. /package/dist/{flow.glsl-CVqPSj8_.js → flow.glsl-DEGFGE11.js} +0 -0
  445. /package/dist/{FocusScope-BzKwhsBn.js → focus-scope-DUTKveod.js} +0 -0
  446. /package/dist/{InstrumentChassis-Dss5Tjcm.js → instrument-chassis-Cvstg4_U.js} +0 -0
  447. /package/dist/{Label-C84TaQiw.js → label-Cj38tJKG.js} +0 -0
  448. /package/dist/{menuItemVariants-DbO-Fr74.js → menuItemVariants-D6AOzzND.js} +0 -0
  449. /package/dist/{pointerFieldMappings-4VtmkOWv.js → pointerFieldMappings-CZojkgKj.js} +0 -0
  450. /package/dist/{presets-B07HzyKd.js → presets-CxeNvxuO.js} +0 -0
  451. /package/dist/{prng-B0PLRmR6.js → prng-Dz2_9RJu.js} +0 -0
  452. /package/dist/{scrollReader-DzYqPQ6V.js → scrollReader-C2oK9Hb8.js} +0 -0
  453. /package/dist/{supportsCssTimeline-Ie4xJFbD.js → supportsCssTimeline-Dz-GVxXM.js} +0 -0
  454. /package/dist/{Toaster-C_-WeU9W.js → toast-kAbchIN2.js} +0 -0
  455. /package/dist/{useControlSize-DJwe-7ZQ.js → useControlSize-CFfOk8I-.js} +0 -0
  456. /package/dist/{useDocumentVisibility-CpJGUgcJ.js → useDocumentVisibility-YeBDGqtI.js} +0 -0
  457. /package/dist/{useDragMorph-65ihHePq.js → useDragMorph-7ygF9O0m.js} +0 -0
  458. /package/dist/{useDragVelocity-BWcNMCux.js → useDragVelocity-CbMZEBaC.js} +0 -0
  459. /package/dist/{useFuzzySearch-KslRxiJY.js → useFuzzySearch-BOgep7RE.js} +0 -0
  460. /package/dist/{useLeadTrail-DOH4XkL1.js → useLeadTrail-BYu8dq4G.js} +0 -0
  461. /package/dist/{usePointerVelocityField-CwXyeW0Z.js → usePointerVelocityField-BdvnO0py.js} +0 -0
  462. /package/dist/{useResizeObserver-DDuoBeBo.js → useResizeObserver-BcUTquV7.js} +0 -0
  463. /package/dist/{useResolveTokenColor-DVT5kwv6.js → useResolveTokenColor-C07e-qaT.js} +0 -0
  464. /package/dist/{useRoutePointer-DL7I0gY4.js → useRoutePointer-BDNMFN73.js} +0 -0
  465. /package/dist/{useSpringMount-CNvvgGiC.js → useSpringMount-C6-DBx4e.js} +0 -0
  466. /package/dist/{useTimer-CkDV8SC2.js → useTimer-D8koDvJS.js} +0 -0
  467. /package/dist/{useUserInvalidAria-Bkruei7M.js → useUserInvalidAria-Cr4nR3tu.js} +0 -0
  468. /package/dist/{vReveal-DUmiEkX_.js → vReveal-DZfWl9XI.js} +0 -0
  469. /package/dist/{vSpecular-DlYN0UZy.js → vSpecular-CQFmLNzA.js} +0 -0
  470. /package/dist/{writeVelocityWeight-D1rvdxJu.js → writeVelocityWeight-D_AcvTsE.js} +0 -0
@@ -1,92 +0,0 @@
1
- /* Dock CONTROL-family styles — thin @import root over dock-controls/*.css
2
- (AZ.W-CARVE — the AU.W8b.3 monolith drained its no-god-module ratchet row).
3
- *
4
- * dock.css keeps the shell / density / grain / layer-crossfade contract + the
5
- * shared cross-control four-state contract (the `:focus-visible` / `:disabled`
6
- * comma-groups + the motion-token `:where()` group, which reference these
7
- * control selectors but are shared, not per-control). This file owns the FIVE
8
- * control families themselves, carved into cohesive partials each under the
9
- * 500-line bound, @import-ed below in CASCADE ORDER into the SAME
10
- * `@layer components` (the carve moves rules across files in the same source
11
- * position → byte-isomorphic dist; the no-god-module import-order gate witnesses):
12
- * 1. dock-controls/icon-button.css `.dock-icon-button` (base / states / glyph / --compact)
13
- * 2. dock-controls/dark-mode-toggle.css `.dark-mode-toggle-button` (sizes / in-dock glyph inset)
14
- * 3. dock-controls/tab-button.css `.dock-tab-button` (base / tier-primary / tier-secondary)
15
- * 4. dock-controls/triggers.css `.dock-select-trigger` / `.dock-dropdown-trigger` (base / states / __chevron)
16
- * 5. dock-controls/touch-floor.css the coarse @media touch floor + the vertical-rail SELECTED register
17
- *
18
- * The shared cross-family `:where()` group (the small-tile specular sizing
19
- * re-point) stays at THIS root — exactly as the dock.css carve kept its shared
20
- * `:where()` four-state contract at ITS root — because it references every
21
- * control selector and nesting it under one control would change coverage.
22
- *
23
- * AU.W8b.2 — the per-family parent+state clusters use native `&`-nesting
24
- * (Baseline Widely available 2023; Lightning CSS down-compiles so the shipped
25
- * `dist` CSS is flat with IDENTICAL specificity). The cross-family comma-groups
26
- * stay UN-nested (nesting under one control would change coverage).
27
- *
28
- * Imported by index.css directly after dock.css in the same `@layer components`
29
- * (cascade rung 6b) — no new subpath; it ships inside `/styles`.
30
- *
31
- * CSS `@import` rules must precede every other rule (the dock.css precedent),
32
- * so the five family partials @import FIRST; the shared cross-family `:where()`
33
- * group follows in its own `@layer components`. The `:where()` group has ZERO
34
- * specificity and sets `--glass-specular-size` on the control family — no family
35
- * partial re-sets that property, so its source position (after the imports vs
36
- * before) is cascade-immaterial; the byte-isomorphism witness (§4) is the arbiter. */
37
- @import "./dock-controls/icon-button.css";
38
- @import "./dock-controls/dark-mode-toggle.css";
39
- @import "./dock-controls/tab-button.css";
40
- @import "./dock-controls/triggers.css";
41
- @import "./dock-controls/touch-floor.css";
42
-
43
- @layer components {
44
- /* BD.W-DOCK-CORE (A12) — the draggable-item GRAB squish. A grabbed dock item
45
- (`.glass-drag-lift`, written by useDockItemDrag while the gesture is in flight)
46
- deforms with the volume-preserving `--stretch` register (the SHARED useLiquidFlex
47
- "tanh" squish the tab indicator + dock morph already speak — ONE squish source, no
48
- forked deformation). The grab follows the pointer via the JS-written `transform:
49
- translate` (the compositor follow); this rule adds the gel-squish scale ON the
50
- grabbed plate (stretch along the drag axis, compress across — volume-preserving).
51
- The dock grabbable cursor + touch-action sit on `.glass-drag-grabbable` (the dock
52
- root) via segmented-tabs.css. At rest `--stretch` is unset → 1/1 (no deform). The
53
- global PRM gate strips `scale` → no squish under reduce (the gesture still follows).
54
- Horizontal docks stretch X / compress Y; vertical stretch Y / compress X. */
55
- .glass-dock.dock-items-draggable:not(.vertical) .dock-icon-button.glass-drag-lift {
56
- scale: var(--stretch, 1) calc(1 / var(--stretch, 1));
57
- }
58
- .glass-dock.dock-items-draggable.vertical .dock-icon-button.glass-drag-lift {
59
- scale: calc(1 / var(--stretch, 1)) var(--stretch, 1);
60
- }
61
-
62
- /* AV.W9.3 — momentum-gated dock-control press spring. The `:active` squish
63
- toward `--scale-press-dock` settles on a NO-OVERSHOOT spring (Apple,
64
- "Designing Fluid Interfaces": default 100% damping — no bounce — for a tap;
65
- reserve bounce for surfaces driven by gesture MOMENTUM). The dock controls
66
- are tap surfaces (no momentum).
67
-
68
- AY.W-DOCK2 (D6) — the per-surface re-point of `--dock-press-spring` to
69
- `--spring-smooth` is DELETED here: the ROOT token (`tokens.css`) IS the §6
70
- doctrine register now (`--spring-smooth`), so the re-point was a dead
71
- byte-identical redeclaration — the exact per-surface fork the §6 doctrine
72
- claims to have killed. The dock controls inherit the correct smooth
73
- transform-press register straight from the ROOT token; this `:where()` group
74
- keeps ONLY the small-tile specular sizing below. */
75
- :where(
76
- .dock-icon-button,
77
- .dock-tab-button,
78
- .dock-select-trigger,
79
- .dock-dropdown-trigger
80
- ) {
81
- /* AX.W45-TUNE C4/C5 — the small-tile specular sizing. The dock controls are
82
- ~40px tiles, a fraction of a card's plate, so the global 36% specular
83
- radius blooms a tile-filling disc (the I.W6 finding). The family re-points
84
- `--glass-specular-size` to the tighter `--dock-control-specular-size` (22%,
85
- tokens.css), so the SHARED `.glass-material::before` catch-light recipe
86
- (glass.css) paints a restrained EDGE-catch on the small tile WITHOUT
87
- forking the recipe — the gleam wakes on hover/active (the cohort's 0.1/0.16
88
- rungs), sized for the tile. The rest intensity stays 0 (the default-off
89
- discipline) so the resting tile carries NO bloom. */
90
- --glass-specular-size: var(--dock-control-specular-size, 22%);
91
- }
92
- }
@@ -1,219 +0,0 @@
1
- /* Dock primitives exported through @mkbabb/glass-ui/styles.
2
- *
3
- * This file is the CORE of the dock component family — the `@property
4
- * --dock-morph-t` registration, the @layer-components OPEN, the SHARED
5
- * cross-control four-state contract (the :focus-visible / :disabled comma-groups
6
- * + the motion-token :where() group — they reference every control selector but
7
- * are shared, so they live at the import root, not per-control), and the
8
- * `@import`s of the cohesive `dock/*.css` partials.
9
- *
10
- * AX.W06 — the 1762-line dock.css god-module (slice 25) was CARVED into
11
- * src/styles/dock/ cohesive single-axis partials, each under the 500-line bound,
12
- * @import-ed below in cascade order into the SAME `@layer components` so the
13
- * carve is isomorphic (same layer, same source order → ZERO visual delta):
14
- * - dock/shell.css — the `.glass-dock` structural skeleton (root, W02
15
- * morph-clip aperture, grain, vertical-root, shape /
16
- * variant plates, position, W45 #persistent + vertical
17
- * three-region body).
18
- * - dock/morph.css — the W01 single-scalar morph chrome + state response
19
- * (--dock-expand-t interp, collapsed/summary, held /
20
- * open).
21
- * - dock/adaptive-legibility.css — the darken-over-light self-engage (the
22
- * continuous backdrop-luma tint clamp, the warm-chromatic
23
- * dock ink, the @container light bucket, contrast-color()
24
- * refinement, the PRM reveal-blur carve). Split from
25
- * morph.css to keep both partials under the 500-line bound.
26
- * - dock/density.css — the W45 density × --dock-scale cascade.
27
- * - dock/layers.css — the `.dock-layer` crossfade + hit-test + reveal-
28
- * stagger contract + the `layout="grid"` tile grid.
29
- * - dock/layer-group.css — `.dock-layer-group` / layer-switcher rail / stack.
30
- * - dock/overflow.css — the `overflow=` scroll/wrap strategies + the coarse
31
- * multiplier.
32
- *
33
- * The FIVE interactive control families stay in dock-controls.css (the AU.W8b.3
34
- * carve, @import-ed by index.css directly after this file). The Vue SFCs own
35
- * structure + runtime behavior; selectors, motion, glass, and layering tokens
36
- * live here + in the partials so consumers have one public CSS path. */
37
-
38
- /* CSS `@import` rules must precede every other rule (a `@property`/`@layer`
39
- block after an `@import` would render it invalid + dropped). The six partials
40
- @import in cascade order; each opens its own `@layer components` so the layered
41
- cascade is preserved bit-for-bit (the carve-isomorphism gate is the witness). */
42
- @import "./dock/shell.css";
43
- /* BG.W-CLOSEFIX-9SITE — the `#persistent` region + vertical layer-stack body carved out
44
- of shell.css's tail to hold the no-god-module 500-line bound. @import-ed IMMEDIATELY
45
- AFTER dock/shell.css and BEFORE dock/morph.css, in the SAME @layer components — the
46
- persistent-region block was the tail of shell.css (disjoint selectors), so the carve
47
- is isomorphic (same layer, same source order → ZERO visual delta). */
48
- @import "./dock/shell-regions.css";
49
- /* BI.W-DOCK-SPINE — the GREENFIELD three-z-layer plate SPINE (L0 `.dock-plate` clip-path
50
- lens off `--dock-t` / L1 `.dock-controls` overflow:visible / L2 top-layer). @import-ed
51
- AFTER the structural shell + BEFORE morph.css so the plate BASE surface lands first and
52
- morph.css's collapsed↔expanded interp (retargeted onto `.dock-plate`) source-order-wins.
53
- Splits `.glass-dock`'s triple identity (surface + clip aperture + item container) — the
54
- FAM-3 dock-disease terminal cure. */
55
- @import "./dock/dock.css";
56
- @import "./dock/morph.css";
57
- @import "./dock/adaptive-legibility.css";
58
- @import "./dock/density.css";
59
- @import "./dock/shape.css";
60
- @import "./dock/layers.css";
61
- @import "./dock/layer-group.css";
62
- /* BI.W-DOCK-CROSSFADE — the ONE crossfade-slot rule (`.dock-crossfade`/`.dock-face`/
63
- `.dock-face-content`), the FOLD of `DockLayerGroup`/`DockLayer`/`useLayerTransition`
64
- into a two-child opacity overlap on the per-face `--dock-t` + a measure-once peak
65
- `min-block-size` + the G12 content-wrapper clip. @import-ed AFTER layers/layer-group
66
- (their `.dock-layer-item-host` FLIP crossfade is superseded — the element no longer
67
- renders) into its own `@layer components`. */
68
- @import "./dock/crossfade.css";
69
- @import "./dock/overflow.css";
70
- /* BI.W-DOCK-OVERFLOW — the fits-branch pure-CSS Gaussian fisheye (the EXCLUSIVE-mode
71
- enhancement, opt-in behind [data-dock-fisheye]; the native scroll track above is the
72
- universal floor). @import-ed AFTER overflow.css so the fisheye scale reads the same
73
- [data-dock-overflow] mode signal in source order. */
74
- @import "./dock/fisheye.css";
75
- @import "./dock/popover.css";
76
- @import "./dock/section.css";
77
- /* BI.W-DOCK-RETIRES — `morph-bridge.css` (the V↔H goo teardrop), `fission-bridge.css` +
78
- `fission-island.css` (the 1→N fission goo), and `siri.css` (the Siri island) are
79
- DEFINITION-ABSENT (decided-terminal, clean break, no alias). The goo `filter:url()`
80
- stacked over `backdrop-filter` was the prime UF-C3 Safari suspect; it is gone. The V↔H
81
- swap is the crossfade (`crossfade.css`). */
82
- /* BC.W-AX-DOCK-CTA-SEAT — the [data-cta-pending] CTA-receive landing seat (the static
83
- resting-geometry reserve + the plain transition:opacity FLIP reveal). Last in the
84
- dock cascade — a net-new surface around the byte-untouched useDockCtaReceive morph. */
85
- @import "./dock/cta-seat.css";
86
- /* BC.W-DOCK-SEARCH — the dock-as-native-dynamic-search-bar field surface (the W55
87
- active-field tint legibility seam + the `.glass-menu-row` result rows). A net-new
88
- surface on a `[data-search]` dock; the pill→field morph is the dock's OWN `--dock-morph-t`
89
- glide (box-inviolate); CONSUMES the W55 tint seam + the menu-row recipe, re-authors neither. */
90
- @import "./dock/search.css";
91
-
92
- /* AX.W01 — the SINGLE morph scalar. `useLayerTransition` writes it once per frame
93
- to the `.glass-dock` root; EVERY morph axis (box size, padding, radius, scale,
94
- background/border color, child stagger) is a pure `calc()` read off it — one
95
- driver, one clock, on every engine (the View-Transitions collapse fork is
96
- retired). `@property`-registered `<number>` so it interpolates COMPOSITED, not
97
- discretely (an UNregistered custom property jumps + animates on the main
98
- thread). `initial-value:0` = the collapsed-progress floor.
99
-
100
- `inherits:true` (NOT false) — the SOTA inheritance-bomb guard is specifically
101
- "never write the scalar to `:root`" (a whole-document subtree recalc per frame
102
- over 1300+ elements). The scalar is written LOCALLY on the small `.glass-dock`
103
- subtree, and its CONSUMERS are DESCENDANTS (`.dock-layers`/`.dock-layer-stack`
104
- size + the active pane's child stagger) that read it via inheritance, so it MUST
105
- inherit. Writing one inheriting var over a ~10–20-element dock subtree is the
106
- exact pattern the prior `--dock-morph-progress` used (on `.dock-layers`); the
107
- bomb only fires from a `:root` write, which never happens here. The root-chrome
108
- reads (padding/bg/border) sit on the same element it is written to. */
109
- @property --dock-morph-t {
110
- syntax: "<number>";
111
- inherits: true;
112
- initial-value: 0;
113
- }
114
-
115
- /* BI.W-DOCK-SPINE — the ONE plate scalar. `useDockSpring` (W-DOCK-SPRING-UNIFY) writes it
116
- per-frame onto the L0 `.dock-plate` element; the plate's `clip-path` visible-extent
117
- morph reads it, and NO control-family selector does — so a per-frame write recomputes
118
- the plate clip ONLY, not the 10-selector control `:where()` subtree (the A′-4 ~13fps
119
- restyle-storm cure). `inherits: false` is LOAD-BEARING here (the opposite of
120
- `--dock-morph-t`, which MUST inherit to its descendant readers): the plate scalar has
121
- NO descendant reader, so keeping it un-inherited is what scopes the per-frame restyle to
122
- the single plate element. `initial-value: 0` = the collapsed-progress floor (the safe
123
- resting clip on a non-supporting engine). During the transitional window the plate
124
- ALIASES it to the live `--dock-morph-t` (dock/dock.css); SPRING-UNIFY makes it the sole
125
- driver + deletes the scalar zoo. */
126
- @property --dock-t {
127
- syntax: "<number>";
128
- inherits: false;
129
- initial-value: 0;
130
- }
131
-
132
- /* BB.W-DOCK-MORPH-FAMILY (e) — the `@property`-registered dock-scale axis. The
133
- dock-scale cascade is `--dock-scale: calc(var(--ui-scale) * var(--dock-local-scale,
134
- 1))` (tokens/sizing.css). UNregistered, that `calc()` substitutes ONCE at `:root`
135
- against the `:root` identity `--dock-local-scale: 1`, so a consumer-scope
136
- `--dock-local-scale` override is INHERITED but never RE-EVALUATED — the dock keeps
137
- `--dock-scale: calc(1 * 1)` and stays at the unscaled base (the 3rd recurrence of
138
- the AX.W55 substitution-vs-inheritance trap; the documented-but-broken `:root`
139
- preset). Registering `--dock-local-scale` as an INHERITING `@property <number>`
140
- makes a registered inheriting custom property re-substitute PER-ELEMENT, so a
141
- `--dock-local-scale` override on ANY dock scope re-evaluates the `calc()` at that
142
- scope and threads the whole geometry cascade (box·pad·gap·tab·tile·glyph) down in
143
- lockstep — the `:root` preset made real (the `@property --dock-morph-t` house
144
- idiom above is the precedent). `--dock-scale` itself is ALSO registered (the
145
- derived axis) so its `calc()` re-resolves per-element when `--dock-local-scale`
146
- shifts. ADDITIVE ONLY: `initial-value: 1` is the identity, so at the default
147
- `--dock-local-scale: 1` the resolved `--dock-scale` is byte-IDENTICAL to HEAD (no
148
- rung re-tune); the `@media (pointer: coarse)` re-declare (overflow.css) STAYS the
149
- `:root`-equivalent re-resolve, and this registration is the complementary
150
- non-`:root`-scope thread. DOCK_SPRING is untouched (this is a token registration,
151
- not a clock). */
152
- @property --dock-local-scale {
153
- syntax: "<number>";
154
- inherits: true;
155
- initial-value: 1;
156
- }
157
-
158
- @property --dock-scale {
159
- syntax: "<number>";
160
- inherits: true;
161
- initial-value: 1;
162
- }
163
-
164
- @layer components {
165
- :where(
166
- .glass-dock,
167
- .dock-layer-stack,
168
- .dock-layer-item-host,
169
- .dock-layer-tab,
170
- .dock-icon-button,
171
- .dark-mode-toggle-button,
172
- .dock-tab-button,
173
- .dock-select-trigger,
174
- .dock-dropdown-trigger
175
- ) {
176
- --dock-motion-fast: var(--duration-fast) var(--ease-standard);
177
- --dock-motion-standard: var(--duration-normal) var(--ease-standard);
178
- /* AT.W6-dock-c — the FLIP-fallback timing. `--dock-resize-spring` (the
179
- `--spring-dock` linear()) is the single source curve the native
180
- View-Transition path ALSO consumes, so the morph is timing-identical
181
- across engines. BA.W-GLASS-CAL Unit 3 — the duration leg re-times off
182
- the generic `--duration-normal` (0.3s) onto `--spring-dock-duration`
183
- (0.28s, the dock spring's OWN 2%-band envelope settle). */
184
- --dock-motion-resize: var(--spring-dock-duration) var(--dock-resize-spring);
185
- }
186
-
187
- /* Shared four-state contract — the focus-visible ring + disabled paint are
188
- identical across every dock control, so they are expressed ONCE here as a
189
- comma group over the control family rather than copied per rule-set. The
190
- group keeps full class+pseudo specificity (NOT `:where()`, which would
191
- zero the class and let a per-control :hover box-shadow override the focus
192
- ring). Per-control transition extensions (the box-shadow fade on
193
- focus-visible) stay with their own selectors in dock-controls.css where
194
- they differ. */
195
- .dock-icon-button:focus-visible,
196
- .dock-tab-button:focus-visible,
197
- .dock-select-trigger:focus-visible,
198
- .dock-dropdown-trigger:focus-visible {
199
- /* BI.W-DOCK-CONTROLS (value.js P5) — the ONE ring register. Every dock
200
- control reads `--dock-ring` (defaults to `--focus-ring-shadow`, byte-
201
- identical), so a consumer retunes every dock ring from one token. */
202
- box-shadow: var(--dock-ring);
203
- outline: none;
204
- }
205
-
206
- /* The ACTIVE SEAT yields to consumer indicator content — a control hosting the
207
- consumer's own indicator suppresses the dock ring so that content reads. */
208
- .glass-dock [data-ring-yield]:focus-visible {
209
- box-shadow: none;
210
- }
211
-
212
- .dock-icon-button:disabled,
213
- .dock-tab-button:disabled,
214
- .dock-select-trigger:disabled,
215
- .dock-dropdown-trigger:disabled {
216
- opacity: var(--opacity-disabled);
217
- cursor: not-allowed;
218
- }
219
- }