@react-solutions/inputs 0.2.9 → 1.0.0
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.mts +28 -24
- package/dist/index.d.ts +28 -24
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SliderProps, FormControlProps, FormLabelProps, SwitchProps, FormControlLabelProps, RadioGroupProps, RadioProps, FormControl, CheckboxProps, Box, Stack, ButtonProps, TextFieldProps, AutocompleteProps, AutocompleteChangeReason, AutocompleteInputChangeReason, AutocompleteCloseReason, SelectProps, MenuItemProps, InputLabel, SelectChangeEvent, IconButtonProps, TextFieldPropsSizeOverrides
|
|
1
|
+
import { SliderProps, FormControlProps, FormLabelProps, SwitchProps, FormControlLabelProps, RadioGroupProps, RadioProps, SxProps, Theme, FormControl, CheckboxProps, Box, Stack, ButtonProps, TextFieldProps, AutocompleteProps, AutocompleteChangeReason, AutocompleteInputChangeReason, AutocompleteCloseReason, SelectProps, MenuItemProps, InputLabel, SelectChangeEvent, IconButtonProps, TextFieldPropsSizeOverrides } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { SyntheticEvent, FocusEvent, ChangeEvent } from 'react';
|
|
4
4
|
import { DateCalendarProps, TimeClockProps, TimeView, TimePickerProps, DatePickerProps } from '@mui/x-date-pickers';
|
|
@@ -223,6 +223,8 @@ interface IRadioButtonGroupFieldProps extends Omit<RadioGroupProps, "value" | "o
|
|
|
223
223
|
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
224
224
|
/** FormControlLabel props */
|
|
225
225
|
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
226
|
+
/** Custom styles for RadioGroup */
|
|
227
|
+
sxProps?: SxProps<Theme>;
|
|
226
228
|
}
|
|
227
229
|
declare const RadioButtonFieldGroup: React__default.ForwardRefExoticComponent<Omit<IRadioButtonGroupFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
228
230
|
|
|
@@ -365,6 +367,8 @@ interface ICheckboxFieldGroupProps extends Omit<FormControlProps, "error" | "dis
|
|
|
365
367
|
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
366
368
|
/** FormControlLabel props */
|
|
367
369
|
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
370
|
+
/** xsProps */
|
|
371
|
+
sxProps?: SxProps<Theme>;
|
|
368
372
|
}
|
|
369
373
|
declare const CheckboxFieldGroup: React__default.ForwardRefExoticComponent<Omit<ICheckboxFieldGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
370
374
|
|
|
@@ -688,7 +692,7 @@ type FieldError$a = {
|
|
|
688
692
|
* Extended Date Picker Field Props
|
|
689
693
|
* Extends MUI DatePickerProps with custom form field props
|
|
690
694
|
*/
|
|
691
|
-
interface IDatePickerFieldProps extends Omit<DatePickerProps,
|
|
695
|
+
interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChange" | "defaultValue" | "slots" | "slotProps" | "renderInput"> {
|
|
692
696
|
/** Field name for form identification */
|
|
693
697
|
name?: string;
|
|
694
698
|
/** Label text for the date picker */
|
|
@@ -719,11 +723,11 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
719
723
|
/** Function to disable specific years */
|
|
720
724
|
shouldDisableYear?: (year: Date) => boolean;
|
|
721
725
|
/** TextField size */
|
|
722
|
-
size?: TextFieldProps[
|
|
726
|
+
size?: TextFieldProps["size"];
|
|
723
727
|
/** TextField variant */
|
|
724
|
-
variant?: TextFieldProps[
|
|
728
|
+
variant?: TextFieldProps["variant"];
|
|
725
729
|
/** TextField color */
|
|
726
|
-
color?: TextFieldProps[
|
|
730
|
+
color?: TextFieldProps["color"];
|
|
727
731
|
/** Placeholder text */
|
|
728
732
|
placeholder?: string;
|
|
729
733
|
/** Whether the field is read-only */
|
|
@@ -737,21 +741,21 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
737
741
|
/** Reference date for the calendar */
|
|
738
742
|
referenceDate?: Date;
|
|
739
743
|
/** Controlled view state */
|
|
740
|
-
view?:
|
|
744
|
+
view?: "day" | "month" | "year";
|
|
741
745
|
/** Format for displaying the date */
|
|
742
746
|
format?: string;
|
|
743
747
|
/** Whether to open the calendar on focus */
|
|
744
|
-
openTo?:
|
|
748
|
+
openTo?: "day" | "month" | "year";
|
|
745
749
|
/** Custom styles for the DatePicker */
|
|
746
|
-
pickerStyles?: DatePickerProps[
|
|
750
|
+
pickerStyles?: DatePickerProps["sx"];
|
|
747
751
|
/** Custom styles for FormControl */
|
|
748
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
752
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
749
753
|
/** Custom styles for FormLabel */
|
|
750
|
-
formLabelStyles?: FormLabelProps[
|
|
754
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
751
755
|
/** Custom styles for the container Box */
|
|
752
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
756
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
753
757
|
/** Custom styles for the TextField */
|
|
754
|
-
textFieldStyles?: TextFieldProps[
|
|
758
|
+
textFieldStyles?: TextFieldProps["sx"];
|
|
755
759
|
/** Callback fired when the date changes */
|
|
756
760
|
onChange?: (value: Date | null) => void;
|
|
757
761
|
/** Callback fired when the field receives focus */
|
|
@@ -759,7 +763,7 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
759
763
|
/** Callback fired when the field loses focus */
|
|
760
764
|
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
761
765
|
/** Callback fired when a view change is requested */
|
|
762
|
-
onViewChange?: (view:
|
|
766
|
+
onViewChange?: (view: "day" | "month" | "year") => void;
|
|
763
767
|
/** Callback fired when a month change is requested */
|
|
764
768
|
onMonthChange?: (month: Date) => void;
|
|
765
769
|
/** Callback fired when a year change is requested */
|
|
@@ -769,9 +773,9 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
769
773
|
/** Callback fired when the calendar closes */
|
|
770
774
|
onClose?: () => void;
|
|
771
775
|
/** Custom slot props for MUI v7 */
|
|
772
|
-
slotProps?: DatePickerProps[
|
|
776
|
+
slotProps?: DatePickerProps["slotProps"];
|
|
773
777
|
/** Custom slots for MUI v7 */
|
|
774
|
-
slots?: DatePickerProps[
|
|
778
|
+
slots?: DatePickerProps["slots"];
|
|
775
779
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
776
780
|
dateAdapter?: typeof AdapterDateFns;
|
|
777
781
|
/** Whether to reduce animations */
|
|
@@ -953,7 +957,7 @@ type FieldError$7 = {
|
|
|
953
957
|
* Extended Autocomplete Input Props
|
|
954
958
|
* Extends MUI AutocompleteProps with custom form field props
|
|
955
959
|
*/
|
|
956
|
-
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>,
|
|
960
|
+
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput" | "options" | "value" | "onChange" | "getOptionLabel" | "isOptionEqualToValue" | "renderOption"> {
|
|
957
961
|
/** Field name for form identification */
|
|
958
962
|
name?: string;
|
|
959
963
|
/** Label text for the input field */
|
|
@@ -971,11 +975,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
971
975
|
/** Placeholder text */
|
|
972
976
|
placeholder?: string;
|
|
973
977
|
/** TextField variant */
|
|
974
|
-
variant?: TextFieldProps[
|
|
978
|
+
variant?: TextFieldProps["variant"];
|
|
975
979
|
/** TextField size */
|
|
976
|
-
size?: TextFieldProps[
|
|
980
|
+
size?: TextFieldProps["size"];
|
|
977
981
|
/** TextField color */
|
|
978
|
-
color?: TextFieldProps[
|
|
982
|
+
color?: TextFieldProps["color"];
|
|
979
983
|
/** Full width of the field */
|
|
980
984
|
fullWidth?: boolean;
|
|
981
985
|
/** Required field indicator */
|
|
@@ -1000,11 +1004,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
1000
1004
|
/** Custom icon for popup indicator */
|
|
1001
1005
|
popupIcon?: React__default.ReactNode;
|
|
1002
1006
|
/** Custom styles for the TextField */
|
|
1003
|
-
inputStyles?: TextFieldProps[
|
|
1007
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1004
1008
|
/** Custom styles for the Autocomplete */
|
|
1005
|
-
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1009
|
+
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["sx"];
|
|
1006
1010
|
/** Custom styles for FormControl */
|
|
1007
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
1011
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1008
1012
|
/** Whether to show loading state */
|
|
1009
1013
|
loading?: boolean;
|
|
1010
1014
|
/** Text to show when loading */
|
|
@@ -1024,9 +1028,9 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
1024
1028
|
/** Whether to disable list wrapping */
|
|
1025
1029
|
disableListWrap?: boolean;
|
|
1026
1030
|
/** Custom slot props for MUI v7 */
|
|
1027
|
-
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1031
|
+
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slotProps"];
|
|
1028
1032
|
/** Custom slots for MUI v7 */
|
|
1029
|
-
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1033
|
+
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slots"];
|
|
1030
1034
|
}
|
|
1031
1035
|
declare const AutoCompleteField: React__default.NamedExoticComponent<Omit<IAutoCompleteInputProps<AutoCompleteOption, boolean, boolean, boolean>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1032
1036
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SliderProps, FormControlProps, FormLabelProps, SwitchProps, FormControlLabelProps, RadioGroupProps, RadioProps, FormControl, CheckboxProps, Box, Stack, ButtonProps, TextFieldProps, AutocompleteProps, AutocompleteChangeReason, AutocompleteInputChangeReason, AutocompleteCloseReason, SelectProps, MenuItemProps, InputLabel, SelectChangeEvent, IconButtonProps, TextFieldPropsSizeOverrides
|
|
1
|
+
import { SliderProps, FormControlProps, FormLabelProps, SwitchProps, FormControlLabelProps, RadioGroupProps, RadioProps, SxProps, Theme, FormControl, CheckboxProps, Box, Stack, ButtonProps, TextFieldProps, AutocompleteProps, AutocompleteChangeReason, AutocompleteInputChangeReason, AutocompleteCloseReason, SelectProps, MenuItemProps, InputLabel, SelectChangeEvent, IconButtonProps, TextFieldPropsSizeOverrides } from '@mui/material';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { SyntheticEvent, FocusEvent, ChangeEvent } from 'react';
|
|
4
4
|
import { DateCalendarProps, TimeClockProps, TimeView, TimePickerProps, DatePickerProps } from '@mui/x-date-pickers';
|
|
@@ -223,6 +223,8 @@ interface IRadioButtonGroupFieldProps extends Omit<RadioGroupProps, "value" | "o
|
|
|
223
223
|
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
224
224
|
/** FormControlLabel props */
|
|
225
225
|
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
226
|
+
/** Custom styles for RadioGroup */
|
|
227
|
+
sxProps?: SxProps<Theme>;
|
|
226
228
|
}
|
|
227
229
|
declare const RadioButtonFieldGroup: React__default.ForwardRefExoticComponent<Omit<IRadioButtonGroupFieldProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
228
230
|
|
|
@@ -365,6 +367,8 @@ interface ICheckboxFieldGroupProps extends Omit<FormControlProps, "error" | "dis
|
|
|
365
367
|
formLabelProps?: Omit<FormLabelProps, "children">;
|
|
366
368
|
/** FormControlLabel props */
|
|
367
369
|
formControlLabelProps?: Omit<FormControlLabelProps, "control" | "label" | "value">;
|
|
370
|
+
/** xsProps */
|
|
371
|
+
sxProps?: SxProps<Theme>;
|
|
368
372
|
}
|
|
369
373
|
declare const CheckboxFieldGroup: React__default.ForwardRefExoticComponent<Omit<ICheckboxFieldGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
370
374
|
|
|
@@ -688,7 +692,7 @@ type FieldError$a = {
|
|
|
688
692
|
* Extended Date Picker Field Props
|
|
689
693
|
* Extends MUI DatePickerProps with custom form field props
|
|
690
694
|
*/
|
|
691
|
-
interface IDatePickerFieldProps extends Omit<DatePickerProps,
|
|
695
|
+
interface IDatePickerFieldProps extends Omit<DatePickerProps, "value" | "onChange" | "defaultValue" | "slots" | "slotProps" | "renderInput"> {
|
|
692
696
|
/** Field name for form identification */
|
|
693
697
|
name?: string;
|
|
694
698
|
/** Label text for the date picker */
|
|
@@ -719,11 +723,11 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
719
723
|
/** Function to disable specific years */
|
|
720
724
|
shouldDisableYear?: (year: Date) => boolean;
|
|
721
725
|
/** TextField size */
|
|
722
|
-
size?: TextFieldProps[
|
|
726
|
+
size?: TextFieldProps["size"];
|
|
723
727
|
/** TextField variant */
|
|
724
|
-
variant?: TextFieldProps[
|
|
728
|
+
variant?: TextFieldProps["variant"];
|
|
725
729
|
/** TextField color */
|
|
726
|
-
color?: TextFieldProps[
|
|
730
|
+
color?: TextFieldProps["color"];
|
|
727
731
|
/** Placeholder text */
|
|
728
732
|
placeholder?: string;
|
|
729
733
|
/** Whether the field is read-only */
|
|
@@ -737,21 +741,21 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
737
741
|
/** Reference date for the calendar */
|
|
738
742
|
referenceDate?: Date;
|
|
739
743
|
/** Controlled view state */
|
|
740
|
-
view?:
|
|
744
|
+
view?: "day" | "month" | "year";
|
|
741
745
|
/** Format for displaying the date */
|
|
742
746
|
format?: string;
|
|
743
747
|
/** Whether to open the calendar on focus */
|
|
744
|
-
openTo?:
|
|
748
|
+
openTo?: "day" | "month" | "year";
|
|
745
749
|
/** Custom styles for the DatePicker */
|
|
746
|
-
pickerStyles?: DatePickerProps[
|
|
750
|
+
pickerStyles?: DatePickerProps["sx"];
|
|
747
751
|
/** Custom styles for FormControl */
|
|
748
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
752
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
749
753
|
/** Custom styles for FormLabel */
|
|
750
|
-
formLabelStyles?: FormLabelProps[
|
|
754
|
+
formLabelStyles?: FormLabelProps["sx"];
|
|
751
755
|
/** Custom styles for the container Box */
|
|
752
|
-
containerStyles?: React__default.ComponentProps<typeof Box>[
|
|
756
|
+
containerStyles?: React__default.ComponentProps<typeof Box>["sx"];
|
|
753
757
|
/** Custom styles for the TextField */
|
|
754
|
-
textFieldStyles?: TextFieldProps[
|
|
758
|
+
textFieldStyles?: TextFieldProps["sx"];
|
|
755
759
|
/** Callback fired when the date changes */
|
|
756
760
|
onChange?: (value: Date | null) => void;
|
|
757
761
|
/** Callback fired when the field receives focus */
|
|
@@ -759,7 +763,7 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
759
763
|
/** Callback fired when the field loses focus */
|
|
760
764
|
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
761
765
|
/** Callback fired when a view change is requested */
|
|
762
|
-
onViewChange?: (view:
|
|
766
|
+
onViewChange?: (view: "day" | "month" | "year") => void;
|
|
763
767
|
/** Callback fired when a month change is requested */
|
|
764
768
|
onMonthChange?: (month: Date) => void;
|
|
765
769
|
/** Callback fired when a year change is requested */
|
|
@@ -769,9 +773,9 @@ interface IDatePickerFieldProps extends Omit<DatePickerProps, 'value' | 'onChang
|
|
|
769
773
|
/** Callback fired when the calendar closes */
|
|
770
774
|
onClose?: () => void;
|
|
771
775
|
/** Custom slot props for MUI v7 */
|
|
772
|
-
slotProps?: DatePickerProps[
|
|
776
|
+
slotProps?: DatePickerProps["slotProps"];
|
|
773
777
|
/** Custom slots for MUI v7 */
|
|
774
|
-
slots?: DatePickerProps[
|
|
778
|
+
slots?: DatePickerProps["slots"];
|
|
775
779
|
/** Date adapter to use (defaults to AdapterDateFns) */
|
|
776
780
|
dateAdapter?: typeof AdapterDateFns;
|
|
777
781
|
/** Whether to reduce animations */
|
|
@@ -953,7 +957,7 @@ type FieldError$7 = {
|
|
|
953
957
|
* Extended Autocomplete Input Props
|
|
954
958
|
* Extends MUI AutocompleteProps with custom form field props
|
|
955
959
|
*/
|
|
956
|
-
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>,
|
|
960
|
+
interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOption, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> extends Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput" | "options" | "value" | "onChange" | "getOptionLabel" | "isOptionEqualToValue" | "renderOption"> {
|
|
957
961
|
/** Field name for form identification */
|
|
958
962
|
name?: string;
|
|
959
963
|
/** Label text for the input field */
|
|
@@ -971,11 +975,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
971
975
|
/** Placeholder text */
|
|
972
976
|
placeholder?: string;
|
|
973
977
|
/** TextField variant */
|
|
974
|
-
variant?: TextFieldProps[
|
|
978
|
+
variant?: TextFieldProps["variant"];
|
|
975
979
|
/** TextField size */
|
|
976
|
-
size?: TextFieldProps[
|
|
980
|
+
size?: TextFieldProps["size"];
|
|
977
981
|
/** TextField color */
|
|
978
|
-
color?: TextFieldProps[
|
|
982
|
+
color?: TextFieldProps["color"];
|
|
979
983
|
/** Full width of the field */
|
|
980
984
|
fullWidth?: boolean;
|
|
981
985
|
/** Required field indicator */
|
|
@@ -1000,11 +1004,11 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
1000
1004
|
/** Custom icon for popup indicator */
|
|
1001
1005
|
popupIcon?: React__default.ReactNode;
|
|
1002
1006
|
/** Custom styles for the TextField */
|
|
1003
|
-
inputStyles?: TextFieldProps[
|
|
1007
|
+
inputStyles?: TextFieldProps["sx"];
|
|
1004
1008
|
/** Custom styles for the Autocomplete */
|
|
1005
|
-
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1009
|
+
autocompleteStyles?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["sx"];
|
|
1006
1010
|
/** Custom styles for FormControl */
|
|
1007
|
-
formControlStyles?: React__default.ComponentProps<typeof FormControl>[
|
|
1011
|
+
formControlStyles?: React__default.ComponentProps<typeof FormControl>["sx"];
|
|
1008
1012
|
/** Whether to show loading state */
|
|
1009
1013
|
loading?: boolean;
|
|
1010
1014
|
/** Text to show when loading */
|
|
@@ -1024,9 +1028,9 @@ interface IAutoCompleteInputProps<T extends AutoCompleteOption = AutoCompleteOpt
|
|
|
1024
1028
|
/** Whether to disable list wrapping */
|
|
1025
1029
|
disableListWrap?: boolean;
|
|
1026
1030
|
/** Custom slot props for MUI v7 */
|
|
1027
|
-
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1031
|
+
slotProps?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slotProps"];
|
|
1028
1032
|
/** Custom slots for MUI v7 */
|
|
1029
|
-
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>[
|
|
1033
|
+
slots?: AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>["slots"];
|
|
1030
1034
|
}
|
|
1031
1035
|
declare const AutoCompleteField: React__default.NamedExoticComponent<Omit<IAutoCompleteInputProps<AutoCompleteOption, boolean, boolean, boolean>, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
1032
1036
|
|