Skip to content

Commit

Permalink
feat: Upgrade cozy-ui 93.1.1 to 99.0.2 and cozy-client 44.0.0 to 45.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Dec 13, 2023
1 parent 70bfa10 commit e2d48d5
Show file tree
Hide file tree
Showing 15 changed files with 363 additions and 191 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"cozy-authentication": "2.10.10",
"cozy-bar": "10.0.0",
"cozy-ci": "0.5.2",
"cozy-client": "^44.0.0",
"cozy-client": "^45.0.1",
"cozy-client-js": "0.20.0",
"cozy-device-helper": "^2.5.0",
"cozy-doctypes": "1.85.4",
Expand All @@ -124,8 +124,8 @@
"cozy-scanner": "^7.0.1",
"cozy-scripts": "^8.1.0",
"cozy-sharing": "10.0.1",
"cozy-stack-client": "^44.0.0",
"cozy-ui": "93.1.1",
"cozy-stack-client": "^45.0.1",
"cozy-ui": "^99.0.2",
"date-fns": "1.30.1",
"diacritics": "1.3.0",
"fastclick": "1.0.6",
Expand Down
1 change: 1 addition & 0 deletions src/drive/web/modules/public/LightFileViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ const LightFileViewer = ({ files }) => {
<PublicViewer
files={files}
currentIndex={0}
disableModal
componentsProps={{
OnlyOfficeViewer: {
isEnabled: isOfficeEnabled(isDesktop),
Expand Down
2 changes: 1 addition & 1 deletion src/drive/web/modules/public/LightFileViewer.spec.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const client = new createMockClient({})
const setup = () => {
const root = render(
<AppLike client={client}>
<LightFileViewer files={[{ id: '01' }]} />
<LightFileViewer files={[{ id: '01', name: 'fileName' }]} />
</AppLike>
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ exports[`should display the Searchbar 1`] = `
"baseElement": <body>
<div>
<div
class="CozyTheme--normal"
class="CozyTheme--normal u-dc"
>
<div
class="u-flex u-flex-items-center u-flex-grow CozyTheme--normal"
class="u-flex u-flex-items-center u-flex-grow CozyTheme--normal u-dc"
>
<div
class="bar-search-container"
Expand Down Expand Up @@ -67,10 +67,10 @@ exports[`should display the Searchbar 1`] = `
</body>,
"container": <div>
<div
class="CozyTheme--normal"
class="CozyTheme--normal u-dc"
>
<div
class="u-flex u-flex-items-center u-flex-grow CozyTheme--normal"
class="u-flex u-flex-items-center u-flex-grow CozyTheme--normal u-dc"
>
<div
class="bar-search-container"
Expand Down
Loading

0 comments on commit e2d48d5

Please sign in to comment.