@atlaskit/tokens 0.7.0 → 0.7.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 +6 -0
- package/css/atlassian-dark.css +2 -0
- package/css/atlassian-light.css +2 -0
- package/dist/cjs/artifacts/rename-mapping.js +1 -1
- package/dist/cjs/artifacts/token-default-values.js +2 -0
- package/dist/cjs/artifacts/token-names.js +2 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +42 -4
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +42 -4
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/cjs/tokens/atlassian-light/color/background.js +11 -1
- package/dist/cjs/tokens/default/color/background.js +20 -4
- package/dist/cjs/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +1 -1
- package/dist/es2019/artifacts/token-default-values.js +2 -0
- package/dist/es2019/artifacts/token-names.js +2 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +42 -4
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +42 -4
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/es2019/tokens/atlassian-light/color/background.js +11 -1
- package/dist/es2019/tokens/default/color/background.js +20 -4
- package/dist/es2019/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +1 -1
- package/dist/esm/artifacts/token-default-values.js +2 -0
- package/dist/esm/artifacts/token-names.js +2 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +42 -4
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +42 -4
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/esm/tokens/atlassian-light/color/background.js +11 -1
- package/dist/esm/tokens/default/color/background.js +20 -4
- package/dist/esm/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +2 -0
- package/dist/types/artifacts/token-names.d.ts +4 -0
- package/dist/types/artifacts/types-internal.d.ts +1 -1
- package/dist/types/artifacts/types.d.ts +1 -1
- package/dist/types/tokens/default/utility/utility.d.ts +10 -10
- package/dist/types/types.d.ts +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 0.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5d35c6b1c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d35c6b1c5f) - Adding new tokens for `color.blanket.selected` and `color.blanket.danger`
|
|
8
|
+
|
|
3
9
|
## 0.7.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/css/atlassian-dark.css
CHANGED
|
@@ -230,6 +230,8 @@ html[data-theme="dark"] {
|
|
|
230
230
|
--ds-background-transparentNeutral-hover: #A1BDD914;
|
|
231
231
|
--ds-background-transparentNeutral-pressed: #A6C5E229;
|
|
232
232
|
--ds-blanket: #03040442;
|
|
233
|
+
--ds-blanket-selected: #1D7AFCCC;
|
|
234
|
+
--ds-blanket-danger: #E34935CC;
|
|
233
235
|
--ds-interaction-hovered: #00000029;
|
|
234
236
|
--ds-interaction-pressed: #00000052;
|
|
235
237
|
--ds-interaction-inverse-hovered: #ffffff33;
|
package/css/atlassian-light.css
CHANGED
|
@@ -230,6 +230,8 @@
|
|
|
230
230
|
--ds-background-transparentNeutral-hover: #091E420F;
|
|
231
231
|
--ds-background-transparentNeutral-pressed: #091E4224;
|
|
232
232
|
--ds-blanket: #091E427A;
|
|
233
|
+
--ds-blanket-selected: #388BFFCC;
|
|
234
|
+
--ds-blanket-danger: #EF5C48CC;
|
|
233
235
|
--ds-interaction-hovered: #ffffff33;
|
|
234
236
|
--ds-interaction-pressed: #ffffff5c;
|
|
235
237
|
--ds-interaction-inverse-hovered: #00000029;
|
|
@@ -141,7 +141,7 @@ var renameMapper = [{
|
|
|
141
141
|
}, {
|
|
142
142
|
"path": "color.background.blanket",
|
|
143
143
|
"state": "deprecated",
|
|
144
|
-
"replacement": "color.blanket"
|
|
144
|
+
"replacement": "color.blanket.[default]"
|
|
145
145
|
}, {
|
|
146
146
|
"path": "color.background.boldBrand.hover",
|
|
147
147
|
"state": "deprecated",
|
|
@@ -240,6 +240,8 @@ var defaultTokenValues = {
|
|
|
240
240
|
'color.background.transparentNeutral.hover': '#091E420F',
|
|
241
241
|
'color.background.transparentNeutral.pressed': '#091E4224',
|
|
242
242
|
'color.blanket': '#091E427A',
|
|
243
|
+
'color.blanket.selected': '#388BFFCC',
|
|
244
|
+
'color.blanket.danger': '#EF5C48CC',
|
|
243
245
|
'color.interaction.hovered': '#ffffff33',
|
|
244
246
|
'color.interaction.pressed': '#ffffff5c',
|
|
245
247
|
'color.interaction.inverse.hovered': '#00000029',
|
|
@@ -236,6 +236,8 @@ var tokens = {
|
|
|
236
236
|
'color.background.transparentNeutral.hover': '--ds-background-transparentNeutral-hover',
|
|
237
237
|
'color.background.transparentNeutral.pressed': '--ds-background-transparentNeutral-pressed',
|
|
238
238
|
'color.blanket': '--ds-blanket',
|
|
239
|
+
'color.blanket.selected': '--ds-blanket-selected',
|
|
240
|
+
'color.blanket.danger': '--ds-blanket-danger',
|
|
239
241
|
'color.interaction.hovered': '--ds-interaction-hovered',
|
|
240
242
|
'color.interaction.pressed': '--ds-interaction-pressed',
|
|
241
243
|
'color.interaction.inverse.hovered': '--ds-interaction-inverse-hovered',
|
|
@@ -3547,7 +3547,7 @@ var tokens = [{
|
|
|
3547
3547
|
"attributes": {
|
|
3548
3548
|
"group": "paint",
|
|
3549
3549
|
"state": "deprecated",
|
|
3550
|
-
"replacement": "color.blanket",
|
|
3550
|
+
"replacement": "color.blanket.[default]",
|
|
3551
3551
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3552
3552
|
},
|
|
3553
3553
|
"value": "#03040442",
|
|
@@ -3557,7 +3557,7 @@ var tokens = [{
|
|
|
3557
3557
|
"attributes": {
|
|
3558
3558
|
"group": "paint",
|
|
3559
3559
|
"state": "deprecated",
|
|
3560
|
-
"replacement": "color.blanket",
|
|
3560
|
+
"replacement": "color.blanket.[default]",
|
|
3561
3561
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3562
3562
|
},
|
|
3563
3563
|
"value": "DN-100A"
|
|
@@ -4505,8 +4505,46 @@ var tokens = [{
|
|
|
4505
4505
|
},
|
|
4506
4506
|
"value": "DN-100A"
|
|
4507
4507
|
},
|
|
4508
|
-
"name": "color.blanket",
|
|
4509
|
-
"path": ["color", "blanket"]
|
|
4508
|
+
"name": "color.blanket.[default]",
|
|
4509
|
+
"path": ["color", "blanket", "[default]"]
|
|
4510
|
+
}, {
|
|
4511
|
+
"attributes": {
|
|
4512
|
+
"group": "paint",
|
|
4513
|
+
"state": "active",
|
|
4514
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4515
|
+
},
|
|
4516
|
+
"value": "#1D7AFCCC",
|
|
4517
|
+
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
4518
|
+
"isSource": true,
|
|
4519
|
+
"original": {
|
|
4520
|
+
"attributes": {
|
|
4521
|
+
"group": "paint",
|
|
4522
|
+
"state": "active",
|
|
4523
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4524
|
+
},
|
|
4525
|
+
"value": "#1D7AFCCC"
|
|
4526
|
+
},
|
|
4527
|
+
"name": "color.blanket.selected",
|
|
4528
|
+
"path": ["color", "blanket", "selected"]
|
|
4529
|
+
}, {
|
|
4530
|
+
"attributes": {
|
|
4531
|
+
"group": "paint",
|
|
4532
|
+
"state": "active",
|
|
4533
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4534
|
+
},
|
|
4535
|
+
"value": "#E34935CC",
|
|
4536
|
+
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
4537
|
+
"isSource": true,
|
|
4538
|
+
"original": {
|
|
4539
|
+
"attributes": {
|
|
4540
|
+
"group": "paint",
|
|
4541
|
+
"state": "active",
|
|
4542
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4543
|
+
},
|
|
4544
|
+
"value": "#E34935CC"
|
|
4545
|
+
},
|
|
4546
|
+
"name": "color.blanket.danger",
|
|
4547
|
+
"path": ["color", "blanket", "danger"]
|
|
4510
4548
|
}, {
|
|
4511
4549
|
"attributes": {
|
|
4512
4550
|
"group": "paint",
|
|
@@ -3547,7 +3547,7 @@ var tokens = [{
|
|
|
3547
3547
|
"attributes": {
|
|
3548
3548
|
"group": "paint",
|
|
3549
3549
|
"state": "deprecated",
|
|
3550
|
-
"replacement": "color.blanket",
|
|
3550
|
+
"replacement": "color.blanket.[default]",
|
|
3551
3551
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3552
3552
|
},
|
|
3553
3553
|
"value": "#091E427A",
|
|
@@ -3557,7 +3557,7 @@ var tokens = [{
|
|
|
3557
3557
|
"attributes": {
|
|
3558
3558
|
"group": "paint",
|
|
3559
3559
|
"state": "deprecated",
|
|
3560
|
-
"replacement": "color.blanket",
|
|
3560
|
+
"replacement": "color.blanket.[default]",
|
|
3561
3561
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3562
3562
|
},
|
|
3563
3563
|
"value": "N500A"
|
|
@@ -4505,8 +4505,46 @@ var tokens = [{
|
|
|
4505
4505
|
},
|
|
4506
4506
|
"value": "N500A"
|
|
4507
4507
|
},
|
|
4508
|
-
"name": "color.blanket",
|
|
4509
|
-
"path": ["color", "blanket"]
|
|
4508
|
+
"name": "color.blanket.[default]",
|
|
4509
|
+
"path": ["color", "blanket", "[default]"]
|
|
4510
|
+
}, {
|
|
4511
|
+
"attributes": {
|
|
4512
|
+
"group": "paint",
|
|
4513
|
+
"state": "active",
|
|
4514
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4515
|
+
},
|
|
4516
|
+
"value": "#388BFFCC",
|
|
4517
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
4518
|
+
"isSource": true,
|
|
4519
|
+
"original": {
|
|
4520
|
+
"attributes": {
|
|
4521
|
+
"group": "paint",
|
|
4522
|
+
"state": "active",
|
|
4523
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4524
|
+
},
|
|
4525
|
+
"value": "#388BFFCC"
|
|
4526
|
+
},
|
|
4527
|
+
"name": "color.blanket.selected",
|
|
4528
|
+
"path": ["color", "blanket", "selected"]
|
|
4529
|
+
}, {
|
|
4530
|
+
"attributes": {
|
|
4531
|
+
"group": "paint",
|
|
4532
|
+
"state": "active",
|
|
4533
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4534
|
+
},
|
|
4535
|
+
"value": "#EF5C48CC",
|
|
4536
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
4537
|
+
"isSource": true,
|
|
4538
|
+
"original": {
|
|
4539
|
+
"attributes": {
|
|
4540
|
+
"group": "paint",
|
|
4541
|
+
"state": "active",
|
|
4542
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4543
|
+
},
|
|
4544
|
+
"value": "#EF5C48CC"
|
|
4545
|
+
},
|
|
4546
|
+
"name": "color.blanket.danger",
|
|
4547
|
+
"path": ["color", "blanket", "danger"]
|
|
4510
4548
|
}, {
|
|
4511
4549
|
"attributes": {
|
|
4512
4550
|
"group": "paint",
|
package/dist/cjs/get-token.js
CHANGED
|
@@ -12,7 +12,7 @@ var _warnOnce = _interopRequireDefault(require("@atlaskit/ds-lib/warn-once"));
|
|
|
12
12
|
var _tokenNames = _interopRequireDefault(require("./artifacts/token-names"));
|
|
13
13
|
|
|
14
14
|
var name = "@atlaskit/tokens";
|
|
15
|
-
var version = "0.7.
|
|
15
|
+
var version = "0.7.1";
|
|
16
16
|
|
|
17
17
|
function token(path, fallback) {
|
|
18
18
|
var token = _tokenNames.default[path];
|
|
@@ -7,7 +7,17 @@ exports.default = void 0;
|
|
|
7
7
|
var color = {
|
|
8
8
|
color: {
|
|
9
9
|
blanket: {
|
|
10
|
-
|
|
10
|
+
'[default]': {
|
|
11
|
+
value: 'DN-100A'
|
|
12
|
+
},
|
|
13
|
+
// @ts-ignore temporary value (B600 8% opacity)
|
|
14
|
+
selected: {
|
|
15
|
+
value: '#1D7AFCCC'
|
|
16
|
+
},
|
|
17
|
+
// @ts-ignore temporary value (R600 8% opacity)
|
|
18
|
+
danger: {
|
|
19
|
+
value: '#E34935CC'
|
|
20
|
+
}
|
|
11
21
|
},
|
|
12
22
|
background: {
|
|
13
23
|
disabled: {
|
|
@@ -7,7 +7,17 @@ exports.default = void 0;
|
|
|
7
7
|
var color = {
|
|
8
8
|
color: {
|
|
9
9
|
blanket: {
|
|
10
|
-
|
|
10
|
+
'[default]': {
|
|
11
|
+
value: 'N500A'
|
|
12
|
+
},
|
|
13
|
+
// @ts-ignore temporary value (B500 8% opacity)
|
|
14
|
+
selected: {
|
|
15
|
+
value: '#388BFFCC'
|
|
16
|
+
},
|
|
17
|
+
// @ts-ignore temporary value (R500 8% opacity)
|
|
18
|
+
danger: {
|
|
19
|
+
value: '#EF5C48CC'
|
|
20
|
+
}
|
|
11
21
|
},
|
|
12
22
|
background: {
|
|
13
23
|
disabled: {
|
|
@@ -7,10 +7,26 @@ exports.default = void 0;
|
|
|
7
7
|
var color = {
|
|
8
8
|
color: {
|
|
9
9
|
blanket: {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
'[default]': {
|
|
11
|
+
attributes: {
|
|
12
|
+
group: 'paint',
|
|
13
|
+
state: 'active',
|
|
14
|
+
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
selected: {
|
|
18
|
+
attributes: {
|
|
19
|
+
group: 'paint',
|
|
20
|
+
state: 'active',
|
|
21
|
+
description: "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
danger: {
|
|
25
|
+
attributes: {
|
|
26
|
+
group: 'paint',
|
|
27
|
+
state: 'active',
|
|
28
|
+
description: "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
29
|
+
}
|
|
14
30
|
}
|
|
15
31
|
},
|
|
16
32
|
background: {
|
package/dist/cjs/version.json
CHANGED
|
@@ -135,7 +135,7 @@ const renameMapper = [{
|
|
|
135
135
|
}, {
|
|
136
136
|
"path": "color.background.blanket",
|
|
137
137
|
"state": "deprecated",
|
|
138
|
-
"replacement": "color.blanket"
|
|
138
|
+
"replacement": "color.blanket.[default]"
|
|
139
139
|
}, {
|
|
140
140
|
"path": "color.background.boldBrand.hover",
|
|
141
141
|
"state": "deprecated",
|
|
@@ -234,6 +234,8 @@ const defaultTokenValues = {
|
|
|
234
234
|
'color.background.transparentNeutral.hover': '#091E420F',
|
|
235
235
|
'color.background.transparentNeutral.pressed': '#091E4224',
|
|
236
236
|
'color.blanket': '#091E427A',
|
|
237
|
+
'color.blanket.selected': '#388BFFCC',
|
|
238
|
+
'color.blanket.danger': '#EF5C48CC',
|
|
237
239
|
'color.interaction.hovered': '#ffffff33',
|
|
238
240
|
'color.interaction.pressed': '#ffffff5c',
|
|
239
241
|
'color.interaction.inverse.hovered': '#00000029',
|
|
@@ -230,6 +230,8 @@ const tokens = {
|
|
|
230
230
|
'color.background.transparentNeutral.hover': '--ds-background-transparentNeutral-hover',
|
|
231
231
|
'color.background.transparentNeutral.pressed': '--ds-background-transparentNeutral-pressed',
|
|
232
232
|
'color.blanket': '--ds-blanket',
|
|
233
|
+
'color.blanket.selected': '--ds-blanket-selected',
|
|
234
|
+
'color.blanket.danger': '--ds-blanket-danger',
|
|
233
235
|
'color.interaction.hovered': '--ds-interaction-hovered',
|
|
234
236
|
'color.interaction.pressed': '--ds-interaction-pressed',
|
|
235
237
|
'color.interaction.inverse.hovered': '--ds-interaction-inverse-hovered',
|
|
@@ -3541,7 +3541,7 @@ const tokens = [{
|
|
|
3541
3541
|
"attributes": {
|
|
3542
3542
|
"group": "paint",
|
|
3543
3543
|
"state": "deprecated",
|
|
3544
|
-
"replacement": "color.blanket",
|
|
3544
|
+
"replacement": "color.blanket.[default]",
|
|
3545
3545
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3546
3546
|
},
|
|
3547
3547
|
"value": "#03040442",
|
|
@@ -3551,7 +3551,7 @@ const tokens = [{
|
|
|
3551
3551
|
"attributes": {
|
|
3552
3552
|
"group": "paint",
|
|
3553
3553
|
"state": "deprecated",
|
|
3554
|
-
"replacement": "color.blanket",
|
|
3554
|
+
"replacement": "color.blanket.[default]",
|
|
3555
3555
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3556
3556
|
},
|
|
3557
3557
|
"value": "DN-100A"
|
|
@@ -4499,8 +4499,46 @@ const tokens = [{
|
|
|
4499
4499
|
},
|
|
4500
4500
|
"value": "DN-100A"
|
|
4501
4501
|
},
|
|
4502
|
-
"name": "color.blanket",
|
|
4503
|
-
"path": ["color", "blanket"]
|
|
4502
|
+
"name": "color.blanket.[default]",
|
|
4503
|
+
"path": ["color", "blanket", "[default]"]
|
|
4504
|
+
}, {
|
|
4505
|
+
"attributes": {
|
|
4506
|
+
"group": "paint",
|
|
4507
|
+
"state": "active",
|
|
4508
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4509
|
+
},
|
|
4510
|
+
"value": "#1D7AFCCC",
|
|
4511
|
+
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
4512
|
+
"isSource": true,
|
|
4513
|
+
"original": {
|
|
4514
|
+
"attributes": {
|
|
4515
|
+
"group": "paint",
|
|
4516
|
+
"state": "active",
|
|
4517
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4518
|
+
},
|
|
4519
|
+
"value": "#1D7AFCCC"
|
|
4520
|
+
},
|
|
4521
|
+
"name": "color.blanket.selected",
|
|
4522
|
+
"path": ["color", "blanket", "selected"]
|
|
4523
|
+
}, {
|
|
4524
|
+
"attributes": {
|
|
4525
|
+
"group": "paint",
|
|
4526
|
+
"state": "active",
|
|
4527
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4528
|
+
},
|
|
4529
|
+
"value": "#E34935CC",
|
|
4530
|
+
"filePath": "src/tokens/atlassian-dark/color/background.tsx",
|
|
4531
|
+
"isSource": true,
|
|
4532
|
+
"original": {
|
|
4533
|
+
"attributes": {
|
|
4534
|
+
"group": "paint",
|
|
4535
|
+
"state": "active",
|
|
4536
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4537
|
+
},
|
|
4538
|
+
"value": "#E34935CC"
|
|
4539
|
+
},
|
|
4540
|
+
"name": "color.blanket.danger",
|
|
4541
|
+
"path": ["color", "blanket", "danger"]
|
|
4504
4542
|
}, {
|
|
4505
4543
|
"attributes": {
|
|
4506
4544
|
"group": "paint",
|
|
@@ -3541,7 +3541,7 @@ const tokens = [{
|
|
|
3541
3541
|
"attributes": {
|
|
3542
3542
|
"group": "paint",
|
|
3543
3543
|
"state": "deprecated",
|
|
3544
|
-
"replacement": "color.blanket",
|
|
3544
|
+
"replacement": "color.blanket.[default]",
|
|
3545
3545
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3546
3546
|
},
|
|
3547
3547
|
"value": "#091E427A",
|
|
@@ -3551,7 +3551,7 @@ const tokens = [{
|
|
|
3551
3551
|
"attributes": {
|
|
3552
3552
|
"group": "paint",
|
|
3553
3553
|
"state": "deprecated",
|
|
3554
|
-
"replacement": "color.blanket",
|
|
3554
|
+
"replacement": "color.blanket.[default]",
|
|
3555
3555
|
"description": "Use for the screen overlay that appears with modal dialogs"
|
|
3556
3556
|
},
|
|
3557
3557
|
"value": "N500A"
|
|
@@ -4499,8 +4499,46 @@ const tokens = [{
|
|
|
4499
4499
|
},
|
|
4500
4500
|
"value": "N500A"
|
|
4501
4501
|
},
|
|
4502
|
-
"name": "color.blanket",
|
|
4503
|
-
"path": ["color", "blanket"]
|
|
4502
|
+
"name": "color.blanket.[default]",
|
|
4503
|
+
"path": ["color", "blanket", "[default]"]
|
|
4504
|
+
}, {
|
|
4505
|
+
"attributes": {
|
|
4506
|
+
"group": "paint",
|
|
4507
|
+
"state": "active",
|
|
4508
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4509
|
+
},
|
|
4510
|
+
"value": "#388BFFCC",
|
|
4511
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
4512
|
+
"isSource": true,
|
|
4513
|
+
"original": {
|
|
4514
|
+
"attributes": {
|
|
4515
|
+
"group": "paint",
|
|
4516
|
+
"state": "active",
|
|
4517
|
+
"description": "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
4518
|
+
},
|
|
4519
|
+
"value": "#388BFFCC"
|
|
4520
|
+
},
|
|
4521
|
+
"name": "color.blanket.selected",
|
|
4522
|
+
"path": ["color", "blanket", "selected"]
|
|
4523
|
+
}, {
|
|
4524
|
+
"attributes": {
|
|
4525
|
+
"group": "paint",
|
|
4526
|
+
"state": "active",
|
|
4527
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4528
|
+
},
|
|
4529
|
+
"value": "#EF5C48CC",
|
|
4530
|
+
"filePath": "src/tokens/atlassian-light/color/background.tsx",
|
|
4531
|
+
"isSource": true,
|
|
4532
|
+
"original": {
|
|
4533
|
+
"attributes": {
|
|
4534
|
+
"group": "paint",
|
|
4535
|
+
"state": "active",
|
|
4536
|
+
"description": "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
4537
|
+
},
|
|
4538
|
+
"value": "#EF5C48CC"
|
|
4539
|
+
},
|
|
4540
|
+
"name": "color.blanket.danger",
|
|
4541
|
+
"path": ["color", "blanket", "danger"]
|
|
4504
4542
|
}, {
|
|
4505
4543
|
"attributes": {
|
|
4506
4544
|
"group": "paint",
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
const color = {
|
|
2
2
|
color: {
|
|
3
3
|
blanket: {
|
|
4
|
-
|
|
4
|
+
'[default]': {
|
|
5
|
+
value: 'DN-100A'
|
|
6
|
+
},
|
|
7
|
+
// @ts-ignore temporary value (B600 8% opacity)
|
|
8
|
+
selected: {
|
|
9
|
+
value: '#1D7AFCCC'
|
|
10
|
+
},
|
|
11
|
+
// @ts-ignore temporary value (R600 8% opacity)
|
|
12
|
+
danger: {
|
|
13
|
+
value: '#E34935CC'
|
|
14
|
+
}
|
|
5
15
|
},
|
|
6
16
|
background: {
|
|
7
17
|
disabled: {
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
const color = {
|
|
2
2
|
color: {
|
|
3
3
|
blanket: {
|
|
4
|
-
|
|
4
|
+
'[default]': {
|
|
5
|
+
value: 'N500A'
|
|
6
|
+
},
|
|
7
|
+
// @ts-ignore temporary value (B500 8% opacity)
|
|
8
|
+
selected: {
|
|
9
|
+
value: '#388BFFCC'
|
|
10
|
+
},
|
|
11
|
+
// @ts-ignore temporary value (R500 8% opacity)
|
|
12
|
+
danger: {
|
|
13
|
+
value: '#EF5C48CC'
|
|
14
|
+
}
|
|
5
15
|
},
|
|
6
16
|
background: {
|
|
7
17
|
disabled: {
|
|
@@ -1,10 +1,26 @@
|
|
|
1
1
|
const color = {
|
|
2
2
|
color: {
|
|
3
3
|
blanket: {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
'[default]': {
|
|
5
|
+
attributes: {
|
|
6
|
+
group: 'paint',
|
|
7
|
+
state: 'active',
|
|
8
|
+
description: 'Use for the screen overlay that appears with modal dialogs'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
selected: {
|
|
12
|
+
attributes: {
|
|
13
|
+
group: 'paint',
|
|
14
|
+
state: 'active',
|
|
15
|
+
description: "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
danger: {
|
|
19
|
+
attributes: {
|
|
20
|
+
group: 'paint',
|
|
21
|
+
state: 'active',
|
|
22
|
+
description: "Use as an overlay to communicate danger states when a simple background color change isn't possible, such as deletion of Editor block elements"
|
|
23
|
+
}
|
|
8
24
|
}
|
|
9
25
|
},
|
|
10
26
|
background: {
|
package/dist/es2019/version.json
CHANGED
|
@@ -135,7 +135,7 @@ var renameMapper = [{
|
|
|
135
135
|
}, {
|
|
136
136
|
"path": "color.background.blanket",
|
|
137
137
|
"state": "deprecated",
|
|
138
|
-
"replacement": "color.blanket"
|
|
138
|
+
"replacement": "color.blanket.[default]"
|
|
139
139
|
}, {
|
|
140
140
|
"path": "color.background.boldBrand.hover",
|
|
141
141
|
"state": "deprecated",
|
|
@@ -234,6 +234,8 @@ var defaultTokenValues = {
|
|
|
234
234
|
'color.background.transparentNeutral.hover': '#091E420F',
|
|
235
235
|
'color.background.transparentNeutral.pressed': '#091E4224',
|
|
236
236
|
'color.blanket': '#091E427A',
|
|
237
|
+
'color.blanket.selected': '#388BFFCC',
|
|
238
|
+
'color.blanket.danger': '#EF5C48CC',
|
|
237
239
|
'color.interaction.hovered': '#ffffff33',
|
|
238
240
|
'color.interaction.pressed': '#ffffff5c',
|
|
239
241
|
'color.interaction.inverse.hovered': '#00000029',
|
|
@@ -230,6 +230,8 @@ var tokens = {
|
|
|
230
230
|
'color.background.transparentNeutral.hover': '--ds-background-transparentNeutral-hover',
|
|
231
231
|
'color.background.transparentNeutral.pressed': '--ds-background-transparentNeutral-pressed',
|
|
232
232
|
'color.blanket': '--ds-blanket',
|
|
233
|
+
'color.blanket.selected': '--ds-blanket-selected',
|
|
234
|
+
'color.blanket.danger': '--ds-blanket-danger',
|
|
233
235
|
'color.interaction.hovered': '--ds-interaction-hovered',
|
|
234
236
|
'color.interaction.pressed': '--ds-interaction-pressed',
|
|
235
237
|
'color.interaction.inverse.hovered': '--ds-interaction-inverse-hovered',
|