cozy-viewer 21.0.2 → 21.0.3

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
@@ -3,6 +3,12 @@
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.3](https://github.com/cozy/cozy-libs/compare/cozy-viewer@21.0.2...cozy-viewer@21.0.3) (2025-04-02)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **Viewer:** Props have been omitted on Viewer component ([59b4d81](https://github.com/cozy/cozy-libs/commit/59b4d810c320c9ac7a76564044240e2d26e01d64))
11
+
6
12
  ## [21.0.2](https://github.com/cozy/cozy-libs/compare/cozy-viewer@21.0.1...cozy-viewer@21.0.2) (2025-03-31)
7
13
 
8
14
  ### Bug Fixes
@@ -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.2",
3
+ "version": "21.0.3",
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,7 +31,7 @@
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.5",
34
+ "cozy-harvest-lib": "^32.3.6",
35
35
  "cozy-intent": "^2.30.0",
36
36
  "cozy-logger": "^1.17.0",
37
37
  "cozy-sharing": "^25.1.0",
@@ -64,5 +64,5 @@
64
64
  "react": ">=16.12.0",
65
65
  "react-dom": ">=16.12.0"
66
66
  },
67
- "gitHead": "694a8570d692d4920f30aefd6f74d02d68bbcbf6"
67
+ "gitHead": "1d1a84f061f95d26bb4ba523a48c2e97370dd7dc"
68
68
  }
@@ -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}