@wordpress/boot 0.2.1-next.dc3f6d3c1.0 → 0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/boot",
3
- "version": "0.2.1-next.dc3f6d3c1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Minimal boot package for WordPress admin pages.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -34,25 +34,25 @@
34
34
  "wpScriptModuleExports": "./build-module/index.js",
35
35
  "types": "build-types",
36
36
  "dependencies": {
37
- "@wordpress/admin-ui": "^1.3.1-next.dc3f6d3c1.0",
38
- "@wordpress/commands": "^1.35.1-next.dc3f6d3c1.0",
39
- "@wordpress/components": "^30.8.2-next.dc3f6d3c1.0",
40
- "@wordpress/compose": "^7.35.1-next.dc3f6d3c1.0",
41
- "@wordpress/core-data": "^7.35.1-next.dc3f6d3c1.0",
42
- "@wordpress/data": "^10.35.1-next.dc3f6d3c1.0",
43
- "@wordpress/editor": "^14.35.2-next.dc3f6d3c1.0",
44
- "@wordpress/element": "^6.35.1-next.dc3f6d3c1.0",
45
- "@wordpress/html-entities": "^4.35.1-next.dc3f6d3c1.0",
46
- "@wordpress/i18n": "^6.8.1-next.dc3f6d3c1.0",
47
- "@wordpress/icons": "^11.2.1-next.dc3f6d3c1.0",
48
- "@wordpress/keyboard-shortcuts": "^5.35.1-next.dc3f6d3c1.0",
49
- "@wordpress/keycodes": "^4.35.1-next.dc3f6d3c1.0",
50
- "@wordpress/lazy-editor": "^1.1.1-next.dc3f6d3c1.0",
51
- "@wordpress/primitives": "^4.35.1-next.dc3f6d3c1.0",
52
- "@wordpress/private-apis": "^1.35.1-next.dc3f6d3c1.0",
53
- "@wordpress/route": "^0.1.1-next.dc3f6d3c1.0",
54
- "@wordpress/theme": "^0.2.1-next.dc3f6d3c1.0",
55
- "@wordpress/url": "^4.35.1-next.dc3f6d3c1.0",
37
+ "@wordpress/admin-ui": "^1.4.0",
38
+ "@wordpress/commands": "^1.36.0",
39
+ "@wordpress/components": "^30.9.0",
40
+ "@wordpress/compose": "^7.36.0",
41
+ "@wordpress/core-data": "^7.36.0",
42
+ "@wordpress/data": "^10.36.0",
43
+ "@wordpress/editor": "^14.36.0",
44
+ "@wordpress/element": "^6.36.0",
45
+ "@wordpress/html-entities": "^4.36.0",
46
+ "@wordpress/i18n": "^6.9.0",
47
+ "@wordpress/icons": "^11.3.0",
48
+ "@wordpress/keyboard-shortcuts": "^5.36.0",
49
+ "@wordpress/keycodes": "^4.36.0",
50
+ "@wordpress/lazy-editor": "^1.2.0",
51
+ "@wordpress/primitives": "^4.36.0",
52
+ "@wordpress/private-apis": "^1.36.0",
53
+ "@wordpress/route": "^0.2.0",
54
+ "@wordpress/theme": "^0.3.0",
55
+ "@wordpress/url": "^4.36.0",
56
56
  "clsx": "^2.1.1"
57
57
  },
58
58
  "peerDependencies": {
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "f73b5e69b34fbaccfb8c47783f4f993059ff1a41"
65
+ "gitHead": "b35cf1a2dce04665e99fd6b9c2891c0b336361b9"
66
66
  }
@@ -10,6 +10,7 @@ import { privateApis as routePrivateApis } from '@wordpress/route';
10
10
  // @ts-expect-error Commands is not typed properly.
11
11
  import { CommandMenu } from '@wordpress/commands';
12
12
  import { privateApis as themePrivateApis } from '@wordpress/theme';
13
+ import { EditorSnackbars } from '@wordpress/editor';
13
14
 
14
15
  /**
15
16
  * Internal dependencies
@@ -43,6 +44,7 @@ export default function Root() {
43
44
  >
44
45
  <CommandMenu />
45
46
  <SavePanel />
47
+ <EditorSnackbars />
46
48
  { ! isFullScreen && (
47
49
  <div className="boot-layout__sidebar">
48
50
  <Sidebar />
@@ -10,6 +10,7 @@ import { privateApis as routePrivateApis } from '@wordpress/route';
10
10
  // @ts-expect-error Commands is not typed properly.
11
11
  import { CommandMenu } from '@wordpress/commands';
12
12
  import { privateApis as themePrivateApis } from '@wordpress/theme';
13
+ import { EditorSnackbars } from '@wordpress/editor';
13
14
 
14
15
  /**
15
16
  * Internal dependencies
@@ -46,6 +47,7 @@ export default function RootSinglePage() {
46
47
  >
47
48
  <CommandMenu />
48
49
  <SavePanel />
50
+ <EditorSnackbars />
49
51
  <div className="boot-layout__surfaces">
50
52
  <ThemeProvider
51
53
  color={ { bg: '#ffffff', primary: '#3858e9' } }
package/src/style.scss CHANGED
@@ -43,3 +43,11 @@ body:has(.boot-layout.has-full-canvas) {
43
43
  }
44
44
  }
45
45
  }
46
+
47
+ .boot-layout .components-editor-notices__snackbar {
48
+ position: fixed;
49
+ right: 0;
50
+ bottom: 16px;
51
+ padding-left: 16px;
52
+ padding-right: 16px;
53
+ }