@wordpress/lazy-editor 1.7.0 → 1.7.1-next.v.202603102151.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/build/index.cjs +5 -2
- package/build/index.cjs.map +2 -2
- package/build-module/index.mjs +3 -1
- package/build-module/index.mjs.map +2 -2
- package/build-types/index.d.ts +1 -0
- package/build-types/index.d.ts.map +1 -1
- package/package.json +14 -14
- package/src/index.tsx +1 -0
package/build/index.cjs
CHANGED
|
@@ -23,17 +23,20 @@ __export(index_exports, {
|
|
|
23
23
|
Editor: () => import_editor.Editor,
|
|
24
24
|
Preview: () => import_preview.Preview,
|
|
25
25
|
loadEditorAssets: () => import_use_editor_assets.loadEditorAssets,
|
|
26
|
-
useEditorAssets: () => import_use_editor_assets.useEditorAssets
|
|
26
|
+
useEditorAssets: () => import_use_editor_assets.useEditorAssets,
|
|
27
|
+
useEditorSettings: () => import_use_editor_settings.useEditorSettings
|
|
27
28
|
});
|
|
28
29
|
module.exports = __toCommonJS(index_exports);
|
|
29
30
|
var import_editor = require("./components/editor/index.cjs");
|
|
30
31
|
var import_preview = require("./components/preview/index.cjs");
|
|
31
32
|
var import_use_editor_assets = require("./hooks/use-editor-assets.cjs");
|
|
33
|
+
var import_use_editor_settings = require("./hooks/use-editor-settings.cjs");
|
|
32
34
|
// Annotate the CommonJS export names for ESM import in node:
|
|
33
35
|
0 && (module.exports = {
|
|
34
36
|
Editor,
|
|
35
37
|
Preview,
|
|
36
38
|
loadEditorAssets,
|
|
37
|
-
useEditorAssets
|
|
39
|
+
useEditorAssets,
|
|
40
|
+
useEditorSettings
|
|
38
41
|
});
|
|
39
42
|
//# sourceMappingURL=index.cjs.map
|
package/build/index.cjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * Internal dependencies\n */\nexport { Editor } from './components/editor';\nexport { Preview } from './components/preview';\nexport { useEditorAssets, loadEditorAssets } from './hooks/use-editor-assets';\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AACvB,qBAAwB;AACxB,+BAAkD;",
|
|
4
|
+
"sourcesContent": ["/**\n * Internal dependencies\n */\nexport { Editor } from './components/editor';\nexport { Preview } from './components/preview';\nexport { useEditorAssets, loadEditorAssets } from './hooks/use-editor-assets';\nexport { useEditorSettings } from './hooks/use-editor-settings';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,oBAAuB;AACvB,qBAAwB;AACxB,+BAAkD;AAClD,iCAAkC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build-module/index.mjs
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
import { Editor } from "./components/editor/index.mjs";
|
|
3
3
|
import { Preview } from "./components/preview/index.mjs";
|
|
4
4
|
import { useEditorAssets, loadEditorAssets } from "./hooks/use-editor-assets.mjs";
|
|
5
|
+
import { useEditorSettings } from "./hooks/use-editor-settings.mjs";
|
|
5
6
|
export {
|
|
6
7
|
Editor,
|
|
7
8
|
Preview,
|
|
8
9
|
loadEditorAssets,
|
|
9
|
-
useEditorAssets
|
|
10
|
+
useEditorAssets,
|
|
11
|
+
useEditorSettings
|
|
10
12
|
};
|
|
11
13
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * Internal dependencies\n */\nexport { Editor } from './components/editor';\nexport { Preview } from './components/preview';\nexport { useEditorAssets, loadEditorAssets } from './hooks/use-editor-assets';\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,cAAc;AACvB,SAAS,eAAe;AACxB,SAAS,iBAAiB,wBAAwB;",
|
|
4
|
+
"sourcesContent": ["/**\n * Internal dependencies\n */\nexport { Editor } from './components/editor';\nexport { Preview } from './components/preview';\nexport { useEditorAssets, loadEditorAssets } from './hooks/use-editor-assets';\nexport { useEditorSettings } from './hooks/use-editor-settings';\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,cAAc;AACvB,SAAS,eAAe;AACxB,SAAS,iBAAiB,wBAAwB;AAClD,SAAS,yBAAyB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build-types/index.d.ts
CHANGED
|
@@ -4,4 +4,5 @@
|
|
|
4
4
|
export { Editor } from './components/editor';
|
|
5
5
|
export { Preview } from './components/preview';
|
|
6
6
|
export { useEditorAssets, loadEditorAssets } from './hooks/use-editor-assets';
|
|
7
|
+
export { useEditorSettings } from './hooks/use-editor-settings';
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/lazy-editor",
|
|
3
|
-
"version": "1.7.0",
|
|
3
|
+
"version": "1.7.1-next.v.202603102151.0+59e17f9ec",
|
|
4
4
|
"description": "Lazy-loading editor component with automatic asset and settings management.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -45,21 +45,21 @@
|
|
|
45
45
|
"wpScriptModuleExports": "./build-module/index.mjs",
|
|
46
46
|
"types": "build-types",
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@wordpress/asset-loader": "^1.7.0",
|
|
49
|
-
"@wordpress/base-styles": "^6.17.0",
|
|
50
|
-
"@wordpress/block-editor": "^15.14.0",
|
|
51
|
-
"@wordpress/blocks": "^15.14.0",
|
|
52
|
-
"@wordpress/components": "^32.
|
|
53
|
-
"@wordpress/core-data": "^7.41.0",
|
|
54
|
-
"@wordpress/data": "^10.41.0",
|
|
55
|
-
"@wordpress/editor": "^14.41.0",
|
|
56
|
-
"@wordpress/element": "^6.41.0",
|
|
57
|
-
"@wordpress/global-styles-engine": "^1.8.0",
|
|
58
|
-
"@wordpress/i18n": "^6.14.0",
|
|
59
|
-
"@wordpress/private-apis": "^1.41.0"
|
|
48
|
+
"@wordpress/asset-loader": "^1.7.1-next.v.202603102151.0+59e17f9ec",
|
|
49
|
+
"@wordpress/base-styles": "^6.17.1-next.v.202603102151.0+59e17f9ec",
|
|
50
|
+
"@wordpress/block-editor": "^15.14.1-next.v.202603102151.0+59e17f9ec",
|
|
51
|
+
"@wordpress/blocks": "^15.14.1-next.v.202603102151.0+59e17f9ec",
|
|
52
|
+
"@wordpress/components": "^32.4.1-next.v.202603102151.0+59e17f9ec",
|
|
53
|
+
"@wordpress/core-data": "^7.41.2-next.v.202603102151.0+59e17f9ec",
|
|
54
|
+
"@wordpress/data": "^10.41.1-next.v.202603102151.0+59e17f9ec",
|
|
55
|
+
"@wordpress/editor": "^14.41.1-next.v.202603102151.0+59e17f9ec",
|
|
56
|
+
"@wordpress/element": "^6.41.1-next.v.202603102151.0+59e17f9ec",
|
|
57
|
+
"@wordpress/global-styles-engine": "^1.8.1-next.v.202603102151.0+59e17f9ec",
|
|
58
|
+
"@wordpress/i18n": "^6.14.1-next.v.202603102151.0+59e17f9ec",
|
|
59
|
+
"@wordpress/private-apis": "^1.41.1-next.v.202603102151.0+59e17f9ec"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "86db21e727d89e8f0dbba9300d2f97fd22b08693"
|
|
65
65
|
}
|
package/src/index.tsx
CHANGED