From 3a97cf6896bdf3d4f04b31282bc3c232245376e7 Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 19 Dec 2023 15:08:23 +0100 Subject: [PATCH 1/2] Updated DownloadCard to allow size as string --- README.md | 1 + package.json | 2 +- src/components/card/downloadCard/DownloadCard.tsx | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76afa08..f47ff30 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ - **Version 2.2 (breaking changes from 2.1.x)** + - 2.2.43: Updated DownloadCard to allow size as string. - 2.2.42: - Updated PrimaryTopNav to have seperate dropdown tokens. - Updated Pagination to include border-bottom. diff --git a/package.json b/package.json index b917bad..77ac96b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@conduction/components", - "version": "2.2.42", + "version": "2.2.43", "description": "React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)", "main": "lib/index.js", "scripts": { diff --git a/src/components/card/downloadCard/DownloadCard.tsx b/src/components/card/downloadCard/DownloadCard.tsx index fa3efe7..0d16b00 100644 --- a/src/components/card/downloadCard/DownloadCard.tsx +++ b/src/components/card/downloadCard/DownloadCard.tsx @@ -92,7 +92,7 @@ export const DownloadCard = ({
({_.toUpper(type)} - {size && `, ${size}kB`}) + {size && `, ${size}`})
From 894bda1404409c6351660ae966366d906bcdf413 Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 19 Dec 2023 16:25:03 +0100 Subject: [PATCH 2/2] updated primary topnav --- src/components/topNav/primaryTopNav/PrimaryTopNav.module.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css index cb73b19..ce275f5 100644 --- a/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css +++ b/src/components/topNav/primaryTopNav/PrimaryTopNav.module.css @@ -121,6 +121,10 @@ box-shadow: var(--conduction-primary-top-nav-dropdown-current-box-shadow, var(--conduction-primary-top-nav-current-box-shadow)); } +.dropdownCurrent:hover { + box-shadow: var(--conduction-primary-top-nav-dropdown-current-box-shadow) !important; +} + .dropdownCurrent:hover > .dropdownCurrentLink { color: var(--conduction-primary-top-nav-dropdown-hover-color, var(--conduction-primary-top-nav-hover-color)) !important; }