@wordpress/block-library 7.14.2 → 7.15.1-next.4d3b314fd5.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 (235) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/build/avatar/index.js +1 -1
  3. package/build/block/edit.native.js +1 -1
  4. package/build/block/edit.native.js.map +1 -1
  5. package/build/buttons/edit.native.js +1 -3
  6. package/build/buttons/edit.native.js.map +1 -1
  7. package/build/calendar/index.js +9 -0
  8. package/build/calendar/index.js.map +1 -1
  9. package/build/code/index.js +1 -1
  10. package/build/code/index.js.map +1 -1
  11. package/build/comments/edit/comments-legacy.js +1 -1
  12. package/build/comments/edit/comments-legacy.js.map +1 -1
  13. package/build/comments-pagination-next/index.js +1 -1
  14. package/build/comments-pagination-numbers/index.js +8 -1
  15. package/build/comments-pagination-numbers/index.js.map +1 -1
  16. package/build/comments-pagination-previous/index.js +1 -1
  17. package/build/comments-title/edit.js +1 -1
  18. package/build/comments-title/edit.js.map +1 -1
  19. package/build/cover/edit/use-cover-is-dark.js +10 -7
  20. package/build/cover/edit/use-cover-is-dark.js.map +1 -1
  21. package/build/cover/index.js +9 -2
  22. package/build/cover/index.js.map +1 -1
  23. package/build/embed/deprecated.js +12 -6
  24. package/build/embed/deprecated.js.map +1 -1
  25. package/build/embed/index.js +12 -6
  26. package/build/embed/index.js.map +1 -1
  27. package/build/embed/transforms.js +12 -6
  28. package/build/embed/transforms.js.map +1 -1
  29. package/build/embed/util.js +12 -6
  30. package/build/embed/util.js.map +1 -1
  31. package/build/embed/variations.js +1 -1
  32. package/build/embed/variations.js.map +1 -1
  33. package/build/freeform/edit.js +5 -8
  34. package/build/freeform/edit.js.map +1 -1
  35. package/build/gallery/deprecated.js +4 -4
  36. package/build/gallery/deprecated.js.map +1 -1
  37. package/build/gallery/gallery.js +2 -28
  38. package/build/gallery/gallery.js.map +1 -1
  39. package/build/list-item/edit.js +2 -1
  40. package/build/list-item/edit.js.map +1 -1
  41. package/build/missing/edit.js +9 -2
  42. package/build/missing/edit.js.map +1 -1
  43. package/build/more/edit.js +1 -1
  44. package/build/more/edit.js.map +1 -1
  45. package/build/navigation/menu-items-to-blocks.js +16 -6
  46. package/build/navigation/menu-items-to-blocks.js.map +1 -1
  47. package/build/paragraph/drop-zone.js +99 -0
  48. package/build/paragraph/drop-zone.js.map +1 -0
  49. package/build/paragraph/edit.js +11 -3
  50. package/build/paragraph/edit.js.map +1 -1
  51. package/build/post-content/edit.js +6 -1
  52. package/build/post-content/edit.js.map +1 -1
  53. package/build/post-excerpt/edit.js +1 -1
  54. package/build/post-excerpt/edit.js.map +1 -1
  55. package/build/post-navigation-link/edit.js +35 -4
  56. package/build/post-navigation-link/edit.js.map +1 -1
  57. package/build/post-navigation-link/index.js +6 -1
  58. package/build/post-navigation-link/index.js.map +1 -1
  59. package/build/post-template/edit.js +13 -28
  60. package/build/post-template/edit.js.map +1 -1
  61. package/build/query/edit/inspector-controls/index.js +4 -8
  62. package/build/query/edit/inspector-controls/index.js.map +1 -1
  63. package/build/query/edit/inspector-controls/sticky-control.js +1 -1
  64. package/build/query/edit/inspector-controls/sticky-control.js.map +1 -1
  65. package/build/query/edit/query-placeholder.js +2 -2
  66. package/build/query/edit/query-placeholder.js.map +1 -1
  67. package/build/query-title/edit.js +1 -1
  68. package/build/query-title/edit.js.map +1 -1
  69. package/build/quote/transforms.js +2 -2
  70. package/build/quote/transforms.js.map +1 -1
  71. package/build/read-more/edit.js +1 -1
  72. package/build/read-more/edit.js.map +1 -1
  73. package/build/site-tagline/index.js +1 -1
  74. package/build/social-links/edit.native.js +1 -0
  75. package/build/social-links/edit.native.js.map +1 -1
  76. package/build/template-part/edit/index.js +2 -2
  77. package/build/template-part/edit/index.js.map +1 -1
  78. package/build-module/avatar/index.js +1 -1
  79. package/build-module/block/edit.native.js +1 -1
  80. package/build-module/block/edit.native.js.map +1 -1
  81. package/build-module/buttons/edit.native.js +1 -2
  82. package/build-module/buttons/edit.native.js.map +1 -1
  83. package/build-module/calendar/index.js +9 -0
  84. package/build-module/calendar/index.js.map +1 -1
  85. package/build-module/code/index.js +1 -1
  86. package/build-module/code/index.js.map +1 -1
  87. package/build-module/comments/edit/comments-legacy.js +1 -1
  88. package/build-module/comments/edit/comments-legacy.js.map +1 -1
  89. package/build-module/comments-pagination-next/index.js +1 -1
  90. package/build-module/comments-pagination-numbers/index.js +8 -1
  91. package/build-module/comments-pagination-numbers/index.js.map +1 -1
  92. package/build-module/comments-pagination-previous/index.js +1 -1
  93. package/build-module/comments-title/edit.js +1 -1
  94. package/build-module/comments-title/edit.js.map +1 -1
  95. package/build-module/cover/edit/use-cover-is-dark.js +9 -4
  96. package/build-module/cover/edit/use-cover-is-dark.js.map +1 -1
  97. package/build-module/cover/index.js +9 -2
  98. package/build-module/cover/index.js.map +1 -1
  99. package/build-module/embed/deprecated.js +12 -6
  100. package/build-module/embed/deprecated.js.map +1 -1
  101. package/build-module/embed/index.js +12 -6
  102. package/build-module/embed/index.js.map +1 -1
  103. package/build-module/embed/transforms.js +12 -6
  104. package/build-module/embed/transforms.js.map +1 -1
  105. package/build-module/embed/util.js +12 -6
  106. package/build-module/embed/util.js.map +1 -1
  107. package/build-module/embed/variations.js +1 -1
  108. package/build-module/embed/variations.js.map +1 -1
  109. package/build-module/freeform/edit.js +3 -6
  110. package/build-module/freeform/edit.js.map +1 -1
  111. package/build-module/gallery/deprecated.js +4 -4
  112. package/build-module/gallery/deprecated.js.map +1 -1
  113. package/build-module/gallery/gallery.js +2 -29
  114. package/build-module/gallery/gallery.js.map +1 -1
  115. package/build-module/list-item/edit.js +2 -1
  116. package/build-module/list-item/edit.js.map +1 -1
  117. package/build-module/missing/edit.js +11 -4
  118. package/build-module/missing/edit.js.map +1 -1
  119. package/build-module/more/edit.js +1 -1
  120. package/build-module/more/edit.js.map +1 -1
  121. package/build-module/navigation/menu-items-to-blocks.js +16 -6
  122. package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
  123. package/build-module/paragraph/drop-zone.js +88 -0
  124. package/build-module/paragraph/drop-zone.js.map +1 -0
  125. package/build-module/paragraph/edit.js +10 -3
  126. package/build-module/paragraph/edit.js.map +1 -1
  127. package/build-module/post-content/edit.js +6 -1
  128. package/build-module/post-content/edit.js.map +1 -1
  129. package/build-module/post-excerpt/edit.js +1 -1
  130. package/build-module/post-excerpt/edit.js.map +1 -1
  131. package/build-module/post-navigation-link/edit.js +37 -6
  132. package/build-module/post-navigation-link/edit.js.map +1 -1
  133. package/build-module/post-navigation-link/index.js +6 -1
  134. package/build-module/post-navigation-link/index.js.map +1 -1
  135. package/build-module/post-template/edit.js +14 -29
  136. package/build-module/post-template/edit.js.map +1 -1
  137. package/build-module/query/edit/inspector-controls/index.js +2 -6
  138. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  139. package/build-module/query/edit/inspector-controls/sticky-control.js +1 -1
  140. package/build-module/query/edit/inspector-controls/sticky-control.js.map +1 -1
  141. package/build-module/query/edit/query-placeholder.js +2 -2
  142. package/build-module/query/edit/query-placeholder.js.map +1 -1
  143. package/build-module/query-title/edit.js +1 -1
  144. package/build-module/query-title/edit.js.map +1 -1
  145. package/build-module/quote/transforms.js +2 -2
  146. package/build-module/quote/transforms.js.map +1 -1
  147. package/build-module/read-more/edit.js +1 -1
  148. package/build-module/read-more/edit.js.map +1 -1
  149. package/build-module/site-tagline/index.js +1 -1
  150. package/build-module/social-links/edit.native.js +1 -0
  151. package/build-module/social-links/edit.native.js.map +1 -1
  152. package/build-module/template-part/edit/index.js +3 -3
  153. package/build-module/template-part/edit/index.js.map +1 -1
  154. package/build-style/calendar/style-rtl.css +21 -12
  155. package/build-style/calendar/style.css +21 -12
  156. package/build-style/classic-rtl.css +85 -0
  157. package/build-style/classic.css +85 -0
  158. package/build-style/editor-rtl.css +41 -2
  159. package/build-style/editor.css +41 -2
  160. package/build-style/group/editor-rtl.css +11 -1
  161. package/build-style/group/editor.css +11 -1
  162. package/build-style/image/editor-rtl.css +3 -0
  163. package/build-style/image/editor.css +3 -0
  164. package/build-style/navigation/editor-rtl.css +11 -1
  165. package/build-style/navigation/editor.css +11 -1
  166. package/build-style/paragraph/editor-rtl.css +16 -0
  167. package/build-style/paragraph/editor.css +16 -0
  168. package/build-style/post-navigation-link/style-rtl.css +90 -0
  169. package/build-style/post-navigation-link/style.css +90 -0
  170. package/build-style/style-rtl.css +36 -12
  171. package/build-style/style.css +36 -12
  172. package/package.json +29 -29
  173. package/src/archives/index.php +4 -7
  174. package/src/avatar/block.json +1 -1
  175. package/src/block/edit.native.js +1 -1
  176. package/src/buttons/edit.native.js +1 -2
  177. package/src/buttons/test/__snapshots__/edit.native.js.snap +28 -0
  178. package/src/buttons/test/edit.native.js +170 -0
  179. package/src/calendar/block.json +9 -0
  180. package/src/calendar/index.php +22 -1
  181. package/src/calendar/style.scss +28 -15
  182. package/src/classic.scss +15 -0
  183. package/src/code/index.js +1 -1
  184. package/src/columns/test/__snapshots__/edit.native.js.snap +219 -0
  185. package/src/columns/test/edit.native.js +432 -0
  186. package/src/comment-template/index.php +18 -8
  187. package/src/comments/edit/comments-legacy.js +1 -1
  188. package/src/comments-pagination-next/block.json +1 -1
  189. package/src/comments-pagination-numbers/block.json +8 -1
  190. package/src/comments-pagination-previous/block.json +1 -1
  191. package/src/comments-title/edit.js +1 -1
  192. package/src/cover/edit/use-cover-is-dark.js +11 -7
  193. package/src/cover/index.js +8 -1
  194. package/src/cover/test/__snapshots__/edit.native.js.snap +64 -0
  195. package/src/cover/test/edit.native.js +136 -4
  196. package/src/embed/block.json +12 -6
  197. package/src/embed/test/index.native.js +1 -2
  198. package/src/embed/variations.js +1 -1
  199. package/src/freeform/edit.js +12 -10
  200. package/src/gallery/deprecated.js +4 -4
  201. package/src/gallery/gallery.js +1 -31
  202. package/src/group/test/__snapshots__/edit.native.js.snap +19 -0
  203. package/src/group/test/edit.native.js +102 -0
  204. package/src/image/editor.scss +4 -0
  205. package/src/list-item/edit.js +1 -0
  206. package/src/missing/edit.js +15 -4
  207. package/src/more/edit.js +1 -1
  208. package/src/navigation/menu-items-to-blocks.js +39 -22
  209. package/src/navigation/test/menu-items-to-blocks.js +6 -0
  210. package/src/navigation-submenu/index.php +11 -2
  211. package/src/page-list/index.php +1 -1
  212. package/src/paragraph/drop-zone.js +105 -0
  213. package/src/paragraph/edit.js +14 -1
  214. package/src/paragraph/editor.scss +20 -0
  215. package/src/post-content/edit.js +3 -1
  216. package/src/post-excerpt/edit.js +1 -1
  217. package/src/post-featured-image/index.php +11 -18
  218. package/src/post-navigation-link/block.json +6 -1
  219. package/src/post-navigation-link/edit.js +64 -3
  220. package/src/post-navigation-link/index.php +23 -0
  221. package/src/post-navigation-link/style.scss +23 -0
  222. package/src/post-template/edit.js +14 -23
  223. package/src/query/edit/inspector-controls/index.js +2 -6
  224. package/src/query/edit/inspector-controls/sticky-control.js +1 -1
  225. package/src/query/edit/query-placeholder.js +4 -1
  226. package/src/query-title/edit.js +1 -1
  227. package/src/quote/transforms.js +1 -1
  228. package/src/read-more/edit.js +1 -1
  229. package/src/site-tagline/block.json +1 -1
  230. package/src/social-links/edit.native.js +7 -1
  231. package/src/social-links/test/__snapshots__/edit.native.js.snap +57 -0
  232. package/src/social-links/test/edit.native.js +199 -0
  233. package/src/style.scss +1 -0
  234. package/src/tag-cloud/index.php +1 -8
  235. package/src/template-part/edit/index.js +60 -58
@@ -1104,9 +1104,19 @@ figure.wp-block-gallery .components-spinner {
1104
1104
  flex: 1 0 48px;
1105
1105
  pointer-events: none;
1106
1106
  min-height: 46px;
1107
- border: 1px dashed currentColor;
1108
1107
  border-radius: 2px;
1109
1108
  }
1109
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
1110
+ content: "";
1111
+ position: absolute;
1112
+ top: 0;
1113
+ left: 0;
1114
+ bottom: 0;
1115
+ right: 0;
1116
+ pointer-events: none;
1117
+ background: currentColor;
1118
+ opacity: 0.1;
1119
+ }
1110
1120
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1111
1121
  pointer-events: all;
1112
1122
  }
@@ -1155,6 +1165,9 @@ figure.wp-block-gallery .components-spinner {
1155
1165
  .wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
1156
1166
  display: none;
1157
1167
  }
1168
+ .wp-block-image.wp-block-image.is-selected .components-placeholder::before {
1169
+ opacity: 0;
1170
+ }
1158
1171
  .wp-block-image.wp-block-image .components-placeholder__label,
1159
1172
  .wp-block-image.wp-block-image .components-placeholder__instructions,
1160
1173
  .wp-block-image.wp-block-image .components-button {
@@ -1592,10 +1605,20 @@ figure.wp-block-image:not(.wp-block) {
1592
1605
  bottom: 0;
1593
1606
  right: 0;
1594
1607
  pointer-events: none;
1595
- border: 1px dashed currentColor;
1596
1608
  border-radius: 2px;
1597
1609
  border-radius: inherit;
1598
1610
  }
1611
+ .wp-block-navigation-placeholder__preview::before::before {
1612
+ content: "";
1613
+ position: absolute;
1614
+ top: 0;
1615
+ left: 0;
1616
+ bottom: 0;
1617
+ right: 0;
1618
+ pointer-events: none;
1619
+ background: currentColor;
1620
+ opacity: 0.1;
1621
+ }
1599
1622
  .wp-block-navigation-placeholder__preview > svg {
1600
1623
  fill: currentColor;
1601
1624
  }
@@ -2074,6 +2097,22 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2074
2097
  opacity: 0;
2075
2098
  }
2076
2099
 
2100
+ .components-popover.wp-block-paragraph__drop-zone .components-popover__content {
2101
+ border: none;
2102
+ outline: none;
2103
+ box-shadow: none;
2104
+ }
2105
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
2106
+ position: absolute;
2107
+ }
2108
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
2109
+ position: absolute;
2110
+ inset: 0;
2111
+ pointer-events: none;
2112
+ background-color: var(--wp-admin-theme-color);
2113
+ border-radius: 2px;
2114
+ }
2115
+
2077
2116
  .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
2078
2117
  display: inline-block;
2079
2118
  }
@@ -1112,9 +1112,19 @@ figure.wp-block-gallery .components-spinner {
1112
1112
  flex: 1 0 48px;
1113
1113
  pointer-events: none;
1114
1114
  min-height: 46px;
1115
- border: 1px dashed currentColor;
1116
1115
  border-radius: 2px;
1117
1116
  }
1117
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
1118
+ content: "";
1119
+ position: absolute;
1120
+ top: 0;
1121
+ right: 0;
1122
+ bottom: 0;
1123
+ left: 0;
1124
+ pointer-events: none;
1125
+ background: currentColor;
1126
+ opacity: 0.1;
1127
+ }
1118
1128
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
1119
1129
  pointer-events: all;
1120
1130
  }
@@ -1163,6 +1173,9 @@ figure.wp-block-gallery .components-spinner {
1163
1173
  .wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
1164
1174
  display: none;
1165
1175
  }
1176
+ .wp-block-image.wp-block-image.is-selected .components-placeholder::before {
1177
+ opacity: 0;
1178
+ }
1166
1179
  .wp-block-image.wp-block-image .components-placeholder__label,
1167
1180
  .wp-block-image.wp-block-image .components-placeholder__instructions,
1168
1181
  .wp-block-image.wp-block-image .components-button {
@@ -1600,10 +1613,20 @@ figure.wp-block-image:not(.wp-block) {
1600
1613
  bottom: 0;
1601
1614
  left: 0;
1602
1615
  pointer-events: none;
1603
- border: 1px dashed currentColor;
1604
1616
  border-radius: 2px;
1605
1617
  border-radius: inherit;
1606
1618
  }
1619
+ .wp-block-navigation-placeholder__preview::before::before {
1620
+ content: "";
1621
+ position: absolute;
1622
+ top: 0;
1623
+ right: 0;
1624
+ bottom: 0;
1625
+ left: 0;
1626
+ pointer-events: none;
1627
+ background: currentColor;
1628
+ opacity: 0.1;
1629
+ }
1607
1630
  .wp-block-navigation-placeholder__preview > svg {
1608
1631
  fill: currentColor;
1609
1632
  }
@@ -2082,6 +2105,22 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2082
2105
  opacity: 0;
2083
2106
  }
2084
2107
 
2108
+ .components-popover.wp-block-paragraph__drop-zone .components-popover__content {
2109
+ border: none;
2110
+ outline: none;
2111
+ box-shadow: none;
2112
+ }
2113
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
2114
+ position: absolute;
2115
+ }
2116
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
2117
+ position: absolute;
2118
+ inset: 0;
2119
+ pointer-events: none;
2120
+ background-color: var(--wp-admin-theme-color);
2121
+ border-radius: 2px;
2122
+ }
2123
+
2085
2124
  .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
2086
2125
  display: inline-block;
2087
2126
  }
@@ -109,9 +109,19 @@
109
109
  flex: 1 0 48px;
110
110
  pointer-events: none;
111
111
  min-height: 46px;
112
- border: 1px dashed currentColor;
113
112
  border-radius: 2px;
114
113
  }
114
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
115
+ content: "";
116
+ position: absolute;
117
+ top: 0;
118
+ left: 0;
119
+ bottom: 0;
120
+ right: 0;
121
+ pointer-events: none;
122
+ background: currentColor;
123
+ opacity: 0.1;
124
+ }
115
125
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
116
126
  pointer-events: all;
117
127
  }
@@ -109,9 +109,19 @@
109
109
  flex: 1 0 48px;
110
110
  pointer-events: none;
111
111
  min-height: 46px;
112
- border: 1px dashed currentColor;
113
112
  border-radius: 2px;
114
113
  }
114
+ .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
115
+ content: "";
116
+ position: absolute;
117
+ top: 0;
118
+ right: 0;
119
+ bottom: 0;
120
+ left: 0;
121
+ pointer-events: none;
122
+ background: currentColor;
123
+ opacity: 0.1;
124
+ }
115
125
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
116
126
  pointer-events: all;
117
127
  }
@@ -88,6 +88,9 @@
88
88
  .wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
89
89
  display: none;
90
90
  }
91
+ .wp-block-image.wp-block-image.is-selected .components-placeholder::before {
92
+ opacity: 0;
93
+ }
91
94
  .wp-block-image.wp-block-image .components-placeholder__label,
92
95
  .wp-block-image.wp-block-image .components-placeholder__instructions,
93
96
  .wp-block-image.wp-block-image .components-button {
@@ -88,6 +88,9 @@
88
88
  .wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
89
89
  display: none;
90
90
  }
91
+ .wp-block-image.wp-block-image.is-selected .components-placeholder::before {
92
+ opacity: 0;
93
+ }
91
94
  .wp-block-image.wp-block-image .components-placeholder__label,
92
95
  .wp-block-image.wp-block-image .components-placeholder__instructions,
93
96
  .wp-block-image.wp-block-image .components-button {
@@ -281,10 +281,20 @@
281
281
  bottom: 0;
282
282
  right: 0;
283
283
  pointer-events: none;
284
- border: 1px dashed currentColor;
285
284
  border-radius: 2px;
286
285
  border-radius: inherit;
287
286
  }
287
+ .wp-block-navigation-placeholder__preview::before::before {
288
+ content: "";
289
+ position: absolute;
290
+ top: 0;
291
+ left: 0;
292
+ bottom: 0;
293
+ right: 0;
294
+ pointer-events: none;
295
+ background: currentColor;
296
+ opacity: 0.1;
297
+ }
288
298
  .wp-block-navigation-placeholder__preview > svg {
289
299
  fill: currentColor;
290
300
  }
@@ -281,10 +281,20 @@
281
281
  bottom: 0;
282
282
  left: 0;
283
283
  pointer-events: none;
284
- border: 1px dashed currentColor;
285
284
  border-radius: 2px;
286
285
  border-radius: inherit;
287
286
  }
287
+ .wp-block-navigation-placeholder__preview::before::before {
288
+ content: "";
289
+ position: absolute;
290
+ top: 0;
291
+ right: 0;
292
+ bottom: 0;
293
+ left: 0;
294
+ pointer-events: none;
295
+ background: currentColor;
296
+ opacity: 0.1;
297
+ }
288
298
  .wp-block-navigation-placeholder__preview > svg {
289
299
  fill: currentColor;
290
300
  }
@@ -84,4 +84,20 @@
84
84
 
85
85
  .block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
86
86
  opacity: 0;
87
+ }
88
+
89
+ .components-popover.wp-block-paragraph__drop-zone .components-popover__content {
90
+ border: none;
91
+ outline: none;
92
+ box-shadow: none;
93
+ }
94
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
95
+ position: absolute;
96
+ }
97
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
98
+ position: absolute;
99
+ inset: 0;
100
+ pointer-events: none;
101
+ background-color: var(--wp-admin-theme-color);
102
+ border-radius: 2px;
87
103
  }
@@ -84,4 +84,20 @@
84
84
 
85
85
  .block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
86
86
  opacity: 0;
87
+ }
88
+
89
+ .components-popover.wp-block-paragraph__drop-zone .components-popover__content {
90
+ border: none;
91
+ outline: none;
92
+ box-shadow: none;
93
+ }
94
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
95
+ position: absolute;
96
+ }
97
+ .components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
98
+ position: absolute;
99
+ inset: 0;
100
+ pointer-events: none;
101
+ background-color: var(--wp-admin-theme-color);
102
+ border-radius: 2px;
87
103
  }
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /**
5
+ * Breakpoints & Media Queries
6
+ */
7
+ /**
8
+ * SCSS Variables.
9
+ *
10
+ * Please use variables from this sheet to ensure consistency across the UI.
11
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13
+ */
14
+ /**
15
+ * Colors
16
+ */
17
+ /**
18
+ * Fonts & basic variables.
19
+ */
20
+ /**
21
+ * Grid System.
22
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23
+ */
24
+ /**
25
+ * Dimensions.
26
+ */
27
+ /**
28
+ * Shadows.
29
+ */
30
+ /**
31
+ * Editor widths.
32
+ */
33
+ /**
34
+ * Block & Editor UI.
35
+ */
36
+ /**
37
+ * Block paddings.
38
+ */
39
+ /**
40
+ * React Native specific.
41
+ * These variables do not appear to be used anywhere else.
42
+ */
43
+ /**
44
+ * Converts a hex value into the rgb equivalent.
45
+ *
46
+ * @param {string} hex - the hexadecimal value to convert
47
+ * @return {string} comma separated rgb values
48
+ */
49
+ /**
50
+ * Breakpoint mixins
51
+ */
52
+ /**
53
+ * Long content fade mixin
54
+ *
55
+ * Creates a fading overlay to signify that the content is longer
56
+ * than the space allows.
57
+ */
58
+ /**
59
+ * Focus styles.
60
+ */
61
+ /**
62
+ * Applies editor left position to the selector passed as argument
63
+ */
64
+ /**
65
+ * Styles that are reused verbatim in a few places
66
+ */
67
+ /**
68
+ * Allows users to opt-out of animations via OS-level preferences.
69
+ */
70
+ /**
71
+ * Reset default styles for JavaScript UI based pages.
72
+ * This is a WP-admin agnostic reset
73
+ */
74
+ /**
75
+ * Reset the WP Admin page styles for Gutenberg-like pages.
76
+ */
77
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
78
+ display: inline-block;
79
+ margin-left: 1ch;
80
+ }
81
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
82
+ transform: scaleX(-1);;
83
+ }
84
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
85
+ display: inline-block;
86
+ margin-right: 1ch;
87
+ }
88
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
89
+ transform: scaleX(-1);;
90
+ }
@@ -0,0 +1,90 @@
1
+ /**
2
+ * Colors
3
+ */
4
+ /**
5
+ * Breakpoints & Media Queries
6
+ */
7
+ /**
8
+ * SCSS Variables.
9
+ *
10
+ * Please use variables from this sheet to ensure consistency across the UI.
11
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
12
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
13
+ */
14
+ /**
15
+ * Colors
16
+ */
17
+ /**
18
+ * Fonts & basic variables.
19
+ */
20
+ /**
21
+ * Grid System.
22
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
23
+ */
24
+ /**
25
+ * Dimensions.
26
+ */
27
+ /**
28
+ * Shadows.
29
+ */
30
+ /**
31
+ * Editor widths.
32
+ */
33
+ /**
34
+ * Block & Editor UI.
35
+ */
36
+ /**
37
+ * Block paddings.
38
+ */
39
+ /**
40
+ * React Native specific.
41
+ * These variables do not appear to be used anywhere else.
42
+ */
43
+ /**
44
+ * Converts a hex value into the rgb equivalent.
45
+ *
46
+ * @param {string} hex - the hexadecimal value to convert
47
+ * @return {string} comma separated rgb values
48
+ */
49
+ /**
50
+ * Breakpoint mixins
51
+ */
52
+ /**
53
+ * Long content fade mixin
54
+ *
55
+ * Creates a fading overlay to signify that the content is longer
56
+ * than the space allows.
57
+ */
58
+ /**
59
+ * Focus styles.
60
+ */
61
+ /**
62
+ * Applies editor left position to the selector passed as argument
63
+ */
64
+ /**
65
+ * Styles that are reused verbatim in a few places
66
+ */
67
+ /**
68
+ * Allows users to opt-out of animations via OS-level preferences.
69
+ */
70
+ /**
71
+ * Reset default styles for JavaScript UI based pages.
72
+ * This is a WP-admin agnostic reset
73
+ */
74
+ /**
75
+ * Reset the WP Admin page styles for Gutenberg-like pages.
76
+ */
77
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
78
+ display: inline-block;
79
+ margin-right: 1ch;
80
+ }
81
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
82
+ transform: scaleX(1) /*rtl:scaleX(-1);*/;
83
+ }
84
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
85
+ display: inline-block;
86
+ margin-left: 1ch;
87
+ }
88
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
89
+ transform: scaleX(1) /*rtl:scaleX(-1);*/;
90
+ }
@@ -244,27 +244,36 @@
244
244
  text-align: center;
245
245
  }
246
246
  .wp-block-calendar th,
247
- .wp-block-calendar tbody td {
247
+ .wp-block-calendar td {
248
248
  padding: 0.25em;
249
- border: 1px solid #ddd;
249
+ border: 1px solid;
250
250
  }
251
- .wp-block-calendar tfoot td {
252
- border: none;
251
+ .wp-block-calendar th {
252
+ font-weight: 400;
253
+ }
254
+ .wp-block-calendar caption {
255
+ background-color: inherit;
253
256
  }
254
257
  .wp-block-calendar table {
255
258
  width: 100%;
256
259
  border-collapse: collapse;
257
260
  }
258
- .wp-block-calendar table th {
259
- font-weight: 400;
260
- background: #ddd;
261
+ .wp-block-calendar table:where(:not(.has-text-color)) {
262
+ color: #40464d;
261
263
  }
262
- .wp-block-calendar a {
263
- text-decoration: underline;
264
+ .wp-block-calendar table:where(:not(.has-text-color)) th,
265
+ .wp-block-calendar table:where(:not(.has-text-color)) td {
266
+ border-color: #ddd;
264
267
  }
265
- .wp-block-calendar table tbody,
266
- .wp-block-calendar table caption {
267
- color: #40464d;
268
+ .wp-block-calendar table.has-background th {
269
+ background-color: inherit;
270
+ }
271
+ .wp-block-calendar table.has-text-color th {
272
+ color: inherit;
273
+ }
274
+
275
+ :where(.wp-block-calendar table:not(.has-background) th) {
276
+ background: #ddd;
268
277
  }
269
278
 
270
279
  .wp-block-categories {
@@ -2438,6 +2447,21 @@ p.has-background {
2438
2447
  opacity: 1;
2439
2448
  }
2440
2449
 
2450
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
2451
+ display: inline-block;
2452
+ margin-left: 1ch;
2453
+ }
2454
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
2455
+ transform: scaleX(-1);;
2456
+ }
2457
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
2458
+ display: inline-block;
2459
+ margin-right: 1ch;
2460
+ }
2461
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
2462
+ transform: scaleX(-1);;
2463
+ }
2464
+
2441
2465
  .wp-block-post-terms__separator {
2442
2466
  white-space: pre-wrap;
2443
2467
  }
@@ -245,27 +245,36 @@
245
245
  text-align: center;
246
246
  }
247
247
  .wp-block-calendar th,
248
- .wp-block-calendar tbody td {
248
+ .wp-block-calendar td {
249
249
  padding: 0.25em;
250
- border: 1px solid #ddd;
250
+ border: 1px solid;
251
251
  }
252
- .wp-block-calendar tfoot td {
253
- border: none;
252
+ .wp-block-calendar th {
253
+ font-weight: 400;
254
+ }
255
+ .wp-block-calendar caption {
256
+ background-color: inherit;
254
257
  }
255
258
  .wp-block-calendar table {
256
259
  width: 100%;
257
260
  border-collapse: collapse;
258
261
  }
259
- .wp-block-calendar table th {
260
- font-weight: 400;
261
- background: #ddd;
262
+ .wp-block-calendar table:where(:not(.has-text-color)) {
263
+ color: #40464d;
262
264
  }
263
- .wp-block-calendar a {
264
- text-decoration: underline;
265
+ .wp-block-calendar table:where(:not(.has-text-color)) th,
266
+ .wp-block-calendar table:where(:not(.has-text-color)) td {
267
+ border-color: #ddd;
265
268
  }
266
- .wp-block-calendar table tbody,
267
- .wp-block-calendar table caption {
268
- color: #40464d;
269
+ .wp-block-calendar table.has-background th {
270
+ background-color: inherit;
271
+ }
272
+ .wp-block-calendar table.has-text-color th {
273
+ color: inherit;
274
+ }
275
+
276
+ :where(.wp-block-calendar table:not(.has-background) th) {
277
+ background: #ddd;
269
278
  }
270
279
 
271
280
  .wp-block-categories {
@@ -2466,6 +2475,21 @@ p.has-background {
2466
2475
  opacity: 1;
2467
2476
  }
2468
2477
 
2478
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
2479
+ display: inline-block;
2480
+ margin-right: 1ch;
2481
+ }
2482
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
2483
+ transform: scaleX(1) /*rtl:scaleX(-1);*/;
2484
+ }
2485
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
2486
+ display: inline-block;
2487
+ margin-left: 1ch;
2488
+ }
2489
+ .wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
2490
+ transform: scaleX(1) /*rtl:scaleX(-1);*/;
2491
+ }
2492
+
2469
2493
  .wp-block-post-terms__separator {
2470
2494
  white-space: pre-wrap;
2471
2495
  }