@wordpress/edit-site 5.12.6 → 5.12.8

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 (209) hide show
  1. package/build/components/block-editor/editor-canvas.js +1 -1
  2. package/build/components/block-editor/editor-canvas.js.map +1 -1
  3. package/build/components/block-editor/use-site-editor-settings.js +10 -5
  4. package/build/components/block-editor/use-site-editor-settings.js.map +1 -1
  5. package/build/components/create-pattern-modal/index.js +8 -4
  6. package/build/components/create-pattern-modal/index.js.map +1 -1
  7. package/build/components/global-styles/palette.js +1 -1
  8. package/build/components/global-styles/palette.js.map +1 -1
  9. package/build/components/header-edit-mode/index.js +6 -2
  10. package/build/components/header-edit-mode/index.js.map +1 -1
  11. package/build/components/layout/index.js +1 -1
  12. package/build/components/layout/index.js.map +1 -1
  13. package/build/components/page/header.js +1 -1
  14. package/build/components/page/header.js.map +1 -1
  15. package/build/components/page-content-focus-manager/disable-non-page-content-blocks.js +5 -5
  16. package/build/components/page-content-focus-manager/disable-non-page-content-blocks.js.map +1 -1
  17. package/build/components/page-patterns/duplicate-menu-item.js +163 -0
  18. package/build/components/page-patterns/duplicate-menu-item.js.map +1 -0
  19. package/build/components/page-patterns/grid-item.js +84 -60
  20. package/build/components/page-patterns/grid-item.js.map +1 -1
  21. package/build/components/page-patterns/grid.js +21 -13
  22. package/build/components/page-patterns/grid.js.map +1 -1
  23. package/build/components/page-patterns/header.js +69 -0
  24. package/build/components/page-patterns/header.js.map +1 -0
  25. package/build/components/page-patterns/index.js +3 -1
  26. package/build/components/page-patterns/index.js.map +1 -1
  27. package/build/components/page-patterns/patterns-list.js +67 -27
  28. package/build/components/page-patterns/patterns-list.js.map +1 -1
  29. package/build/components/page-patterns/rename-menu-item.js +109 -0
  30. package/build/components/page-patterns/rename-menu-item.js.map +1 -0
  31. package/build/components/page-patterns/use-patterns.js +99 -126
  32. package/build/components/page-patterns/use-patterns.js.map +1 -1
  33. package/build/components/page-template-parts/index.js +1 -0
  34. package/build/components/page-template-parts/index.js.map +1 -1
  35. package/build/components/page-templates/index.js +1 -0
  36. package/build/components/page-templates/index.js.map +1 -1
  37. package/build/components/sidebar-edit-mode/page-panels/page-content.js +4 -3
  38. package/build/components/sidebar-edit-mode/page-panels/page-content.js.map +1 -1
  39. package/build/components/sidebar-navigation-screen/index.js +1 -1
  40. package/build/components/sidebar-navigation-screen/index.js.map +1 -1
  41. package/build/components/sidebar-navigation-screen-global-styles/index.js +57 -17
  42. package/build/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
  43. package/build/components/sidebar-navigation-screen-main/index.js +4 -2
  44. package/build/components/sidebar-navigation-screen-main/index.js.map +1 -1
  45. package/build/components/sidebar-navigation-screen-main/template-part-hint.js +45 -0
  46. package/build/components/sidebar-navigation-screen-main/template-part-hint.js.map +1 -0
  47. package/build/components/sidebar-navigation-screen-navigation-menu/edit-button.js +10 -11
  48. package/build/components/sidebar-navigation-screen-navigation-menu/edit-button.js.map +1 -1
  49. package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js +6 -2
  50. package/build/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js.map +1 -1
  51. package/build/components/sidebar-navigation-screen-page/status-label.js +2 -35
  52. package/build/components/sidebar-navigation-screen-page/status-label.js.map +1 -1
  53. package/build/components/sidebar-navigation-screen-pattern/use-pattern-details.js +3 -3
  54. package/build/components/sidebar-navigation-screen-pattern/use-pattern-details.js.map +1 -1
  55. package/build/components/sidebar-navigation-screen-patterns/index.js +68 -43
  56. package/build/components/sidebar-navigation-screen-patterns/index.js.map +1 -1
  57. package/build/components/sidebar-navigation-screen-patterns/use-my-patterns.js +9 -5
  58. package/build/components/sidebar-navigation-screen-patterns/use-my-patterns.js.map +1 -1
  59. package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +20 -9
  60. package/build/components/sidebar-navigation-screen-patterns/use-template-part-areas.js.map +1 -1
  61. package/build/components/site-hub/index.js +2 -2
  62. package/build/components/site-hub/index.js.map +1 -1
  63. package/build/components/template-actions/index.js +25 -7
  64. package/build/components/template-actions/index.js.map +1 -1
  65. package/build/components/template-actions/rename-menu-item.js +9 -6
  66. package/build/components/template-actions/rename-menu-item.js.map +1 -1
  67. package/build/components/welcome-guide/page.js +2 -2
  68. package/build/components/welcome-guide/page.js.map +1 -1
  69. package/build/components/welcome-guide/template.js +2 -2
  70. package/build/components/welcome-guide/template.js.map +1 -1
  71. package/build/hooks/commands/use-edit-mode-commands.js +1 -2
  72. package/build/hooks/commands/use-edit-mode-commands.js.map +1 -1
  73. package/build/hooks/push-changes-to-global-styles/index.js +3 -1
  74. package/build/hooks/push-changes-to-global-styles/index.js.map +1 -1
  75. package/build/store/private-actions.js +7 -1
  76. package/build/store/private-actions.js.map +1 -1
  77. package/build/utils/use-activate-theme.js +1 -1
  78. package/build/utils/use-activate-theme.js.map +1 -1
  79. package/build-module/components/block-editor/editor-canvas.js +1 -1
  80. package/build-module/components/block-editor/editor-canvas.js.map +1 -1
  81. package/build-module/components/block-editor/use-site-editor-settings.js +10 -5
  82. package/build-module/components/block-editor/use-site-editor-settings.js.map +1 -1
  83. package/build-module/components/create-pattern-modal/index.js +7 -4
  84. package/build-module/components/create-pattern-modal/index.js.map +1 -1
  85. package/build-module/components/global-styles/palette.js +1 -1
  86. package/build-module/components/global-styles/palette.js.map +1 -1
  87. package/build-module/components/header-edit-mode/index.js +6 -2
  88. package/build-module/components/header-edit-mode/index.js.map +1 -1
  89. package/build-module/components/layout/index.js +1 -1
  90. package/build-module/components/layout/index.js.map +1 -1
  91. package/build-module/components/page/header.js +1 -1
  92. package/build-module/components/page/header.js.map +1 -1
  93. package/build-module/components/page-content-focus-manager/disable-non-page-content-blocks.js +5 -3
  94. package/build-module/components/page-content-focus-manager/disable-non-page-content-blocks.js.map +1 -1
  95. package/build-module/components/page-patterns/duplicate-menu-item.js +147 -0
  96. package/build-module/components/page-patterns/duplicate-menu-item.js.map +1 -0
  97. package/build-module/components/page-patterns/grid-item.js +85 -66
  98. package/build-module/components/page-patterns/grid-item.js.map +1 -1
  99. package/build-module/components/page-patterns/grid.js +22 -15
  100. package/build-module/components/page-patterns/grid.js.map +1 -1
  101. package/build-module/components/page-patterns/header.js +54 -0
  102. package/build-module/components/page-patterns/header.js.map +1 -0
  103. package/build-module/components/page-patterns/index.js +3 -1
  104. package/build-module/components/page-patterns/index.js.map +1 -1
  105. package/build-module/components/page-patterns/patterns-list.js +70 -31
  106. package/build-module/components/page-patterns/patterns-list.js.map +1 -1
  107. package/build-module/components/page-patterns/rename-menu-item.js +97 -0
  108. package/build-module/components/page-patterns/rename-menu-item.js.map +1 -0
  109. package/build-module/components/page-patterns/use-patterns.js +100 -127
  110. package/build-module/components/page-patterns/use-patterns.js.map +1 -1
  111. package/build-module/components/page-template-parts/index.js +1 -0
  112. package/build-module/components/page-template-parts/index.js.map +1 -1
  113. package/build-module/components/page-templates/index.js +1 -0
  114. package/build-module/components/page-templates/index.js.map +1 -1
  115. package/build-module/components/sidebar-edit-mode/page-panels/page-content.js +5 -2
  116. package/build-module/components/sidebar-edit-mode/page-panels/page-content.js.map +1 -1
  117. package/build-module/components/sidebar-navigation-screen/index.js +1 -1
  118. package/build-module/components/sidebar-navigation-screen/index.js.map +1 -1
  119. package/build-module/components/sidebar-navigation-screen-global-styles/index.js +57 -17
  120. package/build-module/components/sidebar-navigation-screen-global-styles/index.js.map +1 -1
  121. package/build-module/components/sidebar-navigation-screen-main/index.js +4 -3
  122. package/build-module/components/sidebar-navigation-screen-main/index.js.map +1 -1
  123. package/build-module/components/sidebar-navigation-screen-main/template-part-hint.js +33 -0
  124. package/build-module/components/sidebar-navigation-screen-main/template-part-hint.js.map +1 -0
  125. package/build-module/components/sidebar-navigation-screen-navigation-menu/edit-button.js +10 -9
  126. package/build-module/components/sidebar-navigation-screen-navigation-menu/edit-button.js.map +1 -1
  127. package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js +6 -3
  128. package/build-module/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js.map +1 -1
  129. package/build-module/components/sidebar-navigation-screen-page/status-label.js +2 -33
  130. package/build-module/components/sidebar-navigation-screen-page/status-label.js.map +1 -1
  131. package/build-module/components/sidebar-navigation-screen-pattern/use-pattern-details.js +3 -3
  132. package/build-module/components/sidebar-navigation-screen-pattern/use-pattern-details.js.map +1 -1
  133. package/build-module/components/sidebar-navigation-screen-patterns/index.js +71 -44
  134. package/build-module/components/sidebar-navigation-screen-patterns/index.js.map +1 -1
  135. package/build-module/components/sidebar-navigation-screen-patterns/use-my-patterns.js +9 -5
  136. package/build-module/components/sidebar-navigation-screen-patterns/use-my-patterns.js.map +1 -1
  137. package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +18 -9
  138. package/build-module/components/sidebar-navigation-screen-patterns/use-template-part-areas.js.map +1 -1
  139. package/build-module/components/site-hub/index.js +2 -2
  140. package/build-module/components/site-hub/index.js.map +1 -1
  141. package/build-module/components/template-actions/index.js +26 -8
  142. package/build-module/components/template-actions/index.js.map +1 -1
  143. package/build-module/components/template-actions/rename-menu-item.js +8 -6
  144. package/build-module/components/template-actions/rename-menu-item.js.map +1 -1
  145. package/build-module/components/welcome-guide/page.js +2 -2
  146. package/build-module/components/welcome-guide/page.js.map +1 -1
  147. package/build-module/components/welcome-guide/template.js +2 -2
  148. package/build-module/components/welcome-guide/template.js.map +1 -1
  149. package/build-module/hooks/commands/use-edit-mode-commands.js +1 -2
  150. package/build-module/hooks/commands/use-edit-mode-commands.js.map +1 -1
  151. package/build-module/hooks/push-changes-to-global-styles/index.js +4 -2
  152. package/build-module/hooks/push-changes-to-global-styles/index.js.map +1 -1
  153. package/build-module/store/private-actions.js +7 -1
  154. package/build-module/store/private-actions.js.map +1 -1
  155. package/build-module/utils/use-activate-theme.js +1 -1
  156. package/build-module/utils/use-activate-theme.js.map +1 -1
  157. package/build-style/style-rtl.css +149 -50
  158. package/build-style/style.css +149 -50
  159. package/package.json +19 -19
  160. package/src/components/block-editor/editor-canvas.js +1 -1
  161. package/src/components/block-editor/use-site-editor-settings.js +8 -4
  162. package/src/components/create-pattern-modal/index.js +6 -3
  163. package/src/components/global-styles/palette.js +10 -9
  164. package/src/components/header-edit-mode/document-actions/style.scss +12 -0
  165. package/src/components/header-edit-mode/index.js +17 -9
  166. package/src/components/layout/index.js +1 -1
  167. package/src/components/layout/style.scss +0 -11
  168. package/src/components/page/header.js +1 -1
  169. package/src/components/page-content-focus-manager/disable-non-page-content-blocks.js +12 -3
  170. package/src/components/page-patterns/duplicate-menu-item.js +196 -0
  171. package/src/components/page-patterns/grid-item.js +187 -132
  172. package/src/components/page-patterns/grid.js +35 -22
  173. package/src/components/page-patterns/header.js +69 -0
  174. package/src/components/page-patterns/index.js +6 -1
  175. package/src/components/page-patterns/patterns-list.js +89 -47
  176. package/src/components/page-patterns/rename-menu-item.js +115 -0
  177. package/src/components/page-patterns/style.scss +86 -26
  178. package/src/components/page-patterns/use-patterns.js +99 -176
  179. package/src/components/page-template-parts/index.js +1 -1
  180. package/src/components/page-templates/index.js +1 -1
  181. package/src/components/sidebar-edit-mode/page-panels/page-content.js +7 -5
  182. package/src/components/sidebar-navigation-screen/index.js +1 -1
  183. package/src/components/sidebar-navigation-screen/style.scss +19 -1
  184. package/src/components/sidebar-navigation-screen-global-styles/index.js +56 -39
  185. package/src/components/sidebar-navigation-screen-main/index.js +44 -40
  186. package/src/components/sidebar-navigation-screen-main/template-part-hint.js +36 -0
  187. package/src/components/sidebar-navigation-screen-navigation-menu/edit-button.js +8 -11
  188. package/src/components/sidebar-navigation-screen-navigation-menu/single-navigation-menu.js +10 -6
  189. package/src/components/sidebar-navigation-screen-page/status-label.js +2 -36
  190. package/src/components/sidebar-navigation-screen-pattern/use-pattern-details.js +3 -3
  191. package/src/components/sidebar-navigation-screen-patterns/index.js +79 -75
  192. package/src/components/sidebar-navigation-screen-patterns/style.scss +23 -1
  193. package/src/components/sidebar-navigation-screen-patterns/use-my-patterns.js +7 -6
  194. package/src/components/sidebar-navigation-screen-patterns/use-template-part-areas.js +31 -9
  195. package/src/components/site-hub/index.js +2 -2
  196. package/src/components/template-actions/index.js +40 -9
  197. package/src/components/template-actions/rename-menu-item.js +8 -6
  198. package/src/components/welcome-guide/page.js +2 -2
  199. package/src/components/welcome-guide/template.js +2 -2
  200. package/src/hooks/commands/use-edit-mode-commands.js +0 -1
  201. package/src/hooks/push-changes-to-global-styles/index.js +8 -1
  202. package/src/store/private-actions.js +5 -1
  203. package/src/style.scss +10 -12
  204. package/src/utils/use-activate-theme.js +1 -1
  205. package/build/components/page-content-focus-manager/constants.js +0 -9
  206. package/build/components/page-content-focus-manager/constants.js.map +0 -1
  207. package/build-module/components/page-content-focus-manager/constants.js +0 -2
  208. package/build-module/components/page-content-focus-manager/constants.js.map +0 -1
  209. package/src/components/page-content-focus-manager/constants.js +0 -5
@@ -1459,6 +1459,16 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1459
1459
  color: currentColor;
1460
1460
  background: #e0e0e0;
1461
1461
  }
1462
+ @media (min-width: 782px) {
1463
+ .edit-site-document-actions {
1464
+ width: 50%;
1465
+ }
1466
+ }
1467
+ @media (min-width: 960px) {
1468
+ .edit-site-document-actions {
1469
+ width: min(100%, 450px);
1470
+ }
1471
+ }
1462
1472
 
1463
1473
  .edit-site-document-actions__command {
1464
1474
  grid-column: 1/-1;
@@ -1473,6 +1483,9 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1473
1483
  overflow: hidden;
1474
1484
  grid-column: 2/3;
1475
1485
  }
1486
+ .edit-site-document-actions__title .block-editor-block-icon {
1487
+ min-width: 24px;
1488
+ }
1476
1489
  .edit-site-document-actions__title h1 {
1477
1490
  white-space: nowrap;
1478
1491
  overflow: hidden;
@@ -1771,9 +1784,17 @@ body.is-fullscreen-mode .edit-site-list-header {
1771
1784
  }
1772
1785
 
1773
1786
  .edit-site-patterns {
1774
- background: rgba(0, 0, 0, 0.05);
1787
+ background: rgba(0, 0, 0, 0.15);
1775
1788
  margin: 60px 0 0;
1776
1789
  }
1790
+ .edit-site-patterns .components-base-control {
1791
+ width: 100%;
1792
+ }
1793
+ @media (min-width: 782px) {
1794
+ .edit-site-patterns .components-base-control {
1795
+ width: auto;
1796
+ }
1797
+ }
1777
1798
  .edit-site-patterns .components-text {
1778
1799
  color: #949494;
1779
1800
  }
@@ -1785,35 +1806,82 @@ body.is-fullscreen-mode .edit-site-list-header {
1785
1806
  margin: 0;
1786
1807
  }
1787
1808
  }
1809
+ .edit-site-patterns .edit-site-patterns__search-block {
1810
+ min-width: -moz-fit-content;
1811
+ min-width: fit-content;
1812
+ flex-grow: 1;
1813
+ }
1814
+ .edit-site-patterns .edit-site-patterns__search input[type=search] {
1815
+ height: 40px;
1816
+ background: #2f2f2f;
1817
+ color: #e0e0e0;
1818
+ }
1819
+ .edit-site-patterns .edit-site-patterns__search input[type=search]:focus {
1820
+ background: #2f2f2f;
1821
+ }
1822
+ .edit-site-patterns .edit-site-patterns__search svg {
1823
+ fill: #949494;
1824
+ }
1825
+ .edit-site-patterns .edit-site-patterns__sync-status-filter {
1826
+ background: #2f2f2f;
1827
+ border: none;
1828
+ height: 40px;
1829
+ min-width: max-content;
1830
+ width: 100%;
1831
+ max-width: 100%;
1832
+ }
1833
+ @media (min-width: 782px) {
1834
+ .edit-site-patterns .edit-site-patterns__sync-status-filter {
1835
+ width: 300px;
1836
+ }
1837
+ }
1838
+ .edit-site-patterns .edit-site-patterns__sync-status-filter-option:active {
1839
+ background: #757575;
1840
+ color: #f0f0f0;
1841
+ }
1842
+
1843
+ .edit-site-patterns__section-header .screen-reader-shortcut:focus {
1844
+ top: 0;
1845
+ }
1788
1846
 
1789
1847
  .edit-site-patterns__grid {
1790
- column-gap: 24px;
1848
+ display: grid;
1849
+ grid-template-columns: 1fr;
1850
+ gap: 32px;
1791
1851
  padding-top: 2px;
1792
1852
  margin-bottom: 32px;
1793
1853
  }
1794
1854
  @media (min-width: 960px) {
1795
1855
  .edit-site-patterns__grid {
1796
- column-count: 2;
1856
+ grid-template-columns: 1fr 1fr;
1797
1857
  }
1798
1858
  }
1799
1859
  .edit-site-patterns__grid .edit-site-patterns__pattern {
1800
1860
  break-inside: avoid-column;
1801
1861
  display: flex;
1802
1862
  flex-direction: column;
1803
- margin-bottom: 48px;
1804
1863
  }
1805
1864
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview {
1806
- border-radius: 2px;
1865
+ box-shadow: none;
1866
+ border: none;
1867
+ padding: 0;
1868
+ background-color: unset;
1869
+ box-sizing: border-box;
1870
+ border-radius: 4px;
1807
1871
  cursor: pointer;
1808
1872
  overflow: hidden;
1809
1873
  }
1810
1874
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview:focus {
1811
- box-shadow: inset 0 0 0 2px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1875
+ box-shadow: inset 0 0 0 0 #fff, 0 0 0 2px var(--wp-admin-theme-color);
1812
1876
  outline: 2px solid transparent;
1813
1877
  }
1814
1878
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview.is-inactive {
1815
1879
  cursor: default;
1816
1880
  }
1881
+ .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview.is-inactive:focus {
1882
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #2f2f2f;
1883
+ opacity: 0.8;
1884
+ }
1817
1885
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__footer,
1818
1886
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__button {
1819
1887
  color: #949494;
@@ -1830,23 +1898,23 @@ body.is-fullscreen-mode .edit-site-list-header {
1830
1898
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1831
1899
  }
1832
1900
  .edit-site-patterns__grid .edit-site-patterns__preview {
1833
- flex: 1;
1901
+ flex: 0 1 auto;
1834
1902
  margin-bottom: 16px;
1835
1903
  }
1836
1904
 
1837
- .edit-site-patterns__search.edit-site-patterns__search input[type=search] {
1838
- background: #2f2f2f;
1839
- color: #e0e0e0;
1840
- }
1841
- .edit-site-patterns__search.edit-site-patterns__search input[type=search]:focus {
1842
- background: #2f2f2f;
1843
- }
1844
- .edit-site-patterns__search svg {
1845
- fill: #949494;
1905
+ .edit-site-patterns__load-more {
1906
+ align-self: center;
1846
1907
  }
1847
1908
 
1848
1909
  .edit-site-patterns__pattern-title {
1849
- color: #949494;
1910
+ color: #e0e0e0;
1911
+ }
1912
+ .edit-site-patterns__pattern-title .is-link {
1913
+ text-decoration: none;
1914
+ color: #e0e0e0;
1915
+ }
1916
+ .edit-site-patterns__pattern-title .is-link:hover, .edit-site-patterns__pattern-title .is-link:focus {
1917
+ color: #fff;
1850
1918
  }
1851
1919
  .edit-site-patterns__pattern-title .edit-site-patterns__pattern-icon {
1852
1920
  border-radius: 4px;
@@ -1856,6 +1924,9 @@ body.is-fullscreen-mode .edit-site-list-header {
1856
1924
  .edit-site-patterns__pattern-title .edit-site-patterns__pattern-lock-icon {
1857
1925
  display: inline-flex;
1858
1926
  }
1927
+ .edit-site-patterns__pattern-title .edit-site-patterns__pattern-lock-icon svg {
1928
+ fill: currentcolor;
1929
+ }
1859
1930
 
1860
1931
  .edit-site-patterns__no-results {
1861
1932
  color: #949494;
@@ -2533,11 +2604,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2533
2604
  display: flex;
2534
2605
  flex-direction: column;
2535
2606
  }
2536
- @media (min-width: 782px) {
2537
- .edit-site-layout .block-editor-block-contextual-toolbar.is-fixed {
2538
- width: calc(100% - 240px - 64px - 56px);
2539
- }
2540
- }
2541
2607
 
2542
2608
  .edit-site-layout__hub {
2543
2609
  position: fixed;
@@ -3015,6 +3081,20 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3015
3081
  border-top: 1px solid #2f2f2f;
3016
3082
  }
3017
3083
 
3084
+ .edit-site-sidebar__notice {
3085
+ background: #2f2f2f;
3086
+ color: #ddd;
3087
+ margin: 24px 0;
3088
+ }
3089
+ .edit-site-sidebar__notice.is-dismissible {
3090
+ padding-left: 8px;
3091
+ }
3092
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,
3093
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,
3094
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
3095
+ color: #f0f0f0;
3096
+ }
3097
+
3018
3098
  /* In general style overrides are discouraged.
3019
3099
  * This is a temporary solution to override the InputControl component's styles.
3020
3100
  * The `Theme` component will potentially be the more appropriate approach
@@ -3025,7 +3105,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3025
3105
  width: 100%;
3026
3106
  }
3027
3107
  .edit-site-sidebar-navigation-screen__input-control .components-input-control__container {
3028
- background: transparent;
3108
+ background: #2f2f2f;
3109
+ }
3110
+ .edit-site-sidebar-navigation-screen__input-control .components-input-control__container .components-button {
3111
+ color: #e0e0e0 !important;
3029
3112
  }
3030
3113
  .edit-site-sidebar-navigation-screen__input-control .components-input-control__input {
3031
3114
  color: #e0e0e0 !important;
@@ -3174,7 +3257,24 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3174
3257
  }
3175
3258
 
3176
3259
  .edit-site-sidebar-navigation-screen-patterns__group {
3177
- margin-bottom: 24px;
3260
+ margin-bottom: 32px;
3261
+ }
3262
+ .edit-site-sidebar-navigation-screen-patterns__group:last-of-type, .edit-site-sidebar-navigation-screen-patterns__group:first-of-type {
3263
+ border-bottom: 0;
3264
+ padding-bottom: 0;
3265
+ margin-bottom: 0;
3266
+ }
3267
+ .edit-site-sidebar-navigation-screen-patterns__group:first-of-type {
3268
+ margin-bottom: 32px;
3269
+ }
3270
+
3271
+ .edit-site-sidebar-navigation-screen-patterns__group-header p {
3272
+ color: #949494;
3273
+ }
3274
+ .edit-site-sidebar-navigation-screen-patterns__group-header h2 {
3275
+ font-size: 11px;
3276
+ font-weight: 500;
3277
+ text-transform: uppercase;
3178
3278
  }
3179
3279
 
3180
3280
  .edit-site-sidebar-navigation-screen-template__added-by-description {
@@ -3493,59 +3593,54 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
3493
3593
  width: 100%;
3494
3594
  }
3495
3595
 
3496
- html #wpadminbar {
3596
+ body.js #wpadminbar {
3497
3597
  display: none;
3498
3598
  }
3499
3599
 
3500
- html #wpbody {
3501
- padding-top: 0;
3502
- }
3503
-
3504
- html.wp-toolbar {
3505
- background: #fff;
3600
+ body.js #wpbody {
3506
3601
  padding-top: 0;
3507
3602
  }
3508
3603
 
3509
- body.appearance_page_gutenberg-template-parts,
3510
- body.site-editor-php {
3604
+ body.js.appearance_page_gutenberg-template-parts,
3605
+ body.js.site-editor-php {
3511
3606
  background: #fff;
3512
3607
  /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
3513
3608
  Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
3514
3609
  }
3515
- body.appearance_page_gutenberg-template-parts #wpcontent,
3516
- body.site-editor-php #wpcontent {
3610
+ body.js.appearance_page_gutenberg-template-parts #wpcontent,
3611
+ body.js.site-editor-php #wpcontent {
3517
3612
  padding-right: 0;
3518
3613
  }
3519
- body.appearance_page_gutenberg-template-parts #wpbody-content,
3520
- body.site-editor-php #wpbody-content {
3614
+ body.js.appearance_page_gutenberg-template-parts #wpbody-content,
3615
+ body.js.site-editor-php #wpbody-content {
3521
3616
  padding-bottom: 0;
3522
3617
  }
3523
- body.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
3524
- body.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
3618
+ body.js.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
3619
+ body.js.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
3525
3620
  display: none;
3526
3621
  }
3527
- body.appearance_page_gutenberg-template-parts #wpfooter,
3528
- body.site-editor-php #wpfooter {
3622
+ body.js.appearance_page_gutenberg-template-parts #wpfooter,
3623
+ body.js.site-editor-php #wpfooter {
3529
3624
  display: none;
3530
3625
  }
3531
- body.appearance_page_gutenberg-template-parts .a11y-speak-region,
3532
- body.site-editor-php .a11y-speak-region {
3626
+ body.js.appearance_page_gutenberg-template-parts .a11y-speak-region,
3627
+ body.js.site-editor-php .a11y-speak-region {
3533
3628
  right: -1px;
3534
3629
  top: -1px;
3535
3630
  }
3536
- body.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
3537
- body.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
3538
- body.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
3539
- body.site-editor-php ul#adminmenu > li.current > a.current::after {
3631
+ body.js.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
3632
+ body.js.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
3633
+ body.js.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
3634
+ body.js.site-editor-php ul#adminmenu > li.current > a.current::after {
3540
3635
  border-left-color: #fff;
3541
3636
  }
3542
- body.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
3543
- body.site-editor-php .media-frame select.attachment-filters:last-of-type {
3637
+ body.js.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
3638
+ body.js.site-editor-php .media-frame select.attachment-filters:last-of-type {
3544
3639
  width: auto;
3545
3640
  max-width: 100%;
3546
3641
  }
3547
3642
 
3548
- body.site-editor-php {
3643
+ body.js.site-editor-php {
3549
3644
  background: #1e1e1e;
3550
3645
  }
3551
3646
 
@@ -3575,6 +3670,10 @@ body.site-editor-php {
3575
3670
  top: 0;
3576
3671
  }
3577
3672
  }
3673
+ .no-js .edit-site {
3674
+ min-height: 0;
3675
+ position: static;
3676
+ }
3578
3677
  .edit-site .interface-interface-skeleton {
3579
3678
  top: 0;
3580
3679
  }
@@ -1460,6 +1460,16 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1460
1460
  color: currentColor;
1461
1461
  background: #e0e0e0;
1462
1462
  }
1463
+ @media (min-width: 782px) {
1464
+ .edit-site-document-actions {
1465
+ width: 50%;
1466
+ }
1467
+ }
1468
+ @media (min-width: 960px) {
1469
+ .edit-site-document-actions {
1470
+ width: min(100%, 450px);
1471
+ }
1472
+ }
1463
1473
 
1464
1474
  .edit-site-document-actions__command {
1465
1475
  grid-column: 1/-1;
@@ -1474,6 +1484,9 @@ textarea.edit-site-code-editor-text-area.edit-site-code-editor-text-area:-ms-inp
1474
1484
  overflow: hidden;
1475
1485
  grid-column: 2/3;
1476
1486
  }
1487
+ .edit-site-document-actions__title .block-editor-block-icon {
1488
+ min-width: 24px;
1489
+ }
1477
1490
  .edit-site-document-actions__title h1 {
1478
1491
  white-space: nowrap;
1479
1492
  overflow: hidden;
@@ -1772,9 +1785,17 @@ body.is-fullscreen-mode .edit-site-list-header {
1772
1785
  }
1773
1786
 
1774
1787
  .edit-site-patterns {
1775
- background: rgba(0, 0, 0, 0.05);
1788
+ background: rgba(0, 0, 0, 0.15);
1776
1789
  margin: 60px 0 0;
1777
1790
  }
1791
+ .edit-site-patterns .components-base-control {
1792
+ width: 100%;
1793
+ }
1794
+ @media (min-width: 782px) {
1795
+ .edit-site-patterns .components-base-control {
1796
+ width: auto;
1797
+ }
1798
+ }
1778
1799
  .edit-site-patterns .components-text {
1779
1800
  color: #949494;
1780
1801
  }
@@ -1786,35 +1807,82 @@ body.is-fullscreen-mode .edit-site-list-header {
1786
1807
  margin: 0;
1787
1808
  }
1788
1809
  }
1810
+ .edit-site-patterns .edit-site-patterns__search-block {
1811
+ min-width: -moz-fit-content;
1812
+ min-width: fit-content;
1813
+ flex-grow: 1;
1814
+ }
1815
+ .edit-site-patterns .edit-site-patterns__search input[type=search] {
1816
+ height: 40px;
1817
+ background: #2f2f2f;
1818
+ color: #e0e0e0;
1819
+ }
1820
+ .edit-site-patterns .edit-site-patterns__search input[type=search]:focus {
1821
+ background: #2f2f2f;
1822
+ }
1823
+ .edit-site-patterns .edit-site-patterns__search svg {
1824
+ fill: #949494;
1825
+ }
1826
+ .edit-site-patterns .edit-site-patterns__sync-status-filter {
1827
+ background: #2f2f2f;
1828
+ border: none;
1829
+ height: 40px;
1830
+ min-width: max-content;
1831
+ width: 100%;
1832
+ max-width: 100%;
1833
+ }
1834
+ @media (min-width: 782px) {
1835
+ .edit-site-patterns .edit-site-patterns__sync-status-filter {
1836
+ width: 300px;
1837
+ }
1838
+ }
1839
+ .edit-site-patterns .edit-site-patterns__sync-status-filter-option:active {
1840
+ background: #757575;
1841
+ color: #f0f0f0;
1842
+ }
1843
+
1844
+ .edit-site-patterns__section-header .screen-reader-shortcut:focus {
1845
+ top: 0;
1846
+ }
1789
1847
 
1790
1848
  .edit-site-patterns__grid {
1791
- column-gap: 24px;
1849
+ display: grid;
1850
+ grid-template-columns: 1fr;
1851
+ gap: 32px;
1792
1852
  padding-top: 2px;
1793
1853
  margin-bottom: 32px;
1794
1854
  }
1795
1855
  @media (min-width: 960px) {
1796
1856
  .edit-site-patterns__grid {
1797
- column-count: 2;
1857
+ grid-template-columns: 1fr 1fr;
1798
1858
  }
1799
1859
  }
1800
1860
  .edit-site-patterns__grid .edit-site-patterns__pattern {
1801
1861
  break-inside: avoid-column;
1802
1862
  display: flex;
1803
1863
  flex-direction: column;
1804
- margin-bottom: 48px;
1805
1864
  }
1806
1865
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview {
1807
- border-radius: 2px;
1866
+ box-shadow: none;
1867
+ border: none;
1868
+ padding: 0;
1869
+ background-color: unset;
1870
+ box-sizing: border-box;
1871
+ border-radius: 4px;
1808
1872
  cursor: pointer;
1809
1873
  overflow: hidden;
1810
1874
  }
1811
1875
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview:focus {
1812
- box-shadow: inset 0 0 0 2px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1876
+ box-shadow: inset 0 0 0 0 #fff, 0 0 0 2px var(--wp-admin-theme-color);
1813
1877
  outline: 2px solid transparent;
1814
1878
  }
1815
1879
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview.is-inactive {
1816
1880
  cursor: default;
1817
1881
  }
1882
+ .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__preview.is-inactive:focus {
1883
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #2f2f2f;
1884
+ opacity: 0.8;
1885
+ }
1818
1886
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__footer,
1819
1887
  .edit-site-patterns__grid .edit-site-patterns__pattern .edit-site-patterns__button {
1820
1888
  color: #949494;
@@ -1831,23 +1899,23 @@ body.is-fullscreen-mode .edit-site-list-header {
1831
1899
  box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1832
1900
  }
1833
1901
  .edit-site-patterns__grid .edit-site-patterns__preview {
1834
- flex: 1;
1902
+ flex: 0 1 auto;
1835
1903
  margin-bottom: 16px;
1836
1904
  }
1837
1905
 
1838
- .edit-site-patterns__search.edit-site-patterns__search input[type=search] {
1839
- background: #2f2f2f;
1840
- color: #e0e0e0;
1841
- }
1842
- .edit-site-patterns__search.edit-site-patterns__search input[type=search]:focus {
1843
- background: #2f2f2f;
1844
- }
1845
- .edit-site-patterns__search svg {
1846
- fill: #949494;
1906
+ .edit-site-patterns__load-more {
1907
+ align-self: center;
1847
1908
  }
1848
1909
 
1849
1910
  .edit-site-patterns__pattern-title {
1850
- color: #949494;
1911
+ color: #e0e0e0;
1912
+ }
1913
+ .edit-site-patterns__pattern-title .is-link {
1914
+ text-decoration: none;
1915
+ color: #e0e0e0;
1916
+ }
1917
+ .edit-site-patterns__pattern-title .is-link:hover, .edit-site-patterns__pattern-title .is-link:focus {
1918
+ color: #fff;
1851
1919
  }
1852
1920
  .edit-site-patterns__pattern-title .edit-site-patterns__pattern-icon {
1853
1921
  border-radius: 4px;
@@ -1857,6 +1925,9 @@ body.is-fullscreen-mode .edit-site-list-header {
1857
1925
  .edit-site-patterns__pattern-title .edit-site-patterns__pattern-lock-icon {
1858
1926
  display: inline-flex;
1859
1927
  }
1928
+ .edit-site-patterns__pattern-title .edit-site-patterns__pattern-lock-icon svg {
1929
+ fill: currentcolor;
1930
+ }
1860
1931
 
1861
1932
  .edit-site-patterns__no-results {
1862
1933
  color: #949494;
@@ -2534,11 +2605,6 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
2534
2605
  display: flex;
2535
2606
  flex-direction: column;
2536
2607
  }
2537
- @media (min-width: 782px) {
2538
- .edit-site-layout .block-editor-block-contextual-toolbar.is-fixed {
2539
- width: calc(100% - 240px - 64px - 56px);
2540
- }
2541
- }
2542
2608
 
2543
2609
  .edit-site-layout__hub {
2544
2610
  position: fixed;
@@ -3016,6 +3082,20 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3016
3082
  border-top: 1px solid #2f2f2f;
3017
3083
  }
3018
3084
 
3085
+ .edit-site-sidebar__notice {
3086
+ background: #2f2f2f;
3087
+ color: #ddd;
3088
+ margin: 24px 0;
3089
+ }
3090
+ .edit-site-sidebar__notice.is-dismissible {
3091
+ padding-right: 8px;
3092
+ }
3093
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus,
3094
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active,
3095
+ .edit-site-sidebar__notice .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {
3096
+ color: #f0f0f0;
3097
+ }
3098
+
3019
3099
  /* In general style overrides are discouraged.
3020
3100
  * This is a temporary solution to override the InputControl component's styles.
3021
3101
  * The `Theme` component will potentially be the more appropriate approach
@@ -3026,7 +3106,10 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3026
3106
  width: 100%;
3027
3107
  }
3028
3108
  .edit-site-sidebar-navigation-screen__input-control .components-input-control__container {
3029
- background: transparent;
3109
+ background: #2f2f2f;
3110
+ }
3111
+ .edit-site-sidebar-navigation-screen__input-control .components-input-control__container .components-button {
3112
+ color: #e0e0e0 !important;
3030
3113
  }
3031
3114
  .edit-site-sidebar-navigation-screen__input-control .components-input-control__input {
3032
3115
  color: #e0e0e0 !important;
@@ -3175,7 +3258,24 @@ body.is-fullscreen-mode .edit-site .components-editor-notices__snackbar {
3175
3258
  }
3176
3259
 
3177
3260
  .edit-site-sidebar-navigation-screen-patterns__group {
3178
- margin-bottom: 24px;
3261
+ margin-bottom: 32px;
3262
+ }
3263
+ .edit-site-sidebar-navigation-screen-patterns__group:last-of-type, .edit-site-sidebar-navigation-screen-patterns__group:first-of-type {
3264
+ border-bottom: 0;
3265
+ padding-bottom: 0;
3266
+ margin-bottom: 0;
3267
+ }
3268
+ .edit-site-sidebar-navigation-screen-patterns__group:first-of-type {
3269
+ margin-bottom: 32px;
3270
+ }
3271
+
3272
+ .edit-site-sidebar-navigation-screen-patterns__group-header p {
3273
+ color: #949494;
3274
+ }
3275
+ .edit-site-sidebar-navigation-screen-patterns__group-header h2 {
3276
+ font-size: 11px;
3277
+ font-weight: 500;
3278
+ text-transform: uppercase;
3179
3279
  }
3180
3280
 
3181
3281
  .edit-site-sidebar-navigation-screen-template__added-by-description {
@@ -3494,59 +3594,54 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
3494
3594
  width: 100%;
3495
3595
  }
3496
3596
 
3497
- html #wpadminbar {
3597
+ body.js #wpadminbar {
3498
3598
  display: none;
3499
3599
  }
3500
3600
 
3501
- html #wpbody {
3502
- padding-top: 0;
3503
- }
3504
-
3505
- html.wp-toolbar {
3506
- background: #fff;
3601
+ body.js #wpbody {
3507
3602
  padding-top: 0;
3508
3603
  }
3509
3604
 
3510
- body.appearance_page_gutenberg-template-parts,
3511
- body.site-editor-php {
3605
+ body.js.appearance_page_gutenberg-template-parts,
3606
+ body.js.site-editor-php {
3512
3607
  background: #fff;
3513
3608
  /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
3514
3609
  Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
3515
3610
  }
3516
- body.appearance_page_gutenberg-template-parts #wpcontent,
3517
- body.site-editor-php #wpcontent {
3611
+ body.js.appearance_page_gutenberg-template-parts #wpcontent,
3612
+ body.js.site-editor-php #wpcontent {
3518
3613
  padding-left: 0;
3519
3614
  }
3520
- body.appearance_page_gutenberg-template-parts #wpbody-content,
3521
- body.site-editor-php #wpbody-content {
3615
+ body.js.appearance_page_gutenberg-template-parts #wpbody-content,
3616
+ body.js.site-editor-php #wpbody-content {
3522
3617
  padding-bottom: 0;
3523
3618
  }
3524
- body.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
3525
- body.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
3619
+ body.js.appearance_page_gutenberg-template-parts #wpbody-content > div:not(.edit-site):not(#screen-meta),
3620
+ body.js.site-editor-php #wpbody-content > div:not(.edit-site):not(#screen-meta) {
3526
3621
  display: none;
3527
3622
  }
3528
- body.appearance_page_gutenberg-template-parts #wpfooter,
3529
- body.site-editor-php #wpfooter {
3623
+ body.js.appearance_page_gutenberg-template-parts #wpfooter,
3624
+ body.js.site-editor-php #wpfooter {
3530
3625
  display: none;
3531
3626
  }
3532
- body.appearance_page_gutenberg-template-parts .a11y-speak-region,
3533
- body.site-editor-php .a11y-speak-region {
3627
+ body.js.appearance_page_gutenberg-template-parts .a11y-speak-region,
3628
+ body.js.site-editor-php .a11y-speak-region {
3534
3629
  left: -1px;
3535
3630
  top: -1px;
3536
3631
  }
3537
- body.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
3538
- body.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
3539
- body.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
3540
- body.site-editor-php ul#adminmenu > li.current > a.current::after {
3632
+ body.js.appearance_page_gutenberg-template-parts ul#adminmenu a.wp-has-current-submenu::after,
3633
+ body.js.appearance_page_gutenberg-template-parts ul#adminmenu > li.current > a.current::after,
3634
+ body.js.site-editor-php ul#adminmenu a.wp-has-current-submenu::after,
3635
+ body.js.site-editor-php ul#adminmenu > li.current > a.current::after {
3541
3636
  border-right-color: #fff;
3542
3637
  }
3543
- body.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
3544
- body.site-editor-php .media-frame select.attachment-filters:last-of-type {
3638
+ body.js.appearance_page_gutenberg-template-parts .media-frame select.attachment-filters:last-of-type,
3639
+ body.js.site-editor-php .media-frame select.attachment-filters:last-of-type {
3545
3640
  width: auto;
3546
3641
  max-width: 100%;
3547
3642
  }
3548
3643
 
3549
- body.site-editor-php {
3644
+ body.js.site-editor-php {
3550
3645
  background: #1e1e1e;
3551
3646
  }
3552
3647
 
@@ -3576,6 +3671,10 @@ body.site-editor-php {
3576
3671
  top: 0;
3577
3672
  }
3578
3673
  }
3674
+ .no-js .edit-site {
3675
+ min-height: 0;
3676
+ position: static;
3677
+ }
3579
3678
  .edit-site .interface-interface-skeleton {
3580
3679
  top: 0;
3581
3680
  }