@genesislcap/foundation-ui 14.127.1 → 14.127.2

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.
@@ -1350,7 +1350,7 @@
1350
1350
  "type": {
1351
1351
  "text": "object"
1352
1352
  },
1353
- "default": "{\n collapsedIcon: `<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" 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 d=\"M9 5.44446V12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n <path d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n expandedIcon: `<svg width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" 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 d=\"M5.44446 9H12.5556\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path>\n </svg>`,\n}"
1353
+ "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}"
1354
1354
  },
1355
1355
  {
1356
1356
  "kind": "variable",
@@ -1427,34 +1427,11 @@
1427
1427
  },
1428
1428
  {
1429
1429
  "kind": "javascript-module",
1430
- "path": "src/actions-menu/actions-menu.styles.ts",
1430
+ "path": "src/anchor/anchor.styles.ts",
1431
1431
  "declarations": [
1432
1432
  {
1433
1433
  "kind": "function",
1434
- "name": "actionsMenuBaseStyles",
1435
- "return": {
1436
- "type": {
1437
- "text": "ElementStyles"
1438
- }
1439
- },
1440
- "parameters": [
1441
- {
1442
- "name": "context",
1443
- "type": {
1444
- "text": "ElementDefinitionContext"
1445
- }
1446
- },
1447
- {
1448
- "name": "definition",
1449
- "type": {
1450
- "text": "FoundationElementDefinition"
1451
- }
1452
- }
1453
- ]
1454
- },
1455
- {
1456
- "kind": "function",
1457
- "name": "foundationActionsMenuStyles",
1434
+ "name": "foundationAnchorStyles",
1458
1435
  "return": {
1459
1436
  "type": {
1460
1437
  "text": "ElementStyles"
@@ -1479,269 +1456,292 @@
1479
1456
  "exports": [
1480
1457
  {
1481
1458
  "kind": "js",
1482
- "name": "actionsMenuBaseStyles",
1483
- "declaration": {
1484
- "name": "actionsMenuBaseStyles",
1485
- "module": "src/actions-menu/actions-menu.styles.ts"
1486
- }
1487
- },
1488
- {
1489
- "kind": "js",
1490
- "name": "foundationActionsMenuStyles",
1459
+ "name": "foundationAnchorStyles",
1491
1460
  "declaration": {
1492
- "name": "foundationActionsMenuStyles",
1493
- "module": "src/actions-menu/actions-menu.styles.ts"
1461
+ "name": "foundationAnchorStyles",
1462
+ "module": "src/anchor/anchor.styles.ts"
1494
1463
  }
1495
1464
  }
1496
1465
  ]
1497
1466
  },
1498
1467
  {
1499
1468
  "kind": "javascript-module",
1500
- "path": "src/actions-menu/actions-menu.template.ts",
1469
+ "path": "src/anchor/anchor.template.ts",
1501
1470
  "declarations": [
1502
1471
  {
1503
1472
  "kind": "function",
1504
- "name": "menuTemplate",
1473
+ "name": "foundationAnchorTemplate",
1474
+ "return": {
1475
+ "type": {
1476
+ "text": "ViewTemplate<Anchor>"
1477
+ }
1478
+ },
1505
1479
  "parameters": [
1506
1480
  {
1507
- "name": "prefix",
1481
+ "name": "context",
1508
1482
  "type": {
1509
- "text": "string"
1483
+ "text": "ElementDefinitionContext"
1510
1484
  }
1511
- }
1512
- ]
1513
- },
1514
- {
1515
- "kind": "function",
1516
- "name": "singleOptionTemplate",
1517
- "parameters": [
1485
+ },
1518
1486
  {
1519
- "name": "prefix",
1487
+ "name": "definition",
1520
1488
  "type": {
1521
- "text": "string"
1489
+ "text": "FoundationElementDefinition"
1522
1490
  }
1523
1491
  }
1524
1492
  ]
1525
- },
1526
- {
1527
- "kind": "variable",
1528
- "name": "foundationActionsMenuTemplate",
1529
- "type": {
1530
- "text": "ViewTemplate<ActionsMenu>"
1531
- },
1532
- "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
1533
1493
  }
1534
1494
  ],
1535
1495
  "exports": [
1536
1496
  {
1537
1497
  "kind": "js",
1538
- "name": "menuTemplate",
1539
- "declaration": {
1540
- "name": "menuTemplate",
1541
- "module": "src/actions-menu/actions-menu.template.ts"
1542
- }
1543
- },
1544
- {
1545
- "kind": "js",
1546
- "name": "singleOptionTemplate",
1547
- "declaration": {
1548
- "name": "singleOptionTemplate",
1549
- "module": "src/actions-menu/actions-menu.template.ts"
1550
- }
1551
- },
1552
- {
1553
- "kind": "js",
1554
- "name": "foundationActionsMenuTemplate",
1498
+ "name": "foundationAnchorTemplate",
1555
1499
  "declaration": {
1556
- "name": "foundationActionsMenuTemplate",
1557
- "module": "src/actions-menu/actions-menu.template.ts"
1500
+ "name": "foundationAnchorTemplate",
1501
+ "module": "src/anchor/anchor.template.ts"
1558
1502
  }
1559
1503
  }
1560
1504
  ]
1561
1505
  },
1562
1506
  {
1563
1507
  "kind": "javascript-module",
1564
- "path": "src/actions-menu/actions-menu.ts",
1508
+ "path": "src/anchor/anchor.ts",
1565
1509
  "declarations": [
1566
1510
  {
1567
1511
  "kind": "class",
1568
1512
  "description": "",
1569
- "name": "ActionsMenu",
1570
- "members": [
1513
+ "name": "Anchor",
1514
+ "superclass": {
1515
+ "name": "FASTAnchor",
1516
+ "package": "@microsoft/fast-components"
1517
+ },
1518
+ "tagName": "%%prefix%%-anchor",
1519
+ "customElement": true,
1520
+ "attributes": [
1571
1521
  {
1572
- "kind": "field",
1573
- "name": "actions",
1522
+ "name": "download",
1574
1523
  "type": {
1575
- "text": "ActionMenuItem[]"
1524
+ "text": "string"
1525
+ },
1526
+ "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1527
+ "fieldName": "download",
1528
+ "inheritedFrom": {
1529
+ "name": "Anchor",
1530
+ "module": "src/anchor/anchor.ts"
1576
1531
  }
1577
1532
  },
1578
1533
  {
1579
- "kind": "field",
1580
- "name": "isVertical",
1534
+ "name": "href",
1581
1535
  "type": {
1582
- "text": "boolean"
1536
+ "text": "string"
1583
1537
  },
1584
- "default": "false"
1538
+ "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1539
+ "fieldName": "href",
1540
+ "inheritedFrom": {
1541
+ "name": "Anchor",
1542
+ "module": "src/anchor/anchor.ts"
1543
+ }
1585
1544
  },
1586
1545
  {
1587
- "kind": "field",
1588
- "name": "addDefaultActions",
1546
+ "name": "hreflang",
1589
1547
  "type": {
1590
- "text": "boolean"
1548
+ "text": "string"
1591
1549
  },
1592
- "default": "true"
1550
+ "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1551
+ "fieldName": "hreflang",
1552
+ "inheritedFrom": {
1553
+ "name": "Anchor",
1554
+ "module": "src/anchor/anchor.ts"
1555
+ }
1593
1556
  },
1594
1557
  {
1595
- "kind": "field",
1596
- "name": "autoCloseOnAction",
1558
+ "name": "ping",
1597
1559
  "type": {
1598
- "text": "boolean"
1560
+ "text": "string"
1599
1561
  },
1600
- "default": "true"
1562
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1563
+ "fieldName": "ping",
1564
+ "inheritedFrom": {
1565
+ "name": "Anchor",
1566
+ "module": "src/anchor/anchor.ts"
1567
+ }
1601
1568
  },
1602
1569
  {
1603
- "kind": "field",
1604
- "name": "classNames",
1570
+ "name": "referrerpolicy",
1605
1571
  "type": {
1606
1572
  "text": "string"
1573
+ },
1574
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1575
+ "fieldName": "referrerpolicy",
1576
+ "inheritedFrom": {
1577
+ "name": "Anchor",
1578
+ "module": "src/anchor/anchor.ts"
1607
1579
  }
1608
1580
  },
1609
1581
  {
1610
- "kind": "field",
1611
- "name": "definition",
1582
+ "name": "rel",
1612
1583
  "type": {
1613
- "text": "any"
1584
+ "text": "string"
1585
+ },
1586
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1587
+ "fieldName": "rel",
1588
+ "inheritedFrom": {
1589
+ "name": "Anchor",
1590
+ "module": "src/anchor/anchor.ts"
1614
1591
  }
1615
1592
  },
1616
1593
  {
1617
- "kind": "field",
1618
- "name": "name",
1594
+ "name": "target",
1619
1595
  "type": {
1620
- "text": "string"
1596
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1621
1597
  },
1622
- "default": "'Actions'"
1598
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1599
+ "fieldName": "target",
1600
+ "inheritedFrom": {
1601
+ "name": "Anchor",
1602
+ "module": "src/anchor/anchor.ts"
1603
+ }
1623
1604
  },
1624
1605
  {
1625
- "kind": "field",
1626
- "name": "open",
1606
+ "name": "type",
1627
1607
  "type": {
1628
- "text": "boolean"
1608
+ "text": "string"
1629
1609
  },
1630
- "default": "false"
1631
- },
1610
+ "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
1611
+ "fieldName": "type",
1612
+ "inheritedFrom": {
1613
+ "name": "Anchor",
1614
+ "module": "src/anchor/anchor.ts"
1615
+ }
1616
+ }
1617
+ ],
1618
+ "members": [
1632
1619
  {
1633
1620
  "kind": "field",
1634
- "name": "buttonAppearance",
1621
+ "name": "download",
1635
1622
  "type": {
1636
1623
  "text": "string"
1624
+ },
1625
+ "privacy": "public",
1626
+ "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1627
+ "inheritedFrom": {
1628
+ "name": "Anchor",
1629
+ "module": "src/anchor/anchor.ts"
1637
1630
  }
1638
1631
  },
1639
1632
  {
1640
1633
  "kind": "field",
1641
- "name": "hideDisabled",
1634
+ "name": "href",
1642
1635
  "type": {
1643
- "text": "boolean"
1636
+ "text": "string"
1644
1637
  },
1645
- "default": "false"
1638
+ "privacy": "public",
1639
+ "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1640
+ "inheritedFrom": {
1641
+ "name": "Anchor",
1642
+ "module": "src/anchor/anchor.ts"
1643
+ }
1646
1644
  },
1647
1645
  {
1648
1646
  "kind": "field",
1649
- "name": "hideMenuSingleOption",
1647
+ "name": "hreflang",
1650
1648
  "type": {
1651
- "text": "boolean"
1649
+ "text": "string"
1652
1650
  },
1653
- "default": "false"
1651
+ "privacy": "public",
1652
+ "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1653
+ "inheritedFrom": {
1654
+ "name": "Anchor",
1655
+ "module": "src/anchor/anchor.ts"
1656
+ }
1654
1657
  },
1655
1658
  {
1656
1659
  "kind": "field",
1657
- "name": "singleOption",
1660
+ "name": "ping",
1658
1661
  "type": {
1659
- "text": "ActionMenuItem"
1662
+ "text": "string"
1663
+ },
1664
+ "privacy": "public",
1665
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1666
+ "inheritedFrom": {
1667
+ "name": "Anchor",
1668
+ "module": "src/anchor/anchor.ts"
1660
1669
  }
1661
1670
  },
1662
1671
  {
1663
1672
  "kind": "field",
1664
- "name": "actionsMenu",
1673
+ "name": "referrerpolicy",
1665
1674
  "type": {
1666
- "text": "HTMLElement"
1675
+ "text": "string"
1676
+ },
1677
+ "privacy": "public",
1678
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1679
+ "inheritedFrom": {
1680
+ "name": "Anchor",
1681
+ "module": "src/anchor/anchor.ts"
1667
1682
  }
1668
1683
  },
1669
1684
  {
1670
- "kind": "method",
1671
- "name": "definitionChanged",
1672
- "privacy": "protected",
1673
- "parameters": [
1674
- {
1675
- "name": "oldValue",
1676
- "type": {
1677
- "text": "any"
1678
- }
1679
- },
1680
- {
1681
- "name": "newValue",
1682
- "type": {
1683
- "text": "any"
1684
- }
1685
- }
1686
- ]
1687
- },
1688
- {
1689
- "kind": "method",
1690
- "name": "openChanged",
1691
- "privacy": "protected"
1692
- },
1693
- {
1694
- "kind": "method",
1695
- "name": "toggleActionsMenuVisibility"
1696
- },
1697
- {
1698
- "kind": "method",
1699
- "name": "onActionMenuItemClick",
1700
- "parameters": [
1701
- {
1702
- "name": "callback",
1703
- "type": {
1704
- "text": "(rowData) => void | any"
1705
- }
1706
- }
1707
- ]
1685
+ "kind": "field",
1686
+ "name": "rel",
1687
+ "type": {
1688
+ "text": "string"
1689
+ },
1690
+ "privacy": "public",
1691
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1692
+ "inheritedFrom": {
1693
+ "name": "Anchor",
1694
+ "module": "src/anchor/anchor.ts"
1695
+ }
1708
1696
  },
1709
1697
  {
1710
1698
  "kind": "field",
1711
- "name": "allActions",
1699
+ "name": "target",
1712
1700
  "type": {
1713
- "text": "ActionMenuItem[]"
1701
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
1714
1702
  },
1715
- "readonly": true
1703
+ "privacy": "public",
1704
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1705
+ "inheritedFrom": {
1706
+ "name": "Anchor",
1707
+ "module": "src/anchor/anchor.ts"
1708
+ }
1716
1709
  },
1717
1710
  {
1718
1711
  "kind": "field",
1719
- "name": "rowData",
1720
- "readonly": true
1712
+ "name": "type",
1713
+ "type": {
1714
+ "text": "string"
1715
+ },
1716
+ "privacy": "public",
1717
+ "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
1718
+ "inheritedFrom": {
1719
+ "name": "Anchor",
1720
+ "module": "src/anchor/anchor.ts"
1721
+ }
1721
1722
  },
1722
1723
  {
1723
- "kind": "method",
1724
- "name": "getLabel",
1725
- "parameters": [
1726
- {
1727
- "name": "name",
1728
- "type": {
1729
- "text": "string | ((rowData: any) => string)"
1730
- }
1731
- }
1732
- ]
1724
+ "kind": "field",
1725
+ "name": "control",
1726
+ "type": {
1727
+ "text": "HTMLAnchorElement | undefined"
1728
+ },
1729
+ "privacy": "public",
1730
+ "description": "References the root element",
1731
+ "inheritedFrom": {
1732
+ "name": "Anchor",
1733
+ "module": "src/anchor/anchor.ts"
1734
+ }
1733
1735
  },
1734
1736
  {
1735
- "kind": "method",
1736
- "name": "getTemplate",
1737
- "parameters": [
1738
- {
1739
- "name": "prefix",
1740
- "type": {
1741
- "text": "string"
1742
- }
1743
- }
1744
- ]
1737
+ "kind": "field",
1738
+ "name": "handleUnsupportedDelegatesFocus",
1739
+ "privacy": "private",
1740
+ "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
1741
+ "inheritedFrom": {
1742
+ "name": "Anchor",
1743
+ "module": "src/anchor/anchor.ts"
1744
+ }
1745
1745
  },
1746
1746
  {
1747
1747
  "kind": "field",
@@ -1854,108 +1854,69 @@
1854
1854
  "module": "src/foundation-element/foundation-element.ts"
1855
1855
  }
1856
1856
  }
1857
- ],
1858
- "attributes": [
1859
- {
1860
- "name": "is-vertical",
1861
- "type": {
1862
- "text": "boolean"
1863
- },
1864
- "default": "false",
1865
- "fieldName": "isVertical"
1866
- },
1867
- {
1868
- "name": "add-default-actions",
1869
- "type": {
1870
- "text": "boolean"
1871
- },
1872
- "default": "true",
1873
- "fieldName": "addDefaultActions"
1874
- },
1875
- {
1876
- "name": "auto-close-on-action",
1877
- "type": {
1878
- "text": "boolean"
1879
- },
1880
- "default": "true",
1881
- "fieldName": "autoCloseOnAction"
1882
- },
1883
- {
1884
- "name": "name",
1885
- "type": {
1886
- "text": "string"
1887
- },
1888
- "default": "'Actions'",
1889
- "fieldName": "name"
1890
- },
1891
- {
1892
- "name": "open",
1893
- "type": {
1894
- "text": "boolean"
1895
- },
1896
- "default": "false",
1897
- "fieldName": "open"
1898
- },
1899
- {
1900
- "name": "buttonAppearance",
1901
- "type": {
1902
- "text": "string"
1903
- },
1904
- "fieldName": "buttonAppearance"
1905
- },
1906
- {
1907
- "name": "hide-disabled",
1908
- "type": {
1909
- "text": "boolean"
1910
- },
1911
- "default": "false",
1912
- "fieldName": "hideDisabled"
1913
- },
1914
- {
1915
- "name": "hide-menu-single-option",
1916
- "type": {
1917
- "text": "boolean"
1918
- },
1919
- "default": "false",
1920
- "fieldName": "hideMenuSingleOption"
1921
- }
1922
- ],
1923
- "superclass": {
1924
- "name": "FoundationElement",
1925
- "package": "@microsoft/fast-foundation"
1857
+ ]
1858
+ },
1859
+ {
1860
+ "kind": "variable",
1861
+ "name": "foundationAnchorShadowOptions",
1862
+ "type": {
1863
+ "text": "ShadowRootInit"
1926
1864
  },
1927
- "tagName": "%%prefix%%-actions-menu",
1928
- "customElement": true
1865
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
1929
1866
  },
1930
1867
  {
1931
1868
  "kind": "variable",
1932
- "name": "foundationActionsMenu",
1933
- "description": "The Foundation Actions Menu",
1869
+ "name": "defaultAnchorConfig",
1870
+ "type": {
1871
+ "text": "object"
1872
+ },
1873
+ "default": "{}"
1874
+ },
1875
+ {
1876
+ "kind": "variable",
1877
+ "name": "foundationAnchor",
1878
+ "description": "The Foundation Anchor",
1934
1879
  "privacy": "public"
1935
1880
  }
1936
1881
  ],
1937
1882
  "exports": [
1938
1883
  {
1939
1884
  "kind": "js",
1940
- "name": "ActionsMenu",
1885
+ "name": "Anchor",
1941
1886
  "declaration": {
1942
- "name": "ActionsMenu",
1943
- "module": "src/actions-menu/actions-menu.ts"
1887
+ "name": "Anchor",
1888
+ "module": "src/anchor/anchor.ts"
1944
1889
  }
1945
1890
  },
1946
1891
  {
1947
1892
  "kind": "js",
1948
- "name": "foundationActionsMenu",
1893
+ "name": "foundationAnchorShadowOptions",
1949
1894
  "declaration": {
1950
- "name": "foundationActionsMenu",
1951
- "module": "src/actions-menu/actions-menu.ts"
1895
+ "name": "foundationAnchorShadowOptions",
1896
+ "module": "src/anchor/anchor.ts"
1897
+ }
1898
+ },
1899
+ {
1900
+ "kind": "js",
1901
+ "name": "defaultAnchorConfig",
1902
+ "declaration": {
1903
+ "name": "defaultAnchorConfig",
1904
+ "module": "src/anchor/anchor.ts"
1905
+ }
1906
+ },
1907
+ {
1908
+ "kind": "js",
1909
+ "name": "foundationAnchor",
1910
+ "declaration": {
1911
+ "name": "foundationAnchor",
1912
+ "module": "src/anchor/anchor.ts"
1952
1913
  }
1953
1914
  }
1954
1915
  ]
1955
1916
  },
1956
1917
  {
1957
1918
  "kind": "javascript-module",
1958
- "path": "src/actions-menu/index.ts",
1919
+ "path": "src/anchor/index.ts",
1959
1920
  "declarations": [],
1960
1921
  "exports": [
1961
1922
  {
@@ -1963,7 +1924,7 @@
1963
1924
  "name": "*",
1964
1925
  "declaration": {
1965
1926
  "name": "*",
1966
- "package": "./actions-menu.styles"
1927
+ "package": "./anchor.template"
1967
1928
  }
1968
1929
  },
1969
1930
  {
@@ -1971,7 +1932,7 @@
1971
1932
  "name": "*",
1972
1933
  "declaration": {
1973
1934
  "name": "*",
1974
- "package": "./actions-menu.template"
1935
+ "package": "./anchor.styles"
1975
1936
  }
1976
1937
  },
1977
1938
  {
@@ -1979,18 +1940,18 @@
1979
1940
  "name": "*",
1980
1941
  "declaration": {
1981
1942
  "name": "*",
1982
- "package": "./actions-menu"
1943
+ "package": "./anchor"
1983
1944
  }
1984
1945
  }
1985
1946
  ]
1986
1947
  },
1987
1948
  {
1988
1949
  "kind": "javascript-module",
1989
- "path": "src/anchor/anchor.styles.ts",
1950
+ "path": "src/actions-menu/actions-menu.styles.ts",
1990
1951
  "declarations": [
1991
1952
  {
1992
1953
  "kind": "function",
1993
- "name": "foundationAnchorStyles",
1954
+ "name": "actionsMenuBaseStyles",
1994
1955
  "return": {
1995
1956
  "type": {
1996
1957
  "text": "ElementStyles"
@@ -2010,29 +1971,13 @@
2010
1971
  }
2011
1972
  }
2012
1973
  ]
2013
- }
2014
- ],
2015
- "exports": [
2016
- {
2017
- "kind": "js",
2018
- "name": "foundationAnchorStyles",
2019
- "declaration": {
2020
- "name": "foundationAnchorStyles",
2021
- "module": "src/anchor/anchor.styles.ts"
2022
- }
2023
- }
2024
- ]
2025
- },
2026
- {
2027
- "kind": "javascript-module",
2028
- "path": "src/anchor/anchor.template.ts",
2029
- "declarations": [
1974
+ },
2030
1975
  {
2031
1976
  "kind": "function",
2032
- "name": "foundationAnchorTemplate",
1977
+ "name": "foundationActionsMenuStyles",
2033
1978
  "return": {
2034
1979
  "type": {
2035
- "text": "ViewTemplate<Anchor>"
1980
+ "text": "ElementStyles"
2036
1981
  }
2037
1982
  },
2038
1983
  "parameters": [
@@ -2054,253 +1999,269 @@
2054
1999
  "exports": [
2055
2000
  {
2056
2001
  "kind": "js",
2057
- "name": "foundationAnchorTemplate",
2002
+ "name": "actionsMenuBaseStyles",
2058
2003
  "declaration": {
2059
- "name": "foundationAnchorTemplate",
2060
- "module": "src/anchor/anchor.template.ts"
2004
+ "name": "actionsMenuBaseStyles",
2005
+ "module": "src/actions-menu/actions-menu.styles.ts"
2006
+ }
2007
+ },
2008
+ {
2009
+ "kind": "js",
2010
+ "name": "foundationActionsMenuStyles",
2011
+ "declaration": {
2012
+ "name": "foundationActionsMenuStyles",
2013
+ "module": "src/actions-menu/actions-menu.styles.ts"
2061
2014
  }
2062
2015
  }
2063
2016
  ]
2064
2017
  },
2065
2018
  {
2066
2019
  "kind": "javascript-module",
2067
- "path": "src/anchor/anchor.ts",
2020
+ "path": "src/actions-menu/actions-menu.template.ts",
2068
2021
  "declarations": [
2069
2022
  {
2070
- "kind": "class",
2071
- "description": "",
2072
- "name": "Anchor",
2073
- "superclass": {
2074
- "name": "FASTAnchor",
2075
- "package": "@microsoft/fast-components"
2076
- },
2077
- "tagName": "%%prefix%%-anchor",
2078
- "customElement": true,
2079
- "attributes": [
2080
- {
2081
- "name": "download",
2082
- "type": {
2083
- "text": "string"
2084
- },
2085
- "description": "Prompts the user to save the linked URL. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2086
- "fieldName": "download",
2087
- "inheritedFrom": {
2088
- "name": "Anchor",
2089
- "module": "src/anchor/anchor.ts"
2090
- }
2091
- },
2023
+ "kind": "function",
2024
+ "name": "menuTemplate",
2025
+ "parameters": [
2092
2026
  {
2093
- "name": "href",
2027
+ "name": "prefix",
2094
2028
  "type": {
2095
2029
  "text": "string"
2096
- },
2097
- "description": "The URL the hyperlink references. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2098
- "fieldName": "href",
2099
- "inheritedFrom": {
2100
- "name": "Anchor",
2101
- "module": "src/anchor/anchor.ts"
2102
2030
  }
2103
- },
2031
+ }
2032
+ ]
2033
+ },
2034
+ {
2035
+ "kind": "function",
2036
+ "name": "singleOptionTemplate",
2037
+ "parameters": [
2104
2038
  {
2105
- "name": "hreflang",
2039
+ "name": "prefix",
2106
2040
  "type": {
2107
2041
  "text": "string"
2108
- },
2109
- "description": "Hints at the language of the referenced resource. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2110
- "fieldName": "hreflang",
2111
- "inheritedFrom": {
2112
- "name": "Anchor",
2113
- "module": "src/anchor/anchor.ts"
2114
2042
  }
2115
- },
2043
+ }
2044
+ ]
2045
+ },
2046
+ {
2047
+ "kind": "variable",
2048
+ "name": "foundationActionsMenuTemplate",
2049
+ "type": {
2050
+ "text": "ViewTemplate<ActionsMenu>"
2051
+ },
2052
+ "default": "html`\n <div\n class=\"actions-container${(x) => (x.isVertical ? ' actions-vertical' : '')}\"\n part=\"actions-container\"\n >\n ${(x) => x.getTemplate(getPrefix(x))}\n </div>\n`"
2053
+ }
2054
+ ],
2055
+ "exports": [
2056
+ {
2057
+ "kind": "js",
2058
+ "name": "menuTemplate",
2059
+ "declaration": {
2060
+ "name": "menuTemplate",
2061
+ "module": "src/actions-menu/actions-menu.template.ts"
2062
+ }
2063
+ },
2064
+ {
2065
+ "kind": "js",
2066
+ "name": "singleOptionTemplate",
2067
+ "declaration": {
2068
+ "name": "singleOptionTemplate",
2069
+ "module": "src/actions-menu/actions-menu.template.ts"
2070
+ }
2071
+ },
2072
+ {
2073
+ "kind": "js",
2074
+ "name": "foundationActionsMenuTemplate",
2075
+ "declaration": {
2076
+ "name": "foundationActionsMenuTemplate",
2077
+ "module": "src/actions-menu/actions-menu.template.ts"
2078
+ }
2079
+ }
2080
+ ]
2081
+ },
2082
+ {
2083
+ "kind": "javascript-module",
2084
+ "path": "src/actions-menu/actions-menu.ts",
2085
+ "declarations": [
2086
+ {
2087
+ "kind": "class",
2088
+ "description": "",
2089
+ "name": "ActionsMenu",
2090
+ "members": [
2116
2091
  {
2117
- "name": "ping",
2092
+ "kind": "field",
2093
+ "name": "actions",
2118
2094
  "type": {
2119
- "text": "string"
2120
- },
2121
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2122
- "fieldName": "ping",
2123
- "inheritedFrom": {
2124
- "name": "Anchor",
2125
- "module": "src/anchor/anchor.ts"
2095
+ "text": "ActionMenuItem[]"
2126
2096
  }
2127
2097
  },
2128
2098
  {
2129
- "name": "referrerpolicy",
2099
+ "kind": "field",
2100
+ "name": "isVertical",
2130
2101
  "type": {
2131
- "text": "string"
2102
+ "text": "boolean"
2132
2103
  },
2133
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2134
- "fieldName": "referrerpolicy",
2135
- "inheritedFrom": {
2136
- "name": "Anchor",
2137
- "module": "src/anchor/anchor.ts"
2138
- }
2104
+ "default": "false"
2139
2105
  },
2140
2106
  {
2141
- "name": "rel",
2107
+ "kind": "field",
2108
+ "name": "addDefaultActions",
2142
2109
  "type": {
2143
- "text": "string"
2110
+ "text": "boolean"
2144
2111
  },
2145
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2146
- "fieldName": "rel",
2147
- "inheritedFrom": {
2148
- "name": "Anchor",
2149
- "module": "src/anchor/anchor.ts"
2150
- }
2112
+ "default": "true"
2151
2113
  },
2152
2114
  {
2153
- "name": "target",
2115
+ "kind": "field",
2116
+ "name": "autoCloseOnAction",
2154
2117
  "type": {
2155
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2118
+ "text": "boolean"
2156
2119
  },
2157
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2158
- "fieldName": "target",
2159
- "inheritedFrom": {
2160
- "name": "Anchor",
2161
- "module": "src/anchor/anchor.ts"
2162
- }
2120
+ "default": "true"
2163
2121
  },
2164
2122
  {
2165
- "name": "type",
2123
+ "kind": "field",
2124
+ "name": "classNames",
2166
2125
  "type": {
2167
2126
  "text": "string"
2168
- },
2169
- "description": "See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element for more information.",
2170
- "fieldName": "type",
2171
- "inheritedFrom": {
2172
- "name": "Anchor",
2173
- "module": "src/anchor/anchor.ts"
2174
2127
  }
2175
- }
2176
- ],
2177
- "members": [
2128
+ },
2178
2129
  {
2179
2130
  "kind": "field",
2180
- "name": "download",
2131
+ "name": "definition",
2181
2132
  "type": {
2182
- "text": "string"
2183
- },
2184
- "privacy": "public",
2185
- "description": "Prompts the user to save the linked URL. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2186
- "inheritedFrom": {
2187
- "name": "Anchor",
2188
- "module": "src/anchor/anchor.ts"
2133
+ "text": "any"
2189
2134
  }
2190
2135
  },
2191
2136
  {
2192
2137
  "kind": "field",
2193
- "name": "href",
2138
+ "name": "name",
2194
2139
  "type": {
2195
2140
  "text": "string"
2196
2141
  },
2197
- "privacy": "public",
2198
- "description": "The URL the hyperlink references. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2199
- "inheritedFrom": {
2200
- "name": "Anchor",
2201
- "module": "src/anchor/anchor.ts"
2202
- }
2142
+ "default": "'Actions'"
2203
2143
  },
2204
2144
  {
2205
2145
  "kind": "field",
2206
- "name": "hreflang",
2146
+ "name": "open",
2207
2147
  "type": {
2208
- "text": "string"
2148
+ "text": "boolean"
2209
2149
  },
2210
- "privacy": "public",
2211
- "description": "Hints at the language of the referenced resource. See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2212
- "inheritedFrom": {
2213
- "name": "Anchor",
2214
- "module": "src/anchor/anchor.ts"
2215
- }
2150
+ "default": "false"
2216
2151
  },
2217
2152
  {
2218
2153
  "kind": "field",
2219
- "name": "ping",
2154
+ "name": "buttonAppearance",
2220
2155
  "type": {
2221
2156
  "text": "string"
2222
- },
2223
- "privacy": "public",
2224
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2225
- "inheritedFrom": {
2226
- "name": "Anchor",
2227
- "module": "src/anchor/anchor.ts"
2228
2157
  }
2229
2158
  },
2230
2159
  {
2231
2160
  "kind": "field",
2232
- "name": "referrerpolicy",
2161
+ "name": "hideDisabled",
2233
2162
  "type": {
2234
- "text": "string"
2163
+ "text": "boolean"
2235
2164
  },
2236
- "privacy": "public",
2237
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2238
- "inheritedFrom": {
2239
- "name": "Anchor",
2240
- "module": "src/anchor/anchor.ts"
2241
- }
2165
+ "default": "false"
2242
2166
  },
2243
2167
  {
2244
2168
  "kind": "field",
2245
- "name": "rel",
2169
+ "name": "hideMenuSingleOption",
2246
2170
  "type": {
2247
- "text": "string"
2171
+ "text": "boolean"
2248
2172
  },
2249
- "privacy": "public",
2250
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2251
- "inheritedFrom": {
2252
- "name": "Anchor",
2253
- "module": "src/anchor/anchor.ts"
2254
- }
2173
+ "default": "false"
2255
2174
  },
2256
2175
  {
2257
2176
  "kind": "field",
2258
- "name": "target",
2177
+ "name": "singleOption",
2259
2178
  "type": {
2260
- "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
2261
- },
2262
- "privacy": "public",
2263
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2264
- "inheritedFrom": {
2265
- "name": "Anchor",
2266
- "module": "src/anchor/anchor.ts"
2179
+ "text": "ActionMenuItem"
2267
2180
  }
2268
2181
  },
2269
2182
  {
2270
2183
  "kind": "field",
2271
- "name": "type",
2184
+ "name": "actionsMenu",
2272
2185
  "type": {
2273
- "text": "string"
2274
- },
2275
- "privacy": "public",
2276
- "description": "See {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element } for more information.",
2277
- "inheritedFrom": {
2278
- "name": "Anchor",
2279
- "module": "src/anchor/anchor.ts"
2186
+ "text": "HTMLElement"
2280
2187
  }
2281
2188
  },
2189
+ {
2190
+ "kind": "method",
2191
+ "name": "definitionChanged",
2192
+ "privacy": "protected",
2193
+ "parameters": [
2194
+ {
2195
+ "name": "oldValue",
2196
+ "type": {
2197
+ "text": "any"
2198
+ }
2199
+ },
2200
+ {
2201
+ "name": "newValue",
2202
+ "type": {
2203
+ "text": "any"
2204
+ }
2205
+ }
2206
+ ]
2207
+ },
2208
+ {
2209
+ "kind": "method",
2210
+ "name": "openChanged",
2211
+ "privacy": "protected"
2212
+ },
2213
+ {
2214
+ "kind": "method",
2215
+ "name": "toggleActionsMenuVisibility"
2216
+ },
2217
+ {
2218
+ "kind": "method",
2219
+ "name": "onActionMenuItemClick",
2220
+ "parameters": [
2221
+ {
2222
+ "name": "callback",
2223
+ "type": {
2224
+ "text": "(rowData) => void | any"
2225
+ }
2226
+ }
2227
+ ]
2228
+ },
2282
2229
  {
2283
2230
  "kind": "field",
2284
- "name": "control",
2231
+ "name": "allActions",
2285
2232
  "type": {
2286
- "text": "HTMLAnchorElement | undefined"
2233
+ "text": "ActionMenuItem[]"
2287
2234
  },
2288
- "privacy": "public",
2289
- "description": "References the root element",
2290
- "inheritedFrom": {
2291
- "name": "Anchor",
2292
- "module": "src/anchor/anchor.ts"
2293
- }
2235
+ "readonly": true
2294
2236
  },
2295
2237
  {
2296
2238
  "kind": "field",
2297
- "name": "handleUnsupportedDelegatesFocus",
2298
- "privacy": "private",
2299
- "description": "Overrides the focus call for where delegatesFocus is unsupported.\nThis check works for Chrome, Edge Chromium, FireFox, and Safari\nRelevant PR on the Firefox browser: https://phabricator.services.mozilla.com/D123858",
2300
- "inheritedFrom": {
2301
- "name": "Anchor",
2302
- "module": "src/anchor/anchor.ts"
2303
- }
2239
+ "name": "rowData",
2240
+ "readonly": true
2241
+ },
2242
+ {
2243
+ "kind": "method",
2244
+ "name": "getLabel",
2245
+ "parameters": [
2246
+ {
2247
+ "name": "name",
2248
+ "type": {
2249
+ "text": "string | ((rowData: any) => string)"
2250
+ }
2251
+ }
2252
+ ]
2253
+ },
2254
+ {
2255
+ "kind": "method",
2256
+ "name": "getTemplate",
2257
+ "parameters": [
2258
+ {
2259
+ "name": "prefix",
2260
+ "type": {
2261
+ "text": "string"
2262
+ }
2263
+ }
2264
+ ]
2304
2265
  },
2305
2266
  {
2306
2267
  "kind": "field",
@@ -2413,69 +2374,108 @@
2413
2374
  "module": "src/foundation-element/foundation-element.ts"
2414
2375
  }
2415
2376
  }
2416
- ]
2417
- },
2418
- {
2419
- "kind": "variable",
2420
- "name": "foundationAnchorShadowOptions",
2421
- "type": {
2422
- "text": "ShadowRootInit"
2423
- },
2424
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
2425
- },
2426
- {
2427
- "kind": "variable",
2428
- "name": "defaultAnchorConfig",
2429
- "type": {
2430
- "text": "object"
2377
+ ],
2378
+ "attributes": [
2379
+ {
2380
+ "name": "is-vertical",
2381
+ "type": {
2382
+ "text": "boolean"
2383
+ },
2384
+ "default": "false",
2385
+ "fieldName": "isVertical"
2386
+ },
2387
+ {
2388
+ "name": "add-default-actions",
2389
+ "type": {
2390
+ "text": "boolean"
2391
+ },
2392
+ "default": "true",
2393
+ "fieldName": "addDefaultActions"
2394
+ },
2395
+ {
2396
+ "name": "auto-close-on-action",
2397
+ "type": {
2398
+ "text": "boolean"
2399
+ },
2400
+ "default": "true",
2401
+ "fieldName": "autoCloseOnAction"
2402
+ },
2403
+ {
2404
+ "name": "name",
2405
+ "type": {
2406
+ "text": "string"
2407
+ },
2408
+ "default": "'Actions'",
2409
+ "fieldName": "name"
2410
+ },
2411
+ {
2412
+ "name": "open",
2413
+ "type": {
2414
+ "text": "boolean"
2415
+ },
2416
+ "default": "false",
2417
+ "fieldName": "open"
2418
+ },
2419
+ {
2420
+ "name": "buttonAppearance",
2421
+ "type": {
2422
+ "text": "string"
2423
+ },
2424
+ "fieldName": "buttonAppearance"
2425
+ },
2426
+ {
2427
+ "name": "hide-disabled",
2428
+ "type": {
2429
+ "text": "boolean"
2430
+ },
2431
+ "default": "false",
2432
+ "fieldName": "hideDisabled"
2433
+ },
2434
+ {
2435
+ "name": "hide-menu-single-option",
2436
+ "type": {
2437
+ "text": "boolean"
2438
+ },
2439
+ "default": "false",
2440
+ "fieldName": "hideMenuSingleOption"
2441
+ }
2442
+ ],
2443
+ "superclass": {
2444
+ "name": "FoundationElement",
2445
+ "package": "@microsoft/fast-foundation"
2431
2446
  },
2432
- "default": "{}"
2447
+ "tagName": "%%prefix%%-actions-menu",
2448
+ "customElement": true
2433
2449
  },
2434
2450
  {
2435
2451
  "kind": "variable",
2436
- "name": "foundationAnchor",
2437
- "description": "The Foundation Anchor",
2452
+ "name": "foundationActionsMenu",
2453
+ "description": "The Foundation Actions Menu",
2438
2454
  "privacy": "public"
2439
2455
  }
2440
2456
  ],
2441
2457
  "exports": [
2442
2458
  {
2443
2459
  "kind": "js",
2444
- "name": "Anchor",
2445
- "declaration": {
2446
- "name": "Anchor",
2447
- "module": "src/anchor/anchor.ts"
2448
- }
2449
- },
2450
- {
2451
- "kind": "js",
2452
- "name": "foundationAnchorShadowOptions",
2453
- "declaration": {
2454
- "name": "foundationAnchorShadowOptions",
2455
- "module": "src/anchor/anchor.ts"
2456
- }
2457
- },
2458
- {
2459
- "kind": "js",
2460
- "name": "defaultAnchorConfig",
2460
+ "name": "ActionsMenu",
2461
2461
  "declaration": {
2462
- "name": "defaultAnchorConfig",
2463
- "module": "src/anchor/anchor.ts"
2462
+ "name": "ActionsMenu",
2463
+ "module": "src/actions-menu/actions-menu.ts"
2464
2464
  }
2465
2465
  },
2466
2466
  {
2467
2467
  "kind": "js",
2468
- "name": "foundationAnchor",
2468
+ "name": "foundationActionsMenu",
2469
2469
  "declaration": {
2470
- "name": "foundationAnchor",
2471
- "module": "src/anchor/anchor.ts"
2470
+ "name": "foundationActionsMenu",
2471
+ "module": "src/actions-menu/actions-menu.ts"
2472
2472
  }
2473
2473
  }
2474
2474
  ]
2475
2475
  },
2476
2476
  {
2477
2477
  "kind": "javascript-module",
2478
- "path": "src/anchor/index.ts",
2478
+ "path": "src/actions-menu/index.ts",
2479
2479
  "declarations": [],
2480
2480
  "exports": [
2481
2481
  {
@@ -2483,7 +2483,7 @@
2483
2483
  "name": "*",
2484
2484
  "declaration": {
2485
2485
  "name": "*",
2486
- "package": "./anchor.template"
2486
+ "package": "./actions-menu.styles"
2487
2487
  }
2488
2488
  },
2489
2489
  {
@@ -2491,7 +2491,7 @@
2491
2491
  "name": "*",
2492
2492
  "declaration": {
2493
2493
  "name": "*",
2494
- "package": "./anchor.styles"
2494
+ "package": "./actions-menu.template"
2495
2495
  }
2496
2496
  },
2497
2497
  {
@@ -2499,7 +2499,7 @@
2499
2499
  "name": "*",
2500
2500
  "declaration": {
2501
2501
  "name": "*",
2502
- "package": "./anchor"
2502
+ "package": "./actions-menu"
2503
2503
  }
2504
2504
  }
2505
2505
  ]
@@ -12001,7 +12001,7 @@
12001
12001
  "type": {
12002
12002
  "text": "ElementStyles"
12003
12003
  },
12004
- "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-foreground-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--foreground-on-accent-rest);\n }\n\n .header .months-arrows {\n display: flex;\n flex-direction: row;\n }\n\n .header .icon-container {\n display: flex;\n width: 25px;\n height: 25px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n }\n\n .header .icon-container:first-child {\n margin-right: calc(var(--design-unit) * 2px);\n }\n\n .header .prev-month,\n .header .next-month {\n color: var(--foreground-on-accent-rest);\n font-size: 18px;\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--foreground-on-accent-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--foreground-on-accent-rest);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover {\n background: var(--neutral-stroke-hover);\n color: (--neutral-foreground-rest);\n }\n`"
12004
+ "default": "css`\n :host {\n position: relative;\n }\n\n .date-toggle::part(control) {\n cursor: pointer;\n }\n\n .date-toggle::part(label) {\n cursor: pointer;\n }\n\n .calendar-dropdown {\n display: none;\n width: 300px;\n z-index: 999;\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translate(-50%, 8px);\n margin: 10px 0 0;\n padding: 20px;\n background: var(--neutral-foreground-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n box-shadow: 0 0 8px rgb(0 0 0 / 20%);\n }\n\n .calendar-dropdown.top {\n top: auto;\n bottom: 100%;\n margin: 0 0 5px;\n transform: translate(-50%, -8px);\n }\n\n .calendar-dropdown.left {\n top: 50%;\n left: 0;\n margin: 0 0 0 5px;\n transform: translate(calc(-8px + -100%), -50%);\n }\n\n .calendar-dropdown.right {\n top: 50%;\n left: 100%;\n transform: translate(8px, -50%);\n }\n\n .calendar-dropdown.visible {\n display: block;\n }\n\n .header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 0 10px;\n }\n\n .header h3 {\n margin: 0;\n text-transform: capitalize;\n font-weight: bold;\n color: var(--foreground-on-accent-rest);\n }\n\n .header .months-arrows {\n display: flex;\n flex-direction: row;\n }\n\n .header .icon-container {\n display: flex;\n width: 25px;\n height: 25px;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n }\n\n .header .icon-container:first-child {\n margin-right: calc(var(--design-unit) * 2px);\n }\n\n .header .prev-month,\n .header .next-month {\n color: var(--foreground-on-accent-rest);\n font-size: 18px;\n }\n\n .week-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n margin-bottom: 10px;\n color: var(--foreground-on-accent-rest);\n }\n\n .week-days span {\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: capitalize;\n }\n\n .month-days {\n display: grid;\n grid-template-columns: repeat(7, 1fr);\n grid-gap: 5px;\n }\n\n .month-day {\n padding: 8px 5px;\n color: #808080;\n background: none;\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: calc(var(--control-corner-radius) * 4px);\n cursor: pointer;\n border: none;\n }\n\n .month-day.current {\n opacity: 100%;\n color: var(--foreground-on-accent-rest);\n }\n\n .month-day.selected {\n background: var(--accent-foreground-rest);\n color: var(--neutral-foreground-rest);\n }\n\n .month-day:hover {\n background: var(--neutral-stroke-hover);\n color: (--neutral-foreground-rest);\n }\n\n .date-toggle[readonly] .label {\n cursor: pointer;\n }\n`"
12005
12005
  }
12006
12006
  ],
12007
12007
  "exports": [
@@ -12131,6 +12131,13 @@
12131
12131
  },
12132
12132
  "default": "'bottom'"
12133
12133
  },
12134
+ {
12135
+ "kind": "field",
12136
+ "name": "label",
12137
+ "type": {
12138
+ "text": "string"
12139
+ }
12140
+ },
12134
12141
  {
12135
12142
  "kind": "field",
12136
12143
  "name": "value",
@@ -12441,6 +12448,13 @@
12441
12448
  "default": "'bottom'",
12442
12449
  "fieldName": "position"
12443
12450
  },
12451
+ {
12452
+ "name": "label",
12453
+ "type": {
12454
+ "text": "string"
12455
+ },
12456
+ "fieldName": "label"
12457
+ },
12444
12458
  {
12445
12459
  "name": "value",
12446
12460
  "type": {
@@ -22927,7 +22941,7 @@
22927
22941
  {
22928
22942
  "kind": "variable",
22929
22943
  "name": "multiselectStyles",
22930
- "default": "css`\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: rgb(241 241 241);\n min-height: 40px;\n padding: 0 calc(var(--design-unit) * 2.25px);\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: 30%;\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid rgb(231 232 232);\n }\n\n button {\n pointer-events: none;\n }\n\n #arrow-icon {\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .disabled-svg {\n pointer-events: none;\n opacity: 30%;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n .checkbox-container zero-checkbox {\n min-width: fit-content;\n }\n\n .checkbox-container zero-checkbox[disabled],\n .checkbox-container foundation-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${maxheight.toString()}px;\n }\n\n ::slotted(foundation-checkbox),\n foundation-checkbox {\n border-bottom: 1px solid rgb(46 48 52);\n padding: 5px 0 5px 5px;\n margin: 0;\n }\n\n ::slotted(foundation-checkbox:hover),\n foundation-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n ::slotted(foundation-checkbox)::part(label),\n foundation-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n`"
22944
+ "default": "css`\n .root {\n position: relative;\n width: inherit;\n min-width: 250px;\n }\n\n .control {\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field {\n width: 100%;\n cursor: pointer;\n color: rgb(241 241 241);\n min-height: 40px;\n padding: 0 calc(var(--design-unit) * 2.25px);\n border-width: 0;\n background: var(--neutral-fill-input-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n #display-field[disabled] {\n cursor: not-allowed;\n opacity: 30%;\n }\n\n #display-field:focus {\n outline: 1px solid var(--accent-fill-rest);\n background: var(--neutral-fill-input-rest);\n border-style: none;\n box-shadow: none;\n }\n\n #display-field:hover:not(:focus):not([disabled]) {\n outline: 1px solid rgb(231 232 232);\n }\n\n button {\n pointer-events: none;\n }\n\n .indicator {\n position: absolute;\n left: calc(100% - 26px);\n padding: 0;\n cursor: pointer;\n }\n\n #arrow-icon {\n width: 16px;\n fill: white;\n transform: rotate(0deg);\n transition: transform 0.2s linear 0s;\n }\n\n #arrow-icon.flipped {\n transform: rotate(180deg);\n }\n\n .disabled-svg {\n pointer-events: none;\n opacity: 30%;\n }\n\n .options {\n display: flex;\n flex-direction: column;\n position: absolute;\n height: max-content;\n overflow-y: hidden;\n margin-top: 5px;\n border: 1px solid rgba(46 51 57 / 100%);\n border-radius: 4px;\n background: var(--neutral-fill-input-rest);\n width: 100%;\n max-height: 0;\n visibility: hidden;\n transition:\n max-height 0.4s ease 0s,\n visibility 0.4s ease 0s;\n z-index: 999;\n }\n\n .position-above {\n bottom: 100%;\n }\n\n .checkbox-container {\n display: flex;\n flex-direction: column;\n overflow-y: scroll;\n scrollbar-width: thin;\n scrollbar-color: rgb(46 48 53) rgb(31 33 38);\n }\n\n .checkbox-container zero-checkbox {\n min-width: fit-content;\n }\n\n .checkbox-container zero-checkbox[disabled],\n .checkbox-container foundation-checkbox[disabled] {\n cursor: not-allowed;\n }\n\n #filter-search {\n padding: 5px;\n }\n\n ::-webkit-scrollbar {\n width: 12px;\n }\n\n ::-webkit-scrollbar-track {\n background: rgb(31 33 38);\n }\n\n ::-webkit-scrollbar-thumb {\n width: 8px;\n border-radius: 10px;\n box-shadow: inset 0 0 6px rgba(0 0 0 / 30%);\n background-color: rgb(46 48 53);\n border: 3px solid rgb(31 33 38);\n }\n\n .visible {\n visibility: visible;\n max-height: ${maxheight.toString()}px;\n }\n\n ::slotted(foundation-checkbox),\n foundation-checkbox {\n border-bottom: 1px solid rgb(46 48 52);\n padding: 5px 0 5px 5px;\n margin: 0;\n }\n\n ::slotted(foundation-checkbox:hover),\n foundation-checkbox:hover {\n background-color: rgb(45 47 51);\n cursor: pointer;\n }\n\n ::slotted(foundation-checkbox)::part(label),\n foundation-checkbox::part(label) {\n overflow-x: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n .label {\n display: block;\n cursor: pointer;\n font-size: var(--type-ramp-base-font-size);\n line-height: var(--type-ramp-base-line-height);\n font-style: normal;\n margin: calc(var(--design-unit) * 2px) 0;\n }\n\n .label-hidden {\n display: none;\n }\n`"
22931
22945
  }
22932
22946
  ],
22933
22947
  "exports": [