@hi-ui/avatar
Advanced tools
Comparing version 4.0.0-beta.13 to 4.0.0-beta.14
@@ -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-avatar {display: -webkit-inline-box;display: -ms-inline-flexbox;display: inline-flex;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;vertical-align: middle;text-align: center;background-color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa));color: var(--hi-v4-color-static-white, #fff);font-size: var(--hi-v4-text-size-xl, 1.125rem);overflow: hidden;-ms-flex-negative: 0;flex-shrink: 0; }.hi-v4-avatar--empty {background-color: var(--hi-v4-color-primary-100, var(--hi-v4-color-brandblue-100, #bde2ff)); }.hi-v4-avatar__content {text-align: inherit;background-color: var(--hi-v4-color-static-transparent, transparent);color: inherit;overflow: hidden;font-size: inherit;height: 100%; }.hi-v4-avatar__content > img {width: 100%;height: 100%;-o-object-fit: cover;object-fit: cover; }.hi-v4-avatar__image {width: 100%;height: 100%;-o-object-fit: cover;object-fit: cover; }.hi-v4-avatar--shape-circle {border-radius: var(--hi-v4-border-radius-full, 9999px); }.hi-v4-avatar--shape-square {border-radius: var(--hi-v4-border-radius-md, 4px); }.hi-v4-avatar--size-md {width: var(--hi-v4-height-10, 40px);height: var(--hi-v4-height-10, 40px);line-height: var(--hi-v4-height-10, 40px); }.hi-v4-avatar--size-sm {width: var(--hi-v4-height-8, 32px);height: var(--hi-v4-height-8, 32px);line-height: var(--hi-v4-height-8, 32px);font-size: var(--hi-v4-text-size-lg, 1rem); }.hi-v4-avatar--size-xs {width: var(--hi-v4-height-6, 24px);height: var(--hi-v4-height-6, 24px);line-height: var(--hi-v4-height-6, 24px);font-size: var(--hi-v4-text-size-md, 0.875rem); }.hi-v4-avatar--size-lg {width: var(--hi-v4-height-12, 48px);height: var(--hi-v4-height-12, 48px);line-height: var(--hi-v4-height-12, 48px);font-size: var(--hi-v4-text-size-xxl, 1.5rem); }.hi-v4-avatar--size-xl {width: var(--hi-v4-height-16, 64px);height: var(--hi-v4-height-16, 64px);line-height: var(--hi-v4-height-16, 64px);font-size: var(--hi-v4-text-size-xxl, 1.5rem); }"; | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "@hi-ui/avatar", | ||
"version": "4.0.0-beta.13", | ||
"version": "4.0.0-beta.14", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -47,7 +47,7 @@ "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/icons": "^4.0.0-beta.10", | ||
"@hi-ui/use-latest": "^4.0.0-beta.4" | ||
"@hi-ui/env": "^4.0.0-beta.1", | ||
"@hi-ui/icons": "^4.0.0-beta.11", | ||
"@hi-ui/use-latest": "^4.0.0-beta.5" | ||
}, | ||
@@ -59,7 +59,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" | ||
} |
17501
Updated@hi-ui/core@^4.0.0-beta.9
Updated@hi-ui/env@^4.0.0-beta.1
Updated@hi-ui/icons@^4.0.0-beta.11