@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.
- package/CHANGELOG.md +9 -0
- package/css/atlassian-dark.css +3 -3
- package/css/atlassian-light.css +3 -3
- package/dist/cjs/artifacts/rename-mapping.js +9 -1
- package/dist/cjs/artifacts/token-default-values.js +3 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +23 -15
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +23 -15
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +12 -0
- package/dist/cjs/tokens/default/color/interaction.js +0 -18
- package/dist/cjs/tokens/default/deprecated/deprecated.js +24 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +9 -1
- package/dist/es2019/artifacts/token-default-values.js +3 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +23 -15
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +23 -15
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +12 -0
- package/dist/es2019/tokens/default/color/interaction.js +0 -18
- package/dist/es2019/tokens/default/deprecated/deprecated.js +24 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +9 -1
- package/dist/esm/artifacts/token-default-values.js +3 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +23 -15
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +23 -15
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +12 -0
- package/dist/esm/tokens/default/color/interaction.js +0 -18
- package/dist/esm/tokens/default/deprecated/deprecated.js +24 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +3 -3
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +28 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +28 -1
- package/dist/types/artifacts/types-internal.d.ts +2 -2
- package/dist/types/artifacts/types.d.ts +2 -2
- package/dist/types/types.d.ts +6 -4
- package/package.json +3 -1
- package/report.api.md +619 -20
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::3624adf3c629ed50172b90c1d2268662>>
|
|
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": "#
|
|
5593
|
+
"value": "#00000029",
|
|
5594
5594
|
"filePath": "src/tokens/atlassian-light/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": "#
|
|
5603
|
+
"value": "#00000029"
|
|
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": "#
|
|
5614
|
+
"value": "#00000052",
|
|
5615
5615
|
"filePath": "src/tokens/atlassian-light/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": "#
|
|
5624
|
+
"value": "#00000052"
|
|
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": "
|
|
5631
|
+
"state": "deprecated",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
|
-
"
|
|
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": "#00000029",
|
|
5636
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5638
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5637
5639
|
"isSource": true,
|
|
5638
5640
|
"original": {
|
|
5639
5641
|
"attributes": {
|
|
5640
5642
|
"group": "paint",
|
|
5641
|
-
"state": "
|
|
5643
|
+
"state": "deprecated",
|
|
5642
5644
|
"introduced": "0.6.0",
|
|
5643
|
-
"
|
|
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": "#00000029"
|
|
5646
5650
|
},
|
|
@@ -5649,19 +5653,23 @@ const tokens = [{
|
|
|
5649
5653
|
}, {
|
|
5650
5654
|
"attributes": {
|
|
5651
5655
|
"group": "paint",
|
|
5652
|
-
"state": "
|
|
5656
|
+
"state": "deprecated",
|
|
5653
5657
|
"introduced": "0.6.0",
|
|
5654
|
-
"
|
|
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": "#00000052",
|
|
5657
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5663
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5658
5664
|
"isSource": true,
|
|
5659
5665
|
"original": {
|
|
5660
5666
|
"attributes": {
|
|
5661
5667
|
"group": "paint",
|
|
5662
|
-
"state": "
|
|
5668
|
+
"state": "deprecated",
|
|
5663
5669
|
"introduced": "0.6.0",
|
|
5664
|
-
"
|
|
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": "#00000052"
|
|
5667
5675
|
},
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
const name = "@atlaskit/tokens";
|
|
5
|
-
const version = "0.10.
|
|
5
|
+
const version = "0.10.12";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
let token = tokens[path];
|
|
@@ -3,21 +3,11 @@ const color = {
|
|
|
3
3
|
interaction: {
|
|
4
4
|
hovered: {
|
|
5
5
|
// @ts-ignore temporary values
|
|
6
|
-
value: '#
|
|
6
|
+
value: '#ffffff33'
|
|
7
7
|
},
|
|
8
8
|
pressed: {
|
|
9
9
|
// @ts-ignore temporary values
|
|
10
|
-
value: '#
|
|
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
|
}
|
|
@@ -356,6 +356,18 @@ const 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: {
|
|
@@ -3,21 +3,11 @@ const color = {
|
|
|
3
3
|
interaction: {
|
|
4
4
|
hovered: {
|
|
5
5
|
// @ts-ignore temporary values
|
|
6
|
-
value: '#
|
|
6
|
+
value: '#00000029'
|
|
7
7
|
},
|
|
8
8
|
pressed: {
|
|
9
9
|
// @ts-ignore temporary values
|
|
10
|
-
value: '#
|
|
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
|
}
|
|
@@ -356,6 +356,18 @@ const 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 @@ const 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
|
}
|
|
@@ -1153,6 +1153,30 @@ Also use for yellow icons or borders when there is no meaning tied to the color,
|
|
|
1153
1153
|
description: 'Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars.'
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
1156
|
+
},
|
|
1157
|
+
interaction: {
|
|
1158
|
+
inverse: {
|
|
1159
|
+
hovered: {
|
|
1160
|
+
attributes: {
|
|
1161
|
+
group: 'paint',
|
|
1162
|
+
state: 'deprecated',
|
|
1163
|
+
introduced: '0.6.0',
|
|
1164
|
+
deprecated: '0.10.8',
|
|
1165
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1166
|
+
replacement: 'color.background.inverse.subtle.hovered'
|
|
1167
|
+
}
|
|
1168
|
+
},
|
|
1169
|
+
pressed: {
|
|
1170
|
+
attributes: {
|
|
1171
|
+
group: 'paint',
|
|
1172
|
+
state: 'deprecated',
|
|
1173
|
+
introduced: '0.6.0',
|
|
1174
|
+
deprecated: '0.10.8 ',
|
|
1175
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1176
|
+
replacement: 'color.background.inverse.subtle.pressed'
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1156
1180
|
}
|
|
1157
1181
|
},
|
|
1158
1182
|
shadow: {
|
package/dist/es2019/version.json
CHANGED
|
@@ -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::
|
|
15
|
+
* @codegen <<SignedSource::3b33fd6cb94d4a40b7b5790bebd50f60>>
|
|
16
16
|
* @codegenCommand yarn build tokens
|
|
17
17
|
*/
|
|
18
18
|
var renameMapper = [{
|
|
@@ -319,6 +319,14 @@ var 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::
|
|
6
|
+
* @codegen <<SignedSource::621a5ab1342cac3bcd8fb719515b731c>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
var defaultTokenValues = {
|
|
@@ -251,8 +251,8 @@ var defaultTokenValues = {
|
|
|
251
251
|
'color.blanket': '#091E427A',
|
|
252
252
|
'color.blanket.selected': '#388BFF14',
|
|
253
253
|
'color.blanket.danger': '#EF5C4814',
|
|
254
|
-
'color.interaction.hovered': '#
|
|
255
|
-
'color.interaction.pressed': '#
|
|
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::
|
|
3
|
+
* @codegen <<SignedSource::c45a3bc7ab921b5a279f8b05f859f21b>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -5590,7 +5590,7 @@ var 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": "#
|
|
5593
|
+
"value": "#ffffff33",
|
|
5594
5594
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5595
5595
|
"isSource": true,
|
|
5596
5596
|
"original": {
|
|
@@ -5600,7 +5600,7 @@ var 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": "#
|
|
5603
|
+
"value": "#ffffff33"
|
|
5604
5604
|
},
|
|
5605
5605
|
"name": "color.interaction.hovered",
|
|
5606
5606
|
"path": ["color", "interaction", "hovered"]
|
|
@@ -5611,7 +5611,7 @@ var 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": "#
|
|
5614
|
+
"value": "#ffffff5c",
|
|
5615
5615
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5616
5616
|
"isSource": true,
|
|
5617
5617
|
"original": {
|
|
@@ -5621,26 +5621,30 @@ var 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": "#
|
|
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": "
|
|
5631
|
+
"state": "deprecated",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
|
-
"
|
|
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/
|
|
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": "
|
|
5643
|
+
"state": "deprecated",
|
|
5642
5644
|
"introduced": "0.6.0",
|
|
5643
|
-
"
|
|
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 @@ var tokens = [{
|
|
|
5649
5653
|
}, {
|
|
5650
5654
|
"attributes": {
|
|
5651
5655
|
"group": "paint",
|
|
5652
|
-
"state": "
|
|
5656
|
+
"state": "deprecated",
|
|
5653
5657
|
"introduced": "0.6.0",
|
|
5654
|
-
"
|
|
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/
|
|
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": "
|
|
5668
|
+
"state": "deprecated",
|
|
5663
5669
|
"introduced": "0.6.0",
|
|
5664
|
-
"
|
|
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
|
},
|
|
@@ -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::
|
|
3
|
+
* @codegen <<SignedSource::3624adf3c629ed50172b90c1d2268662>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -5590,7 +5590,7 @@ var 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": "#
|
|
5593
|
+
"value": "#00000029",
|
|
5594
5594
|
"filePath": "src/tokens/atlassian-light/color/interaction.tsx",
|
|
5595
5595
|
"isSource": true,
|
|
5596
5596
|
"original": {
|
|
@@ -5600,7 +5600,7 @@ var 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": "#
|
|
5603
|
+
"value": "#00000029"
|
|
5604
5604
|
},
|
|
5605
5605
|
"name": "color.interaction.hovered",
|
|
5606
5606
|
"path": ["color", "interaction", "hovered"]
|
|
@@ -5611,7 +5611,7 @@ var 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": "#
|
|
5614
|
+
"value": "#00000052",
|
|
5615
5615
|
"filePath": "src/tokens/atlassian-light/color/interaction.tsx",
|
|
5616
5616
|
"isSource": true,
|
|
5617
5617
|
"original": {
|
|
@@ -5621,26 +5621,30 @@ var 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": "#
|
|
5624
|
+
"value": "#00000052"
|
|
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": "
|
|
5631
|
+
"state": "deprecated",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
|
-
"
|
|
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": "#00000029",
|
|
5636
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5638
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5637
5639
|
"isSource": true,
|
|
5638
5640
|
"original": {
|
|
5639
5641
|
"attributes": {
|
|
5640
5642
|
"group": "paint",
|
|
5641
|
-
"state": "
|
|
5643
|
+
"state": "deprecated",
|
|
5642
5644
|
"introduced": "0.6.0",
|
|
5643
|
-
"
|
|
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": "#00000029"
|
|
5646
5650
|
},
|
|
@@ -5649,19 +5653,23 @@ var tokens = [{
|
|
|
5649
5653
|
}, {
|
|
5650
5654
|
"attributes": {
|
|
5651
5655
|
"group": "paint",
|
|
5652
|
-
"state": "
|
|
5656
|
+
"state": "deprecated",
|
|
5653
5657
|
"introduced": "0.6.0",
|
|
5654
|
-
"
|
|
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": "#00000052",
|
|
5657
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5663
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5658
5664
|
"isSource": true,
|
|
5659
5665
|
"original": {
|
|
5660
5666
|
"attributes": {
|
|
5661
5667
|
"group": "paint",
|
|
5662
|
-
"state": "
|
|
5668
|
+
"state": "deprecated",
|
|
5663
5669
|
"introduced": "0.6.0",
|
|
5664
|
-
"
|
|
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": "#00000052"
|
|
5667
5675
|
},
|
package/dist/esm/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
var name = "@atlaskit/tokens";
|
|
5
|
-
var version = "0.10.
|
|
5
|
+
var version = "0.10.12";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
var token = tokens[path];
|
|
@@ -3,21 +3,11 @@ var color = {
|
|
|
3
3
|
interaction: {
|
|
4
4
|
hovered: {
|
|
5
5
|
// @ts-ignore temporary values
|
|
6
|
-
value: '#
|
|
6
|
+
value: '#ffffff33'
|
|
7
7
|
},
|
|
8
8
|
pressed: {
|
|
9
9
|
// @ts-ignore temporary values
|
|
10
|
-
value: '#
|
|
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
|
}
|
|
@@ -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: {
|
|
@@ -3,21 +3,11 @@ var color = {
|
|
|
3
3
|
interaction: {
|
|
4
4
|
hovered: {
|
|
5
5
|
// @ts-ignore temporary values
|
|
6
|
-
value: '#
|
|
6
|
+
value: '#00000029'
|
|
7
7
|
},
|
|
8
8
|
pressed: {
|
|
9
9
|
// @ts-ignore temporary values
|
|
10
|
-
value: '#
|
|
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
|
}
|
|
@@ -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
|
}
|