@hi-ui/badge
Advanced tools
Comparing version 4.0.0-beta.13 to 4.0.0-beta.14
@@ -73,4 +73,4 @@ /** @LICENSE | ||
if (Array.isArray(offset)) { | ||
env.invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number array.'); | ||
env.invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number array.'); | ||
env.invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number type.'); | ||
env.invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number type.'); | ||
style.marginTop = offset[1]; | ||
@@ -77,0 +77,0 @@ style.marginRight = -offset[0]; |
@@ -52,4 +52,4 @@ /** @LICENSE | ||
if (Array.isArray(offset)) { | ||
invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number array.'); | ||
invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number array.'); | ||
invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number type.'); | ||
invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number type.'); | ||
style.marginTop = offset[1]; | ||
@@ -56,0 +56,0 @@ style.marginRight = -offset[0]; |
{ | ||
"name": "@hi-ui/badge", | ||
"version": "4.0.0-beta.13", | ||
"version": "4.0.0-beta.14", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -47,4 +47,4 @@ "keywords": [], | ||
"@hi-ui/classname": "^4.0.0-beta.0", | ||
"@hi-ui/core": "^4.0.0-beta.9", | ||
"@hi-ui/core-css": "^4.0.0-beta.5", | ||
"@hi-ui/core": "^4.0.0-beta.10", | ||
"@hi-ui/core-css": "^4.0.0-beta.6", | ||
"@hi-ui/env": "^4.0.0-beta.1", | ||
@@ -62,3 +62,3 @@ "@hi-ui/type-assertion": "^4.0.0-beta.5" | ||
}, | ||
"gitHead": "3180ed00bbe4a23ff0d5bfa1f5ca95f39ff9f494" | ||
"gitHead": "43cfc64831263176a31bf951a5add214df340248" | ||
} |
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
17215
Updated@hi-ui/core@^4.0.0-beta.10