@vaadin/notification 24.6.0 → 24.7.0-alpha2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/notification",
3
- "version": "24.6.0",
3
+ "version": "24.7.0-alpha2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,17 +39,17 @@
39
39
  "dependencies": {
40
40
  "@open-wc/dedupe-mixin": "^1.3.0",
41
41
  "@polymer/polymer": "^3.0.0",
42
- "@vaadin/component-base": "~24.6.0",
43
- "@vaadin/lit-renderer": "~24.6.0",
44
- "@vaadin/overlay": "~24.6.0",
45
- "@vaadin/vaadin-lumo-styles": "~24.6.0",
46
- "@vaadin/vaadin-material-styles": "~24.6.0",
47
- "@vaadin/vaadin-themable-mixin": "~24.6.0",
42
+ "@vaadin/component-base": "24.7.0-alpha2",
43
+ "@vaadin/lit-renderer": "24.7.0-alpha2",
44
+ "@vaadin/overlay": "24.7.0-alpha2",
45
+ "@vaadin/vaadin-lumo-styles": "24.7.0-alpha2",
46
+ "@vaadin/vaadin-material-styles": "24.7.0-alpha2",
47
+ "@vaadin/vaadin-themable-mixin": "24.7.0-alpha2",
48
48
  "lit": "^3.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@vaadin/button": "~24.6.0",
52
- "@vaadin/chai-plugins": "~24.6.0",
51
+ "@vaadin/button": "24.7.0-alpha2",
52
+ "@vaadin/chai-plugins": "24.7.0-alpha2",
53
53
  "@vaadin/testing-helpers": "^1.0.0",
54
54
  "sinon": "^18.0.0"
55
55
  },
@@ -57,5 +57,5 @@
57
57
  "web-types.json",
58
58
  "web-types.lit.json"
59
59
  ],
60
- "gitHead": "c0b38aa981494d04fac64da35aa3890ad72551ea"
60
+ "gitHead": "e2523f9b4abc5a9586fb758166f823dc40c399dd"
61
61
  }
@@ -4,6 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { css, html, LitElement } from 'lit';
7
+ import { ifDefined } from 'lit/directives/if-defined.js';
7
8
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
9
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
9
10
  import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
@@ -105,7 +106,7 @@ class Notification extends NotificationMixin(ElementMixin(ThemableMixin(PolylitM
105
106
  render() {
106
107
  return html`
107
108
  <vaadin-notification-card
108
- theme="${this._theme || ''}"
109
+ theme="${ifDefined(this._theme)}"
109
110
  aria-live="${this.__computeAriaLive(this.assertive)}"
110
111
  ></vaadin-notification-card>
111
112
  `;
@@ -355,10 +355,6 @@ export const NotificationMixin = (superClass) =>
355
355
  return;
356
356
  }
357
357
 
358
- if (this._container.performUpdate) {
359
- this._container.performUpdate();
360
- }
361
-
362
358
  if (!this._container.shadowRoot.querySelector(`slot[name="${this.position}"]`)) {
363
359
  console.warn(`Invalid alignment parameter provided: position=${this.position}`);
364
360
  return;
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "24.6.0",
4
+ "version": "24.7.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/notification",
4
- "version": "24.6.0",
4
+ "version": "24.7.0-alpha2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {