@vaadin/vaadin-notification
Advanced tools
Comparing version 20.0.0-alpha1 to 20.0.0-alpha2
{ | ||
"name": "@vaadin/vaadin-notification", | ||
"version": "20.0.0-alpha1", | ||
"version": "20.0.0-alpha2", | ||
"description": "vaadin-notification", | ||
@@ -27,21 +27,13 @@ "main": "vaadin-notification.js", | ||
], | ||
"scripts": { | ||
"dist": "rimraf dist && polymer analyze vaadin-* > analysis.json && rollup -c rollup.config.js && cp analysis.json dist" | ||
}, | ||
"dependencies": { | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-element-mixin": "^20.0.0-alpha1", | ||
"@vaadin/vaadin-lumo-styles": "^20.0.0-alpha1", | ||
"@vaadin/vaadin-material-styles": "^20.0.0-alpha1", | ||
"@vaadin/vaadin-themable-mixin": "^20.0.0-alpha1" | ||
"@vaadin/vaadin-element-mixin": "^20.0.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "^20.0.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "^20.0.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "^20.0.0-alpha2" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.1.5", | ||
"@open-wc/rollup-plugin-html": "^1.2.5", | ||
"@open-wc/testing-helpers": "^1.8.12", | ||
"@polymer/iron-component-page": "^4.0.0", | ||
"@vaadin/vaadin-button": "^20.0.0-alpha1", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.34.1", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"@vaadin/vaadin-button": "^20.0.0-alpha2", | ||
"sinon": "^9.2.1" | ||
@@ -52,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "93c8e0ec03a178c6d74261261f985bd07f7cc79c" | ||
"gitHead": "c1598b30fb55cacd72ee4105e9f39cf56c9d5c79" | ||
} |
@@ -10,3 +10,3 @@ import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; | ||
/** | ||
* The container element for all notifications. | ||
* An element used internally by `<vaadin-notification>`. Not intended to be used separately. | ||
*/ | ||
@@ -21,14 +21,3 @@ declare class NotificationContainer extends ElementMixin(ThemableMixin(HTMLElement)) { | ||
/** | ||
* The container element for the notification | ||
* | ||
* ### Styling | ||
* | ||
* The following shadow DOM parts are available for styling: | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `overlay` | The notification container | ||
* `content` | The content of the notification | ||
* | ||
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki) | ||
* An element used internally by `<vaadin-notification>`. Not intended to be used separately. | ||
*/ | ||
@@ -83,6 +72,13 @@ declare class NotificationCard extends ThemableMixin(HTMLElement) {} | ||
* `<vaadin-notification>` uses `<vaadin-notification-card>` internal | ||
* themable component as the actual visible notification cards. See | ||
* the stylable parts the | ||
* [`<vaadin-notification-card>` API](https://vaadin.com/components/vaadin-notification/html-api/elements/Vaadin.NotificationCard). | ||
* themable component as the actual visible notification cards. | ||
* | ||
* The following shadow DOM parts of the `<vaadin-notification-card>` are available for styling: | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `overlay` | The notification container | ||
* `content` | The content of the notification | ||
* | ||
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki) | ||
* | ||
* Note: the `theme` attribute value set on `<vaadin-notification>` is | ||
@@ -89,0 +85,0 @@ * propagated to the internal `<vaadin-notification-card>`. |
@@ -14,3 +14,3 @@ /** | ||
/** | ||
* The container element for all notifications. | ||
* An element used internally by `<vaadin-notification>`. Not intended to be used separately. | ||
* | ||
@@ -20,2 +20,3 @@ * @extends HTMLElement | ||
* @mixes ThemableMixin | ||
* @private | ||
*/ | ||
@@ -151,17 +152,7 @@ class NotificationContainer extends ThemableMixin(ElementMixin(PolymerElement)) { | ||
/** | ||
* The container element for the notification | ||
* An element used internally by `<vaadin-notification>`. Not intended to be used separately. | ||
* | ||
* ### Styling | ||
* | ||
* The following shadow DOM parts are available for styling: | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `overlay` | The notification container | ||
* `content` | The content of the notification | ||
* | ||
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki) | ||
* | ||
* @extends HTMLElement | ||
* @mixes ThemableMixin | ||
* @private | ||
*/ | ||
@@ -202,3 +193,2 @@ class NotificationCard extends ThemableMixin(PolymerElement) { | ||
/** | ||
* | ||
* `<vaadin-notification>` is a Web Component providing accessible and customizable notifications (toasts). | ||
@@ -249,6 +239,13 @@ * The content of the notification can be populated in two ways: imperatively by using renderer callback function | ||
* `<vaadin-notification>` uses `<vaadin-notification-card>` internal | ||
* themable component as the actual visible notification cards. See | ||
* the stylable parts the | ||
* [`<vaadin-notification-card>` API](https://vaadin.com/components/vaadin-notification/html-api/elements/Vaadin.NotificationCard). | ||
* themable component as the actual visible notification cards. | ||
* | ||
* The following shadow DOM parts of the `<vaadin-notification-card>` are available for styling: | ||
* | ||
* Part name | Description | ||
* ----------------|---------------- | ||
* `overlay` | The notification container | ||
* `content` | The content of the notification | ||
* | ||
* See [ThemableMixin – how to apply styles for shadow parts](https://github.com/vaadin/vaadin-themable-mixin/wiki) | ||
* | ||
* Note: the `theme` attribute value set on `<vaadin-notification>` is | ||
@@ -255,0 +252,0 @@ * propagated to the internal `<vaadin-notification-card>`. |
4
46664
961