@automattic/jetpack-components 1.8.3 → 1.9.0

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
+ ## [1.9.0] - 2026-04-27
6
+ ### Deprecated
7
+ - Componentry: Deprecate the Chip component. Use Badge from @wordpress/ui instead — map type="new" to intent="stable". [#48162]
8
+
5
9
  ## [1.8.3] - 2026-04-20
6
10
  ### Changed
7
11
  - AdminPage: Add a stable, non-hashed `jp-admin-page` class on the component root so shared SCSS mixins and global stylesheets can target AdminPage without coupling to the hashed CSS-Modules className. [#48109]
@@ -1748,6 +1752,7 @@
1748
1752
  ### Changed
1749
1753
  - Update node version requirement to 14.16.1
1750
1754
 
1755
+ [1.9.0]: https://github.com/Automattic/jetpack-components/compare/1.8.3...1.9.0
1751
1756
  [1.8.3]: https://github.com/Automattic/jetpack-components/compare/1.8.2...1.8.3
1752
1757
  [1.8.2]: https://github.com/Automattic/jetpack-components/compare/1.8.1...1.8.2
1753
1758
  [1.8.1]: https://github.com/Automattic/jetpack-components/compare/1.8.0...1.8.1
@@ -6,6 +6,8 @@ type ChipProps = {
6
6
  /**
7
7
  * Chip component
8
8
  *
9
+ * @deprecated Use `Badge` from `@wordpress/ui` instead. Map `type="new"` to `intent="stable"` and `type="info"` to the default `intent`.
10
+ *
9
11
  * @param {object} props - The component properties.
10
12
  * @param {string} props.type - The type new or info
11
13
  * @param {string} props.text - Chip text
@@ -4,6 +4,8 @@ import styles from './style.module.scss';
4
4
  /**
5
5
  * Chip component
6
6
  *
7
+ * @deprecated Use `Badge` from `@wordpress/ui` instead. Map `type="new"` to `intent="stable"` and `type="info"` to the default `intent`.
8
+ *
7
9
  * @param {object} props - The component properties.
8
10
  * @param {string} props.type - The type new or info
9
11
  * @param {string} props.text - Chip text
@@ -1,6 +1,8 @@
1
1
  Chip
2
2
  =========
3
3
 
4
+ > **Deprecated.** Use `Badge` from `@wordpress/ui` instead. Map `type="new"` to `intent="stable"` and `type="info"` to the default `intent`. This component is retained as a compatibility shim for downstream consumers and will be removed in the next major version.
5
+
4
6
  This component is useful to indicate something is new.
5
7
 
6
8
  ## General Usage:
@@ -10,6 +10,8 @@ type ChipProps = {
10
10
  /**
11
11
  * Chip component
12
12
  *
13
+ * @deprecated Use `Badge` from `@wordpress/ui` instead. Map `type="new"` to `intent="stable"` and `type="info"` to the default `intent`.
14
+ *
13
15
  * @param {object} props - The component properties.
14
16
  * @param {string} props.type - The type new or info
15
17
  * @param {string} props.text - Chip text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-components",
3
- "version": "1.8.3",
3
+ "version": "1.9.0",
4
4
  "description": "Jetpack Components Package",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/components/#readme",
6
6
  "bugs": {
@@ -66,7 +66,7 @@
66
66
  "prop-types": "^15.7.2",
67
67
  "qrcode.react": "4.2.0",
68
68
  "react-slider": "2.0.5",
69
- "social-logos": "^3.3.12",
69
+ "social-logos": "^3.3.13",
70
70
  "uplot": "1.6.31",
71
71
  "uplot-react": "1.1.4"
72
72
  },