cozy-ui 82.1.0 → 82.1.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 +14 -0
- package/package.json +1 -1
- package/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +4 -4
- package/react/SquareAppIcon/index.jsx +1 -1
- package/react/Viewer/locales/en.json +4 -1
- package/react/Viewer/locales/fr.json +4 -1
- package/transpiled/react/SquareAppIcon/index.js +1 -1
- package/transpiled/react/Viewer/hoc/withViewerLocales.js +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [82.1.2](https://github.com/cozy/cozy-ui/compare/v82.1.1...v82.1.2) (2023-03-24)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Missing Viewer translation keys ([0f79e7e](https://github.com/cozy/cozy-ui/commit/0f79e7e))
|
|
7
|
+
|
|
8
|
+
## [82.1.1](https://github.com/cozy/cozy-ui/compare/v82.1.0...v82.1.1) (2023-03-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* remove margin on sqAppIcon spinner ([6d74024](https://github.com/cozy/cozy-ui/commit/6d74024))
|
|
14
|
+
|
|
1
15
|
# [82.1.0](https://github.com/cozy/cozy-ui/compare/v82.0.0...v82.1.0) (2023-03-23)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ exports[`SquareAppIcon component should render an app correctly with the app nam
|
|
|
9
9
|
class="MuiBadge-root"
|
|
10
10
|
>
|
|
11
11
|
<div
|
|
12
|
-
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1"
|
|
12
|
+
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1 u-m-0"
|
|
13
13
|
>
|
|
14
14
|
<svg
|
|
15
15
|
aria-busy="true"
|
|
@@ -73,7 +73,7 @@ exports[`SquareAppIcon component should render an app correctly with the given n
|
|
|
73
73
|
class="MuiBadge-root"
|
|
74
74
|
>
|
|
75
75
|
<div
|
|
76
|
-
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1"
|
|
76
|
+
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1 u-m-0"
|
|
77
77
|
>
|
|
78
78
|
<svg
|
|
79
79
|
aria-busy="true"
|
|
@@ -137,7 +137,7 @@ exports[`SquareAppIcon component should render an app with the app slug if no na
|
|
|
137
137
|
class="MuiBadge-root"
|
|
138
138
|
>
|
|
139
139
|
<div
|
|
140
|
-
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1"
|
|
140
|
+
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1 u-m-0"
|
|
141
141
|
>
|
|
142
142
|
<svg
|
|
143
143
|
aria-busy="true"
|
|
@@ -431,7 +431,7 @@ exports[`SquareAppIcon component should render correctly an app with custom cont
|
|
|
431
431
|
class="MuiBadge-root"
|
|
432
432
|
>
|
|
433
433
|
<div
|
|
434
|
-
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1"
|
|
434
|
+
class="styles__c-spinner___1snK7 styles__SquareAppIcon-spinner___o0LO1 u-m-0"
|
|
435
435
|
>
|
|
436
436
|
<svg
|
|
437
437
|
aria-busy="true"
|
|
@@ -83,7 +83,7 @@ export const SquareAppIcon = ({
|
|
|
83
83
|
invisible={variant !== 'shortcut'}
|
|
84
84
|
>
|
|
85
85
|
{['default', 'loading'].includes(variant) && (
|
|
86
|
-
<Spinner className={styles['SquareAppIcon-spinner']} />
|
|
86
|
+
<Spinner className={cx(styles['SquareAppIcon-spinner'], 'u-m-0')} />
|
|
87
87
|
)}
|
|
88
88
|
<Badge
|
|
89
89
|
className={cx(
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
"caf": {
|
|
56
56
|
"number": "CAF file number"
|
|
57
57
|
},
|
|
58
|
+
"payment_proof_family_allowance": {
|
|
59
|
+
"number":"CAF file number"
|
|
60
|
+
},
|
|
58
61
|
"vehicle_registration": {
|
|
59
62
|
"number": "Vehicle registration number (VIN)"
|
|
60
63
|
},
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"driver_license": {
|
|
71
74
|
"number": "License number"
|
|
72
75
|
},
|
|
73
|
-
"country": "
|
|
76
|
+
"country": "Beneficiary nationality",
|
|
74
77
|
"refTaxIncome": "Reference tax income",
|
|
75
78
|
"contractType": "Contract type",
|
|
76
79
|
"noticePeriod": "Expiration alert",
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
"caf": {
|
|
56
56
|
"number": "Numéro de dossier CAF"
|
|
57
57
|
},
|
|
58
|
+
"payment_proof_family_allowance": {
|
|
59
|
+
"number":"Numéro de dossier CAF"
|
|
60
|
+
},
|
|
58
61
|
"vehicle_registration": {
|
|
59
62
|
"number": "Numéro de la carte grise (VIN)"
|
|
60
63
|
},
|
|
@@ -70,7 +73,7 @@
|
|
|
70
73
|
"driver_license": {
|
|
71
74
|
"number": "Numéro du permis"
|
|
72
75
|
},
|
|
73
|
-
"country": "
|
|
76
|
+
"country": "Nationalité du bénéficiaire",
|
|
74
77
|
"refTaxIncome": "Revenu fiscal de référence",
|
|
75
78
|
"contractType": "Type de contat",
|
|
76
79
|
"noticePeriod": "Alerte d’expiration",
|
|
@@ -98,7 +98,7 @@ export var SquareAppIcon = function SquareAppIcon(_ref) {
|
|
|
98
98
|
overlap: "rectangular",
|
|
99
99
|
invisible: variant !== 'shortcut'
|
|
100
100
|
}, ['default', 'loading'].includes(variant) && /*#__PURE__*/React.createElement(Spinner, {
|
|
101
|
-
className: styles['SquareAppIcon-spinner']
|
|
101
|
+
className: cx(styles['SquareAppIcon-spinner'], 'u-m-0')
|
|
102
102
|
}), /*#__PURE__*/React.createElement(Badge, {
|
|
103
103
|
className: cx(styles['SquareAppIcon-wrapper'], styles["SquareAppIcon-wrapper-".concat(variant)], (_cx = {}, _defineProperty(_cx, "".concat(styles['SquareAppIcon-wrapper-fx']), ['ghost', 'add'].includes(variant)), _defineProperty(_cx, classes.shadow, !['add', 'ghost'].includes(variant)), _cx)),
|
|
104
104
|
badgeContent: variant === 'error' ? /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -56,6 +56,9 @@ var en = {
|
|
|
56
56
|
caf: {
|
|
57
57
|
number: "CAF file number"
|
|
58
58
|
},
|
|
59
|
+
payment_proof_family_allowance: {
|
|
60
|
+
number: "CAF file number"
|
|
61
|
+
},
|
|
59
62
|
vehicle_registration: {
|
|
60
63
|
number: "Vehicle registration number (VIN)"
|
|
61
64
|
},
|
|
@@ -71,7 +74,7 @@ var en = {
|
|
|
71
74
|
driver_license: {
|
|
72
75
|
number: "License number"
|
|
73
76
|
},
|
|
74
|
-
country: "
|
|
77
|
+
country: "Beneficiary nationality",
|
|
75
78
|
refTaxIncome: "Reference tax income",
|
|
76
79
|
contractType: "Contract type",
|
|
77
80
|
noticePeriod: "Expiration alert",
|
|
@@ -179,6 +182,9 @@ var fr = {
|
|
|
179
182
|
caf: {
|
|
180
183
|
number: "Num\xE9ro de dossier CAF"
|
|
181
184
|
},
|
|
185
|
+
payment_proof_family_allowance: {
|
|
186
|
+
number: "Num\xE9ro de dossier CAF"
|
|
187
|
+
},
|
|
182
188
|
vehicle_registration: {
|
|
183
189
|
number: "Num\xE9ro de la carte grise (VIN)"
|
|
184
190
|
},
|
|
@@ -194,7 +200,7 @@ var fr = {
|
|
|
194
200
|
driver_license: {
|
|
195
201
|
number: "Num\xE9ro du permis"
|
|
196
202
|
},
|
|
197
|
-
country: "
|
|
203
|
+
country: "Nationalit\xE9 du b\xE9n\xE9ficiaire",
|
|
198
204
|
refTaxIncome: "Revenu fiscal de r\xE9f\xE9rence",
|
|
199
205
|
contractType: "Type de contat",
|
|
200
206
|
noticePeriod: "Alerte d\u2019expiration",
|