@hi-ui/hiui 4.10.1 → 4.10.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @hi-ui/hiui
2
2
 
3
+ ## 4.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3072](https://github.com/XiaoMi/hiui/pull/3072) [`5e426c9`](https://github.com/XiaoMi/hiui/commit/5e426c9f9d0e6ab9aa8d166c29ac8fb2fd95a414) Thanks [@zyprepare](https://github.com/zyprepare)! - chore(locale-context): 对外暴露类型定义
8
+
3
9
  ## 4.10.1
4
10
 
5
11
  ### Patch Changes
package/lib/cjs/index.js CHANGED
@@ -41,6 +41,7 @@ var list = require('@hi-ui/list');
41
41
  var loading = require('@hi-ui/loading');
42
42
  var LocaleContext = require('./ui/locale-context/lib/esm/LocaleContext.js');
43
43
  var LocaleProvider = require('./ui/locale-context/lib/esm/LocaleProvider.js');
44
+ var types = require('./ui/locale-context/lib/esm/types.js');
44
45
  var PortalContext = require('./ui/portal-context/lib/esm/PortalContext.js');
45
46
  var PortalProvider = require('./ui/portal-context/lib/esm/PortalProvider.js');
46
47
  var menu = require('@hi-ui/menu');
@@ -247,6 +248,7 @@ exports.getLanguage = LocaleContext.getLanguage;
247
248
  exports.useLocaleContext = LocaleContext.useLocaleContext;
248
249
  exports.LocaleContext = LocaleProvider.LocaleProvider;
249
250
  exports.LocaleProvider = LocaleProvider.LocaleProvider;
251
+ exports.LocaleEnum = types.LocaleEnum;
250
252
  exports.usePortalContext = PortalContext.usePortalContext;
251
253
  exports.PortalContext = PortalProvider.PortalProvider;
252
254
  exports.PortalProvider = PortalProvider.PortalProvider;
package/lib/esm/index.js CHANGED
@@ -63,6 +63,7 @@ export * from '@hi-ui/loading';
63
63
  export { default as Loading } from '@hi-ui/loading';
64
64
  export { getLanguage, useLocaleContext } from './ui/locale-context/lib/esm/LocaleContext.js';
65
65
  export { LocaleProvider as LocaleContext, LocaleProvider } from './ui/locale-context/lib/esm/LocaleProvider.js';
66
+ export { LocaleEnum } from './ui/locale-context/lib/esm/types.js';
66
67
  export { usePortalContext } from './ui/portal-context/lib/esm/PortalContext.js';
67
68
  export { PortalProvider as PortalContext, PortalProvider } from './ui/portal-context/lib/esm/PortalProvider.js';
68
69
  export * from '@hi-ui/menu';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/hiui",
3
- "version": "4.10.1",
3
+ "version": "4.10.2",
4
4
  "description": "The root-package for @hi-ui/hiui.",
5
5
  "keywords": [],
6
6
  "author": "HiUI <mi-hiui@xiaomi.com>",