@atlaskit/tokens 0.6.1 → 0.7.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 +64 -0
- package/css/atlassian-dark.css +55 -8
- package/css/atlassian-light.css +54 -7
- package/dist/cjs/artifacts/rename-mapping.js +100 -32
- package/dist/cjs/artifacts/token-default-values.js +54 -7
- package/dist/cjs/artifacts/token-names.js +54 -7
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +1151 -224
- package/dist/cjs/figma/synchronize-figma-tokens.js +34 -9
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/cjs/tokens/atlassian-dark/color/background.js +16 -3
- package/dist/cjs/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/cjs/tokens/atlassian-light/color/background.js +13 -0
- package/dist/cjs/tokens/atlassian-light/color/border.js +3 -0
- package/dist/cjs/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/cjs/tokens/atlassian-light/color/text.js +3 -0
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/cjs/tokens/default/color/accent.js +234 -50
- package/dist/cjs/tokens/default/color/background.js +30 -5
- package/dist/cjs/tokens/default/color/border.js +7 -0
- package/dist/cjs/tokens/default/color/icon.js +7 -0
- package/dist/cjs/tokens/default/color/text.js +7 -0
- package/dist/cjs/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/cjs/tokens/palette.js +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +100 -32
- package/dist/es2019/artifacts/token-default-values.js +54 -7
- package/dist/es2019/artifacts/token-names.js +54 -7
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +1151 -224
- package/dist/es2019/figma/synchronize-figma-tokens.js +32 -9
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/es2019/tokens/atlassian-dark/color/background.js +16 -3
- package/dist/es2019/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/es2019/tokens/atlassian-light/color/background.js +13 -0
- package/dist/es2019/tokens/atlassian-light/color/border.js +3 -0
- package/dist/es2019/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/es2019/tokens/atlassian-light/color/text.js +3 -0
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/es2019/tokens/default/color/accent.js +234 -50
- package/dist/es2019/tokens/default/color/background.js +30 -5
- package/dist/es2019/tokens/default/color/border.js +7 -0
- package/dist/es2019/tokens/default/color/icon.js +7 -0
- package/dist/es2019/tokens/default/color/text.js +7 -0
- package/dist/es2019/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/es2019/tokens/palette.js +6 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +100 -32
- package/dist/esm/artifacts/token-default-values.js +54 -7
- package/dist/esm/artifacts/token-names.js +54 -7
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +1173 -246
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +1151 -224
- package/dist/esm/figma/synchronize-figma-tokens.js +34 -9
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/accent.js +120 -32
- package/dist/esm/tokens/atlassian-dark/color/background.js +16 -3
- package/dist/esm/tokens/atlassian-dark/color/border.js +3 -0
- package/dist/esm/tokens/atlassian-dark/color/icon.js +3 -0
- package/dist/esm/tokens/atlassian-dark/color/text.js +3 -0
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +79 -6
- package/dist/esm/tokens/atlassian-dark/elevation/surface.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/accent.js +112 -24
- package/dist/esm/tokens/atlassian-light/color/background.js +13 -0
- package/dist/esm/tokens/atlassian-light/color/border.js +3 -0
- package/dist/esm/tokens/atlassian-light/color/icon.js +3 -0
- package/dist/esm/tokens/atlassian-light/color/text.js +3 -0
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +79 -6
- package/dist/esm/tokens/default/color/accent.js +234 -50
- package/dist/esm/tokens/default/color/background.js +30 -5
- package/dist/esm/tokens/default/color/border.js +7 -0
- package/dist/esm/tokens/default/color/icon.js +7 -0
- package/dist/esm/tokens/default/color/text.js +7 -0
- package/dist/esm/tokens/default/deprecated/deprecated.js +192 -34
- package/dist/esm/tokens/palette.js +6 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +54 -7
- package/dist/types/artifacts/token-names.d.ts +108 -14
- package/dist/types/artifacts/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/figma/synchronize-figma-tokens.d.ts +9 -1
- package/dist/types/tokens/default/utility/utility.d.ts +10 -10
- package/dist/types/types.d.ts +116 -26
- package/package.json +2 -4
|
@@ -5,7 +5,7 @@ const color = {
|
|
|
5
5
|
attributes: {
|
|
6
6
|
group: 'paint',
|
|
7
7
|
state: 'deprecated',
|
|
8
|
-
replacement: 'color.background.accent.blue.
|
|
8
|
+
replacement: 'color.background.accent.blue.bolder',
|
|
9
9
|
description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
10
10
|
}
|
|
11
11
|
},
|
|
@@ -13,7 +13,7 @@ const color = {
|
|
|
13
13
|
attributes: {
|
|
14
14
|
group: 'paint',
|
|
15
15
|
state: 'deprecated',
|
|
16
|
-
replacement: 'color.background.accent.green.
|
|
16
|
+
replacement: 'color.background.accent.green.bolder',
|
|
17
17
|
description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
18
18
|
}
|
|
19
19
|
},
|
|
@@ -21,7 +21,7 @@ const color = {
|
|
|
21
21
|
attributes: {
|
|
22
22
|
group: 'paint',
|
|
23
23
|
state: 'deprecated',
|
|
24
|
-
replacement: 'color.background.accent.orange.
|
|
24
|
+
replacement: 'color.background.accent.orange.bolder',
|
|
25
25
|
description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
26
26
|
}
|
|
27
27
|
},
|
|
@@ -29,7 +29,7 @@ const color = {
|
|
|
29
29
|
attributes: {
|
|
30
30
|
group: 'paint',
|
|
31
31
|
state: 'deprecated',
|
|
32
|
-
replacement: 'color.background.accent.purple.
|
|
32
|
+
replacement: 'color.background.accent.purple.bolder',
|
|
33
33
|
description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
34
34
|
}
|
|
35
35
|
},
|
|
@@ -37,7 +37,7 @@ const color = {
|
|
|
37
37
|
attributes: {
|
|
38
38
|
group: 'paint',
|
|
39
39
|
state: 'deprecated',
|
|
40
|
-
replacement: 'color.background.accent.red.
|
|
40
|
+
replacement: 'color.background.accent.red.bolder',
|
|
41
41
|
description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
42
42
|
}
|
|
43
43
|
},
|
|
@@ -45,7 +45,7 @@ const color = {
|
|
|
45
45
|
attributes: {
|
|
46
46
|
group: 'paint',
|
|
47
47
|
state: 'deprecated',
|
|
48
|
-
replacement: 'color.background.accent.teal.
|
|
48
|
+
replacement: 'color.background.accent.teal.bolder',
|
|
49
49
|
description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
50
50
|
}
|
|
51
51
|
},
|
|
@@ -53,7 +53,7 @@ const color = {
|
|
|
53
53
|
attributes: {
|
|
54
54
|
group: 'paint',
|
|
55
55
|
state: 'deprecated',
|
|
56
|
-
replacement: 'color.background.accent.blue.
|
|
56
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
57
57
|
description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
58
58
|
}
|
|
59
59
|
},
|
|
@@ -61,7 +61,7 @@ const color = {
|
|
|
61
61
|
attributes: {
|
|
62
62
|
group: 'paint',
|
|
63
63
|
state: 'deprecated',
|
|
64
|
-
replacement: 'color.background.accent.green.
|
|
64
|
+
replacement: 'color.background.accent.green.subtler',
|
|
65
65
|
description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
66
66
|
}
|
|
67
67
|
},
|
|
@@ -69,7 +69,7 @@ const color = {
|
|
|
69
69
|
attributes: {
|
|
70
70
|
group: 'paint',
|
|
71
71
|
state: 'deprecated',
|
|
72
|
-
replacement: 'color.background.accent.magenta.
|
|
72
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
73
73
|
description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
74
74
|
}
|
|
75
75
|
},
|
|
@@ -77,7 +77,7 @@ const color = {
|
|
|
77
77
|
attributes: {
|
|
78
78
|
group: 'paint',
|
|
79
79
|
state: 'deprecated',
|
|
80
|
-
replacement: 'color.background.accent.orange.
|
|
80
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
81
81
|
description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
82
82
|
}
|
|
83
83
|
},
|
|
@@ -85,7 +85,7 @@ const color = {
|
|
|
85
85
|
attributes: {
|
|
86
86
|
group: 'paint',
|
|
87
87
|
state: 'deprecated',
|
|
88
|
-
replacement: 'color.background.accent.purple.
|
|
88
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
89
89
|
description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -93,7 +93,7 @@ const color = {
|
|
|
93
93
|
attributes: {
|
|
94
94
|
group: 'paint',
|
|
95
95
|
state: 'deprecated',
|
|
96
|
-
replacement: 'color.background.accent.red.
|
|
96
|
+
replacement: 'color.background.accent.red.subtler',
|
|
97
97
|
description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
98
98
|
}
|
|
99
99
|
},
|
|
@@ -101,12 +101,158 @@ const color = {
|
|
|
101
101
|
attributes: {
|
|
102
102
|
group: 'paint',
|
|
103
103
|
state: 'deprecated',
|
|
104
|
-
replacement: 'color.background.accent.teal.
|
|
104
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
105
105
|
description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
background: {
|
|
110
|
+
accent: {
|
|
111
|
+
blue: {
|
|
112
|
+
'[default]': {
|
|
113
|
+
attributes: {
|
|
114
|
+
group: 'paint',
|
|
115
|
+
state: 'deprecated',
|
|
116
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
117
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
bold: {
|
|
121
|
+
attributes: {
|
|
122
|
+
group: 'paint',
|
|
123
|
+
state: 'deprecated',
|
|
124
|
+
replacement: 'color.background.accent.blue.subtle',
|
|
125
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
red: {
|
|
130
|
+
'[default]': {
|
|
131
|
+
attributes: {
|
|
132
|
+
group: 'paint',
|
|
133
|
+
state: 'deprecated',
|
|
134
|
+
replacement: 'color.background.accent.red.subtler',
|
|
135
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
bold: {
|
|
139
|
+
attributes: {
|
|
140
|
+
group: 'paint',
|
|
141
|
+
state: 'deprecated',
|
|
142
|
+
replacement: 'color.background.accent.red.subtle',
|
|
143
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
orange: {
|
|
148
|
+
'[default]': {
|
|
149
|
+
attributes: {
|
|
150
|
+
group: 'paint',
|
|
151
|
+
state: 'deprecated',
|
|
152
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
153
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
bold: {
|
|
157
|
+
attributes: {
|
|
158
|
+
group: 'paint',
|
|
159
|
+
state: 'deprecated',
|
|
160
|
+
replacement: 'color.background.accent.orange.subtle',
|
|
161
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
yellow: {
|
|
166
|
+
'[default]': {
|
|
167
|
+
attributes: {
|
|
168
|
+
group: 'paint',
|
|
169
|
+
state: 'deprecated',
|
|
170
|
+
replacement: 'color.background.accent.yellow.subtler',
|
|
171
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
bold: {
|
|
175
|
+
attributes: {
|
|
176
|
+
group: 'paint',
|
|
177
|
+
state: 'deprecated',
|
|
178
|
+
replacement: 'color.background.accent.yellow.subtle',
|
|
179
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
green: {
|
|
184
|
+
'[default]': {
|
|
185
|
+
attributes: {
|
|
186
|
+
group: 'paint',
|
|
187
|
+
state: 'deprecated',
|
|
188
|
+
replacement: 'color.background.accent.green.subtler',
|
|
189
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
bold: {
|
|
193
|
+
attributes: {
|
|
194
|
+
group: 'paint',
|
|
195
|
+
state: 'deprecated',
|
|
196
|
+
replacement: 'color.background.accent.green.subtle',
|
|
197
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
teal: {
|
|
202
|
+
'[default]': {
|
|
203
|
+
attributes: {
|
|
204
|
+
group: 'paint',
|
|
205
|
+
state: 'deprecated',
|
|
206
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
207
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
bold: {
|
|
211
|
+
attributes: {
|
|
212
|
+
group: 'paint',
|
|
213
|
+
state: 'deprecated',
|
|
214
|
+
replacement: 'color.background.accent.teal.subtle',
|
|
215
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
purple: {
|
|
220
|
+
'[default]': {
|
|
221
|
+
attributes: {
|
|
222
|
+
group: 'paint',
|
|
223
|
+
state: 'deprecated',
|
|
224
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
225
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
bold: {
|
|
229
|
+
attributes: {
|
|
230
|
+
group: 'paint',
|
|
231
|
+
state: 'deprecated',
|
|
232
|
+
replacement: 'color.background.accent.purple.subtle',
|
|
233
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
magenta: {
|
|
238
|
+
'[default]': {
|
|
239
|
+
attributes: {
|
|
240
|
+
group: 'paint',
|
|
241
|
+
state: 'deprecated',
|
|
242
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
243
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
bold: {
|
|
247
|
+
attributes: {
|
|
248
|
+
group: 'paint',
|
|
249
|
+
state: 'deprecated',
|
|
250
|
+
replacement: 'color.background.accent.magenta.subtle',
|
|
251
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, and the background needs to pass min 3:1 contrast requirements.'
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
110
256
|
blanket: {
|
|
111
257
|
attributes: {
|
|
112
258
|
group: 'paint',
|
|
@@ -115,6 +261,34 @@ const color = {
|
|
|
115
261
|
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
116
262
|
}
|
|
117
263
|
},
|
|
264
|
+
brand: {
|
|
265
|
+
'[default]': {
|
|
266
|
+
'[default]': {
|
|
267
|
+
attributes: {
|
|
268
|
+
group: 'paint',
|
|
269
|
+
state: 'deprecated',
|
|
270
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
271
|
+
description: 'Use for the background of elements used to reinforce our brand.'
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
hovered: {
|
|
275
|
+
attributes: {
|
|
276
|
+
group: 'paint',
|
|
277
|
+
state: 'deprecated',
|
|
278
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
279
|
+
description: 'Hovered state for color.background.brand'
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
pressed: {
|
|
283
|
+
attributes: {
|
|
284
|
+
group: 'paint',
|
|
285
|
+
state: 'deprecated',
|
|
286
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
287
|
+
description: 'Pressed state for color.background.brand'
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
118
292
|
boldBrand: {
|
|
119
293
|
hover: {
|
|
120
294
|
attributes: {
|
|
@@ -305,7 +479,7 @@ Combine with shadow.overlay.`
|
|
|
305
479
|
attributes: {
|
|
306
480
|
group: 'paint',
|
|
307
481
|
state: 'deprecated',
|
|
308
|
-
replacement: 'color.background.
|
|
482
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
309
483
|
description: 'Use for backgrounds of elements in a selected state'
|
|
310
484
|
}
|
|
311
485
|
},
|
|
@@ -313,17 +487,9 @@ Combine with shadow.overlay.`
|
|
|
313
487
|
attributes: {
|
|
314
488
|
group: 'paint',
|
|
315
489
|
state: 'deprecated',
|
|
316
|
-
replacement: 'color.background.
|
|
490
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
317
491
|
description: 'Hover state for color.background.selected'
|
|
318
492
|
}
|
|
319
|
-
},
|
|
320
|
-
pressed: {
|
|
321
|
-
attributes: {
|
|
322
|
-
group: 'paint',
|
|
323
|
-
state: 'deprecated',
|
|
324
|
-
replacement: 'color.background.brand.[default].pressed',
|
|
325
|
-
description: 'Pressed state for color.background.selected'
|
|
326
|
-
}
|
|
327
493
|
}
|
|
328
494
|
},
|
|
329
495
|
subtleBorderedNeutral: {
|
|
@@ -349,7 +515,7 @@ Combine with shadow.overlay.`
|
|
|
349
515
|
attributes: {
|
|
350
516
|
group: 'paint',
|
|
351
517
|
state: 'deprecated',
|
|
352
|
-
replacement: 'color.background.
|
|
518
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
353
519
|
description: 'Hover state for background.subtleBrand'
|
|
354
520
|
}
|
|
355
521
|
},
|
|
@@ -357,7 +523,7 @@ Combine with shadow.overlay.`
|
|
|
357
523
|
attributes: {
|
|
358
524
|
group: 'paint',
|
|
359
525
|
state: 'deprecated',
|
|
360
|
-
replacement: 'color.background.
|
|
526
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
361
527
|
description: 'Pressed state for background.subtleBrand'
|
|
362
528
|
}
|
|
363
529
|
},
|
|
@@ -365,7 +531,7 @@ Combine with shadow.overlay.`
|
|
|
365
531
|
attributes: {
|
|
366
532
|
group: 'paint',
|
|
367
533
|
state: 'deprecated',
|
|
368
|
-
replacement: 'color.background.
|
|
534
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
369
535
|
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
370
536
|
}
|
|
371
537
|
}
|
|
@@ -592,14 +758,6 @@ Use for icon-only buttons, or icons paired with text.highEmphasis text
|
|
|
592
758
|
replacement: 'color.text.warning.inverse',
|
|
593
759
|
description: 'Use for text and icons when on bold warning backgrounds'
|
|
594
760
|
}
|
|
595
|
-
},
|
|
596
|
-
selected: {
|
|
597
|
-
attributes: {
|
|
598
|
-
group: 'paint',
|
|
599
|
-
state: 'deprecated',
|
|
600
|
-
replacement: 'color.text.brand',
|
|
601
|
-
description: 'Use for text, icons, borders, or other visual indicators in selected states'
|
|
602
|
-
}
|
|
603
761
|
}
|
|
604
762
|
},
|
|
605
763
|
border: {
|
package/dist/es2019/version.json
CHANGED
|
@@ -40,10 +40,6 @@ var renameMapper = [{
|
|
|
40
40
|
"path": "color.text.onBoldWarning",
|
|
41
41
|
"state": "deprecated",
|
|
42
42
|
"replacement": "color.text.warning.inverse"
|
|
43
|
-
}, {
|
|
44
|
-
"path": "color.text.selected",
|
|
45
|
-
"state": "deprecated",
|
|
46
|
-
"replacement": "color.text.brand"
|
|
47
43
|
}, {
|
|
48
44
|
"path": "color.border.focus",
|
|
49
45
|
"state": "deprecated",
|
|
@@ -52,6 +48,90 @@ var renameMapper = [{
|
|
|
52
48
|
"path": "color.border.neutral",
|
|
53
49
|
"state": "deprecated",
|
|
54
50
|
"replacement": "color.border.[default]"
|
|
51
|
+
}, {
|
|
52
|
+
"path": "color.background.accent.blue.[default]",
|
|
53
|
+
"state": "deprecated",
|
|
54
|
+
"replacement": "color.background.accent.blue.subtler"
|
|
55
|
+
}, {
|
|
56
|
+
"path": "color.background.accent.blue.bold",
|
|
57
|
+
"state": "deprecated",
|
|
58
|
+
"replacement": "color.background.accent.blue.subtle"
|
|
59
|
+
}, {
|
|
60
|
+
"path": "color.background.accent.red.[default]",
|
|
61
|
+
"state": "deprecated",
|
|
62
|
+
"replacement": "color.background.accent.red.subtler"
|
|
63
|
+
}, {
|
|
64
|
+
"path": "color.background.accent.red.bold",
|
|
65
|
+
"state": "deprecated",
|
|
66
|
+
"replacement": "color.background.accent.red.subtle"
|
|
67
|
+
}, {
|
|
68
|
+
"path": "color.background.accent.orange.[default]",
|
|
69
|
+
"state": "deprecated",
|
|
70
|
+
"replacement": "color.background.accent.orange.subtler"
|
|
71
|
+
}, {
|
|
72
|
+
"path": "color.background.accent.orange.bold",
|
|
73
|
+
"state": "deprecated",
|
|
74
|
+
"replacement": "color.background.accent.orange.subtle"
|
|
75
|
+
}, {
|
|
76
|
+
"path": "color.background.accent.yellow.[default]",
|
|
77
|
+
"state": "deprecated",
|
|
78
|
+
"replacement": "color.background.accent.yellow.subtler"
|
|
79
|
+
}, {
|
|
80
|
+
"path": "color.background.accent.yellow.bold",
|
|
81
|
+
"state": "deprecated",
|
|
82
|
+
"replacement": "color.background.accent.yellow.subtle"
|
|
83
|
+
}, {
|
|
84
|
+
"path": "color.background.accent.green.[default]",
|
|
85
|
+
"state": "deprecated",
|
|
86
|
+
"replacement": "color.background.accent.green.subtler"
|
|
87
|
+
}, {
|
|
88
|
+
"path": "color.background.accent.green.bold",
|
|
89
|
+
"state": "deprecated",
|
|
90
|
+
"replacement": "color.background.accent.green.subtle"
|
|
91
|
+
}, {
|
|
92
|
+
"path": "color.background.accent.teal.[default]",
|
|
93
|
+
"state": "deprecated",
|
|
94
|
+
"replacement": "color.background.accent.teal.subtler"
|
|
95
|
+
}, {
|
|
96
|
+
"path": "color.background.accent.teal.bold",
|
|
97
|
+
"state": "deprecated",
|
|
98
|
+
"replacement": "color.background.accent.teal.subtle"
|
|
99
|
+
}, {
|
|
100
|
+
"path": "color.background.accent.purple.[default]",
|
|
101
|
+
"state": "deprecated",
|
|
102
|
+
"replacement": "color.background.accent.purple.subtler"
|
|
103
|
+
}, {
|
|
104
|
+
"path": "color.background.accent.purple.bold",
|
|
105
|
+
"state": "deprecated",
|
|
106
|
+
"replacement": "color.background.accent.purple.subtle"
|
|
107
|
+
}, {
|
|
108
|
+
"path": "color.background.accent.magenta.[default]",
|
|
109
|
+
"state": "deprecated",
|
|
110
|
+
"replacement": "color.background.accent.magenta.subtler"
|
|
111
|
+
}, {
|
|
112
|
+
"path": "color.background.accent.magenta.bold",
|
|
113
|
+
"state": "deprecated",
|
|
114
|
+
"replacement": "color.background.accent.magenta.subtle"
|
|
115
|
+
}, {
|
|
116
|
+
"path": "color.background.brand.[default].[default]",
|
|
117
|
+
"state": "deprecated",
|
|
118
|
+
"replacement": "color.background.selected.[default].[default]"
|
|
119
|
+
}, {
|
|
120
|
+
"path": "color.background.brand.[default].hovered",
|
|
121
|
+
"state": "deprecated",
|
|
122
|
+
"replacement": "color.background.selected.[default].hovered"
|
|
123
|
+
}, {
|
|
124
|
+
"path": "color.background.brand.[default].pressed",
|
|
125
|
+
"state": "deprecated",
|
|
126
|
+
"replacement": "color.background.selected.[default].pressed"
|
|
127
|
+
}, {
|
|
128
|
+
"path": "color.background.selected.resting",
|
|
129
|
+
"state": "deprecated",
|
|
130
|
+
"replacement": "color.background.selected.[default].[default]"
|
|
131
|
+
}, {
|
|
132
|
+
"path": "color.background.selected.hover",
|
|
133
|
+
"state": "deprecated",
|
|
134
|
+
"replacement": "color.background.selected.[default].hovered"
|
|
55
135
|
}, {
|
|
56
136
|
"path": "color.background.blanket",
|
|
57
137
|
"state": "deprecated",
|
|
@@ -140,18 +220,6 @@ var renameMapper = [{
|
|
|
140
220
|
"path": "color.background.overlay",
|
|
141
221
|
"state": "deprecated",
|
|
142
222
|
"replacement": "elevation.surface.overlay"
|
|
143
|
-
}, {
|
|
144
|
-
"path": "color.background.selected.resting",
|
|
145
|
-
"state": "deprecated",
|
|
146
|
-
"replacement": "color.background.brand.[default].[default]"
|
|
147
|
-
}, {
|
|
148
|
-
"path": "color.background.selected.hover",
|
|
149
|
-
"state": "deprecated",
|
|
150
|
-
"replacement": "color.background.brand.[default].hovered"
|
|
151
|
-
}, {
|
|
152
|
-
"path": "color.background.selected.pressed",
|
|
153
|
-
"state": "deprecated",
|
|
154
|
-
"replacement": "color.background.brand.[default].pressed"
|
|
155
223
|
}, {
|
|
156
224
|
"path": "color.background.subtleBorderedNeutral.pressed",
|
|
157
225
|
"state": "deprecated",
|
|
@@ -163,15 +231,15 @@ var renameMapper = [{
|
|
|
163
231
|
}, {
|
|
164
232
|
"path": "color.background.subtleBrand.hover",
|
|
165
233
|
"state": "deprecated",
|
|
166
|
-
"replacement": "color.background.
|
|
234
|
+
"replacement": "color.background.selected.[default].hovered"
|
|
167
235
|
}, {
|
|
168
236
|
"path": "color.background.subtleBrand.pressed",
|
|
169
237
|
"state": "deprecated",
|
|
170
|
-
"replacement": "color.background.
|
|
238
|
+
"replacement": "color.background.selected.[default].pressed"
|
|
171
239
|
}, {
|
|
172
240
|
"path": "color.background.subtleBrand.resting",
|
|
173
241
|
"state": "deprecated",
|
|
174
|
-
"replacement": "color.background.
|
|
242
|
+
"replacement": "color.background.selected.[default].[default]"
|
|
175
243
|
}, {
|
|
176
244
|
"path": "color.background.subtleDanger.hover",
|
|
177
245
|
"state": "deprecated",
|
|
@@ -247,55 +315,55 @@ var renameMapper = [{
|
|
|
247
315
|
}, {
|
|
248
316
|
"path": "color.accent.boldBlue",
|
|
249
317
|
"state": "deprecated",
|
|
250
|
-
"replacement": "color.background.accent.blue.
|
|
318
|
+
"replacement": "color.background.accent.blue.bolder"
|
|
251
319
|
}, {
|
|
252
320
|
"path": "color.accent.boldGreen",
|
|
253
321
|
"state": "deprecated",
|
|
254
|
-
"replacement": "color.background.accent.green.
|
|
322
|
+
"replacement": "color.background.accent.green.bolder"
|
|
255
323
|
}, {
|
|
256
324
|
"path": "color.accent.boldOrange",
|
|
257
325
|
"state": "deprecated",
|
|
258
|
-
"replacement": "color.background.accent.orange.
|
|
326
|
+
"replacement": "color.background.accent.orange.bolder"
|
|
259
327
|
}, {
|
|
260
328
|
"path": "color.accent.boldPurple",
|
|
261
329
|
"state": "deprecated",
|
|
262
|
-
"replacement": "color.background.accent.purple.
|
|
330
|
+
"replacement": "color.background.accent.purple.bolder"
|
|
263
331
|
}, {
|
|
264
332
|
"path": "color.accent.boldRed",
|
|
265
333
|
"state": "deprecated",
|
|
266
|
-
"replacement": "color.background.accent.red.
|
|
334
|
+
"replacement": "color.background.accent.red.bolder"
|
|
267
335
|
}, {
|
|
268
336
|
"path": "color.accent.boldTeal",
|
|
269
337
|
"state": "deprecated",
|
|
270
|
-
"replacement": "color.background.accent.teal.
|
|
338
|
+
"replacement": "color.background.accent.teal.bolder"
|
|
271
339
|
}, {
|
|
272
340
|
"path": "color.accent.subtleBlue",
|
|
273
341
|
"state": "deprecated",
|
|
274
|
-
"replacement": "color.background.accent.blue.
|
|
342
|
+
"replacement": "color.background.accent.blue.subtler"
|
|
275
343
|
}, {
|
|
276
344
|
"path": "color.accent.subtleGreen",
|
|
277
345
|
"state": "deprecated",
|
|
278
|
-
"replacement": "color.background.accent.green.
|
|
346
|
+
"replacement": "color.background.accent.green.subtler"
|
|
279
347
|
}, {
|
|
280
348
|
"path": "color.accent.subtleMagenta",
|
|
281
349
|
"state": "deprecated",
|
|
282
|
-
"replacement": "color.background.accent.magenta.
|
|
350
|
+
"replacement": "color.background.accent.magenta.subtler"
|
|
283
351
|
}, {
|
|
284
352
|
"path": "color.accent.subtleOrange",
|
|
285
353
|
"state": "deprecated",
|
|
286
|
-
"replacement": "color.background.accent.orange.
|
|
354
|
+
"replacement": "color.background.accent.orange.subtler"
|
|
287
355
|
}, {
|
|
288
356
|
"path": "color.accent.subtlePurple",
|
|
289
357
|
"state": "deprecated",
|
|
290
|
-
"replacement": "color.background.accent.purple.
|
|
358
|
+
"replacement": "color.background.accent.purple.subtler"
|
|
291
359
|
}, {
|
|
292
360
|
"path": "color.accent.subtleRed",
|
|
293
361
|
"state": "deprecated",
|
|
294
|
-
"replacement": "color.background.accent.red.
|
|
362
|
+
"replacement": "color.background.accent.red.subtler"
|
|
295
363
|
}, {
|
|
296
364
|
"path": "color.accent.subtleTeal",
|
|
297
365
|
"state": "deprecated",
|
|
298
|
-
"replacement": "color.background.accent.teal.
|
|
366
|
+
"replacement": "color.background.accent.teal.subtler"
|
|
299
367
|
}, {
|
|
300
368
|
"path": "color.iconBorder.brand",
|
|
301
369
|
"state": "deprecated",
|