@yahoo/uds-create-config 5.41.2 → 5.41.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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
|
@@ -13,7 +13,7 @@ import { ConfigFormatError } from "./rejection.js";
|
|
|
13
13
|
* sets this constant to its own older timestamp; the merge ref then carries a registered migration
|
|
14
14
|
* newer than the constant, and the assertion fails until the author re-mints.
|
|
15
15
|
*/
|
|
16
|
-
const CURRENT_SCHEMA_VERSION =
|
|
16
|
+
const CURRENT_SCHEMA_VERSION = 20261016201727;
|
|
17
17
|
/** The mint that moved `options` into the `settings` kind — restated here, rather than imported
|
|
18
18
|
* from the migration that owns it, because that migration imports this module. */
|
|
19
19
|
const SETTINGS_AS_KIND_VERSION = 20260908171448;
|
|
@@ -45,7 +45,7 @@ function registerSchemaMigrations(...migrations) {
|
|
|
45
45
|
for (const migration of migrations) {
|
|
46
46
|
if (migration.version !== 1 && !isMintTimestamp(migration.version)) throw new Error(`Schema migration version ${migration.version} is not a mint timestamp — mint one with \`date +%Y%m%d%H%M%S\`, like a supabase migration.`);
|
|
47
47
|
if (REGISTERED.has(migration.version)) throw new Error(`A schema migration at version ${migration.version} is already registered.`);
|
|
48
|
-
if (migration.version >
|
|
48
|
+
if (migration.version > 20261016201727) throw new Error(`Schema migration ${migration.version} is newer than CURRENT_SCHEMA_VERSION (${CURRENT_SCHEMA_VERSION}) — a stale branch merged, or the mint forgot to bump the constant. Re-mint: set CURRENT_SCHEMA_VERSION to the newest migration version.`);
|
|
49
49
|
REGISTERED.set(migration.version, migration);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -102,7 +102,7 @@ function pendingFor(version, target, options) {
|
|
|
102
102
|
* Already-current input passes through untouched — same reference, so hot paths pay nothing.
|
|
103
103
|
*/
|
|
104
104
|
function upgradeSerializedConfig(json, options) {
|
|
105
|
-
const target = options?.target ??
|
|
105
|
+
const target = options?.target ?? 20261016201727;
|
|
106
106
|
const version = detectedWireVersion(json);
|
|
107
107
|
if (version > target) throw new SchemaVersionTooNew(version, target);
|
|
108
108
|
const raw = json;
|
|
@@ -160,7 +160,7 @@ function upgradedSources(json, options) {
|
|
|
160
160
|
* meaning under the current schema and replay skips it — reported by the caller, not swallowed here.
|
|
161
161
|
*/
|
|
162
162
|
function upgradePatch(patch, writtenAt, options) {
|
|
163
|
-
const target = options?.target ??
|
|
163
|
+
const target = options?.target ?? 20261016201727;
|
|
164
164
|
if (writtenAt > target) throw new SchemaVersionTooNew(writtenAt, target);
|
|
165
165
|
let current = patch;
|
|
166
166
|
for (const migration of pendingFor(writtenAt, target, options)) {
|
|
@@ -179,7 +179,7 @@ function upgradePatch(patch, writtenAt, options) {
|
|
|
179
179
|
* stamp would cause.
|
|
180
180
|
*/
|
|
181
181
|
function upgradeDraftEntries(draft, options) {
|
|
182
|
-
const target = options?.target ??
|
|
182
|
+
const target = options?.target ?? 20261016201727;
|
|
183
183
|
const entries = [];
|
|
184
184
|
const held = [];
|
|
185
185
|
const retired = [];
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AI_LANES, GUIDANCE_LANES } from "./ai-lanes.js";
|
|
2
2
|
import { Presence } from "./authoring/presence.js";
|
|
3
|
+
import { isNativeConfig, isSystemConfig } from "./configs/platform.js";
|
|
3
4
|
import { CONFIG_OPERATION_KIND } from "./framework/config-operation-kind.js";
|
|
4
5
|
import { ConfigFormatError, ConfigRejection, isConfigFormatError, isConfigRejection } from "./framework/rejection.js";
|
|
5
6
|
import { ENTITY_PATH_MESSAGE, MINTED, collectRefs, declarationText, entityPathProblem, entityRefOf, isEntityPath, isExtendedRef, isMintedRow, isRef, kindOf, memberOf, memberRef, orRef, pathOf, ref, refKey, refLeaf, refOfKey, refSchema, refTo, replaceRefMarkers, rewriteRefNamespace, rewriteRefSource, rewriteRefs, routedSource, sourceHops, sourceOf, splitRef, splitRefMarkers } from "./framework/utils/refs.js";
|
|
@@ -21,7 +22,6 @@ import { VOID_ELEMENTS, childrenPolicy, forwardsOf, ownerOf, partsOf, renderedEl
|
|
|
21
22
|
import { createSliceMemo } from "./framework/memo.js";
|
|
22
23
|
import { componentInteractions, hasInteraction, interactionKey, interactionModifiers, isInteractionModifier, whenParts } from "./framework/interaction-conditions.js";
|
|
23
24
|
import { Font, FontFile, cssString, fontFamilyStack, fontFileDescriptors, isFontFaceStyle, isFontFaceWeight } from "./entities/system/Font.js";
|
|
24
|
-
import { isNativeConfig, isSystemConfig } from "./configs/platform.js";
|
|
25
25
|
import { isNativeFlexValue, nativeFlexToWeb, webFlexToNative } from "./entities/system/linked-flex-values.js";
|
|
26
26
|
import { isRelativeLineHeightValue } from "./entities/system/linked-line-height-values.js";
|
|
27
27
|
import { resolveValueType, sniffValueType } from "./css/value-type.js";
|
|
@@ -221,6 +221,37 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
221
221
|
none: "none";
|
|
222
222
|
inset: "inset";
|
|
223
223
|
position: "position";
|
|
224
|
+
fontFamily: "fontFamily";
|
|
225
|
+
end: "end";
|
|
226
|
+
start: "start";
|
|
227
|
+
all: "all";
|
|
228
|
+
bottom: "bottom";
|
|
229
|
+
left: "left";
|
|
230
|
+
right: "right";
|
|
231
|
+
top: "top";
|
|
232
|
+
flex: "flex";
|
|
233
|
+
cursor: "cursor";
|
|
234
|
+
direction: "direction";
|
|
235
|
+
display: "display";
|
|
236
|
+
gap: "gap";
|
|
237
|
+
height: "height";
|
|
238
|
+
isolation: "isolation";
|
|
239
|
+
margin: "margin";
|
|
240
|
+
opacity: "opacity";
|
|
241
|
+
overflow: "overflow";
|
|
242
|
+
padding: "padding";
|
|
243
|
+
width: "width";
|
|
244
|
+
flexGrow: "flexGrow";
|
|
245
|
+
flexShrink: "flexShrink";
|
|
246
|
+
flexBasis: "flexBasis";
|
|
247
|
+
lineHeight: "lineHeight";
|
|
248
|
+
elevation: "elevation";
|
|
249
|
+
fontSize: "fontSize";
|
|
250
|
+
fontStyle: "fontStyle";
|
|
251
|
+
fontVariant: "fontVariant";
|
|
252
|
+
fontWeight: "fontWeight";
|
|
253
|
+
letterSpacing: "letterSpacing";
|
|
254
|
+
pointerEvents: "pointerEvents";
|
|
224
255
|
alignContent: "alignContent";
|
|
225
256
|
alignItems: "alignItems";
|
|
226
257
|
alignSelf: "alignSelf";
|
|
@@ -259,32 +290,15 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
259
290
|
borderTopStartRadius: "borderTopStartRadius";
|
|
260
291
|
borderTopWidth: "borderTopWidth";
|
|
261
292
|
borderWidth: "borderWidth";
|
|
262
|
-
bottom: "bottom";
|
|
263
293
|
boxShadow: "boxShadow";
|
|
264
294
|
boxSizing: "boxSizing";
|
|
265
295
|
columnGap: "columnGap";
|
|
266
|
-
cursor: "cursor";
|
|
267
|
-
direction: "direction";
|
|
268
|
-
display: "display";
|
|
269
|
-
elevation: "elevation";
|
|
270
|
-
end: "end";
|
|
271
296
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
272
297
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
273
298
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
274
299
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
275
|
-
flex: "flex";
|
|
276
|
-
flexBasis: "flexBasis";
|
|
277
300
|
flexDirection: "flexDirection";
|
|
278
|
-
flexGrow: "flexGrow";
|
|
279
|
-
flexShrink: "flexShrink";
|
|
280
301
|
flexWrap: "flexWrap";
|
|
281
|
-
fontFamily: "fontFamily";
|
|
282
|
-
fontSize: "fontSize";
|
|
283
|
-
fontStyle: "fontStyle";
|
|
284
|
-
fontVariant: "fontVariant";
|
|
285
|
-
fontWeight: "fontWeight";
|
|
286
|
-
gap: "gap";
|
|
287
|
-
height: "height";
|
|
288
302
|
includeFontPadding: "includeFontPadding";
|
|
289
303
|
insetBlock: "insetBlock";
|
|
290
304
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -292,12 +306,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
292
306
|
insetInline: "insetInline";
|
|
293
307
|
insetInlineEnd: "insetInlineEnd";
|
|
294
308
|
insetInlineStart: "insetInlineStart";
|
|
295
|
-
isolation: "isolation";
|
|
296
309
|
justifyContent: "justifyContent";
|
|
297
|
-
left: "left";
|
|
298
|
-
letterSpacing: "letterSpacing";
|
|
299
|
-
lineHeight: "lineHeight";
|
|
300
|
-
margin: "margin";
|
|
301
310
|
marginBlock: "marginBlock";
|
|
302
311
|
marginBlockEnd: "marginBlockEnd";
|
|
303
312
|
marginBlockStart: "marginBlockStart";
|
|
@@ -318,14 +327,11 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
318
327
|
minWidth: "minWidth";
|
|
319
328
|
mixBlendMode: "mixBlendMode";
|
|
320
329
|
objectFit: "objectFit";
|
|
321
|
-
opacity: "opacity";
|
|
322
330
|
outlineColor: "outlineColor";
|
|
323
331
|
outlineOffset: "outlineOffset";
|
|
324
332
|
outlineStyle: "outlineStyle";
|
|
325
333
|
outlineWidth: "outlineWidth";
|
|
326
|
-
overflow: "overflow";
|
|
327
334
|
overlayColor: "overlayColor";
|
|
328
|
-
padding: "padding";
|
|
329
335
|
paddingBlock: "paddingBlock";
|
|
330
336
|
paddingBlockEnd: "paddingBlockEnd";
|
|
331
337
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -340,9 +346,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
340
346
|
paddingStart: "paddingStart";
|
|
341
347
|
paddingTop: "paddingTop";
|
|
342
348
|
paddingVertical: "paddingVertical";
|
|
343
|
-
pointerEvents: "pointerEvents";
|
|
344
349
|
resizeMode: "resizeMode";
|
|
345
|
-
right: "right";
|
|
346
350
|
rotation: "rotation";
|
|
347
351
|
rowGap: "rowGap";
|
|
348
352
|
scaleX: "scaleX";
|
|
@@ -351,7 +355,6 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
351
355
|
shadowOffset: "shadowOffset";
|
|
352
356
|
shadowOpacity: "shadowOpacity";
|
|
353
357
|
shadowRadius: "shadowRadius";
|
|
354
|
-
start: "start";
|
|
355
358
|
textAlign: "textAlign";
|
|
356
359
|
textAlignVertical: "textAlignVertical";
|
|
357
360
|
textDecorationColor: "textDecorationColor";
|
|
@@ -362,23 +365,51 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
362
365
|
textShadowRadius: "textShadowRadius";
|
|
363
366
|
textTransform: "textTransform";
|
|
364
367
|
tintColor: "tintColor";
|
|
365
|
-
top: "top";
|
|
366
368
|
transformMatrix: "transformMatrix";
|
|
367
369
|
transformOrigin: "transformOrigin";
|
|
368
370
|
translateX: "translateX";
|
|
369
371
|
translateY: "translateY";
|
|
370
372
|
userSelect: "userSelect";
|
|
371
373
|
verticalAlign: "verticalAlign";
|
|
372
|
-
width: "width";
|
|
373
374
|
writingDirection: "writingDirection";
|
|
374
375
|
zIndex: "zIndex";
|
|
375
|
-
all: "all";
|
|
376
376
|
}>, _$zod.ZodArray<_$zod.ZodEnum<{
|
|
377
377
|
transform: "transform";
|
|
378
378
|
filter: "filter";
|
|
379
379
|
color: "color";
|
|
380
380
|
inset: "inset";
|
|
381
381
|
position: "position";
|
|
382
|
+
fontFamily: "fontFamily";
|
|
383
|
+
end: "end";
|
|
384
|
+
start: "start";
|
|
385
|
+
all: "all";
|
|
386
|
+
bottom: "bottom";
|
|
387
|
+
left: "left";
|
|
388
|
+
right: "right";
|
|
389
|
+
top: "top";
|
|
390
|
+
flex: "flex";
|
|
391
|
+
cursor: "cursor";
|
|
392
|
+
direction: "direction";
|
|
393
|
+
display: "display";
|
|
394
|
+
gap: "gap";
|
|
395
|
+
height: "height";
|
|
396
|
+
isolation: "isolation";
|
|
397
|
+
margin: "margin";
|
|
398
|
+
opacity: "opacity";
|
|
399
|
+
overflow: "overflow";
|
|
400
|
+
padding: "padding";
|
|
401
|
+
width: "width";
|
|
402
|
+
flexGrow: "flexGrow";
|
|
403
|
+
flexShrink: "flexShrink";
|
|
404
|
+
flexBasis: "flexBasis";
|
|
405
|
+
lineHeight: "lineHeight";
|
|
406
|
+
elevation: "elevation";
|
|
407
|
+
fontSize: "fontSize";
|
|
408
|
+
fontStyle: "fontStyle";
|
|
409
|
+
fontVariant: "fontVariant";
|
|
410
|
+
fontWeight: "fontWeight";
|
|
411
|
+
letterSpacing: "letterSpacing";
|
|
412
|
+
pointerEvents: "pointerEvents";
|
|
382
413
|
alignContent: "alignContent";
|
|
383
414
|
alignItems: "alignItems";
|
|
384
415
|
alignSelf: "alignSelf";
|
|
@@ -417,32 +448,15 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
417
448
|
borderTopStartRadius: "borderTopStartRadius";
|
|
418
449
|
borderTopWidth: "borderTopWidth";
|
|
419
450
|
borderWidth: "borderWidth";
|
|
420
|
-
bottom: "bottom";
|
|
421
451
|
boxShadow: "boxShadow";
|
|
422
452
|
boxSizing: "boxSizing";
|
|
423
453
|
columnGap: "columnGap";
|
|
424
|
-
cursor: "cursor";
|
|
425
|
-
direction: "direction";
|
|
426
|
-
display: "display";
|
|
427
|
-
elevation: "elevation";
|
|
428
|
-
end: "end";
|
|
429
454
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
430
455
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
431
456
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
432
457
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
433
|
-
flex: "flex";
|
|
434
|
-
flexBasis: "flexBasis";
|
|
435
458
|
flexDirection: "flexDirection";
|
|
436
|
-
flexGrow: "flexGrow";
|
|
437
|
-
flexShrink: "flexShrink";
|
|
438
459
|
flexWrap: "flexWrap";
|
|
439
|
-
fontFamily: "fontFamily";
|
|
440
|
-
fontSize: "fontSize";
|
|
441
|
-
fontStyle: "fontStyle";
|
|
442
|
-
fontVariant: "fontVariant";
|
|
443
|
-
fontWeight: "fontWeight";
|
|
444
|
-
gap: "gap";
|
|
445
|
-
height: "height";
|
|
446
460
|
includeFontPadding: "includeFontPadding";
|
|
447
461
|
insetBlock: "insetBlock";
|
|
448
462
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -450,12 +464,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
450
464
|
insetInline: "insetInline";
|
|
451
465
|
insetInlineEnd: "insetInlineEnd";
|
|
452
466
|
insetInlineStart: "insetInlineStart";
|
|
453
|
-
isolation: "isolation";
|
|
454
467
|
justifyContent: "justifyContent";
|
|
455
|
-
left: "left";
|
|
456
|
-
letterSpacing: "letterSpacing";
|
|
457
|
-
lineHeight: "lineHeight";
|
|
458
|
-
margin: "margin";
|
|
459
468
|
marginBlock: "marginBlock";
|
|
460
469
|
marginBlockEnd: "marginBlockEnd";
|
|
461
470
|
marginBlockStart: "marginBlockStart";
|
|
@@ -476,14 +485,11 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
476
485
|
minWidth: "minWidth";
|
|
477
486
|
mixBlendMode: "mixBlendMode";
|
|
478
487
|
objectFit: "objectFit";
|
|
479
|
-
opacity: "opacity";
|
|
480
488
|
outlineColor: "outlineColor";
|
|
481
489
|
outlineOffset: "outlineOffset";
|
|
482
490
|
outlineStyle: "outlineStyle";
|
|
483
491
|
outlineWidth: "outlineWidth";
|
|
484
|
-
overflow: "overflow";
|
|
485
492
|
overlayColor: "overlayColor";
|
|
486
|
-
padding: "padding";
|
|
487
493
|
paddingBlock: "paddingBlock";
|
|
488
494
|
paddingBlockEnd: "paddingBlockEnd";
|
|
489
495
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -498,9 +504,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
498
504
|
paddingStart: "paddingStart";
|
|
499
505
|
paddingTop: "paddingTop";
|
|
500
506
|
paddingVertical: "paddingVertical";
|
|
501
|
-
pointerEvents: "pointerEvents";
|
|
502
507
|
resizeMode: "resizeMode";
|
|
503
|
-
right: "right";
|
|
504
508
|
rotation: "rotation";
|
|
505
509
|
rowGap: "rowGap";
|
|
506
510
|
scaleX: "scaleX";
|
|
@@ -509,7 +513,6 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
509
513
|
shadowOffset: "shadowOffset";
|
|
510
514
|
shadowOpacity: "shadowOpacity";
|
|
511
515
|
shadowRadius: "shadowRadius";
|
|
512
|
-
start: "start";
|
|
513
516
|
textAlign: "textAlign";
|
|
514
517
|
textAlignVertical: "textAlignVertical";
|
|
515
518
|
textDecorationColor: "textDecorationColor";
|
|
@@ -520,17 +523,14 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
520
523
|
textShadowRadius: "textShadowRadius";
|
|
521
524
|
textTransform: "textTransform";
|
|
522
525
|
tintColor: "tintColor";
|
|
523
|
-
top: "top";
|
|
524
526
|
transformMatrix: "transformMatrix";
|
|
525
527
|
transformOrigin: "transformOrigin";
|
|
526
528
|
translateX: "translateX";
|
|
527
529
|
translateY: "translateY";
|
|
528
530
|
userSelect: "userSelect";
|
|
529
531
|
verticalAlign: "verticalAlign";
|
|
530
|
-
width: "width";
|
|
531
532
|
writingDirection: "writingDirection";
|
|
532
533
|
zIndex: "zIndex";
|
|
533
|
-
all: "all";
|
|
534
534
|
}>>]>>;
|
|
535
535
|
transitionDuration: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodNumber, _$zod.ZodString, _$zod.ZodObject<{
|
|
536
536
|
__ref: _$zod.ZodString;
|
|
@@ -576,6 +576,36 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
576
576
|
color: "color";
|
|
577
577
|
inset: "inset";
|
|
578
578
|
position: "position";
|
|
579
|
+
fontFamily: "fontFamily";
|
|
580
|
+
end: "end";
|
|
581
|
+
start: "start";
|
|
582
|
+
bottom: "bottom";
|
|
583
|
+
left: "left";
|
|
584
|
+
right: "right";
|
|
585
|
+
top: "top";
|
|
586
|
+
flex: "flex";
|
|
587
|
+
cursor: "cursor";
|
|
588
|
+
direction: "direction";
|
|
589
|
+
display: "display";
|
|
590
|
+
gap: "gap";
|
|
591
|
+
height: "height";
|
|
592
|
+
isolation: "isolation";
|
|
593
|
+
margin: "margin";
|
|
594
|
+
opacity: "opacity";
|
|
595
|
+
overflow: "overflow";
|
|
596
|
+
padding: "padding";
|
|
597
|
+
width: "width";
|
|
598
|
+
flexGrow: "flexGrow";
|
|
599
|
+
flexShrink: "flexShrink";
|
|
600
|
+
flexBasis: "flexBasis";
|
|
601
|
+
lineHeight: "lineHeight";
|
|
602
|
+
elevation: "elevation";
|
|
603
|
+
fontSize: "fontSize";
|
|
604
|
+
fontStyle: "fontStyle";
|
|
605
|
+
fontVariant: "fontVariant";
|
|
606
|
+
fontWeight: "fontWeight";
|
|
607
|
+
letterSpacing: "letterSpacing";
|
|
608
|
+
pointerEvents: "pointerEvents";
|
|
579
609
|
alignContent: "alignContent";
|
|
580
610
|
alignItems: "alignItems";
|
|
581
611
|
alignSelf: "alignSelf";
|
|
@@ -614,32 +644,15 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
614
644
|
borderTopStartRadius: "borderTopStartRadius";
|
|
615
645
|
borderTopWidth: "borderTopWidth";
|
|
616
646
|
borderWidth: "borderWidth";
|
|
617
|
-
bottom: "bottom";
|
|
618
647
|
boxShadow: "boxShadow";
|
|
619
648
|
boxSizing: "boxSizing";
|
|
620
649
|
columnGap: "columnGap";
|
|
621
|
-
cursor: "cursor";
|
|
622
|
-
direction: "direction";
|
|
623
|
-
display: "display";
|
|
624
|
-
elevation: "elevation";
|
|
625
|
-
end: "end";
|
|
626
650
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
627
651
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
628
652
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
629
653
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
630
|
-
flex: "flex";
|
|
631
|
-
flexBasis: "flexBasis";
|
|
632
654
|
flexDirection: "flexDirection";
|
|
633
|
-
flexGrow: "flexGrow";
|
|
634
|
-
flexShrink: "flexShrink";
|
|
635
655
|
flexWrap: "flexWrap";
|
|
636
|
-
fontFamily: "fontFamily";
|
|
637
|
-
fontSize: "fontSize";
|
|
638
|
-
fontStyle: "fontStyle";
|
|
639
|
-
fontVariant: "fontVariant";
|
|
640
|
-
fontWeight: "fontWeight";
|
|
641
|
-
gap: "gap";
|
|
642
|
-
height: "height";
|
|
643
656
|
includeFontPadding: "includeFontPadding";
|
|
644
657
|
insetBlock: "insetBlock";
|
|
645
658
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -647,12 +660,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
647
660
|
insetInline: "insetInline";
|
|
648
661
|
insetInlineEnd: "insetInlineEnd";
|
|
649
662
|
insetInlineStart: "insetInlineStart";
|
|
650
|
-
isolation: "isolation";
|
|
651
663
|
justifyContent: "justifyContent";
|
|
652
|
-
left: "left";
|
|
653
|
-
letterSpacing: "letterSpacing";
|
|
654
|
-
lineHeight: "lineHeight";
|
|
655
|
-
margin: "margin";
|
|
656
664
|
marginBlock: "marginBlock";
|
|
657
665
|
marginBlockEnd: "marginBlockEnd";
|
|
658
666
|
marginBlockStart: "marginBlockStart";
|
|
@@ -673,14 +681,11 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
673
681
|
minWidth: "minWidth";
|
|
674
682
|
mixBlendMode: "mixBlendMode";
|
|
675
683
|
objectFit: "objectFit";
|
|
676
|
-
opacity: "opacity";
|
|
677
684
|
outlineColor: "outlineColor";
|
|
678
685
|
outlineOffset: "outlineOffset";
|
|
679
686
|
outlineStyle: "outlineStyle";
|
|
680
687
|
outlineWidth: "outlineWidth";
|
|
681
|
-
overflow: "overflow";
|
|
682
688
|
overlayColor: "overlayColor";
|
|
683
|
-
padding: "padding";
|
|
684
689
|
paddingBlock: "paddingBlock";
|
|
685
690
|
paddingBlockEnd: "paddingBlockEnd";
|
|
686
691
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -695,9 +700,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
695
700
|
paddingStart: "paddingStart";
|
|
696
701
|
paddingTop: "paddingTop";
|
|
697
702
|
paddingVertical: "paddingVertical";
|
|
698
|
-
pointerEvents: "pointerEvents";
|
|
699
703
|
resizeMode: "resizeMode";
|
|
700
|
-
right: "right";
|
|
701
704
|
rotation: "rotation";
|
|
702
705
|
rowGap: "rowGap";
|
|
703
706
|
scaleX: "scaleX";
|
|
@@ -706,7 +709,6 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
706
709
|
shadowOffset: "shadowOffset";
|
|
707
710
|
shadowOpacity: "shadowOpacity";
|
|
708
711
|
shadowRadius: "shadowRadius";
|
|
709
|
-
start: "start";
|
|
710
712
|
textAlign: "textAlign";
|
|
711
713
|
textAlignVertical: "textAlignVertical";
|
|
712
714
|
textDecorationColor: "textDecorationColor";
|
|
@@ -717,14 +719,12 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
717
719
|
textShadowRadius: "textShadowRadius";
|
|
718
720
|
textTransform: "textTransform";
|
|
719
721
|
tintColor: "tintColor";
|
|
720
|
-
top: "top";
|
|
721
722
|
transformMatrix: "transformMatrix";
|
|
722
723
|
transformOrigin: "transformOrigin";
|
|
723
724
|
translateX: "translateX";
|
|
724
725
|
translateY: "translateY";
|
|
725
726
|
userSelect: "userSelect";
|
|
726
727
|
verticalAlign: "verticalAlign";
|
|
727
|
-
width: "width";
|
|
728
728
|
writingDirection: "writingDirection";
|
|
729
729
|
zIndex: "zIndex";
|
|
730
730
|
animationTimingFunction: "animationTimingFunction";
|
|
@@ -752,6 +752,36 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
752
752
|
color: "color";
|
|
753
753
|
inset: "inset";
|
|
754
754
|
position: "position";
|
|
755
|
+
fontFamily: "fontFamily";
|
|
756
|
+
end: "end";
|
|
757
|
+
start: "start";
|
|
758
|
+
bottom: "bottom";
|
|
759
|
+
left: "left";
|
|
760
|
+
right: "right";
|
|
761
|
+
top: "top";
|
|
762
|
+
flex: "flex";
|
|
763
|
+
cursor: "cursor";
|
|
764
|
+
direction: "direction";
|
|
765
|
+
display: "display";
|
|
766
|
+
gap: "gap";
|
|
767
|
+
height: "height";
|
|
768
|
+
isolation: "isolation";
|
|
769
|
+
margin: "margin";
|
|
770
|
+
opacity: "opacity";
|
|
771
|
+
overflow: "overflow";
|
|
772
|
+
padding: "padding";
|
|
773
|
+
width: "width";
|
|
774
|
+
flexGrow: "flexGrow";
|
|
775
|
+
flexShrink: "flexShrink";
|
|
776
|
+
flexBasis: "flexBasis";
|
|
777
|
+
lineHeight: "lineHeight";
|
|
778
|
+
elevation: "elevation";
|
|
779
|
+
fontSize: "fontSize";
|
|
780
|
+
fontStyle: "fontStyle";
|
|
781
|
+
fontVariant: "fontVariant";
|
|
782
|
+
fontWeight: "fontWeight";
|
|
783
|
+
letterSpacing: "letterSpacing";
|
|
784
|
+
pointerEvents: "pointerEvents";
|
|
755
785
|
alignContent: "alignContent";
|
|
756
786
|
alignItems: "alignItems";
|
|
757
787
|
alignSelf: "alignSelf";
|
|
@@ -790,32 +820,15 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
790
820
|
borderTopStartRadius: "borderTopStartRadius";
|
|
791
821
|
borderTopWidth: "borderTopWidth";
|
|
792
822
|
borderWidth: "borderWidth";
|
|
793
|
-
bottom: "bottom";
|
|
794
823
|
boxShadow: "boxShadow";
|
|
795
824
|
boxSizing: "boxSizing";
|
|
796
825
|
columnGap: "columnGap";
|
|
797
|
-
cursor: "cursor";
|
|
798
|
-
direction: "direction";
|
|
799
|
-
display: "display";
|
|
800
|
-
elevation: "elevation";
|
|
801
|
-
end: "end";
|
|
802
826
|
experimental_backgroundImage: "experimental_backgroundImage";
|
|
803
827
|
experimental_backgroundPosition: "experimental_backgroundPosition";
|
|
804
828
|
experimental_backgroundRepeat: "experimental_backgroundRepeat";
|
|
805
829
|
experimental_backgroundSize: "experimental_backgroundSize";
|
|
806
|
-
flex: "flex";
|
|
807
|
-
flexBasis: "flexBasis";
|
|
808
830
|
flexDirection: "flexDirection";
|
|
809
|
-
flexGrow: "flexGrow";
|
|
810
|
-
flexShrink: "flexShrink";
|
|
811
831
|
flexWrap: "flexWrap";
|
|
812
|
-
fontFamily: "fontFamily";
|
|
813
|
-
fontSize: "fontSize";
|
|
814
|
-
fontStyle: "fontStyle";
|
|
815
|
-
fontVariant: "fontVariant";
|
|
816
|
-
fontWeight: "fontWeight";
|
|
817
|
-
gap: "gap";
|
|
818
|
-
height: "height";
|
|
819
832
|
includeFontPadding: "includeFontPadding";
|
|
820
833
|
insetBlock: "insetBlock";
|
|
821
834
|
insetBlockEnd: "insetBlockEnd";
|
|
@@ -823,12 +836,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
823
836
|
insetInline: "insetInline";
|
|
824
837
|
insetInlineEnd: "insetInlineEnd";
|
|
825
838
|
insetInlineStart: "insetInlineStart";
|
|
826
|
-
isolation: "isolation";
|
|
827
839
|
justifyContent: "justifyContent";
|
|
828
|
-
left: "left";
|
|
829
|
-
letterSpacing: "letterSpacing";
|
|
830
|
-
lineHeight: "lineHeight";
|
|
831
|
-
margin: "margin";
|
|
832
840
|
marginBlock: "marginBlock";
|
|
833
841
|
marginBlockEnd: "marginBlockEnd";
|
|
834
842
|
marginBlockStart: "marginBlockStart";
|
|
@@ -849,14 +857,11 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
849
857
|
minWidth: "minWidth";
|
|
850
858
|
mixBlendMode: "mixBlendMode";
|
|
851
859
|
objectFit: "objectFit";
|
|
852
|
-
opacity: "opacity";
|
|
853
860
|
outlineColor: "outlineColor";
|
|
854
861
|
outlineOffset: "outlineOffset";
|
|
855
862
|
outlineStyle: "outlineStyle";
|
|
856
863
|
outlineWidth: "outlineWidth";
|
|
857
|
-
overflow: "overflow";
|
|
858
864
|
overlayColor: "overlayColor";
|
|
859
|
-
padding: "padding";
|
|
860
865
|
paddingBlock: "paddingBlock";
|
|
861
866
|
paddingBlockEnd: "paddingBlockEnd";
|
|
862
867
|
paddingBlockStart: "paddingBlockStart";
|
|
@@ -871,9 +876,7 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
871
876
|
paddingStart: "paddingStart";
|
|
872
877
|
paddingTop: "paddingTop";
|
|
873
878
|
paddingVertical: "paddingVertical";
|
|
874
|
-
pointerEvents: "pointerEvents";
|
|
875
879
|
resizeMode: "resizeMode";
|
|
876
|
-
right: "right";
|
|
877
880
|
rotation: "rotation";
|
|
878
881
|
rowGap: "rowGap";
|
|
879
882
|
scaleX: "scaleX";
|
|
@@ -882,7 +885,6 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
882
885
|
shadowOffset: "shadowOffset";
|
|
883
886
|
shadowOpacity: "shadowOpacity";
|
|
884
887
|
shadowRadius: "shadowRadius";
|
|
885
|
-
start: "start";
|
|
886
888
|
textAlign: "textAlign";
|
|
887
889
|
textAlignVertical: "textAlignVertical";
|
|
888
890
|
textDecorationColor: "textDecorationColor";
|
|
@@ -893,14 +895,12 @@ declare function loadV1Artifact(studio: V1Artifact, options?: LoadV1Options): Co
|
|
|
893
895
|
textShadowRadius: "textShadowRadius";
|
|
894
896
|
textTransform: "textTransform";
|
|
895
897
|
tintColor: "tintColor";
|
|
896
|
-
top: "top";
|
|
897
898
|
transformMatrix: "transformMatrix";
|
|
898
899
|
transformOrigin: "transformOrigin";
|
|
899
900
|
translateX: "translateX";
|
|
900
901
|
translateY: "translateY";
|
|
901
902
|
userSelect: "userSelect";
|
|
902
903
|
verticalAlign: "verticalAlign";
|
|
903
|
-
width: "width";
|
|
904
904
|
writingDirection: "writingDirection";
|
|
905
905
|
zIndex: "zIndex";
|
|
906
906
|
animationTimingFunction: "animationTimingFunction";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Adds native style arrays and the auto token keyword. Existing bodies and patches are unchanged. */
|
|
2
|
+
import type { SchemaMigration } from '../framework/schema-version';
|
|
3
|
+
export declare const NATIVE_STYLE_ARRAYS_AND_AUTO_VERSION = 20261016201727;
|
|
4
|
+
export declare const nativeStyleArraysAndAutoMigration: SchemaMigration;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/migrations/20261016201727_native_style_arrays_and_auto.ts
|
|
2
|
+
const NATIVE_STYLE_ARRAYS_AND_AUTO_VERSION = 20261016201727;
|
|
3
|
+
const nativeStyleArraysAndAutoMigration = {
|
|
4
|
+
version: NATIVE_STYLE_ARRAYS_AND_AUTO_VERSION,
|
|
5
|
+
up(json) {
|
|
6
|
+
return json;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { NATIVE_STYLE_ARRAYS_AND_AUTO_VERSION, nativeStyleArraysAndAutoMigration };
|