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