@atlaskit/tokens 1.21.1 → 1.22.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/CHANGELOG.md +6 -0
- package/dist/cjs/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +17 -15
- package/dist/cjs/artifacts/token-names.js +4 -2
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/cjs/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/cjs/get-token-value.js +1 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography/theme.js +13 -13
- package/dist/cjs/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/cjs/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/cjs/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/cjs/tokens/default/typography/font-family.js +9 -1
- package/dist/cjs/tokens/default/utility/utility.js +8 -0
- package/dist/es2019/artifacts/themes/atlassian-typography-adg3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography-minor3.js +17 -15
- package/dist/es2019/artifacts/themes/atlassian-typography.js +16 -15
- package/dist/es2019/artifacts/token-default-values.js +17 -15
- package/dist/es2019/artifacts/token-names.js +4 -2
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/es2019/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/es2019/get-token-value.js +1 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography/theme.js +13 -13
- package/dist/es2019/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/es2019/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/es2019/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/es2019/tokens/default/typography/font-family.js +9 -1
- package/dist/es2019/tokens/default/utility/utility.js +8 -0
- package/dist/esm/artifacts/themes/atlassian-typography-adg3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography-minor3.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-typography.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +17 -15
- package/dist/esm/artifacts/token-names.js +4 -2
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-adg3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography-minor3.js +86 -42
- package/dist/esm/artifacts/tokens-raw/atlassian-typography.js +64 -42
- package/dist/esm/get-token-value.js +1 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-typography/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography/theme.js +13 -13
- package/dist/esm/tokens/atlassian-typography-adg3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-adg3/theme.js +25 -14
- package/dist/esm/tokens/atlassian-typography-minor3/font-family.js +4 -1
- package/dist/esm/tokens/atlassian-typography-minor3/theme.js +25 -14
- package/dist/esm/tokens/default/typography/font-family.js +9 -1
- package/dist/esm/tokens/default/utility/utility.js +8 -0
- package/dist/types/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +17 -15
- package/dist/types/artifacts/token-names.d.ts +7 -3
- package/dist/types/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types/types.d.ts +16 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-adg3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography-minor3.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +17 -15
- package/dist/types-ts4.5/artifacts/token-names.d.ts +7 -3
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-adg3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography-minor3.d.ts +10 -10
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/types-internal.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/types.d.ts +2 -2
- package/dist/types-ts4.5/tokens/atlassian-typography-adg3/theme.d.ts +145 -10
- package/dist/types-ts4.5/tokens/atlassian-typography-minor3/theme.d.ts +145 -10
- package/dist/types-ts4.5/types.d.ts +16 -2
- package/figma/atlassian-typography-adg3.json +15 -6
- package/figma/atlassian-typography-minor3.json +15 -6
- package/figma/atlassian-typography.json +15 -6
- package/package.json +1 -1
- package/report.api.md +41 -3
- package/tmp/api-report-tmp.d.ts +34 -5
|
@@ -1,10 +1,145 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
font: {
|
|
4
|
+
body: {
|
|
5
|
+
'[default]': {
|
|
6
|
+
value: {
|
|
7
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
9
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
10
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
11
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
12
|
+
fontStyle: "normal";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
value: {
|
|
17
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
19
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
20
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
21
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
22
|
+
fontStyle: "normal";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
sm: {
|
|
26
|
+
value: {
|
|
27
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
29
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
30
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
31
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
32
|
+
fontStyle: "normal";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
code: {
|
|
37
|
+
'[default]': {
|
|
38
|
+
value: {
|
|
39
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
40
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
41
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
42
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
43
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
44
|
+
fontStyle: "normal";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
heading: {
|
|
49
|
+
lg: {
|
|
50
|
+
value: {
|
|
51
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
53
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
54
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
55
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
56
|
+
fontStyle: "normal";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
sm: {
|
|
60
|
+
value: {
|
|
61
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
63
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
64
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
65
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
66
|
+
fontStyle: "normal";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
md: {
|
|
70
|
+
value: {
|
|
71
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
73
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
74
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
75
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
76
|
+
fontStyle: "normal";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
xl: {
|
|
80
|
+
value: {
|
|
81
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
83
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
84
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
85
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
86
|
+
fontStyle: "normal";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
xs: {
|
|
90
|
+
value: {
|
|
91
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
93
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
94
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
95
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
96
|
+
fontStyle: "normal";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
xxl: {
|
|
100
|
+
value: {
|
|
101
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
103
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
104
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
105
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
106
|
+
fontStyle: "normal";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
xxs: {
|
|
110
|
+
value: {
|
|
111
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
113
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
114
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
115
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
116
|
+
fontStyle: "normal";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
ui: {
|
|
121
|
+
'[default]': {
|
|
122
|
+
value: {
|
|
123
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
125
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
126
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
127
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
128
|
+
fontStyle: "normal";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
sm: {
|
|
132
|
+
value: {
|
|
133
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
135
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
136
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
137
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
138
|
+
fontStyle: "normal";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
utility: ValueSchema<UtilTokenSchema<"Lime100" | "Lime200" | "Lime300" | "Lime400" | "Lime500" | "Lime600" | "Lime700" | "Lime800" | "Lime900" | "Lime1000" | "Red100" | "Red200" | "Red300" | "Red400" | "Red500" | "Red600" | "Red700" | "Red800" | "Red900" | "Red1000" | "Orange100" | "Orange200" | "Orange300" | "Orange400" | "Orange500" | "Orange600" | "Orange700" | "Orange800" | "Orange900" | "Orange1000" | "Yellow100" | "Yellow200" | "Yellow300" | "Yellow400" | "Yellow500" | "Yellow600" | "Yellow700" | "Yellow800" | "Yellow900" | "Yellow1000" | "Green100" | "Green200" | "Green300" | "Green400" | "Green500" | "Green600" | "Green700" | "Green800" | "Green900" | "Green1000" | "Teal100" | "Teal200" | "Teal300" | "Teal400" | "Teal500" | "Teal600" | "Teal700" | "Teal800" | "Teal900" | "Teal1000" | "Blue100" | "Blue200" | "Blue300" | "Blue400" | "Blue500" | "Blue600" | "Blue700" | "Blue800" | "Blue900" | "Blue1000" | "Purple100" | "Purple200" | "Purple300" | "Purple400" | "Purple500" | "Purple600" | "Purple700" | "Purple800" | "Purple900" | "Purple1000" | "Magenta100" | "Magenta200" | "Magenta300" | "Magenta400" | "Magenta500" | "Magenta600" | "Magenta700" | "Magenta800" | "Magenta900" | "Magenta1000" | "Neutral0" | "Neutral100" | "Neutral200" | "Neutral300" | "Neutral400" | "Neutral500" | "Neutral600" | "Neutral700" | "Neutral800" | "Neutral900" | "Neutral1000" | "Neutral1100" | "Neutral100A" | "Neutral200A" | "Neutral300A" | "Neutral400A" | "Neutral500A" | "DarkNeutral-100" | "DarkNeutral0" | "DarkNeutral100" | "DarkNeutral200" | "DarkNeutral250" | "DarkNeutral300" | "DarkNeutral350" | "DarkNeutral400" | "DarkNeutral500" | "DarkNeutral600" | "DarkNeutral700" | "DarkNeutral800" | "DarkNeutral900" | "DarkNeutral1000" | "DarkNeutral1100" | "DarkNeutral-100A" | "DarkNeutral100A" | "DarkNeutral200A" | "DarkNeutral250A" | "DarkNeutral300A" | "DarkNeutral350A" | "DarkNeutral400A" | "DarkNeutral500A">>;
|
|
144
|
+
};
|
|
145
|
+
export default _default;
|
|
@@ -1,10 +1,145 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import type { UtilTokenSchema, ValueSchema } from '../../types';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
font: {
|
|
4
|
+
body: {
|
|
5
|
+
'[default]': {
|
|
6
|
+
value: {
|
|
7
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
8
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
9
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
10
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
11
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
12
|
+
fontStyle: "normal";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
lg: {
|
|
16
|
+
value: {
|
|
17
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
18
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
19
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
20
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
21
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
22
|
+
fontStyle: "normal";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
sm: {
|
|
26
|
+
value: {
|
|
27
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
28
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
29
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
30
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
31
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
32
|
+
fontStyle: "normal";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
code: {
|
|
37
|
+
'[default]': {
|
|
38
|
+
value: {
|
|
39
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
40
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
41
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
42
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
43
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
44
|
+
fontStyle: "normal";
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
heading: {
|
|
49
|
+
lg: {
|
|
50
|
+
value: {
|
|
51
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
52
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
53
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
54
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
55
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
56
|
+
fontStyle: "normal";
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
sm: {
|
|
60
|
+
value: {
|
|
61
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
62
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
63
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
64
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
65
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
66
|
+
fontStyle: "normal";
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
md: {
|
|
70
|
+
value: {
|
|
71
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
72
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
73
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
74
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
75
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
76
|
+
fontStyle: "normal";
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
xl: {
|
|
80
|
+
value: {
|
|
81
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
82
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
83
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
84
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
85
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
86
|
+
fontStyle: "normal";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
xs: {
|
|
90
|
+
value: {
|
|
91
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
92
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
93
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
94
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
95
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
96
|
+
fontStyle: "normal";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
xxl: {
|
|
100
|
+
value: {
|
|
101
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
102
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
103
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
104
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
105
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
106
|
+
fontStyle: "normal";
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
xxs: {
|
|
110
|
+
value: {
|
|
111
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
112
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
113
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
114
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
115
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
116
|
+
fontStyle: "normal";
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
ui: {
|
|
121
|
+
'[default]': {
|
|
122
|
+
value: {
|
|
123
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
124
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
125
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
126
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
127
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
128
|
+
fontStyle: "normal";
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
sm: {
|
|
132
|
+
value: {
|
|
133
|
+
fontSize: import("../../palettes/typography-palette").FontSizeScaleValues;
|
|
134
|
+
fontWeight: import("../../palettes/typography-palette").FontWeightScaleValues;
|
|
135
|
+
fontFamily: "font.family.body" | "font.family.code" | "font.family.heading" | "font.family.monospace" | "font.family.sans" | "font.family.brand";
|
|
136
|
+
lineHeight: import("../../palettes/typography-palette").LineHeightScaleValues;
|
|
137
|
+
letterSpacing: import("../../palettes/typography-palette").LetterSpacingScaleValues;
|
|
138
|
+
fontStyle: "normal";
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
utility: ValueSchema<UtilTokenSchema<"Lime100" | "Lime200" | "Lime300" | "Lime400" | "Lime500" | "Lime600" | "Lime700" | "Lime800" | "Lime900" | "Lime1000" | "Red100" | "Red200" | "Red300" | "Red400" | "Red500" | "Red600" | "Red700" | "Red800" | "Red900" | "Red1000" | "Orange100" | "Orange200" | "Orange300" | "Orange400" | "Orange500" | "Orange600" | "Orange700" | "Orange800" | "Orange900" | "Orange1000" | "Yellow100" | "Yellow200" | "Yellow300" | "Yellow400" | "Yellow500" | "Yellow600" | "Yellow700" | "Yellow800" | "Yellow900" | "Yellow1000" | "Green100" | "Green200" | "Green300" | "Green400" | "Green500" | "Green600" | "Green700" | "Green800" | "Green900" | "Green1000" | "Teal100" | "Teal200" | "Teal300" | "Teal400" | "Teal500" | "Teal600" | "Teal700" | "Teal800" | "Teal900" | "Teal1000" | "Blue100" | "Blue200" | "Blue300" | "Blue400" | "Blue500" | "Blue600" | "Blue700" | "Blue800" | "Blue900" | "Blue1000" | "Purple100" | "Purple200" | "Purple300" | "Purple400" | "Purple500" | "Purple600" | "Purple700" | "Purple800" | "Purple900" | "Purple1000" | "Magenta100" | "Magenta200" | "Magenta300" | "Magenta400" | "Magenta500" | "Magenta600" | "Magenta700" | "Magenta800" | "Magenta900" | "Magenta1000" | "Neutral0" | "Neutral100" | "Neutral200" | "Neutral300" | "Neutral400" | "Neutral500" | "Neutral600" | "Neutral700" | "Neutral800" | "Neutral900" | "Neutral1000" | "Neutral1100" | "Neutral100A" | "Neutral200A" | "Neutral300A" | "Neutral400A" | "Neutral500A" | "DarkNeutral-100" | "DarkNeutral0" | "DarkNeutral100" | "DarkNeutral200" | "DarkNeutral250" | "DarkNeutral300" | "DarkNeutral350" | "DarkNeutral400" | "DarkNeutral500" | "DarkNeutral600" | "DarkNeutral700" | "DarkNeutral800" | "DarkNeutral900" | "DarkNeutral1000" | "DarkNeutral1100" | "DarkNeutral-100A" | "DarkNeutral100A" | "DarkNeutral200A" | "DarkNeutral250A" | "DarkNeutral300A" | "DarkNeutral350A" | "DarkNeutral400A" | "DarkNeutral500A">>;
|
|
144
|
+
};
|
|
145
|
+
export default _default;
|
|
@@ -64,6 +64,18 @@ export interface DesignToken<TValue, Group extends Groups> extends Token<TValue,
|
|
|
64
64
|
suggest?: string[];
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* ```ts
|
|
70
|
+
* const object = { font: { heading: { h900: { value: 'hello' } }}}
|
|
71
|
+
* // -> `font.heading.h900`
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
type FlattenKeys<T, Prefix extends string = ''> = {
|
|
75
|
+
[Key in keyof T]: T[Key] extends object ? T[Key] extends {
|
|
76
|
+
value: string;
|
|
77
|
+
} ? `${Prefix}${Key & string}` : `${Prefix}${Key & string}.${FlattenKeys<T[Key]>}` : `${Prefix}.${Key & string}`;
|
|
78
|
+
}[keyof T];
|
|
67
79
|
type OmitDistributive<T, K extends PropertyKey> = T extends any ? T extends object ? Id<DeepOmit<T, K>> : T : never;
|
|
68
80
|
type Id<T> = {} & {
|
|
69
81
|
[P in keyof T]: T[P];
|
|
@@ -904,6 +916,7 @@ export interface UtilTokenSchema<BaseToken> {
|
|
|
904
916
|
};
|
|
905
917
|
UNSAFE: {
|
|
906
918
|
transparent: RawToken;
|
|
919
|
+
textTransformUppercase?: RawToken;
|
|
907
920
|
};
|
|
908
921
|
}
|
|
909
922
|
export interface SurfaceTokenSchema<BaseToken> {
|
|
@@ -991,7 +1004,7 @@ export type TypographyToken<TPalette extends {
|
|
|
991
1004
|
}> = DesignToken<{
|
|
992
1005
|
fontStyle: 'normal';
|
|
993
1006
|
fontWeight: TPalette['fontWeight'];
|
|
994
|
-
fontFamily:
|
|
1007
|
+
fontFamily: FlattenKeys<FontFamilyTokenSchema<any>>;
|
|
995
1008
|
fontSize: TPalette['fontSize'];
|
|
996
1009
|
lineHeight: TPalette['lineHeight'];
|
|
997
1010
|
letterSpacing: TPalette['letterSpacing'];
|
|
@@ -1094,7 +1107,8 @@ export interface FontFamilyTokenSchema<BaseToken> {
|
|
|
1094
1107
|
* @deprecated
|
|
1095
1108
|
*/
|
|
1096
1109
|
monospace: DeprecatedTypographyToken<BaseToken>;
|
|
1097
|
-
|
|
1110
|
+
body: DeprecatedTypographyToken<BaseToken>;
|
|
1111
|
+
heading: DeprecatedTypographyToken<BaseToken>;
|
|
1098
1112
|
brand: DeprecatedTypographyToken<BaseToken>;
|
|
1099
1113
|
code: DeprecatedTypographyToken<BaseToken>;
|
|
1100
1114
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Typography adg3",
|
|
3
3
|
"tokens": {
|
|
4
|
-
"Typography adg3/font.family.
|
|
4
|
+
"Typography adg3/font.family.body": {
|
|
5
5
|
"attributes": {
|
|
6
6
|
"group": "fontFamily",
|
|
7
7
|
"state": "experimental",
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
|
-
"Typography adg3/font.family.
|
|
13
|
+
"Typography adg3/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
15
15
|
"group": "fontFamily",
|
|
16
|
-
"state": "
|
|
17
|
-
"introduced": "
|
|
16
|
+
"state": "experimental",
|
|
17
|
+
"introduced": "1.14.0",
|
|
18
18
|
"description": "Helpful guidance goes here"
|
|
19
19
|
},
|
|
20
20
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
21
21
|
},
|
|
22
|
-
"Typography adg3/font.family.
|
|
22
|
+
"Typography adg3/font.family.heading": {
|
|
23
23
|
"attributes": {
|
|
24
24
|
"group": "fontFamily",
|
|
25
25
|
"state": "experimental",
|
|
@@ -28,6 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
|
+
"Typography adg3/font.family.monospace": {
|
|
32
|
+
"attributes": {
|
|
33
|
+
"group": "fontFamily",
|
|
34
|
+
"state": "active",
|
|
35
|
+
"introduced": "0.10.33",
|
|
36
|
+
"description": "Helpful guidance goes here"
|
|
37
|
+
},
|
|
38
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
39
|
+
},
|
|
31
40
|
"Typography adg3/font.family.sans": {
|
|
32
41
|
"attributes": {
|
|
33
42
|
"group": "fontFamily",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Typography minor3",
|
|
3
3
|
"tokens": {
|
|
4
|
-
"Typography minor3/font.family.
|
|
4
|
+
"Typography minor3/font.family.body": {
|
|
5
5
|
"attributes": {
|
|
6
6
|
"group": "fontFamily",
|
|
7
7
|
"state": "experimental",
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
|
-
"Typography minor3/font.family.
|
|
13
|
+
"Typography minor3/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
15
15
|
"group": "fontFamily",
|
|
16
|
-
"state": "
|
|
17
|
-
"introduced": "
|
|
16
|
+
"state": "experimental",
|
|
17
|
+
"introduced": "1.14.0",
|
|
18
18
|
"description": "Helpful guidance goes here"
|
|
19
19
|
},
|
|
20
20
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
21
21
|
},
|
|
22
|
-
"Typography minor3/font.family.
|
|
22
|
+
"Typography minor3/font.family.heading": {
|
|
23
23
|
"attributes": {
|
|
24
24
|
"group": "fontFamily",
|
|
25
25
|
"state": "experimental",
|
|
@@ -28,6 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
|
+
"Typography minor3/font.family.monospace": {
|
|
32
|
+
"attributes": {
|
|
33
|
+
"group": "fontFamily",
|
|
34
|
+
"state": "active",
|
|
35
|
+
"introduced": "0.10.33",
|
|
36
|
+
"description": "Helpful guidance goes here"
|
|
37
|
+
},
|
|
38
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
39
|
+
},
|
|
31
40
|
"Typography minor3/font.family.sans": {
|
|
32
41
|
"attributes": {
|
|
33
42
|
"group": "fontFamily",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Typography",
|
|
3
3
|
"tokens": {
|
|
4
|
-
"Typography/font.family.
|
|
4
|
+
"Typography/font.family.body": {
|
|
5
5
|
"attributes": {
|
|
6
6
|
"group": "fontFamily",
|
|
7
7
|
"state": "experimental",
|
|
8
8
|
"introduced": "1.14.0",
|
|
9
9
|
"description": "Helpful guidance goes here"
|
|
10
10
|
},
|
|
11
|
-
"value": "ui-
|
|
11
|
+
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
12
12
|
},
|
|
13
|
-
"Typography/font.family.
|
|
13
|
+
"Typography/font.family.code": {
|
|
14
14
|
"attributes": {
|
|
15
15
|
"group": "fontFamily",
|
|
16
|
-
"state": "
|
|
17
|
-
"introduced": "
|
|
16
|
+
"state": "experimental",
|
|
17
|
+
"introduced": "1.14.0",
|
|
18
18
|
"description": "Helpful guidance goes here"
|
|
19
19
|
},
|
|
20
20
|
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
21
21
|
},
|
|
22
|
-
"Typography/font.family.
|
|
22
|
+
"Typography/font.family.heading": {
|
|
23
23
|
"attributes": {
|
|
24
24
|
"group": "fontFamily",
|
|
25
25
|
"state": "experimental",
|
|
@@ -28,6 +28,15 @@
|
|
|
28
28
|
},
|
|
29
29
|
"value": "ui-sans-serif, \"Segoe UI\", system-ui, Ubuntu, \"Helvetica Neue\", sans-serif"
|
|
30
30
|
},
|
|
31
|
+
"Typography/font.family.monospace": {
|
|
32
|
+
"attributes": {
|
|
33
|
+
"group": "fontFamily",
|
|
34
|
+
"state": "active",
|
|
35
|
+
"introduced": "0.10.33",
|
|
36
|
+
"description": "Helpful guidance goes here"
|
|
37
|
+
},
|
|
38
|
+
"value": "ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace"
|
|
39
|
+
},
|
|
31
40
|
"Typography/font.family.sans": {
|
|
32
41
|
"attributes": {
|
|
33
42
|
"group": "fontFamily",
|
package/package.json
CHANGED
package/report.api.md
CHANGED
|
@@ -469,6 +469,7 @@ export type ActiveTokens =
|
|
|
469
469
|
| 'space.negative.250'
|
|
470
470
|
| 'space.negative.300'
|
|
471
471
|
| 'space.negative.400'
|
|
472
|
+
| 'utility.UNSAFE.textTransformUppercase'
|
|
472
473
|
| 'utility.UNSAFE.transparent'
|
|
473
474
|
| 'utility.elevation.surface.current';
|
|
474
475
|
|
|
@@ -1084,6 +1085,7 @@ type CSSTokenMap = {
|
|
|
1084
1085
|
'elevation.shadow.raised': 'var(--ds-shadow-raised)';
|
|
1085
1086
|
'opacity.disabled': 'var(--ds-opacity-disabled)';
|
|
1086
1087
|
'opacity.loading': 'var(--ds-opacity-loading)';
|
|
1088
|
+
'utility.UNSAFE.textTransformUppercase': 'var(--ds-UNSAFE-textTransformUppercase)';
|
|
1087
1089
|
'utility.UNSAFE.transparent': 'var(--ds-UNSAFE-transparent)';
|
|
1088
1090
|
'utility.elevation.surface.current': 'var(--ds-elevation-surface-current)';
|
|
1089
1091
|
'border.radius.050': 'var(--ds-border-radius-050)';
|
|
@@ -1138,9 +1140,10 @@ type CSSTokenMap = {
|
|
|
1138
1140
|
'font.letterSpacing.400': 'var(--ds-font-letterSpacing-400)';
|
|
1139
1141
|
'font.ui': 'var(--ds-font-ui)';
|
|
1140
1142
|
'font.ui.sm': 'var(--ds-font-ui-sm)';
|
|
1143
|
+
'font.family.body': 'var(--ds-font-family-body)';
|
|
1141
1144
|
'font.family.code': 'var(--ds-font-family-code)';
|
|
1145
|
+
'font.family.heading': 'var(--ds-font-family-heading)';
|
|
1142
1146
|
'font.family.monospace': 'var(--ds-font-family-monospace)';
|
|
1143
|
-
'font.family.product': 'var(--ds-font-family-product)';
|
|
1144
1147
|
'font.family.sans': 'var(--ds-font-family-sans)';
|
|
1145
1148
|
'font.family.brand': 'var(--ds-font-family-brand)';
|
|
1146
1149
|
'font.size.050': 'var(--ds-font-size-050)';
|
|
@@ -1176,6 +1179,12 @@ type DeletedTokenState = 'deleted';
|
|
|
1176
1179
|
// @public (undocumented)
|
|
1177
1180
|
type DeprecatedTokenState = 'deprecated';
|
|
1178
1181
|
|
|
1182
|
+
// @public (undocumented)
|
|
1183
|
+
type DeprecatedTypographyToken<BaseToken> = DesignToken<
|
|
1184
|
+
BaseToken,
|
|
1185
|
+
'fontFamily' | 'fontSize' | 'fontWeight' | 'letterSpacing' | 'lineHeight'
|
|
1186
|
+
>;
|
|
1187
|
+
|
|
1179
1188
|
// @public
|
|
1180
1189
|
interface DesignToken<TValue, Group extends Groups>
|
|
1181
1190
|
extends Token<TValue, Group> {
|
|
@@ -1224,6 +1233,32 @@ type ExperimentalTokenState = 'experimental';
|
|
|
1224
1233
|
// @public
|
|
1225
1234
|
type ExtensionThemeId = ThemeIds;
|
|
1226
1235
|
|
|
1236
|
+
// @public (undocumented)
|
|
1237
|
+
type FlattenKeys<T, Prefix extends string = ''> = {
|
|
1238
|
+
[Key in keyof T]: T[Key] extends object
|
|
1239
|
+
? T[Key] extends {
|
|
1240
|
+
value: string;
|
|
1241
|
+
}
|
|
1242
|
+
? `${Prefix}${Key & string}`
|
|
1243
|
+
: `${Prefix}${Key & string}.${FlattenKeys<T[Key]>}`
|
|
1244
|
+
: `${Prefix}.${Key & string}`;
|
|
1245
|
+
}[keyof T];
|
|
1246
|
+
|
|
1247
|
+
// @public (undocumented)
|
|
1248
|
+
interface FontFamilyTokenSchema<BaseToken> {
|
|
1249
|
+
// (undocumented)
|
|
1250
|
+
font: {
|
|
1251
|
+
family: {
|
|
1252
|
+
sans: DeprecatedTypographyToken<BaseToken>;
|
|
1253
|
+
monospace: DeprecatedTypographyToken<BaseToken>;
|
|
1254
|
+
body: DeprecatedTypographyToken<BaseToken>;
|
|
1255
|
+
heading: DeprecatedTypographyToken<BaseToken>;
|
|
1256
|
+
brand: DeprecatedTypographyToken<BaseToken>;
|
|
1257
|
+
code: DeprecatedTypographyToken<BaseToken>;
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1227
1262
|
// @public (undocumented)
|
|
1228
1263
|
export const getGlobalTheme: () => Partial<ActiveThemeState>;
|
|
1229
1264
|
|
|
@@ -1719,6 +1754,7 @@ type InternalTokenIds =
|
|
|
1719
1754
|
| 'space.negative.250'
|
|
1720
1755
|
| 'space.negative.300'
|
|
1721
1756
|
| 'space.negative.400'
|
|
1757
|
+
| 'utility.UNSAFE.textTransformUppercase'
|
|
1722
1758
|
| 'utility.UNSAFE.transparent'
|
|
1723
1759
|
| 'utility.elevation.surface.current';
|
|
1724
1760
|
|
|
@@ -2347,6 +2383,7 @@ const tokens: {
|
|
|
2347
2383
|
readonly 'elevation.shadow.raised': '--ds-shadow-raised';
|
|
2348
2384
|
readonly 'opacity.disabled': '--ds-opacity-disabled';
|
|
2349
2385
|
readonly 'opacity.loading': '--ds-opacity-loading';
|
|
2386
|
+
readonly 'utility.UNSAFE.textTransformUppercase': '--ds-UNSAFE-textTransformUppercase';
|
|
2350
2387
|
readonly 'utility.UNSAFE.transparent': '--ds-UNSAFE-transparent';
|
|
2351
2388
|
readonly 'utility.elevation.surface.current': '--ds-elevation-surface-current';
|
|
2352
2389
|
readonly 'border.radius.050': '--ds-border-radius-050';
|
|
@@ -2401,9 +2438,10 @@ const tokens: {
|
|
|
2401
2438
|
readonly 'font.letterSpacing.400': '--ds-font-letterSpacing-400';
|
|
2402
2439
|
readonly 'font.ui': '--ds-font-ui';
|
|
2403
2440
|
readonly 'font.ui.sm': '--ds-font-ui-sm';
|
|
2441
|
+
readonly 'font.family.body': '--ds-font-family-body';
|
|
2404
2442
|
readonly 'font.family.code': '--ds-font-family-code';
|
|
2443
|
+
readonly 'font.family.heading': '--ds-font-family-heading';
|
|
2405
2444
|
readonly 'font.family.monospace': '--ds-font-family-monospace';
|
|
2406
|
-
readonly 'font.family.product': '--ds-font-family-product';
|
|
2407
2445
|
readonly 'font.family.sans': '--ds-font-family-sans';
|
|
2408
2446
|
readonly 'font.family.brand': '--ds-font-family-brand';
|
|
2409
2447
|
readonly 'font.size.050': '--ds-font-size-050';
|
|
@@ -2450,7 +2488,7 @@ export type TypographyToken<
|
|
|
2450
2488
|
{
|
|
2451
2489
|
fontStyle: 'normal';
|
|
2452
2490
|
fontWeight: TPalette['fontWeight'];
|
|
2453
|
-
fontFamily:
|
|
2491
|
+
fontFamily: FlattenKeys<FontFamilyTokenSchema<any>>;
|
|
2454
2492
|
fontSize: TPalette['fontSize'];
|
|
2455
2493
|
lineHeight: TPalette['lineHeight'];
|
|
2456
2494
|
letterSpacing: TPalette['letterSpacing'];
|