Skip to content

Commit

Permalink
Merge pull request #95 from perimetre/9.2.3
Browse files Browse the repository at this point in the history
9.2.3
  • Loading branch information
adarleyjrr authored Dec 15, 2022
2 parents 8d7a315 + b174011 commit 1cdfcc2
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ 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

## [9.2.2] 2022-12-13

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/components/BaseCard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export const BaseCard: React.FC<PropsWithChildren<BaseCardProps>> = ({
<div
className={classnames(
'pui-baseCard transition-all',
{ 'hover:border-pui-primary hover:shadow-lg hover:cursor-pointer': hoverState },
{ 'hover:border-pui-primary hover:shadow-lg': hoverState },
className
)}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/HTMLParsedContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type HTMLParsedContentProps = React.DetailedHTMLProps<React.HTMLAttribute
/**
* The content that should be parsed
*/
content?: string;
content?: string | null;
/**
* The options that are passed down to the parser
*/
Expand Down

0 comments on commit 1cdfcc2

Please sign in to comment.