@yahoo/uds-create-config 4.5.2 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/CanvasConfig.d.ts +900 -80
- package/dist/configs/react-native-system.d.ts +603 -55
- package/dist/configs/system.d.ts +603 -55
- package/dist/configs/system.js +7 -1
- package/dist/entities/system/Component.d.ts +480 -39
- package/dist/entities/system/Component.js +264 -93
- package/dist/entities/system/File.d.ts +1 -1
- package/dist/entities/system/LinkedSystem.d.ts +2 -2
- package/dist/entities/system/Operation.d.ts +1 -1
- package/dist/entities/system/StyleProperty.d.ts +8 -0
- package/dist/entities/system/StyleProperty.js +12 -1
- package/dist/entities/system/Tool.d.ts +1 -1
- package/dist/entities/system/component-module.js +1 -1
- package/dist/entities/system/defineComponent.d.ts +45 -7
- package/dist/entities/system/defineComponent.js +52 -25
- package/dist/framework/Config.d.ts +8 -2
- package/dist/framework/Config.js +97 -23
- package/dist/framework/class-names.d.ts +4 -2
- package/dist/framework/class-names.js +56 -17
- package/dist/framework/defineDerivedEntity.d.ts +1 -1
- package/dist/framework/defineEntity.d.ts +2 -2
- package/dist/framework/defineSubEntity.d.ts +3 -2
- package/dist/framework/preview-store.d.ts +19 -0
- package/dist/framework/preview-store.js +18 -0
- package/dist/framework/projections.d.ts +28 -8
- package/dist/framework/projections.js +50 -16
- package/dist/framework/prop-surface.d.ts +21 -1
- package/dist/framework/prop-surface.js +99 -21
- package/dist/framework/render-spec.d.ts +103 -3
- package/dist/framework/render-spec.js +285 -37
- package/dist/framework/schema-version.d.ts +1 -1
- package/dist/framework/schema-version.js +5 -5
- package/dist/framework/source-integrity.d.ts +14 -1
- package/dist/framework/utils/refs.js +10 -1
- package/dist/framework/validate-spec.d.ts +2 -0
- package/dist/framework/validate-spec.js +13 -0
- package/dist/index.d.ts +15 -12
- package/dist/index.js +7 -6
- package/dist/migrations/2.0.0/v1-artifact.d.ts +305 -29
- package/dist/migrations/20260919051027_prop_conditions_and_anatomy_positions_at_rest.d.ts +22 -0
- package/dist/migrations/20260919051027_prop_conditions_and_anatomy_positions_at_rest.js +10 -0
- package/dist/migrations/20260920004019_preview_conditions_keyed.d.ts +27 -0
- package/dist/migrations/20260920004019_preview_conditions_keyed.js +148 -0
- package/dist/migrations/20260920161309_prefixed_token_group.d.ts +12 -0
- package/dist/migrations/20260920161309_prefixed_token_group.js +10 -0
- package/dist/renderer/wrapRegistry.js +8 -2
- package/dist/renderer/wrappers/component-refs.d.ts +14 -0
- package/dist/renderer/wrappers/component-refs.js +79 -0
- package/dist/renderer/wrappers/hex-normalize.d.ts +5 -7
- package/dist/renderer/wrappers/hex-normalize.js +11 -10
- package/dist/spec/cell.d.ts +171 -0
- package/dist/spec/cell.js +361 -0
- package/dist/spec/detach.d.ts +125 -0
- package/dist/spec/detach.js +511 -0
- package/dist/spec/empty-node-slots.d.ts +11 -23
- package/dist/spec/empty-node-slots.js +12 -39
- package/dist/spec/index.d.ts +5 -3
- package/dist/spec/index.js +3 -3
- package/dist/spec/instance.d.ts +77 -0
- package/dist/spec/instance.js +80 -0
- package/dist/spec/preview-content.d.ts +95 -0
- package/dist/spec/preview-content.js +149 -0
- package/dist/spec/preview-elements.d.ts +54 -15
- package/dist/spec/preview-elements.js +109 -29
- package/dist/spec/prop-conditions.d.ts +28 -0
- package/dist/spec/prop-conditions.js +39 -0
- package/dist/spec/slot.d.ts +206 -0
- package/dist/spec/slot.js +542 -0
- package/dist/spec/visibility.d.ts +82 -0
- package/dist/spec/visibility.js +109 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +18 -2
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import { CopyPlan } from "../entities/system/copy-plan.js";
|
|
2
2
|
import { Ref } from "../framework/utils/refs.js";
|
|
3
|
-
import { DerivedEntityClass } from "../framework/defineDerivedEntity.js";
|
|
4
3
|
import { SubEntityClass } from "../framework/defineSubEntity.js";
|
|
4
|
+
import { ComputedInput } from "../framework/registry.js";
|
|
5
|
+
import { DerivedEntityClass } from "../framework/defineDerivedEntity.js";
|
|
5
6
|
import { ComponentContractOf, PathOf } from "../framework/registered.js";
|
|
6
7
|
import { EntityClass } from "../framework/defineEntity.js";
|
|
7
8
|
import { ConfigClass } from "../framework/defineConfig.js";
|
|
8
9
|
import { PinOptionsField } from "../entities/system/LinkedSystem.js";
|
|
9
10
|
import { BreakPlan, LinkPlan, SourceRowState, UnlinkPlan } from "../entities/system/link-plan.js";
|
|
10
11
|
import { Config } from "../framework/Config.js";
|
|
11
|
-
import {
|
|
12
|
+
import { StylePropValue } from "../entities/system/StyleProperty.js";
|
|
13
|
+
import { StoredPreviewCondition } from "../framework/preview-store.js";
|
|
14
|
+
import { listSlots, namedSlots, slotHostedBy, slotOf } from "../spec/slot.js";
|
|
15
|
+
import { cellAt } from "../spec/cell.js";
|
|
16
|
+
import { instanceAt } from "../spec/instance.js";
|
|
12
17
|
import { DerivedColor, Gradient } from "../entities/system/color.js";
|
|
13
18
|
import { StyleValue } from "../entities/system/style-bag.js";
|
|
14
19
|
import { ComponentElementBody, ComponentReference, ComponentStyleBody } from "../entities/system/Component.js";
|
|
15
|
-
import { StylePropValue } from "../entities/system/StyleProperty.js";
|
|
16
20
|
import { OverrideCondition } from "../entities/system/Token.js";
|
|
17
21
|
import * as _$zod from "zod";
|
|
18
22
|
import * as _$zod_v4_core0 from "zod/v4/core";
|
|
@@ -90,6 +94,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
90
94
|
__ref: _$zod.ZodString;
|
|
91
95
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
92
96
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
97
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
98
|
+
__ref: _$zod.ZodString;
|
|
99
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
100
|
+
__ref: _$zod.ZodString;
|
|
101
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
93
102
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
94
103
|
type: _$zod.ZodLiteral<"variant">;
|
|
95
104
|
value: _$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodArray<_$zod.ZodString>, _$zod.ZodTransform<{
|
|
@@ -102,6 +111,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
102
111
|
deprecated: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
103
112
|
}, _$zod_v4_core0.$strict>>]>;
|
|
104
113
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
114
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
115
|
+
__ref: _$zod.ZodString;
|
|
116
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
117
|
+
__ref: _$zod.ZodString;
|
|
118
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
105
119
|
}, _$zod_v4_core0.$strict>, _$zod.ZodPipe<_$zod.ZodObject<{
|
|
106
120
|
type: _$zod.ZodLiteral<"forward">;
|
|
107
121
|
target: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
@@ -117,6 +131,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
117
131
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
118
132
|
text: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
119
133
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
134
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
135
|
+
__ref: _$zod.ZodString;
|
|
136
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
137
|
+
__ref: _$zod.ZodString;
|
|
138
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
120
139
|
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
121
140
|
type: "forward";
|
|
122
141
|
target: string | {
|
|
@@ -132,6 +151,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
132
151
|
}[] | undefined;
|
|
133
152
|
text?: boolean | undefined;
|
|
134
153
|
required?: boolean | undefined;
|
|
154
|
+
when?: Record<string, string | number | boolean | {
|
|
155
|
+
__ref: string;
|
|
156
|
+
} | (string | number | boolean | {
|
|
157
|
+
__ref: string;
|
|
158
|
+
})[]> | undefined;
|
|
135
159
|
}, {
|
|
136
160
|
type: "forward";
|
|
137
161
|
target: string | {
|
|
@@ -147,45 +171,77 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
147
171
|
}[] | undefined;
|
|
148
172
|
text?: boolean | undefined;
|
|
149
173
|
required?: boolean | undefined;
|
|
174
|
+
when?: Record<string, string | number | boolean | {
|
|
175
|
+
__ref: string;
|
|
176
|
+
} | (string | number | boolean | {
|
|
177
|
+
__ref: string;
|
|
178
|
+
})[]> | undefined;
|
|
150
179
|
}>>, _$zod.ZodObject<{
|
|
151
180
|
type: _$zod.ZodLiteral<"styleProperty">;
|
|
152
181
|
value: _$zod.ZodObject<{
|
|
153
182
|
__ref: _$zod.ZodString;
|
|
154
183
|
}, _$zod_v4_core0.$strip>;
|
|
184
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
185
|
+
__ref: _$zod.ZodString;
|
|
186
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
187
|
+
__ref: _$zod.ZodString;
|
|
188
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
155
189
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
156
190
|
type: _$zod.ZodLiteral<"composite">;
|
|
157
191
|
value: _$zod.ZodObject<{
|
|
158
192
|
__ref: _$zod.ZodString;
|
|
159
193
|
}, _$zod_v4_core0.$strip>;
|
|
194
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
195
|
+
__ref: _$zod.ZodString;
|
|
196
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
197
|
+
__ref: _$zod.ZodString;
|
|
198
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
160
199
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
161
200
|
type: _$zod.ZodLiteral<"motion">;
|
|
162
201
|
value: _$zod.ZodDefault<_$zod.ZodObject<{
|
|
163
202
|
__ref: _$zod.ZodString;
|
|
164
203
|
}, _$zod_v4_core0.$strip>>;
|
|
204
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
205
|
+
__ref: _$zod.ZodString;
|
|
206
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
207
|
+
__ref: _$zod.ZodString;
|
|
208
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
165
209
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
166
210
|
type: _$zod.ZodLiteral<"string">;
|
|
167
211
|
value: _$zod.ZodOptional<_$zod.ZodString>;
|
|
168
212
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
213
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
214
|
+
__ref: _$zod.ZodString;
|
|
215
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
216
|
+
__ref: _$zod.ZodString;
|
|
217
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
169
218
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
170
219
|
type: _$zod.ZodLiteral<"number">;
|
|
171
220
|
value: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
172
221
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
222
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
223
|
+
__ref: _$zod.ZodString;
|
|
224
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
225
|
+
__ref: _$zod.ZodString;
|
|
226
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
173
227
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
174
228
|
type: _$zod.ZodLiteral<"boolean">;
|
|
175
229
|
value: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
176
230
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
231
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
232
|
+
__ref: _$zod.ZodString;
|
|
233
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
234
|
+
__ref: _$zod.ZodString;
|
|
235
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
177
236
|
}, _$zod_v4_core0.$strict>], "type">>>>;
|
|
178
237
|
forwards: _$zod.ZodOptional<SubEntityClass<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"*">, _$zod.ZodArray<_$zod.ZodObject<{
|
|
179
238
|
__ref: _$zod.ZodString;
|
|
180
239
|
}, _$zod_v4_core0.$strip>>]>>>;
|
|
181
240
|
styles: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentStyleBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
241
|
+
renderProps: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
182
242
|
anatomy: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentElementBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentElementBody, unknown>>>>;
|
|
183
243
|
defaultProps: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StyleValue, unknown, _$zod_v4_core0.$ZodTypeInternals<StyleValue, unknown>>>>;
|
|
184
|
-
|
|
185
|
-
previewWhen: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
186
|
-
when: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
187
|
-
props: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
188
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
244
|
+
preview: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StoredPreviewCondition, unknown, _$zod_v4_core0.$ZodTypeInternals<StoredPreviewCondition, unknown>>>>;
|
|
189
245
|
file: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
190
246
|
__ref: _$zod.ZodString;
|
|
191
247
|
}, _$zod_v4_core0.$strip>>;
|
|
@@ -208,6 +264,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
208
264
|
__ref: _$zod.ZodString;
|
|
209
265
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
210
266
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
267
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
268
|
+
__ref: _$zod.ZodString;
|
|
269
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
270
|
+
__ref: _$zod.ZodString;
|
|
271
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
211
272
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
212
273
|
type: _$zod.ZodLiteral<"variant">;
|
|
213
274
|
value: _$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodArray<_$zod.ZodString>, _$zod.ZodTransform<{
|
|
@@ -220,6 +281,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
220
281
|
deprecated: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
221
282
|
}, _$zod_v4_core0.$strict>>]>;
|
|
222
283
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
284
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
285
|
+
__ref: _$zod.ZodString;
|
|
286
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
287
|
+
__ref: _$zod.ZodString;
|
|
288
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
223
289
|
}, _$zod_v4_core0.$strict>, _$zod.ZodPipe<_$zod.ZodObject<{
|
|
224
290
|
type: _$zod.ZodLiteral<"forward">;
|
|
225
291
|
target: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
@@ -235,6 +301,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
235
301
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
236
302
|
text: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
237
303
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
304
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
305
|
+
__ref: _$zod.ZodString;
|
|
306
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
307
|
+
__ref: _$zod.ZodString;
|
|
308
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
238
309
|
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
239
310
|
type: "forward";
|
|
240
311
|
target: string | {
|
|
@@ -250,6 +321,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
250
321
|
}[] | undefined;
|
|
251
322
|
text?: boolean | undefined;
|
|
252
323
|
required?: boolean | undefined;
|
|
324
|
+
when?: Record<string, string | number | boolean | {
|
|
325
|
+
__ref: string;
|
|
326
|
+
} | (string | number | boolean | {
|
|
327
|
+
__ref: string;
|
|
328
|
+
})[]> | undefined;
|
|
253
329
|
}, {
|
|
254
330
|
type: "forward";
|
|
255
331
|
target: string | {
|
|
@@ -265,51 +341,83 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
265
341
|
}[] | undefined;
|
|
266
342
|
text?: boolean | undefined;
|
|
267
343
|
required?: boolean | undefined;
|
|
344
|
+
when?: Record<string, string | number | boolean | {
|
|
345
|
+
__ref: string;
|
|
346
|
+
} | (string | number | boolean | {
|
|
347
|
+
__ref: string;
|
|
348
|
+
})[]> | undefined;
|
|
268
349
|
}>>, _$zod.ZodObject<{
|
|
269
350
|
type: _$zod.ZodLiteral<"styleProperty">;
|
|
270
351
|
value: _$zod.ZodObject<{
|
|
271
352
|
__ref: _$zod.ZodString;
|
|
272
353
|
}, _$zod_v4_core0.$strip>;
|
|
354
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
355
|
+
__ref: _$zod.ZodString;
|
|
356
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
357
|
+
__ref: _$zod.ZodString;
|
|
358
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
273
359
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
274
360
|
type: _$zod.ZodLiteral<"composite">;
|
|
275
361
|
value: _$zod.ZodObject<{
|
|
276
362
|
__ref: _$zod.ZodString;
|
|
277
363
|
}, _$zod_v4_core0.$strip>;
|
|
364
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
365
|
+
__ref: _$zod.ZodString;
|
|
366
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
367
|
+
__ref: _$zod.ZodString;
|
|
368
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
278
369
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
279
370
|
type: _$zod.ZodLiteral<"motion">;
|
|
280
371
|
value: _$zod.ZodDefault<_$zod.ZodObject<{
|
|
281
372
|
__ref: _$zod.ZodString;
|
|
282
373
|
}, _$zod_v4_core0.$strip>>;
|
|
374
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
375
|
+
__ref: _$zod.ZodString;
|
|
376
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
377
|
+
__ref: _$zod.ZodString;
|
|
378
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
283
379
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
284
380
|
type: _$zod.ZodLiteral<"string">;
|
|
285
381
|
value: _$zod.ZodOptional<_$zod.ZodString>;
|
|
286
382
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
383
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
384
|
+
__ref: _$zod.ZodString;
|
|
385
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
386
|
+
__ref: _$zod.ZodString;
|
|
387
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
287
388
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
288
389
|
type: _$zod.ZodLiteral<"number">;
|
|
289
390
|
value: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
290
391
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
392
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
393
|
+
__ref: _$zod.ZodString;
|
|
394
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
395
|
+
__ref: _$zod.ZodString;
|
|
396
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
291
397
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
292
398
|
type: _$zod.ZodLiteral<"boolean">;
|
|
293
399
|
value: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
294
400
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
401
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
402
|
+
__ref: _$zod.ZodString;
|
|
403
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
404
|
+
__ref: _$zod.ZodString;
|
|
405
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
295
406
|
}, _$zod_v4_core0.$strict>], "type">>>>;
|
|
296
407
|
forwards: _$zod.ZodOptional<SubEntityClass<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"*">, _$zod.ZodArray<_$zod.ZodObject<{
|
|
297
408
|
__ref: _$zod.ZodString;
|
|
298
409
|
}, _$zod_v4_core0.$strip>>]>>>;
|
|
299
410
|
styles: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentStyleBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
411
|
+
renderProps: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
300
412
|
anatomy: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentElementBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentElementBody, unknown>>>>;
|
|
301
413
|
defaultProps: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StyleValue, unknown, _$zod_v4_core0.$ZodTypeInternals<StyleValue, unknown>>>>;
|
|
302
|
-
|
|
303
|
-
previewWhen: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
304
|
-
when: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
305
|
-
props: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
306
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
414
|
+
preview: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StoredPreviewCondition, unknown, _$zod_v4_core0.$ZodTypeInternals<StoredPreviewCondition, unknown>>>>;
|
|
307
415
|
file: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
308
416
|
__ref: _$zod.ZodString;
|
|
309
417
|
}, _$zod_v4_core0.$strip>>;
|
|
310
418
|
export: _$zod.ZodOptional<_$zod.ZodString>;
|
|
311
419
|
}, _$zod_v4_core0.$strict>;
|
|
312
|
-
readonly description: "Create a component at a new qualified `path`. For a component with nothing in it yet, one to design on the canvas before it has props or variants, use `create-blank` with only a `path` instead of authoring a minimal body here. When its complete body is known, include all layers, anatomy, props, defaults, and styles in this one operation. `data.layers` maps each stable layer name to the element it renders and must include `root` — a tag for a primitive (`{ \"layers\": { \"root\": \"div\" } }`), and for anything built on top, a ref to a primitive (`{ \"root\": { \"__ref\": \"component:Box\" }, \"label\": { \"__ref\": \"component:Text\" } }`), which is what lets the layer take that primitive's style props. A primitive exposes style props as `{ \"type\": \"styleProperty\", \"value\": { \"__ref\": \"style-property:bg\" } }` and declares `children: { \"type\": \"slot\", \"text\": true }` when it holds content — without the slot, nothing nested inside it renders. A composed component exposes a layer's props at its own top level through `forwards`, keyed by layer: `{ \"forwards\": { \"root\": \"*\" } }` passes every prop the root's element takes (so `<Button width=\"full\">` reaches the root's `width`), and a list of member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`, each naming the component that declares the prop) passes only those. A prop a layer already exposes is forwarded, never redeclared in `props`; a `props` entry of `{ \"type\": \"forward\" }` is the reverse route, one of this component's props into a layer's. `anatomy` is the tree the build would read off a render: each node renders a layer (`{ \"__ref\": \"layer:<name>\" }`), an intrinsic tag, or `Slot` (`{ \"element\": \"Slot\", \"props\": { \"name\": \"children\" } }`, where a slot prop's content lands — but a declared slot fills `root` by default, so a primitive still declares its `children` slot prop yet needs no `Slot` node or `children` entry for it, and a `Slot` node is only for landing that content in a nested layer); `children` lists sibling node keys from the `root` node, never a prop name; `text` is a fixed string; `visible` is a condition on a prop (`{ \"$state\": \"<prop>\" }`, or with `eq`); content shown in a nested layer is a route, `children: { \"type\": \"forward\", \"target\": \"label/children\" }`. `$state` appears only in `visible` and in an `element` a prop chooses, never as a prop value. A glyph is a node of its own, `{ \"element\": { \"__ref\": \"icon:<library>/<Name>\" } }`, listed in the `children` of the layer node that holds it, never a prop value. Text a prop supplies to a text layer is never a node either: declare the prop `{ \"type\": \"forward\", \"target\": \"<layer>/children\" }` and the layer shows it; a `Slot` node goes only under a layer that takes nodes. A style rule is `\"styles\": { \"*\": { \"when\": null, \"layers\": { \"root\": { \"bg\": \"surface\" } } } }`, keyed by a name, with each layer's bag under `layers`. A composed component carries its own styles: give it an unconditional (`\"*\"`) rule that lays out and surfaces it through the system's style properties — spacing, alignment and gap on the container, a background and color where it has one — rather than leaning on the bare primitives, which paint flat. Style a layer only with the style props the primitive it renders exposes, set to the values those props accept: `component/get` on the primitive lists both, so read it and choose from that rather than reaching for a CSS name or value the system has no style property for. Set `
|
|
420
|
+
readonly description: "Create a component at a new qualified `path`. For a component with nothing in it yet, one to design on the canvas before it has props or variants, use `create-blank` with only a `path` instead of authoring a minimal body here. When its complete body is known, include all layers, anatomy, props, defaults, and styles in this one operation. `data.layers` maps each stable layer name to the element it renders and must include `root` — a tag for a primitive (`{ \"layers\": { \"root\": \"div\" } }`), and for anything built on top, a ref to a primitive (`{ \"root\": { \"__ref\": \"component:Box\" }, \"label\": { \"__ref\": \"component:Text\" } }`), which is what lets the layer take that primitive's style props. A primitive exposes style props as `{ \"type\": \"styleProperty\", \"value\": { \"__ref\": \"style-property:bg\" } }` and declares `children: { \"type\": \"slot\", \"text\": true }` when it holds content — without the slot, nothing nested inside it renders. A composed component exposes a layer's props at its own top level through `forwards`, keyed by layer: `{ \"forwards\": { \"root\": \"*\" } }` passes every prop the root's element takes (so `<Button width=\"full\">` reaches the root's `width`), and a list of member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`, each naming the component that declares the prop) passes only those. A prop a layer already exposes is forwarded, never redeclared in `props`; a `props` entry of `{ \"type\": \"forward\" }` is the reverse route, one of this component's props into a layer's. `anatomy` is the tree the build would read off a render: each node renders a layer (`{ \"__ref\": \"layer:<name>\" }`), an intrinsic tag, or `Slot` (`{ \"element\": \"Slot\", \"props\": { \"name\": \"children\" } }`, where a slot prop's content lands — but a declared slot fills `root` by default, so a primitive still declares its `children` slot prop yet needs no `Slot` node or `children` entry for it, and a `Slot` node is only for landing that content in a nested layer); `children` lists sibling node keys from the `root` node, never a prop name; `text` is a fixed string; `visible` is a condition on a prop (`{ \"$state\": \"<prop>\" }`, or with `eq`); content shown in a nested layer is a route, `children: { \"type\": \"forward\", \"target\": \"label/children\" }`. `$state` appears only in `visible` and in an `element` a prop chooses, never as a prop value. A glyph is a node of its own, `{ \"element\": { \"__ref\": \"icon:<library>/<Name>\" } }`, listed in the `children` of the layer node that holds it, never a prop value. Text a prop supplies to a text layer is never a node either: declare the prop `{ \"type\": \"forward\", \"target\": \"<layer>/children\" }` and the layer shows it; a `Slot` node goes only under a layer that takes nodes. A style rule is `\"styles\": { \"*\": { \"when\": null, \"layers\": { \"root\": { \"bg\": \"surface\" } } } }`, keyed by a name, with each layer's bag under `layers`. A composed component carries its own styles: give it an unconditional (`\"*\"`) rule that lays out and surfaces it through the system's style properties — spacing, alignment and gap on the container, a background and color where it has one — rather than leaning on the bare primitives, which paint flat. Style a layer only with the style props the primitive it renders exposes, set to the values those props accept: `component/get` on the primitive lists both, so read it and choose from that rather than reaching for a CSS name or value the system has no style property for. Set `preview` (`{ \"*\": { \"when\": null, \"props\": { \"children\": \"Example\" } } }`) or `defaultProps` so the component previews with content; a root that takes children renders empty otherwise. A style rule's layer bag is keyed by style-prop name (`fontWeight`, `color`), never by CSS property name, and each value is one of that prop's values.";
|
|
313
421
|
readonly example: ({
|
|
314
422
|
config
|
|
315
423
|
}: {
|
|
@@ -408,7 +516,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
408
516
|
lt?: number | undefined;
|
|
409
517
|
lte?: number | undefined;
|
|
410
518
|
}>>, _$zod.ZodObject<{
|
|
411
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
519
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
412
520
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
413
521
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
414
522
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -435,7 +543,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
435
543
|
gte?: number | undefined;
|
|
436
544
|
lt?: number | undefined;
|
|
437
545
|
lte?: number | undefined;
|
|
438
|
-
}
|
|
546
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
547
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
548
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
549
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
550
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
551
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
552
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
553
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
554
|
+
$state: _$zod.ZodString;
|
|
555
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
556
|
+
$state: string;
|
|
557
|
+
not?: true | undefined;
|
|
558
|
+
eq?: unknown;
|
|
559
|
+
neq?: unknown;
|
|
560
|
+
gt?: number | undefined;
|
|
561
|
+
gte?: number | undefined;
|
|
562
|
+
lt?: number | undefined;
|
|
563
|
+
lte?: number | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
$state: string;
|
|
566
|
+
not?: true | undefined;
|
|
567
|
+
eq?: unknown;
|
|
568
|
+
neq?: unknown;
|
|
569
|
+
gt?: number | undefined;
|
|
570
|
+
gte?: number | undefined;
|
|
571
|
+
lt?: number | undefined;
|
|
572
|
+
lte?: number | undefined;
|
|
573
|
+
}>>>]>>;
|
|
439
574
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
440
575
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
441
576
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -464,7 +599,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
464
599
|
lt?: number | undefined;
|
|
465
600
|
lte?: number | undefined;
|
|
466
601
|
}>>, _$zod.ZodObject<{
|
|
467
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
602
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
603
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
604
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
605
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
606
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
607
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
608
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
609
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
610
|
+
$state: _$zod.ZodString;
|
|
611
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
612
|
+
$state: string;
|
|
613
|
+
not?: true | undefined;
|
|
614
|
+
eq?: unknown;
|
|
615
|
+
neq?: unknown;
|
|
616
|
+
gt?: number | undefined;
|
|
617
|
+
gte?: number | undefined;
|
|
618
|
+
lt?: number | undefined;
|
|
619
|
+
lte?: number | undefined;
|
|
620
|
+
}, {
|
|
621
|
+
$state: string;
|
|
622
|
+
not?: true | undefined;
|
|
623
|
+
eq?: unknown;
|
|
624
|
+
neq?: unknown;
|
|
625
|
+
gt?: number | undefined;
|
|
626
|
+
gte?: number | undefined;
|
|
627
|
+
lt?: number | undefined;
|
|
628
|
+
lte?: number | undefined;
|
|
629
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
468
630
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
469
631
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
470
632
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -491,8 +653,8 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
491
653
|
gte?: number | undefined;
|
|
492
654
|
lt?: number | undefined;
|
|
493
655
|
lte?: number | undefined;
|
|
494
|
-
}
|
|
495
|
-
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
656
|
+
}>>>]>>;
|
|
657
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
496
658
|
__ref: _$zod.ZodString;
|
|
497
659
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
498
660
|
$state: string;
|
|
@@ -541,7 +703,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
541
703
|
lt?: number | undefined;
|
|
542
704
|
lte?: number | undefined;
|
|
543
705
|
}>>, _$zod.ZodObject<{
|
|
544
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
706
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
707
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
708
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
709
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
710
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
711
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
712
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
713
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
714
|
+
$state: _$zod.ZodString;
|
|
715
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
716
|
+
$state: string;
|
|
717
|
+
not?: true | undefined;
|
|
718
|
+
eq?: unknown;
|
|
719
|
+
neq?: unknown;
|
|
720
|
+
gt?: number | undefined;
|
|
721
|
+
gte?: number | undefined;
|
|
722
|
+
lt?: number | undefined;
|
|
723
|
+
lte?: number | undefined;
|
|
724
|
+
}, {
|
|
725
|
+
$state: string;
|
|
726
|
+
not?: true | undefined;
|
|
727
|
+
eq?: unknown;
|
|
728
|
+
neq?: unknown;
|
|
729
|
+
gt?: number | undefined;
|
|
730
|
+
gte?: number | undefined;
|
|
731
|
+
lt?: number | undefined;
|
|
732
|
+
lte?: number | undefined;
|
|
733
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
545
734
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
546
735
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
547
736
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -568,7 +757,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
568
757
|
gte?: number | undefined;
|
|
569
758
|
lt?: number | undefined;
|
|
570
759
|
lte?: number | undefined;
|
|
571
|
-
}
|
|
760
|
+
}>>>]>>;
|
|
572
761
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
573
762
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
574
763
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -597,7 +786,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
597
786
|
lt?: number | undefined;
|
|
598
787
|
lte?: number | undefined;
|
|
599
788
|
}>>, _$zod.ZodObject<{
|
|
600
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
789
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
601
790
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
602
791
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
603
792
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -624,8 +813,35 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
624
813
|
gte?: number | undefined;
|
|
625
814
|
lt?: number | undefined;
|
|
626
815
|
lte?: number | undefined;
|
|
627
|
-
}
|
|
628
|
-
|
|
816
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
817
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
818
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
819
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
820
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
821
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
822
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
823
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
824
|
+
$state: _$zod.ZodString;
|
|
825
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
826
|
+
$state: string;
|
|
827
|
+
not?: true | undefined;
|
|
828
|
+
eq?: unknown;
|
|
829
|
+
neq?: unknown;
|
|
830
|
+
gt?: number | undefined;
|
|
831
|
+
gte?: number | undefined;
|
|
832
|
+
lt?: number | undefined;
|
|
833
|
+
lte?: number | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
$state: string;
|
|
836
|
+
not?: true | undefined;
|
|
837
|
+
eq?: unknown;
|
|
838
|
+
neq?: unknown;
|
|
839
|
+
gt?: number | undefined;
|
|
840
|
+
gte?: number | undefined;
|
|
841
|
+
lt?: number | undefined;
|
|
842
|
+
lte?: number | undefined;
|
|
843
|
+
}>>>]>>;
|
|
844
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
629
845
|
__ref: _$zod.ZodString;
|
|
630
846
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
631
847
|
$state: string;
|
|
@@ -675,7 +891,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
675
891
|
lt?: number | undefined;
|
|
676
892
|
lte?: number | undefined;
|
|
677
893
|
}>>, _$zod.ZodObject<{
|
|
678
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
894
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
895
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
896
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
897
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
898
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
899
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
900
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
901
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
902
|
+
$state: _$zod.ZodString;
|
|
903
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
904
|
+
$state: string;
|
|
905
|
+
not?: true | undefined;
|
|
906
|
+
eq?: unknown;
|
|
907
|
+
neq?: unknown;
|
|
908
|
+
gt?: number | undefined;
|
|
909
|
+
gte?: number | undefined;
|
|
910
|
+
lt?: number | undefined;
|
|
911
|
+
lte?: number | undefined;
|
|
912
|
+
}, {
|
|
913
|
+
$state: string;
|
|
914
|
+
not?: true | undefined;
|
|
915
|
+
eq?: unknown;
|
|
916
|
+
neq?: unknown;
|
|
917
|
+
gt?: number | undefined;
|
|
918
|
+
gte?: number | undefined;
|
|
919
|
+
lt?: number | undefined;
|
|
920
|
+
lte?: number | undefined;
|
|
921
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
679
922
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
680
923
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
681
924
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -702,7 +945,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
702
945
|
gte?: number | undefined;
|
|
703
946
|
lt?: number | undefined;
|
|
704
947
|
lte?: number | undefined;
|
|
705
|
-
}
|
|
948
|
+
}>>>]>>;
|
|
706
949
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
707
950
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
708
951
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -731,7 +974,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
731
974
|
lt?: number | undefined;
|
|
732
975
|
lte?: number | undefined;
|
|
733
976
|
}>>, _$zod.ZodObject<{
|
|
734
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
977
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
978
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
979
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
980
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
981
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
982
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
983
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
984
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
985
|
+
$state: _$zod.ZodString;
|
|
986
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
987
|
+
$state: string;
|
|
988
|
+
not?: true | undefined;
|
|
989
|
+
eq?: unknown;
|
|
990
|
+
neq?: unknown;
|
|
991
|
+
gt?: number | undefined;
|
|
992
|
+
gte?: number | undefined;
|
|
993
|
+
lt?: number | undefined;
|
|
994
|
+
lte?: number | undefined;
|
|
995
|
+
}, {
|
|
996
|
+
$state: string;
|
|
997
|
+
not?: true | undefined;
|
|
998
|
+
eq?: unknown;
|
|
999
|
+
neq?: unknown;
|
|
1000
|
+
gt?: number | undefined;
|
|
1001
|
+
gte?: number | undefined;
|
|
1002
|
+
lt?: number | undefined;
|
|
1003
|
+
lte?: number | undefined;
|
|
1004
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
735
1005
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
736
1006
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
737
1007
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -758,8 +1028,8 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
758
1028
|
gte?: number | undefined;
|
|
759
1029
|
lt?: number | undefined;
|
|
760
1030
|
lte?: number | undefined;
|
|
761
|
-
}
|
|
762
|
-
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1031
|
+
}>>>]>>;
|
|
1032
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
763
1033
|
__ref: _$zod.ZodString;
|
|
764
1034
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
765
1035
|
$state: string;
|
|
@@ -852,6 +1122,12 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
852
1122
|
}: ComputedInput) => string[];
|
|
853
1123
|
}, false>, "ref"> & {
|
|
854
1124
|
ref<const Path extends PathOf<"component">>(path: Path): ComponentReference<ComponentContractOf<Path>>;
|
|
1125
|
+
slots: typeof listSlots;
|
|
1126
|
+
slot: typeof slotOf;
|
|
1127
|
+
slotHostedBy: typeof slotHostedBy;
|
|
1128
|
+
namedSlots: typeof namedSlots;
|
|
1129
|
+
cell: typeof cellAt;
|
|
1130
|
+
instance: typeof instanceAt;
|
|
855
1131
|
};
|
|
856
1132
|
modifiers: EntityClass<_$zod.ZodObject<{
|
|
857
1133
|
type: _$zod.ZodEnum<{
|
|
@@ -1615,6 +1891,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1615
1891
|
__ref: _$zod.ZodString;
|
|
1616
1892
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
1617
1893
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1894
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1895
|
+
__ref: _$zod.ZodString;
|
|
1896
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1897
|
+
__ref: _$zod.ZodString;
|
|
1898
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1618
1899
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1619
1900
|
type: _$zod.ZodLiteral<"variant">;
|
|
1620
1901
|
value: _$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodArray<_$zod.ZodString>, _$zod.ZodTransform<{
|
|
@@ -1627,6 +1908,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1627
1908
|
deprecated: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1628
1909
|
}, _$zod_v4_core0.$strict>>]>;
|
|
1629
1910
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1911
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1912
|
+
__ref: _$zod.ZodString;
|
|
1913
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1914
|
+
__ref: _$zod.ZodString;
|
|
1915
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1630
1916
|
}, _$zod_v4_core0.$strict>, _$zod.ZodPipe<_$zod.ZodObject<{
|
|
1631
1917
|
type: _$zod.ZodLiteral<"forward">;
|
|
1632
1918
|
target: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
@@ -1642,6 +1928,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1642
1928
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
1643
1929
|
text: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1644
1930
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1931
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1932
|
+
__ref: _$zod.ZodString;
|
|
1933
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1934
|
+
__ref: _$zod.ZodString;
|
|
1935
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1645
1936
|
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
1646
1937
|
type: "forward";
|
|
1647
1938
|
target: string | {
|
|
@@ -1657,6 +1948,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1657
1948
|
}[] | undefined;
|
|
1658
1949
|
text?: boolean | undefined;
|
|
1659
1950
|
required?: boolean | undefined;
|
|
1951
|
+
when?: Record<string, string | number | boolean | {
|
|
1952
|
+
__ref: string;
|
|
1953
|
+
} | (string | number | boolean | {
|
|
1954
|
+
__ref: string;
|
|
1955
|
+
})[]> | undefined;
|
|
1660
1956
|
}, {
|
|
1661
1957
|
type: "forward";
|
|
1662
1958
|
target: string | {
|
|
@@ -1672,45 +1968,77 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1672
1968
|
}[] | undefined;
|
|
1673
1969
|
text?: boolean | undefined;
|
|
1674
1970
|
required?: boolean | undefined;
|
|
1971
|
+
when?: Record<string, string | number | boolean | {
|
|
1972
|
+
__ref: string;
|
|
1973
|
+
} | (string | number | boolean | {
|
|
1974
|
+
__ref: string;
|
|
1975
|
+
})[]> | undefined;
|
|
1675
1976
|
}>>, _$zod.ZodObject<{
|
|
1676
1977
|
type: _$zod.ZodLiteral<"styleProperty">;
|
|
1677
1978
|
value: _$zod.ZodObject<{
|
|
1678
1979
|
__ref: _$zod.ZodString;
|
|
1679
1980
|
}, _$zod_v4_core0.$strip>;
|
|
1981
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1982
|
+
__ref: _$zod.ZodString;
|
|
1983
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1984
|
+
__ref: _$zod.ZodString;
|
|
1985
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1680
1986
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1681
1987
|
type: _$zod.ZodLiteral<"composite">;
|
|
1682
1988
|
value: _$zod.ZodObject<{
|
|
1683
1989
|
__ref: _$zod.ZodString;
|
|
1684
1990
|
}, _$zod_v4_core0.$strip>;
|
|
1991
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1992
|
+
__ref: _$zod.ZodString;
|
|
1993
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
1994
|
+
__ref: _$zod.ZodString;
|
|
1995
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1685
1996
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1686
1997
|
type: _$zod.ZodLiteral<"motion">;
|
|
1687
1998
|
value: _$zod.ZodDefault<_$zod.ZodObject<{
|
|
1688
1999
|
__ref: _$zod.ZodString;
|
|
1689
2000
|
}, _$zod_v4_core0.$strip>>;
|
|
2001
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2002
|
+
__ref: _$zod.ZodString;
|
|
2003
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2004
|
+
__ref: _$zod.ZodString;
|
|
2005
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1690
2006
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1691
2007
|
type: _$zod.ZodLiteral<"string">;
|
|
1692
2008
|
value: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1693
2009
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2010
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2011
|
+
__ref: _$zod.ZodString;
|
|
2012
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2013
|
+
__ref: _$zod.ZodString;
|
|
2014
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1694
2015
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1695
2016
|
type: _$zod.ZodLiteral<"number">;
|
|
1696
2017
|
value: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1697
2018
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2019
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2020
|
+
__ref: _$zod.ZodString;
|
|
2021
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2022
|
+
__ref: _$zod.ZodString;
|
|
2023
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1698
2024
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1699
2025
|
type: _$zod.ZodLiteral<"boolean">;
|
|
1700
2026
|
value: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1701
2027
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2028
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2029
|
+
__ref: _$zod.ZodString;
|
|
2030
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2031
|
+
__ref: _$zod.ZodString;
|
|
2032
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1702
2033
|
}, _$zod_v4_core0.$strict>], "type">>>>;
|
|
1703
2034
|
forwards: _$zod.ZodOptional<SubEntityClass<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"*">, _$zod.ZodArray<_$zod.ZodObject<{
|
|
1704
2035
|
__ref: _$zod.ZodString;
|
|
1705
2036
|
}, _$zod_v4_core0.$strip>>]>>>;
|
|
1706
2037
|
styles: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentStyleBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
2038
|
+
renderProps: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1707
2039
|
anatomy: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentElementBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentElementBody, unknown>>>>;
|
|
1708
2040
|
defaultProps: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StyleValue, unknown, _$zod_v4_core0.$ZodTypeInternals<StyleValue, unknown>>>>;
|
|
1709
|
-
|
|
1710
|
-
previewWhen: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1711
|
-
when: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1712
|
-
props: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1713
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
2041
|
+
preview: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StoredPreviewCondition, unknown, _$zod_v4_core0.$ZodTypeInternals<StoredPreviewCondition, unknown>>>>;
|
|
1714
2042
|
file: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1715
2043
|
__ref: _$zod.ZodString;
|
|
1716
2044
|
}, _$zod_v4_core0.$strip>>;
|
|
@@ -1733,6 +2061,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1733
2061
|
__ref: _$zod.ZodString;
|
|
1734
2062
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
1735
2063
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2064
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2065
|
+
__ref: _$zod.ZodString;
|
|
2066
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2067
|
+
__ref: _$zod.ZodString;
|
|
2068
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1736
2069
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1737
2070
|
type: _$zod.ZodLiteral<"variant">;
|
|
1738
2071
|
value: _$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodArray<_$zod.ZodString>, _$zod.ZodTransform<{
|
|
@@ -1745,6 +2078,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1745
2078
|
deprecated: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1746
2079
|
}, _$zod_v4_core0.$strict>>]>;
|
|
1747
2080
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2081
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2082
|
+
__ref: _$zod.ZodString;
|
|
2083
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2084
|
+
__ref: _$zod.ZodString;
|
|
2085
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1748
2086
|
}, _$zod_v4_core0.$strict>, _$zod.ZodPipe<_$zod.ZodObject<{
|
|
1749
2087
|
type: _$zod.ZodLiteral<"forward">;
|
|
1750
2088
|
target: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
|
|
@@ -1760,6 +2098,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1760
2098
|
}, _$zod_v4_core0.$strip>>]>>;
|
|
1761
2099
|
text: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1762
2100
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2101
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2102
|
+
__ref: _$zod.ZodString;
|
|
2103
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2104
|
+
__ref: _$zod.ZodString;
|
|
2105
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1763
2106
|
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
1764
2107
|
type: "forward";
|
|
1765
2108
|
target: string | {
|
|
@@ -1775,6 +2118,11 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1775
2118
|
}[] | undefined;
|
|
1776
2119
|
text?: boolean | undefined;
|
|
1777
2120
|
required?: boolean | undefined;
|
|
2121
|
+
when?: Record<string, string | number | boolean | {
|
|
2122
|
+
__ref: string;
|
|
2123
|
+
} | (string | number | boolean | {
|
|
2124
|
+
__ref: string;
|
|
2125
|
+
})[]> | undefined;
|
|
1778
2126
|
}, {
|
|
1779
2127
|
type: "forward";
|
|
1780
2128
|
target: string | {
|
|
@@ -1790,51 +2138,83 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1790
2138
|
}[] | undefined;
|
|
1791
2139
|
text?: boolean | undefined;
|
|
1792
2140
|
required?: boolean | undefined;
|
|
2141
|
+
when?: Record<string, string | number | boolean | {
|
|
2142
|
+
__ref: string;
|
|
2143
|
+
} | (string | number | boolean | {
|
|
2144
|
+
__ref: string;
|
|
2145
|
+
})[]> | undefined;
|
|
1793
2146
|
}>>, _$zod.ZodObject<{
|
|
1794
2147
|
type: _$zod.ZodLiteral<"styleProperty">;
|
|
1795
2148
|
value: _$zod.ZodObject<{
|
|
1796
2149
|
__ref: _$zod.ZodString;
|
|
1797
2150
|
}, _$zod_v4_core0.$strip>;
|
|
2151
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2152
|
+
__ref: _$zod.ZodString;
|
|
2153
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2154
|
+
__ref: _$zod.ZodString;
|
|
2155
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1798
2156
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1799
2157
|
type: _$zod.ZodLiteral<"composite">;
|
|
1800
2158
|
value: _$zod.ZodObject<{
|
|
1801
2159
|
__ref: _$zod.ZodString;
|
|
1802
2160
|
}, _$zod_v4_core0.$strip>;
|
|
2161
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2162
|
+
__ref: _$zod.ZodString;
|
|
2163
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2164
|
+
__ref: _$zod.ZodString;
|
|
2165
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1803
2166
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1804
2167
|
type: _$zod.ZodLiteral<"motion">;
|
|
1805
2168
|
value: _$zod.ZodDefault<_$zod.ZodObject<{
|
|
1806
2169
|
__ref: _$zod.ZodString;
|
|
1807
2170
|
}, _$zod_v4_core0.$strip>>;
|
|
2171
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2172
|
+
__ref: _$zod.ZodString;
|
|
2173
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2174
|
+
__ref: _$zod.ZodString;
|
|
2175
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1808
2176
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1809
2177
|
type: _$zod.ZodLiteral<"string">;
|
|
1810
2178
|
value: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1811
2179
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2180
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2181
|
+
__ref: _$zod.ZodString;
|
|
2182
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2183
|
+
__ref: _$zod.ZodString;
|
|
2184
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1812
2185
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1813
2186
|
type: _$zod.ZodLiteral<"number">;
|
|
1814
2187
|
value: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
1815
2188
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2189
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2190
|
+
__ref: _$zod.ZodString;
|
|
2191
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2192
|
+
__ref: _$zod.ZodString;
|
|
2193
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1816
2194
|
}, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
|
|
1817
2195
|
type: _$zod.ZodLiteral<"boolean">;
|
|
1818
2196
|
value: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
1819
2197
|
required: _$zod.ZodOptional<_$zod.ZodBoolean>;
|
|
2198
|
+
when: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2199
|
+
__ref: _$zod.ZodString;
|
|
2200
|
+
}, _$zod_v4_core0.$strip>]>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2201
|
+
__ref: _$zod.ZodString;
|
|
2202
|
+
}, _$zod_v4_core0.$strip>]>>]>>>;
|
|
1820
2203
|
}, _$zod_v4_core0.$strict>], "type">>>>;
|
|
1821
2204
|
forwards: _$zod.ZodOptional<SubEntityClass<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"*">, _$zod.ZodArray<_$zod.ZodObject<{
|
|
1822
2205
|
__ref: _$zod.ZodString;
|
|
1823
2206
|
}, _$zod_v4_core0.$strip>>]>>>;
|
|
1824
2207
|
styles: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentStyleBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentStyleBody, unknown>>>>;
|
|
2208
|
+
renderProps: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
|
|
1825
2209
|
anatomy: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<ComponentElementBody, unknown, _$zod_v4_core0.$ZodTypeInternals<ComponentElementBody, unknown>>>>;
|
|
1826
2210
|
defaultProps: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StyleValue, unknown, _$zod_v4_core0.$ZodTypeInternals<StyleValue, unknown>>>>;
|
|
1827
|
-
|
|
1828
|
-
previewWhen: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
|
|
1829
|
-
when: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1830
|
-
props: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
|
|
1831
|
-
}, _$zod_v4_core0.$strip>>>;
|
|
2211
|
+
preview: _$zod.ZodOptional<SubEntityClass<_$zod.ZodType<StoredPreviewCondition, unknown, _$zod_v4_core0.$ZodTypeInternals<StoredPreviewCondition, unknown>>>>;
|
|
1832
2212
|
file: _$zod.ZodOptional<_$zod.ZodObject<{
|
|
1833
2213
|
__ref: _$zod.ZodString;
|
|
1834
2214
|
}, _$zod_v4_core0.$strip>>;
|
|
1835
2215
|
export: _$zod.ZodOptional<_$zod.ZodString>;
|
|
1836
2216
|
}, _$zod_v4_core0.$strict>;
|
|
1837
|
-
readonly description: "Create a component at a new qualified `path`. For a component with nothing in it yet, one to design on the canvas before it has props or variants, use `create-blank` with only a `path` instead of authoring a minimal body here. When its complete body is known, include all layers, anatomy, props, defaults, and styles in this one operation. `data.layers` maps each stable layer name to the element it renders and must include `root` — a tag for a primitive (`{ \"layers\": { \"root\": \"div\" } }`), and for anything built on top, a ref to a primitive (`{ \"root\": { \"__ref\": \"component:Box\" }, \"label\": { \"__ref\": \"component:Text\" } }`), which is what lets the layer take that primitive's style props. A primitive exposes style props as `{ \"type\": \"styleProperty\", \"value\": { \"__ref\": \"style-property:bg\" } }` and declares `children: { \"type\": \"slot\", \"text\": true }` when it holds content — without the slot, nothing nested inside it renders. A composed component exposes a layer's props at its own top level through `forwards`, keyed by layer: `{ \"forwards\": { \"root\": \"*\" } }` passes every prop the root's element takes (so `<Button width=\"full\">` reaches the root's `width`), and a list of member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`, each naming the component that declares the prop) passes only those. A prop a layer already exposes is forwarded, never redeclared in `props`; a `props` entry of `{ \"type\": \"forward\" }` is the reverse route, one of this component's props into a layer's. `anatomy` is the tree the build would read off a render: each node renders a layer (`{ \"__ref\": \"layer:<name>\" }`), an intrinsic tag, or `Slot` (`{ \"element\": \"Slot\", \"props\": { \"name\": \"children\" } }`, where a slot prop's content lands — but a declared slot fills `root` by default, so a primitive still declares its `children` slot prop yet needs no `Slot` node or `children` entry for it, and a `Slot` node is only for landing that content in a nested layer); `children` lists sibling node keys from the `root` node, never a prop name; `text` is a fixed string; `visible` is a condition on a prop (`{ \"$state\": \"<prop>\" }`, or with `eq`); content shown in a nested layer is a route, `children: { \"type\": \"forward\", \"target\": \"label/children\" }`. `$state` appears only in `visible` and in an `element` a prop chooses, never as a prop value. A glyph is a node of its own, `{ \"element\": { \"__ref\": \"icon:<library>/<Name>\" } }`, listed in the `children` of the layer node that holds it, never a prop value. Text a prop supplies to a text layer is never a node either: declare the prop `{ \"type\": \"forward\", \"target\": \"<layer>/children\" }` and the layer shows it; a `Slot` node goes only under a layer that takes nodes. A style rule is `\"styles\": { \"*\": { \"when\": null, \"layers\": { \"root\": { \"bg\": \"surface\" } } } }`, keyed by a name, with each layer's bag under `layers`. A composed component carries its own styles: give it an unconditional (`\"*\"`) rule that lays out and surfaces it through the system's style properties — spacing, alignment and gap on the container, a background and color where it has one — rather than leaning on the bare primitives, which paint flat. Style a layer only with the style props the primitive it renders exposes, set to the values those props accept: `component/get` on the primitive lists both, so read it and choose from that rather than reaching for a CSS name or value the system has no style property for. Set `
|
|
2217
|
+
readonly description: "Create a component at a new qualified `path`. For a component with nothing in it yet, one to design on the canvas before it has props or variants, use `create-blank` with only a `path` instead of authoring a minimal body here. When its complete body is known, include all layers, anatomy, props, defaults, and styles in this one operation. `data.layers` maps each stable layer name to the element it renders and must include `root` — a tag for a primitive (`{ \"layers\": { \"root\": \"div\" } }`), and for anything built on top, a ref to a primitive (`{ \"root\": { \"__ref\": \"component:Box\" }, \"label\": { \"__ref\": \"component:Text\" } }`), which is what lets the layer take that primitive's style props. A primitive exposes style props as `{ \"type\": \"styleProperty\", \"value\": { \"__ref\": \"style-property:bg\" } }` and declares `children: { \"type\": \"slot\", \"text\": true }` when it holds content — without the slot, nothing nested inside it renders. A composed component exposes a layer's props at its own top level through `forwards`, keyed by layer: `{ \"forwards\": { \"root\": \"*\" } }` passes every prop the root's element takes (so `<Button width=\"full\">` reaches the root's `width`), and a list of member refs (`[{ \"__ref\": \"component:Box#props/width\" }]`, each naming the component that declares the prop) passes only those. A prop a layer already exposes is forwarded, never redeclared in `props`; a `props` entry of `{ \"type\": \"forward\" }` is the reverse route, one of this component's props into a layer's. `anatomy` is the tree the build would read off a render: each node renders a layer (`{ \"__ref\": \"layer:<name>\" }`), an intrinsic tag, or `Slot` (`{ \"element\": \"Slot\", \"props\": { \"name\": \"children\" } }`, where a slot prop's content lands — but a declared slot fills `root` by default, so a primitive still declares its `children` slot prop yet needs no `Slot` node or `children` entry for it, and a `Slot` node is only for landing that content in a nested layer); `children` lists sibling node keys from the `root` node, never a prop name; `text` is a fixed string; `visible` is a condition on a prop (`{ \"$state\": \"<prop>\" }`, or with `eq`); content shown in a nested layer is a route, `children: { \"type\": \"forward\", \"target\": \"label/children\" }`. `$state` appears only in `visible` and in an `element` a prop chooses, never as a prop value. A glyph is a node of its own, `{ \"element\": { \"__ref\": \"icon:<library>/<Name>\" } }`, listed in the `children` of the layer node that holds it, never a prop value. Text a prop supplies to a text layer is never a node either: declare the prop `{ \"type\": \"forward\", \"target\": \"<layer>/children\" }` and the layer shows it; a `Slot` node goes only under a layer that takes nodes. A style rule is `\"styles\": { \"*\": { \"when\": null, \"layers\": { \"root\": { \"bg\": \"surface\" } } } }`, keyed by a name, with each layer's bag under `layers`. A composed component carries its own styles: give it an unconditional (`\"*\"`) rule that lays out and surfaces it through the system's style properties — spacing, alignment and gap on the container, a background and color where it has one — rather than leaning on the bare primitives, which paint flat. Style a layer only with the style props the primitive it renders exposes, set to the values those props accept: `component/get` on the primitive lists both, so read it and choose from that rather than reaching for a CSS name or value the system has no style property for. Set `preview` (`{ \"*\": { \"when\": null, \"props\": { \"children\": \"Example\" } } }`) or `defaultProps` so the component previews with content; a root that takes children renders empty otherwise. A style rule's layer bag is keyed by style-prop name (`fontWeight`, `color`), never by CSS property name, and each value is one of that prop's values.";
|
|
1838
2218
|
readonly example: ({
|
|
1839
2219
|
config
|
|
1840
2220
|
}: {
|
|
@@ -1933,7 +2313,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1933
2313
|
lt?: number | undefined;
|
|
1934
2314
|
lte?: number | undefined;
|
|
1935
2315
|
}>>, _$zod.ZodObject<{
|
|
1936
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2316
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
1937
2317
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
1938
2318
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
1939
2319
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -1960,7 +2340,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1960
2340
|
gte?: number | undefined;
|
|
1961
2341
|
lt?: number | undefined;
|
|
1962
2342
|
lte?: number | undefined;
|
|
1963
|
-
}
|
|
2343
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2344
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2345
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2346
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2347
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2348
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2349
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2350
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2351
|
+
$state: _$zod.ZodString;
|
|
2352
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2353
|
+
$state: string;
|
|
2354
|
+
not?: true | undefined;
|
|
2355
|
+
eq?: unknown;
|
|
2356
|
+
neq?: unknown;
|
|
2357
|
+
gt?: number | undefined;
|
|
2358
|
+
gte?: number | undefined;
|
|
2359
|
+
lt?: number | undefined;
|
|
2360
|
+
lte?: number | undefined;
|
|
2361
|
+
}, {
|
|
2362
|
+
$state: string;
|
|
2363
|
+
not?: true | undefined;
|
|
2364
|
+
eq?: unknown;
|
|
2365
|
+
neq?: unknown;
|
|
2366
|
+
gt?: number | undefined;
|
|
2367
|
+
gte?: number | undefined;
|
|
2368
|
+
lt?: number | undefined;
|
|
2369
|
+
lte?: number | undefined;
|
|
2370
|
+
}>>>]>>;
|
|
1964
2371
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
1965
2372
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
1966
2373
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -1989,7 +2396,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
1989
2396
|
lt?: number | undefined;
|
|
1990
2397
|
lte?: number | undefined;
|
|
1991
2398
|
}>>, _$zod.ZodObject<{
|
|
1992
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2399
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2400
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2401
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2402
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2403
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2404
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2405
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2406
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2407
|
+
$state: _$zod.ZodString;
|
|
2408
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2409
|
+
$state: string;
|
|
2410
|
+
not?: true | undefined;
|
|
2411
|
+
eq?: unknown;
|
|
2412
|
+
neq?: unknown;
|
|
2413
|
+
gt?: number | undefined;
|
|
2414
|
+
gte?: number | undefined;
|
|
2415
|
+
lt?: number | undefined;
|
|
2416
|
+
lte?: number | undefined;
|
|
2417
|
+
}, {
|
|
2418
|
+
$state: string;
|
|
2419
|
+
not?: true | undefined;
|
|
2420
|
+
eq?: unknown;
|
|
2421
|
+
neq?: unknown;
|
|
2422
|
+
gt?: number | undefined;
|
|
2423
|
+
gte?: number | undefined;
|
|
2424
|
+
lt?: number | undefined;
|
|
2425
|
+
lte?: number | undefined;
|
|
2426
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
1993
2427
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
1994
2428
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
1995
2429
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2016,8 +2450,8 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2016
2450
|
gte?: number | undefined;
|
|
2017
2451
|
lt?: number | undefined;
|
|
2018
2452
|
lte?: number | undefined;
|
|
2019
|
-
}
|
|
2020
|
-
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2453
|
+
}>>>]>>;
|
|
2454
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2021
2455
|
__ref: _$zod.ZodString;
|
|
2022
2456
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
2023
2457
|
$state: string;
|
|
@@ -2066,7 +2500,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2066
2500
|
lt?: number | undefined;
|
|
2067
2501
|
lte?: number | undefined;
|
|
2068
2502
|
}>>, _$zod.ZodObject<{
|
|
2069
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2503
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2504
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2505
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2506
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2507
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2508
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2509
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2510
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2511
|
+
$state: _$zod.ZodString;
|
|
2512
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2513
|
+
$state: string;
|
|
2514
|
+
not?: true | undefined;
|
|
2515
|
+
eq?: unknown;
|
|
2516
|
+
neq?: unknown;
|
|
2517
|
+
gt?: number | undefined;
|
|
2518
|
+
gte?: number | undefined;
|
|
2519
|
+
lt?: number | undefined;
|
|
2520
|
+
lte?: number | undefined;
|
|
2521
|
+
}, {
|
|
2522
|
+
$state: string;
|
|
2523
|
+
not?: true | undefined;
|
|
2524
|
+
eq?: unknown;
|
|
2525
|
+
neq?: unknown;
|
|
2526
|
+
gt?: number | undefined;
|
|
2527
|
+
gte?: number | undefined;
|
|
2528
|
+
lt?: number | undefined;
|
|
2529
|
+
lte?: number | undefined;
|
|
2530
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2070
2531
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2071
2532
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2072
2533
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2093,7 +2554,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2093
2554
|
gte?: number | undefined;
|
|
2094
2555
|
lt?: number | undefined;
|
|
2095
2556
|
lte?: number | undefined;
|
|
2096
|
-
}
|
|
2557
|
+
}>>>]>>;
|
|
2097
2558
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2098
2559
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2099
2560
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2122,7 +2583,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2122
2583
|
lt?: number | undefined;
|
|
2123
2584
|
lte?: number | undefined;
|
|
2124
2585
|
}>>, _$zod.ZodObject<{
|
|
2125
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2586
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2126
2587
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2127
2588
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2128
2589
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2149,8 +2610,35 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2149
2610
|
gte?: number | undefined;
|
|
2150
2611
|
lt?: number | undefined;
|
|
2151
2612
|
lte?: number | undefined;
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2613
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2614
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2615
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2616
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2617
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2618
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2619
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2620
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2621
|
+
$state: _$zod.ZodString;
|
|
2622
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2623
|
+
$state: string;
|
|
2624
|
+
not?: true | undefined;
|
|
2625
|
+
eq?: unknown;
|
|
2626
|
+
neq?: unknown;
|
|
2627
|
+
gt?: number | undefined;
|
|
2628
|
+
gte?: number | undefined;
|
|
2629
|
+
lt?: number | undefined;
|
|
2630
|
+
lte?: number | undefined;
|
|
2631
|
+
}, {
|
|
2632
|
+
$state: string;
|
|
2633
|
+
not?: true | undefined;
|
|
2634
|
+
eq?: unknown;
|
|
2635
|
+
neq?: unknown;
|
|
2636
|
+
gt?: number | undefined;
|
|
2637
|
+
gte?: number | undefined;
|
|
2638
|
+
lt?: number | undefined;
|
|
2639
|
+
lte?: number | undefined;
|
|
2640
|
+
}>>>]>>;
|
|
2641
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2154
2642
|
__ref: _$zod.ZodString;
|
|
2155
2643
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
2156
2644
|
$state: string;
|
|
@@ -2200,7 +2688,7 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2200
2688
|
lt?: number | undefined;
|
|
2201
2689
|
lte?: number | undefined;
|
|
2202
2690
|
}>>, _$zod.ZodObject<{
|
|
2203
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2691
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2204
2692
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2205
2693
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2206
2694
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2227,7 +2715,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2227
2715
|
gte?: number | undefined;
|
|
2228
2716
|
lt?: number | undefined;
|
|
2229
2717
|
lte?: number | undefined;
|
|
2230
|
-
}
|
|
2718
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2719
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2720
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2721
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2722
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2723
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2724
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2725
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2726
|
+
$state: _$zod.ZodString;
|
|
2727
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2728
|
+
$state: string;
|
|
2729
|
+
not?: true | undefined;
|
|
2730
|
+
eq?: unknown;
|
|
2731
|
+
neq?: unknown;
|
|
2732
|
+
gt?: number | undefined;
|
|
2733
|
+
gte?: number | undefined;
|
|
2734
|
+
lt?: number | undefined;
|
|
2735
|
+
lte?: number | undefined;
|
|
2736
|
+
}, {
|
|
2737
|
+
$state: string;
|
|
2738
|
+
not?: true | undefined;
|
|
2739
|
+
eq?: unknown;
|
|
2740
|
+
neq?: unknown;
|
|
2741
|
+
gt?: number | undefined;
|
|
2742
|
+
gte?: number | undefined;
|
|
2743
|
+
lt?: number | undefined;
|
|
2744
|
+
lte?: number | undefined;
|
|
2745
|
+
}>>>]>>;
|
|
2231
2746
|
}, _$zod_v4_core0.$strict>, _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2232
2747
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2233
2748
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2256,7 +2771,34 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2256
2771
|
lt?: number | undefined;
|
|
2257
2772
|
lte?: number | undefined;
|
|
2258
2773
|
}>>, _$zod.ZodObject<{
|
|
2259
|
-
$or: _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2774
|
+
$or: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2775
|
+
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2776
|
+
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2777
|
+
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2778
|
+
gt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2779
|
+
gte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2780
|
+
lt: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2781
|
+
lte: _$zod.ZodOptional<_$zod.ZodNumber>;
|
|
2782
|
+
$state: _$zod.ZodString;
|
|
2783
|
+
}, _$zod_v4_core0.$strict>, _$zod.ZodTransform<{
|
|
2784
|
+
$state: string;
|
|
2785
|
+
not?: true | undefined;
|
|
2786
|
+
eq?: unknown;
|
|
2787
|
+
neq?: unknown;
|
|
2788
|
+
gt?: number | undefined;
|
|
2789
|
+
gte?: number | undefined;
|
|
2790
|
+
lt?: number | undefined;
|
|
2791
|
+
lte?: number | undefined;
|
|
2792
|
+
}, {
|
|
2793
|
+
$state: string;
|
|
2794
|
+
not?: true | undefined;
|
|
2795
|
+
eq?: unknown;
|
|
2796
|
+
neq?: unknown;
|
|
2797
|
+
gt?: number | undefined;
|
|
2798
|
+
gte?: number | undefined;
|
|
2799
|
+
lt?: number | undefined;
|
|
2800
|
+
lte?: number | undefined;
|
|
2801
|
+
}>>, _$zod.ZodArray<_$zod.ZodPipe<_$zod.ZodObject<{
|
|
2260
2802
|
not: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
|
|
2261
2803
|
eq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
2262
2804
|
neq: _$zod.ZodOptional<_$zod.ZodUnknown>;
|
|
@@ -2283,8 +2825,8 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2283
2825
|
gte?: number | undefined;
|
|
2284
2826
|
lt?: number | undefined;
|
|
2285
2827
|
lte?: number | undefined;
|
|
2286
|
-
}
|
|
2287
|
-
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2828
|
+
}>>>]>>;
|
|
2829
|
+
}, _$zod_v4_core0.$strict>]>>, _$zod.ZodLiteral<false>, _$zod.ZodPipe<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodObject<{
|
|
2288
2830
|
__ref: _$zod.ZodString;
|
|
2289
2831
|
}, _$zod_v4_core0.$strip>]>>, _$zod.ZodTransform<{
|
|
2290
2832
|
$state: string;
|
|
@@ -2377,6 +2919,12 @@ declare const ReactNativeSystem: ConfigClass<{
|
|
|
2377
2919
|
}: ComputedInput) => string[];
|
|
2378
2920
|
}, false>, "ref"> & {
|
|
2379
2921
|
ref<const Path extends PathOf<"component">>(path: Path): ComponentReference<ComponentContractOf<Path>>;
|
|
2922
|
+
slots: typeof listSlots;
|
|
2923
|
+
slot: typeof slotOf;
|
|
2924
|
+
slotHostedBy: typeof slotHostedBy;
|
|
2925
|
+
namedSlots: typeof namedSlots;
|
|
2926
|
+
cell: typeof cellAt;
|
|
2927
|
+
instance: typeof instanceAt;
|
|
2380
2928
|
};
|
|
2381
2929
|
modifiers: EntityClass<_$zod.ZodObject<{
|
|
2382
2930
|
type: _$zod.ZodEnum<{
|