@vaadin/select 24.2.0-beta1 → 24.2.0-beta3
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 +14 -14
- package/src/vaadin-select-base-mixin.d.ts +0 -9
- package/src/vaadin-select-base-mixin.js +0 -14
- package/src/vaadin-select.d.ts +0 -8
- package/theme/lumo/vaadin-select-styles.js +1 -0
- package/theme/lumo/vaadin-select.js +0 -1
- package/theme/material/vaadin-select-styles.js +1 -0
- package/theme/material/vaadin-select.js +0 -1
- package/web-types.json +2 -28
- package/web-types.lit.json +2 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/select",
|
|
3
|
-
"version": "24.2.0-
|
|
3
|
+
"version": "24.2.0-beta3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
49
49
|
"@polymer/polymer": "^3.2.0",
|
|
50
|
-
"@vaadin/a11y-base": "24.2.0-
|
|
51
|
-
"@vaadin/button": "24.2.0-
|
|
52
|
-
"@vaadin/component-base": "24.2.0-
|
|
53
|
-
"@vaadin/field-base": "24.2.0-
|
|
54
|
-
"@vaadin/input-container": "24.2.0-
|
|
55
|
-
"@vaadin/item": "24.2.0-
|
|
56
|
-
"@vaadin/list-box": "24.2.0-
|
|
57
|
-
"@vaadin/lit-renderer": "24.2.0-
|
|
58
|
-
"@vaadin/overlay": "24.2.0-
|
|
59
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
60
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
61
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
50
|
+
"@vaadin/a11y-base": "24.2.0-beta3",
|
|
51
|
+
"@vaadin/button": "24.2.0-beta3",
|
|
52
|
+
"@vaadin/component-base": "24.2.0-beta3",
|
|
53
|
+
"@vaadin/field-base": "24.2.0-beta3",
|
|
54
|
+
"@vaadin/input-container": "24.2.0-beta3",
|
|
55
|
+
"@vaadin/item": "24.2.0-beta3",
|
|
56
|
+
"@vaadin/list-box": "24.2.0-beta3",
|
|
57
|
+
"@vaadin/lit-renderer": "24.2.0-beta3",
|
|
58
|
+
"@vaadin/overlay": "24.2.0-beta3",
|
|
59
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-beta3",
|
|
60
|
+
"@vaadin/vaadin-material-styles": "24.2.0-beta3",
|
|
61
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-beta3"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"web-types.json",
|
|
71
71
|
"web-types.lit.json"
|
|
72
72
|
],
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "91ea11e7ad706065340acdb93b92316919ce5e69"
|
|
74
74
|
}
|
|
@@ -102,15 +102,6 @@ export declare class SelectBaseMixinClass {
|
|
|
102
102
|
*/
|
|
103
103
|
readonly: boolean;
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* Whether the field is dirty.
|
|
107
|
-
*
|
|
108
|
-
* The field is automatically marked as dirty once the user triggers
|
|
109
|
-
* a `change` event. Additionally, the field can be manually marked
|
|
110
|
-
* as dirty by setting the property to `true`.
|
|
111
|
-
*/
|
|
112
|
-
dirty: boolean;
|
|
113
|
-
|
|
114
105
|
/**
|
|
115
106
|
* Requests an update for the content of the select.
|
|
116
107
|
* While performing the update, it invokes the renderer passed in the `renderer` property.
|
|
@@ -127,19 +127,6 @@ export const SelectBaseMixin = (superClass) =>
|
|
|
127
127
|
reflectToAttribute: true,
|
|
128
128
|
},
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
* Whether the field is dirty.
|
|
132
|
-
*
|
|
133
|
-
* The field is automatically marked as dirty once the user triggers
|
|
134
|
-
* a `change` event. Additionally, the field can be manually marked
|
|
135
|
-
* as dirty by setting the property to `true`.
|
|
136
|
-
*/
|
|
137
|
-
dirty: {
|
|
138
|
-
type: Boolean,
|
|
139
|
-
value: false,
|
|
140
|
-
notify: true,
|
|
141
|
-
},
|
|
142
|
-
|
|
143
130
|
/** @private */
|
|
144
131
|
_phone: Boolean,
|
|
145
132
|
|
|
@@ -632,7 +619,6 @@ export const SelectBaseMixin = (superClass) =>
|
|
|
632
619
|
await this.updateComplete;
|
|
633
620
|
}
|
|
634
621
|
|
|
635
|
-
this.dirty = true;
|
|
636
622
|
this.validate();
|
|
637
623
|
this.dispatchEvent(new CustomEvent('change', { bubbles: true }));
|
|
638
624
|
this.__dispatchChangePending = false;
|
package/src/vaadin-select.d.ts
CHANGED
|
@@ -41,11 +41,6 @@ export type SelectOpenedChangedEvent = CustomEvent<{ value: boolean }>;
|
|
|
41
41
|
*/
|
|
42
42
|
export type SelectInvalidChangedEvent = CustomEvent<{ value: boolean }>;
|
|
43
43
|
|
|
44
|
-
/**
|
|
45
|
-
* Fired when the `dirty` property changes.
|
|
46
|
-
*/
|
|
47
|
-
export type SelectDirtyChangedEvent = CustomEvent<{ value: boolean }>;
|
|
48
|
-
|
|
49
44
|
/**
|
|
50
45
|
* Fired when the `value` property changes.
|
|
51
46
|
*/
|
|
@@ -61,8 +56,6 @@ export interface SelectCustomEventMap {
|
|
|
61
56
|
|
|
62
57
|
'invalid-changed': SelectInvalidChangedEvent;
|
|
63
58
|
|
|
64
|
-
'dirty-changed': SelectDirtyChangedEvent;
|
|
65
|
-
|
|
66
59
|
'value-changed': SelectValueChangedEvent;
|
|
67
60
|
|
|
68
61
|
validated: SelectValidatedEvent;
|
|
@@ -174,7 +167,6 @@ export interface SelectEventMap extends HTMLElementEventMap, SelectCustomEventMa
|
|
|
174
167
|
* @fires {Event} change - Fired when the user commits a value change.
|
|
175
168
|
* @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
|
|
176
169
|
* @fires {CustomEvent} opened-changed - Fired when the `opened` property changes.
|
|
177
|
-
* @fires {CustomEvent} dirty-changed - Fired when the `dirty` property changes.
|
|
178
170
|
* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
|
|
179
171
|
* @fires {CustomEvent} validated - Fired whenever the field is validated.
|
|
180
172
|
*/
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
+
import '@vaadin/input-container/theme/lumo/vaadin-input-container-styles.js';
|
|
6
7
|
import '@vaadin/vaadin-lumo-styles/sizing.js';
|
|
7
8
|
import '@vaadin/vaadin-lumo-styles/style.js';
|
|
8
9
|
import '@vaadin/vaadin-lumo-styles/font-icons.js';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import '@vaadin/input-container/theme/lumo/vaadin-input-container.js';
|
|
7
6
|
import './vaadin-select-styles.js';
|
|
8
7
|
import '../../src/vaadin-select.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
+
import '@vaadin/input-container/theme/material/vaadin-input-container-styles.js';
|
|
6
7
|
import '@vaadin/vaadin-material-styles/font-icons.js';
|
|
7
8
|
import { item } from '@vaadin/item/theme/material/vaadin-item-styles.js';
|
|
8
9
|
import { listBox } from '@vaadin/list-box/theme/material/vaadin-list-box-styles.js';
|
|
@@ -3,6 +3,5 @@
|
|
|
3
3
|
* Copyright (c) 2017 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
|
-
import '@vaadin/input-container/theme/material/vaadin-input-container.js';
|
|
7
6
|
import './vaadin-select-styles.js';
|
|
8
7
|
import '../../src/vaadin-select.js';
|
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.2.0-
|
|
4
|
+
"version": "24.2.0-beta3",
|
|
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' },\n { label: 'Rating: high to low', value: 'rating-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\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.2.0-
|
|
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' },\n { label: 'Rating: high to low', value: 'rating-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\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.2.0-beta3/#/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.2.0-beta3/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta3/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta3/#/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",
|
|
@@ -169,17 +169,6 @@
|
|
|
169
169
|
]
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
|
-
{
|
|
173
|
-
"name": "dirty",
|
|
174
|
-
"description": "Whether the field is dirty.\n\nThe field is automatically marked as dirty once the user triggers\na `change` event. Additionally, the field can be manually marked\nas dirty by setting the property to `true`.",
|
|
175
|
-
"value": {
|
|
176
|
-
"type": [
|
|
177
|
-
"boolean",
|
|
178
|
-
"null",
|
|
179
|
-
"undefined"
|
|
180
|
-
]
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
172
|
{
|
|
184
173
|
"name": "theme",
|
|
185
174
|
"description": "The theme variants to apply to the component.",
|
|
@@ -371,17 +360,6 @@
|
|
|
371
360
|
"boolean"
|
|
372
361
|
]
|
|
373
362
|
}
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"name": "dirty",
|
|
377
|
-
"description": "Whether the field is dirty.\n\nThe field is automatically marked as dirty once the user triggers\na `change` event. Additionally, the field can be manually marked\nas dirty by setting the property to `true`.",
|
|
378
|
-
"value": {
|
|
379
|
-
"type": [
|
|
380
|
-
"boolean",
|
|
381
|
-
"null",
|
|
382
|
-
"undefined"
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
363
|
}
|
|
386
364
|
],
|
|
387
365
|
"events": [
|
|
@@ -404,10 +382,6 @@
|
|
|
404
382
|
{
|
|
405
383
|
"name": "value-changed",
|
|
406
384
|
"description": "Fired when the `value` property changes."
|
|
407
|
-
},
|
|
408
|
-
{
|
|
409
|
-
"name": "dirty-changed",
|
|
410
|
-
"description": "Fired when the `dirty` property changes."
|
|
411
385
|
}
|
|
412
386
|
]
|
|
413
387
|
}
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/select",
|
|
4
|
-
"version": "24.2.0-
|
|
4
|
+
"version": "24.2.0-beta3",
|
|
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' },\n { label: 'Rating: high to low', value: 'rating-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\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.2.0-
|
|
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' },\n { label: 'Rating: high to low', value: 'rating-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\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.2.0-beta3/#/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.2.0-beta3/#/elements/vaadin-overlay).\n- `<vaadin-select-value-button>` - has the same API as [`<vaadin-button>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta3/#/elements/vaadin-button).\n- [`<vaadin-input-container>`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta3/#/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
|
{
|
|
@@ -61,13 +61,6 @@
|
|
|
61
61
|
"kind": "expression"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
{
|
|
65
|
-
"name": "?dirty",
|
|
66
|
-
"description": "Whether the field is dirty.\n\nThe field is automatically marked as dirty once the user triggers\na `change` event. Additionally, the field can be manually marked\nas dirty by setting the property to `true`.",
|
|
67
|
-
"value": {
|
|
68
|
-
"kind": "expression"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
64
|
{
|
|
72
65
|
"name": ".label",
|
|
73
66
|
"description": "The label text for the input node.\nWhen no light dom defined via [slot=label], this value will be used.",
|
|
@@ -179,13 +172,6 @@
|
|
|
179
172
|
"value": {
|
|
180
173
|
"kind": "expression"
|
|
181
174
|
}
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
"name": "@dirty-changed",
|
|
185
|
-
"description": "Fired when the `dirty` property changes.",
|
|
186
|
-
"value": {
|
|
187
|
-
"kind": "expression"
|
|
188
|
-
}
|
|
189
175
|
}
|
|
190
176
|
]
|
|
191
177
|
}
|