@atlaskit/tokens 0.10.4 → 0.10.5
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 +18 -0
- package/dist/cjs/artifacts/rename-mapping.js +10 -10
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +37 -19
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +37 -19
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/default/deprecated/deprecated.js +18 -9
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +10 -10
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +37 -19
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +37 -19
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/default/deprecated/deprecated.js +18 -9
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +10 -10
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +37 -19
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +37 -19
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/default/deprecated/deprecated.js +18 -9
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.10.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1124fa435ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1124fa435ed) - Moves the following `deprecated` tokens to the `sunset` phase. Please ensure that all `sunset` tokens are removed from your application, they will be completely removed in the next major version:
|
|
8
|
+
|
|
9
|
+
- `color.background.brand.hovered` => `color.background.selected.hovered`
|
|
10
|
+
- `color.background.brand.pressed` => `color.background.selected.pressed`
|
|
11
|
+
- `color.background.brand` => `color.background.selected`
|
|
12
|
+
- `color.background.inverse` => `color.background.inverse.subtle`
|
|
13
|
+
- `color.background.selected.hover` => `color.background.selected.hovered`
|
|
14
|
+
- `color.background.selected.resting` => `color.background.selected`
|
|
15
|
+
- `color.background.subtleBrand.hover` => `color.background.selected.hovered`
|
|
16
|
+
- `color.background.subtleBrand.pressed` => `color.background.selected.pressed`
|
|
17
|
+
- `color.background.subtleBrand.resting` => `color.background.selected`
|
|
18
|
+
|
|
19
|
+
If you have configured the design token eslint rules, running `eslint --fix` will resolve these changes automatically.
|
|
20
|
+
|
|
3
21
|
## 0.10.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -19,7 +19,7 @@ exports.default = void 0;
|
|
|
19
19
|
* These changes will then be picked up by our tooling which will attempt to
|
|
20
20
|
* migrate as many of these renames as possible.
|
|
21
21
|
*
|
|
22
|
-
* @codegen <<SignedSource::
|
|
22
|
+
* @codegen <<SignedSource::51fbaf5510a3fead6a2844d4df866a77>>
|
|
23
23
|
* @codegenCommand yarn build tokens
|
|
24
24
|
*/
|
|
25
25
|
var renameMapper = [{
|
|
@@ -124,27 +124,27 @@ var renameMapper = [{
|
|
|
124
124
|
"replacement": "color.background.accent.magenta.subtle"
|
|
125
125
|
}, {
|
|
126
126
|
"path": "color.background.inverse.[default]",
|
|
127
|
-
"state": "
|
|
127
|
+
"state": "deleted",
|
|
128
128
|
"replacement": "color.background.inverse.subtle.[default]"
|
|
129
129
|
}, {
|
|
130
130
|
"path": "color.background.brand.[default].[default]",
|
|
131
|
-
"state": "
|
|
131
|
+
"state": "deleted",
|
|
132
132
|
"replacement": "color.background.selected.[default].[default]"
|
|
133
133
|
}, {
|
|
134
134
|
"path": "color.background.brand.[default].hovered",
|
|
135
|
-
"state": "
|
|
135
|
+
"state": "deleted",
|
|
136
136
|
"replacement": "color.background.selected.[default].hovered"
|
|
137
137
|
}, {
|
|
138
138
|
"path": "color.background.brand.[default].pressed",
|
|
139
|
-
"state": "
|
|
139
|
+
"state": "deleted",
|
|
140
140
|
"replacement": "color.background.selected.[default].pressed"
|
|
141
141
|
}, {
|
|
142
142
|
"path": "color.background.selected.resting",
|
|
143
|
-
"state": "
|
|
143
|
+
"state": "deleted",
|
|
144
144
|
"replacement": "color.background.selected.[default].[default]"
|
|
145
145
|
}, {
|
|
146
146
|
"path": "color.background.selected.hover",
|
|
147
|
-
"state": "
|
|
147
|
+
"state": "deleted",
|
|
148
148
|
"replacement": "color.background.selected.[default].hovered"
|
|
149
149
|
}, {
|
|
150
150
|
"path": "color.background.blanket",
|
|
@@ -244,15 +244,15 @@ var renameMapper = [{
|
|
|
244
244
|
"replacement": "color.background.input.[default]"
|
|
245
245
|
}, {
|
|
246
246
|
"path": "color.background.subtleBrand.hover",
|
|
247
|
-
"state": "
|
|
247
|
+
"state": "deleted",
|
|
248
248
|
"replacement": "color.background.selected.[default].hovered"
|
|
249
249
|
}, {
|
|
250
250
|
"path": "color.background.subtleBrand.pressed",
|
|
251
|
-
"state": "
|
|
251
|
+
"state": "deleted",
|
|
252
252
|
"replacement": "color.background.selected.[default].pressed"
|
|
253
253
|
}, {
|
|
254
254
|
"path": "color.background.subtleBrand.resting",
|
|
255
|
-
"state": "
|
|
255
|
+
"state": "deleted",
|
|
256
256
|
"replacement": "color.background.selected.[default].[default]"
|
|
257
257
|
}, {
|
|
258
258
|
"path": "color.background.subtleDanger.hover",
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::2790b3e5387d05c20675eb77bb4ec986>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -2893,9 +2893,10 @@ var tokens = [{
|
|
|
2893
2893
|
}, {
|
|
2894
2894
|
"attributes": {
|
|
2895
2895
|
"group": "paint",
|
|
2896
|
-
"state": "
|
|
2896
|
+
"state": "deleted",
|
|
2897
2897
|
"introduced": "0.1.0",
|
|
2898
2898
|
"deprecated": "0.8.3",
|
|
2899
|
+
"deleted": "0.10.5",
|
|
2899
2900
|
"replacement": "color.background.inverse.subtle.[default]",
|
|
2900
2901
|
"description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
|
|
2901
2902
|
},
|
|
@@ -2905,9 +2906,10 @@ var tokens = [{
|
|
|
2905
2906
|
"original": {
|
|
2906
2907
|
"attributes": {
|
|
2907
2908
|
"group": "paint",
|
|
2908
|
-
"state": "
|
|
2909
|
+
"state": "deleted",
|
|
2909
2910
|
"introduced": "0.1.0",
|
|
2910
2911
|
"deprecated": "0.8.3",
|
|
2912
|
+
"deleted": "0.10.5",
|
|
2911
2913
|
"replacement": "color.background.inverse.subtle.[default]",
|
|
2912
2914
|
"description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
|
|
2913
2915
|
},
|
|
@@ -3233,9 +3235,10 @@ var tokens = [{
|
|
|
3233
3235
|
}, {
|
|
3234
3236
|
"attributes": {
|
|
3235
3237
|
"group": "paint",
|
|
3236
|
-
"state": "
|
|
3238
|
+
"state": "deleted",
|
|
3237
3239
|
"introduced": "0.6.0",
|
|
3238
3240
|
"deprecated": "0.6.2",
|
|
3241
|
+
"deleted": "0.10.5",
|
|
3239
3242
|
"replacement": "color.background.selected.[default].[default]",
|
|
3240
3243
|
"description": "Use for the background of elements used to reinforce our brand."
|
|
3241
3244
|
},
|
|
@@ -3245,9 +3248,10 @@ var tokens = [{
|
|
|
3245
3248
|
"original": {
|
|
3246
3249
|
"attributes": {
|
|
3247
3250
|
"group": "paint",
|
|
3248
|
-
"state": "
|
|
3251
|
+
"state": "deleted",
|
|
3249
3252
|
"introduced": "0.6.0",
|
|
3250
3253
|
"deprecated": "0.6.2",
|
|
3254
|
+
"deleted": "0.10.5",
|
|
3251
3255
|
"replacement": "color.background.selected.[default].[default]",
|
|
3252
3256
|
"description": "Use for the background of elements used to reinforce our brand."
|
|
3253
3257
|
},
|
|
@@ -3258,9 +3262,10 @@ var tokens = [{
|
|
|
3258
3262
|
}, {
|
|
3259
3263
|
"attributes": {
|
|
3260
3264
|
"group": "paint",
|
|
3261
|
-
"state": "
|
|
3265
|
+
"state": "deleted",
|
|
3262
3266
|
"introduced": "0.6.0",
|
|
3263
3267
|
"deprecated": "0.6.2",
|
|
3268
|
+
"deleted": "0.10.5",
|
|
3264
3269
|
"replacement": "color.background.selected.[default].hovered",
|
|
3265
3270
|
"description": "Hovered state for color.background.brand"
|
|
3266
3271
|
},
|
|
@@ -3270,9 +3275,10 @@ var tokens = [{
|
|
|
3270
3275
|
"original": {
|
|
3271
3276
|
"attributes": {
|
|
3272
3277
|
"group": "paint",
|
|
3273
|
-
"state": "
|
|
3278
|
+
"state": "deleted",
|
|
3274
3279
|
"introduced": "0.6.0",
|
|
3275
3280
|
"deprecated": "0.6.2",
|
|
3281
|
+
"deleted": "0.10.5",
|
|
3276
3282
|
"replacement": "color.background.selected.[default].hovered",
|
|
3277
3283
|
"description": "Hovered state for color.background.brand"
|
|
3278
3284
|
},
|
|
@@ -3283,9 +3289,10 @@ var tokens = [{
|
|
|
3283
3289
|
}, {
|
|
3284
3290
|
"attributes": {
|
|
3285
3291
|
"group": "paint",
|
|
3286
|
-
"state": "
|
|
3292
|
+
"state": "deleted",
|
|
3287
3293
|
"introduced": "0.6.0",
|
|
3288
3294
|
"deprecated": "0.6.2",
|
|
3295
|
+
"deleted": "0.10.5",
|
|
3289
3296
|
"replacement": "color.background.selected.[default].pressed",
|
|
3290
3297
|
"description": "Pressed state for color.background.brand"
|
|
3291
3298
|
},
|
|
@@ -3295,9 +3302,10 @@ var tokens = [{
|
|
|
3295
3302
|
"original": {
|
|
3296
3303
|
"attributes": {
|
|
3297
3304
|
"group": "paint",
|
|
3298
|
-
"state": "
|
|
3305
|
+
"state": "deleted",
|
|
3299
3306
|
"introduced": "0.6.0",
|
|
3300
3307
|
"deprecated": "0.6.2",
|
|
3308
|
+
"deleted": "0.10.5",
|
|
3301
3309
|
"replacement": "color.background.selected.[default].pressed",
|
|
3302
3310
|
"description": "Pressed state for color.background.brand"
|
|
3303
3311
|
},
|
|
@@ -3434,9 +3442,10 @@ var tokens = [{
|
|
|
3434
3442
|
}, {
|
|
3435
3443
|
"attributes": {
|
|
3436
3444
|
"group": "paint",
|
|
3437
|
-
"state": "
|
|
3445
|
+
"state": "deleted",
|
|
3438
3446
|
"introduced": "0.1.0",
|
|
3439
3447
|
"deprecated": "0.6.0",
|
|
3448
|
+
"deleted": "0.10.5",
|
|
3440
3449
|
"replacement": "color.background.selected.[default].[default]",
|
|
3441
3450
|
"description": "Use for backgrounds of elements in a selected state"
|
|
3442
3451
|
},
|
|
@@ -3446,9 +3455,10 @@ var tokens = [{
|
|
|
3446
3455
|
"original": {
|
|
3447
3456
|
"attributes": {
|
|
3448
3457
|
"group": "paint",
|
|
3449
|
-
"state": "
|
|
3458
|
+
"state": "deleted",
|
|
3450
3459
|
"introduced": "0.1.0",
|
|
3451
3460
|
"deprecated": "0.6.0",
|
|
3461
|
+
"deleted": "0.10.5",
|
|
3452
3462
|
"replacement": "color.background.selected.[default].[default]",
|
|
3453
3463
|
"description": "Use for backgrounds of elements in a selected state"
|
|
3454
3464
|
},
|
|
@@ -3459,9 +3469,10 @@ var tokens = [{
|
|
|
3459
3469
|
}, {
|
|
3460
3470
|
"attributes": {
|
|
3461
3471
|
"group": "paint",
|
|
3462
|
-
"state": "
|
|
3472
|
+
"state": "deleted",
|
|
3463
3473
|
"introduced": "0.1.0",
|
|
3464
3474
|
"deprecated": "0.6.0",
|
|
3475
|
+
"deleted": "0.10.5",
|
|
3465
3476
|
"replacement": "color.background.selected.[default].hovered",
|
|
3466
3477
|
"description": "Hover state for color.background.selected"
|
|
3467
3478
|
},
|
|
@@ -3471,9 +3482,10 @@ var tokens = [{
|
|
|
3471
3482
|
"original": {
|
|
3472
3483
|
"attributes": {
|
|
3473
3484
|
"group": "paint",
|
|
3474
|
-
"state": "
|
|
3485
|
+
"state": "deleted",
|
|
3475
3486
|
"introduced": "0.1.0",
|
|
3476
3487
|
"deprecated": "0.6.0",
|
|
3488
|
+
"deleted": "0.10.5",
|
|
3477
3489
|
"replacement": "color.background.selected.[default].hovered",
|
|
3478
3490
|
"description": "Hover state for color.background.selected"
|
|
3479
3491
|
},
|
|
@@ -4762,9 +4774,10 @@ var tokens = [{
|
|
|
4762
4774
|
}, {
|
|
4763
4775
|
"attributes": {
|
|
4764
4776
|
"group": "paint",
|
|
4765
|
-
"state": "
|
|
4777
|
+
"state": "deleted",
|
|
4766
4778
|
"introduced": "0.0.15",
|
|
4767
4779
|
"deprecated": "0.6.0",
|
|
4780
|
+
"deleted": "0.10.5",
|
|
4768
4781
|
"replacement": "color.background.selected.[default].hovered",
|
|
4769
4782
|
"description": "Hover state for background.subtleBrand"
|
|
4770
4783
|
},
|
|
@@ -4774,9 +4787,10 @@ var tokens = [{
|
|
|
4774
4787
|
"original": {
|
|
4775
4788
|
"attributes": {
|
|
4776
4789
|
"group": "paint",
|
|
4777
|
-
"state": "
|
|
4790
|
+
"state": "deleted",
|
|
4778
4791
|
"introduced": "0.0.15",
|
|
4779
4792
|
"deprecated": "0.6.0",
|
|
4793
|
+
"deleted": "0.10.5",
|
|
4780
4794
|
"replacement": "color.background.selected.[default].hovered",
|
|
4781
4795
|
"description": "Hover state for background.subtleBrand"
|
|
4782
4796
|
},
|
|
@@ -4787,9 +4801,10 @@ var tokens = [{
|
|
|
4787
4801
|
}, {
|
|
4788
4802
|
"attributes": {
|
|
4789
4803
|
"group": "paint",
|
|
4790
|
-
"state": "
|
|
4804
|
+
"state": "deleted",
|
|
4791
4805
|
"introduced": "0.0.15",
|
|
4792
4806
|
"deprecated": "0.6.0",
|
|
4807
|
+
"deleted": "0.10.5",
|
|
4793
4808
|
"replacement": "color.background.selected.[default].pressed",
|
|
4794
4809
|
"description": "Pressed state for background.subtleBrand"
|
|
4795
4810
|
},
|
|
@@ -4799,9 +4814,10 @@ var tokens = [{
|
|
|
4799
4814
|
"original": {
|
|
4800
4815
|
"attributes": {
|
|
4801
4816
|
"group": "paint",
|
|
4802
|
-
"state": "
|
|
4817
|
+
"state": "deleted",
|
|
4803
4818
|
"introduced": "0.0.15",
|
|
4804
4819
|
"deprecated": "0.6.0",
|
|
4820
|
+
"deleted": "0.10.5",
|
|
4805
4821
|
"replacement": "color.background.selected.[default].pressed",
|
|
4806
4822
|
"description": "Pressed state for background.subtleBrand"
|
|
4807
4823
|
},
|
|
@@ -4812,9 +4828,10 @@ var tokens = [{
|
|
|
4812
4828
|
}, {
|
|
4813
4829
|
"attributes": {
|
|
4814
4830
|
"group": "paint",
|
|
4815
|
-
"state": "
|
|
4831
|
+
"state": "deleted",
|
|
4816
4832
|
"introduced": "0.0.15",
|
|
4817
4833
|
"deprecated": "0.6.0",
|
|
4834
|
+
"deleted": "0.10.5",
|
|
4818
4835
|
"replacement": "color.background.selected.[default].[default]",
|
|
4819
4836
|
"description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
|
|
4820
4837
|
},
|
|
@@ -4824,9 +4841,10 @@ var tokens = [{
|
|
|
4824
4841
|
"original": {
|
|
4825
4842
|
"attributes": {
|
|
4826
4843
|
"group": "paint",
|
|
4827
|
-
"state": "
|
|
4844
|
+
"state": "deleted",
|
|
4828
4845
|
"introduced": "0.0.15",
|
|
4829
4846
|
"deprecated": "0.6.0",
|
|
4847
|
+
"deleted": "0.10.5",
|
|
4830
4848
|
"replacement": "color.background.selected.[default].[default]",
|
|
4831
4849
|
"description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
|
|
4832
4850
|
},
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::7cdaec19ecd5c921bc01bf32e95ed909>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -2893,9 +2893,10 @@ var tokens = [{
|
|
|
2893
2893
|
}, {
|
|
2894
2894
|
"attributes": {
|
|
2895
2895
|
"group": "paint",
|
|
2896
|
-
"state": "
|
|
2896
|
+
"state": "deleted",
|
|
2897
2897
|
"introduced": "0.1.0",
|
|
2898
2898
|
"deprecated": "0.8.3",
|
|
2899
|
+
"deleted": "0.10.5",
|
|
2899
2900
|
"replacement": "color.background.inverse.subtle.[default]",
|
|
2900
2901
|
"description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
|
|
2901
2902
|
},
|
|
@@ -2905,9 +2906,10 @@ var tokens = [{
|
|
|
2905
2906
|
"original": {
|
|
2906
2907
|
"attributes": {
|
|
2907
2908
|
"group": "paint",
|
|
2908
|
-
"state": "
|
|
2909
|
+
"state": "deleted",
|
|
2909
2910
|
"introduced": "0.1.0",
|
|
2910
2911
|
"deprecated": "0.8.3",
|
|
2912
|
+
"deleted": "0.10.5",
|
|
2911
2913
|
"replacement": "color.background.inverse.subtle.[default]",
|
|
2912
2914
|
"description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
|
|
2913
2915
|
},
|
|
@@ -3233,9 +3235,10 @@ var tokens = [{
|
|
|
3233
3235
|
}, {
|
|
3234
3236
|
"attributes": {
|
|
3235
3237
|
"group": "paint",
|
|
3236
|
-
"state": "
|
|
3238
|
+
"state": "deleted",
|
|
3237
3239
|
"introduced": "0.6.0",
|
|
3238
3240
|
"deprecated": "0.6.2",
|
|
3241
|
+
"deleted": "0.10.5",
|
|
3239
3242
|
"replacement": "color.background.selected.[default].[default]",
|
|
3240
3243
|
"description": "Use for the background of elements used to reinforce our brand."
|
|
3241
3244
|
},
|
|
@@ -3245,9 +3248,10 @@ var tokens = [{
|
|
|
3245
3248
|
"original": {
|
|
3246
3249
|
"attributes": {
|
|
3247
3250
|
"group": "paint",
|
|
3248
|
-
"state": "
|
|
3251
|
+
"state": "deleted",
|
|
3249
3252
|
"introduced": "0.6.0",
|
|
3250
3253
|
"deprecated": "0.6.2",
|
|
3254
|
+
"deleted": "0.10.5",
|
|
3251
3255
|
"replacement": "color.background.selected.[default].[default]",
|
|
3252
3256
|
"description": "Use for the background of elements used to reinforce our brand."
|
|
3253
3257
|
},
|
|
@@ -3258,9 +3262,10 @@ var tokens = [{
|
|
|
3258
3262
|
}, {
|
|
3259
3263
|
"attributes": {
|
|
3260
3264
|
"group": "paint",
|
|
3261
|
-
"state": "
|
|
3265
|
+
"state": "deleted",
|
|
3262
3266
|
"introduced": "0.6.0",
|
|
3263
3267
|
"deprecated": "0.6.2",
|
|
3268
|
+
"deleted": "0.10.5",
|
|
3264
3269
|
"replacement": "color.background.selected.[default].hovered",
|
|
3265
3270
|
"description": "Hovered state for color.background.brand"
|
|
3266
3271
|
},
|
|
@@ -3270,9 +3275,10 @@ var tokens = [{
|
|
|
3270
3275
|
"original": {
|
|
3271
3276
|
"attributes": {
|
|
3272
3277
|
"group": "paint",
|
|
3273
|
-
"state": "
|
|
3278
|
+
"state": "deleted",
|
|
3274
3279
|
"introduced": "0.6.0",
|
|
3275
3280
|
"deprecated": "0.6.2",
|
|
3281
|
+
"deleted": "0.10.5",
|
|
3276
3282
|
"replacement": "color.background.selected.[default].hovered",
|
|
3277
3283
|
"description": "Hovered state for color.background.brand"
|
|
3278
3284
|
},
|
|
@@ -3283,9 +3289,10 @@ var tokens = [{
|
|
|
3283
3289
|
}, {
|
|
3284
3290
|
"attributes": {
|
|
3285
3291
|
"group": "paint",
|
|
3286
|
-
"state": "
|
|
3292
|
+
"state": "deleted",
|
|
3287
3293
|
"introduced": "0.6.0",
|
|
3288
3294
|
"deprecated": "0.6.2",
|
|
3295
|
+
"deleted": "0.10.5",
|
|
3289
3296
|
"replacement": "color.background.selected.[default].pressed",
|
|
3290
3297
|
"description": "Pressed state for color.background.brand"
|
|
3291
3298
|
},
|
|
@@ -3295,9 +3302,10 @@ var tokens = [{
|
|
|
3295
3302
|
"original": {
|
|
3296
3303
|
"attributes": {
|
|
3297
3304
|
"group": "paint",
|
|
3298
|
-
"state": "
|
|
3305
|
+
"state": "deleted",
|
|
3299
3306
|
"introduced": "0.6.0",
|
|
3300
3307
|
"deprecated": "0.6.2",
|
|
3308
|
+
"deleted": "0.10.5",
|
|
3301
3309
|
"replacement": "color.background.selected.[default].pressed",
|
|
3302
3310
|
"description": "Pressed state for color.background.brand"
|
|
3303
3311
|
},
|
|
@@ -3434,9 +3442,10 @@ var tokens = [{
|
|
|
3434
3442
|
}, {
|
|
3435
3443
|
"attributes": {
|
|
3436
3444
|
"group": "paint",
|
|
3437
|
-
"state": "
|
|
3445
|
+
"state": "deleted",
|
|
3438
3446
|
"introduced": "0.1.0",
|
|
3439
3447
|
"deprecated": "0.6.0",
|
|
3448
|
+
"deleted": "0.10.5",
|
|
3440
3449
|
"replacement": "color.background.selected.[default].[default]",
|
|
3441
3450
|
"description": "Use for backgrounds of elements in a selected state"
|
|
3442
3451
|
},
|
|
@@ -3446,9 +3455,10 @@ var tokens = [{
|
|
|
3446
3455
|
"original": {
|
|
3447
3456
|
"attributes": {
|
|
3448
3457
|
"group": "paint",
|
|
3449
|
-
"state": "
|
|
3458
|
+
"state": "deleted",
|
|
3450
3459
|
"introduced": "0.1.0",
|
|
3451
3460
|
"deprecated": "0.6.0",
|
|
3461
|
+
"deleted": "0.10.5",
|
|
3452
3462
|
"replacement": "color.background.selected.[default].[default]",
|
|
3453
3463
|
"description": "Use for backgrounds of elements in a selected state"
|
|
3454
3464
|
},
|
|
@@ -3459,9 +3469,10 @@ var tokens = [{
|
|
|
3459
3469
|
}, {
|
|
3460
3470
|
"attributes": {
|
|
3461
3471
|
"group": "paint",
|
|
3462
|
-
"state": "
|
|
3472
|
+
"state": "deleted",
|
|
3463
3473
|
"introduced": "0.1.0",
|
|
3464
3474
|
"deprecated": "0.6.0",
|
|
3475
|
+
"deleted": "0.10.5",
|
|
3465
3476
|
"replacement": "color.background.selected.[default].hovered",
|
|
3466
3477
|
"description": "Hover state for color.background.selected"
|
|
3467
3478
|
},
|
|
@@ -3471,9 +3482,10 @@ var tokens = [{
|
|
|
3471
3482
|
"original": {
|
|
3472
3483
|
"attributes": {
|
|
3473
3484
|
"group": "paint",
|
|
3474
|
-
"state": "
|
|
3485
|
+
"state": "deleted",
|
|
3475
3486
|
"introduced": "0.1.0",
|
|
3476
3487
|
"deprecated": "0.6.0",
|
|
3488
|
+
"deleted": "0.10.5",
|
|
3477
3489
|
"replacement": "color.background.selected.[default].hovered",
|
|
3478
3490
|
"description": "Hover state for color.background.selected"
|
|
3479
3491
|
},
|
|
@@ -4762,9 +4774,10 @@ var tokens = [{
|
|
|
4762
4774
|
}, {
|
|
4763
4775
|
"attributes": {
|
|
4764
4776
|
"group": "paint",
|
|
4765
|
-
"state": "
|
|
4777
|
+
"state": "deleted",
|
|
4766
4778
|
"introduced": "0.0.15",
|
|
4767
4779
|
"deprecated": "0.6.0",
|
|
4780
|
+
"deleted": "0.10.5",
|
|
4768
4781
|
"replacement": "color.background.selected.[default].hovered",
|
|
4769
4782
|
"description": "Hover state for background.subtleBrand"
|
|
4770
4783
|
},
|
|
@@ -4774,9 +4787,10 @@ var tokens = [{
|
|
|
4774
4787
|
"original": {
|
|
4775
4788
|
"attributes": {
|
|
4776
4789
|
"group": "paint",
|
|
4777
|
-
"state": "
|
|
4790
|
+
"state": "deleted",
|
|
4778
4791
|
"introduced": "0.0.15",
|
|
4779
4792
|
"deprecated": "0.6.0",
|
|
4793
|
+
"deleted": "0.10.5",
|
|
4780
4794
|
"replacement": "color.background.selected.[default].hovered",
|
|
4781
4795
|
"description": "Hover state for background.subtleBrand"
|
|
4782
4796
|
},
|
|
@@ -4787,9 +4801,10 @@ var tokens = [{
|
|
|
4787
4801
|
}, {
|
|
4788
4802
|
"attributes": {
|
|
4789
4803
|
"group": "paint",
|
|
4790
|
-
"state": "
|
|
4804
|
+
"state": "deleted",
|
|
4791
4805
|
"introduced": "0.0.15",
|
|
4792
4806
|
"deprecated": "0.6.0",
|
|
4807
|
+
"deleted": "0.10.5",
|
|
4793
4808
|
"replacement": "color.background.selected.[default].pressed",
|
|
4794
4809
|
"description": "Pressed state for background.subtleBrand"
|
|
4795
4810
|
},
|
|
@@ -4799,9 +4814,10 @@ var tokens = [{
|
|
|
4799
4814
|
"original": {
|
|
4800
4815
|
"attributes": {
|
|
4801
4816
|
"group": "paint",
|
|
4802
|
-
"state": "
|
|
4817
|
+
"state": "deleted",
|
|
4803
4818
|
"introduced": "0.0.15",
|
|
4804
4819
|
"deprecated": "0.6.0",
|
|
4820
|
+
"deleted": "0.10.5",
|
|
4805
4821
|
"replacement": "color.background.selected.[default].pressed",
|
|
4806
4822
|
"description": "Pressed state for background.subtleBrand"
|
|
4807
4823
|
},
|
|
@@ -4812,9 +4828,10 @@ var tokens = [{
|
|
|
4812
4828
|
}, {
|
|
4813
4829
|
"attributes": {
|
|
4814
4830
|
"group": "paint",
|
|
4815
|
-
"state": "
|
|
4831
|
+
"state": "deleted",
|
|
4816
4832
|
"introduced": "0.0.15",
|
|
4817
4833
|
"deprecated": "0.6.0",
|
|
4834
|
+
"deleted": "0.10.5",
|
|
4818
4835
|
"replacement": "color.background.selected.[default].[default]",
|
|
4819
4836
|
"description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
|
|
4820
4837
|
},
|
|
@@ -4824,9 +4841,10 @@ var tokens = [{
|
|
|
4824
4841
|
"original": {
|
|
4825
4842
|
"attributes": {
|
|
4826
4843
|
"group": "paint",
|
|
4827
|
-
"state": "
|
|
4844
|
+
"state": "deleted",
|
|
4828
4845
|
"introduced": "0.0.15",
|
|
4829
4846
|
"deprecated": "0.6.0",
|
|
4847
|
+
"deleted": "0.10.5",
|
|
4830
4848
|
"replacement": "color.background.selected.[default].[default]",
|
|
4831
4849
|
"description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
|
|
4832
4850
|
},
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.10.
|
|
17
|
+
var version = "0.10.5";
|
|
18
18
|
|
|
19
19
|
function token(path, fallback) {
|
|
20
20
|
var token = _tokenNames.default[path];
|
|
@@ -362,9 +362,10 @@ var color = {
|
|
|
362
362
|
'[default]': {
|
|
363
363
|
attributes: {
|
|
364
364
|
group: 'paint',
|
|
365
|
-
state: '
|
|
365
|
+
state: 'deleted',
|
|
366
366
|
introduced: '0.6.0',
|
|
367
367
|
deprecated: '0.6.2',
|
|
368
|
+
deleted: '0.10.5',
|
|
368
369
|
replacement: 'color.background.selected.[default].[default]',
|
|
369
370
|
description: 'Use for the background of elements used to reinforce our brand.'
|
|
370
371
|
}
|
|
@@ -372,9 +373,10 @@ var color = {
|
|
|
372
373
|
hovered: {
|
|
373
374
|
attributes: {
|
|
374
375
|
group: 'paint',
|
|
375
|
-
state: '
|
|
376
|
+
state: 'deleted',
|
|
376
377
|
introduced: '0.6.0',
|
|
377
378
|
deprecated: '0.6.2',
|
|
379
|
+
deleted: '0.10.5',
|
|
378
380
|
replacement: 'color.background.selected.[default].hovered',
|
|
379
381
|
description: 'Hovered state for color.background.brand'
|
|
380
382
|
}
|
|
@@ -382,9 +384,10 @@ var color = {
|
|
|
382
384
|
pressed: {
|
|
383
385
|
attributes: {
|
|
384
386
|
group: 'paint',
|
|
385
|
-
state: '
|
|
387
|
+
state: 'deleted',
|
|
386
388
|
introduced: '0.6.0',
|
|
387
389
|
deprecated: '0.6.2',
|
|
390
|
+
deleted: '0.10.5',
|
|
388
391
|
replacement: 'color.background.selected.[default].pressed',
|
|
389
392
|
description: 'Pressed state for color.background.brand'
|
|
390
393
|
}
|
|
@@ -627,9 +630,10 @@ var color = {
|
|
|
627
630
|
'[default]': {
|
|
628
631
|
attributes: {
|
|
629
632
|
group: 'paint',
|
|
630
|
-
state: '
|
|
633
|
+
state: 'deleted',
|
|
631
634
|
introduced: '0.1.0',
|
|
632
635
|
deprecated: '0.8.3',
|
|
636
|
+
deleted: '0.10.5',
|
|
633
637
|
replacement: 'color.background.inverse.subtle.[default]',
|
|
634
638
|
description: 'Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards.'
|
|
635
639
|
}
|
|
@@ -650,9 +654,10 @@ var color = {
|
|
|
650
654
|
resting: {
|
|
651
655
|
attributes: {
|
|
652
656
|
group: 'paint',
|
|
653
|
-
state: '
|
|
657
|
+
state: 'deleted',
|
|
654
658
|
introduced: '0.1.0',
|
|
655
659
|
deprecated: '0.6.0',
|
|
660
|
+
deleted: '0.10.5',
|
|
656
661
|
replacement: 'color.background.selected.[default].[default]',
|
|
657
662
|
description: 'Use for backgrounds of elements in a selected state'
|
|
658
663
|
}
|
|
@@ -660,9 +665,10 @@ var color = {
|
|
|
660
665
|
hover: {
|
|
661
666
|
attributes: {
|
|
662
667
|
group: 'paint',
|
|
663
|
-
state: '
|
|
668
|
+
state: 'deleted',
|
|
664
669
|
introduced: '0.1.0',
|
|
665
670
|
deprecated: '0.6.0',
|
|
671
|
+
deleted: '0.10.5',
|
|
666
672
|
replacement: 'color.background.selected.[default].hovered',
|
|
667
673
|
description: 'Hover state for color.background.selected'
|
|
668
674
|
}
|
|
@@ -696,9 +702,10 @@ var color = {
|
|
|
696
702
|
hover: {
|
|
697
703
|
attributes: {
|
|
698
704
|
group: 'paint',
|
|
699
|
-
state: '
|
|
705
|
+
state: 'deleted',
|
|
700
706
|
introduced: '0.0.15',
|
|
701
707
|
deprecated: '0.6.0',
|
|
708
|
+
deleted: '0.10.5',
|
|
702
709
|
replacement: 'color.background.selected.[default].hovered',
|
|
703
710
|
description: 'Hover state for background.subtleBrand'
|
|
704
711
|
}
|
|
@@ -706,9 +713,10 @@ var color = {
|
|
|
706
713
|
pressed: {
|
|
707
714
|
attributes: {
|
|
708
715
|
group: 'paint',
|
|
709
|
-
state: '
|
|
716
|
+
state: 'deleted',
|
|
710
717
|
introduced: '0.0.15',
|
|
711
718
|
deprecated: '0.6.0',
|
|
719
|
+
deleted: '0.10.5',
|
|
712
720
|
replacement: 'color.background.selected.[default].pressed',
|
|
713
721
|
description: 'Pressed state for background.subtleBrand'
|
|
714
722
|
}
|
|
@@ -716,9 +724,10 @@ var color = {
|
|
|
716
724
|
resting: {
|
|
717
725
|
attributes: {
|
|
718
726
|
group: 'paint',
|
|
719
|
-
state: '
|
|
727
|
+
state: 'deleted',
|
|
720
728
|
introduced: '0.0.15',
|
|
721
729
|
deprecated: '0.6.0',
|
|
730
|
+
deleted: '0.10.5',
|
|
722
731
|
replacement: 'color.background.selected.[default].[default]',
|
|
723
732
|
description: 'Use for subdued backgrounds of UI elements like information section messages and in progress lozenges.'
|
|
724
733
|
}
|