@yahoo/uds-create-config 5.80.0 → 5.81.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/capture/capture-to-spec.js +119 -24
- package/dist/capture/class-grammar.d.ts +3 -0
- package/dist/capture/class-grammar.js +4 -0
- package/dist/capture/node-ops.js +1 -1
- package/dist/configs/react-native-system.d.ts +25 -25
- package/dist/entities/native/NativeModifier.d.ts +2 -2
- package/dist/entities/native/NativeStyleProperty.d.ts +48 -48
- package/dist/entities/native/NativeToken.js +1 -1
- package/dist/entities/system/Component.js +1 -1
- package/dist/entities/system/Modifier.d.ts +3 -3
- package/dist/entities/system/Motion.d.ts +129 -129
- package/dist/entities/system/Motion.js +1 -1
- package/dist/entities/system/Source.js +1 -1
- package/dist/entities/system/StyleProperty.d.ts +1 -1
- package/dist/entities/system/StyleProperty.js +1 -1
- package/dist/entities/system/Token.js +1 -1
- package/dist/entities/system/component-module.js +1 -1
- package/dist/entities/system/css-motion-reach.js +1 -1
- package/dist/entities/system/linked-style-values.js +1 -1
- package/dist/entities/system/linked-token-values.js +1 -1
- package/dist/entities/system/motion-convert.js +1 -1
- package/dist/entities/system/motion-variants.js +1 -1
- package/dist/entities/system/reanimated-motion.d.ts +118 -118
- package/dist/entities/system/style-bag.js +2 -2
- package/dist/framework/Config.js +1 -1
- package/dist/framework/default-conditions.js +1 -1
- package/dist/framework/schemas.js +1 -1
- package/dist/framework/source-integrity.js +1 -1
- package/dist/index.js +2 -2
- package/dist/lint/context.js +1 -1
- package/dist/migrations/2.0.0/v1-artifact.js +1 -1
- package/dist/renderer/wrappers/html-aliases.js +8 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -11,29 +11,6 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
11
11
|
color: "color";
|
|
12
12
|
inset: "inset";
|
|
13
13
|
position: "position";
|
|
14
|
-
fontFamily: "fontFamily";
|
|
15
|
-
end: "end";
|
|
16
|
-
start: "start";
|
|
17
|
-
bottom: "bottom";
|
|
18
|
-
left: "left";
|
|
19
|
-
right: "right";
|
|
20
|
-
top: "top";
|
|
21
|
-
flex: "flex";
|
|
22
|
-
cursor: "cursor";
|
|
23
|
-
direction: "direction";
|
|
24
|
-
display: "display";
|
|
25
|
-
gap: "gap";
|
|
26
|
-
height: "height";
|
|
27
|
-
isolation: "isolation";
|
|
28
|
-
margin: "margin";
|
|
29
|
-
opacity: "opacity";
|
|
30
|
-
overflow: "overflow";
|
|
31
|
-
padding: "padding";
|
|
32
|
-
width: "width";
|
|
33
|
-
flexGrow: "flexGrow";
|
|
34
|
-
flexShrink: "flexShrink";
|
|
35
|
-
flexBasis: "flexBasis";
|
|
36
|
-
lineHeight: "lineHeight";
|
|
37
14
|
alignContent: "alignContent";
|
|
38
15
|
alignItems: "alignItems";
|
|
39
16
|
alignSelf: "alignSelf";
|
|
@@ -72,20 +49,32 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
72
49
|
borderTopStartRadius: "borderTopStartRadius";
|
|
73
50
|
borderTopWidth: "borderTopWidth";
|
|
74
51
|
borderWidth: "borderWidth";
|
|
52
|
+
bottom: "bottom";
|
|
75
53
|
boxShadow: "boxShadow";
|
|
76
54
|
boxSizing: "boxSizing";
|
|
77
55
|
columnGap: "columnGap";
|
|
56
|
+
cursor: "cursor";
|
|
57
|
+
direction: "direction";
|
|
58
|
+
display: "display";
|
|
78
59
|
elevation: "elevation";
|
|
60
|
+
end: "end";
|
|
79
61
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
80
62
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
81
63
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
82
64
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
65
|
+
flex: "flex";
|
|
66
|
+
flexBasis: "flexBasis";
|
|
83
67
|
flexDirection: "flexDirection";
|
|
68
|
+
flexGrow: "flexGrow";
|
|
69
|
+
flexShrink: "flexShrink";
|
|
84
70
|
flexWrap: "flexWrap";
|
|
71
|
+
fontFamily: "fontFamily";
|
|
85
72
|
fontSize: "fontSize";
|
|
86
73
|
fontStyle: "fontStyle";
|
|
87
74
|
fontVariant: "fontVariant";
|
|
88
75
|
fontWeight: "fontWeight";
|
|
76
|
+
gap: "gap";
|
|
77
|
+
height: "height";
|
|
89
78
|
includeFontPadding: "includeFontPadding";
|
|
90
79
|
insetBlock: "insetBlock";
|
|
91
80
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -93,8 +82,12 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
93
82
|
insetInline: "insetInline";
|
|
94
83
|
insetInlineEnd: "insetInlineEnd";
|
|
95
84
|
insetInlineStart: "insetInlineStart";
|
|
85
|
+
isolation: "isolation";
|
|
96
86
|
justifyContent: "justifyContent";
|
|
87
|
+
left: "left";
|
|
97
88
|
letterSpacing: "letterSpacing";
|
|
89
|
+
lineHeight: "lineHeight";
|
|
90
|
+
margin: "margin";
|
|
98
91
|
marginBlock: "marginBlock";
|
|
99
92
|
marginBlockEnd: "marginBlockEnd";
|
|
100
93
|
marginBlockStart: "marginBlockStart";
|
|
@@ -115,11 +108,14 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
115
108
|
minWidth: "minWidth";
|
|
116
109
|
mixBlendMode: "mixBlendMode";
|
|
117
110
|
objectFit: "objectFit";
|
|
111
|
+
opacity: "opacity";
|
|
118
112
|
outlineColor: "outlineColor";
|
|
119
113
|
outlineOffset: "outlineOffset";
|
|
120
114
|
outlineStyle: "outlineStyle";
|
|
121
115
|
outlineWidth: "outlineWidth";
|
|
116
|
+
overflow: "overflow";
|
|
122
117
|
overlayColor: "overlayColor";
|
|
118
|
+
padding: "padding";
|
|
123
119
|
paddingBlock: "paddingBlock";
|
|
124
120
|
paddingBlockEnd: "paddingBlockEnd";
|
|
125
121
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -136,6 +132,7 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
136
132
|
paddingVertical: "paddingVertical";
|
|
137
133
|
pointerEvents: "pointerEvents";
|
|
138
134
|
resizeMode: "resizeMode";
|
|
135
|
+
right: "right";
|
|
139
136
|
rotation: "rotation";
|
|
140
137
|
rowGap: "rowGap";
|
|
141
138
|
scaleX: "scaleX";
|
|
@@ -144,6 +141,7 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
144
141
|
shadowOffset: "shadowOffset";
|
|
145
142
|
shadowOpacity: "shadowOpacity";
|
|
146
143
|
shadowRadius: "shadowRadius";
|
|
144
|
+
start: "start";
|
|
147
145
|
textAlign: "textAlign";
|
|
148
146
|
textAlignVertical: "textAlignVertical";
|
|
149
147
|
textDecorationColor: "textDecorationColor";
|
|
@@ -154,12 +152,14 @@ declare const rnStyleKey: z.ZodEnum<{
|
|
|
154
152
|
textShadowRadius: "textShadowRadius";
|
|
155
153
|
textTransform: "textTransform";
|
|
156
154
|
tintColor: "tintColor";
|
|
155
|
+
top: "top";
|
|
157
156
|
transformMatrix: "transformMatrix";
|
|
158
157
|
transformOrigin: "transformOrigin";
|
|
159
158
|
translateX: "translateX";
|
|
160
159
|
translateY: "translateY";
|
|
161
160
|
userSelect: "userSelect";
|
|
162
161
|
verticalAlign: "verticalAlign";
|
|
162
|
+
width: "width";
|
|
163
163
|
writingDirection: "writingDirection";
|
|
164
164
|
zIndex: "zIndex";
|
|
165
165
|
}>;
|
|
@@ -190,7 +190,6 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
190
190
|
turn: "turn";
|
|
191
191
|
s: "s";
|
|
192
192
|
ms: "ms";
|
|
193
|
-
fr: "fr";
|
|
194
193
|
unitless: "unitless";
|
|
195
194
|
lh: "lh";
|
|
196
195
|
rlh: "rlh";
|
|
@@ -198,6 +197,7 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
198
197
|
cqh: "cqh";
|
|
199
198
|
cqi: "cqi";
|
|
200
199
|
cqb: "cqb";
|
|
200
|
+
fr: "fr";
|
|
201
201
|
}>]>>;
|
|
202
202
|
negates: z.ZodDefault<z.ZodBoolean>;
|
|
203
203
|
selector: z.ZodOptional<z.ZodString>;
|
|
@@ -206,36 +206,13 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
206
206
|
__ref: z.ZodString;
|
|
207
207
|
}, z.core.$strip>]>>>;
|
|
208
208
|
opacityOf: z.ZodOptional<z.ZodLazy<z.ZodType<Ref, unknown, z.core.$ZodTypeInternals<Ref, unknown>>>>;
|
|
209
|
-
}, "values" | "alpha" | "properties" | "
|
|
209
|
+
}, "values" | "alpha" | "properties" | "selector" | "classPrefix" | "declarations"> & {
|
|
210
210
|
properties: z.ZodArray<z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodEnum<{
|
|
211
211
|
transform: "transform";
|
|
212
212
|
filter: "filter";
|
|
213
213
|
color: "color";
|
|
214
214
|
inset: "inset";
|
|
215
215
|
position: "position";
|
|
216
|
-
fontFamily: "fontFamily";
|
|
217
|
-
end: "end";
|
|
218
|
-
start: "start";
|
|
219
|
-
bottom: "bottom";
|
|
220
|
-
left: "left";
|
|
221
|
-
right: "right";
|
|
222
|
-
top: "top";
|
|
223
|
-
flex: "flex";
|
|
224
|
-
cursor: "cursor";
|
|
225
|
-
direction: "direction";
|
|
226
|
-
display: "display";
|
|
227
|
-
gap: "gap";
|
|
228
|
-
height: "height";
|
|
229
|
-
isolation: "isolation";
|
|
230
|
-
margin: "margin";
|
|
231
|
-
opacity: "opacity";
|
|
232
|
-
overflow: "overflow";
|
|
233
|
-
padding: "padding";
|
|
234
|
-
width: "width";
|
|
235
|
-
flexGrow: "flexGrow";
|
|
236
|
-
flexShrink: "flexShrink";
|
|
237
|
-
flexBasis: "flexBasis";
|
|
238
|
-
lineHeight: "lineHeight";
|
|
239
216
|
alignContent: "alignContent";
|
|
240
217
|
alignItems: "alignItems";
|
|
241
218
|
alignSelf: "alignSelf";
|
|
@@ -274,20 +251,32 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
274
251
|
borderTopStartRadius: "borderTopStartRadius";
|
|
275
252
|
borderTopWidth: "borderTopWidth";
|
|
276
253
|
borderWidth: "borderWidth";
|
|
254
|
+
bottom: "bottom";
|
|
277
255
|
boxShadow: "boxShadow";
|
|
278
256
|
boxSizing: "boxSizing";
|
|
279
257
|
columnGap: "columnGap";
|
|
258
|
+
cursor: "cursor";
|
|
259
|
+
direction: "direction";
|
|
260
|
+
display: "display";
|
|
280
261
|
elevation: "elevation";
|
|
262
|
+
end: "end";
|
|
281
263
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
282
264
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
283
265
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
284
266
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
267
|
+
flex: "flex";
|
|
268
|
+
flexBasis: "flexBasis";
|
|
285
269
|
flexDirection: "flexDirection";
|
|
270
|
+
flexGrow: "flexGrow";
|
|
271
|
+
flexShrink: "flexShrink";
|
|
286
272
|
flexWrap: "flexWrap";
|
|
273
|
+
fontFamily: "fontFamily";
|
|
287
274
|
fontSize: "fontSize";
|
|
288
275
|
fontStyle: "fontStyle";
|
|
289
276
|
fontVariant: "fontVariant";
|
|
290
277
|
fontWeight: "fontWeight";
|
|
278
|
+
gap: "gap";
|
|
279
|
+
height: "height";
|
|
291
280
|
includeFontPadding: "includeFontPadding";
|
|
292
281
|
insetBlock: "insetBlock";
|
|
293
282
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -295,8 +284,12 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
295
284
|
insetInline: "insetInline";
|
|
296
285
|
insetInlineEnd: "insetInlineEnd";
|
|
297
286
|
insetInlineStart: "insetInlineStart";
|
|
287
|
+
isolation: "isolation";
|
|
298
288
|
justifyContent: "justifyContent";
|
|
289
|
+
left: "left";
|
|
299
290
|
letterSpacing: "letterSpacing";
|
|
291
|
+
lineHeight: "lineHeight";
|
|
292
|
+
margin: "margin";
|
|
300
293
|
marginBlock: "marginBlock";
|
|
301
294
|
marginBlockEnd: "marginBlockEnd";
|
|
302
295
|
marginBlockStart: "marginBlockStart";
|
|
@@ -317,11 +310,14 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
317
310
|
minWidth: "minWidth";
|
|
318
311
|
mixBlendMode: "mixBlendMode";
|
|
319
312
|
objectFit: "objectFit";
|
|
313
|
+
opacity: "opacity";
|
|
320
314
|
outlineColor: "outlineColor";
|
|
321
315
|
outlineOffset: "outlineOffset";
|
|
322
316
|
outlineStyle: "outlineStyle";
|
|
323
317
|
outlineWidth: "outlineWidth";
|
|
318
|
+
overflow: "overflow";
|
|
324
319
|
overlayColor: "overlayColor";
|
|
320
|
+
padding: "padding";
|
|
325
321
|
paddingBlock: "paddingBlock";
|
|
326
322
|
paddingBlockEnd: "paddingBlockEnd";
|
|
327
323
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -338,6 +334,7 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
338
334
|
paddingVertical: "paddingVertical";
|
|
339
335
|
pointerEvents: "pointerEvents";
|
|
340
336
|
resizeMode: "resizeMode";
|
|
337
|
+
right: "right";
|
|
341
338
|
rotation: "rotation";
|
|
342
339
|
rowGap: "rowGap";
|
|
343
340
|
scaleX: "scaleX";
|
|
@@ -346,6 +343,7 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
346
343
|
shadowOffset: "shadowOffset";
|
|
347
344
|
shadowOpacity: "shadowOpacity";
|
|
348
345
|
shadowRadius: "shadowRadius";
|
|
346
|
+
start: "start";
|
|
349
347
|
textAlign: "textAlign";
|
|
350
348
|
textAlignVertical: "textAlignVertical";
|
|
351
349
|
textDecorationColor: "textDecorationColor";
|
|
@@ -356,12 +354,14 @@ declare const NativeStyleProperty: EntityClass<z.ZodObject<Omit<{
|
|
|
356
354
|
textShadowRadius: "textShadowRadius";
|
|
357
355
|
textTransform: "textTransform";
|
|
358
356
|
tintColor: "tintColor";
|
|
357
|
+
top: "top";
|
|
359
358
|
transformMatrix: "transformMatrix";
|
|
360
359
|
transformOrigin: "transformOrigin";
|
|
361
360
|
translateX: "translateX";
|
|
362
361
|
translateY: "translateY";
|
|
363
362
|
userSelect: "userSelect";
|
|
364
363
|
verticalAlign: "verticalAlign";
|
|
364
|
+
width: "width";
|
|
365
365
|
writingDirection: "writingDirection";
|
|
366
366
|
zIndex: "zIndex";
|
|
367
367
|
}>>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NATIVE_CONFIG_NAME } from "../../configs/platform.js";
|
|
2
1
|
import { refSchema } from "../../framework/utils/refs.js";
|
|
2
|
+
import { NATIVE_CONFIG_NAME } from "../../configs/platform.js";
|
|
3
3
|
import { oklchColor } from "../system/color.js";
|
|
4
4
|
import { shadowValue } from "../system/shadow.js";
|
|
5
5
|
import { orList } from "../../framework/defineSubEntity.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { canonicalCondition, collectRefs, isRef, kindOf, memberRef, pathOf, ref, refLeaf, refSchema, sourceOf, splitRef } from "../../framework/utils/refs.js";
|
|
1
2
|
import "../../configs/platform.js";
|
|
2
3
|
import { isPlainObject } from "../../framework/utils/field-path.js";
|
|
3
|
-
import { canonicalCondition, collectRefs, isRef, kindOf, memberRef, pathOf, ref, refLeaf, refSchema, sourceOf, splitRef } from "../../framework/utils/refs.js";
|
|
4
4
|
import { storedDefaultConditions } from "../../framework/default-conditions.js";
|
|
5
5
|
import { reject, rejectData } from "../../framework/rejection.js";
|
|
6
6
|
import { pathInput } from "../../framework/schemas.js";
|
|
@@ -30,8 +30,8 @@ type WebActivation = (typeof WEB_ACTIVATIONS)[number];
|
|
|
30
30
|
*/
|
|
31
31
|
declare const modifierGroupFields: z.ZodObject<{
|
|
32
32
|
type: z.ZodOptional<z.ZodEnum<{
|
|
33
|
-
mode: "mode";
|
|
34
33
|
state: "state";
|
|
34
|
+
mode: "mode";
|
|
35
35
|
}>>;
|
|
36
36
|
default: z.ZodOptional<z.ZodObject<{
|
|
37
37
|
__ref: z.ZodString;
|
|
@@ -43,8 +43,8 @@ type ModifierGroupMeta = z.infer<typeof modifierGroupFields> & {
|
|
|
43
43
|
};
|
|
44
44
|
declare const ModifierDefinition: EntityClass<z.ZodObject<{
|
|
45
45
|
type: z.ZodEnum<{
|
|
46
|
-
composite: "composite";
|
|
47
46
|
selector: "selector";
|
|
47
|
+
composite: "composite";
|
|
48
48
|
"media-query": "media-query";
|
|
49
49
|
"starting-style": "starting-style";
|
|
50
50
|
}>;
|
|
@@ -53,8 +53,8 @@ declare const ModifierDefinition: EntityClass<z.ZodObject<{
|
|
|
53
53
|
declarations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
54
54
|
}, z.core.$strip>, z.ZodObject<{
|
|
55
55
|
type: z.ZodOptional<z.ZodEnum<{
|
|
56
|
-
mode: "mode";
|
|
57
56
|
state: "state";
|
|
57
|
+
mode: "mode";
|
|
58
58
|
}>>;
|
|
59
59
|
default: z.ZodOptional<z.ZodObject<{
|
|
60
60
|
__ref: z.ZodString;
|