@hi-ui/check-select 4.0.0-beta.41 → 4.0.0-beta.44

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.
@@ -319,7 +319,7 @@ var CheckSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
319
319
  onOpen: menuVisibleAction.on,
320
320
  onClose: menuVisibleAction.off,
321
321
  searchable: searchable,
322
- scrollable: inVirtual,
322
+ scrollable: !inVirtual,
323
323
  onSearch: funcUtils.callAllFuncs(onSearchProp, onSearch),
324
324
  loading: loading,
325
325
  footer: renderDefaultFooter(),
@@ -277,7 +277,7 @@ var CheckSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
277
277
  onOpen: menuVisibleAction.on,
278
278
  onClose: menuVisibleAction.off,
279
279
  searchable: searchable,
280
- scrollable: inVirtual,
280
+ scrollable: !inVirtual,
281
281
  onSearch: callAllFuncs(onSearchProp, onSearch),
282
282
  loading: loading,
283
283
  footer: renderDefaultFooter(),
@@ -8,7 +8,7 @@ import { UseDataSource } from '@hi-ui/use-data-source';
8
8
  * TODO: What is CheckSelect
9
9
  */
10
10
  export declare const CheckSelect: React.ForwardRefExoticComponent<CheckSelectProps & React.RefAttributes<HTMLDivElement | null>>;
11
- export interface CheckSelectProps extends Omit<PickerProps, 'trigger'>, UseCheckSelectProps {
11
+ export interface CheckSelectProps extends Omit<PickerProps, 'trigger' | 'scrollable'>, UseCheckSelectProps {
12
12
  /**
13
13
  * 设置虚拟滚动容器的可视高度。暂不对外暴露
14
14
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "4.0.0-beta.41",
3
+ "version": "4.0.0-beta.44",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HIUI <mi-hiui@xiaomi.com>",
@@ -44,19 +44,19 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@hi-ui/array-utils": "^4.0.0-beta.8",
47
- "@hi-ui/checkbox": "^4.0.0-beta.14",
47
+ "@hi-ui/checkbox": "^4.0.0-beta.15",
48
48
  "@hi-ui/classname": "^4.0.0-beta.0",
49
49
  "@hi-ui/core": "^4.0.0-beta.9",
50
50
  "@hi-ui/core-css": "^4.0.0-beta.5",
51
51
  "@hi-ui/env": "^4.0.0-beta.1",
52
52
  "@hi-ui/func-utils": "^4.0.0-beta.13",
53
53
  "@hi-ui/highlighter": "^4.0.0-beta.11",
54
- "@hi-ui/icons": "^4.0.0-beta.11",
55
- "@hi-ui/input": "^4.0.0-beta.18",
54
+ "@hi-ui/icons": "^4.0.0-beta.12",
55
+ "@hi-ui/input": "^4.0.0-beta.19",
56
56
  "@hi-ui/locale-context": "^4.0.0-beta.19",
57
- "@hi-ui/picker": "^4.0.0-beta.32",
57
+ "@hi-ui/picker": "^4.0.0-beta.33",
58
58
  "@hi-ui/popper": "^4.0.0-beta.19",
59
- "@hi-ui/tag-input": "^4.0.0-beta.20",
59
+ "@hi-ui/tag-input": "^4.0.0-beta.21",
60
60
  "@hi-ui/times": "^4.0.0-beta.6",
61
61
  "@hi-ui/tree-utils": "^4.0.0-beta.5",
62
62
  "@hi-ui/type-assertion": "^4.0.0-beta.5",
@@ -64,7 +64,7 @@
64
64
  "@hi-ui/use-children": "^4.0.0-beta.5",
65
65
  "@hi-ui/use-data-source": "^4.0.0-beta.6",
66
66
  "@hi-ui/use-latest": "^4.0.0-beta.5",
67
- "@hi-ui/use-search-mode": "^4.0.0-beta.25",
67
+ "@hi-ui/use-search-mode": "^4.0.0-beta.26",
68
68
  "@hi-ui/use-toggle": "^4.0.0-beta.5",
69
69
  "@hi-ui/use-uncontrolled-state": "^4.0.0-beta.5",
70
70
  "@hi-ui/virtual-list": "^4.0.0-beta.1"
@@ -78,5 +78,5 @@
78
78
  "react": "^17.0.1",
79
79
  "react-dom": "^17.0.1"
80
80
  },
81
- "gitHead": "a1e8367a78c1f3fcea6a95ffc44bbf59beb58798"
81
+ "gitHead": "3180ed00bbe4a23ff0d5bfa1f5ca95f39ff9f494"
82
82
  }