@elementor/editor-editing-panel 1.30.0 → 1.31.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 +23 -0
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +846 -609
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +750 -506
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
- package/src/components/creatable-autocomplete/autocomplete-option-internal-properties.ts +21 -0
- package/src/components/creatable-autocomplete/creatable-autocomplete.tsx +175 -0
- package/src/components/creatable-autocomplete/index.ts +3 -0
- package/src/components/creatable-autocomplete/types.ts +38 -0
- package/src/components/creatable-autocomplete/use-autocomplete-change.ts +75 -0
- package/src/components/creatable-autocomplete/use-autocomplete-states.ts +42 -0
- package/src/components/creatable-autocomplete/use-create-option.ts +45 -0
- package/src/components/creatable-autocomplete/use-filter-options.ts +50 -0
- package/src/components/css-classes/css-class-item.tsx +2 -2
- package/src/components/css-classes/css-class-selector.tsx +44 -27
- package/src/components/editing-panel-tabs.tsx +19 -14
- package/src/components/style-sections/position-section/offset-field.tsx +22 -0
- package/src/components/style-sections/position-section/position-section.tsx +4 -0
- package/src/components/style-tab.tsx +26 -3
- package/src/contexts/scroll-context.tsx +60 -0
- package/src/index.ts +1 -0
- package/src/components/multi-combobox.tsx +0 -165
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 1.31.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 233825c: Add scroll offset control to styles tab
|
|
8
|
+
- 18741b8: Add sticky header to Panel
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- ca016cc: Elementor ui update to version 1.34.2, elementor icons update to 1.40.1
|
|
13
|
+
- ca5d620: CSS class selector: Display validation error message
|
|
14
|
+
- Updated dependencies [f4deb05]
|
|
15
|
+
- Updated dependencies [9e7a3ee]
|
|
16
|
+
- Updated dependencies [ca016cc]
|
|
17
|
+
- Updated dependencies [baf662e]
|
|
18
|
+
- Updated dependencies [ca5d620]
|
|
19
|
+
- @elementor/editor-controls@0.28.0
|
|
20
|
+
- @elementor/editor-canvas@0.19.1
|
|
21
|
+
- @elementor/editor-panels@0.15.1
|
|
22
|
+
- @elementor/editor-ui@0.8.1
|
|
23
|
+
- @elementor/editor@0.19.1
|
|
24
|
+
- @elementor/editor-styles-repository@0.8.5
|
|
25
|
+
|
|
3
26
|
## 1.30.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -33,10 +33,19 @@ declare const usePanelStatus: () => {
|
|
|
33
33
|
isBlocked: boolean;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
type ValidationResult = {
|
|
37
|
+
isValid: true;
|
|
38
|
+
errorMessage: null;
|
|
39
|
+
} | {
|
|
40
|
+
isValid: false;
|
|
41
|
+
errorMessage: string;
|
|
42
|
+
};
|
|
43
|
+
type ValidationEvent = 'inputChange' | 'create';
|
|
44
|
+
|
|
36
45
|
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
37
46
|
PopoverAction: typeof PopoverAction;
|
|
38
47
|
}, "default">;
|
|
39
48
|
|
|
40
49
|
declare function init(): void;
|
|
41
50
|
|
|
42
|
-
export { type PopoverActionProps, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
|
|
51
|
+
export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
|
package/dist/index.d.ts
CHANGED
|
@@ -33,10 +33,19 @@ declare const usePanelStatus: () => {
|
|
|
33
33
|
isBlocked: boolean;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
type ValidationResult = {
|
|
37
|
+
isValid: true;
|
|
38
|
+
errorMessage: null;
|
|
39
|
+
} | {
|
|
40
|
+
isValid: false;
|
|
41
|
+
errorMessage: string;
|
|
42
|
+
};
|
|
43
|
+
type ValidationEvent = 'inputChange' | 'create';
|
|
44
|
+
|
|
36
45
|
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
37
46
|
PopoverAction: typeof PopoverAction;
|
|
38
47
|
}, "default">;
|
|
39
48
|
|
|
40
49
|
declare function init(): void;
|
|
41
50
|
|
|
42
|
-
export { type PopoverActionProps, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
|
|
51
|
+
export { type PopoverActionProps, type ValidationEvent, type ValidationResult, controlActionsMenu, init, injectIntoClassSelectorActions, registerControlReplacement, usePanelActions, usePanelStatus };
|