@autobest-ui/components 2.0.5-y.0 → 2.0.5-y.1
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/esm/select/index.d.ts +2 -1
- package/esm/select/index.js +1 -0
- package/lib/select/index.d.ts +2 -1
- package/lib/select/index.js +1 -0
- package/package.json +2 -2
package/esm/select/index.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export interface SelectProps extends Pick<TriggerProps, 'windowResizeHidden' | '
|
|
|
65
65
|
/**
|
|
66
66
|
* 过滤到结果时才触发,此时并不会触发onChange, 当点击选项或者隐藏列表后才会触发onChange
|
|
67
67
|
*/
|
|
68
|
-
onFilterChange
|
|
68
|
+
onFilterChange?: (item: SelectOptionItem, name?: string) => void;
|
|
69
69
|
/**
|
|
70
70
|
* 是否最大全宽
|
|
71
71
|
*/
|
|
@@ -110,6 +110,7 @@ declare class Select extends React.Component<SelectProps, SelectStates> {
|
|
|
110
110
|
disabled: boolean;
|
|
111
111
|
hiddenIcon: boolean;
|
|
112
112
|
isMinRootWidth: boolean;
|
|
113
|
+
isFilterOption: boolean;
|
|
113
114
|
isMaxRootWidth: boolean;
|
|
114
115
|
};
|
|
115
116
|
constructor(props: any);
|
package/esm/select/index.js
CHANGED
package/lib/select/index.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export interface SelectProps extends Pick<TriggerProps, 'windowResizeHidden' | '
|
|
|
65
65
|
/**
|
|
66
66
|
* 过滤到结果时才触发,此时并不会触发onChange, 当点击选项或者隐藏列表后才会触发onChange
|
|
67
67
|
*/
|
|
68
|
-
onFilterChange
|
|
68
|
+
onFilterChange?: (item: SelectOptionItem, name?: string) => void;
|
|
69
69
|
/**
|
|
70
70
|
* 是否最大全宽
|
|
71
71
|
*/
|
|
@@ -110,6 +110,7 @@ declare class Select extends React.Component<SelectProps, SelectStates> {
|
|
|
110
110
|
disabled: boolean;
|
|
111
111
|
hiddenIcon: boolean;
|
|
112
112
|
isMinRootWidth: boolean;
|
|
113
|
+
isFilterOption: boolean;
|
|
113
114
|
isMaxRootWidth: boolean;
|
|
114
115
|
};
|
|
115
116
|
constructor(props: any);
|
package/lib/select/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@autobest-ui/components",
|
|
3
|
-
"version": "2.0.5-y.
|
|
3
|
+
"version": "2.0.5-y.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "components common ui for React",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"react": ">=16.8.6",
|
|
47
47
|
"react-transition-group": ">=4.2.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b1bdd28e78a696af37cd63e3f13dd1f96e534ad7"
|
|
50
50
|
}
|