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

@spectrum-web-components/button

Package Overview
Dependencies
Maintainers
5
Versions
299
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.5.2 to 0.6.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [0.6.0](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button@0.5.2...@spectrum-web-components/button@0.6.0) (2020-05-12)
### Features
- add dialog, dialog-wrapped, and underlay elements ([3df9050](https://github.com/adobe/spectrum-web-components/commit/3df9050f65bd3a95f9b986aa728cfc1a2eaee432))
## [0.5.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/button@0.5.1...@spectrum-web-components/button@0.5.2) (2020-05-08)

@@ -8,0 +14,0 @@

8

custom-elements.json

@@ -12,3 +12,3 @@ {

"description": "The visual variant to apply to this button.",
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"",
"type": "ButtonVariants",
"default": "\"cta\""

@@ -34,3 +34,3 @@ },

"description": "The visual variant to apply to this button.",
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"",
"type": "ButtonVariants",
"default": "\"cta\""

@@ -252,3 +252,3 @@ },

"description": "The visual variant to apply to this button.",
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"",
"type": "ButtonVariants",
"default": "\"cta\""

@@ -274,3 +274,3 @@ },

"description": "The visual variant to apply to this button.",
"type": "\"cta\" | \"overBackground\" | \"primary\" | \"secondary\" | \"negative\"",
"type": "ButtonVariants",
"default": "\"cta\""

@@ -277,0 +277,0 @@ },

import { CSSResultArray } from 'lit-element';
import { ButtonBase } from './button-base.js';
export declare type ButtonVariants = 'cta' | 'overBackground' | 'primary' | 'secondary' | 'negative';
/**

@@ -12,3 +13,3 @@ * A Spectrum button control.

*/
variant: 'cta' | 'overBackground' | 'primary' | 'secondary' | 'negative';
variant: ButtonVariants;
/**

@@ -15,0 +16,0 @@ * There is a warning in place for this control

@@ -21,3 +21,3 @@ {

],
"version": "0.5.2",
"version": "0.6.0",
"description": "",

@@ -54,3 +54,3 @@ "main": "lib/index.js",

},
"gitHead": "4068602ee6a355db24878fad4762815eacc0a730"
"gitHead": "6cbe373247261cc44ccfdd63f9d26244f06ea217"
}

@@ -17,2 +17,9 @@ /*

export type ButtonVariants =
| 'cta'
| 'overBackground'
| 'primary'
| 'secondary'
| 'negative';
/**

@@ -30,8 +37,3 @@ * A Spectrum button control.

@property({ reflect: true })
public variant:
| 'cta'
| 'overBackground'
| 'primary'
| 'secondary'
| 'negative' = 'cta';
public variant: ButtonVariants = 'cta';

@@ -38,0 +40,0 @@ /**

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