@elementor/editor-controls 0.31.0 → 0.32.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 +17 -0
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +282 -178
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +233 -131
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/controls/aspect-ratio-control.tsx +121 -0
- package/src/controls/link-control.tsx +1 -1
- package/src/controls/switch-control.tsx +20 -0
- package/src/index.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @elementor/editor-controls
|
|
2
2
|
|
|
3
|
+
## 0.32.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 93642ee: add new switch control for v4
|
|
8
|
+
- ae40ebe: Add an aspect ratio control to the styles size section
|
|
9
|
+
- 53a75e4: Fix the link value to be saved and restored properly
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 615baa1: upgrade elementor/ui version
|
|
14
|
+
- Updated dependencies [12fab9e]
|
|
15
|
+
- Updated dependencies [6e1d5ff]
|
|
16
|
+
- Updated dependencies [615baa1]
|
|
17
|
+
- @elementor/editor-ui@0.9.0
|
|
18
|
+
- @elementor/editor-current-user@0.5.0
|
|
19
|
+
|
|
3
20
|
## 0.31.0
|
|
4
21
|
|
|
5
22
|
### 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 };
|