@pagopa/selfcare-common-frontend 1.12.12 → 1.12.13
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 +7 -0
- package/build.info +2 -2
- package/components/Header/Header.js +1 -1
- package/components/Header/Header.js.map +1 -1
- package/package.json +1 -1
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.12.13](https://github.com/pagopa/selfcare-common-frontend/compare/v1.12.12...v1.12.13)
|
|
8
|
+
|
|
9
|
+
- SELC-1006 Added more precise HTML semantic in order to make dashboard more accessible [`#112`](https://github.com/pagopa/selfcare-common-frontend/pull/112)
|
|
10
|
+
- SELC-1006 Added more precise HTML semantic in order to make dashboard more accessible (#112) [`#1006`](https://pagopa.atlassian.net/browse/1006)
|
|
11
|
+
|
|
7
12
|
#### [v1.12.12](https://github.com/pagopa/selfcare-common-frontend/compare/v1.12.11...v1.12.12)
|
|
8
13
|
|
|
14
|
+
> 10 October 2022
|
|
15
|
+
|
|
9
16
|
- 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
17
|
- 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
18
|
|
package/build.info
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
remotes/origin/SELC-1407_usingEnableAssistanceProp
|
|
1
|
+
20221020.1 - selfcare-common-frontend.deploy(53136)
|
|
2
|
+
remotes/origin/SELC-1407_usingEnableAssistanceProp 3c4f50ec4522724b92d83872642ed6f31af50aab
|
|
@@ -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,M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,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.
|
|
4
|
+
"version": "1.12.13",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "https://github.com/pagopa/selfcare-common-frontend",
|
|
7
7
|
"author": "https://www.pagopa.gov.it",
|