@hi-ui/hiui 4.1.18-beta.0 → 4.1.18
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,12 +1,23 @@
|
|
1
1
|
# @hi-ui/hiui
|
2
2
|
|
3
|
-
## 4.1.18
|
3
|
+
## 4.1.18
|
4
4
|
|
5
5
|
### Patch Changes
|
6
6
|
|
7
|
-
-
|
8
|
-
|
9
|
-
|
7
|
+
- [#2394](https://github.com/XiaoMi/hiui/pull/2394) [`a9a5558ac`](https://github.com/XiaoMi/hiui/commit/a9a5558ac2a17efb213e07a8ee0d3612b43df2a2) Thanks [@zyprepare](https://github.com/zyprepare)! - Pagination 代码优化: 给 PagerButton 组件提供 ref 属性
|
8
|
+
|
9
|
+
- [#2392](https://github.com/XiaoMi/hiui/pull/2392) [`5092a901d`](https://github.com/XiaoMi/hiui/commit/5092a901def14bf4a37411d6d4207cd13809d029) Thanks [@zyprepare](https://github.com/zyprepare)! - Tree 修复问题: 自定义搜索在 checkable 模式下勾选逻辑有误
|
10
|
+
|
11
|
+
- [#2396](https://github.com/XiaoMi/hiui/pull/2396) [`544858c34`](https://github.com/XiaoMi/hiui/commit/544858c342e043f3a60a0368c76c9411a634eb3f) Thanks [@zyprepare](https://github.com/zyprepare)! - Tabs 修复问题: activeId 受控模式下,后面的较深的 tab 无法自动显示到前面
|
12
|
+
|
13
|
+
- [#2389](https://github.com/XiaoMi/hiui/pull/2389) [`d6c7feaf8`](https://github.com/XiaoMi/hiui/commit/d6c7feaf840f8db858f8d2534e86c16a598674b7) Thanks [@chownchen](https://github.com/chownchen)! - Descriptions Component add data api
|
14
|
+
|
15
|
+
- Updated dependencies [[`0f1420d36`](https://github.com/XiaoMi/hiui/commit/0f1420d36bc6bc73b8994eb9dd277b26b930451f), [`544858c34`](https://github.com/XiaoMi/hiui/commit/544858c342e043f3a60a0368c76c9411a634eb3f), [`a7d47168b`](https://github.com/XiaoMi/hiui/commit/a7d47168b519cacfd7b34edf6ba239c5b0b92284), [`5092a901d`](https://github.com/XiaoMi/hiui/commit/5092a901def14bf4a37411d6d4207cd13809d029), [`a9a5558ac`](https://github.com/XiaoMi/hiui/commit/a9a5558ac2a17efb213e07a8ee0d3612b43df2a2)]:
|
16
|
+
- @hi-ui/descriptions@4.1.0
|
17
|
+
- @hi-ui/tabs@4.0.7
|
18
|
+
- @hi-ui/core@4.0.5
|
19
|
+
- @hi-ui/tree@4.1.2
|
20
|
+
- @hi-ui/pagination@4.0.9
|
10
21
|
|
11
22
|
## 4.1.17
|
12
23
|
|
package/lib/cjs/index.js
CHANGED
@@ -51,8 +51,6 @@ var drawer = require('@hi-ui/drawer');
|
|
51
51
|
|
52
52
|
var dropdown = require('@hi-ui/dropdown');
|
53
53
|
|
54
|
-
var ellipsisTooltip = require('@hi-ui/ellipsis-tooltip');
|
55
|
-
|
56
54
|
var emptyState = require('@hi-ui/empty-state');
|
57
55
|
|
58
56
|
var filter = require('@hi-ui/filter');
|
@@ -191,8 +189,6 @@ var drawer__default = /*#__PURE__*/_interopDefaultLegacy(drawer);
|
|
191
189
|
|
192
190
|
var dropdown__default = /*#__PURE__*/_interopDefaultLegacy(dropdown);
|
193
191
|
|
194
|
-
var ellipsisTooltip__default = /*#__PURE__*/_interopDefaultLegacy(ellipsisTooltip);
|
195
|
-
|
196
192
|
var emptyState__default = /*#__PURE__*/_interopDefaultLegacy(emptyState);
|
197
193
|
|
198
194
|
var filter__default = /*#__PURE__*/_interopDefaultLegacy(filter);
|
@@ -393,12 +389,6 @@ Object.defineProperty(exports, 'Dropdown', {
|
|
393
389
|
return dropdown__default["default"];
|
394
390
|
}
|
395
391
|
});
|
396
|
-
Object.defineProperty(exports, 'EllipsisTooltip', {
|
397
|
-
enumerable: true,
|
398
|
-
get: function get() {
|
399
|
-
return ellipsisTooltip__default["default"];
|
400
|
-
}
|
401
|
-
});
|
402
392
|
Object.defineProperty(exports, 'EmptyState', {
|
403
393
|
enumerable: true,
|
404
394
|
get: function get() {
|
@@ -823,14 +813,6 @@ Object.keys(dropdown).forEach(function (k) {
|
|
823
813
|
}
|
824
814
|
});
|
825
815
|
});
|
826
|
-
Object.keys(ellipsisTooltip).forEach(function (k) {
|
827
|
-
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
828
|
-
enumerable: true,
|
829
|
-
get: function get() {
|
830
|
-
return ellipsisTooltip[k];
|
831
|
-
}
|
832
|
-
});
|
833
|
-
});
|
834
816
|
Object.keys(emptyState).forEach(function (k) {
|
835
817
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
836
818
|
enumerable: true,
|
@@ -22,6 +22,8 @@ var zhCN = require('./locale/zh-CN.js');
|
|
22
22
|
var index = require('../../../../utils/object-utils/lib/esm/index.js');
|
23
23
|
|
24
24
|
var index$1 = require('../../../../utils/env/lib/esm/index.js');
|
25
|
+
|
26
|
+
var index$2 = require('../../../../utils/type-assertion/lib/esm/index.js');
|
25
27
|
/** @LICENSE
|
26
28
|
* @hi-ui/locale-context
|
27
29
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
@@ -36,7 +38,7 @@ var index$1 = require('../../../../utils/env/lib/esm/index.js');
|
|
36
38
|
var getLanguage = function getLanguage(languageData) {
|
37
39
|
return function (key, data) {
|
38
40
|
var value = index.getNested(languageData, key.split('.'));
|
39
|
-
index$1.invariant(
|
41
|
+
index$1.invariant(!index$2.isNullish(value), "The " + key + " in language package is missing.");
|
40
42
|
|
41
43
|
if (data) {
|
42
44
|
Object.keys(data).forEach(function (key) {
|
package/lib/esm/index.js
CHANGED
@@ -43,8 +43,6 @@ export * from '@hi-ui/drawer';
|
|
43
43
|
export { default as Drawer } from '@hi-ui/drawer';
|
44
44
|
export * from '@hi-ui/dropdown';
|
45
45
|
export { default as Dropdown } from '@hi-ui/dropdown';
|
46
|
-
export * from '@hi-ui/ellipsis-tooltip';
|
47
|
-
export { default as EllipsisTooltip } from '@hi-ui/ellipsis-tooltip';
|
48
46
|
export * from '@hi-ui/empty-state';
|
49
47
|
export { default as EmptyState } from '@hi-ui/empty-state';
|
50
48
|
export * from '@hi-ui/filter';
|
@@ -12,6 +12,7 @@ import { LocaleEnum } from './types.js';
|
|
12
12
|
import zhCN from './locale/zh-CN.js';
|
13
13
|
import { getNested } from '../../../../utils/object-utils/lib/esm/index.js';
|
14
14
|
import { invariant } from '../../../../utils/env/lib/esm/index.js';
|
15
|
+
import { isNullish } from '../../../../utils/type-assertion/lib/esm/index.js';
|
15
16
|
/** @LICENSE
|
16
17
|
* @hi-ui/locale-context
|
17
18
|
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
@@ -25,7 +26,7 @@ import { invariant } from '../../../../utils/env/lib/esm/index.js';
|
|
25
26
|
var getLanguage = function getLanguage(languageData) {
|
26
27
|
return function (key, data) {
|
27
28
|
var value = getNested(languageData, key.split('.'));
|
28
|
-
invariant(
|
29
|
+
invariant(!isNullish(value), "The " + key + " in language package is missing.");
|
29
30
|
|
30
31
|
if (data) {
|
31
32
|
Object.keys(data).forEach(function (key) {
|
package/lib/types/index.d.ts
CHANGED
@@ -34,8 +34,6 @@ export * from '@hi-ui/drawer';
|
|
34
34
|
export { default as Drawer } from '@hi-ui/drawer';
|
35
35
|
export * from '@hi-ui/dropdown';
|
36
36
|
export { default as Dropdown } from '@hi-ui/dropdown';
|
37
|
-
export * from '@hi-ui/ellipsis-tooltip';
|
38
|
-
export { default as EllipsisTooltip } from '@hi-ui/ellipsis-tooltip';
|
39
37
|
export * from '@hi-ui/empty-state';
|
40
38
|
export { default as EmptyState } from '@hi-ui/empty-state';
|
41
39
|
export * from '@hi-ui/filter';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@hi-ui/hiui",
|
3
|
-
"version": "4.1.18
|
3
|
+
"version": "4.1.18",
|
4
4
|
"description": "The root-package for @hi-ui/hiui.",
|
5
5
|
"keywords": [],
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
@@ -50,20 +50,19 @@
|
|
50
50
|
"@hi-ui/badge": "^4.0.4",
|
51
51
|
"@hi-ui/breadcrumb": "^4.0.4",
|
52
52
|
"@hi-ui/button": "^4.0.5",
|
53
|
-
"@hi-ui/card": "^4.0.
|
53
|
+
"@hi-ui/card": "^4.0.5",
|
54
54
|
"@hi-ui/carousel": "^4.0.4",
|
55
|
-
"@hi-ui/cascader": "^4.0.
|
56
|
-
"@hi-ui/check-cascader": "^4.0.
|
57
|
-
"@hi-ui/check-select": "^4.1.
|
58
|
-
"@hi-ui/check-tree-select": "^4.0.
|
55
|
+
"@hi-ui/cascader": "^4.0.9",
|
56
|
+
"@hi-ui/check-cascader": "^4.0.9",
|
57
|
+
"@hi-ui/check-select": "^4.1.1",
|
58
|
+
"@hi-ui/check-tree-select": "^4.0.10",
|
59
59
|
"@hi-ui/checkbox": "^4.0.5",
|
60
60
|
"@hi-ui/collapse": "^4.1.0",
|
61
61
|
"@hi-ui/counter": "^4.0.5",
|
62
62
|
"@hi-ui/date-picker": "^4.0.12",
|
63
|
-
"@hi-ui/descriptions": "^4.1.0
|
63
|
+
"@hi-ui/descriptions": "^4.1.0",
|
64
64
|
"@hi-ui/drawer": "^4.0.7",
|
65
65
|
"@hi-ui/dropdown": "^4.0.5",
|
66
|
-
"@hi-ui/ellipsis-tooltip": "^4.0.0-alpha.0",
|
67
66
|
"@hi-ui/empty-state": "^4.0.4",
|
68
67
|
"@hi-ui/filter": "^4.1.0",
|
69
68
|
"@hi-ui/form": "^4.1.2",
|
@@ -71,15 +70,15 @@
|
|
71
70
|
"@hi-ui/highlighter": "^4.0.5",
|
72
71
|
"@hi-ui/input": "^4.0.6",
|
73
72
|
"@hi-ui/input-group": "^4.0.3",
|
74
|
-
"@hi-ui/list": "^4.0.
|
75
|
-
"@hi-ui/loading": "^4.
|
76
|
-
"@hi-ui/menu": "^4.0.
|
73
|
+
"@hi-ui/list": "^4.0.8",
|
74
|
+
"@hi-ui/loading": "^4.0.4",
|
75
|
+
"@hi-ui/menu": "^4.0.8",
|
77
76
|
"@hi-ui/message": "^4.0.4",
|
78
77
|
"@hi-ui/modal": "^4.0.9",
|
79
78
|
"@hi-ui/notification": "^4.0.6",
|
80
79
|
"@hi-ui/number-input": "^4.0.5",
|
81
|
-
"@hi-ui/pagination": "^4.0.9
|
82
|
-
"@hi-ui/picker": "^4.0.
|
80
|
+
"@hi-ui/pagination": "^4.0.9",
|
81
|
+
"@hi-ui/picker": "^4.0.6",
|
83
82
|
"@hi-ui/pop-confirm": "^4.0.6",
|
84
83
|
"@hi-ui/popover": "^4.0.5",
|
85
84
|
"@hi-ui/preview": "^4.0.4",
|
@@ -93,31 +92,31 @@
|
|
93
92
|
"@hi-ui/select": "^4.0.9",
|
94
93
|
"@hi-ui/slider": "^4.0.6",
|
95
94
|
"@hi-ui/space": "^4.0.6",
|
96
|
-
"@hi-ui/spinner": "^4.0.
|
95
|
+
"@hi-ui/spinner": "^4.0.4",
|
97
96
|
"@hi-ui/stepper": "^4.0.4",
|
98
97
|
"@hi-ui/svg-icon": "^4.0.4",
|
99
98
|
"@hi-ui/switch": "^4.0.6",
|
100
99
|
"@hi-ui/table": "^4.0.13",
|
101
|
-
"@hi-ui/tabs": "^4.0.
|
100
|
+
"@hi-ui/tabs": "^4.0.7",
|
102
101
|
"@hi-ui/tag": "^4.0.7",
|
103
102
|
"@hi-ui/textarea": "^4.0.6",
|
104
103
|
"@hi-ui/time-picker": "^4.0.8",
|
105
104
|
"@hi-ui/timeline": "^4.0.4",
|
106
105
|
"@hi-ui/tooltip": "^4.0.5",
|
107
106
|
"@hi-ui/transfer": "^4.0.9",
|
108
|
-
"@hi-ui/tree": "^4.1.
|
107
|
+
"@hi-ui/tree": "^4.1.2",
|
109
108
|
"@hi-ui/tree-select": "^4.0.10",
|
110
109
|
"@hi-ui/upload": "^4.1.0",
|
111
110
|
"@hi-ui/watermark": "^4.0.4",
|
112
111
|
"@hi-ui/zen-mode": "^4.0.4"
|
113
112
|
},
|
114
113
|
"peerDependencies": {
|
115
|
-
"@hi-ui/core": ">=4.0.
|
114
|
+
"@hi-ui/core": ">=4.0.5",
|
116
115
|
"react": ">=16.8.6",
|
117
116
|
"react-dom": ">=16.8.6"
|
118
117
|
},
|
119
118
|
"devDependencies": {
|
120
|
-
"@hi-ui/core": "^4.0.
|
119
|
+
"@hi-ui/core": "^4.0.5",
|
121
120
|
"@hi-ui/core-css": "^4.0.2",
|
122
121
|
"@hi-ui/hi-build": "^4.0.1",
|
123
122
|
"react": "^17.0.1",
|