@onesy/ui-react 1.0.51 → 1.0.52
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/esm/index.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +9 -8
package/esm/index.js
CHANGED
package/package.json
CHANGED
package/types.d.ts
CHANGED
@@ -23,17 +23,18 @@ export declare type IPropsAny = Record<string, any>;
|
|
23
23
|
export declare type IStyle = React.CSSProperties | undefined;
|
24
24
|
export declare type IChildren = React.ReactNode | React.ReactNode[];
|
25
25
|
export declare type IRef = React.MutableRefObject<any>;
|
26
|
-
export declare type IBaseElement<P = {}, T = HTMLElement> = React.HTMLAttributes<T> & {
|
26
|
+
export declare type IBaseElement<P = {}, T = HTMLElement> = Omit<React.HTMLAttributes<T>, 'onClick' | 'onChange' | 'onInput' | 'onKeyDown' | 'onMouseEnter' | 'onMouseLeave' | 'onDoubleClick' | 'onSubmit'> & {
|
27
27
|
tonal?: ITonal;
|
28
28
|
color?: IColor;
|
29
29
|
size?: ISizeAny;
|
30
|
-
onClick?:
|
31
|
-
onChange?:
|
32
|
-
onInput?:
|
33
|
-
onKeyDown?:
|
34
|
-
onMouseEnter?:
|
35
|
-
onMouseLeave?:
|
36
|
-
onDoubleClick?:
|
30
|
+
onClick?: any;
|
31
|
+
onChange?: any;
|
32
|
+
onInput?: any;
|
33
|
+
onKeyDown?: any;
|
34
|
+
onMouseEnter?: any;
|
35
|
+
onMouseLeave?: any;
|
36
|
+
onDoubleClick?: any;
|
37
|
+
onSubmit?: any;
|
37
38
|
readOnly?: boolean;
|
38
39
|
disabled?: boolean;
|
39
40
|
children?: any;
|