@elementor/editor-editing-panel 3.35.0-394 → 3.35.0-396

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
@@ -2040,7 +2040,16 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2040
2040
  }
2041
2041
  ), getCollapsibleValue(titleEnd, isOpen)),
2042
2042
  action,
2043
- /* @__PURE__ */ React19.createElement(import_editor_ui5.CollapseIcon, { open: isOpen, color: "secondary", fontSize: "tiny", disabled: isDisabled })
2043
+ /* @__PURE__ */ React19.createElement(
2044
+ import_editor_ui5.CollapseIcon,
2045
+ {
2046
+ open: isOpen,
2047
+ color: "secondary",
2048
+ fontSize: "tiny",
2049
+ disabled: isDisabled,
2050
+ sx: { ml: 1 }
2051
+ }
2052
+ )
2044
2053
  ), /* @__PURE__ */ React19.createElement(
2045
2054
  import_ui14.Collapse,
2046
2055
  {
@@ -4937,8 +4946,6 @@ var EditingPanelHooks = () => {
4937
4946
  var React86 = __toESM(require("react"));
4938
4947
  var import_react38 = require("react");
4939
4948
  var import_editor_ui8 = require("@elementor/editor-ui");
4940
- var import_icons22 = require("@elementor/icons");
4941
- var import_ui40 = require("@elementor/ui");
4942
4949
  var import_i18n58 = require("@wordpress/i18n");
4943
4950
  function getCustomCssPromotion() {
4944
4951
  const extendedWindow = window;
@@ -4963,22 +4970,7 @@ var CustomCssSection = () => {
4963
4970
  open: showInfoTip,
4964
4971
  setOpen: setShowInfoTip
4965
4972
  },
4966
- /* @__PURE__ */ React86.createElement(
4967
- import_ui40.Chip,
4968
- {
4969
- size: "tiny",
4970
- color: "promotion",
4971
- variant: "standard",
4972
- icon: /* @__PURE__ */ React86.createElement(import_icons22.CrownFilledIcon, null),
4973
- sx: {
4974
- mr: 1,
4975
- "& .MuiChip-label": {
4976
- display: "none"
4977
- }
4978
- },
4979
- onClick: () => setShowInfoTip(true)
4980
- }
4981
- )
4973
+ /* @__PURE__ */ React86.createElement(import_editor_ui8.PromotionChip, { onClick: () => setShowInfoTip(true) })
4982
4974
  )
4983
4975
  }
4984
4976
  }
@@ -5001,8 +4993,8 @@ var React87 = __toESM(require("react"));
5001
4993
  var import_editor_controls53 = require("@elementor/editor-controls");
5002
4994
  var import_editor_elements17 = require("@elementor/editor-elements");
5003
4995
  var import_editor_props16 = require("@elementor/editor-props");
5004
- var import_icons23 = require("@elementor/icons");
5005
- var import_ui41 = require("@elementor/ui");
4996
+ var import_icons22 = require("@elementor/icons");
4997
+ var import_ui40 = require("@elementor/ui");
5006
4998
  var import_i18n60 = require("@wordpress/i18n");
5007
4999
 
5008
5000
  // src/controls-registry/element-controls/get-element-by-type.ts
@@ -5281,7 +5273,7 @@ var ItemLabel = ({ value, index }) => {
5281
5273
  const id = value.id ?? "";
5282
5274
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(id);
5283
5275
  const elementTitle = editorSettings?.title;
5284
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React87.createElement("span", null, elementTitle), /* @__PURE__ */ React87.createElement(ItemDefaultTab, { index }));
5276
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React87.createElement("span", null, elementTitle), /* @__PURE__ */ React87.createElement(ItemDefaultTab, { index }));
5285
5277
  };
5286
5278
  var ItemDefaultTab = ({ index }) => {
5287
5279
  const { value: defaultItem } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
@@ -5289,19 +5281,19 @@ var ItemDefaultTab = ({ index }) => {
5289
5281
  if (!isDefault) {
5290
5282
  return null;
5291
5283
  }
5292
- return /* @__PURE__ */ React87.createElement(import_ui41.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n60.__)("Default", "elementor") });
5284
+ return /* @__PURE__ */ React87.createElement(import_ui40.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n60.__)("Default", "elementor") });
5293
5285
  };
5294
5286
  var ItemContent = ({ value, index }) => {
5295
5287
  if (!value.id) {
5296
5288
  return null;
5297
5289
  }
5298
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React87.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React87.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n60.__)("Tabs", "elementor") }, /* @__PURE__ */ React87.createElement(DefaultTabControl, { tabIndex: index })));
5290
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React87.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React87.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n60.__)("Tabs", "elementor") }, /* @__PURE__ */ React87.createElement(DefaultTabControl, { tabIndex: index })));
5299
5291
  };
5300
5292
  var DefaultTabControl = ({ tabIndex }) => {
5301
5293
  const { value, setValue } = (0, import_editor_controls53.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5302
5294
  const isDefault = value === tabIndex;
5303
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React87.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n60.__)("Set as default tab", "elementor")), /* @__PURE__ */ React87.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React87.createElement(
5304
- import_ui41.Switch,
5295
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React87.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n60.__)("Set as default tab", "elementor")), /* @__PURE__ */ React87.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React87.createElement(
5296
+ import_ui40.Switch,
5305
5297
  {
5306
5298
  size: "small",
5307
5299
  checked: isDefault,
@@ -5318,8 +5310,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5318
5310
  var TabLabelControl = ({ elementId }) => {
5319
5311
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5320
5312
  const label = editorSettings?.title ?? "";
5321
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { gap: 1 }, /* @__PURE__ */ React87.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n60.__)("Tab name", "elementor")), /* @__PURE__ */ React87.createElement(
5322
- import_ui41.TextField,
5313
+ return /* @__PURE__ */ React87.createElement(import_ui40.Stack, { gap: 1 }, /* @__PURE__ */ React87.createElement(import_editor_controls53.ControlFormLabel, null, (0, import_i18n60.__)("Tab name", "elementor")), /* @__PURE__ */ React87.createElement(
5314
+ import_ui40.TextField,
5323
5315
  {
5324
5316
  size: "tiny",
5325
5317
  value: label,
@@ -5340,18 +5332,18 @@ var ConditionalTooltip = ({
5340
5332
  return children;
5341
5333
  }
5342
5334
  return /* @__PURE__ */ React87.createElement(
5343
- import_ui41.Infotip,
5335
+ import_ui40.Infotip,
5344
5336
  {
5345
5337
  arrow: false,
5346
5338
  content: /* @__PURE__ */ React87.createElement(
5347
- import_ui41.Alert,
5339
+ import_ui40.Alert,
5348
5340
  {
5349
5341
  color: "secondary",
5350
- icon: /* @__PURE__ */ React87.createElement(import_icons23.InfoCircleFilledIcon, { fontSize: "tiny" }),
5342
+ icon: /* @__PURE__ */ React87.createElement(import_icons22.InfoCircleFilledIcon, { fontSize: "tiny" }),
5351
5343
  size: "small",
5352
5344
  sx: { width: 288 }
5353
5345
  },
5354
- /* @__PURE__ */ React87.createElement(import_ui41.Typography, { variant: "body2" }, (0, import_i18n60.__)("To change the default tab, simply set another tab as default.", "elementor"))
5346
+ /* @__PURE__ */ React87.createElement(import_ui40.Typography, { variant: "body2" }, (0, import_i18n60.__)("To change the default tab, simply set another tab as default.", "elementor"))
5355
5347
  )
5356
5348
  },
5357
5349
  /* @__PURE__ */ React87.createElement("span", null, children)
@@ -5378,7 +5370,7 @@ var import_editor_controls60 = require("@elementor/editor-controls");
5378
5370
  var React88 = __toESM(require("react"));
5379
5371
  var import_editor_controls55 = require("@elementor/editor-controls");
5380
5372
  var import_editor_props18 = require("@elementor/editor-props");
5381
- var import_icons24 = require("@elementor/icons");
5373
+ var import_icons23 = require("@elementor/icons");
5382
5374
 
5383
5375
  // src/dynamics/hooks/use-dynamic-tag.ts
5384
5376
  var import_react40 = require("react");
@@ -5471,7 +5463,7 @@ var useDynamicTag = (tagName) => {
5471
5463
  };
5472
5464
 
5473
5465
  // src/dynamics/components/background-control-dynamic-tag.tsx
5474
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React88.createElement(import_icons24.DatabaseIcon, { fontSize: "tiny" });
5466
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React88.createElement(import_icons23.DatabaseIcon, { fontSize: "tiny" });
5475
5467
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5476
5468
  const context = (0, import_editor_controls55.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5477
5469
  return /* @__PURE__ */ React88.createElement(import_editor_controls55.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React88.createElement(import_editor_controls55.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React88.createElement(Wrapper2, { rawValue: value.value })));
@@ -5491,8 +5483,8 @@ var Content = ({ rawValue }) => {
5491
5483
  var React92 = __toESM(require("react"));
5492
5484
  var import_editor_controls58 = require("@elementor/editor-controls");
5493
5485
  var import_editor_ui10 = require("@elementor/editor-ui");
5494
- var import_icons26 = require("@elementor/icons");
5495
- var import_ui43 = require("@elementor/ui");
5486
+ var import_icons25 = require("@elementor/icons");
5487
+ var import_ui42 = require("@elementor/ui");
5496
5488
  var import_i18n62 = require("@wordpress/i18n");
5497
5489
 
5498
5490
  // src/hooks/use-persist-dynamic-value.ts
@@ -5593,14 +5585,14 @@ var import_react41 = require("react");
5593
5585
  var React91 = __toESM(require("react"));
5594
5586
  var import_editor_controls57 = require("@elementor/editor-controls");
5595
5587
  var import_editor_ui9 = require("@elementor/editor-ui");
5596
- var import_icons25 = require("@elementor/icons");
5597
- var import_ui42 = require("@elementor/ui");
5588
+ var import_icons24 = require("@elementor/icons");
5589
+ var import_ui41 = require("@elementor/ui");
5598
5590
  var import_i18n61 = require("@wordpress/i18n");
5599
5591
  var SIZE4 = "tiny";
5600
5592
  var DynamicSelection = ({ close: closePopover }) => {
5601
5593
  const [searchValue, setSearchValue] = (0, import_react41.useState)("");
5602
5594
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
5603
- const theme = (0, import_ui42.useTheme)();
5595
+ const theme = (0, import_ui41.useTheme)();
5604
5596
  const { value: anyValue } = (0, import_editor_controls57.useBoundProp)();
5605
5597
  const { bind, value: dynamicValue, setValue } = (0, import_editor_controls57.useBoundProp)(dynamicPropTypeUtil);
5606
5598
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
@@ -5635,7 +5627,7 @@ var DynamicSelection = ({ close: closePopover }) => {
5635
5627
  {
5636
5628
  title: (0, import_i18n61.__)("Dynamic tags", "elementor"),
5637
5629
  onClose: closePopover,
5638
- icon: /* @__PURE__ */ React91.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE4 })
5630
+ icon: /* @__PURE__ */ React91.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4 })
5639
5631
  }
5640
5632
  ), hasNoDynamicTags ? /* @__PURE__ */ React91.createElement(NoDynamicTags, null) : /* @__PURE__ */ React91.createElement(import_react41.Fragment, null, /* @__PURE__ */ React91.createElement(
5641
5633
  import_editor_ui9.SearchField,
@@ -5644,7 +5636,7 @@ var DynamicSelection = ({ close: closePopover }) => {
5644
5636
  onSearch: handleSearch,
5645
5637
  placeholder: (0, import_i18n61.__)("Search dynamic tags\u2026", "elementor")
5646
5638
  }
5647
- ), /* @__PURE__ */ React91.createElement(import_ui42.Divider, null), /* @__PURE__ */ React91.createElement(
5639
+ ), /* @__PURE__ */ React91.createElement(import_ui41.Divider, null), /* @__PURE__ */ React91.createElement(
5648
5640
  import_editor_ui9.PopoverMenuList,
5649
5641
  {
5650
5642
  items: virtualizedItems,
@@ -5657,7 +5649,7 @@ var DynamicSelection = ({ close: closePopover }) => {
5657
5649
  )));
5658
5650
  };
5659
5651
  var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React91.createElement(
5660
- import_ui42.Stack,
5652
+ import_ui41.Stack,
5661
5653
  {
5662
5654
  gap: 1,
5663
5655
  alignItems: "center",
@@ -5667,12 +5659,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React91.createElem
5667
5659
  color: "text.secondary",
5668
5660
  sx: { pb: 3.5 }
5669
5661
  },
5670
- /* @__PURE__ */ React91.createElement(import_icons25.DatabaseIcon, { fontSize: "large" }),
5671
- /* @__PURE__ */ React91.createElement(import_ui42.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n61.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React91.createElement("br", null), "\u201C", searchValue, "\u201D."),
5672
- /* @__PURE__ */ React91.createElement(import_ui42.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n61.__)("Try something else.", "elementor"), /* @__PURE__ */ React91.createElement(import_ui42.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n61.__)("Clear & try again", "elementor")))
5662
+ /* @__PURE__ */ React91.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5663
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n61.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React91.createElement("br", null), "\u201C", searchValue, "\u201D."),
5664
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n61.__)("Try something else.", "elementor"), /* @__PURE__ */ React91.createElement(import_ui41.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n61.__)("Clear & try again", "elementor")))
5673
5665
  );
5674
- var NoDynamicTags = () => /* @__PURE__ */ React91.createElement(React91.Fragment, null, /* @__PURE__ */ React91.createElement(import_ui42.Divider, null), /* @__PURE__ */ React91.createElement(
5675
- import_ui42.Stack,
5666
+ var NoDynamicTags = () => /* @__PURE__ */ React91.createElement(React91.Fragment, null, /* @__PURE__ */ React91.createElement(import_ui41.Divider, null), /* @__PURE__ */ React91.createElement(
5667
+ import_ui41.Stack,
5676
5668
  {
5677
5669
  gap: 1,
5678
5670
  alignItems: "center",
@@ -5682,9 +5674,9 @@ var NoDynamicTags = () => /* @__PURE__ */ React91.createElement(React91.Fragment
5682
5674
  color: "text.secondary",
5683
5675
  sx: { pb: 3.5 }
5684
5676
  },
5685
- /* @__PURE__ */ React91.createElement(import_icons25.DatabaseIcon, { fontSize: "large" }),
5686
- /* @__PURE__ */ React91.createElement(import_ui42.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n61.__)("Streamline your workflow with dynamic tags", "elementor")),
5687
- /* @__PURE__ */ React91.createElement(import_ui42.Typography, { align: "center", variant: "caption" }, (0, import_i18n61.__)("You'll need Elementor Pro to use this feature.", "elementor"))
5677
+ /* @__PURE__ */ React91.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
5678
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n61.__)("Streamline your workflow with dynamic tags", "elementor")),
5679
+ /* @__PURE__ */ React91.createElement(import_ui41.Typography, { align: "center", variant: "caption" }, (0, import_i18n61.__)("You'll need Elementor Pro to use this feature.", "elementor"))
5688
5680
  ));
5689
5681
  var useFilteredOptions = (searchValue) => {
5690
5682
  const dynamicTags = usePropDynamicTags();
@@ -5709,7 +5701,7 @@ var DynamicSelectionControl = () => {
5709
5701
  const { setValue: setAnyValue } = (0, import_editor_controls58.useBoundProp)();
5710
5702
  const { bind, value } = (0, import_editor_controls58.useBoundProp)(dynamicPropTypeUtil);
5711
5703
  const [propValueFromHistory] = usePersistDynamicValue(bind);
5712
- const selectionPopoverState = (0, import_ui43.usePopupState)({ variant: "popover" });
5704
+ const selectionPopoverState = (0, import_ui42.usePopupState)({ variant: "popover" });
5713
5705
  const { name: tagName = "" } = value;
5714
5706
  const dynamicTag = useDynamicTag(tagName);
5715
5707
  const removeDynamicTag = () => {
@@ -5718,26 +5710,26 @@ var DynamicSelectionControl = () => {
5718
5710
  if (!dynamicTag) {
5719
5711
  throw new Error(`Dynamic tag ${tagName} not found`);
5720
5712
  }
5721
- return /* @__PURE__ */ React92.createElement(import_ui43.Box, null, /* @__PURE__ */ React92.createElement(
5722
- import_ui43.UnstableTag,
5713
+ return /* @__PURE__ */ React92.createElement(import_ui42.Box, null, /* @__PURE__ */ React92.createElement(
5714
+ import_ui42.UnstableTag,
5723
5715
  {
5724
5716
  fullWidth: true,
5725
5717
  showActionsOnHover: true,
5726
5718
  label: dynamicTag.label,
5727
- startIcon: /* @__PURE__ */ React92.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE5 }),
5728
- ...(0, import_ui43.bindTrigger)(selectionPopoverState),
5719
+ startIcon: /* @__PURE__ */ React92.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE5 }),
5720
+ ...(0, import_ui42.bindTrigger)(selectionPopoverState),
5729
5721
  actions: /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React92.createElement(
5730
- import_ui43.IconButton,
5722
+ import_ui42.IconButton,
5731
5723
  {
5732
5724
  size: SIZE5,
5733
5725
  onClick: removeDynamicTag,
5734
5726
  "aria-label": (0, import_i18n62.__)("Remove dynamic value", "elementor")
5735
5727
  },
5736
- /* @__PURE__ */ React92.createElement(import_icons26.XIcon, { fontSize: SIZE5 })
5728
+ /* @__PURE__ */ React92.createElement(import_icons25.XIcon, { fontSize: SIZE5 })
5737
5729
  ))
5738
5730
  }
5739
5731
  ), /* @__PURE__ */ React92.createElement(
5740
- import_ui43.Popover,
5732
+ import_ui42.Popover,
5741
5733
  {
5742
5734
  disablePortal: true,
5743
5735
  disableScrollLock: true,
@@ -5746,27 +5738,27 @@ var DynamicSelectionControl = () => {
5746
5738
  PaperProps: {
5747
5739
  sx: { my: 1 }
5748
5740
  },
5749
- ...(0, import_ui43.bindPopover)(selectionPopoverState)
5741
+ ...(0, import_ui42.bindPopover)(selectionPopoverState)
5750
5742
  },
5751
5743
  /* @__PURE__ */ React92.createElement(PopoverBody, { "aria-label": (0, import_i18n62.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React92.createElement(DynamicSelection, { close: selectionPopoverState.close }))
5752
5744
  ));
5753
5745
  };
5754
5746
  var DynamicSettingsPopover = ({ dynamicTag }) => {
5755
- const popupState = (0, import_ui43.usePopupState)({ variant: "popover" });
5747
+ const popupState = (0, import_ui42.usePopupState)({ variant: "popover" });
5756
5748
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
5757
5749
  if (!hasDynamicSettings) {
5758
5750
  return null;
5759
5751
  }
5760
5752
  return /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(
5761
- import_ui43.IconButton,
5753
+ import_ui42.IconButton,
5762
5754
  {
5763
5755
  size: SIZE5,
5764
- ...(0, import_ui43.bindTrigger)(popupState),
5756
+ ...(0, import_ui42.bindTrigger)(popupState),
5765
5757
  "aria-label": (0, import_i18n62.__)("Dynamic settings", "elementor")
5766
5758
  },
5767
- /* @__PURE__ */ React92.createElement(import_icons26.SettingsIcon, { fontSize: SIZE5 })
5759
+ /* @__PURE__ */ React92.createElement(import_icons25.SettingsIcon, { fontSize: SIZE5 })
5768
5760
  ), /* @__PURE__ */ React92.createElement(
5769
- import_ui43.Popover,
5761
+ import_ui42.Popover,
5770
5762
  {
5771
5763
  disablePortal: true,
5772
5764
  disableScrollLock: true,
@@ -5775,39 +5767,39 @@ var DynamicSettingsPopover = ({ dynamicTag }) => {
5775
5767
  PaperProps: {
5776
5768
  sx: { my: 1 }
5777
5769
  },
5778
- ...(0, import_ui43.bindPopover)(popupState)
5770
+ ...(0, import_ui42.bindPopover)(popupState)
5779
5771
  },
5780
5772
  /* @__PURE__ */ React92.createElement(PopoverBody, { "aria-label": (0, import_i18n62.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React92.createElement(
5781
5773
  import_editor_ui10.PopoverHeader,
5782
5774
  {
5783
5775
  title: dynamicTag.label,
5784
5776
  onClose: popupState.close,
5785
- icon: /* @__PURE__ */ React92.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE5 })
5777
+ icon: /* @__PURE__ */ React92.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE5 })
5786
5778
  }
5787
5779
  ), /* @__PURE__ */ React92.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
5788
5780
  ));
5789
5781
  };
5790
5782
  var DynamicSettings = ({ controls, tagName }) => {
5791
5783
  const tabs = controls.filter(({ type }) => type === "section");
5792
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui43.useTabs)(0);
5784
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui42.useTabs)(0);
5793
5785
  if (!tabs.length) {
5794
5786
  return null;
5795
5787
  }
5796
5788
  if (tagsWithoutTabs.includes(tagName)) {
5797
5789
  const singleTab = tabs[0];
5798
- return /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(import_ui43.Divider, null), /* @__PURE__ */ React92.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5790
+ return /* @__PURE__ */ React92.createElement(React92.Fragment, null, /* @__PURE__ */ React92.createElement(import_ui42.Divider, null), /* @__PURE__ */ React92.createElement(ControlsItemsStack, { items: singleTab.value.items }));
5799
5791
  }
5800
- return /* @__PURE__ */ React92.createElement(React92.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React92.createElement(import_ui43.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React92.createElement(
5801
- import_ui43.Tab,
5792
+ return /* @__PURE__ */ React92.createElement(React92.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React92.createElement(import_ui42.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React92.createElement(
5793
+ import_ui42.Tab,
5802
5794
  {
5803
5795
  key: index,
5804
5796
  label: value.label,
5805
5797
  sx: { px: 1, py: 0.5 },
5806
5798
  ...getTabProps(index)
5807
5799
  }
5808
- ))), /* @__PURE__ */ React92.createElement(import_ui43.Divider, null), tabs.map(({ value }, index) => {
5800
+ ))), /* @__PURE__ */ React92.createElement(import_ui42.Divider, null), tabs.map(({ value }, index) => {
5809
5801
  return /* @__PURE__ */ React92.createElement(
5810
- import_ui43.TabPanel,
5802
+ import_ui42.TabPanel,
5811
5803
  {
5812
5804
  key: index,
5813
5805
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
@@ -5855,10 +5847,10 @@ var Control2 = ({ control }) => {
5855
5847
  display: "grid",
5856
5848
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
5857
5849
  } : {};
5858
- return /* @__PURE__ */ React92.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React92.createElement(import_ui43.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React92.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React92.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(Control, { type: control.type, props: controlProps }))));
5850
+ return /* @__PURE__ */ React92.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React92.createElement(import_ui42.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React92.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(import_editor_controls58.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React92.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React92.createElement(Control, { type: control.type, props: controlProps }))));
5859
5851
  };
5860
5852
  function ControlsItemsStack({ items: items3 }) {
5861
- return /* @__PURE__ */ React92.createElement(import_ui43.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5853
+ return /* @__PURE__ */ React92.createElement(import_ui42.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
5862
5854
  (item) => item.type === "control" ? /* @__PURE__ */ React92.createElement(Control2, { key: item.value.bind, control: item.value }) : null
5863
5855
  ));
5864
5856
  }
@@ -5915,14 +5907,14 @@ function getDynamicValue(name, settings) {
5915
5907
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
5916
5908
  var React93 = __toESM(require("react"));
5917
5909
  var import_editor_controls59 = require("@elementor/editor-controls");
5918
- var import_icons27 = require("@elementor/icons");
5910
+ var import_icons26 = require("@elementor/icons");
5919
5911
  var import_i18n63 = require("@wordpress/i18n");
5920
5912
  var usePropDynamicAction = () => {
5921
5913
  const { propType } = (0, import_editor_controls59.useBoundProp)();
5922
5914
  const visible = !!propType && supportsDynamic(propType);
5923
5915
  return {
5924
5916
  visible,
5925
- icon: import_icons27.DatabaseIcon,
5917
+ icon: import_icons26.DatabaseIcon,
5926
5918
  title: (0, import_i18n63.__)("Dynamic tags", "elementor"),
5927
5919
  content: ({ close }) => /* @__PURE__ */ React93.createElement(DynamicSelection, { close })
5928
5920
  };
@@ -5955,7 +5947,7 @@ var init2 = () => {
5955
5947
 
5956
5948
  // src/reset-style-props.tsx
5957
5949
  var import_editor_controls61 = require("@elementor/editor-controls");
5958
- var import_icons28 = require("@elementor/icons");
5950
+ var import_icons27 = require("@elementor/icons");
5959
5951
  var import_i18n64 = require("@wordpress/i18n");
5960
5952
 
5961
5953
  // src/utils/is-equal.ts
@@ -6029,7 +6021,7 @@ function useResetStyleValueProps() {
6029
6021
  return {
6030
6022
  visible,
6031
6023
  title: (0, import_i18n64.__)("Clear", "elementor"),
6032
- icon: import_icons28.BrushBigIcon,
6024
+ icon: import_icons27.BrushBigIcon,
6033
6025
  onClick: () => resetValue()
6034
6026
  };
6035
6027
  }
@@ -6046,7 +6038,7 @@ var React98 = __toESM(require("react"));
6046
6038
  var import_react43 = require("react");
6047
6039
  var import_editor_canvas6 = require("@elementor/editor-canvas");
6048
6040
  var import_editor_ui11 = require("@elementor/editor-ui");
6049
- var import_ui48 = require("@elementor/ui");
6041
+ var import_ui47 = require("@elementor/ui");
6050
6042
  var import_i18n67 = require("@wordpress/i18n");
6051
6043
 
6052
6044
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
@@ -6128,18 +6120,18 @@ var stylesInheritanceTransformersRegistry = (0, import_editor_canvas5.createTran
6128
6120
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6129
6121
  var React94 = __toESM(require("react"));
6130
6122
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6131
- var import_icons29 = require("@elementor/icons");
6132
- var import_ui44 = require("@elementor/ui");
6123
+ var import_icons28 = require("@elementor/icons");
6124
+ var import_ui43 = require("@elementor/ui");
6133
6125
  var SIZE6 = "tiny";
6134
6126
  var DEFAULT_BREAKPOINT3 = "desktop";
6135
6127
  var breakpointIconMap = {
6136
- widescreen: import_icons29.WidescreenIcon,
6137
- desktop: import_icons29.DesktopIcon,
6138
- laptop: import_icons29.LaptopIcon,
6139
- tablet_extra: import_icons29.TabletLandscapeIcon,
6140
- tablet: import_icons29.TabletPortraitIcon,
6141
- mobile_extra: import_icons29.MobileLandscapeIcon,
6142
- mobile: import_icons29.MobilePortraitIcon
6128
+ widescreen: import_icons28.WidescreenIcon,
6129
+ desktop: import_icons28.DesktopIcon,
6130
+ laptop: import_icons28.LaptopIcon,
6131
+ tablet_extra: import_icons28.TabletLandscapeIcon,
6132
+ tablet: import_icons28.TabletPortraitIcon,
6133
+ mobile_extra: import_icons28.MobileLandscapeIcon,
6134
+ mobile: import_icons28.MobilePortraitIcon
6143
6135
  };
6144
6136
  var BreakpointIcon = ({ breakpoint }) => {
6145
6137
  const breakpoints = (0, import_editor_responsive4.useBreakpoints)();
@@ -6149,21 +6141,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6149
6141
  return null;
6150
6142
  }
6151
6143
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6152
- return /* @__PURE__ */ React94.createElement(import_ui44.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React94.createElement(IconComponent, { fontSize: SIZE6, sx: { mt: "2px" } }));
6144
+ return /* @__PURE__ */ React94.createElement(import_ui43.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React94.createElement(IconComponent, { fontSize: SIZE6, sx: { mt: "2px" } }));
6153
6145
  };
6154
6146
 
6155
6147
  // src/styles-inheritance/components/infotip/label-chip.tsx
6156
6148
  var React95 = __toESM(require("react"));
6157
6149
  var import_editor_styles_repository15 = require("@elementor/editor-styles-repository");
6158
- var import_icons30 = require("@elementor/icons");
6159
- var import_ui45 = require("@elementor/ui");
6150
+ var import_icons29 = require("@elementor/icons");
6151
+ var import_ui44 = require("@elementor/ui");
6160
6152
  var import_i18n66 = require("@wordpress/i18n");
6161
6153
  var SIZE7 = "tiny";
6162
6154
  var LabelChip = ({ displayLabel, provider }) => {
6163
6155
  const isBaseStyle = provider === import_editor_styles_repository15.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6164
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React95.createElement(import_ui45.Tooltip, { title: (0, import_i18n66.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React95.createElement(import_icons30.InfoCircleIcon, { fontSize: SIZE7 })) : void 0;
6156
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React95.createElement(import_ui44.Tooltip, { title: (0, import_i18n66.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React95.createElement(import_icons29.InfoCircleIcon, { fontSize: SIZE7 })) : void 0;
6165
6157
  return /* @__PURE__ */ React95.createElement(
6166
- import_ui45.Chip,
6158
+ import_ui44.Chip,
6167
6159
  {
6168
6160
  label: displayLabel,
6169
6161
  size: SIZE7,
@@ -6189,10 +6181,10 @@ var LabelChip = ({ displayLabel, provider }) => {
6189
6181
 
6190
6182
  // src/styles-inheritance/components/infotip/value-component.tsx
6191
6183
  var React96 = __toESM(require("react"));
6192
- var import_ui46 = require("@elementor/ui");
6184
+ var import_ui45 = require("@elementor/ui");
6193
6185
  var ValueComponent = ({ index, value }) => {
6194
6186
  return /* @__PURE__ */ React96.createElement(
6195
- import_ui46.Typography,
6187
+ import_ui45.Typography,
6196
6188
  {
6197
6189
  variant: "caption",
6198
6190
  color: "text.tertiary",
@@ -6213,8 +6205,8 @@ var ValueComponent = ({ index, value }) => {
6213
6205
 
6214
6206
  // src/styles-inheritance/components/infotip/action-icons.tsx
6215
6207
  var React97 = __toESM(require("react"));
6216
- var import_ui47 = require("@elementor/ui");
6217
- var ActionIcons = () => /* @__PURE__ */ React97.createElement(import_ui47.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6208
+ var import_ui46 = require("@elementor/ui");
6209
+ var ActionIcons = () => /* @__PURE__ */ React97.createElement(import_ui46.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6218
6210
 
6219
6211
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6220
6212
  var SECTION_PADDING_INLINE = 32;
@@ -6248,8 +6240,8 @@ var StylesInheritanceInfotip = ({
6248
6240
  });
6249
6241
  }, [key, propType]);
6250
6242
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6251
- const infotipContent = /* @__PURE__ */ React98.createElement(import_ui48.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React98.createElement(
6252
- import_ui48.Card,
6243
+ const infotipContent = /* @__PURE__ */ React98.createElement(import_ui47.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React98.createElement(
6244
+ import_ui47.Card,
6253
6245
  {
6254
6246
  elevation: 0,
6255
6247
  sx: {
@@ -6262,7 +6254,7 @@ var StylesInheritanceInfotip = ({
6262
6254
  }
6263
6255
  },
6264
6256
  /* @__PURE__ */ React98.createElement(
6265
- import_ui48.Box,
6257
+ import_ui47.Box,
6266
6258
  {
6267
6259
  sx: {
6268
6260
  position: "sticky",
@@ -6274,7 +6266,7 @@ var StylesInheritanceInfotip = ({
6274
6266
  /* @__PURE__ */ React98.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n67.__)("Style origin", "elementor"), onClose: closeInfotip })
6275
6267
  ),
6276
6268
  /* @__PURE__ */ React98.createElement(
6277
- import_ui48.CardContent,
6269
+ import_ui47.CardContent,
6278
6270
  {
6279
6271
  sx: {
6280
6272
  display: "flex",
@@ -6287,9 +6279,9 @@ var StylesInheritanceInfotip = ({
6287
6279
  }
6288
6280
  }
6289
6281
  },
6290
- /* @__PURE__ */ React98.createElement(import_ui48.Stack, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6282
+ /* @__PURE__ */ React98.createElement(import_ui47.Stack, { gap: 1.5, sx: { pl: 3, pr: 1, pb: 2 }, role: "list" }, items3.map((item, index) => {
6291
6283
  return /* @__PURE__ */ React98.createElement(
6292
- import_ui48.Box,
6284
+ import_ui47.Box,
6293
6285
  {
6294
6286
  key: item.id,
6295
6287
  display: "flex",
@@ -6301,7 +6293,7 @@ var StylesInheritanceInfotip = ({
6301
6293
  )
6302
6294
  },
6303
6295
  /* @__PURE__ */ React98.createElement(
6304
- import_ui48.Box,
6296
+ import_ui47.Box,
6305
6297
  {
6306
6298
  display: "flex",
6307
6299
  gap: 0.5,
@@ -6317,7 +6309,7 @@ var StylesInheritanceInfotip = ({
6317
6309
  )
6318
6310
  ));
6319
6311
  if (isDisabled) {
6320
- return /* @__PURE__ */ React98.createElement(import_ui48.Box, { sx: { display: "inline-flex" } }, children);
6312
+ return /* @__PURE__ */ React98.createElement(import_ui47.Box, { sx: { display: "inline-flex" } }, children);
6321
6313
  }
6322
6314
  return /* @__PURE__ */ React98.createElement(
6323
6315
  TooltipOrInfotip,
@@ -6327,7 +6319,7 @@ var StylesInheritanceInfotip = ({
6327
6319
  infotipContent,
6328
6320
  isDisabled
6329
6321
  },
6330
- /* @__PURE__ */ React98.createElement(import_ui48.IconButton, { onClick: toggleInfotip, "aria-label": label, sx: { my: "-1px" }, disabled: isDisabled }, children)
6322
+ /* @__PURE__ */ React98.createElement(import_ui47.IconButton, { onClick: toggleInfotip, "aria-label": label, sx: { my: "-1px" }, disabled: isDisabled }, children)
6331
6323
  );
6332
6324
  };
6333
6325
  function TooltipOrInfotip({
@@ -6341,11 +6333,11 @@ function TooltipOrInfotip({
6341
6333
  const isSiteRtl = direction.isSiteRtl;
6342
6334
  const forceInfotipAlignLeft = isSiteRtl ? 9999999 : -9999999;
6343
6335
  if (isDisabled) {
6344
- return /* @__PURE__ */ React98.createElement(import_ui48.Box, { sx: { display: "inline-flex" } }, children);
6336
+ return /* @__PURE__ */ React98.createElement(import_ui47.Box, { sx: { display: "inline-flex" } }, children);
6345
6337
  }
6346
6338
  if (showInfotip) {
6347
6339
  return /* @__PURE__ */ React98.createElement(React98.Fragment, null, /* @__PURE__ */ React98.createElement(
6348
- import_ui48.Backdrop,
6340
+ import_ui47.Backdrop,
6349
6341
  {
6350
6342
  open: showInfotip,
6351
6343
  onClick: onClose,
@@ -6355,7 +6347,7 @@ function TooltipOrInfotip({
6355
6347
  }
6356
6348
  }
6357
6349
  ), /* @__PURE__ */ React98.createElement(
6358
- import_ui48.Infotip,
6350
+ import_ui47.Infotip,
6359
6351
  {
6360
6352
  placement: "top",
6361
6353
  content: infotipContent,
@@ -6381,7 +6373,7 @@ function TooltipOrInfotip({
6381
6373
  children
6382
6374
  ));
6383
6375
  }
6384
- return /* @__PURE__ */ React98.createElement(import_ui48.Tooltip, { title: (0, import_i18n67.__)("Style origin", "elementor"), placement: "top" }, children);
6376
+ return /* @__PURE__ */ React98.createElement(import_ui47.Tooltip, { title: (0, import_i18n67.__)("Style origin", "elementor"), placement: "top" }, children);
6385
6377
  }
6386
6378
 
6387
6379
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6452,23 +6444,23 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
6452
6444
  // src/styles-inheritance/transformers/array-transformer.tsx
6453
6445
  var React100 = __toESM(require("react"));
6454
6446
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6455
- var import_ui49 = require("@elementor/ui");
6447
+ var import_ui48 = require("@elementor/ui");
6456
6448
  var arrayTransformer = (0, import_editor_canvas7.createTransformer)((values) => {
6457
6449
  if (!values || values.length === 0) {
6458
6450
  return null;
6459
6451
  }
6460
- return /* @__PURE__ */ React100.createElement(import_ui49.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React100.createElement(import_ui49.Stack, { key: index }, item)));
6452
+ return /* @__PURE__ */ React100.createElement(import_ui48.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React100.createElement(import_ui48.Stack, { key: index }, item)));
6461
6453
  });
6462
6454
 
6463
6455
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6464
6456
  var React101 = __toESM(require("react"));
6465
6457
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6466
- var import_ui50 = require("@elementor/ui");
6467
- var backgroundColorOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React101.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(ItemLabelColor, { value })));
6458
+ var import_ui49 = require("@elementor/ui");
6459
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React101.createElement(import_ui49.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React101.createElement(ItemLabelColor, { value })));
6468
6460
  var ItemLabelColor = ({ value: { color } }) => {
6469
6461
  return /* @__PURE__ */ React101.createElement("span", null, color);
6470
6462
  };
6471
- var StyledUnstableColorIndicator = (0, import_ui50.styled)(import_ui50.UnstableColorIndicator)(({ theme }) => ({
6463
+ var StyledUnstableColorIndicator = (0, import_ui49.styled)(import_ui49.UnstableColorIndicator)(({ theme }) => ({
6472
6464
  width: "1em",
6473
6465
  height: "1em",
6474
6466
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6479,9 +6471,9 @@ var StyledUnstableColorIndicator = (0, import_ui50.styled)(import_ui50.UnstableC
6479
6471
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6480
6472
  var React102 = __toESM(require("react"));
6481
6473
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6482
- var import_ui51 = require("@elementor/ui");
6474
+ var import_ui50 = require("@elementor/ui");
6483
6475
  var import_i18n69 = require("@wordpress/i18n");
6484
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React102.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React102.createElement(ItemLabelGradient, { value })));
6476
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React102.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React102.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React102.createElement(ItemLabelGradient, { value })));
6485
6477
  var ItemIconGradient = ({ value }) => {
6486
6478
  const gradient = getGradientValue(value);
6487
6479
  return /* @__PURE__ */ React102.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
@@ -6504,13 +6496,13 @@ var getGradientValue = (gradient) => {
6504
6496
  var React103 = __toESM(require("react"));
6505
6497
  var import_editor_canvas10 = require("@elementor/editor-canvas");
6506
6498
  var import_editor_ui12 = require("@elementor/editor-ui");
6507
- var import_ui52 = require("@elementor/ui");
6499
+ var import_ui51 = require("@elementor/ui");
6508
6500
  var import_wp_media = require("@elementor/wp-media");
6509
- var backgroundImageOverlayTransformer = (0, import_editor_canvas10.createTransformer)((value) => /* @__PURE__ */ React103.createElement(import_ui52.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React103.createElement(ItemIconImage, { value }), /* @__PURE__ */ React103.createElement(ItemLabelImage, { value })));
6501
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas10.createTransformer)((value) => /* @__PURE__ */ React103.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React103.createElement(ItemIconImage, { value }), /* @__PURE__ */ React103.createElement(ItemLabelImage, { value })));
6510
6502
  var ItemIconImage = ({ value }) => {
6511
6503
  const { imageUrl } = useImage(value);
6512
6504
  return /* @__PURE__ */ React103.createElement(
6513
- import_ui52.CardMedia,
6505
+ import_ui51.CardMedia,
6514
6506
  {
6515
6507
  image: imageUrl,
6516
6508
  sx: (theme) => ({
@@ -6552,7 +6544,7 @@ var getFileExtensionFromFilename = (filename) => {
6552
6544
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
6553
6545
  var React104 = __toESM(require("react"));
6554
6546
  var import_editor_canvas11 = require("@elementor/editor-canvas");
6555
- var import_ui53 = require("@elementor/ui");
6547
+ var import_ui52 = require("@elementor/ui");
6556
6548
  var boxShadowTransformer = (0, import_editor_canvas11.createTransformer)((value) => {
6557
6549
  if (!value) {
6558
6550
  return null;
@@ -6561,20 +6553,20 @@ var boxShadowTransformer = (0, import_editor_canvas11.createTransformer)((value)
6561
6553
  const colorValue = color || "#000000";
6562
6554
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
6563
6555
  const positionValue = position || "outset";
6564
- return /* @__PURE__ */ React104.createElement(import_ui53.Stack, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React104.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6556
+ return /* @__PURE__ */ React104.createElement(import_ui52.Stack, { direction: "column", gap: 0.5, pb: 1 }, /* @__PURE__ */ React104.createElement("span", null, colorValue, " ", positionValue, ", ", sizes));
6565
6557
  });
6566
6558
 
6567
6559
  // src/styles-inheritance/transformers/color-transformer.tsx
6568
6560
  var React105 = __toESM(require("react"));
6569
6561
  var import_editor_canvas12 = require("@elementor/editor-canvas");
6570
- var import_ui54 = require("@elementor/ui");
6562
+ var import_ui53 = require("@elementor/ui");
6571
6563
  function isValidCSSColor(value) {
6572
6564
  if (!value.trim()) {
6573
6565
  return false;
6574
6566
  }
6575
6567
  return CSS.supports("color", value.trim());
6576
6568
  }
6577
- var StyledColorIndicator = (0, import_ui54.styled)(import_ui54.UnstableColorIndicator)(({ theme }) => ({
6569
+ var StyledColorIndicator = (0, import_ui53.styled)(import_ui53.UnstableColorIndicator)(({ theme }) => ({
6578
6570
  width: "1em",
6579
6571
  height: "1em",
6580
6572
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6585,13 +6577,13 @@ var colorTransformer = (0, import_editor_canvas12.createTransformer)((value) =>
6585
6577
  if (!isValidCSSColor(value)) {
6586
6578
  return value;
6587
6579
  }
6588
- return /* @__PURE__ */ React105.createElement(import_ui54.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React105.createElement("span", null, value));
6580
+ return /* @__PURE__ */ React105.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React105.createElement("span", null, value));
6589
6581
  });
6590
6582
 
6591
6583
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
6592
6584
  var React106 = __toESM(require("react"));
6593
6585
  var import_editor_canvas13 = require("@elementor/editor-canvas");
6594
- var import_ui55 = require("@elementor/ui");
6586
+ var import_ui54 = require("@elementor/ui");
6595
6587
  var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") => {
6596
6588
  return (0, import_editor_canvas13.createTransformer)((value, options12) => {
6597
6589
  const stringResult = originalTransformer(value, options12);
@@ -6602,7 +6594,7 @@ var createRepeaterToItemsTransformer = (originalTransformer, separator = " ") =>
6602
6594
  if (parts.length <= 1) {
6603
6595
  return stringResult;
6604
6596
  }
6605
- return /* @__PURE__ */ React106.createElement(import_ui55.Stack, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React106.createElement(import_ui55.Stack, { key: index }, part.trim())));
6597
+ return /* @__PURE__ */ React106.createElement(import_ui54.Stack, { direction: "column", gap: 0.5 }, parts.map((part, index) => /* @__PURE__ */ React106.createElement(import_ui54.Stack, { key: index }, part.trim())));
6606
6598
  });
6607
6599
  };
6608
6600