@yahoo/uds-create-config 4.57.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/react-native-system.d.ts +3 -3
- package/dist/configs/system.d.ts +2 -2
- package/dist/configs/system.js +4 -0
- package/dist/css/value-type.js +2 -2
- package/dist/entities/native/NativeStyleProperty.d.ts +4 -4
- package/dist/entities/system/GlobalStyle.d.ts +2 -0
- package/dist/entities/system/GlobalStyle.js +10 -1
- package/dist/entities/system/Modifier.d.ts +1 -1
- package/dist/entities/system/Token.js +21 -8
- package/dist/entities/system/calc.d.ts +40 -6
- package/dist/entities/system/calc.js +123 -32
- package/dist/entities/system/composed-values.d.ts +2 -2
- package/dist/entities/system/composed-values.js +25 -8
- package/dist/entities/system/icon-library.js +2 -2
- package/dist/entities/system/linked-token-values.js +2 -2
- package/dist/entities/system/modifier-axis.d.ts +1 -1
- package/dist/entities/system/style-bag.js +2 -1
- package/dist/entities/system/token-values.d.ts +32 -9
- package/dist/entities/system/token-values.js +5 -3
- package/dist/framework/Config.d.ts +1 -1
- package/dist/framework/Config.js +1 -1
- package/dist/framework/class-names.js +2 -2
- package/dist/framework/projections.d.ts +19 -4
- package/dist/framework/projections.js +33 -9
- package/dist/framework/schema-version.d.ts +1 -1
- package/dist/framework/schema-version.js +5 -5
- package/dist/framework/source-integrity.d.ts +1 -1
- package/dist/framework/utils/refs.d.ts +1 -2
- package/dist/framework/utils/refs.js +0 -5
- package/dist/index.d.ts +7 -7
- package/dist/index.js +3 -3
- package/dist/migrations/2.0.0/v1-artifact.d.ts +2 -2
- package/dist/migrations/20261005212405_global_style_on.d.ts +11 -0
- package/dist/migrations/20261005212405_global_style_on.js +10 -0
- package/dist/migrations/20261005220312_add_and_subtract.d.ts +13 -0
- package/dist/migrations/20261005220312_add_and_subtract.js +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/migrations/20261005212405_global_style_on.ts
|
|
2
|
+
const GLOBAL_STYLE_ON_VERSION = 20261005212405;
|
|
3
|
+
const globalStyleOnMigration = {
|
|
4
|
+
version: GLOBAL_STYLE_ON_VERSION,
|
|
5
|
+
up(json) {
|
|
6
|
+
return json;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { GLOBAL_STYLE_ON_VERSION, globalStyleOnMigration };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Additions only, so the envelope passes through as it is:
|
|
3
|
+
*
|
|
4
|
+
* - A value may be a sum or a difference of others, `{ add: [a, b, …] }` or
|
|
5
|
+
* `{ subtract: [a, b, …] }`, two terms or more, beside `multiply` and `divide`.
|
|
6
|
+
* - A term of any arithmetic may itself be arithmetic (`{ add: [a, { multiply: [b, 2] }] }`), where
|
|
7
|
+
* it was a number, a length or a ref.
|
|
8
|
+
*
|
|
9
|
+
* Deletable once no reader older than this version is in use: identity hops cost nothing to keep.
|
|
10
|
+
*/
|
|
11
|
+
import type { SchemaMigration } from '../framework/schema-version';
|
|
12
|
+
export declare const ADD_AND_SUBTRACT_VERSION = 20261005220312;
|
|
13
|
+
export declare const addAndSubtractMigration: SchemaMigration;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/migrations/20261005220312_add_and_subtract.ts
|
|
2
|
+
const ADD_AND_SUBTRACT_VERSION = 20261005220312;
|
|
3
|
+
const addAndSubtractMigration = {
|
|
4
|
+
version: ADD_AND_SUBTRACT_VERSION,
|
|
5
|
+
up(json) {
|
|
6
|
+
return json;
|
|
7
|
+
}
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { ADD_AND_SUBTRACT_VERSION, addAndSubtractMigration };
|