@wordpress/interface 6.1.0 → 6.3.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,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 6.3.0 (2024-07-10)
|
|
6
|
+
|
|
7
|
+
## 6.2.0 (2024-06-26)
|
|
8
|
+
|
|
5
9
|
## 6.1.0 (2024-06-15)
|
|
6
10
|
|
|
7
11
|
## 6.0.0 (2024-05-31)
|
|
@@ -26,7 +30,7 @@
|
|
|
26
30
|
|
|
27
31
|
## 5.30.0 (2024-03-06)
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
### Breaking Changes
|
|
30
34
|
|
|
31
35
|
- Removed `MoreMenuDropdown` component ([#59095](https://github.com/WordPress/gutenberg/pull/59095)).
|
|
32
36
|
|
|
@@ -134,7 +138,7 @@
|
|
|
134
138
|
|
|
135
139
|
## 4.2.1 (2022-02-10)
|
|
136
140
|
|
|
137
|
-
### Bug
|
|
141
|
+
### Bug Fixes
|
|
138
142
|
|
|
139
143
|
- Removed unused `@wordpress/deprecated` dependency ([#38388](https://github.com/WordPress/gutenberg/pull/38388)).
|
|
140
144
|
|
|
@@ -142,13 +146,13 @@
|
|
|
142
146
|
|
|
143
147
|
## 4.1.0 (2021-09-09)
|
|
144
148
|
|
|
145
|
-
### New
|
|
149
|
+
### New Features
|
|
146
150
|
|
|
147
151
|
- Add support for editor 'feature' preferences. Adds an `isFeatureActive` selector, a `toggleFeature` action, a `MoreMenuDropdown` component, and a `MoreMenuFeatureToggle` component. ([#33774](https://github.com/WordPress/gutenberg/pull/33774)).
|
|
148
152
|
|
|
149
153
|
## 4.0.0 (2021-07-29)
|
|
150
154
|
|
|
151
|
-
### Breaking
|
|
155
|
+
### Breaking Changes
|
|
152
156
|
|
|
153
157
|
- Upgraded React components to work with v17.0 ([#29118](https://github.com/WordPress/gutenberg/pull/29118)). There are no new features in React v17.0 as explained in the [blog post](https://reactjs.org/blog/2020/10/20/react-v17.html).
|
|
154
158
|
|
|
@@ -183,7 +187,7 @@
|
|
|
183
187
|
|
|
184
188
|
## 0.11.0 (2020-12-17)
|
|
185
189
|
|
|
186
|
-
### New
|
|
190
|
+
### New Features
|
|
187
191
|
|
|
188
192
|
- Added a store definition `store` for the interface namespace to use with `@wordpress/data` API ([#26655](https://github.com/WordPress/gutenberg/pull/26655)).
|
|
189
193
|
|
|
@@ -359,7 +359,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
359
359
|
}
|
|
360
360
|
@media (min-width: 782px) {
|
|
361
361
|
.interface-interface-skeleton__sidebar {
|
|
362
|
-
box-shadow: 1px
|
|
362
|
+
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.133);
|
|
363
363
|
outline: 1px solid transparent;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
@@ -370,7 +370,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
370
370
|
}
|
|
371
371
|
@media (min-width: 782px) {
|
|
372
372
|
.interface-interface-skeleton__secondary-sidebar {
|
|
373
|
-
box-shadow: -1px
|
|
373
|
+
box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.133);
|
|
374
374
|
outline: 1px solid transparent;
|
|
375
375
|
}
|
|
376
376
|
}
|
package/build-style/style.css
CHANGED
|
@@ -359,7 +359,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
359
359
|
}
|
|
360
360
|
@media (min-width: 782px) {
|
|
361
361
|
.interface-interface-skeleton__sidebar {
|
|
362
|
-
box-shadow: -1px
|
|
362
|
+
box-shadow: -1px 0 0 0 rgba(0, 0, 0, 0.133);
|
|
363
363
|
outline: 1px solid transparent;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
@@ -370,7 +370,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
370
370
|
}
|
|
371
371
|
@media (min-width: 782px) {
|
|
372
372
|
.interface-interface-skeleton__secondary-sidebar {
|
|
373
|
-
box-shadow: 1px
|
|
373
|
+
box-shadow: 1px 0 0 0 rgba(0, 0, 0, 0.133);
|
|
374
374
|
outline: 1px solid transparent;
|
|
375
375
|
}
|
|
376
376
|
}
|
package/lock-unlock.js
CHANGED
|
@@ -5,6 +5,6 @@ import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/pri
|
|
|
5
5
|
|
|
6
6
|
export const { lock, unlock } =
|
|
7
7
|
__dangerousOptInToUnstableAPIsOnlyForCoreModules(
|
|
8
|
-
'I
|
|
8
|
+
'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',
|
|
9
9
|
'@wordpress/interface'
|
|
10
10
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/interface",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"description": "Interface module for WordPress. The package contains shared functionality across the modern JavaScript-based WordPress screens.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@babel/runtime": "^7.16.0",
|
|
36
|
-
"@wordpress/a11y": "^4.
|
|
37
|
-
"@wordpress/components": "^28.
|
|
38
|
-
"@wordpress/compose": "^7.
|
|
39
|
-
"@wordpress/data": "^10.
|
|
40
|
-
"@wordpress/deprecated": "^4.
|
|
41
|
-
"@wordpress/element": "^6.
|
|
42
|
-
"@wordpress/i18n": "^5.
|
|
43
|
-
"@wordpress/icons": "^10.
|
|
44
|
-
"@wordpress/plugins": "^7.
|
|
45
|
-
"@wordpress/preferences": "^4.
|
|
46
|
-
"@wordpress/private-apis": "^1.
|
|
47
|
-
"@wordpress/viewport": "^6.
|
|
36
|
+
"@wordpress/a11y": "^4.3.0",
|
|
37
|
+
"@wordpress/components": "^28.3.0",
|
|
38
|
+
"@wordpress/compose": "^7.3.0",
|
|
39
|
+
"@wordpress/data": "^10.3.0",
|
|
40
|
+
"@wordpress/deprecated": "^4.3.0",
|
|
41
|
+
"@wordpress/element": "^6.3.0",
|
|
42
|
+
"@wordpress/i18n": "^5.3.0",
|
|
43
|
+
"@wordpress/icons": "^10.3.0",
|
|
44
|
+
"@wordpress/plugins": "^7.3.0",
|
|
45
|
+
"@wordpress/preferences": "^4.3.0",
|
|
46
|
+
"@wordpress/private-apis": "^1.3.0",
|
|
47
|
+
"@wordpress/viewport": "^6.3.0",
|
|
48
48
|
"clsx": "^2.1.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "122867d355ca4edc63d3a3bbd9411d3a2e1458df"
|
|
58
58
|
}
|
|
@@ -122,7 +122,7 @@ html.interface-interface-skeleton__html-container {
|
|
|
122
122
|
overflow: hidden;
|
|
123
123
|
|
|
124
124
|
@include break-medium() {
|
|
125
|
-
box-shadow: -$border-width
|
|
125
|
+
box-shadow: -$border-width 0 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
|
|
126
126
|
outline: 1px solid transparent; // Shown for Windows 10 High Contrast mode.
|
|
127
127
|
}
|
|
128
128
|
}
|
|
@@ -132,7 +132,7 @@ html.interface-interface-skeleton__html-container {
|
|
|
132
132
|
right: 0;
|
|
133
133
|
|
|
134
134
|
@include break-medium() {
|
|
135
|
-
box-shadow: $border-width
|
|
135
|
+
box-shadow: $border-width 0 0 0 rgba($color: #000, $alpha: 0.133); // 0.133 = $gray-200 but with alpha.
|
|
136
136
|
outline: 1px solid transparent; // Shown for Windows 10 High Contrast mode.
|
|
137
137
|
}
|
|
138
138
|
}
|