@vaadin/vaadin-select
Advanced tools
Comparing version 21.0.0-alpha10 to 21.0.0-alpha11
{ | ||
"name": "@vaadin/vaadin-select", | ||
"version": "21.0.0-alpha10", | ||
"version": "21.0.0-alpha11", | ||
"description": "vaadin-select", | ||
@@ -31,12 +31,12 @@ "main": "vaadin-select.js", | ||
"@polymer/polymer": "^3.2.0", | ||
"@vaadin/vaadin-control-state-mixin": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-element-mixin": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-item": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-list-box": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-list-mixin": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-lumo-styles": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-material-styles": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-overlay": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-text-field": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-themable-mixin": "^21.0.0-alpha10" | ||
"@vaadin/vaadin-control-state-mixin": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-element-mixin": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-item": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-list-box": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-list-mixin": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-lumo-styles": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-material-styles": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-overlay": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-text-field": "^21.0.0-alpha11", | ||
"@vaadin/vaadin-themable-mixin": "^21.0.0-alpha11" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
"@vaadin/testing-helpers": "^0.2.1", | ||
"@vaadin/vaadin-template-renderer": "^21.0.0-alpha10", | ||
"@vaadin/vaadin-template-renderer": "^21.0.0-alpha11", | ||
"lit": "^2.0.0-rc.1", | ||
@@ -54,3 +54,3 @@ "sinon": "^9.2.0" | ||
}, | ||
"gitHead": "9e75b3416edc041e35720c29a842423a1da66e60" | ||
"gitHead": "56048b90b53071c3dcd29c14420d3460c5fd14b8" | ||
} |
@@ -172,3 +172,13 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
/** | ||
* Requests an update for the content of the select. | ||
* 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. | ||
*/ | ||
@@ -175,0 +185,0 @@ render(): void; |
@@ -176,3 +176,3 @@ /** | ||
static get version() { | ||
return '21.0.0-alpha10'; | ||
return '21.0.0-alpha11'; | ||
} | ||
@@ -369,6 +369,10 @@ | ||
/** | ||
* Manually invoke existing renderer. | ||
* Requests an update for the content of the select. | ||
* 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. | ||
*/ | ||
render() { | ||
this._overlayElement.render(); | ||
requestContentUpdate() { | ||
this._overlayElement.requestContentUpdate(); | ||
if (this._menuElement && this._menuElement.items) { | ||
@@ -379,2 +383,13 @@ this._updateSelectedItem(this.value, this._menuElement.items); | ||
/** | ||
* Manually invoke existing renderer. | ||
* | ||
* @deprecated Since Vaadin 21, `render()` is deprecated. Please use `requestContentUpdate()` instead. | ||
*/ | ||
render() { | ||
console.warn('WARNING: Since Vaadin 21, render() is deprecated. Please use requestContentUpdate() instead.'); | ||
this.requestContentUpdate(); | ||
} | ||
/** @private */ | ||
@@ -388,3 +403,3 @@ _rendererChanged(renderer, overlay) { | ||
this.render(); | ||
this.requestContentUpdate(); | ||
@@ -391,0 +406,0 @@ if (renderer) { |
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
52858
1044