@vaadin/multi-select-combo-box 25.3.0-dev.3a3c2d7d2a → 25.3.0

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.
@@ -26,6 +26,20 @@
26
26
  "description": "",
27
27
  "name": "MultiSelectComboBoxMixin",
28
28
  "members": [
29
+ {
30
+ "kind": "field",
31
+ "name": "accessibleDescriptionRef",
32
+ "privacy": "public",
33
+ "type": {
34
+ "text": "string"
35
+ },
36
+ "description": "A space-separated list of IDs referencing the elements that\ndescribe the component for screen reader users. The referenced\nelements are announced in addition to the helper text and\nthe error message.",
37
+ "attribute": "accessible-description-ref",
38
+ "inheritedFrom": {
39
+ "name": "FieldMixin",
40
+ "package": "@vaadin/field-base/src/field-mixin.js"
41
+ }
42
+ },
29
43
  {
30
44
  "kind": "field",
31
45
  "name": "accessibleName",
@@ -33,7 +47,7 @@
33
47
  "type": {
34
48
  "text": "string"
35
49
  },
36
- "description": "String used to label the component to screen reader users.",
50
+ "description": "String used to label the component for screen reader users.",
37
51
  "attribute": "accessible-name",
38
52
  "inheritedFrom": {
39
53
  "name": "FieldMixin",
@@ -47,7 +61,7 @@
47
61
  "type": {
48
62
  "text": "string"
49
63
  },
50
- "description": "Id of the element used as label of the component to screen reader users.",
64
+ "description": "A space-separated list of IDs referencing the elements that\nlabel the component for screen reader users.",
51
65
  "attribute": "accessible-name-ref",
52
66
  "inheritedFrom": {
53
67
  "name": "FieldMixin",
@@ -170,7 +184,7 @@
170
184
  "type": {
171
185
  "text": "boolean"
172
186
  },
173
- "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
187
+ "description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
174
188
  "attribute": "clear-button-visible",
175
189
  "inheritedFrom": {
176
190
  "name": "ClearButtonMixin",
@@ -334,8 +348,12 @@
334
348
  "type": {
335
349
  "text": "string"
336
350
  },
337
- "description": "Path for the id of the item, used to detect whether the item is selected.",
338
- "attribute": "item-id-path"
351
+ "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin the selection and in `filteredItems` (items given by the\n`dataProvider` callback).",
352
+ "attribute": "item-id-path",
353
+ "inheritedFrom": {
354
+ "name": "ComboBoxItemsMixin",
355
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
356
+ }
339
357
  },
340
358
  {
341
359
  "kind": "field",
@@ -492,6 +510,20 @@
492
510
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
493
511
  }
494
512
  },
513
+ {
514
+ "kind": "field",
515
+ "name": "partialMatchMode",
516
+ "privacy": "public",
517
+ "type": {
518
+ "text": "string"
519
+ },
520
+ "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`.",
521
+ "attribute": "partial-match-mode",
522
+ "inheritedFrom": {
523
+ "name": "ComboBoxItemsMixin",
524
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
525
+ }
526
+ },
495
527
  {
496
528
  "kind": "field",
497
529
  "name": "placeholder",
@@ -533,7 +565,11 @@
533
565
  {
534
566
  "kind": "method",
535
567
  "name": "requestContentUpdate",
536
- "description": "Requests an update for the content of items.\nWhile performing the update, it invokes the renderer (passed in the `renderer` property) once an item.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested."
568
+ "description": "Requests an update for the content of items.\nWhile performing the update, it invokes the renderer (passed in the `renderer` property) once an item.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
569
+ "inheritedFrom": {
570
+ "name": "ComboBoxItemsMixin",
571
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
572
+ }
537
573
  },
538
574
  {
539
575
  "kind": "field",
@@ -655,12 +691,24 @@
655
691
  }
656
692
  ],
657
693
  "attributes": [
694
+ {
695
+ "name": "accessible-description-ref",
696
+ "type": {
697
+ "text": "string"
698
+ },
699
+ "description": "A space-separated list of IDs referencing the elements that\ndescribe the component for screen reader users. The referenced\nelements are announced in addition to the helper text and\nthe error message.",
700
+ "fieldName": "accessibleDescriptionRef",
701
+ "inheritedFrom": {
702
+ "name": "FieldMixin",
703
+ "package": "@vaadin/field-base/src/field-mixin.js"
704
+ }
705
+ },
658
706
  {
659
707
  "name": "accessible-name",
660
708
  "type": {
661
709
  "text": "string"
662
710
  },
663
- "description": "String used to label the component to screen reader users.",
711
+ "description": "String used to label the component for screen reader users.",
664
712
  "fieldName": "accessibleName",
665
713
  "inheritedFrom": {
666
714
  "name": "FieldMixin",
@@ -672,7 +720,7 @@
672
720
  "type": {
673
721
  "text": "string"
674
722
  },
675
- "description": "Id of the element used as label of the component to screen reader users.",
723
+ "description": "A space-separated list of IDs referencing the elements that\nlabel the component for screen reader users.",
676
724
  "fieldName": "accessibleNameRef",
677
725
  "inheritedFrom": {
678
726
  "name": "FieldMixin",
@@ -756,7 +804,7 @@
756
804
  "type": {
757
805
  "text": "boolean"
758
806
  },
759
- "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
807
+ "description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
760
808
  "fieldName": "clearButtonVisible",
761
809
  "inheritedFrom": {
762
810
  "name": "ClearButtonMixin",
@@ -860,8 +908,12 @@
860
908
  "type": {
861
909
  "text": "string"
862
910
  },
863
- "description": "Path for the id of the item, used to detect whether the item is selected.",
864
- "fieldName": "itemIdPath"
911
+ "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin the selection and in `filteredItems` (items given by the\n`dataProvider` callback).",
912
+ "fieldName": "itemIdPath",
913
+ "inheritedFrom": {
914
+ "name": "ComboBoxItemsMixin",
915
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
916
+ }
865
917
  },
866
918
  {
867
919
  "name": "item-label-path",
@@ -963,6 +1015,18 @@
963
1015
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
964
1016
  }
965
1017
  },
1018
+ {
1019
+ "name": "partial-match-mode",
1020
+ "type": {
1021
+ "text": "string"
1022
+ },
1023
+ "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`.",
1024
+ "fieldName": "partialMatchMode",
1025
+ "inheritedFrom": {
1026
+ "name": "ComboBoxItemsMixin",
1027
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1028
+ }
1029
+ },
966
1030
  {
967
1031
  "name": "placeholder",
968
1032
  "type": {
@@ -1110,9 +1174,23 @@
1110
1174
  "declarations": [
1111
1175
  {
1112
1176
  "kind": "class",
1113
- "description": "`<vaadin-multi-select-combo-box>` is a web component that wraps `<vaadin-combo-box>` and extends\nits functionality to allow selecting multiple items, in addition to basic features.\n\n```html\n<vaadin-multi-select-combo-box id=\"comboBox\"></vaadin-multi-select-combo-box>\n```\n\n```js\nconst comboBox = document.querySelector('#comboBox');\ncomboBox.items = ['apple', 'banana', 'lemon', 'orange'];\ncomboBox.selectedItems = ['lemon', 'orange'];\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-----------------------|----------------\n`chips` | The element that wraps slotted chips for selected items\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on both clear and toggle buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`toggle-button` | The toggle button\n`overlay` | The overlay container\n`content` | The overlay content\n`loader` | The loading indicator shown while loading items\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------------|-----------------\n`disabled` | Set to a disabled element\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`loading` | Set when loading items from the data provider\n`opened` | Set when the dropdown is open\n`readonly` | Set to a readonly element\n\nThe following custom CSS properties are available for styling:\n\nCustom property | Description | Default\n-----------------------------------------------------|----------------------------|--------\n`--vaadin-field-default-width` | Default width of the field | `12em`\n`--vaadin-multi-select-combo-box-overlay-width` | Width of the overlay | `auto`\n`--vaadin-multi-select-combo-box-overlay-max-height` | Max height of the overlay | `65vh`\n`--vaadin-multi-select-combo-box-input-min-width` | Min width of the input | `4em`\n\n### Internal components\n\nIn addition to `<vaadin-multi-select-combo-box>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-multi-select-combo-box-chip>`\n- `<vaadin-multi-select-combo-box-item>` - has the same API as `<vaadin-item>`.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
1177
+ "description": "`<vaadin-multi-select-combo-box>` is a web component that wraps `<vaadin-combo-box>` and extends\nits functionality to allow selecting multiple items, in addition to basic features.\n\n```html\n<vaadin-multi-select-combo-box id=\"comboBox\"></vaadin-multi-select-combo-box>\n```\n\n```js\nconst comboBox = document.querySelector('#comboBox');\ncomboBox.items = ['apple', 'banana', 'lemon', 'orange'];\ncomboBox.selectedItems = ['lemon', 'orange'];\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n-----------------------|----------------\n`chips` | The element that wraps slotted chips for selected items\n`label` | The label element\n`input-field` | The element that wraps prefix, value and suffix\n`field-button` | Set on both clear and toggle buttons\n`clear-button` | The clear button\n`error-message` | The error message element\n`helper-text` | The helper text element wrapper\n`required-indicator` | The `required` state indicator element\n`toggle-button` | The toggle button\n`overlay` | The overlay container\n`content` | The overlay content\n`loader` | The loading indicator shown while loading items\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------------|-----------------\n`disabled` | Set to a disabled element\n`has-value` | Set when the element has a value\n`has-label` | Set when the element has a label\n`has-helper` | Set when the element has helper text or slot\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`focus-ring` | Set when the element is keyboard focused\n`loading` | Set when loading items from the data provider\n`opened` | Set when the dropdown is open\n`readonly` | Set to a readonly element\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:-------------------------------------------------------|\n| `--vaadin-chip-background` |\n| `--vaadin-chip-border-color` |\n| `--vaadin-chip-border-radius` |\n| `--vaadin-chip-border-width` |\n| `--vaadin-chip-font-size` |\n| `--vaadin-chip-font-weight` |\n| `--vaadin-chip-gap` |\n| `--vaadin-chip-height` |\n| `--vaadin-chip-padding` |\n| `--vaadin-chip-remove-button-text-color` |\n| `--vaadin-chip-text-color` |\n| `--vaadin-field-default-width` |\n| `--vaadin-input-field-background` |\n| `--vaadin-input-field-border-color` |\n| `--vaadin-input-field-border-radius` |\n| `--vaadin-input-field-border-width` |\n| `--vaadin-input-field-bottom-end-radius` |\n| `--vaadin-input-field-bottom-start-radius` |\n| `--vaadin-input-field-button-text-color` |\n| `--vaadin-input-field-container-gap` |\n| `--vaadin-input-field-disabled-background` |\n| `--vaadin-input-field-disabled-text-color` |\n| `--vaadin-input-field-error-color` |\n| `--vaadin-input-field-error-font-size` |\n| `--vaadin-input-field-error-font-weight` |\n| `--vaadin-input-field-error-line-height` |\n| `--vaadin-input-field-gap` |\n| `--vaadin-input-field-helper-color` |\n| `--vaadin-input-field-helper-font-size` |\n| `--vaadin-input-field-helper-font-weight` |\n| `--vaadin-input-field-helper-line-height` |\n| `--vaadin-input-field-label-color` |\n| `--vaadin-input-field-label-font-size` |\n| `--vaadin-input-field-label-font-weight` |\n| `--vaadin-input-field-label-line-height` |\n| `--vaadin-input-field-padding` |\n| `--vaadin-input-field-placeholder-color` |\n| `--vaadin-input-field-required-indicator` |\n| `--vaadin-input-field-required-indicator-color` |\n| `--vaadin-input-field-top-end-radius` |\n| `--vaadin-input-field-top-start-radius` |\n| `--vaadin-input-field-value-color` |\n| `--vaadin-input-field-value-font-size` |\n| `--vaadin-input-field-value-font-weight` |\n| `--vaadin-input-field-value-line-height` |\n| `--vaadin-item-overlay-padding` |\n| `--vaadin-multi-select-combo-box-chip-min-width` |\n| `--vaadin-multi-select-combo-box-chips-gap` |\n| `--vaadin-multi-select-combo-box-input-min-width` |\n| `--vaadin-multi-select-combo-box-overlay-max-height` |\n| `--vaadin-multi-select-combo-box-overlay-width` |\n\n### Internal components\n\nIn addition to `<vaadin-multi-select-combo-box>` itself, the following internal\ncomponents are themable:\n\n- `<vaadin-multi-select-combo-box-chip>`\n- `<vaadin-multi-select-combo-box-item>` - has the same API as `<vaadin-item>`.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
1114
1178
  "name": "MultiSelectComboBox",
1115
1179
  "members": [
1180
+ {
1181
+ "kind": "field",
1182
+ "name": "accessibleDescriptionRef",
1183
+ "privacy": "public",
1184
+ "type": {
1185
+ "text": "string"
1186
+ },
1187
+ "description": "A space-separated list of IDs referencing the elements that\ndescribe the component for screen reader users. The referenced\nelements are announced in addition to the helper text and\nthe error message.",
1188
+ "attribute": "accessible-description-ref",
1189
+ "inheritedFrom": {
1190
+ "name": "FieldMixin",
1191
+ "package": "@vaadin/field-base/src/field-mixin.js"
1192
+ }
1193
+ },
1116
1194
  {
1117
1195
  "kind": "field",
1118
1196
  "name": "accessibleName",
@@ -1120,7 +1198,7 @@
1120
1198
  "type": {
1121
1199
  "text": "string"
1122
1200
  },
1123
- "description": "String used to label the component to screen reader users.",
1201
+ "description": "String used to label the component for screen reader users.",
1124
1202
  "attribute": "accessible-name",
1125
1203
  "inheritedFrom": {
1126
1204
  "name": "FieldMixin",
@@ -1134,7 +1212,7 @@
1134
1212
  "type": {
1135
1213
  "text": "string"
1136
1214
  },
1137
- "description": "Id of the element used as label of the component to screen reader users.",
1215
+ "description": "A space-separated list of IDs referencing the elements that\nlabel the component for screen reader users.",
1138
1216
  "attribute": "accessible-name-ref",
1139
1217
  "inheritedFrom": {
1140
1218
  "name": "FieldMixin",
@@ -1269,7 +1347,7 @@
1269
1347
  "type": {
1270
1348
  "text": "boolean"
1271
1349
  },
1272
- "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
1350
+ "description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
1273
1351
  "attribute": "clear-button-visible",
1274
1352
  "inheritedFrom": {
1275
1353
  "name": "ClearButtonMixin",
@@ -1441,11 +1519,11 @@
1441
1519
  "type": {
1442
1520
  "text": "string"
1443
1521
  },
1444
- "description": "Path for the id of the item, used to detect whether the item is selected.",
1522
+ "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin the selection and in `filteredItems` (items given by the\n`dataProvider` callback).",
1445
1523
  "attribute": "item-id-path",
1446
1524
  "inheritedFrom": {
1447
- "name": "MultiSelectComboBoxMixin",
1448
- "module": "src/vaadin-multi-select-combo-box-mixin.js"
1525
+ "name": "ComboBoxItemsMixin",
1526
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1449
1527
  }
1450
1528
  },
1451
1529
  {
@@ -1611,6 +1689,20 @@
1611
1689
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
1612
1690
  }
1613
1691
  },
1692
+ {
1693
+ "kind": "field",
1694
+ "name": "partialMatchMode",
1695
+ "privacy": "public",
1696
+ "type": {
1697
+ "text": "string"
1698
+ },
1699
+ "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`.",
1700
+ "attribute": "partial-match-mode",
1701
+ "inheritedFrom": {
1702
+ "name": "ComboBoxItemsMixin",
1703
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1704
+ }
1705
+ },
1614
1706
  {
1615
1707
  "kind": "field",
1616
1708
  "name": "placeholder",
@@ -1658,8 +1750,8 @@
1658
1750
  "name": "requestContentUpdate",
1659
1751
  "description": "Requests an update for the content of items.\nWhile performing the update, it invokes the renderer (passed in the `renderer` property) once an item.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
1660
1752
  "inheritedFrom": {
1661
- "name": "MultiSelectComboBoxMixin",
1662
- "module": "src/vaadin-multi-select-combo-box-mixin.js"
1753
+ "name": "ComboBoxItemsMixin",
1754
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
1663
1755
  }
1664
1756
  },
1665
1757
  {
@@ -1806,41 +1898,25 @@
1806
1898
  "name": "validated"
1807
1899
  }
1808
1900
  ],
1809
- "mixins": [
1810
- {
1811
- "name": "MultiSelectComboBoxMixin",
1812
- "module": "src/vaadin-multi-select-combo-box-mixin.js"
1813
- },
1814
- {
1815
- "name": "ThemableMixin",
1816
- "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
1817
- },
1818
- {
1819
- "name": "ElementMixin",
1820
- "package": "@vaadin/component-base/src/element-mixin.js"
1821
- },
1901
+ "attributes": [
1822
1902
  {
1823
- "name": "PolylitMixin",
1824
- "package": "@vaadin/component-base/src/polylit-mixin.js"
1903
+ "name": "accessible-description-ref",
1904
+ "type": {
1905
+ "text": "string"
1906
+ },
1907
+ "description": "A space-separated list of IDs referencing the elements that\ndescribe the component for screen reader users. The referenced\nelements are announced in addition to the helper text and\nthe error message.",
1908
+ "fieldName": "accessibleDescriptionRef",
1909
+ "inheritedFrom": {
1910
+ "name": "FieldMixin",
1911
+ "package": "@vaadin/field-base/src/field-mixin.js"
1912
+ }
1825
1913
  },
1826
- {
1827
- "name": "LumoInjectionMixin",
1828
- "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
1829
- }
1830
- ],
1831
- "superclass": {
1832
- "name": "LitElement",
1833
- "package": "lit"
1834
- },
1835
- "tagName": "vaadin-multi-select-combo-box",
1836
- "customElement": true,
1837
- "attributes": [
1838
1914
  {
1839
1915
  "name": "accessible-name",
1840
1916
  "type": {
1841
1917
  "text": "string"
1842
1918
  },
1843
- "description": "String used to label the component to screen reader users.",
1919
+ "description": "String used to label the component for screen reader users.",
1844
1920
  "fieldName": "accessibleName",
1845
1921
  "inheritedFrom": {
1846
1922
  "name": "FieldMixin",
@@ -1852,7 +1928,7 @@
1852
1928
  "type": {
1853
1929
  "text": "string"
1854
1930
  },
1855
- "description": "Id of the element used as label of the component to screen reader users.",
1931
+ "description": "A space-separated list of IDs referencing the elements that\nlabel the component for screen reader users.",
1856
1932
  "fieldName": "accessibleNameRef",
1857
1933
  "inheritedFrom": {
1858
1934
  "name": "FieldMixin",
@@ -1948,7 +2024,7 @@
1948
2024
  "type": {
1949
2025
  "text": "boolean"
1950
2026
  },
1951
- "description": "Set to true to display the clear icon which clears the input.\n\nIt is up to the component to choose where to place the clear icon:\nin the Shadow DOM or in the light DOM. In any way, a reference to\nthe clear icon element should be provided via the `clearElement` getter.",
2027
+ "description": "Set to true to display the clear icon which clears the input.\nThis also enables clearing the input when pressing Esc key.",
1952
2028
  "fieldName": "clearButtonVisible",
1953
2029
  "inheritedFrom": {
1954
2030
  "name": "ClearButtonMixin",
@@ -2056,11 +2132,11 @@
2056
2132
  "type": {
2057
2133
  "text": "string"
2058
2134
  },
2059
- "description": "Path for the id of the item, used to detect whether the item is selected.",
2135
+ "description": "Path for the id of the item. If `items` is an array of objects,\nthe `itemIdPath` is used to compare and identify the same item\nin the selection and in `filteredItems` (items given by the\n`dataProvider` callback).",
2060
2136
  "fieldName": "itemIdPath",
2061
2137
  "inheritedFrom": {
2062
- "name": "MultiSelectComboBoxMixin",
2063
- "module": "src/vaadin-multi-select-combo-box-mixin.js"
2138
+ "name": "ComboBoxItemsMixin",
2139
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
2064
2140
  }
2065
2141
  },
2066
2142
  {
@@ -2171,6 +2247,18 @@
2171
2247
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
2172
2248
  }
2173
2249
  },
2250
+ {
2251
+ "name": "partial-match-mode",
2252
+ "type": {
2253
+ "text": "string"
2254
+ },
2255
+ "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`.",
2256
+ "fieldName": "partialMatchMode",
2257
+ "inheritedFrom": {
2258
+ "name": "ComboBoxItemsMixin",
2259
+ "package": "@vaadin/combo-box/src/vaadin-combo-box-items-mixin.js"
2260
+ }
2261
+ },
2174
2262
  {
2175
2263
  "name": "placeholder",
2176
2264
  "type": {
@@ -2255,6 +2343,13 @@
2255
2343
  "package": "@vaadin/combo-box/src/vaadin-combo-box-data-provider-mixin.js"
2256
2344
  }
2257
2345
  },
2346
+ {
2347
+ "type": {
2348
+ "text": "string"
2349
+ },
2350
+ "description": "The theme variants to apply to the component.",
2351
+ "name": "theme"
2352
+ },
2258
2353
  {
2259
2354
  "name": "title",
2260
2355
  "type": {
@@ -2267,7 +2362,35 @@
2267
2362
  "package": "@vaadin/field-base/src/input-control-mixin.js"
2268
2363
  }
2269
2364
  }
2270
- ]
2365
+ ],
2366
+ "mixins": [
2367
+ {
2368
+ "name": "MultiSelectComboBoxMixin",
2369
+ "module": "src/vaadin-multi-select-combo-box-mixin.js"
2370
+ },
2371
+ {
2372
+ "name": "ThemableMixin",
2373
+ "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
2374
+ },
2375
+ {
2376
+ "name": "ElementMixin",
2377
+ "package": "@vaadin/component-base/src/element-mixin.js"
2378
+ },
2379
+ {
2380
+ "name": "PolylitMixin",
2381
+ "package": "@vaadin/component-base/src/polylit-mixin.js"
2382
+ },
2383
+ {
2384
+ "name": "LumoInjectionMixin",
2385
+ "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
2386
+ }
2387
+ ],
2388
+ "superclass": {
2389
+ "name": "LitElement",
2390
+ "package": "lit"
2391
+ },
2392
+ "tagName": "vaadin-multi-select-combo-box",
2393
+ "customElement": true
2271
2394
  }
2272
2395
  ],
2273
2396
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/multi-select-combo-box",
3
- "version": "25.3.0-dev.3a3c2d7d2a",
3
+ "version": "25.3.0",
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-dev.3a3c2d7d2a",
41
- "@vaadin/combo-box": "25.3.0-dev.3a3c2d7d2a",
42
- "@vaadin/component-base": "25.3.0-dev.3a3c2d7d2a",
43
- "@vaadin/field-base": "25.3.0-dev.3a3c2d7d2a",
44
- "@vaadin/input-container": "25.3.0-dev.3a3c2d7d2a",
45
- "@vaadin/item": "25.3.0-dev.3a3c2d7d2a",
46
- "@vaadin/lit-renderer": "25.3.0-dev.3a3c2d7d2a",
47
- "@vaadin/overlay": "25.3.0-dev.3a3c2d7d2a",
48
- "@vaadin/vaadin-themable-mixin": "25.3.0-dev.3a3c2d7d2a",
40
+ "@vaadin/a11y-base": "~25.3.0",
41
+ "@vaadin/combo-box": "~25.3.0",
42
+ "@vaadin/component-base": "~25.3.0",
43
+ "@vaadin/field-base": "~25.3.0",
44
+ "@vaadin/input-container": "~25.3.0",
45
+ "@vaadin/item": "~25.3.0",
46
+ "@vaadin/lit-renderer": "~25.3.0",
47
+ "@vaadin/overlay": "~25.3.0",
48
+ "@vaadin/vaadin-themable-mixin": "~25.3.0",
49
49
  "lit": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@vaadin/aura": "25.3.0-dev.3a3c2d7d2a",
53
- "@vaadin/chai-plugins": "25.3.0-dev.3a3c2d7d2a",
54
- "@vaadin/test-runner-commands": "25.3.0-dev.3a3c2d7d2a",
52
+ "@vaadin/aura": "~25.3.0",
53
+ "@vaadin/chai-plugins": "~25.3.0",
54
+ "@vaadin/test-runner-commands": "~25.3.0",
55
55
  "@vaadin/testing-helpers": "^2.0.0",
56
- "@vaadin/vaadin-lumo-styles": "25.3.0-dev.3a3c2d7d2a",
56
+ "@vaadin/vaadin-lumo-styles": "~25.3.0",
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": "ac506ca7800c23e05da55863c56bcedf12812d37"
64
+ "gitHead": "4133747243c03bf544f6e82cc2ec9f295aaccd65"
65
65
  }
@@ -24,6 +24,7 @@ import { multiSelectComboBoxChipStyles } from './styles/vaadin-multi-select-comb
24
24
  *
25
25
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
26
26
  *
27
+ * @attr {string} theme - The theme variants to apply to the component.
27
28
  * @customElement vaadin-multi-select-combo-box-chip
28
29
  * @extends HTMLElement
29
30
  * @private
@@ -34,10 +34,11 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
34
34
  *
35
35
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
36
36
  *
37
+ * @attr {string} theme - The theme variants to apply to the component.
37
38
  * @customElement vaadin-multi-select-combo-box-item
38
39
  * @private
39
40
  */
40
- export class MultiSelectComboBoxItem extends ComboBoxItemMixin(
41
+ class MultiSelectComboBoxItem extends ComboBoxItemMixin(
41
42
  ThemableMixin(DirMixin(PolylitMixin(LumoInjectionMixin(LitElement)))),
42
43
  ) {
43
44
  static get is() {
@@ -60,3 +61,5 @@ export class MultiSelectComboBoxItem extends ComboBoxItemMixin(
60
61
  }
61
62
 
62
63
  defineCustomElement(MultiSelectComboBoxItem);
64
+
65
+ export { MultiSelectComboBoxItem };
@@ -100,12 +100,6 @@ export declare class MultiSelectComboBoxMixinClass<TItem> {
100
100
  */
101
101
  itemClassNameGenerator: (item: TItem) => string;
102
102
 
103
- /**
104
- * Path for the id of the item, used to detect whether the item is selected.
105
- * @attr {string} item-id-path
106
- */
107
- itemIdPath: string;
108
-
109
103
  /**
110
104
  * The object used to localize this component. To change the default
111
105
  * localization, replace this with an object that provides all properties, or
@@ -177,12 +171,4 @@ export declare class MultiSelectComboBoxMixinClass<TItem> {
177
171
  * Clears the selected items.
178
172
  */
179
173
  clear(): void;
180
-
181
- /**
182
- * Requests an update for the content of items.
183
- * While performing the update, it invokes the renderer (passed in the `renderer` property) once an item.
184
- *
185
- * It is not guaranteed that the update happens immediately (synchronously) after it is requested.
186
- */
187
- requestContentUpdate(): void;
188
174
  }