@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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.10.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`39a56a3c4e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39a56a3c4e7) - Update disabled tokens to use alpha base tokens:
|
|
8
|
+
|
|
9
|
+
- `color.text.disabled`
|
|
10
|
+
- `color.icon.disabled`
|
|
11
|
+
- `color.background.disabled`
|
|
12
|
+
|
|
13
|
+
## 0.10.12
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`83c253f28bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83c253f28bd) - [ux] - Correct 'color.interaction.hovered' and 'color.interaction.pressed' token values, which were mistakenly mapped inversely in light and dark mode. The token values have now been swapped.
|
|
18
|
+
|
|
19
|
+
- Deprecate 'color.interaction.inverse.hovered' which has been replaced with 'color.background.inverse.subtle.hovered'.
|
|
20
|
+
- Deprecate 'color.interaction.inverse.pressed' which has been replaced with 'color.background.inverse.subtle.pressed'.
|
|
21
|
+
|
|
22
|
+
## 0.10.11
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- [`d9d18df130f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9d18df130f) - [ux] Tweaked the values of the DN500 and DN500A base tokens to improve color contrast when paired with text:
|
|
27
|
+
|
|
28
|
+
- DN500 has changed from `#5C6C7A` to `#596773`
|
|
29
|
+
- DN500A has changed from `#A9C5DF7A` to `#9BB4CA80`
|
|
30
|
+
|
|
31
|
+
This changes the values in dark mode for the following tokens:
|
|
32
|
+
|
|
33
|
+
_(active)_:
|
|
34
|
+
|
|
35
|
+
- `color.text.disabled`
|
|
36
|
+
- `color.icon.disabled`
|
|
37
|
+
- `color.background.accent.gray.subtle`
|
|
38
|
+
|
|
39
|
+
_(deprecated)_:
|
|
40
|
+
|
|
41
|
+
- `color.overlay.pressed`
|
|
42
|
+
|
|
3
43
|
## 0.10.10
|
|
4
44
|
|
|
5
45
|
### Patch Changes
|
package/css/atlassian-dark.css
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::e7a1da5f12bf3daf065833cca6f750d8>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
html[data-theme="dark"] {
|
|
@@ -25,7 +25,7 @@ html[data-theme="dark"] {
|
|
|
25
25
|
--ds-text: #C7D1DB;
|
|
26
26
|
--ds-text-subtle: #9FADBC;
|
|
27
27
|
--ds-text-subtlest: #8696A7;
|
|
28
|
-
--ds-text-disabled: #
|
|
28
|
+
--ds-text-disabled: #BFDBF847;
|
|
29
29
|
--ds-text-inverse: #161A1D;
|
|
30
30
|
--ds-text-brand: #579DFF;
|
|
31
31
|
--ds-text-selected: #579DFF;
|
|
@@ -54,7 +54,7 @@ html[data-theme="dark"] {
|
|
|
54
54
|
--ds-icon: #9FADBC;
|
|
55
55
|
--ds-icon-subtle: #8696A7;
|
|
56
56
|
--ds-icon-inverse: #161A1D;
|
|
57
|
-
--ds-icon-disabled: #
|
|
57
|
+
--ds-icon-disabled: #BFDBF847;
|
|
58
58
|
--ds-icon-brand: #579DFF;
|
|
59
59
|
--ds-icon-selected: #579DFF;
|
|
60
60
|
--ds-icon-danger: #EF5C48;
|
|
@@ -137,9 +137,9 @@ html[data-theme="dark"] {
|
|
|
137
137
|
--ds-background-accent-magenta-bold: #AE4787;
|
|
138
138
|
--ds-background-accent-gray-subtlest: #2C333A;
|
|
139
139
|
--ds-background-accent-gray-subtler: #454F59;
|
|
140
|
-
--ds-background-accent-gray-subtle: #
|
|
140
|
+
--ds-background-accent-gray-subtle: #596773;
|
|
141
141
|
--ds-background-accent-gray-bolder: #8696A7;
|
|
142
|
-
--ds-background-disabled: #
|
|
142
|
+
--ds-background-disabled: #BCD6F00A;
|
|
143
143
|
--ds-background-inverse-subtle: #FFFFFF29;
|
|
144
144
|
--ds-background-inverse-subtle-hovered: #FFFFFF3D;
|
|
145
145
|
--ds-background-inverse-subtle-pressed: #FFFFFF52;
|
|
@@ -248,8 +248,8 @@ html[data-theme="dark"] {
|
|
|
248
248
|
--ds-blanket: #03040442;
|
|
249
249
|
--ds-blanket-selected: #1D7AFC14;
|
|
250
250
|
--ds-blanket-danger: #E3493514;
|
|
251
|
-
--ds-interaction-hovered: #
|
|
252
|
-
--ds-interaction-pressed: #
|
|
251
|
+
--ds-interaction-hovered: #ffffff33;
|
|
252
|
+
--ds-interaction-pressed: #ffffff5c;
|
|
253
253
|
--ds-interaction-inverse-hovered: #ffffff33;
|
|
254
254
|
--ds-interaction-inverse-pressed: #ffffff5c;
|
|
255
255
|
--ds-skeleton: #A1BDD914;
|
|
@@ -275,7 +275,7 @@ html[data-theme="dark"] {
|
|
|
275
275
|
--ds-iconBorder-success: #2ABB7F;
|
|
276
276
|
--ds-iconBorder-warning: #CF9F02;
|
|
277
277
|
--ds-overlay-hover: #BFDBF847;
|
|
278
|
-
--ds-overlay-pressed: #
|
|
278
|
+
--ds-overlay-pressed: #9BB4CA80;
|
|
279
279
|
--ds-card: 0px 1px 1px #03040480, 0px 0px 1px #03040480;
|
|
280
280
|
--ds-overlay: inset 0px 0px 0px 1px #BCD6F00A, 0px 8px 12px #0304045C, 0px 0px 1px #03040480;
|
|
281
281
|
--ds-shadow-raised: 0px 1px 1px #03040480, 0px 0px 1px #03040480;
|
package/css/atlassian-light.css
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::f188dd3bf2da5dc22166cc13f91c1373>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
html[data-theme="light"] {
|
|
@@ -25,7 +25,7 @@ html[data-theme="light"] {
|
|
|
25
25
|
--ds-text: #172B4D;
|
|
26
26
|
--ds-text-subtle: #44546F;
|
|
27
27
|
--ds-text-subtlest: #626F86;
|
|
28
|
-
--ds-text-disabled: #
|
|
28
|
+
--ds-text-disabled: #091E424F;
|
|
29
29
|
--ds-text-inverse: #FFFFFF;
|
|
30
30
|
--ds-text-brand: #0C66E4;
|
|
31
31
|
--ds-text-selected: #0C66E4;
|
|
@@ -54,7 +54,7 @@ html[data-theme="light"] {
|
|
|
54
54
|
--ds-icon: #44546F;
|
|
55
55
|
--ds-icon-subtle: #626F86;
|
|
56
56
|
--ds-icon-inverse: #FFFFFF;
|
|
57
|
-
--ds-icon-disabled: #
|
|
57
|
+
--ds-icon-disabled: #091E424F;
|
|
58
58
|
--ds-icon-brand: #0C66E4;
|
|
59
59
|
--ds-icon-selected: #0C66E4;
|
|
60
60
|
--ds-icon-danger: #E34935;
|
|
@@ -139,7 +139,7 @@ html[data-theme="light"] {
|
|
|
139
139
|
--ds-background-accent-gray-subtler: #DCDFE4;
|
|
140
140
|
--ds-background-accent-gray-subtle: #8993A5;
|
|
141
141
|
--ds-background-accent-gray-bolder: #626F86;
|
|
142
|
-
--ds-background-disabled: #
|
|
142
|
+
--ds-background-disabled: #091E4208;
|
|
143
143
|
--ds-background-inverse-subtle: #00000029;
|
|
144
144
|
--ds-background-inverse-subtle-hovered: #0000003D;
|
|
145
145
|
--ds-background-inverse-subtle-pressed: #00000052;
|
|
@@ -248,8 +248,8 @@ html[data-theme="light"] {
|
|
|
248
248
|
--ds-blanket: #091E427A;
|
|
249
249
|
--ds-blanket-selected: #388BFF14;
|
|
250
250
|
--ds-blanket-danger: #EF5C4814;
|
|
251
|
-
--ds-interaction-hovered: #
|
|
252
|
-
--ds-interaction-pressed: #
|
|
251
|
+
--ds-interaction-hovered: #00000029;
|
|
252
|
+
--ds-interaction-pressed: #00000052;
|
|
253
253
|
--ds-interaction-inverse-hovered: #00000029;
|
|
254
254
|
--ds-interaction-inverse-pressed: #00000052;
|
|
255
255
|
--ds-skeleton: #091E420F;
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::4d0639c90d18380e142efed6da97a9b0>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -1558,7 +1558,7 @@ var tokens = [{
|
|
|
1558
1558
|
"name": "color.palette.DN400A",
|
|
1559
1559
|
"path": ["color", "palette", "DN400A"]
|
|
1560
1560
|
}, {
|
|
1561
|
-
"value": "#
|
|
1561
|
+
"value": "#596773",
|
|
1562
1562
|
"attributes": {
|
|
1563
1563
|
"group": "palette",
|
|
1564
1564
|
"category": "dark mode neutral"
|
|
@@ -1566,7 +1566,7 @@ var tokens = [{
|
|
|
1566
1566
|
"filePath": "src/tokens/palette.tsx",
|
|
1567
1567
|
"isSource": false,
|
|
1568
1568
|
"original": {
|
|
1569
|
-
"value": "#
|
|
1569
|
+
"value": "#596773",
|
|
1570
1570
|
"attributes": {
|
|
1571
1571
|
"group": "palette",
|
|
1572
1572
|
"category": "dark mode neutral"
|
|
@@ -1575,7 +1575,7 @@ var tokens = [{
|
|
|
1575
1575
|
"name": "color.palette.DN500",
|
|
1576
1576
|
"path": ["color", "palette", "DN500"]
|
|
1577
1577
|
}, {
|
|
1578
|
-
"value": "#
|
|
1578
|
+
"value": "#9BB4CA80",
|
|
1579
1579
|
"attributes": {
|
|
1580
1580
|
"group": "palette",
|
|
1581
1581
|
"category": "dark mode neutral"
|
|
@@ -1583,7 +1583,7 @@ var tokens = [{
|
|
|
1583
1583
|
"filePath": "src/tokens/palette.tsx",
|
|
1584
1584
|
"isSource": false,
|
|
1585
1585
|
"original": {
|
|
1586
|
-
"value": "#
|
|
1586
|
+
"value": "#9BB4CA80",
|
|
1587
1587
|
"attributes": {
|
|
1588
1588
|
"group": "palette",
|
|
1589
1589
|
"category": "dark mode neutral"
|
|
@@ -19,7 +19,7 @@ exports.default = void 0;
|
|
|
19
19
|
* These changes will then be picked up by our tooling which will attempt to
|
|
20
20
|
* migrate as many of these renames as possible.
|
|
21
21
|
*
|
|
22
|
-
* @codegen <<SignedSource::
|
|
22
|
+
* @codegen <<SignedSource::3b33fd6cb94d4a40b7b5790bebd50f60>>
|
|
23
23
|
* @codegenCommand yarn build tokens
|
|
24
24
|
*/
|
|
25
25
|
var renameMapper = [{
|
|
@@ -326,6 +326,14 @@ var renameMapper = [{
|
|
|
326
326
|
"path": "color.background.transparentNeutral.pressed",
|
|
327
327
|
"state": "deleted",
|
|
328
328
|
"replacement": "color.background.neutral.subtle.pressed"
|
|
329
|
+
}, {
|
|
330
|
+
"path": "color.interaction.inverse.hovered",
|
|
331
|
+
"state": "deprecated",
|
|
332
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
333
|
+
}, {
|
|
334
|
+
"path": "color.interaction.inverse.pressed",
|
|
335
|
+
"state": "deprecated",
|
|
336
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
329
337
|
}, {
|
|
330
338
|
"path": "color.accent.boldBlue",
|
|
331
339
|
"state": "deleted",
|
|
@@ -10,7 +10,7 @@ exports.default = void 0;
|
|
|
10
10
|
*
|
|
11
11
|
* Token names mapped to their value in the default Atlassian theme ('light')
|
|
12
12
|
*
|
|
13
|
-
* @codegen <<SignedSource::
|
|
13
|
+
* @codegen <<SignedSource::bf85c12f621d58ae427a6fd99c62fd24>>
|
|
14
14
|
* @codegenCommand yarn build tokens
|
|
15
15
|
*/
|
|
16
16
|
var defaultTokenValues = {
|
|
@@ -35,7 +35,7 @@ var defaultTokenValues = {
|
|
|
35
35
|
'color.text': '#172B4D',
|
|
36
36
|
'color.text.subtle': '#44546F',
|
|
37
37
|
'color.text.subtlest': '#626F86',
|
|
38
|
-
'color.text.disabled': '#
|
|
38
|
+
'color.text.disabled': '#091E424F',
|
|
39
39
|
'color.text.inverse': '#FFFFFF',
|
|
40
40
|
'color.text.brand': '#0C66E4',
|
|
41
41
|
'color.text.selected': '#0C66E4',
|
|
@@ -64,7 +64,7 @@ var defaultTokenValues = {
|
|
|
64
64
|
'color.icon': '#44546F',
|
|
65
65
|
'color.icon.subtle': '#626F86',
|
|
66
66
|
'color.icon.inverse': '#FFFFFF',
|
|
67
|
-
'color.icon.disabled': '#
|
|
67
|
+
'color.icon.disabled': '#091E424F',
|
|
68
68
|
'color.icon.brand': '#0C66E4',
|
|
69
69
|
'color.icon.selected': '#0C66E4',
|
|
70
70
|
'color.icon.danger': '#E34935',
|
|
@@ -149,7 +149,7 @@ var defaultTokenValues = {
|
|
|
149
149
|
'color.background.accent.gray.subtler': '#DCDFE4',
|
|
150
150
|
'color.background.accent.gray.subtle': '#8993A5',
|
|
151
151
|
'color.background.accent.gray.bolder': '#626F86',
|
|
152
|
-
'color.background.disabled': '#
|
|
152
|
+
'color.background.disabled': '#091E4208',
|
|
153
153
|
'color.background.inverse.subtle': '#00000029',
|
|
154
154
|
'color.background.inverse.subtle.hovered': '#0000003D',
|
|
155
155
|
'color.background.inverse.subtle.pressed': '#00000052',
|
|
@@ -258,8 +258,8 @@ var defaultTokenValues = {
|
|
|
258
258
|
'color.blanket': '#091E427A',
|
|
259
259
|
'color.blanket.selected': '#388BFF14',
|
|
260
260
|
'color.blanket.danger': '#EF5C4814',
|
|
261
|
-
'color.interaction.hovered': '#
|
|
262
|
-
'color.interaction.pressed': '#
|
|
261
|
+
'color.interaction.hovered': '#00000029',
|
|
262
|
+
'color.interaction.pressed': '#00000052',
|
|
263
263
|
'color.interaction.inverse.hovered': '#00000029',
|
|
264
264
|
'color.interaction.inverse.pressed': '#00000052',
|
|
265
265
|
'color.skeleton': '#091E420F',
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::2d1a0dfbc05adf2fcb798f5a600f0b29>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -458,7 +458,7 @@ var tokens = [{
|
|
|
458
458
|
"introduced": "0.0.15",
|
|
459
459
|
"description": "Use for text in a disabled state."
|
|
460
460
|
},
|
|
461
|
-
"value": "#
|
|
461
|
+
"value": "#BFDBF847",
|
|
462
462
|
"filePath": "src/tokens/atlassian-dark/color/text.tsx",
|
|
463
463
|
"isSource": true,
|
|
464
464
|
"original": {
|
|
@@ -468,7 +468,7 @@ var tokens = [{
|
|
|
468
468
|
"introduced": "0.0.15",
|
|
469
469
|
"description": "Use for text in a disabled state."
|
|
470
470
|
},
|
|
471
|
-
"value": "
|
|
471
|
+
"value": "DN400A"
|
|
472
472
|
},
|
|
473
473
|
"name": "color.text.disabled",
|
|
474
474
|
"path": ["color", "text", "disabled"]
|
|
@@ -1109,7 +1109,7 @@ var tokens = [{
|
|
|
1109
1109
|
"introduced": "0.6.0",
|
|
1110
1110
|
"description": "Use for icons in a disabled state."
|
|
1111
1111
|
},
|
|
1112
|
-
"value": "#
|
|
1112
|
+
"value": "#BFDBF847",
|
|
1113
1113
|
"filePath": "src/tokens/atlassian-dark/color/icon.tsx",
|
|
1114
1114
|
"isSource": true,
|
|
1115
1115
|
"original": {
|
|
@@ -1119,7 +1119,7 @@ var tokens = [{
|
|
|
1119
1119
|
"introduced": "0.6.0",
|
|
1120
1120
|
"description": "Use for icons in a disabled state."
|
|
1121
1121
|
},
|
|
1122
|
-
"value": "
|
|
1122
|
+
"value": "DN400A"
|
|
1123
1123
|
},
|
|
1124
1124
|
"name": "color.icon.disabled",
|
|
1125
1125
|
"path": ["color", "icon", "disabled"]
|
|
@@ -2960,7 +2960,7 @@ var tokens = [{
|
|
|
2960
2960
|
"introduced": "0.7.0",
|
|
2961
2961
|
"description": "Use for vibrant gray backgrounds when there is no meaning tied to the color, such as colored tags."
|
|
2962
2962
|
},
|
|
2963
|
-
"value": "#
|
|
2963
|
+
"value": "#596773",
|
|
2964
2964
|
"filePath": "src/tokens/atlassian-dark/color/accent.tsx",
|
|
2965
2965
|
"isSource": true,
|
|
2966
2966
|
"original": {
|
|
@@ -3002,7 +3002,7 @@ var tokens = [{
|
|
|
3002
3002
|
"introduced": "0.0.15",
|
|
3003
3003
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3004
3004
|
},
|
|
3005
|
-
"value": "#
|
|
3005
|
+
"value": "#BCD6F00A",
|
|
3006
3006
|
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
3007
3007
|
"isSource": true,
|
|
3008
3008
|
"original": {
|
|
@@ -3012,7 +3012,7 @@ var tokens = [{
|
|
|
3012
3012
|
"introduced": "0.0.15",
|
|
3013
3013
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3014
3014
|
},
|
|
3015
|
-
"value": "
|
|
3015
|
+
"value": "DN100A"
|
|
3016
3016
|
},
|
|
3017
3017
|
"name": "color.background.disabled",
|
|
3018
3018
|
"path": ["color", "background", "disabled"]
|
|
@@ -5597,7 +5597,7 @@ var tokens = [{
|
|
|
5597
5597
|
"introduced": "0.6.0",
|
|
5598
5598
|
"description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
|
|
5599
5599
|
},
|
|
5600
|
-
"value": "#
|
|
5600
|
+
"value": "#ffffff33",
|
|
5601
5601
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5602
5602
|
"isSource": true,
|
|
5603
5603
|
"original": {
|
|
@@ -5607,7 +5607,7 @@ var tokens = [{
|
|
|
5607
5607
|
"introduced": "0.6.0",
|
|
5608
5608
|
"description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
|
|
5609
5609
|
},
|
|
5610
|
-
"value": "#
|
|
5610
|
+
"value": "#ffffff33"
|
|
5611
5611
|
},
|
|
5612
5612
|
"name": "color.interaction.hovered",
|
|
5613
5613
|
"path": ["color", "interaction", "hovered"]
|
|
@@ -5618,7 +5618,7 @@ var tokens = [{
|
|
|
5618
5618
|
"introduced": "0.6.0",
|
|
5619
5619
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5620
5620
|
},
|
|
5621
|
-
"value": "#
|
|
5621
|
+
"value": "#ffffff5c",
|
|
5622
5622
|
"filePath": "src/tokens/atlassian-dark/color/interaction.tsx",
|
|
5623
5623
|
"isSource": true,
|
|
5624
5624
|
"original": {
|
|
@@ -5628,26 +5628,30 @@ var tokens = [{
|
|
|
5628
5628
|
"introduced": "0.6.0",
|
|
5629
5629
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5630
5630
|
},
|
|
5631
|
-
"value": "#
|
|
5631
|
+
"value": "#ffffff5c"
|
|
5632
5632
|
},
|
|
5633
5633
|
"name": "color.interaction.pressed",
|
|
5634
5634
|
"path": ["color", "interaction", "pressed"]
|
|
5635
5635
|
}, {
|
|
5636
5636
|
"attributes": {
|
|
5637
5637
|
"group": "paint",
|
|
5638
|
-
"state": "
|
|
5638
|
+
"state": "deprecated",
|
|
5639
5639
|
"introduced": "0.6.0",
|
|
5640
|
-
"
|
|
5640
|
+
"deprecated": "0.10.8",
|
|
5641
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5642
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5641
5643
|
},
|
|
5642
5644
|
"value": "#ffffff33",
|
|
5643
|
-
"filePath": "src/tokens/atlassian-dark/
|
|
5645
|
+
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
5644
5646
|
"isSource": true,
|
|
5645
5647
|
"original": {
|
|
5646
5648
|
"attributes": {
|
|
5647
5649
|
"group": "paint",
|
|
5648
|
-
"state": "
|
|
5650
|
+
"state": "deprecated",
|
|
5649
5651
|
"introduced": "0.6.0",
|
|
5650
|
-
"
|
|
5652
|
+
"deprecated": "0.10.8",
|
|
5653
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5654
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5651
5655
|
},
|
|
5652
5656
|
"value": "#ffffff33"
|
|
5653
5657
|
},
|
|
@@ -5656,19 +5660,23 @@ var tokens = [{
|
|
|
5656
5660
|
}, {
|
|
5657
5661
|
"attributes": {
|
|
5658
5662
|
"group": "paint",
|
|
5659
|
-
"state": "
|
|
5663
|
+
"state": "deprecated",
|
|
5660
5664
|
"introduced": "0.6.0",
|
|
5661
|
-
"
|
|
5665
|
+
"deprecated": "0.10.8 ",
|
|
5666
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5667
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5662
5668
|
},
|
|
5663
5669
|
"value": "#ffffff5c",
|
|
5664
|
-
"filePath": "src/tokens/atlassian-dark/
|
|
5670
|
+
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
5665
5671
|
"isSource": true,
|
|
5666
5672
|
"original": {
|
|
5667
5673
|
"attributes": {
|
|
5668
5674
|
"group": "paint",
|
|
5669
|
-
"state": "
|
|
5675
|
+
"state": "deprecated",
|
|
5670
5676
|
"introduced": "0.6.0",
|
|
5671
|
-
"
|
|
5677
|
+
"deprecated": "0.10.8 ",
|
|
5678
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5679
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5672
5680
|
},
|
|
5673
5681
|
"value": "#ffffff5c"
|
|
5674
5682
|
},
|
|
@@ -6281,7 +6289,7 @@ var tokens = [{
|
|
|
6281
6289
|
"replacement": "color.interaction.pressed",
|
|
6282
6290
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
6283
6291
|
},
|
|
6284
|
-
"value": "#
|
|
6292
|
+
"value": "#9BB4CA80",
|
|
6285
6293
|
"filePath": "src/tokens/atlassian-dark/deprecated/deprecated.tsx",
|
|
6286
6294
|
"isSource": true,
|
|
6287
6295
|
"original": {
|
|
@@ -7,7 +7,7 @@ exports.default = void 0;
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
|
|
10
|
-
* @codegen <<SignedSource::
|
|
10
|
+
* @codegen <<SignedSource::fc44c853b0acd381a2c5fd8f63ae1bf6>>
|
|
11
11
|
* @codegenCommand yarn build tokens
|
|
12
12
|
*/
|
|
13
13
|
var tokens = [{
|
|
@@ -458,7 +458,7 @@ var tokens = [{
|
|
|
458
458
|
"introduced": "0.0.15",
|
|
459
459
|
"description": "Use for text in a disabled state."
|
|
460
460
|
},
|
|
461
|
-
"value": "#
|
|
461
|
+
"value": "#091E424F",
|
|
462
462
|
"filePath": "src/tokens/atlassian-light/color/text.tsx",
|
|
463
463
|
"isSource": true,
|
|
464
464
|
"original": {
|
|
@@ -468,7 +468,7 @@ var tokens = [{
|
|
|
468
468
|
"introduced": "0.0.15",
|
|
469
469
|
"description": "Use for text in a disabled state."
|
|
470
470
|
},
|
|
471
|
-
"value": "
|
|
471
|
+
"value": "N400A"
|
|
472
472
|
},
|
|
473
473
|
"name": "color.text.disabled",
|
|
474
474
|
"path": ["color", "text", "disabled"]
|
|
@@ -1109,7 +1109,7 @@ var tokens = [{
|
|
|
1109
1109
|
"introduced": "0.6.0",
|
|
1110
1110
|
"description": "Use for icons in a disabled state."
|
|
1111
1111
|
},
|
|
1112
|
-
"value": "#
|
|
1112
|
+
"value": "#091E424F",
|
|
1113
1113
|
"filePath": "src/tokens/atlassian-light/color/icon.tsx",
|
|
1114
1114
|
"isSource": true,
|
|
1115
1115
|
"original": {
|
|
@@ -1119,7 +1119,7 @@ var tokens = [{
|
|
|
1119
1119
|
"introduced": "0.6.0",
|
|
1120
1120
|
"description": "Use for icons in a disabled state."
|
|
1121
1121
|
},
|
|
1122
|
-
"value": "
|
|
1122
|
+
"value": "N400A"
|
|
1123
1123
|
},
|
|
1124
1124
|
"name": "color.icon.disabled",
|
|
1125
1125
|
"path": ["color", "icon", "disabled"]
|
|
@@ -3002,7 +3002,7 @@ var tokens = [{
|
|
|
3002
3002
|
"introduced": "0.0.15",
|
|
3003
3003
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3004
3004
|
},
|
|
3005
|
-
"value": "#
|
|
3005
|
+
"value": "#091E4208",
|
|
3006
3006
|
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
3007
3007
|
"isSource": true,
|
|
3008
3008
|
"original": {
|
|
@@ -3012,7 +3012,7 @@ var tokens = [{
|
|
|
3012
3012
|
"introduced": "0.0.15",
|
|
3013
3013
|
"description": "Use for backgrounds of elements in a disabled state."
|
|
3014
3014
|
},
|
|
3015
|
-
"value": "
|
|
3015
|
+
"value": "N100A"
|
|
3016
3016
|
},
|
|
3017
3017
|
"name": "color.background.disabled",
|
|
3018
3018
|
"path": ["color", "background", "disabled"]
|
|
@@ -5597,7 +5597,7 @@ var tokens = [{
|
|
|
5597
5597
|
"introduced": "0.6.0",
|
|
5598
5598
|
"description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
|
|
5599
5599
|
},
|
|
5600
|
-
"value": "#
|
|
5600
|
+
"value": "#00000029",
|
|
5601
5601
|
"filePath": "src/tokens/atlassian-light/color/interaction.tsx",
|
|
5602
5602
|
"isSource": true,
|
|
5603
5603
|
"original": {
|
|
@@ -5607,7 +5607,7 @@ var tokens = [{
|
|
|
5607
5607
|
"introduced": "0.6.0",
|
|
5608
5608
|
"description": "Use as a background overlay for elements in a hovered state when their background color cannot change, such as avatars."
|
|
5609
5609
|
},
|
|
5610
|
-
"value": "#
|
|
5610
|
+
"value": "#00000029"
|
|
5611
5611
|
},
|
|
5612
5612
|
"name": "color.interaction.hovered",
|
|
5613
5613
|
"path": ["color", "interaction", "hovered"]
|
|
@@ -5618,7 +5618,7 @@ var tokens = [{
|
|
|
5618
5618
|
"introduced": "0.6.0",
|
|
5619
5619
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5620
5620
|
},
|
|
5621
|
-
"value": "#
|
|
5621
|
+
"value": "#00000052",
|
|
5622
5622
|
"filePath": "src/tokens/atlassian-light/color/interaction.tsx",
|
|
5623
5623
|
"isSource": true,
|
|
5624
5624
|
"original": {
|
|
@@ -5628,26 +5628,30 @@ var tokens = [{
|
|
|
5628
5628
|
"introduced": "0.6.0",
|
|
5629
5629
|
"description": "Use as a background overlay for elements in a pressed state when their background color cannot change, such as avatars."
|
|
5630
5630
|
},
|
|
5631
|
-
"value": "#
|
|
5631
|
+
"value": "#00000052"
|
|
5632
5632
|
},
|
|
5633
5633
|
"name": "color.interaction.pressed",
|
|
5634
5634
|
"path": ["color", "interaction", "pressed"]
|
|
5635
5635
|
}, {
|
|
5636
5636
|
"attributes": {
|
|
5637
5637
|
"group": "paint",
|
|
5638
|
-
"state": "
|
|
5638
|
+
"state": "deprecated",
|
|
5639
5639
|
"introduced": "0.6.0",
|
|
5640
|
-
"
|
|
5640
|
+
"deprecated": "0.10.8",
|
|
5641
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5642
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5641
5643
|
},
|
|
5642
5644
|
"value": "#00000029",
|
|
5643
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5645
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5644
5646
|
"isSource": true,
|
|
5645
5647
|
"original": {
|
|
5646
5648
|
"attributes": {
|
|
5647
5649
|
"group": "paint",
|
|
5648
|
-
"state": "
|
|
5650
|
+
"state": "deprecated",
|
|
5649
5651
|
"introduced": "0.6.0",
|
|
5650
|
-
"
|
|
5652
|
+
"deprecated": "0.10.8",
|
|
5653
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5654
|
+
"replacement": "color.background.inverse.subtle.hovered"
|
|
5651
5655
|
},
|
|
5652
5656
|
"value": "#00000029"
|
|
5653
5657
|
},
|
|
@@ -5656,19 +5660,23 @@ var tokens = [{
|
|
|
5656
5660
|
}, {
|
|
5657
5661
|
"attributes": {
|
|
5658
5662
|
"group": "paint",
|
|
5659
|
-
"state": "
|
|
5663
|
+
"state": "deprecated",
|
|
5660
5664
|
"introduced": "0.6.0",
|
|
5661
|
-
"
|
|
5665
|
+
"deprecated": "0.10.8 ",
|
|
5666
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5667
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5662
5668
|
},
|
|
5663
5669
|
"value": "#00000052",
|
|
5664
|
-
"filePath": "src/tokens/atlassian-light/
|
|
5670
|
+
"filePath": "src/tokens/atlassian-light/deprecated/deprecated.tsx",
|
|
5665
5671
|
"isSource": true,
|
|
5666
5672
|
"original": {
|
|
5667
5673
|
"attributes": {
|
|
5668
5674
|
"group": "paint",
|
|
5669
|
-
"state": "
|
|
5675
|
+
"state": "deprecated",
|
|
5670
5676
|
"introduced": "0.6.0",
|
|
5671
|
-
"
|
|
5677
|
+
"deprecated": "0.10.8 ",
|
|
5678
|
+
"description": "Use as a background overlay for elements in a hovered state on bold backgrounds, such as the buttons on spotlight cards.",
|
|
5679
|
+
"replacement": "color.background.inverse.subtle.pressed"
|
|
5672
5680
|
},
|
|
5673
5681
|
"value": "#00000052"
|
|
5674
5682
|
},
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -14,7 +14,7 @@ var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
|
14
14
|
var _constants = require("./constants");
|
|
15
15
|
|
|
16
16
|
var name = "@atlaskit/tokens";
|
|
17
|
-
var version = "0.10.
|
|
17
|
+
var version = "0.10.13";
|
|
18
18
|
|
|
19
19
|
function token(path, fallback) {
|
|
20
20
|
var token = _tokenNames.default[path];
|
|
@@ -9,21 +9,11 @@ var color = {
|
|
|
9
9
|
interaction: {
|
|
10
10
|
hovered: {
|
|
11
11
|
// @ts-ignore temporary values
|
|
12
|
-
value: '#
|
|
12
|
+
value: '#ffffff33'
|
|
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: '#ffffff33'
|
|
22
|
-
},
|
|
23
|
-
pressed: {
|
|
24
|
-
// @ts-ignore temporary values
|
|
25
|
-
value: '#ffffff5c'
|
|
26
|
-
}
|
|
16
|
+
value: '#ffffff5c'
|
|
27
17
|
}
|
|
28
18
|
}
|
|
29
19
|
}
|