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

@material/button

Package Overview
Dependencies
Maintainers
10
Versions
1701
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/button - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

_mixins.scss

4

package.json
{
"name": "@material/button",
"description": "The Material Components for the web button component",
"version": "0.4.1",
"version": "0.5.0",
"license": "Apache 2.0",

@@ -17,3 +17,3 @@ "keywords": [

"@material/elevation": "^0.1.11",
"@material/ripple": "^0.8.4",
"@material/ripple": "^0.8.5",
"@material/theme": "^0.2.0",

@@ -20,0 +20,0 @@ "@material/typography": "^0.3.0"

@@ -66,2 +66,10 @@ <!--docs:

#### Unelevated Button
```html
<button class="mdc-button mdc-button--unelevated">
Unelevated button
</button>
```
### Button state

@@ -84,5 +92,9 @@

MDC Buttons have a default baseline color, but it is also possible to adopt the
application's primary or accent color by adding the `mdc-button--primary` or
application's primary or secondary color by adding the `mdc-button--primary` or
`mdc-button--accent` modifier.
> Note: "Secondary" was previously called "accent" in the Material spec. See
[mdc-theme](https://github.com/material-components/material-components-web/tree/master/packages/mdc-theme)
for details.
```html

@@ -129,6 +141,7 @@ <button class="mdc-button mdc-button--accent">

| --------------------- | ------------------------------------------------------- |
| `mdc-button--raised` | A contained button that is elevated upon the surface. |
| `mdc-button--unelevated` | A contained button that is flush with the surface. |
| `mdc-button--dense` | Compresses the button text to make it slightly smaller. |
| `mdc-button--raised` | Elevates the button and creates a colored background. |
| `mdc-button--compact` | Reduces the amount of horizontal padding in the button. |
| `mdc-button--primary` | Colors the button with the primary color. |
| `mdc-button--accent` | Colors the button with the secondary color. |

Sorry, the diff of this file is not supported yet

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