@elementor/editor-editing-panel 1.20.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.mjs CHANGED
@@ -110,7 +110,7 @@ import {
110
110
  function MultiCombobox({
111
111
  actions = [],
112
112
  selected,
113
- options: options12,
113
+ options: options13,
114
114
  onSelect,
115
115
  ...props
116
116
  }) {
@@ -128,14 +128,14 @@ function MultiCombobox({
128
128
  handleHomeEndKeys: true,
129
129
  disabled: loading,
130
130
  value: selected,
131
- options: options12,
131
+ options: options13,
132
132
  renderGroup: (params) => /* @__PURE__ */ React4.createElement(Group, { ...params }),
133
133
  renderInput: (params) => /* @__PURE__ */ React4.createElement(TextField, { ...params }),
134
134
  onChange: (_, selectedOrInputValue, reason) => {
135
135
  const inputValue = selectedOrInputValue.find((option) => typeof option === "string");
136
136
  const optionsAndActions = selectedOrInputValue.filter((option) => typeof option !== "string");
137
137
  if (reason === "createOption") {
138
- const [firstAction] = filterActions(actions, { options: options12, inputValue: inputValue ?? "" });
138
+ const [firstAction] = filterActions(actions, { options: options13, inputValue: inputValue ?? "" });
139
139
  if (firstAction.value) {
140
140
  return run(firstAction.apply, firstAction.value);
141
141
  }
@@ -144,7 +144,7 @@ function MultiCombobox({
144
144
  if (reason === "selectOption" && action?.value) {
145
145
  return run(action.apply, action.value);
146
146
  }
147
- const fixedValues = options12.filter((option) => !!option.fixed);
147
+ const fixedValues = options13.filter((option) => !!option.fixed);
148
148
  onSelect?.([.../* @__PURE__ */ new Set([...optionsAndActions, ...fixedValues])]);
149
149
  },
150
150
  getOptionLabel: (option) => typeof option === "string" ? option : option.label,
@@ -202,8 +202,8 @@ function useActionRunner() {
202
202
  };
203
203
  return { run, loading };
204
204
  }
205
- function filterActions(actions, { options: options12, inputValue }) {
206
- return actions.filter((action) => action.condition(options12, inputValue)).map((action, index) => ({
205
+ function filterActions(actions, { options: options13, inputValue }) {
206
+ return actions.filter((action) => action.condition(options13, inputValue)).map((action, index) => ({
207
207
  label: action.label(inputValue),
208
208
  value: inputValue,
209
209
  group: action.group,
@@ -487,19 +487,19 @@ var EMPTY_OPTION = {
487
487
  };
488
488
  var { Slot: ClassSelectorActionsSlot, inject: injectIntoClassSelectorActions } = createLocation();
489
489
  function CssClassSelector() {
490
- const options12 = useOptions();
490
+ const options13 = useOptions();
491
491
  const { value: appliedIds, setValue: setAppliedIds, pushValue: pushAppliedId } = useAppliedClassesIds();
492
492
  const { id: activeId, setId: setActiveId } = useStyle();
493
493
  const actions = useCreateActions({ pushAppliedId, setActiveId });
494
494
  const handleApply = useHandleApply(appliedIds, setAppliedIds);
495
- const applied = useAppliedOptions(options12, appliedIds);
495
+ const applied = useAppliedOptions(options13, appliedIds);
496
496
  const active = applied.find((option) => option.value === activeId) ?? EMPTY_OPTION;
497
497
  return /* @__PURE__ */ React7.createElement(Stack2, { gap: 1, p: 2 }, /* @__PURE__ */ React7.createElement(Stack2, { direction: "row", gap: 1, alignItems: "center", justifyContent: "space-between" }, /* @__PURE__ */ React7.createElement(Typography2, { component: "label", variant: "caption", htmlFor: ID }, __3("CSS classes", "elementor")), /* @__PURE__ */ React7.createElement(Stack2, { direction: "row", gap: 1 }, /* @__PURE__ */ React7.createElement(ClassSelectorActionsSlot, null))), /* @__PURE__ */ React7.createElement(
498
498
  MultiCombobox,
499
499
  {
500
500
  id: ID,
501
501
  size: "tiny",
502
- options: options12,
502
+ options: options13,
503
503
  selected: applied,
504
504
  onSelect: handleApply,
505
505
  limitTags: TAGS_LIMIT,
@@ -584,8 +584,8 @@ function useCreateActions({
584
584
  };
585
585
  });
586
586
  }
587
- function useAppliedOptions(options12, appliedIds) {
588
- const applied = options12.filter((option) => option.value && appliedIds.includes(option.value));
587
+ function useAppliedOptions(options13, appliedIds) {
588
+ const applied = options13.filter((option) => option.value && appliedIds.includes(option.value));
589
589
  const hasElementsProviderStyleApplied = applied.some(
590
590
  (option) => option.provider === ELEMENTS_STYLES_PROVIDER_KEY
591
591
  );
@@ -641,14 +641,14 @@ function useHandleApply(appliedIds, setAppliedIds) {
641
641
  import { __createPanel as createPanel } from "@elementor/editor-panels";
642
642
 
643
643
  // src/components/editing-panel.tsx
644
- import * as React65 from "react";
644
+ import * as React66 from "react";
645
645
  import { ControlActionsProvider, ControlReplacementProvider } from "@elementor/editor-controls";
646
646
  import { useSelectedElement } from "@elementor/editor-elements";
647
647
  import { Panel, PanelBody, PanelHeader, PanelHeaderTitle } from "@elementor/editor-panels";
648
648
  import { AtomIcon } from "@elementor/icons";
649
649
  import { SessionStorageProvider as SessionStorageProvider3 } from "@elementor/session";
650
650
  import { ErrorBoundary } from "@elementor/ui";
651
- import { __ as __44 } from "@wordpress/i18n";
651
+ import { __ as __45 } from "@wordpress/i18n";
652
652
 
653
653
  // src/controls-actions.ts
654
654
  import { createMenu } from "@elementor/menus";
@@ -704,10 +704,10 @@ function EditorPanelErrorFallback() {
704
704
  }
705
705
 
706
706
  // src/components/editing-panel-tabs.tsx
707
- import * as React64 from "react";
707
+ import * as React65 from "react";
708
708
  import { Fragment as Fragment8 } from "react";
709
- import { Divider as Divider5, Stack as Stack13, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
710
- import { __ as __43 } from "@wordpress/i18n";
709
+ import { Divider as Divider5, Stack as Stack14, Tab, TabPanel, Tabs, useTabs } from "@elementor/ui";
710
+ import { __ as __44 } from "@wordpress/i18n";
711
711
 
712
712
  // src/components/settings-tab.tsx
713
713
  import * as React15 from "react";
@@ -886,14 +886,14 @@ var Control2 = ({ control }) => {
886
886
  };
887
887
 
888
888
  // src/components/style-tab.tsx
889
- import * as React63 from "react";
889
+ import * as React64 from "react";
890
890
  import { useState as useState7 } from "react";
891
891
  import { getElementStyles, useElementSetting as useElementSetting5 } from "@elementor/editor-elements";
892
892
  import { CLASSES_PROP_KEY } from "@elementor/editor-props";
893
893
  import { useActiveBreakpoint } from "@elementor/editor-responsive";
894
894
  import { SessionStorageProvider as SessionStorageProvider2 } from "@elementor/session";
895
895
  import { Divider as Divider4 } from "@elementor/ui";
896
- import { __ as __42 } from "@wordpress/i18n";
896
+ import { __ as __43 } from "@wordpress/i18n";
897
897
 
898
898
  // src/contexts/styles-inheritance-context.tsx
899
899
  import * as React16 from "react";
@@ -1433,20 +1433,30 @@ var COUNTER_CLOCKWISE_ANGLES = {
1433
1433
  "row-reverse": -180,
1434
1434
  "column-reverse": -270
1435
1435
  };
1436
- var RotatedIcon = ({ icon: Icon, size, isClockwise = true, offset = 0 }) => {
1437
- const rotate = useRef(useGetTargetAngle(isClockwise, offset));
1438
- rotate.current = useGetTargetAngle(isClockwise, offset, rotate);
1436
+ var RotatedIcon = ({
1437
+ icon: Icon,
1438
+ size,
1439
+ isClockwise = true,
1440
+ offset = 0,
1441
+ disableRotationForReversed = false
1442
+ }) => {
1443
+ const rotate = useRef(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
1444
+ rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
1439
1445
  return /* @__PURE__ */ React25.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
1440
1446
  };
1441
- var useGetTargetAngle = (isClockwise, offset, existingRef) => {
1447
+ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
1442
1448
  const [direction] = useStylesField("flex-direction");
1443
1449
  const isRtl = "rtl" === useTheme2().direction;
1444
1450
  const rotationMultiplier = isRtl ? -1 : 1;
1445
1451
  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;
1452
+ const currentDirection = direction?.value || "row";
1453
+ const currentAngle = existingRef ? existingRef.current * rotationMultiplier : angleMap[currentDirection] + offset;
1454
+ const targetAngle = angleMap[currentDirection] + offset;
1448
1455
  const diffToTargetAngle = (targetAngle - currentAngle + 360) % 360;
1449
1456
  const formattedDiff = (diffToTargetAngle + 180) % 360 - 180;
1457
+ if (disableRotationForReversed && ["row-reverse", "column-reverse"].includes(currentDirection)) {
1458
+ return 0;
1459
+ }
1450
1460
  return (currentAngle + formattedDiff) * rotationMultiplier;
1451
1461
  };
1452
1462
 
@@ -1590,10 +1600,10 @@ var EffectsSection = () => {
1590
1600
  };
1591
1601
 
1592
1602
  // src/components/style-sections/layout-section/layout-section.tsx
1593
- import * as React40 from "react";
1594
- import { ControlLabel as ControlLabel13 } from "@elementor/editor-controls";
1603
+ import * as React41 from "react";
1604
+ import { ControlLabel as ControlLabel14 } from "@elementor/editor-controls";
1595
1605
  import { useParentElement } from "@elementor/editor-elements";
1596
- import { __ as __20 } from "@wordpress/i18n";
1606
+ import { __ as __21 } from "@wordpress/i18n";
1597
1607
 
1598
1608
  // src/hooks/use-computed-style.ts
1599
1609
  import { __privateUseListenTo as useListenTo, commandEndEvent, windowEvent } from "@elementor/editor-v1-adapters";
@@ -1620,22 +1630,25 @@ function useComputedStyle(elementId) {
1620
1630
  );
1621
1631
  }
1622
1632
 
1623
- // src/components/style-sections/layout-section/align-items-field.tsx
1633
+ // src/components/style-sections/layout-section/align-content-field.tsx
1624
1634
  import * as React31 from "react";
1625
1635
  import { ControlLabel as ControlLabel5, ToggleControl } from "@elementor/editor-controls";
1626
1636
  import {
1627
- LayoutAlignCenterIcon as CenterIcon,
1628
- LayoutAlignLeftIcon,
1629
- LayoutAlignRightIcon,
1630
- LayoutDistributeVerticalIcon as JustifyIcon
1637
+ JustifyBottomIcon,
1638
+ JustifyCenterIcon as CenterIcon,
1639
+ JustifyDistributeVerticalIcon as EvenlyIcon,
1640
+ JustifySpaceAroundVerticalIcon as AroundIcon,
1641
+ JustifySpaceBetweenVerticalIcon as BetweenIcon,
1642
+ JustifyTopIcon
1631
1643
  } from "@elementor/icons";
1632
- import { DirectionProvider, Grid as Grid3, ThemeProvider, withDirection as withDirection3 } from "@elementor/ui";
1644
+ import { DirectionProvider, Stack as Stack7, ThemeProvider, withDirection as withDirection3 } from "@elementor/ui";
1633
1645
  import { __ as __11 } from "@wordpress/i18n";
1634
- var StartIcon = withDirection3(LayoutAlignLeftIcon);
1635
- var EndIcon = withDirection3(LayoutAlignRightIcon);
1646
+ var StartIcon = withDirection3(JustifyTopIcon);
1647
+ var EndIcon = withDirection3(JustifyBottomIcon);
1636
1648
  var iconProps = {
1637
1649
  isClockwise: false,
1638
- offset: 90
1650
+ offset: 0,
1651
+ disableRotationForReversed: true
1639
1652
  };
1640
1653
  var options = [
1641
1654
  {
@@ -1657,30 +1670,42 @@ var options = [
1657
1670
  showTooltip: true
1658
1671
  },
1659
1672
  {
1660
- value: "stretch",
1661
- label: __11("Stretch", "elementor"),
1662
- renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps }),
1673
+ value: "space-between",
1674
+ label: __11("Space between", "elementor"),
1675
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps }),
1676
+ showTooltip: true
1677
+ },
1678
+ {
1679
+ value: "space-around",
1680
+ label: __11("Space around", "elementor"),
1681
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps }),
1682
+ showTooltip: true
1683
+ },
1684
+ {
1685
+ value: "space-evenly",
1686
+ label: __11("Space evenly", "elementor"),
1687
+ renderContent: ({ size }) => /* @__PURE__ */ React31.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps }),
1663
1688
  showTooltip: true
1664
1689
  }
1665
1690
  ];
1666
- var AlignItemsField = () => {
1691
+ var AlignContentField = () => {
1667
1692
  const { isSiteRtl } = useDirection();
1668
- return /* @__PURE__ */ React31.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React31.createElement(Grid3, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React31.createElement(Grid3, { item: true, xs: 6 }, /* @__PURE__ */ React31.createElement(ControlLabel5, null, __11("Align items", "elementor"))), /* @__PURE__ */ React31.createElement(Grid3, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React31.createElement(ToggleControl, { options }))))));
1693
+ return /* @__PURE__ */ React31.createElement(DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React31.createElement(ThemeProvider, null, /* @__PURE__ */ React31.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React31.createElement(Stack7, { gap: 1 }, /* @__PURE__ */ React31.createElement(ControlLabel5, null, __11("Align content", "elementor")), /* @__PURE__ */ React31.createElement(ToggleControl, { options, fullWidth: true })))));
1669
1694
  };
1670
1695
 
1671
- // src/components/style-sections/layout-section/align-self-child-field.tsx
1696
+ // src/components/style-sections/layout-section/align-items-field.tsx
1672
1697
  import * as React32 from "react";
1673
1698
  import { ControlLabel as ControlLabel6, ToggleControl as ToggleControl2 } from "@elementor/editor-controls";
1674
1699
  import {
1675
1700
  LayoutAlignCenterIcon as CenterIcon2,
1676
- LayoutAlignLeftIcon as LayoutAlignLeftIcon2,
1677
- LayoutAlignRightIcon as LayoutAlignRightIcon2,
1678
- LayoutDistributeVerticalIcon as JustifyIcon2
1701
+ LayoutAlignLeftIcon,
1702
+ LayoutAlignRightIcon,
1703
+ LayoutDistributeVerticalIcon as JustifyIcon
1679
1704
  } from "@elementor/icons";
1680
- import { DirectionProvider as DirectionProvider2, Grid as Grid4, ThemeProvider as ThemeProvider2, withDirection as withDirection4 } from "@elementor/ui";
1705
+ import { DirectionProvider as DirectionProvider2, Grid as Grid3, ThemeProvider as ThemeProvider2, withDirection as withDirection4 } from "@elementor/ui";
1681
1706
  import { __ as __12 } from "@wordpress/i18n";
1682
- var StartIcon2 = withDirection4(LayoutAlignLeftIcon2);
1683
- var EndIcon2 = withDirection4(LayoutAlignRightIcon2);
1707
+ var StartIcon2 = withDirection4(LayoutAlignLeftIcon);
1708
+ var EndIcon2 = withDirection4(LayoutAlignRightIcon);
1684
1709
  var iconProps2 = {
1685
1710
  isClockwise: false,
1686
1711
  offset: 90
@@ -1707,104 +1732,152 @@ var options2 = [
1707
1732
  {
1708
1733
  value: "stretch",
1709
1734
  label: __12("Stretch", "elementor"),
1710
- renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: JustifyIcon2, size, ...iconProps2 }),
1735
+ renderContent: ({ size }) => /* @__PURE__ */ React32.createElement(RotatedIcon, { icon: JustifyIcon, size, ...iconProps2 }),
1711
1736
  showTooltip: true
1712
1737
  }
1713
1738
  ];
1714
- var AlignSelfChild = () => {
1739
+ var AlignItemsField = () => {
1715
1740
  const { isSiteRtl } = useDirection();
1716
- return /* @__PURE__ */ React32.createElement(DirectionProvider2, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(ThemeProvider2, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React32.createElement(Grid4, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(ControlLabel6, null, __12("Align self", "elementor"))), /* @__PURE__ */ React32.createElement(Grid4, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React32.createElement(ToggleControl2, { options: options2 }))))));
1741
+ return /* @__PURE__ */ React32.createElement(DirectionProvider2, { rtl: isSiteRtl }, /* @__PURE__ */ React32.createElement(ThemeProvider2, null, /* @__PURE__ */ React32.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React32.createElement(Grid3, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(Grid3, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(ControlLabel6, null, __12("Align items", "elementor"))), /* @__PURE__ */ React32.createElement(Grid3, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React32.createElement(ToggleControl2, { options: options2 }))))));
1717
1742
  };
1718
1743
 
1719
- // src/components/style-sections/layout-section/display-field.tsx
1744
+ // src/components/style-sections/layout-section/align-self-child-field.tsx
1720
1745
  import * as React33 from "react";
1721
1746
  import { ControlLabel as ControlLabel7, ToggleControl as ToggleControl3 } from "@elementor/editor-controls";
1722
- import { Stack as Stack7 } from "@elementor/ui";
1747
+ import {
1748
+ LayoutAlignCenterIcon as CenterIcon3,
1749
+ LayoutAlignLeftIcon as LayoutAlignLeftIcon2,
1750
+ LayoutAlignRightIcon as LayoutAlignRightIcon2,
1751
+ LayoutDistributeVerticalIcon as JustifyIcon2
1752
+ } from "@elementor/icons";
1753
+ import { DirectionProvider as DirectionProvider3, Grid as Grid4, ThemeProvider as ThemeProvider3, withDirection as withDirection5 } from "@elementor/ui";
1723
1754
  import { __ as __13 } from "@wordpress/i18n";
1755
+ var StartIcon3 = withDirection5(LayoutAlignLeftIcon2);
1756
+ var EndIcon3 = withDirection5(LayoutAlignRightIcon2);
1757
+ var iconProps3 = {
1758
+ isClockwise: false,
1759
+ offset: 90
1760
+ };
1761
+ var options3 = [
1762
+ {
1763
+ value: "start",
1764
+ label: __13("Start", "elementor"),
1765
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
1766
+ showTooltip: true
1767
+ },
1768
+ {
1769
+ value: "center",
1770
+ label: __13("Center", "elementor"),
1771
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: CenterIcon3, size, ...iconProps3 }),
1772
+ showTooltip: true
1773
+ },
1774
+ {
1775
+ value: "end",
1776
+ label: __13("End", "elementor"),
1777
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
1778
+ showTooltip: true
1779
+ },
1780
+ {
1781
+ value: "stretch",
1782
+ label: __13("Stretch", "elementor"),
1783
+ renderContent: ({ size }) => /* @__PURE__ */ React33.createElement(RotatedIcon, { icon: JustifyIcon2, size, ...iconProps3 }),
1784
+ showTooltip: true
1785
+ }
1786
+ ];
1787
+ var AlignSelfChild = () => {
1788
+ const { isSiteRtl } = useDirection();
1789
+ return /* @__PURE__ */ React33.createElement(DirectionProvider3, { rtl: isSiteRtl }, /* @__PURE__ */ React33.createElement(ThemeProvider3, null, /* @__PURE__ */ React33.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React33.createElement(Grid4, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React33.createElement(Grid4, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(ControlLabel7, null, __13("Align self", "elementor"))), /* @__PURE__ */ React33.createElement(Grid4, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React33.createElement(ToggleControl3, { options: options3 }))))));
1790
+ };
1791
+
1792
+ // src/components/style-sections/layout-section/display-field.tsx
1793
+ import * as React34 from "react";
1794
+ import { ControlLabel as ControlLabel8, ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
1795
+ import { Stack as Stack8 } from "@elementor/ui";
1796
+ import { __ as __14 } from "@wordpress/i18n";
1724
1797
  var DisplayField = () => {
1725
- const options12 = [
1798
+ const options13 = [
1726
1799
  {
1727
1800
  value: "block",
1728
- renderContent: () => __13("Block", "elementor"),
1729
- label: __13("Block", "elementor"),
1801
+ renderContent: () => __14("Block", "elementor"),
1802
+ label: __14("Block", "elementor"),
1730
1803
  showTooltip: true
1731
1804
  },
1732
1805
  {
1733
1806
  value: "flex",
1734
- renderContent: () => __13("Flex", "elementor"),
1735
- label: __13("Flex", "elementor"),
1807
+ renderContent: () => __14("Flex", "elementor"),
1808
+ label: __14("Flex", "elementor"),
1736
1809
  showTooltip: true
1737
1810
  },
1738
1811
  {
1739
1812
  value: "inline-block",
1740
- renderContent: () => __13("In-blk", "elementor"),
1741
- label: __13("Inline-block", "elementor"),
1813
+ renderContent: () => __14("In-blk", "elementor"),
1814
+ label: __14("Inline-block", "elementor"),
1742
1815
  showTooltip: true
1743
1816
  },
1744
1817
  {
1745
1818
  value: "inline-flex",
1746
- renderContent: () => __13("In-flx", "elementor"),
1747
- label: __13("Inline-flex", "elementor"),
1819
+ renderContent: () => __14("In-flx", "elementor"),
1820
+ label: __14("Inline-flex", "elementor"),
1748
1821
  showTooltip: true
1749
1822
  }
1750
1823
  ];
1751
- return /* @__PURE__ */ React33.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React33.createElement(Stack7, { gap: 0.75 }, /* @__PURE__ */ React33.createElement(ControlLabel7, null, __13("Display", "elementor")), /* @__PURE__ */ React33.createElement(ToggleControl3, { options: options12, fullWidth: true })));
1824
+ return /* @__PURE__ */ React34.createElement(StylesField, { bind: "display" }, /* @__PURE__ */ React34.createElement(Stack8, { gap: 0.75 }, /* @__PURE__ */ React34.createElement(ControlLabel8, null, __14("Display", "elementor")), /* @__PURE__ */ React34.createElement(ToggleControl4, { options: options13, fullWidth: true })));
1752
1825
  };
1753
1826
 
1754
1827
  // src/components/style-sections/layout-section/flex-direction-field.tsx
1755
- import * as React34 from "react";
1756
- import { ControlLabel as ControlLabel8, ToggleControl as ToggleControl4 } from "@elementor/editor-controls";
1828
+ import * as React35 from "react";
1829
+ import { ControlLabel as ControlLabel9, ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
1757
1830
  import { ArrowDownSmallIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpSmallIcon } from "@elementor/icons";
1758
- import { DirectionProvider as DirectionProvider3, Grid as Grid5, ThemeProvider as ThemeProvider3, withDirection as withDirection5 } from "@elementor/ui";
1759
- import { __ as __14 } from "@wordpress/i18n";
1760
- var options3 = [
1831
+ import { DirectionProvider as DirectionProvider4, Grid as Grid5, ThemeProvider as ThemeProvider4, withDirection as withDirection6 } from "@elementor/ui";
1832
+ import { __ as __15 } from "@wordpress/i18n";
1833
+ var options4 = [
1761
1834
  {
1762
1835
  value: "row",
1763
- label: __14("Row", "elementor"),
1836
+ label: __15("Row", "elementor"),
1764
1837
  renderContent: ({ size }) => {
1765
- const StartIcon5 = withDirection5(ArrowRightIcon);
1766
- return /* @__PURE__ */ React34.createElement(StartIcon5, { fontSize: size });
1838
+ const StartIcon6 = withDirection6(ArrowRightIcon);
1839
+ return /* @__PURE__ */ React35.createElement(StartIcon6, { fontSize: size });
1767
1840
  },
1768
1841
  showTooltip: true
1769
1842
  },
1770
1843
  {
1771
1844
  value: "column",
1772
- label: __14("Column", "elementor"),
1773
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(ArrowDownSmallIcon, { fontSize: size }),
1845
+ label: __15("Column", "elementor"),
1846
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(ArrowDownSmallIcon, { fontSize: size }),
1774
1847
  showTooltip: true
1775
1848
  },
1776
1849
  {
1777
1850
  value: "row-reverse",
1778
- label: __14("Reversed row", "elementor"),
1851
+ label: __15("Reversed row", "elementor"),
1779
1852
  renderContent: ({ size }) => {
1780
- const EndIcon5 = withDirection5(ArrowLeftIcon);
1781
- return /* @__PURE__ */ React34.createElement(EndIcon5, { fontSize: size });
1853
+ const EndIcon6 = withDirection6(ArrowLeftIcon);
1854
+ return /* @__PURE__ */ React35.createElement(EndIcon6, { fontSize: size });
1782
1855
  },
1783
1856
  showTooltip: true
1784
1857
  },
1785
1858
  {
1786
1859
  value: "column-reverse",
1787
- label: __14("Reversed column", "elementor"),
1788
- renderContent: ({ size }) => /* @__PURE__ */ React34.createElement(ArrowUpSmallIcon, { fontSize: size }),
1860
+ label: __15("Reversed column", "elementor"),
1861
+ renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(ArrowUpSmallIcon, { fontSize: size }),
1789
1862
  showTooltip: true
1790
1863
  }
1791
1864
  ];
1792
1865
  var FlexDirectionField = () => {
1793
1866
  const { isSiteRtl } = useDirection();
1794
- return /* @__PURE__ */ React34.createElement(DirectionProvider3, { rtl: isSiteRtl }, /* @__PURE__ */ React34.createElement(ThemeProvider3, null, /* @__PURE__ */ React34.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React34.createElement(Grid5, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(ControlLabel8, null, __14("Direction", "elementor"))), /* @__PURE__ */ React34.createElement(Grid5, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React34.createElement(ToggleControl4, { options: options3 }))))));
1867
+ return /* @__PURE__ */ React35.createElement(DirectionProvider4, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(ThemeProvider4, null, /* @__PURE__ */ React35.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React35.createElement(Grid5, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(Grid5, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(ControlLabel9, null, __15("Direction", "elementor"))), /* @__PURE__ */ React35.createElement(Grid5, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(ToggleControl5, { options: options4 }))))));
1795
1868
  };
1796
1869
 
1797
1870
  // src/components/style-sections/layout-section/flex-order-field.tsx
1798
- import * as React35 from "react";
1871
+ import * as React36 from "react";
1799
1872
  import { useState as useState4 } from "react";
1800
1873
  import {
1801
- ControlLabel as ControlLabel9,
1874
+ ControlLabel as ControlLabel10,
1802
1875
  ControlToggleButtonGroup,
1803
1876
  NumberControl
1804
1877
  } from "@elementor/editor-controls";
1805
1878
  import { ArrowDownSmallIcon as ArrowDownSmallIcon2, ArrowUpSmallIcon as ArrowUpSmallIcon2, PencilIcon } from "@elementor/icons";
1806
- import { DirectionProvider as DirectionProvider4, Grid as Grid6, ThemeProvider as ThemeProvider4 } from "@elementor/ui";
1807
- import { __ as __15 } from "@wordpress/i18n";
1879
+ import { DirectionProvider as DirectionProvider5, Grid as Grid6, ThemeProvider as ThemeProvider5 } from "@elementor/ui";
1880
+ import { __ as __16 } from "@wordpress/i18n";
1808
1881
  var FIRST_DEFAULT_VALUE = -99999;
1809
1882
  var LAST_DEFAULT_VALUE = 99999;
1810
1883
  var FIRST = "first";
@@ -1817,20 +1890,20 @@ var orderValueMap = {
1817
1890
  var items = [
1818
1891
  {
1819
1892
  value: FIRST,
1820
- label: __15("First", "elementor"),
1821
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(ArrowUpSmallIcon2, { fontSize: size }),
1893
+ label: __16("First", "elementor"),
1894
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(ArrowUpSmallIcon2, { fontSize: size }),
1822
1895
  showTooltip: true
1823
1896
  },
1824
1897
  {
1825
1898
  value: LAST,
1826
- label: __15("Last", "elementor"),
1827
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(ArrowDownSmallIcon2, { fontSize: size }),
1899
+ label: __16("Last", "elementor"),
1900
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(ArrowDownSmallIcon2, { fontSize: size }),
1828
1901
  showTooltip: true
1829
1902
  },
1830
1903
  {
1831
1904
  value: CUSTOM,
1832
- label: __15("Custom", "elementor"),
1833
- renderContent: ({ size }) => /* @__PURE__ */ React35.createElement(PencilIcon, { fontSize: size }),
1905
+ label: __16("Custom", "elementor"),
1906
+ renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(PencilIcon, { fontSize: size }),
1834
1907
  showTooltip: true
1835
1908
  }
1836
1909
  ];
@@ -1845,7 +1918,7 @@ var FlexOrderField = () => {
1845
1918
  }
1846
1919
  setOrder({ $$type: "number", value: orderValueMap[group] });
1847
1920
  };
1848
- return /* @__PURE__ */ React35.createElement(DirectionProvider4, { rtl: isSiteRtl }, /* @__PURE__ */ React35.createElement(ThemeProvider4, null, /* @__PURE__ */ React35.createElement(SectionContent, null, /* @__PURE__ */ React35.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(ControlLabel9, null, __15("Order", "elementor"))), /* @__PURE__ */ React35.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1921
+ return /* @__PURE__ */ React36.createElement(DirectionProvider5, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(ThemeProvider5, null, /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Order", "elementor"))), /* @__PURE__ */ React36.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1849
1922
  ControlToggleButtonGroup,
1850
1923
  {
1851
1924
  items,
@@ -1853,7 +1926,7 @@ var FlexOrderField = () => {
1853
1926
  onChange: handleToggleButtonChange,
1854
1927
  exclusive: true
1855
1928
  }
1856
- ))), CUSTOM === groupControlValue && /* @__PURE__ */ React35.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React35.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React35.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React35.createElement(ControlLabel9, null, __15("Custom order", "elementor"))), /* @__PURE__ */ React35.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React35.createElement(
1929
+ ))), CUSTOM === groupControlValue && /* @__PURE__ */ React36.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React36.createElement(Grid6, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid6, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Custom order", "elementor"))), /* @__PURE__ */ React36.createElement(Grid6, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
1857
1930
  NumberControl,
1858
1931
  {
1859
1932
  min: FIRST_DEFAULT_VALUE + 1,
@@ -1873,35 +1946,35 @@ var getGroupControlValue = (order) => {
1873
1946
  };
1874
1947
 
1875
1948
  // src/components/style-sections/layout-section/flex-size-field.tsx
1876
- import * as React36 from "react";
1949
+ import * as React37 from "react";
1877
1950
  import { useMemo as useMemo2, useState as useState5 } from "react";
1878
1951
  import {
1879
- ControlLabel as ControlLabel10,
1952
+ ControlLabel as ControlLabel11,
1880
1953
  ControlToggleButtonGroup as ControlToggleButtonGroup2,
1881
1954
  NumberControl as NumberControl2,
1882
1955
  SizeControl as SizeControl2
1883
1956
  } from "@elementor/editor-controls";
1884
1957
  import { ExpandIcon, PencilIcon as PencilIcon2, ShrinkIcon } from "@elementor/icons";
1885
- import { DirectionProvider as DirectionProvider5, Grid as Grid7, ThemeProvider as ThemeProvider5 } from "@elementor/ui";
1886
- import { __ as __16 } from "@wordpress/i18n";
1958
+ import { DirectionProvider as DirectionProvider6, Grid as Grid7, ThemeProvider as ThemeProvider6 } from "@elementor/ui";
1959
+ import { __ as __17 } from "@wordpress/i18n";
1887
1960
  var DEFAULT = 1;
1888
1961
  var items2 = [
1889
1962
  {
1890
1963
  value: "flex-grow",
1891
- label: __16("Grow", "elementor"),
1892
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(ExpandIcon, { fontSize: size }),
1964
+ label: __17("Grow", "elementor"),
1965
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(ExpandIcon, { fontSize: size }),
1893
1966
  showTooltip: true
1894
1967
  },
1895
1968
  {
1896
1969
  value: "flex-shrink",
1897
- label: __16("Shrink", "elementor"),
1898
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(ShrinkIcon, { fontSize: size }),
1970
+ label: __17("Shrink", "elementor"),
1971
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(ShrinkIcon, { fontSize: size }),
1899
1972
  showTooltip: true
1900
1973
  },
1901
1974
  {
1902
1975
  value: "custom",
1903
- label: __16("Custom", "elementor"),
1904
- renderContent: ({ size }) => /* @__PURE__ */ React36.createElement(PencilIcon2, { fontSize: size }),
1976
+ label: __17("Custom", "elementor"),
1977
+ renderContent: ({ size }) => /* @__PURE__ */ React37.createElement(PencilIcon2, { fontSize: size }),
1905
1978
  showTooltip: true
1906
1979
  }
1907
1980
  ];
@@ -1925,7 +1998,7 @@ var FlexSizeField = () => {
1925
1998
  setGrowField(null);
1926
1999
  setShrinkField({ $$type: "number", value: DEFAULT });
1927
2000
  };
1928
- return /* @__PURE__ */ React36.createElement(DirectionProvider5, { rtl: isSiteRtl }, /* @__PURE__ */ React36.createElement(ThemeProvider5, null, /* @__PURE__ */ React36.createElement(SectionContent, null, /* @__PURE__ */ React36.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Size", "elementor"))), /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(
2001
+ return /* @__PURE__ */ React37.createElement(DirectionProvider6, { rtl: isSiteRtl }, /* @__PURE__ */ React37.createElement(ThemeProvider6, null, /* @__PURE__ */ React37.createElement(SectionContent, null, /* @__PURE__ */ React37.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(ControlLabel11, null, __17("Size", "elementor"))), /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(
1929
2002
  ControlToggleButtonGroup2,
1930
2003
  {
1931
2004
  value: activeGroup,
@@ -1933,9 +2006,9 @@ var FlexSizeField = () => {
1933
2006
  items: items2,
1934
2007
  exclusive: true
1935
2008
  }
1936
- ))), "custom" === activeGroup && /* @__PURE__ */ React36.createElement(FlexCustomField, null))));
2009
+ ))), "custom" === activeGroup && /* @__PURE__ */ React37.createElement(FlexCustomField, null))));
1937
2010
  };
1938
- var FlexCustomField = () => /* @__PURE__ */ React36.createElement(React36.Fragment, null, /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React36.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Grow", "elementor"))), /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React36.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Shrink", "elementor"))), /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React36.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React36.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React36.createElement(ControlLabel10, null, __16("Basis", "elementor"))), /* @__PURE__ */ React36.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React36.createElement(SizeControl2, { extendedValues: ["auto"] })))));
2011
+ var FlexCustomField = () => /* @__PURE__ */ React37.createElement(React37.Fragment, null, /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React37.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(ControlLabel11, null, __17("Grow", "elementor"))), /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React37.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(ControlLabel11, null, __17("Shrink", "elementor"))), /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(NumberControl2, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React37.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React37.createElement(Grid7, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6 }, /* @__PURE__ */ React37.createElement(ControlLabel11, null, __17("Basis", "elementor"))), /* @__PURE__ */ React37.createElement(Grid7, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React37.createElement(SizeControl2, { extendedValues: ["auto"] })))));
1939
2012
  var getActiveGroup = ({
1940
2013
  grow,
1941
2014
  shrink,
@@ -1957,105 +2030,105 @@ var getActiveGroup = ({
1957
2030
  };
1958
2031
 
1959
2032
  // src/components/style-sections/layout-section/gap-control-field.tsx
1960
- import * as React37 from "react";
2033
+ import * as React38 from "react";
1961
2034
  import { GapControl } from "@elementor/editor-controls";
1962
- import { Stack as Stack8 } from "@elementor/ui";
1963
- import { __ as __17 } from "@wordpress/i18n";
2035
+ import { Stack as Stack9 } from "@elementor/ui";
2036
+ import { __ as __18 } from "@wordpress/i18n";
1964
2037
  var GapControlField = () => {
1965
- return /* @__PURE__ */ React37.createElement(Stack8, { gap: 1 }, /* @__PURE__ */ React37.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React37.createElement(GapControl, { label: __17("Gaps", "elementor") })));
2038
+ return /* @__PURE__ */ React38.createElement(Stack9, { gap: 1 }, /* @__PURE__ */ React38.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React38.createElement(GapControl, { label: __18("Gaps", "elementor") })));
1966
2039
  };
1967
2040
 
1968
2041
  // src/components/style-sections/layout-section/justify-content-field.tsx
1969
- import * as React38 from "react";
1970
- import { ControlLabel as ControlLabel11, ToggleControl as ToggleControl5 } from "@elementor/editor-controls";
2042
+ import * as React39 from "react";
2043
+ import { ControlLabel as ControlLabel12, ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
1971
2044
  import {
1972
- JustifyBottomIcon,
1973
- JustifyCenterIcon as CenterIcon3,
1974
- JustifyDistributeVerticalIcon as EvenlyIcon,
1975
- JustifySpaceAroundVerticalIcon as AroundIcon,
1976
- JustifySpaceBetweenVerticalIcon as BetweenIcon,
1977
- JustifyTopIcon
2045
+ JustifyBottomIcon as JustifyBottomIcon2,
2046
+ JustifyCenterIcon as CenterIcon4,
2047
+ JustifyDistributeVerticalIcon as EvenlyIcon2,
2048
+ JustifySpaceAroundVerticalIcon as AroundIcon2,
2049
+ JustifySpaceBetweenVerticalIcon as BetweenIcon2,
2050
+ JustifyTopIcon as JustifyTopIcon2
1978
2051
  } from "@elementor/icons";
1979
- import { DirectionProvider as DirectionProvider6, Stack as Stack9, ThemeProvider as ThemeProvider6, withDirection as withDirection6 } from "@elementor/ui";
1980
- import { __ as __18 } from "@wordpress/i18n";
1981
- var StartIcon3 = withDirection6(JustifyTopIcon);
1982
- var EndIcon3 = withDirection6(JustifyBottomIcon);
1983
- var iconProps3 = {
2052
+ import { DirectionProvider as DirectionProvider7, Stack as Stack10, ThemeProvider as ThemeProvider7, withDirection as withDirection7 } from "@elementor/ui";
2053
+ import { __ as __19 } from "@wordpress/i18n";
2054
+ var StartIcon4 = withDirection7(JustifyTopIcon2);
2055
+ var EndIcon4 = withDirection7(JustifyBottomIcon2);
2056
+ var iconProps4 = {
1984
2057
  isClockwise: true,
1985
2058
  offset: -90
1986
2059
  };
1987
- var options4 = [
2060
+ var options5 = [
1988
2061
  {
1989
2062
  value: "start",
1990
- label: __18("Start", "elementor"),
1991
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: StartIcon3, size, ...iconProps3 }),
2063
+ label: __19("Start", "elementor"),
2064
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
1992
2065
  showTooltip: true
1993
2066
  },
1994
2067
  {
1995
2068
  value: "center",
1996
- label: __18("Center", "elementor"),
1997
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: CenterIcon3, size, ...iconProps3 }),
2069
+ label: __19("Center", "elementor"),
2070
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: CenterIcon4, size, ...iconProps4 }),
1998
2071
  showTooltip: true
1999
2072
  },
2000
2073
  {
2001
2074
  value: "end",
2002
- label: __18("End", "elementor"),
2003
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: EndIcon3, size, ...iconProps3 }),
2075
+ label: __19("End", "elementor"),
2076
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
2004
2077
  showTooltip: true
2005
2078
  },
2006
2079
  {
2007
2080
  value: "space-between",
2008
- label: __18("Space between", "elementor"),
2009
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: BetweenIcon, size, ...iconProps3 }),
2081
+ label: __19("Space between", "elementor"),
2082
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: BetweenIcon2, size, ...iconProps4 }),
2010
2083
  showTooltip: true
2011
2084
  },
2012
2085
  {
2013
2086
  value: "space-around",
2014
- label: __18("Space around", "elementor"),
2015
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: AroundIcon, size, ...iconProps3 }),
2087
+ label: __19("Space around", "elementor"),
2088
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: AroundIcon2, size, ...iconProps4 }),
2016
2089
  showTooltip: true
2017
2090
  },
2018
2091
  {
2019
2092
  value: "space-evenly",
2020
- label: __18("Space evenly", "elementor"),
2021
- renderContent: ({ size }) => /* @__PURE__ */ React38.createElement(RotatedIcon, { icon: EvenlyIcon, size, ...iconProps3 }),
2093
+ label: __19("Space evenly", "elementor"),
2094
+ renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(RotatedIcon, { icon: EvenlyIcon2, size, ...iconProps4 }),
2022
2095
  showTooltip: true
2023
2096
  }
2024
2097
  ];
2025
2098
  var JustifyContentField = () => {
2026
2099
  const { isSiteRtl } = useDirection();
2027
- return /* @__PURE__ */ React38.createElement(DirectionProvider6, { rtl: isSiteRtl }, /* @__PURE__ */ React38.createElement(ThemeProvider6, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React38.createElement(Stack9, { gap: 0.75 }, /* @__PURE__ */ React38.createElement(ControlLabel11, null, __18("Justify content", "elementor")), /* @__PURE__ */ React38.createElement(ToggleControl5, { options: options4, fullWidth: true })))));
2100
+ return /* @__PURE__ */ React39.createElement(DirectionProvider7, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(ThemeProvider7, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React39.createElement(Stack10, { gap: 0.75 }, /* @__PURE__ */ React39.createElement(ControlLabel12, null, __19("Justify content", "elementor")), /* @__PURE__ */ React39.createElement(ToggleControl6, { options: options5, fullWidth: true })))));
2028
2101
  };
2029
2102
 
2030
2103
  // src/components/style-sections/layout-section/wrap-field.tsx
2031
- import * as React39 from "react";
2032
- import { ControlLabel as ControlLabel12, ToggleControl as ToggleControl6 } from "@elementor/editor-controls";
2104
+ import * as React40 from "react";
2105
+ import { ControlLabel as ControlLabel13, ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
2033
2106
  import { ArrowBackIcon, ArrowForwardIcon, ArrowRightIcon as ArrowRightIcon2 } from "@elementor/icons";
2034
- import { DirectionProvider as DirectionProvider7, Grid as Grid8, ThemeProvider as ThemeProvider7 } from "@elementor/ui";
2035
- import { __ as __19 } from "@wordpress/i18n";
2036
- var options5 = [
2107
+ import { DirectionProvider as DirectionProvider8, Grid as Grid8, ThemeProvider as ThemeProvider8 } from "@elementor/ui";
2108
+ import { __ as __20 } from "@wordpress/i18n";
2109
+ var options6 = [
2037
2110
  {
2038
2111
  value: "nowrap",
2039
- label: __19("No wrap", "elementor"),
2040
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ArrowRightIcon2, { fontSize: size }),
2112
+ label: __20("No wrap", "elementor"),
2113
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(ArrowRightIcon2, { fontSize: size }),
2041
2114
  showTooltip: true
2042
2115
  },
2043
2116
  {
2044
2117
  value: "wrap",
2045
- label: __19("Wrap", "elementor"),
2046
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ArrowBackIcon, { fontSize: size }),
2118
+ label: __20("Wrap", "elementor"),
2119
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(ArrowBackIcon, { fontSize: size }),
2047
2120
  showTooltip: true
2048
2121
  },
2049
2122
  {
2050
2123
  value: "wrap-reverse",
2051
- label: __19("Reversed wrap", "elementor"),
2052
- renderContent: ({ size }) => /* @__PURE__ */ React39.createElement(ArrowForwardIcon, { fontSize: size }),
2124
+ label: __20("Reversed wrap", "elementor"),
2125
+ renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(ArrowForwardIcon, { fontSize: size }),
2053
2126
  showTooltip: true
2054
2127
  }
2055
2128
  ];
2056
2129
  var WrapField = () => {
2057
2130
  const { isSiteRtl } = useDirection();
2058
- return /* @__PURE__ */ React39.createElement(DirectionProvider7, { rtl: isSiteRtl }, /* @__PURE__ */ React39.createElement(ThemeProvider7, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React39.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React39.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React39.createElement(ControlLabel12, null, __19("Wrap", "elementor"))), /* @__PURE__ */ React39.createElement(Grid8, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React39.createElement(ToggleControl6, { options: options5 }))))));
2131
+ return /* @__PURE__ */ React40.createElement(DirectionProvider8, { rtl: isSiteRtl }, /* @__PURE__ */ React40.createElement(ThemeProvider8, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React40.createElement(Grid8, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React40.createElement(Grid8, { item: true, xs: 6 }, /* @__PURE__ */ React40.createElement(ControlLabel13, null, __20("Wrap", "elementor"))), /* @__PURE__ */ React40.createElement(Grid8, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React40.createElement(ToggleControl7, { options: options6 }))))));
2059
2132
  };
2060
2133
 
2061
2134
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -2064,62 +2137,65 @@ var LayoutSection = () => {
2064
2137
  const { element } = useElement();
2065
2138
  const parent = useParentElement(element.id);
2066
2139
  const parentStyle = useComputedStyle(parent?.id || null);
2067
- 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));
2140
+ 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));
2141
+ };
2142
+ var FlexFields = () => {
2143
+ const [flexWrap] = useStylesField("flex-wrap");
2144
+ 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));
2068
2145
  };
2069
- 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));
2070
- var FlexChildFields = () => /* @__PURE__ */ React40.createElement(React40.Fragment, null, /* @__PURE__ */ React40.createElement(PanelDivider, null), /* @__PURE__ */ React40.createElement(ControlLabel13, null, __20("Flex child", "elementor")), /* @__PURE__ */ React40.createElement(AlignSelfChild, null), /* @__PURE__ */ React40.createElement(FlexOrderField, null), /* @__PURE__ */ React40.createElement(FlexSizeField, null));
2146
+ var FlexChildFields = () => /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(PanelDivider, null), /* @__PURE__ */ React41.createElement(ControlLabel14, null, __21("Flex child", "elementor")), /* @__PURE__ */ React41.createElement(AlignSelfChild, null), /* @__PURE__ */ React41.createElement(FlexOrderField, null), /* @__PURE__ */ React41.createElement(FlexSizeField, null));
2071
2147
 
2072
2148
  // src/components/style-sections/position-section/position-section.tsx
2073
- import * as React44 from "react";
2149
+ import * as React45 from "react";
2074
2150
  import { useSessionStorage } from "@elementor/session";
2075
2151
 
2076
2152
  // src/components/style-sections/position-section/dimensions-field.tsx
2077
- import * as React41 from "react";
2078
- import { ControlLabel as ControlLabel14, SizeControl as SizeControl3 } from "@elementor/editor-controls";
2153
+ import * as React42 from "react";
2154
+ import { ControlLabel as ControlLabel15, SizeControl as SizeControl3 } from "@elementor/editor-controls";
2079
2155
  import { SideBottomIcon as SideBottomIcon2, SideLeftIcon as SideLeftIcon2, SideRightIcon as SideRightIcon2, SideTopIcon as SideTopIcon2 } from "@elementor/icons";
2080
- import { Grid as Grid9, Stack as Stack10, withDirection as withDirection7 } from "@elementor/ui";
2081
- import { __ as __21 } from "@wordpress/i18n";
2082
- var InlineStartIcon2 = withDirection7(SideLeftIcon2);
2083
- var InlineEndIcon2 = withDirection7(SideRightIcon2);
2156
+ import { Grid as Grid9, Stack as Stack11, withDirection as withDirection8 } from "@elementor/ui";
2157
+ import { __ as __22 } from "@wordpress/i18n";
2158
+ var InlineStartIcon2 = withDirection8(SideLeftIcon2);
2159
+ var InlineEndIcon2 = withDirection8(SideRightIcon2);
2084
2160
  var sideIcons = {
2085
- "inset-block-start": /* @__PURE__ */ React41.createElement(SideTopIcon2, { fontSize: "tiny" }),
2086
- "inset-block-end": /* @__PURE__ */ React41.createElement(SideBottomIcon2, { fontSize: "tiny" }),
2087
- "inset-inline-start": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2088
- "inset-inline-end": /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2161
+ "inset-block-start": /* @__PURE__ */ React42.createElement(SideTopIcon2, { fontSize: "tiny" }),
2162
+ "inset-block-end": /* @__PURE__ */ React42.createElement(SideBottomIcon2, { fontSize: "tiny" }),
2163
+ "inset-inline-start": /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
2164
+ "inset-inline-end": /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
2089
2165
  };
2090
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __21("Right", "elementor") : __21("Left", "elementor");
2091
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __21("Left", "elementor") : __21("Right", "elementor");
2166
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? __22("Right", "elementor") : __22("Left", "elementor");
2167
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? __22("Left", "elementor") : __22("Right", "elementor");
2092
2168
  var DimensionsField = () => {
2093
2169
  const { isSiteRtl } = useDirection();
2094
- return /* @__PURE__ */ React41.createElement(React41.Fragment, null, /* @__PURE__ */ React41.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-start", label: __21("Top", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React41.createElement(Stack10, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-block-end", label: __21("Bottom", "elementor") }), /* @__PURE__ */ React41.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2170
+ return /* @__PURE__ */ React42.createElement(React42.Fragment, null, /* @__PURE__ */ React42.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-block-start", label: __22("Top", "elementor") }), /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React42.createElement(Stack11, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-block-end", label: __22("Bottom", "elementor") }), /* @__PURE__ */ React42.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
2095
2171
  };
2096
2172
  var DimensionField = ({ side, label }) => {
2097
- return /* @__PURE__ */ React41.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React41.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(ControlLabel14, null, label)), /* @__PURE__ */ React41.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React41.createElement(StylesField, { bind: side }, /* @__PURE__ */ React41.createElement(SizeControl3, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2173
+ return /* @__PURE__ */ React42.createElement(Grid9, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React42.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React42.createElement(ControlLabel15, null, label)), /* @__PURE__ */ React42.createElement(Grid9, { item: true, xs: 12 }, /* @__PURE__ */ React42.createElement(StylesField, { bind: side }, /* @__PURE__ */ React42.createElement(SizeControl3, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
2098
2174
  };
2099
2175
 
2100
2176
  // src/components/style-sections/position-section/position-field.tsx
2101
- import * as React42 from "react";
2102
- import { ControlLabel as ControlLabel15, SelectControl as SelectControl3 } from "@elementor/editor-controls";
2177
+ import * as React43 from "react";
2178
+ import { ControlLabel as ControlLabel16, SelectControl as SelectControl3 } from "@elementor/editor-controls";
2103
2179
  import { Grid as Grid10 } from "@elementor/ui";
2104
- import { __ as __22 } from "@wordpress/i18n";
2180
+ import { __ as __23 } from "@wordpress/i18n";
2105
2181
  var positionOptions = [
2106
- { label: __22("Static", "elementor"), value: "static" },
2107
- { label: __22("Relative", "elementor"), value: "relative" },
2108
- { label: __22("Absolute", "elementor"), value: "absolute" },
2109
- { label: __22("Fixed", "elementor"), value: "fixed" },
2110
- { label: __22("Sticky", "elementor"), value: "sticky" }
2182
+ { label: __23("Static", "elementor"), value: "static" },
2183
+ { label: __23("Relative", "elementor"), value: "relative" },
2184
+ { label: __23("Absolute", "elementor"), value: "absolute" },
2185
+ { label: __23("Fixed", "elementor"), value: "fixed" },
2186
+ { label: __23("Sticky", "elementor"), value: "sticky" }
2111
2187
  ];
2112
2188
  var PositionField = ({ onChange }) => {
2113
- return /* @__PURE__ */ React42.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React42.createElement(Grid10, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlLabel15, null, __22("Position", "elementor"))), /* @__PURE__ */ React42.createElement(Grid10, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React42.createElement(SelectControl3, { options: positionOptions, onChange }))));
2189
+ return /* @__PURE__ */ React43.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React43.createElement(Grid10, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(Grid10, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(ControlLabel16, null, __23("Position", "elementor"))), /* @__PURE__ */ React43.createElement(Grid10, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React43.createElement(SelectControl3, { options: positionOptions, onChange }))));
2114
2190
  };
2115
2191
 
2116
2192
  // src/components/style-sections/position-section/z-index-field.tsx
2117
- import * as React43 from "react";
2118
- import { ControlLabel as ControlLabel16, NumberControl as NumberControl3 } from "@elementor/editor-controls";
2193
+ import * as React44 from "react";
2194
+ import { ControlLabel as ControlLabel17, NumberControl as NumberControl3 } from "@elementor/editor-controls";
2119
2195
  import { Grid as Grid11 } from "@elementor/ui";
2120
- import { __ as __23 } from "@wordpress/i18n";
2196
+ import { __ as __24 } from "@wordpress/i18n";
2121
2197
  var ZIndexField = () => {
2122
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React43.createElement(Grid11, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(ControlLabel16, null, __23("Z-index", "elementor"))), /* @__PURE__ */ React43.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(NumberControl3, null))));
2198
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React44.createElement(Grid11, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(ControlLabel17, null, __24("Z-index", "elementor"))), /* @__PURE__ */ React44.createElement(Grid11, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(NumberControl3, null))));
2123
2199
  };
2124
2200
 
2125
2201
  // src/components/style-sections/position-section/position-section.tsx
@@ -2151,7 +2227,7 @@ var PositionSection = () => {
2151
2227
  }
2152
2228
  };
2153
2229
  const isNotStatic = positionValue && positionValue?.value !== "static";
2154
- 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);
2230
+ 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);
2155
2231
  };
2156
2232
  var usePersistDimensions = () => {
2157
2233
  const { id: styleDefID, meta } = useStyle();
@@ -2161,93 +2237,93 @@ var usePersistDimensions = () => {
2161
2237
  };
2162
2238
 
2163
2239
  // src/components/style-sections/size-section/size-section.tsx
2164
- import * as React46 from "react";
2165
- import { ControlLabel as ControlLabel18, SizeControl as SizeControl4 } from "@elementor/editor-controls";
2166
- import { Grid as Grid13, Stack as Stack11 } from "@elementor/ui";
2167
- import { __ as __25 } from "@wordpress/i18n";
2240
+ import * as React47 from "react";
2241
+ import { ControlLabel as ControlLabel19, SizeControl as SizeControl4 } from "@elementor/editor-controls";
2242
+ import { Grid as Grid13, Stack as Stack12 } from "@elementor/ui";
2243
+ import { __ as __26 } from "@wordpress/i18n";
2168
2244
 
2169
2245
  // src/components/style-sections/size-section/overflow-field.tsx
2170
- import * as React45 from "react";
2171
- import { ControlLabel as ControlLabel17, ToggleControl as ToggleControl7 } from "@elementor/editor-controls";
2246
+ import * as React46 from "react";
2247
+ import { ControlLabel as ControlLabel18, ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
2172
2248
  import { EyeIcon, EyeOffIcon, LetterAIcon } from "@elementor/icons";
2173
2249
  import { Grid as Grid12 } from "@elementor/ui";
2174
- import { __ as __24 } from "@wordpress/i18n";
2175
- var options6 = [
2250
+ import { __ as __25 } from "@wordpress/i18n";
2251
+ var options7 = [
2176
2252
  {
2177
2253
  value: "visible",
2178
- label: __24("Visible", "elementor"),
2179
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(EyeIcon, { fontSize: size }),
2254
+ label: __25("Visible", "elementor"),
2255
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(EyeIcon, { fontSize: size }),
2180
2256
  showTooltip: true
2181
2257
  },
2182
2258
  {
2183
2259
  value: "hidden",
2184
- label: __24("Hidden", "elementor"),
2185
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(EyeOffIcon, { fontSize: size }),
2260
+ label: __25("Hidden", "elementor"),
2261
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(EyeOffIcon, { fontSize: size }),
2186
2262
  showTooltip: true
2187
2263
  },
2188
2264
  {
2189
2265
  value: "auto",
2190
- label: __24("Auto", "elementor"),
2191
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(LetterAIcon, { fontSize: size }),
2266
+ label: __25("Auto", "elementor"),
2267
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(LetterAIcon, { fontSize: size }),
2192
2268
  showTooltip: true
2193
2269
  }
2194
2270
  ];
2195
2271
  var OverflowField = () => {
2196
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React45.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel17, null, __24("Overflow", "elementor"))), /* @__PURE__ */ React45.createElement(Grid12, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React45.createElement(ToggleControl7, { options: options6 }))));
2272
+ return /* @__PURE__ */ React46.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React46.createElement(Grid12, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid12, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel18, null, __25("Overflow", "elementor"))), /* @__PURE__ */ React46.createElement(Grid12, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React46.createElement(ToggleControl8, { options: options7 }))));
2197
2273
  };
2198
2274
 
2199
2275
  // src/components/style-sections/size-section/size-section.tsx
2200
2276
  var SizeSection = () => {
2201
- return /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "width", label: __25("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "height", label: __25("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React46.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2277
+ return /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "width", label: __26("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "height", label: __26("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React47.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(
2202
2278
  SizeField,
2203
2279
  {
2204
2280
  bind: "min-width",
2205
- label: __25("Min width", "elementor"),
2281
+ label: __26("Min width", "elementor"),
2206
2282
  extendedValues: ["auto"]
2207
2283
  }
2208
- )), /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(
2284
+ )), /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(
2209
2285
  SizeField,
2210
2286
  {
2211
2287
  bind: "min-height",
2212
- label: __25("Min height", "elementor"),
2288
+ label: __26("Min height", "elementor"),
2213
2289
  extendedValues: ["auto"]
2214
2290
  }
2215
- ))), /* @__PURE__ */ React46.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-width", label: __25("Max width", "elementor") })), /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(SizeField, { bind: "max-height", label: __25("Max height", "elementor") }))), /* @__PURE__ */ React46.createElement(PanelDivider, null), /* @__PURE__ */ React46.createElement(Stack11, null, /* @__PURE__ */ React46.createElement(OverflowField, null)));
2291
+ ))), /* @__PURE__ */ React47.createElement(Grid13, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "max-width", label: __26("Max width", "elementor") })), /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(SizeField, { bind: "max-height", label: __26("Max height", "elementor") }))), /* @__PURE__ */ React47.createElement(PanelDivider, null), /* @__PURE__ */ React47.createElement(Stack12, null, /* @__PURE__ */ React47.createElement(OverflowField, null)));
2216
2292
  };
2217
2293
  var SizeField = ({ label, bind, extendedValues }) => {
2218
- return /* @__PURE__ */ React46.createElement(StylesField, { bind }, /* @__PURE__ */ React46.createElement(Grid13, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(ControlLabel18, null, label)), /* @__PURE__ */ React46.createElement(Grid13, { item: true, xs: 12 }, /* @__PURE__ */ React46.createElement(SizeControl4, { extendedValues }))));
2294
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind }, /* @__PURE__ */ React47.createElement(Grid13, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 12 }, /* @__PURE__ */ React47.createElement(ControlLabel19, null, label)), /* @__PURE__ */ React47.createElement(Grid13, { item: true, xs: 12 }, /* @__PURE__ */ React47.createElement(SizeControl4, { extendedValues }))));
2219
2295
  };
2220
2296
 
2221
2297
  // src/components/style-sections/spacing-section/spacing-section.tsx
2222
- import * as React47 from "react";
2298
+ import * as React48 from "react";
2223
2299
  import { LinkedDimensionsControl } from "@elementor/editor-controls";
2224
- import { __ as __26 } from "@wordpress/i18n";
2300
+ import { __ as __27 } from "@wordpress/i18n";
2225
2301
  var SpacingSection = () => {
2226
2302
  const { isSiteRtl } = useDirection();
2227
- return /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React47.createElement(
2303
+ return /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React48.createElement(
2228
2304
  LinkedDimensionsControl,
2229
2305
  {
2230
- label: __26("Margin", "elementor"),
2306
+ label: __27("Margin", "elementor"),
2231
2307
  isSiteRtl,
2232
2308
  extendedValues: ["auto"]
2233
2309
  }
2234
- )), /* @__PURE__ */ React47.createElement(PanelDivider, null), /* @__PURE__ */ React47.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React47.createElement(LinkedDimensionsControl, { label: __26("Padding", "elementor"), isSiteRtl })));
2310
+ )), /* @__PURE__ */ React48.createElement(PanelDivider, null), /* @__PURE__ */ React48.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React48.createElement(LinkedDimensionsControl, { label: __27("Padding", "elementor"), isSiteRtl })));
2235
2311
  };
2236
2312
 
2237
2313
  // src/components/style-sections/typography-section/typography-section.tsx
2238
- import * as React62 from "react";
2314
+ import * as React63 from "react";
2239
2315
 
2240
2316
  // src/components/collapsible-content.tsx
2241
- import * as React48 from "react";
2317
+ import * as React49 from "react";
2242
2318
  import { useState as useState6 } from "react";
2243
- import { Button, Collapse as Collapse3, Stack as Stack12 } from "@elementor/ui";
2244
- import { __ as __27 } from "@wordpress/i18n";
2319
+ import { Button, Collapse as Collapse3, Stack as Stack13 } from "@elementor/ui";
2320
+ import { __ as __28 } from "@wordpress/i18n";
2245
2321
  var CollapsibleContent = ({ children, defaultOpen = false }) => {
2246
2322
  const [open, setOpen] = useState6(defaultOpen);
2247
2323
  const handleToggle = () => {
2248
2324
  setOpen((prevOpen) => !prevOpen);
2249
2325
  };
2250
- return /* @__PURE__ */ React48.createElement(Stack12, null, /* @__PURE__ */ React48.createElement(
2326
+ return /* @__PURE__ */ React49.createElement(Stack13, null, /* @__PURE__ */ React49.createElement(
2251
2327
  Button,
2252
2328
  {
2253
2329
  fullWidth: true,
@@ -2255,22 +2331,22 @@ var CollapsibleContent = ({ children, defaultOpen = false }) => {
2255
2331
  color: "secondary",
2256
2332
  variant: "outlined",
2257
2333
  onClick: handleToggle,
2258
- endIcon: /* @__PURE__ */ React48.createElement(CollapseIcon, { open }),
2334
+ endIcon: /* @__PURE__ */ React49.createElement(CollapseIcon, { open }),
2259
2335
  sx: { my: 0.5 }
2260
2336
  },
2261
- open ? __27("Show less", "elementor") : __27("Show more", "elementor")
2262
- ), /* @__PURE__ */ React48.createElement(Collapse3, { in: open, timeout: "auto", unmountOnExit: true }, children));
2337
+ open ? __28("Show less", "elementor") : __28("Show more", "elementor")
2338
+ ), /* @__PURE__ */ React49.createElement(Collapse3, { in: open, timeout: "auto", unmountOnExit: true }, children));
2263
2339
  };
2264
2340
 
2265
2341
  // src/components/style-sections/typography-section/font-family-field.tsx
2266
- import * as React49 from "react";
2267
- import { ControlLabel as ControlLabel19, FontFamilyControl } from "@elementor/editor-controls";
2342
+ import * as React50 from "react";
2343
+ import { ControlLabel as ControlLabel20, FontFamilyControl } from "@elementor/editor-controls";
2268
2344
  import { Grid as Grid14 } from "@elementor/ui";
2269
- import { __ as __29 } from "@wordpress/i18n";
2345
+ import { __ as __30 } from "@wordpress/i18n";
2270
2346
 
2271
2347
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2272
2348
  import { useMemo as useMemo3 } from "react";
2273
- import { __ as __28 } from "@wordpress/i18n";
2349
+ import { __ as __29 } from "@wordpress/i18n";
2274
2350
 
2275
2351
  // src/sync/get-elementor-config.ts
2276
2352
  var getElementorConfig = () => {
@@ -2280,17 +2356,17 @@ var getElementorConfig = () => {
2280
2356
 
2281
2357
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
2282
2358
  var supportedCategories = {
2283
- system: __28("System", "elementor"),
2284
- custom: __28("Custom Fonts", "elementor"),
2285
- googlefonts: __28("Google Fonts", "elementor")
2359
+ system: __29("System", "elementor"),
2360
+ custom: __29("Custom Fonts", "elementor"),
2361
+ googlefonts: __29("Google Fonts", "elementor")
2286
2362
  };
2287
2363
  var getFontFamilies = () => {
2288
2364
  const { controls } = getElementorConfig();
2289
- const options12 = controls?.font?.options;
2290
- if (!options12) {
2365
+ const options13 = controls?.font?.options;
2366
+ if (!options13) {
2291
2367
  return null;
2292
2368
  }
2293
- return options12;
2369
+ return options13;
2294
2370
  };
2295
2371
  var useFontFamilies = () => {
2296
2372
  const fontFamilies = getFontFamilies();
@@ -2319,188 +2395,188 @@ var FontFamilyField = () => {
2319
2395
  if (fontFamilies.length === 0) {
2320
2396
  return null;
2321
2397
  }
2322
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React49.createElement(Grid14, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel19, null, __29("Font family", "elementor"))), /* @__PURE__ */ React49.createElement(Grid14, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React49.createElement(FontFamilyControl, { fontFamilies }))));
2398
+ return /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React50.createElement(Grid14, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(ControlLabel20, null, __30("Font family", "elementor"))), /* @__PURE__ */ React50.createElement(Grid14, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React50.createElement(FontFamilyControl, { fontFamilies }))));
2323
2399
  };
2324
2400
 
2325
2401
  // src/components/style-sections/typography-section/font-size-field.tsx
2326
- import * as React50 from "react";
2327
- import { ControlLabel as ControlLabel20, SizeControl as SizeControl5 } from "@elementor/editor-controls";
2402
+ import * as React51 from "react";
2403
+ import { ControlLabel as ControlLabel21, SizeControl as SizeControl5 } from "@elementor/editor-controls";
2328
2404
  import { Grid as Grid15 } from "@elementor/ui";
2329
- import { __ as __30 } from "@wordpress/i18n";
2405
+ import { __ as __31 } from "@wordpress/i18n";
2330
2406
  var FontSizeField = () => {
2331
- return /* @__PURE__ */ React50.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React50.createElement(Grid15, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(ControlLabel20, null, __30("Font size", "elementor"))), /* @__PURE__ */ React50.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(SizeControl5, null))));
2407
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React51.createElement(Grid15, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(ControlLabel21, null, __31("Font size", "elementor"))), /* @__PURE__ */ React51.createElement(Grid15, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(SizeControl5, null))));
2332
2408
  };
2333
2409
 
2334
2410
  // src/components/style-sections/typography-section/font-style-field.tsx
2335
- import * as React51 from "react";
2336
- import { ControlLabel as ControlLabel21, ToggleControl as ToggleControl8 } from "@elementor/editor-controls";
2411
+ import * as React52 from "react";
2412
+ import { ControlLabel as ControlLabel22, ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
2337
2413
  import { ItalicIcon, MinusIcon as MinusIcon2 } from "@elementor/icons";
2338
2414
  import { Grid as Grid16 } from "@elementor/ui";
2339
- import { __ as __31 } from "@wordpress/i18n";
2340
- var options7 = [
2415
+ import { __ as __32 } from "@wordpress/i18n";
2416
+ var options8 = [
2341
2417
  {
2342
2418
  value: "normal",
2343
- label: __31("Normal", "elementor"),
2344
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(MinusIcon2, { fontSize: size }),
2419
+ label: __32("Normal", "elementor"),
2420
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(MinusIcon2, { fontSize: size }),
2345
2421
  showTooltip: true
2346
2422
  },
2347
2423
  {
2348
2424
  value: "italic",
2349
- label: __31("Italic", "elementor"),
2350
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(ItalicIcon, { fontSize: size }),
2425
+ label: __32("Italic", "elementor"),
2426
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(ItalicIcon, { fontSize: size }),
2351
2427
  showTooltip: true
2352
2428
  }
2353
2429
  ];
2354
- var FontStyleField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React51.createElement(Grid16, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React51.createElement(ControlLabel21, null, __31("Font style", "elementor"))), /* @__PURE__ */ React51.createElement(Grid16, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React51.createElement(ToggleControl8, { options: options7 }))));
2430
+ var FontStyleField = () => /* @__PURE__ */ React52.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React52.createElement(Grid16, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(Grid16, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(ControlLabel22, null, __32("Font style", "elementor"))), /* @__PURE__ */ React52.createElement(Grid16, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React52.createElement(ToggleControl9, { options: options8 }))));
2355
2431
 
2356
2432
  // src/components/style-sections/typography-section/font-weight-field.tsx
2357
- import * as React52 from "react";
2358
- import { ControlLabel as ControlLabel22, SelectControl as SelectControl4 } from "@elementor/editor-controls";
2433
+ import * as React53 from "react";
2434
+ import { ControlLabel as ControlLabel23, SelectControl as SelectControl4 } from "@elementor/editor-controls";
2359
2435
  import { Grid as Grid17 } from "@elementor/ui";
2360
- import { __ as __32 } from "@wordpress/i18n";
2436
+ import { __ as __33 } from "@wordpress/i18n";
2361
2437
  var fontWeightOptions = [
2362
- { value: "100", label: __32("100 - Thin", "elementor") },
2363
- { value: "200", label: __32("200 - Extra light", "elementor") },
2364
- { value: "300", label: __32("300 - Light", "elementor") },
2365
- { value: "400", label: __32("400 - Normal", "elementor") },
2366
- { value: "500", label: __32("500 - Medium", "elementor") },
2367
- { value: "600", label: __32("600 - Semi bold", "elementor") },
2368
- { value: "700", label: __32("700 - Bold", "elementor") },
2369
- { value: "800", label: __32("800 - Extra bold", "elementor") },
2370
- { value: "900", label: __32("900 - Black", "elementor") }
2438
+ { value: "100", label: __33("100 - Thin", "elementor") },
2439
+ { value: "200", label: __33("200 - Extra light", "elementor") },
2440
+ { value: "300", label: __33("300 - Light", "elementor") },
2441
+ { value: "400", label: __33("400 - Normal", "elementor") },
2442
+ { value: "500", label: __33("500 - Medium", "elementor") },
2443
+ { value: "600", label: __33("600 - Semi bold", "elementor") },
2444
+ { value: "700", label: __33("700 - Bold", "elementor") },
2445
+ { value: "800", label: __33("800 - Extra bold", "elementor") },
2446
+ { value: "900", label: __33("900 - Black", "elementor") }
2371
2447
  ];
2372
2448
  var FontWeightField = () => {
2373
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React52.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(ControlLabel22, null, __32("Font weight", "elementor"))), /* @__PURE__ */ React52.createElement(Grid17, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React52.createElement(SelectControl4, { options: fontWeightOptions }))));
2449
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React53.createElement(Grid17, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(Grid17, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(ControlLabel23, null, __33("Font weight", "elementor"))), /* @__PURE__ */ React53.createElement(Grid17, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React53.createElement(SelectControl4, { options: fontWeightOptions }))));
2374
2450
  };
2375
2451
 
2376
2452
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
2377
- import * as React53 from "react";
2378
- import { ControlLabel as ControlLabel23, SizeControl as SizeControl6 } from "@elementor/editor-controls";
2453
+ import * as React54 from "react";
2454
+ import { ControlLabel as ControlLabel24, SizeControl as SizeControl6 } from "@elementor/editor-controls";
2379
2455
  import { Grid as Grid18 } from "@elementor/ui";
2380
- import { __ as __33 } from "@wordpress/i18n";
2456
+ import { __ as __34 } from "@wordpress/i18n";
2381
2457
  var LetterSpacingField = () => {
2382
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React53.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(ControlLabel23, null, __33("Letter spacing", "elementor"))), /* @__PURE__ */ React53.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(SizeControl6, null))));
2458
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React54.createElement(Grid18, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel24, null, __34("Letter spacing", "elementor"))), /* @__PURE__ */ React54.createElement(Grid18, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(SizeControl6, null))));
2383
2459
  };
2384
2460
 
2385
2461
  // src/components/style-sections/typography-section/line-height-field.tsx
2386
- import * as React54 from "react";
2387
- import { ControlLabel as ControlLabel24, SizeControl as SizeControl7 } from "@elementor/editor-controls";
2462
+ import * as React55 from "react";
2463
+ import { ControlLabel as ControlLabel25, SizeControl as SizeControl7 } from "@elementor/editor-controls";
2388
2464
  import { Grid as Grid19 } from "@elementor/ui";
2389
- import { __ as __34 } from "@wordpress/i18n";
2465
+ import { __ as __35 } from "@wordpress/i18n";
2390
2466
  var LineHeightField = () => {
2391
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React54.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel24, null, __34("Line height", "elementor"))), /* @__PURE__ */ React54.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(SizeControl7, null))));
2467
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React55.createElement(Grid19, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(ControlLabel25, null, __35("Line height", "elementor"))), /* @__PURE__ */ React55.createElement(Grid19, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(SizeControl7, null))));
2392
2468
  };
2393
2469
 
2394
2470
  // src/components/style-sections/typography-section/text-alignment-field.tsx
2395
- import * as React55 from "react";
2396
- import { ControlLabel as ControlLabel25, ToggleControl as ToggleControl9 } from "@elementor/editor-controls";
2471
+ import * as React56 from "react";
2472
+ import { ControlLabel as ControlLabel26, ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
2397
2473
  import { AlignCenterIcon, AlignJustifiedIcon, AlignLeftIcon, AlignRightIcon } from "@elementor/icons";
2398
- import { Grid as Grid20, withDirection as withDirection8 } from "@elementor/ui";
2399
- import { __ as __35 } from "@wordpress/i18n";
2400
- var StartIcon4 = withDirection8(AlignLeftIcon);
2401
- var EndIcon4 = withDirection8(AlignRightIcon);
2402
- var options8 = [
2474
+ import { Grid as Grid20, withDirection as withDirection9 } from "@elementor/ui";
2475
+ import { __ as __36 } from "@wordpress/i18n";
2476
+ var StartIcon5 = withDirection9(AlignLeftIcon);
2477
+ var EndIcon5 = withDirection9(AlignRightIcon);
2478
+ var options9 = [
2403
2479
  {
2404
2480
  value: "start",
2405
- label: __35("Start", "elementor"),
2406
- renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon4, size: "tiny" }),
2481
+ label: __36("Start", "elementor"),
2482
+ renderContent: () => /* @__PURE__ */ React56.createElement(RotatedIcon, { icon: StartIcon5, size: "tiny" }),
2407
2483
  showTooltip: true
2408
2484
  },
2409
2485
  {
2410
2486
  value: "center",
2411
- label: __35("Center", "elementor"),
2412
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(AlignCenterIcon, { fontSize: size }),
2487
+ label: __36("Center", "elementor"),
2488
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(AlignCenterIcon, { fontSize: size }),
2413
2489
  showTooltip: true
2414
2490
  },
2415
2491
  {
2416
2492
  value: "end",
2417
- label: __35("End", "elementor"),
2418
- renderContent: () => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon4, size: "tiny" }),
2493
+ label: __36("End", "elementor"),
2494
+ renderContent: () => /* @__PURE__ */ React56.createElement(RotatedIcon, { icon: EndIcon5, size: "tiny" }),
2419
2495
  showTooltip: true
2420
2496
  },
2421
2497
  {
2422
2498
  value: "justify",
2423
- label: __35("Justify", "elementor"),
2424
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(AlignJustifiedIcon, { fontSize: size }),
2499
+ label: __36("Justify", "elementor"),
2500
+ renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(AlignJustifiedIcon, { fontSize: size }),
2425
2501
  showTooltip: true
2426
2502
  }
2427
2503
  ];
2428
2504
  var TextAlignmentField = () => {
2429
- return /* @__PURE__ */ React55.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React55.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(ControlLabel25, null, __35("Alignment", "elementor"))), /* @__PURE__ */ React55.createElement(Grid20, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React55.createElement(ToggleControl9, { options: options8 }))));
2505
+ return /* @__PURE__ */ React56.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React56.createElement(Grid20, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(Grid20, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(ControlLabel26, null, __36("Alignment", "elementor"))), /* @__PURE__ */ React56.createElement(Grid20, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React56.createElement(ToggleControl10, { options: options9 }))));
2430
2506
  };
2431
2507
 
2432
2508
  // src/components/style-sections/typography-section/text-color-field.tsx
2433
- import * as React56 from "react";
2434
- import { ColorControl as ColorControl2, ControlLabel as ControlLabel26 } from "@elementor/editor-controls";
2509
+ import * as React57 from "react";
2510
+ import { ColorControl as ColorControl2, ControlLabel as ControlLabel27 } from "@elementor/editor-controls";
2435
2511
  import { Grid as Grid21 } from "@elementor/ui";
2436
- import { __ as __36 } from "@wordpress/i18n";
2512
+ import { __ as __37 } from "@wordpress/i18n";
2437
2513
  var TextColorField = () => {
2438
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React56.createElement(Grid21, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(ControlLabel26, null, __36("Text color", "elementor"))), /* @__PURE__ */ React56.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(ColorControl2, null))));
2514
+ return /* @__PURE__ */ React57.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React57.createElement(Grid21, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ControlLabel27, null, __37("Text color", "elementor"))), /* @__PURE__ */ React57.createElement(Grid21, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ColorControl2, null))));
2439
2515
  };
2440
2516
 
2441
2517
  // src/components/style-sections/typography-section/text-decoration-field.tsx
2442
- import * as React57 from "react";
2443
- import { ControlLabel as ControlLabel27, ToggleControl as ToggleControl10 } from "@elementor/editor-controls";
2518
+ import * as React58 from "react";
2519
+ import { ControlLabel as ControlLabel28, ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
2444
2520
  import { MinusIcon as MinusIcon3, OverlineIcon, StrikethroughIcon, UnderlineIcon } from "@elementor/icons";
2445
2521
  import { Grid as Grid22 } from "@elementor/ui";
2446
- import { __ as __37 } from "@wordpress/i18n";
2447
- var options9 = [
2522
+ import { __ as __38 } from "@wordpress/i18n";
2523
+ var options10 = [
2448
2524
  {
2449
2525
  value: "none",
2450
- label: __37("None", "elementor"),
2451
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(MinusIcon3, { fontSize: size }),
2526
+ label: __38("None", "elementor"),
2527
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(MinusIcon3, { fontSize: size }),
2452
2528
  showTooltip: true,
2453
2529
  exclusive: true
2454
2530
  },
2455
2531
  {
2456
2532
  value: "underline",
2457
- label: __37("Underline", "elementor"),
2458
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(UnderlineIcon, { fontSize: size }),
2533
+ label: __38("Underline", "elementor"),
2534
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(UnderlineIcon, { fontSize: size }),
2459
2535
  showTooltip: true
2460
2536
  },
2461
2537
  {
2462
2538
  value: "line-through",
2463
- label: __37("Line-through", "elementor"),
2464
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(StrikethroughIcon, { fontSize: size }),
2539
+ label: __38("Line-through", "elementor"),
2540
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(StrikethroughIcon, { fontSize: size }),
2465
2541
  showTooltip: true
2466
2542
  },
2467
2543
  {
2468
2544
  value: "overline",
2469
- label: __37("Overline", "elementor"),
2470
- renderContent: ({ size }) => /* @__PURE__ */ React57.createElement(OverlineIcon, { fontSize: size }),
2545
+ label: __38("Overline", "elementor"),
2546
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(OverlineIcon, { fontSize: size }),
2471
2547
  showTooltip: true
2472
2548
  }
2473
2549
  ];
2474
- var TextDecorationField = () => /* @__PURE__ */ React57.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React57.createElement(Grid22, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ControlLabel27, null, __37("Line decoration", "elementor"))), /* @__PURE__ */ React57.createElement(Grid22, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React57.createElement(ToggleControl10, { options: options9, exclusive: false }))));
2550
+ var TextDecorationField = () => /* @__PURE__ */ React58.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React58.createElement(Grid22, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid22, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(ControlLabel28, null, __38("Line decoration", "elementor"))), /* @__PURE__ */ React58.createElement(Grid22, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React58.createElement(ToggleControl11, { options: options10, exclusive: false }))));
2475
2551
 
2476
2552
  // src/components/style-sections/typography-section/text-direction-field.tsx
2477
- import * as React58 from "react";
2478
- import { ControlLabel as ControlLabel28, ToggleControl as ToggleControl11 } from "@elementor/editor-controls";
2553
+ import * as React59 from "react";
2554
+ import { ControlLabel as ControlLabel29, ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
2479
2555
  import { TextDirectionLtrIcon, TextDirectionRtlIcon } from "@elementor/icons";
2480
2556
  import { Grid as Grid23 } from "@elementor/ui";
2481
- import { __ as __38 } from "@wordpress/i18n";
2482
- var options10 = [
2557
+ import { __ as __39 } from "@wordpress/i18n";
2558
+ var options11 = [
2483
2559
  {
2484
2560
  value: "ltr",
2485
- label: __38("Left to right", "elementor"),
2486
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(TextDirectionLtrIcon, { fontSize: size }),
2561
+ label: __39("Left to right", "elementor"),
2562
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(TextDirectionLtrIcon, { fontSize: size }),
2487
2563
  showTooltip: true
2488
2564
  },
2489
2565
  {
2490
2566
  value: "rtl",
2491
- label: __38("Right to left", "elementor"),
2492
- renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(TextDirectionRtlIcon, { fontSize: size }),
2567
+ label: __39("Right to left", "elementor"),
2568
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(TextDirectionRtlIcon, { fontSize: size }),
2493
2569
  showTooltip: true
2494
2570
  }
2495
2571
  ];
2496
2572
  var TextDirectionField = () => {
2497
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React58.createElement(Grid23, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(ControlLabel28, null, __38("Direction", "elementor"))), /* @__PURE__ */ React58.createElement(Grid23, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React58.createElement(ToggleControl11, { options: options10 }))));
2573
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React59.createElement(Grid23, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(Grid23, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(ControlLabel29, null, __39("Direction", "elementor"))), /* @__PURE__ */ React59.createElement(Grid23, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React59.createElement(ToggleControl12, { options: options11 }))));
2498
2574
  };
2499
2575
 
2500
2576
  // src/components/style-sections/typography-section/text-stroke-field.tsx
2501
- import * as React59 from "react";
2577
+ import * as React60 from "react";
2502
2578
  import { StrokeControl } from "@elementor/editor-controls";
2503
- import { __ as __39 } from "@wordpress/i18n";
2579
+ import { __ as __40 } from "@wordpress/i18n";
2504
2580
  var initTextStroke = {
2505
2581
  $$type: "stroke",
2506
2582
  value: {
@@ -2526,64 +2602,64 @@ var TextStrokeField = () => {
2526
2602
  setTextStroke(null);
2527
2603
  };
2528
2604
  const hasTextStroke = Boolean(textStroke);
2529
- return /* @__PURE__ */ React59.createElement(
2605
+ return /* @__PURE__ */ React60.createElement(
2530
2606
  AddOrRemoveContent,
2531
2607
  {
2532
- label: __39("Text stroke", "elementor"),
2608
+ label: __40("Text stroke", "elementor"),
2533
2609
  isAdded: hasTextStroke,
2534
2610
  onAdd: addTextStroke,
2535
2611
  onRemove: removeTextStroke
2536
2612
  },
2537
- /* @__PURE__ */ React59.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React59.createElement(StrokeControl, null))
2613
+ /* @__PURE__ */ React60.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React60.createElement(StrokeControl, null))
2538
2614
  );
2539
2615
  };
2540
2616
 
2541
2617
  // src/components/style-sections/typography-section/transform-field.tsx
2542
- import * as React60 from "react";
2543
- import { ControlLabel as ControlLabel29, ToggleControl as ToggleControl12 } from "@elementor/editor-controls";
2618
+ import * as React61 from "react";
2619
+ import { ControlLabel as ControlLabel30, ToggleControl as ToggleControl13 } from "@elementor/editor-controls";
2544
2620
  import { LetterCaseIcon, LetterCaseLowerIcon, LetterCaseUpperIcon, MinusIcon as MinusIcon4 } from "@elementor/icons";
2545
2621
  import { Grid as Grid24 } from "@elementor/ui";
2546
- import { __ as __40 } from "@wordpress/i18n";
2547
- var options11 = [
2622
+ import { __ as __41 } from "@wordpress/i18n";
2623
+ var options12 = [
2548
2624
  {
2549
2625
  value: "none",
2550
- label: __40("None", "elementor"),
2551
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(MinusIcon4, { fontSize: size }),
2626
+ label: __41("None", "elementor"),
2627
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(MinusIcon4, { fontSize: size }),
2552
2628
  showTooltip: true
2553
2629
  },
2554
2630
  {
2555
2631
  value: "capitalize",
2556
- label: __40("Capitalize", "elementor"),
2557
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(LetterCaseIcon, { fontSize: size }),
2632
+ label: __41("Capitalize", "elementor"),
2633
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(LetterCaseIcon, { fontSize: size }),
2558
2634
  showTooltip: true
2559
2635
  },
2560
2636
  {
2561
2637
  value: "uppercase",
2562
- label: __40("Uppercase", "elementor"),
2563
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(LetterCaseUpperIcon, { fontSize: size }),
2638
+ label: __41("Uppercase", "elementor"),
2639
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(LetterCaseUpperIcon, { fontSize: size }),
2564
2640
  showTooltip: true
2565
2641
  },
2566
2642
  {
2567
2643
  value: "lowercase",
2568
- label: __40("Lowercase", "elementor"),
2569
- renderContent: ({ size }) => /* @__PURE__ */ React60.createElement(LetterCaseLowerIcon, { fontSize: size }),
2644
+ label: __41("Lowercase", "elementor"),
2645
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(LetterCaseLowerIcon, { fontSize: size }),
2570
2646
  showTooltip: true
2571
2647
  }
2572
2648
  ];
2573
- var TransformField = () => /* @__PURE__ */ React60.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React60.createElement(Grid24, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ControlLabel29, null, __40("Text transform", "elementor"))), /* @__PURE__ */ React60.createElement(Grid24, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React60.createElement(ToggleControl12, { options: options11 }))));
2649
+ var TransformField = () => /* @__PURE__ */ React61.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React61.createElement(Grid24, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(Grid24, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ControlLabel30, null, __41("Text transform", "elementor"))), /* @__PURE__ */ React61.createElement(Grid24, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React61.createElement(ToggleControl13, { options: options12 }))));
2574
2650
 
2575
2651
  // src/components/style-sections/typography-section/word-spacing-field.tsx
2576
- import * as React61 from "react";
2577
- import { ControlLabel as ControlLabel30, SizeControl as SizeControl8 } from "@elementor/editor-controls";
2652
+ import * as React62 from "react";
2653
+ import { ControlLabel as ControlLabel31, SizeControl as SizeControl8 } from "@elementor/editor-controls";
2578
2654
  import { Grid as Grid25 } from "@elementor/ui";
2579
- import { __ as __41 } from "@wordpress/i18n";
2655
+ import { __ as __42 } from "@wordpress/i18n";
2580
2656
  var WordSpacingField = () => {
2581
- return /* @__PURE__ */ React61.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React61.createElement(Grid25, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ControlLabel30, null, __41("Word spacing", "elementor"))), /* @__PURE__ */ React61.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(SizeControl8, null))));
2657
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React62.createElement(Grid25, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(ControlLabel31, null, __42("Word spacing", "elementor"))), /* @__PURE__ */ React62.createElement(Grid25, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(SizeControl8, null))));
2582
2658
  };
2583
2659
 
2584
2660
  // src/components/style-sections/typography-section/typography-section.tsx
2585
2661
  var TypographySection = () => {
2586
- 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))));
2662
+ 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))));
2587
2663
  };
2588
2664
 
2589
2665
  // src/components/style-tab.tsx
@@ -2592,7 +2668,7 @@ var StyleTab = () => {
2592
2668
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
2593
2669
  const [activeStyleState, setActiveStyleState] = useState7(null);
2594
2670
  const breakpoint = useActiveBreakpoint();
2595
- return /* @__PURE__ */ React63.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React63.createElement(
2671
+ return /* @__PURE__ */ React64.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React64.createElement(
2596
2672
  StyleProvider,
2597
2673
  {
2598
2674
  meta: { breakpoint, state: activeStyleState },
@@ -2603,7 +2679,7 @@ var StyleTab = () => {
2603
2679
  },
2604
2680
  setMetaState: setActiveStyleState
2605
2681
  },
2606
- /* @__PURE__ */ React63.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React63.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React63.createElement(CssClassSelector, null), /* @__PURE__ */ React63.createElement(Divider4, null), /* @__PURE__ */ React63.createElement(SectionsList, null, /* @__PURE__ */ React63.createElement(Section, { title: __42("Layout", "elementor") }, /* @__PURE__ */ React63.createElement(LayoutSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Spacing", "elementor") }, /* @__PURE__ */ React63.createElement(SpacingSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Size", "elementor") }, /* @__PURE__ */ React63.createElement(SizeSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Position", "elementor") }, /* @__PURE__ */ React63.createElement(PositionSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Typography", "elementor") }, /* @__PURE__ */ React63.createElement(TypographySection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Background", "elementor") }, /* @__PURE__ */ React63.createElement(BackgroundSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Border", "elementor") }, /* @__PURE__ */ React63.createElement(BorderSection, null)), /* @__PURE__ */ React63.createElement(Section, { title: __42("Effects", "elementor") }, /* @__PURE__ */ React63.createElement(EffectsSection, null)))))
2682
+ /* @__PURE__ */ React64.createElement(SessionStorageProvider2, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React64.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React64.createElement(CssClassSelector, null), /* @__PURE__ */ React64.createElement(Divider4, null), /* @__PURE__ */ React64.createElement(SectionsList, null, /* @__PURE__ */ React64.createElement(Section, { title: __43("Layout", "elementor") }, /* @__PURE__ */ React64.createElement(LayoutSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Spacing", "elementor") }, /* @__PURE__ */ React64.createElement(SpacingSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Size", "elementor") }, /* @__PURE__ */ React64.createElement(SizeSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Position", "elementor") }, /* @__PURE__ */ React64.createElement(PositionSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Typography", "elementor") }, /* @__PURE__ */ React64.createElement(TypographySection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Background", "elementor") }, /* @__PURE__ */ React64.createElement(BackgroundSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Border", "elementor") }, /* @__PURE__ */ React64.createElement(BorderSection, null)), /* @__PURE__ */ React64.createElement(Section, { title: __43("Effects", "elementor") }, /* @__PURE__ */ React64.createElement(EffectsSection, null)))))
2607
2683
  ));
2608
2684
  };
2609
2685
  function useActiveStyleDefId(currentClassesProp) {
@@ -2635,7 +2711,7 @@ var EditingPanelTabs = () => {
2635
2711
  return (
2636
2712
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
2637
2713
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
2638
- /* @__PURE__ */ React64.createElement(Fragment8, { key: element.id }, /* @__PURE__ */ React64.createElement(Stack13, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React64.createElement(Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React64.createElement(Tab, { label: __43("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React64.createElement(Tab, { label: __43("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React64.createElement(Divider5, null), /* @__PURE__ */ React64.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React64.createElement(SettingsTab, null)), /* @__PURE__ */ React64.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React64.createElement(StyleTab, null))))
2714
+ /* @__PURE__ */ React65.createElement(Fragment8, { key: element.id }, /* @__PURE__ */ React65.createElement(Stack14, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React65.createElement(Tabs, { variant: "fullWidth", indicatorColor: "secondary", textColor: "inherit", ...getTabsProps() }, /* @__PURE__ */ React65.createElement(Tab, { label: __44("General", "elementor"), ...getTabProps("settings") }), /* @__PURE__ */ React65.createElement(Tab, { label: __44("Style", "elementor"), ...getTabProps("style") })), /* @__PURE__ */ React65.createElement(Divider5, null), /* @__PURE__ */ React65.createElement(TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React65.createElement(SettingsTab, null)), /* @__PURE__ */ React65.createElement(TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React65.createElement(StyleTab, null))))
2639
2715
  );
2640
2716
  };
2641
2717
 
@@ -2648,8 +2724,8 @@ var EditingPanel = () => {
2648
2724
  if (!element || !elementType) {
2649
2725
  return null;
2650
2726
  }
2651
- const panelTitle = __44("Edit %s", "elementor").replace("%s", elementType.title);
2652
- return /* @__PURE__ */ React65.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React65.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React65.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React65.createElement(Panel, null, /* @__PURE__ */ React65.createElement(PanelHeader, null, /* @__PURE__ */ React65.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React65.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React65.createElement(PanelBody, null, /* @__PURE__ */ React65.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React65.createElement(ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React65.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React65.createElement(EditingPanelTabs, null))))))));
2727
+ const panelTitle = __45("Edit %s", "elementor").replace("%s", elementType.title);
2728
+ return /* @__PURE__ */ React66.createElement(ErrorBoundary, { fallback: /* @__PURE__ */ React66.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React66.createElement(SessionStorageProvider3, { prefix: "elementor" }, /* @__PURE__ */ React66.createElement(Panel, null, /* @__PURE__ */ React66.createElement(PanelHeader, null, /* @__PURE__ */ React66.createElement(PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React66.createElement(AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React66.createElement(PanelBody, null, /* @__PURE__ */ React66.createElement(ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React66.createElement(ControlReplacementProvider, { ...controlReplacement }, /* @__PURE__ */ React66.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React66.createElement(EditingPanelTabs, null))))))));
2653
2729
  };
2654
2730
 
2655
2731
  // src/panel.ts
@@ -2698,9 +2774,9 @@ var EditingPanelHooks = () => {
2698
2774
  };
2699
2775
 
2700
2776
  // src/dynamics/components/dynamic-selection-control.tsx
2701
- import * as React69 from "react";
2777
+ import * as React70 from "react";
2702
2778
  import { useId as useId4 } from "react";
2703
- import { ControlLabel as ControlLabel31, useBoundProp as useBoundProp5 } from "@elementor/editor-controls";
2779
+ import { ControlLabel as ControlLabel32, useBoundProp as useBoundProp5 } from "@elementor/editor-controls";
2704
2780
  import { DatabaseIcon as DatabaseIcon2, SettingsIcon, XIcon as XIcon2 } from "@elementor/icons";
2705
2781
  import {
2706
2782
  bindPopover as bindPopover2,
@@ -2711,7 +2787,7 @@ import {
2711
2787
  IconButton as IconButton3,
2712
2788
  Paper,
2713
2789
  Popover as Popover2,
2714
- Stack as Stack16,
2790
+ Stack as Stack17,
2715
2791
  Tab as Tab2,
2716
2792
  TabPanel as TabPanel2,
2717
2793
  Tabs as Tabs2,
@@ -2720,12 +2796,12 @@ import {
2720
2796
  usePopupState as usePopupState3,
2721
2797
  useTabs as useTabs2
2722
2798
  } from "@elementor/ui";
2723
- import { __ as __46 } from "@wordpress/i18n";
2799
+ import { __ as __47 } from "@wordpress/i18n";
2724
2800
 
2725
2801
  // src/components/popover-content.tsx
2726
- import * as React66 from "react";
2727
- import { Stack as Stack14 } from "@elementor/ui";
2728
- var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React66.createElement(Stack14, { alignItems, gap, p }, children);
2802
+ import * as React67 from "react";
2803
+ import { Stack as Stack15 } from "@elementor/ui";
2804
+ var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React67.createElement(Stack15, { alignItems, gap, p }, children);
2729
2805
 
2730
2806
  // src/hooks/use-persist-dynamic-value.ts
2731
2807
  import { useSessionStorage as useSessionStorage2 } from "@elementor/session";
@@ -2736,7 +2812,7 @@ var usePersistDynamicValue = (propKey) => {
2736
2812
  };
2737
2813
 
2738
2814
  // src/dynamics/dynamic-control.tsx
2739
- import * as React67 from "react";
2815
+ import * as React68 from "react";
2740
2816
  import { PropKeyProvider as PropKeyProvider3, PropProvider as PropProvider3, useBoundProp as useBoundProp3 } from "@elementor/editor-controls";
2741
2817
 
2742
2818
  // src/dynamics/hooks/use-dynamic-tag.ts
@@ -2838,11 +2914,11 @@ var DynamicControl = ({ bind, children }) => {
2838
2914
  });
2839
2915
  };
2840
2916
  const propType = createTopLevelOjectType({ schema: dynamicTag.props_schema });
2841
- return /* @__PURE__ */ React67.createElement(PropProvider3, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React67.createElement(PropKeyProvider3, { bind }, children));
2917
+ return /* @__PURE__ */ React68.createElement(PropProvider3, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React68.createElement(PropKeyProvider3, { bind }, children));
2842
2918
  };
2843
2919
 
2844
2920
  // src/dynamics/components/dynamic-selection.tsx
2845
- import * as React68 from "react";
2921
+ import * as React69 from "react";
2846
2922
  import { Fragment as Fragment9, useState as useState8 } from "react";
2847
2923
  import { useBoundProp as useBoundProp4 } from "@elementor/editor-controls";
2848
2924
  import { DatabaseIcon, SearchIcon } from "@elementor/icons";
@@ -2854,11 +2930,11 @@ import {
2854
2930
  ListSubheader as ListSubheader2,
2855
2931
  MenuItem as MenuItem2,
2856
2932
  MenuList,
2857
- Stack as Stack15,
2933
+ Stack as Stack16,
2858
2934
  TextField as TextField2,
2859
2935
  Typography as Typography4
2860
2936
  } from "@elementor/ui";
2861
- import { __ as __45 } from "@wordpress/i18n";
2937
+ import { __ as __46 } from "@wordpress/i18n";
2862
2938
  var SIZE3 = "tiny";
2863
2939
  var DynamicSelection = ({ onSelect }) => {
2864
2940
  const [searchValue, setSearchValue] = useState8("");
@@ -2867,8 +2943,8 @@ var DynamicSelection = ({ onSelect }) => {
2867
2943
  const { bind, value: dynamicValue, setValue } = useBoundProp4(dynamicPropTypeUtil);
2868
2944
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
2869
2945
  const isCurrentValueDynamic = !!dynamicValue;
2870
- const options12 = useFilteredOptions(searchValue);
2871
- const hasNoDynamicTags = !options12.length && !searchValue.trim();
2946
+ const options13 = useFilteredOptions(searchValue);
2947
+ const hasNoDynamicTags = !options13.length && !searchValue.trim();
2872
2948
  const handleSearch = (event) => {
2873
2949
  setSearchValue(event.target.value);
2874
2950
  };
@@ -2879,19 +2955,19 @@ var DynamicSelection = ({ onSelect }) => {
2879
2955
  setValue({ name: value, settings: {} });
2880
2956
  onSelect?.();
2881
2957
  };
2882
- return /* @__PURE__ */ React68.createElement(Stack15, null, hasNoDynamicTags ? /* @__PURE__ */ React68.createElement(NoDynamicTags, null) : /* @__PURE__ */ React68.createElement(Fragment9, null, /* @__PURE__ */ React68.createElement(Box4, { px: 1.5, pb: 1 }, /* @__PURE__ */ React68.createElement(
2958
+ return /* @__PURE__ */ React69.createElement(Stack16, null, hasNoDynamicTags ? /* @__PURE__ */ React69.createElement(NoDynamicTags, null) : /* @__PURE__ */ React69.createElement(Fragment9, null, /* @__PURE__ */ React69.createElement(Box4, { px: 1.5, pb: 1 }, /* @__PURE__ */ React69.createElement(
2883
2959
  TextField2,
2884
2960
  {
2885
2961
  fullWidth: true,
2886
2962
  size: SIZE3,
2887
2963
  value: searchValue,
2888
2964
  onChange: handleSearch,
2889
- placeholder: __45("Search dynamic tags\u2026", "elementor"),
2965
+ placeholder: __46("Search dynamic tags\u2026", "elementor"),
2890
2966
  InputProps: {
2891
- startAdornment: /* @__PURE__ */ React68.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React68.createElement(SearchIcon, { fontSize: SIZE3 }))
2967
+ startAdornment: /* @__PURE__ */ React69.createElement(InputAdornment, { position: "start" }, /* @__PURE__ */ React69.createElement(SearchIcon, { fontSize: SIZE3 }))
2892
2968
  }
2893
2969
  }
2894
- )), /* @__PURE__ */ React68.createElement(Divider6, null), /* @__PURE__ */ React68.createElement(Box4, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React68.createElement(MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React68.createElement(Fragment9, { key: index }, /* @__PURE__ */ React68.createElement(
2970
+ )), /* @__PURE__ */ React69.createElement(Divider6, null), /* @__PURE__ */ React69.createElement(Box4, { sx: { overflowY: "auto", height: 260, width: 220 } }, options13.length > 0 ? /* @__PURE__ */ React69.createElement(MenuList, { role: "listbox", tabIndex: 0 }, options13.map(([category, items3], index) => /* @__PURE__ */ React69.createElement(Fragment9, { key: index }, /* @__PURE__ */ React69.createElement(
2895
2971
  ListSubheader2,
2896
2972
  {
2897
2973
  sx: { px: 1.5, typography: "caption", color: "text.tertiary" }
@@ -2899,7 +2975,7 @@ var DynamicSelection = ({ onSelect }) => {
2899
2975
  dynamicGroups?.[category]?.title || category
2900
2976
  ), items3.map(({ value, label: tagLabel }) => {
2901
2977
  const isSelected = isCurrentValueDynamic && value === dynamicValue?.name;
2902
- return /* @__PURE__ */ React68.createElement(
2978
+ return /* @__PURE__ */ React69.createElement(
2903
2979
  MenuItem2,
2904
2980
  {
2905
2981
  key: value,
@@ -2910,10 +2986,10 @@ var DynamicSelection = ({ onSelect }) => {
2910
2986
  },
2911
2987
  tagLabel
2912
2988
  );
2913
- })))) : /* @__PURE__ */ React68.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2989
+ })))) : /* @__PURE__ */ React69.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
2914
2990
  };
2915
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React68.createElement(
2916
- Stack15,
2991
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React69.createElement(
2992
+ Stack16,
2917
2993
  {
2918
2994
  gap: 1,
2919
2995
  alignItems: "center",
@@ -2923,12 +2999,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React68.createElem
2923
2999
  color: "text.secondary",
2924
3000
  sx: { pb: 3.5 }
2925
3001
  },
2926
- /* @__PURE__ */ React68.createElement(DatabaseIcon, { fontSize: "large" }),
2927
- /* @__PURE__ */ React68.createElement(Typography4, { align: "center", variant: "subtitle2" }, __45("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React68.createElement("br", null), "\u201C", searchValue, "\u201D."),
2928
- /* @__PURE__ */ React68.createElement(Typography4, { align: "center", variant: "caption" }, __45("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React68.createElement(Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __45("Clear & try again", "elementor")))
3002
+ /* @__PURE__ */ React69.createElement(DatabaseIcon, { fontSize: "large" }),
3003
+ /* @__PURE__ */ React69.createElement(Typography4, { align: "center", variant: "subtitle2" }, __46("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React69.createElement("br", null), "\u201C", searchValue, "\u201D."),
3004
+ /* @__PURE__ */ React69.createElement(Typography4, { align: "center", variant: "caption" }, __46("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React69.createElement(Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, __46("Clear & try again", "elementor")))
2929
3005
  );
2930
- var NoDynamicTags = () => /* @__PURE__ */ React68.createElement(Box4, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React68.createElement(Divider6, null), /* @__PURE__ */ React68.createElement(
2931
- Stack15,
3006
+ var NoDynamicTags = () => /* @__PURE__ */ React69.createElement(Box4, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React69.createElement(Divider6, null), /* @__PURE__ */ React69.createElement(
3007
+ Stack16,
2932
3008
  {
2933
3009
  gap: 1,
2934
3010
  alignItems: "center",
@@ -2938,13 +3014,13 @@ var NoDynamicTags = () => /* @__PURE__ */ React68.createElement(Box4, { sx: { ov
2938
3014
  color: "text.secondary",
2939
3015
  sx: { pb: 3.5 }
2940
3016
  },
2941
- /* @__PURE__ */ React68.createElement(DatabaseIcon, { fontSize: "large" }),
2942
- /* @__PURE__ */ React68.createElement(Typography4, { align: "center", variant: "subtitle2" }, __45("Streamline your workflow with dynamic tags", "elementor")),
2943
- /* @__PURE__ */ React68.createElement(Typography4, { align: "center", variant: "caption" }, __45("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
3017
+ /* @__PURE__ */ React69.createElement(DatabaseIcon, { fontSize: "large" }),
3018
+ /* @__PURE__ */ React69.createElement(Typography4, { align: "center", variant: "subtitle2" }, __46("Streamline your workflow with dynamic tags", "elementor")),
3019
+ /* @__PURE__ */ React69.createElement(Typography4, { align: "center", variant: "caption" }, __46("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
2944
3020
  ));
2945
3021
  var useFilteredOptions = (searchValue) => {
2946
3022
  const dynamicTags = usePropDynamicTags();
2947
- const options12 = dynamicTags.reduce((categories, { name, label, group }) => {
3023
+ const options13 = dynamicTags.reduce((categories, { name, label, group }) => {
2948
3024
  const isVisible = label.toLowerCase().includes(searchValue.trim().toLowerCase());
2949
3025
  if (!isVisible) {
2950
3026
  return categories;
@@ -2955,7 +3031,7 @@ var useFilteredOptions = (searchValue) => {
2955
3031
  categories.get(group)?.push({ label, value: name });
2956
3032
  return categories;
2957
3033
  }, /* @__PURE__ */ new Map());
2958
- return [...options12];
3034
+ return [...options13];
2959
3035
  };
2960
3036
 
2961
3037
  // src/dynamics/components/dynamic-selection-control.tsx
@@ -2974,25 +3050,25 @@ var DynamicSelectionControl = () => {
2974
3050
  if (!dynamicTag) {
2975
3051
  throw new Error(`Dynamic tag ${tagName} not found`);
2976
3052
  }
2977
- return /* @__PURE__ */ React69.createElement(Box5, null, /* @__PURE__ */ React69.createElement(
3053
+ return /* @__PURE__ */ React70.createElement(Box5, null, /* @__PURE__ */ React70.createElement(
2978
3054
  Tag,
2979
3055
  {
2980
3056
  fullWidth: true,
2981
3057
  showActionsOnHover: true,
2982
3058
  label: dynamicTag.label,
2983
- startIcon: /* @__PURE__ */ React69.createElement(DatabaseIcon2, { fontSize: SIZE4 }),
3059
+ startIcon: /* @__PURE__ */ React70.createElement(DatabaseIcon2, { fontSize: SIZE4 }),
2984
3060
  ...bindTrigger2(selectionPopoverState),
2985
- actions: /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React69.createElement(
3061
+ actions: /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React70.createElement(
2986
3062
  IconButton3,
2987
3063
  {
2988
3064
  size: SIZE4,
2989
3065
  onClick: removeDynamicTag,
2990
- "aria-label": __46("Remove dynamic value", "elementor")
3066
+ "aria-label": __47("Remove dynamic value", "elementor")
2991
3067
  },
2992
- /* @__PURE__ */ React69.createElement(XIcon2, { fontSize: SIZE4 })
3068
+ /* @__PURE__ */ React70.createElement(XIcon2, { fontSize: SIZE4 })
2993
3069
  ))
2994
3070
  }
2995
- ), /* @__PURE__ */ React69.createElement(
3071
+ ), /* @__PURE__ */ React70.createElement(
2996
3072
  Popover2,
2997
3073
  {
2998
3074
  disablePortal: true,
@@ -3000,7 +3076,7 @@ var DynamicSelectionControl = () => {
3000
3076
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
3001
3077
  ...bindPopover2(selectionPopoverState)
3002
3078
  },
3003
- /* @__PURE__ */ React69.createElement(Stack16, null, /* @__PURE__ */ React69.createElement(Stack16, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React69.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(Typography5, { variant: "subtitle2" }, __46("Dynamic tags", "elementor")), /* @__PURE__ */ React69.createElement(IconButton3, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React69.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
3079
+ /* @__PURE__ */ React70.createElement(Stack17, null, /* @__PURE__ */ React70.createElement(Stack17, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React70.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React70.createElement(Typography5, { variant: "subtitle2" }, __47("Dynamic tags", "elementor")), /* @__PURE__ */ React70.createElement(IconButton3, { size: SIZE4, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React70.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React70.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
3004
3080
  ));
3005
3081
  };
3006
3082
  var DynamicSettingsPopover = ({ dynamicTag }) => {
@@ -3010,22 +3086,22 @@ var DynamicSettingsPopover = ({ dynamicTag }) => {
3010
3086
  if (!hasDynamicSettings) {
3011
3087
  return null;
3012
3088
  }
3013
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(
3089
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(
3014
3090
  IconButton3,
3015
3091
  {
3016
3092
  size: SIZE4,
3017
3093
  ...bindTrigger2(settingsPopupState),
3018
- "aria-label": __46("Settings", "elementor")
3094
+ "aria-label": __47("Settings", "elementor")
3019
3095
  },
3020
- /* @__PURE__ */ React69.createElement(SettingsIcon, { fontSize: SIZE4 })
3021
- ), /* @__PURE__ */ React69.createElement(
3096
+ /* @__PURE__ */ React70.createElement(SettingsIcon, { fontSize: SIZE4 })
3097
+ ), /* @__PURE__ */ React70.createElement(
3022
3098
  Popover2,
3023
3099
  {
3024
3100
  disableScrollLock: true,
3025
3101
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
3026
3102
  ...bindPopover2(settingsPopupState)
3027
3103
  },
3028
- /* @__PURE__ */ React69.createElement(Paper, { component: Stack16, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React69.createElement(Stack16, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React69.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React69.createElement(Typography5, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React69.createElement(IconButton3, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React69.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React69.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
3104
+ /* @__PURE__ */ React70.createElement(Paper, { component: Stack17, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React70.createElement(Stack17, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React70.createElement(DatabaseIcon2, { fontSize: SIZE4, sx: { mr: 0.5 } }), /* @__PURE__ */ React70.createElement(Typography5, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React70.createElement(IconButton3, { sx: { ml: "auto" }, size: SIZE4, onClick: settingsPopupState.close }, /* @__PURE__ */ React70.createElement(XIcon2, { fontSize: SIZE4 }))), /* @__PURE__ */ React70.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
3029
3105
  ));
3030
3106
  };
3031
3107
  var DynamicSettings = ({ controls }) => {
@@ -3034,10 +3110,10 @@ var DynamicSettings = ({ controls }) => {
3034
3110
  if (!tabs.length) {
3035
3111
  return null;
3036
3112
  }
3037
- return /* @__PURE__ */ React69.createElement(React69.Fragment, null, /* @__PURE__ */ React69.createElement(Tabs2, { indicatorColor: "secondary", textColor: "secondary", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React69.createElement(Tab2, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React69.createElement(Divider7, null), tabs.map(({ value }, index) => {
3038
- return /* @__PURE__ */ React69.createElement(TabPanel2, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React69.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
3113
+ return /* @__PURE__ */ React70.createElement(React70.Fragment, null, /* @__PURE__ */ React70.createElement(Tabs2, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React70.createElement(Tab2, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React70.createElement(Divider7, null), tabs.map(({ value }, index) => {
3114
+ return /* @__PURE__ */ React70.createElement(TabPanel2, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React70.createElement(PopoverContent, { p: 1.5 }, value.items.map((item) => {
3039
3115
  if (item.type === "control") {
3040
- return /* @__PURE__ */ React69.createElement(Control3, { key: item.value.bind, control: item.value });
3116
+ return /* @__PURE__ */ React70.createElement(Control3, { key: item.value.bind, control: item.value });
3041
3117
  }
3042
3118
  return null;
3043
3119
  })));
@@ -3047,22 +3123,22 @@ var Control3 = ({ control }) => {
3047
3123
  if (!getControlByType(control.type)) {
3048
3124
  return null;
3049
3125
  }
3050
- return /* @__PURE__ */ React69.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React69.createElement(Grid26, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React69.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(ControlLabel31, null, control.label)) : null, /* @__PURE__ */ React69.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React69.createElement(Control, { type: control.type, props: control.props }))));
3126
+ return /* @__PURE__ */ React70.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React70.createElement(Grid26, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React70.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(ControlLabel32, null, control.label)) : null, /* @__PURE__ */ React70.createElement(Grid26, { item: true, xs: 12 }, /* @__PURE__ */ React70.createElement(Control, { type: control.type, props: control.props }))));
3051
3127
  };
3052
3128
 
3053
3129
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
3054
- import * as React70 from "react";
3130
+ import * as React71 from "react";
3055
3131
  import { useBoundProp as useBoundProp6 } from "@elementor/editor-controls";
3056
3132
  import { DatabaseIcon as DatabaseIcon3 } from "@elementor/icons";
3057
- import { __ as __47 } from "@wordpress/i18n";
3133
+ import { __ as __48 } from "@wordpress/i18n";
3058
3134
  var usePropDynamicAction = () => {
3059
3135
  const { propType } = useBoundProp6();
3060
3136
  const visible = !!propType && supportsDynamic(propType);
3061
3137
  return {
3062
3138
  visible,
3063
3139
  icon: DatabaseIcon3,
3064
- title: __47("Dynamic tags", "elementor"),
3065
- popoverContent: ({ closePopover }) => /* @__PURE__ */ React70.createElement(DynamicSelection, { onSelect: closePopover })
3140
+ title: __48("Dynamic tags", "elementor"),
3141
+ popoverContent: ({ closePopover }) => /* @__PURE__ */ React71.createElement(DynamicSelection, { onSelect: closePopover })
3066
3142
  };
3067
3143
  };
3068
3144