cozy-sharing 7.1.3 → 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 +17 -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 +4 -4
- 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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,23 @@
|
|
|
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
|
+
# 8.0.0 (2023-07-05)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Display reconnection webview for powens konnectors ([a924d3e](https://github.com/cozy/cozy-libs/commit/a924d3e13524f211bc8ae45435a012b8e2125ed8))
|
|
12
|
+
* Update cozy-ui to 88 with codemods ([7ba4172](https://github.com/cozy/cozy-libs/commit/7ba41729ff1b67830fb131655434da61e40949a5))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* - you need to update cozy-ui to >=88.2.1
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
6
23
|
## [7.1.3](https://github.com/cozy/cozy-libs/compare/cozy-sharing@7.1.2...cozy-sharing@7.1.3) (2023-04-13)
|
|
7
24
|
|
|
8
25
|
**Note:** Version bump only for package cozy-sharing
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["docId", "onClick"];
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import Grid from 'cozy-ui/transpiled/react/
|
|
5
|
+
import Grid from 'cozy-ui/transpiled/react/Grid';
|
|
6
6
|
import Skeleton from 'cozy-ui/transpiled/react/Skeleton';
|
|
7
7
|
import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints';
|
|
8
8
|
import { ShareButton } from './ShareButton';
|
|
@@ -3,8 +3,8 @@ import React from 'react';
|
|
|
3
3
|
import snarkdown from 'snarkdown';
|
|
4
4
|
import { useClient } from 'cozy-client';
|
|
5
5
|
import Banner from 'cozy-ui/transpiled/react/Banner';
|
|
6
|
-
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/Button';
|
|
7
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
7
|
+
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/deprecated/Button';
|
|
8
8
|
import CozyHomeLinkIcon from './CozyHomeLinkIcon';
|
|
9
9
|
var styles = {
|
|
10
10
|
"bannermarkdown": "publicBanner__bannermarkdown___1EMSa"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Dialog } from 'cozy-ui/transpiled/react/CozyDialogs';
|
|
4
|
+
import Divider from 'cozy-ui/transpiled/react/Divider';
|
|
4
5
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
5
|
-
import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider';
|
|
6
6
|
import OwnerIdentity from './components/Recipient/OwnerIdentity';
|
|
7
7
|
import WhoHasAccess from './components/WhoHasAccess';
|
|
8
8
|
import { getDisplayName } from './models';
|
package/dist/SharingProvider.js
CHANGED
|
@@ -401,6 +401,14 @@ export var SharingProvider = /*#__PURE__*/function (_Component) {
|
|
|
401
401
|
};
|
|
402
402
|
}());
|
|
403
403
|
|
|
404
|
+
/**
|
|
405
|
+
* updateDocumentPermissions - Description
|
|
406
|
+
*
|
|
407
|
+
* @param {Object} document A shared document
|
|
408
|
+
* @param {Array} newVerbs The new verbs to use for the permission, eg. ['GET']
|
|
409
|
+
*
|
|
410
|
+
* @return {Array}
|
|
411
|
+
*/
|
|
404
412
|
_defineProperty(_assertThisInitialized(_this), "updateDocumentPermissions", /*#__PURE__*/function () {
|
|
405
413
|
var _ref11 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(document, newVerbs) {
|
|
406
414
|
var permissions, responses;
|
|
@@ -4,9 +4,9 @@ import React from 'react';
|
|
|
4
4
|
import { models } from 'cozy-client';
|
|
5
5
|
import Avatar from 'cozy-ui/transpiled/react/Avatar';
|
|
6
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
7
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem';
|
|
8
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon';
|
|
7
9
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText';
|
|
8
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem';
|
|
9
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon';
|
|
10
10
|
import { Contact, Group, getDisplayName, getInitials } from '../models';
|
|
11
11
|
var ContactModel = models.contact;
|
|
12
12
|
export var ContactSuggestion = function ContactSuggestion(_ref) {
|
|
@@ -6,9 +6,9 @@ import Fade from 'cozy-ui/transpiled/react/Fade';
|
|
|
6
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
7
7
|
import Icon from 'cozy-ui/transpiled/react/Icon';
|
|
8
8
|
import LinkIcon from 'cozy-ui/transpiled/react/Icons/Link';
|
|
9
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem';
|
|
10
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon';
|
|
9
11
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText';
|
|
10
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem';
|
|
11
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon';
|
|
12
12
|
import Typography from 'cozy-ui/transpiled/react/Typography';
|
|
13
13
|
import LinkRecipientPermissions from './LinkRecipientPermissions';
|
|
14
14
|
import RecipientConfirm from './RecipientConfirm';
|
|
@@ -2,14 +2,14 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useState, useRef } from 'react';
|
|
5
|
-
import ActionMenu, { ActionMenuItem, ActionMenuRadio } from 'cozy-ui/transpiled/react/ActionMenu';
|
|
6
|
-
import Alerter from 'cozy-ui/transpiled/react/Alerter';
|
|
7
5
|
import DropdownButton from 'cozy-ui/transpiled/react/DropdownButton';
|
|
8
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
9
7
|
import Icon from 'cozy-ui/transpiled/react/Icon';
|
|
10
8
|
import TrashIcon from 'cozy-ui/transpiled/react/Icons/Trash';
|
|
11
9
|
import Spinner from 'cozy-ui/transpiled/react/Spinner';
|
|
12
10
|
import Typography from 'cozy-ui/transpiled/react/Typography';
|
|
11
|
+
import ActionMenu, { ActionMenuItem, ActionMenuRadio } from 'cozy-ui/transpiled/react/deprecated/ActionMenu';
|
|
12
|
+
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter';
|
|
13
13
|
import { isOnlyReadOnlyLinkAllowed } from '../../helpers/link';
|
|
14
14
|
import { checkIsReadOnlyPermissions } from '../../helpers/permissions';
|
|
15
15
|
import logger from '../../logger';
|
|
@@ -6,9 +6,9 @@ import React from 'react';
|
|
|
6
6
|
import { useClient } from 'cozy-client';
|
|
7
7
|
import Fade from 'cozy-ui/transpiled/react/Fade';
|
|
8
8
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
9
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem';
|
|
10
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon';
|
|
9
11
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText';
|
|
10
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem';
|
|
11
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon';
|
|
12
12
|
import Typography from 'cozy-ui/transpiled/react/Typography';
|
|
13
13
|
import RecipientAvatar from './RecipientAvatar';
|
|
14
14
|
import RecipientConfirm from './RecipientConfirm';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import Button from 'cozy-ui/transpiled/react/Button';
|
|
4
3
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
4
|
+
import Button from 'cozy-ui/transpiled/react/deprecated/Button';
|
|
5
5
|
var modalStyles = {
|
|
6
6
|
"share-modal-content": "share__share-modal-content___XTtaK",
|
|
7
7
|
"coz-form": "share__coz-form___33NYF",
|
|
@@ -3,7 +3,6 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useState, useRef, useCallback } from 'react';
|
|
5
5
|
import { useClient } from 'cozy-client';
|
|
6
|
-
import ActionMenu, { ActionMenuItem } from 'cozy-ui/transpiled/react/ActionMenu';
|
|
7
6
|
import DropdownButton from 'cozy-ui/transpiled/react/DropdownButton';
|
|
8
7
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
9
8
|
import Icon from 'cozy-ui/transpiled/react/Icon';
|
|
@@ -12,6 +11,7 @@ import RenameIcon from 'cozy-ui/transpiled/react/Icons/Rename';
|
|
|
12
11
|
import TrashIcon from 'cozy-ui/transpiled/react/Icons/Trash';
|
|
13
12
|
import Spinner from 'cozy-ui/transpiled/react/Spinner';
|
|
14
13
|
import Typography from 'cozy-ui/transpiled/react/Typography';
|
|
14
|
+
import ActionMenu, { ActionMenuItem } from 'cozy-ui/transpiled/react/deprecated/ActionMenu';
|
|
15
15
|
|
|
16
16
|
var RecipientPermissions = function RecipientPermissions(_ref) {
|
|
17
17
|
var isOwner = _ref.isOwner,
|
|
@@ -4,8 +4,8 @@ import Icon from 'cozy-ui/transpiled/react/Icon';
|
|
|
4
4
|
import EyeIcon from 'cozy-ui/transpiled/react/Icons/Eye';
|
|
5
5
|
import PaperplaneIcon from 'cozy-ui/transpiled/react/Icons/Paperplane';
|
|
6
6
|
import ToTheCloudIcon from 'cozy-ui/transpiled/react/Icons/ToTheCloud';
|
|
7
|
-
import { Media, Img, Bd } from 'cozy-ui/transpiled/react/Media';
|
|
8
7
|
import Typography from 'cozy-ui/transpiled/react/Typography';
|
|
8
|
+
import { Media, Img, Bd } from 'cozy-ui/transpiled/react/deprecated/Media';
|
|
9
9
|
var styles = {
|
|
10
10
|
"CozyTheme--inverted": "recipient__CozyTheme--inverted___2Hb9c",
|
|
11
11
|
"CozyTheme--normal": "recipient__CozyTheme--normal___3WdEw",
|
|
@@ -5,9 +5,9 @@ var _excluded = ["label", "onClick", "className"],
|
|
|
5
5
|
_excluded3 = ["label", "onClick", "className"];
|
|
6
6
|
import classNames from 'classnames';
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import { Button } from 'cozy-ui/transpiled/react/Button';
|
|
9
8
|
import Icon from 'cozy-ui/transpiled/react/Icon';
|
|
10
9
|
import ShareIcon from 'cozy-ui/transpiled/react/Icons/Share';
|
|
10
|
+
import { Button } from 'cozy-ui/transpiled/react/deprecated/Button';
|
|
11
11
|
var styles = {
|
|
12
12
|
"coz-btn-shared": "button__coz-btn-shared___2BoMk",
|
|
13
13
|
"coz-btn-sharedWithMe": "button__coz-btn-sharedWithMe___2Vjfh"
|
|
@@ -6,8 +6,8 @@ import get from 'lodash/get';
|
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import { useClient } from 'cozy-client';
|
|
9
|
-
import Alerter from 'cozy-ui/transpiled/react/Alerter';
|
|
10
9
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
10
|
+
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter';
|
|
11
11
|
import ShareRecipientsInput from './ShareRecipientsInput';
|
|
12
12
|
import ShareSubmit from './Sharesubmit';
|
|
13
13
|
import ShareTypeSelect from './Sharetypeselect';
|
|
@@ -2,10 +2,10 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useCallback, useEffect, useState } from 'react';
|
|
5
|
-
import Button from 'cozy-ui/transpiled/react/Button';
|
|
6
5
|
import { FixedDialog } from 'cozy-ui/transpiled/react/CozyDialogs';
|
|
7
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n';
|
|
8
7
|
import Spinner from 'cozy-ui/transpiled/react/Spinner';
|
|
8
|
+
import Button from 'cozy-ui/transpiled/react/deprecated/Button';
|
|
9
9
|
import { useSafeState } from '../helpers/hooks';
|
|
10
10
|
/**
|
|
11
11
|
* Displays a loader that can be used when ShareDialogTwoStepsConfirmationContainer is in loading state
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { Button } from 'cozy-ui/transpiled/react/Button';
|
|
3
|
+
import { Button } from 'cozy-ui/transpiled/react/deprecated/Button';
|
|
4
4
|
|
|
5
5
|
var ShareSubmit = function ShareSubmit(props) {
|
|
6
6
|
return /*#__PURE__*/React.createElement(Button, {
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import React from 'react';
|
|
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
|
import LinkRecipient from './Recipient/LinkRecipient';
|
|
7
7
|
import OwnerRecipient from './Recipient/OwnerRecipient';
|
|
8
8
|
import Recipient from './Recipient/Recipient';
|
package/dist/stylesheet.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
background-color: var(--paleGrey);
|
|
5
5
|
color: var(--silver);
|
|
6
6
|
position: relative;
|
|
7
|
-
z-index:
|
|
7
|
+
z-index: var(--zIndex-low);
|
|
8
8
|
}
|
|
9
9
|
.publicBanner__bannermarkdown___1EMSa img svg {
|
|
10
10
|
width: 50%;
|
|
@@ -760,21 +760,6 @@
|
|
|
760
760
|
}
|
|
761
761
|
@media (max-width: 48rem) {
|
|
762
762
|
}
|
|
763
|
-
html {
|
|
764
|
-
--zIndex-below: -1;
|
|
765
|
-
--zIndex-app: 0;
|
|
766
|
-
--zIndex-low: 1;
|
|
767
|
-
--zIndex-alertMobile: 10;
|
|
768
|
-
--zIndex-nav: 20;
|
|
769
|
-
--zIndex-bar: 21;
|
|
770
|
-
--zIndex-selection: 30;
|
|
771
|
-
--zIndex-popover: 40;
|
|
772
|
-
--zIndex-overlay: 50;
|
|
773
|
-
--zIndex-fileActionMenu: 60;
|
|
774
|
-
--zIndex-drawer: 60;
|
|
775
|
-
--zIndex-modal: 70;
|
|
776
|
-
--zindex-alert: 80;
|
|
777
|
-
}
|
|
778
763
|
:root {
|
|
779
764
|
--invertedBackgroundColor: #297ef2;
|
|
780
765
|
--invertedContrastTextColor: #fff;
|
|
@@ -1005,7 +990,7 @@ html,
|
|
|
1005
990
|
Hexadecimal colors are here only as an example on a white background.
|
|
1006
991
|
|
|
1007
992
|
Stylus: primaryTextColor - #383B43, CSS: var(--primaryTextColor)
|
|
1008
|
-
Stylus: secondaryTextColor - #
|
|
993
|
+
Stylus: secondaryTextColor - #6F7177, CSS: var(--secondaryTextColor)
|
|
1009
994
|
Stylus: disabledTextColor - #BEBFC1, CSS: var(--disabledTextColor)
|
|
1010
995
|
Stylus: hintTextColor - #BEBFC1, CSS: var(--hintTextColor)
|
|
1011
996
|
Stylus: iconTextColor - #66686D, CSS: var(--iconTextColor)
|
|
@@ -1013,7 +998,7 @@ html,
|
|
|
1013
998
|
Styleguide Settings.theme.text
|
|
1014
999
|
*/
|
|
1015
1000
|
--primaryTextColor: rgba(29,33,42,0.9);
|
|
1016
|
-
--secondaryTextColor: rgba(29,33,42,0.
|
|
1001
|
+
--secondaryTextColor: rgba(29,33,42,0.64);
|
|
1017
1002
|
--disabledTextColor: rgba(29,33,42,0.32);
|
|
1018
1003
|
--hintTextColor: rgba(29,33,42,0.32);
|
|
1019
1004
|
--iconTextColor: rgba(29,33,42,0.72);
|
|
@@ -1074,14 +1059,14 @@ html,
|
|
|
1074
1059
|
Success colors
|
|
1075
1060
|
|
|
1076
1061
|
Stylus: successColorLight - #38C949, CSS: var(--successColorLight)
|
|
1077
|
-
Stylus: successColor - #
|
|
1062
|
+
Stylus: successColor - #09AB1B, CSS: var(--successColor)
|
|
1078
1063
|
Stylus: successColorDark - #018711, CSS: var(--successColorDark)
|
|
1079
1064
|
Stylus: successColorContrastText - #FFF, CSS: var(--successColorContrastText)
|
|
1080
1065
|
|
|
1081
1066
|
Styleguide Settings.theme.success
|
|
1082
1067
|
*/
|
|
1083
1068
|
--successColorLight: #38c949;
|
|
1084
|
-
--successColor: #
|
|
1069
|
+
--successColor: #09ab1b;
|
|
1085
1070
|
--successColorDark: #018711;
|
|
1086
1071
|
--successColorContrastText: #fff;
|
|
1087
1072
|
/*
|
|
@@ -1130,6 +1115,35 @@ html,
|
|
|
1130
1115
|
--infoColor: #009fa2;
|
|
1131
1116
|
--infoColorDark: #007578;
|
|
1132
1117
|
--infoColorContrastText: #fff;
|
|
1118
|
+
/*
|
|
1119
|
+
Shadow colors
|
|
1120
|
+
*/
|
|
1121
|
+
--shadow0: none;
|
|
1122
|
+
--shadow1: 0px 2px 4px 0px rgba(29,33,42,0.08), 0px 4px 16px 0px rgba(29,33,42,0.06), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1123
|
+
--shadow2: 0px 3px 5px 0px rgba(29,33,42,0.09), 0px 4px 17px 0px rgba(29,33,42,0.07), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1124
|
+
--shadow3: 0px 3px 5px -1px rgba(29,33,42,0.09), 0px 5px 19px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1125
|
+
--shadow4: 0px 3px 6px -1px rgba(29,33,42,0.1), 0px 5px 20px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1126
|
+
--shadow5: 0px 4px 6px -1px rgba(29,33,42,0.11), 0px 5px 22px 1px rgba(29,33,42,0.09), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1127
|
+
--shadow6: 0px 4px 7px -2px rgba(29,33,42,0.11), 0px 6px 23px 2px rgba(29,33,42,0.1), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1128
|
+
--shadow7: 0px 5px 7px -2px rgba(29,33,42,0.12), 0px 6px 24px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1129
|
+
--shadow8: 0px 5px 8px -2px rgba(29,33,42,0.13), 0px 6px 26px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1130
|
+
--shadow9: 0px 5px 8px -3px rgba(29,33,42,0.14), 0px 7px 27px 3px rgba(29,33,42,0.12), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1131
|
+
--shadow10: 0px 6px 9px -3px rgba(29,33,42,0.14), 0px 7px 29px 3px rgba(29,33,42,0.13), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1132
|
+
--shadow11: 0px 6px 9px -3px rgba(29,33,42,0.15), 0px 7px 30px 3px rgba(29,33,42,0.14), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1133
|
+
--shadow12: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 31px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1134
|
+
--shadow13: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 33px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1135
|
+
--shadow14: 0px 8px 11px -5px rgba(29,33,42,0.17), 0px 9px 34px 5px rgba(29,33,42,0.16), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1136
|
+
--shadow15: 0px 8px 11px -5px rgba(29,33,42,0.18), 0px 9px 35px 5px rgba(29,33,42,0.17), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1137
|
+
--shadow16: 0px 9px 12px -5px rgba(29,33,42,0.18), 0px 9px 37px 5px rgba(29,33,42,0.18), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1138
|
+
--shadow17: 0px 9px 12px -6px rgba(29,33,42,0.19), 0px 10px 38px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1139
|
+
--shadow18: 0px 9px 13px -6px rgba(29,33,42,0.2), 0px 10px 40px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1140
|
+
--shadow19: 0px 10px 13px -6px rgba(29,33,42,0.21), 0px 10px 41px 6px rgba(29,33,42,0.2), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1141
|
+
--shadow20: 0px 10px 14px -7px rgba(29,33,42,0.21), 0px 11px 42px 7px rgba(29,33,42,0.21), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1142
|
+
--shadow21: 0px 11px 14px -7px rgba(29,33,42,0.22), 0px 11px 44px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1143
|
+
--shadow22: 0px 11px 15px -7px rgba(29,33,42,0.23), 0px 11px 45px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1144
|
+
--shadow23: 0px 12px 15px -8px rgba(29,33,42,0.23), 0px 12px 47px 8px rgba(29,33,42,0.23), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1145
|
+
--shadow24: 0px 12px 16px -8px rgba(29,33,42,0.24), 0px 12px 48px 8px rgba(29,33,42,0.24), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
1146
|
+
--shadow25: 0px 1px 4px rgba(29,33,42,0.04);
|
|
1133
1147
|
/*
|
|
1134
1148
|
---------------------------------------------------------------------
|
|
1135
1149
|
*/
|
|
@@ -2116,7 +2130,7 @@ html,
|
|
|
2116
2130
|
Hexadecimal colors are here only as an example on a white background.
|
|
2117
2131
|
|
|
2118
2132
|
Stylus: primaryTextColor - #383B43, CSS: var(--primaryTextColor)
|
|
2119
|
-
Stylus: secondaryTextColor - #
|
|
2133
|
+
Stylus: secondaryTextColor - #6F7177, CSS: var(--secondaryTextColor)
|
|
2120
2134
|
Stylus: disabledTextColor - #BEBFC1, CSS: var(--disabledTextColor)
|
|
2121
2135
|
Stylus: hintTextColor - #BEBFC1, CSS: var(--hintTextColor)
|
|
2122
2136
|
Stylus: iconTextColor - #66686D, CSS: var(--iconTextColor)
|
|
@@ -2124,7 +2138,7 @@ html,
|
|
|
2124
2138
|
Styleguide Settings.theme.text
|
|
2125
2139
|
*/
|
|
2126
2140
|
--primaryTextColor: rgba(29,33,42,0.9);
|
|
2127
|
-
--secondaryTextColor: rgba(29,33,42,0.
|
|
2141
|
+
--secondaryTextColor: rgba(29,33,42,0.64);
|
|
2128
2142
|
--disabledTextColor: rgba(29,33,42,0.32);
|
|
2129
2143
|
--hintTextColor: rgba(29,33,42,0.32);
|
|
2130
2144
|
--iconTextColor: rgba(29,33,42,0.72);
|
|
@@ -2185,14 +2199,14 @@ html,
|
|
|
2185
2199
|
Success colors
|
|
2186
2200
|
|
|
2187
2201
|
Stylus: successColorLight - #38C949, CSS: var(--successColorLight)
|
|
2188
|
-
Stylus: successColor - #
|
|
2202
|
+
Stylus: successColor - #09AB1B, CSS: var(--successColor)
|
|
2189
2203
|
Stylus: successColorDark - #018711, CSS: var(--successColorDark)
|
|
2190
2204
|
Stylus: successColorContrastText - #FFF, CSS: var(--successColorContrastText)
|
|
2191
2205
|
|
|
2192
2206
|
Styleguide Settings.theme.success
|
|
2193
2207
|
*/
|
|
2194
2208
|
--successColorLight: #38c949;
|
|
2195
|
-
--successColor: #
|
|
2209
|
+
--successColor: #09ab1b;
|
|
2196
2210
|
--successColorDark: #018711;
|
|
2197
2211
|
--successColorContrastText: #fff;
|
|
2198
2212
|
/*
|
|
@@ -2241,6 +2255,35 @@ html,
|
|
|
2241
2255
|
--infoColor: #009fa2;
|
|
2242
2256
|
--infoColorDark: #007578;
|
|
2243
2257
|
--infoColorContrastText: #fff;
|
|
2258
|
+
/*
|
|
2259
|
+
Shadow colors
|
|
2260
|
+
*/
|
|
2261
|
+
--shadow0: none;
|
|
2262
|
+
--shadow1: 0px 2px 4px 0px rgba(29,33,42,0.08), 0px 4px 16px 0px rgba(29,33,42,0.06), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2263
|
+
--shadow2: 0px 3px 5px 0px rgba(29,33,42,0.09), 0px 4px 17px 0px rgba(29,33,42,0.07), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2264
|
+
--shadow3: 0px 3px 5px -1px rgba(29,33,42,0.09), 0px 5px 19px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2265
|
+
--shadow4: 0px 3px 6px -1px rgba(29,33,42,0.1), 0px 5px 20px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2266
|
+
--shadow5: 0px 4px 6px -1px rgba(29,33,42,0.11), 0px 5px 22px 1px rgba(29,33,42,0.09), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2267
|
+
--shadow6: 0px 4px 7px -2px rgba(29,33,42,0.11), 0px 6px 23px 2px rgba(29,33,42,0.1), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2268
|
+
--shadow7: 0px 5px 7px -2px rgba(29,33,42,0.12), 0px 6px 24px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2269
|
+
--shadow8: 0px 5px 8px -2px rgba(29,33,42,0.13), 0px 6px 26px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2270
|
+
--shadow9: 0px 5px 8px -3px rgba(29,33,42,0.14), 0px 7px 27px 3px rgba(29,33,42,0.12), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2271
|
+
--shadow10: 0px 6px 9px -3px rgba(29,33,42,0.14), 0px 7px 29px 3px rgba(29,33,42,0.13), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2272
|
+
--shadow11: 0px 6px 9px -3px rgba(29,33,42,0.15), 0px 7px 30px 3px rgba(29,33,42,0.14), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2273
|
+
--shadow12: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 31px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2274
|
+
--shadow13: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 33px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2275
|
+
--shadow14: 0px 8px 11px -5px rgba(29,33,42,0.17), 0px 9px 34px 5px rgba(29,33,42,0.16), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2276
|
+
--shadow15: 0px 8px 11px -5px rgba(29,33,42,0.18), 0px 9px 35px 5px rgba(29,33,42,0.17), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2277
|
+
--shadow16: 0px 9px 12px -5px rgba(29,33,42,0.18), 0px 9px 37px 5px rgba(29,33,42,0.18), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2278
|
+
--shadow17: 0px 9px 12px -6px rgba(29,33,42,0.19), 0px 10px 38px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2279
|
+
--shadow18: 0px 9px 13px -6px rgba(29,33,42,0.2), 0px 10px 40px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2280
|
+
--shadow19: 0px 10px 13px -6px rgba(29,33,42,0.21), 0px 10px 41px 6px rgba(29,33,42,0.2), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2281
|
+
--shadow20: 0px 10px 14px -7px rgba(29,33,42,0.21), 0px 11px 42px 7px rgba(29,33,42,0.21), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2282
|
+
--shadow21: 0px 11px 14px -7px rgba(29,33,42,0.22), 0px 11px 44px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2283
|
+
--shadow22: 0px 11px 15px -7px rgba(29,33,42,0.23), 0px 11px 45px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2284
|
+
--shadow23: 0px 12px 15px -8px rgba(29,33,42,0.23), 0px 12px 47px 8px rgba(29,33,42,0.23), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2285
|
+
--shadow24: 0px 12px 16px -8px rgba(29,33,42,0.24), 0px 12px 48px 8px rgba(29,33,42,0.24), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2286
|
+
--shadow25: 0px 1px 4px rgba(29,33,42,0.04);
|
|
2244
2287
|
/*
|
|
2245
2288
|
---------------------------------------------------------------------
|
|
2246
2289
|
*/
|
|
@@ -2596,7 +2639,7 @@ html,
|
|
|
2596
2639
|
Hexadecimal colors are here only as an example on a white background.
|
|
2597
2640
|
|
|
2598
2641
|
Stylus: primaryTextColor - #383B43, CSS: var(--primaryTextColor)
|
|
2599
|
-
Stylus: secondaryTextColor - #
|
|
2642
|
+
Stylus: secondaryTextColor - #6F7177, CSS: var(--secondaryTextColor)
|
|
2600
2643
|
Stylus: disabledTextColor - #BEBFC1, CSS: var(--disabledTextColor)
|
|
2601
2644
|
Stylus: hintTextColor - #BEBFC1, CSS: var(--hintTextColor)
|
|
2602
2645
|
Stylus: iconTextColor - #66686D, CSS: var(--iconTextColor)
|
|
@@ -2604,7 +2647,7 @@ html,
|
|
|
2604
2647
|
Styleguide Settings.theme.text
|
|
2605
2648
|
*/
|
|
2606
2649
|
--primaryTextColor: rgba(29,33,42,0.9);
|
|
2607
|
-
--secondaryTextColor: rgba(29,33,42,0.
|
|
2650
|
+
--secondaryTextColor: rgba(29,33,42,0.64);
|
|
2608
2651
|
--disabledTextColor: rgba(29,33,42,0.32);
|
|
2609
2652
|
--hintTextColor: rgba(29,33,42,0.32);
|
|
2610
2653
|
--iconTextColor: rgba(29,33,42,0.72);
|
|
@@ -2665,14 +2708,14 @@ html,
|
|
|
2665
2708
|
Success colors
|
|
2666
2709
|
|
|
2667
2710
|
Stylus: successColorLight - #38C949, CSS: var(--successColorLight)
|
|
2668
|
-
Stylus: successColor - #
|
|
2711
|
+
Stylus: successColor - #09AB1B, CSS: var(--successColor)
|
|
2669
2712
|
Stylus: successColorDark - #018711, CSS: var(--successColorDark)
|
|
2670
2713
|
Stylus: successColorContrastText - #FFF, CSS: var(--successColorContrastText)
|
|
2671
2714
|
|
|
2672
2715
|
Styleguide Settings.theme.success
|
|
2673
2716
|
*/
|
|
2674
2717
|
--successColorLight: #38c949;
|
|
2675
|
-
--successColor: #
|
|
2718
|
+
--successColor: #09ab1b;
|
|
2676
2719
|
--successColorDark: #018711;
|
|
2677
2720
|
--successColorContrastText: #fff;
|
|
2678
2721
|
/*
|
|
@@ -2721,6 +2764,35 @@ html,
|
|
|
2721
2764
|
--infoColor: #009fa2;
|
|
2722
2765
|
--infoColorDark: #007578;
|
|
2723
2766
|
--infoColorContrastText: #fff;
|
|
2767
|
+
/*
|
|
2768
|
+
Shadow colors
|
|
2769
|
+
*/
|
|
2770
|
+
--shadow0: none;
|
|
2771
|
+
--shadow1: 0px 2px 4px 0px rgba(29,33,42,0.08), 0px 4px 16px 0px rgba(29,33,42,0.06), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2772
|
+
--shadow2: 0px 3px 5px 0px rgba(29,33,42,0.09), 0px 4px 17px 0px rgba(29,33,42,0.07), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2773
|
+
--shadow3: 0px 3px 5px -1px rgba(29,33,42,0.09), 0px 5px 19px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2774
|
+
--shadow4: 0px 3px 6px -1px rgba(29,33,42,0.1), 0px 5px 20px 1px rgba(29,33,42,0.08), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2775
|
+
--shadow5: 0px 4px 6px -1px rgba(29,33,42,0.11), 0px 5px 22px 1px rgba(29,33,42,0.09), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2776
|
+
--shadow6: 0px 4px 7px -2px rgba(29,33,42,0.11), 0px 6px 23px 2px rgba(29,33,42,0.1), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2777
|
+
--shadow7: 0px 5px 7px -2px rgba(29,33,42,0.12), 0px 6px 24px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2778
|
+
--shadow8: 0px 5px 8px -2px rgba(29,33,42,0.13), 0px 6px 26px 2px rgba(29,33,42,0.11), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2779
|
+
--shadow9: 0px 5px 8px -3px rgba(29,33,42,0.14), 0px 7px 27px 3px rgba(29,33,42,0.12), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2780
|
+
--shadow10: 0px 6px 9px -3px rgba(29,33,42,0.14), 0px 7px 29px 3px rgba(29,33,42,0.13), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2781
|
+
--shadow11: 0px 6px 9px -3px rgba(29,33,42,0.15), 0px 7px 30px 3px rgba(29,33,42,0.14), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2782
|
+
--shadow12: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 31px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2783
|
+
--shadow13: 0px 7px 10px -4px rgba(29,33,42,0.16), 0px 8px 33px 4px rgba(29,33,42,0.15), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2784
|
+
--shadow14: 0px 8px 11px -5px rgba(29,33,42,0.17), 0px 9px 34px 5px rgba(29,33,42,0.16), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2785
|
+
--shadow15: 0px 8px 11px -5px rgba(29,33,42,0.18), 0px 9px 35px 5px rgba(29,33,42,0.17), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2786
|
+
--shadow16: 0px 9px 12px -5px rgba(29,33,42,0.18), 0px 9px 37px 5px rgba(29,33,42,0.18), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2787
|
+
--shadow17: 0px 9px 12px -6px rgba(29,33,42,0.19), 0px 10px 38px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2788
|
+
--shadow18: 0px 9px 13px -6px rgba(29,33,42,0.2), 0px 10px 40px 6px rgba(29,33,42,0.19), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2789
|
+
--shadow19: 0px 10px 13px -6px rgba(29,33,42,0.21), 0px 10px 41px 6px rgba(29,33,42,0.2), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2790
|
+
--shadow20: 0px 10px 14px -7px rgba(29,33,42,0.21), 0px 11px 42px 7px rgba(29,33,42,0.21), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2791
|
+
--shadow21: 0px 11px 14px -7px rgba(29,33,42,0.22), 0px 11px 44px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2792
|
+
--shadow22: 0px 11px 15px -7px rgba(29,33,42,0.23), 0px 11px 45px 7px rgba(29,33,42,0.22), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2793
|
+
--shadow23: 0px 12px 15px -8px rgba(29,33,42,0.23), 0px 12px 47px 8px rgba(29,33,42,0.23), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2794
|
+
--shadow24: 0px 12px 16px -8px rgba(29,33,42,0.24), 0px 12px 48px 8px rgba(29,33,42,0.24), 0px 0px 0px 0.5px rgba(29,33,42,0.12);
|
|
2795
|
+
--shadow25: 0px 1px 4px rgba(29,33,42,0.04);
|
|
2724
2796
|
/*
|
|
2725
2797
|
---------------------------------------------------------------------
|
|
2726
2798
|
*/
|
|
@@ -2774,6 +2846,8 @@ html {
|
|
|
2774
2846
|
--zIndex-fileActionMenu: 60;
|
|
2775
2847
|
--zIndex-drawer: 60;
|
|
2776
2848
|
--zIndex-modal: 70;
|
|
2849
|
+
--zIndex-modal-footer: 71;
|
|
2850
|
+
--zIndex-modal-toolbar: 72;
|
|
2777
2851
|
--zindex-alert: 80;
|
|
2778
2852
|
}
|
|
2779
2853
|
.autosuggest__container___1dbB4 {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"babel-plugin-css-modules-transform": "1.6.2",
|
|
42
42
|
"babel-plugin-inline-react-svg": "1.1.2",
|
|
43
43
|
"cozy-client": "37.0.0",
|
|
44
|
-
"cozy-ui": "
|
|
44
|
+
"cozy-ui": "88.2.1",
|
|
45
45
|
"enzyme": "3.11.0",
|
|
46
46
|
"enzyme-adapter-react-16": "1.15.6",
|
|
47
47
|
"enzyme-to-json": "3.6.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"cozy-client": "^37.0.0",
|
|
55
55
|
"cozy-realtime": "^3.11.0",
|
|
56
|
-
"cozy-ui": ">=
|
|
56
|
+
"cozy-ui": ">=88.2.1",
|
|
57
57
|
"prop-types": "^15.7.2",
|
|
58
58
|
"react": "^16.12.0",
|
|
59
59
|
"react-router": "^5.0.1"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"sideEffects": [
|
|
62
62
|
"*.css"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "55b6fd5f0e759bdb960fda82ac7124c33b9c6ae9"
|
|
65
65
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
|
-
import Grid from 'cozy-ui/transpiled/react/
|
|
3
|
+
import Grid from 'cozy-ui/transpiled/react/Grid'
|
|
4
4
|
import Skeleton from 'cozy-ui/transpiled/react/Skeleton'
|
|
5
5
|
import useBreakpoints from 'cozy-ui/transpiled/react/hooks/useBreakpoints'
|
|
6
6
|
|
|
@@ -4,8 +4,8 @@ import snarkdown from 'snarkdown'
|
|
|
4
4
|
|
|
5
5
|
import { useClient } from 'cozy-client'
|
|
6
6
|
import Banner from 'cozy-ui/transpiled/react/Banner'
|
|
7
|
-
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/Button'
|
|
8
7
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
8
|
+
import Button, { ButtonLink } from 'cozy-ui/transpiled/react/deprecated/Button'
|
|
9
9
|
|
|
10
10
|
import CozyHomeLinkIcon from './CozyHomeLinkIcon'
|
|
11
11
|
import styles from './publicBanner.styl'
|
|
@@ -2,8 +2,8 @@ import PropTypes from 'prop-types'
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
4
|
import { Dialog } from 'cozy-ui/transpiled/react/CozyDialogs'
|
|
5
|
+
import Divider from 'cozy-ui/transpiled/react/Divider'
|
|
5
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
6
|
-
import Divider from 'cozy-ui/transpiled/react/MuiCozyTheme/Divider'
|
|
7
7
|
|
|
8
8
|
import OwnerIdentity from './components/Recipient/OwnerIdentity'
|
|
9
9
|
import WhoHasAccess from './components/WhoHasAccess'
|
|
@@ -5,9 +5,9 @@ import React from 'react'
|
|
|
5
5
|
import { models } from 'cozy-client'
|
|
6
6
|
import Avatar from 'cozy-ui/transpiled/react/Avatar'
|
|
7
7
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
8
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem'
|
|
9
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon'
|
|
8
10
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
|
|
9
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem'
|
|
10
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon'
|
|
11
11
|
|
|
12
12
|
import { Contact, Group, getDisplayName, getInitials } from '../models'
|
|
13
13
|
|
|
@@ -6,9 +6,9 @@ import Fade from 'cozy-ui/transpiled/react/Fade'
|
|
|
6
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
7
7
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
8
8
|
import LinkIcon from 'cozy-ui/transpiled/react/Icons/Link'
|
|
9
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem'
|
|
10
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon'
|
|
9
11
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
|
|
10
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem'
|
|
11
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon'
|
|
12
12
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
13
13
|
|
|
14
14
|
import LinkRecipientPermissions from './LinkRecipientPermissions'
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React, { useState, useRef } from 'react'
|
|
2
2
|
|
|
3
|
-
import ActionMenu, {
|
|
4
|
-
ActionMenuItem,
|
|
5
|
-
ActionMenuRadio
|
|
6
|
-
} from 'cozy-ui/transpiled/react/ActionMenu'
|
|
7
|
-
import Alerter from 'cozy-ui/transpiled/react/Alerter'
|
|
8
3
|
import DropdownButton from 'cozy-ui/transpiled/react/DropdownButton'
|
|
9
4
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
10
5
|
import Icon from 'cozy-ui/transpiled/react/Icon'
|
|
11
6
|
import TrashIcon from 'cozy-ui/transpiled/react/Icons/Trash'
|
|
12
7
|
import Spinner from 'cozy-ui/transpiled/react/Spinner'
|
|
13
8
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
9
|
+
import ActionMenu, {
|
|
10
|
+
ActionMenuItem,
|
|
11
|
+
ActionMenuRadio
|
|
12
|
+
} from 'cozy-ui/transpiled/react/deprecated/ActionMenu'
|
|
13
|
+
import Alerter from 'cozy-ui/transpiled/react/deprecated/Alerter'
|
|
14
14
|
|
|
15
15
|
import { isOnlyReadOnlyLinkAllowed } from '../../helpers/link'
|
|
16
16
|
import { checkIsReadOnlyPermissions } from '../../helpers/permissions'
|
|
@@ -4,9 +4,9 @@ import React from 'react'
|
|
|
4
4
|
import { useClient } from 'cozy-client'
|
|
5
5
|
import Fade from 'cozy-ui/transpiled/react/Fade'
|
|
6
6
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
7
|
+
import ListItem from 'cozy-ui/transpiled/react/ListItem'
|
|
8
|
+
import ListItemIcon from 'cozy-ui/transpiled/react/ListItemIcon'
|
|
7
9
|
import ListItemText from 'cozy-ui/transpiled/react/ListItemText'
|
|
8
|
-
import ListItem from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItem'
|
|
9
|
-
import ListItemIcon from 'cozy-ui/transpiled/react/MuiCozyTheme/ListItemIcon'
|
|
10
10
|
import Typography from 'cozy-ui/transpiled/react/Typography'
|
|
11
11
|
|
|
12
12
|
import RecipientAvatar from './RecipientAvatar'
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import PropTypes from 'prop-types'
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
|
-
import Button from 'cozy-ui/transpiled/react/Button'
|
|
5
4
|
import { useI18n } from 'cozy-ui/transpiled/react/I18n'
|
|
5
|
+
import Button from 'cozy-ui/transpiled/react/deprecated/Button'
|
|
6
6
|
|
|
7
7
|
import modalStyles from '../../share.styl'
|
|
8
8
|
|
|
@@ -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,
|