@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.
@@ -65,7 +65,7 @@ export interface SelectProps extends Pick<TriggerProps, 'windowResizeHidden' | '
65
65
  /**
66
66
  * 过滤到结果时才触发,此时并不会触发onChange, 当点击选项或者隐藏列表后才会触发onChange
67
67
  */
68
- onFilterChange: (item: SelectOptionItem, name?: string) => void;
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);
@@ -402,6 +402,7 @@ function (_super) {
402
402
  disabled: false,
403
403
  hiddenIcon: false,
404
404
  isMinRootWidth: false,
405
+ isFilterOption: true,
405
406
  isMaxRootWidth: false
406
407
  };
407
408
  return Select;
@@ -65,7 +65,7 @@ export interface SelectProps extends Pick<TriggerProps, 'windowResizeHidden' | '
65
65
  /**
66
66
  * 过滤到结果时才触发,此时并不会触发onChange, 当点击选项或者隐藏列表后才会触发onChange
67
67
  */
68
- onFilterChange: (item: SelectOptionItem, name?: string) => void;
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);
@@ -416,6 +416,7 @@ function (_super) {
416
416
  disabled: false,
417
417
  hiddenIcon: false,
418
418
  isMinRootWidth: false,
419
+ isFilterOption: true,
419
420
  isMaxRootWidth: false
420
421
  };
421
422
  return Select;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobest-ui/components",
3
- "version": "2.0.5-y.0",
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": "c8153bfb2dd22ba6d3925d08d86529ef78b7ec53"
49
+ "gitHead": "b1bdd28e78a696af37cd63e3f13dd1f96e534ad7"
50
50
  }