@hi-ui/pop-confirm 4.2.3 → 4.2.4

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,18 @@
1
1
  # @hi-ui/pop-confirm
2
2
 
3
+ ## 4.2.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2791](https://github.com/XiaoMi/hiui/pull/2791) [`1a00f9fc4`](https://github.com/XiaoMi/hiui/commit/1a00f9fc4a44619059d7852e846b54fedbd56715) Thanks [@zyprepare](https://github.com/zyprepare)! - build: style-inject(node 环境下有问题) 替换为 @hi-ui/style-inject
8
+
9
+ - Updated dependencies [[`1a00f9fc4`](https://github.com/XiaoMi/hiui/commit/1a00f9fc4a44619059d7852e846b54fedbd56715)]:
10
+ - @hi-ui/env@4.0.5
11
+ - @hi-ui/icons@4.0.19
12
+ - @hi-ui/button@4.0.10
13
+ - @hi-ui/popper@4.1.5
14
+ - @hi-ui/classname@4.0.5
15
+
3
16
  ## 4.2.3
4
17
 
5
18
  ### Patch Changes
@@ -23,14 +23,14 @@ var Button = require('@hi-ui/button');
23
23
  var Popper = require('@hi-ui/popper');
24
24
  var index = require('./icons/index.js');
25
25
  var typeAssertion = require('@hi-ui/type-assertion');
26
- function _interopDefaultLegacy(e) {
26
+ function _interopDefaultCompat(e) {
27
27
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
28
28
  'default': e
29
29
  };
30
30
  }
31
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
32
- var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
33
- var Popper__default = /*#__PURE__*/_interopDefaultLegacy(Popper);
31
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
32
+ var Button__default = /*#__PURE__*/_interopDefaultCompat(Button);
33
+ var Popper__default = /*#__PURE__*/_interopDefaultCompat(Popper);
34
34
  var POP_CONFIRM_PREFIX = classname.getPrefixCls('pop-confirm');
35
35
  /**
36
36
  * 气泡确认框
@@ -15,11 +15,11 @@ Object.defineProperty(exports, '__esModule', {
15
15
  });
16
16
  var React = require('react');
17
17
  var icons = require('@hi-ui/icons');
18
- function _interopDefaultLegacy(e) {
18
+ function _interopDefaultCompat(e) {
19
19
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
20
20
  'default': e
21
21
  };
22
22
  }
23
- var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
23
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
24
  var defaultTipIcon = /*#__PURE__*/React__default["default"].createElement(icons.ExclamationCircleFilled, null);
25
25
  exports.defaultTipIcon = defaultTipIcon;
@@ -13,6 +13,6 @@ Object.defineProperty(exports, '__esModule', {
13
13
  value: true
14
14
  });
15
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-5, 10px);color: var(--hi-v4-color-warning-500, var(--hi-v4-color-yellow-500, #fab007));font-size: var(--hi-v4-text-size-xl, 1.125rem);}.hi-v4-pop-confirm__content-title {color: var(--hi-v4-color-gray-700, #1f2733);font-weight: var(--hi-v4-text-weight-semibold, 600);}.hi-v4-pop-confirm__body {margin: var(--hi-v4-spacing-5, 10px) 0 0 var(--hi-v4-spacing-14, 28px);white-space: normal;color: var(--hi-v4-color-gray-600, #5f6a7a);}.hi-v4-pop-confirm__footer {margin-top: var(--hi-v4-spacing-10, 20px);text-align: right;}";
16
- var __styleInject__ = require('style-inject')["default"];
16
+ var __styleInject__ = require('@hi-ui/style-inject')["default"];
17
17
  __styleInject__(css_248z);
18
18
  exports["default"] = css_248z;
@@ -7,7 +7,7 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- import __styleInject__ from 'style-inject';
10
+ import __styleInject__ from '@hi-ui/style-inject';
11
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-5, 10px);color: var(--hi-v4-color-warning-500, var(--hi-v4-color-yellow-500, #fab007));font-size: var(--hi-v4-text-size-xl, 1.125rem);}.hi-v4-pop-confirm__content-title {color: var(--hi-v4-color-gray-700, #1f2733);font-weight: var(--hi-v4-text-weight-semibold, 600);}.hi-v4-pop-confirm__body {margin: var(--hi-v4-spacing-5, 10px) 0 0 var(--hi-v4-spacing-14, 28px);white-space: normal;color: var(--hi-v4-color-gray-600, #5f6a7a);}.hi-v4-pop-confirm__footer {margin-top: var(--hi-v4-spacing-10, 20px);text-align: right;}";
12
12
  __styleInject__(css_248z);
13
13
  export { css_248z as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/pop-confirm",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -43,12 +43,12 @@
43
43
  "url": "https://github.com/XiaoMi/hiui/issues"
44
44
  },
45
45
  "dependencies": {
46
- "@hi-ui/button": "^4.0.9",
47
- "@hi-ui/classname": "^4.0.4",
46
+ "@hi-ui/button": "^4.0.10",
47
+ "@hi-ui/classname": "^4.0.5",
48
48
  "@hi-ui/dom-utils": "^4.0.7",
49
- "@hi-ui/env": "^4.0.4",
50
- "@hi-ui/icons": "^4.0.18",
51
- "@hi-ui/popper": "^4.1.3",
49
+ "@hi-ui/env": "^4.0.5",
50
+ "@hi-ui/icons": "^4.0.19",
51
+ "@hi-ui/popper": "^4.1.5",
52
52
  "@hi-ui/react-utils": "^4.0.4",
53
53
  "@hi-ui/type-assertion": "^4.0.4",
54
54
  "@hi-ui/use-latest": "^4.0.4",