@pagopa/selfcare-common-frontend 1.34.75 → 1.34.76
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,10 @@ 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.76](https://github.com/pagopa/selfcare-common-frontend/compare/v1.35.0...v1.34.76)
|
|
8
8
|
|
|
9
|
+
- Bump validator from 13.15.15 to 13.15.20 [`#311`](https://github.com/pagopa/selfcare-common-frontend/pull/311)
|
|
10
|
+
- [SELC-7253] update contrast for breadcrumb [`#312`](https://github.com/pagopa/selfcare-common-frontend/pull/312)
|
|
9
11
|
- feat: add AccessProductBackofficeAdmin action to Actions enum [`#310`](https://github.com/pagopa/selfcare-common-frontend/pull/310)
|
|
10
12
|
- refactor: make User and JwtUser fields optional and update mockedUser [`#309`](https://github.com/pagopa/selfcare-common-frontend/pull/309)
|
|
11
13
|
- [SELC-7707] chore: update accessibility link in environment configuration [`#305`](https://github.com/pagopa/selfcare-common-frontend/pull/305)
|
|
@@ -59,6 +61,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
59
61
|
- SELC-2590 [`#186`](https://github.com/pagopa/selfcare-common-frontend/pull/186)
|
|
60
62
|
- SELC-2590 - update common [`#185`](https://github.com/pagopa/selfcare-common-frontend/pull/185)
|
|
61
63
|
- 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)
|
|
64
|
+
- [SELC-7253] update contrast for breadcrumb (#312) [`#7253`](https://pagopa.atlassian.net/browse/7253)
|
|
62
65
|
- [SELC-7707] chore: update accessibility link in environment configuration (#305) [`#7707`](https://pagopa.atlassian.net/browse/7707)
|
|
63
66
|
- [SELC-7641] feat: Add new actions and fix vulnerability issues (#303) [`#7641`](https://pagopa.atlassian.net/browse/7641)
|
|
64
67
|
- [SELC-7518] feat: add useLiveAnnouncerWithRegion hook for live announcements (#291) [`#7518`](https://pagopa.atlassian.net/browse/7518)
|
|
@@ -128,10 +131,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
128
131
|
- Bump rimraf from 3.0.2 to 6.0.1 [`e6941b9`](https://github.com/pagopa/selfcare-common-frontend/commit/e6941b9e6b05c973d991e2470a851b5ca03926ce)
|
|
129
132
|
- 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)
|
|
130
133
|
|
|
131
|
-
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.
|
|
134
|
+
#### [v1.35.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.75...v1.35.0)
|
|
132
135
|
|
|
133
136
|
> 20 July 2023
|
|
134
137
|
|
|
138
|
+
#### [v1.34.75](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.74...v1.34.75)
|
|
139
|
+
|
|
140
|
+
> 15 October 2025
|
|
141
|
+
|
|
142
|
+
- feat: add AccessProductBackofficeAdmin action to Actions enum [`#310`](https://github.com/pagopa/selfcare-common-frontend/pull/310)
|
|
143
|
+
|
|
135
144
|
#### [v1.34.74](https://github.com/pagopa/selfcare-common-frontend/compare/v1.34.73...v1.34.74)
|
|
136
145
|
|
|
137
146
|
> 7 October 2025
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
tags/v1.29.0~1^2
|
|
1
|
+
20251104.1 - selfcare-common-frontend.deploy(242097)
|
|
2
|
+
tags/v1.29.0~1^2 98539a2202ba11bea648e1156eae75ac3766c1ca
|
|
@@ -14,5 +14,5 @@ export type NavigationPath = {
|
|
|
14
14
|
onClick?: () => void;
|
|
15
15
|
icon?: SvgIconComponent;
|
|
16
16
|
};
|
|
17
|
-
export default function NavigationBar({ paths, goBack, showBackComponent, backLabel, color }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export default function NavigationBar({ paths, goBack, showBackComponent, backLabel, color, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
18
|
export {};
|
|
@@ -8,7 +8,7 @@ const material_1 = require("@mui/material");
|
|
|
8
8
|
const mui_italia_1 = require("@pagopa/mui-italia");
|
|
9
9
|
const useUnloadEventInterceptor_1 = require("../hooks/useUnloadEventInterceptor");
|
|
10
10
|
const BackComponent_1 = tslib_1.__importDefault(require("./BackComponent"));
|
|
11
|
-
function NavigationBar({ paths, goBack, showBackComponent, backLabel, color }) {
|
|
11
|
+
function NavigationBar({ paths, goBack, showBackComponent, backLabel, color, }) {
|
|
12
12
|
const onExit = (0, useUnloadEventInterceptor_1.useUnloadEventOnExit)();
|
|
13
13
|
const truncatedText = {
|
|
14
14
|
display: 'inline-block',
|
|
@@ -17,6 +17,6 @@ function NavigationBar({ paths, goBack, showBackComponent, backLabel, color }) {
|
|
|
17
17
|
overflow: 'hidden',
|
|
18
18
|
textOverflow: 'ellipsis',
|
|
19
19
|
};
|
|
20
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { mr: 2, display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(BackComponent_1.default, { goBack: goBack, backLabel: backLabel, color: color }) })), !showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(material_1.Breadcrumbs, { "aria-label": "breadcrumb", separator: (0, jsx_runtime_1.jsx)(ArrowForwardIos_1.default, { style: { height: '8px', width: '8px' } }), children: paths.map((p) => p.onClick ? ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "center", children: (0, jsx_runtime_1.jsx)(mui_italia_1.ButtonNaked, { component: "button", onClick: () => onExit(p.onClick), startIcon: p.icon && (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }), sx: { color: 'colorTextPrimary' }, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { ...truncatedText, fontWeight: 'fontWeightMedium' }, children: p.description }) }) }, p.description)) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [p.icon && ((0, jsx_runtime_1.jsx)(material_1.Box, { mr: 1, display: "flex", alignItems: "center", children: (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }) })), (0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { ...truncatedText,
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { mr: 2, display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(BackComponent_1.default, { goBack: goBack, backLabel: backLabel, color: color }) })), !showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(material_1.Breadcrumbs, { "aria-label": "breadcrumb", separator: (0, jsx_runtime_1.jsx)(ArrowForwardIos_1.default, { style: { height: '8px', width: '8px' } }), children: paths.map((p) => p.onClick ? ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "center", children: (0, jsx_runtime_1.jsx)(mui_italia_1.ButtonNaked, { component: "button", onClick: () => onExit(p.onClick), startIcon: p.icon && (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }), sx: { color: 'colorTextPrimary' }, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { ...truncatedText, fontWeight: 'fontWeightMedium' }, children: p.description }) }) }, p.description)) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [p.icon && ((0, jsx_runtime_1.jsx)(material_1.Box, { mr: 1, display: "flex", alignItems: "center", children: (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }) })), (0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { ...truncatedText, fontSize: 'fontSize' }, children: p.description }, p.description) })] }, p.description))) }) }))] }));
|
|
21
21
|
}
|
|
22
22
|
//# sourceMappingURL=NavigationBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationBar.js","sourceRoot":"","sources":["../../../src/lib/components/NavigationBar.tsx"],"names":[],"mappings":";;AAwBA,
|
|
1
|
+
{"version":3,"file":"NavigationBar.js","sourceRoot":"","sources":["../../../src/lib/components/NavigationBar.tsx"],"names":[],"mappings":";;AAwBA,gCAuEC;;;AA9FD,kGAAsE;AACtE,4CAAmE;AACnE,mDAAiD;AACjD,kFAA0E;AAC1E,4EAA4C;AAmB5C,SAAwB,aAAa,CAAC,EACpC,KAAK,EACL,MAAM,EACN,iBAAiB,EACjB,SAAS,EACT,KAAK,GACC;IACN,MAAM,MAAM,GAAG,IAAA,gDAAoB,GAAE,CAAC;IAEtC,MAAM,aAAa,GAAG;QACpB,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,MAAM;QAChB,UAAU,EAAE,QAAQ;QACpB,QAAQ,EAAE,QAAQ;QAClB,YAAY,EAAE,UAAU;KACzB,CAAC;IAEF,OAAO,CACL,wBAAC,cAAG,IAAC,OAAO,EAAC,MAAM,aAChB,iBAAiB,IAAI,CACpB,uBAAC,cAAG,IAAC,EAAE,EAAE,CAAC,EAAE,OAAO,EAAC,MAAM,EAAC,UAAU,EAAE,QAAQ,YAC7C,uBAAC,uBAAa,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,GAAI,GACjE,CACP,EACA,CAAC,iBAAiB,IAAI,CAC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,EAAE,GAAG,aAAa,EAAE,QAAQ,EAAE,UAAU,EAAE,YAE7C,CAAC,CAAC,WAAW,IAJT,CAAC,CAAC,WAAW,CAKP,GACT,KAdiB,CAAC,CAAC,WAAW,CAehC,CACP,CACF,GACW,GACV,CACP,IACG,CACP,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.
|
|
4
|
+
"version": "1.34.76",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react-scripts": "^5.0.1",
|
|
39
39
|
"redux-logger": "^3.0.6",
|
|
40
40
|
"typescript": "^5.9.2",
|
|
41
|
-
"validator": "13.
|
|
41
|
+
"validator": "13.15.20",
|
|
42
42
|
"web-vitals": "^1.1.2"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"body-parser": "^1.20.3",
|
|
116
116
|
"nth-check": "^2.0.1",
|
|
117
117
|
"node-fetch": "^2.7.0",
|
|
118
|
-
"validator": "
|
|
118
|
+
"validator": "13.15.20",
|
|
119
119
|
"jsonpath-plus": "^10.0.0",
|
|
120
120
|
"cross-spawn": "^6.0.6",
|
|
121
121
|
"tough-cookie": "^4.1.3",
|