@vaadin/multi-select-combo-box 24.5.0-alpha5 → 24.5.0-alpha7

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/multi-select-combo-box",
3
- "version": "24.5.0-alpha5",
3
+ "version": "24.5.0-alpha7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,17 +38,17 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/a11y-base": "24.5.0-alpha5",
42
- "@vaadin/combo-box": "24.5.0-alpha5",
43
- "@vaadin/component-base": "24.5.0-alpha5",
44
- "@vaadin/field-base": "24.5.0-alpha5",
45
- "@vaadin/input-container": "24.5.0-alpha5",
46
- "@vaadin/item": "24.5.0-alpha5",
47
- "@vaadin/lit-renderer": "24.5.0-alpha5",
48
- "@vaadin/overlay": "24.5.0-alpha5",
49
- "@vaadin/vaadin-lumo-styles": "24.5.0-alpha5",
50
- "@vaadin/vaadin-material-styles": "24.5.0-alpha5",
51
- "@vaadin/vaadin-themable-mixin": "24.5.0-alpha5"
41
+ "@vaadin/a11y-base": "24.5.0-alpha7",
42
+ "@vaadin/combo-box": "24.5.0-alpha7",
43
+ "@vaadin/component-base": "24.5.0-alpha7",
44
+ "@vaadin/field-base": "24.5.0-alpha7",
45
+ "@vaadin/input-container": "24.5.0-alpha7",
46
+ "@vaadin/item": "24.5.0-alpha7",
47
+ "@vaadin/lit-renderer": "24.5.0-alpha7",
48
+ "@vaadin/overlay": "24.5.0-alpha7",
49
+ "@vaadin/vaadin-lumo-styles": "24.5.0-alpha7",
50
+ "@vaadin/vaadin-material-styles": "24.5.0-alpha7",
51
+ "@vaadin/vaadin-themable-mixin": "24.5.0-alpha7"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@esm-bundle/chai": "^4.3.4",
@@ -60,5 +60,5 @@
60
60
  "web-types.json",
61
61
  "web-types.lit.json"
62
62
  ],
63
- "gitHead": "4e57d240ababf0c2db9d674891b90bdf3812e6ae"
63
+ "gitHead": "89f77a69ae0eba6247f2b3084941f9395d7134e1"
64
64
  }
@@ -460,7 +460,6 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
460
460
  */
461
461
  placeholder: {
462
462
  type: String,
463
- value: '',
464
463
  observer: '_placeholderChanged',
465
464
  },
466
465
 
@@ -810,9 +809,12 @@ class MultiSelectComboBox extends ResizeMixin(InputControlMixin(ThemableMixin(El
810
809
  // Use placeholder for announcing items
811
810
  if (this._hasValue) {
812
811
  const tmpPlaceholder = this._mergeItemLabels(selectedItems);
812
+ if (this.__tmpA11yPlaceholder === undefined) {
813
+ this.__savedPlaceholder = this.placeholder;
814
+ }
813
815
  this.__tmpA11yPlaceholder = tmpPlaceholder;
814
816
  this.placeholder = tmpPlaceholder;
815
- } else {
817
+ } else if (this.__tmpA11yPlaceholder !== undefined) {
816
818
  delete this.__tmpA11yPlaceholder;
817
819
  this.placeholder = this.__savedPlaceholder;
818
820
  }
@@ -23,6 +23,10 @@ const chip = css`
23
23
  -moz-osx-font-smoothing: grayscale;
24
24
  }
25
25
 
26
+ :host([disabled]) {
27
+ background-color: var(--lumo-contrast-10pct);
28
+ }
29
+
26
30
  :host([focused]) [part='remove-button'] {
27
31
  color: inherit;
28
32
  }
@@ -72,8 +72,8 @@ const multiSelectComboBox = css`
72
72
  }
73
73
 
74
74
  /* Override input-container styles */
75
- ::slotted([slot='chip']),
76
- ::slotted([slot='overflow']) {
75
+ [part='input-field'] ::slotted([slot='chip']),
76
+ [part='input-field'] ::slotted([slot='overflow']) {
77
77
  min-height: auto;
78
78
  padding: 0.3125em calc(0.5em + var(--lumo-border-radius-s) / 4);
79
79
  color: var(--lumo-body-text-color);
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "24.5.0-alpha5",
4
+ "version": "24.5.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/multi-select-combo-box",
4
- "version": "24.5.0-alpha5",
4
+ "version": "24.5.0-alpha7",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {