@wordpress/edit-post 7.26.1-next.79a6196f.0 → 7.27.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 (124) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/build/components/header/index.js +2 -2
  3. package/build/components/header/index.js.map +1 -1
  4. package/build/components/meta-boxes/index.js +3 -2
  5. package/build/components/meta-boxes/index.js.map +1 -1
  6. package/build/components/preferences-modal/{options/enable-custom-fields.js → enable-custom-fields.js} +10 -2
  7. package/build/components/preferences-modal/enable-custom-fields.js.map +1 -0
  8. package/build/components/preferences-modal/{options/enable-panel.js → enable-panel.js} +11 -2
  9. package/build/components/preferences-modal/enable-panel.js.map +1 -0
  10. package/build/components/preferences-modal/{options/enable-publish-sidebar.js → enable-publish-sidebar.js} +11 -2
  11. package/build/components/preferences-modal/enable-publish-sidebar.js.map +1 -0
  12. package/build/components/preferences-modal/index.js +31 -149
  13. package/build/components/preferences-modal/index.js.map +1 -1
  14. package/build/components/preferences-modal/meta-boxes-section.js +11 -5
  15. package/build/components/preferences-modal/meta-boxes-section.js.map +1 -1
  16. package/build/components/sidebar/plugin-document-setting-panel/index.js +5 -2
  17. package/build/components/sidebar/plugin-document-setting-panel/index.js.map +1 -1
  18. package/build/editor.js +3 -26
  19. package/build/editor.js.map +1 -1
  20. package/build/editor.native.js +4 -28
  21. package/build/editor.native.js.map +1 -1
  22. package/build/hooks/commands/use-common-commands.js +48 -8
  23. package/build/hooks/commands/use-common-commands.js.map +1 -1
  24. package/build/index.js +2 -2
  25. package/build/index.js.map +1 -1
  26. package/build/index.native.js +1 -1
  27. package/build/index.native.js.map +1 -1
  28. package/build/store/actions.js +11 -10
  29. package/build/store/actions.js.map +1 -1
  30. package/build/store/selectors.js +24 -6
  31. package/build/store/selectors.js.map +1 -1
  32. package/build-module/components/header/index.js +2 -2
  33. package/build-module/components/header/index.js.map +1 -1
  34. package/build-module/components/meta-boxes/index.js +3 -2
  35. package/build-module/components/meta-boxes/index.js.map +1 -1
  36. package/build-module/components/preferences-modal/{options/enable-custom-fields.js → enable-custom-fields.js} +10 -2
  37. package/build-module/components/preferences-modal/enable-custom-fields.js.map +1 -0
  38. package/build-module/components/preferences-modal/{options/enable-panel.js → enable-panel.js} +10 -2
  39. package/build-module/components/preferences-modal/enable-panel.js.map +1 -0
  40. package/build-module/components/preferences-modal/{options/enable-publish-sidebar.js → enable-publish-sidebar.js} +10 -2
  41. package/build-module/components/preferences-modal/enable-publish-sidebar.js.map +1 -0
  42. package/build-module/components/preferences-modal/index.js +31 -150
  43. package/build-module/components/preferences-modal/index.js.map +1 -1
  44. package/build-module/components/preferences-modal/meta-boxes-section.js +7 -2
  45. package/build-module/components/preferences-modal/meta-boxes-section.js.map +1 -1
  46. package/build-module/components/sidebar/plugin-document-setting-panel/index.js +5 -2
  47. package/build-module/components/sidebar/plugin-document-setting-panel/index.js.map +1 -1
  48. package/build-module/editor.js +3 -26
  49. package/build-module/editor.js.map +1 -1
  50. package/build-module/editor.native.js +5 -29
  51. package/build-module/editor.native.js.map +1 -1
  52. package/build-module/hooks/commands/use-common-commands.js +49 -9
  53. package/build-module/hooks/commands/use-common-commands.js.map +1 -1
  54. package/build-module/index.js +2 -2
  55. package/build-module/index.js.map +1 -1
  56. package/build-module/index.native.js +1 -1
  57. package/build-module/index.native.js.map +1 -1
  58. package/build-module/store/actions.js +11 -10
  59. package/build-module/store/actions.js.map +1 -1
  60. package/build-module/store/selectors.js +24 -6
  61. package/build-module/store/selectors.js.map +1 -1
  62. package/build-style/classic-rtl.css +1 -1
  63. package/build-style/classic.css +1 -1
  64. package/build-style/style-rtl.css +16 -182
  65. package/build-style/style.css +16 -182
  66. package/package.json +32 -32
  67. package/src/components/header/index.js +2 -4
  68. package/src/components/header/style.scss +13 -4
  69. package/src/components/meta-boxes/index.js +4 -2
  70. package/src/components/preferences-modal/{options/enable-custom-fields.js → enable-custom-fields.js} +10 -3
  71. package/src/components/preferences-modal/{options/enable-panel.js → enable-panel.js} +9 -2
  72. package/src/components/preferences-modal/{options/enable-publish-sidebar.js → enable-publish-sidebar.js} +9 -2
  73. package/src/components/preferences-modal/index.js +44 -267
  74. package/src/components/preferences-modal/meta-boxes-section.js +6 -2
  75. package/src/components/preferences-modal/{options/test → test}/__snapshots__/enable-custom-fields.js.snap +4 -4
  76. package/src/components/preferences-modal/test/__snapshots__/meta-boxes-section.js.snap +18 -18
  77. package/src/components/sidebar/plugin-document-setting-panel/index.js +6 -2
  78. package/src/editor.js +55 -85
  79. package/src/editor.native.js +4 -33
  80. package/src/hooks/commands/use-common-commands.js +77 -7
  81. package/src/index.js +2 -2
  82. package/src/index.native.js +1 -1
  83. package/src/store/actions.js +14 -33
  84. package/src/store/selectors.js +52 -26
  85. package/src/store/test/actions.js +9 -9
  86. package/src/style.scss +0 -1
  87. package/build/components/block-manager/category.js +0 -105
  88. package/build/components/block-manager/category.js.map +0 -1
  89. package/build/components/block-manager/checklist.js +0 -35
  90. package/build/components/block-manager/checklist.js.map +0 -1
  91. package/build/components/block-manager/index.js +0 -127
  92. package/build/components/block-manager/index.js.map +0 -1
  93. package/build/components/preferences-modal/options/enable-custom-fields.js.map +0 -1
  94. package/build/components/preferences-modal/options/enable-feature.js +0 -36
  95. package/build/components/preferences-modal/options/enable-feature.js.map +0 -1
  96. package/build/components/preferences-modal/options/enable-panel.js.map +0 -1
  97. package/build/components/preferences-modal/options/enable-plugin-document-setting-panel.js +0 -32
  98. package/build/components/preferences-modal/options/enable-plugin-document-setting-panel.js.map +0 -1
  99. package/build/components/preferences-modal/options/enable-publish-sidebar.js.map +0 -1
  100. package/build/components/preferences-modal/options/index.js +0 -42
  101. package/build/components/preferences-modal/options/index.js.map +0 -1
  102. package/build-module/components/block-manager/category.js +0 -96
  103. package/build-module/components/block-manager/category.js.map +0 -1
  104. package/build-module/components/block-manager/checklist.js +0 -27
  105. package/build-module/components/block-manager/checklist.js.map +0 -1
  106. package/build-module/components/block-manager/index.js +0 -118
  107. package/build-module/components/block-manager/index.js.map +0 -1
  108. package/build-module/components/preferences-modal/options/enable-custom-fields.js.map +0 -1
  109. package/build-module/components/preferences-modal/options/enable-feature.js +0 -29
  110. package/build-module/components/preferences-modal/options/enable-feature.js.map +0 -1
  111. package/build-module/components/preferences-modal/options/enable-panel.js.map +0 -1
  112. package/build-module/components/preferences-modal/options/enable-plugin-document-setting-panel.js +0 -24
  113. package/build-module/components/preferences-modal/options/enable-plugin-document-setting-panel.js.map +0 -1
  114. package/build-module/components/preferences-modal/options/enable-publish-sidebar.js.map +0 -1
  115. package/build-module/components/preferences-modal/options/index.js +0 -6
  116. package/build-module/components/preferences-modal/options/index.js.map +0 -1
  117. package/src/components/block-manager/category.js +0 -94
  118. package/src/components/block-manager/checklist.js +0 -30
  119. package/src/components/block-manager/index.js +0 -158
  120. package/src/components/block-manager/style.scss +0 -82
  121. package/src/components/preferences-modal/options/enable-feature.js +0 -31
  122. package/src/components/preferences-modal/options/enable-plugin-document-setting-panel.js +0 -23
  123. package/src/components/preferences-modal/options/index.js +0 -5
  124. /package/src/components/preferences-modal/{options/test → test}/enable-custom-fields.js +0 -0
@@ -97,7 +97,7 @@
97
97
  --wp-block-synced-color: #7a00df;
98
98
  --wp-block-synced-color--rgb: 122, 0, 223;
99
99
  }
100
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
100
+ @media (min-resolution: 192dpi) {
101
101
  :root {
102
102
  --wp-admin-border-width-focus: 1.5px;
103
103
  }
@@ -469,7 +469,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
469
469
  .interface-pinned-items {
470
470
  display: flex;
471
471
  gap: 8px;
472
- margin-left: -4px;
473
472
  }
474
473
  .interface-pinned-items .components-button {
475
474
  display: none;
@@ -488,99 +487,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
488
487
  }
489
488
  }
490
489
 
491
- @media (min-width: 600px) {
492
- .interface-preferences-modal {
493
- width: calc(100% - 32px);
494
- height: calc(100% - 120px);
495
- }
496
- }
497
- @media (min-width: 782px) {
498
- .interface-preferences-modal {
499
- width: 750px;
500
- }
501
- }
502
- @media (min-width: 960px) {
503
- .interface-preferences-modal {
504
- height: 70%;
505
- }
506
- }
507
- @media (max-width: 781px) {
508
- .interface-preferences-modal .components-modal__content {
509
- padding: 0;
510
- }
511
- }
512
-
513
- .interface-preferences__tabs .components-tab-panel__tabs {
514
- position: absolute;
515
- top: 84px;
516
- right: 16px;
517
- width: 160px;
518
- }
519
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
520
- border-radius: 2px;
521
- font-weight: 400;
522
- }
523
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
524
- background: #f0f0f0;
525
- box-shadow: none;
526
- font-weight: 500;
527
- }
528
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active::after {
529
- content: none;
530
- }
531
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
532
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
533
- outline: 2px solid transparent;
534
- }
535
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus-visible::before {
536
- content: none;
537
- }
538
- .interface-preferences__tabs .components-tab-panel__tab-content {
539
- padding-right: 24px;
540
- margin-right: 160px;
541
- }
542
-
543
- @media (max-width: 781px) {
544
- .interface-preferences__provider {
545
- height: 100%;
546
- }
547
- }
548
- .interface-preferences-modal__section {
549
- margin: 0 0 2.5rem 0;
550
- }
551
- .interface-preferences-modal__section:last-child {
552
- margin: 0;
553
- }
554
-
555
- .interface-preferences-modal__section-legend {
556
- margin-bottom: 8px;
557
- }
558
-
559
- .interface-preferences-modal__section-title {
560
- font-size: 0.9rem;
561
- font-weight: 600;
562
- margin-top: 0;
563
- }
564
-
565
- .interface-preferences-modal__section-description {
566
- margin: -8px 0 8px 0;
567
- font-size: 12px;
568
- font-style: normal;
569
- color: #757575;
570
- }
571
-
572
- .interface-preferences-modal__section:has(.interface-preferences-modal__section-content:empty) {
573
- display: none;
574
- }
575
-
576
- .interface-preferences-modal__option + .interface-preferences-modal__option {
577
- margin-top: 16px;
578
- }
579
- .interface-preferences-modal__option .components-base-control__help {
580
- margin-top: 0;
581
- margin-right: 48px;
582
- }
583
-
584
490
  .edit-post-header {
585
491
  height: 60px;
586
492
  background: #fff;
@@ -780,6 +686,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
780
686
  background-color: #ddd;
781
687
  margin-right: 8px;
782
688
  }
689
+ .show-icon-labels .edit-post-header__toolbar .block-editor-block-mover .block-editor-block-mover__move-button-container::before {
690
+ width: calc(100% - 24px);
691
+ background: #ddd;
692
+ right: calc(50% + 1px);
693
+ }
783
694
 
784
695
  .edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,
785
696
  .edit-post-header__dropdown .components-button.editor-history__undo,
@@ -914,8 +825,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
914
825
  width: 36px;
915
826
  height: 36px;
916
827
  border-radius: 2px;
917
- -o-object-fit: cover;
918
- object-fit: cover;
828
+ object-fit: cover;
919
829
  margin-top: -1px;
920
830
  }
921
831
 
@@ -1103,81 +1013,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1103
1013
  height: 61px;
1104
1014
  }
1105
1015
 
1106
- .edit-post-block-manager__no-results {
1107
- font-style: italic;
1108
- padding: 24px 0;
1109
- text-align: center;
1110
- }
1111
-
1112
- .edit-post-block-manager__search {
1113
- margin: 16px 0;
1114
- }
1115
-
1116
- .edit-post-block-manager__disabled-blocks-count {
1117
- border: 1px solid #ddd;
1118
- border-width: 1px 0;
1119
- box-shadow: 32px 0 0 0 #fff, -32px 0 0 0 #fff;
1120
- padding: 8px;
1121
- background-color: #fff;
1122
- text-align: center;
1123
- position: sticky;
1124
- top: -5px;
1125
- z-index: 2;
1126
- }
1127
- .edit-post-block-manager__disabled-blocks-count ~ .edit-post-block-manager__results .edit-post-block-manager__category-title {
1128
- top: 31px;
1129
- }
1130
- .edit-post-block-manager__disabled-blocks-count .is-link {
1131
- margin-right: 12px;
1132
- }
1133
-
1134
- .edit-post-block-manager__category {
1135
- margin: 0 0 24px 0;
1136
- }
1137
-
1138
- .edit-post-block-manager__category-title {
1139
- position: sticky;
1140
- top: -4px;
1141
- padding: 16px 0;
1142
- background-color: #fff;
1143
- z-index: 1;
1144
- }
1145
- .edit-post-block-manager__category-title .components-checkbox-control__label {
1146
- font-weight: 600;
1147
- }
1148
-
1149
- .edit-post-block-manager__checklist {
1150
- margin-top: 0;
1151
- }
1152
-
1153
- .edit-post-block-manager__category-title,
1154
- .edit-post-block-manager__checklist-item {
1155
- border-bottom: 1px solid #ddd;
1156
- }
1157
-
1158
- .edit-post-block-manager__checklist-item {
1159
- display: flex;
1160
- justify-content: space-between;
1161
- align-items: center;
1162
- margin-bottom: 0;
1163
- padding: 8px 16px 8px 0;
1164
- }
1165
- .components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container {
1166
- margin: 0 8px;
1167
- }
1168
- .edit-post-block-manager__checklist-item .block-editor-block-icon {
1169
- margin-left: 10px;
1170
- fill: #1e1e1e;
1171
- }
1172
-
1173
- .edit-post-block-manager__results {
1174
- border-top: 1px solid #ddd;
1175
- }
1176
-
1177
- .edit-post-block-manager__disabled-blocks-count + .edit-post-block-manager__results {
1178
- border-top-width: 0;
1179
- }
1180
-
1181
1016
  .edit-post-meta-boxes-area {
1182
1017
  position: relative;
1183
1018
  /**
@@ -1419,8 +1254,7 @@ h2.edit-post-template-summary__title {
1419
1254
  .edit-template-welcome-guide__image > img {
1420
1255
  display: block;
1421
1256
  max-width: 100%;
1422
- -o-object-fit: cover;
1423
- object-fit: cover;
1257
+ object-fit: cover;
1424
1258
  }
1425
1259
  .edit-post-welcome-guide__heading,
1426
1260
  .edit-template-welcome-guide__heading {
@@ -1583,7 +1417,7 @@ body.admin-color-light {
1583
1417
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
1584
1418
  --wp-admin-border-width-focus: 2px;
1585
1419
  }
1586
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1420
+ @media (min-resolution: 192dpi) {
1587
1421
  body.admin-color-light {
1588
1422
  --wp-admin-border-width-focus: 1.5px;
1589
1423
  }
@@ -1598,7 +1432,7 @@ body.admin-color-modern {
1598
1432
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
1599
1433
  --wp-admin-border-width-focus: 2px;
1600
1434
  }
1601
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1435
+ @media (min-resolution: 192dpi) {
1602
1436
  body.admin-color-modern {
1603
1437
  --wp-admin-border-width-focus: 1.5px;
1604
1438
  }
@@ -1613,7 +1447,7 @@ body.admin-color-blue {
1613
1447
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
1614
1448
  --wp-admin-border-width-focus: 2px;
1615
1449
  }
1616
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1450
+ @media (min-resolution: 192dpi) {
1617
1451
  body.admin-color-blue {
1618
1452
  --wp-admin-border-width-focus: 1.5px;
1619
1453
  }
@@ -1628,7 +1462,7 @@ body.admin-color-coffee {
1628
1462
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
1629
1463
  --wp-admin-border-width-focus: 2px;
1630
1464
  }
1631
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1465
+ @media (min-resolution: 192dpi) {
1632
1466
  body.admin-color-coffee {
1633
1467
  --wp-admin-border-width-focus: 1.5px;
1634
1468
  }
@@ -1643,7 +1477,7 @@ body.admin-color-ectoplasm {
1643
1477
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
1644
1478
  --wp-admin-border-width-focus: 2px;
1645
1479
  }
1646
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1480
+ @media (min-resolution: 192dpi) {
1647
1481
  body.admin-color-ectoplasm {
1648
1482
  --wp-admin-border-width-focus: 1.5px;
1649
1483
  }
@@ -1658,7 +1492,7 @@ body.admin-color-midnight {
1658
1492
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
1659
1493
  --wp-admin-border-width-focus: 2px;
1660
1494
  }
1661
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1495
+ @media (min-resolution: 192dpi) {
1662
1496
  body.admin-color-midnight {
1663
1497
  --wp-admin-border-width-focus: 1.5px;
1664
1498
  }
@@ -1673,7 +1507,7 @@ body.admin-color-ocean {
1673
1507
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
1674
1508
  --wp-admin-border-width-focus: 2px;
1675
1509
  }
1676
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1510
+ @media (min-resolution: 192dpi) {
1677
1511
  body.admin-color-ocean {
1678
1512
  --wp-admin-border-width-focus: 1.5px;
1679
1513
  }
@@ -1688,7 +1522,7 @@ body.admin-color-sunrise {
1688
1522
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
1689
1523
  --wp-admin-border-width-focus: 2px;
1690
1524
  }
1691
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1525
+ @media (min-resolution: 192dpi) {
1692
1526
  body.admin-color-sunrise {
1693
1527
  --wp-admin-border-width-focus: 1.5px;
1694
1528
  }
@@ -97,7 +97,7 @@
97
97
  --wp-block-synced-color: #7a00df;
98
98
  --wp-block-synced-color--rgb: 122, 0, 223;
99
99
  }
100
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
100
+ @media (min-resolution: 192dpi) {
101
101
  :root {
102
102
  --wp-admin-border-width-focus: 1.5px;
103
103
  }
@@ -469,7 +469,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
469
469
  .interface-pinned-items {
470
470
  display: flex;
471
471
  gap: 8px;
472
- margin-right: -4px;
473
472
  }
474
473
  .interface-pinned-items .components-button {
475
474
  display: none;
@@ -488,99 +487,6 @@ body.is-fullscreen-mode .interface-interface-skeleton {
488
487
  }
489
488
  }
490
489
 
491
- @media (min-width: 600px) {
492
- .interface-preferences-modal {
493
- width: calc(100% - 32px);
494
- height: calc(100% - 120px);
495
- }
496
- }
497
- @media (min-width: 782px) {
498
- .interface-preferences-modal {
499
- width: 750px;
500
- }
501
- }
502
- @media (min-width: 960px) {
503
- .interface-preferences-modal {
504
- height: 70%;
505
- }
506
- }
507
- @media (max-width: 781px) {
508
- .interface-preferences-modal .components-modal__content {
509
- padding: 0;
510
- }
511
- }
512
-
513
- .interface-preferences__tabs .components-tab-panel__tabs {
514
- position: absolute;
515
- top: 84px;
516
- left: 16px;
517
- width: 160px;
518
- }
519
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
520
- border-radius: 2px;
521
- font-weight: 400;
522
- }
523
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
524
- background: #f0f0f0;
525
- box-shadow: none;
526
- font-weight: 500;
527
- }
528
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active::after {
529
- content: none;
530
- }
531
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
532
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
533
- outline: 2px solid transparent;
534
- }
535
- .interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus-visible::before {
536
- content: none;
537
- }
538
- .interface-preferences__tabs .components-tab-panel__tab-content {
539
- padding-left: 24px;
540
- margin-left: 160px;
541
- }
542
-
543
- @media (max-width: 781px) {
544
- .interface-preferences__provider {
545
- height: 100%;
546
- }
547
- }
548
- .interface-preferences-modal__section {
549
- margin: 0 0 2.5rem 0;
550
- }
551
- .interface-preferences-modal__section:last-child {
552
- margin: 0;
553
- }
554
-
555
- .interface-preferences-modal__section-legend {
556
- margin-bottom: 8px;
557
- }
558
-
559
- .interface-preferences-modal__section-title {
560
- font-size: 0.9rem;
561
- font-weight: 600;
562
- margin-top: 0;
563
- }
564
-
565
- .interface-preferences-modal__section-description {
566
- margin: -8px 0 8px 0;
567
- font-size: 12px;
568
- font-style: normal;
569
- color: #757575;
570
- }
571
-
572
- .interface-preferences-modal__section:has(.interface-preferences-modal__section-content:empty) {
573
- display: none;
574
- }
575
-
576
- .interface-preferences-modal__option + .interface-preferences-modal__option {
577
- margin-top: 16px;
578
- }
579
- .interface-preferences-modal__option .components-base-control__help {
580
- margin-top: 0;
581
- margin-left: 48px;
582
- }
583
-
584
490
  .edit-post-header {
585
491
  height: 60px;
586
492
  background: #fff;
@@ -780,6 +686,11 @@ body.is-fullscreen-mode .interface-interface-skeleton {
780
686
  background-color: #ddd;
781
687
  margin-left: 8px;
782
688
  }
689
+ .show-icon-labels .edit-post-header__toolbar .block-editor-block-mover .block-editor-block-mover__move-button-container::before {
690
+ width: calc(100% - 24px);
691
+ background: #ddd;
692
+ left: calc(50% + 1px);
693
+ }
783
694
 
784
695
  .edit-post-header__dropdown .components-menu-item__button.components-menu-item__button,
785
696
  .edit-post-header__dropdown .components-button.editor-history__undo,
@@ -914,8 +825,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
914
825
  width: 36px;
915
826
  height: 36px;
916
827
  border-radius: 2px;
917
- -o-object-fit: cover;
918
- object-fit: cover;
828
+ object-fit: cover;
919
829
  margin-top: -1px;
920
830
  }
921
831
 
@@ -1103,81 +1013,6 @@ body.is-fullscreen-mode .edit-post-layout .components-editor-notices__snackbar {
1103
1013
  height: 61px;
1104
1014
  }
1105
1015
 
1106
- .edit-post-block-manager__no-results {
1107
- font-style: italic;
1108
- padding: 24px 0;
1109
- text-align: center;
1110
- }
1111
-
1112
- .edit-post-block-manager__search {
1113
- margin: 16px 0;
1114
- }
1115
-
1116
- .edit-post-block-manager__disabled-blocks-count {
1117
- border: 1px solid #ddd;
1118
- border-width: 1px 0;
1119
- box-shadow: -32px 0 0 0 #fff, 32px 0 0 0 #fff;
1120
- padding: 8px;
1121
- background-color: #fff;
1122
- text-align: center;
1123
- position: sticky;
1124
- top: -5px;
1125
- z-index: 2;
1126
- }
1127
- .edit-post-block-manager__disabled-blocks-count ~ .edit-post-block-manager__results .edit-post-block-manager__category-title {
1128
- top: 31px;
1129
- }
1130
- .edit-post-block-manager__disabled-blocks-count .is-link {
1131
- margin-left: 12px;
1132
- }
1133
-
1134
- .edit-post-block-manager__category {
1135
- margin: 0 0 24px 0;
1136
- }
1137
-
1138
- .edit-post-block-manager__category-title {
1139
- position: sticky;
1140
- top: -4px;
1141
- padding: 16px 0;
1142
- background-color: #fff;
1143
- z-index: 1;
1144
- }
1145
- .edit-post-block-manager__category-title .components-checkbox-control__label {
1146
- font-weight: 600;
1147
- }
1148
-
1149
- .edit-post-block-manager__checklist {
1150
- margin-top: 0;
1151
- }
1152
-
1153
- .edit-post-block-manager__category-title,
1154
- .edit-post-block-manager__checklist-item {
1155
- border-bottom: 1px solid #ddd;
1156
- }
1157
-
1158
- .edit-post-block-manager__checklist-item {
1159
- display: flex;
1160
- justify-content: space-between;
1161
- align-items: center;
1162
- margin-bottom: 0;
1163
- padding: 8px 0 8px 16px;
1164
- }
1165
- .components-modal__content .edit-post-block-manager__checklist-item.components-checkbox-control__input-container {
1166
- margin: 0 8px;
1167
- }
1168
- .edit-post-block-manager__checklist-item .block-editor-block-icon {
1169
- margin-right: 10px;
1170
- fill: #1e1e1e;
1171
- }
1172
-
1173
- .edit-post-block-manager__results {
1174
- border-top: 1px solid #ddd;
1175
- }
1176
-
1177
- .edit-post-block-manager__disabled-blocks-count + .edit-post-block-manager__results {
1178
- border-top-width: 0;
1179
- }
1180
-
1181
1016
  .edit-post-meta-boxes-area {
1182
1017
  position: relative;
1183
1018
  /**
@@ -1419,8 +1254,7 @@ h2.edit-post-template-summary__title {
1419
1254
  .edit-template-welcome-guide__image > img {
1420
1255
  display: block;
1421
1256
  max-width: 100%;
1422
- -o-object-fit: cover;
1423
- object-fit: cover;
1257
+ object-fit: cover;
1424
1258
  }
1425
1259
  .edit-post-welcome-guide__heading,
1426
1260
  .edit-template-welcome-guide__heading {
@@ -1583,7 +1417,7 @@ body.admin-color-light {
1583
1417
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
1584
1418
  --wp-admin-border-width-focus: 2px;
1585
1419
  }
1586
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1420
+ @media (min-resolution: 192dpi) {
1587
1421
  body.admin-color-light {
1588
1422
  --wp-admin-border-width-focus: 1.5px;
1589
1423
  }
@@ -1598,7 +1432,7 @@ body.admin-color-modern {
1598
1432
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
1599
1433
  --wp-admin-border-width-focus: 2px;
1600
1434
  }
1601
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1435
+ @media (min-resolution: 192dpi) {
1602
1436
  body.admin-color-modern {
1603
1437
  --wp-admin-border-width-focus: 1.5px;
1604
1438
  }
@@ -1613,7 +1447,7 @@ body.admin-color-blue {
1613
1447
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
1614
1448
  --wp-admin-border-width-focus: 2px;
1615
1449
  }
1616
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1450
+ @media (min-resolution: 192dpi) {
1617
1451
  body.admin-color-blue {
1618
1452
  --wp-admin-border-width-focus: 1.5px;
1619
1453
  }
@@ -1628,7 +1462,7 @@ body.admin-color-coffee {
1628
1462
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
1629
1463
  --wp-admin-border-width-focus: 2px;
1630
1464
  }
1631
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1465
+ @media (min-resolution: 192dpi) {
1632
1466
  body.admin-color-coffee {
1633
1467
  --wp-admin-border-width-focus: 1.5px;
1634
1468
  }
@@ -1643,7 +1477,7 @@ body.admin-color-ectoplasm {
1643
1477
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
1644
1478
  --wp-admin-border-width-focus: 2px;
1645
1479
  }
1646
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1480
+ @media (min-resolution: 192dpi) {
1647
1481
  body.admin-color-ectoplasm {
1648
1482
  --wp-admin-border-width-focus: 1.5px;
1649
1483
  }
@@ -1658,7 +1492,7 @@ body.admin-color-midnight {
1658
1492
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
1659
1493
  --wp-admin-border-width-focus: 2px;
1660
1494
  }
1661
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1495
+ @media (min-resolution: 192dpi) {
1662
1496
  body.admin-color-midnight {
1663
1497
  --wp-admin-border-width-focus: 1.5px;
1664
1498
  }
@@ -1673,7 +1507,7 @@ body.admin-color-ocean {
1673
1507
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
1674
1508
  --wp-admin-border-width-focus: 2px;
1675
1509
  }
1676
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1510
+ @media (min-resolution: 192dpi) {
1677
1511
  body.admin-color-ocean {
1678
1512
  --wp-admin-border-width-focus: 1.5px;
1679
1513
  }
@@ -1688,7 +1522,7 @@ body.admin-color-sunrise {
1688
1522
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
1689
1523
  --wp-admin-border-width-focus: 2px;
1690
1524
  }
1691
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
1525
+ @media (min-resolution: 192dpi) {
1692
1526
  body.admin-color-sunrise {
1693
1527
  --wp-admin-border-width-focus: 1.5px;
1694
1528
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-post",
3
- "version": "7.26.1-next.79a6196f.0",
3
+ "version": "7.27.0",
4
4
  "description": "Edit Post module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -27,36 +27,36 @@
27
27
  "react-native": "src/index",
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.16.0",
30
- "@wordpress/a11y": "^3.48.1-next.79a6196f.0",
31
- "@wordpress/api-fetch": "^6.45.1-next.79a6196f.0",
32
- "@wordpress/block-editor": "^12.16.1-next.79a6196f.0",
33
- "@wordpress/block-library": "^8.25.1-next.79a6196f.0",
34
- "@wordpress/blocks": "^12.25.1-next.79a6196f.0",
35
- "@wordpress/commands": "^0.19.1-next.79a6196f.0",
36
- "@wordpress/components": "^25.15.1-next.79a6196f.0",
37
- "@wordpress/compose": "^6.25.1-next.79a6196f.0",
38
- "@wordpress/core-commands": "^0.17.1-next.79a6196f.0",
39
- "@wordpress/core-data": "^6.25.1-next.79a6196f.0",
40
- "@wordpress/data": "^9.18.1-next.79a6196f.0",
41
- "@wordpress/deprecated": "^3.48.1-next.79a6196f.0",
42
- "@wordpress/dom": "^3.48.1-next.79a6196f.0",
43
- "@wordpress/editor": "^13.26.1-next.79a6196f.0",
44
- "@wordpress/element": "^5.25.1-next.79a6196f.0",
45
- "@wordpress/hooks": "^3.48.1-next.79a6196f.0",
46
- "@wordpress/i18n": "^4.48.1-next.79a6196f.0",
47
- "@wordpress/icons": "^9.39.1-next.79a6196f.0",
48
- "@wordpress/interface": "^5.25.1-next.79a6196f.0",
49
- "@wordpress/keyboard-shortcuts": "^4.25.1-next.79a6196f.0",
50
- "@wordpress/keycodes": "^3.48.1-next.79a6196f.0",
51
- "@wordpress/media-utils": "^4.39.1-next.79a6196f.0",
52
- "@wordpress/notices": "^4.16.1-next.79a6196f.0",
53
- "@wordpress/plugins": "^6.16.1-next.79a6196f.0",
54
- "@wordpress/preferences": "^3.25.1-next.79a6196f.0",
55
- "@wordpress/private-apis": "^0.30.1-next.79a6196f.0",
56
- "@wordpress/url": "^3.49.1-next.79a6196f.0",
57
- "@wordpress/viewport": "^5.25.1-next.79a6196f.0",
58
- "@wordpress/warning": "^2.48.1-next.79a6196f.0",
59
- "@wordpress/widgets": "^3.25.1-next.79a6196f.0",
30
+ "@wordpress/a11y": "^3.50.0",
31
+ "@wordpress/api-fetch": "^6.47.0",
32
+ "@wordpress/block-editor": "^12.18.0",
33
+ "@wordpress/block-library": "^8.27.0",
34
+ "@wordpress/blocks": "^12.27.0",
35
+ "@wordpress/commands": "^0.21.0",
36
+ "@wordpress/components": "^25.16.0",
37
+ "@wordpress/compose": "^6.27.0",
38
+ "@wordpress/core-commands": "^0.19.0",
39
+ "@wordpress/core-data": "^6.27.0",
40
+ "@wordpress/data": "^9.20.0",
41
+ "@wordpress/deprecated": "^3.50.0",
42
+ "@wordpress/dom": "^3.50.0",
43
+ "@wordpress/editor": "^13.27.0",
44
+ "@wordpress/element": "^5.27.0",
45
+ "@wordpress/hooks": "^3.50.0",
46
+ "@wordpress/i18n": "^4.50.0",
47
+ "@wordpress/icons": "^9.41.0",
48
+ "@wordpress/interface": "^5.27.0",
49
+ "@wordpress/keyboard-shortcuts": "^4.27.0",
50
+ "@wordpress/keycodes": "^3.50.0",
51
+ "@wordpress/media-utils": "^4.41.0",
52
+ "@wordpress/notices": "^4.18.0",
53
+ "@wordpress/plugins": "^6.18.0",
54
+ "@wordpress/preferences": "^3.27.0",
55
+ "@wordpress/private-apis": "^0.32.0",
56
+ "@wordpress/url": "^3.51.0",
57
+ "@wordpress/viewport": "^5.27.0",
58
+ "@wordpress/warning": "^2.50.0",
59
+ "@wordpress/widgets": "^3.27.0",
60
60
  "classnames": "^2.3.1",
61
61
  "memize": "^2.1.0",
62
62
  "rememo": "^4.0.2"
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "1e74b942ac0119a22ceaaf5c9594263f3ec516ab"
71
+ "gitHead": "45de2cb4212fed7f2763e95f10300d1ff9d0ec08"
72
72
  }
@@ -119,9 +119,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
119
119
  className={ classnames(
120
120
  'selected-block-tools-wrapper',
121
121
  {
122
- 'is-collapsed':
123
- isEditingTemplate &&
124
- isBlockToolsCollapsed,
122
+ 'is-collapsed': isBlockToolsCollapsed,
125
123
  }
126
124
  ) }
127
125
  >
@@ -131,7 +129,7 @@ function Header( { setEntitiesSavedStatesCallback } ) {
131
129
  ref={ blockToolbarRef }
132
130
  name="block-toolbar"
133
131
  />
134
- { isEditingTemplate && hasBlockSelection && (
132
+ { hasBlockSelection && (
135
133
  <Button
136
134
  className="edit-post-header__block-tools-toggle"
137
135
  icon={ isBlockToolsCollapsed ? next : previous }