@wordpress/base-styles 4.42.2 → 4.42.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,4 +1,3 @@
1
-
2
1
  // It is important to include these styles in all built stylesheets.
3
2
  // This allows to CSS variables post CSS plugin to generate fallbacks.
4
3
  // It also provides default CSS variables for npm package consumers.
@@ -6,4 +5,5 @@
6
5
  @include admin-scheme(#007cba);
7
6
  --wp-block-synced-color: #7a00df;
8
7
  --wp-block-synced-color--rgb: #{hex-to-rgb(#7a00df)};
8
+ --wp-bound-block-color: #9747ff;
9
9
  }
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 {
@@ -357,6 +367,14 @@
357
367
  }
358
368
  }
359
369
 
370
+ @mixin link-reset {
371
+ &:focus {
372
+ color: var(--wp-admin-theme-color--rgb);
373
+ box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color, #007cba);
374
+ border-radius: $radius-block-ui;
375
+ }
376
+ }
377
+
360
378
  // The editor input reset with increased specificity to avoid theme styles bleeding in.
361
379
  @mixin editor-input-reset() {
362
380
  font-family: $editor-html-font !important;
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.4",
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": "4927ea437069f9aed12f696df294a79bd8e12fd5"
27
27
  }