cozy-sharing 6.0.2 → 6.0.4
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 +19 -0
- package/dist/SharingBanner/hooks/useSharingInfos.js +35 -37
- package/dist/SharingBanner/hooks/useSharingInfos.spec.js +40 -44
- package/dist/SharingProvider.js +351 -375
- package/dist/SharingProvider.spec.js +29 -33
- package/dist/components/CozyPassFingerprintDialogContent.spec.js +14 -16
- package/dist/components/Recipient/LinkRecipientPermissions.js +25 -27
- package/dist/components/Recipient/Recipient.spec.js +39 -43
- package/dist/components/Recipient/RecipientPermissions.js +20 -22
- package/dist/components/ShareButton.js +0 -2
- package/dist/components/ShareByEmail.js +53 -55
- package/dist/components/ShareByEmail.spec.js +50 -52
- package/dist/components/ShareByLink.js +73 -79
- package/dist/components/ShareDialogCozyToCozy.spec.js +238 -264
- package/dist/components/ShareDialogTwoStepsConfirmationContainer.js +33 -35
- package/dist/components/ShareDialogTwoStepsConfirmationContainer.spec.js +240 -266
- package/dist/components/SharedBadge.js +0 -2
- package/dist/components/badge.styl +7 -5
- package/dist/components/button.styl +11 -12
- package/dist/components/useFetchDocumentPath.js +16 -18
- package/dist/fetchNextPermissions.js +15 -17
- package/dist/getSharedDocument.js +13 -15
- package/dist/getSharedDocument.spec.js +10 -12
- package/dist/helpers/contacts.js +65 -69
- package/dist/helpers/contacts.spec.js +30 -32
- package/dist/helpers/files.js +26 -28
- package/dist/helpers/files.spec.js +54 -58
- package/dist/helpers/sharings.js +56 -60
- package/dist/helpers/synchronousJobQueue.js +19 -21
- package/dist/helpers/synchronousJobQueue.spec.js +39 -43
- package/dist/stylesheet.css +28 -820
- package/package.json +3 -3
- package/src/components/badge.styl +7 -5
- package/src/components/button.styl +11 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.4",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"classnames": "^2.2.6",
|
|
30
30
|
"copy-text-to-clipboard": "^2.1.1",
|
|
31
31
|
"cozy-device-helper": "^2.7.0",
|
|
32
|
-
"cozy-doctypes": "^1.
|
|
32
|
+
"cozy-doctypes": "^1.88.0",
|
|
33
33
|
"lodash": "^4.17.19",
|
|
34
34
|
"react-autosuggest": "^10.1.0",
|
|
35
35
|
"react-tooltip": "^3.11.1",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"sideEffects": [
|
|
62
62
|
"*.css"
|
|
63
63
|
],
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "cb40ff1333287ec2f4e7c8409247eaeb6b8f9ade"
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
palette=json('settings/palette.json', { hash: true })
|
|
2
2
|
|
|
3
3
|
.shared-badge
|
|
4
4
|
display flex
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
background-clip padding-box
|
|
9
9
|
|
|
10
10
|
&.--small
|
|
11
|
-
border .125rem solid
|
|
11
|
+
border .125rem solid
|
|
12
|
+
border-color: palette['white']
|
|
12
13
|
width 1.5rem
|
|
13
14
|
height 1.5rem
|
|
14
15
|
|
|
@@ -17,7 +18,8 @@
|
|
|
17
18
|
height .75rem
|
|
18
19
|
|
|
19
20
|
&.--xsmall
|
|
20
|
-
border .0625rem solid
|
|
21
|
+
border .0625rem solid
|
|
22
|
+
border-color: palette['white']
|
|
21
23
|
width .75rem
|
|
22
24
|
height .75rem
|
|
23
25
|
|
|
@@ -26,7 +28,7 @@
|
|
|
26
28
|
height .375rem
|
|
27
29
|
|
|
28
30
|
&.--by-me
|
|
29
|
-
background-color
|
|
31
|
+
background-color: palette['emerald']
|
|
30
32
|
|
|
31
33
|
&.--with-me
|
|
32
|
-
background-color
|
|
34
|
+
background-color: palette['portage']
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
palette=json('settings/palette.json', { hash: true })
|
|
3
2
|
.coz-btn-shared
|
|
4
|
-
border-color
|
|
5
|
-
background-color
|
|
6
|
-
color
|
|
3
|
+
border-color: palette['emerald']
|
|
4
|
+
background-color: palette['emerald']
|
|
5
|
+
color: palette['white']
|
|
7
6
|
transition all .2s ease-out
|
|
8
7
|
|
|
9
8
|
&:focus
|
|
10
9
|
&:not([disabled]):not([aria-disabled=true]):hover
|
|
11
|
-
border-color
|
|
12
|
-
background-color
|
|
10
|
+
border-color: palette['malachite']
|
|
11
|
+
background-color: palette['malachite']
|
|
13
12
|
|
|
14
13
|
.coz-btn-sharedWithMe
|
|
15
|
-
border-color
|
|
16
|
-
background-color
|
|
17
|
-
color
|
|
14
|
+
border-color: palette['lightishPurple']
|
|
15
|
+
background-color: palette['lightishPurple']
|
|
16
|
+
color: palette['white']
|
|
18
17
|
transition all .2s ease-out
|
|
19
18
|
|
|
20
19
|
&:focus
|
|
21
20
|
&:not([disabled]):not([aria-disabled=true]):hover
|
|
22
|
-
border-color
|
|
23
|
-
background-color
|
|
21
|
+
border-color: palette['barney']
|
|
22
|
+
background-color: palette['barney']
|