@wordpress/block-library 7.15.1-next.4d3b314fd5.0 → 7.16.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 (146) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/code/utils.js +3 -3
  3. package/build/code/utils.js.map +1 -1
  4. package/build/group/edit.js +1 -1
  5. package/build/group/edit.js.map +1 -1
  6. package/build/navigation/edit/index.js +12 -12
  7. package/build/navigation/edit/index.js.map +1 -1
  8. package/build/paragraph/deprecated.js +49 -10
  9. package/build/paragraph/deprecated.js.map +1 -1
  10. package/build/paragraph/edit.js +19 -3
  11. package/build/paragraph/edit.js.map +1 -1
  12. package/build/paragraph/save.js +3 -1
  13. package/build/paragraph/save.js.map +1 -1
  14. package/build/post-author/edit.js +20 -2
  15. package/build/post-author/edit.js.map +1 -1
  16. package/build/post-author/index.js +8 -0
  17. package/build/post-author/index.js.map +1 -1
  18. package/build/post-featured-image/index.js +1 -1
  19. package/build/post-featured-image/overlay.js +2 -2
  20. package/build/post-featured-image/overlay.js.map +1 -1
  21. package/build/post-terms/index.js +4 -0
  22. package/build/post-terms/index.js.map +1 -1
  23. package/build/query/edit/inspector-controls/author-control.js +2 -1
  24. package/build/query/edit/inspector-controls/author-control.js.map +1 -1
  25. package/build/query/edit/inspector-controls/index.js +1 -1
  26. package/build/query/edit/inspector-controls/index.js.map +1 -1
  27. package/build/query/edit/inspector-controls/parent-control.js +2 -1
  28. package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
  29. package/build/query/edit/inspector-controls/taxonomy-controls.js +2 -1
  30. package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  31. package/build/query/utils.js +1 -1
  32. package/build/query/utils.js.map +1 -1
  33. package/build/quote/index.js +0 -1
  34. package/build/quote/index.js.map +1 -1
  35. package/build/site-title/index.js +2 -1
  36. package/build/site-title/index.js.map +1 -1
  37. package/build/template-part/index.js +2 -2
  38. package/build/template-part/index.js.map +1 -1
  39. package/build/video/edit.js +13 -1
  40. package/build/video/edit.js.map +1 -1
  41. package/build-module/code/utils.js +3 -3
  42. package/build-module/code/utils.js.map +1 -1
  43. package/build-module/group/edit.js +1 -1
  44. package/build-module/group/edit.js.map +1 -1
  45. package/build-module/navigation/edit/index.js +12 -12
  46. package/build-module/navigation/edit/index.js.map +1 -1
  47. package/build-module/paragraph/deprecated.js +49 -11
  48. package/build-module/paragraph/deprecated.js.map +1 -1
  49. package/build-module/paragraph/edit.js +19 -3
  50. package/build-module/paragraph/edit.js.map +1 -1
  51. package/build-module/paragraph/save.js +2 -1
  52. package/build-module/paragraph/save.js.map +1 -1
  53. package/build-module/post-author/edit.js +21 -2
  54. package/build-module/post-author/edit.js.map +1 -1
  55. package/build-module/post-author/index.js +8 -0
  56. package/build-module/post-author/index.js.map +1 -1
  57. package/build-module/post-featured-image/index.js +1 -1
  58. package/build-module/post-featured-image/overlay.js +2 -2
  59. package/build-module/post-featured-image/overlay.js.map +1 -1
  60. package/build-module/post-terms/index.js +4 -0
  61. package/build-module/post-terms/index.js.map +1 -1
  62. package/build-module/query/edit/inspector-controls/author-control.js +2 -1
  63. package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
  64. package/build-module/query/edit/inspector-controls/index.js +1 -1
  65. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  66. package/build-module/query/edit/inspector-controls/parent-control.js +2 -1
  67. package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
  68. package/build-module/query/edit/inspector-controls/taxonomy-controls.js +2 -1
  69. package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
  70. package/build-module/query/utils.js +1 -1
  71. package/build-module/query/utils.js.map +1 -1
  72. package/build-module/quote/index.js +0 -1
  73. package/build-module/quote/index.js.map +1 -1
  74. package/build-module/site-title/index.js +2 -1
  75. package/build-module/site-title/index.js.map +1 -1
  76. package/build-module/template-part/index.js +2 -2
  77. package/build-module/template-part/index.js.map +1 -1
  78. package/build-module/video/edit.js +15 -3
  79. package/build-module/video/edit.js.map +1 -1
  80. package/build-style/code/style-rtl.css +3 -0
  81. package/build-style/code/style.css +3 -0
  82. package/build-style/editor-rtl.css +69 -29
  83. package/build-style/editor.css +69 -29
  84. package/build-style/navigation/editor-rtl.css +4 -0
  85. package/build-style/navigation/editor.css +4 -0
  86. package/build-style/navigation/style-rtl.css +3 -0
  87. package/build-style/navigation/style.css +3 -0
  88. package/build-style/paragraph/style-rtl.css +5 -0
  89. package/build-style/paragraph/style.css +5 -0
  90. package/build-style/post-featured-image/editor-rtl.css +39 -29
  91. package/build-style/post-featured-image/editor.css +39 -29
  92. package/build-style/post-terms/style-rtl.css +4 -1
  93. package/build-style/post-terms/style.css +4 -1
  94. package/build-style/site-title/editor-rtl.css +4 -0
  95. package/build-style/site-title/editor.css +4 -0
  96. package/build-style/site-title/style-rtl.css +79 -0
  97. package/build-style/site-title/style.css +79 -0
  98. package/build-style/style-rtl.css +19 -1
  99. package/build-style/style.css +19 -1
  100. package/build-style/video/editor-rtl.css +22 -0
  101. package/build-style/video/editor.css +22 -0
  102. package/package.json +28 -28
  103. package/src/categories/index.php +1 -1
  104. package/src/code/style.scss +12 -7
  105. package/src/code/utils.js +3 -3
  106. package/src/comment-author-name/index.php +1 -1
  107. package/src/comment-reply-link/index.php +1 -1
  108. package/src/comment-template/index.php +2 -3
  109. package/src/cover/index.php +1 -1
  110. package/src/group/edit.js +1 -1
  111. package/src/latest-posts/index.php +1 -1
  112. package/src/navigation/edit/index.js +12 -10
  113. package/src/navigation/editor.scss +6 -0
  114. package/src/navigation/style.scss +8 -0
  115. package/src/page-list/index.php +2 -2
  116. package/src/paragraph/deprecated.js +36 -0
  117. package/src/paragraph/edit.js +23 -8
  118. package/src/paragraph/save.js +5 -1
  119. package/src/paragraph/style.scss +5 -0
  120. package/src/post-author/block.json +8 -0
  121. package/src/post-author/edit.js +29 -3
  122. package/src/post-author/index.php +7 -1
  123. package/src/post-featured-image/block.json +1 -1
  124. package/src/post-featured-image/editor.scss +79 -72
  125. package/src/post-featured-image/index.php +18 -24
  126. package/src/post-featured-image/overlay.js +17 -14
  127. package/src/post-terms/block.json +4 -0
  128. package/src/post-terms/style.scss +7 -2
  129. package/src/query/edit/inspector-controls/author-control.js +1 -0
  130. package/src/query/edit/inspector-controls/index.js +1 -4
  131. package/src/query/edit/inspector-controls/parent-control.js +1 -0
  132. package/src/query/edit/inspector-controls/taxonomy-controls.js +1 -0
  133. package/src/query/utils.js +1 -1
  134. package/src/quote/block.json +0 -1
  135. package/src/site-title/block.json +2 -1
  136. package/src/site-title/editor.scss +6 -0
  137. package/src/site-title/style.scss +5 -0
  138. package/src/style.scss +1 -0
  139. package/src/template-part/index.js +2 -2
  140. package/src/video/edit.js +19 -0
  141. package/src/video/editor.scss +37 -0
  142. package/build/navigation-submenu/view.js +0 -56
  143. package/build/navigation-submenu/view.js.map +0 -1
  144. package/build-module/navigation-submenu/view.js +0 -54
  145. package/build-module/navigation-submenu/view.js.map +0 -1
  146. package/src/navigation-submenu/view.js +0 -67
@@ -79,19 +79,19 @@
79
79
  -webkit-backdrop-filter: none;
80
80
  backdrop-filter: none;
81
81
  }
82
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
83
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
82
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
83
+ .wp-block-post-featured-image .components-placeholder {
84
84
  justify-content: center;
85
85
  align-items: center;
86
86
  padding: 0;
87
87
  min-height: 200px;
88
88
  }
89
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
90
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
89
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
90
+ .wp-block-post-featured-image .components-placeholder .components-form-file-upload {
91
91
  display: none;
92
92
  }
93
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
94
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
93
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
94
+ .wp-block-post-featured-image .components-placeholder .components-button {
95
95
  padding: 0;
96
96
  display: flex;
97
97
  justify-content: center;
@@ -105,51 +105,61 @@
105
105
  border-style: solid;
106
106
  color: #fff;
107
107
  }
108
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
109
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
108
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
109
+ .wp-block-post-featured-image .components-placeholder .components-button > svg {
110
110
  color: inherit;
111
111
  }
112
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
113
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where(.has-border-color) {
112
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
113
+ .wp-block-post-featured-image .components-placeholder:where(.has-border-color),
114
+ .wp-block-post-featured-image img:where(.has-border-color) {
114
115
  border-style: solid;
115
116
  }
116
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
117
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]) {
117
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
118
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
119
+ .wp-block-post-featured-image img:where([style*="border-top-color"]) {
118
120
  border-top-style: solid;
119
121
  }
120
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
121
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]) {
122
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
123
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
124
+ .wp-block-post-featured-image img:where([style*="border-right-color"]) {
122
125
  border-left-style: solid;
123
126
  }
124
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
125
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]) {
127
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
128
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
129
+ .wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
126
130
  border-bottom-style: solid;
127
131
  }
128
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
129
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]) {
132
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
133
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
134
+ .wp-block-post-featured-image img:where([style*="border-left-color"]) {
130
135
  border-right-style: solid;
131
136
  }
132
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
133
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]) {
137
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
138
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
139
+ .wp-block-post-featured-image img:where([style*="border-width"]) {
134
140
  border-style: solid;
135
141
  }
136
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
137
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]) {
142
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
143
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
144
+ .wp-block-post-featured-image img:where([style*="border-top-width"]) {
138
145
  border-top-style: solid;
139
146
  }
140
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
141
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]) {
147
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
148
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
149
+ .wp-block-post-featured-image img:where([style*="border-right-width"]) {
142
150
  border-left-style: solid;
143
151
  }
144
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
145
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]) {
152
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
153
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
154
+ .wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
146
155
  border-bottom-style: solid;
147
156
  }
148
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
149
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]) {
157
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
158
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
159
+ .wp-block-post-featured-image img:where([style*="border-left-width"]) {
150
160
  border-right-style: solid;
151
161
  }
152
- .wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
162
+ .wp-block-post-featured-image[style*=height] .components-placeholder {
153
163
  min-height: 48px;
154
164
  min-width: 48px;
155
165
  height: 100%;
@@ -79,19 +79,19 @@
79
79
  -webkit-backdrop-filter: none;
80
80
  backdrop-filter: none;
81
81
  }
82
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
83
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
82
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
83
+ .wp-block-post-featured-image .components-placeholder {
84
84
  justify-content: center;
85
85
  align-items: center;
86
86
  padding: 0;
87
87
  min-height: 200px;
88
88
  }
89
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
90
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
89
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
90
+ .wp-block-post-featured-image .components-placeholder .components-form-file-upload {
91
91
  display: none;
92
92
  }
93
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
94
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
93
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
94
+ .wp-block-post-featured-image .components-placeholder .components-button {
95
95
  padding: 0;
96
96
  display: flex;
97
97
  justify-content: center;
@@ -105,51 +105,61 @@
105
105
  border-style: solid;
106
106
  color: #fff;
107
107
  }
108
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
109
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
108
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
109
+ .wp-block-post-featured-image .components-placeholder .components-button > svg {
110
110
  color: inherit;
111
111
  }
112
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
113
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where(.has-border-color) {
112
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
113
+ .wp-block-post-featured-image .components-placeholder:where(.has-border-color),
114
+ .wp-block-post-featured-image img:where(.has-border-color) {
114
115
  border-style: solid;
115
116
  }
116
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
117
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]) {
117
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
118
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
119
+ .wp-block-post-featured-image img:where([style*="border-top-color"]) {
118
120
  border-top-style: solid;
119
121
  }
120
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
121
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]) {
122
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
123
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
124
+ .wp-block-post-featured-image img:where([style*="border-right-color"]) {
122
125
  border-right-style: solid;
123
126
  }
124
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
125
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]) {
127
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
128
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
129
+ .wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
126
130
  border-bottom-style: solid;
127
131
  }
128
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
129
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]) {
132
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
133
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
134
+ .wp-block-post-featured-image img:where([style*="border-left-color"]) {
130
135
  border-left-style: solid;
131
136
  }
132
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
133
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]) {
137
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
138
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
139
+ .wp-block-post-featured-image img:where([style*="border-width"]) {
134
140
  border-style: solid;
135
141
  }
136
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
137
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]) {
142
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
143
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
144
+ .wp-block-post-featured-image img:where([style*="border-top-width"]) {
138
145
  border-top-style: solid;
139
146
  }
140
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
141
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]) {
147
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
148
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
149
+ .wp-block-post-featured-image img:where([style*="border-right-width"]) {
142
150
  border-right-style: solid;
143
151
  }
144
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
145
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]) {
152
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
153
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
154
+ .wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
146
155
  border-bottom-style: solid;
147
156
  }
148
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
149
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]) {
157
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
158
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
159
+ .wp-block-post-featured-image img:where([style*="border-left-width"]) {
150
160
  border-left-style: solid;
151
161
  }
152
- .wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
162
+ .wp-block-post-featured-image[style*=height] .components-placeholder {
153
163
  min-height: 48px;
154
164
  min-width: 48px;
155
165
  height: 100%;
@@ -74,6 +74,9 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
- .wp-block-post-terms__separator {
77
+ .wp-block-post-terms {
78
+ box-sizing: border-box;
79
+ }
80
+ .wp-block-post-terms .wp-block-post-terms__separator {
78
81
  white-space: pre-wrap;
79
82
  }
@@ -74,6 +74,9 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
- .wp-block-post-terms__separator {
77
+ .wp-block-post-terms {
78
+ box-sizing: border-box;
79
+ }
80
+ .wp-block-post-terms .wp-block-post-terms__separator {
78
81
  white-space: pre-wrap;
79
82
  }
@@ -77,4 +77,8 @@
77
77
  .wp-block-site-title__placeholder {
78
78
  padding: 1em 0;
79
79
  border: 1px dashed;
80
+ }
81
+
82
+ .editor-styles-wrapper .wp-block-site-title a {
83
+ color: inherit;
80
84
  }
@@ -77,4 +77,8 @@
77
77
  .wp-block-site-title__placeholder {
78
78
  padding: 1em 0;
79
79
  border: 1px dashed;
80
+ }
81
+
82
+ .editor-styles-wrapper .wp-block-site-title a {
83
+ color: inherit;
80
84
  }
@@ -0,0 +1,79 @@
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-site-title a {
78
+ color: inherit;
79
+ }
@@ -0,0 +1,79 @@
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-site-title a {
78
+ color: inherit;
79
+ }
@@ -286,6 +286,9 @@
286
286
  margin-left: 2em;
287
287
  }
288
288
 
289
+ .wp-block-code {
290
+ box-sizing: border-box;
291
+ }
289
292
  .wp-block-code code {
290
293
  display: block;
291
294
  font-family: inherit;
@@ -1766,6 +1769,9 @@ ul.has-background {
1766
1769
  .wp-block-navigation .wp-block-navigation-item__content {
1767
1770
  display: block;
1768
1771
  }
1772
+ .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
1773
+ color: inherit;
1774
+ }
1769
1775
  .wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content {
1770
1776
  text-decoration: underline;
1771
1777
  }
@@ -2277,6 +2283,11 @@ html.has-modal-open {
2277
2283
  font-style: normal;
2278
2284
  }
2279
2285
 
2286
+ body.rtl .has-drop-cap:not(:focus)::first-letter {
2287
+ float: initial;
2288
+ margin-right: 0.1em;
2289
+ }
2290
+
2280
2291
  p.has-drop-cap.has-background {
2281
2292
  overflow: hidden;
2282
2293
  }
@@ -2462,7 +2473,10 @@ p.has-background {
2462
2473
  transform: scaleX(-1);;
2463
2474
  }
2464
2475
 
2465
- .wp-block-post-terms__separator {
2476
+ .wp-block-post-terms {
2477
+ box-sizing: border-box;
2478
+ }
2479
+ .wp-block-post-terms .wp-block-post-terms__separator {
2466
2480
  white-space: pre-wrap;
2467
2481
  }
2468
2482
 
@@ -2805,6 +2819,10 @@ ul.wp-block-rss.is-grid li {
2805
2819
  border-radius: 9999px;
2806
2820
  }
2807
2821
 
2822
+ .wp-block-site-title a {
2823
+ color: inherit;
2824
+ }
2825
+
2808
2826
  .wp-block-social-links {
2809
2827
  box-sizing: border-box;
2810
2828
  padding-right: 0;
@@ -289,6 +289,9 @@
289
289
  margin-left: 2em;
290
290
  }
291
291
 
292
+ .wp-block-code {
293
+ box-sizing: border-box;
294
+ }
292
295
  .wp-block-code code {
293
296
  display: block;
294
297
  font-family: inherit;
@@ -1794,6 +1797,9 @@ ul.has-background {
1794
1797
  .wp-block-navigation .wp-block-navigation-item__content {
1795
1798
  display: block;
1796
1799
  }
1800
+ .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
1801
+ color: inherit;
1802
+ }
1797
1803
  .wp-block-navigation.has-text-decoration-underline .wp-block-navigation-item__content {
1798
1804
  text-decoration: underline;
1799
1805
  }
@@ -2305,6 +2311,11 @@ html.has-modal-open {
2305
2311
  font-style: normal;
2306
2312
  }
2307
2313
 
2314
+ body.rtl .has-drop-cap:not(:focus)::first-letter {
2315
+ float: initial;
2316
+ margin-left: 0.1em;
2317
+ }
2318
+
2308
2319
  p.has-drop-cap.has-background {
2309
2320
  overflow: hidden;
2310
2321
  }
@@ -2490,7 +2501,10 @@ p.has-background {
2490
2501
  transform: scaleX(1) /*rtl:scaleX(-1);*/;
2491
2502
  }
2492
2503
 
2493
- .wp-block-post-terms__separator {
2504
+ .wp-block-post-terms {
2505
+ box-sizing: border-box;
2506
+ }
2507
+ .wp-block-post-terms .wp-block-post-terms__separator {
2494
2508
  white-space: pre-wrap;
2495
2509
  }
2496
2510
 
@@ -2838,6 +2852,10 @@ ul.wp-block-rss.is-grid li {
2838
2852
  border-radius: 9999px;
2839
2853
  }
2840
2854
 
2855
+ .wp-block-site-title a {
2856
+ color: inherit;
2857
+ }
2858
+
2841
2859
  .wp-block-social-links {
2842
2860
  box-sizing: border-box;
2843
2861
  padding-left: 0;
@@ -74,6 +74,28 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
+ .wp-block-video.wp-block-video.is-selected .components-placeholder {
78
+ color: #1e1e1e;
79
+ background-color: #fff;
80
+ box-shadow: inset 0 0 0 1px #1e1e1e;
81
+ border: none;
82
+ border-radius: 2px;
83
+ }
84
+ .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
85
+ opacity: 0;
86
+ }
87
+ .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
88
+ display: none;
89
+ }
90
+ .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
91
+ opacity: 0;
92
+ }
93
+ .wp-block-video.wp-block-video .components-placeholder__label,
94
+ .wp-block-video.wp-block-video .components-placeholder__instructions,
95
+ .wp-block-video.wp-block-video .components-button {
96
+ transition: none;
97
+ }
98
+
77
99
  .wp-block[data-align=center] > .wp-block-video {
78
100
  text-align: center;
79
101
  }
@@ -74,6 +74,28 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
+ .wp-block-video.wp-block-video.is-selected .components-placeholder {
78
+ color: #1e1e1e;
79
+ background-color: #fff;
80
+ box-shadow: inset 0 0 0 1px #1e1e1e;
81
+ border: none;
82
+ border-radius: 2px;
83
+ }
84
+ .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
85
+ opacity: 0;
86
+ }
87
+ .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
88
+ display: none;
89
+ }
90
+ .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
91
+ opacity: 0;
92
+ }
93
+ .wp-block-video.wp-block-video .components-placeholder__label,
94
+ .wp-block-video.wp-block-video .components-placeholder__instructions,
95
+ .wp-block-video.wp-block-video .components-button {
96
+ transition: none;
97
+ }
98
+
77
99
  .wp-block[data-align=center] > .wp-block-video {
78
100
  text-align: center;
79
101
  }