@wordpress/base-styles 4.0.1-next.5df0cd52b7.0 → 4.0.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.
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
@@ -37,14 +37,18 @@ $z-layers: (
37
37
  ".edit-widgets-header": 30,
38
38
  ".block-library-button__inline-link .block-editor-url-input__suggestions": 6, // URL suggestions for button block above sibling inserter
39
39
  ".wp-block-cover__inner-container": 1, // InnerBlocks area inside cover image block
40
+ ".wp-block-cover.is-placeholder .components-placeholder.is-large": 1, // Cover block resizer component inside a large placeholder.
40
41
  ".wp-block-cover.has-background-dim::before": 1, // Overlay area inside block cover need to be higher than the video background.
41
42
  ".wp-block-cover__image-background": 0, // Image background inside cover block.
42
43
  ".wp-block-cover__video-background": 0, // Video background inside cover block.
43
44
  ".wp-block-template-part__placeholder-preview-filter-input": 1,
44
45
 
46
+ // Fixed position appender:
47
+ ".block-editor-block-list__block .block-list-appender": 2,
48
+
45
49
  // Navigation menu dropdown.
46
- ".has-child .wp-block-navigation-link__container": 28,
47
- ".has-child:hover .wp-block-navigation-link__container": 29,
50
+ ".has-child .wp-block-navigation__submenu-container": 28,
51
+ ".has-child:hover .wp-block-navigation__submenu-container": 29,
48
52
 
49
53
  // Active pill button
50
54
  ".components-button {:focus or .is-primary}": 1,
@@ -114,6 +118,8 @@ $z-layers: (
114
118
 
115
119
  // Show the navigation toggle above the skeleton header
116
120
  ".edit-site-navigation-toggle": 31,
121
+ // Show the navigation link above the skeleton header
122
+ ".edit-site-navigation-link": 31,
117
123
 
118
124
  // Show the FSE template previews above the editor and any open block toolbars
119
125
  ".edit-site-navigation-panel__preview": 32,
@@ -136,7 +142,7 @@ $z-layers: (
136
142
 
137
143
  // Should be above the popover (dropdown)
138
144
  ".reusable-blocks-menu-items__convert-modal": 1000001,
139
- ".edit-site-template-part-converter__modal": 1000001,
145
+ ".edit-site-create-template-part-modal": 1000001,
140
146
 
141
147
  // ...Except for popovers immediately beneath wp-admin menu on large breakpoints
142
148
  ".components-popover.block-editor-inserter__popover": 99999,
@@ -147,7 +153,7 @@ $z-layers: (
147
153
  ".components-popover.edit-widgets-more-menu__content": 99998,
148
154
  ".components-popover.block-editor-rich-text__inline-format-toolbar": 99998,
149
155
  ".components-popover.block-editor-warning__dropdown": 99998,
150
- ".components-popover.edit-navigation-header__menu-switcher-dropdown": 99998,
156
+ ".components-popover.edit-navigation-menu-actions__switcher-dropdown": 99998,
151
157
 
152
158
  ".components-autocomplete__results": 1000000,
153
159
 
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.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": "558d577d12bec15f05e694eb49a094836d885cca"
26
+ "gitHead": "ca22e8852fcc91889510e417bdaa180ad60f8dac"
27
27
  }