@genesislcap/foundation-ui 14.500.0 → 14.500.1-alpha-beb5193.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.
@@ -12,7 +12,7 @@
12
12
  "type": {
13
13
  "text": "object"
14
14
  },
15
- "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
15
+ "default": "{\n foundationAccordion,\n foundationAiCriteriaSearch,\n foundationAiIndicator,\n foundationAccordionItem,\n foundationActionsMenu,\n foundationAnchor,\n foundationAnchoredRegion,\n foundationAvatar,\n foundationBadge,\n foundationBanner,\n foundationBreadcrumb,\n foundationBreadcrumbItem,\n foundationButton,\n foundationCalendar,\n foundationCard,\n foundationCategorizedMultiselect,\n foundationCheckbox,\n foundationCombobox,\n foundationConnectionIndicator,\n foundationDataGrid,\n foundationDataGridCell,\n foundationDataGridRow,\n foundationDatePicker,\n foundationDesignSystemProvider,\n foundationDialog,\n foundationDisclosure,\n foundationDivider,\n foundationDropdownMenu,\n foundationErrorBanner,\n foundationErrorBoundary,\n foundationErrorDialog,\n foundationFileReader,\n foundationFileUpload,\n foundationFilter,\n foundationFilterBar,\n foundationFlexLayout,\n foundationFlipper,\n foundationFlyout,\n foundationGridLayout,\n foundationGridLayoutItem,\n foundationHorizontalScroll,\n foundationIcon,\n foundationListbox,\n foundationListboxOption,\n foundationMenu,\n foundationMenuItem,\n foundationModal,\n foundationMultiselect,\n foundationNumberField,\n foundationOptgroup,\n foundationPill,\n foundationPopper,\n foundationProgress,\n foundationProgressRing,\n foundationRadio,\n foundationRadioGroup,\n foundationScheduler,\n foundationSchedulerCronBuilder,\n foundationSchedulerTimezone,\n foundationSearchBar,\n foundationSearchBarCombobox,\n foundationSegmentedControl,\n foundationSegmentedItem,\n foundationSelect,\n foundationSkeleton,\n foundationSlider,\n foundationSliderLabel,\n foundationSnackbar,\n foundationStackingIcons,\n foundationStatusPill,\n foundationEnvironmentIndicator,\n foundationStepperTab,\n foundationStepperTabPanel,\n foundationSwitch,\n foundationSystemHealthOverlay,\n foundationTab,\n foundationTabPanel,\n foundationTabs,\n foundationTextArea,\n foundationTextField,\n foundationToast,\n foundationToolbar,\n foundationTooltip,\n foundationTreeItem,\n foundationTreeView,\n foundationUrlInput,\n foundationSectionNavigator,\n register(container?: Container, ...rest: any[]) {\n if (!container) {\n // preserve backward compatibility with code that loops through\n // the values of this object and calls them as funcs with no args\n return;\n }\n\n for (const key in this) {\n if (key === 'register') {\n continue;\n }\n\n this[key]().register(container, ...rest);\n }\n },\n}"
16
16
  }
17
17
  ],
18
18
  "exports": [
@@ -548,6 +548,14 @@
548
548
  "package": "./patterns"
549
549
  }
550
550
  },
551
+ {
552
+ "kind": "js",
553
+ "name": "*",
554
+ "declaration": {
555
+ "name": "*",
556
+ "package": "./pill"
557
+ }
558
+ },
551
559
  {
552
560
  "kind": "js",
553
561
  "name": "*",
@@ -1408,42 +1416,11 @@
1408
1416
  },
1409
1417
  {
1410
1418
  "kind": "javascript-module",
1411
- "path": "src/_config/index.ts",
1412
- "declarations": [],
1413
- "exports": [
1414
- {
1415
- "kind": "js",
1416
- "name": "*",
1417
- "declaration": {
1418
- "name": "*",
1419
- "package": "./styles"
1420
- }
1421
- },
1422
- {
1423
- "kind": "js",
1424
- "name": "*",
1425
- "declaration": {
1426
- "name": "*",
1427
- "package": "./tokens"
1428
- }
1429
- },
1430
- {
1431
- "kind": "js",
1432
- "name": "*",
1433
- "declaration": {
1434
- "name": "*",
1435
- "package": "./values"
1436
- }
1437
- }
1438
- ]
1439
- },
1440
- {
1441
- "kind": "javascript-module",
1442
- "path": "src/accordion/accordion.styles.ts",
1419
+ "path": "src/accordion-item/accordion-item.styles.ts",
1443
1420
  "declarations": [
1444
1421
  {
1445
1422
  "kind": "function",
1446
- "name": "foundationAccordionStyles",
1423
+ "name": "foundationAccordionItemStyles",
1447
1424
  "return": {
1448
1425
  "type": {
1449
1426
  "text": "ElementStyles"
@@ -1468,24 +1445,24 @@
1468
1445
  "exports": [
1469
1446
  {
1470
1447
  "kind": "js",
1471
- "name": "foundationAccordionStyles",
1448
+ "name": "foundationAccordionItemStyles",
1472
1449
  "declaration": {
1473
- "name": "foundationAccordionStyles",
1474
- "module": "src/accordion/accordion.styles.ts"
1450
+ "name": "foundationAccordionItemStyles",
1451
+ "module": "src/accordion-item/accordion-item.styles.ts"
1475
1452
  }
1476
1453
  }
1477
1454
  ]
1478
1455
  },
1479
1456
  {
1480
1457
  "kind": "javascript-module",
1481
- "path": "src/accordion/accordion.template.ts",
1458
+ "path": "src/accordion-item/accordion-item.template.ts",
1482
1459
  "declarations": [
1483
1460
  {
1484
1461
  "kind": "function",
1485
- "name": "foundationAccordionTemplate",
1462
+ "name": "foundationAccordionItemTemplate",
1486
1463
  "return": {
1487
1464
  "type": {
1488
- "text": "ViewTemplate<Accordion>"
1465
+ "text": "ViewTemplate<AccordionItem>"
1489
1466
  }
1490
1467
  },
1491
1468
  "parameters": [
@@ -1507,237 +1484,116 @@
1507
1484
  "exports": [
1508
1485
  {
1509
1486
  "kind": "js",
1510
- "name": "foundationAccordionTemplate",
1487
+ "name": "foundationAccordionItemTemplate",
1511
1488
  "declaration": {
1512
- "name": "foundationAccordionTemplate",
1513
- "module": "src/accordion/accordion.template.ts"
1489
+ "name": "foundationAccordionItemTemplate",
1490
+ "module": "src/accordion-item/accordion-item.template.ts"
1514
1491
  }
1515
1492
  }
1516
1493
  ]
1517
1494
  },
1518
1495
  {
1519
1496
  "kind": "javascript-module",
1520
- "path": "src/accordion/accordion.ts",
1497
+ "path": "src/accordion-item/accordion-item.ts",
1521
1498
  "declarations": [
1522
1499
  {
1523
1500
  "kind": "class",
1524
1501
  "description": "",
1525
- "name": "Accordion",
1502
+ "name": "AccordionItem",
1526
1503
  "superclass": {
1527
- "name": "FASTAccordion",
1528
- "package": "@microsoft/fast-foundation"
1504
+ "name": "FASTAccordionItem",
1505
+ "package": "@microsoft/fast-components"
1529
1506
  },
1530
- "tagName": "%%prefix%%-accordion",
1507
+ "tagName": "%%prefix%%-accordion-item",
1531
1508
  "customElement": true,
1532
1509
  "attributes": [
1533
1510
  {
1534
- "name": "expand-mode",
1535
- "type": {
1536
- "text": "AccordionExpandMode"
1537
- },
1538
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1539
- "fieldName": "expandmode",
1540
- "inheritedFrom": {
1541
- "name": "Accordion",
1542
- "module": "src/accordion/accordion.ts"
1543
- }
1544
- }
1545
- ],
1546
- "members": [
1547
- {
1548
- "kind": "field",
1549
- "name": "expandmode",
1511
+ "name": "heading-level",
1550
1512
  "type": {
1551
- "text": "AccordionExpandMode"
1513
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1552
1514
  },
1553
- "privacy": "public",
1554
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
1515
+ "default": "2",
1516
+ "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
1517
+ "fieldName": "headinglevel",
1555
1518
  "inheritedFrom": {
1556
- "name": "Accordion",
1557
- "module": "src/accordion/accordion.ts"
1519
+ "name": "AccordionItem",
1520
+ "module": "src/accordion-item/accordion-item.ts"
1558
1521
  }
1559
1522
  },
1560
1523
  {
1561
- "kind": "field",
1562
- "name": "activeid",
1563
1524
  "type": {
1564
- "text": "string | null"
1525
+ "text": "boolean"
1565
1526
  },
1566
- "privacy": "private",
1527
+ "default": "false",
1528
+ "description": "Expands or collapses the item.",
1529
+ "fieldName": "expanded",
1567
1530
  "inheritedFrom": {
1568
- "name": "Accordion",
1569
- "module": "src/accordion/accordion.ts"
1531
+ "name": "AccordionItem",
1532
+ "module": "src/accordion-item/accordion-item.ts"
1570
1533
  }
1571
1534
  },
1572
1535
  {
1573
- "kind": "field",
1574
- "name": "activeItemIndex",
1536
+ "name": "id",
1575
1537
  "type": {
1576
- "text": "number"
1538
+ "text": "string"
1577
1539
  },
1578
- "privacy": "private",
1579
- "default": "0",
1540
+ "description": "The item ID",
1541
+ "fieldName": "id",
1580
1542
  "inheritedFrom": {
1581
- "name": "Accordion",
1582
- "module": "src/accordion/accordion.ts"
1543
+ "name": "AccordionItem",
1544
+ "module": "src/accordion-item/accordion-item.ts"
1583
1545
  }
1584
- },
1546
+ }
1547
+ ],
1548
+ "members": [
1585
1549
  {
1586
1550
  "kind": "field",
1587
- "name": "accordionIds",
1551
+ "name": "headinglevel",
1588
1552
  "type": {
1589
- "text": "Array<string | null>"
1590
- },
1591
- "privacy": "private",
1592
- "inheritedFrom": {
1593
- "name": "Accordion",
1594
- "module": "src/accordion/accordion.ts"
1595
- }
1596
- },
1597
- {
1598
- "kind": "field",
1599
- "name": "change",
1600
- "privacy": "private",
1601
- "inheritedFrom": {
1602
- "name": "Accordion",
1603
- "module": "src/accordion/accordion.ts"
1604
- }
1605
- },
1606
- {
1607
- "kind": "method",
1608
- "name": "findExpandedItem",
1609
- "privacy": "private",
1610
- "return": {
1611
- "type": {
1612
- "text": "AccordionItem | null"
1613
- }
1553
+ "text": "1 | 2 | 3 | 4 | 5 | 6"
1614
1554
  },
1555
+ "privacy": "public",
1556
+ "default": "2",
1557
+ "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
1615
1558
  "inheritedFrom": {
1616
- "name": "Accordion",
1617
- "module": "src/accordion/accordion.ts"
1559
+ "name": "AccordionItem",
1560
+ "module": "src/accordion-item/accordion-item.ts"
1618
1561
  }
1619
1562
  },
1620
1563
  {
1621
1564
  "kind": "field",
1622
- "name": "setItems",
1623
- "privacy": "private",
1624
- "inheritedFrom": {
1625
- "name": "Accordion",
1626
- "module": "src/accordion/accordion.ts"
1627
- }
1628
- },
1629
- {
1630
- "kind": "method",
1631
- "name": "resetItems",
1632
- "privacy": "private",
1633
- "return": {
1634
- "type": {
1635
- "text": "void"
1636
- }
1565
+ "name": "expanded",
1566
+ "type": {
1567
+ "text": "boolean"
1637
1568
  },
1569
+ "privacy": "public",
1570
+ "default": "false",
1571
+ "description": "Expands or collapses the item.",
1638
1572
  "inheritedFrom": {
1639
- "name": "Accordion",
1640
- "module": "src/accordion/accordion.ts"
1641
- }
1642
- },
1643
- {
1644
- "kind": "field",
1645
- "name": "removeItemListeners",
1646
- "privacy": "private",
1647
- "inheritedFrom": {
1648
- "name": "Accordion",
1649
- "module": "src/accordion/accordion.ts"
1573
+ "name": "AccordionItem",
1574
+ "module": "src/accordion-item/accordion-item.ts"
1650
1575
  }
1651
1576
  },
1652
1577
  {
1653
1578
  "kind": "field",
1654
- "name": "activeItemChange",
1655
- "privacy": "private",
1656
- "inheritedFrom": {
1657
- "name": "Accordion",
1658
- "module": "src/accordion/accordion.ts"
1659
- }
1660
- },
1661
- {
1662
- "kind": "method",
1663
- "name": "getItemIds",
1664
- "privacy": "private",
1665
- "return": {
1666
- "type": {
1667
- "text": "Array<string | null>"
1668
- }
1669
- },
1670
- "inheritedFrom": {
1671
- "name": "Accordion",
1672
- "module": "src/accordion/accordion.ts"
1673
- }
1674
- },
1675
- {
1676
- "kind": "method",
1677
- "name": "isSingleExpandMode",
1678
- "privacy": "private",
1679
- "return": {
1680
- "type": {
1681
- "text": "boolean"
1682
- }
1579
+ "name": "id",
1580
+ "type": {
1581
+ "text": "string"
1683
1582
  },
1583
+ "privacy": "public",
1584
+ "description": "The item ID",
1684
1585
  "inheritedFrom": {
1685
- "name": "Accordion",
1686
- "module": "src/accordion/accordion.ts"
1687
- }
1688
- },
1689
- {
1690
- "kind": "field",
1691
- "name": "handleItemKeyDown",
1692
- "privacy": "private",
1693
- "inheritedFrom": {
1694
- "name": "Accordion",
1695
- "module": "src/accordion/accordion.ts"
1586
+ "name": "AccordionItem",
1587
+ "module": "src/accordion-item/accordion-item.ts"
1696
1588
  }
1697
1589
  },
1698
1590
  {
1699
1591
  "kind": "field",
1700
- "name": "handleItemFocus",
1701
- "privacy": "private",
1702
- "inheritedFrom": {
1703
- "name": "Accordion",
1704
- "module": "src/accordion/accordion.ts"
1705
- }
1706
- },
1707
- {
1708
- "kind": "method",
1709
- "name": "adjust",
1710
- "privacy": "private",
1711
- "return": {
1712
- "type": {
1713
- "text": "void"
1714
- }
1715
- },
1716
- "parameters": [
1717
- {
1718
- "name": "adjustment",
1719
- "type": {
1720
- "text": "number"
1721
- }
1722
- }
1723
- ],
1724
- "inheritedFrom": {
1725
- "name": "Accordion",
1726
- "module": "src/accordion/accordion.ts"
1727
- }
1728
- },
1729
- {
1730
- "kind": "method",
1731
- "name": "focusItem",
1592
+ "name": "change",
1732
1593
  "privacy": "private",
1733
- "return": {
1734
- "type": {
1735
- "text": "void"
1736
- }
1737
- },
1738
1594
  "inheritedFrom": {
1739
- "name": "Accordion",
1740
- "module": "src/accordion/accordion.ts"
1595
+ "name": "AccordionItem",
1596
+ "module": "src/accordion-item/accordion-item.ts"
1741
1597
  }
1742
1598
  },
1743
1599
  {
@@ -1854,18 +1710,18 @@
1854
1710
  ],
1855
1711
  "events": [
1856
1712
  {
1857
- "description": "Fires a custom 'change' event when the active item changes",
1713
+ "description": "Fires a custom 'change' event when the button is invoked",
1858
1714
  "name": "change",
1859
1715
  "inheritedFrom": {
1860
- "name": "Accordion",
1861
- "module": "src/accordion/accordion.ts"
1716
+ "name": "AccordionItem",
1717
+ "module": "src/accordion-item/accordion-item.ts"
1862
1718
  }
1863
1719
  }
1864
1720
  ]
1865
1721
  },
1866
1722
  {
1867
1723
  "kind": "variable",
1868
- "name": "foundationAccordionShadowOptions",
1724
+ "name": "foundationAccordionItemShadowOptions",
1869
1725
  "type": {
1870
1726
  "text": "ShadowRootInit"
1871
1727
  },
@@ -1873,57 +1729,57 @@
1873
1729
  },
1874
1730
  {
1875
1731
  "kind": "variable",
1876
- "name": "defaultAccordionConfig",
1732
+ "name": "defaultAccordionItemConfig",
1877
1733
  "type": {
1878
1734
  "text": "object"
1879
1735
  },
1880
- "default": "{}"
1736
+ "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1881
1737
  },
1882
1738
  {
1883
1739
  "kind": "variable",
1884
- "name": "foundationAccordion",
1885
- "description": "The Foundation Accordion",
1740
+ "name": "foundationAccordionItem",
1741
+ "description": "The Foundation Accordion Item",
1886
1742
  "privacy": "public"
1887
1743
  }
1888
1744
  ],
1889
1745
  "exports": [
1890
1746
  {
1891
1747
  "kind": "js",
1892
- "name": "Accordion",
1748
+ "name": "AccordionItem",
1893
1749
  "declaration": {
1894
- "name": "Accordion",
1895
- "module": "src/accordion/accordion.ts"
1750
+ "name": "AccordionItem",
1751
+ "module": "src/accordion-item/accordion-item.ts"
1896
1752
  }
1897
1753
  },
1898
1754
  {
1899
1755
  "kind": "js",
1900
- "name": "foundationAccordionShadowOptions",
1756
+ "name": "foundationAccordionItemShadowOptions",
1901
1757
  "declaration": {
1902
- "name": "foundationAccordionShadowOptions",
1903
- "module": "src/accordion/accordion.ts"
1758
+ "name": "foundationAccordionItemShadowOptions",
1759
+ "module": "src/accordion-item/accordion-item.ts"
1904
1760
  }
1905
1761
  },
1906
1762
  {
1907
1763
  "kind": "js",
1908
- "name": "defaultAccordionConfig",
1764
+ "name": "defaultAccordionItemConfig",
1909
1765
  "declaration": {
1910
- "name": "defaultAccordionConfig",
1911
- "module": "src/accordion/accordion.ts"
1766
+ "name": "defaultAccordionItemConfig",
1767
+ "module": "src/accordion-item/accordion-item.ts"
1912
1768
  }
1913
1769
  },
1914
1770
  {
1915
1771
  "kind": "js",
1916
- "name": "foundationAccordion",
1772
+ "name": "foundationAccordionItem",
1917
1773
  "declaration": {
1918
- "name": "foundationAccordion",
1919
- "module": "src/accordion/accordion.ts"
1774
+ "name": "foundationAccordionItem",
1775
+ "module": "src/accordion-item/accordion-item.ts"
1920
1776
  }
1921
1777
  }
1922
1778
  ]
1923
1779
  },
1924
1780
  {
1925
1781
  "kind": "javascript-module",
1926
- "path": "src/accordion/index.ts",
1782
+ "path": "src/accordion-item/index.ts",
1927
1783
  "declarations": [],
1928
1784
  "exports": [
1929
1785
  {
@@ -1931,7 +1787,7 @@
1931
1787
  "name": "*",
1932
1788
  "declaration": {
1933
1789
  "name": "*",
1934
- "package": "./accordion.template"
1790
+ "package": "./accordion-item.template"
1935
1791
  }
1936
1792
  },
1937
1793
  {
@@ -1939,7 +1795,7 @@
1939
1795
  "name": "*",
1940
1796
  "declaration": {
1941
1797
  "name": "*",
1942
- "package": "./accordion.styles"
1798
+ "package": "./accordion-item.styles"
1943
1799
  }
1944
1800
  },
1945
1801
  {
@@ -1947,193 +1803,296 @@
1947
1803
  "name": "*",
1948
1804
  "declaration": {
1949
1805
  "name": "*",
1950
- "package": "./accordion"
1806
+ "package": "./accordion-item"
1951
1807
  }
1952
1808
  }
1953
1809
  ]
1954
1810
  },
1955
1811
  {
1956
1812
  "kind": "javascript-module",
1957
- "path": "src/accordion-item/accordion-item.styles.ts",
1813
+ "path": "src/_config/index.ts",
1814
+ "declarations": [],
1815
+ "exports": [
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./styles"
1822
+ }
1823
+ },
1824
+ {
1825
+ "kind": "js",
1826
+ "name": "*",
1827
+ "declaration": {
1828
+ "name": "*",
1829
+ "package": "./tokens"
1830
+ }
1831
+ },
1832
+ {
1833
+ "kind": "js",
1834
+ "name": "*",
1835
+ "declaration": {
1836
+ "name": "*",
1837
+ "package": "./values"
1838
+ }
1839
+ }
1840
+ ]
1841
+ },
1842
+ {
1843
+ "kind": "javascript-module",
1844
+ "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
1958
1845
  "declarations": [
1959
1846
  {
1960
- "kind": "function",
1961
- "name": "foundationAccordionItemStyles",
1962
- "return": {
1963
- "type": {
1964
- "text": "ElementStyles"
1965
- }
1966
- },
1967
- "parameters": [
1968
- {
1969
- "name": "context",
1970
- "type": {
1971
- "text": "ElementDefinitionContext"
1972
- }
1973
- },
1974
- {
1975
- "name": "definition",
1976
- "type": {
1977
- "text": "FoundationElementDefinition"
1978
- }
1979
- }
1980
- ]
1847
+ "kind": "variable",
1848
+ "name": "foundationAiCriteriaSearchStyles",
1849
+ "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
1981
1850
  }
1982
1851
  ],
1983
1852
  "exports": [
1984
1853
  {
1985
1854
  "kind": "js",
1986
- "name": "foundationAccordionItemStyles",
1855
+ "name": "foundationAiCriteriaSearchStyles",
1987
1856
  "declaration": {
1988
- "name": "foundationAccordionItemStyles",
1989
- "module": "src/accordion-item/accordion-item.styles.ts"
1857
+ "name": "foundationAiCriteriaSearchStyles",
1858
+ "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
1990
1859
  }
1991
1860
  }
1992
1861
  ]
1993
1862
  },
1994
1863
  {
1995
1864
  "kind": "javascript-module",
1996
- "path": "src/accordion-item/accordion-item.template.ts",
1865
+ "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
1997
1866
  "declarations": [
1998
1867
  {
1999
- "kind": "function",
2000
- "name": "foundationAccordionItemTemplate",
2001
- "return": {
2002
- "type": {
2003
- "text": "ViewTemplate<AccordionItem>"
2004
- }
1868
+ "kind": "variable",
1869
+ "name": "foundationAiCriteriaSearchTemplate",
1870
+ "type": {
1871
+ "text": "ViewTemplate<AiCriteriaSearch>"
2005
1872
  },
2006
- "parameters": [
2007
- {
2008
- "name": "context",
2009
- "type": {
2010
- "text": "ElementDefinitionContext"
2011
- }
2012
- },
2013
- {
2014
- "name": "definition",
2015
- "type": {
2016
- "text": "FoundationElementDefinition"
2017
- }
2018
- }
2019
- ]
1873
+ "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
2020
1874
  }
2021
1875
  ],
2022
1876
  "exports": [
2023
1877
  {
2024
1878
  "kind": "js",
2025
- "name": "foundationAccordionItemTemplate",
1879
+ "name": "foundationAiCriteriaSearchTemplate",
2026
1880
  "declaration": {
2027
- "name": "foundationAccordionItemTemplate",
2028
- "module": "src/accordion-item/accordion-item.template.ts"
1881
+ "name": "foundationAiCriteriaSearchTemplate",
1882
+ "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
2029
1883
  }
2030
1884
  }
2031
1885
  ]
2032
1886
  },
2033
1887
  {
2034
1888
  "kind": "javascript-module",
2035
- "path": "src/accordion-item/accordion-item.ts",
1889
+ "path": "src/ai-criteria-search/ai-criteria-search.ts",
2036
1890
  "declarations": [
2037
1891
  {
2038
1892
  "kind": "class",
2039
- "description": "",
2040
- "name": "AccordionItem",
2041
- "superclass": {
2042
- "name": "FASTAccordionItem",
2043
- "package": "@microsoft/fast-components"
2044
- },
2045
- "tagName": "%%prefix%%-accordion-item",
2046
- "customElement": true,
2047
- "attributes": [
1893
+ "description": "Natural-language criteria search input with AI interpretation.",
1894
+ "name": "AiCriteriaSearch",
1895
+ "members": [
2048
1896
  {
2049
- "name": "heading-level",
1897
+ "kind": "field",
1898
+ "name": "providerRegistry",
2050
1899
  "type": {
2051
- "text": "1 | 2 | 3 | 4 | 5 | 6"
2052
- },
2053
- "default": "2",
2054
- "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
2055
- "fieldName": "headinglevel",
2056
- "inheritedFrom": {
2057
- "name": "AccordionItem",
2058
- "module": "src/accordion-item/accordion-item.ts"
1900
+ "text": "AIProviderRegistry"
2059
1901
  }
2060
1902
  },
2061
1903
  {
1904
+ "kind": "field",
1905
+ "name": "placeholder",
2062
1906
  "type": {
2063
- "text": "boolean"
1907
+ "text": "string"
2064
1908
  },
2065
- "default": "false",
2066
- "description": "Expands or collapses the item.",
2067
- "fieldName": "expanded",
2068
- "inheritedFrom": {
2069
- "name": "AccordionItem",
2070
- "module": "src/accordion-item/accordion-item.ts"
1909
+ "default": "'Describe your search criteria in natural language...'"
1910
+ },
1911
+ {
1912
+ "kind": "field",
1913
+ "name": "disabled",
1914
+ "type": {
1915
+ "text": "boolean"
2071
1916
  }
2072
1917
  },
2073
1918
  {
2074
- "name": "id",
1919
+ "kind": "field",
1920
+ "name": "inputValue",
2075
1921
  "type": {
2076
1922
  "text": "string"
2077
1923
  },
2078
- "description": "The item ID",
2079
- "fieldName": "id",
2080
- "inheritedFrom": {
2081
- "name": "AccordionItem",
2082
- "module": "src/accordion-item/accordion-item.ts"
2083
- }
2084
- }
2085
- ],
2086
- "members": [
1924
+ "default": "''"
1925
+ },
2087
1926
  {
2088
1927
  "kind": "field",
2089
- "name": "headinglevel",
1928
+ "name": "isInterpreting",
2090
1929
  "type": {
2091
- "text": "1 | 2 | 3 | 4 | 5 | 6"
1930
+ "text": "boolean"
2092
1931
  },
2093
- "privacy": "public",
2094
- "default": "2",
2095
- "description": "Configures the {@link https://www.w3.org/TR/wai-aria-1.1/#aria-level | level} of the heading element.",
2096
- "inheritedFrom": {
2097
- "name": "AccordionItem",
2098
- "module": "src/accordion-item/accordion-item.ts"
2099
- }
1932
+ "default": "false"
2100
1933
  },
2101
1934
  {
2102
1935
  "kind": "field",
2103
- "name": "expanded",
1936
+ "name": "lastValidCriteria",
1937
+ "type": {
1938
+ "text": "string | null"
1939
+ },
1940
+ "default": "null"
1941
+ },
1942
+ {
1943
+ "kind": "field",
1944
+ "name": "activeGroups",
1945
+ "type": {
1946
+ "text": "CriteriaGroup[]"
1947
+ },
1948
+ "default": "[]"
1949
+ },
1950
+ {
1951
+ "kind": "field",
1952
+ "name": "showingChips",
2104
1953
  "type": {
2105
1954
  "text": "boolean"
2106
1955
  },
2107
- "privacy": "public",
2108
- "default": "false",
2109
- "description": "Expands or collapses the item.",
2110
- "inheritedFrom": {
2111
- "name": "AccordionItem",
2112
- "module": "src/accordion-item/accordion-item.ts"
2113
- }
1956
+ "default": "false"
2114
1957
  },
2115
1958
  {
2116
1959
  "kind": "field",
2117
- "name": "id",
1960
+ "name": "fieldMetadata",
2118
1961
  "type": {
2119
- "text": "string"
1962
+ "text": "MetadataDetail[] | string[]"
2120
1963
  },
2121
- "privacy": "public",
2122
- "description": "The item ID",
2123
- "inheritedFrom": {
2124
- "name": "AccordionItem",
2125
- "module": "src/accordion-item/accordion-item.ts"
2126
- }
1964
+ "default": "[]"
2127
1965
  },
2128
1966
  {
2129
1967
  "kind": "field",
2130
- "name": "change",
1968
+ "name": "isRecording",
1969
+ "type": {
1970
+ "text": "boolean"
1971
+ },
1972
+ "default": "false"
1973
+ },
1974
+ {
1975
+ "kind": "field",
1976
+ "name": "textAreaRef",
1977
+ "type": {
1978
+ "text": "HTMLTextAreaElement"
1979
+ },
1980
+ "privacy": "public"
1981
+ },
1982
+ {
1983
+ "kind": "field",
1984
+ "name": "stopRecording",
1985
+ "type": {
1986
+ "text": "(() => void) | null"
1987
+ },
2131
1988
  "privacy": "private",
2132
- "inheritedFrom": {
2133
- "name": "AccordionItem",
2134
- "module": "src/accordion-item/accordion-item.ts"
1989
+ "default": "null"
1990
+ },
1991
+ {
1992
+ "kind": "field",
1993
+ "name": "speechApplyDebounceTimer",
1994
+ "type": {
1995
+ "text": "ReturnType<typeof setTimeout> | null"
1996
+ },
1997
+ "privacy": "private",
1998
+ "default": "null"
1999
+ },
2000
+ {
2001
+ "kind": "field",
2002
+ "name": "speechAvailable",
2003
+ "type": {
2004
+ "text": "boolean"
2005
+ },
2006
+ "readonly": true
2007
+ },
2008
+ {
2009
+ "kind": "field",
2010
+ "name": "criteriaChips",
2011
+ "type": {
2012
+ "text": "CriteriaChip[]"
2013
+ },
2014
+ "readonly": true
2015
+ },
2016
+ {
2017
+ "kind": "method",
2018
+ "name": "getFieldLabel",
2019
+ "privacy": "private",
2020
+ "return": {
2021
+ "type": {
2022
+ "text": "string"
2023
+ }
2024
+ },
2025
+ "parameters": [
2026
+ {
2027
+ "name": "fieldName",
2028
+ "type": {
2029
+ "text": "string"
2030
+ }
2031
+ }
2032
+ ]
2033
+ },
2034
+ {
2035
+ "kind": "method",
2036
+ "name": "toggleCriteriaView",
2037
+ "return": {
2038
+ "type": {
2039
+ "text": "void"
2040
+ }
2135
2041
  }
2136
2042
  },
2043
+ {
2044
+ "kind": "method",
2045
+ "name": "removeChip",
2046
+ "return": {
2047
+ "type": {
2048
+ "text": "void"
2049
+ }
2050
+ },
2051
+ "parameters": [
2052
+ {
2053
+ "name": "groupIndex",
2054
+ "type": {
2055
+ "text": "number"
2056
+ }
2057
+ },
2058
+ {
2059
+ "name": "clauseIndex",
2060
+ "type": {
2061
+ "text": "number"
2062
+ }
2063
+ }
2064
+ ]
2065
+ },
2066
+ {
2067
+ "kind": "method",
2068
+ "name": "clearChips",
2069
+ "return": {
2070
+ "type": {
2071
+ "text": "void"
2072
+ }
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "method",
2077
+ "name": "handleSubmit"
2078
+ },
2079
+ {
2080
+ "kind": "method",
2081
+ "name": "handleBlur"
2082
+ },
2083
+ {
2084
+ "kind": "method",
2085
+ "name": "clear"
2086
+ },
2087
+ {
2088
+ "kind": "method",
2089
+ "name": "toggleSpeechInput"
2090
+ },
2091
+ {
2092
+ "kind": "method",
2093
+ "name": "clearSpeechApplyDebounce",
2094
+ "privacy": "private"
2095
+ },
2137
2096
  {
2138
2097
  "kind": "field",
2139
2098
  "name": "_presentation",
@@ -2248,84 +2207,152 @@
2248
2207
  ],
2249
2208
  "events": [
2250
2209
  {
2251
- "description": "Fires a custom 'change' event when the button is invoked",
2252
- "name": "change",
2253
- "inheritedFrom": {
2254
- "name": "AccordionItem",
2255
- "module": "src/accordion-item/accordion-item.ts"
2256
- }
2210
+ "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
2211
+ "name": "criteria-changed"
2212
+ },
2213
+ {
2214
+ "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
2215
+ "name": "validation-errors"
2257
2216
  }
2258
- ]
2217
+ ],
2218
+ "attributes": [
2219
+ {
2220
+ "name": "placeholder",
2221
+ "type": {
2222
+ "text": "string"
2223
+ },
2224
+ "default": "'Describe your search criteria in natural language...'",
2225
+ "fieldName": "placeholder"
2226
+ },
2227
+ {
2228
+ "type": {
2229
+ "text": "boolean"
2230
+ },
2231
+ "fieldName": "disabled"
2232
+ }
2233
+ ],
2234
+ "superclass": {
2235
+ "name": "FoundationElement",
2236
+ "package": "@microsoft/fast-foundation"
2237
+ },
2238
+ "tagName": "%%prefix%%-ai-criteria-search",
2239
+ "customElement": true
2259
2240
  },
2260
2241
  {
2261
2242
  "kind": "variable",
2262
- "name": "foundationAccordionItemShadowOptions",
2243
+ "name": "foundationAiCriteriaSearchShadowOptions",
2263
2244
  "type": {
2264
2245
  "text": "ShadowRootInit"
2265
2246
  },
2266
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2247
+ "default": "undefined"
2267
2248
  },
2268
2249
  {
2269
2250
  "kind": "variable",
2270
- "name": "defaultAccordionItemConfig",
2251
+ "name": "defaultAiCriteriaSearchConfig",
2271
2252
  "type": {
2272
2253
  "text": "object"
2273
2254
  },
2274
- "default": "{\n collapsedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"collapsed-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"plus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"16\" height=\"16\" viewBox=\"0 0 18 18\" xmlns=\"http://www.w3.org/2000/svg\" slot=\"expanded-icon\">\n <path d=\"M15.2222 1H2.77778C1.79594 1 1 1.79594 1 2.77778V15.2222C1 16.2041 1.79594 17 2.77778 17H15.2222C16.2041 17 17 16.2041 17 15.2222V2.77778C17 1.79594 16.2041 1 15.2222 1Z\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path class=\"minus-sign\" d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
2255
+ "default": "{}"
2275
2256
  },
2276
2257
  {
2277
2258
  "kind": "variable",
2278
- "name": "foundationAccordionItem",
2279
- "description": "The Foundation Accordion Item",
2280
- "privacy": "public"
2259
+ "name": "foundationAiCriteriaSearch"
2281
2260
  }
2282
2261
  ],
2283
2262
  "exports": [
2284
2263
  {
2285
2264
  "kind": "js",
2286
- "name": "AccordionItem",
2265
+ "name": "AiCriteriaSearch",
2287
2266
  "declaration": {
2288
- "name": "AccordionItem",
2289
- "module": "src/accordion-item/accordion-item.ts"
2267
+ "name": "AiCriteriaSearch",
2268
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2290
2269
  }
2291
2270
  },
2292
2271
  {
2293
2272
  "kind": "js",
2294
- "name": "foundationAccordionItemShadowOptions",
2273
+ "name": "foundationAiCriteriaSearchShadowOptions",
2295
2274
  "declaration": {
2296
- "name": "foundationAccordionItemShadowOptions",
2297
- "module": "src/accordion-item/accordion-item.ts"
2275
+ "name": "foundationAiCriteriaSearchShadowOptions",
2276
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2298
2277
  }
2299
2278
  },
2300
2279
  {
2301
2280
  "kind": "js",
2302
- "name": "defaultAccordionItemConfig",
2281
+ "name": "defaultAiCriteriaSearchConfig",
2303
2282
  "declaration": {
2304
- "name": "defaultAccordionItemConfig",
2305
- "module": "src/accordion-item/accordion-item.ts"
2283
+ "name": "defaultAiCriteriaSearchConfig",
2284
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2306
2285
  }
2307
2286
  },
2308
2287
  {
2309
2288
  "kind": "js",
2310
- "name": "foundationAccordionItem",
2289
+ "name": "foundationAiCriteriaSearch",
2311
2290
  "declaration": {
2312
- "name": "foundationAccordionItem",
2313
- "module": "src/accordion-item/accordion-item.ts"
2291
+ "name": "foundationAiCriteriaSearch",
2292
+ "module": "src/ai-criteria-search/ai-criteria-search.ts"
2314
2293
  }
2315
2294
  }
2316
2295
  ]
2317
2296
  },
2318
2297
  {
2319
2298
  "kind": "javascript-module",
2320
- "path": "src/accordion-item/index.ts",
2299
+ "path": "src/ai-criteria-search/index.ts",
2321
2300
  "declarations": [],
2322
2301
  "exports": [
2302
+ {
2303
+ "kind": "js",
2304
+ "name": "AiCriteriaSearch",
2305
+ "declaration": {
2306
+ "name": "AiCriteriaSearch",
2307
+ "module": "./ai-criteria-search"
2308
+ }
2309
+ },
2310
+ {
2311
+ "kind": "js",
2312
+ "name": "defaultAiCriteriaSearchConfig",
2313
+ "declaration": {
2314
+ "name": "defaultAiCriteriaSearchConfig",
2315
+ "module": "./ai-criteria-search"
2316
+ }
2317
+ },
2318
+ {
2319
+ "kind": "js",
2320
+ "name": "foundationAiCriteriaSearch",
2321
+ "declaration": {
2322
+ "name": "foundationAiCriteriaSearch",
2323
+ "module": "./ai-criteria-search"
2324
+ }
2325
+ },
2326
+ {
2327
+ "kind": "js",
2328
+ "name": "foundationAiCriteriaSearchShadowOptions",
2329
+ "declaration": {
2330
+ "name": "foundationAiCriteriaSearchShadowOptions",
2331
+ "module": "./ai-criteria-search"
2332
+ }
2333
+ },
2334
+ {
2335
+ "kind": "js",
2336
+ "name": "foundationAiCriteriaSearchStyles",
2337
+ "declaration": {
2338
+ "name": "foundationAiCriteriaSearchStyles",
2339
+ "module": "./ai-criteria-search.styles"
2340
+ }
2341
+ },
2342
+ {
2343
+ "kind": "js",
2344
+ "name": "foundationAiCriteriaSearchTemplate",
2345
+ "declaration": {
2346
+ "name": "foundationAiCriteriaSearchTemplate",
2347
+ "module": "./ai-criteria-search.template"
2348
+ }
2349
+ },
2323
2350
  {
2324
2351
  "kind": "js",
2325
2352
  "name": "*",
2326
2353
  "declaration": {
2327
2354
  "name": "*",
2328
- "package": "./accordion-item.template"
2355
+ "package": "./validation/criteria-ir"
2329
2356
  }
2330
2357
  },
2331
2358
  {
@@ -2333,7 +2360,7 @@
2333
2360
  "name": "*",
2334
2361
  "declaration": {
2335
2362
  "name": "*",
2336
- "package": "./accordion-item.styles"
2363
+ "package": "./validation/operator-map"
2337
2364
  }
2338
2365
  },
2339
2366
  {
@@ -2341,7 +2368,82 @@
2341
2368
  "name": "*",
2342
2369
  "declaration": {
2343
2370
  "name": "*",
2344
- "package": "./accordion-item"
2371
+ "package": "./validation/schema-validator"
2372
+ }
2373
+ }
2374
+ ]
2375
+ },
2376
+ {
2377
+ "kind": "javascript-module",
2378
+ "path": "src/ai-criteria-search/validation-error-notification.ts",
2379
+ "declarations": [
2380
+ {
2381
+ "kind": "function",
2382
+ "name": "formatValidationErrors",
2383
+ "return": {
2384
+ "type": {
2385
+ "text": "string"
2386
+ }
2387
+ },
2388
+ "parameters": [
2389
+ {
2390
+ "name": "errors",
2391
+ "type": {
2392
+ "text": "ValidationError[]"
2393
+ }
2394
+ }
2395
+ ],
2396
+ "description": "Formats validation errors into a user-friendly message."
2397
+ },
2398
+ {
2399
+ "kind": "function",
2400
+ "name": "showCriteriaError",
2401
+ "return": {
2402
+ "type": {
2403
+ "text": "void"
2404
+ }
2405
+ },
2406
+ "parameters": [
2407
+ {
2408
+ "name": "title",
2409
+ "type": {
2410
+ "text": "string"
2411
+ },
2412
+ "description": "Notification title (e.g. \"Criteria validation error\")"
2413
+ },
2414
+ {
2415
+ "name": "body",
2416
+ "type": {
2417
+ "text": "string"
2418
+ },
2419
+ "description": "Error message to display"
2420
+ },
2421
+ {
2422
+ "name": "tagName",
2423
+ "type": {
2424
+ "text": "string"
2425
+ },
2426
+ "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
2427
+ }
2428
+ ],
2429
+ "description": "Shows a criteria error as a toast notification."
2430
+ }
2431
+ ],
2432
+ "exports": [
2433
+ {
2434
+ "kind": "js",
2435
+ "name": "formatValidationErrors",
2436
+ "declaration": {
2437
+ "name": "formatValidationErrors",
2438
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2439
+ }
2440
+ },
2441
+ {
2442
+ "kind": "js",
2443
+ "name": "showCriteriaError",
2444
+ "declaration": {
2445
+ "name": "showCriteriaError",
2446
+ "module": "src/ai-criteria-search/validation-error-notification.ts"
2345
2447
  }
2346
2448
  }
2347
2449
  ]
@@ -2907,57 +3009,75 @@
2907
3009
  },
2908
3010
  {
2909
3011
  "kind": "javascript-module",
2910
- "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
3012
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2911
3013
  "declarations": [
2912
3014
  {
2913
- "kind": "variable",
2914
- "name": "foundationAiCriteriaSearchStyles",
2915
- "default": "css`\n :host {\n display: block;\n width: 800px;\n }\n\n .ai-criteria-search {\n display: flex;\n flex-direction: column;\n gap: calc(${designUnit} * 2px);\n }\n\n .ai-criteria-search-row {\n display: flex;\n flex-direction: row;\n gap: calc(${designUnit} * 2px);\n align-items: center;\n }\n\n .criteria-input {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n }\n\n .criteria-chips-inline {\n height: calc(((var(--base-height-multiplier) + var(--density)) * var(--design-unit) - 4) * 1px);\n flex: 1;\n min-width: 0;\n display: flex;\n align-items: center;\n gap: calc(${designUnit} * 1px);\n overflow-x: auto;\n padding: 0 calc(${designUnit} * 2px);\n background: var(--neutral-fill-input-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n scrollbar-width: none;\n }\n\n .criteria-chips-inline::-webkit-scrollbar {\n display: none;\n }\n\n .mic-icon {\n color: var(--neutral-foreground-rest);\n fill: currentColor;\n }\n\n .criteria-toggle-button,\n .criteria-clear-button {\n flex-shrink: 0;\n }\n\n .criteria-chip {\n display: inline-flex;\n align-items: center;\n flex-shrink: 0;\n gap: calc(${designUnit} * 1px);\n padding: calc(${designUnit} * 0.5px) calc(${designUnit} * 2px);\n background: var(--neutral-fill-rest);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-rest);\n border-radius: calc(${designUnit} * 4px);\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-rest);\n white-space: nowrap;\n }\n\n .criteria-chip-field {\n font-weight: 600;\n }\n\n .criteria-chip-operator {\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-style: italic;\n }\n\n .criteria-chip-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 14px;\n height: 14px;\n padding: 0;\n margin-left: calc(${designUnit} * 0.5px);\n background: none;\n border: none;\n cursor: pointer;\n color: var(--neutral-foreground-hint, var(--neutral-foreground-rest));\n font-size: 10px;\n border-radius: 50%;\n line-height: 1;\n }\n\n .criteria-chip-remove:hover {\n background: var(--neutral-fill-hover);\n color: var(--neutral-foreground-rest);\n }\n`"
3015
+ "kind": "function",
3016
+ "name": "foundationAiIndicatorStyles",
3017
+ "return": {
3018
+ "type": {
3019
+ "text": "ElementStyles"
3020
+ }
3021
+ },
3022
+ "parameters": [
3023
+ {
3024
+ "name": "context",
3025
+ "type": {
3026
+ "text": "ElementDefinitionContext"
3027
+ }
3028
+ },
3029
+ {
3030
+ "name": "definition",
3031
+ "type": {
3032
+ "text": "FoundationElementDefinition"
3033
+ }
3034
+ }
3035
+ ]
2916
3036
  }
2917
3037
  ],
2918
3038
  "exports": [
2919
3039
  {
2920
3040
  "kind": "js",
2921
- "name": "foundationAiCriteriaSearchStyles",
3041
+ "name": "foundationAiIndicatorStyles",
2922
3042
  "declaration": {
2923
- "name": "foundationAiCriteriaSearchStyles",
2924
- "module": "src/ai-criteria-search/ai-criteria-search.styles.ts"
3043
+ "name": "foundationAiIndicatorStyles",
3044
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
2925
3045
  }
2926
3046
  }
2927
3047
  ]
2928
3048
  },
2929
3049
  {
2930
3050
  "kind": "javascript-module",
2931
- "path": "src/ai-criteria-search/ai-criteria-search.template.ts",
3051
+ "path": "src/ai-indicator/ai-indicator.template.ts",
2932
3052
  "declarations": [
2933
3053
  {
2934
3054
  "kind": "variable",
2935
- "name": "foundationAiCriteriaSearchTemplate",
3055
+ "name": "foundationAiIndicatorTemplate",
2936
3056
  "type": {
2937
- "text": "ViewTemplate<AiCriteriaSearch>"
3057
+ "text": "ViewTemplate<AiIndicator>"
2938
3058
  },
2939
- "default": "html`\n ${(x) => aiCriteriaSearchTemplate(getPrefix(x))}\n`"
3059
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
2940
3060
  }
2941
3061
  ],
2942
3062
  "exports": [
2943
3063
  {
2944
3064
  "kind": "js",
2945
- "name": "foundationAiCriteriaSearchTemplate",
3065
+ "name": "foundationAiIndicatorTemplate",
2946
3066
  "declaration": {
2947
- "name": "foundationAiCriteriaSearchTemplate",
2948
- "module": "src/ai-criteria-search/ai-criteria-search.template.ts"
3067
+ "name": "foundationAiIndicatorTemplate",
3068
+ "module": "src/ai-indicator/ai-indicator.template.ts"
2949
3069
  }
2950
3070
  }
2951
3071
  ]
2952
3072
  },
2953
3073
  {
2954
3074
  "kind": "javascript-module",
2955
- "path": "src/ai-criteria-search/ai-criteria-search.ts",
3075
+ "path": "src/ai-indicator/ai-indicator.ts",
2956
3076
  "declarations": [
2957
3077
  {
2958
3078
  "kind": "class",
2959
- "description": "Natural-language criteria search input with AI interpretation.",
2960
- "name": "AiCriteriaSearch",
3079
+ "description": "",
3080
+ "name": "AiIndicator",
2961
3081
  "members": [
2962
3082
  {
2963
3083
  "kind": "field",
@@ -2968,54 +3088,25 @@
2968
3088
  },
2969
3089
  {
2970
3090
  "kind": "field",
2971
- "name": "placeholder",
2972
- "type": {
2973
- "text": "string"
2974
- },
2975
- "default": "'Describe your search criteria in natural language...'"
2976
- },
2977
- {
2978
- "kind": "field",
2979
- "name": "disabled",
2980
- "type": {
2981
- "text": "boolean"
2982
- }
2983
- },
2984
- {
2985
- "kind": "field",
2986
- "name": "inputValue",
2987
- "type": {
2988
- "text": "string"
2989
- },
2990
- "default": "''"
2991
- },
2992
- {
2993
- "kind": "field",
2994
- "name": "isInterpreting",
3091
+ "name": "aiProvider",
2995
3092
  "type": {
2996
- "text": "boolean"
3093
+ "text": "AIProvider | undefined"
2997
3094
  },
2998
- "default": "false"
3095
+ "privacy": "private",
3096
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3097
+ "readonly": true
2999
3098
  },
3000
3099
  {
3001
3100
  "kind": "field",
3002
- "name": "lastValidCriteria",
3101
+ "name": "status",
3003
3102
  "type": {
3004
- "text": "string | null"
3103
+ "text": "AIStatus | null"
3005
3104
  },
3006
3105
  "default": "null"
3007
3106
  },
3008
3107
  {
3009
3108
  "kind": "field",
3010
- "name": "activeGroups",
3011
- "type": {
3012
- "text": "CriteriaGroup[]"
3013
- },
3014
- "default": "[]"
3015
- },
3016
- {
3017
- "kind": "field",
3018
- "name": "showingChips",
3109
+ "name": "open",
3019
3110
  "type": {
3020
3111
  "text": "boolean"
3021
3112
  },
@@ -3023,15 +3114,15 @@
3023
3114
  },
3024
3115
  {
3025
3116
  "kind": "field",
3026
- "name": "fieldMetadata",
3117
+ "name": "state",
3027
3118
  "type": {
3028
- "text": "MetadataDetail[] | string[]"
3119
+ "text": "AIIndicatorState"
3029
3120
  },
3030
- "default": "[]"
3121
+ "default": "'none'"
3031
3122
  },
3032
3123
  {
3033
3124
  "kind": "field",
3034
- "name": "isRecording",
3125
+ "name": "isInstalling",
3035
3126
  "type": {
3036
3127
  "text": "boolean"
3037
3128
  },
@@ -3039,33 +3130,29 @@
3039
3130
  },
3040
3131
  {
3041
3132
  "kind": "field",
3042
- "name": "textAreaRef",
3133
+ "name": "pollTimer",
3043
3134
  "type": {
3044
- "text": "HTMLTextAreaElement"
3135
+ "text": "ReturnType<typeof setInterval> | null"
3045
3136
  },
3046
- "privacy": "public"
3137
+ "privacy": "private",
3138
+ "default": "null"
3047
3139
  },
3048
3140
  {
3049
3141
  "kind": "field",
3050
- "name": "stopRecording",
3051
- "type": {
3052
- "text": "(() => void) | null"
3053
- },
3054
- "privacy": "private",
3055
- "default": "null"
3142
+ "name": "clickOutside",
3143
+ "privacy": "private"
3056
3144
  },
3057
3145
  {
3058
3146
  "kind": "field",
3059
- "name": "speechApplyDebounceTimer",
3147
+ "name": "chromeStatusLabel",
3060
3148
  "type": {
3061
- "text": "ReturnType<typeof setTimeout> | null"
3149
+ "text": "string | null"
3062
3150
  },
3063
- "privacy": "private",
3064
- "default": "null"
3151
+ "readonly": true
3065
3152
  },
3066
3153
  {
3067
3154
  "kind": "field",
3068
- "name": "speechAvailable",
3155
+ "name": "canInstall",
3069
3156
  "type": {
3070
3157
  "text": "boolean"
3071
3158
  },
@@ -3073,65 +3160,69 @@
3073
3160
  },
3074
3161
  {
3075
3162
  "kind": "field",
3076
- "name": "criteriaChips",
3163
+ "name": "isDownloading",
3077
3164
  "type": {
3078
- "text": "CriteriaChip[]"
3165
+ "text": "boolean"
3079
3166
  },
3080
3167
  "readonly": true
3081
3168
  },
3082
3169
  {
3083
3170
  "kind": "method",
3084
- "name": "getFieldLabel",
3085
- "privacy": "private",
3171
+ "name": "openChanged",
3086
3172
  "return": {
3087
3173
  "type": {
3088
- "text": "string"
3174
+ "text": "void"
3089
3175
  }
3090
- },
3176
+ }
3177
+ },
3178
+ {
3179
+ "kind": "method",
3180
+ "name": "handleClickOutside",
3181
+ "privacy": "private",
3091
3182
  "parameters": [
3092
3183
  {
3093
- "name": "fieldName",
3184
+ "name": "event",
3094
3185
  "type": {
3095
- "text": "string"
3186
+ "text": "MouseEvent"
3096
3187
  }
3097
3188
  }
3098
3189
  ]
3099
3190
  },
3100
3191
  {
3101
3192
  "kind": "method",
3102
- "name": "toggleCriteriaView",
3193
+ "name": "toggleDropdown"
3194
+ },
3195
+ {
3196
+ "kind": "method",
3197
+ "name": "refreshStatus",
3103
3198
  "return": {
3104
3199
  "type": {
3105
- "text": "void"
3200
+ "text": "Promise<void>"
3106
3201
  }
3107
3202
  }
3108
3203
  },
3109
3204
  {
3110
3205
  "kind": "method",
3111
- "name": "removeChip",
3206
+ "name": "deriveState",
3207
+ "privacy": "private",
3112
3208
  "return": {
3113
3209
  "type": {
3114
- "text": "void"
3210
+ "text": "AIIndicatorState"
3115
3211
  }
3116
3212
  },
3117
3213
  "parameters": [
3118
3214
  {
3119
- "name": "groupIndex",
3120
- "type": {
3121
- "text": "number"
3122
- }
3123
- },
3124
- {
3125
- "name": "clauseIndex",
3215
+ "name": "s",
3126
3216
  "type": {
3127
- "text": "number"
3217
+ "text": "AIStatus | null"
3128
3218
  }
3129
3219
  }
3130
3220
  ]
3131
3221
  },
3132
3222
  {
3133
3223
  "kind": "method",
3134
- "name": "clearChips",
3224
+ "name": "maybeStartPolling",
3225
+ "privacy": "private",
3135
3226
  "return": {
3136
3227
  "type": {
3137
3228
  "text": "void"
@@ -3140,24 +3231,32 @@
3140
3231
  },
3141
3232
  {
3142
3233
  "kind": "method",
3143
- "name": "handleSubmit"
3144
- },
3145
- {
3146
- "kind": "method",
3147
- "name": "handleBlur"
3148
- },
3149
- {
3150
- "kind": "method",
3151
- "name": "clear"
3234
+ "name": "startPolling",
3235
+ "privacy": "private",
3236
+ "return": {
3237
+ "type": {
3238
+ "text": "void"
3239
+ }
3240
+ }
3152
3241
  },
3153
3242
  {
3154
3243
  "kind": "method",
3155
- "name": "toggleSpeechInput"
3244
+ "name": "stopPolling",
3245
+ "privacy": "private",
3246
+ "return": {
3247
+ "type": {
3248
+ "text": "void"
3249
+ }
3250
+ }
3156
3251
  },
3157
3252
  {
3158
3253
  "kind": "method",
3159
- "name": "clearSpeechApplyDebounce",
3160
- "privacy": "private"
3254
+ "name": "onInstall",
3255
+ "return": {
3256
+ "type": {
3257
+ "text": "Promise<void>"
3258
+ }
3259
+ }
3161
3260
  },
3162
3261
  {
3163
3262
  "kind": "field",
@@ -3271,259 +3370,141 @@
3271
3370
  }
3272
3371
  }
3273
3372
  ],
3274
- "events": [
3275
- {
3276
- "description": "Fired when interpreted criteria is applied or cleared. detail: `string | null`",
3277
- "name": "criteria-changed"
3278
- },
3279
- {
3280
- "description": "Fired when interpreted criteria contains invalid clauses. detail: `ValidationError[]`",
3281
- "name": "validation-errors"
3282
- }
3283
- ],
3284
- "attributes": [
3285
- {
3286
- "name": "placeholder",
3287
- "type": {
3288
- "text": "string"
3289
- },
3290
- "default": "'Describe your search criteria in natural language...'",
3291
- "fieldName": "placeholder"
3292
- },
3293
- {
3294
- "type": {
3295
- "text": "boolean"
3296
- },
3297
- "fieldName": "disabled"
3298
- }
3299
- ],
3300
3373
  "superclass": {
3301
- "name": "FoundationElement",
3302
- "package": "@microsoft/fast-foundation"
3303
- },
3304
- "tagName": "%%prefix%%-ai-criteria-search",
3305
- "customElement": true
3306
- },
3307
- {
3308
- "kind": "variable",
3309
- "name": "foundationAiCriteriaSearchShadowOptions",
3310
- "type": {
3311
- "text": "ShadowRootInit"
3312
- },
3313
- "default": "undefined"
3314
- },
3315
- {
3316
- "kind": "variable",
3317
- "name": "defaultAiCriteriaSearchConfig",
3318
- "type": {
3319
- "text": "object"
3320
- },
3321
- "default": "{}"
3322
- },
3323
- {
3324
- "kind": "variable",
3325
- "name": "foundationAiCriteriaSearch"
3326
- }
3327
- ],
3328
- "exports": [
3329
- {
3330
- "kind": "js",
3331
- "name": "AiCriteriaSearch",
3332
- "declaration": {
3333
- "name": "AiCriteriaSearch",
3334
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3335
- }
3336
- },
3337
- {
3338
- "kind": "js",
3339
- "name": "foundationAiCriteriaSearchShadowOptions",
3340
- "declaration": {
3341
- "name": "foundationAiCriteriaSearchShadowOptions",
3342
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3343
- }
3374
+ "name": "FoundationElement",
3375
+ "package": "@microsoft/fast-foundation"
3376
+ },
3377
+ "tagName": "%%prefix%%-ai-indicator",
3378
+ "customElement": true
3344
3379
  },
3380
+ {
3381
+ "kind": "variable",
3382
+ "name": "foundationAiIndicator"
3383
+ }
3384
+ ],
3385
+ "exports": [
3345
3386
  {
3346
3387
  "kind": "js",
3347
- "name": "defaultAiCriteriaSearchConfig",
3388
+ "name": "AiIndicator",
3348
3389
  "declaration": {
3349
- "name": "defaultAiCriteriaSearchConfig",
3350
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3390
+ "name": "AiIndicator",
3391
+ "module": "src/ai-indicator/ai-indicator.ts"
3351
3392
  }
3352
3393
  },
3353
3394
  {
3354
3395
  "kind": "js",
3355
- "name": "foundationAiCriteriaSearch",
3396
+ "name": "foundationAiIndicator",
3356
3397
  "declaration": {
3357
- "name": "foundationAiCriteriaSearch",
3358
- "module": "src/ai-criteria-search/ai-criteria-search.ts"
3398
+ "name": "foundationAiIndicator",
3399
+ "module": "src/ai-indicator/ai-indicator.ts"
3359
3400
  }
3360
3401
  }
3361
3402
  ]
3362
3403
  },
3363
3404
  {
3364
3405
  "kind": "javascript-module",
3365
- "path": "src/ai-criteria-search/index.ts",
3406
+ "path": "src/ai-indicator/index.ts",
3366
3407
  "declarations": [],
3367
3408
  "exports": [
3368
3409
  {
3369
3410
  "kind": "js",
3370
- "name": "AiCriteriaSearch",
3371
- "declaration": {
3372
- "name": "AiCriteriaSearch",
3373
- "module": "./ai-criteria-search"
3374
- }
3375
- },
3376
- {
3377
- "kind": "js",
3378
- "name": "defaultAiCriteriaSearchConfig",
3379
- "declaration": {
3380
- "name": "defaultAiCriteriaSearchConfig",
3381
- "module": "./ai-criteria-search"
3382
- }
3383
- },
3384
- {
3385
- "kind": "js",
3386
- "name": "foundationAiCriteriaSearch",
3387
- "declaration": {
3388
- "name": "foundationAiCriteriaSearch",
3389
- "module": "./ai-criteria-search"
3390
- }
3391
- },
3392
- {
3393
- "kind": "js",
3394
- "name": "foundationAiCriteriaSearchShadowOptions",
3411
+ "name": "AiIndicator",
3395
3412
  "declaration": {
3396
- "name": "foundationAiCriteriaSearchShadowOptions",
3397
- "module": "./ai-criteria-search"
3413
+ "name": "AiIndicator",
3414
+ "module": "./ai-indicator"
3398
3415
  }
3399
3416
  },
3400
3417
  {
3401
3418
  "kind": "js",
3402
- "name": "foundationAiCriteriaSearchStyles",
3419
+ "name": "foundationAiIndicator",
3403
3420
  "declaration": {
3404
- "name": "foundationAiCriteriaSearchStyles",
3405
- "module": "./ai-criteria-search.styles"
3421
+ "name": "foundationAiIndicator",
3422
+ "module": "./ai-indicator"
3406
3423
  }
3407
3424
  },
3408
3425
  {
3409
3426
  "kind": "js",
3410
- "name": "foundationAiCriteriaSearchTemplate",
3427
+ "name": "type",
3411
3428
  "declaration": {
3412
- "name": "foundationAiCriteriaSearchTemplate",
3413
- "module": "./ai-criteria-search.template"
3429
+ "name": "type",
3430
+ "module": "./ai-indicator"
3414
3431
  }
3415
3432
  },
3416
3433
  {
3417
3434
  "kind": "js",
3418
- "name": "*",
3435
+ "name": "AIIndicatorState",
3419
3436
  "declaration": {
3420
- "name": "*",
3421
- "package": "./validation/criteria-ir"
3437
+ "name": "AIIndicatorState",
3438
+ "module": "./ai-indicator"
3422
3439
  }
3423
3440
  },
3424
3441
  {
3425
3442
  "kind": "js",
3426
- "name": "*",
3443
+ "name": "foundationAiIndicatorTemplate",
3427
3444
  "declaration": {
3428
- "name": "*",
3429
- "package": "./validation/operator-map"
3445
+ "name": "foundationAiIndicatorTemplate",
3446
+ "module": "./ai-indicator.template"
3430
3447
  }
3431
3448
  },
3432
3449
  {
3433
3450
  "kind": "js",
3434
- "name": "*",
3451
+ "name": "foundationAiIndicatorStyles",
3435
3452
  "declaration": {
3436
- "name": "*",
3437
- "package": "./validation/schema-validator"
3453
+ "name": "foundationAiIndicatorStyles",
3454
+ "module": "./ai-indicator.styles"
3438
3455
  }
3439
3456
  }
3440
3457
  ]
3441
3458
  },
3442
3459
  {
3443
3460
  "kind": "javascript-module",
3444
- "path": "src/ai-criteria-search/validation-error-notification.ts",
3461
+ "path": "src/accordion/accordion.styles.ts",
3445
3462
  "declarations": [
3446
3463
  {
3447
3464
  "kind": "function",
3448
- "name": "formatValidationErrors",
3465
+ "name": "foundationAccordionStyles",
3449
3466
  "return": {
3450
3467
  "type": {
3451
- "text": "string"
3468
+ "text": "ElementStyles"
3452
3469
  }
3453
3470
  },
3454
3471
  "parameters": [
3455
3472
  {
3456
- "name": "errors",
3473
+ "name": "context",
3457
3474
  "type": {
3458
- "text": "ValidationError[]"
3475
+ "text": "ElementDefinitionContext"
3459
3476
  }
3460
- }
3461
- ],
3462
- "description": "Formats validation errors into a user-friendly message."
3463
- },
3464
- {
3465
- "kind": "function",
3466
- "name": "showCriteriaError",
3467
- "return": {
3468
- "type": {
3469
- "text": "void"
3470
- }
3471
- },
3472
- "parameters": [
3473
- {
3474
- "name": "title",
3475
- "type": {
3476
- "text": "string"
3477
- },
3478
- "description": "Notification title (e.g. \"Criteria validation error\")"
3479
- },
3480
- {
3481
- "name": "body",
3482
- "type": {
3483
- "text": "string"
3484
- },
3485
- "description": "Error message to display"
3486
3477
  },
3487
3478
  {
3488
- "name": "tagName",
3479
+ "name": "definition",
3489
3480
  "type": {
3490
- "text": "string"
3491
- },
3492
- "description": "Design system prefix (e.g. \"rapid\", \"foundation\")"
3481
+ "text": "FoundationElementDefinition"
3482
+ }
3493
3483
  }
3494
- ],
3495
- "description": "Shows a criteria error as a toast notification."
3484
+ ]
3496
3485
  }
3497
3486
  ],
3498
3487
  "exports": [
3499
3488
  {
3500
3489
  "kind": "js",
3501
- "name": "formatValidationErrors",
3502
- "declaration": {
3503
- "name": "formatValidationErrors",
3504
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3505
- }
3506
- },
3507
- {
3508
- "kind": "js",
3509
- "name": "showCriteriaError",
3490
+ "name": "foundationAccordionStyles",
3510
3491
  "declaration": {
3511
- "name": "showCriteriaError",
3512
- "module": "src/ai-criteria-search/validation-error-notification.ts"
3492
+ "name": "foundationAccordionStyles",
3493
+ "module": "src/accordion/accordion.styles.ts"
3513
3494
  }
3514
3495
  }
3515
3496
  ]
3516
3497
  },
3517
3498
  {
3518
3499
  "kind": "javascript-module",
3519
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3500
+ "path": "src/accordion/accordion.template.ts",
3520
3501
  "declarations": [
3521
3502
  {
3522
3503
  "kind": "function",
3523
- "name": "foundationAiIndicatorStyles",
3504
+ "name": "foundationAccordionTemplate",
3524
3505
  "return": {
3525
3506
  "type": {
3526
- "text": "ElementStyles"
3507
+ "text": "ViewTemplate<Accordion>"
3527
3508
  }
3528
3509
  },
3529
3510
  "parameters": [
@@ -3545,224 +3526,237 @@
3545
3526
  "exports": [
3546
3527
  {
3547
3528
  "kind": "js",
3548
- "name": "foundationAiIndicatorStyles",
3549
- "declaration": {
3550
- "name": "foundationAiIndicatorStyles",
3551
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3552
- }
3553
- }
3554
- ]
3555
- },
3556
- {
3557
- "kind": "javascript-module",
3558
- "path": "src/ai-indicator/ai-indicator.template.ts",
3559
- "declarations": [
3560
- {
3561
- "kind": "variable",
3562
- "name": "foundationAiIndicatorTemplate",
3563
- "type": {
3564
- "text": "ViewTemplate<AiIndicator>"
3565
- },
3566
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3567
- }
3568
- ],
3569
- "exports": [
3570
- {
3571
- "kind": "js",
3572
- "name": "foundationAiIndicatorTemplate",
3529
+ "name": "foundationAccordionTemplate",
3573
3530
  "declaration": {
3574
- "name": "foundationAiIndicatorTemplate",
3575
- "module": "src/ai-indicator/ai-indicator.template.ts"
3531
+ "name": "foundationAccordionTemplate",
3532
+ "module": "src/accordion/accordion.template.ts"
3576
3533
  }
3577
3534
  }
3578
3535
  ]
3579
3536
  },
3580
3537
  {
3581
3538
  "kind": "javascript-module",
3582
- "path": "src/ai-indicator/ai-indicator.ts",
3539
+ "path": "src/accordion/accordion.ts",
3583
3540
  "declarations": [
3584
3541
  {
3585
3542
  "kind": "class",
3586
3543
  "description": "",
3587
- "name": "AiIndicator",
3588
- "members": [
3589
- {
3590
- "kind": "field",
3591
- "name": "providerRegistry",
3592
- "type": {
3593
- "text": "AIProviderRegistry"
3594
- }
3595
- },
3596
- {
3597
- "kind": "field",
3598
- "name": "aiProvider",
3599
- "type": {
3600
- "text": "AIProvider | undefined"
3601
- },
3602
- "privacy": "private",
3603
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3604
- "readonly": true
3605
- },
3544
+ "name": "Accordion",
3545
+ "superclass": {
3546
+ "name": "FASTAccordion",
3547
+ "package": "@microsoft/fast-foundation"
3548
+ },
3549
+ "tagName": "%%prefix%%-accordion",
3550
+ "customElement": true,
3551
+ "attributes": [
3606
3552
  {
3607
- "kind": "field",
3608
- "name": "status",
3553
+ "name": "expand-mode",
3609
3554
  "type": {
3610
- "text": "AIStatus | null"
3555
+ "text": "AccordionExpandMode"
3611
3556
  },
3612
- "default": "null"
3613
- },
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "fieldName": "expandmode",
3559
+ "inheritedFrom": {
3560
+ "name": "Accordion",
3561
+ "module": "src/accordion/accordion.ts"
3562
+ }
3563
+ }
3564
+ ],
3565
+ "members": [
3614
3566
  {
3615
3567
  "kind": "field",
3616
- "name": "open",
3568
+ "name": "expandmode",
3617
3569
  "type": {
3618
- "text": "boolean"
3570
+ "text": "AccordionExpandMode"
3619
3571
  },
3620
- "default": "false"
3572
+ "privacy": "public",
3573
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3574
+ "inheritedFrom": {
3575
+ "name": "Accordion",
3576
+ "module": "src/accordion/accordion.ts"
3577
+ }
3621
3578
  },
3622
3579
  {
3623
3580
  "kind": "field",
3624
- "name": "state",
3581
+ "name": "activeid",
3625
3582
  "type": {
3626
- "text": "AIIndicatorState"
3583
+ "text": "string | null"
3627
3584
  },
3628
- "default": "'none'"
3585
+ "privacy": "private",
3586
+ "inheritedFrom": {
3587
+ "name": "Accordion",
3588
+ "module": "src/accordion/accordion.ts"
3589
+ }
3629
3590
  },
3630
3591
  {
3631
3592
  "kind": "field",
3632
- "name": "isInstalling",
3593
+ "name": "activeItemIndex",
3633
3594
  "type": {
3634
- "text": "boolean"
3595
+ "text": "number"
3635
3596
  },
3636
- "default": "false"
3597
+ "privacy": "private",
3598
+ "default": "0",
3599
+ "inheritedFrom": {
3600
+ "name": "Accordion",
3601
+ "module": "src/accordion/accordion.ts"
3602
+ }
3637
3603
  },
3638
3604
  {
3639
3605
  "kind": "field",
3640
- "name": "pollTimer",
3606
+ "name": "accordionIds",
3641
3607
  "type": {
3642
- "text": "ReturnType<typeof setInterval> | null"
3608
+ "text": "Array<string | null>"
3643
3609
  },
3644
3610
  "privacy": "private",
3645
- "default": "null"
3646
- },
3647
- {
3648
- "kind": "field",
3649
- "name": "clickOutside",
3650
- "privacy": "private"
3611
+ "inheritedFrom": {
3612
+ "name": "Accordion",
3613
+ "module": "src/accordion/accordion.ts"
3614
+ }
3651
3615
  },
3652
3616
  {
3653
3617
  "kind": "field",
3654
- "name": "chromeStatusLabel",
3655
- "type": {
3656
- "text": "string | null"
3657
- },
3658
- "readonly": true
3618
+ "name": "change",
3619
+ "privacy": "private",
3620
+ "inheritedFrom": {
3621
+ "name": "Accordion",
3622
+ "module": "src/accordion/accordion.ts"
3623
+ }
3659
3624
  },
3660
3625
  {
3661
- "kind": "field",
3662
- "name": "canInstall",
3663
- "type": {
3664
- "text": "boolean"
3626
+ "kind": "method",
3627
+ "name": "findExpandedItem",
3628
+ "privacy": "private",
3629
+ "return": {
3630
+ "type": {
3631
+ "text": "AccordionItem | null"
3632
+ }
3665
3633
  },
3666
- "readonly": true
3634
+ "inheritedFrom": {
3635
+ "name": "Accordion",
3636
+ "module": "src/accordion/accordion.ts"
3637
+ }
3667
3638
  },
3668
3639
  {
3669
3640
  "kind": "field",
3670
- "name": "isDownloading",
3671
- "type": {
3672
- "text": "boolean"
3673
- },
3674
- "readonly": true
3641
+ "name": "setItems",
3642
+ "privacy": "private",
3643
+ "inheritedFrom": {
3644
+ "name": "Accordion",
3645
+ "module": "src/accordion/accordion.ts"
3646
+ }
3675
3647
  },
3676
3648
  {
3677
3649
  "kind": "method",
3678
- "name": "openChanged",
3650
+ "name": "resetItems",
3651
+ "privacy": "private",
3679
3652
  "return": {
3680
3653
  "type": {
3681
3654
  "text": "void"
3682
3655
  }
3656
+ },
3657
+ "inheritedFrom": {
3658
+ "name": "Accordion",
3659
+ "module": "src/accordion/accordion.ts"
3683
3660
  }
3684
3661
  },
3685
3662
  {
3686
- "kind": "method",
3687
- "name": "handleClickOutside",
3663
+ "kind": "field",
3664
+ "name": "removeItemListeners",
3688
3665
  "privacy": "private",
3689
- "parameters": [
3690
- {
3691
- "name": "event",
3692
- "type": {
3693
- "text": "MouseEvent"
3694
- }
3695
- }
3696
- ]
3666
+ "inheritedFrom": {
3667
+ "name": "Accordion",
3668
+ "module": "src/accordion/accordion.ts"
3669
+ }
3697
3670
  },
3698
3671
  {
3699
- "kind": "method",
3700
- "name": "toggleDropdown"
3672
+ "kind": "field",
3673
+ "name": "activeItemChange",
3674
+ "privacy": "private",
3675
+ "inheritedFrom": {
3676
+ "name": "Accordion",
3677
+ "module": "src/accordion/accordion.ts"
3678
+ }
3701
3679
  },
3702
3680
  {
3703
3681
  "kind": "method",
3704
- "name": "refreshStatus",
3682
+ "name": "getItemIds",
3683
+ "privacy": "private",
3705
3684
  "return": {
3706
3685
  "type": {
3707
- "text": "Promise<void>"
3686
+ "text": "Array<string | null>"
3708
3687
  }
3688
+ },
3689
+ "inheritedFrom": {
3690
+ "name": "Accordion",
3691
+ "module": "src/accordion/accordion.ts"
3709
3692
  }
3710
3693
  },
3711
3694
  {
3712
3695
  "kind": "method",
3713
- "name": "deriveState",
3696
+ "name": "isSingleExpandMode",
3714
3697
  "privacy": "private",
3715
3698
  "return": {
3716
3699
  "type": {
3717
- "text": "AIIndicatorState"
3700
+ "text": "boolean"
3718
3701
  }
3719
3702
  },
3720
- "parameters": [
3721
- {
3722
- "name": "s",
3723
- "type": {
3724
- "text": "AIStatus | null"
3725
- }
3726
- }
3727
- ]
3703
+ "inheritedFrom": {
3704
+ "name": "Accordion",
3705
+ "module": "src/accordion/accordion.ts"
3706
+ }
3728
3707
  },
3729
3708
  {
3730
- "kind": "method",
3731
- "name": "maybeStartPolling",
3709
+ "kind": "field",
3710
+ "name": "handleItemKeyDown",
3732
3711
  "privacy": "private",
3733
- "return": {
3734
- "type": {
3735
- "text": "void"
3736
- }
3712
+ "inheritedFrom": {
3713
+ "name": "Accordion",
3714
+ "module": "src/accordion/accordion.ts"
3737
3715
  }
3738
3716
  },
3739
3717
  {
3740
- "kind": "method",
3741
- "name": "startPolling",
3718
+ "kind": "field",
3719
+ "name": "handleItemFocus",
3742
3720
  "privacy": "private",
3743
- "return": {
3744
- "type": {
3745
- "text": "void"
3746
- }
3721
+ "inheritedFrom": {
3722
+ "name": "Accordion",
3723
+ "module": "src/accordion/accordion.ts"
3747
3724
  }
3748
3725
  },
3749
3726
  {
3750
3727
  "kind": "method",
3751
- "name": "stopPolling",
3728
+ "name": "adjust",
3752
3729
  "privacy": "private",
3753
3730
  "return": {
3754
3731
  "type": {
3755
3732
  "text": "void"
3756
3733
  }
3734
+ },
3735
+ "parameters": [
3736
+ {
3737
+ "name": "adjustment",
3738
+ "type": {
3739
+ "text": "number"
3740
+ }
3741
+ }
3742
+ ],
3743
+ "inheritedFrom": {
3744
+ "name": "Accordion",
3745
+ "module": "src/accordion/accordion.ts"
3757
3746
  }
3758
3747
  },
3759
3748
  {
3760
3749
  "kind": "method",
3761
- "name": "onInstall",
3750
+ "name": "focusItem",
3751
+ "privacy": "private",
3762
3752
  "return": {
3763
3753
  "type": {
3764
- "text": "Promise<void>"
3754
+ "text": "void"
3765
3755
  }
3756
+ },
3757
+ "inheritedFrom": {
3758
+ "name": "Accordion",
3759
+ "module": "src/accordion/accordion.ts"
3766
3760
  }
3767
3761
  },
3768
3762
  {
@@ -3877,88 +3871,102 @@
3877
3871
  }
3878
3872
  }
3879
3873
  ],
3880
- "superclass": {
3881
- "name": "FoundationElement",
3882
- "package": "@microsoft/fast-foundation"
3874
+ "events": [
3875
+ {
3876
+ "description": "Fires a custom 'change' event when the active item changes",
3877
+ "name": "change",
3878
+ "inheritedFrom": {
3879
+ "name": "Accordion",
3880
+ "module": "src/accordion/accordion.ts"
3881
+ }
3882
+ }
3883
+ ]
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordionShadowOptions",
3888
+ "type": {
3889
+ "text": "ShadowRootInit"
3883
3890
  },
3884
- "tagName": "%%prefix%%-ai-indicator",
3885
- "customElement": true
3891
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3886
3892
  },
3887
3893
  {
3888
3894
  "kind": "variable",
3889
- "name": "foundationAiIndicator"
3895
+ "name": "defaultAccordionConfig",
3896
+ "type": {
3897
+ "text": "object"
3898
+ },
3899
+ "default": "{}"
3900
+ },
3901
+ {
3902
+ "kind": "variable",
3903
+ "name": "foundationAccordion",
3904
+ "description": "The Foundation Accordion",
3905
+ "privacy": "public"
3890
3906
  }
3891
3907
  ],
3892
3908
  "exports": [
3893
3909
  {
3894
3910
  "kind": "js",
3895
- "name": "AiIndicator",
3911
+ "name": "Accordion",
3896
3912
  "declaration": {
3897
- "name": "AiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3913
+ "name": "Accordion",
3914
+ "module": "src/accordion/accordion.ts"
3899
3915
  }
3900
3916
  },
3901
3917
  {
3902
3918
  "kind": "js",
3903
- "name": "foundationAiIndicator",
3904
- "declaration": {
3905
- "name": "foundationAiIndicator",
3906
- "module": "src/ai-indicator/ai-indicator.ts"
3907
- }
3908
- }
3909
- ]
3910
- },
3911
- {
3912
- "kind": "javascript-module",
3913
- "path": "src/ai-indicator/index.ts",
3914
- "declarations": [],
3915
- "exports": [
3916
- {
3917
- "kind": "js",
3918
- "name": "AiIndicator",
3919
+ "name": "foundationAccordionShadowOptions",
3919
3920
  "declaration": {
3920
- "name": "AiIndicator",
3921
- "module": "./ai-indicator"
3921
+ "name": "foundationAccordionShadowOptions",
3922
+ "module": "src/accordion/accordion.ts"
3922
3923
  }
3923
3924
  },
3924
3925
  {
3925
3926
  "kind": "js",
3926
- "name": "foundationAiIndicator",
3927
+ "name": "defaultAccordionConfig",
3927
3928
  "declaration": {
3928
- "name": "foundationAiIndicator",
3929
- "module": "./ai-indicator"
3929
+ "name": "defaultAccordionConfig",
3930
+ "module": "src/accordion/accordion.ts"
3930
3931
  }
3931
3932
  },
3932
3933
  {
3933
3934
  "kind": "js",
3934
- "name": "type",
3935
+ "name": "foundationAccordion",
3935
3936
  "declaration": {
3936
- "name": "type",
3937
- "module": "./ai-indicator"
3937
+ "name": "foundationAccordion",
3938
+ "module": "src/accordion/accordion.ts"
3938
3939
  }
3939
- },
3940
+ }
3941
+ ]
3942
+ },
3943
+ {
3944
+ "kind": "javascript-module",
3945
+ "path": "src/accordion/index.ts",
3946
+ "declarations": [],
3947
+ "exports": [
3940
3948
  {
3941
3949
  "kind": "js",
3942
- "name": "AIIndicatorState",
3950
+ "name": "*",
3943
3951
  "declaration": {
3944
- "name": "AIIndicatorState",
3945
- "module": "./ai-indicator"
3952
+ "name": "*",
3953
+ "package": "./accordion.template"
3946
3954
  }
3947
3955
  },
3948
3956
  {
3949
3957
  "kind": "js",
3950
- "name": "foundationAiIndicatorTemplate",
3958
+ "name": "*",
3951
3959
  "declaration": {
3952
- "name": "foundationAiIndicatorTemplate",
3953
- "module": "./ai-indicator.template"
3960
+ "name": "*",
3961
+ "package": "./accordion.styles"
3954
3962
  }
3955
3963
  },
3956
3964
  {
3957
3965
  "kind": "js",
3958
- "name": "foundationAiIndicatorStyles",
3966
+ "name": "*",
3959
3967
  "declaration": {
3960
- "name": "foundationAiIndicatorStyles",
3961
- "module": "./ai-indicator.styles"
3968
+ "name": "*",
3969
+ "package": "./accordion"
3962
3970
  }
3963
3971
  }
3964
3972
  ]
@@ -38695,6 +38703,410 @@
38695
38703
  }
38696
38704
  ]
38697
38705
  },
38706
+ {
38707
+ "kind": "javascript-module",
38708
+ "path": "src/pill/index.ts",
38709
+ "declarations": [],
38710
+ "exports": [
38711
+ {
38712
+ "kind": "js",
38713
+ "name": "*",
38714
+ "declaration": {
38715
+ "name": "*",
38716
+ "package": "./pill"
38717
+ }
38718
+ },
38719
+ {
38720
+ "kind": "js",
38721
+ "name": "*",
38722
+ "declaration": {
38723
+ "name": "*",
38724
+ "package": "./pill.styles"
38725
+ }
38726
+ },
38727
+ {
38728
+ "kind": "js",
38729
+ "name": "*",
38730
+ "declaration": {
38731
+ "name": "*",
38732
+ "package": "./pill.template"
38733
+ }
38734
+ }
38735
+ ]
38736
+ },
38737
+ {
38738
+ "kind": "javascript-module",
38739
+ "path": "src/pill/pill.styles.ts",
38740
+ "declarations": [
38741
+ {
38742
+ "kind": "variable",
38743
+ "name": "pillStyles",
38744
+ "default": "css`\n :host {\n --pill-fill: var(--neutral-fill-rest, #e5e5e5);\n --pill-fill-hover: var(--neutral-fill-hover, #d9d9d9);\n --pill-foreground: var(--neutral-foreground-rest, #1a1a1a);\n --pill-border-radius: 12px;\n\n display: inline-flex;\n }\n\n .pill {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n height: 24px;\n padding: 0 4px 0 10px;\n border-radius: var(--pill-border-radius);\n background: var(--pill-fill);\n color: var(--pill-foreground);\n font-size: 12px;\n line-height: 1;\n }\n\n .pill[disabled] {\n opacity: 50%;\n }\n\n .pill-body {\n display: inline-flex;\n align-items: center;\n gap: 4px;\n border: none;\n background: transparent;\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n }\n\n .pill-body:disabled {\n cursor: not-allowed;\n }\n\n .pill-body:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n border-radius: var(--pill-border-radius);\n }\n\n .pill-label {\n font-weight: 600;\n white-space: nowrap;\n }\n\n .pill-value {\n white-space: nowrap;\n }\n\n .pill-remove {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 16px;\n height: 16px;\n border: none;\n border-radius: 50%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n padding: 0;\n }\n\n .pill-remove:disabled {\n cursor: not-allowed;\n }\n\n .pill-remove:hover:not(:disabled) {\n background: var(--pill-fill-hover);\n }\n`"
38745
+ }
38746
+ ],
38747
+ "exports": [
38748
+ {
38749
+ "kind": "js",
38750
+ "name": "pillStyles",
38751
+ "declaration": {
38752
+ "name": "pillStyles",
38753
+ "module": "src/pill/pill.styles.ts"
38754
+ }
38755
+ }
38756
+ ]
38757
+ },
38758
+ {
38759
+ "kind": "javascript-module",
38760
+ "path": "src/pill/pill.template.ts",
38761
+ "declarations": [
38762
+ {
38763
+ "kind": "variable",
38764
+ "name": "foundationPillTemplate",
38765
+ "default": "html<Pill>`\n ${(x) => getPrefixedPillTemplate(getPrefix(x))}\n`"
38766
+ }
38767
+ ],
38768
+ "exports": [
38769
+ {
38770
+ "kind": "js",
38771
+ "name": "foundationPillTemplate",
38772
+ "declaration": {
38773
+ "name": "foundationPillTemplate",
38774
+ "module": "src/pill/pill.template.ts"
38775
+ }
38776
+ }
38777
+ ]
38778
+ },
38779
+ {
38780
+ "kind": "javascript-module",
38781
+ "path": "src/pill/pill.ts",
38782
+ "declarations": [
38783
+ {
38784
+ "kind": "variable",
38785
+ "name": "foundationPillShadowOptions",
38786
+ "type": {
38787
+ "text": "ShadowRootInit"
38788
+ },
38789
+ "default": "undefined"
38790
+ },
38791
+ {
38792
+ "kind": "variable",
38793
+ "name": "defaultPillConfig",
38794
+ "type": {
38795
+ "text": "object"
38796
+ },
38797
+ "default": "{}"
38798
+ },
38799
+ {
38800
+ "kind": "class",
38801
+ "description": "",
38802
+ "name": "Pill",
38803
+ "slots": [
38804
+ {
38805
+ "description": "Additional phrasing (inline, non-interactive) content rendered after the label/value, inside the pill body button. Do not slot interactive or block-level elements (e.g. `<button>`, `<a>`, `<div>`) here, as the body is itself a `<button>`.",
38806
+ "name": ""
38807
+ }
38808
+ ],
38809
+ "members": [
38810
+ {
38811
+ "kind": "field",
38812
+ "name": "label",
38813
+ "type": {
38814
+ "text": "string"
38815
+ },
38816
+ "attribute": "label"
38817
+ },
38818
+ {
38819
+ "kind": "field",
38820
+ "name": "value",
38821
+ "type": {
38822
+ "text": "string"
38823
+ },
38824
+ "attribute": "value"
38825
+ },
38826
+ {
38827
+ "kind": "field",
38828
+ "name": "removable",
38829
+ "type": {
38830
+ "text": "boolean"
38831
+ },
38832
+ "default": "true",
38833
+ "attribute": "removable"
38834
+ },
38835
+ {
38836
+ "kind": "field",
38837
+ "name": "disabled",
38838
+ "type": {
38839
+ "text": "boolean"
38840
+ },
38841
+ "default": "false",
38842
+ "attribute": "disabled"
38843
+ },
38844
+ {
38845
+ "kind": "method",
38846
+ "name": "handleBodyClick",
38847
+ "return": {
38848
+ "type": {
38849
+ "text": "void"
38850
+ }
38851
+ }
38852
+ },
38853
+ {
38854
+ "kind": "method",
38855
+ "name": "handleRemoveClick",
38856
+ "return": {
38857
+ "type": {
38858
+ "text": "void"
38859
+ }
38860
+ },
38861
+ "parameters": [
38862
+ {
38863
+ "name": "event",
38864
+ "optional": true,
38865
+ "type": {
38866
+ "text": "Event"
38867
+ }
38868
+ }
38869
+ ]
38870
+ },
38871
+ {
38872
+ "kind": "field",
38873
+ "name": "_presentation",
38874
+ "type": {
38875
+ "text": "ComponentPresentation | null | undefined"
38876
+ },
38877
+ "privacy": "private",
38878
+ "default": "void 0",
38879
+ "inheritedFrom": {
38880
+ "name": "FoundationElement",
38881
+ "module": "src/foundation-element/foundation-element.ts"
38882
+ }
38883
+ },
38884
+ {
38885
+ "kind": "field",
38886
+ "name": "$presentation",
38887
+ "type": {
38888
+ "text": "ComponentPresentation | null"
38889
+ },
38890
+ "privacy": "public",
38891
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
38892
+ "inheritedFrom": {
38893
+ "name": "FoundationElement",
38894
+ "module": "src/foundation-element/foundation-element.ts"
38895
+ }
38896
+ },
38897
+ {
38898
+ "kind": "field",
38899
+ "name": "template",
38900
+ "type": {
38901
+ "text": "ElementViewTemplate | void | null"
38902
+ },
38903
+ "privacy": "public",
38904
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
38905
+ "inheritedFrom": {
38906
+ "name": "FoundationElement",
38907
+ "module": "src/foundation-element/foundation-element.ts"
38908
+ }
38909
+ },
38910
+ {
38911
+ "kind": "method",
38912
+ "name": "templateChanged",
38913
+ "privacy": "protected",
38914
+ "return": {
38915
+ "type": {
38916
+ "text": "void"
38917
+ }
38918
+ },
38919
+ "inheritedFrom": {
38920
+ "name": "FoundationElement",
38921
+ "module": "src/foundation-element/foundation-element.ts"
38922
+ }
38923
+ },
38924
+ {
38925
+ "kind": "field",
38926
+ "name": "styles",
38927
+ "type": {
38928
+ "text": "ElementStyles | void | null"
38929
+ },
38930
+ "privacy": "public",
38931
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
38932
+ "inheritedFrom": {
38933
+ "name": "FoundationElement",
38934
+ "module": "src/foundation-element/foundation-element.ts"
38935
+ }
38936
+ },
38937
+ {
38938
+ "kind": "method",
38939
+ "name": "stylesChanged",
38940
+ "privacy": "protected",
38941
+ "return": {
38942
+ "type": {
38943
+ "text": "void"
38944
+ }
38945
+ },
38946
+ "inheritedFrom": {
38947
+ "name": "FoundationElement",
38948
+ "module": "src/foundation-element/foundation-element.ts"
38949
+ }
38950
+ },
38951
+ {
38952
+ "kind": "method",
38953
+ "name": "compose",
38954
+ "privacy": "public",
38955
+ "static": true,
38956
+ "return": {
38957
+ "type": {
38958
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
38959
+ }
38960
+ },
38961
+ "parameters": [
38962
+ {
38963
+ "name": "this",
38964
+ "type": {
38965
+ "text": "K"
38966
+ }
38967
+ },
38968
+ {
38969
+ "name": "elementDefinition",
38970
+ "type": {
38971
+ "text": "T"
38972
+ },
38973
+ "description": "The definition of the element to create the registry\nfunction for."
38974
+ }
38975
+ ],
38976
+ "description": "Defines an element registry function with a set of element definition defaults.",
38977
+ "inheritedFrom": {
38978
+ "name": "FoundationElement",
38979
+ "module": "src/foundation-element/foundation-element.ts"
38980
+ }
38981
+ }
38982
+ ],
38983
+ "events": [
38984
+ {
38985
+ "description": "Fired when the remove control is activated.",
38986
+ "name": "remove"
38987
+ },
38988
+ {
38989
+ "description": "Fired when the pill body (excluding the remove control) is activated.",
38990
+ "name": "pill-click"
38991
+ }
38992
+ ],
38993
+ "attributes": [
38994
+ {
38995
+ "name": "label",
38996
+ "type": {
38997
+ "text": "string"
38998
+ },
38999
+ "fieldName": "label",
39000
+ "description": "the name of the thing this pill represents, e.g. a filter field name"
39001
+ },
39002
+ {
39003
+ "name": "value",
39004
+ "type": {
39005
+ "text": "string"
39006
+ },
39007
+ "fieldName": "value",
39008
+ "description": "the current value shown alongside the label, e.g. \"Cpty Desk: EQUITIES\""
39009
+ },
39010
+ {
39011
+ "name": "removable",
39012
+ "type": {
39013
+ "text": "boolean"
39014
+ },
39015
+ "default": "true",
39016
+ "fieldName": "removable",
39017
+ "description": "whether the \"x\" remove control is shown"
39018
+ },
39019
+ {
39020
+ "name": "disabled",
39021
+ "type": {
39022
+ "text": "boolean"
39023
+ },
39024
+ "default": "false",
39025
+ "fieldName": "disabled",
39026
+ "description": "disables both the pill body and the remove control"
39027
+ },
39028
+ {
39029
+ "name": "label",
39030
+ "type": {
39031
+ "text": "string"
39032
+ },
39033
+ "attribute": "label",
39034
+ "fieldName": "label"
39035
+ },
39036
+ {
39037
+ "name": "value",
39038
+ "type": {
39039
+ "text": "string"
39040
+ },
39041
+ "attribute": "value",
39042
+ "fieldName": "value"
39043
+ },
39044
+ {
39045
+ "type": {
39046
+ "text": "boolean"
39047
+ },
39048
+ "default": "true",
39049
+ "attribute": "removable",
39050
+ "fieldName": "removable"
39051
+ },
39052
+ {
39053
+ "type": {
39054
+ "text": "boolean"
39055
+ },
39056
+ "default": "false",
39057
+ "attribute": "disabled",
39058
+ "fieldName": "disabled"
39059
+ }
39060
+ ],
39061
+ "superclass": {
39062
+ "name": "FoundationElement",
39063
+ "package": "@microsoft/fast-foundation"
39064
+ },
39065
+ "tagName": "%%prefix%%-pill",
39066
+ "customElement": true
39067
+ },
39068
+ {
39069
+ "kind": "variable",
39070
+ "name": "foundationPill",
39071
+ "description": "The Foundation Pill",
39072
+ "privacy": "public"
39073
+ }
39074
+ ],
39075
+ "exports": [
39076
+ {
39077
+ "kind": "js",
39078
+ "name": "foundationPillShadowOptions",
39079
+ "declaration": {
39080
+ "name": "foundationPillShadowOptions",
39081
+ "module": "src/pill/pill.ts"
39082
+ }
39083
+ },
39084
+ {
39085
+ "kind": "js",
39086
+ "name": "defaultPillConfig",
39087
+ "declaration": {
39088
+ "name": "defaultPillConfig",
39089
+ "module": "src/pill/pill.ts"
39090
+ }
39091
+ },
39092
+ {
39093
+ "kind": "js",
39094
+ "name": "Pill",
39095
+ "declaration": {
39096
+ "name": "Pill",
39097
+ "module": "src/pill/pill.ts"
39098
+ }
39099
+ },
39100
+ {
39101
+ "kind": "js",
39102
+ "name": "foundationPill",
39103
+ "declaration": {
39104
+ "name": "foundationPill",
39105
+ "module": "src/pill/pill.ts"
39106
+ }
39107
+ }
39108
+ ]
39109
+ },
38698
39110
  {
38699
39111
  "kind": "javascript-module",
38700
39112
  "path": "src/popper/index.ts",