@vaadin/multi-select-combo-box 24.0.0-beta1 → 24.0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/multi-select-combo-box",
3
- "version": "24.0.0-beta1",
3
+ "version": "24.0.0-beta3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,14 +37,14 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@polymer/polymer": "^3.0.0",
40
- "@vaadin/combo-box": "24.0.0-beta1",
41
- "@vaadin/component-base": "24.0.0-beta1",
42
- "@vaadin/field-base": "24.0.0-beta1",
43
- "@vaadin/input-container": "24.0.0-beta1",
44
- "@vaadin/lit-renderer": "24.0.0-beta1",
45
- "@vaadin/vaadin-lumo-styles": "24.0.0-beta1",
46
- "@vaadin/vaadin-material-styles": "24.0.0-beta1",
47
- "@vaadin/vaadin-themable-mixin": "24.0.0-beta1"
40
+ "@vaadin/combo-box": "24.0.0-beta3",
41
+ "@vaadin/component-base": "24.0.0-beta3",
42
+ "@vaadin/field-base": "24.0.0-beta3",
43
+ "@vaadin/input-container": "24.0.0-beta3",
44
+ "@vaadin/lit-renderer": "24.0.0-beta3",
45
+ "@vaadin/vaadin-lumo-styles": "24.0.0-beta3",
46
+ "@vaadin/vaadin-material-styles": "24.0.0-beta3",
47
+ "@vaadin/vaadin-themable-mixin": "24.0.0-beta3"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@esm-bundle/chai": "^4.3.4",
@@ -56,5 +56,5 @@
56
56
  "web-types.json",
57
57
  "web-types.lit.json"
58
58
  ],
59
- "gitHead": "c5b48921a62482746df8e46994b37e1490fec27e"
59
+ "gitHead": "4daeac63327393aacd9cfaa5abeb031ea86b14a5"
60
60
  }
@@ -152,20 +152,6 @@ class MultiSelectComboBoxInternal extends ComboBoxDataProviderMixin(ComboBoxMixi
152
152
  super._initScroller(comboBox);
153
153
  }
154
154
 
155
- /**
156
- * Override method from `InputMixin`.
157
- *
158
- * @protected
159
- * @override
160
- */
161
- clear() {
162
- super.clear();
163
-
164
- if (this.inputElement) {
165
- this.inputElement.value = '';
166
- }
167
- }
168
-
169
155
  /**
170
156
  * Override Enter handler to keep overlay open
171
157
  * when item is selected or unselected.
@@ -16,6 +16,7 @@ import type { ElementMixinClass } from '@vaadin/component-base/src/element-mixin
16
16
  import type { FocusMixinClass } from '@vaadin/component-base/src/focus-mixin.js';
17
17
  import type { KeyboardMixinClass } from '@vaadin/component-base/src/keyboard-mixin.js';
18
18
  import type { ResizeMixinClass } from '@vaadin/component-base/src/resize-mixin.js';
19
+ import type { ClearButtonMixinClass } from '@vaadin/field-base/src/clear-button-mixin.js';
19
20
  import type { FieldMixinClass } from '@vaadin/field-base/src/field-mixin.js';
20
21
  import type { InputConstraintsMixinClass } from '@vaadin/field-base/src/input-constraints-mixin.js';
21
22
  import type { InputControlMixinClass } from '@vaadin/field-base/src/input-control-mixin.js';
@@ -339,6 +340,7 @@ interface MultiSelectComboBox
339
340
  SlotStylesMixinClass,
340
341
  LabelMixinClass,
341
342
  KeyboardMixinClass,
343
+ ClearButtonMixinClass,
342
344
  Omit<InputMixinClass, 'value'>,
343
345
  InputControlMixinClass,
344
346
  InputConstraintsMixinClass,
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.0.0-alpha12",
4
+ "version": "24.0.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -99,30 +99,30 @@
99
99
  }
100
100
  },
101
101
  {
102
- "name": "allowed-char-pattern",
103
- "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-]\"`",
102
+ "name": "clear-button-visible",
103
+ "description": "Set to true to display the clear icon which clears the input.",
104
104
  "value": {
105
105
  "type": [
106
- "string",
106
+ "boolean",
107
107
  "null",
108
108
  "undefined"
109
109
  ]
110
110
  }
111
111
  },
112
112
  {
113
- "name": "autoselect",
114
- "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
113
+ "name": "allowed-char-pattern",
114
+ "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-]\"`",
115
115
  "value": {
116
116
  "type": [
117
- "boolean",
117
+ "string",
118
118
  "null",
119
119
  "undefined"
120
120
  ]
121
121
  }
122
122
  },
123
123
  {
124
- "name": "clear-button-visible",
125
- "description": "Set to true to display the clear icon which clears the input.",
124
+ "name": "autoselect",
125
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
126
126
  "value": {
127
127
  "type": [
128
128
  "boolean",
@@ -388,30 +388,30 @@
388
388
  }
389
389
  },
390
390
  {
391
- "name": "allowedCharPattern",
392
- "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-]\"`",
391
+ "name": "clearButtonVisible",
392
+ "description": "Set to true to display the clear icon which clears the input.",
393
393
  "value": {
394
394
  "type": [
395
- "string",
395
+ "boolean",
396
396
  "null",
397
397
  "undefined"
398
398
  ]
399
399
  }
400
400
  },
401
401
  {
402
- "name": "autoselect",
403
- "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
402
+ "name": "allowedCharPattern",
403
+ "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-]\"`",
404
404
  "value": {
405
405
  "type": [
406
- "boolean",
406
+ "string",
407
407
  "null",
408
408
  "undefined"
409
409
  ]
410
410
  }
411
411
  },
412
412
  {
413
- "name": "clearButtonVisible",
414
- "description": "Set to true to display the clear icon which clears the input.",
413
+ "name": "autoselect",
414
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
415
415
  "value": {
416
416
  "type": [
417
417
  "boolean",
@@ -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.0.0-alpha12",
4
+ "version": "24.0.0-beta3",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -48,15 +48,15 @@
48
48
  }
49
49
  },
50
50
  {
51
- "name": "?autoselect",
52
- "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
51
+ "name": "?clearButtonVisible",
52
+ "description": "Set to true to display the clear icon which clears the input.",
53
53
  "value": {
54
54
  "kind": "expression"
55
55
  }
56
56
  },
57
57
  {
58
- "name": "?clearButtonVisible",
59
- "description": "Set to true to display the clear icon which clears the input.",
58
+ "name": "?autoselect",
59
+ "description": "If true, the input text gets fully selected when the field is focused using click or touch / tap.",
60
60
  "value": {
61
61
  "kind": "expression"
62
62
  }