@data-c/ui 0.2.36 → 0.2.38
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/dist/index.d.ts +7 -11
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -875,25 +875,19 @@ declare const Page: {
|
|
|
875
875
|
Content: typeof PageContent;
|
|
876
876
|
};
|
|
877
877
|
|
|
878
|
-
|
|
878
|
+
type AutocompleteProps<T = any> = {
|
|
879
879
|
onDoubleClick?: () => void;
|
|
880
880
|
onChange?: (value: T | T[] | null) => void;
|
|
881
881
|
value?: T | null;
|
|
882
882
|
options: Array<T>;
|
|
883
883
|
renderValue?: (value: T) => string;
|
|
884
884
|
onSearchChange?: (query: string, reason: AutocompleteInputChangeReason) => void;
|
|
885
|
-
label?: string;
|
|
886
885
|
isLoading?: boolean;
|
|
887
|
-
|
|
888
|
-
helperText?: string;
|
|
889
|
-
error?: boolean;
|
|
890
|
-
required?: boolean;
|
|
891
|
-
disabled?: boolean;
|
|
892
|
-
autoFocus?: boolean;
|
|
886
|
+
disableCloseOnSelect?: boolean;
|
|
893
887
|
readonly?: boolean;
|
|
894
888
|
multiple?: boolean;
|
|
895
|
-
|
|
896
|
-
}
|
|
889
|
+
endAdornment?: React__default.ReactElement;
|
|
890
|
+
} & TextFieldProps$1;
|
|
897
891
|
declare function Autocomplete<T = any>(props: AutocompleteProps<T>): react_jsx_runtime.JSX.Element;
|
|
898
892
|
|
|
899
893
|
interface TransporterContainerProps {
|
|
@@ -910,7 +904,9 @@ interface TransporterRootProps<T> {
|
|
|
910
904
|
}
|
|
911
905
|
declare function TransporterRoot<T = any>(props: TransporterRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
912
906
|
|
|
913
|
-
type TransporterTextFieldProps = {
|
|
907
|
+
type TransporterTextFieldProps = {
|
|
908
|
+
endAdornment?: React.ReactElement;
|
|
909
|
+
} & Omit<AutocompleteProps, 'onChange' | 'value'>;
|
|
914
910
|
declare function TransporterTextField(props: TransporterTextFieldProps): react_jsx_runtime.JSX.Element;
|
|
915
911
|
|
|
916
912
|
type TransporterStore<T> = {
|