@elementor/editor-editing-panel 3.35.0-459 → 3.35.0-461
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.d.mts +42 -64
- package/dist/index.d.ts +42 -64
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { FontCategory, ControlComponent, AdornmentComponent } from '@elementor/e
|
|
|
3
3
|
export { useBoundProp } from '@elementor/editor-controls';
|
|
4
4
|
import * as _elementor_locations from '@elementor/locations';
|
|
5
5
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
6
|
-
import * as
|
|
6
|
+
import * as React$1 from 'react';
|
|
7
7
|
import { FC, PropsWithChildren, ReactNode, Dispatch, ElementType as ElementType$1, ComponentType, ComponentProps } from 'react';
|
|
8
8
|
import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
|
|
9
9
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
|
|
@@ -36,12 +36,12 @@ declare const injectIntoCssClassConvert: (args: _elementor_locations.InjectArgs<
|
|
|
36
36
|
|
|
37
37
|
declare const injectIntoClassSelectorActions: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
38
38
|
|
|
39
|
-
declare const CustomCssIndicator: () =>
|
|
39
|
+
declare const CustomCssIndicator: () => React$1.JSX.Element | null;
|
|
40
40
|
|
|
41
41
|
declare const injectIntoPanelHeaderTop: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
42
42
|
|
|
43
|
-
type Props$2 =
|
|
44
|
-
declare const PopoverBody: (props: Props$2) =>
|
|
43
|
+
type Props$2 = React$1.ComponentProps<typeof PopoverBody$1>;
|
|
44
|
+
declare const PopoverBody: (props: Props$2) => React$1.JSX.Element;
|
|
45
45
|
|
|
46
46
|
type SectionContentProps = PropsWithChildren<{
|
|
47
47
|
gap?: number;
|
|
@@ -54,14 +54,14 @@ declare const SectionContent: FC<SectionContentProps>;
|
|
|
54
54
|
|
|
55
55
|
declare const SettingsControl: ({ control: { value, type } }: {
|
|
56
56
|
control: Control$1 | ElementControl;
|
|
57
|
-
}) =>
|
|
57
|
+
}) => React$1.JSX.Element | null;
|
|
58
58
|
|
|
59
59
|
type SettingsFieldProps = {
|
|
60
60
|
bind: PropKey;
|
|
61
61
|
propDisplayName: string;
|
|
62
|
-
children:
|
|
62
|
+
children: React$1.ReactNode;
|
|
63
63
|
};
|
|
64
|
-
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) =>
|
|
64
|
+
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => React$1.JSX.Element;
|
|
65
65
|
|
|
66
66
|
declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
|
|
67
67
|
isOverridden?: boolean;
|
|
@@ -69,14 +69,14 @@ declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUISty
|
|
|
69
69
|
} | {
|
|
70
70
|
isOverridden?: boolean;
|
|
71
71
|
getColor?: ((theme: Theme) => string) | null;
|
|
72
|
-
}),
|
|
72
|
+
}), React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
73
73
|
|
|
74
74
|
declare const useFontFamilies: () => FontCategory[];
|
|
75
75
|
|
|
76
76
|
declare const injectIntoStyleTab: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
77
77
|
|
|
78
78
|
type SectionType = {
|
|
79
|
-
component?: () =>
|
|
79
|
+
component?: () => React$1.JSX.Element;
|
|
80
80
|
name: string;
|
|
81
81
|
title: string;
|
|
82
82
|
action?: {
|
|
@@ -89,7 +89,7 @@ type Props$1 = {
|
|
|
89
89
|
fields?: string[];
|
|
90
90
|
unmountOnExit?: boolean;
|
|
91
91
|
};
|
|
92
|
-
declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$1) =>
|
|
92
|
+
declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$1) => React$1.JSX.Element;
|
|
93
93
|
|
|
94
94
|
declare function useClassesProp(): string;
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@ type ContextValue$1 = {
|
|
|
98
98
|
elementType: ElementType;
|
|
99
99
|
};
|
|
100
100
|
type Props = PropsWithChildren<ContextValue$1>;
|
|
101
|
-
declare function ElementProvider({ children, element, elementType }: Props):
|
|
101
|
+
declare function ElementProvider({ children, element, elementType }: Props): React$1.JSX.Element;
|
|
102
102
|
declare function useElement(): ContextValue$1;
|
|
103
103
|
|
|
104
104
|
declare const useSectionWidth: () => number;
|
|
@@ -119,30 +119,8 @@ type ContextValueWithoutProvider = {
|
|
|
119
119
|
};
|
|
120
120
|
declare function useStyle(): ContextValue;
|
|
121
121
|
|
|
122
|
-
declare const registerControlReplacement: (replacement:
|
|
123
|
-
|
|
124
|
-
component: react.ComponentClass<object & {
|
|
125
|
-
OriginalControl: react.ComponentType;
|
|
126
|
-
}, any> | react.FunctionComponent<object & {
|
|
127
|
-
OriginalControl: react.ComponentType;
|
|
128
|
-
}>;
|
|
129
|
-
condition: ({ value }: {
|
|
130
|
-
value: _elementor_editor_props.PropValue;
|
|
131
|
-
placeholder?: _elementor_editor_props.PropValue;
|
|
132
|
-
}) => boolean;
|
|
133
|
-
}) => void;
|
|
134
|
-
declare const getControlReplacements: () => {
|
|
135
|
-
id?: string;
|
|
136
|
-
component: react.ComponentClass<object & {
|
|
137
|
-
OriginalControl: react.ComponentType;
|
|
138
|
-
}, any> | react.FunctionComponent<object & {
|
|
139
|
-
OriginalControl: react.ComponentType;
|
|
140
|
-
}>;
|
|
141
|
-
condition: ({ value }: {
|
|
142
|
-
value: _elementor_editor_props.PropValue;
|
|
143
|
-
placeholder?: _elementor_editor_props.PropValue;
|
|
144
|
-
}) => boolean;
|
|
145
|
-
}[];
|
|
122
|
+
declare const registerControlReplacement: (replacement: _elementor_editor_controls.ControlReplacement) => void;
|
|
123
|
+
declare const getControlReplacements: () => _elementor_editor_controls.ControlReplacement[];
|
|
146
124
|
|
|
147
125
|
type ActionProps = {
|
|
148
126
|
title: string;
|
|
@@ -150,7 +128,7 @@ type ActionProps = {
|
|
|
150
128
|
icon: ElementType$1;
|
|
151
129
|
onClick: () => void;
|
|
152
130
|
};
|
|
153
|
-
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps):
|
|
131
|
+
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps): React$1.JSX.Element | null;
|
|
154
132
|
|
|
155
133
|
type PopoverActionProps = {
|
|
156
134
|
title: string;
|
|
@@ -160,7 +138,7 @@ type PopoverActionProps = {
|
|
|
160
138
|
close: () => void;
|
|
161
139
|
}>;
|
|
162
140
|
};
|
|
163
|
-
declare function PopoverAction({ title, visible, icon: Icon, content: PopoverContent }: PopoverActionProps):
|
|
141
|
+
declare function PopoverAction({ title, visible, icon: Icon, content: PopoverContent }: PopoverActionProps): React$1.JSX.Element | null;
|
|
164
142
|
|
|
165
143
|
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
166
144
|
Action: typeof Action;
|
|
@@ -179,7 +157,7 @@ declare const controlTypes: {
|
|
|
179
157
|
label: string;
|
|
180
158
|
value: string;
|
|
181
159
|
}[];
|
|
182
|
-
}) =>
|
|
160
|
+
}) => React$1.JSX.Element>;
|
|
183
161
|
readonly layout: "custom";
|
|
184
162
|
readonly propTypeUtil: {
|
|
185
163
|
extract: (prop: unknown) => {
|
|
@@ -245,7 +223,7 @@ declare const controlTypes: {
|
|
|
245
223
|
};
|
|
246
224
|
};
|
|
247
225
|
readonly 'svg-media': {
|
|
248
|
-
readonly component: ControlComponent<() =>
|
|
226
|
+
readonly component: ControlComponent<() => React$1.JSX.Element>;
|
|
249
227
|
readonly layout: "full";
|
|
250
228
|
readonly propTypeUtil: {
|
|
251
229
|
extract: (prop: unknown) => {
|
|
@@ -358,7 +336,7 @@ declare const controlTypes: {
|
|
|
358
336
|
helperText?: string;
|
|
359
337
|
sx?: _mui_system.SxProps;
|
|
360
338
|
ariaLabel?: string;
|
|
361
|
-
}) =>
|
|
339
|
+
}) => React$1.JSX.Element>;
|
|
362
340
|
readonly layout: "full";
|
|
363
341
|
readonly propTypeUtil: {
|
|
364
342
|
extract: (prop: unknown) => string | null;
|
|
@@ -388,7 +366,7 @@ declare const controlTypes: {
|
|
|
388
366
|
readonly component: ControlComponent<({ placeholder, ariaLabel }: {
|
|
389
367
|
placeholder?: string;
|
|
390
368
|
ariaLabel?: string;
|
|
391
|
-
}) =>
|
|
369
|
+
}) => React$1.JSX.Element>;
|
|
392
370
|
readonly layout: "full";
|
|
393
371
|
readonly propTypeUtil: {
|
|
394
372
|
extract: (prop: unknown) => string | null;
|
|
@@ -417,10 +395,10 @@ declare const controlTypes: {
|
|
|
417
395
|
readonly size: {
|
|
418
396
|
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, ariaLabel, }: Omit<({
|
|
419
397
|
placeholder?: string;
|
|
420
|
-
startIcon?:
|
|
398
|
+
startIcon?: React$1.ReactNode;
|
|
421
399
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
422
400
|
disableCustom?: boolean;
|
|
423
|
-
anchorRef?:
|
|
401
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
424
402
|
min?: number;
|
|
425
403
|
enablePropTypeUnits?: boolean;
|
|
426
404
|
id?: string;
|
|
@@ -432,10 +410,10 @@ declare const controlTypes: {
|
|
|
432
410
|
variant: "length";
|
|
433
411
|
}) | ({
|
|
434
412
|
placeholder?: string;
|
|
435
|
-
startIcon?:
|
|
413
|
+
startIcon?: React$1.ReactNode;
|
|
436
414
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
437
415
|
disableCustom?: boolean;
|
|
438
|
-
anchorRef?:
|
|
416
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
439
417
|
min?: number;
|
|
440
418
|
enablePropTypeUnits?: boolean;
|
|
441
419
|
id?: string;
|
|
@@ -447,10 +425,10 @@ declare const controlTypes: {
|
|
|
447
425
|
variant: "angle";
|
|
448
426
|
}) | ({
|
|
449
427
|
placeholder?: string;
|
|
450
|
-
startIcon?:
|
|
428
|
+
startIcon?: React$1.ReactNode;
|
|
451
429
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
452
430
|
disableCustom?: boolean;
|
|
453
|
-
anchorRef?:
|
|
431
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
454
432
|
min?: number;
|
|
455
433
|
enablePropTypeUnits?: boolean;
|
|
456
434
|
id?: string;
|
|
@@ -462,7 +440,7 @@ declare const controlTypes: {
|
|
|
462
440
|
variant: "time";
|
|
463
441
|
}), "variant"> & {
|
|
464
442
|
variant?: "length" | "time" | "angle";
|
|
465
|
-
}) =>
|
|
443
|
+
}) => React$1.JSX.Element>;
|
|
466
444
|
readonly layout: "two-columns";
|
|
467
445
|
readonly propTypeUtil: {
|
|
468
446
|
extract: (prop: unknown) => {
|
|
@@ -695,7 +673,7 @@ declare const controlTypes: {
|
|
|
695
673
|
ariaLabel?: string;
|
|
696
674
|
} & {
|
|
697
675
|
collectionId?: "off-canvas";
|
|
698
|
-
}) =>
|
|
676
|
+
}) => React$1.JSX.Element>;
|
|
699
677
|
readonly layout: "two-columns";
|
|
700
678
|
readonly propTypeUtil: {
|
|
701
679
|
extract: (prop: unknown) => string | null;
|
|
@@ -736,7 +714,7 @@ declare const controlTypes: {
|
|
|
736
714
|
context: {
|
|
737
715
|
elementId: string;
|
|
738
716
|
};
|
|
739
|
-
}) =>
|
|
717
|
+
}) => React$1.JSX.Element>;
|
|
740
718
|
readonly layout: "custom";
|
|
741
719
|
readonly propTypeUtil: {
|
|
742
720
|
extract: (prop: unknown) => {
|
|
@@ -825,7 +803,7 @@ declare const controlTypes: {
|
|
|
825
803
|
placeholder?: string;
|
|
826
804
|
onSetValue?: (value: any | null) => void;
|
|
827
805
|
ariaLabel?: string;
|
|
828
|
-
}) =>
|
|
806
|
+
}) => React$1.JSX.Element>;
|
|
829
807
|
readonly layout: "full";
|
|
830
808
|
readonly propTypeUtil: {
|
|
831
809
|
extract: (prop: unknown) => {
|
|
@@ -894,7 +872,7 @@ declare const controlTypes: {
|
|
|
894
872
|
readonly component: ControlComponent<({ placeholder, ariaLabel }: {
|
|
895
873
|
placeholder?: string;
|
|
896
874
|
ariaLabel?: string;
|
|
897
|
-
}) =>
|
|
875
|
+
}) => React$1.JSX.Element>;
|
|
898
876
|
readonly layout: "full";
|
|
899
877
|
readonly propTypeUtil: {
|
|
900
878
|
extract: (prop: unknown) => string | null;
|
|
@@ -921,7 +899,7 @@ declare const controlTypes: {
|
|
|
921
899
|
};
|
|
922
900
|
};
|
|
923
901
|
readonly switch: {
|
|
924
|
-
readonly component: ControlComponent<() =>
|
|
902
|
+
readonly component: ControlComponent<() => React$1.JSX.Element>;
|
|
925
903
|
readonly layout: "two-columns";
|
|
926
904
|
readonly propTypeUtil: {
|
|
927
905
|
extract: (prop: unknown) => boolean | null;
|
|
@@ -954,8 +932,8 @@ declare const controlTypes: {
|
|
|
954
932
|
min?: number;
|
|
955
933
|
step?: number;
|
|
956
934
|
shouldForceInt?: boolean;
|
|
957
|
-
startIcon?:
|
|
958
|
-
}) =>
|
|
935
|
+
startIcon?: React$1.ReactNode;
|
|
936
|
+
}) => React$1.JSX.Element>;
|
|
959
937
|
readonly layout: "two-columns";
|
|
960
938
|
readonly propTypeUtil: {
|
|
961
939
|
extract: (prop: unknown) => number | null;
|
|
@@ -1007,11 +985,11 @@ declare const controlTypes: {
|
|
|
1007
985
|
addItemTooltipProps?: {
|
|
1008
986
|
disabled?: boolean;
|
|
1009
987
|
enableTooltip?: boolean;
|
|
1010
|
-
tooltipContent?:
|
|
988
|
+
tooltipContent?: React$1.ReactNode;
|
|
1011
989
|
newItemIndex?: number;
|
|
1012
990
|
ariaLabel?: string;
|
|
1013
991
|
};
|
|
1014
|
-
}) =>
|
|
992
|
+
}) => React$1.JSX.Element | null>;
|
|
1015
993
|
readonly layout: "full";
|
|
1016
994
|
readonly propTypeUtil: undefined;
|
|
1017
995
|
};
|
|
@@ -1027,7 +1005,7 @@ declare const controlTypes: {
|
|
|
1027
1005
|
keyHelper?: string;
|
|
1028
1006
|
valueHelper?: string;
|
|
1029
1007
|
};
|
|
1030
|
-
}) =>
|
|
1008
|
+
}) => React$1.JSX.Element>;
|
|
1031
1009
|
readonly layout: "full";
|
|
1032
1010
|
readonly propTypeUtil: {
|
|
1033
1011
|
extract: (prop: unknown) => {
|
|
@@ -1101,7 +1079,7 @@ declare const controlTypes: {
|
|
|
1101
1079
|
}[];
|
|
1102
1080
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
1103
1081
|
fallbackLabels?: Record<string, string>;
|
|
1104
|
-
}) =>
|
|
1082
|
+
}) => React$1.JSX.Element>;
|
|
1105
1083
|
readonly layout: "two-columns";
|
|
1106
1084
|
readonly propTypeUtil: {
|
|
1107
1085
|
extract: (prop: unknown) => string | null;
|
|
@@ -1128,7 +1106,7 @@ declare const controlTypes: {
|
|
|
1128
1106
|
};
|
|
1129
1107
|
};
|
|
1130
1108
|
readonly toggle: {
|
|
1131
|
-
readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) =>
|
|
1109
|
+
readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) => React$1.JSX.Element>;
|
|
1132
1110
|
readonly layout: "full";
|
|
1133
1111
|
readonly propTypeUtil: {
|
|
1134
1112
|
extract: (prop: unknown) => string | null;
|
|
@@ -1157,7 +1135,7 @@ declare const controlTypes: {
|
|
|
1157
1135
|
readonly 'date-time': {
|
|
1158
1136
|
readonly component: ControlComponent<({ inputDisabled }: {
|
|
1159
1137
|
inputDisabled?: boolean;
|
|
1160
|
-
}) =>
|
|
1138
|
+
}) => React$1.JSX.Element>;
|
|
1161
1139
|
readonly layout: "full";
|
|
1162
1140
|
readonly propTypeUtil: {
|
|
1163
1141
|
extract: (prop: unknown) => {
|
|
@@ -1226,8 +1204,8 @@ declare const controlTypes: {
|
|
|
1226
1204
|
readonly component: ControlComponent<({ sx, attributes, props, }: {
|
|
1227
1205
|
sx?: _mui_system.SxProps<_mui_material.Theme>;
|
|
1228
1206
|
attributes?: Record<string, string>;
|
|
1229
|
-
props?:
|
|
1230
|
-
}) =>
|
|
1207
|
+
props?: React$1.ComponentProps<"div">;
|
|
1208
|
+
}) => React$1.JSX.Element>;
|
|
1231
1209
|
readonly layout: "full";
|
|
1232
1210
|
readonly propTypeUtil: {
|
|
1233
1211
|
extract: (prop: unknown) => string | null;
|
|
@@ -1281,7 +1259,7 @@ type ControlProps<T extends ControlType> = AnyPropertyRequired<ComponentProps<Co
|
|
|
1281
1259
|
props?: ComponentProps<ControlTypes[T]>;
|
|
1282
1260
|
type: T;
|
|
1283
1261
|
};
|
|
1284
|
-
declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) =>
|
|
1262
|
+
declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) => React$1.JSX.Element;
|
|
1285
1263
|
|
|
1286
1264
|
declare const StylesProviderCannotUpdatePropsError: {
|
|
1287
1265
|
new ({ cause, context }?: {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { FontCategory, ControlComponent, AdornmentComponent } from '@elementor/e
|
|
|
3
3
|
export { useBoundProp } from '@elementor/editor-controls';
|
|
4
4
|
import * as _elementor_locations from '@elementor/locations';
|
|
5
5
|
import { StyleDefinition, StyleDefinitionVariant, StyleDefinitionState, StyleDefinitionID } from '@elementor/editor-styles';
|
|
6
|
-
import * as
|
|
6
|
+
import * as React$1 from 'react';
|
|
7
7
|
import { FC, PropsWithChildren, ReactNode, Dispatch, ElementType as ElementType$1, ComponentType, ComponentProps } from 'react';
|
|
8
8
|
import { PopoverBody as PopoverBody$1 } from '@elementor/editor-ui';
|
|
9
9
|
import { Control as Control$1, ElementControl, Element, ElementType, ControlLayout } from '@elementor/editor-elements';
|
|
@@ -36,12 +36,12 @@ declare const injectIntoCssClassConvert: (args: _elementor_locations.InjectArgs<
|
|
|
36
36
|
|
|
37
37
|
declare const injectIntoClassSelectorActions: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
38
38
|
|
|
39
|
-
declare const CustomCssIndicator: () =>
|
|
39
|
+
declare const CustomCssIndicator: () => React$1.JSX.Element | null;
|
|
40
40
|
|
|
41
41
|
declare const injectIntoPanelHeaderTop: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
42
42
|
|
|
43
|
-
type Props$2 =
|
|
44
|
-
declare const PopoverBody: (props: Props$2) =>
|
|
43
|
+
type Props$2 = React$1.ComponentProps<typeof PopoverBody$1>;
|
|
44
|
+
declare const PopoverBody: (props: Props$2) => React$1.JSX.Element;
|
|
45
45
|
|
|
46
46
|
type SectionContentProps = PropsWithChildren<{
|
|
47
47
|
gap?: number;
|
|
@@ -54,14 +54,14 @@ declare const SectionContent: FC<SectionContentProps>;
|
|
|
54
54
|
|
|
55
55
|
declare const SettingsControl: ({ control: { value, type } }: {
|
|
56
56
|
control: Control$1 | ElementControl;
|
|
57
|
-
}) =>
|
|
57
|
+
}) => React$1.JSX.Element | null;
|
|
58
58
|
|
|
59
59
|
type SettingsFieldProps = {
|
|
60
60
|
bind: PropKey;
|
|
61
61
|
propDisplayName: string;
|
|
62
|
-
children:
|
|
62
|
+
children: React$1.ReactNode;
|
|
63
63
|
};
|
|
64
|
-
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) =>
|
|
64
|
+
declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => React$1.JSX.Element;
|
|
65
65
|
|
|
66
66
|
declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
|
|
67
67
|
isOverridden?: boolean;
|
|
@@ -69,14 +69,14 @@ declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUISty
|
|
|
69
69
|
} | {
|
|
70
70
|
isOverridden?: boolean;
|
|
71
71
|
getColor?: ((theme: Theme) => string) | null;
|
|
72
|
-
}),
|
|
72
|
+
}), React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
73
73
|
|
|
74
74
|
declare const useFontFamilies: () => FontCategory[];
|
|
75
75
|
|
|
76
76
|
declare const injectIntoStyleTab: (args: _elementor_locations.InjectArgs<object>) => void;
|
|
77
77
|
|
|
78
78
|
type SectionType = {
|
|
79
|
-
component?: () =>
|
|
79
|
+
component?: () => React$1.JSX.Element;
|
|
80
80
|
name: string;
|
|
81
81
|
title: string;
|
|
82
82
|
action?: {
|
|
@@ -89,7 +89,7 @@ type Props$1 = {
|
|
|
89
89
|
fields?: string[];
|
|
90
90
|
unmountOnExit?: boolean;
|
|
91
91
|
};
|
|
92
|
-
declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$1) =>
|
|
92
|
+
declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$1) => React$1.JSX.Element;
|
|
93
93
|
|
|
94
94
|
declare function useClassesProp(): string;
|
|
95
95
|
|
|
@@ -98,7 +98,7 @@ type ContextValue$1 = {
|
|
|
98
98
|
elementType: ElementType;
|
|
99
99
|
};
|
|
100
100
|
type Props = PropsWithChildren<ContextValue$1>;
|
|
101
|
-
declare function ElementProvider({ children, element, elementType }: Props):
|
|
101
|
+
declare function ElementProvider({ children, element, elementType }: Props): React$1.JSX.Element;
|
|
102
102
|
declare function useElement(): ContextValue$1;
|
|
103
103
|
|
|
104
104
|
declare const useSectionWidth: () => number;
|
|
@@ -119,30 +119,8 @@ type ContextValueWithoutProvider = {
|
|
|
119
119
|
};
|
|
120
120
|
declare function useStyle(): ContextValue;
|
|
121
121
|
|
|
122
|
-
declare const registerControlReplacement: (replacement:
|
|
123
|
-
|
|
124
|
-
component: react.ComponentClass<object & {
|
|
125
|
-
OriginalControl: react.ComponentType;
|
|
126
|
-
}, any> | react.FunctionComponent<object & {
|
|
127
|
-
OriginalControl: react.ComponentType;
|
|
128
|
-
}>;
|
|
129
|
-
condition: ({ value }: {
|
|
130
|
-
value: _elementor_editor_props.PropValue;
|
|
131
|
-
placeholder?: _elementor_editor_props.PropValue;
|
|
132
|
-
}) => boolean;
|
|
133
|
-
}) => void;
|
|
134
|
-
declare const getControlReplacements: () => {
|
|
135
|
-
id?: string;
|
|
136
|
-
component: react.ComponentClass<object & {
|
|
137
|
-
OriginalControl: react.ComponentType;
|
|
138
|
-
}, any> | react.FunctionComponent<object & {
|
|
139
|
-
OriginalControl: react.ComponentType;
|
|
140
|
-
}>;
|
|
141
|
-
condition: ({ value }: {
|
|
142
|
-
value: _elementor_editor_props.PropValue;
|
|
143
|
-
placeholder?: _elementor_editor_props.PropValue;
|
|
144
|
-
}) => boolean;
|
|
145
|
-
}[];
|
|
122
|
+
declare const registerControlReplacement: (replacement: _elementor_editor_controls.ControlReplacement) => void;
|
|
123
|
+
declare const getControlReplacements: () => _elementor_editor_controls.ControlReplacement[];
|
|
146
124
|
|
|
147
125
|
type ActionProps = {
|
|
148
126
|
title: string;
|
|
@@ -150,7 +128,7 @@ type ActionProps = {
|
|
|
150
128
|
icon: ElementType$1;
|
|
151
129
|
onClick: () => void;
|
|
152
130
|
};
|
|
153
|
-
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps):
|
|
131
|
+
declare function Action({ title, visible, icon: Icon, onClick }: ActionProps): React$1.JSX.Element | null;
|
|
154
132
|
|
|
155
133
|
type PopoverActionProps = {
|
|
156
134
|
title: string;
|
|
@@ -160,7 +138,7 @@ type PopoverActionProps = {
|
|
|
160
138
|
close: () => void;
|
|
161
139
|
}>;
|
|
162
140
|
};
|
|
163
|
-
declare function PopoverAction({ title, visible, icon: Icon, content: PopoverContent }: PopoverActionProps):
|
|
141
|
+
declare function PopoverAction({ title, visible, icon: Icon, content: PopoverContent }: PopoverActionProps): React$1.JSX.Element | null;
|
|
164
142
|
|
|
165
143
|
declare const controlActionsMenu: _elementor_menus.Menu<{
|
|
166
144
|
Action: typeof Action;
|
|
@@ -179,7 +157,7 @@ declare const controlTypes: {
|
|
|
179
157
|
label: string;
|
|
180
158
|
value: string;
|
|
181
159
|
}[];
|
|
182
|
-
}) =>
|
|
160
|
+
}) => React$1.JSX.Element>;
|
|
183
161
|
readonly layout: "custom";
|
|
184
162
|
readonly propTypeUtil: {
|
|
185
163
|
extract: (prop: unknown) => {
|
|
@@ -245,7 +223,7 @@ declare const controlTypes: {
|
|
|
245
223
|
};
|
|
246
224
|
};
|
|
247
225
|
readonly 'svg-media': {
|
|
248
|
-
readonly component: ControlComponent<() =>
|
|
226
|
+
readonly component: ControlComponent<() => React$1.JSX.Element>;
|
|
249
227
|
readonly layout: "full";
|
|
250
228
|
readonly propTypeUtil: {
|
|
251
229
|
extract: (prop: unknown) => {
|
|
@@ -358,7 +336,7 @@ declare const controlTypes: {
|
|
|
358
336
|
helperText?: string;
|
|
359
337
|
sx?: _mui_system.SxProps;
|
|
360
338
|
ariaLabel?: string;
|
|
361
|
-
}) =>
|
|
339
|
+
}) => React$1.JSX.Element>;
|
|
362
340
|
readonly layout: "full";
|
|
363
341
|
readonly propTypeUtil: {
|
|
364
342
|
extract: (prop: unknown) => string | null;
|
|
@@ -388,7 +366,7 @@ declare const controlTypes: {
|
|
|
388
366
|
readonly component: ControlComponent<({ placeholder, ariaLabel }: {
|
|
389
367
|
placeholder?: string;
|
|
390
368
|
ariaLabel?: string;
|
|
391
|
-
}) =>
|
|
369
|
+
}) => React$1.JSX.Element>;
|
|
392
370
|
readonly layout: "full";
|
|
393
371
|
readonly propTypeUtil: {
|
|
394
372
|
extract: (prop: unknown) => string | null;
|
|
@@ -417,10 +395,10 @@ declare const controlTypes: {
|
|
|
417
395
|
readonly size: {
|
|
418
396
|
readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, ariaLabel, }: Omit<({
|
|
419
397
|
placeholder?: string;
|
|
420
|
-
startIcon?:
|
|
398
|
+
startIcon?: React$1.ReactNode;
|
|
421
399
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
422
400
|
disableCustom?: boolean;
|
|
423
|
-
anchorRef?:
|
|
401
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
424
402
|
min?: number;
|
|
425
403
|
enablePropTypeUnits?: boolean;
|
|
426
404
|
id?: string;
|
|
@@ -432,10 +410,10 @@ declare const controlTypes: {
|
|
|
432
410
|
variant: "length";
|
|
433
411
|
}) | ({
|
|
434
412
|
placeholder?: string;
|
|
435
|
-
startIcon?:
|
|
413
|
+
startIcon?: React$1.ReactNode;
|
|
436
414
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
437
415
|
disableCustom?: boolean;
|
|
438
|
-
anchorRef?:
|
|
416
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
439
417
|
min?: number;
|
|
440
418
|
enablePropTypeUnits?: boolean;
|
|
441
419
|
id?: string;
|
|
@@ -447,10 +425,10 @@ declare const controlTypes: {
|
|
|
447
425
|
variant: "angle";
|
|
448
426
|
}) | ({
|
|
449
427
|
placeholder?: string;
|
|
450
|
-
startIcon?:
|
|
428
|
+
startIcon?: React$1.ReactNode;
|
|
451
429
|
extendedOptions?: _elementor_editor_controls.ExtendedOption[];
|
|
452
430
|
disableCustom?: boolean;
|
|
453
|
-
anchorRef?:
|
|
431
|
+
anchorRef?: React$1.RefObject<HTMLDivElement | null>;
|
|
454
432
|
min?: number;
|
|
455
433
|
enablePropTypeUnits?: boolean;
|
|
456
434
|
id?: string;
|
|
@@ -462,7 +440,7 @@ declare const controlTypes: {
|
|
|
462
440
|
variant: "time";
|
|
463
441
|
}), "variant"> & {
|
|
464
442
|
variant?: "length" | "time" | "angle";
|
|
465
|
-
}) =>
|
|
443
|
+
}) => React$1.JSX.Element>;
|
|
466
444
|
readonly layout: "two-columns";
|
|
467
445
|
readonly propTypeUtil: {
|
|
468
446
|
extract: (prop: unknown) => {
|
|
@@ -695,7 +673,7 @@ declare const controlTypes: {
|
|
|
695
673
|
ariaLabel?: string;
|
|
696
674
|
} & {
|
|
697
675
|
collectionId?: "off-canvas";
|
|
698
|
-
}) =>
|
|
676
|
+
}) => React$1.JSX.Element>;
|
|
699
677
|
readonly layout: "two-columns";
|
|
700
678
|
readonly propTypeUtil: {
|
|
701
679
|
extract: (prop: unknown) => string | null;
|
|
@@ -736,7 +714,7 @@ declare const controlTypes: {
|
|
|
736
714
|
context: {
|
|
737
715
|
elementId: string;
|
|
738
716
|
};
|
|
739
|
-
}) =>
|
|
717
|
+
}) => React$1.JSX.Element>;
|
|
740
718
|
readonly layout: "custom";
|
|
741
719
|
readonly propTypeUtil: {
|
|
742
720
|
extract: (prop: unknown) => {
|
|
@@ -825,7 +803,7 @@ declare const controlTypes: {
|
|
|
825
803
|
placeholder?: string;
|
|
826
804
|
onSetValue?: (value: any | null) => void;
|
|
827
805
|
ariaLabel?: string;
|
|
828
|
-
}) =>
|
|
806
|
+
}) => React$1.JSX.Element>;
|
|
829
807
|
readonly layout: "full";
|
|
830
808
|
readonly propTypeUtil: {
|
|
831
809
|
extract: (prop: unknown) => {
|
|
@@ -894,7 +872,7 @@ declare const controlTypes: {
|
|
|
894
872
|
readonly component: ControlComponent<({ placeholder, ariaLabel }: {
|
|
895
873
|
placeholder?: string;
|
|
896
874
|
ariaLabel?: string;
|
|
897
|
-
}) =>
|
|
875
|
+
}) => React$1.JSX.Element>;
|
|
898
876
|
readonly layout: "full";
|
|
899
877
|
readonly propTypeUtil: {
|
|
900
878
|
extract: (prop: unknown) => string | null;
|
|
@@ -921,7 +899,7 @@ declare const controlTypes: {
|
|
|
921
899
|
};
|
|
922
900
|
};
|
|
923
901
|
readonly switch: {
|
|
924
|
-
readonly component: ControlComponent<() =>
|
|
902
|
+
readonly component: ControlComponent<() => React$1.JSX.Element>;
|
|
925
903
|
readonly layout: "two-columns";
|
|
926
904
|
readonly propTypeUtil: {
|
|
927
905
|
extract: (prop: unknown) => boolean | null;
|
|
@@ -954,8 +932,8 @@ declare const controlTypes: {
|
|
|
954
932
|
min?: number;
|
|
955
933
|
step?: number;
|
|
956
934
|
shouldForceInt?: boolean;
|
|
957
|
-
startIcon?:
|
|
958
|
-
}) =>
|
|
935
|
+
startIcon?: React$1.ReactNode;
|
|
936
|
+
}) => React$1.JSX.Element>;
|
|
959
937
|
readonly layout: "two-columns";
|
|
960
938
|
readonly propTypeUtil: {
|
|
961
939
|
extract: (prop: unknown) => number | null;
|
|
@@ -1007,11 +985,11 @@ declare const controlTypes: {
|
|
|
1007
985
|
addItemTooltipProps?: {
|
|
1008
986
|
disabled?: boolean;
|
|
1009
987
|
enableTooltip?: boolean;
|
|
1010
|
-
tooltipContent?:
|
|
988
|
+
tooltipContent?: React$1.ReactNode;
|
|
1011
989
|
newItemIndex?: number;
|
|
1012
990
|
ariaLabel?: string;
|
|
1013
991
|
};
|
|
1014
|
-
}) =>
|
|
992
|
+
}) => React$1.JSX.Element | null>;
|
|
1015
993
|
readonly layout: "full";
|
|
1016
994
|
readonly propTypeUtil: undefined;
|
|
1017
995
|
};
|
|
@@ -1027,7 +1005,7 @@ declare const controlTypes: {
|
|
|
1027
1005
|
keyHelper?: string;
|
|
1028
1006
|
valueHelper?: string;
|
|
1029
1007
|
};
|
|
1030
|
-
}) =>
|
|
1008
|
+
}) => React$1.JSX.Element>;
|
|
1031
1009
|
readonly layout: "full";
|
|
1032
1010
|
readonly propTypeUtil: {
|
|
1033
1011
|
extract: (prop: unknown) => {
|
|
@@ -1101,7 +1079,7 @@ declare const controlTypes: {
|
|
|
1101
1079
|
}[];
|
|
1102
1080
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
1103
1081
|
fallbackLabels?: Record<string, string>;
|
|
1104
|
-
}) =>
|
|
1082
|
+
}) => React$1.JSX.Element>;
|
|
1105
1083
|
readonly layout: "two-columns";
|
|
1106
1084
|
readonly propTypeUtil: {
|
|
1107
1085
|
extract: (prop: unknown) => string | null;
|
|
@@ -1128,7 +1106,7 @@ declare const controlTypes: {
|
|
|
1128
1106
|
};
|
|
1129
1107
|
};
|
|
1130
1108
|
readonly toggle: {
|
|
1131
|
-
readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) =>
|
|
1109
|
+
readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) => React$1.JSX.Element>;
|
|
1132
1110
|
readonly layout: "full";
|
|
1133
1111
|
readonly propTypeUtil: {
|
|
1134
1112
|
extract: (prop: unknown) => string | null;
|
|
@@ -1157,7 +1135,7 @@ declare const controlTypes: {
|
|
|
1157
1135
|
readonly 'date-time': {
|
|
1158
1136
|
readonly component: ControlComponent<({ inputDisabled }: {
|
|
1159
1137
|
inputDisabled?: boolean;
|
|
1160
|
-
}) =>
|
|
1138
|
+
}) => React$1.JSX.Element>;
|
|
1161
1139
|
readonly layout: "full";
|
|
1162
1140
|
readonly propTypeUtil: {
|
|
1163
1141
|
extract: (prop: unknown) => {
|
|
@@ -1226,8 +1204,8 @@ declare const controlTypes: {
|
|
|
1226
1204
|
readonly component: ControlComponent<({ sx, attributes, props, }: {
|
|
1227
1205
|
sx?: _mui_system.SxProps<_mui_material.Theme>;
|
|
1228
1206
|
attributes?: Record<string, string>;
|
|
1229
|
-
props?:
|
|
1230
|
-
}) =>
|
|
1207
|
+
props?: React$1.ComponentProps<"div">;
|
|
1208
|
+
}) => React$1.JSX.Element>;
|
|
1231
1209
|
readonly layout: "full";
|
|
1232
1210
|
readonly propTypeUtil: {
|
|
1233
1211
|
extract: (prop: unknown) => string | null;
|
|
@@ -1281,7 +1259,7 @@ type ControlProps<T extends ControlType> = AnyPropertyRequired<ComponentProps<Co
|
|
|
1281
1259
|
props?: ComponentProps<ControlTypes[T]>;
|
|
1282
1260
|
type: T;
|
|
1283
1261
|
};
|
|
1284
|
-
declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) =>
|
|
1262
|
+
declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) => React$1.JSX.Element;
|
|
1285
1263
|
|
|
1286
1264
|
declare const StylesProviderCannotUpdatePropsError: {
|
|
1287
1265
|
new ({ cause, context }?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementor/editor-editing-panel",
|
|
3
|
-
"version": "3.35.0-
|
|
3
|
+
"version": "3.35.0-461",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Elementor Team",
|
|
6
6
|
"homepage": "https://elementor.com/",
|
|
@@ -39,27 +39,27 @@
|
|
|
39
39
|
"dev": "tsup --config=../../tsup.dev.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@elementor/editor": "3.35.0-
|
|
43
|
-
"@elementor/editor-canvas": "3.35.0-
|
|
44
|
-
"@elementor/editor-controls": "3.35.0-
|
|
45
|
-
"@elementor/editor-documents": "3.35.0-
|
|
46
|
-
"@elementor/editor-elements": "3.35.0-
|
|
47
|
-
"@elementor/editor-interactions": "3.35.0-
|
|
48
|
-
"@elementor/editor-panels": "3.35.0-
|
|
49
|
-
"@elementor/editor-props": "3.35.0-
|
|
50
|
-
"@elementor/editor-responsive": "3.35.0-
|
|
51
|
-
"@elementor/editor-styles": "3.35.0-
|
|
52
|
-
"@elementor/editor-styles-repository": "3.35.0-
|
|
53
|
-
"@elementor/editor-ui": "3.35.0-
|
|
54
|
-
"@elementor/editor-v1-adapters": "3.35.0-
|
|
42
|
+
"@elementor/editor": "3.35.0-461",
|
|
43
|
+
"@elementor/editor-canvas": "3.35.0-461",
|
|
44
|
+
"@elementor/editor-controls": "3.35.0-461",
|
|
45
|
+
"@elementor/editor-documents": "3.35.0-461",
|
|
46
|
+
"@elementor/editor-elements": "3.35.0-461",
|
|
47
|
+
"@elementor/editor-interactions": "3.35.0-461",
|
|
48
|
+
"@elementor/editor-panels": "3.35.0-461",
|
|
49
|
+
"@elementor/editor-props": "3.35.0-461",
|
|
50
|
+
"@elementor/editor-responsive": "3.35.0-461",
|
|
51
|
+
"@elementor/editor-styles": "3.35.0-461",
|
|
52
|
+
"@elementor/editor-styles-repository": "3.35.0-461",
|
|
53
|
+
"@elementor/editor-ui": "3.35.0-461",
|
|
54
|
+
"@elementor/editor-v1-adapters": "3.35.0-461",
|
|
55
55
|
"@elementor/icons": "^1.63.0",
|
|
56
|
-
"@elementor/locations": "3.35.0-
|
|
57
|
-
"@elementor/menus": "3.35.0-
|
|
58
|
-
"@elementor/schema": "3.35.0-
|
|
59
|
-
"@elementor/session": "3.35.0-
|
|
56
|
+
"@elementor/locations": "3.35.0-461",
|
|
57
|
+
"@elementor/menus": "3.35.0-461",
|
|
58
|
+
"@elementor/schema": "3.35.0-461",
|
|
59
|
+
"@elementor/session": "3.35.0-461",
|
|
60
60
|
"@elementor/ui": "1.36.17",
|
|
61
|
-
"@elementor/utils": "3.35.0-
|
|
62
|
-
"@elementor/wp-media": "3.35.0-
|
|
61
|
+
"@elementor/utils": "3.35.0-461",
|
|
62
|
+
"@elementor/wp-media": "3.35.0-461",
|
|
63
63
|
"@wordpress/i18n": "^5.13.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|