@vaadin/vaadin-dialog
Advanced tools
Comparing version 21.0.0-alpha9 to 21.0.0-beta1
{ | ||
"name": "@vaadin/vaadin-dialog", | ||
"version": "21.0.0-alpha9", | ||
"version": "21.0.0-beta1", | ||
"description": "vaadin-dialog", | ||
@@ -30,7 +30,7 @@ "main": "vaadin-dialog.js", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/vaadin-element-mixin": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-lumo-styles": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-material-styles": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-overlay": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-themable-mixin": "^21.0.0-alpha9" | ||
"@vaadin/vaadin-element-mixin": "21.0.0-beta1", | ||
"@vaadin/vaadin-lumo-styles": "21.0.0-beta1", | ||
"@vaadin/vaadin-material-styles": "21.0.0-beta1", | ||
"@vaadin/vaadin-overlay": "21.0.0-beta1", | ||
"@vaadin/vaadin-themable-mixin": "21.0.0-beta1" | ||
}, | ||
@@ -40,4 +40,4 @@ "devDependencies": { | ||
"@vaadin/testing-helpers": "^0.2.1", | ||
"@vaadin/vaadin-template-renderer": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-text-field": "^21.0.0-alpha9", | ||
"@vaadin/vaadin-template-renderer": "21.0.0-beta1", | ||
"@vaadin/vaadin-text-field": "21.0.0-beta1", | ||
"sinon": "^9.2.1" | ||
@@ -48,3 +48,3 @@ }, | ||
}, | ||
"gitHead": "72059f699ad36f58e1bb0a40aa7d3a411587e22b" | ||
"gitHead": "7d08834d03228105c2ea72213a385ddf35125f79" | ||
} |
@@ -97,3 +97,13 @@ import { ElementMixin } from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; | ||
/** | ||
* Requests an update for the content of the dialog. | ||
* While performing the update, it invokes the renderer passed in the `renderer` property. | ||
* | ||
* It is not guaranteed that the update happens immediately (synchronously) after it is requested. | ||
*/ | ||
requestContentUpdate(): void; | ||
/** | ||
* Manually invoke existing renderer. | ||
* | ||
* @deprecated Since Vaadin 21, `render()` is deprecated. Please use `requestContentUpdate()` instead. | ||
*/ | ||
@@ -100,0 +110,0 @@ render(): void; |
@@ -205,3 +205,3 @@ /** | ||
static get version() { | ||
return '21.0.0-alpha9'; | ||
return '21.0.0-beta1'; | ||
} | ||
@@ -287,6 +287,20 @@ | ||
/** | ||
* Requests an update for the content of the dialog. | ||
* While performing the update, it invokes the renderer passed in the `renderer` property. | ||
* | ||
* It is not guaranteed that the update happens immediately (synchronously) after it is requested. | ||
*/ | ||
requestContentUpdate() { | ||
this.$.overlay.requestContentUpdate(); | ||
} | ||
/** | ||
* Manually invoke existing renderer. | ||
* | ||
* @deprecated Since Vaadin 21, `render()` is deprecated. Please use `requestContentUpdate()` instead. | ||
*/ | ||
render() { | ||
this.$.overlay.render(); | ||
console.warn('WARNING: Since Vaadin 21, render() is deprecated. Please use requestContentUpdate() instead.'); | ||
this.requestContentUpdate(); | ||
} | ||
@@ -293,0 +307,0 @@ |
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
48568
967
+ Added@vaadin/vaadin-element-mixin@21.0.0-beta1(transitive)
+ Added@vaadin/vaadin-icon@21.0.0-beta1(transitive)
+ Added@vaadin/vaadin-lumo-styles@21.0.0-beta1(transitive)
+ Added@vaadin/vaadin-material-styles@21.0.0-beta1(transitive)
+ Added@vaadin/vaadin-overlay@21.0.0-beta1(transitive)
+ Added@vaadin/vaadin-themable-mixin@21.0.0-beta1(transitive)
- Removed@vaadin/vaadin-element-mixin@21.0.5(transitive)
- Removed@vaadin/vaadin-icon@21.0.5(transitive)
- Removed@vaadin/vaadin-lumo-styles@21.0.5(transitive)
- Removed@vaadin/vaadin-material-styles@21.0.5(transitive)
- Removed@vaadin/vaadin-overlay@21.0.5(transitive)
- Removed@vaadin/vaadin-themable-mixin@21.0.5(transitive)