@elementor/editor-editing-panel 3.33.0-141 → 3.33.0-142
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/controls-registry/controls-registry.tsx +2 -2
- package/src/dynamics/components/dynamic-selection-control.tsx +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -657,7 +657,7 @@ declare const controlTypes: {
|
|
|
657
657
|
};
|
|
658
658
|
};
|
|
659
659
|
readonly select: {
|
|
660
|
-
readonly component: ControlComponent<({
|
|
660
|
+
readonly component: ControlComponent<({ collectionId, options, ...props }: {
|
|
661
661
|
options: {
|
|
662
662
|
label: string;
|
|
663
663
|
value: _elementor_editor_props.StringPropValue["value"];
|
|
@@ -665,6 +665,8 @@ declare const controlTypes: {
|
|
|
665
665
|
}[];
|
|
666
666
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
667
667
|
MenuProps?: _mui_material.SelectProps["MenuProps"];
|
|
668
|
+
} & {
|
|
669
|
+
collectionId?: "off-canvas";
|
|
668
670
|
}) => react.JSX.Element>;
|
|
669
671
|
readonly layout: "two-columns";
|
|
670
672
|
readonly propTypeUtil: {
|
package/dist/index.d.ts
CHANGED
|
@@ -657,7 +657,7 @@ declare const controlTypes: {
|
|
|
657
657
|
};
|
|
658
658
|
};
|
|
659
659
|
readonly select: {
|
|
660
|
-
readonly component: ControlComponent<({
|
|
660
|
+
readonly component: ControlComponent<({ collectionId, options, ...props }: {
|
|
661
661
|
options: {
|
|
662
662
|
label: string;
|
|
663
663
|
value: _elementor_editor_props.StringPropValue["value"];
|
|
@@ -665,6 +665,8 @@ declare const controlTypes: {
|
|
|
665
665
|
}[];
|
|
666
666
|
onChange?: (newValue: string | null, previousValue: string | null | undefined) => void;
|
|
667
667
|
MenuProps?: _mui_material.SelectProps["MenuProps"];
|
|
668
|
+
} & {
|
|
669
|
+
collectionId?: "off-canvas";
|
|
668
670
|
}) => react.JSX.Element>;
|
|
669
671
|
readonly layout: "two-columns";
|
|
670
672
|
readonly propTypeUtil: {
|
package/dist/index.js
CHANGED
|
@@ -1835,7 +1835,7 @@ var controlTypes = {
|
|
|
1835
1835
|
text: { component: import_editor_controls3.TextControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
1836
1836
|
textarea: { component: import_editor_controls3.TextAreaControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
1837
1837
|
size: { component: import_editor_controls3.SizeControl, layout: "two-columns", propTypeUtil: import_editor_props4.sizePropTypeUtil },
|
|
1838
|
-
select: { component: import_editor_controls3.
|
|
1838
|
+
select: { component: import_editor_controls3.SelectControlWrapper, layout: "two-columns", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
1839
1839
|
link: { component: import_editor_controls3.LinkControl, layout: "custom", propTypeUtil: import_editor_props4.linkPropTypeUtil },
|
|
1840
1840
|
query: { component: import_editor_controls3.QueryControl, layout: "full", propTypeUtil: import_editor_props4.queryPropTypeUtil },
|
|
1841
1841
|
url: { component: import_editor_controls3.UrlControl, layout: "full", propTypeUtil: import_editor_props4.stringPropTypeUtil },
|
|
@@ -5409,7 +5409,9 @@ var DynamicSettings = ({ controls }) => {
|
|
|
5409
5409
|
}));
|
|
5410
5410
|
};
|
|
5411
5411
|
var LAYOUT_OVERRIDE_FIELDS = {
|
|
5412
|
-
separator: "two-columns"
|
|
5412
|
+
separator: "two-columns",
|
|
5413
|
+
action: "full",
|
|
5414
|
+
off_canvas: "full"
|
|
5413
5415
|
};
|
|
5414
5416
|
var getLayout = (control) => {
|
|
5415
5417
|
return LAYOUT_OVERRIDE_FIELDS[control.bind] ?? controlsRegistry.getLayout(control.type);
|