@umbraco-ui/uui-badge
Advanced tools
Comparing version 1.2.1 to 1.3.0-rc.0
@@ -39,3 +39,3 @@ import { defineElement } from '@umbraco-ui/uui-base/lib/registration'; | ||
text-align: center; | ||
font-size: var(--uui-badge-font-size, var(--uui-type-small-size,12px)); | ||
font-size: var(--uui-badge-font-size, var(--uui-type-small-size,var(--uui-size-4))); | ||
font-weight: 900; | ||
@@ -55,19 +55,19 @@ line-height: 1; | ||
:host { | ||
--color: var(--uui-color-default,#1b264f); | ||
--color-standalone: var(--uui-color-default-standalone,rgb(28, 35, 59)); | ||
--color: var(--uui-color-default,var(--uui-palette-space-cadet)); | ||
--color-standalone: var(--uui-color-default-standalone,var(--uui-palette-space-cadet-dark)); | ||
--color-contrast: var(--uui-color-default-contrast,#fff); | ||
} | ||
:host([color='positive']) { | ||
--color: var(--uui-color-positive,#25aa60); | ||
--color-standalone: var(--uui-color-positive-standalone,rgb(38, 156, 91)); | ||
--color: var(--uui-color-positive,var(--uui-palette-jungle-green)); | ||
--color-standalone: var(--uui-color-positive-standalone,var(--uui-palette-jungle-green-dark)); | ||
--color-contrast: var(--uui-color-positive-contrast,#fff); | ||
} | ||
:host([color='warning']) { | ||
--color: var(--uui-color-warning,#fad634); | ||
--color-standalone: var(--uui-color-warning-standalone,rgb(224, 193, 51)); | ||
--color: var(--uui-color-warning,var(--uui-palette-sunglow)); | ||
--color-standalone: var(--uui-color-warning-standalone,var(--uui-palette-sunglow-dark)); | ||
--color-contrast: var(--uui-color-warning-contrast,#000); | ||
} | ||
:host([color='danger']) { | ||
--color: var(--uui-color-danger,#d42054); | ||
--color-standalone: var(--uui-color-danger-standalone,rgb(191, 33, 78)); | ||
--color: var(--uui-color-danger,var(--uui-palette-maroon-flush)); | ||
--color-standalone: var(--uui-color-danger-standalone,var(--uui-palette-maroon-flush-dark)); | ||
--color-contrast: var(--uui-color-danger-contrast,white); | ||
@@ -87,3 +87,3 @@ } | ||
:host([look='secondary']) { | ||
background-color: var(--uui-color-surface-alt,#f3f3f5); | ||
background-color: var(--uui-color-surface-alt,var(--uui-palette-sand)); | ||
color: var(--color-standalone); | ||
@@ -90,0 +90,0 @@ border-color: transparent; |
{ | ||
"name": "@umbraco-ui/uui-badge", | ||
"version": "1.2.1", | ||
"version": "1.3.0-rc.0", | ||
"license": "MIT", | ||
@@ -33,7 +33,7 @@ "description": "A badge to notify that there is something that requires attention of the user.", | ||
"dependencies": { | ||
"@umbraco-ui/uui-base": "1.2.1" | ||
"@umbraco-ui/uui-base": "1.3.0-rc.0" | ||
}, | ||
"scripts": { | ||
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js", | ||
"clean": "tsc --build --clean && rimraf dist lib/*.js lib/**/*.js custom-elements.json", | ||
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js custom-elements.json", | ||
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "94eb22bee5ff21bac6fadbd78653671279bebe36" | ||
"gitHead": "45c3824056586d9817efb3f61dc0bef5478747f0" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
11999
2
+ Added@umbraco-ui/uui-base@1.3.0-rc.0(transitive)
- Removed@umbraco-ui/uui-base@1.2.1(transitive)