@vaadin/vaadin-select 22.0.0-alpha9 → 22.0.0

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.
Files changed (2) hide show
  1. package/README.md +7 -68
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,73 +1,11 @@
1
- # <vaadin-select>
1
+ # @vaadin/vaadin-select
2
2
 
3
- [Live Demo ↗](https://vaadin.com/components/vaadin-select/html-examples)
4
- |
5
- [API documentation ↗](https://vaadin.com/components/vaadin-select/html-api)
3
+ > ⚠️  Starting from Vaadin 22, this package is deprecated.
4
+ > Please use [`@vaadin/select`](https://www.npmjs.com/package/@vaadin/select) instead.
6
5
 
7
- [<vaadin-select>](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).
6
+ A web component for selecting a single value from a list of options presented in an overlay.
8
7
 
9
- [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-select)](https://www.npmjs.com/package/@vaadin/vaadin-select)
10
- [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-select)
11
- [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
12
-
13
- ```html
14
- <vaadin-select></vaadin-select>
15
- <script>
16
- document.querySelector('vaadin-select').renderer = (root) => {
17
- if (root.firstElementChild) {
18
- return;
19
- }
20
-
21
- // Note that innerHTML is only used for demo purposes here!
22
- // Prefer using a templating library instead.
23
- root.innerHTML = `
24
- <vaadin-list-box>
25
- <vaadin-item>Option one</vaadin-item>
26
- <vaadin-item>Option two</vaadin-item>
27
- <vaadin-item>Option three</vaadin-item>
28
- <hr>
29
- <vaadin-item disabled>Option four</vaadin-item>
30
- </vaadin-list-box>
31
- `;
32
- };
33
- </script>
34
- ```
35
-
36
- [<img src="https://raw.githubusercontent.com/vaadin/vaadin-select/master/screenshot.gif" width="220" alt="Screenshot of vaadin-select">](https://vaadin.com/components/vaadin-select)
37
-
38
- ## Installation
39
-
40
- Install `vaadin-select`:
41
-
42
- ```sh
43
- npm i @vaadin/vaadin-select --save
44
- ```
45
-
46
- Once installed, import it in your application:
47
-
48
- ```js
49
- import '@vaadin/vaadin-select/vaadin-select.js';
50
- ```
51
-
52
- ## Getting started
53
-
54
- Vaadin components use the Lumo theme by default.
55
-
56
- To use the Material theme, import the correspondent file from the `theme/material` folder.
57
-
58
- ## Entry points
59
-
60
- - The component with the Lumo theme:
61
-
62
- `theme/lumo/vaadin-select.js`
63
-
64
- - The component with the Material theme:
65
-
66
- - `theme/material/vaadin-select.js`
67
-
68
- - Alias for `theme/lumo/vaadin-select.js`:
69
-
70
- - `vaadin-select.js`
8
+ [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/select)
71
9
 
72
10
  ## Contributing
73
11
 
@@ -77,4 +15,5 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
77
15
 
78
16
  Apache License 2.0
79
17
 
80
- Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
18
+ Vaadin collects usage statistics at development time to improve this product..
19
+ For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/vaadin-select",
3
- "version": "22.0.0-alpha9",
3
+ "version": "22.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,7 +32,7 @@
32
32
  "polymer"
33
33
  ],
34
34
  "dependencies": {
35
- "@vaadin/select": "22.0.0-alpha9"
35
+ "@vaadin/select": "^22.0.0"
36
36
  },
37
- "gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
37
+ "gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
38
38
  }