ados-rcm 1.0.392 → 1.0.394
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.
@@ -3,7 +3,7 @@ import { TUseValues } from '../../AHooks/useValues';
|
|
3
3
|
import { IABaseProps } from '../ABase/ABase';
|
4
4
|
import { IAWrapProps } from '../AWrap/AWrap';
|
5
5
|
export declare const AInputTypes: readonly ["Primary", "Secondary", "ReadOnly", "Error"];
|
6
|
-
export type
|
6
|
+
export type TAInputTypes = 'Primary' | 'Secondary' | 'ReadOnly' | 'Error';
|
7
7
|
export interface IAInputProps extends IABaseProps, IAWrapProps {
|
8
8
|
/**
|
9
9
|
* onEnterPress? : (value: string) => void
|
@@ -16,7 +16,7 @@ export interface IAInputProps extends IABaseProps, IAWrapProps {
|
|
16
16
|
*
|
17
17
|
* Description : type of AInput
|
18
18
|
*/
|
19
|
-
type?:
|
19
|
+
type?: TAInputTypes;
|
20
20
|
/**
|
21
21
|
* inputRef? : React.RefObject<HTMLInputElement>
|
22
22
|
*
|
@@ -29,6 +29,8 @@ interface ISelectedRendererProps<T> {
|
|
29
29
|
*/
|
30
30
|
placeholder?: React.ReactNode;
|
31
31
|
}
|
32
|
+
export declare const ASelectTypes: readonly ["Primary", "Secondary"];
|
33
|
+
export type TASelectTypes = 'Primary' | 'Secondary';
|
32
34
|
export interface IASelectProps<T> extends IABaseProps {
|
33
35
|
/**
|
34
36
|
* options : T[]
|
@@ -43,11 +45,11 @@ export interface IASelectProps<T> extends IABaseProps {
|
|
43
45
|
*/
|
44
46
|
useSelect?: TUseValues<T>;
|
45
47
|
/**
|
46
|
-
* type? :
|
48
|
+
* type? : TASelectTypes = 'Primary'
|
47
49
|
*
|
48
50
|
* Description : type of ASelect
|
49
51
|
*/
|
50
|
-
type?:
|
52
|
+
type?: TASelectTypes;
|
51
53
|
/**
|
52
54
|
* placeholder? : React.ReactNode
|
53
55
|
*
|