@pantoken/utils 0.2.3 → 0.2.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +2 -4
  2. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -64,11 +64,9 @@ declare function focusOutlineRules(selector?: string): string;
64
64
  /** The colour mode to collapse `light-dark()` to. */
65
65
  type Mode = "light" | "dark";
66
66
  /** A `var(--custom-prop)` reference (optional fallback); capture group 1 is the property name. */
67
- declare const VAR_RE: any;
67
+ declare const VAR_RE: RegExp;
68
68
  /** A `light-dark(<light>, <dark>)` value; capture groups 1 and 2 are the two branches. */
69
- declare const LIGHT_DARK_RE: import("arkregex").Regex<"light-dark(,)", {
70
- captures: ["", ""];
71
- }>;
69
+ declare const LIGHT_DARK_RE: RegExp;
72
70
  /** Options for {@link makeResolver}. */
73
71
  interface ResolveOptions {
74
72
  /** Collapse `light-dark()` to this branch; omit to keep `light-dark()` intact. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantoken/utils",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Shared pantoken helpers: token reference resolver, typed regexes (arkregex), name-case, and hex-colour parsing.",
5
5
  "homepage": "https://pantoken.iywahl.com",
6
6
  "bugs": "https://github.com/thedannywahl/pantoken/issues",