1
1
import 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' ;
3
3
import { BaseSelect } from 'rc-select' ;
4
- import type { DisplayValueType , Placement } from 'rc-select/lib/BaseSelect' ;
4
+ import type { DisplayValueType , Placement } from 'rc-select/lib/BaseSelect' ;
5
5
import useId from 'rc-select/lib/hooks/useId' ;
6
6
import { conductCheck } from 'rc-tree/lib/utils/conductUtil' ;
7
7
import useMergedState from 'rc-util/lib/hooks/useMergedState' ;
@@ -14,9 +14,9 @@ import useRefFunc from './hooks/useRefFunc';
14
14
import useSearchConfig from './hooks/useSearchConfig' ;
15
15
import useSearchOptions from './hooks/useSearchOptions' ;
16
16
import 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' ;
20
20
21
21
export interface ShowSearchType < OptionType extends BaseOptionType = DefaultOptionType > {
22
22
filter ?: ( inputValue : string , options : OptionType [ ] , fieldNames : FieldNames ) => boolean ;
@@ -97,13 +97,13 @@ export interface BaseCascaderProps<OptionType extends BaseOptionType = DefaultOp
97
97
/** @deprecated Use `dropdownClassName` instead */
98
98
popupClassName ?: string ;
99
99
dropdownClassName ?: string ;
100
- /** @deprecated Use `styles.dropdownMenuColumn ` instead */
100
+ /** @deprecated Use `styles.popupColumn ` instead */
101
101
dropdownMenuColumnStyle ?: React . CSSProperties ;
102
102
103
103
// styles
104
104
styles ?: {
105
105
popup ?: React . CSSProperties ;
106
- popupMenuColumn ?: React . CSSProperties ;
106
+ popupColumn ?: React . CSSProperties ;
107
107
} ;
108
108
109
109
/** @deprecated Use `placement` instead */
@@ -458,7 +458,7 @@ const Cascader = React.forwardRef<CascaderRef, InternalCascaderProps>((props, re
458
458
expandTrigger,
459
459
expandIcon,
460
460
loadingIcon,
461
- dropdownMenuColumnStyle : styles ?. popupMenuColumn ?? dropdownMenuColumnStyle ,
461
+ dropdownMenuColumnStyle : styles ?. popupColumn ?? dropdownMenuColumnStyle ,
462
462
} ) ,
463
463
[
464
464
mergedOptions ,
@@ -475,7 +475,7 @@ const Cascader = React.forwardRef<CascaderRef, InternalCascaderProps>((props, re
475
475
expandIcon ,
476
476
loadingIcon ,
477
477
dropdownMenuColumnStyle ,
478
- styles ?. popupMenuColumn ,
478
+ styles ?. popupColumn ,
479
479
] ,
480
480
) ;
481
481
0 commit comments