cozy-viewer 21.0.2 → 21.0.4
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 +10 -0
- package/dist/ViewerContainer.js +3 -0
- package/package.json +4 -4
- package/src/ViewerContainer.jsx +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [21.0.4](https://github.com/cozy/cozy-libs/compare/cozy-viewer@21.0.3...cozy-viewer@21.0.4) (2025-04-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package cozy-viewer
|
|
9
|
+
|
|
10
|
+
## [21.0.3](https://github.com/cozy/cozy-libs/compare/cozy-viewer@21.0.2...cozy-viewer@21.0.3) (2025-04-02)
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **Viewer:** Props have been omitted on Viewer component ([59b4d81](https://github.com/cozy/cozy-libs/commit/59b4d810c320c9ac7a76564044240e2d26e01d64))
|
|
15
|
+
|
|
6
16
|
## [21.0.2](https://github.com/cozy/cozy-libs/compare/cozy-viewer@21.0.1...cozy-viewer@21.0.2) (2025-03-31)
|
|
7
17
|
|
|
8
18
|
### Bug Fixes
|
package/dist/ViewerContainer.js
CHANGED
|
@@ -175,6 +175,9 @@ var ViewerContainer = function ViewerContainer(props) {
|
|
|
175
175
|
}, /*#__PURE__*/_react.default.createElement(_Encrypted.default, {
|
|
176
176
|
url: currentURL
|
|
177
177
|
}, /*#__PURE__*/_react.default.createElement(_Viewer.default, (0, _extends2.default)({}, rest, {
|
|
178
|
+
currentIndex: currentIndex,
|
|
179
|
+
files: files,
|
|
180
|
+
currentURL: currentURL,
|
|
178
181
|
componentsProps: componentsPropsWithDefault,
|
|
179
182
|
hasPrevious: hasPrevious,
|
|
180
183
|
hasNext: hasNext,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-viewer",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.4",
|
|
4
4
|
"description": "Cozy-Viewer provides a component to show files in a viewer.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"babel-preset-cozy-app": "^2.8.1",
|
|
32
32
|
"cozy-client": "^53.1.1",
|
|
33
33
|
"cozy-device-helper": "2.0.0",
|
|
34
|
-
"cozy-harvest-lib": "^32.3.
|
|
34
|
+
"cozy-harvest-lib": "^32.3.7",
|
|
35
35
|
"cozy-intent": "^2.30.0",
|
|
36
36
|
"cozy-logger": "^1.17.0",
|
|
37
|
-
"cozy-sharing": "^25.1.
|
|
37
|
+
"cozy-sharing": "^25.1.1",
|
|
38
38
|
"cozy-ui": "^121.1.1",
|
|
39
39
|
"identity-obj-proxy": "3.0.0",
|
|
40
40
|
"jest": "26.6.3",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react": ">=16.12.0",
|
|
65
65
|
"react-dom": ">=16.12.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "a7357320a4d5ff4adad058fc93d6b6de8978d6f2"
|
|
68
68
|
}
|
package/src/ViewerContainer.jsx
CHANGED
|
@@ -106,6 +106,9 @@ const ViewerContainer = props => {
|
|
|
106
106
|
<EncryptedProvider url={currentURL}>
|
|
107
107
|
<Viewer
|
|
108
108
|
{...rest}
|
|
109
|
+
currentIndex={currentIndex}
|
|
110
|
+
files={files}
|
|
111
|
+
currentURL={currentURL}
|
|
109
112
|
componentsProps={componentsPropsWithDefault}
|
|
110
113
|
hasPrevious={hasPrevious}
|
|
111
114
|
hasNext={hasNext}
|