cozy-ui 127.1.0 → 127.3.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 +14 -0
- package/package.json +1 -1
- package/react/CozyDialogs/SpecificDialogs/icons/QRCodeInstallFlagshipAppDialog.png +0 -0
- package/react/CozyDialogs/SpecificDialogs/locales/en.json +6 -6
- package/react/CozyDialogs/SpecificDialogs/locales/fr.json +6 -6
- package/react/GridList/Virtualized/index.jsx +21 -0
- package/transpiled/react/CozyDialogs/SpecificDialogs/icons/QRCodeInstallFlagshipAppDialog.png +0 -0
- package/transpiled/react/CozyDialogs/SpecificDialogs/withSpecificDialogsLocales.js +12 -12
- package/transpiled/react/GridList/Virtualized/index.d.ts +3 -0
- package/transpiled/react/GridList/Virtualized/index.js +26 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [127.3.0](https://github.com/cozy/cozy-ui/compare/v127.2.0...v127.3.0) (2025-07-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* implement virtualized grid :sparkles: ([9a6a475](https://github.com/cozy/cozy-ui/commit/9a6a475))
|
|
7
|
+
|
|
8
|
+
# [127.2.0](https://github.com/cozy/cozy-ui/compare/v127.1.0...v127.2.0) (2025-07-01)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **InstallFlagshipAppDialog:** Replace wording and QRCode ([b1bc4c9](https://github.com/cozy/cozy-ui/commit/b1bc4c9))
|
|
14
|
+
|
|
1
15
|
# [127.1.0](https://github.com/cozy/cozy-ui/compare/v127.0.1...v127.1.0) (2025-07-01)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
"allow": "Allow",
|
|
4
4
|
"allow-location-dialog": {
|
|
5
5
|
"title": "Allow access to your location",
|
|
6
|
-
"description": "Your
|
|
6
|
+
"description": "Your Twake needs to always be authorised to access your phone's location in order to memorise and help you analyse your movements, even when the app is not in use.\n\nIt will NEVER be passed on to anyone without your request.\n\nYou can deactivate this feature from the Coach CO2 app settings."
|
|
7
7
|
},
|
|
8
8
|
"install-flagship-app-dialog": {
|
|
9
9
|
"title": "Scan the QR Code",
|
|
10
|
-
"text": "or go directly to the <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>App Store</a><br>or <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> to install the
|
|
11
|
-
"a11n": "Go to the
|
|
10
|
+
"text": "or go directly to the <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>App Store</a><br>or <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> to install the Twake Workplace app",
|
|
11
|
+
"a11n": "Go to the Twake Workplace application download page"
|
|
12
12
|
},
|
|
13
13
|
"authentification-dialog": {
|
|
14
14
|
"title": "Login",
|
|
15
|
-
"title-oidc": "
|
|
15
|
+
"title-oidc": "Twake Pass",
|
|
16
16
|
"subtitle": "For security, please confirm your identity",
|
|
17
|
-
"label": "
|
|
18
|
-
"label-oidc": "
|
|
17
|
+
"label": "Twake password",
|
|
18
|
+
"label-oidc": "Twake Pass password",
|
|
19
19
|
"abort": "Leave",
|
|
20
20
|
"unlock": "Unlock",
|
|
21
21
|
"forgotten-password": "I forgot my password",
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
"allow": "Autoriser",
|
|
4
4
|
"allow-location-dialog": {
|
|
5
5
|
"title": "Autoriser l'accès à votre position",
|
|
6
|
-
"description": "Votre
|
|
6
|
+
"description": "Votre Twake a besoin d'être toujours autorisé à accéder à la position de votre téléphone pour mémoriser, et vous aider à analyser vos déplacements, même lorsque l'app n'est pas utilisée ou affichée.\n\nElle ne sera JAMAIS transmise à qui que ce soit sans votre demande.\n\nVous pourrez désactiver cette fonctionnalité depuis les paramètres de l'app Coach CO2."
|
|
7
7
|
},
|
|
8
8
|
"install-flagship-app-dialog": {
|
|
9
9
|
"title": "Scannez le QR Code",
|
|
10
|
-
"text": "ou rendez vous directement sur <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>l’App Store</a><br>ou sur le <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> pour installer l’app
|
|
11
|
-
"a11n": "Aller sur la page de téléchargement de l'application
|
|
10
|
+
"text": "ou rendez vous directement sur <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>l’App Store</a><br>ou sur le <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> pour installer l’app Twake Workplace",
|
|
11
|
+
"a11n": "Aller sur la page de téléchargement de l'application Twake Workplace"
|
|
12
12
|
},
|
|
13
13
|
"authentification-dialog": {
|
|
14
14
|
"title": "Authentification",
|
|
15
|
-
"title-oidc": "
|
|
15
|
+
"title-oidc": "Twake Pass",
|
|
16
16
|
"subtitle": "Par sécurité, merci de confirmer votre identité",
|
|
17
|
-
"label": "Mot de passe
|
|
18
|
-
"label-oidc": "Mot de passe
|
|
17
|
+
"label": "Mot de passe Twake",
|
|
18
|
+
"label-oidc": "Mot de passe Twake Pass",
|
|
19
19
|
"abort": "Quitter",
|
|
20
20
|
"unlock": "Déverrouiller",
|
|
21
21
|
"forgotten-password": "J'ai oublié mon mot de passe",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react'
|
|
2
|
+
import { VirtuosoGrid } from 'react-virtuoso'
|
|
3
|
+
|
|
4
|
+
const VirtualizedGridList = forwardRef(
|
|
5
|
+
({ items = [], itemRenderer, components, ...props }, ref) => {
|
|
6
|
+
return (
|
|
7
|
+
<VirtuosoGrid
|
|
8
|
+
ref={ref}
|
|
9
|
+
components={components}
|
|
10
|
+
style={{ height: '100%' }}
|
|
11
|
+
totalCount={items.length}
|
|
12
|
+
itemContent={index => itemRenderer(items[index])}
|
|
13
|
+
{...props}
|
|
14
|
+
/>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
VirtualizedGridList.displayName = 'VirtualizedGridList'
|
|
20
|
+
|
|
21
|
+
export default VirtualizedGridList
|
package/transpiled/react/CozyDialogs/SpecificDialogs/icons/QRCodeInstallFlagshipAppDialog.png
CHANGED
|
Binary file
|
|
@@ -3,19 +3,19 @@ var en = {
|
|
|
3
3
|
allow: "Allow",
|
|
4
4
|
"allow-location-dialog": {
|
|
5
5
|
title: "Allow access to your location",
|
|
6
|
-
description: "Your
|
|
6
|
+
description: "Your Twake needs to always be authorised to access your phone's location in order to memorise and help you analyse your movements, even when the app is not in use.\n\nIt will NEVER be passed on to anyone without your request.\n\nYou can deactivate this feature from the Coach CO2 app settings."
|
|
7
7
|
},
|
|
8
8
|
"install-flagship-app-dialog": {
|
|
9
9
|
title: "Scan the QR Code",
|
|
10
|
-
text: "or go directly to the <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>App Store</a><br>or <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> to install the
|
|
11
|
-
a11n: "Go to the
|
|
10
|
+
text: "or go directly to the <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>App Store</a><br>or <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> to install the Twake\xA0Workplace app",
|
|
11
|
+
a11n: "Go to the Twake\xA0Workplace application download page"
|
|
12
12
|
},
|
|
13
13
|
"authentification-dialog": {
|
|
14
14
|
title: "Login",
|
|
15
|
-
"title-oidc": "
|
|
15
|
+
"title-oidc": "Twake Pass",
|
|
16
16
|
subtitle: "For security, please confirm your identity",
|
|
17
|
-
label: "
|
|
18
|
-
"label-oidc": "
|
|
17
|
+
label: "Twake password",
|
|
18
|
+
"label-oidc": "Twake Pass password",
|
|
19
19
|
abort: "Leave",
|
|
20
20
|
unlock: "Unlock",
|
|
21
21
|
"forgotten-password": "I forgot my password",
|
|
@@ -30,19 +30,19 @@ var fr = {
|
|
|
30
30
|
allow: "Autoriser",
|
|
31
31
|
"allow-location-dialog": {
|
|
32
32
|
title: "Autoriser l'acc\xE8s \xE0 votre position",
|
|
33
|
-
description: "Votre
|
|
33
|
+
description: "Votre Twake a besoin d'\xEAtre toujours autoris\xE9 \xE0 acc\xE9der \xE0 la position de votre t\xE9l\xE9phone pour m\xE9moriser, et vous aider \xE0 analyser vos d\xE9placements, m\xEAme lorsque l'app n'est pas utilis\xE9e ou affich\xE9e.\n\nElle ne sera JAMAIS transmise \xE0 qui que ce soit sans votre demande.\n\nVous pourrez d\xE9sactiver cette fonctionnalit\xE9 depuis les param\xE8tres de l'app Coach CO2."
|
|
34
34
|
},
|
|
35
35
|
"install-flagship-app-dialog": {
|
|
36
36
|
title: "Scannez le QR Code",
|
|
37
|
-
text: "ou rendez vous directement sur <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>l\u2019App Store</a><br>ou sur le <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> pour installer l\u2019app
|
|
38
|
-
a11n: "Aller sur la page de t\xE9l\xE9chargement de l'application
|
|
37
|
+
text: "ou rendez vous directement sur <img src=%{iosIconSrc} /> <a href='%{iosUrl}' class='u-link' target='_blank' rel='noopener'>l\u2019App Store</a><br>ou sur le <img src=%{androidIconSrc} /> <a href='%{androidUrl}' class='u-link' target='_blank' rel='noopener'>Play Store</a> pour installer l\u2019app Twake\xA0Workplace",
|
|
38
|
+
a11n: "Aller sur la page de t\xE9l\xE9chargement de l'application Twake\xA0Workplace"
|
|
39
39
|
},
|
|
40
40
|
"authentification-dialog": {
|
|
41
41
|
title: "Authentification",
|
|
42
|
-
"title-oidc": "
|
|
42
|
+
"title-oidc": "Twake Pass",
|
|
43
43
|
subtitle: "Par s\xE9curit\xE9, merci de confirmer votre identit\xE9",
|
|
44
|
-
label: "Mot de passe
|
|
45
|
-
"label-oidc": "Mot de passe
|
|
44
|
+
label: "Mot de passe Twake",
|
|
45
|
+
"label-oidc": "Mot de passe Twake Pass",
|
|
46
46
|
abort: "Quitter",
|
|
47
47
|
unlock: "D\xE9verrouiller",
|
|
48
48
|
"forgotten-password": "J'ai oubli\xE9 mon mot de passe",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
|
+
var _excluded = ["items", "itemRenderer", "components"];
|
|
4
|
+
import React, { forwardRef } from 'react';
|
|
5
|
+
import { VirtuosoGrid } from 'react-virtuoso';
|
|
6
|
+
var VirtualizedGridList = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
7
|
+
var _ref$items = _ref.items,
|
|
8
|
+
items = _ref$items === void 0 ? [] : _ref$items,
|
|
9
|
+
itemRenderer = _ref.itemRenderer,
|
|
10
|
+
components = _ref.components,
|
|
11
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
|
|
13
|
+
return /*#__PURE__*/React.createElement(VirtuosoGrid, _extends({
|
|
14
|
+
ref: ref,
|
|
15
|
+
components: components,
|
|
16
|
+
style: {
|
|
17
|
+
height: '100%'
|
|
18
|
+
},
|
|
19
|
+
totalCount: items.length,
|
|
20
|
+
itemContent: function itemContent(index) {
|
|
21
|
+
return itemRenderer(items[index]);
|
|
22
|
+
}
|
|
23
|
+
}, props));
|
|
24
|
+
});
|
|
25
|
+
VirtualizedGridList.displayName = 'VirtualizedGridList';
|
|
26
|
+
export default VirtualizedGridList;
|