gantri-components 3.0.0-beta.59 → 3.0.0-beta.60
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.
|
@@ -17,6 +17,7 @@ export interface SearchFieldProps<T = Record<string, unknown>> extends Omit<Drop
|
|
|
17
17
|
/** Can optionally include `disabled: true` to any index to disable that item. */
|
|
18
18
|
items?: T[];
|
|
19
19
|
keyProperty?: (option?: T) => string;
|
|
20
|
+
labelPosition?: 'top' | 'left';
|
|
20
21
|
labelText?: string;
|
|
21
22
|
labelTx?: string;
|
|
22
23
|
/**
|
|
@@ -38,6 +39,7 @@ export interface SearchFieldProps<T = Record<string, unknown>> extends Omit<Drop
|
|
|
38
39
|
processing?: boolean;
|
|
39
40
|
processingText?: string;
|
|
40
41
|
processingTx?: string;
|
|
42
|
+
required?: boolean;
|
|
41
43
|
resetSelectionOnDisabled?: boolean;
|
|
42
44
|
/**
|
|
43
45
|
* If internal, the component will search over the provided list of items,
|
|
@@ -48,5 +50,4 @@ export interface SearchFieldProps<T = Record<string, unknown>> extends Omit<Drop
|
|
|
48
50
|
selectedItemsList?: (keyof T)[];
|
|
49
51
|
style?: CSSProperties;
|
|
50
52
|
variant?: 'line' | 'filled';
|
|
51
|
-
labelPosition?: 'top' | 'left';
|
|
52
53
|
}
|