@atlaskit/tokens 0.4.1 → 0.6.1
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 +31 -0
- package/css/atlassian-dark.css +196 -67
- package/css/atlassian-light.css +196 -67
- package/dist/cjs/artifacts/rename-mapping.js +322 -2
- package/dist/cjs/artifacts/token-default-values.js +196 -67
- package/dist/cjs/artifacts/token-names.js +196 -67
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/cjs/artifacts/types-internal.js +5 -0
- package/dist/cjs/get-token.js +10 -3
- package/dist/cjs/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/cjs/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/cjs/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/cjs/tokens/atlassian-dark/color/icon.js +49 -0
- package/dist/cjs/tokens/atlassian-dark/color/interaction.js +32 -0
- package/dist/cjs/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/cjs/tokens/atlassian-dark/deprecated/deprecated.js +344 -0
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +66 -0
- package/dist/cjs/tokens/atlassian-dark/elevation/surface.js +26 -0
- package/dist/cjs/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/cjs/tokens/atlassian-light/color/background.js +178 -154
- package/dist/cjs/tokens/atlassian-light/color/border.js +26 -2
- package/dist/cjs/tokens/atlassian-light/color/icon.js +49 -0
- package/dist/cjs/tokens/atlassian-light/color/interaction.js +32 -0
- package/dist/cjs/tokens/atlassian-light/color/text.js +25 -23
- package/dist/cjs/tokens/atlassian-light/deprecated/deprecated.js +330 -0
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +52 -0
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +26 -0
- package/dist/cjs/tokens/default/color/accent.js +306 -87
- package/dist/cjs/tokens/default/color/background.js +339 -309
- package/dist/cjs/tokens/default/color/border.js +60 -4
- package/dist/cjs/tokens/default/color/icon.js +93 -0
- package/dist/cjs/tokens/default/color/interaction.js +44 -0
- package/dist/cjs/tokens/default/color/text.js +37 -35
- package/dist/cjs/tokens/default/deprecated/deprecated.js +698 -0
- package/dist/cjs/tokens/default/elevation/shadow.js +28 -0
- package/dist/cjs/tokens/default/elevation/surface.js +42 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +322 -2
- package/dist/es2019/artifacts/token-default-values.js +196 -67
- package/dist/es2019/artifacts/token-names.js +196 -67
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/es2019/artifacts/types-internal.js +1 -0
- package/dist/es2019/get-token.js +8 -3
- package/dist/es2019/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/es2019/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/es2019/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/es2019/tokens/atlassian-dark/color/icon.js +42 -0
- package/dist/es2019/tokens/atlassian-dark/color/interaction.js +25 -0
- package/dist/es2019/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/es2019/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +59 -0
- package/dist/es2019/tokens/atlassian-dark/elevation/surface.js +19 -0
- package/dist/es2019/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/es2019/tokens/atlassian-light/color/background.js +178 -154
- package/dist/es2019/tokens/atlassian-light/color/border.js +26 -2
- package/dist/es2019/tokens/atlassian-light/color/icon.js +42 -0
- package/dist/es2019/tokens/atlassian-light/color/interaction.js +25 -0
- package/dist/es2019/tokens/atlassian-light/color/text.js +25 -23
- package/dist/es2019/tokens/atlassian-light/deprecated/deprecated.js +323 -0
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +45 -0
- package/dist/es2019/tokens/atlassian-light/elevation/surface.js +19 -0
- package/dist/es2019/tokens/default/color/accent.js +306 -87
- package/dist/es2019/tokens/default/color/background.js +339 -314
- package/dist/es2019/tokens/default/color/border.js +60 -4
- package/dist/es2019/tokens/default/color/icon.js +86 -0
- package/dist/es2019/tokens/default/color/interaction.js +37 -0
- package/dist/es2019/tokens/default/color/text.js +37 -42
- package/dist/es2019/tokens/default/deprecated/deprecated.js +729 -0
- package/dist/es2019/tokens/default/elevation/shadow.js +23 -0
- package/dist/es2019/tokens/default/elevation/surface.js +37 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +322 -2
- package/dist/esm/artifacts/token-default-values.js +196 -67
- package/dist/esm/artifacts/token-names.js +196 -67
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +3311 -616
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +3296 -621
- package/dist/esm/artifacts/types-internal.js +1 -0
- package/dist/esm/get-token.js +8 -3
- package/dist/esm/tokens/atlassian-dark/color/accent.js +150 -39
- package/dist/esm/tokens/atlassian-dark/color/background.js +178 -154
- package/dist/esm/tokens/atlassian-dark/color/border.js +26 -2
- package/dist/esm/tokens/atlassian-dark/color/icon.js +42 -0
- package/dist/esm/tokens/atlassian-dark/color/interaction.js +25 -0
- package/dist/esm/tokens/atlassian-dark/color/text.js +25 -23
- package/dist/esm/tokens/atlassian-dark/deprecated/deprecated.js +337 -0
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +59 -0
- package/dist/esm/tokens/atlassian-dark/elevation/surface.js +19 -0
- package/dist/esm/tokens/atlassian-light/color/accent.js +150 -39
- package/dist/esm/tokens/atlassian-light/color/background.js +178 -154
- package/dist/esm/tokens/atlassian-light/color/border.js +26 -2
- package/dist/esm/tokens/atlassian-light/color/icon.js +42 -0
- package/dist/esm/tokens/atlassian-light/color/interaction.js +25 -0
- package/dist/esm/tokens/atlassian-light/color/text.js +25 -23
- package/dist/esm/tokens/atlassian-light/deprecated/deprecated.js +323 -0
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +45 -0
- package/dist/esm/tokens/atlassian-light/elevation/surface.js +19 -0
- package/dist/esm/tokens/default/color/accent.js +306 -87
- package/dist/esm/tokens/default/color/background.js +339 -309
- package/dist/esm/tokens/default/color/border.js +60 -4
- package/dist/esm/tokens/default/color/icon.js +86 -0
- package/dist/esm/tokens/default/color/interaction.js +37 -0
- package/dist/esm/tokens/default/color/text.js +37 -35
- package/dist/esm/tokens/default/deprecated/deprecated.js +691 -0
- package/dist/esm/tokens/default/elevation/shadow.js +21 -0
- package/dist/esm/tokens/default/elevation/surface.js +35 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/rename-mapping.d.ts +7 -3
- package/dist/types/artifacts/token-default-values.d.ts +196 -67
- package/dist/types/artifacts/token-names.d.ts +392 -134
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +86 -0
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +62 -0
- package/dist/types/artifacts/types-internal.d.ts +4 -0
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/get-token.d.ts +2 -2
- package/dist/types/tokens/atlassian-dark/color/icon.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/color/interaction.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/atlassian-dark/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/atlassian-dark/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/color/icon.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/color/interaction.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/atlassian-light/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/atlassian-light/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/default/color/icon.d.ts +3 -0
- package/dist/types/tokens/default/color/interaction.d.ts +3 -0
- package/dist/types/tokens/default/deprecated/deprecated.d.ts +3 -0
- package/dist/types/tokens/default/{shadow → elevation}/shadow.d.ts +0 -0
- package/dist/types/tokens/default/elevation/surface.d.ts +3 -0
- package/dist/types/tokens/default/utility/utility.d.ts +72 -72
- package/dist/types/types.d.ts +294 -54
- package/package.json +18 -8
- package/dist/cjs/tokens/atlassian-dark/color/icon-border.js +0 -29
- package/dist/cjs/tokens/atlassian-dark/color/overlay.js +0 -20
- package/dist/cjs/tokens/atlassian-dark/shadow/shadow.js +0 -64
- package/dist/cjs/tokens/atlassian-light/color/icon-border.js +0 -29
- package/dist/cjs/tokens/atlassian-light/color/overlay.js +0 -20
- package/dist/cjs/tokens/atlassian-light/shadow/shadow.js +0 -50
- package/dist/cjs/tokens/default/color/icon-border.js +0 -49
- package/dist/cjs/tokens/default/color/overlay.js +0 -28
- package/dist/cjs/tokens/default/shadow/shadow.js +0 -26
- package/dist/es2019/tokens/atlassian-dark/color/icon-border.js +0 -22
- package/dist/es2019/tokens/atlassian-dark/color/overlay.js +0 -13
- package/dist/es2019/tokens/atlassian-dark/shadow/shadow.js +0 -57
- package/dist/es2019/tokens/atlassian-light/color/icon-border.js +0 -22
- package/dist/es2019/tokens/atlassian-light/color/overlay.js +0 -13
- package/dist/es2019/tokens/atlassian-light/shadow/shadow.js +0 -43
- package/dist/es2019/tokens/default/color/icon-border.js +0 -60
- package/dist/es2019/tokens/default/color/overlay.js +0 -21
- package/dist/es2019/tokens/default/shadow/shadow.js +0 -27
- package/dist/esm/tokens/atlassian-dark/color/icon-border.js +0 -22
- package/dist/esm/tokens/atlassian-dark/color/overlay.js +0 -13
- package/dist/esm/tokens/atlassian-dark/shadow/shadow.js +0 -57
- package/dist/esm/tokens/atlassian-light/color/icon-border.js +0 -22
- package/dist/esm/tokens/atlassian-light/color/overlay.js +0 -13
- package/dist/esm/tokens/atlassian-light/shadow/shadow.js +0 -43
- package/dist/esm/tokens/default/color/icon-border.js +0 -42
- package/dist/esm/tokens/default/color/overlay.js +0 -21
- package/dist/esm/tokens/default/shadow/shadow.js +0 -19
- package/dist/types/tokens/atlassian-dark/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/atlassian-dark/color/overlay.d.ts +0 -3
- package/dist/types/tokens/atlassian-light/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/atlassian-light/color/overlay.d.ts +0 -3
- package/dist/types/tokens/default/color/icon-border.d.ts +0 -3
- package/dist/types/tokens/default/color/overlay.d.ts +0 -3
- package/tokens-browser-extension/README.md +0 -28
- package/tokens-browser-extension/atlassian-theme.css +0 -449
- package/tokens-browser-extension/background.js +0 -75
- package/tokens-browser-extension/content-script.js +0 -75
- package/tokens-browser-extension/devtools.html +0 -1
- package/tokens-browser-extension/devtools.js +0 -14
- package/tokens-browser-extension/manifest.json +0 -36
- package/tokens-browser-extension/messageback-script.js +0 -10
- package/tokens-browser-extension/messaging.js +0 -36
- package/tokens-browser-extension/panel.html +0 -25
- package/tokens-browser-extension/panel.js +0 -46
- package/tokens-browser-extension/toast.png +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var shadow = {
|
|
8
|
+
elevation: {
|
|
9
|
+
shadow: {
|
|
10
|
+
raised: {
|
|
11
|
+
attributes: {
|
|
12
|
+
group: 'shadow',
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: "Use for the box shadow of raised card elements, such as Jira cards on a Kanban board. Combine with elevation.surface.raised"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
overlay: {
|
|
18
|
+
attributes: {
|
|
19
|
+
group: 'shadow',
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: "Use for the box shadow of elements that sit on top of the UI, such as modals, dropdown menus, flags, and inline dialogs. Combine with elevation.surface.overlay\n\nAlso use for the box shadow of raised cards in a dragged state."
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
var _default = shadow;
|
|
28
|
+
exports.default = _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var shadow = {
|
|
8
|
+
elevation: {
|
|
9
|
+
surface: {
|
|
10
|
+
'[default]': {
|
|
11
|
+
attributes: {
|
|
12
|
+
group: 'paint',
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use as the primary background for the UI.'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
sunken: {
|
|
18
|
+
attributes: {
|
|
19
|
+
group: 'paint',
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: 'A secondary background for the UI commonly used for grouping items, such as Jira cards in columns.'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
raised: {
|
|
25
|
+
attributes: {
|
|
26
|
+
group: 'paint',
|
|
27
|
+
state: 'active',
|
|
28
|
+
description: 'Use for the background of raised cards, such as Jira cards on a Kanban board. Combine with elevation.shadow.raised'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
overlay: {
|
|
32
|
+
attributes: {
|
|
33
|
+
group: 'paint',
|
|
34
|
+
state: 'active',
|
|
35
|
+
description: "Use for the background of elements that sit on top of they UI, such as modals, dropdown menus, flags, and inline dialogs. Combine with elevation.shadow.overlay\n\nAlso use for the background of raised cards in a dragged state."
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
var _default = shadow;
|
|
42
|
+
exports.default = _default;
|
package/dist/cjs/version.json
CHANGED
|
@@ -6,11 +6,331 @@
|
|
|
6
6
|
* 1. Mark the old token's 'state' as deprecated
|
|
7
7
|
* 2. Add a 'rename' attribute to the token with the value 'my.new.token'
|
|
8
8
|
* 3. Create a new token matching the token above: 'my.new.token'
|
|
9
|
-
* 4. Run '
|
|
9
|
+
* 4. Run 'yarn build tokens' to have you changes reflected in this map
|
|
10
10
|
* 5. eslint and other tools will now use this to automate replacing tokens
|
|
11
11
|
*
|
|
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
|
-
const renameMapper = {
|
|
15
|
+
const renameMapper = [{
|
|
16
|
+
"path": "color.text.highEmphasis",
|
|
17
|
+
"state": "deprecated",
|
|
18
|
+
"replacement": "color.text.[default]"
|
|
19
|
+
}, {
|
|
20
|
+
"path": "color.text.link.pressed",
|
|
21
|
+
"state": "deprecated",
|
|
22
|
+
"replacement": "color.link.pressed"
|
|
23
|
+
}, {
|
|
24
|
+
"path": "color.text.link.resting",
|
|
25
|
+
"state": "deprecated",
|
|
26
|
+
"replacement": "color.link.[default]"
|
|
27
|
+
}, {
|
|
28
|
+
"path": "color.text.lowEmphasis",
|
|
29
|
+
"state": "deprecated",
|
|
30
|
+
"replacement": "color.text.subtlest"
|
|
31
|
+
}, {
|
|
32
|
+
"path": "color.text.mediumEmphasis",
|
|
33
|
+
"state": "deprecated",
|
|
34
|
+
"replacement": "color.text.subtle"
|
|
35
|
+
}, {
|
|
36
|
+
"path": "color.text.onBold",
|
|
37
|
+
"state": "deprecated",
|
|
38
|
+
"replacement": "color.text.inverse"
|
|
39
|
+
}, {
|
|
40
|
+
"path": "color.text.onBoldWarning",
|
|
41
|
+
"state": "deprecated",
|
|
42
|
+
"replacement": "color.text.warning.inverse"
|
|
43
|
+
}, {
|
|
44
|
+
"path": "color.text.selected",
|
|
45
|
+
"state": "deprecated",
|
|
46
|
+
"replacement": "color.text.brand"
|
|
47
|
+
}, {
|
|
48
|
+
"path": "color.border.focus",
|
|
49
|
+
"state": "deprecated",
|
|
50
|
+
"replacement": "color.border.focused"
|
|
51
|
+
}, {
|
|
52
|
+
"path": "color.border.neutral",
|
|
53
|
+
"state": "deprecated",
|
|
54
|
+
"replacement": "color.border.[default]"
|
|
55
|
+
}, {
|
|
56
|
+
"path": "color.background.blanket",
|
|
57
|
+
"state": "deprecated",
|
|
58
|
+
"replacement": "color.blanket"
|
|
59
|
+
}, {
|
|
60
|
+
"path": "color.background.boldBrand.hover",
|
|
61
|
+
"state": "deprecated",
|
|
62
|
+
"replacement": "color.background.brand.bold.hovered"
|
|
63
|
+
}, {
|
|
64
|
+
"path": "color.background.boldBrand.pressed",
|
|
65
|
+
"state": "deprecated",
|
|
66
|
+
"replacement": "color.background.brand.bold.pressed"
|
|
67
|
+
}, {
|
|
68
|
+
"path": "color.background.boldBrand.resting",
|
|
69
|
+
"state": "deprecated",
|
|
70
|
+
"replacement": "color.background.brand.bold.[default]"
|
|
71
|
+
}, {
|
|
72
|
+
"path": "color.background.boldDanger.hover",
|
|
73
|
+
"state": "deprecated",
|
|
74
|
+
"replacement": "color.background.danger.bold.hovered"
|
|
75
|
+
}, {
|
|
76
|
+
"path": "color.background.boldDanger.pressed",
|
|
77
|
+
"state": "deprecated",
|
|
78
|
+
"replacement": "color.background.danger.bold.pressed"
|
|
79
|
+
}, {
|
|
80
|
+
"path": "color.background.boldDanger.resting",
|
|
81
|
+
"state": "deprecated",
|
|
82
|
+
"replacement": "color.background.danger.bold.[default]"
|
|
83
|
+
}, {
|
|
84
|
+
"path": "color.background.boldDiscovery.hover",
|
|
85
|
+
"state": "deprecated",
|
|
86
|
+
"replacement": "color.background.discovery.bold.hovered"
|
|
87
|
+
}, {
|
|
88
|
+
"path": "color.background.boldDiscovery.pressed",
|
|
89
|
+
"state": "deprecated",
|
|
90
|
+
"replacement": "color.background.discovery.bold.pressed"
|
|
91
|
+
}, {
|
|
92
|
+
"path": "color.background.boldDiscovery.resting",
|
|
93
|
+
"state": "deprecated",
|
|
94
|
+
"replacement": "color.background.discovery.bold.[default]"
|
|
95
|
+
}, {
|
|
96
|
+
"path": "color.background.boldNeutral.hover",
|
|
97
|
+
"state": "deprecated",
|
|
98
|
+
"replacement": "color.background.neutral.bold.hovered"
|
|
99
|
+
}, {
|
|
100
|
+
"path": "color.background.boldNeutral.pressed",
|
|
101
|
+
"state": "deprecated",
|
|
102
|
+
"replacement": "color.background.neutral.bold.pressed"
|
|
103
|
+
}, {
|
|
104
|
+
"path": "color.background.boldNeutral.resting",
|
|
105
|
+
"state": "deprecated",
|
|
106
|
+
"replacement": "color.background.neutral.bold.[default]"
|
|
107
|
+
}, {
|
|
108
|
+
"path": "color.background.boldSuccess.hover",
|
|
109
|
+
"state": "deprecated",
|
|
110
|
+
"replacement": "color.background.success.bold.hovered"
|
|
111
|
+
}, {
|
|
112
|
+
"path": "color.background.boldSuccess.pressed",
|
|
113
|
+
"state": "deprecated",
|
|
114
|
+
"replacement": "color.background.success.bold.pressed"
|
|
115
|
+
}, {
|
|
116
|
+
"path": "color.background.boldSuccess.resting",
|
|
117
|
+
"state": "deprecated",
|
|
118
|
+
"replacement": "color.background.success.bold.[default]"
|
|
119
|
+
}, {
|
|
120
|
+
"path": "color.background.boldWarning.hover",
|
|
121
|
+
"state": "deprecated",
|
|
122
|
+
"replacement": "color.background.warning.bold.hovered"
|
|
123
|
+
}, {
|
|
124
|
+
"path": "color.background.boldWarning.pressed",
|
|
125
|
+
"state": "deprecated",
|
|
126
|
+
"replacement": "color.background.warning.bold.pressed"
|
|
127
|
+
}, {
|
|
128
|
+
"path": "color.background.boldWarning.resting",
|
|
129
|
+
"state": "deprecated",
|
|
130
|
+
"replacement": "color.background.warning.bold.[default]"
|
|
131
|
+
}, {
|
|
132
|
+
"path": "color.background.card",
|
|
133
|
+
"state": "deprecated",
|
|
134
|
+
"replacement": "elevation.surface.raised"
|
|
135
|
+
}, {
|
|
136
|
+
"path": "color.background.default",
|
|
137
|
+
"state": "deprecated",
|
|
138
|
+
"replacement": "elevation.surface.[default]"
|
|
139
|
+
}, {
|
|
140
|
+
"path": "color.background.overlay",
|
|
141
|
+
"state": "deprecated",
|
|
142
|
+
"replacement": "elevation.surface.overlay"
|
|
143
|
+
}, {
|
|
144
|
+
"path": "color.background.selected.resting",
|
|
145
|
+
"state": "deprecated",
|
|
146
|
+
"replacement": "color.background.brand.[default].[default]"
|
|
147
|
+
}, {
|
|
148
|
+
"path": "color.background.selected.hover",
|
|
149
|
+
"state": "deprecated",
|
|
150
|
+
"replacement": "color.background.brand.[default].hovered"
|
|
151
|
+
}, {
|
|
152
|
+
"path": "color.background.selected.pressed",
|
|
153
|
+
"state": "deprecated",
|
|
154
|
+
"replacement": "color.background.brand.[default].pressed"
|
|
155
|
+
}, {
|
|
156
|
+
"path": "color.background.subtleBorderedNeutral.pressed",
|
|
157
|
+
"state": "deprecated",
|
|
158
|
+
"replacement": "color.background.input.pressed"
|
|
159
|
+
}, {
|
|
160
|
+
"path": "color.background.subtleBorderedNeutral.resting",
|
|
161
|
+
"state": "deprecated",
|
|
162
|
+
"replacement": "color.background.input.[default]"
|
|
163
|
+
}, {
|
|
164
|
+
"path": "color.background.subtleBrand.hover",
|
|
165
|
+
"state": "deprecated",
|
|
166
|
+
"replacement": "color.background.brand.[default].hovered"
|
|
167
|
+
}, {
|
|
168
|
+
"path": "color.background.subtleBrand.pressed",
|
|
169
|
+
"state": "deprecated",
|
|
170
|
+
"replacement": "color.background.brand.[default].pressed"
|
|
171
|
+
}, {
|
|
172
|
+
"path": "color.background.subtleBrand.resting",
|
|
173
|
+
"state": "deprecated",
|
|
174
|
+
"replacement": "color.background.brand.[default].[default]"
|
|
175
|
+
}, {
|
|
176
|
+
"path": "color.background.subtleDanger.hover",
|
|
177
|
+
"state": "deprecated",
|
|
178
|
+
"replacement": "color.background.danger.[default].hovered"
|
|
179
|
+
}, {
|
|
180
|
+
"path": "color.background.subtleDanger.pressed",
|
|
181
|
+
"state": "deprecated",
|
|
182
|
+
"replacement": "color.background.danger.[default].pressed"
|
|
183
|
+
}, {
|
|
184
|
+
"path": "color.background.subtleDanger.resting",
|
|
185
|
+
"state": "deprecated",
|
|
186
|
+
"replacement": "color.background.danger.[default].[default]"
|
|
187
|
+
}, {
|
|
188
|
+
"path": "color.background.subtleDiscovery.hover",
|
|
189
|
+
"state": "deprecated",
|
|
190
|
+
"replacement": "color.background.discovery.[default].hovered"
|
|
191
|
+
}, {
|
|
192
|
+
"path": "color.background.subtleDiscovery.pressed",
|
|
193
|
+
"state": "deprecated",
|
|
194
|
+
"replacement": "color.background.discovery.[default].pressed"
|
|
195
|
+
}, {
|
|
196
|
+
"path": "color.background.subtleDiscovery.resting",
|
|
197
|
+
"state": "deprecated",
|
|
198
|
+
"replacement": "color.background.discovery.[default].[default]"
|
|
199
|
+
}, {
|
|
200
|
+
"path": "color.background.subtleNeutral.hover",
|
|
201
|
+
"state": "deprecated",
|
|
202
|
+
"replacement": "color.background.neutral.[default].hovered"
|
|
203
|
+
}, {
|
|
204
|
+
"path": "color.background.subtleNeutral.pressed",
|
|
205
|
+
"state": "deprecated",
|
|
206
|
+
"replacement": "color.background.neutral.[default].pressed"
|
|
207
|
+
}, {
|
|
208
|
+
"path": "color.background.subtleNeutral.resting",
|
|
209
|
+
"state": "deprecated",
|
|
210
|
+
"replacement": "color.background.neutral.[default].[default]"
|
|
211
|
+
}, {
|
|
212
|
+
"path": "color.background.subtleSuccess.hover",
|
|
213
|
+
"state": "deprecated",
|
|
214
|
+
"replacement": "color.background.success.[default].hovered"
|
|
215
|
+
}, {
|
|
216
|
+
"path": "color.background.subtleSuccess.pressed",
|
|
217
|
+
"state": "deprecated",
|
|
218
|
+
"replacement": "color.background.success.[default].pressed"
|
|
219
|
+
}, {
|
|
220
|
+
"path": "color.background.subtleSuccess.resting",
|
|
221
|
+
"state": "deprecated",
|
|
222
|
+
"replacement": "color.background.success.[default].[default]"
|
|
223
|
+
}, {
|
|
224
|
+
"path": "color.background.subtleWarning.hover",
|
|
225
|
+
"state": "deprecated",
|
|
226
|
+
"replacement": "color.background.warning.[default].hovered"
|
|
227
|
+
}, {
|
|
228
|
+
"path": "color.background.subtleWarning.pressed",
|
|
229
|
+
"state": "deprecated",
|
|
230
|
+
"replacement": "color.background.warning.[default].pressed"
|
|
231
|
+
}, {
|
|
232
|
+
"path": "color.background.subtleWarning.resting",
|
|
233
|
+
"state": "deprecated",
|
|
234
|
+
"replacement": "color.background.warning.[default].[default]"
|
|
235
|
+
}, {
|
|
236
|
+
"path": "color.background.sunken",
|
|
237
|
+
"state": "deprecated",
|
|
238
|
+
"replacement": "elevation.surface.sunken"
|
|
239
|
+
}, {
|
|
240
|
+
"path": "color.background.transparentNeutral.hover",
|
|
241
|
+
"state": "deprecated",
|
|
242
|
+
"replacement": "color.background.neutral.subtle.hovered"
|
|
243
|
+
}, {
|
|
244
|
+
"path": "color.background.transparentNeutral.pressed",
|
|
245
|
+
"state": "deprecated",
|
|
246
|
+
"replacement": "color.background.neutral.subtle.pressed"
|
|
247
|
+
}, {
|
|
248
|
+
"path": "color.accent.boldBlue",
|
|
249
|
+
"state": "deprecated",
|
|
250
|
+
"replacement": "color.background.accent.blue.bold"
|
|
251
|
+
}, {
|
|
252
|
+
"path": "color.accent.boldGreen",
|
|
253
|
+
"state": "deprecated",
|
|
254
|
+
"replacement": "color.background.accent.green.bold"
|
|
255
|
+
}, {
|
|
256
|
+
"path": "color.accent.boldOrange",
|
|
257
|
+
"state": "deprecated",
|
|
258
|
+
"replacement": "color.background.accent.orange.bold"
|
|
259
|
+
}, {
|
|
260
|
+
"path": "color.accent.boldPurple",
|
|
261
|
+
"state": "deprecated",
|
|
262
|
+
"replacement": "color.background.accent.purple.bold"
|
|
263
|
+
}, {
|
|
264
|
+
"path": "color.accent.boldRed",
|
|
265
|
+
"state": "deprecated",
|
|
266
|
+
"replacement": "color.background.accent.red.bold"
|
|
267
|
+
}, {
|
|
268
|
+
"path": "color.accent.boldTeal",
|
|
269
|
+
"state": "deprecated",
|
|
270
|
+
"replacement": "color.background.accent.teal.bold"
|
|
271
|
+
}, {
|
|
272
|
+
"path": "color.accent.subtleBlue",
|
|
273
|
+
"state": "deprecated",
|
|
274
|
+
"replacement": "color.background.accent.blue.[default]"
|
|
275
|
+
}, {
|
|
276
|
+
"path": "color.accent.subtleGreen",
|
|
277
|
+
"state": "deprecated",
|
|
278
|
+
"replacement": "color.background.accent.green.[default]"
|
|
279
|
+
}, {
|
|
280
|
+
"path": "color.accent.subtleMagenta",
|
|
281
|
+
"state": "deprecated",
|
|
282
|
+
"replacement": "color.background.accent.magenta.[default]"
|
|
283
|
+
}, {
|
|
284
|
+
"path": "color.accent.subtleOrange",
|
|
285
|
+
"state": "deprecated",
|
|
286
|
+
"replacement": "color.background.accent.orange.[default]"
|
|
287
|
+
}, {
|
|
288
|
+
"path": "color.accent.subtlePurple",
|
|
289
|
+
"state": "deprecated",
|
|
290
|
+
"replacement": "color.background.accent.purple.[default]"
|
|
291
|
+
}, {
|
|
292
|
+
"path": "color.accent.subtleRed",
|
|
293
|
+
"state": "deprecated",
|
|
294
|
+
"replacement": "color.background.accent.red.[default]"
|
|
295
|
+
}, {
|
|
296
|
+
"path": "color.accent.subtleTeal",
|
|
297
|
+
"state": "deprecated",
|
|
298
|
+
"replacement": "color.background.accent.teal.[default]"
|
|
299
|
+
}, {
|
|
300
|
+
"path": "color.iconBorder.brand",
|
|
301
|
+
"state": "deprecated",
|
|
302
|
+
"replacement": "color.icon.brand"
|
|
303
|
+
}, {
|
|
304
|
+
"path": "color.iconBorder.danger",
|
|
305
|
+
"state": "deprecated",
|
|
306
|
+
"replacement": "color.icon.danger"
|
|
307
|
+
}, {
|
|
308
|
+
"path": "color.iconBorder.discovery",
|
|
309
|
+
"state": "deprecated",
|
|
310
|
+
"replacement": "color.icon.discovery"
|
|
311
|
+
}, {
|
|
312
|
+
"path": "color.iconBorder.success",
|
|
313
|
+
"state": "deprecated",
|
|
314
|
+
"replacement": "color.icon.success"
|
|
315
|
+
}, {
|
|
316
|
+
"path": "color.iconBorder.warning",
|
|
317
|
+
"state": "deprecated",
|
|
318
|
+
"replacement": "color.icon.warning.[default]"
|
|
319
|
+
}, {
|
|
320
|
+
"path": "color.overlay.hover",
|
|
321
|
+
"state": "deprecated",
|
|
322
|
+
"replacement": "color.interaction.hovered"
|
|
323
|
+
}, {
|
|
324
|
+
"path": "color.overlay.pressed",
|
|
325
|
+
"state": "deprecated",
|
|
326
|
+
"replacement": "color.interaction.pressed"
|
|
327
|
+
}, {
|
|
328
|
+
"path": "shadow.card",
|
|
329
|
+
"state": "deprecated",
|
|
330
|
+
"replacement": "elevation.shadow.raised"
|
|
331
|
+
}, {
|
|
332
|
+
"path": "shadow.overlay",
|
|
333
|
+
"state": "deprecated",
|
|
334
|
+
"replacement": "elevation.shadow.overlay"
|
|
335
|
+
}];
|
|
16
336
|
export default renameMapper;
|