@pagopa/selfcare-common-frontend 1.11.7 → 1.11.8

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,15 @@ 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.11.8](https://github.com/pagopa/selfcare-common-frontend/compare/v1.11.7...v1.11.8)
8
+
9
+ - Update qa [`#90`](https://github.com/pagopa/selfcare-common-frontend/pull/90)
10
+ - Update qa (#90) [`#1122`](https://pagopa.atlassian.net/browse/1122) [`#1122`](https://pagopa.atlassian.net/browse/1122) [`#1122`](https://pagopa.atlassian.net/browse/1122) [`#1122`](https://pagopa.atlassian.net/browse/1122)
11
+
7
12
  #### [v1.11.7](https://github.com/pagopa/selfcare-common-frontend/compare/v1.11.6...v1.11.7)
8
13
 
14
+ > 27 June 2022
15
+
9
16
  - Update common [`#89`](https://github.com/pagopa/selfcare-common-frontend/pull/89)
10
17
  - Update common (#89) [`#1122`](https://pagopa.atlassian.net/browse/1122) [`#1122`](https://pagopa.atlassian.net/browse/1122) [`#1122`](https://pagopa.atlassian.net/browse/1122)
11
18
 
package/build.info CHANGED
@@ -1,2 +1,2 @@
1
- 20220627.1 - selfcare-common-frontend.deploy(36812)
2
- tags/v1.11.7^0 83717b3ca5849cd0eca63bbc7be485466140af16
1
+ 20220627.2 - selfcare-common-frontend.deploy(36867)
2
+ tags/v1.11.8^0 4093aebdcd823fb75e5a0d545a0ab54f9e8158c2
@@ -3,17 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const material_1 = require("@mui/material");
6
+ const mui_italia_1 = require("@pagopa/mui-italia");
6
7
  const useUnloadEventInterceptor_1 = require("../hooks/useUnloadEventInterceptor");
7
8
  const BackComponent_1 = tslib_1.__importDefault(require("./BackComponent"));
8
9
  function NavigationBar({ paths, goBack, showBackComponent }) {
9
10
  const onExit = (0, useUnloadEventInterceptor_1.useUnloadEventOnExit)();
10
- return ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(BackComponent_1.default, { goBack: goBack }) })), (0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(material_1.Breadcrumbs, { "aria-label": "breadcrumb", children: paths.map((p) => p.onClick ? ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { ml: 3, mr: 1, display: "flex", alignItems: "center", children: p.icon && (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }) }), (0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(material_1.Link, { variant: "body2", onClick: () => onExit(p.onClick), sx: {
11
- fontWeight: 'fontWeightRegular',
12
- fontSize: 'fontSize',
13
- color: '#17324D !important',
14
- textDecoration: 'none !important',
15
- cursor: 'pointer',
16
- }, children: p.description }) })] }, p.description)) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { mr: 1, display: "flex", alignItems: "center", children: p.icon && (0, jsx_runtime_1.jsx)(material_1.Icon, { component: p.icon }) }), (0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { color: 'text.secondary' }, children: p.description }, p.description) })] }, p.description))) }) })] }));
11
+ return ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", children: [showBackComponent && ((0, jsx_runtime_1.jsx)(material_1.Box, { children: (0, jsx_runtime_1.jsx)(BackComponent_1.default, { goBack: goBack }) })), (0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: 'center', children: (0, jsx_runtime_1.jsx)(material_1.Breadcrumbs, { "aria-label": "breadcrumb", children: paths.map((p) => p.onClick ? ((0, jsx_runtime_1.jsx)(material_1.Box, { display: "flex", alignItems: "center", justifyContent: "center", ml: 2, 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' }, weight: "default", children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", children: p.description }) }) }, p.description)) : ((0, jsx_runtime_1.jsxs)(material_1.Box, { display: "flex", alignItems: "center", 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, { children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: "body2", sx: { color: 'text.secondary', fontSize: 'fontSize' }, children: p.description }, p.description) })] }, p.description))) }) })] }));
17
12
  }
18
13
  exports.default = NavigationBar;
19
14
  //# sourceMappingURL=NavigationBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationBar.js","sourceRoot":"","sources":["../../src/lib/components/NavigationBar.tsx"],"names":[],"mappings":";;;;AACA,4CAAyE;AACzE,kFAA0E;AAC1E,4EAA4C;AAiB5C,SAAwB,aAAa,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAS;IAC/E,MAAM,MAAM,GAAG,IAAA,gDAAoB,GAAE,CAAC;IAEtC,OAAO,CACL,wBAAC,cAAG,IAAC,OAAO,EAAC,MAAM,aAChB,iBAAiB,IAAI,CACpB,uBAAC,cAAG,cACF,uBAAC,uBAAa,IAAC,MAAM,EAAE,MAAM,GAAI,GAC7B,CACP,EACD,uBAAC,cAAG,IAAC,OAAO,EAAC,MAAM,E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AC5C,IAdT,CAAC,CAAC,WAAW,CAed,CACP,CAAC,CAAC,CAAC,CACF,wBAAC,cAAG,IAAC,OAAO,EAAC,MAAM,EAAqB,UAAU,EAAC,QAAQ,aACxD,CAAC,CAAC,IAAI,IAAI,CACT,uBAAC,cAAG,IAAC,EAAE,EAAE,CAAC,EAAE,OAAO,EAAC,MAAM,EAAC,UAAU,EAAC,QAAQ,YAC5C,uBAAC,eAAI,IAAC,SAAS,EAAE,CAAC,CAAC,IAAI,GAAI,GACvB,CACP,EACD,uBAAC,cAAG,cACF,uBAAC,qBAAU,IAET,OAAO,EAAC,OAAO,EACf,EAAE,EAAE,EAAE,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,UAAU,EAAE,YAEpD,CAAC,CAAC,WAAW,IAJT,CAAC,CAAC,WAAW,CAKP,GACT,KAdiB,CAAC,CAAC,WAAW,CAehC,CACP,CACF,GACW,GACV,IACF,CACP,CAAC;AACJ,CAAC;AAtDD,gCAsDC"}
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.11.7",
4
+ "version": "1.11.8",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/pagopa/selfcare-common-frontend",
7
7
  "author": "https://www.pagopa.gov.it",