@mkbabb/glass-ui 3.10.1 → 3.11.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 (279) hide show
  1. package/dist/{CardAction-DrAcAV4d.js → CardAction-DuArVky-.js} +2 -2
  2. package/dist/{CommandShortcut-mV2e1aG6.js → CommandShortcut-CefCj5mt.js} +2 -2
  3. package/dist/{DataTable-C3E6jZ5B.js → DataTable-CUHMukiQ.js} +2 -2
  4. package/dist/DeckProgress-Dmk4_AKN.js +23 -0
  5. package/dist/{DialogContent-BxaaafFi.js → DialogContent-BRkT1cjP.js} +1 -1
  6. package/dist/{HoverPopover-CDA_SaCe.js → HoverPopover-2LOIW34a.js} +1 -1
  7. package/dist/InstrumentRail-CUJ05YVG.js +44 -0
  8. package/dist/{MetricBadge-idgrkqoP.js → MetricBadge-BZVWIxNy.js} +7 -5
  9. package/dist/{Notification-Cu0nN17_.js → Notification-DLMhblXR.js} +1 -1
  10. package/dist/{NumberFieldContent-CHEWghnY.js → NumberFieldContent-BbLOh8RU.js} +2 -2
  11. package/dist/{PopoverContent-DpUvdYY-.js → PopoverContent-BId6ggf_.js} +1 -1
  12. package/dist/{Progress-BW-StFw2.js → Progress-iEuD9pxG.js} +1 -1
  13. package/dist/{ScrollingText-DruYCni_.js → ScrollingText-BPP84wKo.js} +1 -1
  14. package/dist/{SelectScrollDownButton-pirzjm--.js → SelectScrollDownButton-T32cVFeM.js} +3 -3
  15. package/dist/{Switch-DeAqg6pi.js → Switch-Ch-k3Rv-.js} +1 -1
  16. package/dist/{TabsList-BAVzOZpg.js → TabsList-B8CVOQPC.js} +2 -2
  17. package/dist/{Toaster-CvuuW_y9.js → Toaster-1rYWrmAm.js} +46 -49
  18. package/dist/{ToggleGroupItem-DtD37b4G.js → ToggleGroupItem-COu_4IW4.js} +21 -17
  19. package/dist/animated-digit.js +2 -2
  20. package/dist/api/index.d.ts +5 -4
  21. package/dist/api.js +2 -2
  22. package/dist/aurora.js +70 -70
  23. package/dist/{badge-NdCQMvvB.js → badge-CaoFJzRb.js} +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/{button-DyiWFAOE.js → button-DN39cGqL.js} +12 -12
  26. package/dist/button.js +1 -1
  27. package/dist/canvas.js +2 -2
  28. package/dist/card.js +1 -1
  29. package/dist/carousel.js +5 -5
  30. package/dist/collapsible.js +1 -1
  31. package/dist/{color-B65wWyQz.js → color-C5ls_QF7.js} +7 -9
  32. package/dist/color.js +1 -1
  33. package/dist/command.js +1 -1
  34. package/dist/components/custom/aurora/constants/presets.d.ts +62 -5
  35. package/dist/components/custom/aurora/constants/shaders/mediums.glsl.d.ts +1 -1
  36. package/dist/components/custom/aurora/index.d.ts +1 -1
  37. package/dist/components/custom/constellation/Constellation.vue.d.ts +0 -12
  38. package/dist/components/custom/constellation/constellationField.d.ts +151 -10
  39. package/dist/components/custom/constellation/index.d.ts +1 -3
  40. package/dist/components/custom/controls/DarkModeToggle.vue.d.ts +0 -11
  41. package/dist/components/custom/deck-progress/DeckProgress.vue.d.ts +27 -0
  42. package/dist/components/custom/deck-progress/index.d.ts +2 -0
  43. package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +57 -0
  44. package/dist/components/custom/dialog-native/index.d.ts +1 -0
  45. package/dist/components/custom/dock/DockTabButton.vue.d.ts +4 -3
  46. package/dist/components/custom/dock/GlassDock.vue.d.ts +115 -3
  47. package/dist/components/custom/dock/composables/dockMorphContext.d.ts +0 -36
  48. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +0 -44
  49. package/dist/components/custom/expandable-container/ExpandableContainer.vue.d.ts +37 -5
  50. package/dist/components/custom/fourier-field/index.d.ts +1 -1
  51. package/dist/components/custom/fourier-field/math.d.ts +0 -17
  52. package/dist/components/custom/glass-panel/GlassPanel.vue.d.ts +41 -0
  53. package/dist/components/custom/glass-panel/index.d.ts +2 -0
  54. package/dist/components/custom/goo-blob/composables/useBlobPointer.d.ts +3 -4
  55. package/dist/components/custom/goo-blob/composables/useMetaballRenderer.d.ts +8 -11
  56. package/dist/components/custom/handmark/HandMark.vue.d.ts +29 -0
  57. package/dist/components/custom/handmark/brush.d.ts +242 -0
  58. package/dist/components/custom/handmark/freehand.d.ts +69 -0
  59. package/dist/components/custom/handmark/geometry.d.ts +50 -0
  60. package/dist/components/custom/handmark/index.d.ts +21 -0
  61. package/dist/components/custom/handmark/ink.d.ts +11 -0
  62. package/dist/components/custom/handmark/texture.d.ts +39 -0
  63. package/dist/components/custom/handmark/types.d.ts +53 -0
  64. package/dist/components/custom/handmark/useHandMark.d.ts +87 -0
  65. package/dist/components/custom/header-ribbon/HeaderRibbon.vue.d.ts +31 -0
  66. package/dist/components/custom/header-ribbon/index.d.ts +2 -0
  67. package/dist/components/custom/header-ribbon/types.d.ts +7 -0
  68. package/dist/components/custom/instrument-chassis/InstrumentChassis.vue.d.ts +2 -2
  69. package/dist/components/custom/instrument-rail/InstrumentRail.vue.d.ts +91 -0
  70. package/dist/components/custom/instrument-rail/index.d.ts +2 -0
  71. package/dist/components/custom/metric-badge/MetricBadge.vue.d.ts +8 -0
  72. package/dist/components/ui/drawer/Drawer.vue.d.ts +0 -1
  73. package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -2
  74. package/dist/components/ui/slider/index.d.ts +19 -22
  75. package/dist/components/ui/toast/use-toast.d.ts +2 -2
  76. package/dist/components/ui/toggle/Toggle.vue.d.ts +1 -1
  77. package/dist/components/ui/toggle/index.d.ts +1 -1
  78. package/dist/components/ui/toggle-group/ToggleGroup.vue.d.ts +7 -1
  79. package/dist/components/ui/toggle-group/ToggleGroupItem.vue.d.ts +3 -1
  80. package/dist/components/ui/toggle-group/toggleGroupContext.d.ts +13 -0
  81. package/dist/composables/color/index.d.ts +0 -12
  82. package/dist/composables/dark/index.d.ts +1 -1
  83. package/dist/composables/dark/useGlobalDark.d.ts +21 -1
  84. package/dist/composables/glass/useSpecularTracking.d.ts +3 -12
  85. package/dist/composables/motion/core/index.d.ts +1 -0
  86. package/dist/composables/motion/index.d.ts +0 -2
  87. package/dist/composables/motion/useRouteTransition.d.ts +42 -0
  88. package/dist/composables/motion/useSpringMount.d.ts +1 -1
  89. package/dist/configurator.js +1 -1
  90. package/dist/confirm-dialog.js +2 -2
  91. package/dist/constellation.js +225 -260
  92. package/dist/controls.js +14 -48
  93. package/dist/dark.d.ts +1 -1
  94. package/dist/dark.js +1 -1
  95. package/dist/data-table.js +1 -1
  96. package/dist/deck-progress.d.ts +1 -0
  97. package/dist/deck-progress.js +2 -0
  98. package/dist/dialog.js +2 -2
  99. package/dist/dock.js +345 -340
  100. package/dist/dockContext-BKeIMmNk.js +9 -0
  101. package/dist/{dropdown-menu-DVnQcA0E.js → dropdown-menu-D77jX6Df.js} +4 -7
  102. package/dist/dropdown-menu.js +1 -1
  103. package/dist/expandable-container.js +79 -38
  104. package/dist/forms.js +2 -2
  105. package/dist/fourier-field.js +102 -137
  106. package/dist/fourier-math.js +2 -2
  107. package/dist/glass-panel.d.ts +1 -0
  108. package/dist/glass-panel.js +44 -0
  109. package/dist/glass-ui.css +1 -1
  110. package/dist/glass-ui.js +209 -287
  111. package/dist/goo-blob.js +212 -243
  112. package/dist/handmark.d.ts +1 -0
  113. package/dist/handmark.js +663 -0
  114. package/dist/header-ribbon.d.ts +1 -0
  115. package/dist/header-ribbon.js +63 -0
  116. package/dist/hover-popover.js +1 -1
  117. package/dist/icon-tooltip.js +1 -1
  118. package/dist/index.d.ts +3 -0
  119. package/dist/instrument-rail.d.ts +1 -0
  120. package/dist/instrument-rail.js +2 -0
  121. package/dist/keyboard.js +1 -1
  122. package/dist/labeled-field.js +5 -5
  123. package/dist/{math-BUU9hHID.js → math-DTpRVC0e.js} +2 -18
  124. package/dist/metric-badge.js +1 -1
  125. package/dist/metric-stack.js +1 -1
  126. package/dist/motion-core.js +70 -69
  127. package/dist/motion.js +37 -38
  128. package/dist/notification.js +1 -1
  129. package/dist/number-field.js +1 -1
  130. package/dist/popover.js +1 -1
  131. package/dist/{presets-1OhFpaIC.js → presets-BP_ALM0m.js} +14 -1
  132. package/dist/progress.js +1 -1
  133. package/dist/pulse.js +1 -1
  134. package/dist/reactive.js +1 -1
  135. package/dist/scrolling-text.js +1 -1
  136. package/dist/search.js +6 -6
  137. package/dist/select.js +1 -1
  138. package/dist/{sheet-ChSXcJpU.js → sheet-VZEtNFvO.js} +1 -1
  139. package/dist/sheet.js +1 -1
  140. package/dist/{slider-sfl8gFDD.js → slider-ClgpP7EB.js} +4 -4
  141. package/dist/slider.js +1 -1
  142. package/dist/sortable-list.js +2 -2
  143. package/dist/stacked-icons.js +6 -6
  144. package/dist/styles/animations.css +111 -15
  145. package/dist/styles/components.css +1 -1
  146. package/dist/styles/dock/layer-group.css +0 -22
  147. package/dist/styles/dock/layers.css +1 -11
  148. package/dist/styles/dock/morph.css +19 -95
  149. package/dist/styles/dock/shell.css +0 -12
  150. package/dist/styles/dock-controls.css +31 -28
  151. package/dist/styles/drawer.css +0 -2
  152. package/dist/styles/floating-panel.css +0 -2
  153. package/dist/styles/glass-refract.css +0 -2
  154. package/dist/styles/glass.css +1188 -31
  155. package/dist/styles/hover-popover.css +0 -2
  156. package/dist/styles/index.css +6 -24
  157. package/dist/styles/instrument-chassis.css +0 -4
  158. package/dist/styles/paper.css +68 -2
  159. package/dist/styles/theme.css +20 -13
  160. package/dist/styles/tokens.css +2360 -22
  161. package/dist/styles/typography.css +6 -18
  162. package/dist/styles/utilities.css +1291 -19
  163. package/dist/styles/view-transition.css +51 -0
  164. package/dist/switch.js +1 -1
  165. package/dist/tabs.js +98 -98
  166. package/dist/timeline.js +2 -2
  167. package/dist/toast.js +1 -1
  168. package/dist/toggle-group.js +1 -1
  169. package/dist/typewriter.js +1 -1
  170. package/dist/{useAnimatedNumber-DfVgP4te.js → useAnimatedNumber-Bcpy5Etf.js} +1 -1
  171. package/dist/{useConfiguratorState-BdQXh9ie.js → useConfiguratorState-DxAqksK6.js} +1 -1
  172. package/dist/useGlassRenderer-D7YGOYiM.js +69 -0
  173. package/dist/{useGlobalDark-D7R9OypB.js → useGlobalDark-D1wgEqfW.js} +21 -2
  174. package/dist/useSpecularTracking-BVRZsRHA.js +26 -0
  175. package/dist/useSpringMount-BJSHcLl3.js +113 -0
  176. package/dist/useViewTransition-DaN5Zrox.js +21 -0
  177. package/dist/vReveal-zUIQk-rJ.js +53 -0
  178. package/dist/watercolor-dot.js +2 -2
  179. package/package.json +57 -33
  180. package/src/styles/animations.css +111 -15
  181. package/src/styles/dock/layer-group.css +0 -22
  182. package/src/styles/dock/layers.css +1 -11
  183. package/src/styles/dock/morph.css +19 -95
  184. package/src/styles/dock/shell.css +0 -12
  185. package/src/styles/dock-controls.css +31 -28
  186. package/src/styles/glass.css +1188 -31
  187. package/src/styles/index.css +6 -24
  188. package/src/styles/paper.css +68 -2
  189. package/src/styles/theme.css +20 -13
  190. package/src/styles/tokens.css +2360 -22
  191. package/src/styles/typography.css +6 -18
  192. package/src/styles/utilities.css +1291 -19
  193. package/src/styles/view-transition.css +51 -0
  194. package/dist/components/custom/aurora/constants/shaders/vangogh-medium.glsl.d.ts +0 -1
  195. package/dist/components/custom/constellation/composables/createConstellationField.d.ts +0 -35
  196. package/dist/components/custom/constellation/composables/useConstellationPointer.d.ts +0 -35
  197. package/dist/components/custom/constellation/constants.d.ts +0 -36
  198. package/dist/components/custom/constellation/constellationDraw.d.ts +0 -18
  199. package/dist/components/custom/constellation/constellationInteraction.d.ts +0 -102
  200. package/dist/components/custom/dock/composables/useDockMorphWindow.d.ts +0 -15
  201. package/dist/components/custom/dock/composables/useDockShellProps.d.ts +0 -131
  202. package/dist/components/custom/dock/constants.d.ts +0 -23
  203. package/dist/components/custom/fourier-field/presets.d.ts +0 -54
  204. package/dist/components/custom/goo-blob/composables/buildMetaballProgram.d.ts +0 -18
  205. package/dist/components/custom/goo-blob/composables/uploadBlobUniforms.d.ts +0 -41
  206. package/dist/components/custom/goo-blob/constants.d.ts +0 -52
  207. package/dist/components/custom/goo-blob/shaders/metaball-uniforms.glsl.d.ts +0 -1
  208. package/dist/components/custom/tabs/constants.d.ts +0 -12
  209. package/dist/components/custom/underline/GlassUnderline.vue.d.ts +0 -84
  210. package/dist/components/custom/underline/index.d.ts +0 -2
  211. package/dist/components/custom/underline/types.d.ts +0 -56
  212. package/dist/composables/motion/curves.d.ts +0 -48
  213. package/dist/composables/motion/springPresets.d.ts +0 -33
  214. package/dist/composables/motion/suite.d.ts +0 -2
  215. package/dist/dockContext-bho8B1A4.js +0 -17
  216. package/dist/motion-curves.d.ts +0 -1
  217. package/dist/motion-curves.js +0 -130
  218. package/dist/springPresets-aRSm-4_k.js +0 -40
  219. package/dist/styles/glass/a11y-fallback.css +0 -245
  220. package/dist/styles/glass/ladder.css +0 -304
  221. package/dist/styles/glass/material.css +0 -238
  222. package/dist/styles/glass/progress-rail.css +0 -78
  223. package/dist/styles/glass/squircle.css +0 -66
  224. package/dist/styles/glass/surfaces.css +0 -306
  225. package/dist/styles/tokens/color-radius.css +0 -250
  226. package/dist/styles/tokens/dark-arm.css +0 -194
  227. package/dist/styles/tokens/glass.css +0 -413
  228. package/dist/styles/tokens/light-dark.css +0 -158
  229. package/dist/styles/tokens/offsets-sizing.css +0 -406
  230. package/dist/styles/tokens/property-regs.css +0 -169
  231. package/dist/styles/tokens/scale-paper.css +0 -361
  232. package/dist/styles/tokens/scheme-motion.css +0 -334
  233. package/dist/styles/tokens/shadow.css +0 -132
  234. package/dist/styles/utilities/a11y-overrides.css +0 -140
  235. package/dist/styles/utilities/animate.css +0 -26
  236. package/dist/styles/utilities/base.css +0 -365
  237. package/dist/styles/utilities/btn.css +0 -399
  238. package/dist/styles/utilities/components.css +0 -317
  239. package/dist/underline.d.ts +0 -1
  240. package/dist/underline.js +0 -85
  241. package/dist/useSpecularTracking-DFK_fhpG.js +0 -32
  242. package/dist/useSpringMount-DXUzxBjV.js +0 -108
  243. package/dist/vReveal-CqaCz_mC.js +0 -44
  244. package/src/styles/glass/a11y-fallback.css +0 -245
  245. package/src/styles/glass/ladder.css +0 -304
  246. package/src/styles/glass/material.css +0 -238
  247. package/src/styles/glass/progress-rail.css +0 -78
  248. package/src/styles/glass/squircle.css +0 -66
  249. package/src/styles/glass/surfaces.css +0 -306
  250. package/src/styles/tokens/color-radius.css +0 -250
  251. package/src/styles/tokens/dark-arm.css +0 -194
  252. package/src/styles/tokens/glass.css +0 -413
  253. package/src/styles/tokens/light-dark.css +0 -158
  254. package/src/styles/tokens/offsets-sizing.css +0 -406
  255. package/src/styles/tokens/property-regs.css +0 -169
  256. package/src/styles/tokens/scale-paper.css +0 -361
  257. package/src/styles/tokens/scheme-motion.css +0 -334
  258. package/src/styles/tokens/shadow.css +0 -132
  259. package/src/styles/utilities/a11y-overrides.css +0 -140
  260. package/src/styles/utilities/animate.css +0 -26
  261. package/src/styles/utilities/base.css +0 -365
  262. package/src/styles/utilities/btn.css +0 -399
  263. package/src/styles/utilities/components.css +0 -317
  264. /package/dist/{CollapsibleContent-Drow5WkV.js → CollapsibleContent-CP9qF1v4.js} +0 -0
  265. /package/dist/{DialogFooter-DufLHi0y.js → DialogFooter-Gprw8H_A.js} +0 -0
  266. /package/dist/{IconTooltip-BrQ5p181.js → IconTooltip-Cus0fvK0.js} +0 -0
  267. /package/dist/{Input-B-F818RU.js → Input-xuDwALQR.js} +0 -0
  268. /package/dist/{_plugin-vue_export-helper-DWghtRt7.js → _plugin-vue_export-helper-ok8pgSl5.js} +0 -0
  269. /package/dist/{compile-Ce_V55zi.js → compile-BOXjLUxu.js} +0 -0
  270. /package/dist/{constants-C8NMonuo.js → constants-yKeKnE84.js} +0 -0
  271. /package/dist/{prng-CjVgzjQT.js → prng-D27-B3tK.js} +0 -0
  272. /package/dist/{resolveCanvasColor-CRvVzOvP.js → resolveCanvasColor-BBiYfp8g.js} +0 -0
  273. /package/dist/{useCanvas2D-CSeH8h16.js → useCanvas2D-ClrQuZtp.js} +0 -0
  274. /package/dist/{useIntersectionPause-DAdVPVp4.js → useIntersectionPause-Cck5Uxk8.js} +0 -0
  275. /package/dist/{useInterval-D3USn0yc.js → useInterval-Dsmqwi03.js} +0 -0
  276. /package/dist/{useKeyboardShortcuts-i8tHd5WO.js → useKeyboardShortcuts-CyIYrndH.js} +0 -0
  277. /package/dist/{useScrollProgress-CcgmgMQt.js → useScrollProgress-CffFGLa5.js} +0 -0
  278. /package/dist/{useSortable-DnyGXKKY.js → useSortable-C8ReQ50P.js} +0 -0
  279. /package/dist/{useTextHighlight-B3b10W6r.js → useTextHighlight-CWEi25hf.js} +0 -0
@@ -0,0 +1,63 @@
1
+ import { t as e } from "./_plugin-vue_export-helper-ok8pgSl5.js";
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
+ //#region src/components/custom/header-ribbon/HeaderRibbon.vue?vue&type=script&setup=true&lang.ts
4
+ var d = {
5
+ key: 0,
6
+ class: "pointer-events-auto shrink-0 mr-2"
7
+ }, f = /* @__PURE__ */ e(/* @__PURE__ */ a({
8
+ __name: "HeaderRibbon",
9
+ props: {
10
+ position: { default: "left" },
11
+ hideTimeoutMs: { default: 2e3 }
12
+ },
13
+ setup(e, { expose: a }) {
14
+ let f = e, p = l(!1), m = l(!1), h = l(!1), g = l(!1), _, v = t(() => p.value || m.value);
15
+ function y() {
16
+ _ != null && (clearTimeout(_), _ = void 0);
17
+ }
18
+ function b() {
19
+ g.value || (y(), _ = setTimeout(() => {
20
+ p.value = !1;
21
+ }, f.hideTimeoutMs));
22
+ }
23
+ function x() {
24
+ g.value = !0, y(), p.value = !0;
25
+ }
26
+ function S() {
27
+ g.value = !1, m.value || b();
28
+ }
29
+ function C() {
30
+ m.value ? (m.value = !1, h.value = !1, b()) : (m.value = !0, p.value = !0, h.value = !0, y());
31
+ }
32
+ return s(y), a({
33
+ isPinned: m,
34
+ isExpanded: p,
35
+ isVisible: v,
36
+ isToggled: h
37
+ }), (t, a) => (c(), r("div", {
38
+ class: o(["fixed z-dock pointer-events-none w-fit flex items-center px-4 pt-4 pb-2", e.position === "left" ? "top-0 left-0" : "top-0 right-0"]),
39
+ onMouseleave: S
40
+ }, [t.$slots.left ? (c(), r("div", d, [u(t.$slots, "left", {}, void 0, !0)])) : n("", !0), i("div", {
41
+ class: "pointer-events-auto flex items-center h-6",
42
+ onMouseenter: x
43
+ }, [
44
+ e.position === "right" ? (c(), r("div", {
45
+ key: 0,
46
+ class: o(["header-items-wrapper header-items-right flex items-center gap-3", v.value ? "" : "header-collapsed-right"])
47
+ }, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0),
48
+ i("div", {
49
+ class: "shrink-0",
50
+ onClick: C
51
+ }, [u(t.$slots, "anchor", {
52
+ pinned: m.value,
53
+ toggled: h.value
54
+ }, void 0, !0)]),
55
+ e.position === "left" ? (c(), r("div", {
56
+ key: 1,
57
+ class: o(["header-items-wrapper header-items-left flex items-center gap-3", v.value ? "" : "header-collapsed-left"])
58
+ }, [u(t.$slots, "items", {}, void 0, !0)], 2)) : n("", !0)
59
+ ], 32)], 34));
60
+ }
61
+ }), [["__scopeId", "data-v-7f77154a"]]);
62
+ //#endregion
63
+ export { f as HeaderRibbon };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./HoverPopover-CDA_SaCe.js";
1
+ import { t as e } from "./HoverPopover-2LOIW34a.js";
2
2
  export { e as HoverPopover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconTooltip-BrQ5p181.js";
1
+ import { t as e } from "./IconTooltip-Cus0fvK0.js";
2
2
  export { e as IconTooltip };
package/dist/index.d.ts CHANGED
@@ -36,14 +36,17 @@ export * from "./components/ui/toggle";
36
36
  export * from "./components/ui/toggle-group";
37
37
  export * from "./components/ui/tooltip";
38
38
  export * from "./components/custom/instrument-chassis";
39
+ export * from "./components/custom/instrument-rail";
39
40
  export * from "./components/custom/hover-popover";
40
41
  export * from "./components/custom/configurator";
41
42
  export * from "./components/custom/scrolling-text";
43
+ export * from "./components/custom/deck-progress";
42
44
  export * from "./composables/reactive";
43
45
  export * from "./composables/dom";
44
46
  export * from "./composables/glass";
45
47
  export * from "./composables/sortable";
46
48
  export { startViewTransition, supportsViewTransitions, type ViewTransitionResult, } from "./composables/motion/useViewTransition";
49
+ export { useRouteTransition, supportsRouteTransitions, type RouteTransitionOptions, type RouteTransitionResult, type UseRouteTransitionReturn, } from "./composables/motion/useRouteTransition";
47
50
  export { vReveal } from "./composables/motion/vReveal";
48
51
  export { useTextHighlight, type HighlightMatcher, type UseTextHighlightControls, } from "./composables/motion/useTextHighlight";
49
52
  export * from "./utils";
@@ -0,0 +1 @@
1
+ export * from "./components/custom/instrument-rail";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./InstrumentRail-CUJ05YVG.js";
2
+ export { e as InstrumentRail };
package/dist/keyboard.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./useKeyboardShortcuts-i8tHd5WO.js";
1
+ import { a as e, i as t, n, r, t as i } from "./useKeyboardShortcuts-CyIYrndH.js";
2
2
  export { i as formatCombo, n as formatComboParts, r as isMac, t as registerShortcut, e as useRegisteredShortcuts };
@@ -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-pirzjm--.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-T32cVFeM.js";
3
3
  import { t as o } from "./SelectGroup-BFiod7X2.js";
4
- import { n as s } from "./slider-sfl8gFDD.js";
5
- import { t as c } from "./Switch-DeAqg6pi.js";
6
- import { t as l } from "./Input-B-F818RU.js";
7
- import { t as u } from "./IconTooltip-BrQ5p181.js";
4
+ import { n as s } from "./slider-ClgpP7EB.js";
5
+ import { t as c } from "./Switch-Ch-k3Rv-.js";
6
+ import { t as l } from "./Input-xuDwALQR.js";
7
+ import { t as u } from "./IconTooltip-Cus0fvK0.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 = {
@@ -15,23 +15,7 @@ function t(e, t, n) {
15
15
  }
16
16
  return r;
17
17
  }
18
- function n(t) {
19
- let n = t.length;
20
- if (n === 0) return [];
21
- let r = [0], i = Math.floor(n / 2);
22
- for (let e = 1; e <= i; e++) r.push(e), e !== n - e && r.push(-e);
23
- let a = [];
24
- for (let i of r) {
25
- let r = 0, o = 0;
26
- for (let e = 0; e < n; e++) {
27
- let [a, s] = t[e], c = -2 * Math.PI * i * e / n, l = Math.cos(c), u = Math.sin(c);
28
- r += a * l - s * u, o += a * u + s * l;
29
- }
30
- a.push(e(i, r / n, o / n));
31
- }
32
- return a;
33
- }
34
- function r(t, n = {}) {
18
+ function n(t, n = {}) {
35
19
  let { harmonics: r = 4, harmonicScale: i = .22 } = n, a = .62 + t() * .18, o = a * (.34 + t() * .3), s = t() * Math.PI * 2, c = t() * Math.PI * 2, l = [e(1, a * Math.cos(s), a * Math.sin(s)), e(-1, o * Math.cos(c), o * Math.sin(c))];
36
20
  for (let n = 0; n < r; n++) {
37
21
  let r = 2 + Math.floor(n / 2), a = n % 2 == 0 ? r : -r, o = i / r * (.4 + t() * .6), s = t() * Math.PI * 2;
@@ -40,4 +24,4 @@ function r(t, n = {}) {
40
24
  return l;
41
25
  }
42
26
  //#endregion
43
- export { t as i, n, r, e as t };
27
+ export { n, t as r, e as t };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./MetricBadge-idgrkqoP.js";
1
+ import { t as e } from "./MetricBadge-BZVWIxNy.js";
2
2
  export { e as MetricBadge };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./_plugin-vue_export-helper-DWghtRt7.js";
2
+ import { t } from "./_plugin-vue_export-helper-ok8pgSl5.js";
3
3
  import { computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, normalizeClass as l, normalizeStyle as u, openBlock as d, renderSlot as f, resolveDynamicComponent as p, toDisplayString as m, unref as h, withCtx as g } from "vue";
4
4
  //#endregion
5
5
  //#region src/components/custom/metric-stack/MetricStack.vue
@@ -1,14 +1,15 @@
1
- import { i as e, n as t, r as n, t as r } from "./vReveal-CqaCz_mC.js";
1
+ import { i as e, n as t, r as n, t as r } from "./vReveal-zUIQk-rJ.js";
2
2
  import { n as i } from "./supportsCssTimeline-C5oe0lnD.js";
3
- import { t as a } from "./useTextHighlight-B3b10W6r.js";
4
- import { n as o, t as s } from "./useIntersectionPause-DAdVPVp4.js";
5
- import { t as c } from "./useScrollProgress-CcgmgMQt.js";
6
- import { n as l, t as u } from "./constants-C8NMonuo.js";
7
- import { computed as d, getCurrentScope as f, onBeforeUnmount as p, onScopeDispose as m, reactive as h, readonly as g, ref as _, watch as v } from "vue";
3
+ import { n as a, t as o } from "./useViewTransition-DaN5Zrox.js";
4
+ import { t as s } from "./useTextHighlight-CWEi25hf.js";
5
+ import { n as c, t as l } from "./useIntersectionPause-Cck5Uxk8.js";
6
+ import { t as u } from "./useScrollProgress-CffFGLa5.js";
7
+ import { n as d, t as f } from "./constants-yKeKnE84.js";
8
+ import { computed as p, getCurrentScope as m, onBeforeUnmount as h, onScopeDispose as g, reactive as _, readonly as v, ref as y, watch as b } from "vue";
8
9
  //#region src/composables/motion/useStaggerReveal.ts
9
- var y = i();
10
- function b(e = {}) {
11
- let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = _([]), o = h({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), l = y || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
10
+ var x = i();
11
+ function S(e = {}) {
12
+ let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = y([]), o = _({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), l = x || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
12
13
  for (let r of e) {
13
14
  let e = r.target, i = s.get(e);
14
15
  if (i !== void 0) if (r.isIntersecting) {
@@ -25,9 +26,9 @@ function b(e = {}) {
25
26
  function u(e, t) {
26
27
  if (!e) return;
27
28
  let n = t ?? a.value.length;
28
- s.has(e) || (s.set(e, n), a.value.push(e), o[n] = y, l?.observe(e));
29
+ s.has(e) || (s.set(e, n), a.value.push(e), o[n] = x, l?.observe(e));
29
30
  }
30
- return p(() => {
31
+ return h(() => {
31
32
  l?.disconnect();
32
33
  for (let e of c) clearTimeout(e);
33
34
  c.clear();
@@ -39,11 +40,11 @@ function b(e = {}) {
39
40
  }
40
41
  //#endregion
41
42
  //#region src/composables/motion/useStagger.ts
42
- function x() {
43
+ function C() {
43
44
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
44
45
  }
45
- function S(e) {
46
- 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 = _(Array(t).fill(!1)), s = _(t === 0), c = /* @__PURE__ */ new Set();
46
+ function w(e) {
47
+ 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();
47
48
  function l() {
48
49
  for (let e of c) clearTimeout(e);
49
50
  c.clear();
@@ -59,7 +60,7 @@ function S(e) {
59
60
  s.value = !0;
60
61
  return;
61
62
  }
62
- if (a && x()) {
63
+ if (a && C()) {
63
64
  d();
64
65
  return;
65
66
  }
@@ -71,7 +72,7 @@ function S(e) {
71
72
  c.add(a);
72
73
  }
73
74
  }
74
- return i && f(), m(l), {
75
+ return i && f(), g(l), {
75
76
  revealed: o,
76
77
  start: f,
77
78
  reset: u,
@@ -80,12 +81,12 @@ function S(e) {
80
81
  }
81
82
  //#endregion
82
83
  //#region src/composables/motion/useYieldToMain.ts
83
- function C() {
84
+ function T() {
84
85
  let e = globalThis.scheduler;
85
86
  return typeof e?.yield == "function" ? e.yield.bind(e) : null;
86
87
  }
87
- function w() {
88
- let e = C();
88
+ function E() {
89
+ let e = T();
89
90
  return e ? e() : typeof MessageChannel == "function" ? new Promise((e) => {
90
91
  let t = new MessageChannel();
91
92
  t.port1.onmessage = () => {
@@ -93,60 +94,60 @@ function w() {
93
94
  }, t.port2.postMessage(void 0);
94
95
  }) : new Promise((e) => setTimeout(e, 0));
95
96
  }
96
- function T() {
97
+ function D() {
97
98
  return {
98
- hasNativeYield: C() !== null,
99
- yield: w
99
+ hasNativeYield: T() !== null,
100
+ yield: E
100
101
  };
101
102
  }
102
103
  //#endregion
103
104
  //#region src/composables/motion/useRAFLoop.ts
104
- var E = "(prefers-reduced-motion: reduce)";
105
- function D() {
105
+ var O = "(prefers-reduced-motion: reduce)";
106
+ function k() {
106
107
  return typeof globalThis.requestAnimationFrame == "function" ? globalThis.requestAnimationFrame.bind(globalThis) : null;
107
108
  }
108
- function O() {
109
+ function A() {
109
110
  return typeof globalThis.cancelAnimationFrame == "function" ? globalThis.cancelAnimationFrame.bind(globalThis) : null;
110
111
  }
111
- function k() {
112
+ function j() {
112
113
  return typeof window > "u" ? null : window;
113
114
  }
114
- function A(e, t = {}) {
115
- let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a = _(!1), s = _(!1), c = _(!1), l = _(!1), u = _(!1), p = d(() => l.value && !a.value && (u.value || c.value || i && s.value || !D())), h = null, y = null, b = 0, x = 0, S = !1, C = null;
116
- function T() {
117
- return !S && l.value && !u.value && !c.value && !(i && s.value) && !!D();
115
+ function M(e, t = {}) {
116
+ let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a = y(!1), o = y(!1), s = y(!1), l = y(!1), u = y(!1), d = p(() => l.value && !a.value && (u.value || s.value || i && o.value || !k())), f = null, h = null, _ = 0, x = 0, S = !1, C = null;
117
+ function w() {
118
+ return !S && l.value && !u.value && !s.value && !(i && o.value) && !!k();
118
119
  }
119
- function A() {
120
- h !== null && (O()?.(h), h = null), a.value = !1, y = null;
120
+ function T() {
121
+ f !== null && (A()?.(f), f = null), a.value = !1, h = null;
121
122
  }
122
- function j() {
123
- if (h !== null || !T()) return;
124
- let t = D();
125
- t && (a.value = !0, h = t((t) => {
126
- if (h = null, !T()) {
127
- A();
123
+ function D() {
124
+ if (f !== null || !w()) return;
125
+ let t = k();
126
+ t && (a.value = !0, f = t((t) => {
127
+ if (f = null, !w()) {
128
+ T();
128
129
  return;
129
130
  }
130
- let n = y === null ? 0 : Math.max(0, t - y);
131
- y = t, b += n, e({
131
+ let n = h === null ? 0 : Math.max(0, t - h);
132
+ h = t, _ += n, e({
132
133
  now: t,
133
134
  delta: n,
134
- elapsed: b,
135
+ elapsed: _,
135
136
  frame: x++
136
- }), T() ? j() : A();
137
+ }), w() ? D() : T();
137
138
  }));
138
139
  }
139
140
  function M() {
140
- T() ? j() : A();
141
+ w() ? D() : T();
141
142
  }
142
143
  function N() {
143
- y = null, b = 0, x = 0;
144
+ h = null, _ = 0, x = 0;
144
145
  }
145
146
  function P() {
146
147
  S || (N(), l.value = !0, u.value = !1, M());
147
148
  }
148
149
  function F() {
149
- l.value = !1, u.value = !1, N(), A();
150
+ l.value = !1, u.value = !1, N(), T();
150
151
  }
151
152
  function I() {
152
153
  l.value && (u.value = !0, M());
@@ -155,47 +156,47 @@ function A(e, t = {}) {
155
156
  S || (u.value = !1, M());
156
157
  }
157
158
  if (r) {
158
- let { hidden: e } = o();
159
- c.value = e.value, v(e, (e) => {
160
- c.value = e, M();
159
+ let { hidden: e } = c();
160
+ s.value = e.value, b(e, (e) => {
161
+ s.value = e, M();
161
162
  }, { flush: "sync" });
162
163
  }
163
164
  if (i) {
164
- let e = k(), t = typeof e?.matchMedia == "function" ? e.matchMedia(E) : null;
165
+ let e = j(), t = typeof e?.matchMedia == "function" ? e.matchMedia(O) : null;
165
166
  if (t) {
166
167
  let e = (e) => {
167
- s.value = e.matches, M();
168
+ o.value = e.matches, M();
168
169
  };
169
- s.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), C = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), C = () => t.removeListener?.(e));
170
+ o.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), C = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), C = () => t.removeListener?.(e));
170
171
  }
171
172
  }
172
173
  function R() {
173
174
  S || (S = !0, F(), C?.(), C = null);
174
175
  }
175
- return f() && m(R), n && P(), {
176
- isActive: g(a),
177
- isPaused: g(p),
178
- isReducedMotion: g(s),
176
+ return m() && g(R), n && P(), {
177
+ isActive: v(a),
178
+ isPaused: v(d),
179
+ isReducedMotion: v(o),
179
180
  start: P,
180
181
  stop: F,
181
182
  pause: I,
182
183
  resume: L,
183
184
  dispose: R,
184
- yieldToMain: w
185
+ yieldToMain: E
185
186
  };
186
187
  }
187
188
  //#endregion
188
189
  //#region src/composables/motion/usePrioritizedTask.ts
189
- function j() {
190
+ function N() {
190
191
  if (!e()) return null;
191
192
  let t = globalThis.scheduler;
192
193
  return t?.postTask?.bind(t) ?? null;
193
194
  }
194
- function M() {
195
+ function P() {
195
196
  let e = /* @__PURE__ */ Error("The task was aborted.");
196
197
  return e.name = "AbortError", e;
197
198
  }
198
- function N(e) {
199
+ function F(e) {
199
200
  let t = e.filter((e) => e != null);
200
201
  if (t.length === 0) return;
201
202
  if (t.length === 1) return t[0];
@@ -210,20 +211,20 @@ function N(e) {
210
211
  }
211
212
  return n.signal;
212
213
  }
213
- function P(e, t = {}) {
214
- let { priority: n, signal: r, delay: i } = t, a = j();
214
+ function I(e, t = {}) {
215
+ let { priority: n, signal: r, delay: i } = t, a = N();
215
216
  return a ? a(e, {
216
217
  priority: n,
217
218
  signal: r,
218
219
  delay: i
219
220
  }) : new Promise((t, n) => {
220
221
  if (r?.aborted) {
221
- n(M());
222
+ n(P());
222
223
  return;
223
224
  }
224
225
  let a = () => {
225
226
  if (r?.aborted) {
226
- n(M());
227
+ n(P());
227
228
  return;
228
229
  }
229
230
  try {
@@ -240,20 +241,20 @@ function P(e, t = {}) {
240
241
  i && i > 0 ? setTimeout(o, i) : o();
241
242
  });
242
243
  }
243
- function F(e) {
244
+ function L(e) {
244
245
  let t = globalThis.TaskController;
245
246
  return typeof t == "function" ? new t(e ? { priority: e } : void 0) : null;
246
247
  }
247
- function I(e) {
248
- let t = F(e);
248
+ function R(e) {
249
+ let t = L(e);
249
250
  return {
250
- postTask: (n, r = {}) => P(n, {
251
+ postTask: (n, r = {}) => I(n, {
251
252
  priority: e,
252
253
  ...r,
253
- signal: N([t?.signal, r.signal])
254
+ signal: F([t?.signal, r.signal])
254
255
  }),
255
256
  abort: (e) => t?.abort(e)
256
257
  };
257
258
  }
258
259
  //#endregion
259
- export { u as DAMPING, l as SNAP_THRESHOLD, P as postTaskSafe, t as startViewTransition, n as supportsViewTransitions, s as useIntersectionPause, I as usePrioritizedTask, A as useRAFLoop, c as useScrollProgress, S as useStagger, b as useStaggerReveal, a as useTextHighlight, T as useYieldToMain, r as vReveal, w as yieldToMain };
260
+ export { f as DAMPING, d as SNAP_THRESHOLD, I as postTaskSafe, o as startViewTransition, t as supportsRouteTransitions, a as supportsViewTransitions, l as useIntersectionPause, R as usePrioritizedTask, M as useRAFLoop, n as useRouteTransition, u as useScrollProgress, w as useStagger, S as useStaggerReveal, s as useTextHighlight, D as useYieldToMain, r as vReveal, E as yieldToMain };
package/dist/motion.js CHANGED
@@ -1,12 +1,11 @@
1
- import { n as e, t } from "./useSpringMount-DXUzxBjV.js";
2
- import { n, t as r } from "./springPresets-aRSm-4_k.js";
3
- import { n as i, t as a } from "./constants-C8NMonuo.js";
4
- import { t as o } from "./useAnimatedNumber-DfVgP4te.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";
1
+ import { n as e, t } from "./useSpringMount-BJSHcLl3.js";
2
+ import { n, t as r } from "./constants-yKeKnE84.js";
3
+ import { t as i } from "./useAnimatedNumber-Bcpy5Etf.js";
4
+ import { computed as a, onBeforeUnmount as o, onScopeDispose as s, ref as c, shallowRef as l } from "vue";
5
+ import { NumericAnimation as u } from "@mkbabb/keyframes.js";
7
6
  //#region src/composables/motion/useSpringPress.ts
8
- function L(t = {}) {
9
- let n = u(0), r = e(n, {
7
+ function d(t = {}) {
8
+ let n = c(0), r = e(n, {
10
9
  response: t.response ?? .25,
11
10
  dampingFraction: t.dampingFraction ?? .7,
12
11
  initial: t.initial ?? 0,
@@ -36,16 +35,16 @@ function L(t = {}) {
36
35
  }
37
36
  //#endregion
38
37
  //#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], {
38
+ function f(e) {
39
+ let t = c(0), n = c(!1), { from: r, to: i, duration: a, timingFunction: s, onFrame: d } = e, f = l(new u([r, i], {
41
40
  duration: a,
42
- timingFunction: o
41
+ timingFunction: s
43
42
  }));
44
- async function f() {
45
- n.value && l.value.stop(), n.value = !0, t.value = 0;
43
+ async function p() {
44
+ n.value && f.value.stop(), n.value = !0, t.value = 0;
46
45
  try {
47
- await l.value.play((e) => {
48
- s?.(e);
46
+ await f.value.play((e) => {
47
+ d?.(e);
49
48
  let n = Object.keys(r);
50
49
  if (n.length > 0) {
51
50
  let a = n[0], o = i[a] - r[a];
@@ -59,34 +58,34 @@ function R(e) {
59
58
  n.value = !1;
60
59
  }
61
60
  }
62
- function p() {
63
- l.value.stop(), n.value = !1;
61
+ function m() {
62
+ f.value.stop(), n.value = !1;
64
63
  }
65
- return c(() => {
66
- p();
64
+ return o(() => {
65
+ m();
67
66
  }), {
68
- start: f,
69
- stop: p,
67
+ start: p,
68
+ stop: m,
70
69
  progress: t,
71
70
  playing: n
72
71
  };
73
72
  }
74
73
  //#endregion
75
74
  //#region src/composables/motion/useAnimatedNumberMap.ts
76
- function z(e) {
77
- let { keys: t, source: n, ...r } = e, i = {};
75
+ function p(e) {
76
+ let { keys: t, source: n, ...r } = e, o = {};
78
77
  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);
78
+ let t = n(e), { current: s } = i(() => t.value, r);
79
+ o[e] = a(() => t.value === null ? null : s.value);
81
80
  }
82
- return i;
81
+ return o;
83
82
  }
84
83
  //#endregion
85
84
  //#region src/composables/motion/useCountup.ts
86
- function B() {
85
+ function m() {
87
86
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
88
87
  }
89
- function V(e, t) {
88
+ function h(e, t) {
90
89
  let { easeFn: n, skip: r } = t, i = /* @__PURE__ */ new Map();
91
90
  function a(e) {
92
91
  let t = i.get(e);
@@ -95,12 +94,12 @@ function V(e, t) {
95
94
  function o(e) {
96
95
  e.querySelectorAll("[data-countup]").forEach((e) => {
97
96
  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()) {
97
+ if (a(e), m()) {
99
98
  e.textContent = String(t);
100
99
  return;
101
100
  }
102
101
  e.textContent = "0";
103
- let s = new _([{ v: 0 }, { v: t }], {
102
+ let s = new u([{ v: 0 }, { v: t }], {
104
103
  duration: r,
105
104
  timingFunction: n
106
105
  });
@@ -120,24 +119,24 @@ function V(e, t) {
120
119
  } else c();
121
120
  });
122
121
  }
123
- function s() {
122
+ function c() {
124
123
  if (r?.()) return;
125
124
  let t = e.value?.querySelector("[data-state=\"active\"]");
126
125
  t && o(t);
127
126
  }
128
- function c() {
127
+ function l() {
129
128
  document.querySelectorAll("[data-countup]").forEach((e) => {
130
129
  a(e), e.textContent = e.getAttribute("data-countup") ?? e.textContent;
131
130
  });
132
131
  }
133
- function u() {
132
+ function d() {
134
133
  for (let e of [...i.keys()]) a(e);
135
134
  }
136
- return l(u), {
137
- runActive: s,
138
- settle: c,
139
- cancel: u
135
+ return s(d), {
136
+ runActive: c,
137
+ settle: l,
138
+ cancel: d
140
139
  };
141
140
  }
142
141
  //#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 };
142
+ export { r as DAMPING, n as SNAP_THRESHOLD, i as useAnimatedNumber, p as useAnimatedNumberMap, h as useCountup, f as useNumericTransition, e as useSpring, t as useSpringMount, d as useSpringPress };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Notification-Cu0nN17_.js";
1
+ import { t as e } from "./Notification-DLMhblXR.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-CHEWghnY.js";
1
+ import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-BbLOh8RU.js";
2
2
  export { e as NumberField, i as NumberFieldContent, n as NumberFieldDecrement, r as NumberFieldIncrement, t as NumberFieldInput };
package/dist/popover.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as e, r as t, t as n } from "./PopoverContent-DpUvdYY-.js";
1
+ import { n as e, r as t, t as n } from "./PopoverContent-BId6ggf_.js";
2
2
  export { t as Popover, n as PopoverContent, e as PopoverTrigger };
@@ -66,6 +66,19 @@ var e = 6, t = 8, n = {
66
66
  saturation: 1,
67
67
  paperGrain: .008,
68
68
  alpha: 1
69
+ }, r = {
70
+ medium: "crayon",
71
+ strokeOrient: "tensor",
72
+ granulation: .3,
73
+ canvasGrain: .5,
74
+ strokeAmount: .35,
75
+ strokeAnisotropy: .5,
76
+ strokeLayers: 1,
77
+ impasto: 0,
78
+ brokenColor: 0,
79
+ wetEdge: 0,
80
+ saturation: .92,
81
+ paperGrain: .008
69
82
  };
70
83
  //#endregion
71
- export { e as n, t as r, n as t };
84
+ export { r as i, e as n, t as r, n as t };
package/dist/progress.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "./Progress-BW-StFw2.js";
1
+ import { a as e, i as t, n, r, t as i } from "./Progress-iEuD9pxG.js";
2
2
  export { i as Progress, e as ProgressDefault, t as ProgressGradient, n as ProgressSectioned, r as useProgressGeometry };
package/dist/pulse.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { t } from "./_plugin-vue_export-helper-DWghtRt7.js";
2
+ import { t } from "./_plugin-vue_export-helper-ok8pgSl5.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, openBlock as l, renderList as u, unref as d } from "vue";
4
4
  //#region src/components/custom/pulse/Pulse.vue?vue&type=script&setup=true&lang.ts
5
5
  var f = {
package/dist/reactive.js CHANGED
@@ -1,3 +1,3 @@
1
1
  import { t as e } from "./useTimer-3xqf_54b.js";
2
- import { t } from "./useInterval-D3USn0yc.js";
2
+ import { t } from "./useInterval-Dsmqwi03.js";
3
3
  export { t as useInterval, e as useTimer };