@elementor/editor-controls 4.1.0-710 → 4.1.0-712

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/src/index.ts CHANGED
@@ -38,6 +38,7 @@ export { transitionProperties, transitionsItemsList } from './controls/transitio
38
38
  export { DateTimeControl } from './controls/date-time-control';
39
39
  export { InlineEditingControl } from './controls/inline-editing-control';
40
40
  export { EmailFormActionControl } from './controls/email-form-action-control';
41
+ export { UnstableSizeControl } from './controls/size-control/unstable-size-control';
41
42
 
42
43
  // components
43
44
  export { ControlFormLabel } from './components/control-form-label';
@@ -58,6 +59,7 @@ export { InlineEditor } from './components/inline-editor';
58
59
  export { InlineEditorToolbar } from './components/inline-editor-toolbar';
59
60
  export { UnstableSizeField } from './components/size/unstable-size-field';
60
61
  export { NumberInput } from './components/number-input';
62
+ export { SizeComponent } from './controls/size-control/size-component';
61
63
 
62
64
  // types
63
65
  export type { ControlComponent } from './create-control';
@@ -1,11 +0,0 @@
1
- export const isNumericValue = ( value: unknown ): boolean => {
2
- if ( typeof value === 'number' ) {
3
- return ! isNaN( value );
4
- }
5
-
6
- if ( typeof value === 'string' ) {
7
- return value.trim() !== '' && ! isNaN( Number( value ) );
8
- }
9
-
10
- return false;
11
- };