@automattic/jetpack-components 0.55.1 → 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,14 @@
|
|
|
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
|
+
|
|
9
|
+
## [0.55.2] - 2024-07-26
|
|
10
|
+
### Added
|
|
11
|
+
- Export button props type to be used elsewhere [#38549]
|
|
12
|
+
|
|
5
13
|
## [0.55.1] - 2024-07-25
|
|
6
14
|
### Added
|
|
7
15
|
- Added `className` prop to `Alert` component [#38450]
|
|
@@ -1098,6 +1106,8 @@
|
|
|
1098
1106
|
### Changed
|
|
1099
1107
|
- Update node version requirement to 14.16.1
|
|
1100
1108
|
|
|
1109
|
+
[0.55.3]: https://github.com/Automattic/jetpack-components/compare/0.55.2...0.55.3
|
|
1110
|
+
[0.55.2]: https://github.com/Automattic/jetpack-components/compare/0.55.1...0.55.2
|
|
1101
1111
|
[0.55.1]: https://github.com/Automattic/jetpack-components/compare/0.55.0...0.55.1
|
|
1102
1112
|
[0.55.0]: https://github.com/Automattic/jetpack-components/compare/0.54.4...0.55.0
|
|
1103
1113
|
[0.54.4]: https://github.com/Automattic/jetpack-components/compare/0.54.3...0.54.4
|
|
@@ -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/index.ts
CHANGED
|
@@ -48,6 +48,7 @@ export { default as ToggleControl } from './components/toggle-control';
|
|
|
48
48
|
export { default as numberFormat } from './components/number-format';
|
|
49
49
|
export { default as QRCode } from './components/qr-code';
|
|
50
50
|
export { default as Button } from './components/button';
|
|
51
|
+
export type { ButtonProps } from './components/button/types';
|
|
51
52
|
export { default as LoadingPlaceholder } from './components/loading-placeholder';
|
|
52
53
|
export { default as TermsOfService } from './components/terms-of-service';
|
|
53
54
|
export { default as Chip } from './components/chip';
|