@mkbabb/glass-ui 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (394) hide show
  1. package/README.md +3 -1
  2. package/dist/CardAction-CW7a0m8M.js +253 -0
  3. package/dist/{CommandShortcut-DdtWXxOK.js → CommandShortcut-DvZNQ_HF.js} +4 -4
  4. package/dist/ConfiguratorRow-BR4l-ixA.js +143 -0
  5. package/dist/{ContextMenuContent-ON3x7cuk.js → ContextMenuContent-uWnVxDab.js} +1 -1
  6. package/dist/{ContextMenuSubContent-B0Vs6atR.js → ContextMenuSubContent-xol4sD2q.js} +32 -37
  7. package/dist/{DataTable-C464Zbqd.js → DataTable-CuKwF7wr.js} +4 -4
  8. package/dist/{DialogContent-DDE6pQBU.js → DialogContent-DcKK8k9i.js} +5 -5
  9. package/dist/{DialogFooter-8eZbdmPc.js → DialogFooter-BZNX5aVr.js} +3 -3
  10. package/dist/{FadingScroll-DwNnvKMs.js → FadingScroll-DI6hQhT9.js} +1 -1
  11. package/dist/{HoverCardContent-DkMaQzH5.js → HoverCardContent-b2uaAMRR.js} +1 -1
  12. package/dist/{HoverPopover-Dpzwvc4t.js → HoverPopover-CbqbNwgU.js} +2 -2
  13. package/dist/{IconChip-BDw1j5mu.js → IconChip-BTD-nay5.js} +3 -2
  14. package/dist/{IconTooltip-DSjasZIt.js → IconTooltip-Bl8gFZ8d.js} +1 -1
  15. package/dist/{Input-DVG_J0ne.js → Input-h9v5LeXf.js} +1 -1
  16. package/dist/{MetricBadge-BpC0R_Ec.js → MetricBadge-RHdBP72w.js} +1 -1
  17. package/dist/Notification-VUwexFUf.js +43 -0
  18. package/dist/NumberFieldContent-Cq7EzX-U.js +138 -0
  19. package/dist/{PopoverContent-BTorlp--.js → PopoverContent-DL7E6vJP.js} +4 -4
  20. package/dist/{Progress-hAT4gqGH.js → Progress-DctG61iZ.js} +4 -4
  21. package/dist/{ScrollingText-CUVFTWk2.js → ScrollingText-yOpBzFYq.js} +2 -2
  22. package/dist/{SelectScrollDownButton-C1jb3b3K.js → SelectScrollDownButton-CrA8F0iV.js} +18 -19
  23. package/dist/Toaster-Bw4xR8xV.js +274 -0
  24. package/dist/{ToggleGroupItem-Dzk9hWsF.js → ToggleGroupItem-pEM9vIhs.js} +50 -37
  25. package/dist/{TooltipProvider-B3MkB_8P.js → TooltipProvider-rzvnXz60.js} +1 -1
  26. package/dist/animated-digit.js +2 -2
  27. package/dist/api/index.d.ts +8 -3
  28. package/dist/api/types-extra.d.ts +6 -0
  29. package/dist/aurora.js +885 -242
  30. package/dist/badge.js +1 -1
  31. package/dist/border-progress.d.ts +1 -0
  32. package/dist/border-progress.js +106 -0
  33. package/dist/{button-BNDWhAZb.js → button-DYCUa-tH.js} +71 -26
  34. package/dist/button.js +1 -1
  35. package/dist/canvas.js +2 -2
  36. package/dist/card.js +2 -2
  37. package/dist/carousel.js +93 -110
  38. package/dist/collapsible.js +1 -1
  39. package/dist/command.js +1 -1
  40. package/dist/compile-CQEFRTmx.js +19 -0
  41. package/dist/components/custom/aurora/composables/atoms-fields.d.ts +39 -0
  42. package/dist/components/custom/aurora/composables/auroraFallbackGround.d.ts +108 -0
  43. package/dist/components/custom/aurora/composables/runtime.d.ts +19 -0
  44. package/dist/components/custom/aurora/composables/uniformBridge.d.ts +5 -1
  45. package/dist/components/custom/aurora/composables/uniformBridgeWGPU.d.ts +51 -0
  46. package/dist/components/custom/aurora/composables/wgpuSetup.d.ts +29 -0
  47. package/dist/components/custom/aurora/constants/budget.d.ts +21 -0
  48. package/dist/components/custom/aurora/constants/presets.d.ts +2 -2
  49. package/dist/components/custom/aurora/constants/renderMode.d.ts +63 -12
  50. package/dist/components/custom/aurora/constants/shaders/aurora.wgsl.d.ts +1 -0
  51. package/dist/components/custom/aurora/constants/shaders/oil-modes.glsl.d.ts +1 -0
  52. package/dist/components/custom/aurora/constants/shaders/procedural-color.wgsl.d.ts +4 -0
  53. package/dist/components/custom/aurora/index.d.ts +2 -1
  54. package/dist/components/custom/border-progress/BorderProgress.vue.d.ts +46 -0
  55. package/dist/components/custom/border-progress/composables/useBorderSpectrum.d.ts +22 -0
  56. package/dist/components/custom/border-progress/constants.d.ts +59 -0
  57. package/dist/components/custom/border-progress/index.d.ts +4 -0
  58. package/dist/components/custom/concentric/Concentric.vue.d.ts +39 -0
  59. package/dist/components/custom/concentric/composables/concentricGLSetup.d.ts +11 -0
  60. package/dist/components/custom/concentric/composables/concentricWGPUSetup.d.ts +13 -0
  61. package/dist/components/custom/concentric/composables/ringField.d.ts +44 -0
  62. package/dist/components/custom/concentric/composables/uniformBridgeWGPU.d.ts +13 -0
  63. package/dist/components/custom/concentric/composables/useConcentric.d.ts +35 -0
  64. package/dist/components/custom/concentric/constants.d.ts +43 -0
  65. package/dist/components/custom/concentric/index.d.ts +5 -0
  66. package/dist/components/custom/concentric/shaders/concentric.glsl.d.ts +4 -0
  67. package/dist/components/custom/concentric/shaders/concentric.wgsl.d.ts +1 -0
  68. package/dist/components/custom/dock/DockIconButton.vue.d.ts +13 -4
  69. package/dist/components/custom/dock/DockLayerGroup.vue.d.ts +10 -2
  70. package/dist/components/custom/dock/composables/dockMorphMeasure.d.ts +75 -0
  71. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +13 -0
  72. package/dist/components/custom/dot-flow-field/DotFlowField.vue.d.ts +38 -0
  73. package/dist/components/custom/dot-flow-field/composables/flowField.d.ts +41 -0
  74. package/dist/components/custom/dot-flow-field/composables/uniformBridgeWGPU.d.ts +24 -0
  75. package/dist/components/custom/dot-flow-field/composables/useDotFlowField.d.ts +34 -0
  76. package/dist/components/custom/dot-flow-field/composables/useFlowParticles.d.ts +18 -0
  77. package/dist/components/custom/dot-flow-field/constants.d.ts +48 -0
  78. package/dist/components/custom/dot-flow-field/index.d.ts +5 -0
  79. package/dist/components/custom/dot-flow-field/shaders/flow-field.compute.wgsl.d.ts +1 -0
  80. package/dist/components/custom/dot-flow-field/shaders/flow-field.glsl.d.ts +20 -0
  81. package/dist/components/custom/dot-flow-field/shaders/flow-field.render.wgsl.d.ts +1 -0
  82. package/dist/components/custom/easing/EasingConfigurator.vue.d.ts +33 -0
  83. package/dist/components/custom/easing/EasingPicker.vue.d.ts +49 -0
  84. package/dist/components/custom/easing/composables/useEasingPicker.d.ts +75 -0
  85. package/dist/components/custom/easing/constants.d.ts +28 -0
  86. package/dist/components/custom/easing/index.d.ts +3 -0
  87. package/dist/components/custom/fourier-field/FourierField.vue.d.ts +12 -2
  88. package/dist/components/custom/fourier-field/composables/useFourierField.d.ts +39 -0
  89. package/dist/components/custom/fourier-field/constants.d.ts +7 -0
  90. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +1 -1
  91. package/dist/components/custom/goo-blob/GooBlob.vue.d.ts +4 -2
  92. package/dist/components/custom/goo-blob/composables/uniformBridgeWGPU.d.ts +24 -0
  93. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +18 -11
  94. package/dist/components/custom/goo-blob/composables/wgpuSetup.d.ts +23 -0
  95. package/dist/components/custom/goo-blob/shaders/metaball.wgsl.d.ts +1 -0
  96. package/dist/components/custom/handmark/HandMark.vue.d.ts +1 -1
  97. package/dist/components/custom/icon-chip/types.d.ts +11 -1
  98. package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +3 -1
  99. package/dist/components/custom/metric-stack/MetricStack.vue.d.ts +1 -1
  100. package/dist/components/custom/spa-view/SpaView.vue.d.ts +50 -0
  101. package/dist/components/custom/spa-view/index.d.ts +2 -0
  102. package/dist/components/custom/tabs/SegmentedTabs.vue.d.ts +10 -0
  103. package/dist/components/custom/tabs/composables/useTabDragMorph.d.ts +42 -0
  104. package/dist/components/custom/watercolor-dot/WatercolorDot.vue.d.ts +1 -1
  105. package/dist/components/ui/_shared/menuItemVariants.d.ts +1 -1
  106. package/dist/components/ui/badge/index.d.ts +1 -1
  107. package/dist/components/ui/button/Button.vue.d.ts +5 -2
  108. package/dist/components/ui/button/index.d.ts +2 -2
  109. package/dist/components/ui/card/Card.vue.d.ts +34 -4
  110. package/dist/components/ui/card/CardHeader.vue.d.ts +42 -16
  111. package/dist/components/ui/card/ScrollCard.vue.d.ts +33 -0
  112. package/dist/components/ui/card/ScrollCardHeader.vue.d.ts +17 -0
  113. package/dist/components/ui/card/index.d.ts +2 -0
  114. package/dist/components/ui/carousel/CarouselNext.vue.d.ts +2 -2
  115. package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +2 -2
  116. package/dist/components/ui/carousel/GlassCarouselPager.vue.d.ts +2 -2
  117. package/dist/components/ui/command/Command.vue.d.ts +1 -1
  118. package/dist/components/ui/drawer/Drawer.vue.d.ts +46 -33
  119. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +7 -8
  120. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +2 -2
  121. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +1 -1
  122. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +2 -2
  123. package/dist/components/ui/drawer/composables/drawerSnapContext.d.ts +26 -0
  124. package/dist/components/ui/drawer/composables/useDrawerSnap.d.ts +17 -0
  125. package/dist/components/ui/drawer/constants.d.ts +45 -0
  126. package/dist/components/ui/drawer/index.d.ts +23 -15
  127. package/dist/components/ui/focus-scope/FocusScope.vue.d.ts +20 -0
  128. package/dist/components/ui/focus-scope/index.d.ts +2 -0
  129. package/dist/components/ui/index.d.ts +1 -0
  130. package/dist/components/ui/progress/ProgressDefault.vue.d.ts +3 -2
  131. package/dist/components/ui/select/SelectContent.vue.d.ts +1 -1
  132. package/dist/components/ui/sheet/index.d.ts +1 -1
  133. package/dist/components/ui/tags-input/TagsInput.vue.d.ts +2 -2
  134. package/dist/components/ui/toast/Toast.vue.d.ts +5 -2
  135. package/dist/components/ui/toast/use-toast.d.ts +14 -0
  136. package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
  137. package/dist/composables/glass/canvas2d/useCanvas2D.d.ts +13 -6
  138. package/dist/composables/glass/index.d.ts +5 -2
  139. package/dist/composables/glass/useSpecularPointer.d.ts +33 -0
  140. package/dist/composables/glass/useSpecularTracking.d.ts +20 -0
  141. package/dist/composables/glass/vSpecular.d.ts +2 -0
  142. package/dist/composables/glass/webgl/shaders/flow.glsl.d.ts +1 -0
  143. package/dist/composables/glass/webgl/useWebGLCanvas.d.ts +16 -0
  144. package/dist/composables/glass/webgpu/index.d.ts +2 -0
  145. package/dist/composables/glass/webgpu/useGpuSubstrate.d.ts +54 -0
  146. package/dist/composables/glass/webgpu/useWebGPUCanvas.d.ts +84 -0
  147. package/dist/composables/motion/core/index.d.ts +1 -0
  148. package/dist/composables/motion/index.d.ts +4 -0
  149. package/dist/composables/motion/useDockCtaReceive.d.ts +59 -0
  150. package/dist/composables/motion/useDragMorph.d.ts +77 -0
  151. package/dist/composables/motion/useLiquidFlex.d.ts +11 -0
  152. package/dist/composables/motion/useLiquidPress.d.ts +71 -0
  153. package/dist/composables/motion/useLiquidReveal.d.ts +51 -0
  154. package/dist/composables/motion/useNumericTransition.d.ts +3 -3
  155. package/dist/composables/motion/usePointerVelocityField.d.ts +98 -0
  156. package/dist/concentric.d.ts +1 -0
  157. package/dist/concentric.js +562 -0
  158. package/dist/configurator.js +3 -2
  159. package/dist/confirm-dialog.js +22 -24
  160. package/dist/constellation.js +11 -11
  161. package/dist/context-menu.js +3 -3
  162. package/dist/controls.js +1 -1
  163. package/dist/createCanvasLifecycle-CHD5XrDW.js +82 -0
  164. package/dist/data-table.js +1 -1
  165. package/dist/dialog.js +2 -2
  166. package/dist/dock.js +564 -457
  167. package/dist/{dockContext-Bu1Avy-a.js → dockContext-BNfyPLe9.js} +1 -1
  168. package/dist/dom.js +5 -5
  169. package/dist/dot-flow-field.d.ts +1 -0
  170. package/dist/dot-flow-field.js +604 -0
  171. package/dist/drawer.d.ts +1 -0
  172. package/dist/drawer.js +380 -0
  173. package/dist/{dropdown-menu-BJ7E9js_.js → dropdown-menu-CofSZuk8.js} +14 -15
  174. package/dist/dropdown-menu.js +1 -1
  175. package/dist/easing.d.ts +1 -0
  176. package/dist/easing.js +463 -0
  177. package/dist/expandable-container.js +7 -4
  178. package/dist/fading-scroll.js +1 -1
  179. package/dist/focus-scope.d.ts +1 -0
  180. package/dist/focus-scope.js +23 -0
  181. package/dist/forms.js +7 -7
  182. package/dist/fourier-field.js +128 -116
  183. package/dist/fourier-math.js +1 -1
  184. package/dist/glass-panel.js +2 -2
  185. package/dist/glass-ui.css +1 -1
  186. package/dist/glass-ui.js +149 -341
  187. package/dist/goo-blob.js +830 -224
  188. package/dist/handmark.js +2 -2
  189. package/dist/header-ribbon.js +1 -1
  190. package/dist/hover-card.js +1 -1
  191. package/dist/hover-popover.js +1 -1
  192. package/dist/icon-chip.js +1 -1
  193. package/dist/icon-tooltip.js +1 -1
  194. package/dist/index.d.ts +1 -1
  195. package/dist/instrument-chassis.js +1 -1
  196. package/dist/label.js +1 -1
  197. package/dist/labeled-field.js +6 -6
  198. package/dist/metric-badge.js +1 -1
  199. package/dist/metric-cell.js +1 -1
  200. package/dist/metric-stack.js +4 -8
  201. package/dist/motion-core.js +36 -36
  202. package/dist/motion-curves.js +1 -1
  203. package/dist/motion.js +157 -55
  204. package/dist/notification.js +1 -1
  205. package/dist/number-field.js +1 -1
  206. package/dist/pager-dots.js +1 -1
  207. package/dist/paper-backdrop.js +1 -1
  208. package/dist/popover.js +1 -1
  209. package/dist/{compile-EXXzEr1q.js → procedural-color.glsl-CIFsJhwI.js} +1 -155
  210. package/dist/procedural-color.wgsl-CToRHugY.js +224 -0
  211. package/dist/progress.js +1 -1
  212. package/dist/pulse.js +1 -1
  213. package/dist/reactive.js +2 -2
  214. package/dist/scrolling-text.js +1 -1
  215. package/dist/search.js +9 -11
  216. package/dist/select.js +3 -3
  217. package/dist/separator.js +1 -1
  218. package/dist/{sheet-CquRYOAw.js → sheet-tZMg0E0w.js} +5 -5
  219. package/dist/sheet.js +1 -1
  220. package/dist/{slider-DQ95MET2.js → slider-DVb4HXU-.js} +3 -3
  221. package/dist/slider.js +1 -1
  222. package/dist/sortable-list.js +3 -3
  223. package/dist/spa-view.d.ts +1 -0
  224. package/dist/spa-view.js +46 -0
  225. package/dist/styles/animations.css +33 -9
  226. package/dist/styles/border-progress.css +109 -0
  227. package/dist/styles/cards.css +76 -0
  228. package/dist/styles/components.css +1 -1
  229. package/dist/styles/critical-partition.mjs +140 -0
  230. package/dist/styles/critical.css +12 -0
  231. package/dist/styles/deferred.css +31 -0
  232. package/dist/styles/dock/density.css +45 -0
  233. package/dist/styles/dock/layers.css +54 -30
  234. package/dist/styles/dock/morph.css +124 -7
  235. package/dist/styles/dock/overflow.css +16 -2
  236. package/dist/styles/dock/shell.css +54 -16
  237. package/dist/styles/dock.css +32 -0
  238. package/dist/styles/drawer.css +81 -35
  239. package/dist/styles/glass/deep.css +44 -0
  240. package/dist/styles/glass/ladder.css +87 -31
  241. package/dist/styles/glass/material.css +78 -15
  242. package/dist/styles/glass/reveal.css +136 -0
  243. package/dist/styles/glass/rim.css +100 -0
  244. package/dist/styles/glass/surfaces.css +101 -3
  245. package/dist/styles/glass-refract.css +96 -44
  246. package/dist/styles/glass-specular-track.css +7 -0
  247. package/dist/styles/glass.css +3 -0
  248. package/dist/styles/hover-popover.css +7 -6
  249. package/dist/styles/icon-chip.css +77 -15
  250. package/dist/styles/index.css +21 -9
  251. package/dist/styles/instrument-chassis.css +66 -3
  252. package/dist/styles/scroll-choreography.css +300 -0
  253. package/dist/styles/segmented-tabs.css +31 -0
  254. package/dist/styles/theme/bridges.css +11 -0
  255. package/dist/styles/theme/literals.css +11 -2
  256. package/dist/styles/theme/radius.css +6 -1
  257. package/dist/styles/tokens/dark-arm.css +98 -26
  258. package/dist/styles/tokens/glass-deep.css +75 -0
  259. package/dist/styles/tokens/glass-fx.css +333 -0
  260. package/dist/styles/tokens/glass.css +39 -319
  261. package/dist/styles/tokens/light-dark.css +15 -2
  262. package/dist/styles/tokens/offsets.css +116 -0
  263. package/dist/styles/tokens/on-glass-fg.css +39 -0
  264. package/dist/styles/tokens/property-regs.css +127 -0
  265. package/dist/styles/tokens/scale-paper.css +117 -89
  266. package/dist/styles/tokens/scheme-motion.css +70 -32
  267. package/dist/styles/tokens/scroll-tokens.css +123 -0
  268. package/dist/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
  269. package/dist/styles/tokens.css +9 -3
  270. package/dist/styles/typography/semantic.css +8 -8
  271. package/dist/styles/typography/utilities.css +22 -7
  272. package/dist/styles/utilities/animate.css +27 -24
  273. package/dist/styles/utilities/base-misc.css +255 -0
  274. package/dist/styles/utilities/base.css +47 -261
  275. package/dist/styles/utilities/btn.css +3 -1
  276. package/dist/styles/utilities/metal.css +189 -0
  277. package/dist/styles/utilities.css +14 -7
  278. package/dist/switch.js +1 -1
  279. package/dist/tabs.js +220 -107
  280. package/dist/timeline.js +2 -2
  281. package/dist/toast.js +1 -1
  282. package/dist/toggle-group.js +1 -1
  283. package/dist/tooltip.js +1 -1
  284. package/dist/typewriter.js +1 -1
  285. package/dist/useCanvas2D-B8w_E3Rr.js +83 -0
  286. package/dist/useConfiguratorState-DNlOh6c8.js +161 -0
  287. package/dist/useDragMorph-DgxnsVJz.js +102 -0
  288. package/dist/useLiquidPress-kfb4KX79.js +39 -0
  289. package/dist/usePointerVelocityField-JbRd5CrM.js +137 -0
  290. package/dist/useSpring-C0jyvEJB.js +40 -0
  291. package/dist/useSpringMount-q1amq1SJ.js +71 -0
  292. package/dist/useSpringPress-BsqPr7FJ.js +34 -0
  293. package/dist/{useTouchGate-28Tk2-t2.js → useTouchGate-CBZTD4SD.js} +1 -1
  294. package/dist/vSpecular-CQFmLNzA.js +68 -0
  295. package/dist/vendor-CKmzio-i.js +226 -0
  296. package/dist/watercolor-dot.js +2 -2
  297. package/package.json +126 -22
  298. package/src/styles/animations.css +33 -9
  299. package/src/styles/border-progress.css +109 -0
  300. package/src/styles/cards.css +76 -0
  301. package/src/styles/critical-partition.mjs +140 -0
  302. package/src/styles/dock/density.css +45 -0
  303. package/src/styles/dock/layers.css +54 -30
  304. package/src/styles/dock/morph.css +124 -7
  305. package/src/styles/dock/overflow.css +16 -2
  306. package/src/styles/dock/shell.css +54 -16
  307. package/src/styles/dock.css +32 -0
  308. package/src/styles/drawer.css +81 -35
  309. package/src/styles/glass/deep.css +44 -0
  310. package/src/styles/glass/ladder.css +87 -31
  311. package/src/styles/glass/material.css +78 -15
  312. package/src/styles/glass/reveal.css +136 -0
  313. package/src/styles/glass/rim.css +100 -0
  314. package/src/styles/glass/surfaces.css +101 -3
  315. package/src/styles/glass-refract.css +96 -44
  316. package/src/styles/glass-specular-track.css +7 -0
  317. package/src/styles/glass.css +3 -0
  318. package/src/styles/hover-popover.css +7 -6
  319. package/src/styles/icon-chip.css +77 -15
  320. package/src/styles/index.css +12 -0
  321. package/src/styles/instrument-chassis.css +66 -3
  322. package/src/styles/scroll-choreography.css +300 -0
  323. package/src/styles/segmented-tabs.css +31 -0
  324. package/src/styles/theme/bridges.css +11 -0
  325. package/src/styles/theme/literals.css +11 -2
  326. package/src/styles/theme/radius.css +6 -1
  327. package/src/styles/tokens/dark-arm.css +98 -26
  328. package/src/styles/tokens/glass-deep.css +75 -0
  329. package/src/styles/tokens/glass-fx.css +333 -0
  330. package/src/styles/tokens/glass.css +39 -319
  331. package/src/styles/tokens/light-dark.css +15 -2
  332. package/src/styles/tokens/offsets.css +116 -0
  333. package/src/styles/tokens/on-glass-fg.css +39 -0
  334. package/src/styles/tokens/property-regs.css +127 -0
  335. package/src/styles/tokens/scale-paper.css +117 -89
  336. package/src/styles/tokens/scheme-motion.css +70 -32
  337. package/src/styles/tokens/scroll-tokens.css +123 -0
  338. package/src/styles/tokens/{offsets-sizing.css → sizing.css} +37 -100
  339. package/src/styles/tokens.css +9 -3
  340. package/src/styles/typography/semantic.css +8 -8
  341. package/src/styles/typography/utilities.css +22 -7
  342. package/src/styles/utilities/animate.css +27 -24
  343. package/src/styles/utilities/base-misc.css +255 -0
  344. package/src/styles/utilities/base.css +47 -261
  345. package/src/styles/utilities/btn.css +3 -1
  346. package/src/styles/utilities/metal.css +189 -0
  347. package/src/styles/utilities.css +14 -7
  348. package/dist/CardAction-XH4YBVEK.js +0 -158
  349. package/dist/Notification-DKjKsQq8.js +0 -100
  350. package/dist/NumberFieldContent-1VtwDSgf.js +0 -145
  351. package/dist/Toaster-Bm_HQSpc.js +0 -263
  352. package/dist/check-njhk-vfu.js +0 -7
  353. package/dist/chevron-down-DKkxb4VV.js +0 -7
  354. package/dist/chevron-right-CPXbqQQz.js +0 -7
  355. package/dist/chevron-up-n_24SqI-.js +0 -7
  356. package/dist/createLucideIcon-DydS2qgk.js +0 -43
  357. package/dist/minimize-2-BV31Ob_h.js +0 -38
  358. package/dist/search-BSGrf2Sk.js +0 -12
  359. package/dist/useCanvas2D-ClrQuZtp.js +0 -96
  360. package/dist/useConfiguratorState-kiIlun8I.js +0 -303
  361. package/dist/useSpecularTracking-Bo5su68i.js +0 -32
  362. package/dist/useSpringMount-CvopqiFr.js +0 -108
  363. package/dist/useViewTransition-COsPjQVZ.js +0 -47
  364. package/dist/x-BUwTKe50.js +0 -10
  365. /package/dist/{CollapsibleContent-C_s6fG7r.js → CollapsibleContent-68dEXIAl.js} +0 -0
  366. /package/dist/{InstrumentChassis-UUJX0-mW.js → InstrumentChassis-Bx0F_q5g.js} +0 -0
  367. /package/dist/{Label-Ck9SWEKM.js → Label-C2ejNWeC.js} +0 -0
  368. /package/dist/{ModalOverlay-CkPRRgl_.js → ModalOverlay-D1VrWyoi.js} +0 -0
  369. /package/dist/{PaperBackdrop-nBKe0vkB.js → PaperBackdrop-Vf3tlpvd.js} +0 -0
  370. /package/dist/{SelectGroup-Dcczq44n.js → SelectGroup-DwwjicPY.js} +0 -0
  371. /package/dist/{SelectSeparator-DK2y1Bun.js → SelectSeparator-DXswVdRz.js} +0 -0
  372. /package/dist/{Separator-BArl4OaB.js → Separator-pKF0oA4M.js} +0 -0
  373. /package/dist/{Switch-Dr--uLGH.js → Switch-CwYNf8bo.js} +0 -0
  374. /package/dist/{_plugin-vue_export-helper-CBt_VvXa.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
  375. /package/dist/{badge-UILT_3pZ.js → badge-D9XWW4GT.js} +0 -0
  376. /package/dist/{createContext-B2RaZ-b8.js → createContext-CpBNTRMI.js} +0 -0
  377. /package/dist/{math-DeuJwLFx.js → math-BINYmg5z.js} +0 -0
  378. /package/dist/{menuItemVariants-DWRQXBxJ.js → menuItemVariants-D8VNHq22.js} +0 -0
  379. /package/dist/{prng-Cg22zv8g.js → prng-Za0Rmgag.js} +0 -0
  380. /package/dist/{resolveCanvasColor-BBiYfp8g.js → resolveCanvasColor-CUyHr5Uu.js} +0 -0
  381. /package/dist/{springPresets-WXaLbu8u.js → springPresets-CFQGQfdl.js} +0 -0
  382. /package/dist/{useAnimatedNumber-C_3wZLx4.js → useAnimatedNumber-BfUq2bUM.js} +0 -0
  383. /package/dist/{useInterval-CNdua40W.js → useInterval-CvK1mL92.js} +0 -0
  384. /package/dist/{useLiquidFlex-C12hXwOZ.js → useLiquidFlex-mZPMiNXh.js} +0 -0
  385. /package/dist/{useRAFLoop-CdwJ7284.js → useRAFLoop-UYa4zoiN.js} +0 -0
  386. /package/dist/{useResizeObserver-V6nq5gJb.js → useResizeObserver-Bpoi7tRE.js} +0 -0
  387. /package/dist/{useResolveTokenColor-NUG2zYAW.js → useResolveTokenColor-vAylyR0x.js} +0 -0
  388. /package/dist/{useSortable-BVqlJRBR.js → useSortable-DHjtZSEd.js} +0 -0
  389. /package/dist/{useSurfaceAxis-CMnF2zHb.js → useSurfaceAxis-g0NloYEF.js} +0 -0
  390. /package/dist/{useTextHighlight-NmBM5V_4.js → useTextHighlight-CWEi25hf.js} +0 -0
  391. /package/dist/{useTimer-B_PAasDL.js → useTimer-BHJOKr35.js} +0 -0
  392. /package/dist/{useUserInvalidAria-CDfJuakL.js → useUserInvalidAria-y5namzeE.js} +0 -0
  393. /package/dist/{useViewportReady-CvBcCYDf.js → useViewportReady-anbac3m6.js} +0 -0
  394. /package/dist/{vReveal-D9k0jADx.js → vReveal-Czsb7zQC.js} +0 -0
package/dist/handmark.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as e } from "./_plugin-vue_export-helper-CBt_VvXa.js";
2
- import { n as t } from "./prng-Cg22zv8g.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
2
+ import { n as t } from "./prng-Za0Rmgag.js";
3
3
  import { Fragment as n, computed as r, createCommentVNode as i, createElementBlock as a, defineComponent as o, normalizeClass as s, normalizeStyle as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderList as p, renderSlot as m, unref as h, useId as g, watch as _ } from "vue";
4
4
  import { catmullRomToBezier as v, ellipsePoints as y, perturbPoints as b, perturbPointsClosed as x, pointsToLinear as S, useLineBoil as C, wobbleLinePoints as w } from "@mkbabb/pencil-boil";
5
5
  //#region src/components/custom/handmark/brush.ts
@@ -1,4 +1,4 @@
1
- import { t as e } from "./_plugin-vue_export-helper-CBt_VvXa.js";
1
+ import { t as e } from "./_plugin-vue_export-helper-C1je1s0u.js";
2
2
  import { computed as t, createCommentVNode as n, createElementBlock as r, createElementVNode as i, defineComponent as a, normalizeClass as o, onBeforeUnmount as s, openBlock as c, ref as l, renderSlot as u } from "vue";
3
3
  //#region src/components/custom/header-ribbon/HeaderRibbon.vue?vue&type=script&setup=true&lang.ts
4
4
  var d = {
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./HoverCardContent-DkMaQzH5.js";
1
+ import { n as e, r as t, t as n } from "./HoverCardContent-b2uaAMRR.js";
2
2
  export { t as HoverCard, n as HoverCardContent, e as HoverCardTrigger };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./HoverPopover-Dpzwvc4t.js";
1
+ import { t as e } from "./HoverPopover-CbqbNwgU.js";
2
2
  export { e as HoverPopover };
package/dist/icon-chip.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconChip-BDw1j5mu.js";
1
+ import { t as e } from "./IconChip-BTD-nay5.js";
2
2
  export { e as IconChip };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconTooltip-DSjasZIt.js";
1
+ import { t as e } from "./IconTooltip-Bl8gFZ8d.js";
2
2
  export { e as IconTooltip };
package/dist/index.d.ts CHANGED
@@ -10,7 +10,6 @@ export * from "./components/ui/command";
10
10
  export * from "./components/ui/context-menu";
11
11
  export * from "./components/ui/data-table";
12
12
  export * from "./components/ui/dialog";
13
- export * from "./components/ui/drawer";
14
13
  export * from "./components/ui/dropdown-menu";
15
14
  export * from "./components/ui/hover-card";
16
15
  export * from "./components/ui/label";
@@ -47,4 +46,5 @@ export { startViewTransition, supportsViewTransitions, navigate, supportsRouteTr
47
46
  export { vReveal } from "./composables/motion/vReveal";
48
47
  export { useTextHighlight, type HighlightMatcher, type UseTextHighlightControls, } from "./composables/motion/useTextHighlight";
49
48
  export { useLiquidFlex, type LiquidFlexAxis, type UseLiquidFlexParams, type UseLiquidFlexReturn, } from "./composables/motion/useLiquidFlex";
49
+ export { usePointerVelocityField, type PointerVec2, type UsePointerVelocityField, type UsePointerVelocityFieldOptions, } from "./composables/motion/usePointerVelocityField";
50
50
  export * from "./utils";
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./InstrumentChassis-UUJX0-mW.js";
1
+ import { n as e, t } from "./InstrumentChassis-Bx0F_q5g.js";
2
2
  export { e as ChassisDivider, t as InstrumentChassis };
package/dist/label.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Label-Ck9SWEKM.js";
1
+ import { t as e } from "./Label-C2ejNWeC.js";
2
2
  export { e as Label };
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-C1jb3b3K.js";
3
- import { t as o } from "./SelectGroup-Dcczq44n.js";
4
- import { n as s } from "./slider-DQ95MET2.js";
5
- import { t as c } from "./Switch-Dr--uLGH.js";
6
- import { t as l } from "./Input-DVG_J0ne.js";
7
- import { t as u } from "./IconTooltip-DSjasZIt.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-CrA8F0iV.js";
3
+ import { t as o } from "./SelectGroup-DwwjicPY.js";
4
+ import { n as s } from "./slider-DVb4HXU-.js";
5
+ import { t as c } from "./Switch-CwYNf8bo.js";
6
+ import { t as l } from "./Input-h9v5LeXf.js";
7
+ import { t as u } from "./IconTooltip-Bl8gFZ8d.js";
8
8
  import { Fragment as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as g, createTextVNode as _, createVNode as v, defineComponent as y, normalizeClass as b, openBlock as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useId as E, withCtx as D } from "vue";
9
9
  //#region src/components/custom/labeled-field/LabeledField.vue?vue&type=script&setup=true&lang.ts
10
10
  var O = { class: "labeled-field" }, k = ["id", "for"], A = {
@@ -1,2 +1,2 @@
1
- import { t as e } from "./MetricBadge-BpC0R_Ec.js";
1
+ import { t as e } from "./MetricBadge-RHdBP72w.js";
2
2
  export { e as MetricBadge };
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
2
  import { n as t } from "./coalesceMetric-5qIeZnTx.js";
3
- import { t as n } from "./IconChip-BDw1j5mu.js";
3
+ import { t as n } from "./IconChip-BTD-nay5.js";
4
4
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, normalizeClass as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m } from "vue";
5
5
  //#region src/components/custom/metric-cell/MetricCell.vue?vue&type=script&setup=true&lang.ts
6
6
  var h = ["data-appearance"], g = { class: "metric-cell__label text-micro text-muted-foreground flex items-center gap-1.5" }, _ = {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
2
  import { n as t } from "./coalesceMetric-5qIeZnTx.js";
3
- import { t as n } from "./_plugin-vue_export-helper-CBt_VvXa.js";
3
+ import { t as n } from "./_plugin-vue_export-helper-C1je1s0u.js";
4
4
  import { computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderSlot as p, resolveDynamicComponent as m, toDisplayString as h, unref as g, withCtx as _ } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/custom/metric-stack/MetricStack.vue
@@ -74,6 +74,7 @@ var v = /* @__PURE__ */ n(/* @__PURE__ */ l({
74
74
  setup(n) {
75
75
  let l = n, _ = r(() => t(l.value, l.placeholder).display), v = r(() => ({
76
76
  ...l.phaseColor ? { "--phase-color": l.phaseColor } : {},
77
+ ...l.phaseColor ? { "--metric-row-icon-color": l.phaseColor } : {},
77
78
  "--digit-count": String(l.digitCount)
78
79
  }));
79
80
  return (t, r) => (f(), o("div", {
@@ -87,13 +88,8 @@ var v = /* @__PURE__ */ n(/* @__PURE__ */ l({
87
88
  class: "metric-row__icon result-icon",
88
89
  size: n.iconSize,
89
90
  "stroke-width": n.iconStrokeWidth,
90
- style: d(n.phaseColor ? { color: n.phaseColor } : void 0),
91
91
  "aria-hidden": "true"
92
- }, null, 8, [
93
- "size",
94
- "stroke-width",
95
- "style"
96
- ])) : a("", !0)]),
92
+ }, null, 8, ["size", "stroke-width"])) : a("", !0)]),
97
93
  p(t.$slots, "label", {}, () => [s("span", b, h(n.label), 1)]),
98
94
  s("span", x, [
99
95
  p(t.$slots, "aura"),
@@ -103,6 +99,6 @@ var v = /* @__PURE__ */ n(/* @__PURE__ */ l({
103
99
  p(t.$slots, "description")
104
100
  ], 14, y));
105
101
  }
106
- }), [["__scopeId", "data-v-0c455119"]]);
102
+ }), [["__scopeId", "data-v-e1e103d2"]]);
107
103
  //#endregion
108
104
  export { w as MetricRow, v as MetricStack };
@@ -1,17 +1,17 @@
1
- import { a as e, i as t, n, r, t as i } from "./useViewTransition-COsPjQVZ.js";
2
- import { n as a } from "./supportsCssTimeline-BWenxvHU.js";
3
- import { t as o } from "./vReveal-D9k0jADx.js";
4
- import { t as s } from "./useTextHighlight-NmBM5V_4.js";
5
- import { t as c } from "./useLiquidFlex-C12hXwOZ.js";
6
- import { t as l } from "./useIntersectionPause-Bj4sPkMh.js";
7
- import { t as u } from "./useScrollProgress-D7bYU2RK.js";
8
- import { n as d, t as f } from "./constants-BPOqYJAm.js";
9
- import { n as p, r as m, t as h } from "./useRAFLoop-CdwJ7284.js";
10
- import { onBeforeUnmount as g, onScopeDispose as _, reactive as v, ref as y } from "vue";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "./usePointerVelocityField-JbRd5CrM.js";
2
+ import { n as o } from "./supportsCssTimeline-BWenxvHU.js";
3
+ import { t as s } from "./useLiquidFlex-mZPMiNXh.js";
4
+ import { t as c } from "./vReveal-Czsb7zQC.js";
5
+ import { t as l } from "./useTextHighlight-CWEi25hf.js";
6
+ import { t as u } from "./useIntersectionPause-Bj4sPkMh.js";
7
+ import { t as d } from "./useScrollProgress-D7bYU2RK.js";
8
+ import { n as f, t as p } from "./constants-BPOqYJAm.js";
9
+ import { n as m, r as h, t as g } from "./useRAFLoop-UYa4zoiN.js";
10
+ import { onBeforeUnmount as _, onScopeDispose as v, reactive as y, ref as b } from "vue";
11
11
  //#region src/composables/motion/useStaggerReveal.ts
12
- var b = a();
13
- function x(e = {}) {
14
- let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = y([]), o = v({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), l = b || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
12
+ var x = o();
13
+ function S(e = {}) {
14
+ let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = b([]), o = y({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), l = x || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
15
15
  for (let r of e) {
16
16
  let e = r.target, i = s.get(e);
17
17
  if (i !== void 0) if (r.isIntersecting) {
@@ -28,9 +28,9 @@ function x(e = {}) {
28
28
  function u(e, t) {
29
29
  if (!e) return;
30
30
  let n = t ?? a.value.length;
31
- s.has(e) || (s.set(e, n), a.value.push(e), o[n] = b, l?.observe(e));
31
+ s.has(e) || (s.set(e, n), a.value.push(e), o[n] = x, l?.observe(e));
32
32
  }
33
- return g(() => {
33
+ return _(() => {
34
34
  l?.disconnect();
35
35
  for (let e of c) clearTimeout(e);
36
36
  c.clear();
@@ -42,11 +42,11 @@ function x(e = {}) {
42
42
  }
43
43
  //#endregion
44
44
  //#region src/composables/motion/useStagger.ts
45
- function S() {
45
+ function C() {
46
46
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
47
47
  }
48
- function C(e) {
49
- let t = Math.max(0, Math.floor(e.items)), n = e.delayMs ?? 80, r = e.initialDelayMs ?? 0, i = e.immediate !== !1, a = e.respectReducedMotion !== !1, o = y(Array(t).fill(!1)), s = y(t === 0), c = /* @__PURE__ */ new Set();
48
+ function w(e) {
49
+ let t = Math.max(0, Math.floor(e.items)), n = e.delayMs ?? 80, r = e.initialDelayMs ?? 0, i = e.immediate !== !1, a = e.respectReducedMotion !== !1, o = b(Array(t).fill(!1)), s = b(t === 0), c = /* @__PURE__ */ new Set();
50
50
  function l() {
51
51
  for (let e of c) clearTimeout(e);
52
52
  c.clear();
@@ -62,7 +62,7 @@ function C(e) {
62
62
  s.value = !0;
63
63
  return;
64
64
  }
65
- if (a && S()) {
65
+ if (a && C()) {
66
66
  d();
67
67
  return;
68
68
  }
@@ -74,7 +74,7 @@ function C(e) {
74
74
  c.add(a);
75
75
  }
76
76
  }
77
- return i && f(), _(l), {
77
+ return i && f(), v(l), {
78
78
  revealed: o,
79
79
  start: f,
80
80
  reset: u,
@@ -83,16 +83,16 @@ function C(e) {
83
83
  }
84
84
  //#endregion
85
85
  //#region src/composables/motion/usePrioritizedTask.ts
86
- function w() {
87
- if (!e()) return null;
88
- let t = globalThis.scheduler;
89
- return t?.postTask?.bind(t) ?? null;
90
- }
91
86
  function T() {
87
+ if (!r()) return null;
88
+ let e = globalThis.scheduler;
89
+ return e?.postTask?.bind(e) ?? null;
90
+ }
91
+ function E() {
92
92
  let e = /* @__PURE__ */ Error("The task was aborted.");
93
93
  return e.name = "AbortError", e;
94
94
  }
95
- function E(e) {
95
+ function D(e) {
96
96
  let t = e.filter((e) => e != null);
97
97
  if (t.length === 0) return;
98
98
  if (t.length === 1) return t[0];
@@ -107,20 +107,20 @@ function E(e) {
107
107
  }
108
108
  return n.signal;
109
109
  }
110
- function D(e, t = {}) {
111
- let { priority: n, signal: r, delay: i } = t, a = w();
110
+ function O(e, t = {}) {
111
+ let { priority: n, signal: r, delay: i } = t, a = T();
112
112
  return a ? a(e, {
113
113
  priority: n,
114
114
  signal: r,
115
115
  delay: i
116
116
  }) : new Promise((t, n) => {
117
117
  if (r?.aborted) {
118
- n(T());
118
+ n(E());
119
119
  return;
120
120
  }
121
121
  let a = () => {
122
122
  if (r?.aborted) {
123
- n(T());
123
+ n(E());
124
124
  return;
125
125
  }
126
126
  try {
@@ -137,20 +137,20 @@ function D(e, t = {}) {
137
137
  i && i > 0 ? setTimeout(o, i) : o();
138
138
  });
139
139
  }
140
- function O(e) {
140
+ function k(e) {
141
141
  let t = globalThis.TaskController;
142
142
  return typeof t == "function" ? new t(e ? { priority: e } : void 0) : null;
143
143
  }
144
- function k(e) {
145
- let t = O(e);
144
+ function A(e) {
145
+ let t = k(e);
146
146
  return {
147
- postTask: (n, r = {}) => D(n, {
147
+ postTask: (n, r = {}) => O(n, {
148
148
  priority: e,
149
149
  ...r,
150
- signal: E([t?.signal, r.signal])
150
+ signal: D([t?.signal, r.signal])
151
151
  }),
152
152
  abort: (e) => t?.abort(e)
153
153
  };
154
154
  }
155
155
  //#endregion
156
- export { f as DAMPING, d as SNAP_THRESHOLD, i as navigate, D as postTaskSafe, n as startViewTransition, r as supportsRouteTransitions, t as supportsViewTransitions, l as useIntersectionPause, c as useLiquidFlex, k as usePrioritizedTask, h as useRAFLoop, u as useScrollProgress, C as useStagger, x as useStaggerReveal, s as useTextHighlight, p as useYieldToMain, o as vReveal, m as yieldToMain };
156
+ export { p as DAMPING, f as SNAP_THRESHOLD, n as navigate, O as postTaskSafe, i as startViewTransition, t as supportsRouteTransitions, e as supportsViewTransitions, u as useIntersectionPause, s as useLiquidFlex, a as usePointerVelocityField, A as usePrioritizedTask, g as useRAFLoop, d as useScrollProgress, w as useStagger, S as useStaggerReveal, l as useTextHighlight, m as useYieldToMain, c as vReveal, h as yieldToMain };
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./springPresets-WXaLbu8u.js";
1
+ import { n as e, t } from "./springPresets-CFQGQfdl.js";
2
2
  import { springTimingFunction as n } from "@mkbabb/keyframes.js";
3
3
  import { CSSCubicBezier as r, CSSCubicBezier as i, easeInBounce as a, easeInCirc as o, easeInCubic as s, easeInExpo as c, easeInOutCirc as l, easeInOutCubic as u, easeInOutExpo as d, easeInOutQuad as f, easeInOutSine as p, easeInQuad as m, easeInSine as h, easeOutCirc as g, easeOutCubic as _, easeOutExpo as v, easeOutExpo as y, easeOutQuad as b, easeOutSine as x, linear as S } from "@mkbabb/value.js";
4
4
  //#region src/composables/motion/curves.ts
package/dist/motion.js CHANGED
@@ -1,50 +1,152 @@
1
- import { n as e, t } from "./useSpringMount-CvopqiFr.js";
2
- import { n, t as r } from "./springPresets-WXaLbu8u.js";
3
- import { n as i, t as a } from "./constants-BPOqYJAm.js";
4
- import { t as o } from "./useAnimatedNumber-C_3wZLx4.js";
5
- import { computed as s, onBeforeUnmount as c, onScopeDispose as l, ref as u, shallowRef as d } from "vue";
6
- import { AnimationOptionError as f, Draggable as p, ElementMorph as m, ManualTimeline as h, NumericAnimation as g, NumericAnimation as _, RAFPlayback as v, ScrollTimeline as y, Sequence as b, SmoothProgress as x, SpringProgress as S, Timeline as C, UnknownEasingError as w, createNativeTimeline as T, decay as E, decayRest as D, drag as O, flip as k, flipShared as A, loadAnimationEngine as j, resolveEasing as M, springLinearStops as N, springTimingFunction as P, stagger as F, toEasing as I } from "@mkbabb/keyframes.js";
7
- //#region src/composables/motion/useSpringPress.ts
8
- function L(t = {}) {
9
- let n = u(0), r = e(n, {
10
- response: t.response ?? .25,
11
- dampingFraction: t.dampingFraction ?? .7,
12
- initial: t.initial ?? 0,
13
- initialVelocity: t.initialVelocity,
14
- settleThreshold: t.settleThreshold,
15
- velocitySettleThreshold: t.velocitySettleThreshold,
16
- respectReducedMotion: t.respectReducedMotion,
17
- onValue: t.onValue
18
- });
19
- function i() {
20
- n.value = 1;
21
- }
22
- function a() {
23
- n.value = 0;
24
- }
25
- return {
26
- ...r,
27
- press: i,
28
- release: a,
29
- handlers: {
30
- onPointerdown: i,
31
- onPointerup: a,
32
- onPointercancel: a,
33
- onPointerleave: a
1
+ import { t as e } from "./useSpring-C0jyvEJB.js";
2
+ import { t } from "./useSpringPress-BsqPr7FJ.js";
3
+ import { t as n } from "./useLiquidPress-kfb4KX79.js";
4
+ import { n as r, t as i } from "./springPresets-CFQGQfdl.js";
5
+ import { t as a } from "./useSpringMount-q1amq1SJ.js";
6
+ import { n as o, t as s } from "./constants-BPOqYJAm.js";
7
+ import { t as c } from "./useDragMorph-DgxnsVJz.js";
8
+ import { t as l } from "./useAnimatedNumber-BfUq2bUM.js";
9
+ import { computed as u, onBeforeUnmount as d, onScopeDispose as f, ref as p, shallowRef as m } from "vue";
10
+ import { AnimationOptionError as h, Draggable as g, ElementMorph as _, ElementMorph as v, ManualTimeline as y, NumericAnimation as b, NumericAnimation as x, RAFPlayback as S, ScrollTimeline as C, Sequence as w, SmoothProgress as T, SpringProgress as E, Timeline as D, UnknownEasingError as O, createNativeTimeline as k, decay as A, decayRest as j, drag as M, flip as N, flipShared as P, loadAnimationEngine as F, resolveEasing as I, springLinearStops as L, springTimingFunction as R, springTimingFunction as z, stagger as B, toEasing as V } from "@mkbabb/keyframes.js";
11
+ //#region src/composables/motion/useLiquidReveal.ts
12
+ function H() {
13
+ return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
14
+ }
15
+ function U(e, t = {}) {
16
+ let n = t.respectReducedMotion !== !1, i = t.blur ?? 4, { response: a, dampingFraction: o } = r(t.preset ?? "snappy"), s = z({
17
+ response: a,
18
+ dampingFraction: o
19
+ }), c = a * 4 * 1e3, l = null, u = 0, d = 0;
20
+ function p(e) {
21
+ e.style.transform = "", e.style.transformOrigin = "", e.style.opacity = "", e.style.filter = "";
22
+ }
23
+ function m() {
24
+ u && typeof cancelAnimationFrame == "function" && cancelAnimationFrame(u), u = 0;
25
+ }
26
+ function h() {
27
+ let r = e.value;
28
+ if (!r) return;
29
+ m();
30
+ let a = r.getBoundingClientRect(), o = t.trigger?.value ?? null, f = o ? o.getBoundingClientRect() : {
31
+ x: a.x + a.width * .04,
32
+ y: a.y + a.height * .04,
33
+ width: a.width * .92,
34
+ height: a.height * .92
35
+ }, h = `${f.x - a.x}px ${f.y - a.y}px`;
36
+ if (n && H()) {
37
+ p(r), r.style.opacity = "1";
38
+ return;
39
+ }
40
+ l = new v({
41
+ x: a.x,
42
+ y: a.y,
43
+ width: a.width,
44
+ height: a.height
45
+ }, {
46
+ x: f.x,
47
+ y: f.y,
48
+ width: f.width,
49
+ height: f.height
50
+ }, { transformOrigin: h }), d = 0;
51
+ let g = (t) => {
52
+ if (!l || !e.value) return;
53
+ d === 0 && (d = t);
54
+ let n = Math.min(1, (t - d) / c), a = s.fn(n), o = 1 - a;
55
+ l.apply(r, o), r.style.opacity = String(Math.min(1, Math.max(0, a)));
56
+ let f = i * o;
57
+ r.style.filter = `blur(${f.toFixed(2)}px)`, n < 1 && typeof requestAnimationFrame == "function" ? u = requestAnimationFrame(g) : (p(r), r.style.opacity = "1", l = null, u = 0);
58
+ };
59
+ typeof requestAnimationFrame == "function" ? u = requestAnimationFrame(g) : (p(r), r.style.opacity = "1");
60
+ }
61
+ function g() {
62
+ m(), l = null;
63
+ let t = e.value;
64
+ t && p(t);
65
+ }
66
+ return f(() => {
67
+ m(), l = null;
68
+ }), {
69
+ reveal: h,
70
+ conceal: g
71
+ };
72
+ }
73
+ //#endregion
74
+ //#region src/composables/motion/useDockCtaReceive.ts
75
+ function W() {
76
+ return typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
77
+ }
78
+ function G(e, t) {
79
+ let n = t.respectReducedMotion !== !1, i = t.blur ?? 4, { response: a, dampingFraction: o } = r(t.preset ?? "snappy"), s = z({
80
+ response: a,
81
+ dampingFraction: o
82
+ }), c = a * 4 * 1e3, l = null, u = 0, d = 0;
83
+ function p(e) {
84
+ e.style.transform = "", e.style.transformOrigin = "", e.style.opacity = "", e.style.filter = "";
85
+ }
86
+ function m() {
87
+ u && typeof cancelAnimationFrame == "function" && cancelAnimationFrame(u), u = 0;
88
+ }
89
+ function h() {
90
+ t.onReceived?.();
91
+ }
92
+ function g() {
93
+ let r = e.value;
94
+ if (!r) return;
95
+ m();
96
+ let a = r.getBoundingClientRect(), o = t.dockControl.value;
97
+ if (!o) {
98
+ r.style.opacity = "0", h();
99
+ return;
100
+ }
101
+ let f = o.getBoundingClientRect();
102
+ if (n && W()) {
103
+ p(r), r.style.opacity = "0", h();
104
+ return;
34
105
  }
106
+ l = new v({
107
+ x: a.x,
108
+ y: a.y,
109
+ width: a.width,
110
+ height: a.height
111
+ }, {
112
+ x: f.x,
113
+ y: f.y,
114
+ width: f.width,
115
+ height: f.height
116
+ }, { transformOrigin: "center center" }), d = 0;
117
+ let g = (t) => {
118
+ if (!l || !e.value) return;
119
+ d === 0 && (d = t);
120
+ let n = Math.min(1, (t - d) / c), a = s.fn(n);
121
+ l.apply(r, a), r.style.opacity = String(Math.min(1, Math.max(0, 1 - a)));
122
+ let o = i * Math.min(1, Math.max(0, a));
123
+ r.style.filter = `blur(${o.toFixed(2)}px)`, n < 1 && typeof requestAnimationFrame == "function" ? u = requestAnimationFrame(g) : (r.style.opacity = "0", l = null, u = 0, h());
124
+ };
125
+ typeof requestAnimationFrame == "function" ? u = requestAnimationFrame(g) : (p(r), r.style.opacity = "0", h());
126
+ }
127
+ function _() {
128
+ m(), l = null;
129
+ let t = e.value;
130
+ t && p(t);
131
+ }
132
+ return f(() => {
133
+ m(), l = null;
134
+ }), {
135
+ receive: g,
136
+ reset: _
35
137
  };
36
138
  }
37
139
  //#endregion
38
140
  //#region src/composables/motion/useNumericTransition.ts
39
- function R(e) {
40
- let t = u(0), n = u(!1), { from: r, to: i, duration: a, timingFunction: o, onFrame: s } = e, l = d(new _([r, i], {
141
+ function K(e) {
142
+ let t = p(0), n = p(!1), { from: r, to: i, duration: a, timingFunction: o, onFrame: s } = e, c = m(new x([r, i], {
41
143
  duration: a,
42
144
  timingFunction: o
43
145
  }));
44
- async function f() {
45
- n.value && l.value.stop(), n.value = !0, t.value = 0;
146
+ async function l() {
147
+ n.value && c.value.stop(), n.value = !0, t.value = 0;
46
148
  try {
47
- await l.value.play((e) => {
149
+ await c.value.play((e) => {
48
150
  s?.(e);
49
151
  let n = Object.keys(r);
50
152
  if (n.length > 0) {
@@ -59,34 +161,34 @@ function R(e) {
59
161
  n.value = !1;
60
162
  }
61
163
  }
62
- function p() {
63
- l.value.stop(), n.value = !1;
164
+ function u() {
165
+ c.value.stop(), n.value = !1;
64
166
  }
65
- return c(() => {
66
- p();
167
+ return d(() => {
168
+ u();
67
169
  }), {
68
- start: f,
69
- stop: p,
170
+ start: l,
171
+ stop: u,
70
172
  progress: t,
71
173
  playing: n
72
174
  };
73
175
  }
74
176
  //#endregion
75
177
  //#region src/composables/motion/useAnimatedNumberMap.ts
76
- function z(e) {
178
+ function q(e) {
77
179
  let { keys: t, source: n, ...r } = e, i = {};
78
180
  for (let e of t) {
79
- let t = n(e), { current: a } = o(() => t.value, r);
80
- i[e] = s(() => t.value === null ? null : a.value);
181
+ let t = n(e), { current: a } = l(() => t.value, r);
182
+ i[e] = u(() => t.value === null ? null : a.value);
81
183
  }
82
184
  return i;
83
185
  }
84
186
  //#endregion
85
187
  //#region src/composables/motion/useCountup.ts
86
- function B() {
188
+ function J() {
87
189
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
88
190
  }
89
- function V(e, t) {
191
+ function Y(e, t) {
90
192
  let { easeFn: n, skip: r } = t, i = /* @__PURE__ */ new Map();
91
193
  function a(e) {
92
194
  let t = i.get(e);
@@ -95,12 +197,12 @@ function V(e, t) {
95
197
  function o(e) {
96
198
  e.querySelectorAll("[data-countup]").forEach((e) => {
97
199
  let t = parseFloat(e.getAttribute("data-countup") ?? "0") || 0, r = parseFloat(e.getAttribute("data-countup-dur") ?? "1200"), o = parseFloat(e.getAttribute("data-countup-delay") ?? "0");
98
- if (a(e), B()) {
200
+ if (a(e), J()) {
99
201
  e.textContent = String(t);
100
202
  return;
101
203
  }
102
204
  e.textContent = "0";
103
- let s = new _([{ v: 0 }, { v: t }], {
205
+ let s = new x([{ v: 0 }, { v: t }], {
104
206
  duration: r,
105
207
  timingFunction: n
106
208
  });
@@ -130,14 +232,14 @@ function V(e, t) {
130
232
  a(e), e.textContent = e.getAttribute("data-countup") ?? e.textContent;
131
233
  });
132
234
  }
133
- function u() {
235
+ function l() {
134
236
  for (let e of [...i.keys()]) a(e);
135
237
  }
136
- return l(u), {
238
+ return f(l), {
137
239
  runActive: s,
138
240
  settle: c,
139
- cancel: u
241
+ cancel: l
140
242
  };
141
243
  }
142
244
  //#endregion
143
- export { f as AnimationOptionError, a as DAMPING, p as Draggable, m as ElementMorph, h as ManualTimeline, g as NumericAnimation, v as RAFPlayback, i as SNAP_THRESHOLD, r as SPRING_PRESETS, y as ScrollTimeline, b as Sequence, x as SmoothProgress, S as SpringProgress, C as Timeline, w as UnknownEasingError, T as createNativeTimeline, E as decay, D as decayRest, O as drag, k as flip, A as flipShared, j as loadAnimationEngine, M as resolveEasing, N as springLinearStops, n as springPreset, P as springTimingFunction, F as stagger, I as toEasing, o as useAnimatedNumber, z as useAnimatedNumberMap, V as useCountup, R as useNumericTransition, e as useSpring, t as useSpringMount, L as useSpringPress };
245
+ export { h as AnimationOptionError, s as DAMPING, g as Draggable, _ as ElementMorph, y as ManualTimeline, b as NumericAnimation, S as RAFPlayback, o as SNAP_THRESHOLD, i as SPRING_PRESETS, C as ScrollTimeline, w as Sequence, T as SmoothProgress, E as SpringProgress, D as Timeline, O as UnknownEasingError, k as createNativeTimeline, A as decay, j as decayRest, M as drag, N as flip, P as flipShared, F as loadAnimationEngine, I as resolveEasing, L as springLinearStops, r as springPreset, R as springTimingFunction, B as stagger, V as toEasing, l as useAnimatedNumber, q as useAnimatedNumberMap, Y as useCountup, G as useDockCtaReceive, c as useDragMorph, n as useLiquidPress, U as useLiquidReveal, K as useNumericTransition, e as useSpring, a as useSpringMount, t as useSpringPress };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Notification-DKjKsQq8.js";
1
+ import { t as e } from "./Notification-VUwexFUf.js";
2
2
  export { e as Notification };
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-1VtwDSgf.js";
1
+ import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-Cq7EzX-U.js";
2
2
  export { e as NumberField, i as NumberFieldContent, n as NumberFieldDecrement, r as NumberFieldIncrement, t as NumberFieldInput };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./_plugin-vue_export-helper-CBt_VvXa.js";
2
+ import { t } from "./_plugin-vue_export-helper-C1je1s0u.js";
3
3
  import { Fragment as n, computed as r, createElementBlock as i, defineComponent as a, mergeModels as o, nextTick as s, normalizeClass as c, openBlock as l, ref as u, renderList as d, unref as f, useModel as p, watch as m } from "vue";
4
4
  //#region src/components/custom/pager-dots/PagerDots.vue?vue&type=script&setup=true&lang.ts
5
5
  var h = [
@@ -1,2 +1,2 @@
1
- import { t as e } from "./PaperBackdrop-nBKe0vkB.js";
1
+ import { t as e } from "./PaperBackdrop-Vf3tlpvd.js";
2
2
  export { e as PaperBackdrop };
package/dist/popover.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./PopoverContent-BTorlp--.js";
1
+ import { n as e, r as t, t as n } from "./PopoverContent-DL7E6vJP.js";
2
2
  export { t as Popover, n as PopoverContent, e as PopoverTrigger };