@hi-ui/alert
Advanced tools
Comparing version 4.0.0-beta.14 to 4.0.0-beta.15
@@ -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-alert {position: relative;padding: var(--hi-v4-spacing-6, 12px) var(--hi-v4-spacing-10, 20px);border-radius: var(--hi-v4-border-radius-lg, 6px);font-size: var(--hi-v4-text-size-md, 0.875rem);color: var(--hi-v4-color-gray-600, #5f6a7a);line-height: var(--hi-v4-text-lineheight-sm, 1.25rem);display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: start;-ms-flex-align: start;align-items: flex-start;width: 100%;-webkit-box-sizing: border-box;box-sizing: border-box; }.hi-v4-alert.hi-v4-alert--with-content {padding: var(--hi-v4-spacing-10, 20px); }.hi-v4-alert.hi-v4-alert--with-content .hi-v4-alert__title {font-size: var(--hi-v4-text-size-lg, 1rem);font-weight: var(--hi-v4-text-weight-medium, 500);margin-bottom: var(--hi-v4-spacing-4, 8px); }.hi-v4-alert.hi-v4-alert--with-content .hi-v4-alert__icon {font-size: 20px;-webkit-margin-end: var(--hi-v4-spacing-6, 12px);margin-inline-end: var(--hi-v4-spacing-6, 12px); }.hi-v4-alert__icon {font-size: var(--hi-v4-text-size-lg, 1rem);-webkit-margin-end: var(--hi-v4-spacing-4, 8px);margin-inline-end: var(--hi-v4-spacing-4, 8px);-ms-flex-negative: 0;flex-shrink: 0; }.hi-v4-alert__message {-webkit-box-flex: 1;-ms-flex: 1 1;flex: 1 1;width: 100%; }.hi-v4-alert__title {font-size: var(--hi-v4-text-size-md, 0.875rem);color: var(--hi-v4-color-gray-700, #1f2733); }.hi-v4-alert .hi-v4-alert__close {line-height: inherit;height: var(--hi-v4-text-lineheight-sm, 1.25rem);-webkit-margin-start: var(--hi-v4-spacing-4, 8px);margin-inline-start: var(--hi-v4-spacing-4, 8px); }.hi-v4-alert--type-primary {background-color: var(--hi-v4-color-primary-50, var(--hi-v4-color-brandblue-50, #e2f3fe)); }.hi-v4-alert--type-primary .hi-v4-alert__icon {color: var(--hi-v4-color-primary-500, var(--hi-v4-color-brandblue-500, #237ffa)); }.hi-v4-alert--type-warning {background-color: var(--hi-v4-color-warning-50, var(--hi-v4-color-yellow-50, #fefae0)); }.hi-v4-alert--type-warning .hi-v4-alert__icon {color: var(--hi-v4-color-warning-500, var(--hi-v4-color-yellow-500, #fab007)); }.hi-v4-alert--type-success {background-color: var(--hi-v4-color-success-50, var(--hi-v4-color-green-50, #e5feeb)); }.hi-v4-alert--type-success .hi-v4-alert__icon {color: var(--hi-v4-color-success-500, var(--hi-v4-color-green-500, #14ca64)); }.hi-v4-alert--type-danger {background-color: var(--hi-v4-color-danger-50, var(--hi-v4-color-red-50, #fee9e5)); }.hi-v4-alert--type-danger .hi-v4-alert__icon {color: var(--hi-v4-color-danger-500, var(--hi-v4-color-red-500, #ff5959)); }"; | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "@hi-ui/alert", | ||
"version": "4.0.0-beta.14", | ||
"version": "4.0.0-beta.15", | ||
"description": "A sub-package for @hi-ui/hiui.", | ||
@@ -47,9 +47,9 @@ "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/icon-button": "^4.0.0-beta.9", | ||
"@hi-ui/icons": "^4.0.0-beta.10", | ||
"@hi-ui/use-latest": "^4.0.0-beta.4", | ||
"@hi-ui/use-timeout": "^4.0.0-beta.5" | ||
"@hi-ui/env": "^4.0.0-beta.1", | ||
"@hi-ui/icon-button": "^4.0.0-beta.10", | ||
"@hi-ui/icons": "^4.0.0-beta.11", | ||
"@hi-ui/use-latest": "^4.0.0-beta.5", | ||
"@hi-ui/use-timeout": "^4.0.0-beta.6" | ||
}, | ||
@@ -61,7 +61,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": "64cc3305632f0d88f852f4a95cba7c27ff388a2d" | ||
"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
23875