@mkbabb/glass-ui 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/{CardFooter-Yi0xtLLd.js → CardFooter-CSGcJkqa.js} +1 -1
  2. package/dist/{CommandShortcut-BNDzfFnB.js → CommandShortcut-DWT19a2Y.js} +3 -3
  3. package/dist/{ContextMenuSubContent-DLEyeqbh.js → ContextMenuSubContent-gAFxJ-qi.js} +4 -4
  4. package/dist/{DataTable-Ce00dbHD.js → DataTable-R8-Zidms.js} +3 -3
  5. package/dist/{DialogContent-DSo7PKlU.js → DialogContent-2fALDSvc.js} +3 -3
  6. package/dist/{DialogFooter-D5KY6sCX.js → DialogFooter-ClrNEOVU.js} +2 -2
  7. package/dist/{DiscoGlyph-wRA02zAJ.js → DiscoGlyph-C3JfMnRV.js} +1 -1
  8. package/dist/{GlyphFace-BnPMUZ16.js → GlyphFace-BRS8vUb7.js} +1 -1
  9. package/dist/HoverPopover-CWFCfLx3.js +96 -0
  10. package/dist/{IconTooltip-GIeWdo64.js → IconTooltip-BkaA7tZ2.js} +1 -1
  11. package/dist/{Input-CBvqW8kZ.js → Input-DDpFn568.js} +3 -5
  12. package/dist/Label-DJty89bp.js +36 -0
  13. package/dist/{MetricBadge-DRBB18Xq.js → MetricBadge-DmAihkXd.js} +1 -1
  14. package/dist/{Notification-D97JO0fK.js → Notification-OqIpADml.js} +3 -3
  15. package/dist/NumberFieldContent-DTH9gb_N.js +141 -0
  16. package/dist/{PopoverContent-BCH4eYs8.js → PopoverContent-EiklFrna.js} +1 -1
  17. package/dist/{Progress-CCH-2UBR.js → Progress-FApA9fm_.js} +1 -1
  18. package/dist/{ScrollingText-7P8skg5W.js → ScrollingText-BFd0i2zJ.js} +2 -2
  19. package/dist/{SelectScrollDownButton-BwTexKeY.js → SelectScrollDownButton-Dth8-wXQ.js} +4 -4
  20. package/dist/{Toaster-CY8gJu9E.js → Toaster-Bjlunvq4.js} +1 -1
  21. package/dist/UnderlineTabs-DAWMLmJG.js +37 -0
  22. package/dist/animated-digit.js +2 -2
  23. package/dist/api/index.d.ts +2 -0
  24. package/dist/api.js +1 -1
  25. package/dist/aurora.js +3 -3
  26. package/dist/badge.js +1 -1
  27. package/dist/{button-BlOW34DT.js → button-C0aHmBbt.js} +2 -0
  28. package/dist/button.js +1 -1
  29. package/dist/card.js +1 -1
  30. package/dist/carousel.js +5 -5
  31. package/dist/{check-Nuw7H9Yh.js → check-dwgetki8.js} +1 -1
  32. package/dist/{chevron-down-Du2b9vY_.js → chevron-down-DILQA1t6.js} +1 -1
  33. package/dist/{chevron-right-CtDxpE3w.js → chevron-right-fS7fal2t.js} +1 -1
  34. package/dist/{chevron-up-CenYokvI.js → chevron-up-BtYjYQOS.js} +1 -1
  35. package/dist/collapsible.js +1 -1
  36. package/dist/command.js +1 -1
  37. package/dist/components/custom/dialog-native/GlassDialogNative.vue.d.ts +57 -0
  38. package/dist/components/custom/dialog-native/index.d.ts +1 -0
  39. package/dist/components/custom/dock/composables/useLayerTransition.d.ts +20 -10
  40. package/dist/components/custom/hover-popover/HoverPopover.vue.d.ts +26 -4
  41. package/dist/components/custom/labeled-field/LabeledField.vue.d.ts +16 -2
  42. package/dist/components/custom/labeled-field/LabeledInput.vue.d.ts +17 -1
  43. package/dist/components/custom/labeled-field/LabeledSelect.vue.d.ts +2 -0
  44. package/dist/components/custom/labeled-field/LabeledSlider.vue.d.ts +2 -0
  45. package/dist/components/custom/labeled-field/LabeledSwitch.vue.d.ts +2 -0
  46. package/dist/components/ui/input/Input.vue.d.ts +10 -7
  47. package/dist/components/ui/label/Label.vue.d.ts +8 -0
  48. package/dist/components/ui/textarea/Textarea.vue.d.ts +45 -8
  49. package/dist/composables/dom/index.d.ts +1 -0
  50. package/dist/composables/dom/useUserInvalidAria.d.ts +32 -0
  51. package/dist/composables/motion/core/index.d.ts +2 -0
  52. package/dist/composables/motion/supportsCssTimeline.d.ts +8 -0
  53. package/dist/composables/motion/useRAFLoop.d.ts +7 -0
  54. package/dist/composables/motion/useScrollProgress.d.ts +6 -2
  55. package/dist/composables/motion/useStaggerReveal.d.ts +6 -0
  56. package/dist/composables/motion/useViewTransition.d.ts +31 -0
  57. package/dist/composables/motion/useYieldToMain.d.ts +29 -0
  58. package/dist/configurator.js +1 -1
  59. package/dist/confirm-dialog.js +3 -3
  60. package/dist/context-menu.js +2 -2
  61. package/dist/controls.js +2 -2
  62. package/dist/{createLucideIcon-rHu18UQW.js → createLucideIcon-Bn9a1b70.js} +2 -2
  63. package/dist/dark.js +1 -1
  64. package/dist/data-table.js +1 -1
  65. package/dist/dialog.js +2 -2
  66. package/dist/disco-glyph.js +1 -1
  67. package/dist/dock.js +196 -177
  68. package/dist/dom.js +5 -4
  69. package/dist/{dropdown-menu-gHSkffW7.js → dropdown-menu-BvRUamNs.js} +4 -4
  70. package/dist/dropdown-menu.js +1 -1
  71. package/dist/expandable-container.js +4 -4
  72. package/dist/forms.d.ts +1 -0
  73. package/dist/forms.js +47 -42
  74. package/dist/glass-carousel.js +1 -1
  75. package/dist/glass-panel.js +2 -2
  76. package/dist/glass-ui.css +1 -1
  77. package/dist/glass-ui.js +156 -275
  78. package/dist/glyph-face.js +2 -2
  79. package/dist/header-ribbon.js +1 -1
  80. package/dist/hover-card.js +1 -1
  81. package/dist/hover-popover.js +1 -1
  82. package/dist/icon-tooltip.js +1 -1
  83. package/dist/index.d.ts +1 -0
  84. package/dist/instrument-chassis.js +1 -1
  85. package/dist/instrument-rail.js +1 -1
  86. package/dist/keyboard.js +1 -1
  87. package/dist/label.js +1 -1
  88. package/dist/labeled-field.js +96 -57
  89. package/dist/metric-badge.js +1 -1
  90. package/dist/metric-stack.js +1 -1
  91. package/dist/{minimize-2-C_oyKVwZ.js → minimize-2-LsCJ_eNt.js} +1 -1
  92. package/dist/motion-core.js +135 -98
  93. package/dist/motion.js +3 -3
  94. package/dist/notification.js +1 -1
  95. package/dist/number-field.d.ts +1 -0
  96. package/dist/number-field.js +2 -0
  97. package/dist/paper-backdrop.js +1 -1
  98. package/dist/popover.js +1 -1
  99. package/dist/progress.js +1 -1
  100. package/dist/pulse.js +1 -1
  101. package/dist/reactive.js +2 -2
  102. package/dist/responsive-tabs.js +3 -3
  103. package/dist/scrolling-text.js +1 -1
  104. package/dist/{search-7XEx_6hq.js → search-DBAiUABx.js} +1 -1
  105. package/dist/search.js +7 -7
  106. package/dist/select.js +3 -3
  107. package/dist/separator.js +1 -1
  108. package/dist/{sheet-BsBdO5jq.js → sheet-CukNDezz.js} +53 -53
  109. package/dist/sheet.js +1 -1
  110. package/dist/{slider-BQaLYFLh.js → slider-DJvHkTRe.js} +3 -3
  111. package/dist/slider.js +1 -1
  112. package/dist/sortable-list.js +2 -2
  113. package/dist/styles/animations.css +77 -0
  114. package/dist/styles/cards.css +6 -2
  115. package/dist/styles/dock.css +37 -14
  116. package/dist/styles/glass.css +89 -6
  117. package/dist/styles/index.css +10 -1
  118. package/dist/styles/scroll-driven.css +72 -0
  119. package/dist/styles/theme.css +3 -0
  120. package/dist/styles/tokens.css +237 -24
  121. package/dist/styles/typography.css +21 -0
  122. package/dist/styles/utilities.css +176 -23
  123. package/dist/styles/view-transition.css +62 -0
  124. package/dist/switch.d.ts +1 -0
  125. package/dist/switch.js +2 -0
  126. package/dist/tabs.js +40 -36
  127. package/dist/timeline.js +2 -2
  128. package/dist/toast.js +1 -1
  129. package/dist/toggle-group.js +1 -1
  130. package/dist/tooltip.js +1 -1
  131. package/dist/typewriter.js +1 -1
  132. package/dist/{useAnimatedNumber-2l13GibX.js → useAnimatedNumber-DKQYVB7s.js} +1 -1
  133. package/dist/{useConfiguratorState-BpZi8QJu.js → useConfiguratorState-BR5vUDL8.js} +4 -4
  134. package/dist/{useIdleReady-DlzJicQH.js → useIdleReady-Cmkhm03v.js} +1 -1
  135. package/dist/{useTouchGate-BhhEMlwJ.js → useTouchGate-D9Zvrzyc.js} +1 -1
  136. package/dist/useUserInvalidAria-DVu1eTXG.js +29 -0
  137. package/dist/useViewTransition-DYIK6Gzb.js +16 -0
  138. package/dist/utils/index.d.ts +1 -0
  139. package/dist/utils/moveBefore.d.ts +15 -0
  140. package/dist/{x-Cb3NE2Ne.js → x-q7pJa83X.js} +1 -1
  141. package/package.json +17 -3
  142. package/src/styles/animations.css +77 -0
  143. package/src/styles/cards.css +6 -2
  144. package/src/styles/dock.css +37 -14
  145. package/src/styles/glass.css +89 -6
  146. package/src/styles/index.css +10 -1
  147. package/src/styles/scroll-driven.css +72 -0
  148. package/src/styles/theme.css +3 -0
  149. package/src/styles/tokens.css +237 -24
  150. package/src/styles/typography.css +21 -0
  151. package/src/styles/utilities.css +176 -23
  152. package/src/styles/view-transition.css +62 -0
  153. package/dist/HoverPopover-Btv4RQfv.js +0 -80
  154. package/dist/Label-C8QMJSsf.js +0 -32
  155. package/dist/UnderlineTabs-BtrUcXn-.js +0 -64
  156. /package/dist/{CollapsibleContent-DHRuXE3P.js → CollapsibleContent-CVMOcYlV.js} +0 -0
  157. /package/dist/{ContextMenuContent-CvXfU5qz.js → ContextMenuContent-otjFIu8v.js} +0 -0
  158. /package/dist/{HoverCardContent-4nN5-5bz.js → HoverCardContent-DaGrgJBO.js} +0 -0
  159. /package/dist/{InstrumentChassis-DOaVYyWq.js → InstrumentChassis-CnHTMxds.js} +0 -0
  160. /package/dist/{InstrumentRail-jHDqXj70.js → InstrumentRail-C6dEbi8E.js} +0 -0
  161. /package/dist/{ModalOverlay-DKLVY-cj.js → ModalOverlay-iWiAgbYH.js} +0 -0
  162. /package/dist/{PaperBackdrop-Bc2drCqJ.js → PaperBackdrop-CeZ-w0R0.js} +0 -0
  163. /package/dist/{SelectGroup-O69GTQ77.js → SelectGroup-DdR4tdDY.js} +0 -0
  164. /package/dist/{SelectSeparator-GTHxKO0a.js → SelectSeparator-CXm_hlqA.js} +0 -0
  165. /package/dist/{Separator-_NCypg_C.js → Separator-D8AUMhxY.js} +0 -0
  166. /package/dist/{Switch-CL0uxu8F.js → Switch-Cr1t_F_U.js} +0 -0
  167. /package/dist/{ToggleGroupItem-BYG_8M9M.js → ToggleGroupItem-OesUouE7.js} +0 -0
  168. /package/dist/{TooltipProvider-C5QLSPto.js → TooltipProvider-DE78vbEP.js} +0 -0
  169. /package/dist/{_plugin-vue_export-helper-n-_DRHWS.js → _plugin-vue_export-helper-Dq1MygBL.js} +0 -0
  170. /package/dist/{badge-BbxVKZfw.js → badge-x46my_Fo.js} +0 -0
  171. /package/dist/{constants-D-8FN28s.js → constants-DwBwnG8N.js} +0 -0
  172. /package/dist/{dockContext-BDGSrwsV.js → dockContext-D5NZCWJs.js} +0 -0
  173. /package/dist/{keys-DVkcUktU.js → keys-CaTQS-vx.js} +0 -0
  174. /package/dist/{menuItemVariants-B2nDL7zH.js → menuItemVariants-BsbGNq9C.js} +0 -0
  175. /package/dist/{presets-BMzCDrmR.js → presets-a-D93K1S.js} +0 -0
  176. /package/dist/{useGlassRenderer-DMDdMH55.js → useGlassRenderer-Ds-nmrGz.js} +0 -0
  177. /package/dist/{useGlobalDark-PMiP5Jku.js → useGlobalDark-B0WvLJE3.js} +0 -0
  178. /package/dist/{useIntersectionPause-CXYfYg_C.js → useIntersectionPause-IY2CwPQb.js} +0 -0
  179. /package/dist/{useInterval-COlTCeVa.js → useInterval-DVgGUf_y.js} +0 -0
  180. /package/dist/{useKeyboardShortcuts-CPO4AhLx.js → useKeyboardShortcuts-Dpw_RUcB.js} +0 -0
  181. /package/dist/{useResizeObserver-F4aRR4Cj.js → useResizeObserver-Cg9npuM3.js} +0 -0
  182. /package/dist/{useSortable-Ck0rBJ4g.js → useSortable-Cq2Y1JLO.js} +0 -0
  183. /package/dist/{useSpringMount-BTRBNzXP.js → useSpringMount-Cfk1XK1R.js} +0 -0
  184. /package/dist/{useTimer-lp5NlH4w.js → useTimer-NAaj9zNq.js} +0 -0
@@ -1,17 +1,30 @@
1
- import { t as e } from "./useIntersectionPause-CXYfYg_C.js";
2
- import { n as t, t as n } from "./constants-D-8FN28s.js";
3
- import { computed as r, getCurrentScope as i, onBeforeUnmount as a, onMounted as o, onScopeDispose as s, reactive as c, readonly as l, ref as u, unref as d, watch as f } from "vue";
1
+ import { n as e, t } from "./useViewTransition-DYIK6Gzb.js";
2
+ import { t as n } from "./useIntersectionPause-IY2CwPQb.js";
3
+ import { n as r, t as i } from "./constants-DwBwnG8N.js";
4
+ import { computed as a, getCurrentScope as o, onBeforeUnmount as s, onMounted as c, onScopeDispose as l, reactive as u, readonly as d, ref as f, unref as p, watch as m } from "vue";
5
+ //#region src/composables/motion/supportsCssTimeline.ts
6
+ function h(e, t) {
7
+ return typeof CSS > "u" || typeof CSS.supports != "function" ? !1 : CSS.supports("animation-timeline", e) && !CSS.supports("animation-timeline", t);
8
+ }
9
+ function g() {
10
+ return h("scroll()", "gl-not-a-real-timeline");
11
+ }
12
+ function _() {
13
+ return h("view()", "gl-not-a-real-timeline");
14
+ }
15
+ //#endregion
4
16
  //#region src/composables/motion/useStaggerReveal.ts
5
- function p(e = {}) {
6
- let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, o = u([]), s = c({}), l = /* @__PURE__ */ new WeakMap(), d = /* @__PURE__ */ new Set(), f = typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
17
+ var v = _();
18
+ function y(e = {}) {
19
+ let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = f([]), o = u({}), c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new Set(), d = v || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
7
20
  for (let r of e) {
8
- let e = r.target, i = l.get(e);
21
+ let e = r.target, i = c.get(e);
9
22
  if (i !== void 0) if (r.isIntersecting) {
10
23
  let r = setTimeout(() => {
11
- s[i] = !0, d.delete(r);
24
+ o[i] = !0, l.delete(r);
12
25
  }, t * i);
13
- d.add(r), n && f?.unobserve(e);
14
- } else n || (s[i] = !1);
26
+ l.add(r), n && d?.unobserve(e);
27
+ } else n || (o[i] = !1);
15
28
  }
16
29
  }, {
17
30
  rootMargin: r,
@@ -19,25 +32,26 @@ function p(e = {}) {
19
32
  });
20
33
  function p(e, t) {
21
34
  if (!e) return;
22
- let n = t ?? o.value.length;
23
- l.has(e) || (l.set(e, n), o.value.push(e), s[n] = !1, f?.observe(e));
35
+ let n = t ?? a.value.length;
36
+ c.has(e) || (c.set(e, n), a.value.push(e), o[n] = v, d?.observe(e));
24
37
  }
25
- return a(() => {
26
- f?.disconnect();
27
- for (let e of d) clearTimeout(e);
28
- d.clear();
38
+ return s(() => {
39
+ d?.disconnect();
40
+ for (let e of l) clearTimeout(e);
41
+ l.clear();
29
42
  }), {
30
- targets: o,
43
+ targets: a,
31
44
  register: p,
32
- revealed: s
45
+ revealed: o
33
46
  };
34
47
  }
35
48
  //#endregion
36
49
  //#region src/composables/motion/useScrollProgress.ts
37
- function m(e) {
38
- let { offset: t = 0, trackExit: n = !1 } = e, r = u(0), i = 0, s = null;
39
- function c() {
40
- let i = d(e.target);
50
+ var b = g();
51
+ function x(e) {
52
+ let { offset: t = 0, trackExit: n = !1 } = e, r = f(0), i = 0, a = null;
53
+ function o() {
54
+ let i = p(e.target);
41
55
  if (!i) return;
42
56
  let a = i.getBoundingClientRect(), o = window.innerHeight + t, s = o - (n ? -a.height : 0);
43
57
  if (s === 0) {
@@ -49,144 +63,167 @@ function m(e) {
49
63
  }
50
64
  function l() {
51
65
  i ||= requestAnimationFrame(() => {
52
- i = 0, c();
66
+ i = 0, o();
53
67
  });
54
68
  }
55
- return o(() => {
56
- c(), window.addEventListener("scroll", l, { passive: !0 }), window.addEventListener("resize", l, { passive: !0 });
57
- let t = d(e.target);
58
- t && typeof ResizeObserver < "u" && (s = new ResizeObserver(l), s.observe(t));
59
- }), f(() => d(e.target), (e, t) => {
60
- t && s && s.unobserve(t), e && s && s.observe(e), l();
61
- }), a(() => {
62
- window.removeEventListener("scroll", l), window.removeEventListener("resize", l), i && cancelAnimationFrame(i), s?.disconnect(), s = null;
69
+ return c(() => {
70
+ if (o(), b) return;
71
+ window.addEventListener("scroll", l, { passive: !0 }), window.addEventListener("resize", l, { passive: !0 });
72
+ let t = p(e.target);
73
+ t && typeof ResizeObserver < "u" && (a = new ResizeObserver(l), a.observe(t));
74
+ }), b || m(() => p(e.target), (e, t) => {
75
+ t && a && a.unobserve(t), e && a && a.observe(e), l();
76
+ }), s(() => {
77
+ window.removeEventListener("scroll", l), window.removeEventListener("resize", l), i && cancelAnimationFrame(i), a?.disconnect(), a = null;
63
78
  }), r;
64
79
  }
65
80
  //#endregion
81
+ //#region src/composables/motion/useYieldToMain.ts
82
+ function S() {
83
+ let e = globalThis.scheduler;
84
+ return typeof e?.yield == "function" ? e.yield.bind(e) : null;
85
+ }
86
+ function C() {
87
+ let e = S();
88
+ return e ? e() : typeof MessageChannel == "function" ? new Promise((e) => {
89
+ let t = new MessageChannel();
90
+ t.port1.onmessage = () => {
91
+ t.port1.onmessage = null, e();
92
+ }, t.port2.postMessage(void 0);
93
+ }) : new Promise((e) => setTimeout(e, 0));
94
+ }
95
+ function w() {
96
+ return {
97
+ hasNativeYield: S() !== null,
98
+ yield: C
99
+ };
100
+ }
101
+ //#endregion
66
102
  //#region src/composables/motion/useRAFLoop.ts
67
- var h = "(prefers-reduced-motion: reduce)";
68
- function g() {
103
+ var T = "(prefers-reduced-motion: reduce)";
104
+ function E() {
69
105
  return typeof globalThis.requestAnimationFrame == "function" ? globalThis.requestAnimationFrame.bind(globalThis) : null;
70
106
  }
71
- function _() {
107
+ function D() {
72
108
  return typeof globalThis.cancelAnimationFrame == "function" ? globalThis.cancelAnimationFrame.bind(globalThis) : null;
73
109
  }
74
- function v() {
110
+ function O() {
75
111
  return typeof document > "u" ? null : document;
76
112
  }
77
- function y() {
113
+ function k() {
78
114
  return typeof window > "u" ? null : window;
79
115
  }
80
- function b(e, t = {}) {
81
- let { immediate: n = !0, pauseWhenHidden: a = !0, respectReducedMotion: o = !0 } = t, c = u(!1), d = u(!1), f = u(a ? !!v()?.hidden : !1), p = u(!1), m = u(!1), b = r(() => p.value && !c.value && (m.value || f.value || o && d.value || !g())), x = null, S = null, C = 0, w = 0, T = !1, E = null;
82
- function D() {
83
- return !T && p.value && !m.value && !f.value && !(o && d.value) && !!g();
84
- }
85
- function O() {
86
- x !== null && (_()?.(x), x = null), c.value = !1, S = null;
87
- }
88
- function k() {
89
- if (x !== null || !D()) return;
90
- let t = g();
91
- t && (c.value = !0, x = t((t) => {
92
- if (x = null, !D()) {
93
- O();
116
+ function A(e, t = {}) {
117
+ let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, s = f(!1), c = f(!1), u = f(r ? !!O()?.hidden : !1), p = f(!1), m = f(!1), h = a(() => p.value && !s.value && (m.value || u.value || i && c.value || !E())), g = null, _ = null, v = 0, y = 0, b = !1, x = null;
118
+ function S() {
119
+ return !b && p.value && !m.value && !u.value && !(i && c.value) && !!E();
120
+ }
121
+ function w() {
122
+ g !== null && (D()?.(g), g = null), s.value = !1, _ = null;
123
+ }
124
+ function A() {
125
+ if (g !== null || !S()) return;
126
+ let t = E();
127
+ t && (s.value = !0, g = t((t) => {
128
+ if (g = null, !S()) {
129
+ w();
94
130
  return;
95
131
  }
96
- let n = S === null ? 0 : Math.max(0, t - S);
97
- S = t, C += n, e({
132
+ let n = _ === null ? 0 : Math.max(0, t - _);
133
+ _ = t, v += n, e({
98
134
  now: t,
99
135
  delta: n,
100
- elapsed: C,
101
- frame: w++
102
- }), D() ? k() : O();
136
+ elapsed: v,
137
+ frame: y++
138
+ }), S() ? A() : w();
103
139
  }));
104
140
  }
105
- function A() {
106
- D() ? k() : O();
107
- }
108
141
  function j() {
109
- S = null, C = 0, w = 0;
142
+ S() ? A() : w();
110
143
  }
111
144
  function M() {
112
- T || (j(), p.value = !0, m.value = !1, A());
145
+ _ = null, v = 0, y = 0;
113
146
  }
114
147
  function N() {
115
- p.value = !1, m.value = !1, j(), O();
148
+ b || (M(), p.value = !0, m.value = !1, j());
116
149
  }
117
150
  function P() {
118
- p.value && (m.value = !0, A());
151
+ p.value = !1, m.value = !1, M(), w();
119
152
  }
120
153
  function F() {
121
- T || (m.value = !1, A());
154
+ p.value && (m.value = !0, j());
122
155
  }
123
156
  function I() {
124
- f.value = a ? !!v()?.hidden : !1, A();
157
+ b || (m.value = !1, j());
158
+ }
159
+ function L() {
160
+ u.value = r ? !!O()?.hidden : !1, j();
125
161
  }
126
- let L = v();
127
- if (L && a && L.addEventListener("visibilitychange", I), o) {
128
- let e = y(), t = typeof e?.matchMedia == "function" ? e.matchMedia(h) : null;
162
+ let R = O();
163
+ if (R && r && R.addEventListener("visibilitychange", L), i) {
164
+ let e = k(), t = typeof e?.matchMedia == "function" ? e.matchMedia(T) : null;
129
165
  if (t) {
130
166
  let e = (e) => {
131
- d.value = e.matches, A();
167
+ c.value = e.matches, j();
132
168
  };
133
- d.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), E = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), E = () => t.removeListener?.(e));
169
+ c.value = t.matches, typeof t.addEventListener == "function" ? (t.addEventListener("change", e), x = () => t.removeEventListener("change", e)) : typeof t.addListener == "function" && (t.addListener(e), x = () => t.removeListener?.(e));
134
170
  }
135
171
  }
136
- function R() {
137
- T || (T = !0, N(), L?.removeEventListener("visibilitychange", I), E?.(), E = null);
138
- }
139
- return i() && s(R), n && M(), {
140
- isActive: l(c),
141
- isPaused: l(b),
142
- isReducedMotion: l(d),
143
- start: M,
144
- stop: N,
145
- pause: P,
146
- resume: F,
147
- dispose: R
172
+ function z() {
173
+ b || (b = !0, P(), R?.removeEventListener("visibilitychange", L), x?.(), x = null);
174
+ }
175
+ return o() && l(z), n && N(), {
176
+ isActive: d(s),
177
+ isPaused: d(h),
178
+ isReducedMotion: d(c),
179
+ start: N,
180
+ stop: P,
181
+ pause: F,
182
+ resume: I,
183
+ dispose: z,
184
+ yieldToMain: C
148
185
  };
149
186
  }
150
187
  //#endregion
151
188
  //#region src/composables/motion/useStagger.ts
152
- function x() {
189
+ function j() {
153
190
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
154
191
  }
155
- function S(e) {
156
- 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 = u(Array(t).fill(!1)), c = u(t === 0), l = /* @__PURE__ */ new Set();
157
- function d() {
158
- for (let e of l) clearTimeout(e);
159
- l.clear();
192
+ function M(e) {
193
+ 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 = f(Array(t).fill(!1)), s = f(t === 0), c = /* @__PURE__ */ new Set();
194
+ function u() {
195
+ for (let e of c) clearTimeout(e);
196
+ c.clear();
160
197
  }
161
- function f() {
162
- d(), o.value = Array(t).fill(!1), c.value = t === 0;
198
+ function d() {
199
+ u(), o.value = Array(t).fill(!1), s.value = t === 0;
163
200
  }
164
201
  function p() {
165
- o.value = Array(t).fill(!0), c.value = !0;
202
+ o.value = Array(t).fill(!0), s.value = !0;
166
203
  }
167
204
  function m() {
168
- if (f(), t === 0) {
169
- c.value = !0;
205
+ if (d(), t === 0) {
206
+ s.value = !0;
170
207
  return;
171
208
  }
172
- if (a && x()) {
209
+ if (a && j()) {
173
210
  p();
174
211
  return;
175
212
  }
176
213
  for (let e = 0; e < t; e++) {
177
214
  let i = e, a = setTimeout(() => {
178
215
  let e = o.value.slice();
179
- e[i] = !0, o.value = e, l.delete(a), i === t - 1 && (c.value = !0);
216
+ e[i] = !0, o.value = e, c.delete(a), i === t - 1 && (s.value = !0);
180
217
  }, r + i * n);
181
- l.add(a);
218
+ c.add(a);
182
219
  }
183
220
  }
184
- return i && m(), s(d), {
221
+ return i && m(), l(u), {
185
222
  revealed: o,
186
223
  start: m,
187
- reset: f,
188
- isComplete: c
224
+ reset: d,
225
+ isComplete: s
189
226
  };
190
227
  }
191
228
  //#endregion
192
- export { n as DAMPING, t as SNAP_THRESHOLD, e as useIntersectionPause, b as useRAFLoop, m as useScrollProgress, S as useStagger, p as useStaggerReveal };
229
+ export { i as DAMPING, r as SNAP_THRESHOLD, t as startViewTransition, e as supportsViewTransitions, n as useIntersectionPause, A as useRAFLoop, x as useScrollProgress, M as useStagger, y as useStaggerReveal, w as useYieldToMain, C as yieldToMain };
package/dist/motion.js CHANGED
@@ -1,6 +1,6 @@
1
- import { n as e, t } from "./useSpringMount-BTRBNzXP.js";
2
- import { n, t as r } from "./constants-D-8FN28s.js";
3
- import { t as i } from "./useAnimatedNumber-2l13GibX.js";
1
+ import { n as e, t } from "./useSpringMount-Cfk1XK1R.js";
2
+ import { n, t as r } from "./constants-DwBwnG8N.js";
3
+ import { t as i } from "./useAnimatedNumber-DKQYVB7s.js";
4
4
  import { computed as a, onBeforeUnmount as o, ref as s, shallowRef as c } from "vue";
5
5
  import { NumericAnimation as l } from "@mkbabb/keyframes.js";
6
6
  //#region src/composables/motion/useSpringPress.ts
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Notification-D97JO0fK.js";
1
+ import { t as e } from "./Notification-OqIpADml.js";
2
2
  export { e as Notification };
@@ -0,0 +1 @@
1
+ export * from "./components/ui/number-field";
@@ -0,0 +1,2 @@
1
+ import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-DTH9gb_N.js";
2
+ export { e as NumberField, i as NumberFieldContent, n as NumberFieldDecrement, r as NumberFieldIncrement, t as NumberFieldInput };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./PaperBackdrop-Bc2drCqJ.js";
1
+ import { t as e } from "./PaperBackdrop-CeZ-w0R0.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-BCH4eYs8.js";
1
+ import { n as e, r as t, t as n } from "./PopoverContent-EiklFrna.js";
2
2
  export { t as Popover, n as PopoverContent, e as PopoverTrigger };
package/dist/progress.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Progress-CCH-2UBR.js";
1
+ import { t as e } from "./Progress-FApA9fm_.js";
2
2
  export { e as Progress };
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-n-_DRHWS.js";
2
+ import { t } from "./_plugin-vue_export-helper-Dq1MygBL.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
- import { t as e } from "./useTimer-lp5NlH4w.js";
2
- import { t } from "./useInterval-COlTCeVa.js";
1
+ import { t as e } from "./useTimer-NAaj9zNq.js";
2
+ import { t } from "./useInterval-DVgGUf_y.js";
3
3
  export { t as useInterval, e as useTimer };
@@ -1,6 +1,6 @@
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-BwTexKeY.js";
3
- import { t as o } from "./UnderlineTabs-BtrUcXn-.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-Dth8-wXQ.js";
3
+ import { t as o } from "./UnderlineTabs-DAWMLmJG.js";
4
4
  import { Fragment as s, computed as c, createBlock as l, createElementBlock as u, createTextVNode as d, createVNode as f, defineComponent as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, toDisplayString as b, unref as x, withCtx as S } from "vue";
5
5
  //#endregion
6
6
  //#region src/components/custom/responsive-tabs/ResponsiveTabs.vue
@@ -68,7 +68,7 @@ var C = /* @__PURE__ */ p({
68
68
  "model-value": p.modelValue,
69
69
  "onUpdate:modelValue": j
70
70
  }, {
71
- default: S(() => [f(x(t), { class: m(x(e)("text-small w-auto min-w-input-sm", p.mobileTriggerClass)) }, {
71
+ default: S(() => [f(x(t), { class: m(x(e)("responsive-tabs__trigger text-small w-auto min-w-input-sm", p.mobileTriggerClass)) }, {
72
72
  default: S(() => [f(x(r))]),
73
73
  _: 1
74
74
  }, 8, ["class"]), f(x(n), null, {
@@ -1,2 +1,2 @@
1
- import { t as e } from "./ScrollingText-7P8skg5W.js";
1
+ import { t as e } from "./ScrollingText-BFd0i2zJ.js";
2
2
  export { e as ScrollingText };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-rHu18UQW.js";
1
+ import { t as e } from "./createLucideIcon-Bn9a1b70.js";
2
2
  var t = e("search", [["path", {
3
3
  d: "m21 21-4.34-4.34",
4
4
  key: "14j7rj"
package/dist/search.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./cn-DJXf4yaB.js";
2
- import { n as t, t as n } from "./minimize-2-C_oyKVwZ.js";
3
- import { t as r } from "./search-7XEx_6hq.js";
4
- import { t as i } from "./x-Cb3NE2Ne.js";
5
- import { n as a } from "./badge-BbxVKZfw.js";
6
- import { n as o } from "./button-BlOW34DT.js";
7
- import { n as s, t as c } from "./DialogContent-DSo7PKlU.js";
8
- import { n as l, r as u, t as d } from "./PopoverContent-BCH4eYs8.js";
2
+ import { n as t, t as n } from "./minimize-2-LsCJ_eNt.js";
3
+ import { t as r } from "./search-DBAiUABx.js";
4
+ import { t as i } from "./x-q7pJa83X.js";
5
+ import { n as a } from "./badge-x46my_Fo.js";
6
+ import { n as o } from "./button-C0aHmBbt.js";
7
+ import { n as s, t as c } from "./DialogContent-2fALDSvc.js";
8
+ import { n as l, r as u, t as d } from "./PopoverContent-EiklFrna.js";
9
9
  import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, nextTick as x, normalizeClass as S, onScopeDispose as C, openBlock as w, ref as T, renderList as E, renderSlot as D, resolveDynamicComponent as O, toDisplayString as k, unref as A, watch as j, withCtx as M } from "vue";
10
10
  //#region src/components/custom/search/composables/fuzzySearchIndex.ts
11
11
  function N(e, t) {
package/dist/select.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./SelectScrollDownButton-BwTexKeY.js";
2
- import { t as s } from "./SelectGroup-O69GTQ77.js";
3
- import { n as c, t as l } from "./SelectSeparator-GTHxKO0a.js";
1
+ import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./SelectScrollDownButton-Dth8-wXQ.js";
2
+ import { t as s } from "./SelectGroup-DdR4tdDY.js";
3
+ import { n as c, t as l } from "./SelectSeparator-CXm_hlqA.js";
4
4
  export { a as Select, t as SelectContent, s as SelectGroup, i as SelectItem, c as SelectLabel, o as SelectScrollDownButton, n as SelectScrollUpButton, l as SelectSeparator, e as SelectTrigger, r as SelectValue };
package/dist/separator.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Separator-_NCypg_C.js";
1
+ import { t as e } from "./Separator-D8AUMhxY.js";
2
2
  export { e as Separator };