cozy-ui-plus 1.2.0 → 2.1.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 CHANGED
@@ -3,6 +3,22 @@
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
+ # [2.1.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@2.0.0...cozy-ui-plus@2.1.0) (2025-11-05)
7
+
8
+ ### Features
9
+
10
+ - **ui-plus:** Add AuthentificationDialog locales ([66ad8a3](https://github.com/cozy/cozy-libs/commit/66ad8a3a1f2e234d341a0bde6044ca22434e2824))
11
+
12
+ # [2.0.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@1.2.0...cozy-ui-plus@2.0.0) (2025-11-05)
13
+
14
+ ### Features
15
+
16
+ - Rename `AuthentificationDialog` folder ([346e115](https://github.com/cozy/cozy-libs/commit/346e1152d2cc32705137a74041c08fc4a61f491f))
17
+
18
+ ### BREAKING CHANGES
19
+
20
+ - You must replace `import AuthentificationDialog from 'cozy-ui-plus/dist/Dialogs/AuthenticationDialogs'` by `import AuthentificationDialog from 'cozy-ui-plus/dist/Dialogs/AuthentificationDialog'`
21
+
6
22
  # [1.2.0](https://github.com/cozy/cozy-libs/compare/cozy-ui-plus@1.1.3...cozy-ui-plus@1.2.0) (2025-10-30)
7
23
 
8
24
  ### Features
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.locales = exports.default = void 0;
9
+
10
+ var _withOnlyLocales = _interopRequireDefault(require("cozy-ui/transpiled/react/providers/I18n/withOnlyLocales"));
11
+
12
+ var en = {
13
+ cancel: "Cancel",
14
+ allow: "Allow",
15
+ "authentification-dialog": {
16
+ title: "Login",
17
+ "title-oidc": "Twake Pass",
18
+ subtitle: "For security, please confirm your identity",
19
+ label: "Twake password",
20
+ "label-oidc": "Twake Pass password",
21
+ abort: "Leave",
22
+ unlock: "Unlock",
23
+ "forgotten-password": "I forgot my password",
24
+ errors: {
25
+ invalid_password: "Incorrect password, try again.",
26
+ server_error: "Something went wrong with the server. Please, reload the page."
27
+ }
28
+ }
29
+ };
30
+ var fr = {
31
+ cancel: "Annuler",
32
+ allow: "Autoriser",
33
+ "authentification-dialog": {
34
+ title: "Authentification",
35
+ "title-oidc": "Twake Pass",
36
+ subtitle: "Par s\xE9curit\xE9, merci de confirmer votre identit\xE9",
37
+ label: "Mot de passe Twake",
38
+ "label-oidc": "Mot de passe Twake Pass",
39
+ abort: "Quitter",
40
+ unlock: "D\xE9verrouiller",
41
+ "forgotten-password": "J'ai oubli\xE9 mon mot de passe",
42
+ errors: {
43
+ invalid_password: "Mot de passe incorrect, essayer \xE0 nouveau.",
44
+ server_error: "Une erreur s'est produite. Merci de recharger la page."
45
+ }
46
+ }
47
+ };
48
+ var ru = {
49
+ cancel: "\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C",
50
+ allow: "\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C",
51
+ "authentification-dialog": {
52
+ title: "\u0412\u0445\u043E\u0434",
53
+ "title-oidc": "Twake Pass",
54
+ subtitle: "\u0414\u043B\u044F \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0432\u0430\u0448\u0443 \u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C",
55
+ label: "\u041F\u0430\u0440\u043E\u043B\u044C Twake",
56
+ "label-oidc": "\u041F\u0430\u0440\u043E\u043B\u044C Twake Pass",
57
+ abort: "\u0412\u044B\u0439\u0442\u0438",
58
+ unlock: "\u0420\u0430\u0437\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u0442\u044C",
59
+ "forgotten-password": "\u042F \u0437\u0430\u0431\u044B\u043B \u043F\u0430\u0440\u043E\u043B\u044C",
60
+ errors: {
61
+ invalid_password: "\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0435 \u0440\u0430\u0437.",
62
+ server_error: "\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043E\u043C. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443."
63
+ }
64
+ }
65
+ };
66
+ var vi = {
67
+ cancel: "H\u1EE7y",
68
+ allow: "Cho ph\xE9p",
69
+ "authentification-dialog": {
70
+ title: "\u0110\u0103ng nh\u1EADp",
71
+ "title-oidc": "Twake Pass",
72
+ subtitle: "\u0110\u1EC3 b\u1EA3o m\u1EADt, vui l\xF2ng x\xE1c nh\u1EADn danh t\xEDnh c\u1EE7a b\u1EA1n",
73
+ label: "M\u1EADt kh\u1EA9u Twake",
74
+ "label-oidc": "M\u1EADt kh\u1EA9u Twake Pass",
75
+ abort: "R\u1EDDi kh\u1ECFi",
76
+ unlock: "M\u1EDF kh\xF3a",
77
+ "forgotten-password": "T\xF4i qu\xEAn m\u1EADt kh\u1EA9u",
78
+ errors: {
79
+ invalid_password: "M\u1EADt kh\u1EA9u kh\xF4ng ch\xEDnh x\xE1c, h\xE3y th\u1EED l\u1EA1i.",
80
+ server_error: "C\xF3 l\u1ED7i x\u1EA3y ra v\u1EDBi m\xE1y ch\u1EE7. Vui l\xF2ng t\u1EA3i l\u1EA1i trang."
81
+ }
82
+ }
83
+ };
84
+ var locales = {
85
+ en: en,
86
+ fr: fr,
87
+ ru: ru,
88
+ vi: vi
89
+ };
90
+ exports.locales = locales;
91
+
92
+ var _default = (0, _withOnlyLocales.default)(locales);
93
+
94
+ exports.default = _default;
@@ -0,0 +1,12 @@
1
+ export namespace locales {
2
+ export { en };
3
+ export { fr };
4
+ export { ru };
5
+ export { vi };
6
+ }
7
+ declare const _default: Component;
8
+ export default _default;
9
+ import en from './locales/en.json';
10
+ import fr from './locales/fr.json';
11
+ import ru from './locales/ru.json';
12
+ import vi from './locales/vi.json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-ui-plus",
3
- "version": "1.2.0",
3
+ "version": "2.1.0",
4
4
  "description": "Cozy-ui-plus is an extension of cozy-ui and provides components based on cozy-client",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
@@ -72,5 +72,5 @@
72
72
  "react": "^16 || ^17 || ^18",
73
73
  "react-dom": "^16 || ^17 || ^18"
74
74
  },
75
- "gitHead": "676d2aa9a7ae6caf26a5325c1d7dd96382e79e27"
75
+ "gitHead": "ab0c029498b3ce4772df45bb19d7bb0e19022bf4"
76
76
  }
@@ -0,0 +1,18 @@
1
+ {
2
+ "cancel": "Cancel",
3
+ "allow": "Allow",
4
+ "authentification-dialog": {
5
+ "title": "Login",
6
+ "title-oidc": "Twake Pass",
7
+ "subtitle": "For security, please confirm your identity",
8
+ "label": "Twake password",
9
+ "label-oidc": "Twake Pass password",
10
+ "abort": "Leave",
11
+ "unlock": "Unlock",
12
+ "forgotten-password": "I forgot my password",
13
+ "errors": {
14
+ "invalid_password": "Incorrect password, try again.",
15
+ "server_error": "Something went wrong with the server. Please, reload the page."
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "cancel": "Annuler",
3
+ "allow": "Autoriser",
4
+ "authentification-dialog": {
5
+ "title": "Authentification",
6
+ "title-oidc": "Twake Pass",
7
+ "subtitle": "Par sécurité, merci de confirmer votre identité",
8
+ "label": "Mot de passe Twake",
9
+ "label-oidc": "Mot de passe Twake Pass",
10
+ "abort": "Quitter",
11
+ "unlock": "Déverrouiller",
12
+ "forgotten-password": "J'ai oublié mon mot de passe",
13
+ "errors": {
14
+ "invalid_password": "Mot de passe incorrect, essayer à nouveau.",
15
+ "server_error": "Une erreur s'est produite. Merci de recharger la page."
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "cancel": "Отменить",
3
+ "allow": "Разрешить",
4
+ "authentification-dialog": {
5
+ "title": "Вход",
6
+ "title-oidc": "Twake Pass",
7
+ "subtitle": "Для безопасности подтвердите вашу личность",
8
+ "label": "Пароль Twake",
9
+ "label-oidc": "Пароль Twake Pass",
10
+ "abort": "Выйти",
11
+ "unlock": "Разблокировать",
12
+ "forgotten-password": "Я забыл пароль",
13
+ "errors": {
14
+ "invalid_password": "Неверный пароль, попробуйте еще раз.",
15
+ "server_error": "Что-то пошло не так с сервером. Пожалуйста, перезагрузите страницу."
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "cancel": "Hủy",
3
+ "allow": "Cho phép",
4
+ "authentification-dialog": {
5
+ "title": "Đăng nhập",
6
+ "title-oidc": "Twake Pass",
7
+ "subtitle": "Để bảo mật, vui lòng xác nhận danh tính của bạn",
8
+ "label": "Mật khẩu Twake",
9
+ "label-oidc": "Mật khẩu Twake Pass",
10
+ "abort": "Rời khỏi",
11
+ "unlock": "Mở khóa",
12
+ "forgotten-password": "Tôi quên mật khẩu",
13
+ "errors": {
14
+ "invalid_password": "Mật khẩu không chính xác, hãy thử lại.",
15
+ "server_error": "Có lỗi xảy ra với máy chủ. Vui lòng tải lại trang."
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,15 @@
1
+ import withOnlyLocales from 'cozy-ui/transpiled/react/providers/I18n/withOnlyLocales'
2
+
3
+ import en from './locales/en.json'
4
+ import fr from './locales/fr.json'
5
+ import ru from './locales/ru.json'
6
+ import vi from './locales/vi.json'
7
+
8
+ export const locales = {
9
+ en,
10
+ fr,
11
+ ru,
12
+ vi
13
+ }
14
+
15
+ export default withOnlyLocales(locales)