@hi-ui/layout 5.0.0-experimental.3 → 5.0.0-rc.0
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 +30 -70
- package/lib/cjs/Profile.js +4 -1
- package/lib/cjs/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/lib/cjs/node_modules/prop-types/index.js +1 -1
- package/lib/cjs/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.development.js +1 -1
- package/lib/cjs/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
- package/lib/cjs/node_modules/{prop-types/node_modules/react-is → react-is}/index.js +3 -3
- package/lib/esm/Profile.js +5 -2
- package/lib/esm/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/lib/esm/node_modules/prop-types/index.js +1 -1
- package/lib/esm/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.development.js +1 -1
- package/lib/esm/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
- package/lib/esm/node_modules/{prop-types/node_modules/react-is → react-is}/index.js +3 -3
- package/lib/types/index.d.ts +1 -0
- package/package.json +13 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,119 +1,79 @@
|
|
|
1
1
|
# @hi-ui/layout
|
|
2
2
|
|
|
3
|
-
## 5.0.0-
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 5561e8e2b: style(layout): Sider 中 menu-item 加上间距 & Profile 加渐变背景 (5.0)
|
|
8
|
-
- Updated dependencies [3a7186e4b]
|
|
9
|
-
- Updated dependencies [d49302358]
|
|
10
|
-
- @hi-ui/use-merge-semantic@5.0.0-experimental.1
|
|
11
|
-
- @hi-ui/menu@5.0.0-experimental.3
|
|
12
|
-
|
|
13
|
-
## 5.0.0-experimental.2
|
|
14
|
-
|
|
15
|
-
### Patch Changes
|
|
16
|
-
|
|
17
|
-
- eb17c4697: style: 修复 UI/样式问题 (5.0)
|
|
18
|
-
- Updated dependencies [7f204c892]
|
|
19
|
-
- Updated dependencies [eb17c4697]
|
|
20
|
-
- Updated dependencies [eb17c4697]
|
|
21
|
-
- Updated dependencies [45f59fb86]
|
|
22
|
-
- Updated dependencies [c407744fe]
|
|
23
|
-
- Updated dependencies [59cef699f]
|
|
24
|
-
- @hi-ui/icons@5.0.0-experimental.1
|
|
25
|
-
- @hi-ui/core@5.0.0-experimental.1
|
|
26
|
-
- @hi-ui/menu@5.0.0-experimental.2
|
|
27
|
-
- @hi-ui/popover@5.0.0-experimental.1
|
|
28
|
-
- @hi-ui/popper@5.0.0-experimental.1
|
|
29
|
-
- @hi-ui/use-merge-semantic@5.0.0-experimental.0
|
|
30
|
-
|
|
31
|
-
## 5.0.0-experimental.1
|
|
32
|
-
|
|
33
|
-
### Patch Changes
|
|
34
|
-
|
|
35
|
-
- ec6005193: style(layout,menu): 样式和示例调整 (5.0)
|
|
36
|
-
- 发布 hiui experimental 版本
|
|
37
|
-
- Updated dependencies [ec6005193]
|
|
38
|
-
- Updated dependencies
|
|
39
|
-
- @hi-ui/menu@5.0.0-experimental.1
|
|
40
|
-
|
|
41
|
-
## 5.0.0-experimental.0
|
|
3
|
+
## 5.0.0-rc.0
|
|
42
4
|
|
|
43
5
|
### Major Changes
|
|
44
6
|
|
|
45
7
|
- e8fd3543d: feat(layout): 添加 AppListPopover 组件并更新布局样式和示例 (5.0)
|
|
46
|
-
|
|
47
|
-
### Minor Changes
|
|
48
|
-
|
|
49
|
-
- c91b57c00: feat(search-trigger): 继承 MenuSearch 组件参数 (5.0)
|
|
50
8
|
- 5828ae8ab: feat(layout): 增加 FloatMenuContainer 组件 (5.0)
|
|
51
9
|
- df8232a61: feat(layout): 增加 Profile 组件 (5.0)
|
|
52
10
|
- 22ef60263: feat(layout): 新增 Layout 组件 (5.0)
|
|
53
11
|
- 3c3e077b9: feat(layout): 增加 Header 和 Footer 组件 & 完善示例 (5.0)
|
|
54
|
-
|
|
55
|
-
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- c91b57c00: feat(search-trigger): 继承 MenuSearch 组件参数 (5.0)
|
|
16
|
+
- 25cea5f36: - feat(layout): Sider 组件支持宽度能力增强,新增 `maxWidth` 和 `resizable` 参数 (5.0)
|
|
17
|
+
- style(layout): Sider 组件默认宽度改为 180px,并优化菜单项间距与 Profile 渐变背景 (5.0)
|
|
18
|
+
- style(layout): 折叠状态下为 FloatMenuContainer 增加 `z-index`,并支持 `zIndex` 参数配置 (5.0)
|
|
56
19
|
|
|
57
20
|
### Patch Changes
|
|
58
21
|
|
|
59
|
-
- 1662753e0: style: fix ui bug (5.0)
|
|
60
22
|
- e785237b1: <br />
|
|
61
23
|
- perf(layout): 优化导航菜单交互体验 (5.0)
|
|
62
24
|
- perf(menu): 优化搜索菜单组件的样式和交互逻辑 & 修改分组菜单样式问题 (5.0)
|
|
63
|
-
- c021539a3: style: fix ui bug (5.0)
|
|
64
25
|
- 4c767623f: fix(layout&page-header): add types export to package.json for layout and page-header
|
|
65
|
-
- be5a59325: style: 修改样式问题 (5.0)
|
|
66
|
-
- 2b6cfd655: style: fix ui bug (5.0)
|
|
67
26
|
- 2e56529f7: styles: 主题定制功能完善&&样式变量化写法改造&&兼容 RTL (5.0)
|
|
68
27
|
- 95abba983: fix: 修改 UI 问题 (5.0)
|
|
28
|
+
- eb17c4697: style: 修复 UI/样式问题 (5.0)
|
|
69
29
|
- c2e765ada: style(layout): 修改 Sider 收起时宽度为 60px & 增加 width 参数 (5.0)
|
|
70
30
|
- 52d25f630: perf(layout&menu): 优化 FloatMenuContainer 组件的折叠逻辑 & 修改 SideMenu 组件 hover 样式 (5.0)
|
|
71
|
-
-
|
|
72
|
-
- 872761f65: style(layout): 在折叠状态下为 FloatMenuContainer 组件添加 z-index 属性 (5.0)
|
|
73
|
-
- 72f5dada0: style(layout): Sider 组件默认宽度改为 180px (5.0)
|
|
74
|
-
- Updated dependencies [6fb223e3a]
|
|
31
|
+
- ec6005193: style(layout,menu): 样式和示例调整 (5.0)
|
|
75
32
|
- Updated dependencies [1e226cd66]
|
|
33
|
+
- Updated dependencies [7f204c892]
|
|
76
34
|
- Updated dependencies [9b34d99bc]
|
|
77
|
-
- Updated dependencies [1662753e0]
|
|
78
35
|
- Updated dependencies [e785237b1]
|
|
79
36
|
- Updated dependencies [122d1d859]
|
|
37
|
+
- Updated dependencies [eb17c4697]
|
|
80
38
|
- Updated dependencies [8c0ee78f0]
|
|
39
|
+
- Updated dependencies [1afb72ae0]
|
|
81
40
|
- Updated dependencies [8f3aa85e4]
|
|
82
|
-
- Updated dependencies [c021539a3]
|
|
83
41
|
- Updated dependencies [fd4c20bbd]
|
|
84
|
-
- Updated dependencies [be5a59325]
|
|
85
42
|
- Updated dependencies [79ea480f3]
|
|
86
|
-
- Updated dependencies [2b6cfd655]
|
|
87
43
|
- Updated dependencies [2e56529f7]
|
|
88
44
|
- Updated dependencies [277c5033a]
|
|
89
45
|
- Updated dependencies [95abba983]
|
|
46
|
+
- Updated dependencies [eb17c4697]
|
|
90
47
|
- Updated dependencies [c2e765ada]
|
|
48
|
+
- Updated dependencies [d49302358]
|
|
91
49
|
- Updated dependencies [976ec929d]
|
|
92
50
|
- Updated dependencies [52d25f630]
|
|
51
|
+
- Updated dependencies [45f59fb86]
|
|
93
52
|
- Updated dependencies [d021b4fa6]
|
|
94
53
|
- Updated dependencies [f1ab51725]
|
|
95
54
|
- Updated dependencies [6f4b13151]
|
|
96
55
|
- Updated dependencies [1b824c9ad]
|
|
97
56
|
- Updated dependencies [5828ae8ab]
|
|
57
|
+
- Updated dependencies [ec6005193]
|
|
58
|
+
- Updated dependencies [d91a8bb0f]
|
|
98
59
|
- Updated dependencies [542076e55]
|
|
99
60
|
- Updated dependencies [e42e2badf]
|
|
100
61
|
- Updated dependencies [33da3144e]
|
|
101
|
-
- Updated dependencies [7f3abee55]
|
|
102
62
|
- Updated dependencies [c38e6e4bf]
|
|
103
63
|
- Updated dependencies [a5937df94]
|
|
104
64
|
- Updated dependencies [58ad82e94]
|
|
105
|
-
- Updated dependencies [
|
|
65
|
+
- Updated dependencies [95d930354]
|
|
106
66
|
- Updated dependencies [f2be367e9]
|
|
107
67
|
- Updated dependencies [1972fd16a]
|
|
108
|
-
- Updated dependencies [
|
|
68
|
+
- Updated dependencies [59cef699f]
|
|
109
69
|
- Updated dependencies [bfc1cb7c8]
|
|
110
|
-
- @hi-ui/menu@5.0.0-
|
|
111
|
-
- @hi-ui/popover@5.0.0-
|
|
112
|
-
- @hi-ui/popper@5.0.0-
|
|
113
|
-
- @hi-ui/icons@5.0.0-
|
|
114
|
-
- @hi-ui/core@5.0.0-
|
|
115
|
-
- @hi-ui/use-toggle@5.0.0-
|
|
116
|
-
- @hi-ui/use-uncontrolled-state@5.0.0-
|
|
117
|
-
- @hi-ui/classname@5.0.0-
|
|
118
|
-
- @hi-ui/env@5.0.0-
|
|
119
|
-
- @hi-ui/react-utils@5.0.0-
|
|
70
|
+
- @hi-ui/menu@5.0.0-rc.0
|
|
71
|
+
- @hi-ui/popover@5.0.0-rc.0
|
|
72
|
+
- @hi-ui/popper@5.0.0-rc.0
|
|
73
|
+
- @hi-ui/icons@5.0.0-rc.0
|
|
74
|
+
- @hi-ui/core@5.0.0-rc.0
|
|
75
|
+
- @hi-ui/use-toggle@5.0.0-rc.0
|
|
76
|
+
- @hi-ui/use-uncontrolled-state@5.0.0-rc.0
|
|
77
|
+
- @hi-ui/classname@5.0.0-rc.0
|
|
78
|
+
- @hi-ui/env@5.0.0-rc.0
|
|
79
|
+
- @hi-ui/react-utils@5.0.0-rc.0
|
package/lib/cjs/Profile.js
CHANGED
|
@@ -17,6 +17,7 @@ var tslib = require('tslib');
|
|
|
17
17
|
var React = require('react');
|
|
18
18
|
var classname = require('@hi-ui/classname');
|
|
19
19
|
var env = require('@hi-ui/env');
|
|
20
|
+
var core = require('@hi-ui/core');
|
|
20
21
|
var Popover = require('@hi-ui/popover');
|
|
21
22
|
var icons = require('@hi-ui/icons');
|
|
22
23
|
var useToggle = require('@hi-ui/use-toggle');
|
|
@@ -41,6 +42,8 @@ var Profile = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
41
42
|
settings = _a.settings,
|
|
42
43
|
rest = tslib.__rest(_a, ["prefixCls", "role", "className", "children", "header", "footer", "settings"]);
|
|
43
44
|
var cls = classname.cx(prefixCls, className);
|
|
45
|
+
var _useGlobalContext = core.useGlobalContext(),
|
|
46
|
+
direction = _useGlobalContext.direction;
|
|
44
47
|
var _useUncontrolledState = useUncontrolledState.useUncontrolledState((_b = settings === null || settings === void 0 ? void 0 : settings.value) !== null && _b !== void 0 ? _b : {}, settings === null || settings === void 0 ? void 0 : settings.value),
|
|
45
48
|
value = _useUncontrolledState[0],
|
|
46
49
|
setValue = _useUncontrolledState[1];
|
|
@@ -105,7 +108,7 @@ var Profile = /*#__PURE__*/React.forwardRef(function (_a, ref) {
|
|
|
105
108
|
className: prefixCls + "__settings-item__subtitle"
|
|
106
109
|
}, item.subtitle)) : null), ((_d = item.children) === null || _d === void 0 ? void 0 : _d.length) ? ( /*#__PURE__*/React__default["default"].createElement("div", {
|
|
107
110
|
className: prefixCls + "__settings-item__arrow"
|
|
108
|
-
}, /*#__PURE__*/React__default["default"].createElement(icons.RightOutlined, null))) : null));
|
|
111
|
+
}, direction === 'rtl' ? /*#__PURE__*/React__default["default"].createElement(icons.LeftOutlined, null) : /*#__PURE__*/React__default["default"].createElement(icons.RightOutlined, null))) : null));
|
|
109
112
|
})), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
110
113
|
className: prefixCls + "__footer"
|
|
111
114
|
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -13,7 +13,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
13
13
|
Object.defineProperty(exports, '__esModule', {
|
|
14
14
|
value: true
|
|
15
15
|
});
|
|
16
|
-
require('
|
|
16
|
+
require('../react-is/index.js');
|
|
17
17
|
var index$1 = require('../object-assign/index.js');
|
|
18
18
|
var ReactPropTypesSecret$1 = require('./lib/ReactPropTypesSecret.js');
|
|
19
19
|
var checkPropTypes$1 = require('./checkPropTypes.js');
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
12
|
var index = require('../../_virtual/index2.js');
|
|
13
|
-
require('
|
|
13
|
+
require('../react-is/index.js');
|
|
14
14
|
var factoryWithTypeCheckers = require('./factoryWithTypeCheckers.js');
|
|
15
15
|
var factoryWithThrowingShims = require('./factoryWithThrowingShims.js');
|
|
16
16
|
var index$1 = require('../../_virtual/index3.js');
|
|
@@ -13,7 +13,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
13
13
|
Object.defineProperty(exports, '__esModule', {
|
|
14
14
|
value: true
|
|
15
15
|
});
|
|
16
|
-
var reactIs_development = require('
|
|
16
|
+
var reactIs_development = require('../../../_virtual/react-is.development.js');
|
|
17
17
|
|
|
18
18
|
/** @license React v16.13.1
|
|
19
19
|
* react-is.development.js
|
|
@@ -13,7 +13,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
13
13
|
Object.defineProperty(exports, '__esModule', {
|
|
14
14
|
value: true
|
|
15
15
|
});
|
|
16
|
-
var reactIs_production_min = require('
|
|
16
|
+
var reactIs_production_min = require('../../../_virtual/react-is.production.min.js');
|
|
17
17
|
|
|
18
18
|
/** @license React v16.13.1
|
|
19
19
|
* react-is.production.min.js
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
*/
|
|
10
10
|
'use strict';
|
|
11
11
|
|
|
12
|
-
var index = require('
|
|
12
|
+
var index = require('../../_virtual/index3.js');
|
|
13
13
|
require('./cjs/react-is.production.min.js');
|
|
14
14
|
require('./cjs/react-is.development.js');
|
|
15
|
-
var reactIs_production_min = require('
|
|
16
|
-
var reactIs_development = require('
|
|
15
|
+
var reactIs_production_min = require('../../_virtual/react-is.production.min.js');
|
|
16
|
+
var reactIs_development = require('../../_virtual/react-is.development.js');
|
|
17
17
|
if (process.env.NODE_ENV === 'production') {
|
|
18
18
|
index.reactIs.exports = reactIs_production_min.__exports;
|
|
19
19
|
} else {
|
package/lib/esm/Profile.js
CHANGED
|
@@ -11,8 +11,9 @@ import { __rest } from 'tslib';
|
|
|
11
11
|
import React, { forwardRef, useCallback } from 'react';
|
|
12
12
|
import { getPrefixCls, cx } from '@hi-ui/classname';
|
|
13
13
|
import { __DEV__ } from '@hi-ui/env';
|
|
14
|
+
import { useGlobalContext } from '@hi-ui/core';
|
|
14
15
|
import Popover from '@hi-ui/popover';
|
|
15
|
-
import { CheckOutlined, RightOutlined } from '@hi-ui/icons';
|
|
16
|
+
import { CheckOutlined, LeftOutlined, RightOutlined } from '@hi-ui/icons';
|
|
16
17
|
import { useUncontrolledToggle } from '@hi-ui/use-toggle';
|
|
17
18
|
import { useUncontrolledState } from '@hi-ui/use-uncontrolled-state';
|
|
18
19
|
var PROFILE_PREFIX = getPrefixCls('profile');
|
|
@@ -28,6 +29,8 @@ var Profile = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
28
29
|
settings = _a.settings,
|
|
29
30
|
rest = __rest(_a, ["prefixCls", "role", "className", "children", "header", "footer", "settings"]);
|
|
30
31
|
var cls = cx(prefixCls, className);
|
|
32
|
+
var _useGlobalContext = useGlobalContext(),
|
|
33
|
+
direction = _useGlobalContext.direction;
|
|
31
34
|
var _useUncontrolledState = useUncontrolledState((_b = settings === null || settings === void 0 ? void 0 : settings.value) !== null && _b !== void 0 ? _b : {}, settings === null || settings === void 0 ? void 0 : settings.value),
|
|
32
35
|
value = _useUncontrolledState[0],
|
|
33
36
|
setValue = _useUncontrolledState[1];
|
|
@@ -92,7 +95,7 @@ var Profile = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
92
95
|
className: prefixCls + "__settings-item__subtitle"
|
|
93
96
|
}, item.subtitle)) : null), ((_d = item.children) === null || _d === void 0 ? void 0 : _d.length) ? ( /*#__PURE__*/React.createElement("div", {
|
|
94
97
|
className: prefixCls + "__settings-item__arrow"
|
|
95
|
-
}, /*#__PURE__*/React.createElement(RightOutlined, null))) : null));
|
|
98
|
+
}, direction === 'rtl' ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null))) : null));
|
|
96
99
|
})), /*#__PURE__*/React.createElement("div", {
|
|
97
100
|
className: prefixCls + "__footer"
|
|
98
101
|
}, /*#__PURE__*/React.createElement("div", {
|
|
@@ -8,7 +8,7 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
import '
|
|
11
|
+
import '../react-is/index.js';
|
|
12
12
|
import objectAssign from '../object-assign/index.js';
|
|
13
13
|
import ReactPropTypesSecret_1 from './lib/ReactPropTypesSecret.js';
|
|
14
14
|
import checkPropTypes_1 from './checkPropTypes.js';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
9
|
*/
|
|
10
10
|
import { p as propTypes } from '../../_virtual/index2.js';
|
|
11
|
-
import '
|
|
11
|
+
import '../react-is/index.js';
|
|
12
12
|
import factoryWithTypeCheckers from './factoryWithTypeCheckers.js';
|
|
13
13
|
import factoryWithThrowingShims from './factoryWithThrowingShims.js';
|
|
14
14
|
import { r as reactIs } from '../../_virtual/index3.js';
|
|
@@ -8,7 +8,7 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
import { __exports as reactIs_development } from '
|
|
11
|
+
import { __exports as reactIs_development } from '../../../_virtual/react-is.development.js';
|
|
12
12
|
|
|
13
13
|
/** @license React v16.13.1
|
|
14
14
|
* react-is.development.js
|
|
@@ -8,7 +8,7 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";
|
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
10
|
*/
|
|
11
|
-
import { __exports as reactIs_production_min } from '
|
|
11
|
+
import { __exports as reactIs_production_min } from '../../../_virtual/react-is.production.min.js';
|
|
12
12
|
|
|
13
13
|
/** @license React v16.13.1
|
|
14
14
|
* react-is.production.min.js
|
|
@@ -7,11 +7,11 @@
|
|
|
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 { r as reactIs } from '
|
|
10
|
+
import { r as reactIs } from '../../_virtual/index3.js';
|
|
11
11
|
import './cjs/react-is.production.min.js';
|
|
12
12
|
import './cjs/react-is.development.js';
|
|
13
|
-
import { __exports as reactIs_production_min } from '
|
|
14
|
-
import { __exports as reactIs_development } from '
|
|
13
|
+
import { __exports as reactIs_production_min } from '../../_virtual/react-is.production.min.js';
|
|
14
|
+
import { __exports as reactIs_development } from '../../_virtual/react-is.development.js';
|
|
15
15
|
if (process.env.NODE_ENV === 'production') {
|
|
16
16
|
reactIs.exports = reactIs_production_min;
|
|
17
17
|
} else {
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import './styles/index.scss';
|
|
2
3
|
declare const Layout: import("react").ForwardRefExoticComponent<import("./Layout").LayoutProps & import("react").RefAttributes<HTMLDivElement | null>> & {
|
|
3
4
|
Header: import("react").ForwardRefExoticComponent<import("./Header").HeaderProps & import("react").RefAttributes<HTMLDivElement | null>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/layout",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.0",
|
|
4
4
|
"description": "A sub-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
|
@@ -44,25 +44,24 @@
|
|
|
44
44
|
"url": "https://github.com/XiaoMi/hiui/issues"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@hi-ui/classname": "^5.0.0-
|
|
48
|
-
"@hi-ui/env": "^5.0.0-
|
|
49
|
-
"@hi-ui/icons": "^5.0.0-
|
|
50
|
-
"@hi-ui/menu": "^5.0.0-
|
|
51
|
-
"@hi-ui/popper": "^5.0.0-
|
|
52
|
-
"@hi-ui/popover": "^5.0.0-
|
|
53
|
-
"@hi-ui/react-utils": "^5.0.0-
|
|
54
|
-
"@hi-ui/use-toggle": "^5.0.0-
|
|
55
|
-
"@hi-ui/use-uncontrolled-state": "^5.0.0-
|
|
56
|
-
"@hi-ui/use-merge-semantic": "^5.0.0-experimental.1"
|
|
47
|
+
"@hi-ui/classname": "^5.0.0-rc.0",
|
|
48
|
+
"@hi-ui/env": "^5.0.0-rc.0",
|
|
49
|
+
"@hi-ui/icons": "^5.0.0-rc.0",
|
|
50
|
+
"@hi-ui/menu": "^5.0.0-rc.0",
|
|
51
|
+
"@hi-ui/popper": "^5.0.0-rc.0",
|
|
52
|
+
"@hi-ui/popover": "^5.0.0-rc.0",
|
|
53
|
+
"@hi-ui/react-utils": "^5.0.0-rc.0",
|
|
54
|
+
"@hi-ui/use-toggle": "^5.0.0-rc.0",
|
|
55
|
+
"@hi-ui/use-uncontrolled-state": "^5.0.0-rc.0"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
|
-
"@hi-ui/core": ">=5.0.0-
|
|
58
|
+
"@hi-ui/core": ">=5.0.0-rc.0",
|
|
60
59
|
"react": ">=16.8.6",
|
|
61
60
|
"react-dom": ">=16.8.6"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
|
-
"@hi-ui/core": "^5.0.0-
|
|
65
|
-
"@hi-ui/core-css": "^5.0.0-
|
|
63
|
+
"@hi-ui/core": "^5.0.0-rc.0",
|
|
64
|
+
"@hi-ui/core-css": "^5.0.0-rc.0",
|
|
66
65
|
"react": "^17.0.1",
|
|
67
66
|
"react-dom": "^17.0.1"
|
|
68
67
|
}
|