@atlaskit/tokens 0.10.11 → 0.10.14
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 +30 -0
- package/css/atlassian-dark.css +6 -6
- package/css/atlassian-light.css +6 -6
- 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 +33 -21
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +33 -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 +26 -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 +6 -6
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +33 -21
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +33 -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 +26 -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 +6 -6
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +33 -21
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +33 -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 +26 -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 +6 -6
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -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 +5 -3
- package/report.api.md +619 -20
|
@@ -1153,6 +1153,32 @@ 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: 'deleted',
|
|
1163
|
+
introduced: '0.6.0',
|
|
1164
|
+
deprecated: '0.10.8',
|
|
1165
|
+
deleted: '0.10.13',
|
|
1166
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1167
|
+
replacement: 'color.background.inverse.subtle.hovered'
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
pressed: {
|
|
1171
|
+
attributes: {
|
|
1172
|
+
group: 'paint',
|
|
1173
|
+
state: 'deleted',
|
|
1174
|
+
introduced: '0.6.0',
|
|
1175
|
+
deprecated: '0.10.8 ',
|
|
1176
|
+
deleted: '0.10.13',
|
|
1177
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1178
|
+
replacement: 'color.background.inverse.subtle.pressed'
|
|
1179
|
+
}
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1156
1182
|
}
|
|
1157
1183
|
},
|
|
1158
1184
|
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::afc1ce63c4571109e333891b70af2ae8>>
|
|
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": "deleted",
|
|
325
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
326
|
+
}, {
|
|
327
|
+
"path": "color.interaction.inverse.pressed",
|
|
328
|
+
"state": "deleted",
|
|
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
|
var defaultTokenValues = {
|
|
@@ -28,7 +28,7 @@ var 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 @@ var 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 @@ var 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 @@ 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::3fef3c7e03c920ccf46adb8e5016f1f9>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -451,7 +451,7 @@ var 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 @@ var 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 @@ var 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 @@ var 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"]
|
|
@@ -2995,7 +2995,7 @@ var 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 @@ var 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 @@ 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,32 @@ 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": "deleted",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
|
-
"
|
|
5633
|
+
"deprecated": "0.10.8",
|
|
5634
|
+
"deleted": "0.10.13",
|
|
5635
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5636
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5634
5637
|
},
|
|
5635
5638
|
"value": "#ffffff33",
|
|
5636
|
-
"filePath": "src/tokens/atlassian-dark/
|
|
5639
|
+
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
5637
5640
|
"isSource": true,
|
|
5638
5641
|
"original": {
|
|
5639
5642
|
"attributes": {
|
|
5640
5643
|
"group": "paint",
|
|
5641
|
-
"state": "
|
|
5644
|
+
"state": "deleted",
|
|
5642
5645
|
"introduced": "0.6.0",
|
|
5643
|
-
"
|
|
5646
|
+
"deprecated": "0.10.8",
|
|
5647
|
+
"deleted": "0.10.13",
|
|
5648
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5649
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5644
5650
|
},
|
|
5645
5651
|
"value": "#ffffff33"
|
|
5646
5652
|
},
|
|
@@ -5649,19 +5655,25 @@ var tokens = [{
|
|
|
5649
5655
|
}, {
|
|
5650
5656
|
"attributes": {
|
|
5651
5657
|
"group": "paint",
|
|
5652
|
-
"state": "
|
|
5658
|
+
"state": "deleted",
|
|
5653
5659
|
"introduced": "0.6.0",
|
|
5654
|
-
"
|
|
5660
|
+
"deprecated": "0.10.8 ",
|
|
5661
|
+
"deleted": "0.10.13",
|
|
5662
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5663
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5655
5664
|
},
|
|
5656
5665
|
"value": "#ffffff5c",
|
|
5657
|
-
"filePath": "src/tokens/atlassian-dark/
|
|
5666
|
+
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
5658
5667
|
"isSource": true,
|
|
5659
5668
|
"original": {
|
|
5660
5669
|
"attributes": {
|
|
5661
5670
|
"group": "paint",
|
|
5662
|
-
"state": "
|
|
5671
|
+
"state": "deleted",
|
|
5663
5672
|
"introduced": "0.6.0",
|
|
5664
|
-
"
|
|
5673
|
+
"deprecated": "0.10.8 ",
|
|
5674
|
+
"deleted": "0.10.13",
|
|
5675
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5676
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5665
5677
|
},
|
|
5666
5678
|
"value": "#ffffff5c"
|
|
5667
5679
|
},
|
|
@@ -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::f6a9d19d9e568ee23ce24a7127ceb09c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
var tokens = [{
|
|
@@ -451,7 +451,7 @@ var 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 @@ var 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 @@ var 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 @@ var 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 @@ var 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 @@ var 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 @@ 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,32 @@ 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": "deleted",
|
|
5632
5632
|
"introduced": "0.6.0",
|
|
5633
|
-
"
|
|
5633
|
+
"deprecated": "0.10.8",
|
|
5634
|
+
"deleted": "0.10.13",
|
|
5635
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5636
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5634
5637
|
},
|
|
5635
5638
|
"value": "#00000029",
|
|
5636
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5639
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5637
5640
|
"isSource": true,
|
|
5638
5641
|
"original": {
|
|
5639
5642
|
"attributes": {
|
|
5640
5643
|
"group": "paint",
|
|
5641
|
-
"state": "
|
|
5644
|
+
"state": "deleted",
|
|
5642
5645
|
"introduced": "0.6.0",
|
|
5643
|
-
"
|
|
5646
|
+
"deprecated": "0.10.8",
|
|
5647
|
+
"deleted": "0.10.13",
|
|
5648
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5649
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5644
5650
|
},
|
|
5645
5651
|
"value": "#00000029"
|
|
5646
5652
|
},
|
|
@@ -5649,19 +5655,25 @@ var tokens = [{
|
|
|
5649
5655
|
}, {
|
|
5650
5656
|
"attributes": {
|
|
5651
5657
|
"group": "paint",
|
|
5652
|
-
"state": "
|
|
5658
|
+
"state": "deleted",
|
|
5653
5659
|
"introduced": "0.6.0",
|
|
5654
|
-
"
|
|
5660
|
+
"deprecated": "0.10.8 ",
|
|
5661
|
+
"deleted": "0.10.13",
|
|
5662
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5663
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5655
5664
|
},
|
|
5656
5665
|
"value": "#00000052",
|
|
5657
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5666
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5658
5667
|
"isSource": true,
|
|
5659
5668
|
"original": {
|
|
5660
5669
|
"attributes": {
|
|
5661
5670
|
"group": "paint",
|
|
5662
|
-
"state": "
|
|
5671
|
+
"state": "deleted",
|
|
5663
5672
|
"introduced": "0.6.0",
|
|
5664
|
-
"
|
|
5673
|
+
"deprecated": "0.10.8 ",
|
|
5674
|
+
"deleted": "0.10.13",
|
|
5675
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5676
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5665
5677
|
},
|
|
5666
5678
|
"value": "#00000052"
|
|
5667
5679
|
},
|
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.14";
|
|
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
|
}
|
|
@@ -1123,6 +1123,32 @@ 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: 'deleted',
|
|
1133
|
+
introduced: '0.6.0',
|
|
1134
|
+
deprecated: '0.10.8',
|
|
1135
|
+
deleted: '0.10.13',
|
|
1136
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1137
|
+
replacement: 'color.background.inverse.subtle.hovered'
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
pressed: {
|
|
1141
|
+
attributes: {
|
|
1142
|
+
group: 'paint',
|
|
1143
|
+
state: 'deleted',
|
|
1144
|
+
introduced: '0.6.0',
|
|
1145
|
+
deprecated: '0.10.8 ',
|
|
1146
|
+
deleted: '0.10.13',
|
|
1147
|
+
description: 'Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.',
|
|
1148
|
+
replacement: 'color.background.inverse.subtle.pressed'
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1126
1152
|
}
|
|
1127
1153
|
},
|
|
1128
1154
|
shadow: {
|