@atlaskit/tokens 0.10.31 → 0.10.32
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 +5 -1
- package/css/atlassian-legacy-dark.css +5 -1
- package/css/atlassian-legacy-light.css +17 -13
- package/css/atlassian-light.css +7 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
- package/dist/cjs/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/cjs/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/cjs/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/cjs/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/cjs/get-token.js +1 -1
- package/dist/cjs/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/cjs/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/cjs/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/cjs/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/cjs/tokens/default/elevation/shadow.js +23 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
- package/dist/es2019/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/es2019/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/es2019/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/es2019/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/es2019/get-token.js +1 -1
- package/dist/es2019/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/es2019/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/es2019/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/es2019/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/es2019/tokens/default/elevation/shadow.js +23 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/artifacts/tokens-raw/atlassian-dark.js +45 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-dark.js +45 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-legacy-light.js +45 -3
- package/dist/esm/artifacts/tokens-raw/atlassian-light.js +49 -7
- package/dist/esm/artifacts/typescript/atlassian-dark-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-legacy-dark-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-legacy-light-token-names.js +3 -1
- package/dist/esm/artifacts/typescript/atlassian-light-token-default-values.js +4 -2
- package/dist/esm/artifacts/typescript/atlassian-light-token-names.js +3 -1
- package/dist/esm/get-token.js +1 -1
- package/dist/esm/tokens/atlassian-dark/elevation/shadow.js +31 -21
- package/dist/esm/tokens/atlassian-legacy-dark/elevation/shadow.js +31 -21
- package/dist/esm/tokens/atlassian-legacy-light/elevation/shadow.js +27 -17
- package/dist/esm/tokens/atlassian-light/elevation/shadow.js +27 -17
- package/dist/esm/tokens/default/elevation/shadow.js +23 -5
- package/dist/esm/version.json +1 -1
- package/dist/types/artifacts/token-default-values.d.ts +3 -1
- package/dist/types/artifacts/token-names.d.ts +2 -0
- package/dist/types/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
- package/dist/types/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
- package/dist/types/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
- package/dist/types/artifacts/typescript/atlassian-light-types.d.ts +2 -2
- package/dist/types/types.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/token-default-values.d.ts +3 -1
- package/dist/types-ts4.0/artifacts/token-names.d.ts +2 -0
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-dark.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-legacy-light.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/tokens-raw/atlassian-light.d.ts +1 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-dark-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-dark-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-legacy-light-types.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-default-values.d.ts +4 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-token-names.d.ts +5 -1
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types-internal.d.ts +2 -2
- package/dist/types-ts4.0/artifacts/typescript/atlassian-light-types.d.ts +2 -2
- package/dist/types-ts4.0/types.d.ts +5 -1
- package/package.json +1 -1
- package/report.api.md +4 -0
- package/tmp/api-report-tmp.d.ts +4 -0
|
@@ -41,27 +41,37 @@ var shadow = {
|
|
|
41
41
|
}]
|
|
42
42
|
},
|
|
43
43
|
overflow: {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
44
|
+
'[default]': {
|
|
45
|
+
value: [{
|
|
46
|
+
radius: 12,
|
|
47
|
+
offset: {
|
|
48
|
+
x: 0,
|
|
49
|
+
y: 0
|
|
50
|
+
},
|
|
51
|
+
// @ts-ignore no current palette colour for this yet
|
|
52
|
+
color: '#030404',
|
|
53
|
+
// This opacity overrides the color alpha.
|
|
54
|
+
opacity: 0.56
|
|
55
|
+
}, {
|
|
56
|
+
radius: 1,
|
|
57
|
+
offset: {
|
|
58
|
+
x: 0,
|
|
59
|
+
y: 0
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
color: '#030404',
|
|
63
|
+
// This opacity overrides the color alpha.
|
|
64
|
+
opacity: 0.5
|
|
65
|
+
}]
|
|
66
|
+
},
|
|
67
|
+
// @ts-ignore no current palette colour for this yet
|
|
68
|
+
spread: {
|
|
69
|
+
value: '#0304048f'
|
|
70
|
+
},
|
|
71
|
+
// @ts-ignore no current palette colour for this yet
|
|
72
|
+
perimeter: {
|
|
73
|
+
value: '#03040480'
|
|
74
|
+
}
|
|
65
75
|
},
|
|
66
76
|
overlay: {
|
|
67
77
|
value: [{
|
|
@@ -27,23 +27,33 @@ var shadow = {
|
|
|
27
27
|
}]
|
|
28
28
|
},
|
|
29
29
|
overflow: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
30
|
+
'[default]': {
|
|
31
|
+
value: [{
|
|
32
|
+
radius: 8,
|
|
33
|
+
offset: {
|
|
34
|
+
x: 0,
|
|
35
|
+
y: 0
|
|
36
|
+
},
|
|
37
|
+
color: 'N50A',
|
|
38
|
+
opacity: 0.16
|
|
39
|
+
}, {
|
|
40
|
+
radius: 1,
|
|
41
|
+
offset: {
|
|
42
|
+
x: 0,
|
|
43
|
+
y: 0
|
|
44
|
+
},
|
|
45
|
+
color: 'N60A',
|
|
46
|
+
opacity: 0.12
|
|
47
|
+
}]
|
|
48
|
+
},
|
|
49
|
+
// @ts-ignore no current palette colour for this yet
|
|
50
|
+
spread: {
|
|
51
|
+
value: '#091e4229'
|
|
52
|
+
},
|
|
53
|
+
// @ts-ignore no current palette colour for this yet
|
|
54
|
+
perimeter: {
|
|
55
|
+
value: '#091e421f'
|
|
56
|
+
}
|
|
47
57
|
},
|
|
48
58
|
overlay: {
|
|
49
59
|
value: [{
|
|
@@ -27,23 +27,33 @@ var shadow = {
|
|
|
27
27
|
}]
|
|
28
28
|
},
|
|
29
29
|
overflow: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
30
|
+
'[default]': {
|
|
31
|
+
value: [{
|
|
32
|
+
radius: 8,
|
|
33
|
+
offset: {
|
|
34
|
+
x: 0,
|
|
35
|
+
y: 0
|
|
36
|
+
},
|
|
37
|
+
color: 'Neutral1100',
|
|
38
|
+
opacity: 0.16
|
|
39
|
+
}, {
|
|
40
|
+
radius: 1,
|
|
41
|
+
offset: {
|
|
42
|
+
x: 0,
|
|
43
|
+
y: 0
|
|
44
|
+
},
|
|
45
|
+
color: 'Neutral1100',
|
|
46
|
+
opacity: 0.12
|
|
47
|
+
}]
|
|
48
|
+
},
|
|
49
|
+
// @ts-ignore no current palette colour for this yet
|
|
50
|
+
spread: {
|
|
51
|
+
value: '#091e4229'
|
|
52
|
+
},
|
|
53
|
+
// @ts-ignore no current palette colour for this yet
|
|
54
|
+
perimeter: {
|
|
55
|
+
value: '#091e421f'
|
|
56
|
+
}
|
|
47
57
|
},
|
|
48
58
|
overlay: {
|
|
49
59
|
value: [{
|
|
@@ -16,11 +16,29 @@ var shadow = {
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
overflow: {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
'[default]': {
|
|
20
|
+
attributes: {
|
|
21
|
+
group: 'shadow',
|
|
22
|
+
state: 'active',
|
|
23
|
+
introduced: '0.6.0',
|
|
24
|
+
description: "Use to create a shadow when content scrolls under other content."
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
spread: {
|
|
28
|
+
attributes: {
|
|
29
|
+
group: 'paint',
|
|
30
|
+
state: 'active',
|
|
31
|
+
introduced: '0.10.32',
|
|
32
|
+
description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow.'
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
perimeter: {
|
|
36
|
+
attributes: {
|
|
37
|
+
group: 'paint',
|
|
38
|
+
state: 'active',
|
|
39
|
+
introduced: '0.10.32',
|
|
40
|
+
description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow.'
|
|
41
|
+
}
|
|
24
42
|
}
|
|
25
43
|
},
|
|
26
44
|
overlay: {
|
package/dist/cjs/version.json
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::a7cd6dc0682b1cc4ab506edd14f15515>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -6565,8 +6565,50 @@ const tokens = [{
|
|
|
6565
6565
|
"opacity": 0.5
|
|
6566
6566
|
}]
|
|
6567
6567
|
},
|
|
6568
|
-
"name": "elevation.shadow.overflow",
|
|
6569
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6568
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6569
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6570
|
+
}, {
|
|
6571
|
+
"attributes": {
|
|
6572
|
+
"group": "paint",
|
|
6573
|
+
"state": "active",
|
|
6574
|
+
"introduced": "0.10.32",
|
|
6575
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6576
|
+
},
|
|
6577
|
+
"value": "#0304048f",
|
|
6578
|
+
"filePath": "src/tokens/atlassian-dark/elevation/shadow.tsx",
|
|
6579
|
+
"isSource": true,
|
|
6580
|
+
"original": {
|
|
6581
|
+
"attributes": {
|
|
6582
|
+
"group": "paint",
|
|
6583
|
+
"state": "active",
|
|
6584
|
+
"introduced": "0.10.32",
|
|
6585
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6586
|
+
},
|
|
6587
|
+
"value": "#0304048f"
|
|
6588
|
+
},
|
|
6589
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6590
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6591
|
+
}, {
|
|
6592
|
+
"attributes": {
|
|
6593
|
+
"group": "paint",
|
|
6594
|
+
"state": "active",
|
|
6595
|
+
"introduced": "0.10.32",
|
|
6596
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6597
|
+
},
|
|
6598
|
+
"value": "#03040480",
|
|
6599
|
+
"filePath": "src/tokens/atlassian-dark/elevation/shadow.tsx",
|
|
6600
|
+
"isSource": true,
|
|
6601
|
+
"original": {
|
|
6602
|
+
"attributes": {
|
|
6603
|
+
"group": "paint",
|
|
6604
|
+
"state": "active",
|
|
6605
|
+
"introduced": "0.10.32",
|
|
6606
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6607
|
+
},
|
|
6608
|
+
"value": "#03040480"
|
|
6609
|
+
},
|
|
6610
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6611
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6570
6612
|
}, {
|
|
6571
6613
|
"attributes": {
|
|
6572
6614
|
"group": "shadow",
|
|
@@ -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::38da2e03d7e98be680a4d8b094bc1094>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -6565,8 +6565,50 @@ const tokens = [{
|
|
|
6565
6565
|
"opacity": 0.5
|
|
6566
6566
|
}]
|
|
6567
6567
|
},
|
|
6568
|
-
"name": "elevation.shadow.overflow",
|
|
6569
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6568
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6569
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6570
|
+
}, {
|
|
6571
|
+
"attributes": {
|
|
6572
|
+
"group": "paint",
|
|
6573
|
+
"state": "active",
|
|
6574
|
+
"introduced": "0.10.32",
|
|
6575
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6576
|
+
},
|
|
6577
|
+
"value": "#0304048f",
|
|
6578
|
+
"filePath": "src/tokens/atlassian-legacy-dark/elevation/shadow.tsx",
|
|
6579
|
+
"isSource": true,
|
|
6580
|
+
"original": {
|
|
6581
|
+
"attributes": {
|
|
6582
|
+
"group": "paint",
|
|
6583
|
+
"state": "active",
|
|
6584
|
+
"introduced": "0.10.32",
|
|
6585
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6586
|
+
},
|
|
6587
|
+
"value": "#0304048f"
|
|
6588
|
+
},
|
|
6589
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6590
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6591
|
+
}, {
|
|
6592
|
+
"attributes": {
|
|
6593
|
+
"group": "paint",
|
|
6594
|
+
"state": "active",
|
|
6595
|
+
"introduced": "0.10.32",
|
|
6596
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6597
|
+
},
|
|
6598
|
+
"value": "#03040480",
|
|
6599
|
+
"filePath": "src/tokens/atlassian-legacy-dark/elevation/shadow.tsx",
|
|
6600
|
+
"isSource": true,
|
|
6601
|
+
"original": {
|
|
6602
|
+
"attributes": {
|
|
6603
|
+
"group": "paint",
|
|
6604
|
+
"state": "active",
|
|
6605
|
+
"introduced": "0.10.32",
|
|
6606
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6607
|
+
},
|
|
6608
|
+
"value": "#03040480"
|
|
6609
|
+
},
|
|
6610
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6611
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6570
6612
|
}, {
|
|
6571
6613
|
"attributes": {
|
|
6572
6614
|
"group": "shadow",
|
|
@@ -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::cebe4ed5e9e0dc70bed7437dafe3c98c>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -6525,8 +6525,50 @@ const tokens = [{
|
|
|
6525
6525
|
"opacity": 0.12
|
|
6526
6526
|
}]
|
|
6527
6527
|
},
|
|
6528
|
-
"name": "elevation.shadow.overflow",
|
|
6529
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6528
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6529
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6530
|
+
}, {
|
|
6531
|
+
"attributes": {
|
|
6532
|
+
"group": "paint",
|
|
6533
|
+
"state": "active",
|
|
6534
|
+
"introduced": "0.10.32",
|
|
6535
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6536
|
+
},
|
|
6537
|
+
"value": "#091e4229",
|
|
6538
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6539
|
+
"isSource": true,
|
|
6540
|
+
"original": {
|
|
6541
|
+
"attributes": {
|
|
6542
|
+
"group": "paint",
|
|
6543
|
+
"state": "active",
|
|
6544
|
+
"introduced": "0.10.32",
|
|
6545
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6546
|
+
},
|
|
6547
|
+
"value": "#091e4229"
|
|
6548
|
+
},
|
|
6549
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6550
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6551
|
+
}, {
|
|
6552
|
+
"attributes": {
|
|
6553
|
+
"group": "paint",
|
|
6554
|
+
"state": "active",
|
|
6555
|
+
"introduced": "0.10.32",
|
|
6556
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6557
|
+
},
|
|
6558
|
+
"value": "#091e421f",
|
|
6559
|
+
"filePath": "src/tokens/atlassian-legacy-light/elevation/shadow.tsx",
|
|
6560
|
+
"isSource": true,
|
|
6561
|
+
"original": {
|
|
6562
|
+
"attributes": {
|
|
6563
|
+
"group": "paint",
|
|
6564
|
+
"state": "active",
|
|
6565
|
+
"introduced": "0.10.32",
|
|
6566
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6567
|
+
},
|
|
6568
|
+
"value": "#091e421f"
|
|
6569
|
+
},
|
|
6570
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6571
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6530
6572
|
}, {
|
|
6531
6573
|
"attributes": {
|
|
6532
6574
|
"group": "shadow",
|
|
@@ -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::5a654d8b889b7fca74b9184ff6687882>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = [{
|
|
@@ -6485,10 +6485,10 @@ const tokens = [{
|
|
|
6485
6485
|
"radius": 8,
|
|
6486
6486
|
"offset": {
|
|
6487
6487
|
"x": 0,
|
|
6488
|
-
"y":
|
|
6488
|
+
"y": 0
|
|
6489
6489
|
},
|
|
6490
6490
|
"color": "#091E42",
|
|
6491
|
-
"opacity": 0.
|
|
6491
|
+
"opacity": 0.16
|
|
6492
6492
|
}, {
|
|
6493
6493
|
"radius": 1,
|
|
6494
6494
|
"offset": {
|
|
@@ -6511,10 +6511,10 @@ const tokens = [{
|
|
|
6511
6511
|
"radius": 8,
|
|
6512
6512
|
"offset": {
|
|
6513
6513
|
"x": 0,
|
|
6514
|
-
"y":
|
|
6514
|
+
"y": 0
|
|
6515
6515
|
},
|
|
6516
6516
|
"color": "Neutral1100",
|
|
6517
|
-
"opacity": 0.
|
|
6517
|
+
"opacity": 0.16
|
|
6518
6518
|
}, {
|
|
6519
6519
|
"radius": 1,
|
|
6520
6520
|
"offset": {
|
|
@@ -6525,8 +6525,50 @@ const tokens = [{
|
|
|
6525
6525
|
"opacity": 0.12
|
|
6526
6526
|
}]
|
|
6527
6527
|
},
|
|
6528
|
-
"name": "elevation.shadow.overflow",
|
|
6529
|
-
"path": ["elevation", "shadow", "overflow"]
|
|
6528
|
+
"name": "elevation.shadow.overflow.[default]",
|
|
6529
|
+
"path": ["elevation", "shadow", "overflow", "[default]"]
|
|
6530
|
+
}, {
|
|
6531
|
+
"attributes": {
|
|
6532
|
+
"group": "paint",
|
|
6533
|
+
"state": "active",
|
|
6534
|
+
"introduced": "0.10.32",
|
|
6535
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6536
|
+
},
|
|
6537
|
+
"value": "#091e4229",
|
|
6538
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6539
|
+
"isSource": true,
|
|
6540
|
+
"original": {
|
|
6541
|
+
"attributes": {
|
|
6542
|
+
"group": "paint",
|
|
6543
|
+
"state": "active",
|
|
6544
|
+
"introduced": "0.10.32",
|
|
6545
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow."
|
|
6546
|
+
},
|
|
6547
|
+
"value": "#091e4229"
|
|
6548
|
+
},
|
|
6549
|
+
"name": "elevation.shadow.overflow.spread",
|
|
6550
|
+
"path": ["elevation", "shadow", "overflow", "spread"]
|
|
6551
|
+
}, {
|
|
6552
|
+
"attributes": {
|
|
6553
|
+
"group": "paint",
|
|
6554
|
+
"state": "active",
|
|
6555
|
+
"introduced": "0.10.32",
|
|
6556
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6557
|
+
},
|
|
6558
|
+
"value": "#091e421f",
|
|
6559
|
+
"filePath": "src/tokens/atlassian-light/elevation/shadow.tsx",
|
|
6560
|
+
"isSource": true,
|
|
6561
|
+
"original": {
|
|
6562
|
+
"attributes": {
|
|
6563
|
+
"group": "paint",
|
|
6564
|
+
"state": "active",
|
|
6565
|
+
"introduced": "0.10.32",
|
|
6566
|
+
"description": "Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow."
|
|
6567
|
+
},
|
|
6568
|
+
"value": "#091e421f"
|
|
6569
|
+
},
|
|
6570
|
+
"name": "elevation.shadow.overflow.perimeter",
|
|
6571
|
+
"path": ["elevation", "shadow", "overflow", "perimeter"]
|
|
6530
6572
|
}, {
|
|
6531
6573
|
"attributes": {
|
|
6532
6574
|
"group": "shadow",
|
|
@@ -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::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -280,6 +280,8 @@ const tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -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::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -280,6 +280,8 @@ const tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -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::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -280,6 +280,8 @@ const tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Token names mapped to their value in the default Atlassian themes ('light spacing').
|
|
5
5
|
* These default values are used by the Babel plugin to optionally provide automatic fallbacks.
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::ef6186f17dafc7e13af4096ad3cf41bb>>
|
|
8
8
|
* @codegenCommand yarn build tokens
|
|
9
9
|
*/
|
|
10
10
|
const defaultTokenValues = {
|
|
@@ -283,7 +283,9 @@ const defaultTokenValues = {
|
|
|
283
283
|
'shadow.card': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
284
284
|
'shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
285
285
|
'elevation.shadow.raised': '0px 1px 1px #091E4240, 0px 0px 1px #091E424F',
|
|
286
|
-
'elevation.shadow.overflow': '0px
|
|
286
|
+
'elevation.shadow.overflow': '0px 0px 8px #091E4229, 0px 0px 1px #091E421F',
|
|
287
|
+
'elevation.shadow.overflow.spread': '#091e4229',
|
|
288
|
+
'elevation.shadow.overflow.perimeter': '#091e421f',
|
|
287
289
|
'elevation.shadow.overlay': '0px 8px 12px #091E4226, 0px 0px 1px #091E424F',
|
|
288
290
|
'elevation.surface': '#FFFFFF',
|
|
289
291
|
'elevation.surface.hovered': '#F1F2F4',
|
|
@@ -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::83290a114618bdfa1ff9d24e32a6f1b1>>
|
|
4
4
|
* @codegenCommand yarn build tokens
|
|
5
5
|
*/
|
|
6
6
|
const tokens = {
|
|
@@ -280,6 +280,8 @@ const tokens = {
|
|
|
280
280
|
'shadow.overlay': '--ds-overlay',
|
|
281
281
|
'elevation.shadow.raised': '--ds-shadow-raised',
|
|
282
282
|
'elevation.shadow.overflow': '--ds-shadow-overflow',
|
|
283
|
+
'elevation.shadow.overflow.spread': '--ds-shadow-overflow-spread',
|
|
284
|
+
'elevation.shadow.overflow.perimeter': '--ds-shadow-overflow-perimeter',
|
|
283
285
|
'elevation.shadow.overlay': '--ds-shadow-overlay',
|
|
284
286
|
'elevation.surface': '--ds-surface',
|
|
285
287
|
'elevation.surface.hovered': '--ds-surface-hovered',
|
package/dist/es2019/get-token.js
CHANGED
|
@@ -2,7 +2,7 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';
|
|
|
2
2
|
import tokens from './artifacts/token-names';
|
|
3
3
|
import { TOKEN_NOT_FOUND_CSS_VAR } from './constants';
|
|
4
4
|
const name = "@atlaskit/tokens";
|
|
5
|
-
const version = "0.10.
|
|
5
|
+
const version = "0.10.32";
|
|
6
6
|
|
|
7
7
|
function token(path, fallback) {
|
|
8
8
|
let token = tokens[path];
|
|
@@ -35,27 +35,37 @@ const shadow = {
|
|
|
35
35
|
}]
|
|
36
36
|
},
|
|
37
37
|
overflow: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
38
|
+
'[default]': {
|
|
39
|
+
value: [{
|
|
40
|
+
radius: 12,
|
|
41
|
+
offset: {
|
|
42
|
+
x: 0,
|
|
43
|
+
y: 0
|
|
44
|
+
},
|
|
45
|
+
// @ts-ignore no current palette colour for this yet
|
|
46
|
+
color: '#030404',
|
|
47
|
+
// This opacity overrides the color alpha.
|
|
48
|
+
opacity: 0.56
|
|
49
|
+
}, {
|
|
50
|
+
radius: 1,
|
|
51
|
+
offset: {
|
|
52
|
+
x: 0,
|
|
53
|
+
y: 0
|
|
54
|
+
},
|
|
55
|
+
// @ts-ignore no current palette colour for this yet
|
|
56
|
+
color: '#030404',
|
|
57
|
+
// This opacity overrides the color alpha.
|
|
58
|
+
opacity: 0.5
|
|
59
|
+
}]
|
|
60
|
+
},
|
|
61
|
+
// @ts-ignore no current palette colour for this yet
|
|
62
|
+
spread: {
|
|
63
|
+
value: '#0304048f'
|
|
64
|
+
},
|
|
65
|
+
// @ts-ignore no current palette colour for this yet
|
|
66
|
+
perimeter: {
|
|
67
|
+
value: '#03040480'
|
|
68
|
+
}
|
|
59
69
|
},
|
|
60
70
|
overlay: {
|
|
61
71
|
value: [{
|