@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.
Files changed (30) hide show
  1. package/README.md +7 -0
  2. package/dist/configs/react-native-system.d.ts +153 -153
  3. package/dist/configs/react-native-system.js +1 -1
  4. package/dist/configs/system.d.ts +122 -122
  5. package/dist/configs/system.js +3 -1
  6. package/dist/entities/documentation/Documentation.d.ts +1 -1
  7. package/dist/entities/native/NativeModifier.d.ts +2 -2
  8. package/dist/entities/native/NativeStyleProperty.d.ts +61 -61
  9. package/dist/entities/native/NativeToken.js +2 -1
  10. package/dist/entities/system/Component.js +7 -5
  11. package/dist/entities/system/Modifier.d.ts +2 -2
  12. package/dist/entities/system/Motion.d.ts +122 -122
  13. package/dist/entities/system/Motion.js +1 -1
  14. package/dist/entities/system/Token.js +1 -1
  15. package/dist/entities/system/component-module.js +1 -1
  16. package/dist/entities/system/linked-style-values.js +1 -1
  17. package/dist/entities/system/linked-token-values.js +2 -2
  18. package/dist/entities/system/reanimated-motion.d.ts +122 -122
  19. package/dist/entities/system/style-bag.d.ts +1 -1
  20. package/dist/entities/system/style-bag.js +32 -14
  21. package/dist/framework/Config.d.ts +1 -1
  22. package/dist/framework/Config.js +1 -1
  23. package/dist/framework/schema-version.d.ts +1 -1
  24. package/dist/framework/schema-version.js +5 -5
  25. package/dist/index.js +1 -1
  26. package/dist/migrations/2.0.0/v1-artifact.d.ts +122 -122
  27. package/dist/migrations/20261016201727_native_style_arrays_and_auto.d.ts +4 -0
  28. package/dist/migrations/20261016201727_native_style_arrays_and_auto.js +10 -0
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +2 -2
@@ -7,6 +7,37 @@ export declare const reanimatedStyle: z.ZodObject<{
7
7
  none: "none";
8
8
  inset: "inset";
9
9
  position: "position";
10
+ fontFamily: "fontFamily";
11
+ end: "end";
12
+ start: "start";
13
+ all: "all";
14
+ bottom: "bottom";
15
+ left: "left";
16
+ right: "right";
17
+ top: "top";
18
+ flex: "flex";
19
+ cursor: "cursor";
20
+ direction: "direction";
21
+ display: "display";
22
+ gap: "gap";
23
+ height: "height";
24
+ isolation: "isolation";
25
+ margin: "margin";
26
+ opacity: "opacity";
27
+ overflow: "overflow";
28
+ padding: "padding";
29
+ width: "width";
30
+ flexGrow: "flexGrow";
31
+ flexShrink: "flexShrink";
32
+ flexBasis: "flexBasis";
33
+ lineHeight: "lineHeight";
34
+ elevation: "elevation";
35
+ fontSize: "fontSize";
36
+ fontStyle: "fontStyle";
37
+ fontVariant: "fontVariant";
38
+ fontWeight: "fontWeight";
39
+ letterSpacing: "letterSpacing";
40
+ pointerEvents: "pointerEvents";
10
41
  alignContent: "alignContent";
11
42
  alignItems: "alignItems";
12
43
  alignSelf: "alignSelf";
@@ -45,32 +76,15 @@ export declare const reanimatedStyle: z.ZodObject<{
45
76
  borderTopStartRadius: "borderTopStartRadius";
46
77
  borderTopWidth: "borderTopWidth";
47
78
  borderWidth: "borderWidth";
48
- bottom: "bottom";
49
79
  boxShadow: "boxShadow";
50
80
  boxSizing: "boxSizing";
51
81
  columnGap: "columnGap";
52
- cursor: "cursor";
53
- direction: "direction";
54
- display: "display";
55
- elevation: "elevation";
56
- end: "end";
57
82
  experimental_backgroundImage: "experimental_backgroundImage";
58
83
  experimental_backgroundPosition: "experimental_backgroundPosition";
59
84
  experimental_backgroundRepeat: "experimental_backgroundRepeat";
60
85
  experimental_backgroundSize: "experimental_backgroundSize";
61
- flex: "flex";
62
- flexBasis: "flexBasis";
63
86
  flexDirection: "flexDirection";
64
- flexGrow: "flexGrow";
65
- flexShrink: "flexShrink";
66
87
  flexWrap: "flexWrap";
67
- fontFamily: "fontFamily";
68
- fontSize: "fontSize";
69
- fontStyle: "fontStyle";
70
- fontVariant: "fontVariant";
71
- fontWeight: "fontWeight";
72
- gap: "gap";
73
- height: "height";
74
88
  includeFontPadding: "includeFontPadding";
75
89
  insetBlock: "insetBlock";
76
90
  insetBlockEnd: "insetBlockEnd";
@@ -78,12 +92,7 @@ export declare const reanimatedStyle: z.ZodObject<{
78
92
  insetInline: "insetInline";
79
93
  insetInlineEnd: "insetInlineEnd";
80
94
  insetInlineStart: "insetInlineStart";
81
- isolation: "isolation";
82
95
  justifyContent: "justifyContent";
83
- left: "left";
84
- letterSpacing: "letterSpacing";
85
- lineHeight: "lineHeight";
86
- margin: "margin";
87
96
  marginBlock: "marginBlock";
88
97
  marginBlockEnd: "marginBlockEnd";
89
98
  marginBlockStart: "marginBlockStart";
@@ -104,14 +113,11 @@ export declare const reanimatedStyle: z.ZodObject<{
104
113
  minWidth: "minWidth";
105
114
  mixBlendMode: "mixBlendMode";
106
115
  objectFit: "objectFit";
107
- opacity: "opacity";
108
116
  outlineColor: "outlineColor";
109
117
  outlineOffset: "outlineOffset";
110
118
  outlineStyle: "outlineStyle";
111
119
  outlineWidth: "outlineWidth";
112
- overflow: "overflow";
113
120
  overlayColor: "overlayColor";
114
- padding: "padding";
115
121
  paddingBlock: "paddingBlock";
116
122
  paddingBlockEnd: "paddingBlockEnd";
117
123
  paddingBlockStart: "paddingBlockStart";
@@ -126,9 +132,7 @@ export declare const reanimatedStyle: z.ZodObject<{
126
132
  paddingStart: "paddingStart";
127
133
  paddingTop: "paddingTop";
128
134
  paddingVertical: "paddingVertical";
129
- pointerEvents: "pointerEvents";
130
135
  resizeMode: "resizeMode";
131
- right: "right";
132
136
  rotation: "rotation";
133
137
  rowGap: "rowGap";
134
138
  scaleX: "scaleX";
@@ -137,7 +141,6 @@ export declare const reanimatedStyle: z.ZodObject<{
137
141
  shadowOffset: "shadowOffset";
138
142
  shadowOpacity: "shadowOpacity";
139
143
  shadowRadius: "shadowRadius";
140
- start: "start";
141
144
  textAlign: "textAlign";
142
145
  textAlignVertical: "textAlignVertical";
143
146
  textDecorationColor: "textDecorationColor";
@@ -148,23 +151,51 @@ export declare const reanimatedStyle: z.ZodObject<{
148
151
  textShadowRadius: "textShadowRadius";
149
152
  textTransform: "textTransform";
150
153
  tintColor: "tintColor";
151
- top: "top";
152
154
  transformMatrix: "transformMatrix";
153
155
  transformOrigin: "transformOrigin";
154
156
  translateX: "translateX";
155
157
  translateY: "translateY";
156
158
  userSelect: "userSelect";
157
159
  verticalAlign: "verticalAlign";
158
- width: "width";
159
160
  writingDirection: "writingDirection";
160
161
  zIndex: "zIndex";
161
- all: "all";
162
162
  }>, z.ZodArray<z.ZodEnum<{
163
163
  transform: "transform";
164
164
  filter: "filter";
165
165
  color: "color";
166
166
  inset: "inset";
167
167
  position: "position";
168
+ fontFamily: "fontFamily";
169
+ end: "end";
170
+ start: "start";
171
+ all: "all";
172
+ bottom: "bottom";
173
+ left: "left";
174
+ right: "right";
175
+ top: "top";
176
+ flex: "flex";
177
+ cursor: "cursor";
178
+ direction: "direction";
179
+ display: "display";
180
+ gap: "gap";
181
+ height: "height";
182
+ isolation: "isolation";
183
+ margin: "margin";
184
+ opacity: "opacity";
185
+ overflow: "overflow";
186
+ padding: "padding";
187
+ width: "width";
188
+ flexGrow: "flexGrow";
189
+ flexShrink: "flexShrink";
190
+ flexBasis: "flexBasis";
191
+ lineHeight: "lineHeight";
192
+ elevation: "elevation";
193
+ fontSize: "fontSize";
194
+ fontStyle: "fontStyle";
195
+ fontVariant: "fontVariant";
196
+ fontWeight: "fontWeight";
197
+ letterSpacing: "letterSpacing";
198
+ pointerEvents: "pointerEvents";
168
199
  alignContent: "alignContent";
169
200
  alignItems: "alignItems";
170
201
  alignSelf: "alignSelf";
@@ -203,32 +234,15 @@ export declare const reanimatedStyle: z.ZodObject<{
203
234
  borderTopStartRadius: "borderTopStartRadius";
204
235
  borderTopWidth: "borderTopWidth";
205
236
  borderWidth: "borderWidth";
206
- bottom: "bottom";
207
237
  boxShadow: "boxShadow";
208
238
  boxSizing: "boxSizing";
209
239
  columnGap: "columnGap";
210
- cursor: "cursor";
211
- direction: "direction";
212
- display: "display";
213
- elevation: "elevation";
214
- end: "end";
215
240
  experimental_backgroundImage: "experimental_backgroundImage";
216
241
  experimental_backgroundPosition: "experimental_backgroundPosition";
217
242
  experimental_backgroundRepeat: "experimental_backgroundRepeat";
218
243
  experimental_backgroundSize: "experimental_backgroundSize";
219
- flex: "flex";
220
- flexBasis: "flexBasis";
221
244
  flexDirection: "flexDirection";
222
- flexGrow: "flexGrow";
223
- flexShrink: "flexShrink";
224
245
  flexWrap: "flexWrap";
225
- fontFamily: "fontFamily";
226
- fontSize: "fontSize";
227
- fontStyle: "fontStyle";
228
- fontVariant: "fontVariant";
229
- fontWeight: "fontWeight";
230
- gap: "gap";
231
- height: "height";
232
246
  includeFontPadding: "includeFontPadding";
233
247
  insetBlock: "insetBlock";
234
248
  insetBlockEnd: "insetBlockEnd";
@@ -236,12 +250,7 @@ export declare const reanimatedStyle: z.ZodObject<{
236
250
  insetInline: "insetInline";
237
251
  insetInlineEnd: "insetInlineEnd";
238
252
  insetInlineStart: "insetInlineStart";
239
- isolation: "isolation";
240
253
  justifyContent: "justifyContent";
241
- left: "left";
242
- letterSpacing: "letterSpacing";
243
- lineHeight: "lineHeight";
244
- margin: "margin";
245
254
  marginBlock: "marginBlock";
246
255
  marginBlockEnd: "marginBlockEnd";
247
256
  marginBlockStart: "marginBlockStart";
@@ -262,14 +271,11 @@ export declare const reanimatedStyle: z.ZodObject<{
262
271
  minWidth: "minWidth";
263
272
  mixBlendMode: "mixBlendMode";
264
273
  objectFit: "objectFit";
265
- opacity: "opacity";
266
274
  outlineColor: "outlineColor";
267
275
  outlineOffset: "outlineOffset";
268
276
  outlineStyle: "outlineStyle";
269
277
  outlineWidth: "outlineWidth";
270
- overflow: "overflow";
271
278
  overlayColor: "overlayColor";
272
- padding: "padding";
273
279
  paddingBlock: "paddingBlock";
274
280
  paddingBlockEnd: "paddingBlockEnd";
275
281
  paddingBlockStart: "paddingBlockStart";
@@ -284,9 +290,7 @@ export declare const reanimatedStyle: z.ZodObject<{
284
290
  paddingStart: "paddingStart";
285
291
  paddingTop: "paddingTop";
286
292
  paddingVertical: "paddingVertical";
287
- pointerEvents: "pointerEvents";
288
293
  resizeMode: "resizeMode";
289
- right: "right";
290
294
  rotation: "rotation";
291
295
  rowGap: "rowGap";
292
296
  scaleX: "scaleX";
@@ -295,7 +299,6 @@ export declare const reanimatedStyle: z.ZodObject<{
295
299
  shadowOffset: "shadowOffset";
296
300
  shadowOpacity: "shadowOpacity";
297
301
  shadowRadius: "shadowRadius";
298
- start: "start";
299
302
  textAlign: "textAlign";
300
303
  textAlignVertical: "textAlignVertical";
301
304
  textDecorationColor: "textDecorationColor";
@@ -306,17 +309,14 @@ export declare const reanimatedStyle: z.ZodObject<{
306
309
  textShadowRadius: "textShadowRadius";
307
310
  textTransform: "textTransform";
308
311
  tintColor: "tintColor";
309
- top: "top";
310
312
  transformMatrix: "transformMatrix";
311
313
  transformOrigin: "transformOrigin";
312
314
  translateX: "translateX";
313
315
  translateY: "translateY";
314
316
  userSelect: "userSelect";
315
317
  verticalAlign: "verticalAlign";
316
- width: "width";
317
318
  writingDirection: "writingDirection";
318
319
  zIndex: "zIndex";
319
- all: "all";
320
320
  }>>]>>;
321
321
  transitionDuration: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodNumber, z.ZodString, z.ZodObject<{
322
322
  __ref: z.ZodString;
@@ -362,6 +362,36 @@ export declare const reanimatedStyle: z.ZodObject<{
362
362
  color: "color";
363
363
  inset: "inset";
364
364
  position: "position";
365
+ fontFamily: "fontFamily";
366
+ end: "end";
367
+ start: "start";
368
+ bottom: "bottom";
369
+ left: "left";
370
+ right: "right";
371
+ top: "top";
372
+ flex: "flex";
373
+ cursor: "cursor";
374
+ direction: "direction";
375
+ display: "display";
376
+ gap: "gap";
377
+ height: "height";
378
+ isolation: "isolation";
379
+ margin: "margin";
380
+ opacity: "opacity";
381
+ overflow: "overflow";
382
+ padding: "padding";
383
+ width: "width";
384
+ flexGrow: "flexGrow";
385
+ flexShrink: "flexShrink";
386
+ flexBasis: "flexBasis";
387
+ lineHeight: "lineHeight";
388
+ elevation: "elevation";
389
+ fontSize: "fontSize";
390
+ fontStyle: "fontStyle";
391
+ fontVariant: "fontVariant";
392
+ fontWeight: "fontWeight";
393
+ letterSpacing: "letterSpacing";
394
+ pointerEvents: "pointerEvents";
365
395
  alignContent: "alignContent";
366
396
  alignItems: "alignItems";
367
397
  alignSelf: "alignSelf";
@@ -400,32 +430,15 @@ export declare const reanimatedStyle: z.ZodObject<{
400
430
  borderTopStartRadius: "borderTopStartRadius";
401
431
  borderTopWidth: "borderTopWidth";
402
432
  borderWidth: "borderWidth";
403
- bottom: "bottom";
404
433
  boxShadow: "boxShadow";
405
434
  boxSizing: "boxSizing";
406
435
  columnGap: "columnGap";
407
- cursor: "cursor";
408
- direction: "direction";
409
- display: "display";
410
- elevation: "elevation";
411
- end: "end";
412
436
  experimental_backgroundImage: "experimental_backgroundImage";
413
437
  experimental_backgroundPosition: "experimental_backgroundPosition";
414
438
  experimental_backgroundRepeat: "experimental_backgroundRepeat";
415
439
  experimental_backgroundSize: "experimental_backgroundSize";
416
- flex: "flex";
417
- flexBasis: "flexBasis";
418
440
  flexDirection: "flexDirection";
419
- flexGrow: "flexGrow";
420
- flexShrink: "flexShrink";
421
441
  flexWrap: "flexWrap";
422
- fontFamily: "fontFamily";
423
- fontSize: "fontSize";
424
- fontStyle: "fontStyle";
425
- fontVariant: "fontVariant";
426
- fontWeight: "fontWeight";
427
- gap: "gap";
428
- height: "height";
429
442
  includeFontPadding: "includeFontPadding";
430
443
  insetBlock: "insetBlock";
431
444
  insetBlockEnd: "insetBlockEnd";
@@ -433,12 +446,7 @@ export declare const reanimatedStyle: z.ZodObject<{
433
446
  insetInline: "insetInline";
434
447
  insetInlineEnd: "insetInlineEnd";
435
448
  insetInlineStart: "insetInlineStart";
436
- isolation: "isolation";
437
449
  justifyContent: "justifyContent";
438
- left: "left";
439
- letterSpacing: "letterSpacing";
440
- lineHeight: "lineHeight";
441
- margin: "margin";
442
450
  marginBlock: "marginBlock";
443
451
  marginBlockEnd: "marginBlockEnd";
444
452
  marginBlockStart: "marginBlockStart";
@@ -459,14 +467,11 @@ export declare const reanimatedStyle: z.ZodObject<{
459
467
  minWidth: "minWidth";
460
468
  mixBlendMode: "mixBlendMode";
461
469
  objectFit: "objectFit";
462
- opacity: "opacity";
463
470
  outlineColor: "outlineColor";
464
471
  outlineOffset: "outlineOffset";
465
472
  outlineStyle: "outlineStyle";
466
473
  outlineWidth: "outlineWidth";
467
- overflow: "overflow";
468
474
  overlayColor: "overlayColor";
469
- padding: "padding";
470
475
  paddingBlock: "paddingBlock";
471
476
  paddingBlockEnd: "paddingBlockEnd";
472
477
  paddingBlockStart: "paddingBlockStart";
@@ -481,9 +486,7 @@ export declare const reanimatedStyle: z.ZodObject<{
481
486
  paddingStart: "paddingStart";
482
487
  paddingTop: "paddingTop";
483
488
  paddingVertical: "paddingVertical";
484
- pointerEvents: "pointerEvents";
485
489
  resizeMode: "resizeMode";
486
- right: "right";
487
490
  rotation: "rotation";
488
491
  rowGap: "rowGap";
489
492
  scaleX: "scaleX";
@@ -492,7 +495,6 @@ export declare const reanimatedStyle: z.ZodObject<{
492
495
  shadowOffset: "shadowOffset";
493
496
  shadowOpacity: "shadowOpacity";
494
497
  shadowRadius: "shadowRadius";
495
- start: "start";
496
498
  textAlign: "textAlign";
497
499
  textAlignVertical: "textAlignVertical";
498
500
  textDecorationColor: "textDecorationColor";
@@ -503,14 +505,12 @@ export declare const reanimatedStyle: z.ZodObject<{
503
505
  textShadowRadius: "textShadowRadius";
504
506
  textTransform: "textTransform";
505
507
  tintColor: "tintColor";
506
- top: "top";
507
508
  transformMatrix: "transformMatrix";
508
509
  transformOrigin: "transformOrigin";
509
510
  translateX: "translateX";
510
511
  translateY: "translateY";
511
512
  userSelect: "userSelect";
512
513
  verticalAlign: "verticalAlign";
513
- width: "width";
514
514
  writingDirection: "writingDirection";
515
515
  zIndex: "zIndex";
516
516
  animationTimingFunction: "animationTimingFunction";
@@ -538,6 +538,36 @@ export declare const reanimatedStyle: z.ZodObject<{
538
538
  color: "color";
539
539
  inset: "inset";
540
540
  position: "position";
541
+ fontFamily: "fontFamily";
542
+ end: "end";
543
+ start: "start";
544
+ bottom: "bottom";
545
+ left: "left";
546
+ right: "right";
547
+ top: "top";
548
+ flex: "flex";
549
+ cursor: "cursor";
550
+ direction: "direction";
551
+ display: "display";
552
+ gap: "gap";
553
+ height: "height";
554
+ isolation: "isolation";
555
+ margin: "margin";
556
+ opacity: "opacity";
557
+ overflow: "overflow";
558
+ padding: "padding";
559
+ width: "width";
560
+ flexGrow: "flexGrow";
561
+ flexShrink: "flexShrink";
562
+ flexBasis: "flexBasis";
563
+ lineHeight: "lineHeight";
564
+ elevation: "elevation";
565
+ fontSize: "fontSize";
566
+ fontStyle: "fontStyle";
567
+ fontVariant: "fontVariant";
568
+ fontWeight: "fontWeight";
569
+ letterSpacing: "letterSpacing";
570
+ pointerEvents: "pointerEvents";
541
571
  alignContent: "alignContent";
542
572
  alignItems: "alignItems";
543
573
  alignSelf: "alignSelf";
@@ -576,32 +606,15 @@ export declare const reanimatedStyle: z.ZodObject<{
576
606
  borderTopStartRadius: "borderTopStartRadius";
577
607
  borderTopWidth: "borderTopWidth";
578
608
  borderWidth: "borderWidth";
579
- bottom: "bottom";
580
609
  boxShadow: "boxShadow";
581
610
  boxSizing: "boxSizing";
582
611
  columnGap: "columnGap";
583
- cursor: "cursor";
584
- direction: "direction";
585
- display: "display";
586
- elevation: "elevation";
587
- end: "end";
588
612
  experimental_backgroundImage: "experimental_backgroundImage";
589
613
  experimental_backgroundPosition: "experimental_backgroundPosition";
590
614
  experimental_backgroundRepeat: "experimental_backgroundRepeat";
591
615
  experimental_backgroundSize: "experimental_backgroundSize";
592
- flex: "flex";
593
- flexBasis: "flexBasis";
594
616
  flexDirection: "flexDirection";
595
- flexGrow: "flexGrow";
596
- flexShrink: "flexShrink";
597
617
  flexWrap: "flexWrap";
598
- fontFamily: "fontFamily";
599
- fontSize: "fontSize";
600
- fontStyle: "fontStyle";
601
- fontVariant: "fontVariant";
602
- fontWeight: "fontWeight";
603
- gap: "gap";
604
- height: "height";
605
618
  includeFontPadding: "includeFontPadding";
606
619
  insetBlock: "insetBlock";
607
620
  insetBlockEnd: "insetBlockEnd";
@@ -609,12 +622,7 @@ export declare const reanimatedStyle: z.ZodObject<{
609
622
  insetInline: "insetInline";
610
623
  insetInlineEnd: "insetInlineEnd";
611
624
  insetInlineStart: "insetInlineStart";
612
- isolation: "isolation";
613
625
  justifyContent: "justifyContent";
614
- left: "left";
615
- letterSpacing: "letterSpacing";
616
- lineHeight: "lineHeight";
617
- margin: "margin";
618
626
  marginBlock: "marginBlock";
619
627
  marginBlockEnd: "marginBlockEnd";
620
628
  marginBlockStart: "marginBlockStart";
@@ -635,14 +643,11 @@ export declare const reanimatedStyle: z.ZodObject<{
635
643
  minWidth: "minWidth";
636
644
  mixBlendMode: "mixBlendMode";
637
645
  objectFit: "objectFit";
638
- opacity: "opacity";
639
646
  outlineColor: "outlineColor";
640
647
  outlineOffset: "outlineOffset";
641
648
  outlineStyle: "outlineStyle";
642
649
  outlineWidth: "outlineWidth";
643
- overflow: "overflow";
644
650
  overlayColor: "overlayColor";
645
- padding: "padding";
646
651
  paddingBlock: "paddingBlock";
647
652
  paddingBlockEnd: "paddingBlockEnd";
648
653
  paddingBlockStart: "paddingBlockStart";
@@ -657,9 +662,7 @@ export declare const reanimatedStyle: z.ZodObject<{
657
662
  paddingStart: "paddingStart";
658
663
  paddingTop: "paddingTop";
659
664
  paddingVertical: "paddingVertical";
660
- pointerEvents: "pointerEvents";
661
665
  resizeMode: "resizeMode";
662
- right: "right";
663
666
  rotation: "rotation";
664
667
  rowGap: "rowGap";
665
668
  scaleX: "scaleX";
@@ -668,7 +671,6 @@ export declare const reanimatedStyle: z.ZodObject<{
668
671
  shadowOffset: "shadowOffset";
669
672
  shadowOpacity: "shadowOpacity";
670
673
  shadowRadius: "shadowRadius";
671
- start: "start";
672
674
  textAlign: "textAlign";
673
675
  textAlignVertical: "textAlignVertical";
674
676
  textDecorationColor: "textDecorationColor";
@@ -679,14 +681,12 @@ export declare const reanimatedStyle: z.ZodObject<{
679
681
  textShadowRadius: "textShadowRadius";
680
682
  textTransform: "textTransform";
681
683
  tintColor: "tintColor";
682
- top: "top";
683
684
  transformMatrix: "transformMatrix";
684
685
  transformOrigin: "transformOrigin";
685
686
  translateX: "translateX";
686
687
  translateY: "translateY";
687
688
  userSelect: "userSelect";
688
689
  verticalAlign: "verticalAlign";
689
- width: "width";
690
690
  writingDirection: "writingDirection";
691
691
  zIndex: "zIndex";
692
692
  animationTimingFunction: "animationTimingFunction";
@@ -16,7 +16,7 @@ import { z } from "zod";
16
16
  */
17
17
  type StyleValue = string | number | boolean | {
18
18
  readonly __ref: string;
19
- } | ComposedValue | {
19
+ } | ComposedValue | readonly (string | number | boolean)[] | {
20
20
  readonly [key: string]: StyleValue;
21
21
  };
22
22
  /**
@@ -1,3 +1,4 @@
1
+ import "../../configs/platform.js";
1
2
  import { isExtendedRef, isRef, ref, refSchema, splitRef } from "../../framework/utils/refs.js";
2
3
  import { composedValueSchemas } from "./composed-values.js";
3
4
  import { defineSubEntity } from "../../framework/defineSubEntity.js";
@@ -7,17 +8,33 @@ import { glyphMemberRefIn, glyphPackageRef } from "./glyph-identity.js";
7
8
  import { glyphPropsOfBody, isCustomPropertyKey, refListOf, stylePropTokenPath } from "../../framework/projections.js";
8
9
  import { z } from "zod";
9
10
  //#region src/entities/system/style-bag.ts
10
- /** The explicit type annotation breaks the `z.lazy` self-reference cycle and keeps the
11
- * authored value type tight (a bare `z.lazy` infers `unknown`). */
12
- const styleValue = z.lazy(() => z.union([
11
+ /** Literal arrays such as React Native Text fontVariant; element trees remain anatomy. */
12
+ const nativeStyleArray = z.array(z.union([
13
13
  z.string(),
14
14
  z.number(),
15
- z.boolean(),
16
- refSchema,
17
- ...composedValueSchemas,
18
- glyphPackageRef,
19
- z.record(z.string(), styleValue)
15
+ z.boolean()
20
16
  ]));
17
+ /** The explicit type annotation breaks the `z.lazy` self-reference cycle and keeps the
18
+ * authored value type tight (a bare `z.lazy` infers `unknown`). */
19
+ function styleValueSchema(arrays) {
20
+ const value = z.lazy(() => z.union([
21
+ z.string(),
22
+ z.number(),
23
+ z.boolean(),
24
+ refSchema,
25
+ ...composedValueSchemas,
26
+ glyphPackageRef,
27
+ ...arrays ? [nativeStyleArray] : [],
28
+ z.record(z.string(), value)
29
+ ]));
30
+ return value;
31
+ }
32
+ const styleValue = styleValueSchema(false);
33
+ const nativeStyleValue = styleValueSchema(true);
34
+ /** An unbound authored extension can target either platform; registration applies its platform. */
35
+ function styleValueFor(config) {
36
+ return !config || config.name === "react-native-system" ? nativeStyleValue : styleValue;
37
+ }
21
38
  const anatomyPropValue = z.lazy(() => z.union([
22
39
  z.string(),
23
40
  z.number(),
@@ -49,9 +66,10 @@ const Style = defineSubEntity({
49
66
  * at all. The union is ordered so the narrowed domain gets first refusal.
50
67
  */
51
68
  fields: ({ config, parent, key }) => {
69
+ const value = styleValueFor(config);
52
70
  if (!config || key === void 0) return styleValue;
53
71
  if (key.startsWith("_")) return openBag(config);
54
- const bound = (config, declaration) => z.union([valueSchemaOf(declaration, config), styleValue]);
72
+ const bound = (config, declaration) => z.union([valueSchemaOf(declaration, config), value]);
55
73
  const declared = parent?.props?.[key];
56
74
  if (isRef(declared?.value) || refListOf(declared?.value) !== void 0) return bound(config, declared);
57
75
  if (declared?.type === "forward") {
@@ -62,11 +80,11 @@ const Style = defineSubEntity({
62
80
  if (libraries && libraries.length > 0) return glyphMemberRefIn({
63
81
  config,
64
82
  libraries,
65
- otherwise: styleValue
83
+ otherwise: value
66
84
  });
67
85
  }
68
- if (declared) return styleValue;
69
- if (!config.resolve("style-property", key)) return styleValue;
86
+ if (declared) return value;
87
+ if (!config.resolve("style-property", key)) return value;
70
88
  return bound(config, {
71
89
  type: "styleProperty",
72
90
  value: ref("style-property", key)
@@ -255,7 +273,7 @@ function addBagKeyIssues({ config, bag, ctx, nested, declared, cssBehind = true,
255
273
  }
256
274
  /** The open bag — every key a style value, with token names bound to their tokens. `cssBehind`
257
275
  * as in {@link bagKeyIssue}: off for a bag that may reach an intrinsic element's attributes. */
258
- function openBag(config, { cssBehind = true, values = styleValue } = {}) {
276
+ function openBag(config, { cssBehind = true, values = styleValueFor(config) } = {}) {
259
277
  return z.record(z.string(), values).superRefine((bag, ctx) => addBagKeyIssues({
260
278
  config,
261
279
  bag,
@@ -265,4 +283,4 @@ function openBag(config, { cssBehind = true, values = styleValue } = {}) {
265
283
  })).transform((bag) => bindBagTokens(config, bag));
266
284
  }
267
285
  //#endregion
268
- export { Style, addBagKeyIssues, anatomyPropValue, bagNameEdges, bagRewriteName, bindBagTokens, camelCase, collectBag, isPlainRecord, openBag, styleValue };
286
+ export { Style, addBagKeyIssues, anatomyPropValue, bagNameEdges, bagRewriteName, bindBagTokens, camelCase, collectBag, isPlainRecord, nativeStyleArray, openBag, styleValueFor };
@@ -73,7 +73,7 @@ interface RecordedSource {
73
73
  * The dense-counter `2` a short-lived scheme stamped before the chain existed reads as the mint
74
74
  * that replaced it (see `detectedWireVersion`).
75
75
  */
76
- declare const SERIALIZED_CONFIG_VERSION = 20261016164316;
76
+ declare const SERIALIZED_CONFIG_VERSION = 20261016201727;
77
77
  interface SerializedConfig {
78
78
  /** See {@link SERIALIZED_CONFIG_VERSION}. Always written; a stored artifact may lack it. */
79
79
  readonly version: number;
@@ -5862,7 +5862,7 @@ var Config = class Config {
5862
5862
  * links from the provided sources. A declared `linkedKind` with no provided source throws. */
5863
5863
  hydrateFrom(stored, options) {
5864
5864
  const claimed = schemaVersionOf(stored);
5865
- if (claimed > 20261016164316) throw new SchemaVersionTooNew(claimed);
5865
+ if (claimed > 20261016201727) throw new SchemaVersionTooNew(claimed);
5866
5866
  const wire = upgradeSerializedConfig(stored);
5867
5867
  if (!Array.isArray(wire.ownedKinds) || typeof wire.items !== "object" || wire.items === null) throw new ConfigFormatError(`Config "${stored.name ?? "system-config"}" cannot be hydrated: this is not a serialized config-v2 config (no "ownedKinds"/"items"). A pre-cutover build artifact converts through the registered cutover migration — import the config type's module (e.g. \`configs/system\`) before hydrating.`);
5868
5868
  const leftover = wire.options;
@@ -15,7 +15,7 @@ import { Patch, SerializedConfig } from "./Config.js";
15
15
  * sets this constant to its own older timestamp; the merge ref then carries a registered migration
16
16
  * newer than the constant, and the assertion fails until the author re-mints.
17
17
  */
18
- declare const CURRENT_SCHEMA_VERSION = 20261016164316;
18
+ declare const CURRENT_SCHEMA_VERSION = 20261016201727;
19
19
  /** What the walkers need to see of an envelope — loose on purpose, so a typed `SerializedConfig`
20
20
  * and a raw old-shape record both flow in without casts. */
21
21
  interface VersionStamped {