@pagopa/selfcare-common-frontend 1.13.4 → 1.13.5

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,14 @@ 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.13.5](https://github.com/pagopa/selfcare-common-frontend/compare/v1.13.4...v1.13.5)
8
+
9
+ - add another type to icon prop in order to support svg's [`369c852`](https://github.com/pagopa/selfcare-common-frontend/commit/369c852858cc51f1585403e82532f4d64071ce55)
10
+
7
11
  #### [v1.13.4](https://github.com/pagopa/selfcare-common-frontend/compare/v1.13.3...v1.13.4)
8
12
 
13
+ > 2 December 2022
14
+
9
15
  - Improvements for ending page&add google login path [`4206101`](https://github.com/pagopa/selfcare-common-frontend/commit/4206101362c5e507398505de29c65a79874b49ce)
10
16
 
11
17
  #### [v1.13.3](https://github.com/pagopa/selfcare-common-frontend/compare/v1.13.2...v1.13.3)
package/build.info CHANGED
@@ -1,2 +1,2 @@
1
- 20221202.1 - selfcare-common-frontend.deploy(60759)
2
- remotes/origin/SELC-1407_usingEnableAssistanceProp 3c22bc8064af9e14ed32afc21ec78fba4600f415
1
+ 20221205.1 - selfcare-common-frontend.deploy(61142)
2
+ remotes/origin/SELC-1407_usingEnableAssistanceProp acd1aa3d72b5707b3d1ff41a1b92459efac2271a
@@ -2,7 +2,7 @@ import { SvgIconProps } from '@mui/material';
2
2
  import { FunctionComponent, SVGProps } from 'react';
3
3
  declare type Props = {
4
4
  /** The ending page icon */
5
- icon?: React.ReactElement<SvgIconProps> | FunctionComponent<SVGProps<SVGSVGElement>>;
5
+ icon?: React.ReactElement<SvgIconProps> | FunctionComponent<SVGProps<SVGSVGElement>> | string;
6
6
  /** The ending page title */
7
7
  title: React.ReactNode;
8
8
  /** The ending page description */
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const jsx_runtime_1 = require("react/jsx-runtime");
4
4
  const material_1 = require("@mui/material");
5
5
  /** Selfcare's Ending Page */
6
- exports.default = ({ description, onButtonClick, icon, title, buttonLabel, variantTitle, variantDescription, }) => ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: { minHeight: '50vh', position: 'relative' }, display: "flex", flexGrow: 1, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, direction: "column", style: { textAlign: 'center', position: 'absolute', top: '50%' }, margin: 'auto', children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", mb: 3, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: icon }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: variantTitle, children: title }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", mb: 4, mt: 1, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: variantDescription, children: description }) }) }), onButtonClick && ((0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, children: (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", sx: { alignSelf: 'center' }, onClick: onButtonClick, children: buttonLabel }) }) }))] }, "0") }));
6
+ exports.default = ({ description, onButtonClick, icon, title, buttonLabel, variantTitle, variantDescription, }) => ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: { minHeight: '100vh', position: 'static' }, display: "flex", flexGrow: 1, children: (0, jsx_runtime_1.jsxs)(material_1.Grid, { container: true, direction: "column", style: { textAlign: 'center' }, margin: 'auto', children: [(0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", mb: 3, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: icon }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: variantTitle, children: title }) }) }), (0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", mb: 4, mt: 1, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 6, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { variant: variantDescription, children: description }) }) }), onButtonClick && ((0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, item: true, justifyContent: "center", children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 4, children: (0, jsx_runtime_1.jsx)(material_1.Button, { variant: "contained", sx: { alignSelf: 'center' }, onClick: onButtonClick, children: buttonLabel }) }) }))] }, "0") }));
7
7
  //# sourceMappingURL=EndingPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EndingPage.js","sourceRoot":"","sources":["../../src/lib/components/EndingPage.tsx"],"names":[],"mappings":";;;AAAA,4CAA4E;AAkD5E,6BAA6B;AAC7B,kBAAe,CAAC,EACd,WAAW,EACX,aAAa,EACb,IAAI,EACJ,KAAK,EACL,WAAW,EACX,YAAY,EACZ,kBAAkB,GACZ,EAAE,EAAE,CAAC,CACX,uBAAC,cAAG,IAAC,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,OAAO,EAAC,MAAM,EAAC,QAAQ,EAAE,CAAC,YAC9E,wBAAC,eAAI,IACH,SAAS,QACT,SAAS,EAAC,QAAQ,EAElB,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,EAChE,MAAM,EAAE,MAAM,aAEd,uB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
3
  "description": "Shared React components for the pagopa selfcare project",
4
- "version": "1.13.4",
4
+ "version": "1.13.5",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/pagopa/selfcare-common-frontend",
7
7
  "author": "https://www.pagopa.gov.it",