@hi-ui/check-select 5.0.0-canary.3 → 5.0.0-canary.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hi-ui/check-select
2
2
 
3
+ ## 5.0.0-canary.4
4
+
5
+ ### Patch Changes
6
+
7
+ - a89b3b3ae: fix: 修改组件问题 (5.0)
8
+
3
9
  ## 5.0.0-canary.3
4
10
 
5
11
  ### Patch Changes
@@ -178,7 +178,7 @@ var CheckSelect = /*#__PURE__*/React.forwardRef(function (_a, ref) {
178
178
  checked: node.checked,
179
179
  disabled: node.disabled
180
180
  }, /*#__PURE__*/React__default["default"].createElement(highlighter.Highlighter, {
181
- keyword: searchValue
181
+ keyword: new RegExp(searchValue, 'ig')
182
182
  }, node.title))) : true;
183
183
  return ret;
184
184
  }, [titleRender, searchValue, searchMode]);
@@ -164,7 +164,7 @@ var CheckSelect = /*#__PURE__*/forwardRef(function (_a, ref) {
164
164
  checked: node.checked,
165
165
  disabled: node.disabled
166
166
  }, /*#__PURE__*/React.createElement(Highlighter, {
167
- keyword: searchValue
167
+ keyword: new RegExp(searchValue, 'ig')
168
168
  }, node.title))) : true;
169
169
  return ret;
170
170
  }, [titleRender, searchValue, searchMode]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/check-select",
3
- "version": "5.0.0-canary.3",
3
+ "version": "5.0.0-canary.4",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -76,7 +76,7 @@
76
76
  },
77
77
  "devDependencies": {
78
78
  "@hi-ui/core": "^5.0.0-canary.0",
79
- "@hi-ui/core-css": "^5.0.0-canary.2",
79
+ "@hi-ui/core-css": "^5.0.0-canary.4",
80
80
  "react": "^17.0.1",
81
81
  "react-dom": "^17.0.1"
82
82
  }