@atlaskit/media-client 23.0.0 → 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 CHANGED
@@ -1,5 +1,17 @@
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
+
9
+ ## 23.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 23.0.0
4
16
 
5
17
  ### Major Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "23.0.0",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "23.0.0",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/media-client",
3
- "version": "23.0.0",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -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.0",
3
+ "version": "23.0.2",
4
4
  "description": "Media API Web Client Library",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,14 +29,14 @@
29
29
  "atlassian": {
30
30
  "team": "Media Experience",
31
31
  "inPublicMirror": true,
32
- "releaseModel": "scheduled",
32
+ "releaseModel": "continuous",
33
33
  "website": {
34
34
  "name": "Media Client"
35
35
  }
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/chunkinator": "^4.2.0",
39
- "@atlaskit/media-common": "^6.0.0",
39
+ "@atlaskit/media-common": "^7.0.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "dataloader": "^2.0.0",
42
42
  "deep-equal": "^1.0.1",
@@ -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
  },
package/report.api.md CHANGED
@@ -1035,8 +1035,8 @@ export type MediaStoreCreateFileFromUploadBody = {
1035
1035
 
1036
1036
  // @public (undocumented)
1037
1037
  export type MediaStoreCreateFileFromUploadConditions = {
1038
- readonly hash: string;
1039
- readonly size: number;
1038
+ readonly hash?: string;
1039
+ readonly size?: number;
1040
1040
  };
1041
1041
 
1042
1042
  // @public (undocumented)
@@ -1551,6 +1551,7 @@ export type UploadableFile = {
1551
1551
  name?: string;
1552
1552
  mimeType?: string;
1553
1553
  collection?: string;
1554
+ size?: number;
1554
1555
  };
1555
1556
 
1556
1557
  // @public (undocumented)