@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
|
@@ -11,7 +11,7 @@ var color = {
|
|
|
11
11
|
attributes: {
|
|
12
12
|
group: 'paint',
|
|
13
13
|
state: 'deprecated',
|
|
14
|
-
replacement: 'color.background.accent.blue.
|
|
14
|
+
replacement: 'color.background.accent.blue.bolder',
|
|
15
15
|
description: 'Use for blue backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -19,7 +19,7 @@ var color = {
|
|
|
19
19
|
attributes: {
|
|
20
20
|
group: 'paint',
|
|
21
21
|
state: 'deprecated',
|
|
22
|
-
replacement: 'color.background.accent.green.
|
|
22
|
+
replacement: 'color.background.accent.green.bolder',
|
|
23
23
|
description: 'Use for green backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -27,7 +27,7 @@ var color = {
|
|
|
27
27
|
attributes: {
|
|
28
28
|
group: 'paint',
|
|
29
29
|
state: 'deprecated',
|
|
30
|
-
replacement: 'color.background.accent.orange.
|
|
30
|
+
replacement: 'color.background.accent.orange.bolder',
|
|
31
31
|
description: 'Use for orange backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
32
32
|
}
|
|
33
33
|
},
|
|
@@ -35,7 +35,7 @@ var color = {
|
|
|
35
35
|
attributes: {
|
|
36
36
|
group: 'paint',
|
|
37
37
|
state: 'deprecated',
|
|
38
|
-
replacement: 'color.background.accent.purple.
|
|
38
|
+
replacement: 'color.background.accent.purple.bolder',
|
|
39
39
|
description: 'Use for purple backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
40
40
|
}
|
|
41
41
|
},
|
|
@@ -43,7 +43,7 @@ var color = {
|
|
|
43
43
|
attributes: {
|
|
44
44
|
group: 'paint',
|
|
45
45
|
state: 'deprecated',
|
|
46
|
-
replacement: 'color.background.accent.red.
|
|
46
|
+
replacement: 'color.background.accent.red.bolder',
|
|
47
47
|
description: 'Use for red backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -51,7 +51,7 @@ var color = {
|
|
|
51
51
|
attributes: {
|
|
52
52
|
group: 'paint',
|
|
53
53
|
state: 'deprecated',
|
|
54
|
-
replacement: 'color.background.accent.teal.
|
|
54
|
+
replacement: 'color.background.accent.teal.bolder',
|
|
55
55
|
description: 'Use for teal backgrounds of stronger emphasis when there is no meaning tied to the color, such as bold tags.'
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -59,7 +59,7 @@ var color = {
|
|
|
59
59
|
attributes: {
|
|
60
60
|
group: 'paint',
|
|
61
61
|
state: 'deprecated',
|
|
62
|
-
replacement: 'color.background.accent.blue.
|
|
62
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
63
63
|
description: 'Use for blue subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
64
64
|
}
|
|
65
65
|
},
|
|
@@ -67,7 +67,7 @@ var color = {
|
|
|
67
67
|
attributes: {
|
|
68
68
|
group: 'paint',
|
|
69
69
|
state: 'deprecated',
|
|
70
|
-
replacement: 'color.background.accent.green.
|
|
70
|
+
replacement: 'color.background.accent.green.subtler',
|
|
71
71
|
description: 'Use for green subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
72
72
|
}
|
|
73
73
|
},
|
|
@@ -75,7 +75,7 @@ var color = {
|
|
|
75
75
|
attributes: {
|
|
76
76
|
group: 'paint',
|
|
77
77
|
state: 'deprecated',
|
|
78
|
-
replacement: 'color.background.accent.magenta.
|
|
78
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
79
79
|
description: 'Use for magenta subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
80
80
|
}
|
|
81
81
|
},
|
|
@@ -83,7 +83,7 @@ var color = {
|
|
|
83
83
|
attributes: {
|
|
84
84
|
group: 'paint',
|
|
85
85
|
state: 'deprecated',
|
|
86
|
-
replacement: 'color.background.accent.orange.
|
|
86
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
87
87
|
description: 'Use for orange subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
88
88
|
}
|
|
89
89
|
},
|
|
@@ -91,7 +91,7 @@ var color = {
|
|
|
91
91
|
attributes: {
|
|
92
92
|
group: 'paint',
|
|
93
93
|
state: 'deprecated',
|
|
94
|
-
replacement: 'color.background.accent.purple.
|
|
94
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
95
95
|
description: 'Use for purple subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
96
96
|
}
|
|
97
97
|
},
|
|
@@ -99,7 +99,7 @@ var color = {
|
|
|
99
99
|
attributes: {
|
|
100
100
|
group: 'paint',
|
|
101
101
|
state: 'deprecated',
|
|
102
|
-
replacement: 'color.background.accent.red.
|
|
102
|
+
replacement: 'color.background.accent.red.subtler',
|
|
103
103
|
description: 'Use for red subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
104
104
|
}
|
|
105
105
|
},
|
|
@@ -107,12 +107,158 @@ var color = {
|
|
|
107
107
|
attributes: {
|
|
108
108
|
group: 'paint',
|
|
109
109
|
state: 'deprecated',
|
|
110
|
-
replacement: 'color.background.accent.teal.
|
|
110
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
111
111
|
description: 'Use for teal subdued backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
background: {
|
|
116
|
+
accent: {
|
|
117
|
+
blue: {
|
|
118
|
+
'[default]': {
|
|
119
|
+
attributes: {
|
|
120
|
+
group: 'paint',
|
|
121
|
+
state: 'deprecated',
|
|
122
|
+
replacement: 'color.background.accent.blue.subtler',
|
|
123
|
+
description: 'Use for blue backgrounds when there is no meaning tied to the color, such as coloured tags.'
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
bold: {
|
|
127
|
+
attributes: {
|
|
128
|
+
group: 'paint',
|
|
129
|
+
state: 'deprecated',
|
|
130
|
+
replacement: 'color.background.accent.blue.subtle',
|
|
131
|
+
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.'
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
red: {
|
|
136
|
+
'[default]': {
|
|
137
|
+
attributes: {
|
|
138
|
+
group: 'paint',
|
|
139
|
+
state: 'deprecated',
|
|
140
|
+
replacement: 'color.background.accent.red.subtler',
|
|
141
|
+
description: 'Use for red backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
bold: {
|
|
145
|
+
attributes: {
|
|
146
|
+
group: 'paint',
|
|
147
|
+
state: 'deprecated',
|
|
148
|
+
replacement: 'color.background.accent.red.subtle',
|
|
149
|
+
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.'
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
orange: {
|
|
154
|
+
'[default]': {
|
|
155
|
+
attributes: {
|
|
156
|
+
group: 'paint',
|
|
157
|
+
state: 'deprecated',
|
|
158
|
+
replacement: 'color.background.accent.orange.subtler',
|
|
159
|
+
description: 'Use for orange backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
bold: {
|
|
163
|
+
attributes: {
|
|
164
|
+
group: 'paint',
|
|
165
|
+
state: 'deprecated',
|
|
166
|
+
replacement: 'color.background.accent.orange.subtle',
|
|
167
|
+
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.'
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
yellow: {
|
|
172
|
+
'[default]': {
|
|
173
|
+
attributes: {
|
|
174
|
+
group: 'paint',
|
|
175
|
+
state: 'deprecated',
|
|
176
|
+
replacement: 'color.background.accent.yellow.subtler',
|
|
177
|
+
description: 'Use for yellow backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
bold: {
|
|
181
|
+
attributes: {
|
|
182
|
+
group: 'paint',
|
|
183
|
+
state: 'deprecated',
|
|
184
|
+
replacement: 'color.background.accent.yellow.subtle',
|
|
185
|
+
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.'
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
green: {
|
|
190
|
+
'[default]': {
|
|
191
|
+
attributes: {
|
|
192
|
+
group: 'paint',
|
|
193
|
+
state: 'deprecated',
|
|
194
|
+
replacement: 'color.background.accent.green.subtler',
|
|
195
|
+
description: 'Use for green backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
bold: {
|
|
199
|
+
attributes: {
|
|
200
|
+
group: 'paint',
|
|
201
|
+
state: 'deprecated',
|
|
202
|
+
replacement: 'color.background.accent.green.subtle',
|
|
203
|
+
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.'
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
teal: {
|
|
208
|
+
'[default]': {
|
|
209
|
+
attributes: {
|
|
210
|
+
group: 'paint',
|
|
211
|
+
state: 'deprecated',
|
|
212
|
+
replacement: 'color.background.accent.teal.subtler',
|
|
213
|
+
description: 'Use for teal backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
bold: {
|
|
217
|
+
attributes: {
|
|
218
|
+
group: 'paint',
|
|
219
|
+
state: 'deprecated',
|
|
220
|
+
replacement: 'color.background.accent.teal.subtle',
|
|
221
|
+
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.'
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
purple: {
|
|
226
|
+
'[default]': {
|
|
227
|
+
attributes: {
|
|
228
|
+
group: 'paint',
|
|
229
|
+
state: 'deprecated',
|
|
230
|
+
replacement: 'color.background.accent.purple.subtler',
|
|
231
|
+
description: 'Use for purple backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
bold: {
|
|
235
|
+
attributes: {
|
|
236
|
+
group: 'paint',
|
|
237
|
+
state: 'deprecated',
|
|
238
|
+
replacement: 'color.background.accent.purple.subtle',
|
|
239
|
+
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.'
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
magenta: {
|
|
244
|
+
'[default]': {
|
|
245
|
+
attributes: {
|
|
246
|
+
group: 'paint',
|
|
247
|
+
state: 'deprecated',
|
|
248
|
+
replacement: 'color.background.accent.magenta.subtler',
|
|
249
|
+
description: 'Use for magenta backgrounds when there is no meaning tied to the color, such as colored tags.'
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
bold: {
|
|
253
|
+
attributes: {
|
|
254
|
+
group: 'paint',
|
|
255
|
+
state: 'deprecated',
|
|
256
|
+
replacement: 'color.background.accent.magenta.subtle',
|
|
257
|
+
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.'
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
116
262
|
blanket: {
|
|
117
263
|
attributes: {
|
|
118
264
|
group: 'paint',
|
|
@@ -121,6 +267,34 @@ var color = {
|
|
|
121
267
|
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
122
268
|
}
|
|
123
269
|
},
|
|
270
|
+
brand: {
|
|
271
|
+
'[default]': {
|
|
272
|
+
'[default]': {
|
|
273
|
+
attributes: {
|
|
274
|
+
group: 'paint',
|
|
275
|
+
state: 'deprecated',
|
|
276
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
277
|
+
description: 'Use for the background of elements used to reinforce our brand.'
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
hovered: {
|
|
281
|
+
attributes: {
|
|
282
|
+
group: 'paint',
|
|
283
|
+
state: 'deprecated',
|
|
284
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
285
|
+
description: 'Hovered state for color.background.brand'
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
pressed: {
|
|
289
|
+
attributes: {
|
|
290
|
+
group: 'paint',
|
|
291
|
+
state: 'deprecated',
|
|
292
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
293
|
+
description: 'Pressed state for color.background.brand'
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
},
|
|
124
298
|
boldBrand: {
|
|
125
299
|
hover: {
|
|
126
300
|
attributes: {
|
|
@@ -306,7 +480,7 @@ var color = {
|
|
|
306
480
|
attributes: {
|
|
307
481
|
group: 'paint',
|
|
308
482
|
state: 'deprecated',
|
|
309
|
-
replacement: 'color.background.
|
|
483
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
310
484
|
description: 'Use for backgrounds of elements in a selected state'
|
|
311
485
|
}
|
|
312
486
|
},
|
|
@@ -314,17 +488,9 @@ var color = {
|
|
|
314
488
|
attributes: {
|
|
315
489
|
group: 'paint',
|
|
316
490
|
state: 'deprecated',
|
|
317
|
-
replacement: 'color.background.
|
|
491
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
318
492
|
description: 'Hover state for color.background.selected'
|
|
319
493
|
}
|
|
320
|
-
},
|
|
321
|
-
pressed: {
|
|
322
|
-
attributes: {
|
|
323
|
-
group: 'paint',
|
|
324
|
-
state: 'deprecated',
|
|
325
|
-
replacement: 'color.background.brand.[default].pressed',
|
|
326
|
-
description: 'Pressed state for color.background.selected'
|
|
327
|
-
}
|
|
328
494
|
}
|
|
329
495
|
},
|
|
330
496
|
subtleBorderedNeutral: {
|
|
@@ -350,7 +516,7 @@ var color = {
|
|
|
350
516
|
attributes: {
|
|
351
517
|
group: 'paint',
|
|
352
518
|
state: 'deprecated',
|
|
353
|
-
replacement: 'color.background.
|
|
519
|
+
replacement: 'color.background.selected.[default].hovered',
|
|
354
520
|
description: 'Hover state for background.subtleBrand'
|
|
355
521
|
}
|
|
356
522
|
},
|
|
@@ -358,7 +524,7 @@ var color = {
|
|
|
358
524
|
attributes: {
|
|
359
525
|
group: 'paint',
|
|
360
526
|
state: 'deprecated',
|
|
361
|
-
replacement: 'color.background.
|
|
527
|
+
replacement: 'color.background.selected.[default].pressed',
|
|
362
528
|
description: 'Pressed state for background.subtleBrand'
|
|
363
529
|
}
|
|
364
530
|
},
|
|
@@ -366,7 +532,7 @@ var color = {
|
|
|
366
532
|
attributes: {
|
|
367
533
|
group: 'paint',
|
|
368
534
|
state: 'deprecated',
|
|
369
|
-
replacement: 'color.background.
|
|
535
|
+
replacement: 'color.background.selected.[default].[default]',
|
|
370
536
|
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
371
537
|
}
|
|
372
538
|
}
|
|
@@ -586,14 +752,6 @@ var color = {
|
|
|
586
752
|
replacement: 'color.text.warning.inverse',
|
|
587
753
|
description: 'Use for text and icons when on bold warning backgrounds'
|
|
588
754
|
}
|
|
589
|
-
},
|
|
590
|
-
selected: {
|
|
591
|
-
attributes: {
|
|
592
|
-
group: 'paint',
|
|
593
|
-
state: 'deprecated',
|
|
594
|
-
replacement: 'color.text.brand',
|
|
595
|
-
description: 'Use for text, icons, borders, or other visual indicators in selected states'
|
|
596
|
-
}
|
|
597
755
|
}
|
|
598
756
|
},
|
|
599
757
|
border: {
|
package/dist/cjs/version.json
CHANGED
|
@@ -40,10 +40,6 @@ const 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 @@ const 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 @@ const 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 @@ const 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 @@ const 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",
|