@elementor/editor-site-navigation 4.3.0-1023 → 4.3.0-1033
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/dist/index.js +2 -2
- package/dist/index.mjs +4 -4
- package/package.json +8 -8
- package/src/components/panel/panel.ts +2 -2
- package/src/init.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1085,7 +1085,7 @@ var Shell = () => {
|
|
|
1085
1085
|
var shell_default = Shell;
|
|
1086
1086
|
|
|
1087
1087
|
// src/components/panel/panel.ts
|
|
1088
|
-
var { panel, usePanelStatus, usePanelActions } = (0, import_editor_panels2.
|
|
1088
|
+
var { panel, usePanelStatus, usePanelActions } = (0, import_editor_panels2.createPanel)({
|
|
1089
1089
|
id: "site-navigation-panel",
|
|
1090
1090
|
component: shell_default
|
|
1091
1091
|
});
|
|
@@ -1368,7 +1368,7 @@ function useToggleButtonProps() {
|
|
|
1368
1368
|
function init() {
|
|
1369
1369
|
registerTopBarMenuItems();
|
|
1370
1370
|
if (env.is_pages_panel_active) {
|
|
1371
|
-
(0, import_editor_panels3.
|
|
1371
|
+
(0, import_editor_panels3.registerPanel)(panel);
|
|
1372
1372
|
registerButton();
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -23,10 +23,10 @@ function getIconsMap() {
|
|
|
23
23
|
|
|
24
24
|
// src/init.ts
|
|
25
25
|
import { injectIntoPageIndication, toolsMenu } from "@elementor/editor-app-bar";
|
|
26
|
-
import {
|
|
26
|
+
import { registerPanel } from "@elementor/editor-panels";
|
|
27
27
|
|
|
28
28
|
// src/components/panel/panel.ts
|
|
29
|
-
import {
|
|
29
|
+
import { createPanel } from "@elementor/editor-panels";
|
|
30
30
|
|
|
31
31
|
// src/components/panel/shell.tsx
|
|
32
32
|
import * as React20 from "react";
|
|
@@ -1087,7 +1087,7 @@ var Shell = () => {
|
|
|
1087
1087
|
var shell_default = Shell;
|
|
1088
1088
|
|
|
1089
1089
|
// src/components/panel/panel.ts
|
|
1090
|
-
var { panel, usePanelStatus, usePanelActions } =
|
|
1090
|
+
var { panel, usePanelStatus, usePanelActions } = createPanel({
|
|
1091
1091
|
id: "site-navigation-panel",
|
|
1092
1092
|
component: shell_default
|
|
1093
1093
|
});
|
|
@@ -1383,7 +1383,7 @@ function useToggleButtonProps() {
|
|
|
1383
1383
|
function init() {
|
|
1384
1384
|
registerTopBarMenuItems();
|
|
1385
1385
|
if (env.is_pages_panel_active) {
|
|
1386
|
-
|
|
1386
|
+
registerPanel(panel);
|
|
1387
1387
|
registerButton();
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-site-navigation",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-1033",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elementor/editor-app-bar": "4.3.0-
|
|
43
|
-
"@elementor/editor-documents": "4.3.0-
|
|
44
|
-
"@elementor/editor-panels": "4.3.0-
|
|
45
|
-
"@elementor/editor-v1-adapters": "4.3.0-
|
|
46
|
-
"@elementor/env": "4.3.0-
|
|
42
|
+
"@elementor/editor-app-bar": "4.3.0-1033",
|
|
43
|
+
"@elementor/editor-documents": "4.3.0-1033",
|
|
44
|
+
"@elementor/editor-panels": "4.3.0-1033",
|
|
45
|
+
"@elementor/editor-v1-adapters": "4.3.0-1033",
|
|
46
|
+
"@elementor/env": "4.3.0-1033",
|
|
47
47
|
"@elementor/icons": "~1.75.1",
|
|
48
|
-
"@elementor/events": "4.3.0-
|
|
49
|
-
"@elementor/query": "4.3.0-
|
|
48
|
+
"@elementor/events": "4.3.0-1033",
|
|
49
|
+
"@elementor/query": "4.3.0-1033",
|
|
50
50
|
"@elementor/ui": "1.37.5",
|
|
51
51
|
"@wordpress/api-fetch": "^6.42.0",
|
|
52
52
|
"@wordpress/i18n": "^5.13.0"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { createPanel } from '@elementor/editor-panels';
|
|
2
2
|
|
|
3
3
|
import Shell from './shell';
|
|
4
4
|
|
|
5
|
-
export const { panel, usePanelStatus, usePanelActions } =
|
|
5
|
+
export const { panel, usePanelStatus, usePanelActions } = createPanel( {
|
|
6
6
|
id: 'site-navigation-panel',
|
|
7
7
|
component: Shell,
|
|
8
8
|
} );
|
package/src/init.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { injectIntoPageIndication, toolsMenu } from '@elementor/editor-app-bar';
|
|
2
|
-
import {
|
|
2
|
+
import { registerPanel } from '@elementor/editor-panels';
|
|
3
3
|
|
|
4
4
|
import { panel } from './components/panel/panel';
|
|
5
5
|
import RecentlyEdited from './components/top-bar/recently-edited';
|
|
@@ -10,7 +10,7 @@ export function init() {
|
|
|
10
10
|
registerTopBarMenuItems();
|
|
11
11
|
// TODO 06/06/2023 : remove if when we are production ready
|
|
12
12
|
if ( env.is_pages_panel_active ) {
|
|
13
|
-
|
|
13
|
+
registerPanel( panel );
|
|
14
14
|
registerButton();
|
|
15
15
|
}
|
|
16
16
|
}
|