@wordpress/edit-site 6.45.1-next.v.202605131032.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 +4 -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,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// packages/edit-site/src/components/site-editor-routes/attachment-item.js
|
|
31
|
-
var attachment_item_exports = {};
|
|
32
|
-
__export(attachment_item_exports, {
|
|
33
|
-
attachmentItemRoute: () => attachmentItemRoute
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(attachment_item_exports);
|
|
36
|
-
var import_i18n = require("@wordpress/i18n");
|
|
37
|
-
var import_editor = __toESM(require("../editor/index.cjs"));
|
|
38
|
-
var import_sidebar_navigation_screen = __toESM(require("../sidebar-navigation-screen/index.cjs"));
|
|
39
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
40
|
-
var attachmentItemRoute = {
|
|
41
|
-
name: "attachment-item",
|
|
42
|
-
path: "/attachment/:postId",
|
|
43
|
-
areas: {
|
|
44
|
-
sidebar: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
45
|
-
import_sidebar_navigation_screen.default,
|
|
46
|
-
{
|
|
47
|
-
title: (0, import_i18n.__)("Media"),
|
|
48
|
-
backPath: "/",
|
|
49
|
-
content: null
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
mobile: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_editor.default, {}),
|
|
53
|
-
preview: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_editor.default, {})
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
-
0 && (module.exports = {
|
|
58
|
-
attachmentItemRoute
|
|
59
|
-
});
|
|
60
|
-
//# sourceMappingURL=attachment-item.cjs.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": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
-
};
|