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

@spectrum-web-components/banner

Package Overview
Dependencies
Maintainers
0
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/banner - npm Package Compare versions

Comparing version 0.50.0-beta.1 to 1.0.0-rc.0

src/banner-overrides.css.d.ts

7

package.json
{
"name": "@spectrum-web-components/banner",
"version": "0.50.0-beta.1",
"version": "1.0.0-rc.0",
"publishConfig": {

@@ -32,2 +32,3 @@ "access": "public"

},
"./src/banner-overrides.css.js": "./src/banner-overrides.css.js",
"./src/banner.css.js": "./src/banner.css.js",

@@ -61,3 +62,3 @@ "./src/index.js": {

"dependencies": {
"@spectrum-web-components/base": "^0.50.0-beta.1"
"@spectrum-web-components/base": "^1.0.0-rc.0"
},

@@ -74,3 +75,3 @@ "devDependencies": {

],
"gitHead": "b0ffab750c03ed7c7ad4436954c437b82235b403"
"gitHead": "24a3e0d1d0ead33c41454223b290a258b75d3111"
}
"use strict";
import { css } from "@spectrum-web-components/base";
const styles = css`
:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}
:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}
`;
export default styles;
//# sourceMappingURL=banner.css.dev.js.map
"use strict";import{css as r}from"@spectrum-web-components/base";const e=r`
:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}
:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}:host{border-radius:var(--spectrum-banner-border-radius,var(--spectrum-global-dimension-static-size-100));padding-top:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-bottom:var(--spectrum-banner-padding-y,var(--spectrum-global-dimension-static-size-50));padding-left:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));padding-right:var(--spectrum-banner-padding-x,var(--spectrum-global-dimension-static-size-100));font-size:var(--spectrum-banner-text-size,var(--spectrum-global-dimension-font-size-75));line-height:var(--spectrum-banner-text-line-height,var(--spectrum-alias-heading-text-line-height));display:inline-block}#header{font-weight:700}:host([dir=ltr][corner]){right:-10px}:host([dir=rtl][corner]){left:-10px}:host([corner]){position:absolute;top:-10px}:host{color:var(--spectrum-banner-text-color,var(--spectrum-global-color-static-white))}:host([type=info]){background-color:var(--spectrum-banner-info-background-color,var(--spectrum-semantic-informative-color-default))}:host([type=warning]){background-color:var(--spectrum-banner-warning-background-color,var(--spectrum-semantic-notice-color-default))}:host([type=error]){background-color:var(--spectrum-banner-error-background-color,var(--spectrum-semantic-negative-color-default))}
`;export default e;
//# sourceMappingURL=banner.css.js.map

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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