@vaadin/vaadin-select 2.4.1 → 2.4.2

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/README.md CHANGED
@@ -1,21 +1,18 @@
1
- [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-select)](https://www.npmjs.com/package/@vaadin/vaadin-select)
2
- [![Bower version](https://badgen.net/github/release/vaadin/vaadin-select)](https://github.com/vaadin/vaadin-select/releases)
3
- [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-select)
4
- [![Build Status](https://travis-ci.org/vaadin/vaadin-select.svg?branch=master)](https://travis-ci.org/vaadin/vaadin-select)
5
- [![Coverage Status](https://coveralls.io/repos/github/vaadin/vaadin-select/badge.svg?branch=master)](https://coveralls.io/github/vaadin/vaadin-select?branch=master)
6
- [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vaadin/web-components?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
1
+ # <vaadin-select>
7
2
 
8
- [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-select)
9
- [![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/vaadinvaadin-select.svg)](https://vaadin.com/directory/component/vaadinvaadin-select)
3
+ > ⚠️ Starting from Vaadin 20, the source code and issues for this component are migrated to the [`vaadin/web-components`](https://github.com/vaadin/web-components/tree/master/packages/vaadin-select) monorepository.
4
+ > This repository contains the source code and releases of `<vaadin-select>` for the Vaadin versions 10 to 19.
10
5
 
11
- # &lt;vaadin-select&gt;
6
+ [&lt;vaadin-select&gt;](https://vaadin.com/components/vaadin-select) is a Web Component similar to a native browser select element, part of the [Vaadin components](https://vaadin.com/components).
12
7
 
13
- [Live Demo ↗](https://cdn.vaadin.com/vaadin-select/2.0.0-beta1/demo)
8
+ [Live Demo ↗](https://vaadin.com/components/vaadin-select/html-examples)
14
9
  |
15
- [API documentation ↗](https://cdn.vaadin.com/vaadin-select/2.0.0-beta1/#/elements/vaadin-select)
10
+ [API documentation ↗](https://vaadin.com/components/vaadin-select/html-api)
16
11
 
17
-
18
- [&lt;vaadin-select&gt;](https://vaadin.com/components/vaadin-select) is a Web Component similar to a native browser select element, part of the [Vaadin components](https://vaadin.com/components).
12
+ [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-select)](https://www.npmjs.com/package/@vaadin/vaadin-select)
13
+ [![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/vaadin/vaadin-select)
14
+ [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-select)
15
+ [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
19
16
 
20
17
  <!--
21
18
  ```
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "repository": "vaadin/vaadin-select",
11
11
  "homepage": "https://vaadin.com/components",
12
12
  "name": "@vaadin/vaadin-select",
13
- "version": "2.4.1",
13
+ "version": "2.4.2",
14
14
  "main": "vaadin-select.js",
15
15
  "author": "Vaadin Ltd",
16
16
  "license": "Apache-2.0",
@@ -178,7 +178,7 @@ class SelectElement extends
178
178
  }
179
179
 
180
180
  static get version() {
181
- return '2.4.0';
181
+ return '2.4.2';
182
182
  }
183
183
 
184
184
  static get properties() {
@@ -562,13 +562,9 @@ class SelectElement extends
562
562
  this._setPosition();
563
563
  window.addEventListener('scroll', this._boundSetPosition, true);
564
564
  } else if (wasOpened) {
565
- if (this._phone) {
566
- this._setFocused(false);
567
- } else {
568
- this.focusElement.focus();
569
- if (this._openedWithFocusRing) {
570
- this.focusElement.setAttribute('focus-ring', '');
571
- }
565
+ this.focusElement.focus();
566
+ if (this._openedWithFocusRing) {
567
+ this.focusElement.setAttribute('focus-ring', '');
572
568
  }
573
569
  this.validate();
574
570
  window.removeEventListener('scroll', this._boundSetPosition, true);