@material/mwc-snackbar
Advanced tools
Comparing version 0.26.0-canary.4abe237e.0 to 0.26.0-canary.6278ee5d.0
@@ -6,5 +6,5 @@ /** | ||
*/ | ||
import { TemplateResult } from 'lit-html'; | ||
import { AsyncDirective } from 'lit-html/async-directive.js'; | ||
import { ChildPart, DirectiveParameters, PartInfo } from 'lit-html/directive.js'; | ||
import { TemplateResult } from 'lit'; | ||
import { AsyncDirective } from 'lit/async-directive.js'; | ||
import { ChildPart, DirectiveParameters, PartInfo } from 'lit/directive.js'; | ||
/** | ||
@@ -37,3 +37,3 @@ * A lit directive implementation of @material/mdc-snackbar/util.ts#announce, | ||
} | ||
export declare const accessibleSnackbarLabel: (labelText: string, isOpen: boolean) => import("lit-html/directive.js").DirectiveResult<typeof AccessibleSnackbarLabel>; | ||
export declare const accessibleSnackbarLabel: (labelText: string, isOpen: boolean) => import("lit-html/directive").DirectiveResult<typeof AccessibleSnackbarLabel>; | ||
export {}; |
@@ -9,5 +9,5 @@ /** | ||
import MDCSnackbarFoundation from '@material/snackbar/foundation'; | ||
import { html, render } from 'lit-html'; | ||
import { AsyncDirective } from 'lit-html/async-directive.js'; | ||
import { directive, PartType } from 'lit-html/directive.js'; | ||
import { html, render } from 'lit'; | ||
import { AsyncDirective } from 'lit/async-directive.js'; | ||
import { directive, PartType } from 'lit/directive.js'; | ||
const { ARIA_LIVE_DELAY_MS } = MDCSnackbarFoundation.numbers; | ||
@@ -14,0 +14,0 @@ /** |
@@ -12,4 +12,5 @@ /** | ||
import MDCSnackbarFoundation from '@material/snackbar/foundation'; | ||
import { html, property, query } from 'lit-element'; | ||
import { classMap } from 'lit-html/directives/class-map.js'; | ||
import { html } from 'lit'; | ||
import { property, query } from 'lit/decorators.js'; | ||
import { classMap } from 'lit/directives/class-map.js'; | ||
import { accessibleSnackbarLabel } from './accessible-snackbar-label-directive'; | ||
@@ -16,0 +17,0 @@ const { OPENING_EVENT, OPENED_EVENT, CLOSING_EVENT, CLOSED_EVENT, } = MDCSnackbarFoundation.strings; |
@@ -13,3 +13,3 @@ /** | ||
export declare class Snackbar extends SnackbarBase { | ||
static styles: import("lit-element").CSSResult[]; | ||
static styles: import("lit").CSSResult[]; | ||
} |
@@ -9,3 +9,3 @@ /** | ||
// tslint:disable:strip-private-property-underscore | ||
import { customElement } from 'lit-element'; | ||
import { customElement } from 'lit/decorators.js'; | ||
import { SnackbarBase } from './mwc-snackbar-base'; | ||
@@ -12,0 +12,0 @@ import { styles } from './mwc-snackbar.css'; |
{ | ||
"name": "@material/mwc-snackbar", | ||
"version": "0.26.0-canary.4abe237e.0", | ||
"version": "0.26.0-canary.6278ee5d.0", | ||
"description": "Material Design snackbar web component", | ||
@@ -19,6 +19,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/mwc-base": "0.26.0-canary.4abe237e.0", | ||
"@material/mwc-base": "0.26.0-canary.6278ee5d.0", | ||
"@material/snackbar": "=13.0.0-canary.c79aa0cdd.0", | ||
"lit-element": "^3.0.0", | ||
"lit-html": "^2.0.0", | ||
"lit": "^2.0.0", | ||
"tslib": "^2.0.1" | ||
@@ -36,3 +35,3 @@ }, | ||
}, | ||
"gitHead": "c0c828f0240aea9472d319d4a1bb77871c960873" | ||
"gitHead": "85137ac5f9a59dd64512524f380c65b268a2344f" | ||
} |
@@ -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/c0c828f0240aea9472d319d4a1bb77871c960873/packages/snackbar/images/action_button.png) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/action_button.png) | ||
@@ -34,3 +34,3 @@ [Material Design Guidelines: Snackbars](https://material.io/design/components/snackbars.html) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/c0c828f0240aea9472d319d4a1bb77871c960873/packages/snackbar/images/standard.png) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/standard.png) | ||
@@ -51,3 +51,3 @@ ```html | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/c0c828f0240aea9472d319d4a1bb77871c960873/packages/snackbar/images/action_and_dismiss.png) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/action_and_dismiss.png) | ||
@@ -63,3 +63,3 @@ ```html | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/c0c828f0240aea9472d319d4a1bb77871c960873/packages/snackbar/images/custom_action_color.png) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/custom_action_color.png) | ||
@@ -79,3 +79,3 @@ ```css | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/c0c828f0240aea9472d319d4a1bb77871c960873/packages/snackbar/images/stacked.png) | ||
![](https://raw.githubusercontent.com/material-components/material-components-web-components/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/stacked.png) | ||
@@ -129,3 +129,3 @@ ### Leading | ||
| ----------------------------- | ------- |------------ | ||
| `--mdc-snackbar-action-color` | ![](https://raw.githubusercontent.com/material-components/material-components-web-components/c0c828f0240aea9472d319d4a1bb77871c960873/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/85137ac5f9a59dd64512524f380c65b268a2344f/packages/snackbar/images/color_bb86fc.png) `#bb86fc` | Color of the action button text. | ||
@@ -132,0 +132,0 @@ #### Global CSS Custom Properties |
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
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
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
68053
4
407
1688
+ Addedlit@^2.0.0
+ Added@material/mwc-base@0.26.0-canary.6278ee5d.0(transitive)
+ Addedlit@2.8.0(transitive)
- Removedlit-element@^3.0.0
- Removedlit-html@^2.0.0
- Removed@material/mwc-base@0.26.0-canary.4abe237e.0(transitive)