@elementor/editor-app-bar 0.10.4 → 0.10.6
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 +16 -0
- package/dist/index.d.mts +152 -7
- package/dist/index.d.ts +152 -7
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.10.6](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.10.5...@elementor/editor-app-bar@0.10.6) (2024-04-04)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @elementor/editor-app-bar
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.10.5](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.10.4...@elementor/editor-app-bar@0.10.5) (2024-03-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @elementor/editor-app-bar
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [0.10.4](https://github.com/elementor/elementor-packages/compare/@elementor/editor-app-bar@0.10.3...@elementor/editor-app-bar@0.10.4) (2024-03-05)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @elementor/editor-app-bar
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _elementor_editor_app_bar_ui from '@elementor/editor-app-bar-ui';
|
|
2
1
|
export { __privateInjectIntoPageIndication as injectIntoPageIndication, __privateInjectIntoPrimaryAction as injectIntoPrimaryAction, __privateInjectIntoResponsive as injectIntoResponsive, __privateIntegrationsMenu as integrationsMenu, __privateMainMenu as mainMenu, __privateToolsMenu as toolsMenu, __privateUtilitiesMenu as utilitiesMenu } from '@elementor/editor-app-bar-ui';
|
|
3
2
|
import * as react from 'react';
|
|
4
3
|
|
|
@@ -9,10 +8,22 @@ declare const documentOptionsMenu: {
|
|
|
9
8
|
priority?: number | undefined;
|
|
10
9
|
overwrite?: boolean | undefined;
|
|
11
10
|
} & ({
|
|
12
|
-
props:
|
|
11
|
+
props: {
|
|
12
|
+
title: string;
|
|
13
|
+
onClick?: (() => void) | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
icon: react.ElementType;
|
|
16
|
+
visible?: boolean | undefined;
|
|
17
|
+
};
|
|
13
18
|
useProps?: undefined;
|
|
14
19
|
} | {
|
|
15
|
-
useProps: () =>
|
|
20
|
+
useProps: () => {
|
|
21
|
+
title: string;
|
|
22
|
+
onClick?: (() => void) | undefined;
|
|
23
|
+
disabled?: boolean | undefined;
|
|
24
|
+
icon: react.ElementType;
|
|
25
|
+
visible?: boolean | undefined;
|
|
26
|
+
};
|
|
16
27
|
props?: undefined;
|
|
17
28
|
})) => void;
|
|
18
29
|
registerToggleAction: (args: {
|
|
@@ -21,10 +32,26 @@ declare const documentOptionsMenu: {
|
|
|
21
32
|
priority?: number | undefined;
|
|
22
33
|
overwrite?: boolean | undefined;
|
|
23
34
|
} & ({
|
|
24
|
-
props:
|
|
35
|
+
props: {
|
|
36
|
+
title: string;
|
|
37
|
+
onClick?: (() => void) | undefined;
|
|
38
|
+
value?: string | undefined;
|
|
39
|
+
selected?: boolean | undefined;
|
|
40
|
+
disabled?: boolean | undefined;
|
|
41
|
+
icon: react.ElementType;
|
|
42
|
+
visible?: boolean | undefined;
|
|
43
|
+
};
|
|
25
44
|
useProps?: undefined;
|
|
26
45
|
} | {
|
|
27
|
-
useProps: () =>
|
|
46
|
+
useProps: () => {
|
|
47
|
+
title: string;
|
|
48
|
+
onClick?: (() => void) | undefined;
|
|
49
|
+
value?: string | undefined;
|
|
50
|
+
selected?: boolean | undefined;
|
|
51
|
+
disabled?: boolean | undefined;
|
|
52
|
+
icon: react.ElementType;
|
|
53
|
+
visible?: boolean | undefined;
|
|
54
|
+
};
|
|
28
55
|
props?: undefined;
|
|
29
56
|
})) => void;
|
|
30
57
|
registerLink: (args: {
|
|
@@ -33,12 +60,130 @@ declare const documentOptionsMenu: {
|
|
|
33
60
|
priority?: number | undefined;
|
|
34
61
|
overwrite?: boolean | undefined;
|
|
35
62
|
} & ({
|
|
36
|
-
props:
|
|
63
|
+
props: {
|
|
64
|
+
title: string;
|
|
65
|
+
target?: string | undefined;
|
|
66
|
+
href?: string | undefined;
|
|
67
|
+
icon: react.ElementType;
|
|
68
|
+
visible?: boolean | undefined;
|
|
69
|
+
};
|
|
37
70
|
useProps?: undefined;
|
|
38
71
|
} | {
|
|
39
|
-
useProps: () =>
|
|
72
|
+
useProps: () => {
|
|
73
|
+
title: string;
|
|
74
|
+
target?: string | undefined;
|
|
75
|
+
href?: string | undefined;
|
|
76
|
+
icon: react.ElementType;
|
|
77
|
+
visible?: boolean | undefined;
|
|
78
|
+
};
|
|
40
79
|
props?: undefined;
|
|
41
80
|
})) => void;
|
|
81
|
+
registerSubMenu: (args: {
|
|
82
|
+
id: string;
|
|
83
|
+
group?: "default" | undefined;
|
|
84
|
+
priority?: number | undefined;
|
|
85
|
+
overwrite?: boolean | undefined;
|
|
86
|
+
} & ({
|
|
87
|
+
props: {
|
|
88
|
+
title: string;
|
|
89
|
+
disabled?: boolean | undefined;
|
|
90
|
+
icon: react.ElementType;
|
|
91
|
+
visible?: boolean | undefined;
|
|
92
|
+
};
|
|
93
|
+
useProps?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
useProps: () => {
|
|
96
|
+
title: string;
|
|
97
|
+
disabled?: boolean | undefined;
|
|
98
|
+
icon: react.ElementType;
|
|
99
|
+
visible?: boolean | undefined;
|
|
100
|
+
};
|
|
101
|
+
props?: undefined;
|
|
102
|
+
})) => {
|
|
103
|
+
registerAction: (args: {
|
|
104
|
+
id: string;
|
|
105
|
+
group?: "default" | undefined;
|
|
106
|
+
priority?: number | undefined;
|
|
107
|
+
overwrite?: boolean | undefined;
|
|
108
|
+
} & ({
|
|
109
|
+
props: {
|
|
110
|
+
title: string;
|
|
111
|
+
onClick?: (() => void) | undefined;
|
|
112
|
+
disabled?: boolean | undefined;
|
|
113
|
+
icon: react.ElementType;
|
|
114
|
+
visible?: boolean | undefined;
|
|
115
|
+
};
|
|
116
|
+
useProps?: undefined;
|
|
117
|
+
} | {
|
|
118
|
+
useProps: () => {
|
|
119
|
+
title: string;
|
|
120
|
+
onClick?: (() => void) | undefined;
|
|
121
|
+
disabled?: boolean | undefined;
|
|
122
|
+
icon: react.ElementType;
|
|
123
|
+
visible?: boolean | undefined;
|
|
124
|
+
};
|
|
125
|
+
props?: undefined;
|
|
126
|
+
})) => void;
|
|
127
|
+
registerToggleAction: (args: {
|
|
128
|
+
id: string;
|
|
129
|
+
group?: "default" | undefined;
|
|
130
|
+
priority?: number | undefined;
|
|
131
|
+
overwrite?: boolean | undefined;
|
|
132
|
+
} & ({
|
|
133
|
+
props: {
|
|
134
|
+
title: string;
|
|
135
|
+
onClick?: (() => void) | undefined;
|
|
136
|
+
value?: string | undefined;
|
|
137
|
+
selected?: boolean | undefined;
|
|
138
|
+
disabled?: boolean | undefined;
|
|
139
|
+
icon: react.ElementType;
|
|
140
|
+
visible?: boolean | undefined;
|
|
141
|
+
};
|
|
142
|
+
useProps?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
useProps: () => {
|
|
145
|
+
title: string;
|
|
146
|
+
onClick?: (() => void) | undefined;
|
|
147
|
+
value?: string | undefined;
|
|
148
|
+
selected?: boolean | undefined;
|
|
149
|
+
disabled?: boolean | undefined;
|
|
150
|
+
icon: react.ElementType;
|
|
151
|
+
visible?: boolean | undefined;
|
|
152
|
+
};
|
|
153
|
+
props?: undefined;
|
|
154
|
+
})) => void;
|
|
155
|
+
registerLink: (args: {
|
|
156
|
+
id: string;
|
|
157
|
+
group?: "default" | undefined;
|
|
158
|
+
priority?: number | undefined;
|
|
159
|
+
overwrite?: boolean | undefined;
|
|
160
|
+
} & ({
|
|
161
|
+
props: {
|
|
162
|
+
title: string;
|
|
163
|
+
target?: string | undefined;
|
|
164
|
+
href?: string | undefined;
|
|
165
|
+
icon: react.ElementType;
|
|
166
|
+
visible?: boolean | undefined;
|
|
167
|
+
};
|
|
168
|
+
useProps?: undefined;
|
|
169
|
+
} | {
|
|
170
|
+
useProps: () => {
|
|
171
|
+
title: string;
|
|
172
|
+
target?: string | undefined;
|
|
173
|
+
href?: string | undefined;
|
|
174
|
+
icon: react.ElementType;
|
|
175
|
+
visible?: boolean | undefined;
|
|
176
|
+
};
|
|
177
|
+
props?: undefined;
|
|
178
|
+
})) => void;
|
|
179
|
+
registerSubMenu: any;
|
|
180
|
+
useMenuItems: () => {
|
|
181
|
+
default: {
|
|
182
|
+
id: string;
|
|
183
|
+
MenuItem: react.ElementType;
|
|
184
|
+
}[];
|
|
185
|
+
};
|
|
186
|
+
};
|
|
42
187
|
useMenuItems: () => {
|
|
43
188
|
default: {
|
|
44
189
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as _elementor_editor_app_bar_ui from '@elementor/editor-app-bar-ui';
|
|
2
1
|
export { __privateInjectIntoPageIndication as injectIntoPageIndication, __privateInjectIntoPrimaryAction as injectIntoPrimaryAction, __privateInjectIntoResponsive as injectIntoResponsive, __privateIntegrationsMenu as integrationsMenu, __privateMainMenu as mainMenu, __privateToolsMenu as toolsMenu, __privateUtilitiesMenu as utilitiesMenu } from '@elementor/editor-app-bar-ui';
|
|
3
2
|
import * as react from 'react';
|
|
4
3
|
|
|
@@ -9,10 +8,22 @@ declare const documentOptionsMenu: {
|
|
|
9
8
|
priority?: number | undefined;
|
|
10
9
|
overwrite?: boolean | undefined;
|
|
11
10
|
} & ({
|
|
12
|
-
props:
|
|
11
|
+
props: {
|
|
12
|
+
title: string;
|
|
13
|
+
onClick?: (() => void) | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
icon: react.ElementType;
|
|
16
|
+
visible?: boolean | undefined;
|
|
17
|
+
};
|
|
13
18
|
useProps?: undefined;
|
|
14
19
|
} | {
|
|
15
|
-
useProps: () =>
|
|
20
|
+
useProps: () => {
|
|
21
|
+
title: string;
|
|
22
|
+
onClick?: (() => void) | undefined;
|
|
23
|
+
disabled?: boolean | undefined;
|
|
24
|
+
icon: react.ElementType;
|
|
25
|
+
visible?: boolean | undefined;
|
|
26
|
+
};
|
|
16
27
|
props?: undefined;
|
|
17
28
|
})) => void;
|
|
18
29
|
registerToggleAction: (args: {
|
|
@@ -21,10 +32,26 @@ declare const documentOptionsMenu: {
|
|
|
21
32
|
priority?: number | undefined;
|
|
22
33
|
overwrite?: boolean | undefined;
|
|
23
34
|
} & ({
|
|
24
|
-
props:
|
|
35
|
+
props: {
|
|
36
|
+
title: string;
|
|
37
|
+
onClick?: (() => void) | undefined;
|
|
38
|
+
value?: string | undefined;
|
|
39
|
+
selected?: boolean | undefined;
|
|
40
|
+
disabled?: boolean | undefined;
|
|
41
|
+
icon: react.ElementType;
|
|
42
|
+
visible?: boolean | undefined;
|
|
43
|
+
};
|
|
25
44
|
useProps?: undefined;
|
|
26
45
|
} | {
|
|
27
|
-
useProps: () =>
|
|
46
|
+
useProps: () => {
|
|
47
|
+
title: string;
|
|
48
|
+
onClick?: (() => void) | undefined;
|
|
49
|
+
value?: string | undefined;
|
|
50
|
+
selected?: boolean | undefined;
|
|
51
|
+
disabled?: boolean | undefined;
|
|
52
|
+
icon: react.ElementType;
|
|
53
|
+
visible?: boolean | undefined;
|
|
54
|
+
};
|
|
28
55
|
props?: undefined;
|
|
29
56
|
})) => void;
|
|
30
57
|
registerLink: (args: {
|
|
@@ -33,12 +60,130 @@ declare const documentOptionsMenu: {
|
|
|
33
60
|
priority?: number | undefined;
|
|
34
61
|
overwrite?: boolean | undefined;
|
|
35
62
|
} & ({
|
|
36
|
-
props:
|
|
63
|
+
props: {
|
|
64
|
+
title: string;
|
|
65
|
+
target?: string | undefined;
|
|
66
|
+
href?: string | undefined;
|
|
67
|
+
icon: react.ElementType;
|
|
68
|
+
visible?: boolean | undefined;
|
|
69
|
+
};
|
|
37
70
|
useProps?: undefined;
|
|
38
71
|
} | {
|
|
39
|
-
useProps: () =>
|
|
72
|
+
useProps: () => {
|
|
73
|
+
title: string;
|
|
74
|
+
target?: string | undefined;
|
|
75
|
+
href?: string | undefined;
|
|
76
|
+
icon: react.ElementType;
|
|
77
|
+
visible?: boolean | undefined;
|
|
78
|
+
};
|
|
40
79
|
props?: undefined;
|
|
41
80
|
})) => void;
|
|
81
|
+
registerSubMenu: (args: {
|
|
82
|
+
id: string;
|
|
83
|
+
group?: "default" | undefined;
|
|
84
|
+
priority?: number | undefined;
|
|
85
|
+
overwrite?: boolean | undefined;
|
|
86
|
+
} & ({
|
|
87
|
+
props: {
|
|
88
|
+
title: string;
|
|
89
|
+
disabled?: boolean | undefined;
|
|
90
|
+
icon: react.ElementType;
|
|
91
|
+
visible?: boolean | undefined;
|
|
92
|
+
};
|
|
93
|
+
useProps?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
useProps: () => {
|
|
96
|
+
title: string;
|
|
97
|
+
disabled?: boolean | undefined;
|
|
98
|
+
icon: react.ElementType;
|
|
99
|
+
visible?: boolean | undefined;
|
|
100
|
+
};
|
|
101
|
+
props?: undefined;
|
|
102
|
+
})) => {
|
|
103
|
+
registerAction: (args: {
|
|
104
|
+
id: string;
|
|
105
|
+
group?: "default" | undefined;
|
|
106
|
+
priority?: number | undefined;
|
|
107
|
+
overwrite?: boolean | undefined;
|
|
108
|
+
} & ({
|
|
109
|
+
props: {
|
|
110
|
+
title: string;
|
|
111
|
+
onClick?: (() => void) | undefined;
|
|
112
|
+
disabled?: boolean | undefined;
|
|
113
|
+
icon: react.ElementType;
|
|
114
|
+
visible?: boolean | undefined;
|
|
115
|
+
};
|
|
116
|
+
useProps?: undefined;
|
|
117
|
+
} | {
|
|
118
|
+
useProps: () => {
|
|
119
|
+
title: string;
|
|
120
|
+
onClick?: (() => void) | undefined;
|
|
121
|
+
disabled?: boolean | undefined;
|
|
122
|
+
icon: react.ElementType;
|
|
123
|
+
visible?: boolean | undefined;
|
|
124
|
+
};
|
|
125
|
+
props?: undefined;
|
|
126
|
+
})) => void;
|
|
127
|
+
registerToggleAction: (args: {
|
|
128
|
+
id: string;
|
|
129
|
+
group?: "default" | undefined;
|
|
130
|
+
priority?: number | undefined;
|
|
131
|
+
overwrite?: boolean | undefined;
|
|
132
|
+
} & ({
|
|
133
|
+
props: {
|
|
134
|
+
title: string;
|
|
135
|
+
onClick?: (() => void) | undefined;
|
|
136
|
+
value?: string | undefined;
|
|
137
|
+
selected?: boolean | undefined;
|
|
138
|
+
disabled?: boolean | undefined;
|
|
139
|
+
icon: react.ElementType;
|
|
140
|
+
visible?: boolean | undefined;
|
|
141
|
+
};
|
|
142
|
+
useProps?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
useProps: () => {
|
|
145
|
+
title: string;
|
|
146
|
+
onClick?: (() => void) | undefined;
|
|
147
|
+
value?: string | undefined;
|
|
148
|
+
selected?: boolean | undefined;
|
|
149
|
+
disabled?: boolean | undefined;
|
|
150
|
+
icon: react.ElementType;
|
|
151
|
+
visible?: boolean | undefined;
|
|
152
|
+
};
|
|
153
|
+
props?: undefined;
|
|
154
|
+
})) => void;
|
|
155
|
+
registerLink: (args: {
|
|
156
|
+
id: string;
|
|
157
|
+
group?: "default" | undefined;
|
|
158
|
+
priority?: number | undefined;
|
|
159
|
+
overwrite?: boolean | undefined;
|
|
160
|
+
} & ({
|
|
161
|
+
props: {
|
|
162
|
+
title: string;
|
|
163
|
+
target?: string | undefined;
|
|
164
|
+
href?: string | undefined;
|
|
165
|
+
icon: react.ElementType;
|
|
166
|
+
visible?: boolean | undefined;
|
|
167
|
+
};
|
|
168
|
+
useProps?: undefined;
|
|
169
|
+
} | {
|
|
170
|
+
useProps: () => {
|
|
171
|
+
title: string;
|
|
172
|
+
target?: string | undefined;
|
|
173
|
+
href?: string | undefined;
|
|
174
|
+
icon: react.ElementType;
|
|
175
|
+
visible?: boolean | undefined;
|
|
176
|
+
};
|
|
177
|
+
props?: undefined;
|
|
178
|
+
})) => void;
|
|
179
|
+
registerSubMenu: any;
|
|
180
|
+
useMenuItems: () => {
|
|
181
|
+
default: {
|
|
182
|
+
id: string;
|
|
183
|
+
MenuItem: react.ElementType;
|
|
184
|
+
}[];
|
|
185
|
+
};
|
|
186
|
+
};
|
|
42
187
|
useMenuItems: () => {
|
|
43
188
|
default: {
|
|
44
189
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-app-bar",
|
|
3
3
|
"description": "App Bar extension for @elementor/editor",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.6",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Elementor Team",
|
|
7
7
|
"homepage": "https://elementor.com/",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@elementor/editor": "^0.10.8",
|
|
37
|
-
"@elementor/editor-app-bar-ui": "^0.
|
|
37
|
+
"@elementor/editor-app-bar-ui": "^0.2.0",
|
|
38
38
|
"@elementor/editor-documents": "^0.10.3",
|
|
39
39
|
"@elementor/editor-v1-adapters": "^0.6.0",
|
|
40
40
|
"@elementor/icons": "^0.7.3",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"react": "18.x"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "6a433fffadbae6a8483d349544f927736f1feba3"
|
|
48
48
|
}
|