@vaadin/multi-select-combo-box 25.3.0-alpha13 → 25.3.0-alpha14

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.
@@ -126,20 +126,6 @@
126
126
  "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
127
127
  }
128
128
  },
129
- {
130
- "kind": "field",
131
- "name": "autoFocusPartialMatch",
132
- "privacy": "public",
133
- "type": {
134
- "text": "string"
135
- },
136
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
137
- "attribute": "auto-focus-partial-match",
138
- "inheritedFrom": {
139
- "name": "ComboBoxItemsMixin",
140
- "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
141
- }
142
- },
143
129
  {
144
130
  "kind": "field",
145
131
  "name": "autoOpenDisabled",
@@ -520,6 +506,20 @@
520
506
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
521
507
  }
522
508
  },
509
+ {
510
+ "kind": "field",
511
+ "name": "partialMatchMode",
512
+ "privacy": "public",
513
+ "type": {
514
+ "text": "string"
515
+ },
516
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
517
+ "attribute": "partial-match-mode",
518
+ "inheritedFrom": {
519
+ "name": "ComboBoxItemsMixin",
520
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
521
+ }
522
+ },
523
523
  {
524
524
  "kind": "field",
525
525
  "name": "placeholder",
@@ -755,18 +755,6 @@
755
755
  "description": "Set to true to not collapse selected items chips into the overflow\nchip and instead always expand vertically, causing input field to\nwrap into multiple lines when width is limited.",
756
756
  "fieldName": "autoExpandVertically"
757
757
  },
758
- {
759
- "name": "auto-focus-partial-match",
760
- "type": {
761
- "text": "string"
762
- },
763
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
764
- "fieldName": "autoFocusPartialMatch",
765
- "inheritedFrom": {
766
- "name": "ComboBoxItemsMixin",
767
- "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
768
- }
769
- },
770
758
  {
771
759
  "name": "auto-open-disabled",
772
760
  "type": {
@@ -1015,6 +1003,18 @@
1015
1003
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
1016
1004
  }
1017
1005
  },
1006
+ {
1007
+ "name": "partial-match-mode",
1008
+ "type": {
1009
+ "text": "string"
1010
+ },
1011
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
1012
+ "fieldName": "partialMatchMode",
1013
+ "inheritedFrom": {
1014
+ "name": "ComboBoxItemsMixin",
1015
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1016
+ }
1017
+ },
1018
1018
  {
1019
1019
  "name": "placeholder",
1020
1020
  "type": {
@@ -1277,20 +1277,6 @@
1277
1277
  "package": "@vaadin/a11y-base/src/delegate-focus-mixin.js"
1278
1278
  }
1279
1279
  },
1280
- {
1281
- "kind": "field",
1282
- "name": "autoFocusPartialMatch",
1283
- "privacy": "public",
1284
- "type": {
1285
- "text": "string"
1286
- },
1287
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
1288
- "attribute": "auto-focus-partial-match",
1289
- "inheritedFrom": {
1290
- "name": "ComboBoxItemsMixin",
1291
- "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1292
- }
1293
- },
1294
1280
  {
1295
1281
  "kind": "field",
1296
1282
  "name": "autoOpenDisabled",
@@ -1691,6 +1677,20 @@
1691
1677
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
1692
1678
  }
1693
1679
  },
1680
+ {
1681
+ "kind": "field",
1682
+ "name": "partialMatchMode",
1683
+ "privacy": "public",
1684
+ "type": {
1685
+ "text": "string"
1686
+ },
1687
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
1688
+ "attribute": "partial-match-mode",
1689
+ "inheritedFrom": {
1690
+ "name": "ComboBoxItemsMixin",
1691
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1692
+ }
1693
+ },
1694
1694
  {
1695
1695
  "kind": "field",
1696
1696
  "name": "placeholder",
@@ -1971,18 +1971,6 @@
1971
1971
  "module": "src/vaadin-multi-select-combo-box-mixin.js"
1972
1972
  }
1973
1973
  },
1974
- {
1975
- "name": "auto-focus-partial-match",
1976
- "type": {
1977
- "text": "string"
1978
- },
1979
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
1980
- "fieldName": "autoFocusPartialMatch",
1981
- "inheritedFrom": {
1982
- "name": "ComboBoxItemsMixin",
1983
- "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1984
- }
1985
- },
1986
1974
  {
1987
1975
  "name": "auto-open-disabled",
1988
1976
  "type": {
@@ -2247,6 +2235,18 @@
2247
2235
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
2248
2236
  }
2249
2237
  },
2238
+ {
2239
+ "name": "partial-match-mode",
2240
+ "type": {
2241
+ "text": "string"
2242
+ },
2243
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
2244
+ "fieldName": "partialMatchMode",
2245
+ "inheritedFrom": {
2246
+ "name": "ComboBoxItemsMixin",
2247
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
2248
+ }
2249
+ },
2250
2250
  {
2251
2251
  "name": "placeholder",
2252
2252
  "type": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/multi-select-combo-box",
3
- "version": "25.3.0-alpha13",
3
+ "version": "25.3.0-alpha14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -37,23 +37,23 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
- "@vaadin/a11y-base": "25.3.0-alpha13",
41
- "@vaadin/combo-box": "25.3.0-alpha13",
42
- "@vaadin/component-base": "25.3.0-alpha13",
43
- "@vaadin/field-base": "25.3.0-alpha13",
44
- "@vaadin/input-container": "25.3.0-alpha13",
45
- "@vaadin/item": "25.3.0-alpha13",
46
- "@vaadin/lit-renderer": "25.3.0-alpha13",
47
- "@vaadin/overlay": "25.3.0-alpha13",
48
- "@vaadin/vaadin-themable-mixin": "25.3.0-alpha13",
40
+ "@vaadin/a11y-base": "25.3.0-alpha14",
41
+ "@vaadin/combo-box": "25.3.0-alpha14",
42
+ "@vaadin/component-base": "25.3.0-alpha14",
43
+ "@vaadin/field-base": "25.3.0-alpha14",
44
+ "@vaadin/input-container": "25.3.0-alpha14",
45
+ "@vaadin/item": "25.3.0-alpha14",
46
+ "@vaadin/lit-renderer": "25.3.0-alpha14",
47
+ "@vaadin/overlay": "25.3.0-alpha14",
48
+ "@vaadin/vaadin-themable-mixin": "25.3.0-alpha14",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "25.3.0-alpha13",
53
- "@vaadin/chai-plugins": "25.3.0-alpha13",
54
- "@vaadin/test-runner-commands": "25.3.0-alpha13",
52
+ "@vaadin/aura": "25.3.0-alpha14",
53
+ "@vaadin/chai-plugins": "25.3.0-alpha14",
54
+ "@vaadin/test-runner-commands": "25.3.0-alpha14",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "25.3.0-alpha13",
56
+ "@vaadin/vaadin-lumo-styles": "25.3.0-alpha14",
57
57
  "sinon": "^22.0.0"
58
58
  },
59
59
  "customElements": "custom-elements.json",
@@ -61,5 +61,5 @@
61
61
  "web-types.json",
62
62
  "web-types.lit.json"
63
63
  ],
64
- "gitHead": "e23e44d29e6bc1e47245d5e2cc0e4b022ec61818"
64
+ "gitHead": "10a01ae7a1e278af50eda7255dbb68dafc0e4caf"
65
65
  }
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": "25.3.0-alpha13",
4
+ "version": "25.3.0-alpha14",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -73,15 +73,6 @@
73
73
  ]
74
74
  }
75
75
  },
76
- {
77
- "name": "auto-focus-partial-match",
78
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
79
- "value": {
80
- "type": [
81
- "string"
82
- ]
83
- }
84
- },
85
76
  {
86
77
  "name": "auto-open-disabled",
87
78
  "description": "Set true to prevent the overlay from opening automatically.",
@@ -262,6 +253,15 @@
262
253
  ]
263
254
  }
264
255
  },
256
+ {
257
+ "name": "partial-match-mode",
258
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
259
+ "value": {
260
+ "type": [
261
+ "string"
262
+ ]
263
+ }
264
+ },
265
265
  {
266
266
  "name": "placeholder",
267
267
  "description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
@@ -400,15 +400,6 @@
400
400
  ]
401
401
  }
402
402
  },
403
- {
404
- "name": "autoFocusPartialMatch",
405
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
406
- "value": {
407
- "type": [
408
- "string"
409
- ]
410
- }
411
- },
412
403
  {
413
404
  "name": "autoOpenDisabled",
414
405
  "description": "Set true to prevent the overlay from opening automatically.",
@@ -639,6 +630,15 @@
639
630
  ]
640
631
  }
641
632
  },
633
+ {
634
+ "name": "partialMatchMode",
635
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
636
+ "value": {
637
+ "type": [
638
+ "string"
639
+ ]
640
+ }
641
+ },
642
642
  {
643
643
  "name": "placeholder",
644
644
  "description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",
@@ -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": "25.3.0-alpha13",
4
+ "version": "25.3.0-alpha14",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -75,13 +75,6 @@
75
75
  "kind": "expression"
76
76
  }
77
77
  },
78
- {
79
- "name": ".autoFocusPartialMatch",
80
- "description": "Controls whether an item whose label partially matches the typed\nfilter is automatically focused. The focused item is highlighted\nin the dropdown while typing and is selected when committing the\nvalue, for example on Enter press:\n\n- `none` (default): do not focus partial matches.\n- `first-match`: focus the first item in the filtered results.\n- `only-match`: focus the item when filtering narrows the results to a single item.\n\nAn item whose label matches the filter exactly is always focused,\nregardless of this property. Matching is case-insensitive. A partial\nmatch is not focused when `allowCustomValue` is enabled, or while\nthe dropdown is closed. For example, with `autoOpenDisabled`, typing\ndoes not focus or select a match until the dropdown is opened.",
81
- "value": {
82
- "kind": "expression"
83
- }
84
- },
85
78
  {
86
79
  "name": "?autoOpenDisabled",
87
80
  "description": "Set true to prevent the overlay from opening automatically.",
@@ -257,6 +250,13 @@
257
250
  "kind": "expression"
258
251
  }
259
252
  },
253
+ {
254
+ "name": ".partialMatchMode",
255
+ "description": "Controls which item is automatically set to be selected, for\nexample on Enter, when the typed filter only partially matches\nits label. The item that will be selected is highlighted in the\ndropdown while typing:\n\n- `none` (default): an item is automatically set to be selected only when the filter matches its label exactly.\n- `first-match`: the first item in the filtered results is automatically set to be selected.\n- `only-match`: the item is automatically set to be selected when filtering narrows the results to a single item.\n\nIn general, an exact match is always set to be selected and takes\nprecedence over partial matches, regardless of the mode.\n\nA partial match is only applied while the dropdown is open. For\nexample, when auto-open is disabled with `autoOpenDisabled`, typing\ndoes not highlight a match or set it to be selected until the\ndropdown is opened.\n\nThis feature cannot be used together with custom values, because a\npartial match is also a valid custom value. A partial match is not\napplied when custom values are allowed with `allowCustomValue`.",
256
+ "value": {
257
+ "kind": "expression"
258
+ }
259
+ },
260
260
  {
261
261
  "name": ".placeholder",
262
262
  "description": "A hint to the user of what can be entered in the control.\nThe placeholder will be only displayed in the case when\nthere is no item selected.",