@mkbabb/glass-ui 3.1.1 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/{CardFooter-CSGcJkqa.js → CardFooter-3-VGho1J.js} +1 -1
  2. package/dist/{CommandShortcut-DWT19a2Y.js → CommandShortcut-C6lsz3pG.js} +3 -3
  3. package/dist/{ContextMenuSubContent-gAFxJ-qi.js → ContextMenuSubContent-DrWkXKQP.js} +4 -4
  4. package/dist/{DataTable-R8-Zidms.js → DataTable-BsrDYdoE.js} +3 -3
  5. package/dist/{DialogContent-2fALDSvc.js → DialogContent-B61rP8lj.js} +3 -3
  6. package/dist/{DialogFooter-ClrNEOVU.js → DialogFooter-Er0wA3K6.js} +2 -2
  7. package/dist/{DiscoGlyph-C3JfMnRV.js → DiscoGlyph-B7YooI2-.js} +1 -1
  8. package/dist/{GlyphFace-BRS8vUb7.js → GlyphFace-Bvk6OIas.js} +1 -1
  9. package/dist/{HoverPopover-CWFCfLx3.js → HoverPopover-BlEwqG7S.js} +1 -1
  10. package/dist/{IconTooltip-BkaA7tZ2.js → IconTooltip-DXveGjx7.js} +1 -1
  11. package/dist/{MetricBadge-DmAihkXd.js → MetricBadge-J_GBCb8e.js} +1 -1
  12. package/dist/{Notification-OqIpADml.js → Notification-DP_ApJLo.js} +3 -3
  13. package/dist/{NumberFieldContent-DTH9gb_N.js → NumberFieldContent-B6L6YrQz.js} +2 -2
  14. package/dist/{PopoverContent-EiklFrna.js → PopoverContent-CxEEUL7Y.js} +1 -1
  15. package/dist/{Progress-FApA9fm_.js → Progress-Bs44qWEM.js} +1 -1
  16. package/dist/{ScrollingText-BFd0i2zJ.js → ScrollingText-1Qjnwz6H.js} +2 -2
  17. package/dist/{SelectScrollDownButton-Dth8-wXQ.js → SelectScrollDownButton-BvvvAbuh.js} +4 -4
  18. package/dist/{Toaster-Bjlunvq4.js → Toaster-Brs6QjBU.js} +1 -1
  19. package/dist/{UnderlineTabs-DAWMLmJG.js → UnderlineTabs-B4FV2zi_.js} +1 -1
  20. package/dist/animated-digit.js +2 -2
  21. package/dist/api.js +1 -1
  22. package/dist/aurora.js +118 -150
  23. package/dist/badge.js +1 -1
  24. package/dist/button.js +1 -1
  25. package/dist/card.js +1 -1
  26. package/dist/carousel.js +5 -5
  27. package/dist/{check-dwgetki8.js → check-CdkxGxXJ.js} +1 -1
  28. package/dist/{chevron-down-DILQA1t6.js → chevron-down-pBY8sYfV.js} +1 -1
  29. package/dist/{chevron-right-fS7fal2t.js → chevron-right-BjeKC22V.js} +1 -1
  30. package/dist/{chevron-up-BtYjYQOS.js → chevron-up-DBeNHUm1.js} +1 -1
  31. package/dist/collapsible.js +1 -1
  32. package/dist/command.js +1 -1
  33. package/dist/components/custom/aurora/composables/color.d.ts +56 -8
  34. package/dist/components/custom/aurora/index.d.ts +2 -1
  35. package/dist/components/custom/aurora/presets.d.ts +1 -1
  36. package/dist/components/custom/aurora/shaders/aurora.frag.d.ts +1 -1
  37. package/dist/components/custom/configurator/Configurator.vue.d.ts +26 -0
  38. package/dist/components/custom/configurator/index.d.ts +1 -1
  39. package/dist/components/custom/dock/DockIconButton.vue.d.ts +14 -3
  40. package/dist/components/custom/dock/GlassDock.vue.d.ts +17 -0
  41. package/dist/composables/dom/index.d.ts +1 -0
  42. package/dist/composables/dom/useTextHighlight.d.ts +40 -0
  43. package/dist/composables/motion/core/index.d.ts +1 -0
  44. package/dist/composables/motion/usePrioritizedTask.d.ts +41 -0
  45. package/dist/composables/sortable/useSortable.d.ts +13 -0
  46. package/dist/configurator.js +1 -1
  47. package/dist/confirm-dialog.js +3 -3
  48. package/dist/context-menu.js +2 -2
  49. package/dist/controls.js +2 -2
  50. package/dist/dark.js +1 -1
  51. package/dist/data-table.js +1 -1
  52. package/dist/dialog.js +2 -2
  53. package/dist/disco-glyph.js +1 -1
  54. package/dist/dock.js +98 -81
  55. package/dist/dom.js +6 -5
  56. package/dist/{dropdown-menu-BvRUamNs.js → dropdown-menu-naE0skDg.js} +4 -4
  57. package/dist/dropdown-menu.js +1 -1
  58. package/dist/expandable-container.js +2 -2
  59. package/dist/forms.js +4 -4
  60. package/dist/glass-carousel.js +59 -52
  61. package/dist/glass-panel.js +2 -2
  62. package/dist/glass-ui.css +1 -1
  63. package/dist/glass-ui.js +231 -224
  64. package/dist/glyph-face.js +2 -2
  65. package/dist/header-ribbon.js +1 -1
  66. package/dist/hover-card.js +1 -1
  67. package/dist/hover-popover.js +1 -1
  68. package/dist/icon-tooltip.js +1 -1
  69. package/dist/instrument-chassis.js +1 -1
  70. package/dist/instrument-rail.js +1 -1
  71. package/dist/keyboard.js +1 -1
  72. package/dist/label.js +1 -1
  73. package/dist/labeled-field.js +6 -6
  74. package/dist/metric-badge.js +1 -1
  75. package/dist/metric-stack.js +1 -1
  76. package/dist/{minimize-2-LsCJ_eNt.js → minimize-2-BP27-qBY.js} +1 -1
  77. package/dist/motion-core.js +155 -95
  78. package/dist/motion.js +3 -3
  79. package/dist/notification.js +1 -1
  80. package/dist/number-field.js +1 -1
  81. package/dist/paper-backdrop.js +1 -1
  82. package/dist/popover.js +1 -1
  83. package/dist/{presets-a-D93K1S.js → presets-BpTf63Hp.js} +4 -4
  84. package/dist/progress.js +1 -1
  85. package/dist/pulse.js +1 -1
  86. package/dist/reactive.js +2 -2
  87. package/dist/responsive-tabs.js +2 -2
  88. package/dist/scrolling-text.js +1 -1
  89. package/dist/{search-DBAiUABx.js → search-DBG8qaRs.js} +1 -1
  90. package/dist/search.js +153 -149
  91. package/dist/select.js +3 -3
  92. package/dist/separator.js +1 -1
  93. package/dist/{sheet-CukNDezz.js → sheet-BnvZRXPq.js} +3 -3
  94. package/dist/sheet.js +1 -1
  95. package/dist/{slider-DJvHkTRe.js → slider-wx8ifVFB.js} +3 -3
  96. package/dist/slider.js +1 -1
  97. package/dist/sortable-list.js +2 -2
  98. package/dist/styles/components.css +45 -0
  99. package/dist/styles/dock.css +71 -2
  100. package/dist/styles/index.css +5 -1
  101. package/dist/styles/tokens.css +11 -0
  102. package/dist/styles/utilities.css +56 -0
  103. package/dist/supportsCssTimeline-IQY3gfKD.js +12 -0
  104. package/dist/switch.js +1 -1
  105. package/dist/tabs.js +25 -10
  106. package/dist/timeline.js +2 -2
  107. package/dist/toast.js +1 -1
  108. package/dist/toggle-group.js +1 -1
  109. package/dist/tooltip.js +1 -1
  110. package/dist/typewriter.js +1 -1
  111. package/dist/{useAnimatedNumber-DKQYVB7s.js → useAnimatedNumber-BOxrS3a6.js} +1 -1
  112. package/dist/{useConfiguratorState-CtRBE0m_.js → useConfiguratorState-Dq2gNv4A.js} +52 -40
  113. package/dist/{useIdleReady-Cmkhm03v.js → useIdleReady-sLhGo6CL.js} +1 -1
  114. package/dist/useSortable-DLK9kwZp.js +189 -0
  115. package/dist/useTextHighlight-CLST6an0.js +72 -0
  116. package/dist/{useTouchGate-D9Zvrzyc.js → useTouchGate-XX8gHfay.js} +1 -1
  117. package/dist/{useViewTransition-DYIK6Gzb.js → useViewTransition-CUJM7fXT.js} +5 -3
  118. package/dist/utils/index.d.ts +2 -1
  119. package/dist/utils/platformSupport.d.ts +8 -0
  120. package/dist/{x-q7pJa83X.js → x-C4pz9nbD.js} +1 -1
  121. package/package.json +13 -3
  122. package/src/styles/dock.css +71 -2
  123. package/src/styles/index.css +1 -1
  124. package/src/styles/tokens.css +11 -0
  125. package/src/styles/utilities.css +56 -0
  126. package/dist/useSortable-Cq2Y1JLO.js +0 -175
  127. /package/dist/{CollapsibleContent-CVMOcYlV.js → CollapsibleContent-wlmlDujU.js} +0 -0
  128. /package/dist/{ContextMenuContent-otjFIu8v.js → ContextMenuContent-De01_83g.js} +0 -0
  129. /package/dist/{HoverCardContent-DaGrgJBO.js → HoverCardContent-DGUhpRVt.js} +0 -0
  130. /package/dist/{Input-DDpFn568.js → Input-IFsIzId2.js} +0 -0
  131. /package/dist/{InstrumentChassis-CnHTMxds.js → InstrumentChassis-CqKPBNqp.js} +0 -0
  132. /package/dist/{InstrumentRail-C6dEbi8E.js → InstrumentRail-CCjvKkpB.js} +0 -0
  133. /package/dist/{Label-DJty89bp.js → Label-D53EOwLE.js} +0 -0
  134. /package/dist/{ModalOverlay-iWiAgbYH.js → ModalOverlay-B_CBtqcE.js} +0 -0
  135. /package/dist/{PaperBackdrop-CeZ-w0R0.js → PaperBackdrop-Ds-wDsKf.js} +0 -0
  136. /package/dist/{SelectGroup-DdR4tdDY.js → SelectGroup-DAgcsfFw.js} +0 -0
  137. /package/dist/{SelectSeparator-CXm_hlqA.js → SelectSeparator-DN1jzLaI.js} +0 -0
  138. /package/dist/{Separator-D8AUMhxY.js → Separator-DXxac0j8.js} +0 -0
  139. /package/dist/{Switch-Cr1t_F_U.js → Switch-imA0Hdjs.js} +0 -0
  140. /package/dist/{ToggleGroupItem-OesUouE7.js → ToggleGroupItem-Cy7xHFEo.js} +0 -0
  141. /package/dist/{TooltipProvider-DE78vbEP.js → TooltipProvider-MZFRxOvT.js} +0 -0
  142. /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-C1je1s0u.js} +0 -0
  143. /package/dist/{badge-x46my_Fo.js → badge-Cl6JZ1B7.js} +0 -0
  144. /package/dist/{button-C0aHmBbt.js → button-DS3ULf5i.js} +0 -0
  145. /package/dist/{constants-DwBwnG8N.js → constants-DfWPi8kh.js} +0 -0
  146. /package/dist/{createLucideIcon-Bn9a1b70.js → createLucideIcon-DuDoe_ra.js} +0 -0
  147. /package/dist/{dockContext-D5NZCWJs.js → dockContext-DM58L1Jt.js} +0 -0
  148. /package/dist/{keys-CaTQS-vx.js → keys-SIKQYNx1.js} +0 -0
  149. /package/dist/{menuItemVariants-BsbGNq9C.js → menuItemVariants-C2QlXqT3.js} +0 -0
  150. /package/dist/{useGlassRenderer-Ds-nmrGz.js → useGlassRenderer-C98tZnJ7.js} +0 -0
  151. /package/dist/{useGlobalDark-B0WvLJE3.js → useGlobalDark-BUUTZvkU.js} +0 -0
  152. /package/dist/{useIntersectionPause-IY2CwPQb.js → useIntersectionPause-CUmANkoc.js} +0 -0
  153. /package/dist/{useInterval-DVgGUf_y.js → useInterval-B58LmYth.js} +0 -0
  154. /package/dist/{useKeyboardShortcuts-Dpw_RUcB.js → useKeyboardShortcuts-BQfnAHHW.js} +0 -0
  155. /package/dist/{useResizeObserver-Cg9npuM3.js → useResizeObserver-C_7GjpRn.js} +0 -0
  156. /package/dist/{useSpringMount-Cfk1XK1R.js → useSpringMount-CnizvZGm.js} +0 -0
  157. /package/dist/{useTimer-NAaj9zNq.js → useTimer-6FoosoDY.js} +0 -0
  158. /package/dist/{useUserInvalidAria-DVu1eTXG.js → useUserInvalidAria-BW5iyqWR.js} +0 -0
@@ -1,3 +1,3 @@
1
- import { n as e, r as t, t as n } from "./keys-CaTQS-vx.js";
2
- import { t as r } from "./GlyphFace-BRS8vUb7.js";
1
+ import { n as e, r as t, t as n } from "./keys-SIKQYNx1.js";
2
+ import { t as r } from "./GlyphFace-Bvk6OIas.js";
3
3
  export { n as GLYPH_FACE_SILHOUETTE_KEY, r as GlyphFace, e as provideGlyphFaceSilhouette, t as useOptionalGlyphFaceSilhouette };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./_plugin-vue_export-helper-Dq1MygBL.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-DaGrgJBO.js";
1
+ import { n as e, r as t, t as n } from "./HoverCardContent-DGUhpRVt.js";
2
2
  export { t as HoverCard, n as HoverCardContent, e as HoverCardTrigger };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./HoverPopover-CWFCfLx3.js";
1
+ import { t as e } from "./HoverPopover-BlEwqG7S.js";
2
2
  export { e as HoverPopover };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./IconTooltip-BkaA7tZ2.js";
1
+ import { t as e } from "./IconTooltip-DXveGjx7.js";
2
2
  export { e as IconTooltip };
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./InstrumentChassis-CnHTMxds.js";
1
+ import { n as e, t } from "./InstrumentChassis-CqKPBNqp.js";
2
2
  export { e as ChassisDivider, t as InstrumentChassis };
@@ -1,2 +1,2 @@
1
- import { t as e } from "./InstrumentRail-C6dEbi8E.js";
1
+ import { t as e } from "./InstrumentRail-CCjvKkpB.js";
2
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-Dpw_RUcB.js";
1
+ import { a as e, i as t, n, r, t as i } from "./useKeyboardShortcuts-BQfnAHHW.js";
2
2
  export { i as formatCombo, n as formatComboParts, r as isMac, t as registerShortcut, e as useRegisteredShortcuts };
package/dist/label.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Label-DJty89bp.js";
1
+ import { t as e } from "./Label-D53EOwLE.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-Dth8-wXQ.js";
3
- import { t as o } from "./SelectGroup-DdR4tdDY.js";
4
- import { n as s } from "./slider-DJvHkTRe.js";
5
- import { t as c } from "./Switch-Cr1t_F_U.js";
6
- import { t as l } from "./IconTooltip-BkaA7tZ2.js";
7
- import { t as u } from "./Input-DDpFn568.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-BvvvAbuh.js";
3
+ import { t as o } from "./SelectGroup-DAgcsfFw.js";
4
+ import { n as s } from "./slider-wx8ifVFB.js";
5
+ import { t as c } from "./Switch-imA0Hdjs.js";
6
+ import { t as l } from "./IconTooltip-DXveGjx7.js";
7
+ import { t as u } from "./Input-IFsIzId2.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 = {
@@ -1,2 +1,2 @@
1
- import { t as e } from "./MetricBadge-DmAihkXd.js";
1
+ import { t as e } from "./MetricBadge-J_GBCb8e.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-Dq1MygBL.js";
2
+ import { t } from "./_plugin-vue_export-helper-C1je1s0u.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,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-Bn9a1b70.js";
1
+ import { t as e } from "./createLucideIcon-DuDoe_ra.js";
2
2
  var t = e("maximize-2", [
3
3
  ["path", {
4
4
  d: "M15 3h6v6",
@@ -1,57 +1,47 @@
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
1
+ import { n as e, t } from "./supportsCssTimeline-IQY3gfKD.js";
2
+ import { n, t as r } from "./useViewTransition-CUJM7fXT.js";
3
+ import { t as i } from "./useIntersectionPause-CUmANkoc.js";
4
+ import { n as a, t as o } from "./constants-DfWPi8kh.js";
5
+ import { computed as s, getCurrentScope as c, onBeforeUnmount as l, onMounted as u, onScopeDispose as d, reactive as f, readonly as p, ref as m, unref as h, watch as g } from "vue";
16
6
  //#region src/composables/motion/useStaggerReveal.ts
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
+ var _ = e();
8
+ function v(e = {}) {
9
+ let { staggerMs: t = 60, once: n = !0, rootMargin: r = "0px", threshold: i = .15 } = e, a = m([]), o = f({}), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new Set(), u = _ || typeof IntersectionObserver > "u" ? null : new IntersectionObserver((e) => {
20
10
  for (let r of e) {
21
- let e = r.target, i = c.get(e);
11
+ let e = r.target, i = s.get(e);
22
12
  if (i !== void 0) if (r.isIntersecting) {
23
13
  let r = setTimeout(() => {
24
- o[i] = !0, l.delete(r);
14
+ o[i] = !0, c.delete(r);
25
15
  }, t * i);
26
- l.add(r), n && d?.unobserve(e);
16
+ c.add(r), n && u?.unobserve(e);
27
17
  } else n || (o[i] = !1);
28
18
  }
29
19
  }, {
30
20
  rootMargin: r,
31
21
  threshold: i
32
22
  });
33
- function p(e, t) {
23
+ function d(e, t) {
34
24
  if (!e) return;
35
25
  let n = t ?? a.value.length;
36
- c.has(e) || (c.set(e, n), a.value.push(e), o[n] = v, d?.observe(e));
26
+ s.has(e) || (s.set(e, n), a.value.push(e), o[n] = _, u?.observe(e));
37
27
  }
38
- return s(() => {
39
- d?.disconnect();
40
- for (let e of l) clearTimeout(e);
41
- l.clear();
28
+ return l(() => {
29
+ u?.disconnect();
30
+ for (let e of c) clearTimeout(e);
31
+ c.clear();
42
32
  }), {
43
33
  targets: a,
44
- register: p,
34
+ register: d,
45
35
  revealed: o
46
36
  };
47
37
  }
48
38
  //#endregion
49
39
  //#region src/composables/motion/useScrollProgress.ts
50
- var b = g();
51
- function x(e) {
52
- let { offset: t = 0, trackExit: n = !1 } = e, r = f(0), i = 0, a = null;
40
+ var y = t();
41
+ function b(e) {
42
+ let { offset: t = 0, trackExit: n = !1 } = e, r = m(0), i = 0, a = null;
53
43
  function o() {
54
- let i = p(e.target);
44
+ let i = h(e.target);
55
45
  if (!i) return;
56
46
  let a = i.getBoundingClientRect(), o = window.innerHeight + t, s = o - (n ? -a.height : 0);
57
47
  if (s === 0) {
@@ -61,30 +51,30 @@ function x(e) {
61
51
  let c = (o - a.top) / s;
62
52
  r.value = Math.max(0, Math.min(1, c));
63
53
  }
64
- function l() {
54
+ function s() {
65
55
  i ||= requestAnimationFrame(() => {
66
56
  i = 0, o();
67
57
  });
68
58
  }
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;
59
+ return u(() => {
60
+ if (o(), y) return;
61
+ window.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s, { passive: !0 });
62
+ let t = h(e.target);
63
+ t && typeof ResizeObserver < "u" && (a = new ResizeObserver(s), a.observe(t));
64
+ }), y || g(() => h(e.target), (e, t) => {
65
+ t && a && a.unobserve(t), e && a && a.observe(e), s();
66
+ }), l(() => {
67
+ window.removeEventListener("scroll", s), window.removeEventListener("resize", s), i && cancelAnimationFrame(i), a?.disconnect(), a = null;
78
68
  }), r;
79
69
  }
80
70
  //#endregion
81
71
  //#region src/composables/motion/useYieldToMain.ts
82
- function S() {
72
+ function x() {
83
73
  let e = globalThis.scheduler;
84
74
  return typeof e?.yield == "function" ? e.yield.bind(e) : null;
85
75
  }
86
- function C() {
87
- let e = S();
76
+ function S() {
77
+ let e = x();
88
78
  return e ? e() : typeof MessageChannel == "function" ? new Promise((e) => {
89
79
  let t = new MessageChannel();
90
80
  t.port1.onmessage = () => {
@@ -92,41 +82,41 @@ function C() {
92
82
  }, t.port2.postMessage(void 0);
93
83
  }) : new Promise((e) => setTimeout(e, 0));
94
84
  }
95
- function w() {
85
+ function C() {
96
86
  return {
97
- hasNativeYield: S() !== null,
98
- yield: C
87
+ hasNativeYield: x() !== null,
88
+ yield: S
99
89
  };
100
90
  }
101
91
  //#endregion
102
92
  //#region src/composables/motion/useRAFLoop.ts
103
- var T = "(prefers-reduced-motion: reduce)";
104
- function E() {
93
+ var w = "(prefers-reduced-motion: reduce)";
94
+ function T() {
105
95
  return typeof globalThis.requestAnimationFrame == "function" ? globalThis.requestAnimationFrame.bind(globalThis) : null;
106
96
  }
107
- function D() {
97
+ function E() {
108
98
  return typeof globalThis.cancelAnimationFrame == "function" ? globalThis.cancelAnimationFrame.bind(globalThis) : null;
109
99
  }
110
- function O() {
100
+ function D() {
111
101
  return typeof document > "u" ? null : document;
112
102
  }
113
- function k() {
103
+ function O() {
114
104
  return typeof window > "u" ? null : window;
115
105
  }
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();
106
+ function k(e, t = {}) {
107
+ let { immediate: n = !0, pauseWhenHidden: r = !0, respectReducedMotion: i = !0 } = t, a = m(!1), o = m(!1), l = m(r ? !!D()?.hidden : !1), u = m(!1), f = m(!1), h = s(() => u.value && !a.value && (f.value || l.value || i && o.value || !T())), g = null, _ = null, v = 0, y = 0, b = !1, x = null;
108
+ function C() {
109
+ return !b && u.value && !f.value && !l.value && !(i && o.value) && !!T();
120
110
  }
121
- function w() {
122
- g !== null && (D()?.(g), g = null), s.value = !1, _ = null;
111
+ function k() {
112
+ g !== null && (E()?.(g), g = null), a.value = !1, _ = null;
123
113
  }
124
114
  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();
115
+ if (g !== null || !C()) return;
116
+ let t = T();
117
+ t && (a.value = !0, g = t((t) => {
118
+ if (g = null, !C()) {
119
+ k();
130
120
  return;
131
121
  }
132
122
  let n = _ === null ? 0 : Math.max(0, t - _);
@@ -135,79 +125,79 @@ function A(e, t = {}) {
135
125
  delta: n,
136
126
  elapsed: v,
137
127
  frame: y++
138
- }), S() ? A() : w();
128
+ }), C() ? A() : k();
139
129
  }));
140
130
  }
141
131
  function j() {
142
- S() ? A() : w();
132
+ C() ? A() : k();
143
133
  }
144
134
  function M() {
145
135
  _ = null, v = 0, y = 0;
146
136
  }
147
137
  function N() {
148
- b || (M(), p.value = !0, m.value = !1, j());
138
+ b || (M(), u.value = !0, f.value = !1, j());
149
139
  }
150
140
  function P() {
151
- p.value = !1, m.value = !1, M(), w();
141
+ u.value = !1, f.value = !1, M(), k();
152
142
  }
153
143
  function F() {
154
- p.value && (m.value = !0, j());
144
+ u.value && (f.value = !0, j());
155
145
  }
156
146
  function I() {
157
- b || (m.value = !1, j());
147
+ b || (f.value = !1, j());
158
148
  }
159
149
  function L() {
160
- u.value = r ? !!O()?.hidden : !1, j();
150
+ l.value = r ? !!D()?.hidden : !1, j();
161
151
  }
162
- let R = O();
152
+ let R = D();
163
153
  if (R && r && R.addEventListener("visibilitychange", L), i) {
164
- let e = k(), t = typeof e?.matchMedia == "function" ? e.matchMedia(T) : null;
154
+ let e = O(), t = typeof e?.matchMedia == "function" ? e.matchMedia(w) : null;
165
155
  if (t) {
166
156
  let e = (e) => {
167
- c.value = e.matches, j();
157
+ o.value = e.matches, j();
168
158
  };
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));
159
+ o.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));
170
160
  }
171
161
  }
172
162
  function z() {
173
163
  b || (b = !0, P(), R?.removeEventListener("visibilitychange", L), x?.(), x = null);
174
164
  }
175
- return o() && l(z), n && N(), {
176
- isActive: d(s),
177
- isPaused: d(h),
178
- isReducedMotion: d(c),
165
+ return c() && d(z), n && N(), {
166
+ isActive: p(a),
167
+ isPaused: p(h),
168
+ isReducedMotion: p(o),
179
169
  start: N,
180
170
  stop: P,
181
171
  pause: F,
182
172
  resume: I,
183
173
  dispose: z,
184
- yieldToMain: C
174
+ yieldToMain: S
185
175
  };
186
176
  }
187
177
  //#endregion
188
178
  //#region src/composables/motion/useStagger.ts
189
- function j() {
179
+ function A() {
190
180
  return typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches;
191
181
  }
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() {
182
+ function j(e) {
183
+ 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 = m(Array(t).fill(!1)), s = m(t === 0), c = /* @__PURE__ */ new Set();
184
+ function l() {
195
185
  for (let e of c) clearTimeout(e);
196
186
  c.clear();
197
187
  }
198
- function d() {
199
- u(), o.value = Array(t).fill(!1), s.value = t === 0;
188
+ function u() {
189
+ l(), o.value = Array(t).fill(!1), s.value = t === 0;
200
190
  }
201
- function p() {
191
+ function f() {
202
192
  o.value = Array(t).fill(!0), s.value = !0;
203
193
  }
204
- function m() {
205
- if (d(), t === 0) {
194
+ function p() {
195
+ if (u(), t === 0) {
206
196
  s.value = !0;
207
197
  return;
208
198
  }
209
- if (a && j()) {
210
- p();
199
+ if (a && A()) {
200
+ f();
211
201
  return;
212
202
  }
213
203
  for (let e = 0; e < t; e++) {
@@ -218,12 +208,82 @@ function M(e) {
218
208
  c.add(a);
219
209
  }
220
210
  }
221
- return i && m(), l(u), {
211
+ return i && p(), d(l), {
222
212
  revealed: o,
223
- start: m,
224
- reset: d,
213
+ start: p,
214
+ reset: u,
225
215
  isComplete: s
226
216
  };
227
217
  }
228
218
  //#endregion
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 };
219
+ //#region src/composables/motion/usePrioritizedTask.ts
220
+ function M() {
221
+ let e = globalThis.scheduler;
222
+ return typeof e?.postTask == "function" ? e.postTask.bind(e) : null;
223
+ }
224
+ function N() {
225
+ let e = /* @__PURE__ */ Error("The task was aborted.");
226
+ return e.name = "AbortError", e;
227
+ }
228
+ function P(e) {
229
+ let t = e.filter((e) => e != null);
230
+ if (t.length === 0) return;
231
+ if (t.length === 1) return t[0];
232
+ if (typeof AbortSignal.any == "function") return AbortSignal.any(t);
233
+ let n = new AbortController(), r = (e) => n.abort(e.reason);
234
+ for (let e of t) {
235
+ if (e.aborted) {
236
+ n.abort(e.reason);
237
+ break;
238
+ }
239
+ e.addEventListener("abort", () => r(e), { once: !0 });
240
+ }
241
+ return n.signal;
242
+ }
243
+ function F(e, t = {}) {
244
+ let { priority: n, signal: r, delay: i } = t, a = M();
245
+ return a ? a(e, {
246
+ priority: n,
247
+ signal: r,
248
+ delay: i
249
+ }) : new Promise((t, n) => {
250
+ if (r?.aborted) {
251
+ n(N());
252
+ return;
253
+ }
254
+ let a = () => {
255
+ if (r?.aborted) {
256
+ n(N());
257
+ return;
258
+ }
259
+ try {
260
+ t(e());
261
+ } catch (e) {
262
+ n(e);
263
+ }
264
+ }, o = typeof MessageChannel == "function" ? () => {
265
+ let e = new MessageChannel();
266
+ e.port1.onmessage = () => {
267
+ e.port1.onmessage = null, a();
268
+ }, e.port2.postMessage(void 0);
269
+ } : () => setTimeout(a, 0);
270
+ i && i > 0 ? setTimeout(o, i) : o();
271
+ });
272
+ }
273
+ function I(e) {
274
+ let t = globalThis.TaskController;
275
+ return typeof t == "function" ? new t(e ? { priority: e } : void 0) : null;
276
+ }
277
+ function L(e) {
278
+ let t = I(e);
279
+ return {
280
+ postTask: (n, r = {}) => F(n, {
281
+ priority: e,
282
+ ...r,
283
+ signal: P([t?.signal, r.signal])
284
+ }),
285
+ abort: (e) => t?.abort(e)
286
+ };
287
+ }
288
+ //#endregion
289
+ export { o as DAMPING, a as SNAP_THRESHOLD, F as postTaskSafe, r as startViewTransition, n as supportsViewTransitions, i as useIntersectionPause, L as usePrioritizedTask, k as useRAFLoop, b as useScrollProgress, j as useStagger, v as useStaggerReveal, C as useYieldToMain, S as yieldToMain };
package/dist/motion.js CHANGED
@@ -1,6 +1,6 @@
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";
1
+ import { n as e, t } from "./useSpringMount-CnizvZGm.js";
2
+ import { n, t as r } from "./constants-DfWPi8kh.js";
3
+ import { t as i } from "./useAnimatedNumber-BOxrS3a6.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-OqIpADml.js";
1
+ import { t as e } from "./Notification-DP_ApJLo.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-DTH9gb_N.js";
1
+ import { a as e, i as t, n, r, t as i } from "./NumberFieldContent-B6L6YrQz.js";
2
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-CeZ-w0R0.js";
1
+ import { t as e } from "./PaperBackdrop-Ds-wDsKf.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-EiklFrna.js";
1
+ import { n as e, r as t, t as n } from "./PopoverContent-CxEEUL7Y.js";
2
2
  export { t as Popover, n as PopoverContent, e as PopoverTrigger };
@@ -23,7 +23,7 @@ var e = 6, t = 8, n = {
23
23
  radius: .5,
24
24
  paletteBias: 0,
25
25
  valueBias: 0,
26
- driftRadius: .015,
26
+ driftRadius: .045,
27
27
  driftPhase: 0
28
28
  }, {
29
29
  x: .7,
@@ -31,7 +31,7 @@ var e = 6, t = 8, n = {
31
31
  radius: .5,
32
32
  paletteBias: 1,
33
33
  valueBias: .05,
34
- driftRadius: .015,
34
+ driftRadius: .045,
35
35
  driftPhase: 2.4
36
36
  }],
37
37
  softmaxBeta: 3,
@@ -59,8 +59,8 @@ var e = 6, t = 8, n = {
59
59
  impasto: 0,
60
60
  brokenColor: 0,
61
61
  canvasGrain: 0,
62
- nucleiDrift: .01,
63
- paletteDrift: .008,
62
+ nucleiDrift: .015,
63
+ paletteDrift: .015,
64
64
  breathDepth: .05,
65
65
  breathPeriod: 40,
66
66
  saturation: 1,
package/dist/progress.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./Progress-FApA9fm_.js";
1
+ import { t as e } from "./Progress-Bs44qWEM.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-Dq1MygBL.js";
2
+ import { t } from "./_plugin-vue_export-helper-C1je1s0u.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-NAaj9zNq.js";
2
- import { t } from "./useInterval-DVgGUf_y.js";
1
+ import { t as e } from "./useTimer-6FoosoDY.js";
2
+ import { t } from "./useInterval-B58LmYth.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-Dth8-wXQ.js";
3
- import { t as o } from "./UnderlineTabs-DAWMLmJG.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./SelectScrollDownButton-BvvvAbuh.js";
3
+ import { t as o } from "./UnderlineTabs-B4FV2zi_.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
@@ -1,2 +1,2 @@
1
- import { t as e } from "./ScrollingText-BFd0i2zJ.js";
1
+ import { t as e } from "./ScrollingText-1Qjnwz6H.js";
2
2
  export { e as ScrollingText };
@@ -1,4 +1,4 @@
1
- import { t as e } from "./createLucideIcon-Bn9a1b70.js";
1
+ import { t as e } from "./createLucideIcon-DuDoe_ra.js";
2
2
  var t = e("search", [["path", {
3
3
  d: "m21 21-4.34-4.34",
4
4
  key: "14j7rj"