@hi-ui/hiui 4.17.0 → 4.17.2
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 +19 -0
- package/lib/cjs/ui/locale-context/lib/esm/locale/en-US.js +0 -10
- package/lib/cjs/ui/locale-context/lib/esm/locale/index.js +0 -10
- package/lib/cjs/ui/locale-context/lib/esm/locale/zh-CN.js +0 -10
- package/lib/cjs/ui/locale-context/lib/esm/locale/zh-HK.js +0 -10
- package/lib/cjs/ui/locale-context/lib/esm/locale/zh-TW.js +0 -10
- package/lib/cjs/ui/locale-context/lib/esm/types.js +0 -10
- package/lib/esm/ui/locale-context/lib/esm/locale/en-US.js +0 -9
- package/lib/esm/ui/locale-context/lib/esm/locale/index.js +0 -10
- package/lib/esm/ui/locale-context/lib/esm/locale/zh-CN.js +0 -9
- package/lib/esm/ui/locale-context/lib/esm/locale/zh-HK.js +0 -9
- package/lib/esm/ui/locale-context/lib/esm/locale/zh-TW.js +0 -9
- package/lib/esm/ui/locale-context/lib/esm/types.js +0 -9
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @hi-ui/hiui
|
|
2
2
|
|
|
3
|
+
## 4.17.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#3417](https://github.com/XiaoMi/hiui/pull/3417) [`d3dad52`](https://github.com/XiaoMi/hiui/commit/d3dad52a9a8df4cb6451832c0083c03a79f3a1a4) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(locale-context): update build scripts and type definitions for locale support
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`d3dad52`](https://github.com/XiaoMi/hiui/commit/d3dad52a9a8df4cb6451832c0083c03a79f3a1a4)]:
|
|
10
|
+
- @hi-ui/provider@4.2.1
|
|
11
|
+
- @hi-ui/core@4.0.12
|
|
12
|
+
|
|
13
|
+
## 4.17.1
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#3415](https://github.com/XiaoMi/hiui/pull/3415) [`e7a09db`](https://github.com/XiaoMi/hiui/commit/e7a09db7f75022fee82a254a74a2ec17c6b03638) Thanks [@zyprepare](https://github.com/zyprepare)! - fix(cascader): 修复在异步加载数据下,首次打开弹窗没有定位到已选节点位置的问题 (#3414)
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`e7a09db`](https://github.com/XiaoMi/hiui/commit/e7a09db7f75022fee82a254a74a2ec17c6b03638)]:
|
|
20
|
+
- @hi-ui/cascader@4.5.2
|
|
21
|
+
|
|
3
22
|
## 4.17.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
/** @LICENSE
|
|
17
|
-
* @hi-ui/locale-context
|
|
18
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
15
|
var enUS = {
|
|
26
16
|
timePicker: {
|
|
27
17
|
ok: 'OK',
|
|
@@ -16,16 +16,6 @@ var zhCN = require('./zh-CN.js');
|
|
|
16
16
|
var enUS = require('./en-US.js');
|
|
17
17
|
var zhHK = require('./zh-HK.js');
|
|
18
18
|
var zhTW = require('./zh-TW.js');
|
|
19
|
-
|
|
20
|
-
/** @LICENSE
|
|
21
|
-
* @hi-ui/locale-context
|
|
22
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
23
|
-
*
|
|
24
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
25
|
-
*
|
|
26
|
-
* This source code is licensed under the MIT license found in the
|
|
27
|
-
* LICENSE file in the root directory of this source tree.
|
|
28
|
-
*/
|
|
29
19
|
var BUILT_IN_LOCALES = {
|
|
30
20
|
'zh-CN': zhCN["default"],
|
|
31
21
|
'zh-Hans': zhCN["default"],
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
/** @LICENSE
|
|
17
|
-
* @hi-ui/locale-context
|
|
18
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
15
|
var zhCN = {
|
|
26
16
|
timePicker: {
|
|
27
17
|
ok: '确认',
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
/** @LICENSE
|
|
17
|
-
* @hi-ui/locale-context
|
|
18
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
15
|
var zhHK = {
|
|
26
16
|
timePicker: {
|
|
27
17
|
ok: '確認',
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
/** @LICENSE
|
|
17
|
-
* @hi-ui/locale-context
|
|
18
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
15
|
var zhTW = {
|
|
26
16
|
timePicker: {
|
|
27
17
|
ok: '確認',
|
|
@@ -12,16 +12,6 @@
|
|
|
12
12
|
Object.defineProperty(exports, '__esModule', {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
|
|
16
|
-
/** @LICENSE
|
|
17
|
-
* @hi-ui/locale-context
|
|
18
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
19
|
-
*
|
|
20
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
21
|
-
*
|
|
22
|
-
* This source code is licensed under the MIT license found in the
|
|
23
|
-
* LICENSE file in the root directory of this source tree.
|
|
24
|
-
*/
|
|
25
15
|
var LocaleEnum = {
|
|
26
16
|
ZH_CN: 'zh-CN',
|
|
27
17
|
ZH_HANS: 'zh-Hans',
|
|
@@ -7,15 +7,6 @@
|
|
|
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
|
-
/** @LICENSE
|
|
11
|
-
* @hi-ui/locale-context
|
|
12
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
10
|
var enUS = {
|
|
20
11
|
timePicker: {
|
|
21
12
|
ok: 'OK',
|
|
@@ -11,16 +11,6 @@ import zhCN from './zh-CN.js';
|
|
|
11
11
|
import enUS from './en-US.js';
|
|
12
12
|
import zhHK from './zh-HK.js';
|
|
13
13
|
import zhTW from './zh-TW.js';
|
|
14
|
-
|
|
15
|
-
/** @LICENSE
|
|
16
|
-
* @hi-ui/locale-context
|
|
17
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
18
|
-
*
|
|
19
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the MIT license found in the
|
|
22
|
-
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/
|
|
24
14
|
var BUILT_IN_LOCALES = {
|
|
25
15
|
'zh-CN': zhCN,
|
|
26
16
|
'zh-Hans': zhCN,
|
|
@@ -7,15 +7,6 @@
|
|
|
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
|
-
/** @LICENSE
|
|
11
|
-
* @hi-ui/locale-context
|
|
12
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
10
|
var zhCN = {
|
|
20
11
|
timePicker: {
|
|
21
12
|
ok: '确认',
|
|
@@ -7,15 +7,6 @@
|
|
|
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
|
-
/** @LICENSE
|
|
11
|
-
* @hi-ui/locale-context
|
|
12
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
10
|
var zhHK = {
|
|
20
11
|
timePicker: {
|
|
21
12
|
ok: '確認',
|
|
@@ -7,15 +7,6 @@
|
|
|
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
|
-
/** @LICENSE
|
|
11
|
-
* @hi-ui/locale-context
|
|
12
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
10
|
var zhTW = {
|
|
20
11
|
timePicker: {
|
|
21
12
|
ok: '確認',
|
|
@@ -7,15 +7,6 @@
|
|
|
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
|
-
/** @LICENSE
|
|
11
|
-
* @hi-ui/locale-context
|
|
12
|
-
* https://github.com/XiaoMi/hiui/tree/master/packages/ui/locale-context#readme
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/
|
|
19
10
|
var LocaleEnum = {
|
|
20
11
|
ZH_CN: 'zh-CN',
|
|
21
12
|
ZH_HANS: 'zh-Hans',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hi-ui/hiui",
|
|
3
|
-
"version": "4.17.
|
|
3
|
+
"version": "4.17.2",
|
|
4
4
|
"description": "The root-package for @hi-ui/hiui.",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "HiUI <mi-hiui@xiaomi.com>",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@hi-ui/button": "^4.0.10",
|
|
53
53
|
"@hi-ui/card": "^4.0.9",
|
|
54
54
|
"@hi-ui/carousel": "^4.1.1",
|
|
55
|
-
"@hi-ui/cascader": "^4.5.
|
|
55
|
+
"@hi-ui/cascader": "^4.5.2",
|
|
56
56
|
"@hi-ui/check-cascader": "^4.5.2",
|
|
57
57
|
"@hi-ui/check-select": "^4.6.4",
|
|
58
58
|
"@hi-ui/check-tree-select": "^4.7.6",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@hi-ui/popover": "^4.2.0",
|
|
85
85
|
"@hi-ui/preview": "^4.2.2",
|
|
86
86
|
"@hi-ui/progress": "^4.0.11",
|
|
87
|
-
"@hi-ui/provider": "^4.2.
|
|
87
|
+
"@hi-ui/provider": "^4.2.1",
|
|
88
88
|
"@hi-ui/radio": "^4.1.4",
|
|
89
89
|
"@hi-ui/rating": "^4.0.10",
|
|
90
90
|
"@hi-ui/result": "^4.0.8",
|
|
@@ -112,12 +112,12 @@
|
|
|
112
112
|
"@hi-ui/zen-mode": "^4.0.8"
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
|
-
"@hi-ui/core": ">=4.0.
|
|
115
|
+
"@hi-ui/core": ">=4.0.12",
|
|
116
116
|
"react": ">=16.8.6",
|
|
117
117
|
"react-dom": ">=16.8.6"
|
|
118
118
|
},
|
|
119
119
|
"devDependencies": {
|
|
120
|
-
"@hi-ui/core": "^4.0.
|
|
120
|
+
"@hi-ui/core": "^4.0.12",
|
|
121
121
|
"@hi-ui/core-css": "^4.1.5",
|
|
122
122
|
"react": "^17.0.1",
|
|
123
123
|
"react-dom": "^17.0.1"
|