From 70faafc4bcac71060fa39e2759b39af2ae789c11 Mon Sep 17 00:00:00 2001 From: Remko Date: Mon, 18 Dec 2023 12:01:13 +0100 Subject: [PATCH] updated conduction/component package --- pwa/package-lock.json | 10 +++++----- pwa/package.json | 2 +- pwa/src/hooks/useEnvironment.ts | 2 +- .../templateParts/footer/FooterTemplate.module.css | 11 +++++++++++ .../TableResultsTemplate.module.css | 2 ++ 5 files changed, 20 insertions(+), 7 deletions(-) diff --git a/pwa/package-lock.json b/pwa/package-lock.json index 76f8a2ce..e42355b6 100644 --- a/pwa/package-lock.json +++ b/pwa/package-lock.json @@ -8,7 +8,7 @@ "name": "product-website-template", "version": "1.0.0", "dependencies": { - "@conduction/components": "2.2.36", + "@conduction/components": "2.2.41", "@conduction/theme": "1.1.1", "@fortawesome/fontawesome-svg-core": "^6.5.0", "@fortawesome/free-brands-svg-icons": "6.5.0", @@ -2136,9 +2136,9 @@ } }, "node_modules/@conduction/components": { - "version": "2.2.36", - "resolved": "https://registry.npmjs.org/@conduction/components/-/components-2.2.36.tgz", - "integrity": "sha512-9HBZYUbwW8gdZv0ufBS6ZDmjqA/Kk5XrpyoyhizAAmXmZFFHtFrUc8EliV4+OcrOZlJ9pEvVTKXqg3JT/6MBuQ==", + "version": "2.2.41", + "resolved": "https://registry.npmjs.org/@conduction/components/-/components-2.2.41.tgz", + "integrity": "sha512-S6jfnwvgmBfljYezEJ97xZgeDALzSPY95PY25wg0tv3xt1ikVxNqWqQTijAGZitxyycTqd/500HvBOJlPkFosA==", "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.4.2", "@fortawesome/free-solid-svg-icons": "^6.4.2", @@ -2152,7 +2152,7 @@ "react-paginate": "^8.2.0", "react-select": "5.8.0", "react-tabs": "^6.0.2", - "react-tooltip": "^5.23.0" + "react-tooltip": "^5.24.0" } }, "node_modules/@conduction/theme": { diff --git a/pwa/package.json b/pwa/package.json index c61c15f6..23a2ce90 100644 --- a/pwa/package.json +++ b/pwa/package.json @@ -22,7 +22,7 @@ "prepare": "cd .. && husky install" }, "dependencies": { - "@conduction/components": "2.2.36", + "@conduction/components": "2.2.41", "@conduction/theme": "1.1.1", "@fortawesome/fontawesome-svg-core": "^6.5.0", "@fortawesome/free-brands-svg-icons": "6.5.0", diff --git a/pwa/src/hooks/useEnvironment.ts b/pwa/src/hooks/useEnvironment.ts index c83a981a..753445d3 100644 --- a/pwa/src/hooks/useEnvironment.ts +++ b/pwa/src/hooks/useEnvironment.ts @@ -73,7 +73,7 @@ export const useEnvironment = () => { const themeSwitcherMiddleware = () => { switch (window.location.hostname) { case "koophulpje.nl": - // case "localhost": // development purposes + case "localhost": // development purposes window.sessionStorage.setItem("SHOW_THEME_SWITCHER", "true"); break; } diff --git a/pwa/src/templates/templateParts/footer/FooterTemplate.module.css b/pwa/src/templates/templateParts/footer/FooterTemplate.module.css index de6400f1..c99477d2 100644 --- a/pwa/src/templates/templateParts/footer/FooterTemplate.module.css +++ b/pwa/src/templates/templateParts/footer/FooterTemplate.module.css @@ -7,6 +7,17 @@ padding-inline-end: var(--utrecht-page-margin-inline-end); } +.container > * { + font-size: var( + --utrecht-page-footer-font-size, + var(--utrecht-document-font-size) + ); + font-family: var( + --utrecht-page-footer-font-family, + var(--utrecht-document-font-family) + ); +} + .footer { display: flex; align-items: center; diff --git a/pwa/src/templates/templateParts/tableResultsTemplate/TableResultsTemplate.module.css b/pwa/src/templates/templateParts/tableResultsTemplate/TableResultsTemplate.module.css index 3f6ae2b3..a92e9c28 100644 --- a/pwa/src/templates/templateParts/tableResultsTemplate/TableResultsTemplate.module.css +++ b/pwa/src/templates/templateParts/tableResultsTemplate/TableResultsTemplate.module.css @@ -23,6 +23,8 @@ .tableBody { border: var(--utrecht-table-body-border); + border-block-end: var(--utrecht-table-body-border-block-end-width) solid + var(--utrecht-table-body-border-block-end-color); } .tableBody .tableRow:nth-child(odd) {