cozy-sharing 30.0.0 → 30.0.2

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 CHANGED
@@ -3,6 +3,16 @@
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
+ ## [30.0.2](https://github.com/cozy/cozy-libs/compare/cozy-sharing@30.0.1...cozy-sharing@30.0.2) (2026-04-02)
7
+
8
+ **Note:** Version bump only for package cozy-sharing
9
+
10
+ ## [30.0.1](https://github.com/cozy/cozy-libs/compare/cozy-sharing@30.0.0...cozy-sharing@30.0.1) (2026-03-25)
11
+
12
+ ### Bug Fixes
13
+
14
+ - Small locales adjustments ([c743965](https://github.com/cozy/cozy-libs/commit/c7439654ddc291e452168f6635e82cf28c388d7c))
15
+
6
16
  # [30.0.0](https://github.com/cozy/cozy-libs/compare/cozy-sharing@29.0.0...cozy-sharing@30.0.0) (2026-03-24)
7
17
 
8
18
  ### Features
@@ -76,14 +76,14 @@ describe('ShareByEmailComponent', function () {
76
76
  sharingDesc: sharingDesc
77
77
  });
78
78
  act(function () {
79
- fireEvent.change(screen.getByPlaceholderText('Add contacts or groups'), {
79
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
80
80
  target: {
81
81
  value: 'quentin@cozycloud.cc'
82
82
  }
83
83
  });
84
84
  });
85
85
  act(function () {
86
- fireEvent.keyPress(screen.getByPlaceholderText('Add contacts or groups'), {
86
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
87
87
  key: 'Enter',
88
88
  code: 'Enter',
89
89
  charCode: 13
@@ -141,14 +141,14 @@ describe('ShareByEmailComponent', function () {
141
141
  }]
142
142
  });
143
143
  act(function () {
144
- fireEvent.change(screen.getByPlaceholderText('Add contacts or groups'), {
144
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
145
145
  target: {
146
146
  value: 'john@gmail.com'
147
147
  }
148
148
  });
149
149
  });
150
150
  act(function () {
151
- fireEvent.keyPress(screen.getByPlaceholderText('Add contacts or groups'), {
151
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
152
152
  key: 'Enter',
153
153
  code: 'Enter',
154
154
  charCode: 13
@@ -201,14 +201,14 @@ describe('ShareByEmailComponent', function () {
201
201
  createContact: createContact
202
202
  });
203
203
  act(function () {
204
- fireEvent.change(screen.getByPlaceholderText('Add contacts or groups'), {
204
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
205
205
  target: {
206
206
  value: 'quentin@cozycloud.cc'
207
207
  }
208
208
  });
209
209
  });
210
210
  act(function () {
211
- fireEvent.keyPress(screen.getByPlaceholderText('Add contacts or groups'), {
211
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
212
212
  key: 'Enter',
213
213
  code: 'Enter',
214
214
  charCode: 13
package/locales/en.json CHANGED
@@ -129,7 +129,7 @@
129
129
  },
130
130
  "shareByEmail": {
131
131
  "subtitle": "By email",
132
- "emailPlaceholder": "Add contacts or groups",
132
+ "emailPlaceholder": "Add contacts",
133
133
  "send": "Send",
134
134
  "singleContactSuccess": "You sent an invite to %{email}.",
135
135
  "contactSuccess": "You sent an invite to %{smart_count} contact. |||| You sent an invite to %{smart_count} contacts.",
@@ -469,7 +469,7 @@
469
469
  "shareTitle": "Share \"%{name}\"",
470
470
  "successNotification": "Folder has been shared",
471
471
  "errorNotification": "Error while sharing folder",
472
- "addPeople": "Add people to the shared folder :",
472
+ "addPeople": "Add people to the shared folder",
473
473
  "add": "Add"
474
474
  },
475
475
  "SharedDrive": {
@@ -480,7 +480,7 @@
480
480
  "cancel": "Cancel",
481
481
  "create": "Create",
482
482
  "save": "Save",
483
- "addPeople": "Add people to the shared drive :",
483
+ "addPeople": "Add people to the shared drive",
484
484
  "successNotification": "Shared drive has been added",
485
485
  "errorNotification": "Error during shared drive creation",
486
486
  "successNotificationUpdate": "Your shared drive has been modified",
package/locales/fr.json CHANGED
@@ -126,7 +126,7 @@
126
126
  },
127
127
  "shareByEmail": {
128
128
  "subtitle": "Par email",
129
- "emailPlaceholder": "Ajouter des contacts ou des groupes",
129
+ "emailPlaceholder": "Ajouter des contacts",
130
130
  "send": "Envoyer",
131
131
  "singleContactSuccess": "Vous avez envoyé une invitation à %{email}.",
132
132
  "contactSuccess": "Vous avez invité %{smart_count} contact. |||| Vous avez invité %{smart_count} contacts.",
@@ -467,7 +467,7 @@
467
467
  "shareTitle": "Partager \"%{name}\"",
468
468
  "successNotification": "Le dossier a été partagé",
469
469
  "errorNotification": "Erreur lors du partage du dossier",
470
- "addPeople": "Ajouter des utilisateurs au dossier partagé :",
470
+ "addPeople": "Ajouter des utilisateurs au dossier partagé",
471
471
  "add": "Ajouter"
472
472
  },
473
473
  "SharedDrive": {
@@ -478,7 +478,7 @@
478
478
  "cancel": "Annuler",
479
479
  "create": "Créer",
480
480
  "save": "Enregistrer",
481
- "addPeople": "Ajouter des utilisateurs au drive partagé :",
481
+ "addPeople": "Ajouter des utilisateurs au drive partagé",
482
482
  "successNotification": "Le drive partagé a été ajouté",
483
483
  "errorNotification": "Erreur lors de la création du drive partagé",
484
484
  "successNotificationUpdate": "Votre drive partagé a été modifié",
package/locales/ru.json CHANGED
@@ -129,7 +129,7 @@
129
129
  },
130
130
  "shareByEmail": {
131
131
  "subtitle": "По электронной почте",
132
- "emailPlaceholder": "Добавить контакты или группы",
132
+ "emailPlaceholder": "Добавить контакты",
133
133
  "send": "Отправить",
134
134
  "singleContactSuccess": "Вы отправили приглашение на %{email}.",
135
135
  "contactSuccess": "Вы отправили приглашение %{smart_count} контакту. |||| Вы отправили приглашение %{smart_count} контактам.",
@@ -469,7 +469,7 @@
469
469
  "shareTitle": "Поделиться \"%{name}\"",
470
470
  "successNotification": "Папка была расшарена",
471
471
  "errorNotification": "Ошибка при расшаривании папки",
472
- "addPeople": "Добавить людей в общую папку:",
472
+ "addPeople": "Добавить людей в общую папку",
473
473
  "add": "Добавить"
474
474
  },
475
475
  "SharedDrive": {
@@ -480,7 +480,7 @@
480
480
  "cancel": "Отмена",
481
481
  "create": "Создать",
482
482
  "save": "Сохранить",
483
- "addPeople": "Добавить людей в общий диск:",
483
+ "addPeople": "Добавить людей в общий диск",
484
484
  "successNotification": "Общий диск добавлен",
485
485
  "errorNotification": "Ошибка при создании общего диска",
486
486
  "successNotificationUpdate": "Ваш общий диск был изменён",
package/locales/vi.json CHANGED
@@ -129,7 +129,7 @@
129
129
  },
130
130
  "shareByEmail": {
131
131
  "subtitle": "Bằng email",
132
- "emailPlaceholder": "Thêm liên hệ hoặc nhóm",
132
+ "emailPlaceholder": "Thêm liên hệ",
133
133
  "send": "Gửi",
134
134
  "singleContactSuccess": "Bạn đã gửi lời mời đến %{email}.",
135
135
  "contactSuccess": "Bạn đã gửi lời mời đến %{smart_count} liên hệ. |||| Bạn đã gửi lời mời đến %{smart_count} liên hệ.",
@@ -467,7 +467,7 @@
467
467
  "shareTitle": "Chia sẻ \"%{name}\"",
468
468
  "successNotification": "Thư mục đã được chia sẻ",
469
469
  "errorNotification": "Lỗi khi chia sẻ thư mục",
470
- "addPeople": "Thêm người vào thư mục được chia sẻ:",
470
+ "addPeople": "Thêm người vào thư mục được chia sẻ",
471
471
  "add": "Thêm"
472
472
  },
473
473
  "SharedDrive": {
@@ -478,7 +478,7 @@
478
478
  "cancel": "Hủy",
479
479
  "create": "Tạo",
480
480
  "save": "Lưu",
481
- "addPeople": "Thêm người vào ổ đĩa được chia sẻ:",
481
+ "addPeople": "Thêm người vào ổ đĩa được chia sẻ",
482
482
  "successNotification": "Ổ đĩa được chia sẻ đã được thêm",
483
483
  "errorNotification": "Lỗi trong quá trình tạo ổ đĩa được chia sẻ",
484
484
  "successNotificationUpdate": "Ổ đĩa được chia sẻ của bạn đã được sửa đổi",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-sharing",
3
- "version": "30.0.0",
3
+ "version": "30.0.2",
4
4
  "description": "Provides sharing login for React applications.",
5
5
  "main": "dist/index.js",
6
6
  "author": "Cozy",
@@ -59,7 +59,7 @@
59
59
  "cozy-intent": "^2.31.1",
60
60
  "cozy-minilog": "^3.10.1",
61
61
  "cozy-ui": "^138.1.0",
62
- "cozy-ui-plus": "^6.0.0",
62
+ "cozy-ui-plus": "^6.1.0",
63
63
  "jest": "30.3.0",
64
64
  "jest-environment-jsdom": "30.3.0",
65
65
  "react": "16.12.0",
@@ -84,5 +84,5 @@
84
84
  "sideEffects": [
85
85
  "*.css"
86
86
  ],
87
- "gitHead": "9655a128354d92bbb108ed6ec830704dd158d48a"
87
+ "gitHead": "0ac8873a7ba8909f3b02cb719d9fc05133bf5a1d"
88
88
  }
@@ -72,20 +72,17 @@ describe('ShareByEmailComponent', () => {
72
72
  setup({ sharingDesc })
73
73
 
74
74
  act(() => {
75
- fireEvent.change(screen.getByPlaceholderText('Add contacts or groups'), {
75
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
76
76
  target: { value: 'quentin@cozycloud.cc' }
77
77
  })
78
78
  })
79
79
 
80
80
  act(() => {
81
- fireEvent.keyPress(
82
- screen.getByPlaceholderText('Add contacts or groups'),
83
- {
84
- key: 'Enter',
85
- code: 'Enter',
86
- charCode: 13
87
- }
88
- )
81
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
82
+ key: 'Enter',
83
+ code: 'Enter',
84
+ charCode: 13
85
+ })
89
86
  })
90
87
 
91
88
  act(() => {
@@ -131,20 +128,17 @@ describe('ShareByEmailComponent', () => {
131
128
  })
132
129
 
133
130
  act(() => {
134
- fireEvent.change(screen.getByPlaceholderText('Add contacts or groups'), {
131
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
135
132
  target: { value: 'john@gmail.com' }
136
133
  })
137
134
  })
138
135
 
139
136
  act(() => {
140
- fireEvent.keyPress(
141
- screen.getByPlaceholderText('Add contacts or groups'),
142
- {
143
- key: 'Enter',
144
- code: 'Enter',
145
- charCode: 13
146
- }
147
- )
137
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
138
+ key: 'Enter',
139
+ code: 'Enter',
140
+ charCode: 13
141
+ })
148
142
  })
149
143
 
150
144
  act(() => {
@@ -180,23 +174,17 @@ describe('ShareByEmailComponent', () => {
180
174
  setup({ sharingDesc, createContact })
181
175
 
182
176
  act(() => {
183
- fireEvent.change(
184
- screen.getByPlaceholderText('Add contacts or groups'),
185
- {
186
- target: { value: 'quentin@cozycloud.cc' }
187
- }
188
- )
177
+ fireEvent.change(screen.getByPlaceholderText('Add contacts'), {
178
+ target: { value: 'quentin@cozycloud.cc' }
179
+ })
189
180
  })
190
181
 
191
182
  act(() => {
192
- fireEvent.keyPress(
193
- screen.getByPlaceholderText('Add contacts or groups'),
194
- {
195
- key: 'Enter',
196
- code: 'Enter',
197
- charCode: 13
198
- }
199
- )
183
+ fireEvent.keyPress(screen.getByPlaceholderText('Add contacts'), {
184
+ key: 'Enter',
185
+ code: 'Enter',
186
+ charCode: 13
187
+ })
200
188
  })
201
189
 
202
190
  await waitFor(() => {