@elementor/editor-editing-panel 4.2.0-904 → 4.2.0-906

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -62,6 +62,7 @@ __export(index_exports, {
62
62
  injectIntoStyleTab: () => injectIntoStyleTab,
63
63
  isDynamicPropValue: () => isDynamicPropValue,
64
64
  registerEditingPanelReplacement: () => registerEditingPanelReplacement,
65
+ registerElementPanelDefaults: () => registerElementPanelDefaults,
65
66
  registerFieldIndicator: () => registerFieldIndicator,
66
67
  registerStyleProviderToColors: () => registerStyleProviderToColors,
67
68
  setLicenseConfig: () => setLicenseConfig,
@@ -1919,17 +1920,17 @@ var hasInheritedCustomCss = (style, meta) => {
1919
1920
  };
1920
1921
 
1921
1922
  // src/components/editing-panel.tsx
1922
- var React89 = __toESM(require("react"));
1923
- var import_editor_controls55 = require("@elementor/editor-controls");
1923
+ var React90 = __toESM(require("react"));
1924
+ var import_editor_controls56 = require("@elementor/editor-controls");
1924
1925
  var import_editor_elements13 = require("@elementor/editor-elements");
1925
1926
  var import_editor_panels = require("@elementor/editor-panels");
1926
1927
  var import_editor_ui8 = require("@elementor/editor-ui");
1927
- var import_icons26 = require("@elementor/icons");
1928
+ var import_icons27 = require("@elementor/icons");
1928
1929
  var import_locations4 = require("@elementor/locations");
1929
1930
  var import_menus = require("@elementor/menus");
1930
1931
  var import_session9 = require("@elementor/session");
1931
- var import_ui43 = require("@elementor/ui");
1932
- var import_i18n63 = require("@wordpress/i18n");
1932
+ var import_ui44 = require("@elementor/ui");
1933
+ var import_i18n64 = require("@wordpress/i18n");
1933
1934
 
1934
1935
  // src/editing-panel-replacement-registry.tsx
1935
1936
  var registry = /* @__PURE__ */ new Map();
@@ -1952,11 +1953,11 @@ function EditorPanelErrorFallback() {
1952
1953
 
1953
1954
  // src/components/editing-panel-tabs.tsx
1954
1955
  var import_react38 = require("react");
1955
- var React88 = __toESM(require("react"));
1956
+ var React89 = __toESM(require("react"));
1956
1957
  var import_editor_elements12 = require("@elementor/editor-elements");
1957
1958
  var import_editor_v1_adapters9 = require("@elementor/editor-v1-adapters");
1958
- var import_ui42 = require("@elementor/ui");
1959
- var import_i18n62 = require("@wordpress/i18n");
1959
+ var import_ui43 = require("@elementor/ui");
1960
+ var import_i18n63 = require("@wordpress/i18n");
1960
1961
 
1961
1962
  // src/contexts/scroll-context.tsx
1962
1963
  var React15 = __toESM(require("react"));
@@ -1998,7 +1999,6 @@ function useScrollDirection() {
1998
1999
  }
1999
2000
 
2000
2001
  // src/hooks/use-default-panel-settings.ts
2001
- var import_react16 = require("react");
2002
2002
  var fallbackEditorSettings = {
2003
2003
  defaultSectionsExpanded: {
2004
2004
  settings: ["Content", "Settings"],
@@ -2006,7 +2006,7 @@ var fallbackEditorSettings = {
2006
2006
  },
2007
2007
  defaultTab: "settings"
2008
2008
  };
2009
- var defaultPanelSettingsContext = (0, import_react16.createContext)({
2009
+ var elementPanelDefaults = {
2010
2010
  "e-div-block": {
2011
2011
  defaultSectionsExpanded: fallbackEditorSettings.defaultSectionsExpanded,
2012
2012
  defaultTab: "style"
@@ -2023,21 +2023,23 @@ var defaultPanelSettingsContext = (0, import_react16.createContext)({
2023
2023
  defaultSectionsExpanded: fallbackEditorSettings.defaultSectionsExpanded,
2024
2024
  defaultTab: "style"
2025
2025
  }
2026
- });
2026
+ };
2027
+ function registerElementPanelDefaults(type, defaults) {
2028
+ elementPanelDefaults[type] = defaults;
2029
+ }
2027
2030
  var useDefaultPanelSettings = () => {
2028
2031
  const { element } = useElement();
2029
- const defaults = (0, import_react16.useContext)(defaultPanelSettingsContext)[element.type];
2030
- return defaults || fallbackEditorSettings;
2032
+ return elementPanelDefaults[element.type] ?? fallbackEditorSettings;
2031
2033
  };
2032
2034
 
2033
2035
  // src/hooks/use-state-by-element.ts
2034
- var import_react17 = require("react");
2036
+ var import_react16 = require("react");
2035
2037
  var import_session4 = require("@elementor/session");
2036
2038
  var useStateByElement = (key, initialValue) => {
2037
2039
  const { element } = useElement();
2038
2040
  const lookup = `elementor/editor-state/${element.id}/${key}`;
2039
2041
  const storedValue = (0, import_session4.getSessionStorageItem)(lookup);
2040
- const [value, setValue] = (0, import_react17.useState)(storedValue ?? initialValue);
2042
+ const [value, setValue] = (0, import_react16.useState)(storedValue ?? initialValue);
2041
2043
  const doUpdate = (newValue) => {
2042
2044
  (0, import_session4.setSessionStorageItem)(lookup, newValue);
2043
2045
  setValue(newValue);
@@ -2274,12 +2276,12 @@ function removePreviousValueFromStorage({ path, elementId }) {
2274
2276
 
2275
2277
  // src/components/section.tsx
2276
2278
  var React18 = __toESM(require("react"));
2277
- var import_react18 = require("react");
2279
+ var import_react17 = require("react");
2278
2280
  var import_editor_ui5 = require("@elementor/editor-ui");
2279
2281
  var import_ui12 = require("@elementor/ui");
2280
2282
  function Section({ title, children, defaultExpanded = false, titleEnd, unmountOnExit = true, action }) {
2281
2283
  const [isOpen, setIsOpen] = useStateByElement(title, !!defaultExpanded);
2282
- const ref = (0, import_react18.useRef)(null);
2284
+ const ref = (0, import_react17.useRef)(null);
2283
2285
  const isDisabled = !!action;
2284
2286
  const handleClick = () => {
2285
2287
  if (isDisabled) {
@@ -2288,7 +2290,7 @@ function Section({ title, children, defaultExpanded = false, titleEnd, unmountOn
2288
2290
  setIsOpen(!isOpen);
2289
2291
  }
2290
2292
  };
2291
- const id = (0, import_react18.useId)();
2293
+ const id = (0, import_react17.useId)();
2292
2294
  const labelId = `label-${id}`;
2293
2295
  const contentId = `content-${id}`;
2294
2296
  return /* @__PURE__ */ React18.createElement(React18.Fragment, null, /* @__PURE__ */ React18.createElement(
@@ -2463,7 +2465,7 @@ var getStyleByLayout = (layout) => {
2463
2465
 
2464
2466
  // src/controls-registry/settings-field.tsx
2465
2467
  var React21 = __toESM(require("react"));
2466
- var import_react19 = require("react");
2468
+ var import_react18 = require("react");
2467
2469
  var import_editor_controls2 = require("@elementor/editor-controls");
2468
2470
  var import_editor_documents2 = require("@elementor/editor-documents");
2469
2471
  var import_editor_elements6 = require("@elementor/editor-elements");
@@ -2518,7 +2520,7 @@ function useUndoableUpdateElementProp({
2518
2520
  elementId,
2519
2521
  propDisplayName
2520
2522
  }) {
2521
- return (0, import_react19.useMemo)(() => {
2523
+ return (0, import_react18.useMemo)(() => {
2522
2524
  return (0, import_editor_v1_adapters4.undoable)(
2523
2525
  {
2524
2526
  do: (newSettings) => {
@@ -2564,9 +2566,10 @@ var getFieldIndicators = (fieldType) => Array.from(indicatorsRegistry[fieldType]
2564
2566
  // src/components/control-label.tsx
2565
2567
  var React22 = __toESM(require("react"));
2566
2568
  var import_editor_controls3 = require("@elementor/editor-controls");
2569
+ var import_icons4 = require("@elementor/icons");
2567
2570
  var import_ui14 = require("@elementor/ui");
2568
- var ControlLabel = ({ children }) => {
2569
- return /* @__PURE__ */ React22.createElement(import_ui14.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlFormLabel, null, children), /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlAdornments, null));
2571
+ var ControlLabel = ({ children, infoTooltip }) => {
2572
+ return /* @__PURE__ */ React22.createElement(import_ui14.Stack, { direction: "row", alignItems: "center", justifyItems: "start", gap: 0.25 }, /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlFormLabel, null, children), infoTooltip && /* @__PURE__ */ React22.createElement(import_ui14.Tooltip, { title: infoTooltip, placement: "top" }, /* @__PURE__ */ React22.createElement(import_icons4.InfoCircleIcon, { fontSize: "tiny" })), /* @__PURE__ */ React22.createElement(import_editor_controls3.ControlAdornments, null));
2570
2573
  };
2571
2574
 
2572
2575
  // src/components/settings-control.tsx
@@ -2676,18 +2679,18 @@ function isControlHiddenByDependencies(control, propsSchema, settings) {
2676
2679
  }
2677
2680
 
2678
2681
  // src/components/style-tab.tsx
2679
- var React87 = __toESM(require("react"));
2682
+ var React88 = __toESM(require("react"));
2680
2683
  var import_react37 = require("react");
2681
2684
  var import_editor_props15 = require("@elementor/editor-props");
2682
2685
  var import_editor_responsive3 = require("@elementor/editor-responsive");
2683
2686
  var import_locations3 = require("@elementor/locations");
2684
2687
  var import_session8 = require("@elementor/session");
2685
- var import_ui41 = require("@elementor/ui");
2686
- var import_i18n61 = require("@wordpress/i18n");
2688
+ var import_ui42 = require("@elementor/ui");
2689
+ var import_i18n62 = require("@wordpress/i18n");
2687
2690
 
2688
2691
  // src/contexts/styles-inheritance-context.tsx
2689
2692
  var React25 = __toESM(require("react"));
2690
- var import_react20 = require("react");
2693
+ var import_react19 = require("react");
2691
2694
  var import_editor_elements7 = require("@elementor/editor-elements");
2692
2695
  var import_editor_props8 = require("@elementor/editor-props");
2693
2696
  var import_editor_responsive2 = require("@elementor/editor-responsive");
@@ -2919,7 +2922,7 @@ var getFilterPropType = (propType, path) => {
2919
2922
  };
2920
2923
 
2921
2924
  // src/contexts/styles-inheritance-context.tsx
2922
- var Context4 = (0, import_react20.createContext)(null);
2925
+ var Context4 = (0, import_react19.createContext)(null);
2923
2926
  function StyleInheritanceProvider({ children }) {
2924
2927
  const styleDefs = useAppliedStyles();
2925
2928
  const breakpointsTree = (0, import_editor_responsive2.getBreakpointsTree)();
@@ -2927,7 +2930,7 @@ function StyleInheritanceProvider({ children }) {
2927
2930
  return /* @__PURE__ */ React25.createElement(Context4.Provider, { value: { getSnapshot, getInheritanceChain } }, children);
2928
2931
  }
2929
2932
  function useStylesInheritanceSnapshot() {
2930
- const context = (0, import_react20.useContext)(Context4);
2933
+ const context = (0, import_react19.useContext)(Context4);
2931
2934
  const { meta } = useStyle();
2932
2935
  if (!context) {
2933
2936
  throw new Error("useStylesInheritanceSnapshot must be used within a StyleInheritanceProvider");
@@ -2938,7 +2941,7 @@ function useStylesInheritanceSnapshot() {
2938
2941
  return context.getSnapshot(meta) ?? null;
2939
2942
  }
2940
2943
  function useStylesInheritanceChain(path) {
2941
- const context = (0, import_react20.useContext)(Context4);
2944
+ const context = (0, import_react19.useContext)(Context4);
2942
2945
  if (!context) {
2943
2946
  throw new Error("useStylesInheritanceChain must be used within a StyleInheritanceProvider");
2944
2947
  }
@@ -2953,7 +2956,7 @@ function useStylesInheritanceChain(path) {
2953
2956
  var EMPTY_INHERITED_VALUES = {};
2954
2957
  function useInheritedValues(propKeys) {
2955
2958
  const snapshot = useStylesInheritanceSnapshot();
2956
- return (0, import_react20.useMemo)(() => {
2959
+ return (0, import_react19.useMemo)(() => {
2957
2960
  if (!snapshot || propKeys.length === 0) {
2958
2961
  return EMPTY_INHERITED_VALUES;
2959
2962
  }
@@ -3028,7 +3031,7 @@ function useStylesField(propName, meta) {
3028
3031
  }
3029
3032
 
3030
3033
  // src/controls-registry/conditional-field.tsx
3031
- var import_react21 = require("react");
3034
+ var import_react20 = require("react");
3032
3035
  var import_editor_controls5 = require("@elementor/editor-controls");
3033
3036
  var import_editor_props9 = require("@elementor/editor-props");
3034
3037
  var ConditionalField = ({ children }) => {
@@ -3057,8 +3060,8 @@ function useSyncDepsWithInherited({
3057
3060
  setDepValues,
3058
3061
  resetValue
3059
3062
  }) {
3060
- const syncRef = (0, import_react21.useRef)({ hasSynced: false, prevDepValues: depValues });
3061
- (0, import_react21.useEffect)(() => {
3063
+ const syncRef = (0, import_react20.useRef)({ hasSynced: false, prevDepValues: depValues });
3064
+ (0, import_react20.useEffect)(() => {
3062
3065
  const { hasSynced, prevDepValues } = syncRef.current;
3063
3066
  if (hasSynced && value && wasDepsCleared(prevDepValues, depValues) || isHidden && depValues && value) {
3064
3067
  resetValue();
@@ -3199,42 +3202,26 @@ var import_i18n11 = require("@wordpress/i18n");
3199
3202
  var React29 = __toESM(require("react"));
3200
3203
  var import_ui17 = require("@elementor/ui");
3201
3204
  var StylesFieldLayout = React29.forwardRef((props, ref) => {
3202
- const { direction = "row", children, label } = props;
3205
+ const { direction = "row", children, label, infoTooltip } = props;
3203
3206
  const LayoutComponent = direction === "row" ? Row : Column;
3204
- return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, ref, children });
3207
+ return /* @__PURE__ */ React29.createElement(LayoutComponent, { label, infoTooltip, ref, children });
3208
+ });
3209
+ var Row = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3210
+ return /* @__PURE__ */ React29.createElement(import_ui17.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap", ref, "aria-label": `${label} control` }, /* @__PURE__ */ React29.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label)), /* @__PURE__ */ React29.createElement(
3211
+ import_ui17.Grid,
3212
+ {
3213
+ item: true,
3214
+ xs: 6,
3215
+ sx: (theme) => ({
3216
+ width: `calc(50% - ${theme.spacing(2)})`
3217
+ })
3218
+ },
3219
+ children
3220
+ ));
3221
+ });
3222
+ var Column = React29.forwardRef(({ label, children, infoTooltip }, ref) => {
3223
+ return /* @__PURE__ */ React29.createElement(import_ui17.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, { infoTooltip }, label), children);
3205
3224
  });
3206
- var Row = React29.forwardRef(
3207
- ({ label, children }, ref) => {
3208
- return /* @__PURE__ */ React29.createElement(
3209
- import_ui17.Grid,
3210
- {
3211
- container: true,
3212
- gap: 2,
3213
- alignItems: "center",
3214
- flexWrap: "nowrap",
3215
- ref,
3216
- "aria-label": `${label} control`
3217
- },
3218
- /* @__PURE__ */ React29.createElement(import_ui17.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label)),
3219
- /* @__PURE__ */ React29.createElement(
3220
- import_ui17.Grid,
3221
- {
3222
- item: true,
3223
- xs: 6,
3224
- sx: (theme) => ({
3225
- width: `calc(50% - ${theme.spacing(2)})`
3226
- })
3227
- },
3228
- children
3229
- )
3230
- );
3231
- }
3232
- );
3233
- var Column = React29.forwardRef(
3234
- ({ label, children }, ref) => {
3235
- return /* @__PURE__ */ React29.createElement(import_ui17.Stack, { gap: 0.75, ref }, /* @__PURE__ */ React29.createElement(ControlLabel, null, label), children);
3236
- }
3237
- );
3238
3225
 
3239
3226
  // src/components/style-sections/border-section/border-color-field.tsx
3240
3227
  var BORDER_COLOR_LABEL = (0, import_i18n11.__)("Border color", "elementor");
@@ -3244,7 +3231,7 @@ var BorderColorField = () => /* @__PURE__ */ React30.createElement(StylesField,
3244
3231
  var React32 = __toESM(require("react"));
3245
3232
  var import_editor_controls9 = require("@elementor/editor-controls");
3246
3233
  var import_editor_props11 = require("@elementor/editor-props");
3247
- var import_icons4 = require("@elementor/icons");
3234
+ var import_icons5 = require("@elementor/icons");
3248
3235
  var import_ui20 = require("@elementor/ui");
3249
3236
  var import_i18n12 = require("@wordpress/i18n");
3250
3237
 
@@ -3267,10 +3254,10 @@ var UiProviders = ({ children }) => {
3267
3254
 
3268
3255
  // src/components/style-sections/border-section/border-radius-field.tsx
3269
3256
  var BORDER_RADIUS_LABEL = (0, import_i18n12.__)("Border radius", "elementor");
3270
- var StartStartIcon = (0, import_ui20.withDirection)(import_icons4.RadiusTopLeftIcon);
3271
- var StartEndIcon = (0, import_ui20.withDirection)(import_icons4.RadiusTopRightIcon);
3272
- var EndStartIcon = (0, import_ui20.withDirection)(import_icons4.RadiusBottomLeftIcon);
3273
- var EndEndIcon = (0, import_ui20.withDirection)(import_icons4.RadiusBottomRightIcon);
3257
+ var StartStartIcon = (0, import_ui20.withDirection)(import_icons5.RadiusTopLeftIcon);
3258
+ var StartEndIcon = (0, import_ui20.withDirection)(import_icons5.RadiusTopRightIcon);
3259
+ var EndStartIcon = (0, import_ui20.withDirection)(import_icons5.RadiusBottomLeftIcon);
3260
+ var EndEndIcon = (0, import_ui20.withDirection)(import_icons5.RadiusBottomRightIcon);
3274
3261
  var getStartStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Top right", "elementor") : (0, import_i18n12.__)("Top left", "elementor");
3275
3262
  var getStartStartAriaLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Border top right radius", "elementor") : (0, import_i18n12.__)("Border top left radius", "elementor");
3276
3263
  var getStartEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n12.__)("Top left", "elementor") : (0, import_i18n12.__)("Top right", "elementor");
@@ -3312,7 +3299,7 @@ var BorderRadiusField = () => {
3312
3299
  {
3313
3300
  items: getCorners(isSiteRtl),
3314
3301
  label: BORDER_RADIUS_LABEL,
3315
- icon: /* @__PURE__ */ React32.createElement(import_icons4.BorderCornersIcon, { fontSize: "tiny" }),
3302
+ icon: /* @__PURE__ */ React32.createElement(import_icons5.BorderCornersIcon, { fontSize: "tiny" }),
3316
3303
  tooltipLabel: (0, import_i18n12.__)("Adjust corners", "elementor"),
3317
3304
  multiSizePropTypeUtil: import_editor_props11.borderRadiusPropTypeUtil
3318
3305
  }
@@ -3341,17 +3328,17 @@ var BorderStyleField = () => /* @__PURE__ */ React33.createElement(StylesField,
3341
3328
  var React34 = __toESM(require("react"));
3342
3329
  var import_editor_controls11 = require("@elementor/editor-controls");
3343
3330
  var import_editor_props12 = require("@elementor/editor-props");
3344
- var import_icons5 = require("@elementor/icons");
3331
+ var import_icons6 = require("@elementor/icons");
3345
3332
  var import_ui21 = require("@elementor/ui");
3346
3333
  var import_i18n14 = require("@wordpress/i18n");
3347
3334
  var BORDER_WIDTH_LABEL = (0, import_i18n14.__)("Border width", "elementor");
3348
- var InlineStartIcon = (0, import_ui21.withDirection)(import_icons5.SideRightIcon);
3349
- var InlineEndIcon = (0, import_ui21.withDirection)(import_icons5.SideLeftIcon);
3335
+ var InlineStartIcon = (0, import_ui21.withDirection)(import_icons6.SideRightIcon);
3336
+ var InlineEndIcon = (0, import_ui21.withDirection)(import_icons6.SideLeftIcon);
3350
3337
  var getEdges = (isSiteRtl) => [
3351
3338
  {
3352
3339
  label: (0, import_i18n14.__)("Top", "elementor"),
3353
3340
  ariaLabel: (0, import_i18n14.__)("Border top width", "elementor"),
3354
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideTopIcon, { fontSize: "tiny" }),
3341
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideTopIcon, { fontSize: "tiny" }),
3355
3342
  bind: "block-start"
3356
3343
  },
3357
3344
  {
@@ -3363,7 +3350,7 @@ var getEdges = (isSiteRtl) => [
3363
3350
  {
3364
3351
  label: (0, import_i18n14.__)("Bottom", "elementor"),
3365
3352
  ariaLabel: (0, import_i18n14.__)("Border bottom width", "elementor"),
3366
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideBottomIcon, { fontSize: "tiny" }),
3353
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideBottomIcon, { fontSize: "tiny" }),
3367
3354
  bind: "block-end"
3368
3355
  },
3369
3356
  {
@@ -3380,7 +3367,7 @@ var BorderWidthField = () => {
3380
3367
  {
3381
3368
  items: getEdges(isSiteRtl),
3382
3369
  label: BORDER_WIDTH_LABEL,
3383
- icon: /* @__PURE__ */ React34.createElement(import_icons5.SideAllIcon, { fontSize: "tiny" }),
3370
+ icon: /* @__PURE__ */ React34.createElement(import_icons6.SideAllIcon, { fontSize: "tiny" }),
3384
3371
  tooltipLabel: (0, import_i18n14.__)("Adjust borders", "elementor"),
3385
3372
  multiSizePropTypeUtil: import_editor_props12.borderWidthPropTypeUtil
3386
3373
  }
@@ -3467,12 +3454,12 @@ var BlendModeField = () => {
3467
3454
 
3468
3455
  // src/components/style-sections/effects-section/opacity-control-field.tsx
3469
3456
  var React38 = __toESM(require("react"));
3470
- var import_react22 = require("react");
3457
+ var import_react21 = require("react");
3471
3458
  var import_editor_controls13 = require("@elementor/editor-controls");
3472
3459
  var import_i18n16 = require("@wordpress/i18n");
3473
3460
  var OPACITY_LABEL = (0, import_i18n16.__)("Opacity", "elementor");
3474
3461
  var OpacityControlField = () => {
3475
- const rowRef = (0, import_react22.useRef)(null);
3462
+ const rowRef = (0, import_react21.useRef)(null);
3476
3463
  return /* @__PURE__ */ React38.createElement(StylesField, { bind: "opacity", propDisplayName: OPACITY_LABEL }, /* @__PURE__ */ React38.createElement(StylesFieldLayout, { ref: rowRef, label: OPACITY_LABEL }, /* @__PURE__ */ React38.createElement(import_editor_controls13.SizeControl, { units: ["%"], anchorRef: rowRef, defaultUnit: "%" })));
3477
3464
  };
3478
3465
 
@@ -3496,11 +3483,11 @@ var EffectsSection = () => {
3496
3483
  };
3497
3484
 
3498
3485
  // src/components/style-sections/layout-section/layout-section.tsx
3499
- var React57 = __toESM(require("react"));
3500
- var import_editor_controls31 = require("@elementor/editor-controls");
3486
+ var React60 = __toESM(require("react"));
3487
+ var import_editor_controls32 = require("@elementor/editor-controls");
3501
3488
  var import_editor_elements11 = require("@elementor/editor-elements");
3502
3489
  var import_editor_v1_adapters8 = require("@elementor/editor-v1-adapters");
3503
- var import_i18n35 = require("@wordpress/i18n");
3490
+ var import_i18n37 = require("@wordpress/i18n");
3504
3491
 
3505
3492
  // src/hooks/use-computed-style.ts
3506
3493
  var import_editor_v1_adapters6 = require("@elementor/editor-v1-adapters");
@@ -3526,19 +3513,100 @@ function useComputedStyle(elementId) {
3526
3513
  );
3527
3514
  }
3528
3515
 
3529
- // src/components/style-sections/layout-section/align-content-field.tsx
3516
+ // src/components/style-tab-collapsible-content.tsx
3530
3517
  var React41 = __toESM(require("react"));
3531
- var import_editor_controls15 = require("@elementor/editor-controls");
3532
- var import_icons6 = require("@elementor/icons");
3533
- var import_ui24 = require("@elementor/ui");
3534
- var import_i18n19 = require("@wordpress/i18n");
3518
+ var import_editor_ui6 = require("@elementor/editor-ui");
3535
3519
 
3536
- // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3520
+ // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
3537
3521
  var React40 = __toESM(require("react"));
3538
- var import_react23 = require("react");
3522
+ var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
3539
3523
  var import_ui23 = require("@elementor/ui");
3540
3524
  var import_i18n18 = require("@wordpress/i18n");
3541
- var FLEX_DIRECTION_LABEL = (0, import_i18n18.__)("Flex direction", "elementor");
3525
+ var StylesInheritanceSectionIndicators = ({ fields }) => {
3526
+ const { id, meta, provider } = useStyle();
3527
+ const snapshot = useStylesInheritanceSnapshot();
3528
+ if (fields.includes("custom_css")) {
3529
+ return /* @__PURE__ */ React40.createElement(CustomCssIndicator, null);
3530
+ }
3531
+ const snapshotFields = Object.fromEntries(
3532
+ Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
3533
+ );
3534
+ const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
3535
+ if (!hasValues && !hasOverrides) {
3536
+ return null;
3537
+ }
3538
+ const hasValueLabel = (0, import_i18n18.__)("Has effective styles", "elementor");
3539
+ const hasOverridesLabel = (0, import_i18n18.__)("Has overridden styles", "elementor");
3540
+ return /* @__PURE__ */ React40.createElement(import_ui23.Tooltip, { title: (0, import_i18n18.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React40.createElement(import_ui23.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React40.createElement(
3541
+ StyleIndicator,
3542
+ {
3543
+ getColor: getStylesProviderThemeColor(provider.getKey()),
3544
+ "data-variant": (0, import_editor_styles_repository17.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
3545
+ role: "listitem",
3546
+ "aria-label": hasValueLabel
3547
+ }
3548
+ ), hasOverrides && /* @__PURE__ */ React40.createElement(
3549
+ StyleIndicator,
3550
+ {
3551
+ isOverridden: true,
3552
+ "data-variant": "overridden",
3553
+ role: "listitem",
3554
+ "aria-label": hasOverridesLabel
3555
+ }
3556
+ )));
3557
+ };
3558
+ function getIndicators(snapshotFields, styleId, meta) {
3559
+ let hasValues = false;
3560
+ let hasOverrides = false;
3561
+ Object.values(snapshotFields).forEach((inheritanceChain) => {
3562
+ const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
3563
+ if (!currentStyle) {
3564
+ return;
3565
+ }
3566
+ const [actualStyle] = inheritanceChain;
3567
+ if (currentStyle === actualStyle) {
3568
+ hasValues = true;
3569
+ } else {
3570
+ hasOverrides = true;
3571
+ }
3572
+ });
3573
+ return { hasValues, hasOverrides };
3574
+ }
3575
+ function getCurrentStyleFromChain(chain, styleId, meta) {
3576
+ return chain.find(
3577
+ ({
3578
+ style: { id },
3579
+ variant: {
3580
+ meta: { breakpoint, state }
3581
+ }
3582
+ }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
3583
+ );
3584
+ }
3585
+
3586
+ // src/components/style-tab-collapsible-content.tsx
3587
+ var StyleTabCollapsibleContent = ({ fields = [], children }) => {
3588
+ return /* @__PURE__ */ React41.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
3589
+ };
3590
+ function getStylesInheritanceIndicators(fields) {
3591
+ if (fields.length === 0) {
3592
+ return null;
3593
+ }
3594
+ return (isOpen) => !isOpen ? /* @__PURE__ */ React41.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
3595
+ }
3596
+
3597
+ // src/components/style-sections/layout-section/align-content-field.tsx
3598
+ var React43 = __toESM(require("react"));
3599
+ var import_editor_controls15 = require("@elementor/editor-controls");
3600
+ var import_icons7 = require("@elementor/icons");
3601
+ var import_ui25 = require("@elementor/ui");
3602
+ var import_i18n20 = require("@wordpress/i18n");
3603
+
3604
+ // src/components/style-sections/layout-section/utils/rotated-icon.tsx
3605
+ var React42 = __toESM(require("react"));
3606
+ var import_react22 = require("react");
3607
+ var import_ui24 = require("@elementor/ui");
3608
+ var import_i18n19 = require("@wordpress/i18n");
3609
+ var FLEX_DIRECTION_LABEL = (0, import_i18n19.__)("Flex direction", "elementor");
3542
3610
  var CLOCKWISE_ANGLES = {
3543
3611
  row: 0,
3544
3612
  column: 90,
@@ -3558,15 +3626,15 @@ var RotatedIcon = ({
3558
3626
  offset = 0,
3559
3627
  disableRotationForReversed = false
3560
3628
  }) => {
3561
- const rotate = (0, import_react23.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3629
+ const rotate = (0, import_react22.useRef)(useGetTargetAngle(isClockwise, offset, disableRotationForReversed));
3562
3630
  rotate.current = useGetTargetAngle(isClockwise, offset, disableRotationForReversed, rotate);
3563
- return /* @__PURE__ */ React40.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3631
+ return /* @__PURE__ */ React42.createElement(Icon, { fontSize: size, sx: { transition: ".3s", rotate: `${rotate.current}deg` } });
3564
3632
  };
3565
3633
  var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existingRef) => {
3566
3634
  const { value: direction } = useStylesField("flex-direction", {
3567
3635
  history: { propDisplayName: FLEX_DIRECTION_LABEL }
3568
3636
  });
3569
- const isRtl = "rtl" === (0, import_ui23.useTheme)().direction;
3637
+ const isRtl = "rtl" === (0, import_ui24.useTheme)().direction;
3570
3638
  const rotationMultiplier = isRtl ? -1 : 1;
3571
3639
  const angleMap = isClockwise ? CLOCKWISE_ANGLES : COUNTER_CLOCKWISE_ANGLES;
3572
3640
  const currentDirection = direction?.value || "row";
@@ -3581,9 +3649,9 @@ var useGetTargetAngle = (isClockwise, offset, disableRotationForReversed, existi
3581
3649
  };
3582
3650
 
3583
3651
  // src/components/style-sections/layout-section/align-content-field.tsx
3584
- var ALIGN_CONTENT_LABEL = (0, import_i18n19.__)("Align content", "elementor");
3585
- var StartIcon = (0, import_ui24.withDirection)(import_icons6.JustifyTopIcon);
3586
- var EndIcon = (0, import_ui24.withDirection)(import_icons6.JustifyBottomIcon);
3652
+ var ALIGN_CONTENT_LABEL = (0, import_i18n20.__)("Align content", "elementor");
3653
+ var StartIcon = (0, import_ui25.withDirection)(import_icons7.JustifyTopIcon);
3654
+ var EndIcon = (0, import_ui25.withDirection)(import_icons7.JustifyBottomIcon);
3587
3655
  var iconProps = {
3588
3656
  isClockwise: false,
3589
3657
  offset: 0,
@@ -3592,52 +3660,52 @@ var iconProps = {
3592
3660
  var options = [
3593
3661
  {
3594
3662
  value: "start",
3595
- label: (0, import_i18n19.__)("Start", "elementor"),
3596
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3663
+ label: (0, import_i18n20.__)("Start", "elementor"),
3664
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: StartIcon, size, ...iconProps }),
3597
3665
  showTooltip: true
3598
3666
  },
3599
3667
  {
3600
3668
  value: "center",
3601
- label: (0, import_i18n19.__)("Center", "elementor"),
3602
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifyCenterIcon, size, ...iconProps }),
3669
+ label: (0, import_i18n20.__)("Center", "elementor"),
3670
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifyCenterIcon, size, ...iconProps }),
3603
3671
  showTooltip: true
3604
3672
  },
3605
3673
  {
3606
3674
  value: "end",
3607
- label: (0, import_i18n19.__)("End", "elementor"),
3608
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3675
+ label: (0, import_i18n20.__)("End", "elementor"),
3676
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: EndIcon, size, ...iconProps }),
3609
3677
  showTooltip: true
3610
3678
  },
3611
3679
  {
3612
3680
  value: "space-between",
3613
- label: (0, import_i18n19.__)("Space between", "elementor"),
3614
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3681
+ label: (0, import_i18n20.__)("Space between", "elementor"),
3682
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifySpaceBetweenVerticalIcon, size, ...iconProps }),
3615
3683
  showTooltip: true
3616
3684
  },
3617
3685
  {
3618
3686
  value: "space-around",
3619
- label: (0, import_i18n19.__)("Space around", "elementor"),
3620
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3687
+ label: (0, import_i18n20.__)("Space around", "elementor"),
3688
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifySpaceAroundVerticalIcon, size, ...iconProps }),
3621
3689
  showTooltip: true
3622
3690
  },
3623
3691
  {
3624
3692
  value: "space-evenly",
3625
- label: (0, import_i18n19.__)("Space evenly", "elementor"),
3626
- renderContent: ({ size }) => /* @__PURE__ */ React41.createElement(RotatedIcon, { icon: import_icons6.JustifyDistributeVerticalIcon, size, ...iconProps }),
3693
+ label: (0, import_i18n20.__)("Space evenly", "elementor"),
3694
+ renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(RotatedIcon, { icon: import_icons7.JustifyDistributeVerticalIcon, size, ...iconProps }),
3627
3695
  showTooltip: true
3628
3696
  }
3629
3697
  ];
3630
- var AlignContentField = () => /* @__PURE__ */ React41.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React41.createElement(UiProviders, null, /* @__PURE__ */ React41.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React41.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3698
+ var AlignContentField = () => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-content", propDisplayName: ALIGN_CONTENT_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React43.createElement(import_editor_controls15.ToggleControl, { options, fullWidth: true }))));
3631
3699
 
3632
3700
  // src/components/style-sections/layout-section/align-items-field.tsx
3633
- var React42 = __toESM(require("react"));
3701
+ var React44 = __toESM(require("react"));
3634
3702
  var import_editor_controls16 = require("@elementor/editor-controls");
3635
- var import_icons7 = require("@elementor/icons");
3636
- var import_ui25 = require("@elementor/ui");
3637
- var import_i18n20 = require("@wordpress/i18n");
3638
- var ALIGN_ITEMS_LABEL = (0, import_i18n20.__)("Align items", "elementor");
3639
- var StartIcon2 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignLeftIcon);
3640
- var EndIcon2 = (0, import_ui25.withDirection)(import_icons7.LayoutAlignRightIcon);
3703
+ var import_icons8 = require("@elementor/icons");
3704
+ var import_ui26 = require("@elementor/ui");
3705
+ var import_i18n21 = require("@wordpress/i18n");
3706
+ var ALIGN_ITEMS_LABEL = (0, import_i18n21.__)("Align items", "elementor");
3707
+ var StartIcon2 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignLeftIcon);
3708
+ var EndIcon2 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignRightIcon);
3641
3709
  var iconProps2 = {
3642
3710
  isClockwise: false,
3643
3711
  offset: 90
@@ -3645,56 +3713,56 @@ var iconProps2 = {
3645
3713
  var options2 = [
3646
3714
  {
3647
3715
  value: "start",
3648
- label: (0, import_i18n20.__)("Start", "elementor"),
3649
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3716
+ label: (0, import_i18n21.__)("Start", "elementor"),
3717
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: StartIcon2, size, ...iconProps2 }),
3650
3718
  showTooltip: true
3651
3719
  },
3652
3720
  {
3653
3721
  value: "center",
3654
- label: (0, import_i18n20.__)("Center", "elementor"),
3655
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons7.LayoutAlignCenterIcon, size, ...iconProps2 }),
3722
+ label: (0, import_i18n21.__)("Center", "elementor"),
3723
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: import_icons8.LayoutAlignCenterIcon, size, ...iconProps2 }),
3656
3724
  showTooltip: true
3657
3725
  },
3658
3726
  {
3659
3727
  value: "end",
3660
- label: (0, import_i18n20.__)("End", "elementor"),
3661
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3728
+ label: (0, import_i18n21.__)("End", "elementor"),
3729
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: EndIcon2, size, ...iconProps2 }),
3662
3730
  showTooltip: true
3663
3731
  },
3664
3732
  {
3665
3733
  value: "stretch",
3666
- label: (0, import_i18n20.__)("Stretch", "elementor"),
3667
- renderContent: ({ size }) => /* @__PURE__ */ React42.createElement(RotatedIcon, { icon: import_icons7.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3734
+ label: (0, import_i18n21.__)("Stretch", "elementor"),
3735
+ renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon, { icon: import_icons8.LayoutDistributeVerticalIcon, size, ...iconProps2 }),
3668
3736
  showTooltip: true
3669
3737
  }
3670
3738
  ];
3671
3739
  var AlignItemsField = () => {
3672
- return /* @__PURE__ */ React42.createElement(UiProviders, null, /* @__PURE__ */ React42.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React42.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3740
+ return /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-items", propDisplayName: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_ITEMS_LABEL }, /* @__PURE__ */ React44.createElement(import_editor_controls16.ToggleControl, { options: options2 }))));
3673
3741
  };
3674
3742
 
3675
3743
  // src/components/style-sections/layout-section/align-self-child-field.tsx
3676
- var React43 = __toESM(require("react"));
3744
+ var React45 = __toESM(require("react"));
3677
3745
  var import_editor_controls17 = require("@elementor/editor-controls");
3678
- var import_icons8 = require("@elementor/icons");
3679
- var import_ui26 = require("@elementor/ui");
3680
- var import_i18n21 = require("@wordpress/i18n");
3681
- var ALIGN_SELF_LABEL = (0, import_i18n21.__)("Align self", "elementor");
3746
+ var import_icons9 = require("@elementor/icons");
3747
+ var import_ui27 = require("@elementor/ui");
3748
+ var import_i18n22 = require("@wordpress/i18n");
3749
+ var ALIGN_SELF_LABEL = (0, import_i18n22.__)("Align self", "elementor");
3682
3750
  var ALIGN_SELF_CHILD_OFFSET_MAP = {
3683
3751
  row: 90,
3684
3752
  "row-reverse": 90,
3685
3753
  column: 0,
3686
3754
  "column-reverse": 0
3687
3755
  };
3688
- var StartIcon3 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignLeftIcon);
3689
- var EndIcon3 = (0, import_ui26.withDirection)(import_icons8.LayoutAlignRightIcon);
3756
+ var StartIcon3 = (0, import_ui27.withDirection)(import_icons9.LayoutAlignLeftIcon);
3757
+ var EndIcon3 = (0, import_ui27.withDirection)(import_icons9.LayoutAlignRightIcon);
3690
3758
  var iconProps3 = {
3691
3759
  isClockwise: false
3692
3760
  };
3693
3761
  var getOptions = (parentStyleDirection) => [
3694
3762
  {
3695
3763
  value: "start",
3696
- label: (0, import_i18n21.__)("Start", "elementor"),
3697
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3764
+ label: (0, import_i18n22.__)("Start", "elementor"),
3765
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3698
3766
  RotatedIcon,
3699
3767
  {
3700
3768
  icon: StartIcon3,
@@ -3707,11 +3775,11 @@ var getOptions = (parentStyleDirection) => [
3707
3775
  },
3708
3776
  {
3709
3777
  value: "center",
3710
- label: (0, import_i18n21.__)("Center", "elementor"),
3711
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3778
+ label: (0, import_i18n22.__)("Center", "elementor"),
3779
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3712
3780
  RotatedIcon,
3713
3781
  {
3714
- icon: import_icons8.LayoutAlignCenterIcon,
3782
+ icon: import_icons9.LayoutAlignCenterIcon,
3715
3783
  size,
3716
3784
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
3717
3785
  ...iconProps3
@@ -3721,8 +3789,8 @@ var getOptions = (parentStyleDirection) => [
3721
3789
  },
3722
3790
  {
3723
3791
  value: "end",
3724
- label: (0, import_i18n21.__)("End", "elementor"),
3725
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3792
+ label: (0, import_i18n22.__)("End", "elementor"),
3793
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3726
3794
  RotatedIcon,
3727
3795
  {
3728
3796
  icon: EndIcon3,
@@ -3735,11 +3803,11 @@ var getOptions = (parentStyleDirection) => [
3735
3803
  },
3736
3804
  {
3737
3805
  value: "stretch",
3738
- label: (0, import_i18n21.__)("Stretch", "elementor"),
3739
- renderContent: ({ size }) => /* @__PURE__ */ React43.createElement(
3806
+ label: (0, import_i18n22.__)("Stretch", "elementor"),
3807
+ renderContent: ({ size }) => /* @__PURE__ */ React45.createElement(
3740
3808
  RotatedIcon,
3741
3809
  {
3742
- icon: import_icons8.LayoutDistributeVerticalIcon,
3810
+ icon: import_icons9.LayoutDistributeVerticalIcon,
3743
3811
  size,
3744
3812
  offset: ALIGN_SELF_CHILD_OFFSET_MAP[parentStyleDirection],
3745
3813
  ...iconProps3
@@ -3748,161 +3816,161 @@ var getOptions = (parentStyleDirection) => [
3748
3816
  showTooltip: true
3749
3817
  }
3750
3818
  ];
3751
- var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React43.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(UiProviders, null, /* @__PURE__ */ React43.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React43.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3819
+ var AlignSelfChild = ({ parentStyleDirection }) => /* @__PURE__ */ React45.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(UiProviders, null, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL }, /* @__PURE__ */ React45.createElement(import_editor_controls17.ToggleControl, { options: getOptions(parentStyleDirection) }))));
3752
3820
 
3753
3821
  // src/components/style-sections/layout-section/align-self-grid-child-field.tsx
3754
- var React44 = __toESM(require("react"));
3822
+ var React46 = __toESM(require("react"));
3755
3823
  var import_editor_controls18 = require("@elementor/editor-controls");
3756
- var import_icons9 = require("@elementor/icons");
3757
- var import_i18n22 = require("@wordpress/i18n");
3758
- var ALIGN_SELF_LABEL2 = (0, import_i18n22.__)("Align self", "elementor");
3824
+ var import_icons10 = require("@elementor/icons");
3825
+ var import_i18n23 = require("@wordpress/i18n");
3826
+ var ALIGN_SELF_LABEL2 = (0, import_i18n23.__)("Align self", "elementor");
3759
3827
  var ALIGN_SELF_CHILD_OFFSET_MAP2 = {
3760
3828
  row: 0,
3761
3829
  column: -90
3762
3830
  };
3763
- var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React44.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(UiProviders, null, /* @__PURE__ */ React44.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React44.createElement(import_editor_controls18.ToggleControl, { options: getOptions2(parentStyleDirection ?? "row") }))));
3831
+ var AlignSelfGridChild = ({ parentStyleDirection }) => /* @__PURE__ */ React46.createElement(StylesField, { bind: "align-self", propDisplayName: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: ALIGN_SELF_LABEL2 }, /* @__PURE__ */ React46.createElement(import_editor_controls18.ToggleControl, { options: getOptions2(parentStyleDirection ?? "row") }))));
3764
3832
  var RotatedIcon2 = ({
3765
3833
  icon: Icon,
3766
3834
  size,
3767
3835
  offset
3768
- }) => /* @__PURE__ */ React44.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3836
+ }) => /* @__PURE__ */ React46.createElement(Icon, { fontSize: size, sx: { rotate: `${offset}deg` } });
3769
3837
  var getOptions2 = (parentStyleDirection) => {
3770
3838
  const offset = ALIGN_SELF_CHILD_OFFSET_MAP2[parentStyleDirection.replace("dense", "").trim()];
3771
3839
  return [
3772
3840
  {
3773
3841
  value: "start",
3774
- label: (0, import_i18n22.__)("Start", "elementor"),
3775
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyTopIcon, size, offset }),
3842
+ label: (0, import_i18n23.__)("Start", "elementor"),
3843
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyTopIcon, size, offset }),
3776
3844
  showTooltip: true
3777
3845
  },
3778
3846
  {
3779
3847
  value: "center",
3780
- label: (0, import_i18n22.__)("Center", "elementor"),
3781
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyCenterIcon, size, offset }),
3848
+ label: (0, import_i18n23.__)("Center", "elementor"),
3849
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyCenterIcon, size, offset }),
3782
3850
  showTooltip: true
3783
3851
  },
3784
3852
  {
3785
3853
  value: "end",
3786
- label: (0, import_i18n22.__)("End", "elementor"),
3787
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.JustifyBottomIcon, size, offset }),
3854
+ label: (0, import_i18n23.__)("End", "elementor"),
3855
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.JustifyBottomIcon, size, offset }),
3788
3856
  showTooltip: true
3789
3857
  },
3790
3858
  {
3791
3859
  value: "stretch",
3792
- label: (0, import_i18n22.__)("Stretch", "elementor"),
3793
- renderContent: ({ size }) => /* @__PURE__ */ React44.createElement(RotatedIcon2, { icon: import_icons9.LayoutDistributeVerticalIcon, size, offset }),
3860
+ label: (0, import_i18n23.__)("Stretch", "elementor"),
3861
+ renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(RotatedIcon2, { icon: import_icons10.LayoutDistributeVerticalIcon, size, offset }),
3794
3862
  showTooltip: true
3795
3863
  }
3796
3864
  ];
3797
3865
  };
3798
3866
 
3799
3867
  // src/components/style-sections/layout-section/display-field.tsx
3800
- var React45 = __toESM(require("react"));
3801
- var import_react24 = require("react");
3868
+ var React47 = __toESM(require("react"));
3869
+ var import_react23 = require("react");
3802
3870
  var import_editor_controls19 = require("@elementor/editor-controls");
3803
3871
  var import_editor_v1_adapters7 = require("@elementor/editor-v1-adapters");
3804
- var import_i18n23 = require("@wordpress/i18n");
3805
- var DISPLAY_LABEL = (0, import_i18n23.__)("Display", "elementor");
3872
+ var import_i18n24 = require("@wordpress/i18n");
3873
+ var DISPLAY_LABEL = (0, import_i18n24.__)("Display", "elementor");
3806
3874
  var displayFieldItems = [
3807
3875
  {
3808
3876
  value: "block",
3809
- renderContent: () => (0, import_i18n23.__)("Block", "elementor"),
3810
- label: (0, import_i18n23.__)("Block", "elementor"),
3877
+ renderContent: () => (0, import_i18n24.__)("Block", "elementor"),
3878
+ label: (0, import_i18n24.__)("Block", "elementor"),
3811
3879
  showTooltip: true
3812
3880
  },
3813
3881
  {
3814
3882
  value: "flex",
3815
- renderContent: () => (0, import_i18n23.__)("Flex", "elementor"),
3816
- label: (0, import_i18n23.__)("Flex", "elementor"),
3883
+ renderContent: () => (0, import_i18n24.__)("Flex", "elementor"),
3884
+ label: (0, import_i18n24.__)("Flex", "elementor"),
3817
3885
  showTooltip: true
3818
3886
  },
3819
3887
  {
3820
3888
  value: "grid",
3821
- renderContent: () => (0, import_i18n23.__)("Grid", "elementor"),
3822
- label: (0, import_i18n23.__)("Grid", "elementor"),
3889
+ renderContent: () => (0, import_i18n24.__)("Grid", "elementor"),
3890
+ label: (0, import_i18n24.__)("Grid", "elementor"),
3823
3891
  showTooltip: true
3824
3892
  },
3825
3893
  {
3826
3894
  value: "none",
3827
- renderContent: () => (0, import_i18n23.__)("None", "elementor"),
3828
- label: (0, import_i18n23.__)("None", "elementor"),
3895
+ renderContent: () => (0, import_i18n24.__)("None", "elementor"),
3896
+ label: (0, import_i18n24.__)("None", "elementor"),
3829
3897
  showTooltip: true
3830
3898
  },
3831
3899
  {
3832
3900
  value: "inline-block",
3833
- renderContent: () => (0, import_i18n23.__)("In-blk", "elementor"),
3834
- label: (0, import_i18n23.__)("Inline-block", "elementor"),
3901
+ renderContent: () => (0, import_i18n24.__)("In-blk", "elementor"),
3902
+ label: (0, import_i18n24.__)("Inline-block", "elementor"),
3835
3903
  showTooltip: true
3836
3904
  },
3837
3905
  {
3838
3906
  value: "inline-flex",
3839
- renderContent: () => (0, import_i18n23.__)("In-flx", "elementor"),
3840
- label: (0, import_i18n23.__)("Inline-flex", "elementor"),
3907
+ renderContent: () => (0, import_i18n24.__)("In-flx", "elementor"),
3908
+ label: (0, import_i18n24.__)("Inline-flex", "elementor"),
3841
3909
  showTooltip: true
3842
3910
  }
3843
3911
  ];
3844
3912
  var DisplayField = () => {
3845
3913
  const placeholder = useDisplayPlaceholderValue();
3846
3914
  const isGridActive = (0, import_editor_v1_adapters7.isExperimentActive)("e_css_grid");
3847
- const items3 = (0, import_react24.useMemo)(
3915
+ const items3 = (0, import_react23.useMemo)(
3848
3916
  () => isGridActive ? displayFieldItems : displayFieldItems.filter((item) => item.value !== "grid"),
3849
3917
  [isGridActive]
3850
3918
  );
3851
- return /* @__PURE__ */ React45.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React45.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React45.createElement(import_editor_controls19.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
3919
+ return /* @__PURE__ */ React47.createElement(StylesField, { bind: "display", propDisplayName: DISPLAY_LABEL, placeholder }, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: DISPLAY_LABEL, direction: "column" }, /* @__PURE__ */ React47.createElement(import_editor_controls19.ToggleControl, { options: items3, maxItems: 4, fullWidth: true })));
3852
3920
  };
3853
3921
  var useDisplayPlaceholderValue = () => useStylesInheritanceChain(["display"])[0]?.value ?? void 0;
3854
3922
 
3855
3923
  // src/components/style-sections/layout-section/flex-direction-field.tsx
3856
- var React46 = __toESM(require("react"));
3924
+ var React48 = __toESM(require("react"));
3857
3925
  var import_editor_controls20 = require("@elementor/editor-controls");
3858
- var import_icons10 = require("@elementor/icons");
3859
- var import_ui27 = require("@elementor/ui");
3860
- var import_i18n24 = require("@wordpress/i18n");
3861
- var FLEX_DIRECTION_LABEL2 = (0, import_i18n24.__)("Direction", "elementor");
3926
+ var import_icons11 = require("@elementor/icons");
3927
+ var import_ui28 = require("@elementor/ui");
3928
+ var import_i18n25 = require("@wordpress/i18n");
3929
+ var FLEX_DIRECTION_LABEL2 = (0, import_i18n25.__)("Direction", "elementor");
3862
3930
  var options3 = [
3863
3931
  {
3864
3932
  value: "row",
3865
- label: (0, import_i18n24.__)("Row", "elementor"),
3933
+ label: (0, import_i18n25.__)("Row", "elementor"),
3866
3934
  renderContent: ({ size }) => {
3867
- const StartIcon7 = (0, import_ui27.withDirection)(import_icons10.ArrowRightIcon);
3868
- return /* @__PURE__ */ React46.createElement(StartIcon7, { fontSize: size });
3935
+ const StartIcon7 = (0, import_ui28.withDirection)(import_icons11.ArrowRightIcon);
3936
+ return /* @__PURE__ */ React48.createElement(StartIcon7, { fontSize: size });
3869
3937
  },
3870
3938
  showTooltip: true
3871
3939
  },
3872
3940
  {
3873
3941
  value: "column",
3874
- label: (0, import_i18n24.__)("Column", "elementor"),
3875
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ArrowDownSmallIcon, { fontSize: size }),
3942
+ label: (0, import_i18n25.__)("Column", "elementor"),
3943
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
3876
3944
  showTooltip: true
3877
3945
  },
3878
3946
  {
3879
3947
  value: "row-reverse",
3880
- label: (0, import_i18n24.__)("Reversed row", "elementor"),
3948
+ label: (0, import_i18n25.__)("Reversed row", "elementor"),
3881
3949
  renderContent: ({ size }) => {
3882
- const EndIcon6 = (0, import_ui27.withDirection)(import_icons10.ArrowLeftIcon);
3883
- return /* @__PURE__ */ React46.createElement(EndIcon6, { fontSize: size });
3950
+ const EndIcon6 = (0, import_ui28.withDirection)(import_icons11.ArrowLeftIcon);
3951
+ return /* @__PURE__ */ React48.createElement(EndIcon6, { fontSize: size });
3884
3952
  },
3885
3953
  showTooltip: true
3886
3954
  },
3887
3955
  {
3888
3956
  value: "column-reverse",
3889
- label: (0, import_i18n24.__)("Reversed column", "elementor"),
3890
- renderContent: ({ size }) => /* @__PURE__ */ React46.createElement(import_icons10.ArrowUpSmallIcon, { fontSize: size }),
3957
+ label: (0, import_i18n25.__)("Reversed column", "elementor"),
3958
+ renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
3891
3959
  showTooltip: true
3892
3960
  }
3893
3961
  ];
3894
3962
  var FlexDirectionField = () => {
3895
- return /* @__PURE__ */ React46.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(UiProviders, null, /* @__PURE__ */ React46.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React46.createElement(import_editor_controls20.ToggleControl, { options: options3 }))));
3963
+ return /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex-direction", propDisplayName: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_DIRECTION_LABEL2 }, /* @__PURE__ */ React48.createElement(import_editor_controls20.ToggleControl, { options: options3 }))));
3896
3964
  };
3897
3965
 
3898
3966
  // src/components/style-sections/layout-section/flex-order-field.tsx
3899
- var React47 = __toESM(require("react"));
3900
- var import_react25 = require("react");
3967
+ var React49 = __toESM(require("react"));
3968
+ var import_react24 = require("react");
3901
3969
  var import_editor_controls21 = require("@elementor/editor-controls");
3902
- var import_icons11 = require("@elementor/icons");
3903
- var import_ui28 = require("@elementor/ui");
3904
- var import_i18n25 = require("@wordpress/i18n");
3905
- var ORDER_LABEL = (0, import_i18n25.__)("Order", "elementor");
3970
+ var import_icons12 = require("@elementor/icons");
3971
+ var import_ui29 = require("@elementor/ui");
3972
+ var import_i18n26 = require("@wordpress/i18n");
3973
+ var ORDER_LABEL = (0, import_i18n26.__)("Order", "elementor");
3906
3974
  var FIRST_DEFAULT_VALUE = -99999;
3907
3975
  var LAST_DEFAULT_VALUE = 99999;
3908
3976
  var FIRST = "first";
@@ -3915,25 +3983,25 @@ var orderValueMap = {
3915
3983
  var items = [
3916
3984
  {
3917
3985
  value: FIRST,
3918
- label: (0, import_i18n25.__)("First", "elementor"),
3919
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.ArrowUpSmallIcon, { fontSize: size }),
3986
+ label: (0, import_i18n26.__)("First", "elementor"),
3987
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowUpSmallIcon, { fontSize: size }),
3920
3988
  showTooltip: true
3921
3989
  },
3922
3990
  {
3923
3991
  value: LAST,
3924
- label: (0, import_i18n25.__)("Last", "elementor"),
3925
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.ArrowDownSmallIcon, { fontSize: size }),
3992
+ label: (0, import_i18n26.__)("Last", "elementor"),
3993
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.ArrowDownSmallIcon, { fontSize: size }),
3926
3994
  showTooltip: true
3927
3995
  },
3928
3996
  {
3929
3997
  value: CUSTOM,
3930
- label: (0, import_i18n25.__)("Custom", "elementor"),
3931
- renderContent: ({ size }) => /* @__PURE__ */ React47.createElement(import_icons11.PencilIcon, { fontSize: size }),
3998
+ label: (0, import_i18n26.__)("Custom", "elementor"),
3999
+ renderContent: ({ size }) => /* @__PURE__ */ React49.createElement(import_icons12.PencilIcon, { fontSize: size }),
3932
4000
  showTooltip: true
3933
4001
  }
3934
4002
  ];
3935
4003
  var FlexOrderField = () => {
3936
- return /* @__PURE__ */ React47.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(UiProviders, null, /* @__PURE__ */ React47.createElement(SectionContent, null, /* @__PURE__ */ React47.createElement(FlexOrderFieldContent, null))));
4004
+ return /* @__PURE__ */ React49.createElement(StylesField, { bind: "order", propDisplayName: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(UiProviders, null, /* @__PURE__ */ React49.createElement(SectionContent, null, /* @__PURE__ */ React49.createElement(FlexOrderFieldContent, null))));
3937
4005
  };
3938
4006
  function FlexOrderFieldContent() {
3939
4007
  const {
@@ -3945,15 +4013,15 @@ function FlexOrderFieldContent() {
3945
4013
  });
3946
4014
  const { placeholder } = (0, import_editor_controls21.useBoundProp)();
3947
4015
  const placeholderValue = placeholder;
3948
- const currentGroup = (0, import_react25.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
3949
- const [activeGroup, setActiveGroup] = (0, import_react25.useState)(currentGroup);
3950
- const [customLocked, setCustomLocked] = (0, import_react25.useState)(false);
3951
- (0, import_react25.useEffect)(() => {
4016
+ const currentGroup = (0, import_react24.useMemo)(() => getGroupControlValue(order?.value ?? null), [order]);
4017
+ const [activeGroup, setActiveGroup] = (0, import_react24.useState)(currentGroup);
4018
+ const [customLocked, setCustomLocked] = (0, import_react24.useState)(false);
4019
+ (0, import_react24.useEffect)(() => {
3952
4020
  if (!customLocked) {
3953
4021
  setActiveGroup(currentGroup);
3954
4022
  }
3955
4023
  }, [currentGroup, customLocked]);
3956
- (0, import_react25.useEffect)(() => {
4024
+ (0, import_react24.useEffect)(() => {
3957
4025
  if (order === null) {
3958
4026
  setCustomLocked(false);
3959
4027
  }
@@ -3978,7 +4046,7 @@ function FlexOrderFieldContent() {
3978
4046
  };
3979
4047
  const isCustomVisible = CUSTOM === activeGroup || CUSTOM === groupPlaceholder;
3980
4048
  const orderPlaceholder = CUSTOM === groupPlaceholder ? String(placeholderValue?.value ?? null) : "";
3981
- return /* @__PURE__ */ React47.createElement(React47.Fragment, null, /* @__PURE__ */ React47.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React47.createElement(
4049
+ return /* @__PURE__ */ React49.createElement(React49.Fragment, null, /* @__PURE__ */ React49.createElement(StylesFieldLayout, { label: ORDER_LABEL }, /* @__PURE__ */ React49.createElement(
3982
4050
  import_editor_controls21.ControlToggleButtonGroup,
3983
4051
  {
3984
4052
  items,
@@ -3988,7 +4056,7 @@ function FlexOrderFieldContent() {
3988
4056
  placeholder: groupPlaceholder,
3989
4057
  disabled: !canEdit
3990
4058
  }
3991
- )), isCustomVisible && /* @__PURE__ */ React47.createElement(import_ui28.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React47.createElement(import_ui28.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React47.createElement(ControlLabel, null, (0, import_i18n25.__)("Custom order", "elementor"))), /* @__PURE__ */ React47.createElement(import_ui28.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React47.createElement(
4059
+ )), isCustomVisible && /* @__PURE__ */ React49.createElement(import_ui29.Grid, { container: true, gap: 2, alignItems: "center", flexWrap: "nowrap" }, /* @__PURE__ */ React49.createElement(import_ui29.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React49.createElement(ControlLabel, null, (0, import_i18n26.__)("Custom order", "elementor"))), /* @__PURE__ */ React49.createElement(import_ui29.Grid, { item: true, xs: 6, sx: { display: "flex", justifyContent: "end" } }, /* @__PURE__ */ React49.createElement(
3992
4060
  import_editor_controls21.NumberControl,
3993
4061
  {
3994
4062
  min: FIRST_DEFAULT_VALUE + 1,
@@ -4012,36 +4080,36 @@ var getGroupControlValue = (order) => {
4012
4080
  };
4013
4081
 
4014
4082
  // src/components/style-sections/layout-section/flex-size-field.tsx
4015
- var React48 = __toESM(require("react"));
4016
- var import_react26 = require("react");
4083
+ var React50 = __toESM(require("react"));
4084
+ var import_react25 = require("react");
4017
4085
  var import_editor_controls22 = require("@elementor/editor-controls");
4018
4086
  var import_editor_props13 = require("@elementor/editor-props");
4019
- var import_icons12 = require("@elementor/icons");
4020
- var import_i18n26 = require("@wordpress/i18n");
4021
- var FLEX_SIZE_LABEL = (0, import_i18n26.__)("Flex Size", "elementor");
4087
+ var import_icons13 = require("@elementor/icons");
4088
+ var import_i18n27 = require("@wordpress/i18n");
4089
+ var FLEX_SIZE_LABEL = (0, import_i18n27.__)("Flex Size", "elementor");
4022
4090
  var DEFAULT = 1;
4023
4091
  var items2 = [
4024
4092
  {
4025
4093
  value: "flex-grow",
4026
- label: (0, import_i18n26.__)("Grow", "elementor"),
4027
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ExpandIcon, { fontSize: size }),
4094
+ label: (0, import_i18n27.__)("Grow", "elementor"),
4095
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ExpandIcon, { fontSize: size }),
4028
4096
  showTooltip: true
4029
4097
  },
4030
4098
  {
4031
4099
  value: "flex-shrink",
4032
- label: (0, import_i18n26.__)("Shrink", "elementor"),
4033
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.ShrinkIcon, { fontSize: size }),
4100
+ label: (0, import_i18n27.__)("Shrink", "elementor"),
4101
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ShrinkIcon, { fontSize: size }),
4034
4102
  showTooltip: true
4035
4103
  },
4036
4104
  {
4037
4105
  value: "custom",
4038
- label: (0, import_i18n26.__)("Custom", "elementor"),
4039
- renderContent: ({ size }) => /* @__PURE__ */ React48.createElement(import_icons12.PencilIcon, { fontSize: size }),
4106
+ label: (0, import_i18n27.__)("Custom", "elementor"),
4107
+ renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.PencilIcon, { fontSize: size }),
4040
4108
  showTooltip: true
4041
4109
  }
4042
4110
  ];
4043
4111
  var FlexSizeField = () => {
4044
- return /* @__PURE__ */ React48.createElement(UiProviders, null, /* @__PURE__ */ React48.createElement(SectionContent, null, /* @__PURE__ */ React48.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(FlexSizeFieldContent, null))));
4112
+ return /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(SectionContent, null, /* @__PURE__ */ React50.createElement(StylesField, { bind: "flex", propDisplayName: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(FlexSizeFieldContent, null))));
4045
4113
  };
4046
4114
  var FlexSizeFieldContent = () => {
4047
4115
  const { value, setValue, canEdit } = useStylesField("flex", {
@@ -4049,15 +4117,15 @@ var FlexSizeFieldContent = () => {
4049
4117
  });
4050
4118
  const { placeholder } = (0, import_editor_controls22.useBoundProp)();
4051
4119
  const flexValues = extractFlexValues(value);
4052
- const currentGroup = (0, import_react26.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
4053
- const [activeGroup, setActiveGroup] = (0, import_react26.useState)(currentGroup);
4054
- const [customLocked, setCustomLocked] = (0, import_react26.useState)(false);
4055
- (0, import_react26.useEffect)(() => {
4120
+ const currentGroup = (0, import_react25.useMemo)(() => getActiveGroup(flexValues), [flexValues]);
4121
+ const [activeGroup, setActiveGroup] = (0, import_react25.useState)(currentGroup);
4122
+ const [customLocked, setCustomLocked] = (0, import_react25.useState)(false);
4123
+ (0, import_react25.useEffect)(() => {
4056
4124
  if (!customLocked) {
4057
4125
  setActiveGroup(currentGroup);
4058
4126
  }
4059
4127
  }, [currentGroup, customLocked]);
4060
- (0, import_react26.useEffect)(() => {
4128
+ (0, import_react25.useEffect)(() => {
4061
4129
  if (value === null) {
4062
4130
  setCustomLocked(false);
4063
4131
  }
@@ -4070,7 +4138,7 @@ var FlexSizeFieldContent = () => {
4070
4138
  };
4071
4139
  const groupPlaceholder = getActiveGroup(extractFlexValues(placeholder));
4072
4140
  const isCustomVisible = "custom" === activeGroup || "custom" === groupPlaceholder;
4073
- return /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React48.createElement(
4141
+ return /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: FLEX_SIZE_LABEL }, /* @__PURE__ */ React50.createElement(
4074
4142
  import_editor_controls22.ControlToggleButtonGroup,
4075
4143
  {
4076
4144
  value: activeGroup ?? null,
@@ -4080,7 +4148,7 @@ var FlexSizeFieldContent = () => {
4080
4148
  items: items2,
4081
4149
  exclusive: true
4082
4150
  }
4083
- )), isCustomVisible && /* @__PURE__ */ React48.createElement(FlexCustomField, null));
4151
+ )), isCustomVisible && /* @__PURE__ */ React50.createElement(FlexCustomField, null));
4084
4152
  };
4085
4153
  function extractFlexValues(source) {
4086
4154
  return {
@@ -4120,9 +4188,9 @@ var createFlexValueForGroup = (group, flexValue) => {
4120
4188
  return null;
4121
4189
  };
4122
4190
  var FlexCustomField = () => {
4123
- const flexBasisRowRef = (0, import_react26.useRef)(null);
4191
+ const flexBasisRowRef = (0, import_react25.useRef)(null);
4124
4192
  const context = (0, import_editor_controls22.useBoundProp)(import_editor_props13.flexPropTypeUtil);
4125
- return /* @__PURE__ */ React48.createElement(import_editor_controls22.PropProvider, { ...context }, /* @__PURE__ */ React48.createElement(React48.Fragment, null, /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Grow", "elementor") }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Shrink", "elementor") }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React48.createElement(StylesFieldLayout, { label: (0, import_i18n26.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React48.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React48.createElement(import_editor_controls22.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4193
+ return /* @__PURE__ */ React50.createElement(import_editor_controls22.PropProvider, { ...context }, /* @__PURE__ */ React50.createElement(React50.Fragment, null, /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Grow", "elementor") }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexGrow" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Shrink", "elementor") }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexShrink" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.NumberControl, { min: 0, shouldForceInt: true }))), /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: (0, import_i18n27.__)("Basis", "elementor"), ref: flexBasisRowRef }, /* @__PURE__ */ React50.createElement(import_editor_controls22.PropKeyProvider, { bind: "flexBasis" }, /* @__PURE__ */ React50.createElement(import_editor_controls22.SizeControl, { extendedOptions: ["auto"], anchorRef: flexBasisRowRef })))));
4126
4194
  };
4127
4195
  var getActiveGroup = ({
4128
4196
  grow,
@@ -4146,34 +4214,34 @@ var getActiveGroup = ({
4146
4214
  };
4147
4215
 
4148
4216
  // src/components/style-sections/layout-section/gap-control-field.tsx
4149
- var React49 = __toESM(require("react"));
4217
+ var React51 = __toESM(require("react"));
4150
4218
  var import_editor_controls23 = require("@elementor/editor-controls");
4151
- var import_i18n27 = require("@wordpress/i18n");
4152
- var GAPS_LABEL = (0, import_i18n27.__)("Gaps", "elementor");
4219
+ var import_i18n28 = require("@wordpress/i18n");
4220
+ var GAPS_LABEL = (0, import_i18n28.__)("Gaps", "elementor");
4153
4221
  var GapControlField = () => {
4154
- return /* @__PURE__ */ React49.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React49.createElement(import_editor_controls23.GapControl, { label: GAPS_LABEL }));
4222
+ return /* @__PURE__ */ React51.createElement(StylesField, { bind: "gap", propDisplayName: GAPS_LABEL }, /* @__PURE__ */ React51.createElement(import_editor_controls23.GapControl, { label: GAPS_LABEL }));
4155
4223
  };
4156
4224
 
4157
4225
  // src/components/style-sections/layout-section/grid-auto-flow-field.tsx
4158
- var React50 = __toESM(require("react"));
4226
+ var React52 = __toESM(require("react"));
4159
4227
  var import_editor_controls24 = require("@elementor/editor-controls");
4160
- var import_icons13 = require("@elementor/icons");
4161
- var import_ui29 = require("@elementor/ui");
4162
- var import_i18n28 = require("@wordpress/i18n");
4163
- var AUTO_FLOW_LABEL = (0, import_i18n28.__)("Auto flow", "elementor");
4164
- var DENSE_LABEL = (0, import_i18n28.__)("Dense", "elementor");
4165
- var StartIcon4 = (0, import_ui29.withDirection)(import_icons13.ArrowRightIcon);
4228
+ var import_icons14 = require("@elementor/icons");
4229
+ var import_ui30 = require("@elementor/ui");
4230
+ var import_i18n29 = require("@wordpress/i18n");
4231
+ var AUTO_FLOW_LABEL = (0, import_i18n29.__)("Auto flow", "elementor");
4232
+ var DENSE_LABEL = (0, import_i18n29.__)("Dense", "elementor");
4233
+ var StartIcon4 = (0, import_ui30.withDirection)(import_icons14.ArrowRightIcon);
4166
4234
  var directionOptions = [
4167
4235
  {
4168
4236
  value: "row",
4169
- label: (0, import_i18n28.__)("Row", "elementor"),
4170
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(StartIcon4, { fontSize: size }),
4237
+ label: (0, import_i18n29.__)("Row", "elementor"),
4238
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(StartIcon4, { fontSize: size }),
4171
4239
  showTooltip: true
4172
4240
  },
4173
4241
  {
4174
4242
  value: "column",
4175
- label: (0, import_i18n28.__)("Column", "elementor"),
4176
- renderContent: ({ size }) => /* @__PURE__ */ React50.createElement(import_icons13.ArrowDownSmallIcon, { fontSize: size }),
4243
+ label: (0, import_i18n29.__)("Column", "elementor"),
4244
+ renderContent: ({ size }) => /* @__PURE__ */ React52.createElement(import_icons14.ArrowDownSmallIcon, { fontSize: size }),
4177
4245
  showTooltip: true
4178
4246
  }
4179
4247
  ];
@@ -4202,7 +4270,7 @@ var GridAutoFlowFieldContent = () => {
4202
4270
  const handleDenseToggle = () => {
4203
4271
  setValue({ $$type: "string", value: composeAutoFlow(direction, !dense) });
4204
4272
  };
4205
- return /* @__PURE__ */ React50.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React50.createElement(
4273
+ return /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(import_ui30.Grid, { container: true, gap: 1, flexWrap: "nowrap", alignItems: "center", justifyContent: "flex-end" }, /* @__PURE__ */ React52.createElement(import_ui30.Grid, { item: true, sx: { width: 64, maxWidth: "100%" } }, /* @__PURE__ */ React52.createElement(
4206
4274
  import_editor_controls24.ControlToggleButtonGroup,
4207
4275
  {
4208
4276
  items: directionOptions,
@@ -4211,8 +4279,8 @@ var GridAutoFlowFieldContent = () => {
4211
4279
  exclusive: true,
4212
4280
  fullWidth: true
4213
4281
  }
4214
- )), /* @__PURE__ */ React50.createElement(import_ui29.Grid, { item: true }, /* @__PURE__ */ React50.createElement(import_ui29.Tooltip, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React50.createElement(
4215
- import_ui29.ToggleButton,
4282
+ )), /* @__PURE__ */ React52.createElement(import_ui30.Grid, { item: true }, /* @__PURE__ */ React52.createElement(import_ui30.Tooltip, { title: DENSE_LABEL, placement: "top" }, /* @__PURE__ */ React52.createElement(
4283
+ import_ui30.ToggleButton,
4216
4284
  {
4217
4285
  value: "dense",
4218
4286
  selected: dense,
@@ -4220,63 +4288,109 @@ var GridAutoFlowFieldContent = () => {
4220
4288
  size: "tiny",
4221
4289
  "aria-label": DENSE_LABEL
4222
4290
  },
4223
- /* @__PURE__ */ React50.createElement(import_icons13.LayoutDashboardIcon, { fontSize: "tiny" })
4291
+ /* @__PURE__ */ React52.createElement(import_icons14.LayoutDashboardIcon, { fontSize: "tiny" })
4224
4292
  )))));
4225
4293
  };
4226
- var GridAutoFlowField = () => /* @__PURE__ */ React50.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React50.createElement(UiProviders, null, /* @__PURE__ */ React50.createElement(GridAutoFlowFieldContent, null)));
4294
+ var GridAutoFlowField = () => /* @__PURE__ */ React52.createElement(StylesField, { bind: "grid-auto-flow", propDisplayName: AUTO_FLOW_LABEL }, /* @__PURE__ */ React52.createElement(UiProviders, null, /* @__PURE__ */ React52.createElement(GridAutoFlowFieldContent, null)));
4227
4295
 
4228
- // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4229
- var React51 = __toESM(require("react"));
4296
+ // src/components/style-sections/layout-section/grid-auto-track-fields.tsx
4297
+ var React53 = __toESM(require("react"));
4298
+ var import_react26 = require("react");
4230
4299
  var import_editor_controls25 = require("@elementor/editor-controls");
4231
- var import_icons14 = require("@elementor/icons");
4232
- var import_ui30 = require("@elementor/ui");
4233
- var import_i18n29 = require("@wordpress/i18n");
4234
- var JUSTIFY_ITEMS_LABEL = (0, import_i18n29.__)("Justify items", "elementor");
4235
- var StartIcon5 = (0, import_ui30.withDirection)(import_icons14.LayoutAlignLeftIcon);
4236
- var EndIcon4 = (0, import_ui30.withDirection)(import_icons14.LayoutAlignRightIcon);
4300
+ var import_ui31 = require("@elementor/ui");
4301
+ var import_i18n30 = require("@wordpress/i18n");
4302
+ var DEFAULT_UNIT = "fr";
4303
+ var AUTO_ROWS_LABEL = (0, import_i18n30.__)("Auto rows", "elementor");
4304
+ var AUTO_COLUMNS_LABEL = (0, import_i18n30.__)("Auto columns", "elementor");
4305
+ var AUTO_ROWS_TOOLTIP = (0, import_i18n30.__)(
4306
+ "Set the size for new rows created automatically when content exceeds the defined grid.",
4307
+ "elementor"
4308
+ );
4309
+ var AUTO_COLUMNS_TOOLTIP = (0, import_i18n30.__)(
4310
+ "Set the size for new columns created automatically when content exceeds the defined grid.",
4311
+ "elementor"
4312
+ );
4313
+ var GridAutoTrackField = ({ bind, infoTooltip, label, rowRef }) => /* @__PURE__ */ React53.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React53.createElement(StylesFieldLayout, { infoTooltip, label, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4314
+ import_editor_controls25.SizeControl,
4315
+ {
4316
+ enablePropTypeUnits: true,
4317
+ defaultUnit: DEFAULT_UNIT,
4318
+ anchorRef: rowRef
4319
+ }
4320
+ )));
4321
+ var GridAutoTrackFields = () => {
4322
+ const rowRef = (0, import_react26.useRef)(null);
4323
+ return /* @__PURE__ */ React53.createElement(import_ui31.Stack, { gap: 2, pt: 2, ref: rowRef }, /* @__PURE__ */ React53.createElement(
4324
+ GridAutoTrackField,
4325
+ {
4326
+ bind: "grid-auto-rows",
4327
+ infoTooltip: AUTO_ROWS_TOOLTIP,
4328
+ label: AUTO_ROWS_LABEL,
4329
+ rowRef
4330
+ }
4331
+ ), /* @__PURE__ */ React53.createElement(
4332
+ GridAutoTrackField,
4333
+ {
4334
+ bind: "grid-auto-columns",
4335
+ infoTooltip: AUTO_COLUMNS_TOOLTIP,
4336
+ label: AUTO_COLUMNS_LABEL,
4337
+ rowRef
4338
+ }
4339
+ ));
4340
+ };
4341
+
4342
+ // src/components/style-sections/layout-section/grid-justify-items-field.tsx
4343
+ var React54 = __toESM(require("react"));
4344
+ var import_editor_controls26 = require("@elementor/editor-controls");
4345
+ var import_icons15 = require("@elementor/icons");
4346
+ var import_ui32 = require("@elementor/ui");
4347
+ var import_i18n31 = require("@wordpress/i18n");
4348
+ var JUSTIFY_ITEMS_LABEL = (0, import_i18n31.__)("Justify items", "elementor");
4349
+ var StartIcon5 = (0, import_ui32.withDirection)(import_icons15.LayoutAlignLeftIcon);
4350
+ var EndIcon4 = (0, import_ui32.withDirection)(import_icons15.LayoutAlignRightIcon);
4237
4351
  var options4 = [
4238
4352
  {
4239
4353
  value: "start",
4240
- label: (0, import_i18n29.__)("Start", "elementor"),
4241
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(StartIcon5, { fontSize: size }),
4354
+ label: (0, import_i18n31.__)("Start", "elementor"),
4355
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(StartIcon5, { fontSize: size }),
4242
4356
  showTooltip: true
4243
4357
  },
4244
4358
  {
4245
4359
  value: "center",
4246
- label: (0, import_i18n29.__)("Center", "elementor"),
4247
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons14.LayoutAlignCenterIcon, { fontSize: size }),
4360
+ label: (0, import_i18n31.__)("Center", "elementor"),
4361
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons15.LayoutAlignCenterIcon, { fontSize: size }),
4248
4362
  showTooltip: true
4249
4363
  },
4250
4364
  {
4251
4365
  value: "end",
4252
- label: (0, import_i18n29.__)("End", "elementor"),
4253
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(EndIcon4, { fontSize: size }),
4366
+ label: (0, import_i18n31.__)("End", "elementor"),
4367
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(EndIcon4, { fontSize: size }),
4254
4368
  showTooltip: true
4255
4369
  },
4256
4370
  {
4257
4371
  value: "stretch",
4258
- label: (0, import_i18n29.__)("Stretch", "elementor"),
4259
- renderContent: ({ size }) => /* @__PURE__ */ React51.createElement(import_icons14.LayoutDistributeVerticalIcon, { fontSize: size }),
4372
+ label: (0, import_i18n31.__)("Stretch", "elementor"),
4373
+ renderContent: ({ size }) => /* @__PURE__ */ React54.createElement(import_icons15.LayoutDistributeVerticalIcon, { fontSize: size }),
4260
4374
  showTooltip: true
4261
4375
  }
4262
4376
  ];
4263
- var GridJustifyItemsField = () => /* @__PURE__ */ React51.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(UiProviders, null, /* @__PURE__ */ React51.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React51.createElement(import_editor_controls25.ToggleControl, { options: options4 }))));
4377
+ var GridJustifyItemsField = () => /* @__PURE__ */ React54.createElement(StylesField, { bind: "justify-items", propDisplayName: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label: JUSTIFY_ITEMS_LABEL }, /* @__PURE__ */ React54.createElement(import_editor_controls26.ToggleControl, { options: options4 }))));
4264
4378
 
4265
4379
  // src/components/style-sections/layout-section/grid-outline-field.tsx
4266
- var React52 = __toESM(require("react"));
4267
- var import_editor_controls26 = require("@elementor/editor-controls");
4268
- var import_i18n30 = require("@wordpress/i18n");
4269
- var GRID_OUTLINE_LABEL = (0, import_i18n30.__)("Show Grid Outline", "elementor");
4380
+ var React55 = __toESM(require("react"));
4381
+ var import_editor_controls27 = require("@elementor/editor-controls");
4382
+ var import_i18n32 = require("@wordpress/i18n");
4383
+ var GRID_OUTLINE_LABEL = (0, import_i18n32.__)("Show Grid Outline", "elementor");
4270
4384
  var GridOutlineField = () => {
4271
- return /* @__PURE__ */ React52.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React52.createElement(import_editor_controls26.SwitchControl, null)));
4385
+ return /* @__PURE__ */ React55.createElement(SettingsField, { bind: "grid_outline", propDisplayName: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: GRID_OUTLINE_LABEL }, /* @__PURE__ */ React55.createElement(import_editor_controls27.SwitchControl, null)));
4272
4386
  };
4273
4387
 
4274
4388
  // src/components/style-sections/layout-section/grid-size-field.tsx
4275
- var React53 = __toESM(require("react"));
4389
+ var React56 = __toESM(require("react"));
4276
4390
  var import_react27 = require("react");
4277
- var import_editor_controls27 = require("@elementor/editor-controls");
4278
- var import_ui31 = require("@elementor/ui");
4279
- var import_i18n31 = require("@wordpress/i18n");
4391
+ var import_editor_controls28 = require("@elementor/editor-controls");
4392
+ var import_ui33 = require("@elementor/ui");
4393
+ var import_i18n33 = require("@wordpress/i18n");
4280
4394
 
4281
4395
  // src/components/style-sections/layout-section/utils/grid-track-value.ts
4282
4396
  var import_editor_props14 = require("@elementor/editor-props");
@@ -4370,9 +4484,9 @@ var unitOf = (v, fallback = FR) => {
4370
4484
  };
4371
4485
 
4372
4486
  // src/components/style-sections/layout-section/grid-size-field.tsx
4373
- var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React53.createElement(import_editor_controls27.ControlActions, null, children);
4374
- var GridTrackSizeInput = (0, import_editor_controls27.createControl)((props) => /* @__PURE__ */ React53.createElement(
4375
- import_editor_controls27.SizeComponent,
4487
+ var SizeFieldWrapper = ({ children }) => /* @__PURE__ */ React56.createElement(import_editor_controls28.ControlActions, null, children);
4488
+ var GridTrackSizeInput = (0, import_editor_controls28.createControl)((props) => /* @__PURE__ */ React56.createElement(
4489
+ import_editor_controls28.SizeComponent,
4376
4490
  {
4377
4491
  units: UNITS,
4378
4492
  value: props.value,
@@ -4390,7 +4504,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4390
4504
  const { value, setValue } = useStylesField(cssProp, {
4391
4505
  history: { propDisplayName: label }
4392
4506
  });
4393
- const { placeholder: inheritedPlaceholder } = (0, import_editor_controls27.useBoundProp)();
4507
+ const { placeholder: inheritedPlaceholder } = (0, import_editor_controls28.useBoundProp)();
4394
4508
  const anchorRef = (0, import_react27.useRef)(null);
4395
4509
  const local = parseValue(value);
4396
4510
  const inherited = parseValue(inheritedPlaceholder);
@@ -4403,7 +4517,7 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4403
4517
  }
4404
4518
  setValue(toPropValue(next));
4405
4519
  };
4406
- return /* @__PURE__ */ React53.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React53.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React53.createElement(
4520
+ return /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React56.createElement("div", { ref: anchorRef }, /* @__PURE__ */ React56.createElement(
4407
4521
  GridTrackSizeInput,
4408
4522
  {
4409
4523
  value: displayValue,
@@ -4413,29 +4527,29 @@ var GridTrackFieldContent = ({ cssProp, label }) => {
4413
4527
  }
4414
4528
  )));
4415
4529
  };
4416
- var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React53.createElement(UiProviders, null, /* @__PURE__ */ React53.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React53.createElement(GridTrackFieldContent, { cssProp, label })));
4417
- var GridSizeFields = () => /* @__PURE__ */ React53.createElement(import_ui31.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React53.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-columns", label: (0, import_i18n31.__)("Columns", "elementor") })), /* @__PURE__ */ React53.createElement(import_ui31.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React53.createElement(GridTrackField, { cssProp: "grid-template-rows", label: (0, import_i18n31.__)("Rows", "elementor") })));
4530
+ var GridTrackField = ({ cssProp, label }) => /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React56.createElement(GridTrackFieldContent, { cssProp, label })));
4531
+ var GridSizeFields = () => /* @__PURE__ */ React56.createElement(import_ui33.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React56.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-columns", label: (0, import_i18n33.__)("Columns", "elementor") })), /* @__PURE__ */ React56.createElement(import_ui33.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React56.createElement(GridTrackField, { cssProp: "grid-template-rows", label: (0, import_i18n33.__)("Rows", "elementor") })));
4418
4532
 
4419
4533
  // src/components/style-sections/layout-section/grid-span-field.tsx
4420
- var React54 = __toESM(require("react"));
4421
- var import_editor_controls28 = require("@elementor/editor-controls");
4422
- var import_ui32 = require("@elementor/ui");
4423
- var import_i18n32 = require("@wordpress/i18n");
4534
+ var React57 = __toESM(require("react"));
4535
+ var import_editor_controls29 = require("@elementor/editor-controls");
4536
+ var import_ui34 = require("@elementor/ui");
4537
+ var import_i18n34 = require("@wordpress/i18n");
4424
4538
  var GridSpanFieldContent = ({ label }) => {
4425
- return /* @__PURE__ */ React54.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React54.createElement(import_editor_controls28.GridSpanControl, null));
4539
+ return /* @__PURE__ */ React57.createElement(StylesFieldLayout, { label, direction: "column" }, /* @__PURE__ */ React57.createElement(import_editor_controls29.GridSpanControl, null));
4426
4540
  };
4427
- var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React54.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React54.createElement(UiProviders, null, /* @__PURE__ */ React54.createElement(GridSpanFieldContent, { cssProp, label })));
4428
- var GridSpanFields = () => /* @__PURE__ */ React54.createElement(import_ui32.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-column", label: (0, import_i18n32.__)("Grid column", "elementor") })), /* @__PURE__ */ React54.createElement(import_ui32.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React54.createElement(GridSpanField, { cssProp: "grid-row", label: (0, import_i18n32.__)("Grid row", "elementor") })));
4541
+ var GridSpanField = ({ cssProp, label }) => /* @__PURE__ */ React57.createElement(StylesField, { bind: cssProp, propDisplayName: label }, /* @__PURE__ */ React57.createElement(UiProviders, null, /* @__PURE__ */ React57.createElement(GridSpanFieldContent, { cssProp, label })));
4542
+ var GridSpanFields = () => /* @__PURE__ */ React57.createElement(import_ui34.Grid, { container: true, gap: 2, flexWrap: "nowrap" }, /* @__PURE__ */ React57.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-column", label: (0, import_i18n34.__)("Grid column", "elementor") })), /* @__PURE__ */ React57.createElement(import_ui34.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React57.createElement(GridSpanField, { cssProp: "grid-row", label: (0, import_i18n34.__)("Grid row", "elementor") })));
4429
4543
 
4430
4544
  // src/components/style-sections/layout-section/justify-content-field.tsx
4431
- var React55 = __toESM(require("react"));
4432
- var import_editor_controls29 = require("@elementor/editor-controls");
4433
- var import_icons15 = require("@elementor/icons");
4434
- var import_ui33 = require("@elementor/ui");
4435
- var import_i18n33 = require("@wordpress/i18n");
4436
- var JUSTIFY_CONTENT_LABEL = (0, import_i18n33.__)("Justify content", "elementor");
4437
- var StartIcon6 = (0, import_ui33.withDirection)(import_icons15.JustifyTopIcon);
4438
- var EndIcon5 = (0, import_ui33.withDirection)(import_icons15.JustifyBottomIcon);
4545
+ var React58 = __toESM(require("react"));
4546
+ var import_editor_controls30 = require("@elementor/editor-controls");
4547
+ var import_icons16 = require("@elementor/icons");
4548
+ var import_ui35 = require("@elementor/ui");
4549
+ var import_i18n35 = require("@wordpress/i18n");
4550
+ var JUSTIFY_CONTENT_LABEL = (0, import_i18n35.__)("Justify content", "elementor");
4551
+ var StartIcon6 = (0, import_ui35.withDirection)(import_icons16.JustifyTopIcon);
4552
+ var EndIcon5 = (0, import_ui35.withDirection)(import_icons16.JustifyBottomIcon);
4439
4553
  var iconProps4 = {
4440
4554
  isClockwise: true,
4441
4555
  offset: -90
@@ -4443,76 +4557,76 @@ var iconProps4 = {
4443
4557
  var options5 = [
4444
4558
  {
4445
4559
  value: "flex-start",
4446
- label: (0, import_i18n33.__)("Start", "elementor"),
4447
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4560
+ label: (0, import_i18n35.__)("Start", "elementor"),
4561
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: StartIcon6, size, ...iconProps4 }),
4448
4562
  showTooltip: true
4449
4563
  },
4450
4564
  {
4451
4565
  value: "center",
4452
- label: (0, import_i18n33.__)("Center", "elementor"),
4453
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifyCenterIcon, size, ...iconProps4 }),
4566
+ label: (0, import_i18n35.__)("Center", "elementor"),
4567
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifyCenterIcon, size, ...iconProps4 }),
4454
4568
  showTooltip: true
4455
4569
  },
4456
4570
  {
4457
4571
  value: "flex-end",
4458
- label: (0, import_i18n33.__)("End", "elementor"),
4459
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4572
+ label: (0, import_i18n35.__)("End", "elementor"),
4573
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: EndIcon5, size, ...iconProps4 }),
4460
4574
  showTooltip: true
4461
4575
  },
4462
4576
  {
4463
4577
  value: "space-between",
4464
- label: (0, import_i18n33.__)("Space between", "elementor"),
4465
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
4578
+ label: (0, import_i18n35.__)("Space between", "elementor"),
4579
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceBetweenVerticalIcon, size, ...iconProps4 }),
4466
4580
  showTooltip: true
4467
4581
  },
4468
4582
  {
4469
4583
  value: "space-around",
4470
- label: (0, import_i18n33.__)("Space around", "elementor"),
4471
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
4584
+ label: (0, import_i18n35.__)("Space around", "elementor"),
4585
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifySpaceAroundVerticalIcon, size, ...iconProps4 }),
4472
4586
  showTooltip: true
4473
4587
  },
4474
4588
  {
4475
4589
  value: "space-evenly",
4476
- label: (0, import_i18n33.__)("Space evenly", "elementor"),
4477
- renderContent: ({ size }) => /* @__PURE__ */ React55.createElement(RotatedIcon, { icon: import_icons15.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
4590
+ label: (0, import_i18n35.__)("Space evenly", "elementor"),
4591
+ renderContent: ({ size }) => /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: import_icons16.JustifyDistributeVerticalIcon, size, ...iconProps4 }),
4478
4592
  showTooltip: true
4479
4593
  }
4480
4594
  ];
4481
- var JustifyContentField = () => /* @__PURE__ */ React55.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React55.createElement(UiProviders, null, /* @__PURE__ */ React55.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React55.createElement(import_editor_controls29.ToggleControl, { options: options5, fullWidth: true }))));
4595
+ var JustifyContentField = () => /* @__PURE__ */ React58.createElement(StylesField, { bind: "justify-content", propDisplayName: JUSTIFY_CONTENT_LABEL }, /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(StylesFieldLayout, { label: JUSTIFY_CONTENT_LABEL, direction: "column" }, /* @__PURE__ */ React58.createElement(import_editor_controls30.ToggleControl, { options: options5, fullWidth: true }))));
4482
4596
 
4483
4597
  // src/components/style-sections/layout-section/wrap-field.tsx
4484
- var React56 = __toESM(require("react"));
4485
- var import_editor_controls30 = require("@elementor/editor-controls");
4486
- var import_icons16 = require("@elementor/icons");
4487
- var import_i18n34 = require("@wordpress/i18n");
4488
- var FLEX_WRAP_LABEL = (0, import_i18n34.__)("Wrap", "elementor");
4598
+ var React59 = __toESM(require("react"));
4599
+ var import_editor_controls31 = require("@elementor/editor-controls");
4600
+ var import_icons17 = require("@elementor/icons");
4601
+ var import_i18n36 = require("@wordpress/i18n");
4602
+ var FLEX_WRAP_LABEL = (0, import_i18n36.__)("Wrap", "elementor");
4489
4603
  var options6 = [
4490
4604
  {
4491
4605
  value: "nowrap",
4492
- label: (0, import_i18n34.__)("No wrap", "elementor"),
4493
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowRightIcon, { fontSize: size }),
4606
+ label: (0, import_i18n36.__)("No wrap", "elementor"),
4607
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowRightIcon, { fontSize: size }),
4494
4608
  showTooltip: true
4495
4609
  },
4496
4610
  {
4497
4611
  value: "wrap",
4498
- label: (0, import_i18n34.__)("Wrap", "elementor"),
4499
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowBackIcon, { fontSize: size }),
4612
+ label: (0, import_i18n36.__)("Wrap", "elementor"),
4613
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowBackIcon, { fontSize: size }),
4500
4614
  showTooltip: true
4501
4615
  },
4502
4616
  {
4503
4617
  value: "wrap-reverse",
4504
- label: (0, import_i18n34.__)("Reversed wrap", "elementor"),
4505
- renderContent: ({ size }) => /* @__PURE__ */ React56.createElement(import_icons16.ArrowForwardIcon, { fontSize: size }),
4618
+ label: (0, import_i18n36.__)("Reversed wrap", "elementor"),
4619
+ renderContent: ({ size }) => /* @__PURE__ */ React59.createElement(import_icons17.ArrowForwardIcon, { fontSize: size }),
4506
4620
  showTooltip: true
4507
4621
  }
4508
4622
  ];
4509
4623
  var WrapField = () => {
4510
- return /* @__PURE__ */ React56.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(UiProviders, null, /* @__PURE__ */ React56.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React56.createElement(import_editor_controls30.ToggleControl, { options: options6 }))));
4624
+ return /* @__PURE__ */ React59.createElement(StylesField, { bind: "flex-wrap", propDisplayName: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(UiProviders, null, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: FLEX_WRAP_LABEL }, /* @__PURE__ */ React59.createElement(import_editor_controls31.ToggleControl, { options: options6 }))));
4511
4625
  };
4512
4626
 
4513
4627
  // src/components/style-sections/layout-section/layout-section.tsx
4514
- var DISPLAY_LABEL2 = (0, import_i18n35.__)("Display", "elementor");
4515
- var FLEX_WRAP_LABEL2 = (0, import_i18n35.__)("Flex wrap", "elementor");
4628
+ var DISPLAY_LABEL2 = (0, import_i18n37.__)("Display", "elementor");
4629
+ var FLEX_WRAP_LABEL2 = (0, import_i18n37.__)("Flex wrap", "elementor");
4516
4630
  var DEFAULT_PARENT_FLOW_DIRECTION = "row";
4517
4631
  var LayoutSection = () => {
4518
4632
  const { value: display } = useStylesField("display", {
@@ -4534,17 +4648,17 @@ var LayoutSection = () => {
4534
4648
  }
4535
4649
  return DEFAULT_PARENT_FLOW_DIRECTION;
4536
4650
  };
4537
- return /* @__PURE__ */ React57.createElement(SectionContent, null, /* @__PURE__ */ React57.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React57.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React57.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React57.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React57.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4651
+ return /* @__PURE__ */ React60.createElement(SectionContent, null, /* @__PURE__ */ React60.createElement(DisplayField, null), isDisplayFlex && /* @__PURE__ */ React60.createElement(FlexFields, null), "flex" === parentStyle?.display && /* @__PURE__ */ React60.createElement(FlexChildFields, { parentStyleDirection: getParentStyleDirection() }), isGridExperimentActive && isDisplayGrid && /* @__PURE__ */ React60.createElement(GridFields, null), isGridExperimentActive && "grid" === parentStyle?.display && /* @__PURE__ */ React60.createElement(GridChildFields, { parentStyleDirection: getParentStyleDirection() }));
4538
4652
  };
4539
4653
  var FlexFields = () => {
4540
4654
  const { value: flexWrap } = useStylesField("flex-wrap", {
4541
4655
  history: { propDisplayName: FLEX_WRAP_LABEL2 }
4542
4656
  });
4543
- return /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(FlexDirectionField, null), /* @__PURE__ */ React57.createElement(JustifyContentField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React57.createElement(AlignContentField, null));
4657
+ return /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(FlexDirectionField, null), /* @__PURE__ */ React60.createElement(JustifyContentField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(WrapField, null), ["wrap", "wrap-reverse"].includes(flexWrap?.value) && /* @__PURE__ */ React60.createElement(AlignContentField, null));
4544
4658
  };
4545
- var GridFields = () => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(GridOutlineField, null), /* @__PURE__ */ React57.createElement(GridSizeFields, null), /* @__PURE__ */ React57.createElement(GridAutoFlowField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GapControlField, null), /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React57.createElement(AlignItemsField, null));
4546
- var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(import_editor_controls31.ControlFormLabel, null, (0, import_i18n35.__)("Flex child", "elementor")), /* @__PURE__ */ React57.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null), /* @__PURE__ */ React57.createElement(FlexSizeField, null));
4547
- var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React57.createElement(React57.Fragment, null, /* @__PURE__ */ React57.createElement(PanelDivider, null), /* @__PURE__ */ React57.createElement(import_editor_controls31.ControlFormLabel, null, (0, import_i18n35.__)("Grid child", "elementor")), /* @__PURE__ */ React57.createElement(GridSpanFields, null), /* @__PURE__ */ React57.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React57.createElement(FlexOrderField, null));
4659
+ var GridFields = () => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(GridOutlineField, null), /* @__PURE__ */ React60.createElement(GridSizeFields, null), /* @__PURE__ */ React60.createElement(GridAutoFlowField, null), /* @__PURE__ */ React60.createElement(StyleTabCollapsibleContent, { fields: ["grid-auto-rows", "grid-auto-columns"] }, /* @__PURE__ */ React60.createElement(GridAutoTrackFields, null)), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GapControlField, null), /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(GridJustifyItemsField, null), /* @__PURE__ */ React60.createElement(AlignItemsField, null));
4660
+ var FlexChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_editor_controls32.ControlFormLabel, null, (0, import_i18n37.__)("Flex child", "elementor")), /* @__PURE__ */ React60.createElement(AlignSelfChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null), /* @__PURE__ */ React60.createElement(FlexSizeField, null));
4661
+ var GridChildFields = ({ parentStyleDirection }) => /* @__PURE__ */ React60.createElement(React60.Fragment, null, /* @__PURE__ */ React60.createElement(PanelDivider, null), /* @__PURE__ */ React60.createElement(import_editor_controls32.ControlFormLabel, null, (0, import_i18n37.__)("Grid child", "elementor")), /* @__PURE__ */ React60.createElement(GridSpanFields, null), /* @__PURE__ */ React60.createElement(AlignSelfGridChild, { parentStyleDirection }), /* @__PURE__ */ React60.createElement(FlexOrderField, null));
4548
4662
  var shouldDisplayFlexFields = (display, local) => {
4549
4663
  const value = display?.value ?? local?.value;
4550
4664
  if (!value) {
@@ -4554,40 +4668,40 @@ var shouldDisplayFlexFields = (display, local) => {
4554
4668
  };
4555
4669
 
4556
4670
  // src/components/style-sections/position-section/position-section.tsx
4557
- var React62 = __toESM(require("react"));
4671
+ var React65 = __toESM(require("react"));
4558
4672
  var import_react30 = require("react");
4559
4673
  var import_session7 = require("@elementor/session");
4560
- var import_ui36 = require("@elementor/ui");
4561
- var import_i18n40 = require("@wordpress/i18n");
4674
+ var import_ui38 = require("@elementor/ui");
4675
+ var import_i18n42 = require("@wordpress/i18n");
4562
4676
 
4563
4677
  // src/components/style-sections/position-section/dimensions-field.tsx
4564
- var React58 = __toESM(require("react"));
4678
+ var React61 = __toESM(require("react"));
4565
4679
  var import_react28 = require("react");
4566
- var import_editor_controls32 = require("@elementor/editor-controls");
4567
- var import_icons17 = require("@elementor/icons");
4568
- var import_ui34 = require("@elementor/ui");
4569
- var import_i18n36 = require("@wordpress/i18n");
4570
- var InlineStartIcon2 = (0, import_ui34.withDirection)(import_icons17.SideLeftIcon);
4571
- var InlineEndIcon2 = (0, import_ui34.withDirection)(import_icons17.SideRightIcon);
4680
+ var import_editor_controls33 = require("@elementor/editor-controls");
4681
+ var import_icons18 = require("@elementor/icons");
4682
+ var import_ui36 = require("@elementor/ui");
4683
+ var import_i18n38 = require("@wordpress/i18n");
4684
+ var InlineStartIcon2 = (0, import_ui36.withDirection)(import_icons18.SideLeftIcon);
4685
+ var InlineEndIcon2 = (0, import_ui36.withDirection)(import_icons18.SideRightIcon);
4572
4686
  var sideIcons = {
4573
- "inset-block-start": /* @__PURE__ */ React58.createElement(import_icons17.SideTopIcon, { fontSize: "tiny" }),
4574
- "inset-block-end": /* @__PURE__ */ React58.createElement(import_icons17.SideBottomIcon, { fontSize: "tiny" }),
4575
- "inset-inline-start": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4576
- "inset-inline-end": /* @__PURE__ */ React58.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4687
+ "inset-block-start": /* @__PURE__ */ React61.createElement(import_icons18.SideTopIcon, { fontSize: "tiny" }),
4688
+ "inset-block-end": /* @__PURE__ */ React61.createElement(import_icons18.SideBottomIcon, { fontSize: "tiny" }),
4689
+ "inset-inline-start": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineStartIcon2, size: "tiny" }),
4690
+ "inset-inline-end": /* @__PURE__ */ React61.createElement(RotatedIcon, { icon: InlineEndIcon2, size: "tiny" })
4577
4691
  };
4578
- var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n36.__)("Right", "elementor") : (0, import_i18n36.__)("Left", "elementor");
4579
- var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n36.__)("Left", "elementor") : (0, import_i18n36.__)("Right", "elementor");
4692
+ var getInlineStartLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n38.__)("Right", "elementor") : (0, import_i18n38.__)("Left", "elementor");
4693
+ var getInlineEndLabel = (isSiteRtl) => isSiteRtl ? (0, import_i18n38.__)("Left", "elementor") : (0, import_i18n38.__)("Right", "elementor");
4580
4694
  var DimensionsField = () => {
4581
4695
  const { isSiteRtl } = useDirection();
4582
4696
  const rowRefs = [(0, import_react28.useRef)(null), (0, import_react28.useRef)(null)];
4583
- return /* @__PURE__ */ React58.createElement(UiProviders, null, /* @__PURE__ */ React58.createElement(import_ui34.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n36.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React58.createElement(
4697
+ return /* @__PURE__ */ React61.createElement(UiProviders, null, /* @__PURE__ */ React61.createElement(import_ui36.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[0] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-start", label: (0, import_i18n38.__)("Top", "elementor"), rowRef: rowRefs[0] }), /* @__PURE__ */ React61.createElement(
4584
4698
  DimensionField,
4585
4699
  {
4586
4700
  side: "inset-inline-end",
4587
4701
  label: getInlineEndLabel(isSiteRtl),
4588
4702
  rowRef: rowRefs[0]
4589
4703
  }
4590
- )), /* @__PURE__ */ React58.createElement(import_ui34.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React58.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n36.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React58.createElement(
4704
+ )), /* @__PURE__ */ React61.createElement(import_ui36.Stack, { direction: "row", gap: 2, flexWrap: "nowrap", ref: rowRefs[1] }, /* @__PURE__ */ React61.createElement(DimensionField, { side: "inset-block-end", label: (0, import_i18n38.__)("Bottom", "elementor"), rowRef: rowRefs[1] }), /* @__PURE__ */ React61.createElement(
4591
4705
  DimensionField,
4592
4706
  {
4593
4707
  side: "inset-inline-start",
@@ -4600,8 +4714,8 @@ var DimensionField = ({
4600
4714
  side,
4601
4715
  label,
4602
4716
  rowRef
4603
- }) => /* @__PURE__ */ React58.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React58.createElement(import_ui34.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React58.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(ControlLabel, null, label)), /* @__PURE__ */ React58.createElement(import_ui34.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React58.createElement(
4604
- import_editor_controls32.SizeControl,
4717
+ }) => /* @__PURE__ */ React61.createElement(StylesField, { bind: side, propDisplayName: label }, /* @__PURE__ */ React61.createElement(import_ui36.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React61.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(ControlLabel, null, label)), /* @__PURE__ */ React61.createElement(import_ui36.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React61.createElement(
4718
+ import_editor_controls33.SizeControl,
4605
4719
  {
4606
4720
  startIcon: sideIcons[side],
4607
4721
  extendedOptions: ["auto"],
@@ -4611,62 +4725,62 @@ var DimensionField = ({
4611
4725
  ))));
4612
4726
 
4613
4727
  // src/components/style-sections/position-section/offset-field.tsx
4614
- var React59 = __toESM(require("react"));
4728
+ var React62 = __toESM(require("react"));
4615
4729
  var import_react29 = require("react");
4616
- var import_editor_controls33 = require("@elementor/editor-controls");
4617
- var import_i18n37 = require("@wordpress/i18n");
4618
- var OFFSET_LABEL = (0, import_i18n37.__)("Anchor offset", "elementor");
4730
+ var import_editor_controls34 = require("@elementor/editor-controls");
4731
+ var import_i18n39 = require("@wordpress/i18n");
4732
+ var OFFSET_LABEL = (0, import_i18n39.__)("Anchor offset", "elementor");
4619
4733
  var UNITS2 = ["px", "em", "rem", "vw", "vh"];
4620
4734
  var OffsetField = () => {
4621
4735
  const rowRef = (0, import_react29.useRef)(null);
4622
- return /* @__PURE__ */ React59.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React59.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React59.createElement(import_editor_controls33.SizeControl, { units: UNITS2, anchorRef: rowRef })));
4736
+ return /* @__PURE__ */ React62.createElement(StylesField, { bind: "scroll-margin-top", propDisplayName: OFFSET_LABEL }, /* @__PURE__ */ React62.createElement(StylesFieldLayout, { label: OFFSET_LABEL, ref: rowRef }, /* @__PURE__ */ React62.createElement(import_editor_controls34.SizeControl, { units: UNITS2, anchorRef: rowRef })));
4623
4737
  };
4624
4738
 
4625
4739
  // src/components/style-sections/position-section/position-field.tsx
4626
- var React60 = __toESM(require("react"));
4627
- var import_editor_controls34 = require("@elementor/editor-controls");
4628
- var import_i18n38 = require("@wordpress/i18n");
4629
- var POSITION_LABEL = (0, import_i18n38.__)("Position", "elementor");
4740
+ var React63 = __toESM(require("react"));
4741
+ var import_editor_controls35 = require("@elementor/editor-controls");
4742
+ var import_i18n40 = require("@wordpress/i18n");
4743
+ var POSITION_LABEL = (0, import_i18n40.__)("Position", "elementor");
4630
4744
  var positionOptions = [
4631
- { label: (0, import_i18n38.__)("Static", "elementor"), value: "static" },
4632
- { label: (0, import_i18n38.__)("Relative", "elementor"), value: "relative" },
4633
- { label: (0, import_i18n38.__)("Absolute", "elementor"), value: "absolute" },
4634
- { label: (0, import_i18n38.__)("Fixed", "elementor"), value: "fixed" },
4635
- { label: (0, import_i18n38.__)("Sticky", "elementor"), value: "sticky" }
4745
+ { label: (0, import_i18n40.__)("Static", "elementor"), value: "static" },
4746
+ { label: (0, import_i18n40.__)("Relative", "elementor"), value: "relative" },
4747
+ { label: (0, import_i18n40.__)("Absolute", "elementor"), value: "absolute" },
4748
+ { label: (0, import_i18n40.__)("Fixed", "elementor"), value: "fixed" },
4749
+ { label: (0, import_i18n40.__)("Sticky", "elementor"), value: "sticky" }
4636
4750
  ];
4637
4751
  var PositionField = () => {
4638
- return /* @__PURE__ */ React60.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React60.createElement(import_editor_controls34.SelectControl, { options: positionOptions })));
4752
+ return /* @__PURE__ */ React63.createElement(StylesField, { bind: "position", propDisplayName: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(StylesFieldLayout, { label: POSITION_LABEL }, /* @__PURE__ */ React63.createElement(import_editor_controls35.SelectControl, { options: positionOptions })));
4639
4753
  };
4640
4754
 
4641
4755
  // src/components/style-sections/position-section/z-index-field.tsx
4642
- var React61 = __toESM(require("react"));
4643
- var import_editor_controls35 = require("@elementor/editor-controls");
4644
- var import_icons18 = require("@elementor/icons");
4645
- var import_ui35 = require("@elementor/ui");
4646
- var import_i18n39 = require("@wordpress/i18n");
4647
- var Z_INDEX_LABEL = (0, import_i18n39.__)("Z-index", "elementor");
4756
+ var React64 = __toESM(require("react"));
4757
+ var import_editor_controls36 = require("@elementor/editor-controls");
4758
+ var import_icons19 = require("@elementor/icons");
4759
+ var import_ui37 = require("@elementor/ui");
4760
+ var import_i18n41 = require("@wordpress/i18n");
4761
+ var Z_INDEX_LABEL = (0, import_i18n41.__)("Z-index", "elementor");
4648
4762
  var ZIndexField = ({ disabled }) => {
4649
- const StyleField = /* @__PURE__ */ React61.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React61.createElement(import_editor_controls35.NumberControl, { disabled })));
4650
- const content = /* @__PURE__ */ React61.createElement(import_ui35.Alert, { color: "secondary", icon: /* @__PURE__ */ React61.createElement(import_icons18.InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React61.createElement(import_ui35.AlertTitle, null, (0, import_i18n39.__)("Z-index", "elementor")), /* @__PURE__ */ React61.createElement(import_ui35.Box, { component: "span" }, (0, import_i18n39.__)(
4763
+ const StyleField = /* @__PURE__ */ React64.createElement(StylesField, { bind: "z-index", propDisplayName: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(StylesFieldLayout, { label: Z_INDEX_LABEL }, /* @__PURE__ */ React64.createElement(import_editor_controls36.NumberControl, { disabled })));
4764
+ const content = /* @__PURE__ */ React64.createElement(import_ui37.Alert, { color: "secondary", icon: /* @__PURE__ */ React64.createElement(import_icons19.InfoCircleFilledIcon, null), size: "small" }, /* @__PURE__ */ React64.createElement(import_ui37.AlertTitle, null, (0, import_i18n41.__)("Z-index", "elementor")), /* @__PURE__ */ React64.createElement(import_ui37.Box, { component: "span" }, (0, import_i18n41.__)(
4651
4765
  "z-index only works on positioned elements. Change position to relative, absolute, or fixed to enable layering.",
4652
4766
  "elementor"
4653
4767
  )));
4654
- return disabled ? /* @__PURE__ */ React61.createElement(
4655
- import_ui35.Infotip,
4768
+ return disabled ? /* @__PURE__ */ React64.createElement(
4769
+ import_ui37.Infotip,
4656
4770
  {
4657
4771
  placement: "right",
4658
4772
  content,
4659
4773
  color: "secondary",
4660
4774
  slotProps: { popper: { sx: { width: 300 } } }
4661
4775
  },
4662
- /* @__PURE__ */ React61.createElement(import_ui35.Box, null, StyleField)
4663
- ) : /* @__PURE__ */ React61.createElement(React61.Fragment, null, StyleField);
4776
+ /* @__PURE__ */ React64.createElement(import_ui37.Box, null, StyleField)
4777
+ ) : /* @__PURE__ */ React64.createElement(React64.Fragment, null, StyleField);
4664
4778
  };
4665
4779
 
4666
4780
  // src/components/style-sections/position-section/position-section.tsx
4667
4781
  var POSITION_STATIC = "static";
4668
- var POSITION_LABEL2 = (0, import_i18n40.__)("Position", "elementor");
4669
- var DIMENSIONS_LABEL = (0, import_i18n40.__)("Dimensions", "elementor");
4782
+ var POSITION_LABEL2 = (0, import_i18n42.__)("Position", "elementor");
4783
+ var DIMENSIONS_LABEL = (0, import_i18n42.__)("Dimensions", "elementor");
4670
4784
  var DEPENDENT_PROP_NAMES = [
4671
4785
  "inset-block-start",
4672
4786
  "inset-block-end",
@@ -4692,7 +4806,7 @@ var PositionSection = () => {
4692
4806
  }
4693
4807
  positionPrevRef.current = position;
4694
4808
  }, [position?.value]);
4695
- return /* @__PURE__ */ React62.createElement(StyledSectionContent, null, /* @__PURE__ */ React62.createElement(PositionField, null), /* @__PURE__ */ React62.createElement(DimensionsField, null), /* @__PURE__ */ React62.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React62.createElement(PanelDivider, null), /* @__PURE__ */ React62.createElement(OffsetField, null));
4809
+ return /* @__PURE__ */ React65.createElement(StyledSectionContent, null, /* @__PURE__ */ React65.createElement(PositionField, null), /* @__PURE__ */ React65.createElement(DimensionsField, null), /* @__PURE__ */ React65.createElement(ZIndexField, { disabled: !position || position?.value === POSITION_STATIC }), /* @__PURE__ */ React65.createElement(PanelDivider, null), /* @__PURE__ */ React65.createElement(OffsetField, null));
4696
4810
  };
4697
4811
  var usePersistDimensions = () => {
4698
4812
  const { id: styleDefID, meta } = useStyle();
@@ -4720,7 +4834,7 @@ var extractDimensions = (values) => {
4720
4834
  };
4721
4835
  }, {});
4722
4836
  };
4723
- var StyledSectionContent = (0, import_ui36.styled)(SectionContent, {
4837
+ var StyledSectionContent = (0, import_ui38.styled)(SectionContent, {
4724
4838
  shouldForwardProp: (prop) => prop !== "gap"
4725
4839
  })(({ gap = 2, theme }) => ({
4726
4840
  gap: 0,
@@ -4742,137 +4856,56 @@ var StyledSectionContent = (0, import_ui36.styled)(SectionContent, {
4742
4856
  }));
4743
4857
 
4744
4858
  // src/components/style-sections/size-section/size-section.tsx
4745
- var React67 = __toESM(require("react"));
4859
+ var React68 = __toESM(require("react"));
4746
4860
  var import_react31 = require("react");
4747
- var import_editor_controls38 = require("@elementor/editor-controls");
4748
- var import_ui38 = require("@elementor/ui");
4749
- var import_i18n44 = require("@wordpress/i18n");
4750
-
4751
- // src/components/style-tab-collapsible-content.tsx
4752
- var React64 = __toESM(require("react"));
4753
- var import_editor_ui6 = require("@elementor/editor-ui");
4754
-
4755
- // src/styles-inheritance/components/styles-inheritance-section-indicators.tsx
4756
- var React63 = __toESM(require("react"));
4757
- var import_editor_styles_repository17 = require("@elementor/editor-styles-repository");
4758
- var import_ui37 = require("@elementor/ui");
4759
- var import_i18n41 = require("@wordpress/i18n");
4760
- var StylesInheritanceSectionIndicators = ({ fields }) => {
4761
- const { id, meta, provider } = useStyle();
4762
- const snapshot = useStylesInheritanceSnapshot();
4763
- if (fields.includes("custom_css")) {
4764
- return /* @__PURE__ */ React63.createElement(CustomCssIndicator, null);
4765
- }
4766
- const snapshotFields = Object.fromEntries(
4767
- Object.entries(snapshot ?? {}).filter(([key]) => fields.includes(key))
4768
- );
4769
- const { hasValues, hasOverrides } = getIndicators(snapshotFields, id ?? "", meta);
4770
- if (!hasValues && !hasOverrides) {
4771
- return null;
4772
- }
4773
- const hasValueLabel = (0, import_i18n41.__)("Has effective styles", "elementor");
4774
- const hasOverridesLabel = (0, import_i18n41.__)("Has overridden styles", "elementor");
4775
- return /* @__PURE__ */ React63.createElement(import_ui37.Tooltip, { title: (0, import_i18n41.__)("Has styles", "elementor"), placement: "top" }, /* @__PURE__ */ React63.createElement(import_ui37.Stack, { direction: "row", sx: { "& > *": { marginInlineStart: -0.25 } }, role: "list" }, hasValues && provider && /* @__PURE__ */ React63.createElement(
4776
- StyleIndicator,
4777
- {
4778
- getColor: getStylesProviderThemeColor(provider.getKey()),
4779
- "data-variant": (0, import_editor_styles_repository17.isElementsStylesProvider)(provider.getKey()) ? "local" : "global",
4780
- role: "listitem",
4781
- "aria-label": hasValueLabel
4782
- }
4783
- ), hasOverrides && /* @__PURE__ */ React63.createElement(
4784
- StyleIndicator,
4785
- {
4786
- isOverridden: true,
4787
- "data-variant": "overridden",
4788
- role: "listitem",
4789
- "aria-label": hasOverridesLabel
4790
- }
4791
- )));
4792
- };
4793
- function getIndicators(snapshotFields, styleId, meta) {
4794
- let hasValues = false;
4795
- let hasOverrides = false;
4796
- Object.values(snapshotFields).forEach((inheritanceChain) => {
4797
- const currentStyle = getCurrentStyleFromChain(inheritanceChain, styleId, meta);
4798
- if (!currentStyle) {
4799
- return;
4800
- }
4801
- const [actualStyle] = inheritanceChain;
4802
- if (currentStyle === actualStyle) {
4803
- hasValues = true;
4804
- } else {
4805
- hasOverrides = true;
4806
- }
4807
- });
4808
- return { hasValues, hasOverrides };
4809
- }
4810
- function getCurrentStyleFromChain(chain, styleId, meta) {
4811
- return chain.find(
4812
- ({
4813
- style: { id },
4814
- variant: {
4815
- meta: { breakpoint, state }
4816
- }
4817
- }) => id === styleId && breakpoint === meta.breakpoint && state === meta.state
4818
- );
4819
- }
4820
-
4821
- // src/components/style-tab-collapsible-content.tsx
4822
- var StyleTabCollapsibleContent = ({ fields = [], children }) => {
4823
- return /* @__PURE__ */ React64.createElement(import_editor_ui6.CollapsibleContent, { titleEnd: getStylesInheritanceIndicators(fields) }, children);
4824
- };
4825
- function getStylesInheritanceIndicators(fields) {
4826
- if (fields.length === 0) {
4827
- return null;
4828
- }
4829
- return (isOpen) => !isOpen ? /* @__PURE__ */ React64.createElement(StylesInheritanceSectionIndicators, { fields }) : null;
4830
- }
4861
+ var import_editor_controls39 = require("@elementor/editor-controls");
4862
+ var import_ui39 = require("@elementor/ui");
4863
+ var import_i18n45 = require("@wordpress/i18n");
4831
4864
 
4832
4865
  // src/components/style-sections/size-section/object-fit-field.tsx
4833
- var React65 = __toESM(require("react"));
4834
- var import_editor_controls36 = require("@elementor/editor-controls");
4835
- var import_i18n42 = require("@wordpress/i18n");
4836
- var OBJECT_FIT_LABEL = (0, import_i18n42.__)("Object fit", "elementor");
4866
+ var React66 = __toESM(require("react"));
4867
+ var import_editor_controls37 = require("@elementor/editor-controls");
4868
+ var import_i18n43 = require("@wordpress/i18n");
4869
+ var OBJECT_FIT_LABEL = (0, import_i18n43.__)("Object fit", "elementor");
4837
4870
  var positionOptions2 = [
4838
- { label: (0, import_i18n42.__)("Fill", "elementor"), value: "fill" },
4839
- { label: (0, import_i18n42.__)("Cover", "elementor"), value: "cover" },
4840
- { label: (0, import_i18n42.__)("Contain", "elementor"), value: "contain" },
4841
- { label: (0, import_i18n42.__)("None", "elementor"), value: "none" },
4842
- { label: (0, import_i18n42.__)("Scale down", "elementor"), value: "scale-down" }
4871
+ { label: (0, import_i18n43.__)("Fill", "elementor"), value: "fill" },
4872
+ { label: (0, import_i18n43.__)("Cover", "elementor"), value: "cover" },
4873
+ { label: (0, import_i18n43.__)("Contain", "elementor"), value: "contain" },
4874
+ { label: (0, import_i18n43.__)("None", "elementor"), value: "none" },
4875
+ { label: (0, import_i18n43.__)("Scale down", "elementor"), value: "scale-down" }
4843
4876
  ];
4844
4877
  var ObjectFitField = () => {
4845
- return /* @__PURE__ */ React65.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React65.createElement(import_editor_controls36.SelectControl, { options: positionOptions2 })));
4878
+ return /* @__PURE__ */ React66.createElement(StylesField, { bind: "object-fit", propDisplayName: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OBJECT_FIT_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls37.SelectControl, { options: positionOptions2 })));
4846
4879
  };
4847
4880
 
4848
4881
  // src/components/style-sections/size-section/overflow-field.tsx
4849
- var React66 = __toESM(require("react"));
4850
- var import_editor_controls37 = require("@elementor/editor-controls");
4851
- var import_icons19 = require("@elementor/icons");
4852
- var import_i18n43 = require("@wordpress/i18n");
4853
- var OVERFLOW_LABEL = (0, import_i18n43.__)("Overflow", "elementor");
4882
+ var React67 = __toESM(require("react"));
4883
+ var import_editor_controls38 = require("@elementor/editor-controls");
4884
+ var import_icons20 = require("@elementor/icons");
4885
+ var import_i18n44 = require("@wordpress/i18n");
4886
+ var OVERFLOW_LABEL = (0, import_i18n44.__)("Overflow", "elementor");
4854
4887
  var options7 = [
4855
4888
  {
4856
4889
  value: "visible",
4857
- label: (0, import_i18n43.__)("Visible", "elementor"),
4858
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.EyeIcon, { fontSize: size }),
4890
+ label: (0, import_i18n44.__)("Visible", "elementor"),
4891
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.EyeIcon, { fontSize: size }),
4859
4892
  showTooltip: true
4860
4893
  },
4861
4894
  {
4862
4895
  value: "hidden",
4863
- label: (0, import_i18n43.__)("Hidden", "elementor"),
4864
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.EyeOffIcon, { fontSize: size }),
4896
+ label: (0, import_i18n44.__)("Hidden", "elementor"),
4897
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.EyeOffIcon, { fontSize: size }),
4865
4898
  showTooltip: true
4866
4899
  },
4867
4900
  {
4868
4901
  value: "auto",
4869
- label: (0, import_i18n43.__)("Auto", "elementor"),
4870
- renderContent: ({ size }) => /* @__PURE__ */ React66.createElement(import_icons19.LetterAIcon, { fontSize: size }),
4902
+ label: (0, import_i18n44.__)("Auto", "elementor"),
4903
+ renderContent: ({ size }) => /* @__PURE__ */ React67.createElement(import_icons20.LetterAIcon, { fontSize: size }),
4871
4904
  showTooltip: true
4872
4905
  }
4873
4906
  ];
4874
4907
  var OverflowField = () => {
4875
- return /* @__PURE__ */ React66.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React66.createElement(import_editor_controls37.ToggleControl, { options: options7 })));
4908
+ return /* @__PURE__ */ React67.createElement(StylesField, { bind: "overflow", propDisplayName: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(StylesFieldLayout, { label: OVERFLOW_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls38.ToggleControl, { options: options7 })));
4876
4909
  };
4877
4910
 
4878
4911
  // src/components/style-sections/size-section/size-section.tsx
@@ -4880,98 +4913,98 @@ var CssSizeProps = [
4880
4913
  [
4881
4914
  {
4882
4915
  bind: "width",
4883
- label: (0, import_i18n44.__)("Width", "elementor")
4916
+ label: (0, import_i18n45.__)("Width", "elementor")
4884
4917
  },
4885
4918
  {
4886
4919
  bind: "height",
4887
- label: (0, import_i18n44.__)("Height", "elementor")
4920
+ label: (0, import_i18n45.__)("Height", "elementor")
4888
4921
  }
4889
4922
  ],
4890
4923
  [
4891
4924
  {
4892
4925
  bind: "min-width",
4893
- label: (0, import_i18n44.__)("Min width", "elementor")
4926
+ label: (0, import_i18n45.__)("Min width", "elementor")
4894
4927
  },
4895
4928
  {
4896
4929
  bind: "min-height",
4897
- label: (0, import_i18n44.__)("Min height", "elementor")
4930
+ label: (0, import_i18n45.__)("Min height", "elementor")
4898
4931
  }
4899
4932
  ],
4900
4933
  [
4901
4934
  {
4902
4935
  bind: "max-width",
4903
- label: (0, import_i18n44.__)("Max width", "elementor")
4936
+ label: (0, import_i18n45.__)("Max width", "elementor")
4904
4937
  },
4905
4938
  {
4906
4939
  bind: "max-height",
4907
- label: (0, import_i18n44.__)("Max height", "elementor")
4940
+ label: (0, import_i18n45.__)("Max height", "elementor")
4908
4941
  }
4909
4942
  ]
4910
4943
  ];
4911
- var ASPECT_RATIO_LABEL = (0, import_i18n44.__)("Aspect Ratio", "elementor");
4944
+ var ASPECT_RATIO_LABEL = (0, import_i18n45.__)("Aspect Ratio", "elementor");
4912
4945
  var SizeSection = () => {
4913
4946
  const gridRowRefs = [(0, import_react31.useRef)(null), (0, import_react31.useRef)(null), (0, import_react31.useRef)(null)];
4914
- return /* @__PURE__ */ React67.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React67.createElement(import_ui38.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React67.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(import_ui38.Stack, null, /* @__PURE__ */ React67.createElement(OverflowField, null)), /* @__PURE__ */ React67.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React67.createElement(import_ui38.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React67.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React67.createElement(import_editor_controls38.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React67.createElement(PanelDivider, null), /* @__PURE__ */ React67.createElement(ObjectFitField, null), /* @__PURE__ */ React67.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n44.__)("Object position", "elementor") }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React67.createElement(import_editor_controls38.PositionControl, null))))));
4947
+ return /* @__PURE__ */ React68.createElement(SectionContent, null, CssSizeProps.map((row, rowIndex) => /* @__PURE__ */ React68.createElement(import_ui39.Grid, { key: rowIndex, container: true, gap: 2, flexWrap: "nowrap", ref: gridRowRefs[rowIndex] }, row.map((props) => /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 6, key: props.bind }, /* @__PURE__ */ React68.createElement(SizeField, { ...props, rowRef: gridRowRefs[rowIndex], extendedOptions: ["auto"] }))))), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(import_ui39.Stack, null, /* @__PURE__ */ React68.createElement(OverflowField, null)), /* @__PURE__ */ React68.createElement(StyleTabCollapsibleContent, { fields: ["aspect-ratio", "object-fit"] }, /* @__PURE__ */ React68.createElement(import_ui39.Stack, { gap: 2, pt: 2 }, /* @__PURE__ */ React68.createElement(StylesField, { bind: "aspect-ratio", propDisplayName: ASPECT_RATIO_LABEL }, /* @__PURE__ */ React68.createElement(import_editor_controls39.AspectRatioControl, { label: ASPECT_RATIO_LABEL })), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(ObjectFitField, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "object-position", propDisplayName: (0, import_i18n45.__)("Object position", "elementor") }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 6 }, /* @__PURE__ */ React68.createElement(import_editor_controls39.PositionControl, null))))));
4915
4948
  };
4916
4949
  var SizeField = ({ label, bind, rowRef, extendedOptions }) => {
4917
- return /* @__PURE__ */ React67.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(ControlLabel, null, label)), /* @__PURE__ */ React67.createElement(import_ui38.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React67.createElement(import_editor_controls38.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4950
+ return /* @__PURE__ */ React68.createElement(StylesField, { bind, propDisplayName: label }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { container: true, gap: 0.75, alignItems: "center" }, /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(ControlLabel, null, label)), /* @__PURE__ */ React68.createElement(import_ui39.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React68.createElement(import_editor_controls39.SizeControl, { extendedOptions, anchorRef: rowRef }))));
4918
4951
  };
4919
4952
 
4920
4953
  // src/components/style-sections/spacing-section/spacing-section.tsx
4921
- var React68 = __toESM(require("react"));
4922
- var import_editor_controls39 = require("@elementor/editor-controls");
4923
- var import_i18n45 = require("@wordpress/i18n");
4924
- var MARGIN_LABEL = (0, import_i18n45.__)("Margin", "elementor");
4925
- var PADDING_LABEL = (0, import_i18n45.__)("Padding", "elementor");
4954
+ var React69 = __toESM(require("react"));
4955
+ var import_editor_controls40 = require("@elementor/editor-controls");
4956
+ var import_i18n46 = require("@wordpress/i18n");
4957
+ var MARGIN_LABEL = (0, import_i18n46.__)("Margin", "elementor");
4958
+ var PADDING_LABEL = (0, import_i18n46.__)("Padding", "elementor");
4926
4959
  var SpacingSection = () => {
4927
4960
  const { isSiteRtl } = useDirection();
4928
- return /* @__PURE__ */ React68.createElement(SectionContent, null, /* @__PURE__ */ React68.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React68.createElement(
4929
- import_editor_controls39.LinkedDimensionsControl,
4961
+ return /* @__PURE__ */ React69.createElement(SectionContent, null, /* @__PURE__ */ React69.createElement(StylesField, { bind: "margin", propDisplayName: MARGIN_LABEL }, /* @__PURE__ */ React69.createElement(
4962
+ import_editor_controls40.LinkedDimensionsControl,
4930
4963
  {
4931
4964
  label: MARGIN_LABEL,
4932
4965
  isSiteRtl,
4933
4966
  min: -Number.MAX_SAFE_INTEGER
4934
4967
  }
4935
- )), /* @__PURE__ */ React68.createElement(PanelDivider, null), /* @__PURE__ */ React68.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React68.createElement(import_editor_controls39.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4968
+ )), /* @__PURE__ */ React69.createElement(PanelDivider, null), /* @__PURE__ */ React69.createElement(StylesField, { bind: "padding", propDisplayName: PADDING_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls40.LinkedDimensionsControl, { label: PADDING_LABEL, isSiteRtl })));
4936
4969
  };
4937
4970
 
4938
4971
  // src/components/style-sections/typography-section/typography-section.tsx
4939
- var React85 = __toESM(require("react"));
4972
+ var React86 = __toESM(require("react"));
4940
4973
 
4941
4974
  // src/components/style-sections/typography-section/column-count-field.tsx
4942
- var React69 = __toESM(require("react"));
4943
- var import_editor_controls40 = require("@elementor/editor-controls");
4944
- var import_i18n46 = require("@wordpress/i18n");
4945
- var COLUMN_COUNT_LABEL = (0, import_i18n46.__)("Columns", "elementor");
4975
+ var React70 = __toESM(require("react"));
4976
+ var import_editor_controls41 = require("@elementor/editor-controls");
4977
+ var import_i18n47 = require("@wordpress/i18n");
4978
+ var COLUMN_COUNT_LABEL = (0, import_i18n47.__)("Columns", "elementor");
4946
4979
  var ColumnCountField = () => {
4947
- return /* @__PURE__ */ React69.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React69.createElement(import_editor_controls40.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4980
+ return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-count", propDisplayName: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_COUNT_LABEL }, /* @__PURE__ */ React70.createElement(import_editor_controls41.NumberControl, { shouldForceInt: true, min: 0, step: 1 })));
4948
4981
  };
4949
4982
 
4950
4983
  // src/components/style-sections/typography-section/column-gap-field.tsx
4951
- var React70 = __toESM(require("react"));
4984
+ var React71 = __toESM(require("react"));
4952
4985
  var import_react32 = require("react");
4953
- var import_editor_controls41 = require("@elementor/editor-controls");
4954
- var import_i18n47 = require("@wordpress/i18n");
4955
- var COLUMN_GAP_LABEL = (0, import_i18n47.__)("Column gap", "elementor");
4986
+ var import_editor_controls42 = require("@elementor/editor-controls");
4987
+ var import_i18n48 = require("@wordpress/i18n");
4988
+ var COLUMN_GAP_LABEL = (0, import_i18n48.__)("Column gap", "elementor");
4956
4989
  var ColumnGapField = () => {
4957
4990
  const rowRef = (0, import_react32.useRef)(null);
4958
- return /* @__PURE__ */ React70.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React70.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React70.createElement(import_editor_controls41.SizeControl, { anchorRef: rowRef })));
4991
+ return /* @__PURE__ */ React71.createElement(StylesField, { bind: "column-gap", propDisplayName: COLUMN_GAP_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: COLUMN_GAP_LABEL, ref: rowRef }, /* @__PURE__ */ React71.createElement(import_editor_controls42.SizeControl, { anchorRef: rowRef })));
4959
4992
  };
4960
4993
 
4961
4994
  // src/components/style-sections/typography-section/font-family-field.tsx
4962
- var React71 = __toESM(require("react"));
4963
- var import_editor_controls42 = require("@elementor/editor-controls");
4995
+ var React72 = __toESM(require("react"));
4996
+ var import_editor_controls43 = require("@elementor/editor-controls");
4964
4997
  var import_editor_ui7 = require("@elementor/editor-ui");
4965
- var import_i18n48 = require("@wordpress/i18n");
4966
- var FONT_FAMILY_LABEL = (0, import_i18n48.__)("Font family", "elementor");
4998
+ var import_i18n49 = require("@wordpress/i18n");
4999
+ var FONT_FAMILY_LABEL = (0, import_i18n49.__)("Font family", "elementor");
4967
5000
  var FontFamilyField = () => {
4968
- const fontFamilies = (0, import_editor_controls42.useFontFamilies)();
5001
+ const fontFamilies = (0, import_editor_controls43.useFontFamilies)();
4969
5002
  const sectionWidth = (0, import_editor_ui7.useSectionWidth)();
4970
5003
  if (fontFamilies.length === 0) {
4971
5004
  return null;
4972
5005
  }
4973
- return /* @__PURE__ */ React71.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React71.createElement(
4974
- import_editor_controls42.FontFamilyControl,
5006
+ return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-family", propDisplayName: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_FAMILY_LABEL }, /* @__PURE__ */ React72.createElement(
5007
+ import_editor_controls43.FontFamilyControl,
4975
5008
  {
4976
5009
  fontFamilies,
4977
5010
  sectionWidth,
@@ -4981,198 +5014,198 @@ var FontFamilyField = () => {
4981
5014
  };
4982
5015
 
4983
5016
  // src/components/style-sections/typography-section/font-size-field.tsx
4984
- var React72 = __toESM(require("react"));
5017
+ var React73 = __toESM(require("react"));
4985
5018
  var import_react33 = require("react");
4986
- var import_editor_controls43 = require("@elementor/editor-controls");
4987
- var import_i18n49 = require("@wordpress/i18n");
4988
- var FONT_SIZE_LABEL = (0, import_i18n49.__)("Font size", "elementor");
5019
+ var import_editor_controls44 = require("@elementor/editor-controls");
5020
+ var import_i18n50 = require("@wordpress/i18n");
5021
+ var FONT_SIZE_LABEL = (0, import_i18n50.__)("Font size", "elementor");
4989
5022
  var FontSizeField = () => {
4990
5023
  const rowRef = (0, import_react33.useRef)(null);
4991
- return /* @__PURE__ */ React72.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React72.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React72.createElement(import_editor_controls43.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
5024
+ return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-size", propDisplayName: FONT_SIZE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_SIZE_LABEL, ref: rowRef }, /* @__PURE__ */ React73.createElement(import_editor_controls44.SizeControl, { anchorRef: rowRef, ariaLabel: FONT_SIZE_LABEL })));
4992
5025
  };
4993
5026
 
4994
5027
  // src/components/style-sections/typography-section/font-style-field.tsx
4995
- var React73 = __toESM(require("react"));
4996
- var import_editor_controls44 = require("@elementor/editor-controls");
4997
- var import_icons20 = require("@elementor/icons");
4998
- var import_i18n50 = require("@wordpress/i18n");
4999
- var FONT_STYLE_LABEL = (0, import_i18n50.__)("Font style", "elementor");
5028
+ var React74 = __toESM(require("react"));
5029
+ var import_editor_controls45 = require("@elementor/editor-controls");
5030
+ var import_icons21 = require("@elementor/icons");
5031
+ var import_i18n51 = require("@wordpress/i18n");
5032
+ var FONT_STYLE_LABEL = (0, import_i18n51.__)("Font style", "elementor");
5000
5033
  var options8 = [
5001
5034
  {
5002
5035
  value: "normal",
5003
- label: (0, import_i18n50.__)("Normal", "elementor"),
5004
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons20.MinusIcon, { fontSize: size }),
5036
+ label: (0, import_i18n51.__)("Normal", "elementor"),
5037
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.MinusIcon, { fontSize: size }),
5005
5038
  showTooltip: true
5006
5039
  },
5007
5040
  {
5008
5041
  value: "italic",
5009
- label: (0, import_i18n50.__)("Italic", "elementor"),
5010
- renderContent: ({ size }) => /* @__PURE__ */ React73.createElement(import_icons20.ItalicIcon, { fontSize: size }),
5042
+ label: (0, import_i18n51.__)("Italic", "elementor"),
5043
+ renderContent: ({ size }) => /* @__PURE__ */ React74.createElement(import_icons21.ItalicIcon, { fontSize: size }),
5011
5044
  showTooltip: true
5012
5045
  }
5013
5046
  ];
5014
5047
  var FontStyleField = () => {
5015
- return /* @__PURE__ */ React73.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React73.createElement(import_editor_controls44.ToggleControl, { options: options8 })));
5048
+ return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-style", propDisplayName: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_STYLE_LABEL }, /* @__PURE__ */ React74.createElement(import_editor_controls45.ToggleControl, { options: options8 })));
5016
5049
  };
5017
5050
 
5018
5051
  // src/components/style-sections/typography-section/font-weight-field.tsx
5019
- var React74 = __toESM(require("react"));
5020
- var import_editor_controls45 = require("@elementor/editor-controls");
5021
- var import_i18n51 = require("@wordpress/i18n");
5022
- var FONT_WEIGHT_LABEL = (0, import_i18n51.__)("Font weight", "elementor");
5052
+ var React75 = __toESM(require("react"));
5053
+ var import_editor_controls46 = require("@elementor/editor-controls");
5054
+ var import_i18n52 = require("@wordpress/i18n");
5055
+ var FONT_WEIGHT_LABEL = (0, import_i18n52.__)("Font weight", "elementor");
5023
5056
  var fontWeightOptions = [
5024
- { value: "100", label: (0, import_i18n51.__)("100 - Thin", "elementor") },
5025
- { value: "200", label: (0, import_i18n51.__)("200 - Extra light", "elementor") },
5026
- { value: "300", label: (0, import_i18n51.__)("300 - Light", "elementor") },
5027
- { value: "400", label: (0, import_i18n51.__)("400 - Normal", "elementor") },
5028
- { value: "500", label: (0, import_i18n51.__)("500 - Medium", "elementor") },
5029
- { value: "600", label: (0, import_i18n51.__)("600 - Semi bold", "elementor") },
5030
- { value: "700", label: (0, import_i18n51.__)("700 - Bold", "elementor") },
5031
- { value: "800", label: (0, import_i18n51.__)("800 - Extra bold", "elementor") },
5032
- { value: "900", label: (0, import_i18n51.__)("900 - Black", "elementor") }
5057
+ { value: "100", label: (0, import_i18n52.__)("100 - Thin", "elementor") },
5058
+ { value: "200", label: (0, import_i18n52.__)("200 - Extra light", "elementor") },
5059
+ { value: "300", label: (0, import_i18n52.__)("300 - Light", "elementor") },
5060
+ { value: "400", label: (0, import_i18n52.__)("400 - Normal", "elementor") },
5061
+ { value: "500", label: (0, import_i18n52.__)("500 - Medium", "elementor") },
5062
+ { value: "600", label: (0, import_i18n52.__)("600 - Semi bold", "elementor") },
5063
+ { value: "700", label: (0, import_i18n52.__)("700 - Bold", "elementor") },
5064
+ { value: "800", label: (0, import_i18n52.__)("800 - Extra bold", "elementor") },
5065
+ { value: "900", label: (0, import_i18n52.__)("900 - Black", "elementor") }
5033
5066
  ];
5034
5067
  var FontWeightField = () => {
5035
- return /* @__PURE__ */ React74.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React74.createElement(import_editor_controls45.SelectControl, { options: fontWeightOptions })));
5068
+ return /* @__PURE__ */ React75.createElement(StylesField, { bind: "font-weight", propDisplayName: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: FONT_WEIGHT_LABEL }, /* @__PURE__ */ React75.createElement(import_editor_controls46.SelectControl, { options: fontWeightOptions })));
5036
5069
  };
5037
5070
 
5038
5071
  // src/components/style-sections/typography-section/letter-spacing-field.tsx
5039
- var React75 = __toESM(require("react"));
5072
+ var React76 = __toESM(require("react"));
5040
5073
  var import_react34 = require("react");
5041
- var import_editor_controls46 = require("@elementor/editor-controls");
5042
- var import_i18n52 = require("@wordpress/i18n");
5043
- var LETTER_SPACING_LABEL = (0, import_i18n52.__)("Letter spacing", "elementor");
5074
+ var import_editor_controls47 = require("@elementor/editor-controls");
5075
+ var import_i18n53 = require("@wordpress/i18n");
5076
+ var LETTER_SPACING_LABEL = (0, import_i18n53.__)("Letter spacing", "elementor");
5044
5077
  var LetterSpacingField = () => {
5045
5078
  const rowRef = (0, import_react34.useRef)(null);
5046
- return /* @__PURE__ */ React75.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React75.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React75.createElement(import_editor_controls46.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5079
+ return /* @__PURE__ */ React76.createElement(StylesField, { bind: "letter-spacing", propDisplayName: LETTER_SPACING_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LETTER_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls47.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5047
5080
  };
5048
5081
 
5049
5082
  // src/components/style-sections/typography-section/line-height-field.tsx
5050
- var React76 = __toESM(require("react"));
5083
+ var React77 = __toESM(require("react"));
5051
5084
  var import_react35 = require("react");
5052
- var import_editor_controls47 = require("@elementor/editor-controls");
5053
- var import_i18n53 = require("@wordpress/i18n");
5054
- var LINE_HEIGHT_LABEL = (0, import_i18n53.__)("Line height", "elementor");
5085
+ var import_editor_controls48 = require("@elementor/editor-controls");
5086
+ var import_i18n54 = require("@wordpress/i18n");
5087
+ var LINE_HEIGHT_LABEL = (0, import_i18n54.__)("Line height", "elementor");
5055
5088
  var LineHeightField = () => {
5056
5089
  const rowRef = (0, import_react35.useRef)(null);
5057
- return /* @__PURE__ */ React76.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React76.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React76.createElement(import_editor_controls47.SizeControl, { anchorRef: rowRef })));
5090
+ return /* @__PURE__ */ React77.createElement(StylesField, { bind: "line-height", propDisplayName: LINE_HEIGHT_LABEL }, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: LINE_HEIGHT_LABEL, ref: rowRef }, /* @__PURE__ */ React77.createElement(import_editor_controls48.SizeControl, { anchorRef: rowRef })));
5058
5091
  };
5059
5092
 
5060
5093
  // src/components/style-sections/typography-section/text-alignment-field.tsx
5061
- var React77 = __toESM(require("react"));
5062
- var import_editor_controls48 = require("@elementor/editor-controls");
5063
- var import_icons21 = require("@elementor/icons");
5064
- var import_ui39 = require("@elementor/ui");
5065
- var import_i18n54 = require("@wordpress/i18n");
5066
- var TEXT_ALIGNMENT_LABEL = (0, import_i18n54.__)("Text align", "elementor");
5067
- var AlignStartIcon = (0, import_ui39.withDirection)(import_icons21.AlignLeftIcon);
5068
- var AlignEndIcon = (0, import_ui39.withDirection)(import_icons21.AlignRightIcon);
5094
+ var React78 = __toESM(require("react"));
5095
+ var import_editor_controls49 = require("@elementor/editor-controls");
5096
+ var import_icons22 = require("@elementor/icons");
5097
+ var import_ui40 = require("@elementor/ui");
5098
+ var import_i18n55 = require("@wordpress/i18n");
5099
+ var TEXT_ALIGNMENT_LABEL = (0, import_i18n55.__)("Text align", "elementor");
5100
+ var AlignStartIcon = (0, import_ui40.withDirection)(import_icons22.AlignLeftIcon);
5101
+ var AlignEndIcon = (0, import_ui40.withDirection)(import_icons22.AlignRightIcon);
5069
5102
  var options9 = [
5070
5103
  {
5071
5104
  value: "start",
5072
- label: (0, import_i18n54.__)("Start", "elementor"),
5073
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignStartIcon, { fontSize: size }),
5105
+ label: (0, import_i18n55.__)("Start", "elementor"),
5106
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignStartIcon, { fontSize: size }),
5074
5107
  showTooltip: true
5075
5108
  },
5076
5109
  {
5077
5110
  value: "center",
5078
- label: (0, import_i18n54.__)("Center", "elementor"),
5079
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.AlignCenterIcon, { fontSize: size }),
5111
+ label: (0, import_i18n55.__)("Center", "elementor"),
5112
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.AlignCenterIcon, { fontSize: size }),
5080
5113
  showTooltip: true
5081
5114
  },
5082
5115
  {
5083
5116
  value: "end",
5084
- label: (0, import_i18n54.__)("End", "elementor"),
5085
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(AlignEndIcon, { fontSize: size }),
5117
+ label: (0, import_i18n55.__)("End", "elementor"),
5118
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(AlignEndIcon, { fontSize: size }),
5086
5119
  showTooltip: true
5087
5120
  },
5088
5121
  {
5089
5122
  value: "justify",
5090
- label: (0, import_i18n54.__)("Justify", "elementor"),
5091
- renderContent: ({ size }) => /* @__PURE__ */ React77.createElement(import_icons21.AlignJustifiedIcon, { fontSize: size }),
5123
+ label: (0, import_i18n55.__)("Justify", "elementor"),
5124
+ renderContent: ({ size }) => /* @__PURE__ */ React78.createElement(import_icons22.AlignJustifiedIcon, { fontSize: size }),
5092
5125
  showTooltip: true
5093
5126
  }
5094
5127
  ];
5095
5128
  var TextAlignmentField = () => {
5096
- return /* @__PURE__ */ React77.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(UiProviders, null, /* @__PURE__ */ React77.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React77.createElement(import_editor_controls48.ToggleControl, { options: options9 }))));
5129
+ return /* @__PURE__ */ React78.createElement(StylesField, { bind: "text-align", propDisplayName: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(UiProviders, null, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_ALIGNMENT_LABEL }, /* @__PURE__ */ React78.createElement(import_editor_controls49.ToggleControl, { options: options9 }))));
5097
5130
  };
5098
5131
 
5099
5132
  // src/components/style-sections/typography-section/text-color-field.tsx
5100
- var React78 = __toESM(require("react"));
5101
- var import_editor_controls49 = require("@elementor/editor-controls");
5102
- var import_i18n55 = require("@wordpress/i18n");
5103
- var TEXT_COLOR_LABEL = (0, import_i18n55.__)("Text color", "elementor");
5133
+ var React79 = __toESM(require("react"));
5134
+ var import_editor_controls50 = require("@elementor/editor-controls");
5135
+ var import_i18n56 = require("@wordpress/i18n");
5136
+ var TEXT_COLOR_LABEL = (0, import_i18n56.__)("Text color", "elementor");
5104
5137
  var TextColorField = () => {
5105
- return /* @__PURE__ */ React78.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React78.createElement(import_editor_controls49.ColorControl, { id: "text-color-control" })));
5138
+ return /* @__PURE__ */ React79.createElement(StylesField, { bind: "color", propDisplayName: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_COLOR_LABEL }, /* @__PURE__ */ React79.createElement(import_editor_controls50.ColorControl, { id: "text-color-control" })));
5106
5139
  };
5107
5140
 
5108
5141
  // src/components/style-sections/typography-section/text-decoration-field.tsx
5109
- var React79 = __toESM(require("react"));
5110
- var import_editor_controls50 = require("@elementor/editor-controls");
5111
- var import_icons22 = require("@elementor/icons");
5112
- var import_i18n56 = require("@wordpress/i18n");
5113
- var TEXT_DECORATION_LABEL = (0, import_i18n56.__)("Line decoration", "elementor");
5142
+ var React80 = __toESM(require("react"));
5143
+ var import_editor_controls51 = require("@elementor/editor-controls");
5144
+ var import_icons23 = require("@elementor/icons");
5145
+ var import_i18n57 = require("@wordpress/i18n");
5146
+ var TEXT_DECORATION_LABEL = (0, import_i18n57.__)("Line decoration", "elementor");
5114
5147
  var options10 = [
5115
5148
  {
5116
5149
  value: "none",
5117
- label: (0, import_i18n56.__)("None", "elementor"),
5118
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.MinusIcon, { fontSize: size }),
5150
+ label: (0, import_i18n57.__)("None", "elementor"),
5151
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.MinusIcon, { fontSize: size }),
5119
5152
  showTooltip: true,
5120
5153
  exclusive: true
5121
5154
  },
5122
5155
  {
5123
5156
  value: "underline",
5124
- label: (0, import_i18n56.__)("Underline", "elementor"),
5125
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.UnderlineIcon, { fontSize: size }),
5157
+ label: (0, import_i18n57.__)("Underline", "elementor"),
5158
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.UnderlineIcon, { fontSize: size }),
5126
5159
  showTooltip: true
5127
5160
  },
5128
5161
  {
5129
5162
  value: "line-through",
5130
- label: (0, import_i18n56.__)("Line-through", "elementor"),
5131
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.StrikethroughIcon, { fontSize: size }),
5163
+ label: (0, import_i18n57.__)("Line-through", "elementor"),
5164
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.StrikethroughIcon, { fontSize: size }),
5132
5165
  showTooltip: true
5133
5166
  },
5134
5167
  {
5135
5168
  value: "overline",
5136
- label: (0, import_i18n56.__)("Overline", "elementor"),
5137
- renderContent: ({ size }) => /* @__PURE__ */ React79.createElement(import_icons22.OverlineIcon, { fontSize: size }),
5169
+ label: (0, import_i18n57.__)("Overline", "elementor"),
5170
+ renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.OverlineIcon, { fontSize: size }),
5138
5171
  showTooltip: true
5139
5172
  }
5140
5173
  ];
5141
- var TextDecorationField = () => /* @__PURE__ */ React79.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React79.createElement(import_editor_controls50.ToggleControl, { options: options10, exclusive: false })));
5174
+ var TextDecorationField = () => /* @__PURE__ */ React80.createElement(StylesField, { bind: "text-decoration", propDisplayName: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DECORATION_LABEL }, /* @__PURE__ */ React80.createElement(import_editor_controls51.ToggleControl, { options: options10, exclusive: false })));
5142
5175
 
5143
5176
  // src/components/style-sections/typography-section/text-direction-field.tsx
5144
- var React80 = __toESM(require("react"));
5145
- var import_editor_controls51 = require("@elementor/editor-controls");
5146
- var import_icons23 = require("@elementor/icons");
5147
- var import_i18n57 = require("@wordpress/i18n");
5148
- var TEXT_DIRECTION_LABEL = (0, import_i18n57.__)("Direction", "elementor");
5177
+ var React81 = __toESM(require("react"));
5178
+ var import_editor_controls52 = require("@elementor/editor-controls");
5179
+ var import_icons24 = require("@elementor/icons");
5180
+ var import_i18n58 = require("@wordpress/i18n");
5181
+ var TEXT_DIRECTION_LABEL = (0, import_i18n58.__)("Direction", "elementor");
5149
5182
  var options11 = [
5150
5183
  {
5151
5184
  value: "ltr",
5152
- label: (0, import_i18n57.__)("Left to right", "elementor"),
5153
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.TextDirectionLtrIcon, { fontSize: size }),
5185
+ label: (0, import_i18n58.__)("Left to right", "elementor"),
5186
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.TextDirectionLtrIcon, { fontSize: size }),
5154
5187
  showTooltip: true
5155
5188
  },
5156
5189
  {
5157
5190
  value: "rtl",
5158
- label: (0, import_i18n57.__)("Right to left", "elementor"),
5159
- renderContent: ({ size }) => /* @__PURE__ */ React80.createElement(import_icons23.TextDirectionRtlIcon, { fontSize: size }),
5191
+ label: (0, import_i18n58.__)("Right to left", "elementor"),
5192
+ renderContent: ({ size }) => /* @__PURE__ */ React81.createElement(import_icons24.TextDirectionRtlIcon, { fontSize: size }),
5160
5193
  showTooltip: true
5161
5194
  }
5162
5195
  ];
5163
5196
  var TextDirectionField = () => {
5164
- return /* @__PURE__ */ React80.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React80.createElement(import_editor_controls51.ToggleControl, { options: options11 })));
5197
+ return /* @__PURE__ */ React81.createElement(StylesField, { bind: "direction", propDisplayName: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(StylesFieldLayout, { label: TEXT_DIRECTION_LABEL }, /* @__PURE__ */ React81.createElement(import_editor_controls52.ToggleControl, { options: options11 })));
5165
5198
  };
5166
5199
 
5167
5200
  // src/components/style-sections/typography-section/text-stroke-field.tsx
5168
- var React82 = __toESM(require("react"));
5169
- var import_editor_controls52 = require("@elementor/editor-controls");
5170
- var import_i18n58 = require("@wordpress/i18n");
5201
+ var React83 = __toESM(require("react"));
5202
+ var import_editor_controls53 = require("@elementor/editor-controls");
5203
+ var import_i18n59 = require("@wordpress/i18n");
5171
5204
 
5172
5205
  // src/components/add-or-remove-content.tsx
5173
- var React81 = __toESM(require("react"));
5174
- var import_icons24 = require("@elementor/icons");
5175
- var import_ui40 = require("@elementor/ui");
5206
+ var React82 = __toESM(require("react"));
5207
+ var import_icons25 = require("@elementor/icons");
5208
+ var import_ui41 = require("@elementor/ui");
5176
5209
  var SIZE = "tiny";
5177
5210
  var AddOrRemoveContent = ({
5178
5211
  isAdded,
@@ -5182,8 +5215,8 @@ var AddOrRemoveContent = ({
5182
5215
  disabled,
5183
5216
  renderLabel
5184
5217
  }) => {
5185
- return /* @__PURE__ */ React81.createElement(SectionContent, null, /* @__PURE__ */ React81.createElement(
5186
- import_ui40.Stack,
5218
+ return /* @__PURE__ */ React82.createElement(SectionContent, null, /* @__PURE__ */ React82.createElement(
5219
+ import_ui41.Stack,
5187
5220
  {
5188
5221
  direction: "row",
5189
5222
  sx: {
@@ -5193,8 +5226,8 @@ var AddOrRemoveContent = ({
5193
5226
  }
5194
5227
  },
5195
5228
  renderLabel(),
5196
- isAdded ? /* @__PURE__ */ React81.createElement(import_ui40.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React81.createElement(import_icons24.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React81.createElement(import_ui40.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React81.createElement(import_icons24.PlusIcon, { fontSize: SIZE }))
5197
- ), /* @__PURE__ */ React81.createElement(import_ui40.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React81.createElement(SectionContent, null, children)));
5229
+ isAdded ? /* @__PURE__ */ React82.createElement(import_ui41.IconButton, { size: SIZE, onClick: onRemove, "aria-label": "Remove", disabled }, /* @__PURE__ */ React82.createElement(import_icons25.MinusIcon, { fontSize: SIZE })) : /* @__PURE__ */ React82.createElement(import_ui41.IconButton, { size: SIZE, onClick: onAdd, "aria-label": "Add", disabled }, /* @__PURE__ */ React82.createElement(import_icons25.PlusIcon, { fontSize: SIZE }))
5230
+ ), /* @__PURE__ */ React82.createElement(import_ui41.Collapse, { in: isAdded, unmountOnExit: true }, /* @__PURE__ */ React82.createElement(SectionContent, null, children)));
5198
5231
  };
5199
5232
 
5200
5233
  // src/components/style-sections/typography-section/text-stroke-field.tsx
@@ -5214,7 +5247,7 @@ var initTextStroke = {
5214
5247
  }
5215
5248
  }
5216
5249
  };
5217
- var TEXT_STROKE_LABEL = (0, import_i18n58.__)("Text stroke", "elementor");
5250
+ var TEXT_STROKE_LABEL = (0, import_i18n59.__)("Text stroke", "elementor");
5218
5251
  var TextStrokeField = () => {
5219
5252
  const { value, setValue, canEdit } = useStylesField("stroke", {
5220
5253
  history: { propDisplayName: TEXT_STROKE_LABEL }
@@ -5226,67 +5259,67 @@ var TextStrokeField = () => {
5226
5259
  setValue(null);
5227
5260
  };
5228
5261
  const hasTextStroke = Boolean(value);
5229
- return /* @__PURE__ */ React82.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React82.createElement(
5262
+ return /* @__PURE__ */ React83.createElement(StylesField, { bind: "stroke", propDisplayName: TEXT_STROKE_LABEL }, /* @__PURE__ */ React83.createElement(
5230
5263
  AddOrRemoveContent,
5231
5264
  {
5232
5265
  isAdded: hasTextStroke,
5233
5266
  onAdd: addTextStroke,
5234
5267
  onRemove: removeTextStroke,
5235
5268
  disabled: !canEdit,
5236
- renderLabel: () => /* @__PURE__ */ React82.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5269
+ renderLabel: () => /* @__PURE__ */ React83.createElement(ControlLabel, null, TEXT_STROKE_LABEL)
5237
5270
  },
5238
- /* @__PURE__ */ React82.createElement(import_editor_controls52.StrokeControl, null)
5271
+ /* @__PURE__ */ React83.createElement(import_editor_controls53.StrokeControl, null)
5239
5272
  ));
5240
5273
  };
5241
5274
 
5242
5275
  // src/components/style-sections/typography-section/transform-field.tsx
5243
- var React83 = __toESM(require("react"));
5244
- var import_editor_controls53 = require("@elementor/editor-controls");
5245
- var import_icons25 = require("@elementor/icons");
5246
- var import_i18n59 = require("@wordpress/i18n");
5247
- var TEXT_TRANSFORM_LABEL = (0, import_i18n59.__)("Text transform", "elementor");
5276
+ var React84 = __toESM(require("react"));
5277
+ var import_editor_controls54 = require("@elementor/editor-controls");
5278
+ var import_icons26 = require("@elementor/icons");
5279
+ var import_i18n60 = require("@wordpress/i18n");
5280
+ var TEXT_TRANSFORM_LABEL = (0, import_i18n60.__)("Text transform", "elementor");
5248
5281
  var options12 = [
5249
5282
  {
5250
5283
  value: "none",
5251
- label: (0, import_i18n59.__)("None", "elementor"),
5252
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.MinusIcon, { fontSize: size }),
5284
+ label: (0, import_i18n60.__)("None", "elementor"),
5285
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.MinusIcon, { fontSize: size }),
5253
5286
  showTooltip: true
5254
5287
  },
5255
5288
  {
5256
5289
  value: "capitalize",
5257
- label: (0, import_i18n59.__)("Capitalize", "elementor"),
5258
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseIcon, { fontSize: size }),
5290
+ label: (0, import_i18n60.__)("Capitalize", "elementor"),
5291
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseIcon, { fontSize: size }),
5259
5292
  showTooltip: true
5260
5293
  },
5261
5294
  {
5262
5295
  value: "uppercase",
5263
- label: (0, import_i18n59.__)("Uppercase", "elementor"),
5264
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseUpperIcon, { fontSize: size }),
5296
+ label: (0, import_i18n60.__)("Uppercase", "elementor"),
5297
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseUpperIcon, { fontSize: size }),
5265
5298
  showTooltip: true
5266
5299
  },
5267
5300
  {
5268
5301
  value: "lowercase",
5269
- label: (0, import_i18n59.__)("Lowercase", "elementor"),
5270
- renderContent: ({ size }) => /* @__PURE__ */ React83.createElement(import_icons25.LetterCaseLowerIcon, { fontSize: size }),
5302
+ label: (0, import_i18n60.__)("Lowercase", "elementor"),
5303
+ renderContent: ({ size }) => /* @__PURE__ */ React84.createElement(import_icons26.LetterCaseLowerIcon, { fontSize: size }),
5271
5304
  showTooltip: true
5272
5305
  }
5273
5306
  ];
5274
- var TransformField = () => /* @__PURE__ */ React83.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React83.createElement(import_editor_controls53.ToggleControl, { options: options12 })));
5307
+ var TransformField = () => /* @__PURE__ */ React84.createElement(StylesField, { bind: "text-transform", propDisplayName: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: TEXT_TRANSFORM_LABEL }, /* @__PURE__ */ React84.createElement(import_editor_controls54.ToggleControl, { options: options12 })));
5275
5308
 
5276
5309
  // src/components/style-sections/typography-section/word-spacing-field.tsx
5277
- var React84 = __toESM(require("react"));
5310
+ var React85 = __toESM(require("react"));
5278
5311
  var import_react36 = require("react");
5279
- var import_editor_controls54 = require("@elementor/editor-controls");
5280
- var import_i18n60 = require("@wordpress/i18n");
5281
- var WORD_SPACING_LABEL = (0, import_i18n60.__)("Word spacing", "elementor");
5312
+ var import_editor_controls55 = require("@elementor/editor-controls");
5313
+ var import_i18n61 = require("@wordpress/i18n");
5314
+ var WORD_SPACING_LABEL = (0, import_i18n61.__)("Word spacing", "elementor");
5282
5315
  var WordSpacingField = () => {
5283
5316
  const rowRef = (0, import_react36.useRef)(null);
5284
- return /* @__PURE__ */ React84.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React84.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React84.createElement(import_editor_controls54.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5317
+ return /* @__PURE__ */ React85.createElement(StylesField, { bind: "word-spacing", propDisplayName: WORD_SPACING_LABEL }, /* @__PURE__ */ React85.createElement(StylesFieldLayout, { label: WORD_SPACING_LABEL, ref: rowRef }, /* @__PURE__ */ React85.createElement(import_editor_controls55.SizeControl, { anchorRef: rowRef, min: -Number.MAX_SAFE_INTEGER })));
5285
5318
  };
5286
5319
 
5287
5320
  // src/components/style-sections/typography-section/typography-section.tsx
5288
5321
  var TypographySection = () => {
5289
- return /* @__PURE__ */ React85.createElement(SectionContent, null, /* @__PURE__ */ React85.createElement(FontFamilyField, null), /* @__PURE__ */ React85.createElement(FontWeightField, null), /* @__PURE__ */ React85.createElement(FontSizeField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextAlignmentField, null), /* @__PURE__ */ React85.createElement(TextColorField, null), /* @__PURE__ */ React85.createElement(
5322
+ return /* @__PURE__ */ React86.createElement(SectionContent, null, /* @__PURE__ */ React86.createElement(FontFamilyField, null), /* @__PURE__ */ React86.createElement(FontWeightField, null), /* @__PURE__ */ React86.createElement(FontSizeField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextAlignmentField, null), /* @__PURE__ */ React86.createElement(TextColorField, null), /* @__PURE__ */ React86.createElement(
5290
5323
  StyleTabCollapsibleContent,
5291
5324
  {
5292
5325
  fields: [
@@ -5301,18 +5334,18 @@ var TypographySection = () => {
5301
5334
  "stroke"
5302
5335
  ]
5303
5336
  },
5304
- /* @__PURE__ */ React85.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React85.createElement(LineHeightField, null), /* @__PURE__ */ React85.createElement(LetterSpacingField, null), /* @__PURE__ */ React85.createElement(WordSpacingField, null), /* @__PURE__ */ React85.createElement(ColumnCountField, null), /* @__PURE__ */ React85.createElement(ColumnGapField, null), /* @__PURE__ */ React85.createElement(PanelDivider, null), /* @__PURE__ */ React85.createElement(TextDecorationField, null), /* @__PURE__ */ React85.createElement(TransformField, null), /* @__PURE__ */ React85.createElement(TextDirectionField, null), /* @__PURE__ */ React85.createElement(FontStyleField, null), /* @__PURE__ */ React85.createElement(TextStrokeField, null))
5337
+ /* @__PURE__ */ React86.createElement(SectionContent, { sx: { pt: 2 } }, /* @__PURE__ */ React86.createElement(LineHeightField, null), /* @__PURE__ */ React86.createElement(LetterSpacingField, null), /* @__PURE__ */ React86.createElement(WordSpacingField, null), /* @__PURE__ */ React86.createElement(ColumnCountField, null), /* @__PURE__ */ React86.createElement(ColumnGapField, null), /* @__PURE__ */ React86.createElement(PanelDivider, null), /* @__PURE__ */ React86.createElement(TextDecorationField, null), /* @__PURE__ */ React86.createElement(TransformField, null), /* @__PURE__ */ React86.createElement(TextDirectionField, null), /* @__PURE__ */ React86.createElement(FontStyleField, null), /* @__PURE__ */ React86.createElement(TextStrokeField, null))
5305
5338
  ));
5306
5339
  };
5307
5340
 
5308
5341
  // src/components/style-tab-section.tsx
5309
- var React86 = __toESM(require("react"));
5342
+ var React87 = __toESM(require("react"));
5310
5343
  var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5311
5344
  const { component, name, title, action } = section;
5312
5345
  const tabDefaults = useDefaultPanelSettings();
5313
- const SectionComponent = component || (() => /* @__PURE__ */ React86.createElement(React86.Fragment, null));
5346
+ const SectionComponent = component || (() => /* @__PURE__ */ React87.createElement(React87.Fragment, null));
5314
5347
  const isExpanded = tabDefaults.defaultSectionsExpanded.style?.includes(name);
5315
- return /* @__PURE__ */ React86.createElement(
5348
+ return /* @__PURE__ */ React87.createElement(
5316
5349
  Section,
5317
5350
  {
5318
5351
  title,
@@ -5321,7 +5354,7 @@ var StyleTabSection = ({ section, fields = [], unmountOnExit = true }) => {
5321
5354
  unmountOnExit,
5322
5355
  action
5323
5356
  },
5324
- /* @__PURE__ */ React86.createElement(SectionComponent, null)
5357
+ /* @__PURE__ */ React87.createElement(SectionComponent, null)
5325
5358
  );
5326
5359
  };
5327
5360
 
@@ -5343,7 +5376,7 @@ var StyleTab = () => {
5343
5376
  if (!currentClassesProp) {
5344
5377
  return null;
5345
5378
  }
5346
- return /* @__PURE__ */ React87.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React87.createElement(
5379
+ return /* @__PURE__ */ React88.createElement(ClassesPropProvider, { prop: currentClassesProp }, /* @__PURE__ */ React88.createElement(
5347
5380
  StyleProvider,
5348
5381
  {
5349
5382
  meta: { breakpoint, state: activeStyleState },
@@ -5354,13 +5387,13 @@ var StyleTab = () => {
5354
5387
  },
5355
5388
  setMetaState: setActiveStyleState
5356
5389
  },
5357
- /* @__PURE__ */ React87.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React87.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React87.createElement(ClassesHeader, null, /* @__PURE__ */ React87.createElement(CssClassSelector, null), /* @__PURE__ */ React87.createElement(import_ui41.Divider, null)), /* @__PURE__ */ React87.createElement(SectionsList, null, /* @__PURE__ */ React87.createElement(
5390
+ /* @__PURE__ */ React88.createElement(import_session8.SessionStorageProvider, { prefix: activeStyleDefId ?? "" }, /* @__PURE__ */ React88.createElement(StyleInheritanceProvider, null, /* @__PURE__ */ React88.createElement(ClassesHeader, null, /* @__PURE__ */ React88.createElement(CssClassSelector, null), /* @__PURE__ */ React88.createElement(import_ui42.Divider, null)), /* @__PURE__ */ React88.createElement(SectionsList, null, /* @__PURE__ */ React88.createElement(
5358
5391
  StyleTabSection,
5359
5392
  {
5360
5393
  section: {
5361
5394
  component: LayoutSection,
5362
5395
  name: "Layout",
5363
- title: (0, import_i18n61.__)("Layout", "elementor")
5396
+ title: (0, import_i18n62.__)("Layout", "elementor")
5364
5397
  },
5365
5398
  fields: [
5366
5399
  "display",
@@ -5373,26 +5406,28 @@ var StyleTab = () => {
5373
5406
  "gap",
5374
5407
  "order",
5375
5408
  "grid-column",
5376
- "grid-row"
5409
+ "grid-row",
5410
+ "grid-auto-rows",
5411
+ "grid-auto-columns"
5377
5412
  ]
5378
5413
  }
5379
- ), /* @__PURE__ */ React87.createElement(
5414
+ ), /* @__PURE__ */ React88.createElement(
5380
5415
  StyleTabSection,
5381
5416
  {
5382
5417
  section: {
5383
5418
  component: SpacingSection,
5384
5419
  name: "Spacing",
5385
- title: (0, import_i18n61.__)("Spacing", "elementor")
5420
+ title: (0, import_i18n62.__)("Spacing", "elementor")
5386
5421
  },
5387
5422
  fields: ["margin", "padding"]
5388
5423
  }
5389
- ), /* @__PURE__ */ React87.createElement(
5424
+ ), /* @__PURE__ */ React88.createElement(
5390
5425
  StyleTabSection,
5391
5426
  {
5392
5427
  section: {
5393
5428
  component: SizeSection,
5394
5429
  name: "Size",
5395
- title: (0, import_i18n61.__)("Size", "elementor")
5430
+ title: (0, import_i18n62.__)("Size", "elementor")
5396
5431
  },
5397
5432
  fields: [
5398
5433
  "width",
@@ -5406,23 +5441,23 @@ var StyleTab = () => {
5406
5441
  "object-fit"
5407
5442
  ]
5408
5443
  }
5409
- ), /* @__PURE__ */ React87.createElement(
5444
+ ), /* @__PURE__ */ React88.createElement(
5410
5445
  StyleTabSection,
5411
5446
  {
5412
5447
  section: {
5413
5448
  component: PositionSection,
5414
5449
  name: "Position",
5415
- title: (0, import_i18n61.__)("Position", "elementor")
5450
+ title: (0, import_i18n62.__)("Position", "elementor")
5416
5451
  },
5417
5452
  fields: ["position", "z-index", "scroll-margin-top"]
5418
5453
  }
5419
- ), /* @__PURE__ */ React87.createElement(
5454
+ ), /* @__PURE__ */ React88.createElement(
5420
5455
  StyleTabSection,
5421
5456
  {
5422
5457
  section: {
5423
5458
  component: TypographySection,
5424
5459
  name: "Typography",
5425
- title: (0, import_i18n61.__)("Typography", "elementor")
5460
+ title: (0, import_i18n62.__)("Typography", "elementor")
5426
5461
  },
5427
5462
  fields: [
5428
5463
  "font-family",
@@ -5441,33 +5476,33 @@ var StyleTab = () => {
5441
5476
  "stroke"
5442
5477
  ]
5443
5478
  }
5444
- ), /* @__PURE__ */ React87.createElement(
5479
+ ), /* @__PURE__ */ React88.createElement(
5445
5480
  StyleTabSection,
5446
5481
  {
5447
5482
  section: {
5448
5483
  component: BackgroundSection,
5449
5484
  name: "Background",
5450
- title: (0, import_i18n61.__)("Background", "elementor")
5485
+ title: (0, import_i18n62.__)("Background", "elementor")
5451
5486
  },
5452
5487
  fields: ["background"]
5453
5488
  }
5454
- ), /* @__PURE__ */ React87.createElement(
5489
+ ), /* @__PURE__ */ React88.createElement(
5455
5490
  StyleTabSection,
5456
5491
  {
5457
5492
  section: {
5458
5493
  component: BorderSection,
5459
5494
  name: "Border",
5460
- title: (0, import_i18n61.__)("Border", "elementor")
5495
+ title: (0, import_i18n62.__)("Border", "elementor")
5461
5496
  },
5462
5497
  fields: ["border-radius", "border-width", "border-color", "border-style"]
5463
5498
  }
5464
- ), /* @__PURE__ */ React87.createElement(
5499
+ ), /* @__PURE__ */ React88.createElement(
5465
5500
  StyleTabSection,
5466
5501
  {
5467
5502
  section: {
5468
5503
  component: EffectsSection,
5469
5504
  name: "Effects",
5470
- title: (0, import_i18n61.__)("Effects", "elementor")
5505
+ title: (0, import_i18n62.__)("Effects", "elementor")
5471
5506
  },
5472
5507
  fields: [
5473
5508
  "mix-blend-mode",
@@ -5480,12 +5515,12 @@ var StyleTab = () => {
5480
5515
  "transition"
5481
5516
  ]
5482
5517
  }
5483
- ), /* @__PURE__ */ React87.createElement(StyleTabSlot, null)), /* @__PURE__ */ React87.createElement(import_ui41.Box, { sx: { height: "150px" } })))
5518
+ ), /* @__PURE__ */ React88.createElement(StyleTabSlot, null)), /* @__PURE__ */ React88.createElement(import_ui42.Box, { sx: { height: "150px" } })))
5484
5519
  ));
5485
5520
  };
5486
5521
  function ClassesHeader({ children }) {
5487
5522
  const scrollDirection = useScrollDirection();
5488
- return /* @__PURE__ */ React87.createElement(import_ui41.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5523
+ return /* @__PURE__ */ React88.createElement(import_ui42.Stack, { sx: { ...stickyHeaderStyles, top: scrollDirection === "up" ? TABS_HEADER_HEIGHT : 0 } }, children);
5489
5524
  }
5490
5525
  function useCurrentClassesProp() {
5491
5526
  const { elementType } = useElement();
@@ -5504,7 +5539,7 @@ var EditingPanelTabs = () => {
5504
5539
  return (
5505
5540
  // When switching between elements, the local states should be reset. We are using key to rerender the tabs.
5506
5541
  // Reference: https://react.dev/learn/preserving-and-resetting-state#resetting-a-form-with-a-key
5507
- /* @__PURE__ */ React88.createElement(import_react38.Fragment, { key: element.id }, /* @__PURE__ */ React88.createElement(PanelTabContent, null))
5542
+ /* @__PURE__ */ React89.createElement(import_react38.Fragment, { key: element.id }, /* @__PURE__ */ React89.createElement(PanelTabContent, null))
5508
5543
  );
5509
5544
  };
5510
5545
  var PanelTabContent = () => {
@@ -5515,9 +5550,9 @@ var PanelTabContent = () => {
5515
5550
  const isPromotedElement = !!(0, import_editor_elements12.getWidgetsCache)()?.[element.type]?.meta?.is_pro_promotion;
5516
5551
  const [storedTab, setCurrentTab] = useStateByElement("tab", defaultComponentTab);
5517
5552
  const currentTab = isPromotedElement && storedTab === "settings" ? "style" : storedTab;
5518
- const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui42.useTabs)(currentTab);
5519
- return /* @__PURE__ */ React88.createElement(ScrollProvider, null, /* @__PURE__ */ React88.createElement(import_ui42.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React88.createElement(import_ui42.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React88.createElement(
5520
- import_ui42.Tabs,
5553
+ const { getTabProps, getTabPanelProps, getTabsProps } = (0, import_ui43.useTabs)(currentTab);
5554
+ return /* @__PURE__ */ React89.createElement(ScrollProvider, null, /* @__PURE__ */ React89.createElement(import_ui43.Stack, { direction: "column", sx: { width: "100%" } }, /* @__PURE__ */ React89.createElement(import_ui43.Stack, { sx: { ...stickyHeaderStyles, top: 0 } }, /* @__PURE__ */ React89.createElement(
5555
+ import_ui43.Tabs,
5521
5556
  {
5522
5557
  variant: "fullWidth",
5523
5558
  size: "small",
@@ -5528,10 +5563,10 @@ var PanelTabContent = () => {
5528
5563
  setCurrentTab(newValue);
5529
5564
  }
5530
5565
  },
5531
- !isPromotedElement && /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("General", "elementor"), ...getTabProps("settings") }),
5532
- /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("Style", "elementor"), ...getTabProps("style") }),
5533
- isInteractionsActive && /* @__PURE__ */ React88.createElement(import_ui42.Tab, { label: (0, import_i18n62.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5534
- ), /* @__PURE__ */ React88.createElement(import_ui42.Divider, null)), !isPromotedElement && /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React88.createElement(SettingsTab, null)), /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React88.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React88.createElement(import_ui42.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React88.createElement(InteractionsTab, null))));
5566
+ !isPromotedElement && /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("General", "elementor"), ...getTabProps("settings") }),
5567
+ /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("Style", "elementor"), ...getTabProps("style") }),
5568
+ isInteractionsActive && /* @__PURE__ */ React89.createElement(import_ui43.Tab, { label: (0, import_i18n63.__)("Interactions", "elementor"), ...getTabProps("interactions") })
5569
+ ), /* @__PURE__ */ React89.createElement(import_ui43.Divider, null)), !isPromotedElement && /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("settings"), disablePadding: true }, /* @__PURE__ */ React89.createElement(SettingsTab, null)), /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("style"), disablePadding: true }, /* @__PURE__ */ React89.createElement(StyleTab, null)), isInteractionsActive && /* @__PURE__ */ React89.createElement(import_ui43.TabPanel, { ...getTabPanelProps("interactions"), disablePadding: true }, /* @__PURE__ */ React89.createElement(InteractionsTab, null))));
5535
5570
  };
5536
5571
 
5537
5572
  // src/components/editing-panel.tsx
@@ -5539,18 +5574,18 @@ var { Slot: PanelHeaderTopSlot, inject: injectIntoPanelHeaderTop } = (0, import_
5539
5574
  var { useMenuItems } = import_menus.controlActionsMenu;
5540
5575
  var EditingPanel = () => {
5541
5576
  const { element, elementType, settings } = (0, import_editor_elements13.useSelectedElementSettings)();
5542
- const controlReplacements = (0, import_editor_controls55.getControlReplacements)();
5577
+ const controlReplacements = (0, import_editor_controls56.getControlReplacements)();
5543
5578
  const menuItems = useMenuItems().default;
5544
5579
  if (!element || !elementType) {
5545
5580
  return null;
5546
5581
  }
5547
- const panelTitle = (0, import_i18n63.__)("Edit %s", "elementor").replace("%s", elementType.title);
5582
+ const panelTitle = (0, import_i18n64.__)("Edit %s", "elementor").replace("%s", elementType.title);
5548
5583
  const { component: ReplacementComponent } = getEditingPanelReplacement(element, elementType) ?? {};
5549
- let panelContent = /* @__PURE__ */ React89.createElement(React89.Fragment, null, /* @__PURE__ */ React89.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React89.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React89.createElement(import_icons26.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React89.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React89.createElement(EditingPanelTabs, null)));
5584
+ let panelContent = /* @__PURE__ */ React90.createElement(React90.Fragment, null, /* @__PURE__ */ React90.createElement(import_editor_panels.PanelHeader, null, /* @__PURE__ */ React90.createElement(import_editor_panels.PanelHeaderTitle, null, panelTitle), /* @__PURE__ */ React90.createElement(import_icons27.AtomIcon, { fontSize: "small", sx: { color: "text.tertiary" } })), /* @__PURE__ */ React90.createElement(import_editor_panels.PanelBody, null, /* @__PURE__ */ React90.createElement(EditingPanelTabs, null)));
5550
5585
  if (ReplacementComponent) {
5551
- panelContent = /* @__PURE__ */ React89.createElement(ReplacementComponent, null);
5586
+ panelContent = /* @__PURE__ */ React90.createElement(ReplacementComponent, null);
5552
5587
  }
5553
- return /* @__PURE__ */ React89.createElement(import_ui43.ErrorBoundary, { fallback: /* @__PURE__ */ React89.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React89.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React89.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React89.createElement(import_editor_controls55.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React89.createElement(import_editor_controls55.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React89.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React89.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React89.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5588
+ return /* @__PURE__ */ React90.createElement(import_ui44.ErrorBoundary, { fallback: /* @__PURE__ */ React90.createElement(EditorPanelErrorFallback, null) }, /* @__PURE__ */ React90.createElement(import_session9.SessionStorageProvider, { prefix: "elementor" }, /* @__PURE__ */ React90.createElement(import_editor_ui8.ThemeProvider, null, /* @__PURE__ */ React90.createElement(import_editor_controls56.ControlActionsProvider, { items: menuItems }, /* @__PURE__ */ React90.createElement(import_editor_controls56.ControlReplacementsProvider, { replacements: controlReplacements }, /* @__PURE__ */ React90.createElement(ElementProvider, { element, elementType, settings }, /* @__PURE__ */ React90.createElement(import_editor_panels.Panel, null, /* @__PURE__ */ React90.createElement(PanelHeaderTopSlot, null), panelContent)))))));
5554
5589
  };
5555
5590
 
5556
5591
  // src/init.ts
@@ -5599,24 +5634,24 @@ var EditingPanelHooks = () => {
5599
5634
  };
5600
5635
 
5601
5636
  // src/components/promotions/init.tsx
5602
- var import_editor_controls57 = require("@elementor/editor-controls");
5637
+ var import_editor_controls58 = require("@elementor/editor-controls");
5603
5638
 
5604
5639
  // src/components/promotions/custom-css.tsx
5605
- var React90 = __toESM(require("react"));
5640
+ var React91 = __toESM(require("react"));
5606
5641
  var import_react40 = require("react");
5607
- var import_editor_controls56 = require("@elementor/editor-controls");
5608
- var import_i18n64 = require("@wordpress/i18n");
5642
+ var import_editor_controls57 = require("@elementor/editor-controls");
5643
+ var import_i18n65 = require("@wordpress/i18n");
5609
5644
  var TRACKING_DATA = { target_name: "custom_css", location_l2: "style" };
5610
5645
  var CustomCssSection = () => {
5611
5646
  const triggerRef = (0, import_react40.useRef)(null);
5612
- return /* @__PURE__ */ React90.createElement(
5647
+ return /* @__PURE__ */ React91.createElement(
5613
5648
  StyleTabSection,
5614
5649
  {
5615
5650
  section: {
5616
5651
  name: "Custom CSS",
5617
- title: (0, import_i18n64.__)("Custom CSS", "elementor"),
5652
+ title: (0, import_i18n65.__)("Custom CSS", "elementor"),
5618
5653
  action: {
5619
- component: /* @__PURE__ */ React90.createElement(import_editor_controls56.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5654
+ component: /* @__PURE__ */ React91.createElement(import_editor_controls57.PromotionTrigger, { ref: triggerRef, promotionKey: "customCss", trackingData: TRACKING_DATA }),
5620
5655
  onClick: () => triggerRef.current?.toggle()
5621
5656
  }
5622
5657
  }
@@ -5632,19 +5667,19 @@ var init = () => {
5632
5667
  options: { overwrite: true }
5633
5668
  });
5634
5669
  if (!window.elementorPro) {
5635
- controlsRegistry.register("attributes", import_editor_controls57.AttributesControl, "two-columns");
5636
- controlsRegistry.register("display-conditions", import_editor_controls57.DisplayConditionsControl, "two-columns");
5670
+ controlsRegistry.register("attributes", import_editor_controls58.AttributesControl, "two-columns");
5671
+ controlsRegistry.register("display-conditions", import_editor_controls58.DisplayConditionsControl, "two-columns");
5637
5672
  }
5638
5673
  };
5639
5674
 
5640
5675
  // src/controls-registry/element-controls/tabs-control/tabs-control.tsx
5641
- var React91 = __toESM(require("react"));
5642
- var import_editor_controls59 = require("@elementor/editor-controls");
5676
+ var React92 = __toESM(require("react"));
5677
+ var import_editor_controls60 = require("@elementor/editor-controls");
5643
5678
  var import_editor_elements17 = require("@elementor/editor-elements");
5644
5679
  var import_editor_props17 = require("@elementor/editor-props");
5645
- var import_icons27 = require("@elementor/icons");
5646
- var import_ui44 = require("@elementor/ui");
5647
- var import_i18n66 = require("@wordpress/i18n");
5680
+ var import_icons28 = require("@elementor/icons");
5681
+ var import_ui45 = require("@elementor/ui");
5682
+ var import_i18n67 = require("@wordpress/i18n");
5648
5683
 
5649
5684
  // src/controls-registry/element-controls/get-element-by-type.ts
5650
5685
  var import_editor_elements15 = require("@elementor/editor-elements");
@@ -5660,14 +5695,14 @@ var getElementByType = (elementId, type) => {
5660
5695
  };
5661
5696
 
5662
5697
  // src/controls-registry/element-controls/tabs-control/use-actions.ts
5663
- var import_editor_controls58 = require("@elementor/editor-controls");
5698
+ var import_editor_controls59 = require("@elementor/editor-controls");
5664
5699
  var import_editor_elements16 = require("@elementor/editor-elements");
5665
5700
  var import_editor_props16 = require("@elementor/editor-props");
5666
- var import_i18n65 = require("@wordpress/i18n");
5701
+ var import_i18n66 = require("@wordpress/i18n");
5667
5702
  var TAB_ELEMENT_TYPE = "e-tab";
5668
5703
  var TAB_CONTENT_ELEMENT_TYPE = "e-tab-content";
5669
5704
  var useActions = () => {
5670
- const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls58.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5705
+ const { value, setValue: setDefaultActiveTab } = (0, import_editor_controls59.useBoundProp)(import_editor_props16.numberPropTypeUtil);
5671
5706
  const defaultActiveTab = value ?? 0;
5672
5707
  const duplicateItem = ({
5673
5708
  items: items3,
@@ -5686,7 +5721,7 @@ var useActions = () => {
5686
5721
  }
5687
5722
  (0, import_editor_elements16.duplicateElements)({
5688
5723
  elementIds: [tabId, tabContentId],
5689
- title: (0, import_i18n65.__)("Duplicate Tab", "elementor"),
5724
+ title: (0, import_i18n66.__)("Duplicate Tab", "elementor"),
5690
5725
  onDuplicateElements: () => {
5691
5726
  if (newDefault !== defaultActiveTab) {
5692
5727
  setDefaultActiveTab(newDefault, {}, { withHistory: false });
@@ -5723,7 +5758,7 @@ var useActions = () => {
5723
5758
  defaultActiveTab
5724
5759
  });
5725
5760
  (0, import_editor_elements16.moveElements)({
5726
- title: (0, import_i18n65.__)("Reorder Tabs", "elementor"),
5761
+ title: (0, import_i18n66.__)("Reorder Tabs", "elementor"),
5727
5762
  moves: [
5728
5763
  {
5729
5764
  element: movedElement,
@@ -5757,7 +5792,7 @@ var useActions = () => {
5757
5792
  defaultActiveTab
5758
5793
  });
5759
5794
  (0, import_editor_elements16.removeElements)({
5760
- title: (0, import_i18n65.__)("Tabs", "elementor"),
5795
+ title: (0, import_i18n66.__)("Tabs", "elementor"),
5761
5796
  elementIds: items3.flatMap(({ item, index }) => {
5762
5797
  const tabId = item.id;
5763
5798
  const tabContentContainer = (0, import_editor_elements16.getContainer)(tabContentAreaId);
@@ -5792,7 +5827,7 @@ var useActions = () => {
5792
5827
  items3.forEach(({ index }) => {
5793
5828
  const position = index + 1;
5794
5829
  (0, import_editor_elements16.createElements)({
5795
- title: (0, import_i18n65.__)("Tabs", "elementor"),
5830
+ title: (0, import_i18n66.__)("Tabs", "elementor"),
5796
5831
  elements: [
5797
5832
  {
5798
5833
  container: tabContentArea,
@@ -5861,7 +5896,7 @@ var calculateDefaultOnDuplicate = ({
5861
5896
  var TAB_MENU_ELEMENT_TYPE = "e-tabs-menu";
5862
5897
  var TAB_CONTENT_AREA_ELEMENT_TYPE = "e-tabs-content-area";
5863
5898
  var TabsControl = ({ label }) => {
5864
- return /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n66.__)("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(TabsControlContent, { label }));
5899
+ return /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n67.__)("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(TabsControlContent, { label }));
5865
5900
  };
5866
5901
  var TabsControlContent = ({ label }) => {
5867
5902
  const { element } = useElement();
@@ -5905,8 +5940,8 @@ var TabsControlContent = ({ label }) => {
5905
5940
  });
5906
5941
  }
5907
5942
  };
5908
- return /* @__PURE__ */ React91.createElement(
5909
- import_editor_controls59.Repeater,
5943
+ return /* @__PURE__ */ React92.createElement(
5944
+ import_editor_controls60.Repeater,
5910
5945
  {
5911
5946
  showToggle: false,
5912
5947
  values: repeaterValues,
@@ -5925,27 +5960,27 @@ var TabsControlContent = ({ label }) => {
5925
5960
  };
5926
5961
  var ItemLabel = ({ value, index }) => {
5927
5962
  const elementTitle = value?.title;
5928
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React91.createElement("span", null, elementTitle), /* @__PURE__ */ React91.createElement(ItemDefaultTab, { index }));
5963
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { sx: { minHeight: 20 }, direction: "row", alignItems: "center", gap: 1.5 }, /* @__PURE__ */ React92.createElement("span", null, elementTitle), /* @__PURE__ */ React92.createElement(ItemDefaultTab, { index }));
5929
5964
  };
5930
5965
  var ItemDefaultTab = ({ index }) => {
5931
- const { value: defaultItem } = (0, import_editor_controls59.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5966
+ const { value: defaultItem } = (0, import_editor_controls60.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5932
5967
  const isDefault = defaultItem === index;
5933
5968
  if (!isDefault) {
5934
5969
  return null;
5935
5970
  }
5936
- return /* @__PURE__ */ React91.createElement(import_ui44.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n66.__)("Default", "elementor") });
5971
+ return /* @__PURE__ */ React92.createElement(import_ui45.Chip, { size: "tiny", shape: "rounded", label: (0, import_i18n67.__)("Default", "elementor") });
5937
5972
  };
5938
5973
  var ItemContent = ({ value, index }) => {
5939
5974
  if (!value.id) {
5940
5975
  return null;
5941
5976
  }
5942
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React91.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React91.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n66.__)("Tabs", "elementor") }, /* @__PURE__ */ React91.createElement(DefaultTabControl, { tabIndex: index })));
5977
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { p: 2, gap: 1.5 }, /* @__PURE__ */ React92.createElement(TabLabelControl, { elementId: value.id }), /* @__PURE__ */ React92.createElement(SettingsField, { bind: "default-active-tab", propDisplayName: (0, import_i18n67.__)("Tabs", "elementor") }, /* @__PURE__ */ React92.createElement(DefaultTabControl, { tabIndex: index })));
5943
5978
  };
5944
5979
  var DefaultTabControl = ({ tabIndex }) => {
5945
- const { value, setValue } = (0, import_editor_controls59.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5980
+ const { value, setValue } = (0, import_editor_controls60.useBoundProp)(import_editor_props17.numberPropTypeUtil);
5946
5981
  const isDefault = value === tabIndex;
5947
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React91.createElement(import_editor_controls59.ControlFormLabel, null, (0, import_i18n66.__)("Set as default tab", "elementor")), /* @__PURE__ */ React91.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React91.createElement(
5948
- import_ui44.Switch,
5982
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { direction: "row", alignItems: "center", justifyContent: "space-between", gap: 2 }, /* @__PURE__ */ React92.createElement(import_editor_controls60.ControlFormLabel, null, (0, import_i18n67.__)("Set as default tab", "elementor")), /* @__PURE__ */ React92.createElement(ConditionalTooltip, { showTooltip: isDefault, placement: "right" }, /* @__PURE__ */ React92.createElement(
5983
+ import_ui45.Switch,
5949
5984
  {
5950
5985
  size: "small",
5951
5986
  checked: isDefault,
@@ -5962,8 +5997,8 @@ var DefaultTabControl = ({ tabIndex }) => {
5962
5997
  var TabLabelControl = ({ elementId }) => {
5963
5998
  const editorSettings = (0, import_editor_elements17.useElementEditorSettings)(elementId);
5964
5999
  const label = editorSettings?.title ?? "";
5965
- return /* @__PURE__ */ React91.createElement(import_ui44.Stack, { gap: 1 }, /* @__PURE__ */ React91.createElement(import_editor_controls59.ControlFormLabel, null, (0, import_i18n66.__)("Tab name", "elementor")), /* @__PURE__ */ React91.createElement(
5966
- import_ui44.TextField,
6000
+ return /* @__PURE__ */ React92.createElement(import_ui45.Stack, { gap: 1 }, /* @__PURE__ */ React92.createElement(import_editor_controls60.ControlFormLabel, null, (0, import_i18n67.__)("Tab name", "elementor")), /* @__PURE__ */ React92.createElement(
6001
+ import_ui45.TextField,
5967
6002
  {
5968
6003
  size: "tiny",
5969
6004
  value: label,
@@ -5983,22 +6018,22 @@ var ConditionalTooltip = ({
5983
6018
  if (!showTooltip) {
5984
6019
  return children;
5985
6020
  }
5986
- return /* @__PURE__ */ React91.createElement(
5987
- import_ui44.Infotip,
6021
+ return /* @__PURE__ */ React92.createElement(
6022
+ import_ui45.Infotip,
5988
6023
  {
5989
6024
  arrow: false,
5990
- content: /* @__PURE__ */ React91.createElement(
5991
- import_ui44.Alert,
6025
+ content: /* @__PURE__ */ React92.createElement(
6026
+ import_ui45.Alert,
5992
6027
  {
5993
6028
  color: "secondary",
5994
- icon: /* @__PURE__ */ React91.createElement(import_icons27.InfoCircleFilledIcon, { fontSize: "tiny" }),
6029
+ icon: /* @__PURE__ */ React92.createElement(import_icons28.InfoCircleFilledIcon, { fontSize: "tiny" }),
5995
6030
  size: "small",
5996
6031
  sx: { width: 288 }
5997
6032
  },
5998
- /* @__PURE__ */ React91.createElement(import_ui44.Typography, { variant: "body2" }, (0, import_i18n66.__)("To change the default tab, simply set another tab as default.", "elementor"))
6033
+ /* @__PURE__ */ React92.createElement(import_ui45.Typography, { variant: "body2" }, (0, import_i18n67.__)("To change the default tab, simply set another tab as default.", "elementor"))
5999
6034
  )
6000
6035
  },
6001
- /* @__PURE__ */ React91.createElement("span", null, children)
6036
+ /* @__PURE__ */ React92.createElement("span", null, children)
6002
6037
  );
6003
6038
  };
6004
6039
 
@@ -6016,21 +6051,21 @@ var registerElementControls = () => {
6016
6051
 
6017
6052
  // src/dynamics/init.ts
6018
6053
  var import_editor_canvas3 = require("@elementor/editor-canvas");
6019
- var import_editor_controls66 = require("@elementor/editor-controls");
6054
+ var import_editor_controls67 = require("@elementor/editor-controls");
6020
6055
  var import_menus2 = require("@elementor/menus");
6021
6056
 
6022
6057
  // src/dynamics/components/background-control-dynamic-tag.tsx
6023
- var React92 = __toESM(require("react"));
6024
- var import_editor_controls61 = require("@elementor/editor-controls");
6058
+ var React93 = __toESM(require("react"));
6059
+ var import_editor_controls62 = require("@elementor/editor-controls");
6025
6060
  var import_editor_props19 = require("@elementor/editor-props");
6026
- var import_icons28 = require("@elementor/icons");
6061
+ var import_icons29 = require("@elementor/icons");
6027
6062
 
6028
6063
  // src/dynamics/hooks/use-dynamic-tag.ts
6029
6064
  var import_react43 = require("react");
6030
6065
 
6031
6066
  // src/dynamics/hooks/use-prop-dynamic-tags.ts
6032
6067
  var import_react42 = require("react");
6033
- var import_editor_controls60 = require("@elementor/editor-controls");
6068
+ var import_editor_controls61 = require("@elementor/editor-controls");
6034
6069
 
6035
6070
  // src/dynamics/sync/get-atomic-dynamic-tags.ts
6036
6071
  var import_editor_v1_adapters11 = require("@elementor/editor-v1-adapters");
@@ -6114,7 +6149,7 @@ var useAllPropDynamicTags = () => {
6114
6149
  };
6115
6150
  var usePropDynamicTagsInternal = (filterByLicense2) => {
6116
6151
  let categories = [];
6117
- const { propType } = (0, import_editor_controls60.useBoundProp)();
6152
+ const { propType } = (0, import_editor_controls61.useBoundProp)();
6118
6153
  if (propType) {
6119
6154
  const propDynamicType = getDynamicPropType(propType);
6120
6155
  categories = propDynamicType?.settings.categories || [];
@@ -6158,29 +6193,29 @@ var useDynamicTag = (tagName) => {
6158
6193
  };
6159
6194
 
6160
6195
  // src/dynamics/components/background-control-dynamic-tag.tsx
6161
- var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React92.createElement(import_icons28.DatabaseIcon, { fontSize: "tiny" });
6196
+ var BackgroundControlDynamicTagIcon = () => /* @__PURE__ */ React93.createElement(import_icons29.DatabaseIcon, { fontSize: "tiny" });
6162
6197
  var BackgroundControlDynamicTagLabel = ({ value }) => {
6163
- const context = (0, import_editor_controls61.useBoundProp)(import_editor_props19.backgroundImageOverlayPropTypeUtil);
6164
- return /* @__PURE__ */ React92.createElement(import_editor_controls61.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React92.createElement(import_editor_controls61.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React92.createElement(Wrapper2, { rawValue: value.value })));
6198
+ const context = (0, import_editor_controls62.useBoundProp)(import_editor_props19.backgroundImageOverlayPropTypeUtil);
6199
+ return /* @__PURE__ */ React93.createElement(import_editor_controls62.PropProvider, { ...context, value: value.value }, /* @__PURE__ */ React93.createElement(import_editor_controls62.PropKeyProvider, { bind: "image" }, /* @__PURE__ */ React93.createElement(Wrapper2, { rawValue: value.value })));
6165
6200
  };
6166
6201
  var Wrapper2 = ({ rawValue }) => {
6167
- const { propType } = (0, import_editor_controls61.useBoundProp)();
6202
+ const { propType } = (0, import_editor_controls62.useBoundProp)();
6168
6203
  const imageOverlayPropType = propType.prop_types["background-image-overlay"];
6169
- return /* @__PURE__ */ React92.createElement(import_editor_controls61.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React92.createElement(import_editor_controls61.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React92.createElement(Content, { rawValue: rawValue.image })));
6204
+ return /* @__PURE__ */ React93.createElement(import_editor_controls62.PropProvider, { propType: imageOverlayPropType.shape.image, value: rawValue, setValue: () => void 0 }, /* @__PURE__ */ React93.createElement(import_editor_controls62.PropKeyProvider, { bind: "src" }, /* @__PURE__ */ React93.createElement(Content, { rawValue: rawValue.image })));
6170
6205
  };
6171
6206
  var Content = ({ rawValue }) => {
6172
6207
  const src = rawValue.value.src;
6173
6208
  const dynamicTag = useDynamicTag(src.value.name || "");
6174
- return /* @__PURE__ */ React92.createElement(React92.Fragment, null, dynamicTag?.label);
6209
+ return /* @__PURE__ */ React93.createElement(React93.Fragment, null, dynamicTag?.label);
6175
6210
  };
6176
6211
 
6177
6212
  // src/dynamics/components/dynamic-selection-control.tsx
6178
- var React96 = __toESM(require("react"));
6179
- var import_editor_controls64 = require("@elementor/editor-controls");
6213
+ var React97 = __toESM(require("react"));
6214
+ var import_editor_controls65 = require("@elementor/editor-controls");
6180
6215
  var import_editor_ui10 = require("@elementor/editor-ui");
6181
- var import_icons30 = require("@elementor/icons");
6182
- var import_ui46 = require("@elementor/ui");
6183
- var import_i18n68 = require("@wordpress/i18n");
6216
+ var import_icons31 = require("@elementor/icons");
6217
+ var import_ui47 = require("@elementor/ui");
6218
+ var import_i18n69 = require("@wordpress/i18n");
6184
6219
 
6185
6220
  // src/hooks/use-persist-dynamic-value.ts
6186
6221
  var import_session10 = require("@elementor/session");
@@ -6191,11 +6226,11 @@ var usePersistDynamicValue = (propKey) => {
6191
6226
  };
6192
6227
 
6193
6228
  // src/dynamics/dynamic-control.tsx
6194
- var React94 = __toESM(require("react"));
6195
- var import_editor_controls62 = require("@elementor/editor-controls");
6229
+ var React95 = __toESM(require("react"));
6230
+ var import_editor_controls63 = require("@elementor/editor-controls");
6196
6231
 
6197
6232
  // src/dynamics/components/dynamic-conditional-control.tsx
6198
- var React93 = __toESM(require("react"));
6233
+ var React94 = __toESM(require("react"));
6199
6234
  var import_react44 = require("react");
6200
6235
  var import_editor_props20 = require("@elementor/editor-props");
6201
6236
  var DynamicConditionalControl = ({
@@ -6237,15 +6272,15 @@ var DynamicConditionalControl = ({
6237
6272
  return { ...defaults, ...convertedSettings };
6238
6273
  }, [defaults, convertedSettings]);
6239
6274
  if (!propType?.dependencies?.terms.length) {
6240
- return /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6275
+ return /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6241
6276
  }
6242
6277
  const isHidden = !(0, import_editor_props20.isDependencyMet)(propType?.dependencies, effectiveSettings).isMet;
6243
- return isHidden ? null : /* @__PURE__ */ React93.createElement(React93.Fragment, null, children);
6278
+ return isHidden ? null : /* @__PURE__ */ React94.createElement(React94.Fragment, null, children);
6244
6279
  };
6245
6280
 
6246
6281
  // src/dynamics/dynamic-control.tsx
6247
6282
  var DynamicControl = ({ bind, children }) => {
6248
- const { value, setValue } = (0, import_editor_controls62.useBoundProp)(dynamicPropTypeUtil);
6283
+ const { value, setValue } = (0, import_editor_controls63.useBoundProp)(dynamicPropTypeUtil);
6249
6284
  const { name = "", group = "", settings } = value ?? {};
6250
6285
  const dynamicTag = useDynamicTag(name);
6251
6286
  if (!dynamicTag) {
@@ -6265,7 +6300,7 @@ var DynamicControl = ({ bind, children }) => {
6265
6300
  });
6266
6301
  };
6267
6302
  const propType = createTopLevelObjectType({ schema: dynamicTag.props_schema });
6268
- return /* @__PURE__ */ React94.createElement(import_editor_controls62.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React94.createElement(import_editor_controls62.PropKeyProvider, { bind }, /* @__PURE__ */ React94.createElement(
6303
+ return /* @__PURE__ */ React95.createElement(import_editor_controls63.PropProvider, { propType, setValue: setDynamicValue, value: { [bind]: dynamicValue } }, /* @__PURE__ */ React95.createElement(import_editor_controls63.PropKeyProvider, { bind }, /* @__PURE__ */ React95.createElement(
6269
6304
  DynamicConditionalControl,
6270
6305
  {
6271
6306
  propType: dynamicPropType,
@@ -6277,13 +6312,13 @@ var DynamicControl = ({ bind, children }) => {
6277
6312
  };
6278
6313
 
6279
6314
  // src/dynamics/components/dynamic-selection.tsx
6280
- var React95 = __toESM(require("react"));
6315
+ var React96 = __toESM(require("react"));
6281
6316
  var import_react45 = require("react");
6282
- var import_editor_controls63 = require("@elementor/editor-controls");
6317
+ var import_editor_controls64 = require("@elementor/editor-controls");
6283
6318
  var import_editor_ui9 = require("@elementor/editor-ui");
6284
- var import_icons29 = require("@elementor/icons");
6285
- var import_ui45 = require("@elementor/ui");
6286
- var import_i18n67 = require("@wordpress/i18n");
6319
+ var import_icons30 = require("@elementor/icons");
6320
+ var import_ui46 = require("@elementor/ui");
6321
+ var import_i18n68 = require("@wordpress/i18n");
6287
6322
  var SIZE2 = "tiny";
6288
6323
  var PROMO_TEXT_WIDTH = 170;
6289
6324
  var PRO_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-modal/";
@@ -6291,18 +6326,18 @@ var RENEW_DYNAMIC_TAGS_URL = "https://go.elementor.com/go-pro-dynamic-tags-renew
6291
6326
  var DynamicSelection = ({ close: closePopover, expired = false }) => {
6292
6327
  const [searchValue, setSearchValue] = (0, import_react45.useState)("");
6293
6328
  const { groups: dynamicGroups } = getAtomicDynamicTags() || {};
6294
- const theme = (0, import_ui45.useTheme)();
6295
- const { value: anyValue } = (0, import_editor_controls63.useBoundProp)();
6296
- const { bind, value: dynamicValue, setValue } = (0, import_editor_controls63.useBoundProp)(dynamicPropTypeUtil);
6329
+ const theme = (0, import_ui46.useTheme)();
6330
+ const { value: anyValue } = (0, import_editor_controls64.useBoundProp)();
6331
+ const { bind, value: dynamicValue, setValue } = (0, import_editor_controls64.useBoundProp)(dynamicPropTypeUtil);
6297
6332
  const [, updatePropValueHistory] = usePersistDynamicValue(bind);
6298
6333
  const isCurrentValueDynamic = !!dynamicValue;
6299
6334
  const options13 = useFilteredOptions(searchValue);
6300
6335
  const hasNoDynamicTags = !options13.length && !searchValue.trim();
6301
6336
  (0, import_react45.useEffect)(() => {
6302
6337
  if (hasNoDynamicTags) {
6303
- (0, import_editor_controls63.trackViewPromotion)({ target_name: "dynamic_tags" });
6338
+ (0, import_editor_controls64.trackViewPromotion)({ target_name: "dynamic_tags" });
6304
6339
  } else if (expired) {
6305
- (0, import_editor_controls63.trackViewPromotion)({ target_name: "dynamic_tags" });
6340
+ (0, import_editor_controls64.trackViewPromotion)({ target_name: "dynamic_tags" });
6306
6341
  }
6307
6342
  }, [hasNoDynamicTags, expired]);
6308
6343
  const handleSearch = (value) => {
@@ -6330,19 +6365,19 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6330
6365
  ]);
6331
6366
  const getPopOverContent = () => {
6332
6367
  if (hasNoDynamicTags) {
6333
- return /* @__PURE__ */ React95.createElement(NoDynamicTags, null);
6368
+ return /* @__PURE__ */ React96.createElement(NoDynamicTags, null);
6334
6369
  }
6335
6370
  if (expired) {
6336
- return /* @__PURE__ */ React95.createElement(ExpiredDynamicTags, null);
6371
+ return /* @__PURE__ */ React96.createElement(ExpiredDynamicTags, null);
6337
6372
  }
6338
- return /* @__PURE__ */ React95.createElement(import_react45.Fragment, null, /* @__PURE__ */ React95.createElement(
6373
+ return /* @__PURE__ */ React96.createElement(import_react45.Fragment, null, /* @__PURE__ */ React96.createElement(
6339
6374
  import_editor_ui9.SearchField,
6340
6375
  {
6341
6376
  value: searchValue,
6342
6377
  onSearch: handleSearch,
6343
- placeholder: (0, import_i18n67.__)("Search dynamic tags\u2026", "elementor")
6378
+ placeholder: (0, import_i18n68.__)("Search dynamic tags\u2026", "elementor")
6344
6379
  }
6345
- ), /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6380
+ ), /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6346
6381
  import_editor_ui9.PopoverMenuList,
6347
6382
  {
6348
6383
  items: virtualizedItems,
@@ -6350,21 +6385,21 @@ var DynamicSelection = ({ close: closePopover, expired = false }) => {
6350
6385
  onClose: closePopover,
6351
6386
  selectedValue: dynamicValue?.name,
6352
6387
  itemStyle: (item) => item.type === "item" ? { paddingInlineStart: theme.spacing(3.5) } : {},
6353
- noResultsComponent: /* @__PURE__ */ React95.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6388
+ noResultsComponent: /* @__PURE__ */ React96.createElement(NoResults, { searchValue, onClear: () => setSearchValue("") })
6354
6389
  }
6355
6390
  ));
6356
6391
  };
6357
- return /* @__PURE__ */ React95.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n67.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React95.createElement(
6392
+ return /* @__PURE__ */ React96.createElement(import_editor_ui9.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(
6358
6393
  import_editor_ui9.PopoverHeader,
6359
6394
  {
6360
- title: (0, import_i18n67.__)("Dynamic tags", "elementor"),
6395
+ title: (0, import_i18n68.__)("Dynamic tags", "elementor"),
6361
6396
  onClose: closePopover,
6362
- icon: /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: SIZE2 })
6397
+ icon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE2 })
6363
6398
  }
6364
6399
  ), getPopOverContent());
6365
6400
  };
6366
- var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElement(
6367
- import_ui45.Stack,
6401
+ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React96.createElement(
6402
+ import_ui46.Stack,
6368
6403
  {
6369
6404
  gap: 1,
6370
6405
  alignItems: "center",
@@ -6374,12 +6409,12 @@ var NoResults = ({ searchValue, onClear }) => /* @__PURE__ */ React95.createElem
6374
6409
  color: "text.secondary",
6375
6410
  sx: { pb: 3.5 }
6376
6411
  },
6377
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6378
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React95.createElement("br", null), "\u201C", searchValue, "\u201D."),
6379
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n67.__)("Try something else.", "elementor"), /* @__PURE__ */ React95.createElement(import_ui45.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n67.__)("Clear & try again", "elementor")))
6412
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6413
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Sorry, nothing matched", "elementor"), /* @__PURE__ */ React96.createElement("br", null), "\u201C", searchValue, "\u201D."),
6414
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", sx: { display: "flex", flexDirection: "column" } }, (0, import_i18n68.__)("Try something else.", "elementor"), /* @__PURE__ */ React96.createElement(import_ui46.Link, { color: "text.secondary", variant: "caption", component: "button", onClick: onClear }, (0, import_i18n68.__)("Clear & try again", "elementor")))
6380
6415
  );
6381
- var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6382
- import_ui45.Stack,
6416
+ var NoDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6417
+ import_ui46.Stack,
6383
6418
  {
6384
6419
  gap: 1,
6385
6420
  alignItems: "center",
@@ -6389,20 +6424,20 @@ var NoDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment
6389
6424
  color: "text.secondary",
6390
6425
  sx: { pb: 3.5 }
6391
6426
  },
6392
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6393
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Streamline your workflow with dynamic tags", "elementor")),
6394
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n67.__)("Upgrade now to display your content dynamically.", "elementor")),
6395
- /* @__PURE__ */ React95.createElement(
6427
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6428
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Streamline your workflow with dynamic tags", "elementor")),
6429
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n68.__)("Upgrade now to display your content dynamically.", "elementor")),
6430
+ /* @__PURE__ */ React96.createElement(
6396
6431
  import_editor_ui9.CtaButton,
6397
6432
  {
6398
6433
  size: "small",
6399
6434
  href: PRO_DYNAMIC_TAGS_URL,
6400
- onClick: () => (0, import_editor_controls63.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
6435
+ onClick: () => (0, import_editor_controls64.trackUpgradePromotionClick)({ target_name: "dynamic_tags" })
6401
6436
  }
6402
6437
  )
6403
6438
  ));
6404
- var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fragment, null, /* @__PURE__ */ React95.createElement(import_ui45.Divider, null), /* @__PURE__ */ React95.createElement(
6405
- import_ui45.Stack,
6439
+ var ExpiredDynamicTags = () => /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(
6440
+ import_ui46.Stack,
6406
6441
  {
6407
6442
  gap: 1,
6408
6443
  alignItems: "center",
@@ -6412,16 +6447,16 @@ var ExpiredDynamicTags = () => /* @__PURE__ */ React95.createElement(React95.Fra
6412
6447
  color: "text.secondary",
6413
6448
  sx: { pb: 3.5 }
6414
6449
  },
6415
- /* @__PURE__ */ React95.createElement(import_icons29.DatabaseIcon, { fontSize: "large" }),
6416
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n67.__)("Unlock your Dynamic tags again", "elementor")),
6417
- /* @__PURE__ */ React95.createElement(import_ui45.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n67.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6418
- /* @__PURE__ */ React95.createElement(
6450
+ /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: "large" }),
6451
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "subtitle2" }, (0, import_i18n68.__)("Unlock your Dynamic tags again", "elementor")),
6452
+ /* @__PURE__ */ React96.createElement(import_ui46.Typography, { align: "center", variant: "caption", width: PROMO_TEXT_WIDTH }, (0, import_i18n68.__)("Dynamic tags need Elementor Pro. Renew now to keep them active.", "elementor")),
6453
+ /* @__PURE__ */ React96.createElement(
6419
6454
  import_editor_ui9.CtaButton,
6420
6455
  {
6421
6456
  size: "small",
6422
6457
  href: RENEW_DYNAMIC_TAGS_URL,
6423
- onClick: () => (0, import_editor_controls63.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
6424
- children: (0, import_i18n67.__)("Renew Now", "elementor")
6458
+ onClick: () => (0, import_editor_controls64.trackUpgradePromotionClick)({ target_name: "dynamic_tags" }),
6459
+ children: (0, import_i18n68.__)("Renew Now", "elementor")
6425
6460
  }
6426
6461
  )
6427
6462
  ));
@@ -6445,8 +6480,8 @@ var useFilteredOptions = (searchValue) => {
6445
6480
  var SIZE3 = "tiny";
6446
6481
  var tagsWithoutTabs = ["popup"];
6447
6482
  var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6448
- const { setValue: setAnyValue, propType } = (0, import_editor_controls64.useBoundProp)();
6449
- const { bind, value } = (0, import_editor_controls64.useBoundProp)(dynamicPropTypeUtil);
6483
+ const { setValue: setAnyValue, propType } = (0, import_editor_controls65.useBoundProp)();
6484
+ const { bind, value } = (0, import_editor_controls65.useBoundProp)(dynamicPropTypeUtil);
6450
6485
  const { expired: readonly } = useLicenseConfig();
6451
6486
  const originalPropType = createTopLevelObjectType({
6452
6487
  schema: {
@@ -6454,11 +6489,11 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6454
6489
  }
6455
6490
  });
6456
6491
  const [propValueFromHistory] = usePersistDynamicValue(bind);
6457
- const selectionPopoverState = (0, import_ui46.usePopupState)({ variant: "popover" });
6492
+ const selectionPopoverState = (0, import_ui47.usePopupState)({ variant: "popover" });
6458
6493
  const { name: tagName = "" } = value;
6459
6494
  const dynamicTag = useDynamicTag(tagName);
6460
6495
  if (!isDynamicTagSupported(tagName) && OriginalControl) {
6461
- return /* @__PURE__ */ React96.createElement(import_editor_controls64.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React96.createElement(import_editor_controls64.PropKeyProvider, { bind }, /* @__PURE__ */ React96.createElement(OriginalControl, { ...props })));
6496
+ return /* @__PURE__ */ React97.createElement(import_editor_controls65.PropProvider, { propType: originalPropType, value: { [bind]: null }, setValue: setAnyValue }, /* @__PURE__ */ React97.createElement(import_editor_controls65.PropKeyProvider, { bind }, /* @__PURE__ */ React97.createElement(OriginalControl, { ...props })));
6462
6497
  }
6463
6498
  const removeDynamicTag = () => {
6464
6499
  setAnyValue(propValueFromHistory ?? null);
@@ -6466,26 +6501,26 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6466
6501
  if (!dynamicTag) {
6467
6502
  throw new Error(`Dynamic tag ${tagName} not found`);
6468
6503
  }
6469
- return /* @__PURE__ */ React96.createElement(import_ui46.Box, null, /* @__PURE__ */ React96.createElement(
6470
- import_ui46.UnstableTag,
6504
+ return /* @__PURE__ */ React97.createElement(import_ui47.Box, null, /* @__PURE__ */ React97.createElement(
6505
+ import_ui47.UnstableTag,
6471
6506
  {
6472
6507
  fullWidth: true,
6473
6508
  showActionsOnHover: true,
6474
6509
  label: dynamicTag.label,
6475
- startIcon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE3 }),
6476
- ...(0, import_ui46.bindTrigger)(selectionPopoverState),
6477
- actions: /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React96.createElement(
6478
- import_ui46.IconButton,
6510
+ startIcon: /* @__PURE__ */ React97.createElement(import_icons31.DatabaseIcon, { fontSize: SIZE3 }),
6511
+ ...(0, import_ui47.bindTrigger)(selectionPopoverState),
6512
+ actions: /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(DynamicSettingsPopover, { dynamicTag, disabled: readonly }), /* @__PURE__ */ React97.createElement(
6513
+ import_ui47.IconButton,
6479
6514
  {
6480
6515
  size: SIZE3,
6481
6516
  onClick: removeDynamicTag,
6482
- "aria-label": (0, import_i18n68.__)("Remove dynamic value", "elementor")
6517
+ "aria-label": (0, import_i18n69.__)("Remove dynamic value", "elementor")
6483
6518
  },
6484
- /* @__PURE__ */ React96.createElement(import_icons30.XIcon, { fontSize: SIZE3 })
6519
+ /* @__PURE__ */ React97.createElement(import_icons31.XIcon, { fontSize: SIZE3 })
6485
6520
  ))
6486
6521
  }
6487
- ), /* @__PURE__ */ React96.createElement(
6488
- import_ui46.Popover,
6522
+ ), /* @__PURE__ */ React97.createElement(
6523
+ import_ui47.Popover,
6489
6524
  {
6490
6525
  disablePortal: true,
6491
6526
  disableScrollLock: true,
@@ -6494,31 +6529,31 @@ var DynamicSelectionControl = ({ OriginalControl, ...props }) => {
6494
6529
  PaperProps: {
6495
6530
  sx: { my: 1 }
6496
6531
  },
6497
- ...(0, import_ui46.bindPopover)(selectionPopoverState)
6532
+ ...(0, import_ui47.bindPopover)(selectionPopoverState)
6498
6533
  },
6499
- /* @__PURE__ */ React96.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React96.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6534
+ /* @__PURE__ */ React97.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n69.__)("Dynamic tags", "elementor") }, /* @__PURE__ */ React97.createElement(DynamicSelection, { close: selectionPopoverState.close, expired: readonly }))
6500
6535
  ));
6501
6536
  };
6502
6537
  var DynamicSettingsPopover = ({
6503
6538
  dynamicTag,
6504
6539
  disabled = false
6505
6540
  }) => {
6506
- const popupState = (0, import_ui46.usePopupState)({ variant: "popover" });
6541
+ const popupState = (0, import_ui47.usePopupState)({ variant: "popover" });
6507
6542
  const hasDynamicSettings = !!dynamicTag.atomic_controls.length;
6508
6543
  if (!hasDynamicSettings) {
6509
6544
  return null;
6510
6545
  }
6511
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(
6512
- import_ui46.IconButton,
6546
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(
6547
+ import_ui47.IconButton,
6513
6548
  {
6514
6549
  size: SIZE3,
6515
6550
  disabled,
6516
- ...!disabled && (0, import_ui46.bindTrigger)(popupState),
6517
- "aria-label": (0, import_i18n68.__)("Dynamic settings", "elementor")
6551
+ ...!disabled && (0, import_ui47.bindTrigger)(popupState),
6552
+ "aria-label": (0, import_i18n69.__)("Dynamic settings", "elementor")
6518
6553
  },
6519
- /* @__PURE__ */ React96.createElement(import_icons30.SettingsIcon, { fontSize: SIZE3 })
6520
- ), /* @__PURE__ */ React96.createElement(
6521
- import_ui46.Popover,
6554
+ /* @__PURE__ */ React97.createElement(import_icons31.SettingsIcon, { fontSize: SIZE3 })
6555
+ ), /* @__PURE__ */ React97.createElement(
6556
+ import_ui47.Popover,
6522
6557
  {
6523
6558
  disablePortal: true,
6524
6559
  disableScrollLock: true,
@@ -6527,45 +6562,45 @@ var DynamicSettingsPopover = ({
6527
6562
  PaperProps: {
6528
6563
  sx: { my: 1 }
6529
6564
  },
6530
- ...(0, import_ui46.bindPopover)(popupState)
6565
+ ...(0, import_ui47.bindPopover)(popupState)
6531
6566
  },
6532
- /* @__PURE__ */ React96.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n68.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React96.createElement(
6567
+ /* @__PURE__ */ React97.createElement(import_editor_ui10.SectionPopoverBody, { "aria-label": (0, import_i18n69.__)("Dynamic settings", "elementor") }, /* @__PURE__ */ React97.createElement(
6533
6568
  import_editor_ui10.PopoverHeader,
6534
6569
  {
6535
6570
  title: dynamicTag.label,
6536
6571
  onClose: popupState.close,
6537
- icon: /* @__PURE__ */ React96.createElement(import_icons30.DatabaseIcon, { fontSize: SIZE3 })
6572
+ icon: /* @__PURE__ */ React97.createElement(import_icons31.DatabaseIcon, { fontSize: SIZE3 })
6538
6573
  }
6539
- ), /* @__PURE__ */ React96.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6574
+ ), /* @__PURE__ */ React97.createElement(DynamicSettings, { controls: dynamicTag.atomic_controls, tagName: dynamicTag.name }))
6540
6575
  ));
6541
6576
  };
6542
6577
  var DynamicSettings = ({ controls, tagName }) => {
6543
6578
  const tabs = controls.filter(({ type }) => type === "section");
6544
- const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui46.useTabs)(0);
6579
+ const { getTabsProps, getTabProps, getTabPanelProps } = (0, import_ui47.useTabs)(0);
6545
6580
  if (!tabs.length) {
6546
6581
  return null;
6547
6582
  }
6548
6583
  if (tagsWithoutTabs.includes(tagName)) {
6549
6584
  const singleTab = tabs[0];
6550
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6585
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, /* @__PURE__ */ React97.createElement(import_ui47.Divider, null), /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: singleTab.value.items }));
6551
6586
  }
6552
- return /* @__PURE__ */ React96.createElement(React96.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React96.createElement(import_ui46.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React96.createElement(
6553
- import_ui46.Tab,
6587
+ return /* @__PURE__ */ React97.createElement(React97.Fragment, null, tabs.length > 1 && /* @__PURE__ */ React97.createElement(import_ui47.Tabs, { size: "small", variant: "fullWidth", ...getTabsProps() }, tabs.map(({ value }, index) => /* @__PURE__ */ React97.createElement(
6588
+ import_ui47.Tab,
6554
6589
  {
6555
6590
  key: index,
6556
6591
  label: value.label,
6557
6592
  sx: { px: 1, py: 0.5 },
6558
6593
  ...getTabProps(index)
6559
6594
  }
6560
- ))), /* @__PURE__ */ React96.createElement(import_ui46.Divider, null), tabs.map(({ value }, index) => {
6561
- return /* @__PURE__ */ React96.createElement(
6562
- import_ui46.TabPanel,
6595
+ ))), /* @__PURE__ */ React97.createElement(import_ui47.Divider, null), tabs.map(({ value }, index) => {
6596
+ return /* @__PURE__ */ React97.createElement(
6597
+ import_ui47.TabPanel,
6563
6598
  {
6564
6599
  key: index,
6565
6600
  sx: { flexGrow: 1, py: 0, overflowY: "auto" },
6566
6601
  ...getTabPanelProps(index)
6567
6602
  },
6568
- /* @__PURE__ */ React96.createElement(ControlsItemsStack, { items: value.items })
6603
+ /* @__PURE__ */ React97.createElement(ControlsItemsStack, { items: value.items })
6569
6604
  );
6570
6605
  }));
6571
6606
  };
@@ -6607,11 +6642,11 @@ var Control2 = ({ control }) => {
6607
6642
  display: "grid",
6608
6643
  gridTemplateColumns: isSwitchControl ? "minmax(0, 1fr) max-content" : "1fr 1fr"
6609
6644
  } : {};
6610
- return /* @__PURE__ */ React96.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React96.createElement(import_ui46.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React96.createElement(import_ui46.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(import_editor_controls64.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React96.createElement(import_ui46.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React96.createElement(Control, { type: control.type, props: controlProps }))));
6645
+ return /* @__PURE__ */ React97.createElement(DynamicControl, { bind: control.bind }, /* @__PURE__ */ React97.createElement(import_ui47.Grid, { container: true, gap: 0.75, sx: layoutStyleProps }, control.label ? /* @__PURE__ */ React97.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(import_editor_controls65.ControlFormLabel, null, control.label)) : null, /* @__PURE__ */ React97.createElement(import_ui47.Grid, { item: true, xs: 12 }, /* @__PURE__ */ React97.createElement(Control, { type: control.type, props: controlProps }))));
6611
6646
  };
6612
6647
  function ControlsItemsStack({ items: items3 }) {
6613
- return /* @__PURE__ */ React96.createElement(import_ui46.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6614
- (item) => item.type === "control" ? /* @__PURE__ */ React96.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6648
+ return /* @__PURE__ */ React97.createElement(import_ui47.Stack, { p: 2, gap: 2, sx: { overflowY: "auto" } }, items3.map(
6649
+ (item) => item.type === "control" ? /* @__PURE__ */ React97.createElement(Control2, { key: item.value.bind, control: item.value }) : null
6615
6650
  ));
6616
6651
  }
6617
6652
 
@@ -6667,34 +6702,34 @@ function getDynamicValue(name, settings) {
6667
6702
  }
6668
6703
 
6669
6704
  // src/dynamics/hooks/use-prop-dynamic-action.tsx
6670
- var React97 = __toESM(require("react"));
6671
- var import_editor_controls65 = require("@elementor/editor-controls");
6672
- var import_icons31 = require("@elementor/icons");
6673
- var import_i18n69 = require("@wordpress/i18n");
6705
+ var React98 = __toESM(require("react"));
6706
+ var import_editor_controls66 = require("@elementor/editor-controls");
6707
+ var import_icons32 = require("@elementor/icons");
6708
+ var import_i18n70 = require("@wordpress/i18n");
6674
6709
  var usePropDynamicAction = () => {
6675
- const { propType } = (0, import_editor_controls65.useBoundProp)();
6710
+ const { propType } = (0, import_editor_controls66.useBoundProp)();
6676
6711
  const visible = !!propType && supportsDynamic(propType);
6677
6712
  return {
6678
6713
  visible,
6679
- icon: import_icons31.DatabaseIcon,
6680
- title: (0, import_i18n69.__)("Dynamic tags", "elementor"),
6681
- content: ({ close }) => /* @__PURE__ */ React97.createElement(DynamicSelection, { close })
6714
+ icon: import_icons32.DatabaseIcon,
6715
+ title: (0, import_i18n70.__)("Dynamic tags", "elementor"),
6716
+ content: ({ close }) => /* @__PURE__ */ React98.createElement(DynamicSelection, { close })
6682
6717
  };
6683
6718
  };
6684
6719
 
6685
6720
  // src/dynamics/init.ts
6686
6721
  var { registerPopoverAction } = import_menus2.controlActionsMenu;
6687
6722
  var init2 = () => {
6688
- (0, import_editor_controls66.registerControlReplacement)({
6723
+ (0, import_editor_controls67.registerControlReplacement)({
6689
6724
  component: DynamicSelectionControl,
6690
6725
  condition: ({ value }) => isDynamicPropValue(value)
6691
6726
  });
6692
- (0, import_editor_controls66.injectIntoRepeaterItemLabel)({
6727
+ (0, import_editor_controls67.injectIntoRepeaterItemLabel)({
6693
6728
  id: "dynamic-background-image",
6694
6729
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6695
6730
  component: BackgroundControlDynamicTagLabel
6696
6731
  });
6697
- (0, import_editor_controls66.injectIntoRepeaterItemIcon)({
6732
+ (0, import_editor_controls67.injectIntoRepeaterItemIcon)({
6698
6733
  id: "dynamic-background-image",
6699
6734
  condition: ({ value }) => isDynamicPropValue(value.value?.image?.value?.src),
6700
6735
  component: BackgroundControlDynamicTagIcon
@@ -6709,11 +6744,11 @@ var init2 = () => {
6709
6744
  };
6710
6745
 
6711
6746
  // src/reset-style-props.tsx
6712
- var import_editor_controls67 = require("@elementor/editor-controls");
6747
+ var import_editor_controls68 = require("@elementor/editor-controls");
6713
6748
  var import_editor_variables2 = require("@elementor/editor-variables");
6714
- var import_icons32 = require("@elementor/icons");
6749
+ var import_icons33 = require("@elementor/icons");
6715
6750
  var import_menus3 = require("@elementor/menus");
6716
- var import_i18n70 = require("@wordpress/i18n");
6751
+ var import_i18n71 = require("@wordpress/i18n");
6717
6752
 
6718
6753
  // src/utils/is-equal.ts
6719
6754
  function isEqual(a, b) {
@@ -6769,7 +6804,7 @@ function initResetStyleProps() {
6769
6804
  }
6770
6805
  function useResetStyleValueProps() {
6771
6806
  const isStyle = useIsStyle();
6772
- const { value, resetValue, propType } = (0, import_editor_controls67.useBoundProp)();
6807
+ const { value, resetValue, propType } = (0, import_editor_controls68.useBoundProp)();
6773
6808
  const hasValue = value !== null && value !== void 0;
6774
6809
  const hasInitial = propType.initial_value !== void 0 && propType.initial_value !== null;
6775
6810
  const isRequired = !!propType.settings?.required;
@@ -6789,33 +6824,33 @@ function useResetStyleValueProps() {
6789
6824
  const visible = calculateVisibility();
6790
6825
  return {
6791
6826
  visible,
6792
- title: (0, import_i18n70.__)("Clear", "elementor"),
6793
- icon: import_icons32.BrushBigIcon,
6827
+ title: (0, import_i18n71.__)("Clear", "elementor"),
6828
+ icon: import_icons33.BrushBigIcon,
6794
6829
  onClick: () => resetValue()
6795
6830
  };
6796
6831
  }
6797
6832
 
6798
6833
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
6799
- var React103 = __toESM(require("react"));
6800
- var import_editor_controls68 = require("@elementor/editor-controls");
6834
+ var React104 = __toESM(require("react"));
6835
+ var import_editor_controls69 = require("@elementor/editor-controls");
6801
6836
  var import_editor_props22 = require("@elementor/editor-props");
6802
6837
  var import_editor_styles_repository20 = require("@elementor/editor-styles-repository");
6803
- var import_i18n74 = require("@wordpress/i18n");
6838
+ var import_i18n75 = require("@wordpress/i18n");
6804
6839
 
6805
6840
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6806
- var React102 = __toESM(require("react"));
6841
+ var React103 = __toESM(require("react"));
6807
6842
  var import_react47 = require("react");
6808
6843
  var import_editor_canvas5 = require("@elementor/editor-canvas");
6809
6844
  var import_editor_ui11 = require("@elementor/editor-ui");
6810
- var import_ui51 = require("@elementor/ui");
6811
- var import_i18n73 = require("@wordpress/i18n");
6845
+ var import_ui52 = require("@elementor/ui");
6846
+ var import_i18n74 = require("@wordpress/i18n");
6812
6847
 
6813
6848
  // src/styles-inheritance/hooks/use-normalized-inheritance-chain-items.tsx
6814
6849
  var import_react46 = require("react");
6815
6850
  var import_editor_canvas4 = require("@elementor/editor-canvas");
6816
6851
  var import_editor_styles8 = require("@elementor/editor-styles");
6817
6852
  var import_editor_styles_repository18 = require("@elementor/editor-styles-repository");
6818
- var import_i18n71 = require("@wordpress/i18n");
6853
+ var import_i18n72 = require("@wordpress/i18n");
6819
6854
  var MAXIMUM_ITEMS = 2;
6820
6855
  var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6821
6856
  const [items3, setItems] = (0, import_react46.useState)([]);
@@ -6826,7 +6861,7 @@ var useNormalizedInheritanceChainItems = (inheritanceChain, bind, resolve) => {
6826
6861
  );
6827
6862
  const validItems = normalizedItems.map((item) => ({
6828
6863
  ...item,
6829
- displayLabel: import_editor_styles_repository18.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n71.__)("Base", "elementor")
6864
+ displayLabel: import_editor_styles_repository18.ELEMENTS_BASE_STYLES_PROVIDER_KEY !== item.provider ? item.displayLabel : (0, import_i18n72.__)("Base", "elementor")
6830
6865
  })).filter((item) => !item.value || item.displayLabel !== "").slice(0, MAXIMUM_ITEMS);
6831
6866
  setItems(validItems);
6832
6867
  })();
@@ -6883,20 +6918,20 @@ var getTransformedValue = async (item, bind, resolve) => {
6883
6918
  };
6884
6919
 
6885
6920
  // src/styles-inheritance/components/infotip/breakpoint-icon.tsx
6886
- var React98 = __toESM(require("react"));
6921
+ var React99 = __toESM(require("react"));
6887
6922
  var import_editor_responsive4 = require("@elementor/editor-responsive");
6888
- var import_icons33 = require("@elementor/icons");
6889
- var import_ui47 = require("@elementor/ui");
6923
+ var import_icons34 = require("@elementor/icons");
6924
+ var import_ui48 = require("@elementor/ui");
6890
6925
  var SIZE4 = "tiny";
6891
6926
  var DEFAULT_BREAKPOINT3 = "desktop";
6892
6927
  var breakpointIconMap = {
6893
- widescreen: import_icons33.WidescreenIcon,
6894
- desktop: import_icons33.DesktopIcon,
6895
- laptop: import_icons33.LaptopIcon,
6896
- tablet_extra: import_icons33.TabletLandscapeIcon,
6897
- tablet: import_icons33.TabletPortraitIcon,
6898
- mobile_extra: import_icons33.MobileLandscapeIcon,
6899
- mobile: import_icons33.MobilePortraitIcon
6928
+ widescreen: import_icons34.WidescreenIcon,
6929
+ desktop: import_icons34.DesktopIcon,
6930
+ laptop: import_icons34.LaptopIcon,
6931
+ tablet_extra: import_icons34.TabletLandscapeIcon,
6932
+ tablet: import_icons34.TabletPortraitIcon,
6933
+ mobile_extra: import_icons34.MobileLandscapeIcon,
6934
+ mobile: import_icons34.MobilePortraitIcon
6900
6935
  };
6901
6936
  var BreakpointIcon = ({ breakpoint }) => {
6902
6937
  const breakpoints = (0, import_editor_responsive4.useBreakpoints)();
@@ -6906,21 +6941,21 @@ var BreakpointIcon = ({ breakpoint }) => {
6906
6941
  return null;
6907
6942
  }
6908
6943
  const breakpointLabel = breakpoints.find((breakpointItem) => breakpointItem.id === currentBreakpoint)?.label;
6909
- return /* @__PURE__ */ React98.createElement(import_ui47.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React98.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6944
+ return /* @__PURE__ */ React99.createElement(import_ui48.Tooltip, { title: breakpointLabel, placement: "top" }, /* @__PURE__ */ React99.createElement(IconComponent, { fontSize: SIZE4, sx: { mt: "2px" } }));
6910
6945
  };
6911
6946
 
6912
6947
  // src/styles-inheritance/components/infotip/label-chip.tsx
6913
- var React99 = __toESM(require("react"));
6948
+ var React100 = __toESM(require("react"));
6914
6949
  var import_editor_styles_repository19 = require("@elementor/editor-styles-repository");
6915
- var import_icons34 = require("@elementor/icons");
6916
- var import_ui48 = require("@elementor/ui");
6917
- var import_i18n72 = require("@wordpress/i18n");
6950
+ var import_icons35 = require("@elementor/icons");
6951
+ var import_ui49 = require("@elementor/ui");
6952
+ var import_i18n73 = require("@wordpress/i18n");
6918
6953
  var SIZE5 = "tiny";
6919
6954
  var LabelChip = ({ displayLabel, provider }) => {
6920
6955
  const isBaseStyle = provider === import_editor_styles_repository19.ELEMENTS_BASE_STYLES_PROVIDER_KEY;
6921
- const chipIcon = isBaseStyle ? /* @__PURE__ */ React99.createElement(import_ui48.Tooltip, { title: (0, import_i18n72.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React99.createElement(import_icons34.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6922
- return /* @__PURE__ */ React99.createElement(
6923
- import_ui48.Chip,
6956
+ const chipIcon = isBaseStyle ? /* @__PURE__ */ React100.createElement(import_ui49.Tooltip, { title: (0, import_i18n73.__)("Inherited from base styles", "elementor"), placement: "top" }, /* @__PURE__ */ React100.createElement(import_icons35.InfoCircleIcon, { fontSize: SIZE5 })) : void 0;
6957
+ return /* @__PURE__ */ React100.createElement(
6958
+ import_ui49.Chip,
6924
6959
  {
6925
6960
  label: displayLabel,
6926
6961
  size: SIZE5,
@@ -6945,11 +6980,11 @@ var LabelChip = ({ displayLabel, provider }) => {
6945
6980
  };
6946
6981
 
6947
6982
  // src/styles-inheritance/components/infotip/value-component.tsx
6948
- var React100 = __toESM(require("react"));
6949
- var import_ui49 = require("@elementor/ui");
6983
+ var React101 = __toESM(require("react"));
6984
+ var import_ui50 = require("@elementor/ui");
6950
6985
  var ValueComponent = ({ index, value }) => {
6951
- return /* @__PURE__ */ React100.createElement(import_ui49.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React100.createElement(
6952
- import_ui49.Typography,
6986
+ return /* @__PURE__ */ React101.createElement(import_ui50.Tooltip, { title: value, placement: "top" }, /* @__PURE__ */ React101.createElement(
6987
+ import_ui50.Typography,
6953
6988
  {
6954
6989
  variant: "caption",
6955
6990
  color: "text.tertiary",
@@ -6970,9 +7005,9 @@ var ValueComponent = ({ index, value }) => {
6970
7005
  };
6971
7006
 
6972
7007
  // src/styles-inheritance/components/infotip/action-icons.tsx
6973
- var React101 = __toESM(require("react"));
6974
- var import_ui50 = require("@elementor/ui");
6975
- var ActionIcons = () => /* @__PURE__ */ React101.createElement(import_ui50.Box, { display: "flex", gap: 0.5, alignItems: "center" });
7008
+ var React102 = __toESM(require("react"));
7009
+ var import_ui51 = require("@elementor/ui");
7010
+ var ActionIcons = () => /* @__PURE__ */ React102.createElement(import_ui51.Box, { display: "flex", gap: 0.5, alignItems: "center" });
6976
7011
 
6977
7012
  // src/styles-inheritance/components/styles-inheritance-infotip.tsx
6978
7013
  var SECTION_PADDING_INLINE = 32;
@@ -7008,8 +7043,8 @@ var StylesInheritanceInfotip = ({
7008
7043
  });
7009
7044
  }, [key, propType]);
7010
7045
  const items3 = useNormalizedInheritanceChainItems(inheritanceChain, key, resolve);
7011
- const infotipContent = /* @__PURE__ */ React102.createElement(import_ui51.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React102.createElement(
7012
- import_ui51.Card,
7046
+ const infotipContent = /* @__PURE__ */ React103.createElement(import_ui52.ClickAwayListener, { onClickAway: closeInfotip }, /* @__PURE__ */ React103.createElement(
7047
+ import_ui52.Card,
7013
7048
  {
7014
7049
  elevation: 0,
7015
7050
  sx: {
@@ -7021,8 +7056,8 @@ var StylesInheritanceInfotip = ({
7021
7056
  flexDirection: "column"
7022
7057
  }
7023
7058
  },
7024
- /* @__PURE__ */ React102.createElement(
7025
- import_ui51.Box,
7059
+ /* @__PURE__ */ React103.createElement(
7060
+ import_ui52.Box,
7026
7061
  {
7027
7062
  sx: {
7028
7063
  position: "sticky",
@@ -7031,10 +7066,10 @@ var StylesInheritanceInfotip = ({
7031
7066
  backgroundColor: "background.paper"
7032
7067
  }
7033
7068
  },
7034
- /* @__PURE__ */ React102.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n73.__)("Style origin", "elementor"), onClose: closeInfotip })
7069
+ /* @__PURE__ */ React103.createElement(import_editor_ui11.PopoverHeader, { title: (0, import_i18n74.__)("Style origin", "elementor"), onClose: closeInfotip })
7035
7070
  ),
7036
- /* @__PURE__ */ React102.createElement(
7037
- import_ui51.CardContent,
7071
+ /* @__PURE__ */ React103.createElement(
7072
+ import_ui52.CardContent,
7038
7073
  {
7039
7074
  sx: {
7040
7075
  display: "flex",
@@ -7047,39 +7082,39 @@ var StylesInheritanceInfotip = ({
7047
7082
  }
7048
7083
  }
7049
7084
  },
7050
- /* @__PURE__ */ React102.createElement(import_ui51.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7051
- return /* @__PURE__ */ React102.createElement(
7052
- import_ui51.Box,
7085
+ /* @__PURE__ */ React103.createElement(import_ui52.Stack, { gap: 1.5, sx: { pl: 2, pr: 1, pt: 1.5, pb: 1.5 }, role: "list" }, items3.map((item, index) => {
7086
+ return /* @__PURE__ */ React103.createElement(
7087
+ import_ui52.Box,
7053
7088
  {
7054
7089
  key: item.id,
7055
7090
  display: "flex",
7056
7091
  gap: 0.5,
7057
7092
  role: "listitem",
7058
- "aria-label": (0, import_i18n73.__)("Inheritance item: %s", "elementor").replace(
7093
+ "aria-label": (0, import_i18n74.__)("Inheritance item: %s", "elementor").replace(
7059
7094
  "%s",
7060
7095
  item.displayLabel
7061
7096
  )
7062
7097
  },
7063
- /* @__PURE__ */ React102.createElement(
7064
- import_ui51.Box,
7098
+ /* @__PURE__ */ React103.createElement(
7099
+ import_ui52.Box,
7065
7100
  {
7066
7101
  display: "flex",
7067
7102
  gap: 0.5,
7068
7103
  sx: { flexWrap: "wrap", width: "100%", alignItems: "flex-start" }
7069
7104
  },
7070
- /* @__PURE__ */ React102.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7071
- /* @__PURE__ */ React102.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7072
- /* @__PURE__ */ React102.createElement(ValueComponent, { index, value: item.value })
7105
+ /* @__PURE__ */ React103.createElement(BreakpointIcon, { breakpoint: item.breakpoint }),
7106
+ /* @__PURE__ */ React103.createElement(LabelChip, { displayLabel: item.displayLabel, provider: item.provider }),
7107
+ /* @__PURE__ */ React103.createElement(ValueComponent, { index, value: item.value })
7073
7108
  ),
7074
- /* @__PURE__ */ React102.createElement(ActionIcons, null)
7109
+ /* @__PURE__ */ React103.createElement(ActionIcons, null)
7075
7110
  );
7076
7111
  }))
7077
7112
  )
7078
7113
  ));
7079
7114
  if (isDisabled) {
7080
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { sx: { display: "inline-flex" } }, children);
7115
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { sx: { display: "inline-flex" } }, children);
7081
7116
  }
7082
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React102.createElement(
7117
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { ref: triggerRef, sx: { display: "inline-flex" } }, /* @__PURE__ */ React103.createElement(
7083
7118
  TooltipOrInfotip,
7084
7119
  {
7085
7120
  showInfotip,
@@ -7087,8 +7122,8 @@ var StylesInheritanceInfotip = ({
7087
7122
  infotipContent,
7088
7123
  isDisabled
7089
7124
  },
7090
- /* @__PURE__ */ React102.createElement(
7091
- import_ui51.IconButton,
7125
+ /* @__PURE__ */ React103.createElement(
7126
+ import_ui52.IconButton,
7092
7127
  {
7093
7128
  onClick: toggleInfotip,
7094
7129
  "aria-label": label,
@@ -7107,11 +7142,11 @@ function TooltipOrInfotip({
7107
7142
  isDisabled
7108
7143
  }) {
7109
7144
  if (isDisabled) {
7110
- return /* @__PURE__ */ React102.createElement(import_ui51.Box, { sx: { display: "inline-flex" } }, children);
7145
+ return /* @__PURE__ */ React103.createElement(import_ui52.Box, { sx: { display: "inline-flex" } }, children);
7111
7146
  }
7112
7147
  if (showInfotip) {
7113
- return /* @__PURE__ */ React102.createElement(React102.Fragment, null, /* @__PURE__ */ React102.createElement(
7114
- import_ui51.Backdrop,
7148
+ return /* @__PURE__ */ React103.createElement(React103.Fragment, null, /* @__PURE__ */ React103.createElement(
7149
+ import_ui52.Backdrop,
7115
7150
  {
7116
7151
  open: showInfotip,
7117
7152
  onClick: onClose,
@@ -7120,8 +7155,8 @@ function TooltipOrInfotip({
7120
7155
  zIndex: (theme) => theme.zIndex.modal - 1
7121
7156
  }
7122
7157
  }
7123
- ), /* @__PURE__ */ React102.createElement(
7124
- import_ui51.Infotip,
7158
+ ), /* @__PURE__ */ React103.createElement(
7159
+ import_ui52.Infotip,
7125
7160
  {
7126
7161
  placement: "top-end",
7127
7162
  content: infotipContent,
@@ -7132,20 +7167,20 @@ function TooltipOrInfotip({
7132
7167
  children
7133
7168
  ));
7134
7169
  }
7135
- return /* @__PURE__ */ React102.createElement(import_ui51.Tooltip, { title: (0, import_i18n73.__)("Style origin", "elementor"), placement: "top" }, children);
7170
+ return /* @__PURE__ */ React103.createElement(import_ui52.Tooltip, { title: (0, import_i18n74.__)("Style origin", "elementor"), placement: "top" }, children);
7136
7171
  }
7137
7172
 
7138
7173
  // src/styles-inheritance/components/styles-inheritance-indicator.tsx
7139
7174
  var StylesInheritanceIndicator = ({
7140
7175
  customContext
7141
7176
  }) => {
7142
- const context = (0, import_editor_controls68.useBoundProp)();
7177
+ const context = (0, import_editor_controls69.useBoundProp)();
7143
7178
  const { path, propType } = customContext || context;
7144
7179
  const inheritanceChain = useStylesInheritanceChain(path);
7145
7180
  if (!path || !inheritanceChain.length) {
7146
7181
  return null;
7147
7182
  }
7148
- return /* @__PURE__ */ React103.createElement(Indicator, { inheritanceChain, path, propType });
7183
+ return /* @__PURE__ */ React104.createElement(Indicator, { inheritanceChain, path, propType });
7149
7184
  };
7150
7185
  var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7151
7186
  const { id: currentStyleId, provider: currentStyleProvider, meta: currentStyleMeta } = useStyle();
@@ -7161,7 +7196,7 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7161
7196
  getColor: isFinalValue && currentStyleProvider ? getStylesProviderThemeColor(currentStyleProvider.getKey()) : void 0,
7162
7197
  isOverridden: hasValue && !isFinalValue ? true : void 0
7163
7198
  };
7164
- return /* @__PURE__ */ React103.createElement(
7199
+ return /* @__PURE__ */ React104.createElement(
7165
7200
  StylesInheritanceInfotip,
7166
7201
  {
7167
7202
  inheritanceChain,
@@ -7170,17 +7205,17 @@ var Indicator = ({ inheritanceChain, path, propType, isDisabled }) => {
7170
7205
  label,
7171
7206
  isDisabled
7172
7207
  },
7173
- /* @__PURE__ */ React103.createElement(StyleIndicator, { ...styleIndicatorProps })
7208
+ /* @__PURE__ */ React104.createElement(StyleIndicator, { ...styleIndicatorProps })
7174
7209
  );
7175
7210
  };
7176
7211
  var getLabel = ({ isFinalValue, hasValue }) => {
7177
7212
  if (isFinalValue) {
7178
- return (0, import_i18n74.__)("This is the final value", "elementor");
7213
+ return (0, import_i18n75.__)("This is the final value", "elementor");
7179
7214
  }
7180
7215
  if (hasValue) {
7181
- return (0, import_i18n74.__)("This value is overridden by another style", "elementor");
7216
+ return (0, import_i18n75.__)("This value is overridden by another style", "elementor");
7182
7217
  }
7183
- return (0, import_i18n74.__)("This has value from another style", "elementor");
7218
+ return (0, import_i18n75.__)("This has value from another style", "elementor");
7184
7219
  };
7185
7220
 
7186
7221
  // src/styles-inheritance/init-styles-inheritance-transformers.ts
@@ -7201,7 +7236,7 @@ var excludePropTypeTransformers = /* @__PURE__ */ new Set([
7201
7236
  ]);
7202
7237
 
7203
7238
  // src/styles-inheritance/transformers/array-transformer.tsx
7204
- var React104 = __toESM(require("react"));
7239
+ var React105 = __toESM(require("react"));
7205
7240
  var import_editor_canvas6 = require("@elementor/editor-canvas");
7206
7241
  var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) => {
7207
7242
  if (!values || values.length === 0) {
@@ -7211,18 +7246,18 @@ var arrayTransformer = (0, import_editor_canvas6.createTransformer)((values) =>
7211
7246
  if (allStrings) {
7212
7247
  return values.join(" ");
7213
7248
  }
7214
- return /* @__PURE__ */ React104.createElement(React104.Fragment, null, values.map((item, index) => /* @__PURE__ */ React104.createElement(React104.Fragment, { key: index }, index > 0 && " ", item)));
7249
+ return /* @__PURE__ */ React105.createElement(React105.Fragment, null, values.map((item, index) => /* @__PURE__ */ React105.createElement(React105.Fragment, { key: index }, index > 0 && " ", item)));
7215
7250
  });
7216
7251
 
7217
7252
  // src/styles-inheritance/transformers/background-color-overlay-transformer.tsx
7218
- var React105 = __toESM(require("react"));
7253
+ var React106 = __toESM(require("react"));
7219
7254
  var import_editor_canvas7 = require("@elementor/editor-canvas");
7220
- var import_ui52 = require("@elementor/ui");
7221
- var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React105.createElement(import_ui52.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React105.createElement(ItemLabelColor, { value })));
7255
+ var import_ui53 = require("@elementor/ui");
7256
+ var backgroundColorOverlayTransformer = (0, import_editor_canvas7.createTransformer)((value) => /* @__PURE__ */ React106.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemLabelColor, { value })));
7222
7257
  var ItemLabelColor = ({ value: { color } }) => {
7223
- return /* @__PURE__ */ React105.createElement("span", null, color);
7258
+ return /* @__PURE__ */ React106.createElement("span", null, color);
7224
7259
  };
7225
- var StyledUnstableColorIndicator = (0, import_ui52.styled)(import_ui52.UnstableColorIndicator)(({ theme }) => ({
7260
+ var StyledUnstableColorIndicator = (0, import_ui53.styled)(import_ui53.UnstableColorIndicator)(({ theme }) => ({
7226
7261
  width: "1em",
7227
7262
  height: "1em",
7228
7263
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -7231,20 +7266,20 @@ var StyledUnstableColorIndicator = (0, import_ui52.styled)(import_ui52.UnstableC
7231
7266
  }));
7232
7267
 
7233
7268
  // src/styles-inheritance/transformers/background-gradient-overlay-transformer.tsx
7234
- var React106 = __toESM(require("react"));
7269
+ var React107 = __toESM(require("react"));
7235
7270
  var import_editor_canvas8 = require("@elementor/editor-canvas");
7236
- var import_ui53 = require("@elementor/ui");
7237
- var import_i18n75 = require("@wordpress/i18n");
7238
- var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React106.createElement(import_ui53.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React106.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React106.createElement(ItemLabelGradient, { value })));
7271
+ var import_ui54 = require("@elementor/ui");
7272
+ var import_i18n76 = require("@wordpress/i18n");
7273
+ var backgroundGradientOverlayTransformer = (0, import_editor_canvas8.createTransformer)((value) => /* @__PURE__ */ React107.createElement(import_ui54.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconGradient, { value }), /* @__PURE__ */ React107.createElement(ItemLabelGradient, { value })));
7239
7274
  var ItemIconGradient = ({ value }) => {
7240
7275
  const gradient = getGradientValue(value);
7241
- return /* @__PURE__ */ React106.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7276
+ return /* @__PURE__ */ React107.createElement(StyledUnstableColorIndicator, { size: "inherit", component: "span", value: gradient });
7242
7277
  };
7243
7278
  var ItemLabelGradient = ({ value }) => {
7244
7279
  if (value.type === "linear") {
7245
- return /* @__PURE__ */ React106.createElement("span", null, (0, import_i18n75.__)("Linear gradient", "elementor"));
7280
+ return /* @__PURE__ */ React107.createElement("span", null, (0, import_i18n76.__)("Linear gradient", "elementor"));
7246
7281
  }
7247
- return /* @__PURE__ */ React106.createElement("span", null, (0, import_i18n75.__)("Radial gradient", "elementor"));
7282
+ return /* @__PURE__ */ React107.createElement("span", null, (0, import_i18n76.__)("Radial gradient", "elementor"));
7248
7283
  };
7249
7284
  var getGradientValue = (gradient) => {
7250
7285
  const stops = gradient.stops?.map(({ color, offset }) => `${color} ${offset ?? 0}%`)?.join(",");
@@ -7255,16 +7290,16 @@ var getGradientValue = (gradient) => {
7255
7290
  };
7256
7291
 
7257
7292
  // src/styles-inheritance/transformers/background-image-overlay-transformer.tsx
7258
- var React107 = __toESM(require("react"));
7293
+ var React108 = __toESM(require("react"));
7259
7294
  var import_editor_canvas9 = require("@elementor/editor-canvas");
7260
7295
  var import_editor_ui12 = require("@elementor/editor-ui");
7261
- var import_ui54 = require("@elementor/ui");
7296
+ var import_ui55 = require("@elementor/ui");
7262
7297
  var import_wp_media = require("@elementor/wp-media");
7263
- var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React107.createElement(import_ui54.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React107.createElement(ItemIconImage, { value }), /* @__PURE__ */ React107.createElement(ItemLabelImage, { value })));
7298
+ var backgroundImageOverlayTransformer = (0, import_editor_canvas9.createTransformer)((value) => /* @__PURE__ */ React108.createElement(import_ui55.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React108.createElement(ItemIconImage, { value }), /* @__PURE__ */ React108.createElement(ItemLabelImage, { value })));
7264
7299
  var ItemIconImage = ({ value }) => {
7265
7300
  const { imageUrl } = useImage(value);
7266
- return /* @__PURE__ */ React107.createElement(
7267
- import_ui54.CardMedia,
7301
+ return /* @__PURE__ */ React108.createElement(
7302
+ import_ui55.CardMedia,
7268
7303
  {
7269
7304
  image: imageUrl,
7270
7305
  sx: (theme) => ({
@@ -7279,7 +7314,7 @@ var ItemIconImage = ({ value }) => {
7279
7314
  };
7280
7315
  var ItemLabelImage = ({ value }) => {
7281
7316
  const { imageTitle } = useImage(value);
7282
- return /* @__PURE__ */ React107.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React107.createElement("span", null, imageTitle));
7317
+ return /* @__PURE__ */ React108.createElement(import_editor_ui12.EllipsisWithTooltip, { title: imageTitle }, /* @__PURE__ */ React108.createElement("span", null, imageTitle));
7283
7318
  };
7284
7319
  var useImage = (image) => {
7285
7320
  let imageTitle, imageUrl = null;
@@ -7304,7 +7339,7 @@ var getFileExtensionFromFilename = (filename) => {
7304
7339
  };
7305
7340
 
7306
7341
  // src/styles-inheritance/transformers/box-shadow-transformer.tsx
7307
- var React108 = __toESM(require("react"));
7342
+ var React109 = __toESM(require("react"));
7308
7343
  var import_editor_canvas10 = require("@elementor/editor-canvas");
7309
7344
  var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value) => {
7310
7345
  if (!value) {
@@ -7314,20 +7349,20 @@ var boxShadowTransformer = (0, import_editor_canvas10.createTransformer)((value)
7314
7349
  const colorValue = color || "#000000";
7315
7350
  const sizes = [hOffset || "0px", vOffset || "0px", blur || "10px", spread || "0px"].join(" ");
7316
7351
  const positionValue = position || "outset";
7317
- return /* @__PURE__ */ React108.createElement(React108.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7352
+ return /* @__PURE__ */ React109.createElement(React109.Fragment, null, colorValue, " ", positionValue, ", ", sizes);
7318
7353
  });
7319
7354
 
7320
7355
  // src/styles-inheritance/transformers/color-transformer.tsx
7321
- var React109 = __toESM(require("react"));
7356
+ var React110 = __toESM(require("react"));
7322
7357
  var import_editor_canvas11 = require("@elementor/editor-canvas");
7323
- var import_ui55 = require("@elementor/ui");
7358
+ var import_ui56 = require("@elementor/ui");
7324
7359
  function isValidCSSColor(value) {
7325
7360
  if (!value.trim()) {
7326
7361
  return false;
7327
7362
  }
7328
7363
  return CSS.supports("color", value.trim());
7329
7364
  }
7330
- var StyledColorIndicator = (0, import_ui55.styled)(import_ui55.UnstableColorIndicator)(({ theme }) => ({
7365
+ var StyledColorIndicator = (0, import_ui56.styled)(import_ui56.UnstableColorIndicator)(({ theme }) => ({
7331
7366
  width: "1em",
7332
7367
  height: "1em",
7333
7368
  borderRadius: `${theme.shape.borderRadius / 2}px`,
@@ -7338,7 +7373,7 @@ var colorTransformer = (0, import_editor_canvas11.createTransformer)((value) =>
7338
7373
  if (!isValidCSSColor(value)) {
7339
7374
  return value;
7340
7375
  }
7341
- return /* @__PURE__ */ React109.createElement(import_ui55.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React109.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React109.createElement("span", null, value));
7376
+ return /* @__PURE__ */ React110.createElement(import_ui56.Stack, { direction: "row", gap: 1, alignItems: "center" }, /* @__PURE__ */ React110.createElement(StyledColorIndicator, { size: "inherit", component: "span", value }), /* @__PURE__ */ React110.createElement("span", null, value));
7342
7377
  });
7343
7378
 
7344
7379
  // src/styles-inheritance/transformers/repeater-to-items-transformer.tsx
@@ -7460,6 +7495,7 @@ var blockV1Panel = () => {
7460
7495
  injectIntoStyleTab,
7461
7496
  isDynamicPropValue,
7462
7497
  registerEditingPanelReplacement,
7498
+ registerElementPanelDefaults,
7463
7499
  registerFieldIndicator,
7464
7500
  registerStyleProviderToColors,
7465
7501
  setLicenseConfig,