@mkbabb/glass-ui 4.1.0 → 4.2.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 (430) hide show
  1. package/dist/{CardAction-8whJrLWt.js → CardAction-DlVP2evz.js} +58 -54
  2. package/dist/{CommandShortcut-D3yxgHNn.js → CommandShortcut-By-VQcLO.js} +3 -3
  3. package/dist/{ConfiguratorRow-CaP7U3ZA.js → ConfiguratorRow-YMXdINHx.js} +3 -3
  4. package/dist/{ContextMenuContent-B3ZsheLV.js → ContextMenuContent-CMWn6huB.js} +1 -1
  5. package/dist/{ContextMenuSubContent-DDRID3qC.js → ContextMenuSubContent-DvwWCUc0.js} +1 -1
  6. package/dist/{DataTable-Bc9kUtu_.js → DataTable-C4tG3eIJ.js} +4 -4
  7. package/dist/DialogContent-D8U9ZfWS.js +121 -0
  8. package/dist/{DialogScrollContent-TTuovQst.js → DialogScrollContent-BMekN7gq.js} +1 -1
  9. package/dist/{FadingScroll-DLRbH5Xr.js → FadingScroll-P8B30rAD.js} +1 -1
  10. package/dist/{HoverCardContent-Bel1gdLZ.js → HoverCardContent-DAmGYglo.js} +1 -1
  11. package/dist/{HoverPopover-BcIxvyqZ.js → HoverPopover-DYpBOzzF.js} +1 -1
  12. package/dist/{IconChip-DhbdGdFQ.js → IconChip-CQa7XZYc.js} +7 -5
  13. package/dist/{IconTooltip-B0zimd2H.js → IconTooltip-_df8M3xm.js} +1 -1
  14. package/dist/{Input-Cg9DF62r.js → Input-CyU4_hIC.js} +2 -2
  15. package/dist/{MetricBadge-RHdBP72w.js → MetricBadge-DQt_dGah.js} +1 -1
  16. package/dist/{Notification-CphK7AAm.js → Notification-BlSPJhtZ.js} +1 -1
  17. package/dist/{NumberFieldContent-D8cXeyO4.js → NumberFieldContent-Z3VxGu_6.js} +3 -3
  18. package/dist/PagerDots-CYlqVFd4.js +196 -0
  19. package/dist/PaperBackdrop-DYWgrnh8.js +42 -0
  20. package/dist/{PopoverContent-DL7E6vJP.js → PopoverContent-BuKyHZSz.js} +2 -2
  21. package/dist/{Progress-CnqB7gLm.js → Progress-C9SsdwIZ.js} +1 -1
  22. package/dist/{ScrollingText-CTZbA_cG.js → ScrollingText-DY3W1Jfh.js} +2 -2
  23. package/dist/{SelectScrollDownButton-DAKCBEdW.js → SelectScrollDownButton-3mFHX_R-.js} +15 -12
  24. package/dist/{Switch-B8RscmRu.js → Switch-uf-UKPA2.js} +1 -1
  25. package/dist/{Toaster-D9qIHjBI.js → Toaster-ozrsR4mP.js} +1 -1
  26. package/dist/{ToggleGroupItem-BLtr3TJq.js → ToggleGroupItem-BpzaVzNm.js} +4 -4
  27. package/dist/{TooltipProvider-BJ_Y5EGX.js → TooltipProvider-QQVM_80r.js} +1 -1
  28. package/dist/animated-digit.js +2 -2
  29. package/dist/api/index.d.ts +1 -0
  30. package/dist/api/types-extra.d.ts +3 -1
  31. package/dist/api.js +2 -2
  32. package/dist/aurora.js +163 -131
  33. package/dist/badge-Bt14yURi.js +72 -0
  34. package/dist/badge.js +1 -1
  35. package/dist/border-progress.js +1 -1
  36. package/dist/button-D1W9PrzI.js +130 -0
  37. package/dist/button.js +1 -1
  38. package/dist/canvas.js +1 -1
  39. package/dist/card.js +1 -1
  40. package/dist/carousel.js +227 -98
  41. package/dist/chipVariants-BJQ0I2kB.js +18 -0
  42. package/dist/collapsible.js +1 -1
  43. package/dist/color.js +1 -1
  44. package/dist/command.js +1 -1
  45. package/dist/components/custom/aurora/composables/glSetup.d.ts +1 -1
  46. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +1 -1
  47. package/dist/components/custom/aurora/constants/presets.d.ts +29 -0
  48. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -1
  49. package/dist/components/custom/aurora/index.d.ts +1 -1
  50. package/dist/components/custom/concentric/Concentric.vue.d.ts +15 -12
  51. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +8 -3
  52. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +8 -4
  53. package/dist/components/custom/concentric/composables/levelField.d.ts +50 -0
  54. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +7 -4
  55. package/dist/components/custom/concentric/composables/useConcentric.d.ts +3 -3
  56. package/dist/components/custom/concentric/constants.d.ts +62 -41
  57. package/dist/components/custom/concentric/index.d.ts +2 -2
  58. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +2 -2
  59. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -1
  60. package/dist/components/custom/configurator/Configurator.vue.d.ts +23 -2
  61. package/dist/components/custom/configurator/index.d.ts +1 -1
  62. package/dist/components/custom/dock/DockDropdownTrigger.vue.d.ts +4 -3
  63. package/dist/components/custom/dock/DockIconButton.vue.d.ts +10 -0
  64. package/dist/components/custom/dock/DockPopoverTrigger.vue.d.ts +19 -0
  65. package/dist/components/custom/dock/DockStack.vue.d.ts +35 -22
  66. package/dist/components/custom/dock/GlassDock.vue.d.ts +19 -3
  67. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +18 -32
  68. package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +76 -145
  69. package/dist/components/custom/dock/composables/index.d.ts +1 -0
  70. package/dist/components/custom/dock/composables/railProjection.d.ts +45 -0
  71. package/dist/components/custom/dock/composables/useDockContextSilhouette.d.ts +192 -0
  72. package/dist/components/custom/dock/composables/useDockFission.d.ts +158 -0
  73. package/dist/components/custom/dock/composables/useDockItemDrag.d.ts +18 -0
  74. package/dist/components/custom/dock/composables/useDockShellProps.d.ts +38 -0
  75. package/dist/components/custom/dock/constants.d.ts +14 -3
  76. package/dist/components/custom/dock/index.d.ts +3 -0
  77. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +21 -0
  78. package/dist/components/custom/dot-flow-field/composables/flowGLProgram.d.ts +8 -0
  79. package/dist/components/custom/dot-flow-field/composables/flowSetupGL.d.ts +9 -0
  80. package/dist/components/custom/dot-flow-field/composables/flowSetupGLFlow.d.ts +12 -0
  81. package/dist/components/custom/dot-flow-field/composables/flowSetupWGPU.d.ts +7 -0
  82. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +28 -2
  83. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -17
  84. package/dist/components/custom/dot-flow-field/constants.d.ts +51 -0
  85. package/dist/components/custom/dot-flow-field/index.d.ts +1 -1
  86. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -1
  87. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +29 -0
  88. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +2 -1
  89. package/dist/components/custom/dot-matrix/composables/uniformBridgeWGPU.d.ts +10 -1
  90. package/dist/components/custom/dot-matrix/composables/useDotSphere.d.ts +7 -0
  91. package/dist/components/custom/dot-matrix/constants.d.ts +14 -0
  92. package/dist/components/custom/dot-matrix/index.d.ts +1 -1
  93. package/dist/components/custom/dot-matrix/shaders/dot-matrix.glsl.d.ts +2 -2
  94. package/dist/components/custom/dot-matrix/shaders/dot-matrix.wgsl.d.ts +1 -1
  95. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +4 -0
  96. package/dist/components/custom/fourier-field/composables/fourierFieldGLSetup.d.ts +9 -0
  97. package/dist/components/custom/fourier-field/composables/fourierFieldWGPUSetup.d.ts +11 -0
  98. package/dist/components/custom/fourier-field/composables/uniformBridgeWGPU.d.ts +16 -1
  99. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +22 -1
  100. package/dist/components/custom/fourier-field/constants.d.ts +53 -0
  101. package/dist/components/custom/fourier-field/shaders/fourier-field.glsl.d.ts +1 -1
  102. package/dist/components/custom/fourier-field/shaders/fourier-field.render.wgsl.d.ts +1 -1
  103. package/dist/components/custom/goo-blob/composables/easing.d.ts +1 -0
  104. package/dist/components/custom/goo-blob/composables/useBlobSatellites.d.ts +1 -0
  105. package/dist/components/custom/goo-blob/constants.d.ts +26 -1
  106. package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +1 -1
  107. package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -1
  108. package/dist/components/custom/goo-blob/types.d.ts +50 -1
  109. package/dist/components/custom/goo-dot-matrix/composables/gooDotSetup.d.ts +32 -3
  110. package/dist/components/custom/goo-dot-matrix/composables/uniformBridgeWGPU.d.ts +14 -4
  111. package/dist/components/custom/goo-dot-matrix/constants.d.ts +55 -16
  112. package/dist/components/custom/goo-dot-matrix/index.d.ts +1 -1
  113. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.frag.d.ts +2 -0
  114. package/dist/components/custom/goo-dot-matrix/shaders/goo-dot.wgsl.d.ts +1 -0
  115. package/dist/components/custom/goo-filter/GooFilter.vue.d.ts +22 -0
  116. package/dist/components/custom/goo-filter/index.d.ts +1 -0
  117. package/dist/components/custom/handmark/brush.d.ts +17 -17
  118. package/dist/components/custom/handmark/constants.d.ts +28 -8
  119. package/dist/components/custom/handmark/geometry.d.ts +34 -1
  120. package/dist/components/custom/handmark/index.d.ts +1 -1
  121. package/dist/components/custom/icon-chip/types.d.ts +10 -0
  122. package/dist/components/custom/paper-backdrop/PaperBackdrop.vue.d.ts +18 -0
  123. package/dist/components/custom/paper-grid/composables/paperGrid.d.ts +44 -29
  124. package/dist/components/custom/paper-grid/composables/paperGridGLSetup.d.ts +2 -0
  125. package/dist/components/custom/paper-grid/composables/paperGridWGPUSetup.d.ts +3 -1
  126. package/dist/components/custom/paper-grid/composables/uniformBridgeWGPU.d.ts +2 -2
  127. package/dist/components/custom/paper-grid/constants.d.ts +44 -6
  128. package/dist/components/custom/paper-grid/index.d.ts +2 -2
  129. package/dist/components/custom/paper-grid/shaders/paper-grid.glsl.d.ts +1 -1
  130. package/dist/components/custom/paper-grid/shaders/paper-grid.wgsl.d.ts +1 -1
  131. package/dist/components/custom/selectable-chip/chipVariants.d.ts +39 -0
  132. package/dist/components/custom/selectable-chip/selectableChipVariants.d.ts +12 -20
  133. package/dist/components/custom/tabs/constants.d.ts +16 -8
  134. package/dist/components/custom/timeline/ScrubberTimeline.vue.d.ts +16 -0
  135. package/dist/components/custom/timeline/geometry.d.ts +0 -8
  136. package/dist/components/custom/toggle-chip/index.d.ts +15 -4
  137. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +12 -10
  138. package/dist/components/ui/_shared/useSurfaceAxis.d.ts +17 -3
  139. package/dist/components/ui/badge/Badge.vue.d.ts +14 -0
  140. package/dist/components/ui/badge/index.d.ts +1 -0
  141. package/dist/components/ui/button/Button.vue.d.ts +1 -0
  142. package/dist/components/ui/card/Card.vue.d.ts +1 -1
  143. package/dist/components/ui/card/ScrollCard.vue.d.ts +1 -1
  144. package/dist/components/ui/carousel/CarouselContent.vue.d.ts +2 -4
  145. package/dist/components/ui/dialog/DialogContent.vue.d.ts +9 -0
  146. package/dist/components/ui/drawer/Drawer.vue.d.ts +33 -14
  147. package/dist/components/ui/drawer/constants.d.ts +8 -6
  148. package/dist/components/ui/drawer/index.d.ts +12 -2
  149. package/dist/components/ui/select/SelectContent.vue.d.ts +9 -0
  150. package/dist/components/ui/slider/Slider.vue.d.ts +9 -0
  151. package/dist/composables/dom/index.d.ts +1 -0
  152. package/dist/composables/dom/useDragVelocity.d.ts +46 -0
  153. package/dist/composables/glass/wave/index.d.ts +4 -0
  154. package/dist/composables/glass/wave/waveField.d.ts +115 -0
  155. package/dist/composables/glass/wave/waveField.glsl.d.ts +1 -0
  156. package/dist/composables/glass/wave/waveField.wgsl.d.ts +1 -0
  157. package/dist/composables/glass/webgl/createCanvasLifecycle.d.ts +95 -2
  158. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +40 -2
  159. package/dist/composables/glass/webgpu/index.d.ts +1 -0
  160. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +37 -0
  161. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +49 -2
  162. package/dist/composables/glass/webgpu/webgpuDevice.d.ts +1 -1
  163. package/dist/composables/motion/core/index.d.ts +4 -0
  164. package/dist/composables/motion/core/useHaptic.d.ts +48 -0
  165. package/dist/composables/motion/core/writeVelocityWeight.d.ts +31 -0
  166. package/dist/composables/motion/index.d.ts +2 -0
  167. package/dist/composables/motion/springPresets.d.ts +16 -17
  168. package/dist/composables/motion/suite.d.ts +2 -2
  169. package/dist/composables/motion/useBloomUp.d.ts +97 -0
  170. package/dist/composables/motion/useCelebrationBurst.d.ts +50 -0
  171. package/dist/composables/motion/useDockCtaReceive.d.ts +10 -28
  172. package/dist/composables/motion/useGooMorph.d.ts +72 -0
  173. package/dist/composables/motion/useLiquidFlex.d.ts +18 -0
  174. package/dist/composables/motion/useLiquidMorph.d.ts +108 -0
  175. package/dist/composables/motion/useLiquidPress.d.ts +12 -0
  176. package/dist/composables/motion/useLiquidReveal.d.ts +7 -4
  177. package/dist/composables/motion/useMorphField.d.ts +157 -0
  178. package/dist/composables/motion/useScrollPin.d.ts +49 -0
  179. package/dist/composables/motion/useScrollScene.d.ts +67 -0
  180. package/dist/concentric.js +532 -563
  181. package/dist/configurator.js +2 -2
  182. package/dist/confirm-dialog.js +3 -3
  183. package/dist/constellation.js +4 -4
  184. package/dist/context-menu.js +2 -2
  185. package/dist/controls.js +2 -2
  186. package/dist/createCanvasLifecycle-CuCrGRfq.js +173 -0
  187. package/dist/dark.js +1 -1
  188. package/dist/data-table.js +1 -1
  189. package/dist/deck.js +1 -1
  190. package/dist/dialog.js +3 -3
  191. package/dist/dock.js +1163 -618
  192. package/dist/dockContext-gFVS2gMg.js +18 -0
  193. package/dist/dom.js +7 -6
  194. package/dist/dot-flow-field.js +1114 -523
  195. package/dist/dot-matrix.js +348 -204
  196. package/dist/drawer.js +106 -96
  197. package/dist/{dropdown-menu-aJmV5SqE.js → dropdown-menu-CCfcCQ68.js} +3 -3
  198. package/dist/dropdown-menu.js +1 -1
  199. package/dist/easing.js +3 -3
  200. package/dist/expandable-container.js +2 -2
  201. package/dist/fading-scroll.js +1 -1
  202. package/dist/forms.js +6 -6
  203. package/dist/fourier-field.js +441 -197
  204. package/dist/fourier-math.js +1 -1
  205. package/dist/glass-panel.js +2 -2
  206. package/dist/glass-ui.css +1 -1
  207. package/dist/glass-ui.js +139 -135
  208. package/dist/goo-blob.js +11 -9
  209. package/dist/goo-dot-matrix.js +418 -198
  210. package/dist/handmark.js +137 -94
  211. package/dist/header-ribbon.js +1 -1
  212. package/dist/hover-card.js +1 -1
  213. package/dist/hover-popover.js +1 -1
  214. package/dist/icon-chip.js +1 -1
  215. package/dist/icon-tooltip.js +1 -1
  216. package/dist/index.d.ts +3 -0
  217. package/dist/instrument-chassis.js +1 -1
  218. package/dist/keyboard.js +1 -1
  219. package/dist/label.js +1 -1
  220. package/dist/labeled-field.js +7 -7
  221. package/dist/metric-badge.js +1 -1
  222. package/dist/metric-cell.js +1 -1
  223. package/dist/metric-stack.js +1 -1
  224. package/dist/motion-core.js +42 -39
  225. package/dist/motion-curves.js +20 -14
  226. package/dist/motion.js +226 -26
  227. package/dist/notification.js +1 -1
  228. package/dist/number-field.js +1 -1
  229. package/dist/pager-dots.js +1 -1
  230. package/dist/paper-backdrop.js +1 -1
  231. package/dist/paper-grid.js +315 -342
  232. package/dist/paperGrid-CXCSMbZ1.js +191 -0
  233. package/dist/popover.js +1 -1
  234. package/dist/{presets-CvOUqtdY.js → presets-QvYgnFIZ.js} +13 -12
  235. package/dist/progress.js +1 -1
  236. package/dist/pulse.js +1 -1
  237. package/dist/reactive.js +2 -2
  238. package/dist/{resolveCanvasColor-yPyIpJt9.js → resolveCanvasColor-DsSJk06I.js} +5 -5
  239. package/dist/scrolling-text.js +1 -1
  240. package/dist/search.js +7 -7
  241. package/dist/select.js +3 -3
  242. package/dist/selectable-chip.js +18 -35
  243. package/dist/separator.js +1 -1
  244. package/dist/{sheet-B2flBfLH.js → sheet-DUCIoOe0.js} +3 -3
  245. package/dist/sheet.js +1 -1
  246. package/dist/sidebar.js +1 -1
  247. package/dist/slider-CcICPe3u.js +149 -0
  248. package/dist/slider.js +1 -1
  249. package/dist/sortable-list.js +3 -3
  250. package/dist/{spectrum-walk-BVzA7Biz.js → spectrum-walk-cBNSx_zm.js} +1 -1
  251. package/dist/springPresets-DfoQ6XRY.js +64 -0
  252. package/dist/stacked-icons.js +54 -39
  253. package/dist/styles/cards.css +202 -2
  254. package/dist/styles/components.css +1 -3
  255. package/dist/styles/configurator.css +172 -7
  256. package/dist/styles/critical-partition.mjs +35 -2
  257. package/dist/styles/deferred.css +2 -0
  258. package/dist/styles/dock/adaptive-legibility.css +119 -0
  259. package/dist/styles/dock/density.css +18 -10
  260. package/dist/styles/dock/fission-bridge.css +552 -0
  261. package/dist/styles/dock/layers.css +88 -124
  262. package/dist/styles/dock/morph-bridge.css +15 -2
  263. package/dist/styles/dock/morph.css +45 -114
  264. package/dist/styles/dock/shape.css +137 -11
  265. package/dist/styles/dock/shell.css +1 -3
  266. package/dist/styles/dock/stack-rail.css +95 -7
  267. package/dist/styles/dock-controls/icon-button.css +34 -2
  268. package/dist/styles/dock-controls/triggers.css +23 -1
  269. package/dist/styles/dock-controls.css +18 -0
  270. package/dist/styles/dock.css +16 -1
  271. package/dist/styles/drawer.css +166 -0
  272. package/dist/styles/glass/glass-atom.css +244 -0
  273. package/dist/styles/glass/glass-capsule.css +143 -0
  274. package/dist/styles/glass/glass-chip.css +215 -0
  275. package/dist/styles/glass/liquid-enter.css +252 -0
  276. package/dist/styles/glass/liquid-morph.css +850 -0
  277. package/dist/styles/glass/material.css +70 -1
  278. package/dist/styles/glass/reveal.css +22 -2
  279. package/dist/styles/glass/rim.css +13 -1
  280. package/dist/styles/glass/surfaces.css +18 -8
  281. package/dist/styles/glass.css +11 -0
  282. package/dist/styles/icon-chip.css +45 -0
  283. package/dist/styles/index.css +11 -0
  284. package/dist/styles/jubilance.css +65 -0
  285. package/dist/styles/motion/morph-field.css +229 -0
  286. package/dist/styles/paper.css +230 -14
  287. package/dist/styles/scroll-choreography.css +135 -78
  288. package/dist/styles/segmented-tabs.css +85 -51
  289. package/dist/styles/select.css +151 -0
  290. package/dist/styles/tokens/color-radius.css +1 -1
  291. package/dist/styles/tokens/dark-arm.css +57 -8
  292. package/dist/styles/tokens/glass-deep.css +8 -4
  293. package/dist/styles/tokens/glass-fx.css +80 -2
  294. package/dist/styles/tokens/glass.css +140 -8
  295. package/dist/styles/tokens/light-dark.css +2 -2
  296. package/dist/styles/tokens/property-regs.css +144 -0
  297. package/dist/styles/tokens/scale-paper.css +20 -8
  298. package/dist/styles/tokens/scheme-motion.css +92 -157
  299. package/dist/styles/tokens/scheme-spring.css +239 -0
  300. package/dist/styles/tokens/scroll-tokens.css +15 -15
  301. package/dist/styles/tokens/shadow.css +73 -13
  302. package/dist/styles/tokens.css +9 -2
  303. package/dist/styles/utilities/btn.css +70 -0
  304. package/dist/switch.js +1 -1
  305. package/dist/tabs.js +198 -181
  306. package/dist/timeline.js +241 -206
  307. package/dist/toast.js +1 -1
  308. package/dist/toggle-chip.js +14 -41
  309. package/dist/toggle-group.js +1 -1
  310. package/dist/tooltip.js +1 -1
  311. package/dist/typewriter.js +1 -1
  312. package/dist/{uniformBridgeWGPU-CtAKl45L.js → uniformBridgeWGPU-BCse1SHU.js} +191 -127
  313. package/dist/{useAnimatedNumber-CLrxicG9.js → useAnimatedNumber-BntskVdQ.js} +1 -1
  314. package/dist/{useConfiguratorState-4xblKfwd.js → useConfiguratorState-22BcULzF.js} +37 -35
  315. package/dist/useDockCtaReceive-DX7RDb6_.js +88 -0
  316. package/dist/{useDragMorph-BUgAC-zK.js → useDragMorph-DGLSewwB.js} +2 -2
  317. package/dist/useDragVelocity-CjcfX3dA.js +57 -0
  318. package/dist/useGooMorph-Cs13NgYL.js +104 -0
  319. package/dist/useGpuSubstrate-Ceet70xq.js +347 -0
  320. package/dist/{useViewTransition-CUI1nAgn.js → useHaptic-CPz5BT9I.js} +40 -1
  321. package/dist/{useLiquidFlex-UmA6LMZu.js → useLiquidFlex-Cc6PjVJD.js} +8 -3
  322. package/dist/useLiquidPress-CtOQ8Z0_.js +43 -0
  323. package/dist/useMorphField-ogBM7ubT.js +141 -0
  324. package/dist/{useScrollChrome-D66AVP7C.js → useScrollChrome-JuImi1DM.js} +2 -2
  325. package/dist/{useSpringMount-BWDnKIwh.js → useSpringMount-DFxtzmkR.js} +1 -1
  326. package/dist/{useSpringPress-B1-Czp-V.js → useSpringPress-VM9RgVq3.js} +1 -1
  327. package/dist/{useSurfaceAxis-g0NloYEF.js → useSurfaceAxis-Ci7Dnaw2.js} +1 -1
  328. package/dist/{useTouchGate-CBZTD4SD.js → useTouchGate-B1Lf9XqN.js} +1 -1
  329. package/dist/virtual.js +1 -1
  330. package/dist/watercolor-dot.js +16 -26
  331. package/dist/writeVelocityWeight-Bh83xZfs.js +19 -0
  332. package/package.json +14 -3
  333. package/src/styles/cards.css +202 -2
  334. package/src/styles/configurator.css +172 -7
  335. package/src/styles/critical-partition.mjs +35 -2
  336. package/src/styles/dock/adaptive-legibility.css +119 -0
  337. package/src/styles/dock/density.css +18 -10
  338. package/src/styles/dock/fission-bridge.css +552 -0
  339. package/src/styles/dock/layers.css +88 -124
  340. package/src/styles/dock/morph-bridge.css +15 -2
  341. package/src/styles/dock/morph.css +45 -114
  342. package/src/styles/dock/shape.css +137 -11
  343. package/src/styles/dock/shell.css +1 -3
  344. package/src/styles/dock/stack-rail.css +95 -7
  345. package/src/styles/dock-controls/icon-button.css +34 -2
  346. package/src/styles/dock-controls/triggers.css +23 -1
  347. package/src/styles/dock-controls.css +18 -0
  348. package/src/styles/dock.css +16 -1
  349. package/src/styles/drawer.css +164 -0
  350. package/src/styles/glass/glass-atom.css +244 -0
  351. package/src/styles/glass/glass-capsule.css +143 -0
  352. package/src/styles/glass/glass-chip.css +215 -0
  353. package/src/styles/glass/liquid-enter.css +252 -0
  354. package/src/styles/glass/liquid-morph.css +850 -0
  355. package/src/styles/glass/material.css +70 -1
  356. package/src/styles/glass/reveal.css +22 -2
  357. package/src/styles/glass/rim.css +13 -1
  358. package/src/styles/glass/surfaces.css +18 -8
  359. package/src/styles/glass.css +11 -0
  360. package/src/styles/icon-chip.css +45 -0
  361. package/src/styles/index.css +11 -0
  362. package/src/styles/jubilance.css +65 -0
  363. package/src/styles/motion/morph-field.css +229 -0
  364. package/src/styles/paper.css +230 -14
  365. package/src/styles/scroll-choreography.css +135 -78
  366. package/src/styles/segmented-tabs.css +85 -47
  367. package/src/styles/select.css +151 -0
  368. package/src/styles/tokens/color-radius.css +1 -1
  369. package/src/styles/tokens/dark-arm.css +57 -8
  370. package/src/styles/tokens/glass-deep.css +8 -4
  371. package/src/styles/tokens/glass-fx.css +80 -2
  372. package/src/styles/tokens/glass.css +140 -8
  373. package/src/styles/tokens/light-dark.css +2 -2
  374. package/src/styles/tokens/property-regs.css +144 -0
  375. package/src/styles/tokens/scale-paper.css +20 -8
  376. package/src/styles/tokens/scheme-motion.css +92 -157
  377. package/src/styles/tokens/scheme-spring.css +239 -0
  378. package/src/styles/tokens/scroll-tokens.css +15 -15
  379. package/src/styles/tokens/shadow.css +73 -13
  380. package/src/styles/tokens.css +9 -2
  381. package/src/styles/utilities/btn.css +70 -0
  382. package/dist/DialogContent-6JtTB5x2.js +0 -106
  383. package/dist/PagerDots-Cjx96la-.js +0 -98
  384. package/dist/PaperBackdrop-CqwjnfLv.js +0 -31
  385. package/dist/badge-D9XWW4GT.js +0 -53
  386. package/dist/button-5dY1Dvhd.js +0 -125
  387. package/dist/components/custom/concentric/composables/ringField.d.ts +0 -85
  388. package/dist/createCanvasLifecycle-Gh45Ce-p.js +0 -93
  389. package/dist/dockContext-BNfyPLe9.js +0 -17
  390. package/dist/slider-2A0rPn79.js +0 -142
  391. package/dist/springPresets-Ce7OYCm9.js +0 -46
  392. package/dist/useDockCtaReceive-DfFkmgL1.js +0 -82
  393. package/dist/useGpuSubstrate-4pTcp6mX.js +0 -294
  394. package/dist/useLiquidPress-BooG97RY.js +0 -39
  395. /package/dist/{CollapsibleContent-68dEXIAl.js → CollapsibleContent-D7UNsXQr.js} +0 -0
  396. /package/dist/{DialogFooter-9phqcRIS.js → DialogFooter-DoLy0ewI.js} +0 -0
  397. /package/dist/{InstrumentChassis-CxsHSyMj.js → InstrumentChassis-UUJX0-mW.js} +0 -0
  398. /package/dist/{Label-C2ejNWeC.js → Label-B_HPqi_q.js} +0 -0
  399. /package/dist/{ModalOverlay-D1VrWyoi.js → ModalOverlay-DfAf7o15.js} +0 -0
  400. /package/dist/{SelectGroup-BFiod7X2.js → SelectGroup-Dcczq44n.js} +0 -0
  401. /package/dist/{SelectSeparator-C2UGOkXF.js → SelectSeparator-CNRGG7Ew.js} +0 -0
  402. /package/dist/{Separator-DQcwC2TR.js → Separator-Cf9-JFgi.js} +0 -0
  403. /package/dist/{_plugin-vue_export-helper-C1je1s0u.js → _plugin-vue_export-helper-gLzyemvl.js} +0 -0
  404. /package/dist/{color-Cs0-oxYL.js → color-B9jZdhJX.js} +0 -0
  405. /package/dist/{compile-nZ1xVYTp.js → compile-INR_tPk_.js} +0 -0
  406. /package/dist/{constants--C2DkLW8.js → constants-BWj7DkMn.js} +0 -0
  407. /package/dist/{createContext-CpBNTRMI.js → createContext-Cd23P9j0.js} +0 -0
  408. /package/dist/{dotMatrixField-D_x9_1qq.js → dotMatrixField-CRO0ZFk4.js} +0 -0
  409. /package/dist/{flow.glsl-B2P7e0MT.js → flow.glsl-DqEGRpl4.js} +0 -0
  410. /package/dist/{math-Eb0w3LqU.js → math-5RcIgCB4.js} +0 -0
  411. /package/dist/{menuItemVariants-D8VNHq22.js → menuItemVariants-DAXquKja.js} +0 -0
  412. /package/dist/{prng-B-d9eYX8.js → prng-B5tIXTtj.js} +0 -0
  413. /package/dist/{procedural-color.wgsl-m7Zgv35j.js → procedural-color.wgsl-C1Y5PkM6.js} +0 -0
  414. /package/dist/{scrollReader-DI1NWxUw.js → scrollReader-rc3Ns_NM.js} +0 -0
  415. /package/dist/{useControlSize-SH1UmJCi.js → useControlSize-DAZ062x7.js} +0 -0
  416. /package/dist/{useFuzzySearch-DIhcYtcw.js → useFuzzySearch-0fTYOhS4.js} +0 -0
  417. /package/dist/{useGlobalDark-CmjB9E32.js → useGlobalDark-B4HO9LXG.js} +0 -0
  418. /package/dist/{useIntersectionPause-Dbozzjgm.js → useIntersectionPause-DO8Vl4gs.js} +0 -0
  419. /package/dist/{useInterval-CNdua40W.js → useInterval-BVUI-sez.js} +0 -0
  420. /package/dist/{useKeyboardShortcuts-BPRp33Im.js → useKeyboardShortcuts-BEut54Tk.js} +0 -0
  421. /package/dist/{usePointerVelocityField-QLsy3_kv.js → usePointerVelocityField-BrkqZFhj.js} +0 -0
  422. /package/dist/{useResizeObserver-Bpoi7tRE.js → useResizeObserver-DdEn3v2f.js} +0 -0
  423. /package/dist/{useResolveTokenColor-vAylyR0x.js → useResolveTokenColor-ChOnCckA.js} +0 -0
  424. /package/dist/{useScrollProgress-c3yxmH6a.js → useScrollProgress-A0M6qRl7.js} +0 -0
  425. /package/dist/{useSortable-BVqlJRBR.js → useSortable-DQV_UNDw.js} +0 -0
  426. /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-Bma3UlKA.js} +0 -0
  427. /package/dist/{useTimer-BHJOKr35.js → useTimer-BBLGPXR8.js} +0 -0
  428. /package/dist/{useUserInvalidAria-y5namzeE.js → useUserInvalidAria-EmmwWPOl.js} +0 -0
  429. /package/dist/{useViewportReady-anbac3m6.js → useViewportReady-C9pYnn7K.js} +0 -0
  430. /package/dist/{vReveal-D9k0jADx.js → vReveal-CT1KtwZA.js} +0 -0
package/dist/timeline.js CHANGED
@@ -1,79 +1,76 @@
1
- import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
2
- import { t } from "./HoverPopover-BcIxvyqZ.js";
3
- import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createVNode as l, defineComponent as u, guardReactiveProps as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, openBlock as h, ref as g, renderList as _, renderSlot as v, toDisplayString as y, unref as b, withCtx as x } from "vue";
1
+ import { t as e } from "./useSpring-C0jyvEJB.js";
2
+ import { n as t } from "./springPresets-DfoQ6XRY.js";
3
+ import { t as n } from "./useSpringPress-VM9RgVq3.js";
4
+ import { t as r } from "./useLiquidFlex-Cc6PjVJD.js";
5
+ import { t as i } from "./vSpecular-EX7loENl.js";
6
+ import { t as a } from "./_plugin-vue_export-helper-gLzyemvl.js";
7
+ import { t as o } from "./HoverPopover-DYpBOzzF.js";
8
+ import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as p, createVNode as m, defineComponent as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, watch as E, withCtx as D, withDirectives as ee } from "vue";
4
9
  //#region src/components/custom/timeline/geometry.ts
5
- function S(e) {
6
- if (typeof e.gradient == "string") return e.gradient;
7
- if (e.gradient && typeof e.gradient == "object") {
8
- let t = e.gradient;
9
- return `linear-gradient(90deg, ${t.from}, ${t.to})`;
10
- }
11
- return "var(--timeline-segment-default-gradient, linear-gradient(90deg, var(--surface-tint-15), var(--surface-tint-25)))";
12
- }
13
- function C(e) {
10
+ function O(e) {
14
11
  return typeof e.progress == "number" ? Math.max(0, Math.min(1, e.progress)) : e.state === "completed" ? 1 : e.state === "active" ? .5 : 0;
15
12
  }
16
- function w(e) {
13
+ function k(e) {
17
14
  return typeof e.weight == "number" && e.weight > 0 ? e.weight : 1;
18
15
  }
19
- function ee(e) {
20
- let t = r(() => {
21
- let t = e.value.reduce((e, t) => e + w(t), 0);
16
+ function A(e) {
17
+ let t = c(() => {
18
+ let t = e.value.reduce((e, t) => e + k(t), 0);
22
19
  return t > 0 ? t : 1;
23
20
  });
24
21
  function n(n) {
25
22
  let r = 0;
26
23
  for (let t = 0; t < n; t += 1) {
27
24
  let n = e.value[t];
28
- n && (r += w(n));
25
+ n && (r += k(n));
29
26
  }
30
27
  return r / t.value;
31
28
  }
32
- function i(n) {
29
+ function r(n) {
33
30
  let r = e.value[n];
34
- return r ? w(r) / t.value : 0;
31
+ return r ? k(r) / t.value : 0;
35
32
  }
36
- function a(e) {
37
- return n(e) + i(e);
33
+ function i(e) {
34
+ return n(e) + r(e);
38
35
  }
39
36
  return {
40
37
  totalWeight: t,
41
38
  regionLeft: n,
42
- regionWidth: i,
43
- boundaryX: a,
44
- continuousAriaValueNow: r(() => {
39
+ regionWidth: r,
40
+ boundaryX: i,
41
+ continuousAriaValueNow: c(() => {
45
42
  let t = 0;
46
- for (let n of e.value) n.state === "completed" ? t += 1 : n.state === "active" && (t += C(n));
43
+ for (let n of e.value) n.state === "completed" ? t += 1 : n.state === "active" && (t += O(n));
47
44
  return Math.round(t * 100) / 100;
48
45
  })
49
46
  };
50
47
  }
51
- function T(e) {
48
+ function j(e) {
52
49
  return e.gradient && typeof e.gradient == "object" ? e.gradient.to : "var(--timeline-segment-default-gradient-color, var(--surface-tint-25))";
53
50
  }
54
- function E(e) {
51
+ function M(e) {
55
52
  if (e.length === 0) return "var(--timeline-segment-default-gradient, linear-gradient(90deg, var(--surface-tint-15), var(--surface-tint-25)))";
56
53
  if (e.length === 1) {
57
- let t = T(e[0]);
54
+ let t = j(e[0]);
58
55
  return `linear-gradient(90deg, ${t}, ${t})`;
59
56
  }
60
- let t = e.reduce((e, t) => e + w(t), 0) || 1, n = [], r = 0;
57
+ let t = e.reduce((e, t) => e + k(t), 0) || 1, n = [], r = 0;
61
58
  return e.forEach((i, a) => {
62
- let o = w(i), s = (r + o / 2) / t, c = a === 0 ? 0 : a === e.length - 1 ? 1 : s;
63
- n.push(`${T(i)} ${(c * 100).toFixed(3)}%`), r += o;
59
+ let o = k(i), s = (r + o / 2) / t, c = a === 0 ? 0 : a === e.length - 1 ? 1 : s;
60
+ n.push(`${j(i)} ${(c * 100).toFixed(3)}%`), r += o;
64
61
  }), `linear-gradient(90deg, ${n.join(", ")})`;
65
62
  }
66
- function D(e, t) {
63
+ function N(e, t) {
67
64
  let n = t > 0 ? t : 1, r = `${(100 / n).toFixed(3)}%`, i = 1 - n;
68
65
  return {
69
66
  sizeX: r,
70
67
  positionX: i > 1e-6 ? `${(e / i * 100).toFixed(3)}%` : "0%"
71
68
  };
72
69
  }
73
- function O(e) {
74
- return C(e);
70
+ function P(e) {
71
+ return O(e);
75
72
  }
76
- function k(e) {
73
+ function F(e) {
77
74
  let t = e.value ?? null;
78
75
  return {
79
76
  label: t?.label ?? e.label,
@@ -84,26 +81,26 @@ function k(e) {
84
81
  }
85
82
  //#endregion
86
83
  //#region src/components/custom/timeline/ContinuousMarkers.vue?vue&type=script&setup=true&lang.ts
87
- var A = ["aria-label"], j = [
84
+ var I = ["aria-label"], L = [
88
85
  "aria-label",
89
86
  "data-state",
90
87
  "data-current",
91
88
  "data-completed",
92
89
  "onClick",
93
90
  "onKeydown"
94
- ], M = { class: "sr-only" }, N = {
91
+ ], R = { class: "sr-only" }, z = {
95
92
  key: 0,
96
93
  class: "continuous-dot-check",
97
94
  viewBox: "0 0 24 24",
98
95
  fill: "none",
99
96
  "aria-hidden": "true"
100
- }, P = { class: "timeline-popover-label" }, F = {
97
+ }, B = { class: "timeline-popover-label" }, V = {
101
98
  key: 0,
102
99
  class: "timeline-popover-value tabular-nums"
103
- }, I = {
100
+ }, H = {
104
101
  key: 1,
105
102
  class: "timeline-popover-description"
106
- }, L = { class: "timeline-popover-state" }, R = [
103
+ }, U = { class: "timeline-popover-state" }, W = [
107
104
  "aria-label",
108
105
  "data-state",
109
106
  "data-current",
@@ -114,13 +111,13 @@ var A = ["aria-label"], j = [
114
111
  "onBlur",
115
112
  "onClick",
116
113
  "onKeydown"
117
- ], z = { class: "sr-only" }, B = {
114
+ ], G = { class: "sr-only" }, K = {
118
115
  key: 0,
119
116
  class: "continuous-dot-check",
120
117
  viewBox: "0 0 24 24",
121
118
  fill: "none",
122
119
  "aria-hidden": "true"
123
- }, V = /* @__PURE__ */ e(/* @__PURE__ */ u({
120
+ }, q = /* @__PURE__ */ a(/* @__PURE__ */ h({
124
121
  __name: "ContinuousMarkers",
125
122
  props: {
126
123
  segments: {},
@@ -134,74 +131,74 @@ var A = ["aria-label"], j = [
134
131
  "hoverEnd",
135
132
  "click"
136
133
  ],
137
- setup(e, { emit: r }) {
138
- let c = r;
139
- function l(e, t) {
140
- c(t ? "hover" : "hoverEnd", e);
134
+ setup(e, { emit: t }) {
135
+ let n = t;
136
+ function r(e, t) {
137
+ n(t ? "hover" : "hoverEnd", e);
141
138
  }
142
- function u(e, t) {
143
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), c("click", t));
139
+ function i(e, t) {
140
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), n("click", t));
144
141
  }
145
- return (r, d) => e.segments.length > 0 ? (h(), o("ul", {
142
+ return (t, a) => e.segments.length > 0 ? (b(), d("ul", {
146
143
  key: 0,
147
144
  class: "continuous-markers",
148
145
  role: "list",
149
146
  "aria-label": `${e.markersAriaLabel} — phase markers`
150
- }, [(h(!0), o(n, null, _(e.segments, (n, p) => (h(), o("li", {
151
- key: `dot-li-${n.key}`,
147
+ }, [(b(!0), d(s, null, S(e.segments, (s, c) => (b(), d("li", {
148
+ key: `dot-li-${s.key}`,
152
149
  class: "continuous-marker",
153
150
  role: "listitem",
154
- style: m({ left: `${e.boundaryX(p) * 100}%` })
155
- }, [e.disablePopover ? (h(), o("button", {
151
+ style: y({ left: `${e.boundaryX(c) * 100}%` })
152
+ }, [e.disablePopover ? (b(), d("button", {
156
153
  key: 1,
157
154
  type: "button",
158
155
  class: "continuous-dot segmented-dot",
159
- "aria-label": `${n.label}: ${n.state}`,
160
- "data-state": n.state,
161
- "data-current": n.key === e.currentSegmentKey || void 0,
162
- "data-completed": n.state === "completed" || void 0,
163
- onMouseenter: (e) => c("hover", n),
164
- onMouseleave: (e) => c("hoverEnd", n),
165
- onFocus: (e) => c("hover", n),
166
- onBlur: (e) => c("hoverEnd", n),
167
- onClick: (e) => c("click", n),
168
- onKeydown: (e) => u(e, n)
169
- }, [s("span", z, y(n.label), 1), n.state === "completed" ? (h(), o("svg", B, [...d[1] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : a("", !0)], 40, R)) : (h(), i(t, {
156
+ "aria-label": `${s.label}: ${s.state}`,
157
+ "data-state": s.state,
158
+ "data-current": s.key === e.currentSegmentKey || void 0,
159
+ "data-completed": s.state === "completed" || void 0,
160
+ onMouseenter: (e) => n("hover", s),
161
+ onMouseleave: (e) => n("hoverEnd", s),
162
+ onFocus: (e) => n("hover", s),
163
+ onBlur: (e) => n("hoverEnd", s),
164
+ onClick: (e) => n("click", s),
165
+ onKeydown: (e) => i(e, s)
166
+ }, [f("span", G, w(s.label), 1), s.state === "completed" ? (b(), d("svg", K, [...a[1] ||= [f("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : u("", !0)], 40, W)) : (b(), l(o, {
170
167
  key: 0,
171
168
  side: "top",
172
169
  "side-offset": 10,
173
170
  "hover-open-delay": 120,
174
171
  "close-delay": 160,
175
- class: f(`timeline-popover timeline-popover-${n.key}`),
176
- "onUpdate:open": (e) => l(n, e)
172
+ class: _(`timeline-popover timeline-popover-${s.key}`),
173
+ "onUpdate:open": (e) => r(s, e)
177
174
  }, {
178
- trigger: x(() => [s("button", {
175
+ trigger: D(() => [f("button", {
179
176
  type: "button",
180
177
  class: "continuous-dot segmented-dot",
181
- "aria-label": `${n.label}: ${n.state}`,
182
- "data-state": n.state,
183
- "data-current": n.key === e.currentSegmentKey || void 0,
184
- "data-completed": n.state === "completed" || void 0,
185
- onClick: (e) => c("click", n),
186
- onKeydown: (e) => u(e, n)
187
- }, [s("span", M, y(n.label), 1), n.state === "completed" ? (h(), o("svg", N, [...d[0] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : a("", !0)], 40, j)]),
188
- content: x(() => [v(r.$slots, "popoverContent", { segment: n }, () => [s("div", {
178
+ "aria-label": `${s.label}: ${s.state}`,
179
+ "data-state": s.state,
180
+ "data-current": s.key === e.currentSegmentKey || void 0,
181
+ "data-completed": s.state === "completed" || void 0,
182
+ onClick: (e) => n("click", s),
183
+ onKeydown: (e) => i(e, s)
184
+ }, [f("span", R, w(s.label), 1), s.state === "completed" ? (b(), d("svg", z, [...a[0] ||= [f("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : u("", !0)], 40, L)]),
185
+ content: D(() => [C(t.$slots, "popoverContent", { segment: s }, () => [f("div", {
189
186
  class: "timeline-popover-body",
190
- style: m({ "--popover-tint": typeof n.gradient == "object" && n.gradient ? n.gradient.to : "var(--foreground)" })
187
+ style: y({ "--popover-tint": typeof s.gradient == "object" && s.gradient ? s.gradient.to : "var(--foreground)" })
191
188
  }, [
192
- s("span", P, y(b(k)(n).label), 1),
193
- b(k)(n).value == null ? a("", !0) : (h(), o("span", F, y(b(k)(n).value), 1)),
194
- b(k)(n).description ? (h(), o("span", I, y(b(k)(n).description), 1)) : a("", !0),
195
- s("span", L, y(b(k)(n).state), 1)
189
+ f("span", B, w(T(F)(s).label), 1),
190
+ T(F)(s).value == null ? u("", !0) : (b(), d("span", V, w(T(F)(s).value), 1)),
191
+ T(F)(s).description ? (b(), d("span", H, w(T(F)(s).description), 1)) : u("", !0),
192
+ f("span", U, w(T(F)(s).state), 1)
196
193
  ], 4)], !0)]),
197
194
  _: 2
198
- }, 1032, ["class", "onUpdate:open"]))], 4))), 128))], 8, A)) : a("", !0);
195
+ }, 1032, ["class", "onUpdate:open"]))], 4))), 128))], 8, I)) : u("", !0);
199
196
  }
200
- }), [["__scopeId", "data-v-54dadfb5"]]), H = [
197
+ }), [["__scopeId", "data-v-8c49028f"]]), J = [
201
198
  "aria-valuemax",
202
199
  "aria-valuenow",
203
200
  "aria-label"
204
- ], U = ["data-state"], W = /* @__PURE__ */ e(/* @__PURE__ */ u({
201
+ ], Y = ["data-state"], X = /* @__PURE__ */ a(/* @__PURE__ */ h({
205
202
  __name: "ContinuousRail",
206
203
  props: {
207
204
  segments: {},
@@ -212,36 +209,36 @@ var A = ["aria-label"], j = [
212
209
  regionWidth: { type: Function }
213
210
  },
214
211
  setup(e) {
215
- return (t, r) => (h(), o("div", {
216
- class: "continuous-track",
212
+ return (t, n) => (b(), d("div", {
213
+ class: "continuous-track timeline-rail",
217
214
  role: "progressbar",
218
215
  "aria-valuemin": 0,
219
216
  "aria-valuemax": e.segments.length,
220
217
  "aria-valuenow": e.valueNow,
221
218
  "aria-label": e.railAriaLabel
222
- }, [(h(!0), o(n, null, _(e.segments, (t, n) => (h(), o("div", {
219
+ }, [(b(!0), d(s, null, S(e.segments, (t, r) => (b(), d("div", {
223
220
  key: t.key,
224
- class: f(["continuous-region", [
221
+ class: _(["continuous-region", [
225
222
  `state-${t.state}`,
226
- n === 0 && "is-first",
227
- n === e.segments.length - 1 && "is-last"
223
+ r === 0 && "is-first",
224
+ r === e.segments.length - 1 && "is-last"
228
225
  ]]),
229
226
  "data-state": t.state,
230
- style: m({
231
- left: `${e.regionLeft(n) * 100}%`,
232
- width: `${e.regionWidth(n) * 100}%`,
227
+ style: y({
228
+ left: `${e.regionLeft(r) * 100}%`,
229
+ width: `${e.regionWidth(r) * 100}%`,
233
230
  "--stitch-gradient": e.railGradient,
234
- "--stitch-size-x": b(D)(e.regionLeft(n), e.regionWidth(n)).sizeX,
235
- "--stitch-pos-x": b(D)(e.regionLeft(n), e.regionWidth(n)).positionX,
236
- "--continuous-fill-width": `${b(O)(t) * 100}%`
231
+ "--stitch-size-x": T(N)(e.regionLeft(r), e.regionWidth(r)).sizeX,
232
+ "--stitch-pos-x": T(N)(e.regionLeft(r), e.regionWidth(r)).positionX,
233
+ "--continuous-fill-width": `${T(P)(t) * 100}%`
237
234
  }),
238
235
  "aria-hidden": "true"
239
- }, [...r[0] ||= [s("div", { class: "continuous-region-fill" }, null, -1)]], 14, U))), 128))], 8, H));
236
+ }, [...n[0] ||= [f("div", { class: "continuous-region-fill" }, null, -1)]], 14, Y))), 128))], 8, J));
240
237
  }
241
- }), [["__scopeId", "data-v-e129d308"]]), G = ["aria-label"], K = { class: "continuous-track-wrap" }, q = {
238
+ }), [["__scopeId", "data-v-2eba6ad2"]]), Z = ["aria-label"], Q = { class: "continuous-track-wrap" }, te = {
242
239
  key: 0,
243
240
  class: "continuous-detail"
244
- }, J = /* @__PURE__ */ e(/* @__PURE__ */ u({
241
+ }, ne = /* @__PURE__ */ a(/* @__PURE__ */ h({
245
242
  __name: "ContinuousTimeline",
246
243
  props: {
247
244
  segments: {},
@@ -258,45 +255,45 @@ var A = ["aria-label"], j = [
258
255
  "click"
259
256
  ],
260
257
  setup(e, { emit: t }) {
261
- let n = e, i = t, u = r(() => n.segments ?? []), { regionLeft: d, regionWidth: f, boundaryX: p, continuousAriaValueNow: m } = ee(u), _ = r(() => E(u.value)), y = r(() => {
258
+ let n = e, r = t, i = c(() => n.segments ?? []), { regionLeft: a, regionWidth: o, boundaryX: s, continuousAriaValueNow: l } = A(i), h = c(() => M(i.value)), g = c(() => {
262
259
  if (n.ariaLabel) return n.ariaLabel;
263
- let e = u.value.map((e) => e.label).filter(Boolean);
260
+ let e = i.value.map((e) => e.label).filter(Boolean);
264
261
  return e.length > 0 ? `Timeline: ${e.join(", ")}` : "Timeline";
265
- }), S = g(null), C = r(() => {
266
- let e = u.value;
262
+ }), _ = x(null), v = c(() => {
263
+ let e = i.value;
267
264
  if (e.length === 0) return null;
268
- let t = S.value ?? n.currentSegmentKey ?? null;
265
+ let t = _.value ?? n.currentSegmentKey ?? null;
269
266
  return t == null ? null : e.find((e) => e.key === t) ?? null;
270
- }), w = r(() => S.value == null ? n.currentSegmentKey == null ? "idle" : "current" : "hovered");
271
- function T(e) {
272
- S.value = e.key, i("hover", {
267
+ }), y = c(() => _.value == null ? n.currentSegmentKey == null ? "idle" : "current" : "hovered");
268
+ function S(e) {
269
+ _.value = e.key, r("hover", {
273
270
  key: e.key,
274
271
  segment: e
275
272
  });
276
273
  }
277
- function D(e) {
278
- S.value === e.key && (S.value = null), i("hoverEnd", {
274
+ function w(e) {
275
+ _.value === e.key && (_.value = null), r("hoverEnd", {
279
276
  key: e.key,
280
277
  segment: e
281
278
  });
282
279
  }
283
- function O(e) {
284
- i("click", {
280
+ function E(e) {
281
+ r("click", {
285
282
  key: e.key,
286
283
  segment: e
287
284
  });
288
285
  }
289
- return (t, r) => (h(), o("div", {
286
+ return (t, r) => (b(), d("div", {
290
287
  class: "timeline-row timeline-continuous",
291
288
  role: "group",
292
- "aria-label": y.value
293
- }, [s("div", K, [l(W, {
294
- segments: u.value,
295
- "rail-gradient": _.value,
296
- "rail-aria-label": y.value,
297
- "value-now": b(m),
298
- "region-left": b(d),
299
- "region-width": b(f)
289
+ "aria-label": g.value
290
+ }, [f("div", Q, [m(X, {
291
+ segments: i.value,
292
+ "rail-gradient": h.value,
293
+ "rail-aria-label": g.value,
294
+ "value-now": T(l),
295
+ "region-left": T(a),
296
+ "region-width": T(o)
300
297
  }, null, 8, [
301
298
  "segments",
302
299
  "rail-gradient",
@@ -304,18 +301,18 @@ var A = ["aria-label"], j = [
304
301
  "value-now",
305
302
  "region-left",
306
303
  "region-width"
307
- ]), l(V, {
308
- segments: u.value,
309
- "markers-aria-label": y.value,
304
+ ]), m(q, {
305
+ segments: i.value,
306
+ "markers-aria-label": g.value,
310
307
  "current-segment-key": e.currentSegmentKey,
311
308
  "disable-popover": e.disablePopover,
312
- "boundary-x": b(p),
313
- onHover: T,
314
- onHoverEnd: D,
315
- onClick: O
316
- }, c({ _: 2 }, [t.$slots.popoverContent ? {
309
+ "boundary-x": T(s),
310
+ onHover: S,
311
+ onHoverEnd: w,
312
+ onClick: E
313
+ }, p({ _: 2 }, [t.$slots.popoverContent ? {
317
314
  name: "popoverContent",
318
- fn: x(({ segment: e }) => [v(t.$slots, "popoverContent", { segment: e }, void 0, !0)]),
315
+ fn: D(({ segment: e }) => [C(t.$slots, "popoverContent", { segment: e }, void 0, !0)]),
319
316
  key: "0"
320
317
  } : void 0]), 1032, [
321
318
  "segments",
@@ -323,14 +320,17 @@ var A = ["aria-label"], j = [
323
320
  "current-segment-key",
324
321
  "disable-popover",
325
322
  "boundary-x"
326
- ])]), t.$slots.detail ? (h(), o("div", q, [v(t.$slots, "detail", {
327
- segment: C.value,
328
- source: w.value,
323
+ ])]), t.$slots.detail ? (b(), d("div", te, [C(t.$slots, "detail", {
324
+ segment: v.value,
325
+ source: y.value,
329
326
  currentKey: n.currentSegmentKey ?? null,
330
- hoveredKey: S.value
331
- }, void 0, !0)])) : a("", !0)], 8, G));
327
+ hoveredKey: _.value
328
+ }, void 0, !0)])) : u("", !0)], 8, Z));
332
329
  }
333
- }), [["__scopeId", "data-v-48215043"]]), Y = { class: "timeline-row" }, X = { class: "caret-value fira-code" }, Z = ["aria-valuenow"], Q = /* @__PURE__ */ e(/* @__PURE__ */ u({
330
+ }), [["__scopeId", "data-v-48215043"]]), re = { class: "timeline-row" }, ie = { class: "caret-value fira-code" }, ae = ["data-scrubbing", "aria-valuenow"], oe = {
331
+ class: "glass-thumb",
332
+ "aria-hidden": "true"
333
+ }, $ = /* @__PURE__ */ a(/* @__PURE__ */ h({
334
334
  __name: "ScrubberTimeline",
335
335
  props: {
336
336
  modelValue: { default: 0 },
@@ -341,57 +341,89 @@ var A = ["aria-label"], j = [
341
341
  "scrubStart",
342
342
  "scrubEnd"
343
343
  ],
344
- setup(e, { emit: t }) {
345
- let n = e, r = t, i = g(), c = g(!1);
346
- function l(e) {
347
- let t = i.value.getBoundingClientRect();
344
+ setup(a, { emit: o }) {
345
+ let s = t("timeline-head"), l = t("timeline-fill"), p = t("timeline-press"), m = a, h = o, g = x(), v = x(!1), S = e(() => m.modelValue, {
346
+ response: s.response,
347
+ dampingFraction: s.dampingFraction
348
+ }), C = e(() => m.modelValue, {
349
+ response: l.response,
350
+ dampingFraction: l.dampingFraction
351
+ }), D = r({
352
+ from: 0,
353
+ to: 1,
354
+ axis: "width",
355
+ maxStretch: 1.12,
356
+ squishLaw: "tanh"
357
+ });
358
+ E(() => S.velocity.value, (e) => D.squish(Math.abs(e)));
359
+ let O = c(() => D.stretch.value), k = n({
360
+ response: p.response,
361
+ dampingFraction: p.dampingFraction
362
+ }), A = c(() => 1 - .04 * k.value.value), j = x(!1), M;
363
+ function N() {
364
+ j.value = !1, requestAnimationFrame(() => {
365
+ j.value = !0, M && clearTimeout(M), M = setTimeout(() => {
366
+ j.value = !1;
367
+ }, 520);
368
+ });
369
+ }
370
+ function P(e) {
371
+ let t = g.value.getBoundingClientRect();
348
372
  return Math.max(0, Math.min(1, (e.clientX - t.left) / t.width));
349
373
  }
350
- function u(e) {
351
- e.currentTarget.setPointerCapture(e.pointerId), c.value = !0, r("scrubStart"), r("update:modelValue", l(e));
374
+ function F(e) {
375
+ e.currentTarget.setPointerCapture(e.pointerId), v.value = !0, k.press(), h("scrubStart"), h("update:modelValue", P(e));
352
376
  }
353
- function d(e) {
354
- c.value && r("update:modelValue", l(e));
377
+ function I(e) {
378
+ v.value && h("update:modelValue", P(e));
355
379
  }
356
- function f() {
357
- c.value = !1, r("scrubEnd");
380
+ function L() {
381
+ v.value && (v.value = !1, k.release(), N(), h("scrubEnd"));
358
382
  }
359
- function p(e) {
383
+ function R(e) {
360
384
  let t = e.shiftKey ? .1 : .01;
361
- e.key === "ArrowRight" || e.key === "ArrowUp" ? (e.preventDefault(), r("update:modelValue", Math.min(1, n.modelValue + t))) : (e.key === "ArrowLeft" || e.key === "ArrowDown") && (e.preventDefault(), r("update:modelValue", Math.max(0, n.modelValue - t)));
385
+ e.key === "ArrowRight" || e.key === "ArrowUp" ? (e.preventDefault(), h("update:modelValue", Math.min(1, m.modelValue + t)), N()) : (e.key === "ArrowLeft" || e.key === "ArrowDown") && (e.preventDefault(), h("update:modelValue", Math.max(0, m.modelValue - t)), N());
362
386
  }
363
- return (t, n) => (h(), o("div", Y, [e.label ? (h(), o("div", {
387
+ let z = c(() => {
388
+ let e = S.value.value, t = O.value, n = 1 / t * A.value;
389
+ return {
390
+ transform: `translateX(calc(${(e * 100).toFixed(3)}cqw - 50%)) scale(${(t * A.value).toFixed(4)}, ${n.toFixed(4)})`,
391
+ "--flex-vel": D.flexVel.value.toFixed(4)
392
+ };
393
+ }), B = c(() => ({ width: `${(C.value.value * 100).toFixed(3)}%` }));
394
+ return (e, t) => (b(), d("div", re, [a.label ? (b(), d("div", {
364
395
  key: 0,
365
396
  class: "timeline-caret",
366
- style: m({ left: e.modelValue * 100 + "%" })
367
- }, [s("span", X, y(e.label), 1)], 4)) : a("", !0), s("div", {
397
+ style: y({ left: a.modelValue * 100 + "%" })
398
+ }, [f("span", ie, w(a.label), 1)], 4)) : u("", !0), f("div", {
368
399
  ref_key: "trackRef",
369
- ref: i,
370
- class: "glass-track",
400
+ ref: g,
401
+ class: _(["glass-track timeline-rail", { "is-flooding": j.value }]),
402
+ "data-scrubbing": v.value ? "" : void 0,
371
403
  role: "slider",
372
404
  tabindex: "0",
373
- "aria-valuenow": Number(e.modelValue ?? 0),
405
+ "aria-valuenow": Number(a.modelValue ?? 0),
374
406
  "aria-valuemin": "0",
375
407
  "aria-valuemax": "1",
376
408
  "aria-label": "Timeline",
377
- onPointerdown: u,
378
- onPointermove: d,
379
- onPointerup: f,
380
- onPointercancel: f,
381
- onKeydown: p
382
- }, [s("div", {
409
+ onPointerdown: F,
410
+ onPointermove: I,
411
+ onPointerup: L,
412
+ onPointercancel: L,
413
+ onKeydown: R
414
+ }, [f("div", {
383
415
  class: "glass-fill",
384
- style: m({ width: e.modelValue * 100 + "%" })
385
- }, null, 4), s("div", {
386
- class: "glass-thumb",
387
- style: m({ left: e.modelValue * 100 + "%" })
388
- }, null, 4)], 40, Z)]));
416
+ style: y(B.value)
417
+ }, null, 4), f("div", {
418
+ class: "glass-thumb-seat",
419
+ style: y(z.value)
420
+ }, [ee(f("div", oe, null, 512), [[T(i)]])], 4)], 42, ae)]));
389
421
  }
390
- }), [["__scopeId", "data-v-a206e2d2"]]), $ = {
422
+ }), [["__scopeId", "data-v-bcb355ab"]]), se = {
391
423
  class: "timeline-row timeline-segmented",
392
424
  role: "group",
393
425
  "aria-label": "Timeline progress"
394
- }, te = { class: "segmented-track" }, ne = ["data-state"], re = [
426
+ }, ce = { class: "segmented-track timeline-rail" }, le = ["data-state"], ue = [
395
427
  "aria-label",
396
428
  "data-state",
397
429
  "onMouseenter",
@@ -400,7 +432,7 @@ var A = ["aria-label"], j = [
400
432
  "onBlur",
401
433
  "onClick",
402
434
  "onKeydown"
403
- ], ie = { class: "sr-only" }, ae = /* @__PURE__ */ e(/* @__PURE__ */ u({
435
+ ], de = { class: "sr-only" }, fe = /* @__PURE__ */ a(/* @__PURE__ */ h({
404
436
  __name: "SegmentedTimeline",
405
437
  props: { segments: {} },
406
438
  emits: [
@@ -409,60 +441,63 @@ var A = ["aria-label"], j = [
409
441
  "click"
410
442
  ],
411
443
  setup(e, { emit: t }) {
412
- let i = e, a = t, c = r(() => i.segments ?? []);
413
- function l(e) {
414
- a("hover", {
444
+ let n = e, r = t, i = c(() => n.segments ?? []);
445
+ function a(e) {
446
+ return e.gradient && typeof e.gradient == "object" ? e.gradient.to : "var(--cel-accent)";
447
+ }
448
+ function o(e) {
449
+ r("hover", {
415
450
  key: e.key,
416
451
  segment: e
417
452
  });
418
453
  }
419
- function u(e) {
420
- a("hoverEnd", {
454
+ function l(e) {
455
+ r("hoverEnd", {
421
456
  key: e.key,
422
457
  segment: e
423
458
  });
424
459
  }
425
- function d(e) {
426
- a("click", {
460
+ function u(e) {
461
+ r("click", {
427
462
  key: e.key,
428
463
  segment: e
429
464
  });
430
465
  }
431
466
  function p(e, t) {
432
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), a("click", {
467
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), r("click", {
433
468
  key: t.key,
434
469
  segment: t
435
470
  }));
436
471
  }
437
- return (e, t) => (h(), o("div", $, [s("div", te, [(h(!0), o(n, null, _(c.value, (e, t) => (h(), o("div", {
472
+ return (e, t) => (b(), d("div", se, [f("div", ce, [(b(!0), d(s, null, S(i.value, (e, t) => (b(), d("div", {
438
473
  key: e.key,
439
- class: f(["segmented-cell", [
474
+ class: _(["segmented-cell", [
440
475
  `state-${e.state}`,
441
476
  t === 0 && "is-first",
442
- t === c.value.length - 1 && "is-last"
477
+ t === i.value.length - 1 && "is-last"
443
478
  ]]),
444
479
  "data-state": e.state
445
- }, [s("div", {
446
- class: "segmented-band",
447
- style: m({
448
- background: b(S)(e),
449
- width: `${b(C)(e) * 100}%`
480
+ }, [f("div", {
481
+ class: "segmented-band timeline-cel",
482
+ style: y({
483
+ "--cel-accent": a(e),
484
+ width: `${T(O)(e) * 100}%`
450
485
  }),
451
486
  "aria-hidden": "true"
452
- }, null, 4), s("button", {
487
+ }, null, 4), f("button", {
453
488
  type: "button",
454
489
  class: "segmented-dot",
455
490
  "aria-label": `${e.label}: ${e.state}`,
456
491
  "data-state": e.state,
457
- onMouseenter: (t) => l(e),
458
- onMouseleave: (t) => u(e),
459
- onFocus: (t) => l(e),
460
- onBlur: (t) => u(e),
461
- onClick: (t) => d(e),
492
+ onMouseenter: (t) => o(e),
493
+ onMouseleave: (t) => l(e),
494
+ onFocus: (t) => o(e),
495
+ onBlur: (t) => l(e),
496
+ onClick: (t) => u(e),
462
497
  onKeydown: (t) => p(t, e)
463
- }, [s("span", ie, y(e.label), 1)], 40, re)], 10, ne))), 128))])]));
498
+ }, [f("span", de, w(e.label), 1)], 40, ue)], 10, le))), 128))])]));
464
499
  }
465
- }), [["__scopeId", "data-v-2db316ec"]]), oe = /* @__PURE__ */ u({
500
+ }), [["__scopeId", "data-v-94bc758d"]]), pe = /* @__PURE__ */ h({
466
501
  __name: "GlassTimeline",
467
502
  props: {
468
503
  variant: { default: "scrubber" },
@@ -486,42 +521,42 @@ var A = ["aria-label"], j = [
486
521
  ],
487
522
  setup(e, { emit: t }) {
488
523
  let n = e, r = t;
489
- return (t, a) => e.variant === "continuous" ? (h(), i(J, {
524
+ return (t, i) => e.variant === "continuous" ? (b(), l(ne, {
490
525
  key: 0,
491
526
  segments: n.segments,
492
527
  "aria-label": n.ariaLabel,
493
528
  "current-segment-key": n.currentSegmentKey,
494
529
  "disable-popover": n.disablePopover,
495
- onHover: a[0] ||= (e) => r("hover", e),
496
- onHoverEnd: a[1] ||= (e) => r("hoverEnd", e),
497
- onClick: a[2] ||= (e) => r("click", e)
498
- }, c({
499
- popoverContent: x((e) => [v(t.$slots, "popoverContent", p(d(e)))]),
530
+ onHover: i[0] ||= (e) => r("hover", e),
531
+ onHoverEnd: i[1] ||= (e) => r("hoverEnd", e),
532
+ onClick: i[2] ||= (e) => r("click", e)
533
+ }, p({
534
+ popoverContent: D((e) => [C(t.$slots, "popoverContent", v(g(e)))]),
500
535
  _: 2
501
536
  }, [t.$slots.detail ? {
502
537
  name: "detail",
503
- fn: x((e) => [v(t.$slots, "detail", p(d(e)))]),
538
+ fn: D((e) => [C(t.$slots, "detail", v(g(e)))]),
504
539
  key: "0"
505
540
  } : void 0]), 1032, [
506
541
  "segments",
507
542
  "aria-label",
508
543
  "current-segment-key",
509
544
  "disable-popover"
510
- ])) : e.variant === "segmented" ? (h(), i(ae, {
545
+ ])) : e.variant === "segmented" ? (b(), l(fe, {
511
546
  key: 1,
512
547
  segments: n.segments,
513
- onHover: a[3] ||= (e) => r("hover", e),
514
- onHoverEnd: a[4] ||= (e) => r("hoverEnd", e),
515
- onClick: a[5] ||= (e) => r("click", e)
516
- }, null, 8, ["segments"])) : (h(), i(Q, {
548
+ onHover: i[3] ||= (e) => r("hover", e),
549
+ onHoverEnd: i[4] ||= (e) => r("hoverEnd", e),
550
+ onClick: i[5] ||= (e) => r("click", e)
551
+ }, null, 8, ["segments"])) : (b(), l($, {
517
552
  key: 2,
518
553
  "model-value": n.modelValue,
519
554
  label: n.label,
520
- "onUpdate:modelValue": a[6] ||= (e) => r("update:modelValue", e),
521
- onScrubStart: a[7] ||= (e) => r("scrubStart"),
522
- onScrubEnd: a[8] ||= (e) => r("scrubEnd")
555
+ "onUpdate:modelValue": i[6] ||= (e) => r("update:modelValue", e),
556
+ onScrubStart: i[7] ||= (e) => r("scrubStart"),
557
+ onScrubEnd: i[8] ||= (e) => r("scrubEnd")
523
558
  }, null, 8, ["model-value", "label"]));
524
559
  }
525
560
  });
526
561
  //#endregion
527
- export { oe as GlassTimeline };
562
+ export { pe as GlassTimeline };