@genesislcap/rapid-design-system 14.172.0 → 14.172.1

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1290 -1290
  2. package/package.json +10 -10
@@ -718,164 +718,7 @@
718
718
  },
719
719
  {
720
720
  "kind": "javascript-module",
721
- "path": "src/accordion/accordion.stories.ts",
722
- "declarations": [
723
- {
724
- "kind": "variable",
725
- "name": "meta",
726
- "type": {
727
- "text": "Meta"
728
- },
729
- "default": "{\n title: 'Accordion',\n component: 'rapid-accordion',\n}"
730
- },
731
- {
732
- "kind": "variable",
733
- "name": "Primary",
734
- "type": {
735
- "text": "StoryObj"
736
- },
737
- "default": "{\n render: () => html`\n <rapid-accordion>\n <rapid-accordion-item slot=\"item\" id=\"accordion-1\" class=\"expanded\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </rapid-accordion-item>\n </rapid-accordion>\n `,\n}"
738
- }
739
- ],
740
- "exports": [
741
- {
742
- "kind": "js",
743
- "name": "default",
744
- "declaration": {
745
- "name": "meta",
746
- "module": "src/accordion/accordion.stories.ts"
747
- }
748
- },
749
- {
750
- "kind": "js",
751
- "name": "Primary",
752
- "declaration": {
753
- "name": "Primary",
754
- "module": "src/accordion/accordion.stories.ts"
755
- }
756
- }
757
- ]
758
- },
759
- {
760
- "kind": "javascript-module",
761
- "path": "src/accordion/accordion.styles.ts",
762
- "declarations": [
763
- {
764
- "kind": "function",
765
- "name": "rapidAccordionStyles",
766
- "return": {
767
- "type": {
768
- "text": "ElementStyles"
769
- }
770
- },
771
- "parameters": [
772
- {
773
- "name": "context",
774
- "type": {
775
- "text": "ElementDefinitionContext"
776
- }
777
- },
778
- {
779
- "name": "definition",
780
- "type": {
781
- "text": "FoundationElementDefinition"
782
- }
783
- }
784
- ]
785
- }
786
- ],
787
- "exports": [
788
- {
789
- "kind": "js",
790
- "name": "rapidAccordionStyles",
791
- "declaration": {
792
- "name": "rapidAccordionStyles",
793
- "module": "src/accordion/accordion.styles.ts"
794
- }
795
- }
796
- ]
797
- },
798
- {
799
- "kind": "javascript-module",
800
- "path": "src/accordion/accordion.template.ts",
801
- "declarations": [
802
- {
803
- "kind": "function",
804
- "name": "rapidAccordionTemplate",
805
- "return": {
806
- "type": {
807
- "text": "ViewTemplate<Accordion>"
808
- }
809
- },
810
- "parameters": [
811
- {
812
- "name": "context",
813
- "type": {
814
- "text": "ElementDefinitionContext"
815
- }
816
- },
817
- {
818
- "name": "definition",
819
- "type": {
820
- "text": "FoundationElementDefinition"
821
- }
822
- }
823
- ]
824
- }
825
- ],
826
- "exports": [
827
- {
828
- "kind": "js",
829
- "name": "rapidAccordionTemplate",
830
- "declaration": {
831
- "name": "rapidAccordionTemplate",
832
- "module": "src/accordion/accordion.template.ts"
833
- }
834
- }
835
- ]
836
- },
837
- {
838
- "kind": "javascript-module",
839
- "path": "src/accordion/accordion.ts",
840
- "declarations": [
841
- {
842
- "kind": "class",
843
- "description": "",
844
- "name": "Accordion",
845
- "superclass": {
846
- "name": "foundationAccordion",
847
- "package": "@genesislcap/foundation-ui"
848
- },
849
- "tagName": "%%prefix%%-accordion",
850
- "customElement": true
851
- },
852
- {
853
- "kind": "variable",
854
- "name": "rapidAccordion"
855
- }
856
- ],
857
- "exports": [
858
- {
859
- "kind": "js",
860
- "name": "Accordion",
861
- "declaration": {
862
- "name": "Accordion",
863
- "module": "src/accordion/accordion.ts"
864
- }
865
- },
866
- {
867
- "kind": "js",
868
- "name": "rapidAccordion",
869
- "declaration": {
870
- "name": "rapidAccordion",
871
- "module": "src/accordion/accordion.ts"
872
- }
873
- }
874
- ]
875
- },
876
- {
877
- "kind": "javascript-module",
878
- "path": "src/accordion/index.ts",
721
+ "path": "src/_config/index.ts",
879
722
  "declarations": [],
880
723
  "exports": [
881
724
  {
@@ -883,15 +726,7 @@
883
726
  "name": "*",
884
727
  "declaration": {
885
728
  "name": "*",
886
- "package": "./accordion"
887
- }
888
- },
889
- {
890
- "kind": "js",
891
- "name": "*",
892
- "declaration": {
893
- "name": "*",
894
- "package": "./accordion.styles"
729
+ "package": "./tokens"
895
730
  }
896
731
  },
897
732
  {
@@ -899,7 +734,7 @@
899
734
  "name": "*",
900
735
  "declaration": {
901
736
  "name": "*",
902
- "package": "./accordion.template"
737
+ "package": "./values"
903
738
  }
904
739
  }
905
740
  ]
@@ -1052,29 +887,6 @@
1052
887
  }
1053
888
  ]
1054
889
  },
1055
- {
1056
- "kind": "javascript-module",
1057
- "path": "src/_config/index.ts",
1058
- "declarations": [],
1059
- "exports": [
1060
- {
1061
- "kind": "js",
1062
- "name": "*",
1063
- "declaration": {
1064
- "name": "*",
1065
- "package": "./tokens"
1066
- }
1067
- },
1068
- {
1069
- "kind": "js",
1070
- "name": "*",
1071
- "declaration": {
1072
- "name": "*",
1073
- "package": "./values"
1074
- }
1075
- }
1076
- ]
1077
- },
1078
890
  {
1079
891
  "kind": "javascript-module",
1080
892
  "path": "src/actions-menu/actions-menu.stories.ts",
@@ -1705,7 +1517,7 @@
1705
1517
  },
1706
1518
  {
1707
1519
  "kind": "javascript-module",
1708
- "path": "src/anchor/anchor.stories.ts",
1520
+ "path": "src/accordion/accordion.stories.ts",
1709
1521
  "declarations": [
1710
1522
  {
1711
1523
  "kind": "variable",
@@ -1713,31 +1525,15 @@
1713
1525
  "type": {
1714
1526
  "text": "Meta"
1715
1527
  },
1716
- "default": "{\n title: 'Anchor',\n component: 'rapid-anchor',\n}"
1717
- },
1718
- {
1719
- "kind": "variable",
1720
- "name": "Default",
1721
- "type": {
1722
- "text": "StoryObj"
1723
- },
1724
- "default": "{\n args: {\n appearance: 'primary',\n target: '_blank',\n href: 'https://www.microsoft.com',\n },\n argTypes: {\n appearance: {\n control: 'select',\n options: [...RapidAppearanceValues, ...FastAppearanceValues],\n },\n },\n render: ({ appearance, target, href }) => html`\n <div style=\"${wrapperStyle}\">\n <h3 style=\"${textStyle}\">${appearance}</div>\n <div style=\"display: flex; flex-direction: row; gap:16px;margin: 8px 0;\">\n <rapid-anchor appearance=\"${appearance}\" target=\"${target}\" href=\"${href}\" >Anchor</rapid-anchor>\n <rapid-anchor appearance=\"${appearance}\">\n Anchor\n <rapid-icon name=\"check\" size=\"md\" slot=\"end\"></rapid-icon>\n </rapid-anchor>\n </div>\n </div>`,\n}"
1725
- },
1726
- {
1727
- "kind": "variable",
1728
- "name": "RapidAnchorAppearances",
1729
- "type": {
1730
- "text": "StoryObj"
1731
- },
1732
- "default": "{\n args: {\n appearances: RapidAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1528
+ "default": "{\n title: 'Accordion',\n component: 'rapid-accordion',\n}"
1733
1529
  },
1734
1530
  {
1735
1531
  "kind": "variable",
1736
- "name": "FastAnchorAppearances",
1532
+ "name": "Primary",
1737
1533
  "type": {
1738
1534
  "text": "StoryObj"
1739
1535
  },
1740
- "default": "{\n args: {\n appearances: FastAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1536
+ "default": "{\n render: () => html`\n <rapid-accordion>\n <rapid-accordion-item slot=\"item\" id=\"accordion-1\" class=\"expanded\">\n Accordion one content\n <div slot=\"heading\">Accordion one</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-2\">\n Accordion two content\n <div slot=\"heading\">Accordion two</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-3\">\n Accordion three content\n <div slot=\"heading\">Accordion three</div>\n </rapid-accordion-item>\n <rapid-accordion-item slot=\"item\" id=\"accordion-4\">\n Accordion four content\n <div slot=\"heading\">Accordion four</div>\n </rapid-accordion-item>\n </rapid-accordion>\n `,\n}"
1741
1537
  }
1742
1538
  ],
1743
1539
  "exports": [
@@ -1746,42 +1542,26 @@
1746
1542
  "name": "default",
1747
1543
  "declaration": {
1748
1544
  "name": "meta",
1749
- "module": "src/anchor/anchor.stories.ts"
1750
- }
1751
- },
1752
- {
1753
- "kind": "js",
1754
- "name": "Default",
1755
- "declaration": {
1756
- "name": "Default",
1757
- "module": "src/anchor/anchor.stories.ts"
1758
- }
1759
- },
1760
- {
1761
- "kind": "js",
1762
- "name": "RapidAnchorAppearances",
1763
- "declaration": {
1764
- "name": "RapidAnchorAppearances",
1765
- "module": "src/anchor/anchor.stories.ts"
1545
+ "module": "src/accordion/accordion.stories.ts"
1766
1546
  }
1767
1547
  },
1768
1548
  {
1769
1549
  "kind": "js",
1770
- "name": "FastAnchorAppearances",
1550
+ "name": "Primary",
1771
1551
  "declaration": {
1772
- "name": "FastAnchorAppearances",
1773
- "module": "src/anchor/anchor.stories.ts"
1552
+ "name": "Primary",
1553
+ "module": "src/accordion/accordion.stories.ts"
1774
1554
  }
1775
1555
  }
1776
1556
  ]
1777
1557
  },
1778
1558
  {
1779
1559
  "kind": "javascript-module",
1780
- "path": "src/anchor/anchor.styles.ts",
1560
+ "path": "src/accordion/accordion.styles.ts",
1781
1561
  "declarations": [
1782
1562
  {
1783
1563
  "kind": "function",
1784
- "name": "rapidAnchorStyles",
1564
+ "name": "rapidAccordionStyles",
1785
1565
  "return": {
1786
1566
  "type": {
1787
1567
  "text": "ElementStyles"
@@ -1806,21 +1586,241 @@
1806
1586
  "exports": [
1807
1587
  {
1808
1588
  "kind": "js",
1809
- "name": "rapidAnchorStyles",
1589
+ "name": "rapidAccordionStyles",
1810
1590
  "declaration": {
1811
- "name": "rapidAnchorStyles",
1812
- "module": "src/anchor/anchor.styles.ts"
1591
+ "name": "rapidAccordionStyles",
1592
+ "module": "src/accordion/accordion.styles.ts"
1813
1593
  }
1814
1594
  }
1815
1595
  ]
1816
1596
  },
1817
1597
  {
1818
1598
  "kind": "javascript-module",
1819
- "path": "src/anchor/anchor.template.ts",
1599
+ "path": "src/accordion/accordion.template.ts",
1820
1600
  "declarations": [
1821
1601
  {
1822
1602
  "kind": "function",
1823
- "name": "rapidAnchorTemplate",
1603
+ "name": "rapidAccordionTemplate",
1604
+ "return": {
1605
+ "type": {
1606
+ "text": "ViewTemplate<Accordion>"
1607
+ }
1608
+ },
1609
+ "parameters": [
1610
+ {
1611
+ "name": "context",
1612
+ "type": {
1613
+ "text": "ElementDefinitionContext"
1614
+ }
1615
+ },
1616
+ {
1617
+ "name": "definition",
1618
+ "type": {
1619
+ "text": "FoundationElementDefinition"
1620
+ }
1621
+ }
1622
+ ]
1623
+ }
1624
+ ],
1625
+ "exports": [
1626
+ {
1627
+ "kind": "js",
1628
+ "name": "rapidAccordionTemplate",
1629
+ "declaration": {
1630
+ "name": "rapidAccordionTemplate",
1631
+ "module": "src/accordion/accordion.template.ts"
1632
+ }
1633
+ }
1634
+ ]
1635
+ },
1636
+ {
1637
+ "kind": "javascript-module",
1638
+ "path": "src/accordion/accordion.ts",
1639
+ "declarations": [
1640
+ {
1641
+ "kind": "class",
1642
+ "description": "",
1643
+ "name": "Accordion",
1644
+ "superclass": {
1645
+ "name": "foundationAccordion",
1646
+ "package": "@genesislcap/foundation-ui"
1647
+ },
1648
+ "tagName": "%%prefix%%-accordion",
1649
+ "customElement": true
1650
+ },
1651
+ {
1652
+ "kind": "variable",
1653
+ "name": "rapidAccordion"
1654
+ }
1655
+ ],
1656
+ "exports": [
1657
+ {
1658
+ "kind": "js",
1659
+ "name": "Accordion",
1660
+ "declaration": {
1661
+ "name": "Accordion",
1662
+ "module": "src/accordion/accordion.ts"
1663
+ }
1664
+ },
1665
+ {
1666
+ "kind": "js",
1667
+ "name": "rapidAccordion",
1668
+ "declaration": {
1669
+ "name": "rapidAccordion",
1670
+ "module": "src/accordion/accordion.ts"
1671
+ }
1672
+ }
1673
+ ]
1674
+ },
1675
+ {
1676
+ "kind": "javascript-module",
1677
+ "path": "src/accordion/index.ts",
1678
+ "declarations": [],
1679
+ "exports": [
1680
+ {
1681
+ "kind": "js",
1682
+ "name": "*",
1683
+ "declaration": {
1684
+ "name": "*",
1685
+ "package": "./accordion"
1686
+ }
1687
+ },
1688
+ {
1689
+ "kind": "js",
1690
+ "name": "*",
1691
+ "declaration": {
1692
+ "name": "*",
1693
+ "package": "./accordion.styles"
1694
+ }
1695
+ },
1696
+ {
1697
+ "kind": "js",
1698
+ "name": "*",
1699
+ "declaration": {
1700
+ "name": "*",
1701
+ "package": "./accordion.template"
1702
+ }
1703
+ }
1704
+ ]
1705
+ },
1706
+ {
1707
+ "kind": "javascript-module",
1708
+ "path": "src/anchor/anchor.stories.ts",
1709
+ "declarations": [
1710
+ {
1711
+ "kind": "variable",
1712
+ "name": "meta",
1713
+ "type": {
1714
+ "text": "Meta"
1715
+ },
1716
+ "default": "{\n title: 'Anchor',\n component: 'rapid-anchor',\n}"
1717
+ },
1718
+ {
1719
+ "kind": "variable",
1720
+ "name": "Default",
1721
+ "type": {
1722
+ "text": "StoryObj"
1723
+ },
1724
+ "default": "{\n args: {\n appearance: 'primary',\n target: '_blank',\n href: 'https://www.microsoft.com',\n },\n argTypes: {\n appearance: {\n control: 'select',\n options: [...RapidAppearanceValues, ...FastAppearanceValues],\n },\n },\n render: ({ appearance, target, href }) => html`\n <div style=\"${wrapperStyle}\">\n <h3 style=\"${textStyle}\">${appearance}</div>\n <div style=\"display: flex; flex-direction: row; gap:16px;margin: 8px 0;\">\n <rapid-anchor appearance=\"${appearance}\" target=\"${target}\" href=\"${href}\" >Anchor</rapid-anchor>\n <rapid-anchor appearance=\"${appearance}\">\n Anchor\n <rapid-icon name=\"check\" size=\"md\" slot=\"end\"></rapid-icon>\n </rapid-anchor>\n </div>\n </div>`,\n}"
1725
+ },
1726
+ {
1727
+ "kind": "variable",
1728
+ "name": "RapidAnchorAppearances",
1729
+ "type": {
1730
+ "text": "StoryObj"
1731
+ },
1732
+ "default": "{\n args: {\n appearances: RapidAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1733
+ },
1734
+ {
1735
+ "kind": "variable",
1736
+ "name": "FastAnchorAppearances",
1737
+ "type": {
1738
+ "text": "StoryObj"
1739
+ },
1740
+ "default": "{\n args: {\n appearances: FastAppearanceValues,\n anchorText: 'Anchor',\n },\n ...StylesMapperTemplate,\n}"
1741
+ }
1742
+ ],
1743
+ "exports": [
1744
+ {
1745
+ "kind": "js",
1746
+ "name": "default",
1747
+ "declaration": {
1748
+ "name": "meta",
1749
+ "module": "src/anchor/anchor.stories.ts"
1750
+ }
1751
+ },
1752
+ {
1753
+ "kind": "js",
1754
+ "name": "Default",
1755
+ "declaration": {
1756
+ "name": "Default",
1757
+ "module": "src/anchor/anchor.stories.ts"
1758
+ }
1759
+ },
1760
+ {
1761
+ "kind": "js",
1762
+ "name": "RapidAnchorAppearances",
1763
+ "declaration": {
1764
+ "name": "RapidAnchorAppearances",
1765
+ "module": "src/anchor/anchor.stories.ts"
1766
+ }
1767
+ },
1768
+ {
1769
+ "kind": "js",
1770
+ "name": "FastAnchorAppearances",
1771
+ "declaration": {
1772
+ "name": "FastAnchorAppearances",
1773
+ "module": "src/anchor/anchor.stories.ts"
1774
+ }
1775
+ }
1776
+ ]
1777
+ },
1778
+ {
1779
+ "kind": "javascript-module",
1780
+ "path": "src/anchor/anchor.styles.ts",
1781
+ "declarations": [
1782
+ {
1783
+ "kind": "function",
1784
+ "name": "rapidAnchorStyles",
1785
+ "return": {
1786
+ "type": {
1787
+ "text": "ElementStyles"
1788
+ }
1789
+ },
1790
+ "parameters": [
1791
+ {
1792
+ "name": "context",
1793
+ "type": {
1794
+ "text": "ElementDefinitionContext"
1795
+ }
1796
+ },
1797
+ {
1798
+ "name": "definition",
1799
+ "type": {
1800
+ "text": "FoundationElementDefinition"
1801
+ }
1802
+ }
1803
+ ]
1804
+ }
1805
+ ],
1806
+ "exports": [
1807
+ {
1808
+ "kind": "js",
1809
+ "name": "rapidAnchorStyles",
1810
+ "declaration": {
1811
+ "name": "rapidAnchorStyles",
1812
+ "module": "src/anchor/anchor.styles.ts"
1813
+ }
1814
+ }
1815
+ ]
1816
+ },
1817
+ {
1818
+ "kind": "javascript-module",
1819
+ "path": "src/anchor/anchor.template.ts",
1820
+ "declarations": [
1821
+ {
1822
+ "kind": "function",
1823
+ "name": "rapidAnchorTemplate",
1824
1824
  "return": {
1825
1825
  "type": {
1826
1826
  "text": "ViewTemplate<Anchor>"
@@ -14695,7 +14695,7 @@
14695
14695
  },
14696
14696
  {
14697
14697
  "kind": "javascript-module",
14698
- "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
14698
+ "path": "src/icon/icon.stories.ts",
14699
14699
  "declarations": [
14700
14700
  {
14701
14701
  "kind": "variable",
@@ -14703,15 +14703,23 @@
14703
14703
  "type": {
14704
14704
  "text": "Meta"
14705
14705
  },
14706
- "default": "{\n title: 'Horizontal Scroll',\n component: 'rapid-horizontal-scroll',\n}"
14706
+ "default": "{\n title: 'Icon',\n component: 'rapid-icon',\n}"
14707
14707
  },
14708
14708
  {
14709
14709
  "kind": "variable",
14710
- "name": "Primary",
14710
+ "name": "Default",
14711
14711
  "type": {
14712
14712
  "text": "StoryObj"
14713
14713
  },
14714
- "default": "{\n render: () => html`\n <rapid-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <rapid-card style=${cardStyle}>\n Card number ${item}\n <rapid-button>A button</rapid-button>\n </rapid-card>\n `,\n )}\n </rapid-horizontal-scroll>\n `,\n}"
14714
+ "default": "{\n argTypes: {\n size: {\n control: 'select',\n options: [\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n '1x',\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n ],\n },\n variant: {\n control: 'select',\n options: ['solid', 'regular', 'brand'],\n },\n },\n args: {\n name: 'glasses',\n size: 'lg',\n variant: 'solid',\n },\n render: ({ name, size, variant }) => html`\n <rapid-icon\n style=\"color: white;\"\n name=\"${name}\"\n size=\"${size}\"\n variant=\"${variant}\"\n ></rapid-icon>\n `,\n}"
14715
+ },
14716
+ {
14717
+ "kind": "variable",
14718
+ "name": "Multiple",
14719
+ "type": {
14720
+ "text": "StoryObj"
14721
+ },
14722
+ "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <rapid-icon name=\"glasses\" size=\"1x\"></rapid-icon>\n <rapid-icon name=\"amazon\" size=\"2x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"amazon-pay\" size=\"3x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"apple\" size=\"4x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"chrome\" size=\"5x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"ambulance\" size=\"xs\"></rapid-icon>\n <rapid-icon name=\"angry\" size=\"1x\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"angry\" size=\"sm\"></rapid-icon>\n <rapid-icon name=\"address-book\" size=\"lg\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"address-book\" size=\"xl\"></rapid-icon>\n <rapid-icon name=\"bookmark\" size=\"2xl;\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"bookmark\" size=\"2xs\"></rapid-icon>\n </div>\n `,\n}"
14715
14723
  }
14716
14724
  ],
14717
14725
  "exports": [
@@ -14720,26 +14728,34 @@
14720
14728
  "name": "default",
14721
14729
  "declaration": {
14722
14730
  "name": "meta",
14723
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
14731
+ "module": "src/icon/icon.stories.ts"
14724
14732
  }
14725
14733
  },
14726
14734
  {
14727
14735
  "kind": "js",
14728
- "name": "Primary",
14736
+ "name": "Default",
14729
14737
  "declaration": {
14730
- "name": "Primary",
14731
- "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
14738
+ "name": "Default",
14739
+ "module": "src/icon/icon.stories.ts"
14740
+ }
14741
+ },
14742
+ {
14743
+ "kind": "js",
14744
+ "name": "Multiple",
14745
+ "declaration": {
14746
+ "name": "Multiple",
14747
+ "module": "src/icon/icon.stories.ts"
14732
14748
  }
14733
14749
  }
14734
14750
  ]
14735
14751
  },
14736
14752
  {
14737
14753
  "kind": "javascript-module",
14738
- "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
14754
+ "path": "src/icon/icon.styles.ts",
14739
14755
  "declarations": [
14740
14756
  {
14741
14757
  "kind": "function",
14742
- "name": "rapidHorizontalScrollStyles",
14758
+ "name": "rapidIconStyles",
14743
14759
  "return": {
14744
14760
  "type": {
14745
14761
  "text": "ElementStyles"
@@ -14764,496 +14780,224 @@
14764
14780
  "exports": [
14765
14781
  {
14766
14782
  "kind": "js",
14767
- "name": "rapidHorizontalScrollStyles",
14768
- "declaration": {
14769
- "name": "rapidHorizontalScrollStyles",
14770
- "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
14771
- }
14772
- }
14773
- ]
14774
- },
14775
- {
14776
- "kind": "javascript-module",
14777
- "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
14778
- "declarations": [
14779
- {
14780
- "kind": "function",
14781
- "name": "rapidHorizontalScrollTemplate",
14782
- "return": {
14783
- "type": {
14784
- "text": "ViewTemplate<HorizontalScroll>"
14785
- }
14786
- },
14787
- "parameters": [
14788
- {
14789
- "name": "context",
14790
- "type": {
14791
- "text": "ElementDefinitionContext"
14792
- }
14793
- },
14794
- {
14795
- "name": "definition",
14796
- "type": {
14797
- "text": "FoundationElementDefinition"
14798
- }
14799
- }
14800
- ]
14801
- }
14802
- ],
14803
- "exports": [
14804
- {
14805
- "kind": "js",
14806
- "name": "rapidHorizontalScrollTemplate",
14783
+ "name": "rapidIconStyles",
14807
14784
  "declaration": {
14808
- "name": "rapidHorizontalScrollTemplate",
14809
- "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
14785
+ "name": "rapidIconStyles",
14786
+ "module": "src/icon/icon.styles.ts"
14810
14787
  }
14811
14788
  }
14812
14789
  ]
14813
14790
  },
14814
14791
  {
14815
14792
  "kind": "javascript-module",
14816
- "path": "src/horizontal-scroll/horizontal-scroll.ts",
14793
+ "path": "src/icon/icon.ts",
14817
14794
  "declarations": [
14818
14795
  {
14819
14796
  "kind": "class",
14820
14797
  "description": "",
14821
- "name": "HorizontalScroll",
14798
+ "name": "Icon",
14822
14799
  "superclass": {
14823
- "name": "FoundationHorizontalScroll",
14800
+ "name": "FoundationIcon",
14824
14801
  "package": "@genesislcap/foundation-ui"
14825
14802
  },
14826
- "tagName": "%%prefix%%-horizontal-scroll",
14803
+ "tagName": "%%prefix%%-icon",
14827
14804
  "customElement": true,
14828
14805
  "attributes": [
14829
14806
  {
14807
+ "name": "name",
14830
14808
  "type": {
14831
- "text": "number"
14809
+ "text": "IconName"
14832
14810
  },
14833
- "default": "600",
14834
- "description": "Speed of scroll in pixels per second",
14835
- "fieldName": "speed",
14811
+ "fieldName": "name",
14836
14812
  "inheritedFrom": {
14837
- "name": "HorizontalScroll",
14838
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14813
+ "name": "Icon",
14814
+ "module": "src/icon/icon.ts"
14839
14815
  }
14840
14816
  },
14841
14817
  {
14842
- "name": "duration",
14818
+ "name": "size",
14843
14819
  "type": {
14844
- "text": "string"
14820
+ "text": "FaSize"
14845
14821
  },
14846
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
14847
- "fieldName": "duration",
14822
+ "default": "'sm'",
14823
+ "fieldName": "size",
14848
14824
  "inheritedFrom": {
14849
- "name": "HorizontalScroll",
14850
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14825
+ "name": "Icon",
14826
+ "module": "src/icon/icon.ts"
14851
14827
  }
14852
14828
  },
14853
14829
  {
14854
- "name": "easing",
14830
+ "name": "variant",
14855
14831
  "type": {
14856
- "text": "ScrollEasing"
14832
+ "text": "IconStyle"
14857
14833
  },
14858
- "default": "\"ease-in-out\"",
14859
- "description": "Attribute used for easing, defaults to ease-in-out",
14860
- "fieldName": "easing",
14834
+ "default": "'solid'",
14835
+ "fieldName": "variant",
14861
14836
  "inheritedFrom": {
14862
- "name": "HorizontalScroll",
14863
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14837
+ "name": "Icon",
14838
+ "module": "src/icon/icon.ts"
14864
14839
  }
14865
- },
14840
+ }
14841
+ ],
14842
+ "members": [
14866
14843
  {
14867
- "name": "flippers-hidden-from-at",
14844
+ "kind": "field",
14845
+ "name": "iElement",
14868
14846
  "type": {
14869
- "text": "boolean"
14847
+ "text": "HTMLElement"
14870
14848
  },
14871
- "default": "false",
14872
- "description": "Attribute to hide flippers from assistive technology",
14873
- "fieldName": "flippersHiddenFromAT",
14874
14849
  "inheritedFrom": {
14875
- "name": "HorizontalScroll",
14876
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14850
+ "name": "Icon",
14851
+ "module": "src/icon/icon.ts"
14877
14852
  }
14878
14853
  },
14879
14854
  {
14880
- "name": "view",
14855
+ "kind": "field",
14856
+ "name": "name",
14881
14857
  "type": {
14882
- "text": "HorizontalScrollView"
14858
+ "text": "IconName"
14883
14859
  },
14884
- "description": "View: default | mobile",
14885
- "fieldName": "view",
14886
14860
  "inheritedFrom": {
14887
- "name": "HorizontalScroll",
14888
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14861
+ "name": "Icon",
14862
+ "module": "src/icon/icon.ts"
14889
14863
  }
14890
- }
14891
- ],
14892
- "members": [
14864
+ },
14893
14865
  {
14894
- "kind": "field",
14895
- "name": "scrollContainer",
14896
- "type": {
14897
- "text": "HTMLDivElement"
14898
- },
14899
- "privacy": "public",
14900
- "description": "Reference to DOM element that scrolls the content",
14866
+ "kind": "method",
14867
+ "name": "nameChanged",
14868
+ "parameters": [
14869
+ {
14870
+ "name": "oldValue",
14871
+ "type": {
14872
+ "text": "string"
14873
+ }
14874
+ },
14875
+ {
14876
+ "name": "newValue",
14877
+ "type": {
14878
+ "text": "string"
14879
+ }
14880
+ }
14881
+ ],
14901
14882
  "inheritedFrom": {
14902
- "name": "HorizontalScroll",
14903
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14883
+ "name": "Icon",
14884
+ "module": "src/icon/icon.ts"
14904
14885
  }
14905
14886
  },
14906
14887
  {
14907
14888
  "kind": "field",
14908
- "name": "content",
14889
+ "name": "size",
14909
14890
  "type": {
14910
- "text": "HTMLDivElement"
14891
+ "text": "FaSize"
14911
14892
  },
14912
- "privacy": "public",
14913
- "description": "Reference to DOM element that holds the slotted content",
14893
+ "default": "'sm'",
14914
14894
  "inheritedFrom": {
14915
- "name": "HorizontalScroll",
14916
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14895
+ "name": "Icon",
14896
+ "module": "src/icon/icon.ts"
14917
14897
  }
14918
14898
  },
14919
14899
  {
14920
- "kind": "field",
14921
- "name": "previousFlipperContainer",
14922
- "type": {
14923
- "text": "HTMLDivElement"
14924
- },
14925
- "privacy": "public",
14926
- "description": "Reference to flipper to scroll to previous content",
14900
+ "kind": "method",
14901
+ "name": "sizeChanged",
14902
+ "parameters": [
14903
+ {
14904
+ "name": "oldValue",
14905
+ "type": {
14906
+ "text": "string"
14907
+ }
14908
+ },
14909
+ {
14910
+ "name": "newValue",
14911
+ "type": {
14912
+ "text": "string"
14913
+ }
14914
+ }
14915
+ ],
14927
14916
  "inheritedFrom": {
14928
- "name": "HorizontalScroll",
14929
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14917
+ "name": "Icon",
14918
+ "module": "src/icon/icon.ts"
14930
14919
  }
14931
14920
  },
14932
14921
  {
14933
14922
  "kind": "field",
14934
- "name": "nextFlipperContainer",
14923
+ "name": "variant",
14935
14924
  "type": {
14936
- "text": "HTMLDivElement"
14925
+ "text": "IconStyle"
14937
14926
  },
14938
- "privacy": "public",
14939
- "description": "Reference to flipper to scroll to the next content",
14927
+ "default": "'solid'",
14940
14928
  "inheritedFrom": {
14941
- "name": "HorizontalScroll",
14942
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14929
+ "name": "Icon",
14930
+ "module": "src/icon/icon.ts"
14943
14931
  }
14944
14932
  },
14945
14933
  {
14946
- "kind": "field",
14947
- "name": "speed",
14948
- "type": {
14949
- "text": "number"
14950
- },
14934
+ "kind": "method",
14935
+ "name": "variantChanged",
14936
+ "parameters": [
14937
+ {
14938
+ "name": "oldValue",
14939
+ "type": {
14940
+ "text": "string"
14941
+ }
14942
+ },
14943
+ {
14944
+ "name": "newValue",
14945
+ "type": {
14946
+ "text": "string"
14947
+ }
14948
+ }
14949
+ ],
14950
+ "inheritedFrom": {
14951
+ "name": "Icon",
14952
+ "module": "src/icon/icon.ts"
14953
+ }
14954
+ },
14955
+ {
14956
+ "kind": "method",
14957
+ "name": "loadIcon",
14951
14958
  "privacy": "public",
14952
- "default": "600",
14953
- "description": "Speed of scroll in pixels per second",
14954
14959
  "inheritedFrom": {
14955
- "name": "HorizontalScroll",
14956
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14960
+ "name": "Icon",
14961
+ "module": "src/icon/icon.ts"
14957
14962
  }
14958
14963
  },
14959
14964
  {
14960
14965
  "kind": "field",
14961
- "name": "duration",
14966
+ "name": "_presentation",
14962
14967
  "type": {
14963
- "text": "string"
14968
+ "text": "ComponentPresentation | null | undefined"
14964
14969
  },
14965
- "privacy": "public",
14966
- "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
14970
+ "privacy": "private",
14971
+ "default": "void 0",
14967
14972
  "inheritedFrom": {
14968
- "name": "HorizontalScroll",
14969
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14973
+ "name": "FoundationElement",
14974
+ "module": "src/foundation-element/foundation-element.ts"
14970
14975
  }
14971
14976
  },
14972
14977
  {
14973
14978
  "kind": "field",
14974
- "name": "easing",
14979
+ "name": "$presentation",
14975
14980
  "type": {
14976
- "text": "ScrollEasing"
14981
+ "text": "ComponentPresentation | null"
14977
14982
  },
14978
14983
  "privacy": "public",
14979
- "default": "\"ease-in-out\"",
14980
- "description": "Attribute used for easing, defaults to ease-in-out",
14984
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
14981
14985
  "inheritedFrom": {
14982
- "name": "HorizontalScroll",
14983
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14986
+ "name": "FoundationElement",
14987
+ "module": "src/foundation-element/foundation-element.ts"
14984
14988
  }
14985
14989
  },
14986
14990
  {
14987
14991
  "kind": "field",
14988
- "name": "flippersHiddenFromAT",
14989
- "type": {
14990
- "text": "boolean"
14991
- },
14992
- "privacy": "public",
14993
- "default": "false",
14994
- "description": "Attribute to hide flippers from assistive technology",
14995
- "inheritedFrom": {
14996
- "name": "HorizontalScroll",
14997
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14998
- }
14999
- },
15000
- {
15001
- "kind": "field",
15002
- "name": "scrollItems",
15003
- "type": {
15004
- "text": "HTMLElement[]"
15005
- },
15006
- "privacy": "public",
15007
- "description": "The default slotted items placed in the scrolling container.",
15008
- "inheritedFrom": {
15009
- "name": "HorizontalScroll",
15010
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15011
- }
15012
- },
15013
- {
15014
- "kind": "field",
15015
- "name": "view",
15016
- "type": {
15017
- "text": "HorizontalScrollView"
15018
- },
15019
- "privacy": "public",
15020
- "description": "View: default | mobile",
15021
- "inheritedFrom": {
15022
- "name": "HorizontalScroll",
15023
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15024
- }
15025
- },
15026
- {
15027
- "kind": "method",
15028
- "name": "scrollItemsChanged",
15029
- "privacy": "public",
15030
- "parameters": [
15031
- {
15032
- "name": "previous",
15033
- "type": {
15034
- "text": "HTMLElement[]"
15035
- },
15036
- "description": "current scroll items"
15037
- },
15038
- {
15039
- "name": "next",
15040
- "type": {
15041
- "text": "HTMLElement[]"
15042
- },
15043
- "description": "new updated scroll items"
15044
- }
15045
- ],
15046
- "description": "Updates scroll stops and flippers when scroll items change",
15047
- "inheritedFrom": {
15048
- "name": "HorizontalScroll",
15049
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15050
- }
15051
- },
15052
- {
15053
- "kind": "method",
15054
- "name": "fixScrollMisalign",
15055
- "privacy": "private",
15056
- "parameters": [
15057
- {
15058
- "name": "stops",
15059
- "type": {
15060
- "text": "number[]"
15061
- }
15062
- }
15063
- ],
15064
- "inheritedFrom": {
15065
- "name": "HorizontalScroll",
15066
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15067
- }
15068
- },
15069
- {
15070
- "kind": "method",
15071
- "name": "scrollInView",
15072
- "privacy": "public",
15073
- "return": {
15074
- "type": {
15075
- "text": "void"
15076
- }
15077
- },
15078
- "parameters": [
15079
- {
15080
- "name": "item",
15081
- "type": {
15082
- "text": "HTMLElement | number"
15083
- },
15084
- "description": "An item index, a scroll item or a child of one of the scroll items"
15085
- },
15086
- {
15087
- "name": "padding",
15088
- "default": "0",
15089
- "type": {
15090
- "text": "number"
15091
- },
15092
- "description": "Padding of the viewport where the active item shouldn't be"
15093
- },
15094
- {
15095
- "name": "rightPadding",
15096
- "optional": true,
15097
- "type": {
15098
- "text": "number"
15099
- },
15100
- "description": "Optional right padding. Uses the padding if not defined"
15101
- }
15102
- ],
15103
- "description": "Function that can scroll an item into view.",
15104
- "inheritedFrom": {
15105
- "name": "HorizontalScroll",
15106
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15107
- }
15108
- },
15109
- {
15110
- "kind": "method",
15111
- "name": "keyupHandler",
15112
- "privacy": "public",
15113
- "parameters": [
15114
- {
15115
- "name": "e",
15116
- "type": {
15117
- "text": "Event & KeyboardEvent"
15118
- },
15119
- "description": "Keyboard event"
15120
- }
15121
- ],
15122
- "description": "Lets the user arrow left and right through the horizontal scroll",
15123
- "inheritedFrom": {
15124
- "name": "HorizontalScroll",
15125
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15126
- }
15127
- },
15128
- {
15129
- "kind": "method",
15130
- "name": "scrollToPrevious",
15131
- "privacy": "public",
15132
- "return": {
15133
- "type": {
15134
- "text": "void"
15135
- }
15136
- },
15137
- "description": "Scrolls items to the left",
15138
- "inheritedFrom": {
15139
- "name": "HorizontalScroll",
15140
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15141
- }
15142
- },
15143
- {
15144
- "kind": "method",
15145
- "name": "scrollToNext",
15146
- "privacy": "public",
15147
- "return": {
15148
- "type": {
15149
- "text": "void"
15150
- }
15151
- },
15152
- "description": "Scrolls items to the right",
15153
- "inheritedFrom": {
15154
- "name": "HorizontalScroll",
15155
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15156
- }
15157
- },
15158
- {
15159
- "kind": "method",
15160
- "name": "scrollToPosition",
15161
- "privacy": "public",
15162
- "return": {
15163
- "type": {
15164
- "text": "void"
15165
- }
15166
- },
15167
- "parameters": [
15168
- {
15169
- "name": "newPosition",
15170
- "type": {
15171
- "text": "number"
15172
- },
15173
- "description": "position to scroll to"
15174
- },
15175
- {
15176
- "name": "position",
15177
- "default": "this.scrollContainer.scrollLeft",
15178
- "type": {
15179
- "text": "number"
15180
- },
15181
- "description": "starting position"
15182
- }
15183
- ],
15184
- "description": "Handles scrolling with easing",
15185
- "inheritedFrom": {
15186
- "name": "HorizontalScroll",
15187
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15188
- }
15189
- },
15190
- {
15191
- "kind": "method",
15192
- "name": "resized",
15193
- "privacy": "public",
15194
- "return": {
15195
- "type": {
15196
- "text": "void"
15197
- }
15198
- },
15199
- "description": "Monitors resize event on the horizontal-scroll element",
15200
- "inheritedFrom": {
15201
- "name": "HorizontalScroll",
15202
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15203
- }
15204
- },
15205
- {
15206
- "kind": "method",
15207
- "name": "scrolled",
15208
- "privacy": "public",
15209
- "return": {
15210
- "type": {
15211
- "text": "void"
15212
- }
15213
- },
15214
- "description": "Monitors scrolled event on the content container",
15215
- "inheritedFrom": {
15216
- "name": "HorizontalScroll",
15217
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15218
- }
15219
- },
15220
- {
15221
- "kind": "field",
15222
- "name": "_presentation",
15223
- "type": {
15224
- "text": "ComponentPresentation | null | undefined"
15225
- },
15226
- "privacy": "private",
15227
- "default": "void 0",
15228
- "inheritedFrom": {
15229
- "name": "HorizontalScroll",
15230
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15231
- }
15232
- },
15233
- {
15234
- "kind": "field",
15235
- "name": "$presentation",
15236
- "type": {
15237
- "text": "ComponentPresentation | null"
15238
- },
15239
- "privacy": "public",
15240
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
15241
- "inheritedFrom": {
15242
- "name": "HorizontalScroll",
15243
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15244
- }
15245
- },
15246
- {
15247
- "kind": "field",
15248
- "name": "template",
14992
+ "name": "template",
15249
14993
  "type": {
15250
14994
  "text": "ElementViewTemplate | void | null"
15251
14995
  },
15252
14996
  "privacy": "public",
15253
14997
  "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.",
15254
14998
  "inheritedFrom": {
15255
- "name": "HorizontalScroll",
15256
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
14999
+ "name": "FoundationElement",
15000
+ "module": "src/foundation-element/foundation-element.ts"
15257
15001
  }
15258
15002
  },
15259
15003
  {
@@ -15266,8 +15010,8 @@
15266
15010
  }
15267
15011
  },
15268
15012
  "inheritedFrom": {
15269
- "name": "HorizontalScroll",
15270
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15013
+ "name": "FoundationElement",
15014
+ "module": "src/foundation-element/foundation-element.ts"
15271
15015
  }
15272
15016
  },
15273
15017
  {
@@ -15279,8 +15023,8 @@
15279
15023
  "privacy": "public",
15280
15024
  "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.",
15281
15025
  "inheritedFrom": {
15282
- "name": "HorizontalScroll",
15283
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15026
+ "name": "FoundationElement",
15027
+ "module": "src/foundation-element/foundation-element.ts"
15284
15028
  }
15285
15029
  },
15286
15030
  {
@@ -15293,8 +15037,8 @@
15293
15037
  }
15294
15038
  },
15295
15039
  "inheritedFrom": {
15296
- "name": "HorizontalScroll",
15297
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15040
+ "name": "FoundationElement",
15041
+ "module": "src/foundation-element/foundation-element.ts"
15298
15042
  }
15299
15043
  },
15300
15044
  {
@@ -15324,73 +15068,65 @@
15324
15068
  ],
15325
15069
  "description": "Defines an element registry function with a set of element definition defaults.",
15326
15070
  "inheritedFrom": {
15327
- "name": "HorizontalScroll",
15328
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15329
- }
15330
- }
15331
- ],
15332
- "events": [
15333
- {
15334
- "description": "Fires a custom 'scrollstart' event when scrolling",
15335
- "name": "scrollstart",
15336
- "inheritedFrom": {
15337
- "name": "HorizontalScroll",
15338
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15339
- }
15340
- },
15341
- {
15342
- "description": "Fires a custom 'scrollend' event when scrolling stops",
15343
- "name": "scrollend",
15344
- "inheritedFrom": {
15345
- "name": "HorizontalScroll",
15346
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15071
+ "name": "FoundationElement",
15072
+ "module": "src/foundation-element/foundation-element.ts"
15347
15073
  }
15348
15074
  }
15349
15075
  ]
15350
15076
  },
15351
15077
  {
15352
15078
  "kind": "variable",
15353
- "name": "defaultHorizontalScrollConfig",
15354
- "type": {
15355
- "text": "object"
15356
- },
15357
- "default": "{\n nextFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n previousFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n}"
15079
+ "name": "defaultIconConfig",
15080
+ "default": "foundationIconConfig"
15358
15081
  },
15359
15082
  {
15360
15083
  "kind": "variable",
15361
- "name": "rapidHorizontalScroll"
15084
+ "name": "rapidIconShadowOptions",
15085
+ "default": "foundationIconShadowOptions"
15086
+ },
15087
+ {
15088
+ "kind": "variable",
15089
+ "name": "rapidIcon"
15362
15090
  }
15363
15091
  ],
15364
15092
  "exports": [
15365
15093
  {
15366
15094
  "kind": "js",
15367
- "name": "HorizontalScroll",
15095
+ "name": "Icon",
15368
15096
  "declaration": {
15369
- "name": "HorizontalScroll",
15370
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15097
+ "name": "Icon",
15098
+ "module": "src/icon/icon.ts"
15371
15099
  }
15372
15100
  },
15373
15101
  {
15374
15102
  "kind": "js",
15375
- "name": "defaultHorizontalScrollConfig",
15103
+ "name": "defaultIconConfig",
15376
15104
  "declaration": {
15377
- "name": "defaultHorizontalScrollConfig",
15378
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15105
+ "name": "defaultIconConfig",
15106
+ "module": "src/icon/icon.ts"
15379
15107
  }
15380
15108
  },
15381
15109
  {
15382
15110
  "kind": "js",
15383
- "name": "rapidHorizontalScroll",
15111
+ "name": "rapidIconShadowOptions",
15384
15112
  "declaration": {
15385
- "name": "rapidHorizontalScroll",
15386
- "module": "src/horizontal-scroll/horizontal-scroll.ts"
15113
+ "name": "rapidIconShadowOptions",
15114
+ "module": "src/icon/icon.ts"
15115
+ }
15116
+ },
15117
+ {
15118
+ "kind": "js",
15119
+ "name": "rapidIcon",
15120
+ "declaration": {
15121
+ "name": "rapidIcon",
15122
+ "module": "src/icon/icon.ts"
15387
15123
  }
15388
15124
  }
15389
15125
  ]
15390
15126
  },
15391
15127
  {
15392
15128
  "kind": "javascript-module",
15393
- "path": "src/horizontal-scroll/index.ts",
15129
+ "path": "src/icon/index.ts",
15394
15130
  "declarations": [],
15395
15131
  "exports": [
15396
15132
  {
@@ -15398,15 +15134,7 @@
15398
15134
  "name": "*",
15399
15135
  "declaration": {
15400
15136
  "name": "*",
15401
- "package": "./horizontal-scroll"
15402
- }
15403
- },
15404
- {
15405
- "kind": "js",
15406
- "name": "*",
15407
- "declaration": {
15408
- "name": "*",
15409
- "package": "./horizontal-scroll.styles"
15137
+ "package": "./icon"
15410
15138
  }
15411
15139
  },
15412
15140
  {
@@ -15414,14 +15142,14 @@
15414
15142
  "name": "*",
15415
15143
  "declaration": {
15416
15144
  "name": "*",
15417
- "package": "./horizontal-scroll.template"
15145
+ "package": "./icon.styles"
15418
15146
  }
15419
15147
  }
15420
15148
  ]
15421
15149
  },
15422
15150
  {
15423
15151
  "kind": "javascript-module",
15424
- "path": "src/icon/icon.stories.ts",
15152
+ "path": "src/horizontal-scroll/horizontal-scroll.stories.ts",
15425
15153
  "declarations": [
15426
15154
  {
15427
15155
  "kind": "variable",
@@ -15429,23 +15157,15 @@
15429
15157
  "type": {
15430
15158
  "text": "Meta"
15431
15159
  },
15432
- "default": "{\n title: 'Icon',\n component: 'rapid-icon',\n}"
15433
- },
15434
- {
15435
- "kind": "variable",
15436
- "name": "Default",
15437
- "type": {
15438
- "text": "StoryObj"
15439
- },
15440
- "default": "{\n argTypes: {\n size: {\n control: 'select',\n options: [\n '2xs',\n 'xs',\n 'sm',\n 'lg',\n 'xl',\n '2xl',\n '1x',\n '2x',\n '3x',\n '4x',\n '5x',\n '6x',\n '7x',\n '8x',\n '9x',\n '10x',\n ],\n },\n variant: {\n control: 'select',\n options: ['solid', 'regular', 'brand'],\n },\n },\n args: {\n name: 'glasses',\n size: 'lg',\n variant: 'solid',\n },\n render: ({ name, size, variant }) => html`\n <rapid-icon\n style=\"color: white;\"\n name=\"${name}\"\n size=\"${size}\"\n variant=\"${variant}\"\n ></rapid-icon>\n `,\n}"
15160
+ "default": "{\n title: 'Horizontal Scroll',\n component: 'rapid-horizontal-scroll',\n}"
15441
15161
  },
15442
15162
  {
15443
15163
  "kind": "variable",
15444
- "name": "Multiple",
15164
+ "name": "Primary",
15445
15165
  "type": {
15446
15166
  "text": "StoryObj"
15447
15167
  },
15448
- "default": "{\n render: () => html`\n <div style=\"${wrapperStyle}\">\n <rapid-icon name=\"glasses\" size=\"1x\"></rapid-icon>\n <rapid-icon name=\"amazon\" size=\"2x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"amazon-pay\" size=\"3x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"apple\" size=\"4x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"chrome\" size=\"5x\" variant=\"brand\"></rapid-icon>\n <rapid-icon name=\"ambulance\" size=\"xs\"></rapid-icon>\n <rapid-icon name=\"angry\" size=\"1x\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"angry\" size=\"sm\"></rapid-icon>\n <rapid-icon name=\"address-book\" size=\"lg\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"address-book\" size=\"xl\"></rapid-icon>\n <rapid-icon name=\"bookmark\" size=\"2xl;\"></rapid-icon>\n <rapid-icon variant=\"regular\" name=\"bookmark\" size=\"2xs\"></rapid-icon>\n </div>\n `,\n}"
15168
+ "default": "{\n render: () => html`\n <rapid-horizontal-scroll style=${horizontalScrollStyle}>\n ${repeat(\n cards,\n (item) => item,\n (item) => html`\n <rapid-card style=${cardStyle}>\n Card number ${item}\n <rapid-button>A button</rapid-button>\n </rapid-card>\n `,\n )}\n </rapid-horizontal-scroll>\n `,\n}"
15449
15169
  }
15450
15170
  ],
15451
15171
  "exports": [
@@ -15454,237 +15174,501 @@
15454
15174
  "name": "default",
15455
15175
  "declaration": {
15456
15176
  "name": "meta",
15457
- "module": "src/icon/icon.stories.ts"
15177
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
15458
15178
  }
15459
15179
  },
15460
15180
  {
15461
15181
  "kind": "js",
15462
- "name": "Default",
15182
+ "name": "Primary",
15463
15183
  "declaration": {
15464
- "name": "Default",
15465
- "module": "src/icon/icon.stories.ts"
15184
+ "name": "Primary",
15185
+ "module": "src/horizontal-scroll/horizontal-scroll.stories.ts"
15466
15186
  }
15467
- },
15187
+ }
15188
+ ]
15189
+ },
15190
+ {
15191
+ "kind": "javascript-module",
15192
+ "path": "src/horizontal-scroll/horizontal-scroll.styles.ts",
15193
+ "declarations": [
15194
+ {
15195
+ "kind": "function",
15196
+ "name": "rapidHorizontalScrollStyles",
15197
+ "return": {
15198
+ "type": {
15199
+ "text": "ElementStyles"
15200
+ }
15201
+ },
15202
+ "parameters": [
15203
+ {
15204
+ "name": "context",
15205
+ "type": {
15206
+ "text": "ElementDefinitionContext"
15207
+ }
15208
+ },
15209
+ {
15210
+ "name": "definition",
15211
+ "type": {
15212
+ "text": "FoundationElementDefinition"
15213
+ }
15214
+ }
15215
+ ]
15216
+ }
15217
+ ],
15218
+ "exports": [
15468
15219
  {
15469
15220
  "kind": "js",
15470
- "name": "Multiple",
15221
+ "name": "rapidHorizontalScrollStyles",
15471
15222
  "declaration": {
15472
- "name": "Multiple",
15473
- "module": "src/icon/icon.stories.ts"
15223
+ "name": "rapidHorizontalScrollStyles",
15224
+ "module": "src/horizontal-scroll/horizontal-scroll.styles.ts"
15474
15225
  }
15475
15226
  }
15476
15227
  ]
15477
15228
  },
15478
15229
  {
15479
15230
  "kind": "javascript-module",
15480
- "path": "src/icon/icon.styles.ts",
15231
+ "path": "src/horizontal-scroll/horizontal-scroll.template.ts",
15481
15232
  "declarations": [
15482
15233
  {
15483
15234
  "kind": "function",
15484
- "name": "rapidIconStyles",
15235
+ "name": "rapidHorizontalScrollTemplate",
15485
15236
  "return": {
15486
15237
  "type": {
15487
- "text": "ElementStyles"
15238
+ "text": "ViewTemplate<HorizontalScroll>"
15488
15239
  }
15489
15240
  },
15490
15241
  "parameters": [
15491
15242
  {
15492
- "name": "context",
15243
+ "name": "context",
15244
+ "type": {
15245
+ "text": "ElementDefinitionContext"
15246
+ }
15247
+ },
15248
+ {
15249
+ "name": "definition",
15250
+ "type": {
15251
+ "text": "FoundationElementDefinition"
15252
+ }
15253
+ }
15254
+ ]
15255
+ }
15256
+ ],
15257
+ "exports": [
15258
+ {
15259
+ "kind": "js",
15260
+ "name": "rapidHorizontalScrollTemplate",
15261
+ "declaration": {
15262
+ "name": "rapidHorizontalScrollTemplate",
15263
+ "module": "src/horizontal-scroll/horizontal-scroll.template.ts"
15264
+ }
15265
+ }
15266
+ ]
15267
+ },
15268
+ {
15269
+ "kind": "javascript-module",
15270
+ "path": "src/horizontal-scroll/horizontal-scroll.ts",
15271
+ "declarations": [
15272
+ {
15273
+ "kind": "class",
15274
+ "description": "",
15275
+ "name": "HorizontalScroll",
15276
+ "superclass": {
15277
+ "name": "FoundationHorizontalScroll",
15278
+ "package": "@genesislcap/foundation-ui"
15279
+ },
15280
+ "tagName": "%%prefix%%-horizontal-scroll",
15281
+ "customElement": true,
15282
+ "attributes": [
15283
+ {
15284
+ "type": {
15285
+ "text": "number"
15286
+ },
15287
+ "default": "600",
15288
+ "description": "Speed of scroll in pixels per second",
15289
+ "fieldName": "speed",
15290
+ "inheritedFrom": {
15291
+ "name": "HorizontalScroll",
15292
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15293
+ }
15294
+ },
15295
+ {
15296
+ "name": "duration",
15297
+ "type": {
15298
+ "text": "string"
15299
+ },
15300
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
15301
+ "fieldName": "duration",
15302
+ "inheritedFrom": {
15303
+ "name": "HorizontalScroll",
15304
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15305
+ }
15306
+ },
15307
+ {
15308
+ "name": "easing",
15309
+ "type": {
15310
+ "text": "ScrollEasing"
15311
+ },
15312
+ "default": "\"ease-in-out\"",
15313
+ "description": "Attribute used for easing, defaults to ease-in-out",
15314
+ "fieldName": "easing",
15315
+ "inheritedFrom": {
15316
+ "name": "HorizontalScroll",
15317
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15318
+ }
15319
+ },
15320
+ {
15321
+ "name": "flippers-hidden-from-at",
15322
+ "type": {
15323
+ "text": "boolean"
15324
+ },
15325
+ "default": "false",
15326
+ "description": "Attribute to hide flippers from assistive technology",
15327
+ "fieldName": "flippersHiddenFromAT",
15328
+ "inheritedFrom": {
15329
+ "name": "HorizontalScroll",
15330
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15331
+ }
15332
+ },
15333
+ {
15334
+ "name": "view",
15335
+ "type": {
15336
+ "text": "HorizontalScrollView"
15337
+ },
15338
+ "description": "View: default | mobile",
15339
+ "fieldName": "view",
15340
+ "inheritedFrom": {
15341
+ "name": "HorizontalScroll",
15342
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15343
+ }
15344
+ }
15345
+ ],
15346
+ "members": [
15347
+ {
15348
+ "kind": "field",
15349
+ "name": "scrollContainer",
15350
+ "type": {
15351
+ "text": "HTMLDivElement"
15352
+ },
15353
+ "privacy": "public",
15354
+ "description": "Reference to DOM element that scrolls the content",
15355
+ "inheritedFrom": {
15356
+ "name": "HorizontalScroll",
15357
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15358
+ }
15359
+ },
15360
+ {
15361
+ "kind": "field",
15362
+ "name": "content",
15493
15363
  "type": {
15494
- "text": "ElementDefinitionContext"
15364
+ "text": "HTMLDivElement"
15365
+ },
15366
+ "privacy": "public",
15367
+ "description": "Reference to DOM element that holds the slotted content",
15368
+ "inheritedFrom": {
15369
+ "name": "HorizontalScroll",
15370
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15495
15371
  }
15496
15372
  },
15497
15373
  {
15498
- "name": "definition",
15374
+ "kind": "field",
15375
+ "name": "previousFlipperContainer",
15499
15376
  "type": {
15500
- "text": "FoundationElementDefinition"
15377
+ "text": "HTMLDivElement"
15378
+ },
15379
+ "privacy": "public",
15380
+ "description": "Reference to flipper to scroll to previous content",
15381
+ "inheritedFrom": {
15382
+ "name": "HorizontalScroll",
15383
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15501
15384
  }
15502
- }
15503
- ]
15504
- }
15505
- ],
15506
- "exports": [
15507
- {
15508
- "kind": "js",
15509
- "name": "rapidIconStyles",
15510
- "declaration": {
15511
- "name": "rapidIconStyles",
15512
- "module": "src/icon/icon.styles.ts"
15513
- }
15514
- }
15515
- ]
15516
- },
15517
- {
15518
- "kind": "javascript-module",
15519
- "path": "src/icon/icon.ts",
15520
- "declarations": [
15521
- {
15522
- "kind": "class",
15523
- "description": "",
15524
- "name": "Icon",
15525
- "superclass": {
15526
- "name": "FoundationIcon",
15527
- "package": "@genesislcap/foundation-ui"
15528
- },
15529
- "tagName": "%%prefix%%-icon",
15530
- "customElement": true,
15531
- "attributes": [
15385
+ },
15532
15386
  {
15533
- "name": "name",
15387
+ "kind": "field",
15388
+ "name": "nextFlipperContainer",
15534
15389
  "type": {
15535
- "text": "IconName"
15390
+ "text": "HTMLDivElement"
15536
15391
  },
15537
- "fieldName": "name",
15392
+ "privacy": "public",
15393
+ "description": "Reference to flipper to scroll to the next content",
15538
15394
  "inheritedFrom": {
15539
- "name": "Icon",
15540
- "module": "src/icon/icon.ts"
15395
+ "name": "HorizontalScroll",
15396
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15541
15397
  }
15542
15398
  },
15543
15399
  {
15544
- "name": "size",
15400
+ "kind": "field",
15401
+ "name": "speed",
15545
15402
  "type": {
15546
- "text": "FaSize"
15403
+ "text": "number"
15547
15404
  },
15548
- "default": "'sm'",
15549
- "fieldName": "size",
15405
+ "privacy": "public",
15406
+ "default": "600",
15407
+ "description": "Speed of scroll in pixels per second",
15550
15408
  "inheritedFrom": {
15551
- "name": "Icon",
15552
- "module": "src/icon/icon.ts"
15409
+ "name": "HorizontalScroll",
15410
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15553
15411
  }
15554
15412
  },
15555
15413
  {
15556
- "name": "variant",
15414
+ "kind": "field",
15415
+ "name": "duration",
15557
15416
  "type": {
15558
- "text": "IconStyle"
15417
+ "text": "string"
15559
15418
  },
15560
- "default": "'solid'",
15561
- "fieldName": "variant",
15419
+ "privacy": "public",
15420
+ "description": "The CSS time value for the scroll transition duration. Overrides the `speed` attribute.",
15562
15421
  "inheritedFrom": {
15563
- "name": "Icon",
15564
- "module": "src/icon/icon.ts"
15422
+ "name": "HorizontalScroll",
15423
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15565
15424
  }
15566
- }
15567
- ],
15568
- "members": [
15425
+ },
15569
15426
  {
15570
15427
  "kind": "field",
15571
- "name": "iElement",
15428
+ "name": "easing",
15572
15429
  "type": {
15573
- "text": "HTMLElement"
15430
+ "text": "ScrollEasing"
15574
15431
  },
15432
+ "privacy": "public",
15433
+ "default": "\"ease-in-out\"",
15434
+ "description": "Attribute used for easing, defaults to ease-in-out",
15575
15435
  "inheritedFrom": {
15576
- "name": "Icon",
15577
- "module": "src/icon/icon.ts"
15436
+ "name": "HorizontalScroll",
15437
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15578
15438
  }
15579
15439
  },
15580
15440
  {
15581
15441
  "kind": "field",
15582
- "name": "name",
15442
+ "name": "flippersHiddenFromAT",
15583
15443
  "type": {
15584
- "text": "IconName"
15444
+ "text": "boolean"
15585
15445
  },
15446
+ "privacy": "public",
15447
+ "default": "false",
15448
+ "description": "Attribute to hide flippers from assistive technology",
15586
15449
  "inheritedFrom": {
15587
- "name": "Icon",
15588
- "module": "src/icon/icon.ts"
15450
+ "name": "HorizontalScroll",
15451
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15452
+ }
15453
+ },
15454
+ {
15455
+ "kind": "field",
15456
+ "name": "scrollItems",
15457
+ "type": {
15458
+ "text": "HTMLElement[]"
15459
+ },
15460
+ "privacy": "public",
15461
+ "description": "The default slotted items placed in the scrolling container.",
15462
+ "inheritedFrom": {
15463
+ "name": "HorizontalScroll",
15464
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15465
+ }
15466
+ },
15467
+ {
15468
+ "kind": "field",
15469
+ "name": "view",
15470
+ "type": {
15471
+ "text": "HorizontalScrollView"
15472
+ },
15473
+ "privacy": "public",
15474
+ "description": "View: default | mobile",
15475
+ "inheritedFrom": {
15476
+ "name": "HorizontalScroll",
15477
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15589
15478
  }
15590
15479
  },
15591
15480
  {
15592
15481
  "kind": "method",
15593
- "name": "nameChanged",
15482
+ "name": "scrollItemsChanged",
15483
+ "privacy": "public",
15594
15484
  "parameters": [
15595
15485
  {
15596
- "name": "oldValue",
15486
+ "name": "previous",
15597
15487
  "type": {
15598
- "text": "string"
15599
- }
15488
+ "text": "HTMLElement[]"
15489
+ },
15490
+ "description": "current scroll items"
15600
15491
  },
15601
15492
  {
15602
- "name": "newValue",
15493
+ "name": "next",
15603
15494
  "type": {
15604
- "text": "string"
15605
- }
15495
+ "text": "HTMLElement[]"
15496
+ },
15497
+ "description": "new updated scroll items"
15606
15498
  }
15607
15499
  ],
15500
+ "description": "Updates scroll stops and flippers when scroll items change",
15608
15501
  "inheritedFrom": {
15609
- "name": "Icon",
15610
- "module": "src/icon/icon.ts"
15502
+ "name": "HorizontalScroll",
15503
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15611
15504
  }
15612
15505
  },
15613
15506
  {
15614
- "kind": "field",
15615
- "name": "size",
15616
- "type": {
15617
- "text": "FaSize"
15618
- },
15619
- "default": "'sm'",
15507
+ "kind": "method",
15508
+ "name": "fixScrollMisalign",
15509
+ "privacy": "private",
15510
+ "parameters": [
15511
+ {
15512
+ "name": "stops",
15513
+ "type": {
15514
+ "text": "number[]"
15515
+ }
15516
+ }
15517
+ ],
15620
15518
  "inheritedFrom": {
15621
- "name": "Icon",
15622
- "module": "src/icon/icon.ts"
15519
+ "name": "HorizontalScroll",
15520
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15623
15521
  }
15624
15522
  },
15625
15523
  {
15626
15524
  "kind": "method",
15627
- "name": "sizeChanged",
15525
+ "name": "scrollInView",
15526
+ "privacy": "public",
15527
+ "return": {
15528
+ "type": {
15529
+ "text": "void"
15530
+ }
15531
+ },
15628
15532
  "parameters": [
15629
15533
  {
15630
- "name": "oldValue",
15534
+ "name": "item",
15631
15535
  "type": {
15632
- "text": "string"
15633
- }
15536
+ "text": "HTMLElement | number"
15537
+ },
15538
+ "description": "An item index, a scroll item or a child of one of the scroll items"
15634
15539
  },
15635
15540
  {
15636
- "name": "newValue",
15541
+ "name": "padding",
15542
+ "default": "0",
15637
15543
  "type": {
15638
- "text": "string"
15639
- }
15544
+ "text": "number"
15545
+ },
15546
+ "description": "Padding of the viewport where the active item shouldn't be"
15547
+ },
15548
+ {
15549
+ "name": "rightPadding",
15550
+ "optional": true,
15551
+ "type": {
15552
+ "text": "number"
15553
+ },
15554
+ "description": "Optional right padding. Uses the padding if not defined"
15555
+ }
15556
+ ],
15557
+ "description": "Function that can scroll an item into view.",
15558
+ "inheritedFrom": {
15559
+ "name": "HorizontalScroll",
15560
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15561
+ }
15562
+ },
15563
+ {
15564
+ "kind": "method",
15565
+ "name": "keyupHandler",
15566
+ "privacy": "public",
15567
+ "parameters": [
15568
+ {
15569
+ "name": "e",
15570
+ "type": {
15571
+ "text": "Event & KeyboardEvent"
15572
+ },
15573
+ "description": "Keyboard event"
15574
+ }
15575
+ ],
15576
+ "description": "Lets the user arrow left and right through the horizontal scroll",
15577
+ "inheritedFrom": {
15578
+ "name": "HorizontalScroll",
15579
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15580
+ }
15581
+ },
15582
+ {
15583
+ "kind": "method",
15584
+ "name": "scrollToPrevious",
15585
+ "privacy": "public",
15586
+ "return": {
15587
+ "type": {
15588
+ "text": "void"
15640
15589
  }
15641
- ],
15590
+ },
15591
+ "description": "Scrolls items to the left",
15642
15592
  "inheritedFrom": {
15643
- "name": "Icon",
15644
- "module": "src/icon/icon.ts"
15593
+ "name": "HorizontalScroll",
15594
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15645
15595
  }
15646
15596
  },
15647
15597
  {
15648
- "kind": "field",
15649
- "name": "variant",
15650
- "type": {
15651
- "text": "IconStyle"
15598
+ "kind": "method",
15599
+ "name": "scrollToNext",
15600
+ "privacy": "public",
15601
+ "return": {
15602
+ "type": {
15603
+ "text": "void"
15604
+ }
15652
15605
  },
15653
- "default": "'solid'",
15606
+ "description": "Scrolls items to the right",
15654
15607
  "inheritedFrom": {
15655
- "name": "Icon",
15656
- "module": "src/icon/icon.ts"
15608
+ "name": "HorizontalScroll",
15609
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15657
15610
  }
15658
15611
  },
15659
15612
  {
15660
15613
  "kind": "method",
15661
- "name": "variantChanged",
15614
+ "name": "scrollToPosition",
15615
+ "privacy": "public",
15616
+ "return": {
15617
+ "type": {
15618
+ "text": "void"
15619
+ }
15620
+ },
15662
15621
  "parameters": [
15663
15622
  {
15664
- "name": "oldValue",
15623
+ "name": "newPosition",
15665
15624
  "type": {
15666
- "text": "string"
15667
- }
15625
+ "text": "number"
15626
+ },
15627
+ "description": "position to scroll to"
15668
15628
  },
15669
15629
  {
15670
- "name": "newValue",
15630
+ "name": "position",
15631
+ "default": "this.scrollContainer.scrollLeft",
15671
15632
  "type": {
15672
- "text": "string"
15673
- }
15633
+ "text": "number"
15634
+ },
15635
+ "description": "starting position"
15674
15636
  }
15675
15637
  ],
15638
+ "description": "Handles scrolling with easing",
15676
15639
  "inheritedFrom": {
15677
- "name": "Icon",
15678
- "module": "src/icon/icon.ts"
15640
+ "name": "HorizontalScroll",
15641
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15679
15642
  }
15680
15643
  },
15681
15644
  {
15682
15645
  "kind": "method",
15683
- "name": "loadIcon",
15646
+ "name": "resized",
15684
15647
  "privacy": "public",
15648
+ "return": {
15649
+ "type": {
15650
+ "text": "void"
15651
+ }
15652
+ },
15653
+ "description": "Monitors resize event on the horizontal-scroll element",
15685
15654
  "inheritedFrom": {
15686
- "name": "Icon",
15687
- "module": "src/icon/icon.ts"
15655
+ "name": "HorizontalScroll",
15656
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15657
+ }
15658
+ },
15659
+ {
15660
+ "kind": "method",
15661
+ "name": "scrolled",
15662
+ "privacy": "public",
15663
+ "return": {
15664
+ "type": {
15665
+ "text": "void"
15666
+ }
15667
+ },
15668
+ "description": "Monitors scrolled event on the content container",
15669
+ "inheritedFrom": {
15670
+ "name": "HorizontalScroll",
15671
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15688
15672
  }
15689
15673
  },
15690
15674
  {
@@ -15696,8 +15680,8 @@
15696
15680
  "privacy": "private",
15697
15681
  "default": "void 0",
15698
15682
  "inheritedFrom": {
15699
- "name": "FoundationElement",
15700
- "module": "src/foundation-element/foundation-element.ts"
15683
+ "name": "HorizontalScroll",
15684
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15701
15685
  }
15702
15686
  },
15703
15687
  {
@@ -15709,8 +15693,8 @@
15709
15693
  "privacy": "public",
15710
15694
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
15711
15695
  "inheritedFrom": {
15712
- "name": "FoundationElement",
15713
- "module": "src/foundation-element/foundation-element.ts"
15696
+ "name": "HorizontalScroll",
15697
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15714
15698
  }
15715
15699
  },
15716
15700
  {
@@ -15722,8 +15706,8 @@
15722
15706
  "privacy": "public",
15723
15707
  "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.",
15724
15708
  "inheritedFrom": {
15725
- "name": "FoundationElement",
15726
- "module": "src/foundation-element/foundation-element.ts"
15709
+ "name": "HorizontalScroll",
15710
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15727
15711
  }
15728
15712
  },
15729
15713
  {
@@ -15736,8 +15720,8 @@
15736
15720
  }
15737
15721
  },
15738
15722
  "inheritedFrom": {
15739
- "name": "FoundationElement",
15740
- "module": "src/foundation-element/foundation-element.ts"
15723
+ "name": "HorizontalScroll",
15724
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15741
15725
  }
15742
15726
  },
15743
15727
  {
@@ -15749,8 +15733,8 @@
15749
15733
  "privacy": "public",
15750
15734
  "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.",
15751
15735
  "inheritedFrom": {
15752
- "name": "FoundationElement",
15753
- "module": "src/foundation-element/foundation-element.ts"
15736
+ "name": "HorizontalScroll",
15737
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15754
15738
  }
15755
15739
  },
15756
15740
  {
@@ -15763,8 +15747,8 @@
15763
15747
  }
15764
15748
  },
15765
15749
  "inheritedFrom": {
15766
- "name": "FoundationElement",
15767
- "module": "src/foundation-element/foundation-element.ts"
15750
+ "name": "HorizontalScroll",
15751
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15768
15752
  }
15769
15753
  },
15770
15754
  {
@@ -15794,65 +15778,73 @@
15794
15778
  ],
15795
15779
  "description": "Defines an element registry function with a set of element definition defaults.",
15796
15780
  "inheritedFrom": {
15797
- "name": "FoundationElement",
15798
- "module": "src/foundation-element/foundation-element.ts"
15781
+ "name": "HorizontalScroll",
15782
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15783
+ }
15784
+ }
15785
+ ],
15786
+ "events": [
15787
+ {
15788
+ "description": "Fires a custom 'scrollstart' event when scrolling",
15789
+ "name": "scrollstart",
15790
+ "inheritedFrom": {
15791
+ "name": "HorizontalScroll",
15792
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15793
+ }
15794
+ },
15795
+ {
15796
+ "description": "Fires a custom 'scrollend' event when scrolling stops",
15797
+ "name": "scrollend",
15798
+ "inheritedFrom": {
15799
+ "name": "HorizontalScroll",
15800
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15799
15801
  }
15800
15802
  }
15801
15803
  ]
15802
15804
  },
15803
15805
  {
15804
15806
  "kind": "variable",
15805
- "name": "defaultIconConfig",
15806
- "default": "foundationIconConfig"
15807
- },
15808
- {
15809
- "kind": "variable",
15810
- "name": "rapidIconShadowOptions",
15811
- "default": "foundationIconShadowOptions"
15807
+ "name": "defaultHorizontalScrollConfig",
15808
+ "type": {
15809
+ "text": "object"
15810
+ },
15811
+ "default": "{\n nextFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToNext()}\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n previousFlipper: html`\n <rapid-flipper\n @click=\"${(x) => x.scrollToPrevious()}\"\n direction=\"previous\"\n aria-hidden=\"${(x) => x.flippersHiddenFromAT}\"\n ></rapid-flipper>\n `,\n}"
15812
15812
  },
15813
15813
  {
15814
15814
  "kind": "variable",
15815
- "name": "rapidIcon"
15815
+ "name": "rapidHorizontalScroll"
15816
15816
  }
15817
15817
  ],
15818
15818
  "exports": [
15819
15819
  {
15820
15820
  "kind": "js",
15821
- "name": "Icon",
15822
- "declaration": {
15823
- "name": "Icon",
15824
- "module": "src/icon/icon.ts"
15825
- }
15826
- },
15827
- {
15828
- "kind": "js",
15829
- "name": "defaultIconConfig",
15821
+ "name": "HorizontalScroll",
15830
15822
  "declaration": {
15831
- "name": "defaultIconConfig",
15832
- "module": "src/icon/icon.ts"
15823
+ "name": "HorizontalScroll",
15824
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15833
15825
  }
15834
15826
  },
15835
15827
  {
15836
15828
  "kind": "js",
15837
- "name": "rapidIconShadowOptions",
15829
+ "name": "defaultHorizontalScrollConfig",
15838
15830
  "declaration": {
15839
- "name": "rapidIconShadowOptions",
15840
- "module": "src/icon/icon.ts"
15831
+ "name": "defaultHorizontalScrollConfig",
15832
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15841
15833
  }
15842
15834
  },
15843
15835
  {
15844
15836
  "kind": "js",
15845
- "name": "rapidIcon",
15837
+ "name": "rapidHorizontalScroll",
15846
15838
  "declaration": {
15847
- "name": "rapidIcon",
15848
- "module": "src/icon/icon.ts"
15839
+ "name": "rapidHorizontalScroll",
15840
+ "module": "src/horizontal-scroll/horizontal-scroll.ts"
15849
15841
  }
15850
15842
  }
15851
15843
  ]
15852
15844
  },
15853
15845
  {
15854
15846
  "kind": "javascript-module",
15855
- "path": "src/icon/index.ts",
15847
+ "path": "src/horizontal-scroll/index.ts",
15856
15848
  "declarations": [],
15857
15849
  "exports": [
15858
15850
  {
@@ -15860,7 +15852,7 @@
15860
15852
  "name": "*",
15861
15853
  "declaration": {
15862
15854
  "name": "*",
15863
- "package": "./icon"
15855
+ "package": "./horizontal-scroll"
15864
15856
  }
15865
15857
  },
15866
15858
  {
@@ -15868,7 +15860,15 @@
15868
15860
  "name": "*",
15869
15861
  "declaration": {
15870
15862
  "name": "*",
15871
- "package": "./icon.styles"
15863
+ "package": "./horizontal-scroll.styles"
15864
+ }
15865
+ },
15866
+ {
15867
+ "kind": "js",
15868
+ "name": "*",
15869
+ "declaration": {
15870
+ "name": "*",
15871
+ "package": "./horizontal-scroll.template"
15872
15872
  }
15873
15873
  }
15874
15874
  ]
@@ -25678,7 +25678,7 @@
25678
25678
  },
25679
25679
  {
25680
25680
  "kind": "javascript-module",
25681
- "path": "src/snackbar/index.ts",
25681
+ "path": "src/slider-label/index.ts",
25682
25682
  "declarations": [],
25683
25683
  "exports": [
25684
25684
  {
@@ -25686,7 +25686,7 @@
25686
25686
  "name": "*",
25687
25687
  "declaration": {
25688
25688
  "name": "*",
25689
- "package": "./snackbar.styles"
25689
+ "package": "./slider-label"
25690
25690
  }
25691
25691
  },
25692
25692
  {
@@ -25694,353 +25694,255 @@
25694
25694
  "name": "*",
25695
25695
  "declaration": {
25696
25696
  "name": "*",
25697
- "package": "./snackbar"
25698
- }
25699
- }
25700
- ]
25701
- },
25702
- {
25703
- "kind": "javascript-module",
25704
- "path": "src/snackbar/snackbar.stories.ts",
25705
- "declarations": [
25706
- {
25707
- "kind": "variable",
25708
- "name": "meta",
25709
- "type": {
25710
- "text": "Meta"
25711
- },
25712
- "default": "{\n title: 'Snackbar',\n component: 'rapid-snackbar',\n}"
25713
- },
25714
- {
25715
- "kind": "variable",
25716
- "name": "Primary",
25717
- "type": {
25718
- "text": "StoryObj"
25719
- },
25720
- "default": "{\n args: {\n errorText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n notificationText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n },\n render: ({ errorText, notificationText }) => html`\n <div id=\"rapid-snackbar\" style=\"width: 100%;\">\n <rapid-button @click=\"${() => showError(errorText)}\">Show Rapid Snackbar</rapid-button>\n <rapid-button @click=\"${() => showNotification(notificationText)}\">\n Show Rapid Snackbar - Notification\n </rapid-button>\n </div>\n `,\n}"
25721
- }
25722
- ],
25723
- "exports": [
25724
- {
25725
- "kind": "js",
25726
- "name": "default",
25727
- "declaration": {
25728
- "name": "meta",
25729
- "module": "src/snackbar/snackbar.stories.ts"
25697
+ "package": "./slider-label.styles"
25730
25698
  }
25731
25699
  },
25732
25700
  {
25733
25701
  "kind": "js",
25734
- "name": "Primary",
25702
+ "name": "*",
25735
25703
  "declaration": {
25736
- "name": "Primary",
25737
- "module": "src/snackbar/snackbar.stories.ts"
25704
+ "name": "*",
25705
+ "package": "./slider-label.template"
25738
25706
  }
25739
25707
  }
25740
25708
  ]
25741
25709
  },
25742
25710
  {
25743
25711
  "kind": "javascript-module",
25744
- "path": "src/snackbar/snackbar.styles.ts",
25712
+ "path": "src/slider-label/slider-label.styles.ts",
25745
25713
  "declarations": [
25746
25714
  {
25747
- "kind": "variable",
25748
- "name": "rapidSnackbarStyles",
25749
- "default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
25715
+ "kind": "function",
25716
+ "name": "rapidSliderLabelStyles",
25717
+ "return": {
25718
+ "type": {
25719
+ "text": "ElementStyles"
25720
+ }
25721
+ },
25722
+ "parameters": [
25723
+ {
25724
+ "name": "context",
25725
+ "type": {
25726
+ "text": "ElementDefinitionContext"
25727
+ }
25728
+ },
25729
+ {
25730
+ "name": "definition",
25731
+ "type": {
25732
+ "text": "FoundationElementDefinition"
25733
+ }
25734
+ }
25735
+ ]
25750
25736
  }
25751
25737
  ],
25752
25738
  "exports": [
25753
25739
  {
25754
25740
  "kind": "js",
25755
- "name": "rapidSnackbarStyles",
25741
+ "name": "rapidSliderLabelStyles",
25756
25742
  "declaration": {
25757
- "name": "rapidSnackbarStyles",
25758
- "module": "src/snackbar/snackbar.styles.ts"
25743
+ "name": "rapidSliderLabelStyles",
25744
+ "module": "src/slider-label/slider-label.styles.ts"
25759
25745
  }
25760
25746
  }
25761
25747
  ]
25762
25748
  },
25763
25749
  {
25764
25750
  "kind": "javascript-module",
25765
- "path": "src/snackbar/snackbar.template.ts",
25751
+ "path": "src/slider-label/slider-label.template.ts",
25766
25752
  "declarations": [
25767
25753
  {
25768
- "kind": "variable",
25769
- "name": "rapidSnackbarTemplate",
25770
- "default": "html<Snackbar>`\n ${getPrefixedSnackbar('rapid')}\n`"
25754
+ "kind": "function",
25755
+ "name": "rapidSliderLabelTemplate",
25756
+ "return": {
25757
+ "type": {
25758
+ "text": "ViewTemplate<SliderLabel>"
25759
+ }
25760
+ },
25761
+ "parameters": [
25762
+ {
25763
+ "name": "context",
25764
+ "type": {
25765
+ "text": "ElementDefinitionContext"
25766
+ }
25767
+ },
25768
+ {
25769
+ "name": "definition",
25770
+ "type": {
25771
+ "text": "FoundationElementDefinition"
25772
+ }
25773
+ }
25774
+ ]
25771
25775
  }
25772
25776
  ],
25773
25777
  "exports": [
25774
25778
  {
25775
25779
  "kind": "js",
25776
- "name": "rapidSnackbarTemplate",
25780
+ "name": "rapidSliderLabelTemplate",
25777
25781
  "declaration": {
25778
- "name": "rapidSnackbarTemplate",
25779
- "module": "src/snackbar/snackbar.template.ts"
25782
+ "name": "rapidSliderLabelTemplate",
25783
+ "module": "src/slider-label/slider-label.template.ts"
25780
25784
  }
25781
25785
  }
25782
25786
  ]
25783
25787
  },
25784
25788
  {
25785
25789
  "kind": "javascript-module",
25786
- "path": "src/snackbar/snackbar.ts",
25790
+ "path": "src/slider-label/slider-label.ts",
25787
25791
  "declarations": [
25788
- {
25789
- "kind": "variable",
25790
- "name": "rapidSnackbarShadowOptions",
25791
- "default": "foundationSnackbarShadowOptions"
25792
- },
25793
25792
  {
25794
25793
  "kind": "class",
25795
25794
  "description": "",
25796
- "name": "Snackbar",
25795
+ "name": "SliderLabel",
25797
25796
  "superclass": {
25798
- "name": "FoundationSnackbar",
25797
+ "name": "FoundationSliderLabel",
25799
25798
  "package": "@genesislcap/foundation-ui"
25800
25799
  },
25801
- "tagName": "%%prefix%%-snackbar",
25800
+ "tagName": "%%prefix%%-slider-label",
25802
25801
  "customElement": true,
25803
25802
  "attributes": [
25804
25803
  {
25805
- "name": "identifier",
25804
+ "name": "position",
25806
25805
  "type": {
25807
25806
  "text": "string"
25808
25807
  },
25809
- "fieldName": "identifier",
25810
- "inheritedFrom": {
25811
- "name": "Snackbar",
25812
- "module": "src/snackbar/snackbar.ts"
25813
- }
25814
- },
25815
- {
25816
- "name": "close-timeout",
25817
- "type": {
25818
- "text": "number"
25819
- },
25820
- "default": "SNACKBAR_CLOSE_TIMEOUT",
25821
- "resolveInitializer": {
25822
- "module": "/src/snackbar/snackbar.config"
25823
- },
25824
- "fieldName": "closeTimeout",
25808
+ "description": "The position of the label relative to the min and max value of the parent @microsoft/fast-foundation#(Slider:class).",
25809
+ "fieldName": "position",
25825
25810
  "inheritedFrom": {
25826
- "name": "Snackbar",
25827
- "module": "src/snackbar/snackbar.ts"
25811
+ "name": "SliderLabel",
25812
+ "module": "src/slider-label/slider-label.ts"
25828
25813
  }
25829
25814
  },
25830
25815
  {
25831
- "name": "auto-close",
25816
+ "name": "hide-mark",
25832
25817
  "type": {
25833
25818
  "text": "boolean"
25834
25819
  },
25835
25820
  "default": "false",
25836
- "fieldName": "autoClose",
25821
+ "description": "Hides the tick mark.",
25822
+ "fieldName": "hideMark",
25837
25823
  "inheritedFrom": {
25838
- "name": "Snackbar",
25839
- "module": "src/snackbar/snackbar.ts"
25824
+ "name": "SliderLabel",
25825
+ "module": "src/slider-label/slider-label.ts"
25840
25826
  }
25841
25827
  },
25842
25828
  {
25843
- "name": "type",
25829
+ "name": "disabled",
25844
25830
  "type": {
25845
- "text": "SnackbarType"
25846
- },
25847
- "default": "SNACKBAR_TYPE_DEFAULT",
25848
- "resolveInitializer": {
25849
- "module": "/src/snackbar/snackbar.config"
25831
+ "text": "boolean"
25850
25832
  },
25851
- "fieldName": "type",
25833
+ "description": "The disabled state of the label. This is generally controlled by the parent @microsoft/fast-foundation#(Slider:class).",
25834
+ "fieldName": "disabled",
25852
25835
  "inheritedFrom": {
25853
- "name": "Snackbar",
25854
- "module": "src/snackbar/snackbar.ts"
25836
+ "name": "SliderLabel",
25837
+ "module": "src/slider-label/slider-label.ts"
25855
25838
  }
25856
25839
  }
25857
25840
  ],
25858
25841
  "members": [
25859
25842
  {
25860
25843
  "kind": "field",
25861
- "name": "snackbar",
25862
- "type": {
25863
- "text": "HTMLElement"
25864
- },
25865
- "privacy": "public",
25866
- "inheritedFrom": {
25867
- "name": "Snackbar",
25868
- "module": "src/snackbar/snackbar.ts"
25869
- }
25870
- },
25871
- {
25872
- "kind": "field",
25873
- "name": "error",
25874
- "type": {
25875
- "text": "ErrorStructure"
25876
- },
25877
- "inheritedFrom": {
25878
- "name": "Snackbar",
25879
- "module": "src/snackbar/snackbar.ts"
25880
- }
25881
- },
25882
- {
25883
- "kind": "field",
25884
- "name": "notification",
25885
- "type": {
25886
- "text": "NotificationStructure"
25887
- },
25888
- "inheritedFrom": {
25889
- "name": "Snackbar",
25890
- "module": "src/snackbar/snackbar.ts"
25891
- }
25892
- },
25893
- {
25894
- "kind": "field",
25895
- "name": "deleteAnimation",
25896
- "type": {
25897
- "text": "string"
25898
- },
25899
- "default": "''",
25900
- "inheritedFrom": {
25901
- "name": "Snackbar",
25902
- "module": "src/snackbar/snackbar.ts"
25903
- }
25904
- },
25905
- {
25906
- "kind": "field",
25907
- "name": "identifier",
25844
+ "name": "position",
25908
25845
  "type": {
25909
25846
  "text": "string"
25910
25847
  },
25848
+ "privacy": "public",
25849
+ "description": "The position of the label relative to the min and max value of the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
25911
25850
  "inheritedFrom": {
25912
- "name": "Snackbar",
25913
- "module": "src/snackbar/snackbar.ts"
25851
+ "name": "SliderLabel",
25852
+ "module": "src/slider-label/slider-label.ts"
25914
25853
  }
25915
25854
  },
25916
25855
  {
25917
- "kind": "field",
25918
- "name": "closeTimeout",
25919
- "type": {
25920
- "text": "number"
25856
+ "kind": "method",
25857
+ "name": "positionChanged",
25858
+ "privacy": "private",
25859
+ "return": {
25860
+ "type": {
25861
+ "text": "void"
25862
+ }
25921
25863
  },
25922
- "default": "SNACKBAR_CLOSE_TIMEOUT",
25923
25864
  "inheritedFrom": {
25924
- "name": "Snackbar",
25925
- "module": "src/snackbar/snackbar.ts"
25865
+ "name": "SliderLabel",
25866
+ "module": "src/slider-label/slider-label.ts"
25926
25867
  }
25927
25868
  },
25928
25869
  {
25929
25870
  "kind": "field",
25930
- "name": "autoClose",
25871
+ "name": "hideMark",
25931
25872
  "type": {
25932
25873
  "text": "boolean"
25933
25874
  },
25875
+ "privacy": "public",
25934
25876
  "default": "false",
25877
+ "description": "Hides the tick mark.",
25935
25878
  "inheritedFrom": {
25936
- "name": "Snackbar",
25937
- "module": "src/snackbar/snackbar.ts"
25879
+ "name": "SliderLabel",
25880
+ "module": "src/slider-label/slider-label.ts"
25938
25881
  }
25939
25882
  },
25940
25883
  {
25941
25884
  "kind": "field",
25942
- "name": "type",
25885
+ "name": "disabled",
25943
25886
  "type": {
25944
- "text": "SnackbarType"
25887
+ "text": "boolean"
25945
25888
  },
25946
- "default": "SNACKBAR_TYPE_DEFAULT",
25889
+ "privacy": "public",
25890
+ "description": "The disabled state of the label. This is generally controlled by the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
25947
25891
  "inheritedFrom": {
25948
- "name": "Snackbar",
25949
- "module": "src/snackbar/snackbar.ts"
25892
+ "name": "SliderLabel",
25893
+ "module": "src/slider-label/slider-label.ts"
25950
25894
  }
25951
25895
  },
25952
25896
  {
25953
25897
  "kind": "field",
25954
- "name": "timeoutRef",
25898
+ "name": "notifier",
25955
25899
  "type": {
25956
- "text": "ReturnType<typeof setTimeout>"
25900
+ "text": "Notifier"
25957
25901
  },
25958
25902
  "privacy": "private",
25959
25903
  "inheritedFrom": {
25960
- "name": "Snackbar",
25961
- "module": "src/snackbar/snackbar.ts"
25962
- }
25963
- },
25964
- {
25965
- "kind": "field",
25966
- "name": "dismissEventListener",
25967
- "privacy": "private",
25968
- "inheritedFrom": {
25969
- "name": "Snackbar",
25970
- "module": "src/snackbar/snackbar.ts"
25971
- }
25972
- },
25973
- {
25974
- "kind": "method",
25975
- "name": "errorChanged",
25976
- "parameters": [
25977
- {
25978
- "name": "oldValue",
25979
- "type": {
25980
- "text": "ErrorStructure"
25981
- }
25982
- },
25983
- {
25984
- "name": "newValue",
25985
- "type": {
25986
- "text": "ErrorStructure"
25987
- }
25988
- }
25989
- ],
25990
- "inheritedFrom": {
25991
- "name": "Snackbar",
25992
- "module": "src/snackbar/snackbar.ts"
25904
+ "name": "SliderLabel",
25905
+ "module": "src/slider-label/slider-label.ts"
25993
25906
  }
25994
25907
  },
25995
25908
  {
25996
25909
  "kind": "method",
25997
- "name": "notificationChanged",
25998
- "parameters": [
25999
- {
26000
- "name": "oldValue",
26001
- "type": {
26002
- "text": "NotificationStructure"
26003
- }
26004
- },
26005
- {
26006
- "name": "newValue",
26007
- "type": {
26008
- "text": "NotificationStructure"
26009
- }
25910
+ "name": "isSliderConfig",
25911
+ "privacy": "private",
25912
+ "return": {
25913
+ "type": {
25914
+ "text": "node is SliderConfiguration"
26010
25915
  }
26011
- ],
26012
- "inheritedFrom": {
26013
- "name": "Snackbar",
26014
- "module": "src/snackbar/snackbar.ts"
26015
- }
26016
- },
26017
- {
26018
- "kind": "method",
26019
- "name": "handleDissmis",
26020
- "privacy": "public",
25916
+ },
26021
25917
  "parameters": [
26022
25918
  {
26023
- "name": "autoDissmis",
26024
- "default": "false",
25919
+ "name": "node",
26025
25920
  "type": {
26026
- "text": "boolean"
25921
+ "text": "any"
26027
25922
  }
26028
25923
  }
26029
25924
  ],
26030
- "description": "Helper for remove snackbar from display with animation",
26031
25925
  "inheritedFrom": {
26032
- "name": "Snackbar",
26033
- "module": "src/snackbar/snackbar.ts"
25926
+ "name": "SliderLabel",
25927
+ "module": "src/slider-label/slider-label.ts"
26034
25928
  }
26035
25929
  },
26036
25930
  {
26037
- "kind": "method",
26038
- "name": "dismiss",
26039
- "privacy": "public",
26040
- "description": "Remove the snackbar from display.",
25931
+ "kind": "field",
25932
+ "name": "getSliderConfiguration",
25933
+ "privacy": "private",
26041
25934
  "inheritedFrom": {
26042
- "name": "Snackbar",
26043
- "module": "src/snackbar/snackbar.ts"
25935
+ "name": "SliderLabel",
25936
+ "module": "src/slider-label/slider-label.ts"
25937
+ }
25938
+ },
25939
+ {
25940
+ "kind": "field",
25941
+ "name": "positionAsStyle",
25942
+ "privacy": "private",
25943
+ "inheritedFrom": {
25944
+ "name": "SliderLabel",
25945
+ "module": "src/slider-label/slider-label.ts"
26044
25946
  }
26045
25947
  },
26046
25948
  {
@@ -26052,8 +25954,8 @@
26052
25954
  "privacy": "private",
26053
25955
  "default": "void 0",
26054
25956
  "inheritedFrom": {
26055
- "name": "FoundationElement",
26056
- "module": "src/foundation-element/foundation-element.ts"
25957
+ "name": "SliderLabel",
25958
+ "module": "src/slider-label/slider-label.ts"
26057
25959
  }
26058
25960
  },
26059
25961
  {
@@ -26065,8 +25967,8 @@
26065
25967
  "privacy": "public",
26066
25968
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
26067
25969
  "inheritedFrom": {
26068
- "name": "FoundationElement",
26069
- "module": "src/foundation-element/foundation-element.ts"
25970
+ "name": "SliderLabel",
25971
+ "module": "src/slider-label/slider-label.ts"
26070
25972
  }
26071
25973
  },
26072
25974
  {
@@ -26078,8 +25980,8 @@
26078
25980
  "privacy": "public",
26079
25981
  "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.",
26080
25982
  "inheritedFrom": {
26081
- "name": "FoundationElement",
26082
- "module": "src/foundation-element/foundation-element.ts"
25983
+ "name": "SliderLabel",
25984
+ "module": "src/slider-label/slider-label.ts"
26083
25985
  }
26084
25986
  },
26085
25987
  {
@@ -26092,8 +25994,8 @@
26092
25994
  }
26093
25995
  },
26094
25996
  "inheritedFrom": {
26095
- "name": "FoundationElement",
26096
- "module": "src/foundation-element/foundation-element.ts"
25997
+ "name": "SliderLabel",
25998
+ "module": "src/slider-label/slider-label.ts"
26097
25999
  }
26098
26000
  },
26099
26001
  {
@@ -26105,8 +26007,8 @@
26105
26007
  "privacy": "public",
26106
26008
  "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.",
26107
26009
  "inheritedFrom": {
26108
- "name": "FoundationElement",
26109
- "module": "src/foundation-element/foundation-element.ts"
26010
+ "name": "SliderLabel",
26011
+ "module": "src/slider-label/slider-label.ts"
26110
26012
  }
26111
26013
  },
26112
26014
  {
@@ -26119,8 +26021,8 @@
26119
26021
  }
26120
26022
  },
26121
26023
  "inheritedFrom": {
26122
- "name": "FoundationElement",
26123
- "module": "src/foundation-element/foundation-element.ts"
26024
+ "name": "SliderLabel",
26025
+ "module": "src/slider-label/slider-label.ts"
26124
26026
  }
26125
26027
  },
26126
26028
  {
@@ -26150,60 +26052,39 @@
26150
26052
  ],
26151
26053
  "description": "Defines an element registry function with a set of element definition defaults.",
26152
26054
  "inheritedFrom": {
26153
- "name": "FoundationElement",
26154
- "module": "src/foundation-element/foundation-element.ts"
26155
- }
26156
- }
26157
- ],
26158
- "events": [
26159
- {
26160
- "type": {
26161
- "text": "CustomEvent"
26162
- },
26163
- "inheritedFrom": {
26164
- "name": "Snackbar",
26165
- "module": "src/snackbar/snackbar.ts"
26055
+ "name": "SliderLabel",
26056
+ "module": "src/slider-label/slider-label.ts"
26166
26057
  }
26167
26058
  }
26168
26059
  ]
26169
26060
  },
26170
26061
  {
26171
26062
  "kind": "variable",
26172
- "name": "rapidSnackbar",
26173
- "description": "The Rapid Snackbar",
26174
- "privacy": "public"
26063
+ "name": "rapidSliderLabel"
26175
26064
  }
26176
26065
  ],
26177
26066
  "exports": [
26178
26067
  {
26179
26068
  "kind": "js",
26180
- "name": "rapidSnackbarShadowOptions",
26181
- "declaration": {
26182
- "name": "rapidSnackbarShadowOptions",
26183
- "module": "src/snackbar/snackbar.ts"
26184
- }
26185
- },
26186
- {
26187
- "kind": "js",
26188
- "name": "Snackbar",
26069
+ "name": "SliderLabel",
26189
26070
  "declaration": {
26190
- "name": "Snackbar",
26191
- "module": "src/snackbar/snackbar.ts"
26071
+ "name": "SliderLabel",
26072
+ "module": "src/slider-label/slider-label.ts"
26192
26073
  }
26193
26074
  },
26194
26075
  {
26195
26076
  "kind": "js",
26196
- "name": "rapidSnackbar",
26077
+ "name": "rapidSliderLabel",
26197
26078
  "declaration": {
26198
- "name": "rapidSnackbar",
26199
- "module": "src/snackbar/snackbar.ts"
26079
+ "name": "rapidSliderLabel",
26080
+ "module": "src/slider-label/slider-label.ts"
26200
26081
  }
26201
26082
  }
26202
26083
  ]
26203
26084
  },
26204
26085
  {
26205
26086
  "kind": "javascript-module",
26206
- "path": "src/slider-label/index.ts",
26087
+ "path": "src/snackbar/index.ts",
26207
26088
  "declarations": [],
26208
26089
  "exports": [
26209
26090
  {
@@ -26211,7 +26092,7 @@
26211
26092
  "name": "*",
26212
26093
  "declaration": {
26213
26094
  "name": "*",
26214
- "package": "./slider-label"
26095
+ "package": "./snackbar.styles"
26215
26096
  }
26216
26097
  },
26217
26098
  {
@@ -26219,255 +26100,353 @@
26219
26100
  "name": "*",
26220
26101
  "declaration": {
26221
26102
  "name": "*",
26222
- "package": "./slider-label.styles"
26103
+ "package": "./snackbar"
26223
26104
  }
26105
+ }
26106
+ ]
26107
+ },
26108
+ {
26109
+ "kind": "javascript-module",
26110
+ "path": "src/snackbar/snackbar.stories.ts",
26111
+ "declarations": [
26112
+ {
26113
+ "kind": "variable",
26114
+ "name": "meta",
26115
+ "type": {
26116
+ "text": "Meta"
26117
+ },
26118
+ "default": "{\n title: 'Snackbar',\n component: 'rapid-snackbar',\n}"
26224
26119
  },
26120
+ {
26121
+ "kind": "variable",
26122
+ "name": "Primary",
26123
+ "type": {
26124
+ "text": "StoryObj"
26125
+ },
26126
+ "default": "{\n args: {\n errorText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n notificationText: 'Lorem ipsum dolor sit amet consectetur adipisicing elit.',\n },\n render: ({ errorText, notificationText }) => html`\n <div id=\"rapid-snackbar\" style=\"width: 100%;\">\n <rapid-button @click=\"${() => showError(errorText)}\">Show Rapid Snackbar</rapid-button>\n <rapid-button @click=\"${() => showNotification(notificationText)}\">\n Show Rapid Snackbar - Notification\n </rapid-button>\n </div>\n `,\n}"
26127
+ }
26128
+ ],
26129
+ "exports": [
26225
26130
  {
26226
26131
  "kind": "js",
26227
- "name": "*",
26132
+ "name": "default",
26228
26133
  "declaration": {
26229
- "name": "*",
26230
- "package": "./slider-label.template"
26134
+ "name": "meta",
26135
+ "module": "src/snackbar/snackbar.stories.ts"
26136
+ }
26137
+ },
26138
+ {
26139
+ "kind": "js",
26140
+ "name": "Primary",
26141
+ "declaration": {
26142
+ "name": "Primary",
26143
+ "module": "src/snackbar/snackbar.stories.ts"
26231
26144
  }
26232
26145
  }
26233
26146
  ]
26234
26147
  },
26235
26148
  {
26236
26149
  "kind": "javascript-module",
26237
- "path": "src/slider-label/slider-label.styles.ts",
26150
+ "path": "src/snackbar/snackbar.styles.ts",
26238
26151
  "declarations": [
26239
26152
  {
26240
- "kind": "function",
26241
- "name": "rapidSliderLabelStyles",
26242
- "return": {
26243
- "type": {
26244
- "text": "ElementStyles"
26245
- }
26246
- },
26247
- "parameters": [
26248
- {
26249
- "name": "context",
26250
- "type": {
26251
- "text": "ElementDefinitionContext"
26252
- }
26253
- },
26254
- {
26255
- "name": "definition",
26256
- "type": {
26257
- "text": "FoundationElementDefinition"
26258
- }
26259
- }
26260
- ]
26153
+ "kind": "variable",
26154
+ "name": "rapidSnackbarStyles",
26155
+ "default": "css`\n ${foundationSnackbarStyles}\n .snackbar {\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-layer-2);\n background-color: var(--neutral-layer-1);\n padding: calc((var(--design-unit) - 2) * 1px) calc(var(--design-unit) * 4px);\n }\n\n :host([type='error']) .snackbar::after {\n background-color: var(--error-color);\n }\n\n .content {\n font: var(--body-font);\n font-size: var(--type-ramp-minus-2-font-size);\n color: var(--neutral-foreground-rest);\n }\n\n .action {\n gap: calc(var(--design-unit) * 2px);\n }\n`"
26261
26156
  }
26262
26157
  ],
26263
26158
  "exports": [
26264
26159
  {
26265
26160
  "kind": "js",
26266
- "name": "rapidSliderLabelStyles",
26161
+ "name": "rapidSnackbarStyles",
26267
26162
  "declaration": {
26268
- "name": "rapidSliderLabelStyles",
26269
- "module": "src/slider-label/slider-label.styles.ts"
26163
+ "name": "rapidSnackbarStyles",
26164
+ "module": "src/snackbar/snackbar.styles.ts"
26270
26165
  }
26271
26166
  }
26272
26167
  ]
26273
26168
  },
26274
26169
  {
26275
26170
  "kind": "javascript-module",
26276
- "path": "src/slider-label/slider-label.template.ts",
26171
+ "path": "src/snackbar/snackbar.template.ts",
26277
26172
  "declarations": [
26278
26173
  {
26279
- "kind": "function",
26280
- "name": "rapidSliderLabelTemplate",
26281
- "return": {
26282
- "type": {
26283
- "text": "ViewTemplate<SliderLabel>"
26284
- }
26285
- },
26286
- "parameters": [
26287
- {
26288
- "name": "context",
26289
- "type": {
26290
- "text": "ElementDefinitionContext"
26291
- }
26292
- },
26293
- {
26294
- "name": "definition",
26295
- "type": {
26296
- "text": "FoundationElementDefinition"
26297
- }
26298
- }
26299
- ]
26174
+ "kind": "variable",
26175
+ "name": "rapidSnackbarTemplate",
26176
+ "default": "html<Snackbar>`\n ${getPrefixedSnackbar('rapid')}\n`"
26300
26177
  }
26301
26178
  ],
26302
26179
  "exports": [
26303
26180
  {
26304
26181
  "kind": "js",
26305
- "name": "rapidSliderLabelTemplate",
26182
+ "name": "rapidSnackbarTemplate",
26306
26183
  "declaration": {
26307
- "name": "rapidSliderLabelTemplate",
26308
- "module": "src/slider-label/slider-label.template.ts"
26184
+ "name": "rapidSnackbarTemplate",
26185
+ "module": "src/snackbar/snackbar.template.ts"
26309
26186
  }
26310
26187
  }
26311
26188
  ]
26312
26189
  },
26313
26190
  {
26314
26191
  "kind": "javascript-module",
26315
- "path": "src/slider-label/slider-label.ts",
26192
+ "path": "src/snackbar/snackbar.ts",
26316
26193
  "declarations": [
26194
+ {
26195
+ "kind": "variable",
26196
+ "name": "rapidSnackbarShadowOptions",
26197
+ "default": "foundationSnackbarShadowOptions"
26198
+ },
26317
26199
  {
26318
26200
  "kind": "class",
26319
26201
  "description": "",
26320
- "name": "SliderLabel",
26202
+ "name": "Snackbar",
26321
26203
  "superclass": {
26322
- "name": "FoundationSliderLabel",
26204
+ "name": "FoundationSnackbar",
26323
26205
  "package": "@genesislcap/foundation-ui"
26324
26206
  },
26325
- "tagName": "%%prefix%%-slider-label",
26207
+ "tagName": "%%prefix%%-snackbar",
26326
26208
  "customElement": true,
26327
26209
  "attributes": [
26328
26210
  {
26329
- "name": "position",
26211
+ "name": "identifier",
26212
+ "type": {
26213
+ "text": "string"
26214
+ },
26215
+ "fieldName": "identifier",
26216
+ "inheritedFrom": {
26217
+ "name": "Snackbar",
26218
+ "module": "src/snackbar/snackbar.ts"
26219
+ }
26220
+ },
26221
+ {
26222
+ "name": "close-timeout",
26223
+ "type": {
26224
+ "text": "number"
26225
+ },
26226
+ "default": "SNACKBAR_CLOSE_TIMEOUT",
26227
+ "resolveInitializer": {
26228
+ "module": "/src/snackbar/snackbar.config"
26229
+ },
26230
+ "fieldName": "closeTimeout",
26231
+ "inheritedFrom": {
26232
+ "name": "Snackbar",
26233
+ "module": "src/snackbar/snackbar.ts"
26234
+ }
26235
+ },
26236
+ {
26237
+ "name": "auto-close",
26238
+ "type": {
26239
+ "text": "boolean"
26240
+ },
26241
+ "default": "false",
26242
+ "fieldName": "autoClose",
26243
+ "inheritedFrom": {
26244
+ "name": "Snackbar",
26245
+ "module": "src/snackbar/snackbar.ts"
26246
+ }
26247
+ },
26248
+ {
26249
+ "name": "type",
26250
+ "type": {
26251
+ "text": "SnackbarType"
26252
+ },
26253
+ "default": "SNACKBAR_TYPE_DEFAULT",
26254
+ "resolveInitializer": {
26255
+ "module": "/src/snackbar/snackbar.config"
26256
+ },
26257
+ "fieldName": "type",
26258
+ "inheritedFrom": {
26259
+ "name": "Snackbar",
26260
+ "module": "src/snackbar/snackbar.ts"
26261
+ }
26262
+ }
26263
+ ],
26264
+ "members": [
26265
+ {
26266
+ "kind": "field",
26267
+ "name": "snackbar",
26330
26268
  "type": {
26331
- "text": "string"
26269
+ "text": "HTMLElement"
26332
26270
  },
26333
- "description": "The position of the label relative to the min and max value of the parent @microsoft/fast-foundation#(Slider:class).",
26334
- "fieldName": "position",
26271
+ "privacy": "public",
26335
26272
  "inheritedFrom": {
26336
- "name": "SliderLabel",
26337
- "module": "src/slider-label/slider-label.ts"
26273
+ "name": "Snackbar",
26274
+ "module": "src/snackbar/snackbar.ts"
26338
26275
  }
26339
26276
  },
26340
26277
  {
26341
- "name": "hide-mark",
26278
+ "kind": "field",
26279
+ "name": "error",
26342
26280
  "type": {
26343
- "text": "boolean"
26281
+ "text": "ErrorStructure"
26344
26282
  },
26345
- "default": "false",
26346
- "description": "Hides the tick mark.",
26347
- "fieldName": "hideMark",
26348
26283
  "inheritedFrom": {
26349
- "name": "SliderLabel",
26350
- "module": "src/slider-label/slider-label.ts"
26284
+ "name": "Snackbar",
26285
+ "module": "src/snackbar/snackbar.ts"
26351
26286
  }
26352
26287
  },
26353
26288
  {
26354
- "name": "disabled",
26289
+ "kind": "field",
26290
+ "name": "notification",
26355
26291
  "type": {
26356
- "text": "boolean"
26292
+ "text": "NotificationStructure"
26357
26293
  },
26358
- "description": "The disabled state of the label. This is generally controlled by the parent @microsoft/fast-foundation#(Slider:class).",
26359
- "fieldName": "disabled",
26360
26294
  "inheritedFrom": {
26361
- "name": "SliderLabel",
26362
- "module": "src/slider-label/slider-label.ts"
26295
+ "name": "Snackbar",
26296
+ "module": "src/snackbar/snackbar.ts"
26363
26297
  }
26364
- }
26365
- ],
26366
- "members": [
26298
+ },
26367
26299
  {
26368
26300
  "kind": "field",
26369
- "name": "position",
26301
+ "name": "deleteAnimation",
26370
26302
  "type": {
26371
26303
  "text": "string"
26372
26304
  },
26373
- "privacy": "public",
26374
- "description": "The position of the label relative to the min and max value of the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
26305
+ "default": "''",
26375
26306
  "inheritedFrom": {
26376
- "name": "SliderLabel",
26377
- "module": "src/slider-label/slider-label.ts"
26307
+ "name": "Snackbar",
26308
+ "module": "src/snackbar/snackbar.ts"
26378
26309
  }
26379
26310
  },
26380
26311
  {
26381
- "kind": "method",
26382
- "name": "positionChanged",
26383
- "privacy": "private",
26384
- "return": {
26385
- "type": {
26386
- "text": "void"
26387
- }
26312
+ "kind": "field",
26313
+ "name": "identifier",
26314
+ "type": {
26315
+ "text": "string"
26388
26316
  },
26389
26317
  "inheritedFrom": {
26390
- "name": "SliderLabel",
26391
- "module": "src/slider-label/slider-label.ts"
26318
+ "name": "Snackbar",
26319
+ "module": "src/snackbar/snackbar.ts"
26392
26320
  }
26393
26321
  },
26394
26322
  {
26395
26323
  "kind": "field",
26396
- "name": "hideMark",
26324
+ "name": "closeTimeout",
26325
+ "type": {
26326
+ "text": "number"
26327
+ },
26328
+ "default": "SNACKBAR_CLOSE_TIMEOUT",
26329
+ "inheritedFrom": {
26330
+ "name": "Snackbar",
26331
+ "module": "src/snackbar/snackbar.ts"
26332
+ }
26333
+ },
26334
+ {
26335
+ "kind": "field",
26336
+ "name": "autoClose",
26397
26337
  "type": {
26398
26338
  "text": "boolean"
26399
26339
  },
26400
- "privacy": "public",
26401
26340
  "default": "false",
26402
- "description": "Hides the tick mark.",
26403
26341
  "inheritedFrom": {
26404
- "name": "SliderLabel",
26405
- "module": "src/slider-label/slider-label.ts"
26342
+ "name": "Snackbar",
26343
+ "module": "src/snackbar/snackbar.ts"
26406
26344
  }
26407
26345
  },
26408
26346
  {
26409
26347
  "kind": "field",
26410
- "name": "disabled",
26348
+ "name": "type",
26411
26349
  "type": {
26412
- "text": "boolean"
26350
+ "text": "SnackbarType"
26413
26351
  },
26414
- "privacy": "public",
26415
- "description": "The disabled state of the label. This is generally controlled by the parent {@link @microsoft/fast-foundation#(Slider:class)}.",
26352
+ "default": "SNACKBAR_TYPE_DEFAULT",
26416
26353
  "inheritedFrom": {
26417
- "name": "SliderLabel",
26418
- "module": "src/slider-label/slider-label.ts"
26354
+ "name": "Snackbar",
26355
+ "module": "src/snackbar/snackbar.ts"
26419
26356
  }
26420
26357
  },
26421
26358
  {
26422
26359
  "kind": "field",
26423
- "name": "notifier",
26360
+ "name": "timeoutRef",
26424
26361
  "type": {
26425
- "text": "Notifier"
26362
+ "text": "ReturnType<typeof setTimeout>"
26426
26363
  },
26427
26364
  "privacy": "private",
26428
26365
  "inheritedFrom": {
26429
- "name": "SliderLabel",
26430
- "module": "src/slider-label/slider-label.ts"
26366
+ "name": "Snackbar",
26367
+ "module": "src/snackbar/snackbar.ts"
26431
26368
  }
26432
26369
  },
26433
26370
  {
26434
- "kind": "method",
26435
- "name": "isSliderConfig",
26371
+ "kind": "field",
26372
+ "name": "dismissEventListener",
26436
26373
  "privacy": "private",
26437
- "return": {
26438
- "type": {
26439
- "text": "node is SliderConfiguration"
26374
+ "inheritedFrom": {
26375
+ "name": "Snackbar",
26376
+ "module": "src/snackbar/snackbar.ts"
26377
+ }
26378
+ },
26379
+ {
26380
+ "kind": "method",
26381
+ "name": "errorChanged",
26382
+ "parameters": [
26383
+ {
26384
+ "name": "oldValue",
26385
+ "type": {
26386
+ "text": "ErrorStructure"
26387
+ }
26388
+ },
26389
+ {
26390
+ "name": "newValue",
26391
+ "type": {
26392
+ "text": "ErrorStructure"
26393
+ }
26440
26394
  }
26441
- },
26395
+ ],
26396
+ "inheritedFrom": {
26397
+ "name": "Snackbar",
26398
+ "module": "src/snackbar/snackbar.ts"
26399
+ }
26400
+ },
26401
+ {
26402
+ "kind": "method",
26403
+ "name": "notificationChanged",
26442
26404
  "parameters": [
26443
26405
  {
26444
- "name": "node",
26406
+ "name": "oldValue",
26445
26407
  "type": {
26446
- "text": "any"
26408
+ "text": "NotificationStructure"
26409
+ }
26410
+ },
26411
+ {
26412
+ "name": "newValue",
26413
+ "type": {
26414
+ "text": "NotificationStructure"
26447
26415
  }
26448
26416
  }
26449
26417
  ],
26450
26418
  "inheritedFrom": {
26451
- "name": "SliderLabel",
26452
- "module": "src/slider-label/slider-label.ts"
26419
+ "name": "Snackbar",
26420
+ "module": "src/snackbar/snackbar.ts"
26453
26421
  }
26454
26422
  },
26455
26423
  {
26456
- "kind": "field",
26457
- "name": "getSliderConfiguration",
26458
- "privacy": "private",
26424
+ "kind": "method",
26425
+ "name": "handleDissmis",
26426
+ "privacy": "public",
26427
+ "parameters": [
26428
+ {
26429
+ "name": "autoDissmis",
26430
+ "default": "false",
26431
+ "type": {
26432
+ "text": "boolean"
26433
+ }
26434
+ }
26435
+ ],
26436
+ "description": "Helper for remove snackbar from display with animation",
26459
26437
  "inheritedFrom": {
26460
- "name": "SliderLabel",
26461
- "module": "src/slider-label/slider-label.ts"
26438
+ "name": "Snackbar",
26439
+ "module": "src/snackbar/snackbar.ts"
26462
26440
  }
26463
26441
  },
26464
26442
  {
26465
- "kind": "field",
26466
- "name": "positionAsStyle",
26467
- "privacy": "private",
26443
+ "kind": "method",
26444
+ "name": "dismiss",
26445
+ "privacy": "public",
26446
+ "description": "Remove the snackbar from display.",
26468
26447
  "inheritedFrom": {
26469
- "name": "SliderLabel",
26470
- "module": "src/slider-label/slider-label.ts"
26448
+ "name": "Snackbar",
26449
+ "module": "src/snackbar/snackbar.ts"
26471
26450
  }
26472
26451
  },
26473
26452
  {
@@ -26479,8 +26458,8 @@
26479
26458
  "privacy": "private",
26480
26459
  "default": "void 0",
26481
26460
  "inheritedFrom": {
26482
- "name": "SliderLabel",
26483
- "module": "src/slider-label/slider-label.ts"
26461
+ "name": "FoundationElement",
26462
+ "module": "src/foundation-element/foundation-element.ts"
26484
26463
  }
26485
26464
  },
26486
26465
  {
@@ -26492,8 +26471,8 @@
26492
26471
  "privacy": "public",
26493
26472
  "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
26494
26473
  "inheritedFrom": {
26495
- "name": "SliderLabel",
26496
- "module": "src/slider-label/slider-label.ts"
26474
+ "name": "FoundationElement",
26475
+ "module": "src/foundation-element/foundation-element.ts"
26497
26476
  }
26498
26477
  },
26499
26478
  {
@@ -26505,8 +26484,8 @@
26505
26484
  "privacy": "public",
26506
26485
  "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.",
26507
26486
  "inheritedFrom": {
26508
- "name": "SliderLabel",
26509
- "module": "src/slider-label/slider-label.ts"
26487
+ "name": "FoundationElement",
26488
+ "module": "src/foundation-element/foundation-element.ts"
26510
26489
  }
26511
26490
  },
26512
26491
  {
@@ -26519,8 +26498,8 @@
26519
26498
  }
26520
26499
  },
26521
26500
  "inheritedFrom": {
26522
- "name": "SliderLabel",
26523
- "module": "src/slider-label/slider-label.ts"
26501
+ "name": "FoundationElement",
26502
+ "module": "src/foundation-element/foundation-element.ts"
26524
26503
  }
26525
26504
  },
26526
26505
  {
@@ -26532,8 +26511,8 @@
26532
26511
  "privacy": "public",
26533
26512
  "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.",
26534
26513
  "inheritedFrom": {
26535
- "name": "SliderLabel",
26536
- "module": "src/slider-label/slider-label.ts"
26514
+ "name": "FoundationElement",
26515
+ "module": "src/foundation-element/foundation-element.ts"
26537
26516
  }
26538
26517
  },
26539
26518
  {
@@ -26546,8 +26525,8 @@
26546
26525
  }
26547
26526
  },
26548
26527
  "inheritedFrom": {
26549
- "name": "SliderLabel",
26550
- "module": "src/slider-label/slider-label.ts"
26528
+ "name": "FoundationElement",
26529
+ "module": "src/foundation-element/foundation-element.ts"
26551
26530
  }
26552
26531
  },
26553
26532
  {
@@ -26577,32 +26556,53 @@
26577
26556
  ],
26578
26557
  "description": "Defines an element registry function with a set of element definition defaults.",
26579
26558
  "inheritedFrom": {
26580
- "name": "SliderLabel",
26581
- "module": "src/slider-label/slider-label.ts"
26559
+ "name": "FoundationElement",
26560
+ "module": "src/foundation-element/foundation-element.ts"
26561
+ }
26562
+ }
26563
+ ],
26564
+ "events": [
26565
+ {
26566
+ "type": {
26567
+ "text": "CustomEvent"
26568
+ },
26569
+ "inheritedFrom": {
26570
+ "name": "Snackbar",
26571
+ "module": "src/snackbar/snackbar.ts"
26582
26572
  }
26583
26573
  }
26584
26574
  ]
26585
26575
  },
26586
26576
  {
26587
26577
  "kind": "variable",
26588
- "name": "rapidSliderLabel"
26578
+ "name": "rapidSnackbar",
26579
+ "description": "The Rapid Snackbar",
26580
+ "privacy": "public"
26589
26581
  }
26590
26582
  ],
26591
26583
  "exports": [
26592
26584
  {
26593
26585
  "kind": "js",
26594
- "name": "SliderLabel",
26586
+ "name": "rapidSnackbarShadowOptions",
26595
26587
  "declaration": {
26596
- "name": "SliderLabel",
26597
- "module": "src/slider-label/slider-label.ts"
26588
+ "name": "rapidSnackbarShadowOptions",
26589
+ "module": "src/snackbar/snackbar.ts"
26598
26590
  }
26599
26591
  },
26600
26592
  {
26601
26593
  "kind": "js",
26602
- "name": "rapidSliderLabel",
26594
+ "name": "Snackbar",
26603
26595
  "declaration": {
26604
- "name": "rapidSliderLabel",
26605
- "module": "src/slider-label/slider-label.ts"
26596
+ "name": "Snackbar",
26597
+ "module": "src/snackbar/snackbar.ts"
26598
+ }
26599
+ },
26600
+ {
26601
+ "kind": "js",
26602
+ "name": "rapidSnackbar",
26603
+ "declaration": {
26604
+ "name": "rapidSnackbar",
26605
+ "module": "src/snackbar/snackbar.ts"
26606
26606
  }
26607
26607
  }
26608
26608
  ]