cozy-viewer 24.1.9 → 24.2.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
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
# [24.2.0](https://github.com/cozy/cozy-libs/compare/cozy-viewer@24.1.9...cozy-viewer@24.2.0) (2025-11-28)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **cozy-viewer:** Make video viewer bigger ([801e68c](https://github.com/cozy/cozy-libs/commit/801e68cab5c0d4e24057f6b5a4d3dbf2373cd5c6))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- Minimize bottom sheet by default ([2975dac](https://github.com/cozy/cozy-libs/commit/2975dac3a1f99f4cf22d5e623b2a63c94e8e5342))
|
|
15
|
+
- Minimize bottom sheet by default ([f97b3b9](https://github.com/cozy/cozy-libs/commit/f97b3b9f830c6212f88e91d50a72dea633767421))
|
|
16
|
+
|
|
6
17
|
## [24.1.9](https://github.com/cozy/cozy-libs/compare/cozy-viewer@24.1.8...cozy-viewer@24.1.9) (2025-11-27)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package cozy-viewer
|
|
@@ -65,7 +65,7 @@ var FooterContent = function FooterContent(_ref) {
|
|
|
65
65
|
name: 'FooterActionButtons'
|
|
66
66
|
});
|
|
67
67
|
var bottomSheetSettings = {
|
|
68
|
-
isOpenMin:
|
|
68
|
+
isOpenMin: true,
|
|
69
69
|
mediumHeightRatio: isPublic ? undefined : 0.5
|
|
70
70
|
};
|
|
71
71
|
return /*#__PURE__*/_react.default.createElement(_BottomSheet.default, {
|
package/dist/stylesheet.css
CHANGED
|
@@ -51,10 +51,15 @@
|
|
|
51
51
|
.styles__viewer-pdfviewer-input-page___9HErK:focus {
|
|
52
52
|
outline: none;
|
|
53
53
|
}
|
|
54
|
+
.styles__viewer-videoviewer___3yUQ5 {
|
|
55
|
+
flex: 1 1 100%;
|
|
56
|
+
width: auto;
|
|
57
|
+
max-width: 100%;
|
|
58
|
+
}
|
|
54
59
|
.styles__viewer-videoviewer___3yUQ5 video {
|
|
55
|
-
|
|
56
|
-
max-width:
|
|
57
|
-
height:
|
|
60
|
+
display: block;
|
|
61
|
+
max-width: 100%;
|
|
62
|
+
max-height: 100%;
|
|
58
63
|
}
|
|
59
64
|
.styles__viewer-textviewer___1fl1c .styles__viewer-textviewer-content___30dhP {
|
|
60
65
|
white-space: pre-line;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-viewer",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.2.0",
|
|
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.2",
|
|
32
32
|
"cozy-client": "^57.0.0",
|
|
33
33
|
"cozy-device-helper": "2.0.0",
|
|
34
|
-
"cozy-harvest-lib": "^35.1.
|
|
34
|
+
"cozy-harvest-lib": "^35.1.10",
|
|
35
35
|
"cozy-intent": "^2.30.1",
|
|
36
36
|
"cozy-logger": "^1.17.0",
|
|
37
37
|
"cozy-sharing": "^27.1.1",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"react": ">=16.12.0",
|
|
67
67
|
"react-dom": ">=16.12.0"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "089b6132c9ba5ec640a2be98208ef0caf0ca7486"
|
|
70
70
|
}
|
|
@@ -41,10 +41,13 @@
|
|
|
41
41
|
outline none
|
|
42
42
|
|
|
43
43
|
.viewer-videoviewer
|
|
44
|
+
flex 1 1 100%
|
|
45
|
+
width auto
|
|
46
|
+
max-width 100%
|
|
44
47
|
video
|
|
45
|
-
|
|
46
|
-
max-width
|
|
47
|
-
height
|
|
48
|
+
display block
|
|
49
|
+
max-width 100%
|
|
50
|
+
max-height 100%
|
|
48
51
|
|
|
49
52
|
.viewer-textviewer
|
|
50
53
|
.viewer-textviewer-content
|