@vellira-ui/tokens 2.100.1 → 2.101.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/README.md +88 -39
- package/dist/css/tokens.css +1 -0
- package/dist/dark/theme.d.ts +1 -0
- package/dist/dark/theme.d.ts.map +1 -1
- package/dist/generated/token-types.d.ts +4 -4
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +4 -0
- package/dist/highContrast/theme.d.ts +1 -0
- package/dist/highContrast/theme.d.ts.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/light/theme.d.ts +1 -0
- package/dist/light/theme.d.ts.map +1 -1
- package/dist/platform-output/component-token-web-compatibility.d.ts +44 -3
- package/dist/platform-output/component-token-web-compatibility.d.ts.map +1 -1
- package/dist/platform-output/component-token-web-compatibility.js +44 -3
- package/dist/preservation/token-migrations.d.ts +6 -0
- package/dist/preservation/token-migrations.d.ts.map +1 -1
- package/dist/preservation/token-migrations.js +8 -0
- package/dist/public-api-policy.d.ts +30 -0
- package/dist/public-api-policy.d.ts.map +1 -0
- package/dist/public-api-policy.js +26 -0
- package/dist/tokens/typography.d.ts +2 -0
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/tokens/typography.js +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-types.d.ts","sourceRoot":"","sources":["../../src/generated/token-types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AAE7F,eAAO,MAAM,UAAU,6CAA8C,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CAAC,YAAY,CAAC,CAAC;AAChE,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC"}
|
|
@@ -2348,6 +2348,7 @@ export const baseTokenPaths = [
|
|
|
2348
2348
|
'tokens.typography.size.xl',
|
|
2349
2349
|
'tokens.typography.size.xs',
|
|
2350
2350
|
'tokens.typography.size.xxl',
|
|
2351
|
+
'tokens.typography.weight.bold',
|
|
2351
2352
|
'tokens.typography.weight.light',
|
|
2352
2353
|
'tokens.typography.weight.medium',
|
|
2353
2354
|
'tokens.typography.weight.regular',
|
|
@@ -4697,6 +4698,7 @@ export const tokenPaths = [
|
|
|
4697
4698
|
'tokens.typography.size.xl',
|
|
4698
4699
|
'tokens.typography.size.xs',
|
|
4699
4700
|
'tokens.typography.size.xxl',
|
|
4701
|
+
'tokens.typography.weight.bold',
|
|
4700
4702
|
'tokens.typography.weight.light',
|
|
4701
4703
|
'tokens.typography.weight.medium',
|
|
4702
4704
|
'tokens.typography.weight.regular',
|
|
@@ -4722,6 +4724,7 @@ export const baseCssVariableNames = [
|
|
|
4722
4724
|
'--font-size-xl',
|
|
4723
4725
|
'--font-size-xs',
|
|
4724
4726
|
'--font-size-xxl',
|
|
4727
|
+
'--font-weight-bold',
|
|
4725
4728
|
'--font-weight-light',
|
|
4726
4729
|
'--font-weight-medium',
|
|
4727
4730
|
'--font-weight-regular',
|
|
@@ -7845,6 +7848,7 @@ export const cssVariableNames = [
|
|
|
7845
7848
|
'--font-size-xl',
|
|
7846
7849
|
'--font-size-xs',
|
|
7847
7850
|
'--font-size-xxl',
|
|
7851
|
+
'--font-weight-bold',
|
|
7848
7852
|
'--font-weight-light',
|
|
7849
7853
|
'--font-weight-medium',
|
|
7850
7854
|
'--font-weight-regular',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/highContrast/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/highContrast/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,11 @@ export type { ControlSize } from './tokens/controlSizes.js';
|
|
|
9
9
|
export { controlSizes } from './tokens/controlSizes.js';
|
|
10
10
|
export type { FontWeight } from './tokens/typography.js';
|
|
11
11
|
export { fontWeights } from './tokens/typography.js';
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Historical compatibility export. `theme` is a partial view of
|
|
14
|
+
* `darkTheme`, not a default/current theme contract. Use `darkTheme` directly.
|
|
15
|
+
* This alias is scheduled for removal in Vellira 3.0.0.
|
|
16
|
+
*/
|
|
12
17
|
export declare const theme: {
|
|
13
18
|
readonly semantic: typeof import("./dark/semantic/index.js");
|
|
14
19
|
readonly components: typeof import("./dark/components/index.js");
|
|
@@ -83,6 +88,7 @@ export declare const theme: {
|
|
|
83
88
|
readonly regular: "400";
|
|
84
89
|
readonly medium: "500";
|
|
85
90
|
readonly semibold: "600";
|
|
91
|
+
readonly bold: "700";
|
|
86
92
|
};
|
|
87
93
|
readonly lineHeight: {
|
|
88
94
|
readonly xs: 16;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEpD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,UAAU,GACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAEpD,YAAY,EACV,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,aAAa,EACb,sBAAsB,EACtB,qBAAqB,EACrB,YAAY,EACZ,gBAAgB,GACjB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,qBAAqB,EACrB,UAAU,EACV,UAAU,GACX,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIR,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,11 @@ export { baseCssVariableNames, baseTokenPaths, colorTokenPaths, componentTokenPa
|
|
|
6
6
|
export { overlay } from './primitives/overlay.js';
|
|
7
7
|
export { controlSizes } from './tokens/controlSizes.js';
|
|
8
8
|
export { fontWeights } from './tokens/typography.js';
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Historical compatibility export. `theme` is a partial view of
|
|
11
|
+
* `darkTheme`, not a default/current theme contract. Use `darkTheme` directly.
|
|
12
|
+
* This alias is scheduled for removal in Vellira 3.0.0.
|
|
13
|
+
*/
|
|
9
14
|
export const theme = {
|
|
10
15
|
semantic: darkTheme.semantic,
|
|
11
16
|
components: darkTheme.components,
|
package/dist/light/theme.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/light/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/light/theme.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAEhD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYb,CAAC"}
|
|
@@ -1,32 +1,73 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Legacy Web output identities retained
|
|
2
|
+
* Legacy Web output identities retained for bounded compatibility.
|
|
3
3
|
*
|
|
4
|
-
* These paths are not canonical component tokens.
|
|
5
|
-
*
|
|
4
|
+
* These paths are not canonical component tokens. #889 makes their lifecycle
|
|
5
|
+
* explicit: they remain generated aliases during Vellira 2.x and are scheduled
|
|
6
|
+
* for removal in 3.0.0. New consumers must use the canonical replacement.
|
|
6
7
|
*/
|
|
7
8
|
export declare const componentTokenWebCompatibilityAliases: readonly [{
|
|
8
9
|
readonly path: "components.modal.content.nativeMaxHeight";
|
|
9
10
|
readonly variable: "--modal-content-native-max-height";
|
|
11
|
+
readonly replacementPath: "components.modal.content.maxHeight";
|
|
12
|
+
readonly replacementVariable: "--modal-content-max-height";
|
|
13
|
+
readonly migrationId: "884-remove-components-modal-content-nativeMaxHeight";
|
|
14
|
+
readonly issue: "#889";
|
|
15
|
+
readonly removeIn: "3.0.0";
|
|
10
16
|
}, {
|
|
11
17
|
readonly path: "components.popover.content.shadow.web";
|
|
12
18
|
readonly variable: "--popover-content-shadow-web";
|
|
19
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
20
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
21
|
+
readonly migrationId: "884-popover-shadow-web-to-canonical-intent";
|
|
22
|
+
readonly issue: "#889";
|
|
23
|
+
readonly removeIn: "3.0.0";
|
|
13
24
|
}, {
|
|
14
25
|
readonly path: "components.popover.content.shadow.native.x";
|
|
15
26
|
readonly variable: "--popover-content-shadow-native-x";
|
|
27
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
28
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
29
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-x";
|
|
30
|
+
readonly issue: "#889";
|
|
31
|
+
readonly removeIn: "3.0.0";
|
|
16
32
|
}, {
|
|
17
33
|
readonly path: "components.popover.content.shadow.native.y";
|
|
18
34
|
readonly variable: "--popover-content-shadow-native-y";
|
|
35
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
36
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
37
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-y";
|
|
38
|
+
readonly issue: "#889";
|
|
39
|
+
readonly removeIn: "3.0.0";
|
|
19
40
|
}, {
|
|
20
41
|
readonly path: "components.popover.content.shadow.native.blur";
|
|
21
42
|
readonly variable: "--popover-content-shadow-native-blur";
|
|
43
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
44
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
45
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-blur";
|
|
46
|
+
readonly issue: "#889";
|
|
47
|
+
readonly removeIn: "3.0.0";
|
|
22
48
|
}, {
|
|
23
49
|
readonly path: "components.popover.content.shadow.native.color";
|
|
24
50
|
readonly variable: "--popover-content-shadow-native-color";
|
|
51
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
52
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
53
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-color";
|
|
54
|
+
readonly issue: "#889";
|
|
55
|
+
readonly removeIn: "3.0.0";
|
|
25
56
|
}, {
|
|
26
57
|
readonly path: "components.popover.content.shadow.native.opacity";
|
|
27
58
|
readonly variable: "--popover-content-shadow-native-opacity";
|
|
59
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
60
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
61
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-opacity";
|
|
62
|
+
readonly issue: "#889";
|
|
63
|
+
readonly removeIn: "3.0.0";
|
|
28
64
|
}, {
|
|
29
65
|
readonly path: "components.popover.content.shadow.native.elevation";
|
|
30
66
|
readonly variable: "--popover-content-shadow-native-elevation";
|
|
67
|
+
readonly replacementPath: "components.popover.content.shadow";
|
|
68
|
+
readonly replacementVariable: "--popover-content-shadow";
|
|
69
|
+
readonly migrationId: "884-remove-components-popover-content-shadow-native-elevation";
|
|
70
|
+
readonly issue: "#889";
|
|
71
|
+
readonly removeIn: "3.0.0";
|
|
31
72
|
}];
|
|
32
73
|
//# sourceMappingURL=component-token-web-compatibility.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-token-web-compatibility.d.ts","sourceRoot":"","sources":["../../src/platform-output/component-token-web-compatibility.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"component-token-web-compatibility.d.ts","sourceRoot":"","sources":["../../src/platform-output/component-token-web-compatibility.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0ExC,CAAC"}
|
|
@@ -1,40 +1,81 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Legacy Web output identities retained
|
|
2
|
+
* Legacy Web output identities retained for bounded compatibility.
|
|
3
3
|
*
|
|
4
|
-
* These paths are not canonical component tokens.
|
|
5
|
-
*
|
|
4
|
+
* These paths are not canonical component tokens. #889 makes their lifecycle
|
|
5
|
+
* explicit: they remain generated aliases during Vellira 2.x and are scheduled
|
|
6
|
+
* for removal in 3.0.0. New consumers must use the canonical replacement.
|
|
6
7
|
*/
|
|
7
8
|
export const componentTokenWebCompatibilityAliases = [
|
|
8
9
|
{
|
|
9
10
|
path: 'components.modal.content.nativeMaxHeight',
|
|
10
11
|
variable: '--modal-content-native-max-height',
|
|
12
|
+
replacementPath: 'components.modal.content.maxHeight',
|
|
13
|
+
replacementVariable: '--modal-content-max-height',
|
|
14
|
+
migrationId: '884-remove-components-modal-content-nativeMaxHeight',
|
|
15
|
+
issue: '#889',
|
|
16
|
+
removeIn: '3.0.0',
|
|
11
17
|
},
|
|
12
18
|
{
|
|
13
19
|
path: 'components.popover.content.shadow.web',
|
|
14
20
|
variable: '--popover-content-shadow-web',
|
|
21
|
+
replacementPath: 'components.popover.content.shadow',
|
|
22
|
+
replacementVariable: '--popover-content-shadow',
|
|
23
|
+
migrationId: '884-popover-shadow-web-to-canonical-intent',
|
|
24
|
+
issue: '#889',
|
|
25
|
+
removeIn: '3.0.0',
|
|
15
26
|
},
|
|
16
27
|
{
|
|
17
28
|
path: 'components.popover.content.shadow.native.x',
|
|
18
29
|
variable: '--popover-content-shadow-native-x',
|
|
30
|
+
replacementPath: 'components.popover.content.shadow',
|
|
31
|
+
replacementVariable: '--popover-content-shadow',
|
|
32
|
+
migrationId: '884-remove-components-popover-content-shadow-native-x',
|
|
33
|
+
issue: '#889',
|
|
34
|
+
removeIn: '3.0.0',
|
|
19
35
|
},
|
|
20
36
|
{
|
|
21
37
|
path: 'components.popover.content.shadow.native.y',
|
|
22
38
|
variable: '--popover-content-shadow-native-y',
|
|
39
|
+
replacementPath: 'components.popover.content.shadow',
|
|
40
|
+
replacementVariable: '--popover-content-shadow',
|
|
41
|
+
migrationId: '884-remove-components-popover-content-shadow-native-y',
|
|
42
|
+
issue: '#889',
|
|
43
|
+
removeIn: '3.0.0',
|
|
23
44
|
},
|
|
24
45
|
{
|
|
25
46
|
path: 'components.popover.content.shadow.native.blur',
|
|
26
47
|
variable: '--popover-content-shadow-native-blur',
|
|
48
|
+
replacementPath: 'components.popover.content.shadow',
|
|
49
|
+
replacementVariable: '--popover-content-shadow',
|
|
50
|
+
migrationId: '884-remove-components-popover-content-shadow-native-blur',
|
|
51
|
+
issue: '#889',
|
|
52
|
+
removeIn: '3.0.0',
|
|
27
53
|
},
|
|
28
54
|
{
|
|
29
55
|
path: 'components.popover.content.shadow.native.color',
|
|
30
56
|
variable: '--popover-content-shadow-native-color',
|
|
57
|
+
replacementPath: 'components.popover.content.shadow',
|
|
58
|
+
replacementVariable: '--popover-content-shadow',
|
|
59
|
+
migrationId: '884-remove-components-popover-content-shadow-native-color',
|
|
60
|
+
issue: '#889',
|
|
61
|
+
removeIn: '3.0.0',
|
|
31
62
|
},
|
|
32
63
|
{
|
|
33
64
|
path: 'components.popover.content.shadow.native.opacity',
|
|
34
65
|
variable: '--popover-content-shadow-native-opacity',
|
|
66
|
+
replacementPath: 'components.popover.content.shadow',
|
|
67
|
+
replacementVariable: '--popover-content-shadow',
|
|
68
|
+
migrationId: '884-remove-components-popover-content-shadow-native-opacity',
|
|
69
|
+
issue: '#889',
|
|
70
|
+
removeIn: '3.0.0',
|
|
35
71
|
},
|
|
36
72
|
{
|
|
37
73
|
path: 'components.popover.content.shadow.native.elevation',
|
|
38
74
|
variable: '--popover-content-shadow-native-elevation',
|
|
75
|
+
replacementPath: 'components.popover.content.shadow',
|
|
76
|
+
replacementVariable: '--popover-content-shadow',
|
|
77
|
+
migrationId: '884-remove-components-popover-content-shadow-native-elevation',
|
|
78
|
+
issue: '#889',
|
|
79
|
+
removeIn: '3.0.0',
|
|
39
80
|
},
|
|
40
81
|
];
|
|
@@ -278,6 +278,12 @@ export declare const tokenMigrationManifestV1: ({
|
|
|
278
278
|
readonly reason: "Expose the normalized Popover shadow path in Web platform output while retaining the old renderer-shaped CSS identities as compatibility aliases until #889.";
|
|
279
279
|
readonly platforms: readonly ["web"];
|
|
280
280
|
readonly to: "components.popover.content.shadow";
|
|
281
|
+
} | {
|
|
282
|
+
readonly id: "927-font-weight-bold-addition";
|
|
283
|
+
readonly kind: "addition";
|
|
284
|
+
readonly issue: "#927";
|
|
285
|
+
readonly reason: "Add the canonical 700 bold weight already represented by the VelliraSans-Bold family so first-party consumers do not need a raw value or local token alias.";
|
|
286
|
+
readonly to: "tokens.typography.weight.bold";
|
|
281
287
|
} | {
|
|
282
288
|
id: string;
|
|
283
289
|
kind: "remove";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-migrations.d.ts","sourceRoot":"","sources":["../../src/preservation/token-migrations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAC9C,0CAAmD,CAAC;AAEtD,eAAO,MAAM,mBAAmB,8FAOtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEtE,eAAO,MAAM,wBAAwB,6CAI3B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhF,eAAO,MAAM,uBAAuB,kCAAmC,CAAC;AAExE,MAAM,MAAM,sBAAsB,GAAG,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9E,KAAK,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CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,IAAI,CAAC;IACf,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B,oBAAoB,GACpB,mBAAmB,GACnB,qBAAqB,GACrB,sBAAsB,GACtB,4BAA4B,GAC5B,0BAA0B,CAAC;AAsgB/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2GK,CAAC"}
|
|
@@ -435,8 +435,16 @@ const platformNeutralPopoverWebAdditionV1 = {
|
|
|
435
435
|
platforms: ['web'],
|
|
436
436
|
to: 'components.popover.content.shadow',
|
|
437
437
|
};
|
|
438
|
+
const boldFontWeightAdditionV1 = {
|
|
439
|
+
id: '927-font-weight-bold-addition',
|
|
440
|
+
kind: 'addition',
|
|
441
|
+
issue: '#927',
|
|
442
|
+
reason: 'Add the canonical 700 bold weight already represented by the VelliraSans-Bold family so first-party consumers do not need a raw value or local token alias.',
|
|
443
|
+
to: 'tokens.typography.weight.bold',
|
|
444
|
+
};
|
|
438
445
|
export const tokenMigrationManifestV1 = [
|
|
439
446
|
...stateVocabularyRenameMigrationsV1,
|
|
447
|
+
boldFontWeightAdditionV1,
|
|
440
448
|
...platformNeutralComponentRepresentationMigrationsV1,
|
|
441
449
|
...platformNeutralLegacyCanonicalRemovalMigrationsV1,
|
|
442
450
|
platformNeutralPopoverShadowMigrationV1,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const tokenPublicApiDeprecationPolicyV1: {
|
|
2
|
+
readonly issue: "#889";
|
|
3
|
+
readonly removalRelease: "3.0.0";
|
|
4
|
+
readonly cssRootTheme: "light";
|
|
5
|
+
readonly rules: {
|
|
6
|
+
readonly namedThemes: "Public theme objects are named explicitly and their export names must agree with each runtime theme.name identity.";
|
|
7
|
+
readonly cssDefault: "Generated Web CSS uses Light for :root while the JavaScript package intentionally has no canonical implicit current/default theme export.";
|
|
8
|
+
readonly deprecatedExports: "A deprecated root export must preserve its existing runtime contract, carry a source @deprecated annotation, name a canonical replacement, and have machine-readable removal evidence.";
|
|
9
|
+
readonly deprecatedCssVariables: "A deprecated CSS variable remains platform-output compatibility only; it must not re-enter canonical TokenPath/ComponentTokenPath unions and must carry replacement/removal evidence.";
|
|
10
|
+
readonly removal: "Compatibility aliases introduced or retained during Token Architecture Normalization V1 are removed at the next major boundary, Vellira 3.0.0, unless a separately reviewed policy revision supersedes this contract.";
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export declare const publicThemeContractsV1: readonly [{
|
|
14
|
+
readonly exportName: "lightTheme";
|
|
15
|
+
readonly themeName: "light";
|
|
16
|
+
}, {
|
|
17
|
+
readonly exportName: "darkTheme";
|
|
18
|
+
readonly themeName: "dark";
|
|
19
|
+
}, {
|
|
20
|
+
readonly exportName: "highContrastTheme";
|
|
21
|
+
readonly themeName: "high-contrast";
|
|
22
|
+
}];
|
|
23
|
+
export declare const legacyPublicExportAliasesV1: readonly [{
|
|
24
|
+
readonly exportName: "theme";
|
|
25
|
+
readonly replacementExport: "darkTheme";
|
|
26
|
+
readonly issue: "#889";
|
|
27
|
+
readonly removeIn: "3.0.0";
|
|
28
|
+
readonly reason: "The historical theme export is a partial hard-wired Dark theme and therefore cannot represent a default/current theme contract unambiguously.";
|
|
29
|
+
}];
|
|
30
|
+
//# sourceMappingURL=public-api-policy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public-api-policy.d.ts","sourceRoot":"","sources":["../src/public-api-policy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;;;CAgBpC,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;EAIzB,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;EAS9B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const tokenPublicApiDeprecationPolicyV1 = {
|
|
2
|
+
issue: '#889',
|
|
3
|
+
removalRelease: '3.0.0',
|
|
4
|
+
cssRootTheme: 'light',
|
|
5
|
+
rules: {
|
|
6
|
+
namedThemes: 'Public theme objects are named explicitly and their export names must agree with each runtime theme.name identity.',
|
|
7
|
+
cssDefault: 'Generated Web CSS uses Light for :root while the JavaScript package intentionally has no canonical implicit current/default theme export.',
|
|
8
|
+
deprecatedExports: 'A deprecated root export must preserve its existing runtime contract, carry a source @deprecated annotation, name a canonical replacement, and have machine-readable removal evidence.',
|
|
9
|
+
deprecatedCssVariables: 'A deprecated CSS variable remains platform-output compatibility only; it must not re-enter canonical TokenPath/ComponentTokenPath unions and must carry replacement/removal evidence.',
|
|
10
|
+
removal: 'Compatibility aliases introduced or retained during Token Architecture Normalization V1 are removed at the next major boundary, Vellira 3.0.0, unless a separately reviewed policy revision supersedes this contract.',
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
export const publicThemeContractsV1 = [
|
|
14
|
+
{ exportName: 'lightTheme', themeName: 'light' },
|
|
15
|
+
{ exportName: 'darkTheme', themeName: 'dark' },
|
|
16
|
+
{ exportName: 'highContrastTheme', themeName: 'high-contrast' },
|
|
17
|
+
];
|
|
18
|
+
export const legacyPublicExportAliasesV1 = [
|
|
19
|
+
{
|
|
20
|
+
exportName: 'theme',
|
|
21
|
+
replacementExport: 'darkTheme',
|
|
22
|
+
issue: '#889',
|
|
23
|
+
removeIn: '3.0.0',
|
|
24
|
+
reason: 'The historical theme export is a partial hard-wired Dark theme and therefore cannot represent a default/current theme contract unambiguously.',
|
|
25
|
+
},
|
|
26
|
+
];
|
|
@@ -3,6 +3,7 @@ export declare const fontWeights: {
|
|
|
3
3
|
readonly regular: "400";
|
|
4
4
|
readonly medium: "500";
|
|
5
5
|
readonly semibold: "600";
|
|
6
|
+
readonly bold: "700";
|
|
6
7
|
};
|
|
7
8
|
export type FontWeight = (typeof fontWeights)[keyof typeof fontWeights];
|
|
8
9
|
export declare const typography: {
|
|
@@ -28,6 +29,7 @@ export declare const typography: {
|
|
|
28
29
|
readonly regular: "400";
|
|
29
30
|
readonly medium: "500";
|
|
30
31
|
readonly semibold: "600";
|
|
32
|
+
readonly bold: "700";
|
|
31
33
|
};
|
|
32
34
|
readonly lineHeight: {
|
|
33
35
|
readonly xs: 16;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../src/tokens/typography.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;CAMd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAExE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+Bb,CAAC"}
|