@wordpress/react-i18n 3.28.0 → 3.30.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
  ## Unreleased
4
4
 
5
+ ## 3.30.0 (2023-04-26)
6
+
7
+ ## 3.29.0 (2023-04-12)
8
+
5
9
  ## 3.28.0 (2023-03-29)
6
10
 
7
11
  ## 3.27.0 (2023-03-15)
package/README.md CHANGED
@@ -48,9 +48,7 @@ _Returns_
48
48
 
49
49
  ### useI18n
50
50
 
51
- React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`,
52
- `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n).
53
- Refer to their documentation there.
51
+ React hook providing access to i18n functions. It exposes the `__`, `_x`, `_n`, `_nx`, `isRTL` and `hasTranslation` functions from [`@wordpress/i18n`](../i18n). Refer to their documentation there.
54
52
 
55
53
  _Usage_
56
54
 
@@ -65,8 +63,7 @@ function MyComponent() {
65
63
 
66
64
  ### withI18n
67
65
 
68
- React higher-order component that passes the i18n translate functions (the same set
69
- as exposed by the `useI18n` hook) to the wrapped component as props.
66
+ React higher-order component that passes the i18n translate functions (the same set as exposed by the `useI18n` hook) to the wrapped component as props.
70
67
 
71
68
  _Usage_
72
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/react-i18n",
3
- "version": "3.28.0",
3
+ "version": "3.30.0",
4
4
  "description": "React bindings for @wordpress/i18n.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -28,12 +28,12 @@
28
28
  "sideEffects": false,
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7.16.0",
31
- "@wordpress/element": "^5.7.0",
32
- "@wordpress/i18n": "^4.30.0",
31
+ "@wordpress/element": "^5.9.0",
32
+ "@wordpress/i18n": "^4.32.0",
33
33
  "utility-types": "^3.10.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "d5c28a67b11e91e3e4b8e90346bfcb90909364d6"
38
+ "gitHead": "6df0c62d43b8901414ccd22ffbe56eaa99d012a6"
39
39
  }