@wordpress/preferences 3.7.0 → 3.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
  ## Unreleased
4
4
 
5
+ ## 3.9.0 (2023-04-26)
6
+
7
+ ## 3.8.0 (2023-04-12)
8
+
5
9
  ## 3.7.0 (2023-03-29)
6
10
 
7
11
  ## 3.6.0 (2023-03-15)
package/README.md CHANGED
@@ -171,8 +171,7 @@ The following set of dispatching action creators are available on the object ret
171
171
 
172
172
  #### set
173
173
 
174
- Returns an action object used in signalling that a preference should be set
175
- to a value
174
+ Returns an action object used in signalling that a preference should be set to a value
176
175
 
177
176
  _Parameters_
178
177
 
@@ -186,8 +185,7 @@ _Returns_
186
185
 
187
186
  #### setDefaults
188
187
 
189
- Returns an action object used in signalling that preference defaults should
190
- be set.
188
+ Returns an action object used in signalling that preference defaults should be set.
191
189
 
192
190
  _Parameters_
193
191
 
@@ -207,9 +205,7 @@ When a persistence layer is set, the preferences store will:
207
205
  - call `get` immediately and update the store state to the value returned.
208
206
  - call `set` with all preferences whenever a preference changes value.
209
207
 
210
- `setPersistenceLayer` should ideally be dispatched at the start of an
211
- application's lifecycle, before any other actions have been dispatched to
212
- the preferences store.
208
+ `setPersistenceLayer` should ideally be dispatched at the start of an application's lifecycle, before any other actions have been dispatched to the preferences store.
213
209
 
214
210
  _Parameters_
215
211
 
@@ -221,8 +217,7 @@ _Returns_
221
217
 
222
218
  #### toggle
223
219
 
224
- Returns an action object used in signalling that a preference should be
225
- toggled.
220
+ Returns an action object used in signalling that a preference should be toggled.
226
221
 
227
222
  _Parameters_
228
223
 
@@ -239,8 +234,7 @@ The following selectors are available on the object returned by `wp.data.select(
239
234
 
240
235
  #### get
241
236
 
242
- Returns a boolean indicating whether a prefer is active for a particular
243
- scope.
237
+ Returns a boolean indicating whether a prefer is active for a particular scope.
244
238
 
245
239
  _Parameters_
246
240
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/preferences",
3
- "version": "3.7.0",
3
+ "version": "3.9.0",
4
4
  "description": "Utilities for managing WordPress preferences.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -29,11 +29,11 @@
29
29
  "sideEffects": false,
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.16.0",
32
- "@wordpress/a11y": "^3.30.0",
33
- "@wordpress/components": "^23.7.0",
34
- "@wordpress/data": "^9.0.0",
35
- "@wordpress/i18n": "^4.30.0",
36
- "@wordpress/icons": "^9.21.0",
32
+ "@wordpress/a11y": "^3.32.0",
33
+ "@wordpress/components": "^23.9.0",
34
+ "@wordpress/data": "^9.2.0",
35
+ "@wordpress/i18n": "^4.32.0",
36
+ "@wordpress/icons": "^9.23.0",
37
37
  "classnames": "^2.3.1"
38
38
  },
39
39
  "peerDependencies": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "d5c28a67b11e91e3e4b8e90346bfcb90909364d6"
46
+ "gitHead": "6df0c62d43b8901414ccd22ffbe56eaa99d012a6"
47
47
  }