@automattic/jetpack-components 0.55.2 → 0.55.3

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 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.3] - 2024-07-30
6
+ ### Changed
7
+ - React: Changing global JSX namespace to React.JSX [#38585]
8
+
5
9
  ## [0.55.2] - 2024-07-26
6
10
  ### Added
7
11
  - Export button props type to be used elsewhere [#38549]
@@ -1102,6 +1106,7 @@
1102
1106
  ### Changed
1103
1107
  - Update node version requirement to 14.16.1
1104
1108
 
1109
+ [0.55.3]: https://github.com/Automattic/jetpack-components/compare/0.55.2...0.55.3
1105
1110
  [0.55.2]: https://github.com/Automattic/jetpack-components/compare/0.55.1...0.55.2
1106
1111
  [0.55.1]: https://github.com/Automattic/jetpack-components/compare/0.55.0...0.55.1
1107
1112
  [0.55.0]: https://github.com/Automattic/jetpack-components/compare/0.54.4...0.55.0
@@ -54,5 +54,5 @@ export type NumberSliderProps = {
54
54
  renderThumb?: (
55
55
  props: HTMLPropsWithRefCallback< HTMLDivElement >,
56
56
  state: { index: number; value: number | ReadonlyArray< number >; valueNow: number }
57
- ) => JSX.Element | null;
57
+ ) => React.JSX.Element | null;
58
58
  };
@@ -7,7 +7,7 @@ export type StatCardProps = {
7
7
  /**
8
8
  * The stat card icon.
9
9
  */
10
- icon: JSX.Element;
10
+ icon: React.JSX.Element;
11
11
 
12
12
  /**
13
13
  * The stat label.
@@ -9,7 +9,7 @@ interface StatusProps {
9
9
  className?: string;
10
10
  }
11
11
 
12
- const Status = ( { className, label, status = 'inactive' }: StatusProps ): JSX.Element => {
12
+ const Status = ( { className, label, status = 'inactive' }: StatusProps ): React.JSX.Element => {
13
13
  const defaultLabels: Record< string, string > = {
14
14
  active: __( 'Active', 'jetpack' ),
15
15
  error: __( 'Error', 'jetpack' ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "0.55.2",
3
+ "version": "0.55.3",
4
4
  "description": "Jetpack Components Package",
5
5
  "author": "Automattic",
6
6
  "license": "GPL-2.0-or-later",