@vellira-ui/tokens 2.100.1 → 2.102.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 +2 -0
- package/dist/dark/theme.d.ts +2 -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 +8 -0
- package/dist/highContrast/theme.d.ts +2 -0
- package/dist/highContrast/theme.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/light/theme.d.ts +2 -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 +12 -0
- package/dist/preservation/token-migrations.d.ts.map +1 -1
- package/dist/preservation/token-migrations.js +16 -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 +3 -0
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/tokens/typography.js +2 -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"}
|
|
@@ -2334,6 +2334,7 @@ export const baseTokenPaths = [
|
|
|
2334
2334
|
'tokens.typography.family.extraBold',
|
|
2335
2335
|
'tokens.typography.family.extraLight',
|
|
2336
2336
|
'tokens.typography.family.medium',
|
|
2337
|
+
'tokens.typography.family.mono',
|
|
2337
2338
|
'tokens.typography.family.regular',
|
|
2338
2339
|
'tokens.typography.family.semibold',
|
|
2339
2340
|
'tokens.typography.lineHeight.lg',
|
|
@@ -2348,6 +2349,7 @@ export const baseTokenPaths = [
|
|
|
2348
2349
|
'tokens.typography.size.xl',
|
|
2349
2350
|
'tokens.typography.size.xs',
|
|
2350
2351
|
'tokens.typography.size.xxl',
|
|
2352
|
+
'tokens.typography.weight.bold',
|
|
2351
2353
|
'tokens.typography.weight.light',
|
|
2352
2354
|
'tokens.typography.weight.medium',
|
|
2353
2355
|
'tokens.typography.weight.regular',
|
|
@@ -4683,6 +4685,7 @@ export const tokenPaths = [
|
|
|
4683
4685
|
'tokens.typography.family.extraBold',
|
|
4684
4686
|
'tokens.typography.family.extraLight',
|
|
4685
4687
|
'tokens.typography.family.medium',
|
|
4688
|
+
'tokens.typography.family.mono',
|
|
4686
4689
|
'tokens.typography.family.regular',
|
|
4687
4690
|
'tokens.typography.family.semibold',
|
|
4688
4691
|
'tokens.typography.lineHeight.lg',
|
|
@@ -4697,6 +4700,7 @@ export const tokenPaths = [
|
|
|
4697
4700
|
'tokens.typography.size.xl',
|
|
4698
4701
|
'tokens.typography.size.xs',
|
|
4699
4702
|
'tokens.typography.size.xxl',
|
|
4703
|
+
'tokens.typography.weight.bold',
|
|
4700
4704
|
'tokens.typography.weight.light',
|
|
4701
4705
|
'tokens.typography.weight.medium',
|
|
4702
4706
|
'tokens.typography.weight.regular',
|
|
@@ -4714,6 +4718,7 @@ export const baseCssVariableNames = [
|
|
|
4714
4718
|
'--font-family-extra-bold',
|
|
4715
4719
|
'--font-family-extra-light',
|
|
4716
4720
|
'--font-family-medium',
|
|
4721
|
+
'--font-family-mono',
|
|
4717
4722
|
'--font-family-regular',
|
|
4718
4723
|
'--font-family-semibold',
|
|
4719
4724
|
'--font-size-lg',
|
|
@@ -4722,6 +4727,7 @@ export const baseCssVariableNames = [
|
|
|
4722
4727
|
'--font-size-xl',
|
|
4723
4728
|
'--font-size-xs',
|
|
4724
4729
|
'--font-size-xxl',
|
|
4730
|
+
'--font-weight-bold',
|
|
4725
4731
|
'--font-weight-light',
|
|
4726
4732
|
'--font-weight-medium',
|
|
4727
4733
|
'--font-weight-regular',
|
|
@@ -7837,6 +7843,7 @@ export const cssVariableNames = [
|
|
|
7837
7843
|
'--font-family-extra-bold',
|
|
7838
7844
|
'--font-family-extra-light',
|
|
7839
7845
|
'--font-family-medium',
|
|
7846
|
+
'--font-family-mono',
|
|
7840
7847
|
'--font-family-regular',
|
|
7841
7848
|
'--font-family-semibold',
|
|
7842
7849
|
'--font-size-lg',
|
|
@@ -7845,6 +7852,7 @@ export const cssVariableNames = [
|
|
|
7845
7852
|
'--font-size-xl',
|
|
7846
7853
|
'--font-size-xs',
|
|
7847
7854
|
'--font-size-xxl',
|
|
7855
|
+
'--font-weight-bold',
|
|
7848
7856
|
'--font-weight-light',
|
|
7849
7857
|
'--font-weight-medium',
|
|
7850
7858
|
'--font-weight-regular',
|
|
@@ -193,6 +193,7 @@ export declare const highContrastTheme: {
|
|
|
193
193
|
readonly typography: {
|
|
194
194
|
readonly family: {
|
|
195
195
|
readonly base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
196
|
+
readonly mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace";
|
|
196
197
|
readonly extraLight: "VelliraSans-ExtraLight";
|
|
197
198
|
readonly regular: "VelliraSans-Regular";
|
|
198
199
|
readonly medium: "VelliraSans-Medium";
|
|
@@ -213,6 +214,7 @@ export declare const highContrastTheme: {
|
|
|
213
214
|
readonly regular: "400";
|
|
214
215
|
readonly medium: "500";
|
|
215
216
|
readonly semibold: "600";
|
|
217
|
+
readonly bold: "700";
|
|
216
218
|
};
|
|
217
219
|
readonly lineHeight: {
|
|
218
220
|
readonly xs: 16;
|
|
@@ -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");
|
|
@@ -63,6 +68,7 @@ export declare const theme: {
|
|
|
63
68
|
readonly typography: {
|
|
64
69
|
readonly family: {
|
|
65
70
|
readonly base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
71
|
+
readonly mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace";
|
|
66
72
|
readonly extraLight: "VelliraSans-ExtraLight";
|
|
67
73
|
readonly regular: "VelliraSans-Regular";
|
|
68
74
|
readonly medium: "VelliraSans-Medium";
|
|
@@ -83,6 +89,7 @@ export declare const theme: {
|
|
|
83
89
|
readonly regular: "400";
|
|
84
90
|
readonly medium: "500";
|
|
85
91
|
readonly semibold: "600";
|
|
92
|
+
readonly bold: "700";
|
|
86
93
|
};
|
|
87
94
|
readonly lineHeight: {
|
|
88
95
|
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,q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,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
|
@@ -193,6 +193,7 @@ export declare const lightTheme: {
|
|
|
193
193
|
readonly typography: {
|
|
194
194
|
readonly family: {
|
|
195
195
|
readonly base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
196
|
+
readonly mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace";
|
|
196
197
|
readonly extraLight: "VelliraSans-ExtraLight";
|
|
197
198
|
readonly regular: "VelliraSans-Regular";
|
|
198
199
|
readonly medium: "VelliraSans-Medium";
|
|
@@ -213,6 +214,7 @@ export declare const lightTheme: {
|
|
|
213
214
|
readonly regular: "400";
|
|
214
215
|
readonly medium: "500";
|
|
215
216
|
readonly semibold: "600";
|
|
217
|
+
readonly bold: "700";
|
|
216
218
|
};
|
|
217
219
|
readonly lineHeight: {
|
|
218
220
|
readonly xs: 16;
|
|
@@ -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,18 @@ 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";
|
|
287
|
+
} | {
|
|
288
|
+
readonly id: "934-font-family-mono-addition";
|
|
289
|
+
readonly kind: "addition";
|
|
290
|
+
readonly issue: "#934";
|
|
291
|
+
readonly reason: "Canonicalize the existing first-party system monospace stack already repeated across website code surfaces and the docs theme so consumers do not need raw font stacks or undeclared aliases.";
|
|
292
|
+
readonly to: "tokens.typography.family.mono";
|
|
281
293
|
} | {
|
|
282
294
|
id: string;
|
|
283
295
|
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,w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ACzB,SAAS,EAAE,SAAS,CAAC,sBAAsB,EAAE,GAAG,sBAAsB,EAAE,CAAC,CAAC;CAC3E,CAAC;AAEJ,MAAM,MAAM,4BAA4B,GACtC,qCAAqC,GAAG,oCAAoC,CAAC;AAE/E,MAAM,MAAM,0BAA0B,GAAG,kBAAkB,GAAG;IAC5D,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,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;AA8gB/B,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4GK,CAAC"}
|
|
@@ -435,8 +435,24 @@ 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
|
+
};
|
|
445
|
+
const monoFontFamilyAdditionV1 = {
|
|
446
|
+
id: '934-font-family-mono-addition',
|
|
447
|
+
kind: 'addition',
|
|
448
|
+
issue: '#934',
|
|
449
|
+
reason: 'Canonicalize the existing first-party system monospace stack already repeated across website code surfaces and the docs theme so consumers do not need raw font stacks or undeclared aliases.',
|
|
450
|
+
to: 'tokens.typography.family.mono',
|
|
451
|
+
};
|
|
438
452
|
export const tokenMigrationManifestV1 = [
|
|
439
453
|
...stateVocabularyRenameMigrationsV1,
|
|
454
|
+
boldFontWeightAdditionV1,
|
|
455
|
+
monoFontFamilyAdditionV1,
|
|
440
456
|
...platformNeutralComponentRepresentationMigrationsV1,
|
|
441
457
|
...platformNeutralLegacyCanonicalRemovalMigrationsV1,
|
|
442
458
|
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,11 +3,13 @@ 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: {
|
|
9
10
|
readonly family: {
|
|
10
11
|
readonly base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif";
|
|
12
|
+
readonly mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace";
|
|
11
13
|
readonly extraLight: "VelliraSans-ExtraLight";
|
|
12
14
|
readonly regular: "VelliraSans-Regular";
|
|
13
15
|
readonly medium: "VelliraSans-Medium";
|
|
@@ -28,6 +30,7 @@ export declare const typography: {
|
|
|
28
30
|
readonly regular: "400";
|
|
29
31
|
readonly medium: "500";
|
|
30
32
|
readonly semibold: "600";
|
|
33
|
+
readonly bold: "700";
|
|
31
34
|
};
|
|
32
35
|
readonly lineHeight: {
|
|
33
36
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCb,CAAC"}
|
|
@@ -3,10 +3,12 @@ export const fontWeights = {
|
|
|
3
3
|
regular: '400',
|
|
4
4
|
medium: '500',
|
|
5
5
|
semibold: '600',
|
|
6
|
+
bold: '700',
|
|
6
7
|
};
|
|
7
8
|
export const typography = {
|
|
8
9
|
family: {
|
|
9
10
|
base: "'Vellira Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
|
|
11
|
+
mono: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace",
|
|
10
12
|
extraLight: 'VelliraSans-ExtraLight',
|
|
11
13
|
regular: 'VelliraSans-Regular',
|
|
12
14
|
medium: 'VelliraSans-Medium',
|