@atlaskit/media-client 23.0.1 → 23.0.2
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/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/example-helpers/styles.ts +5 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/media-client
|
|
2
2
|
|
|
3
|
+
## 23.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`48e4a655534`](https://bitbucket.org/atlassian/atlassian-frontend/commits/48e4a655534) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
8
|
+
|
|
3
9
|
## 23.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
|
@@ -37,6 +37,7 @@ const statusColorMap: { [key in FileStatus]: string } = {
|
|
|
37
37
|
'failed-processing': token('color.background.accent.red.subtle', 'indianred'),
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
40
41
|
export const fileWrapperStyles = (status: FileStatus) => css`
|
|
41
42
|
padding: 5px;
|
|
42
43
|
margin: 10px;
|
|
@@ -45,6 +46,7 @@ export const fileWrapperStyles = (status: FileStatus) => css`
|
|
|
45
46
|
background-color: ${statusColorMap[status]};
|
|
46
47
|
`;
|
|
47
48
|
|
|
49
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
48
50
|
export const cardsWrapperStyles = css`
|
|
49
51
|
width: 900px;
|
|
50
52
|
padding: 10px;
|
|
@@ -62,12 +64,14 @@ export const cardsWrapperStyles = css`
|
|
|
62
64
|
}
|
|
63
65
|
`;
|
|
64
66
|
|
|
67
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
65
68
|
export const headerStyles = css`
|
|
66
69
|
button {
|
|
67
70
|
margin: 5px;
|
|
68
71
|
}
|
|
69
72
|
`;
|
|
70
73
|
|
|
74
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
71
75
|
export const fileStateWrapperStyles = css`
|
|
72
76
|
border: 1px solid ${token('color.border', '#ccc')};
|
|
73
77
|
margin: 10px;
|
|
@@ -86,6 +90,7 @@ export const uploadTouchWrapperStyles = css`
|
|
|
86
90
|
align-content: center;
|
|
87
91
|
`;
|
|
88
92
|
|
|
93
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
89
94
|
export const rowStyles = css`
|
|
90
95
|
flex-direction: row;
|
|
91
96
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-client",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.2",
|
|
4
4
|
"description": "Media API Web Client Library",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -81,7 +81,8 @@
|
|
|
81
81
|
},
|
|
82
82
|
"@repo/internal": {
|
|
83
83
|
"design-tokens": [
|
|
84
|
-
"color"
|
|
84
|
+
"color",
|
|
85
|
+
"spacing"
|
|
85
86
|
]
|
|
86
87
|
}
|
|
87
88
|
},
|