@befe/brick-comp-suggest 0.2.123 → 0.2.124
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 +50 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,56 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.2.124 (2026-06-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **multi-suggest:** 使用 Menu `onSelect / onDeselect` 替代 `onChange` ([8c3bc58](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8c3bc58c7e7eb046518657ca95946e181cc05e48))
|
|
12
|
+
* **popper:** 如果前一次因无 children 不渲染 `brick-popper-wrap`,则需进行 `reCreatePopperInstance()` ([669454f](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/669454f5629c125cbf352695d053427a5590ddd9))
|
|
13
|
+
* **suggest:** `.brick-multi-suggest-selected-list li` 加入 ellipsis 修饰 ([b70f4c7](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b70f4c7f1dbe1afd94658e12ce6a90a27555b47b))
|
|
14
|
+
* **suggest:** baidu-be-fe-brick-2 [Issue] [Suggest] click clear-x 触发两次 `onChange` ([64ce277](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/64ce2772fda168ad5da2d63db3df4148527a5c2a))
|
|
15
|
+
* **suggest:** 仅在初始 focus 时进行 empty search ([3b40bbf](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/3b40bbffd39239d28dab98eff9a98af19f4e95c1))
|
|
16
|
+
* **suggest:** 修正 `moveMenuCursor()` 考虑 “不存在可移动选项” 的情况 ([213c5bd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/213c5bdb58dbec1d7cfb273e9336371f792c383f))
|
|
17
|
+
* **suggest:** 修正 `MultiSuggest` 的 `get menuProps()`, 须明确 `type` 为 `'common'` ([a1f26fd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a1f26fd1ad356e51d12b1cd29bf29862315f773e))
|
|
18
|
+
* **suggest:** 修正 clearSelection() 的处理,在 “无已选择” 情况下不进行清空处理 ([ef4daba](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ef4dabad98bd440916440129c61fa250e994f559))
|
|
19
|
+
* **suggest:** 修正 MultiSuggest 点击 selected 标签的小叉,但由于 blur 而没有执行 deselect 的问题 ([8e365cc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8e365cc7af1cce7dc36702b78d2f6bc0494a2904))
|
|
20
|
+
* **suggest:** 修正 MultiSuggest blur 后遗留 inputValue 未清空问题 ([4ffbce6](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/4ffbce62edcf845bafb23d4c26466429b7a49004))
|
|
21
|
+
* **suggest:** 修正 MultiSuggest focus 样式 ([7ec4880](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7ec4880c24c7362e80817be288f3707ab83161ed))
|
|
22
|
+
* **suggest:** 修正 renderMenuItem 方法,只传入必要的 props ([c6170a4](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c6170a49a2aad2bca03134a4c647dcd22dc6f548))
|
|
23
|
+
* **suggest:** 修正空值的 resetInputValue() ([2c7ff5d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/2c7ff5da26926dd33dba5f847c0b80f3bc518720))
|
|
24
|
+
* **suggest:** 去掉 MultiSuggest 在选择/反选 是的清空 input 操作 ([70dcfcc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/70dcfccfc613101092db513fad3f698a14aa92b3))
|
|
25
|
+
* **suggest:** 固化 `.brick-multi-suggest-selected-list` 的 line-height ([56758ff](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/56758ffe29845cdf68b2aff46dfe3b127db8a53b))
|
|
26
|
+
* **suggest:** 补充 `props.placement` 到下拉菜单 menuPopper 的传递 ([109c205](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/109c205eb05d2b8c8d64235e3558391363909809))
|
|
27
|
+
* **suggest:** 补完 size 样式实现 ([138f930](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/138f930b50a324c544623cc362b5458d3f678080))
|
|
28
|
+
* **suggest:** 通过加强选择器权重, 修正 `.brick-suggest-clear-button` 对 `.brick-button` 的样式覆盖 ([8f45024](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8f450240aa59925d9b375fd926eab476f56b9e25))
|
|
29
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
30
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **core:** 提供 default theme-config 配置方案 ([f09a56d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f09a56d65bb83f88e0bd001a637727794af36c90))
|
|
36
|
+
* **suggest:** fetch 后 cursor 自动停在第一个可选项 ([4f70318](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/4f703180ffa7752f963268cc1ae8883b35062a39))
|
|
37
|
+
* **suggest:** multi-suggest 支持 backspace 删除 ([39e2bd7](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/39e2bd71cd291abbc51c294b283b2b74c5a3c107))
|
|
38
|
+
* **suggest:** multi-suggest 选择后补关闭下拉列表 ([917ab7d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/917ab7dbfc51bfb24ad56c4e3c0e4353736e1192))
|
|
39
|
+
* **suggest:** MultiSuggest 加入 `props.maxNumber` 支持 “最大选择个数” ([3f335dd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/3f335dda2728afb8a8738e270c56030b9e75cfbb))
|
|
40
|
+
* **suggest:** MultiSuggest 加入 `props.withStats` 支持显示 “已选择个数” ([ee73241](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ee73241a00f6909f6eb2c3c2d27ed228f8aa8183))
|
|
41
|
+
* **suggest:** MultiSuggest 加入 prop `itemType` 支持定制选项的类型,对应 Menu 的 `multipleItemType: 'checkbox' | 'normal'` ([d2ed024](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d2ed0242bff574adca4d0e034973a17bde924d66))
|
|
42
|
+
* **suggest:** 加入 `props.autoFocus` 支持 ([bafa918](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/bafa91811848eca7c7c0f33fb43132a373da0bd4))
|
|
43
|
+
* **suggest:** 加入 `props.preventOverflowBoundary` ([7c5f684](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7c5f684d9f5cf58ffb60a25656106d831775aa71))
|
|
44
|
+
* **suggest:** 加入 `props.selectedSeparator` 支持定义已选择分隔符 ([b108159](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b1081590fe1a0d87bb2d03e72b4e2c05971c6f85))
|
|
45
|
+
* **suggest:** 加入 `props.suffixIcon` 支持配置后缀图标 ([cd29bad](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/cd29bad6f4e0dd2b671082865749cbadf425666a))
|
|
46
|
+
* **suggest:** 加入 props `onFocus`, `onBlur` 支持,以便于支持 Filed 于 focus / blur 更新 fieldState ([e057a64](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e057a640cd52b6494fa8426f096c6328481bcec2))
|
|
47
|
+
* **suggest:** 加入 props.status 支持 error 样式 ([5462ec3](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/5462ec351e97bd8380ea774416c808dd03a0f514))
|
|
48
|
+
* **suggest:** 加入键盘选择操作 ([74688b5](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/74688b5925157b7042613119b7480d09f24f5a7d))
|
|
49
|
+
* **suggest:** 补充 multi-suggest placeholder ([f2f1456](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f2f14560267726f4582ac7c09598bff1ee6afecb))
|
|
50
|
+
* 增加了xs lg xl 大小的suggest ([1e7c44b](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/1e7c44bbfe2bf0897c2f5f4f273bab77fa77a8ea))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
6
56
|
## 0.2.123 (2026-06-09)
|
|
7
57
|
|
|
8
58
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befe/brick-comp-suggest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.124",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "ssh://git@icode.baidu.com:8235/baidu/be-fe/brick",
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"author": "wujun07",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@befe/brick-comp-button": "^0.2.
|
|
29
|
-
"@befe/brick-comp-icon": "^0.2.
|
|
30
|
-
"@befe/brick-comp-input": "^0.2.
|
|
31
|
-
"@befe/brick-comp-menu": "^0.2.
|
|
32
|
-
"@befe/brick-comp-popper": "^0.2.
|
|
33
|
-
"@befe/brick-core": "^0.2.
|
|
34
|
-
"@befe/brick-icon": "^0.2.
|
|
35
|
-
"@befe/brick-style": "^0.2.
|
|
36
|
-
"@befe/brick-utils": "^0.2.
|
|
28
|
+
"@befe/brick-comp-button": "^0.2.99",
|
|
29
|
+
"@befe/brick-comp-icon": "^0.2.96",
|
|
30
|
+
"@befe/brick-comp-input": "^0.2.103",
|
|
31
|
+
"@befe/brick-comp-menu": "^0.2.114",
|
|
32
|
+
"@befe/brick-comp-popper": "^0.2.100",
|
|
33
|
+
"@befe/brick-core": "^0.2.55",
|
|
34
|
+
"@befe/brick-icon": "^0.2.29",
|
|
35
|
+
"@befe/brick-style": "^0.2.67",
|
|
36
|
+
"@befe/brick-utils": "^0.2.27"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"classnames": "^2.0.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"react": "^16.9.0 || ^17.0.0",
|
|
42
42
|
"react-dom": "^16.9.0 || ^17.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "59facb985dd8c80ca1ee5d8d13970ef9c2078e4e"
|
|
45
45
|
}
|