@wordpress/edit-post 8.50.0 → 8.51.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/components/back-button/fullscreen-mode-close.cjs +11 -119
  3. package/build/components/back-button/fullscreen-mode-close.cjs.map +3 -3
  4. package/build/components/layout/index.cjs +3 -14
  5. package/build/components/layout/index.cjs.map +2 -2
  6. package/build/index.cjs +12 -1
  7. package/build/index.cjs.map +2 -2
  8. package/build-module/components/back-button/fullscreen-mode-close.mjs +14 -122
  9. package/build-module/components/back-button/fullscreen-mode-close.mjs.map +2 -2
  10. package/build-module/components/layout/index.mjs +3 -14
  11. package/build-module/components/layout/index.mjs.map +2 -2
  12. package/build-module/index.mjs +12 -1
  13. package/build-module/index.mjs.map +2 -2
  14. package/build-style/classic-rtl.css +6 -0
  15. package/build-style/classic.css +6 -0
  16. package/build-style/style-rtl.css +21 -155
  17. package/build-style/style.css +21 -155
  18. package/package.json +36 -36
  19. package/src/components/back-button/fullscreen-mode-close.js +13 -145
  20. package/src/components/layout/index.js +3 -18
  21. package/src/components/meta-boxes/meta-boxes-area/style.scss +1 -1
  22. package/src/components/preferences-modal/test/__snapshots__/enable-custom-fields.js.snap +20 -152
  23. package/src/components/preferences-modal/test/__snapshots__/meta-boxes-section.js.snap +27 -120
  24. package/src/index.js +14 -1
  25. package/src/style.scss +14 -8
  26. package/build/components/layout/use-should-iframe.cjs +0 -56
  27. package/build/components/layout/use-should-iframe.cjs.map +0 -7
  28. package/build-module/components/layout/use-should-iframe.mjs +0 -32
  29. package/build-module/components/layout/use-should-iframe.mjs.map +0 -7
  30. package/build-style/experimental-omnibar-rtl.css +0 -50
  31. package/build-style/experimental-omnibar.css +0 -50
  32. package/src/components/back-button/style.scss +0 -110
  33. package/src/components/layout/use-should-iframe.js +0 -45
  34. package/src/experimental-omnibar.scss +0 -67
@@ -67,6 +67,12 @@
67
67
  /**
68
68
  * Focus styles.
69
69
  */
70
+ /**
71
+ * Standard focus rings for the WordPress Design System.
72
+ *
73
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
75
+ */
70
76
  /**
71
77
  * Applies editor left position to the selector passed as argument
72
78
  */
@@ -106,100 +112,6 @@
106
112
  }
107
113
  }
108
114
 
109
- .edit-post-fullscreen-mode-close__view-mode-toggle {
110
- top: 0;
111
- right: 0;
112
- height: 64px;
113
- width: 64px;
114
- z-index: 100;
115
- }
116
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button {
117
- color: #fff;
118
- height: 100%;
119
- width: 100%;
120
- border-radius: 0;
121
- overflow: hidden;
122
- padding: 0;
123
- display: flex;
124
- align-items: center;
125
- justify-content: center;
126
- }
127
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:hover, .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:active {
128
- color: #fff;
129
- }
130
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:focus {
131
- box-shadow: none;
132
- }
133
- .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon svg,
134
- .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon img {
135
- background: #1e1e1e;
136
- display: block;
137
- }
138
-
139
- .edit-post-fullscreen-mode-close-site-icon__icon {
140
- fill: currentColor;
141
- width: 100%;
142
- height: 100%;
143
- padding: 12px;
144
- }
145
-
146
- .edit-post-fullscreen-mode-close-site-icon__image {
147
- width: 100%;
148
- height: 100%;
149
- -o-object-fit: cover;
150
- object-fit: cover;
151
- background: #333;
152
- aspect-ratio: 1/1;
153
- }
154
-
155
- .edit-post-fullscreen-mode-close.components-button:focus {
156
- position: relative;
157
- }
158
- .edit-post-fullscreen-mode-close.components-button:focus::before {
159
- content: "";
160
- display: block;
161
- position: absolute;
162
- z-index: 1;
163
- top: 0;
164
- left: 0;
165
- bottom: 0;
166
- right: 0;
167
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 calc(1px + var(--wp-admin-border-width-focus)) #fff;
168
- }
169
-
170
- .edit-post-fullscreen-mode-close__back-icon {
171
- position: absolute;
172
- top: 0;
173
- right: 0;
174
- width: 64px;
175
- height: 64px;
176
- display: flex;
177
- align-items: center;
178
- justify-content: center;
179
- background-color: hsl(0, 0%, 80%);
180
- pointer-events: none;
181
- }
182
- .edit-post-fullscreen-mode-close__back-icon svg {
183
- fill: currentColor;
184
- }
185
- .edit-post-fullscreen-mode-close__back-icon.has-site-icon {
186
- background-color: hsla(0, 0%, 100%, 0.6);
187
- backdrop-filter: saturate(180%) blur(15px);
188
- }
189
-
190
- /**
191
- * Show icon label overrides.
192
- */
193
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon {
194
- width: 64px;
195
- }
196
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon svg {
197
- display: block;
198
- }
199
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon::after {
200
- content: none;
201
- }
202
-
203
115
  .edit-post-meta-boxes-main {
204
116
  filter: drop-shadow(0 -1px rgba(0, 0, 0, 0.133));
205
117
  outline: 1px solid transparent;
@@ -357,7 +269,7 @@
357
269
  .edit-post-meta-boxes-area #poststuff h2.hndle { /* WordPress selectors yolo */
358
270
  box-sizing: border-box;
359
271
  color: inherit;
360
- font-weight: 600;
272
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
361
273
  outline: none;
362
274
  padding: 0 24px;
363
275
  position: relative;
@@ -419,7 +331,7 @@
419
331
  }
420
332
  .edit-post-welcome-guide__heading,
421
333
  .edit-template-welcome-guide__heading {
422
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
334
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
423
335
  font-size: 24px;
424
336
  line-height: 1.4;
425
337
  margin: 16px 0 16px 0;
@@ -446,57 +358,6 @@
446
358
  fill: #fff;
447
359
  }
448
360
 
449
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle {
450
- display: flex;
451
- align-items: center;
452
- justify-content: center;
453
- width: 32px;
454
- height: 32px;
455
- }
456
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__back-icon {
457
- top: auto;
458
- right: auto;
459
- width: 32px;
460
- height: 32px;
461
- background: transparent;
462
- }
463
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle:hover .edit-post-fullscreen-mode-close__back-icon {
464
- color: var(--wp-admin-theme-color);
465
- }
466
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header:has(> .editor-header__back-button) {
467
- grid-template-columns: 32px minmax(0, max-content) minmax(min-content, 1fr) 64px;
468
- }
469
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header:has(> .editor-header__back-button):has(> .editor-header__center) {
470
- grid-template-columns: 32px min-content 1fr min-content 64px;
471
- }
472
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header__back-button {
473
- padding-right: 8px;
474
- }
475
- @media (min-width: 782px) {
476
- body.has-admin-bar-in-editor.is-fullscreen-mode {
477
- margin-top: 0;
478
- height: 100%;
479
- }
480
- body.has-admin-bar-in-editor.is-fullscreen-mode #wpadminbar {
481
- display: block;
482
- }
483
- body.has-admin-bar-in-editor.is-fullscreen-mode .interface-interface-skeleton,
484
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-post-publish-panel,
485
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus,
486
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
487
- top: var(--wp-admin--admin-bar--height, 0);
488
- }
489
- body.has-admin-bar-in-editor.is-fullscreen-mode .block-editor__container {
490
- min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
491
- }
492
- body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) {
493
- --wp-admin--admin-bar--height: 0;
494
- }
495
- body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
496
- display: none;
497
- }
498
- }
499
-
500
361
  body.js.block-editor-page {
501
362
  background: #fff;
502
363
  }
@@ -528,6 +389,14 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
528
389
  width: auto;
529
390
  max-width: 100%;
530
391
  }
392
+ @media (min-width: 782px) {
393
+ body.js.block-editor-page.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) {
394
+ --wp-admin--admin-bar--height: 0px;
395
+ }
396
+ body.js.block-editor-page.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
397
+ display: none;
398
+ }
399
+ }
531
400
 
532
401
  .block-editor-page #wpwrap {
533
402
  overflow-y: auto;
@@ -538,12 +407,12 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
538
407
  }
539
408
  }
540
409
 
541
- .edit-post-visual-editor.is-iframed {
410
+ .edit-post-visual-editor {
542
411
  box-sizing: border-box;
543
412
  }
544
- .edit-post-visual-editor.is-iframed *,
545
- .edit-post-visual-editor.is-iframed *::before,
546
- .edit-post-visual-editor.is-iframed *::after {
413
+ .edit-post-visual-editor *,
414
+ .edit-post-visual-editor *::before,
415
+ .edit-post-visual-editor *::after {
547
416
  box-sizing: inherit;
548
417
  }
549
418
 
@@ -559,10 +428,7 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
559
428
  }
560
429
  @media (min-width: 782px) {
561
430
  .block-editor__container {
562
- min-height: calc(100vh - 32px);
563
- }
564
- body.is-fullscreen-mode .block-editor__container {
565
- min-height: 100vh;
431
+ min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
566
432
  }
567
433
  }
568
434
  .block-editor__container img {
@@ -67,6 +67,12 @@
67
67
  /**
68
68
  * Focus styles.
69
69
  */
70
+ /**
71
+ * Standard focus rings for the WordPress Design System.
72
+ *
73
+ * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
74
+ * e.g. `&:focus { @include outset-ring__focus(); }`.
75
+ */
70
76
  /**
71
77
  * Applies editor left position to the selector passed as argument
72
78
  */
@@ -106,100 +112,6 @@
106
112
  }
107
113
  }
108
114
 
109
- .edit-post-fullscreen-mode-close__view-mode-toggle {
110
- top: 0;
111
- left: 0;
112
- height: 64px;
113
- width: 64px;
114
- z-index: 100;
115
- }
116
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button {
117
- color: #fff;
118
- height: 100%;
119
- width: 100%;
120
- border-radius: 0;
121
- overflow: hidden;
122
- padding: 0;
123
- display: flex;
124
- align-items: center;
125
- justify-content: center;
126
- }
127
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:hover, .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:active {
128
- color: #fff;
129
- }
130
- .edit-post-fullscreen-mode-close__view-mode-toggle .components-button:focus {
131
- box-shadow: none;
132
- }
133
- .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon svg,
134
- .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__view-mode-toggle-icon img {
135
- background: #1e1e1e;
136
- display: block;
137
- }
138
-
139
- .edit-post-fullscreen-mode-close-site-icon__icon {
140
- fill: currentColor;
141
- width: 100%;
142
- height: 100%;
143
- padding: 12px;
144
- }
145
-
146
- .edit-post-fullscreen-mode-close-site-icon__image {
147
- width: 100%;
148
- height: 100%;
149
- -o-object-fit: cover;
150
- object-fit: cover;
151
- background: #333;
152
- aspect-ratio: 1/1;
153
- }
154
-
155
- .edit-post-fullscreen-mode-close.components-button:focus {
156
- position: relative;
157
- }
158
- .edit-post-fullscreen-mode-close.components-button:focus::before {
159
- content: "";
160
- display: block;
161
- position: absolute;
162
- z-index: 1;
163
- top: 0;
164
- right: 0;
165
- bottom: 0;
166
- left: 0;
167
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 calc(1px + var(--wp-admin-border-width-focus)) #fff;
168
- }
169
-
170
- .edit-post-fullscreen-mode-close__back-icon {
171
- position: absolute;
172
- top: 0;
173
- left: 0;
174
- width: 64px;
175
- height: 64px;
176
- display: flex;
177
- align-items: center;
178
- justify-content: center;
179
- background-color: hsl(0, 0%, 80%);
180
- pointer-events: none;
181
- }
182
- .edit-post-fullscreen-mode-close__back-icon svg {
183
- fill: currentColor;
184
- }
185
- .edit-post-fullscreen-mode-close__back-icon.has-site-icon {
186
- background-color: hsla(0, 0%, 100%, 0.6);
187
- backdrop-filter: saturate(180%) blur(15px);
188
- }
189
-
190
- /**
191
- * Show icon label overrides.
192
- */
193
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon {
194
- width: 64px;
195
- }
196
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon svg {
197
- display: block;
198
- }
199
- .show-icon-labels .editor-header .edit-post-fullscreen-mode-close.has-icon::after {
200
- content: none;
201
- }
202
-
203
115
  .edit-post-meta-boxes-main {
204
116
  filter: drop-shadow(0 -1px rgba(0, 0, 0, 0.133));
205
117
  outline: 1px solid transparent;
@@ -357,7 +269,7 @@
357
269
  .edit-post-meta-boxes-area #poststuff h2.hndle { /* WordPress selectors yolo */
358
270
  box-sizing: border-box;
359
271
  color: inherit;
360
- font-weight: 600;
272
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
361
273
  outline: none;
362
274
  padding: 0 24px;
363
275
  position: relative;
@@ -419,7 +331,7 @@
419
331
  }
420
332
  .edit-post-welcome-guide__heading,
421
333
  .edit-template-welcome-guide__heading {
422
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
334
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
423
335
  font-size: 24px;
424
336
  line-height: 1.4;
425
337
  margin: 16px 0 16px 0;
@@ -446,57 +358,6 @@
446
358
  fill: #fff;
447
359
  }
448
360
 
449
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle {
450
- display: flex;
451
- align-items: center;
452
- justify-content: center;
453
- width: 32px;
454
- height: 32px;
455
- }
456
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle .edit-post-fullscreen-mode-close__back-icon {
457
- top: auto;
458
- left: auto;
459
- width: 32px;
460
- height: 32px;
461
- background: transparent;
462
- }
463
- body.has-admin-bar-in-editor .edit-post-fullscreen-mode-close__view-mode-toggle:hover .edit-post-fullscreen-mode-close__back-icon {
464
- color: var(--wp-admin-theme-color);
465
- }
466
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header:has(> .editor-header__back-button) {
467
- grid-template-columns: 32px minmax(0, max-content) minmax(min-content, 1fr) 64px;
468
- }
469
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header:has(> .editor-header__back-button):has(> .editor-header__center) {
470
- grid-template-columns: 32px min-content 1fr min-content 64px;
471
- }
472
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-header__back-button {
473
- padding-left: 8px;
474
- }
475
- @media (min-width: 782px) {
476
- body.has-admin-bar-in-editor.is-fullscreen-mode {
477
- margin-top: 0;
478
- height: 100%;
479
- }
480
- body.has-admin-bar-in-editor.is-fullscreen-mode #wpadminbar {
481
- display: block;
482
- }
483
- body.has-admin-bar-in-editor.is-fullscreen-mode .interface-interface-skeleton,
484
- body.has-admin-bar-in-editor.is-fullscreen-mode .editor-post-publish-panel,
485
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus,
486
- body.has-admin-bar-in-editor.is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
487
- top: var(--wp-admin--admin-bar--height, 0);
488
- }
489
- body.has-admin-bar-in-editor.is-fullscreen-mode .block-editor__container {
490
- min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0));
491
- }
492
- body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) {
493
- --wp-admin--admin-bar--height: 0;
494
- }
495
- body.has-admin-bar-in-editor.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
496
- display: none;
497
- }
498
- }
499
-
500
361
  body.js.block-editor-page {
501
362
  background: #fff;
502
363
  }
@@ -528,6 +389,14 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
528
389
  width: auto;
529
390
  max-width: 100%;
530
391
  }
392
+ @media (min-width: 782px) {
393
+ body.js.block-editor-page.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) {
394
+ --wp-admin--admin-bar--height: 0px;
395
+ }
396
+ body.js.block-editor-page.is-fullscreen-mode:has(.editor-editor-interface.is-distraction-free) #wpadminbar {
397
+ display: none;
398
+ }
399
+ }
531
400
 
532
401
  .block-editor-page #wpwrap {
533
402
  overflow-y: auto;
@@ -538,12 +407,12 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
538
407
  }
539
408
  }
540
409
 
541
- .edit-post-visual-editor.is-iframed {
410
+ .edit-post-visual-editor {
542
411
  box-sizing: border-box;
543
412
  }
544
- .edit-post-visual-editor.is-iframed *,
545
- .edit-post-visual-editor.is-iframed *::before,
546
- .edit-post-visual-editor.is-iframed *::after {
413
+ .edit-post-visual-editor *,
414
+ .edit-post-visual-editor *::before,
415
+ .edit-post-visual-editor *::after {
547
416
  box-sizing: inherit;
548
417
  }
549
418
 
@@ -559,10 +428,7 @@ body.js.block-editor-page .media-frame select.attachment-filters:last-of-type {
559
428
  }
560
429
  @media (min-width: 782px) {
561
430
  .block-editor__container {
562
- min-height: calc(100vh - 32px);
563
- }
564
- body.is-fullscreen-mode .block-editor__container {
565
- min-height: 100vh;
431
+ min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
566
432
  }
567
433
  }
568
434
  .block-editor__container img {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-post",
3
- "version": "8.50.0",
3
+ "version": "8.51.0",
4
4
  "description": "Edit Post module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -47,38 +47,38 @@
47
47
  "postbox"
48
48
  ],
49
49
  "dependencies": {
50
- "@wordpress/a11y": "^4.50.0",
51
- "@wordpress/admin-ui": "^2.5.0",
52
- "@wordpress/api-fetch": "^7.50.0",
53
- "@wordpress/base-styles": "^10.2.0",
54
- "@wordpress/block-editor": "^15.23.0",
55
- "@wordpress/block-library": "^10.1.0",
56
- "@wordpress/blocks": "^15.23.0",
57
- "@wordpress/commands": "^1.50.0",
58
- "@wordpress/components": "^36.1.0",
59
- "@wordpress/compose": "^8.3.0",
60
- "@wordpress/core-data": "^7.50.0",
61
- "@wordpress/data": "^10.50.0",
62
- "@wordpress/deprecated": "^4.50.0",
63
- "@wordpress/dom": "^4.50.0",
64
- "@wordpress/editor": "^14.50.0",
65
- "@wordpress/element": "^8.2.0",
66
- "@wordpress/global-styles-engine": "^1.17.0",
67
- "@wordpress/hooks": "^4.50.0",
68
- "@wordpress/html-entities": "^4.50.0",
69
- "@wordpress/i18n": "^6.23.0",
70
- "@wordpress/icons": "^15.1.0",
71
- "@wordpress/keyboard-shortcuts": "^5.50.0",
72
- "@wordpress/keycodes": "^4.50.0",
73
- "@wordpress/notices": "^5.50.0",
74
- "@wordpress/plugins": "^7.50.0",
75
- "@wordpress/preferences": "^4.50.0",
76
- "@wordpress/private-apis": "^1.50.0",
77
- "@wordpress/ui": "^0.17.0",
78
- "@wordpress/url": "^4.50.0",
79
- "@wordpress/viewport": "^6.50.0",
80
- "@wordpress/warning": "^3.50.0",
81
- "@wordpress/widgets": "^4.50.0",
50
+ "@wordpress/a11y": "^4.51.0",
51
+ "@wordpress/admin-ui": "^2.6.0",
52
+ "@wordpress/api-fetch": "^7.51.0",
53
+ "@wordpress/base-styles": "^11.0.0",
54
+ "@wordpress/block-editor": "^16.0.0",
55
+ "@wordpress/block-library": "^10.2.0",
56
+ "@wordpress/blocks": "^15.24.0",
57
+ "@wordpress/commands": "^1.51.0",
58
+ "@wordpress/components": "^37.0.0",
59
+ "@wordpress/compose": "^8.4.0",
60
+ "@wordpress/core-data": "^7.51.0",
61
+ "@wordpress/data": "^10.51.0",
62
+ "@wordpress/deprecated": "^4.51.0",
63
+ "@wordpress/dom": "^4.51.0",
64
+ "@wordpress/editor": "^14.51.0",
65
+ "@wordpress/element": "^8.3.0",
66
+ "@wordpress/global-styles-engine": "^1.18.0",
67
+ "@wordpress/hooks": "^4.51.0",
68
+ "@wordpress/html-entities": "^4.51.0",
69
+ "@wordpress/i18n": "^6.24.0",
70
+ "@wordpress/icons": "^15.2.0",
71
+ "@wordpress/keyboard-shortcuts": "^5.51.0",
72
+ "@wordpress/keycodes": "^4.51.0",
73
+ "@wordpress/notices": "^5.51.0",
74
+ "@wordpress/plugins": "^7.51.0",
75
+ "@wordpress/preferences": "^4.51.0",
76
+ "@wordpress/private-apis": "^1.51.0",
77
+ "@wordpress/ui": "^0.18.0",
78
+ "@wordpress/url": "^4.51.0",
79
+ "@wordpress/viewport": "^6.51.0",
80
+ "@wordpress/warning": "^3.51.0",
81
+ "@wordpress/widgets": "^4.51.0",
82
82
  "clsx": "^2.1.1",
83
83
  "memize": "^2.1.0"
84
84
  },
@@ -88,11 +88,11 @@
88
88
  "@testing-library/user-event": "^14.6.1"
89
89
  },
90
90
  "peerDependencies": {
91
- "react": "^18.0.0",
92
- "react-dom": "^18.0.0"
91
+ "react": "^18 || ^19",
92
+ "react-dom": "^18 || ^19"
93
93
  },
94
94
  "publishConfig": {
95
95
  "access": "public"
96
96
  },
97
- "gitHead": "fee6e24e8e63d36f6bbcf487c193461e9bd79753"
97
+ "gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
98
98
  }