@atlaskit/tokens 0.10.9 → 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 (55) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/css/atlassian-dark.css +7 -7
  3. package/css/atlassian-light.css +3 -3
  4. package/dist/cjs/artifacts/palettes-raw.js +5 -5
  5. package/dist/cjs/artifacts/rename-mapping.js +9 -1
  6. package/dist/cjs/artifacts/token-default-values.js +3 -3
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +27 -19
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +23 -15
  9. package/dist/cjs/get-token.js +1 -1
  10. package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
  11. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  12. package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
  13. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  14. package/dist/cjs/tokens/default/color/interaction.js +0 -18
  15. package/dist/cjs/tokens/default/deprecated/deprecated.js +24 -0
  16. package/dist/cjs/tokens/palette.js +3 -3
  17. package/dist/cjs/version.json +1 -1
  18. package/dist/es2019/artifacts/palettes-raw.js +5 -5
  19. package/dist/es2019/artifacts/rename-mapping.js +9 -1
  20. package/dist/es2019/artifacts/token-default-values.js +3 -3
  21. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +27 -19
  22. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +23 -15
  23. package/dist/es2019/get-token.js +1 -1
  24. package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
  25. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  26. package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
  27. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  28. package/dist/es2019/tokens/default/color/interaction.js +0 -18
  29. package/dist/es2019/tokens/default/deprecated/deprecated.js +24 -0
  30. package/dist/es2019/tokens/palette.js +3 -3
  31. package/dist/es2019/version.json +1 -1
  32. package/dist/esm/artifacts/palettes-raw.js +5 -5
  33. package/dist/esm/artifacts/rename-mapping.js +9 -1
  34. package/dist/esm/artifacts/token-default-values.js +3 -3
  35. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +27 -19
  36. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +23 -15
  37. package/dist/esm/get-token.js +1 -1
  38. package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
  39. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  40. package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
  41. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  42. package/dist/esm/tokens/default/color/interaction.js +0 -18
  43. package/dist/esm/tokens/default/deprecated/deprecated.js +24 -0
  44. package/dist/esm/tokens/palette.js +3 -3
  45. package/dist/esm/version.json +1 -1
  46. package/dist/types/artifacts/palettes-raw.d.ts +1 -1
  47. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  48. package/dist/types/artifacts/token-default-values.d.ts +3 -3
  49. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +28 -1
  50. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +28 -1
  51. package/dist/types/artifacts/types-internal.d.ts +2 -2
  52. package/dist/types/artifacts/types.d.ts +2 -2
  53. package/dist/types/types.d.ts +6 -4
  54. package/package.json +3 -1
  55. package/report.api.md +635 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
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
+
12
+ ## 0.10.11
13
+
14
+ ### Patch Changes
15
+
16
+ - [`d9d18df130f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9d18df130f) - [ux] Tweaked the values of the DN500 and DN500A base tokens to improve color contrast when paired with text:
17
+
18
+ - DN500 has changed from `#5C6C7A` to `#596773`
19
+ - DN500A has changed from `#A9C5DF7A` to `#9BB4CA80`
20
+
21
+ This changes the values in dark mode for the following tokens:
22
+
23
+ _(active)_:
24
+
25
+ - `color.text.disabled`
26
+ - `color.icon.disabled`
27
+ - `color.background.accent.gray.subtle`
28
+
29
+ _(deprecated)_:
30
+
31
+ - `color.overlay.pressed`
32
+
33
+ ## 0.10.10
34
+
35
+ ### Patch Changes
36
+
37
+ - [`dc05530d2a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc05530d2a0) - Internal refactor to the way the documentation is built.
38
+
3
39
  ## 0.10.9
4
40
 
5
41
  ### 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::06644f07e43bf7d1a70b1768c2f0d7ea>>
3
+ * @codegen <<SignedSource::6a3276a727e472ff47547f8991960250>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  html[data-theme="dark"] {
@@ -25,7 +25,7 @@ html[data-theme="dark"] {
25
25
  --ds-text: #C7D1DB;
26
26
  --ds-text-subtle: #9FADBC;
27
27
  --ds-text-subtlest: #8696A7;
28
- --ds-text-disabled: #5C6C7A;
28
+ --ds-text-disabled: #596773;
29
29
  --ds-text-inverse: #161A1D;
30
30
  --ds-text-brand: #579DFF;
31
31
  --ds-text-selected: #579DFF;
@@ -54,7 +54,7 @@ html[data-theme="dark"] {
54
54
  --ds-icon: #9FADBC;
55
55
  --ds-icon-subtle: #8696A7;
56
56
  --ds-icon-inverse: #161A1D;
57
- --ds-icon-disabled: #5C6C7A;
57
+ --ds-icon-disabled: #596773;
58
58
  --ds-icon-brand: #579DFF;
59
59
  --ds-icon-selected: #579DFF;
60
60
  --ds-icon-danger: #EF5C48;
@@ -137,7 +137,7 @@ html[data-theme="dark"] {
137
137
  --ds-background-accent-magenta-bold: #AE4787;
138
138
  --ds-background-accent-gray-subtlest: #2C333A;
139
139
  --ds-background-accent-gray-subtler: #454F59;
140
- --ds-background-accent-gray-subtle: #5C6C7A;
140
+ --ds-background-accent-gray-subtle: #596773;
141
141
  --ds-background-accent-gray-bolder: #8696A7;
142
142
  --ds-background-disabled: #A1BDD914;
143
143
  --ds-background-inverse-subtle: #FFFFFF29;
@@ -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;
@@ -275,7 +275,7 @@ html[data-theme="dark"] {
275
275
  --ds-iconBorder-success: #2ABB7F;
276
276
  --ds-iconBorder-warning: #CF9F02;
277
277
  --ds-overlay-hover: #BFDBF847;
278
- --ds-overlay-pressed: #A9C5DF7A;
278
+ --ds-overlay-pressed: #9BB4CA80;
279
279
  --ds-card: 0px 1px 1px #03040480, 0px 0px 1px #03040480;
280
280
  --ds-overlay: inset 0px 0px 0px 1px #BCD6F00A, 0px 8px 12px #0304045C, 0px 0px 1px #03040480;
281
281
  --ds-shadow-raised: 0px 1px 1px #03040480, 0px 0px 1px #03040480;
@@ -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;
@@ -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::d96054f56fadd3c595206b9334ccc5e6>>
10
+ * @codegen <<SignedSource::4d0639c90d18380e142efed6da97a9b0>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
@@ -1558,7 +1558,7 @@ var tokens = [{
1558
1558
  "name": "color.palette.DN400A",
1559
1559
  "path": ["color", "palette", "DN400A"]
1560
1560
  }, {
1561
- "value": "#5C6C7A",
1561
+ "value": "#596773",
1562
1562
  "attributes": {
1563
1563
  "group": "palette",
1564
1564
  "category": "dark mode neutral"
@@ -1566,7 +1566,7 @@ var tokens = [{
1566
1566
  "filePath": "src/tokens/palette.tsx",
1567
1567
  "isSource": false,
1568
1568
  "original": {
1569
- "value": "#5C6C7A",
1569
+ "value": "#596773",
1570
1570
  "attributes": {
1571
1571
  "group": "palette",
1572
1572
  "category": "dark mode neutral"
@@ -1575,7 +1575,7 @@ var tokens = [{
1575
1575
  "name": "color.palette.DN500",
1576
1576
  "path": ["color", "palette", "DN500"]
1577
1577
  }, {
1578
- "value": "#A9C5DF7A",
1578
+ "value": "#9BB4CA80",
1579
1579
  "attributes": {
1580
1580
  "group": "palette",
1581
1581
  "category": "dark mode neutral"
@@ -1583,7 +1583,7 @@ var tokens = [{
1583
1583
  "filePath": "src/tokens/palette.tsx",
1584
1584
  "isSource": false,
1585
1585
  "original": {
1586
- "value": "#A9C5DF7A",
1586
+ "value": "#9BB4CA80",
1587
1587
  "attributes": {
1588
1588
  "group": "palette",
1589
1589
  "category": "dark mode neutral"
@@ -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::f6554dd5fa7c18bf2250697f2e567297>>
10
+ * @codegen <<SignedSource::c45a3bc7ab921b5a279f8b05f859f21b>>
11
11
  * @codegenCommand yarn build tokens
12
12
  */
13
13
  var tokens = [{
@@ -458,7 +458,7 @@ var tokens = [{
458
458
  "introduced": "0.0.15",
459
459
  "description": "Use for text in a disabled state."
460
460
  },
461
- "value": "#5C6C7A",
461
+ "value": "#596773",
462
462
  "filePath": "src/tokens/atlassian-dark/color/text.tsx",
463
463
  "isSource": true,
464
464
  "original": {
@@ -1109,7 +1109,7 @@ var tokens = [{
1109
1109
  "introduced": "0.6.0",
1110
1110
  "description": "Use for icons in a disabled state."
1111
1111
  },
1112
- "value": "#5C6C7A",
1112
+ "value": "#596773",
1113
1113
  "filePath": "src/tokens/atlassian-dark/color/icon.tsx",
1114
1114
  "isSource": true,
1115
1115
  "original": {
@@ -2960,7 +2960,7 @@ var tokens = [{
2960
2960
  "introduced": "0.7.0",
2961
2961
  "description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
2962
2962
  },
2963
- "value": "#5C6C7A",
2963
+ "value": "#596773",
2964
2964
  "filePath": "src/tokens/atlassian-dark/color/accent.tsx",
2965
2965
  "isSource": true,
2966
2966
  "original": {
@@ -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
  },
@@ -6281,7 +6289,7 @@ var tokens = [{
6281
6289
  "replacement": "color.interaction.pressed",
6282
6290
  "description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
6283
6291
  },
6284
- "value": "#A9C5DF7A",
6292
+ "value": "#9BB4CA80",
6285
6293
  "filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
6286
6294
  "isSource": true,
6287
6295
  "original": {
@@ -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.9";
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: {
@@ -650,15 +650,15 @@ var palette = {
650
650
  }
651
651
  },
652
652
  DN500: {
653
- value: '#5C6C7A',
653
+ value: '#596773',
654
654
  attributes: {
655
655
  group: 'palette',
656
656
  category: 'dark mode neutral'
657
657
  }
658
658
  },
659
659
  DN500A: {
660
- // #A9C5DF 48%
661
- value: '#A9C5DF7A',
660
+ // #9BB4CA @50%
661
+ value: '#9BB4CA80',
662
662
  attributes: {
663
663
  group: 'palette',
664
664
  category: 'dark mode neutral'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.9",
3
+ "version": "0.10.12",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]