design-token-library 0.3.0 → 0.4.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 (56) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/lib/css-reflector.d.ts +32 -24
  3. package/dist/lib/css-reflector.js +10 -26
  4. package/dist/lib/css-reflector.js.map +1 -1
  5. package/dist/lib/equality.d.ts +16 -0
  6. package/dist/lib/equality.js +90 -0
  7. package/dist/lib/equality.js.map +1 -0
  8. package/dist/lib/graph.d.ts +58 -0
  9. package/dist/lib/graph.js +104 -0
  10. package/dist/lib/graph.js.map +1 -0
  11. package/dist/lib/index.d.ts +4 -2
  12. package/dist/lib/index.js +2 -1
  13. package/dist/lib/index.js.map +1 -1
  14. package/dist/lib/library.d.ts +221 -10
  15. package/dist/lib/library.js +1256 -258
  16. package/dist/lib/library.js.map +1 -1
  17. package/dist/lib/notifier.d.ts +0 -15
  18. package/dist/lib/notifier.js +0 -23
  19. package/dist/lib/notifier.js.map +1 -1
  20. package/dist/lib/parse-document.d.ts +21 -0
  21. package/dist/lib/parse-document.js +31 -0
  22. package/dist/lib/parse-document.js.map +1 -0
  23. package/dist/lib/parse-expression.d.ts +45 -0
  24. package/dist/lib/parse-expression.js +148 -0
  25. package/dist/lib/parse-expression.js.map +1 -0
  26. package/dist/lib/parse-extension.d.ts +24 -0
  27. package/dist/lib/parse-extension.js +68 -0
  28. package/dist/lib/parse-extension.js.map +1 -0
  29. package/dist/lib/parse-resolve.d.ts +16 -0
  30. package/dist/lib/parse-resolve.js +281 -0
  31. package/dist/lib/parse-resolve.js.map +1 -0
  32. package/dist/lib/parse-value.d.ts +35 -0
  33. package/dist/lib/parse-value.js +330 -0
  34. package/dist/lib/parse-value.js.map +1 -0
  35. package/dist/lib/parse.d.ts +103 -0
  36. package/dist/lib/parse.js +562 -0
  37. package/dist/lib/parse.js.map +1 -0
  38. package/dist/lib/queue.d.ts +13 -2
  39. package/dist/lib/queue.js +18 -2
  40. package/dist/lib/queue.js.map +1 -1
  41. package/dist/lib/ref.d.ts +18 -1
  42. package/dist/lib/ref.js +22 -4
  43. package/dist/lib/ref.js.map +1 -1
  44. package/dist/lib/standard-values.d.ts +50 -0
  45. package/dist/lib/standard-values.js +73 -0
  46. package/dist/lib/standard-values.js.map +1 -0
  47. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  48. package/dist/lib/utilities.d.ts +6 -0
  49. package/dist/lib/utilities.js +7 -1
  50. package/dist/lib/utilities.js.map +1 -1
  51. package/package.json +9 -5
  52. package/dist/lib/public.d.ts +0 -1405
  53. package/dist/lib/tsdoc-metadata.json +0 -11
  54. package/dist/lib/watcher.d.ts +0 -12
  55. package/dist/lib/watcher.js +0 -25
  56. package/dist/lib/watcher.js.map +0 -1
package/dist/lib/ref.d.ts CHANGED
@@ -15,7 +15,9 @@ export declare const REF: unique symbol;
15
15
  * Where the shape of the library is inferred, as in `Library.create({ ... })`
16
16
  * without a type argument, or for a new token in `extend()`, the path can't
17
17
  * be checked, so the shape is given as a type argument, or the ref is made
18
- * with {@link refs}.
18
+ * with {@link refs}. Config to share between libraries is typed by the
19
+ * shapes it needs, as in `Library.Config<Outline, Colors & Sizes>`, not by a
20
+ * type parameter for the library, whose paths can't be checked.
19
21
  *
20
22
  * @example
21
23
  * ```ts
@@ -25,12 +27,27 @@ export declare const REF: unique symbol;
25
27
  * @public
26
28
  */
27
29
  export declare const ref: <V, T extends {} = {}>(path: NoInfer<Library.TokenPath<T, V>>) => Library.Ref<V, T>;
30
+ /**
31
+ * Makes the ref to the token at a path, as data. Its type is where it's used.
32
+ *
33
+ * @internal
34
+ */
35
+ export declare const refTo: (path: readonly string[]) => Library.Ref<any, any>;
28
36
  /**
29
37
  * Makes a {@link (Library:namespace).Ref} to each token of a library of shape
30
38
  * `T`, at the token's path: `refs<Theme>().colors.primary` is the same ref as
31
39
  * `ref("colors.primary")`. It needs no library, so the refs are made once,
32
40
  * before the library's config, and serve every library of the shape.
33
41
  *
42
+ * @remarks
43
+ * A ref is checked against the tokens of the library it's used in, so the
44
+ * refs of a shape also work in a library that extends it, and the refs of
45
+ * several shapes in one that has them all. Config to share between libraries
46
+ * is typed by the shapes it needs, as in
47
+ * `Library.Config<Outline, Colors & Sizes>`. The refs of a type parameter
48
+ * for the library, `refs<Root>()`, can't be read, because TypeScript doesn't
49
+ * resolve their types through its constraint.
50
+ *
34
51
  * @example
35
52
  * ```ts
36
53
  * const theme = refs<Theme>();
package/dist/lib/ref.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { isObject } from "./utilities.js";
1
2
  /**
2
3
  * The key of a ref's path. A registered symbol, so that a ref made by another
3
4
  * copy of this package is still a ref.
@@ -14,7 +15,9 @@ export const REF = Symbol.for("design-token-library.ref");
14
15
  * Where the shape of the library is inferred, as in `Library.create({ ... })`
15
16
  * without a type argument, or for a new token in `extend()`, the path can't
16
17
  * be checked, so the shape is given as a type argument, or the ref is made
17
- * with {@link refs}.
18
+ * with {@link refs}. Config to share between libraries is typed by the
19
+ * shapes it needs, as in `Library.Config<Outline, Colors & Sizes>`, not by a
20
+ * type parameter for the library, whose paths can't be checked.
18
21
  *
19
22
  * @example
20
23
  * ```ts
@@ -23,13 +26,28 @@ export const REF = Symbol.for("design-token-library.ref");
23
26
  *
24
27
  * @public
25
28
  */
26
- export const ref = (path) => Object.freeze({ [REF]: Object.freeze(path.split(".")) });
29
+ export const ref = (path) => refTo(path.split("."));
30
+ /**
31
+ * Makes the ref to the token at a path, as data. Its type is where it's used.
32
+ *
33
+ * @internal
34
+ */
35
+ export const refTo = (path) => Object.freeze({ [REF]: Object.freeze([...path]) });
27
36
  /**
28
37
  * Makes a {@link (Library:namespace).Ref} to each token of a library of shape
29
38
  * `T`, at the token's path: `refs<Theme>().colors.primary` is the same ref as
30
39
  * `ref("colors.primary")`. It needs no library, so the refs are made once,
31
40
  * before the library's config, and serve every library of the shape.
32
41
  *
42
+ * @remarks
43
+ * A ref is checked against the tokens of the library it's used in, so the
44
+ * refs of a shape also work in a library that extends it, and the refs of
45
+ * several shapes in one that has them all. Config to share between libraries
46
+ * is typed by the shapes it needs, as in
47
+ * `Library.Config<Outline, Colors & Sizes>`. The refs of a type parameter
48
+ * for the library, `refs<Root>()`, can't be read, because TypeScript doesn't
49
+ * resolve their types through its constraint.
50
+ *
33
51
  * @example
34
52
  * ```ts
35
53
  * const theme = refs<Theme>();
@@ -49,7 +67,7 @@ export const refs = () =>
49
67
  // type of the path is `Refs<T>`.
50
68
  refAt([]);
51
69
  const refAt = (path) => {
52
- const ref = Object.freeze({ [REF]: Object.freeze(path) });
70
+ const ref = refTo(path);
53
71
  // So that a path is always the same ref.
54
72
  const children = new Map();
55
73
  return new Proxy(ref, {
@@ -87,7 +105,7 @@ const refAt = (path) => {
87
105
  * @public
88
106
  */
89
107
  export const isRef = (value) => {
90
- return (typeof value === "object" && value !== null && Object.hasOwn(value, REF));
108
+ return isObject(value) && Object.hasOwn(value, REF);
91
109
  };
92
110
  /**
93
111
  * The path of a {@link (Library:namespace).Ref}'s token, the name of each
@@ -1 +1 @@
1
- {"version":3,"file":"ref.js","sourceRoot":"","sources":["../../src/lib/ref.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,MAAM,CAAC,MAAM,GAAG,GAAkB,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;AAEzE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,CACf,IAAsC,EACrB,EAAE,CACnB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,GAAkC,EAAE;AACpD,uEAAuE;AACvE,iCAAiC;AACjC,KAAK,CAAC,EAAE,CAA+B,CAAC;AAE5C,MAAM,KAAK,GAAG,CAAC,IAAuB,EAAU,EAAE;IAC9C,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC1D,yCAAyC;IACzC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAE3C,OAAO,IAAI,KAAK,CAAC,GAAG,EAAE;QAClB,GAAG,CAAC,MAAM,EAAE,GAAG;YACX,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;gBAC1B,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YACpC,CAAC;YAED,IAAI,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACtB,KAAK,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;gBAC9B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,KAAc,EAAwC,EAAE;IAC1E,OAAO,CACH,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAC3E,CAAC;AACN,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,GAAgC,EAAqB,EAAE,CAC1E,GAAG,CAAC,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"ref.js","sourceRoot":"","sources":["../../src/lib/ref.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C;;;;;GAKG;AACH,MAAM,CAAC,MAAM,GAAG,GAAkB,MAAM,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,CACf,IAAsC,EACrB,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;AAE/C;;;;GAIG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAuB,EAAyB,EAAE,CACpE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,GAAkC,EAAE;AACpD,uEAAuE;AACvE,iCAAiC;AACjC,KAAK,CAAC,EAAE,CAA+B,CAAC;AAE5C,MAAM,KAAK,GAAG,CAAC,IAAuB,EAAU,EAAE;IAC9C,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,CAAC;IACxB,yCAAyC;IACzC,MAAM,QAAQ,GAAG,IAAI,GAAG,EAAkB,CAAC;IAE3C,OAAO,IAAI,KAAK,CAAC,GAAG,EAAE;QAClB,GAAG,CAAC,MAAM,EAAE,GAAG;YACX,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;gBAC1B,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YACpC,CAAC;YAED,IAAI,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAC9B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACtB,KAAK,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC;gBAC9B,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;YAC7B,CAAC;YAED,OAAO,KAAK,CAAC;QACjB,CAAC;KACJ,CAAC,CAAC;AACP,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,KAAc,EAAwC,EAAE;IAC1E,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,GAAgC,EAAqB,EAAE,CAC1E,GAAG,CAAC,GAAG,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ import type { DesignToken } from "./design-token.js";
2
+ /**
3
+ * A font weight keyword.
4
+ *
5
+ * @internal
6
+ */
7
+ export type FontWeightKeyword = Exclude<DesignToken.Values.FontWeight, number>;
8
+ /**
9
+ * The numeric weight of each font weight keyword.
10
+ *
11
+ * @see {@link https://www.designtokens.org/tr/2025.10/format/#font-weight}
12
+ *
13
+ * @internal
14
+ */
15
+ export declare const FONT_WEIGHTS: Readonly<Record<FontWeightKeyword, number>>;
16
+ type StrokeStyleKeyword = Extract<DesignToken.Values.StrokeStyle, string>;
17
+ /**
18
+ * The stroke style keywords.
19
+ *
20
+ * @see {@link https://www.designtokens.org/tr/2025.10/format/#stroke-style}
21
+ *
22
+ * @internal
23
+ */
24
+ export declare const STROKE_STYLES: Readonly<Record<StrokeStyleKeyword, true>>;
25
+ type LineCap = Exclude<DesignToken.Values.StrokeStyle, string>["lineCap"];
26
+ /**
27
+ * The line caps of a stroke style with a dash array.
28
+ *
29
+ * @internal
30
+ */
31
+ export declare const LINE_CAPS: Readonly<Record<LineCap, true>>;
32
+ /**
33
+ * The units of a dimension.
34
+ *
35
+ * @internal
36
+ */
37
+ export declare const DIMENSION_UNITS: Readonly<Record<DesignToken.Values.Dimension["unit"], true>>;
38
+ /**
39
+ * The units of a duration.
40
+ *
41
+ * @internal
42
+ */
43
+ export declare const DURATION_UNITS: Readonly<Record<DesignToken.Values.Duration["unit"], true>>;
44
+ /**
45
+ * Tests whether a value is one of the keys of a table.
46
+ *
47
+ * @internal
48
+ */
49
+ export declare const isKeyOf: <K extends string>(table: Readonly<Record<K, unknown>>, value: unknown) => value is K;
50
+ export {};
@@ -0,0 +1,73 @@
1
+ /**
2
+ * The numeric weight of each font weight keyword.
3
+ *
4
+ * @see {@link https://www.designtokens.org/tr/2025.10/format/#font-weight}
5
+ *
6
+ * @internal
7
+ */
8
+ export const FONT_WEIGHTS = {
9
+ thin: 100,
10
+ hairline: 100,
11
+ "extra-light": 200,
12
+ "ultra-light": 200,
13
+ light: 300,
14
+ normal: 400,
15
+ regular: 400,
16
+ book: 400,
17
+ medium: 500,
18
+ "semi-bold": 600,
19
+ "demi-bold": 600,
20
+ bold: 700,
21
+ "extra-bold": 800,
22
+ "ultra-bold": 800,
23
+ black: 900,
24
+ heavy: 900,
25
+ "extra-black": 950,
26
+ "ultra-black": 950,
27
+ };
28
+ /**
29
+ * The stroke style keywords.
30
+ *
31
+ * @see {@link https://www.designtokens.org/tr/2025.10/format/#stroke-style}
32
+ *
33
+ * @internal
34
+ */
35
+ export const STROKE_STYLES = {
36
+ solid: true,
37
+ dashed: true,
38
+ dotted: true,
39
+ double: true,
40
+ groove: true,
41
+ ridge: true,
42
+ outset: true,
43
+ inset: true,
44
+ };
45
+ /**
46
+ * The line caps of a stroke style with a dash array.
47
+ *
48
+ * @internal
49
+ */
50
+ export const LINE_CAPS = {
51
+ round: true,
52
+ butt: true,
53
+ square: true,
54
+ };
55
+ /**
56
+ * The units of a dimension.
57
+ *
58
+ * @internal
59
+ */
60
+ export const DIMENSION_UNITS = { px: true, rem: true };
61
+ /**
62
+ * The units of a duration.
63
+ *
64
+ * @internal
65
+ */
66
+ export const DURATION_UNITS = { ms: true, s: true };
67
+ /**
68
+ * Tests whether a value is one of the keys of a table.
69
+ *
70
+ * @internal
71
+ */
72
+ export const isKeyOf = (table, value) => typeof value === "string" && Object.hasOwn(table, value);
73
+ //# sourceMappingURL=standard-values.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standard-values.js","sourceRoot":"","sources":["../../src/lib/standard-values.ts"],"names":[],"mappings":"AAeA;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,YAAY,GAAgD;IACrE,IAAI,EAAE,GAAG;IACT,QAAQ,EAAE,GAAG;IACb,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,GAAG;IAClB,KAAK,EAAE,GAAG;IACV,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,GAAG;IACZ,IAAI,EAAE,GAAG;IACT,MAAM,EAAE,GAAG;IACX,WAAW,EAAE,GAAG;IAChB,WAAW,EAAE,GAAG;IAChB,IAAI,EAAE,GAAG;IACT,YAAY,EAAE,GAAG;IACjB,YAAY,EAAE,GAAG;IACjB,KAAK,EAAE,GAAG;IACV,KAAK,EAAE,GAAG;IACV,aAAa,EAAE,GAAG;IAClB,aAAa,EAAE,GAAG;CACrB,CAAC;AAIF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAA+C;IACrE,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,KAAK,EAAE,IAAI;CACd,CAAC;AAIF;;;;GAIG;AACH,MAAM,CAAC,MAAM,SAAS,GAAoC;IACtD,KAAK,EAAE,IAAI;IACX,IAAI,EAAE,IAAI;IACV,MAAM,EAAE,IAAI;CACf,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,eAAe,GAExB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;AAE5B;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAEvB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC;AAE1B;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CACnB,KAAmC,EACnC,KAAc,EACJ,EAAE,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.es2022.full.d.ts","../../src/lib/design-token.ts","../../src/lib/recipe.ts","../../src/lib/ref.ts","../../src/lib/notifier.ts","../../src/lib/queue.ts","../../src/lib/utilities.ts","../../src/lib/watcher.ts","../../src/lib/library.ts","../../src/lib/css-reflector.ts","../../src/lib/values.ts","../../src/lib/index.ts","../../node_modules/@types/argparse/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/sinonjs__fake-timers/index.d.ts","../../node_modules/@types/sinon/index.d.ts"],"fileIdsList":[[77],[64,69,71],[64,65,66,71,72,73],[64,65,66,67,68,69,70],[67],[71],[64],[69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"6a55fb240497dd1953c4f7d8c2982b3ec1cc070ef816839be9ecd1b5c3af4900","signature":"fbcc432cd6b06f91426186af8970e2fb8bf9c251df49aa1c6e1c498828a8b387","impliedFormat":99},{"version":"f903b1d4b4fba5c5eb6ab5ce79c72322e7ec8cfd3c76ccbbd20dc177af8eda14","signature":"779052cd91eb7496b020d7182a83512e589cdddb486e812e2960a4e8aaec1746","impliedFormat":99},{"version":"0305b3c70398174dbb95ef33f0fc87dc5644503f4b3dc8f0bd78aa72a0cfe6e9","signature":"40e09af49f1546b607ffdf359f9227371f693f0d4b8b5e773156f36ab2a96d3b","impliedFormat":99},{"version":"30e8546a341a22a480956b0846966cc296104b49b173d7da95909b5d42bf8c16","signature":"c498ccd6bf7772889f965bbf0e34a87e6893b56beb7e546046f9ef1444398cc6","impliedFormat":99},{"version":"af19305f6c0e51db0d60b74695cbf3cdd624562ea3ecd58219223a376ae918d5","signature":"b5138c6e1eb6fbc1ee5951a5d2a30038eb29b4dc4233f275fb5946ab319947a6","impliedFormat":99},{"version":"664957d8967f2a2641e83019d4081de1eeb12fce3748f13c632a80bf99fe76cd","signature":"32387013b3f9b412bdf357ec361a91befc8901e022c535140b45bbd7c6a93d57","impliedFormat":99},{"version":"01f6443682fd37972d9ef91610fadb8b45bb4b9aed272e660cb5bc13553492cb","signature":"46afe04e8e72c08be83860c259295714fd8b48d5b5a4e0885ea6f6fd9e790ecc","impliedFormat":99},{"version":"900bcafb8331ba1c5728076f10faa731d9cc54330039d33d57bbe554e9dbb315","signature":"836a58a8a26e698f07a8d4d908c05fa9786e57b07cc390aad1624c4d59d3fe92","impliedFormat":99},{"version":"6a4c3e7b7540aeeeb72682b8b50b1ed18e747ea828994a37795b05e2d6dd88ec","signature":"2b5f1a023cb9dfeca2c555da1a13f50f88c8ef035a0ec2feeb78e731ae075127","impliedFormat":99},{"version":"1f6da71e17deea8081131e80e3d960c7c2efcefa668601c52c0a411693f0f378","signature":"0282e2dae20445d5171858e877d6ff751f11b2db385aa0a5ce750853bc1035ec","impliedFormat":99},{"version":"d5b6ea4a9e79dcc08ceae4cc81f32e0b51708493a1d2da29d773fd86ac298663","signature":"9c17f95c3d1ba2739f3fe18d459bcf9e77665b55287b39156b647ed5a05afc90","impliedFormat":99},{"version":"dc3b172ee27054dbcedcf5007b78c256021db936f6313a9ce9a3ecbb503fd646","impliedFormat":1},{"version":"035a5df183489c2e22f3cf59fc1ed2b043d27f357eecc0eb8d8e840059d44245","impliedFormat":1},{"version":"7d2a0ba1297be385a89b5515b88cd31b4a1eeef5236f710166dc1b36b1741e1b","impliedFormat":1},{"version":"c0e3c1f7e2c4aaefbfb2e5d20ccf49a0d51e1d102751dd2de4c7f197480a2b48","impliedFormat":1}],"root":[[64,74]],"options":{"composite":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"outDir":"..","rootDir":"../../src","sourceMap":true,"strict":true,"target":9},"referencedMap":[[78,1],[72,2],[74,3],[71,4],[68,5],[65,6],[66,6],[73,7],[70,8]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/typescript/lib/lib.es2022.full.d.ts","../../src/lib/design-token.ts","../../src/lib/recipe.ts","../../src/lib/utilities.ts","../../src/lib/ref.ts","../../src/lib/equality.ts","../../src/lib/graph.ts","../../src/lib/notifier.ts","../../src/lib/queue.ts","../../src/lib/library.ts","../../src/lib/standard-values.ts","../../src/lib/css-reflector.ts","../../src/lib/parse-document.ts","../../src/lib/parse-extension.ts","../../src/lib/parse-expression.ts","../../src/lib/parse-resolve.ts","../../src/lib/parse-value.ts","../../src/lib/parse.ts","../../src/lib/values.ts","../../src/lib/index.ts"],"fileIdsList":[[64,66,72,73],[64,66],[64,65,67,72,74,80,81],[64,65,66,67,68,69,71],[75],[75,76],[64,73],[64,65,67,72,75,76,77,78,79],[70],[72],[66,72],[64]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7a3c8b952931daebdfc7a2897c53c0a1c73624593fa070e46bd537e64dcd20a","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"3cbad9a1ba4453443026ed38e4b8be018abb26565fa7c944376463ad9df07c41","impliedFormat":1},{"version":"6a55fb240497dd1953c4f7d8c2982b3ec1cc070ef816839be9ecd1b5c3af4900","signature":"fbcc432cd6b06f91426186af8970e2fb8bf9c251df49aa1c6e1c498828a8b387","impliedFormat":99},{"version":"f903b1d4b4fba5c5eb6ab5ce79c72322e7ec8cfd3c76ccbbd20dc177af8eda14","signature":"779052cd91eb7496b020d7182a83512e589cdddb486e812e2960a4e8aaec1746","impliedFormat":99},{"version":"40c42a2de9fedb2ec0234aee11ca5a176e877f97dfa8e4a236c5846ea9eec0e4","signature":"e98a2794268989f4a9ce73c4b574d0963730c8215a56cc80208219ebf98627e7","impliedFormat":99},{"version":"f68c1ef3c8139e4cac1b356238a6e65597b85e54ad6fbad7d83f24a358831e32","signature":"1ae2f19b8f8be2a7eda3e9e8bd8aa311dbc9f1389a94da5284ae24dc4706e73c","impliedFormat":99},{"version":"42ae35b638094ead1caf87f465cda20d850011653d7fb90aff6a5dbfec15fbaa","signature":"d2e63a5a7bdc1464d3d0a5ed1396ec31f3d384e62bfe2b2f3507aa18507c3d0b","impliedFormat":99},{"version":"2cdd1cf0020ad7beeaad7e42afb7a366b06561c6ec17ad0cf9ec5c8c6b654818","signature":"53eac40b32e8477cf4ea170552108eb471f19647190a72a3ec7d5f7365655187","impliedFormat":99},{"version":"adc07a79dce2e4102ec3c012c2aa78d4ab2e3385d60a8c0a3c10f43b10527d82","signature":"fab18adb0c22748a4df947ce720cc3becc085c26785d3c15cbec303b17a21323","impliedFormat":99},{"version":"20ec03a9a48633909978e49d9dcd07a18cbca83a65dbba88495c8508d57d795c","signature":"c9314e0a2efbffecf17d81b2a4ccf72b62679e100f6a3640e903a23b36ec30dd","impliedFormat":99},{"version":"d1f12a2527b418621be4e7aaba6b0ef960a1444a430d540fb121e9693655e04b","signature":"1d8698672e3c2e224ed66638c1dc3c3489fa6dc7338ef7cdd3a057987c8c657d","impliedFormat":99},{"version":"81b4dc296e2a13d25091717d3679cf2d2952d7b3aad433b6b5b2593545f49c32","signature":"8a0e6d33ea94b4e1b45116df4109cc5d1f1563404af1d070757b576f47dddcbf","impliedFormat":99},{"version":"0717ab2b5ffa2915cb282736bcb084313baaf4edd9757e581f3a987ee62bd693","signature":"b4b957768823937be7d4abb0cb6e112021f0e73fe121f1b7954f5b164339b451","impliedFormat":99},{"version":"c586975ad978e822c680c237f162867f46161d302576a6e22b4ab91a624f2f2c","signature":"1776ab9cb0dd9b1a4ab168cb3b3270f70e554298bc1510cf94fce308b82b44d1","impliedFormat":99},{"version":"706e157f1093b58c2b0471c1bd722294b12a2a3e121a4cdc4565ca6db70e4352","signature":"a81532a15aec6f8de044744ea89d95d6268f46389446948348f336b7aa0a8710","impliedFormat":99},{"version":"df9ab276322e1bcd443d966b9f846437874690401b2772f3d1964a17fe0020c8","signature":"7fd902c8c4fa312b9e7b2ec57db980f352c34f619c37164c7f2f0792752d8511","impliedFormat":99},{"version":"2018822682556a2617b67d3c82bb9386da095077097a65075d89dbce687c1f15","signature":"57bf4c1c71e1a0de46baa8d6cccb0ec25faaa5e9577d1a77aae71e6503293d41","impliedFormat":99},{"version":"dc47e582d746e299ead4db9aaf246aaa1ad4b066e21eca566090cfdfa839ea86","signature":"e5513572556e18c8209ffdcd578f1a0bd092cda5af9eb4ed6aa2a7914d2f974d","impliedFormat":99},{"version":"506e08a16f8dbd1b06df9d6ed10d1cebea2b381254ce9ed27b70b5556fb0cd40","signature":"446e9078929d91d851e75c0e42a0bf2795bb20268f6d3215babedab8abe1184b","impliedFormat":99},{"version":"1f6da71e17deea8081131e80e3d960c7c2efcefa668601c52c0a411693f0f378","signature":"0282e2dae20445d5171858e877d6ff751f11b2db385aa0a5ce750853bc1035ec","impliedFormat":99},{"version":"180e0508a7da5b50f0402167a1bd18f2f3d6bc7281c02093305c39e4c358b78e","signature":"752065433a130c4ef586941588ad4efc47644d7b97b7d7bad22a8955df064efc","impliedFormat":99}],"root":[[64,82]],"options":{"composite":true,"esModuleInterop":true,"experimentalDecorators":true,"module":100,"outDir":"..","rootDir":"../../src","sourceMap":true,"strict":true,"target":9},"referencedMap":[[74,1],[68,2],[82,3],[72,4],[76,5],[78,6],[79,7],[80,8],[71,9],[65,10],[67,11],[73,12],[81,12]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
@@ -9,3 +9,9 @@ export declare const empty: unique symbol;
9
9
  export declare const isToken: <T>(value: T) => value is T & {
10
10
  $value: any;
11
11
  };
12
+ /**
13
+ * Tests whether a value is an object, and not null.
14
+ *
15
+ * @internal
16
+ */
17
+ export declare const isObject: <T>(value: T) => value is T & object;
@@ -7,6 +7,12 @@ export const empty = Symbol();
7
7
  * @internal
8
8
  */
9
9
  export const isToken = (value) => {
10
- return typeof value === "object" && value !== null && "$value" in value;
10
+ return isObject(value) && "$value" in value;
11
11
  };
12
+ /**
13
+ * Tests whether a value is an object, and not null.
14
+ *
15
+ * @internal
16
+ */
17
+ export const isObject = (value) => typeof value === "object" && value !== null;
12
18
  //# sourceMappingURL=utilities.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../../src/lib/utilities.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAI,KAAQ,EAAgC,EAAE;IACjE,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,QAAQ,IAAI,KAAK,CAAC;AAC5E,CAAC,CAAC"}
1
+ {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../../src/lib/utilities.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,EAAE,CAAC;AAE9B;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CAAI,KAAQ,EAAgC,EAAE;IACjE,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,QAAQ,IAAI,KAAK,CAAC;AAChD,CAAC,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAI,KAAQ,EAAuB,EAAE,CACzD,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "design-token-library",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "A library for managing design tokens",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/lib/index.js",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/lib/public.d.ts",
10
+ "types": "./dist/lib/index.d.ts",
11
11
  "default": "./dist/lib/index.js"
12
12
  }
13
13
  },
@@ -15,9 +15,9 @@
15
15
  "./dist/lib/**.*",
16
16
  "CHANGELOG.md"
17
17
  ],
18
- "types": "./dist/lib/public.d.ts",
18
+ "types": "./dist/lib/index.d.ts",
19
19
  "scripts": {
20
- "build": "tsc -b && npm run api-report:check",
20
+ "build": "tsc -b",
21
21
  "watch": "tsc -b -w",
22
22
  "watch:test": "watchlist dist/test -- npm test",
23
23
  "test": "npx uvu dist/test .spec.js$",
@@ -25,8 +25,11 @@
25
25
  "report-size": "npx esbuild dist/lib/index.js --bundle --outfile=temp/bundle.js --minify; rm -rf temp",
26
26
  "api-report": "npx api-extractor run --local --verbose",
27
27
  "api-report:check": "npx api-extractor run --verbose",
28
+ "typings:check": "tsc -p typings-check",
28
29
  "docs:api-reference": "npx api-documenter markdown --input-folder temp --output-folder doc-site/docs/api-reference",
29
- "prettier": "npx prettier ./src --write"
30
+ "prettier": "npx prettier ./src --write",
31
+ "bench": "node dist/bench/run.js",
32
+ "bench:compare": "node dist/bench/compare.js"
30
33
  },
31
34
  "repository": {
32
35
  "type": "git",
@@ -44,6 +47,7 @@
44
47
  "devDependencies": {
45
48
  "@microsoft/api-documenter": "^7.30.18",
46
49
  "@microsoft/api-extractor": "^7.59.4",
50
+ "@types/node": "^22.20.5",
47
51
  "@types/sinon": "^17.0.1",
48
52
  "c8": "^12.0.0",
49
53
  "esbuild": "0.19.8",