11import type { BuildInPlacements } from '@rc-component/trigger/lib/interface' ;
2- import type { BaseSelectProps , BaseSelectPropsWithoutPrivate , BaseSelectRef } from 'rc-select' ;
2+ import type { BaseSelectProps , BaseSelectPropsWithoutPrivate , BaseSelectRef } from 'rc-select' ;
33import { BaseSelect } from 'rc-select' ;
4- import type { DisplayValueType , Placement } from 'rc-select/lib/BaseSelect' ;
4+ import type { DisplayValueType , Placement } from 'rc-select/lib/BaseSelect' ;
55import useId from 'rc-select/lib/hooks/useId' ;
66import { conductCheck } from 'rc-tree/lib/utils/conductUtil' ;
77import useMergedState from 'rc-util/lib/hooks/useMergedState' ;
@@ -14,9 +14,9 @@ import useRefFunc from './hooks/useRefFunc';
1414import useSearchConfig from './hooks/useSearchConfig' ;
1515import useSearchOptions from './hooks/useSearchOptions' ;
1616import OptionList from './OptionList' ;
17- import { fillFieldNames , SHOW_CHILD , SHOW_PARENT , toPathKey , toPathKeys } from './utils/commonUtil' ;
18- import { formatStrategyValues , toPathOptions } from './utils/treeUtil' ;
19- import warningProps , { warningNullOptions } from './utils/warningPropsUtil' ;
17+ import { fillFieldNames , SHOW_CHILD , SHOW_PARENT , toPathKey , toPathKeys } from './utils/commonUtil' ;
18+ import { formatStrategyValues , toPathOptions } from './utils/treeUtil' ;
19+ import warningProps , { warningNullOptions } from './utils/warningPropsUtil' ;
2020
2121export interface ShowSearchType < OptionType extends BaseOptionType = DefaultOptionType > {
2222 filter ?: ( inputValue : string , options : OptionType [ ] , fieldNames : FieldNames ) => boolean ;
@@ -97,13 +97,13 @@ export interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOp
9797 /** @deprecated Use `dropdownClassName` instead */
9898 popupClassName ?: string ;
9999 dropdownClassName ?: string ;
100- /** @deprecated Use `styles.dropdownMenuColumn ` instead */
100+ /** @deprecated Use `styles.popupColumn ` instead */
101101 dropdownMenuColumnStyle ?: React . CSSProperties ;
102102
103103 // styles
104104 styles ?: {
105105 popup ?: React . CSSProperties ;
106- popupMenuColumn ?: React . CSSProperties ;
106+ popupColumn ?: React . CSSProperties ;
107107 } ;
108108
109109 /** @deprecated Use `placement` instead */
@@ -458,7 +458,7 @@ const Cascader = React.forwardRef<CascaderRef, InternalCascaderProps>((props, re
458458 expandTrigger,
459459 expandIcon,
460460 loadingIcon,
461- dropdownMenuColumnStyle : styles ?. popupMenuColumn ?? dropdownMenuColumnStyle ,
461+ dropdownMenuColumnStyle : styles ?. popupColumn ?? dropdownMenuColumnStyle ,
462462 } ) ,
463463 [
464464 mergedOptions ,
@@ -475,7 +475,7 @@ const Cascader = React.forwardRef<CascaderRef, InternalCascaderProps>((props, re
475475 expandIcon ,
476476 loadingIcon ,
477477 dropdownMenuColumnStyle ,
478- styles ?. popupMenuColumn ,
478+ styles ?. popupColumn ,
479479 ] ,
480480 ) ;
481481
0 commit comments