@elementor/editor-controls 0.31.0 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @elementor/editor-controls
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 67248fc: Move Aspect Ratio control to Collapse menu
8
+
9
+ ## 0.32.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 93642ee: add new switch control for v4
14
+ - ae40ebe: Add an aspect ratio control to the styles size section
15
+ - 53a75e4: Fix the link value to be saved and restored properly
16
+
17
+ ### Patch Changes
18
+
19
+ - 615baa1: upgrade elementor/ui version
20
+ - Updated dependencies [12fab9e]
21
+ - Updated dependencies [6e1d5ff]
22
+ - Updated dependencies [615baa1]
23
+ - @elementor/editor-ui@0.9.0
24
+ - @elementor/editor-current-user@0.5.0
25
+
3
26
  ## 0.31.0
4
27
 
5
28
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -156,10 +156,16 @@ declare const GapControl: ControlComponent<({ label }: {
156
156
  label: string;
157
157
  }) => React.JSX.Element>;
158
158
 
159
+ declare const AspectRatioControl: ControlComponent<({ label }: {
160
+ label: string;
161
+ }) => React.JSX.Element>;
162
+
159
163
  declare const SvgMediaControl: ControlComponent<() => React.JSX.Element>;
160
164
 
161
165
  declare const BackgroundControl: ControlComponent<() => React.JSX.Element>;
162
166
 
167
+ declare const SwitchControl: ControlComponent<() => React.JSX.Element>;
168
+
163
169
  declare const ControlFormLabel: ({ children }: {
164
170
  children: React.ReactNode;
165
171
  }) => React.JSX.Element;
@@ -263,4 +269,4 @@ type UseInternalStateOptions<TValue> = {
263
269
  };
264
270
  declare const useSyncExternalState: <TValue>({ external, setExternal, persistWhen, fallback, }: UseInternalStateOptions<TValue>) => readonly [TValue, (setter: ((value: TValue) => TValue) | TValue) => void];
265
271
 
266
- export { BackgroundControl, BoxShadowRepeaterControl, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedValue, type FontCategory, FontFamilyControl, GapControl, ImageControl, LinkControl, LinkedDimensionsControl, NumberControl, PropKeyProvider, PropProvider, type PropProviderProps, SelectControl, type SetValue, SizeControl, StrokeControl, SvgMediaControl, TextAreaControl, TextControl, type ToggleButtonGroupItem, ToggleControl, type ToggleControlProps, UrlControl, createControlReplacementsRegistry, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, useBoundProp, useControlActions, useSyncExternalState };
272
+ export { AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedValue, type FontCategory, FontFamilyControl, GapControl, ImageControl, LinkControl, LinkedDimensionsControl, NumberControl, PropKeyProvider, PropProvider, type PropProviderProps, SelectControl, type SetValue, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type ToggleButtonGroupItem, ToggleControl, type ToggleControlProps, UrlControl, createControlReplacementsRegistry, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, useBoundProp, useControlActions, useSyncExternalState };
package/dist/index.d.ts CHANGED
@@ -156,10 +156,16 @@ declare const GapControl: ControlComponent<({ label }: {
156
156
  label: string;
157
157
  }) => React.JSX.Element>;
158
158
 
159
+ declare const AspectRatioControl: ControlComponent<({ label }: {
160
+ label: string;
161
+ }) => React.JSX.Element>;
162
+
159
163
  declare const SvgMediaControl: ControlComponent<() => React.JSX.Element>;
160
164
 
161
165
  declare const BackgroundControl: ControlComponent<() => React.JSX.Element>;
162
166
 
167
+ declare const SwitchControl: ControlComponent<() => React.JSX.Element>;
168
+
163
169
  declare const ControlFormLabel: ({ children }: {
164
170
  children: React.ReactNode;
165
171
  }) => React.JSX.Element;
@@ -263,4 +269,4 @@ type UseInternalStateOptions<TValue> = {
263
269
  };
264
270
  declare const useSyncExternalState: <TValue>({ external, setExternal, persistWhen, fallback, }: UseInternalStateOptions<TValue>) => readonly [TValue, (setter: ((value: TValue) => TValue) | TValue) => void];
265
271
 
266
- export { BackgroundControl, BoxShadowRepeaterControl, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedValue, type FontCategory, FontFamilyControl, GapControl, ImageControl, LinkControl, LinkedDimensionsControl, NumberControl, PropKeyProvider, PropProvider, type PropProviderProps, SelectControl, type SetValue, SizeControl, StrokeControl, SvgMediaControl, TextAreaControl, TextControl, type ToggleButtonGroupItem, ToggleControl, type ToggleControlProps, UrlControl, createControlReplacementsRegistry, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, useBoundProp, useControlActions, useSyncExternalState };
272
+ export { AspectRatioControl, BackgroundControl, BoxShadowRepeaterControl, ColorControl, type ControlActionsItems, ControlActionsProvider, ControlAdornments, ControlAdornmentsProvider, type ControlComponent, ControlFormLabel, ControlReplacementsProvider, ControlToggleButtonGroup, type EqualUnequalItems, EqualUnequalSizesControl, type ExtendedValue, type FontCategory, FontFamilyControl, GapControl, ImageControl, LinkControl, LinkedDimensionsControl, NumberControl, PropKeyProvider, PropProvider, type PropProviderProps, SelectControl, type SetValue, SizeControl, StrokeControl, SvgMediaControl, SwitchControl, TextAreaControl, TextControl, type ToggleButtonGroupItem, ToggleControl, type ToggleControlProps, UrlControl, createControlReplacementsRegistry, injectIntoRepeaterItemIcon, injectIntoRepeaterItemLabel, useBoundProp, useControlActions, useSyncExternalState };