@pagopa/selfcare-common-frontend 1.11.11 → 1.11.12

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.11.12](https://github.com/pagopa/selfcare-common-frontend/compare/v1.11.11...v1.11.12)
8
+
9
+ - Added the two new props after release in mui [`#94`](https://github.com/pagopa/selfcare-common-frontend/pull/94)
10
+
7
11
  #### [v1.11.11](https://github.com/pagopa/selfcare-common-frontend/compare/v1.11.10...v1.11.11)
8
12
 
13
+ > 4 July 2022
14
+
9
15
  - SELC-1206-modified Width with maxWidth in order to remove the fixed width in breadcrumb first child [`#93`](https://github.com/pagopa/selfcare-common-frontend/pull/93)
10
16
  - SELC-1206-modified Width with maxWidth in order to remove the fixed width in breadcrumb first child (#93) [`#1206`](https://pagopa.atlassian.net/browse/1206)
11
17
 
package/build.info CHANGED
@@ -1,2 +1,2 @@
1
- 20220704.1 - selfcare-common-frontend.deploy(37643)
2
- tags/v1.11.11^0 4dd6889d1a58a5bf65a12cba5696ab7205f7b39d
1
+ 20220704.2 - selfcare-common-frontend.deploy(37661)
2
+ tags/v1.11.12^0 3b0fcd77cf96b9efa2b6a84ada7d571f56058a25
@@ -31,7 +31,9 @@ declare type HeaderProps = {
31
31
  enableDropdown?: boolean;
32
32
  /** If true it concatenates selfcareProduct with productsList */
33
33
  addSelfcareProduct?: boolean;
34
+ maxCharactersNumberMultiLineButton?: number;
35
+ maxCharactersNumberMultiLineItem?: number;
34
36
  };
35
37
  /** SelfCare Header component */
36
- declare const Header: ({ withSecondHeader, productsList, selectedPartyId, selectedProductId, partyList, loggedUser, assistanceEmail, enableLogin, userActions, enableDropdown, addSelfcareProduct, onExit, onSelectedProduct, onSelectedParty, }: HeaderProps) => JSX.Element;
38
+ declare const Header: ({ withSecondHeader, productsList, selectedPartyId, selectedProductId, partyList, loggedUser, assistanceEmail, enableLogin, userActions, enableDropdown, addSelfcareProduct, onExit, onSelectedProduct, onSelectedParty, maxCharactersNumberMultiLineButton, maxCharactersNumberMultiLineItem, }: HeaderProps) => JSX.Element;
37
39
  export default Header;
@@ -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, }) => ((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 }), 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 })) : ('')] }));
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, }) => ((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 }), 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 })) : ('')] }));
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;AAkCtE,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,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,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,GAC9B,EACD,gBAAgB,KAAK,IAAI,CAAC,CAAC,CAAC,CAC3B,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,CACH,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.11.11",
4
+ "version": "1.11.12",
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.6.28",
18
+ "@pagopa/mui-italia": "^0.6.31",
19
19
  "@pagopa/ts-commons": "^10.2.1",
20
20
  "@reduxjs/toolkit": "^1.6.2",
21
21
  "@types/lodash": "^4.14.172",