@wordpress/block-library 7.14.2 → 7.14.4

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 (90) hide show
  1. package/build/comments-pagination-next/index.js +1 -1
  2. package/build/comments-pagination-numbers/index.js +1 -1
  3. package/build/comments-pagination-previous/index.js +1 -1
  4. package/build/gallery/deprecated.js +4 -4
  5. package/build/gallery/deprecated.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/navigation/menu-items-to-blocks.js +16 -6
  9. package/build/navigation/menu-items-to-blocks.js.map +1 -1
  10. package/build/post-content/edit.js +6 -1
  11. package/build/post-content/edit.js.map +1 -1
  12. package/build/post-featured-image/index.js +1 -1
  13. package/build/post-featured-image/overlay.js +2 -2
  14. package/build/post-featured-image/overlay.js.map +1 -1
  15. package/build/post-template/edit.js +13 -28
  16. package/build/post-template/edit.js.map +1 -1
  17. package/build/query/edit/inspector-controls/index.js +1 -1
  18. package/build/query/edit/inspector-controls/index.js.map +1 -1
  19. package/build/query/utils.js +1 -1
  20. package/build/query/utils.js.map +1 -1
  21. package/build/quote/index.js +0 -1
  22. package/build/quote/index.js.map +1 -1
  23. package/build/quote/transforms.js +2 -2
  24. package/build/quote/transforms.js.map +1 -1
  25. package/build/template-part/edit/index.js +2 -2
  26. package/build/template-part/edit/index.js.map +1 -1
  27. package/build/template-part/index.js +2 -2
  28. package/build/template-part/index.js.map +1 -1
  29. package/build-module/comments-pagination-next/index.js +1 -1
  30. package/build-module/comments-pagination-numbers/index.js +1 -1
  31. package/build-module/comments-pagination-previous/index.js +1 -1
  32. package/build-module/gallery/deprecated.js +4 -4
  33. package/build-module/gallery/deprecated.js.map +1 -1
  34. package/build-module/navigation/edit/index.js +12 -12
  35. package/build-module/navigation/edit/index.js.map +1 -1
  36. package/build-module/navigation/menu-items-to-blocks.js +16 -6
  37. package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
  38. package/build-module/post-content/edit.js +6 -1
  39. package/build-module/post-content/edit.js.map +1 -1
  40. package/build-module/post-featured-image/index.js +1 -1
  41. package/build-module/post-featured-image/overlay.js +2 -2
  42. package/build-module/post-featured-image/overlay.js.map +1 -1
  43. package/build-module/post-template/edit.js +14 -29
  44. package/build-module/post-template/edit.js.map +1 -1
  45. package/build-module/query/edit/inspector-controls/index.js +1 -1
  46. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  47. package/build-module/query/utils.js +1 -1
  48. package/build-module/query/utils.js.map +1 -1
  49. package/build-module/quote/index.js +0 -1
  50. package/build-module/quote/index.js.map +1 -1
  51. package/build-module/quote/transforms.js +2 -2
  52. package/build-module/quote/transforms.js.map +1 -1
  53. package/build-module/template-part/edit/index.js +3 -3
  54. package/build-module/template-part/edit/index.js.map +1 -1
  55. package/build-module/template-part/index.js +2 -2
  56. package/build-module/template-part/index.js.map +1 -1
  57. package/build-style/classic-rtl.css +85 -0
  58. package/build-style/classic.css +85 -0
  59. package/build-style/code/style-rtl.css +3 -0
  60. package/build-style/code/style.css +3 -0
  61. package/build-style/editor-rtl.css +39 -29
  62. package/build-style/editor.css +39 -29
  63. package/build-style/post-featured-image/editor-rtl.css +39 -29
  64. package/build-style/post-featured-image/editor.css +39 -29
  65. package/build-style/style-rtl.css +3 -0
  66. package/build-style/style.css +3 -0
  67. package/package.json +12 -12
  68. package/src/classic.scss +15 -0
  69. package/src/code/style.scss +12 -7
  70. package/src/comment-template/index.php +18 -8
  71. package/src/comments-pagination-next/block.json +1 -1
  72. package/src/comments-pagination-numbers/block.json +1 -1
  73. package/src/comments-pagination-previous/block.json +1 -1
  74. package/src/gallery/deprecated.js +4 -4
  75. package/src/navigation/edit/index.js +12 -10
  76. package/src/navigation/menu-items-to-blocks.js +39 -22
  77. package/src/navigation/test/menu-items-to-blocks.js +6 -0
  78. package/src/navigation-submenu/index.php +10 -1
  79. package/src/post-content/edit.js +3 -1
  80. package/src/post-featured-image/block.json +1 -1
  81. package/src/post-featured-image/editor.scss +79 -72
  82. package/src/post-featured-image/index.php +18 -24
  83. package/src/post-featured-image/overlay.js +17 -14
  84. package/src/post-template/edit.js +14 -23
  85. package/src/query/edit/inspector-controls/index.js +1 -4
  86. package/src/query/utils.js +1 -1
  87. package/src/quote/block.json +0 -1
  88. package/src/quote/transforms.js +1 -1
  89. package/src/template-part/edit/index.js +60 -58
  90. package/src/template-part/index.js +2 -2
@@ -0,0 +1,85 @@
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-button__link {
78
+ color: #fff;
79
+ background-color: #32373c;
80
+ border-radius: 9999px;
81
+ box-shadow: none;
82
+ text-decoration: none;
83
+ padding: calc(0.667em + 2px) calc(1.333em + 2px);
84
+ font-size: 1.125em;
85
+ }
@@ -0,0 +1,85 @@
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-button__link {
78
+ color: #fff;
79
+ background-color: #32373c;
80
+ border-radius: 9999px;
81
+ box-shadow: none;
82
+ text-decoration: none;
83
+ padding: calc(0.667em + 2px) calc(1.333em + 2px);
84
+ font-size: 1.125em;
85
+ }
@@ -74,6 +74,9 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
+ .wp-block-code {
78
+ box-sizing: border-box;
79
+ }
77
80
  .wp-block-code code {
78
81
  display: block;
79
82
  font-family: inherit;
@@ -74,6 +74,9 @@
74
74
  /**
75
75
  * Reset the WP Admin page styles for Gutenberg-like pages.
76
76
  */
77
+ .wp-block-code {
78
+ box-sizing: border-box;
79
+ }
77
80
  .wp-block-code code {
78
81
  display: block;
79
82
  font-family: inherit;
@@ -2719,19 +2719,19 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2719
2719
  -webkit-backdrop-filter: none;
2720
2720
  backdrop-filter: none;
2721
2721
  }
2722
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
2723
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
2722
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
2723
+ .wp-block-post-featured-image .components-placeholder {
2724
2724
  justify-content: center;
2725
2725
  align-items: center;
2726
2726
  padding: 0;
2727
2727
  min-height: 200px;
2728
2728
  }
2729
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
2730
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
2729
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
2730
+ .wp-block-post-featured-image .components-placeholder .components-form-file-upload {
2731
2731
  display: none;
2732
2732
  }
2733
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
2734
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
2733
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
2734
+ .wp-block-post-featured-image .components-placeholder .components-button {
2735
2735
  padding: 0;
2736
2736
  display: flex;
2737
2737
  justify-content: center;
@@ -2745,51 +2745,61 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2745
2745
  border-style: solid;
2746
2746
  color: #fff;
2747
2747
  }
2748
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
2749
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
2748
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
2749
+ .wp-block-post-featured-image .components-placeholder .components-button > svg {
2750
2750
  color: inherit;
2751
2751
  }
2752
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
2753
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where(.has-border-color) {
2752
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
2753
+ .wp-block-post-featured-image .components-placeholder:where(.has-border-color),
2754
+ .wp-block-post-featured-image img:where(.has-border-color) {
2754
2755
  border-style: solid;
2755
2756
  }
2756
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
2757
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]) {
2757
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
2758
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
2759
+ .wp-block-post-featured-image img:where([style*="border-top-color"]) {
2758
2760
  border-top-style: solid;
2759
2761
  }
2760
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
2761
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]) {
2762
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
2763
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
2764
+ .wp-block-post-featured-image img:where([style*="border-right-color"]) {
2762
2765
  border-left-style: solid;
2763
2766
  }
2764
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
2765
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]) {
2767
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
2768
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
2769
+ .wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
2766
2770
  border-bottom-style: solid;
2767
2771
  }
2768
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
2769
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]) {
2772
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
2773
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
2774
+ .wp-block-post-featured-image img:where([style*="border-left-color"]) {
2770
2775
  border-right-style: solid;
2771
2776
  }
2772
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
2773
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]) {
2777
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
2778
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
2779
+ .wp-block-post-featured-image img:where([style*="border-width"]) {
2774
2780
  border-style: solid;
2775
2781
  }
2776
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
2777
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]) {
2782
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
2783
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
2784
+ .wp-block-post-featured-image img:where([style*="border-top-width"]) {
2778
2785
  border-top-style: solid;
2779
2786
  }
2780
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
2781
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]) {
2787
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
2788
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
2789
+ .wp-block-post-featured-image img:where([style*="border-right-width"]) {
2782
2790
  border-left-style: solid;
2783
2791
  }
2784
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
2785
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]) {
2792
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
2793
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
2794
+ .wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
2786
2795
  border-bottom-style: solid;
2787
2796
  }
2788
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
2789
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]) {
2797
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
2798
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
2799
+ .wp-block-post-featured-image img:where([style*="border-left-width"]) {
2790
2800
  border-right-style: solid;
2791
2801
  }
2792
- .wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
2802
+ .wp-block-post-featured-image[style*=height] .components-placeholder {
2793
2803
  min-height: 48px;
2794
2804
  min-width: 48px;
2795
2805
  height: 100%;
@@ -2730,19 +2730,19 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2730
2730
  -webkit-backdrop-filter: none;
2731
2731
  backdrop-filter: none;
2732
2732
  }
2733
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
2734
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder {
2733
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder,
2734
+ .wp-block-post-featured-image .components-placeholder {
2735
2735
  justify-content: center;
2736
2736
  align-items: center;
2737
2737
  padding: 0;
2738
2738
  min-height: 200px;
2739
2739
  }
2740
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
2741
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-form-file-upload {
2740
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
2741
+ .wp-block-post-featured-image .components-placeholder .components-form-file-upload {
2742
2742
  display: none;
2743
2743
  }
2744
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button,
2745
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button {
2744
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button,
2745
+ .wp-block-post-featured-image .components-placeholder .components-button {
2746
2746
  padding: 0;
2747
2747
  display: flex;
2748
2748
  justify-content: center;
@@ -2756,51 +2756,61 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2756
2756
  border-style: solid;
2757
2757
  color: #fff;
2758
2758
  }
2759
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button.components-button > svg,
2760
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder .components-button.components-button > svg {
2759
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-button > svg,
2760
+ .wp-block-post-featured-image .components-placeholder .components-button > svg {
2761
2761
  color: inherit;
2762
2762
  }
2763
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
2764
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where(.has-border-color) {
2763
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where(.has-border-color),
2764
+ .wp-block-post-featured-image .components-placeholder:where(.has-border-color),
2765
+ .wp-block-post-featured-image img:where(.has-border-color) {
2765
2766
  border-style: solid;
2766
2767
  }
2767
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
2768
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]) {
2768
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-color"]),
2769
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-color"]),
2770
+ .wp-block-post-featured-image img:where([style*="border-top-color"]) {
2769
2771
  border-top-style: solid;
2770
2772
  }
2771
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
2772
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]) {
2773
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-color"]),
2774
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-color"]),
2775
+ .wp-block-post-featured-image img:where([style*="border-right-color"]) {
2773
2776
  border-right-style: solid;
2774
2777
  }
2775
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
2776
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]) {
2778
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-color"]),
2779
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-color"]),
2780
+ .wp-block-post-featured-image img:where([style*="border-bottom-color"]) {
2777
2781
  border-bottom-style: solid;
2778
2782
  }
2779
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
2780
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]) {
2783
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-color"]),
2784
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-color"]),
2785
+ .wp-block-post-featured-image img:where([style*="border-left-color"]) {
2781
2786
  border-left-style: solid;
2782
2787
  }
2783
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
2784
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-width"]) {
2788
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-width"]),
2789
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-width"]),
2790
+ .wp-block-post-featured-image img:where([style*="border-width"]) {
2785
2791
  border-style: solid;
2786
2792
  }
2787
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
2788
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]) {
2793
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-top-width"]),
2794
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-top-width"]),
2795
+ .wp-block-post-featured-image img:where([style*="border-top-width"]) {
2789
2796
  border-top-style: solid;
2790
2797
  }
2791
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
2792
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]) {
2798
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-right-width"]),
2799
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-right-width"]),
2800
+ .wp-block-post-featured-image img:where([style*="border-right-width"]) {
2793
2801
  border-right-style: solid;
2794
2802
  }
2795
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
2796
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]) {
2803
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-bottom-width"]),
2804
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-bottom-width"]),
2805
+ .wp-block-post-featured-image img:where([style*="border-bottom-width"]) {
2797
2806
  border-bottom-style: solid;
2798
2807
  }
2799
- .wp-block-post-featured-image.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
2800
- .wp-block-post-featured-image.wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]) {
2808
+ .wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*="border-left-width"]),
2809
+ .wp-block-post-featured-image .components-placeholder:where([style*="border-left-width"]),
2810
+ .wp-block-post-featured-image img:where([style*="border-left-width"]) {
2801
2811
  border-left-style: solid;
2802
2812
  }
2803
- .wp-block-post-featured-image.wp-block-post-featured-image[style*=height] .components-placeholder {
2813
+ .wp-block-post-featured-image[style*=height] .components-placeholder {
2804
2814
  min-height: 48px;
2805
2815
  min-width: 48px;
2806
2816
  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-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%;