@atlaskit/tokens 0.7.0 → 0.7.3
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 +18 -0
- package/css/atlassian-dark.css +3 -0
- package/css/atlassian-light.css +4 -1
- package/dist/cjs/artifacts/rename-mapping.js +1 -1
- package/dist/cjs/artifacts/token-default-values.js +4 -1
- package/dist/cjs/artifacts/token-names.js +3 -0
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +93 -4
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +95 -6
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +23 -0
- package/dist/cjs/tokens/atlassian-light/color/background.js +11 -1
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +19 -0
- package/dist/cjs/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/cjs/tokens/default/color/background.js +20 -4
- package/dist/cjs/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/cjs/tokens/default/elevation/shadow.js +7 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/rename-mapping.js +1 -1
- package/dist/es2019/artifacts/token-default-values.js +4 -1
- package/dist/es2019/artifacts/token-names.js +3 -0
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +93 -4
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +95 -6
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +23 -0
- package/dist/es2019/tokens/atlassian-light/color/background.js +11 -1
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +19 -0
- package/dist/es2019/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/es2019/tokens/default/color/background.js +20 -4
- package/dist/es2019/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/es2019/tokens/default/elevation/shadow.js +7 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/rename-mapping.js +1 -1
- package/dist/esm/artifacts/token-default-values.js +4 -1
- package/dist/esm/artifacts/token-names.js +3 -0
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +93 -4
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +95 -6
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/color/background.js +11 -1
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +23 -0
- package/dist/esm/tokens/atlassian-light/color/background.js +11 -1
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +19 -0
- package/dist/esm/tokens/atlassian-light/elevation/surface.js +1 -1
- package/dist/esm/tokens/default/color/background.js +20 -4
- package/dist/esm/tokens/default/deprecated/deprecated.js +1 -1
- package/dist/esm/tokens/default/elevation/shadow.js +7 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +4 -1
- package/dist/types/artifacts/token-names.d.ts +6 -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 +6 -1
- package/package.json +1 -1
|
@@ -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",
|
|
@@ -5212,6 +5250,57 @@ const tokens = [{
|
|
|
5212
5250
|
},
|
|
5213
5251
|
"name": "elevation.shadow.raised",
|
|
5214
5252
|
"path": ["elevation", "shadow", "raised"]
|
|
5253
|
+
}, {
|
|
5254
|
+
"attributes": {
|
|
5255
|
+
"group": "shadow",
|
|
5256
|
+
"state": "active",
|
|
5257
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5258
|
+
},
|
|
5259
|
+
"value": [{
|
|
5260
|
+
"radius": 12,
|
|
5261
|
+
"offset": {
|
|
5262
|
+
"x": 0,
|
|
5263
|
+
"y": 0
|
|
5264
|
+
},
|
|
5265
|
+
"color": "#030404",
|
|
5266
|
+
"opacity": 0.56
|
|
5267
|
+
}, {
|
|
5268
|
+
"radius": 1,
|
|
5269
|
+
"offset": {
|
|
5270
|
+
"x": 0,
|
|
5271
|
+
"y": 0
|
|
5272
|
+
},
|
|
5273
|
+
"color": "#030404",
|
|
5274
|
+
"opacity": 0.5
|
|
5275
|
+
}],
|
|
5276
|
+
"filePath": "src/tokens/atlassian-dark/elevation/shadow.tsx",
|
|
5277
|
+
"isSource": true,
|
|
5278
|
+
"original": {
|
|
5279
|
+
"attributes": {
|
|
5280
|
+
"group": "shadow",
|
|
5281
|
+
"state": "active",
|
|
5282
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5283
|
+
},
|
|
5284
|
+
"value": [{
|
|
5285
|
+
"radius": 12,
|
|
5286
|
+
"offset": {
|
|
5287
|
+
"x": 0,
|
|
5288
|
+
"y": 0
|
|
5289
|
+
},
|
|
5290
|
+
"color": "#030404",
|
|
5291
|
+
"opacity": 0.56
|
|
5292
|
+
}, {
|
|
5293
|
+
"radius": 1,
|
|
5294
|
+
"offset": {
|
|
5295
|
+
"x": 0,
|
|
5296
|
+
"y": 0
|
|
5297
|
+
},
|
|
5298
|
+
"color": "#030404",
|
|
5299
|
+
"opacity": 0.5
|
|
5300
|
+
}]
|
|
5301
|
+
},
|
|
5302
|
+
"name": "elevation.shadow.overflow",
|
|
5303
|
+
"path": ["elevation", "shadow", "overflow"]
|
|
5215
5304
|
}, {
|
|
5216
5305
|
"attributes": {
|
|
5217
5306
|
"group": "shadow",
|
|
@@ -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",
|
|
@@ -5192,6 +5230,57 @@ const tokens = [{
|
|
|
5192
5230
|
},
|
|
5193
5231
|
"name": "elevation.shadow.raised",
|
|
5194
5232
|
"path": ["elevation", "shadow", "raised"]
|
|
5233
|
+
}, {
|
|
5234
|
+
"attributes": {
|
|
5235
|
+
"group": "shadow",
|
|
5236
|
+
"state": "active",
|
|
5237
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5238
|
+
},
|
|
5239
|
+
"value": [{
|
|
5240
|
+
"radius": 8,
|
|
5241
|
+
"offset": {
|
|
5242
|
+
"x": 0,
|
|
5243
|
+
"y": 8
|
|
5244
|
+
},
|
|
5245
|
+
"color": "#091E42",
|
|
5246
|
+
"opacity": 0.08
|
|
5247
|
+
}, {
|
|
5248
|
+
"radius": 1,
|
|
5249
|
+
"offset": {
|
|
5250
|
+
"x": 0,
|
|
5251
|
+
"y": 0
|
|
5252
|
+
},
|
|
5253
|
+
"color": "#091E42",
|
|
5254
|
+
"opacity": 0.12
|
|
5255
|
+
}],
|
|
5256
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
5257
|
+
"isSource": true,
|
|
5258
|
+
"original": {
|
|
5259
|
+
"attributes": {
|
|
5260
|
+
"group": "shadow",
|
|
5261
|
+
"state": "active",
|
|
5262
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5263
|
+
},
|
|
5264
|
+
"value": [{
|
|
5265
|
+
"radius": 8,
|
|
5266
|
+
"offset": {
|
|
5267
|
+
"x": 0,
|
|
5268
|
+
"y": 8
|
|
5269
|
+
},
|
|
5270
|
+
"color": "N1100",
|
|
5271
|
+
"opacity": 0.08
|
|
5272
|
+
}, {
|
|
5273
|
+
"radius": 1,
|
|
5274
|
+
"offset": {
|
|
5275
|
+
"x": 0,
|
|
5276
|
+
"y": 0
|
|
5277
|
+
},
|
|
5278
|
+
"color": "N1100",
|
|
5279
|
+
"opacity": 0.12
|
|
5280
|
+
}]
|
|
5281
|
+
},
|
|
5282
|
+
"name": "elevation.shadow.overflow",
|
|
5283
|
+
"path": ["elevation", "shadow", "overflow"]
|
|
5195
5284
|
}, {
|
|
5196
5285
|
"attributes": {
|
|
5197
5286
|
"group": "shadow",
|
|
@@ -5268,7 +5357,7 @@ const tokens = [{
|
|
|
5268
5357
|
"state": "active",
|
|
5269
5358
|
"description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
|
|
5270
5359
|
},
|
|
5271
|
-
"value": "#
|
|
5360
|
+
"value": "#F7F8F9",
|
|
5272
5361
|
"filePath": "src/tokens/atlassian-light/elevation/surface.tsx",
|
|
5273
5362
|
"isSource": true,
|
|
5274
5363
|
"original": {
|
|
@@ -5277,7 +5366,7 @@ const tokens = [{
|
|
|
5277
5366
|
"state": "active",
|
|
5278
5367
|
"description": "A secondary background for the UI commonly used for grouping items, such as Jira cards in columns."
|
|
5279
5368
|
},
|
|
5280
|
-
"value": "
|
|
5369
|
+
"value": "N100"
|
|
5281
5370
|
},
|
|
5282
5371
|
"name": "elevation.surface.sunken",
|
|
5283
5372
|
"path": ["elevation", "surface", "sunken"]
|
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: {
|
|
@@ -22,6 +22,29 @@ const shadow = {
|
|
|
22
22
|
opacity: 0.5
|
|
23
23
|
}]
|
|
24
24
|
},
|
|
25
|
+
overflow: {
|
|
26
|
+
value: [{
|
|
27
|
+
radius: 12,
|
|
28
|
+
offset: {
|
|
29
|
+
x: 0,
|
|
30
|
+
y: 0
|
|
31
|
+
},
|
|
32
|
+
// @ts-ignore no current palette colour for this yet
|
|
33
|
+
color: '#030404',
|
|
34
|
+
// This opacity overrides the color alpha.
|
|
35
|
+
opacity: 0.56
|
|
36
|
+
}, {
|
|
37
|
+
radius: 1,
|
|
38
|
+
offset: {
|
|
39
|
+
x: 0,
|
|
40
|
+
y: 0
|
|
41
|
+
},
|
|
42
|
+
// @ts-ignore no current palette colour for this yet
|
|
43
|
+
color: '#030404',
|
|
44
|
+
// This opacity overrides the color alpha.
|
|
45
|
+
opacity: 0.5
|
|
46
|
+
}]
|
|
47
|
+
},
|
|
25
48
|
overlay: {
|
|
26
49
|
value: [{
|
|
27
50
|
radius: 0,
|
|
@@ -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: {
|
|
@@ -20,6 +20,25 @@ const shadow = {
|
|
|
20
20
|
opacity: 0.31
|
|
21
21
|
}]
|
|
22
22
|
},
|
|
23
|
+
overflow: {
|
|
24
|
+
value: [{
|
|
25
|
+
radius: 8,
|
|
26
|
+
offset: {
|
|
27
|
+
x: 0,
|
|
28
|
+
y: 8
|
|
29
|
+
},
|
|
30
|
+
color: 'N1100',
|
|
31
|
+
opacity: 0.08
|
|
32
|
+
}, {
|
|
33
|
+
radius: 1,
|
|
34
|
+
offset: {
|
|
35
|
+
x: 0,
|
|
36
|
+
y: 0
|
|
37
|
+
},
|
|
38
|
+
color: 'N1100',
|
|
39
|
+
opacity: 0.12
|
|
40
|
+
}]
|
|
41
|
+
},
|
|
23
42
|
overlay: {
|
|
24
43
|
value: [{
|
|
25
44
|
radius: 12,
|
|
@@ -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: {
|
|
@@ -8,6 +8,13 @@ const shadow = {
|
|
|
8
8
|
description: `Use for the box shadow of raised card elements, such as Jira cards on a Kanban board. Combine with elevation.surface.raised`
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
|
+
overflow: {
|
|
12
|
+
attributes: {
|
|
13
|
+
group: 'shadow',
|
|
14
|
+
state: 'active',
|
|
15
|
+
description: `Use to create a shadow when content scolls under other content.`
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
overlay: {
|
|
12
19
|
attributes: {
|
|
13
20
|
group: 'shadow',
|
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',
|
|
@@ -263,9 +265,10 @@ var defaultTokenValues = {
|
|
|
263
265
|
'shadow.card': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
264
266
|
'shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
265
267
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
268
|
+
'elevation.shadow.overflow': '0px 8px 8px #091E4214, 0px 0px 1px #091E421F',
|
|
266
269
|
'elevation.shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
267
270
|
'elevation.surface': '#FFFFFF',
|
|
268
|
-
'elevation.surface.sunken': '#
|
|
271
|
+
'elevation.surface.sunken': '#F7F8F9',
|
|
269
272
|
'elevation.surface.raised': '#FFFFFF',
|
|
270
273
|
'elevation.surface.overlay': '#FFFFFF',
|
|
271
274
|
'utility.UNSAFE_util.transparent': 'transparent',
|
|
@@ -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',
|
|
@@ -259,6 +261,7 @@ var tokens = {
|
|
|
259
261
|
'shadow.card': '--ds-card',
|
|
260
262
|
'shadow.overlay': '--ds-overlay',
|
|
261
263
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
264
|
+
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
262
265
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
263
266
|
'elevation.surface': '--ds-surface',
|
|
264
267
|
'elevation.surface.sunken': '--ds-surface-sunken',
|
|
@@ -3541,7 +3541,7 @@ var 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 @@ var 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 @@ var 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",
|
|
@@ -5212,6 +5250,57 @@ var tokens = [{
|
|
|
5212
5250
|
},
|
|
5213
5251
|
"name": "elevation.shadow.raised",
|
|
5214
5252
|
"path": ["elevation", "shadow", "raised"]
|
|
5253
|
+
}, {
|
|
5254
|
+
"attributes": {
|
|
5255
|
+
"group": "shadow",
|
|
5256
|
+
"state": "active",
|
|
5257
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5258
|
+
},
|
|
5259
|
+
"value": [{
|
|
5260
|
+
"radius": 12,
|
|
5261
|
+
"offset": {
|
|
5262
|
+
"x": 0,
|
|
5263
|
+
"y": 0
|
|
5264
|
+
},
|
|
5265
|
+
"color": "#030404",
|
|
5266
|
+
"opacity": 0.56
|
|
5267
|
+
}, {
|
|
5268
|
+
"radius": 1,
|
|
5269
|
+
"offset": {
|
|
5270
|
+
"x": 0,
|
|
5271
|
+
"y": 0
|
|
5272
|
+
},
|
|
5273
|
+
"color": "#030404",
|
|
5274
|
+
"opacity": 0.5
|
|
5275
|
+
}],
|
|
5276
|
+
"filePath": "src/tokens/atlassian-dark/elevation/shadow.tsx",
|
|
5277
|
+
"isSource": true,
|
|
5278
|
+
"original": {
|
|
5279
|
+
"attributes": {
|
|
5280
|
+
"group": "shadow",
|
|
5281
|
+
"state": "active",
|
|
5282
|
+
"description": "Use to create a shadow when content scolls under other content."
|
|
5283
|
+
},
|
|
5284
|
+
"value": [{
|
|
5285
|
+
"radius": 12,
|
|
5286
|
+
"offset": {
|
|
5287
|
+
"x": 0,
|
|
5288
|
+
"y": 0
|
|
5289
|
+
},
|
|
5290
|
+
"color": "#030404",
|
|
5291
|
+
"opacity": 0.56
|
|
5292
|
+
}, {
|
|
5293
|
+
"radius": 1,
|
|
5294
|
+
"offset": {
|
|
5295
|
+
"x": 0,
|
|
5296
|
+
"y": 0
|
|
5297
|
+
},
|
|
5298
|
+
"color": "#030404",
|
|
5299
|
+
"opacity": 0.5
|
|
5300
|
+
}]
|
|
5301
|
+
},
|
|
5302
|
+
"name": "elevation.shadow.overflow",
|
|
5303
|
+
"path": ["elevation", "shadow", "overflow"]
|
|
5215
5304
|
}, {
|
|
5216
5305
|
"attributes": {
|
|
5217
5306
|
"group": "shadow",
|