@vaadin/combo-box 25.1.0-beta1 → 25.1.0-beta2

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.
@@ -171,7 +171,7 @@
171
171
  "name": "size",
172
172
  "privacy": "public",
173
173
  "type": {
174
- "text": "number | undefined"
174
+ "text": "number"
175
175
  },
176
176
  "description": "Total number of items.",
177
177
  "attribute": "size"
@@ -197,7 +197,7 @@
197
197
  {
198
198
  "name": "size",
199
199
  "type": {
200
- "text": "number | undefined"
200
+ "text": "number"
201
201
  },
202
202
  "description": "Total number of items.",
203
203
  "fieldName": "size"
@@ -359,220 +359,6 @@
359
359
  }
360
360
  ]
361
361
  },
362
- {
363
- "kind": "javascript-module",
364
- "path": "src/vaadin-combo-box-item.js",
365
- "declarations": [
366
- {
367
- "kind": "class",
368
- "description": "An item element used by the `<vaadin-combo-box>` dropdown.\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n------------|--------------\n`checkmark` | The graphical checkmark shown for a selected item\n`content` | The element that wraps the item content\n\nThe following state attributes are exposed for styling:\n\nAttribute | Description\n-------------|-------------\n`selected` | Set when the item is selected\n`focused` | Set when the item is focused\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
369
- "name": "ComboBoxItem",
370
- "members": [
371
- {
372
- "kind": "field",
373
- "name": "focused",
374
- "privacy": "public",
375
- "type": {
376
- "text": "boolean"
377
- },
378
- "description": "True when item is focused.",
379
- "attribute": "focused",
380
- "inheritedFrom": {
381
- "name": "ComboBoxItemMixin",
382
- "module": "src/vaadin-combo-box-item-mixin.js"
383
- }
384
- },
385
- {
386
- "kind": "field",
387
- "name": "index",
388
- "privacy": "public",
389
- "type": {
390
- "text": "number"
391
- },
392
- "description": "The index of the item.",
393
- "attribute": "index",
394
- "inheritedFrom": {
395
- "name": "ComboBoxItemMixin",
396
- "module": "src/vaadin-combo-box-item-mixin.js"
397
- }
398
- },
399
- {
400
- "kind": "field",
401
- "name": "item",
402
- "privacy": "public",
403
- "type": {
404
- "text": "object"
405
- },
406
- "description": "The item to render.",
407
- "attribute": "item",
408
- "inheritedFrom": {
409
- "name": "ComboBoxItemMixin",
410
- "module": "src/vaadin-combo-box-item-mixin.js"
411
- }
412
- },
413
- {
414
- "kind": "field",
415
- "name": "label",
416
- "privacy": "public",
417
- "type": {
418
- "text": "string"
419
- },
420
- "description": "The text to render in the item.",
421
- "attribute": "label",
422
- "inheritedFrom": {
423
- "name": "ComboBoxItemMixin",
424
- "module": "src/vaadin-combo-box-item-mixin.js"
425
- }
426
- },
427
- {
428
- "kind": "field",
429
- "name": "renderer",
430
- "privacy": "public",
431
- "type": {
432
- "text": "function"
433
- },
434
- "description": "Custom function for rendering the item content.",
435
- "attribute": "renderer",
436
- "inheritedFrom": {
437
- "name": "ComboBoxItemMixin",
438
- "module": "src/vaadin-combo-box-item-mixin.js"
439
- }
440
- },
441
- {
442
- "kind": "method",
443
- "name": "requestContentUpdate",
444
- "description": "Requests an update for the content of the item.\nWhile performing the update, it invokes the renderer passed in the `renderer` property.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
445
- "inheritedFrom": {
446
- "name": "ComboBoxItemMixin",
447
- "module": "src/vaadin-combo-box-item-mixin.js"
448
- }
449
- },
450
- {
451
- "kind": "field",
452
- "name": "selected",
453
- "privacy": "public",
454
- "type": {
455
- "text": "boolean"
456
- },
457
- "description": "True when item is selected.",
458
- "attribute": "selected",
459
- "inheritedFrom": {
460
- "name": "ComboBoxItemMixin",
461
- "module": "src/vaadin-combo-box-item-mixin.js"
462
- }
463
- }
464
- ],
465
- "mixins": [
466
- {
467
- "name": "ComboBoxItemMixin",
468
- "module": "src/vaadin-combo-box-item-mixin.js"
469
- },
470
- {
471
- "name": "ThemableMixin",
472
- "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
473
- },
474
- {
475
- "name": "DirMixin",
476
- "package": "@vaadin/component-base/src/dir-mixin.js"
477
- },
478
- {
479
- "name": "PolylitMixin",
480
- "package": "@vaadin/component-base/src/polylit-mixin.js"
481
- },
482
- {
483
- "name": "LumoInjectionMixin",
484
- "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
485
- }
486
- ],
487
- "superclass": {
488
- "name": "LitElement",
489
- "package": "lit"
490
- },
491
- "tagName": "vaadin-combo-box-item",
492
- "customElement": true,
493
- "attributes": [
494
- {
495
- "name": "focused",
496
- "type": {
497
- "text": "boolean"
498
- },
499
- "description": "True when item is focused.",
500
- "fieldName": "focused",
501
- "inheritedFrom": {
502
- "name": "ComboBoxItemMixin",
503
- "module": "src/vaadin-combo-box-item-mixin.js"
504
- }
505
- },
506
- {
507
- "name": "hidden",
508
- "inheritedFrom": {
509
- "name": "ComboBoxItemMixin",
510
- "module": "src/vaadin-combo-box-item-mixin.js"
511
- }
512
- },
513
- {
514
- "name": "index",
515
- "type": {
516
- "text": "number"
517
- },
518
- "description": "The index of the item.",
519
- "fieldName": "index",
520
- "inheritedFrom": {
521
- "name": "ComboBoxItemMixin",
522
- "module": "src/vaadin-combo-box-item-mixin.js"
523
- }
524
- },
525
- {
526
- "name": "label",
527
- "type": {
528
- "text": "string"
529
- },
530
- "description": "The text to render in the item.",
531
- "fieldName": "label",
532
- "inheritedFrom": {
533
- "name": "ComboBoxItemMixin",
534
- "module": "src/vaadin-combo-box-item-mixin.js"
535
- }
536
- },
537
- {
538
- "name": "renderer",
539
- "type": {
540
- "text": "function"
541
- },
542
- "description": "Custom function for rendering the item content.",
543
- "fieldName": "renderer",
544
- "inheritedFrom": {
545
- "name": "ComboBoxItemMixin",
546
- "module": "src/vaadin-combo-box-item-mixin.js"
547
- }
548
- },
549
- {
550
- "name": "selected",
551
- "type": {
552
- "text": "boolean"
553
- },
554
- "description": "True when item is selected.",
555
- "fieldName": "selected",
556
- "inheritedFrom": {
557
- "name": "ComboBoxItemMixin",
558
- "module": "src/vaadin-combo-box-item-mixin.js"
559
- }
560
- }
561
- ],
562
- "events": []
563
- }
564
- ],
565
- "exports": [
566
- {
567
- "kind": "js",
568
- "name": "ComboBoxItem",
569
- "declaration": {
570
- "name": "ComboBoxItem",
571
- "module": "src/vaadin-combo-box-item.js"
572
- }
573
- }
574
- ]
575
- },
576
362
  {
577
363
  "kind": "javascript-module",
578
364
  "path": "src/vaadin-combo-box-items-mixin.js",
@@ -1359,536 +1145,6 @@
1359
1145
  }
1360
1146
  ]
1361
1147
  },
1362
- {
1363
- "kind": "javascript-module",
1364
- "path": "src/vaadin-combo-box-overlay.js",
1365
- "declarations": [
1366
- {
1367
- "kind": "class",
1368
- "description": "An element used internally by `<vaadin-combo-box>`. Not intended to be used separately.",
1369
- "name": "ComboBoxOverlay",
1370
- "members": [
1371
- {
1372
- "kind": "method",
1373
- "name": "bringToFront",
1374
- "description": "Brings the overlay as visually the frontmost one.",
1375
- "inheritedFrom": {
1376
- "name": "OverlayStackMixin",
1377
- "package": "@vaadin/overlay/src/vaadin-overlay-stack-mixin.js"
1378
- }
1379
- },
1380
- {
1381
- "kind": "method",
1382
- "name": "close",
1383
- "parameters": [
1384
- {
1385
- "name": "sourceEvent",
1386
- "type": {
1387
- "text": "Event="
1388
- }
1389
- }
1390
- ],
1391
- "inheritedFrom": {
1392
- "name": "OverlayMixin",
1393
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1394
- }
1395
- },
1396
- {
1397
- "kind": "field",
1398
- "name": "focusTrap",
1399
- "privacy": "public",
1400
- "type": {
1401
- "text": "boolean"
1402
- },
1403
- "description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
1404
- "attribute": "focus-trap",
1405
- "inheritedFrom": {
1406
- "name": "OverlayFocusMixin",
1407
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1408
- }
1409
- },
1410
- {
1411
- "kind": "field",
1412
- "name": "hidden",
1413
- "privacy": "public",
1414
- "type": {
1415
- "text": "boolean"
1416
- },
1417
- "description": "When set to true, the overlay is hidden. This also closes the overlay\nimmediately in case there is a closing animation in progress.",
1418
- "attribute": "hidden",
1419
- "inheritedFrom": {
1420
- "name": "OverlayMixin",
1421
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1422
- }
1423
- },
1424
- {
1425
- "kind": "field",
1426
- "name": "horizontalAlign",
1427
- "privacy": "public",
1428
- "type": {
1429
- "text": "string"
1430
- },
1431
- "description": "When `positionTarget` is set, this property defines whether to align the overlay's\nleft or right side to the target element by default.\nPossible values are `start` and `end`.\nRTL is taken into account when interpreting the value.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1432
- "attribute": "horizontal-align",
1433
- "inheritedFrom": {
1434
- "name": "PositionMixin",
1435
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1436
- }
1437
- },
1438
- {
1439
- "kind": "field",
1440
- "name": "model",
1441
- "privacy": "public",
1442
- "type": {
1443
- "text": "object"
1444
- },
1445
- "description": "Object with properties that is passed to `renderer` function",
1446
- "attribute": "model",
1447
- "inheritedFrom": {
1448
- "name": "OverlayMixin",
1449
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1450
- }
1451
- },
1452
- {
1453
- "kind": "field",
1454
- "name": "modeless",
1455
- "privacy": "public",
1456
- "type": {
1457
- "text": "boolean"
1458
- },
1459
- "description": "When true the overlay won't disable the main content, showing\nit doesn't change the functionality of the user interface.",
1460
- "attribute": "modeless",
1461
- "inheritedFrom": {
1462
- "name": "OverlayMixin",
1463
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1464
- }
1465
- },
1466
- {
1467
- "kind": "field",
1468
- "name": "noHorizontalOverlap",
1469
- "privacy": "public",
1470
- "type": {
1471
- "text": "boolean"
1472
- },
1473
- "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the x-axis, or be positioned right next to it.",
1474
- "attribute": "no-horizontal-overlap",
1475
- "inheritedFrom": {
1476
- "name": "PositionMixin",
1477
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1478
- }
1479
- },
1480
- {
1481
- "kind": "field",
1482
- "name": "noVerticalOverlap",
1483
- "privacy": "public",
1484
- "type": {
1485
- "text": "boolean"
1486
- },
1487
- "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the y-axis, or be positioned right above/below it.",
1488
- "attribute": "no-vertical-overlap",
1489
- "inheritedFrom": {
1490
- "name": "PositionMixin",
1491
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1492
- }
1493
- },
1494
- {
1495
- "kind": "field",
1496
- "name": "opened",
1497
- "privacy": "public",
1498
- "type": {
1499
- "text": "boolean"
1500
- },
1501
- "description": "When true, the overlay is visible and attached to body.",
1502
- "attribute": "opened",
1503
- "inheritedFrom": {
1504
- "name": "OverlayMixin",
1505
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1506
- }
1507
- },
1508
- {
1509
- "kind": "field",
1510
- "name": "owner",
1511
- "privacy": "public",
1512
- "type": {
1513
- "text": "HTMLElement"
1514
- },
1515
- "description": "Owner element passed with renderer function",
1516
- "attribute": "owner",
1517
- "inheritedFrom": {
1518
- "name": "OverlayMixin",
1519
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1520
- }
1521
- },
1522
- {
1523
- "kind": "field",
1524
- "name": "positionTarget",
1525
- "privacy": "public",
1526
- "type": {
1527
- "text": "object"
1528
- },
1529
- "description": "The element next to which this overlay should be aligned.\nThe position of the overlay relative to the positionTarget can be adjusted\nwith properties `horizontalAlign`, `verticalAlign`, `noHorizontalOverlap`\nand `noVerticalOverlap`.",
1530
- "attribute": "position-target",
1531
- "inheritedFrom": {
1532
- "name": "PositionMixin",
1533
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1534
- }
1535
- },
1536
- {
1537
- "kind": "field",
1538
- "name": "renderer",
1539
- "privacy": "public",
1540
- "type": {
1541
- "text": "OverlayRenderer | null | undefined"
1542
- },
1543
- "description": "Custom function for rendering the content of the overlay.\nReceives three arguments:\n\n- `root` The root container DOM element. Append your content to it.\n- `owner` The host element of the renderer function.\n- `model` The object with the properties related with rendering.",
1544
- "attribute": "renderer",
1545
- "inheritedFrom": {
1546
- "name": "OverlayMixin",
1547
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1548
- }
1549
- },
1550
- {
1551
- "kind": "method",
1552
- "name": "requestContentUpdate",
1553
- "description": "Requests an update for the content of the overlay.\nWhile performing the update, it invokes the renderer passed in the `renderer` property.\n\nIt is not guaranteed that the update happens immediately (synchronously) after it is requested.",
1554
- "inheritedFrom": {
1555
- "name": "OverlayMixin",
1556
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1557
- }
1558
- },
1559
- {
1560
- "kind": "field",
1561
- "name": "requiredVerticalSpace",
1562
- "privacy": "public",
1563
- "type": {
1564
- "text": "number"
1565
- },
1566
- "description": "If the overlay content has no intrinsic height, this property can be used to set\nthe minimum vertical space (in pixels) required by the overlay. Setting a value to\nthe property effectively disables the content measurement in favor of using this\nfixed value for determining the open direction.",
1567
- "attribute": "required-vertical-space",
1568
- "default": "200",
1569
- "inheritedFrom": {
1570
- "name": "PositionMixin",
1571
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1572
- }
1573
- },
1574
- {
1575
- "kind": "field",
1576
- "name": "restoreFocusNode",
1577
- "privacy": "public",
1578
- "type": {
1579
- "text": "HTMLElement"
1580
- },
1581
- "description": "Set to specify the element which should be focused on overlay close,\nif `restoreFocusOnClose` is set to true.",
1582
- "attribute": "restore-focus-node",
1583
- "inheritedFrom": {
1584
- "name": "OverlayFocusMixin",
1585
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1586
- }
1587
- },
1588
- {
1589
- "kind": "field",
1590
- "name": "restoreFocusOnClose",
1591
- "privacy": "public",
1592
- "type": {
1593
- "text": "boolean"
1594
- },
1595
- "description": "Set to true to enable restoring of focus when overlay is closed.",
1596
- "attribute": "restore-focus-on-close",
1597
- "inheritedFrom": {
1598
- "name": "OverlayFocusMixin",
1599
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1600
- }
1601
- },
1602
- {
1603
- "kind": "method",
1604
- "name": "setBounds",
1605
- "parameters": [
1606
- {
1607
- "name": "bounds",
1608
- "type": {
1609
- "text": "!OverlayBoundsParam"
1610
- }
1611
- },
1612
- {
1613
- "name": "absolute",
1614
- "default": "true",
1615
- "type": {
1616
- "text": "boolean"
1617
- }
1618
- }
1619
- ],
1620
- "description": "Updates the coordinates of the overlay.",
1621
- "inheritedFrom": {
1622
- "name": "OverlayMixin",
1623
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1624
- }
1625
- },
1626
- {
1627
- "kind": "field",
1628
- "name": "verticalAlign",
1629
- "privacy": "public",
1630
- "type": {
1631
- "text": "string"
1632
- },
1633
- "description": "When `positionTarget` is set, this property defines whether to align the overlay's\ntop or bottom side to the target element by default.\nPossible values are `top` and `bottom`.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1634
- "attribute": "vertical-align",
1635
- "inheritedFrom": {
1636
- "name": "PositionMixin",
1637
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1638
- }
1639
- },
1640
- {
1641
- "kind": "field",
1642
- "name": "withBackdrop",
1643
- "privacy": "public",
1644
- "type": {
1645
- "text": "boolean"
1646
- },
1647
- "description": "When true the overlay has backdrop on top of content when opened.",
1648
- "attribute": "with-backdrop",
1649
- "inheritedFrom": {
1650
- "name": "OverlayMixin",
1651
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1652
- }
1653
- }
1654
- ],
1655
- "mixins": [
1656
- {
1657
- "name": "ComboBoxOverlayMixin",
1658
- "module": "src/vaadin-combo-box-overlay-mixin.js"
1659
- },
1660
- {
1661
- "name": "OverlayMixin",
1662
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1663
- },
1664
- {
1665
- "name": "DirMixin",
1666
- "package": "@vaadin/component-base/src/dir-mixin.js"
1667
- },
1668
- {
1669
- "name": "ThemableMixin",
1670
- "package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
1671
- },
1672
- {
1673
- "name": "PolylitMixin",
1674
- "package": "@vaadin/component-base/src/polylit-mixin.js"
1675
- },
1676
- {
1677
- "name": "LumoInjectionMixin",
1678
- "package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
1679
- }
1680
- ],
1681
- "superclass": {
1682
- "name": "LitElement",
1683
- "package": "lit"
1684
- },
1685
- "tagName": "vaadin-combo-box-overlay",
1686
- "customElement": true,
1687
- "attributes": [
1688
- {
1689
- "name": "focus-trap",
1690
- "type": {
1691
- "text": "boolean"
1692
- },
1693
- "description": "When true, opening the overlay moves focus to the first focusable child,\nor to the overlay part with tabindex if there are no focusable children.",
1694
- "fieldName": "focusTrap",
1695
- "inheritedFrom": {
1696
- "name": "OverlayFocusMixin",
1697
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1698
- }
1699
- },
1700
- {
1701
- "name": "hidden",
1702
- "type": {
1703
- "text": "boolean"
1704
- },
1705
- "description": "When set to true, the overlay is hidden. This also closes the overlay\nimmediately in case there is a closing animation in progress.",
1706
- "fieldName": "hidden",
1707
- "inheritedFrom": {
1708
- "name": "OverlayMixin",
1709
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1710
- }
1711
- },
1712
- {
1713
- "name": "horizontal-align",
1714
- "type": {
1715
- "text": "string"
1716
- },
1717
- "description": "When `positionTarget` is set, this property defines whether to align the overlay's\nleft or right side to the target element by default.\nPossible values are `start` and `end`.\nRTL is taken into account when interpreting the value.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1718
- "fieldName": "horizontalAlign",
1719
- "inheritedFrom": {
1720
- "name": "PositionMixin",
1721
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1722
- }
1723
- },
1724
- {
1725
- "name": "modeless",
1726
- "type": {
1727
- "text": "boolean"
1728
- },
1729
- "description": "When true the overlay won't disable the main content, showing\nit doesn't change the functionality of the user interface.",
1730
- "fieldName": "modeless",
1731
- "inheritedFrom": {
1732
- "name": "OverlayMixin",
1733
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1734
- }
1735
- },
1736
- {
1737
- "name": "no-horizontal-overlap",
1738
- "type": {
1739
- "text": "boolean"
1740
- },
1741
- "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the x-axis, or be positioned right next to it.",
1742
- "fieldName": "noHorizontalOverlap",
1743
- "inheritedFrom": {
1744
- "name": "PositionMixin",
1745
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1746
- }
1747
- },
1748
- {
1749
- "name": "no-vertical-overlap",
1750
- "type": {
1751
- "text": "boolean"
1752
- },
1753
- "description": "When `positionTarget` is set, this property defines whether the overlay should overlap\nthe target element in the y-axis, or be positioned right above/below it.",
1754
- "fieldName": "noVerticalOverlap",
1755
- "inheritedFrom": {
1756
- "name": "PositionMixin",
1757
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1758
- }
1759
- },
1760
- {
1761
- "name": "opened",
1762
- "type": {
1763
- "text": "boolean"
1764
- },
1765
- "description": "When true, the overlay is visible and attached to body.",
1766
- "fieldName": "opened",
1767
- "inheritedFrom": {
1768
- "name": "OverlayMixin",
1769
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1770
- }
1771
- },
1772
- {
1773
- "name": "owner",
1774
- "type": {
1775
- "text": "HTMLElement"
1776
- },
1777
- "description": "Owner element passed with renderer function",
1778
- "fieldName": "owner",
1779
- "inheritedFrom": {
1780
- "name": "OverlayMixin",
1781
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1782
- }
1783
- },
1784
- {
1785
- "name": "renderer",
1786
- "type": {
1787
- "text": "OverlayRenderer | null | undefined"
1788
- },
1789
- "description": "Custom function for rendering the content of the overlay.\nReceives three arguments:\n\n- `root` The root container DOM element. Append your content to it.\n- `owner` The host element of the renderer function.\n- `model` The object with the properties related with rendering.",
1790
- "fieldName": "renderer",
1791
- "inheritedFrom": {
1792
- "name": "OverlayMixin",
1793
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1794
- }
1795
- },
1796
- {
1797
- "name": "required-vertical-space",
1798
- "type": {
1799
- "text": "number"
1800
- },
1801
- "description": "If the overlay content has no intrinsic height, this property can be used to set\nthe minimum vertical space (in pixels) required by the overlay. Setting a value to\nthe property effectively disables the content measurement in favor of using this\nfixed value for determining the open direction.",
1802
- "fieldName": "requiredVerticalSpace",
1803
- "inheritedFrom": {
1804
- "name": "PositionMixin",
1805
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1806
- }
1807
- },
1808
- {
1809
- "name": "restore-focus-node",
1810
- "type": {
1811
- "text": "HTMLElement"
1812
- },
1813
- "description": "Set to specify the element which should be focused on overlay close,\nif `restoreFocusOnClose` is set to true.",
1814
- "fieldName": "restoreFocusNode",
1815
- "inheritedFrom": {
1816
- "name": "OverlayFocusMixin",
1817
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1818
- }
1819
- },
1820
- {
1821
- "name": "restore-focus-on-close",
1822
- "type": {
1823
- "text": "boolean"
1824
- },
1825
- "description": "Set to true to enable restoring of focus when overlay is closed.",
1826
- "fieldName": "restoreFocusOnClose",
1827
- "inheritedFrom": {
1828
- "name": "OverlayFocusMixin",
1829
- "package": "@vaadin/overlay/src/vaadin-overlay-focus-mixin.js"
1830
- }
1831
- },
1832
- {
1833
- "name": "vertical-align",
1834
- "type": {
1835
- "text": "string"
1836
- },
1837
- "description": "When `positionTarget` is set, this property defines whether to align the overlay's\ntop or bottom side to the target element by default.\nPossible values are `top` and `bottom`.\nThe overlay is automatically flipped to the opposite side when it doesn't fit into\nthe default side defined by this property.",
1838
- "fieldName": "verticalAlign",
1839
- "inheritedFrom": {
1840
- "name": "PositionMixin",
1841
- "package": "@vaadin/overlay/src/vaadin-overlay-position-mixin.js"
1842
- }
1843
- },
1844
- {
1845
- "name": "with-backdrop",
1846
- "type": {
1847
- "text": "boolean"
1848
- },
1849
- "description": "When true the overlay has backdrop on top of content when opened.",
1850
- "fieldName": "withBackdrop",
1851
- "inheritedFrom": {
1852
- "name": "OverlayMixin",
1853
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1854
- }
1855
- }
1856
- ],
1857
- "events": [
1858
- {
1859
- "name": "vaadin-overlay-closed",
1860
- "type": {
1861
- "text": "CustomEvent"
1862
- },
1863
- "inheritedFrom": {
1864
- "name": "OverlayMixin",
1865
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1866
- }
1867
- },
1868
- {
1869
- "name": "vaadin-overlay-closing",
1870
- "type": {
1871
- "text": "CustomEvent"
1872
- },
1873
- "inheritedFrom": {
1874
- "name": "OverlayMixin",
1875
- "package": "@vaadin/overlay/src/vaadin-overlay-mixin.js"
1876
- }
1877
- }
1878
- ]
1879
- }
1880
- ],
1881
- "exports": [
1882
- {
1883
- "kind": "js",
1884
- "name": "ComboBoxOverlay",
1885
- "declaration": {
1886
- "name": "ComboBoxOverlay",
1887
- "module": "src/vaadin-combo-box-overlay.js"
1888
- }
1889
- }
1890
- ]
1891
- },
1892
1148
  {
1893
1149
  "kind": "javascript-module",
1894
1150
  "path": "src/vaadin-combo-box-placeholder.js",
@@ -2130,321 +1386,6 @@
2130
1386
  }
2131
1387
  ]
2132
1388
  },
2133
- {
2134
- "kind": "javascript-module",
2135
- "path": "src/vaadin-combo-box-scroller.js",
2136
- "declarations": [
2137
- {
2138
- "kind": "class",
2139
- "description": "An element used internally by `<vaadin-combo-box>`. Not intended to be used separately.",
2140
- "name": "ComboBoxScroller",
2141
- "members": [
2142
- {
2143
- "kind": "field",
2144
- "name": "focusedIndex",
2145
- "privacy": "public",
2146
- "type": {
2147
- "text": "number"
2148
- },
2149
- "description": "Index of an item that has focus outline and is scrolled into view.\nThe actual focus still remains in the input field.",
2150
- "attribute": "focused-index",
2151
- "inheritedFrom": {
2152
- "name": "ComboBoxScrollerMixin",
2153
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2154
- }
2155
- },
2156
- {
2157
- "kind": "field",
2158
- "name": "getItemLabel",
2159
- "privacy": "public",
2160
- "type": {
2161
- "text": "object"
2162
- },
2163
- "description": "Function used to set a label for every combo-box item.",
2164
- "attribute": "get-item-label",
2165
- "inheritedFrom": {
2166
- "name": "ComboBoxScrollerMixin",
2167
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2168
- }
2169
- },
2170
- {
2171
- "kind": "field",
2172
- "name": "itemClassNameGenerator",
2173
- "privacy": "public",
2174
- "type": {
2175
- "text": "object"
2176
- },
2177
- "description": "A function used to generate CSS class names for dropdown\nitems based on the item. The return value should be the\ngenerated class name as a string, or multiple class names\nseparated by whitespace characters.",
2178
- "attribute": "item-class-name-generator",
2179
- "inheritedFrom": {
2180
- "name": "ComboBoxScrollerMixin",
2181
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2182
- }
2183
- },
2184
- {
2185
- "kind": "field",
2186
- "name": "itemIdPath",
2187
- "privacy": "public",
2188
- "type": {
2189
- "text": "string"
2190
- },
2191
- "description": "Path for the id of the item, used to detect whether the item is selected.",
2192
- "attribute": "item-id-path",
2193
- "inheritedFrom": {
2194
- "name": "ComboBoxScrollerMixin",
2195
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2196
- }
2197
- },
2198
- {
2199
- "kind": "field",
2200
- "name": "items",
2201
- "privacy": "public",
2202
- "type": {
2203
- "text": "array"
2204
- },
2205
- "description": "A full set of items to filter the visible options from.\nSet to an empty array when combo-box is not opened.",
2206
- "attribute": "items",
2207
- "inheritedFrom": {
2208
- "name": "ComboBoxScrollerMixin",
2209
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2210
- }
2211
- },
2212
- {
2213
- "kind": "field",
2214
- "name": "loading",
2215
- "privacy": "public",
2216
- "type": {
2217
- "text": "boolean"
2218
- },
2219
- "description": "Set to true while combo-box fetches new page from the data provider.",
2220
- "attribute": "loading",
2221
- "inheritedFrom": {
2222
- "name": "ComboBoxScrollerMixin",
2223
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2224
- }
2225
- },
2226
- {
2227
- "kind": "field",
2228
- "name": "opened",
2229
- "privacy": "public",
2230
- "type": {
2231
- "text": "boolean"
2232
- },
2233
- "description": "Whether the combo-box is currently opened or not. If set to false,\ncalling `scrollIntoView` does not have any effect.",
2234
- "attribute": "opened",
2235
- "inheritedFrom": {
2236
- "name": "ComboBoxScrollerMixin",
2237
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2238
- }
2239
- },
2240
- {
2241
- "kind": "field",
2242
- "name": "owner",
2243
- "privacy": "public",
2244
- "type": {
2245
- "text": "object"
2246
- },
2247
- "description": "Reference to the owner (combo-box owner), used by the item elements.",
2248
- "attribute": "owner",
2249
- "inheritedFrom": {
2250
- "name": "ComboBoxScrollerMixin",
2251
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2252
- }
2253
- },
2254
- {
2255
- "kind": "field",
2256
- "name": "renderer",
2257
- "privacy": "public",
2258
- "type": {
2259
- "text": "object"
2260
- },
2261
- "description": "Function used to render the content of every combo-box item.",
2262
- "attribute": "renderer",
2263
- "inheritedFrom": {
2264
- "name": "ComboBoxScrollerMixin",
2265
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2266
- }
2267
- },
2268
- {
2269
- "kind": "method",
2270
- "name": "requestContentUpdate",
2271
- "description": "Updates the virtualizer's size and items.",
2272
- "inheritedFrom": {
2273
- "name": "ComboBoxScrollerMixin",
2274
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2275
- }
2276
- },
2277
- {
2278
- "kind": "method",
2279
- "name": "scrollIntoView",
2280
- "parameters": [
2281
- {
2282
- "name": "index",
2283
- "type": {
2284
- "text": "number"
2285
- }
2286
- }
2287
- ],
2288
- "description": "Scrolls an item at given index into view and adjusts `scrollTop`\nso that the element gets fully visible on Arrow Down key press.",
2289
- "inheritedFrom": {
2290
- "name": "ComboBoxScrollerMixin",
2291
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2292
- }
2293
- },
2294
- {
2295
- "kind": "field",
2296
- "name": "selectedItem",
2297
- "privacy": "public",
2298
- "type": {
2299
- "text": "object"
2300
- },
2301
- "description": "The selected item from the `items` array.",
2302
- "attribute": "selected-item",
2303
- "inheritedFrom": {
2304
- "name": "ComboBoxScrollerMixin",
2305
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2306
- }
2307
- },
2308
- {
2309
- "kind": "field",
2310
- "name": "theme",
2311
- "privacy": "public",
2312
- "type": {
2313
- "text": "string"
2314
- },
2315
- "description": "Used to propagate the `theme` attribute from the host element.",
2316
- "attribute": "theme",
2317
- "inheritedFrom": {
2318
- "name": "ComboBoxScrollerMixin",
2319
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2320
- }
2321
- }
2322
- ],
2323
- "mixins": [
2324
- {
2325
- "name": "ComboBoxScrollerMixin",
2326
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2327
- },
2328
- {
2329
- "name": "PolylitMixin",
2330
- "package": "@vaadin/component-base/src/polylit-mixin.js"
2331
- }
2332
- ],
2333
- "superclass": {
2334
- "name": "LitElement",
2335
- "package": "lit"
2336
- },
2337
- "tagName": "vaadin-combo-box-scroller",
2338
- "customElement": true,
2339
- "attributes": [
2340
- {
2341
- "name": "focused-index",
2342
- "type": {
2343
- "text": "number"
2344
- },
2345
- "description": "Index of an item that has focus outline and is scrolled into view.\nThe actual focus still remains in the input field.",
2346
- "fieldName": "focusedIndex",
2347
- "inheritedFrom": {
2348
- "name": "ComboBoxScrollerMixin",
2349
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2350
- }
2351
- },
2352
- {
2353
- "name": "item-id-path",
2354
- "type": {
2355
- "text": "string"
2356
- },
2357
- "description": "Path for the id of the item, used to detect whether the item is selected.",
2358
- "fieldName": "itemIdPath",
2359
- "inheritedFrom": {
2360
- "name": "ComboBoxScrollerMixin",
2361
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2362
- }
2363
- },
2364
- {
2365
- "name": "items",
2366
- "type": {
2367
- "text": "array"
2368
- },
2369
- "description": "A full set of items to filter the visible options from.\nSet to an empty array when combo-box is not opened.",
2370
- "fieldName": "items",
2371
- "inheritedFrom": {
2372
- "name": "ComboBoxScrollerMixin",
2373
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2374
- }
2375
- },
2376
- {
2377
- "name": "loading",
2378
- "type": {
2379
- "text": "boolean"
2380
- },
2381
- "description": "Set to true while combo-box fetches new page from the data provider.",
2382
- "fieldName": "loading",
2383
- "inheritedFrom": {
2384
- "name": "ComboBoxScrollerMixin",
2385
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2386
- }
2387
- },
2388
- {
2389
- "name": "opened",
2390
- "type": {
2391
- "text": "boolean"
2392
- },
2393
- "description": "Whether the combo-box is currently opened or not. If set to false,\ncalling `scrollIntoView` does not have any effect.",
2394
- "fieldName": "opened",
2395
- "inheritedFrom": {
2396
- "name": "ComboBoxScrollerMixin",
2397
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2398
- }
2399
- },
2400
- {
2401
- "name": "theme",
2402
- "type": {
2403
- "text": "string"
2404
- },
2405
- "description": "Used to propagate the `theme` attribute from the host element.",
2406
- "fieldName": "theme",
2407
- "inheritedFrom": {
2408
- "name": "ComboBoxScrollerMixin",
2409
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2410
- }
2411
- }
2412
- ],
2413
- "events": [
2414
- {
2415
- "name": "index-requested",
2416
- "type": {
2417
- "text": "CustomEvent"
2418
- },
2419
- "inheritedFrom": {
2420
- "name": "ComboBoxScrollerMixin",
2421
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2422
- }
2423
- },
2424
- {
2425
- "name": "selection-changed",
2426
- "type": {
2427
- "text": "CustomEvent"
2428
- },
2429
- "inheritedFrom": {
2430
- "name": "ComboBoxScrollerMixin",
2431
- "module": "src/vaadin-combo-box-scroller-mixin.js"
2432
- }
2433
- }
2434
- ]
2435
- }
2436
- ],
2437
- "exports": [
2438
- {
2439
- "kind": "js",
2440
- "name": "ComboBoxScroller",
2441
- "declaration": {
2442
- "name": "ComboBoxScroller",
2443
- "module": "src/vaadin-combo-box-scroller.js"
2444
- }
2445
- }
2446
- ]
2447
- },
2448
1389
  {
2449
1390
  "kind": "javascript-module",
2450
1391
  "path": "src/vaadin-combo-box.js",
@@ -2882,7 +1823,7 @@
2882
1823
  "name": "size",
2883
1824
  "privacy": "public",
2884
1825
  "type": {
2885
- "text": "number | undefined"
1826
+ "text": "number"
2886
1827
  },
2887
1828
  "description": "Total number of items.",
2888
1829
  "attribute": "size",
@@ -3268,7 +2209,7 @@
3268
2209
  {
3269
2210
  "name": "size",
3270
2211
  "type": {
3271
- "text": "number | undefined"
2212
+ "text": "number"
3272
2213
  },
3273
2214
  "description": "Total number of items.",
3274
2215
  "fieldName": "size",