@pagopa/selfcare-common-frontend 1.34.101 → 1.34.103
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 +16 -2
- package/build.info +2 -2
- package/lib/components/Footer/Footer.js +17 -17
- package/lib/components/Footer/FooterConfig.js +1 -1
- package/lib/utils/utils.d.ts +1 -0
- package/lib/utils/utils.js +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,9 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
#### [v1.34.
|
|
7
|
+
#### [v1.34.103](https://github.com/pagopa/selfcare-common-frontend/compare/v1.35.0...v1.34.103)
|
|
8
8
|
|
|
9
|
+
- Add new util to check for pec email [`#336`](https://github.com/pagopa/selfcare-common-frontend/pull/336)
|
|
9
10
|
- reset type module [`#335`](https://github.com/pagopa/selfcare-common-frontend/pull/335)
|
|
10
11
|
- update to esm [`#334`](https://github.com/pagopa/selfcare-common-frontend/pull/334)
|
|
11
12
|
- improve build for lib [`#333`](https://github.com/pagopa/selfcare-common-frontend/pull/333)
|
|
@@ -81,6 +82,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
81
82
|
- SELC-2590 [`#186`](https://github.com/pagopa/selfcare-common-frontend/pull/186)
|
|
82
83
|
- SELC-2590 - update common [`#185`](https://github.com/pagopa/selfcare-common-frontend/pull/185)
|
|
83
84
|
- Used a environment variable to manage correct links in the footer based to product and actual environment [`#184`](https://github.com/pagopa/selfcare-common-frontend/pull/184)
|
|
85
|
+
- [SELC-8372] Feat: [AR-34] Label in the name [`#8372`](https://pagopa.atlassian.net/browse/8372)
|
|
84
86
|
- [SELC-8391] feat:: add new action ListAllProductUsers (#332) [`#8391`](https://pagopa.atlassian.net/browse/8391)
|
|
85
87
|
- [SELC-8277] feat: add new action to handle product groups (#328) [`#8277`](https://pagopa.atlassian.net/browse/8277)
|
|
86
88
|
- [SELC-8079] feat : handle redirect for backstage (#324) [`#8079`](https://pagopa.atlassian.net/browse/8079)
|
|
@@ -159,10 +161,22 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
159
161
|
- Bump rimraf from 3.0.2 to 6.0.1 [`e6941b9`](https://github.com/pagopa/selfcare-common-frontend/commit/e6941b9e6b05c973d991e2470a851b5ca03926ce)
|
|
160
162
|
- Used a environment variable to manage correct links in the footer based to product and actual environment [`960e2fb`](https://github.com/pagopa/selfcare-common-frontend/commit/960e2fbaa8aa8f79061639b26dc1a27f28b8aae3)
|
|
161
163
|
|
|
162
|
-
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.
|
|
164
|
+
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.102...v1.35.0)
|
|
163
165
|
|
|
164
166
|
> 20 July 2023
|
|
165
167
|
|
|
168
|
+
#### [v1.34.102](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.101...v1.34.102)
|
|
169
|
+
|
|
170
|
+
> 26 March 2026
|
|
171
|
+
|
|
172
|
+
- Add new util to check for pec email [`#336`](https://github.com/pagopa/selfcare-common-frontend/pull/336)
|
|
173
|
+
|
|
174
|
+
#### [v1.34.101](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.100...v1.34.101)
|
|
175
|
+
|
|
176
|
+
> 24 March 2026
|
|
177
|
+
|
|
178
|
+
- reset type module [`#335`](https://github.com/pagopa/selfcare-common-frontend/pull/335)
|
|
179
|
+
|
|
166
180
|
#### [v1.34.100](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.99...v1.34.100)
|
|
167
181
|
|
|
168
182
|
> 19 March 2026
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
tags/v1.29.0~1^2
|
|
1
|
+
20260408.1 - selfcare-common-frontend.deploy(266529)
|
|
2
|
+
tags/v1.29.0~1^2 d661ef989498df1bdb00e1f747bd1593b3f14f41
|
|
@@ -30,19 +30,19 @@ export default function Footer({ loggedUser, productsJsonUrl, onExit = (exitActi
|
|
|
30
30
|
{
|
|
31
31
|
label: t('common.footer.preLoginLinks.aboutUs.links.aboutUs'),
|
|
32
32
|
href: CONFIG.FOOTER.LINK.ABOUTUS,
|
|
33
|
-
ariaLabel: '
|
|
33
|
+
ariaLabel: `${t('common.footer.preLoginLinks.aboutUs.links.aboutUs')}: vai al link`,
|
|
34
34
|
linkType: 'internal',
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
label: t('common.footer.preLoginLinks.aboutUs.links.media'),
|
|
38
38
|
href: CONFIG.FOOTER.LINK.MEDIA,
|
|
39
|
-
ariaLabel: '
|
|
39
|
+
ariaLabel: `${t('common.footer.preLoginLinks.aboutUs.links.media')}: vai al link`,
|
|
40
40
|
linkType: 'internal',
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
label: t('common.footer.preLoginLinks.aboutUs.links.workwithud'),
|
|
44
44
|
href: CONFIG.FOOTER.LINK.WORKWITHUS,
|
|
45
|
-
ariaLabel: '
|
|
45
|
+
ariaLabel: `${t('common.footer.preLoginLinks.aboutUs.links.workwithud')}: vai al link`,
|
|
46
46
|
linkType: 'internal',
|
|
47
47
|
},
|
|
48
48
|
],
|
|
@@ -54,55 +54,55 @@ export default function Footer({ loggedUser, productsJsonUrl, onExit = (exitActi
|
|
|
54
54
|
{
|
|
55
55
|
label: t('common.footer.preLoginLinks.resources.links.privacyPolicy'),
|
|
56
56
|
href: CONFIG.FOOTER.LINK.PRIVACYPOLICY,
|
|
57
|
-
ariaLabel: '
|
|
57
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.privacyPolicy')}: vai al link`,
|
|
58
58
|
linkType: 'internal',
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
label: t('common.footer.preLoginLinks.resources.links.certifications'),
|
|
62
62
|
href: CONFIG.FOOTER.LINK.CERTIFICATIONS,
|
|
63
|
-
ariaLabel: '
|
|
63
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.certifications')}: vai al link`,
|
|
64
64
|
linkType: 'internal',
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
label: t('common.footer.preLoginLinks.resources.links.informationsecurity'),
|
|
68
68
|
href: CONFIG.FOOTER.LINK.INFORMATIONSECURITY,
|
|
69
|
-
ariaLabel: '
|
|
69
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.informationsecurity')}: vai al link`,
|
|
70
70
|
linkType: 'internal',
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
label: t('common.footer.preLoginLinks.resources.links.protectionofpersonaldata'),
|
|
74
74
|
href: CONFIG.FOOTER.LINK.PROTECTIONOFPERSONALDATA,
|
|
75
|
-
ariaLabel: '
|
|
75
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.protectionofpersonaldata')}: vai al link`,
|
|
76
76
|
linkType: 'internal',
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
label: t('common.footer.preLoginLinks.resources.links.cookies'),
|
|
80
80
|
onClick: () => window.OneTrust.ToggleInfoDisplay(),
|
|
81
|
-
ariaLabel: '
|
|
81
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.cookies')}: vai al link`,
|
|
82
82
|
linkType: 'internal',
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
85
|
label: t('common.footer.preLoginLinks.resources.links.termsandconditions'),
|
|
86
86
|
href: CONFIG.FOOTER.LINK.TERMSANDCONDITIONS,
|
|
87
|
-
ariaLabel: '
|
|
87
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.termsandconditions')}: vai al link`,
|
|
88
88
|
linkType: 'internal',
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
label: t('common.footer.preLoginLinks.resources.links.transparentcompany'),
|
|
92
92
|
href: CONFIG.FOOTER.LINK.TRANSPARENTCOMPANY,
|
|
93
|
-
ariaLabel: '
|
|
93
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.transparentcompany')}: vai al link`,
|
|
94
94
|
linkType: 'internal',
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
label: t('common.footer.preLoginLinks.resources.links.disclosurePolicy'),
|
|
98
98
|
href: CONFIG.FOOTER.LINK.DISCLOSUREPOLICY,
|
|
99
|
-
ariaLabel: '
|
|
99
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.disclosurePolicy')}: vai al link`,
|
|
100
100
|
linkType: 'internal',
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
label: t('common.footer.preLoginLinks.resources.links.model231'),
|
|
104
104
|
href: CONFIG.FOOTER.LINK.MODEL231,
|
|
105
|
-
ariaLabel: '
|
|
105
|
+
ariaLabel: `${t('common.footer.preLoginLinks.resources.links.model231')}: vai al link`,
|
|
106
106
|
linkType: 'internal',
|
|
107
107
|
},
|
|
108
108
|
],
|
|
@@ -140,7 +140,7 @@ export default function Footer({ loggedUser, productsJsonUrl, onExit = (exitActi
|
|
|
140
140
|
{
|
|
141
141
|
label: t('common.footer.preLoginLinks.accessibility'),
|
|
142
142
|
href: CONFIG.FOOTER.LINK.ACCESSIBILITY,
|
|
143
|
-
ariaLabel: '
|
|
143
|
+
ariaLabel: `${t('common.footer.preLoginLinks.accessibility')}: vai al link`,
|
|
144
144
|
linkType: 'internal',
|
|
145
145
|
},
|
|
146
146
|
],
|
|
@@ -150,25 +150,25 @@ export default function Footer({ loggedUser, productsJsonUrl, onExit = (exitActi
|
|
|
150
150
|
{
|
|
151
151
|
label: t('common.footer.postLoginLinks.privacyPolicy'),
|
|
152
152
|
href: CONFIG.FOOTER.LINK.PRIVACYPOLICY,
|
|
153
|
-
ariaLabel: '
|
|
153
|
+
ariaLabel: `${t('common.footer.postLoginLinks.privacyPolicy')}: vai al link`,
|
|
154
154
|
linkType: 'internal',
|
|
155
155
|
},
|
|
156
156
|
{
|
|
157
157
|
label: t('common.footer.postLoginLinks.protectionofpersonaldata'),
|
|
158
158
|
href: CONFIG.FOOTER.LINK.PROTECTIONOFPERSONALDATA,
|
|
159
|
-
ariaLabel: '
|
|
159
|
+
ariaLabel: `${t('common.footer.postLoginLinks.protectionofpersonaldata')}: vai al link`,
|
|
160
160
|
linkType: 'internal',
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
label: t('common.footer.postLoginLinks.termsandconditions'),
|
|
164
164
|
href: CONFIG.FOOTER.LINK.TERMSANDCONDITIONS,
|
|
165
|
-
ariaLabel: '
|
|
165
|
+
ariaLabel: `${t('common.footer.postLoginLinks.termsandconditions')}: vai al link`,
|
|
166
166
|
linkType: 'internal',
|
|
167
167
|
},
|
|
168
168
|
{
|
|
169
169
|
label: t('common.footer.postLoginLinks.accessibility'),
|
|
170
170
|
href: CONFIG.FOOTER.LINK.ACCESSIBILITY,
|
|
171
|
-
ariaLabel: '
|
|
171
|
+
ariaLabel: `${t('common.footer.postLoginLinks.accessibility')}: vai al link`,
|
|
172
172
|
linkType: 'internal',
|
|
173
173
|
},
|
|
174
174
|
];
|
package/lib/utils/utils.d.ts
CHANGED
package/lib/utils/utils.js
CHANGED
|
@@ -128,3 +128,5 @@ export const specialCharacters = {
|
|
|
128
128
|
export const specialChar2NormalChar = (char) => specialCharacters[char] || char;
|
|
129
129
|
export const acceptedVowels = /[aeiouàèìòùáéíóúäëïöüâêîôûæœǝɐɑɒ]/gi;
|
|
130
130
|
export const acceptedConsonants = /[bcdfghjklmnpqrstvwxyzñçčšžǩßḃḍḫķḻḳṅṯẓẟẝƁƇƔƝƤƧƬƲƳƵʍʜʎɹɾʃʒʔɲ]/gi;
|
|
131
|
+
const PEC_PATTERNS = [/@pec\./i, /@postecert\./i, /@legalmail\./i];
|
|
132
|
+
export const isPecEmail = (email) => PEC_PATTERNS.some((pattern) => pattern.test(email));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagopa/selfcare-common-frontend",
|
|
3
3
|
"description": "Shared React components for the pagopa selfcare project",
|
|
4
|
-
"version": "1.34.
|
|
4
|
+
"version": "1.34.103",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|