@atlaskit/tokens 0.10.3 → 0.10.6

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.
Files changed (33) hide show
  1. package/.eslintrc.js +35 -0
  2. package/CHANGELOG.md +30 -0
  3. package/README.md +1 -1
  4. package/dist/cjs/artifacts/rename-mapping.js +10 -10
  5. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +37 -19
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +37 -19
  7. package/dist/cjs/babel-plugin/plugin.js +57 -53
  8. package/dist/cjs/constants.js +4 -2
  9. package/dist/cjs/get-token.js +9 -2
  10. package/dist/cjs/tokens/default/deprecated/deprecated.js +18 -9
  11. package/dist/cjs/version.json +1 -1
  12. package/dist/es2019/artifacts/rename-mapping.js +10 -10
  13. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +37 -19
  14. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +37 -19
  15. package/dist/es2019/babel-plugin/plugin.js +50 -45
  16. package/dist/es2019/constants.js +2 -1
  17. package/dist/es2019/get-token.js +8 -2
  18. package/dist/es2019/tokens/default/deprecated/deprecated.js +18 -9
  19. package/dist/es2019/version.json +1 -1
  20. package/dist/esm/artifacts/rename-mapping.js +10 -10
  21. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +37 -19
  22. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +37 -19
  23. package/dist/esm/babel-plugin/plugin.js +57 -53
  24. package/dist/esm/constants.js +2 -1
  25. package/dist/esm/get-token.js +8 -2
  26. package/dist/esm/tokens/default/deprecated/deprecated.js +18 -9
  27. package/dist/esm/version.json +1 -1
  28. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  29. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -28
  30. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -28
  31. package/dist/types/babel-plugin/plugin.d.ts +5 -5
  32. package/dist/types/constants.d.ts +1 -0
  33. package/package.json +7 -3
@@ -22,75 +22,79 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
22
22
  function plugin() {
23
23
  return {
24
24
  visitor: {
25
- CallExpression: function (_CallExpression) {
26
- function CallExpression(_x, _x2) {
27
- return _CallExpression.apply(this, arguments);
28
- }
25
+ Program: {
26
+ enter: function enter(path, state) {
27
+ path.traverse({
28
+ CallExpression: function (_CallExpression) {
29
+ function CallExpression(_x) {
30
+ return _CallExpression.apply(this, arguments);
31
+ }
29
32
 
30
- CallExpression.toString = function () {
31
- return _CallExpression.toString();
32
- };
33
+ CallExpression.toString = function () {
34
+ return _CallExpression.toString();
35
+ };
33
36
 
34
- return CallExpression;
35
- }(function (path, state) {
36
- var tokenImportScope = getTokenImportScope(path);
37
+ return CallExpression;
38
+ }(function (path) {
39
+ var tokenImportScope = getTokenImportScope(path);
37
40
 
38
- if (!tokenImportScope) {
39
- return;
40
- } // Check arguments have correct format
41
+ if (!tokenImportScope) {
42
+ return;
43
+ } // Check arguments have correct format
41
44
 
42
45
 
43
- if (!path.node.arguments[0]) {
44
- throw new Error("token() requires at least one argument");
45
- } else if (!t.isStringLiteral(path.node.arguments[0])) {
46
- throw new Error("token() must have a string as the first argument");
47
- } else if (path.node.arguments.length > 2) {
48
- throw new Error("token() does not accept ".concat(path.node.arguments.length, " arguments"));
49
- } // Check the token exists
46
+ if (!path.node.arguments[0]) {
47
+ throw new Error("token() requires at least one argument");
48
+ } else if (!t.isStringLiteral(path.node.arguments[0])) {
49
+ throw new Error("token() must have a string as the first argument");
50
+ } else if (path.node.arguments.length > 2) {
51
+ throw new Error("token() does not accept ".concat(path.node.arguments.length, " arguments"));
52
+ } // Check the token exists
50
53
 
51
54
 
52
- var tokenName = path.node.arguments[0].value;
53
- var cssTokenValue = _tokenNames.default[tokenName];
55
+ var tokenName = path.node.arguments[0].value;
56
+ var cssTokenValue = _tokenNames.default[tokenName];
54
57
 
55
- if (!cssTokenValue) {
56
- throw new Error("token '".concat(tokenName, "' does not exist"));
57
- }
58
+ if (!cssTokenValue) {
59
+ throw new Error("token '".concat(tokenName, "' does not exist"));
60
+ }
58
61
 
59
- var replacementNode; // if no fallback is set, optionally find one from the default theme
62
+ var replacementNode; // if no fallback is set, optionally find one from the default theme
60
63
 
61
- if (path.node.arguments.length < 2) {
62
- if (state.opts.shouldUseAutoFallback) {
63
- replacementNode = t.stringLiteral("var(".concat(cssTokenValue, ", ").concat(getDefaultFallback(tokenName), ")"));
64
- } else {
65
- replacementNode = t.stringLiteral("var(".concat(cssTokenValue, ")"));
66
- }
67
- } // Handle fallbacks
64
+ if (path.node.arguments.length < 2) {
65
+ if (state.opts.shouldUseAutoFallback) {
66
+ replacementNode = t.stringLiteral("var(".concat(cssTokenValue, ", ").concat(getDefaultFallback(tokenName), ")"));
67
+ } else {
68
+ replacementNode = t.stringLiteral("var(".concat(cssTokenValue, ")"));
69
+ }
70
+ } // Handle fallbacks
68
71
 
69
72
 
70
- var fallback = path.node.arguments[1];
73
+ var fallback = path.node.arguments[1];
71
74
 
72
- if (t.isStringLiteral(fallback)) {
73
- // String literals can be concatenated into css variable call
74
- // Empty string fallbacks are ignored. For now, as the user did specify a fallback, no default is inserted
75
- replacementNode = t.stringLiteral(fallback.value ? "var(".concat(cssTokenValue, ", ").concat(fallback.value, ")") : "var(".concat(cssTokenValue, ")"));
76
- } else if (t.isExpression(fallback)) {
77
- // Expressions should be placed in a template string/literal
78
- replacementNode = t.templateLiteral([t.templateElement({
79
- cooked: "var(".concat(cssTokenValue, ", "),
80
- // Currently we create a "raw" value by inserting escape characters via regex (https://github.com/babel/babel/issues/9242)
81
- raw: "var(".concat(cssTokenValue.replace(/\\|`|\${/g, '\\$&'), ", ")
82
- }, false), t.templateElement({
83
- raw: ')',
84
- cooked: ')'
85
- }, true)], [fallback]);
86
- } // Replace path and call scope.crawl() to refresh the scope bindings + references
75
+ if (t.isStringLiteral(fallback)) {
76
+ // String literals can be concatenated into css variable call
77
+ // Empty string fallbacks are ignored. For now, as the user did specify a fallback, no default is inserted
78
+ replacementNode = t.stringLiteral(fallback.value ? "var(".concat(cssTokenValue, ", ").concat(fallback.value, ")") : "var(".concat(cssTokenValue, ")"));
79
+ } else if (t.isExpression(fallback)) {
80
+ // Expressions should be placed in a template string/literal
81
+ replacementNode = t.templateLiteral([t.templateElement({
82
+ cooked: "var(".concat(cssTokenValue, ", "),
83
+ // Currently we create a "raw" value by inserting escape characters via regex (https://github.com/babel/babel/issues/9242)
84
+ raw: "var(".concat(cssTokenValue.replace(/\\|`|\${/g, '\\$&'), ", ")
85
+ }, false), t.templateElement({
86
+ raw: ')',
87
+ cooked: ')'
88
+ }, true)], [fallback]);
89
+ } // Replace path and call scope.crawl() to refresh the scope bindings + references
87
90
 
88
91
 
89
- replacementNode && path.replaceWith(replacementNode); // @ts-ignore crawl is a valid property
92
+ replacementNode && path.replaceWith(replacementNode); // @ts-ignore crawl is a valid property
90
93
 
91
- tokenImportScope.crawl();
92
- }),
93
- Program: {
94
+ tokenImportScope.crawl();
95
+ })
96
+ });
97
+ },
94
98
  exit: function exit(path) {
95
99
  path.traverse({
96
100
  ImportDeclaration: function ImportDeclaration(path) {
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.THEME_DATA_ATTRIBUTE = exports.THEMES = exports.LONG_SHORT_MAPPING = exports.DEFAULT_THEME = exports.CSS_PREFIX = void 0;
6
+ exports.TOKEN_NOT_FOUND_CSS_VAR = exports.THEME_DATA_ATTRIBUTE = exports.THEMES = exports.LONG_SHORT_MAPPING = exports.DEFAULT_THEME = exports.CSS_PREFIX = void 0;
7
7
  var THEMES = ['light', 'dark'];
8
8
  exports.THEMES = THEMES;
9
9
  var THEME_DATA_ATTRIBUTE = 'data-theme';
@@ -17,4 +17,6 @@ var LONG_SHORT_MAPPING = {
17
17
  'atlassian-light': 'light',
18
18
  'atlassian-dark': 'dark'
19
19
  };
20
- exports.LONG_SHORT_MAPPING = LONG_SHORT_MAPPING;
20
+ exports.LONG_SHORT_MAPPING = LONG_SHORT_MAPPING;
21
+ var TOKEN_NOT_FOUND_CSS_VAR = "--".concat(CSS_PREFIX, "-token-not-found");
22
+ exports.TOKEN_NOT_FOUND_CSS_VAR = TOKEN_NOT_FOUND_CSS_VAR;
@@ -11,15 +11,22 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
11
11
 
12
12
  var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
13
13
 
14
+ var _constants = require("./constants");
15
+
14
16
  var name = "@atlaskit/tokens";
15
- var version = "0.10.3";
17
+ var version = "0.10.6";
16
18
 
17
19
  function token(path, fallback) {
18
20
  var token = _tokenNames.default[path];
19
21
 
20
22
  if (process.env.NODE_ENV !== 'production' && !token) {
21
- (0, _warnOnce.default)("Unknown token id at path: ".concat(path, " for ").concat(name, "@").concat(version));
22
23
  token = _tokenNames.default['utility.UNSAFE_util.MISSING_TOKEN'];
24
+ (0, _warnOnce.default)("Unknown token id at path: ".concat(path, " for ").concat(name, "@").concat(version));
25
+ } // if the token is not found - replacing it with variable name without any value, to avoid it being undefined which would result in invalid css
26
+
27
+
28
+ if (!token) {
29
+ token = _constants.TOKEN_NOT_FOUND_CSS_VAR;
23
30
  }
24
31
 
25
32
  var tokenCall = fallback ? "var(".concat(token, ", ").concat(fallback, ")") : "var(".concat(token, ")");
@@ -362,9 +362,10 @@ var color = {
362
362
  '[default]': {
363
363
  attributes: {
364
364
  group: 'paint',
365
- state: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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: 'deprecated',
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
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.3",
3
+ "version": "0.10.6",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -12,7 +12,7 @@
12
12
  * These changes will then be picked up by our tooling which will attempt to
13
13
  * migrate as many of these renames as possible.
14
14
  *
15
- * @codegen <<SignedSource::dd934162c3393bce214d694d47bbcf2a>>
15
+ * @codegen <<SignedSource::51fbaf5510a3fead6a2844d4df866a77>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
  const renameMapper = [{
@@ -117,27 +117,27 @@ const renameMapper = [{
117
117
  "replacement": "color.background.accent.magenta.subtle"
118
118
  }, {
119
119
  "path": "color.background.inverse.[default]",
120
- "state": "deprecated",
120
+ "state": "deleted",
121
121
  "replacement": "color.background.inverse.subtle.[default]"
122
122
  }, {
123
123
  "path": "color.background.brand.[default].[default]",
124
- "state": "deprecated",
124
+ "state": "deleted",
125
125
  "replacement": "color.background.selected.[default].[default]"
126
126
  }, {
127
127
  "path": "color.background.brand.[default].hovered",
128
- "state": "deprecated",
128
+ "state": "deleted",
129
129
  "replacement": "color.background.selected.[default].hovered"
130
130
  }, {
131
131
  "path": "color.background.brand.[default].pressed",
132
- "state": "deprecated",
132
+ "state": "deleted",
133
133
  "replacement": "color.background.selected.[default].pressed"
134
134
  }, {
135
135
  "path": "color.background.selected.resting",
136
- "state": "deprecated",
136
+ "state": "deleted",
137
137
  "replacement": "color.background.selected.[default].[default]"
138
138
  }, {
139
139
  "path": "color.background.selected.hover",
140
- "state": "deprecated",
140
+ "state": "deleted",
141
141
  "replacement": "color.background.selected.[default].hovered"
142
142
  }, {
143
143
  "path": "color.background.blanket",
@@ -237,15 +237,15 @@ const renameMapper = [{
237
237
  "replacement": "color.background.input.[default]"
238
238
  }, {
239
239
  "path": "color.background.subtleBrand.hover",
240
- "state": "deprecated",
240
+ "state": "deleted",
241
241
  "replacement": "color.background.selected.[default].hovered"
242
242
  }, {
243
243
  "path": "color.background.subtleBrand.pressed",
244
- "state": "deprecated",
244
+ "state": "deleted",
245
245
  "replacement": "color.background.selected.[default].pressed"
246
246
  }, {
247
247
  "path": "color.background.subtleBrand.resting",
248
- "state": "deprecated",
248
+ "state": "deleted",
249
249
  "replacement": "color.background.selected.[default].[default]"
250
250
  }, {
251
251
  "path": "color.background.subtleDanger.hover",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
3
- * @codegen <<SignedSource::9d619d23cbcf93e5c937313843744a22>>
3
+ * @codegen <<SignedSource::2790b3e5387d05c20675eb77bb4ec986>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -2886,9 +2886,10 @@ const tokens = [{
2886
2886
  }, {
2887
2887
  "attributes": {
2888
2888
  "group": "paint",
2889
- "state": "deprecated",
2889
+ "state": "deleted",
2890
2890
  "introduced": "0.1.0",
2891
2891
  "deprecated": "0.8.3",
2892
+ "deleted": "0.10.5",
2892
2893
  "replacement": "color.background.inverse.subtle.[default]",
2893
2894
  "description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
2894
2895
  },
@@ -2898,9 +2899,10 @@ const tokens = [{
2898
2899
  "original": {
2899
2900
  "attributes": {
2900
2901
  "group": "paint",
2901
- "state": "deprecated",
2902
+ "state": "deleted",
2902
2903
  "introduced": "0.1.0",
2903
2904
  "deprecated": "0.8.3",
2905
+ "deleted": "0.10.5",
2904
2906
  "replacement": "color.background.inverse.subtle.[default]",
2905
2907
  "description": "Use for backgrounds of elements on a bold background, such as in the buttons on spotlight cards."
2906
2908
  },
@@ -3226,9 +3228,10 @@ const tokens = [{
3226
3228
  }, {
3227
3229
  "attributes": {
3228
3230
  "group": "paint",
3229
- "state": "deprecated",
3231
+ "state": "deleted",
3230
3232
  "introduced": "0.6.0",
3231
3233
  "deprecated": "0.6.2",
3234
+ "deleted": "0.10.5",
3232
3235
  "replacement": "color.background.selected.[default].[default]",
3233
3236
  "description": "Use for the background of elements used to reinforce our brand."
3234
3237
  },
@@ -3238,9 +3241,10 @@ const tokens = [{
3238
3241
  "original": {
3239
3242
  "attributes": {
3240
3243
  "group": "paint",
3241
- "state": "deprecated",
3244
+ "state": "deleted",
3242
3245
  "introduced": "0.6.0",
3243
3246
  "deprecated": "0.6.2",
3247
+ "deleted": "0.10.5",
3244
3248
  "replacement": "color.background.selected.[default].[default]",
3245
3249
  "description": "Use for the background of elements used to reinforce our brand."
3246
3250
  },
@@ -3251,9 +3255,10 @@ const tokens = [{
3251
3255
  }, {
3252
3256
  "attributes": {
3253
3257
  "group": "paint",
3254
- "state": "deprecated",
3258
+ "state": "deleted",
3255
3259
  "introduced": "0.6.0",
3256
3260
  "deprecated": "0.6.2",
3261
+ "deleted": "0.10.5",
3257
3262
  "replacement": "color.background.selected.[default].hovered",
3258
3263
  "description": "Hovered state for color.background.brand"
3259
3264
  },
@@ -3263,9 +3268,10 @@ const tokens = [{
3263
3268
  "original": {
3264
3269
  "attributes": {
3265
3270
  "group": "paint",
3266
- "state": "deprecated",
3271
+ "state": "deleted",
3267
3272
  "introduced": "0.6.0",
3268
3273
  "deprecated": "0.6.2",
3274
+ "deleted": "0.10.5",
3269
3275
  "replacement": "color.background.selected.[default].hovered",
3270
3276
  "description": "Hovered state for color.background.brand"
3271
3277
  },
@@ -3276,9 +3282,10 @@ const tokens = [{
3276
3282
  }, {
3277
3283
  "attributes": {
3278
3284
  "group": "paint",
3279
- "state": "deprecated",
3285
+ "state": "deleted",
3280
3286
  "introduced": "0.6.0",
3281
3287
  "deprecated": "0.6.2",
3288
+ "deleted": "0.10.5",
3282
3289
  "replacement": "color.background.selected.[default].pressed",
3283
3290
  "description": "Pressed state for color.background.brand"
3284
3291
  },
@@ -3288,9 +3295,10 @@ const tokens = [{
3288
3295
  "original": {
3289
3296
  "attributes": {
3290
3297
  "group": "paint",
3291
- "state": "deprecated",
3298
+ "state": "deleted",
3292
3299
  "introduced": "0.6.0",
3293
3300
  "deprecated": "0.6.2",
3301
+ "deleted": "0.10.5",
3294
3302
  "replacement": "color.background.selected.[default].pressed",
3295
3303
  "description": "Pressed state for color.background.brand"
3296
3304
  },
@@ -3427,9 +3435,10 @@ const tokens = [{
3427
3435
  }, {
3428
3436
  "attributes": {
3429
3437
  "group": "paint",
3430
- "state": "deprecated",
3438
+ "state": "deleted",
3431
3439
  "introduced": "0.1.0",
3432
3440
  "deprecated": "0.6.0",
3441
+ "deleted": "0.10.5",
3433
3442
  "replacement": "color.background.selected.[default].[default]",
3434
3443
  "description": "Use for backgrounds of elements in a selected state"
3435
3444
  },
@@ -3439,9 +3448,10 @@ const tokens = [{
3439
3448
  "original": {
3440
3449
  "attributes": {
3441
3450
  "group": "paint",
3442
- "state": "deprecated",
3451
+ "state": "deleted",
3443
3452
  "introduced": "0.1.0",
3444
3453
  "deprecated": "0.6.0",
3454
+ "deleted": "0.10.5",
3445
3455
  "replacement": "color.background.selected.[default].[default]",
3446
3456
  "description": "Use for backgrounds of elements in a selected state"
3447
3457
  },
@@ -3452,9 +3462,10 @@ const tokens = [{
3452
3462
  }, {
3453
3463
  "attributes": {
3454
3464
  "group": "paint",
3455
- "state": "deprecated",
3465
+ "state": "deleted",
3456
3466
  "introduced": "0.1.0",
3457
3467
  "deprecated": "0.6.0",
3468
+ "deleted": "0.10.5",
3458
3469
  "replacement": "color.background.selected.[default].hovered",
3459
3470
  "description": "Hover state for color.background.selected"
3460
3471
  },
@@ -3464,9 +3475,10 @@ const tokens = [{
3464
3475
  "original": {
3465
3476
  "attributes": {
3466
3477
  "group": "paint",
3467
- "state": "deprecated",
3478
+ "state": "deleted",
3468
3479
  "introduced": "0.1.0",
3469
3480
  "deprecated": "0.6.0",
3481
+ "deleted": "0.10.5",
3470
3482
  "replacement": "color.background.selected.[default].hovered",
3471
3483
  "description": "Hover state for color.background.selected"
3472
3484
  },
@@ -4755,9 +4767,10 @@ const tokens = [{
4755
4767
  }, {
4756
4768
  "attributes": {
4757
4769
  "group": "paint",
4758
- "state": "deprecated",
4770
+ "state": "deleted",
4759
4771
  "introduced": "0.0.15",
4760
4772
  "deprecated": "0.6.0",
4773
+ "deleted": "0.10.5",
4761
4774
  "replacement": "color.background.selected.[default].hovered",
4762
4775
  "description": "Hover state for background.subtleBrand"
4763
4776
  },
@@ -4767,9 +4780,10 @@ const tokens = [{
4767
4780
  "original": {
4768
4781
  "attributes": {
4769
4782
  "group": "paint",
4770
- "state": "deprecated",
4783
+ "state": "deleted",
4771
4784
  "introduced": "0.0.15",
4772
4785
  "deprecated": "0.6.0",
4786
+ "deleted": "0.10.5",
4773
4787
  "replacement": "color.background.selected.[default].hovered",
4774
4788
  "description": "Hover state for background.subtleBrand"
4775
4789
  },
@@ -4780,9 +4794,10 @@ const tokens = [{
4780
4794
  }, {
4781
4795
  "attributes": {
4782
4796
  "group": "paint",
4783
- "state": "deprecated",
4797
+ "state": "deleted",
4784
4798
  "introduced": "0.0.15",
4785
4799
  "deprecated": "0.6.0",
4800
+ "deleted": "0.10.5",
4786
4801
  "replacement": "color.background.selected.[default].pressed",
4787
4802
  "description": "Pressed state for background.subtleBrand"
4788
4803
  },
@@ -4792,9 +4807,10 @@ const tokens = [{
4792
4807
  "original": {
4793
4808
  "attributes": {
4794
4809
  "group": "paint",
4795
- "state": "deprecated",
4810
+ "state": "deleted",
4796
4811
  "introduced": "0.0.15",
4797
4812
  "deprecated": "0.6.0",
4813
+ "deleted": "0.10.5",
4798
4814
  "replacement": "color.background.selected.[default].pressed",
4799
4815
  "description": "Pressed state for background.subtleBrand"
4800
4816
  },
@@ -4805,9 +4821,10 @@ const tokens = [{
4805
4821
  }, {
4806
4822
  "attributes": {
4807
4823
  "group": "paint",
4808
- "state": "deprecated",
4824
+ "state": "deleted",
4809
4825
  "introduced": "0.0.15",
4810
4826
  "deprecated": "0.6.0",
4827
+ "deleted": "0.10.5",
4811
4828
  "replacement": "color.background.selected.[default].[default]",
4812
4829
  "description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
4813
4830
  },
@@ -4817,9 +4834,10 @@ const tokens = [{
4817
4834
  "original": {
4818
4835
  "attributes": {
4819
4836
  "group": "paint",
4820
- "state": "deprecated",
4837
+ "state": "deleted",
4821
4838
  "introduced": "0.0.15",
4822
4839
  "deprecated": "0.6.0",
4840
+ "deleted": "0.10.5",
4823
4841
  "replacement": "color.background.selected.[default].[default]",
4824
4842
  "description": "Use for subdued backgrounds of UI elements like information section messages and in progress lozenges."
4825
4843
  },