@rinzai/zen 0.7.1 → 0.7.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"theme-wave.d.ts","sourceRoot":"","sources":["../../packages/utils/theme-wave.ts"],"names":[],"mappings":"AA6NA;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAIvC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CACrB,MAAM,EAAE,MAAM,IAAI,EAClB,IAAI,CAAC,EAAE,OAAO,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,EAChD,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,GACxB,IAAI,CAqJN"}
1
+ {"version":3,"file":"theme-wave.d.ts","sourceRoot":"","sources":["../../packages/utils/theme-wave.ts"],"names":[],"mappings":"AA6NA;;;;;GAKG;AACH,wBAAgB,gBAAgB,IAAI,IAAI,CAIvC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CACrB,MAAM,EAAE,MAAM,IAAI,EAClB,IAAI,CAAC,EAAE,OAAO,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,EAChD,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,GACxB,IAAI,CAwJN"}
@@ -195,8 +195,8 @@ function A(e, t, o) {
195
195
  height: `${j - k}px`,
196
196
  clipPath: d ? `inset(${C.top - k}px ${A - C.right}px ${j - C.bottom}px ${C.left - w}px round ${getComputedStyle(o).borderRadius})` : ""
197
197
  });
198
- let B = [], V = !1, H = document.startViewTransition(() => {
199
- e();
198
+ let B = [], V = !1, H = document.startViewTransition(async () => {
199
+ e(), await Promise.resolve();
200
200
  let t = getComputedStyle(d ? o : c);
201
201
  V = Number(t.getPropertyValue("--background").trim().split(" ")[0]) <= .5, c.classList.toggle(p, V);
202
202
  let n = t.getPropertyValue("--glow").trim(), [r, i, a] = n.split(" ").map(Number);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rinzai/zen",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "React components in dark glass: translucent surfaces, hairline borders that catch a pointer light, one accent colour. Tailwind v4, no runtime dependencies.",
5
5
  "keywords": [
6
6
  "react",