@elementor/editor-editing-panel 4.5.0-1217 → 4.5.0-1219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.d.mts +96 -75
  2. package/dist/index.d.ts +96 -75
  3. package/dist/index.js +1026 -934
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +681 -595
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +25 -25
  8. package/src/components/editing-panel-tabs.tsx +8 -4
  9. package/src/components/style-sections/border-section/border-color-field.tsx +4 -4
  10. package/src/components/style-sections/border-section/border-radius-field.tsx +4 -4
  11. package/src/components/style-sections/border-section/border-style-field.tsx +4 -4
  12. package/src/components/style-sections/border-section/border-width-field.tsx +4 -4
  13. package/src/components/style-sections/effects-section/blend-mode-field.tsx +4 -4
  14. package/src/components/style-sections/effects-section/opacity-control-field.tsx +4 -4
  15. package/src/components/style-sections/layout-section/align-content-field.tsx +4 -4
  16. package/src/components/style-sections/layout-section/align-items-field.tsx +4 -4
  17. package/src/components/style-sections/layout-section/display-field.tsx +4 -4
  18. package/src/components/style-sections/layout-section/flex-direction-field.tsx +4 -4
  19. package/src/components/style-sections/layout-section/gap-control-field.tsx +4 -4
  20. package/src/components/style-sections/layout-section/grid-justify-items-field.tsx +4 -4
  21. package/src/components/style-sections/layout-section/justify-content-field.tsx +4 -4
  22. package/src/components/style-sections/layout-section/wrap-field.tsx +4 -4
  23. package/src/components/style-sections/position-section/offset-field.tsx +4 -4
  24. package/src/components/style-sections/position-section/position-field.tsx +4 -4
  25. package/src/components/style-sections/position-section/z-index-field.tsx +4 -4
  26. package/src/components/style-sections/size-section/object-fit-field.tsx +4 -4
  27. package/src/components/style-sections/size-section/overflow-field.tsx +4 -4
  28. package/src/components/style-sections/typography-section/column-count-field.tsx +4 -4
  29. package/src/components/style-sections/typography-section/column-gap-field.tsx +4 -4
  30. package/src/components/style-sections/typography-section/font-family-field.tsx +5 -9
  31. package/src/components/style-sections/typography-section/font-size-field.tsx +5 -5
  32. package/src/components/style-sections/typography-section/font-style-field.tsx +4 -4
  33. package/src/components/style-sections/typography-section/font-weight-field.tsx +4 -4
  34. package/src/components/style-sections/typography-section/letter-spacing-field.tsx +4 -4
  35. package/src/components/style-sections/typography-section/line-height-field.tsx +4 -4
  36. package/src/components/style-sections/typography-section/text-alignment-field.tsx +4 -4
  37. package/src/components/style-sections/typography-section/text-color-field.tsx +4 -4
  38. package/src/components/style-sections/typography-section/text-decoration-field.tsx +4 -4
  39. package/src/components/style-sections/typography-section/text-direction-field.tsx +4 -4
  40. package/src/components/style-sections/typography-section/transform-field.tsx +4 -4
  41. package/src/components/style-sections/typography-section/word-spacing-field.tsx +4 -4
  42. package/src/contexts/styles-field-targets-context.tsx +17 -0
  43. package/src/controls-registry/styles-field.tsx +4 -0
  44. package/src/hooks/use-styles-fields.ts +89 -56
  45. package/src/index.ts +5 -2
  46. package/src/styles-field-registry.ts +79 -0
  47. package/src/utils/element-local-style.ts +30 -0
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react from 'react';
1
+ import * as React$1 from 'react';
2
2
  import { PropsWithChildren, ReactNode, FC, Dispatch, ComponentProps, ComponentType } from 'react';
3
3
  import { AutocompleteProps, AutocompleteChangeReason, ListProps, Theme, ChipProps } from '@elementor/ui';
4
4
  import * as _elementor_locations from '@elementor/locations';
@@ -7,7 +7,7 @@ import { StyleDefinition, StyleDefinitionState, StyleDefinitionVariant, StyleDef
7
7
  import { Element, ElementType, Control as Control$1, ElementControl, ElementID, ControlLayout, ControlItem } from '@elementor/editor-elements';
8
8
  import { CollapsibleValue } from '@elementor/editor-ui';
9
9
  import * as _elementor_editor_props from '@elementor/editor-props';
10
- import { PropKey, AnyTransformable, PropTypeUtil, PropsSchema, ObjectPropType, TransformablePropValue, PropValue, PropType, Props as Props$5 } from '@elementor/editor-props';
10
+ import { PropKey, AnyTransformable, PropTypeUtil, PropsSchema, ObjectPropType, TransformablePropValue, PropValue, PropType, Props as Props$6 } from '@elementor/editor-props';
11
11
  import * as _emotion_styled from '@emotion/styled';
12
12
  import * as _mui_system from '@mui/system';
13
13
  import { StylesProvider } from '@elementor/editor-styles-repository';
@@ -56,9 +56,9 @@ type CreatableAutocompleteProps<TOption extends SafeOptionConstraint> = Omit<Aut
56
56
  };
57
57
 
58
58
  declare const CreatableAutocomplete: <TOption extends SafeOptionConstraint>(props: CreatableAutocompleteProps<TOption> & {
59
- ref?: react.ForwardedRef<HTMLElement>;
59
+ ref?: React$1.ForwardedRef<HTMLElement>;
60
60
  }) => ReturnType<typeof CreatableAutocompleteInner>;
61
- declare function CreatableAutocompleteInner<TOption extends SafeOptionConstraint>({ selected, options, entityName, onSelect, placeholder, onCreate, validate, renderEmptyState, ...props }: CreatableAutocompleteProps<TOption>, ref: react.ForwardedRef<HTMLElement>): react.JSX.Element;
61
+ declare function CreatableAutocompleteInner<TOption extends SafeOptionConstraint>({ selected, options, entityName, onSelect, placeholder, onCreate, validate, renderEmptyState, ...props }: CreatableAutocompleteProps<TOption>, ref: React$1.ForwardedRef<HTMLElement>): React$1.JSX.Element;
62
62
 
63
63
  declare const injectIntoCssClassConvert: (args: _elementor_locations.InjectArgs<{
64
64
  styleDef: StyleDefinition | null;
@@ -69,22 +69,23 @@ declare const injectIntoCssClassConvert: (args: _elementor_locations.InjectArgs<
69
69
  type ControlLabelProps = PropsWithChildren<{
70
70
  infoTooltip?: string;
71
71
  }>;
72
- declare const ControlLabel: ({ children, infoTooltip }: ControlLabelProps) => react.JSX.Element;
72
+ declare const ControlLabel: ({ children, infoTooltip }: ControlLabelProps) => React$1.JSX.Element;
73
73
 
74
74
  declare const injectIntoClassSelectorActions: (args: _elementor_locations.InjectArgs<object>) => void;
75
75
 
76
- declare const CustomCssIndicator: () => react.JSX.Element | null;
76
+ declare const CustomCssIndicator: () => React$1.JSX.Element | null;
77
77
 
78
78
  declare const injectIntoPanelHeaderTop: (args: _elementor_locations.InjectArgs<object>) => void;
79
79
 
80
- type SettingsTabSlotProps = {
80
+ type TabSlotProps = {
81
81
  element: Element;
82
82
  elementType: ElementType;
83
83
  };
84
- declare const injectIntoSettingsTab: (args: _elementor_locations.ReplaceableInjectArgs<SettingsTabSlotProps>) => void;
85
- declare const EditingPanelTabs: () => react.JSX.Element;
84
+ declare const injectIntoSettingsTab: (args: _elementor_locations.ReplaceableInjectArgs<TabSlotProps>) => void;
85
+ declare const injectIntoStyleTabContent: (args: _elementor_locations.ReplaceableInjectArgs<TabSlotProps>) => void;
86
+ declare const EditingPanelTabs: () => React$1.JSX.Element;
86
87
 
87
- type Props$4 = PropsWithChildren<{
88
+ type Props$5 = PropsWithChildren<{
88
89
  title: string;
89
90
  defaultExpanded?: boolean;
90
91
  titleEnd?: CollapsibleValue<ReactNode | string>;
@@ -95,7 +96,7 @@ type Props$4 = PropsWithChildren<{
95
96
  onClick: () => void;
96
97
  };
97
98
  }>;
98
- declare function Section({ title, children, defaultExpanded, titleEnd, titleActions, unmountOnExit, action, }: Props$4): react.JSX.Element;
99
+ declare function Section({ title, children, defaultExpanded, titleEnd, titleActions, unmountOnExit, action, }: Props$5): React$1.JSX.Element;
99
100
 
100
101
  type SectionContentProps = PropsWithChildren<{
101
102
  gap?: number;
@@ -107,20 +108,20 @@ type SectionContentProps = PropsWithChildren<{
107
108
  }>;
108
109
  declare const SectionContent: FC<SectionContentProps>;
109
110
 
110
- declare function SectionsList(props: ListProps): react.JSX.Element;
111
+ declare function SectionsList(props: ListProps): React$1.JSX.Element;
111
112
 
112
113
  declare const SettingsControl: ({ control: { value, type } }: {
113
114
  control: Control$1 | ElementControl;
114
- }) => react.JSX.Element | null;
115
+ }) => React$1.JSX.Element | null;
115
116
 
116
- declare const SettingsTab: () => react.JSX.Element;
117
+ declare const SettingsTab: () => React$1.JSX.Element;
117
118
 
118
119
  type SettingsFieldProps = {
119
120
  bind: PropKey;
120
121
  propDisplayName: string;
121
- children: react.ReactNode;
122
+ children: React$1.ReactNode;
122
123
  };
123
- declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => react.JSX.Element | null;
124
+ declare const SettingsField: ({ bind, children, propDisplayName }: SettingsFieldProps) => React$1.JSX.Element | null;
124
125
 
125
126
  declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUIStyledCommonProps<Theme> & ({
126
127
  isOverridden?: boolean;
@@ -128,17 +129,18 @@ declare const StyleIndicator: _emotion_styled.StyledComponent<_mui_system.MUISty
128
129
  } | {
129
130
  isOverridden?: boolean;
130
131
  getColor?: ((theme: Theme) => string) | null;
131
- }), react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
132
+ }), React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
132
133
 
133
- declare const StyleTabSlot: react.ComponentType<object>;
134
+ declare const StyleTabSlot: React$1.ComponentType<object>;
134
135
  declare const injectIntoStyleTab: (args: _elementor_locations.InjectArgs<object>) => void;
136
+ declare const StyleTab: () => React$1.JSX.Element | null;
135
137
 
136
- declare const StyleSections: () => react.JSX.Element;
138
+ declare const StyleSections: () => React$1.JSX.Element;
137
139
 
138
140
  type StyleSectionDefinition = {
139
141
  name: string;
140
142
  title: string;
141
- component: () => react.JSX.Element;
143
+ component: () => React$1.JSX.Element;
142
144
  fields: string[];
143
145
  };
144
146
  declare const STYLE_SECTIONS: StyleSectionDefinition[];
@@ -159,14 +161,14 @@ type PseudoStateMenuItemsProps = {
159
161
  onSelectState: (state: StyleDefinitionState | null) => void;
160
162
  onClose?: () => void;
161
163
  };
162
- declare function PseudoStateMenuItems({ states, activeState, onSelectState, onClose }: PseudoStateMenuItemsProps): react.JSX.Element;
164
+ declare function PseudoStateMenuItems({ states, activeState, onSelectState, onClose }: PseudoStateMenuItemsProps): React$1.JSX.Element;
163
165
 
164
166
  declare function usePseudoStates(): PseudoStateOption[];
165
167
 
166
168
  declare const injectIntoGridFields: (args: _elementor_locations.InjectArgs<object>) => void;
167
169
 
168
170
  type SectionType = {
169
- component?: () => react.JSX.Element;
171
+ component?: () => React$1.JSX.Element;
170
172
  name: string;
171
173
  title: string;
172
174
  action?: {
@@ -174,17 +176,17 @@ type SectionType = {
174
176
  onClick: () => void;
175
177
  };
176
178
  };
177
- type Props$3 = {
179
+ type Props$4 = {
178
180
  section: SectionType;
179
181
  fields?: string[];
180
182
  unmountOnExit?: boolean;
181
183
  };
182
- declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$3) => react.JSX.Element;
184
+ declare const StyleTabSection: ({ section, fields, unmountOnExit }: Props$4) => React$1.JSX.Element;
183
185
 
184
186
  type CustomCssHeaderProps = {
185
187
  elementId: string;
186
188
  };
187
- declare const CustomCssHeaderSlot: react.ComponentType<CustomCssHeaderProps>;
189
+ declare const CustomCssHeaderSlot: React$1.ComponentType<CustomCssHeaderProps>;
188
190
  declare const injectIntoCustomCssHeader: (args: _elementor_locations.InjectArgs<CustomCssHeaderProps>) => void;
189
191
 
190
192
  type StyleSectionHeaderProps = {
@@ -205,8 +207,8 @@ declare const injectIntoStyleTabHeader: (args: _elementor_locations.InjectArgs<S
205
207
  type ContextValue$2 = {
206
208
  prop: string;
207
209
  };
208
- type Props$2 = PropsWithChildren<ContextValue$2>;
209
- declare function ClassesPropProvider({ children, prop }: Props$2): react.JSX.Element;
210
+ type Props$3 = PropsWithChildren<ContextValue$2>;
211
+ declare function ClassesPropProvider({ children, prop }: Props$3): React$1.JSX.Element;
210
212
  declare function useClassesProp(): string;
211
213
 
212
214
  type ContextValue$1 = {
@@ -214,8 +216,8 @@ type ContextValue$1 = {
214
216
  elementType: ElementType;
215
217
  settings: Record<string, AnyTransformable | null>;
216
218
  };
217
- type Props$1 = PropsWithChildren<ContextValue$1>;
218
- declare function ElementProvider({ children, element, elementType, settings }: Props$1): react.JSX.Element;
219
+ type Props$2 = PropsWithChildren<ContextValue$1>;
220
+ declare function ElementProvider({ children, element, elementType, settings }: Props$2): React$1.JSX.Element;
219
221
  declare function useElement(): ContextValue$1;
220
222
 
221
223
  type ContextValue = {
@@ -232,11 +234,16 @@ type ContextValueWithoutProvider = {
232
234
  id: null;
233
235
  provider: null;
234
236
  };
235
- type Props = PropsWithChildren<Omit<ContextValue, 'provider'>>;
236
- declare function StyleProvider({ children, ...props }: Props): react.JSX.Element;
237
+ type Props$1 = PropsWithChildren<Omit<ContextValue, 'provider'>>;
238
+ declare function StyleProvider({ children, ...props }: Props$1): React$1.JSX.Element;
237
239
  declare function useStyle(): ContextValue;
238
240
 
239
- declare function StyleInheritanceProvider({ children }: PropsWithChildren): react.JSX.Element;
241
+ declare function StyleInheritanceProvider({ children }: PropsWithChildren): React$1.JSX.Element;
242
+
243
+ type Props = PropsWithChildren<{
244
+ elementIds: ElementID[];
245
+ }>;
246
+ declare function StylesFieldTargetsProvider({ children, elementIds }: Props): React$1.JSX.Element;
240
247
 
241
248
  type ControlRegistry = Record<string, {
242
249
  component: ControlComponent;
@@ -256,7 +263,7 @@ declare const controlTypes: {
256
263
  }[];
257
264
  label?: string;
258
265
  promotion?: _elementor_editor_controls.AppPromotion;
259
- }) => react.JSX.Element>;
266
+ }) => React$1.JSX.Element>;
260
267
  readonly layout: "custom";
261
268
  readonly propTypeUtil: {
262
269
  extract: (prop: unknown) => {
@@ -324,7 +331,7 @@ declare const controlTypes: {
324
331
  readonly 'svg-media': {
325
332
  readonly component: ControlComponent<({ label }: {
326
333
  label?: string;
327
- }) => react.JSX.Element>;
334
+ }) => React$1.JSX.Element>;
328
335
  readonly layout: "full";
329
336
  readonly propTypeUtil: {
330
337
  extract: (prop: unknown) => {
@@ -476,7 +483,7 @@ declare const controlTypes: {
476
483
  helperText?: string;
477
484
  sx?: _mui_system.SxProps;
478
485
  ariaLabel?: string;
479
- }) => react.JSX.Element>;
486
+ }) => React$1.JSX.Element>;
480
487
  readonly layout: "full";
481
488
  readonly propTypeUtil: {
482
489
  extract: (prop: unknown) => string | null;
@@ -506,7 +513,7 @@ declare const controlTypes: {
506
513
  readonly component: ControlComponent<({ placeholder: propPlaceholder, ariaLabel }: {
507
514
  placeholder?: string;
508
515
  ariaLabel?: string;
509
- }) => react.JSX.Element>;
516
+ }) => React$1.JSX.Element>;
510
517
  readonly layout: "full";
511
518
  readonly propTypeUtil: {
512
519
  extract: (prop: unknown) => string | null;
@@ -535,10 +542,10 @@ declare const controlTypes: {
535
542
  readonly size: {
536
543
  readonly component: ControlComponent<({ variant, defaultUnit, units, placeholder, startIcon, anchorRef, extendedOptions, disableCustom, min, enablePropTypeUnits, id, ariaLabel, }: Omit<({
537
544
  placeholder?: string;
538
- startIcon?: react.ReactNode;
545
+ startIcon?: React$1.ReactNode;
539
546
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
540
547
  disableCustom?: boolean;
541
- anchorRef?: react.RefObject<HTMLDivElement | null>;
548
+ anchorRef?: React$1.RefObject<HTMLDivElement | null>;
542
549
  min?: number;
543
550
  enablePropTypeUnits?: boolean;
544
551
  id?: string;
@@ -550,10 +557,10 @@ declare const controlTypes: {
550
557
  variant: "length";
551
558
  }) | ({
552
559
  placeholder?: string;
553
- startIcon?: react.ReactNode;
560
+ startIcon?: React$1.ReactNode;
554
561
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
555
562
  disableCustom?: boolean;
556
- anchorRef?: react.RefObject<HTMLDivElement | null>;
563
+ anchorRef?: React$1.RefObject<HTMLDivElement | null>;
557
564
  min?: number;
558
565
  enablePropTypeUnits?: boolean;
559
566
  id?: string;
@@ -565,10 +572,10 @@ declare const controlTypes: {
565
572
  variant: "angle";
566
573
  }) | ({
567
574
  placeholder?: string;
568
- startIcon?: react.ReactNode;
575
+ startIcon?: React$1.ReactNode;
569
576
  extendedOptions?: _elementor_editor_controls.ExtendedOption[];
570
577
  disableCustom?: boolean;
571
- anchorRef?: react.RefObject<HTMLDivElement | null>;
578
+ anchorRef?: React$1.RefObject<HTMLDivElement | null>;
572
579
  min?: number;
573
580
  enablePropTypeUnits?: boolean;
574
581
  id?: string;
@@ -580,7 +587,7 @@ declare const controlTypes: {
580
587
  variant: "time";
581
588
  }), "variant"> & {
582
589
  variant?: "length" | "time" | "angle";
583
- }) => react.JSX.Element>;
590
+ }) => React$1.JSX.Element>;
584
591
  readonly layout: "two-columns";
585
592
  readonly propTypeUtil: {
586
593
  extract: (prop: unknown) => {
@@ -821,7 +828,7 @@ declare const controlTypes: {
821
828
  ariaLabel?: string;
822
829
  } & {
823
830
  collectionId?: "off-canvas" | "form-elements";
824
- }) => react.JSX.Element>;
831
+ }) => React$1.JSX.Element>;
825
832
  readonly layout: "two-columns";
826
833
  readonly propTypeUtil: {
827
834
  extract: (prop: unknown) => string | null;
@@ -854,7 +861,7 @@ declare const controlTypes: {
854
861
  value: string;
855
862
  }[];
856
863
  freeChips?: boolean;
857
- }) => react.JSX.Element>;
864
+ }) => React$1.JSX.Element>;
858
865
  readonly layout: "full";
859
866
  readonly propTypeUtil: {
860
867
  extract: (prop: unknown) => {
@@ -947,7 +954,7 @@ declare const controlTypes: {
947
954
  context: {
948
955
  elementId: string;
949
956
  };
950
- }) => react.JSX.Element>;
957
+ }) => React$1.JSX.Element>;
951
958
  readonly layout: "custom";
952
959
  readonly propTypeUtil: {
953
960
  extract: (prop: unknown) => {
@@ -1036,7 +1043,7 @@ declare const controlTypes: {
1036
1043
  placeholder?: string;
1037
1044
  onSetValue?: (value: any | null) => void;
1038
1045
  ariaLabel?: string;
1039
- }) => react.JSX.Element>;
1046
+ }) => React$1.JSX.Element>;
1040
1047
  readonly layout: "full";
1041
1048
  readonly propTypeUtil: {
1042
1049
  extract: (prop: unknown) => {
@@ -1109,7 +1116,7 @@ declare const controlTypes: {
1109
1116
  };
1110
1117
  placeholder?: string;
1111
1118
  minInputLength?: number;
1112
- }) => react.JSX.Element>;
1119
+ }) => React$1.JSX.Element>;
1113
1120
  readonly layout: "full";
1114
1121
  readonly propTypeUtil: {
1115
1122
  extract: (prop: unknown) => {
@@ -1235,7 +1242,7 @@ declare const controlTypes: {
1235
1242
  placeholder?: string;
1236
1243
  minInputLength?: number;
1237
1244
  ariaLabel?: string;
1238
- }) => react.JSX.Element>;
1245
+ }) => React$1.JSX.Element>;
1239
1246
  readonly layout: "full";
1240
1247
  readonly propTypeUtil: {
1241
1248
  extract: (prop: unknown) => {
@@ -1306,7 +1313,7 @@ declare const controlTypes: {
1306
1313
  keyConfig: Record<string, _elementor_editor_props.QueryFilterKeyConfig>;
1307
1314
  label?: string;
1308
1315
  chipsPlaceholder?: string;
1309
- }) => react.JSX.Element>;
1316
+ }) => React$1.JSX.Element>;
1310
1317
  readonly layout: "full";
1311
1318
  readonly propTypeUtil: {
1312
1319
  extract: (prop: unknown) => {
@@ -1440,7 +1447,7 @@ declare const controlTypes: {
1440
1447
  readonly component: ControlComponent<({ placeholder: propPlaceholder, ariaLabel }: {
1441
1448
  placeholder?: string;
1442
1449
  ariaLabel?: string;
1443
- }) => react.JSX.Element>;
1450
+ }) => React$1.JSX.Element>;
1444
1451
  readonly layout: "full";
1445
1452
  readonly propTypeUtil: {
1446
1453
  extract: (prop: unknown) => string | null;
@@ -1467,7 +1474,7 @@ declare const controlTypes: {
1467
1474
  };
1468
1475
  };
1469
1476
  readonly switch: {
1470
- readonly component: ControlComponent<() => react.JSX.Element>;
1477
+ readonly component: ControlComponent<() => React$1.JSX.Element>;
1471
1478
  readonly layout: "two-columns";
1472
1479
  readonly propTypeUtil: {
1473
1480
  extract: (prop: unknown) => boolean | null;
@@ -1500,9 +1507,9 @@ declare const controlTypes: {
1500
1507
  min?: number | null;
1501
1508
  step?: number | null;
1502
1509
  shouldForceInt?: boolean;
1503
- startIcon?: react.ReactNode;
1510
+ startIcon?: React$1.ReactNode;
1504
1511
  disabled?: boolean;
1505
- }) => react.JSX.Element>;
1512
+ }) => React$1.JSX.Element>;
1506
1513
  readonly layout: "two-columns";
1507
1514
  readonly propTypeUtil: {
1508
1515
  extract: (prop: unknown) => number | null;
@@ -1555,11 +1562,11 @@ declare const controlTypes: {
1555
1562
  addItemTooltipProps?: {
1556
1563
  disabled?: boolean;
1557
1564
  enableTooltip?: boolean;
1558
- tooltipContent?: react.ReactNode;
1565
+ tooltipContent?: React$1.ReactNode;
1559
1566
  newItemIndex?: number;
1560
1567
  ariaLabel?: string;
1561
1568
  };
1562
- }) => react.JSX.Element | null>;
1569
+ }) => React$1.JSX.Element | null>;
1563
1570
  readonly layout: "full";
1564
1571
  readonly propTypeUtil: undefined;
1565
1572
  };
@@ -1575,7 +1582,7 @@ declare const controlTypes: {
1575
1582
  keyHelper?: string;
1576
1583
  valueHelper?: string;
1577
1584
  };
1578
- }) => react.JSX.Element>;
1585
+ }) => React$1.JSX.Element>;
1579
1586
  readonly layout: "full";
1580
1587
  readonly propTypeUtil: {
1581
1588
  extract: (prop: unknown) => {
@@ -1653,7 +1660,7 @@ declare const controlTypes: {
1653
1660
  context: {
1654
1661
  elementId: string;
1655
1662
  };
1656
- }) => react.JSX.Element>;
1663
+ }) => React$1.JSX.Element>;
1657
1664
  readonly layout: "two-columns";
1658
1665
  readonly propTypeUtil: {
1659
1666
  extract: (prop: unknown) => string | null;
@@ -1680,7 +1687,7 @@ declare const controlTypes: {
1680
1687
  };
1681
1688
  };
1682
1689
  readonly toggle: {
1683
- readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, allowEmpty, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) => react.JSX.Element>;
1690
+ readonly component: ControlComponent<({ options, fullWidth, size, exclusive, maxItems, convertOptions, allowEmpty, }: _elementor_editor_controls.ToggleControlProps<_elementor_editor_props.StringPropValue["value"]>) => React$1.JSX.Element>;
1684
1691
  readonly layout: "full";
1685
1692
  readonly propTypeUtil: {
1686
1693
  extract: (prop: unknown) => string | null;
@@ -1709,7 +1716,7 @@ declare const controlTypes: {
1709
1716
  readonly 'date-time': {
1710
1717
  readonly component: ControlComponent<({ inputDisabled }: {
1711
1718
  inputDisabled?: boolean;
1712
- }) => react.JSX.Element>;
1719
+ }) => React$1.JSX.Element>;
1713
1720
  readonly layout: "full";
1714
1721
  readonly propTypeUtil: {
1715
1722
  extract: (prop: unknown) => {
@@ -1777,7 +1784,7 @@ declare const controlTypes: {
1777
1784
  readonly video: {
1778
1785
  readonly component: ControlComponent<({ label }: {
1779
1786
  label?: string;
1780
- }) => react.JSX.Element>;
1787
+ }) => React$1.JSX.Element>;
1781
1788
  readonly layout: "full";
1782
1789
  readonly propTypeUtil: {
1783
1790
  extract: (prop: unknown) => {
@@ -1885,14 +1892,14 @@ declare const controlTypes: {
1885
1892
  readonly component: ControlComponent<({ sx, attributes, props, label, promotion, context: { elementId } }: {
1886
1893
  sx?: _mui_system.SxProps<_mui_material.Theme>;
1887
1894
  attributes?: Record<string, string>;
1888
- props?: react.ComponentProps<"div">;
1895
+ props?: React$1.ComponentProps<"div">;
1889
1896
  label?: string;
1890
1897
  promotion?: _elementor_editor_controls.AppPromotion;
1891
1898
  } & {
1892
1899
  context: {
1893
1900
  elementId: string;
1894
1901
  };
1895
- }) => react.JSX.Element>;
1902
+ }) => React$1.JSX.Element>;
1896
1903
  readonly layout: "custom";
1897
1904
  readonly propTypeUtil: {
1898
1905
  extract: (prop: unknown) => string | null;
@@ -1922,7 +1929,7 @@ declare const controlTypes: {
1922
1929
  readonly component: ControlComponent<({ toPlaceholder, label }: {
1923
1930
  toPlaceholder?: string;
1924
1931
  label?: string;
1925
- }) => react.JSX.Element>;
1932
+ }) => React$1.JSX.Element>;
1926
1933
  readonly layout: "custom";
1927
1934
  readonly propTypeUtil: {
1928
1935
  extract: (prop: unknown) => {
@@ -2092,7 +2099,7 @@ declare const controlTypes: {
2092
2099
  };
2093
2100
  };
2094
2101
  readonly 'date-range': {
2095
- readonly component: ControlComponent<() => react.JSX.Element>;
2102
+ readonly component: ControlComponent<() => React$1.JSX.Element>;
2096
2103
  readonly layout: "custom";
2097
2104
  readonly propTypeUtil: {
2098
2105
  extract: (prop: unknown) => {
@@ -2158,7 +2165,7 @@ declare const controlTypes: {
2158
2165
  };
2159
2166
  };
2160
2167
  readonly 'time-range': {
2161
- readonly component: ControlComponent<() => react.JSX.Element>;
2168
+ readonly component: ControlComponent<() => React$1.JSX.Element>;
2162
2169
  readonly layout: "custom";
2163
2170
  readonly propTypeUtil: {
2164
2171
  extract: (prop: unknown) => {
@@ -2231,7 +2238,7 @@ declare const controlTypes: {
2231
2238
  value: _elementor_editor_props.StringPropValue["value"];
2232
2239
  disabled?: boolean;
2233
2240
  }[];
2234
- }) => react.JSX.Element>;
2241
+ }) => React$1.JSX.Element>;
2235
2242
  readonly layout: "custom";
2236
2243
  readonly propTypeUtil: {
2237
2244
  extract: (prop: unknown) => string | null;
@@ -2265,7 +2272,7 @@ declare const controlTypes: {
2265
2272
  dismissible?: string;
2266
2273
  buttonText?: string;
2267
2274
  buttonUrl?: string;
2268
- }) => react.JSX.Element | null>;
2275
+ }) => React$1.JSX.Element | null>;
2269
2276
  readonly layout: "full";
2270
2277
  readonly propTypeUtil: {
2271
2278
  extract: (prop: unknown) => string | null;
@@ -2319,11 +2326,11 @@ type ControlProps<T extends ControlType> = AnyPropertyRequired<ComponentProps<Co
2319
2326
  props?: ComponentProps<ControlTypes[T]>;
2320
2327
  type: T;
2321
2328
  };
2322
- declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) => react.JSX.Element;
2329
+ declare const Control: <T extends ControlType>({ props, type }: ControlProps<T>) => React$1.JSX.Element;
2323
2330
 
2324
- declare const ControlTypeContainer: ({ children, layout }: react.PropsWithChildren<{
2331
+ declare const ControlTypeContainer: ({ children, layout }: React$1.PropsWithChildren<{
2325
2332
  layout?: ControlLayout;
2326
- }>) => string | number | boolean | Iterable<react.ReactNode> | react.JSX.Element | null | undefined;
2333
+ }>) => string | number | boolean | Iterable<React$1.ReactNode> | React$1.JSX.Element | null | undefined;
2327
2334
 
2328
2335
  declare const StylesProviderCannotUpdatePropsError: {
2329
2336
  new ({ cause, context }?: {
@@ -2410,6 +2417,13 @@ declare const getFieldIndicators: (fieldType: FieldType) => {
2410
2417
  Adornment: AdornmentComponent;
2411
2418
  }[];
2412
2419
 
2420
+ type StylesFieldLabelProps = {
2421
+ label?: string;
2422
+ };
2423
+
2424
+ type StylesFieldComponent = ComponentType<StylesFieldLabelProps>;
2425
+ declare function getStylesFieldComponent(propKey: PropKey): StylesFieldComponent | null;
2426
+
2413
2427
  type EditingPanelReplacement = {
2414
2428
  condition: (element: Element, elementType: ElementType) => boolean;
2415
2429
  component: ComponentType;
@@ -2477,11 +2491,18 @@ type DependencyEffect = {
2477
2491
  isHidden: boolean;
2478
2492
  isDisabled: (propType: PropType) => boolean;
2479
2493
  };
2480
- declare function getElementSettingsWithDefaults(propsSchema: PropsSchema, elementSettings?: Props$5): Values;
2481
- declare function extractDependencyEffect(bind: string, propsSchema: PropsSchema, settings: Props$5): DependencyEffect;
2494
+ declare function getElementSettingsWithDefaults(propsSchema: PropsSchema, elementSettings?: Props$6): Values;
2495
+ declare function extractDependencyEffect(bind: string, propsSchema: PropsSchema, settings: Props$6): DependencyEffect;
2482
2496
  declare function extractOrderedDependencies(dependenciesPerTargetMapping: Record<string, string[]>): string[];
2483
2497
  declare function getUpdatedValues(values: Values, dependencies: string[], propsSchema: PropsSchema, elementValues: Values, elementId: string): Values;
2484
2498
 
2499
+ type ElementLocalStyle = {
2500
+ styleId: StyleDefinitionID;
2501
+ provider: StylesProvider;
2502
+ };
2503
+ declare function getElementLocalStyle(elementId: ElementID): ElementLocalStyle | null;
2504
+ declare function getElementClassesProp(elementId: ElementID): string | null;
2505
+
2485
2506
  type SubmenuToggleProps = {
2486
2507
  entryId: string | null;
2487
2508
  };
@@ -2489,7 +2510,7 @@ declare const registerSubmenuToggle: (component: ComponentType<SubmenuToggleProp
2489
2510
 
2490
2511
  declare const SubmenuToggle: ({ entryId }: {
2491
2512
  entryId: string | null;
2492
- }) => react.JSX.Element | null;
2513
+ }) => React$1.JSX.Element | null;
2493
2514
 
2494
2515
  type SubmenuPromotion = {
2495
2516
  title: string;
@@ -2498,4 +2519,4 @@ type SubmenuPromotion = {
2498
2519
  };
2499
2520
  declare const getSubmenuPromotion: () => SubmenuPromotion | null;
2500
2521
 
2501
- export { Control as BaseControl, ClassesPropProvider, ControlLabel, type ControlType, ControlTypeContainer, CreatableAutocomplete, type CreatableAutocompleteProps, type CustomCssHeaderProps, CustomCssHeaderSlot, CustomCssIndicator, DEFAULT_PSEUDO_STATES, type DependencyEffect, type DynamicTag, type DynamicTags, type DynamicTagsManager, EditingPanelTabs, type Defaults as ElementPanelDefaults, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type Option, PseudoStateMenuItems, type PseudoStateOption, STYLE_SECTIONS, STYLE_SECTION_NAMES, Section, SectionContent, SectionsList, SettingsControl, SettingsField, SettingsTab, StyleIndicator, StyleInheritanceProvider, StyleProvider, type StyleSectionDefinition, type StyleSectionHeaderProps, StyleSections, type StyleTabHeaderProps, StyleTabSection, StyleTabSlot, StylesProviderCannotUpdatePropsError, type SubmenuPromotion, SubmenuToggle, type SubmenuToggleProps, type ValidationEvent, type ValidationResult, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, extractDependencyEffect, extractOrderedDependencies, getElementSettingsWithDefaults, getFieldIndicators, getSubmenuPromotion, getSubtitle, getTitle, getUpdatedValues, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoCustomCssHeader, injectIntoGridFields, injectIntoPanelHeaderTop, injectIntoSettingsTab, injectIntoStyleSectionHeader, injectIntoStyleTab, injectIntoStyleTabHeader, isDynamicPropValue, registerEditingPanelReplacement, registerElementPanelDefaults, registerFieldIndicator, registerStyleProviderToColors, registerSubmenuToggle, setLicenseConfig, useClassesProp, useControlsByWidgetType, useCustomCss, useElement, usePanelActions, usePanelStatus, usePseudoStates, useStateByElement, useStyle, useStylesRerender };
2522
+ export { Control as BaseControl, ClassesPropProvider, ControlLabel, type ControlType, ControlTypeContainer, CreatableAutocomplete, type CreatableAutocompleteProps, type CustomCssHeaderProps, CustomCssHeaderSlot, CustomCssIndicator, DEFAULT_PSEUDO_STATES, type DependencyEffect, type DynamicTag, type DynamicTags, type DynamicTagsManager, EditingPanelTabs, type Defaults as ElementPanelDefaults, ElementProvider, FIELD_TYPE, HISTORY_DEBOUNCE_WAIT, type Option, PseudoStateMenuItems, type PseudoStateOption, STYLE_SECTIONS, STYLE_SECTION_NAMES, Section, SectionContent, SectionsList, SettingsControl, SettingsField, SettingsTab, StyleIndicator, StyleInheritanceProvider, StyleProvider, type StyleSectionDefinition, type StyleSectionHeaderProps, StyleSections, StyleTab, type StyleTabHeaderProps, StyleTabSection, StyleTabSlot, type StylesFieldComponent, StylesFieldTargetsProvider, StylesProviderCannotUpdatePropsError, type SubmenuPromotion, SubmenuToggle, type SubmenuToggleProps, type ValidationEvent, type ValidationResult, controlsRegistry, createTopLevelObjectType, doApplyClasses, doGetAppliedClasses, doUnapplyClass, extractDependencyEffect, extractOrderedDependencies, getElementClassesProp, getElementLocalStyle, getElementSettingsWithDefaults, getFieldIndicators, getStylesFieldComponent, getSubmenuPromotion, getSubtitle, getTitle, getUpdatedValues, init, injectIntoClassSelectorActions, injectIntoCssClassConvert, injectIntoCustomCssHeader, injectIntoGridFields, injectIntoPanelHeaderTop, injectIntoSettingsTab, injectIntoStyleSectionHeader, injectIntoStyleTab, injectIntoStyleTabContent, injectIntoStyleTabHeader, isDynamicPropValue, registerEditingPanelReplacement, registerElementPanelDefaults, registerFieldIndicator, registerStyleProviderToColors, registerSubmenuToggle, setLicenseConfig, useClassesProp, useControlsByWidgetType, useCustomCss, useElement, usePanelActions, usePanelStatus, usePseudoStates, useStateByElement, useStyle, useStylesRerender };