@vaadin/combo-box 25.1.0-alpha8 → 25.1.0-beta1

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/combo-box",
4
- "version": "25.1.0-alpha8",
4
+ "version": "25.1.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,12 +16,12 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-combo-box",
19
- "description": "`<vaadin-combo-box>` is a web component for choosing a value from a filterable list of options\npresented in a dropdown overlay. The options can be provided as a list of strings or objects\nby setting [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha8/#/elements/vaadin-combo-box#property-items) property on the element.\n\n```html\n<vaadin-combo-box id=\"combo-box\"></vaadin-combo-box>\n```\n```js\ndocument.querySelector('#combo-box').items = ['apple', 'orange', 'banana'];\n```\n\nWhen the selected `value` is changed, a `value-changed` event is triggered.\n\n### Item rendering\n\nTo customize the content of the `<vaadin-combo-box-item>` elements placed in the dropdown, use\n[`renderer`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha8/#/elements/vaadin-combo-box#property-renderer) property which accepts a function.\nThe renderer function is called with `root`, `comboBox`, and `model` as arguments.\n\nGenerate DOM content by using `model` object properties if needed, and append it to the `root`\nelement. The `comboBox` reference is provided to access the combo-box element state. Do not\nset combo-box properties in a `renderer` function.\n\n```js\nconst comboBox = document.querySelector('#combo-box');\ncomboBox.items = [{'label': 'Hydrogen', 'value': 'H'}];\ncomboBox.renderer = (root, comboBox, model) => {\n const item = model.item;\n root.innerHTML = `${model.index}: ${item.label} <b>${item.value}</b>`;\n};\n```\n\nRenderer is called on the opening of the combo-box and each time the related model is updated.\nBefore creating new content, it is recommended to check if there is already an existing DOM\nelement in `root` from a previous renderer call for reusing it. Even though combo-box uses\ninfinite scrolling, reducing DOM operations might improve performance.\n\nThe following properties are available in the `model` argument:\n\nProperty | Type | Description\n-----------|------------------|-------------\n`index` | Number | Index of the item in the `items` array\n`item` | String or Object | The item reference\n`selected` | Boolean | True when item is selected\n`focused` | Boolean | True when item is focused\n\n### Lazy Loading with Function Data Provider\n\nIn addition to assigning an array to the items property, you can alternatively use the\n[`dataProvider`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha8/#/elements/vaadin-combo-box#property-dataProvider) function property.\nThe `<vaadin-combo-box>` calls this function lazily, only when it needs more data\nto be displayed.\n\n__Note that when using function data providers, the total number of items\nneeds to be set manually. The total number of items can be returned\nin the second argument of the data provider callback:__\n\n```js\ncomboBox.dataProvider = async (params, callback) => {\n const API = 'https://demo.vaadin.com/demo-data/1.0/filtered-countries';\n const { filter, page, pageSize } = params;\n const index = page * pageSize;\n\n const res = await fetch(`${API}?index=${index}&count=${pageSize}&filter=${filter}`);\n if (res.ok) {\n const { result, size } = await res.json();\n callback(result, size);\n }\n};\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n----------------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n`--vaadin-combo-box-overlay-width` | Width of the overlay | `auto`\n`--vaadin-combo-box-overlay-max-height` | Max height of the overlay | `65vh`\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and buttons\n`field-button` | Set on both clear and toggle buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`toggle-button` | The toggle button\n`overlay` | The overlay container\n`content` | The overlay content\n`loader` | The loading indicator shown while loading items\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n`opened` | Set when the overlay is opened\n`loading` | Set when loading items from the data provider\n\n### Internal components\n\nIn addition to `<vaadin-combo-box>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-combo-box-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-alpha8/#/elements/vaadin-item).\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-combo-box>` is a web component for choosing a value from a filterable list of options\npresented in a dropdown overlay. The options can be provided as a list of strings or objects\nby setting [`items`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-beta1/#/elements/vaadin-combo-box#property-items) property on the element.\n\n```html\n<vaadin-combo-box id=\"combo-box\"></vaadin-combo-box>\n```\n```js\ndocument.querySelector('#combo-box').items = ['apple', 'orange', 'banana'];\n```\n\nWhen the selected `value` is changed, a `value-changed` event is triggered.\n\n### Item rendering\n\nTo customize the content of the `<vaadin-combo-box-item>` elements placed in the dropdown, use\n[`renderer`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-beta1/#/elements/vaadin-combo-box#property-renderer) property which accepts a function.\nThe renderer function is called with `root`, `comboBox`, and `model` as arguments.\n\nGenerate DOM content by using `model` object properties if needed, and append it to the `root`\nelement. The `comboBox` reference is provided to access the combo-box element state. Do not\nset combo-box properties in a `renderer` function.\n\n```js\nconst comboBox = document.querySelector('#combo-box');\ncomboBox.items = [{'label': 'Hydrogen', 'value': 'H'}];\ncomboBox.renderer = (root, comboBox, model) => {\n const item = model.item;\n root.innerHTML = `${model.index}: ${item.label} <b>${item.value}</b>`;\n};\n```\n\nRenderer is called on the opening of the combo-box and each time the related model is updated.\nBefore creating new content, it is recommended to check if there is already an existing DOM\nelement in `root` from a previous renderer call for reusing it. Even though combo-box uses\ninfinite scrolling, reducing DOM operations might improve performance.\n\nThe following properties are available in the `model` argument:\n\nProperty | Type | Description\n-----------|------------------|-------------\n`index` | Number | Index of the item in the `items` array\n`item` | String or Object | The item reference\n`selected` | Boolean | True when item is selected\n`focused` | Boolean | True when item is focused\n\n### Lazy Loading with Function Data Provider\n\nIn addition to assigning an array to the items property, you can alternatively use the\n[`dataProvider`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-beta1/#/elements/vaadin-combo-box#property-dataProvider) function property.\nThe `<vaadin-combo-box>` calls this function lazily, only when it needs more data\nto be displayed.\n\n__Note that when using function data providers, the total number of items\nneeds to be set manually. The total number of items can be returned\nin the second argument of the data provider callback:__\n\n```js\ncomboBox.dataProvider = async (params, callback) => {\n const API = 'https://demo.vaadin.com/demo-data/1.0/filtered-countries';\n const { filter, page, pageSize } = params;\n const index = page * pageSize;\n\n const res = await fetch(`${API}?index=${index}&count=${pageSize}&filter=${filter}`);\n if (res.ok) {\n const { result, size } = await res.json();\n callback(result, size);\n }\n};\n```\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Default\n----------------------------------------|----------------------------|---------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n`--vaadin-combo-box-overlay-width` | Width of the overlay | `auto`\n`--vaadin-combo-box-overlay-max-height` | Max height of the overlay | `65vh`\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The label element\n`input-field` | The element that wraps prefix, value and buttons\n`field-button` | Set on both clear and toggle buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`toggle-button` | The toggle button\n`overlay` | The overlay container\n`content` | The overlay content\n`loader` | The loading indicator shown while loading items\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`readonly` | Set when the element is readonly\n`opened` | Set when the overlay is opened\n`loading` | Set when loading items from the data provider\n\n### Internal components\n\nIn addition to `<vaadin-combo-box>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-combo-box-item>` - has the same API as [`<vaadin-item>`](https://cdn.vaadin.com/vaadin-web-components/25.1.0-beta1/#/elements/vaadin-item).\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {
23
- "name": "?disabled",
24
- "description": "If true, the user cannot interact with this element.",
23
+ "name": "?allowCustomValue",
24
+ "description": "If `true`, the user can input a value that is not present in the items list.\n`value` property will be set to the input value in this case.\nAlso, when `value` is set programmatically, the input value will be set\nto reflect that value.",
25
25
  "value": {
26
26
  "kind": "expression"
27
27
  }
@@ -34,22 +34,15 @@
34
34
  }
35
35
  },
36
36
  {
37
- "name": "?invalid",
38
- "description": "Set to true when the field is invalid.",
39
- "value": {
40
- "kind": "expression"
41
- }
42
- },
43
- {
44
- "name": "?manualValidation",
45
- "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
37
+ "name": "?autoOpenDisabled",
38
+ "description": "Set true to prevent the overlay from opening automatically.",
46
39
  "value": {
47
40
  "kind": "expression"
48
41
  }
49
42
  },
50
43
  {
51
- "name": "?required",
52
- "description": "Specifies that the user must fill in a value.",
44
+ "name": "?autoselect",
45
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
53
46
  "value": {
54
47
  "kind": "expression"
55
48
  }
@@ -62,183 +55,183 @@
62
55
  }
63
56
  },
64
57
  {
65
- "name": "?autoselect",
66
- "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
58
+ "name": "?disabled",
59
+ "description": "If true, the user cannot interact with this element.",
67
60
  "value": {
68
61
  "kind": "expression"
69
62
  }
70
63
  },
71
64
  {
72
- "name": "?readonly",
73
- "description": "When present, it specifies that the field is read-only.",
65
+ "name": "?invalid",
66
+ "description": "Set to true when the field is invalid.",
74
67
  "value": {
75
68
  "kind": "expression"
76
69
  }
77
70
  },
78
71
  {
79
- "name": "?opened",
80
- "description": "True if the dropdown is open, false otherwise.",
72
+ "name": "?loading",
73
+ "description": "When set to `true`, \"loading\" attribute is added to host and the overlay element.",
81
74
  "value": {
82
75
  "kind": "expression"
83
76
  }
84
77
  },
85
78
  {
86
- "name": "?autoOpenDisabled",
87
- "description": "Set true to prevent the overlay from opening automatically.",
79
+ "name": "?manualValidation",
80
+ "description": "Set to true to enable manual validation mode. This mode disables automatic\nconstraint validation, allowing you to control the validation process yourself.\nYou can still trigger constraint validation manually with the `validate()` method\nor use `checkValidity()` to assess the component's validity without affecting\nthe invalid state. In manual validation mode, you can also manipulate\nthe `invalid` property directly through your application logic without conflicts\nwith the component's internal validation.",
88
81
  "value": {
89
82
  "kind": "expression"
90
83
  }
91
84
  },
92
85
  {
93
- "name": "?allowCustomValue",
94
- "description": "If `true`, the user can input a value that is not present in the items list.\n`value` property will be set to the input value in this case.\nAlso, when `value` is set programmatically, the input value will be set\nto reflect that value.",
86
+ "name": "?opened",
87
+ "description": "True if the dropdown is open, false otherwise.",
95
88
  "value": {
96
89
  "kind": "expression"
97
90
  }
98
91
  },
99
92
  {
100
- "name": "?loading",
101
- "description": "When set to `true`, \"loading\" attribute is added to host and the overlay element.",
93
+ "name": "?readonly",
94
+ "description": "When present, it specifies that the field is read-only.",
102
95
  "value": {
103
96
  "kind": "expression"
104
97
  }
105
98
  },
106
99
  {
107
- "name": ".label",
108
- "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
100
+ "name": "?required",
101
+ "description": "Specifies that the user must fill in a value.",
109
102
  "value": {
110
103
  "kind": "expression"
111
104
  }
112
105
  },
113
106
  {
114
- "name": ".errorMessage",
115
- "description": "Error to show when the field is invalid.",
107
+ "name": ".accessibleName",
108
+ "description": "String used to label the component to screen reader users.",
116
109
  "value": {
117
110
  "kind": "expression"
118
111
  }
119
112
  },
120
113
  {
121
- "name": ".helperText",
122
- "description": "String used for the helper text.",
114
+ "name": ".accessibleNameRef",
115
+ "description": "Id of the element used as label of the component to screen reader users.",
123
116
  "value": {
124
117
  "kind": "expression"
125
118
  }
126
119
  },
127
120
  {
128
- "name": ".accessibleName",
129
- "description": "String used to label the component to screen reader users.",
121
+ "name": ".allowedCharPattern",
122
+ "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
130
123
  "value": {
131
124
  "kind": "expression"
132
125
  }
133
126
  },
134
127
  {
135
- "name": ".accessibleNameRef",
136
- "description": "Id of the element used as label of the component to screen reader users.",
128
+ "name": ".dataProvider",
129
+ "description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
137
130
  "value": {
138
131
  "kind": "expression"
139
132
  }
140
133
  },
141
134
  {
142
- "name": ".value",
143
- "description": "The value of the field.",
135
+ "name": ".errorMessage",
136
+ "description": "Error to show when the field is invalid.",
144
137
  "value": {
145
138
  "kind": "expression"
146
139
  }
147
140
  },
148
141
  {
149
- "name": ".allowedCharPattern",
150
- "description": "A pattern matched against individual characters the user inputs.\n\nWhen set, the field will prevent:\n- `keydown` events if the entered key doesn't match `/^allowedCharPattern$/`\n- `paste` events if the pasted text doesn't match `/^allowedCharPattern*$/`\n- `drop` events if the dropped text doesn't match `/^allowedCharPattern*$/`\n\nFor example, to allow entering only numbers and minus signs, use:\n`allowedCharPattern = \"[\\\\d-]\"`",
142
+ "name": ".filter",
143
+ "description": "Filtering string the user has typed into the input field.",
151
144
  "value": {
152
145
  "kind": "expression"
153
146
  }
154
147
  },
155
148
  {
156
- "name": ".name",
157
- "description": "The name of this field.",
149
+ "name": ".filteredItems",
150
+ "description": "A subset of items, filtered based on the user input. Filtered items\ncan be assigned directly to omit the internal filtering functionality.\nThe items can be of either `String` or `Object` type.",
158
151
  "value": {
159
152
  "kind": "expression"
160
153
  }
161
154
  },
162
155
  {
163
- "name": ".placeholder",
164
- "description": "A hint to the user of what can be entered in the field.",
156
+ "name": ".helperText",
157
+ "description": "String used for the helper text.",
165
158
  "value": {
166
159
  "kind": "expression"
167
160
  }
168
161
  },
169
162
  {
170
- "name": ".title",
171
- "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
163
+ "name": ".itemClassNameGenerator",
164
+ "description": "A function used to generate CSS class names for dropdown\nitems based on the item. The return value should be the\ngenerated class name as a string, or multiple class names\nseparated by whitespace characters.",
172
165
  "value": {
173
166
  "kind": "expression"
174
167
  }
175
168
  },
176
169
  {
177
- "name": ".pattern",
178
- "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
170
+ "name": ".itemIdPath",
171
+ "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin `selectedItem` and `filteredItems` (items given by the\n`dataProvider` callback).",
179
172
  "value": {
180
173
  "kind": "expression"
181
174
  }
182
175
  },
183
176
  {
184
- "name": ".pageSize",
185
- "description": "Number of items fetched at a time from the dataprovider.",
177
+ "name": ".itemLabelGenerator",
178
+ "description": "A function that is used to generate the label for dropdown\nitems based on the item. Receives one argument:\n- `item` The item to generate the label for.",
186
179
  "value": {
187
180
  "kind": "expression"
188
181
  }
189
182
  },
190
183
  {
191
- "name": ".size",
192
- "description": "Total number of items.",
184
+ "name": ".itemLabelPath",
185
+ "description": "Path for label of the item. If `items` is an array of objects, the\n`itemLabelPath` is used to fetch the displayed string label for each\nitem.\n\nThe item label is also used for matching items when processing user\ninput, i.e., for filtering and selecting items.",
193
186
  "value": {
194
187
  "kind": "expression"
195
188
  }
196
189
  },
197
190
  {
198
- "name": ".dataProvider",
199
- "description": "Function that provides items lazily. Receives arguments `params`, `callback`\n\n`params.page` Requested page index\n\n`params.pageSize` Current page size\n\n`params.filter` Currently applied filter\n\n`callback(items, size)` Callback function with arguments:\n - `items` Current page of items\n - `size` Total number of items.",
191
+ "name": ".items",
192
+ "description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
200
193
  "value": {
201
194
  "kind": "expression"
202
195
  }
203
196
  },
204
197
  {
205
- "name": ".items",
206
- "description": "A full set of items to filter the visible options from.\nThe items can be of either `String` or `Object` type.",
198
+ "name": ".itemValuePath",
199
+ "description": "Path for the value of the item. If `items` is an array of objects, the\n`itemValuePath:` is used to fetch the string value for the selected\nitem.\n\nThe item value is used in the `value` property of the combo box,\nto provide the form value.",
207
200
  "value": {
208
201
  "kind": "expression"
209
202
  }
210
203
  },
211
204
  {
212
- "name": ".filteredItems",
213
- "description": "A subset of items, filtered based on the user input. Filtered items\ncan be assigned directly to omit the internal filtering functionality.\nThe items can be of either `String` or `Object` type.",
205
+ "name": ".label",
206
+ "description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
214
207
  "value": {
215
208
  "kind": "expression"
216
209
  }
217
210
  },
218
211
  {
219
- "name": ".filter",
220
- "description": "Filtering string the user has typed into the input field.",
212
+ "name": ".name",
213
+ "description": "The name of this field.",
221
214
  "value": {
222
215
  "kind": "expression"
223
216
  }
224
217
  },
225
218
  {
226
- "name": ".itemLabelGenerator",
227
- "description": "A function that is used to generate the label for dropdown\nitems based on the item. Receives one argument:\n- `item` The item to generate the label for.",
219
+ "name": ".pageSize",
220
+ "description": "Number of items fetched at a time from the dataprovider.",
228
221
  "value": {
229
222
  "kind": "expression"
230
223
  }
231
224
  },
232
225
  {
233
- "name": ".itemLabelPath",
234
- "description": "Path for label of the item. If `items` is an array of objects, the\n`itemLabelPath` is used to fetch the displayed string label for each\nitem.\n\nThe item label is also used for matching items when processing user\ninput, i.e., for filtering and selecting items.",
226
+ "name": ".pattern",
227
+ "description": "A regular expression that the value is checked against.\nThe pattern must match the entire value, not just some subset.",
235
228
  "value": {
236
229
  "kind": "expression"
237
230
  }
238
231
  },
239
232
  {
240
- "name": ".itemValuePath",
241
- "description": "Path for the value of the item. If `items` is an array of objects, the\n`itemValuePath:` is used to fetch the string value for the selected\nitem.\n\nThe item value is used in the `value` property of the combo box,\nto provide the form value.",
233
+ "name": ".placeholder",
234
+ "description": "A hint to the user of what can be entered in the field.",
242
235
  "value": {
243
236
  "kind": "expression"
244
237
  }
@@ -258,22 +251,22 @@
258
251
  }
259
252
  },
260
253
  {
261
- "name": ".itemClassNameGenerator",
262
- "description": "A function used to generate CSS class names for dropdown\nitems based on the item. The return value should be the\ngenerated class name as a string, or multiple class names\nseparated by whitespace characters.",
254
+ "name": ".size",
255
+ "description": "Total number of items.",
263
256
  "value": {
264
257
  "kind": "expression"
265
258
  }
266
259
  },
267
260
  {
268
- "name": ".itemIdPath",
269
- "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin `selectedItem` and `filteredItems` (items given by the\n`dataProvider` callback).",
261
+ "name": ".title",
262
+ "description": "The text usually displayed in a tooltip popup when the mouse is over the field.",
270
263
  "value": {
271
264
  "kind": "expression"
272
265
  }
273
266
  },
274
267
  {
275
- "name": "@validated",
276
- "description": "Fired whenever the field is validated.",
268
+ "name": ".value",
269
+ "description": "The value of the field.",
277
270
  "value": {
278
271
  "kind": "expression"
279
272
  }
@@ -286,64 +279,71 @@
286
279
  }
287
280
  },
288
281
  {
289
- "name": "@input",
290
- "description": "Fired when the value is changed by the user: on every typing keystroke,\nand the value is cleared using the clear button.",
282
+ "name": "@custom-value-set",
283
+ "description": "Fired when the user sets a custom value.",
291
284
  "value": {
292
285
  "kind": "expression"
293
286
  }
294
287
  },
295
288
  {
296
- "name": "@custom-value-set",
297
- "description": "Fired when the user sets a custom value.",
289
+ "name": "@filter-changed",
290
+ "description": "Fired when the `filter` property changes.",
298
291
  "value": {
299
292
  "kind": "expression"
300
293
  }
301
294
  },
302
295
  {
303
- "name": "@selected-item-changed",
304
- "description": "Fired when selected item changes.",
296
+ "name": "@input",
297
+ "description": "Fired when the value is changed by the user: on every typing keystroke,\nand the value is cleared using the clear button.",
305
298
  "value": {
306
299
  "kind": "expression"
307
300
  }
308
301
  },
309
302
  {
310
- "name": "@vaadin-combo-box-dropdown-closed",
311
- "description": "Fired after the `vaadin-combo-box-overlay` closes.",
303
+ "name": "@invalid-changed",
304
+ "description": "Fired when the `invalid` property changes.",
312
305
  "value": {
313
306
  "kind": "expression"
314
307
  }
315
308
  },
316
309
  {
317
- "name": "@vaadin-combo-box-dropdown-opened",
318
- "description": "Fired after the `vaadin-combo-box-overlay` opens.",
310
+ "name": "@opened-changed",
311
+ "description": "Fired when the `opened` property changes.",
319
312
  "value": {
320
313
  "kind": "expression"
321
314
  }
322
315
  },
323
316
  {
324
- "name": "@value-changed",
325
- "description": "Fired when the value changes.",
317
+ "name": "@selected-item-changed",
318
+ "description": "Fired when selected item changes.",
326
319
  "value": {
327
320
  "kind": "expression"
328
321
  }
329
322
  },
330
323
  {
331
- "name": "@invalid-changed",
332
- "description": "Fired when the `invalid` property changes.",
324
+ "name": "@vaadin-combo-box-dropdown-closed",
325
+ "description": "Fired after the `vaadin-combo-box-overlay` closes.",
333
326
  "value": {
334
327
  "kind": "expression"
335
328
  }
336
329
  },
337
330
  {
338
- "name": "@opened-changed",
339
- "description": "Fired when the `opened` property changes.",
331
+ "name": "@vaadin-combo-box-dropdown-opened",
332
+ "description": "Fired after the `vaadin-combo-box-overlay` opens.",
340
333
  "value": {
341
334
  "kind": "expression"
342
335
  }
343
336
  },
344
337
  {
345
- "name": "@filter-changed",
346
- "description": "Fired when the `filter` property changes.",
338
+ "name": "@validated",
339
+ "description": "Fired whenever the field is validated.",
340
+ "value": {
341
+ "kind": "expression"
342
+ }
343
+ },
344
+ {
345
+ "name": "@value-changed",
346
+ "description": "Fired when the value changes.",
347
347
  "value": {
348
348
  "kind": "expression"
349
349
  }