@yahoo/uds-create-config 5.41.1 → 5.41.3
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/README.md +7 -0
- package/dist/configs/react-native-system.d.ts +153 -153
- package/dist/configs/react-native-system.js +1 -1
- package/dist/configs/system.d.ts +122 -122
- package/dist/configs/system.js +3 -1
- package/dist/entities/documentation/Documentation.d.ts +1 -1
- package/dist/entities/native/NativeModifier.d.ts +2 -2
- package/dist/entities/native/NativeStyleProperty.d.ts +61 -61
- package/dist/entities/native/NativeToken.js +2 -1
- package/dist/entities/system/Component.js +7 -5
- package/dist/entities/system/Modifier.d.ts +2 -2
- package/dist/entities/system/Motion.d.ts +122 -122
- package/dist/entities/system/Motion.js +1 -1
- package/dist/entities/system/Token.js +1 -1
- package/dist/entities/system/component-module.js +1 -1
- package/dist/entities/system/linked-style-values.js +1 -1
- package/dist/entities/system/linked-token-values.js +2 -2
- package/dist/entities/system/reanimated-motion.d.ts +122 -122
- package/dist/entities/system/style-bag.d.ts +1 -1
- package/dist/entities/system/style-bag.js +32 -14
- package/dist/framework/Config.d.ts +1 -1
- package/dist/framework/Config.js +1 -1
- package/dist/framework/schema-version.d.ts +1 -1
- package/dist/framework/schema-version.js +5 -5
- package/dist/index.js +1 -1
- package/dist/migrations/2.0.0/v1-artifact.d.ts +122 -122
- package/dist/migrations/20261016201727_native_style_arrays_and_auto.d.ts +4 -0
- package/dist/migrations/20261016201727_native_style_arrays_and_auto.js +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -43,6 +43,37 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
43
43
|
none: "none";
|
|
44
44
|
inset: "inset";
|
|
45
45
|
position: "position";
|
|
46
|
+
fontFamily: "fontFamily";
|
|
47
|
+
end: "end";
|
|
48
|
+
start: "start";
|
|
49
|
+
all: "all";
|
|
50
|
+
bottom: "bottom";
|
|
51
|
+
left: "left";
|
|
52
|
+
right: "right";
|
|
53
|
+
top: "top";
|
|
54
|
+
flex: "flex";
|
|
55
|
+
cursor: "cursor";
|
|
56
|
+
direction: "direction";
|
|
57
|
+
display: "display";
|
|
58
|
+
gap: "gap";
|
|
59
|
+
height: "height";
|
|
60
|
+
isolation: "isolation";
|
|
61
|
+
margin: "margin";
|
|
62
|
+
opacity: "opacity";
|
|
63
|
+
overflow: "overflow";
|
|
64
|
+
padding: "padding";
|
|
65
|
+
width: "width";
|
|
66
|
+
flexGrow: "flexGrow";
|
|
67
|
+
flexShrink: "flexShrink";
|
|
68
|
+
flexBasis: "flexBasis";
|
|
69
|
+
lineHeight: "lineHeight";
|
|
70
|
+
elevation: "elevation";
|
|
71
|
+
fontSize: "fontSize";
|
|
72
|
+
fontStyle: "fontStyle";
|
|
73
|
+
fontVariant: "fontVariant";
|
|
74
|
+
fontWeight: "fontWeight";
|
|
75
|
+
letterSpacing: "letterSpacing";
|
|
76
|
+
pointerEvents: "pointerEvents";
|
|
46
77
|
alignContent: "alignContent";
|
|
47
78
|
alignItems: "alignItems";
|
|
48
79
|
alignSelf: "alignSelf";
|
|
@@ -81,32 +112,15 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
81
112
|
borderTopStartRadius: "borderTopStartRadius";
|
|
82
113
|
borderTopWidth: "borderTopWidth";
|
|
83
114
|
borderWidth: "borderWidth";
|
|
84
|
-
bottom: "bottom";
|
|
85
115
|
boxShadow: "boxShadow";
|
|
86
116
|
boxSizing: "boxSizing";
|
|
87
117
|
columnGap: "columnGap";
|
|
88
|
-
cursor: "cursor";
|
|
89
|
-
direction: "direction";
|
|
90
|
-
display: "display";
|
|
91
|
-
elevation: "elevation";
|
|
92
|
-
end: "end";
|
|
93
118
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
94
119
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
95
120
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
96
121
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
97
|
-
flex: "flex";
|
|
98
|
-
flexBasis: "flexBasis";
|
|
99
122
|
flexDirection: "flexDirection";
|
|
100
|
-
flexGrow: "flexGrow";
|
|
101
|
-
flexShrink: "flexShrink";
|
|
102
123
|
flexWrap: "flexWrap";
|
|
103
|
-
fontFamily: "fontFamily";
|
|
104
|
-
fontSize: "fontSize";
|
|
105
|
-
fontStyle: "fontStyle";
|
|
106
|
-
fontVariant: "fontVariant";
|
|
107
|
-
fontWeight: "fontWeight";
|
|
108
|
-
gap: "gap";
|
|
109
|
-
height: "height";
|
|
110
124
|
includeFontPadding: "includeFontPadding";
|
|
111
125
|
insetBlock: "insetBlock";
|
|
112
126
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -114,12 +128,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
114
128
|
insetInline: "insetInline";
|
|
115
129
|
insetInlineEnd: "insetInlineEnd";
|
|
116
130
|
insetInlineStart: "insetInlineStart";
|
|
117
|
-
isolation: "isolation";
|
|
118
131
|
justifyContent: "justifyContent";
|
|
119
|
-
left: "left";
|
|
120
|
-
letterSpacing: "letterSpacing";
|
|
121
|
-
lineHeight: "lineHeight";
|
|
122
|
-
margin: "margin";
|
|
123
132
|
marginBlock: "marginBlock";
|
|
124
133
|
marginBlockEnd: "marginBlockEnd";
|
|
125
134
|
marginBlockStart: "marginBlockStart";
|
|
@@ -140,14 +149,11 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
140
149
|
minWidth: "minWidth";
|
|
141
150
|
mixBlendMode: "mixBlendMode";
|
|
142
151
|
objectFit: "objectFit";
|
|
143
|
-
opacity: "opacity";
|
|
144
152
|
outlineColor: "outlineColor";
|
|
145
153
|
outlineOffset: "outlineOffset";
|
|
146
154
|
outlineStyle: "outlineStyle";
|
|
147
155
|
outlineWidth: "outlineWidth";
|
|
148
|
-
overflow: "overflow";
|
|
149
156
|
overlayColor: "overlayColor";
|
|
150
|
-
padding: "padding";
|
|
151
157
|
paddingBlock: "paddingBlock";
|
|
152
158
|
paddingBlockEnd: "paddingBlockEnd";
|
|
153
159
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -162,9 +168,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
162
168
|
paddingStart: "paddingStart";
|
|
163
169
|
paddingTop: "paddingTop";
|
|
164
170
|
paddingVertical: "paddingVertical";
|
|
165
|
-
pointerEvents: "pointerEvents";
|
|
166
171
|
resizeMode: "resizeMode";
|
|
167
|
-
right: "right";
|
|
168
172
|
rotation: "rotation";
|
|
169
173
|
rowGap: "rowGap";
|
|
170
174
|
scaleX: "scaleX";
|
|
@@ -173,7 +177,6 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
173
177
|
shadowOffset: "shadowOffset";
|
|
174
178
|
shadowOpacity: "shadowOpacity";
|
|
175
179
|
shadowRadius: "shadowRadius";
|
|
176
|
-
start: "start";
|
|
177
180
|
textAlign: "textAlign";
|
|
178
181
|
textAlignVertical: "textAlignVertical";
|
|
179
182
|
textDecorationColor: "textDecorationColor";
|
|
@@ -184,23 +187,51 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
184
187
|
textShadowRadius: "textShadowRadius";
|
|
185
188
|
textTransform: "textTransform";
|
|
186
189
|
tintColor: "tintColor";
|
|
187
|
-
top: "top";
|
|
188
190
|
transformMatrix: "transformMatrix";
|
|
189
191
|
transformOrigin: "transformOrigin";
|
|
190
192
|
translateX: "translateX";
|
|
191
193
|
translateY: "translateY";
|
|
192
194
|
userSelect: "userSelect";
|
|
193
195
|
verticalAlign: "verticalAlign";
|
|
194
|
-
width: "width";
|
|
195
196
|
writingDirection: "writingDirection";
|
|
196
197
|
zIndex: "zIndex";
|
|
197
|
-
all: "all";
|
|
198
198
|
}>, z.ZodArray<z.ZodEnum<{
|
|
199
199
|
transform: "transform";
|
|
200
200
|
filter: "filter";
|
|
201
201
|
color: "color";
|
|
202
202
|
inset: "inset";
|
|
203
203
|
position: "position";
|
|
204
|
+
fontFamily: "fontFamily";
|
|
205
|
+
end: "end";
|
|
206
|
+
start: "start";
|
|
207
|
+
all: "all";
|
|
208
|
+
bottom: "bottom";
|
|
209
|
+
left: "left";
|
|
210
|
+
right: "right";
|
|
211
|
+
top: "top";
|
|
212
|
+
flex: "flex";
|
|
213
|
+
cursor: "cursor";
|
|
214
|
+
direction: "direction";
|
|
215
|
+
display: "display";
|
|
216
|
+
gap: "gap";
|
|
217
|
+
height: "height";
|
|
218
|
+
isolation: "isolation";
|
|
219
|
+
margin: "margin";
|
|
220
|
+
opacity: "opacity";
|
|
221
|
+
overflow: "overflow";
|
|
222
|
+
padding: "padding";
|
|
223
|
+
width: "width";
|
|
224
|
+
flexGrow: "flexGrow";
|
|
225
|
+
flexShrink: "flexShrink";
|
|
226
|
+
flexBasis: "flexBasis";
|
|
227
|
+
lineHeight: "lineHeight";
|
|
228
|
+
elevation: "elevation";
|
|
229
|
+
fontSize: "fontSize";
|
|
230
|
+
fontStyle: "fontStyle";
|
|
231
|
+
fontVariant: "fontVariant";
|
|
232
|
+
fontWeight: "fontWeight";
|
|
233
|
+
letterSpacing: "letterSpacing";
|
|
234
|
+
pointerEvents: "pointerEvents";
|
|
204
235
|
alignContent: "alignContent";
|
|
205
236
|
alignItems: "alignItems";
|
|
206
237
|
alignSelf: "alignSelf";
|
|
@@ -239,32 +270,15 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
239
270
|
borderTopStartRadius: "borderTopStartRadius";
|
|
240
271
|
borderTopWidth: "borderTopWidth";
|
|
241
272
|
borderWidth: "borderWidth";
|
|
242
|
-
bottom: "bottom";
|
|
243
273
|
boxShadow: "boxShadow";
|
|
244
274
|
boxSizing: "boxSizing";
|
|
245
275
|
columnGap: "columnGap";
|
|
246
|
-
cursor: "cursor";
|
|
247
|
-
direction: "direction";
|
|
248
|
-
display: "display";
|
|
249
|
-
elevation: "elevation";
|
|
250
|
-
end: "end";
|
|
251
276
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
252
277
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
253
278
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
254
279
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
255
|
-
flex: "flex";
|
|
256
|
-
flexBasis: "flexBasis";
|
|
257
280
|
flexDirection: "flexDirection";
|
|
258
|
-
flexGrow: "flexGrow";
|
|
259
|
-
flexShrink: "flexShrink";
|
|
260
281
|
flexWrap: "flexWrap";
|
|
261
|
-
fontFamily: "fontFamily";
|
|
262
|
-
fontSize: "fontSize";
|
|
263
|
-
fontStyle: "fontStyle";
|
|
264
|
-
fontVariant: "fontVariant";
|
|
265
|
-
fontWeight: "fontWeight";
|
|
266
|
-
gap: "gap";
|
|
267
|
-
height: "height";
|
|
268
282
|
includeFontPadding: "includeFontPadding";
|
|
269
283
|
insetBlock: "insetBlock";
|
|
270
284
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -272,12 +286,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
272
286
|
insetInline: "insetInline";
|
|
273
287
|
insetInlineEnd: "insetInlineEnd";
|
|
274
288
|
insetInlineStart: "insetInlineStart";
|
|
275
|
-
isolation: "isolation";
|
|
276
289
|
justifyContent: "justifyContent";
|
|
277
|
-
left: "left";
|
|
278
|
-
letterSpacing: "letterSpacing";
|
|
279
|
-
lineHeight: "lineHeight";
|
|
280
|
-
margin: "margin";
|
|
281
290
|
marginBlock: "marginBlock";
|
|
282
291
|
marginBlockEnd: "marginBlockEnd";
|
|
283
292
|
marginBlockStart: "marginBlockStart";
|
|
@@ -298,14 +307,11 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
298
307
|
minWidth: "minWidth";
|
|
299
308
|
mixBlendMode: "mixBlendMode";
|
|
300
309
|
objectFit: "objectFit";
|
|
301
|
-
opacity: "opacity";
|
|
302
310
|
outlineColor: "outlineColor";
|
|
303
311
|
outlineOffset: "outlineOffset";
|
|
304
312
|
outlineStyle: "outlineStyle";
|
|
305
313
|
outlineWidth: "outlineWidth";
|
|
306
|
-
overflow: "overflow";
|
|
307
314
|
overlayColor: "overlayColor";
|
|
308
|
-
padding: "padding";
|
|
309
315
|
paddingBlock: "paddingBlock";
|
|
310
316
|
paddingBlockEnd: "paddingBlockEnd";
|
|
311
317
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -320,9 +326,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
320
326
|
paddingStart: "paddingStart";
|
|
321
327
|
paddingTop: "paddingTop";
|
|
322
328
|
paddingVertical: "paddingVertical";
|
|
323
|
-
pointerEvents: "pointerEvents";
|
|
324
329
|
resizeMode: "resizeMode";
|
|
325
|
-
right: "right";
|
|
326
330
|
rotation: "rotation";
|
|
327
331
|
rowGap: "rowGap";
|
|
328
332
|
scaleX: "scaleX";
|
|
@@ -331,7 +335,6 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
331
335
|
shadowOffset: "shadowOffset";
|
|
332
336
|
shadowOpacity: "shadowOpacity";
|
|
333
337
|
shadowRadius: "shadowRadius";
|
|
334
|
-
start: "start";
|
|
335
338
|
textAlign: "textAlign";
|
|
336
339
|
textAlignVertical: "textAlignVertical";
|
|
337
340
|
textDecorationColor: "textDecorationColor";
|
|
@@ -342,17 +345,14 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
342
345
|
textShadowRadius: "textShadowRadius";
|
|
343
346
|
textTransform: "textTransform";
|
|
344
347
|
tintColor: "tintColor";
|
|
345
|
-
top: "top";
|
|
346
348
|
transformMatrix: "transformMatrix";
|
|
347
349
|
transformOrigin: "transformOrigin";
|
|
348
350
|
translateX: "translateX";
|
|
349
351
|
translateY: "translateY";
|
|
350
352
|
userSelect: "userSelect";
|
|
351
353
|
verticalAlign: "verticalAlign";
|
|
352
|
-
width: "width";
|
|
353
354
|
writingDirection: "writingDirection";
|
|
354
355
|
zIndex: "zIndex";
|
|
355
|
-
all: "all";
|
|
356
356
|
}>>]>>;
|
|
357
357
|
transitionDuration: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
|
|
358
358
|
__ref: z.ZodString;
|
|
@@ -398,6 +398,36 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
398
398
|
color: "color";
|
|
399
399
|
inset: "inset";
|
|
400
400
|
position: "position";
|
|
401
|
+
fontFamily: "fontFamily";
|
|
402
|
+
end: "end";
|
|
403
|
+
start: "start";
|
|
404
|
+
bottom: "bottom";
|
|
405
|
+
left: "left";
|
|
406
|
+
right: "right";
|
|
407
|
+
top: "top";
|
|
408
|
+
flex: "flex";
|
|
409
|
+
cursor: "cursor";
|
|
410
|
+
direction: "direction";
|
|
411
|
+
display: "display";
|
|
412
|
+
gap: "gap";
|
|
413
|
+
height: "height";
|
|
414
|
+
isolation: "isolation";
|
|
415
|
+
margin: "margin";
|
|
416
|
+
opacity: "opacity";
|
|
417
|
+
overflow: "overflow";
|
|
418
|
+
padding: "padding";
|
|
419
|
+
width: "width";
|
|
420
|
+
flexGrow: "flexGrow";
|
|
421
|
+
flexShrink: "flexShrink";
|
|
422
|
+
flexBasis: "flexBasis";
|
|
423
|
+
lineHeight: "lineHeight";
|
|
424
|
+
elevation: "elevation";
|
|
425
|
+
fontSize: "fontSize";
|
|
426
|
+
fontStyle: "fontStyle";
|
|
427
|
+
fontVariant: "fontVariant";
|
|
428
|
+
fontWeight: "fontWeight";
|
|
429
|
+
letterSpacing: "letterSpacing";
|
|
430
|
+
pointerEvents: "pointerEvents";
|
|
401
431
|
alignContent: "alignContent";
|
|
402
432
|
alignItems: "alignItems";
|
|
403
433
|
alignSelf: "alignSelf";
|
|
@@ -436,32 +466,15 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
436
466
|
borderTopStartRadius: "borderTopStartRadius";
|
|
437
467
|
borderTopWidth: "borderTopWidth";
|
|
438
468
|
borderWidth: "borderWidth";
|
|
439
|
-
bottom: "bottom";
|
|
440
469
|
boxShadow: "boxShadow";
|
|
441
470
|
boxSizing: "boxSizing";
|
|
442
471
|
columnGap: "columnGap";
|
|
443
|
-
cursor: "cursor";
|
|
444
|
-
direction: "direction";
|
|
445
|
-
display: "display";
|
|
446
|
-
elevation: "elevation";
|
|
447
|
-
end: "end";
|
|
448
472
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
449
473
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
450
474
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
451
475
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
452
|
-
flex: "flex";
|
|
453
|
-
flexBasis: "flexBasis";
|
|
454
476
|
flexDirection: "flexDirection";
|
|
455
|
-
flexGrow: "flexGrow";
|
|
456
|
-
flexShrink: "flexShrink";
|
|
457
477
|
flexWrap: "flexWrap";
|
|
458
|
-
fontFamily: "fontFamily";
|
|
459
|
-
fontSize: "fontSize";
|
|
460
|
-
fontStyle: "fontStyle";
|
|
461
|
-
fontVariant: "fontVariant";
|
|
462
|
-
fontWeight: "fontWeight";
|
|
463
|
-
gap: "gap";
|
|
464
|
-
height: "height";
|
|
465
478
|
includeFontPadding: "includeFontPadding";
|
|
466
479
|
insetBlock: "insetBlock";
|
|
467
480
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -469,12 +482,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
469
482
|
insetInline: "insetInline";
|
|
470
483
|
insetInlineEnd: "insetInlineEnd";
|
|
471
484
|
insetInlineStart: "insetInlineStart";
|
|
472
|
-
isolation: "isolation";
|
|
473
485
|
justifyContent: "justifyContent";
|
|
474
|
-
left: "left";
|
|
475
|
-
letterSpacing: "letterSpacing";
|
|
476
|
-
lineHeight: "lineHeight";
|
|
477
|
-
margin: "margin";
|
|
478
486
|
marginBlock: "marginBlock";
|
|
479
487
|
marginBlockEnd: "marginBlockEnd";
|
|
480
488
|
marginBlockStart: "marginBlockStart";
|
|
@@ -495,14 +503,11 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
495
503
|
minWidth: "minWidth";
|
|
496
504
|
mixBlendMode: "mixBlendMode";
|
|
497
505
|
objectFit: "objectFit";
|
|
498
|
-
opacity: "opacity";
|
|
499
506
|
outlineColor: "outlineColor";
|
|
500
507
|
outlineOffset: "outlineOffset";
|
|
501
508
|
outlineStyle: "outlineStyle";
|
|
502
509
|
outlineWidth: "outlineWidth";
|
|
503
|
-
overflow: "overflow";
|
|
504
510
|
overlayColor: "overlayColor";
|
|
505
|
-
padding: "padding";
|
|
506
511
|
paddingBlock: "paddingBlock";
|
|
507
512
|
paddingBlockEnd: "paddingBlockEnd";
|
|
508
513
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -517,9 +522,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
517
522
|
paddingStart: "paddingStart";
|
|
518
523
|
paddingTop: "paddingTop";
|
|
519
524
|
paddingVertical: "paddingVertical";
|
|
520
|
-
pointerEvents: "pointerEvents";
|
|
521
525
|
resizeMode: "resizeMode";
|
|
522
|
-
right: "right";
|
|
523
526
|
rotation: "rotation";
|
|
524
527
|
rowGap: "rowGap";
|
|
525
528
|
scaleX: "scaleX";
|
|
@@ -528,7 +531,6 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
528
531
|
shadowOffset: "shadowOffset";
|
|
529
532
|
shadowOpacity: "shadowOpacity";
|
|
530
533
|
shadowRadius: "shadowRadius";
|
|
531
|
-
start: "start";
|
|
532
534
|
textAlign: "textAlign";
|
|
533
535
|
textAlignVertical: "textAlignVertical";
|
|
534
536
|
textDecorationColor: "textDecorationColor";
|
|
@@ -539,14 +541,12 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
539
541
|
textShadowRadius: "textShadowRadius";
|
|
540
542
|
textTransform: "textTransform";
|
|
541
543
|
tintColor: "tintColor";
|
|
542
|
-
top: "top";
|
|
543
544
|
transformMatrix: "transformMatrix";
|
|
544
545
|
transformOrigin: "transformOrigin";
|
|
545
546
|
translateX: "translateX";
|
|
546
547
|
translateY: "translateY";
|
|
547
548
|
userSelect: "userSelect";
|
|
548
549
|
verticalAlign: "verticalAlign";
|
|
549
|
-
width: "width";
|
|
550
550
|
writingDirection: "writingDirection";
|
|
551
551
|
zIndex: "zIndex";
|
|
552
552
|
animationTimingFunction: "animationTimingFunction";
|
|
@@ -574,6 +574,36 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
574
574
|
color: "color";
|
|
575
575
|
inset: "inset";
|
|
576
576
|
position: "position";
|
|
577
|
+
fontFamily: "fontFamily";
|
|
578
|
+
end: "end";
|
|
579
|
+
start: "start";
|
|
580
|
+
bottom: "bottom";
|
|
581
|
+
left: "left";
|
|
582
|
+
right: "right";
|
|
583
|
+
top: "top";
|
|
584
|
+
flex: "flex";
|
|
585
|
+
cursor: "cursor";
|
|
586
|
+
direction: "direction";
|
|
587
|
+
display: "display";
|
|
588
|
+
gap: "gap";
|
|
589
|
+
height: "height";
|
|
590
|
+
isolation: "isolation";
|
|
591
|
+
margin: "margin";
|
|
592
|
+
opacity: "opacity";
|
|
593
|
+
overflow: "overflow";
|
|
594
|
+
padding: "padding";
|
|
595
|
+
width: "width";
|
|
596
|
+
flexGrow: "flexGrow";
|
|
597
|
+
flexShrink: "flexShrink";
|
|
598
|
+
flexBasis: "flexBasis";
|
|
599
|
+
lineHeight: "lineHeight";
|
|
600
|
+
elevation: "elevation";
|
|
601
|
+
fontSize: "fontSize";
|
|
602
|
+
fontStyle: "fontStyle";
|
|
603
|
+
fontVariant: "fontVariant";
|
|
604
|
+
fontWeight: "fontWeight";
|
|
605
|
+
letterSpacing: "letterSpacing";
|
|
606
|
+
pointerEvents: "pointerEvents";
|
|
577
607
|
alignContent: "alignContent";
|
|
578
608
|
alignItems: "alignItems";
|
|
579
609
|
alignSelf: "alignSelf";
|
|
@@ -612,32 +642,15 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
612
642
|
borderTopStartRadius: "borderTopStartRadius";
|
|
613
643
|
borderTopWidth: "borderTopWidth";
|
|
614
644
|
borderWidth: "borderWidth";
|
|
615
|
-
bottom: "bottom";
|
|
616
645
|
boxShadow: "boxShadow";
|
|
617
646
|
boxSizing: "boxSizing";
|
|
618
647
|
columnGap: "columnGap";
|
|
619
|
-
cursor: "cursor";
|
|
620
|
-
direction: "direction";
|
|
621
|
-
display: "display";
|
|
622
|
-
elevation: "elevation";
|
|
623
|
-
end: "end";
|
|
624
648
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
625
649
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
626
650
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
627
651
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
628
|
-
flex: "flex";
|
|
629
|
-
flexBasis: "flexBasis";
|
|
630
652
|
flexDirection: "flexDirection";
|
|
631
|
-
flexGrow: "flexGrow";
|
|
632
|
-
flexShrink: "flexShrink";
|
|
633
653
|
flexWrap: "flexWrap";
|
|
634
|
-
fontFamily: "fontFamily";
|
|
635
|
-
fontSize: "fontSize";
|
|
636
|
-
fontStyle: "fontStyle";
|
|
637
|
-
fontVariant: "fontVariant";
|
|
638
|
-
fontWeight: "fontWeight";
|
|
639
|
-
gap: "gap";
|
|
640
|
-
height: "height";
|
|
641
654
|
includeFontPadding: "includeFontPadding";
|
|
642
655
|
insetBlock: "insetBlock";
|
|
643
656
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -645,12 +658,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
645
658
|
insetInline: "insetInline";
|
|
646
659
|
insetInlineEnd: "insetInlineEnd";
|
|
647
660
|
insetInlineStart: "insetInlineStart";
|
|
648
|
-
isolation: "isolation";
|
|
649
661
|
justifyContent: "justifyContent";
|
|
650
|
-
left: "left";
|
|
651
|
-
letterSpacing: "letterSpacing";
|
|
652
|
-
lineHeight: "lineHeight";
|
|
653
|
-
margin: "margin";
|
|
654
662
|
marginBlock: "marginBlock";
|
|
655
663
|
marginBlockEnd: "marginBlockEnd";
|
|
656
664
|
marginBlockStart: "marginBlockStart";
|
|
@@ -671,14 +679,11 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
671
679
|
minWidth: "minWidth";
|
|
672
680
|
mixBlendMode: "mixBlendMode";
|
|
673
681
|
objectFit: "objectFit";
|
|
674
|
-
opacity: "opacity";
|
|
675
682
|
outlineColor: "outlineColor";
|
|
676
683
|
outlineOffset: "outlineOffset";
|
|
677
684
|
outlineStyle: "outlineStyle";
|
|
678
685
|
outlineWidth: "outlineWidth";
|
|
679
|
-
overflow: "overflow";
|
|
680
686
|
overlayColor: "overlayColor";
|
|
681
|
-
padding: "padding";
|
|
682
687
|
paddingBlock: "paddingBlock";
|
|
683
688
|
paddingBlockEnd: "paddingBlockEnd";
|
|
684
689
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -693,9 +698,7 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
693
698
|
paddingStart: "paddingStart";
|
|
694
699
|
paddingTop: "paddingTop";
|
|
695
700
|
paddingVertical: "paddingVertical";
|
|
696
|
-
pointerEvents: "pointerEvents";
|
|
697
701
|
resizeMode: "resizeMode";
|
|
698
|
-
right: "right";
|
|
699
702
|
rotation: "rotation";
|
|
700
703
|
rowGap: "rowGap";
|
|
701
704
|
scaleX: "scaleX";
|
|
@@ -704,7 +707,6 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
704
707
|
shadowOffset: "shadowOffset";
|
|
705
708
|
shadowOpacity: "shadowOpacity";
|
|
706
709
|
shadowRadius: "shadowRadius";
|
|
707
|
-
start: "start";
|
|
708
710
|
textAlign: "textAlign";
|
|
709
711
|
textAlignVertical: "textAlignVertical";
|
|
710
712
|
textDecorationColor: "textDecorationColor";
|
|
@@ -715,14 +717,12 @@ declare const Motion: EntityClass<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
715
717
|
textShadowRadius: "textShadowRadius";
|
|
716
718
|
textTransform: "textTransform";
|
|
717
719
|
tintColor: "tintColor";
|
|
718
|
-
top: "top";
|
|
719
720
|
transformMatrix: "transformMatrix";
|
|
720
721
|
transformOrigin: "transformOrigin";
|
|
721
722
|
translateX: "translateX";
|
|
722
723
|
translateY: "translateY";
|
|
723
724
|
userSelect: "userSelect";
|
|
724
725
|
verticalAlign: "verticalAlign";
|
|
725
|
-
width: "width";
|
|
726
726
|
writingDirection: "writingDirection";
|
|
727
727
|
zIndex: "zIndex";
|
|
728
728
|
animationTimingFunction: "animationTimingFunction";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { isNativeConfig } from "../../configs/platform.js";
|
|
1
2
|
import { isRef, refSchema } from "../../framework/utils/refs.js";
|
|
2
3
|
import { METADATA_KEYS } from "../../framework/utils/field-schema.js";
|
|
3
4
|
import { pathInput } from "../../framework/schemas.js";
|
|
4
5
|
import { defineEntity } from "../../framework/defineEntity.js";
|
|
5
|
-
import { isNativeConfig } from "../../configs/platform.js";
|
|
6
6
|
import { authoredValue } from "../../framework/projections.js";
|
|
7
7
|
import { convertMotion } from "./motion-convert.js";
|
|
8
8
|
import { cssMotionValue, motionTransition, reanimatedMotion, webMotionBody } from "./motion-types.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { WEB_CONFIG_NAME } from "../../configs/platform.js";
|
|
1
2
|
import { isRef, kindOf, pathOf, ref, refKey, sourceOf } from "../../framework/utils/refs.js";
|
|
2
3
|
import { composedValueSchemas } from "./composed-values.js";
|
|
3
4
|
import { defineEntity } from "../../framework/defineEntity.js";
|
|
4
5
|
import { defineSubEntity, orList } from "../../framework/defineSubEntity.js";
|
|
5
6
|
import { Font } from "./Font.js";
|
|
6
|
-
import { WEB_CONFIG_NAME } from "../../configs/platform.js";
|
|
7
7
|
import { spellTokenRead } from "./token-values.js";
|
|
8
8
|
import { Modifier } from "./Modifier.js";
|
|
9
9
|
import { authoringPhantom } from "../../framework/utils/authoring-phantom.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { isNativeConfig } from "../../configs/platform.js";
|
|
1
2
|
import { isRef, kindOf, pathOf, ref, routedSource, sourceHops, splitRef } from "../../framework/utils/refs.js";
|
|
2
3
|
import { createSliceMemo } from "../../framework/memo.js";
|
|
3
|
-
import { isNativeConfig } from "../../configs/platform.js";
|
|
4
4
|
import { Settings, classPrefixOf, prefixed, varPrefixOf } from "./Settings.js";
|
|
5
5
|
import { File } from "./File.js";
|
|
6
6
|
import { Component } from "./Component.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { isRef, pathOf } from "../../framework/utils/refs.js";
|
|
2
1
|
import { NATIVE_CONFIG_NAME } from "../../configs/platform.js";
|
|
2
|
+
import { isRef, pathOf } from "../../framework/utils/refs.js";
|
|
3
3
|
import { isNativeFlexValue, nativeFlexToWeb, webFlexToNative } from "./linked-flex-values.js";
|
|
4
4
|
import { isRelativeLineHeightValue, nativeLineHeightToWeb, webLineHeightToNative } from "./linked-line-height-values.js";
|
|
5
5
|
import { rootFontSize } from "./token-values.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import "../../configs/platform.js";
|
|
1
2
|
import { hasRefMarker, isRef, pathOf } from "../../framework/utils/refs.js";
|
|
2
3
|
import { isCalc } from "./calc.js";
|
|
3
4
|
import { isOklchColor } from "./color.js";
|
|
4
|
-
import "../../configs/platform.js";
|
|
5
5
|
import { isNativeFlexValue, nativeFlexToWeb, webFlexToNative } from "./linked-flex-values.js";
|
|
6
6
|
import { isRelativeLineHeightValue, nativeLineHeightToWeb, webLineHeightToNative } from "./linked-line-height-values.js";
|
|
7
7
|
import { rootFontSize } from "./token-values.js";
|
|
@@ -54,7 +54,7 @@ function convertLinkedTokenValue({ path, value, sourcePlatform, destinationPlatf
|
|
|
54
54
|
if (destinationPlatform === "react-native-system") {
|
|
55
55
|
if (LENGTH_GROUPS.has(group)) {
|
|
56
56
|
if (typeof value === "number") return value;
|
|
57
|
-
if (group === "size" && typeof value === "string" && /^-?(?:\d+(?:\.\d+)?|\.\d+)%$/.test(value)) return value;
|
|
57
|
+
if (group === "size" && typeof value === "string" && (value === "auto" || /^-?(?:\d+(?:\.\d+)?|\.\d+)%$/.test(value))) return value;
|
|
58
58
|
const match = typeof value === "string" ? LENGTH.exec(value) : null;
|
|
59
59
|
if (!match) throw unsupported("native", path, value, "a px or rem length");
|
|
60
60
|
if (match[2] === "rem" && remBase === void 0) throw new Error(`[uds] Linked native token "${path}" has value ${JSON.stringify(value)}, but its source has no fixed root font size for rem conversion.`);
|