@elementor/editor-editing-panel 4.1.0-818 → 4.1.0-820

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
@@ -1820,11 +1820,11 @@ var import_editor_controls54 = require("@elementor/editor-controls");
1820
1820
  var import_editor_elements13 = require("@elementor/editor-elements");
1821
1821
  var import_editor_panels = require("@elementor/editor-panels");
1822
1822
  var import_editor_ui8 = require("@elementor/editor-ui");
1823
- var import_icons24 = require("@elementor/icons");
1823
+ var import_icons25 = require("@elementor/icons");
1824
1824
  var import_locations4 = require("@elementor/locations");
1825
1825
  var import_menus = require("@elementor/menus");
1826
1826
  var import_session9 = require("@elementor/session");
1827
- var import_ui40 = require("@elementor/ui");
1827
+ var import_ui41 = require("@elementor/ui");
1828
1828
  var import_i18n61 = require("@wordpress/i18n");
1829
1829
 
1830
1830
  // src/editing-panel-replacement-registry.tsx
@@ -1851,7 +1851,7 @@ var import_react38 = require("react");
1851
1851
  var React86 = __toESM(require("react"));
1852
1852
  var import_editor_elements12 = require("@elementor/editor-elements");
1853
1853
  var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
1854
- var import_ui39 = require("@elementor/ui");
1854
+ var import_ui40 = require("@elementor/ui");
1855
1855
  var import_i18n60 = require("@wordpress/i18n");
1856
1856
 
1857
1857
  // src/contexts/scroll-context.tsx
@@ -2478,7 +2478,7 @@ var import_editor_props14 = require("@elementor/editor-props");
2478
2478
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2479
2479
  var import_locations3 = require("@elementor/locations");
2480
2480
  var import_session8 = require("@elementor/session");
2481
- var import_ui38 = require("@elementor/ui");
2481
+ var import_ui39 = require("@elementor/ui");
2482
2482
  var import_i18n59 = require("@wordpress/i18n");
2483
2483
 
2484
2484
  // src/contexts/styles-inheritance-context.tsx
@@ -4352,10 +4352,26 @@ var PositionField = ({ onChange }) => {
4352
4352
  // src/components/style-sections/position-section/z-index-field.tsx
4353
4353
  var React59 = __toESM(require("react"));
4354
4354
  var import_editor_controls34 = require("@elementor/editor-controls");
4355
+ var import_icons17 = require("@elementor/icons");
4356
+ var import_ui34 = require("@elementor/ui");
4355
4357
  var import_i18n37 = require("@wordpress/i18n");
4356
4358
  var Z_INDEX_LABEL = (0, import_i18n37.__)("Z-index", "elementor");
4357
- var ZIndexField = () => {
4358
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls34.NumberControl, null)));
4359
+ var ZIndexField = ({ disabled }) => {
4360
+ const StyleField = /* @__PURE__ */ React59.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls34.NumberControl, { disabled })));
4361
+ const content = /* @__PURE__ */ React59.createElement(import_ui34.Alert, { color: "secondary", icon: /* @__PURE__ */ React59.createElement(import_icons17.InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React59.createElement(import_ui34.AlertTitle, null, (0, import_i18n37.__)("Z-index", "elementor")), /* @__PURE__ */ React59.createElement(import_ui34.Box, { component: "span" }, (0, import_i18n37.__)(
4362
+ "z-index only works on positioned elements. Change position to relative, absolute, or fixed to enable layering.",
4363
+ "elementor"
4364
+ )));
4365
+ return disabled ? /* @__PURE__ */ React59.createElement(
4366
+ import_ui34.Infotip,
4367
+ {
4368
+ placement: "right",
4369
+ content,
4370
+ color: "secondary",
4371
+ slotProps: { popper: { sx: { width: 300 } } }
4372
+ },
4373
+ /* @__PURE__ */ React59.createElement(import_ui34.Box, null, StyleField)
4374
+ ) : /* @__PURE__ */ React59.createElement(React59.Fragment, null, StyleField);
4359
4375
  };
4360
4376
 
4361
4377
  // src/components/style-sections/position-section/position-section.tsx
@@ -4418,7 +4434,7 @@ var PositionSection = () => {
4418
4434
  }
4419
4435
  };
4420
4436
  const isNotStatic = positionValue && positionValue?.value !== POSITION_STATIC;
4421
- return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(DimensionsField, null), /* @__PURE__ */ React60.createElement(ZIndexField, null)) : null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(OffsetField, null));
4437
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(DimensionsField, null)) : null, /* @__PURE__ */ React60.createElement(ZIndexField, { disabled: !isNotStatic }), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(OffsetField, null));
4422
4438
  };
4423
4439
  var usePersistDimensions = () => {
4424
4440
  const { id: styleDefID, meta } = useStyle();
@@ -4431,7 +4447,7 @@ var usePersistDimensions = () => {
4431
4447
  var React65 = __toESM(require("react"));
4432
4448
  var import_react31 = require("react");
4433
4449
  var import_editor_controls37 = require("@elementor/editor-controls");
4434
- var import_ui35 = require("@elementor/ui");
4450
+ var import_ui36 = require("@elementor/ui");
4435
4451
  var import_i18n42 = require("@wordpress/i18n");
4436
4452
 
4437
4453
  // src/components/style-tab-collapsible-content.tsx
@@ -4441,7 +4457,7 @@ var import_editor_ui6 = require("@elementor/editor-ui");
4441
4457
  // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4442
4458
  var React61 = __toESM(require("react"));
4443
4459
  var import_editor_styles_repository14 = require("@elementor/editor-styles-repository");
4444
- var import_ui34 = require("@elementor/ui");
4460
+ var import_ui35 = require("@elementor/ui");
4445
4461
  var import_i18n39 = require("@wordpress/i18n");
4446
4462
  var StylesInheritanceSectionIndicators = ({ fields }) => {
4447
4463
  const { id, meta, provider } = useStyle();
@@ -4458,7 +4474,7 @@ var StylesInheritanceSectionIndicators = ({ fields }) => {
4458
4474
  }
4459
4475
  const hasValueLabel = (0, import_i18n39.__)("Has effective styles", "elementor");
4460
4476
  const hasOverridesLabel = (0, import_i18n39.__)("Has overridden styles", "elementor");
4461
- return /* @__PURE__ */ React61.createElement(import_ui34.Tooltip, { title: (0, import_i18n39.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React61.createElement(import_ui34.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React61.createElement(
4477
+ return /* @__PURE__ */ React61.createElement(import_ui35.Tooltip, { title: (0, import_i18n39.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React61.createElement(import_ui35.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React61.createElement(
4462
4478
  StyleIndicator,
4463
4479
  {
4464
4480
  getColor: getStylesProviderThemeColor(provider.getKey()),
@@ -4534,26 +4550,26 @@ var ObjectFitField = () => {
4534
4550
  // src/components/style-sections/size-section/overflow-field.tsx
4535
4551
  var React64 = __toESM(require("react"));
4536
4552
  var import_editor_controls36 = require("@elementor/editor-controls");
4537
- var import_icons17 = require("@elementor/icons");
4553
+ var import_icons18 = require("@elementor/icons");
4538
4554
  var import_i18n41 = require("@wordpress/i18n");
4539
4555
  var OVERFLOW_LABEL = (0, import_i18n41.__)("Overflow", "elementor");
4540
4556
  var options7 = [
4541
4557
  {
4542
4558
  value: "visible",
4543
4559
  label: (0, import_i18n41.__)("Visible", "elementor"),
4544
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons17.EyeIcon, { fontSize: size }),
4560
+ renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons18.EyeIcon, { fontSize: size }),
4545
4561
  showTooltip: true
4546
4562
  },
4547
4563
  {
4548
4564
  value: "hidden",
4549
4565
  label: (0, import_i18n41.__)("Hidden", "elementor"),
4550
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons17.EyeOffIcon, { fontSize: size }),
4566
+ renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons18.EyeOffIcon, { fontSize: size }),
4551
4567
  showTooltip: true
4552
4568
  },
4553
4569
  {
4554
4570
  value: "auto",
4555
4571
  label: (0, import_i18n41.__)("Auto", "elementor"),
4556
- renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons17.LetterAIcon, { fontSize: size }),
4572
+ renderContent: ({ size }) => /* @__PURE__ */ React64.createElement(import_icons18.LetterAIcon, { fontSize: size }),
4557
4573
  showTooltip: true
4558
4574
  }
4559
4575
  ];
@@ -4597,10 +4613,10 @@ var CssSizeProps = [
4597
4613
  var ASPECT_RATIO_LABEL = (0, import_i18n42.__)("Aspect Ratio", "elementor");
4598
4614
  var SizeSection = () => {
4599
4615
  const gridRowRefs = [(0, import_react31.useRef)(null), (0, import_react31.useRef)(null), (0, import_react31.useRef)(null)];
4600
- return /* @__PURE__ */ React65.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React65.createElement(import_ui35.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React65.createElement(import_ui35.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React65.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(import_ui35.Stack, null, /* @__PURE__ */ React65.createElement(OverflowField, null)), /* @__PURE__ */ React65.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React65.createElement(import_ui35.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React65.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls37.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(ObjectFitField, null), /* @__PURE__ */ React65.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n42.__)("Object position", "elementor") }, /* @__PURE__ */ React65.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(import_editor_controls37.PositionControl, null))))));
4616
+ return /* @__PURE__ */ React65.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React65.createElement(import_ui36.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React65.createElement(import_ui36.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React65.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(import_ui36.Stack, null, /* @__PURE__ */ React65.createElement(OverflowField, null)), /* @__PURE__ */ React65.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React65.createElement(import_ui36.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React65.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls37.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(ObjectFitField, null), /* @__PURE__ */ React65.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n42.__)("Object position", "elementor") }, /* @__PURE__ */ React65.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(import_editor_controls37.PositionControl, null))))));
4601
4617
  };
4602
4618
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4603
- return /* @__PURE__ */ React65.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React65.createElement(import_ui35.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React65.createElement(import_ui35.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, label)), /* @__PURE__ */ React65.createElement(import_ui35.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React65.createElement(import_editor_controls37.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4619
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React65.createElement(import_ui36.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React65.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, label)), /* @__PURE__ */ React65.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React65.createElement(import_editor_controls37.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4604
4620
  };
4605
4621
 
4606
4622
  // src/components/style-sections/spacing-section/spacing-section.tsx
@@ -4680,20 +4696,20 @@ var FontSizeField = () => {
4680
4696
  // src/components/style-sections/typography-section/font-style-field.tsx
4681
4697
  var React71 = __toESM(require("react"));
4682
4698
  var import_editor_controls43 = require("@elementor/editor-controls");
4683
- var import_icons18 = require("@elementor/icons");
4699
+ var import_icons19 = require("@elementor/icons");
4684
4700
  var import_i18n48 = require("@wordpress/i18n");
4685
4701
  var FONT_STYLE_LABEL = (0, import_i18n48.__)("Font style", "elementor");
4686
4702
  var options8 = [
4687
4703
  {
4688
4704
  value: "normal",
4689
4705
  label: (0, import_i18n48.__)("Normal", "elementor"),
4690
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons18.MinusIcon, { fontSize: size }),
4706
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons19.MinusIcon, { fontSize: size }),
4691
4707
  showTooltip: true
4692
4708
  },
4693
4709
  {
4694
4710
  value: "italic",
4695
4711
  label: (0, import_i18n48.__)("Italic", "elementor"),
4696
- renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons18.ItalicIcon, { fontSize: size }),
4712
+ renderContent: ({ size }) => /* @__PURE__ */ React71.createElement(import_icons19.ItalicIcon, { fontSize: size }),
4697
4713
  showTooltip: true
4698
4714
  }
4699
4715
  ];
@@ -4746,12 +4762,12 @@ var LineHeightField = () => {
4746
4762
  // src/components/style-sections/typography-section/text-alignment-field.tsx
4747
4763
  var React75 = __toESM(require("react"));
4748
4764
  var import_editor_controls47 = require("@elementor/editor-controls");
4749
- var import_icons19 = require("@elementor/icons");
4750
- var import_ui36 = require("@elementor/ui");
4765
+ var import_icons20 = require("@elementor/icons");
4766
+ var import_ui37 = require("@elementor/ui");
4751
4767
  var import_i18n52 = require("@wordpress/i18n");
4752
4768
  var TEXT_ALIGNMENT_LABEL = (0, import_i18n52.__)("Text align", "elementor");
4753
- var AlignStartIcon = (0, import_ui36.withDirection)(import_icons19.AlignLeftIcon);
4754
- var AlignEndIcon = (0, import_ui36.withDirection)(import_icons19.AlignRightIcon);
4769
+ var AlignStartIcon = (0, import_ui37.withDirection)(import_icons20.AlignLeftIcon);
4770
+ var AlignEndIcon = (0, import_ui37.withDirection)(import_icons20.AlignRightIcon);
4755
4771
  var options9 = [
4756
4772
  {
4757
4773
  value: "start",
@@ -4762,7 +4778,7 @@ var options9 = [
4762
4778
  {
4763
4779
  value: "center",
4764
4780
  label: (0, import_i18n52.__)("Center", "elementor"),
4765
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.AlignCenterIcon, { fontSize: size }),
4781
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.AlignCenterIcon, { fontSize: size }),
4766
4782
  showTooltip: true
4767
4783
  },
4768
4784
  {
@@ -4774,7 +4790,7 @@ var options9 = [
4774
4790
  {
4775
4791
  value: "justify",
4776
4792
  label: (0, import_i18n52.__)("Justify", "elementor"),
4777
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons19.AlignJustifiedIcon, { fontSize: size }),
4793
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons20.AlignJustifiedIcon, { fontSize: size }),
4778
4794
  showTooltip: true
4779
4795
  }
4780
4796
  ];
@@ -4794,33 +4810,33 @@ var TextColorField = () => {
4794
4810
  // src/components/style-sections/typography-section/text-decoration-field.tsx
4795
4811
  var React77 = __toESM(require("react"));
4796
4812
  var import_editor_controls49 = require("@elementor/editor-controls");
4797
- var import_icons20 = require("@elementor/icons");
4813
+ var import_icons21 = require("@elementor/icons");
4798
4814
  var import_i18n54 = require("@wordpress/i18n");
4799
4815
  var TEXT_DECORATION_LABEL = (0, import_i18n54.__)("Line decoration", "elementor");
4800
4816
  var options10 = [
4801
4817
  {
4802
4818
  value: "none",
4803
4819
  label: (0, import_i18n54.__)("None", "elementor"),
4804
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons20.MinusIcon, { fontSize: size }),
4820
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.MinusIcon, { fontSize: size }),
4805
4821
  showTooltip: true,
4806
4822
  exclusive: true
4807
4823
  },
4808
4824
  {
4809
4825
  value: "underline",
4810
4826
  label: (0, import_i18n54.__)("Underline", "elementor"),
4811
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons20.UnderlineIcon, { fontSize: size }),
4827
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.UnderlineIcon, { fontSize: size }),
4812
4828
  showTooltip: true
4813
4829
  },
4814
4830
  {
4815
4831
  value: "line-through",
4816
4832
  label: (0, import_i18n54.__)("Line-through", "elementor"),
4817
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons20.StrikethroughIcon, { fontSize: size }),
4833
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.StrikethroughIcon, { fontSize: size }),
4818
4834
  showTooltip: true
4819
4835
  },
4820
4836
  {
4821
4837
  value: "overline",
4822
4838
  label: (0, import_i18n54.__)("Overline", "elementor"),
4823
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons20.OverlineIcon, { fontSize: size }),
4839
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.OverlineIcon, { fontSize: size }),
4824
4840
  showTooltip: true
4825
4841
  }
4826
4842
  ];
@@ -4829,20 +4845,20 @@ var TextDecorationField = () => /* @__PURE__ */ React77.createElement(StylesFiel
4829
4845
  // src/components/style-sections/typography-section/text-direction-field.tsx
4830
4846
  var React78 = __toESM(require("react"));
4831
4847
  var import_editor_controls50 = require("@elementor/editor-controls");
4832
- var import_icons21 = require("@elementor/icons");
4848
+ var import_icons22 = require("@elementor/icons");
4833
4849
  var import_i18n55 = require("@wordpress/i18n");
4834
4850
  var TEXT_DIRECTION_LABEL = (0, import_i18n55.__)("Direction", "elementor");
4835
4851
  var options11 = [
4836
4852
  {
4837
4853
  value: "ltr",
4838
4854
  label: (0, import_i18n55.__)("Left to right", "elementor"),
4839
- renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons21.TextDirectionLtrIcon, { fontSize: size }),
4855
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.TextDirectionLtrIcon, { fontSize: size }),
4840
4856
  showTooltip: true
4841
4857
  },
4842
4858
  {
4843
4859
  value: "rtl",
4844
4860
  label: (0, import_i18n55.__)("Right to left", "elementor"),
4845
- renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons21.TextDirectionRtlIcon, { fontSize: size }),
4861
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.TextDirectionRtlIcon, { fontSize: size }),
4846
4862
  showTooltip: true
4847
4863
  }
4848
4864
  ];
@@ -4857,8 +4873,8 @@ var import_i18n56 = require("@wordpress/i18n");
4857
4873
 
4858
4874
  // src/components/add-or-remove-content.tsx
4859
4875
  var React79 = __toESM(require("react"));
4860
- var import_icons22 = require("@elementor/icons");
4861
- var import_ui37 = require("@elementor/ui");
4876
+ var import_icons23 = require("@elementor/icons");
4877
+ var import_ui38 = require("@elementor/ui");
4862
4878
  var SIZE = "tiny";
4863
4879
  var AddOrRemoveContent = ({
4864
4880
  isAdded,
@@ -4869,7 +4885,7 @@ var AddOrRemoveContent = ({
4869
4885
  renderLabel
4870
4886
  }) => {
4871
4887
  return /* @__PURE__ */ React79.createElement(SectionContent, null, /* @__PURE__ */ React79.createElement(
4872
- import_ui37.Stack,
4888
+ import_ui38.Stack,
4873
4889
  {
4874
4890
  direction: "row",
4875
4891
  sx: {
@@ -4879,8 +4895,8 @@ var AddOrRemoveContent = ({
4879
4895
  }
4880
4896
  },
4881
4897
  renderLabel(),
4882
- isAdded ? /* @__PURE__ */ React79.createElement(import_ui37.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React79.createElement(import_icons22.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React79.createElement(import_ui37.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React79.createElement(import_icons22.PlusIcon, { fontSize: SIZE }))
4883
- ), /* @__PURE__ */ React79.createElement(import_ui37.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React79.createElement(SectionContent, null, children)));
4898
+ isAdded ? /* @__PURE__ */ React79.createElement(import_ui38.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React79.createElement(import_icons23.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React79.createElement(import_ui38.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React79.createElement(import_icons23.PlusIcon, { fontSize: SIZE }))
4899
+ ), /* @__PURE__ */ React79.createElement(import_ui38.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React79.createElement(SectionContent, null, children)));
4884
4900
  };
4885
4901
 
4886
4902
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -4928,32 +4944,32 @@ var TextStrokeField = () => {
4928
4944
  // src/components/style-sections/typography-section/transform-field.tsx
4929
4945
  var React81 = __toESM(require("react"));
4930
4946
  var import_editor_controls52 = require("@elementor/editor-controls");
4931
- var import_icons23 = require("@elementor/icons");
4947
+ var import_icons24 = require("@elementor/icons");
4932
4948
  var import_i18n57 = require("@wordpress/i18n");
4933
4949
  var TEXT_TRANSFORM_LABEL = (0, import_i18n57.__)("Text transform", "elementor");
4934
4950
  var options12 = [
4935
4951
  {
4936
4952
  value: "none",
4937
4953
  label: (0, import_i18n57.__)("None", "elementor"),
4938
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons23.MinusIcon, { fontSize: size }),
4954
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.MinusIcon, { fontSize: size }),
4939
4955
  showTooltip: true
4940
4956
  },
4941
4957
  {
4942
4958
  value: "capitalize",
4943
4959
  label: (0, import_i18n57.__)("Capitalize", "elementor"),
4944
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons23.LetterCaseIcon, { fontSize: size }),
4960
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.LetterCaseIcon, { fontSize: size }),
4945
4961
  showTooltip: true
4946
4962
  },
4947
4963
  {
4948
4964
  value: "uppercase",
4949
4965
  label: (0, import_i18n57.__)("Uppercase", "elementor"),
4950
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons23.LetterCaseUpperIcon, { fontSize: size }),
4966
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.LetterCaseUpperIcon, { fontSize: size }),
4951
4967
  showTooltip: true
4952
4968
  },
4953
4969
  {
4954
4970
  value: "lowercase",
4955
4971
  label: (0, import_i18n57.__)("Lowercase", "elementor"),
4956
- renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons23.LetterCaseLowerIcon, { fontSize: size }),
4972
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.LetterCaseLowerIcon, { fontSize: size }),
4957
4973
  showTooltip: true
4958
4974
  }
4959
4975
  ];
@@ -5040,7 +5056,7 @@ var StyleTab = () => {
5040
5056
  },
5041
5057
  setMetaState: setActiveStyleState
5042
5058
  },
5043
- /* @__PURE__ */ React85.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React85.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React85.createElement(ClassesHeader, null, /* @__PURE__ */ React85.createElement(CssClassSelector, null), /* @__PURE__ */ React85.createElement(import_ui38.Divider, null)), /* @__PURE__ */ React85.createElement(SectionsList, null, /* @__PURE__ */ React85.createElement(
5059
+ /* @__PURE__ */ React85.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React85.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React85.createElement(ClassesHeader, null, /* @__PURE__ */ React85.createElement(CssClassSelector, null), /* @__PURE__ */ React85.createElement(import_ui39.Divider, null)), /* @__PURE__ */ React85.createElement(SectionsList, null, /* @__PURE__ */ React85.createElement(
5044
5060
  StyleTabSection,
5045
5061
  {
5046
5062
  section: {
@@ -5166,12 +5182,12 @@ var StyleTab = () => {
5166
5182
  "transition"
5167
5183
  ]
5168
5184
  }
5169
- ), /* @__PURE__ */ React85.createElement(StyleTabSlot, null)), /* @__PURE__ */ React85.createElement(import_ui38.Box, { sx: { height: "150px" } })))
5185
+ ), /* @__PURE__ */ React85.createElement(StyleTabSlot, null)), /* @__PURE__ */ React85.createElement(import_ui39.Box, { sx: { height: "150px" } })))
5170
5186
  ));
5171
5187
  };
5172
5188
  function ClassesHeader({ children }) {
5173
5189
  const scrollDirection = useScrollDirection();
5174
- return /* @__PURE__ */ React85.createElement(import_ui38.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5190
+ return /* @__PURE__ */ React85.createElement(import_ui39.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5175
5191
  }
5176
5192
  function useCurrentClassesProp() {
5177
5193
  const { elementType } = useElement();
@@ -5201,9 +5217,9 @@ var PanelTabContent = () => {
5201
5217
  const isPromotedElement = !!(0, import_editor_elements12.getWidgetsCache)()?.[element.type]?.meta?.is_pro_promotion;
5202
5218
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
5203
5219
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
5204
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui39.useTabs)(currentTab);
5205
- return /* @__PURE__ */ React86.createElement(ScrollProvider, null, /* @__PURE__ */ React86.createElement(import_ui39.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React86.createElement(import_ui39.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React86.createElement(
5206
- import_ui39.Tabs,
5220
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui40.useTabs)(currentTab);
5221
+ return /* @__PURE__ */ React86.createElement(ScrollProvider, null, /* @__PURE__ */ React86.createElement(import_ui40.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React86.createElement(import_ui40.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React86.createElement(
5222
+ import_ui40.Tabs,
5207
5223
  {
5208
5224
  variant: "fullWidth",
5209
5225
  size: "small",
@@ -5214,10 +5230,10 @@ var PanelTabContent = () => {
5214
5230
  setCurrentTab(newValue);
5215
5231
  }
5216
5232
  },
5217
- !isPromotedElement && /* @__PURE__ */ React86.createElement(import_ui39.Tab, { label: (0, import_i18n60.__)("General", "elementor"), ...getTabProps("settings") }),
5218
- /* @__PURE__ */ React86.createElement(import_ui39.Tab, { label: (0, import_i18n60.__)("Style", "elementor"), ...getTabProps("style") }),
5219
- isInteractionsActive && /* @__PURE__ */ React86.createElement(import_ui39.Tab, { label: (0, import_i18n60.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5220
- ), /* @__PURE__ */ React86.createElement(import_ui39.Divider, null)), !isPromotedElement && /* @__PURE__ */ React86.createElement(import_ui39.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React86.createElement(SettingsTab, null)), /* @__PURE__ */ React86.createElement(import_ui39.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React86.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React86.createElement(import_ui39.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React86.createElement(InteractionsTab, null))));
5233
+ !isPromotedElement && /* @__PURE__ */ React86.createElement(import_ui40.Tab, { label: (0, import_i18n60.__)("General", "elementor"), ...getTabProps("settings") }),
5234
+ /* @__PURE__ */ React86.createElement(import_ui40.Tab, { label: (0, import_i18n60.__)("Style", "elementor"), ...getTabProps("style") }),
5235
+ isInteractionsActive && /* @__PURE__ */ React86.createElement(import_ui40.Tab, { label: (0, import_i18n60.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5236
+ ), /* @__PURE__ */ React86.createElement(import_ui40.Divider, null)), !isPromotedElement && /* @__PURE__ */ React86.createElement(import_ui40.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React86.createElement(SettingsTab, null)), /* @__PURE__ */ React86.createElement(import_ui40.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React86.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React86.createElement(import_ui40.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React86.createElement(InteractionsTab, null))));
5221
5237
  };
5222
5238
 
5223
5239
  // src/components/editing-panel.tsx
@@ -5232,11 +5248,11 @@ var EditingPanel = () => {
5232
5248
  }
5233
5249
  const panelTitle = (0, import_i18n61.__)("Edit %s", "elementor").replace("%s", elementType.title);
5234
5250
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
5235
- let panelContent = /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React87.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React87.createElement(import_icons24.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React87.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React87.createElement(EditingPanelTabs, null)));
5251
+ let panelContent = /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React87.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React87.createElement(import_icons25.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React87.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React87.createElement(EditingPanelTabs, null)));
5236
5252
  if (ReplacementComponent) {
5237
5253
  panelContent = /* @__PURE__ */ React87.createElement(ReplacementComponent, null);
5238
5254
  }
5239
- return /* @__PURE__ */ React87.createElement(import_ui40.ErrorBoundary, { fallback: /* @__PURE__ */ React87.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React87.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React87.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React87.createElement(import_editor_controls54.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React87.createElement(import_editor_controls54.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React87.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React87.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React87.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5255
+ return /* @__PURE__ */ React87.createElement(import_ui41.ErrorBoundary, { fallback: /* @__PURE__ */ React87.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React87.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React87.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React87.createElement(import_editor_controls54.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React87.createElement(import_editor_controls54.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React87.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React87.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React87.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5240
5256
  };
5241
5257
 
5242
5258
  // src/init.ts
@@ -5328,8 +5344,8 @@ var React89 = __toESM(require("react"));
5328
5344
  var import_editor_controls58 = require("@elementor/editor-controls");
5329
5345
  var import_editor_elements17 = require("@elementor/editor-elements");
5330
5346
  var import_editor_props16 = require("@elementor/editor-props");
5331
- var import_icons25 = require("@elementor/icons");
5332
- var import_ui41 = require("@elementor/ui");
5347
+ var import_icons26 = require("@elementor/icons");
5348
+ var import_ui42 = require("@elementor/ui");
5333
5349
  var import_i18n64 = require("@wordpress/i18n");
5334
5350
 
5335
5351
  // src/controls-registry/element-controls/get-element-by-type.ts
@@ -5611,7 +5627,7 @@ var TabsControlContent = ({ label }) => {
5611
5627
  };
5612
5628
  var ItemLabel = ({ value, index }) => {
5613
5629
  const elementTitle = value?.title;
5614
- return /* @__PURE__ */ React89.createElement(import_ui41.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React89.createElement("span", null, elementTitle), /* @__PURE__ */ React89.createElement(ItemDefaultTab, { index }));
5630
+ return /* @__PURE__ */ React89.createElement(import_ui42.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React89.createElement("span", null, elementTitle), /* @__PURE__ */ React89.createElement(ItemDefaultTab, { index }));
5615
5631
  };
5616
5632
  var ItemDefaultTab = ({ index }) => {
5617
5633
  const { value: defaultItem } = (0, import_editor_controls58.useBoundProp)(import_editor_props16.numberPropTypeUtil);
@@ -5619,19 +5635,19 @@ var ItemDefaultTab = ({ index }) => {
5619
5635
  if (!isDefault) {
5620
5636
  return null;
5621
5637
  }
5622
- return /* @__PURE__ */ React89.createElement(import_ui41.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n64.__)("Default", "elementor") });
5638
+ return /* @__PURE__ */ React89.createElement(import_ui42.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n64.__)("Default", "elementor") });
5623
5639
  };
5624
5640
  var ItemContent = ({ value, index }) => {
5625
5641
  if (!value.id) {
5626
5642
  return null;
5627
5643
  }
5628
- return /* @__PURE__ */ React89.createElement(import_ui41.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React89.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React89.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n64.__)("Tabs", "elementor") }, /* @__PURE__ */ React89.createElement(DefaultTabControl, { tabIndex: index })));
5644
+ return /* @__PURE__ */ React89.createElement(import_ui42.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React89.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React89.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n64.__)("Tabs", "elementor") }, /* @__PURE__ */ React89.createElement(DefaultTabControl, { tabIndex: index })));
5629
5645
  };
5630
5646
  var DefaultTabControl = ({ tabIndex }) => {
5631
5647
  const { value, setValue } = (0, import_editor_controls58.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5632
5648
  const isDefault = value === tabIndex;
5633
- return /* @__PURE__ */ React89.createElement(import_ui41.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, (0, import_i18n64.__)("Set as default tab", "elementor")), /* @__PURE__ */ React89.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React89.createElement(
5634
- import_ui41.Switch,
5649
+ return /* @__PURE__ */ React89.createElement(import_ui42.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, (0, import_i18n64.__)("Set as default tab", "elementor")), /* @__PURE__ */ React89.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React89.createElement(
5650
+ import_ui42.Switch,
5635
5651
  {
5636
5652
  size: "small",
5637
5653
  checked: isDefault,
@@ -5648,8 +5664,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5648
5664
  var TabLabelControl = ({ elementId }) => {
5649
5665
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5650
5666
  const label = editorSettings?.title ?? "";
5651
- return /* @__PURE__ */ React89.createElement(import_ui41.Stack, { gap: 1 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, (0, import_i18n64.__)("Tab name", "elementor")), /* @__PURE__ */ React89.createElement(
5652
- import_ui41.TextField,
5667
+ return /* @__PURE__ */ React89.createElement(import_ui42.Stack, { gap: 1 }, /* @__PURE__ */ React89.createElement(import_editor_controls58.ControlFormLabel, null, (0, import_i18n64.__)("Tab name", "elementor")), /* @__PURE__ */ React89.createElement(
5668
+ import_ui42.TextField,
5653
5669
  {
5654
5670
  size: "tiny",
5655
5671
  value: label,
@@ -5670,18 +5686,18 @@ var ConditionalTooltip = ({
5670
5686
  return children;
5671
5687
  }
5672
5688
  return /* @__PURE__ */ React89.createElement(
5673
- import_ui41.Infotip,
5689
+ import_ui42.Infotip,
5674
5690
  {
5675
5691
  arrow: false,
5676
5692
  content: /* @__PURE__ */ React89.createElement(
5677
- import_ui41.Alert,
5693
+ import_ui42.Alert,
5678
5694
  {
5679
5695
  color: "secondary",
5680
- icon: /* @__PURE__ */ React89.createElement(import_icons25.InfoCircleFilledIcon, { fontSize: "tiny" }),
5696
+ icon: /* @__PURE__ */ React89.createElement(import_icons26.InfoCircleFilledIcon, { fontSize: "tiny" }),
5681
5697
  size: "small",
5682
5698
  sx: { width: 288 }
5683
5699
  },
5684
- /* @__PURE__ */ React89.createElement(import_ui41.Typography, { variant: "body2" }, (0, import_i18n64.__)("To change the default tab, simply set another tab as default.", "elementor"))
5700
+ /* @__PURE__ */ React89.createElement(import_ui42.Typography, { variant: "body2" }, (0, import_i18n64.__)("To change the default tab, simply set another tab as default.", "elementor"))
5685
5701
  )
5686
5702
  },
5687
5703
  /* @__PURE__ */ React89.createElement("span", null, children)
@@ -5709,7 +5725,7 @@ var import_menus2 = require("@elementor/menus");
5709
5725
  var React90 = __toESM(require("react"));
5710
5726
  var import_editor_controls60 = require("@elementor/editor-controls");
5711
5727
  var import_editor_props18 = require("@elementor/editor-props");
5712
- var import_icons26 = require("@elementor/icons");
5728
+ var import_icons27 = require("@elementor/icons");
5713
5729
 
5714
5730
  // src/dynamics/hooks/use-dynamic-tag.ts
5715
5731
  var import_react43 = require("react");
@@ -5844,7 +5860,7 @@ var useDynamicTag = (tagName) => {
5844
5860
  };
5845
5861
 
5846
5862
  // src/dynamics/components/background-control-dynamic-tag.tsx
5847
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React90.createElement(import_icons26.DatabaseIcon, { fontSize: "tiny" });
5863
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React90.createElement(import_icons27.DatabaseIcon, { fontSize: "tiny" });
5848
5864
  var BackgroundControlDynamicTagLabel = ({ value }) => {
5849
5865
  const context = (0, import_editor_controls60.useBoundProp)(import_editor_props18.backgroundImageOverlayPropTypeUtil);
5850
5866
  return /* @__PURE__ */ React90.createElement(import_editor_controls60.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React90.createElement(import_editor_controls60.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React90.createElement(Wrapper2, { rawValue: value.value })));
@@ -5864,8 +5880,8 @@ var Content = ({ rawValue }) => {
5864
5880
  var React94 = __toESM(require("react"));
5865
5881
  var import_editor_controls63 = require("@elementor/editor-controls");
5866
5882
  var import_editor_ui10 = require("@elementor/editor-ui");
5867
- var import_icons28 = require("@elementor/icons");
5868
- var import_ui43 = require("@elementor/ui");
5883
+ var import_icons29 = require("@elementor/icons");
5884
+ var import_ui44 = require("@elementor/ui");
5869
5885
  var import_i18n66 = require("@wordpress/i18n");
5870
5886
 
5871
5887
  // src/hooks/use-persist-dynamic-value.ts
@@ -5967,8 +5983,8 @@ var React93 = __toESM(require("react"));
5967
5983
  var import_react45 = require("react");
5968
5984
  var import_editor_controls62 = require("@elementor/editor-controls");
5969
5985
  var import_editor_ui9 = require("@elementor/editor-ui");
5970
- var import_icons27 = require("@elementor/icons");
5971
- var import_ui42 = require("@elementor/ui");
5986
+ var import_icons28 = require("@elementor/icons");
5987
+ var import_ui43 = require("@elementor/ui");
5972
5988
  var import_i18n65 = require("@wordpress/i18n");
5973
5989
  var SIZE2 = "tiny";
5974
5990
  var PROMO_TEXT_WIDTH = 170;
@@ -5977,7 +5993,7 @@ var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew
5977
5993
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
5978
5994
  const [searchValue, setSearchValue] = (0, import_react45.useState)("");
5979
5995
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
5980
- const theme = (0, import_ui42.useTheme)();
5996
+ const theme = (0, import_ui43.useTheme)();
5981
5997
  const { value: anyValue } = (0, import_editor_controls62.useBoundProp)();
5982
5998
  const { bind, value: dynamicValue, setValue } = (0, import_editor_controls62.useBoundProp)(dynamicPropTypeUtil);
5983
5999
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
@@ -6028,7 +6044,7 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6028
6044
  onSearch: handleSearch,
6029
6045
  placeholder: (0, import_i18n65.__)("Search dynamic tags\u2026", "elementor")
6030
6046
  }
6031
- ), /* @__PURE__ */ React93.createElement(import_ui42.Divider, null), /* @__PURE__ */ React93.createElement(
6047
+ ), /* @__PURE__ */ React93.createElement(import_ui43.Divider, null), /* @__PURE__ */ React93.createElement(
6032
6048
  import_editor_ui9.PopoverMenuList,
6033
6049
  {
6034
6050
  items: virtualizedItems,
@@ -6045,12 +6061,12 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6045
6061
  {
6046
6062
  title: (0, import_i18n65.__)("Dynamic tags", "elementor"),
6047
6063
  onClose: closePopover,
6048
- icon: /* @__PURE__ */ React93.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE2 })
6064
+ icon: /* @__PURE__ */ React93.createElement(import_icons28.DatabaseIcon, { fontSize: SIZE2 })
6049
6065
  }
6050
6066
  ), getPopOverContent());
6051
6067
  };
6052
6068
  var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React93.createElement(
6053
- import_ui42.Stack,
6069
+ import_ui43.Stack,
6054
6070
  {
6055
6071
  gap: 1,
6056
6072
  alignItems: "center",
@@ -6060,12 +6076,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React93.createElem
6060
6076
  color: "text.secondary",
6061
6077
  sx: { pb: 3.5 }
6062
6078
  },
6063
- /* @__PURE__ */ React93.createElement(import_icons27.DatabaseIcon, { fontSize: "large" }),
6064
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React93.createElement("br", null), "\u201C", searchValue, "\u201D."),
6065
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n65.__)("Try something else.", "elementor"), /* @__PURE__ */ React93.createElement(import_ui42.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n65.__)("Clear & try again", "elementor")))
6079
+ /* @__PURE__ */ React93.createElement(import_icons28.DatabaseIcon, { fontSize: "large" }),
6080
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React93.createElement("br", null), "\u201C", searchValue, "\u201D."),
6081
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n65.__)("Try something else.", "elementor"), /* @__PURE__ */ React93.createElement(import_ui43.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n65.__)("Clear & try again", "elementor")))
6066
6082
  );
6067
- var NoDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(import_ui42.Divider, null), /* @__PURE__ */ React93.createElement(
6068
- import_ui42.Stack,
6083
+ var NoDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(import_ui43.Divider, null), /* @__PURE__ */ React93.createElement(
6084
+ import_ui43.Stack,
6069
6085
  {
6070
6086
  gap: 1,
6071
6087
  alignItems: "center",
@@ -6075,9 +6091,9 @@ var NoDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment
6075
6091
  color: "text.secondary",
6076
6092
  sx: { pb: 3.5 }
6077
6093
  },
6078
- /* @__PURE__ */ React93.createElement(import_icons27.DatabaseIcon, { fontSize: "large" }),
6079
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Streamline your workflow with dynamic tags", "elementor")),
6080
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n65.__)("Upgrade now to display your content dynamically.", "elementor")),
6094
+ /* @__PURE__ */ React93.createElement(import_icons28.DatabaseIcon, { fontSize: "large" }),
6095
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Streamline your workflow with dynamic tags", "elementor")),
6096
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n65.__)("Upgrade now to display your content dynamically.", "elementor")),
6081
6097
  /* @__PURE__ */ React93.createElement(
6082
6098
  import_editor_ui9.CtaButton,
6083
6099
  {
@@ -6087,8 +6103,8 @@ var NoDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment
6087
6103
  }
6088
6104
  )
6089
6105
  ));
6090
- var ExpiredDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(import_ui42.Divider, null), /* @__PURE__ */ React93.createElement(
6091
- import_ui42.Stack,
6106
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fragment, null, /* @__PURE__ */ React93.createElement(import_ui43.Divider, null), /* @__PURE__ */ React93.createElement(
6107
+ import_ui43.Stack,
6092
6108
  {
6093
6109
  gap: 1,
6094
6110
  alignItems: "center",
@@ -6098,9 +6114,9 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React93.createElement(React93.Fra
6098
6114
  color: "text.secondary",
6099
6115
  sx: { pb: 3.5 }
6100
6116
  },
6101
- /* @__PURE__ */ React93.createElement(import_icons27.DatabaseIcon, { fontSize: "large" }),
6102
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Unlock your Dynamic tags again", "elementor")),
6103
- /* @__PURE__ */ React93.createElement(import_ui42.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n65.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6117
+ /* @__PURE__ */ React93.createElement(import_icons28.DatabaseIcon, { fontSize: "large" }),
6118
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n65.__)("Unlock your Dynamic tags again", "elementor")),
6119
+ /* @__PURE__ */ React93.createElement(import_ui43.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n65.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6104
6120
  /* @__PURE__ */ React93.createElement(
6105
6121
  import_editor_ui9.CtaButton,
6106
6122
  {
@@ -6140,7 +6156,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6140
6156
  }
6141
6157
  });
6142
6158
  const [propValueFromHistory] = usePersistDynamicValue(bind);
6143
- const selectionPopoverState = (0, import_ui43.usePopupState)({ variant: "popover" });
6159
+ const selectionPopoverState = (0, import_ui44.usePopupState)({ variant: "popover" });
6144
6160
  const { name: tagName = "" } = value;
6145
6161
  const dynamicTag = useDynamicTag(tagName);
6146
6162
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
@@ -6152,26 +6168,26 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6152
6168
  if (!dynamicTag) {
6153
6169
  throw new Error(`Dynamic tag ${tagName} not found`);
6154
6170
  }
6155
- return /* @__PURE__ */ React94.createElement(import_ui43.Box, null, /* @__PURE__ */ React94.createElement(
6156
- import_ui43.UnstableTag,
6171
+ return /* @__PURE__ */ React94.createElement(import_ui44.Box, null, /* @__PURE__ */ React94.createElement(
6172
+ import_ui44.UnstableTag,
6157
6173
  {
6158
6174
  fullWidth: true,
6159
6175
  showActionsOnHover: true,
6160
6176
  label: dynamicTag.label,
6161
- startIcon: /* @__PURE__ */ React94.createElement(import_icons28.DatabaseIcon, { fontSize: SIZE3 }),
6162
- ...(0, import_ui43.bindTrigger)(selectionPopoverState),
6177
+ startIcon: /* @__PURE__ */ React94.createElement(import_icons29.DatabaseIcon, { fontSize: SIZE3 }),
6178
+ ...(0, import_ui44.bindTrigger)(selectionPopoverState),
6163
6179
  actions: /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React94.createElement(
6164
- import_ui43.IconButton,
6180
+ import_ui44.IconButton,
6165
6181
  {
6166
6182
  size: SIZE3,
6167
6183
  onClick: removeDynamicTag,
6168
6184
  "aria-label": (0, import_i18n66.__)("Remove dynamic value", "elementor")
6169
6185
  },
6170
- /* @__PURE__ */ React94.createElement(import_icons28.XIcon, { fontSize: SIZE3 })
6186
+ /* @__PURE__ */ React94.createElement(import_icons29.XIcon, { fontSize: SIZE3 })
6171
6187
  ))
6172
6188
  }
6173
6189
  ), /* @__PURE__ */ React94.createElement(
6174
- import_ui43.Popover,
6190
+ import_ui44.Popover,
6175
6191
  {
6176
6192
  disablePortal: true,
6177
6193
  disableScrollLock: true,
@@ -6180,7 +6196,7 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6180
6196
  PaperProps: {
6181
6197
  sx: { my: 1 }
6182
6198
  },
6183
- ...(0, import_ui43.bindPopover)(selectionPopoverState)
6199
+ ...(0, import_ui44.bindPopover)(selectionPopoverState)
6184
6200
  },
6185
6201
  /* @__PURE__ */ React94.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n66.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React94.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6186
6202
  ));
@@ -6189,22 +6205,22 @@ var DynamicSettingsPopover = ({
6189
6205
  dynamicTag,
6190
6206
  disabled = false
6191
6207
  }) => {
6192
- const popupState = (0, import_ui43.usePopupState)({ variant: "popover" });
6208
+ const popupState = (0, import_ui44.usePopupState)({ variant: "popover" });
6193
6209
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
6194
6210
  if (!hasDynamicSettings) {
6195
6211
  return null;
6196
6212
  }
6197
6213
  return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(
6198
- import_ui43.IconButton,
6214
+ import_ui44.IconButton,
6199
6215
  {
6200
6216
  size: SIZE3,
6201
6217
  disabled,
6202
- ...!disabled && (0, import_ui43.bindTrigger)(popupState),
6218
+ ...!disabled && (0, import_ui44.bindTrigger)(popupState),
6203
6219
  "aria-label": (0, import_i18n66.__)("Dynamic settings", "elementor")
6204
6220
  },
6205
- /* @__PURE__ */ React94.createElement(import_icons28.SettingsIcon, { fontSize: SIZE3 })
6221
+ /* @__PURE__ */ React94.createElement(import_icons29.SettingsIcon, { fontSize: SIZE3 })
6206
6222
  ), /* @__PURE__ */ React94.createElement(
6207
- import_ui43.Popover,
6223
+ import_ui44.Popover,
6208
6224
  {
6209
6225
  disablePortal: true,
6210
6226
  disableScrollLock: true,
@@ -6213,39 +6229,39 @@ var DynamicSettingsPopover = ({
6213
6229
  PaperProps: {
6214
6230
  sx: { my: 1 }
6215
6231
  },
6216
- ...(0, import_ui43.bindPopover)(popupState)
6232
+ ...(0, import_ui44.bindPopover)(popupState)
6217
6233
  },
6218
6234
  /* @__PURE__ */ React94.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n66.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React94.createElement(
6219
6235
  import_editor_ui10.PopoverHeader,
6220
6236
  {
6221
6237
  title: dynamicTag.label,
6222
6238
  onClose: popupState.close,
6223
- icon: /* @__PURE__ */ React94.createElement(import_icons28.DatabaseIcon, { fontSize: SIZE3 })
6239
+ icon: /* @__PURE__ */ React94.createElement(import_icons29.DatabaseIcon, { fontSize: SIZE3 })
6224
6240
  }
6225
6241
  ), /* @__PURE__ */ React94.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6226
6242
  ));
6227
6243
  };
6228
6244
  var DynamicSettings = ({ controls, tagName }) => {
6229
6245
  const tabs = controls.filter(({ type }) => type === "section");
6230
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui43.useTabs)(0);
6246
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui44.useTabs)(0);
6231
6247
  if (!tabs.length) {
6232
6248
  return null;
6233
6249
  }
6234
6250
  if (tagsWithoutTabs.includes(tagName)) {
6235
6251
  const singleTab = tabs[0];
6236
- return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(import_ui43.Divider, null), /* @__PURE__ */ React94.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6252
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, /* @__PURE__ */ React94.createElement(import_ui44.Divider, null), /* @__PURE__ */ React94.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6237
6253
  }
6238
- return /* @__PURE__ */ React94.createElement(React94.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React94.createElement(import_ui43.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React94.createElement(
6239
- import_ui43.Tab,
6254
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React94.createElement(import_ui44.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React94.createElement(
6255
+ import_ui44.Tab,
6240
6256
  {
6241
6257
  key: index,
6242
6258
  label: value.label,
6243
6259
  sx: { px: 1, py: 0.5 },
6244
6260
  ...getTabProps(index)
6245
6261
  }
6246
- ))), /* @__PURE__ */ React94.createElement(import_ui43.Divider, null), tabs.map(({ value }, index) => {
6262
+ ))), /* @__PURE__ */ React94.createElement(import_ui44.Divider, null), tabs.map(({ value }, index) => {
6247
6263
  return /* @__PURE__ */ React94.createElement(
6248
- import_ui43.TabPanel,
6264
+ import_ui44.TabPanel,
6249
6265
  {
6250
6266
  key: index,
6251
6267
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
@@ -6293,10 +6309,10 @@ var Control2 = ({ control }) => {
6293
6309
  display: "grid",
6294
6310
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
6295
6311
  } : {};
6296
- return /* @__PURE__ */ React94.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React94.createElement(import_ui43.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React94.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React94.createElement(import_editor_controls63.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React94.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React94.createElement(Control, { type: control.type, props: controlProps }))));
6312
+ return /* @__PURE__ */ React94.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React94.createElement(import_ui44.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React94.createElement(import_ui44.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React94.createElement(import_editor_controls63.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React94.createElement(import_ui44.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React94.createElement(Control, { type: control.type, props: controlProps }))));
6297
6313
  };
6298
6314
  function ControlsItemsStack({ items: items3 }) {
6299
- return /* @__PURE__ */ React94.createElement(import_ui43.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6315
+ return /* @__PURE__ */ React94.createElement(import_ui44.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6300
6316
  (item) => item.type === "control" ? /* @__PURE__ */ React94.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6301
6317
  ));
6302
6318
  }
@@ -6352,14 +6368,14 @@ function getDynamicValue(name, settings) {
6352
6368
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
6353
6369
  var React95 = __toESM(require("react"));
6354
6370
  var import_editor_controls64 = require("@elementor/editor-controls");
6355
- var import_icons29 = require("@elementor/icons");
6371
+ var import_icons30 = require("@elementor/icons");
6356
6372
  var import_i18n67 = require("@wordpress/i18n");
6357
6373
  var usePropDynamicAction = () => {
6358
6374
  const { propType } = (0, import_editor_controls64.useBoundProp)();
6359
6375
  const visible = !!propType && supportsDynamic(propType);
6360
6376
  return {
6361
6377
  visible,
6362
- icon: import_icons29.DatabaseIcon,
6378
+ icon: import_icons30.DatabaseIcon,
6363
6379
  title: (0, import_i18n67.__)("Dynamic tags", "elementor"),
6364
6380
  content: ({ close }) => /* @__PURE__ */ React95.createElement(DynamicSelection, { close })
6365
6381
  };
@@ -6394,7 +6410,7 @@ var init2 = () => {
6394
6410
  // src/reset-style-props.tsx
6395
6411
  var import_editor_controls66 = require("@elementor/editor-controls");
6396
6412
  var import_editor_variables2 = require("@elementor/editor-variables");
6397
- var import_icons30 = require("@elementor/icons");
6413
+ var import_icons31 = require("@elementor/icons");
6398
6414
  var import_menus3 = require("@elementor/menus");
6399
6415
  var import_i18n68 = require("@wordpress/i18n");
6400
6416
 
@@ -6473,7 +6489,7 @@ function useResetStyleValueProps() {
6473
6489
  return {
6474
6490
  visible,
6475
6491
  title: (0, import_i18n68.__)("Clear", "elementor"),
6476
- icon: import_icons30.BrushBigIcon,
6492
+ icon: import_icons31.BrushBigIcon,
6477
6493
  onClick: () => resetValue()
6478
6494
  };
6479
6495
  }
@@ -6490,7 +6506,7 @@ var React100 = __toESM(require("react"));
6490
6506
  var import_react47 = require("react");
6491
6507
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6492
6508
  var import_editor_ui11 = require("@elementor/editor-ui");
6493
- var import_ui48 = require("@elementor/ui");
6509
+ var import_ui49 = require("@elementor/ui");
6494
6510
  var import_i18n71 = require("@wordpress/i18n");
6495
6511
 
6496
6512
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
@@ -6568,18 +6584,18 @@ var getTransformedValue = async (item, bind, resolve) => {
6568
6584
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6569
6585
  var React96 = __toESM(require("react"));
6570
6586
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6571
- var import_icons31 = require("@elementor/icons");
6572
- var import_ui44 = require("@elementor/ui");
6587
+ var import_icons32 = require("@elementor/icons");
6588
+ var import_ui45 = require("@elementor/ui");
6573
6589
  var SIZE4 = "tiny";
6574
6590
  var DEFAULT_BREAKPOINT3 = "desktop";
6575
6591
  var breakpointIconMap = {
6576
- widescreen: import_icons31.WidescreenIcon,
6577
- desktop: import_icons31.DesktopIcon,
6578
- laptop: import_icons31.LaptopIcon,
6579
- tablet_extra: import_icons31.TabletLandscapeIcon,
6580
- tablet: import_icons31.TabletPortraitIcon,
6581
- mobile_extra: import_icons31.MobileLandscapeIcon,
6582
- mobile: import_icons31.MobilePortraitIcon
6592
+ widescreen: import_icons32.WidescreenIcon,
6593
+ desktop: import_icons32.DesktopIcon,
6594
+ laptop: import_icons32.LaptopIcon,
6595
+ tablet_extra: import_icons32.TabletLandscapeIcon,
6596
+ tablet: import_icons32.TabletPortraitIcon,
6597
+ mobile_extra: import_icons32.MobileLandscapeIcon,
6598
+ mobile: import_icons32.MobilePortraitIcon
6583
6599
  };
6584
6600
  var BreakpointIcon = ({ breakpoint }) => {
6585
6601
  const breakpoints = (0, import_editor_responsive4.useBreakpoints)();
@@ -6589,21 +6605,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6589
6605
  return null;
6590
6606
  }
6591
6607
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6592
- return /* @__PURE__ */ React96.createElement(import_ui44.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React96.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6608
+ return /* @__PURE__ */ React96.createElement(import_ui45.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React96.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6593
6609
  };
6594
6610
 
6595
6611
  // src/styles-inheritance/components/infotip/label-chip.tsx
6596
6612
  var React97 = __toESM(require("react"));
6597
6613
  var import_editor_styles_repository16 = require("@elementor/editor-styles-repository");
6598
- var import_icons32 = require("@elementor/icons");
6599
- var import_ui45 = require("@elementor/ui");
6614
+ var import_icons33 = require("@elementor/icons");
6615
+ var import_ui46 = require("@elementor/ui");
6600
6616
  var import_i18n70 = require("@wordpress/i18n");
6601
6617
  var SIZE5 = "tiny";
6602
6618
  var LabelChip = ({ displayLabel, provider }) => {
6603
6619
  const isBaseStyle = provider === import_editor_styles_repository16.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6604
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React97.createElement(import_ui45.Tooltip, { title: (0, import_i18n70.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React97.createElement(import_icons32.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6620
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React97.createElement(import_ui46.Tooltip, { title: (0, import_i18n70.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React97.createElement(import_icons33.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6605
6621
  return /* @__PURE__ */ React97.createElement(
6606
- import_ui45.Chip,
6622
+ import_ui46.Chip,
6607
6623
  {
6608
6624
  label: displayLabel,
6609
6625
  size: SIZE5,
@@ -6629,10 +6645,10 @@ var LabelChip = ({ displayLabel, provider }) => {
6629
6645
 
6630
6646
  // src/styles-inheritance/components/infotip/value-component.tsx
6631
6647
  var React98 = __toESM(require("react"));
6632
- var import_ui46 = require("@elementor/ui");
6648
+ var import_ui47 = require("@elementor/ui");
6633
6649
  var ValueComponent = ({ index, value }) => {
6634
- return /* @__PURE__ */ React98.createElement(import_ui46.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React98.createElement(
6635
- import_ui46.Typography,
6650
+ return /* @__PURE__ */ React98.createElement(import_ui47.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React98.createElement(
6651
+ import_ui47.Typography,
6636
6652
  {
6637
6653
  variant: "caption",
6638
6654
  color: "text.tertiary",
@@ -6654,8 +6670,8 @@ var ValueComponent = ({ index, value }) => {
6654
6670
 
6655
6671
  // src/styles-inheritance/components/infotip/action-icons.tsx
6656
6672
  var React99 = __toESM(require("react"));
6657
- var import_ui47 = require("@elementor/ui");
6658
- var ActionIcons = () => /* @__PURE__ */ React99.createElement(import_ui47.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6673
+ var import_ui48 = require("@elementor/ui");
6674
+ var ActionIcons = () => /* @__PURE__ */ React99.createElement(import_ui48.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6659
6675
 
6660
6676
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6661
6677
  var SECTION_PADDING_INLINE = 32;
@@ -6691,8 +6707,8 @@ var StylesInheritanceInfotip = ({
6691
6707
  });
6692
6708
  }, [key, propType]);
6693
6709
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
6694
- const infotipContent = /* @__PURE__ */ React100.createElement(import_ui48.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React100.createElement(
6695
- import_ui48.Card,
6710
+ const infotipContent = /* @__PURE__ */ React100.createElement(import_ui49.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React100.createElement(
6711
+ import_ui49.Card,
6696
6712
  {
6697
6713
  elevation: 0,
6698
6714
  sx: {
@@ -6705,7 +6721,7 @@ var StylesInheritanceInfotip = ({
6705
6721
  }
6706
6722
  },
6707
6723
  /* @__PURE__ */ React100.createElement(
6708
- import_ui48.Box,
6724
+ import_ui49.Box,
6709
6725
  {
6710
6726
  sx: {
6711
6727
  position: "sticky",
@@ -6717,7 +6733,7 @@ var StylesInheritanceInfotip = ({
6717
6733
  /* @__PURE__ */ React100.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n71.__)("Style origin", "elementor"), onClose: closeInfotip })
6718
6734
  ),
6719
6735
  /* @__PURE__ */ React100.createElement(
6720
- import_ui48.CardContent,
6736
+ import_ui49.CardContent,
6721
6737
  {
6722
6738
  sx: {
6723
6739
  display: "flex",
@@ -6730,9 +6746,9 @@ var StylesInheritanceInfotip = ({
6730
6746
  }
6731
6747
  }
6732
6748
  },
6733
- /* @__PURE__ */ React100.createElement(import_ui48.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6749
+ /* @__PURE__ */ React100.createElement(import_ui49.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
6734
6750
  return /* @__PURE__ */ React100.createElement(
6735
- import_ui48.Box,
6751
+ import_ui49.Box,
6736
6752
  {
6737
6753
  key: item.id,
6738
6754
  display: "flex",
@@ -6744,7 +6760,7 @@ var StylesInheritanceInfotip = ({
6744
6760
  )
6745
6761
  },
6746
6762
  /* @__PURE__ */ React100.createElement(
6747
- import_ui48.Box,
6763
+ import_ui49.Box,
6748
6764
  {
6749
6765
  display: "flex",
6750
6766
  gap: 0.5,
@@ -6760,9 +6776,9 @@ var StylesInheritanceInfotip = ({
6760
6776
  )
6761
6777
  ));
6762
6778
  if (isDisabled) {
6763
- return /* @__PURE__ */ React100.createElement(import_ui48.Box, { sx: { display: "inline-flex" } }, children);
6779
+ return /* @__PURE__ */ React100.createElement(import_ui49.Box, { sx: { display: "inline-flex" } }, children);
6764
6780
  }
6765
- return /* @__PURE__ */ React100.createElement(import_ui48.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React100.createElement(
6781
+ return /* @__PURE__ */ React100.createElement(import_ui49.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React100.createElement(
6766
6782
  TooltipOrInfotip,
6767
6783
  {
6768
6784
  showInfotip,
@@ -6771,7 +6787,7 @@ var StylesInheritanceInfotip = ({
6771
6787
  isDisabled
6772
6788
  },
6773
6789
  /* @__PURE__ */ React100.createElement(
6774
- import_ui48.IconButton,
6790
+ import_ui49.IconButton,
6775
6791
  {
6776
6792
  onClick: toggleInfotip,
6777
6793
  "aria-label": label,
@@ -6790,11 +6806,11 @@ function TooltipOrInfotip({
6790
6806
  isDisabled
6791
6807
  }) {
6792
6808
  if (isDisabled) {
6793
- return /* @__PURE__ */ React100.createElement(import_ui48.Box, { sx: { display: "inline-flex" } }, children);
6809
+ return /* @__PURE__ */ React100.createElement(import_ui49.Box, { sx: { display: "inline-flex" } }, children);
6794
6810
  }
6795
6811
  if (showInfotip) {
6796
6812
  return /* @__PURE__ */ React100.createElement(React100.Fragment, null, /* @__PURE__ */ React100.createElement(
6797
- import_ui48.Backdrop,
6813
+ import_ui49.Backdrop,
6798
6814
  {
6799
6815
  open: showInfotip,
6800
6816
  onClick: onClose,
@@ -6804,7 +6820,7 @@ function TooltipOrInfotip({
6804
6820
  }
6805
6821
  }
6806
6822
  ), /* @__PURE__ */ React100.createElement(
6807
- import_ui48.Infotip,
6823
+ import_ui49.Infotip,
6808
6824
  {
6809
6825
  placement: "top-end",
6810
6826
  content: infotipContent,
@@ -6815,7 +6831,7 @@ function TooltipOrInfotip({
6815
6831
  children
6816
6832
  ));
6817
6833
  }
6818
- return /* @__PURE__ */ React100.createElement(import_ui48.Tooltip, { title: (0, import_i18n71.__)("Style origin", "elementor"), placement: "top" }, children);
6834
+ return /* @__PURE__ */ React100.createElement(import_ui49.Tooltip, { title: (0, import_i18n71.__)("Style origin", "elementor"), placement: "top" }, children);
6819
6835
  }
6820
6836
 
6821
6837
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
@@ -6900,12 +6916,12 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
6900
6916
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
6901
6917
  var React103 = __toESM(require("react"));
6902
6918
  var import_editor_canvas7 = require("@elementor/editor-canvas");
6903
- var import_ui49 = require("@elementor/ui");
6904
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React103.createElement(import_ui49.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React103.createElement(ItemLabelColor, { value })));
6919
+ var import_ui50 = require("@elementor/ui");
6920
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React103.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React103.createElement(ItemLabelColor, { value })));
6905
6921
  var ItemLabelColor = ({ value: { color } }) => {
6906
6922
  return /* @__PURE__ */ React103.createElement("span", null, color);
6907
6923
  };
6908
- var StyledUnstableColorIndicator = (0, import_ui49.styled)(import_ui49.UnstableColorIndicator)(({ theme }) => ({
6924
+ var StyledUnstableColorIndicator = (0, import_ui50.styled)(import_ui50.UnstableColorIndicator)(({ theme }) => ({
6909
6925
  width: "1em",
6910
6926
  height: "1em",
6911
6927
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -6916,9 +6932,9 @@ var StyledUnstableColorIndicator = (0, import_ui49.styled)(import_ui49.UnstableC
6916
6932
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
6917
6933
  var React104 = __toESM(require("react"));
6918
6934
  var import_editor_canvas8 = require("@elementor/editor-canvas");
6919
- var import_ui50 = require("@elementor/ui");
6935
+ var import_ui51 = require("@elementor/ui");
6920
6936
  var import_i18n73 = require("@wordpress/i18n");
6921
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React104.createElement(import_ui50.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React104.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React104.createElement(ItemLabelGradient, { value })));
6937
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React104.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React104.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React104.createElement(ItemLabelGradient, { value })));
6922
6938
  var ItemIconGradient = ({ value }) => {
6923
6939
  const gradient = getGradientValue(value);
6924
6940
  return /* @__PURE__ */ React104.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
@@ -6941,13 +6957,13 @@ var getGradientValue = (gradient) => {
6941
6957
  var React105 = __toESM(require("react"));
6942
6958
  var import_editor_canvas9 = require("@elementor/editor-canvas");
6943
6959
  var import_editor_ui12 = require("@elementor/editor-ui");
6944
- var import_ui51 = require("@elementor/ui");
6960
+ var import_ui52 = require("@elementor/ui");
6945
6961
  var import_wp_media = require("@elementor/wp-media");
6946
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React105.createElement(import_ui51.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(ItemIconImage, { value }), /* @__PURE__ */ React105.createElement(ItemLabelImage, { value })));
6962
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React105.createElement(import_ui52.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(ItemIconImage, { value }), /* @__PURE__ */ React105.createElement(ItemLabelImage, { value })));
6947
6963
  var ItemIconImage = ({ value }) => {
6948
6964
  const { imageUrl } = useImage(value);
6949
6965
  return /* @__PURE__ */ React105.createElement(
6950
- import_ui51.CardMedia,
6966
+ import_ui52.CardMedia,
6951
6967
  {
6952
6968
  image: imageUrl,
6953
6969
  sx: (theme) => ({
@@ -7003,14 +7019,14 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
7003
7019
  // src/styles-inheritance/transformers/color-transformer.tsx
7004
7020
  var React107 = __toESM(require("react"));
7005
7021
  var import_editor_canvas11 = require("@elementor/editor-canvas");
7006
- var import_ui52 = require("@elementor/ui");
7022
+ var import_ui53 = require("@elementor/ui");
7007
7023
  function isValidCSSColor(value) {
7008
7024
  if (!value.trim()) {
7009
7025
  return false;
7010
7026
  }
7011
7027
  return CSS.supports("color", value.trim());
7012
7028
  }
7013
- var StyledColorIndicator = (0, import_ui52.styled)(import_ui52.UnstableColorIndicator)(({ theme }) => ({
7029
+ var StyledColorIndicator = (0, import_ui53.styled)(import_ui53.UnstableColorIndicator)(({ theme }) => ({
7014
7030
  width: "1em",
7015
7031
  height: "1em",
7016
7032
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -7021,7 +7037,7 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
7021
7037
  if (!isValidCSSColor(value)) {
7022
7038
  return value;
7023
7039
  }
7024
- return /* @__PURE__ */ React107.createElement(import_ui52.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React107.createElement("span", null, value));
7040
+ return /* @__PURE__ */ React107.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React107.createElement("span", null, value));
7025
7041
  });
7026
7042
 
7027
7043
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx