@befe/brick-comp-dialog 0.2.105 → 0.2.107
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 +74 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,80 @@
|
|
|
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.107 (2026-06-09)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **dialog:** import 依赖组件的样式,并清理多余的依赖项 ([8bde1bc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8bde1bc6d631942df4d08cc8f07a9a624bcf3d3a))
|
|
12
|
+
* **dialog:** 修复对 Icon 的依赖引入 ([899ffbd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/899ffbd5f3297400dcc131592c8d0f72181dbcfa))
|
|
13
|
+
* **dialog:** 修正 .brick-dialog-wrap 的 flex 修饰,确保其宽度固定而不随容器 .brick-modal-wrap 收缩 ([9ea4e9d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9ea4e9dc53cfae8c27bfcd079ef28ac4b2af0a3d))
|
|
14
|
+
* **dialog:** 修正 .brick-modal-content 的修饰 height 100% ,使 dialog 内容高度不足时,其中的 popper 也有足够的空间而不至于翻转 ([f320a7c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f320a7c0dc2c282abd988d5e78edfc1e984b8d5d))
|
|
15
|
+
* **dialog:** 修正 `minHeight`, `maxHeight`, `topDistance` 等几个来自 theme 的关键尺寸的取值处理 ([e02aa15](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e02aa155b796d3851830b9213480c06da5a00cb3))
|
|
16
|
+
* **dialog:** 修正 confirmMethod 第二个参数的类型判断 ([be3b919](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/be3b91944eea12085ff829253642d5442b162160))
|
|
17
|
+
* **dialog:** 修正 dialog body 样式 ([877e818](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/877e81845c146109a42e789c7fafa0017b88f9b3))
|
|
18
|
+
* **dialog:** 修正 dialog-body 在 overflow scroll 情况下内容被 dialog-foot 遮盖的问题 ([f5b955b](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f5b955b9c2e76532554add189b937be318c0f6c0))
|
|
19
|
+
* **dialog:** 修正 DialogConfirm 的水平居中样式失效问题 ([936d5df](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/936d5dfe93f6aba2f6cb9736f57ad12f94ac82b1))
|
|
20
|
+
* **dialog:** 修正 IE 下 `min-height` 不生效的问题 ([cf89dac](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/cf89dac02e584501bd5246e401b4c12e534aff3d))
|
|
21
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
22
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **dialog:** dialog-confirm 支持 `props.type` 为 `null` 无 icon 类型 ([f923ca0](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f923ca0a5af4dba40a57c2dc960e7678b641b881))
|
|
28
|
+
* **dialog:** 加入 `props.centered` 支持“居中” ([75dfa58](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/75dfa58fc76710f66865169850491cdf7016ef08))
|
|
29
|
+
* **dialog:** 加入 `props.confirmDisabled` 支持 “禁用确定按钮” ([443de11](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/443de11cfc7d35ec31f9f3f448969eac66be7f99))
|
|
30
|
+
* **dialog:** 加入 `props.withCancel` 支持只有 “确认” 的情景 ([d759ab3](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d759ab3dcc5fad58bbff4f7652855c6199248f74))
|
|
31
|
+
* **dialog:** 加入 `props.withCloseX` 支持配置关闭小叉 ([8db6b57](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8db6b57ea7034afc19b30d617fc03c061eec3823))
|
|
32
|
+
* **dialog:** 加入 dialog-confirm ([75af637](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/75af637dd899c5d642b9aee9b8533e0fc5c9298e))
|
|
33
|
+
* **dialog:** 提供 `createAlert()` 用以应用样式隔离方案时进行 configContext 配置 ([5179a18](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/5179a18dbe79613f8922c4fad88c26f313a4ada2))
|
|
34
|
+
* **dialog:** 提供 `createConfirm()` 用以应用样式隔离方案时进行 configContext 配置 ([e8e247c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e8e247c6e51cc021bbca0e2b2a97593d038de69d))
|
|
35
|
+
* **dialog:** 添加 alert-controller 以提供 dialogAlert 的标准支持 ([c5808c1](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c5808c1cba6f3663f0e42b8563f588570c0bd4e4))
|
|
36
|
+
* **drawer:** 完成 drawer 基础功能 ([10385eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/10385ebb5ff2d920d8a37ba79ddc5b7e462a42cc))
|
|
37
|
+
* **drawer:** 实现滑入/滑出动效 ([c929945](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c92994531f0809e07a91b5220f0d9e73963ee1bb))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## 0.2.106 (2026-06-01)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Bug Fixes
|
|
47
|
+
|
|
48
|
+
* **dialog:** import 依赖组件的样式,并清理多余的依赖项 ([8bde1bc](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8bde1bc6d631942df4d08cc8f07a9a624bcf3d3a))
|
|
49
|
+
* **dialog:** 修复对 Icon 的依赖引入 ([899ffbd](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/899ffbd5f3297400dcc131592c8d0f72181dbcfa))
|
|
50
|
+
* **dialog:** 修正 .brick-dialog-wrap 的 flex 修饰,确保其宽度固定而不随容器 .brick-modal-wrap 收缩 ([9ea4e9d](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/9ea4e9dc53cfae8c27bfcd079ef28ac4b2af0a3d))
|
|
51
|
+
* **dialog:** 修正 .brick-modal-content 的修饰 height 100% ,使 dialog 内容高度不足时,其中的 popper 也有足够的空间而不至于翻转 ([f320a7c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f320a7c0dc2c282abd988d5e78edfc1e984b8d5d))
|
|
52
|
+
* **dialog:** 修正 `minHeight`, `maxHeight`, `topDistance` 等几个来自 theme 的关键尺寸的取值处理 ([e02aa15](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e02aa155b796d3851830b9213480c06da5a00cb3))
|
|
53
|
+
* **dialog:** 修正 confirmMethod 第二个参数的类型判断 ([be3b919](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/be3b91944eea12085ff829253642d5442b162160))
|
|
54
|
+
* **dialog:** 修正 dialog body 样式 ([877e818](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/877e81845c146109a42e789c7fafa0017b88f9b3))
|
|
55
|
+
* **dialog:** 修正 dialog-body 在 overflow scroll 情况下内容被 dialog-foot 遮盖的问题 ([f5b955b](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f5b955b9c2e76532554add189b937be318c0f6c0))
|
|
56
|
+
* **dialog:** 修正 DialogConfirm 的水平居中样式失效问题 ([936d5df](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/936d5dfe93f6aba2f6cb9736f57ad12f94ac82b1))
|
|
57
|
+
* **dialog:** 修正 IE 下 `min-height` 不生效的问题 ([cf89dac](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/cf89dac02e584501bd5246e401b4c12e534aff3d))
|
|
58
|
+
* 修复各组件的 index.scss 中对依赖组件样式的引用,应引用依赖 index.scss ([b7c32eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/b7c32eb53b575d6cbd92cf5b01e8e1cbd44ab2ba))
|
|
59
|
+
* 修正各组件 peerDependecy `mobx` 的版本号 ([321ed47](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/321ed4704f2bd53449c6c71f1a340db427d4c656))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Features
|
|
63
|
+
|
|
64
|
+
* **dialog:** dialog-confirm 支持 `props.type` 为 `null` 无 icon 类型 ([f923ca0](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/f923ca0a5af4dba40a57c2dc960e7678b641b881))
|
|
65
|
+
* **dialog:** 加入 `props.centered` 支持“居中” ([75dfa58](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/75dfa58fc76710f66865169850491cdf7016ef08))
|
|
66
|
+
* **dialog:** 加入 `props.confirmDisabled` 支持 “禁用确定按钮” ([443de11](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/443de11cfc7d35ec31f9f3f448969eac66be7f99))
|
|
67
|
+
* **dialog:** 加入 `props.withCancel` 支持只有 “确认” 的情景 ([d759ab3](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/d759ab3dcc5fad58bbff4f7652855c6199248f74))
|
|
68
|
+
* **dialog:** 加入 `props.withCloseX` 支持配置关闭小叉 ([8db6b57](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/8db6b57ea7034afc19b30d617fc03c061eec3823))
|
|
69
|
+
* **dialog:** 加入 dialog-confirm ([75af637](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/75af637dd899c5d642b9aee9b8533e0fc5c9298e))
|
|
70
|
+
* **dialog:** 提供 `createAlert()` 用以应用样式隔离方案时进行 configContext 配置 ([5179a18](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/5179a18dbe79613f8922c4fad88c26f313a4ada2))
|
|
71
|
+
* **dialog:** 提供 `createConfirm()` 用以应用样式隔离方案时进行 configContext 配置 ([e8e247c](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/e8e247c6e51cc021bbca0e2b2a97593d038de69d))
|
|
72
|
+
* **dialog:** 添加 alert-controller 以提供 dialogAlert 的标准支持 ([c5808c1](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c5808c1cba6f3663f0e42b8563f588570c0bd4e4))
|
|
73
|
+
* **drawer:** 完成 drawer 基础功能 ([10385eb](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/10385ebb5ff2d920d8a37ba79ddc5b7e462a42cc))
|
|
74
|
+
* **drawer:** 实现滑入/滑出动效 ([c929945](https://icode.baidu.com/repos/baidu/be-fe/brick/commits/c92994531f0809e07a91b5220f0d9e73963ee1bb))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
6
80
|
## [0.2.105](https://icode.baidu.com:8235/baidu/be-fe/brick//%40befe%2Fbrick-comp-dialog%400.2.104...%40befe%2Fbrick-comp-dialog%400.2.105) (2026-05-25)
|
|
7
81
|
|
|
8
82
|
**Note:** Version bump only for package @befe/brick-comp-dialog
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@befe/brick-comp-dialog",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.107",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "ssh://git@icode.baidu.com:8235/baidu/be-fe/brick",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"author": "wujun07",
|
|
26
26
|
"license": "ISC",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@befe/brick-comp-alert": "^0.2.
|
|
29
|
-
"@befe/brick-comp-button": "^0.2.
|
|
30
|
-
"@befe/brick-comp-close-x": "^0.2.
|
|
31
|
-
"@befe/brick-comp-config-provider": "^0.2.
|
|
32
|
-
"@befe/brick-comp-icon": "^0.2.
|
|
33
|
-
"@befe/brick-comp-modal": "^0.2.
|
|
34
|
-
"@befe/brick-core": "^0.2.
|
|
35
|
-
"@befe/brick-icon": "^0.2.
|
|
36
|
-
"@befe/brick-style": "^0.2.
|
|
37
|
-
"@befe/brick-utils": "^0.2.
|
|
28
|
+
"@befe/brick-comp-alert": "^0.2.99",
|
|
29
|
+
"@befe/brick-comp-button": "^0.2.98",
|
|
30
|
+
"@befe/brick-comp-close-x": "^0.2.99",
|
|
31
|
+
"@befe/brick-comp-config-provider": "^0.2.94",
|
|
32
|
+
"@befe/brick-comp-icon": "^0.2.95",
|
|
33
|
+
"@befe/brick-comp-modal": "^0.2.96",
|
|
34
|
+
"@befe/brick-core": "^0.2.54",
|
|
35
|
+
"@befe/brick-icon": "^0.2.28",
|
|
36
|
+
"@befe/brick-style": "^0.2.66",
|
|
37
|
+
"@befe/brick-utils": "^0.2.26"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"classnames": "^2.0.0",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"react": "^16.9.0 || ^17.0.0",
|
|
43
43
|
"react-dom": "^16.9.0 || ^17.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "bca818bbfaad5ab6ecde4a9253d41fe32c3b1da8"
|
|
46
46
|
}
|