@elementor/editor-controls 3.32.0-46 → 3.32.0-47
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.js +20 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +20 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/components/unstable-repeater/header/header.tsx +1 -1
- package/src/controls/background-control/background-overlay/background-overlay-repeater-control.tsx +2 -0
- package/src/controls/repeatable-control.tsx +29 -27
- package/src/controls/transition-control/transition-selector.tsx +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3613,9 +3613,9 @@ var Header = ({ label, children }) => {
|
|
|
3613
3613
|
sx: { marginInlineEnd: -0.75, py: 0.25 }
|
|
3614
3614
|
},
|
|
3615
3615
|
/* @__PURE__ */ React54.createElement(Typography5, { component: "label", variant: "caption", color: "text.secondary", sx: { lineHeight: 1 } }, label),
|
|
3616
|
+
/* @__PURE__ */ React54.createElement(ControlAdornments, null),
|
|
3616
3617
|
/* @__PURE__ */ React54.createElement(RepeaterHeaderActionsSlot, { value }),
|
|
3617
|
-
/* @__PURE__ */ React54.createElement(SlotChildren, { whitelist: [TransformBaseControl, TooltipAddItemAction], sorted: true }, children)
|
|
3618
|
-
/* @__PURE__ */ React54.createElement(ControlAdornments, null)
|
|
3618
|
+
/* @__PURE__ */ React54.createElement(SlotChildren, { whitelist: [TransformBaseControl, TooltipAddItemAction], sorted: true }, children)
|
|
3619
3619
|
);
|
|
3620
3620
|
};
|
|
3621
3621
|
|
|
@@ -4279,6 +4279,8 @@ var ImageOverlayContent = () => {
|
|
|
4279
4279
|
return /* @__PURE__ */ React67.createElement(PropProvider, { ...propContext }, /* @__PURE__ */ React67.createElement(PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React67.createElement(ImageControl, { sizes: backgroundResolutionOptions })), /* @__PURE__ */ React67.createElement(PropKeyProvider, { bind: "position" }, /* @__PURE__ */ React67.createElement(BackgroundImageOverlayPosition, null)), /* @__PURE__ */ React67.createElement(PropKeyProvider, { bind: "repeat" }, /* @__PURE__ */ React67.createElement(BackgroundImageOverlayRepeat, null)), /* @__PURE__ */ React67.createElement(PropKeyProvider, { bind: "size" }, /* @__PURE__ */ React67.createElement(BackgroundImageOverlaySize, null)), /* @__PURE__ */ React67.createElement(PropKeyProvider, { bind: "attachment" }, /* @__PURE__ */ React67.createElement(BackgroundImageOverlayAttachment, null)));
|
|
4280
4280
|
};
|
|
4281
4281
|
var StyledUnstableColorIndicator2 = styled7(UnstableColorIndicator3)(({ theme }) => ({
|
|
4282
|
+
height: "1rem",
|
|
4283
|
+
width: "1rem",
|
|
4282
4284
|
borderRadius: `${theme.shape.borderRadius / 2}px`
|
|
4283
4285
|
}));
|
|
4284
4286
|
var useImage = (image) => {
|
|
@@ -4366,28 +4368,26 @@ var RepeatableControl = createControl(
|
|
|
4366
4368
|
);
|
|
4367
4369
|
const { propType, value, setValue } = useBoundProp(childArrayPropTypeUtil);
|
|
4368
4370
|
return /* @__PURE__ */ React69.createElement(PropProvider, { propType, value, setValue }, /* @__PURE__ */ React69.createElement(RepeatableControlContext.Provider, { value: contextValue }, /* @__PURE__ */ React69.createElement(
|
|
4369
|
-
|
|
4371
|
+
UnstableRepeater,
|
|
4370
4372
|
{
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
initialValues: childPropTypeUtil.create(initialValues || null)
|
|
4373
|
+
initial: childPropTypeUtil.create(initialValues || null),
|
|
4374
|
+
propTypeUtil: childArrayPropTypeUtil
|
|
4375
|
+
},
|
|
4376
|
+
/* @__PURE__ */ React69.createElement(Header, { label: repeaterLabel }, /* @__PURE__ */ React69.createElement(TooltipAddItemAction, { newItemIndex: 0 })),
|
|
4377
|
+
/* @__PURE__ */ React69.createElement(
|
|
4378
|
+
ItemsContainer,
|
|
4379
|
+
{
|
|
4380
|
+
isSortable: false,
|
|
4381
|
+
itemTemplate: /* @__PURE__ */ React69.createElement(Item, { Icon: ItemIcon4, Label: ItemLabel4 })
|
|
4381
4382
|
},
|
|
4382
|
-
showDuplicate,
|
|
4383
|
-
showToggle
|
|
4384
|
-
|
|
4383
|
+
showDuplicate && /* @__PURE__ */ React69.createElement(DuplicateItemAction, null),
|
|
4384
|
+
showToggle && /* @__PURE__ */ React69.createElement(DisableItemAction, null),
|
|
4385
|
+
/* @__PURE__ */ React69.createElement(RemoveItemAction, null)
|
|
4386
|
+
),
|
|
4387
|
+
/* @__PURE__ */ React69.createElement(EditItemPopover, null, /* @__PURE__ */ React69.createElement(Content3, null))
|
|
4385
4388
|
)));
|
|
4386
4389
|
}
|
|
4387
4390
|
);
|
|
4388
|
-
var ItemContent4 = ({ bind }) => {
|
|
4389
|
-
return /* @__PURE__ */ React69.createElement(PropKeyProvider, { bind }, /* @__PURE__ */ React69.createElement(Content3, null));
|
|
4390
|
-
};
|
|
4391
4391
|
var ItemIcon4 = () => /* @__PURE__ */ React69.createElement(React69.Fragment, null);
|
|
4392
4392
|
var Content3 = () => {
|
|
4393
4393
|
const { component: ChildControl, props = {} } = useRepeatableControlContext();
|
|
@@ -5093,7 +5093,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
|
|
|
5093
5093
|
}
|
|
5094
5094
|
return [
|
|
5095
5095
|
{
|
|
5096
|
-
label: __43("
|
|
5096
|
+
label: __43("Recently Used", "elementor"),
|
|
5097
5097
|
items: recentItems
|
|
5098
5098
|
},
|
|
5099
5099
|
...filteredItems
|