@wordpress/edit-site 6.46.0 → 6.47.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 +2 -0
- package/build/components/add-new-template/index.cjs.map +3 -3
- package/build/components/add-new-template-legacy/index.cjs.map +3 -3
- package/build/components/editor/index.cjs +16 -5
- package/build/components/editor/index.cjs.map +2 -2
- package/build/components/editor/use-resolve-edited-entity.cjs +0 -2
- package/build/components/editor/use-resolve-edited-entity.cjs.map +2 -2
- package/build/components/layout/index.cjs +8 -4
- package/build/components/layout/index.cjs.map +2 -2
- package/build/components/page-templates/fields.cjs.map +3 -3
- package/build/components/resizable-frame/index.cjs +34 -25
- package/build/components/resizable-frame/index.cjs.map +2 -2
- package/build/components/site-editor-routes/index.cjs +0 -2
- package/build/components/site-editor-routes/index.cjs.map +2 -2
- package/build/components/site-hub/index.cjs +8 -1
- package/build/components/site-hub/index.cjs.map +2 -2
- package/build/components/site-icon/index.cjs.map +3 -3
- package/build-module/components/add-new-template/index.mjs +2 -2
- package/build-module/components/add-new-template/index.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/index.mjs +2 -2
- package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
- package/build-module/components/editor/index.mjs +18 -7
- package/build-module/components/editor/index.mjs.map +2 -2
- package/build-module/components/editor/use-resolve-edited-entity.mjs +0 -2
- package/build-module/components/editor/use-resolve-edited-entity.mjs.map +2 -2
- package/build-module/components/layout/index.mjs +8 -4
- package/build-module/components/layout/index.mjs.map +2 -2
- package/build-module/components/page-templates/fields.mjs +2 -2
- package/build-module/components/page-templates/fields.mjs.map +2 -2
- package/build-module/components/resizable-frame/index.mjs +34 -26
- package/build-module/components/resizable-frame/index.mjs.map +2 -2
- package/build-module/components/site-editor-routes/index.mjs +0 -2
- package/build-module/components/site-editor-routes/index.mjs.map +2 -2
- package/build-module/components/site-hub/index.mjs +10 -3
- package/build-module/components/site-hub/index.mjs.map +2 -2
- package/build-module/components/site-icon/index.mjs +2 -2
- package/build-module/components/site-icon/index.mjs.map +2 -2
- package/build-style/experimental-admin-bar-in-editor-rtl.css +56 -0
- package/build-style/experimental-admin-bar-in-editor.css +56 -0
- package/build-style/style-rtl.css +457 -381
- package/build-style/style.css +457 -381
- package/package.json +49 -49
- package/src/components/add-new-template/index.js +2 -2
- package/src/components/add-new-template-legacy/index.js +2 -2
- package/src/components/editor/index.js +45 -17
- package/src/components/editor/use-resolve-edited-entity.js +0 -2
- package/src/components/layout/index.js +26 -15
- package/src/components/page-templates/fields.js +2 -2
- package/src/components/resizable-frame/index.js +38 -28
- package/src/components/site-editor-routes/index.js +0 -2
- package/src/components/site-hub/index.js +13 -3
- package/src/components/site-icon/index.js +2 -2
- package/src/experimental-admin-bar-in-editor.scss +71 -0
- package/src/style.scss +2 -0
- package/build/components/site-editor-routes/attachment-item.cjs +0 -60
- package/build/components/site-editor-routes/attachment-item.cjs.map +0 -7
- package/build-module/components/site-editor-routes/attachment-item.mjs +0 -25
- package/build-module/components/site-editor-routes/attachment-item.mjs.map +0 -7
- package/src/components/site-editor-routes/attachment-item.js +0 -27
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/site-editor-routes/attachment-item.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport Editor from '../editor';\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\n\nexport const attachmentItemRoute = {\n\tname: 'attachment-item',\n\tpath: '/attachment/:postId',\n\tareas: {\n\t\tsidebar: (\n\t\t\t<SidebarNavigationScreen\n\t\t\t\ttitle={ __( 'Media' ) }\n\t\t\t\tbackPath=\"/\"\n\t\t\t\t// Empty content - no sidebar list needed for attachments\n\t\t\t\tcontent={ null }\n\t\t\t/>\n\t\t),\n\t\tmobile: <Editor />,\n\t\tpreview: <Editor />,\n\t},\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAmB;AAKnB,oBAAmB;AACnB,uCAAoC;AAOjC;AALI,IAAM,sBAAsB;AAAA,EAClC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,SACC;AAAA,MAAC,iCAAAA;AAAA,MAAA;AAAA,QACA,WAAQ,gBAAI,OAAQ;AAAA,QACpB,UAAS;AAAA,QAET,SAAU;AAAA;AAAA,IACX;AAAA,IAED,QAAQ,4CAAC,cAAAC,SAAA,EAAO;AAAA,IAChB,SAAS,4CAAC,cAAAA,SAAA,EAAO;AAAA,EAClB;AACD;",
|
|
6
|
-
"names": ["SidebarNavigationScreen", "Editor"]
|
|
7
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// packages/edit-site/src/components/site-editor-routes/attachment-item.js
|
|
2
|
-
import { __ } from "@wordpress/i18n";
|
|
3
|
-
import Editor from "../editor/index.mjs";
|
|
4
|
-
import SidebarNavigationScreen from "../sidebar-navigation-screen/index.mjs";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
var attachmentItemRoute = {
|
|
7
|
-
name: "attachment-item",
|
|
8
|
-
path: "/attachment/:postId",
|
|
9
|
-
areas: {
|
|
10
|
-
sidebar: /* @__PURE__ */ jsx(
|
|
11
|
-
SidebarNavigationScreen,
|
|
12
|
-
{
|
|
13
|
-
title: __("Media"),
|
|
14
|
-
backPath: "/",
|
|
15
|
-
content: null
|
|
16
|
-
}
|
|
17
|
-
),
|
|
18
|
-
mobile: /* @__PURE__ */ jsx(Editor, {}),
|
|
19
|
-
preview: /* @__PURE__ */ jsx(Editor, {})
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
attachmentItemRoute
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=attachment-item.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/components/site-editor-routes/attachment-item.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\n/**\n * Internal dependencies\n */\nimport Editor from '../editor';\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\n\nexport const attachmentItemRoute = {\n\tname: 'attachment-item',\n\tpath: '/attachment/:postId',\n\tareas: {\n\t\tsidebar: (\n\t\t\t<SidebarNavigationScreen\n\t\t\t\ttitle={ __( 'Media' ) }\n\t\t\t\tbackPath=\"/\"\n\t\t\t\t// Empty content - no sidebar list needed for attachments\n\t\t\t\tcontent={ null }\n\t\t\t/>\n\t\t),\n\t\tmobile: <Editor />,\n\t\tpreview: <Editor />,\n\t},\n};\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,UAAU;AAKnB,OAAO,YAAY;AACnB,OAAO,6BAA6B;AAOjC;AALI,IAAM,sBAAsB;AAAA,EAClC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,SACC;AAAA,MAAC;AAAA;AAAA,QACA,OAAQ,GAAI,OAAQ;AAAA,QACpB,UAAS;AAAA,QAET,SAAU;AAAA;AAAA,IACX;AAAA,IAED,QAAQ,oBAAC,UAAO;AAAA,IAChB,SAAS,oBAAC,UAAO;AAAA,EAClB;AACD;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* WordPress dependencies
|
|
3
|
-
*/
|
|
4
|
-
import { __ } from '@wordpress/i18n';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Internal dependencies
|
|
8
|
-
*/
|
|
9
|
-
import Editor from '../editor';
|
|
10
|
-
import SidebarNavigationScreen from '../sidebar-navigation-screen';
|
|
11
|
-
|
|
12
|
-
export const attachmentItemRoute = {
|
|
13
|
-
name: 'attachment-item',
|
|
14
|
-
path: '/attachment/:postId',
|
|
15
|
-
areas: {
|
|
16
|
-
sidebar: (
|
|
17
|
-
<SidebarNavigationScreen
|
|
18
|
-
title={ __( 'Media' ) }
|
|
19
|
-
backPath="/"
|
|
20
|
-
// Empty content - no sidebar list needed for attachments
|
|
21
|
-
content={ null }
|
|
22
|
-
/>
|
|
23
|
-
),
|
|
24
|
-
mobile: <Editor />,
|
|
25
|
-
preview: <Editor />,
|
|
26
|
-
},
|
|
27
|
-
};
|