@automattic/jetpack-components 0.55.4 → 0.55.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/components/notice/index.tsx +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [0.55.5] - 2024-08-05
|
|
6
|
+
### Fixed
|
|
7
|
+
- Fixed TS types for Notice components by marking optional props as such [#38686]
|
|
8
|
+
|
|
5
9
|
## [0.55.4] - 2024-08-01
|
|
6
10
|
### Added
|
|
7
11
|
- Update Welcome Banner and set async site-only connection [#38534]
|
|
@@ -1110,6 +1114,7 @@
|
|
|
1110
1114
|
### Changed
|
|
1111
1115
|
- Update node version requirement to 14.16.1
|
|
1112
1116
|
|
|
1117
|
+
[0.55.5]: https://github.com/Automattic/jetpack-components/compare/0.55.4...0.55.5
|
|
1113
1118
|
[0.55.4]: https://github.com/Automattic/jetpack-components/compare/0.55.3...0.55.4
|
|
1114
1119
|
[0.55.3]: https://github.com/Automattic/jetpack-components/compare/0.55.2...0.55.3
|
|
1115
1120
|
[0.55.2]: https://github.com/Automattic/jetpack-components/compare/0.55.1...0.55.2
|
|
@@ -5,10 +5,10 @@ import styles from './style.module.scss';
|
|
|
5
5
|
|
|
6
6
|
type NoticeProps = {
|
|
7
7
|
/** The severity of the alert. */
|
|
8
|
-
level
|
|
8
|
+
level?: 'error' | 'warning' | 'info' | 'success';
|
|
9
9
|
|
|
10
10
|
/** The title of the notice */
|
|
11
|
-
title
|
|
11
|
+
title?: string;
|
|
12
12
|
|
|
13
13
|
/** A list of action elements to show across the bottom */
|
|
14
14
|
actions?: React.ReactNode[];
|