@spectrum-web-components/banner
Advanced tools
Comparing version 0.50.0-beta.1 to 1.0.0-rc.0
{ | ||
"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
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
82074
45
434
13
+ Added@spectrum-web-components/base@1.0.2(transitive)
- Removed@spectrum-web-components/base@0.50.0-beta.12(transitive)