@wordpress/block-directory 2.1.19 → 2.1.22

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.
Files changed (2) hide show
  1. package/README.md +19 -20
  2. package/package.json +20 -20
package/README.md CHANGED
@@ -28,7 +28,7 @@ The following set of dispatching action creators are available on the object ret
28
28
 
29
29
  <!-- START TOKEN(Autogenerated actions|src/store/actions.js) -->
30
30
 
31
- <a name="addInstalledBlockType" href="#addInstalledBlockType">#</a> **addInstalledBlockType**
31
+ ### addInstalledBlockType
32
32
 
33
33
  Returns an action object used to add a block type to the "newly installed"
34
34
  tracking list.
@@ -41,7 +41,7 @@ _Returns_
41
41
 
42
42
  - `Object`: Action object.
43
43
 
44
- <a name="clearErrorNotice" href="#clearErrorNotice">#</a> **clearErrorNotice**
44
+ ### clearErrorNotice
45
45
 
46
46
  Sets the error notice to empty for specific block.
47
47
 
@@ -53,7 +53,7 @@ _Returns_
53
53
 
54
54
  - `Object`: Action object.
55
55
 
56
- <a name="fetchDownloadableBlocks" href="#fetchDownloadableBlocks">#</a> **fetchDownloadableBlocks**
56
+ ### fetchDownloadableBlocks
57
57
 
58
58
  Returns an action object used in signalling that the downloadable blocks
59
59
  have been requested and are loading.
@@ -66,7 +66,7 @@ _Returns_
66
66
 
67
67
  - `Object`: Action object.
68
68
 
69
- <a name="installBlockType" href="#installBlockType">#</a> **installBlockType**
69
+ ### installBlockType
70
70
 
71
71
  Action triggered to install a block plugin.
72
72
 
@@ -78,7 +78,7 @@ _Returns_
78
78
 
79
79
  - `boolean`: Whether the block was successfully installed & loaded.
80
80
 
81
- <a name="receiveDownloadableBlocks" href="#receiveDownloadableBlocks">#</a> **receiveDownloadableBlocks**
81
+ ### receiveDownloadableBlocks
82
82
 
83
83
  Returns an action object used in signalling that the downloadable blocks
84
84
  have been updated.
@@ -92,7 +92,7 @@ _Returns_
92
92
 
93
93
  - `Object`: Action object.
94
94
 
95
- <a name="removeInstalledBlockType" href="#removeInstalledBlockType">#</a> **removeInstalledBlockType**
95
+ ### removeInstalledBlockType
96
96
 
97
97
  Returns an action object used to remove a block type from the "newly installed"
98
98
  tracking list.
@@ -105,7 +105,7 @@ _Returns_
105
105
 
106
106
  - `Object`: Action object.
107
107
 
108
- <a name="setErrorNotice" href="#setErrorNotice">#</a> **setErrorNotice**
108
+ ### setErrorNotice
109
109
 
110
110
  Sets an error notice to be displayed to the user for a given block.
111
111
 
@@ -119,20 +119,20 @@ _Returns_
119
119
 
120
120
  - `Object`: Action object.
121
121
 
122
- <a name="setIsInstalling" href="#setIsInstalling">#</a> **setIsInstalling**
122
+ ### setIsInstalling
123
123
 
124
124
  Returns an action object used to indicate install in progress.
125
125
 
126
126
  _Parameters_
127
127
 
128
- - _blockId_ `string`:
129
- - _isInstalling_ `boolean`:
128
+ - _blockId_ `string`:
129
+ - _isInstalling_ `boolean`:
130
130
 
131
131
  _Returns_
132
132
 
133
133
  - `Object`: Action object.
134
134
 
135
- <a name="uninstallBlockType" href="#uninstallBlockType">#</a> **uninstallBlockType**
135
+ ### uninstallBlockType
136
136
 
137
137
  Action triggered to uninstall a block plugin.
138
138
 
@@ -148,7 +148,7 @@ The following selectors are available on the object returned by `wp.data.select(
148
148
 
149
149
  <!-- START TOKEN(Autogenerated selectors|src/store/selectors.js) -->
150
150
 
151
- <a name="getDownloadableBlocks" href="#getDownloadableBlocks">#</a> **getDownloadableBlocks**
151
+ ### getDownloadableBlocks
152
152
 
153
153
  Returns the available uninstalled blocks.
154
154
 
@@ -161,7 +161,7 @@ _Returns_
161
161
 
162
162
  - `Array`: Downloadable blocks.
163
163
 
164
- <a name="getErrorNoticeForBlock" href="#getErrorNoticeForBlock">#</a> **getErrorNoticeForBlock**
164
+ ### getErrorNoticeForBlock
165
165
 
166
166
  Returns the error notice for a given block.
167
167
 
@@ -174,7 +174,7 @@ _Returns_
174
174
 
175
175
  - `string|boolean`: The error text, or false if no error.
176
176
 
177
- <a name="getErrorNotices" href="#getErrorNotices">#</a> **getErrorNotices**
177
+ ### getErrorNotices
178
178
 
179
179
  Returns all block error notices.
180
180
 
@@ -186,7 +186,7 @@ _Returns_
186
186
 
187
187
  - `Object`: Object with error notices.
188
188
 
189
- <a name="getInstalledBlockTypes" href="#getInstalledBlockTypes">#</a> **getInstalledBlockTypes**
189
+ ### getInstalledBlockTypes
190
190
 
191
191
  Returns the block types that have been installed on the server in this
192
192
  session.
@@ -199,7 +199,7 @@ _Returns_
199
199
 
200
200
  - `Array`: Block type items
201
201
 
202
- <a name="getNewBlockTypes" href="#getNewBlockTypes">#</a> **getNewBlockTypes**
202
+ ### getNewBlockTypes
203
203
 
204
204
  Returns block types that have been installed on the server and used in the
205
205
  current post.
@@ -212,7 +212,7 @@ _Returns_
212
212
 
213
213
  - `Array`: Block type items.
214
214
 
215
- <a name="getUnusedBlockTypes" href="#getUnusedBlockTypes">#</a> **getUnusedBlockTypes**
215
+ ### getUnusedBlockTypes
216
216
 
217
217
  Returns the block types that have been installed on the server but are not
218
218
  used in the current post.
@@ -225,7 +225,7 @@ _Returns_
225
225
 
226
226
  - `Array`: Block type items.
227
227
 
228
- <a name="isInstalling" href="#isInstalling">#</a> **isInstalling**
228
+ ### isInstalling
229
229
 
230
230
  Returns true if a block plugin install is in progress.
231
231
 
@@ -238,7 +238,7 @@ _Returns_
238
238
 
239
239
  - `boolean`: Whether this block is currently being installed.
240
240
 
241
- <a name="isRequestingDownloadableBlocks" href="#isRequestingDownloadableBlocks">#</a> **isRequestingDownloadableBlocks**
241
+ ### isRequestingDownloadableBlocks
242
242
 
243
243
  Returns true if application is requesting for downloadable blocks.
244
244
 
@@ -251,7 +251,6 @@ _Returns_
251
251
 
252
252
  - `boolean`: Whether a request is in progress for the blocks list.
253
253
 
254
-
255
254
  <!-- END TOKEN(Autogenerated selectors|src/store/selectors.js) -->
256
255
 
257
256
  <br/><br/><p align="center"><img src="https://s.w.org/style/images/codeispoetry.png?1" alt="Code is Poetry." /></p>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-directory",
3
- "version": "2.1.19",
3
+ "version": "2.1.22",
4
4
  "description": "Extend editor with block directory features to search, download and install blocks.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -26,29 +26,29 @@
26
26
  "react-native": "src/index",
27
27
  "dependencies": {
28
28
  "@babel/runtime": "^7.13.10",
29
- "@wordpress/a11y": "^3.1.1",
30
- "@wordpress/api-fetch": "^5.1.1",
31
- "@wordpress/block-editor": "^6.1.12",
32
- "@wordpress/blocks": "^9.1.7",
33
- "@wordpress/components": "^14.1.9",
34
- "@wordpress/compose": "^4.1.5",
35
- "@wordpress/core-data": "^3.1.11",
36
- "@wordpress/data": "^5.1.5",
37
- "@wordpress/data-controls": "^2.1.5",
38
- "@wordpress/edit-post": "^4.1.19",
39
- "@wordpress/editor": "^10.1.15",
40
- "@wordpress/element": "^3.1.1",
29
+ "@wordpress/a11y": "^3.1.2",
30
+ "@wordpress/api-fetch": "^5.1.3",
31
+ "@wordpress/block-editor": "^6.1.15",
32
+ "@wordpress/blocks": "^9.1.8",
33
+ "@wordpress/components": "^14.1.11",
34
+ "@wordpress/compose": "^4.1.6",
35
+ "@wordpress/core-data": "^3.1.13",
36
+ "@wordpress/data": "^5.1.6",
37
+ "@wordpress/data-controls": "^2.1.7",
38
+ "@wordpress/edit-post": "^4.1.22",
39
+ "@wordpress/editor": "^10.1.18",
40
+ "@wordpress/element": "^3.1.2",
41
41
  "@wordpress/hooks": "^3.1.1",
42
- "@wordpress/html-entities": "^3.1.1",
43
- "@wordpress/i18n": "^4.1.1",
44
- "@wordpress/icons": "^4.0.2",
45
- "@wordpress/notices": "^3.1.5",
46
- "@wordpress/plugins": "^3.1.5",
47
- "@wordpress/url": "^3.1.1",
42
+ "@wordpress/html-entities": "^3.1.2",
43
+ "@wordpress/i18n": "^4.1.2",
44
+ "@wordpress/icons": "^4.0.3",
45
+ "@wordpress/notices": "^3.1.6",
46
+ "@wordpress/plugins": "^3.1.6",
47
+ "@wordpress/url": "^3.1.3",
48
48
  "lodash": "^4.17.21"
49
49
  },
50
50
  "publishConfig": {
51
51
  "access": "public"
52
52
  },
53
- "gitHead": "42a6dbdbf9c981e71ea4752c94e5642d6f6cac1d"
53
+ "gitHead": "6464883c6c546233543a1ee01428059dee3560fc"
54
54
  }