@wordpress/base-styles 6.13.0 → 6.13.2-next.79a2f3cdd.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/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
- ## 6.13.0 (2025-12-23)
5
+ ## 6.13.1-next.0 (2026-01-07)
6
+
7
+ ### Internal
8
+
9
+ - Remove outdated vendor prefix properties ([#74213](https://github.com/WordPress/gutenberg/pull/74213)).
6
10
 
7
11
  ## 6.12.0 (2025-11-26)
8
12
 
package/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Gutenberg
2
2
 
3
- Copyright 2016-2025 by the contributors
3
+ Copyright 2016-2026 by the contributors
4
4
 
5
5
  **License for Contributions (on and after April 15, 2021)**
6
6
 
@@ -10,10 +10,6 @@
10
10
  display: block;
11
11
  position: absolute;
12
12
  -webkit-touch-callout: none;
13
- -webkit-user-select: none;
14
- -khtml-user-select: none;
15
- -moz-user-select: none;
16
- -ms-user-select: none;
17
13
  user-select: none;
18
14
  pointer-events: none;
19
15
 
package/_mixins.scss CHANGED
@@ -283,15 +283,7 @@
283
283
  }
284
284
 
285
285
  // Use opacity to work in various editor styles.
286
- &::-webkit-input-placeholder {
287
- color: colors.$dark-gray-placeholder;
288
- }
289
-
290
- &::-moz-placeholder {
291
- color: colors.$dark-gray-placeholder;
292
- }
293
-
294
- &:-ms-input-placeholder {
286
+ &::placeholder {
295
287
  color: colors.$dark-gray-placeholder;
296
288
  }
297
289
  }
@@ -313,11 +305,6 @@
313
305
  &:checked {
314
306
  background: var(--wp-admin-theme-color);
315
307
  border-color: var(--wp-admin-theme-color);
316
-
317
- // Hide default checkbox styles in IE.
318
- &::-ms-check {
319
- opacity: 0;
320
- }
321
308
  }
322
309
 
323
310
  &:checked::before,
@@ -681,3 +668,20 @@
681
668
  left: 0;
682
669
  @include selected-block-outline($widthRatio);
683
670
  }
671
+
672
+ /**
673
+ * Creates a checkerboard pattern background to indicate transparency.
674
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
675
+ */
676
+ @mixin checkerboard-background($size: 12px) {
677
+ // The background image creates a checkerboard pattern. Ignore rtlcss to
678
+ // make it work both in LTR and RTL.
679
+ // See https://github.com/WordPress/gutenberg/pull/42510
680
+ /*rtl:begin:ignore*/
681
+ background-image:
682
+ repeating-linear-gradient(45deg, colors.$gray-200 25%, transparent 25%, transparent 75%, colors.$gray-200 75%, colors.$gray-200),
683
+ repeating-linear-gradient(45deg, colors.$gray-200 25%, transparent 25%, transparent 75%, colors.$gray-200 75%, colors.$gray-200);
684
+ background-position: 0 0, $size $size;
685
+ /*rtl:end:ignore*/
686
+ background-size: calc(2 * $size) calc(2 * $size);
687
+ }
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  body.admin-color-light {
87
91
  --wp-admin-theme-color: #0085ba;
88
92
  --wp-admin-theme-color--rgb: 0, 133, 186;
@@ -83,6 +83,10 @@
83
83
  /**
84
84
  * Reset the WP Admin page styles for Gutenberg-like pages.
85
85
  */
86
+ /**
87
+ * Creates a checkerboard pattern background to indicate transparency.
88
+ * @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
89
+ */
86
90
  body.admin-color-light {
87
91
  --wp-admin-theme-color: #0085ba;
88
92
  --wp-admin-theme-color--rgb: 0, 133, 186;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/base-styles",
3
- "version": "6.13.0",
3
+ "version": "6.13.2-next.79a2f3cdd.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",
@@ -24,8 +24,26 @@
24
24
  "node": ">=18.12.0",
25
25
  "npm": ">=8.19.2"
26
26
  },
27
+ "main": "index.js",
28
+ "module": "index.js",
29
+ "exports": {
30
+ "./package.json": "./package.json",
31
+ "./build-style/": "./build-style/",
32
+ "./_*.scss": "./_*.scss",
33
+ "./animations": "./_animations.scss",
34
+ "./breakpoints": "./_breakpoints.scss",
35
+ "./colors": "./_colors.scss",
36
+ "./colors.native": "./_colors.native.scss",
37
+ "./default-custom-properties": "./_default-custom-properties.scss",
38
+ "./functions": "./_functions.scss",
39
+ "./long-content-fade": "./_long-content-fade.scss",
40
+ "./mixins": "./_mixins.scss",
41
+ "./variables": "./_variables.scss",
42
+ "./z-index": "./_z-index.scss"
43
+ },
44
+ "wpScript": true,
27
45
  "publishConfig": {
28
46
  "access": "public"
29
47
  },
30
- "gitHead": "2cf13ec6cf86153c9b3cf369bf5c59046f5cd950"
48
+ "gitHead": "6a324496a37d9a333a11d4d7fe5fb93b8152a5ba"
31
49
  }