File tree Expand file tree Collapse file tree 4 files changed +83
-20
lines changed
multi-select-combo-box/src Expand file tree Collapse file tree 4 files changed +83
-20
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,31 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
11
11
import { ComboBoxItemMixin } from './vaadin-combo-box-item-mixin.js' ;
12
12
13
13
/**
14
- * LitElement based version of `<vaadin-combo-box-item >` web component .
14
+ * An item element used by the `<vaadin-combo-box>` dropdown .
15
15
*
16
- * ## Disclaimer
16
+ * ### Styling
17
17
*
18
- * This component is an experiment and not yet a part of Vaadin platform.
19
- * There is no ETA regarding specific Vaadin version where it'll land.
20
- * Feel free to try this code in your apps as per Apache 2.0 license.
18
+ * The following shadow DOM parts are available for styling:
19
+ *
20
+ * Part name | Description
21
+ * ------------|--------------
22
+ * `checkmark` | The graphical checkmark shown for a selected item
23
+ * `content` | The element that wraps the item content
24
+ *
25
+ * The following state attributes are exposed for styling:
26
+ *
27
+ * Attribute | Description
28
+ * -------------|-------------
29
+ * `selected` | Set when the item is selected
30
+ * `focused` | Set when the item is focused
31
+ *
32
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
33
+ *
34
+ * @customElement
35
+ * @mixes ComboBoxItemMixin
36
+ * @mixes ThemableMixin
37
+ * @mixes DirMixin
38
+ * @private
21
39
*/
22
40
export class ComboBoxItem extends ComboBoxItemMixin ( ThemableMixin ( DirMixin ( PolylitMixin ( LitElement ) ) ) ) {
23
41
static get is ( ) {
Original file line number Diff line number Diff line change @@ -10,13 +10,22 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
10
10
import { multiSelectComboBoxChip } from './vaadin-multi-select-combo-box-styles.js' ;
11
11
12
12
/**
13
- * LitElement based version of `<vaadin-multi-select-combo-box-chip >` web component .
13
+ * An element used by `<vaadin-multi-select-combo-box>` to display selected items .
14
14
*
15
- * ## Disclaimer
15
+ * ### Styling
16
16
*
17
- * This component is an experiment and not yet a part of Vaadin platform.
18
- * There is no ETA regarding specific Vaadin version where it'll land.
19
- * Feel free to try this code in your apps as per Apache 2.0 license.
17
+ * The following shadow DOM parts are available for styling:
18
+ *
19
+ * Part name | Description
20
+ * -----------------|-------------
21
+ * `label` | Element containing the label
22
+ * `remove-button` | Remove button
23
+ *
24
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
25
+ *
26
+ * @customElement
27
+ * @extends HTMLElement
28
+ * @private
20
29
*/
21
30
class MultiSelectComboBoxChip extends ThemableMixin ( PolylitMixin ( LitElement ) ) {
22
31
static get is ( ) {
Original file line number Diff line number Diff line change @@ -11,13 +11,31 @@ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
11
11
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js' ;
12
12
13
13
/**
14
- * LitElement based version of `<vaadin-multi-select-combo-box-item >` web component .
14
+ * An item element used by the `<vaadin-multi-select-combo-box>` dropdown .
15
15
*
16
- * ## Disclaimer
16
+ * ### Styling
17
17
*
18
- * This component is an experiment and not yet a part of Vaadin platform.
19
- * There is no ETA regarding specific Vaadin version where it'll land.
20
- * Feel free to try this code in your apps as per Apache 2.0 license.
18
+ * The following shadow DOM parts are available for styling:
19
+ *
20
+ * Part name | Description
21
+ * ------------|--------------
22
+ * `checkmark` | The graphical checkmark shown for a selected item
23
+ * `content` | The element that wraps the item content
24
+ *
25
+ * The following state attributes are exposed for styling:
26
+ *
27
+ * Attribute | Description
28
+ * -------------|-------------
29
+ * `selected` | Set when the item is selected
30
+ * `focused` | Set when the item is focused
31
+ *
32
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
33
+ *
34
+ * @customElement
35
+ * @mixes ComboBoxItemMixin
36
+ * @mixes ThemableMixin
37
+ * @mixes DirMixin
38
+ * @private
21
39
*/
22
40
export class MultiSelectComboBoxItem extends ComboBoxItemMixin ( ThemableMixin ( DirMixin ( PolylitMixin ( LitElement ) ) ) ) {
23
41
static get is ( ) {
Original file line number Diff line number Diff line change @@ -11,13 +11,31 @@ import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
11
11
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js' ;
12
12
13
13
/**
14
- * LitElement based version of `<vaadin-time-picker-item >` web component .
14
+ * An item element used by the `<vaadin-time-picker>` dropdown .
15
15
*
16
- * ## Disclaimer
16
+ * ### Styling
17
17
*
18
- * This component is an experiment and not yet a part of Vaadin platform.
19
- * There is no ETA regarding specific Vaadin version where it'll land.
20
- * Feel free to try this code in your apps as per Apache 2.0 license.
18
+ * The following shadow DOM parts are available for styling:
19
+ *
20
+ * Part name | Description
21
+ * ------------|--------------
22
+ * `checkmark` | The graphical checkmark shown for a selected item
23
+ * `content` | The element that wraps the item content
24
+ *
25
+ * The following state attributes are exposed for styling:
26
+ *
27
+ * Attribute | Description
28
+ * -------------|-------------
29
+ * `selected` | Set when the item is selected
30
+ * `focused` | Set when the item is focused
31
+ *
32
+ * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
33
+ *
34
+ * @customElement
35
+ * @mixes ComboBoxItemMixin
36
+ * @mixes ThemableMixin
37
+ * @mixes DirMixin
38
+ * @private
21
39
*/
22
40
export class TimePickerItem extends ComboBoxItemMixin ( ThemableMixin ( DirMixin ( PolylitMixin ( LitElement ) ) ) ) {
23
41
static get is ( ) {
You can’t perform that action at this time.
0 commit comments