Skip to content

Commit

Permalink
feat: Update cozy-sharing to 6.0.1 to get new sharing-modal
Browse files Browse the repository at this point in the history
Two path update due to breaking changes.
  • Loading branch information
zatteo committed Feb 2, 2023
1 parent b6cc920 commit 423ed21
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"cozy-realtime": "3.14.4",
"cozy-scanner": "2.4.6",
"cozy-scripts": "^7.0.0",
"cozy-sharing": "5.0.0",
"cozy-sharing": "6.0.1",
"cozy-stack-client": "^34.1.5",
"cozy-ui": "^79.4.0",
"date-fns": "1.30.1",
Expand Down
2 changes: 1 addition & 1 deletion src/drive/web/modules/drive/Toolbar/share/ShareItem.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'

import { SharedDocument } from 'cozy-sharing'
import { RecipientsAvatars } from 'cozy-sharing/dist/components/Recipient'
import RecipientsAvatars from 'cozy-sharing/dist/components/Recipient/Recipient'
import { translate } from 'cozy-ui/transpiled/react/I18n'
import { ActionMenuItem } from 'cozy-ui/transpiled/react/ActionMenu'
import Icon from 'cozy-ui/transpiled/react/Icon'
Expand Down
2 changes: 1 addition & 1 deletion src/photos/ducks/albums/components/AlbumToolbar.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { Component } from 'react'

import { ShareButton, SharedRecipients, SharedDocument } from 'cozy-sharing'
import { RecipientsAvatars } from 'cozy-sharing/dist/components/Recipient'
import RecipientsAvatars from 'cozy-sharing/dist/components/Recipient/Recipient'
import { Menu, MenuItem, Icon, withBreakpoints } from 'cozy-ui/transpiled/react'
import ShareIcon from 'cozy-ui/transpiled/react/Icons/Share'
import DownloadIcon from 'cozy-ui/transpiled/react/Icons/Download'
Expand Down
62 changes: 26 additions & 36 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5793,10 +5793,10 @@ cozy-device-helper@^2.5.0:
dependencies:
lodash "^4.17.19"

cozy-device-helper@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.6.0.tgz#07d83e6e412244f92bba30a0e04560bf3e1abb79"
integrity sha512-9loS2xUnA1szP8z8rBu8ni69zZj95eZKH8OqPTspWeRgUtzCAMlJoXusqEUTgVbj37JrvbYkifyxf3IkCZDXAg==
cozy-device-helper@^2.7.0:
version "2.7.0"
resolved "https://registry.yarnpkg.com/cozy-device-helper/-/cozy-device-helper-2.7.0.tgz#573749997f18e5a1f11f720faec8c9bf2406beeb"
integrity sha512-jMzW7s4IDuMivbsP8fo1IWW1z5l0wJ0u440E0fQmdsi+Zm/L9GXFKthLuuceYqXlH6c/APUCfpozJqjFMMHU1A==
dependencies:
lodash "^4.17.19"

Expand All @@ -5822,12 +5822,12 @@ cozy-doctypes@^1.82.1:
lodash "^4.17.19"
prop-types "^15.7.2"

cozy-doctypes@^1.86.1:
version "1.86.1"
resolved "https://registry.yarnpkg.com/cozy-doctypes/-/cozy-doctypes-1.86.1.tgz#e3a9931ef260a08dab6c1174dc72217c4af0361a"
integrity sha512-A+bMfL/ifMp6LESSzI66ytsC+SWG+Eew6aIznPH1s+eAQ/7pHz9RRxmOQL5bGjPruiQdIeyK/Zk/4idBE6zE1g==
cozy-doctypes@^1.87.0:
version "1.87.0"
resolved "https://registry.yarnpkg.com/cozy-doctypes/-/cozy-doctypes-1.87.0.tgz#408a23d19d3add52ed26d1e9599d6f48cb185a21"
integrity sha512-Zax6BIKgYlzC+CvSimxOm3C91Iy9efSQhwEqVW4jjO1yjEl5n2W40OYNXyaN56WU7cGMM6gJ7T6ao4O6m2fmSw==
dependencies:
cozy-logger "^1.9.1"
cozy-logger "^1.10.0"
date-fns "^1.30.1"
es6-promise-pool "^2.5.0"
lodash "^4.17.19"
Expand Down Expand Up @@ -5900,6 +5900,14 @@ [email protected], cozy-logger@^1.9.1:
chalk "^2.4.2"
json-stringify-safe "5.0.1"

cozy-logger@^1.10.0:
version "1.10.0"
resolved "https://registry.yarnpkg.com/cozy-logger/-/cozy-logger-1.10.0.tgz#c040081976921c73021f0acc81d515700241a3f1"
integrity sha512-cChOYvbZ0rtzo6MEY4+ZLniKaDv46V8fdJ0qgRcPjDE1dDrfVvxyRWsKrSGIw+LTBqdrlfDpPoqjEiYC24xr+A==
dependencies:
chalk "^2.4.2"
json-stringify-safe "5.0.1"

cozy-logger@^1.3.0, cozy-logger@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/cozy-logger/-/cozy-logger-1.7.0.tgz#945ff84df66f7e7e9640db00f8c632d4ff776fc8"
Expand Down Expand Up @@ -6007,18 +6015,18 @@ cozy-scripts@^7.0.0:
webpack-dev-server "3.10.3"
webpack-merge "4.2.2"

cozy-sharing@5.0.0:
version "5.0.0"
resolved "https://registry.yarnpkg.com/cozy-sharing/-/cozy-sharing-5.0.0.tgz#f2f05b767cbbbe0eeb5cee3959c838c005e80ba2"
integrity sha512-H5OVBROTsfQJYvvUn00LKriw195VgYvKx6sQn5sZa1EBD3Mw7EaI0WqLzR7zH1HDq2wf88TfEwRjV6EU1fkazQ==
cozy-sharing@6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/cozy-sharing/-/cozy-sharing-6.0.1.tgz#25873599ef5a3977c5e79eefc5cb5025fc85e788"
integrity sha512-GK43FT0FWoFH6mCAQu7NZ3p43MEXP9FjfM3ZTyIAXrmyMztnQeWOpDTh297tbq5B+63fFpUW4oVNTRwkkmG0ZQ==
dependencies:
"@cozy/minilog" "^1.0.0"
classnames "^2.2.6"
copy-text-to-clipboard "^2.1.1"
cozy-device-helper "^2.6.0"
cozy-doctypes "^1.86.1"
cozy-device-helper "^2.7.0"
cozy-doctypes "^1.87.0"
lodash "^4.17.19"
react-autosuggest "^9.4.3"
react-autosuggest "^10.1.0"
react-tooltip "^3.11.1"
snarkdown "^2.0.0"

Expand Down Expand Up @@ -14660,7 +14668,7 @@ [email protected]:
object-assign "^4.1.1"
react-is "^16.8.1"

[email protected], prop-types@^15.0.0, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
[email protected], prop-types@^15.0.0, prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1:
version "15.8.1"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5"
integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==
Expand Down Expand Up @@ -14924,24 +14932,6 @@ react-autosuggest@^10.1.0:
section-iterator "^2.0.0"
shallow-equal "^1.2.1"

react-autosuggest@^9.4.3:
version "9.4.3"
resolved "https://registry.yarnpkg.com/react-autosuggest/-/react-autosuggest-9.4.3.tgz#eb46852422a48144ab9f39fb5470319222f26c7c"
integrity sha512-wFbp5QpgFQRfw9cwKvcgLR8theikOUkv8PFsuLYqI2PUgVlx186Cz8MYt5bLxculi+jxGGUUVt+h0esaBZZouw==
dependencies:
prop-types "^15.5.10"
react-autowhatever "^10.1.2"
shallow-equal "^1.0.0"

react-autowhatever@^10.1.2:
version "10.2.1"
resolved "https://registry.yarnpkg.com/react-autowhatever/-/react-autowhatever-10.2.1.tgz#a6d421dc6135173efedc249ab7216e4f5b691bcc"
integrity sha512-5gQyoETyBH6GmuW1N1J81CuoAV+Djeg66DEo03xiZOl3WOwJHBP5LisKUvCGOakjrXU4M3hcIvCIqMBYGUmqOA==
dependencies:
prop-types "^15.5.8"
react-themeable "^1.1.0"
section-iterator "^2.0.0"

[email protected]:
version "4.1.0"
resolved "https://registry.yarnpkg.com/react-chartjs-2/-/react-chartjs-2-4.1.0.tgz#2a123df16d3a987c54eb4e810ed766d3c03adf8d"
Expand Down Expand Up @@ -16270,7 +16260,7 @@ sha.js@^2.4.0, sha.js@^2.4.8, sha.js@~2.4.4:
inherits "^2.0.1"
safe-buffer "^5.0.1"

shallow-equal@^1.0.0, shallow-equal@^1.2.1:
shallow-equal@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/shallow-equal/-/shallow-equal-1.2.1.tgz#4c16abfa56043aa20d050324efa68940b0da79da"
integrity sha512-S4vJDjHHMBaiZuT9NPb616CSmLf618jawtv3sufLl6ivK8WocjAo58cXwbRV1cgqxH0Qbv+iUt6m05eqEa2IRA==
Expand Down

0 comments on commit 423ed21

Please sign in to comment.