@elementor/editor-controls 3.32.0-45 → 3.32.0-46

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 CHANGED
@@ -1787,7 +1787,12 @@ var FilterRepeaterControl = createControl(({ filterPropName = "filter" }) => {
1787
1787
  }
1788
1788
  ));
1789
1789
  });
1790
- var ItemIcon2 = () => /* @__PURE__ */ React30.createElement(React30.Fragment, null);
1790
+ var StyledUnstableColorIndicator = (0, import_ui23.styled)(import_ui23.UnstableColorIndicator)(({ theme }) => ({
1791
+ borderRadius: `${theme.shape.borderRadius / 2}px`
1792
+ }));
1793
+ var ItemIcon2 = ({ value }) => {
1794
+ return isSingleSize(value.value.func.value ?? "") ? /* @__PURE__ */ React30.createElement(React30.Fragment, null) : /* @__PURE__ */ React30.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: value.value.args.value.color.value });
1795
+ };
1791
1796
  var ItemLabel2 = ({ value }) => {
1792
1797
  return isSingleSize(value.value.func.value ?? "") ? /* @__PURE__ */ React30.createElement(SingleSizeItemLabel, { value }) : /* @__PURE__ */ React30.createElement(DropShadowItemLabel, { value });
1793
1798
  };
@@ -4220,7 +4225,7 @@ var extractColorFrom = (prop) => {
4220
4225
  };
4221
4226
  var ItemIconColor = ({ value: prop }) => {
4222
4227
  const color = extractColorFrom(prop);
4223
- return /* @__PURE__ */ React67.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: color });
4228
+ return /* @__PURE__ */ React67.createElement(StyledUnstableColorIndicator2, { size: "inherit", component: "span", value: color });
4224
4229
  };
4225
4230
  var ItemIconImage = ({ value }) => {
4226
4231
  const { imageUrl } = useImage(value);
@@ -4239,7 +4244,7 @@ var ItemIconImage = ({ value }) => {
4239
4244
  };
4240
4245
  var ItemIconGradient = ({ value }) => {
4241
4246
  const gradient = getGradientValue(value);
4242
- return /* @__PURE__ */ React67.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
4247
+ return /* @__PURE__ */ React67.createElement(StyledUnstableColorIndicator2, { size: "inherit", component: "span", value: gradient });
4243
4248
  };
4244
4249
  var ItemLabel3 = ({ value }) => {
4245
4250
  switch (value.$$type) {
@@ -4275,7 +4280,7 @@ var ImageOverlayContent = () => {
4275
4280
  const propContext = useBoundProp(import_editor_props31.backgroundImageOverlayPropTypeUtil);
4276
4281
  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)));
4277
4282
  };
4278
- var StyledUnstableColorIndicator = (0, import_ui58.styled)(import_ui58.UnstableColorIndicator)(({ theme }) => ({
4283
+ var StyledUnstableColorIndicator2 = (0, import_ui58.styled)(import_ui58.UnstableColorIndicator)(({ theme }) => ({
4279
4284
  borderRadius: `${theme.shape.borderRadius / 2}px`
4280
4285
  }));
4281
4286
  var useImage = (image) => {