react-asc 19.0.2 → 19.0.6
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/components/Button/Button.d.ts +1 -0
- package/components/Form/FormInput/FormInput.d.ts +2 -2
- package/hooks/useHover.d.ts +2 -2
- package/index.es.js +308 -295
- package/index.js +308 -295
- package/package.json +1 -1
|
@@ -7,5 +7,6 @@ export interface IButtonProps extends React.ComponentProps<"button"> {
|
|
|
7
7
|
variant?: VARIANT;
|
|
8
8
|
startIcon?: React.SVGProps<SVGSVGElement>;
|
|
9
9
|
endIcon?: React.SVGProps<SVGSVGElement>;
|
|
10
|
+
shadow?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare const Button: React.FunctionComponent<IButtonProps>;
|
|
@@ -2,12 +2,12 @@ import React from 'react';
|
|
|
2
2
|
import { IFormInputOptions, IFormTextAreaOptions, IFormSelectOptions, IFormAutoCompleteOptions } from '../form.interfaces';
|
|
3
3
|
import { IFormControlType } from '../form.types';
|
|
4
4
|
export interface IFormInputEvent {
|
|
5
|
-
value:
|
|
5
|
+
value: any;
|
|
6
6
|
type?: string;
|
|
7
7
|
name?: string;
|
|
8
8
|
}
|
|
9
9
|
export interface IFormInputProps {
|
|
10
|
-
value:
|
|
10
|
+
value: any;
|
|
11
11
|
name: string;
|
|
12
12
|
type: IFormControlType;
|
|
13
13
|
placeholder?: string;
|
package/hooks/useHover.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function useHover
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function useHover(): (boolean | import("react").MutableRefObject<null>)[];
|