@pagopa/selfcare-common-frontend 1.34.84 → 1.34.87

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
@@ -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.84](https://github.com/pagopa/selfcare-common-frontend/compare/v1.35.0...v1.34.84)
7
+ #### [v1.34.87](https://github.com/pagopa/selfcare-common-frontend/compare/v1.35.0...v1.34.87)
8
8
 
9
+ - [SELC-8066] feat: add live region label to announce loading in LoadingOverlayComponent [`#321`](https://github.com/pagopa/selfcare-common-frontend/pull/321)
9
10
  - fix: redirect to logout URL instead of login on token validation failure [`#319`](https://github.com/pagopa/selfcare-common-frontend/pull/319)
10
11
  - [SELC-7980] feat: add ALLOWED_PRODUCT_IDS constant for product filtering [`#318`](https://github.com/pagopa/selfcare-common-frontend/pull/318)
11
12
  - fix: update logout URL logic to use consistent variable naming [`#317`](https://github.com/pagopa/selfcare-common-frontend/pull/317)
@@ -68,6 +69,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
68
69
  - SELC-2590 [`#186`](https://github.com/pagopa/selfcare-common-frontend/pull/186)
69
70
  - SELC-2590 - update common [`#185`](https://github.com/pagopa/selfcare-common-frontend/pull/185)
70
71
  - 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)
72
+ - [SELC-8066] feat: add live region label to announce loading in LoadingOverlayComponent (#321) [`#8066`](https://pagopa.atlassian.net/browse/8066)
71
73
  - [SELC-7980] feat: add ALLOWED_PRODUCT_IDS constant for product filtering (#318) [`#7980`](https://pagopa.atlassian.net/browse/7980)
72
74
  - [SELC-7957] feat: add fixedParty prop to Header component and update product selection logic (#314) [`#7957`](https://pagopa.atlassian.net/browse/7957)
73
75
  - [SELC-7939] feat: add isPagoPaUser utility and chip label (#313) [`#7939`](https://pagopa.atlassian.net/browse/7939)
@@ -141,10 +143,27 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
141
143
  - Bump rimraf from 3.0.2 to 6.0.1 [`e6941b9`](https://github.com/pagopa/selfcare-common-frontend/commit/e6941b9e6b05c973d991e2470a851b5ca03926ce)
142
144
  - 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)
143
145
 
144
- #### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.83...v1.35.0)
146
+ #### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.86...v1.35.0)
145
147
 
146
148
  > 20 July 2023
147
149
 
150
+ #### [v1.34.86](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.85...v1.34.86)
151
+
152
+ > 10 December 2025
153
+
154
+ #### [v1.34.85](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.84...v1.34.85)
155
+
156
+ > 10 December 2025
157
+
158
+ - [SELC-8066] feat: add live region label to announce loading in LoadingOverlayComponent [`#321`](https://github.com/pagopa/selfcare-common-frontend/pull/321)
159
+ - [SELC-8066] feat: add live region label to announce loading in LoadingOverlayComponent (#321) [`#8066`](https://pagopa.atlassian.net/browse/8066)
160
+
161
+ #### [v1.34.84](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.83...v1.34.84)
162
+
163
+ > 25 November 2025
164
+
165
+ - fix: redirect to logout URL instead of login on token validation failure [`#319`](https://github.com/pagopa/selfcare-common-frontend/pull/319)
166
+
148
167
  #### [v1.34.83](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.82...v1.34.83)
149
168
 
150
169
  > 25 November 2025
package/build.info CHANGED
@@ -1,2 +1,2 @@
1
- 20251125.4 - selfcare-common-frontend.deploy(246230)
2
- tags/v1.29.0~1^2 7325cf9f43438c45a5b4bcfba2e96b96216b2301
1
+ 20260120.1 - selfcare-common-frontend.deploy(254113)
2
+ tags/v1.29.0~1^2 4c2d342de2ebbae5ff8ce422fec44a89df0bc56c
@@ -1,6 +1,7 @@
1
1
  type Props = {
2
2
  open: boolean;
3
+ loadingMessage?: string;
3
4
  };
4
5
  /** A component which render an overlay loading */
5
- export default function LoadingOverlayComponent({ open }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export default function LoadingOverlayComponent({ open, loadingMessage }: Props): import("react/jsx-runtime").JSX.Element;
6
7
  export {};
@@ -7,14 +7,24 @@ const material_1 = require("@mui/material");
7
7
  const system_1 = require("@mui/system");
8
8
  const react_md_spinner_1 = tslib_1.__importDefault(require("react-md-spinner"));
9
9
  /** A component which render an overlay loading */
10
- function LoadingOverlayComponent({ open }) {
10
+ function LoadingOverlayComponent({ open, loadingMessage = 'Caricamento in corso' }) {
11
11
  const theme = (0, material_1.useTheme)();
12
- return ((0, jsx_runtime_1.jsx)(material_1.Modal, { open: open, sx: { outline: 0, zIndex: 1500 }, children: (0, jsx_runtime_1.jsx)(system_1.Box, { sx: {
12
+ return ((0, jsx_runtime_1.jsx)(material_1.Modal, { open: open, sx: { outline: 0, zIndex: 1500 }, "aria-labelledby": "loading-modal-title", children: (0, jsx_runtime_1.jsxs)(system_1.Box, { sx: {
13
13
  position: 'absolute',
14
14
  top: '50%',
15
15
  left: '50%',
16
16
  width: '100px',
17
17
  outline: 0,
18
- }, children: (0, jsx_runtime_1.jsx)(react_md_spinner_1.default, { singleColor: theme.palette.primary.main, role: "loadingSpinner" }) }) }));
18
+ }, role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-busy": "true", children: [(0, jsx_runtime_1.jsx)("span", { id: "loading-modal-title", style: {
19
+ position: 'absolute',
20
+ width: '1px',
21
+ height: '1px',
22
+ padding: '0',
23
+ margin: '-1px',
24
+ overflow: 'hidden',
25
+ clip: 'rect(0,0,0,0)',
26
+ whiteSpace: 'nowrap',
27
+ border: '0'
28
+ }, children: loadingMessage }), (0, jsx_runtime_1.jsx)(react_md_spinner_1.default, { singleColor: theme.palette.primary.main, role: "loadingSpinner" })] }) }));
19
29
  }
20
30
  //# sourceMappingURL=LoadingOverlayComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingOverlayComponent.js","sourceRoot":"","sources":["../../../src/lib/components/LoadingOverlayComponent.tsx"],"names":[],"mappings":";;AASA,0CAkBC;;;AA3BD,4CAAgD;AAChD,wCAAkC;AAClC,gFAAyC;AAMzC,kDAAkD;AAClD,SAAwB,uBAAuB,CAAC,EAAE,IAAI,EAAS;IAC7D,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAC;IAEzB,OAAO,CACL,uBAAC,gBAAK,IAAC,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YACjD,uBAAC,YAAG,IACF,EAAE,EAAE;gBACF,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,CAAC;aACX,YAED,uBAAC,0BAAS,IAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAC,gBAAgB,GAAG,GACxE,GACA,CACT,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"LoadingOverlayComponent.js","sourceRoot":"","sources":["../../../src/lib/components/LoadingOverlayComponent.tsx"],"names":[],"mappings":";;AAUA,0CA6CC;;;AAvDD,4CAAgD;AAChD,wCAAkC;AAClC,gFAAyC;AAOzC,kDAAkD;AAClD,SAAwB,uBAAuB,CAAC,EAC9C,IAAI,EACJ,cAAc,GAAG,sBAAsB,EACjC;IACN,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAC;IAEzB,OAAO,CACL,uBAAC,gBAAK,IACJ,IAAI,EAAE,IAAI,EACV,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,qBAChB,qBAAqB,YAErC,wBAAC,YAAG,IACF,EAAE,EAAE;gBACF,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE,CAAC;aACX,EACD,IAAI,EAAC,QAAQ,eACH,WAAW,iBACT,MAAM,eACR,MAAM,aAEhB,iCACE,EAAE,EAAC,qBAAqB,EACxB,KAAK,EAAE;wBACL,QAAQ,EAAE,UAAU;wBACpB,KAAK,EAAE,KAAK;wBACZ,MAAM,EAAE,KAAK;wBACb,OAAO,EAAE,GAAG;wBACZ,MAAM,EAAE,MAAM;wBACd,QAAQ,EAAE,QAAQ;wBAClB,IAAI,EAAE,eAAe;wBACrB,UAAU,EAAE,QAAQ;wBACpB,MAAM,EAAE,GAAG;qBACZ,YAEA,cAAc,GACV,EACP,uBAAC,0BAAS,IAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAC,gBAAgB,GAAG,IACxE,GACA,CACT,CAAC;AACJ,CAAC"}
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.84",
4
+ "version": "1.34.87",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/pagopa/selfcare-common-frontend",
7
7
  "author": "https://www.pagopa.gov.it",