@mkbabb/glass-ui 10.1.2 → 10.1.4

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.
package/dist/dom.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "./useResizeObserver-CdUlm2QZ.js";
1
+ import { t as e } from "./useResizeObserver-Bv3nN46q.js";
2
2
  import { t } from "./useTimer-C3yfti4C.js";
3
3
  import { t as n } from "./useDragVelocity-C5BkKiNf.js";
4
4
  import { n as r, t as i } from "./useResolveTokenColor-B2FfJnd9.js";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./supportsCssTimeline-Di9gzleG.js";
2
- import { t } from "./useResizeObserver-CdUlm2QZ.js";
2
+ import { t } from "./useResizeObserver-Bv3nN46q.js";
3
3
  import { computed as n, createElementBlock as r, defineComponent as i, normalizeClass as a, onBeforeUnmount as o, onMounted as s, openBlock as c, ref as l, renderSlot as u, toRef as d, unref as f, watch as p } from "vue";
4
4
  //#region src/components/fading-scroll/composables/useFadingScroll.ts
5
5
  var m;
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./fading-scroll-CTeW3KNS.js";
1
+ import { n as e, t } from "./fading-scroll-ClCPooXb.js";
2
2
  export { t as FadingScroll, e as useFadingScroll };
package/dist/glass-ui.js CHANGED
@@ -11,13 +11,13 @@ import { n as fe, t as pe } from "./supportsCssTimeline-Di9gzleG.js";
11
11
  import { t as me } from "./checkbox-B1qn65se.js";
12
12
  import { a as he, c as ge, i as u, l as d, n as f, o as p, r as m, s as h, t as g } from "./command-CatrAsrl.js";
13
13
  import { n as _, t as v } from "./DialogContent-CwIBvou_.js";
14
- import { t as y } from "./useResizeObserver-CdUlm2QZ.js";
14
+ import { t as y } from "./useResizeObserver-Bv3nN46q.js";
15
15
  import { t as b } from "./useTimer-C3yfti4C.js";
16
16
  import { t as x } from "./useDragVelocity-C5BkKiNf.js";
17
17
  import { n as S, t as C } from "./useResolveTokenColor-B2FfJnd9.js";
18
18
  import { n as w, t as T } from "./useClipboard-D36OTaeT.js";
19
19
  import { useBreakpoint as E, useIdleReady as D, useTokenColor as O, useTouchGate as k, useUserInvalidAria as A, useViewportReady as j } from "./dom.js";
20
- import { a as M, c as N, i as P, l as F, n as I, o as L, r as _e, s as ve, t as ye } from "./data-table-Cs93-uY7.js";
20
+ import { a as M, c as N, i as P, l as F, n as I, o as L, r as _e, s as ve, t as ye } from "./data-table-DQuWkiwL.js";
21
21
  import { a as be, i as xe, n as Se, o as Ce, r as we, t as Te } from "./dialog-BZoFG0j8.js";
22
22
  import { t as Ee } from "./DropdownMenuTrigger-CKRnhDSQ.js";
23
23
  import { a as De, c as Oe, d as ke, f as Ae, i as je, l as Me, n as Ne, o as Pe, p as Fe, r as Ie, s as Le, t as Re, u as ze } from "./menu-DaYAZiVW.js";
@@ -35,7 +35,7 @@ import { t as ut } from "./switch-BYUZ6g9G.js";
35
35
  import { a as dt, c as ft, i as pt, n as mt, o as ht, r as gt, s as _t, t as vt } from "./toast-DVOwo6GB.js";
36
36
  import { n as yt, t as bt } from "./toggle-group-CC5b3o1R.js";
37
37
  import { i as xt, n as St, r as Ct, t as wt } from "./tooltip-CZVubnJf.js";
38
- import { a as Tt, i as Et, n as Dt, o as Ot, r as kt, s as At, t as jt } from "./configurator-CPxIo3q2.js";
38
+ import { a as Tt, i as Et, n as Dt, o as Ot, r as kt, s as At, t as jt } from "./configurator-Dl10mc3L.js";
39
39
  import { useInterval as Mt } from "./reactive.js";
40
40
  import { n as Nt, r as Pt, t as Ft } from "./vReveal-B5WYGofz.js";
41
41
  import { t as It } from "./usePointerVelocityField-Lx26_Yap.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./class-names-FlXcvRRT.js";
2
2
  import { t } from "./useLiquidFlex-TJZmRqyY.js";
3
- import { t as n } from "./useResizeObserver-CdUlm2QZ.js";
3
+ import { t as n } from "./useResizeObserver-Bv3nN46q.js";
4
4
  import { t as r } from "./_plugin-vue_export-helper-B3ysoDQm.js";
5
5
  import { s as i } from "./deck-Cm_VmyNL.js";
6
6
  import { n as a } from "./useLeadTrail-DQWdpFN1.js";
@@ -1,7 +1,7 @@
1
1
  import { getCurrentScope as e, onScopeDispose as t, watch as n } from "vue";
2
2
  //#region src/composables/dom/useResizeObserver.ts
3
3
  function r(r, i, a = {}) {
4
- let o = a.threshold ?? .5, s = a.rafBatch ?? !0, c = a.box, l = null, u = null, d = 0, f = 0, p = null, m = null;
4
+ let o = a.threshold ?? .5, s = a.rafBatch ?? !0, c = a.box, l = null, u = null, d = NaN, f = NaN, p = null, m = null;
5
5
  function h() {
6
6
  if (p = null, !m) return;
7
7
  let e = m;
@@ -18,16 +18,13 @@ function r(r, i, a = {}) {
18
18
  }
19
19
  }
20
20
  function _() {
21
- l && u && l.unobserve(u), l?.disconnect(), l = null, u = null, p !== null && (cancelAnimationFrame(p), p = null), m = null;
21
+ l && u && l.unobserve(u), l?.disconnect(), l = null, u = null, d = NaN, f = NaN, p !== null && (cancelAnimationFrame(p), p = null), m = null;
22
22
  }
23
23
  function v(e) {
24
- if (typeof window > "u" || typeof ResizeObserver > "u") return;
25
- l = new ResizeObserver((e) => {
24
+ typeof window > "u" || typeof ResizeObserver > "u" || (l = new ResizeObserver((e) => {
26
25
  let t = e[e.length - 1];
27
26
  t && g(t);
28
- }), l.observe(e, c ? { box: c } : void 0), u = e;
29
- let t = e.getBoundingClientRect();
30
- d = t.width, f = t.height;
27
+ }), l.observe(e, c ? { box: c } : void 0), u = e);
31
28
  }
32
29
  let y = n(r, (e) => {
33
30
  _(), e && v(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkbabb/glass-ui",
3
- "version": "10.1.2",
3
+ "version": "10.1.4",
4
4
  "description": "Glassmorphic design system — Vue 3.5 components, reka-ui primitives, Tailwind CSS v4 tokens",
5
5
  "license": "MIT",
6
6
  "repository": {