@hi-ui/pop-confirm 4.0.0-beta.30 → 4.0.0-beta.31
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/lib/cjs/PopConfirm.js
CHANGED
@@ -96,13 +96,13 @@ var PopConfirm = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
96
96
|
key: "1",
|
97
97
|
className: prefixCls + "__btn-cancel",
|
98
98
|
type: "default",
|
99
|
-
size: "
|
99
|
+
size: "md",
|
100
100
|
onClick: onCancel
|
101
101
|
}, cancelText) : null, hasConfirm ? /*#__PURE__*/React__default["default"].createElement(Button__default["default"], {
|
102
102
|
key: "2",
|
103
103
|
className: prefixCls + "__btn-confirm",
|
104
104
|
type: "primary",
|
105
|
-
size: "
|
105
|
+
size: "md",
|
106
106
|
onClick: onConfirm
|
107
107
|
}, confirmText) : null] : footer) : null)));
|
108
108
|
});
|
@@ -12,7 +12,7 @@
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
13
13
|
value: true
|
14
14
|
});
|
15
|
-
var css_248z = ".hi-v4-pop-confirm {overflow-wrap: break-word;font-size: var(--hi-v4-text-size-md, 0.875rem);line-height: var(--hi-v4-text-lineheight-md, 1.375rem);position: relative;background: var(--hi-v4-color-static-white, #fff);white-space: nowrap;border-radius: var(--hi-v4-border-radius-
|
15
|
+
var css_248z = ".hi-v4-pop-confirm {overflow-wrap: break-word;font-size: var(--hi-v4-text-size-md, 0.875rem);line-height: var(--hi-v4-text-lineheight-md, 1.375rem);position: relative;background: var(--hi-v4-color-static-white, #fff);white-space: nowrap;border-radius: var(--hi-v4-border-radius-lg, 6px);padding: var(--hi-v4-spacing-10, 20px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column; }.hi-v4-pop-confirm__content {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; }.hi-v4-pop-confirm__content-icon {margin-right: var(--hi-v4-spacing-4, 8px);color: var(--hi-v4-color-warning-500, var(--hi-v4-color-yellow-500, #fab007));font-size: var(--hi-v4-text-size-xxl, 1.5rem); }.hi-v4-pop-confirm__content-title {color: var(--hi-v4-color-gray-700, #1f2733); }.hi-v4-pop-confirm__footer {margin-top: var(--hi-v4-spacing-10, 20px);text-align: right; }";
|
16
16
|
|
17
17
|
var __styleInject__ = require('inject-head-style')["default"];
|
18
18
|
|
package/lib/esm/PopConfirm.js
CHANGED
@@ -66,13 +66,13 @@ var PopConfirm = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
66
66
|
key: "1",
|
67
67
|
className: prefixCls + "__btn-cancel",
|
68
68
|
type: "default",
|
69
|
-
size: "
|
69
|
+
size: "md",
|
70
70
|
onClick: onCancel
|
71
71
|
}, cancelText) : null, hasConfirm ? /*#__PURE__*/React.createElement(Button, {
|
72
72
|
key: "2",
|
73
73
|
className: prefixCls + "__btn-confirm",
|
74
74
|
type: "primary",
|
75
|
-
size: "
|
75
|
+
size: "md",
|
76
76
|
onClick: onConfirm
|
77
77
|
}, confirmText) : null] : footer) : null)));
|
78
78
|
});
|
@@ -8,7 +8,7 @@
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
9
|
*/
|
10
10
|
import __styleInject__ from 'inject-head-style';
|
11
|
-
var css_248z = ".hi-v4-pop-confirm {overflow-wrap: break-word;font-size: var(--hi-v4-text-size-md, 0.875rem);line-height: var(--hi-v4-text-lineheight-md, 1.375rem);position: relative;background: var(--hi-v4-color-static-white, #fff);white-space: nowrap;border-radius: var(--hi-v4-border-radius-
|
11
|
+
var css_248z = ".hi-v4-pop-confirm {overflow-wrap: break-word;font-size: var(--hi-v4-text-size-md, 0.875rem);line-height: var(--hi-v4-text-lineheight-md, 1.375rem);position: relative;background: var(--hi-v4-color-static-white, #fff);white-space: nowrap;border-radius: var(--hi-v4-border-radius-lg, 6px);padding: var(--hi-v4-spacing-10, 20px);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column; }.hi-v4-pop-confirm__content {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center; }.hi-v4-pop-confirm__content-icon {margin-right: var(--hi-v4-spacing-4, 8px);color: var(--hi-v4-color-warning-500, var(--hi-v4-color-yellow-500, #fab007));font-size: var(--hi-v4-text-size-xxl, 1.5rem); }.hi-v4-pop-confirm__content-title {color: var(--hi-v4-color-gray-700, #1f2733); }.hi-v4-pop-confirm__footer {margin-top: var(--hi-v4-spacing-10, 20px);text-align: right; }";
|
12
12
|
|
13
13
|
__styleInject__(css_248z);
|
14
14
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/pop-confirm",
|
3
|
-
"version": "4.0.0-beta.
|
3
|
+
"version": "4.0.0-beta.31",
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HIUI <mi-hiui@xiaomi.com>",
|
@@ -43,13 +43,13 @@
|
|
43
43
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@hi-ui/button": "^4.0.0-beta.
|
46
|
+
"@hi-ui/button": "^4.0.0-beta.16",
|
47
47
|
"@hi-ui/classname": "^4.0.0-beta.0",
|
48
48
|
"@hi-ui/core": "^4.0.0-beta.9",
|
49
49
|
"@hi-ui/core-css": "^4.0.0-beta.5",
|
50
50
|
"@hi-ui/dom-utils": "^4.0.0-beta.6",
|
51
51
|
"@hi-ui/env": "^4.0.0-beta.1",
|
52
|
-
"@hi-ui/icons": "^4.0.0-beta.
|
52
|
+
"@hi-ui/icons": "^4.0.0-beta.12",
|
53
53
|
"@hi-ui/locale-context": "^4.0.0-beta.19",
|
54
54
|
"@hi-ui/popper": "^4.0.0-beta.19",
|
55
55
|
"@hi-ui/react-utils": "^4.0.0-beta.6",
|
@@ -67,5 +67,5 @@
|
|
67
67
|
"react": "^17.0.1",
|
68
68
|
"react-dom": "^17.0.1"
|
69
69
|
},
|
70
|
-
"gitHead": "
|
70
|
+
"gitHead": "3180ed00bbe4a23ff0d5bfa1f5ca95f39ff9f494"
|
71
71
|
}
|