@wordpress/block-library 9.33.3 → 9.33.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.
@@ -1,7 +1,3 @@
1
- .wp-block-accordion .wp-block-accordion-heading {
2
- padding: 0;
3
- }
4
-
5
1
  .wp-block-accordion-heading__toggle {
6
2
  font-family: inherit;
7
3
  font-size: inherit;
@@ -11,6 +7,7 @@
11
7
  text-transform: inherit;
12
8
  text-decoration: inherit;
13
9
  word-spacing: inherit;
10
+ font-style: inherit;
14
11
  background: none;
15
12
  border: none;
16
13
  color: inherit;
@@ -1,7 +1,3 @@
1
- .wp-block-accordion .wp-block-accordion-heading {
2
- padding: 0;
3
- }
4
-
5
1
  .wp-block-accordion-heading__toggle {
6
2
  font-family: inherit;
7
3
  font-size: inherit;
@@ -11,6 +7,7 @@
11
7
  text-transform: inherit;
12
8
  text-decoration: inherit;
13
9
  word-spacing: inherit;
10
+ font-style: inherit;
14
11
  background: none;
15
12
  border: none;
16
13
  color: inherit;
@@ -43,12 +43,12 @@
43
43
  * React Native specific.
44
44
  * These variables do not appear to be used anywhere else.
45
45
  */
46
- h1.has-background,
47
- h2.has-background,
48
- h3.has-background,
49
- h4.has-background,
50
- h5.has-background,
51
- h6.has-background {
46
+ h1:where(.wp-block-heading).has-background,
47
+ h2:where(.wp-block-heading).has-background,
48
+ h3:where(.wp-block-heading).has-background,
49
+ h4:where(.wp-block-heading).has-background,
50
+ h5:where(.wp-block-heading).has-background,
51
+ h6:where(.wp-block-heading).has-background {
52
52
  padding: 1.25em 2.375em;
53
53
  }
54
54
  h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]), h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
@@ -43,12 +43,12 @@
43
43
  * React Native specific.
44
44
  * These variables do not appear to be used anywhere else.
45
45
  */
46
- h1.has-background,
47
- h2.has-background,
48
- h3.has-background,
49
- h4.has-background,
50
- h5.has-background,
51
- h6.has-background {
46
+ h1:where(.wp-block-heading).has-background,
47
+ h2:where(.wp-block-heading).has-background,
48
+ h3:where(.wp-block-heading).has-background,
49
+ h4:where(.wp-block-heading).has-background,
50
+ h5:where(.wp-block-heading).has-background,
51
+ h6:where(.wp-block-heading).has-background {
52
52
  padding: 1.25em 2.375em;
53
53
  }
54
54
  h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]), h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
@@ -21,10 +21,6 @@
21
21
  }
22
22
  }
23
23
 
24
- .wp-block-accordion .wp-block-accordion-heading {
25
- padding: 0;
26
- }
27
-
28
24
  .wp-block-accordion-heading__toggle {
29
25
  font-family: inherit;
30
26
  font-size: inherit;
@@ -34,6 +30,7 @@
34
30
  text-transform: inherit;
35
31
  text-decoration: inherit;
36
32
  word-spacing: inherit;
33
+ font-style: inherit;
37
34
  background: none;
38
35
  border: none;
39
36
  color: inherit;
@@ -1667,12 +1664,12 @@ figure.wp-block-gallery.has-nested-images {
1667
1664
  position: relative;
1668
1665
  }
1669
1666
 
1670
- h1.has-background,
1671
- h2.has-background,
1672
- h3.has-background,
1673
- h4.has-background,
1674
- h5.has-background,
1675
- h6.has-background {
1667
+ h1:where(.wp-block-heading).has-background,
1668
+ h2:where(.wp-block-heading).has-background,
1669
+ h3:where(.wp-block-heading).has-background,
1670
+ h4:where(.wp-block-heading).has-background,
1671
+ h5:where(.wp-block-heading).has-background,
1672
+ h6:where(.wp-block-heading).has-background {
1676
1673
  padding: 1.25em 2.375em;
1677
1674
  }
1678
1675
  h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]), h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
@@ -21,10 +21,6 @@
21
21
  }
22
22
  }
23
23
 
24
- .wp-block-accordion .wp-block-accordion-heading {
25
- padding: 0;
26
- }
27
-
28
24
  .wp-block-accordion-heading__toggle {
29
25
  font-family: inherit;
30
26
  font-size: inherit;
@@ -34,6 +30,7 @@
34
30
  text-transform: inherit;
35
31
  text-decoration: inherit;
36
32
  word-spacing: inherit;
33
+ font-style: inherit;
37
34
  background: none;
38
35
  border: none;
39
36
  color: inherit;
@@ -1675,12 +1672,12 @@ figure.wp-block-gallery.has-nested-images {
1675
1672
  position: relative;
1676
1673
  }
1677
1674
 
1678
- h1.has-background,
1679
- h2.has-background,
1680
- h3.has-background,
1681
- h4.has-background,
1682
- h5.has-background,
1683
- h6.has-background {
1675
+ h1:where(.wp-block-heading).has-background,
1676
+ h2:where(.wp-block-heading).has-background,
1677
+ h3:where(.wp-block-heading).has-background,
1678
+ h4:where(.wp-block-heading).has-background,
1679
+ h5:where(.wp-block-heading).has-background,
1680
+ h6:where(.wp-block-heading).has-background {
1684
1681
  padding: 1.25em 2.375em;
1685
1682
  }
1686
1683
  h1.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]), h1.has-text-align-left[style*=writing-mode]:where([style*=vertical-lr]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.33.3",
3
+ "version": "9.33.4",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -86,11 +86,11 @@
86
86
  "@wordpress/autop": "^4.33.1",
87
87
  "@wordpress/base-styles": "^6.9.1",
88
88
  "@wordpress/blob": "^4.33.1",
89
- "@wordpress/block-editor": "^15.6.2",
89
+ "@wordpress/block-editor": "^15.6.3",
90
90
  "@wordpress/blocks": "^15.6.1",
91
91
  "@wordpress/components": "^30.6.1",
92
92
  "@wordpress/compose": "^7.33.1",
93
- "@wordpress/core-data": "^7.33.2",
93
+ "@wordpress/core-data": "^7.33.3",
94
94
  "@wordpress/data": "^10.33.1",
95
95
  "@wordpress/date": "^5.33.1",
96
96
  "@wordpress/deprecated": "^4.33.1",
@@ -107,10 +107,10 @@
107
107
  "@wordpress/keycodes": "^4.33.1",
108
108
  "@wordpress/latex-to-mathml": "^1.1.1",
109
109
  "@wordpress/notices": "^5.33.1",
110
- "@wordpress/patterns": "^2.33.2",
110
+ "@wordpress/patterns": "^2.33.3",
111
111
  "@wordpress/primitives": "^4.33.1",
112
112
  "@wordpress/private-apis": "^1.33.1",
113
- "@wordpress/reusable-blocks": "^5.33.2",
113
+ "@wordpress/reusable-blocks": "^5.33.3",
114
114
  "@wordpress/rich-text": "^7.33.1",
115
115
  "@wordpress/server-side-render": "^6.9.1",
116
116
  "@wordpress/url": "^4.33.1",
@@ -133,5 +133,5 @@
133
133
  "publishConfig": {
134
134
  "access": "public"
135
135
  },
136
- "gitHead": "45005cc254bab59182927e35a68cd22f6320634d"
136
+ "gitHead": "b54bd3285e50e409580bdfa2c47bc81f0000a0c9"
137
137
  }
@@ -1,9 +1,3 @@
1
- // The .wp-block-accordion selector is needed to make this CSS stronger
2
- // than the default heading padding when background color is applied.
3
- .wp-block-accordion .wp-block-accordion-heading {
4
- padding: 0;
5
- }
6
-
7
1
  .wp-block-accordion-heading__toggle {
8
2
  font-family: inherit;
9
3
  font-size: inherit;
@@ -13,6 +7,7 @@
13
7
  text-transform: inherit;
14
8
  text-decoration: inherit;
15
9
  word-spacing: inherit;
10
+ font-style: inherit;
16
11
  background: none;
17
12
  border: none;
18
13
  color: inherit;
@@ -6,7 +6,7 @@ h3,
6
6
  h4,
7
7
  h5,
8
8
  h6 {
9
- &.has-background {
9
+ &:where(.wp-block-heading).has-background {
10
10
  padding: $block-bg-padding--v $block-bg-padding--h;
11
11
  }
12
12
  &.has-text-align-right[style*="writing-mode"]:where([style*="vertical-rl"]),