@elementor/editor-controls 3.32.0-54 → 3.32.0-56

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.mjs CHANGED
@@ -3330,7 +3330,7 @@ import {
3330
3330
  backgroundOverlayPropTypeUtil,
3331
3331
  colorPropTypeUtil as colorPropTypeUtil3
3332
3332
  } from "@elementor/editor-props";
3333
- import { Box as Box10, CardMedia as CardMedia3, styled as styled7, Tab, TabPanel, Tabs, UnstableColorIndicator as UnstableColorIndicator3 } from "@elementor/ui";
3333
+ import { Box as Box11, CardMedia as CardMedia3, styled as styled7, Tab, TabPanel, Tabs, UnstableColorIndicator as UnstableColorIndicator3 } from "@elementor/ui";
3334
3334
  import { useWpMediaAttachment as useWpMediaAttachment3 } from "@elementor/wp-media";
3335
3335
  import { __ as __31 } from "@wordpress/i18n";
3336
3336
 
@@ -3469,7 +3469,7 @@ var ConditionalToolTip = ({
3469
3469
 
3470
3470
  // src/components/unstable-repeater/header/header.tsx
3471
3471
  import * as React54 from "react";
3472
- import { Stack as Stack16, Typography as Typography5 } from "@elementor/ui";
3472
+ import { Box as Box9, Stack as Stack16, Typography as Typography5 } from "@elementor/ui";
3473
3473
 
3474
3474
  // src/controls/transform-control/transform-base-control.tsx
3475
3475
  import * as React53 from "react";
@@ -3615,7 +3615,7 @@ var Header = ({ label, children }) => {
3615
3615
  /* @__PURE__ */ React54.createElement(Typography5, { component: "label", variant: "caption", color: "text.secondary", sx: { lineHeight: 1 } }, label),
3616
3616
  /* @__PURE__ */ React54.createElement(ControlAdornments, null),
3617
3617
  /* @__PURE__ */ React54.createElement(RepeaterHeaderActionsSlot, { value }),
3618
- /* @__PURE__ */ React54.createElement(SlotChildren, { whitelist: [TransformBaseControl, TooltipAddItemAction], sorted: true }, children)
3618
+ /* @__PURE__ */ React54.createElement(Box9, { sx: { ml: "auto" } }, /* @__PURE__ */ React54.createElement(SlotChildren, { whitelist: [TransformBaseControl, TooltipAddItemAction], sorted: true }, children))
3619
3619
  );
3620
3620
  };
3621
3621
 
@@ -3762,7 +3762,7 @@ import * as React61 from "react";
3762
3762
 
3763
3763
  // src/components/unstable-repeater/items/edit-item-popover.tsx
3764
3764
  import * as React60 from "react";
3765
- import { bindPopover as bindPopover6, Box as Box9, Popover as Popover6 } from "@elementor/ui";
3765
+ import { bindPopover as bindPopover6, Box as Box10, Popover as Popover6 } from "@elementor/ui";
3766
3766
  var EditItemPopover = ({ children }) => {
3767
3767
  const { popoverState, openItemIndex, isOpen, rowRef, setOpenItemIndex, setRowRef, items: items2 } = useRepeaterContext();
3768
3768
  const popoverProps = bindPopover6(popoverState);
@@ -3789,7 +3789,7 @@ var EditItemPopover = ({ children }) => {
3789
3789
  anchorEl: rowRef,
3790
3790
  onClose
3791
3791
  },
3792
- /* @__PURE__ */ React60.createElement(PropKeyProvider, { bind: String(openItemIndex) }, /* @__PURE__ */ React60.createElement(Box9, null, React60.isValidElement(children) && React60.cloneElement(children, { bind, index: openItemIndex })))
3792
+ /* @__PURE__ */ React60.createElement(PropKeyProvider, { bind: String(openItemIndex) }, /* @__PURE__ */ React60.createElement(Box10, null, React60.isValidElement(children) && React60.cloneElement(children, { bind, index: openItemIndex })))
3793
3793
  );
3794
3794
  };
3795
3795
 
@@ -4191,7 +4191,7 @@ var ItemContent3 = () => {
4191
4191
  gradient: initialBackgroundGradientOverlay.value
4192
4192
  });
4193
4193
  const { rowRef } = useRepeaterContext();
4194
- return /* @__PURE__ */ React67.createElement(Box10, { sx: { width: "100%" } }, /* @__PURE__ */ React67.createElement(Box10, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React67.createElement(
4194
+ return /* @__PURE__ */ React67.createElement(Box11, { sx: { width: "100%" } }, /* @__PURE__ */ React67.createElement(Box11, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React67.createElement(
4195
4195
  Tabs,
4196
4196
  {
4197
4197
  size: "small",
@@ -4325,7 +4325,7 @@ var BackgroundControl = createControl(() => {
4325
4325
  import * as React69 from "react";
4326
4326
  import { useMemo as useMemo5 } from "react";
4327
4327
  import { createArrayPropUtils } from "@elementor/editor-props";
4328
- import { Box as Box11 } from "@elementor/ui";
4328
+ import { Box as Box12 } from "@elementor/ui";
4329
4329
 
4330
4330
  // src/hooks/use-repeatable-control-context.ts
4331
4331
  import { createContext as createContext8, useContext as useContext8 } from "react";
@@ -4454,7 +4454,7 @@ var ItemLabel4 = ({ value }) => {
4454
4454
  const showPlaceholder = shouldShowPlaceholder(patternLabel, value);
4455
4455
  const label = showPlaceholder ? placeholder : interpolate(patternLabel, value);
4456
4456
  const color = showPlaceholder ? "text.tertiary" : "text.primary";
4457
- return /* @__PURE__ */ React69.createElement(Box11, { component: "span", color }, label);
4457
+ return /* @__PURE__ */ React69.createElement(Box12, { component: "span", color }, label);
4458
4458
  };
4459
4459
  var getAllProperties = (pattern) => {
4460
4460
  const properties = pattern.match(PLACEHOLDER_REGEX)?.map((match) => match.slice(2, -1)) || [];
@@ -4648,7 +4648,7 @@ var initialSkewValue = skewTransformPropTypeUtil.create({
4648
4648
 
4649
4649
  // src/controls/transform-control/transform-content.tsx
4650
4650
  import * as React78 from "react";
4651
- import { Box as Box12, Tab as Tab2, TabPanel as TabPanel2, Tabs as Tabs2 } from "@elementor/ui";
4651
+ import { Box as Box13, Tab as Tab2, TabPanel as TabPanel2, Tabs as Tabs2 } from "@elementor/ui";
4652
4652
  import { __ as __39 } from "@wordpress/i18n";
4653
4653
 
4654
4654
  // src/controls/transform-control/functions/move.tsx
@@ -4880,7 +4880,7 @@ var TransformContent = () => {
4880
4880
  rotate: initialRotateValue.value,
4881
4881
  skew: initialSkewValue.value
4882
4882
  });
4883
- return /* @__PURE__ */ React78.createElement(PopoverContent, null, /* @__PURE__ */ React78.createElement(Box12, { sx: { width: "100%" } }, /* @__PURE__ */ React78.createElement(Box12, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React78.createElement(
4883
+ return /* @__PURE__ */ React78.createElement(PopoverContent, null, /* @__PURE__ */ React78.createElement(Box13, { sx: { width: "100%" } }, /* @__PURE__ */ React78.createElement(Box13, { sx: { borderBottom: 1, borderColor: "divider" } }, /* @__PURE__ */ React78.createElement(
4884
4884
  Tabs2,
4885
4885
  {
4886
4886
  size: "small",
@@ -4920,7 +4920,7 @@ var TransformIcon = ({ value }) => {
4920
4920
 
4921
4921
  // src/controls/transform-control/transform-label.tsx
4922
4922
  import * as React80 from "react";
4923
- import { Box as Box13 } from "@elementor/ui";
4923
+ import { Box as Box14 } from "@elementor/ui";
4924
4924
  import { __ as __40 } from "@wordpress/i18n";
4925
4925
  var transformMoveValue = (value) => Object.values(value).map((axis) => {
4926
4926
  const size = axis?.value?.size ?? defaultValues.move.size;
@@ -4954,7 +4954,7 @@ var TransformLabel = (props) => {
4954
4954
  }
4955
4955
  };
4956
4956
  var Label2 = ({ label, value }) => {
4957
- return /* @__PURE__ */ React80.createElement(Box13, { component: "span" }, label, ": ", value);
4957
+ return /* @__PURE__ */ React80.createElement(Box14, { component: "span" }, label, ": ", value);
4958
4958
  };
4959
4959
 
4960
4960
  // src/controls/transform-control/transform-repeater-control.tsx
@@ -5051,7 +5051,7 @@ import * as React83 from "react";
5051
5051
  import { useRef as useRef21 } from "react";
5052
5052
  import { keyValuePropTypeUtil as keyValuePropTypeUtil2 } from "@elementor/editor-props";
5053
5053
  import { ChevronDownIcon as ChevronDownIcon3, VariationsIcon } from "@elementor/icons";
5054
- import { bindPopover as bindPopover7, bindTrigger as bindTrigger6, Box as Box14, Popover as Popover7, UnstableTag as UnstableTag4, usePopupState as usePopupState8 } from "@elementor/ui";
5054
+ import { bindPopover as bindPopover7, bindTrigger as bindTrigger6, Box as Box15, Popover as Popover7, UnstableTag as UnstableTag4, usePopupState as usePopupState8 } from "@elementor/ui";
5055
5055
  import { __ as __43 } from "@wordpress/i18n";
5056
5056
  var toTransitionSelectorValue = (label) => {
5057
5057
  for (const category of transitionProperties) {
@@ -5120,7 +5120,7 @@ var TransitionSelector = ({ recentlyUsedList }) => {
5120
5120
  left: rect.right + 36
5121
5121
  };
5122
5122
  };
5123
- return /* @__PURE__ */ React83.createElement(Box14, { ref: defaultRef }, /* @__PURE__ */ React83.createElement(
5123
+ return /* @__PURE__ */ React83.createElement(Box15, { ref: defaultRef }, /* @__PURE__ */ React83.createElement(
5124
5124
  UnstableTag4,
5125
5125
  {
5126
5126
  variant: "outlined",
@@ -5215,8 +5215,8 @@ import { useTheme as useTheme2 } from "@elementor/ui";
5215
5215
  import { Editor } from "@monaco-editor/react";
5216
5216
 
5217
5217
  // src/components/css-code-editor/css-editor.styles.ts
5218
- import { Box as Box15, Button as Button5, styled as styled8 } from "@elementor/ui";
5219
- var EditorWrapper = styled8(Box15)`
5218
+ import { Box as Box16, Button as Button5, styled as styled8 } from "@elementor/ui";
5219
+ var EditorWrapper = styled8(Box16)`
5220
5220
  border: 1px solid var( --e-a-border-color );
5221
5221
  border-radius: 8px;
5222
5222
  padding: 10px 12px;