@wordpress/block-library 8.17.1 → 8.18.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 +2 -0
- package/build/cover/edit/index.js +3 -1
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/shared.js +26 -21
- package/build/cover/shared.js.map +1 -1
- package/build/embed/embed-link-settings.native.js +0 -1
- package/build/embed/embed-link-settings.native.js.map +1 -1
- package/build/post-content/edit.js +1 -1
- package/build/post-content/edit.js.map +1 -1
- package/build/post-template/index.js +1 -1
- package/build/query/edit/inspector-controls/index.js +28 -3
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/query-content.js +2 -1
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/index.js +9 -2
- package/build/query/index.js.map +1 -1
- package/build/query/view.js +75 -0
- package/build/query/view.js.map +1 -0
- package/build/query-pagination-next/index.js +1 -1
- package/build/query-pagination-numbers/edit.js +50 -5
- package/build/query-pagination-numbers/edit.js.map +1 -1
- package/build/query-pagination-numbers/index.js +7 -1
- package/build/query-pagination-numbers/index.js.map +1 -1
- package/build/query-pagination-previous/index.js +1 -1
- package/build/search/edit.js +3 -1
- package/build/search/edit.js.map +1 -1
- package/build/search/utils.js +2 -4
- package/build/search/utils.js.map +1 -1
- package/build/social-link/edit.native.js +1 -3
- package/build/social-link/edit.native.js.map +1 -1
- package/build-module/cover/edit/index.js +3 -1
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/shared.js +26 -21
- package/build-module/cover/shared.js.map +1 -1
- package/build-module/embed/embed-link-settings.native.js +0 -1
- package/build-module/embed/embed-link-settings.native.js.map +1 -1
- package/build-module/post-content/edit.js +1 -1
- package/build-module/post-content/edit.js.map +1 -1
- package/build-module/post-template/index.js +1 -1
- package/build-module/query/edit/inspector-controls/index.js +29 -4
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/query-content.js +2 -1
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/index.js +9 -2
- package/build-module/query/index.js.map +1 -1
- package/build-module/query/view.js +72 -0
- package/build-module/query/view.js.map +1 -0
- package/build-module/query-pagination-next/index.js +1 -1
- package/build-module/query-pagination-numbers/edit.js +51 -6
- package/build-module/query-pagination-numbers/edit.js.map +1 -1
- package/build-module/query-pagination-numbers/index.js +7 -1
- package/build-module/query-pagination-numbers/index.js.map +1 -1
- package/build-module/query-pagination-previous/index.js +1 -1
- package/build-module/search/edit.js +4 -2
- package/build-module/search/edit.js.map +1 -1
- package/build-module/search/utils.js +0 -1
- package/build-module/search/utils.js.map +1 -1
- package/build-module/social-link/edit.native.js +1 -3
- package/build-module/social-link/edit.native.js.map +1 -1
- package/build-style/query/style-rtl.css +140 -0
- package/build-style/query/style.css +140 -0
- package/build-style/site-logo/style-rtl.css +1 -0
- package/build-style/site-logo/style.css +1 -0
- package/build-style/style-rtl.css +1 -0
- package/build-style/style.css +1 -0
- package/package.json +32 -32
- package/src/audio/test/__snapshots__/edit.native.js.snap +106 -78
- package/src/cover/edit/index.js +3 -1
- package/src/cover/shared.js +25 -20
- package/src/cover/test/edit.native.js +1 -5
- package/src/embed/embed-link-settings.native.js +0 -1
- package/src/embed/test/index.native.js +9 -9
- package/src/file/test/__snapshots__/edit.native.js.snap +218 -162
- package/src/image/index.php +5 -0
- package/src/post-content/edit.js +2 -2
- package/src/post-content/index.php +0 -6
- package/src/post-featured-image/index.php +0 -6
- package/src/post-template/block.json +2 -1
- package/src/post-template/index.php +19 -4
- package/src/query/block.json +9 -2
- package/src/query/edit/inspector-controls/index.js +46 -3
- package/src/query/edit/query-content.js +1 -0
- package/src/query/index.php +94 -1
- package/src/query/style.scss +63 -0
- package/src/query/view.js +82 -0
- package/src/query-no-results/index.php +1 -5
- package/src/query-pagination-next/block.json +7 -1
- package/src/query-pagination-next/index.php +20 -3
- package/src/query-pagination-numbers/block.json +7 -1
- package/src/query-pagination-numbers/edit.js +64 -16
- package/src/query-pagination-numbers/index.php +27 -4
- package/src/query-pagination-previous/block.json +7 -1
- package/src/query-pagination-previous/index.php +19 -2
- package/src/search/edit.js +8 -2
- package/src/search/test/__snapshots__/edit.native.js.snap +363 -265
- package/src/search/utils.js +0 -1
- package/src/site-logo/style.scss +1 -0
- package/src/social-link/edit.native.js +1 -1
- package/src/social-link/editor.native.scss +0 -4
- package/src/social-links/test/edit.native.js +30 -0
- package/src/social-link/test/index.native.js +0 -132
|
@@ -19,7 +19,7 @@ exports[`Search Block renders block with button inside option 1`] = `
|
|
|
19
19
|
]
|
|
20
20
|
}
|
|
21
21
|
>
|
|
22
|
-
<
|
|
22
|
+
<View
|
|
23
23
|
accessibilityState={
|
|
24
24
|
{
|
|
25
25
|
"busy": undefined,
|
|
@@ -29,57 +29,71 @@ exports[`Search Block renders block with button inside option 1`] = `
|
|
|
29
29
|
"selected": undefined,
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
33
|
-
activeFormats={[]}
|
|
34
|
-
blockType={
|
|
32
|
+
accessibilityValue={
|
|
35
33
|
{
|
|
36
|
-
"
|
|
34
|
+
"max": undefined,
|
|
35
|
+
"min": undefined,
|
|
36
|
+
"now": undefined,
|
|
37
|
+
"text": undefined,
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
|
-
|
|
40
|
+
accessible={false}
|
|
41
|
+
collapsable={false}
|
|
40
42
|
focusable={true}
|
|
41
|
-
fontFamily="serif"
|
|
42
|
-
fontSize={16}
|
|
43
|
-
isMultiline={false}
|
|
44
|
-
maxImagesWidth={200}
|
|
45
|
-
onBackspace={[Function]}
|
|
46
43
|
onBlur={[Function]}
|
|
47
|
-
onChange={[Function]}
|
|
48
44
|
onClick={[Function]}
|
|
49
|
-
onContentSizeChange={[Function]}
|
|
50
|
-
onEnter={[Function]}
|
|
51
45
|
onFocus={[Function]}
|
|
52
|
-
onHTMLContentWithCursor={[Function]}
|
|
53
|
-
onKeyDown={[Function]}
|
|
54
|
-
onPaste={[Function]}
|
|
55
46
|
onResponderGrant={[Function]}
|
|
56
47
|
onResponderMove={[Function]}
|
|
57
48
|
onResponderRelease={[Function]}
|
|
58
49
|
onResponderTerminate={[Function]}
|
|
59
50
|
onResponderTerminationRequest={[Function]}
|
|
60
|
-
onSelectionChange={[Function]}
|
|
61
51
|
onStartShouldSetResponder={[Function]}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"minHeight": 0,
|
|
52
|
+
>
|
|
53
|
+
<RCTAztecView
|
|
54
|
+
activeFormats={[]}
|
|
55
|
+
blockType={
|
|
56
|
+
{
|
|
57
|
+
"tag": "p",
|
|
58
|
+
}
|
|
70
59
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
{
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
60
|
+
disableEditingMenu={false}
|
|
61
|
+
fontFamily="serif"
|
|
62
|
+
fontSize={16}
|
|
63
|
+
isMultiline={false}
|
|
64
|
+
maxImagesWidth={200}
|
|
65
|
+
onBackspace={[Function]}
|
|
66
|
+
onBlur={[Function]}
|
|
67
|
+
onChange={[Function]}
|
|
68
|
+
onContentSizeChange={[Function]}
|
|
69
|
+
onEnter={[Function]}
|
|
70
|
+
onFocus={[Function]}
|
|
71
|
+
onHTMLContentWithCursor={[Function]}
|
|
72
|
+
onKeyDown={[Function]}
|
|
73
|
+
onPaste={[Function]}
|
|
74
|
+
onSelectionChange={[Function]}
|
|
75
|
+
placeholder="Add label…"
|
|
76
|
+
placeholderTextColor="gray"
|
|
77
|
+
selectionColor="black"
|
|
78
|
+
style={
|
|
79
|
+
{
|
|
80
|
+
"backgroundColor": undefined,
|
|
81
|
+
"maxWidth": undefined,
|
|
82
|
+
"minHeight": 0,
|
|
83
|
+
}
|
|
79
84
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
text={
|
|
86
|
+
{
|
|
87
|
+
"eventCount": undefined,
|
|
88
|
+
"linkTextColor": undefined,
|
|
89
|
+
"selection": null,
|
|
90
|
+
"tag": "p",
|
|
91
|
+
"text": "<p>Search</p>",
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
triggerKeyCodes={[]}
|
|
95
|
+
/>
|
|
96
|
+
</View>
|
|
83
97
|
</View>
|
|
84
98
|
</View>
|
|
85
99
|
<View
|
|
@@ -144,7 +158,7 @@ exports[`Search Block renders block with button inside option 1`] = `
|
|
|
144
158
|
]
|
|
145
159
|
}
|
|
146
160
|
>
|
|
147
|
-
<
|
|
161
|
+
<View
|
|
148
162
|
accessibilityState={
|
|
149
163
|
{
|
|
150
164
|
"busy": undefined,
|
|
@@ -154,59 +168,73 @@ exports[`Search Block renders block with button inside option 1`] = `
|
|
|
154
168
|
"selected": undefined,
|
|
155
169
|
}
|
|
156
170
|
}
|
|
157
|
-
|
|
158
|
-
activeFormats={[]}
|
|
159
|
-
blockType={
|
|
171
|
+
accessibilityValue={
|
|
160
172
|
{
|
|
161
|
-
"
|
|
173
|
+
"max": undefined,
|
|
174
|
+
"min": undefined,
|
|
175
|
+
"now": undefined,
|
|
176
|
+
"text": undefined,
|
|
162
177
|
}
|
|
163
178
|
}
|
|
164
|
-
|
|
179
|
+
accessible={false}
|
|
180
|
+
collapsable={false}
|
|
165
181
|
focusable={true}
|
|
166
|
-
fontFamily="serif"
|
|
167
|
-
fontSize={16}
|
|
168
|
-
isMultiline={false}
|
|
169
|
-
maxImagesWidth={200}
|
|
170
|
-
minWidth={75}
|
|
171
|
-
onBackspace={[Function]}
|
|
172
182
|
onBlur={[Function]}
|
|
173
|
-
onChange={[Function]}
|
|
174
183
|
onClick={[Function]}
|
|
175
|
-
onContentSizeChange={[Function]}
|
|
176
|
-
onEnter={[Function]}
|
|
177
184
|
onFocus={[Function]}
|
|
178
|
-
onHTMLContentWithCursor={[Function]}
|
|
179
|
-
onKeyDown={[Function]}
|
|
180
|
-
onPaste={[Function]}
|
|
181
185
|
onResponderGrant={[Function]}
|
|
182
186
|
onResponderMove={[Function]}
|
|
183
187
|
onResponderRelease={[Function]}
|
|
184
188
|
onResponderTerminate={[Function]}
|
|
185
189
|
onResponderTerminationRequest={[Function]}
|
|
186
|
-
onSelectionChange={[Function]}
|
|
187
190
|
onStartShouldSetResponder={[Function]}
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
"minHeight": 0,
|
|
191
|
+
>
|
|
192
|
+
<RCTAztecView
|
|
193
|
+
activeFormats={[]}
|
|
194
|
+
blockType={
|
|
195
|
+
{
|
|
196
|
+
"tag": "p",
|
|
197
|
+
}
|
|
196
198
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
{
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
199
|
+
disableEditingMenu={false}
|
|
200
|
+
fontFamily="serif"
|
|
201
|
+
fontSize={16}
|
|
202
|
+
isMultiline={false}
|
|
203
|
+
maxImagesWidth={200}
|
|
204
|
+
minWidth={75}
|
|
205
|
+
onBackspace={[Function]}
|
|
206
|
+
onBlur={[Function]}
|
|
207
|
+
onChange={[Function]}
|
|
208
|
+
onContentSizeChange={[Function]}
|
|
209
|
+
onEnter={[Function]}
|
|
210
|
+
onFocus={[Function]}
|
|
211
|
+
onHTMLContentWithCursor={[Function]}
|
|
212
|
+
onKeyDown={[Function]}
|
|
213
|
+
onPaste={[Function]}
|
|
214
|
+
onSelectionChange={[Function]}
|
|
215
|
+
placeholder=""
|
|
216
|
+
placeholderTextColor="gray"
|
|
217
|
+
selectionColor="black"
|
|
218
|
+
style={
|
|
219
|
+
{
|
|
220
|
+
"backgroundColor": undefined,
|
|
221
|
+
"maxWidth": NaN,
|
|
222
|
+
"minHeight": 0,
|
|
223
|
+
}
|
|
205
224
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
225
|
+
text={
|
|
226
|
+
{
|
|
227
|
+
"eventCount": undefined,
|
|
228
|
+
"linkTextColor": undefined,
|
|
229
|
+
"selection": null,
|
|
230
|
+
"tag": "p",
|
|
231
|
+
"text": "<p>Search Button</p>",
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
textAlign="center"
|
|
235
|
+
triggerKeyCodes={[]}
|
|
236
|
+
/>
|
|
237
|
+
</View>
|
|
210
238
|
</View>
|
|
211
239
|
</View>
|
|
212
240
|
</View>
|
|
@@ -233,7 +261,7 @@ exports[`Search Block renders block with icon button option matches snapshot 1`]
|
|
|
233
261
|
]
|
|
234
262
|
}
|
|
235
263
|
>
|
|
236
|
-
<
|
|
264
|
+
<View
|
|
237
265
|
accessibilityState={
|
|
238
266
|
{
|
|
239
267
|
"busy": undefined,
|
|
@@ -243,57 +271,71 @@ exports[`Search Block renders block with icon button option matches snapshot 1`]
|
|
|
243
271
|
"selected": undefined,
|
|
244
272
|
}
|
|
245
273
|
}
|
|
246
|
-
|
|
247
|
-
activeFormats={[]}
|
|
248
|
-
blockType={
|
|
274
|
+
accessibilityValue={
|
|
249
275
|
{
|
|
250
|
-
"
|
|
276
|
+
"max": undefined,
|
|
277
|
+
"min": undefined,
|
|
278
|
+
"now": undefined,
|
|
279
|
+
"text": undefined,
|
|
251
280
|
}
|
|
252
281
|
}
|
|
253
|
-
|
|
282
|
+
accessible={false}
|
|
283
|
+
collapsable={false}
|
|
254
284
|
focusable={true}
|
|
255
|
-
fontFamily="serif"
|
|
256
|
-
fontSize={16}
|
|
257
|
-
isMultiline={false}
|
|
258
|
-
maxImagesWidth={200}
|
|
259
|
-
onBackspace={[Function]}
|
|
260
285
|
onBlur={[Function]}
|
|
261
|
-
onChange={[Function]}
|
|
262
286
|
onClick={[Function]}
|
|
263
|
-
onContentSizeChange={[Function]}
|
|
264
|
-
onEnter={[Function]}
|
|
265
287
|
onFocus={[Function]}
|
|
266
|
-
onHTMLContentWithCursor={[Function]}
|
|
267
|
-
onKeyDown={[Function]}
|
|
268
|
-
onPaste={[Function]}
|
|
269
288
|
onResponderGrant={[Function]}
|
|
270
289
|
onResponderMove={[Function]}
|
|
271
290
|
onResponderRelease={[Function]}
|
|
272
291
|
onResponderTerminate={[Function]}
|
|
273
292
|
onResponderTerminationRequest={[Function]}
|
|
274
|
-
onSelectionChange={[Function]}
|
|
275
293
|
onStartShouldSetResponder={[Function]}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
"minHeight": 0,
|
|
294
|
+
>
|
|
295
|
+
<RCTAztecView
|
|
296
|
+
activeFormats={[]}
|
|
297
|
+
blockType={
|
|
298
|
+
{
|
|
299
|
+
"tag": "p",
|
|
300
|
+
}
|
|
284
301
|
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
{
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
302
|
+
disableEditingMenu={false}
|
|
303
|
+
fontFamily="serif"
|
|
304
|
+
fontSize={16}
|
|
305
|
+
isMultiline={false}
|
|
306
|
+
maxImagesWidth={200}
|
|
307
|
+
onBackspace={[Function]}
|
|
308
|
+
onBlur={[Function]}
|
|
309
|
+
onChange={[Function]}
|
|
310
|
+
onContentSizeChange={[Function]}
|
|
311
|
+
onEnter={[Function]}
|
|
312
|
+
onFocus={[Function]}
|
|
313
|
+
onHTMLContentWithCursor={[Function]}
|
|
314
|
+
onKeyDown={[Function]}
|
|
315
|
+
onPaste={[Function]}
|
|
316
|
+
onSelectionChange={[Function]}
|
|
317
|
+
placeholder="Add label…"
|
|
318
|
+
placeholderTextColor="gray"
|
|
319
|
+
selectionColor="black"
|
|
320
|
+
style={
|
|
321
|
+
{
|
|
322
|
+
"backgroundColor": undefined,
|
|
323
|
+
"maxWidth": undefined,
|
|
324
|
+
"minHeight": 0,
|
|
325
|
+
}
|
|
293
326
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
327
|
+
text={
|
|
328
|
+
{
|
|
329
|
+
"eventCount": undefined,
|
|
330
|
+
"linkTextColor": undefined,
|
|
331
|
+
"selection": null,
|
|
332
|
+
"tag": "p",
|
|
333
|
+
"text": "<p>Search</p>",
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
triggerKeyCodes={[]}
|
|
337
|
+
/>
|
|
338
|
+
</View>
|
|
297
339
|
</View>
|
|
298
340
|
</View>
|
|
299
341
|
<View
|
|
@@ -428,7 +470,7 @@ exports[`Search Block renders block with label hidden matches snapshot 1`] = `
|
|
|
428
470
|
]
|
|
429
471
|
}
|
|
430
472
|
>
|
|
431
|
-
<
|
|
473
|
+
<View
|
|
432
474
|
accessibilityState={
|
|
433
475
|
{
|
|
434
476
|
"busy": undefined,
|
|
@@ -438,59 +480,73 @@ exports[`Search Block renders block with label hidden matches snapshot 1`] = `
|
|
|
438
480
|
"selected": undefined,
|
|
439
481
|
}
|
|
440
482
|
}
|
|
441
|
-
|
|
442
|
-
activeFormats={[]}
|
|
443
|
-
blockType={
|
|
483
|
+
accessibilityValue={
|
|
444
484
|
{
|
|
445
|
-
"
|
|
485
|
+
"max": undefined,
|
|
486
|
+
"min": undefined,
|
|
487
|
+
"now": undefined,
|
|
488
|
+
"text": undefined,
|
|
446
489
|
}
|
|
447
490
|
}
|
|
448
|
-
|
|
491
|
+
accessible={false}
|
|
492
|
+
collapsable={false}
|
|
449
493
|
focusable={true}
|
|
450
|
-
fontFamily="serif"
|
|
451
|
-
fontSize={16}
|
|
452
|
-
isMultiline={false}
|
|
453
|
-
maxImagesWidth={200}
|
|
454
|
-
minWidth={75}
|
|
455
|
-
onBackspace={[Function]}
|
|
456
494
|
onBlur={[Function]}
|
|
457
|
-
onChange={[Function]}
|
|
458
495
|
onClick={[Function]}
|
|
459
|
-
onContentSizeChange={[Function]}
|
|
460
|
-
onEnter={[Function]}
|
|
461
496
|
onFocus={[Function]}
|
|
462
|
-
onHTMLContentWithCursor={[Function]}
|
|
463
|
-
onKeyDown={[Function]}
|
|
464
|
-
onPaste={[Function]}
|
|
465
497
|
onResponderGrant={[Function]}
|
|
466
498
|
onResponderMove={[Function]}
|
|
467
499
|
onResponderRelease={[Function]}
|
|
468
500
|
onResponderTerminate={[Function]}
|
|
469
501
|
onResponderTerminationRequest={[Function]}
|
|
470
|
-
onSelectionChange={[Function]}
|
|
471
502
|
onStartShouldSetResponder={[Function]}
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
"minHeight": 0,
|
|
503
|
+
>
|
|
504
|
+
<RCTAztecView
|
|
505
|
+
activeFormats={[]}
|
|
506
|
+
blockType={
|
|
507
|
+
{
|
|
508
|
+
"tag": "p",
|
|
509
|
+
}
|
|
480
510
|
}
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
{
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
511
|
+
disableEditingMenu={false}
|
|
512
|
+
fontFamily="serif"
|
|
513
|
+
fontSize={16}
|
|
514
|
+
isMultiline={false}
|
|
515
|
+
maxImagesWidth={200}
|
|
516
|
+
minWidth={75}
|
|
517
|
+
onBackspace={[Function]}
|
|
518
|
+
onBlur={[Function]}
|
|
519
|
+
onChange={[Function]}
|
|
520
|
+
onContentSizeChange={[Function]}
|
|
521
|
+
onEnter={[Function]}
|
|
522
|
+
onFocus={[Function]}
|
|
523
|
+
onHTMLContentWithCursor={[Function]}
|
|
524
|
+
onKeyDown={[Function]}
|
|
525
|
+
onPaste={[Function]}
|
|
526
|
+
onSelectionChange={[Function]}
|
|
527
|
+
placeholder=""
|
|
528
|
+
placeholderTextColor="gray"
|
|
529
|
+
selectionColor="black"
|
|
530
|
+
style={
|
|
531
|
+
{
|
|
532
|
+
"backgroundColor": undefined,
|
|
533
|
+
"maxWidth": NaN,
|
|
534
|
+
"minHeight": 0,
|
|
535
|
+
}
|
|
489
536
|
}
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
537
|
+
text={
|
|
538
|
+
{
|
|
539
|
+
"eventCount": undefined,
|
|
540
|
+
"linkTextColor": undefined,
|
|
541
|
+
"selection": null,
|
|
542
|
+
"tag": "p",
|
|
543
|
+
"text": "<p>Search Button</p>",
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
textAlign="center"
|
|
547
|
+
triggerKeyCodes={[]}
|
|
548
|
+
/>
|
|
549
|
+
</View>
|
|
494
550
|
</View>
|
|
495
551
|
</View>
|
|
496
552
|
</View>
|
|
@@ -517,7 +573,7 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
|
|
|
517
573
|
]
|
|
518
574
|
}
|
|
519
575
|
>
|
|
520
|
-
<
|
|
576
|
+
<View
|
|
521
577
|
accessibilityState={
|
|
522
578
|
{
|
|
523
579
|
"busy": undefined,
|
|
@@ -527,57 +583,71 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
|
|
|
527
583
|
"selected": undefined,
|
|
528
584
|
}
|
|
529
585
|
}
|
|
530
|
-
|
|
531
|
-
activeFormats={[]}
|
|
532
|
-
blockType={
|
|
586
|
+
accessibilityValue={
|
|
533
587
|
{
|
|
534
|
-
"
|
|
588
|
+
"max": undefined,
|
|
589
|
+
"min": undefined,
|
|
590
|
+
"now": undefined,
|
|
591
|
+
"text": undefined,
|
|
535
592
|
}
|
|
536
593
|
}
|
|
537
|
-
|
|
594
|
+
accessible={false}
|
|
595
|
+
collapsable={false}
|
|
538
596
|
focusable={true}
|
|
539
|
-
fontFamily="serif"
|
|
540
|
-
fontSize={16}
|
|
541
|
-
isMultiline={false}
|
|
542
|
-
maxImagesWidth={200}
|
|
543
|
-
onBackspace={[Function]}
|
|
544
597
|
onBlur={[Function]}
|
|
545
|
-
onChange={[Function]}
|
|
546
598
|
onClick={[Function]}
|
|
547
|
-
onContentSizeChange={[Function]}
|
|
548
|
-
onEnter={[Function]}
|
|
549
599
|
onFocus={[Function]}
|
|
550
|
-
onHTMLContentWithCursor={[Function]}
|
|
551
|
-
onKeyDown={[Function]}
|
|
552
|
-
onPaste={[Function]}
|
|
553
600
|
onResponderGrant={[Function]}
|
|
554
601
|
onResponderMove={[Function]}
|
|
555
602
|
onResponderRelease={[Function]}
|
|
556
603
|
onResponderTerminate={[Function]}
|
|
557
604
|
onResponderTerminationRequest={[Function]}
|
|
558
|
-
onSelectionChange={[Function]}
|
|
559
605
|
onStartShouldSetResponder={[Function]}
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
"minHeight": 0,
|
|
606
|
+
>
|
|
607
|
+
<RCTAztecView
|
|
608
|
+
activeFormats={[]}
|
|
609
|
+
blockType={
|
|
610
|
+
{
|
|
611
|
+
"tag": "p",
|
|
612
|
+
}
|
|
568
613
|
}
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
{
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
614
|
+
disableEditingMenu={false}
|
|
615
|
+
fontFamily="serif"
|
|
616
|
+
fontSize={16}
|
|
617
|
+
isMultiline={false}
|
|
618
|
+
maxImagesWidth={200}
|
|
619
|
+
onBackspace={[Function]}
|
|
620
|
+
onBlur={[Function]}
|
|
621
|
+
onChange={[Function]}
|
|
622
|
+
onContentSizeChange={[Function]}
|
|
623
|
+
onEnter={[Function]}
|
|
624
|
+
onFocus={[Function]}
|
|
625
|
+
onHTMLContentWithCursor={[Function]}
|
|
626
|
+
onKeyDown={[Function]}
|
|
627
|
+
onPaste={[Function]}
|
|
628
|
+
onSelectionChange={[Function]}
|
|
629
|
+
placeholder="Add label…"
|
|
630
|
+
placeholderTextColor="gray"
|
|
631
|
+
selectionColor="black"
|
|
632
|
+
style={
|
|
633
|
+
{
|
|
634
|
+
"backgroundColor": undefined,
|
|
635
|
+
"maxWidth": undefined,
|
|
636
|
+
"minHeight": 0,
|
|
637
|
+
}
|
|
577
638
|
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
639
|
+
text={
|
|
640
|
+
{
|
|
641
|
+
"eventCount": undefined,
|
|
642
|
+
"linkTextColor": undefined,
|
|
643
|
+
"selection": null,
|
|
644
|
+
"tag": "p",
|
|
645
|
+
"text": "<p>Search</p>",
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
triggerKeyCodes={[]}
|
|
649
|
+
/>
|
|
650
|
+
</View>
|
|
581
651
|
</View>
|
|
582
652
|
</View>
|
|
583
653
|
<View
|
|
@@ -642,7 +712,7 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
|
|
|
642
712
|
]
|
|
643
713
|
}
|
|
644
714
|
>
|
|
645
|
-
<
|
|
715
|
+
<View
|
|
646
716
|
accessibilityState={
|
|
647
717
|
{
|
|
648
718
|
"busy": undefined,
|
|
@@ -652,59 +722,73 @@ exports[`Search Block renders with default configuration matches snapshot 1`] =
|
|
|
652
722
|
"selected": undefined,
|
|
653
723
|
}
|
|
654
724
|
}
|
|
655
|
-
|
|
656
|
-
activeFormats={[]}
|
|
657
|
-
blockType={
|
|
725
|
+
accessibilityValue={
|
|
658
726
|
{
|
|
659
|
-
"
|
|
727
|
+
"max": undefined,
|
|
728
|
+
"min": undefined,
|
|
729
|
+
"now": undefined,
|
|
730
|
+
"text": undefined,
|
|
660
731
|
}
|
|
661
732
|
}
|
|
662
|
-
|
|
733
|
+
accessible={false}
|
|
734
|
+
collapsable={false}
|
|
663
735
|
focusable={true}
|
|
664
|
-
fontFamily="serif"
|
|
665
|
-
fontSize={16}
|
|
666
|
-
isMultiline={false}
|
|
667
|
-
maxImagesWidth={200}
|
|
668
|
-
minWidth={75}
|
|
669
|
-
onBackspace={[Function]}
|
|
670
736
|
onBlur={[Function]}
|
|
671
|
-
onChange={[Function]}
|
|
672
737
|
onClick={[Function]}
|
|
673
|
-
onContentSizeChange={[Function]}
|
|
674
|
-
onEnter={[Function]}
|
|
675
738
|
onFocus={[Function]}
|
|
676
|
-
onHTMLContentWithCursor={[Function]}
|
|
677
|
-
onKeyDown={[Function]}
|
|
678
|
-
onPaste={[Function]}
|
|
679
739
|
onResponderGrant={[Function]}
|
|
680
740
|
onResponderMove={[Function]}
|
|
681
741
|
onResponderRelease={[Function]}
|
|
682
742
|
onResponderTerminate={[Function]}
|
|
683
743
|
onResponderTerminationRequest={[Function]}
|
|
684
|
-
onSelectionChange={[Function]}
|
|
685
744
|
onStartShouldSetResponder={[Function]}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
"minHeight": 0,
|
|
745
|
+
>
|
|
746
|
+
<RCTAztecView
|
|
747
|
+
activeFormats={[]}
|
|
748
|
+
blockType={
|
|
749
|
+
{
|
|
750
|
+
"tag": "p",
|
|
751
|
+
}
|
|
694
752
|
}
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
{
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
753
|
+
disableEditingMenu={false}
|
|
754
|
+
fontFamily="serif"
|
|
755
|
+
fontSize={16}
|
|
756
|
+
isMultiline={false}
|
|
757
|
+
maxImagesWidth={200}
|
|
758
|
+
minWidth={75}
|
|
759
|
+
onBackspace={[Function]}
|
|
760
|
+
onBlur={[Function]}
|
|
761
|
+
onChange={[Function]}
|
|
762
|
+
onContentSizeChange={[Function]}
|
|
763
|
+
onEnter={[Function]}
|
|
764
|
+
onFocus={[Function]}
|
|
765
|
+
onHTMLContentWithCursor={[Function]}
|
|
766
|
+
onKeyDown={[Function]}
|
|
767
|
+
onPaste={[Function]}
|
|
768
|
+
onSelectionChange={[Function]}
|
|
769
|
+
placeholder=""
|
|
770
|
+
placeholderTextColor="gray"
|
|
771
|
+
selectionColor="black"
|
|
772
|
+
style={
|
|
773
|
+
{
|
|
774
|
+
"backgroundColor": undefined,
|
|
775
|
+
"maxWidth": NaN,
|
|
776
|
+
"minHeight": 0,
|
|
777
|
+
}
|
|
703
778
|
}
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
779
|
+
text={
|
|
780
|
+
{
|
|
781
|
+
"eventCount": undefined,
|
|
782
|
+
"linkTextColor": undefined,
|
|
783
|
+
"selection": null,
|
|
784
|
+
"tag": "p",
|
|
785
|
+
"text": "<p>Search Button</p>",
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
textAlign="center"
|
|
789
|
+
triggerKeyCodes={[]}
|
|
790
|
+
/>
|
|
791
|
+
</View>
|
|
708
792
|
</View>
|
|
709
793
|
</View>
|
|
710
794
|
</View>
|
|
@@ -731,7 +815,7 @@ exports[`Search Block renders with no-button option matches snapshot 1`] = `
|
|
|
731
815
|
]
|
|
732
816
|
}
|
|
733
817
|
>
|
|
734
|
-
<
|
|
818
|
+
<View
|
|
735
819
|
accessibilityState={
|
|
736
820
|
{
|
|
737
821
|
"busy": undefined,
|
|
@@ -741,57 +825,71 @@ exports[`Search Block renders with no-button option matches snapshot 1`] = `
|
|
|
741
825
|
"selected": undefined,
|
|
742
826
|
}
|
|
743
827
|
}
|
|
744
|
-
|
|
745
|
-
activeFormats={[]}
|
|
746
|
-
blockType={
|
|
828
|
+
accessibilityValue={
|
|
747
829
|
{
|
|
748
|
-
"
|
|
830
|
+
"max": undefined,
|
|
831
|
+
"min": undefined,
|
|
832
|
+
"now": undefined,
|
|
833
|
+
"text": undefined,
|
|
749
834
|
}
|
|
750
835
|
}
|
|
751
|
-
|
|
836
|
+
accessible={false}
|
|
837
|
+
collapsable={false}
|
|
752
838
|
focusable={true}
|
|
753
|
-
fontFamily="serif"
|
|
754
|
-
fontSize={16}
|
|
755
|
-
isMultiline={false}
|
|
756
|
-
maxImagesWidth={200}
|
|
757
|
-
onBackspace={[Function]}
|
|
758
839
|
onBlur={[Function]}
|
|
759
|
-
onChange={[Function]}
|
|
760
840
|
onClick={[Function]}
|
|
761
|
-
onContentSizeChange={[Function]}
|
|
762
|
-
onEnter={[Function]}
|
|
763
841
|
onFocus={[Function]}
|
|
764
|
-
onHTMLContentWithCursor={[Function]}
|
|
765
|
-
onKeyDown={[Function]}
|
|
766
|
-
onPaste={[Function]}
|
|
767
842
|
onResponderGrant={[Function]}
|
|
768
843
|
onResponderMove={[Function]}
|
|
769
844
|
onResponderRelease={[Function]}
|
|
770
845
|
onResponderTerminate={[Function]}
|
|
771
846
|
onResponderTerminationRequest={[Function]}
|
|
772
|
-
onSelectionChange={[Function]}
|
|
773
847
|
onStartShouldSetResponder={[Function]}
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
"minHeight": 0,
|
|
848
|
+
>
|
|
849
|
+
<RCTAztecView
|
|
850
|
+
activeFormats={[]}
|
|
851
|
+
blockType={
|
|
852
|
+
{
|
|
853
|
+
"tag": "p",
|
|
854
|
+
}
|
|
782
855
|
}
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
{
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
856
|
+
disableEditingMenu={false}
|
|
857
|
+
fontFamily="serif"
|
|
858
|
+
fontSize={16}
|
|
859
|
+
isMultiline={false}
|
|
860
|
+
maxImagesWidth={200}
|
|
861
|
+
onBackspace={[Function]}
|
|
862
|
+
onBlur={[Function]}
|
|
863
|
+
onChange={[Function]}
|
|
864
|
+
onContentSizeChange={[Function]}
|
|
865
|
+
onEnter={[Function]}
|
|
866
|
+
onFocus={[Function]}
|
|
867
|
+
onHTMLContentWithCursor={[Function]}
|
|
868
|
+
onKeyDown={[Function]}
|
|
869
|
+
onPaste={[Function]}
|
|
870
|
+
onSelectionChange={[Function]}
|
|
871
|
+
placeholder="Add label…"
|
|
872
|
+
placeholderTextColor="gray"
|
|
873
|
+
selectionColor="black"
|
|
874
|
+
style={
|
|
875
|
+
{
|
|
876
|
+
"backgroundColor": undefined,
|
|
877
|
+
"maxWidth": undefined,
|
|
878
|
+
"minHeight": 0,
|
|
879
|
+
}
|
|
791
880
|
}
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
881
|
+
text={
|
|
882
|
+
{
|
|
883
|
+
"eventCount": undefined,
|
|
884
|
+
"linkTextColor": undefined,
|
|
885
|
+
"selection": null,
|
|
886
|
+
"tag": "p",
|
|
887
|
+
"text": "<p>Search</p>",
|
|
888
|
+
}
|
|
889
|
+
}
|
|
890
|
+
triggerKeyCodes={[]}
|
|
891
|
+
/>
|
|
892
|
+
</View>
|
|
795
893
|
</View>
|
|
796
894
|
</View>
|
|
797
895
|
<View
|