@yahoo/uds-create-config 4.10.2 → 4.10.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/configs/CanvasConfig.d.ts +165 -77
- package/dist/configs/documentation.d.ts +1 -1
- package/dist/configs/react-native-system.d.ts +111 -52
- package/dist/configs/system.d.ts +121 -87
- package/dist/configs/system.js +4 -0
- package/dist/entities/documentation/Documentation.d.ts +1 -1
- package/dist/entities/native/NativeModifier.d.ts +1 -1
- package/dist/entities/native/NativeSettings.d.ts +1 -1
- package/dist/entities/native/NativeStyleProperty.d.ts +2 -2
- package/dist/entities/native/NativeToken.d.ts +4 -3
- package/dist/entities/system/CanvasRole.d.ts +1 -1
- package/dist/entities/system/Component.d.ts +23 -13
- package/dist/entities/system/Component.js +41 -15
- package/dist/entities/system/Composite.d.ts +1 -1
- package/dist/entities/system/Device.d.ts +1 -1
- package/dist/entities/system/File.d.ts +2 -2
- package/dist/entities/system/Font.d.ts +1 -1
- package/dist/entities/system/GlobalStyle.d.ts +1 -1
- package/dist/entities/system/Guidance.d.ts +1 -1
- package/dist/entities/system/GuidanceStyle.d.ts +1 -1
- package/dist/entities/system/Icon.d.ts +63 -11
- package/dist/entities/system/Icon.js +70 -14
- package/dist/entities/system/LinkedSystem.d.ts +1 -1
- package/dist/entities/system/Modifier.d.ts +2 -2
- package/dist/entities/system/Motion.d.ts +1 -1
- package/dist/entities/system/Package.d.ts +1 -1
- package/dist/entities/system/Settings.d.ts +1 -1
- package/dist/entities/system/StyleProperty.d.ts +12 -19
- package/dist/entities/system/StyleProperty.js +7 -10
- package/dist/entities/system/Token.d.ts +4 -3
- package/dist/entities/system/defineComponent.d.ts +21 -6
- package/dist/entities/system/defineComponent.js +7 -12
- package/dist/entities/system/glyph-identity.d.ts +7 -0
- package/dist/entities/system/glyph-identity.js +153 -0
- package/dist/entities/system/icon-domain-invariants.d.ts +11 -0
- package/dist/entities/system/icon-domain-invariants.js +178 -0
- package/dist/entities/system/icon-library.d.ts +93 -34
- package/dist/entities/system/icon-library.js +218 -50
- package/dist/entities/system/icon-metadata.d.ts +10 -4
- package/dist/entities/system/icon-metadata.js +45 -5
- package/dist/entities/system/runtime-modules.js +5 -5
- package/dist/entities/system/style-bag.js +14 -2
- package/dist/framework/Config.d.ts +1 -1
- package/dist/framework/Config.js +34 -5
- package/dist/framework/defineConfig.d.ts +6 -3
- package/dist/framework/defineEntity.d.ts +54 -15
- package/dist/framework/defineEntity.js +56 -2
- package/dist/framework/projections.d.ts +40 -2
- package/dist/framework/projections.js +99 -5
- package/dist/framework/prop-surface.d.ts +6 -5
- package/dist/framework/prop-surface.js +12 -14
- package/dist/framework/registry.d.ts +17 -1
- package/dist/framework/registry.js +2 -1
- package/dist/framework/render-spec.d.ts +6 -5
- package/dist/framework/render-spec.js +16 -11
- package/dist/framework/schema-version.d.ts +1 -1
- package/dist/framework/schema-version.js +5 -5
- package/dist/framework/signature.js +5 -1
- package/dist/framework/utils/group.d.ts +15 -1
- package/dist/framework/utils/ref-grammar.d.ts +35 -0
- package/dist/framework/utils/ref-grammar.js +76 -0
- package/dist/framework/utils/refs.d.ts +13 -45
- package/dist/framework/utils/refs.js +31 -94
- package/dist/framework/value-domain.js +53 -8
- package/dist/index.d.ts +6 -6
- package/dist/index.js +5 -5
- package/dist/migrations/2.0.0/v1-artifact.d.ts +62 -45
- package/dist/migrations/2.0.0/v1-artifact.js +5 -7
- package/dist/migrations/20260921044042_icon_library_without_component.d.ts +19 -0
- package/dist/migrations/20260921044042_icon_library_without_component.js +86 -0
- package/dist/migrations/20260922013625_icon_libraries.d.ts +18 -0
- package/dist/migrations/20260922013625_icon_libraries.js +8 -0
- package/dist/renderer/UdsRenderer.d.ts +8 -1
- package/dist/renderer/UdsRenderer.js +7 -3
- package/dist/renderer/glyphEntries.d.ts +32 -0
- package/dist/renderer/glyphEntries.js +48 -0
- package/dist/renderer/glyphRenderable.d.ts +10 -0
- package/dist/renderer/glyphRenderable.js +40 -0
- package/dist/renderer/icon-library.d.ts +18 -11
- package/dist/renderer/index.d.ts +4 -2
- package/dist/renderer/index.js +4 -2
- package/dist/renderer/resolveGlyph.d.ts +47 -0
- package/dist/renderer/resolveGlyph.js +78 -0
- package/dist/renderer/wrapRegistry.d.ts +13 -4
- package/dist/renderer/wrapRegistry.js +7 -5
- package/dist/renderer/wrappers/component-refs.js +6 -2
- package/dist/renderer/wrappers/glyph-props.d.ts +15 -0
- package/dist/renderer/wrappers/glyph-props.js +65 -0
- package/dist/spec/glyph-jsx.d.ts +41 -0
- package/dist/spec/{asset-jsx.js → glyph-jsx.js} +7 -25
- package/dist/spec/index.d.ts +2 -2
- package/dist/spec/index.js +2 -2
- package/dist/spec/jsxToSpec.d.ts +10 -4
- package/dist/spec/jsxToSpec.js +21 -4
- package/dist/spec/specToJsx.d.ts +20 -9
- package/dist/spec/specToJsx.js +77 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/renderer/assetEntries.d.ts +0 -37
- package/dist/renderer/assetEntries.js +0 -38
- package/dist/renderer/assetRenderable.d.ts +0 -25
- package/dist/renderer/assetRenderable.js +0 -19
- package/dist/spec/asset-jsx.d.ts +0 -61
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isRef as isRef$1, kindOf as kindOf$1, memberOf as memberOf$1, pathOf as pathOf$1, qualifier, sourceOf as sourceOf$1, splitRef as splitRef$1 } from "./ref-grammar.js";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
//#region src/framework/utils/refs.ts
|
|
3
4
|
/**
|
|
@@ -5,21 +6,29 @@ import { z } from "zod";
|
|
|
5
6
|
* path. Because a ref is just data inside a definition, the dependency graph falls out
|
|
6
7
|
* of a generic walk (`collectRefs`) — no per-entity edge wiring.
|
|
7
8
|
*/
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
9
|
+
/** `kind:path[@source][#member]`, split — the one reader of the ref grammar. */
|
|
10
|
+
function splitRef(target) {
|
|
11
|
+
return splitRef$1(target);
|
|
12
|
+
}
|
|
13
|
+
function isRef(value) {
|
|
14
|
+
return isRef$1(value);
|
|
15
|
+
}
|
|
16
|
+
/** The kind a ref points at (`component:buttons/Primary#props/gap` → `component`). */
|
|
17
|
+
function kindOf(target) {
|
|
18
|
+
return kindOf$1(target);
|
|
19
|
+
}
|
|
20
|
+
/** The path of the entity a ref points at — kind, source and any member stripped. */
|
|
21
|
+
function pathOf(target) {
|
|
22
|
+
return pathOf$1(target);
|
|
23
|
+
}
|
|
24
|
+
/** The source half — the link slug a ref points through, or `undefined` for a local one. */
|
|
25
|
+
function sourceOf(target) {
|
|
26
|
+
return sourceOf$1(target);
|
|
27
|
+
}
|
|
28
|
+
/** The member half (`props/gap`), or `undefined` for a plain entity ref. */
|
|
29
|
+
function memberOf(target) {
|
|
30
|
+
return memberOf$1(target);
|
|
31
|
+
}
|
|
23
32
|
/**
|
|
24
33
|
* Whether `path` can be an entity's own path — the invariant {@link splitSource} rests on, so it is
|
|
25
34
|
* stated next to it.
|
|
@@ -39,53 +48,11 @@ const qualifier = (source) => source === void 0 ? "" : `${SOURCE}${source}`;
|
|
|
39
48
|
* deletable.
|
|
40
49
|
*/
|
|
41
50
|
function isEntityPath(path) {
|
|
42
|
-
return path.lastIndexOf(
|
|
51
|
+
return path.lastIndexOf("@") <= 0;
|
|
43
52
|
}
|
|
44
53
|
/** What a refused path should say, in one place, so a create, a rename and a register word it alike. */
|
|
45
54
|
const ENTITY_PATH_MESSAGE = "An entity path may not contain \"@\" except as a leading npm scope — \"@\" marks the source a ref is drawn from, so a path carrying one cannot be told apart from a borrowed address.";
|
|
46
55
|
/**
|
|
47
|
-
* Splits a qualified path into what it names and where from.
|
|
48
|
-
*
|
|
49
|
-
* A path can OPEN with `@`: a package's path is an npm specifier, and `package:@ariakit/react` is
|
|
50
|
-
* scoped. So the source is the last `@`, and never a leading one — a scope opens a path, it doesn't
|
|
51
|
-
* qualify it. `package:@ariakit/react@yahoo-os` is that package, as their system has it.
|
|
52
|
-
*
|
|
53
|
-
* Total for every path {@link isEntityPath} admits, which is what makes "the last `@`" a rule rather
|
|
54
|
-
* than a heuristic: with at most a leading `@` in the path, any later one is the marker.
|
|
55
|
-
*/
|
|
56
|
-
function splitSource(qualified) {
|
|
57
|
-
const at = qualified.lastIndexOf(SOURCE);
|
|
58
|
-
if (at <= 0) return [qualified, void 0];
|
|
59
|
-
return [qualified.slice(0, at), qualified.slice(at + 1)];
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* `kind:path[@source][#member]`, split — the one place a ref is read. This is the ref spelling of the
|
|
63
|
-
* address grammar written down whole in `framework/config-op.ts`.
|
|
64
|
-
*
|
|
65
|
-
* Every accessor below goes through this, and so does anything outside this file that needs a part of
|
|
66
|
-
* a ref. Code that slices at `indexOf(':')` or tests `startsWith('token:')` has its own copy of the
|
|
67
|
-
* grammar, which means the grammar cannot move without hunting for the copies — and a copy that is
|
|
68
|
-
* subtly wrong (a prefix test that a sourced ref fails) is silent.
|
|
69
|
-
*/
|
|
70
|
-
function splitRef(target) {
|
|
71
|
-
const raw = isRef(target) ? target.__ref : target;
|
|
72
|
-
const hash = raw.indexOf(MEMBER);
|
|
73
|
-
const entity = hash === -1 ? raw : raw.slice(0, hash);
|
|
74
|
-
const member = hash === -1 ? void 0 : raw.slice(hash + 1);
|
|
75
|
-
const colon = entity.indexOf(":");
|
|
76
|
-
const kind = colon === -1 ? entity : entity.slice(0, colon);
|
|
77
|
-
const qualifiedPath = colon === -1 ? entity : entity.slice(colon + 1);
|
|
78
|
-
const [path, source] = splitSource(qualifiedPath);
|
|
79
|
-
return {
|
|
80
|
-
kind,
|
|
81
|
-
source,
|
|
82
|
-
path,
|
|
83
|
-
qualifiedPath,
|
|
84
|
-
member,
|
|
85
|
-
marked: colon !== -1
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
56
|
* A reference to another entity: `ref('token', 'color/brand')`. Resolution is prefix-or-leaf against
|
|
90
57
|
* the flat store.
|
|
91
58
|
*
|
|
@@ -110,7 +77,7 @@ function ref(kind, path, source) {
|
|
|
110
77
|
* `memberRef('component', 'Pressable', 'props', 'gap')` → `component:Pressable#props/gap`. A
|
|
111
78
|
* `source` qualifies the entity the member is reached through. */
|
|
112
79
|
function memberRef(kind, path, sub, member, source) {
|
|
113
|
-
return { __ref: `${kind}:${path}${qualifier(source)}
|
|
80
|
+
return { __ref: `${kind}:${path}${qualifier(source)}#${sub}/${member}` };
|
|
114
81
|
}
|
|
115
82
|
/**
|
|
116
83
|
* A ref to a singleton kind, in the form the index and the resolver read: the item at the kind's own
|
|
@@ -122,41 +89,14 @@ function singletonRef(target) {
|
|
|
122
89
|
const { kind, source, path, member } = splitRef(target);
|
|
123
90
|
if (path === kind) return target;
|
|
124
91
|
const tail = [path === "" ? void 0 : path, member].filter((part) => part !== void 0).join("/");
|
|
125
|
-
return `${kind}:${kind}${qualifier(source)}${tail ?
|
|
92
|
+
return `${kind}:${kind}${qualifier(source)}${tail ? `#${tail}` : ""}`;
|
|
126
93
|
}
|
|
127
94
|
/** The entity half of any ref — a plain entity ref is itself. This is the form the dependency
|
|
128
95
|
* graph and kind-narrowing speak, so a member ref participates in both unchanged. */
|
|
129
96
|
function entityRefOf(target) {
|
|
130
|
-
const at = target.indexOf(
|
|
97
|
+
const at = target.indexOf("#");
|
|
131
98
|
return at === -1 ? target : target.slice(0, at);
|
|
132
99
|
}
|
|
133
|
-
/** The member half (`props/gap`), or `undefined` for a plain entity ref. Takes the ref itself or its
|
|
134
|
-
* string form, like {@link pathOf} / {@link kindOf} / {@link sourceOf}. */
|
|
135
|
-
function memberOf(target) {
|
|
136
|
-
const raw = isRef(target) ? target.__ref : target;
|
|
137
|
-
const at = raw.indexOf(MEMBER);
|
|
138
|
-
return at === -1 ? void 0 : raw.slice(at + 1);
|
|
139
|
-
}
|
|
140
|
-
/** The path of the entity a ref points at — kind, source and any member stripped, so a member ref
|
|
141
|
-
* resolves to the item that contains it (`component:buttons/Primary#props/gap` → `buttons/Primary`)
|
|
142
|
-
* and a linked ref yields the path as its source spells it (`token:color/brand@yahoo-os` →
|
|
143
|
-
* `color/brand`). Takes the ref itself or its string form, so a caller holding a ref field never
|
|
144
|
-
* spells `__ref`. */
|
|
145
|
-
function pathOf(target) {
|
|
146
|
-
return splitRef(target).path;
|
|
147
|
-
}
|
|
148
|
-
/** The source half — the link slug a ref points through, or `undefined` when it points at something
|
|
149
|
-
* in this config. This is the one question that distinguishes a linked entity from a local one, and
|
|
150
|
-
* it replaces reading a per-entity provenance marker. */
|
|
151
|
-
function sourceOf(target) {
|
|
152
|
-
return splitRef(target).source;
|
|
153
|
-
}
|
|
154
|
-
/** The kind a ref points at (`component:buttons/Primary#props/gap` → `component`) — the twin of
|
|
155
|
-
* {@link pathOf}, so a consumer holding a `kind:path` string (a `dependentsOf` result) never splits
|
|
156
|
-
* it by hand. Takes the ref itself or its string form. */
|
|
157
|
-
function kindOf(target) {
|
|
158
|
-
return splitRef(target).kind;
|
|
159
|
-
}
|
|
160
100
|
/** The zod schema of a ref value — used via {@link orRef} so a field never spells the
|
|
161
101
|
* `{ __ref }` shape by hand. `.meta({ ref: true })` marks it as a ref for any consumer (JSON
|
|
162
102
|
* Schema, an authoring UI) — this generic form carries no target kind (use an entity as the field
|
|
@@ -166,9 +106,6 @@ const refSchema = z.object({ __ref: z.string() }).meta({ ref: true });
|
|
|
166
106
|
function orRef(schema) {
|
|
167
107
|
return z.union([schema, refSchema]);
|
|
168
108
|
}
|
|
169
|
-
function isRef(value) {
|
|
170
|
-
return typeof value === "object" && value !== null && "__ref" in value;
|
|
171
|
-
}
|
|
172
109
|
/** Whether a ref is the stored result of `.extend(delta)`. Kept separate from {@link isRef}: every
|
|
173
110
|
* existing ref consumer should continue to see the base pointer, while Config is the place that
|
|
174
111
|
* gives the sibling delta its merge semantics. */
|
|
@@ -238,7 +175,7 @@ function rewriteRefs(value, from, to) {
|
|
|
238
175
|
__ref: to,
|
|
239
176
|
...siblings
|
|
240
177
|
};
|
|
241
|
-
if (value.__ref.startsWith(`${from}
|
|
178
|
+
if (value.__ref.startsWith(`${from}#`)) return {
|
|
242
179
|
__ref: `${to}${value.__ref.slice(from.length)}`,
|
|
243
180
|
...siblings
|
|
244
181
|
};
|
|
@@ -352,7 +289,7 @@ function qualifyRefs({ value, source, owns, namesItAlready }) {
|
|
|
352
289
|
const member = memberOf(node.__ref);
|
|
353
290
|
const rebuilt = ref(kindOf(node), pathOf(node), source).__ref;
|
|
354
291
|
return {
|
|
355
|
-
__ref: member === void 0 ? rebuilt : `${rebuilt}
|
|
292
|
+
__ref: member === void 0 ? rebuilt : `${rebuilt}#${member}`,
|
|
356
293
|
...siblings
|
|
357
294
|
};
|
|
358
295
|
}
|
|
@@ -387,7 +324,7 @@ function rewriteRefSource(value, from, to) {
|
|
|
387
324
|
const member = memberOf(value.__ref);
|
|
388
325
|
const rebuilt = ref(kindOf(value), pathOf(value), to).__ref;
|
|
389
326
|
return {
|
|
390
|
-
__ref: member === void 0 ? rebuilt : `${rebuilt}
|
|
327
|
+
__ref: member === void 0 ? rebuilt : `${rebuilt}#${member}`,
|
|
391
328
|
...siblings
|
|
392
329
|
};
|
|
393
330
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isRef, kindOf, memberOf, pathOf, ref, refSchema } from "./utils/refs.js";
|
|
2
2
|
import { listedIn } from "./utils/enumerated.js";
|
|
3
|
-
import { memberFromLeaf, memberLeaves, stylePropValueFromLeaf, stylePropValueLeaves } from "./projections.js";
|
|
3
|
+
import { memberFromLeaf, memberLeaves, refListOf, stylePropValueFromLeaf, stylePropValueLeaves } from "./projections.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/framework/value-domain.ts
|
|
6
6
|
/**
|
|
@@ -21,13 +21,13 @@ import { z } from "zod";
|
|
|
21
21
|
const DOMAIN = "value";
|
|
22
22
|
/** The one kind whose domain isn't under {@link DOMAIN} — see {@link leavesForRef}. */
|
|
23
23
|
const STYLE_PROPERTY = "style-property";
|
|
24
|
-
/** One of the strings, as a schema — `undefined` when there are none to choose between. */
|
|
25
24
|
/** The accepted values, spelled for a refusal; a long domain is cut so the message stays readable. */
|
|
26
25
|
function spellValues(values) {
|
|
27
26
|
const shown = values.slice(0, 12).map((value) => `\`${value}\``);
|
|
28
27
|
const rest = values.length - shown.length;
|
|
29
28
|
return rest > 0 ? `${shown.join(", ")} and ${rest} more` : shown.join(", ");
|
|
30
29
|
}
|
|
30
|
+
/** One of the strings, as a schema — `undefined` when there are none to choose between. */
|
|
31
31
|
function oneOf(values) {
|
|
32
32
|
return values.length > 0 ? z.enum(values, { error: () => `one of ${spellValues(values)}` }) : void 0;
|
|
33
33
|
}
|
|
@@ -100,7 +100,7 @@ function refForLeaf(domainRef, leaf, config) {
|
|
|
100
100
|
* edit allocates a new config and a new cache with it, the way `bagFor` already keys.
|
|
101
101
|
*/
|
|
102
102
|
const refDomains = /* @__PURE__ */ new WeakMap();
|
|
103
|
-
function refDomainSchema(target, config) {
|
|
103
|
+
function refDomainSchema({ target, config, build = () => buildRefDomainSchema(target, config, new Set([target])) }) {
|
|
104
104
|
let perRef = refDomains.get(config);
|
|
105
105
|
if (!perRef) {
|
|
106
106
|
perRef = /* @__PURE__ */ new Map();
|
|
@@ -108,14 +108,27 @@ function refDomainSchema(target, config) {
|
|
|
108
108
|
}
|
|
109
109
|
const cached = perRef.get(target);
|
|
110
110
|
if (cached) return cached;
|
|
111
|
-
const built =
|
|
111
|
+
const built = build();
|
|
112
112
|
perRef.set(target, built);
|
|
113
113
|
return built;
|
|
114
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* A ref-list domain's schema: each target's own schema, tried in list order, so a leaf binds to the
|
|
117
|
+
* first target holding it and every arm a single ref has (a style property's arbitrary literal, flag
|
|
118
|
+
* boolean and number spelling) holds under a list too. The refusal spells the union of leaves, since
|
|
119
|
+
* zod's own union message names nothing.
|
|
120
|
+
*/
|
|
121
|
+
function buildRefListDomainSchema(targets, config, seen) {
|
|
122
|
+
const leaves = refListLeaves(targets, config, new Set(seen));
|
|
123
|
+
if (leaves === void 0) return z.unknown();
|
|
124
|
+
const arms = targets.map((target) => buildRefDomainSchema(target, config, new Set([...seen, target])));
|
|
125
|
+
return z.union(arms, { error: () => `one of ${spellValues(leaves)}, or a ref to one of those (\`{ "__ref": "<library>/<name>" }\`)` });
|
|
126
|
+
}
|
|
115
127
|
/** A ref domain's schema, built. `seen` already holds `target`. */
|
|
116
128
|
function buildRefDomainSchema(target, config, seen) {
|
|
117
129
|
const leaves = leavesForRef(target, config, seen);
|
|
118
|
-
|
|
130
|
+
if (leaves === void 0) return z.unknown();
|
|
131
|
+
const enumerated = oneOf(leaves);
|
|
119
132
|
if (enumerated === void 0) return z.unknown();
|
|
120
133
|
const property = stylePropertyOf(target, config);
|
|
121
134
|
const also = [];
|
|
@@ -125,12 +138,18 @@ function buildRefDomainSchema(target, config, seen) {
|
|
|
125
138
|
const leaf = enumerated;
|
|
126
139
|
also.push(z.number().transform(String).pipe(leaf));
|
|
127
140
|
}
|
|
141
|
+
const own = config.entityOf(kindOf(target))?.authoredValue?.({
|
|
142
|
+
config,
|
|
143
|
+
target,
|
|
144
|
+
leaves
|
|
145
|
+
});
|
|
146
|
+
if (own) also.push(own);
|
|
128
147
|
return z.union([
|
|
129
148
|
enumerated,
|
|
130
149
|
...also,
|
|
131
150
|
refSchema
|
|
132
151
|
], { error: () => {
|
|
133
|
-
const forms = [`one of ${spellValues(leaves
|
|
152
|
+
const forms = [`one of ${spellValues(leaves)}`];
|
|
134
153
|
if (property?.arbitrary === true) forms.push("a bracketed literal such as `[13px]`");
|
|
135
154
|
if (property !== void 0) forms.push("a number spelling one of those leaves");
|
|
136
155
|
if (isFlag(property)) forms.push("a boolean");
|
|
@@ -151,10 +170,23 @@ function valueSchemaOf(declaration, config, seen = /* @__PURE__ */ new Set()) {
|
|
|
151
170
|
const domain = domainOf(declaration);
|
|
152
171
|
if (isRef(domain)) {
|
|
153
172
|
if (!config || seen.has(domain.__ref)) return z.unknown();
|
|
154
|
-
if (seen.size === 0) return refDomainSchema(
|
|
173
|
+
if (seen.size === 0) return refDomainSchema({
|
|
174
|
+
target: domain.__ref,
|
|
175
|
+
config
|
|
176
|
+
});
|
|
155
177
|
seen.add(domain.__ref);
|
|
156
178
|
return buildRefDomainSchema(domain.__ref, config, seen);
|
|
157
179
|
}
|
|
180
|
+
const targets = refListOf(domain);
|
|
181
|
+
if (targets) {
|
|
182
|
+
if (!config) return z.unknown();
|
|
183
|
+
if (seen.size === 0) return refDomainSchema({
|
|
184
|
+
target: targets.join("|"),
|
|
185
|
+
config,
|
|
186
|
+
build: () => buildRefListDomainSchema(targets, config, /* @__PURE__ */ new Set())
|
|
187
|
+
});
|
|
188
|
+
return buildRefListDomainSchema(targets, config, seen);
|
|
189
|
+
}
|
|
158
190
|
const listed = listedIn(domain);
|
|
159
191
|
if (listed) return oneOf(listed) ?? z.unknown();
|
|
160
192
|
if (typeof domain === "boolean") return z.boolean();
|
|
@@ -177,8 +209,21 @@ function valueLeavesOf(declaration, config, seen = /* @__PURE__ */ new Set()) {
|
|
|
177
209
|
seen.add(domain.__ref);
|
|
178
210
|
return leavesForRef(domain.__ref, config, seen);
|
|
179
211
|
}
|
|
212
|
+
const targets = refListOf(domain);
|
|
213
|
+
if (targets) return config ? refListLeaves(targets, config, seen) : void 0;
|
|
180
214
|
return listedIn(domain);
|
|
181
215
|
}
|
|
216
|
+
/** The union of what each ref in a list offers, in list order and deduped; `undefined` when none
|
|
217
|
+
* offers anything. */
|
|
218
|
+
function refListLeaves(targets, config, seen) {
|
|
219
|
+
const leaves = /* @__PURE__ */ new Set();
|
|
220
|
+
for (const target of targets) {
|
|
221
|
+
if (seen.has(target)) continue;
|
|
222
|
+
seen.add(target);
|
|
223
|
+
for (const leaf of leavesForRef(target, config, seen) ?? []) leaves.add(leaf);
|
|
224
|
+
}
|
|
225
|
+
return leaves.size > 0 ? [...leaves] : void 0;
|
|
226
|
+
}
|
|
182
227
|
/**
|
|
183
228
|
* What a ref offers — {@link memberLeaves}, which is the one expansion, plus the ITEM case it can't
|
|
184
229
|
* answer alone: an item whose own declaration carries a further domain (a style prop pointing at a
|
|
@@ -204,4 +249,4 @@ function leavesForRef(ref, config, seen) {
|
|
|
204
249
|
return leaves.length > 0 ? leaves : void 0;
|
|
205
250
|
}
|
|
206
251
|
//#endregion
|
|
207
|
-
export { valueLeavesOf, valueSchemaOf };
|
|
252
|
+
export { spellValues, valueLeavesOf, valueSchemaOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { AttachedSources, Config, CssGrammar, Edition, HydrationOptions, ListOpt
|
|
|
26
26
|
import { ANATOMY_MARKER, ComponentSpec, ComponentSpecs, ExpandOptions, ExpansionResult, RenderElement, RenderSpec, SlotTarget, VisibilityOperator, VisibilityTerm, anatomyElementComponent, anatomyTextProp, boundElementType, componentSpec, deriveSpec, entryKeyOf, expandComponent, expandSpec, instanceSpec, layerTextProp, liveStateProps, previewSpec, propInto, propsIntoLayer, readStatePointer, resolveVisibility, routeOf, slotTargetsOf, specWithResolvedVisibility, statePointerProp, valueForwardsOf, visibilityStateProps, visibilityTerms, withoutTruthyTerm, wrappedElementKey } from "./framework/render-spec.js";
|
|
27
27
|
import { RefMember, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, StylePropLeaf, StylePropValue, StylePropValueCtx, StylePropValueKind, StyleProperty, classifyStylePropValue, cssPropertyNames, leavesOfStylePropValue, stylePropValueFormOf, stylePropValueSchema, toCssPropertyName } from "./entities/system/StyleProperty.js";
|
|
28
28
|
import { StoredPreviewCondition, UNCONDITIONAL_PREVIEW_KEY, storedPreview, unconditionalPreviewProps } from "./framework/preview-store.js";
|
|
29
|
-
import { PreviewMatrix, PropDeclaration, StylePropEntry, StylePropertyItem, authoredBag, authoredValue, className, cssPropValue, cssVar, cssVarRef, declaredPropDefaults, declaredPropRouting, keyedPreviewConditions, memberFromLeaf, memberLeaves, negatedCssValue, opacityPercentage, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, propOwner, propValueDomain, propValueFromAxis, renderStyleValue, resolveComponentProps, resolveFieldValue, resolveTokenValue, resolveTokenValueUnder, routedBag, sourceVarPrefix, styleAliasesOf, styleDeclarations, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, validateComponentProps } from "./framework/projections.js";
|
|
29
|
+
import { PreviewMatrix, PropDeclaration, StylePropEntry, StylePropertyItem, authoredBag, authoredValue, className, cssPropValue, cssVar, cssVarRef, declaredPropDefaults, declaredPropRouting, glyphComponentOf, glyphLibrariesOf, glyphPropsOf, keyedPreviewConditions, memberFromLeaf, memberLeaves, negatedCssValue, opacityPercentage, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, propOwner, propValueDomain, propValueFromAxis, refListOf, renderStyleValue, resolveComponentProps, resolveFieldValue, resolveTokenValue, resolveTokenValueUnder, routedBag, sourceVarPrefix, styleAliasesOf, styleDeclarations, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, validateComponentProps } from "./framework/projections.js";
|
|
30
30
|
import { PreviewElement, graftPreviewElements, isPreviewElement } from "./spec/preview-elements.js";
|
|
31
31
|
import { Slot, SlotCell } from "./spec/slot.js";
|
|
32
32
|
import { ForwardClaims, SurfaceCompositeProp, SurfaceProp, SurfacePropCondition, SurfacePropKind, SurfaceScalarProp, SurfaceSlotProp, SurfaceStylePropertyProp, SurfaceVariantProp, forwardClaims, forwardedLayers, intoName, propApplies, propRegistryRef, routedProp, routedPropIn, routesContent, surfaceProp, surfaceProps } from "./framework/prop-surface.js";
|
|
@@ -48,7 +48,7 @@ import { ColorValue, DerivedColor, Gradient, alpha, darken, isDerivedColor, isGr
|
|
|
48
48
|
import { NativeToken, nativeTokenValue } from "./entities/native/NativeToken.js";
|
|
49
49
|
import { CANVAS_ROLES, CanvasRole, CanvasRoleName } from "./entities/system/CanvasRole.js";
|
|
50
50
|
import { StyleValue } from "./entities/system/style-bag.js";
|
|
51
|
-
import { AsInput, AuthoredComponent, AuthoredProp, ComponentBuilder, ComponentPropsOf, LayerElement, LayerMap, PropCondition, PropDecl, PropMap, RegisteredMembers, RenderArgs, StyleRuleInput, defineComponent } from "./entities/system/defineComponent.js";
|
|
51
|
+
import { AsInput, AuthoredComponent, AuthoredProp, ComponentBuilder, ComponentPropsOf, GlyphComponent, LayerElement, LayerMap, PropCondition, PropDecl, PropMap, RegisteredMembers, RenderArgs, StyleRuleInput, defineComponent } from "./entities/system/defineComponent.js";
|
|
52
52
|
import { AuthoredPropBody, Component, ComponentBody, ComponentElementBody, ComponentPropBody, ComponentReference, ComponentStyleBody, ElementVisibility, ElementVisibilityInput, ExtendedComponentRef, ProjectedVisibility, VariantValueBody, VariantValues, blankComponentBody, canonicalWhen, forwardedNames, layerRef, ownValues, ownsItsValues, valueRef } from "./entities/system/Component.js";
|
|
53
53
|
import { Composite } from "./entities/system/Composite.js";
|
|
54
54
|
import { ComponentModuleSource, ComponentRegistryImport, ComponentRegistryImportBinding, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentRegistryImports } from "./entities/system/component-module.js";
|
|
@@ -59,9 +59,9 @@ import { Font, FontFile, fontFamilyStack } from "./entities/system/Font.js";
|
|
|
59
59
|
import { GlobalStyle, globalStyleName } from "./entities/system/GlobalStyle.js";
|
|
60
60
|
import { Guidance, GuidanceScope, GuidanceSegment, guidanceReaches, guidanceScopeOf, guidanceTextOf } from "./entities/system/Guidance.js";
|
|
61
61
|
import { GuidanceStyle, GuidanceStyleBody } from "./entities/system/GuidanceStyle.js";
|
|
62
|
-
import { Icon } from "./entities/system/Icon.js";
|
|
63
|
-
import { IconLibrary,
|
|
64
|
-
import { ICON_METADATA_FORMATS, IconMemberMetadata, IconMetadataAdapter, IconMetadataDeclaration, IconMetadataFile, IconMetadataFormat, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat } from "./entities/system/icon-metadata.js";
|
|
62
|
+
import { Icon, IconVariantAs, iconVariantAs } from "./entities/system/Icon.js";
|
|
63
|
+
import { IconLibrary, glyphExportNames, glyphType, iconCategories, iconLibraries, iconLibrary, isDeclaredElementProp, librariesBoundBy, libraryHolding, memberVariantOptions, placedGlyphElement, resolveIconLibraries } from "./entities/system/icon-library.js";
|
|
64
|
+
import { ICON_METADATA_FORMATS, IconMemberMetadata, IconMetadataAdapter, IconMetadataDeclaration, IconMetadataFile, IconMetadataFormat, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, tablerExportName } from "./entities/system/icon-metadata.js";
|
|
65
65
|
import { MODIFIER_CATEGORIES, Modifier, ModifierCategory, ModifierGroupMeta, WEB_ACTIVATIONS, WebActivation, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf } from "./entities/system/Modifier.js";
|
|
66
66
|
import { Motion } from "./entities/system/Motion.js";
|
|
67
67
|
import { Operation } from "./entities/system/Operation.js";
|
|
@@ -94,4 +94,4 @@ import { SpecNode, validateSpec } from "./framework/validate-spec.js";
|
|
|
94
94
|
import { valueLeavesOf, valueSchemaOf } from "./framework/value-domain.js";
|
|
95
95
|
import { views } from "./framework/views-facade.js";
|
|
96
96
|
import { RN_STYLE_KEYS } from "./react-native/style-keys.generated.js";
|
|
97
|
-
export { AI_LANES, ANATOMY_MARKER, AiChat, AiFlow, type AiFlowOrigin, AiGeneration, type AiLane, AiMessage, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, type AnySystemConfig, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredProp, type AuthoredPropBody, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, CANVAS_ROLES, CONFIG_OPERATION_KIND, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, Canvas, CanvasConfig, CanvasRole, type CanvasRoleName, CanvasSection, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type ChildrenPolicy, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentContractOf, type ComponentElementBody, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentStyleBody, Composite, type ComputedFields, type ComputedInput, type ComputedMap, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DiffOptions, Documentation, DocumentationLibrary, type DraftSource, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type Edition, type ElementVisibility, type ElementVisibilityInput, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, Font, FontFile, type ForwardClaims, GROUP, GUIDANCE_LANES, GlobalStyle, type GoverningCondition, type Gradient, type GroupBody, Guidance, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IdentifiedOp, type InferredRename, type Instance, type InstanceSlot, type InstanceSpec, type ItemOf, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, LinkedSystem, type LinkedSystemResolver, type LinkedSystemState, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierGroupMeta, Motion, NATIVE_ACTIVATIONS, type NativeActivation, NativeModifier, NativeSettings, NativeStyleProperty, NativeToken, Node, type OpHandler, type OpInput, Operation, type OverlayVerb, type OverrideCondition, type OwnedRecords, PLAYGROUND_DEFAULTS, Package, Page, type Patch, type PathOf, type PinDirective, type PinOptions, type PinOptionsField, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropMap, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredEntities, type RegisteredMembers, type RegisteredModifiers, type RegisteredPaths, type RegisteredStyleProps, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type ResolveValueTypeInput, type ResolvedSource, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, STYLE_PROPERTIES, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredPreviewCondition, type StylePropEntry, type StylePropLeaf, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyItem, type StyleRuleInput, type StyleValue, type SubEntityClass, type SubPatch, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemConfig, SystemSection, SystemSource, Token, type TokenBinding, type TokenBody, type TokenMatch, Tool, type TraverseOptions, type TreeNode, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueType, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, addressOf, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, assetType, authoredBag, authoredValue, authoringSignatures, baseOf, blankComponentBody, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, canonicalWhen, changeOf, changeValueAt, changesOf, childrenPolicy, className, classPrefixOf, classifyOverlay, classifyStylePropValue, collectRefs, componentClassBase, componentCompositeClasses, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentRegistryImports, componentRuleClasses, componentSpec, createCanvasConfig, createSliceMemo, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, editOp, entityRefOf, entryKeyOf, expandComponent, expandSpec, fieldKeys, fontFamilyStack, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forwardClaims, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, inferredRenames, inputOf, instanceHolding, instanceSpec, intoName, isAuthored, isBinaryAsset, isConfigFormatError, isConfigRejection, isCssProperty, isDeclaredElementProp, isDerivedColor, isEntityPath, isExtendedRef, isForceModeProp, isGradient, isGroupBody, isLinkSlug, isMintedRow, isNativeConfig, isPlainObject, isPreviewElement, isRef, isSystemConfig, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, lighten, linearGradient, liveStateProps, matchEntities, matchTokens, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, motionClassName, namedFields, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, opOf, opVerb, opacityPercentage, opsForKind, orRef, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, ownValues, ownerOf, ownsItsValues, packageKey, packageName, partsOf, pathDelta, pathOf, pathSegments, planBreak, planCopy, planLink, planUnlink, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, redundantQualifiers, ref, refGraphOf, refLeaf, refSchema, registerSchemaMigrations, renderDerivedColor, renderGradient, renderSignature, renderStyleValue, renderedElement, renderedSignatureOf, renderedTarget, resolutionSchema, resolveComponentProps, resolveFieldValue, resolveIconLibrary, resolveInputDir, resolveOutDir, resolveRegistryDir, resolveTokenValue, resolveTokenValueUnder, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rnStyleKey, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routesContent, ruleApplies, ruleCondition, runChangeHooks, schemaVersionOf, searchEntities, searchTokens, setAtPath, signatureOf, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specWithResolvedVisibility, splitRef, splitStyleProps, stamp, statePointerProp, storedPreview, styleAliasesOf, styleDeclarations, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, toCssPropertyName, tokenBinding, touchedFields, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, withoutTruthyTerm, wrappedElementKey };
|
|
97
|
+
export { AI_LANES, ANATOMY_MARKER, AiChat, AiFlow, type AiFlowOrigin, AiGeneration, type AiLane, AiMessage, type AiMultiAgentMode, type AnatomyIssue, type AnatomyIssueKind, type AnatomyReport, type AnySystemConfig, type AsInput, type AttachedSources, type Authored, type AuthoredComponent, type AuthoredProp, type AuthoredPropBody, type AuthoringSignatureOptions, BUILD_DEFAULTS, type BreakOutcome, type BreakPlan, type BreakPlanInput, type BreakPlanRow, type BreakReach, BuildSection, CANVAS_ROLES, CONFIG_OPERATION_KIND, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, Canvas, CanvasConfig, CanvasRole, type CanvasRoleName, CanvasSection, type Cell, type CellSlot, type Change, type ChangeHook, type ChangeTarget, type ChildrenPolicy, type Collection, type ColorValue, Component, type ComponentBody, type ComponentBuilder, type ComponentContractOf, type ComponentElementBody, type ComponentModuleSource, type ComponentPropBody, type ComponentPropsOf, type ComponentReference, type ComponentRegistryImport, type ComponentRegistryImportBinding, type ComponentRuleClass, type ComponentSpec, type ComponentSpecs, type ComponentStyleBody, Composite, type ComputedFields, type ComputedInput, type ComputedMap, Config, type ConfigClass, type ConfigEdit, ConfigFormatError, type ConfigInstance, type ConfigIssue, type ConfigIssueCode, type ConfigKind, type ConfigOp, ConfigRejection, ConfigSession, type ConfigSessionOptions, type ConfigSink, type ConfigSource, type CopyPlan, type CopyPlanInput, type CopyPlanRow, type CreateInput, type CssGrammar, type CssPrefix, type CssPropertyEntry, CssSection, DERIVED_MUTATIONS, type DanglingDirective, type DanglingLocalRef, type DanglingRef, type DeclaredRuntimeModule, type DeletePlan, type DeriveMembers, type DerivedColor, type DerivedEntityClass, type DerivedOp, Device, type DiffOptions, Documentation, DocumentationLibrary, type DraftSource, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, type Edition, type ElementVisibility, type ElementVisibilityInput, Entity, type EntityAddress, type EntityChange, type EntityClass, type EntityKind, type EntityMap, type ExpandOptions, type ExpansionResult, type ExtendedComponentRef, type ExtendedRef, type FieldsSchema, File, Font, FontFile, type ForwardClaims, GROUP, GUIDANCE_LANES, GlobalStyle, type GlyphComponent, type GoverningCondition, type Gradient, type GroupBody, Guidance, type GuidanceLane, type GuidanceScope, type GuidanceSegment, GuidanceStyle, type GuidanceStyleBody, type HasSnapshot, type HydrationOptions, ICON_METADATA_FORMATS, Icon, type IconLibrary, type IconMemberMetadata, type IconMetadataAdapter, type IconMetadataDeclaration, type IconMetadataFile, type IconMetadataFormat, type IconVariantAs, type IdentifiedOp, type InferredRename, type Instance, type InstanceSlot, type InstanceSpec, type ItemOf, type KindSignature, type KindSlice, LINK_SLUG, LINK_SLUG_MESSAGE, type LayerElement, type LayerMap, type LayerStyleOptions, type LeafAddress, type LinkArrival, type LinkDeclaration, type LinkPaths, type LinkPlan, type LinkPlanInput, LinkedSystem, type LinkedSystemResolver, type LinkedSystemState, type ListOptions, type LiveConfig, type LocalOverlay, MINTED, MODIFIER_CATEGORIES, type MisdeclaredOverlay, Modifier, type ModifierCategory, type ModifierGroupMeta, Motion, NATIVE_ACTIVATIONS, type NativeActivation, NativeModifier, NativeSettings, NativeStyleProperty, NativeToken, Node, type OpHandler, type OpInput, Operation, type OverlayVerb, type OverrideCondition, type OwnedRecords, PLAYGROUND_DEFAULTS, Package, Page, type Patch, type PathOf, type PinDirective, type PinOptions, type PinOptionsField, type Plan, type PlanImpact, type PlanOp, PlaygroundSection, type PreviewElement, type PreviewMatrix, type ProjectedVisibility, type PropCondition, type PropDecl, type PropDeclaration, type PropMap, RN_STYLE_KEYS, ReactNativeSystem, type ReactNativeSystemConfig, type RebaseConflict, type RebaseOrigin, type RebaseResult, type RecordedSource, type RedundantQualifier, type Ref, type RefGraph, type RefGraphEntry, type RefIndex, type RefIndexChange, type RefMember, type RefTarget, type RegisteredComponentContracts, type RegisteredEntities, type RegisteredMembers, type RegisteredModifiers, type RegisteredPaths, type RegisteredStyleProps, type RenamePlan, type RenderArgs, type RenderElement, type RenderSpec, type RenderedNode, type RenderedTarget, type ResolveValueTypeInput, type ResolvedSource, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, STYLE_PROPERTIES, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, type SchemaEntry, type SchemaMigration, SchemaVersionTooNew, type SerializedConfig, type SerializedSourceAnswer, Settings, type SignatureOptions, type SkippedOp, type Slot, type SlotCell, type SlotTarget, Snapshot, type Source, type SourceAnswer, type SourceChange, type SourceMap, type SourceResolution, type SourceResolutionSchemas, type SourceResolver, type SourceRowState, type SourceState, type SourceUnavailable, type SourcesBySlug, type SourcesOf, type SpecNode, type SplitStyleProps, type StampedPatch, type StoredConfig, type StoredPreviewCondition, type StylePropEntry, type StylePropLeaf, type StylePropValue, type StylePropValueCtx, type StylePropValueKind, StyleProperty, type StylePropertyItem, type StyleRuleInput, type StyleValue, type SubEntityClass, type SubPatch, type SurfaceCompositeProp, type SurfaceProp, type SurfacePropCondition, type SurfacePropKind, type SurfaceScalarProp, type SurfaceSlotProp, type SurfaceStylePropertyProp, type SurfaceVariantProp, System, type SystemConfig, SystemSection, SystemSource, Token, type TokenBinding, type TokenBody, type TokenMatch, Tool, type TraverseOptions, type TreeNode, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, type UnadoptedDirective, type UnknownStyleLeaf, type UnlinkPlan, type UnlinkPlanInput, type UnreadableBorrow, type UnstatableCondition, type UpgradedDraft, type UserSchemas, VOID_ELEMENTS, type ValueOf, type ValueType, type VariantValueBody, type VariantValues, type VisibilityOperator, type VisibilityTerm, WEB_ACTIVATIONS, type WalkOptions, type WebActivation, addressOf, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, authoredBag, authoredValue, authoringSignatures, baseOf, blankComponentBody, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, canonicalWhen, changeOf, changeValueAt, changesOf, childrenPolicy, className, classPrefixOf, classifyOverlay, classifyStylePropValue, collectRefs, componentClassBase, componentCompositeClasses, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentRegistryImports, componentRuleClasses, componentSpec, createCanvasConfig, createSliceMemo, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, editOp, entityRefOf, entryKeyOf, expandComponent, expandSpec, fieldKeys, fontFamilyStack, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forwardClaims, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphLibrariesOf, glyphPropsOf, glyphType, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconVariantAs, inferredRenames, inputOf, instanceHolding, instanceSpec, intoName, isAuthored, isBinaryAsset, isConfigFormatError, isConfigRejection, isCssProperty, isDeclaredElementProp, isDerivedColor, isEntityPath, isExtendedRef, isForceModeProp, isGradient, isGroupBody, isLinkSlug, isMintedRow, isNativeConfig, isPlainObject, isPreviewElement, isRef, isSystemConfig, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, liveStateProps, matchEntities, matchTokens, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, motionClassName, namedFields, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, opOf, opVerb, opacityPercentage, opsForKind, orRef, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, ownValues, ownerOf, ownsItsValues, packageKey, packageName, partsOf, pathDelta, pathOf, pathSegments, placedGlyphElement, planBreak, planCopy, planLink, planUnlink, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, redundantQualifiers, ref, refGraphOf, refLeaf, refListOf, refSchema, registerSchemaMigrations, renderDerivedColor, renderGradient, renderSignature, renderStyleValue, renderedElement, renderedSignatureOf, renderedTarget, resolutionSchema, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveOutDir, resolveRegistryDir, resolveTokenValue, resolveTokenValueUnder, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rnStyleKey, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routesContent, ruleApplies, ruleCondition, runChangeHooks, schemaVersionOf, searchEntities, searchTokens, setAtPath, signatureOf, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specWithResolvedVisibility, splitRef, splitStyleProps, stamp, statePointerProp, storedPreview, styleAliasesOf, styleDeclarations, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, toCssPropertyName, tokenBinding, touchedFields, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, withoutTruthyTerm, wrappedElementKey };
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,7 @@ import { BuildSection, CSS_DEFAULTS, CssSection, PLAYGROUND_DEFAULTS, Playground
|
|
|
22
22
|
import { STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, StyleProperty, classifyStylePropValue, cssPropertyNames, leavesOfStylePropValue, stylePropValueFormOf, stylePropValueSchema, toCssPropertyName } from "./entities/system/StyleProperty.js";
|
|
23
23
|
import { createSliceMemo } from "./framework/memo.js";
|
|
24
24
|
import { UNCONDITIONAL_PREVIEW_KEY, storedPreview, unconditionalPreviewProps } from "./framework/preview-store.js";
|
|
25
|
-
import { authoredBag, authoredValue, className, cssPropValue, cssVar, cssVarRef, declaredPropDefaults, declaredPropRouting, keyedPreviewConditions, memberFromLeaf, memberLeaves, negatedCssValue, opacityPercentage, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, propOwner, propValueDomain, propValueFromAxis, renderStyleValue, resolveComponentProps, resolveFieldValue, resolveTokenValue, resolveTokenValueUnder, routedBag, sourceVarPrefix, styleAliasesOf, styleDeclarations, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, validateComponentProps } from "./framework/projections.js";
|
|
25
|
+
import { authoredBag, authoredValue, className, cssPropValue, cssVar, cssVarRef, declaredPropDefaults, declaredPropRouting, glyphComponentOf, glyphLibrariesOf, glyphPropsOf, keyedPreviewConditions, memberFromLeaf, memberLeaves, negatedCssValue, opacityPercentage, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, propOwner, propValueDomain, propValueFromAxis, refListOf, renderStyleValue, resolveComponentProps, resolveFieldValue, resolveTokenValue, resolveTokenValueUnder, routedBag, sourceVarPrefix, styleAliasesOf, styleDeclarations, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, validateComponentProps } from "./framework/projections.js";
|
|
26
26
|
import { forwardClaims, forwardedLayers, intoName, propApplies, propRegistryRef, routedProp, routedPropIn, routesContent, surfaceProp, surfaceProps } from "./framework/prop-surface.js";
|
|
27
27
|
import { graftPreviewElements, isPreviewElement } from "./spec/preview-elements.js";
|
|
28
28
|
import { layerStyles, ruleApplies } from "./framework/layer-styles.js";
|
|
@@ -33,8 +33,8 @@ import { Package } from "./entities/system/Package.js";
|
|
|
33
33
|
import { File, SCRIPT_EXTENSIONS, isBinaryAsset } from "./entities/system/File.js";
|
|
34
34
|
import { Component, blankComponentBody, canonicalWhen, forwardedNames, layerRef, ownValues, ownsItsValues, valueRef } from "./entities/system/Component.js";
|
|
35
35
|
import { Device } from "./entities/system/Device.js";
|
|
36
|
-
import { ICON_METADATA_FORMATS, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat } from "./entities/system/icon-metadata.js";
|
|
37
|
-
import { Icon } from "./entities/system/Icon.js";
|
|
36
|
+
import { ICON_METADATA_FORMATS, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, tablerExportName } from "./entities/system/icon-metadata.js";
|
|
37
|
+
import { Icon, iconVariantAs } from "./entities/system/Icon.js";
|
|
38
38
|
import { addressOf, editOp, inputOf, opOf, opVerb } from "./framework/config-op.js";
|
|
39
39
|
import { renderSignature, signatureOf } from "./framework/signature.js";
|
|
40
40
|
import { authoringSignatures } from "./framework/config-ops.js";
|
|
@@ -75,7 +75,7 @@ import { NativeToken, nativeTokenValue } from "./entities/native/NativeToken.js"
|
|
|
75
75
|
import { ReactNativeSystem } from "./configs/react-native-system.js";
|
|
76
76
|
import { resolveValueType, sniffValueType } from "./css/value-type.js";
|
|
77
77
|
import { defineComponent } from "./entities/system/defineComponent.js";
|
|
78
|
-
import {
|
|
78
|
+
import { glyphExportNames, glyphType, iconCategories, iconLibraries, iconLibrary, isDeclaredElementProp, librariesBoundBy, libraryHolding, memberVariantOptions, placedGlyphElement, resolveIconLibraries } from "./entities/system/icon-library.js";
|
|
79
79
|
import { declaredRuntimeModules } from "./entities/system/runtime-modules.js";
|
|
80
80
|
import { matchEntities, normalizeName, searchEntities } from "./framework/entity-search.js";
|
|
81
81
|
import { matchTokens, searchTokens, tokenBinding } from "./entities/system/token-index.js";
|
|
@@ -88,4 +88,4 @@ import { inferredRenames } from "./framework/rename-inference.js";
|
|
|
88
88
|
import { ConfigSession, memoryConfigSource } from "./framework/session.js";
|
|
89
89
|
import { EXPORT_MEMBER, packageKey, packageName } from "./framework/utils/package-path.js";
|
|
90
90
|
import { validateSpec } from "./framework/validate-spec.js";
|
|
91
|
-
export { AI_LANES, ANATOMY_MARKER, AiChat, AiFlow, AiGeneration, AiMessage, BUILD_DEFAULTS, BuildSection, CANVAS_ROLES, CONFIG_OPERATION_KIND, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, Canvas, CanvasConfig, CanvasRole, CanvasSection, Component, Composite, Config, ConfigFormatError, ConfigRejection, ConfigSession, CssSection, DERIVED_MUTATIONS, Device, Documentation, DocumentationLibrary, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, Entity, File, Font, FontFile, GROUP, GUIDANCE_LANES, GlobalStyle, Guidance, GuidanceStyle, ICON_METADATA_FORMATS, Icon, LINK_SLUG, LINK_SLUG_MESSAGE, LinkedSystem, MINTED, MODIFIER_CATEGORIES, Modifier, Motion, NATIVE_ACTIVATIONS, NativeModifier, NativeSettings, NativeStyleProperty, NativeToken, Node, Operation, PLAYGROUND_DEFAULTS, Package, Page, PlaygroundSection, RN_STYLE_KEYS, ReactNativeSystem, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, STYLE_PROPERTIES, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, SchemaVersionTooNew, Settings, Snapshot, StyleProperty, System, SystemSection, SystemSource, Token, Tool, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, VOID_ELEMENTS, WEB_ACTIVATIONS, addressOf, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta,
|
|
91
|
+
export { AI_LANES, ANATOMY_MARKER, AiChat, AiFlow, AiGeneration, AiMessage, BUILD_DEFAULTS, BuildSection, CANVAS_ROLES, CONFIG_OPERATION_KIND, CSS_DEFAULTS, CSS_PROPERTY_NAMES, CSS_WIDE_KEYWORDS, CURRENT_SCHEMA_VERSION, Canvas, CanvasConfig, CanvasRole, CanvasSection, Component, Composite, Config, ConfigFormatError, ConfigRejection, ConfigSession, CssSection, DERIVED_MUTATIONS, Device, Documentation, DocumentationLibrary, ENTITY_PATH_MESSAGE, EXPORT_MEMBER, Entity, File, Font, FontFile, GROUP, GUIDANCE_LANES, GlobalStyle, Guidance, GuidanceStyle, ICON_METADATA_FORMATS, Icon, LINK_SLUG, LINK_SLUG_MESSAGE, LinkedSystem, MINTED, MODIFIER_CATEGORIES, Modifier, Motion, NATIVE_ACTIVATIONS, NativeModifier, NativeSettings, NativeStyleProperty, NativeToken, Node, Operation, PLAYGROUND_DEFAULTS, Package, Page, PlaygroundSection, RN_STYLE_KEYS, ReactNativeSystem, SCRIPT_EXTENSIONS, SERIALIZED_CONFIG_VERSION, SIZE_TOLERANCE_PX, STYLE_PROPERTIES, STYLE_PROP_VALUE_FORMS, STYLE_PROP_VALUE_LEAVES, SchemaVersionTooNew, Settings, Snapshot, StyleProperty, System, SystemSection, SystemSource, Token, Tool, UNCONDITIONAL_PREVIEW_KEY, UNREACHABLE, VOID_ELEMENTS, WEB_ACTIVATIONS, addressOf, alpha, anatomyElementComponent, anatomyIssueKey, anatomyTextProp, applyPathDelta, authoredBag, authoredValue, authoringSignatures, baseOf, blankComponentBody, borrowedGroup, borrowedItem, boundElementType, brandGroup, buildRefGraph, buildRefIndex, canonicalWhen, changeOf, changeValueAt, changesOf, childrenPolicy, className, classPrefixOf, classifyOverlay, classifyStylePropValue, collectRefs, componentClassBase, componentCompositeClasses, componentLayerClass, componentModuleFilePaths, componentModuleKey, componentModuleSource, componentMotionClasses, componentPropClasses, componentRegistryImports, componentRuleClasses, componentSpec, createCanvasConfig, createSliceMemo, cssPrefixes, cssPropValue, cssProperty, cssPropertyNames, cssValueIssue, cssVar, cssVarRef, danglingDirectives, danglingLocalRefs, danglingSourcedRefs, darken, declaredField, declaredPropDefaults, declaredPropRouting, declaredRuntimeModules, defineComponent, defineConfig, defineDerivedEntity, defineEntity, defineOverride, defineSubEntity, deriveCreateSchema, deriveSpec, deriveUpdateSchema, describeBody, describePatch, detectedWireVersion, diffRendered, editOp, entityRefOf, entryKeyOf, expandComponent, expandSpec, fieldKeys, fontFamilyStack, forceModeAttribute, forceModeAttributeOf, forceModeProp, forceModePropGroup, forceModePropValue, forceModeProps, forceStateAttribute, forwardClaims, forwardedLayers, forwardedNames, forwardsOf, globalStyleName, glyphComponentOf, glyphExportNames, glyphLibrariesOf, glyphPropsOf, glyphType, graftPreviewElements, guidanceReaches, guidanceScopeOf, guidanceTextOf, iconCategories, iconLibraries, iconLibrary, iconMemberMetadata, iconMetadata, iconMetadataDeclaration, iconMetadataFile, iconMetadataFileJsonSchema, iconMetadataFormat, iconVariantAs, inferredRenames, inputOf, instanceHolding, instanceSpec, intoName, isAuthored, isBinaryAsset, isConfigFormatError, isConfigRejection, isCssProperty, isDeclaredElementProp, isDerivedColor, isEntityPath, isExtendedRef, isForceModeProp, isGradient, isGroupBody, isLinkSlug, isMintedRow, isNativeConfig, isPlainObject, isPreviewElement, isRef, isSystemConfig, kebabComponent, keyedPreviewConditions, kindOf, kindsOf, layerRef, layerRoutedProps, layerStyles, layerTextProp, leafAddresses, leafVerb, leavesOfStylePropValue, librariesBoundBy, libraryHolding, lighten, linearGradient, liveStateProps, matchEntities, matchTokens, memberFromLeaf, memberLeaves, memberOf, memberRef, memberVariantOptions, memoryConfigSource, misdeclaredOverlays, mix, modeAxes, modifierAxes, modifierAxis, modifierCategory, modifierGroupFields, modifierInvariants, modifierLeaf, modifierUtilitiesUsed, motionClassName, namedFields, nativeTokenValue, negatedCssValue, normalizeName, normalizeStyleValue, opOf, opVerb, opacityPercentage, opsForKind, orRef, overlayVerb, overrideCondition, overrideKey, overrideKeyModifiers, overrideModifiers, ownValues, ownerOf, ownsItsValues, packageKey, packageName, partsOf, pathDelta, pathOf, pathSegments, placedGlyphElement, planBreak, planCopy, planLink, planUnlink, previewConditionalProps, previewConditions, previewDefaults, previewMatrix, previewSpec, propApplies, propInto, propOwner, propRegistryRef, propValueDomain, propValueFromAxis, propsIntoLayer, readStatePointer, redundantQualifiers, ref, refGraphOf, refLeaf, refListOf, refSchema, registerSchemaMigrations, renderDerivedColor, renderGradient, renderSignature, renderStyleValue, renderedElement, renderedSignatureOf, renderedTarget, resolutionSchema, resolveComponentProps, resolveFieldValue, resolveIconLibraries, resolveInputDir, resolveOutDir, resolveRegistryDir, resolveTokenValue, resolveTokenValueUnder, resolveValueType, resolveVisibility, resolvedSource, rewriteRefNamespace, rewriteRefSource, rewriteRefs, rnStyleKey, rootLayerOf, routeOf, routedBag, routedProp, routedPropIn, routesContent, ruleApplies, ruleCondition, runChangeHooks, schemaVersionOf, searchEntities, searchTokens, setAtPath, signatureOf, slotTargetsOf, snapshotHtml, sniffValueType, sourceEntries, sourceOf, sourceOfGroup, sourceOfItem, sourceRowStates, sourceSlugFor, sourceUnavailable, sourceUnreachable, sourceVarPrefix, specWithResolvedVisibility, splitRef, splitStyleProps, stamp, statePointerProp, storedPreview, styleAliasesOf, styleDeclarations, stylePropClassBase, stylePropClassName, stylePropClasses, stylePropEntries, stylePropLeafForToken, stylePropNegates, stylePropTokenGroup, stylePropTokenPath, stylePropTokenValues, stylePropValueFormOf, stylePropValueFromLeaf, stylePropValueLeaves, stylePropValueSchema, stylePropValues, stylePropertiesWriting, stylePropertyAccepts, stylePropertyFor, stylePropertyPathFor, styleRuleMotionClasses, suggestLinkSlug, summarizeChanges, surfaceProp, surfaceProps, tablerExportName, toCssPropertyName, tokenBinding, touchedFields, unadoptedDirectives, unconditionalPreviewProps, unknownStyleLeaves, unreadableBorrows, unstatableConditions, updateRefIndex, upgradeDraftEntries, upgradePatch, upgradeSerializedConfig, validateComponentProps, validateSpec, valueAt, valueForwardsOf, valueLeavesOf, valueRef, valueSchemaOf, varPrefixOf, views, visibilityStateProps, visibilityTerms, withoutTruthyTerm, wrappedElementKey };
|