cozy-ui 108.0.0 → 109.0.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 +25 -0
- package/package.json +3 -3
- package/react/BottomSheet/BottomSheetHeader.jsx +1 -0
- package/react/ContactsListModal/queries.js +1 -1
- package/react/ListItem/locales/en.json +1 -1
- package/react/ListItem/locales/fr.json +1 -1
- package/react/Viewer/Footer/Sharing.jsx +1 -1
- package/transpiled/react/BottomSheet/BottomSheetHeader.js +1 -0
- package/transpiled/react/ContactsListModal/queries.js +1 -1
- package/transpiled/react/ListItem/hoc/withListItemLocales.js +2 -2
- package/transpiled/react/Viewer/Footer/Sharing.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
# [109.0.0](https://github.com/cozy/cozy-ui/compare/v108.1.0...v109.0.0) (2024-06-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **Viewer:** Add displayName static property to `BottomSheetHeader` ([2b6dc97](https://github.com/cozy/cozy-ui/commit/2b6dc97))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* Change translation of `confidentialNumber` ([73e89fe](https://github.com/cozy/cozy-ui/commit/73e89fe))
|
|
12
|
+
* Upgrade cozy-sharing peerDeps ([9c2c839](https://github.com/cozy/cozy-ui/commit/9c2c839))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### BREAKING CHANGES
|
|
16
|
+
|
|
17
|
+
* you must have `cozy-sharing >= 14.1.0`
|
|
18
|
+
|
|
19
|
+
# [108.1.0](https://github.com/cozy/cozy-ui/compare/v108.0.0...v108.1.0) (2024-06-06)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* Improve contacts list performances ([bc8bc84](https://github.com/cozy/cozy-ui/commit/bc8bc84))
|
|
25
|
+
|
|
1
26
|
# [108.0.0](https://github.com/cozy/cozy-ui/compare/v107.4.1...v108.0.0) (2024-06-06)
|
|
2
27
|
|
|
3
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "109.0.0",
|
|
4
4
|
"description": "Cozy apps UI SDK",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"bin": {
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"cozy-harvest-lib": "^6.7.3",
|
|
98
98
|
"cozy-intent": "1.16.1",
|
|
99
99
|
"cozy-logger": "^1.9.0",
|
|
100
|
-
"cozy-sharing": "^
|
|
100
|
+
"cozy-sharing": "^14.1.0",
|
|
101
101
|
"cozy-stack-client": "^47.4.0",
|
|
102
102
|
"css-loader": "0.28.11",
|
|
103
103
|
"cssnano": "4.1.11",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"cozy-device-helper": "^2.0.0",
|
|
186
186
|
"cozy-harvest-lib": "^6.7.3",
|
|
187
187
|
"cozy-intent": ">=1.3.0",
|
|
188
|
-
"cozy-sharing": "
|
|
188
|
+
"cozy-sharing": ">=14.1.0",
|
|
189
189
|
"puppeteer": "^1.20.0",
|
|
190
190
|
"react": "^16.8.6",
|
|
191
191
|
"react-dom": "^16.8.6"
|
|
@@ -4,7 +4,7 @@ import { CONTACTS_DOCTYPE } from 'cozy-client/dist/models/contact'
|
|
|
4
4
|
const defaultFetchPolicy = fetchPolicies.olderThan(30 * 1000)
|
|
5
5
|
|
|
6
6
|
export const buildContactsQuery = () => ({
|
|
7
|
-
definition: () => Q(CONTACTS_DOCTYPE),
|
|
7
|
+
definition: () => Q(CONTACTS_DOCTYPE).limitBy(1000),
|
|
8
8
|
options: {
|
|
9
9
|
as: `${CONTACTS_DOCTYPE}`,
|
|
10
10
|
fetchPolicy: defaultFetchPolicy
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"netSocialAmount": "Net social amount",
|
|
33
33
|
"vehicle": {
|
|
34
34
|
"licenseNumber": "Vehicle registration number",
|
|
35
|
-
"confidentialNumber": "Confidential code"
|
|
35
|
+
"confidentialNumber": "Confidential vehicle registration code"
|
|
36
36
|
},
|
|
37
37
|
"number": {
|
|
38
38
|
"pay_sheet": "Gross remuneration",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"netSocialAmount": "Montant net social",
|
|
33
33
|
"vehicle": {
|
|
34
34
|
"licenseNumber": "Plaque d'immatriculation",
|
|
35
|
-
"confidentialNumber": "Code confidentiel"
|
|
35
|
+
"confidentialNumber": "Code confidentiel de la carte grise"
|
|
36
36
|
},
|
|
37
37
|
"number": {
|
|
38
38
|
"pay_sheet": "Rémunération brute",
|
|
@@ -4,7 +4,7 @@ var defaultFetchPolicy = fetchPolicies.olderThan(30 * 1000);
|
|
|
4
4
|
export var buildContactsQuery = function buildContactsQuery() {
|
|
5
5
|
return {
|
|
6
6
|
definition: function definition() {
|
|
7
|
-
return Q(CONTACTS_DOCTYPE);
|
|
7
|
+
return Q(CONTACTS_DOCTYPE).limitBy(1000);
|
|
8
8
|
},
|
|
9
9
|
options: {
|
|
10
10
|
as: "".concat(CONTACTS_DOCTYPE),
|
|
@@ -33,7 +33,7 @@ var en = {
|
|
|
33
33
|
netSocialAmount: "Net social amount",
|
|
34
34
|
vehicle: {
|
|
35
35
|
licenseNumber: "Vehicle registration number",
|
|
36
|
-
confidentialNumber: "Confidential code"
|
|
36
|
+
confidentialNumber: "Confidential vehicle registration code"
|
|
37
37
|
},
|
|
38
38
|
number: {
|
|
39
39
|
pay_sheet: "Gross remuneration",
|
|
@@ -108,7 +108,7 @@ var fr = {
|
|
|
108
108
|
netSocialAmount: "Montant net social",
|
|
109
109
|
vehicle: {
|
|
110
110
|
licenseNumber: "Plaque d'immatriculation",
|
|
111
|
-
confidentialNumber: "Code confidentiel"
|
|
111
|
+
confidentialNumber: "Code confidentiel de la carte grise"
|
|
112
112
|
},
|
|
113
113
|
number: {
|
|
114
114
|
pay_sheet: "R\xE9mun\xE9ration brute",
|
|
@@ -26,7 +26,7 @@ var Sharing = function Sharing(_ref) {
|
|
|
26
26
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
27
27
|
icon: ShareIcon
|
|
28
28
|
})) : /*#__PURE__*/React.createElement(ShareButton, {
|
|
29
|
-
|
|
29
|
+
fullWidth: true,
|
|
30
30
|
useShortLabel: true,
|
|
31
31
|
docId: file.id,
|
|
32
32
|
onClick: function onClick() {
|