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

@material/mwc-snackbar

Package Overview
Dependencies
Maintainers
19
Versions
709
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-snackbar - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

5

accessible-snackbar-label-directive.d.ts

@@ -1,2 +0,2 @@

import {NodePart} from 'lit-html';
import { NodePart } from 'lit-html';
/**

@@ -21,3 +21,2 @@ * A lit directive implementation of @material/mdc-snackbar/util.ts#announce,

*/
export declare const accessibleSnackbarLabel: (
labelText: string, isOpen: boolean) => (part: NodePart) => void;
export declare const accessibleSnackbarLabel: (labelText: string, isOpen: boolean) => (part: NodePart) => void;

8

package.json
{
"name": "@material/mwc-snackbar",
"version": "0.11.1",
"version": "0.12.0",
"description": "",

@@ -18,4 +18,4 @@ "main": "mwc-snackbar.js",

"dependencies": {
"@material/mwc-base": "^0.11.1",
"@material/snackbar": "=5.0.0-canary.5729943ba.0",
"@material/mwc-base": "^0.12.0",
"@material/snackbar": "=5.0.0-canary.1c494e567.0",
"lit-element": "^2.2.1",

@@ -28,3 +28,3 @@ "lit-html": "^1.1.2",

},
"gitHead": "395c02244bf15c2658cb110eb405ff2e4c0477fc"
"gitHead": "4c0dc16b89066f24fca4efcf78c36c87657f0a03"
}

@@ -9,3 +9,3 @@ # `<mwc-snackbar>` [![Published on npm](https://img.shields.io/npm/v/@material/mwc-snackbar.svg)](https://www.npmjs.com/package/@material/mwc-snackbar)

![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/action_button.png)
![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/action_button.png)

@@ -32,3 +32,3 @@ [Material Design Guidelines: Snackbars](https://material.io/design/components/snackbars.html)

![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/standard.png)
![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/standard.png)

@@ -49,3 +49,3 @@ ```html

![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/action_and_dismiss.png)
![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/action_and_dismiss.png)

@@ -61,3 +61,3 @@ ```html

![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/custom_action_color.png)
![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/custom_action_color.png)

@@ -77,3 +77,3 @@ ```css

![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/stacked.png)
![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/stacked.png)

@@ -103,3 +103,3 @@ ### Leading

| `closeOnEscape` | `boolean` | Whether the snackbar closes when it is focused and the user presses the ESC key. Defaults to `true`.
| `labelText` | `string` | The text content the label element.
| `labelText` | `string` | The text content of the label element.
| `stacked` | `boolean` | Enables the *stacked* layout (see above).

@@ -128,3 +128,3 @@ | `leading` | `boolean` | Enables the *leading* layout (see above).

| ----------------------------- | ------- |------------
| `--mdc-snackbar-action-color` | ![](https://raw.githubusercontent.com/material-components/material-components-web-components/395c02244bf15c2658cb110eb405ff2e4c0477fc/packages/snackbar/images/color_bb86fc.png) `#bb86fc` | Color of the action button text.
| `--mdc-snackbar-action-color` | ![](https://raw.githubusercontent.com/material-components/material-components-web-components/4c0dc16b89066f24fca4efcf78c36c87657f0a03/packages/snackbar/images/color_bb86fc.png) `#bb86fc` | Color of the action button text.

@@ -131,0 +131,0 @@ ## Additional references

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