@atlaskit/media-file-preview 0.6.0 → 0.7.0
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 +8 -0
- package/package.json +8 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/media-file-preview
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#130406](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130406)
|
|
8
|
+
[`2132e67c92d0f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2132e67c92d0f) -
|
|
9
|
+
Updates media-file-preview to support React 18
|
|
10
|
+
|
|
3
11
|
## 0.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/media-file-preview",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A React Hook to fetch and render file previews. It's overloaded with fancy features like SSR, lazy loading, memory cache and local preview.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
"website": {
|
|
15
15
|
"name": "MediaFilePreview",
|
|
16
16
|
"category": "Components"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"runReact18": true
|
|
18
19
|
},
|
|
19
20
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
20
21
|
"main": "dist/cjs/index.js",
|
|
@@ -38,20 +39,21 @@
|
|
|
38
39
|
"@atlaskit/media-client": "^27.3.0",
|
|
39
40
|
"@atlaskit/media-client-react": "^2.0.1",
|
|
40
41
|
"@atlaskit/media-common": "^11.3.0",
|
|
41
|
-
"@atlaskit/media-ui": "^25.
|
|
42
|
+
"@atlaskit/media-ui": "^25.11.0",
|
|
42
43
|
"@babel/runtime": "^7.0.0",
|
|
43
44
|
"eventemitter2": "^4.1.0",
|
|
44
45
|
"lru_map": "^0.4.1"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
|
-
"react": "^16.8.0"
|
|
48
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0",
|
|
49
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
50
52
|
"@af/integration-testing": "*",
|
|
51
53
|
"@af/visual-regression": "*",
|
|
52
54
|
"@atlaskit/media-state": "^1.1.0",
|
|
53
|
-
"@atlaskit/media-test-data": "^2.
|
|
54
|
-
"@atlaskit/section-message": "^6.
|
|
55
|
+
"@atlaskit/media-test-data": "^2.5.0",
|
|
56
|
+
"@atlaskit/section-message": "^6.6.0",
|
|
55
57
|
"@atlaskit/ssr": "*",
|
|
56
58
|
"@atlaskit/visual-regression": "*",
|
|
57
59
|
"@testing-library/react": "^12.1.5",
|