@wordpress/block-library 9.0.6 → 9.0.8

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.
@@ -132,10 +132,7 @@
132
132
  .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active {
133
133
  text-decoration: line-through;
134
134
  }
135
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a {
136
- text-decoration: none;
137
- }
138
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:focus, .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:active {
135
+ .wp-block-navigation :where(a), .wp-block-navigation :where(a:focus), .wp-block-navigation :where(a:active) {
139
136
  text-decoration: none;
140
137
  }
141
138
  .wp-block-navigation .wp-block-navigation__submenu-icon {
@@ -132,10 +132,7 @@
132
132
  .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active {
133
133
  text-decoration: line-through;
134
134
  }
135
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a {
136
- text-decoration: none;
137
- }
138
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:focus, .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:active {
135
+ .wp-block-navigation :where(a), .wp-block-navigation :where(a:focus), .wp-block-navigation :where(a:active) {
139
136
  text-decoration: none;
140
137
  }
141
138
  .wp-block-navigation .wp-block-navigation__submenu-icon {
@@ -94,7 +94,7 @@
94
94
  display: block;
95
95
  height: 100%;
96
96
  }
97
- .wp-block-post-featured-image img {
97
+ .wp-block-post-featured-image :where(img) {
98
98
  max-width: 100%;
99
99
  width: 100%;
100
100
  height: auto;
@@ -94,7 +94,7 @@
94
94
  display: block;
95
95
  height: 100%;
96
96
  }
97
- .wp-block-post-featured-image img {
97
+ .wp-block-post-featured-image :where(img) {
98
98
  max-width: 100%;
99
99
  width: 100%;
100
100
  height: auto;
@@ -2123,10 +2123,7 @@ ul {
2123
2123
  .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active {
2124
2124
  text-decoration: line-through;
2125
2125
  }
2126
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a {
2127
- text-decoration: none;
2128
- }
2129
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:focus, .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:active {
2126
+ .wp-block-navigation :where(a), .wp-block-navigation :where(a:focus), .wp-block-navigation :where(a:active) {
2130
2127
  text-decoration: none;
2131
2128
  }
2132
2129
  .wp-block-navigation .wp-block-navigation__submenu-icon {
@@ -2809,7 +2806,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
2809
2806
  display: block;
2810
2807
  height: 100%;
2811
2808
  }
2812
- .wp-block-post-featured-image img {
2809
+ .wp-block-post-featured-image :where(img) {
2813
2810
  max-width: 100%;
2814
2811
  width: 100%;
2815
2812
  height: auto;
@@ -2153,10 +2153,7 @@ ul {
2153
2153
  .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:focus, .wp-block-navigation.has-text-decoration-line-through .wp-block-navigation-item__content:active {
2154
2154
  text-decoration: line-through;
2155
2155
  }
2156
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a {
2157
- text-decoration: none;
2158
- }
2159
- .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:focus, .wp-block-navigation:where(:not([class*="has-text-decoration"])) a:active {
2156
+ .wp-block-navigation :where(a), .wp-block-navigation :where(a:focus), .wp-block-navigation :where(a:active) {
2160
2157
  text-decoration: none;
2161
2158
  }
2162
2159
  .wp-block-navigation .wp-block-navigation__submenu-icon {
@@ -2839,7 +2836,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
2839
2836
  display: block;
2840
2837
  height: 100%;
2841
2838
  }
2842
- .wp-block-post-featured-image img {
2839
+ .wp-block-post-featured-image :where(img) {
2843
2840
  max-width: 100%;
2844
2841
  width: 100%;
2845
2842
  height: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.0.6",
3
+ "version": "9.0.8",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -36,11 +36,11 @@
36
36
  "@wordpress/api-fetch": "^7.0.1",
37
37
  "@wordpress/autop": "^4.0.1",
38
38
  "@wordpress/blob": "^4.0.1",
39
- "@wordpress/block-editor": "^13.0.5",
39
+ "@wordpress/block-editor": "^13.0.7",
40
40
  "@wordpress/blocks": "^13.0.3",
41
41
  "@wordpress/components": "^28.0.3",
42
42
  "@wordpress/compose": "^7.0.1",
43
- "@wordpress/core-data": "^7.0.5",
43
+ "@wordpress/core-data": "^7.0.7",
44
44
  "@wordpress/data": "^10.0.2",
45
45
  "@wordpress/date": "^5.0.1",
46
46
  "@wordpress/deprecated": "^4.0.1",
@@ -56,10 +56,10 @@
56
56
  "@wordpress/keyboard-shortcuts": "^5.0.2",
57
57
  "@wordpress/keycodes": "^4.0.1",
58
58
  "@wordpress/notices": "^5.0.2",
59
- "@wordpress/patterns": "^2.0.5",
59
+ "@wordpress/patterns": "^2.0.7",
60
60
  "@wordpress/primitives": "^4.0.1",
61
61
  "@wordpress/private-apis": "^1.0.2",
62
- "@wordpress/reusable-blocks": "^5.0.5",
62
+ "@wordpress/reusable-blocks": "^5.0.7",
63
63
  "@wordpress/rich-text": "^7.0.2",
64
64
  "@wordpress/server-side-render": "^5.0.3",
65
65
  "@wordpress/url": "^4.0.1",
@@ -82,5 +82,5 @@
82
82
  "publishConfig": {
83
83
  "access": "public"
84
84
  },
85
- "gitHead": "38063ae466e1b62d400b910136757a4cafdbe7fa"
85
+ "gitHead": "a74a70ed203bbcbb5f3d34335df9631178647acb"
86
86
  }
@@ -76,15 +76,10 @@ $navigation-icon-size: 24px;
76
76
  }
77
77
  }
78
78
 
79
- &:where(:not([class*="has-text-decoration"])) {
80
- a {
81
- text-decoration: none;
82
-
83
- &:focus,
84
- &:active {
85
- text-decoration: none;
86
- }
87
- }
79
+ & :where(a),
80
+ & :where(a:focus),
81
+ & :where(a:active) {
82
+ text-decoration: none;
88
83
  }
89
84
 
90
85
  // Submenu indicator.
@@ -5,7 +5,7 @@
5
5
  display: block;
6
6
  height: 100%;
7
7
  }
8
- img {
8
+ :where(img) {
9
9
  max-width: 100%;
10
10
  width: 100%;
11
11
  height: auto;