cozy-sharing 10.3.0 → 10.4.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 +11 -0
- package/dist/components/Recipient/Identity.js +0 -2
- package/dist/components/Recipient/LinkRecipient.js +0 -2
- package/dist/components/Recipient/OwnerIdentity.js +0 -2
- package/dist/components/Recipient/RecipientConfirm.js +1 -5
- package/dist/components/Recipient/RecipientPlusX.js +0 -2
- package/dist/components/Recipient/RecipientStatus.js +0 -2
- package/dist/components/Recipient/RecipientWithoutStatus.js +0 -2
- package/dist/components/Recipient/RecipientsAvatars.js +0 -2
- package/dist/components/ShareAutosuggest.js +0 -2
- package/dist/components/ShareByEmail.js +1 -5
- package/dist/components/ShareDialogCozyToCozy.js +1 -5
- package/dist/components/ShareModal/SharingDetailsModal.js +1 -5
- package/dist/components/Sharetypeselect.js +1 -5
- package/dist/components/SharingBanner/components/PublicBanner.js +1 -1
- package/dist/components/WhoHasAccessLight.js +0 -2
- package/dist/styles/actionmenu.styl +0 -2
- package/dist/styles/autosuggest.styl +1 -4
- package/dist/styles/recipient.styl +0 -1
- package/dist/styles/share.styl +0 -1
- package/dist/stylesheet.css +64 -2485
- package/package.json +6 -6
- package/src/components/SharingBanner/components/PublicBanner.jsx +1 -1
- package/src/components/__snapshots__/ContactSuggestion.spec.jsx.snap +120 -105
- package/src/styles/actionmenu.styl +0 -2
- package/src/styles/autosuggest.styl +1 -4
- package/src/styles/recipient.styl +0 -1
- package/src/styles/share.styl +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-sharing",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0",
|
|
4
4
|
"description": "Provides sharing login for React applications.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"babel-jest": "26.6.3",
|
|
40
40
|
"babel-plugin-css-modules-transform": "1.6.2",
|
|
41
41
|
"babel-plugin-inline-react-svg": "1.1.2",
|
|
42
|
-
"cozy-client": "
|
|
43
|
-
"cozy-ui": "
|
|
42
|
+
"cozy-client": "^45.14.0",
|
|
43
|
+
"cozy-ui": "^103.8.2",
|
|
44
44
|
"enzyme": "3.11.0",
|
|
45
45
|
"enzyme-adapter-react-16": "1.15.6",
|
|
46
46
|
"enzyme-to-json": "3.6.2",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"react-router": "^5.0.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"cozy-client": "
|
|
53
|
+
"cozy-client": ">=45.14.0",
|
|
54
54
|
"cozy-realtime": "^3.11.0",
|
|
55
|
-
"cozy-ui": ">=
|
|
55
|
+
"cozy-ui": ">=103.8.1",
|
|
56
56
|
"prop-types": "^15.7.2",
|
|
57
57
|
"react": "^16.12.0",
|
|
58
58
|
"react-router": "^5.0.1"
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"sideEffects": [
|
|
61
61
|
"*.css"
|
|
62
62
|
],
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "e3e6b6ca27bfcc2c61893eeb763c43f926308630"
|
|
64
64
|
}
|
|
@@ -132,46 +132,51 @@ exports[`ContactSuggestion component should display contact suggestion for a con
|
|
|
132
132
|
<ListItemIcon
|
|
133
133
|
key=".$.$.0"
|
|
134
134
|
>
|
|
135
|
-
<ForwardRef(ListItemIcon)
|
|
136
|
-
|
|
137
|
-
Object {
|
|
138
|
-
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
139
|
-
"root": "MuiListItemIcon-root",
|
|
140
|
-
}
|
|
141
|
-
}
|
|
135
|
+
<WithStyles(ForwardRef(ListItemIcon))
|
|
136
|
+
className="cozyListItemIcon"
|
|
142
137
|
>
|
|
143
|
-
<
|
|
144
|
-
className="
|
|
138
|
+
<ForwardRef(ListItemIcon)
|
|
139
|
+
className="cozyListItemIcon"
|
|
140
|
+
classes={
|
|
141
|
+
Object {
|
|
142
|
+
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
143
|
+
"root": "MuiListItemIcon-root",
|
|
144
|
+
}
|
|
145
|
+
}
|
|
145
146
|
>
|
|
146
|
-
<
|
|
147
|
-
className=""
|
|
148
|
-
disabled={false}
|
|
149
|
-
ghost={false}
|
|
150
|
-
icon={[Function]}
|
|
151
|
-
image=""
|
|
152
|
-
size="small"
|
|
153
|
-
style={Object {}}
|
|
154
|
-
text="JS"
|
|
147
|
+
<div
|
|
148
|
+
className="MuiListItemIcon-root cozyListItemIcon"
|
|
155
149
|
>
|
|
156
|
-
<
|
|
157
|
-
className="
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
150
|
+
<Avatar
|
|
151
|
+
className=""
|
|
152
|
+
disabled={false}
|
|
153
|
+
ghost={false}
|
|
154
|
+
icon={[Function]}
|
|
155
|
+
image=""
|
|
156
|
+
size="small"
|
|
157
|
+
style={Object {}}
|
|
158
|
+
text="JS"
|
|
165
159
|
>
|
|
166
|
-
<
|
|
167
|
-
className="styles__c-avatar
|
|
160
|
+
<div
|
|
161
|
+
className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
|
|
162
|
+
data-testid="Avatar"
|
|
163
|
+
style={
|
|
164
|
+
Object {
|
|
165
|
+
"--circleSize": "32px",
|
|
166
|
+
"backgroundColor": "#C2ADF4",
|
|
167
|
+
}
|
|
168
|
+
}
|
|
168
169
|
>
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
170
|
+
<span
|
|
171
|
+
className="styles__c-avatar-initials___310qC"
|
|
172
|
+
>
|
|
173
|
+
JS
|
|
174
|
+
</span>
|
|
175
|
+
</div>
|
|
176
|
+
</Avatar>
|
|
177
|
+
</div>
|
|
178
|
+
</ForwardRef(ListItemIcon)>
|
|
179
|
+
</WithStyles(ForwardRef(ListItemIcon))>
|
|
175
180
|
</ListItemIcon>
|
|
176
181
|
<ListItemText
|
|
177
182
|
ellipsis={true}
|
|
@@ -501,46 +506,51 @@ exports[`ContactSuggestion component should display contact suggestion for a con
|
|
|
501
506
|
<ListItemIcon
|
|
502
507
|
key=".$.$.0"
|
|
503
508
|
>
|
|
504
|
-
<ForwardRef(ListItemIcon)
|
|
505
|
-
|
|
506
|
-
Object {
|
|
507
|
-
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
508
|
-
"root": "MuiListItemIcon-root",
|
|
509
|
-
}
|
|
510
|
-
}
|
|
509
|
+
<WithStyles(ForwardRef(ListItemIcon))
|
|
510
|
+
className="cozyListItemIcon"
|
|
511
511
|
>
|
|
512
|
-
<
|
|
513
|
-
className="
|
|
512
|
+
<ForwardRef(ListItemIcon)
|
|
513
|
+
className="cozyListItemIcon"
|
|
514
|
+
classes={
|
|
515
|
+
Object {
|
|
516
|
+
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
517
|
+
"root": "MuiListItemIcon-root",
|
|
518
|
+
}
|
|
519
|
+
}
|
|
514
520
|
>
|
|
515
|
-
<
|
|
516
|
-
className=""
|
|
517
|
-
disabled={false}
|
|
518
|
-
ghost={false}
|
|
519
|
-
icon={[Function]}
|
|
520
|
-
image=""
|
|
521
|
-
size="small"
|
|
522
|
-
style={Object {}}
|
|
523
|
-
text="J"
|
|
521
|
+
<div
|
|
522
|
+
className="MuiListItemIcon-root cozyListItemIcon"
|
|
524
523
|
>
|
|
525
|
-
<
|
|
526
|
-
className="
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
524
|
+
<Avatar
|
|
525
|
+
className=""
|
|
526
|
+
disabled={false}
|
|
527
|
+
ghost={false}
|
|
528
|
+
icon={[Function]}
|
|
529
|
+
image=""
|
|
530
|
+
size="small"
|
|
531
|
+
style={Object {}}
|
|
532
|
+
text="J"
|
|
534
533
|
>
|
|
535
|
-
<
|
|
536
|
-
className="styles__c-avatar
|
|
534
|
+
<div
|
|
535
|
+
className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
|
|
536
|
+
data-testid="Avatar"
|
|
537
|
+
style={
|
|
538
|
+
Object {
|
|
539
|
+
"--circleSize": "32px",
|
|
540
|
+
"backgroundColor": "#0DCBCF",
|
|
541
|
+
}
|
|
542
|
+
}
|
|
537
543
|
>
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
+
<span
|
|
545
|
+
className="styles__c-avatar-initials___310qC"
|
|
546
|
+
>
|
|
547
|
+
J
|
|
548
|
+
</span>
|
|
549
|
+
</div>
|
|
550
|
+
</Avatar>
|
|
551
|
+
</div>
|
|
552
|
+
</ForwardRef(ListItemIcon)>
|
|
553
|
+
</WithStyles(ForwardRef(ListItemIcon))>
|
|
544
554
|
</ListItemIcon>
|
|
545
555
|
<ListItemText
|
|
546
556
|
ellipsis={true}
|
|
@@ -921,46 +931,51 @@ exports[`ContactSuggestion component should display contact suggestion for a gro
|
|
|
921
931
|
<ListItemIcon
|
|
922
932
|
key=".$.$.0"
|
|
923
933
|
>
|
|
924
|
-
<ForwardRef(ListItemIcon)
|
|
925
|
-
|
|
926
|
-
Object {
|
|
927
|
-
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
928
|
-
"root": "MuiListItemIcon-root",
|
|
929
|
-
}
|
|
930
|
-
}
|
|
934
|
+
<WithStyles(ForwardRef(ListItemIcon))
|
|
935
|
+
className="cozyListItemIcon"
|
|
931
936
|
>
|
|
932
|
-
<
|
|
933
|
-
className="
|
|
937
|
+
<ForwardRef(ListItemIcon)
|
|
938
|
+
className="cozyListItemIcon"
|
|
939
|
+
classes={
|
|
940
|
+
Object {
|
|
941
|
+
"alignItemsFlexStart": "MuiListItemIcon-alignItemsFlexStart",
|
|
942
|
+
"root": "MuiListItemIcon-root",
|
|
943
|
+
}
|
|
944
|
+
}
|
|
934
945
|
>
|
|
935
|
-
<
|
|
936
|
-
className=""
|
|
937
|
-
disabled={false}
|
|
938
|
-
ghost={false}
|
|
939
|
-
icon={[Function]}
|
|
940
|
-
image=""
|
|
941
|
-
size="small"
|
|
942
|
-
style={Object {}}
|
|
943
|
-
text="G"
|
|
946
|
+
<div
|
|
947
|
+
className="MuiListItemIcon-root cozyListItemIcon"
|
|
944
948
|
>
|
|
945
|
-
<
|
|
946
|
-
className="
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
949
|
+
<Avatar
|
|
950
|
+
className=""
|
|
951
|
+
disabled={false}
|
|
952
|
+
ghost={false}
|
|
953
|
+
icon={[Function]}
|
|
954
|
+
image=""
|
|
955
|
+
size="small"
|
|
956
|
+
style={Object {}}
|
|
957
|
+
text="G"
|
|
954
958
|
>
|
|
955
|
-
<
|
|
956
|
-
className="styles__c-avatar
|
|
959
|
+
<div
|
|
960
|
+
className="styles__c-avatar___PpDI- styles__c-avatar--text___2dvna"
|
|
961
|
+
data-testid="Avatar"
|
|
962
|
+
style={
|
|
963
|
+
Object {
|
|
964
|
+
"--circleSize": "32px",
|
|
965
|
+
"backgroundColor": "#7F6BEE",
|
|
966
|
+
}
|
|
967
|
+
}
|
|
957
968
|
>
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
969
|
+
<span
|
|
970
|
+
className="styles__c-avatar-initials___310qC"
|
|
971
|
+
>
|
|
972
|
+
G
|
|
973
|
+
</span>
|
|
974
|
+
</div>
|
|
975
|
+
</Avatar>
|
|
976
|
+
</div>
|
|
977
|
+
</ForwardRef(ListItemIcon)>
|
|
978
|
+
</WithStyles(ForwardRef(ListItemIcon))>
|
|
964
979
|
</ListItemIcon>
|
|
965
980
|
<ListItemText
|
|
966
981
|
ellipsis={true}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
@require 'settings/palette.styl'
|
|
2
|
-
@require 'settings/z-index.styl'
|
|
3
|
-
|
|
4
1
|
.container
|
|
5
2
|
position relative
|
|
6
3
|
|
|
@@ -9,7 +6,7 @@
|
|
|
9
6
|
position absolute
|
|
10
7
|
top 100%
|
|
11
8
|
margin-top .25rem
|
|
12
|
-
z-index
|
|
9
|
+
z-index var(--zIndex-alertMobile)
|
|
13
10
|
width 100%
|
|
14
11
|
overflow hidden
|
|
15
12
|
box-shadow 0px 0px 0px 0.5px rgba(29, 33, 42, 0.12), 0px 2px 4px rgba(29, 33, 42, 0.0793047), 0px 4px 16px rgba(29, 33, 42, 0.06)
|