@automattic/jetpack-components 0.55.4 → 0.55.6
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 +10 -0
- package/components/notice/index.tsx +2 -2
- package/package.json +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
### This is a list detailing changes for the Jetpack RNA Components package releases.
|
|
4
4
|
|
|
5
|
+
## [0.55.6] - 2024-08-09
|
|
6
|
+
### Removed
|
|
7
|
+
- Tests: Removed react-test-renderer. [#38755]
|
|
8
|
+
|
|
9
|
+
## [0.55.5] - 2024-08-05
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fixed TS types for Notice components by marking optional props as such [#38686]
|
|
12
|
+
|
|
5
13
|
## [0.55.4] - 2024-08-01
|
|
6
14
|
### Added
|
|
7
15
|
- Update Welcome Banner and set async site-only connection [#38534]
|
|
@@ -1110,6 +1118,8 @@
|
|
|
1110
1118
|
### Changed
|
|
1111
1119
|
- Update node version requirement to 14.16.1
|
|
1112
1120
|
|
|
1121
|
+
[0.55.6]: https://github.com/Automattic/jetpack-components/compare/0.55.5...0.55.6
|
|
1122
|
+
[0.55.5]: https://github.com/Automattic/jetpack-components/compare/0.55.4...0.55.5
|
|
1113
1123
|
[0.55.4]: https://github.com/Automattic/jetpack-components/compare/0.55.3...0.55.4
|
|
1114
1124
|
[0.55.3]: https://github.com/Automattic/jetpack-components/compare/0.55.2...0.55.3
|
|
1115
1125
|
[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[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-components",
|
|
3
|
-
"version": "0.55.
|
|
3
|
+
"version": "0.55.6",
|
|
4
4
|
"description": "Jetpack Components Package",
|
|
5
5
|
"author": "Automattic",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -50,13 +50,11 @@
|
|
|
50
50
|
"@types/react": "18.3.1",
|
|
51
51
|
"@types/react-dom": "18.3.0",
|
|
52
52
|
"@types/react-slider": "1.3.6",
|
|
53
|
-
"@types/react-test-renderer": "18.3.0",
|
|
54
53
|
"@types/testing-library__jest-dom": "5.14.9",
|
|
55
54
|
"jest": "29.7.0",
|
|
56
55
|
"jest-environment-jsdom": "29.7.0",
|
|
57
56
|
"react": "18.3.1",
|
|
58
57
|
"react-dom": "18.3.1",
|
|
59
|
-
"react-test-renderer": "18.3.1",
|
|
60
58
|
"require-from-string": "2.0.2",
|
|
61
59
|
"resize-observer-polyfill": "1.5.1",
|
|
62
60
|
"ts-dedent": "2.2.0",
|