@wordpress/block-editor 14.2.1-next.5368f64a9.0 → 14.3.1

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 (144) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/components/background-image-control/index.js +566 -0
  3. package/build/components/background-image-control/index.js.map +1 -0
  4. package/build/components/block-card/index.js +5 -2
  5. package/build/components/block-card/index.js.map +1 -1
  6. package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js +4 -2
  7. package/build/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
  8. package/build/components/global-styles/background-panel.js +20 -545
  9. package/build/components/global-styles/background-panel.js.map +1 -1
  10. package/build/components/global-styles/dimensions-panel.js +3 -0
  11. package/build/components/global-styles/dimensions-panel.js.map +1 -1
  12. package/build/components/grid/grid-item-resizer.js +2 -2
  13. package/build/components/grid/grid-item-resizer.js.map +1 -1
  14. package/build/components/iframe/index.js +1 -0
  15. package/build/components/iframe/index.js.map +1 -1
  16. package/build/components/image-editor/use-save-image.js +6 -0
  17. package/build/components/image-editor/use-save-image.js.map +1 -1
  18. package/build/components/image-editor/use-transform-image.js +1 -0
  19. package/build/components/image-editor/use-transform-image.js.map +1 -1
  20. package/build/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +2 -4
  21. package/build/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js.map +1 -1
  22. package/build/components/inserter/block-patterns-tab/index.js +2 -4
  23. package/build/components/inserter/block-patterns-tab/index.js.map +1 -1
  24. package/build/components/inserter/media-tab/media-preview.js +4 -8
  25. package/build/components/inserter/media-tab/media-preview.js.map +1 -1
  26. package/build/components/inserter/media-tab/media-tab.js +2 -4
  27. package/build/components/inserter/media-tab/media-tab.js.map +1 -1
  28. package/build/components/inserter/quick-inserter.js +2 -4
  29. package/build/components/inserter/quick-inserter.js.map +1 -1
  30. package/build/components/inserter-listbox/item.js +2 -4
  31. package/build/components/inserter-listbox/item.js.map +1 -1
  32. package/build/components/link-control/index.js +14 -14
  33. package/build/components/link-control/index.js.map +1 -1
  34. package/build/components/link-control/search-input.js +4 -2
  35. package/build/components/link-control/search-input.js.map +1 -1
  36. package/build/components/rich-text/index.js +10 -4
  37. package/build/components/rich-text/index.js.map +1 -1
  38. package/build/components/spacing-sizes-control/index.js +8 -9
  39. package/build/components/spacing-sizes-control/index.js.map +1 -1
  40. package/build/components/spacing-sizes-control/linked-button.js +35 -0
  41. package/build/components/spacing-sizes-control/linked-button.js.map +1 -0
  42. package/build/components/spacing-sizes-control/utils.js +3 -2
  43. package/build/components/spacing-sizes-control/utils.js.map +1 -1
  44. package/build/components/url-input/index.js +7 -6
  45. package/build/components/url-input/index.js.map +1 -1
  46. package/build/hooks/block-bindings.js +65 -53
  47. package/build/hooks/block-bindings.js.map +1 -1
  48. package/build/hooks/block-hooks.js +1 -8
  49. package/build/hooks/block-hooks.js.map +1 -1
  50. package/build/store/private-selectors.js +10 -0
  51. package/build/store/private-selectors.js.map +1 -1
  52. package/build-module/components/background-image-control/index.js +556 -0
  53. package/build-module/components/background-image-control/index.js.map +1 -0
  54. package/build-module/components/block-card/index.js +6 -3
  55. package/build-module/components/block-card/index.js.map +1 -1
  56. package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js +4 -2
  57. package/build-module/components/block-list/use-block-props/use-zoom-out-mode-exit.js.map +1 -1
  58. package/build-module/components/global-styles/background-panel.js +22 -546
  59. package/build-module/components/global-styles/background-panel.js.map +1 -1
  60. package/build-module/components/global-styles/dimensions-panel.js +3 -0
  61. package/build-module/components/global-styles/dimensions-panel.js.map +1 -1
  62. package/build-module/components/grid/grid-item-resizer.js +2 -2
  63. package/build-module/components/grid/grid-item-resizer.js.map +1 -1
  64. package/build-module/components/iframe/index.js +1 -0
  65. package/build-module/components/iframe/index.js.map +1 -1
  66. package/build-module/components/image-editor/use-save-image.js +6 -0
  67. package/build-module/components/image-editor/use-save-image.js.map +1 -1
  68. package/build-module/components/image-editor/use-transform-image.js +1 -0
  69. package/build-module/components/image-editor/use-transform-image.js.map +1 -1
  70. package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +2 -4
  71. package/build-module/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js.map +1 -1
  72. package/build-module/components/inserter/block-patterns-tab/index.js +2 -4
  73. package/build-module/components/inserter/block-patterns-tab/index.js.map +1 -1
  74. package/build-module/components/inserter/media-tab/media-preview.js +4 -8
  75. package/build-module/components/inserter/media-tab/media-preview.js.map +1 -1
  76. package/build-module/components/inserter/media-tab/media-tab.js +2 -4
  77. package/build-module/components/inserter/media-tab/media-tab.js.map +1 -1
  78. package/build-module/components/inserter/quick-inserter.js +2 -4
  79. package/build-module/components/inserter/quick-inserter.js.map +1 -1
  80. package/build-module/components/inserter-listbox/item.js +2 -4
  81. package/build-module/components/inserter-listbox/item.js.map +1 -1
  82. package/build-module/components/link-control/index.js +15 -15
  83. package/build-module/components/link-control/index.js.map +1 -1
  84. package/build-module/components/link-control/search-input.js +4 -2
  85. package/build-module/components/link-control/search-input.js.map +1 -1
  86. package/build-module/components/rich-text/index.js +10 -4
  87. package/build-module/components/rich-text/index.js.map +1 -1
  88. package/build-module/components/spacing-sizes-control/index.js +9 -10
  89. package/build-module/components/spacing-sizes-control/index.js.map +1 -1
  90. package/build-module/components/spacing-sizes-control/linked-button.js +28 -0
  91. package/build-module/components/spacing-sizes-control/linked-button.js.map +1 -0
  92. package/build-module/components/spacing-sizes-control/utils.js +3 -2
  93. package/build-module/components/spacing-sizes-control/utils.js.map +1 -1
  94. package/build-module/components/url-input/index.js +8 -7
  95. package/build-module/components/url-input/index.js.map +1 -1
  96. package/build-module/hooks/block-bindings.js +65 -53
  97. package/build-module/hooks/block-bindings.js.map +1 -1
  98. package/build-module/hooks/block-hooks.js +3 -10
  99. package/build-module/hooks/block-hooks.js.map +1 -1
  100. package/build-module/store/private-selectors.js +10 -0
  101. package/build-module/store/private-selectors.js.map +1 -1
  102. package/build-style/style-rtl.css +152 -285
  103. package/build-style/style.css +152 -285
  104. package/package.json +32 -32
  105. package/src/components/background-image-control/index.js +741 -0
  106. package/src/components/background-image-control/style.scss +170 -0
  107. package/src/components/background-image-control/test/index.js +47 -0
  108. package/src/components/block-card/index.js +12 -3
  109. package/src/components/block-list/use-block-props/use-zoom-out-mode-exit.js +2 -5
  110. package/src/components/global-styles/background-panel.js +19 -730
  111. package/src/components/global-styles/dimensions-panel.js +3 -0
  112. package/src/components/global-styles/style.scss +0 -168
  113. package/src/components/global-styles/test/background-panel.js +1 -47
  114. package/src/components/grid/grid-item-resizer.js +2 -2
  115. package/src/components/image-editor/use-save-image.js +7 -0
  116. package/src/components/inserter/block-patterns-explorer/pattern-explorer-sidebar.js +1 -2
  117. package/src/components/inserter/block-patterns-tab/index.js +1 -2
  118. package/src/components/inserter/media-tab/media-preview.js +2 -4
  119. package/src/components/inserter/media-tab/media-tab.js +1 -2
  120. package/src/components/inserter/quick-inserter.js +1 -2
  121. package/src/components/inserter/style.scss +0 -10
  122. package/src/components/inserter-listbox/item.js +1 -5
  123. package/src/components/link-control/index.js +19 -14
  124. package/src/components/link-control/search-input.js +2 -0
  125. package/src/components/link-control/style.scss +0 -22
  126. package/src/components/list-view/style.scss +1 -1
  127. package/src/components/rich-text/index.js +20 -5
  128. package/src/components/spacing-sizes-control/index.js +10 -13
  129. package/src/components/spacing-sizes-control/linked-button.js +32 -0
  130. package/src/components/spacing-sizes-control/test/utils.js +22 -30
  131. package/src/components/spacing-sizes-control/utils.js +6 -2
  132. package/src/components/url-input/index.js +5 -4
  133. package/src/components/url-input/style.scss +3 -26
  134. package/src/hooks/block-bindings.js +64 -50
  135. package/src/hooks/block-hooks.js +3 -14
  136. package/src/hooks/block-hooks.scss +0 -9
  137. package/src/store/private-selectors.js +9 -0
  138. package/src/style.scss +1 -0
  139. package/src/utils/test/transform-styles.js +1 -1
  140. package/build/components/spacing-sizes-control/sides-dropdown/index.js +0 -86
  141. package/build/components/spacing-sizes-control/sides-dropdown/index.js.map +0 -1
  142. package/build-module/components/spacing-sizes-control/sides-dropdown/index.js +0 -81
  143. package/build-module/components/spacing-sizes-control/sides-dropdown/index.js.map +0 -1
  144. package/src/components/spacing-sizes-control/sides-dropdown/index.js +0 -91
@@ -124,6 +124,142 @@
124
124
  margin-left: 8px;
125
125
  }
126
126
 
127
+ .block-editor-global-styles-background-panel__inspector-media-replace-container {
128
+ border: 1px solid #ddd;
129
+ border-radius: 2px;
130
+ grid-column: 1/-1;
131
+ }
132
+ .block-editor-global-styles-background-panel__inspector-media-replace-container.is-open {
133
+ background-color: #f0f0f0;
134
+ }
135
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item {
136
+ flex-grow: 1;
137
+ border: 0;
138
+ }
139
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
140
+ display: block;
141
+ }
142
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-preview-inner {
143
+ height: 100%;
144
+ }
145
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown {
146
+ display: block;
147
+ height: 36px;
148
+ }
149
+
150
+ .block-editor-global-styles-background-panel__image-tools-panel-item {
151
+ border: 1px solid #ddd;
152
+ grid-column: 1/-1;
153
+ position: relative;
154
+ }
155
+ .block-editor-global-styles-background-panel__image-tools-panel-item .components-drop-zone__content-icon {
156
+ display: none;
157
+ }
158
+ .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
159
+ display: block;
160
+ height: 36px;
161
+ }
162
+ .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button {
163
+ color: #1e1e1e;
164
+ width: 100%;
165
+ display: block;
166
+ }
167
+ .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:hover {
168
+ color: var(--wp-admin-theme-color);
169
+ }
170
+ .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:focus {
171
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
172
+ }
173
+ .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading {
174
+ height: 100%;
175
+ position: absolute;
176
+ z-index: 1;
177
+ width: 100%;
178
+ padding: 10px 0 0 0;
179
+ }
180
+ .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading svg {
181
+ margin: 0;
182
+ }
183
+
184
+ .block-editor-global-styles-background-panel__image-preview-content,
185
+ .block-editor-global-styles-background-panel__dropdown-toggle {
186
+ height: 100%;
187
+ width: 100%;
188
+ padding-right: 12px;
189
+ }
190
+
191
+ .block-editor-global-styles-background-panel__dropdown-toggle {
192
+ cursor: pointer;
193
+ background: transparent;
194
+ border: none;
195
+ }
196
+
197
+ .block-editor-global-styles-background-panel__inspector-media-replace-title {
198
+ word-break: break-all;
199
+ white-space: normal;
200
+ text-align: start;
201
+ text-align-last: center;
202
+ }
203
+
204
+ .block-editor-global-styles-background-panel__inspector-preview-inner .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper {
205
+ width: 20px;
206
+ height: 20px;
207
+ min-width: auto;
208
+ }
209
+
210
+ .block-editor-global-styles-background-panel__inspector-image-indicator {
211
+ background-size: cover;
212
+ border-radius: 50%;
213
+ width: 20px;
214
+ height: 20px;
215
+ display: block;
216
+ position: relative;
217
+ }
218
+
219
+ .block-editor-global-styles-background-panel__inspector-image-indicator::after {
220
+ content: "";
221
+ position: absolute;
222
+ top: -1px;
223
+ right: -1px;
224
+ bottom: -1px;
225
+ left: -1px;
226
+ border-radius: 50%;
227
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
228
+ border: 1px solid transparent;
229
+ box-sizing: inherit;
230
+ }
231
+
232
+ .block-editor-global-styles-background-panel__dropdown-content-wrapper {
233
+ min-width: 260px;
234
+ overflow-x: hidden;
235
+ }
236
+ .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper {
237
+ background-color: #f0f0f0;
238
+ width: 100%;
239
+ border-radius: 2px;
240
+ border: 1px solid #ddd;
241
+ }
242
+ .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker__media--image {
243
+ max-height: 180px;
244
+ }
245
+ .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker::after {
246
+ content: none;
247
+ }
248
+
249
+ .modal-open .block-editor-global-styles-background-panel__popover {
250
+ z-index: 159890;
251
+ }
252
+
253
+ .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content {
254
+ width: 226px;
255
+ }
256
+ .block-editor-global-styles-background-panel__media-replace-popover .components-button {
257
+ padding: 0 8px;
258
+ }
259
+ .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right {
260
+ margin-right: 16px;
261
+ }
262
+
127
263
  .block-editor-block-alignment-control__menu-group .components-menu-item__info {
128
264
  margin-top: 0;
129
265
  }
@@ -1559,142 +1695,6 @@ iframe[name=editor-canvas] {
1559
1695
  direction: ltr;
1560
1696
  }
1561
1697
 
1562
- .block-editor-global-styles-background-panel__inspector-media-replace-container {
1563
- border: 1px solid #ddd;
1564
- border-radius: 2px;
1565
- grid-column: 1/-1;
1566
- }
1567
- .block-editor-global-styles-background-panel__inspector-media-replace-container.is-open {
1568
- background-color: #f0f0f0;
1569
- }
1570
- .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item {
1571
- flex-grow: 1;
1572
- border: 0;
1573
- }
1574
- .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
1575
- display: block;
1576
- }
1577
- .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-preview-inner {
1578
- height: 100%;
1579
- }
1580
- .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown {
1581
- display: block;
1582
- height: 36px;
1583
- }
1584
-
1585
- .block-editor-global-styles-background-panel__image-tools-panel-item {
1586
- border: 1px solid #ddd;
1587
- grid-column: 1/-1;
1588
- position: relative;
1589
- }
1590
- .block-editor-global-styles-background-panel__image-tools-panel-item .components-drop-zone__content-icon {
1591
- display: none;
1592
- }
1593
- .block-editor-global-styles-background-panel__image-tools-panel-item .components-dropdown {
1594
- display: block;
1595
- height: 36px;
1596
- }
1597
- .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button {
1598
- color: #1e1e1e;
1599
- width: 100%;
1600
- display: block;
1601
- }
1602
- .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:hover {
1603
- color: var(--wp-admin-theme-color);
1604
- }
1605
- .block-editor-global-styles-background-panel__image-tools-panel-item button.components-button:focus {
1606
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1607
- }
1608
- .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading {
1609
- height: 100%;
1610
- position: absolute;
1611
- z-index: 1;
1612
- width: 100%;
1613
- padding: 10px 0 0 0;
1614
- }
1615
- .block-editor-global-styles-background-panel__image-tools-panel-item .block-editor-global-styles-background-panel__loading svg {
1616
- margin: 0;
1617
- }
1618
-
1619
- .block-editor-global-styles-background-panel__image-preview-content,
1620
- .block-editor-global-styles-background-panel__dropdown-toggle {
1621
- height: 100%;
1622
- width: 100%;
1623
- padding-right: 12px;
1624
- }
1625
-
1626
- .block-editor-global-styles-background-panel__dropdown-toggle {
1627
- cursor: pointer;
1628
- background: transparent;
1629
- border: none;
1630
- }
1631
-
1632
- .block-editor-global-styles-background-panel__inspector-media-replace-title {
1633
- word-break: break-all;
1634
- white-space: normal;
1635
- text-align: start;
1636
- text-align-last: center;
1637
- }
1638
-
1639
- .block-editor-global-styles-background-panel__inspector-preview-inner .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper {
1640
- width: 20px;
1641
- height: 20px;
1642
- min-width: auto;
1643
- }
1644
-
1645
- .block-editor-global-styles-background-panel__inspector-image-indicator {
1646
- background-size: cover;
1647
- border-radius: 50%;
1648
- width: 20px;
1649
- height: 20px;
1650
- display: block;
1651
- position: relative;
1652
- }
1653
-
1654
- .block-editor-global-styles-background-panel__inspector-image-indicator::after {
1655
- content: "";
1656
- position: absolute;
1657
- top: -1px;
1658
- right: -1px;
1659
- bottom: -1px;
1660
- left: -1px;
1661
- border-radius: 50%;
1662
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1663
- border: 1px solid transparent;
1664
- box-sizing: inherit;
1665
- }
1666
-
1667
- .block-editor-global-styles-background-panel__dropdown-content-wrapper {
1668
- min-width: 260px;
1669
- overflow-x: hidden;
1670
- }
1671
- .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker-wrapper {
1672
- background-color: #f0f0f0;
1673
- width: 100%;
1674
- border-radius: 2px;
1675
- border: 1px solid #ddd;
1676
- }
1677
- .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker__media--image {
1678
- max-height: 180px;
1679
- }
1680
- .block-editor-global-styles-background-panel__dropdown-content-wrapper .components-focal-point-picker::after {
1681
- content: none;
1682
- }
1683
-
1684
- .modal-open .block-editor-global-styles-background-panel__popover {
1685
- z-index: 159890;
1686
- }
1687
-
1688
- .block-editor-global-styles-background-panel__media-replace-popover .components-popover__content {
1689
- width: 226px;
1690
- }
1691
- .block-editor-global-styles-background-panel__media-replace-popover .components-button {
1692
- padding: 0 8px;
1693
- }
1694
- .block-editor-global-styles-background-panel__media-replace-popover .components-button .components-menu-items__item-icon.has-icon-right {
1695
- margin-right: 16px;
1696
- }
1697
-
1698
1698
  .block-editor-grid-visualizer.block-editor-grid-visualizer.block-editor-grid-visualizer {
1699
1699
  z-index: 30;
1700
1700
  }
@@ -2118,67 +2118,11 @@ iframe[name=editor-canvas] {
2118
2118
  .block-editor-link-control__field .components-base-control__label {
2119
2119
  color: #1e1e1e;
2120
2120
  }
2121
- .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
2122
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2123
- padding: 6px 8px;
2124
- box-shadow: 0 0 0 transparent;
2125
- transition: box-shadow 0.1s linear;
2126
- border-radius: 2px;
2127
- border: 1px solid #949494;
2128
- /* Fonts smaller than 16px causes mobile safari to zoom. */
2129
- font-size: 16px;
2130
- /* Override core line-height. To be reviewed. */
2131
- line-height: normal;
2132
- display: block;
2133
- border: 1px solid #949494;
2134
- height: 40px;
2135
- margin: 0;
2136
- padding: 8px 16px 8px 40px;
2137
- position: relative;
2138
- width: 100%;
2139
- }
2140
- @media (prefers-reduced-motion: reduce) {
2141
- .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
2142
- transition-duration: 0s;
2143
- transition-delay: 0s;
2144
- }
2145
- }
2146
- @media (min-width: 600px) {
2147
- .block-editor-link-control__field input[type=text], .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
2148
- font-size: 13px;
2149
- /* Override core line-height. To be reviewed. */
2150
- line-height: normal;
2151
- }
2152
- }
2153
- .block-editor-link-control__field input[type=text]:focus, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:focus {
2154
- border-color: var(--wp-admin-theme-color);
2155
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
2156
- outline: 2px solid transparent;
2157
- }
2158
- .block-editor-link-control__field input[type=text]::-webkit-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-webkit-input-placeholder {
2159
- color: rgba(30, 30, 30, 0.62);
2160
- }
2161
- .block-editor-link-control__field input[type=text]::-moz-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input::-moz-placeholder {
2162
- opacity: 1;
2163
- color: rgba(30, 30, 30, 0.62);
2164
- }
2165
- .block-editor-link-control__field input[type=text]:-ms-input-placeholder, .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input:-ms-input-placeholder {
2166
- color: rgba(30, 30, 30, 0.62);
2167
- }
2168
- .has-actions .block-editor-link-control__field input[type=text], .has-actions .block-editor-link-control__field.block-editor-url-input input[type=text].block-editor-url-input__input {
2169
- padding-left: 16px;
2170
- }
2171
2121
 
2172
2122
  .block-editor-link-control__search-error {
2173
2123
  margin: -8px 16px 16px;
2174
2124
  }
2175
2125
 
2176
- .block-editor-link-control__search-enter {
2177
- position: absolute;
2178
- left: 19px;
2179
- top: 3px;
2180
- }
2181
-
2182
2126
  .block-editor-link-control__search-actions {
2183
2127
  padding: 8px 16px 16px;
2184
2128
  }
@@ -2672,9 +2616,17 @@ iframe[name=editor-canvas] {
2672
2616
  }
2673
2617
  .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2674
2618
  opacity: 1;
2675
- animation: edit-post__fade-in-animation 0.08s linear 0s;
2619
+ animation: __wp-base-styles-fade-in 0.08s linear 0s;
2676
2620
  animation-fill-mode: forwards;
2677
2621
  }
2622
+ @keyframes __wp-base-styles-fade-in {
2623
+ from {
2624
+ opacity: 0;
2625
+ }
2626
+ to {
2627
+ opacity: 1;
2628
+ }
2629
+ }
2678
2630
  @media (prefers-reduced-motion: reduce) {
2679
2631
  .block-editor-list-view-leaf.is-visible .block-editor-list-view-block-contents {
2680
2632
  animation-duration: 1ms;
@@ -3193,45 +3145,19 @@ iframe[name=editor-canvas] {
3193
3145
  position: relative;
3194
3146
  padding: 1px;
3195
3147
  }
3196
- .block-editor-block-list__block .block-editor-url-input input[type=text],
3197
- .components-popover .block-editor-url-input input[type=text],
3198
- .block-editor-url-input input[type=text] {
3199
- width: 100%;
3200
- padding: 8px 12px 8px 8px;
3201
- margin-right: 0;
3202
- margin-left: 0;
3203
- /* Fonts smaller than 16px causes mobile safari to zoom. */
3204
- font-size: 16px;
3205
- }
3206
3148
  @media (min-width: 600px) {
3207
- .block-editor-block-list__block .block-editor-url-input input[type=text],
3208
- .components-popover .block-editor-url-input input[type=text],
3209
- .block-editor-url-input input[type=text] {
3210
- width: 300px;
3211
- }
3212
- }
3213
- @media (min-width: 600px) {
3214
- .block-editor-block-list__block .block-editor-url-input input[type=text],
3215
- .components-popover .block-editor-url-input input[type=text],
3216
- .block-editor-url-input input[type=text] {
3217
- font-size: 13px;
3149
+ .block-editor-block-list__block .block-editor-url-input,
3150
+ .components-popover .block-editor-url-input,
3151
+ .block-editor-url-input {
3152
+ min-width: 300px;
3153
+ width: auto;
3218
3154
  }
3219
3155
  }
3220
- .block-editor-block-list__block .block-editor-url-input input[type=text]::-ms-clear,
3221
- .components-popover .block-editor-url-input input[type=text]::-ms-clear,
3222
- .block-editor-url-input input[type=text]::-ms-clear {
3223
- display: none;
3224
- }
3225
3156
  .block-editor-block-list__block .block-editor-url-input.is-full-width,
3226
3157
  .components-popover .block-editor-url-input.is-full-width,
3227
3158
  .block-editor-url-input.is-full-width {
3228
3159
  width: 100%;
3229
3160
  }
3230
- .block-editor-block-list__block .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],
3231
- .components-popover .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text],
3232
- .block-editor-url-input.is-full-width .block-editor-url-input__input[type=text] {
3233
- width: 100%;
3234
- }
3235
3161
  .block-editor-block-list__block .block-editor-url-input.is-full-width__suggestions,
3236
3162
  .components-popover .block-editor-url-input.is-full-width__suggestions,
3237
3163
  .block-editor-url-input.is-full-width__suggestions {
@@ -3246,47 +3172,6 @@ iframe[name=editor-canvas] {
3246
3172
  left: 8px;
3247
3173
  }
3248
3174
 
3249
- .block-editor-url-input__input[type=text] {
3250
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
3251
- padding: 6px 8px;
3252
- box-shadow: 0 0 0 transparent;
3253
- transition: box-shadow 0.1s linear;
3254
- border-radius: 2px;
3255
- border: 1px solid #949494;
3256
- /* Fonts smaller than 16px causes mobile safari to zoom. */
3257
- font-size: 16px;
3258
- /* Override core line-height. To be reviewed. */
3259
- line-height: normal;
3260
- }
3261
- @media (prefers-reduced-motion: reduce) {
3262
- .block-editor-url-input__input[type=text] {
3263
- transition-duration: 0s;
3264
- transition-delay: 0s;
3265
- }
3266
- }
3267
- @media (min-width: 600px) {
3268
- .block-editor-url-input__input[type=text] {
3269
- font-size: 13px;
3270
- /* Override core line-height. To be reviewed. */
3271
- line-height: normal;
3272
- }
3273
- }
3274
- .block-editor-url-input__input[type=text]:focus {
3275
- border-color: var(--wp-admin-theme-color);
3276
- box-shadow: 0 0 0 0.5px var(--wp-admin-theme-color);
3277
- outline: 2px solid transparent;
3278
- }
3279
- .block-editor-url-input__input[type=text]::-webkit-input-placeholder {
3280
- color: rgba(30, 30, 30, 0.62);
3281
- }
3282
- .block-editor-url-input__input[type=text]::-moz-placeholder {
3283
- opacity: 1;
3284
- color: rgba(30, 30, 30, 0.62);
3285
- }
3286
- .block-editor-url-input__input[type=text]:-ms-input-placeholder {
3287
- color: rgba(30, 30, 30, 0.62);
3288
- }
3289
-
3290
3175
  .block-editor-url-input__suggestions {
3291
3176
  max-height: 200px;
3292
3177
  transition: all 0.15s ease-in-out;
@@ -3354,7 +3239,7 @@ iframe[name=editor-canvas] {
3354
3239
  }
3355
3240
 
3356
3241
  .block-editor-url-input__button-modal {
3357
- box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1);
3242
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
3358
3243
  border: 1px solid #ddd;
3359
3244
  background: #fff;
3360
3245
  }
@@ -3456,18 +3341,10 @@ iframe[name=editor-canvas] {
3456
3341
  }
3457
3342
 
3458
3343
  .block-editor-hooks__block-hooks {
3459
- /**
3460
- * Since we're displaying the block icon alongside the block name,
3461
- * we need to right-align the toggle.
3462
- */
3463
3344
  /**
3464
3345
  * Un-reverse the flex direction for the toggle's label.
3465
3346
  */
3466
3347
  }
3467
- .block-editor-hooks__block-hooks .components-toggle-control .components-h-stack {
3468
- /* stylelint-disable-next-line declaration-property-value-allowed-list -- This should be refactored to not use the row-reverse value. */
3469
- flex-direction: row-reverse;
3470
- }
3471
3348
  .block-editor-hooks__block-hooks .components-toggle-control .components-h-stack .components-h-stack {
3472
3349
  flex-direction: row;
3473
3350
  }
@@ -3811,7 +3688,7 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
3811
3688
  .block-editor-inserter__popover.is-quick .components-popover__content {
3812
3689
  border: none;
3813
3690
  outline: none;
3814
- box-shadow: 0 0.7px 1px rgba(0, 0, 0, 0.1), 0 1.2px 1.7px -0.2px rgba(0, 0, 0, 0.1), 0 2.3px 3.3px -0.5px rgba(0, 0, 0, 0.1);
3691
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02), 0 3px 3px rgba(0, 0, 0, 0.02), 0 4px 4px rgba(0, 0, 0, 0.01);
3815
3692
  }
3816
3693
  .block-editor-inserter__popover.is-quick .components-popover__content .block-editor-inserter__quick-inserter > * {
3817
3694
  border-right: 1px solid #ccc;
@@ -3925,15 +3802,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
3925
3802
  text-align: left;
3926
3803
  }
3927
3804
 
3928
- .block-editor-inserter__manage-reusable-blocks-container {
3929
- margin: auto 16px 16px;
3930
- }
3931
-
3932
- .block-editor-inserter__manage-reusable-blocks {
3933
- justify-content: center;
3934
- width: 100%;
3935
- }
3936
-
3937
3805
  .block-editor-inserter__no-results,
3938
3806
  .block-editor-inserter__patterns-loading {
3939
3807
  padding: 32px;
@@ -4168,7 +4036,6 @@ div.block-editor-bindings__panel button:hover .block-editor-bindings__item span
4168
4036
  background: #1e1e1e;
4169
4037
  color: #fff;
4170
4038
  width: 100%;
4171
- height: 44px;
4172
4039
  border-radius: 0;
4173
4040
  }
4174
4041
  .block-editor-inserter__quick-inserter-expand.components-button:hover {