@vaadin/select 24.9.0-alpha2 → 24.9.0-beta2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/select",
3
- "version": "24.9.0-alpha2",
3
+ "version": "24.9.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,23 +39,23 @@
39
39
  "dependencies": {
40
40
  "@open-wc/dedupe-mixin": "^1.3.0",
41
41
  "@polymer/polymer": "^3.2.0",
42
- "@vaadin/a11y-base": "24.9.0-alpha2",
43
- "@vaadin/button": "24.9.0-alpha2",
44
- "@vaadin/component-base": "24.9.0-alpha2",
45
- "@vaadin/field-base": "24.9.0-alpha2",
46
- "@vaadin/input-container": "24.9.0-alpha2",
47
- "@vaadin/item": "24.9.0-alpha2",
48
- "@vaadin/list-box": "24.9.0-alpha2",
49
- "@vaadin/lit-renderer": "24.9.0-alpha2",
50
- "@vaadin/overlay": "24.9.0-alpha2",
51
- "@vaadin/vaadin-lumo-styles": "24.9.0-alpha2",
52
- "@vaadin/vaadin-material-styles": "24.9.0-alpha2",
53
- "@vaadin/vaadin-themable-mixin": "24.9.0-alpha2",
42
+ "@vaadin/a11y-base": "24.9.0-beta2",
43
+ "@vaadin/button": "24.9.0-beta2",
44
+ "@vaadin/component-base": "24.9.0-beta2",
45
+ "@vaadin/field-base": "24.9.0-beta2",
46
+ "@vaadin/input-container": "24.9.0-beta2",
47
+ "@vaadin/item": "24.9.0-beta2",
48
+ "@vaadin/list-box": "24.9.0-beta2",
49
+ "@vaadin/lit-renderer": "24.9.0-beta2",
50
+ "@vaadin/overlay": "24.9.0-beta2",
51
+ "@vaadin/vaadin-lumo-styles": "24.9.0-beta2",
52
+ "@vaadin/vaadin-material-styles": "24.9.0-beta2",
53
+ "@vaadin/vaadin-themable-mixin": "24.9.0-beta2",
54
54
  "lit": "^3.0.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@vaadin/chai-plugins": "24.9.0-alpha2",
58
- "@vaadin/test-runner-commands": "24.9.0-alpha2",
57
+ "@vaadin/chai-plugins": "24.9.0-beta2",
58
+ "@vaadin/test-runner-commands": "24.9.0-beta2",
59
59
  "@vaadin/testing-helpers": "^1.1.0",
60
60
  "sinon": "^18.0.0"
61
61
  },
@@ -63,5 +63,5 @@
63
63
  "web-types.json",
64
64
  "web-types.lit.json"
65
65
  ],
66
- "gitHead": "dd99dece1b54942ab0e421892b089e506822c5f5"
66
+ "gitHead": "cf8def153fcf724b305f9ad823dc9af27e31ad07"
67
67
  }
@@ -132,25 +132,31 @@ export interface SelectEventMap extends HTMLElementEventMap, SelectCustomEventMa
132
132
  * `--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |
133
133
  * `--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |
134
134
  *
135
- * `<vaadin-select>` provides mostly the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
136
- * See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
137
- *
138
- *
139
- * In addition to `<vaadin-text-field>` parts, the following parts are available for theming:
140
- *
141
- * Part name | Description
142
- * ----------------|----------------
143
- * `toggle-button` | The toggle button
144
- *
145
- * In addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:
146
- *
147
- * Attribute | Description | Part name
148
- * ----------|-----------------------------|-----------
149
- * `opened` | Set when the select is open | :host
150
- *
151
- * There are two exceptions in terms of styling compared to `<vaadin-text-field>`:
152
- * - the `clear-button` shadow DOM part does not exist in `<vaadin-select>`.
153
- * - the `input-prevented` state attribute is not supported by `<vaadin-select>`.
135
+ * The following shadow DOM parts are available for styling:
136
+ *
137
+ * Part name | Description
138
+ * ---------------------|----------------
139
+ * `label` | The label element
140
+ * `input-field` | The element that wraps prefix, value and toggle button
141
+ * `error-message` | The error message element
142
+ * `helper-text` | The helper text element wrapper
143
+ * `required-indicator` | The `required` state indicator element
144
+ * `toggle-button` | The toggle button
145
+ *
146
+ * The following state attributes are available for styling:
147
+ *
148
+ * Attribute | Description
149
+ * ---------------------|---------------------------------
150
+ * `disabled` | Set when the element is disabled
151
+ * `has-value` | Set when the element has a value
152
+ * `has-label` | Set when the element has a label
153
+ * `has-helper` | Set when the element has helper text or slot
154
+ * `has-error-message` | Set when the element has an error message
155
+ * `invalid` | Set when the element is invalid
156
+ * `focused` | Set when the element is focused
157
+ * `focus-ring` | Set when the element is keyboard focused
158
+ * `readonly` | Set when the element is readonly
159
+ * `opened` | Set when the overlay is opened
154
160
  *
155
161
  * ### Internal components
156
162
  *
@@ -9,6 +9,7 @@ import './vaadin-select-list-box.js';
9
9
  import './vaadin-select-overlay.js';
10
10
  import './vaadin-select-value-button.js';
11
11
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
12
+ import { isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
12
13
  import { screenReaderOnly } from '@vaadin/a11y-base/src/styles/sr-only-styles.js';
13
14
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
14
15
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
@@ -88,25 +89,31 @@ registerStyles('vaadin-select', [inputFieldShared, screenReaderOnly, selectStyle
88
89
  * `--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |
89
90
  * `--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |
90
91
  *
91
- * `<vaadin-select>` provides mostly the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.
92
- * See [`<vaadin-text-field>`](#/elements/vaadin-text-field) for the styling documentation.
93
- *
94
- *
95
- * In addition to `<vaadin-text-field>` parts, the following parts are available for theming:
96
- *
97
- * Part name | Description
98
- * ----------------|----------------
99
- * `toggle-button` | The toggle button
100
- *
101
- * In addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:
102
- *
103
- * Attribute | Description | Part name
104
- * ----------|-----------------------------|-----------
105
- * `opened` | Set when the select is open | :host
106
- *
107
- * There are two exceptions in terms of styling compared to `<vaadin-text-field>`:
108
- * - the `clear-button` shadow DOM part does not exist in `<vaadin-select>`.
109
- * - the `input-prevented` state attribute is not supported by `<vaadin-select>`.
92
+ * The following shadow DOM parts are available for styling:
93
+ *
94
+ * Part name | Description
95
+ * ---------------------|----------------
96
+ * `label` | The label element
97
+ * `input-field` | The element that wraps prefix, value and toggle button
98
+ * `error-message` | The error message element
99
+ * `helper-text` | The helper text element wrapper
100
+ * `required-indicator` | The `required` state indicator element
101
+ * `toggle-button` | The toggle button
102
+ *
103
+ * The following state attributes are available for styling:
104
+ *
105
+ * Attribute | Description
106
+ * ---------------------|---------------------------------
107
+ * `disabled` | Set when the element is disabled
108
+ * `has-value` | Set when the element has a value
109
+ * `has-label` | Set when the element has a label
110
+ * `has-helper` | Set when the element has helper text or slot
111
+ * `has-error-message` | Set when the element has an error message
112
+ * `invalid` | Set when the element is invalid
113
+ * `focused` | Set when the element is focused
114
+ * `focus-ring` | Set when the element is keyboard focused
115
+ * `readonly` | Set when the element is readonly
116
+ * `opened` | Set when the overlay is opened
110
117
  *
111
118
  * ### Internal components
112
119
  *
@@ -228,7 +235,7 @@ class Select extends SelectBaseMixin(ElementMixin(ThemableMixin(PolymerElement))
228
235
  /** @private */
229
236
  _onOverlayOpen() {
230
237
  if (this._menuElement) {
231
- this._menuElement.focus();
238
+ this._menuElement.focus({ focusVisible: isKeyboardActive() });
232
239
  }
233
240
  }
234
241
 
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/select",
4
- "version": "24.9.0-alpha2",
4
+ "version": "24.9.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-select",
11
- "description": "`<vaadin-select>` is a Web Component for selecting values from a list of items.\n\n### Items\n\nUse the `items` property to define possible options for the select:\n\n```html\n<vaadin-select id=\"select\"></vaadin-select>\n```\n```js\nconst select = document.querySelector('#select');\nselect.items = [\n { label: 'Most recent first', value: 'recent' },\n { component: 'hr' },\n { label: 'Rating: low to high', value: 'rating-asc', className: 'asc' },\n { label: 'Rating: high to low', value: 'rating-desc', className: 'desc' },\n { component: 'hr' },\n { label: 'Price: low to high', value: 'price-asc', disabled: true },\n { label: 'Price: high to low', value: 'price-desc', disabled: true }\n];\n```\n\n### Rendering\n\nAlternatively, the content of the select can be populated by using the renderer callback function.\n\nThe renderer function provides `root`, `select` arguments.\nGenerate DOM content, append it to the `root` element and control the state\nof the host element by accessing `select`.\n\n```js\nconst select = document.querySelector('#select');\nselect.renderer = function(root, select) {\n const listBox = document.createElement('vaadin-list-box');\n // append 3 <vaadin-item> elements\n ['Jose', 'Manolo', 'Pedro'].forEach(function(name) {\n const item = document.createElement('vaadin-item');\n item.textContent = name;\n item.setAttribute('label', name)\n listBox.appendChild(item);\n });\n\n // update the content\n root.appendChild(listBox);\n};\n```\n\nRenderer is called on initialization of new select and on its opening.\nDOM generated during the renderer call can be reused\nin the next renderer call and will be provided with the `root` argument.\nOn first call it will be empty.\n\n* Hint: By setting the `label` property of inner vaadin-items you will\nbe able to change the visual representation of the selected value in the input part.\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Target element | Default\n-----------------------------------|------------------------------|----------------------------------\n`--vaadin-field-default-width` | Default width of the field | :host | `12em`\n`--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |\n`--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |\n\n`<vaadin-select>` provides mostly the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-text-field) for the styling documentation.\n\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n----------------|----------------\n`toggle-button` | The toggle button\n\nIn addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:\n\nAttribute | Description | Part name\n----------|-----------------------------|-----------\n`opened` | Set when the select is open | :host\n\nThere are two exceptions in terms of styling compared to `<vaadin-text-field>`:\n- the `clear-button` shadow DOM part does not exist in `<vaadin-select>`.\n- the `input-prevented` state attribute is not supported by `<vaadin-select>`.\n\n### Internal components\n\nIn addition to `<vaadin-select>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-select-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-input-container) - an internal element wrapping the button.\n\nNote: the `theme` attribute value set on `<vaadin-select>` is\npropagated to the internal components listed above.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-select>` is a Web Component for selecting values from a list of items.\n\n### Items\n\nUse the `items` property to define possible options for the select:\n\n```html\n<vaadin-select id=\"select\"></vaadin-select>\n```\n```js\nconst select = document.querySelector('#select');\nselect.items = [\n { label: 'Most recent first', value: 'recent' },\n { component: 'hr' },\n { label: 'Rating: low to high', value: 'rating-asc', className: 'asc' },\n { label: 'Rating: high to low', value: 'rating-desc', className: 'desc' },\n { component: 'hr' },\n { label: 'Price: low to high', value: 'price-asc', disabled: true },\n { label: 'Price: high to low', value: 'price-desc', disabled: true }\n];\n```\n\n### Rendering\n\nAlternatively, the content of the select can be populated by using the renderer callback function.\n\nThe renderer function provides `root`, `select` arguments.\nGenerate DOM content, append it to the `root` element and control the state\nof the host element by accessing `select`.\n\n```js\nconst select = document.querySelector('#select');\nselect.renderer = function(root, select) {\n const listBox = document.createElement('vaadin-list-box');\n // append 3 <vaadin-item> elements\n ['Jose', 'Manolo', 'Pedro'].forEach(function(name) {\n const item = document.createElement('vaadin-item');\n item.textContent = name;\n item.setAttribute('label', name)\n listBox.appendChild(item);\n });\n\n // update the content\n root.appendChild(listBox);\n};\n```\n\nRenderer is called on initialization of new select and on its opening.\nDOM generated during the renderer call can be reused\nin the next renderer call and will be provided with the `root` argument.\nOn first call it will be empty.\n\n* Hint: By setting the `label` property of inner vaadin-items you will\nbe able to change the visual representation of the selected value in the input part.\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Target element | Default\n-----------------------------------|------------------------------|----------------------------------\n`--vaadin-field-default-width` | Default width of the field | :host | `12em`\n`--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |\n`--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |\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 toggle 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\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`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\n### Internal components\n\nIn addition to `<vaadin-select>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-select-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-input-container) - an internal element wrapping the button.\n\nNote: the `theme` attribute value set on `<vaadin-select>` is\npropagated to the internal components listed above.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "disabled",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/select",
4
- "version": "24.9.0-alpha2",
4
+ "version": "24.9.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-select",
19
- "description": "`<vaadin-select>` is a Web Component for selecting values from a list of items.\n\n### Items\n\nUse the `items` property to define possible options for the select:\n\n```html\n<vaadin-select id=\"select\"></vaadin-select>\n```\n```js\nconst select = document.querySelector('#select');\nselect.items = [\n { label: 'Most recent first', value: 'recent' },\n { component: 'hr' },\n { label: 'Rating: low to high', value: 'rating-asc', className: 'asc' },\n { label: 'Rating: high to low', value: 'rating-desc', className: 'desc' },\n { component: 'hr' },\n { label: 'Price: low to high', value: 'price-asc', disabled: true },\n { label: 'Price: high to low', value: 'price-desc', disabled: true }\n];\n```\n\n### Rendering\n\nAlternatively, the content of the select can be populated by using the renderer callback function.\n\nThe renderer function provides `root`, `select` arguments.\nGenerate DOM content, append it to the `root` element and control the state\nof the host element by accessing `select`.\n\n```js\nconst select = document.querySelector('#select');\nselect.renderer = function(root, select) {\n const listBox = document.createElement('vaadin-list-box');\n // append 3 <vaadin-item> elements\n ['Jose', 'Manolo', 'Pedro'].forEach(function(name) {\n const item = document.createElement('vaadin-item');\n item.textContent = name;\n item.setAttribute('label', name)\n listBox.appendChild(item);\n });\n\n // update the content\n root.appendChild(listBox);\n};\n```\n\nRenderer is called on initialization of new select and on its opening.\nDOM generated during the renderer call can be reused\nin the next renderer call and will be provided with the `root` argument.\nOn first call it will be empty.\n\n* Hint: By setting the `label` property of inner vaadin-items you will\nbe able to change the visual representation of the selected value in the input part.\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Target element | Default\n-----------------------------------|------------------------------|----------------------------------\n`--vaadin-field-default-width` | Default width of the field | :host | `12em`\n`--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |\n`--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |\n\n`<vaadin-select>` provides mostly the same set of shadow DOM parts and state attributes as `<vaadin-text-field>`.\nSee [`<vaadin-text-field>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-text-field) for the styling documentation.\n\n\nIn addition to `<vaadin-text-field>` parts, the following parts are available for theming:\n\nPart name | Description\n----------------|----------------\n`toggle-button` | The toggle button\n\nIn addition to `<vaadin-text-field>` state attributes, the following state attributes are available for theming:\n\nAttribute | Description | Part name\n----------|-----------------------------|-----------\n`opened` | Set when the select is open | :host\n\nThere are two exceptions in terms of styling compared to `<vaadin-text-field>`:\n- the `clear-button` shadow DOM part does not exist in `<vaadin-select>`.\n- the `input-prevented` state attribute is not supported by `<vaadin-select>`.\n\n### Internal components\n\nIn addition to `<vaadin-select>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-select-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-alpha2/#/elements/vaadin-input-container) - an internal element wrapping the button.\n\nNote: the `theme` attribute value set on `<vaadin-select>` is\npropagated to the internal components listed above.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-select>` is a Web Component for selecting values from a list of items.\n\n### Items\n\nUse the `items` property to define possible options for the select:\n\n```html\n<vaadin-select id=\"select\"></vaadin-select>\n```\n```js\nconst select = document.querySelector('#select');\nselect.items = [\n { label: 'Most recent first', value: 'recent' },\n { component: 'hr' },\n { label: 'Rating: low to high', value: 'rating-asc', className: 'asc' },\n { label: 'Rating: high to low', value: 'rating-desc', className: 'desc' },\n { component: 'hr' },\n { label: 'Price: low to high', value: 'price-asc', disabled: true },\n { label: 'Price: high to low', value: 'price-desc', disabled: true }\n];\n```\n\n### Rendering\n\nAlternatively, the content of the select can be populated by using the renderer callback function.\n\nThe renderer function provides `root`, `select` arguments.\nGenerate DOM content, append it to the `root` element and control the state\nof the host element by accessing `select`.\n\n```js\nconst select = document.querySelector('#select');\nselect.renderer = function(root, select) {\n const listBox = document.createElement('vaadin-list-box');\n // append 3 <vaadin-item> elements\n ['Jose', 'Manolo', 'Pedro'].forEach(function(name) {\n const item = document.createElement('vaadin-item');\n item.textContent = name;\n item.setAttribute('label', name)\n listBox.appendChild(item);\n });\n\n // update the content\n root.appendChild(listBox);\n};\n```\n\nRenderer is called on initialization of new select and on its opening.\nDOM generated during the renderer call can be reused\nin the next renderer call and will be provided with the `root` argument.\nOn first call it will be empty.\n\n* Hint: By setting the `label` property of inner vaadin-items you will\nbe able to change the visual representation of the selected value in the input part.\n\n### Styling\n\nThe following custom properties are available for styling:\n\nCustom property | Description | Target element | Default\n-----------------------------------|------------------------------|----------------------------------\n`--vaadin-field-default-width` | Default width of the field | :host | `12em`\n`--vaadin-select-text-field-width` | Effective width of the field | `vaadin-select-overlay` |\n`--vaadin-select-overlay-width` | Width of the overlay | `vaadin-select-overlay` |\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 toggle 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\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`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\n### Internal components\n\nIn addition to `<vaadin-select>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-select-overlay>` - has the same API as [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta2/#/elements/vaadin-input-container) - an internal element wrapping the button.\n\nNote: the `theme` attribute value set on `<vaadin-select>` is\npropagated to the internal components listed above.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {