Socket
Socket
Sign inDemoInstall

@hi-ui/core

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/core - npm Package Compare versions

Comparing version 4.0.0-beta.10 to 4.0.0

20

lib/cjs/index.js

@@ -5,3 +5,3 @@ /** @LICENSE

*
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
*

@@ -16,2 +16,5 @@ * This source code is licensed under the MIT license found in the

});
var localeContext = require('@hi-ui/locale-context');
var HiBaseAppearanceEnum = {

@@ -26,4 +29,17 @@ LINE: 'line',

LG: 'lg'
};
}; // 将 core 设为 peer:保证 context 实例引用一致性
Object.defineProperty(exports, 'LocaleProvider', {
enumerable: true,
get: function get() {
return localeContext.LocaleProvider;
}
});
Object.defineProperty(exports, 'useLocaleContext', {
enumerable: true,
get: function get() {
return localeContext.useLocaleContext;
}
});
exports.HiBaseAppearanceEnum = HiBaseAppearanceEnum;
exports.HiBaseSizeEnum = HiBaseSizeEnum;

6

lib/esm/index.js

@@ -5,3 +5,3 @@ /** @LICENSE

*
* Copyright (c) HIUI <mi-hiui@xiaomi.com>.
* Copyright (c) HiUI <mi-hiui@xiaomi.com>.
*

@@ -11,2 +11,3 @@ * This source code is licensed under the MIT license found in the

*/
export { LocaleProvider, useLocaleContext } from '@hi-ui/locale-context';
var HiBaseAppearanceEnum = {

@@ -21,3 +22,4 @@ LINE: 'line',

LG: 'lg'
};
}; // 将 core 设为 peer:保证 context 实例引用一致性
export { HiBaseAppearanceEnum, HiBaseSizeEnum };

@@ -44,1 +44,3 @@ import React from 'react';

export declare type HiBaseSizeEnum = ValueOf<typeof HiBaseSizeEnum>;
export { useLocaleContext, LocaleProvider } from '@hi-ui/locale-context';
export type { UseLocaleContext, LocaleProviderProps } from '@hi-ui/locale-context';
{
"name": "@hi-ui/core",
"version": "4.0.0-beta.10",
"version": "4.0.0",
"description": "A sub-package for @hi-ui/utils.",
"keywords": [],
"author": "HIUI <mi-hiui@xiaomi.com>",
"author": "HiUI <mi-hiui@xiaomi.com>",
"homepage": "https://github.com/XiaoMi/hiui/tree/master/packages/utils/core#readme",

@@ -46,8 +46,9 @@ "license": "MIT",

"devDependencies": {
"@hi-ui/hi-build": "^4.0.0-beta.5"
"@hi-ui/hi-build": "^4.0.0"
},
"dependencies": {
"@hi-ui/core-css": "^4.0.0-beta.6"
"@hi-ui/core-css": "^4.0.0",
"@hi-ui/locale-context": "^4.0.0"
},
"gitHead": "43cfc64831263176a31bf951a5add214df340248"
"gitHead": "3530e4f3c0b4394b91d66a4aa749579708ebff84"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc