@wordpress/edit-post 8.49.1 → 8.50.1-next.v.202607070741.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/components/back-button/fullscreen-mode-close.cjs +21 -121
- package/build/components/back-button/fullscreen-mode-close.cjs.map +3 -3
- package/build/components/layout/index.cjs +6 -6
- package/build/components/layout/index.cjs.map +2 -2
- package/build/index.cjs +3 -1
- package/build/index.cjs.map +2 -2
- package/build-module/components/back-button/fullscreen-mode-close.mjs +23 -123
- package/build-module/components/back-button/fullscreen-mode-close.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +6 -6
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/index.mjs +3 -1
- package/build-module/index.mjs.map +2 -2
- package/build-style/classic-rtl.css +6 -0
- package/build-style/classic.css +6 -0
- package/build-style/style-rtl.css +24 -99
- package/build-style/style.css +24 -99
- package/package.json +34 -34
- package/src/components/back-button/fullscreen-mode-close.js +14 -139
- package/src/components/back-button/style.scss +9 -49
- package/src/components/layout/index.js +4 -5
- package/src/components/preferences-modal/test/__snapshots__/enable-custom-fields.js.snap +16 -148
- package/src/components/preferences-modal/test/__snapshots__/meta-boxes-section.js.snap +24 -117
- package/src/index.js +3 -1
- package/src/style.scss +13 -6
- package/build-style/experimental-omnibar-rtl.css +0 -50
- package/build-style/experimental-omnibar.css +0 -50
- package/src/experimental-omnibar.scss +0 -67
|
@@ -7,8 +7,11 @@
|
|
|
7
7
|
.edit-post-fullscreen-mode-close__view-mode-toggle {
|
|
8
8
|
top: 0;
|
|
9
9
|
left: 0;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
height: $button-size-compact;
|
|
14
|
+
width: $button-size-compact;
|
|
12
15
|
z-index: 100;
|
|
13
16
|
|
|
14
17
|
.components-button {
|
|
@@ -31,30 +34,11 @@
|
|
|
31
34
|
}
|
|
32
35
|
}
|
|
33
36
|
|
|
34
|
-
.edit-post-fullscreen-mode-
|
|
35
|
-
|
|
36
|
-
img {
|
|
37
|
-
background: $gray-900;
|
|
38
|
-
display: block;
|
|
39
|
-
}
|
|
37
|
+
&:hover .edit-post-fullscreen-mode-close__back-icon {
|
|
38
|
+
color: var(--wp-admin-theme-color);
|
|
40
39
|
}
|
|
41
40
|
}
|
|
42
41
|
|
|
43
|
-
.edit-post-fullscreen-mode-close-site-icon__icon {
|
|
44
|
-
fill: currentColor;
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 100%;
|
|
47
|
-
padding: $grid-unit-15;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.edit-post-fullscreen-mode-close-site-icon__image {
|
|
51
|
-
width: 100%;
|
|
52
|
-
height: 100%;
|
|
53
|
-
object-fit: cover;
|
|
54
|
-
background: #333;
|
|
55
|
-
aspect-ratio: 1 / 1;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
42
|
.edit-post-fullscreen-mode-close.components-button:focus {
|
|
59
43
|
position: relative;
|
|
60
44
|
|
|
@@ -73,38 +57,14 @@
|
|
|
73
57
|
|
|
74
58
|
.edit-post-fullscreen-mode-close__back-icon {
|
|
75
59
|
position: absolute;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
width: $header-height;
|
|
79
|
-
height: $header-height;
|
|
60
|
+
width: $button-size-compact;
|
|
61
|
+
height: $button-size-compact;
|
|
80
62
|
display: flex;
|
|
81
63
|
align-items: center;
|
|
82
64
|
justify-content: center;
|
|
83
|
-
background-color: hsla(0, 0%, 80%);
|
|
84
65
|
pointer-events: none;
|
|
85
66
|
|
|
86
67
|
svg {
|
|
87
68
|
fill: currentColor;
|
|
88
69
|
}
|
|
89
|
-
|
|
90
|
-
&.has-site-icon {
|
|
91
|
-
background-color: hsla(0, 0%, 100%, 0.6);
|
|
92
|
-
-webkit-backdrop-filter: saturate(180%) blur(15px);
|
|
93
|
-
backdrop-filter: saturate(180%) blur(15px);
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Show icon label overrides.
|
|
99
|
-
*/
|
|
100
|
-
.show-icon-labels .editor-header {
|
|
101
|
-
.edit-post-fullscreen-mode-close.has-icon {
|
|
102
|
-
width: $header-height;
|
|
103
|
-
svg {
|
|
104
|
-
display: block;
|
|
105
|
-
}
|
|
106
|
-
&::after {
|
|
107
|
-
content: none;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
70
|
}
|
|
@@ -400,7 +400,6 @@ function Layout( {
|
|
|
400
400
|
showMetaBoxes,
|
|
401
401
|
isWelcomeGuideVisible,
|
|
402
402
|
templateId,
|
|
403
|
-
isDevicePreview,
|
|
404
403
|
} = useSelect(
|
|
405
404
|
( select ) => {
|
|
406
405
|
const { get } = select( preferencesStore );
|
|
@@ -419,8 +418,9 @@ function Layout( {
|
|
|
419
418
|
const { getBlockSelectionStart, isZoomOut } = unlock(
|
|
420
419
|
select( blockEditorStore )
|
|
421
420
|
);
|
|
422
|
-
const { getEditorMode, getDefaultRenderingMode
|
|
423
|
-
|
|
421
|
+
const { getEditorMode, getDefaultRenderingMode } = unlock(
|
|
422
|
+
select( editorStore )
|
|
423
|
+
);
|
|
424
424
|
const isNotDesignPostType =
|
|
425
425
|
! DESIGN_POST_TYPES.includes( currentPostType );
|
|
426
426
|
const isDirectlyEditingPattern =
|
|
@@ -451,7 +451,6 @@ function Layout( {
|
|
|
451
451
|
! isEditingTemplate
|
|
452
452
|
? _templateId
|
|
453
453
|
: null,
|
|
454
|
-
isDevicePreview: getDeviceType() !== 'Desktop',
|
|
455
454
|
};
|
|
456
455
|
},
|
|
457
456
|
[
|
|
@@ -601,7 +600,7 @@ function Layout( {
|
|
|
601
600
|
! isDistractionFree &&
|
|
602
601
|
showMetaBoxes && (
|
|
603
602
|
<MetaBoxesMain
|
|
604
|
-
isLegacy={
|
|
603
|
+
isLegacy={ ! shouldIframe }
|
|
605
604
|
/>
|
|
606
605
|
)
|
|
607
606
|
}
|
|
@@ -17,41 +17,6 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
|
|
|
17
17
|
margin-bottom: inherit;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.emotion-4 {
|
|
21
|
-
display: -webkit-box;
|
|
22
|
-
display: -webkit-flex;
|
|
23
|
-
display: -ms-flexbox;
|
|
24
|
-
display: flex;
|
|
25
|
-
-webkit-align-items: center;
|
|
26
|
-
-webkit-box-align: center;
|
|
27
|
-
-ms-flex-align: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
-webkit-flex-direction: row;
|
|
30
|
-
-ms-flex-direction: row;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
gap: calc(4px * 2);
|
|
33
|
-
-webkit-box-pack: start;
|
|
34
|
-
-ms-flex-pack: start;
|
|
35
|
-
-webkit-justify-content: flex-start;
|
|
36
|
-
justify-content: flex-start;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.emotion-4>* {
|
|
41
|
-
min-width: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.emotion-6 {
|
|
45
|
-
display: block;
|
|
46
|
-
max-height: 100%;
|
|
47
|
-
max-width: 100%;
|
|
48
|
-
min-height: 0;
|
|
49
|
-
min-width: 0;
|
|
50
|
-
-webkit-flex: 1;
|
|
51
|
-
-ms-flex: 1;
|
|
52
|
-
flex: 1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
20
|
<div>
|
|
56
21
|
<div
|
|
57
22
|
class="preference-base-option"
|
|
@@ -63,9 +28,10 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
|
|
|
63
28
|
class="components-base-control__field emotion-2 emotion-3"
|
|
64
29
|
>
|
|
65
30
|
<div
|
|
66
|
-
class="components-flex components-h-stack
|
|
31
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
67
32
|
data-wp-c16t="true"
|
|
68
33
|
data-wp-component="HStack"
|
|
34
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
69
35
|
>
|
|
70
36
|
<span
|
|
71
37
|
class="components-form-toggle is-checked"
|
|
@@ -83,10 +49,11 @@ exports[`EnableCustomFieldsOption renders a checked checkbox and a confirmation
|
|
|
83
49
|
/>
|
|
84
50
|
</span>
|
|
85
51
|
<label
|
|
86
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
52
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
87
53
|
data-wp-c16t="true"
|
|
88
54
|
data-wp-component="FlexBlock"
|
|
89
55
|
for="inspector-toggle-control-3"
|
|
56
|
+
style="--wp-components-flex-item-display: block;"
|
|
90
57
|
/>
|
|
91
58
|
</div>
|
|
92
59
|
</div>
|
|
@@ -123,41 +90,6 @@ exports[`EnableCustomFieldsOption renders a checked checkbox when custom fields
|
|
|
123
90
|
margin-bottom: inherit;
|
|
124
91
|
}
|
|
125
92
|
|
|
126
|
-
.emotion-4 {
|
|
127
|
-
display: -webkit-box;
|
|
128
|
-
display: -webkit-flex;
|
|
129
|
-
display: -ms-flexbox;
|
|
130
|
-
display: flex;
|
|
131
|
-
-webkit-align-items: center;
|
|
132
|
-
-webkit-box-align: center;
|
|
133
|
-
-ms-flex-align: center;
|
|
134
|
-
align-items: center;
|
|
135
|
-
-webkit-flex-direction: row;
|
|
136
|
-
-ms-flex-direction: row;
|
|
137
|
-
flex-direction: row;
|
|
138
|
-
gap: calc(4px * 2);
|
|
139
|
-
-webkit-box-pack: start;
|
|
140
|
-
-ms-flex-pack: start;
|
|
141
|
-
-webkit-justify-content: flex-start;
|
|
142
|
-
justify-content: flex-start;
|
|
143
|
-
width: 100%;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.emotion-4>* {
|
|
147
|
-
min-width: 0;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.emotion-6 {
|
|
151
|
-
display: block;
|
|
152
|
-
max-height: 100%;
|
|
153
|
-
max-width: 100%;
|
|
154
|
-
min-height: 0;
|
|
155
|
-
min-width: 0;
|
|
156
|
-
-webkit-flex: 1;
|
|
157
|
-
-ms-flex: 1;
|
|
158
|
-
flex: 1;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
93
|
<div>
|
|
162
94
|
<div
|
|
163
95
|
class="preference-base-option"
|
|
@@ -169,9 +101,10 @@ exports[`EnableCustomFieldsOption renders a checked checkbox when custom fields
|
|
|
169
101
|
class="components-base-control__field emotion-2 emotion-3"
|
|
170
102
|
>
|
|
171
103
|
<div
|
|
172
|
-
class="components-flex components-h-stack
|
|
104
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
173
105
|
data-wp-c16t="true"
|
|
174
106
|
data-wp-component="HStack"
|
|
107
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
175
108
|
>
|
|
176
109
|
<span
|
|
177
110
|
class="components-form-toggle is-checked"
|
|
@@ -190,10 +123,11 @@ exports[`EnableCustomFieldsOption renders a checked checkbox when custom fields
|
|
|
190
123
|
/>
|
|
191
124
|
</span>
|
|
192
125
|
<label
|
|
193
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
126
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
194
127
|
data-wp-c16t="true"
|
|
195
128
|
data-wp-component="FlexBlock"
|
|
196
129
|
for="inspector-toggle-control-0"
|
|
130
|
+
style="--wp-components-flex-item-display: block;"
|
|
197
131
|
/>
|
|
198
132
|
</div>
|
|
199
133
|
</div>
|
|
@@ -219,41 +153,6 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox and a confirmati
|
|
|
219
153
|
margin-bottom: inherit;
|
|
220
154
|
}
|
|
221
155
|
|
|
222
|
-
.emotion-4 {
|
|
223
|
-
display: -webkit-box;
|
|
224
|
-
display: -webkit-flex;
|
|
225
|
-
display: -ms-flexbox;
|
|
226
|
-
display: flex;
|
|
227
|
-
-webkit-align-items: center;
|
|
228
|
-
-webkit-box-align: center;
|
|
229
|
-
-ms-flex-align: center;
|
|
230
|
-
align-items: center;
|
|
231
|
-
-webkit-flex-direction: row;
|
|
232
|
-
-ms-flex-direction: row;
|
|
233
|
-
flex-direction: row;
|
|
234
|
-
gap: calc(4px * 2);
|
|
235
|
-
-webkit-box-pack: start;
|
|
236
|
-
-ms-flex-pack: start;
|
|
237
|
-
-webkit-justify-content: flex-start;
|
|
238
|
-
justify-content: flex-start;
|
|
239
|
-
width: 100%;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.emotion-4>* {
|
|
243
|
-
min-width: 0;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.emotion-6 {
|
|
247
|
-
display: block;
|
|
248
|
-
max-height: 100%;
|
|
249
|
-
max-width: 100%;
|
|
250
|
-
min-height: 0;
|
|
251
|
-
min-width: 0;
|
|
252
|
-
-webkit-flex: 1;
|
|
253
|
-
-ms-flex: 1;
|
|
254
|
-
flex: 1;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
156
|
<div>
|
|
258
157
|
<div
|
|
259
158
|
class="preference-base-option"
|
|
@@ -265,9 +164,10 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox and a confirmati
|
|
|
265
164
|
class="components-base-control__field emotion-2 emotion-3"
|
|
266
165
|
>
|
|
267
166
|
<div
|
|
268
|
-
class="components-flex components-h-stack
|
|
167
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
269
168
|
data-wp-c16t="true"
|
|
270
169
|
data-wp-component="HStack"
|
|
170
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
271
171
|
>
|
|
272
172
|
<span
|
|
273
173
|
class="components-form-toggle"
|
|
@@ -286,10 +186,11 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox and a confirmati
|
|
|
286
186
|
/>
|
|
287
187
|
</span>
|
|
288
188
|
<label
|
|
289
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
189
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
290
190
|
data-wp-c16t="true"
|
|
291
191
|
data-wp-component="FlexBlock"
|
|
292
192
|
for="inspector-toggle-control-2"
|
|
193
|
+
style="--wp-components-flex-item-display: block;"
|
|
293
194
|
/>
|
|
294
195
|
</div>
|
|
295
196
|
</div>
|
|
@@ -326,41 +227,6 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox when custom fiel
|
|
|
326
227
|
margin-bottom: inherit;
|
|
327
228
|
}
|
|
328
229
|
|
|
329
|
-
.emotion-4 {
|
|
330
|
-
display: -webkit-box;
|
|
331
|
-
display: -webkit-flex;
|
|
332
|
-
display: -ms-flexbox;
|
|
333
|
-
display: flex;
|
|
334
|
-
-webkit-align-items: center;
|
|
335
|
-
-webkit-box-align: center;
|
|
336
|
-
-ms-flex-align: center;
|
|
337
|
-
align-items: center;
|
|
338
|
-
-webkit-flex-direction: row;
|
|
339
|
-
-ms-flex-direction: row;
|
|
340
|
-
flex-direction: row;
|
|
341
|
-
gap: calc(4px * 2);
|
|
342
|
-
-webkit-box-pack: start;
|
|
343
|
-
-ms-flex-pack: start;
|
|
344
|
-
-webkit-justify-content: flex-start;
|
|
345
|
-
justify-content: flex-start;
|
|
346
|
-
width: 100%;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
.emotion-4>* {
|
|
350
|
-
min-width: 0;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.emotion-6 {
|
|
354
|
-
display: block;
|
|
355
|
-
max-height: 100%;
|
|
356
|
-
max-width: 100%;
|
|
357
|
-
min-height: 0;
|
|
358
|
-
min-width: 0;
|
|
359
|
-
-webkit-flex: 1;
|
|
360
|
-
-ms-flex: 1;
|
|
361
|
-
flex: 1;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
230
|
<div>
|
|
365
231
|
<div
|
|
366
232
|
class="preference-base-option"
|
|
@@ -372,9 +238,10 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox when custom fiel
|
|
|
372
238
|
class="components-base-control__field emotion-2 emotion-3"
|
|
373
239
|
>
|
|
374
240
|
<div
|
|
375
|
-
class="components-flex components-h-stack
|
|
241
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
376
242
|
data-wp-c16t="true"
|
|
377
243
|
data-wp-component="HStack"
|
|
244
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
378
245
|
>
|
|
379
246
|
<span
|
|
380
247
|
class="components-form-toggle"
|
|
@@ -392,10 +259,11 @@ exports[`EnableCustomFieldsOption renders an unchecked checkbox when custom fiel
|
|
|
392
259
|
/>
|
|
393
260
|
</span>
|
|
394
261
|
<label
|
|
395
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
262
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
396
263
|
data-wp-c16t="true"
|
|
397
264
|
data-wp-component="FlexBlock"
|
|
398
265
|
for="inspector-toggle-control-1"
|
|
266
|
+
style="--wp-components-flex-item-display: block;"
|
|
399
267
|
/>
|
|
400
268
|
</div>
|
|
401
269
|
</div>
|
|
@@ -17,41 +17,6 @@ exports[`MetaBoxesSection renders a Custom Fields option 1`] = `
|
|
|
17
17
|
margin-bottom: inherit;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
.emotion-4 {
|
|
21
|
-
display: -webkit-box;
|
|
22
|
-
display: -webkit-flex;
|
|
23
|
-
display: -ms-flexbox;
|
|
24
|
-
display: flex;
|
|
25
|
-
-webkit-align-items: center;
|
|
26
|
-
-webkit-box-align: center;
|
|
27
|
-
-ms-flex-align: center;
|
|
28
|
-
align-items: center;
|
|
29
|
-
-webkit-flex-direction: row;
|
|
30
|
-
-ms-flex-direction: row;
|
|
31
|
-
flex-direction: row;
|
|
32
|
-
gap: calc(4px * 2);
|
|
33
|
-
-webkit-box-pack: start;
|
|
34
|
-
-ms-flex-pack: start;
|
|
35
|
-
-webkit-justify-content: flex-start;
|
|
36
|
-
justify-content: flex-start;
|
|
37
|
-
width: 100%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.emotion-4>* {
|
|
41
|
-
min-width: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.emotion-6 {
|
|
45
|
-
display: block;
|
|
46
|
-
max-height: 100%;
|
|
47
|
-
max-width: 100%;
|
|
48
|
-
min-height: 0;
|
|
49
|
-
min-width: 0;
|
|
50
|
-
-webkit-flex: 1;
|
|
51
|
-
-ms-flex: 1;
|
|
52
|
-
flex: 1;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
20
|
<fieldset
|
|
56
21
|
class="preferences-modal__section"
|
|
57
22
|
>
|
|
@@ -77,9 +42,10 @@ exports[`MetaBoxesSection renders a Custom Fields option 1`] = `
|
|
|
77
42
|
class="components-base-control__field emotion-2 emotion-3"
|
|
78
43
|
>
|
|
79
44
|
<div
|
|
80
|
-
class="components-flex components-h-stack
|
|
45
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
81
46
|
data-wp-c16t="true"
|
|
82
47
|
data-wp-component="HStack"
|
|
48
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
83
49
|
>
|
|
84
50
|
<span
|
|
85
51
|
class="components-form-toggle"
|
|
@@ -97,10 +63,11 @@ exports[`MetaBoxesSection renders a Custom Fields option 1`] = `
|
|
|
97
63
|
/>
|
|
98
64
|
</span>
|
|
99
65
|
<label
|
|
100
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
66
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
101
67
|
data-wp-c16t="true"
|
|
102
68
|
data-wp-component="FlexBlock"
|
|
103
69
|
for="inspector-toggle-control-0"
|
|
70
|
+
style="--wp-components-flex-item-display: block;"
|
|
104
71
|
>
|
|
105
72
|
Custom fields
|
|
106
73
|
</label>
|
|
@@ -129,41 +96,6 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
129
96
|
margin-bottom: inherit;
|
|
130
97
|
}
|
|
131
98
|
|
|
132
|
-
.emotion-4 {
|
|
133
|
-
display: -webkit-box;
|
|
134
|
-
display: -webkit-flex;
|
|
135
|
-
display: -ms-flexbox;
|
|
136
|
-
display: flex;
|
|
137
|
-
-webkit-align-items: center;
|
|
138
|
-
-webkit-box-align: center;
|
|
139
|
-
-ms-flex-align: center;
|
|
140
|
-
align-items: center;
|
|
141
|
-
-webkit-flex-direction: row;
|
|
142
|
-
-ms-flex-direction: row;
|
|
143
|
-
flex-direction: row;
|
|
144
|
-
gap: calc(4px * 2);
|
|
145
|
-
-webkit-box-pack: start;
|
|
146
|
-
-ms-flex-pack: start;
|
|
147
|
-
-webkit-justify-content: flex-start;
|
|
148
|
-
justify-content: flex-start;
|
|
149
|
-
width: 100%;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.emotion-4>* {
|
|
153
|
-
min-width: 0;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
.emotion-6 {
|
|
157
|
-
display: block;
|
|
158
|
-
max-height: 100%;
|
|
159
|
-
max-width: 100%;
|
|
160
|
-
min-height: 0;
|
|
161
|
-
min-width: 0;
|
|
162
|
-
-webkit-flex: 1;
|
|
163
|
-
-ms-flex: 1;
|
|
164
|
-
flex: 1;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
99
|
<fieldset
|
|
168
100
|
class="preferences-modal__section"
|
|
169
101
|
>
|
|
@@ -189,9 +121,10 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
189
121
|
class="components-base-control__field emotion-2 emotion-3"
|
|
190
122
|
>
|
|
191
123
|
<div
|
|
192
|
-
class="components-flex components-h-stack
|
|
124
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
193
125
|
data-wp-c16t="true"
|
|
194
126
|
data-wp-component="HStack"
|
|
127
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
195
128
|
>
|
|
196
129
|
<span
|
|
197
130
|
class="components-form-toggle"
|
|
@@ -209,10 +142,11 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
209
142
|
/>
|
|
210
143
|
</span>
|
|
211
144
|
<label
|
|
212
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
145
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
213
146
|
data-wp-c16t="true"
|
|
214
147
|
data-wp-component="FlexBlock"
|
|
215
148
|
for="inspector-toggle-control-3"
|
|
149
|
+
style="--wp-components-flex-item-display: block;"
|
|
216
150
|
>
|
|
217
151
|
Custom fields
|
|
218
152
|
</label>
|
|
@@ -230,9 +164,10 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
230
164
|
class="components-base-control__field emotion-2 emotion-3"
|
|
231
165
|
>
|
|
232
166
|
<div
|
|
233
|
-
class="components-flex components-h-stack
|
|
167
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
234
168
|
data-wp-c16t="true"
|
|
235
169
|
data-wp-component="HStack"
|
|
170
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
236
171
|
>
|
|
237
172
|
<span
|
|
238
173
|
class="components-form-toggle is-checked"
|
|
@@ -251,10 +186,11 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
251
186
|
/>
|
|
252
187
|
</span>
|
|
253
188
|
<label
|
|
254
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
189
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
255
190
|
data-wp-c16t="true"
|
|
256
191
|
data-wp-component="FlexBlock"
|
|
257
192
|
for="inspector-toggle-control-4"
|
|
193
|
+
style="--wp-components-flex-item-display: block;"
|
|
258
194
|
>
|
|
259
195
|
Meta Box 1
|
|
260
196
|
</label>
|
|
@@ -272,9 +208,10 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
272
208
|
class="components-base-control__field emotion-2 emotion-3"
|
|
273
209
|
>
|
|
274
210
|
<div
|
|
275
|
-
class="components-flex components-h-stack
|
|
211
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
276
212
|
data-wp-c16t="true"
|
|
277
213
|
data-wp-component="HStack"
|
|
214
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
278
215
|
>
|
|
279
216
|
<span
|
|
280
217
|
class="components-form-toggle is-checked"
|
|
@@ -293,10 +230,11 @@ exports[`MetaBoxesSection renders a Custom Fields option and meta box options 1`
|
|
|
293
230
|
/>
|
|
294
231
|
</span>
|
|
295
232
|
<label
|
|
296
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
233
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
297
234
|
data-wp-c16t="true"
|
|
298
235
|
data-wp-component="FlexBlock"
|
|
299
236
|
for="inspector-toggle-control-5"
|
|
237
|
+
style="--wp-components-flex-item-display: block;"
|
|
300
238
|
>
|
|
301
239
|
Meta Box 2
|
|
302
240
|
</label>
|
|
@@ -325,41 +263,6 @@ exports[`MetaBoxesSection renders meta box options 1`] = `
|
|
|
325
263
|
margin-bottom: inherit;
|
|
326
264
|
}
|
|
327
265
|
|
|
328
|
-
.emotion-4 {
|
|
329
|
-
display: -webkit-box;
|
|
330
|
-
display: -webkit-flex;
|
|
331
|
-
display: -ms-flexbox;
|
|
332
|
-
display: flex;
|
|
333
|
-
-webkit-align-items: center;
|
|
334
|
-
-webkit-box-align: center;
|
|
335
|
-
-ms-flex-align: center;
|
|
336
|
-
align-items: center;
|
|
337
|
-
-webkit-flex-direction: row;
|
|
338
|
-
-ms-flex-direction: row;
|
|
339
|
-
flex-direction: row;
|
|
340
|
-
gap: calc(4px * 2);
|
|
341
|
-
-webkit-box-pack: start;
|
|
342
|
-
-ms-flex-pack: start;
|
|
343
|
-
-webkit-justify-content: flex-start;
|
|
344
|
-
justify-content: flex-start;
|
|
345
|
-
width: 100%;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
.emotion-4>* {
|
|
349
|
-
min-width: 0;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.emotion-6 {
|
|
353
|
-
display: block;
|
|
354
|
-
max-height: 100%;
|
|
355
|
-
max-width: 100%;
|
|
356
|
-
min-height: 0;
|
|
357
|
-
min-width: 0;
|
|
358
|
-
-webkit-flex: 1;
|
|
359
|
-
-ms-flex: 1;
|
|
360
|
-
flex: 1;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
266
|
<fieldset
|
|
364
267
|
class="preferences-modal__section"
|
|
365
268
|
>
|
|
@@ -385,9 +288,10 @@ exports[`MetaBoxesSection renders meta box options 1`] = `
|
|
|
385
288
|
class="components-base-control__field emotion-2 emotion-3"
|
|
386
289
|
>
|
|
387
290
|
<div
|
|
388
|
-
class="components-flex components-h-stack
|
|
291
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
389
292
|
data-wp-c16t="true"
|
|
390
293
|
data-wp-component="HStack"
|
|
294
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
391
295
|
>
|
|
392
296
|
<span
|
|
393
297
|
class="components-form-toggle is-checked"
|
|
@@ -406,10 +310,11 @@ exports[`MetaBoxesSection renders meta box options 1`] = `
|
|
|
406
310
|
/>
|
|
407
311
|
</span>
|
|
408
312
|
<label
|
|
409
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
313
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
410
314
|
data-wp-c16t="true"
|
|
411
315
|
data-wp-component="FlexBlock"
|
|
412
316
|
for="inspector-toggle-control-1"
|
|
317
|
+
style="--wp-components-flex-item-display: block;"
|
|
413
318
|
>
|
|
414
319
|
Meta Box 1
|
|
415
320
|
</label>
|
|
@@ -427,9 +332,10 @@ exports[`MetaBoxesSection renders meta box options 1`] = `
|
|
|
427
332
|
class="components-base-control__field emotion-2 emotion-3"
|
|
428
333
|
>
|
|
429
334
|
<div
|
|
430
|
-
class="components-flex components-h-stack
|
|
335
|
+
class="style-flex style-items-row style-expanded-row components-flex components-h-stack"
|
|
431
336
|
data-wp-c16t="true"
|
|
432
337
|
data-wp-component="HStack"
|
|
338
|
+
style="--wp-components-flex-align: center; --wp-components-flex-direction: row; --wp-components-flex-wrap: nowrap; --wp-components-flex-gap: calc(4px * 2); --wp-components-flex-justify: flex-start;"
|
|
433
339
|
>
|
|
434
340
|
<span
|
|
435
341
|
class="components-form-toggle is-checked"
|
|
@@ -448,10 +354,11 @@ exports[`MetaBoxesSection renders meta box options 1`] = `
|
|
|
448
354
|
/>
|
|
449
355
|
</span>
|
|
450
356
|
<label
|
|
451
|
-
class="components-flex-item components-flex-block components-toggle-control__label
|
|
357
|
+
class="style-item style-block components-flex-item components-flex-block components-toggle-control__label"
|
|
452
358
|
data-wp-c16t="true"
|
|
453
359
|
data-wp-component="FlexBlock"
|
|
454
360
|
for="inspector-toggle-control-2"
|
|
361
|
+
style="--wp-components-flex-item-display: block;"
|
|
455
362
|
>
|
|
456
363
|
Meta Box 2
|
|
457
364
|
</label>
|
package/src/index.js
CHANGED
|
@@ -79,7 +79,9 @@ export function initializeEditor(
|
|
|
79
79
|
enableChoosePatternModal: true,
|
|
80
80
|
isPublishSidebarEnabled: true,
|
|
81
81
|
showCollaborationCursor: false,
|
|
82
|
-
|
|
82
|
+
showCollaborationJoinNotifications: true,
|
|
83
|
+
showCollaborationLeaveNotifications: true,
|
|
84
|
+
showCollaborationPostSaveNotifications: true,
|
|
83
85
|
} );
|
|
84
86
|
|
|
85
87
|
if ( window.__clientSideMediaProcessing ) {
|