@hi-ui/check-select 4.0.0-beta.38 → 4.0.0-beta.40

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.
@@ -102,6 +102,7 @@ var CheckSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
102
102
  itemHeight = _a$itemHeight === void 0 ? 40 : _a$itemHeight,
103
103
  _a$virtual = _a.virtual,
104
104
  virtual = _a$virtual === void 0 ? true : _a$virtual,
105
+ visible = _a.visible,
105
106
  onOpen = _a.onOpen,
106
107
  onClose = _a.onClose,
107
108
  appearance = _a.appearance,
@@ -114,12 +115,13 @@ var CheckSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
114
115
  onSearchProp = _a.onSearch,
115
116
  _a$fieldNames = _a.fieldNames,
116
117
  fieldNames = _a$fieldNames === void 0 ? DEFAULT_FIELD_NAMES : _a$fieldNames,
117
- rest = tslib.__rest(_a, ["prefixCls", "role", "className", "children", "disabled", "clearable", "showCheckAll", "showOnlyShowChecked", "placeholder", "displayRender", "onSelect", "height", "itemHeight", "virtual", "onOpen", "onClose", "appearance", "invalid", "dataSource", "filterOption", "searchable", "render", "renderExtraFooter", "onSearch", "fieldNames"]);
118
+ rest = tslib.__rest(_a, ["prefixCls", "role", "className", "children", "disabled", "clearable", "showCheckAll", "showOnlyShowChecked", "placeholder", "displayRender", "onSelect", "height", "itemHeight", "virtual", "visible", "onOpen", "onClose", "appearance", "invalid", "dataSource", "filterOption", "searchable", "render", "renderExtraFooter", "onSearch", "fieldNames"]);
118
119
 
119
120
  var i18n = localeContext.useLocaleContext();
120
121
  var placeholder = typeAssertion.isUndef(placeholderProp) ? i18n.get('checkSelect.placeholder') : placeholderProp; // ************************** Picker ************************* //
121
122
 
122
123
  var _useUncontrolledToggl = useToggle.useUncontrolledToggle({
124
+ visible: visible,
123
125
  disabled: disabled,
124
126
  onOpen: onOpen,
125
127
  onClose: onClose
@@ -60,6 +60,7 @@ var CheckSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
60
60
  itemHeight = _a$itemHeight === void 0 ? 40 : _a$itemHeight,
61
61
  _a$virtual = _a.virtual,
62
62
  virtual = _a$virtual === void 0 ? true : _a$virtual,
63
+ visible = _a.visible,
63
64
  onOpen = _a.onOpen,
64
65
  onClose = _a.onClose,
65
66
  appearance = _a.appearance,
@@ -72,12 +73,13 @@ var CheckSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
72
73
  onSearchProp = _a.onSearch,
73
74
  _a$fieldNames = _a.fieldNames,
74
75
  fieldNames = _a$fieldNames === void 0 ? DEFAULT_FIELD_NAMES : _a$fieldNames,
75
- rest = __rest(_a, ["prefixCls", "role", "className", "children", "disabled", "clearable", "showCheckAll", "showOnlyShowChecked", "placeholder", "displayRender", "onSelect", "height", "itemHeight", "virtual", "onOpen", "onClose", "appearance", "invalid", "dataSource", "filterOption", "searchable", "render", "renderExtraFooter", "onSearch", "fieldNames"]);
76
+ rest = __rest(_a, ["prefixCls", "role", "className", "children", "disabled", "clearable", "showCheckAll", "showOnlyShowChecked", "placeholder", "displayRender", "onSelect", "height", "itemHeight", "virtual", "visible", "onOpen", "onClose", "appearance", "invalid", "dataSource", "filterOption", "searchable", "render", "renderExtraFooter", "onSearch", "fieldNames"]);
76
77
 
77
78
  var i18n = useLocaleContext();
78
79
  var placeholder = isUndef(placeholderProp) ? i18n.get('checkSelect.placeholder') : placeholderProp; // ************************** Picker ************************* //
79
80
 
80
81
  var _useUncontrolledToggl = useUncontrolledToggle({
82
+ visible: visible,
81
83
  disabled: disabled,
82
84
  onOpen: onOpen,
83
85
  onClose: onClose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "4.0.0-beta.38",
3
+ "version": "4.0.0-beta.40",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HIUI <mi-hiui@xiaomi.com>",
@@ -52,11 +52,11 @@
52
52
  "@hi-ui/func-utils": "^4.0.0-beta.13",
53
53
  "@hi-ui/highlighter": "^4.0.0-beta.11",
54
54
  "@hi-ui/icons": "^4.0.0-beta.11",
55
- "@hi-ui/input": "^4.0.0-beta.17",
55
+ "@hi-ui/input": "^4.0.0-beta.18",
56
56
  "@hi-ui/locale-context": "^4.0.0-beta.19",
57
- "@hi-ui/picker": "^4.0.0-beta.30",
58
- "@hi-ui/popper": "^4.0.0-beta.18",
59
- "@hi-ui/tag-input": "^4.0.0-beta.19",
57
+ "@hi-ui/picker": "^4.0.0-beta.31",
58
+ "@hi-ui/popper": "^4.0.0-beta.19",
59
+ "@hi-ui/tag-input": "^4.0.0-beta.20",
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",
@@ -78,5 +78,5 @@
78
78
  "react": "^17.0.1",
79
79
  "react-dom": "^17.0.1"
80
80
  },
81
- "gitHead": "b714e09d5c7a7d4bfe7c03cc58422365b3688f3c"
81
+ "gitHead": "3dc9f628767f463b67ba9a7911cc57de84182b85"
82
82
  }