@wordpress/interface 5.4.0 → 5.5.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,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 5.5.0 (2023-03-01)
6
+
5
7
  ## 5.4.0 (2023-02-15)
6
8
 
7
9
  ## 5.3.0 (2023-02-01)
@@ -413,15 +413,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
413
413
  }
414
414
  }
415
415
  .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
416
- top: 46px;
416
+ top: auto;
417
417
  bottom: 0;
418
418
  }
419
+ .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
420
+ top: 46px;
421
+ }
419
422
  @media (min-width: 782px) {
420
- .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
423
+ .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
421
424
  border-right: 1px solid #ddd;
422
425
  top: 32px;
423
426
  }
424
- .is-fullscreen-mode .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .interface-interface-skeleton__actions:focus-within {
427
+ .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
425
428
  top: 0;
426
429
  }
427
430
  }
@@ -413,15 +413,18 @@ body.is-fullscreen-mode .interface-interface-skeleton {
413
413
  }
414
414
  }
415
415
  .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
416
- top: 46px;
416
+ top: auto;
417
417
  bottom: 0;
418
418
  }
419
+ .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
420
+ top: 46px;
421
+ }
419
422
  @media (min-width: 782px) {
420
- .interface-interface-skeleton__actions:focus, .interface-interface-skeleton__actions:focus-within {
423
+ .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
421
424
  border-left: 1px solid #ddd;
422
425
  top: 32px;
423
426
  }
424
- .is-fullscreen-mode .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .interface-interface-skeleton__actions:focus-within {
427
+ .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus, .is-fullscreen-mode .is-entity-save-view-open .interface-interface-skeleton__actions:focus-within {
425
428
  top: 0;
426
429
  }
427
430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/interface",
3
- "version": "5.4.0",
3
+ "version": "5.5.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",
@@ -32,17 +32,17 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.16.0",
35
- "@wordpress/a11y": "^3.27.0",
36
- "@wordpress/components": "^23.4.0",
37
- "@wordpress/compose": "^6.4.0",
38
- "@wordpress/data": "^8.4.0",
39
- "@wordpress/deprecated": "^3.27.0",
40
- "@wordpress/element": "^5.4.0",
41
- "@wordpress/i18n": "^4.27.0",
42
- "@wordpress/icons": "^9.18.0",
43
- "@wordpress/plugins": "^5.4.0",
44
- "@wordpress/preferences": "^3.4.0",
45
- "@wordpress/viewport": "^5.4.0",
35
+ "@wordpress/a11y": "^3.28.0",
36
+ "@wordpress/components": "^23.5.0",
37
+ "@wordpress/compose": "^6.5.0",
38
+ "@wordpress/data": "^8.5.0",
39
+ "@wordpress/deprecated": "^3.28.0",
40
+ "@wordpress/element": "^5.5.0",
41
+ "@wordpress/i18n": "^4.28.0",
42
+ "@wordpress/icons": "^9.19.0",
43
+ "@wordpress/plugins": "^5.5.0",
44
+ "@wordpress/preferences": "^3.5.0",
45
+ "@wordpress/viewport": "^5.5.0",
46
46
  "classnames": "^2.3.1"
47
47
  },
48
48
  "peerDependencies": {
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "c25ff895413bad4354c55c0c2d732552618b0d56"
55
+ "gitHead": "d5e03a74b79e3ca84afda24375474a103a063ee4"
56
56
  }
@@ -184,16 +184,20 @@ html.interface-interface-skeleton__html-container {
184
184
 
185
185
  &:focus,
186
186
  &:focus-within {
187
- top: $admin-bar-height-big;
187
+ top: auto;
188
+ bottom: 0;
188
189
 
189
- @include break-medium() {
190
- border-left: $border-width solid $gray-300;
191
- top: $admin-bar-height;
190
+ .is-entity-save-view-open & {
191
+ top: $admin-bar-height-big;
192
192
 
193
- .is-fullscreen-mode & {
194
- top: 0;
193
+ @include break-medium() {
194
+ border-left: $border-width solid $gray-300;
195
+ top: $admin-bar-height;
196
+
197
+ .is-fullscreen-mode & {
198
+ top: 0;
199
+ }
195
200
  }
196
201
  }
197
- bottom: 0;
198
202
  }
199
203
  }