@hi-ui/tabs 4.1.3 → 4.1.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,22 @@
1
1
  # @hi-ui/tabs
2
2
 
3
+ ## 4.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - build: rollup2 构建
8
+ - Updated dependencies
9
+ - @hi-ui/core@4.0.8
10
+ - @hi-ui/use-latest@4.0.4
11
+ - @hi-ui/use-uncontrolled-state@4.0.4
12
+ - @hi-ui/use-unmount-effect@4.0.4
13
+ - @hi-ui/icons@4.0.18
14
+ - @hi-ui/icon-button@4.0.8
15
+ - @hi-ui/classname@4.0.4
16
+ - @hi-ui/env@4.0.4
17
+ - @hi-ui/react-utils@4.0.4
18
+ - @hi-ui/type-assertion@4.0.4
19
+
3
20
  ## 4.1.3
4
21
 
5
22
  ### Patch Changes
package/lib/cjs/TabInk.js CHANGED
@@ -16,12 +16,12 @@ Object.defineProperty(exports, '__esModule', {
16
16
  var React = require('react');
17
17
  var classname = require('@hi-ui/classname');
18
18
  var index = require('./hooks/index.js');
19
- function _interopDefaultCompat(e) {
19
+ function _interopDefaultLegacy(e) {
20
20
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
21
21
  'default': e
22
22
  };
23
23
  }
24
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
24
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
25
25
  var TabInk = function TabInk(_ref) {
26
26
  var _cx;
27
27
  var disabled = _ref.disabled,
@@ -17,12 +17,12 @@ var React = require('react');
17
17
  var classname = require('@hi-ui/classname');
18
18
  var env = require('@hi-ui/env');
19
19
  var icons = require('@hi-ui/icons');
20
- function _interopDefaultCompat(e) {
20
+ function _interopDefaultLegacy(e) {
21
21
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
22
22
  'default': e
23
23
  };
24
24
  }
25
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
25
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
26
26
  var TabItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
27
27
  var _cx;
28
28
  var className = _ref.className,
@@ -26,12 +26,12 @@ var iconButton = require('@hi-ui/icon-button');
26
26
  var index = require('./hooks/index.js');
27
27
  var useLatest = require('@hi-ui/use-latest');
28
28
  var index$1 = require('./utils/index.js');
29
- function _interopDefaultCompat(e) {
29
+ function _interopDefaultLegacy(e) {
30
30
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
31
31
  'default': e
32
32
  };
33
33
  }
34
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
34
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
35
35
  var _role = 'tabs';
36
36
  var _prefix = classname.getPrefixCls(_role);
37
37
  var TabList = /*#__PURE__*/React.forwardRef(function (_a, ref) {
@@ -17,12 +17,12 @@ var tslib = require('tslib');
17
17
  var React = require('react');
18
18
  var reactUtils = require('@hi-ui/react-utils');
19
19
  var classname = require('@hi-ui/classname');
20
- function _interopDefaultCompat(e) {
20
+ function _interopDefaultLegacy(e) {
21
21
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
22
22
  'default': e
23
23
  };
24
24
  }
25
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
25
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
26
26
  var _role = 'tabs-tab-pane';
27
27
  var _prefix = classname.getPrefixCls(_role);
28
28
  var omitProps = ['tabId', 'tabTitle', 'disabled', 'tabDesc', 'closeable'];
package/lib/cjs/Tabs.js CHANGED
@@ -20,12 +20,12 @@ var env = require('@hi-ui/env');
20
20
  var TabList = require('./TabList.js');
21
21
  var useUncontrolledState = require('@hi-ui/use-uncontrolled-state');
22
22
  var typeAssertion = require('@hi-ui/type-assertion');
23
- function _interopDefaultCompat(e) {
23
+ function _interopDefaultLegacy(e) {
24
24
  return e && _typeof(e) === 'object' && 'default' in e ? e : {
25
25
  'default': e
26
26
  };
27
27
  }
28
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
28
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
29
29
  var _role = 'tabs';
30
30
  var _prefix = classname.getPrefixCls(_role);
31
31
  /**
package/lib/esm/index.js CHANGED
@@ -9,9 +9,11 @@
9
9
  */
10
10
  import './styles/index.scss.js';
11
11
  import { Tabs as Tabs$1 } from './Tabs.js';
12
+ export { Tabs } from './Tabs.js';
12
13
  import { TabPane } from './TabPane.js';
14
+ export { TabPane } from './TabPane.js';
13
15
  export { TabList } from './TabList.js';
14
16
  var Tabs = Object.assign(Tabs$1, {
15
17
  Pane: TabPane
16
18
  });
17
- export { TabPane, Tabs$1 as Tabs, Tabs as default };
19
+ export { Tabs as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/tabs",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "A sub-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",
@@ -43,24 +43,24 @@
43
43
  "url": "https://github.com/XiaoMi/hiui/issues"
44
44
  },
45
45
  "dependencies": {
46
- "@hi-ui/classname": "^4.0.3",
47
- "@hi-ui/env": "^4.0.3",
48
- "@hi-ui/icon-button": "^4.0.7",
49
- "@hi-ui/icons": "^4.0.17",
50
- "@hi-ui/react-utils": "^4.0.3",
51
- "@hi-ui/type-assertion": "^4.0.3",
52
- "@hi-ui/use-latest": "^4.0.3",
53
- "@hi-ui/use-uncontrolled-state": "^4.0.3",
54
- "@hi-ui/use-unmount-effect": "^4.0.3"
46
+ "@hi-ui/classname": "^4.0.4",
47
+ "@hi-ui/env": "^4.0.4",
48
+ "@hi-ui/icon-button": "^4.0.8",
49
+ "@hi-ui/icons": "^4.0.18",
50
+ "@hi-ui/react-utils": "^4.0.4",
51
+ "@hi-ui/type-assertion": "^4.0.4",
52
+ "@hi-ui/use-latest": "^4.0.4",
53
+ "@hi-ui/use-uncontrolled-state": "^4.0.4",
54
+ "@hi-ui/use-unmount-effect": "^4.0.4"
55
55
  },
56
56
  "peerDependencies": {
57
- "@hi-ui/core": ">=4.0.7",
57
+ "@hi-ui/core": ">=4.0.8",
58
58
  "react": ">=16.8.6",
59
59
  "react-dom": ">=16.8.6"
60
60
  },
61
61
  "devDependencies": {
62
- "@hi-ui/core": "^4.0.7",
63
- "@hi-ui/core-css": "^4.1.4",
62
+ "@hi-ui/core": "^4.0.8",
63
+ "@hi-ui/core-css": "^4.1.5",
64
64
  "react": "^17.0.1",
65
65
  "react-dom": "^17.0.1"
66
66
  }