@wordpress/base-styles 4.0.1-next.5df0cd52b7.0 → 4.0.1

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.
package/CHANGELOG.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 4.0.0-next.0 (2021-08-17)
5
+ ## 4.0.0 (2021-09-09)
6
6
 
7
- ### Breaking Changes
7
+ ### Breaking Change
8
8
 
9
9
  - Remove the background-colors, foreground-colors, and gradient-colors mixins.
10
10
 
@@ -53,6 +53,7 @@ $gray-text-min: darken($gray, 18%); //#537994
53
53
  $gray-lighten-10: lighten($gray, 10%); // #a8bece
54
54
  $gray-lighten-20: lighten($gray, 20%); // #c8d7e1
55
55
  $gray-lighten-30: lighten($gray, 30%); // #e9eff3
56
+ $gray-darken-10: darken($gray, 10%);
56
57
  $gray-darken-20: darken($gray, 20%); // #4f748e
57
58
  $gray-darken-30: darken($gray, 30%); // #3d596d
58
59
 
@@ -102,6 +103,8 @@ $app-background-dark-alt: $background-dark-elevated;
102
103
  $modal-background: $white;
103
104
  $modal-background-dark: $background-dark-elevated;
104
105
 
106
+ $sub-heading: $gray-text-min;
107
+ $sub-heading-dark: $white;
105
108
  /**
106
109
  * Deprecated colors.
107
110
  * Please avoid using these.
package/_mixins.scss CHANGED
@@ -503,8 +503,12 @@
503
503
 
504
504
  // Deprecated from UI, kept for back-compat.
505
505
  @mixin gradient-colors-deprecated() {
506
- /* stylelint-disable function-comma-space-after */
506
+ /*
507
+ * Our classes uses the same values we set for gradient value attributes,
508
+ * and we can not use spacing because of WP multi site kses rule.
509
+ */
507
510
 
511
+ /* stylelint-disable function-comma-space-after */
508
512
  .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
509
513
  background: linear-gradient(135deg,rgba(0,208,132,1) 0%,rgba(6,147,227,1) 100%);
510
514
  }
@@ -528,5 +532,9 @@
528
532
  .has-nightshade-gradient-background {
529
533
  background: linear-gradient(135deg,rgb(51,9,104) 0%,rgb(49,205,207) 100%);
530
534
  }
535
+
536
+ .has-midnight-gradient-background {
537
+ background: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);
538
+ }
531
539
  /* stylelint-enable function-comma-space-after */
532
540
  }
package/_z-index.scss CHANGED
@@ -43,8 +43,8 @@ $z-layers: (
43
43
  ".wp-block-template-part__placeholder-preview-filter-input": 1,
44
44
 
45
45
  // Navigation menu dropdown.
46
- ".has-child .wp-block-navigation-link__container": 28,
47
- ".has-child:hover .wp-block-navigation-link__container": 29,
46
+ ".has-child .wp-block-navigation__submenu-container": 28,
47
+ ".has-child:hover .wp-block-navigation__submenu-container": 29,
48
48
 
49
49
  // Active pill button
50
50
  ".components-button {:focus or .is-primary}": 1,
@@ -147,7 +147,7 @@ $z-layers: (
147
147
  ".components-popover.edit-widgets-more-menu__content": 99998,
148
148
  ".components-popover.block-editor-rich-text__inline-format-toolbar": 99998,
149
149
  ".components-popover.block-editor-warning__dropdown": 99998,
150
- ".components-popover.edit-navigation-header__menu-switcher-dropdown": 99998,
150
+ ".components-popover.edit-navigation-menu-actions__switcher-dropdown": 99998,
151
151
 
152
152
  ".components-autocomplete__results": 1000000,
153
153
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "4.0.1-next.5df0cd52b7.0",
3
+ "version": "4.0.1",
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": "558d577d12bec15f05e694eb49a094836d885cca"
26
+ "gitHead": "8f7f052bc04e3f4eb50f479ced14be1489b9fa79"
27
27
  }