@elementor/editor-editing-panel 1.20.0 → 1.22.0

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
@@ -32,12 +32,12 @@ var index_exports = {};
32
32
  __export(index_exports, {
33
33
  injectIntoClassSelectorActions: () => injectIntoClassSelectorActions,
34
34
  replaceControl: () => replaceControl,
35
- useBoundProp: () => import_editor_controls49.useBoundProp,
35
+ useBoundProp: () => import_editor_controls50.useBoundProp,
36
36
  usePanelActions: () => usePanelActions,
37
37
  usePanelStatus: () => usePanelStatus
38
38
  });
39
39
  module.exports = __toCommonJS(index_exports);
40
- var import_editor_controls49 = require("@elementor/editor-controls");
40
+ var import_editor_controls50 = require("@elementor/editor-controls");
41
41
 
42
42
  // src/control-replacement.tsx
43
43
  var import_editor_controls = require("@elementor/editor-controls");
@@ -137,7 +137,7 @@ var import_ui = require("@elementor/ui");
137
137
  function MultiCombobox({
138
138
  actions = [],
139
139
  selected,
140
- options: options12,
140
+ options: options13,
141
141
  onSelect,
142
142
  ...props
143
143
  }) {
@@ -155,15 +155,15 @@ function MultiCombobox({
155
155
  handleHomeEndKeys: true,
156
156
  disabled: loading,
157
157
  value: selected,
158
- options: options12,
158
+ options: options13,
159
159
  renderGroup: (params) => /* @__PURE__ */ React4.createElement(Group, { ...params }),
160
160
  renderInput: (params) => /* @__PURE__ */ React4.createElement(import_ui.TextField, { ...params }),
161
161
  onChange: (_, selectedOrInputValue, reason) => {
162
162
  const inputValue = selectedOrInputValue.find((option) => typeof option === "string");
163
163
  const optionsAndActions = selectedOrInputValue.filter((option) => typeof option !== "string");
164
164
  if (reason === "createOption") {
165
- const [firstAction] = filterActions(actions, { options: options12, inputValue: inputValue ?? "" });
166
- if (firstAction.value) {
165
+ const [firstAction] = filterActions(actions, { options: options13, inputValue: inputValue ?? "" });
166
+ if (firstAction?.value) {
167
167
  return run(firstAction.apply, firstAction.value);
168
168
  }
169
169
  }
@@ -171,7 +171,7 @@ function MultiCombobox({
171
171
  if (reason === "selectOption" && action?.value) {
172
172
  return run(action.apply, action.value);
173
173
  }
174
- const fixedValues = options12.filter((option) => !!option.fixed);
174
+ const fixedValues = options13.filter((option) => !!option.fixed);
175
175
  onSelect?.([.../* @__PURE__ */ new Set([...optionsAndActions, ...fixedValues])]);
176
176
  },
177
177
  getOptionLabel: (option) => typeof option === "string" ? option : option.label,
@@ -229,8 +229,8 @@ function useActionRunner() {
229
229
  };
230
230
  return { run, loading };
231
231
  }
232
- function filterActions(actions, { options: options12, inputValue }) {
233
- return actions.filter((action) => action.condition(options12, inputValue)).map((action, index) => ({
232
+ function filterActions(actions, { options: options13, inputValue }) {
233
+ return actions.filter((action) => action.condition(options13, inputValue)).map((action, index) => ({
234
234
  label: action.label(inputValue),
235
235
  value: inputValue,
236
236
  group: action.group,
@@ -507,19 +507,19 @@ var EMPTY_OPTION = {
507
507
  };
508
508
  var { Slot: ClassSelectorActionsSlot, inject: injectIntoClassSelectorActions } = (0, import_locations.createLocation)();
509
509
  function CssClassSelector() {
510
- const options12 = useOptions();
510
+ const options13 = useOptions();
511
511
  const { value: appliedIds, setValue: setAppliedIds, pushValue: pushAppliedId } = useAppliedClassesIds();
512
512
  const { id: activeId, setId: setActiveId } = useStyle();
513
513
  const actions = useCreateActions({ pushAppliedId, setActiveId });
514
514
  const handleApply = useHandleApply(appliedIds, setAppliedIds);
515
- const applied = useAppliedOptions(options12, appliedIds);
515
+ const applied = useAppliedOptions(options13, appliedIds);
516
516
  const active = applied.find((option) => option.value === activeId) ?? EMPTY_OPTION;
517
517
  return /* @__PURE__ */ React7.createElement(import_ui4.Stack, { gap: 1, p: 2 }, /* @__PURE__ */ React7.createElement(import_ui4.Stack, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React7.createElement(import_ui4.Typography, { component: "label", variant: "caption", htmlFor: ID }, (0, import_i18n3.__)("CSS classes", "elementor")), /* @__PURE__ */ React7.createElement(import_ui4.Stack, { direction: "row", gap: 1 }, /* @__PURE__ */ React7.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React7.createElement(
518
518
  MultiCombobox,
519
519
  {
520
520
  id: ID,
521
521
  size: "tiny",
522
- options: options12,
522
+ options: options13,
523
523
  selected: applied,
524
524
  onSelect: handleApply,
525
525
  limitTags: TAGS_LIMIT,
@@ -590,6 +590,9 @@ function useCreateActions({
590
590
  return {
591
591
  // translators: %s is the label of the new class.
592
592
  label: (value) => (0, import_i18n3.__)('Create new "%s"', "elementor").replace("%s", value),
593
+ // translators: %s is the singular label of css class provider (e.g "Global CSS Class").
594
+ group: (0, import_i18n3.__)("Create New %s", "elementor").replace("%s", provider.labels?.singular ?? ""),
595
+ condition: (_, inputValue) => isLabelValid(inputValue) && !hasReachedLimit(provider),
593
596
  apply: (label) => {
594
597
  const createdId = create(label);
595
598
  if (!createdId) {
@@ -597,15 +600,21 @@ function useCreateActions({
597
600
  }
598
601
  pushAppliedId(createdId);
599
602
  setActiveId(createdId);
600
- },
601
- condition: (_, inputValue) => import_editor_styles_repository4.stylesRepository.isLabelValid(inputValue) && !import_editor_styles_repository4.stylesRepository.isLabelExist(inputValue),
602
- // translators: %s is the singular label of css class provider (e.g "Global CSS Class").
603
- group: (0, import_i18n3.__)("Create New %s", "elementor").replace("%s", provider.labels?.singular ?? "")
603
+ }
604
604
  };
605
605
  });
606
606
  }
607
- function useAppliedOptions(options12, appliedIds) {
608
- const applied = options12.filter((option) => option.value && appliedIds.includes(option.value));
607
+ function hasReachedLimit(provider) {
608
+ if (provider.limit === void 0) {
609
+ return false;
610
+ }
611
+ return provider.actions.get().length >= provider.limit;
612
+ }
613
+ function isLabelValid(newLabel) {
614
+ return import_editor_styles_repository4.stylesRepository.isLabelValid(newLabel) && !import_editor_styles_repository4.stylesRepository.isLabelExist(newLabel);
615
+ }
616
+ function useAppliedOptions(options13, appliedIds) {
617
+ const applied = options13.filter((option) => option.value && appliedIds.includes(option.value));
609
618
  const hasElementsProviderStyleApplied = applied.some(
610
619
  (option) => option.provider === import_editor_styles_repository4.ELEMENTS_STYLES_PROVIDER_KEY
611
620
  );
@@ -661,14 +670,14 @@ function useHandleApply(appliedIds, setAppliedIds) {
661
670
  var import_editor_panels2 = require("@elementor/editor-panels");
662
671
 
663
672
  // src/components/editing-panel.tsx
664
- var React65 = __toESM(require("react"));
665
- var import_editor_controls43 = require("@elementor/editor-controls");
673
+ var React66 = __toESM(require("react"));
674
+ var import_editor_controls44 = require("@elementor/editor-controls");
666
675
  var import_editor_elements8 = require("@elementor/editor-elements");
667
676
  var import_editor_panels = require("@elementor/editor-panels");
668
- var import_icons22 = require("@elementor/icons");
677
+ var import_icons23 = require("@elementor/icons");
669
678
  var import_session4 = require("@elementor/session");
670
- var import_ui50 = require("@elementor/ui");
671
- var import_i18n44 = require("@wordpress/i18n");
679
+ var import_ui51 = require("@elementor/ui");
680
+ var import_i18n45 = require("@wordpress/i18n");
672
681
 
673
682
  // src/controls-actions.ts
674
683
  var import_menus = require("@elementor/menus");
@@ -724,10 +733,10 @@ function EditorPanelErrorFallback() {
724
733
  }
725
734
 
726
735
  // src/components/editing-panel-tabs.tsx
727
- var React64 = __toESM(require("react"));
736
+ var React65 = __toESM(require("react"));
728
737
  var import_react17 = require("react");
729
- var import_ui49 = require("@elementor/ui");
730
- var import_i18n43 = require("@wordpress/i18n");
738
+ var import_ui50 = require("@elementor/ui");
739
+ var import_i18n44 = require("@wordpress/i18n");
731
740
 
732
741
  // src/components/settings-tab.tsx
733
742
  var React15 = __toESM(require("react"));
@@ -897,14 +906,14 @@ var Control2 = ({ control }) => {
897
906
  };
898
907
 
899
908
  // src/components/style-tab.tsx
900
- var React63 = __toESM(require("react"));
909
+ var React64 = __toESM(require("react"));
901
910
  var import_react16 = require("react");
902
911
  var import_editor_elements7 = require("@elementor/editor-elements");
903
912
  var import_editor_props5 = require("@elementor/editor-props");
904
913
  var import_editor_responsive2 = require("@elementor/editor-responsive");
905
914
  var import_session3 = require("@elementor/session");
906
- var import_ui48 = require("@elementor/ui");
907
- var import_i18n42 = require("@wordpress/i18n");
915
+ var import_ui49 = require("@elementor/ui");
916
+ var import_i18n43 = require("@wordpress/i18n");
908
917
 
909
918
  // src/contexts/styles-inheritance-context.tsx
910
919
  var React16 = __toESM(require("react"));
@@ -1440,20 +1449,30 @@ var COUNTER_CLOCKWISE_ANGLES = {
1440
1449
  "row-reverse": -180,
1441
1450
  "column-reverse": -270
1442
1451
  };
1443
- var RotatedIcon = ({ icon: Icon, size, isClockwise = true, offset = 0 }) => {
1444
- const rotate = (0, import_react11.useRef)(useGetTargetAngle(isClockwise, offset));
1445
- rotate.current = useGetTargetAngle(isClockwise, offset, rotate);
1452
+ var RotatedIcon = ({
1453
+ icon: Icon,
1454
+ size,
1455
+ isClockwise = true,
1456
+ offset = 0,
1457
+ disableRotationForReversed = false
1458
+ }) => {
1459
+ const rotate = (0, import_react11.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
1460
+ rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
1446
1461
  return /* @__PURE__ */ React25.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
1447
1462
  };
1448
- var useGetTargetAngle = (isClockwise, offset, existingRef) => {
1463
+ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
1449
1464
  const [direction] = useStylesField("flex-direction");
1450
1465
  const isRtl = "rtl" === (0, import_ui18.useTheme)().direction;
1451
1466
  const rotationMultiplier = isRtl ? -1 : 1;
1452
1467
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
1453
- const currentAngle = existingRef ? existingRef.current * rotationMultiplier : angleMap[direction?.value || "row"] + offset;
1454
- const targetAngle = angleMap[direction?.value || "row"] + offset;
1468
+ const currentDirection = direction?.value || "row";
1469
+ const currentAngle = existingRef ? existingRef.current * rotationMultiplier : angleMap[currentDirection] + offset;
1470
+ const targetAngle = angleMap[currentDirection] + offset;
1455
1471
  const diffToTargetAngle = (targetAngle - currentAngle + 360) % 360;
1456
1472
  const formattedDiff = (diffToTargetAngle + 180) % 360 - 180;
1473
+ if (disableRotationForReversed && ["row-reverse", "column-reverse"].includes(currentDirection)) {
1474
+ return 0;
1475
+ }
1457
1476
  return (currentAngle + formattedDiff) * rotationMultiplier;
1458
1477
  };
1459
1478
 
@@ -1591,10 +1610,10 @@ var EffectsSection = () => {
1591
1610
  };
1592
1611
 
1593
1612
  // src/components/style-sections/layout-section/layout-section.tsx
1594
- var React40 = __toESM(require("react"));
1595
- var import_editor_controls23 = require("@elementor/editor-controls");
1613
+ var React41 = __toESM(require("react"));
1614
+ var import_editor_controls24 = require("@elementor/editor-controls");
1596
1615
  var import_editor_elements6 = require("@elementor/editor-elements");
1597
- var import_i18n20 = require("@wordpress/i18n");
1616
+ var import_i18n21 = require("@wordpress/i18n");
1598
1617
 
1599
1618
  // src/hooks/use-computed-style.ts
1600
1619
  var import_editor_v1_adapters2 = require("@elementor/editor-v1-adapters");
@@ -1621,17 +1640,18 @@ function useComputedStyle(elementId) {
1621
1640
  );
1622
1641
  }
1623
1642
 
1624
- // src/components/style-sections/layout-section/align-items-field.tsx
1643
+ // src/components/style-sections/layout-section/align-content-field.tsx
1625
1644
  var React31 = __toESM(require("react"));
1626
1645
  var import_editor_controls14 = require("@elementor/editor-controls");
1627
1646
  var import_icons8 = require("@elementor/icons");
1628
1647
  var import_ui21 = require("@elementor/ui");
1629
1648
  var import_i18n11 = require("@wordpress/i18n");
1630
- var StartIcon = (0, import_ui21.withDirection)(import_icons8.LayoutAlignLeftIcon);
1631
- var EndIcon = (0, import_ui21.withDirection)(import_icons8.LayoutAlignRightIcon);
1649
+ var StartIcon = (0, import_ui21.withDirection)(import_icons8.JustifyTopIcon);
1650
+ var EndIcon = (0, import_ui21.withDirection)(import_icons8.JustifyBottomIcon);
1632
1651
  var iconProps = {
1633
1652
  isClockwise: false,
1634
- offset: 90
1653
+ offset: 0,
1654
+ disableRotationForReversed: true
1635
1655
  };
1636
1656
  var options = [
1637
1657
  {
@@ -1643,7 +1663,7 @@ var options = [
1643
1663
  {
1644
1664
  value: "center",
1645
1665
  label: (0, import_i18n11.__)("Center", "elementor"),
1646
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.LayoutAlignCenterIcon, size, ...iconProps }),
1666
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.JustifyCenterIcon, size, ...iconProps }),
1647
1667
  showTooltip: true
1648
1668
  },
1649
1669
  {
@@ -1653,18 +1673,30 @@ var options = [
1653
1673
  showTooltip: true
1654
1674
  },
1655
1675
  {
1656
- value: "stretch",
1657
- label: (0, import_i18n11.__)("Stretch", "elementor"),
1658
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.LayoutDistributeVerticalIcon, size, ...iconProps }),
1676
+ value: "space-between",
1677
+ label: (0, import_i18n11.__)("Space between", "elementor"),
1678
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
1679
+ showTooltip: true
1680
+ },
1681
+ {
1682
+ value: "space-around",
1683
+ label: (0, import_i18n11.__)("Space around", "elementor"),
1684
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
1685
+ showTooltip: true
1686
+ },
1687
+ {
1688
+ value: "space-evenly",
1689
+ label: (0, import_i18n11.__)("Space evenly", "elementor"),
1690
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: import_icons8.JustifyDistributeVerticalIcon, size, ...iconProps }),
1659
1691
  showTooltip: true
1660
1692
  }
1661
1693
  ];
1662
- var AlignItemsField = () => {
1694
+ var AlignContentField = () => {
1663
1695
  const { isSiteRtl } = useDirection();
1664
- return /* @__PURE__ */ React31.createElement(import_ui21.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(import_ui21.ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ControlLabel, null, (0, import_i18n11.__)("Align items", "elementor"))), /* @__PURE__ */ React31.createElement(import_ui21.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ToggleControl, { options }))))));
1696
+ return /* @__PURE__ */ React31.createElement(import_ui21.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(import_ui21.ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React31.createElement(import_ui21.Stack, { gap: 1 }, /* @__PURE__ */ React31.createElement(import_editor_controls14.ControlLabel, null, (0, import_i18n11.__)("Align content", "elementor")), /* @__PURE__ */ React31.createElement(import_editor_controls14.ToggleControl, { options, fullWidth: true })))));
1665
1697
  };
1666
1698
 
1667
- // src/components/style-sections/layout-section/align-self-child-field.tsx
1699
+ // src/components/style-sections/layout-section/align-items-field.tsx
1668
1700
  var React32 = __toESM(require("react"));
1669
1701
  var import_editor_controls15 = require("@elementor/editor-controls");
1670
1702
  var import_icons9 = require("@elementor/icons");
@@ -1702,96 +1734,139 @@ var options2 = [
1702
1734
  showTooltip: true
1703
1735
  }
1704
1736
  ];
1705
- var AlignSelfChild = () => {
1737
+ var AlignItemsField = () => {
1706
1738
  const { isSiteRtl } = useDirection();
1707
- return /* @__PURE__ */ React32.createElement(import_ui22.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(import_ui22.ThemeProvider, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ControlLabel, null, (0, import_i18n12.__)("Align self", "elementor"))), /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ToggleControl, { options: options2 }))))));
1739
+ return /* @__PURE__ */ React32.createElement(import_ui22.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(import_ui22.ThemeProvider, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ControlLabel, null, (0, import_i18n12.__)("Align items", "elementor"))), /* @__PURE__ */ React32.createElement(import_ui22.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React32.createElement(import_editor_controls15.ToggleControl, { options: options2 }))))));
1708
1740
  };
1709
1741
 
1710
- // src/components/style-sections/layout-section/display-field.tsx
1742
+ // src/components/style-sections/layout-section/align-self-child-field.tsx
1711
1743
  var React33 = __toESM(require("react"));
1712
1744
  var import_editor_controls16 = require("@elementor/editor-controls");
1745
+ var import_icons10 = require("@elementor/icons");
1713
1746
  var import_ui23 = require("@elementor/ui");
1714
1747
  var import_i18n13 = require("@wordpress/i18n");
1748
+ var StartIcon3 = (0, import_ui23.withDirection)(import_icons10.LayoutAlignLeftIcon);
1749
+ var EndIcon3 = (0, import_ui23.withDirection)(import_icons10.LayoutAlignRightIcon);
1750
+ var iconProps3 = {
1751
+ isClockwise: false,
1752
+ offset: 90
1753
+ };
1754
+ var options3 = [
1755
+ {
1756
+ value: "start",
1757
+ label: (0, import_i18n13.__)("Start", "elementor"),
1758
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
1759
+ showTooltip: true
1760
+ },
1761
+ {
1762
+ value: "center",
1763
+ label: (0, import_i18n13.__)("Center", "elementor"),
1764
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: import_icons10.LayoutAlignCenterIcon, size, ...iconProps3 }),
1765
+ showTooltip: true
1766
+ },
1767
+ {
1768
+ value: "end",
1769
+ label: (0, import_i18n13.__)("End", "elementor"),
1770
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
1771
+ showTooltip: true
1772
+ },
1773
+ {
1774
+ value: "stretch",
1775
+ label: (0, import_i18n13.__)("Stretch", "elementor"),
1776
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: import_icons10.LayoutDistributeVerticalIcon, size, ...iconProps3 }),
1777
+ showTooltip: true
1778
+ }
1779
+ ];
1780
+ var AlignSelfChild = () => {
1781
+ const { isSiteRtl } = useDirection();
1782
+ return /* @__PURE__ */ React33.createElement(import_ui23.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React33.createElement(import_ui23.ThemeProvider, null, /* @__PURE__ */ React33.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React33.createElement(import_ui23.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React33.createElement(import_ui23.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ControlLabel, null, (0, import_i18n13.__)("Align self", "elementor"))), /* @__PURE__ */ React33.createElement(import_ui23.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ToggleControl, { options: options3 }))))));
1783
+ };
1784
+
1785
+ // src/components/style-sections/layout-section/display-field.tsx
1786
+ var React34 = __toESM(require("react"));
1787
+ var import_editor_controls17 = require("@elementor/editor-controls");
1788
+ var import_ui24 = require("@elementor/ui");
1789
+ var import_i18n14 = require("@wordpress/i18n");
1715
1790
  var DisplayField = () => {
1716
- const options12 = [
1791
+ const options13 = [
1717
1792
  {
1718
1793
  value: "block",
1719
- renderContent: () => (0, import_i18n13.__)("Block", "elementor"),
1720
- label: (0, import_i18n13.__)("Block", "elementor"),
1794
+ renderContent: () => (0, import_i18n14.__)("Block", "elementor"),
1795
+ label: (0, import_i18n14.__)("Block", "elementor"),
1721
1796
  showTooltip: true
1722
1797
  },
1723
1798
  {
1724
1799
  value: "flex",
1725
- renderContent: () => (0, import_i18n13.__)("Flex", "elementor"),
1726
- label: (0, import_i18n13.__)("Flex", "elementor"),
1800
+ renderContent: () => (0, import_i18n14.__)("Flex", "elementor"),
1801
+ label: (0, import_i18n14.__)("Flex", "elementor"),
1727
1802
  showTooltip: true
1728
1803
  },
1729
1804
  {
1730
1805
  value: "inline-block",
1731
- renderContent: () => (0, import_i18n13.__)("In-blk", "elementor"),
1732
- label: (0, import_i18n13.__)("Inline-block", "elementor"),
1806
+ renderContent: () => (0, import_i18n14.__)("In-blk", "elementor"),
1807
+ label: (0, import_i18n14.__)("Inline-block", "elementor"),
1733
1808
  showTooltip: true
1734
1809
  },
1735
1810
  {
1736
1811
  value: "inline-flex",
1737
- renderContent: () => (0, import_i18n13.__)("In-flx", "elementor"),
1738
- label: (0, import_i18n13.__)("Inline-flex", "elementor"),
1812
+ renderContent: () => (0, import_i18n14.__)("In-flx", "elementor"),
1813
+ label: (0, import_i18n14.__)("Inline-flex", "elementor"),
1739
1814
  showTooltip: true
1740
1815
  }
1741
1816
  ];
1742
- return /* @__PURE__ */ React33.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React33.createElement(import_ui23.Stack, { gap: 0.75 }, /* @__PURE__ */ React33.createElement(import_editor_controls16.ControlLabel, null, (0, import_i18n13.__)("Display", "elementor")), /* @__PURE__ */ React33.createElement(import_editor_controls16.ToggleControl, { options: options12, fullWidth: true })));
1817
+ return /* @__PURE__ */ React34.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React34.createElement(import_ui24.Stack, { gap: 0.75 }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ControlLabel, null, (0, import_i18n14.__)("Display", "elementor")), /* @__PURE__ */ React34.createElement(import_editor_controls17.ToggleControl, { options: options13, fullWidth: true })));
1743
1818
  };
1744
1819
 
1745
1820
  // src/components/style-sections/layout-section/flex-direction-field.tsx
1746
- var React34 = __toESM(require("react"));
1747
- var import_editor_controls17 = require("@elementor/editor-controls");
1748
- var import_icons10 = require("@elementor/icons");
1749
- var import_ui24 = require("@elementor/ui");
1750
- var import_i18n14 = require("@wordpress/i18n");
1751
- var options3 = [
1821
+ var React35 = __toESM(require("react"));
1822
+ var import_editor_controls18 = require("@elementor/editor-controls");
1823
+ var import_icons11 = require("@elementor/icons");
1824
+ var import_ui25 = require("@elementor/ui");
1825
+ var import_i18n15 = require("@wordpress/i18n");
1826
+ var options4 = [
1752
1827
  {
1753
1828
  value: "row",
1754
- label: (0, import_i18n14.__)("Row", "elementor"),
1829
+ label: (0, import_i18n15.__)("Row", "elementor"),
1755
1830
  renderContent: ({ size }) => {
1756
- const StartIcon5 = (0, import_ui24.withDirection)(import_icons10.ArrowRightIcon);
1757
- return /* @__PURE__ */ React34.createElement(StartIcon5, { fontSize: size });
1831
+ const StartIcon6 = (0, import_ui25.withDirection)(import_icons11.ArrowRightIcon);
1832
+ return /* @__PURE__ */ React35.createElement(StartIcon6, { fontSize: size });
1758
1833
  },
1759
1834
  showTooltip: true
1760
1835
  },
1761
1836
  {
1762
1837
  value: "column",
1763
- label: (0, import_i18n14.__)("Column", "elementor"),
1764
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons10.ArrowDownSmallIcon, { fontSize: size }),
1838
+ label: (0, import_i18n15.__)("Column", "elementor"),
1839
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
1765
1840
  showTooltip: true
1766
1841
  },
1767
1842
  {
1768
1843
  value: "row-reverse",
1769
- label: (0, import_i18n14.__)("Reversed row", "elementor"),
1844
+ label: (0, import_i18n15.__)("Reversed row", "elementor"),
1770
1845
  renderContent: ({ size }) => {
1771
- const EndIcon5 = (0, import_ui24.withDirection)(import_icons10.ArrowLeftIcon);
1772
- return /* @__PURE__ */ React34.createElement(EndIcon5, { fontSize: size });
1846
+ const EndIcon6 = (0, import_ui25.withDirection)(import_icons11.ArrowLeftIcon);
1847
+ return /* @__PURE__ */ React35.createElement(EndIcon6, { fontSize: size });
1773
1848
  },
1774
1849
  showTooltip: true
1775
1850
  },
1776
1851
  {
1777
1852
  value: "column-reverse",
1778
- label: (0, import_i18n14.__)("Reversed column", "elementor"),
1779
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(import_icons10.ArrowUpSmallIcon, { fontSize: size }),
1853
+ label: (0, import_i18n15.__)("Reversed column", "elementor"),
1854
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
1780
1855
  showTooltip: true
1781
1856
  }
1782
1857
  ];
1783
1858
  var FlexDirectionField = () => {
1784
1859
  const { isSiteRtl } = useDirection();
1785
- return /* @__PURE__ */ React34.createElement(import_ui24.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(import_ui24.ThemeProvider, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ControlLabel, null, (0, import_i18n14.__)("Direction", "elementor"))), /* @__PURE__ */ React34.createElement(import_ui24.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(import_editor_controls17.ToggleControl, { options: options3 }))))));
1860
+ return /* @__PURE__ */ React35.createElement(import_ui25.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(import_ui25.ThemeProvider, null, /* @__PURE__ */ React35.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Direction", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ToggleControl, { options: options4 }))))));
1786
1861
  };
1787
1862
 
1788
1863
  // src/components/style-sections/layout-section/flex-order-field.tsx
1789
- var React35 = __toESM(require("react"));
1864
+ var React36 = __toESM(require("react"));
1790
1865
  var import_react12 = require("react");
1791
- var import_editor_controls18 = require("@elementor/editor-controls");
1792
- var import_icons11 = require("@elementor/icons");
1793
- var import_ui25 = require("@elementor/ui");
1794
- var import_i18n15 = require("@wordpress/i18n");
1866
+ var import_editor_controls19 = require("@elementor/editor-controls");
1867
+ var import_icons12 = require("@elementor/icons");
1868
+ var import_ui26 = require("@elementor/ui");
1869
+ var import_i18n16 = require("@wordpress/i18n");
1795
1870
  var FIRST_DEFAULT_VALUE = -99999;
1796
1871
  var LAST_DEFAULT_VALUE = 99999;
1797
1872
  var FIRST = "first";
@@ -1804,20 +1879,20 @@ var orderValueMap = {
1804
1879
  var items = [
1805
1880
  {
1806
1881
  value: FIRST,
1807
- label: (0, import_i18n15.__)("First", "elementor"),
1808
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
1882
+ label: (0, import_i18n16.__)("First", "elementor"),
1883
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ArrowUpSmallIcon, { fontSize: size }),
1809
1884
  showTooltip: true
1810
1885
  },
1811
1886
  {
1812
1887
  value: LAST,
1813
- label: (0, import_i18n15.__)("Last", "elementor"),
1814
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
1888
+ label: (0, import_i18n16.__)("Last", "elementor"),
1889
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ArrowDownSmallIcon, { fontSize: size }),
1815
1890
  showTooltip: true
1816
1891
  },
1817
1892
  {
1818
1893
  value: CUSTOM,
1819
- label: (0, import_i18n15.__)("Custom", "elementor"),
1820
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(import_icons11.PencilIcon, { fontSize: size }),
1894
+ label: (0, import_i18n16.__)("Custom", "elementor"),
1895
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.PencilIcon, { fontSize: size }),
1821
1896
  showTooltip: true
1822
1897
  }
1823
1898
  ];
@@ -1832,16 +1907,16 @@ var FlexOrderField = () => {
1832
1907
  }
1833
1908
  setOrder({ $$type: "number", value: orderValueMap[group] });
1834
1909
  };
1835
- return /* @__PURE__ */ React35.createElement(import_ui25.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(import_ui25.ThemeProvider, null, /* @__PURE__ */ React35.createElement(SectionContent, null, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Order", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1836
- import_editor_controls18.ControlToggleButtonGroup,
1910
+ return /* @__PURE__ */ React36.createElement(import_ui26.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(import_ui26.ThemeProvider, null, /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Order", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1911
+ import_editor_controls19.ControlToggleButtonGroup,
1837
1912
  {
1838
1913
  items,
1839
1914
  value: groupControlValue,
1840
1915
  onChange: handleToggleButtonChange,
1841
1916
  exclusive: true
1842
1917
  }
1843
- ))), CUSTOM === groupControlValue && /* @__PURE__ */ React35.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(import_editor_controls18.ControlLabel, null, (0, import_i18n15.__)("Custom order", "elementor"))), /* @__PURE__ */ React35.createElement(import_ui25.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1844
- import_editor_controls18.NumberControl,
1918
+ ))), CUSTOM === groupControlValue && /* @__PURE__ */ React36.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Custom order", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1919
+ import_editor_controls19.NumberControl,
1845
1920
  {
1846
1921
  min: FIRST_DEFAULT_VALUE + 1,
1847
1922
  max: LAST_DEFAULT_VALUE - 1,
@@ -1860,30 +1935,30 @@ var getGroupControlValue = (order) => {
1860
1935
  };
1861
1936
 
1862
1937
  // src/components/style-sections/layout-section/flex-size-field.tsx
1863
- var React36 = __toESM(require("react"));
1938
+ var React37 = __toESM(require("react"));
1864
1939
  var import_react13 = require("react");
1865
- var import_editor_controls19 = require("@elementor/editor-controls");
1866
- var import_icons12 = require("@elementor/icons");
1867
- var import_ui26 = require("@elementor/ui");
1868
- var import_i18n16 = require("@wordpress/i18n");
1940
+ var import_editor_controls20 = require("@elementor/editor-controls");
1941
+ var import_icons13 = require("@elementor/icons");
1942
+ var import_ui27 = require("@elementor/ui");
1943
+ var import_i18n17 = require("@wordpress/i18n");
1869
1944
  var DEFAULT = 1;
1870
1945
  var items2 = [
1871
1946
  {
1872
1947
  value: "flex-grow",
1873
- label: (0, import_i18n16.__)("Grow", "elementor"),
1874
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ExpandIcon, { fontSize: size }),
1948
+ label: (0, import_i18n17.__)("Grow", "elementor"),
1949
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(import_icons13.ExpandIcon, { fontSize: size }),
1875
1950
  showTooltip: true
1876
1951
  },
1877
1952
  {
1878
1953
  value: "flex-shrink",
1879
- label: (0, import_i18n16.__)("Shrink", "elementor"),
1880
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.ShrinkIcon, { fontSize: size }),
1954
+ label: (0, import_i18n17.__)("Shrink", "elementor"),
1955
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(import_icons13.ShrinkIcon, { fontSize: size }),
1881
1956
  showTooltip: true
1882
1957
  },
1883
1958
  {
1884
1959
  value: "custom",
1885
- label: (0, import_i18n16.__)("Custom", "elementor"),
1886
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(import_icons12.PencilIcon, { fontSize: size }),
1960
+ label: (0, import_i18n17.__)("Custom", "elementor"),
1961
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(import_icons13.PencilIcon, { fontSize: size }),
1887
1962
  showTooltip: true
1888
1963
  }
1889
1964
  ];
@@ -1907,17 +1982,17 @@ var FlexSizeField = () => {
1907
1982
  setGrowField(null);
1908
1983
  setShrinkField({ $$type: "number", value: DEFAULT });
1909
1984
  };
1910
- return /* @__PURE__ */ React36.createElement(import_ui26.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(import_ui26.ThemeProvider, null, /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Size", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1911
- import_editor_controls19.ControlToggleButtonGroup,
1985
+ return /* @__PURE__ */ React37.createElement(import_ui27.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React37.createElement(import_ui27.ThemeProvider, null, /* @__PURE__ */ React37.createElement(SectionContent, null, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(import_editor_controls20.ControlLabel, null, (0, import_i18n17.__)("Size", "elementor"))), /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(
1986
+ import_editor_controls20.ControlToggleButtonGroup,
1912
1987
  {
1913
1988
  value: activeGroup,
1914
1989
  onChange: onChangeGroup,
1915
1990
  items: items2,
1916
1991
  exclusive: true
1917
1992
  }
1918
- ))), "custom" === activeGroup && /* @__PURE__ */ React36.createElement(FlexCustomField, null))));
1993
+ ))), "custom" === activeGroup && /* @__PURE__ */ React37.createElement(FlexCustomField, null))));
1919
1994
  };
1920
- var FlexCustomField = () => /* @__PURE__ */ React36.createElement(React36.Fragment, null, /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Grow", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Shrink", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(import_editor_controls19.ControlLabel, null, (0, import_i18n16.__)("Basis", "elementor"))), /* @__PURE__ */ React36.createElement(import_ui26.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(import_editor_controls19.SizeControl, { extendedValues: ["auto"] })))));
1995
+ var FlexCustomField = () => /* @__PURE__ */ React37.createElement(React37.Fragment, null, /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(import_editor_controls20.ControlLabel, null, (0, import_i18n17.__)("Grow", "elementor"))), /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(import_editor_controls20.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(import_editor_controls20.ControlLabel, null, (0, import_i18n17.__)("Shrink", "elementor"))), /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(import_editor_controls20.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(import_editor_controls20.ControlLabel, null, (0, import_i18n17.__)("Basis", "elementor"))), /* @__PURE__ */ React37.createElement(import_ui27.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(import_editor_controls20.SizeControl, { extendedValues: ["auto"] })))));
1921
1996
  var getActiveGroup = ({
1922
1997
  grow,
1923
1998
  shrink,
@@ -1939,98 +2014,98 @@ var getActiveGroup = ({
1939
2014
  };
1940
2015
 
1941
2016
  // src/components/style-sections/layout-section/gap-control-field.tsx
1942
- var React37 = __toESM(require("react"));
1943
- var import_editor_controls20 = require("@elementor/editor-controls");
1944
- var import_ui27 = require("@elementor/ui");
1945
- var import_i18n17 = require("@wordpress/i18n");
1946
- var GapControlField = () => {
1947
- return /* @__PURE__ */ React37.createElement(import_ui27.Stack, { gap: 1 }, /* @__PURE__ */ React37.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React37.createElement(import_editor_controls20.GapControl, { label: (0, import_i18n17.__)("Gaps", "elementor") })));
1948
- };
1949
-
1950
- // src/components/style-sections/layout-section/justify-content-field.tsx
1951
2017
  var React38 = __toESM(require("react"));
1952
2018
  var import_editor_controls21 = require("@elementor/editor-controls");
1953
- var import_icons13 = require("@elementor/icons");
1954
2019
  var import_ui28 = require("@elementor/ui");
1955
2020
  var import_i18n18 = require("@wordpress/i18n");
1956
- var StartIcon3 = (0, import_ui28.withDirection)(import_icons13.JustifyTopIcon);
1957
- var EndIcon3 = (0, import_ui28.withDirection)(import_icons13.JustifyBottomIcon);
1958
- var iconProps3 = {
2021
+ var GapControlField = () => {
2022
+ return /* @__PURE__ */ React38.createElement(import_ui28.Stack, { gap: 1 }, /* @__PURE__ */ React38.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React38.createElement(import_editor_controls21.GapControl, { label: (0, import_i18n18.__)("Gaps", "elementor") })));
2023
+ };
2024
+
2025
+ // src/components/style-sections/layout-section/justify-content-field.tsx
2026
+ var React39 = __toESM(require("react"));
2027
+ var import_editor_controls22 = require("@elementor/editor-controls");
2028
+ var import_icons14 = require("@elementor/icons");
2029
+ var import_ui29 = require("@elementor/ui");
2030
+ var import_i18n19 = require("@wordpress/i18n");
2031
+ var StartIcon4 = (0, import_ui29.withDirection)(import_icons14.JustifyTopIcon);
2032
+ var EndIcon4 = (0, import_ui29.withDirection)(import_icons14.JustifyBottomIcon);
2033
+ var iconProps4 = {
1959
2034
  isClockwise: true,
1960
2035
  offset: -90
1961
2036
  };
1962
- var options4 = [
2037
+ var options5 = [
1963
2038
  {
1964
2039
  value: "start",
1965
- label: (0, import_i18n18.__)("Start", "elementor"),
1966
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
2040
+ label: (0, import_i18n19.__)("Start", "elementor"),
2041
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
1967
2042
  showTooltip: true
1968
2043
  },
1969
2044
  {
1970
2045
  value: "center",
1971
- label: (0, import_i18n18.__)("Center", "elementor"),
1972
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifyCenterIcon, size, ...iconProps3 }),
2046
+ label: (0, import_i18n19.__)("Center", "elementor"),
2047
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons14.JustifyCenterIcon, size, ...iconProps4 }),
1973
2048
  showTooltip: true
1974
2049
  },
1975
2050
  {
1976
2051
  value: "end",
1977
- label: (0, import_i18n18.__)("End", "elementor"),
1978
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
2052
+ label: (0, import_i18n19.__)("End", "elementor"),
2053
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
1979
2054
  showTooltip: true
1980
2055
  },
1981
2056
  {
1982
2057
  value: "space-between",
1983
- label: (0, import_i18n18.__)("Space between", "elementor"),
1984
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceBetweenVerticalIcon, size, ...iconProps3 }),
2058
+ label: (0, import_i18n19.__)("Space between", "elementor"),
2059
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons14.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
1985
2060
  showTooltip: true
1986
2061
  },
1987
2062
  {
1988
2063
  value: "space-around",
1989
- label: (0, import_i18n18.__)("Space around", "elementor"),
1990
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifySpaceAroundVerticalIcon, size, ...iconProps3 }),
2064
+ label: (0, import_i18n19.__)("Space around", "elementor"),
2065
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons14.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
1991
2066
  showTooltip: true
1992
2067
  },
1993
2068
  {
1994
2069
  value: "space-evenly",
1995
- label: (0, import_i18n18.__)("Space evenly", "elementor"),
1996
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: import_icons13.JustifyDistributeVerticalIcon, size, ...iconProps3 }),
2070
+ label: (0, import_i18n19.__)("Space evenly", "elementor"),
2071
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: import_icons14.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
1997
2072
  showTooltip: true
1998
2073
  }
1999
2074
  ];
2000
2075
  var JustifyContentField = () => {
2001
2076
  const { isSiteRtl } = useDirection();
2002
- return /* @__PURE__ */ React38.createElement(import_ui28.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(import_ui28.ThemeProvider, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React38.createElement(import_ui28.Stack, { gap: 0.75 }, /* @__PURE__ */ React38.createElement(import_editor_controls21.ControlLabel, null, (0, import_i18n18.__)("Justify content", "elementor")), /* @__PURE__ */ React38.createElement(import_editor_controls21.ToggleControl, { options: options4, fullWidth: true })))));
2077
+ return /* @__PURE__ */ React39.createElement(import_ui29.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(import_ui29.ThemeProvider, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React39.createElement(import_ui29.Stack, { gap: 0.75 }, /* @__PURE__ */ React39.createElement(import_editor_controls22.ControlLabel, null, (0, import_i18n19.__)("Justify content", "elementor")), /* @__PURE__ */ React39.createElement(import_editor_controls22.ToggleControl, { options: options5, fullWidth: true })))));
2003
2078
  };
2004
2079
 
2005
2080
  // src/components/style-sections/layout-section/wrap-field.tsx
2006
- var React39 = __toESM(require("react"));
2007
- var import_editor_controls22 = require("@elementor/editor-controls");
2008
- var import_icons14 = require("@elementor/icons");
2009
- var import_ui29 = require("@elementor/ui");
2010
- var import_i18n19 = require("@wordpress/i18n");
2011
- var options5 = [
2081
+ var React40 = __toESM(require("react"));
2082
+ var import_editor_controls23 = require("@elementor/editor-controls");
2083
+ var import_icons15 = require("@elementor/icons");
2084
+ var import_ui30 = require("@elementor/ui");
2085
+ var import_i18n20 = require("@wordpress/i18n");
2086
+ var options6 = [
2012
2087
  {
2013
2088
  value: "nowrap",
2014
- label: (0, import_i18n19.__)("No wrap", "elementor"),
2015
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowRightIcon, { fontSize: size }),
2089
+ label: (0, import_i18n20.__)("No wrap", "elementor"),
2090
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(import_icons15.ArrowRightIcon, { fontSize: size }),
2016
2091
  showTooltip: true
2017
2092
  },
2018
2093
  {
2019
2094
  value: "wrap",
2020
- label: (0, import_i18n19.__)("Wrap", "elementor"),
2021
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowBackIcon, { fontSize: size }),
2095
+ label: (0, import_i18n20.__)("Wrap", "elementor"),
2096
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(import_icons15.ArrowBackIcon, { fontSize: size }),
2022
2097
  showTooltip: true
2023
2098
  },
2024
2099
  {
2025
2100
  value: "wrap-reverse",
2026
- label: (0, import_i18n19.__)("Reversed wrap", "elementor"),
2027
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(import_icons14.ArrowForwardIcon, { fontSize: size }),
2101
+ label: (0, import_i18n20.__)("Reversed wrap", "elementor"),
2102
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(import_icons15.ArrowForwardIcon, { fontSize: size }),
2028
2103
  showTooltip: true
2029
2104
  }
2030
2105
  ];
2031
2106
  var WrapField = () => {
2032
2107
  const { isSiteRtl } = useDirection();
2033
- return /* @__PURE__ */ React39.createElement(import_ui29.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(import_ui29.ThemeProvider, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React39.createElement(import_ui29.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(import_ui29.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(import_editor_controls22.ControlLabel, null, (0, import_i18n19.__)("Wrap", "elementor"))), /* @__PURE__ */ React39.createElement(import_ui29.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React39.createElement(import_editor_controls22.ToggleControl, { options: options5 }))))));
2108
+ return /* @__PURE__ */ React40.createElement(import_ui30.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React40.createElement(import_ui30.ThemeProvider, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React40.createElement(import_ui30.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(import_ui30.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(import_editor_controls23.ControlLabel, null, (0, import_i18n20.__)("Wrap", "elementor"))), /* @__PURE__ */ React40.createElement(import_ui30.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React40.createElement(import_editor_controls23.ToggleControl, { options: options6 }))))));
2034
2109
  };
2035
2110
 
2036
2111
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -2039,62 +2114,65 @@ var LayoutSection = () => {
2039
2114
  const { element } = useElement();
2040
2115
  const parent = (0, import_editor_elements6.useParentElement)(element.id);
2041
2116
  const parentStyle = useComputedStyle(parent?.id || null);
2042
- return /* @__PURE__ */ React40.createElement(SectionContent, null, /* @__PURE__ */ React40.createElement(DisplayField, null), ("flex" === display?.value || "inline-flex" === display?.value) && /* @__PURE__ */ React40.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React40.createElement(FlexChildFields, null));
2117
+ return /* @__PURE__ */ React41.createElement(SectionContent, null, /* @__PURE__ */ React41.createElement(DisplayField, null), ("flex" === display?.value || "inline-flex" === display?.value) && /* @__PURE__ */ React41.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React41.createElement(FlexChildFields, null));
2043
2118
  };
2044
- var FlexFields = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(FlexDirectionField, null), /* @__PURE__ */ React40.createElement(JustifyContentField, null), /* @__PURE__ */ React40.createElement(AlignItemsField, null), /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(GapControlField, null), /* @__PURE__ */ React40.createElement(WrapField, null));
2045
- var FlexChildFields = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(import_editor_controls23.ControlLabel, null, (0, import_i18n20.__)("Flex child", "elementor")), /* @__PURE__ */ React40.createElement(AlignSelfChild, null), /* @__PURE__ */ React40.createElement(FlexOrderField, null), /* @__PURE__ */ React40.createElement(FlexSizeField, null));
2119
+ var FlexFields = () => {
2120
+ const [flexWrap] = useStylesField("flex-wrap");
2121
+ return /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(FlexDirectionField, null), /* @__PURE__ */ React41.createElement(JustifyContentField, null), /* @__PURE__ */ React41.createElement(AlignItemsField, null), /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(GapControlField, null), /* @__PURE__ */ React41.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React41.createElement(AlignContentField, null));
2122
+ };
2123
+ var FlexChildFields = () => /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(import_editor_controls24.ControlLabel, null, (0, import_i18n21.__)("Flex child", "elementor")), /* @__PURE__ */ React41.createElement(AlignSelfChild, null), /* @__PURE__ */ React41.createElement(FlexOrderField, null), /* @__PURE__ */ React41.createElement(FlexSizeField, null));
2046
2124
 
2047
2125
  // src/components/style-sections/position-section/position-section.tsx
2048
- var React44 = __toESM(require("react"));
2126
+ var React45 = __toESM(require("react"));
2049
2127
  var import_session2 = require("@elementor/session");
2050
2128
 
2051
2129
  // src/components/style-sections/position-section/dimensions-field.tsx
2052
- var React41 = __toESM(require("react"));
2053
- var import_editor_controls24 = require("@elementor/editor-controls");
2054
- var import_icons15 = require("@elementor/icons");
2055
- var import_ui30 = require("@elementor/ui");
2056
- var import_i18n21 = require("@wordpress/i18n");
2057
- var InlineStartIcon2 = (0, import_ui30.withDirection)(import_icons15.SideLeftIcon);
2058
- var InlineEndIcon2 = (0, import_ui30.withDirection)(import_icons15.SideRightIcon);
2130
+ var React42 = __toESM(require("react"));
2131
+ var import_editor_controls25 = require("@elementor/editor-controls");
2132
+ var import_icons16 = require("@elementor/icons");
2133
+ var import_ui31 = require("@elementor/ui");
2134
+ var import_i18n22 = require("@wordpress/i18n");
2135
+ var InlineStartIcon2 = (0, import_ui31.withDirection)(import_icons16.SideLeftIcon);
2136
+ var InlineEndIcon2 = (0, import_ui31.withDirection)(import_icons16.SideRightIcon);
2059
2137
  var sideIcons = {
2060
- "inset-block-start": /* @__PURE__ */ React41.createElement(import_icons15.SideTopIcon, { fontSize: "tiny" }),
2061
- "inset-block-end": /* @__PURE__ */ React41.createElement(import_icons15.SideBottomIcon, { fontSize: "tiny" }),
2062
- "inset-inline-start": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2063
- "inset-inline-end": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2138
+ "inset-block-start": /* @__PURE__ */ React42.createElement(import_icons16.SideTopIcon, { fontSize: "tiny" }),
2139
+ "inset-block-end": /* @__PURE__ */ React42.createElement(import_icons16.SideBottomIcon, { fontSize: "tiny" }),
2140
+ "inset-inline-start": /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2141
+ "inset-inline-end": /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2064
2142
  };
2065
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n21.__)("Right", "elementor") : (0, import_i18n21.__)("Left", "elementor");
2066
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n21.__)("Left", "elementor") : (0, import_i18n21.__)("Right", "elementor");
2143
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n22.__)("Right", "elementor") : (0, import_i18n22.__)("Left", "elementor");
2144
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n22.__)("Left", "elementor") : (0, import_i18n22.__)("Right", "elementor");
2067
2145
  var DimensionsField = () => {
2068
2146
  const { isSiteRtl } = useDirection();
2069
- return /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(import_ui30.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n21.__)("Top", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React41.createElement(import_ui30.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n21.__)("Bottom", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2147
+ return /* @__PURE__ */ React42.createElement(React42.Fragment, null, /* @__PURE__ */ React42.createElement(import_ui31.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n22.__)("Top", "elementor") }), /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React42.createElement(import_ui31.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n22.__)("Bottom", "elementor") }), /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2070
2148
  };
2071
2149
  var DimensionField = ({ side, label }) => {
2072
- return /* @__PURE__ */ React41.createElement(import_ui30.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(import_editor_controls24.ControlLabel, null, label)), /* @__PURE__ */ React41.createElement(import_ui30.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(StylesField, { bind: side }, /* @__PURE__ */ React41.createElement(import_editor_controls24.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2150
+ return /* @__PURE__ */ React42.createElement(import_ui31.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React42.createElement(import_editor_controls25.ControlLabel, null, label)), /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React42.createElement(StylesField, { bind: side }, /* @__PURE__ */ React42.createElement(import_editor_controls25.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2073
2151
  };
2074
2152
 
2075
2153
  // src/components/style-sections/position-section/position-field.tsx
2076
- var React42 = __toESM(require("react"));
2077
- var import_editor_controls25 = require("@elementor/editor-controls");
2078
- var import_ui31 = require("@elementor/ui");
2079
- var import_i18n22 = require("@wordpress/i18n");
2154
+ var React43 = __toESM(require("react"));
2155
+ var import_editor_controls26 = require("@elementor/editor-controls");
2156
+ var import_ui32 = require("@elementor/ui");
2157
+ var import_i18n23 = require("@wordpress/i18n");
2080
2158
  var positionOptions = [
2081
- { label: (0, import_i18n22.__)("Static", "elementor"), value: "static" },
2082
- { label: (0, import_i18n22.__)("Relative", "elementor"), value: "relative" },
2083
- { label: (0, import_i18n22.__)("Absolute", "elementor"), value: "absolute" },
2084
- { label: (0, import_i18n22.__)("Fixed", "elementor"), value: "fixed" },
2085
- { label: (0, import_i18n22.__)("Sticky", "elementor"), value: "sticky" }
2159
+ { label: (0, import_i18n23.__)("Static", "elementor"), value: "static" },
2160
+ { label: (0, import_i18n23.__)("Relative", "elementor"), value: "relative" },
2161
+ { label: (0, import_i18n23.__)("Absolute", "elementor"), value: "absolute" },
2162
+ { label: (0, import_i18n23.__)("Fixed", "elementor"), value: "fixed" },
2163
+ { label: (0, import_i18n23.__)("Sticky", "elementor"), value: "sticky" }
2086
2164
  ];
2087
2165
  var PositionField = ({ onChange }) => {
2088
- return /* @__PURE__ */ React42.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(import_editor_controls25.ControlLabel, null, (0, import_i18n22.__)("Position", "elementor"))), /* @__PURE__ */ React42.createElement(import_ui31.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React42.createElement(import_editor_controls25.SelectControl, { options: positionOptions, onChange }))));
2166
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(import_editor_controls26.ControlLabel, null, (0, import_i18n23.__)("Position", "elementor"))), /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React43.createElement(import_editor_controls26.SelectControl, { options: positionOptions, onChange }))));
2089
2167
  };
2090
2168
 
2091
2169
  // src/components/style-sections/position-section/z-index-field.tsx
2092
- var React43 = __toESM(require("react"));
2093
- var import_editor_controls26 = require("@elementor/editor-controls");
2094
- var import_ui32 = require("@elementor/ui");
2095
- var import_i18n23 = require("@wordpress/i18n");
2170
+ var React44 = __toESM(require("react"));
2171
+ var import_editor_controls27 = require("@elementor/editor-controls");
2172
+ var import_ui33 = require("@elementor/ui");
2173
+ var import_i18n24 = require("@wordpress/i18n");
2096
2174
  var ZIndexField = () => {
2097
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(import_editor_controls26.ControlLabel, null, (0, import_i18n23.__)("Z-index", "elementor"))), /* @__PURE__ */ React43.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(import_editor_controls26.NumberControl, null))));
2175
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React44.createElement(import_ui33.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(import_editor_controls27.ControlLabel, null, (0, import_i18n24.__)("Z-index", "elementor"))), /* @__PURE__ */ React44.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(import_editor_controls27.NumberControl, null))));
2098
2176
  };
2099
2177
 
2100
2178
  // src/components/style-sections/position-section/position-section.tsx
@@ -2126,7 +2204,7 @@ var PositionSection = () => {
2126
2204
  }
2127
2205
  };
2128
2206
  const isNotStatic = positionValue && positionValue?.value !== "static";
2129
- return /* @__PURE__ */ React44.createElement(SectionContent, null, /* @__PURE__ */ React44.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React44.createElement(React44.Fragment, null, /* @__PURE__ */ React44.createElement(DimensionsField, null), /* @__PURE__ */ React44.createElement(ZIndexField, null)) : null);
2207
+ return /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React45.createElement(React45.Fragment, null, /* @__PURE__ */ React45.createElement(DimensionsField, null), /* @__PURE__ */ React45.createElement(ZIndexField, null)) : null);
2130
2208
  };
2131
2209
  var usePersistDimensions = () => {
2132
2210
  const { id: styleDefID, meta } = useStyle();
@@ -2136,116 +2214,116 @@ var usePersistDimensions = () => {
2136
2214
  };
2137
2215
 
2138
2216
  // src/components/style-sections/size-section/size-section.tsx
2217
+ var React47 = __toESM(require("react"));
2218
+ var import_editor_controls29 = require("@elementor/editor-controls");
2219
+ var import_ui35 = require("@elementor/ui");
2220
+ var import_i18n26 = require("@wordpress/i18n");
2221
+
2222
+ // src/components/style-sections/size-section/overflow-field.tsx
2139
2223
  var React46 = __toESM(require("react"));
2140
2224
  var import_editor_controls28 = require("@elementor/editor-controls");
2225
+ var import_icons17 = require("@elementor/icons");
2141
2226
  var import_ui34 = require("@elementor/ui");
2142
2227
  var import_i18n25 = require("@wordpress/i18n");
2143
-
2144
- // src/components/style-sections/size-section/overflow-field.tsx
2145
- var React45 = __toESM(require("react"));
2146
- var import_editor_controls27 = require("@elementor/editor-controls");
2147
- var import_icons16 = require("@elementor/icons");
2148
- var import_ui33 = require("@elementor/ui");
2149
- var import_i18n24 = require("@wordpress/i18n");
2150
- var options6 = [
2228
+ var options7 = [
2151
2229
  {
2152
2230
  value: "visible",
2153
- label: (0, import_i18n24.__)("Visible", "elementor"),
2154
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.EyeIcon, { fontSize: size }),
2231
+ label: (0, import_i18n25.__)("Visible", "elementor"),
2232
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons17.EyeIcon, { fontSize: size }),
2155
2233
  showTooltip: true
2156
2234
  },
2157
2235
  {
2158
2236
  value: "hidden",
2159
- label: (0, import_i18n24.__)("Hidden", "elementor"),
2160
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.EyeOffIcon, { fontSize: size }),
2237
+ label: (0, import_i18n25.__)("Hidden", "elementor"),
2238
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons17.EyeOffIcon, { fontSize: size }),
2161
2239
  showTooltip: true
2162
2240
  },
2163
2241
  {
2164
2242
  value: "auto",
2165
- label: (0, import_i18n24.__)("Auto", "elementor"),
2166
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons16.LetterAIcon, { fontSize: size }),
2243
+ label: (0, import_i18n25.__)("Auto", "elementor"),
2244
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons17.LetterAIcon, { fontSize: size }),
2167
2245
  showTooltip: true
2168
2246
  }
2169
2247
  ];
2170
2248
  var OverflowField = () => {
2171
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(import_editor_controls27.ControlLabel, null, (0, import_i18n24.__)("Overflow", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui33.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React45.createElement(import_editor_controls27.ToggleControl, { options: options6 }))));
2249
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(import_editor_controls28.ControlLabel, null, (0, import_i18n25.__)("Overflow", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React46.createElement(import_editor_controls28.ToggleControl, { options: options7 }))));
2172
2250
  };
2173
2251
 
2174
2252
  // src/components/style-sections/size-section/size-section.tsx
2175
2253
  var SizeSection = () => {
2176
- return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "width", label: (0, import_i18n25.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "height", label: (0, import_i18n25.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2254
+ return /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "width", label: (0, import_i18n26.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "height", label: (0, import_i18n26.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(
2177
2255
  SizeField,
2178
2256
  {
2179
2257
  bind: "min-width",
2180
- label: (0, import_i18n25.__)("Min width", "elementor"),
2258
+ label: (0, import_i18n26.__)("Min width", "elementor"),
2181
2259
  extendedValues: ["auto"]
2182
2260
  }
2183
- )), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2261
+ )), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(
2184
2262
  SizeField,
2185
2263
  {
2186
2264
  bind: "min-height",
2187
- label: (0, import_i18n25.__)("Min height", "elementor"),
2265
+ label: (0, import_i18n26.__)("Min height", "elementor"),
2188
2266
  extendedValues: ["auto"]
2189
2267
  }
2190
- ))), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-width", label: (0, import_i18n25.__)("Max width", "elementor") })), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-height", label: (0, import_i18n25.__)("Max height", "elementor") }))), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(import_ui34.Stack, null, /* @__PURE__ */ React46.createElement(OverflowField, null)));
2268
+ ))), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "max-width", label: (0, import_i18n26.__)("Max width", "elementor") })), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "max-height", label: (0, import_i18n26.__)("Max height", "elementor") }))), /* @__PURE__ */ React47.createElement(PanelDivider, null), /* @__PURE__ */ React47.createElement(import_ui35.Stack, null, /* @__PURE__ */ React47.createElement(OverflowField, null)));
2191
2269
  };
2192
2270
  var SizeField = ({ label, bind, extendedValues }) => {
2193
- return /* @__PURE__ */ React46.createElement(StylesField, { bind }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(import_editor_controls28.ControlLabel, null, label)), /* @__PURE__ */ React46.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(import_editor_controls28.SizeControl, { extendedValues }))));
2271
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind }, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React47.createElement(import_editor_controls29.ControlLabel, null, label)), /* @__PURE__ */ React47.createElement(import_ui35.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React47.createElement(import_editor_controls29.SizeControl, { extendedValues }))));
2194
2272
  };
2195
2273
 
2196
2274
  // src/components/style-sections/spacing-section/spacing-section.tsx
2197
- var React47 = __toESM(require("react"));
2198
- var import_editor_controls29 = require("@elementor/editor-controls");
2199
- var import_i18n26 = require("@wordpress/i18n");
2275
+ var React48 = __toESM(require("react"));
2276
+ var import_editor_controls30 = require("@elementor/editor-controls");
2277
+ var import_i18n27 = require("@wordpress/i18n");
2200
2278
  var SpacingSection = () => {
2201
2279
  const { isSiteRtl } = useDirection();
2202
- return /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React47.createElement(
2203
- import_editor_controls29.LinkedDimensionsControl,
2280
+ return /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React48.createElement(
2281
+ import_editor_controls30.LinkedDimensionsControl,
2204
2282
  {
2205
- label: (0, import_i18n26.__)("Margin", "elementor"),
2283
+ label: (0, import_i18n27.__)("Margin", "elementor"),
2206
2284
  isSiteRtl,
2207
2285
  extendedValues: ["auto"]
2208
2286
  }
2209
- )), /* @__PURE__ */ React47.createElement(PanelDivider, null), /* @__PURE__ */ React47.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React47.createElement(import_editor_controls29.LinkedDimensionsControl, { label: (0, import_i18n26.__)("Padding", "elementor"), isSiteRtl })));
2287
+ )), /* @__PURE__ */ React48.createElement(PanelDivider, null), /* @__PURE__ */ React48.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React48.createElement(import_editor_controls30.LinkedDimensionsControl, { label: (0, import_i18n27.__)("Padding", "elementor"), isSiteRtl })));
2210
2288
  };
2211
2289
 
2212
2290
  // src/components/style-sections/typography-section/typography-section.tsx
2213
- var React62 = __toESM(require("react"));
2291
+ var React63 = __toESM(require("react"));
2214
2292
 
2215
2293
  // src/components/collapsible-content.tsx
2216
- var React48 = __toESM(require("react"));
2294
+ var React49 = __toESM(require("react"));
2217
2295
  var import_react14 = require("react");
2218
- var import_ui35 = require("@elementor/ui");
2219
- var import_i18n27 = require("@wordpress/i18n");
2296
+ var import_ui36 = require("@elementor/ui");
2297
+ var import_i18n28 = require("@wordpress/i18n");
2220
2298
  var CollapsibleContent = ({ children, defaultOpen = false }) => {
2221
2299
  const [open, setOpen] = (0, import_react14.useState)(defaultOpen);
2222
2300
  const handleToggle = () => {
2223
2301
  setOpen((prevOpen) => !prevOpen);
2224
2302
  };
2225
- return /* @__PURE__ */ React48.createElement(import_ui35.Stack, null, /* @__PURE__ */ React48.createElement(
2226
- import_ui35.Button,
2303
+ return /* @__PURE__ */ React49.createElement(import_ui36.Stack, null, /* @__PURE__ */ React49.createElement(
2304
+ import_ui36.Button,
2227
2305
  {
2228
2306
  fullWidth: true,
2229
2307
  size: "small",
2230
2308
  color: "secondary",
2231
2309
  variant: "outlined",
2232
2310
  onClick: handleToggle,
2233
- endIcon: /* @__PURE__ */ React48.createElement(CollapseIcon, { open }),
2311
+ endIcon: /* @__PURE__ */ React49.createElement(CollapseIcon, { open }),
2234
2312
  sx: { my: 0.5 }
2235
2313
  },
2236
- open ? (0, import_i18n27.__)("Show less", "elementor") : (0, import_i18n27.__)("Show more", "elementor")
2237
- ), /* @__PURE__ */ React48.createElement(import_ui35.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
2314
+ open ? (0, import_i18n28.__)("Show less", "elementor") : (0, import_i18n28.__)("Show more", "elementor")
2315
+ ), /* @__PURE__ */ React49.createElement(import_ui36.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
2238
2316
  };
2239
2317
 
2240
2318
  // src/components/style-sections/typography-section/font-family-field.tsx
2241
- var React49 = __toESM(require("react"));
2242
- var import_editor_controls30 = require("@elementor/editor-controls");
2243
- var import_ui36 = require("@elementor/ui");
2244
- var import_i18n29 = require("@wordpress/i18n");
2319
+ var React50 = __toESM(require("react"));
2320
+ var import_editor_controls31 = require("@elementor/editor-controls");
2321
+ var import_ui37 = require("@elementor/ui");
2322
+ var import_i18n30 = require("@wordpress/i18n");
2245
2323
 
2246
2324
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2247
2325
  var import_react15 = require("react");
2248
- var import_i18n28 = require("@wordpress/i18n");
2326
+ var import_i18n29 = require("@wordpress/i18n");
2249
2327
 
2250
2328
  // src/sync/get-elementor-config.ts
2251
2329
  var getElementorConfig = () => {
@@ -2255,17 +2333,17 @@ var getElementorConfig = () => {
2255
2333
 
2256
2334
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2257
2335
  var supportedCategories = {
2258
- system: (0, import_i18n28.__)("System", "elementor"),
2259
- custom: (0, import_i18n28.__)("Custom Fonts", "elementor"),
2260
- googlefonts: (0, import_i18n28.__)("Google Fonts", "elementor")
2336
+ system: (0, import_i18n29.__)("System", "elementor"),
2337
+ custom: (0, import_i18n29.__)("Custom Fonts", "elementor"),
2338
+ googlefonts: (0, import_i18n29.__)("Google Fonts", "elementor")
2261
2339
  };
2262
2340
  var getFontFamilies = () => {
2263
2341
  const { controls } = getElementorConfig();
2264
- const options12 = controls?.font?.options;
2265
- if (!options12) {
2342
+ const options13 = controls?.font?.options;
2343
+ if (!options13) {
2266
2344
  return null;
2267
2345
  }
2268
- return options12;
2346
+ return options13;
2269
2347
  };
2270
2348
  var useFontFamilies = () => {
2271
2349
  const fontFamilies = getFontFamilies();
@@ -2294,188 +2372,188 @@ var FontFamilyField = () => {
2294
2372
  if (fontFamilies.length === 0) {
2295
2373
  return null;
2296
2374
  }
2297
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(import_editor_controls30.ControlLabel, null, (0, import_i18n29.__)("Font family", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui36.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React49.createElement(import_editor_controls30.FontFamilyControl, { fontFamilies }))));
2375
+ return /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.ControlLabel, null, (0, import_i18n30.__)("Font family", "elementor"))), /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React50.createElement(import_editor_controls31.FontFamilyControl, { fontFamilies }))));
2298
2376
  };
2299
2377
 
2300
2378
  // src/components/style-sections/typography-section/font-size-field.tsx
2301
- var React50 = __toESM(require("react"));
2302
- var import_editor_controls31 = require("@elementor/editor-controls");
2303
- var import_ui37 = require("@elementor/ui");
2304
- var import_i18n30 = require("@wordpress/i18n");
2305
- var FontSizeField = () => {
2306
- return /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.ControlLabel, null, (0, import_i18n30.__)("Font size", "elementor"))), /* @__PURE__ */ React50.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(import_editor_controls31.SizeControl, null))));
2307
- };
2308
-
2309
- // src/components/style-sections/typography-section/font-style-field.tsx
2310
2379
  var React51 = __toESM(require("react"));
2311
2380
  var import_editor_controls32 = require("@elementor/editor-controls");
2312
- var import_icons17 = require("@elementor/icons");
2313
2381
  var import_ui38 = require("@elementor/ui");
2314
2382
  var import_i18n31 = require("@wordpress/i18n");
2315
- var options7 = [
2383
+ var FontSizeField = () => {
2384
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ControlLabel, null, (0, import_i18n31.__)("Font size", "elementor"))), /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(import_editor_controls32.SizeControl, null))));
2385
+ };
2386
+
2387
+ // src/components/style-sections/typography-section/font-style-field.tsx
2388
+ var React52 = __toESM(require("react"));
2389
+ var import_editor_controls33 = require("@elementor/editor-controls");
2390
+ var import_icons18 = require("@elementor/icons");
2391
+ var import_ui39 = require("@elementor/ui");
2392
+ var import_i18n32 = require("@wordpress/i18n");
2393
+ var options8 = [
2316
2394
  {
2317
2395
  value: "normal",
2318
- label: (0, import_i18n31.__)("Normal", "elementor"),
2319
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons17.MinusIcon, { fontSize: size }),
2396
+ label: (0, import_i18n32.__)("Normal", "elementor"),
2397
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons18.MinusIcon, { fontSize: size }),
2320
2398
  showTooltip: true
2321
2399
  },
2322
2400
  {
2323
2401
  value: "italic",
2324
- label: (0, import_i18n31.__)("Italic", "elementor"),
2325
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons17.ItalicIcon, { fontSize: size }),
2402
+ label: (0, import_i18n32.__)("Italic", "elementor"),
2403
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons18.ItalicIcon, { fontSize: size }),
2326
2404
  showTooltip: true
2327
2405
  }
2328
2406
  ];
2329
- var FontStyleField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ControlLabel, null, (0, import_i18n31.__)("Font style", "elementor"))), /* @__PURE__ */ React51.createElement(import_ui38.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React51.createElement(import_editor_controls32.ToggleControl, { options: options7 }))));
2407
+ var FontStyleField = () => /* @__PURE__ */ React52.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls33.ControlLabel, null, (0, import_i18n32.__)("Font style", "elementor"))), /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React52.createElement(import_editor_controls33.ToggleControl, { options: options8 }))));
2330
2408
 
2331
2409
  // src/components/style-sections/typography-section/font-weight-field.tsx
2332
- var React52 = __toESM(require("react"));
2333
- var import_editor_controls33 = require("@elementor/editor-controls");
2334
- var import_ui39 = require("@elementor/ui");
2335
- var import_i18n32 = require("@wordpress/i18n");
2336
- var fontWeightOptions = [
2337
- { value: "100", label: (0, import_i18n32.__)("100 - Thin", "elementor") },
2338
- { value: "200", label: (0, import_i18n32.__)("200 - Extra light", "elementor") },
2339
- { value: "300", label: (0, import_i18n32.__)("300 - Light", "elementor") },
2340
- { value: "400", label: (0, import_i18n32.__)("400 - Normal", "elementor") },
2341
- { value: "500", label: (0, import_i18n32.__)("500 - Medium", "elementor") },
2342
- { value: "600", label: (0, import_i18n32.__)("600 - Semi bold", "elementor") },
2343
- { value: "700", label: (0, import_i18n32.__)("700 - Bold", "elementor") },
2344
- { value: "800", label: (0, import_i18n32.__)("800 - Extra bold", "elementor") },
2345
- { value: "900", label: (0, import_i18n32.__)("900 - Black", "elementor") }
2346
- ];
2347
- var FontWeightField = () => {
2348
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls33.ControlLabel, null, (0, import_i18n32.__)("Font weight", "elementor"))), /* @__PURE__ */ React52.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React52.createElement(import_editor_controls33.SelectControl, { options: fontWeightOptions }))));
2349
- };
2350
-
2351
- // src/components/style-sections/typography-section/letter-spacing-field.tsx
2352
2410
  var React53 = __toESM(require("react"));
2353
2411
  var import_editor_controls34 = require("@elementor/editor-controls");
2354
2412
  var import_ui40 = require("@elementor/ui");
2355
2413
  var import_i18n33 = require("@wordpress/i18n");
2356
- var LetterSpacingField = () => {
2357
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.ControlLabel, null, (0, import_i18n33.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.SizeControl, null))));
2414
+ var fontWeightOptions = [
2415
+ { value: "100", label: (0, import_i18n33.__)("100 - Thin", "elementor") },
2416
+ { value: "200", label: (0, import_i18n33.__)("200 - Extra light", "elementor") },
2417
+ { value: "300", label: (0, import_i18n33.__)("300 - Light", "elementor") },
2418
+ { value: "400", label: (0, import_i18n33.__)("400 - Normal", "elementor") },
2419
+ { value: "500", label: (0, import_i18n33.__)("500 - Medium", "elementor") },
2420
+ { value: "600", label: (0, import_i18n33.__)("600 - Semi bold", "elementor") },
2421
+ { value: "700", label: (0, import_i18n33.__)("700 - Bold", "elementor") },
2422
+ { value: "800", label: (0, import_i18n33.__)("800 - Extra bold", "elementor") },
2423
+ { value: "900", label: (0, import_i18n33.__)("900 - Black", "elementor") }
2424
+ ];
2425
+ var FontWeightField = () => {
2426
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls34.ControlLabel, null, (0, import_i18n33.__)("Font weight", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui40.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React53.createElement(import_editor_controls34.SelectControl, { options: fontWeightOptions }))));
2358
2427
  };
2359
2428
 
2360
- // src/components/style-sections/typography-section/line-height-field.tsx
2429
+ // src/components/style-sections/typography-section/letter-spacing-field.tsx
2361
2430
  var React54 = __toESM(require("react"));
2362
2431
  var import_editor_controls35 = require("@elementor/editor-controls");
2363
2432
  var import_ui41 = require("@elementor/ui");
2364
2433
  var import_i18n34 = require("@wordpress/i18n");
2365
- var LineHeightField = () => {
2366
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.ControlLabel, null, (0, import_i18n34.__)("Line height", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.SizeControl, null))));
2434
+ var LetterSpacingField = () => {
2435
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.ControlLabel, null, (0, import_i18n34.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls35.SizeControl, null))));
2367
2436
  };
2368
2437
 
2369
- // src/components/style-sections/typography-section/text-alignment-field.tsx
2438
+ // src/components/style-sections/typography-section/line-height-field.tsx
2370
2439
  var React55 = __toESM(require("react"));
2371
2440
  var import_editor_controls36 = require("@elementor/editor-controls");
2372
- var import_icons18 = require("@elementor/icons");
2373
2441
  var import_ui42 = require("@elementor/ui");
2374
2442
  var import_i18n35 = require("@wordpress/i18n");
2375
- var StartIcon4 = (0, import_ui42.withDirection)(import_icons18.AlignLeftIcon);
2376
- var EndIcon4 = (0, import_ui42.withDirection)(import_icons18.AlignRightIcon);
2377
- var options8 = [
2443
+ var LineHeightField = () => {
2444
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ControlLabel, null, (0, import_i18n35.__)("Line height", "elementor"))), /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.SizeControl, null))));
2445
+ };
2446
+
2447
+ // src/components/style-sections/typography-section/text-alignment-field.tsx
2448
+ var React56 = __toESM(require("react"));
2449
+ var import_editor_controls37 = require("@elementor/editor-controls");
2450
+ var import_icons19 = require("@elementor/icons");
2451
+ var import_ui43 = require("@elementor/ui");
2452
+ var import_i18n36 = require("@wordpress/i18n");
2453
+ var StartIcon5 = (0, import_ui43.withDirection)(import_icons19.AlignLeftIcon);
2454
+ var EndIcon5 = (0, import_ui43.withDirection)(import_icons19.AlignRightIcon);
2455
+ var options9 = [
2378
2456
  {
2379
2457
  value: "start",
2380
- label: (0, import_i18n35.__)("Start", "elementor"),
2381
- renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon4, size: "tiny" }),
2458
+ label: (0, import_i18n36.__)("Start", "elementor"),
2459
+ renderContent: () => /* @__PURE__ */ React56.createElement(RotatedIcon, { icon: StartIcon5, size: "tiny" }),
2382
2460
  showTooltip: true
2383
2461
  },
2384
2462
  {
2385
2463
  value: "center",
2386
- label: (0, import_i18n35.__)("Center", "elementor"),
2387
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(import_icons18.AlignCenterIcon, { fontSize: size }),
2464
+ label: (0, import_i18n36.__)("Center", "elementor"),
2465
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.AlignCenterIcon, { fontSize: size }),
2388
2466
  showTooltip: true
2389
2467
  },
2390
2468
  {
2391
2469
  value: "end",
2392
- label: (0, import_i18n35.__)("End", "elementor"),
2393
- renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon4, size: "tiny" }),
2470
+ label: (0, import_i18n36.__)("End", "elementor"),
2471
+ renderContent: () => /* @__PURE__ */ React56.createElement(RotatedIcon, { icon: EndIcon5, size: "tiny" }),
2394
2472
  showTooltip: true
2395
2473
  },
2396
2474
  {
2397
2475
  value: "justify",
2398
- label: (0, import_i18n35.__)("Justify", "elementor"),
2399
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(import_icons18.AlignJustifiedIcon, { fontSize: size }),
2476
+ label: (0, import_i18n36.__)("Justify", "elementor"),
2477
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons19.AlignJustifiedIcon, { fontSize: size }),
2400
2478
  showTooltip: true
2401
2479
  }
2402
2480
  ];
2403
2481
  var TextAlignmentField = () => {
2404
- return /* @__PURE__ */ React55.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ControlLabel, null, (0, import_i18n35.__)("Alignment", "elementor"))), /* @__PURE__ */ React55.createElement(import_ui42.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React55.createElement(import_editor_controls36.ToggleControl, { options: options8 }))));
2482
+ return /* @__PURE__ */ React56.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ControlLabel, null, (0, import_i18n36.__)("Alignment", "elementor"))), /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ToggleControl, { options: options9 }))));
2405
2483
  };
2406
2484
 
2407
2485
  // src/components/style-sections/typography-section/text-color-field.tsx
2408
- var React56 = __toESM(require("react"));
2409
- var import_editor_controls37 = require("@elementor/editor-controls");
2410
- var import_ui43 = require("@elementor/ui");
2411
- var import_i18n36 = require("@wordpress/i18n");
2412
- var TextColorField = () => {
2413
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ControlLabel, null, (0, import_i18n36.__)("Text color", "elementor"))), /* @__PURE__ */ React56.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(import_editor_controls37.ColorControl, null))));
2414
- };
2415
-
2416
- // src/components/style-sections/typography-section/text-decoration-field.tsx
2417
2486
  var React57 = __toESM(require("react"));
2418
2487
  var import_editor_controls38 = require("@elementor/editor-controls");
2419
- var import_icons19 = require("@elementor/icons");
2420
2488
  var import_ui44 = require("@elementor/ui");
2421
2489
  var import_i18n37 = require("@wordpress/i18n");
2422
- var options9 = [
2490
+ var TextColorField = () => {
2491
+ return /* @__PURE__ */ React57.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ControlLabel, null, (0, import_i18n37.__)("Text color", "elementor"))), /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ColorControl, null))));
2492
+ };
2493
+
2494
+ // src/components/style-sections/typography-section/text-decoration-field.tsx
2495
+ var React58 = __toESM(require("react"));
2496
+ var import_editor_controls39 = require("@elementor/editor-controls");
2497
+ var import_icons20 = require("@elementor/icons");
2498
+ var import_ui45 = require("@elementor/ui");
2499
+ var import_i18n38 = require("@wordpress/i18n");
2500
+ var options10 = [
2423
2501
  {
2424
2502
  value: "none",
2425
- label: (0, import_i18n37.__)("None", "elementor"),
2426
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.MinusIcon, { fontSize: size }),
2503
+ label: (0, import_i18n38.__)("None", "elementor"),
2504
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.MinusIcon, { fontSize: size }),
2427
2505
  showTooltip: true,
2428
2506
  exclusive: true
2429
2507
  },
2430
2508
  {
2431
2509
  value: "underline",
2432
- label: (0, import_i18n37.__)("Underline", "elementor"),
2433
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.UnderlineIcon, { fontSize: size }),
2510
+ label: (0, import_i18n38.__)("Underline", "elementor"),
2511
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.UnderlineIcon, { fontSize: size }),
2434
2512
  showTooltip: true
2435
2513
  },
2436
2514
  {
2437
2515
  value: "line-through",
2438
- label: (0, import_i18n37.__)("Line-through", "elementor"),
2439
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.StrikethroughIcon, { fontSize: size }),
2516
+ label: (0, import_i18n38.__)("Line-through", "elementor"),
2517
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.StrikethroughIcon, { fontSize: size }),
2440
2518
  showTooltip: true
2441
2519
  },
2442
2520
  {
2443
2521
  value: "overline",
2444
- label: (0, import_i18n37.__)("Overline", "elementor"),
2445
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(import_icons19.OverlineIcon, { fontSize: size }),
2522
+ label: (0, import_i18n38.__)("Overline", "elementor"),
2523
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.OverlineIcon, { fontSize: size }),
2446
2524
  showTooltip: true
2447
2525
  }
2448
2526
  ];
2449
- var TextDecorationField = () => /* @__PURE__ */ React57.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ControlLabel, null, (0, import_i18n37.__)("Line decoration", "elementor"))), /* @__PURE__ */ React57.createElement(import_ui44.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React57.createElement(import_editor_controls38.ToggleControl, { options: options9, exclusive: false }))));
2527
+ var TextDecorationField = () => /* @__PURE__ */ React58.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ControlLabel, null, (0, import_i18n38.__)("Line decoration", "elementor"))), /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ToggleControl, { options: options10, exclusive: false }))));
2450
2528
 
2451
2529
  // src/components/style-sections/typography-section/text-direction-field.tsx
2452
- var React58 = __toESM(require("react"));
2453
- var import_editor_controls39 = require("@elementor/editor-controls");
2454
- var import_icons20 = require("@elementor/icons");
2455
- var import_ui45 = require("@elementor/ui");
2456
- var import_i18n38 = require("@wordpress/i18n");
2457
- var options10 = [
2530
+ var React59 = __toESM(require("react"));
2531
+ var import_editor_controls40 = require("@elementor/editor-controls");
2532
+ var import_icons21 = require("@elementor/icons");
2533
+ var import_ui46 = require("@elementor/ui");
2534
+ var import_i18n39 = require("@wordpress/i18n");
2535
+ var options11 = [
2458
2536
  {
2459
2537
  value: "ltr",
2460
- label: (0, import_i18n38.__)("Left to right", "elementor"),
2461
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.TextDirectionLtrIcon, { fontSize: size }),
2538
+ label: (0, import_i18n39.__)("Left to right", "elementor"),
2539
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.TextDirectionLtrIcon, { fontSize: size }),
2462
2540
  showTooltip: true
2463
2541
  },
2464
2542
  {
2465
2543
  value: "rtl",
2466
- label: (0, import_i18n38.__)("Right to left", "elementor"),
2467
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(import_icons20.TextDirectionRtlIcon, { fontSize: size }),
2544
+ label: (0, import_i18n39.__)("Right to left", "elementor"),
2545
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons21.TextDirectionRtlIcon, { fontSize: size }),
2468
2546
  showTooltip: true
2469
2547
  }
2470
2548
  ];
2471
2549
  var TextDirectionField = () => {
2472
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ControlLabel, null, (0, import_i18n38.__)("Direction", "elementor"))), /* @__PURE__ */ React58.createElement(import_ui45.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React58.createElement(import_editor_controls39.ToggleControl, { options: options10 }))));
2550
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React59.createElement(import_ui46.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(import_editor_controls40.ControlLabel, null, (0, import_i18n39.__)("Direction", "elementor"))), /* @__PURE__ */ React59.createElement(import_ui46.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React59.createElement(import_editor_controls40.ToggleControl, { options: options11 }))));
2473
2551
  };
2474
2552
 
2475
2553
  // src/components/style-sections/typography-section/text-stroke-field.tsx
2476
- var React59 = __toESM(require("react"));
2477
- var import_editor_controls40 = require("@elementor/editor-controls");
2478
- var import_i18n39 = require("@wordpress/i18n");
2554
+ var React60 = __toESM(require("react"));
2555
+ var import_editor_controls41 = require("@elementor/editor-controls");
2556
+ var import_i18n40 = require("@wordpress/i18n");
2479
2557
  var initTextStroke = {
2480
2558
  $$type: "stroke",
2481
2559
  value: {
@@ -2501,64 +2579,64 @@ var TextStrokeField = () => {
2501
2579
  setTextStroke(null);
2502
2580
  };
2503
2581
  const hasTextStroke = Boolean(textStroke);
2504
- return /* @__PURE__ */ React59.createElement(
2582
+ return /* @__PURE__ */ React60.createElement(
2505
2583
  AddOrRemoveContent,
2506
2584
  {
2507
- label: (0, import_i18n39.__)("Text stroke", "elementor"),
2585
+ label: (0, import_i18n40.__)("Text stroke", "elementor"),
2508
2586
  isAdded: hasTextStroke,
2509
2587
  onAdd: addTextStroke,
2510
2588
  onRemove: removeTextStroke
2511
2589
  },
2512
- /* @__PURE__ */ React59.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React59.createElement(import_editor_controls40.StrokeControl, null))
2590
+ /* @__PURE__ */ React60.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React60.createElement(import_editor_controls41.StrokeControl, null))
2513
2591
  );
2514
2592
  };
2515
2593
 
2516
2594
  // src/components/style-sections/typography-section/transform-field.tsx
2517
- var React60 = __toESM(require("react"));
2518
- var import_editor_controls41 = require("@elementor/editor-controls");
2519
- var import_icons21 = require("@elementor/icons");
2520
- var import_ui46 = require("@elementor/ui");
2521
- var import_i18n40 = require("@wordpress/i18n");
2522
- var options11 = [
2595
+ var React61 = __toESM(require("react"));
2596
+ var import_editor_controls42 = require("@elementor/editor-controls");
2597
+ var import_icons22 = require("@elementor/icons");
2598
+ var import_ui47 = require("@elementor/ui");
2599
+ var import_i18n41 = require("@wordpress/i18n");
2600
+ var options12 = [
2523
2601
  {
2524
2602
  value: "none",
2525
- label: (0, import_i18n40.__)("None", "elementor"),
2526
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.MinusIcon, { fontSize: size }),
2603
+ label: (0, import_i18n41.__)("None", "elementor"),
2604
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons22.MinusIcon, { fontSize: size }),
2527
2605
  showTooltip: true
2528
2606
  },
2529
2607
  {
2530
2608
  value: "capitalize",
2531
- label: (0, import_i18n40.__)("Capitalize", "elementor"),
2532
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseIcon, { fontSize: size }),
2609
+ label: (0, import_i18n41.__)("Capitalize", "elementor"),
2610
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons22.LetterCaseIcon, { fontSize: size }),
2533
2611
  showTooltip: true
2534
2612
  },
2535
2613
  {
2536
2614
  value: "uppercase",
2537
- label: (0, import_i18n40.__)("Uppercase", "elementor"),
2538
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseUpperIcon, { fontSize: size }),
2615
+ label: (0, import_i18n41.__)("Uppercase", "elementor"),
2616
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons22.LetterCaseUpperIcon, { fontSize: size }),
2539
2617
  showTooltip: true
2540
2618
  },
2541
2619
  {
2542
2620
  value: "lowercase",
2543
- label: (0, import_i18n40.__)("Lowercase", "elementor"),
2544
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(import_icons21.LetterCaseLowerIcon, { fontSize: size }),
2621
+ label: (0, import_i18n41.__)("Lowercase", "elementor"),
2622
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons22.LetterCaseLowerIcon, { fontSize: size }),
2545
2623
  showTooltip: true
2546
2624
  }
2547
2625
  ];
2548
- var TransformField = () => /* @__PURE__ */ React60.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(import_editor_controls41.ControlLabel, null, (0, import_i18n40.__)("Text transform", "elementor"))), /* @__PURE__ */ React60.createElement(import_ui46.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React60.createElement(import_editor_controls41.ToggleControl, { options: options11 }))));
2626
+ var TransformField = () => /* @__PURE__ */ React61.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(import_editor_controls42.ControlLabel, null, (0, import_i18n41.__)("Text transform", "elementor"))), /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React61.createElement(import_editor_controls42.ToggleControl, { options: options12 }))));
2549
2627
 
2550
2628
  // src/components/style-sections/typography-section/word-spacing-field.tsx
2551
- var React61 = __toESM(require("react"));
2552
- var import_editor_controls42 = require("@elementor/editor-controls");
2553
- var import_ui47 = require("@elementor/ui");
2554
- var import_i18n41 = require("@wordpress/i18n");
2629
+ var React62 = __toESM(require("react"));
2630
+ var import_editor_controls43 = require("@elementor/editor-controls");
2631
+ var import_ui48 = require("@elementor/ui");
2632
+ var import_i18n42 = require("@wordpress/i18n");
2555
2633
  var WordSpacingField = () => {
2556
- return /* @__PURE__ */ React61.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(import_editor_controls42.ControlLabel, null, (0, import_i18n41.__)("Word spacing", "elementor"))), /* @__PURE__ */ React61.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(import_editor_controls42.SizeControl, null))));
2634
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React62.createElement(import_ui48.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(import_ui48.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(import_editor_controls43.ControlLabel, null, (0, import_i18n42.__)("Word spacing", "elementor"))), /* @__PURE__ */ React62.createElement(import_ui48.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(import_editor_controls43.SizeControl, null))));
2557
2635
  };
2558
2636
 
2559
2637
  // src/components/style-sections/typography-section/typography-section.tsx
2560
2638
  var TypographySection = () => {
2561
- return /* @__PURE__ */ React62.createElement(SectionContent, null, /* @__PURE__ */ React62.createElement(FontFamilyField, null), /* @__PURE__ */ React62.createElement(FontWeightField, null), /* @__PURE__ */ React62.createElement(FontSizeField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(TextAlignmentField, null), /* @__PURE__ */ React62.createElement(TextColorField, null), /* @__PURE__ */ React62.createElement(CollapsibleContent, null, /* @__PURE__ */ React62.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React62.createElement(LineHeightField, null), /* @__PURE__ */ React62.createElement(LetterSpacingField, null), /* @__PURE__ */ React62.createElement(WordSpacingField, null), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(TextDecorationField, null), /* @__PURE__ */ React62.createElement(TransformField, null), /* @__PURE__ */ React62.createElement(TextDirectionField, null), /* @__PURE__ */ React62.createElement(FontStyleField, null), /* @__PURE__ */ React62.createElement(TextStrokeField, null))));
2639
+ return /* @__PURE__ */ React63.createElement(SectionContent, null, /* @__PURE__ */ React63.createElement(FontFamilyField, null), /* @__PURE__ */ React63.createElement(FontWeightField, null), /* @__PURE__ */ React63.createElement(FontSizeField, null), /* @__PURE__ */ React63.createElement(PanelDivider, null), /* @__PURE__ */ React63.createElement(TextAlignmentField, null), /* @__PURE__ */ React63.createElement(TextColorField, null), /* @__PURE__ */ React63.createElement(CollapsibleContent, null, /* @__PURE__ */ React63.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React63.createElement(LineHeightField, null), /* @__PURE__ */ React63.createElement(LetterSpacingField, null), /* @__PURE__ */ React63.createElement(WordSpacingField, null), /* @__PURE__ */ React63.createElement(PanelDivider, null), /* @__PURE__ */ React63.createElement(TextDecorationField, null), /* @__PURE__ */ React63.createElement(TransformField, null), /* @__PURE__ */ React63.createElement(TextDirectionField, null), /* @__PURE__ */ React63.createElement(FontStyleField, null), /* @__PURE__ */ React63.createElement(TextStrokeField, null))));
2562
2640
  };
2563
2641
 
2564
2642
  // src/components/style-tab.tsx
@@ -2567,7 +2645,7 @@ var StyleTab = () => {
2567
2645
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
2568
2646
  const [activeStyleState, setActiveStyleState] = (0, import_react16.useState)(null);
2569
2647
  const breakpoint = (0, import_editor_responsive2.useActiveBreakpoint)();
2570
- return /* @__PURE__ */ React63.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React63.createElement(
2648
+ return /* @__PURE__ */ React64.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React64.createElement(
2571
2649
  StyleProvider,
2572
2650
  {
2573
2651
  meta: { breakpoint, state: activeStyleState },
@@ -2578,7 +2656,7 @@ var StyleTab = () => {
2578
2656
  },
2579
2657
  setMetaState: setActiveStyleState
2580
2658
  },
2581
- /* @__PURE__ */ React63.createElement(import_session3.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React63.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React63.createElement(CssClassSelector, null), /* @__PURE__ */ React63.createElement(import_ui48.Divider, null), /* @__PURE__ */ React63.createElement(SectionsList, null, /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Layout", "elementor") }, /* @__PURE__ */ React63.createElement(LayoutSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Spacing", "elementor") }, /* @__PURE__ */ React63.createElement(SpacingSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Size", "elementor") }, /* @__PURE__ */ React63.createElement(SizeSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Position", "elementor") }, /* @__PURE__ */ React63.createElement(PositionSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Typography", "elementor") }, /* @__PURE__ */ React63.createElement(TypographySection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Background", "elementor") }, /* @__PURE__ */ React63.createElement(BackgroundSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Border", "elementor") }, /* @__PURE__ */ React63.createElement(BorderSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: (0, import_i18n42.__)("Effects", "elementor") }, /* @__PURE__ */ React63.createElement(EffectsSection, null)))))
2659
+ /* @__PURE__ */ React64.createElement(import_session3.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React64.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React64.createElement(CssClassSelector, null), /* @__PURE__ */ React64.createElement(import_ui49.Divider, null), /* @__PURE__ */ React64.createElement(SectionsList, null, /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Layout", "elementor") }, /* @__PURE__ */ React64.createElement(LayoutSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Spacing", "elementor") }, /* @__PURE__ */ React64.createElement(SpacingSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Size", "elementor") }, /* @__PURE__ */ React64.createElement(SizeSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Position", "elementor") }, /* @__PURE__ */ React64.createElement(PositionSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Typography", "elementor") }, /* @__PURE__ */ React64.createElement(TypographySection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Background", "elementor") }, /* @__PURE__ */ React64.createElement(BackgroundSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Border", "elementor") }, /* @__PURE__ */ React64.createElement(BorderSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: (0, import_i18n43.__)("Effects", "elementor") }, /* @__PURE__ */ React64.createElement(EffectsSection, null)))))
2582
2660
  ));
2583
2661
  };
2584
2662
  function useActiveStyleDefId(currentClassesProp) {
@@ -2606,11 +2684,11 @@ function useCurrentClassesProp() {
2606
2684
  // src/components/editing-panel-tabs.tsx
2607
2685
  var EditingPanelTabs = () => {
2608
2686
  const { element } = useElement();
2609
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui49.useTabs)("settings");
2687
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui50.useTabs)("settings");
2610
2688
  return (
2611
2689
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
2612
2690
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
2613
- /* @__PURE__ */ React64.createElement(import_react17.Fragment, { key: element.id }, /* @__PURE__ */ React64.createElement(import_ui49.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React64.createElement(import_ui49.Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React64.createElement(import_ui49.Tab, { label: (0, import_i18n43.__)("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React64.createElement(import_ui49.Tab, { label: (0, import_i18n43.__)("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React64.createElement(import_ui49.Divider, null), /* @__PURE__ */ React64.createElement(import_ui49.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React64.createElement(SettingsTab, null)), /* @__PURE__ */ React64.createElement(import_ui49.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React64.createElement(StyleTab, null))))
2691
+ /* @__PURE__ */ React65.createElement(import_react17.Fragment, { key: element.id }, /* @__PURE__ */ React65.createElement(import_ui50.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React65.createElement(import_ui50.Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React65.createElement(import_ui50.Tab, { label: (0, import_i18n44.__)("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React65.createElement(import_ui50.Tab, { label: (0, import_i18n44.__)("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React65.createElement(import_ui50.Divider, null), /* @__PURE__ */ React65.createElement(import_ui50.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React65.createElement(SettingsTab, null)), /* @__PURE__ */ React65.createElement(import_ui50.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React65.createElement(StyleTab, null))))
2614
2692
  );
2615
2693
  };
2616
2694
 
@@ -2623,8 +2701,8 @@ var EditingPanel = () => {
2623
2701
  if (!element || !elementType) {
2624
2702
  return null;
2625
2703
  }
2626
- const panelTitle = (0, import_i18n44.__)("Edit %s", "elementor").replace("%s", elementType.title);
2627
- return /* @__PURE__ */ React65.createElement(import_ui50.ErrorBoundary, { fallback: /* @__PURE__ */ React65.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React65.createElement(import_session4.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React65.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React65.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React65.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React65.createElement(import_icons22.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React65.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React65.createElement(import_editor_controls43.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React65.createElement(import_editor_controls43.ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React65.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React65.createElement(EditingPanelTabs, null))))))));
2704
+ const panelTitle = (0, import_i18n45.__)("Edit %s", "elementor").replace("%s", elementType.title);
2705
+ return /* @__PURE__ */ React66.createElement(import_ui51.ErrorBoundary, { fallback: /* @__PURE__ */ React66.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React66.createElement(import_session4.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React66.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React66.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React66.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React66.createElement(import_icons23.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React66.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React66.createElement(import_editor_controls44.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React66.createElement(import_editor_controls44.ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React66.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React66.createElement(EditingPanelTabs, null))))))));
2628
2706
  };
2629
2707
 
2630
2708
  // src/panel.ts
@@ -2673,17 +2751,17 @@ var EditingPanelHooks = () => {
2673
2751
  };
2674
2752
 
2675
2753
  // src/dynamics/components/dynamic-selection-control.tsx
2676
- var React69 = __toESM(require("react"));
2754
+ var React70 = __toESM(require("react"));
2677
2755
  var import_react22 = require("react");
2678
- var import_editor_controls47 = require("@elementor/editor-controls");
2679
- var import_icons24 = require("@elementor/icons");
2680
- var import_ui53 = require("@elementor/ui");
2681
- var import_i18n46 = require("@wordpress/i18n");
2756
+ var import_editor_controls48 = require("@elementor/editor-controls");
2757
+ var import_icons25 = require("@elementor/icons");
2758
+ var import_ui54 = require("@elementor/ui");
2759
+ var import_i18n47 = require("@wordpress/i18n");
2682
2760
 
2683
2761
  // src/components/popover-content.tsx
2684
- var React66 = __toESM(require("react"));
2685
- var import_ui51 = require("@elementor/ui");
2686
- var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React66.createElement(import_ui51.Stack, { alignItems, gap, p }, children);
2762
+ var React67 = __toESM(require("react"));
2763
+ var import_ui52 = require("@elementor/ui");
2764
+ var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React67.createElement(import_ui52.Stack, { alignItems, gap, p }, children);
2687
2765
 
2688
2766
  // src/hooks/use-persist-dynamic-value.ts
2689
2767
  var import_session5 = require("@elementor/session");
@@ -2694,15 +2772,15 @@ var usePersistDynamicValue = (propKey) => {
2694
2772
  };
2695
2773
 
2696
2774
  // src/dynamics/dynamic-control.tsx
2697
- var React67 = __toESM(require("react"));
2698
- var import_editor_controls45 = require("@elementor/editor-controls");
2775
+ var React68 = __toESM(require("react"));
2776
+ var import_editor_controls46 = require("@elementor/editor-controls");
2699
2777
 
2700
2778
  // src/dynamics/hooks/use-dynamic-tag.ts
2701
2779
  var import_react20 = require("react");
2702
2780
 
2703
2781
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
2704
2782
  var import_react19 = require("react");
2705
- var import_editor_controls44 = require("@elementor/editor-controls");
2783
+ var import_editor_controls45 = require("@elementor/editor-controls");
2706
2784
 
2707
2785
  // src/dynamics/sync/get-elementor-config.ts
2708
2786
  var getElementorConfig2 = () => {
@@ -2748,7 +2826,7 @@ var dynamicPropTypeUtil = (0, import_editor_props6.createPropUtils)(
2748
2826
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
2749
2827
  var usePropDynamicTags = () => {
2750
2828
  let categories = [];
2751
- const { propType } = (0, import_editor_controls44.useBoundProp)();
2829
+ const { propType } = (0, import_editor_controls45.useBoundProp)();
2752
2830
  if (propType) {
2753
2831
  const propDynamicType = getDynamicPropType(propType);
2754
2832
  categories = propDynamicType?.settings.categories || [];
@@ -2774,7 +2852,7 @@ var useDynamicTag = (tagName) => {
2774
2852
 
2775
2853
  // src/dynamics/dynamic-control.tsx
2776
2854
  var DynamicControl = ({ bind, children }) => {
2777
- const { value, setValue } = (0, import_editor_controls45.useBoundProp)(dynamicPropTypeUtil);
2855
+ const { value, setValue } = (0, import_editor_controls46.useBoundProp)(dynamicPropTypeUtil);
2778
2856
  const { name = "", settings } = value ?? {};
2779
2857
  const dynamicTag = useDynamicTag(name);
2780
2858
  if (!dynamicTag) {
@@ -2793,26 +2871,26 @@ var DynamicControl = ({ bind, children }) => {
2793
2871
  });
2794
2872
  };
2795
2873
  const propType = createTopLevelOjectType({ schema: dynamicTag.props_schema });
2796
- return /* @__PURE__ */ React67.createElement(import_editor_controls45.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React67.createElement(import_editor_controls45.PropKeyProvider, { bind }, children));
2874
+ return /* @__PURE__ */ React68.createElement(import_editor_controls46.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React68.createElement(import_editor_controls46.PropKeyProvider, { bind }, children));
2797
2875
  };
2798
2876
 
2799
2877
  // src/dynamics/components/dynamic-selection.tsx
2800
- var React68 = __toESM(require("react"));
2878
+ var React69 = __toESM(require("react"));
2801
2879
  var import_react21 = require("react");
2802
- var import_editor_controls46 = require("@elementor/editor-controls");
2803
- var import_icons23 = require("@elementor/icons");
2804
- var import_ui52 = require("@elementor/ui");
2805
- var import_i18n45 = require("@wordpress/i18n");
2880
+ var import_editor_controls47 = require("@elementor/editor-controls");
2881
+ var import_icons24 = require("@elementor/icons");
2882
+ var import_ui53 = require("@elementor/ui");
2883
+ var import_i18n46 = require("@wordpress/i18n");
2806
2884
  var SIZE3 = "tiny";
2807
2885
  var DynamicSelection = ({ onSelect }) => {
2808
2886
  const [searchValue, setSearchValue] = (0, import_react21.useState)("");
2809
2887
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
2810
- const { value: anyValue } = (0, import_editor_controls46.useBoundProp)();
2811
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls46.useBoundProp)(dynamicPropTypeUtil);
2888
+ const { value: anyValue } = (0, import_editor_controls47.useBoundProp)();
2889
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls47.useBoundProp)(dynamicPropTypeUtil);
2812
2890
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
2813
2891
  const isCurrentValueDynamic = !!dynamicValue;
2814
- const options12 = useFilteredOptions(searchValue);
2815
- const hasNoDynamicTags = !options12.length && !searchValue.trim();
2892
+ const options13 = useFilteredOptions(searchValue);
2893
+ const hasNoDynamicTags = !options13.length && !searchValue.trim();
2816
2894
  const handleSearch = (event) => {
2817
2895
  setSearchValue(event.target.value);
2818
2896
  };
@@ -2823,28 +2901,28 @@ var DynamicSelection = ({ onSelect }) => {
2823
2901
  setValue({ name: value, settings: {} });
2824
2902
  onSelect?.();
2825
2903
  };
2826
- return /* @__PURE__ */ React68.createElement(import_ui52.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React68.createElement(NoDynamicTags, null) : /* @__PURE__ */ React68.createElement(import_react21.Fragment, null, /* @__PURE__ */ React68.createElement(import_ui52.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React68.createElement(
2827
- import_ui52.TextField,
2904
+ return /* @__PURE__ */ React69.createElement(import_ui53.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React69.createElement(NoDynamicTags, null) : /* @__PURE__ */ React69.createElement(import_react21.Fragment, null, /* @__PURE__ */ React69.createElement(import_ui53.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React69.createElement(
2905
+ import_ui53.TextField,
2828
2906
  {
2829
2907
  fullWidth: true,
2830
2908
  size: SIZE3,
2831
2909
  value: searchValue,
2832
2910
  onChange: handleSearch,
2833
- placeholder: (0, import_i18n45.__)("Search dynamic tags\u2026", "elementor"),
2911
+ placeholder: (0, import_i18n46.__)("Search dynamic tags\u2026", "elementor"),
2834
2912
  InputProps: {
2835
- startAdornment: /* @__PURE__ */ React68.createElement(import_ui52.InputAdornment, { position: "start" }, /* @__PURE__ */ React68.createElement(import_icons23.SearchIcon, { fontSize: SIZE3 }))
2913
+ startAdornment: /* @__PURE__ */ React69.createElement(import_ui53.InputAdornment, { position: "start" }, /* @__PURE__ */ React69.createElement(import_icons24.SearchIcon, { fontSize: SIZE3 }))
2836
2914
  }
2837
2915
  }
2838
- )), /* @__PURE__ */ React68.createElement(import_ui52.Divider, null), /* @__PURE__ */ React68.createElement(import_ui52.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React68.createElement(import_ui52.MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React68.createElement(import_react21.Fragment, { key: index }, /* @__PURE__ */ React68.createElement(
2839
- import_ui52.ListSubheader,
2916
+ )), /* @__PURE__ */ React69.createElement(import_ui53.Divider, null), /* @__PURE__ */ React69.createElement(import_ui53.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options13.length > 0 ? /* @__PURE__ */ React69.createElement(import_ui53.MenuList, { role: "listbox", tabIndex: 0 }, options13.map(([category, items3], index) => /* @__PURE__ */ React69.createElement(import_react21.Fragment, { key: index }, /* @__PURE__ */ React69.createElement(
2917
+ import_ui53.ListSubheader,
2840
2918
  {
2841
2919
  sx: { px: 1.5, typography: "caption", color: "text.tertiary" }
2842
2920
  },
2843
2921
  dynamicGroups?.[category]?.title || category
2844
2922
  ), items3.map(({ value, label: tagLabel }) => {
2845
2923
  const isSelected = isCurrentValueDynamic && value === dynamicValue?.name;
2846
- return /* @__PURE__ */ React68.createElement(
2847
- import_ui52.MenuItem,
2924
+ return /* @__PURE__ */ React69.createElement(
2925
+ import_ui53.MenuItem,
2848
2926
  {
2849
2927
  key: value,
2850
2928
  selected: isSelected,
@@ -2854,10 +2932,10 @@ var DynamicSelection = ({ onSelect }) => {
2854
2932
  },
2855
2933
  tagLabel
2856
2934
  );
2857
- })))) : /* @__PURE__ */ React68.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2935
+ })))) : /* @__PURE__ */ React69.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2858
2936
  };
2859
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React68.createElement(
2860
- import_ui52.Stack,
2937
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React69.createElement(
2938
+ import_ui53.Stack,
2861
2939
  {
2862
2940
  gap: 1,
2863
2941
  alignItems: "center",
@@ -2867,12 +2945,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React68.createElem
2867
2945
  color: "text.secondary",
2868
2946
  sx: { pb: 3.5 }
2869
2947
  },
2870
- /* @__PURE__ */ React68.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2871
- /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n45.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React68.createElement("br", null), "\u201C", searchValue, "\u201D."),
2872
- /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "caption" }, (0, import_i18n45.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React68.createElement(import_ui52.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n45.__)("Clear & try again", "elementor")))
2948
+ /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
2949
+ /* @__PURE__ */ React69.createElement(import_ui53.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n46.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React69.createElement("br", null), "\u201C", searchValue, "\u201D."),
2950
+ /* @__PURE__ */ React69.createElement(import_ui53.Typography, { align: "center", variant: "caption" }, (0, import_i18n46.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React69.createElement(import_ui53.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n46.__)("Clear & try again", "elementor")))
2873
2951
  );
2874
- var NoDynamicTags = () => /* @__PURE__ */ React68.createElement(import_ui52.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React68.createElement(import_ui52.Divider, null), /* @__PURE__ */ React68.createElement(
2875
- import_ui52.Stack,
2952
+ var NoDynamicTags = () => /* @__PURE__ */ React69.createElement(import_ui53.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React69.createElement(import_ui53.Divider, null), /* @__PURE__ */ React69.createElement(
2953
+ import_ui53.Stack,
2876
2954
  {
2877
2955
  gap: 1,
2878
2956
  alignItems: "center",
@@ -2882,13 +2960,13 @@ var NoDynamicTags = () => /* @__PURE__ */ React68.createElement(import_ui52.Box,
2882
2960
  color: "text.secondary",
2883
2961
  sx: { pb: 3.5 }
2884
2962
  },
2885
- /* @__PURE__ */ React68.createElement(import_icons23.DatabaseIcon, { fontSize: "large" }),
2886
- /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n45.__)("Streamline your workflow with dynamic tags", "elementor")),
2887
- /* @__PURE__ */ React68.createElement(import_ui52.Typography, { align: "center", variant: "caption" }, (0, import_i18n45.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
2963
+ /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: "large" }),
2964
+ /* @__PURE__ */ React69.createElement(import_ui53.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n46.__)("Streamline your workflow with dynamic tags", "elementor")),
2965
+ /* @__PURE__ */ React69.createElement(import_ui53.Typography, { align: "center", variant: "caption" }, (0, import_i18n46.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
2888
2966
  ));
2889
2967
  var useFilteredOptions = (searchValue) => {
2890
2968
  const dynamicTags = usePropDynamicTags();
2891
- const options12 = dynamicTags.reduce((categories, { name, label, group }) => {
2969
+ const options13 = dynamicTags.reduce((categories, { name, label, group }) => {
2892
2970
  const isVisible = label.toLowerCase().includes(searchValue.trim().toLowerCase());
2893
2971
  if (!isVisible) {
2894
2972
  return categories;
@@ -2899,18 +2977,18 @@ var useFilteredOptions = (searchValue) => {
2899
2977
  categories.get(group)?.push({ label, value: name });
2900
2978
  return categories;
2901
2979
  }, /* @__PURE__ */ new Map());
2902
- return [...options12];
2980
+ return [...options13];
2903
2981
  };
2904
2982
 
2905
2983
  // src/dynamics/components/dynamic-selection-control.tsx
2906
2984
  var SIZE4 = "tiny";
2907
2985
  var DynamicSelectionControl = () => {
2908
- const { setValue: setAnyValue } = (0, import_editor_controls47.useBoundProp)();
2909
- const { bind, value } = (0, import_editor_controls47.useBoundProp)(dynamicPropTypeUtil);
2986
+ const { setValue: setAnyValue } = (0, import_editor_controls48.useBoundProp)();
2987
+ const { bind, value } = (0, import_editor_controls48.useBoundProp)(dynamicPropTypeUtil);
2910
2988
  const [propValueFromHistory] = usePersistDynamicValue(bind);
2911
2989
  const { name: tagName = "" } = value;
2912
2990
  const selectionPopoverId = (0, import_react22.useId)();
2913
- const selectionPopoverState = (0, import_ui53.usePopupState)({ variant: "popover", popupId: selectionPopoverId });
2991
+ const selectionPopoverState = (0, import_ui54.usePopupState)({ variant: "popover", popupId: selectionPopoverId });
2914
2992
  const dynamicTag = useDynamicTag(tagName);
2915
2993
  const removeDynamicTag = () => {
2916
2994
  setAnyValue(propValueFromHistory ?? null);
@@ -2918,70 +2996,70 @@ var DynamicSelectionControl = () => {
2918
2996
  if (!dynamicTag) {
2919
2997
  throw new Error(`Dynamic tag ${tagName} not found`);
2920
2998
  }
2921
- return /* @__PURE__ */ React69.createElement(import_ui53.Box, null, /* @__PURE__ */ React69.createElement(
2922
- import_ui53.UnstableTag,
2999
+ return /* @__PURE__ */ React70.createElement(import_ui54.Box, null, /* @__PURE__ */ React70.createElement(
3000
+ import_ui54.UnstableTag,
2923
3001
  {
2924
3002
  fullWidth: true,
2925
3003
  showActionsOnHover: true,
2926
3004
  label: dynamicTag.label,
2927
- startIcon: /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4 }),
2928
- ...(0, import_ui53.bindTrigger)(selectionPopoverState),
2929
- actions: /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React69.createElement(
2930
- import_ui53.IconButton,
3005
+ startIcon: /* @__PURE__ */ React70.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE4 }),
3006
+ ...(0, import_ui54.bindTrigger)(selectionPopoverState),
3007
+ actions: /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React70.createElement(
3008
+ import_ui54.IconButton,
2931
3009
  {
2932
3010
  size: SIZE4,
2933
3011
  onClick: removeDynamicTag,
2934
- "aria-label": (0, import_i18n46.__)("Remove dynamic value", "elementor")
3012
+ "aria-label": (0, import_i18n47.__)("Remove dynamic value", "elementor")
2935
3013
  },
2936
- /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 })
3014
+ /* @__PURE__ */ React70.createElement(import_icons25.XIcon, { fontSize: SIZE4 })
2937
3015
  ))
2938
3016
  }
2939
- ), /* @__PURE__ */ React69.createElement(
2940
- import_ui53.Popover,
3017
+ ), /* @__PURE__ */ React70.createElement(
3018
+ import_ui54.Popover,
2941
3019
  {
2942
3020
  disablePortal: true,
2943
3021
  disableScrollLock: true,
2944
3022
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
2945
- ...(0, import_ui53.bindPopover)(selectionPopoverState)
3023
+ ...(0, import_ui54.bindPopover)(selectionPopoverState)
2946
3024
  },
2947
- /* @__PURE__ */ React69.createElement(import_ui53.Stack, null, /* @__PURE__ */ React69.createElement(import_ui53.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(import_ui53.Typography, { variant: "subtitle2" }, (0, import_i18n46.__)("Dynamic tags", "elementor")), /* @__PURE__ */ React69.createElement(import_ui53.IconButton, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
3025
+ /* @__PURE__ */ React70.createElement(import_ui54.Stack, null, /* @__PURE__ */ React70.createElement(import_ui54.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React70.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React70.createElement(import_ui54.Typography, { variant: "subtitle2" }, (0, import_i18n47.__)("Dynamic tags", "elementor")), /* @__PURE__ */ React70.createElement(import_ui54.IconButton, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React70.createElement(import_icons25.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React70.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
2948
3026
  ));
2949
3027
  };
2950
3028
  var DynamicSettingsPopover = ({ dynamicTag }) => {
2951
3029
  const popupId = (0, import_react22.useId)();
2952
- const settingsPopupState = (0, import_ui53.usePopupState)({ variant: "popover", popupId });
3030
+ const settingsPopupState = (0, import_ui54.usePopupState)({ variant: "popover", popupId });
2953
3031
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
2954
3032
  if (!hasDynamicSettings) {
2955
3033
  return null;
2956
3034
  }
2957
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
2958
- import_ui53.IconButton,
3035
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
3036
+ import_ui54.IconButton,
2959
3037
  {
2960
3038
  size: SIZE4,
2961
- ...(0, import_ui53.bindTrigger)(settingsPopupState),
2962
- "aria-label": (0, import_i18n46.__)("Settings", "elementor")
3039
+ ...(0, import_ui54.bindTrigger)(settingsPopupState),
3040
+ "aria-label": (0, import_i18n47.__)("Settings", "elementor")
2963
3041
  },
2964
- /* @__PURE__ */ React69.createElement(import_icons24.SettingsIcon, { fontSize: SIZE4 })
2965
- ), /* @__PURE__ */ React69.createElement(
2966
- import_ui53.Popover,
3042
+ /* @__PURE__ */ React70.createElement(import_icons25.SettingsIcon, { fontSize: SIZE4 })
3043
+ ), /* @__PURE__ */ React70.createElement(
3044
+ import_ui54.Popover,
2967
3045
  {
2968
3046
  disableScrollLock: true,
2969
3047
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
2970
- ...(0, import_ui53.bindPopover)(settingsPopupState)
3048
+ ...(0, import_ui54.bindPopover)(settingsPopupState)
2971
3049
  },
2972
- /* @__PURE__ */ React69.createElement(import_ui53.Paper, { component: import_ui53.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React69.createElement(import_ui53.Stack, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React69.createElement(import_icons24.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(import_ui53.Typography, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React69.createElement(import_ui53.IconButton, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React69.createElement(import_icons24.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
3050
+ /* @__PURE__ */ React70.createElement(import_ui54.Paper, { component: import_ui54.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React70.createElement(import_ui54.Stack, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React70.createElement(import_icons25.DatabaseIcon, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React70.createElement(import_ui54.Typography, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React70.createElement(import_ui54.IconButton, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React70.createElement(import_icons25.XIcon, { fontSize: SIZE4 }))), /* @__PURE__ */ React70.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
2973
3051
  ));
2974
3052
  };
2975
3053
  var DynamicSettings = ({ controls }) => {
2976
3054
  const tabs = controls.filter(({ type }) => type === "section");
2977
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui53.useTabs)(0);
3055
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui54.useTabs)(0);
2978
3056
  if (!tabs.length) {
2979
3057
  return null;
2980
3058
  }
2981
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(import_ui53.Tabs, { indicatorColor: "secondary", textColor: "secondary", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React69.createElement(import_ui53.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React69.createElement(import_ui53.Divider, null), tabs.map(({ value }, index) => {
2982
- return /* @__PURE__ */ React69.createElement(import_ui53.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React69.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
3059
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(import_ui54.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React70.createElement(import_ui54.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React70.createElement(import_ui54.Divider, null), tabs.map(({ value }, index) => {
3060
+ return /* @__PURE__ */ React70.createElement(import_ui54.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React70.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
2983
3061
  if (item.type === "control") {
2984
- return /* @__PURE__ */ React69.createElement(Control3, { key: item.value.bind, control: item.value });
3062
+ return /* @__PURE__ */ React70.createElement(Control3, { key: item.value.bind, control: item.value });
2985
3063
  }
2986
3064
  return null;
2987
3065
  })));
@@ -2991,22 +3069,22 @@ var Control3 = ({ control }) => {
2991
3069
  if (!getControlByType(control.type)) {
2992
3070
  return null;
2993
3071
  }
2994
- return /* @__PURE__ */ React69.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React69.createElement(import_ui53.Grid, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React69.createElement(import_ui53.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(import_editor_controls47.ControlLabel, null, control.label)) : null, /* @__PURE__ */ React69.createElement(import_ui53.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(Control, { type: control.type, props: control.props }))));
3072
+ return /* @__PURE__ */ React70.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React70.createElement(import_ui54.Grid, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React70.createElement(import_ui54.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(import_editor_controls48.ControlLabel, null, control.label)) : null, /* @__PURE__ */ React70.createElement(import_ui54.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(Control, { type: control.type, props: control.props }))));
2995
3073
  };
2996
3074
 
2997
3075
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
2998
- var React70 = __toESM(require("react"));
2999
- var import_editor_controls48 = require("@elementor/editor-controls");
3000
- var import_icons25 = require("@elementor/icons");
3001
- var import_i18n47 = require("@wordpress/i18n");
3076
+ var React71 = __toESM(require("react"));
3077
+ var import_editor_controls49 = require("@elementor/editor-controls");
3078
+ var import_icons26 = require("@elementor/icons");
3079
+ var import_i18n48 = require("@wordpress/i18n");
3002
3080
  var usePropDynamicAction = () => {
3003
- const { propType } = (0, import_editor_controls48.useBoundProp)();
3081
+ const { propType } = (0, import_editor_controls49.useBoundProp)();
3004
3082
  const visible = !!propType && supportsDynamic(propType);
3005
3083
  return {
3006
3084
  visible,
3007
- icon: import_icons25.DatabaseIcon,
3008
- title: (0, import_i18n47.__)("Dynamic tags", "elementor"),
3009
- popoverContent: ({ closePopover }) => /* @__PURE__ */ React70.createElement(DynamicSelection, { onSelect: closePopover })
3085
+ icon: import_icons26.DatabaseIcon,
3086
+ title: (0, import_i18n48.__)("Dynamic tags", "elementor"),
3087
+ popoverContent: ({ closePopover }) => /* @__PURE__ */ React71.createElement(DynamicSelection, { onSelect: closePopover })
3010
3088
  };
3011
3089
  };
3012
3090