@hi-ui/pop-confirm 4.2.0 → 4.2.1

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,27 @@
1
1
  # @hi-ui/pop-confirm
2
2
 
3
+ ## 4.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2672](https://github.com/XiaoMi/hiui/pull/2672) [`1ebe27830`](https://github.com/XiaoMi/hiui/commit/1ebe2783098b3a8cd980bd10076d67635463800e) Thanks [@zyprepare](https://github.com/zyprepare)! - build: 升级到 rollup3,重新构建发布组件
8
+
9
+ - [#2671](https://github.com/XiaoMi/hiui/pull/2671) [`6d7909444`](https://github.com/XiaoMi/hiui/commit/6d790944418f36689b34805f858a1268530864b9) Thanks [@zyprepare](https://github.com/zyprepare)! - fix: 修复组件参数类型错误
10
+
11
+ - Updated dependencies [[`1ebe27830`](https://github.com/XiaoMi/hiui/commit/1ebe2783098b3a8cd980bd10076d67635463800e)]:
12
+ - @hi-ui/core@4.0.6
13
+ - @hi-ui/use-latest@4.0.2
14
+ - @hi-ui/use-toggle@4.0.2
15
+ - @hi-ui/use-uncontrolled-state@4.0.2
16
+ - @hi-ui/icons@4.0.16
17
+ - @hi-ui/button@4.0.7
18
+ - @hi-ui/popper@4.1.1
19
+ - @hi-ui/classname@4.0.2
20
+ - @hi-ui/dom-utils@4.0.5
21
+ - @hi-ui/env@4.0.2
22
+ - @hi-ui/react-utils@4.0.2
23
+ - @hi-ui/type-assertion@4.0.2
24
+
3
25
  ## 4.2.0
4
26
 
5
27
  ### Minor Changes
@@ -13,7 +13,7 @@ export interface PopConfirmProps extends Omit<HiBaseHTMLProps<'div'>, 'title'>,
13
13
  /**
14
14
  * 确认框内容
15
15
  */
16
- content: React.ReactNode;
16
+ content?: React.ReactNode;
17
17
  /**
18
18
  * 取消按钮文案
19
19
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/pop-confirm",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -43,26 +43,26 @@
43
43
  "url": "https://github.com/XiaoMi/hiui/issues"
44
44
  },
45
45
  "dependencies": {
46
- "@hi-ui/button": "^4.0.6",
47
- "@hi-ui/classname": "^4.0.1",
48
- "@hi-ui/dom-utils": "^4.0.4",
49
- "@hi-ui/env": "^4.0.1",
50
- "@hi-ui/icons": "^4.0.4",
51
- "@hi-ui/popper": "^4.0.4",
52
- "@hi-ui/react-utils": "^4.0.1",
53
- "@hi-ui/type-assertion": "^4.0.1",
54
- "@hi-ui/use-latest": "^4.0.1",
55
- "@hi-ui/use-toggle": "^4.0.1",
56
- "@hi-ui/use-uncontrolled-state": "^4.0.1"
46
+ "@hi-ui/button": "^4.0.7",
47
+ "@hi-ui/classname": "^4.0.2",
48
+ "@hi-ui/dom-utils": "^4.0.5",
49
+ "@hi-ui/env": "^4.0.2",
50
+ "@hi-ui/icons": "^4.0.16",
51
+ "@hi-ui/popper": "^4.1.1",
52
+ "@hi-ui/react-utils": "^4.0.2",
53
+ "@hi-ui/type-assertion": "^4.0.2",
54
+ "@hi-ui/use-latest": "^4.0.2",
55
+ "@hi-ui/use-toggle": "^4.0.2",
56
+ "@hi-ui/use-uncontrolled-state": "^4.0.2"
57
57
  },
58
58
  "peerDependencies": {
59
- "@hi-ui/core": ">=4.0.0",
59
+ "@hi-ui/core": ">=4.0.6",
60
60
  "react": ">=16.8.6",
61
61
  "react-dom": ">=16.8.6"
62
62
  },
63
63
  "devDependencies": {
64
- "@hi-ui/core": "^4.0.4",
65
- "@hi-ui/core-css": "^4.1.2",
64
+ "@hi-ui/core": "^4.0.6",
65
+ "@hi-ui/core-css": "^4.1.3",
66
66
  "react": "^17.0.1",
67
67
  "react-dom": "^17.0.1"
68
68
  }