@elementor/editor-editing-panel 1.8.1 → 1.9.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 +42 -0
- package/dist/index.d.mts +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +392 -369
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +378 -358
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -11
- package/src/components/css-class-menu.tsx +2 -2
- package/src/components/css-class-selector.tsx +13 -5
- package/src/components/editable-field.tsx +10 -2
- package/src/components/style-sections/layout-section/flex-size-field.tsx +3 -2
- package/src/components/style-tab.tsx +2 -2
- package/src/contexts/css-class-item-context.tsx +2 -2
- package/src/contexts/style-context.tsx +3 -3
- package/src/controls-registry/settings-field.tsx +2 -2
- package/src/css-classes.ts +2 -2
- package/src/hooks/use-styles-fields.ts +18 -8
- package/src/hooks/use-unapply-class.ts +3 -3
- package/src/index.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e3c4a37: Update the order of background repeater image controls.
|
|
8
|
+
- 99fccc1: Updated icons in background repeater image overlay size control and elementor-icons version
|
|
9
|
+
- 005d737: Register new css class manager panel.
|
|
10
|
+
- 7b499aa: Add Background Position control.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- cfbd198: Update `@elementor/ui` version
|
|
15
|
+
- a13a209: Refactor editor-elements to not use the commands
|
|
16
|
+
- c9de3e2: Prevent `EditableField` blur on click in edit mode.
|
|
17
|
+
- Updated dependencies [b8b2053]
|
|
18
|
+
- Updated dependencies [d90521a]
|
|
19
|
+
- Updated dependencies [a2f5096]
|
|
20
|
+
- Updated dependencies [51a5ab9]
|
|
21
|
+
- Updated dependencies [27f5860]
|
|
22
|
+
- Updated dependencies [e3c4a37]
|
|
23
|
+
- Updated dependencies [aa5ab2b]
|
|
24
|
+
- Updated dependencies [f691712]
|
|
25
|
+
- Updated dependencies [cfbd198]
|
|
26
|
+
- Updated dependencies [f1a2ffb]
|
|
27
|
+
- Updated dependencies [a13a209]
|
|
28
|
+
- Updated dependencies [4d1fd00]
|
|
29
|
+
- Updated dependencies [1bec508]
|
|
30
|
+
- Updated dependencies [99fccc1]
|
|
31
|
+
- Updated dependencies [5829b05]
|
|
32
|
+
- Updated dependencies [554a6ce]
|
|
33
|
+
- Updated dependencies [f25fc07]
|
|
34
|
+
- Updated dependencies [92a8c22]
|
|
35
|
+
- Updated dependencies [7b499aa]
|
|
36
|
+
- @elementor/editor-styles-repository@0.5.0
|
|
37
|
+
- @elementor/editor-elements@0.5.0
|
|
38
|
+
- @elementor/editor-controls@0.7.0
|
|
39
|
+
- @elementor/editor-panels@0.10.4
|
|
40
|
+
- @elementor/editor@0.17.4
|
|
41
|
+
- @elementor/editor-props@0.8.0
|
|
42
|
+
- @elementor/editor-styles@0.5.3
|
|
43
|
+
- @elementor/menus@0.1.3
|
|
44
|
+
|
|
3
45
|
## 1.8.1
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,8 @@ export { useBoundProp } from '@elementor/editor-controls';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ElementType, ComponentType } from 'react';
|
|
4
4
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
5
|
-
import {
|
|
5
|
+
import { StyleDefinitionState } from '@elementor/editor-styles';
|
|
6
|
+
import * as _elementor_locations from '@elementor/locations';
|
|
6
7
|
|
|
7
8
|
type PopoverActionProps = {
|
|
8
9
|
title: string;
|
|
@@ -45,7 +46,7 @@ declare const registerGlobalClassMenuItem: (args: {
|
|
|
45
46
|
props?: never;
|
|
46
47
|
})) => void;
|
|
47
48
|
type StateMenuItemProps = {
|
|
48
|
-
state:
|
|
49
|
+
state: StyleDefinitionState;
|
|
49
50
|
disabled?: boolean;
|
|
50
51
|
};
|
|
51
52
|
type GlobalClassMenuItemProps = {
|
|
@@ -53,4 +54,15 @@ type GlobalClassMenuItemProps = {
|
|
|
53
54
|
onClick: () => void;
|
|
54
55
|
};
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
declare const injectIntoClassSelectorActions: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
58
|
+
|
|
59
|
+
declare const usePanelActions: () => {
|
|
60
|
+
open: () => Promise<void>;
|
|
61
|
+
close: () => Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
declare const usePanelStatus: () => {
|
|
64
|
+
isOpen: boolean;
|
|
65
|
+
isBlocked: boolean;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export { type PopoverActionProps, injectIntoClassSelectorActions, registerGlobalClassMenuItem, registerStateMenuItem, replaceControl, usePanelActions, usePanelStatus };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ export { useBoundProp } from '@elementor/editor-controls';
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ElementType, ComponentType } from 'react';
|
|
4
4
|
import * as _elementor_editor_props from '@elementor/editor-props';
|
|
5
|
-
import {
|
|
5
|
+
import { StyleDefinitionState } from '@elementor/editor-styles';
|
|
6
|
+
import * as _elementor_locations from '@elementor/locations';
|
|
6
7
|
|
|
7
8
|
type PopoverActionProps = {
|
|
8
9
|
title: string;
|
|
@@ -45,7 +46,7 @@ declare const registerGlobalClassMenuItem: (args: {
|
|
|
45
46
|
props?: never;
|
|
46
47
|
})) => void;
|
|
47
48
|
type StateMenuItemProps = {
|
|
48
|
-
state:
|
|
49
|
+
state: StyleDefinitionState;
|
|
49
50
|
disabled?: boolean;
|
|
50
51
|
};
|
|
51
52
|
type GlobalClassMenuItemProps = {
|
|
@@ -53,4 +54,15 @@ type GlobalClassMenuItemProps = {
|
|
|
53
54
|
onClick: () => void;
|
|
54
55
|
};
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
declare const injectIntoClassSelectorActions: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
58
|
+
|
|
59
|
+
declare const usePanelActions: () => {
|
|
60
|
+
open: () => Promise<void>;
|
|
61
|
+
close: () => Promise<void>;
|
|
62
|
+
};
|
|
63
|
+
declare const usePanelStatus: () => {
|
|
64
|
+
isOpen: boolean;
|
|
65
|
+
isBlocked: boolean;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export { type PopoverActionProps, injectIntoClassSelectorActions, registerGlobalClassMenuItem, registerStateMenuItem, replaceControl, usePanelActions, usePanelStatus };
|