@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
@@ -1,85 +0,0 @@
1
- /** A 2-vector. */
2
- export interface Vec2 {
3
- x: number;
4
- y: number;
5
- }
6
- /**
7
- * One CLEAN radial ring component. `amplitude` A_i, `wavelength` λ_i (so k_i = 2π/λ_i),
8
- * `phase` φ_i. `ω_i = √(g·k_i)` is derived from the dispersion relation, not stored (the
9
- * SAME dispersion the flow field's Gerstner sum uses — the ONE suite dispersion law). A
10
- * family carries 1–2 clean low frequencies, NEVER a turbulence octave ladder (the noise
11
- * amplifier that read as a blur).
12
- */
13
- export interface RingComponent {
14
- amplitude: number;
15
- wavelength: number;
16
- phase: number;
17
- }
18
- /**
19
- * A ring origin in domain space [-1,1]² (multi-center → interference). `rotAlpha` is the
20
- * per-family tilt of the ellipsoidal frame (radians) — two families at different tilts cross
21
- * into rich moiré. It reuses the spare `centers[j].w` uniform lane (no byte-layout change).
22
- */
23
- export interface RingCenter {
24
- x: number;
25
- y: number;
26
- /** Per-center weight (a far center contributes a fainter ring family). */
27
- weight: number;
28
- /** The per-family ellipsoid tilt (radians); 0 = the un-rotated frame. */
29
- rotAlpha: number;
30
- }
31
- /** Deep-water gravity constant (normalized; scales the dispersion ω — shared with the flow field). */
32
- export declare const RING_GRAVITY = 9.81;
33
- /**
34
- * The ellipsoidal radial distance ‖p − c‖_e = sqrt((dx/a)² + (dy/b)²) in the family's
35
- * ROTATED frame R(−α): rotate (p − c) by −α, then scale each axis by (a,b). The axis ratio
36
- * tilts the rings into ellipses; the rotation tilts the ellipse so crossing families read as
37
- * distinct waves. The single radial metric the WGSL shader transcribes.
38
- */
39
- export declare function ellipsoidalRadiusRot(p: Vec2, center: RingCenter, axisA: number, axisB: number): number;
40
- /** The un-rotated ellipsoidal radius (rotAlpha = 0). Kept for the gate's axis-ratio assert. */
41
- export declare function ellipsoidalRadius(p: Vec2, center: RingCenter, axisA: number, axisB: number): number;
42
- /**
43
- * |∇r| of the rotated ellipsoidal radius r = ‖R(−α)(p − c)‖_e. By the chain rule, with
44
- * u = R(−α)(p − c) and the scaled coordinates (ux/a, uy/b):
45
- *
46
- * ∂r/∂p = Rᵀ · ( ux/a² , uy/b² ) / r → |∇r| = sqrt((ux/a²)² + (uy/b²)²) / r
47
- *
48
- * (the rotation Rᵀ is orthonormal so it does not change the magnitude). At r→0 the gradient
49
- * is ill-defined; ε-clamp the denominator. This is the closed-form magnitude the IQ
50
- * distance-estimation de = |sin(phase)| / (|cos(phase)|·k·|∇r|) divides by.
51
- */
52
- export declare function ellipsoidalGradMag(p: Vec2, center: RingCenter, axisA: number, axisB: number): number;
53
- /**
54
- * The radial-Fourier ring-interference value f(p,t) ∈ ℝ — the multi-center weighted sum of
55
- * CLEAN radial sinusoids. The SINGLE math source the WGSL `fs_main` + the GLSL fallback
56
- * transcribe. `speed` scales the dispersion ω (the ring-travel speed). Returns the
57
- * un-normalized field value (the BEAT ENVELOPE the shader tints through the palette).
58
- */
59
- export declare function sampleRingField(p: Vec2, timeSec: number, centers: readonly RingCenter[], rings: readonly RingComponent[], axisA: number, axisB: number, speed: number): number;
60
- /**
61
- * The IQ gradient-normalized distance-to-isoline INK at p — the per-pixel line strength,
62
- * the union (brightest-wins `max`) over every (family × ring) crest. For a sinusoid
63
- * s = sin(phase), de ≈ |s| / |∇s| = |sin| / (|cos|·k·|∇r|) is the analytic (domain-units)
64
- * distance to the nearest crest everywhere; the SHADER converts it to a constant PIXEL
65
- * width via fwidth(phase): dePx = de·gradPhase / fwidth(phase) = |sin|/(|cos|·fwidth(phase)),
66
- * then line = 1 − smoothstep(lineHalfW, lineHalfW+aa, dePx) with lineHalfW/aa in pixels. The
67
- * JS takes `phaseDeriv` as the per-pixel phase derivative (the fwidth(phase) analogue) so a
68
- * node round-trip matches the shader exactly; a bare call uses a representative default.
69
- *
70
- * Returns { ink, env } — ink ∈ [0,1] the line strength (the alpha/brightness), env the raw
71
- * beat-envelope value (the hue driver, identical to sampleRingField).
72
- */
73
- export declare function ringIsolineInk(p: Vec2, timeSec: number, centers: readonly RingCenter[], rings: readonly RingComponent[], axisA: number, axisB: number, speed: number, lineHalfW: number, aa: number, phaseDeriv?: number): {
74
- ink: number;
75
- env: number;
76
- };
77
- /**
78
- * Build a CLEAN beating ring FAMILY — 1–2 low-frequency radial sinusoids, NOT a turbulence
79
- * octave ladder. `baseWavelength` ≈ 0.18 sets the ring spacing; a second harmonic at
80
- * 0.5×base (optional) adds a subtle inner-ring texture without busying the field. The
81
- * amplitudes are FLAT (energy is not the point — clean lines are), so each crest paints a
82
- * crisp isoline. Distinct families get slightly different base wavelengths (a small Δλ) so
83
- * they BEAT into the moiré envelope — the "distinct waves."
84
- */
85
- export declare function buildRingFamily(baseWavelength: number, harmonics?: number, phaseSeed?: number): RingComponent[];
@@ -1,93 +0,0 @@
1
- var e = 2e3;
2
- function t(t) {
3
- let { canvas: n, buildContext: r, resize: i } = t, a = t.respectReducedMotion ?? t.mode !== "capture", o = /* @__PURE__ */ new Set();
4
- t.mode === "capture" && o.add("manual");
5
- let s = () => o.size === 0, c = 0, l = typeof performance < "u" ? performance.now() : 0, u = null, d = !1, f = !1, p = a && typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)") : null, m = p?.matches ?? !1;
6
- function h() {
7
- if (!s() || !u) return;
8
- let e = (performance.now() - l) / 1e3, t = u.time ? u.time(e) : e;
9
- u.frame(t), c = !m && u.shouldContinue() ? requestAnimationFrame(h) : 0;
10
- }
11
- function g() {
12
- d && s() && !c && u && (c = requestAnimationFrame(h));
13
- }
14
- function _() {
15
- let e = p?.matches ?? !1;
16
- e !== m && (m = e, e || (l = performance.now()), g());
17
- }
18
- p?.addEventListener("change", _);
19
- function v(e = "manual") {
20
- let t = s();
21
- o.add(e), t && !s() && (cancelAnimationFrame(c), c = 0);
22
- }
23
- function y(e = "manual") {
24
- let t = !s();
25
- o.delete(e), t && s() && d && u && (l = performance.now() - 1e3, i(), h());
26
- }
27
- let b = typeof document < "u";
28
- function x() {
29
- document.hidden ? v("tab-hidden") : y("tab-hidden");
30
- }
31
- b && document.addEventListener("visibilitychange", x), b && document.hidden && o.add("tab-hidden");
32
- let S = null;
33
- function C(e) {
34
- e.skipped ? v("off-screen") : y("off-screen");
35
- }
36
- function w() {
37
- if (S) return;
38
- let e = n.parentElement;
39
- e && (S = e, e.addEventListener("contentvisibilityautostatechange", C));
40
- }
41
- function T() {
42
- S?.removeEventListener("contentvisibilityautostatechange", C), S = null;
43
- }
44
- function E() {
45
- u = r(), i();
46
- }
47
- let D = [], O = 0, k = !1, A = () => typeof performance < "u" ? performance.now() : Date.now();
48
- function j() {
49
- O &&= (clearTimeout(O), 0);
50
- }
51
- function M() {
52
- d || f || (t.bindContextEvents?.(() => {
53
- f || k || (j(), O = setTimeout(() => {
54
- O = 0, !(f || k) && (E(), s() && g());
55
- }, 100));
56
- }, () => {
57
- u = null, cancelAnimationFrame(c), c = 0, j();
58
- let t = A();
59
- D.push(t), D = D.filter((n) => t - n <= e), D.length <= 1 && (k = !1), D.length > 3 && (k = !0);
60
- }), E(), w(), d = !0, l = performance.now(), s() && (m ? h() : c = requestAnimationFrame(h)));
61
- }
62
- function N(e) {
63
- d || M(), u?.frame(e);
64
- }
65
- function P() {
66
- f = !0, cancelAnimationFrame(c), c = 0, j(), b && document.removeEventListener("visibilitychange", x), p?.removeEventListener("change", _), T(), t.unbindContextEvents?.(), u?.teardown?.(), u = null, o.clear();
67
- }
68
- return t.mode === "capture" && M(), {
69
- arm: M,
70
- suspend: v,
71
- resume: y,
72
- wake: g,
73
- renderAt: N,
74
- dispose: P,
75
- get armed() {
76
- return d;
77
- },
78
- get disposed() {
79
- return f;
80
- },
81
- get running() {
82
- return s();
83
- },
84
- get reducedMotion() {
85
- return m;
86
- },
87
- get contextHeld() {
88
- return k;
89
- }
90
- };
91
- }
92
- //#endregion
93
- export { t };
@@ -1,17 +0,0 @@
1
- import { n as e } from "./createContext-CpBNTRMI.js";
2
- //#region src/components/custom/dock/constants.ts
3
- var t = {
4
- response: .32,
5
- dampingFraction: .7
6
- }, n = new Set([
7
- "width",
8
- "height",
9
- "padding",
10
- "transform"
11
- ]), r = "glass-ui:dock-context", i = "glass-ui:dock-layer-group", a = "glass-ui:dock-morph-context", o = e(r, "[glass-ui:dock] useDockContext() called outside <GlassDock>; use useOptionalDockContext() if the primitive may render outside a dock."), { KEY: s } = o;
12
- function c(e) {
13
- o.provide(e);
14
- }
15
- var l = o.use, u = o.useOptional;
16
- //#endregion
17
- export { i as a, n as c, u as i, c as n, a as o, l as r, t as s, s as t };
@@ -1,142 +0,0 @@
1
- import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
3
- import { t as n } from "./useTouchGate-CBZTD4SD.js";
4
- import { i as r } from "./dockContext-BNfyPLe9.js";
5
- import { Fragment as i, computed as a, createBlock as o, createElementBlock as s, createVNode as c, defineComponent as l, mergeProps as u, onBeforeUnmount as d, onMounted as f, openBlock as p, renderList as m, unref as h, useTemplateRef as g, withCtx as _ } from "vue";
6
- import { SliderRange as v, SliderRoot as y, SliderThumb as b, SliderTrack as x, useForwardPropsEmits as S } from "reka-ui";
7
- import { cva as C } from "class-variance-authority";
8
- //#region src/components/custom/dock/composables/useDockHold.ts
9
- function w(e, t = {}) {
10
- let n = r(), i = t.enabled ?? (() => !0), a = !1;
11
- function o() {
12
- !i() || a || !n || (n.keepOpen(), a = !0);
13
- }
14
- function s() {
15
- !a || !n || (n.release(), a = !1);
16
- }
17
- function c() {
18
- s(), !(typeof window > "u") && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c));
19
- }
20
- function l() {
21
- o(), !(typeof window > "u") && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", c));
22
- }
23
- let u = null;
24
- return f(() => {
25
- u = e(), u && (u.addEventListener("pointerdown", l), u.addEventListener("touchstart", l, { passive: !0 }));
26
- }), d(() => {
27
- u && (u.removeEventListener("pointerdown", l), u.removeEventListener("touchstart", l)), typeof window < "u" && (window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c)), s();
28
- }), { isHeld: n?.held };
29
- }
30
- //#endregion
31
- //#region src/components/ui/slider/Slider.vue
32
- var T = /* @__PURE__ */ t(/* @__PURE__ */ l({
33
- __name: "Slider",
34
- props: {
35
- defaultValue: {},
36
- modelValue: {},
37
- disabled: { type: Boolean },
38
- orientation: {},
39
- dir: {},
40
- inverted: { type: Boolean },
41
- min: {},
42
- max: {},
43
- step: {},
44
- minStepsBetweenThumbs: {},
45
- thumbAlignment: {},
46
- asChild: { type: Boolean },
47
- as: {},
48
- name: {},
49
- required: { type: Boolean },
50
- class: { type: [
51
- Boolean,
52
- null,
53
- String,
54
- Object,
55
- Array
56
- ] },
57
- variant: {},
58
- size: {},
59
- keepDockOpen: {
60
- type: Boolean,
61
- default: !0
62
- }
63
- },
64
- emits: ["update:modelValue", "valueCommit"],
65
- setup(t, { emit: l }) {
66
- let C = t, T = l, D = a(() => C.variant ?? "standard"), O = a(() => C.size ?? "md"), k = a(() => C.keepDockOpen), A = S(a(() => {
67
- let { class: e, variant: t, size: n, keepDockOpen: r, ...i } = C;
68
- return i.thumbAlignment ||= "contain", i;
69
- }), T), j = r(), M = g("sliderRootRef");
70
- function N() {
71
- let e = M.value;
72
- return e ? e instanceof HTMLElement ? e : e.$el ?? null : null;
73
- }
74
- w(N, { enabled: () => k.value });
75
- let P = n();
76
- function F(e) {
77
- let t = N(), n = e.touches[0];
78
- !t || !n || P.handleTouchStart(t, n.clientY) || (e.preventDefault(), e.stopPropagation());
79
- }
80
- function I(e) {
81
- P.handleScrollCheck(e);
82
- }
83
- function L() {
84
- P.handleTouchEnd();
85
- }
86
- f(() => {
87
- let e = N();
88
- e && (e.addEventListener("touchstart", F, { passive: !1 }), e.addEventListener("touchmove", I, { passive: !0 }), e.addEventListener("touchend", L, { passive: !0 }));
89
- }), d(() => {
90
- let e = N();
91
- e && (e.removeEventListener("touchstart", F), e.removeEventListener("touchmove", I), e.removeEventListener("touchend", L));
92
- });
93
- let R = a(() => j?.held.value === !0), z = a(() => P.isActive.value);
94
- return (n, r) => (p(), o(h(y), u({
95
- "data-slot": "slider",
96
- ref_key: "sliderRootRef",
97
- ref: M,
98
- class: h(e)(h(E)({
99
- variant: D.value,
100
- size: O.value
101
- }), C.class),
102
- "data-variant": D.value,
103
- "data-size": O.value,
104
- "data-held": R.value || void 0,
105
- "data-touch-active": z.value || void 0
106
- }, h(A)), {
107
- default: _(() => [c(h(x), { class: "slider-track" }, {
108
- default: _(() => [c(h(v), { class: "slider-range" })]),
109
- _: 1
110
- }), (p(!0), s(i, null, m(t.modelValue, (e, t) => (p(), o(h(b), {
111
- key: t,
112
- "aria-label": n.$attrs["aria-label"] ?? void 0,
113
- class: "slider-thumb glass-specular-track touch-hit-area"
114
- }, null, 8, ["aria-label"]))), 128))]),
115
- _: 1
116
- }, 16, [
117
- "class",
118
- "data-variant",
119
- "data-size",
120
- "data-held",
121
- "data-touch-active"
122
- ]));
123
- }
124
- }), [["__scopeId", "data-v-534634a7"]]), E = C("glass-slider focus-ring relative flex w-full touch-none select-none items-center transition-colors", {
125
- variants: {
126
- variant: {
127
- standard: "",
128
- spectrum: ""
129
- },
130
- size: {
131
- sm: "",
132
- md: "",
133
- lg: ""
134
- }
135
- },
136
- defaultVariants: {
137
- variant: "standard",
138
- size: "md"
139
- }
140
- });
141
- //#endregion
142
- export { T as n, E as t };
@@ -1,46 +0,0 @@
1
- //#region src/composables/motion/springPresets.ts
2
- var e = [
3
- {
4
- name: "smooth",
5
- response: .5,
6
- dampingFraction: .86,
7
- comment: "SETTLE register — entrances/fades/scale-ins, no overshoot read"
8
- },
9
- {
10
- name: "snappy",
11
- response: .42,
12
- dampingFraction: .78,
13
- comment: "CONTROL register — crisp position morphs (tab underline, progress fill, marker pop); eased to fill its clock (90%-travel ~0.57 of clock), overshoot ~+2.0%"
14
- },
15
- {
16
- name: "bouncy",
17
- response: .5,
18
- dampingFraction: .55,
19
- comment: "PLAYFUL register — emphatic one-shots only (bouncy toggle, dialog/success entrance, VT default), overshoot ~+12.6% (the Apple 12-18% band)"
20
- },
21
- {
22
- name: "gentle",
23
- response: .7,
24
- dampingFraction: 1,
25
- comment: "GENTLE register — patient critically-damped settle, reached via the --ease-spring-gentle @theme alias. BC.W-MOTION-PRESETS reuses this row as the brand convergence-reveal (--ease-convergence): the partial-sum settle is critically-damped with NO overshoot (ζ=1.0, overshoot 0) — measured-not-distinct, so the ALIAS, not a new row"
26
- },
27
- {
28
- name: "dock",
29
- response: .32,
30
- dampingFraction: .7,
31
- comment: "DOCK register — dock expand/collapse morph + the in-dock Slider thumb, iOS-control settled, overshoot ~+4.6%"
32
- },
33
- {
34
- name: "press",
35
- response: .15,
36
- dampingFraction: .86,
37
- comment: "PRESS register — the iOS interactive tap-press (Apple interactiveSpring 0.15/0.86); sub-100ms answer, tiny alive rebound ~+0.5%. Read by useSpringPress + the --glass-btn-press-t drive"
38
- }
39
- ];
40
- function t(t) {
41
- let n = e.find((e) => e.name === t);
42
- if (!n) throw Error(`Unknown spring preset: ${t}`);
43
- return n;
44
- }
45
- //#endregion
46
- export { t as n, e as t };
@@ -1,82 +0,0 @@
1
- import { n as e } from "./springPresets-Ce7OYCm9.js";
2
- import { onScopeDispose as t, readonly as n, ref as r } from "vue";
3
- import { ElementMorph as i, springTimingFunction as a } from "@mkbabb/keyframes.js";
4
- //#region src/composables/motion/useDockCtaReceive.ts
5
- function o() {
6
- return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
7
- }
8
- function s(s, c) {
9
- let l = c.respectReducedMotion !== !1, u = c.blur ?? 4, { response: d, dampingFraction: f } = e(c.preset ?? "snappy"), p = a({
10
- response: d,
11
- dampingFraction: f
12
- }), m = d * 4 * 1e3, h = null, g = 0, _ = 0, v = r(!1);
13
- function y() {
14
- let e = c.dockControl.value;
15
- e && (e.setAttribute("data-cta-pending", ""), v.value = !0);
16
- }
17
- function b() {
18
- v.value = !1;
19
- let e = c.dockControl.value;
20
- e && e.removeAttribute("data-cta-pending");
21
- }
22
- function x(e) {
23
- e.style.transform = "", e.style.transformOrigin = "", e.style.opacity = "", e.style.filter = "";
24
- }
25
- function S() {
26
- g && typeof cancelAnimationFrame == "function" && cancelAnimationFrame(g), g = 0;
27
- }
28
- function C() {
29
- b(), c.onReceived?.();
30
- }
31
- function w() {
32
- let e = s.value;
33
- if (!e) return;
34
- S();
35
- let t = e.getBoundingClientRect(), n = c.dockControl.value;
36
- if (!n) {
37
- e.style.opacity = "0", C();
38
- return;
39
- }
40
- let r = n.getBoundingClientRect();
41
- if (l && o()) {
42
- x(e), e.style.opacity = "0", C();
43
- return;
44
- }
45
- h = new i({
46
- x: t.x,
47
- y: t.y,
48
- width: t.width,
49
- height: t.height
50
- }, {
51
- x: r.x,
52
- y: r.y,
53
- width: r.width,
54
- height: r.height
55
- }, { transformOrigin: "center center" }), _ = 0;
56
- let a = (t) => {
57
- if (!h || !s.value) return;
58
- _ === 0 && (_ = t);
59
- let n = Math.min(1, (t - _) / m), r = p.fn(n);
60
- h.apply(e, r), e.style.opacity = String(Math.min(1, Math.max(0, 1 - r)));
61
- let i = u * Math.min(1, Math.max(0, r));
62
- e.style.filter = `blur(${i.toFixed(2)}px)`, n < 1 && typeof requestAnimationFrame == "function" ? g = requestAnimationFrame(a) : (e.style.opacity = "0", h = null, g = 0, C());
63
- };
64
- typeof requestAnimationFrame == "function" ? g = requestAnimationFrame(a) : (x(e), e.style.opacity = "0", C());
65
- }
66
- function T() {
67
- S(), h = null;
68
- let e = s.value;
69
- e && x(e);
70
- }
71
- return t(() => {
72
- S(), h = null;
73
- }), {
74
- receive: w,
75
- reset: T,
76
- setPending: y,
77
- clearPending: b,
78
- pending: n(v)
79
- };
80
- }
81
- //#endregion
82
- export { s as t };