@elementor/editor-editing-panel 1.43.1 → 1.44.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.
Files changed (33) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/index.d.mts +4 -1
  3. package/dist/index.d.ts +4 -1
  4. package/dist/index.js +1087 -905
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +857 -677
  7. package/dist/index.mjs.map +1 -1
  8. package/package.json +4 -4
  9. package/src/action.tsx +1 -1
  10. package/src/components/add-or-remove-content.tsx +3 -4
  11. package/src/components/collapsible-content.tsx +42 -14
  12. package/src/components/control-label.tsx +1 -1
  13. package/src/components/section.tsx +21 -7
  14. package/src/components/style-sections/border-section/border-field.tsx +2 -1
  15. package/src/components/style-sections/position-section/dimensions-field.tsx +8 -8
  16. package/src/components/style-sections/size-section/size-section.tsx +3 -3
  17. package/src/components/style-sections/typography-section/text-stroke-field.tsx +2 -1
  18. package/src/components/style-sections/typography-section/typography-section.tsx +15 -3
  19. package/src/components/style-tab-collapsible-content.tsx +22 -0
  20. package/src/components/style-tab-section.tsx +30 -0
  21. package/src/components/style-tab.tsx +51 -35
  22. package/src/controls-registry/styles-field.tsx +1 -1
  23. package/src/dynamics/components/dynamic-selection-control.tsx +11 -15
  24. package/src/index.ts +1 -0
  25. package/src/popover-action.tsx +3 -9
  26. package/src/styles-inheritance/components/{label-chip.tsx → infotip/label-chip.tsx} +1 -1
  27. package/src/styles-inheritance/{styles-inheritance-indicator.tsx → components/styles-inheritance-indicator.tsx} +8 -8
  28. package/src/styles-inheritance/{styles-inheritance-infotip.tsx → components/styles-inheritance-infotip.tsx} +7 -7
  29. package/src/styles-inheritance/components/styles-inheritance-section-indicators.tsx +113 -0
  30. /package/src/styles-inheritance/components/{action-icons.tsx → infotip/action-icons.tsx} +0 -0
  31. /package/src/styles-inheritance/components/{breakpoint-icon.tsx → infotip/breakpoint-icon.tsx} +0 -0
  32. /package/src/styles-inheritance/components/{index.ts → infotip/index.ts} +0 -0
  33. /package/src/styles-inheritance/components/{value-component.tsx → infotip/value-component.tsx} +0 -0
package/dist/index.js CHANGED
@@ -34,12 +34,13 @@ __export(index_exports, {
34
34
  init: () => init3,
35
35
  injectIntoClassSelectorActions: () => injectIntoClassSelectorActions,
36
36
  registerControlReplacement: () => registerControlReplacement,
37
- useBoundProp: () => import_editor_controls56.useBoundProp,
37
+ useBoundProp: () => import_editor_controls57.useBoundProp,
38
+ useFontFamilies: () => useFontFamilies,
38
39
  usePanelActions: () => usePanelActions,
39
40
  usePanelStatus: () => usePanelStatus
40
41
  });
41
42
  module.exports = __toCommonJS(index_exports);
42
- var import_editor_controls56 = require("@elementor/editor-controls");
43
+ var import_editor_controls57 = require("@elementor/editor-controls");
43
44
 
44
45
  // src/control-replacement.tsx
45
46
  var import_editor_controls = require("@elementor/editor-controls");
@@ -1158,15 +1159,15 @@ function useHandleSelect() {
1158
1159
  var import_editor_panels2 = require("@elementor/editor-panels");
1159
1160
 
1160
1161
  // src/components/editing-panel.tsx
1161
- var React80 = __toESM(require("react"));
1162
- var import_editor_controls49 = require("@elementor/editor-controls");
1162
+ var React83 = __toESM(require("react"));
1163
+ var import_editor_controls50 = require("@elementor/editor-controls");
1163
1164
  var import_editor_elements8 = require("@elementor/editor-elements");
1164
1165
  var import_editor_panels = require("@elementor/editor-panels");
1165
- var import_editor_ui4 = require("@elementor/editor-ui");
1166
- var import_icons25 = require("@elementor/icons");
1166
+ var import_editor_ui5 = require("@elementor/editor-ui");
1167
+ var import_icons24 = require("@elementor/icons");
1167
1168
  var import_session5 = require("@elementor/session");
1168
- var import_ui67 = require("@elementor/ui");
1169
- var import_i18n54 = require("@wordpress/i18n");
1169
+ var import_ui68 = require("@elementor/ui");
1170
+ var import_i18n55 = require("@wordpress/i18n");
1170
1171
 
1171
1172
  // src/controls-actions.ts
1172
1173
  var import_menus = require("@elementor/menus");
@@ -1179,13 +1180,13 @@ function Action({ title, visible = true, icon: Icon, onClick }) {
1179
1180
  if (!visible) {
1180
1181
  return null;
1181
1182
  }
1182
- return /* @__PURE__ */ React9.createElement(import_ui7.Tooltip, { placement: "bottom", title, arrow: true }, /* @__PURE__ */ React9.createElement(import_ui7.IconButton, { "aria-label": title, size: SIZE, onClick }, /* @__PURE__ */ React9.createElement(Icon, { fontSize: SIZE })));
1183
+ return /* @__PURE__ */ React9.createElement(import_ui7.Tooltip, { placement: "top", title, arrow: true }, /* @__PURE__ */ React9.createElement(import_ui7.IconButton, { "aria-label": title, size: SIZE, onClick }, /* @__PURE__ */ React9.createElement(Icon, { fontSize: SIZE })));
1183
1184
  }
1184
1185
 
1185
1186
  // src/popover-action.tsx
1186
1187
  var React10 = __toESM(require("react"));
1187
1188
  var import_react11 = require("react");
1188
- var import_icons3 = require("@elementor/icons");
1189
+ var import_editor_ui4 = require("@elementor/editor-ui");
1189
1190
  var import_ui8 = require("@elementor/ui");
1190
1191
  var SIZE2 = "tiny";
1191
1192
  function PopoverAction({
@@ -1213,7 +1214,7 @@ function PopoverAction({
1213
1214
  },
1214
1215
  ...(0, import_ui8.bindPopover)(popupState)
1215
1216
  },
1216
- /* @__PURE__ */ React10.createElement(import_ui8.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React10.createElement(Icon, { fontSize: SIZE2, sx: { mr: 0.5 } }), /* @__PURE__ */ React10.createElement(import_ui8.Typography, { variant: "subtitle2" }, title), /* @__PURE__ */ React10.createElement(import_ui8.IconButton, { sx: { ml: "auto" }, size: SIZE2, onClick: popupState.close }, /* @__PURE__ */ React10.createElement(import_icons3.XIcon, { fontSize: SIZE2 }))),
1217
+ /* @__PURE__ */ React10.createElement(import_editor_ui4.PopoverHeader, { title, onClose: popupState.close, icon: /* @__PURE__ */ React10.createElement(Icon, { fontSize: SIZE2 }) }),
1217
1218
  /* @__PURE__ */ React10.createElement(PopoverContent2, { closePopover: popupState.close })
1218
1219
  ));
1219
1220
  }
@@ -1234,11 +1235,11 @@ function EditorPanelErrorFallback() {
1234
1235
  }
1235
1236
 
1236
1237
  // src/components/editing-panel-tabs.tsx
1237
- var React79 = __toESM(require("react"));
1238
+ var React82 = __toESM(require("react"));
1238
1239
  var import_react28 = require("react");
1239
- var import_editor_v1_adapters13 = require("@elementor/editor-v1-adapters");
1240
- var import_ui66 = require("@elementor/ui");
1241
- var import_i18n53 = require("@wordpress/i18n");
1240
+ var import_editor_v1_adapters15 = require("@elementor/editor-v1-adapters");
1241
+ var import_ui67 = require("@elementor/ui");
1242
+ var import_i18n54 = require("@wordpress/i18n");
1242
1243
 
1243
1244
  // src/contexts/scroll-context.tsx
1244
1245
  var React12 = __toESM(require("react"));
@@ -1322,11 +1323,11 @@ var useStateByElement = (key, initialValue) => {
1322
1323
  };
1323
1324
 
1324
1325
  // src/components/settings-tab.tsx
1325
- var React18 = __toESM(require("react"));
1326
+ var React19 = __toESM(require("react"));
1326
1327
  var import_editor_controls4 = require("@elementor/editor-controls");
1327
- var import_editor_v1_adapters3 = require("@elementor/editor-v1-adapters");
1328
+ var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
1328
1329
  var import_session2 = require("@elementor/session");
1329
- var import_ui15 = require("@elementor/ui");
1330
+ var import_ui16 = require("@elementor/ui");
1330
1331
 
1331
1332
  // src/controls-registry/control.tsx
1332
1333
  var React13 = __toESM(require("react"));
@@ -1414,14 +1415,15 @@ var SettingsField = ({ bind, children }) => {
1414
1415
  };
1415
1416
 
1416
1417
  // src/components/section.tsx
1417
- var React16 = __toESM(require("react"));
1418
- var import_react15 = require("react");
1419
- var import_ui13 = require("@elementor/ui");
1418
+ var React17 = __toESM(require("react"));
1419
+ var import_react16 = require("react");
1420
+ var import_editor_v1_adapters3 = require("@elementor/editor-v1-adapters");
1421
+ var import_ui14 = require("@elementor/ui");
1420
1422
 
1421
1423
  // src/components/collapse-icon.tsx
1422
- var import_icons4 = require("@elementor/icons");
1424
+ var import_icons3 = require("@elementor/icons");
1423
1425
  var import_ui12 = require("@elementor/ui");
1424
- var CollapseIcon = (0, import_ui12.styled)(import_icons4.ChevronDownIcon, {
1426
+ var CollapseIcon = (0, import_ui12.styled)(import_icons3.ChevronDownIcon, {
1425
1427
  shouldForwardProp: (prop) => prop !== "open"
1426
1428
  })(({ theme, open }) => ({
1427
1429
  transform: open ? "rotate(180deg)" : "rotate(0deg)",
@@ -1430,49 +1432,95 @@ var CollapseIcon = (0, import_ui12.styled)(import_icons4.ChevronDownIcon, {
1430
1432
  })
1431
1433
  }));
1432
1434
 
1435
+ // src/components/collapsible-content.tsx
1436
+ var React16 = __toESM(require("react"));
1437
+ var import_react15 = require("react");
1438
+ var import_ui13 = require("@elementor/ui");
1439
+ var import_i18n5 = require("@wordpress/i18n");
1440
+ var IndicatorsWrapper = (0, import_ui13.styled)("div")`
1441
+ position: absolute;
1442
+ top: 0;
1443
+ right: ${({ theme }) => theme.spacing(3)};
1444
+ height: 100%;
1445
+ display: flex;
1446
+ flex-direction: column;
1447
+ align-items: center;
1448
+ justify-content: center;
1449
+ `;
1450
+ var CollapsibleContent = ({ children, defaultOpen = false, titleEnd = null }) => {
1451
+ const [open, setOpen] = (0, import_react15.useState)(defaultOpen);
1452
+ const handleToggle = () => {
1453
+ setOpen((prevOpen) => !prevOpen);
1454
+ };
1455
+ return /* @__PURE__ */ React16.createElement(import_ui13.Stack, null, /* @__PURE__ */ React16.createElement(import_ui13.Stack, { sx: { position: "relative" } }, /* @__PURE__ */ React16.createElement(
1456
+ import_ui13.Button,
1457
+ {
1458
+ fullWidth: true,
1459
+ size: "small",
1460
+ color: "secondary",
1461
+ variant: "outlined",
1462
+ onClick: handleToggle,
1463
+ endIcon: /* @__PURE__ */ React16.createElement(CollapseIcon, { open }),
1464
+ sx: { my: 0.5 }
1465
+ },
1466
+ open ? (0, import_i18n5.__)("Show less", "elementor") : (0, import_i18n5.__)("Show more", "elementor")
1467
+ ), titleEnd && /* @__PURE__ */ React16.createElement(IndicatorsWrapper, null, getCollapsibleValue(titleEnd, open))), /* @__PURE__ */ React16.createElement(import_ui13.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
1468
+ };
1469
+ function getCollapsibleValue(value, isOpen) {
1470
+ if (typeof value === "function") {
1471
+ return value(isOpen);
1472
+ }
1473
+ return value;
1474
+ }
1475
+
1433
1476
  // src/components/section.tsx
1434
- function Section({ title, children, defaultExpanded = false }) {
1477
+ function Section({ title, children, defaultExpanded = false, titleEnd }) {
1435
1478
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
1436
- const id = (0, import_react15.useId)();
1479
+ const handleClick = () => {
1480
+ setIsOpen(!isOpen);
1481
+ };
1482
+ const id = (0, import_react16.useId)();
1437
1483
  const labelId = `label-${id}`;
1438
1484
  const contentId = `content-${id}`;
1439
- return /* @__PURE__ */ React16.createElement(React16.Fragment, null, /* @__PURE__ */ React16.createElement(
1440
- import_ui13.ListItemButton,
1485
+ const isUsingTitleEnd = (0, import_editor_v1_adapters3.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
1486
+ return /* @__PURE__ */ React17.createElement(React17.Fragment, null, /* @__PURE__ */ React17.createElement(
1487
+ import_ui14.ListItemButton,
1441
1488
  {
1442
1489
  id: labelId,
1443
1490
  "aria-controls": contentId,
1444
- onClick: () => setIsOpen(!isOpen),
1491
+ onClick: handleClick,
1445
1492
  sx: { "&:hover": { backgroundColor: "transparent" } }
1446
1493
  },
1447
- /* @__PURE__ */ React16.createElement(
1448
- import_ui13.ListItemText,
1494
+ /* @__PURE__ */ React17.createElement(import_ui14.Stack, { direction: "row", alignItems: "center", justifyItems: "start", flexGrow: 1, gap: 0.5 }, /* @__PURE__ */ React17.createElement(
1495
+ import_ui14.ListItemText,
1449
1496
  {
1450
1497
  secondary: title,
1451
- secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" }
1498
+ secondaryTypographyProps: { color: "text.primary", variant: "caption", fontWeight: "bold" },
1499
+ sx: { flexGrow: 0, flexShrink: 1, marginInlineEnd: 1 }
1452
1500
  }
1453
- ),
1454
- /* @__PURE__ */ React16.createElement(CollapseIcon, { open: isOpen, color: "secondary", fontSize: "tiny" })
1455
- ), /* @__PURE__ */ React16.createElement(import_ui13.Collapse, { id: contentId, "aria-labelledby": labelId, in: isOpen, timeout: "auto", unmountOnExit: true }, /* @__PURE__ */ React16.createElement(import_ui13.Stack, { gap: 2.5, p: 2 }, children)), /* @__PURE__ */ React16.createElement(import_ui13.Divider, null));
1501
+ ), isUsingTitleEnd ? getCollapsibleValue(titleEnd, isOpen) : null),
1502
+ /* @__PURE__ */ React17.createElement(CollapseIcon, { open: isOpen, color: "secondary", fontSize: "tiny" })
1503
+ ), /* @__PURE__ */ React17.createElement(import_ui14.Collapse, { id: contentId, "aria-labelledby": labelId, in: isOpen, timeout: "auto", unmountOnExit: true }, /* @__PURE__ */ React17.createElement(import_ui14.Stack, { gap: 2.5, p: 2 }, children)), /* @__PURE__ */ React17.createElement(import_ui14.Divider, null));
1456
1504
  }
1457
1505
 
1458
1506
  // src/components/sections-list.tsx
1459
- var React17 = __toESM(require("react"));
1460
- var import_ui14 = require("@elementor/ui");
1507
+ var React18 = __toESM(require("react"));
1508
+ var import_ui15 = require("@elementor/ui");
1461
1509
  function SectionsList(props) {
1462
- return /* @__PURE__ */ React17.createElement(import_ui14.List, { disablePadding: true, component: "div", ...props });
1510
+ return /* @__PURE__ */ React18.createElement(import_ui15.List, { disablePadding: true, component: "div", ...props });
1463
1511
  }
1464
1512
 
1465
1513
  // src/components/settings-tab.tsx
1466
1514
  var SettingsTab = () => {
1467
1515
  const { elementType, element } = useElement();
1468
1516
  const settingsDefault = useDefaultPanelSettings();
1469
- const isDefaultExpanded = (sectionId) => (0, import_editor_v1_adapters3.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId) : true;
1470
- return /* @__PURE__ */ React18.createElement(import_session2.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React18.createElement(SectionsList, null, elementType.controls.map(({ type, value }, index) => {
1517
+ const isDefaultExpanded = (sectionId) => (0, import_editor_v1_adapters4.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? settingsDefault.defaultSectionsExpanded.settings?.includes(sectionId) : true;
1518
+ return /* @__PURE__ */ React19.createElement(import_session2.SessionStorageProvider, { prefix: element.id }, /* @__PURE__ */ React19.createElement(SectionsList, null, elementType.controls.map(({ type, value }, index) => {
1471
1519
  if (type === "control") {
1472
- return /* @__PURE__ */ React18.createElement(Control2, { key: value.bind, control: value });
1520
+ return /* @__PURE__ */ React19.createElement(Control2, { key: value.bind, control: value });
1473
1521
  }
1474
1522
  if (type === "section") {
1475
- return /* @__PURE__ */ React18.createElement(
1523
+ return /* @__PURE__ */ React19.createElement(
1476
1524
  Section,
1477
1525
  {
1478
1526
  title: value.label,
@@ -1481,7 +1529,7 @@ var SettingsTab = () => {
1481
1529
  },
1482
1530
  value.items?.map((item) => {
1483
1531
  if (item.type === "control") {
1484
- return /* @__PURE__ */ React18.createElement(Control2, { key: item.value.bind, control: item.value });
1532
+ return /* @__PURE__ */ React19.createElement(Control2, { key: item.value.bind, control: item.value });
1485
1533
  }
1486
1534
  return null;
1487
1535
  })
@@ -1495,22 +1543,21 @@ var Control2 = ({ control }) => {
1495
1543
  return null;
1496
1544
  }
1497
1545
  const layout = control.meta?.layout || getDefaultLayout(control.type);
1498
- return /* @__PURE__ */ React18.createElement(SettingsField, { bind: control.bind }, control.meta?.topDivider && /* @__PURE__ */ React18.createElement(import_ui15.Divider, null), /* @__PURE__ */ React18.createElement(ControlTypeContainer, { layout }, control.label ? /* @__PURE__ */ React18.createElement(import_editor_controls4.ControlFormLabel, null, control.label) : null, /* @__PURE__ */ React18.createElement(Control, { type: control.type, props: control.props })));
1546
+ return /* @__PURE__ */ React19.createElement(SettingsField, { bind: control.bind }, control.meta?.topDivider && /* @__PURE__ */ React19.createElement(import_ui16.Divider, null), /* @__PURE__ */ React19.createElement(ControlTypeContainer, { layout }, control.label ? /* @__PURE__ */ React19.createElement(import_editor_controls4.ControlFormLabel, null, control.label) : null, /* @__PURE__ */ React19.createElement(Control, { type: control.type, props: control.props })));
1499
1547
  };
1500
1548
 
1501
1549
  // src/components/style-tab.tsx
1502
- var React78 = __toESM(require("react"));
1550
+ var React81 = __toESM(require("react"));
1503
1551
  var import_react27 = require("react");
1504
1552
  var import_editor_props9 = require("@elementor/editor-props");
1505
1553
  var import_editor_responsive3 = require("@elementor/editor-responsive");
1506
- var import_editor_v1_adapters12 = require("@elementor/editor-v1-adapters");
1507
1554
  var import_session4 = require("@elementor/session");
1508
- var import_ui65 = require("@elementor/ui");
1509
- var import_i18n52 = require("@wordpress/i18n");
1555
+ var import_ui66 = require("@elementor/ui");
1556
+ var import_i18n53 = require("@wordpress/i18n");
1510
1557
 
1511
1558
  // src/contexts/styles-inheritance-context.tsx
1512
- var React19 = __toESM(require("react"));
1513
- var import_react17 = require("react");
1559
+ var React20 = __toESM(require("react"));
1560
+ var import_react18 = require("react");
1514
1561
  var import_editor_elements4 = require("@elementor/editor-elements");
1515
1562
  var import_editor_props4 = require("@elementor/editor-props");
1516
1563
  var import_editor_responsive = require("@elementor/editor-responsive");
@@ -1518,11 +1565,11 @@ var import_editor_styles = require("@elementor/editor-styles");
1518
1565
  var import_editor_styles_repository6 = require("@elementor/editor-styles-repository");
1519
1566
 
1520
1567
  // src/hooks/use-styles-rerender.ts
1521
- var import_react16 = require("react");
1568
+ var import_react17 = require("react");
1522
1569
  var useStylesRerender = () => {
1523
1570
  const { provider } = useStyle();
1524
- const [, reRender] = (0, import_react16.useReducer)((p) => !p, false);
1525
- (0, import_react16.useEffect)(() => provider?.subscribe(reRender), [provider]);
1571
+ const [, reRender] = (0, import_react17.useReducer)((p) => !p, false);
1572
+ (0, import_react17.useEffect)(() => provider?.subscribe(reRender), [provider]);
1526
1573
  };
1527
1574
 
1528
1575
  // src/styles-inheritance/create-styles-inheritance.ts
@@ -1740,15 +1787,15 @@ var getFilterPropType = (propType, path) => {
1740
1787
  };
1741
1788
 
1742
1789
  // src/contexts/styles-inheritance-context.tsx
1743
- var Context4 = (0, import_react17.createContext)(null);
1790
+ var Context4 = (0, import_react18.createContext)(null);
1744
1791
  function StyleInheritanceProvider({ children }) {
1745
1792
  const styleDefs = useAppliedStyles();
1746
1793
  const breakpointsTree = (0, import_editor_responsive.getBreakpointsTree)();
1747
1794
  const { getSnapshot, getInheritanceChain } = createStylesInheritance(styleDefs, breakpointsTree);
1748
- return /* @__PURE__ */ React19.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
1795
+ return /* @__PURE__ */ React20.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
1749
1796
  }
1750
1797
  function useStylesInheritanceSnapshot() {
1751
- const context = (0, import_react17.useContext)(Context4);
1798
+ const context = (0, import_react18.useContext)(Context4);
1752
1799
  const { meta } = useStyle();
1753
1800
  if (!context) {
1754
1801
  throw new Error("useStylesInheritanceSnapshot must be used within a StyleInheritanceProvider");
@@ -1759,7 +1806,7 @@ function useStylesInheritanceSnapshot() {
1759
1806
  return context.getSnapshot(meta) ?? null;
1760
1807
  }
1761
1808
  function useStylesInheritanceChain(path) {
1762
- const context = (0, import_react17.useContext)(Context4);
1809
+ const context = (0, import_react18.useContext)(Context4);
1763
1810
  if (!context) {
1764
1811
  throw new Error("useStylesInheritanceChain must be used within a StyleInheritanceProvider");
1765
1812
  }
@@ -1814,21 +1861,21 @@ function useActiveAndAppliedClassId(id, appliedClassesIds) {
1814
1861
  }
1815
1862
 
1816
1863
  // src/components/style-sections/background-section/background-section.tsx
1817
- var React28 = __toESM(require("react"));
1864
+ var React29 = __toESM(require("react"));
1818
1865
  var import_editor_controls7 = require("@elementor/editor-controls");
1819
1866
 
1820
1867
  // src/controls-registry/styles-field.tsx
1821
- var React27 = __toESM(require("react"));
1868
+ var React28 = __toESM(require("react"));
1822
1869
  var import_editor_controls6 = require("@elementor/editor-controls");
1823
1870
  var import_editor_styles3 = require("@elementor/editor-styles");
1824
1871
 
1825
1872
  // src/hooks/use-styles-fields.ts
1826
- var import_react18 = require("react");
1873
+ var import_react19 = require("react");
1827
1874
  var import_editor_elements6 = require("@elementor/editor-elements");
1828
1875
  var import_editor_styles2 = require("@elementor/editor-styles");
1829
1876
  var import_editor_styles_repository7 = require("@elementor/editor-styles-repository");
1830
- var import_editor_v1_adapters4 = require("@elementor/editor-v1-adapters");
1831
- var import_i18n5 = require("@wordpress/i18n");
1877
+ var import_editor_v1_adapters5 = require("@elementor/editor-v1-adapters");
1878
+ var import_i18n6 = require("@wordpress/i18n");
1832
1879
  function useStylesFields(propNames) {
1833
1880
  const { element } = useElement();
1834
1881
  const { id, meta, provider } = useStyle();
@@ -1877,8 +1924,8 @@ function getProps({ styleId, elementId, provider, meta, propNames }) {
1877
1924
  );
1878
1925
  }
1879
1926
  function useUndoableCreateElementStyle() {
1880
- return (0, import_react18.useMemo)(() => {
1881
- return (0, import_editor_v1_adapters4.undoable)(
1927
+ return (0, import_react19.useMemo)(() => {
1928
+ return (0, import_editor_v1_adapters5.undoable)(
1882
1929
  {
1883
1930
  do: (payload) => {
1884
1931
  return (0, import_editor_elements6.createElementStyle)({
@@ -1899,14 +1946,14 @@ function useUndoableCreateElementStyle() {
1899
1946
  },
1900
1947
  {
1901
1948
  title: ({ elementId }) => (0, import_editor_elements6.getElementLabel)(elementId),
1902
- subtitle: (0, import_i18n5.__)("Style edited", "elementor")
1949
+ subtitle: (0, import_i18n6.__)("Style edited", "elementor")
1903
1950
  }
1904
1951
  );
1905
1952
  }, []);
1906
1953
  }
1907
1954
  function useUndoableUpdateStyle() {
1908
- return (0, import_react18.useMemo)(() => {
1909
- return (0, import_editor_v1_adapters4.undoable)(
1955
+ return (0, import_react19.useMemo)(() => {
1956
+ return (0, import_editor_v1_adapters5.undoable)(
1910
1957
  {
1911
1958
  do: ({ elementId, styleId, provider, meta, props }) => {
1912
1959
  if (!provider.actions.updateProps) {
@@ -1932,7 +1979,7 @@ function useUndoableUpdateStyle() {
1932
1979
  },
1933
1980
  {
1934
1981
  title: ({ elementId }) => (0, import_editor_elements6.getElementLabel)(elementId),
1935
- subtitle: (0, import_i18n5.__)("Style edited", "elementor")
1982
+ subtitle: (0, import_i18n6.__)("Style edited", "elementor")
1936
1983
  }
1937
1984
  );
1938
1985
  }, []);
@@ -1958,17 +2005,17 @@ function useStylesField(propName) {
1958
2005
  return [value, setValue];
1959
2006
  }
1960
2007
 
1961
- // src/styles-inheritance/styles-inheritance-indicator.tsx
1962
- var React26 = __toESM(require("react"));
2008
+ // src/styles-inheritance/components/styles-inheritance-indicator.tsx
2009
+ var React27 = __toESM(require("react"));
1963
2010
  var import_editor_controls5 = require("@elementor/editor-controls");
1964
2011
  var import_editor_props5 = require("@elementor/editor-props");
1965
2012
  var import_editor_styles_repository10 = require("@elementor/editor-styles-repository");
1966
- var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
1967
- var import_ui23 = require("@elementor/ui");
1968
- var import_i18n9 = require("@wordpress/i18n");
2013
+ var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
2014
+ var import_ui24 = require("@elementor/ui");
2015
+ var import_i18n10 = require("@wordpress/i18n");
1969
2016
 
1970
2017
  // src/styles-inheritance/consts.ts
1971
- var import_editor_v1_adapters5 = require("@elementor/editor-v1-adapters");
2018
+ var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
1972
2019
  var excludePropTypeTransformers = /* @__PURE__ */ new Set([
1973
2020
  "background-color-overlay",
1974
2021
  "background-image-overlay",
@@ -1981,28 +2028,28 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
1981
2028
  "image",
1982
2029
  "background-overlay"
1983
2030
  ]);
1984
- var isUsingIndicatorPopover = () => (0, import_editor_v1_adapters5.isExperimentActive)("e_v_3_30");
2031
+ var isUsingIndicatorPopover = () => (0, import_editor_v1_adapters6.isExperimentActive)("e_v_3_30");
1985
2032
 
1986
- // src/styles-inheritance/styles-inheritance-infotip.tsx
1987
- var React25 = __toESM(require("react"));
1988
- var import_react21 = require("react");
2033
+ // src/styles-inheritance/components/styles-inheritance-infotip.tsx
2034
+ var React26 = __toESM(require("react"));
2035
+ var import_react22 = require("react");
1989
2036
  var import_editor_canvas2 = require("@elementor/editor-canvas");
1990
- var import_ui22 = require("@elementor/ui");
1991
- var import_i18n8 = require("@wordpress/i18n");
2037
+ var import_ui23 = require("@elementor/ui");
2038
+ var import_i18n9 = require("@wordpress/i18n");
1992
2039
 
1993
2040
  // src/components/section-content.tsx
1994
- var import_react19 = require("react");
1995
- var React20 = __toESM(require("react"));
1996
- var import_ui16 = require("@elementor/ui");
1997
- var SectionContentRefContext = (0, import_react19.createContext)(null);
1998
- var useSectionContentRef = () => (0, import_react19.useContext)(SectionContentRefContext);
2041
+ var import_react20 = require("react");
2042
+ var React21 = __toESM(require("react"));
2043
+ var import_ui17 = require("@elementor/ui");
2044
+ var SectionContentRefContext = (0, import_react20.createContext)(null);
2045
+ var useSectionContentRef = () => (0, import_react20.useContext)(SectionContentRefContext);
1999
2046
  var SectionContent = ({ gap = 2, sx, children }) => {
2000
- const ref = (0, import_react19.useRef)(null);
2001
- return /* @__PURE__ */ React20.createElement(SectionContentRefContext.Provider, { value: ref }, /* @__PURE__ */ React20.createElement(import_ui16.Stack, { gap, sx: { ...sx }, ref }, children));
2047
+ const ref = (0, import_react20.useRef)(null);
2048
+ return /* @__PURE__ */ React21.createElement(SectionContentRefContext.Provider, { value: ref }, /* @__PURE__ */ React21.createElement(import_ui17.Stack, { gap, sx: { ...sx }, ref }, children));
2002
2049
  };
2003
2050
 
2004
2051
  // src/hooks/use-direction.ts
2005
- var import_ui17 = require("@elementor/ui");
2052
+ var import_ui18 = require("@elementor/ui");
2006
2053
 
2007
2054
  // src/sync/get-elementor-globals.ts
2008
2055
  var getElementorConfig = () => {
@@ -2016,121 +2063,33 @@ var getElementorFrontendConfig = () => {
2016
2063
 
2017
2064
  // src/hooks/use-direction.ts
2018
2065
  function useDirection() {
2019
- const theme = (0, import_ui17.useTheme)();
2066
+ const theme = (0, import_ui18.useTheme)();
2020
2067
  const isUiRtl = "rtl" === theme.direction, isSiteRtl = !!getElementorFrontendConfig()?.is_rtl;
2021
2068
  return { isSiteRtl, isUiRtl };
2022
2069
  }
2023
2070
 
2024
- // src/styles-inheritance/components/breakpoint-icon.tsx
2025
- var React21 = __toESM(require("react"));
2026
- var import_editor_responsive2 = require("@elementor/editor-responsive");
2027
- var import_icons5 = require("@elementor/icons");
2028
- var import_ui18 = require("@elementor/ui");
2029
- var SIZE3 = "tiny";
2030
- var DEFAULT_BREAKPOINT2 = "desktop";
2031
- var breakpointIconMap = {
2032
- widescreen: import_icons5.WidescreenIcon,
2033
- desktop: import_icons5.DesktopIcon,
2034
- laptop: import_icons5.LaptopIcon,
2035
- tablet_extra: import_icons5.TabletLandscapeIcon,
2036
- tablet: import_icons5.TabletPortraitIcon,
2037
- mobile_extra: import_icons5.MobileLandscapeIcon,
2038
- mobile: import_icons5.MobilePortraitIcon
2039
- };
2040
- var BreakpointIcon = ({ breakpoint }) => {
2041
- const breakpoints = (0, import_editor_responsive2.useBreakpoints)();
2042
- const currentBreakpoint = breakpoint || DEFAULT_BREAKPOINT2;
2043
- const IconComponent = breakpointIconMap[currentBreakpoint];
2044
- if (!IconComponent) {
2045
- return null;
2046
- }
2047
- const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
2048
- return /* @__PURE__ */ React21.createElement(import_ui18.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React21.createElement(IconComponent, { fontSize: SIZE3, sx: { mt: "2px" } }));
2049
- };
2050
-
2051
- // src/styles-inheritance/components/label-chip.tsx
2052
- var React22 = __toESM(require("react"));
2053
- var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
2054
- var import_icons6 = require("@elementor/icons");
2055
- var import_ui19 = require("@elementor/ui");
2056
- var import_i18n6 = require("@wordpress/i18n");
2057
- var SIZE4 = "tiny";
2058
- var LabelChip = ({ displayLabel, provider, chipColor }) => {
2059
- const isBaseStyle = provider === import_editor_styles_repository8.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
2060
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React22.createElement(import_ui19.Tooltip, { title: (0, import_i18n6.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React22.createElement(import_icons6.InfoCircleIcon, { fontSize: SIZE4 })) : void 0;
2061
- return /* @__PURE__ */ React22.createElement(
2062
- import_ui19.Chip,
2063
- {
2064
- label: displayLabel,
2065
- size: SIZE4,
2066
- color: chipColor,
2067
- variant: "standard",
2068
- state: "enabled",
2069
- icon: chipIcon,
2070
- sx: (theme) => ({
2071
- lineHeight: 1,
2072
- flexWrap: "nowrap",
2073
- alignItems: "center",
2074
- borderRadius: `${theme.shape.borderRadius * 0.75}px`,
2075
- flexDirection: "row-reverse",
2076
- ".MuiChip-label": {
2077
- overflow: "hidden",
2078
- textOverflow: "ellipsis",
2079
- whiteSpace: "nowrap"
2080
- }
2081
- })
2082
- }
2083
- );
2084
- };
2085
-
2086
- // src/styles-inheritance/components/value-component.tsx
2087
- var React23 = __toESM(require("react"));
2088
- var import_ui20 = require("@elementor/ui");
2089
- var ValueComponent = ({ index, value }) => {
2090
- return /* @__PURE__ */ React23.createElement(
2091
- import_ui20.Typography,
2092
- {
2093
- variant: "caption",
2094
- color: "text.tertiary",
2095
- sx: {
2096
- mt: "1px",
2097
- textDecoration: index === 0 ? "none" : "line-through",
2098
- overflow: "hidden",
2099
- textOverflow: "ellipsis",
2100
- whiteSpace: "nowrap"
2101
- }
2102
- },
2103
- value
2104
- );
2105
- };
2106
-
2107
- // src/styles-inheritance/components/action-icons.tsx
2108
- var React24 = __toESM(require("react"));
2109
- var import_ui21 = require("@elementor/ui");
2110
- var ActionIcons = () => /* @__PURE__ */ React24.createElement(import_ui21.Box, { display: "flex", gap: 0.5, alignItems: "center" });
2111
-
2112
2071
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
2113
- var import_react20 = require("react");
2114
- var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
2072
+ var import_react21 = require("react");
2073
+ var import_editor_styles_repository8 = require("@elementor/editor-styles-repository");
2115
2074
  var import_i18n7 = require("@wordpress/i18n");
2116
2075
  var MAXIMUM_ITEMS = 2;
2117
2076
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
2118
- const [items3, setItems] = (0, import_react20.useState)([]);
2119
- (0, import_react20.useEffect)(() => {
2077
+ const [items3, setItems] = (0, import_react21.useState)([]);
2078
+ (0, import_react21.useEffect)(() => {
2120
2079
  (async () => {
2121
2080
  const normalizedItems = await Promise.all(
2122
2081
  inheritanceChain.filter(({ style }) => style).map((item, index) => normalizeInheritanceItem(item, index, bind, resolve))
2123
2082
  );
2124
2083
  const validItems = normalizedItems.map((item) => ({
2125
2084
  ...item,
2126
- displayLabel: import_editor_styles_repository9.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n7.__)("Base", "elementor")
2085
+ displayLabel: import_editor_styles_repository8.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n7.__)("Base", "elementor")
2127
2086
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
2128
2087
  setItems(validItems);
2129
2088
  })();
2130
2089
  }, [inheritanceChain, bind, resolve]);
2131
2090
  return items3;
2132
2091
  };
2133
- var DEFAULT_BREAKPOINT3 = "desktop";
2092
+ var DEFAULT_BREAKPOINT2 = "desktop";
2134
2093
  var normalizeInheritanceItem = async (item, index, bind, resolve) => {
2135
2094
  const {
2136
2095
  variant: {
@@ -2142,7 +2101,7 @@ var normalizeInheritanceItem = async (item, index, bind, resolve) => {
2142
2101
  return {
2143
2102
  id: id ? id + (state ?? "") : index,
2144
2103
  provider: item.provider || "",
2145
- breakpoint: breakpoint ?? DEFAULT_BREAKPOINT3,
2104
+ breakpoint: breakpoint ?? DEFAULT_BREAKPOINT2,
2146
2105
  displayLabel,
2147
2106
  value: await getTransformedValue(item, bind, resolve),
2148
2107
  chipColor: getChipColor(item)
@@ -2156,7 +2115,7 @@ var getTransformedValue = async (item, bind, resolve) => {
2156
2115
  }
2157
2116
  });
2158
2117
  const value = result?.[bind] ?? result;
2159
- if ((0, import_react20.isValidElement)(value)) {
2118
+ if ((0, import_react21.isValidElement)(value)) {
2160
2119
  return value;
2161
2120
  }
2162
2121
  if (typeof value === "object") {
@@ -2169,7 +2128,7 @@ var getTransformedValue = async (item, bind, resolve) => {
2169
2128
  };
2170
2129
  var getChipColor = (item) => {
2171
2130
  const { provider = "", style } = item;
2172
- if (provider === import_editor_styles_repository9.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
2131
+ if (provider === import_editor_styles_repository8.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
2173
2132
  return "default";
2174
2133
  }
2175
2134
  if (style?.label === "local") {
@@ -2182,34 +2141,122 @@ var getChipColor = (item) => {
2182
2141
  var import_editor_canvas = require("@elementor/editor-canvas");
2183
2142
  var stylesInheritanceTransformersRegistry = (0, import_editor_canvas.createTransformersRegistry)();
2184
2143
 
2185
- // src/styles-inheritance/styles-inheritance-infotip.tsx
2186
- var SIZE5 = "tiny";
2187
- var StyleIndicatorInfotip = ({ inheritanceChain, propType, path, label, children }) => {
2188
- const [showInfotip, setShowInfotip] = (0, import_react21.useState)(false);
2189
- const toggleInfotip = () => setShowInfotip((prev) => !prev);
2190
- const closeInfotip = () => setShowInfotip(false);
2191
- const key = path.join(".");
2192
- const sectionContentRef = useSectionContentRef();
2193
- const sectionContentWidth = sectionContentRef?.current?.offsetWidth ?? 320;
2194
- const resolve = (0, import_react21.useMemo)(() => {
2195
- return (0, import_editor_canvas2.createPropsResolver)({
2196
- transformers: stylesInheritanceTransformersRegistry,
2197
- schema: { [key]: propType }
2198
- });
2199
- }, [key, propType]);
2200
- const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
2201
- const infotipContent = /* @__PURE__ */ React25.createElement(import_ui22.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React25.createElement(
2202
- import_ui22.Card,
2144
+ // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
2145
+ var React22 = __toESM(require("react"));
2146
+ var import_editor_responsive2 = require("@elementor/editor-responsive");
2147
+ var import_icons4 = require("@elementor/icons");
2148
+ var import_ui19 = require("@elementor/ui");
2149
+ var SIZE3 = "tiny";
2150
+ var DEFAULT_BREAKPOINT3 = "desktop";
2151
+ var breakpointIconMap = {
2152
+ widescreen: import_icons4.WidescreenIcon,
2153
+ desktop: import_icons4.DesktopIcon,
2154
+ laptop: import_icons4.LaptopIcon,
2155
+ tablet_extra: import_icons4.TabletLandscapeIcon,
2156
+ tablet: import_icons4.TabletPortraitIcon,
2157
+ mobile_extra: import_icons4.MobileLandscapeIcon,
2158
+ mobile: import_icons4.MobilePortraitIcon
2159
+ };
2160
+ var BreakpointIcon = ({ breakpoint }) => {
2161
+ const breakpoints = (0, import_editor_responsive2.useBreakpoints)();
2162
+ const currentBreakpoint = breakpoint || DEFAULT_BREAKPOINT3;
2163
+ const IconComponent = breakpointIconMap[currentBreakpoint];
2164
+ if (!IconComponent) {
2165
+ return null;
2166
+ }
2167
+ const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
2168
+ return /* @__PURE__ */ React22.createElement(import_ui19.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React22.createElement(IconComponent, { fontSize: SIZE3, sx: { mt: "2px" } }));
2169
+ };
2170
+
2171
+ // src/styles-inheritance/components/infotip/label-chip.tsx
2172
+ var React23 = __toESM(require("react"));
2173
+ var import_editor_styles_repository9 = require("@elementor/editor-styles-repository");
2174
+ var import_icons5 = require("@elementor/icons");
2175
+ var import_ui20 = require("@elementor/ui");
2176
+ var import_i18n8 = require("@wordpress/i18n");
2177
+ var SIZE4 = "tiny";
2178
+ var LabelChip = ({ displayLabel, provider, chipColor }) => {
2179
+ const isBaseStyle = provider === import_editor_styles_repository9.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
2180
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React23.createElement(import_ui20.Tooltip, { title: (0, import_i18n8.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React23.createElement(import_icons5.InfoCircleIcon, { fontSize: SIZE4 })) : void 0;
2181
+ return /* @__PURE__ */ React23.createElement(
2182
+ import_ui20.Chip,
2203
2183
  {
2204
- elevation: 0,
2184
+ label: displayLabel,
2185
+ size: SIZE4,
2186
+ color: chipColor,
2187
+ variant: "standard",
2188
+ state: "enabled",
2189
+ icon: chipIcon,
2190
+ sx: (theme) => ({
2191
+ lineHeight: 1,
2192
+ flexWrap: "nowrap",
2193
+ alignItems: "center",
2194
+ borderRadius: `${theme.shape.borderRadius * 0.75}px`,
2195
+ flexDirection: "row-reverse",
2196
+ ".MuiChip-label": {
2197
+ overflow: "hidden",
2198
+ textOverflow: "ellipsis",
2199
+ whiteSpace: "nowrap"
2200
+ }
2201
+ })
2202
+ }
2203
+ );
2204
+ };
2205
+
2206
+ // src/styles-inheritance/components/infotip/value-component.tsx
2207
+ var React24 = __toESM(require("react"));
2208
+ var import_ui21 = require("@elementor/ui");
2209
+ var ValueComponent = ({ index, value }) => {
2210
+ return /* @__PURE__ */ React24.createElement(
2211
+ import_ui21.Typography,
2212
+ {
2213
+ variant: "caption",
2214
+ color: "text.tertiary",
2215
+ sx: {
2216
+ mt: "1px",
2217
+ textDecoration: index === 0 ? "none" : "line-through",
2218
+ overflow: "hidden",
2219
+ textOverflow: "ellipsis",
2220
+ whiteSpace: "nowrap"
2221
+ }
2222
+ },
2223
+ value
2224
+ );
2225
+ };
2226
+
2227
+ // src/styles-inheritance/components/infotip/action-icons.tsx
2228
+ var React25 = __toESM(require("react"));
2229
+ var import_ui22 = require("@elementor/ui");
2230
+ var ActionIcons = () => /* @__PURE__ */ React25.createElement(import_ui22.Box, { display: "flex", gap: 0.5, alignItems: "center" });
2231
+
2232
+ // src/styles-inheritance/components/styles-inheritance-infotip.tsx
2233
+ var SIZE5 = "tiny";
2234
+ var StylesInheritanceInfotip = ({ inheritanceChain, propType, path, label, children }) => {
2235
+ const [showInfotip, setShowInfotip] = (0, import_react22.useState)(false);
2236
+ const toggleInfotip = () => setShowInfotip((prev) => !prev);
2237
+ const closeInfotip = () => setShowInfotip(false);
2238
+ const key = path.join(".");
2239
+ const sectionContentRef = useSectionContentRef();
2240
+ const sectionContentWidth = sectionContentRef?.current?.offsetWidth ?? 320;
2241
+ const resolve = (0, import_react22.useMemo)(() => {
2242
+ return (0, import_editor_canvas2.createPropsResolver)({
2243
+ transformers: stylesInheritanceTransformersRegistry,
2244
+ schema: { [key]: propType }
2245
+ });
2246
+ }, [key, propType]);
2247
+ const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
2248
+ const infotipContent = /* @__PURE__ */ React26.createElement(import_ui23.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React26.createElement(
2249
+ import_ui23.Card,
2250
+ {
2251
+ elevation: 0,
2205
2252
  sx: {
2206
2253
  width: `${sectionContentWidth}px`,
2207
2254
  maxWidth: 500,
2208
2255
  overflowX: "hidden"
2209
2256
  }
2210
2257
  },
2211
- /* @__PURE__ */ React25.createElement(
2212
- import_ui22.CardContent,
2258
+ /* @__PURE__ */ React26.createElement(
2259
+ import_ui23.CardContent,
2213
2260
  {
2214
2261
  sx: {
2215
2262
  display: "flex",
@@ -2221,49 +2268,49 @@ var StyleIndicatorInfotip = ({ inheritanceChain, propType, path, label, children
2221
2268
  }
2222
2269
  }
2223
2270
  },
2224
- /* @__PURE__ */ React25.createElement(import_ui22.Stack, { direction: "row", alignItems: "center", sx: { pl: 1.5, pr: 0.5, minHeight: 36, py: 0.5 } }, /* @__PURE__ */ React25.createElement(import_ui22.Typography, { variant: "subtitle2", color: "secondary", sx: { fontSize: 12, fontWeight: "500" } }, (0, import_i18n8.__)("Style origin", "elementor")), /* @__PURE__ */ React25.createElement(
2225
- import_ui22.CloseButton,
2271
+ /* @__PURE__ */ React26.createElement(import_ui23.Stack, { direction: "row", alignItems: "center", sx: { pl: 1.5, pr: 0.5, minHeight: 36, py: 0.5 } }, /* @__PURE__ */ React26.createElement(import_ui23.Typography, { variant: "subtitle2", color: "secondary", sx: { fontSize: 12, fontWeight: "500" } }, (0, import_i18n9.__)("Style origin", "elementor")), /* @__PURE__ */ React26.createElement(
2272
+ import_ui23.CloseButton,
2226
2273
  {
2227
2274
  slotProps: { icon: { fontSize: SIZE5 } },
2228
2275
  sx: { ml: "auto" },
2229
2276
  onClick: closeInfotip
2230
2277
  }
2231
2278
  )),
2232
- /* @__PURE__ */ React25.createElement(
2233
- import_ui22.Stack,
2279
+ /* @__PURE__ */ React26.createElement(
2280
+ import_ui23.Stack,
2234
2281
  {
2235
2282
  gap: 1.5,
2236
2283
  sx: { pl: 2, pr: 1, pb: 2, overflowX: "hidden", overflowY: "auto" },
2237
2284
  role: "list"
2238
2285
  },
2239
2286
  items3.map((item, index) => {
2240
- return /* @__PURE__ */ React25.createElement(
2241
- import_ui22.Box,
2287
+ return /* @__PURE__ */ React26.createElement(
2288
+ import_ui23.Box,
2242
2289
  {
2243
2290
  key: item.id,
2244
2291
  display: "flex",
2245
2292
  gap: 0.5,
2246
2293
  role: "listitem",
2247
- "aria-label": (0, import_i18n8.__)("Inheritance item: %s", "elementor").replace(
2294
+ "aria-label": (0, import_i18n9.__)("Inheritance item: %s", "elementor").replace(
2248
2295
  "%s",
2249
2296
  item.displayLabel
2250
2297
  )
2251
2298
  },
2252
- /* @__PURE__ */ React25.createElement(import_ui22.Box, { display: "flex", gap: 0.5, sx: { flexWrap: "wrap", width: "100%" } }, /* @__PURE__ */ React25.createElement(BreakpointIcon, { breakpoint: item.breakpoint }), /* @__PURE__ */ React25.createElement(
2299
+ /* @__PURE__ */ React26.createElement(import_ui23.Box, { display: "flex", gap: 0.5, sx: { flexWrap: "wrap", width: "100%" } }, /* @__PURE__ */ React26.createElement(BreakpointIcon, { breakpoint: item.breakpoint }), /* @__PURE__ */ React26.createElement(
2253
2300
  LabelChip,
2254
2301
  {
2255
2302
  displayLabel: item.displayLabel,
2256
2303
  provider: item.provider,
2257
2304
  chipColor: item.chipColor
2258
2305
  }
2259
- ), /* @__PURE__ */ React25.createElement(ValueComponent, { index, value: item.value })),
2260
- /* @__PURE__ */ React25.createElement(ActionIcons, null)
2306
+ ), /* @__PURE__ */ React26.createElement(ValueComponent, { index, value: item.value })),
2307
+ /* @__PURE__ */ React26.createElement(ActionIcons, null)
2261
2308
  );
2262
2309
  })
2263
2310
  )
2264
2311
  )
2265
2312
  ));
2266
- return /* @__PURE__ */ React25.createElement(TooltipOrInfotip, { showInfotip, onClose: closeInfotip, infotipContent }, /* @__PURE__ */ React25.createElement(import_ui22.IconButton, { onClick: toggleInfotip, "aria-label": label, sx: { my: "-1px" } }, children));
2313
+ return /* @__PURE__ */ React26.createElement(TooltipOrInfotip, { showInfotip, onClose: closeInfotip, infotipContent }, /* @__PURE__ */ React26.createElement(import_ui23.IconButton, { onClick: toggleInfotip, "aria-label": label, sx: { my: "-1px" } }, children));
2267
2314
  };
2268
2315
  function TooltipOrInfotip({
2269
2316
  children,
@@ -2274,8 +2321,8 @@ function TooltipOrInfotip({
2274
2321
  const { isSiteRtl } = useDirection();
2275
2322
  const forceInfotipAlignLeft = isSiteRtl ? 9999999 : -9999999;
2276
2323
  if (showInfotip) {
2277
- return /* @__PURE__ */ React25.createElement(React25.Fragment, null, /* @__PURE__ */ React25.createElement(
2278
- import_ui22.Backdrop,
2324
+ return /* @__PURE__ */ React26.createElement(React26.Fragment, null, /* @__PURE__ */ React26.createElement(
2325
+ import_ui23.Backdrop,
2279
2326
  {
2280
2327
  open: showInfotip,
2281
2328
  onClick: onClose,
@@ -2284,8 +2331,8 @@ function TooltipOrInfotip({
2284
2331
  zIndex: (theme) => theme.zIndex.modal - 1
2285
2332
  }
2286
2333
  }
2287
- ), /* @__PURE__ */ React25.createElement(
2288
- import_ui22.Infotip,
2334
+ ), /* @__PURE__ */ React26.createElement(
2335
+ import_ui23.Infotip,
2289
2336
  {
2290
2337
  placement: "top",
2291
2338
  content: infotipContent,
@@ -2311,14 +2358,14 @@ function TooltipOrInfotip({
2311
2358
  children
2312
2359
  ));
2313
2360
  }
2314
- return /* @__PURE__ */ React25.createElement(import_ui22.Tooltip, { title: (0, import_i18n8.__)("Style origin", "elementor"), placement: "top" }, children);
2361
+ return /* @__PURE__ */ React26.createElement(import_ui23.Tooltip, { title: (0, import_i18n9.__)("Style origin", "elementor"), placement: "top" }, children);
2315
2362
  }
2316
2363
 
2317
- // src/styles-inheritance/styles-inheritance-indicator.tsx
2364
+ // src/styles-inheritance/components/styles-inheritance-indicator.tsx
2318
2365
  var StylesInheritanceIndicator = () => {
2319
2366
  const { path, propType } = (0, import_editor_controls5.useBoundProp)();
2320
2367
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
2321
- const isUsingNestedProps = (0, import_editor_v1_adapters6.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
2368
+ const isUsingNestedProps = (0, import_editor_v1_adapters7.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
2322
2369
  const finalPath = isUsingNestedProps ? path : path.slice(0, 1);
2323
2370
  const inheritanceChain = useStylesInheritanceChain(finalPath);
2324
2371
  if (!inheritanceChain.length) {
@@ -2341,27 +2388,27 @@ var StylesInheritanceIndicator = () => {
2341
2388
  const label = getLabel({ isFinalValue, hasValue });
2342
2389
  const variantType = getVariant({ isFinalValue, hasValue, currentStyleProvider });
2343
2390
  if (!isUsingIndicatorPopover()) {
2344
- return /* @__PURE__ */ React26.createElement(import_ui23.Tooltip, { title: (0, import_i18n9.__)("Style origin", "elementor"), placement: "top" }, /* @__PURE__ */ React26.createElement(StyleIndicator, { variant: variantType, "aria-label": label }));
2391
+ return /* @__PURE__ */ React27.createElement(import_ui24.Tooltip, { title: (0, import_i18n10.__)("Style origin", "elementor"), placement: "top" }, /* @__PURE__ */ React27.createElement(StyleIndicator, { variant: variantType, "aria-label": label }));
2345
2392
  }
2346
- return /* @__PURE__ */ React26.createElement(
2347
- StyleIndicatorInfotip,
2393
+ return /* @__PURE__ */ React27.createElement(
2394
+ StylesInheritanceInfotip,
2348
2395
  {
2349
2396
  inheritanceChain,
2350
2397
  path: finalPath,
2351
2398
  propType,
2352
2399
  label
2353
2400
  },
2354
- /* @__PURE__ */ React26.createElement(StyleIndicator, { variant: variantType })
2401
+ /* @__PURE__ */ React27.createElement(StyleIndicator, { variant: variantType })
2355
2402
  );
2356
2403
  };
2357
2404
  var getLabel = ({ isFinalValue, hasValue }) => {
2358
2405
  if (isFinalValue) {
2359
- return (0, import_i18n9.__)("This is the final value", "elementor");
2406
+ return (0, import_i18n10.__)("This is the final value", "elementor");
2360
2407
  }
2361
2408
  if (hasValue) {
2362
- return (0, import_i18n9.__)("This value is overridden by another style", "elementor");
2409
+ return (0, import_i18n10.__)("This value is overridden by another style", "elementor");
2363
2410
  }
2364
- return (0, import_i18n9.__)("This has value from another style", "elementor");
2411
+ return (0, import_i18n10.__)("This has value from another style", "elementor");
2365
2412
  };
2366
2413
  var getVariant = ({
2367
2414
  isFinalValue,
@@ -2388,7 +2435,7 @@ var StylesField = ({ bind, placeholder, children }) => {
2388
2435
  const setValues = (newValue) => {
2389
2436
  setValue(newValue[bind]);
2390
2437
  };
2391
- return /* @__PURE__ */ React27.createElement(
2438
+ return /* @__PURE__ */ React28.createElement(
2392
2439
  import_editor_controls6.ControlAdornmentsProvider,
2393
2440
  {
2394
2441
  items: [
@@ -2398,7 +2445,7 @@ var StylesField = ({ bind, placeholder, children }) => {
2398
2445
  }
2399
2446
  ]
2400
2447
  },
2401
- /* @__PURE__ */ React27.createElement(
2448
+ /* @__PURE__ */ React28.createElement(
2402
2449
  import_editor_controls6.PropProvider,
2403
2450
  {
2404
2451
  propType,
@@ -2407,50 +2454,41 @@ var StylesField = ({ bind, placeholder, children }) => {
2407
2454
  placeholder: placeholderValues,
2408
2455
  disabled: !canEdit
2409
2456
  },
2410
- /* @__PURE__ */ React27.createElement(import_editor_controls6.PropKeyProvider, { bind }, children)
2457
+ /* @__PURE__ */ React28.createElement(import_editor_controls6.PropKeyProvider, { bind }, children)
2411
2458
  )
2412
2459
  );
2413
2460
  };
2414
2461
 
2415
2462
  // src/components/style-sections/background-section/background-section.tsx
2416
2463
  var BackgroundSection = () => {
2417
- return /* @__PURE__ */ React28.createElement(SectionContent, null, /* @__PURE__ */ React28.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React28.createElement(import_editor_controls7.BackgroundControl, null)));
2464
+ return /* @__PURE__ */ React29.createElement(SectionContent, null, /* @__PURE__ */ React29.createElement(StylesField, { bind: "background" }, /* @__PURE__ */ React29.createElement(import_editor_controls7.BackgroundControl, null)));
2418
2465
  };
2419
2466
 
2420
2467
  // src/components/style-sections/border-section/border-section.tsx
2421
- var React37 = __toESM(require("react"));
2468
+ var React38 = __toESM(require("react"));
2422
2469
 
2423
2470
  // src/components/panel-divider.tsx
2424
- var React29 = __toESM(require("react"));
2425
- var import_ui24 = require("@elementor/ui");
2426
- var PanelDivider = () => /* @__PURE__ */ React29.createElement(import_ui24.Divider, { sx: { my: 0.5 } });
2471
+ var React30 = __toESM(require("react"));
2472
+ var import_ui25 = require("@elementor/ui");
2473
+ var PanelDivider = () => /* @__PURE__ */ React30.createElement(import_ui25.Divider, { sx: { my: 0.5 } });
2427
2474
 
2428
2475
  // src/components/style-sections/border-section/border-field.tsx
2429
- var React35 = __toESM(require("react"));
2430
- var import_i18n13 = require("@wordpress/i18n");
2476
+ var React36 = __toESM(require("react"));
2477
+ var import_editor_controls12 = require("@elementor/editor-controls");
2478
+ var import_i18n14 = require("@wordpress/i18n");
2431
2479
 
2432
2480
  // src/components/add-or-remove-content.tsx
2433
2481
  var React31 = __toESM(require("react"));
2434
- var import_icons7 = require("@elementor/icons");
2482
+ var import_icons6 = require("@elementor/icons");
2435
2483
  var import_ui26 = require("@elementor/ui");
2436
-
2437
- // src/components/control-label.tsx
2438
- var React30 = __toESM(require("react"));
2439
- var import_editor_controls8 = require("@elementor/editor-controls");
2440
- var import_ui25 = require("@elementor/ui");
2441
- var ControlLabel = ({ children }) => {
2442
- return /* @__PURE__ */ React30.createElement(import_ui25.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 1 }, /* @__PURE__ */ React30.createElement(import_editor_controls8.ControlFormLabel, null, children), /* @__PURE__ */ React30.createElement(import_editor_controls8.ControlAdornments, null));
2443
- };
2444
-
2445
- // src/components/add-or-remove-content.tsx
2446
2484
  var SIZE6 = "tiny";
2447
2485
  var AddOrRemoveContent = ({
2448
2486
  isAdded,
2449
- label,
2450
2487
  onAdd,
2451
2488
  onRemove,
2452
2489
  children,
2453
- disabled
2490
+ disabled,
2491
+ renderLabel
2454
2492
  }) => {
2455
2493
  return /* @__PURE__ */ React31.createElement(SectionContent, null, /* @__PURE__ */ React31.createElement(
2456
2494
  import_ui26.Stack,
@@ -2462,80 +2500,90 @@ var AddOrRemoveContent = ({
2462
2500
  marginInlineEnd: -0.75
2463
2501
  }
2464
2502
  },
2465
- /* @__PURE__ */ React31.createElement(ControlLabel, null, label),
2466
- isAdded ? /* @__PURE__ */ React31.createElement(import_ui26.IconButton, { size: SIZE6, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React31.createElement(import_icons7.MinusIcon, { fontSize: SIZE6 })) : /* @__PURE__ */ React31.createElement(import_ui26.IconButton, { size: SIZE6, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React31.createElement(import_icons7.PlusIcon, { fontSize: SIZE6 }))
2503
+ renderLabel(),
2504
+ isAdded ? /* @__PURE__ */ React31.createElement(import_ui26.IconButton, { size: SIZE6, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React31.createElement(import_icons6.MinusIcon, { fontSize: SIZE6 })) : /* @__PURE__ */ React31.createElement(import_ui26.IconButton, { size: SIZE6, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React31.createElement(import_icons6.PlusIcon, { fontSize: SIZE6 }))
2467
2505
  ), /* @__PURE__ */ React31.createElement(import_ui26.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React31.createElement(SectionContent, null, children)));
2468
2506
  };
2469
2507
 
2470
2508
  // src/components/style-sections/border-section/border-color-field.tsx
2471
- var React32 = __toESM(require("react"));
2509
+ var React33 = __toESM(require("react"));
2472
2510
  var import_editor_controls9 = require("@elementor/editor-controls");
2511
+ var import_ui28 = require("@elementor/ui");
2512
+ var import_i18n11 = require("@wordpress/i18n");
2513
+
2514
+ // src/components/control-label.tsx
2515
+ var React32 = __toESM(require("react"));
2516
+ var import_editor_controls8 = require("@elementor/editor-controls");
2473
2517
  var import_ui27 = require("@elementor/ui");
2474
- var import_i18n10 = require("@wordpress/i18n");
2518
+ var ControlLabel = ({ children }) => {
2519
+ return /* @__PURE__ */ React32.createElement(import_ui27.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React32.createElement(import_editor_controls8.ControlFormLabel, null, children), /* @__PURE__ */ React32.createElement(import_editor_controls8.ControlAdornments, null));
2520
+ };
2521
+
2522
+ // src/components/style-sections/border-section/border-color-field.tsx
2475
2523
  var BorderColorField = () => {
2476
- return /* @__PURE__ */ React32.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React32.createElement(import_ui27.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React32.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(ControlLabel, null, (0, import_i18n10.__)("Border color", "elementor"))), /* @__PURE__ */ React32.createElement(import_ui27.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React32.createElement(import_editor_controls9.ColorControl, null))));
2524
+ return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-color" }, /* @__PURE__ */ React33.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React33.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(ControlLabel, null, (0, import_i18n11.__)("Border color", "elementor"))), /* @__PURE__ */ React33.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(import_editor_controls9.ColorControl, null))));
2477
2525
  };
2478
2526
 
2479
2527
  // src/components/style-sections/border-section/border-style-field.tsx
2480
- var React33 = __toESM(require("react"));
2528
+ var React34 = __toESM(require("react"));
2481
2529
  var import_editor_controls10 = require("@elementor/editor-controls");
2482
- var import_ui28 = require("@elementor/ui");
2483
- var import_i18n11 = require("@wordpress/i18n");
2530
+ var import_ui29 = require("@elementor/ui");
2531
+ var import_i18n12 = require("@wordpress/i18n");
2484
2532
  var borderStyles = [
2485
- { value: "none", label: (0, import_i18n11.__)("None", "elementor") },
2486
- { value: "solid", label: (0, import_i18n11.__)("Solid", "elementor") },
2487
- { value: "dashed", label: (0, import_i18n11.__)("Dashed", "elementor") },
2488
- { value: "dotted", label: (0, import_i18n11.__)("Dotted", "elementor") },
2489
- { value: "double", label: (0, import_i18n11.__)("Double", "elementor") },
2490
- { value: "groove", label: (0, import_i18n11.__)("Groove", "elementor") },
2491
- { value: "ridge", label: (0, import_i18n11.__)("Ridge", "elementor") },
2492
- { value: "inset", label: (0, import_i18n11.__)("Inset", "elementor") },
2493
- { value: "outset", label: (0, import_i18n11.__)("Outset", "elementor") }
2533
+ { value: "none", label: (0, import_i18n12.__)("None", "elementor") },
2534
+ { value: "solid", label: (0, import_i18n12.__)("Solid", "elementor") },
2535
+ { value: "dashed", label: (0, import_i18n12.__)("Dashed", "elementor") },
2536
+ { value: "dotted", label: (0, import_i18n12.__)("Dotted", "elementor") },
2537
+ { value: "double", label: (0, import_i18n12.__)("Double", "elementor") },
2538
+ { value: "groove", label: (0, import_i18n12.__)("Groove", "elementor") },
2539
+ { value: "ridge", label: (0, import_i18n12.__)("Ridge", "elementor") },
2540
+ { value: "inset", label: (0, import_i18n12.__)("Inset", "elementor") },
2541
+ { value: "outset", label: (0, import_i18n12.__)("Outset", "elementor") }
2494
2542
  ];
2495
2543
  var BorderStyleField = () => {
2496
- return /* @__PURE__ */ React33.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React33.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React33.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React33.createElement(ControlLabel, null, (0, import_i18n11.__)("Border type", "elementor"))), /* @__PURE__ */ React33.createElement(import_ui28.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React33.createElement(import_editor_controls10.SelectControl, { options: borderStyles }))));
2544
+ return /* @__PURE__ */ React34.createElement(StylesField, { bind: "border-style" }, /* @__PURE__ */ React34.createElement(import_ui29.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React34.createElement(import_ui29.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React34.createElement(ControlLabel, null, (0, import_i18n12.__)("Border type", "elementor"))), /* @__PURE__ */ React34.createElement(import_ui29.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React34.createElement(import_editor_controls10.SelectControl, { options: borderStyles }))));
2497
2545
  };
2498
2546
 
2499
2547
  // src/components/style-sections/border-section/border-width-field.tsx
2500
- var React34 = __toESM(require("react"));
2548
+ var React35 = __toESM(require("react"));
2501
2549
  var import_editor_controls11 = require("@elementor/editor-controls");
2502
2550
  var import_editor_props6 = require("@elementor/editor-props");
2503
- var import_icons8 = require("@elementor/icons");
2504
- var import_ui29 = require("@elementor/ui");
2505
- var import_i18n12 = require("@wordpress/i18n");
2506
- var InlineStartIcon = (0, import_ui29.withDirection)(import_icons8.SideRightIcon);
2507
- var InlineEndIcon = (0, import_ui29.withDirection)(import_icons8.SideLeftIcon);
2551
+ var import_icons7 = require("@elementor/icons");
2552
+ var import_ui30 = require("@elementor/ui");
2553
+ var import_i18n13 = require("@wordpress/i18n");
2554
+ var InlineStartIcon = (0, import_ui30.withDirection)(import_icons7.SideRightIcon);
2555
+ var InlineEndIcon = (0, import_ui30.withDirection)(import_icons7.SideLeftIcon);
2508
2556
  var getEdges = (isSiteRtl) => [
2509
2557
  {
2510
- label: (0, import_i18n12.__)("Top", "elementor"),
2511
- icon: /* @__PURE__ */ React34.createElement(import_icons8.SideTopIcon, { fontSize: "tiny" }),
2558
+ label: (0, import_i18n13.__)("Top", "elementor"),
2559
+ icon: /* @__PURE__ */ React35.createElement(import_icons7.SideTopIcon, { fontSize: "tiny" }),
2512
2560
  bind: "block-start"
2513
2561
  },
2514
2562
  {
2515
- label: isSiteRtl ? (0, import_i18n12.__)("Left", "elementor") : (0, import_i18n12.__)("Right", "elementor"),
2516
- icon: /* @__PURE__ */ React34.createElement(InlineStartIcon, { fontSize: "tiny" }),
2563
+ label: isSiteRtl ? (0, import_i18n13.__)("Left", "elementor") : (0, import_i18n13.__)("Right", "elementor"),
2564
+ icon: /* @__PURE__ */ React35.createElement(InlineStartIcon, { fontSize: "tiny" }),
2517
2565
  bind: "inline-end"
2518
2566
  },
2519
2567
  {
2520
- label: (0, import_i18n12.__)("Bottom", "elementor"),
2521
- icon: /* @__PURE__ */ React34.createElement(import_icons8.SideBottomIcon, { fontSize: "tiny" }),
2568
+ label: (0, import_i18n13.__)("Bottom", "elementor"),
2569
+ icon: /* @__PURE__ */ React35.createElement(import_icons7.SideBottomIcon, { fontSize: "tiny" }),
2522
2570
  bind: "block-end"
2523
2571
  },
2524
2572
  {
2525
- label: isSiteRtl ? (0, import_i18n12.__)("Right", "elementor") : (0, import_i18n12.__)("Left", "elementor"),
2526
- icon: /* @__PURE__ */ React34.createElement(InlineEndIcon, { fontSize: "tiny" }),
2573
+ label: isSiteRtl ? (0, import_i18n13.__)("Right", "elementor") : (0, import_i18n13.__)("Left", "elementor"),
2574
+ icon: /* @__PURE__ */ React35.createElement(InlineEndIcon, { fontSize: "tiny" }),
2527
2575
  bind: "inline-start"
2528
2576
  }
2529
2577
  ];
2530
2578
  var BorderWidthField = () => {
2531
2579
  const { isSiteRtl } = useDirection();
2532
- return /* @__PURE__ */ React34.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React34.createElement(
2580
+ return /* @__PURE__ */ React35.createElement(StylesField, { bind: "border-width" }, /* @__PURE__ */ React35.createElement(
2533
2581
  import_editor_controls11.EqualUnequalSizesControl,
2534
2582
  {
2535
2583
  items: getEdges(isSiteRtl),
2536
- label: (0, import_i18n12.__)("Border width", "elementor"),
2537
- icon: /* @__PURE__ */ React34.createElement(import_icons8.SideAllIcon, { fontSize: "tiny" }),
2538
- tooltipLabel: (0, import_i18n12.__)("Adjust borders", "elementor"),
2584
+ label: (0, import_i18n13.__)("Border width", "elementor"),
2585
+ icon: /* @__PURE__ */ React35.createElement(import_icons7.SideAllIcon, { fontSize: "tiny" }),
2586
+ tooltipLabel: (0, import_i18n13.__)("Adjust borders", "elementor"),
2539
2587
  multiSizePropTypeUtil: import_editor_props6.borderWidthPropTypeUtil
2540
2588
  }
2541
2589
  ));
@@ -2561,97 +2609,97 @@ var BorderField = () => {
2561
2609
  });
2562
2610
  };
2563
2611
  const hasBorder = Object.values(border ?? {}).some(Boolean);
2564
- return /* @__PURE__ */ React35.createElement(
2612
+ return /* @__PURE__ */ React36.createElement(
2565
2613
  AddOrRemoveContent,
2566
2614
  {
2567
- label: (0, import_i18n13.__)("Border", "elementor"),
2568
2615
  isAdded: hasBorder,
2569
2616
  onAdd: addBorder,
2570
2617
  onRemove: removeBorder,
2571
- disabled: !canEdit
2618
+ disabled: !canEdit,
2619
+ renderLabel: () => /* @__PURE__ */ React36.createElement(import_editor_controls12.ControlFormLabel, null, (0, import_i18n14.__)("Border", "elementor"))
2572
2620
  },
2573
- /* @__PURE__ */ React35.createElement(BorderWidthField, null),
2574
- /* @__PURE__ */ React35.createElement(BorderColorField, null),
2575
- /* @__PURE__ */ React35.createElement(BorderStyleField, null)
2621
+ /* @__PURE__ */ React36.createElement(BorderWidthField, null),
2622
+ /* @__PURE__ */ React36.createElement(BorderColorField, null),
2623
+ /* @__PURE__ */ React36.createElement(BorderStyleField, null)
2576
2624
  );
2577
2625
  };
2578
2626
 
2579
2627
  // src/components/style-sections/border-section/border-radius-field.tsx
2580
- var React36 = __toESM(require("react"));
2581
- var import_editor_controls12 = require("@elementor/editor-controls");
2628
+ var React37 = __toESM(require("react"));
2629
+ var import_editor_controls13 = require("@elementor/editor-controls");
2582
2630
  var import_editor_props7 = require("@elementor/editor-props");
2583
- var import_icons9 = require("@elementor/icons");
2584
- var import_ui30 = require("@elementor/ui");
2585
- var import_i18n14 = require("@wordpress/i18n");
2586
- var StartStartIcon = (0, import_ui30.withDirection)(import_icons9.RadiusTopLeftIcon);
2587
- var StartEndIcon = (0, import_ui30.withDirection)(import_icons9.RadiusTopRightIcon);
2588
- var EndStartIcon = (0, import_ui30.withDirection)(import_icons9.RadiusBottomLeftIcon);
2589
- var EndEndIcon = (0, import_ui30.withDirection)(import_icons9.RadiusBottomRightIcon);
2590
- var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n14.__)("Top right", "elementor") : (0, import_i18n14.__)("Top left", "elementor");
2591
- var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n14.__)("Top left", "elementor") : (0, import_i18n14.__)("Top right", "elementor");
2592
- var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n14.__)("Bottom right", "elementor") : (0, import_i18n14.__)("Bottom left", "elementor");
2593
- var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n14.__)("Bottom left", "elementor") : (0, import_i18n14.__)("Bottom right", "elementor");
2631
+ var import_icons8 = require("@elementor/icons");
2632
+ var import_ui31 = require("@elementor/ui");
2633
+ var import_i18n15 = require("@wordpress/i18n");
2634
+ var StartStartIcon = (0, import_ui31.withDirection)(import_icons8.RadiusTopLeftIcon);
2635
+ var StartEndIcon = (0, import_ui31.withDirection)(import_icons8.RadiusTopRightIcon);
2636
+ var EndStartIcon = (0, import_ui31.withDirection)(import_icons8.RadiusBottomLeftIcon);
2637
+ var EndEndIcon = (0, import_ui31.withDirection)(import_icons8.RadiusBottomRightIcon);
2638
+ var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n15.__)("Top right", "elementor") : (0, import_i18n15.__)("Top left", "elementor");
2639
+ var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n15.__)("Top left", "elementor") : (0, import_i18n15.__)("Top right", "elementor");
2640
+ var getEndStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n15.__)("Bottom right", "elementor") : (0, import_i18n15.__)("Bottom left", "elementor");
2641
+ var getEndEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n15.__)("Bottom left", "elementor") : (0, import_i18n15.__)("Bottom right", "elementor");
2594
2642
  var getCorners = (isSiteRtl) => [
2595
2643
  {
2596
2644
  label: getStartStartLabel(isSiteRtl),
2597
- icon: /* @__PURE__ */ React36.createElement(StartStartIcon, { fontSize: "tiny" }),
2645
+ icon: /* @__PURE__ */ React37.createElement(StartStartIcon, { fontSize: "tiny" }),
2598
2646
  bind: "start-start"
2599
2647
  },
2600
2648
  {
2601
2649
  label: getStartEndLabel(isSiteRtl),
2602
- icon: /* @__PURE__ */ React36.createElement(StartEndIcon, { fontSize: "tiny" }),
2650
+ icon: /* @__PURE__ */ React37.createElement(StartEndIcon, { fontSize: "tiny" }),
2603
2651
  bind: "start-end"
2604
2652
  },
2605
2653
  {
2606
2654
  label: getEndStartLabel(isSiteRtl),
2607
- icon: /* @__PURE__ */ React36.createElement(EndStartIcon, { fontSize: "tiny" }),
2655
+ icon: /* @__PURE__ */ React37.createElement(EndStartIcon, { fontSize: "tiny" }),
2608
2656
  bind: "end-start"
2609
2657
  },
2610
2658
  {
2611
2659
  label: getEndEndLabel(isSiteRtl),
2612
- icon: /* @__PURE__ */ React36.createElement(EndEndIcon, { fontSize: "tiny" }),
2660
+ icon: /* @__PURE__ */ React37.createElement(EndEndIcon, { fontSize: "tiny" }),
2613
2661
  bind: "end-end"
2614
2662
  }
2615
2663
  ];
2616
2664
  var BorderRadiusField = () => {
2617
2665
  const { isSiteRtl } = useDirection();
2618
- return /* @__PURE__ */ React36.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React36.createElement(
2619
- import_editor_controls12.EqualUnequalSizesControl,
2666
+ return /* @__PURE__ */ React37.createElement(StylesField, { bind: "border-radius" }, /* @__PURE__ */ React37.createElement(
2667
+ import_editor_controls13.EqualUnequalSizesControl,
2620
2668
  {
2621
2669
  items: getCorners(isSiteRtl),
2622
- label: (0, import_i18n14.__)("Border radius", "elementor"),
2623
- icon: /* @__PURE__ */ React36.createElement(import_icons9.BorderCornersIcon, { fontSize: "tiny" }),
2624
- tooltipLabel: (0, import_i18n14.__)("Adjust corners", "elementor"),
2670
+ label: (0, import_i18n15.__)("Border radius", "elementor"),
2671
+ icon: /* @__PURE__ */ React37.createElement(import_icons8.BorderCornersIcon, { fontSize: "tiny" }),
2672
+ tooltipLabel: (0, import_i18n15.__)("Adjust corners", "elementor"),
2625
2673
  multiSizePropTypeUtil: import_editor_props7.borderRadiusPropTypeUtil
2626
2674
  }
2627
2675
  ));
2628
2676
  };
2629
2677
 
2630
2678
  // src/components/style-sections/border-section/border-section.tsx
2631
- var BorderSection = () => /* @__PURE__ */ React37.createElement(SectionContent, null, /* @__PURE__ */ React37.createElement(BorderRadiusField, null), /* @__PURE__ */ React37.createElement(PanelDivider, null), /* @__PURE__ */ React37.createElement(BorderField, null));
2679
+ var BorderSection = () => /* @__PURE__ */ React38.createElement(SectionContent, null, /* @__PURE__ */ React38.createElement(BorderRadiusField, null), /* @__PURE__ */ React38.createElement(PanelDivider, null), /* @__PURE__ */ React38.createElement(BorderField, null));
2632
2680
 
2633
2681
  // src/components/style-sections/effects-section/effects-section.tsx
2634
- var React38 = __toESM(require("react"));
2635
- var import_editor_controls13 = require("@elementor/editor-controls");
2682
+ var React39 = __toESM(require("react"));
2683
+ var import_editor_controls14 = require("@elementor/editor-controls");
2636
2684
  var EffectsSection = () => {
2637
- return /* @__PURE__ */ React38.createElement(SectionContent, null, /* @__PURE__ */ React38.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React38.createElement(import_editor_controls13.BoxShadowRepeaterControl, null)));
2685
+ return /* @__PURE__ */ React39.createElement(SectionContent, null, /* @__PURE__ */ React39.createElement(StylesField, { bind: "box-shadow" }, /* @__PURE__ */ React39.createElement(import_editor_controls14.BoxShadowRepeaterControl, null)));
2638
2686
  };
2639
2687
 
2640
2688
  // src/components/style-sections/layout-section/layout-section.tsx
2641
- var React50 = __toESM(require("react"));
2642
- var import_editor_controls24 = require("@elementor/editor-controls");
2689
+ var React51 = __toESM(require("react"));
2690
+ var import_editor_controls25 = require("@elementor/editor-controls");
2643
2691
  var import_editor_elements7 = require("@elementor/editor-elements");
2644
- var import_i18n25 = require("@wordpress/i18n");
2692
+ var import_i18n26 = require("@wordpress/i18n");
2645
2693
 
2646
2694
  // src/hooks/use-computed-style.ts
2647
- var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
2695
+ var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
2648
2696
  function useComputedStyle(elementId) {
2649
- return (0, import_editor_v1_adapters7.__privateUseListenTo)(
2697
+ return (0, import_editor_v1_adapters8.__privateUseListenTo)(
2650
2698
  [
2651
- (0, import_editor_v1_adapters7.windowEvent)("elementor/device-mode/change"),
2652
- (0, import_editor_v1_adapters7.commandEndEvent)("document/elements/reset-style"),
2653
- (0, import_editor_v1_adapters7.commandEndEvent)("document/elements/settings"),
2654
- (0, import_editor_v1_adapters7.commandEndEvent)("document/elements/paste-style")
2699
+ (0, import_editor_v1_adapters8.windowEvent)("elementor/device-mode/change"),
2700
+ (0, import_editor_v1_adapters8.commandEndEvent)("document/elements/reset-style"),
2701
+ (0, import_editor_v1_adapters8.commandEndEvent)("document/elements/settings"),
2702
+ (0, import_editor_v1_adapters8.commandEndEvent)("document/elements/paste-style")
2655
2703
  ],
2656
2704
  () => {
2657
2705
  if (!elementId) {
@@ -2669,16 +2717,16 @@ function useComputedStyle(elementId) {
2669
2717
  }
2670
2718
 
2671
2719
  // src/components/style-sections/layout-section/align-content-field.tsx
2672
- var React40 = __toESM(require("react"));
2673
- var import_editor_controls14 = require("@elementor/editor-controls");
2674
- var import_icons10 = require("@elementor/icons");
2675
- var import_ui32 = require("@elementor/ui");
2676
- var import_i18n15 = require("@wordpress/i18n");
2720
+ var React41 = __toESM(require("react"));
2721
+ var import_editor_controls15 = require("@elementor/editor-controls");
2722
+ var import_icons9 = require("@elementor/icons");
2723
+ var import_ui33 = require("@elementor/ui");
2724
+ var import_i18n16 = require("@wordpress/i18n");
2677
2725
 
2678
2726
  // src/components/style-sections/layout-section/utils/rotated-icon.tsx
2679
- var React39 = __toESM(require("react"));
2680
- var import_react22 = require("react");
2681
- var import_ui31 = require("@elementor/ui");
2727
+ var React40 = __toESM(require("react"));
2728
+ var import_react23 = require("react");
2729
+ var import_ui32 = require("@elementor/ui");
2682
2730
  var CLOCKWISE_ANGLES = {
2683
2731
  row: 0,
2684
2732
  column: 90,
@@ -2698,13 +2746,13 @@ var RotatedIcon = ({
2698
2746
  offset = 0,
2699
2747
  disableRotationForReversed = false
2700
2748
  }) => {
2701
- const rotate = (0, import_react22.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
2749
+ const rotate = (0, import_react23.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
2702
2750
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
2703
- return /* @__PURE__ */ React39.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
2751
+ return /* @__PURE__ */ React40.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
2704
2752
  };
2705
2753
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
2706
2754
  const [direction] = useStylesField("flex-direction");
2707
- const isRtl = "rtl" === (0, import_ui31.useTheme)().direction;
2755
+ const isRtl = "rtl" === (0, import_ui32.useTheme)().direction;
2708
2756
  const rotationMultiplier = isRtl ? -1 : 1;
2709
2757
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
2710
2758
  const currentDirection = direction?.value || "row";
@@ -2719,8 +2767,8 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
2719
2767
  };
2720
2768
 
2721
2769
  // src/components/style-sections/layout-section/align-content-field.tsx
2722
- var StartIcon = (0, import_ui32.withDirection)(import_icons10.JustifyTopIcon);
2723
- var EndIcon = (0, import_ui32.withDirection)(import_icons10.JustifyBottomIcon);
2770
+ var StartIcon = (0, import_ui33.withDirection)(import_icons9.JustifyTopIcon);
2771
+ var EndIcon = (0, import_ui33.withDirection)(import_icons9.JustifyBottomIcon);
2724
2772
  var iconProps = {
2725
2773
  isClockwise: false,
2726
2774
  offset: 0,
@@ -2729,54 +2777,54 @@ var iconProps = {
2729
2777
  var options = [
2730
2778
  {
2731
2779
  value: "start",
2732
- label: (0, import_i18n15.__)("Start", "elementor"),
2733
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
2780
+ label: (0, import_i18n16.__)("Start", "elementor"),
2781
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
2734
2782
  showTooltip: true
2735
2783
  },
2736
2784
  {
2737
2785
  value: "center",
2738
- label: (0, import_i18n15.__)("Center", "elementor"),
2739
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons10.JustifyCenterIcon, size, ...iconProps }),
2786
+ label: (0, import_i18n16.__)("Center", "elementor"),
2787
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons9.JustifyCenterIcon, size, ...iconProps }),
2740
2788
  showTooltip: true
2741
2789
  },
2742
2790
  {
2743
2791
  value: "end",
2744
- label: (0, import_i18n15.__)("End", "elementor"),
2745
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
2792
+ label: (0, import_i18n16.__)("End", "elementor"),
2793
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
2746
2794
  showTooltip: true
2747
2795
  },
2748
2796
  {
2749
2797
  value: "space-between",
2750
- label: (0, import_i18n15.__)("Space between", "elementor"),
2751
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons10.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
2798
+ label: (0, import_i18n16.__)("Space between", "elementor"),
2799
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons9.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
2752
2800
  showTooltip: true
2753
2801
  },
2754
2802
  {
2755
2803
  value: "space-around",
2756
- label: (0, import_i18n15.__)("Space around", "elementor"),
2757
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons10.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
2804
+ label: (0, import_i18n16.__)("Space around", "elementor"),
2805
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons9.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
2758
2806
  showTooltip: true
2759
2807
  },
2760
2808
  {
2761
2809
  value: "space-evenly",
2762
- label: (0, import_i18n15.__)("Space evenly", "elementor"),
2763
- renderContent: ({ size }) => /* @__PURE__ */ React40.createElement(RotatedIcon, { icon: import_icons10.JustifyDistributeVerticalIcon, size, ...iconProps }),
2810
+ label: (0, import_i18n16.__)("Space evenly", "elementor"),
2811
+ renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons9.JustifyDistributeVerticalIcon, size, ...iconProps }),
2764
2812
  showTooltip: true
2765
2813
  }
2766
2814
  ];
2767
2815
  var AlignContentField = () => {
2768
2816
  const { isSiteRtl } = useDirection();
2769
- return /* @__PURE__ */ React40.createElement(import_ui32.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React40.createElement(import_ui32.ThemeProvider, null, /* @__PURE__ */ React40.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React40.createElement(import_ui32.Stack, { gap: 1 }, /* @__PURE__ */ React40.createElement(ControlLabel, null, (0, import_i18n15.__)("Align content", "elementor")), /* @__PURE__ */ React40.createElement(import_editor_controls14.ToggleControl, { options, fullWidth: true })))));
2817
+ return /* @__PURE__ */ React41.createElement(import_ui33.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React41.createElement(import_ui33.ThemeProvider, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-content" }, /* @__PURE__ */ React41.createElement(import_ui33.Stack, { gap: 1 }, /* @__PURE__ */ React41.createElement(ControlLabel, null, (0, import_i18n16.__)("Align content", "elementor")), /* @__PURE__ */ React41.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true })))));
2770
2818
  };
2771
2819
 
2772
2820
  // src/components/style-sections/layout-section/align-items-field.tsx
2773
- var React41 = __toESM(require("react"));
2774
- var import_editor_controls15 = require("@elementor/editor-controls");
2775
- var import_icons11 = require("@elementor/icons");
2776
- var import_ui33 = require("@elementor/ui");
2777
- var import_i18n16 = require("@wordpress/i18n");
2778
- var StartIcon2 = (0, import_ui33.withDirection)(import_icons11.LayoutAlignLeftIcon);
2779
- var EndIcon2 = (0, import_ui33.withDirection)(import_icons11.LayoutAlignRightIcon);
2821
+ var React42 = __toESM(require("react"));
2822
+ var import_editor_controls16 = require("@elementor/editor-controls");
2823
+ var import_icons10 = require("@elementor/icons");
2824
+ var import_ui34 = require("@elementor/ui");
2825
+ var import_i18n17 = require("@wordpress/i18n");
2826
+ var StartIcon2 = (0, import_ui34.withDirection)(import_icons10.LayoutAlignLeftIcon);
2827
+ var EndIcon2 = (0, import_ui34.withDirection)(import_icons10.LayoutAlignRightIcon);
2780
2828
  var iconProps2 = {
2781
2829
  isClockwise: false,
2782
2830
  offset: 90
@@ -2784,56 +2832,56 @@ var iconProps2 = {
2784
2832
  var options2 = [
2785
2833
  {
2786
2834
  value: "start",
2787
- label: (0, import_i18n16.__)("Start", "elementor"),
2788
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
2835
+ label: (0, import_i18n17.__)("Start", "elementor"),
2836
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
2789
2837
  showTooltip: true
2790
2838
  },
2791
2839
  {
2792
2840
  value: "center",
2793
- label: (0, import_i18n16.__)("Center", "elementor"),
2794
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons11.LayoutAlignCenterIcon, size, ...iconProps2 }),
2841
+ label: (0, import_i18n17.__)("Center", "elementor"),
2842
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons10.LayoutAlignCenterIcon, size, ...iconProps2 }),
2795
2843
  showTooltip: true
2796
2844
  },
2797
2845
  {
2798
2846
  value: "end",
2799
- label: (0, import_i18n16.__)("End", "elementor"),
2800
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
2847
+ label: (0, import_i18n17.__)("End", "elementor"),
2848
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
2801
2849
  showTooltip: true
2802
2850
  },
2803
2851
  {
2804
2852
  value: "stretch",
2805
- label: (0, import_i18n16.__)("Stretch", "elementor"),
2806
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons11.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
2853
+ label: (0, import_i18n17.__)("Stretch", "elementor"),
2854
+ renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons10.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
2807
2855
  showTooltip: true
2808
2856
  }
2809
2857
  ];
2810
2858
  var AlignItemsField = () => {
2811
2859
  const { isSiteRtl } = useDirection();
2812
- return /* @__PURE__ */ React41.createElement(import_ui33.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React41.createElement(import_ui33.ThemeProvider, null, /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React41.createElement(import_ui33.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React41.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React41.createElement(ControlLabel, null, (0, import_i18n16.__)("Align items", "elementor"))), /* @__PURE__ */ React41.createElement(import_ui33.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React41.createElement(import_editor_controls15.ToggleControl, { options: options2 }))))));
2860
+ return /* @__PURE__ */ React42.createElement(import_ui34.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React42.createElement(import_ui34.ThemeProvider, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-items" }, /* @__PURE__ */ React42.createElement(import_ui34.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlLabel, null, (0, import_i18n17.__)("Align items", "elementor"))), /* @__PURE__ */ React42.createElement(import_ui34.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React42.createElement(import_editor_controls16.ToggleControl, { options: options2 }))))));
2813
2861
  };
2814
2862
 
2815
2863
  // src/components/style-sections/layout-section/align-self-child-field.tsx
2816
- var React42 = __toESM(require("react"));
2817
- var import_editor_controls16 = require("@elementor/editor-controls");
2818
- var import_icons12 = require("@elementor/icons");
2819
- var import_ui34 = require("@elementor/ui");
2820
- var import_i18n17 = require("@wordpress/i18n");
2864
+ var React43 = __toESM(require("react"));
2865
+ var import_editor_controls17 = require("@elementor/editor-controls");
2866
+ var import_icons11 = require("@elementor/icons");
2867
+ var import_ui35 = require("@elementor/ui");
2868
+ var import_i18n18 = require("@wordpress/i18n");
2821
2869
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
2822
2870
  row: 90,
2823
2871
  "row-reverse": 90,
2824
2872
  column: 0,
2825
2873
  "column-reverse": 0
2826
2874
  };
2827
- var StartIcon3 = (0, import_ui34.withDirection)(import_icons12.LayoutAlignLeftIcon);
2828
- var EndIcon3 = (0, import_ui34.withDirection)(import_icons12.LayoutAlignRightIcon);
2875
+ var StartIcon3 = (0, import_ui35.withDirection)(import_icons11.LayoutAlignLeftIcon);
2876
+ var EndIcon3 = (0, import_ui35.withDirection)(import_icons11.LayoutAlignRightIcon);
2829
2877
  var iconProps3 = {
2830
2878
  isClockwise: false
2831
2879
  };
2832
2880
  var getOptions = (parentStyleDirection) => [
2833
2881
  {
2834
2882
  value: "start",
2835
- label: (0, import_i18n17.__)("Start", "elementor"),
2836
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
2883
+ label: (0, import_i18n18.__)("Start", "elementor"),
2884
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
2837
2885
  RotatedIcon,
2838
2886
  {
2839
2887
  icon: StartIcon3,
@@ -2846,11 +2894,11 @@ var getOptions = (parentStyleDirection) => [
2846
2894
  },
2847
2895
  {
2848
2896
  value: "center",
2849
- label: (0, import_i18n17.__)("Center", "elementor"),
2850
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
2897
+ label: (0, import_i18n18.__)("Center", "elementor"),
2898
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
2851
2899
  RotatedIcon,
2852
2900
  {
2853
- icon: import_icons12.LayoutAlignCenterIcon,
2901
+ icon: import_icons11.LayoutAlignCenterIcon,
2854
2902
  size,
2855
2903
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
2856
2904
  ...iconProps3
@@ -2860,8 +2908,8 @@ var getOptions = (parentStyleDirection) => [
2860
2908
  },
2861
2909
  {
2862
2910
  value: "end",
2863
- label: (0, import_i18n17.__)("End", "elementor"),
2864
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
2911
+ label: (0, import_i18n18.__)("End", "elementor"),
2912
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
2865
2913
  RotatedIcon,
2866
2914
  {
2867
2915
  icon: EndIcon3,
@@ -2874,11 +2922,11 @@ var getOptions = (parentStyleDirection) => [
2874
2922
  },
2875
2923
  {
2876
2924
  value: "stretch",
2877
- label: (0, import_i18n17.__)("Stretch", "elementor"),
2878
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(
2925
+ label: (0, import_i18n18.__)("Stretch", "elementor"),
2926
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
2879
2927
  RotatedIcon,
2880
2928
  {
2881
- icon: import_icons12.LayoutDistributeVerticalIcon,
2929
+ icon: import_icons11.LayoutDistributeVerticalIcon,
2882
2930
  size,
2883
2931
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
2884
2932
  ...iconProps3
@@ -2889,107 +2937,107 @@ var getOptions = (parentStyleDirection) => [
2889
2937
  ];
2890
2938
  var AlignSelfChild = ({ parentStyleDirection }) => {
2891
2939
  const { isSiteRtl } = useDirection();
2892
- return /* @__PURE__ */ React42.createElement(import_ui34.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React42.createElement(import_ui34.ThemeProvider, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React42.createElement(import_ui34.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React42.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React42.createElement(ControlLabel, null, (0, import_i18n17.__)("Align self", "elementor"))), /* @__PURE__ */ React42.createElement(import_ui34.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React42.createElement(import_editor_controls16.ToggleControl, { options: getOptions(parentStyleDirection) }))))));
2940
+ return /* @__PURE__ */ React43.createElement(import_ui35.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React43.createElement(import_ui35.ThemeProvider, null, /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-self" }, /* @__PURE__ */ React43.createElement(import_ui35.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React43.createElement(import_ui35.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React43.createElement(ControlLabel, null, (0, import_i18n18.__)("Align self", "elementor"))), /* @__PURE__ */ React43.createElement(import_ui35.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React43.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))))));
2893
2941
  };
2894
2942
 
2895
2943
  // src/components/style-sections/layout-section/display-field.tsx
2896
- var React43 = __toESM(require("react"));
2897
- var import_editor_controls17 = require("@elementor/editor-controls");
2898
- var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
2899
- var import_ui35 = require("@elementor/ui");
2900
- var import_i18n18 = require("@wordpress/i18n");
2944
+ var React44 = __toESM(require("react"));
2945
+ var import_editor_controls18 = require("@elementor/editor-controls");
2946
+ var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
2947
+ var import_ui36 = require("@elementor/ui");
2948
+ var import_i18n19 = require("@wordpress/i18n");
2901
2949
  var displayFieldItems = [
2902
2950
  {
2903
2951
  value: "block",
2904
- renderContent: () => (0, import_i18n18.__)("Block", "elementor"),
2905
- label: (0, import_i18n18.__)("Block", "elementor"),
2952
+ renderContent: () => (0, import_i18n19.__)("Block", "elementor"),
2953
+ label: (0, import_i18n19.__)("Block", "elementor"),
2906
2954
  showTooltip: true
2907
2955
  },
2908
2956
  {
2909
2957
  value: "flex",
2910
- renderContent: () => (0, import_i18n18.__)("Flex", "elementor"),
2911
- label: (0, import_i18n18.__)("Flex", "elementor"),
2958
+ renderContent: () => (0, import_i18n19.__)("Flex", "elementor"),
2959
+ label: (0, import_i18n19.__)("Flex", "elementor"),
2912
2960
  showTooltip: true
2913
2961
  },
2914
2962
  {
2915
2963
  value: "inline-block",
2916
- renderContent: () => (0, import_i18n18.__)("In-blk", "elementor"),
2917
- label: (0, import_i18n18.__)("Inline-block", "elementor"),
2964
+ renderContent: () => (0, import_i18n19.__)("In-blk", "elementor"),
2965
+ label: (0, import_i18n19.__)("Inline-block", "elementor"),
2918
2966
  showTooltip: true
2919
2967
  }
2920
2968
  ];
2921
2969
  var DisplayField = () => {
2922
- const isDisplayNoneFeatureActive = (0, import_editor_v1_adapters8.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
2970
+ const isDisplayNoneFeatureActive = (0, import_editor_v1_adapters9.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
2923
2971
  const items3 = [...displayFieldItems];
2924
2972
  if (isDisplayNoneFeatureActive) {
2925
2973
  items3.push({
2926
2974
  value: "none",
2927
- renderContent: () => (0, import_i18n18.__)("None", "elementor"),
2928
- label: (0, import_i18n18.__)("None", "elementor"),
2975
+ renderContent: () => (0, import_i18n19.__)("None", "elementor"),
2976
+ label: (0, import_i18n19.__)("None", "elementor"),
2929
2977
  showTooltip: true
2930
2978
  });
2931
2979
  }
2932
2980
  items3.push({
2933
2981
  value: "inline-flex",
2934
- renderContent: () => (0, import_i18n18.__)("In-flx", "elementor"),
2935
- label: (0, import_i18n18.__)("Inline-flex", "elementor"),
2982
+ renderContent: () => (0, import_i18n19.__)("In-flx", "elementor"),
2983
+ label: (0, import_i18n19.__)("Inline-flex", "elementor"),
2936
2984
  showTooltip: true
2937
2985
  });
2938
2986
  const placeholder = useDisplayPlaceholderValue();
2939
- return /* @__PURE__ */ React43.createElement(StylesField, { bind: "display", placeholder }, /* @__PURE__ */ React43.createElement(import_ui35.Stack, { gap: 0.75 }, /* @__PURE__ */ React43.createElement(ControlLabel, null, (0, import_i18n18.__)("Display", "elementor")), /* @__PURE__ */ React43.createElement(import_editor_controls17.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
2987
+ return /* @__PURE__ */ React44.createElement(StylesField, { bind: "display", placeholder }, /* @__PURE__ */ React44.createElement(import_ui36.Stack, { gap: 0.75 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, (0, import_i18n19.__)("Display", "elementor")), /* @__PURE__ */ React44.createElement(import_editor_controls18.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
2940
2988
  };
2941
2989
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
2942
2990
 
2943
2991
  // src/components/style-sections/layout-section/flex-direction-field.tsx
2944
- var React44 = __toESM(require("react"));
2945
- var import_editor_controls18 = require("@elementor/editor-controls");
2946
- var import_icons13 = require("@elementor/icons");
2947
- var import_ui36 = require("@elementor/ui");
2948
- var import_i18n19 = require("@wordpress/i18n");
2992
+ var React45 = __toESM(require("react"));
2993
+ var import_editor_controls19 = require("@elementor/editor-controls");
2994
+ var import_icons12 = require("@elementor/icons");
2995
+ var import_ui37 = require("@elementor/ui");
2996
+ var import_i18n20 = require("@wordpress/i18n");
2949
2997
  var options3 = [
2950
2998
  {
2951
2999
  value: "row",
2952
- label: (0, import_i18n19.__)("Row", "elementor"),
3000
+ label: (0, import_i18n20.__)("Row", "elementor"),
2953
3001
  renderContent: ({ size }) => {
2954
- const StartIcon5 = (0, import_ui36.withDirection)(import_icons13.ArrowRightIcon);
2955
- return /* @__PURE__ */ React44.createElement(StartIcon5, { fontSize: size });
3002
+ const StartIcon5 = (0, import_ui37.withDirection)(import_icons12.ArrowRightIcon);
3003
+ return /* @__PURE__ */ React45.createElement(StartIcon5, { fontSize: size });
2956
3004
  },
2957
3005
  showTooltip: true
2958
3006
  },
2959
3007
  {
2960
3008
  value: "column",
2961
- label: (0, import_i18n19.__)("Column", "elementor"),
2962
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons13.ArrowDownSmallIcon, { fontSize: size }),
3009
+ label: (0, import_i18n20.__)("Column", "elementor"),
3010
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons12.ArrowDownSmallIcon, { fontSize: size }),
2963
3011
  showTooltip: true
2964
3012
  },
2965
3013
  {
2966
3014
  value: "row-reverse",
2967
- label: (0, import_i18n19.__)("Reversed row", "elementor"),
3015
+ label: (0, import_i18n20.__)("Reversed row", "elementor"),
2968
3016
  renderContent: ({ size }) => {
2969
- const EndIcon5 = (0, import_ui36.withDirection)(import_icons13.ArrowLeftIcon);
2970
- return /* @__PURE__ */ React44.createElement(EndIcon5, { fontSize: size });
3017
+ const EndIcon5 = (0, import_ui37.withDirection)(import_icons12.ArrowLeftIcon);
3018
+ return /* @__PURE__ */ React45.createElement(EndIcon5, { fontSize: size });
2971
3019
  },
2972
3020
  showTooltip: true
2973
3021
  },
2974
3022
  {
2975
3023
  value: "column-reverse",
2976
- label: (0, import_i18n19.__)("Reversed column", "elementor"),
2977
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(import_icons13.ArrowUpSmallIcon, { fontSize: size }),
3024
+ label: (0, import_i18n20.__)("Reversed column", "elementor"),
3025
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons12.ArrowUpSmallIcon, { fontSize: size }),
2978
3026
  showTooltip: true
2979
3027
  }
2980
3028
  ];
2981
3029
  var FlexDirectionField = () => {
2982
3030
  const { isSiteRtl } = useDirection();
2983
- return /* @__PURE__ */ React44.createElement(import_ui36.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React44.createElement(import_ui36.ThemeProvider, null, /* @__PURE__ */ React44.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React44.createElement(import_ui36.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React44.createElement(import_ui36.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React44.createElement(ControlLabel, null, (0, import_i18n19.__)("Direction", "elementor"))), /* @__PURE__ */ React44.createElement(import_ui36.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React44.createElement(import_editor_controls18.ToggleControl, { options: options3 }))))));
3031
+ return /* @__PURE__ */ React45.createElement(import_ui37.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React45.createElement(import_ui37.ThemeProvider, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "flex-direction" }, /* @__PURE__ */ React45.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n20.__)("Direction", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(import_editor_controls19.ToggleControl, { options: options3 }))))));
2984
3032
  };
2985
3033
 
2986
3034
  // src/components/style-sections/layout-section/flex-order-field.tsx
2987
- var React45 = __toESM(require("react"));
2988
- var import_react23 = require("react");
2989
- var import_editor_controls19 = require("@elementor/editor-controls");
2990
- var import_icons14 = require("@elementor/icons");
2991
- var import_ui37 = require("@elementor/ui");
2992
- var import_i18n20 = require("@wordpress/i18n");
3035
+ var React46 = __toESM(require("react"));
3036
+ var import_react24 = require("react");
3037
+ var import_editor_controls20 = require("@elementor/editor-controls");
3038
+ var import_icons13 = require("@elementor/icons");
3039
+ var import_ui38 = require("@elementor/ui");
3040
+ var import_i18n21 = require("@wordpress/i18n");
2993
3041
  var FIRST_DEFAULT_VALUE = -99999;
2994
3042
  var LAST_DEFAULT_VALUE = 99999;
2995
3043
  var FIRST = "first";
@@ -3002,20 +3050,20 @@ var orderValueMap = {
3002
3050
  var items = [
3003
3051
  {
3004
3052
  value: FIRST,
3005
- label: (0, import_i18n20.__)("First", "elementor"),
3006
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons14.ArrowUpSmallIcon, { fontSize: size }),
3053
+ label: (0, import_i18n21.__)("First", "elementor"),
3054
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons13.ArrowUpSmallIcon, { fontSize: size }),
3007
3055
  showTooltip: true
3008
3056
  },
3009
3057
  {
3010
3058
  value: LAST,
3011
- label: (0, import_i18n20.__)("Last", "elementor"),
3012
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons14.ArrowDownSmallIcon, { fontSize: size }),
3059
+ label: (0, import_i18n21.__)("Last", "elementor"),
3060
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons13.ArrowDownSmallIcon, { fontSize: size }),
3013
3061
  showTooltip: true
3014
3062
  },
3015
3063
  {
3016
3064
  value: CUSTOM,
3017
- label: (0, import_i18n20.__)("Custom", "elementor"),
3018
- renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(import_icons14.PencilIcon, { fontSize: size }),
3065
+ label: (0, import_i18n21.__)("Custom", "elementor"),
3066
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons13.PencilIcon, { fontSize: size }),
3019
3067
  showTooltip: true
3020
3068
  }
3021
3069
  ];
@@ -3023,7 +3071,7 @@ var FlexOrderField = () => {
3023
3071
  const { isSiteRtl } = useDirection();
3024
3072
  const [order, setOrder] = useStylesField("order");
3025
3073
  const { canEdit } = useStyle();
3026
- const [groupControlValue, setGroupControlValue] = (0, import_react23.useState)(getGroupControlValue(order?.value || null));
3074
+ const [groupControlValue, setGroupControlValue] = (0, import_react24.useState)(getGroupControlValue(order?.value || null));
3027
3075
  const handleToggleButtonChange = (group) => {
3028
3076
  setGroupControlValue(group);
3029
3077
  if (!group || group === CUSTOM) {
@@ -3032,8 +3080,8 @@ var FlexOrderField = () => {
3032
3080
  }
3033
3081
  setOrder({ $$type: "number", value: orderValueMap[group] });
3034
3082
  };
3035
- return /* @__PURE__ */ React45.createElement(import_ui37.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React45.createElement(import_ui37.ThemeProvider, null, /* @__PURE__ */ React45.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React45.createElement(SectionContent, null, /* @__PURE__ */ React45.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n20.__)("Order", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3036
- import_editor_controls19.ControlToggleButtonGroup,
3083
+ return /* @__PURE__ */ React46.createElement(import_ui38.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React46.createElement(import_ui38.ThemeProvider, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "order" }, /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Order", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(
3084
+ import_editor_controls20.ControlToggleButtonGroup,
3037
3085
  {
3038
3086
  items,
3039
3087
  value: groupControlValue,
@@ -3041,8 +3089,8 @@ var FlexOrderField = () => {
3041
3089
  exclusive: true,
3042
3090
  disabled: !canEdit
3043
3091
  }
3044
- ))), CUSTOM === groupControlValue && /* @__PURE__ */ React45.createElement(import_ui37.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React45.createElement(ControlLabel, null, (0, import_i18n20.__)("Custom order", "elementor"))), /* @__PURE__ */ React45.createElement(import_ui37.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React45.createElement(
3045
- import_editor_controls19.NumberControl,
3092
+ ))), CUSTOM === groupControlValue && /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Custom order", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(
3093
+ import_editor_controls20.NumberControl,
3046
3094
  {
3047
3095
  min: FIRST_DEFAULT_VALUE + 1,
3048
3096
  max: LAST_DEFAULT_VALUE - 1,
@@ -3061,31 +3109,31 @@ var getGroupControlValue = (order) => {
3061
3109
  };
3062
3110
 
3063
3111
  // src/components/style-sections/layout-section/flex-size-field.tsx
3064
- var React46 = __toESM(require("react"));
3065
- var import_react24 = require("react");
3066
- var import_editor_controls20 = require("@elementor/editor-controls");
3112
+ var React47 = __toESM(require("react"));
3113
+ var import_react25 = require("react");
3114
+ var import_editor_controls21 = require("@elementor/editor-controls");
3067
3115
  var import_editor_props8 = require("@elementor/editor-props");
3068
- var import_icons15 = require("@elementor/icons");
3069
- var import_ui38 = require("@elementor/ui");
3070
- var import_i18n21 = require("@wordpress/i18n");
3116
+ var import_icons14 = require("@elementor/icons");
3117
+ var import_ui39 = require("@elementor/ui");
3118
+ var import_i18n22 = require("@wordpress/i18n");
3071
3119
  var DEFAULT = 1;
3072
3120
  var items2 = [
3073
3121
  {
3074
3122
  value: "flex-grow",
3075
- label: (0, import_i18n21.__)("Grow", "elementor"),
3076
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons15.ExpandIcon, { fontSize: size }),
3123
+ label: (0, import_i18n22.__)("Grow", "elementor"),
3124
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons14.ExpandIcon, { fontSize: size }),
3077
3125
  showTooltip: true
3078
3126
  },
3079
3127
  {
3080
3128
  value: "flex-shrink",
3081
- label: (0, import_i18n21.__)("Shrink", "elementor"),
3082
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons15.ShrinkIcon, { fontSize: size }),
3129
+ label: (0, import_i18n22.__)("Shrink", "elementor"),
3130
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons14.ShrinkIcon, { fontSize: size }),
3083
3131
  showTooltip: true
3084
3132
  },
3085
3133
  {
3086
3134
  value: "custom",
3087
- label: (0, import_i18n21.__)("Custom", "elementor"),
3088
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons15.PencilIcon, { fontSize: size }),
3135
+ label: (0, import_i18n22.__)("Custom", "elementor"),
3136
+ renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons14.PencilIcon, { fontSize: size }),
3089
3137
  showTooltip: true
3090
3138
  }
3091
3139
  ];
@@ -3096,7 +3144,7 @@ var FlexSizeField = () => {
3096
3144
  const grow = fields?.["flex-grow"]?.value || null;
3097
3145
  const shrink = fields?.["flex-shrink"]?.value || null;
3098
3146
  const basis = fields?.["flex-basis"]?.value || null;
3099
- const currentGroup = (0, import_react24.useMemo)(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = (0, import_react24.useState)(currentGroup);
3147
+ const currentGroup = (0, import_react25.useMemo)(() => getActiveGroup({ grow, shrink, basis }), [grow, shrink, basis]), [activeGroup, setActiveGroup] = (0, import_react25.useState)(currentGroup);
3100
3148
  const onChangeGroup = (group = null) => {
3101
3149
  setActiveGroup(group);
3102
3150
  if (!group || group === "custom") {
@@ -3121,8 +3169,8 @@ var FlexSizeField = () => {
3121
3169
  "flex-shrink": import_editor_props8.numberPropTypeUtil.create(DEFAULT)
3122
3170
  });
3123
3171
  };
3124
- return /* @__PURE__ */ React46.createElement(import_ui38.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React46.createElement(import_ui38.ThemeProvider, null, /* @__PURE__ */ React46.createElement(SectionContent, null, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(StylesField, { bind: activeGroup ?? "" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Size", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(
3125
- import_editor_controls20.ControlToggleButtonGroup,
3172
+ return /* @__PURE__ */ React47.createElement(import_ui39.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React47.createElement(import_ui39.ThemeProvider, null, /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(StylesField, { bind: activeGroup ?? "" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n22.__)("Size", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(
3173
+ import_editor_controls21.ControlToggleButtonGroup,
3126
3174
  {
3127
3175
  value: activeGroup,
3128
3176
  onChange: onChangeGroup,
@@ -3130,9 +3178,9 @@ var FlexSizeField = () => {
3130
3178
  items: items2,
3131
3179
  exclusive: true
3132
3180
  }
3133
- )))), "custom" === activeGroup && /* @__PURE__ */ React46.createElement(FlexCustomField, null))));
3181
+ )))), "custom" === activeGroup && /* @__PURE__ */ React47.createElement(FlexCustomField, null))));
3134
3182
  };
3135
- var FlexCustomField = () => /* @__PURE__ */ React46.createElement(React46.Fragment, null, /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Grow", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(import_editor_controls20.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Shrink", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(import_editor_controls20.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React46.createElement(ControlLabel, null, (0, import_i18n21.__)("Basis", "elementor"))), /* @__PURE__ */ React46.createElement(import_ui38.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React46.createElement(import_editor_controls20.SizeControl, { extendedValues: ["auto"] })))));
3183
+ var FlexCustomField = () => /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StylesField, { bind: "flex-grow" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n22.__)("Grow", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React47.createElement(StylesField, { bind: "flex-shrink" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n22.__)("Shrink", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(import_editor_controls21.NumberControl, { min: 0, shouldForceInt: true })))), /* @__PURE__ */ React47.createElement(StylesField, { bind: "flex-basis" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n22.__)("Basis", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui39.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(import_editor_controls21.SizeControl, { extendedValues: ["auto"] })))));
3136
3184
  var getActiveGroup = ({
3137
3185
  grow,
3138
3186
  shrink,
@@ -3154,22 +3202,22 @@ var getActiveGroup = ({
3154
3202
  };
3155
3203
 
3156
3204
  // src/components/style-sections/layout-section/gap-control-field.tsx
3157
- var React47 = __toESM(require("react"));
3158
- var import_editor_controls21 = require("@elementor/editor-controls");
3159
- var import_ui39 = require("@elementor/ui");
3160
- var import_i18n22 = require("@wordpress/i18n");
3161
- var GapControlField = () => {
3162
- return /* @__PURE__ */ React47.createElement(import_ui39.Stack, { gap: 1 }, /* @__PURE__ */ React47.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React47.createElement(import_editor_controls21.GapControl, { label: (0, import_i18n22.__)("Gaps", "elementor") })));
3163
- };
3164
-
3165
- // src/components/style-sections/layout-section/justify-content-field.tsx
3166
3205
  var React48 = __toESM(require("react"));
3167
3206
  var import_editor_controls22 = require("@elementor/editor-controls");
3168
- var import_icons16 = require("@elementor/icons");
3169
3207
  var import_ui40 = require("@elementor/ui");
3170
3208
  var import_i18n23 = require("@wordpress/i18n");
3171
- var StartIcon4 = (0, import_ui40.withDirection)(import_icons16.JustifyTopIcon);
3172
- var EndIcon4 = (0, import_ui40.withDirection)(import_icons16.JustifyBottomIcon);
3209
+ var GapControlField = () => {
3210
+ return /* @__PURE__ */ React48.createElement(import_ui40.Stack, { gap: 1 }, /* @__PURE__ */ React48.createElement(StylesField, { bind: "gap" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.GapControl, { label: (0, import_i18n23.__)("Gaps", "elementor") })));
3211
+ };
3212
+
3213
+ // src/components/style-sections/layout-section/justify-content-field.tsx
3214
+ var React49 = __toESM(require("react"));
3215
+ var import_editor_controls23 = require("@elementor/editor-controls");
3216
+ var import_icons15 = require("@elementor/icons");
3217
+ var import_ui41 = require("@elementor/ui");
3218
+ var import_i18n24 = require("@wordpress/i18n");
3219
+ var StartIcon4 = (0, import_ui41.withDirection)(import_icons15.JustifyTopIcon);
3220
+ var EndIcon4 = (0, import_ui41.withDirection)(import_icons15.JustifyBottomIcon);
3173
3221
  var iconProps4 = {
3174
3222
  isClockwise: true,
3175
3223
  offset: -90
@@ -3177,75 +3225,75 @@ var iconProps4 = {
3177
3225
  var options4 = [
3178
3226
  {
3179
3227
  value: "flex-start",
3180
- label: (0, import_i18n23.__)("Start", "elementor"),
3181
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3228
+ label: (0, import_i18n24.__)("Start", "elementor"),
3229
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: StartIcon4, size, ...iconProps4 }),
3182
3230
  showTooltip: true
3183
3231
  },
3184
3232
  {
3185
3233
  value: "center",
3186
- label: (0, import_i18n23.__)("Center", "elementor"),
3187
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons16.JustifyCenterIcon, size, ...iconProps4 }),
3234
+ label: (0, import_i18n24.__)("Center", "elementor"),
3235
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: import_icons15.JustifyCenterIcon, size, ...iconProps4 }),
3188
3236
  showTooltip: true
3189
3237
  },
3190
3238
  {
3191
3239
  value: "flex-end",
3192
- label: (0, import_i18n23.__)("End", "elementor"),
3193
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3240
+ label: (0, import_i18n24.__)("End", "elementor"),
3241
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: EndIcon4, size, ...iconProps4 }),
3194
3242
  showTooltip: true
3195
3243
  },
3196
3244
  {
3197
3245
  value: "space-between",
3198
- label: (0, import_i18n23.__)("Space between", "elementor"),
3199
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3246
+ label: (0, import_i18n24.__)("Space between", "elementor"),
3247
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
3200
3248
  showTooltip: true
3201
3249
  },
3202
3250
  {
3203
3251
  value: "space-around",
3204
- label: (0, import_i18n23.__)("Space around", "elementor"),
3205
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3252
+ label: (0, import_i18n24.__)("Space around", "elementor"),
3253
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
3206
3254
  showTooltip: true
3207
3255
  },
3208
3256
  {
3209
3257
  value: "space-evenly",
3210
- label: (0, import_i18n23.__)("Space evenly", "elementor"),
3211
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(RotatedIcon, { icon: import_icons16.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3258
+ label: (0, import_i18n24.__)("Space evenly", "elementor"),
3259
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(RotatedIcon, { icon: import_icons15.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
3212
3260
  showTooltip: true
3213
3261
  }
3214
3262
  ];
3215
3263
  var JustifyContentField = () => {
3216
3264
  const { isSiteRtl } = useDirection();
3217
- return /* @__PURE__ */ React48.createElement(import_ui40.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React48.createElement(import_ui40.ThemeProvider, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React48.createElement(import_ui40.Stack, { gap: 0.75 }, /* @__PURE__ */ React48.createElement(ControlLabel, null, (0, import_i18n23.__)("Justify content", "elementor")), /* @__PURE__ */ React48.createElement(import_editor_controls22.ToggleControl, { options: options4, fullWidth: true })))));
3265
+ return /* @__PURE__ */ React49.createElement(import_ui41.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React49.createElement(import_ui41.ThemeProvider, null, /* @__PURE__ */ React49.createElement(StylesField, { bind: "justify-content" }, /* @__PURE__ */ React49.createElement(import_ui41.Stack, { gap: 0.75 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, (0, import_i18n24.__)("Justify content", "elementor")), /* @__PURE__ */ React49.createElement(import_editor_controls23.ToggleControl, { options: options4, fullWidth: true })))));
3218
3266
  };
3219
3267
 
3220
3268
  // src/components/style-sections/layout-section/wrap-field.tsx
3221
- var React49 = __toESM(require("react"));
3222
- var import_editor_controls23 = require("@elementor/editor-controls");
3223
- var import_icons17 = require("@elementor/icons");
3224
- var import_ui41 = require("@elementor/ui");
3225
- var import_i18n24 = require("@wordpress/i18n");
3269
+ var React50 = __toESM(require("react"));
3270
+ var import_editor_controls24 = require("@elementor/editor-controls");
3271
+ var import_icons16 = require("@elementor/icons");
3272
+ var import_ui42 = require("@elementor/ui");
3273
+ var import_i18n25 = require("@wordpress/i18n");
3226
3274
  var options5 = [
3227
3275
  {
3228
3276
  value: "nowrap",
3229
- label: (0, import_i18n24.__)("No wrap", "elementor"),
3230
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons17.ArrowRightIcon, { fontSize: size }),
3277
+ label: (0, import_i18n25.__)("No wrap", "elementor"),
3278
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons16.ArrowRightIcon, { fontSize: size }),
3231
3279
  showTooltip: true
3232
3280
  },
3233
3281
  {
3234
3282
  value: "wrap",
3235
- label: (0, import_i18n24.__)("Wrap", "elementor"),
3236
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons17.ArrowBackIcon, { fontSize: size }),
3283
+ label: (0, import_i18n25.__)("Wrap", "elementor"),
3284
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons16.ArrowBackIcon, { fontSize: size }),
3237
3285
  showTooltip: true
3238
3286
  },
3239
3287
  {
3240
3288
  value: "wrap-reverse",
3241
- label: (0, import_i18n24.__)("Reversed wrap", "elementor"),
3242
- renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons17.ArrowForwardIcon, { fontSize: size }),
3289
+ label: (0, import_i18n25.__)("Reversed wrap", "elementor"),
3290
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons16.ArrowForwardIcon, { fontSize: size }),
3243
3291
  showTooltip: true
3244
3292
  }
3245
3293
  ];
3246
3294
  var WrapField = () => {
3247
3295
  const { isSiteRtl } = useDirection();
3248
- return /* @__PURE__ */ React49.createElement(import_ui41.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React49.createElement(import_ui41.ThemeProvider, null, /* @__PURE__ */ React49.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React49.createElement(import_ui41.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui41.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, (0, import_i18n24.__)("Wrap", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui41.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React49.createElement(import_editor_controls23.ToggleControl, { options: options5 }))))));
3296
+ return /* @__PURE__ */ React50.createElement(import_ui42.DirectionProvider, { rtl: isSiteRtl }, /* @__PURE__ */ React50.createElement(import_ui42.ThemeProvider, null, /* @__PURE__ */ React50.createElement(StylesField, { bind: "flex-wrap" }, /* @__PURE__ */ React50.createElement(import_ui42.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React50.createElement(import_ui42.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React50.createElement(ControlLabel, null, (0, import_i18n25.__)("Wrap", "elementor"))), /* @__PURE__ */ React50.createElement(import_ui42.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React50.createElement(import_editor_controls24.ToggleControl, { options: options5 }))))));
3249
3297
  };
3250
3298
 
3251
3299
  // src/components/style-sections/layout-section/layout-section.tsx
@@ -3257,13 +3305,13 @@ var LayoutSection = () => {
3257
3305
  const parent = (0, import_editor_elements7.useParentElement)(element.id);
3258
3306
  const parentStyle = useComputedStyle(parent?.id || null);
3259
3307
  const parentStyleDirection = parentStyle?.flexDirection ?? "row";
3260
- return /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React50.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React50.createElement(FlexChildFields, { parentStyleDirection }));
3308
+ return /* @__PURE__ */ React51.createElement(SectionContent, null, /* @__PURE__ */ React51.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React51.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React51.createElement(FlexChildFields, { parentStyleDirection }));
3261
3309
  };
3262
3310
  var FlexFields = () => {
3263
3311
  const [flexWrap] = useStylesField("flex-wrap");
3264
- return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(FlexDirectionField, null), /* @__PURE__ */ React50.createElement(JustifyContentField, null), /* @__PURE__ */ React50.createElement(AlignItemsField, null), /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(GapControlField, null), /* @__PURE__ */ React50.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React50.createElement(AlignContentField, null));
3312
+ return /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(FlexDirectionField, null), /* @__PURE__ */ React51.createElement(JustifyContentField, null), /* @__PURE__ */ React51.createElement(AlignItemsField, null), /* @__PURE__ */ React51.createElement(PanelDivider, null), /* @__PURE__ */ React51.createElement(GapControlField, null), /* @__PURE__ */ React51.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React51.createElement(AlignContentField, null));
3265
3313
  };
3266
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(PanelDivider, null), /* @__PURE__ */ React50.createElement(import_editor_controls24.ControlFormLabel, null, (0, import_i18n25.__)("Flex child", "elementor")), /* @__PURE__ */ React50.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React50.createElement(FlexOrderField, null), /* @__PURE__ */ React50.createElement(FlexSizeField, null));
3314
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(PanelDivider, null), /* @__PURE__ */ React51.createElement(import_editor_controls25.ControlFormLabel, null, (0, import_i18n26.__)("Flex child", "elementor")), /* @__PURE__ */ React51.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React51.createElement(FlexOrderField, null), /* @__PURE__ */ React51.createElement(FlexSizeField, null));
3267
3315
  var shouldDisplayFlexFields = (display, local) => {
3268
3316
  const value = display?.value ?? local?.value;
3269
3317
  if (!value) {
@@ -3273,66 +3321,66 @@ var shouldDisplayFlexFields = (display, local) => {
3273
3321
  };
3274
3322
 
3275
3323
  // src/components/style-sections/position-section/position-section.tsx
3276
- var React55 = __toESM(require("react"));
3277
- var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
3324
+ var React56 = __toESM(require("react"));
3325
+ var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
3278
3326
  var import_session3 = require("@elementor/session");
3279
3327
 
3280
3328
  // src/components/style-sections/position-section/dimensions-field.tsx
3281
- var React51 = __toESM(require("react"));
3282
- var import_editor_controls25 = require("@elementor/editor-controls");
3283
- var import_icons18 = require("@elementor/icons");
3284
- var import_ui42 = require("@elementor/ui");
3285
- var import_i18n26 = require("@wordpress/i18n");
3286
- var InlineStartIcon2 = (0, import_ui42.withDirection)(import_icons18.SideLeftIcon);
3287
- var InlineEndIcon2 = (0, import_ui42.withDirection)(import_icons18.SideRightIcon);
3329
+ var React52 = __toESM(require("react"));
3330
+ var import_editor_controls26 = require("@elementor/editor-controls");
3331
+ var import_icons17 = require("@elementor/icons");
3332
+ var import_ui43 = require("@elementor/ui");
3333
+ var import_i18n27 = require("@wordpress/i18n");
3334
+ var InlineStartIcon2 = (0, import_ui43.withDirection)(import_icons17.SideLeftIcon);
3335
+ var InlineEndIcon2 = (0, import_ui43.withDirection)(import_icons17.SideRightIcon);
3288
3336
  var sideIcons = {
3289
- "inset-block-start": /* @__PURE__ */ React51.createElement(import_icons18.SideTopIcon, { fontSize: "tiny" }),
3290
- "inset-block-end": /* @__PURE__ */ React51.createElement(import_icons18.SideBottomIcon, { fontSize: "tiny" }),
3291
- "inset-inline-start": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3292
- "inset-inline-end": /* @__PURE__ */ React51.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3337
+ "inset-block-start": /* @__PURE__ */ React52.createElement(import_icons17.SideTopIcon, { fontSize: "tiny" }),
3338
+ "inset-block-end": /* @__PURE__ */ React52.createElement(import_icons17.SideBottomIcon, { fontSize: "tiny" }),
3339
+ "inset-inline-start": /* @__PURE__ */ React52.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
3340
+ "inset-inline-end": /* @__PURE__ */ React52.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
3293
3341
  };
3294
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n26.__)("Right", "elementor") : (0, import_i18n26.__)("Left", "elementor");
3295
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n26.__)("Left", "elementor") : (0, import_i18n26.__)("Right", "elementor");
3342
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n27.__)("Right", "elementor") : (0, import_i18n27.__)("Left", "elementor");
3343
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n27.__)("Left", "elementor") : (0, import_i18n27.__)("Right", "elementor");
3296
3344
  var DimensionsField = () => {
3297
3345
  const { isSiteRtl } = useDirection();
3298
- return /* @__PURE__ */ React51.createElement(React51.Fragment, null, /* @__PURE__ */ React51.createElement(import_ui42.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n26.__)("Top", "elementor") }), /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React51.createElement(import_ui42.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n26.__)("Bottom", "elementor") }), /* @__PURE__ */ React51.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
3346
+ return /* @__PURE__ */ React52.createElement(React52.Fragment, null, /* @__PURE__ */ React52.createElement(import_ui43.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n27.__)("Top", "elementor") }), /* @__PURE__ */ React52.createElement(DimensionField, { side: "inset-inline-end", label: getInlineEndLabel(isSiteRtl) })), /* @__PURE__ */ React52.createElement(import_ui43.Stack, { direction: "row", gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n27.__)("Bottom", "elementor") }), /* @__PURE__ */ React52.createElement(DimensionField, { side: "inset-inline-start", label: getInlineStartLabel(isSiteRtl) })));
3299
3347
  };
3300
3348
  var DimensionField = ({ side, label }) => {
3301
- return /* @__PURE__ */ React51.createElement(import_ui42.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React51.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(ControlLabel, null, label)), /* @__PURE__ */ React51.createElement(import_ui42.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React51.createElement(StylesField, { bind: side }, /* @__PURE__ */ React51.createElement(import_editor_controls25.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
3349
+ return /* @__PURE__ */ React52.createElement(StylesField, { bind: side }, /* @__PURE__ */ React52.createElement(import_ui43.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React52.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React52.createElement(ControlLabel, null, label)), /* @__PURE__ */ React52.createElement(import_ui43.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React52.createElement(import_editor_controls26.SizeControl, { startIcon: sideIcons[side], extendedValues: ["auto"] }))));
3302
3350
  };
3303
3351
 
3304
3352
  // src/components/style-sections/position-section/offset-field.tsx
3305
- var React52 = __toESM(require("react"));
3306
- var import_editor_controls26 = require("@elementor/editor-controls");
3307
- var import_ui43 = require("@elementor/ui");
3308
- var import_i18n27 = require("@wordpress/i18n");
3309
- var OffsetField = () => {
3310
- return /* @__PURE__ */ React52.createElement(StylesField, { bind: "scroll-margin-top" }, /* @__PURE__ */ React52.createElement(import_ui43.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React52.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(ControlLabel, null, (0, import_i18n27.__)("Anchor offset", "elementor"))), /* @__PURE__ */ React52.createElement(import_ui43.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React52.createElement(import_editor_controls26.SizeControl, { units: ["px", "em", "rem", "vw", "vh"] }))));
3311
- };
3312
-
3313
- // src/components/style-sections/position-section/position-field.tsx
3314
3353
  var React53 = __toESM(require("react"));
3315
3354
  var import_editor_controls27 = require("@elementor/editor-controls");
3316
3355
  var import_ui44 = require("@elementor/ui");
3317
3356
  var import_i18n28 = require("@wordpress/i18n");
3318
- var positionOptions = [
3319
- { label: (0, import_i18n28.__)("Static", "elementor"), value: "static" },
3320
- { label: (0, import_i18n28.__)("Relative", "elementor"), value: "relative" },
3321
- { label: (0, import_i18n28.__)("Absolute", "elementor"), value: "absolute" },
3322
- { label: (0, import_i18n28.__)("Fixed", "elementor"), value: "fixed" },
3323
- { label: (0, import_i18n28.__)("Sticky", "elementor"), value: "sticky" }
3324
- ];
3325
- var PositionField = ({ onChange }) => {
3326
- return /* @__PURE__ */ React53.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React53.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(ControlLabel, null, (0, import_i18n28.__)("Position", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui44.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React53.createElement(import_editor_controls27.SelectControl, { options: positionOptions, onChange }))));
3357
+ var OffsetField = () => {
3358
+ return /* @__PURE__ */ React53.createElement(StylesField, { bind: "scroll-margin-top" }, /* @__PURE__ */ React53.createElement(import_ui44.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(ControlLabel, null, (0, import_i18n28.__)("Anchor offset", "elementor"))), /* @__PURE__ */ React53.createElement(import_ui44.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(import_editor_controls27.SizeControl, { units: ["px", "em", "rem", "vw", "vh"] }))));
3327
3359
  };
3328
3360
 
3329
- // src/components/style-sections/position-section/z-index-field.tsx
3361
+ // src/components/style-sections/position-section/position-field.tsx
3330
3362
  var React54 = __toESM(require("react"));
3331
3363
  var import_editor_controls28 = require("@elementor/editor-controls");
3332
3364
  var import_ui45 = require("@elementor/ui");
3333
3365
  var import_i18n29 = require("@wordpress/i18n");
3366
+ var positionOptions = [
3367
+ { label: (0, import_i18n29.__)("Static", "elementor"), value: "static" },
3368
+ { label: (0, import_i18n29.__)("Relative", "elementor"), value: "relative" },
3369
+ { label: (0, import_i18n29.__)("Absolute", "elementor"), value: "absolute" },
3370
+ { label: (0, import_i18n29.__)("Fixed", "elementor"), value: "fixed" },
3371
+ { label: (0, import_i18n29.__)("Sticky", "elementor"), value: "sticky" }
3372
+ ];
3373
+ var PositionField = ({ onChange }) => {
3374
+ return /* @__PURE__ */ React54.createElement(StylesField, { bind: "position" }, /* @__PURE__ */ React54.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, (0, import_i18n29.__)("Position", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui45.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React54.createElement(import_editor_controls28.SelectControl, { options: positionOptions, onChange }))));
3375
+ };
3376
+
3377
+ // src/components/style-sections/position-section/z-index-field.tsx
3378
+ var React55 = __toESM(require("react"));
3379
+ var import_editor_controls29 = require("@elementor/editor-controls");
3380
+ var import_ui46 = require("@elementor/ui");
3381
+ var import_i18n30 = require("@wordpress/i18n");
3334
3382
  var ZIndexField = () => {
3335
- return /* @__PURE__ */ React54.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React54.createElement(import_ui45.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(ControlLabel, null, (0, import_i18n29.__)("Z-index", "elementor"))), /* @__PURE__ */ React54.createElement(import_ui45.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(import_editor_controls28.NumberControl, null))));
3383
+ return /* @__PURE__ */ React55.createElement(StylesField, { bind: "z-index" }, /* @__PURE__ */ React55.createElement(import_ui46.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React55.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(ControlLabel, null, (0, import_i18n30.__)("Z-index", "elementor"))), /* @__PURE__ */ React55.createElement(import_ui46.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React55.createElement(import_editor_controls29.NumberControl, null))));
3336
3384
  };
3337
3385
 
3338
3386
  // src/components/style-sections/position-section/position-section.tsx
@@ -3345,7 +3393,7 @@ var PositionSection = () => {
3345
3393
  "inset-inline-end"
3346
3394
  ]);
3347
3395
  const [dimensionsValuesFromHistory, updateDimensionsHistory, clearDimensionsHistory] = usePersistDimensions();
3348
- const isCssIdFeatureActive = (0, import_editor_v1_adapters9.isExperimentActive)("e_v_3_30");
3396
+ const isCssIdFeatureActive = (0, import_editor_v1_adapters10.isExperimentActive)("e_v_3_30");
3349
3397
  const onPositionChange = (newPosition, previousPosition) => {
3350
3398
  if (newPosition === "static") {
3351
3399
  if (dimensionsValues) {
@@ -3365,7 +3413,7 @@ var PositionSection = () => {
3365
3413
  }
3366
3414
  };
3367
3415
  const isNotStatic = positionValue && positionValue?.value !== "static";
3368
- return /* @__PURE__ */ React55.createElement(SectionContent, null, /* @__PURE__ */ React55.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement(DimensionsField, null), /* @__PURE__ */ React55.createElement(ZIndexField, null)) : null, isCssIdFeatureActive && /* @__PURE__ */ React55.createElement(React55.Fragment, null, /* @__PURE__ */ React55.createElement(PanelDivider, null), /* @__PURE__ */ React55.createElement(OffsetField, null)));
3416
+ return /* @__PURE__ */ React56.createElement(SectionContent, null, /* @__PURE__ */ React56.createElement(PositionField, { onChange: onPositionChange }), isNotStatic ? /* @__PURE__ */ React56.createElement(React56.Fragment, null, /* @__PURE__ */ React56.createElement(DimensionsField, null), /* @__PURE__ */ React56.createElement(ZIndexField, null)) : null, isCssIdFeatureActive && /* @__PURE__ */ React56.createElement(React56.Fragment, null, /* @__PURE__ */ React56.createElement(PanelDivider, null), /* @__PURE__ */ React56.createElement(OffsetField, null)));
3369
3417
  };
3370
3418
  var usePersistDimensions = () => {
3371
3419
  const { id: styleDefID, meta } = useStyle();
@@ -3375,179 +3423,235 @@ var usePersistDimensions = () => {
3375
3423
  };
3376
3424
 
3377
3425
  // src/components/style-sections/size-section/size-section.tsx
3378
- var React60 = __toESM(require("react"));
3379
- var import_editor_controls32 = require("@elementor/editor-controls");
3380
- var import_editor_v1_adapters10 = require("@elementor/editor-v1-adapters");
3381
- var import_ui50 = require("@elementor/ui");
3382
- var import_i18n34 = require("@wordpress/i18n");
3426
+ var React62 = __toESM(require("react"));
3427
+ var import_editor_controls33 = require("@elementor/editor-controls");
3428
+ var import_editor_v1_adapters12 = require("@elementor/editor-v1-adapters");
3429
+ var import_ui51 = require("@elementor/ui");
3430
+ var import_i18n35 = require("@wordpress/i18n");
3383
3431
 
3384
- // src/components/collapsible-content.tsx
3385
- var React56 = __toESM(require("react"));
3386
- var import_react25 = require("react");
3387
- var import_ui46 = require("@elementor/ui");
3388
- var import_i18n30 = require("@wordpress/i18n");
3389
- var CollapsibleContent = ({ children, defaultOpen = false }) => {
3390
- const [open, setOpen] = (0, import_react25.useState)(defaultOpen);
3391
- const handleToggle = () => {
3392
- setOpen((prevOpen) => !prevOpen);
3393
- };
3394
- return /* @__PURE__ */ React56.createElement(import_ui46.Stack, null, /* @__PURE__ */ React56.createElement(
3395
- import_ui46.Button,
3396
- {
3397
- fullWidth: true,
3398
- size: "small",
3399
- color: "secondary",
3400
- variant: "outlined",
3401
- onClick: handleToggle,
3402
- endIcon: /* @__PURE__ */ React56.createElement(CollapseIcon, { open }),
3403
- sx: { my: 0.5 }
3404
- },
3405
- open ? (0, import_i18n30.__)("Show less", "elementor") : (0, import_i18n30.__)("Show more", "elementor")
3406
- ), /* @__PURE__ */ React56.createElement(import_ui46.Collapse, { in: open, timeout: "auto", unmountOnExit: true }, children));
3407
- };
3432
+ // src/components/style-tab-collapsible-content.tsx
3433
+ var React58 = __toESM(require("react"));
3434
+ var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
3408
3435
 
3409
- // src/components/style-sections/size-section/object-fit-field.tsx
3436
+ // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3410
3437
  var React57 = __toESM(require("react"));
3411
- var import_editor_controls29 = require("@elementor/editor-controls");
3438
+ var import_editor_styles_repository11 = require("@elementor/editor-styles-repository");
3412
3439
  var import_ui47 = require("@elementor/ui");
3413
3440
  var import_i18n31 = require("@wordpress/i18n");
3441
+ var orderedVariants = ["global", "local", "overridden"];
3442
+ var StylesInheritanceSectionIndicators = ({ fields }) => {
3443
+ const { id, meta } = useStyle();
3444
+ const snapshot = useStylesInheritanceSnapshot();
3445
+ const snapshotFields = Object.fromEntries(
3446
+ Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
3447
+ );
3448
+ const indicators = getIndicators(snapshotFields, id ?? "", meta);
3449
+ if (Object.values(indicators).filter(Boolean).length === 0) {
3450
+ return null;
3451
+ }
3452
+ const hasActualValues = (0, import_i18n31.__)("Has effective styles", "elementor");
3453
+ const hasOverriddenValues = (0, import_i18n31.__)("Has overridden styles", "elementor");
3454
+ return /* @__PURE__ */ React57.createElement(import_ui47.Tooltip, { title: (0, import_i18n31.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React57.createElement(import_ui47.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, orderedVariants.map(
3455
+ (variant) => indicators[variant] && /* @__PURE__ */ React57.createElement(
3456
+ StyleIndicator,
3457
+ {
3458
+ key: variant,
3459
+ variant,
3460
+ "data-variant": variant,
3461
+ role: "listitem",
3462
+ "aria-label": variant === "overridden" ? hasOverriddenValues : hasActualValues
3463
+ }
3464
+ )
3465
+ )));
3466
+ };
3467
+ function getIndicators(snapshotFields, styleId, meta) {
3468
+ const indicators = {};
3469
+ Object.values(snapshotFields).forEach((inheritanceChain) => {
3470
+ const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
3471
+ if (!currentStyle) {
3472
+ return;
3473
+ }
3474
+ const [actualStyle] = inheritanceChain;
3475
+ if (currentStyle === actualStyle) {
3476
+ const providerKey = actualStyle.provider ?? "";
3477
+ if ((0, import_editor_styles_repository11.isElementsStylesProvider)(providerKey)) {
3478
+ indicators.local = true;
3479
+ return;
3480
+ }
3481
+ if (providerKey !== import_editor_styles_repository11.ELEMENTS_BASE_STYLES_PROVIDER_KEY) {
3482
+ indicators.global = true;
3483
+ }
3484
+ return;
3485
+ }
3486
+ indicators.overridden = true;
3487
+ });
3488
+ return indicators;
3489
+ }
3490
+ function getCurrentStyleFromChain(chain, styleId, meta) {
3491
+ return chain.find(
3492
+ ({
3493
+ style: { id },
3494
+ variant: {
3495
+ meta: { breakpoint, state }
3496
+ }
3497
+ }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
3498
+ );
3499
+ }
3500
+
3501
+ // src/components/style-tab-collapsible-content.tsx
3502
+ var StyleTabCollapsibleContent = ({ fields = [], children }) => {
3503
+ return /* @__PURE__ */ React58.createElement(CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3504
+ };
3505
+ function getStylesInheritanceIndicators(fields) {
3506
+ const isUsingFieldsIndicators = (0, import_editor_v1_adapters11.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30);
3507
+ if (fields.length === 0 || !isUsingFieldsIndicators) {
3508
+ return null;
3509
+ }
3510
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React58.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3511
+ }
3512
+
3513
+ // src/components/style-sections/size-section/object-fit-field.tsx
3514
+ var React59 = __toESM(require("react"));
3515
+ var import_editor_controls30 = require("@elementor/editor-controls");
3516
+ var import_ui48 = require("@elementor/ui");
3517
+ var import_i18n32 = require("@wordpress/i18n");
3414
3518
  var positionOptions2 = [
3415
- { label: (0, import_i18n31.__)("Fill", "elementor"), value: "fill" },
3416
- { label: (0, import_i18n31.__)("Cover", "elementor"), value: "cover" },
3417
- { label: (0, import_i18n31.__)("Contain", "elementor"), value: "contain" },
3418
- { label: (0, import_i18n31.__)("None", "elementor"), value: "none" },
3419
- { label: (0, import_i18n31.__)("Scale down", "elementor"), value: "scale-down" }
3519
+ { label: (0, import_i18n32.__)("Fill", "elementor"), value: "fill" },
3520
+ { label: (0, import_i18n32.__)("Cover", "elementor"), value: "cover" },
3521
+ { label: (0, import_i18n32.__)("Contain", "elementor"), value: "contain" },
3522
+ { label: (0, import_i18n32.__)("None", "elementor"), value: "none" },
3523
+ { label: (0, import_i18n32.__)("Scale down", "elementor"), value: "scale-down" }
3420
3524
  ];
3421
3525
  var ObjectFitField = () => {
3422
- return /* @__PURE__ */ React57.createElement(StylesField, { bind: "object-fit" }, /* @__PURE__ */ React57.createElement(import_ui47.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui47.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(ControlLabel, null, (0, import_i18n31.__)("Object fit", "elementor"))), /* @__PURE__ */ React57.createElement(import_ui47.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React57.createElement(import_editor_controls29.SelectControl, { options: positionOptions2 }))));
3526
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "object-fit" }, /* @__PURE__ */ React59.createElement(import_ui48.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(import_ui48.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, (0, import_i18n32.__)("Object fit", "elementor"))), /* @__PURE__ */ React59.createElement(import_ui48.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React59.createElement(import_editor_controls30.SelectControl, { options: positionOptions2 }))));
3423
3527
  };
3424
3528
 
3425
3529
  // src/components/style-sections/size-section/object-position-field.tsx
3426
- var React58 = __toESM(require("react"));
3427
- var import_editor_controls30 = require("@elementor/editor-controls");
3428
- var import_ui48 = require("@elementor/ui");
3429
- var import_i18n32 = require("@wordpress/i18n");
3530
+ var React60 = __toESM(require("react"));
3531
+ var import_editor_controls31 = require("@elementor/editor-controls");
3532
+ var import_ui49 = require("@elementor/ui");
3533
+ var import_i18n33 = require("@wordpress/i18n");
3430
3534
  var positionOptions3 = [
3431
- { label: (0, import_i18n32.__)("Center center", "elementor"), value: "center center" },
3432
- { label: (0, import_i18n32.__)("Center left", "elementor"), value: "center left" },
3433
- { label: (0, import_i18n32.__)("Center right", "elementor"), value: "center right" },
3434
- { label: (0, import_i18n32.__)("Top center", "elementor"), value: "top center" },
3435
- { label: (0, import_i18n32.__)("Top left", "elementor"), value: "top left" },
3436
- { label: (0, import_i18n32.__)("Top right", "elementor"), value: "top right" },
3437
- { label: (0, import_i18n32.__)("Bottom center", "elementor"), value: "bottom center" },
3438
- { label: (0, import_i18n32.__)("Bottom left", "elementor"), value: "bottom left" },
3439
- { label: (0, import_i18n32.__)("Bottom right", "elementor"), value: "bottom right" }
3535
+ { label: (0, import_i18n33.__)("Center center", "elementor"), value: "center center" },
3536
+ { label: (0, import_i18n33.__)("Center left", "elementor"), value: "center left" },
3537
+ { label: (0, import_i18n33.__)("Center right", "elementor"), value: "center right" },
3538
+ { label: (0, import_i18n33.__)("Top center", "elementor"), value: "top center" },
3539
+ { label: (0, import_i18n33.__)("Top left", "elementor"), value: "top left" },
3540
+ { label: (0, import_i18n33.__)("Top right", "elementor"), value: "top right" },
3541
+ { label: (0, import_i18n33.__)("Bottom center", "elementor"), value: "bottom center" },
3542
+ { label: (0, import_i18n33.__)("Bottom left", "elementor"), value: "bottom left" },
3543
+ { label: (0, import_i18n33.__)("Bottom right", "elementor"), value: "bottom right" }
3440
3544
  ];
3441
3545
  var ObjectPositionField = () => {
3442
- return /* @__PURE__ */ React58.createElement(StylesField, { bind: "object-position" }, /* @__PURE__ */ React58.createElement(import_ui48.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React58.createElement(import_ui48.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, (0, import_i18n32.__)("Object position", "elementor"))), /* @__PURE__ */ React58.createElement(import_ui48.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React58.createElement(import_editor_controls30.SelectControl, { options: positionOptions3 }))));
3546
+ return /* @__PURE__ */ React60.createElement(StylesField, { bind: "object-position" }, /* @__PURE__ */ React60.createElement(import_ui49.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui49.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, (0, import_i18n33.__)("Object position", "elementor"))), /* @__PURE__ */ React60.createElement(import_ui49.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React60.createElement(import_editor_controls31.SelectControl, { options: positionOptions3 }))));
3443
3547
  };
3444
3548
 
3445
3549
  // src/components/style-sections/size-section/overflow-field.tsx
3446
- var React59 = __toESM(require("react"));
3447
- var import_editor_controls31 = require("@elementor/editor-controls");
3448
- var import_icons19 = require("@elementor/icons");
3449
- var import_ui49 = require("@elementor/ui");
3450
- var import_i18n33 = require("@wordpress/i18n");
3550
+ var React61 = __toESM(require("react"));
3551
+ var import_editor_controls32 = require("@elementor/editor-controls");
3552
+ var import_icons18 = require("@elementor/icons");
3553
+ var import_ui50 = require("@elementor/ui");
3554
+ var import_i18n34 = require("@wordpress/i18n");
3451
3555
  var options6 = [
3452
3556
  {
3453
3557
  value: "visible",
3454
- label: (0, import_i18n33.__)("Visible", "elementor"),
3455
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons19.EyeIcon, { fontSize: size }),
3558
+ label: (0, import_i18n34.__)("Visible", "elementor"),
3559
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons18.EyeIcon, { fontSize: size }),
3456
3560
  showTooltip: true
3457
3561
  },
3458
3562
  {
3459
3563
  value: "hidden",
3460
- label: (0, import_i18n33.__)("Hidden", "elementor"),
3461
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons19.EyeOffIcon, { fontSize: size }),
3564
+ label: (0, import_i18n34.__)("Hidden", "elementor"),
3565
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons18.EyeOffIcon, { fontSize: size }),
3462
3566
  showTooltip: true
3463
3567
  },
3464
3568
  {
3465
3569
  value: "auto",
3466
- label: (0, import_i18n33.__)("Auto", "elementor"),
3467
- renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons19.LetterAIcon, { fontSize: size }),
3570
+ label: (0, import_i18n34.__)("Auto", "elementor"),
3571
+ renderContent: ({ size }) => /* @__PURE__ */ React61.createElement(import_icons18.LetterAIcon, { fontSize: size }),
3468
3572
  showTooltip: true
3469
3573
  }
3470
3574
  ];
3471
3575
  var OverflowField = () => {
3472
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React59.createElement(import_ui49.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React59.createElement(import_ui49.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React59.createElement(ControlLabel, null, (0, import_i18n33.__)("Overflow", "elementor"))), /* @__PURE__ */ React59.createElement(import_ui49.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React59.createElement(import_editor_controls31.ToggleControl, { options: options6 }))));
3576
+ return /* @__PURE__ */ React61.createElement(StylesField, { bind: "overflow" }, /* @__PURE__ */ React61.createElement(import_ui50.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React61.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, (0, import_i18n34.__)("Overflow", "elementor"))), /* @__PURE__ */ React61.createElement(import_ui50.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "flex-end" } }, /* @__PURE__ */ React61.createElement(import_editor_controls32.ToggleControl, { options: options6 }))));
3473
3577
  };
3474
3578
 
3475
3579
  // src/components/style-sections/size-section/size-section.tsx
3476
3580
  var SizeSection = () => {
3477
3581
  const [fitValue] = useStylesField("object-fit");
3478
3582
  const isNotFill = fitValue && fitValue?.value !== "fill";
3479
- const isVersion330Active = (0, import_editor_v1_adapters10.isExperimentActive)("e_v_3_30");
3480
- return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(SizeField, { bind: "width", label: (0, import_i18n34.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(SizeField, { bind: "height", label: (0, import_i18n34.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(
3583
+ const isVersion330Active = (0, import_editor_v1_adapters12.isExperimentActive)("e_v_3_30");
3584
+ return /* @__PURE__ */ React62.createElement(SectionContent, null, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(SizeField, { bind: "width", label: (0, import_i18n35.__)("Width", "elementor"), extendedValues: ["auto"] })), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(SizeField, { bind: "height", label: (0, import_i18n35.__)("Height", "elementor"), extendedValues: ["auto"] }))), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(
3481
3585
  SizeField,
3482
3586
  {
3483
3587
  bind: "min-width",
3484
- label: (0, import_i18n34.__)("Min width", "elementor"),
3588
+ label: (0, import_i18n35.__)("Min width", "elementor"),
3485
3589
  extendedValues: ["auto"]
3486
3590
  }
3487
- )), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(
3591
+ )), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(
3488
3592
  SizeField,
3489
3593
  {
3490
3594
  bind: "min-height",
3491
- label: (0, import_i18n34.__)("Min height", "elementor"),
3595
+ label: (0, import_i18n35.__)("Min height", "elementor"),
3492
3596
  extendedValues: ["auto"]
3493
3597
  }
3494
- ))), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(SizeField, { bind: "max-width", label: (0, import_i18n34.__)("Max width", "elementor") })), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(SizeField, { bind: "max-height", label: (0, import_i18n34.__)("Max height", "elementor") }))), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_ui50.Stack, null, /* @__PURE__ */ React60.createElement(OverflowField, null)), isVersion330Active && /* @__PURE__ */ React60.createElement(CollapsibleContent, null, /* @__PURE__ */ React60.createElement(import_ui50.Stack, { gap: 2 }, /* @__PURE__ */ React60.createElement(StylesField, { bind: "aspect-ratio" }, /* @__PURE__ */ React60.createElement(import_editor_controls32.AspectRatioControl, { label: (0, import_i18n34.__)("Aspect Ratio", "elementor") })), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(ObjectFitField, null), isNotFill && /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React60.createElement(ObjectPositionField, null)))));
3598
+ ))), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(SizeField, { bind: "max-width", label: (0, import_i18n35.__)("Max width", "elementor") })), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(SizeField, { bind: "max-height", label: (0, import_i18n35.__)("Max height", "elementor") }))), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(import_ui51.Stack, null, /* @__PURE__ */ React62.createElement(OverflowField, null)), isVersion330Active && /* @__PURE__ */ React62.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React62.createElement(import_ui51.Stack, { gap: 2 }, /* @__PURE__ */ React62.createElement(StylesField, { bind: "aspect-ratio" }, /* @__PURE__ */ React62.createElement(import_editor_controls33.AspectRatioControl, { label: (0, import_i18n35.__)("Aspect Ratio", "elementor") })), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(ObjectFitField, null), isNotFill && /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(ObjectPositionField, null)))));
3495
3599
  };
3496
3600
  var SizeField = ({ label, bind, extendedValues }) => {
3497
- return /* @__PURE__ */ React60.createElement(StylesField, { bind }, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(ControlLabel, null, label)), /* @__PURE__ */ React60.createElement(import_ui50.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React60.createElement(import_editor_controls32.SizeControl, { extendedValues }))));
3601
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React62.createElement(ControlLabel, null, label)), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React62.createElement(import_editor_controls33.SizeControl, { extendedValues }))));
3498
3602
  };
3499
3603
 
3500
3604
  // src/components/style-sections/spacing-section/spacing-section.tsx
3501
- var React61 = __toESM(require("react"));
3502
- var import_editor_controls33 = require("@elementor/editor-controls");
3503
- var import_i18n35 = require("@wordpress/i18n");
3605
+ var React63 = __toESM(require("react"));
3606
+ var import_editor_controls34 = require("@elementor/editor-controls");
3607
+ var import_i18n36 = require("@wordpress/i18n");
3504
3608
  var SpacingSection = () => {
3505
3609
  const { isSiteRtl } = useDirection();
3506
- return /* @__PURE__ */ React61.createElement(SectionContent, null, /* @__PURE__ */ React61.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React61.createElement(
3507
- import_editor_controls33.LinkedDimensionsControl,
3610
+ return /* @__PURE__ */ React63.createElement(SectionContent, null, /* @__PURE__ */ React63.createElement(StylesField, { bind: "margin" }, /* @__PURE__ */ React63.createElement(
3611
+ import_editor_controls34.LinkedDimensionsControl,
3508
3612
  {
3509
- label: (0, import_i18n35.__)("Margin", "elementor"),
3613
+ label: (0, import_i18n36.__)("Margin", "elementor"),
3510
3614
  isSiteRtl,
3511
3615
  extendedValues: ["auto"]
3512
3616
  }
3513
- )), /* @__PURE__ */ React61.createElement(PanelDivider, null), /* @__PURE__ */ React61.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React61.createElement(import_editor_controls33.LinkedDimensionsControl, { label: (0, import_i18n35.__)("Padding", "elementor"), isSiteRtl })));
3617
+ )), /* @__PURE__ */ React63.createElement(PanelDivider, null), /* @__PURE__ */ React63.createElement(StylesField, { bind: "padding" }, /* @__PURE__ */ React63.createElement(import_editor_controls34.LinkedDimensionsControl, { label: (0, import_i18n36.__)("Padding", "elementor"), isSiteRtl })));
3514
3618
  };
3515
3619
 
3516
3620
  // src/components/style-sections/typography-section/typography-section.tsx
3517
- var React77 = __toESM(require("react"));
3518
- var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
3621
+ var React79 = __toESM(require("react"));
3622
+ var import_editor_v1_adapters13 = require("@elementor/editor-v1-adapters");
3519
3623
 
3520
3624
  // src/components/style-sections/typography-section/column-count-field.tsx
3521
- var React62 = __toESM(require("react"));
3522
- var import_editor_controls34 = require("@elementor/editor-controls");
3523
- var import_ui51 = require("@elementor/ui");
3524
- var import_i18n36 = require("@wordpress/i18n");
3625
+ var React64 = __toESM(require("react"));
3626
+ var import_editor_controls35 = require("@elementor/editor-controls");
3627
+ var import_ui52 = require("@elementor/ui");
3628
+ var import_i18n37 = require("@wordpress/i18n");
3525
3629
  var ColumnCountField = () => {
3526
- return /* @__PURE__ */ React62.createElement(StylesField, { bind: "column-count" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(ControlLabel, null, (0, import_i18n36.__)("Columns", "elementor"))), /* @__PURE__ */ React62.createElement(import_ui51.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React62.createElement(import_editor_controls34.NumberControl, { shouldForceInt: true, min: 0, step: 1 }))));
3630
+ return /* @__PURE__ */ React64.createElement(StylesField, { bind: "column-count" }, /* @__PURE__ */ React64.createElement(import_ui52.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React64.createElement(import_ui52.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React64.createElement(ControlLabel, null, (0, import_i18n37.__)("Columns", "elementor"))), /* @__PURE__ */ React64.createElement(import_ui52.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React64.createElement(import_editor_controls35.NumberControl, { shouldForceInt: true, min: 0, step: 1 }))));
3527
3631
  };
3528
3632
 
3529
3633
  // src/components/style-sections/typography-section/column-gap-field.tsx
3530
- var React63 = __toESM(require("react"));
3531
- var import_editor_controls35 = require("@elementor/editor-controls");
3532
- var import_ui52 = require("@elementor/ui");
3533
- var import_i18n37 = require("@wordpress/i18n");
3634
+ var React65 = __toESM(require("react"));
3635
+ var import_editor_controls36 = require("@elementor/editor-controls");
3636
+ var import_ui53 = require("@elementor/ui");
3637
+ var import_i18n38 = require("@wordpress/i18n");
3534
3638
  var ColumnGapField = () => {
3535
- return /* @__PURE__ */ React63.createElement(StylesField, { bind: "column-gap" }, /* @__PURE__ */ React63.createElement(import_ui52.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React63.createElement(import_ui52.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React63.createElement(ControlLabel, null, (0, import_i18n37.__)("Column gap", "elementor"))), /* @__PURE__ */ React63.createElement(import_ui52.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SizeControl, null))));
3639
+ return /* @__PURE__ */ React65.createElement(StylesField, { bind: "column-gap" }, /* @__PURE__ */ React65.createElement(import_ui53.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React65.createElement(import_ui53.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, (0, import_i18n38.__)("Column gap", "elementor"))), /* @__PURE__ */ React65.createElement(import_ui53.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(import_editor_controls36.SizeControl, null))));
3536
3640
  };
3537
3641
 
3538
3642
  // src/components/style-sections/typography-section/font-family-field.tsx
3539
- var React64 = __toESM(require("react"));
3540
- var import_editor_controls36 = require("@elementor/editor-controls");
3541
- var import_ui53 = require("@elementor/ui");
3542
- var import_i18n39 = require("@wordpress/i18n");
3643
+ var React66 = __toESM(require("react"));
3644
+ var import_editor_controls37 = require("@elementor/editor-controls");
3645
+ var import_ui54 = require("@elementor/ui");
3646
+ var import_i18n40 = require("@wordpress/i18n");
3543
3647
 
3544
3648
  // src/components/style-sections/typography-section/hooks/use-font-families.ts
3545
3649
  var import_react26 = require("react");
3546
- var import_i18n38 = require("@wordpress/i18n");
3650
+ var import_i18n39 = require("@wordpress/i18n");
3547
3651
  var supportedCategories = {
3548
- system: (0, import_i18n38.__)("System", "elementor"),
3549
- custom: (0, import_i18n38.__)("Custom Fonts", "elementor"),
3550
- googlefonts: (0, import_i18n38.__)("Google Fonts", "elementor")
3652
+ system: (0, import_i18n39.__)("System", "elementor"),
3653
+ custom: (0, import_i18n39.__)("Custom Fonts", "elementor"),
3654
+ googlefonts: (0, import_i18n39.__)("Google Fonts", "elementor")
3551
3655
  };
3552
3656
  var getFontFamilies = () => {
3553
3657
  const { controls } = getElementorConfig();
@@ -3584,188 +3688,188 @@ var FontFamilyField = () => {
3584
3688
  if (fontFamilies.length === 0) {
3585
3689
  return null;
3586
3690
  }
3587
- return /* @__PURE__ */ React64.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React64.createElement(import_ui53.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React64.createElement(import_ui53.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React64.createElement(ControlLabel, null, (0, import_i18n39.__)("Font family", "elementor"))), /* @__PURE__ */ React64.createElement(import_ui53.Grid, { item: true, xs: 6, sx: { minWidth: 0 } }, /* @__PURE__ */ React64.createElement(import_editor_controls36.FontFamilyControl, { fontFamilies }))));
3691
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-family" }, /* @__PURE__ */ React66.createElement(import_ui54.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React66.createElement(import_ui54.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React66.createElement(ControlLabel, null, (0, import_i18n40.__)("Font family", "elementor"))), /* @__PURE__ */ React66.createElement(import_ui54.Grid, { item: true, xs: 6, sx: { minWidth: 0 } }, /* @__PURE__ */ React66.createElement(import_editor_controls37.FontFamilyControl, { fontFamilies }))));
3588
3692
  };
3589
3693
 
3590
3694
  // src/components/style-sections/typography-section/font-size-field.tsx
3591
- var React65 = __toESM(require("react"));
3592
- var import_editor_controls37 = require("@elementor/editor-controls");
3593
- var import_ui54 = require("@elementor/ui");
3594
- var import_i18n40 = require("@wordpress/i18n");
3695
+ var React67 = __toESM(require("react"));
3696
+ var import_editor_controls38 = require("@elementor/editor-controls");
3697
+ var import_ui55 = require("@elementor/ui");
3698
+ var import_i18n41 = require("@wordpress/i18n");
3595
3699
  var FontSizeField = () => {
3596
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React65.createElement(import_ui54.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React65.createElement(import_ui54.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(ControlLabel, null, (0, import_i18n40.__)("Font size", "elementor"))), /* @__PURE__ */ React65.createElement(import_ui54.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React65.createElement(import_editor_controls37.SizeControl, null))));
3700
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-size" }, /* @__PURE__ */ React67.createElement(import_ui55.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React67.createElement(import_ui55.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, (0, import_i18n41.__)("Font size", "elementor"))), /* @__PURE__ */ React67.createElement(import_ui55.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(import_editor_controls38.SizeControl, null))));
3597
3701
  };
3598
3702
 
3599
3703
  // src/components/style-sections/typography-section/font-style-field.tsx
3600
- var React66 = __toESM(require("react"));
3601
- var import_editor_controls38 = require("@elementor/editor-controls");
3602
- var import_icons20 = require("@elementor/icons");
3603
- var import_ui55 = require("@elementor/ui");
3604
- var import_i18n41 = require("@wordpress/i18n");
3704
+ var React68 = __toESM(require("react"));
3705
+ var import_editor_controls39 = require("@elementor/editor-controls");
3706
+ var import_icons19 = require("@elementor/icons");
3707
+ var import_ui56 = require("@elementor/ui");
3708
+ var import_i18n42 = require("@wordpress/i18n");
3605
3709
  var options7 = [
3606
3710
  {
3607
3711
  value: "normal",
3608
- label: (0, import_i18n41.__)("Normal", "elementor"),
3609
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons20.MinusIcon, { fontSize: size }),
3712
+ label: (0, import_i18n42.__)("Normal", "elementor"),
3713
+ renderContent: ({ size }) => /* @__PURE__ */ React68.createElement(import_icons19.MinusIcon, { fontSize: size }),
3610
3714
  showTooltip: true
3611
3715
  },
3612
3716
  {
3613
3717
  value: "italic",
3614
- label: (0, import_i18n41.__)("Italic", "elementor"),
3615
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons20.ItalicIcon, { fontSize: size }),
3718
+ label: (0, import_i18n42.__)("Italic", "elementor"),
3719
+ renderContent: ({ size }) => /* @__PURE__ */ React68.createElement(import_icons19.ItalicIcon, { fontSize: size }),
3616
3720
  showTooltip: true
3617
3721
  }
3618
3722
  ];
3619
- var FontStyleField = () => /* @__PURE__ */ React66.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React66.createElement(import_ui55.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React66.createElement(import_ui55.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React66.createElement(import_editor_controls38.ControlFormLabel, null, (0, import_i18n41.__)("Font style", "elementor"))), /* @__PURE__ */ React66.createElement(import_ui55.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React66.createElement(import_editor_controls38.ToggleControl, { options: options7 }))));
3723
+ var FontStyleField = () => /* @__PURE__ */ React68.createElement(StylesField, { bind: "font-style" }, /* @__PURE__ */ React68.createElement(import_ui56.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React68.createElement(import_ui56.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(import_editor_controls39.ControlFormLabel, null, (0, import_i18n42.__)("Font style", "elementor"))), /* @__PURE__ */ React68.createElement(import_ui56.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React68.createElement(import_editor_controls39.ToggleControl, { options: options7 }))));
3620
3724
 
3621
3725
  // src/components/style-sections/typography-section/font-weight-field.tsx
3622
- var React67 = __toESM(require("react"));
3623
- var import_editor_controls39 = require("@elementor/editor-controls");
3624
- var import_ui56 = require("@elementor/ui");
3625
- var import_i18n42 = require("@wordpress/i18n");
3726
+ var React69 = __toESM(require("react"));
3727
+ var import_editor_controls40 = require("@elementor/editor-controls");
3728
+ var import_ui57 = require("@elementor/ui");
3729
+ var import_i18n43 = require("@wordpress/i18n");
3626
3730
  var fontWeightOptions = [
3627
- { value: "100", label: (0, import_i18n42.__)("100 - Thin", "elementor") },
3628
- { value: "200", label: (0, import_i18n42.__)("200 - Extra light", "elementor") },
3629
- { value: "300", label: (0, import_i18n42.__)("300 - Light", "elementor") },
3630
- { value: "400", label: (0, import_i18n42.__)("400 - Normal", "elementor") },
3631
- { value: "500", label: (0, import_i18n42.__)("500 - Medium", "elementor") },
3632
- { value: "600", label: (0, import_i18n42.__)("600 - Semi bold", "elementor") },
3633
- { value: "700", label: (0, import_i18n42.__)("700 - Bold", "elementor") },
3634
- { value: "800", label: (0, import_i18n42.__)("800 - Extra bold", "elementor") },
3635
- { value: "900", label: (0, import_i18n42.__)("900 - Black", "elementor") }
3731
+ { value: "100", label: (0, import_i18n43.__)("100 - Thin", "elementor") },
3732
+ { value: "200", label: (0, import_i18n43.__)("200 - Extra light", "elementor") },
3733
+ { value: "300", label: (0, import_i18n43.__)("300 - Light", "elementor") },
3734
+ { value: "400", label: (0, import_i18n43.__)("400 - Normal", "elementor") },
3735
+ { value: "500", label: (0, import_i18n43.__)("500 - Medium", "elementor") },
3736
+ { value: "600", label: (0, import_i18n43.__)("600 - Semi bold", "elementor") },
3737
+ { value: "700", label: (0, import_i18n43.__)("700 - Bold", "elementor") },
3738
+ { value: "800", label: (0, import_i18n43.__)("800 - Extra bold", "elementor") },
3739
+ { value: "900", label: (0, import_i18n43.__)("900 - Black", "elementor") }
3636
3740
  ];
3637
3741
  var FontWeightField = () => {
3638
- return /* @__PURE__ */ React67.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React67.createElement(import_ui56.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React67.createElement(import_ui56.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, (0, import_i18n42.__)("Font weight", "elementor"))), /* @__PURE__ */ React67.createElement(import_ui56.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React67.createElement(import_editor_controls39.SelectControl, { options: fontWeightOptions }))));
3742
+ return /* @__PURE__ */ React69.createElement(StylesField, { bind: "font-weight" }, /* @__PURE__ */ React69.createElement(import_ui57.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React69.createElement(import_ui57.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(ControlLabel, null, (0, import_i18n43.__)("Font weight", "elementor"))), /* @__PURE__ */ React69.createElement(import_ui57.Grid, { item: true, xs: 6, sx: { overflow: "hidden" } }, /* @__PURE__ */ React69.createElement(import_editor_controls40.SelectControl, { options: fontWeightOptions }))));
3639
3743
  };
3640
3744
 
3641
3745
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
3642
- var React68 = __toESM(require("react"));
3643
- var import_editor_controls40 = require("@elementor/editor-controls");
3644
- var import_ui57 = require("@elementor/ui");
3645
- var import_i18n43 = require("@wordpress/i18n");
3646
- var LetterSpacingField = () => {
3647
- return /* @__PURE__ */ React68.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React68.createElement(import_ui57.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React68.createElement(import_ui57.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(ControlLabel, null, (0, import_i18n43.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React68.createElement(import_ui57.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(import_editor_controls40.SizeControl, null))));
3648
- };
3649
-
3650
- // src/components/style-sections/typography-section/line-height-field.tsx
3651
- var React69 = __toESM(require("react"));
3746
+ var React70 = __toESM(require("react"));
3652
3747
  var import_editor_controls41 = require("@elementor/editor-controls");
3653
3748
  var import_ui58 = require("@elementor/ui");
3654
3749
  var import_i18n44 = require("@wordpress/i18n");
3655
- var LineHeightField = () => {
3656
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React69.createElement(import_ui58.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React69.createElement(import_ui58.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(ControlLabel, null, (0, import_i18n44.__)("Line height", "elementor"))), /* @__PURE__ */ React69.createElement(import_ui58.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React69.createElement(import_editor_controls41.SizeControl, null))));
3750
+ var LetterSpacingField = () => {
3751
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "letter-spacing" }, /* @__PURE__ */ React70.createElement(import_ui58.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React70.createElement(import_ui58.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React70.createElement(ControlLabel, null, (0, import_i18n44.__)("Letter spacing", "elementor"))), /* @__PURE__ */ React70.createElement(import_ui58.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React70.createElement(import_editor_controls41.SizeControl, null))));
3657
3752
  };
3658
3753
 
3659
- // src/components/style-sections/typography-section/text-alignment-field.tsx
3660
- var React70 = __toESM(require("react"));
3754
+ // src/components/style-sections/typography-section/line-height-field.tsx
3755
+ var React71 = __toESM(require("react"));
3661
3756
  var import_editor_controls42 = require("@elementor/editor-controls");
3662
- var import_icons21 = require("@elementor/icons");
3663
3757
  var import_ui59 = require("@elementor/ui");
3664
3758
  var import_i18n45 = require("@wordpress/i18n");
3665
- var AlignStartIcon = (0, import_ui59.withDirection)(import_icons21.AlignLeftIcon);
3666
- var AlignEndIcon = (0, import_ui59.withDirection)(import_icons21.AlignRightIcon);
3759
+ var LineHeightField = () => {
3760
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "line-height" }, /* @__PURE__ */ React71.createElement(import_ui59.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React71.createElement(import_ui59.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React71.createElement(ControlLabel, null, (0, import_i18n45.__)("Line height", "elementor"))), /* @__PURE__ */ React71.createElement(import_ui59.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React71.createElement(import_editor_controls42.SizeControl, null))));
3761
+ };
3762
+
3763
+ // src/components/style-sections/typography-section/text-alignment-field.tsx
3764
+ var React72 = __toESM(require("react"));
3765
+ var import_editor_controls43 = require("@elementor/editor-controls");
3766
+ var import_icons20 = require("@elementor/icons");
3767
+ var import_ui60 = require("@elementor/ui");
3768
+ var import_i18n46 = require("@wordpress/i18n");
3769
+ var AlignStartIcon = (0, import_ui60.withDirection)(import_icons20.AlignLeftIcon);
3770
+ var AlignEndIcon = (0, import_ui60.withDirection)(import_icons20.AlignRightIcon);
3667
3771
  var options8 = [
3668
3772
  {
3669
3773
  value: "start",
3670
- label: (0, import_i18n45.__)("Start", "elementor"),
3671
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignStartIcon, { fontSize: size }),
3774
+ label: (0, import_i18n46.__)("Start", "elementor"),
3775
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(AlignStartIcon, { fontSize: size }),
3672
3776
  showTooltip: true
3673
3777
  },
3674
3778
  {
3675
3779
  value: "center",
3676
- label: (0, import_i18n45.__)("Center", "elementor"),
3677
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons21.AlignCenterIcon, { fontSize: size }),
3780
+ label: (0, import_i18n46.__)("Center", "elementor"),
3781
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons20.AlignCenterIcon, { fontSize: size }),
3678
3782
  showTooltip: true
3679
3783
  },
3680
3784
  {
3681
3785
  value: "end",
3682
- label: (0, import_i18n45.__)("End", "elementor"),
3683
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(AlignEndIcon, { fontSize: size }),
3786
+ label: (0, import_i18n46.__)("End", "elementor"),
3787
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(AlignEndIcon, { fontSize: size }),
3684
3788
  showTooltip: true
3685
3789
  },
3686
3790
  {
3687
3791
  value: "justify",
3688
- label: (0, import_i18n45.__)("Justify", "elementor"),
3689
- renderContent: ({ size }) => /* @__PURE__ */ React70.createElement(import_icons21.AlignJustifiedIcon, { fontSize: size }),
3792
+ label: (0, import_i18n46.__)("Justify", "elementor"),
3793
+ renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons20.AlignJustifiedIcon, { fontSize: size }),
3690
3794
  showTooltip: true
3691
3795
  }
3692
3796
  ];
3693
3797
  var TextAlignmentField = () => {
3694
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React70.createElement(import_ui59.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React70.createElement(import_ui59.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React70.createElement(ControlLabel, null, (0, import_i18n45.__)("Text align", "elementor"))), /* @__PURE__ */ React70.createElement(import_ui59.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React70.createElement(import_editor_controls42.ToggleControl, { options: options8 }))));
3798
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "text-align" }, /* @__PURE__ */ React72.createElement(import_ui60.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React72.createElement(import_ui60.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React72.createElement(ControlLabel, null, (0, import_i18n46.__)("Text align", "elementor"))), /* @__PURE__ */ React72.createElement(import_ui60.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React72.createElement(import_editor_controls43.ToggleControl, { options: options8 }))));
3695
3799
  };
3696
3800
 
3697
3801
  // src/components/style-sections/typography-section/text-color-field.tsx
3698
- var React71 = __toESM(require("react"));
3699
- var import_editor_controls43 = require("@elementor/editor-controls");
3700
- var import_ui60 = require("@elementor/ui");
3701
- var import_i18n46 = require("@wordpress/i18n");
3802
+ var React73 = __toESM(require("react"));
3803
+ var import_editor_controls44 = require("@elementor/editor-controls");
3804
+ var import_ui61 = require("@elementor/ui");
3805
+ var import_i18n47 = require("@wordpress/i18n");
3702
3806
  var TextColorField = () => {
3703
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React71.createElement(import_ui60.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React71.createElement(import_ui60.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React71.createElement(ControlLabel, null, (0, import_i18n46.__)("Text color", "elementor"))), /* @__PURE__ */ React71.createElement(import_ui60.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React71.createElement(import_editor_controls43.ColorControl, null))));
3807
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "color" }, /* @__PURE__ */ React73.createElement(import_ui61.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React73.createElement(import_ui61.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React73.createElement(ControlLabel, null, (0, import_i18n47.__)("Text color", "elementor"))), /* @__PURE__ */ React73.createElement(import_ui61.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React73.createElement(import_editor_controls44.ColorControl, null))));
3704
3808
  };
3705
3809
 
3706
3810
  // src/components/style-sections/typography-section/text-decoration-field.tsx
3707
- var React72 = __toESM(require("react"));
3708
- var import_editor_controls44 = require("@elementor/editor-controls");
3709
- var import_icons22 = require("@elementor/icons");
3710
- var import_ui61 = require("@elementor/ui");
3711
- var import_i18n47 = require("@wordpress/i18n");
3811
+ var React74 = __toESM(require("react"));
3812
+ var import_editor_controls45 = require("@elementor/editor-controls");
3813
+ var import_icons21 = require("@elementor/icons");
3814
+ var import_ui62 = require("@elementor/ui");
3815
+ var import_i18n48 = require("@wordpress/i18n");
3712
3816
  var options9 = [
3713
3817
  {
3714
3818
  value: "none",
3715
- label: (0, import_i18n47.__)("None", "elementor"),
3716
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons22.MinusIcon, { fontSize: size }),
3819
+ label: (0, import_i18n48.__)("None", "elementor"),
3820
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.MinusIcon, { fontSize: size }),
3717
3821
  showTooltip: true,
3718
3822
  exclusive: true
3719
3823
  },
3720
3824
  {
3721
3825
  value: "underline",
3722
- label: (0, import_i18n47.__)("Underline", "elementor"),
3723
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons22.UnderlineIcon, { fontSize: size }),
3826
+ label: (0, import_i18n48.__)("Underline", "elementor"),
3827
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.UnderlineIcon, { fontSize: size }),
3724
3828
  showTooltip: true
3725
3829
  },
3726
3830
  {
3727
3831
  value: "line-through",
3728
- label: (0, import_i18n47.__)("Line-through", "elementor"),
3729
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons22.StrikethroughIcon, { fontSize: size }),
3832
+ label: (0, import_i18n48.__)("Line-through", "elementor"),
3833
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.StrikethroughIcon, { fontSize: size }),
3730
3834
  showTooltip: true
3731
3835
  },
3732
3836
  {
3733
3837
  value: "overline",
3734
- label: (0, import_i18n47.__)("Overline", "elementor"),
3735
- renderContent: ({ size }) => /* @__PURE__ */ React72.createElement(import_icons22.OverlineIcon, { fontSize: size }),
3838
+ label: (0, import_i18n48.__)("Overline", "elementor"),
3839
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.OverlineIcon, { fontSize: size }),
3736
3840
  showTooltip: true
3737
3841
  }
3738
3842
  ];
3739
- var TextDecorationField = () => /* @__PURE__ */ React72.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React72.createElement(import_ui61.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React72.createElement(import_ui61.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React72.createElement(ControlLabel, null, (0, import_i18n47.__)("Line decoration", "elementor"))), /* @__PURE__ */ React72.createElement(import_ui61.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React72.createElement(import_editor_controls44.ToggleControl, { options: options9, exclusive: false }))));
3843
+ var TextDecorationField = () => /* @__PURE__ */ React74.createElement(StylesField, { bind: "text-decoration" }, /* @__PURE__ */ React74.createElement(import_ui62.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React74.createElement(import_ui62.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React74.createElement(ControlLabel, null, (0, import_i18n48.__)("Line decoration", "elementor"))), /* @__PURE__ */ React74.createElement(import_ui62.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React74.createElement(import_editor_controls45.ToggleControl, { options: options9, exclusive: false }))));
3740
3844
 
3741
3845
  // src/components/style-sections/typography-section/text-direction-field.tsx
3742
- var React73 = __toESM(require("react"));
3743
- var import_editor_controls45 = require("@elementor/editor-controls");
3744
- var import_icons23 = require("@elementor/icons");
3745
- var import_ui62 = require("@elementor/ui");
3746
- var import_i18n48 = require("@wordpress/i18n");
3846
+ var React75 = __toESM(require("react"));
3847
+ var import_editor_controls46 = require("@elementor/editor-controls");
3848
+ var import_icons22 = require("@elementor/icons");
3849
+ var import_ui63 = require("@elementor/ui");
3850
+ var import_i18n49 = require("@wordpress/i18n");
3747
3851
  var options10 = [
3748
3852
  {
3749
3853
  value: "ltr",
3750
- label: (0, import_i18n48.__)("Left to right", "elementor"),
3751
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons23.TextDirectionLtrIcon, { fontSize: size }),
3854
+ label: (0, import_i18n49.__)("Left to right", "elementor"),
3855
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons22.TextDirectionLtrIcon, { fontSize: size }),
3752
3856
  showTooltip: true
3753
3857
  },
3754
3858
  {
3755
3859
  value: "rtl",
3756
- label: (0, import_i18n48.__)("Right to left", "elementor"),
3757
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons23.TextDirectionRtlIcon, { fontSize: size }),
3860
+ label: (0, import_i18n49.__)("Right to left", "elementor"),
3861
+ renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons22.TextDirectionRtlIcon, { fontSize: size }),
3758
3862
  showTooltip: true
3759
3863
  }
3760
3864
  ];
3761
3865
  var TextDirectionField = () => {
3762
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React73.createElement(import_ui62.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React73.createElement(import_ui62.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React73.createElement(ControlLabel, null, (0, import_i18n48.__)("Direction", "elementor"))), /* @__PURE__ */ React73.createElement(import_ui62.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React73.createElement(import_editor_controls45.ToggleControl, { options: options10 }))));
3866
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "direction" }, /* @__PURE__ */ React75.createElement(import_ui63.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React75.createElement(import_ui63.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React75.createElement(ControlLabel, null, (0, import_i18n49.__)("Direction", "elementor"))), /* @__PURE__ */ React75.createElement(import_ui63.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React75.createElement(import_editor_controls46.ToggleControl, { options: options10 }))));
3763
3867
  };
3764
3868
 
3765
3869
  // src/components/style-sections/typography-section/text-stroke-field.tsx
3766
- var React74 = __toESM(require("react"));
3767
- var import_editor_controls46 = require("@elementor/editor-controls");
3768
- var import_i18n49 = require("@wordpress/i18n");
3870
+ var React76 = __toESM(require("react"));
3871
+ var import_editor_controls47 = require("@elementor/editor-controls");
3872
+ var import_i18n50 = require("@wordpress/i18n");
3769
3873
  var initTextStroke = {
3770
3874
  $$type: "stroke",
3771
3875
  value: {
@@ -3792,68 +3896,95 @@ var TextStrokeField = () => {
3792
3896
  setTextStroke(null);
3793
3897
  };
3794
3898
  const hasTextStroke = Boolean(textStroke);
3795
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React74.createElement(
3899
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "stroke" }, /* @__PURE__ */ React76.createElement(
3796
3900
  AddOrRemoveContent,
3797
3901
  {
3798
- label: (0, import_i18n49.__)("Text stroke", "elementor"),
3799
3902
  isAdded: hasTextStroke,
3800
3903
  onAdd: addTextStroke,
3801
3904
  onRemove: removeTextStroke,
3802
- disabled: !canEdit
3905
+ disabled: !canEdit,
3906
+ renderLabel: () => /* @__PURE__ */ React76.createElement(ControlLabel, null, (0, import_i18n50.__)("Text stroke", "elementor"))
3803
3907
  },
3804
- /* @__PURE__ */ React74.createElement(import_editor_controls46.StrokeControl, null)
3908
+ /* @__PURE__ */ React76.createElement(import_editor_controls47.StrokeControl, null)
3805
3909
  ));
3806
3910
  };
3807
3911
 
3808
3912
  // src/components/style-sections/typography-section/transform-field.tsx
3809
- var React75 = __toESM(require("react"));
3810
- var import_editor_controls47 = require("@elementor/editor-controls");
3811
- var import_icons24 = require("@elementor/icons");
3812
- var import_ui63 = require("@elementor/ui");
3813
- var import_i18n50 = require("@wordpress/i18n");
3913
+ var React77 = __toESM(require("react"));
3914
+ var import_editor_controls48 = require("@elementor/editor-controls");
3915
+ var import_icons23 = require("@elementor/icons");
3916
+ var import_ui64 = require("@elementor/ui");
3917
+ var import_i18n51 = require("@wordpress/i18n");
3814
3918
  var options11 = [
3815
3919
  {
3816
3920
  value: "none",
3817
- label: (0, import_i18n50.__)("None", "elementor"),
3818
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons24.MinusIcon, { fontSize: size }),
3921
+ label: (0, import_i18n51.__)("None", "elementor"),
3922
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons23.MinusIcon, { fontSize: size }),
3819
3923
  showTooltip: true
3820
3924
  },
3821
3925
  {
3822
3926
  value: "capitalize",
3823
- label: (0, import_i18n50.__)("Capitalize", "elementor"),
3824
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons24.LetterCaseIcon, { fontSize: size }),
3927
+ label: (0, import_i18n51.__)("Capitalize", "elementor"),
3928
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons23.LetterCaseIcon, { fontSize: size }),
3825
3929
  showTooltip: true
3826
3930
  },
3827
3931
  {
3828
3932
  value: "uppercase",
3829
- label: (0, import_i18n50.__)("Uppercase", "elementor"),
3830
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons24.LetterCaseUpperIcon, { fontSize: size }),
3933
+ label: (0, import_i18n51.__)("Uppercase", "elementor"),
3934
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons23.LetterCaseUpperIcon, { fontSize: size }),
3831
3935
  showTooltip: true
3832
3936
  },
3833
3937
  {
3834
3938
  value: "lowercase",
3835
- label: (0, import_i18n50.__)("Lowercase", "elementor"),
3836
- renderContent: ({ size }) => /* @__PURE__ */ React75.createElement(import_icons24.LetterCaseLowerIcon, { fontSize: size }),
3939
+ label: (0, import_i18n51.__)("Lowercase", "elementor"),
3940
+ renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons23.LetterCaseLowerIcon, { fontSize: size }),
3837
3941
  showTooltip: true
3838
3942
  }
3839
3943
  ];
3840
- var TransformField = () => /* @__PURE__ */ React75.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React75.createElement(import_ui63.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React75.createElement(import_ui63.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React75.createElement(ControlLabel, null, (0, import_i18n50.__)("Text transform", "elementor"))), /* @__PURE__ */ React75.createElement(import_ui63.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React75.createElement(import_editor_controls47.ToggleControl, { options: options11 }))));
3944
+ var TransformField = () => /* @__PURE__ */ React77.createElement(StylesField, { bind: "text-transform" }, /* @__PURE__ */ React77.createElement(import_ui64.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React77.createElement(import_ui64.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React77.createElement(ControlLabel, null, (0, import_i18n51.__)("Text transform", "elementor"))), /* @__PURE__ */ React77.createElement(import_ui64.Grid, { item: true, xs: 6, display: "flex", justifyContent: "end" }, /* @__PURE__ */ React77.createElement(import_editor_controls48.ToggleControl, { options: options11 }))));
3841
3945
 
3842
3946
  // src/components/style-sections/typography-section/word-spacing-field.tsx
3843
- var React76 = __toESM(require("react"));
3844
- var import_editor_controls48 = require("@elementor/editor-controls");
3845
- var import_ui64 = require("@elementor/ui");
3846
- var import_i18n51 = require("@wordpress/i18n");
3947
+ var React78 = __toESM(require("react"));
3948
+ var import_editor_controls49 = require("@elementor/editor-controls");
3949
+ var import_ui65 = require("@elementor/ui");
3950
+ var import_i18n52 = require("@wordpress/i18n");
3847
3951
  var WordSpacingField = () => {
3848
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React76.createElement(import_ui64.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React76.createElement(import_ui64.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(ControlLabel, null, (0, import_i18n51.__)("Word spacing", "elementor"))), /* @__PURE__ */ React76.createElement(import_ui64.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React76.createElement(import_editor_controls48.SizeControl, null))));
3952
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "word-spacing" }, /* @__PURE__ */ React78.createElement(import_ui65.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React78.createElement(import_ui65.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(ControlLabel, null, (0, import_i18n52.__)("Word spacing", "elementor"))), /* @__PURE__ */ React78.createElement(import_ui65.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React78.createElement(import_editor_controls49.SizeControl, null))));
3849
3953
  };
3850
3954
 
3851
3955
  // src/components/style-sections/typography-section/typography-section.tsx
3852
3956
  var TypographySection = () => {
3853
3957
  const [columnCount] = useStylesField("column-count");
3854
- const isVersion330Active = (0, import_editor_v1_adapters11.isExperimentActive)("e_v_3_30");
3958
+ const isVersion330Active = (0, import_editor_v1_adapters13.isExperimentActive)("e_v_3_30");
3855
3959
  const hasMultiColumns = !!(columnCount?.value && columnCount?.value > 1);
3856
- return /* @__PURE__ */ React77.createElement(SectionContent, null, /* @__PURE__ */ React77.createElement(FontFamilyField, null), /* @__PURE__ */ React77.createElement(FontWeightField, null), /* @__PURE__ */ React77.createElement(FontSizeField, null), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextAlignmentField, null), /* @__PURE__ */ React77.createElement(TextColorField, null), /* @__PURE__ */ React77.createElement(CollapsibleContent, null, /* @__PURE__ */ React77.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React77.createElement(LineHeightField, null), /* @__PURE__ */ React77.createElement(LetterSpacingField, null), /* @__PURE__ */ React77.createElement(WordSpacingField, null), isVersion330Active && /* @__PURE__ */ React77.createElement(React77.Fragment, null, /* @__PURE__ */ React77.createElement(ColumnCountField, null), hasMultiColumns && /* @__PURE__ */ React77.createElement(ColumnGapField, null)), /* @__PURE__ */ React77.createElement(PanelDivider, null), /* @__PURE__ */ React77.createElement(TextDecorationField, null), /* @__PURE__ */ React77.createElement(TransformField, null), /* @__PURE__ */ React77.createElement(TextDirectionField, null), /* @__PURE__ */ React77.createElement(FontStyleField, null), /* @__PURE__ */ React77.createElement(TextStrokeField, null))));
3960
+ return /* @__PURE__ */ React79.createElement(SectionContent, null, /* @__PURE__ */ React79.createElement(FontFamilyField, null), /* @__PURE__ */ React79.createElement(FontWeightField, null), /* @__PURE__ */ React79.createElement(FontSizeField, null), /* @__PURE__ */ React79.createElement(PanelDivider, null), /* @__PURE__ */ React79.createElement(TextAlignmentField, null), /* @__PURE__ */ React79.createElement(TextColorField, null), /* @__PURE__ */ React79.createElement(
3961
+ StyleTabCollapsibleContent,
3962
+ {
3963
+ fields: [
3964
+ "line-height",
3965
+ "letter-spacing",
3966
+ "word-spacing",
3967
+ "column-count",
3968
+ "text-decoration",
3969
+ "text-transform",
3970
+ "direction",
3971
+ "font-style",
3972
+ "stroke"
3973
+ ]
3974
+ },
3975
+ /* @__PURE__ */ React79.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React79.createElement(LineHeightField, null), /* @__PURE__ */ React79.createElement(LetterSpacingField, null), /* @__PURE__ */ React79.createElement(WordSpacingField, null), isVersion330Active && /* @__PURE__ */ React79.createElement(React79.Fragment, null, /* @__PURE__ */ React79.createElement(ColumnCountField, null), hasMultiColumns && /* @__PURE__ */ React79.createElement(ColumnGapField, null)), /* @__PURE__ */ React79.createElement(PanelDivider, null), /* @__PURE__ */ React79.createElement(TextDecorationField, null), /* @__PURE__ */ React79.createElement(TransformField, null), /* @__PURE__ */ React79.createElement(TextDirectionField, null), /* @__PURE__ */ React79.createElement(FontStyleField, null), /* @__PURE__ */ React79.createElement(TextStrokeField, null))
3976
+ ));
3977
+ };
3978
+
3979
+ // src/components/style-tab-section.tsx
3980
+ var React80 = __toESM(require("react"));
3981
+ var import_editor_v1_adapters14 = require("@elementor/editor-v1-adapters");
3982
+ var StyleTabSection = ({ section, fields = [] }) => {
3983
+ const { component, name, title } = section;
3984
+ const tabDefaults = useDefaultPanelSettings();
3985
+ const SectionComponent = component;
3986
+ const isExpanded = (0, import_editor_v1_adapters14.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? tabDefaults.defaultSectionsExpanded.style?.includes(name) : false;
3987
+ return /* @__PURE__ */ React80.createElement(Section, { title, defaultExpanded: isExpanded, titleEnd: getStylesInheritanceIndicators(fields) }, /* @__PURE__ */ React80.createElement(SectionComponent, null));
3857
3988
  };
3858
3989
 
3859
3990
  // src/components/style-tab.tsx
@@ -3865,19 +3996,12 @@ var stickyHeaderStyles = {
3865
3996
  backgroundColor: "background.default",
3866
3997
  transition: "top 300ms ease"
3867
3998
  };
3868
- var PanelSection = ({ section }) => {
3869
- const { component, name, title } = section;
3870
- const tabDefaults = useDefaultPanelSettings();
3871
- const SectionComponent = component;
3872
- const isExpanded = (0, import_editor_v1_adapters12.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? tabDefaults.defaultSectionsExpanded.style?.includes(name) : false;
3873
- return /* @__PURE__ */ React78.createElement(Section, { title, defaultExpanded: isExpanded }, /* @__PURE__ */ React78.createElement(SectionComponent, null));
3874
- };
3875
3999
  var StyleTab = () => {
3876
4000
  const currentClassesProp = useCurrentClassesProp();
3877
4001
  const [activeStyleDefId, setActiveStyleDefId] = useActiveStyleDefId(currentClassesProp);
3878
4002
  const [activeStyleState, setActiveStyleState] = (0, import_react27.useState)(null);
3879
4003
  const breakpoint = (0, import_editor_responsive3.useActiveBreakpoint)();
3880
- return /* @__PURE__ */ React78.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React78.createElement(
4004
+ return /* @__PURE__ */ React81.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React81.createElement(
3881
4005
  StyleProvider,
3882
4006
  {
3883
4007
  meta: { breakpoint, state: activeStyleState },
@@ -3888,84 +4012,126 @@ var StyleTab = () => {
3888
4012
  },
3889
4013
  setMetaState: setActiveStyleState
3890
4014
  },
3891
- /* @__PURE__ */ React78.createElement(import_session4.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React78.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React78.createElement(ClassesHeader, null, /* @__PURE__ */ React78.createElement(CssClassSelector, null), /* @__PURE__ */ React78.createElement(import_ui65.Divider, null)), /* @__PURE__ */ React78.createElement(SectionsList, null, /* @__PURE__ */ React78.createElement(
3892
- PanelSection,
4015
+ /* @__PURE__ */ React81.createElement(import_session4.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React81.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React81.createElement(ClassesHeader, null, /* @__PURE__ */ React81.createElement(CssClassSelector, null), /* @__PURE__ */ React81.createElement(import_ui66.Divider, null)), /* @__PURE__ */ React81.createElement(SectionsList, null, /* @__PURE__ */ React81.createElement(
4016
+ StyleTabSection,
3893
4017
  {
3894
4018
  section: {
3895
4019
  component: LayoutSection,
3896
4020
  name: "Layout",
3897
- title: (0, import_i18n52.__)("Layout", "elementor")
3898
- }
4021
+ title: (0, import_i18n53.__)("Layout", "elementor")
4022
+ },
4023
+ fields: [
4024
+ "display",
4025
+ "flex-direction",
4026
+ "flex-wrap",
4027
+ "justify-content",
4028
+ "align-items",
4029
+ "align-content",
4030
+ "align-self",
4031
+ "gap"
4032
+ ]
3899
4033
  }
3900
- ), /* @__PURE__ */ React78.createElement(
3901
- PanelSection,
4034
+ ), /* @__PURE__ */ React81.createElement(
4035
+ StyleTabSection,
3902
4036
  {
3903
4037
  section: {
3904
4038
  component: SpacingSection,
3905
4039
  name: "Spacing",
3906
- title: (0, import_i18n52.__)("Spacing", "elementor")
3907
- }
4040
+ title: (0, import_i18n53.__)("Spacing", "elementor")
4041
+ },
4042
+ fields: ["margin", "padding"]
3908
4043
  }
3909
- ), /* @__PURE__ */ React78.createElement(
3910
- PanelSection,
4044
+ ), /* @__PURE__ */ React81.createElement(
4045
+ StyleTabSection,
3911
4046
  {
3912
4047
  section: {
3913
4048
  component: SizeSection,
3914
4049
  name: "Size",
3915
- title: (0, import_i18n52.__)("Size", "elementor")
3916
- }
4050
+ title: (0, import_i18n53.__)("Size", "elementor")
4051
+ },
4052
+ fields: [
4053
+ "width",
4054
+ "min-width",
4055
+ "max-width",
4056
+ "height",
4057
+ "min-height",
4058
+ "max-height",
4059
+ "overflow",
4060
+ "aspect-ratio",
4061
+ "object-fit"
4062
+ ]
3917
4063
  }
3918
- ), /* @__PURE__ */ React78.createElement(
3919
- PanelSection,
4064
+ ), /* @__PURE__ */ React81.createElement(
4065
+ StyleTabSection,
3920
4066
  {
3921
4067
  section: {
3922
4068
  component: PositionSection,
3923
4069
  name: "Position",
3924
- title: (0, import_i18n52.__)("Position", "elementor")
3925
- }
4070
+ title: (0, import_i18n53.__)("Position", "elementor")
4071
+ },
4072
+ fields: ["position", "z-index", "scroll-margin-top"]
3926
4073
  }
3927
- ), /* @__PURE__ */ React78.createElement(
3928
- PanelSection,
4074
+ ), /* @__PURE__ */ React81.createElement(
4075
+ StyleTabSection,
3929
4076
  {
3930
4077
  section: {
3931
4078
  component: TypographySection,
3932
4079
  name: "Typography",
3933
- title: (0, import_i18n52.__)("Typography", "elementor")
3934
- }
4080
+ title: (0, import_i18n53.__)("Typography", "elementor")
4081
+ },
4082
+ fields: [
4083
+ "font-family",
4084
+ "font-weight",
4085
+ "font-size",
4086
+ "text-align",
4087
+ "color",
4088
+ "line-height",
4089
+ "letter-spacing",
4090
+ "word-spacing",
4091
+ "column-count",
4092
+ "text-decoration",
4093
+ "text-transform",
4094
+ "direction",
4095
+ "font-style",
4096
+ "stroke"
4097
+ ]
3935
4098
  }
3936
- ), /* @__PURE__ */ React78.createElement(
3937
- PanelSection,
4099
+ ), /* @__PURE__ */ React81.createElement(
4100
+ StyleTabSection,
3938
4101
  {
3939
4102
  section: {
3940
4103
  component: BackgroundSection,
3941
4104
  name: "Background",
3942
- title: (0, import_i18n52.__)("Background", "elementor")
3943
- }
4105
+ title: (0, import_i18n53.__)("Background", "elementor")
4106
+ },
4107
+ fields: ["background"]
3944
4108
  }
3945
- ), /* @__PURE__ */ React78.createElement(
3946
- PanelSection,
4109
+ ), /* @__PURE__ */ React81.createElement(
4110
+ StyleTabSection,
3947
4111
  {
3948
4112
  section: {
3949
4113
  component: BorderSection,
3950
4114
  name: "Border",
3951
- title: (0, import_i18n52.__)("Border", "elementor")
3952
- }
4115
+ title: (0, import_i18n53.__)("Border", "elementor")
4116
+ },
4117
+ fields: ["border-radius", "border-width", "border-color", "border-style"]
3953
4118
  }
3954
- ), /* @__PURE__ */ React78.createElement(
3955
- PanelSection,
4119
+ ), /* @__PURE__ */ React81.createElement(
4120
+ StyleTabSection,
3956
4121
  {
3957
4122
  section: {
3958
4123
  component: EffectsSection,
3959
4124
  name: "Effects",
3960
- title: (0, import_i18n52.__)("Effects", "elementor")
3961
- }
4125
+ title: (0, import_i18n53.__)("Effects", "elementor")
4126
+ },
4127
+ fields: ["box-shadow"]
3962
4128
  }
3963
4129
  ))))
3964
4130
  ));
3965
4131
  };
3966
4132
  function ClassesHeader({ children }) {
3967
4133
  const scrollDirection = useScrollDirection();
3968
- return /* @__PURE__ */ React78.createElement(import_ui65.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
4134
+ return /* @__PURE__ */ React81.createElement(import_ui66.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
3969
4135
  }
3970
4136
  function useCurrentClassesProp() {
3971
4137
  const { elementType } = useElement();
@@ -3984,16 +4150,16 @@ var EditingPanelTabs = () => {
3984
4150
  return (
3985
4151
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
3986
4152
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
3987
- /* @__PURE__ */ React79.createElement(import_react28.Fragment, { key: element.id }, /* @__PURE__ */ React79.createElement(PanelTabContent, null))
4153
+ /* @__PURE__ */ React82.createElement(import_react28.Fragment, { key: element.id }, /* @__PURE__ */ React82.createElement(PanelTabContent, null))
3988
4154
  );
3989
4155
  };
3990
4156
  var PanelTabContent = () => {
3991
4157
  const editorDefaults = useDefaultPanelSettings();
3992
- const defaultComponentTab = (0, import_editor_v1_adapters13.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? editorDefaults.defaultTab : "settings";
4158
+ const defaultComponentTab = (0, import_editor_v1_adapters15.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30) ? editorDefaults.defaultTab : "settings";
3993
4159
  const [currentTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
3994
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui66.useTabs)(currentTab);
3995
- return /* @__PURE__ */ React79.createElement(ScrollProvider, null, /* @__PURE__ */ React79.createElement(import_ui66.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React79.createElement(import_ui66.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React79.createElement(
3996
- import_ui66.Tabs,
4160
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui67.useTabs)(currentTab);
4161
+ return /* @__PURE__ */ React82.createElement(ScrollProvider, null, /* @__PURE__ */ React82.createElement(import_ui67.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React82.createElement(import_ui67.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React82.createElement(
4162
+ import_ui67.Tabs,
3997
4163
  {
3998
4164
  variant: "fullWidth",
3999
4165
  size: "small",
@@ -4004,9 +4170,9 @@ var PanelTabContent = () => {
4004
4170
  setCurrentTab(newValue);
4005
4171
  }
4006
4172
  },
4007
- /* @__PURE__ */ React79.createElement(import_ui66.Tab, { label: (0, import_i18n53.__)("General", "elementor"), ...getTabProps("settings") }),
4008
- /* @__PURE__ */ React79.createElement(import_ui66.Tab, { label: (0, import_i18n53.__)("Style", "elementor"), ...getTabProps("style") })
4009
- ), /* @__PURE__ */ React79.createElement(import_ui66.Divider, null)), /* @__PURE__ */ React79.createElement(import_ui66.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React79.createElement(SettingsTab, null)), /* @__PURE__ */ React79.createElement(import_ui66.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React79.createElement(StyleTab, null))));
4173
+ /* @__PURE__ */ React82.createElement(import_ui67.Tab, { label: (0, import_i18n54.__)("General", "elementor"), ...getTabProps("settings") }),
4174
+ /* @__PURE__ */ React82.createElement(import_ui67.Tab, { label: (0, import_i18n54.__)("Style", "elementor"), ...getTabProps("style") })
4175
+ ), /* @__PURE__ */ React82.createElement(import_ui67.Divider, null)), /* @__PURE__ */ React82.createElement(import_ui67.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React82.createElement(SettingsTab, null)), /* @__PURE__ */ React82.createElement(import_ui67.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React82.createElement(StyleTab, null))));
4010
4176
  };
4011
4177
 
4012
4178
  // src/components/editing-panel.tsx
@@ -4018,8 +4184,8 @@ var EditingPanel = () => {
4018
4184
  if (!element || !elementType) {
4019
4185
  return null;
4020
4186
  }
4021
- const panelTitle = (0, import_i18n54.__)("Edit %s", "elementor").replace("%s", elementType.title);
4022
- return /* @__PURE__ */ React80.createElement(import_ui67.ErrorBoundary, { fallback: /* @__PURE__ */ React80.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React80.createElement(import_session5.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React80.createElement(import_editor_ui4.ThemeProvider, null, /* @__PURE__ */ React80.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React80.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React80.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React80.createElement(import_icons25.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React80.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React80.createElement(import_editor_controls49.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React80.createElement(import_editor_controls49.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React80.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React80.createElement(EditingPanelTabs, null)))))))));
4187
+ const panelTitle = (0, import_i18n55.__)("Edit %s", "elementor").replace("%s", elementType.title);
4188
+ return /* @__PURE__ */ React83.createElement(import_ui68.ErrorBoundary, { fallback: /* @__PURE__ */ React83.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React83.createElement(import_session5.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React83.createElement(import_editor_ui5.ThemeProvider, null, /* @__PURE__ */ React83.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React83.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React83.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React83.createElement(import_icons24.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React83.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React83.createElement(import_editor_controls50.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React83.createElement(import_editor_controls50.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React83.createElement(ElementProvider, { element, elementType }, /* @__PURE__ */ React83.createElement(EditingPanelTabs, null)))))))));
4023
4189
  };
4024
4190
 
4025
4191
  // src/panel.ts
@@ -4032,11 +4198,11 @@ var { panel, usePanelActions, usePanelStatus } = (0, import_editor_panels2.__cre
4032
4198
  var import_editor = require("@elementor/editor");
4033
4199
  var import_editor_current_user = require("@elementor/editor-current-user");
4034
4200
  var import_editor_panels3 = require("@elementor/editor-panels");
4035
- var import_editor_v1_adapters15 = require("@elementor/editor-v1-adapters");
4201
+ var import_editor_v1_adapters17 = require("@elementor/editor-v1-adapters");
4036
4202
 
4037
4203
  // src/hooks/use-open-editor-panel.ts
4038
4204
  var import_react29 = require("react");
4039
- var import_editor_v1_adapters14 = require("@elementor/editor-v1-adapters");
4205
+ var import_editor_v1_adapters16 = require("@elementor/editor-v1-adapters");
4040
4206
 
4041
4207
  // src/sync/is-atomic-widget-selected.ts
4042
4208
  var import_editor_elements9 = require("@elementor/editor-elements");
@@ -4053,7 +4219,7 @@ var isAtomicWidgetSelected = () => {
4053
4219
  var useOpenEditorPanel = () => {
4054
4220
  const { open } = usePanelActions();
4055
4221
  (0, import_react29.useEffect)(() => {
4056
- return (0, import_editor_v1_adapters14.__privateListenTo)((0, import_editor_v1_adapters14.commandStartEvent)("panel/editor/open"), () => {
4222
+ return (0, import_editor_v1_adapters16.__privateListenTo)((0, import_editor_v1_adapters16.commandStartEvent)("panel/editor/open"), () => {
4057
4223
  if (isAtomicWidgetSelected()) {
4058
4224
  open();
4059
4225
  }
@@ -4071,16 +4237,17 @@ var EditingPanelHooks = () => {
4071
4237
  var import_editor_canvas4 = require("@elementor/editor-canvas");
4072
4238
 
4073
4239
  // src/dynamics/components/dynamic-selection-control.tsx
4074
- var React84 = __toESM(require("react"));
4075
- var import_editor_controls53 = require("@elementor/editor-controls");
4076
- var import_icons27 = require("@elementor/icons");
4077
- var import_ui70 = require("@elementor/ui");
4078
- var import_i18n56 = require("@wordpress/i18n");
4240
+ var React87 = __toESM(require("react"));
4241
+ var import_editor_controls54 = require("@elementor/editor-controls");
4242
+ var import_editor_ui6 = require("@elementor/editor-ui");
4243
+ var import_icons26 = require("@elementor/icons");
4244
+ var import_ui71 = require("@elementor/ui");
4245
+ var import_i18n57 = require("@wordpress/i18n");
4079
4246
 
4080
4247
  // src/components/popover-content.tsx
4081
- var React81 = __toESM(require("react"));
4082
- var import_ui68 = require("@elementor/ui");
4083
- var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React81.createElement(import_ui68.Stack, { alignItems, gap, p }, children);
4248
+ var React84 = __toESM(require("react"));
4249
+ var import_ui69 = require("@elementor/ui");
4250
+ var PopoverContent = ({ alignItems, gap = 1.5, p, children }) => /* @__PURE__ */ React84.createElement(import_ui69.Stack, { alignItems, gap, p }, children);
4084
4251
 
4085
4252
  // src/hooks/use-persist-dynamic-value.ts
4086
4253
  var import_session6 = require("@elementor/session");
@@ -4091,15 +4258,15 @@ var usePersistDynamicValue = (propKey) => {
4091
4258
  };
4092
4259
 
4093
4260
  // src/dynamics/dynamic-control.tsx
4094
- var React82 = __toESM(require("react"));
4095
- var import_editor_controls51 = require("@elementor/editor-controls");
4261
+ var React85 = __toESM(require("react"));
4262
+ var import_editor_controls52 = require("@elementor/editor-controls");
4096
4263
 
4097
4264
  // src/dynamics/hooks/use-dynamic-tag.ts
4098
4265
  var import_react31 = require("react");
4099
4266
 
4100
4267
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
4101
4268
  var import_react30 = require("react");
4102
- var import_editor_controls50 = require("@elementor/editor-controls");
4269
+ var import_editor_controls51 = require("@elementor/editor-controls");
4103
4270
 
4104
4271
  // src/dynamics/sync/get-elementor-config.ts
4105
4272
  var getElementorConfig2 = () => {
@@ -4145,7 +4312,7 @@ var dynamicPropTypeUtil = (0, import_editor_props10.createPropUtils)(
4145
4312
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
4146
4313
  var usePropDynamicTags = () => {
4147
4314
  let categories = [];
4148
- const { propType } = (0, import_editor_controls50.useBoundProp)();
4315
+ const { propType } = (0, import_editor_controls51.useBoundProp)();
4149
4316
  if (propType) {
4150
4317
  const propDynamicType = getDynamicPropType(propType);
4151
4318
  categories = propDynamicType?.settings.categories || [];
@@ -4171,7 +4338,7 @@ var useDynamicTag = (tagName) => {
4171
4338
 
4172
4339
  // src/dynamics/dynamic-control.tsx
4173
4340
  var DynamicControl = ({ bind, children }) => {
4174
- const { value, setValue } = (0, import_editor_controls51.useBoundProp)(dynamicPropTypeUtil);
4341
+ const { value, setValue } = (0, import_editor_controls52.useBoundProp)(dynamicPropTypeUtil);
4175
4342
  const { name = "", settings } = value ?? {};
4176
4343
  const dynamicTag = useDynamicTag(name);
4177
4344
  if (!dynamicTag) {
@@ -4190,22 +4357,22 @@ var DynamicControl = ({ bind, children }) => {
4190
4357
  });
4191
4358
  };
4192
4359
  const propType = createTopLevelOjectType({ schema: dynamicTag.props_schema });
4193
- return /* @__PURE__ */ React82.createElement(import_editor_controls51.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React82.createElement(import_editor_controls51.PropKeyProvider, { bind }, children));
4360
+ return /* @__PURE__ */ React85.createElement(import_editor_controls52.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React85.createElement(import_editor_controls52.PropKeyProvider, { bind }, children));
4194
4361
  };
4195
4362
 
4196
4363
  // src/dynamics/components/dynamic-selection.tsx
4197
- var React83 = __toESM(require("react"));
4364
+ var React86 = __toESM(require("react"));
4198
4365
  var import_react32 = require("react");
4199
- var import_editor_controls52 = require("@elementor/editor-controls");
4200
- var import_icons26 = require("@elementor/icons");
4201
- var import_ui69 = require("@elementor/ui");
4202
- var import_i18n55 = require("@wordpress/i18n");
4366
+ var import_editor_controls53 = require("@elementor/editor-controls");
4367
+ var import_icons25 = require("@elementor/icons");
4368
+ var import_ui70 = require("@elementor/ui");
4369
+ var import_i18n56 = require("@wordpress/i18n");
4203
4370
  var SIZE7 = "tiny";
4204
4371
  var DynamicSelection = ({ onSelect }) => {
4205
4372
  const [searchValue, setSearchValue] = (0, import_react32.useState)("");
4206
4373
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
4207
- const { value: anyValue } = (0, import_editor_controls52.useBoundProp)();
4208
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls52.useBoundProp)(dynamicPropTypeUtil);
4374
+ const { value: anyValue } = (0, import_editor_controls53.useBoundProp)();
4375
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls53.useBoundProp)(dynamicPropTypeUtil);
4209
4376
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
4210
4377
  const isCurrentValueDynamic = !!dynamicValue;
4211
4378
  const options12 = useFilteredOptions(searchValue);
@@ -4220,28 +4387,28 @@ var DynamicSelection = ({ onSelect }) => {
4220
4387
  setValue({ name: value, settings: { label } });
4221
4388
  onSelect?.();
4222
4389
  };
4223
- return /* @__PURE__ */ React83.createElement(import_ui69.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React83.createElement(NoDynamicTags, null) : /* @__PURE__ */ React83.createElement(import_react32.Fragment, null, /* @__PURE__ */ React83.createElement(import_ui69.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React83.createElement(
4224
- import_ui69.TextField,
4390
+ return /* @__PURE__ */ React86.createElement(import_ui70.Stack, null, hasNoDynamicTags ? /* @__PURE__ */ React86.createElement(NoDynamicTags, null) : /* @__PURE__ */ React86.createElement(import_react32.Fragment, null, /* @__PURE__ */ React86.createElement(import_ui70.Box, { px: 1.5, pb: 1 }, /* @__PURE__ */ React86.createElement(
4391
+ import_ui70.TextField,
4225
4392
  {
4226
4393
  fullWidth: true,
4227
4394
  size: SIZE7,
4228
4395
  value: searchValue,
4229
4396
  onChange: handleSearch,
4230
- placeholder: (0, import_i18n55.__)("Search dynamic tags\u2026", "elementor"),
4397
+ placeholder: (0, import_i18n56.__)("Search dynamic tags\u2026", "elementor"),
4231
4398
  InputProps: {
4232
- startAdornment: /* @__PURE__ */ React83.createElement(import_ui69.InputAdornment, { position: "start" }, /* @__PURE__ */ React83.createElement(import_icons26.SearchIcon, { fontSize: SIZE7 }))
4399
+ startAdornment: /* @__PURE__ */ React86.createElement(import_ui70.InputAdornment, { position: "start" }, /* @__PURE__ */ React86.createElement(import_icons25.SearchIcon, { fontSize: SIZE7 }))
4233
4400
  }
4234
4401
  }
4235
- )), /* @__PURE__ */ React83.createElement(import_ui69.Divider, null), /* @__PURE__ */ React83.createElement(import_ui69.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React83.createElement(import_ui69.MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React83.createElement(import_react32.Fragment, { key: index }, /* @__PURE__ */ React83.createElement(
4236
- import_ui69.MenuSubheader,
4402
+ )), /* @__PURE__ */ React86.createElement(import_ui70.Divider, null), /* @__PURE__ */ React86.createElement(import_ui70.Box, { sx: { overflowY: "auto", height: 260, width: 220 } }, options12.length > 0 ? /* @__PURE__ */ React86.createElement(import_ui70.MenuList, { role: "listbox", tabIndex: 0 }, options12.map(([category, items3], index) => /* @__PURE__ */ React86.createElement(import_react32.Fragment, { key: index }, /* @__PURE__ */ React86.createElement(
4403
+ import_ui70.MenuSubheader,
4237
4404
  {
4238
4405
  sx: { px: 1.5, typography: "caption", color: "text.tertiary" }
4239
4406
  },
4240
4407
  dynamicGroups?.[category]?.title || category
4241
4408
  ), items3.map(({ value, label: tagLabel }) => {
4242
4409
  const isSelected = isCurrentValueDynamic && value === dynamicValue?.name;
4243
- return /* @__PURE__ */ React83.createElement(
4244
- import_ui69.MenuItem,
4410
+ return /* @__PURE__ */ React86.createElement(
4411
+ import_ui70.MenuItem,
4245
4412
  {
4246
4413
  key: value,
4247
4414
  selected: isSelected,
@@ -4251,10 +4418,10 @@ var DynamicSelection = ({ onSelect }) => {
4251
4418
  },
4252
4419
  tagLabel
4253
4420
  );
4254
- })))) : /* @__PURE__ */ React83.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
4421
+ })))) : /* @__PURE__ */ React86.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") }))));
4255
4422
  };
4256
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React83.createElement(
4257
- import_ui69.Stack,
4423
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React86.createElement(
4424
+ import_ui70.Stack,
4258
4425
  {
4259
4426
  gap: 1,
4260
4427
  alignItems: "center",
@@ -4264,12 +4431,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React83.createElem
4264
4431
  color: "text.secondary",
4265
4432
  sx: { pb: 3.5 }
4266
4433
  },
4267
- /* @__PURE__ */ React83.createElement(import_icons26.DatabaseIcon, { fontSize: "large" }),
4268
- /* @__PURE__ */ React83.createElement(import_ui69.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n55.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React83.createElement("br", null), "\u201C", searchValue, "\u201D."),
4269
- /* @__PURE__ */ React83.createElement(import_ui69.Typography, { align: "center", variant: "caption" }, (0, import_i18n55.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React83.createElement(import_ui69.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n55.__)("Clear & try again", "elementor")))
4434
+ /* @__PURE__ */ React86.createElement(import_icons25.DatabaseIcon, { fontSize: "large" }),
4435
+ /* @__PURE__ */ React86.createElement(import_ui70.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n56.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React86.createElement("br", null), "\u201C", searchValue, "\u201D."),
4436
+ /* @__PURE__ */ React86.createElement(import_ui70.Typography, { align: "center", variant: "caption" }, (0, import_i18n56.__)("Try something else.", "elementor"), "\xA0", /* @__PURE__ */ React86.createElement(import_ui70.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n56.__)("Clear & try again", "elementor")))
4270
4437
  );
4271
- var NoDynamicTags = () => /* @__PURE__ */ React83.createElement(import_ui69.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React83.createElement(import_ui69.Divider, null), /* @__PURE__ */ React83.createElement(
4272
- import_ui69.Stack,
4438
+ var NoDynamicTags = () => /* @__PURE__ */ React86.createElement(import_ui70.Box, { sx: { overflowY: "hidden", height: 297, width: 220 } }, /* @__PURE__ */ React86.createElement(import_ui70.Divider, null), /* @__PURE__ */ React86.createElement(
4439
+ import_ui70.Stack,
4273
4440
  {
4274
4441
  gap: 1,
4275
4442
  alignItems: "center",
@@ -4279,9 +4446,9 @@ var NoDynamicTags = () => /* @__PURE__ */ React83.createElement(import_ui69.Box,
4279
4446
  color: "text.secondary",
4280
4447
  sx: { pb: 3.5 }
4281
4448
  },
4282
- /* @__PURE__ */ React83.createElement(import_icons26.DatabaseIcon, { fontSize: "large" }),
4283
- /* @__PURE__ */ React83.createElement(import_ui69.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n55.__)("Streamline your workflow with dynamic tags", "elementor")),
4284
- /* @__PURE__ */ React83.createElement(import_ui69.Typography, { align: "center", variant: "caption" }, (0, import_i18n55.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
4449
+ /* @__PURE__ */ React86.createElement(import_icons25.DatabaseIcon, { fontSize: "large" }),
4450
+ /* @__PURE__ */ React86.createElement(import_ui70.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n56.__)("Streamline your workflow with dynamic tags", "elementor")),
4451
+ /* @__PURE__ */ React86.createElement(import_ui70.Typography, { align: "center", variant: "caption" }, (0, import_i18n56.__)("You\u2019ll need Elementor Pro to use this feature.", "elementor"))
4285
4452
  ));
4286
4453
  var useFilteredOptions = (searchValue) => {
4287
4454
  const dynamicTags = usePropDynamicTags();
@@ -4302,10 +4469,10 @@ var useFilteredOptions = (searchValue) => {
4302
4469
  // src/dynamics/components/dynamic-selection-control.tsx
4303
4470
  var SIZE8 = "tiny";
4304
4471
  var DynamicSelectionControl = () => {
4305
- const { setValue: setAnyValue } = (0, import_editor_controls53.useBoundProp)();
4306
- const { bind, value } = (0, import_editor_controls53.useBoundProp)(dynamicPropTypeUtil);
4472
+ const { setValue: setAnyValue } = (0, import_editor_controls54.useBoundProp)();
4473
+ const { bind, value } = (0, import_editor_controls54.useBoundProp)(dynamicPropTypeUtil);
4307
4474
  const [propValueFromHistory] = usePersistDynamicValue(bind);
4308
- const selectionPopoverState = (0, import_ui70.usePopupState)({ variant: "popover" });
4475
+ const selectionPopoverState = (0, import_ui71.usePopupState)({ variant: "popover" });
4309
4476
  const { name: tagName = "" } = value;
4310
4477
  const dynamicTag = useDynamicTag(tagName);
4311
4478
  const removeDynamicTag = () => {
@@ -4314,62 +4481,76 @@ var DynamicSelectionControl = () => {
4314
4481
  if (!dynamicTag) {
4315
4482
  throw new Error(`Dynamic tag ${tagName} not found`);
4316
4483
  }
4317
- return /* @__PURE__ */ React84.createElement(import_ui70.Box, null, /* @__PURE__ */ React84.createElement(
4318
- import_ui70.UnstableTag,
4484
+ return /* @__PURE__ */ React87.createElement(import_ui71.Box, null, /* @__PURE__ */ React87.createElement(
4485
+ import_ui71.UnstableTag,
4319
4486
  {
4320
4487
  fullWidth: true,
4321
4488
  showActionsOnHover: true,
4322
4489
  label: dynamicTag.label,
4323
- startIcon: /* @__PURE__ */ React84.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE8 }),
4324
- ...(0, import_ui70.bindTrigger)(selectionPopoverState),
4325
- actions: /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React84.createElement(
4326
- import_ui70.IconButton,
4490
+ startIcon: /* @__PURE__ */ React87.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE8 }),
4491
+ ...(0, import_ui71.bindTrigger)(selectionPopoverState),
4492
+ actions: /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(DynamicSettingsPopover, { dynamicTag }), /* @__PURE__ */ React87.createElement(
4493
+ import_ui71.IconButton,
4327
4494
  {
4328
4495
  size: SIZE8,
4329
4496
  onClick: removeDynamicTag,
4330
- "aria-label": (0, import_i18n56.__)("Remove dynamic value", "elementor")
4497
+ "aria-label": (0, import_i18n57.__)("Remove dynamic value", "elementor")
4331
4498
  },
4332
- /* @__PURE__ */ React84.createElement(import_icons27.XIcon, { fontSize: SIZE8 })
4499
+ /* @__PURE__ */ React87.createElement(import_icons26.XIcon, { fontSize: SIZE8 })
4333
4500
  ))
4334
4501
  }
4335
- ), /* @__PURE__ */ React84.createElement(
4336
- import_ui70.Popover,
4502
+ ), /* @__PURE__ */ React87.createElement(
4503
+ import_ui71.Popover,
4337
4504
  {
4338
4505
  disablePortal: true,
4339
4506
  disableScrollLock: true,
4340
4507
  anchorOrigin: { vertical: "bottom", horizontal: "left" },
4341
- ...(0, import_ui70.bindPopover)(selectionPopoverState)
4508
+ ...(0, import_ui71.bindPopover)(selectionPopoverState)
4342
4509
  },
4343
- /* @__PURE__ */ React84.createElement(import_ui70.Stack, null, /* @__PURE__ */ React84.createElement(import_ui70.Stack, { direction: "row", alignItems: "center", pl: 1.5, pr: 0.5, py: 1.5 }, /* @__PURE__ */ React84.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE8, sx: { mr: 0.5 } }), /* @__PURE__ */ React84.createElement(import_ui70.Typography, { variant: "subtitle2" }, (0, import_i18n56.__)("Dynamic tags", "elementor")), /* @__PURE__ */ React84.createElement(import_ui70.IconButton, { size: SIZE8, sx: { ml: "auto" }, onClick: selectionPopoverState.close }, /* @__PURE__ */ React84.createElement(import_icons27.XIcon, { fontSize: SIZE8 }))), /* @__PURE__ */ React84.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
4510
+ /* @__PURE__ */ React87.createElement(import_ui71.Stack, null, /* @__PURE__ */ React87.createElement(
4511
+ import_editor_ui6.PopoverHeader,
4512
+ {
4513
+ title: (0, import_i18n57.__)("Dynamic tags", "elementor"),
4514
+ onClose: selectionPopoverState.close,
4515
+ icon: /* @__PURE__ */ React87.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE8 })
4516
+ }
4517
+ ), /* @__PURE__ */ React87.createElement(DynamicSelection, { onSelect: selectionPopoverState.close }))
4344
4518
  ));
4345
4519
  };
4346
4520
  var DynamicSettingsPopover = ({ dynamicTag }) => {
4347
- const popupState = (0, import_ui70.usePopupState)({ variant: "popover" });
4521
+ const popupState = (0, import_ui71.usePopupState)({ variant: "popover" });
4348
4522
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
4349
4523
  if (!hasDynamicSettings) {
4350
4524
  return null;
4351
4525
  }
4352
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement(import_ui70.IconButton, { size: SIZE8, ...(0, import_ui70.bindTrigger)(popupState), "aria-label": (0, import_i18n56.__)("Settings", "elementor") }, /* @__PURE__ */ React84.createElement(import_icons27.SettingsIcon, { fontSize: SIZE8 })), /* @__PURE__ */ React84.createElement(
4353
- import_ui70.Popover,
4526
+ return /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui71.IconButton, { size: SIZE8, ...(0, import_ui71.bindTrigger)(popupState), "aria-label": (0, import_i18n57.__)("Settings", "elementor") }, /* @__PURE__ */ React87.createElement(import_icons26.SettingsIcon, { fontSize: SIZE8 })), /* @__PURE__ */ React87.createElement(
4527
+ import_ui71.Popover,
4354
4528
  {
4355
4529
  disablePortal: true,
4356
4530
  disableScrollLock: true,
4357
4531
  anchorOrigin: { vertical: "bottom", horizontal: "center" },
4358
- ...(0, import_ui70.bindPopover)(popupState)
4532
+ ...(0, import_ui71.bindPopover)(popupState)
4359
4533
  },
4360
- /* @__PURE__ */ React84.createElement(import_ui70.Paper, { component: import_ui70.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React84.createElement(import_ui70.Stack, { direction: "row", alignItems: "center", px: 1.5, pt: 2, pb: 1 }, /* @__PURE__ */ React84.createElement(import_icons27.DatabaseIcon, { fontSize: SIZE8, sx: { mr: 0.5 } }), /* @__PURE__ */ React84.createElement(import_ui70.Typography, { variant: "subtitle2" }, dynamicTag.label), /* @__PURE__ */ React84.createElement(import_ui70.IconButton, { sx: { ml: "auto" }, size: SIZE8, onClick: popupState.close }, /* @__PURE__ */ React84.createElement(import_icons27.XIcon, { fontSize: SIZE8 }))), /* @__PURE__ */ React84.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
4534
+ /* @__PURE__ */ React87.createElement(import_ui71.Paper, { component: import_ui71.Stack, sx: { minHeight: "300px", width: "220px" } }, /* @__PURE__ */ React87.createElement(
4535
+ import_editor_ui6.PopoverHeader,
4536
+ {
4537
+ title: dynamicTag.label,
4538
+ onClose: popupState.close,
4539
+ icon: /* @__PURE__ */ React87.createElement(import_icons26.DatabaseIcon, { fontSize: SIZE8 })
4540
+ }
4541
+ ), /* @__PURE__ */ React87.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls }))
4361
4542
  ));
4362
4543
  };
4363
4544
  var DynamicSettings = ({ controls }) => {
4364
4545
  const tabs = controls.filter(({ type }) => type === "section");
4365
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui70.useTabs)(0);
4546
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui71.useTabs)(0);
4366
4547
  if (!tabs.length) {
4367
4548
  return null;
4368
4549
  }
4369
- return /* @__PURE__ */ React84.createElement(React84.Fragment, null, /* @__PURE__ */ React84.createElement(import_ui70.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React84.createElement(import_ui70.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React84.createElement(import_ui70.Divider, null), tabs.map(({ value }, index) => {
4370
- return /* @__PURE__ */ React84.createElement(import_ui70.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React84.createElement(PopoverContent, { p: 2, gap: 2 }, value.items.map((item) => {
4550
+ return /* @__PURE__ */ React87.createElement(React87.Fragment, null, /* @__PURE__ */ React87.createElement(import_ui71.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React87.createElement(import_ui71.Tab, { key: index, label: value.label, sx: { px: 1, py: 0.5 }, ...getTabProps(index) }))), /* @__PURE__ */ React87.createElement(import_ui71.Divider, null), tabs.map(({ value }, index) => {
4551
+ return /* @__PURE__ */ React87.createElement(import_ui71.TabPanel, { key: index, sx: { flexGrow: 1, py: 0 }, ...getTabPanelProps(index) }, /* @__PURE__ */ React87.createElement(PopoverContent, { p: 2, gap: 2 }, value.items.map((item) => {
4371
4552
  if (item.type === "control") {
4372
- return /* @__PURE__ */ React84.createElement(Control3, { key: item.value.bind, control: item.value });
4553
+ return /* @__PURE__ */ React87.createElement(Control3, { key: item.value.bind, control: item.value });
4373
4554
  }
4374
4555
  return null;
4375
4556
  })));
@@ -4379,7 +4560,7 @@ var Control3 = ({ control }) => {
4379
4560
  if (!getControl(control.type)) {
4380
4561
  return null;
4381
4562
  }
4382
- return /* @__PURE__ */ React84.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React84.createElement(import_ui70.Grid, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React84.createElement(import_ui70.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React84.createElement(import_editor_controls53.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React84.createElement(import_ui70.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React84.createElement(Control, { type: control.type, props: control.props }))));
4563
+ return /* @__PURE__ */ React87.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React87.createElement(import_ui71.Grid, { container: true, gap: 0.75 }, control.label ? /* @__PURE__ */ React87.createElement(import_ui71.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React87.createElement(import_editor_controls54.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React87.createElement(import_ui71.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React87.createElement(Control, { type: control.type, props: control.props }))));
4383
4564
  };
4384
4565
 
4385
4566
  // src/dynamics/dynamic-transformer.ts
@@ -4432,18 +4613,18 @@ function getDynamicValue(name, settings) {
4432
4613
  }
4433
4614
 
4434
4615
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
4435
- var React85 = __toESM(require("react"));
4436
- var import_editor_controls54 = require("@elementor/editor-controls");
4437
- var import_icons28 = require("@elementor/icons");
4438
- var import_i18n57 = require("@wordpress/i18n");
4616
+ var React88 = __toESM(require("react"));
4617
+ var import_editor_controls55 = require("@elementor/editor-controls");
4618
+ var import_icons27 = require("@elementor/icons");
4619
+ var import_i18n58 = require("@wordpress/i18n");
4439
4620
  var usePropDynamicAction = () => {
4440
- const { propType } = (0, import_editor_controls54.useBoundProp)();
4621
+ const { propType } = (0, import_editor_controls55.useBoundProp)();
4441
4622
  const visible = !!propType && supportsDynamic(propType);
4442
4623
  return {
4443
4624
  visible,
4444
- icon: import_icons28.DatabaseIcon,
4445
- title: (0, import_i18n57.__)("Dynamic tags", "elementor"),
4446
- popoverContent: ({ closePopover }) => /* @__PURE__ */ React85.createElement(DynamicSelection, { onSelect: closePopover })
4625
+ icon: import_icons27.DatabaseIcon,
4626
+ title: (0, import_i18n58.__)("Dynamic tags", "elementor"),
4627
+ popoverContent: ({ closePopover }) => /* @__PURE__ */ React88.createElement(DynamicSelection, { onSelect: closePopover })
4447
4628
  };
4448
4629
  };
4449
4630
 
@@ -4463,9 +4644,9 @@ var init = () => {
4463
4644
  };
4464
4645
 
4465
4646
  // src/reset-style-props.tsx
4466
- var import_editor_controls55 = require("@elementor/editor-controls");
4467
- var import_icons29 = require("@elementor/icons");
4468
- var import_i18n58 = require("@wordpress/i18n");
4647
+ var import_editor_controls56 = require("@elementor/editor-controls");
4648
+ var import_icons28 = require("@elementor/icons");
4649
+ var import_i18n59 = require("@wordpress/i18n");
4469
4650
  var { registerAction } = controlActionsMenu;
4470
4651
  function initResetStyleProps() {
4471
4652
  registerAction({
@@ -4476,11 +4657,11 @@ function initResetStyleProps() {
4476
4657
  var EXCLUDED_BINDS = ["order", "flex-grow", "flex-shrink", "flex-basis"];
4477
4658
  function useResetStyleValueProps() {
4478
4659
  const isStyle = useIsStyle();
4479
- const { value, setValue, path, bind } = (0, import_editor_controls55.useBoundProp)();
4660
+ const { value, setValue, path, bind } = (0, import_editor_controls56.useBoundProp)();
4480
4661
  return {
4481
4662
  visible: isStyle && value !== null && value !== void 0 && path.length <= 2 && !EXCLUDED_BINDS.includes(bind),
4482
- title: (0, import_i18n58.__)("Clear", "elementor"),
4483
- icon: import_icons29.BrushBigIcon,
4663
+ title: (0, import_i18n59.__)("Clear", "elementor"),
4664
+ icon: import_icons28.BrushBigIcon,
4484
4665
  onClick: () => setValue(null)
4485
4666
  };
4486
4667
  }
@@ -4489,36 +4670,36 @@ function useResetStyleValueProps() {
4489
4670
  var import_editor_canvas9 = require("@elementor/editor-canvas");
4490
4671
 
4491
4672
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
4492
- var React86 = __toESM(require("react"));
4673
+ var React89 = __toESM(require("react"));
4493
4674
  var import_editor_canvas5 = require("@elementor/editor-canvas");
4494
- var import_ui71 = require("@elementor/ui");
4495
- var backgroundColorOverlayTransformer = (0, import_editor_canvas5.createTransformer)((value) => /* @__PURE__ */ React86.createElement(import_ui71.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React86.createElement(ItemIconColor, { value }), /* @__PURE__ */ React86.createElement(ItemLabelColor, { value })));
4675
+ var import_ui72 = require("@elementor/ui");
4676
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas5.createTransformer)((value) => /* @__PURE__ */ React89.createElement(import_ui72.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React89.createElement(ItemIconColor, { value }), /* @__PURE__ */ React89.createElement(ItemLabelColor, { value })));
4496
4677
  var ItemIconColor = ({ value }) => {
4497
4678
  const { color } = value;
4498
- return /* @__PURE__ */ React86.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: color });
4679
+ return /* @__PURE__ */ React89.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: color });
4499
4680
  };
4500
4681
  var ItemLabelColor = ({ value: { color } }) => {
4501
- return /* @__PURE__ */ React86.createElement("span", null, color);
4682
+ return /* @__PURE__ */ React89.createElement("span", null, color);
4502
4683
  };
4503
- var StyledUnstableColorIndicator = (0, import_ui71.styled)(import_ui71.UnstableColorIndicator)(({ theme }) => ({
4684
+ var StyledUnstableColorIndicator = (0, import_ui72.styled)(import_ui72.UnstableColorIndicator)(({ theme }) => ({
4504
4685
  borderRadius: `${theme.shape.borderRadius / 2}px`
4505
4686
  }));
4506
4687
 
4507
4688
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
4508
- var React87 = __toESM(require("react"));
4689
+ var React90 = __toESM(require("react"));
4509
4690
  var import_editor_canvas6 = require("@elementor/editor-canvas");
4510
- var import_ui72 = require("@elementor/ui");
4511
- var import_i18n59 = require("@wordpress/i18n");
4512
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas6.createTransformer)((value) => /* @__PURE__ */ React87.createElement(import_ui72.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React87.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React87.createElement(ItemLabelGradient, { value })));
4691
+ var import_ui73 = require("@elementor/ui");
4692
+ var import_i18n60 = require("@wordpress/i18n");
4693
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas6.createTransformer)((value) => /* @__PURE__ */ React90.createElement(import_ui73.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React90.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React90.createElement(ItemLabelGradient, { value })));
4513
4694
  var ItemIconGradient = ({ value }) => {
4514
4695
  const gradient = getGradientValue(value);
4515
- return /* @__PURE__ */ React87.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
4696
+ return /* @__PURE__ */ React90.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
4516
4697
  };
4517
4698
  var ItemLabelGradient = ({ value }) => {
4518
4699
  if (value.type === "linear") {
4519
- return /* @__PURE__ */ React87.createElement("span", null, (0, import_i18n59.__)("Linear Gradient", "elementor"));
4700
+ return /* @__PURE__ */ React90.createElement("span", null, (0, import_i18n60.__)("Linear Gradient", "elementor"));
4520
4701
  }
4521
- return /* @__PURE__ */ React87.createElement("span", null, (0, import_i18n59.__)("Radial Gradient", "elementor"));
4702
+ return /* @__PURE__ */ React90.createElement("span", null, (0, import_i18n60.__)("Radial Gradient", "elementor"));
4522
4703
  };
4523
4704
  var getGradientValue = (gradient) => {
4524
4705
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -4529,16 +4710,16 @@ var getGradientValue = (gradient) => {
4529
4710
  };
4530
4711
 
4531
4712
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
4532
- var React88 = __toESM(require("react"));
4713
+ var React91 = __toESM(require("react"));
4533
4714
  var import_editor_canvas7 = require("@elementor/editor-canvas");
4534
- var import_editor_ui5 = require("@elementor/editor-ui");
4535
- var import_ui73 = require("@elementor/ui");
4715
+ var import_editor_ui7 = require("@elementor/editor-ui");
4716
+ var import_ui74 = require("@elementor/ui");
4536
4717
  var import_wp_media = require("@elementor/wp-media");
4537
- var backgroundImageOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React88.createElement(import_ui73.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React88.createElement(ItemIconImage, { value }), /* @__PURE__ */ React88.createElement(ItemLabelImage, { value })));
4718
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React91.createElement(import_ui74.Stack, { direction: "row", gap: 10 }, /* @__PURE__ */ React91.createElement(ItemIconImage, { value }), /* @__PURE__ */ React91.createElement(ItemLabelImage, { value })));
4538
4719
  var ItemIconImage = ({ value }) => {
4539
4720
  const { imageUrl } = useImage(value);
4540
- return /* @__PURE__ */ React88.createElement(
4541
- import_ui73.CardMedia,
4721
+ return /* @__PURE__ */ React91.createElement(
4722
+ import_ui74.CardMedia,
4542
4723
  {
4543
4724
  image: imageUrl,
4544
4725
  sx: (theme) => ({
@@ -4552,7 +4733,7 @@ var ItemIconImage = ({ value }) => {
4552
4733
  };
4553
4734
  var ItemLabelImage = ({ value }) => {
4554
4735
  const { imageTitle } = useImage(value);
4555
- return /* @__PURE__ */ React88.createElement(import_editor_ui5.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React88.createElement("span", null, imageTitle));
4736
+ return /* @__PURE__ */ React91.createElement(import_editor_ui7.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React91.createElement("span", null, imageTitle));
4556
4737
  };
4557
4738
  var useImage = (image) => {
4558
4739
  let imageTitle, imageUrl = null;
@@ -4577,14 +4758,14 @@ var getFileExtensionFromFilename = (filename) => {
4577
4758
  };
4578
4759
 
4579
4760
  // src/styles-inheritance/transformers/background-overlay-transformer.tsx
4580
- var React89 = __toESM(require("react"));
4761
+ var React92 = __toESM(require("react"));
4581
4762
  var import_editor_canvas8 = require("@elementor/editor-canvas");
4582
- var import_ui74 = require("@elementor/ui");
4763
+ var import_ui75 = require("@elementor/ui");
4583
4764
  var backgroundOverlayTransformer = (0, import_editor_canvas8.createTransformer)((values) => {
4584
4765
  if (!values || values.length === 0) {
4585
4766
  return null;
4586
4767
  }
4587
- return /* @__PURE__ */ React89.createElement(import_ui74.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React89.createElement(import_ui74.Stack, { key: index }, item)));
4768
+ return /* @__PURE__ */ React92.createElement(import_ui75.Stack, { direction: "column" }, values.map((item, index) => /* @__PURE__ */ React92.createElement(import_ui75.Stack, { key: index }, item)));
4588
4769
  });
4589
4770
 
4590
4771
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -4634,12 +4815,12 @@ function init3() {
4634
4815
  });
4635
4816
  init();
4636
4817
  init2();
4637
- if ((0, import_editor_v1_adapters15.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30)) {
4818
+ if ((0, import_editor_v1_adapters17.isExperimentActive)(EXPERIMENTAL_FEATURES.V_3_30)) {
4638
4819
  initResetStyleProps();
4639
4820
  }
4640
4821
  }
4641
4822
  var blockV1Panel = () => {
4642
- (0, import_editor_v1_adapters15.blockCommand)({
4823
+ (0, import_editor_v1_adapters17.blockCommand)({
4643
4824
  command: "panel/editor/open",
4644
4825
  condition: isAtomicWidgetSelected
4645
4826
  });
@@ -4651,6 +4832,7 @@ var blockV1Panel = () => {
4651
4832
  injectIntoClassSelectorActions,
4652
4833
  registerControlReplacement,
4653
4834
  useBoundProp,
4835
+ useFontFamilies,
4654
4836
  usePanelActions,
4655
4837
  usePanelStatus
4656
4838
  });