Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@umbraco-ui/uui-badge

Package Overview
Dependencies
Maintainers
7
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umbraco-ui/uui-badge - npm Package Compare versions

Comparing version 1.3.0-rc.0 to 1.3.0-rc.1

20

lib/index.js

@@ -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,var(--uui-size-4)));
font-size: var(--uui-badge-font-size, var(--uui-type-small-size,12px));
font-weight: 900;

@@ -55,19 +55,19 @@ line-height: 1;

:host {
--color: var(--uui-color-default,var(--uui-palette-space-cadet));
--color-standalone: var(--uui-color-default-standalone,var(--uui-palette-space-cadet-dark));
--color: var(--uui-color-default,#1b264f);
--color-standalone: var(--uui-color-default-standalone,rgb(28, 35, 59));
--color-contrast: var(--uui-color-default-contrast,#fff);
}
:host([color='positive']) {
--color: var(--uui-color-positive,var(--uui-palette-jungle-green));
--color-standalone: var(--uui-color-positive-standalone,var(--uui-palette-jungle-green-dark));
--color: var(--uui-color-positive,#25aa60);
--color-standalone: var(--uui-color-positive-standalone,rgb(38, 156, 91));
--color-contrast: var(--uui-color-positive-contrast,#fff);
}
:host([color='warning']) {
--color: var(--uui-color-warning,var(--uui-palette-sunglow));
--color-standalone: var(--uui-color-warning-standalone,var(--uui-palette-sunglow-dark));
--color: var(--uui-color-warning,#fad634);
--color-standalone: var(--uui-color-warning-standalone,rgb(224, 193, 51));
--color-contrast: var(--uui-color-warning-contrast,#000);
}
:host([color='danger']) {
--color: var(--uui-color-danger,var(--uui-palette-maroon-flush));
--color-standalone: var(--uui-color-danger-standalone,var(--uui-palette-maroon-flush-dark));
--color: var(--uui-color-danger,#d42054);
--color-standalone: var(--uui-color-danger-standalone,rgb(191, 33, 78));
--color-contrast: var(--uui-color-danger-contrast,white);

@@ -87,3 +87,3 @@ }

:host([look='secondary']) {
background-color: var(--uui-color-surface-alt,var(--uui-palette-sand));
background-color: var(--uui-color-surface-alt,#f3f3f5);
color: var(--color-standalone);

@@ -90,0 +90,0 @@ border-color: transparent;

{
"name": "@umbraco-ui/uui-badge",
"version": "1.3.0-rc.0",
"version": "1.3.0-rc.1",
"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.3.0-rc.0"
"@umbraco-ui/uui-base": "1.3.0-rc.1"
},
"scripts": {
"build": "npm run analyze && tsc --build --force && rollup -c rollup.config.js",
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js custom-elements.json",
"clean": "tsc --build --clean && rimraf -g dist lib/*.js lib/**/*.js *.tgz lib/**/*.d.ts custom-elements.json",
"analyze": "web-component-analyzer **/*.element.ts --outFile custom-elements.json"

@@ -44,3 +44,3 @@ },

},
"gitHead": "45c3824056586d9817efb3f61dc0bef5478747f0"
"gitHead": "0c517175884931aa0bc0d8f05974852a7704626e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc