@@ -749,41 +749,6 @@ Autocomplete.propTypes /* remove-proptypes */ = {
749
749
* @default 'neutral'
750
750
*/
751
751
color : PropTypes . oneOf ( [ 'danger' , 'info' , 'neutral' , 'primary' , 'success' , 'warning' ] ) ,
752
- /**
753
- * Replace the default slots.
754
- */
755
- components : PropTypes . shape ( {
756
- clearIndicator : PropTypes . elementType ,
757
- endDecorator : PropTypes . elementType ,
758
- input : PropTypes . elementType ,
759
- limitTag : PropTypes . elementType ,
760
- listbox : PropTypes . elementType ,
761
- loading : PropTypes . elementType ,
762
- noOptions : PropTypes . elementType ,
763
- option : PropTypes . elementType ,
764
- popupIndicator : PropTypes . elementType ,
765
- root : PropTypes . elementType ,
766
- startDecorator : PropTypes . elementType ,
767
- wrapper : PropTypes . elementType ,
768
- } ) ,
769
- /**
770
- * The props used for each slot inside.
771
- * @default {}
772
- */
773
- componentsProps : PropTypes . shape ( {
774
- clearIndicator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
775
- endDecorator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
776
- input : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
777
- limitTag : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
778
- listbox : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
779
- loading : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
780
- noOptions : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
781
- option : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
782
- popupIndicator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
783
- root : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
784
- startDecorator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
785
- wrapper : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
786
- } ) ,
787
752
/**
788
753
* The default value. Use when the component is not controlled.
789
754
* @default props.multiple ? [] : null
@@ -1035,6 +1000,41 @@ Autocomplete.propTypes /* remove-proptypes */ = {
1035
1000
PropTypes . oneOf ( [ 'sm' , 'md' , 'lg' ] ) ,
1036
1001
PropTypes . string ,
1037
1002
] ) ,
1003
+ /**
1004
+ * The props used for each slot inside.
1005
+ * @default {}
1006
+ */
1007
+ slotProps : PropTypes . shape ( {
1008
+ clearIndicator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1009
+ endDecorator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1010
+ input : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1011
+ limitTag : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1012
+ listbox : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1013
+ loading : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1014
+ noOptions : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1015
+ option : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1016
+ popupIndicator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1017
+ root : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1018
+ startDecorator : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1019
+ wrapper : PropTypes . oneOfType ( [ PropTypes . func , PropTypes . object ] ) ,
1020
+ } ) ,
1021
+ /**
1022
+ * Replace the default slots.
1023
+ */
1024
+ slots : PropTypes . shape ( {
1025
+ clearIndicator : PropTypes . elementType ,
1026
+ endDecorator : PropTypes . elementType ,
1027
+ input : PropTypes . elementType ,
1028
+ limitTag : PropTypes . elementType ,
1029
+ listbox : PropTypes . elementType ,
1030
+ loading : PropTypes . elementType ,
1031
+ noOptions : PropTypes . elementType ,
1032
+ option : PropTypes . elementType ,
1033
+ popupIndicator : PropTypes . elementType ,
1034
+ root : PropTypes . elementType ,
1035
+ startDecorator : PropTypes . elementType ,
1036
+ wrapper : PropTypes . elementType ,
1037
+ } ) ,
1038
1038
/**
1039
1039
* Leading adornment for this input.
1040
1040
*/
0 commit comments