Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2813 from teamleadercrm/FRAF-2835-support-jsx-in-…
Browse files Browse the repository at this point in the history
…alert-body
  • Loading branch information
eniskraasniqi1 authored Nov 29, 2023
2 parents 572ceb0 + 12294c0 commit 7c1645c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,19 @@

### Changed

- [BREAKING] The ES Modules build has been moved to the dist folder, so you now need update the css import to `@teamleader/ui/dist/index.css` ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)

### Deprecated

### Removed

## [24.0.0]

### Changed

- [BREAKING] The ES Modules build has been moved to the dist folder, so you now need update the css import to `@teamleader/ui/dist/index.css` ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)
- `Alert`: implemented support for jsx element in Alert `body` prop ([@eniskraasniqi1](https://https://github.com/eniskraasniqi1) in [#2813](https://github.com/teamleadercrm/ui/pull/2813))

### Removed

- [BREAKING] The CommonJS build has been removed. We now only have an ES Modules build. ([@lowiebenoot](https://github.com/lowiebenoot)) in [#2809](https://github.com/teamleadercrm/ui/pull/2809)

## [23.2.0] - 2023-11-14
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@teamleader/ui",
"description": "Teamleader UI library",
"version": "23.2.0",
"version": "24.0.0",
"author": "Teamleader <[email protected]>",
"bugs": {
"url": "https://github.com/teamleadercrm/ui/issues"
Expand Down
2 changes: 1 addition & 1 deletion src/components/alert/Alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface AlertProps extends Omit<DialogBaseProps, 'scrollable' | 'size'>
/** The title of the alert. */
title: ReactNode;
/** The body of the alert. */
body?: string;
body?: ReactNode;
/** The type of the alert. */
type?: Type;
}
Expand Down

0 comments on commit 7c1645c

Please sign in to comment.