@hi-ui/badge
Advanced tools
Comparing version 4.0.0-beta.9 to 4.0.0-beta.10
@@ -17,3 +17,3 @@ /** @LICENSE | ||
var __styleInject__ = require('style-inject/dist/style-inject.es.js')["default"]; | ||
var __styleInject__ = require('inject-head-style')["default"]; | ||
@@ -20,0 +20,0 @@ __styleInject__(css_248z); |
@@ -10,3 +10,3 @@ /** @LICENSE | ||
*/ | ||
import __styleInject__ from 'style-inject/dist/style-inject.es.js'; | ||
import __styleInject__ from 'inject-head-style'; | ||
var css_248z = ".hi-v4-badge {-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0;padding: 0;border: none;outline: none;font-size: var(--hi-v4-text-size-md, 0.875rem);vertical-align: middle;display: inline-block;position: relative;line-height: 1; }.hi-v4-badge__value {-webkit-transform: translateX(50%);transform: translateX(50%);position: absolute;z-index: 1;right: 0;top: calc(-12px);min-width: 8px;height: 20px;line-height: 20px;padding: 0 var(--hi-v4-spacing-3, 6px);color: var(--hi-v4-color-static-white, #fff);font-size: var(--hi-v4-text-size-sm, 0.75rem);letter-spacing: 0;text-align: center;border: var(--hi-v4-border-size-semibold, 2px solid) var(--hi-v4-color-static-white, #fff);background-color: var(--hi-v4-color-danger-500, var(--hi-v4-color-red-500, #ff5959));border-radius: var(--hi-v4-border-radius-full, 9999px); }.hi-v4-badge__dot {position: absolute;z-index: 1;top: calc(-7px);right: calc(-7px);width: 10px;height: 10px;background-color: var(--hi-v4-color-danger-500, var(--hi-v4-color-red-500, #ff5959));border: var(--hi-v4-border-size-semibold, 2px solid) var(--hi-v4-color-static-white, #fff);border-radius: var(--hi-v4-border-radius-full, 9999px); }.hi-v4-badge__custom {-webkit-transform: translate(50%, -50%);transform: translate(50%, -50%);position: absolute;top: 0;right: 0;z-index: 1; }.hi-v4-badge--independent .hi-v4-badge__dot,.hi-v4-badge--independent .hi-v4-badge__value,.hi-v4-badge--independent .hi-v4-badge__custom {position: relative;top: auto;right: auto;-webkit-transform: none;transform: none;display: block; }"; | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "@hi-ui/badge", | ||
"version": "4.0.0-beta.9", | ||
"version": "4.0.0-beta.10", | ||
"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.8", | ||
"@hi-ui/core": "^4.0.0-beta.9", | ||
"@hi-ui/core-css": "^4.0.0-beta.5", | ||
"@hi-ui/env": "^4.0.0-beta.0", | ||
"@hi-ui/type-assertion": "^4.0.0-beta.4" | ||
"@hi-ui/env": "^4.0.0-beta.1", | ||
"@hi-ui/type-assertion": "^4.0.0-beta.5" | ||
}, | ||
@@ -58,7 +58,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@hi-ui/hi-build": "^4.0.0-beta.4", | ||
"@hi-ui/hi-build": "^4.0.0-beta.5", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
}, | ||
"gitHead": "7f47840510e6dfce429eeed1591c154e321cd14f" | ||
"gitHead": "ef96654e009a72c3445d8df4a4182973631d00e9" | ||
} |
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
16844
Updated@hi-ui/core@^4.0.0-beta.9
Updated@hi-ui/env@^4.0.0-beta.1