@befe/brick-comp-pagination 0.2.117 → 0.2.119
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 +53 -0
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,59 @@
|
|
|
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.119 (2026-06-01)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **pagination:** add defaultValue ([df016be](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/df016bed75f9cd3f6917085afa7fa69d93a0bb4a))
|
|
12
|
+
* **pagination:** import 依赖组件的样式,并清理多余的依赖项 ([6476b84](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/6476b84ad1ef4da8565d89537768b8b5be66af2c))
|
|
13
|
+
* **pagination:** key of ellipsis not unique ([25d8e90](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/25d8e90123e3b3dc8f9bf0f41f71166d5ce05be4))
|
|
14
|
+
* **pagination:** make pageSizeSelect without clear ([d291288](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d291288b17313b78bd878ca2be39c442d9a53a69))
|
|
15
|
+
* **pagination:** mockConsole + assertion ([112724e](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/112724e884a035fa64496632be5ab18710388029))
|
|
16
|
+
* **pagination:** pageSize改变时,pageNum重置为1 ([7d20bdb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7d20bdba3e7e3e9a45cba1e57b9b0438bdf77a71))
|
|
17
|
+
* **pagination:** pageSize改变时,同步调用onChangePageNum ([f52b305](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f52b305e0d5e2b6997ccb424e0e5e6a0aaf5dbd1))
|
|
18
|
+
* **pagination:** 使最小 pageCount 为 1 ([7e0fcd8](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7e0fcd8658832979be3c553c2606600553033ff7))
|
|
19
|
+
* **pagination:** 修改jumpPage调用顺序 ([7b913c2](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/7b913c22a16d14ddaf5921dd6e787147fad2ee75))
|
|
20
|
+
* **pagination:** 修改测试覆盖不到的逻辑 ([a841164](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a841164bf6acd7fb9d63e9d54980e177fe77f90a))
|
|
21
|
+
* **pagination:** 修正 `constructor` 中关于 `pageSize` 必须为正整数的 warning ([7728737](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/772873751192b8d24f5d1108ae82e2c74287c9ba))
|
|
22
|
+
* **pagination:** 修正 constructor 中初始 `getValidPageSize()` 的参数 ([586d9da](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/586d9dac474384f1df6af7984776c8a905595c23))
|
|
23
|
+
* **pagination:** 修正 type `SelectOptionObject` 的引用 ([d3a774f](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d3a774f9fbb088c6c90dd3e6711022e1fb12e929))
|
|
24
|
+
* **pagination:** 修正isLegal命名 ([de458bd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/de458bd940cf643a67375f61b47920b2bfdd339b))
|
|
25
|
+
* **pagination:** 修正page-model assgin ([a78fc32](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a78fc32bc6c1e6ba7c711a89c866332dbf0688b7))
|
|
26
|
+
* **pagination:** 修正pageNum&pageSize非法输入 ([429d559](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/429d5592312ae38846339a51600267763ed41bab))
|
|
27
|
+
* **pagination:** 去掉'istanbul ignore else' ([88a1e54](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/88a1e541ce412e9bd034d8f44ddef6cbf97f604f))
|
|
28
|
+
* **pagination:** 抽取getValidPageSize ([0440c37](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/0440c3710ad3dd44e69e8c6c067e8e0a5de8050d))
|
|
29
|
+
* **pagination:** 调整对 select 的样式覆盖写法,增加选择特指值,保证其不受加载顺序影响 ([8ff1281](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8ff1281a7a108fc574c2202a7f96c6b0ec51f809))
|
|
30
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
31
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* **babel-plugin-mobx-wrapper:** 支持 export modify for mobx ([dd1eba2](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/dd1eba2d47165e9dd8d219631f6ad6ceb1cb339c))
|
|
37
|
+
* **pagination:** `onChangePageNum`, `beforeChangePageNum` 回调加入参数 `bySizeChange` ([9c6e198](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9c6e198019c80fc8a356b7021272c720ae23461a))
|
|
38
|
+
* **pagination:** add showTotal,showSizeOptions,showJumper props ([328dc16](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/328dc16153f039c4d4378d70d4807a5243ae27cc))
|
|
39
|
+
* **pagination:** add simple demo ([ea83989](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/ea83989e8d637ff75515a161188eb04b91879304))
|
|
40
|
+
* **pagination:** add size demo ([709f417](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/709f4173b1a5b809a38a0a59bb60b4d33669be77))
|
|
41
|
+
* **pagination:** size=sm的分页 ([76510c0](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/76510c02975640884b173c67ee9ad96b6c3a12fa))
|
|
42
|
+
* **pagination:** 仅数字简单分页使用plain类型的button ([d569fa6](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d569fa60d76d0f3ff101e0c812264e709e5c0464))
|
|
43
|
+
* **pagination:** 加入 `beforeChangePageNum`, `beforeChangePageSize` 的支持 ([a9d4e44](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/a9d4e444ca4a4fb888e2fe5329b2632f1ebe0139))
|
|
44
|
+
* **pagination:** 国际化实现 ([0449e39](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/0449e39dcdbc657816e8f844da90ece20767ac28))
|
|
45
|
+
* **pagination:** 增加回车跳转分页功能 ([621e95a](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/621e95a429d0b2c82d4b3c5145b5440c307a960b))
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
## [0.2.118](https://icode.baidu.com:8235/baidu/be-fe/brick//%40befe%2Fbrick-comp-pagination%400.2.117...%40befe%2Fbrick-comp-pagination%400.2.118) (2026-05-29)
|
|
52
|
+
|
|
53
|
+
**Note:** Version bump only for package @befe/brick-comp-pagination
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
6
59
|
## [0.2.117](https://icode.baidu.com:8235/baidu/be-fe/brick//%40befe%2Fbrick-comp-pagination%400.2.116...%40befe%2Fbrick-comp-pagination%400.2.117) (2026-05-25)
|
|
7
60
|
|
|
8
61
|
**Note:** Version bump only for package @befe/brick-comp-pagination
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befe/brick-comp-pagination",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.119",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "ssh://git@icode.baidu.com:8235/baidu/be-fe/brick",
|
|
@@ -25,14 +25,14 @@
|
|
|
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-select": "^0.2.
|
|
32
|
-
"@befe/brick-core": "^0.2.
|
|
33
|
-
"@befe/brick-icon": "^0.2.
|
|
34
|
-
"@befe/brick-style": "^0.2.
|
|
35
|
-
"@befe/brick-utils": "^0.2.
|
|
28
|
+
"@befe/brick-comp-button": "^0.2.97",
|
|
29
|
+
"@befe/brick-comp-icon": "^0.2.94",
|
|
30
|
+
"@befe/brick-comp-input": "^0.2.101",
|
|
31
|
+
"@befe/brick-comp-select": "^0.2.117",
|
|
32
|
+
"@befe/brick-core": "^0.2.53",
|
|
33
|
+
"@befe/brick-icon": "^0.2.27",
|
|
34
|
+
"@befe/brick-style": "^0.2.65",
|
|
35
|
+
"@befe/brick-utils": "^0.2.25"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"classnames": "^2.0.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"react": "^16.9.0 || ^17.0.0",
|
|
41
41
|
"react-dom": "^16.9.0 || ^17.0.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "370a467c43e73fd87ab22bfebe9d0953775a1d17"
|
|
44
44
|
}
|