@hi-ui/badge
Advanced tools
Comparing version 4.0.0-beta.3 to 4.0.0-beta.4
@@ -93,3 +93,3 @@ /** @LICENSE | ||
if (type === types.BadgeTypeEnum.DOT) { | ||
return /*#__PURE__*/React__default['default'].createElement("span", { | ||
return /*#__PURE__*/React__default["default"].createElement("span", { | ||
className: prefixCls + "__dot", | ||
@@ -109,3 +109,3 @@ style: badgeStyle | ||
return /*#__PURE__*/React__default['default'].createElement("span", { | ||
return /*#__PURE__*/React__default["default"].createElement("span", { | ||
className: prefixCls + "__value", | ||
@@ -117,3 +117,3 @@ style: badgeStyle, | ||
var cls = classname.cx(prefixCls, className, typeAssertion.isNullish(children) && prefixCls + "--independent"); | ||
return /*#__PURE__*/React__default['default'].createElement("span", Object.assign({ | ||
return /*#__PURE__*/React__default["default"].createElement("span", Object.assign({ | ||
ref: ref, | ||
@@ -131,2 +131,1 @@ className: cls, | ||
exports.Badge = Badge; | ||
//# sourceMappingURL=Badge.js.map |
@@ -22,2 +22,1 @@ /** @LICENSE | ||
exports["default"] = Badge.Badge; | ||
//# sourceMappingURL=index.js.map |
@@ -22,2 +22,1 @@ /** @LICENSE | ||
exports["default"] = css_248z; | ||
//# sourceMappingURL=index.scss.js.map |
@@ -20,2 +20,1 @@ /** @LICENSE | ||
exports.BadgeTypeEnum = BadgeTypeEnum; | ||
//# sourceMappingURL=types.js.map |
@@ -13,3 +13,3 @@ /** @LICENSE | ||
import { getPrefixCls, cx } from '@hi-ui/classname'; | ||
import { invariant, __DEV__ } from '@hi-ui/env'; | ||
import { __DEV__, invariant } from '@hi-ui/env'; | ||
import { isNullish } from '@hi-ui/type-assertion'; | ||
@@ -108,2 +108,1 @@ import { BadgeTypeEnum } from './types.js'; | ||
export { Badge }; | ||
//# sourceMappingURL=Badge.js.map |
@@ -12,2 +12,1 @@ /** @LICENSE | ||
export { Badge, Badge as default } from './Badge.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -16,3 +16,2 @@ /** @LICENSE | ||
export default css_248z; | ||
//# sourceMappingURL=index.scss.js.map | ||
export { css_248z as default }; |
@@ -15,2 +15,1 @@ /** @LICENSE | ||
export { BadgeTypeEnum }; | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@hi-ui/badge", | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-beta.4", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -47,6 +47,6 @@ "keywords": [], | ||
"@hi-ui/classname": "^4.0.0-beta.0", | ||
"@hi-ui/core": "^4.0.0-beta.3", | ||
"@hi-ui/core": "^4.0.0-beta.4", | ||
"@hi-ui/core-css": "^4.0.0-beta.3", | ||
"@hi-ui/env": "^4.0.0-beta.0", | ||
"@hi-ui/type-assertion": "^4.0.0-beta.1" | ||
"@hi-ui/type-assertion": "^4.0.0-beta.2" | ||
}, | ||
@@ -58,7 +58,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@hi-ui/hi-build": "^4.0.0-beta.1", | ||
"@hi-ui/hi-build": "^4.0.0-beta.2", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
}, | ||
"gitHead": "6b493b7d53d775bd0b94f45f208986774620af43" | ||
"gitHead": "ee153a74347825eed55297d5b55459823f2b6f58" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21040
14
361