cozy-sharing 7.1.2 → 8.0.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 +25 -0
- package/dist/ShareButtonWithRecipients.js +1 -1
- package/dist/SharingBanner/components/PublicBanner.js +1 -1
- package/dist/SharingDetailsModal.js +1 -1
- package/dist/SharingProvider.js +8 -0
- package/dist/components/ContactSuggestion.js +2 -2
- package/dist/components/Recipient/LinkRecipient.js +2 -2
- package/dist/components/Recipient/LinkRecipientPermissions.js +2 -2
- package/dist/components/Recipient/Recipient.js +2 -2
- package/dist/components/Recipient/RecipientConfirm.js +1 -1
- package/dist/components/Recipient/RecipientPermissions.js +1 -1
- package/dist/components/Recipient/RecipientStatus.js +1 -1
- package/dist/components/ShareButton.js +1 -1
- package/dist/components/ShareByEmail.js +1 -1
- package/dist/components/ShareDialogTwoStepsConfirmationContainer.js +1 -1
- package/dist/components/Sharesubmit.js +1 -1
- package/dist/components/WhoHasAccess.js +1 -1
- package/dist/stylesheet.css +102 -28
- package/package.json +5 -5
- package/src/ShareButtonWithRecipients.jsx +1 -1
- package/src/SharingBanner/components/PublicBanner.jsx +1 -1
- package/src/SharingDetailsModal.jsx +1 -1
- package/src/components/ContactSuggestion.jsx +2 -2
- package/src/components/Recipient/LinkRecipient.jsx +2 -2
- package/src/components/Recipient/LinkRecipientPermissions.jsx +5 -5
- package/src/components/Recipient/Recipient.jsx +2 -2
- package/src/components/Recipient/RecipientConfirm.jsx +1 -1
- package/src/components/Recipient/RecipientPermissions.jsx +3 -1
- package/src/components/Recipient/RecipientStatus.jsx +1 -1
- package/src/components/ShareButton.jsx +1 -1
- package/src/components/ShareByEmail.jsx +1 -1
- package/src/components/ShareDialogTwoStepsConfirmationContainer.jsx +1 -1
- package/src/components/Sharesubmit.jsx +1 -1
- package/src/components/WhoHasAccess.jsx +1 -1
- package/src/components/__snapshots__/ContactSuggestion.spec.jsx.snap +795 -732
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React, { useState, useRef, useCallback } from 'react'
|
|
2
2
|
|
|
3
3
|
import { useClient } from 'cozy-client'
|
|
4
|
-
import ActionMenu, { ActionMenuItem } from 'cozy-ui/transpiled/react/ActionMenu'
|
|
5
4
|
import DropdownButton from 'cozy-ui/transpiled/react/DropdownButton'
|
|
6
5
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
7
6
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
@@ -10,6 +9,9 @@ import RenameIcon from 'cozy-ui/transpiled/react/Icons/Rename'
|
|
|
10
9
|
import TrashIcon from 'cozy-ui/transpiled/react/Icons/Trash'
|
|
11
10
|
import Spinner from 'cozy-ui/transpiled/react/Spinner'
|
|
12
11
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
12
|
+
import ActionMenu, {
|
|
13
|
+
ActionMenuItem
|
|
14
|
+
} from 'cozy-ui/transpiled/react/deprecated/ActionMenu'
|
|
13
15
|
|
|
14
16
|
const RecipientPermissions = ({
|
|
15
17
|
isOwner,
|
|
@@ -5,8 +5,8 @@ import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
|
5
5
|
import EyeIcon from 'cozy-ui/transpiled/react/Icons/Eye'
|
|
6
6
|
import PaperplaneIcon from 'cozy-ui/transpiled/react/Icons/Paperplane'
|
|
7
7
|
import ToTheCloudIcon from 'cozy-ui/transpiled/react/Icons/ToTheCloud'
|
|
8
|
-
import { Media, Img, Bd } from 'cozy-ui/transpiled/react/Media'
|
|
9
8
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
9
|
+
import { Media, Img, Bd } from 'cozy-ui/transpiled/react/deprecated/Media'
|
|
10
10
|
|
|
11
11
|
import styles from './recipient.styl'
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import classNames from 'classnames'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import { Button } from 'cozy-ui/transpiled/react/Button'
|
|
5
4
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
6
5
|
import ShareIcon from 'cozy-ui/transpiled/react/Icons/Share'
|
|
6
|
+
import { Button } from 'cozy-ui/transpiled/react/deprecated/Button'
|
|
7
7
|
|
|
8
8
|
import styles from './button.styl'
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@ import PropTypes from 'prop-types'
|
|
|
3
3
|
import React, { useState } from 'react'
|
|
4
4
|
|
|
5
5
|
import { useClient } from 'cozy-client'
|
|
6
|
-
import Alerter from 'cozy-ui/transpiled/react/Alerter'
|
|
7
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
7
|
+
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter'
|
|
8
8
|
|
|
9
9
|
import ShareRecipientsInput from './ShareRecipientsInput'
|
|
10
10
|
import ShareSubmit from './Sharesubmit'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useState } from 'react'
|
|
2
2
|
|
|
3
|
-
import Button from 'cozy-ui/transpiled/react/Button'
|
|
4
3
|
import { FixedDialog } from 'cozy-ui/transpiled/react/CozyDialogs'
|
|
5
4
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
6
5
|
import Spinner from 'cozy-ui/transpiled/react/Spinner'
|
|
6
|
+
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
|
|
7
7
|
|
|
8
8
|
import { useSafeState } from '../helpers/hooks'
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types'
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
4
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
5
|
-
import List from 'cozy-ui/transpiled/react/
|
|
5
|
+
import List from 'cozy-ui/transpiled/react/List'
|
|
6
6
|
|
|
7
7
|
import LinkRecipient from './Recipient/LinkRecipient'
|
|
8
8
|
import OwnerRecipient from './Recipient/OwnerRecipient'
|