@elementor/editor-controls 0.14.0 → 0.15.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,23 @@
1
1
  # @elementor/editor-controls
2
2
 
3
+ ## 0.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - a654cb2: Update `@elementor/icons` version
8
+ - f99d23c: Add missing tooltips for style controls
9
+ - f6a4d4f: add API client and hooks for enabling unfiltered files upload
10
+
11
+ ### Patch Changes
12
+
13
+ - 23458d1: Make atomic controls use Logical Properties
14
+ - cab4ddf: Improve Font Family control performance
15
+ - Updated dependencies [23458d1]
16
+ - Updated dependencies [f6a4d4f]
17
+ - @elementor/editor-props@0.9.4
18
+ - @elementor/wp-media@0.5.0
19
+ - @elementor/http@0.1.4
20
+
3
21
  ## 0.14.0
4
22
 
5
23
  ### Minor Changes
package/dist/index.d.mts CHANGED
@@ -102,17 +102,22 @@ type EqualUnequalItems = [Item, Item, Item, Item];
102
102
  type Props$1<TMultiPropType extends string, TPropValue extends MultiSizePropValue> = {
103
103
  label: string;
104
104
  icon: ReactNode;
105
+ tooltipLabel: string;
105
106
  items: EqualUnequalItems;
106
107
  multiSizePropTypeUtil: PropTypeUtil<TMultiPropType, TPropValue>;
107
108
  };
108
- declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, items, multiSizePropTypeUtil, }: Props$1<TMultiPropType, TPropValue>): React.JSX.Element;
109
+ declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$1<TMultiPropType, TPropValue>): React.JSX.Element;
109
110
 
110
- declare const LinkedDimensionsControl: ControlComponent<({ label, extendedValues }: {
111
+ declare const LinkedDimensionsControl: ControlComponent<({ label, isSiteRtl, extendedValues, }: {
111
112
  label: string;
113
+ isSiteRtl?: boolean;
112
114
  extendedValues?: ExtendedValue[];
113
115
  }) => React.JSX.Element>;
114
116
 
115
- declare const FontFamilyControl: ControlComponent<({ fontFamilies }: any) => React.JSX.Element | null>;
117
+ type FontFamilyControlProps = {
118
+ fontFamilies: Record<string, string[]>;
119
+ };
120
+ declare const FontFamilyControl: ControlComponent<({ fontFamilies }: FontFamilyControlProps) => React.JSX.Element>;
116
121
 
117
122
  declare const UrlControl: ControlComponent<({ placeholder }: {
118
123
  placeholder?: string;
package/dist/index.d.ts CHANGED
@@ -102,17 +102,22 @@ type EqualUnequalItems = [Item, Item, Item, Item];
102
102
  type Props$1<TMultiPropType extends string, TPropValue extends MultiSizePropValue> = {
103
103
  label: string;
104
104
  icon: ReactNode;
105
+ tooltipLabel: string;
105
106
  items: EqualUnequalItems;
106
107
  multiSizePropTypeUtil: PropTypeUtil<TMultiPropType, TPropValue>;
107
108
  };
108
- declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, items, multiSizePropTypeUtil, }: Props$1<TMultiPropType, TPropValue>): React.JSX.Element;
109
+ declare function EqualUnequalSizesControl<TMultiPropType extends string, TPropValue extends MultiSizePropValue>({ label, icon, tooltipLabel, items, multiSizePropTypeUtil, }: Props$1<TMultiPropType, TPropValue>): React.JSX.Element;
109
110
 
110
- declare const LinkedDimensionsControl: ControlComponent<({ label, extendedValues }: {
111
+ declare const LinkedDimensionsControl: ControlComponent<({ label, isSiteRtl, extendedValues, }: {
111
112
  label: string;
113
+ isSiteRtl?: boolean;
112
114
  extendedValues?: ExtendedValue[];
113
115
  }) => React.JSX.Element>;
114
116
 
115
- declare const FontFamilyControl: ControlComponent<({ fontFamilies }: any) => React.JSX.Element | null>;
117
+ type FontFamilyControlProps = {
118
+ fontFamilies: Record<string, string[]>;
119
+ };
120
+ declare const FontFamilyControl: ControlComponent<({ fontFamilies }: FontFamilyControlProps) => React.JSX.Element>;
116
121
 
117
122
  declare const UrlControl: ControlComponent<({ placeholder }: {
118
123
  placeholder?: string;