From cf06dac0b1bb668692940561a7ca3787151863d1 Mon Sep 17 00:00:00 2001 From: adarleyjrr <50996706+adarleyjrr@users.noreply.github.com> Date: Thu, 15 Dec 2022 14:58:46 -0500 Subject: [PATCH 1/2] fix: for base card hover styling, for rich text parser content prop type --- CHANGELOG.md | 3 +++ src/components/BaseCard/index.tsx | 2 +- src/components/HTMLParsedContent/index.tsx | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75717b0..b5cfc9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fixes type of `HTMLParsedContent` component `content` prop to accept `null` values as they can be treated the same as `undefined` +- Removes pointer cursor css rule from `BaseCard` component in hover state, as the cursor is automatically changed when the component is wrapped by a link + ## [9.2.2] 2022-12-13 ### Fixed diff --git a/src/components/BaseCard/index.tsx b/src/components/BaseCard/index.tsx index 0f5bb2a..d3d29ba 100644 --- a/src/components/BaseCard/index.tsx +++ b/src/components/BaseCard/index.tsx @@ -81,7 +81,7 @@ export const BaseCard: React.FC> = ({
diff --git a/src/components/HTMLParsedContent/index.tsx b/src/components/HTMLParsedContent/index.tsx index 7b0682f..a3b2fd9 100644 --- a/src/components/HTMLParsedContent/index.tsx +++ b/src/components/HTMLParsedContent/index.tsx @@ -7,7 +7,7 @@ export type HTMLParsedContentProps = React.DetailedHTMLProps Date: Thu, 15 Dec 2022 15:05:32 -0500 Subject: [PATCH 2/2] build: bumping version: 9.2.3 --- CHANGELOG.md | 4 ++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5cfc9f..431a4c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +## [9.2.3] 2022-12-15 + +### Fixed + - Fixes type of `HTMLParsedContent` component `content` prop to accept `null` values as they can be treated the same as `undefined` - Removes pointer cursor css rule from `BaseCard` component in hover state, as the cursor is automatically changed when the component is wrapped by a link diff --git a/package-lock.json b/package-lock.json index 81ff8d7..a317f30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@perimetre/ui", - "version": "9.2.0", + "version": "9.2.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@perimetre/ui", - "version": "9.2.0", + "version": "9.2.3", "license": "MIT", "dependencies": { "@babel/core": "^7.12.13", diff --git a/package.json b/package.json index 0b338c4..60dc89a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@perimetre/ui", "description": "A component library made by @perimetre", - "version": "9.2.2", + "version": "9.2.3", "repository": { "type": "git", "url": "git+https://github.com/perimetre/ui.git"