@wordpress/base-styles 4.42.2 → 4.42.3

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 (2) hide show
  1. package/_mixins.scss +10 -0
  2. package/package.json +2 -2
package/_mixins.scss CHANGED
@@ -297,6 +297,16 @@
297
297
  }
298
298
  }
299
299
  }
300
+
301
+ &[aria-disabled="true"],
302
+ &:disabled {
303
+ background: $gray-100;
304
+ border-color: $gray-300;
305
+ cursor: default;
306
+
307
+ // Override style inherited from wp-admin. Required to avoid degraded appearance on different backgrounds.
308
+ opacity: 1;
309
+ }
300
310
  }
301
311
 
302
312
  @mixin radio-control {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "4.42.2",
3
+ "version": "4.42.3",
4
4
  "description": "Base SCSS utilities and variables for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -23,5 +23,5 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "gitHead": "b12d75c5c5256fda2a0509bb432e20ddd3354d5e"
26
+ "gitHead": "864c1c553cb284def3bd5c907998da45f5c143ea"
27
27
  }