kwant-ui 3.28.24 → 3.28.26

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { HoverTypes } from './types';
2
- declare function HoverHOC(props: HoverTypes): import("react/jsx-runtime").JSX.Element;
3
+ declare const HoverHOC: import("react").ForwardRefExoticComponent<HoverTypes & import("react").RefAttributes<HTMLInputElement>>;
3
4
  export default HoverHOC;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import { Ref } from 'react';
2
2
  export type HoverTypes = {
3
3
  children: JSX.Element[] | JSX.Element;
4
4
  label?: string;
@@ -9,6 +9,7 @@ export type HoverTypes = {
9
9
  setEditActive?: any;
10
10
  onMouseLeaveFromInput?: any;
11
11
  disableEdit?: boolean;
12
+ inputRef?: Ref<HTMLInputElement>;
12
13
  };
13
14
  export type HoverStyleTypes = {
14
15
  editMode?: boolean;
@@ -1,4 +1,24 @@
1
- import { FC } from 'react';
1
+ /// <reference types="react" />
2
2
  import { InputComponent } from './types';
3
- declare const Input: FC<InputComponent.Props>;
3
+ declare const Input: import("react").ForwardRefExoticComponent<import("react").InputHTMLAttributes<HTMLInputElement> & {
4
+ onClick?: (event: import("react").MouseEvent<HTMLInputElement, MouseEvent>) => void;
5
+ onChange?: (event: import("react").ChangeEvent<HTMLInputElement>) => void;
6
+ disabled?: boolean;
7
+ value?: string | number;
8
+ name?: string;
9
+ type?: string;
10
+ required?: boolean;
11
+ readOnly?: boolean;
12
+ label?: string;
13
+ errorMessage?: string;
14
+ error?: boolean;
15
+ id?: string;
16
+ helperText?: string;
17
+ onBlur?: (e: import("react").FocusEvent<HTMLInputElement, Element>) => void;
18
+ onFocus?: (e: import("react").FocusEvent<HTMLInputElement, Element>) => void;
19
+ rightSection?: import("react").ReactNode;
20
+ leftSection?: import("react").ReactNode;
21
+ width?: number;
22
+ variant?: InputComponent.InputVariant;
23
+ } & import("react").RefAttributes<HTMLInputElement>>;
4
24
  export { Input };