@wordpress/base-styles 4.5.0 → 4.7.1-next.957ca95e4c.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;
@@ -202,6 +202,10 @@
202
202
  }
203
203
  }
204
204
 
205
+ @mixin placeholder-style() {
206
+ border: $border-width dashed currentColor;
207
+ border-radius: $radius-block-ui;
208
+ }
205
209
 
206
210
  /**
207
211
  * Allows users to opt-out of animations via OS-level preferences.
@@ -227,7 +231,6 @@
227
231
  animation-delay: 0s;
228
232
  }
229
233
  }
230
-
231
234
  }
232
235
 
233
236
  @mixin input-control {
@@ -372,6 +375,7 @@
372
375
  * Reset default styles for JavaScript UI based pages.
373
376
  * This is a WP-admin agnostic reset
374
377
  */
378
+
375
379
  @mixin reset {
376
380
  box-sizing: border-box;
377
381
 
@@ -385,6 +389,7 @@
385
389
  /**
386
390
  * Reset the WP Admin page styles for Gutenberg-like pages.
387
391
  */
392
+
388
393
  @mixin wp-admin-reset( $content-container ) {
389
394
  background: $white;
390
395
 
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.
@@ -162,6 +164,9 @@ $z-layers: (
162
164
  // Show tooltips above NUX tips, wp-admin menus, submenus, and sidebar:
163
165
  ".components-tooltip": 1000002,
164
166
 
167
+ // Keep template popover underneath 'Create custom template' modal overlay.
168
+ ".edit-post-post-template__dialog": 99999,
169
+
165
170
  // Make sure corner handles are above side handles for ResizableBox component
166
171
  ".components-resizable-box__handle": 2,
167
172
  ".components-resizable-box__side-handle": 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "4.5.0",
3
+ "version": "4.7.1-next.957ca95e4c.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": "198fa129cf1af8dc615918987ea6795cd40ab7df"
26
+ "gitHead": "272a74bbbaab10ee24424eafe9578e705fbfbbb4"
27
27
  }