@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.
- package/CHANGELOG.md +40 -0
- package/css/atlassian-dark.css +8 -8
- package/css/atlassian-light.css +6 -6
- package/dist/cjs/artifacts/palettes-raw.js +5 -5
- package/dist/cjs/artifacts/rename-mapping.js +9 -1
- package/dist/cjs/artifacts/token-default-values.js +6 -6
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +31 -23
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +29 -21
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/cjs/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/cjs/tokens/atlassian-light/color/background.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/cjs/tokens/atlassian-light/color/text.js +1 -1
- 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/tokens/palette.js +3 -3
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/palettes-raw.js +5 -5
- package/dist/es2019/artifacts/rename-mapping.js +9 -1
- package/dist/es2019/artifacts/token-default-values.js +6 -6
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +31 -23
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +29 -21
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/es2019/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/es2019/tokens/atlassian-light/color/background.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/es2019/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/es2019/tokens/atlassian-light/color/text.js +1 -1
- 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/tokens/palette.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/palettes-raw.js +5 -5
- package/dist/esm/artifacts/rename-mapping.js +9 -1
- package/dist/esm/artifacts/token-default-values.js +6 -6
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +31 -23
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +29 -21
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/icon.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/interaction.js +2 -12
- package/dist/esm/tokens/atlassian-dark/color/text.js +1 -1
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +12 -0
- package/dist/esm/tokens/atlassian-light/color/background.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/icon.js +1 -1
- package/dist/esm/tokens/atlassian-light/color/interaction.js +2 -12
- package/dist/esm/tokens/atlassian-light/color/text.js +1 -1
- 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/tokens/palette.js +3 -3
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/palettes-raw.d.ts +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +6 -6
- 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
|
@@ -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: '#
|
|
12
|
+
value: '#00000029'
|
|
13
13
|
},
|
|
14
14
|
pressed: {
|
|
15
15
|
// @ts-ignore temporary values
|
|
16
|
-
value: '#
|
|
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: '#
|
|
653
|
+
value: '#596773',
|
|
654
654
|
attributes: {
|
|
655
655
|
group: 'palette',
|
|
656
656
|
category: 'dark mode neutral'
|
|
657
657
|
}
|
|
658
658
|
},
|
|
659
659
|
DN500A: {
|
|
660
|
-
// #
|
|
661
|
-
value: '#
|
|
660
|
+
// #9BB4CA @50%
|
|
661
|
+
value: '#9BB4CA80',
|
|
662
662
|
attributes: {
|
|
663
663
|
group: 'palette',
|
|
664
664
|
category: 'dark mode neutral'
|
package/dist/cjs/version.json
CHANGED
|
@@ -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::4d0639c90d18380e142efed6da97a9b0>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -1551,7 +1551,7 @@ const tokens = [{
|
|
|
1551
1551
|
"name": "color.palette.DN400A",
|
|
1552
1552
|
"path": ["color", "palette", "DN400A"]
|
|
1553
1553
|
}, {
|
|
1554
|
-
"value": "#
|
|
1554
|
+
"value": "#596773",
|
|
1555
1555
|
"attributes": {
|
|
1556
1556
|
"group": "palette",
|
|
1557
1557
|
"category": "dark mode neutral"
|
|
@@ -1559,7 +1559,7 @@ const tokens = [{
|
|
|
1559
1559
|
"filePath": "src/tokens/palette.tsx",
|
|
1560
1560
|
"isSource": false,
|
|
1561
1561
|
"original": {
|
|
1562
|
-
"value": "#
|
|
1562
|
+
"value": "#596773",
|
|
1563
1563
|
"attributes": {
|
|
1564
1564
|
"group": "palette",
|
|
1565
1565
|
"category": "dark mode neutral"
|
|
@@ -1568,7 +1568,7 @@ const tokens = [{
|
|
|
1568
1568
|
"name": "color.palette.DN500",
|
|
1569
1569
|
"path": ["color", "palette", "DN500"]
|
|
1570
1570
|
}, {
|
|
1571
|
-
"value": "#
|
|
1571
|
+
"value": "#9BB4CA80",
|
|
1572
1572
|
"attributes": {
|
|
1573
1573
|
"group": "palette",
|
|
1574
1574
|
"category": "dark mode neutral"
|
|
@@ -1576,7 +1576,7 @@ const tokens = [{
|
|
|
1576
1576
|
"filePath": "src/tokens/palette.tsx",
|
|
1577
1577
|
"isSource": false,
|
|
1578
1578
|
"original": {
|
|
1579
|
-
"value": "#
|
|
1579
|
+
"value": "#9BB4CA80",
|
|
1580
1580
|
"attributes": {
|
|
1581
1581
|
"group": "palette",
|
|
1582
1582
|
"category": "dark mode neutral"
|
|
@@ -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
|
const renameMapper = [{
|
|
@@ -319,6 +319,14 @@ const renameMapper = [{
|
|
|
319
319
|
"path": "color.background.transparentNeutral.pressed",
|
|
320
320
|
"state": "deleted",
|
|
321
321
|
"replacement": "color.background.neutral.subtle.pressed"
|
|
322
|
+
}, {
|
|
323
|
+
"path": "color.interaction.inverse.hovered",
|
|
324
|
+
"state": "deprecated",
|
|
325
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
326
|
+
}, {
|
|
327
|
+
"path": "color.interaction.inverse.pressed",
|
|
328
|
+
"state": "deprecated",
|
|
329
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
322
330
|
}, {
|
|
323
331
|
"path": "color.accent.boldBlue",
|
|
324
332
|
"state": "deleted",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Token names mapped to their value in the default Atlassian theme ('light')
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::bf85c12f621d58ae427a6fd99c62fd24>>
|
|
7
7
|
* @codegenCommand yarn build tokens
|
|
8
8
|
*/
|
|
9
9
|
const defaultTokenValues = {
|
|
@@ -28,7 +28,7 @@ const defaultTokenValues = {
|
|
|
28
28
|
'color.text': '#172B4D',
|
|
29
29
|
'color.text.subtle': '#44546F',
|
|
30
30
|
'color.text.subtlest': '#626F86',
|
|
31
|
-
'color.text.disabled': '#
|
|
31
|
+
'color.text.disabled': '#091E424F',
|
|
32
32
|
'color.text.inverse': '#FFFFFF',
|
|
33
33
|
'color.text.brand': '#0C66E4',
|
|
34
34
|
'color.text.selected': '#0C66E4',
|
|
@@ -57,7 +57,7 @@ const defaultTokenValues = {
|
|
|
57
57
|
'color.icon': '#44546F',
|
|
58
58
|
'color.icon.subtle': '#626F86',
|
|
59
59
|
'color.icon.inverse': '#FFFFFF',
|
|
60
|
-
'color.icon.disabled': '#
|
|
60
|
+
'color.icon.disabled': '#091E424F',
|
|
61
61
|
'color.icon.brand': '#0C66E4',
|
|
62
62
|
'color.icon.selected': '#0C66E4',
|
|
63
63
|
'color.icon.danger': '#E34935',
|
|
@@ -142,7 +142,7 @@ const defaultTokenValues = {
|
|
|
142
142
|
'color.background.accent.gray.subtler': '#DCDFE4',
|
|
143
143
|
'color.background.accent.gray.subtle': '#8993A5',
|
|
144
144
|
'color.background.accent.gray.bolder': '#626F86',
|
|
145
|
-
'color.background.disabled': '#
|
|
145
|
+
'color.background.disabled': '#091E4208',
|
|
146
146
|
'color.background.inverse.subtle': '#00000029',
|
|
147
147
|
'color.background.inverse.subtle.hovered': '#0000003D',
|
|
148
148
|
'color.background.inverse.subtle.pressed': '#00000052',
|
|
@@ -251,8 +251,8 @@ const defaultTokenValues = {
|
|
|
251
251
|
'color.blanket': '#091E427A',
|
|
252
252
|
'color.blanket.selected': '#388BFF14',
|
|
253
253
|
'color.blanket.danger': '#EF5C4814',
|
|
254
|
-
'color.interaction.hovered': '#
|
|
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::2d1a0dfbc05adf2fcb798f5a600f0b29>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -451,7 +451,7 @@ const tokens = [{
|
|
|
451
451
|
"introduced": "0.0.15",
|
|
452
452
|
"description": "Use for text in a disabled state."
|
|
453
453
|
},
|
|
454
|
-
"value": "#
|
|
454
|
+
"value": "#BFDBF847",
|
|
455
455
|
"filePath": "src/tokens/atlassian-dark/color/text.tsx",
|
|
456
456
|
"isSource": true,
|
|
457
457
|
"original": {
|
|
@@ -461,7 +461,7 @@ const tokens = [{
|
|
|
461
461
|
"introduced": "0.0.15",
|
|
462
462
|
"description": "Use for text in a disabled state."
|
|
463
463
|
},
|
|
464
|
-
"value": "
|
|
464
|
+
"value": "DN400A"
|
|
465
465
|
},
|
|
466
466
|
"name": "color.text.disabled",
|
|
467
467
|
"path": ["color", "text", "disabled"]
|
|
@@ -1102,7 +1102,7 @@ const tokens = [{
|
|
|
1102
1102
|
"introduced": "0.6.0",
|
|
1103
1103
|
"description": "Use for icons in a disabled state."
|
|
1104
1104
|
},
|
|
1105
|
-
"value": "#
|
|
1105
|
+
"value": "#BFDBF847",
|
|
1106
1106
|
"filePath": "src/tokens/atlassian-dark/color/icon.tsx",
|
|
1107
1107
|
"isSource": true,
|
|
1108
1108
|
"original": {
|
|
@@ -1112,7 +1112,7 @@ const tokens = [{
|
|
|
1112
1112
|
"introduced": "0.6.0",
|
|
1113
1113
|
"description": "Use for icons in a disabled state."
|
|
1114
1114
|
},
|
|
1115
|
-
"value": "
|
|
1115
|
+
"value": "DN400A"
|
|
1116
1116
|
},
|
|
1117
1117
|
"name": "color.icon.disabled",
|
|
1118
1118
|
"path": ["color", "icon", "disabled"]
|
|
@@ -2953,7 +2953,7 @@ const tokens = [{
|
|
|
2953
2953
|
"introduced": "0.7.0",
|
|
2954
2954
|
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2955
2955
|
},
|
|
2956
|
-
"value": "#
|
|
2956
|
+
"value": "#596773",
|
|
2957
2957
|
"filePath": "src/tokens/atlassian-dark/color/accent.tsx",
|
|
2958
2958
|
"isSource": true,
|
|
2959
2959
|
"original": {
|
|
@@ -2995,7 +2995,7 @@ const tokens = [{
|
|
|
2995
2995
|
"introduced": "0.0.15",
|
|
2996
2996
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
2997
2997
|
},
|
|
2998
|
-
"value": "#
|
|
2998
|
+
"value": "#BCD6F00A",
|
|
2999
2999
|
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
3000
3000
|
"isSource": true,
|
|
3001
3001
|
"original": {
|
|
@@ -3005,7 +3005,7 @@ const tokens = [{
|
|
|
3005
3005
|
"introduced": "0.0.15",
|
|
3006
3006
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3007
3007
|
},
|
|
3008
|
-
"value": "
|
|
3008
|
+
"value": "DN100A"
|
|
3009
3009
|
},
|
|
3010
3010
|
"name": "color.background.disabled",
|
|
3011
3011
|
"path": ["color", "background", "disabled"]
|
|
@@ -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": "#ffffff33",
|
|
5594
5594
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5595
5595
|
"isSource": true,
|
|
5596
5596
|
"original": {
|
|
@@ -5600,7 +5600,7 @@ const tokens = [{
|
|
|
5600
5600
|
"introduced": "0.6.0",
|
|
5601
5601
|
"description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
|
|
5602
5602
|
},
|
|
5603
|
-
"value": "#
|
|
5603
|
+
"value": "#ffffff33"
|
|
5604
5604
|
},
|
|
5605
5605
|
"name": "color.interaction.hovered",
|
|
5606
5606
|
"path": ["color", "interaction", "hovered"]
|
|
@@ -5611,7 +5611,7 @@ const tokens = [{
|
|
|
5611
5611
|
"introduced": "0.6.0",
|
|
5612
5612
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5613
5613
|
},
|
|
5614
|
-
"value": "#
|
|
5614
|
+
"value": "#ffffff5c",
|
|
5615
5615
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5616
5616
|
"isSource": true,
|
|
5617
5617
|
"original": {
|
|
@@ -5621,26 +5621,30 @@ const tokens = [{
|
|
|
5621
5621
|
"introduced": "0.6.0",
|
|
5622
5622
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5623
5623
|
},
|
|
5624
|
-
"value": "#
|
|
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 @@ 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": "#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
|
},
|
|
@@ -6274,7 +6282,7 @@ const tokens = [{
|
|
|
6274
6282
|
"replacement": "color.interaction.pressed",
|
|
6275
6283
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
6276
6284
|
},
|
|
6277
|
-
"value": "#
|
|
6285
|
+
"value": "#9BB4CA80",
|
|
6278
6286
|
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
6279
6287
|
"isSource": true,
|
|
6280
6288
|
"original": {
|
|
@@ -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::fc44c853b0acd381a2c5fd8f63ae1bf6>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -451,7 +451,7 @@ const tokens = [{
|
|
|
451
451
|
"introduced": "0.0.15",
|
|
452
452
|
"description": "Use for text in a disabled state."
|
|
453
453
|
},
|
|
454
|
-
"value": "#
|
|
454
|
+
"value": "#091E424F",
|
|
455
455
|
"filePath": "src/tokens/atlassian-light/color/text.tsx",
|
|
456
456
|
"isSource": true,
|
|
457
457
|
"original": {
|
|
@@ -461,7 +461,7 @@ const tokens = [{
|
|
|
461
461
|
"introduced": "0.0.15",
|
|
462
462
|
"description": "Use for text in a disabled state."
|
|
463
463
|
},
|
|
464
|
-
"value": "
|
|
464
|
+
"value": "N400A"
|
|
465
465
|
},
|
|
466
466
|
"name": "color.text.disabled",
|
|
467
467
|
"path": ["color", "text", "disabled"]
|
|
@@ -1102,7 +1102,7 @@ const tokens = [{
|
|
|
1102
1102
|
"introduced": "0.6.0",
|
|
1103
1103
|
"description": "Use for icons in a disabled state."
|
|
1104
1104
|
},
|
|
1105
|
-
"value": "#
|
|
1105
|
+
"value": "#091E424F",
|
|
1106
1106
|
"filePath": "src/tokens/atlassian-light/color/icon.tsx",
|
|
1107
1107
|
"isSource": true,
|
|
1108
1108
|
"original": {
|
|
@@ -1112,7 +1112,7 @@ const tokens = [{
|
|
|
1112
1112
|
"introduced": "0.6.0",
|
|
1113
1113
|
"description": "Use for icons in a disabled state."
|
|
1114
1114
|
},
|
|
1115
|
-
"value": "
|
|
1115
|
+
"value": "N400A"
|
|
1116
1116
|
},
|
|
1117
1117
|
"name": "color.icon.disabled",
|
|
1118
1118
|
"path": ["color", "icon", "disabled"]
|
|
@@ -2995,7 +2995,7 @@ const tokens = [{
|
|
|
2995
2995
|
"introduced": "0.0.15",
|
|
2996
2996
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
2997
2997
|
},
|
|
2998
|
-
"value": "#
|
|
2998
|
+
"value": "#091E4208",
|
|
2999
2999
|
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3000
3000
|
"isSource": true,
|
|
3001
3001
|
"original": {
|
|
@@ -3005,7 +3005,7 @@ const tokens = [{
|
|
|
3005
3005
|
"introduced": "0.0.15",
|
|
3006
3006
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3007
3007
|
},
|
|
3008
|
-
"value": "
|
|
3008
|
+
"value": "N100A"
|
|
3009
3009
|
},
|
|
3010
3010
|
"name": "color.background.disabled",
|
|
3011
3011
|
"path": ["color", "background", "disabled"]
|
|
@@ -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.13";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
let token = tokens[path];
|