@wordpress/base-styles 4.6.0 → 4.7.0

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/_mixins.scss CHANGED
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  @if $direction == "bottom" {
80
- background: linear-gradient(to top, rgba($color, 0), $color 90%);
80
+ background: linear-gradient(to top, transparent, $color 90%);
81
81
  left: $edge;
82
82
  right: $edge;
83
83
  top: $edge;
@@ -86,7 +86,7 @@
86
86
  }
87
87
 
88
88
  @if $direction == "top" {
89
- background: linear-gradient(to bottom, rgba($color, 0), $color 90%);
89
+ background: linear-gradient(to bottom, transparent, $color 90%);
90
90
  top: calc(100% - $size);
91
91
  left: $edge;
92
92
  right: $edge;
@@ -95,7 +95,7 @@
95
95
  }
96
96
 
97
97
  @if $direction == "left" {
98
- background: linear-gradient(to left, rgba($color, 0), $color 90%);
98
+ background: linear-gradient(to left, transparent, $color 90%);
99
99
  top: $edge;
100
100
  left: $edge;
101
101
  bottom: $edge;
@@ -105,7 +105,7 @@
105
105
  }
106
106
 
107
107
  @if $direction == "right" {
108
- background: linear-gradient(to right, rgba($color, 0), $color 90%);
108
+ background: linear-gradient(to right, transparent, $color 90%);
109
109
  top: $edge;
110
110
  bottom: $edge;
111
111
  right: $edge;
package/_z-index.scss CHANGED
@@ -18,6 +18,7 @@ $z-layers: (
18
18
  ".block-editor-inserter__tabs .components-tab-panel__tab-content": 0, // lower scrolling content
19
19
  ".block-editor-inserter__tabs .components-tab-panel__tabs": 1, // higher sticky element
20
20
  ".block-editor-inserter__search": 1, // higher sticky element
21
+ ".block-library-template-part__selection-search": 1, // higher sticky element
21
22
 
22
23
  // These next two share a stacking context
23
24
  ".interface-complementary-area .components-panel" : 0, // lower scrolling content
@@ -139,6 +140,7 @@ $z-layers: (
139
140
  ".reusable-blocks-menu-items__convert-modal": 1000001,
140
141
  ".edit-site-create-template-part-modal": 1000001,
141
142
  ".block-editor-block-lock-modal": 1000001,
143
+ ".block-editor-template-part__selection-modal": 1000001,
142
144
 
143
145
  // Note: The ConfirmDialog component's z-index is being set to 1000001 in packages/components/src/confirm-dialog/styles.ts
144
146
  // because it uses emotion and not sass. We need it to render on top its parent popover.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
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": "a80eeb62ec7cb1418b9915c277e084a29d6665e3"
26
+ "gitHead": "0315dbc240cb2aa146d7c1bafd251f004b88300e"
27
27
  }