@atlaskit/tokens 0.10.11 → 0.10.12

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 (48) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/css/atlassian-dark.css +3 -3
  3. package/css/atlassian-light.css +3 -3
  4. package/dist/cjs/artifacts/rename-mapping.js +9 -1
  5. package/dist/cjs/artifacts/token-default-values.js +3 -3
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +23 -15
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +23 -15
  8. package/dist/cjs/get-token.js +1 -1
  9. package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
  10. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  11. package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
  12. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  13. package/dist/cjs/tokens/default/color/interaction.js +0 -18
  14. package/dist/cjs/tokens/default/deprecated/deprecated.js +24 -0
  15. package/dist/cjs/version.json +1 -1
  16. package/dist/es2019/artifacts/rename-mapping.js +9 -1
  17. package/dist/es2019/artifacts/token-default-values.js +3 -3
  18. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +23 -15
  19. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +23 -15
  20. package/dist/es2019/get-token.js +1 -1
  21. package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
  22. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  23. package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
  24. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  25. package/dist/es2019/tokens/default/color/interaction.js +0 -18
  26. package/dist/es2019/tokens/default/deprecated/deprecated.js +24 -0
  27. package/dist/es2019/version.json +1 -1
  28. package/dist/esm/artifacts/rename-mapping.js +9 -1
  29. package/dist/esm/artifacts/token-default-values.js +3 -3
  30. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +23 -15
  31. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +23 -15
  32. package/dist/esm/get-token.js +1 -1
  33. package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
  34. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  35. package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
  36. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  37. package/dist/esm/tokens/default/color/interaction.js +0 -18
  38. package/dist/esm/tokens/default/deprecated/deprecated.js +24 -0
  39. package/dist/esm/version.json +1 -1
  40. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  41. package/dist/types/artifacts/token-default-values.d.ts +3 -3
  42. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +28 -1
  43. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +28 -1
  44. package/dist/types/artifacts/types-internal.d.ts +2 -2
  45. package/dist/types/artifacts/types.d.ts +2 -2
  46. package/dist/types/types.d.ts +6 -4
  47. package/package.json +3 -1
  48. package/report.api.md +619 -20
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaskit/tokens
2
2
 
3
+ ## 0.10.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`83c253f28bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83c253f28bd) - [ux] - Correct 'color.interaction.hovered' and 'color.interaction.pressed' token values, which were mistakenly mapped inversely in light and dark mode. The token values have now been swapped.
8
+
9
+ - Deprecate 'color.interaction.inverse.hovered' which has been replaced with 'color.background.inverse.subtle.hovered'.
10
+ - Deprecate 'color.interaction.inverse.pressed' which has been replaced with 'color.background.inverse.subtle.pressed'.
11
+
3
12
  ## 0.10.11
4
13
 
5
14
  ### Patch Changes
@@ -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::85d62de0416ec3b21500de8c73032a0b>>
3
+ * @codegen <<SignedSource::6a3276a727e472ff47547f8991960250>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  html[data-theme="dark"] {
@@ -248,8 +248,8 @@ html[data-theme="dark"] {
248
248
  --ds-blanket: #03040442;
249
249
  --ds-blanket-selected: #1D7AFC14;
250
250
  --ds-blanket-danger: #E3493514;
251
- --ds-interaction-hovered: #00000029;
252
- --ds-interaction-pressed: #00000052;
251
+ --ds-interaction-hovered: #ffffff33;
252
+ --ds-interaction-pressed: #ffffff5c;
253
253
  --ds-interaction-inverse-hovered: #ffffff33;
254
254
  --ds-interaction-inverse-pressed: #ffffff5c;
255
255
  --ds-skeleton: #A1BDD914;
@@ -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::02e499657110ba601259f74693590e8d>>
3
+ * @codegen <<SignedSource::5cbe2fca5facc8e88dc6c1e0606e6881>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  html[data-theme="light"] {
@@ -248,8 +248,8 @@ html[data-theme="light"] {
248
248
  --ds-blanket: #091E427A;
249
249
  --ds-blanket-selected: #388BFF14;
250
250
  --ds-blanket-danger: #EF5C4814;
251
- --ds-interaction-hovered: #ffffff33;
252
- --ds-interaction-pressed: #ffffff5c;
251
+ --ds-interaction-hovered: #00000029;
252
+ --ds-interaction-pressed: #00000052;
253
253
  --ds-interaction-inverse-hovered: #00000029;
254
254
  --ds-interaction-inverse-pressed: #00000052;
255
255
  --ds-skeleton: #091E420F;
@@ -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::51fbaf5510a3fead6a2844d4df866a77>>
22
+ * @codegen <<SignedSource::3b33fd6cb94d4a40b7b5790bebd50f60>>
23
23
  * @codegenCommand yarn build tokens
24
24
  */
25
25
  var renameMapper = [{
@@ -326,6 +326,14 @@ var renameMapper = [{
326
326
  "path": "color.background.transparentNeutral.pressed",
327
327
  "state": "deleted",
328
328
  "replacement": "color.background.neutral.subtle.pressed"
329
+ }, {
330
+ "path": "color.interaction.inverse.hovered",
331
+ "state": "deprecated",
332
+ "replacement": "color.background.inverse.subtle.hovered"
333
+ }, {
334
+ "path": "color.interaction.inverse.pressed",
335
+ "state": "deprecated",
336
+ "replacement": "color.background.inverse.subtle.pressed"
329
337
  }, {
330
338
  "path": "color.accent.boldBlue",
331
339
  "state": "deleted",
@@ -10,7 +10,7 @@ exports.default = void 0;
10
10
  *
11
11
  * Token names mapped to their value in the default Atlassian theme ('light')
12
12
  *
13
- * @codegen <<SignedSource::65fed9d3a0df2e2c1ccee929e1349bb4>>
13
+ * @codegen <<SignedSource::621a5ab1342cac3bcd8fb719515b731c>>
14
14
  * @codegenCommand yarn build tokens
15
15
  */
16
16
  var defaultTokenValues = {
@@ -258,8 +258,8 @@ var defaultTokenValues = {
258
258
  'color.blanket': '#091E427A',
259
259
  'color.blanket.selected': '#388BFF14',
260
260
  'color.blanket.danger': '#EF5C4814',
261
- 'color.interaction.hovered': '#ffffff33',
262
- 'color.interaction.pressed': '#ffffff5c',
261
+ 'color.interaction.hovered': '#00000029',
262
+ 'color.interaction.pressed': '#00000052',
263
263
  'color.interaction.inverse.hovered': '#00000029',
264
264
  'color.interaction.inverse.pressed': '#00000052',
265
265
  'color.skeleton': '#091E420F',
@@ -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::98101caf910ff8cddc38a424e29e4980>>
10
+ * @codegen <<SignedSource::c45a3bc7ab921b5a279f8b05f859f21b>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
@@ -5597,7 +5597,7 @@ var tokens = [{
5597
5597
  "introduced": "0.6.0",
5598
5598
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5599
5599
  },
5600
- "value": "#00000029",
5600
+ "value": "#ffffff33",
5601
5601
  "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5602
5602
  "isSource": true,
5603
5603
  "original": {
@@ -5607,7 +5607,7 @@ var tokens = [{
5607
5607
  "introduced": "0.6.0",
5608
5608
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5609
5609
  },
5610
- "value": "#00000029"
5610
+ "value": "#ffffff33"
5611
5611
  },
5612
5612
  "name": "color.interaction.hovered",
5613
5613
  "path": ["color", "interaction", "hovered"]
@@ -5618,7 +5618,7 @@ var tokens = [{
5618
5618
  "introduced": "0.6.0",
5619
5619
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5620
5620
  },
5621
- "value": "#00000052",
5621
+ "value": "#ffffff5c",
5622
5622
  "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5623
5623
  "isSource": true,
5624
5624
  "original": {
@@ -5628,26 +5628,30 @@ var tokens = [{
5628
5628
  "introduced": "0.6.0",
5629
5629
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5630
5630
  },
5631
- "value": "#00000052"
5631
+ "value": "#ffffff5c"
5632
5632
  },
5633
5633
  "name": "color.interaction.pressed",
5634
5634
  "path": ["color", "interaction", "pressed"]
5635
5635
  }, {
5636
5636
  "attributes": {
5637
5637
  "group": "paint",
5638
- "state": "active",
5638
+ "state": "deprecated",
5639
5639
  "introduced": "0.6.0",
5640
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5640
+ "deprecated": "0.10.8",
5641
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5642
+ "replacement": "color.background.inverse.subtle.hovered"
5641
5643
  },
5642
5644
  "value": "#ffffff33",
5643
- "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5645
+ "filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
5644
5646
  "isSource": true,
5645
5647
  "original": {
5646
5648
  "attributes": {
5647
5649
  "group": "paint",
5648
- "state": "active",
5650
+ "state": "deprecated",
5649
5651
  "introduced": "0.6.0",
5650
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5652
+ "deprecated": "0.10.8",
5653
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5654
+ "replacement": "color.background.inverse.subtle.hovered"
5651
5655
  },
5652
5656
  "value": "#ffffff33"
5653
5657
  },
@@ -5656,19 +5660,23 @@ var tokens = [{
5656
5660
  }, {
5657
5661
  "attributes": {
5658
5662
  "group": "paint",
5659
- "state": "active",
5663
+ "state": "deprecated",
5660
5664
  "introduced": "0.6.0",
5661
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5665
+ "deprecated": "0.10.8 ",
5666
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5667
+ "replacement": "color.background.inverse.subtle.pressed"
5662
5668
  },
5663
5669
  "value": "#ffffff5c",
5664
- "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5670
+ "filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
5665
5671
  "isSource": true,
5666
5672
  "original": {
5667
5673
  "attributes": {
5668
5674
  "group": "paint",
5669
- "state": "active",
5675
+ "state": "deprecated",
5670
5676
  "introduced": "0.6.0",
5671
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5677
+ "deprecated": "0.10.8 ",
5678
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5679
+ "replacement": "color.background.inverse.subtle.pressed"
5672
5680
  },
5673
5681
  "value": "#ffffff5c"
5674
5682
  },
@@ -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::27eae6ae1ffaceb474ba5af373b377f1>>
10
+ * @codegen <<SignedSource::3624adf3c629ed50172b90c1d2268662>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
@@ -5597,7 +5597,7 @@ var tokens = [{
5597
5597
  "introduced": "0.6.0",
5598
5598
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5599
5599
  },
5600
- "value": "#ffffff33",
5600
+ "value": "#00000029",
5601
5601
  "filePath": "src/tokens/atlassian-light/color/interaction.tsx",
5602
5602
  "isSource": true,
5603
5603
  "original": {
@@ -5607,7 +5607,7 @@ var tokens = [{
5607
5607
  "introduced": "0.6.0",
5608
5608
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5609
5609
  },
5610
- "value": "#ffffff33"
5610
+ "value": "#00000029"
5611
5611
  },
5612
5612
  "name": "color.interaction.hovered",
5613
5613
  "path": ["color", "interaction", "hovered"]
@@ -5618,7 +5618,7 @@ var tokens = [{
5618
5618
  "introduced": "0.6.0",
5619
5619
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5620
5620
  },
5621
- "value": "#ffffff5c",
5621
+ "value": "#00000052",
5622
5622
  "filePath": "src/tokens/atlassian-light/color/interaction.tsx",
5623
5623
  "isSource": true,
5624
5624
  "original": {
@@ -5628,26 +5628,30 @@ var tokens = [{
5628
5628
  "introduced": "0.6.0",
5629
5629
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5630
5630
  },
5631
- "value": "#ffffff5c"
5631
+ "value": "#00000052"
5632
5632
  },
5633
5633
  "name": "color.interaction.pressed",
5634
5634
  "path": ["color", "interaction", "pressed"]
5635
5635
  }, {
5636
5636
  "attributes": {
5637
5637
  "group": "paint",
5638
- "state": "active",
5638
+ "state": "deprecated",
5639
5639
  "introduced": "0.6.0",
5640
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5640
+ "deprecated": "0.10.8",
5641
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5642
+ "replacement": "color.background.inverse.subtle.hovered"
5641
5643
  },
5642
5644
  "value": "#00000029",
5643
- "filePath": "src/tokens/atlassian-light/color/interaction.tsx",
5645
+ "filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
5644
5646
  "isSource": true,
5645
5647
  "original": {
5646
5648
  "attributes": {
5647
5649
  "group": "paint",
5648
- "state": "active",
5650
+ "state": "deprecated",
5649
5651
  "introduced": "0.6.0",
5650
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5652
+ "deprecated": "0.10.8",
5653
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5654
+ "replacement": "color.background.inverse.subtle.hovered"
5651
5655
  },
5652
5656
  "value": "#00000029"
5653
5657
  },
@@ -5656,19 +5660,23 @@ var tokens = [{
5656
5660
  }, {
5657
5661
  "attributes": {
5658
5662
  "group": "paint",
5659
- "state": "active",
5663
+ "state": "deprecated",
5660
5664
  "introduced": "0.6.0",
5661
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5665
+ "deprecated": "0.10.8 ",
5666
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5667
+ "replacement": "color.background.inverse.subtle.pressed"
5662
5668
  },
5663
5669
  "value": "#00000052",
5664
- "filePath": "src/tokens/atlassian-light/color/interaction.tsx",
5670
+ "filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
5665
5671
  "isSource": true,
5666
5672
  "original": {
5667
5673
  "attributes": {
5668
5674
  "group": "paint",
5669
- "state": "active",
5675
+ "state": "deprecated",
5670
5676
  "introduced": "0.6.0",
5671
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5677
+ "deprecated": "0.10.8 ",
5678
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5679
+ "replacement": "color.background.inverse.subtle.pressed"
5672
5680
  },
5673
5681
  "value": "#00000052"
5674
5682
  },
@@ -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.11";
17
+ var version = "0.10.12";
18
18
 
19
19
  function token(path, fallback) {
20
20
  var token = _tokenNames.default[path];
@@ -9,21 +9,11 @@ var color = {
9
9
  interaction: {
10
10
  hovered: {
11
11
  // @ts-ignore temporary values
12
- value: '#00000029'
12
+ value: '#ffffff33'
13
13
  },
14
14
  pressed: {
15
15
  // @ts-ignore temporary values
16
- value: '#00000052'
17
- },
18
- inverse: {
19
- hovered: {
20
- // @ts-ignore temporary values
21
- value: '#ffffff33'
22
- },
23
- pressed: {
24
- // @ts-ignore temporary values
25
- value: '#ffffff5c'
26
- }
16
+ value: '#ffffff5c'
27
17
  }
28
18
  }
29
19
  }
@@ -362,6 +362,18 @@ var color = {
362
362
  pressed: {
363
363
  value: 'DN500A'
364
364
  }
365
+ },
366
+ interaction: {
367
+ inverse: {
368
+ hovered: {
369
+ // @ts-ignore temporary values
370
+ value: '#ffffff33'
371
+ },
372
+ pressed: {
373
+ // @ts-ignore temporary values
374
+ value: '#ffffff5c'
375
+ }
376
+ }
365
377
  }
366
378
  },
367
379
  shadow: {
@@ -9,21 +9,11 @@ var color = {
9
9
  interaction: {
10
10
  hovered: {
11
11
  // @ts-ignore temporary values
12
- value: '#ffffff33'
12
+ value: '#00000029'
13
13
  },
14
14
  pressed: {
15
15
  // @ts-ignore temporary values
16
- value: '#ffffff5c'
17
- },
18
- inverse: {
19
- hovered: {
20
- // @ts-ignore temporary values
21
- value: '#00000029'
22
- },
23
- pressed: {
24
- // @ts-ignore temporary values
25
- value: '#00000052'
26
- }
16
+ value: '#00000052'
27
17
  }
28
18
  }
29
19
  }
@@ -362,6 +362,18 @@ var color = {
362
362
  pressed: {
363
363
  value: 'N500A'
364
364
  }
365
+ },
366
+ interaction: {
367
+ inverse: {
368
+ hovered: {
369
+ // @ts-ignore temporary values
370
+ value: '#00000029'
371
+ },
372
+ pressed: {
373
+ // @ts-ignore temporary values
374
+ value: '#00000052'
375
+ }
376
+ }
365
377
  }
366
378
  },
367
379
  shadow: {
@@ -22,24 +22,6 @@ var color = {
22
22
  introduced: '0.6.0',
23
23
  description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
24
24
  }
25
- },
26
- inverse: {
27
- hovered: {
28
- attributes: {
29
- group: 'paint',
30
- state: 'active',
31
- introduced: '0.6.0',
32
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
33
- }
34
- },
35
- pressed: {
36
- attributes: {
37
- group: 'paint',
38
- state: 'active',
39
- introduced: '0.6.0',
40
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
41
- }
42
- }
43
25
  }
44
26
  }
45
27
  }
@@ -1129,6 +1129,30 @@ var color = {
1129
1129
  description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
1130
1130
  }
1131
1131
  }
1132
+ },
1133
+ interaction: {
1134
+ inverse: {
1135
+ hovered: {
1136
+ attributes: {
1137
+ group: 'paint',
1138
+ state: 'deprecated',
1139
+ introduced: '0.6.0',
1140
+ deprecated: '0.10.8',
1141
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1142
+ replacement: 'color.background.inverse.subtle.hovered'
1143
+ }
1144
+ },
1145
+ pressed: {
1146
+ attributes: {
1147
+ group: 'paint',
1148
+ state: 'deprecated',
1149
+ introduced: '0.6.0',
1150
+ deprecated: '0.10.8 ',
1151
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1152
+ replacement: 'color.background.inverse.subtle.pressed'
1153
+ }
1154
+ }
1155
+ }
1132
1156
  }
1133
1157
  },
1134
1158
  shadow: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.11",
3
+ "version": "0.10.12",
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::51fbaf5510a3fead6a2844d4df866a77>>
15
+ * @codegen <<SignedSource::3b33fd6cb94d4a40b7b5790bebd50f60>>
16
16
  * @codegenCommand yarn build tokens
17
17
  */
18
18
  const renameMapper = [{
@@ -319,6 +319,14 @@ const renameMapper = [{
319
319
  "path": "color.background.transparentNeutral.pressed",
320
320
  "state": "deleted",
321
321
  "replacement": "color.background.neutral.subtle.pressed"
322
+ }, {
323
+ "path": "color.interaction.inverse.hovered",
324
+ "state": "deprecated",
325
+ "replacement": "color.background.inverse.subtle.hovered"
326
+ }, {
327
+ "path": "color.interaction.inverse.pressed",
328
+ "state": "deprecated",
329
+ "replacement": "color.background.inverse.subtle.pressed"
322
330
  }, {
323
331
  "path": "color.accent.boldBlue",
324
332
  "state": "deleted",
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Token names mapped to their value in the default Atlassian theme ('light')
5
5
  *
6
- * @codegen <<SignedSource::65fed9d3a0df2e2c1ccee929e1349bb4>>
6
+ * @codegen <<SignedSource::621a5ab1342cac3bcd8fb719515b731c>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  const defaultTokenValues = {
@@ -251,8 +251,8 @@ const defaultTokenValues = {
251
251
  'color.blanket': '#091E427A',
252
252
  'color.blanket.selected': '#388BFF14',
253
253
  'color.blanket.danger': '#EF5C4814',
254
- 'color.interaction.hovered': '#ffffff33',
255
- 'color.interaction.pressed': '#ffffff5c',
254
+ 'color.interaction.hovered': '#00000029',
255
+ 'color.interaction.pressed': '#00000052',
256
256
  'color.interaction.inverse.hovered': '#00000029',
257
257
  'color.interaction.inverse.pressed': '#00000052',
258
258
  'color.skeleton': '#091E420F',
@@ -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::98101caf910ff8cddc38a424e29e4980>>
3
+ * @codegen <<SignedSource::c45a3bc7ab921b5a279f8b05f859f21b>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  const tokens = [{
@@ -5590,7 +5590,7 @@ const tokens = [{
5590
5590
  "introduced": "0.6.0",
5591
5591
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5592
5592
  },
5593
- "value": "#00000029",
5593
+ "value": "#ffffff33",
5594
5594
  "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5595
5595
  "isSource": true,
5596
5596
  "original": {
@@ -5600,7 +5600,7 @@ const tokens = [{
5600
5600
  "introduced": "0.6.0",
5601
5601
  "description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
5602
5602
  },
5603
- "value": "#00000029"
5603
+ "value": "#ffffff33"
5604
5604
  },
5605
5605
  "name": "color.interaction.hovered",
5606
5606
  "path": ["color", "interaction", "hovered"]
@@ -5611,7 +5611,7 @@ const tokens = [{
5611
5611
  "introduced": "0.6.0",
5612
5612
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5613
5613
  },
5614
- "value": "#00000052",
5614
+ "value": "#ffffff5c",
5615
5615
  "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5616
5616
  "isSource": true,
5617
5617
  "original": {
@@ -5621,26 +5621,30 @@ const tokens = [{
5621
5621
  "introduced": "0.6.0",
5622
5622
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
5623
5623
  },
5624
- "value": "#00000052"
5624
+ "value": "#ffffff5c"
5625
5625
  },
5626
5626
  "name": "color.interaction.pressed",
5627
5627
  "path": ["color", "interaction", "pressed"]
5628
5628
  }, {
5629
5629
  "attributes": {
5630
5630
  "group": "paint",
5631
- "state": "active",
5631
+ "state": "deprecated",
5632
5632
  "introduced": "0.6.0",
5633
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5633
+ "deprecated": "0.10.8",
5634
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5635
+ "replacement": "color.background.inverse.subtle.hovered"
5634
5636
  },
5635
5637
  "value": "#ffffff33",
5636
- "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5638
+ "filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
5637
5639
  "isSource": true,
5638
5640
  "original": {
5639
5641
  "attributes": {
5640
5642
  "group": "paint",
5641
- "state": "active",
5643
+ "state": "deprecated",
5642
5644
  "introduced": "0.6.0",
5643
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5645
+ "deprecated": "0.10.8",
5646
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5647
+ "replacement": "color.background.inverse.subtle.hovered"
5644
5648
  },
5645
5649
  "value": "#ffffff33"
5646
5650
  },
@@ -5649,19 +5653,23 @@ const tokens = [{
5649
5653
  }, {
5650
5654
  "attributes": {
5651
5655
  "group": "paint",
5652
- "state": "active",
5656
+ "state": "deprecated",
5653
5657
  "introduced": "0.6.0",
5654
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5658
+ "deprecated": "0.10.8 ",
5659
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5660
+ "replacement": "color.background.inverse.subtle.pressed"
5655
5661
  },
5656
5662
  "value": "#ffffff5c",
5657
- "filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
5663
+ "filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
5658
5664
  "isSource": true,
5659
5665
  "original": {
5660
5666
  "attributes": {
5661
5667
  "group": "paint",
5662
- "state": "active",
5668
+ "state": "deprecated",
5663
5669
  "introduced": "0.6.0",
5664
- "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards."
5670
+ "deprecated": "0.10.8 ",
5671
+ "description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
5672
+ "replacement": "color.background.inverse.subtle.pressed"
5665
5673
  },
5666
5674
  "value": "#ffffff5c"
5667
5675
  },