@pagopa/selfcare-common-frontend 1.12.12 → 1.13.0

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,22 @@ 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.0](https://github.com/pagopa/selfcare-common-frontend/compare/v1.12.13...v1.13.0)
8
+
9
+ - SELC-1683 - updated mui-italia latest version [`#113`](https://github.com/pagopa/selfcare-common-frontend/pull/113)
10
+ - SELC-1683 - updated mui-italia latest version (#113) [`#1683`](https://pagopa.atlassian.net/browse/1683)
11
+
12
+ #### [v1.12.13](https://github.com/pagopa/selfcare-common-frontend/compare/v1.12.12...v1.12.13)
13
+
14
+ > 20 October 2022
15
+
16
+ - SELC-1006 Added more precise HTML semantic in order to make dashboard more accessible [`#112`](https://github.com/pagopa/selfcare-common-frontend/pull/112)
17
+ - SELC-1006 Added more precise HTML semantic in order to make dashboard more accessible (#112) [`#1006`](https://pagopa.atlassian.net/browse/1006)
18
+
7
19
  #### [v1.12.12](https://github.com/pagopa/selfcare-common-frontend/compare/v1.12.11...v1.12.12)
8
20
 
21
+ > 10 October 2022
22
+
9
23
  - SELC-1594 Added new optional productEnvironments prop to the SessionModal able to render as many buttons as there are product test environments [`#111`](https://github.com/pagopa/selfcare-common-frontend/pull/111)
10
24
  - SELC-1594 Added new optional productEnvironments prop to the SessionModal able to render as many buttons as there are product test environments (#111) [`#1594`](https://pagopa.atlassian.net/browse/1594)
11
25
 
package/build.info CHANGED
@@ -1,2 +1,2 @@
1
- 20221010.1 - selfcare-common-frontend.deploy(51415)
2
- remotes/origin/SELC-1407_usingEnableAssistanceProp abdc377e44af6480e0df9f96ee67f2647e9c019a
1
+ 20221107.1 - selfcare-common-frontend.deploy(55871)
2
+ remotes/origin/SELC-1407_usingEnableAssistanceProp 1b4202029c20530e51a9189195f4dd358a76ff8a
@@ -19,6 +19,6 @@ const rootLink = {
19
19
  title: 'Sito di PagoPA S.p.A.',
20
20
  };
21
21
  /** SelfCare Header component */
22
- const Header = ({ withSecondHeader, productsList = [], selectedPartyId, selectedProductId = selfcareProduct.id, partyList = [], loggedUser, assistanceEmail, enableLogin = true, userActions = [], enableDropdown = false, addSelfcareProduct = true, onExit = (exitAction) => exitAction(), onSelectedProduct, onSelectedParty, maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem, enableAssistanceButton = true, }) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(HeaderAccount_1.HeaderAccount, { rootLink: rootLink, loggedUser: loggedUser, onAssistanceClick: () => onExit(() => window.location.assign((0, assistanceService_1.buildAssistanceURI)(assistanceEmail))), onLogin: () => onExit(() => window.location.assign(env_1.CONFIG.URL_FE.LOGIN)), onLogout: () => onExit(() => window.location.assign(env_1.CONFIG.URL_FE.LOGOUT)), enableLogin: enableLogin, userActions: userActions, enableDropdown: enableDropdown, enableAssistanceButton: enableAssistanceButton }), withSecondHeader === true ? ((0, jsx_runtime_1.jsx)(HeaderProduct_1.HeaderProduct, { productId: selectedProductId, productsList: addSelfcareProduct ? [selfcareProduct].concat(productsList) : productsList, partyId: selectedPartyId, partyList: partyList, onSelectedProduct: onSelectedProduct, onSelectedParty: onSelectedParty, maxCharactersNumberMultiLineButton: maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem: maxCharactersNumberMultiLineItem })) : ('')] }));
22
+ const Header = ({ withSecondHeader, productsList = [], selectedPartyId, selectedProductId = selfcareProduct.id, partyList = [], loggedUser, assistanceEmail, enableLogin = true, userActions = [], enableDropdown = false, addSelfcareProduct = true, onExit = (exitAction) => exitAction(), onSelectedProduct, onSelectedParty, maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem, enableAssistanceButton = true, }) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("header", { children: (0, jsx_runtime_1.jsx)(HeaderAccount_1.HeaderAccount, { rootLink: rootLink, loggedUser: loggedUser, onAssistanceClick: () => onExit(() => window.location.assign((0, assistanceService_1.buildAssistanceURI)(assistanceEmail))), onLogin: () => onExit(() => window.location.assign(env_1.CONFIG.URL_FE.LOGIN)), onLogout: () => onExit(() => window.location.assign(env_1.CONFIG.URL_FE.LOGOUT)), enableLogin: enableLogin, userActions: userActions, enableDropdown: enableDropdown, enableAssistanceButton: enableAssistanceButton }) }), withSecondHeader === true ? ((0, jsx_runtime_1.jsx)("nav", { children: (0, jsx_runtime_1.jsx)(HeaderProduct_1.HeaderProduct, { productId: selectedProductId, productsList: addSelfcareProduct ? [selfcareProduct].concat(productsList) : productsList, partyId: selectedPartyId, partyList: partyList, onSelectedProduct: onSelectedProduct, onSelectedParty: onSelectedParty, maxCharactersNumberMultiLineButton: maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem: maxCharactersNumberMultiLineItem }) })) : ('')] }));
23
23
  exports.default = Header;
24
24
  //# sourceMappingURL=Header.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/lib/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,kGAA+F;AAC/F,kGAA+F;AAS/F,0CAA0C;AAC1C,wEAAsE;AAwCtE,MAAM,eAAe,GAAkB;IACrC,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,gBAAgB;IACvB,UAAU,EAAE,YAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;IACzC,QAAQ,EAAE,UAAU;CACrB,CAAC;AACF,MAAM,QAAQ,GAAiB;IAC7B,KAAK,EAAE,eAAe;IACtB,IAAI,EAAE,YAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;IACjC,SAAS,EAAE,oCAAoC;IAC/C,KAAK,EAAE,uBAAuB;CAC/B,CAAC;AAEF,gCAAgC;AAChC,MAAM,MAAM,GAAG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,CAAC,CAAC,CAAC,YAAY,EACxF,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,EAChC,kCAAkC,EAAE,kCAAkC,EACtE,gCAAgC,EAAE,gCAAgC,GAClE,CACH,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACQ,CACZ,CAAC;AAEF,kBAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/lib/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,kGAA+F;AAC/F,kGAA+F;AAS/F,0CAA0C;AAC1C,wEAAsE;AAwCtE,MAAM,eAAe,GAAkB;IACrC,EAAE,EAAE,eAAe;IACnB,KAAK,EAAE,gBAAgB;IACvB,UAAU,EAAE,YAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU;IACzC,QAAQ,EAAE,UAAU;CACrB,CAAC;AACF,MAAM,QAAQ,GAAiB;IAC7B,KAAK,EAAE,eAAe;IACtB,IAAI,EAAE,YAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ;IACjC,SAAS,EAAE,oCAAoC;IAC/C,KAAK,EAAE,uBAAuB;CAC/B,CAAC;AAEF,gCAAgC;AAChC,MAAM,MAAM,GAAG,CAAC,EACd,gBAAgB,EAChB,YAAY,GAAG,EAAE,EACjB,eAAe,EACf,iBAAiB,GAAG,eAAe,CAAC,EAAE,EACtC,SAAS,GAAG,EAAE,EACd,UAAU,EACV,eAAe,EACf,WAAW,GAAG,IAAI,EAClB,WAAW,GAAG,EAAE,EAChB,cAAc,GAAG,KAAK,EACtB,kBAAkB,GAAG,IAAI,EACzB,MAAM,GAAG,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,EAAE,EACrC,iBAAiB,EACjB,eAAe,EACf,kCAAkC,EAClC,gCAAgC,EAChC,sBAAsB,GAAG,IAAI,GACjB,EAAE,EAAE,CAAC,CACjB,wBAAC,gBAAQ,eACP,6CACE,uBAAC,6BAAa,IACZ,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,iBAAiB,EAAE,GAAG,EAAE,CACtB,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAA,sCAAkB,EAAC,eAAe,CAAC,CAAC,CAAC,EAE3E,OAAO,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EACxE,QAAQ,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAC1E,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,sBAAsB,EAAE,sBAAsB,GAC9C,GACK,EACR,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,CAC3B,0CACE,uBAAC,6BAAa,IACZ,SAAS,EAAE,iBAAiB,EAC5B,YAAY,EAAE,kBAAkB,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,YAAY,EACxF,OAAO,EAAE,eAAe,EACxB,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,EACpC,eAAe,EAAE,eAAe,EAChC,kCAAkC,EAAE,kCAAkC,EACtE,gCAAgC,EAAE,gCAAgC,GAClE,GACE,CACP,CAAC,CAAC,CAAC,CACF,EAAE,CACH,IACQ,CACZ,CAAC;AAEF,kBAAe,MAAM,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.12.12",
4
+ "version": "1.13.0",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/pagopa/selfcare-common-frontend",
7
7
  "author": "https://www.pagopa.gov.it",
@@ -15,7 +15,7 @@
15
15
  "@mui/lab": "^5.0.0-alpha.80",
16
16
  "@mui/material": "^5.8.2",
17
17
  "@mui/system": "^5.8.1",
18
- "@pagopa/mui-italia": "^0.7.0",
18
+ "@pagopa/mui-italia": "^0.8.2",
19
19
  "@pagopa/ts-commons": "^10.2.1",
20
20
  "@reduxjs/toolkit": "^1.6.2",
21
21
  "@types/lodash": "^4.14.172",