@takazudo/zdtp 0.6.0 → 0.7.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.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "preact/jsx-runtime";
2
2
  import "preact";
3
- import { S as i, c as n, d as l, _ as d, e as _, f as p, g as m, h as g, i as P, j as S, k as C, l as A, m as T, n as u, o as c, q as f, r as K, s as M, t as w, v as F, w as v, x, y as E, z as h, B as y } from "./index-DWs1XPfy.js";
4
- import { Z as b, a2 as k, x as H, w as L, a5 as V } from "./tweak-state-Dzr5kDhX.js";
3
+ import { S as i, c as n, d as l, _ as d, e as _, f as p, g as m, h as g, i as P, j as S, k as C, l as A, m as T, n as u, o as c, q as f, r as K, s as M, t as w, v as F, w as v, x, y as E, z as h, B as y } from "./index-CUWkR-Gb.js";
4
+ import { Z as b, a2 as k, x as H, w as L, a5 as V } from "./tweak-state-Dhjqig0C.js";
5
5
  import { b as Y, c as B, s as G } from "./panel-config-Crn5QJGy.js";
6
6
  import "./autoload-state-CGnis85c.js";
7
7
  import "./constants.js";
package/dist/testing.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { _ as r, b as i, c as n, d as _, e as g, f as l, h as R, a as f } from "./panel-config-Crn5QJGy.js";
2
- import { a as P, b as y, l as O } from "./tweak-state-Dzr5kDhX.js";
2
+ import { a as P, b as y, l as O } from "./tweak-state-Dhjqig0C.js";
3
3
  import { F as E, G as S, a as V, S as d } from "./manifest-DvuKi7I4.js";
4
4
  async function s(a, e) {
5
5
  await a.fill(e), await a.dispatchEvent("input");
@@ -2036,18 +2036,18 @@ export {
2036
2036
  nr as h,
2037
2037
  qn as i,
2038
2038
  Rr as j,
2039
- xr as k,
2039
+ Nr as k,
2040
2040
  Jr as l,
2041
- kr as m,
2041
+ xr as m,
2042
2042
  tr as n,
2043
2043
  Mr as o,
2044
- Sr as p,
2045
- br as q,
2046
- vr as r,
2044
+ kr as p,
2045
+ Sr as q,
2046
+ br as r,
2047
2047
  D as s,
2048
- wr as t,
2049
- Z as u,
2050
- Nr as v,
2048
+ vr as t,
2049
+ wr as u,
2050
+ Z as v,
2051
2051
  Lr as w,
2052
2052
  or as x,
2053
2053
  zr as y,
@@ -0,0 +1,12 @@
1
+ /** Whether a color needs browser evaluation instead of static parsing. */
2
+ export declare function isCssExpression(value: string): boolean;
3
+ /**
4
+ * Resolve a color in the document-root/body token context, returning the
5
+ * browser's computed serialization (which need not be rgb()).
6
+ *
7
+ * The probe lives outside panel scope: panel chrome's color-scheme: dark
8
+ * would collapse light-dark() to its dark side, and --tokentweak-* defaults
9
+ * could shadow host tokens. Sinks targeting a root other than document are
10
+ * outside this resolver's scope.
11
+ */
12
+ export declare function resolveCssColorInHost(value: string, mode?: 'light' | 'dark'): string | null;