@vaadin/vaadin-combo-box 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 -66
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,71 +1,11 @@
1
- # <vaadin-combo-box>
1
+ # @vaadin/vaadin-combo-box
2
2
 
3
- [Live Demo ↗](https://vaadin.com/components/vaadin-combo-box/html-examples)
4
- |
5
- [API documentation ↗](https://vaadin.com/components/vaadin-combo-box/html-api)
3
+ > ⚠️  Starting from Vaadin 22, this package is deprecated.
4
+ > Please use [`@vaadin/combo-box`](https://www.npmjs.com/package/@vaadin/combo-box) instead.
6
5
 
7
- [<vaadin-combo-box>](https://vaadin.com/components/vaadin-combo-box) is a Web Component combining a dropdown list with an input field for filtering the list of items, part of the [Vaadin components](https://vaadin.com/components).
6
+ A web component for choosing a value from a filterable list of options presented in an overlay.
8
7
 
9
- [![npm version](https://badgen.net/npm/v/@vaadin/vaadin-combo-box)](https://www.npmjs.com/package/@vaadin/vaadin-combo-box)
10
- [![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/vaadinvaadin-combo-box)
11
- [![Discord](https://img.shields.io/discord/732335336448852018?label=discord)](https://discord.gg/PHmkCKC)
12
-
13
- ```html
14
- <vaadin-combo-box
15
- label="User"
16
- placeholder="Please select"
17
- item-value-path="email"
18
- item-label-path="email"
19
- ></vaadin-combo-box>
20
-
21
- <script>
22
- const comboBox = document.querySelector('vaadin-combo-box');
23
-
24
- fetch('https://randomuser.me/api?results=100&inc=name,email')
25
- .then((res) => res.json())
26
- .then((json) => (comboBox.items = json.results));
27
- </script>
28
- ```
29
-
30
- [<img src="https://raw.githubusercontent.com/vaadin/vaadin-combo-box/master/screenshot.png" width="208" alt="Screenshot of vaadin-combo-box" />](https://vaadin.com/components/vaadin-combo-box)
31
-
32
- ## Installation
33
-
34
- Install `vaadin-combo-box`:
35
-
36
- ```sh
37
- npm i @vaadin/vaadin-combo-box --save
38
- ```
39
-
40
- Once installed, import it in your application:
41
-
42
- ```js
43
- import '@vaadin/vaadin-combo-box/vaadin-combo-box.js';
44
- ```
45
-
46
- ## Getting Started
47
-
48
- Vaadin components use the Lumo theme by default.
49
-
50
- To use the Material theme, import the correspondent file from the `theme/material` folder.
51
-
52
- ## Entry points
53
-
54
- - The components with the Lumo theme:
55
-
56
- `theme/lumo/vaadin-combo-box.js`
57
- `theme/lumo/vaadin-combo-box-light.js`
58
-
59
- - The components with the Material theme:
60
-
61
- `theme/material/vaadin-combo-box.js`
62
- `theme/material/vaadin-combo-box-light.js`
63
-
64
- - Alias for `theme/lumo/vaadin-combo-box.js`
65
- `theme/lumo/vaadin-combo-box-light.js`
66
-
67
- `vaadin-combo-box.js`
68
- `vaadin-combo-box-light.js`
8
+ [Documentation + Live Demo ↗](https://vaadin.com/docs/latest/ds/components/combo-box)
69
9
 
70
10
  ## Contributing
71
11
 
@@ -75,4 +15,5 @@ Read the [contributing guide](https://vaadin.com/docs/latest/guide/contributing/
75
15
 
76
16
  Apache License 2.0
77
17
 
78
- 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-combo-box",
3
- "version": "22.0.0-alpha9",
3
+ "version": "22.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,7 +31,7 @@
31
31
  "polymer"
32
32
  ],
33
33
  "dependencies": {
34
- "@vaadin/combo-box": "22.0.0-alpha9"
34
+ "@vaadin/combo-box": "^22.0.0"
35
35
  },
36
- "gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
36
+ "gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
37
37
  }