@atlaskit/tokens 0.10.10 → 0.10.13

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 (73) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/css/atlassian-dark.css +8 -8
  3. package/css/atlassian-light.css +6 -6
  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 +6 -6
  7. package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +31 -23
  8. package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +29 -21
  9. package/dist/cjs/get-token.js +1 -1
  10. package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -1
  11. package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -1
  12. package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
  13. package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -1
  14. package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  15. package/dist/cjs/tokens/atlassian-light/color/background.js +1 -1
  16. package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -1
  17. package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
  18. package/dist/cjs/tokens/atlassian-light/color/text.js +1 -1
  19. package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  20. package/dist/cjs/tokens/default/color/interaction.js +0 -18
  21. package/dist/cjs/tokens/default/deprecated/deprecated.js +24 -0
  22. package/dist/cjs/tokens/palette.js +3 -3
  23. package/dist/cjs/version.json +1 -1
  24. package/dist/es2019/artifacts/palettes-raw.js +5 -5
  25. package/dist/es2019/artifacts/rename-mapping.js +9 -1
  26. package/dist/es2019/artifacts/token-default-values.js +6 -6
  27. package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +31 -23
  28. package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +29 -21
  29. package/dist/es2019/get-token.js +1 -1
  30. package/dist/es2019/tokens/atlassian-dark/color/background.js +1 -1
  31. package/dist/es2019/tokens/atlassian-dark/color/icon.js +1 -1
  32. package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
  33. package/dist/es2019/tokens/atlassian-dark/color/text.js +1 -1
  34. package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  35. package/dist/es2019/tokens/atlassian-light/color/background.js +1 -1
  36. package/dist/es2019/tokens/atlassian-light/color/icon.js +1 -1
  37. package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
  38. package/dist/es2019/tokens/atlassian-light/color/text.js +1 -1
  39. package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  40. package/dist/es2019/tokens/default/color/interaction.js +0 -18
  41. package/dist/es2019/tokens/default/deprecated/deprecated.js +24 -0
  42. package/dist/es2019/tokens/palette.js +3 -3
  43. package/dist/es2019/version.json +1 -1
  44. package/dist/esm/artifacts/palettes-raw.js +5 -5
  45. package/dist/esm/artifacts/rename-mapping.js +9 -1
  46. package/dist/esm/artifacts/token-default-values.js +6 -6
  47. package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +31 -23
  48. package/dist/esm/artifacts/tokens-raw/atlassian-light.js +29 -21
  49. package/dist/esm/get-token.js +1 -1
  50. package/dist/esm/tokens/atlassian-dark/color/background.js +1 -1
  51. package/dist/esm/tokens/atlassian-dark/color/icon.js +1 -1
  52. package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
  53. package/dist/esm/tokens/atlassian-dark/color/text.js +1 -1
  54. package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
  55. package/dist/esm/tokens/atlassian-light/color/background.js +1 -1
  56. package/dist/esm/tokens/atlassian-light/color/icon.js +1 -1
  57. package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
  58. package/dist/esm/tokens/atlassian-light/color/text.js +1 -1
  59. package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +12 -0
  60. package/dist/esm/tokens/default/color/interaction.js +0 -18
  61. package/dist/esm/tokens/default/deprecated/deprecated.js +24 -0
  62. package/dist/esm/tokens/palette.js +3 -3
  63. package/dist/esm/version.json +1 -1
  64. package/dist/types/artifacts/palettes-raw.d.ts +1 -1
  65. package/dist/types/artifacts/rename-mapping.d.ts +1 -1
  66. package/dist/types/artifacts/token-default-values.d.ts +6 -6
  67. package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +28 -1
  68. package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +28 -1
  69. package/dist/types/artifacts/types-internal.d.ts +2 -2
  70. package/dist/types/artifacts/types.d.ts +2 -2
  71. package/dist/types/types.d.ts +6 -4
  72. package/package.json +3 -1
  73. package/report.api.md +619 -20
@@ -15,7 +15,7 @@ var color = {
15
15
  },
16
16
  background: {
17
17
  disabled: {
18
- value: 'DN200A'
18
+ value: 'DN100A'
19
19
  },
20
20
  inverse: {
21
21
  subtle: {
@@ -11,7 +11,7 @@ var color = {
11
11
  value: 'DN0'
12
12
  },
13
13
  disabled: {
14
- value: 'DN500'
14
+ value: 'DN400A'
15
15
  },
16
16
  brand: {
17
17
  value: 'B400'
@@ -3,21 +3,11 @@ var color = {
3
3
  interaction: {
4
4
  hovered: {
5
5
  // @ts-ignore temporary values
6
- value: '#00000029'
6
+ value: '#ffffff33'
7
7
  },
8
8
  pressed: {
9
9
  // @ts-ignore temporary values
10
- value: '#00000052'
11
- },
12
- inverse: {
13
- hovered: {
14
- // @ts-ignore temporary values
15
- value: '#ffffff33'
16
- },
17
- pressed: {
18
- // @ts-ignore temporary values
19
- value: '#ffffff5c'
20
- }
10
+ value: '#ffffff5c'
21
11
  }
22
12
  }
23
13
  }
@@ -14,7 +14,7 @@ var color = {
14
14
  value: 'DN0'
15
15
  },
16
16
  disabled: {
17
- value: 'DN500'
17
+ value: 'DN400A'
18
18
  },
19
19
  brand: {
20
20
  value: 'B400'
@@ -356,6 +356,18 @@ var color = {
356
356
  pressed: {
357
357
  value: 'DN500A'
358
358
  }
359
+ },
360
+ interaction: {
361
+ inverse: {
362
+ hovered: {
363
+ // @ts-ignore temporary values
364
+ value: '#ffffff33'
365
+ },
366
+ pressed: {
367
+ // @ts-ignore temporary values
368
+ value: '#ffffff5c'
369
+ }
370
+ }
359
371
  }
360
372
  },
361
373
  shadow: {
@@ -15,7 +15,7 @@ var color = {
15
15
  },
16
16
  background: {
17
17
  disabled: {
18
- value: 'N200A'
18
+ value: 'N100A'
19
19
  },
20
20
  inverse: {
21
21
  subtle: {
@@ -11,7 +11,7 @@ var color = {
11
11
  value: 'N0'
12
12
  },
13
13
  disabled: {
14
- value: 'N500'
14
+ value: 'N400A'
15
15
  },
16
16
  brand: {
17
17
  value: 'B700'
@@ -3,21 +3,11 @@ var color = {
3
3
  interaction: {
4
4
  hovered: {
5
5
  // @ts-ignore temporary values
6
- value: '#ffffff33'
6
+ value: '#00000029'
7
7
  },
8
8
  pressed: {
9
9
  // @ts-ignore temporary values
10
- value: '#ffffff5c'
11
- },
12
- inverse: {
13
- hovered: {
14
- // @ts-ignore temporary values
15
- value: '#00000029'
16
- },
17
- pressed: {
18
- // @ts-ignore temporary values
19
- value: '#00000052'
20
- }
10
+ value: '#00000052'
21
11
  }
22
12
  }
23
13
  }
@@ -14,7 +14,7 @@ var color = {
14
14
  value: 'N0'
15
15
  },
16
16
  disabled: {
17
- value: 'N500'
17
+ value: 'N400A'
18
18
  },
19
19
  brand: {
20
20
  value: 'B700'
@@ -356,6 +356,18 @@ var color = {
356
356
  pressed: {
357
357
  value: 'N500A'
358
358
  }
359
+ },
360
+ interaction: {
361
+ inverse: {
362
+ hovered: {
363
+ // @ts-ignore temporary values
364
+ value: '#00000029'
365
+ },
366
+ pressed: {
367
+ // @ts-ignore temporary values
368
+ value: '#00000052'
369
+ }
370
+ }
359
371
  }
360
372
  },
361
373
  shadow: {
@@ -16,24 +16,6 @@ var color = {
16
16
  introduced: '0.6.0',
17
17
  description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
18
18
  }
19
- },
20
- inverse: {
21
- hovered: {
22
- attributes: {
23
- group: 'paint',
24
- state: 'active',
25
- introduced: '0.6.0',
26
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
27
- }
28
- },
29
- pressed: {
30
- attributes: {
31
- group: 'paint',
32
- state: 'active',
33
- introduced: '0.6.0',
34
- description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.'
35
- }
36
- }
37
19
  }
38
20
  }
39
21
  }
@@ -1123,6 +1123,30 @@ var color = {
1123
1123
  description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
1124
1124
  }
1125
1125
  }
1126
+ },
1127
+ interaction: {
1128
+ inverse: {
1129
+ hovered: {
1130
+ attributes: {
1131
+ group: 'paint',
1132
+ state: 'deprecated',
1133
+ introduced: '0.6.0',
1134
+ deprecated: '0.10.8',
1135
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1136
+ replacement: 'color.background.inverse.subtle.hovered'
1137
+ }
1138
+ },
1139
+ pressed: {
1140
+ attributes: {
1141
+ group: 'paint',
1142
+ state: 'deprecated',
1143
+ introduced: '0.6.0',
1144
+ deprecated: '0.10.8 ',
1145
+ description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
1146
+ replacement: 'color.background.inverse.subtle.pressed'
1147
+ }
1148
+ }
1149
+ }
1126
1150
  }
1127
1151
  },
1128
1152
  shadow: {
@@ -644,15 +644,15 @@ var palette = {
644
644
  }
645
645
  },
646
646
  DN500: {
647
- value: '#5C6C7A',
647
+ value: '#596773',
648
648
  attributes: {
649
649
  group: 'palette',
650
650
  category: 'dark mode neutral'
651
651
  }
652
652
  },
653
653
  DN500A: {
654
- // #A9C5DF 48%
655
- value: '#A9C5DF7A',
654
+ // #9BB4CA @50%
655
+ value: '#9BB4CA80',
656
656
  attributes: {
657
657
  group: 'palette',
658
658
  category: 'dark mode neutral'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.10",
3
+ "version": "0.10.13",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]
@@ -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::d96054f56fadd3c595206b9334ccc5e6>>
3
+ * @codegen <<SignedSource::4d0639c90d18380e142efed6da97a9b0>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: {
@@ -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
  import tokens from './token-names';
@@ -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::bf85c12f621d58ae427a6fd99c62fd24>>
7
7
  * @codegenCommand yarn build tokens
8
8
  */
9
9
  declare const defaultTokenValues: {
@@ -28,7 +28,7 @@ declare const defaultTokenValues: {
28
28
  readonly 'color.text': "#172B4D";
29
29
  readonly 'color.text.subtle': "#44546F";
30
30
  readonly 'color.text.subtlest': "#626F86";
31
- readonly 'color.text.disabled': "#8993A5";
31
+ readonly 'color.text.disabled': "#091E424F";
32
32
  readonly 'color.text.inverse': "#FFFFFF";
33
33
  readonly 'color.text.brand': "#0C66E4";
34
34
  readonly 'color.text.selected': "#0C66E4";
@@ -57,7 +57,7 @@ declare const defaultTokenValues: {
57
57
  readonly 'color.icon': "#44546F";
58
58
  readonly 'color.icon.subtle': "#626F86";
59
59
  readonly 'color.icon.inverse': "#FFFFFF";
60
- readonly 'color.icon.disabled': "#8993A5";
60
+ readonly 'color.icon.disabled': "#091E424F";
61
61
  readonly 'color.icon.brand': "#0C66E4";
62
62
  readonly 'color.icon.selected': "#0C66E4";
63
63
  readonly 'color.icon.danger': "#E34935";
@@ -142,7 +142,7 @@ declare const defaultTokenValues: {
142
142
  readonly 'color.background.accent.gray.subtler': "#DCDFE4";
143
143
  readonly 'color.background.accent.gray.subtle': "#8993A5";
144
144
  readonly 'color.background.accent.gray.bolder': "#626F86";
145
- readonly 'color.background.disabled': "#091E420F";
145
+ readonly 'color.background.disabled': "#091E4208";
146
146
  readonly 'color.background.inverse.subtle': "#00000029";
147
147
  readonly 'color.background.inverse.subtle.hovered': "#0000003D";
148
148
  readonly 'color.background.inverse.subtle.pressed': "#00000052";
@@ -251,8 +251,8 @@ declare const defaultTokenValues: {
251
251
  readonly 'color.blanket': "#091E427A";
252
252
  readonly 'color.blanket.selected': "#388BFF14";
253
253
  readonly 'color.blanket.danger': "#EF5C4814";
254
- readonly 'color.interaction.hovered': "#ffffff33";
255
- readonly 'color.interaction.pressed': "#ffffff5c";
254
+ readonly 'color.interaction.hovered': "#00000029";
255
+ readonly 'color.interaction.pressed': "#00000052";
256
256
  readonly 'color.interaction.inverse.hovered': "#00000029";
257
257
  readonly 'color.interaction.inverse.pressed': "#00000052";
258
258
  readonly '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::f6554dd5fa7c18bf2250697f2e567297>>
3
+ * @codegen <<SignedSource::2d1a0dfbc05adf2fcb798f5a600f0b29>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,6 +57,33 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
+ } | {
61
+ attributes: {
62
+ group: string;
63
+ state: string;
64
+ introduced: string;
65
+ deprecated: string;
66
+ description: string;
67
+ replacement: string;
68
+ deleted?: undefined;
69
+ };
70
+ value: string;
71
+ filePath: string;
72
+ isSource: boolean;
73
+ original: {
74
+ attributes: {
75
+ group: string;
76
+ state: string;
77
+ introduced: string;
78
+ deprecated: string;
79
+ description: string;
80
+ replacement: string;
81
+ deleted?: undefined;
82
+ };
83
+ value: string;
84
+ };
85
+ name: string;
86
+ path: string[];
60
87
  } | {
61
88
  attributes: {
62
89
  group: string;
@@ -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::27eae6ae1ffaceb474ba5af373b377f1>>
3
+ * @codegen <<SignedSource::fc44c853b0acd381a2c5fd8f63ae1bf6>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
6
  declare const tokens: ({
@@ -57,6 +57,33 @@ declare const tokens: ({
57
57
  };
58
58
  name: string;
59
59
  path: string[];
60
+ } | {
61
+ attributes: {
62
+ group: string;
63
+ state: string;
64
+ introduced: string;
65
+ deprecated: string;
66
+ description: string;
67
+ replacement: string;
68
+ deleted?: undefined;
69
+ };
70
+ value: string;
71
+ filePath: string;
72
+ isSource: boolean;
73
+ original: {
74
+ attributes: {
75
+ group: string;
76
+ state: string;
77
+ introduced: string;
78
+ deprecated: string;
79
+ description: string;
80
+ replacement: string;
81
+ deleted?: undefined;
82
+ };
83
+ value: string;
84
+ };
85
+ name: string;
86
+ path: string[];
60
87
  } | {
61
88
  attributes: {
62
89
  group: string;
@@ -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::dbbb6d07f548d897a8888f293192334a>>
3
+ * @codegen <<SignedSource::dddf9f2b3a6c01aa7d8aeeea1af496fb>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- export declare type InternalTokenIds = 'color.text.accent.blue.[default]' | 'color.text.accent.blue.bolder' | 'color.text.accent.red.[default]' | 'color.text.accent.red.bolder' | 'color.text.accent.orange.[default]' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow.[default]' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green.[default]' | 'color.text.accent.green.bolder' | 'color.text.accent.purple.[default]' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal.[default]' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta.[default]' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray.[default]' | 'color.text.accent.gray.bolder' | 'color.text.[default]' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning.[default]' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon.[default]' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning.[default]' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border.[default]' | 'color.border.bold' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle.[default]' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input.[default]' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral.[default].[default]' | 'color.background.neutral.[default].hovered' | 'color.background.neutral.[default].pressed' | 'color.background.neutral.subtle.[default]' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold.[default]' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold.[default]' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected.[default].[default]' | 'color.background.selected.[default].hovered' | 'color.background.selected.[default].pressed' | 'color.background.selected.bold.[default]' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger.[default].[default]' | 'color.background.danger.[default].hovered' | 'color.background.danger.[default].pressed' | 'color.background.danger.bold.[default]' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning.[default].[default]' | 'color.background.warning.[default].hovered' | 'color.background.warning.[default].pressed' | 'color.background.warning.bold.[default]' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success.[default].[default]' | 'color.background.success.[default].hovered' | 'color.background.success.[default].pressed' | 'color.background.success.bold.[default]' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery.[default].[default]' | 'color.background.discovery.[default].hovered' | 'color.background.discovery.[default].pressed' | 'color.background.discovery.bold.[default]' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information.[default].[default]' | 'color.background.information.[default].hovered' | 'color.background.information.[default].pressed' | 'color.background.information.bold.[default]' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket.[default]' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton.[default]' | 'color.skeleton.subtle' | 'color.link.[default]' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface.[default]' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
6
+ export declare type InternalTokenIds = 'color.text.accent.blue.[default]' | 'color.text.accent.blue.bolder' | 'color.text.accent.red.[default]' | 'color.text.accent.red.bolder' | 'color.text.accent.orange.[default]' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow.[default]' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green.[default]' | 'color.text.accent.green.bolder' | 'color.text.accent.purple.[default]' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal.[default]' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta.[default]' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray.[default]' | 'color.text.accent.gray.bolder' | 'color.text.[default]' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning.[default]' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon.[default]' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning.[default]' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border.[default]' | 'color.border.bold' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle.[default]' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input.[default]' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral.[default].[default]' | 'color.background.neutral.[default].hovered' | 'color.background.neutral.[default].pressed' | 'color.background.neutral.subtle.[default]' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold.[default]' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold.[default]' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected.[default].[default]' | 'color.background.selected.[default].hovered' | 'color.background.selected.[default].pressed' | 'color.background.selected.bold.[default]' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger.[default].[default]' | 'color.background.danger.[default].hovered' | 'color.background.danger.[default].pressed' | 'color.background.danger.bold.[default]' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning.[default].[default]' | 'color.background.warning.[default].hovered' | 'color.background.warning.[default].pressed' | 'color.background.warning.bold.[default]' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success.[default].[default]' | 'color.background.success.[default].hovered' | 'color.background.success.[default].pressed' | 'color.background.success.bold.[default]' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery.[default].[default]' | 'color.background.discovery.[default].hovered' | 'color.background.discovery.[default].pressed' | 'color.background.discovery.bold.[default]' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information.[default].[default]' | 'color.background.information.[default].hovered' | 'color.background.information.[default].pressed' | 'color.background.information.bold.[default]' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket.[default]' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.skeleton.[default]' | 'color.skeleton.subtle' | 'color.link.[default]' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface.[default]' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
@@ -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::0f25880322c40827d3c14a229de859fb>>
3
+ * @codegen <<SignedSource::5a3e74951e90910dba7b9cb858261d83>>
4
4
  * @codegenCommand yarn build tokens
5
5
  */
6
- export declare type ActiveTokens = 'color.text.accent.blue' | 'color.text.accent.blue.bolder' | 'color.text.accent.red' | 'color.text.accent.red.bolder' | 'color.text.accent.orange' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green' | 'color.text.accent.green.bolder' | 'color.text.accent.purple' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray' | 'color.text.accent.gray.bolder' | 'color.text' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border' | 'color.border.bold' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.interaction.inverse.hovered' | 'color.interaction.inverse.pressed' | 'color.skeleton' | 'color.skeleton.subtle' | 'color.link' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
6
+ export declare type ActiveTokens = 'color.text.accent.blue' | 'color.text.accent.blue.bolder' | 'color.text.accent.red' | 'color.text.accent.red.bolder' | 'color.text.accent.orange' | 'color.text.accent.orange.bolder' | 'color.text.accent.yellow' | 'color.text.accent.yellow.bolder' | 'color.text.accent.green' | 'color.text.accent.green.bolder' | 'color.text.accent.purple' | 'color.text.accent.purple.bolder' | 'color.text.accent.teal' | 'color.text.accent.teal.bolder' | 'color.text.accent.magenta' | 'color.text.accent.magenta.bolder' | 'color.text.accent.gray' | 'color.text.accent.gray.bolder' | 'color.text' | 'color.text.subtle' | 'color.text.subtlest' | 'color.text.disabled' | 'color.text.inverse' | 'color.text.brand' | 'color.text.selected' | 'color.text.danger' | 'color.text.warning' | 'color.text.warning.inverse' | 'color.text.success' | 'color.text.discovery' | 'color.text.information' | 'color.icon.accent.blue' | 'color.icon.accent.red' | 'color.icon.accent.orange' | 'color.icon.accent.yellow' | 'color.icon.accent.green' | 'color.icon.accent.purple' | 'color.icon.accent.teal' | 'color.icon.accent.magenta' | 'color.icon.accent.gray' | 'color.icon' | 'color.icon.subtle' | 'color.icon.inverse' | 'color.icon.disabled' | 'color.icon.brand' | 'color.icon.selected' | 'color.icon.danger' | 'color.icon.warning' | 'color.icon.warning.inverse' | 'color.icon.success' | 'color.icon.discovery' | 'color.icon.information' | 'color.border.accent.blue' | 'color.border.accent.red' | 'color.border.accent.orange' | 'color.border.accent.yellow' | 'color.border.accent.green' | 'color.border.accent.purple' | 'color.border.accent.teal' | 'color.border.accent.magenta' | 'color.border.accent.gray' | 'color.border' | 'color.border.bold' | 'color.border.inverse' | 'color.border.focused' | 'color.border.input' | 'color.border.disabled' | 'color.border.brand' | 'color.border.selected' | 'color.border.danger' | 'color.border.warning' | 'color.border.success' | 'color.border.discovery' | 'color.border.information' | 'color.background.accent.blue.subtlest' | 'color.background.accent.blue.subtler' | 'color.background.accent.blue.subtle' | 'color.background.accent.blue.bolder' | 'color.background.accent.red.subtlest' | 'color.background.accent.red.subtler' | 'color.background.accent.red.subtle' | 'color.background.accent.red.bolder' | 'color.background.accent.orange.subtlest' | 'color.background.accent.orange.subtler' | 'color.background.accent.orange.subtle' | 'color.background.accent.orange.bolder' | 'color.background.accent.yellow.subtlest' | 'color.background.accent.yellow.subtler' | 'color.background.accent.yellow.subtle' | 'color.background.accent.yellow.bolder' | 'color.background.accent.green.subtlest' | 'color.background.accent.green.subtler' | 'color.background.accent.green.subtle' | 'color.background.accent.green.bolder' | 'color.background.accent.teal.subtlest' | 'color.background.accent.teal.subtler' | 'color.background.accent.teal.subtle' | 'color.background.accent.teal.bolder' | 'color.background.accent.purple.subtlest' | 'color.background.accent.purple.subtler' | 'color.background.accent.purple.subtle' | 'color.background.accent.purple.bolder' | 'color.background.accent.magenta.subtlest' | 'color.background.accent.magenta.subtler' | 'color.background.accent.magenta.subtle' | 'color.background.accent.magenta.bolder' | 'color.background.accent.gray.subtlest' | 'color.background.accent.gray.subtler' | 'color.background.accent.gray.subtle' | 'color.background.accent.gray.bolder' | 'color.background.disabled' | 'color.background.inverse.subtle' | 'color.background.inverse.subtle.hovered' | 'color.background.inverse.subtle.pressed' | 'color.background.input' | 'color.background.input.hovered' | 'color.background.input.pressed' | 'color.background.neutral' | 'color.background.neutral.hovered' | 'color.background.neutral.pressed' | 'color.background.neutral.subtle' | 'color.background.neutral.subtle.hovered' | 'color.background.neutral.subtle.pressed' | 'color.background.neutral.bold' | 'color.background.neutral.bold.hovered' | 'color.background.neutral.bold.pressed' | 'color.background.brand.bold' | 'color.background.brand.bold.hovered' | 'color.background.brand.bold.pressed' | 'color.background.selected' | 'color.background.selected.hovered' | 'color.background.selected.pressed' | 'color.background.selected.bold' | 'color.background.selected.bold.hovered' | 'color.background.selected.bold.pressed' | 'color.background.danger' | 'color.background.danger.hovered' | 'color.background.danger.pressed' | 'color.background.danger.bold' | 'color.background.danger.bold.hovered' | 'color.background.danger.bold.pressed' | 'color.background.warning' | 'color.background.warning.hovered' | 'color.background.warning.pressed' | 'color.background.warning.bold' | 'color.background.warning.bold.hovered' | 'color.background.warning.bold.pressed' | 'color.background.success' | 'color.background.success.hovered' | 'color.background.success.pressed' | 'color.background.success.bold' | 'color.background.success.bold.hovered' | 'color.background.success.bold.pressed' | 'color.background.discovery' | 'color.background.discovery.hovered' | 'color.background.discovery.pressed' | 'color.background.discovery.bold' | 'color.background.discovery.bold.hovered' | 'color.background.discovery.bold.pressed' | 'color.background.information' | 'color.background.information.hovered' | 'color.background.information.pressed' | 'color.background.information.bold' | 'color.background.information.bold.hovered' | 'color.background.information.bold.pressed' | 'color.blanket' | 'color.blanket.selected' | 'color.blanket.danger' | 'color.interaction.hovered' | 'color.interaction.pressed' | 'color.skeleton' | 'color.skeleton.subtle' | 'color.link' | 'color.link.pressed' | 'elevation.shadow.raised' | 'elevation.shadow.overflow' | 'elevation.shadow.overlay' | 'elevation.surface' | 'elevation.surface.sunken' | 'elevation.surface.raised' | 'elevation.surface.overlay' | 'utility.UNSAFE_util.transparent' | 'utility.UNSAFE_util.MISSING_TOKEN';
@@ -521,10 +521,6 @@ export interface InteractionColorTokenSchema {
521
521
  interaction: {
522
522
  pressed: PaintToken;
523
523
  hovered: PaintToken;
524
- inverse: {
525
- pressed: PaintToken;
526
- hovered: PaintToken;
527
- };
528
524
  };
529
525
  };
530
526
  }
@@ -727,6 +723,12 @@ export interface DeprecatedTokenSchema {
727
723
  pressed: PaintToken;
728
724
  hover: PaintToken;
729
725
  };
726
+ interaction: {
727
+ inverse: {
728
+ hovered: PaintToken;
729
+ pressed: PaintToken;
730
+ };
731
+ };
730
732
  };
731
733
  shadow: {
732
734
  card: ShadowToken;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "0.10.10",
3
+ "version": "0.10.13",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "description": "Design tokens are the single source of truth to name and store design decisions.",
6
6
  "license": "Apache-2.0",
@@ -53,12 +53,14 @@
53
53
  "devDependencies": {
54
54
  "@af/accessibility-testing": "*",
55
55
  "@af/codegen": "*",
56
+ "@atlaskit/avatar": "^21.0.0",
56
57
  "@atlaskit/badge": "^15.0.11",
57
58
  "@atlaskit/button": "^16.3.0",
58
59
  "@atlaskit/checkbox": "^12.3.9",
59
60
  "@atlaskit/code": "^14.3.0",
60
61
  "@atlaskit/docs": "^9.0.10",
61
62
  "@atlaskit/dropdown-menu": "^11.2.0",
63
+ "@atlaskit/dynamic-table": "^14.6.0",
62
64
  "@atlaskit/empty-state": "^7.3.9",
63
65
  "@atlaskit/focus-ring": "^1.0.0",
64
66
  "@atlaskit/heading": "^0.1.8",