@momentum-design/components 0.76.7 → 0.76.9

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.
@@ -1653,833 +1653,416 @@
1653
1653
  },
1654
1654
  {
1655
1655
  "kind": "javascript-module",
1656
- "path": "components/brandvisual/brandvisual.component.js",
1656
+ "path": "components/badge/badge.component.js",
1657
1657
  "declarations": [
1658
1658
  {
1659
1659
  "kind": "class",
1660
- "description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
1661
- "name": "Brandvisual",
1662
- "members": [
1660
+ "description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
1661
+ "name": "Badge",
1662
+ "cssProperties": [
1663
1663
  {
1664
- "kind": "field",
1665
- "name": "brandVisualData",
1666
- "type": {
1667
- "text": "HTMLElement | undefined"
1668
- },
1669
- "privacy": "private"
1664
+ "description": "The foreground color of the primary badge.",
1665
+ "name": "--mdc-badge-primary-foreground-color"
1670
1666
  },
1671
1667
  {
1672
- "kind": "field",
1673
- "name": "name",
1674
- "type": {
1675
- "text": "BrandVisualNames | undefined"
1676
- },
1677
- "description": "Name of the brandVisual (= filename)",
1678
- "attribute": "name",
1679
- "reflects": true
1668
+ "description": "The background color of the primary badge.",
1669
+ "name": "--mdc-badge-primary-background-color"
1680
1670
  },
1681
1671
  {
1682
- "kind": "method",
1683
- "name": "getBrandVisualData",
1684
- "privacy": "private"
1672
+ "description": "The foreground color of the secondary badge.",
1673
+ "name": "--mdc-badge-secondary-foreground-color"
1685
1674
  },
1686
1675
  {
1687
- "kind": "method",
1688
- "name": "handleBrandVisualLoadedSuccess",
1689
- "privacy": "private",
1690
- "parameters": [
1691
- {
1692
- "name": "brandVisualHtml",
1693
- "type": {
1694
- "text": "HTMLElement"
1695
- },
1696
- "description": "The brandvisual html element which has been fetched from the brandvisual provider."
1697
- }
1698
- ],
1699
- "description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
1676
+ "description": "The background color of the secondary badge.",
1677
+ "name": "--mdc-badge-secondary-background-color"
1700
1678
  },
1701
1679
  {
1702
- "kind": "method",
1703
- "name": "handleBrandVisualLoadedFailure",
1704
- "privacy": "private",
1705
- "parameters": [
1706
- {
1707
- "name": "error",
1708
- "type": {
1709
- "text": "unknown"
1710
- }
1711
- }
1712
- ],
1713
- "description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
1714
- }
1715
- ],
1716
- "events": [
1717
- {
1718
- "description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
1719
- "name": "load",
1720
- "reactName": "onLoad"
1680
+ "description": "The foreground color of the success badge.",
1681
+ "name": "--mdc-badge-success-foreground-color"
1721
1682
  },
1722
1683
  {
1723
- "description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
1724
- "name": "error",
1725
- "reactName": "onError"
1726
- }
1727
- ],
1728
- "attributes": [
1684
+ "description": "The background color of the success badge.",
1685
+ "name": "--mdc-badge-success-background-color"
1686
+ },
1729
1687
  {
1730
- "name": "name",
1731
- "type": {
1732
- "text": "BrandVisualNames | undefined"
1733
- },
1734
- "description": "Name of the brandVisual (= filename)",
1735
- "fieldName": "name"
1736
- }
1737
- ],
1738
- "superclass": {
1739
- "name": "Component",
1740
- "module": "/src/models"
1741
- },
1742
- "tagName": "mdc-brandvisual",
1743
- "jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
1744
- "customElement": true
1745
- }
1746
- ],
1747
- "exports": [
1748
- {
1749
- "kind": "js",
1750
- "name": "default",
1751
- "declaration": {
1752
- "name": "Brandvisual",
1753
- "module": "components/brandvisual/brandvisual.component.js"
1754
- }
1755
- }
1756
- ]
1757
- },
1758
- {
1759
- "kind": "javascript-module",
1760
- "path": "components/bullet/bullet.component.js",
1761
- "declarations": [
1762
- {
1763
- "kind": "class",
1764
- "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
1765
- "name": "Bullet",
1766
- "cssProperties": [
1688
+ "description": "The foreground color of the warning badge.",
1689
+ "name": "--mdc-badge-warning-foreground-color"
1690
+ },
1767
1691
  {
1768
- "description": "background color of the bullet",
1769
- "name": "--mdc-bullet-background-color"
1692
+ "description": "The background color of the warning badge.",
1693
+ "name": "--mdc-badge-warning-background-color"
1770
1694
  },
1771
1695
  {
1772
- "description": "small size value of the bullet",
1773
- "name": "--mdc-bullet-size-small"
1696
+ "description": "The foreground color of the error badge.",
1697
+ "name": "--mdc-badge-error-foreground-color"
1774
1698
  },
1775
1699
  {
1776
- "description": "medium size value of the bullet",
1777
- "name": "--mdc-bullet-size-medium"
1700
+ "description": "The background color of the error badge.",
1701
+ "name": "--mdc-badge-error-background-color"
1778
1702
  },
1779
1703
  {
1780
- "description": "large size value of the bullet",
1781
- "name": "--mdc-bullet-size-large"
1704
+ "description": "The background color of the badge overlay.",
1705
+ "name": "--mdc-badge-overlay-background-color"
1782
1706
  }
1783
1707
  ],
1784
1708
  "members": [
1785
1709
  {
1786
1710
  "kind": "field",
1787
- "name": "size",
1711
+ "name": "type",
1788
1712
  "type": {
1789
- "text": "Size"
1713
+ "text": "BadgeType | undefined"
1790
1714
  },
1791
- "privacy": "public",
1792
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1793
- "default": "small",
1794
- "attribute": "size",
1715
+ "description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
1716
+ "attribute": "type",
1795
1717
  "reflects": true
1796
- }
1797
- ],
1798
- "attributes": [
1718
+ },
1799
1719
  {
1800
- "name": "size",
1720
+ "kind": "field",
1721
+ "name": "variant",
1801
1722
  "type": {
1802
- "text": "Size"
1723
+ "text": "IconVariant"
1803
1724
  },
1804
- "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
1805
- "default": "small",
1806
- "fieldName": "size"
1807
- }
1808
- ],
1809
- "superclass": {
1810
- "name": "Component",
1811
- "module": "/src/models"
1812
- },
1813
- "tagName": "mdc-bullet",
1814
- "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
1815
- "customElement": true
1816
- }
1817
- ],
1818
- "exports": [
1819
- {
1820
- "kind": "js",
1821
- "name": "default",
1822
- "declaration": {
1823
- "name": "Bullet",
1824
- "module": "components/bullet/bullet.component.js"
1825
- }
1826
- }
1827
- ]
1828
- },
1829
- {
1830
- "kind": "javascript-module",
1831
- "path": "components/button/button.component.js",
1832
- "declarations": [
1833
- {
1834
- "kind": "class",
1835
- "description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\nButton Variants:\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n\nButton Colors:\n- **Positive**: Green color.\n- **Negative**: Red color.\n- **Accent**: Blue color.\n- **Promotional**: Purple color.\n- **Default**: White color.\n\nButton Sizes (in REM units):\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- **Tertiary icon button**: 20.\n\nButton Types:\n- **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n- **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n- **Icon button**: A button represented by just an icon without any text.\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons.",
1836
- "name": "Button",
1837
- "slots": [
1725
+ "description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
1726
+ "default": "primary",
1727
+ "attribute": "variant",
1728
+ "reflects": true
1729
+ },
1838
1730
  {
1839
- "description": "Text label of the button.",
1840
- "name": ""
1841
- }
1842
- ],
1843
- "members": [
1731
+ "kind": "field",
1732
+ "name": "counter",
1733
+ "type": {
1734
+ "text": "number | undefined"
1735
+ },
1736
+ "description": "Counter is the number which can be provided in the badge.",
1737
+ "attribute": "counter"
1738
+ },
1844
1739
  {
1845
1740
  "kind": "field",
1846
- "name": "size",
1741
+ "name": "maxCounter",
1847
1742
  "type": {
1848
- "text": "ButtonSize"
1743
+ "text": "number"
1849
1744
  },
1850
- "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
1851
- "default": "32",
1852
- "attribute": "size",
1853
- "reflects": true,
1854
- "inheritedFrom": {
1855
- "name": "Buttonsimple",
1856
- "module": "components/buttonsimple/buttonsimple.component.js"
1857
- }
1745
+ "description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
1746
+ "default": "99",
1747
+ "attribute": "max-counter",
1748
+ "reflects": true
1858
1749
  },
1859
1750
  {
1860
1751
  "kind": "field",
1861
- "name": "inverted",
1752
+ "name": "overlay",
1862
1753
  "type": {
1863
1754
  "text": "boolean"
1864
1755
  },
1865
- "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
1866
1756
  "default": "false",
1867
- "attribute": "inverted",
1868
- "reflects": true
1757
+ "description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
1758
+ "attribute": "overlay"
1869
1759
  },
1870
1760
  {
1871
1761
  "kind": "field",
1872
- "name": "role",
1873
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
1874
- "default": "'button'",
1875
- "attribute": "role",
1876
- "reflects": true,
1762
+ "name": "ariaLabel",
1877
1763
  "type": {
1878
- "text": "string"
1764
+ "text": "string | null"
1879
1765
  },
1880
- "inheritedFrom": {
1881
- "name": "Buttonsimple",
1882
- "module": "components/buttonsimple/buttonsimple.component.js"
1883
- }
1766
+ "default": "null",
1767
+ "description": "Aria-label attribute to be set for accessibility",
1768
+ "attribute": "aria-label"
1884
1769
  },
1885
1770
  {
1886
1771
  "kind": "method",
1887
- "name": "inferFilledIconName",
1772
+ "name": "getCounterText",
1888
1773
  "privacy": "private",
1774
+ "return": {
1775
+ "type": {
1776
+ "text": ""
1777
+ }
1778
+ },
1889
1779
  "parameters": [
1890
1780
  {
1891
- "name": "active",
1892
- "optional": true,
1781
+ "name": "maxCounter",
1893
1782
  "type": {
1894
- "text": "boolean"
1783
+ "text": "number"
1895
1784
  },
1896
- "description": "The active state."
1897
- }
1898
- ],
1899
- "description": "Modifies the icon name based on the active state.\nIf the button is active, the icon name is suffixed with '-filled'.\nIf the button is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
1900
- },
1901
- {
1902
- "kind": "field",
1903
- "name": "prefixIcon",
1904
- "type": {
1905
- "text": "IconNames | undefined"
1906
- },
1907
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
1908
- "attribute": "prefix-icon",
1909
- "reflects": true,
1910
- "inheritedFrom": {
1911
- "name": "ButtonComponentMixin",
1912
- "module": "utils/mixins/ButtonComponentMixin.js"
1913
- }
1914
- },
1915
- {
1916
- "kind": "field",
1917
- "name": "postfixIcon",
1918
- "type": {
1919
- "text": "IconNames | undefined"
1920
- },
1921
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
1922
- "attribute": "postfix-icon",
1923
- "reflects": true,
1924
- "inheritedFrom": {
1925
- "name": "ButtonComponentMixin",
1926
- "module": "utils/mixins/ButtonComponentMixin.js"
1927
- }
1928
- },
1929
- {
1930
- "kind": "field",
1931
- "name": "variant",
1932
- "type": {
1933
- "text": "ButtonVariant"
1934
- },
1935
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
1936
- "default": "primary",
1937
- "attribute": "variant",
1938
- "inheritedFrom": {
1939
- "name": "ButtonComponentMixin",
1940
- "module": "utils/mixins/ButtonComponentMixin.js"
1941
- }
1942
- },
1943
- {
1944
- "kind": "field",
1945
- "name": "color",
1946
- "type": {
1947
- "text": "ButtonColor"
1948
- },
1949
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
1950
- "default": "default",
1951
- "attribute": "color",
1952
- "inheritedFrom": {
1953
- "name": "ButtonComponentMixin",
1954
- "module": "utils/mixins/ButtonComponentMixin.js"
1955
- }
1956
- },
1957
- {
1958
- "kind": "method",
1959
- "name": "setVariant",
1960
- "privacy": "protected",
1961
- "parameters": [
1785
+ "description": "the maximum limit which can be displayed on the badge"
1786
+ },
1962
1787
  {
1963
- "name": "variant",
1788
+ "name": "counter",
1789
+ "optional": true,
1964
1790
  "type": {
1965
- "text": "ButtonVariant"
1791
+ "text": "number"
1966
1792
  },
1967
- "description": "The variant to set."
1793
+ "description": "the number to be displayed on the badge"
1968
1794
  }
1969
1795
  ],
1970
- "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
1971
- "inheritedFrom": {
1972
- "name": "ButtonComponentMixin",
1973
- "module": "utils/mixins/ButtonComponentMixin.js"
1974
- }
1796
+ "description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
1975
1797
  },
1976
1798
  {
1977
1799
  "kind": "method",
1978
- "name": "setColor",
1979
- "privacy": "protected",
1800
+ "name": "getBadgeIcon",
1801
+ "privacy": "private",
1802
+ "return": {
1803
+ "type": {
1804
+ "text": ""
1805
+ }
1806
+ },
1980
1807
  "parameters": [
1981
1808
  {
1982
- "name": "color",
1809
+ "name": "iconName",
1983
1810
  "type": {
1984
- "text": "ButtonColor"
1811
+ "text": "string"
1985
1812
  },
1986
- "description": "The color to set."
1813
+ "description": "the name of the icon from the icon set"
1814
+ },
1815
+ {
1816
+ "name": "backgroundClassPostfix",
1817
+ "type": {
1818
+ "text": "string"
1819
+ },
1820
+ "description": "postfix for the class to style the badge icon."
1987
1821
  }
1988
1822
  ],
1989
- "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
1990
- "inheritedFrom": {
1991
- "name": "ButtonComponentMixin",
1992
- "module": "utils/mixins/ButtonComponentMixin.js"
1993
- }
1823
+ "description": "Method to generate the badge icon."
1994
1824
  },
1995
1825
  {
1996
1826
  "kind": "method",
1997
- "name": "setSize",
1998
- "privacy": "protected",
1999
- "parameters": [
2000
- {
2001
- "name": "size",
2002
- "type": {
2003
- "text": "PillButtonSize | IconButtonSize"
2004
- },
2005
- "description": "The size to set."
1827
+ "name": "getBadgeDot",
1828
+ "privacy": "private",
1829
+ "return": {
1830
+ "type": {
1831
+ "text": ""
2006
1832
  }
2007
- ],
2008
- "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
2009
- "inheritedFrom": {
2010
- "name": "ButtonComponentMixin",
2011
- "module": "utils/mixins/ButtonComponentMixin.js"
2012
- }
1833
+ },
1834
+ "description": "Method to generate the badge dot template."
2013
1835
  },
2014
1836
  {
2015
1837
  "kind": "method",
2016
- "name": "inferButtonType",
2017
- "privacy": "protected",
2018
- "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
2019
- "parameters": [
2020
- {
2021
- "description": "default slot of button",
2022
- "name": "slot"
1838
+ "name": "getBadgeCounterText",
1839
+ "privacy": "private",
1840
+ "return": {
1841
+ "type": {
1842
+ "text": ""
2023
1843
  }
2024
- ],
2025
- "inheritedFrom": {
2026
- "name": "ButtonComponentMixin",
2027
- "module": "utils/mixins/ButtonComponentMixin.js"
2028
- }
1844
+ },
1845
+ "description": "Method to generate the badge text and counter template."
2029
1846
  },
2030
1847
  {
2031
- "kind": "field",
2032
- "name": "tabIndex",
2033
- "type": {
2034
- "text": "number"
1848
+ "kind": "method",
1849
+ "name": "setRoleByAriaLabel",
1850
+ "privacy": "private",
1851
+ "return": {
1852
+ "type": {
1853
+ "text": "void"
1854
+ }
2035
1855
  },
2036
- "default": "0",
2037
- "description": "This property specifies the tab order of the element.",
2038
- "attribute": "tabIndex",
2039
- "reflects": true,
2040
- "inheritedFrom": {
2041
- "name": "TabIndexMixin",
2042
- "module": "utils/mixins/TabIndexMixin.js"
2043
- }
1856
+ "description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
2044
1857
  },
2045
1858
  {
2046
- "kind": "field",
2047
- "name": "disabled",
2048
- "type": {
2049
- "text": "boolean | undefined"
1859
+ "kind": "method",
1860
+ "name": "getBadgeContentBasedOnType",
1861
+ "privacy": "private",
1862
+ "return": {
1863
+ "type": {
1864
+ "text": ""
1865
+ }
2050
1866
  },
2051
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2052
- "default": "undefined",
2053
- "attribute": "disabled",
2054
- "reflects": true,
2055
- "inheritedFrom": {
2056
- "name": "DisabledMixin",
2057
- "module": "utils/mixins/DisabledMixin.js"
2058
- }
1867
+ "description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
2059
1868
  },
2060
1869
  {
2061
1870
  "kind": "field",
2062
- "name": "active",
1871
+ "name": "iconName",
2063
1872
  "type": {
2064
- "text": "boolean | undefined"
1873
+ "text": "IconNames | undefined"
2065
1874
  },
2066
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2067
- "default": "undefined",
2068
- "attribute": "active",
2069
- "reflects": true,
1875
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1876
+ "attribute": "icon-name",
2070
1877
  "inheritedFrom": {
2071
- "name": "Buttonsimple",
2072
- "module": "components/buttonsimple/buttonsimple.component.js"
1878
+ "name": "IconNameMixin",
1879
+ "module": "utils/mixins/IconNameMixin.js"
2073
1880
  }
2074
- },
1881
+ }
1882
+ ],
1883
+ "attributes": [
2075
1884
  {
2076
- "kind": "field",
2077
- "name": "softDisabled",
1885
+ "name": "type",
2078
1886
  "type": {
2079
- "text": "boolean | undefined"
1887
+ "text": "BadgeType | undefined"
2080
1888
  },
2081
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2082
- "default": "undefined",
2083
- "attribute": "soft-disabled",
2084
- "reflects": true,
2085
- "inheritedFrom": {
2086
- "name": "Buttonsimple",
2087
- "module": "components/buttonsimple/buttonsimple.component.js"
2088
- }
1889
+ "description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
1890
+ "fieldName": "type"
2089
1891
  },
2090
1892
  {
2091
- "kind": "field",
2092
- "name": "ariaStateKey",
1893
+ "name": "variant",
2093
1894
  "type": {
2094
- "text": "string | undefined"
1895
+ "text": "IconVariant"
2095
1896
  },
2096
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2097
- "default": "'aria-pressed' (when)",
2098
- "attribute": "ariaStateKey",
2099
- "reflects": true,
2100
- "inheritedFrom": {
2101
- "name": "Buttonsimple",
2102
- "module": "components/buttonsimple/buttonsimple.component.js"
2103
- }
1897
+ "description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
1898
+ "default": "primary",
1899
+ "fieldName": "variant"
2104
1900
  },
2105
1901
  {
2106
- "kind": "field",
2107
- "name": "type",
1902
+ "name": "counter",
2108
1903
  "type": {
2109
- "text": "ButtonType"
1904
+ "text": "number | undefined"
2110
1905
  },
2111
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2112
- "default": "button",
2113
- "attribute": "type",
2114
- "reflects": true,
2115
- "inheritedFrom": {
2116
- "name": "Buttonsimple",
2117
- "module": "components/buttonsimple/buttonsimple.component.js"
2118
- }
1906
+ "description": "Counter is the number which can be provided in the badge.",
1907
+ "fieldName": "counter"
2119
1908
  },
2120
1909
  {
2121
- "kind": "method",
2122
- "name": "executeAction",
2123
- "privacy": "protected",
2124
- "inheritedFrom": {
2125
- "name": "Buttonsimple",
2126
- "module": "components/buttonsimple/buttonsimple.component.js"
2127
- }
2128
- },
2129
- {
2130
- "kind": "method",
2131
- "name": "setActive",
2132
- "privacy": "protected",
2133
- "parameters": [
2134
- {
2135
- "name": "element",
2136
- "type": {
2137
- "text": "HTMLElement"
2138
- },
2139
- "description": "The button element"
2140
- },
2141
- {
2142
- "name": "active",
2143
- "optional": true,
2144
- "type": {
2145
- "text": "boolean"
2146
- },
2147
- "description": "The active state of the element"
2148
- }
2149
- ],
2150
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
2151
- "inheritedFrom": {
2152
- "name": "Buttonsimple",
2153
- "module": "components/buttonsimple/buttonsimple.component.js"
2154
- }
2155
- },
2156
- {
2157
- "kind": "method",
2158
- "name": "setSoftDisabled",
2159
- "privacy": "private",
2160
- "parameters": [
2161
- {
2162
- "name": "element",
2163
- "type": {
2164
- "text": "HTMLElement"
2165
- },
2166
- "description": "The button element."
2167
- },
2168
- {
2169
- "name": "softDisabled",
2170
- "optional": true,
2171
- "type": {
2172
- "text": "boolean"
2173
- },
2174
- "description": "The soft-disabled state."
2175
- }
2176
- ],
2177
- "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
2178
- "inheritedFrom": {
2179
- "name": "Buttonsimple",
2180
- "module": "components/buttonsimple/buttonsimple.component.js"
2181
- }
2182
- },
2183
- {
2184
- "kind": "method",
2185
- "name": "setDisabled",
2186
- "privacy": "private",
2187
- "parameters": [
2188
- {
2189
- "name": "element",
2190
- "type": {
2191
- "text": "HTMLElement"
2192
- },
2193
- "description": "The button element."
2194
- },
2195
- {
2196
- "name": "disabled",
2197
- "type": {
2198
- "text": "boolean"
2199
- },
2200
- "description": "The disabled state."
2201
- }
2202
- ],
2203
- "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
2204
- "inheritedFrom": {
2205
- "name": "Buttonsimple",
2206
- "module": "components/buttonsimple/buttonsimple.component.js"
2207
- }
2208
- },
2209
- {
2210
- "kind": "method",
2211
- "name": "triggerClickEvent",
2212
- "privacy": "private",
2213
- "inheritedFrom": {
2214
- "name": "Buttonsimple",
2215
- "module": "components/buttonsimple/buttonsimple.component.js"
2216
- }
2217
- },
2218
- {
2219
- "kind": "method",
2220
- "name": "handleBlur",
2221
- "privacy": "private",
2222
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
2223
- "inheritedFrom": {
2224
- "name": "Buttonsimple",
2225
- "module": "components/buttonsimple/buttonsimple.component.js"
2226
- }
2227
- },
2228
- {
2229
- "kind": "method",
2230
- "name": "handleKeyDown",
2231
- "privacy": "private",
2232
- "parameters": [
2233
- {
2234
- "name": "event",
2235
- "type": {
2236
- "text": "KeyboardEvent"
2237
- },
2238
- "description": "The keyboard event."
2239
- }
2240
- ],
2241
- "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
2242
- "inheritedFrom": {
2243
- "name": "Buttonsimple",
2244
- "module": "components/buttonsimple/buttonsimple.component.js"
2245
- }
2246
- },
2247
- {
2248
- "kind": "method",
2249
- "name": "handleKeyUp",
2250
- "privacy": "private",
2251
- "parameters": [
2252
- {
2253
- "name": "event",
2254
- "type": {
2255
- "text": "KeyboardEvent"
2256
- },
2257
- "description": "The keyboard event."
2258
- }
2259
- ],
2260
- "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
2261
- "inheritedFrom": {
2262
- "name": "Buttonsimple",
2263
- "module": "components/buttonsimple/buttonsimple.component.js"
2264
- }
2265
- }
2266
- ],
2267
- "attributes": [
2268
- {
2269
- "name": "size",
1910
+ "name": "max-counter",
2270
1911
  "type": {
2271
- "text": "ButtonSize"
1912
+ "text": "number"
2272
1913
  },
2273
- "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
2274
- "default": "32",
2275
- "fieldName": "size",
2276
- "inheritedFrom": {
2277
- "name": "Buttonsimple",
2278
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2279
- }
1914
+ "description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
1915
+ "default": "99",
1916
+ "fieldName": "maxCounter"
2280
1917
  },
2281
1918
  {
2282
- "name": "inverted",
1919
+ "name": "overlay",
2283
1920
  "type": {
2284
1921
  "text": "boolean"
2285
1922
  },
2286
- "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
2287
1923
  "default": "false",
2288
- "fieldName": "inverted"
2289
- },
2290
- {
2291
- "name": "role",
2292
- "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
2293
- "default": "'button'",
2294
- "fieldName": "role",
2295
- "type": {
2296
- "text": "string"
2297
- },
2298
- "inheritedFrom": {
2299
- "name": "Buttonsimple",
2300
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2301
- }
1924
+ "description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
1925
+ "fieldName": "overlay"
2302
1926
  },
2303
1927
  {
2304
- "name": "prefix-icon",
1928
+ "name": "aria-label",
2305
1929
  "type": {
2306
- "text": "IconNames | undefined"
1930
+ "text": "string | null"
2307
1931
  },
2308
- "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
2309
- "fieldName": "prefixIcon",
2310
- "inheritedFrom": {
2311
- "name": "ButtonComponentMixin",
2312
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
2313
- }
1932
+ "default": "null",
1933
+ "description": "Aria-label attribute to be set for accessibility",
1934
+ "fieldName": "ariaLabel"
2314
1935
  },
2315
1936
  {
2316
- "name": "postfix-icon",
1937
+ "name": "icon-name",
2317
1938
  "type": {
2318
1939
  "text": "IconNames | undefined"
2319
1940
  },
2320
- "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
2321
- "fieldName": "postfixIcon",
2322
- "inheritedFrom": {
2323
- "name": "ButtonComponentMixin",
2324
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
2325
- }
2326
- },
2327
- {
2328
- "name": "variant",
2329
- "type": {
2330
- "text": "ButtonVariant"
2331
- },
2332
- "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
2333
- "default": "primary",
2334
- "fieldName": "variant",
2335
- "inheritedFrom": {
2336
- "name": "ButtonComponentMixin",
2337
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
2338
- }
2339
- },
2340
- {
2341
- "name": "color",
2342
- "type": {
2343
- "text": "ButtonColor"
2344
- },
2345
- "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
2346
- "default": "default",
2347
- "fieldName": "color",
2348
- "inheritedFrom": {
2349
- "name": "ButtonComponentMixin",
2350
- "module": "src/utils/mixins/ButtonComponentMixin.ts"
2351
- }
2352
- },
2353
- {
2354
- "name": "tabIndex",
2355
- "type": {
2356
- "text": "number"
2357
- },
2358
- "default": "0",
2359
- "description": "This property specifies the tab order of the element.",
2360
- "fieldName": "tabIndex",
1941
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
1942
+ "fieldName": "iconName",
2361
1943
  "inheritedFrom": {
2362
- "name": "TabIndexMixin",
2363
- "module": "src/utils/mixins/TabIndexMixin.ts"
1944
+ "name": "IconNameMixin",
1945
+ "module": "src/utils/mixins/IconNameMixin.ts"
2364
1946
  }
2365
- },
1947
+ }
1948
+ ],
1949
+ "mixins": [
2366
1950
  {
2367
- "name": "disabled",
2368
- "type": {
2369
- "text": "boolean | undefined"
2370
- },
2371
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2372
- "default": "undefined",
2373
- "fieldName": "disabled",
2374
- "inheritedFrom": {
2375
- "name": "DisabledMixin",
2376
- "module": "src/utils/mixins/DisabledMixin.ts"
2377
- }
2378
- },
1951
+ "name": "IconNameMixin",
1952
+ "module": "/src/utils/mixins/IconNameMixin"
1953
+ }
1954
+ ],
1955
+ "superclass": {
1956
+ "name": "Component",
1957
+ "module": "/src/models"
1958
+ },
1959
+ "tagName": "mdc-badge",
1960
+ "jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported badge types:\n * - `dot`: Displays a dot notification badge with a blue color.\n * - `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n * - `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\n * it shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n * - `success`: Displays a success badge with a check circle icon and green color.\n * - `warning`: Displays a warning badge with a warning icon and yellow color.\n * - `error`: Displays a error badge with a error legacy icon and red color.\n *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n *\n * @cssproperty --mdc-badge-primary-foreground-color - The foreground color of the primary badge.\n * @cssproperty --mdc-badge-primary-background-color - The background color of the primary badge.\n * @cssproperty --mdc-badge-secondary-foreground-color - The foreground color of the secondary badge.\n * @cssproperty --mdc-badge-secondary-background-color - The background color of the secondary badge.\n * @cssproperty --mdc-badge-success-foreground-color - The foreground color of the success badge.\n * @cssproperty --mdc-badge-success-background-color - The background color of the success badge.\n * @cssproperty --mdc-badge-warning-foreground-color - The foreground color of the warning badge.\n * @cssproperty --mdc-badge-warning-background-color - The background color of the warning badge.\n * @cssproperty --mdc-badge-error-foreground-color - The foreground color of the error badge.\n * @cssproperty --mdc-badge-error-background-color - The background color of the error badge.\n * @cssproperty --mdc-badge-overlay-background-color - The background color of the badge overlay.\n */",
1961
+ "customElement": true
1962
+ }
1963
+ ],
1964
+ "exports": [
1965
+ {
1966
+ "kind": "js",
1967
+ "name": "default",
1968
+ "declaration": {
1969
+ "name": "Badge",
1970
+ "module": "components/badge/badge.component.js"
1971
+ }
1972
+ }
1973
+ ]
1974
+ },
1975
+ {
1976
+ "kind": "javascript-module",
1977
+ "path": "components/brandvisual/brandvisual.component.js",
1978
+ "declarations": [
1979
+ {
1980
+ "kind": "class",
1981
+ "description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
1982
+ "name": "Brandvisual",
1983
+ "members": [
2379
1984
  {
2380
- "name": "active",
1985
+ "kind": "field",
1986
+ "name": "brandVisualData",
2381
1987
  "type": {
2382
- "text": "boolean | undefined"
1988
+ "text": "HTMLElement | undefined"
2383
1989
  },
2384
- "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2385
- "default": "undefined",
2386
- "fieldName": "active",
2387
- "inheritedFrom": {
2388
- "name": "Buttonsimple",
2389
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2390
- }
1990
+ "privacy": "private"
2391
1991
  },
2392
1992
  {
2393
- "name": "soft-disabled",
1993
+ "kind": "field",
1994
+ "name": "name",
2394
1995
  "type": {
2395
- "text": "boolean | undefined"
1996
+ "text": "BrandVisualNames | undefined"
2396
1997
  },
2397
- "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2398
- "default": "undefined",
2399
- "fieldName": "softDisabled",
2400
- "inheritedFrom": {
2401
- "name": "Buttonsimple",
2402
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2403
- }
1998
+ "description": "Name of the brandVisual (= filename)",
1999
+ "attribute": "name",
2000
+ "reflects": true
2404
2001
  },
2405
2002
  {
2406
- "name": "ariaStateKey",
2407
- "type": {
2408
- "text": "string | undefined"
2409
- },
2410
- "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2411
- "default": "'aria-pressed' (when)",
2412
- "fieldName": "ariaStateKey",
2413
- "inheritedFrom": {
2414
- "name": "Buttonsimple",
2415
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2416
- }
2003
+ "kind": "method",
2004
+ "name": "getBrandVisualData",
2005
+ "privacy": "private"
2417
2006
  },
2418
2007
  {
2419
- "name": "type",
2420
- "type": {
2421
- "text": "ButtonType"
2422
- },
2423
- "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2424
- "default": "button",
2425
- "fieldName": "type",
2426
- "inheritedFrom": {
2427
- "name": "Buttonsimple",
2428
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2429
- }
2430
- }
2431
- ],
2432
- "mixins": [
2008
+ "kind": "method",
2009
+ "name": "handleBrandVisualLoadedSuccess",
2010
+ "privacy": "private",
2011
+ "parameters": [
2012
+ {
2013
+ "name": "brandVisualHtml",
2014
+ "type": {
2015
+ "text": "HTMLElement"
2016
+ },
2017
+ "description": "The brandvisual html element which has been fetched from the brandvisual provider."
2018
+ }
2019
+ ],
2020
+ "description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
2021
+ },
2433
2022
  {
2434
- "name": "ButtonComponentMixin",
2435
- "module": "/src/utils/mixins/ButtonComponentMixin"
2023
+ "kind": "method",
2024
+ "name": "handleBrandVisualLoadedFailure",
2025
+ "privacy": "private",
2026
+ "parameters": [
2027
+ {
2028
+ "name": "error",
2029
+ "type": {
2030
+ "text": "unknown"
2031
+ }
2032
+ }
2033
+ ],
2034
+ "description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
2436
2035
  }
2437
2036
  ],
2438
- "superclass": {
2439
- "name": "Buttonsimple",
2440
- "module": "/src/components/buttonsimple/buttonsimple.component"
2441
- },
2442
- "tagName": "mdc-button",
2443
- "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\n * - **Primary**: Solid background color.\n * - **Secondary**: Transparent background with a solid border.\n * - **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
2444
- "customElement": true,
2445
2037
  "events": [
2446
2038
  {
2447
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
2448
- "name": "click",
2449
- "reactName": "onClick",
2450
- "inheritedFrom": {
2451
- "name": "Buttonsimple",
2452
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2453
- }
2454
- },
2455
- {
2456
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
2457
- "name": "keydown",
2458
- "reactName": "onKeyDown",
2459
- "inheritedFrom": {
2460
- "name": "Buttonsimple",
2461
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2462
- }
2039
+ "description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
2040
+ "name": "load",
2041
+ "reactName": "onLoad"
2463
2042
  },
2464
2043
  {
2465
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
2466
- "name": "keyup",
2467
- "reactName": "onKeyUp",
2468
- "inheritedFrom": {
2469
- "name": "Buttonsimple",
2470
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2471
- }
2472
- },
2044
+ "description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
2045
+ "name": "error",
2046
+ "reactName": "onError"
2047
+ }
2048
+ ],
2049
+ "attributes": [
2473
2050
  {
2474
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
2475
- "name": "focus",
2476
- "reactName": "onFocus",
2477
- "inheritedFrom": {
2478
- "name": "Buttonsimple",
2479
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
2480
- }
2051
+ "name": "name",
2052
+ "type": {
2053
+ "text": "BrandVisualNames | undefined"
2054
+ },
2055
+ "description": "Name of the brandVisual (= filename)",
2056
+ "fieldName": "name"
2481
2057
  }
2482
- ]
2058
+ ],
2059
+ "superclass": {
2060
+ "name": "Component",
2061
+ "module": "/src/models"
2062
+ },
2063
+ "tagName": "mdc-brandvisual",
2064
+ "jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
2065
+ "customElement": true
2483
2066
  }
2484
2067
  ],
2485
2068
  "exports": [
@@ -2487,130 +2070,69 @@
2487
2070
  "kind": "js",
2488
2071
  "name": "default",
2489
2072
  "declaration": {
2490
- "name": "Button",
2491
- "module": "components/button/button.component.js"
2073
+ "name": "Brandvisual",
2074
+ "module": "components/brandvisual/brandvisual.component.js"
2492
2075
  }
2493
2076
  }
2494
2077
  ]
2495
2078
  },
2496
2079
  {
2497
2080
  "kind": "javascript-module",
2498
- "path": "components/buttongroup/buttongroup.component.js",
2081
+ "path": "components/bullet/bullet.component.js",
2499
2082
  "declarations": [
2500
2083
  {
2501
2084
  "kind": "class",
2502
- "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2503
- "name": "ButtonGroup",
2085
+ "description": "Bullet component, which is a visual marker\nand be used to organize and present items in a list format.",
2086
+ "name": "Bullet",
2504
2087
  "cssProperties": [
2505
2088
  {
2506
- "description": "The border radius of the buttongroup",
2507
- "name": "--mdc-buttongroup-border-radius"
2089
+ "description": "background color of the bullet",
2090
+ "name": "--mdc-bullet-background-color"
2508
2091
  },
2509
2092
  {
2510
- "description": "The border color of the buttongroup",
2511
- "name": "--mdc-buttongroup-border-color"
2093
+ "description": "small size value of the bullet",
2094
+ "name": "--mdc-bullet-size-small"
2512
2095
  },
2513
2096
  {
2514
- "description": "The color of the divider between buttons within the buttongroup",
2515
- "name": "--mdc-buttongroup-divider-color"
2516
- }
2517
- ],
2518
- "slots": [
2097
+ "description": "medium size value of the bullet",
2098
+ "name": "--mdc-bullet-size-medium"
2099
+ },
2519
2100
  {
2520
- "description": "This is a default/unnamed slot, which contains the buttons",
2521
- "name": "default"
2101
+ "description": "large size value of the bullet",
2102
+ "name": "--mdc-bullet-size-large"
2522
2103
  }
2523
2104
  ],
2524
2105
  "members": [
2525
- {
2526
- "kind": "field",
2527
- "name": "orientation",
2528
- "type": {
2529
- "text": "ButtonGroupOrientation"
2530
- },
2531
- "description": "Orientation of the buttongroup.",
2532
- "default": "'horizontal'",
2533
- "attribute": "orientation",
2534
- "reflects": true
2535
- },
2536
- {
2537
- "kind": "field",
2538
- "name": "variant",
2539
- "type": {
2540
- "text": "ButtonGroupVariant"
2541
- },
2542
- "description": "Variant of the buttons within the buttongroup.",
2543
- "default": "'primary'",
2544
- "attribute": "variant",
2545
- "reflects": true
2546
- },
2547
2106
  {
2548
2107
  "kind": "field",
2549
2108
  "name": "size",
2550
2109
  "type": {
2551
- "text": "ButtonGroupSize"
2110
+ "text": "Size"
2552
2111
  },
2553
- "description": "Size of the buttons within the buttongroup.",
2554
- "default": "'28'",
2112
+ "privacy": "public",
2113
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
2114
+ "default": "small",
2555
2115
  "attribute": "size",
2556
2116
  "reflects": true
2557
- },
2558
- {
2559
- "kind": "field",
2560
- "name": "compact",
2561
- "type": {
2562
- "text": "boolean"
2563
- },
2564
- "default": "false",
2565
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2566
- "attribute": "compact",
2567
- "reflects": true
2568
2117
  }
2569
2118
  ],
2570
2119
  "attributes": [
2571
- {
2572
- "name": "orientation",
2573
- "type": {
2574
- "text": "ButtonGroupOrientation"
2575
- },
2576
- "description": "Orientation of the buttongroup.",
2577
- "default": "'horizontal'",
2578
- "fieldName": "orientation"
2579
- },
2580
- {
2581
- "name": "variant",
2582
- "type": {
2583
- "text": "ButtonGroupVariant"
2584
- },
2585
- "description": "Variant of the buttons within the buttongroup.",
2586
- "default": "'primary'",
2587
- "fieldName": "variant"
2588
- },
2589
2120
  {
2590
2121
  "name": "size",
2591
2122
  "type": {
2592
- "text": "ButtonGroupSize"
2123
+ "text": "Size"
2593
2124
  },
2594
- "description": "Size of the buttons within the buttongroup.",
2595
- "default": "'28'",
2125
+ "description": "Size of the bullet\n\nPossible values: 'small', 'medium', 'large'",
2126
+ "default": "small",
2596
2127
  "fieldName": "size"
2597
- },
2598
- {
2599
- "name": "compact",
2600
- "type": {
2601
- "text": "boolean"
2602
- },
2603
- "default": "false",
2604
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2605
- "fieldName": "compact"
2606
2128
  }
2607
2129
  ],
2608
2130
  "superclass": {
2609
2131
  "name": "Component",
2610
2132
  "module": "/src/models"
2611
2133
  },
2612
- "tagName": "mdc-buttongroup",
2613
- "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
2134
+ "tagName": "mdc-bullet",
2135
+ "jsDoc": "/**\n * Bullet component, which is a visual marker\n * and be used to organize and present items in a list format.\n *\n * @tagname mdc-bullet\n *\n * @cssproperty --mdc-bullet-background-color - background color of the bullet\n * @cssproperty --mdc-bullet-size-small - small size value of the bullet\n * @cssproperty --mdc-bullet-size-medium - medium size value of the bullet\n * @cssproperty --mdc-bullet-size-large - large size value of the bullet\n*/",
2614
2136
  "customElement": true
2615
2137
  }
2616
2138
  ],
@@ -2619,65 +2141,83 @@
2619
2141
  "kind": "js",
2620
2142
  "name": "default",
2621
2143
  "declaration": {
2622
- "name": "ButtonGroup",
2623
- "module": "components/buttongroup/buttongroup.component.js"
2144
+ "name": "Bullet",
2145
+ "module": "components/bullet/bullet.component.js"
2624
2146
  }
2625
2147
  }
2626
2148
  ]
2627
2149
  },
2628
2150
  {
2629
2151
  "kind": "javascript-module",
2630
- "path": "components/buttonlink/buttonlink.component.js",
2152
+ "path": "components/button/button.component.js",
2631
2153
  "declarations": [
2632
2154
  {
2633
2155
  "kind": "class",
2634
- "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
2635
- "name": "ButtonLink",
2156
+ "description": "`mdc-button` is a component that can be configured in various ways to suit different use cases.\n\nButton Variants:\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n\nButton Colors:\n- **Positive**: Green color.\n- **Negative**: Red color.\n- **Accent**: Blue color.\n- **Promotional**: Purple color.\n- **Default**: White color.\n\nButton Sizes (in REM units):\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- **Tertiary icon button**: 20.\n\nButton Types:\n- **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n- **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n- **Icon button**: A button represented by just an icon without any text.\nThe type of button is inferred based on the presence of slot and/or prefix and postfix icons.",
2157
+ "name": "Button",
2158
+ "slots": [
2159
+ {
2160
+ "description": "Text label of the button.",
2161
+ "name": ""
2162
+ }
2163
+ ],
2636
2164
  "members": [
2637
2165
  {
2638
2166
  "kind": "field",
2639
2167
  "name": "size",
2640
2168
  "type": {
2641
- "text": "PillButtonSize | IconButtonSize"
2169
+ "text": "ButtonSize"
2642
2170
  },
2643
- "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
2171
+ "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
2644
2172
  "default": "32",
2645
2173
  "attribute": "size",
2646
- "reflects": true
2174
+ "reflects": true,
2175
+ "inheritedFrom": {
2176
+ "name": "Buttonsimple",
2177
+ "module": "components/buttonsimple/buttonsimple.component.js"
2178
+ }
2647
2179
  },
2648
2180
  {
2649
2181
  "kind": "field",
2650
- "name": "softDisabled",
2182
+ "name": "inverted",
2651
2183
  "type": {
2652
- "text": "boolean | undefined"
2184
+ "text": "boolean"
2653
2185
  },
2654
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2655
- "default": "undefined",
2656
- "attribute": "soft-disabled",
2186
+ "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
2187
+ "default": "false",
2188
+ "attribute": "inverted",
2657
2189
  "reflects": true
2658
2190
  },
2191
+ {
2192
+ "kind": "field",
2193
+ "name": "role",
2194
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
2195
+ "default": "'button'",
2196
+ "attribute": "role",
2197
+ "reflects": true,
2198
+ "type": {
2199
+ "text": "string"
2200
+ },
2201
+ "inheritedFrom": {
2202
+ "name": "Buttonsimple",
2203
+ "module": "components/buttonsimple/buttonsimple.component.js"
2204
+ }
2205
+ },
2659
2206
  {
2660
2207
  "kind": "method",
2661
- "name": "setSoftDisabled",
2208
+ "name": "inferFilledIconName",
2662
2209
  "privacy": "private",
2663
2210
  "parameters": [
2664
2211
  {
2665
- "name": "element",
2666
- "type": {
2667
- "text": "HTMLElement"
2668
- },
2669
- "description": "The buttonlink element."
2670
- },
2671
- {
2672
- "name": "softDisabled",
2212
+ "name": "active",
2673
2213
  "optional": true,
2674
2214
  "type": {
2675
2215
  "text": "boolean"
2676
2216
  },
2677
- "description": "The soft-disabled state."
2217
+ "description": "The active state."
2678
2218
  }
2679
2219
  ],
2680
- "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
2220
+ "description": "Modifies the icon name based on the active state.\nIf the button is active, the icon name is suffixed with '-filled'.\nIf the button is inactive, the icon name is restored to its original value.\nIf '-filled' icon is not available, the icon name remains unchanged."
2681
2221
  },
2682
2222
  {
2683
2223
  "kind": "field",
@@ -2808,21 +2348,6 @@
2808
2348
  "module": "utils/mixins/ButtonComponentMixin.js"
2809
2349
  }
2810
2350
  },
2811
- {
2812
- "kind": "field",
2813
- "name": "disabled",
2814
- "type": {
2815
- "text": "boolean | undefined"
2816
- },
2817
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2818
- "default": "undefined",
2819
- "attribute": "disabled",
2820
- "reflects": true,
2821
- "inheritedFrom": {
2822
- "name": "DisabledMixin",
2823
- "module": "utils/mixins/DisabledMixin.js"
2824
- }
2825
- },
2826
2351
  {
2827
2352
  "kind": "field",
2828
2353
  "name": "tabIndex",
@@ -2840,85 +2365,140 @@
2840
2365
  },
2841
2366
  {
2842
2367
  "kind": "field",
2843
- "name": "inline",
2368
+ "name": "disabled",
2844
2369
  "type": {
2845
- "text": "boolean"
2370
+ "text": "boolean | undefined"
2846
2371
  },
2847
- "description": "The link can be inline or standalone.",
2848
- "default": "false",
2849
- "attribute": "inline",
2372
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2373
+ "default": "undefined",
2374
+ "attribute": "disabled",
2850
2375
  "reflects": true,
2851
2376
  "inheritedFrom": {
2852
- "name": "Linksimple",
2853
- "module": "components/linksimple/linksimple.component.js"
2377
+ "name": "DisabledMixin",
2378
+ "module": "utils/mixins/DisabledMixin.js"
2854
2379
  }
2855
2380
  },
2856
2381
  {
2857
2382
  "kind": "field",
2858
- "name": "inverted",
2383
+ "name": "active",
2859
2384
  "type": {
2860
- "text": "boolean"
2385
+ "text": "boolean | undefined"
2861
2386
  },
2862
- "description": "The link color can be inverted by setting the inverted attribute to true.",
2863
- "default": "false",
2864
- "attribute": "inverted",
2387
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2388
+ "default": "undefined",
2389
+ "attribute": "active",
2865
2390
  "reflects": true,
2866
2391
  "inheritedFrom": {
2867
- "name": "Linksimple",
2868
- "module": "components/linksimple/linksimple.component.js"
2392
+ "name": "Buttonsimple",
2393
+ "module": "components/buttonsimple/buttonsimple.component.js"
2869
2394
  }
2870
2395
  },
2871
2396
  {
2872
2397
  "kind": "field",
2873
- "name": "href",
2398
+ "name": "softDisabled",
2874
2399
  "type": {
2875
- "text": "string"
2400
+ "text": "boolean | undefined"
2876
2401
  },
2877
- "default": "'#'",
2878
- "description": "Href for navigation. The URL that the hyperlink points to",
2879
- "attribute": "href",
2402
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2403
+ "default": "undefined",
2404
+ "attribute": "soft-disabled",
2880
2405
  "reflects": true,
2881
2406
  "inheritedFrom": {
2882
- "name": "Linksimple",
2883
- "module": "components/linksimple/linksimple.component.js"
2407
+ "name": "Buttonsimple",
2408
+ "module": "components/buttonsimple/buttonsimple.component.js"
2884
2409
  }
2885
2410
  },
2886
2411
  {
2887
2412
  "kind": "field",
2888
- "name": "target",
2413
+ "name": "ariaStateKey",
2889
2414
  "type": {
2890
- "text": "string"
2415
+ "text": "string | undefined"
2891
2416
  },
2892
- "default": "'_self'",
2893
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
2894
- "attribute": "target",
2417
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2418
+ "default": "'aria-pressed' (when)",
2419
+ "attribute": "ariaStateKey",
2895
2420
  "reflects": true,
2896
2421
  "inheritedFrom": {
2897
- "name": "Linksimple",
2898
- "module": "components/linksimple/linksimple.component.js"
2422
+ "name": "Buttonsimple",
2423
+ "module": "components/buttonsimple/buttonsimple.component.js"
2899
2424
  }
2900
2425
  },
2901
2426
  {
2902
2427
  "kind": "field",
2903
- "name": "rel",
2428
+ "name": "type",
2904
2429
  "type": {
2905
- "text": "string | undefined"
2430
+ "text": "ButtonType"
2906
2431
  },
2907
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
2908
- "attribute": "rel",
2432
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2433
+ "default": "button",
2434
+ "attribute": "type",
2909
2435
  "reflects": true,
2910
2436
  "inheritedFrom": {
2911
- "name": "Linksimple",
2912
- "module": "components/linksimple/linksimple.component.js"
2437
+ "name": "Buttonsimple",
2438
+ "module": "components/buttonsimple/buttonsimple.component.js"
2913
2439
  }
2914
2440
  },
2915
2441
  {
2916
- "kind": "field",
2917
- "name": "handleNavigation",
2442
+ "kind": "method",
2443
+ "name": "executeAction",
2444
+ "privacy": "protected",
2445
+ "inheritedFrom": {
2446
+ "name": "Buttonsimple",
2447
+ "module": "components/buttonsimple/buttonsimple.component.js"
2448
+ }
2449
+ },
2450
+ {
2451
+ "kind": "method",
2452
+ "name": "setActive",
2453
+ "privacy": "protected",
2454
+ "parameters": [
2455
+ {
2456
+ "name": "element",
2457
+ "type": {
2458
+ "text": "HTMLElement"
2459
+ },
2460
+ "description": "The button element"
2461
+ },
2462
+ {
2463
+ "name": "active",
2464
+ "optional": true,
2465
+ "type": {
2466
+ "text": "boolean"
2467
+ },
2468
+ "description": "The active state of the element"
2469
+ }
2470
+ ],
2471
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
2472
+ "inheritedFrom": {
2473
+ "name": "Buttonsimple",
2474
+ "module": "components/buttonsimple/buttonsimple.component.js"
2475
+ }
2476
+ },
2477
+ {
2478
+ "kind": "method",
2479
+ "name": "setSoftDisabled",
2918
2480
  "privacy": "private",
2481
+ "parameters": [
2482
+ {
2483
+ "name": "element",
2484
+ "type": {
2485
+ "text": "HTMLElement"
2486
+ },
2487
+ "description": "The button element."
2488
+ },
2489
+ {
2490
+ "name": "softDisabled",
2491
+ "optional": true,
2492
+ "type": {
2493
+ "text": "boolean"
2494
+ },
2495
+ "description": "The soft-disabled state."
2496
+ }
2497
+ ],
2498
+ "description": "Sets the soft-disabled attribute for the button.\nWhen soft-disabled, the button looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute.",
2919
2499
  "inheritedFrom": {
2920
- "name": "Linksimple",
2921
- "module": "components/linksimple/linksimple.component.js"
2500
+ "name": "Buttonsimple",
2501
+ "module": "components/buttonsimple/buttonsimple.component.js"
2922
2502
  }
2923
2503
  },
2924
2504
  {
@@ -2926,56 +2506,82 @@
2926
2506
  "name": "setDisabled",
2927
2507
  "privacy": "private",
2928
2508
  "parameters": [
2509
+ {
2510
+ "name": "element",
2511
+ "type": {
2512
+ "text": "HTMLElement"
2513
+ },
2514
+ "description": "The button element."
2515
+ },
2929
2516
  {
2930
2517
  "name": "disabled",
2931
2518
  "type": {
2932
2519
  "text": "boolean"
2933
2520
  },
2934
- "description": "Whether the element should be disabled"
2521
+ "description": "The disabled state."
2935
2522
  }
2936
2523
  ],
2937
- "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
2524
+ "description": "Sets the disabled attribute for the button.\nWhen disabled, the button is not focusable or clickable, and tabindex is set to -1.\nThe previous tabindex is stored and restored when enabled.\nAlso sets/removes aria-disabled attribute.",
2938
2525
  "inheritedFrom": {
2939
- "name": "Linksimple",
2940
- "module": "components/linksimple/linksimple.component.js"
2526
+ "name": "Buttonsimple",
2527
+ "module": "components/buttonsimple/buttonsimple.component.js"
2941
2528
  }
2942
- }
2943
- ],
2944
- "events": [
2529
+ },
2945
2530
  {
2946
- "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
2947
- "name": "click",
2948
- "reactName": "onClick",
2531
+ "kind": "method",
2532
+ "name": "triggerClickEvent",
2533
+ "privacy": "private",
2949
2534
  "inheritedFrom": {
2950
- "name": "Linksimple",
2951
- "module": "src/components/linksimple/linksimple.component.ts"
2535
+ "name": "Buttonsimple",
2536
+ "module": "components/buttonsimple/buttonsimple.component.js"
2952
2537
  }
2953
2538
  },
2954
2539
  {
2955
- "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
2956
- "name": "keydown",
2957
- "reactName": "onKeyDown",
2540
+ "kind": "method",
2541
+ "name": "handleBlur",
2542
+ "privacy": "private",
2543
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
2958
2544
  "inheritedFrom": {
2959
- "name": "Linksimple",
2960
- "module": "src/components/linksimple/linksimple.component.ts"
2545
+ "name": "Buttonsimple",
2546
+ "module": "components/buttonsimple/buttonsimple.component.js"
2961
2547
  }
2962
2548
  },
2963
2549
  {
2964
- "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
2965
- "name": "focus",
2966
- "reactName": "onFocus",
2550
+ "kind": "method",
2551
+ "name": "handleKeyDown",
2552
+ "privacy": "private",
2553
+ "parameters": [
2554
+ {
2555
+ "name": "event",
2556
+ "type": {
2557
+ "text": "KeyboardEvent"
2558
+ },
2559
+ "description": "The keyboard event."
2560
+ }
2561
+ ],
2562
+ "description": "Handles the keydown event on the button.\nIf the key is 'Enter' or 'Space', the button is pressed.\nIf the key is 'Enter', the button is pressed. The native HTML button works in the same way.\nIf the key is 'Space', the button's default is prevent to avoid scrolling etc in the host application.",
2967
2563
  "inheritedFrom": {
2968
- "name": "Linksimple",
2969
- "module": "src/components/linksimple/linksimple.component.ts"
2564
+ "name": "Buttonsimple",
2565
+ "module": "components/buttonsimple/buttonsimple.component.js"
2970
2566
  }
2971
2567
  },
2972
2568
  {
2973
- "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
2974
- "name": "blur",
2975
- "reactName": "onBlur",
2569
+ "kind": "method",
2570
+ "name": "handleKeyUp",
2571
+ "privacy": "private",
2572
+ "parameters": [
2573
+ {
2574
+ "name": "event",
2575
+ "type": {
2576
+ "text": "KeyboardEvent"
2577
+ },
2578
+ "description": "The keyboard event."
2579
+ }
2580
+ ],
2581
+ "description": "Handles the keyup event on the button.\nIf the key is 'Enter' or 'Space', the button is clicked.\nIf the key is 'Space', the button is pressed. The native HTML button works in the same way.",
2976
2582
  "inheritedFrom": {
2977
- "name": "Linksimple",
2978
- "module": "src/components/linksimple/linksimple.component.ts"
2583
+ "name": "Buttonsimple",
2584
+ "module": "components/buttonsimple/buttonsimple.component.js"
2979
2585
  }
2980
2586
  }
2981
2587
  ],
@@ -2983,20 +2589,37 @@
2983
2589
  {
2984
2590
  "name": "size",
2985
2591
  "type": {
2986
- "text": "PillButtonSize | IconButtonSize"
2592
+ "text": "ButtonSize"
2987
2593
  },
2988
- "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
2594
+ "description": "Button sizing is based on the button type.\n- **Pill button**: 40, 32, 28, 24.\n- **Icon button**: 64, 52, 40, 32, 28, 24.\n- Tertiary icon button can also be 20.",
2989
2595
  "default": "32",
2990
- "fieldName": "size"
2596
+ "fieldName": "size",
2597
+ "inheritedFrom": {
2598
+ "name": "Buttonsimple",
2599
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
2600
+ }
2991
2601
  },
2992
2602
  {
2993
- "name": "soft-disabled",
2603
+ "name": "inverted",
2994
2604
  "type": {
2995
- "text": "boolean | undefined"
2605
+ "text": "boolean"
2996
2606
  },
2997
- "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2998
- "default": "undefined",
2999
- "fieldName": "softDisabled"
2607
+ "description": "The button color can be inverted by setting the inverted attribute to true.\n\nOnly applies when variant is set to `primary`, color is set to `default`\nand button is not `active`.",
2608
+ "default": "false",
2609
+ "fieldName": "inverted"
2610
+ },
2611
+ {
2612
+ "name": "role",
2613
+ "description": "This property defines the ARIA role for the element. By default, it is set to 'button'.\nConsumers should override this role when:\n- The element is being used in a context where a different role is more appropriate.\n- Custom behaviors are implemented that require a specific ARIA role for accessibility purposes.",
2614
+ "default": "'button'",
2615
+ "fieldName": "role",
2616
+ "type": {
2617
+ "text": "string"
2618
+ },
2619
+ "inheritedFrom": {
2620
+ "name": "Buttonsimple",
2621
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
2622
+ }
3000
2623
  },
3001
2624
  {
3002
2625
  "name": "prefix-icon",
@@ -3048,19 +2671,6 @@
3048
2671
  "module": "src/utils/mixins/ButtonComponentMixin.ts"
3049
2672
  }
3050
2673
  },
3051
- {
3052
- "name": "disabled",
3053
- "type": {
3054
- "text": "boolean | undefined"
3055
- },
3056
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3057
- "default": "undefined",
3058
- "fieldName": "disabled",
3059
- "inheritedFrom": {
3060
- "name": "DisabledMixin",
3061
- "module": "src/utils/mixins/DisabledMixin.ts"
3062
- }
3063
- },
3064
2674
  {
3065
2675
  "name": "tabIndex",
3066
2676
  "type": {
@@ -3075,67 +2685,68 @@
3075
2685
  }
3076
2686
  },
3077
2687
  {
3078
- "name": "inline",
2688
+ "name": "disabled",
3079
2689
  "type": {
3080
- "text": "boolean"
2690
+ "text": "boolean | undefined"
3081
2691
  },
3082
- "description": "The link can be inline or standalone.",
3083
- "default": "false",
3084
- "fieldName": "inline",
2692
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
2693
+ "default": "undefined",
2694
+ "fieldName": "disabled",
3085
2695
  "inheritedFrom": {
3086
- "name": "Linksimple",
3087
- "module": "src/components/linksimple/linksimple.component.ts"
2696
+ "name": "DisabledMixin",
2697
+ "module": "src/utils/mixins/DisabledMixin.ts"
3088
2698
  }
3089
2699
  },
3090
2700
  {
3091
- "name": "inverted",
2701
+ "name": "active",
3092
2702
  "type": {
3093
- "text": "boolean"
2703
+ "text": "boolean | undefined"
3094
2704
  },
3095
- "description": "The link color can be inverted by setting the inverted attribute to true.",
3096
- "default": "false",
3097
- "fieldName": "inverted",
2705
+ "description": "The button's active state indicates whether it is currently toggled on (active) or off (inactive).\nWhen the active state is true, the button is considered to be in an active state, meaning it is toggled on.\nConversely, when the active state is false, the button is in an inactive state, indicating it is toggled off.\n\nThis attribute is used to set the provided `ariaStateKey` to true or false.",
2706
+ "default": "undefined",
2707
+ "fieldName": "active",
3098
2708
  "inheritedFrom": {
3099
- "name": "Linksimple",
3100
- "module": "src/components/linksimple/linksimple.component.ts"
2709
+ "name": "Buttonsimple",
2710
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3101
2711
  }
3102
2712
  },
3103
2713
  {
3104
- "name": "href",
2714
+ "name": "soft-disabled",
3105
2715
  "type": {
3106
- "text": "string"
2716
+ "text": "boolean | undefined"
3107
2717
  },
3108
- "default": "'#'",
3109
- "description": "Href for navigation. The URL that the hyperlink points to",
3110
- "fieldName": "href",
2718
+ "description": "Indicates whether the button is soft disabled.\nWhen set to `true`, the button appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe button behaves like a disabled button, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2719
+ "default": "undefined",
2720
+ "fieldName": "softDisabled",
3111
2721
  "inheritedFrom": {
3112
- "name": "Linksimple",
3113
- "module": "src/components/linksimple/linksimple.component.ts"
2722
+ "name": "Buttonsimple",
2723
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3114
2724
  }
3115
2725
  },
3116
2726
  {
3117
- "name": "target",
2727
+ "name": "ariaStateKey",
3118
2728
  "type": {
3119
- "text": "string"
2729
+ "text": "string | undefined"
3120
2730
  },
3121
- "default": "'_self'",
3122
- "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3123
- "fieldName": "target",
2731
+ "description": "This property defines the ARIA state key, which will be toggled when the\nButton is set to `active`.\nThe default value is 'aria-pressed', which is commonly used for toggle buttons.\n\nConsumers can override this property to use a different ARIA state key if needed.\nIn case multiple aria attributes should be toggled, they can be passed in as\na comma separated string.\nFor example: `aria-pressed,aria-expanded`",
2732
+ "default": "'aria-pressed' (when)",
2733
+ "fieldName": "ariaStateKey",
3124
2734
  "inheritedFrom": {
3125
- "name": "Linksimple",
3126
- "module": "src/components/linksimple/linksimple.component.ts"
2735
+ "name": "Buttonsimple",
2736
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3127
2737
  }
3128
2738
  },
3129
2739
  {
3130
- "name": "rel",
2740
+ "name": "type",
3131
2741
  "type": {
3132
- "text": "string | undefined"
2742
+ "text": "ButtonType"
3133
2743
  },
3134
- "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3135
- "fieldName": "rel",
2744
+ "description": "This property defines the type attribute for the button element.\nThe type attribute specifies the behavior of the button when it is clicked.\n- **submit**: The button submits the form data to the server.\n- **reset**: The button resets the form data to its initial state.\n- **button**: The button does nothing when clicked.",
2745
+ "default": "button",
2746
+ "fieldName": "type",
3136
2747
  "inheritedFrom": {
3137
- "name": "Linksimple",
3138
- "module": "src/components/linksimple/linksimple.component.ts"
2748
+ "name": "Buttonsimple",
2749
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3139
2750
  }
3140
2751
  }
3141
2752
  ],
@@ -3146,86 +2757,182 @@
3146
2757
  }
3147
2758
  ],
3148
2759
  "superclass": {
3149
- "name": "Linksimple",
3150
- "module": "/src/components/linksimple/linksimple.component"
2760
+ "name": "Buttonsimple",
2761
+ "module": "/src/components/buttonsimple/buttonsimple.component"
3151
2762
  },
3152
- "tagName": "mdc-buttonlink",
3153
- "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
2763
+ "tagName": "mdc-button",
2764
+ "jsDoc": "/**\n * `mdc-button` is a component that can be configured in various ways to suit different use cases.\n *\n * Button Variants:\n * - **Primary**: Solid background color.\n * - **Secondary**: Transparent background with a solid border.\n * - **Tertiary**: No background or border, appears as plain text but retains all button functionalities.\n *\n * Button Colors:\n * - **Positive**: Green color.\n * - **Negative**: Red color.\n * - **Accent**: Blue color.\n * - **Promotional**: Purple color.\n * - **Default**: White color.\n *\n * Button Sizes (in REM units):\n * - **Pill button**: 40, 32, 28, 24.\n * - **Icon button**: 64, 52, 40, 32, 28, 24.\n * - **Tertiary icon button**: 20.\n *\n * Button Types:\n * - **Pill button**: A button that contains text value. Commonly used for call to action, tags, or filters.\n * - **Pill button with icons**: A button containing an icon either on the left or right side of the button.\n * - **Icon button**: A button represented by just an icon without any text.\n * The type of button is inferred based on the presence of slot and/or prefix and postfix icons.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n */",
3154
2765
  "customElement": true,
3155
- "cssProperties": [
2766
+ "events": [
3156
2767
  {
3157
- "description": "Border radius of the link.",
3158
- "name": "--mdc-link-border-radius",
2768
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
2769
+ "name": "click",
2770
+ "reactName": "onClick",
3159
2771
  "inheritedFrom": {
3160
- "name": "Linksimple",
3161
- "module": "src/components/linksimple/linksimple.component.ts"
2772
+ "name": "Buttonsimple",
2773
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3162
2774
  }
3163
2775
  },
3164
2776
  {
3165
- "description": "Color of the link’s child content in the active state.",
3166
- "name": "--mdc-link-color-active",
2777
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
2778
+ "name": "keydown",
2779
+ "reactName": "onKeyDown",
3167
2780
  "inheritedFrom": {
3168
- "name": "Linksimple",
3169
- "module": "src/components/linksimple/linksimple.component.ts"
2781
+ "name": "Buttonsimple",
2782
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3170
2783
  }
3171
2784
  },
3172
2785
  {
3173
- "description": "Color of the link’s child content in the disabled state.",
3174
- "name": "--mdc-link-color-disabled",
2786
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
2787
+ "name": "keyup",
2788
+ "reactName": "onKeyUp",
3175
2789
  "inheritedFrom": {
3176
- "name": "Linksimple",
3177
- "module": "src/components/linksimple/linksimple.component.ts"
2790
+ "name": "Buttonsimple",
2791
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
2792
+ }
2793
+ },
2794
+ {
2795
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
2796
+ "name": "focus",
2797
+ "reactName": "onFocus",
2798
+ "inheritedFrom": {
2799
+ "name": "Buttonsimple",
2800
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
3178
2801
  }
2802
+ }
2803
+ ]
2804
+ }
2805
+ ],
2806
+ "exports": [
2807
+ {
2808
+ "kind": "js",
2809
+ "name": "default",
2810
+ "declaration": {
2811
+ "name": "Button",
2812
+ "module": "components/button/button.component.js"
2813
+ }
2814
+ }
2815
+ ]
2816
+ },
2817
+ {
2818
+ "kind": "javascript-module",
2819
+ "path": "components/buttongroup/buttongroup.component.js",
2820
+ "declarations": [
2821
+ {
2822
+ "kind": "class",
2823
+ "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2824
+ "name": "ButtonGroup",
2825
+ "cssProperties": [
2826
+ {
2827
+ "description": "The border radius of the buttongroup",
2828
+ "name": "--mdc-buttongroup-border-radius"
2829
+ },
2830
+ {
2831
+ "description": "The border color of the buttongroup",
2832
+ "name": "--mdc-buttongroup-border-color"
2833
+ },
2834
+ {
2835
+ "description": "The color of the divider between buttons within the buttongroup",
2836
+ "name": "--mdc-buttongroup-divider-color"
2837
+ }
2838
+ ],
2839
+ "slots": [
2840
+ {
2841
+ "description": "This is a default/unnamed slot, which contains the buttons",
2842
+ "name": "default"
2843
+ }
2844
+ ],
2845
+ "members": [
2846
+ {
2847
+ "kind": "field",
2848
+ "name": "orientation",
2849
+ "type": {
2850
+ "text": "ButtonGroupOrientation"
2851
+ },
2852
+ "description": "Orientation of the buttongroup.",
2853
+ "default": "'horizontal'",
2854
+ "attribute": "orientation",
2855
+ "reflects": true
2856
+ },
2857
+ {
2858
+ "kind": "field",
2859
+ "name": "variant",
2860
+ "type": {
2861
+ "text": "ButtonGroupVariant"
2862
+ },
2863
+ "description": "Variant of the buttons within the buttongroup.",
2864
+ "default": "'primary'",
2865
+ "attribute": "variant",
2866
+ "reflects": true
3179
2867
  },
3180
2868
  {
3181
- "description": "Color of the link’s child content in the hover state.",
3182
- "name": "--mdc-link-color-hover",
3183
- "inheritedFrom": {
3184
- "name": "Linksimple",
3185
- "module": "src/components/linksimple/linksimple.component.ts"
3186
- }
2869
+ "kind": "field",
2870
+ "name": "size",
2871
+ "type": {
2872
+ "text": "ButtonGroupSize"
2873
+ },
2874
+ "description": "Size of the buttons within the buttongroup.",
2875
+ "default": "'28'",
2876
+ "attribute": "size",
2877
+ "reflects": true
3187
2878
  },
3188
2879
  {
3189
- "description": "Color of the link’s child content in the normal state.",
3190
- "name": "--mdc-link-color-normal",
3191
- "inheritedFrom": {
3192
- "name": "Linksimple",
3193
- "module": "src/components/linksimple/linksimple.component.ts"
3194
- }
3195
- },
2880
+ "kind": "field",
2881
+ "name": "compact",
2882
+ "type": {
2883
+ "text": "boolean"
2884
+ },
2885
+ "default": "false",
2886
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2887
+ "attribute": "compact",
2888
+ "reflects": true
2889
+ }
2890
+ ],
2891
+ "attributes": [
3196
2892
  {
3197
- "description": "Color of the inverted link’s child content in the active state.",
3198
- "name": "--mdc-link-inverted-color-active",
3199
- "inheritedFrom": {
3200
- "name": "Linksimple",
3201
- "module": "src/components/linksimple/linksimple.component.ts"
3202
- }
2893
+ "name": "orientation",
2894
+ "type": {
2895
+ "text": "ButtonGroupOrientation"
2896
+ },
2897
+ "description": "Orientation of the buttongroup.",
2898
+ "default": "'horizontal'",
2899
+ "fieldName": "orientation"
3203
2900
  },
3204
2901
  {
3205
- "description": "Color of the inverted link’s child content in the disabled state.",
3206
- "name": "--mdc-link-inverted-color-disabled",
3207
- "inheritedFrom": {
3208
- "name": "Linksimple",
3209
- "module": "src/components/linksimple/linksimple.component.ts"
3210
- }
2902
+ "name": "variant",
2903
+ "type": {
2904
+ "text": "ButtonGroupVariant"
2905
+ },
2906
+ "description": "Variant of the buttons within the buttongroup.",
2907
+ "default": "'primary'",
2908
+ "fieldName": "variant"
3211
2909
  },
3212
2910
  {
3213
- "description": "Color of the inverted link’s child content in the hover state.",
3214
- "name": "--mdc-link-inverted-color-hover",
3215
- "inheritedFrom": {
3216
- "name": "Linksimple",
3217
- "module": "src/components/linksimple/linksimple.component.ts"
3218
- }
2911
+ "name": "size",
2912
+ "type": {
2913
+ "text": "ButtonGroupSize"
2914
+ },
2915
+ "description": "Size of the buttons within the buttongroup.",
2916
+ "default": "'28'",
2917
+ "fieldName": "size"
3219
2918
  },
3220
2919
  {
3221
- "description": "Color of the inverted link’s child content in the normal state.",
3222
- "name": "--mdc-link-inverted-color-normal",
3223
- "inheritedFrom": {
3224
- "name": "Linksimple",
3225
- "module": "src/components/linksimple/linksimple.component.ts"
3226
- }
2920
+ "name": "compact",
2921
+ "type": {
2922
+ "text": "boolean"
2923
+ },
2924
+ "default": "false",
2925
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2926
+ "fieldName": "compact"
3227
2927
  }
3228
- ]
2928
+ ],
2929
+ "superclass": {
2930
+ "name": "Component",
2931
+ "module": "/src/models"
2932
+ },
2933
+ "tagName": "mdc-buttongroup",
2934
+ "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
2935
+ "customElement": true
3229
2936
  }
3230
2937
  ],
3231
2938
  "exports": [
@@ -3233,320 +2940,613 @@
3233
2940
  "kind": "js",
3234
2941
  "name": "default",
3235
2942
  "declaration": {
3236
- "name": "ButtonLink",
3237
- "module": "components/buttonlink/buttonlink.component.js"
2943
+ "name": "ButtonGroup",
2944
+ "module": "components/buttongroup/buttongroup.component.js"
3238
2945
  }
3239
2946
  }
3240
2947
  ]
3241
2948
  },
3242
2949
  {
3243
2950
  "kind": "javascript-module",
3244
- "path": "components/badge/badge.component.js",
2951
+ "path": "components/buttonlink/buttonlink.component.js",
3245
2952
  "declarations": [
3246
2953
  {
3247
2954
  "kind": "class",
3248
- "description": "The `mdc-badge` component is a versatile UI element used to\ndisplay dot, icons, counters, success, warning and error type badge.\n\nSupported badge types:\n- `dot`: Displays a dot notification badge with a blue color.\n- `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n- `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\nit shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n- `success`: Displays a success badge with a check circle icon and green color.\n- `warning`: Displays a warning badge with a warning icon and yellow color.\n- `error`: Displays a error badge with a error legacy icon and red color.\n\nFor `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n\nFor the `counter` type, the `mdc-text` component is used to render the counter value.",
3249
- "name": "Badge",
3250
- "cssProperties": [
2955
+ "description": "`mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\nfeatures of `mdc-button`. This includes support for variants, sizing, and optional\nprefix and postfix icons via slots.\n\n### Features:\n- Behaves like an link while visually resembling a button.\n- Supports slots for `prefix-icon` and `postfix-icon`.\n- Customizable size, color, and variant through attributes.\n- Inherits accessibility and keyboard interaction support from `mdc-linksimple`.",
2956
+ "name": "ButtonLink",
2957
+ "members": [
3251
2958
  {
3252
- "description": "The foreground color of the primary badge.",
3253
- "name": "--mdc-badge-primary-foreground-color"
2959
+ "kind": "field",
2960
+ "name": "size",
2961
+ "type": {
2962
+ "text": "PillButtonSize | IconButtonSize"
2963
+ },
2964
+ "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
2965
+ "default": "32",
2966
+ "attribute": "size",
2967
+ "reflects": true
3254
2968
  },
3255
2969
  {
3256
- "description": "The background color of the primary badge.",
3257
- "name": "--mdc-badge-primary-background-color"
2970
+ "kind": "field",
2971
+ "name": "softDisabled",
2972
+ "type": {
2973
+ "text": "boolean | undefined"
2974
+ },
2975
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
2976
+ "default": "undefined",
2977
+ "attribute": "soft-disabled",
2978
+ "reflects": true
3258
2979
  },
3259
2980
  {
3260
- "description": "The foreground color of the secondary badge.",
3261
- "name": "--mdc-badge-secondary-foreground-color"
2981
+ "kind": "method",
2982
+ "name": "setSoftDisabled",
2983
+ "privacy": "private",
2984
+ "parameters": [
2985
+ {
2986
+ "name": "element",
2987
+ "type": {
2988
+ "text": "HTMLElement"
2989
+ },
2990
+ "description": "The buttonlink element."
2991
+ },
2992
+ {
2993
+ "name": "softDisabled",
2994
+ "optional": true,
2995
+ "type": {
2996
+ "text": "boolean"
2997
+ },
2998
+ "description": "The soft-disabled state."
2999
+ }
3000
+ ],
3001
+ "description": "Sets the soft-disabled attribute for the buttonlink.\nWhen soft-disabled, the buttonlink looks to be disabled but remains focusable and clickable.\nAlso sets/removes aria-disabled attribute."
3262
3002
  },
3263
3003
  {
3264
- "description": "The background color of the secondary badge.",
3265
- "name": "--mdc-badge-secondary-background-color"
3004
+ "kind": "field",
3005
+ "name": "prefixIcon",
3006
+ "type": {
3007
+ "text": "IconNames | undefined"
3008
+ },
3009
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3010
+ "attribute": "prefix-icon",
3011
+ "reflects": true,
3012
+ "inheritedFrom": {
3013
+ "name": "ButtonComponentMixin",
3014
+ "module": "utils/mixins/ButtonComponentMixin.js"
3015
+ }
3266
3016
  },
3267
3017
  {
3268
- "description": "The foreground color of the success badge.",
3269
- "name": "--mdc-badge-success-foreground-color"
3018
+ "kind": "field",
3019
+ "name": "postfixIcon",
3020
+ "type": {
3021
+ "text": "IconNames | undefined"
3022
+ },
3023
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3024
+ "attribute": "postfix-icon",
3025
+ "reflects": true,
3026
+ "inheritedFrom": {
3027
+ "name": "ButtonComponentMixin",
3028
+ "module": "utils/mixins/ButtonComponentMixin.js"
3029
+ }
3270
3030
  },
3271
3031
  {
3272
- "description": "The background color of the success badge.",
3273
- "name": "--mdc-badge-success-background-color"
3032
+ "kind": "field",
3033
+ "name": "variant",
3034
+ "type": {
3035
+ "text": "ButtonVariant"
3036
+ },
3037
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3038
+ "default": "primary",
3039
+ "attribute": "variant",
3040
+ "inheritedFrom": {
3041
+ "name": "ButtonComponentMixin",
3042
+ "module": "utils/mixins/ButtonComponentMixin.js"
3043
+ }
3274
3044
  },
3275
3045
  {
3276
- "description": "The foreground color of the warning badge.",
3277
- "name": "--mdc-badge-warning-foreground-color"
3046
+ "kind": "field",
3047
+ "name": "color",
3048
+ "type": {
3049
+ "text": "ButtonColor"
3050
+ },
3051
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3052
+ "default": "default",
3053
+ "attribute": "color",
3054
+ "inheritedFrom": {
3055
+ "name": "ButtonComponentMixin",
3056
+ "module": "utils/mixins/ButtonComponentMixin.js"
3057
+ }
3278
3058
  },
3279
3059
  {
3280
- "description": "The background color of the warning badge.",
3281
- "name": "--mdc-badge-warning-background-color"
3060
+ "kind": "method",
3061
+ "name": "setVariant",
3062
+ "privacy": "protected",
3063
+ "parameters": [
3064
+ {
3065
+ "name": "variant",
3066
+ "type": {
3067
+ "text": "ButtonVariant"
3068
+ },
3069
+ "description": "The variant to set."
3070
+ }
3071
+ ],
3072
+ "description": "Sets the variant attribute for the button component.\nIf the provided variant is not included in the BUTTON_VARIANTS,\nit defaults to the value specified in DEFAULTS.VARIANT.",
3073
+ "inheritedFrom": {
3074
+ "name": "ButtonComponentMixin",
3075
+ "module": "utils/mixins/ButtonComponentMixin.js"
3076
+ }
3077
+ },
3078
+ {
3079
+ "kind": "method",
3080
+ "name": "setColor",
3081
+ "privacy": "protected",
3082
+ "parameters": [
3083
+ {
3084
+ "name": "color",
3085
+ "type": {
3086
+ "text": "ButtonColor"
3087
+ },
3088
+ "description": "The color to set."
3089
+ }
3090
+ ],
3091
+ "description": "Sets the color attribute for the button.\nDefaults to DEFAULTS.COLOR if invalid or for tertiary button.",
3092
+ "inheritedFrom": {
3093
+ "name": "ButtonComponentMixin",
3094
+ "module": "utils/mixins/ButtonComponentMixin.js"
3095
+ }
3096
+ },
3097
+ {
3098
+ "kind": "method",
3099
+ "name": "setSize",
3100
+ "privacy": "protected",
3101
+ "parameters": [
3102
+ {
3103
+ "name": "size",
3104
+ "type": {
3105
+ "text": "PillButtonSize | IconButtonSize"
3106
+ },
3107
+ "description": "The size to set."
3108
+ }
3109
+ ],
3110
+ "description": "Sets the size attribute for the button component.\nValidates the size based on the button type (icon, pill, or tertiary).\nDefaults to DEFAULTS.SIZE if invalid.",
3111
+ "inheritedFrom": {
3112
+ "name": "ButtonComponentMixin",
3113
+ "module": "utils/mixins/ButtonComponentMixin.js"
3114
+ }
3282
3115
  },
3283
3116
  {
3284
- "description": "The foreground color of the error badge.",
3285
- "name": "--mdc-badge-error-foreground-color"
3117
+ "kind": "method",
3118
+ "name": "inferButtonType",
3119
+ "privacy": "protected",
3120
+ "description": "Infers the type of button based on the presence of slot and/or prefix and postfix icons.",
3121
+ "parameters": [
3122
+ {
3123
+ "description": "default slot of button",
3124
+ "name": "slot"
3125
+ }
3126
+ ],
3127
+ "inheritedFrom": {
3128
+ "name": "ButtonComponentMixin",
3129
+ "module": "utils/mixins/ButtonComponentMixin.js"
3130
+ }
3286
3131
  },
3287
3132
  {
3288
- "description": "The background color of the error badge.",
3289
- "name": "--mdc-badge-error-background-color"
3133
+ "kind": "field",
3134
+ "name": "disabled",
3135
+ "type": {
3136
+ "text": "boolean | undefined"
3137
+ },
3138
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3139
+ "default": "undefined",
3140
+ "attribute": "disabled",
3141
+ "reflects": true,
3142
+ "inheritedFrom": {
3143
+ "name": "DisabledMixin",
3144
+ "module": "utils/mixins/DisabledMixin.js"
3145
+ }
3290
3146
  },
3291
- {
3292
- "description": "The background color of the badge overlay.",
3293
- "name": "--mdc-badge-overlay-background-color"
3294
- }
3295
- ],
3296
- "members": [
3297
3147
  {
3298
3148
  "kind": "field",
3299
- "name": "type",
3149
+ "name": "tabIndex",
3300
3150
  "type": {
3301
- "text": "BadgeType | undefined"
3151
+ "text": "number"
3302
3152
  },
3303
- "description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
3304
- "attribute": "type",
3305
- "reflects": true
3153
+ "default": "0",
3154
+ "description": "This property specifies the tab order of the element.",
3155
+ "attribute": "tabIndex",
3156
+ "reflects": true,
3157
+ "inheritedFrom": {
3158
+ "name": "TabIndexMixin",
3159
+ "module": "utils/mixins/TabIndexMixin.js"
3160
+ }
3306
3161
  },
3307
3162
  {
3308
3163
  "kind": "field",
3309
- "name": "variant",
3164
+ "name": "inline",
3310
3165
  "type": {
3311
- "text": "IconVariant"
3166
+ "text": "boolean"
3312
3167
  },
3313
- "description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
3314
- "default": "primary",
3315
- "attribute": "variant",
3316
- "reflects": true
3168
+ "description": "The link can be inline or standalone.",
3169
+ "default": "false",
3170
+ "attribute": "inline",
3171
+ "reflects": true,
3172
+ "inheritedFrom": {
3173
+ "name": "Linksimple",
3174
+ "module": "components/linksimple/linksimple.component.js"
3175
+ }
3317
3176
  },
3318
3177
  {
3319
3178
  "kind": "field",
3320
- "name": "counter",
3179
+ "name": "inverted",
3321
3180
  "type": {
3322
- "text": "number | undefined"
3181
+ "text": "boolean"
3323
3182
  },
3324
- "description": "Counter is the number which can be provided in the badge.",
3325
- "attribute": "counter"
3183
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
3184
+ "default": "false",
3185
+ "attribute": "inverted",
3186
+ "reflects": true,
3187
+ "inheritedFrom": {
3188
+ "name": "Linksimple",
3189
+ "module": "components/linksimple/linksimple.component.js"
3190
+ }
3326
3191
  },
3327
3192
  {
3328
3193
  "kind": "field",
3329
- "name": "maxCounter",
3194
+ "name": "href",
3330
3195
  "type": {
3331
- "text": "number"
3196
+ "text": "string"
3332
3197
  },
3333
- "description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
3334
- "default": "99",
3335
- "attribute": "max-counter",
3336
- "reflects": true
3198
+ "default": "'#'",
3199
+ "description": "Href for navigation. The URL that the hyperlink points to",
3200
+ "attribute": "href",
3201
+ "reflects": true,
3202
+ "inheritedFrom": {
3203
+ "name": "Linksimple",
3204
+ "module": "components/linksimple/linksimple.component.js"
3205
+ }
3337
3206
  },
3338
3207
  {
3339
3208
  "kind": "field",
3340
- "name": "overlay",
3209
+ "name": "target",
3341
3210
  "type": {
3342
- "text": "boolean"
3211
+ "text": "string"
3343
3212
  },
3344
- "default": "false",
3345
- "description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
3346
- "attribute": "overlay"
3213
+ "default": "'_self'",
3214
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3215
+ "attribute": "target",
3216
+ "reflects": true,
3217
+ "inheritedFrom": {
3218
+ "name": "Linksimple",
3219
+ "module": "components/linksimple/linksimple.component.js"
3220
+ }
3347
3221
  },
3348
3222
  {
3349
3223
  "kind": "field",
3350
- "name": "ariaLabel",
3224
+ "name": "rel",
3351
3225
  "type": {
3352
- "text": "string | null"
3226
+ "text": "string | undefined"
3353
3227
  },
3354
- "default": "null",
3355
- "description": "Aria-label attribute to be set for accessibility",
3356
- "attribute": "aria-label"
3228
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3229
+ "attribute": "rel",
3230
+ "reflects": true,
3231
+ "inheritedFrom": {
3232
+ "name": "Linksimple",
3233
+ "module": "components/linksimple/linksimple.component.js"
3234
+ }
3357
3235
  },
3358
3236
  {
3359
- "kind": "method",
3360
- "name": "getCounterText",
3237
+ "kind": "field",
3238
+ "name": "handleNavigation",
3361
3239
  "privacy": "private",
3362
- "return": {
3363
- "type": {
3364
- "text": ""
3365
- }
3366
- },
3367
- "parameters": [
3368
- {
3369
- "name": "maxCounter",
3370
- "type": {
3371
- "text": "number"
3372
- },
3373
- "description": "the maximum limit which can be displayed on the badge"
3374
- },
3375
- {
3376
- "name": "counter",
3377
- "optional": true,
3378
- "type": {
3379
- "text": "number"
3380
- },
3381
- "description": "the number to be displayed on the badge"
3382
- }
3383
- ],
3384
- "description": "If `type` is set to `counter` and if `counter` is greater than `maxCounter`,\nthen it will return a string the maxCounter value as string.\nOtherwise, it will return a string representation of `counter`.\nIf `counter` is not a number, it will return an empty string."
3240
+ "inheritedFrom": {
3241
+ "name": "Linksimple",
3242
+ "module": "components/linksimple/linksimple.component.js"
3243
+ }
3385
3244
  },
3386
3245
  {
3387
3246
  "kind": "method",
3388
- "name": "getBadgeIcon",
3247
+ "name": "setDisabled",
3389
3248
  "privacy": "private",
3390
- "return": {
3391
- "type": {
3392
- "text": ""
3393
- }
3394
- },
3395
3249
  "parameters": [
3396
3250
  {
3397
- "name": "iconName",
3398
- "type": {
3399
- "text": "string"
3400
- },
3401
- "description": "the name of the icon from the icon set"
3402
- },
3403
- {
3404
- "name": "backgroundClassPostfix",
3251
+ "name": "disabled",
3405
3252
  "type": {
3406
- "text": "string"
3253
+ "text": "boolean"
3407
3254
  },
3408
- "description": "postfix for the class to style the badge icon."
3255
+ "description": "Whether the element should be disabled"
3409
3256
  }
3410
3257
  ],
3411
- "description": "Method to generate the badge icon."
3258
+ "description": "Sets or removes `aria-disabled` and updates `tabIndex` to reflect\nthe disabled state. When disabled, the element becomes unfocusable;\nwhen enabled, the previous `tabIndex` is restored.",
3259
+ "inheritedFrom": {
3260
+ "name": "Linksimple",
3261
+ "module": "components/linksimple/linksimple.component.js"
3262
+ }
3263
+ }
3264
+ ],
3265
+ "events": [
3266
+ {
3267
+ "description": "(React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.",
3268
+ "name": "click",
3269
+ "reactName": "onClick",
3270
+ "inheritedFrom": {
3271
+ "name": "Linksimple",
3272
+ "module": "src/components/linksimple/linksimple.component.ts"
3273
+ }
3412
3274
  },
3413
3275
  {
3414
- "kind": "method",
3415
- "name": "getBadgeDot",
3416
- "privacy": "private",
3417
- "return": {
3418
- "type": {
3419
- "text": ""
3420
- }
3421
- },
3422
- "description": "Method to generate the badge dot template."
3276
+ "description": "(React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.",
3277
+ "name": "keydown",
3278
+ "reactName": "onKeyDown",
3279
+ "inheritedFrom": {
3280
+ "name": "Linksimple",
3281
+ "module": "src/components/linksimple/linksimple.component.ts"
3282
+ }
3423
3283
  },
3424
3284
  {
3425
- "kind": "method",
3426
- "name": "getBadgeCounterText",
3427
- "privacy": "private",
3428
- "return": {
3429
- "type": {
3430
- "text": ""
3431
- }
3285
+ "description": "(React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.",
3286
+ "name": "focus",
3287
+ "reactName": "onFocus",
3288
+ "inheritedFrom": {
3289
+ "name": "Linksimple",
3290
+ "module": "src/components/linksimple/linksimple.component.ts"
3291
+ }
3292
+ },
3293
+ {
3294
+ "description": "(React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.",
3295
+ "name": "blur",
3296
+ "reactName": "onBlur",
3297
+ "inheritedFrom": {
3298
+ "name": "Linksimple",
3299
+ "module": "src/components/linksimple/linksimple.component.ts"
3300
+ }
3301
+ }
3302
+ ],
3303
+ "attributes": [
3304
+ {
3305
+ "name": "size",
3306
+ "type": {
3307
+ "text": "PillButtonSize | IconButtonSize"
3432
3308
  },
3433
- "description": "Method to generate the badge text and counter template."
3309
+ "description": "ButtonLink sizing is based on the buttonlink type.\n - **Pill buttonlink**: 40, 32, 28, 24.\n - **Icon buttonlink**: 64, 52, 40, 32, 28, 24.\n - Tertiary icon buttonlink can also be 20.",
3310
+ "default": "32",
3311
+ "fieldName": "size"
3434
3312
  },
3435
3313
  {
3436
- "kind": "method",
3437
- "name": "setRoleByAriaLabel",
3438
- "privacy": "private",
3439
- "return": {
3440
- "type": {
3441
- "text": "void"
3442
- }
3314
+ "name": "soft-disabled",
3315
+ "type": {
3316
+ "text": "boolean | undefined"
3443
3317
  },
3444
- "description": "Method to set the role based on the aria-label provided.\nIf the aria-label is provided, the role of the element will be 'img'.\nOtherwise, the role will be null."
3318
+ "description": "Indicates whether the buttonlink is soft disabled.\nWhen set to `true`, the buttonlink appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe buttonlink behaves like a disabled buttonlink, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
3319
+ "default": "undefined",
3320
+ "fieldName": "softDisabled"
3445
3321
  },
3446
3322
  {
3447
- "kind": "method",
3448
- "name": "getBadgeContentBasedOnType",
3449
- "privacy": "private",
3450
- "return": {
3451
- "type": {
3452
- "text": ""
3453
- }
3323
+ "name": "prefix-icon",
3324
+ "type": {
3325
+ "text": "IconNames | undefined"
3454
3326
  },
3455
- "description": "Generates the badge content based on the badge type.\nUtilizes various helper methods to create the appropriate badge template based on the\ncurrent badge type. Supports 'dot', 'icon', 'counter', 'success', 'warning', and 'error'\ntypes, returning the corresponding template result for each type."
3327
+ "description": "The name of the icon to display as a prefix.\nThe icon is displayed on the left side of the button.",
3328
+ "fieldName": "prefixIcon",
3329
+ "inheritedFrom": {
3330
+ "name": "ButtonComponentMixin",
3331
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3332
+ }
3456
3333
  },
3457
3334
  {
3458
- "kind": "field",
3459
- "name": "iconName",
3335
+ "name": "postfix-icon",
3460
3336
  "type": {
3461
3337
  "text": "IconNames | undefined"
3462
3338
  },
3463
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3464
- "attribute": "icon-name",
3339
+ "description": "The name of the icon to display as a postfix.\nThe icon is displayed on the right side of the button.",
3340
+ "fieldName": "postfixIcon",
3465
3341
  "inheritedFrom": {
3466
- "name": "IconNameMixin",
3467
- "module": "utils/mixins/IconNameMixin.js"
3342
+ "name": "ButtonComponentMixin",
3343
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3468
3344
  }
3469
- }
3470
- ],
3471
- "attributes": [
3345
+ },
3472
3346
  {
3473
- "name": "type",
3347
+ "name": "variant",
3474
3348
  "type": {
3475
- "text": "BadgeType | undefined"
3349
+ "text": "ButtonVariant"
3476
3350
  },
3477
- "description": "Type of the badge\nCan be `dot` (notification) , `icon`, `counter`, `success`, `warning` or `error`.",
3478
- "fieldName": "type"
3351
+ "description": "There are 3 variants of button: primary, secondary, tertiary. They are styled differently.\n- **Primary**: Solid background color.\n- **Secondary**: Transparent background with a solid border.\n- **Tertiary**: No background or border, appears as plain text but retains all button functionalities.",
3352
+ "default": "primary",
3353
+ "fieldName": "variant",
3354
+ "inheritedFrom": {
3355
+ "name": "ButtonComponentMixin",
3356
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3357
+ }
3479
3358
  },
3480
3359
  {
3481
- "name": "variant",
3360
+ "name": "color",
3482
3361
  "type": {
3483
- "text": "IconVariant"
3362
+ "text": "ButtonColor"
3484
3363
  },
3485
- "description": "Type of the variant can be `primary` or `secondary`.\nIt defines the background and foreground color of the icon.",
3486
- "default": "primary",
3487
- "fieldName": "variant"
3364
+ "description": "There are 5 colors for button: positive, negative, accent, promotional, default.",
3365
+ "default": "default",
3366
+ "fieldName": "color",
3367
+ "inheritedFrom": {
3368
+ "name": "ButtonComponentMixin",
3369
+ "module": "src/utils/mixins/ButtonComponentMixin.ts"
3370
+ }
3488
3371
  },
3489
3372
  {
3490
- "name": "counter",
3373
+ "name": "disabled",
3491
3374
  "type": {
3492
- "text": "number | undefined"
3375
+ "text": "boolean | undefined"
3493
3376
  },
3494
- "description": "Counter is the number which can be provided in the badge.",
3495
- "fieldName": "counter"
3377
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
3378
+ "default": "undefined",
3379
+ "fieldName": "disabled",
3380
+ "inheritedFrom": {
3381
+ "name": "DisabledMixin",
3382
+ "module": "src/utils/mixins/DisabledMixin.ts"
3383
+ }
3496
3384
  },
3497
3385
  {
3498
- "name": "max-counter",
3386
+ "name": "tabIndex",
3499
3387
  "type": {
3500
3388
  "text": "number"
3501
3389
  },
3502
- "description": "The maximum number can be set up to 999, anything above that will be rendered as _999+_.\nThe max counter can be `9`, `99` or `999`.",
3503
- "default": "99",
3504
- "fieldName": "maxCounter"
3390
+ "default": "0",
3391
+ "description": "This property specifies the tab order of the element.",
3392
+ "fieldName": "tabIndex",
3393
+ "inheritedFrom": {
3394
+ "name": "TabIndexMixin",
3395
+ "module": "src/utils/mixins/TabIndexMixin.ts"
3396
+ }
3505
3397
  },
3506
3398
  {
3507
- "name": "overlay",
3399
+ "name": "inline",
3508
3400
  "type": {
3509
3401
  "text": "boolean"
3510
3402
  },
3403
+ "description": "The link can be inline or standalone.",
3511
3404
  "default": "false",
3512
- "description": "Overlay is to add a thin outline to the badge.\nThis will help distinguish between the badge and the button,\nwhere the badge will be layered on top of a button.",
3513
- "fieldName": "overlay"
3405
+ "fieldName": "inline",
3406
+ "inheritedFrom": {
3407
+ "name": "Linksimple",
3408
+ "module": "src/components/linksimple/linksimple.component.ts"
3409
+ }
3514
3410
  },
3515
3411
  {
3516
- "name": "aria-label",
3412
+ "name": "inverted",
3517
3413
  "type": {
3518
- "text": "string | null"
3414
+ "text": "boolean"
3519
3415
  },
3520
- "default": "null",
3521
- "description": "Aria-label attribute to be set for accessibility",
3522
- "fieldName": "ariaLabel"
3416
+ "description": "The link color can be inverted by setting the inverted attribute to true.",
3417
+ "default": "false",
3418
+ "fieldName": "inverted",
3419
+ "inheritedFrom": {
3420
+ "name": "Linksimple",
3421
+ "module": "src/components/linksimple/linksimple.component.ts"
3422
+ }
3523
3423
  },
3524
3424
  {
3525
- "name": "icon-name",
3425
+ "name": "href",
3526
3426
  "type": {
3527
- "text": "IconNames | undefined"
3427
+ "text": "string"
3528
3428
  },
3529
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
3530
- "fieldName": "iconName",
3429
+ "default": "'#'",
3430
+ "description": "Href for navigation. The URL that the hyperlink points to",
3431
+ "fieldName": "href",
3531
3432
  "inheritedFrom": {
3532
- "name": "IconNameMixin",
3533
- "module": "src/utils/mixins/IconNameMixin.ts"
3433
+ "name": "Linksimple",
3434
+ "module": "src/components/linksimple/linksimple.component.ts"
3435
+ }
3436
+ },
3437
+ {
3438
+ "name": "target",
3439
+ "type": {
3440
+ "text": "string"
3441
+ },
3442
+ "default": "'_self'",
3443
+ "description": "Optional target: _blank, _self, _parent, _top and _unfencedTop",
3444
+ "fieldName": "target",
3445
+ "inheritedFrom": {
3446
+ "name": "Linksimple",
3447
+ "module": "src/components/linksimple/linksimple.component.ts"
3448
+ }
3449
+ },
3450
+ {
3451
+ "name": "rel",
3452
+ "type": {
3453
+ "text": "string | undefined"
3454
+ },
3455
+ "description": "Optional rel attribute that defines the relationship of the linked URL as space-separated link types.",
3456
+ "fieldName": "rel",
3457
+ "inheritedFrom": {
3458
+ "name": "Linksimple",
3459
+ "module": "src/components/linksimple/linksimple.component.ts"
3534
3460
  }
3535
3461
  }
3536
3462
  ],
3537
3463
  "mixins": [
3538
3464
  {
3539
- "name": "IconNameMixin",
3540
- "module": "/src/utils/mixins/IconNameMixin"
3465
+ "name": "ButtonComponentMixin",
3466
+ "module": "/src/utils/mixins/ButtonComponentMixin"
3541
3467
  }
3542
3468
  ],
3543
3469
  "superclass": {
3544
- "name": "Component",
3545
- "module": "/src/models"
3470
+ "name": "Linksimple",
3471
+ "module": "/src/components/linksimple/linksimple.component"
3546
3472
  },
3547
- "tagName": "mdc-badge",
3548
- "jsDoc": "/**\n * The `mdc-badge` component is a versatile UI element used to\n * display dot, icons, counters, success, warning and error type badge.\n *\n * Supported badge types:\n * - `dot`: Displays a dot notification badge with a blue color.\n * - `icon`: Displays a badge with a specified icon using the `icon-name` attribute.\n * - `counter`: Displays a badge with a counter value. If the counter exceeds the `max-counter`,\n * it shows `maxCounter+`. The maximum value of the counter is 999 and anything above that will be set to `999+`.\n * - `success`: Displays a success badge with a check circle icon and green color.\n * - `warning`: Displays a warning badge with a warning icon and yellow color.\n * - `error`: Displays a error badge with a error legacy icon and red color.\n *\n * For `icon`, `success`, `warning` and `error` types, the `mdc-icon` component is used to render the icon.\n *\n * For the `counter` type, the `mdc-text` component is used to render the counter value.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @tagname mdc-badge\n *\n * @cssproperty --mdc-badge-primary-foreground-color - The foreground color of the primary badge.\n * @cssproperty --mdc-badge-primary-background-color - The background color of the primary badge.\n * @cssproperty --mdc-badge-secondary-foreground-color - The foreground color of the secondary badge.\n * @cssproperty --mdc-badge-secondary-background-color - The background color of the secondary badge.\n * @cssproperty --mdc-badge-success-foreground-color - The foreground color of the success badge.\n * @cssproperty --mdc-badge-success-background-color - The background color of the success badge.\n * @cssproperty --mdc-badge-warning-foreground-color - The foreground color of the warning badge.\n * @cssproperty --mdc-badge-warning-background-color - The background color of the warning badge.\n * @cssproperty --mdc-badge-error-foreground-color - The foreground color of the error badge.\n * @cssproperty --mdc-badge-error-background-color - The background color of the error badge.\n * @cssproperty --mdc-badge-overlay-background-color - The background color of the badge overlay.\n */",
3549
- "customElement": true
3473
+ "tagName": "mdc-buttonlink",
3474
+ "jsDoc": "/**\n * `mdc-buttonlink` combines the functional behavior of `mdc-linksimple` with the visual and structural\n * features of `mdc-button`. This includes support for variants, sizing, and optional\n * prefix and postfix icons via slots.\n *\n * ### Features:\n * - Behaves like an link while visually resembling a button.\n * - Supports slots for `prefix-icon` and `postfix-icon`.\n * - Customizable size, color, and variant through attributes.\n * - Inherits accessibility and keyboard interaction support from `mdc-linksimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-buttonlink\n *\n * @event click - (React: onClick) Fired when the user activates the buttonLink using a mouse or assistive technology.\n * @event keydown - (React: onKeyDown) Fired when the user presses a key while the buttonLink has focus.\n * @event focus - (React: onFocus) Fired when the buttonLink receives keyboard or mouse focus.\n * @event blur - (React: onBlur) Fired when the buttonLink loses keyboard or mouse focus.\n *\n */",
3475
+ "customElement": true,
3476
+ "cssProperties": [
3477
+ {
3478
+ "description": "Border radius of the link.",
3479
+ "name": "--mdc-link-border-radius",
3480
+ "inheritedFrom": {
3481
+ "name": "Linksimple",
3482
+ "module": "src/components/linksimple/linksimple.component.ts"
3483
+ }
3484
+ },
3485
+ {
3486
+ "description": "Color of the link’s child content in the active state.",
3487
+ "name": "--mdc-link-color-active",
3488
+ "inheritedFrom": {
3489
+ "name": "Linksimple",
3490
+ "module": "src/components/linksimple/linksimple.component.ts"
3491
+ }
3492
+ },
3493
+ {
3494
+ "description": "Color of the link’s child content in the disabled state.",
3495
+ "name": "--mdc-link-color-disabled",
3496
+ "inheritedFrom": {
3497
+ "name": "Linksimple",
3498
+ "module": "src/components/linksimple/linksimple.component.ts"
3499
+ }
3500
+ },
3501
+ {
3502
+ "description": "Color of the link’s child content in the hover state.",
3503
+ "name": "--mdc-link-color-hover",
3504
+ "inheritedFrom": {
3505
+ "name": "Linksimple",
3506
+ "module": "src/components/linksimple/linksimple.component.ts"
3507
+ }
3508
+ },
3509
+ {
3510
+ "description": "Color of the link’s child content in the normal state.",
3511
+ "name": "--mdc-link-color-normal",
3512
+ "inheritedFrom": {
3513
+ "name": "Linksimple",
3514
+ "module": "src/components/linksimple/linksimple.component.ts"
3515
+ }
3516
+ },
3517
+ {
3518
+ "description": "Color of the inverted link’s child content in the active state.",
3519
+ "name": "--mdc-link-inverted-color-active",
3520
+ "inheritedFrom": {
3521
+ "name": "Linksimple",
3522
+ "module": "src/components/linksimple/linksimple.component.ts"
3523
+ }
3524
+ },
3525
+ {
3526
+ "description": "Color of the inverted link’s child content in the disabled state.",
3527
+ "name": "--mdc-link-inverted-color-disabled",
3528
+ "inheritedFrom": {
3529
+ "name": "Linksimple",
3530
+ "module": "src/components/linksimple/linksimple.component.ts"
3531
+ }
3532
+ },
3533
+ {
3534
+ "description": "Color of the inverted link’s child content in the hover state.",
3535
+ "name": "--mdc-link-inverted-color-hover",
3536
+ "inheritedFrom": {
3537
+ "name": "Linksimple",
3538
+ "module": "src/components/linksimple/linksimple.component.ts"
3539
+ }
3540
+ },
3541
+ {
3542
+ "description": "Color of the inverted link’s child content in the normal state.",
3543
+ "name": "--mdc-link-inverted-color-normal",
3544
+ "inheritedFrom": {
3545
+ "name": "Linksimple",
3546
+ "module": "src/components/linksimple/linksimple.component.ts"
3547
+ }
3548
+ }
3549
+ ]
3550
3550
  }
3551
3551
  ],
3552
3552
  "exports": [
@@ -3554,8 +3554,8 @@
3554
3554
  "kind": "js",
3555
3555
  "name": "default",
3556
3556
  "declaration": {
3557
- "name": "Badge",
3558
- "module": "components/badge/badge.component.js"
3557
+ "name": "ButtonLink",
3558
+ "module": "components/buttonlink/buttonlink.component.js"
3559
3559
  }
3560
3560
  }
3561
3561
  ]
@@ -6937,7 +6937,7 @@
6937
6937
  "type": {
6938
6938
  "text": "ColorType"
6939
6939
  },
6940
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- pink\n- purple\n- slate\n- violet",
6940
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
6941
6941
  "default": "default",
6942
6942
  "attribute": "color",
6943
6943
  "reflects": true
@@ -7246,7 +7246,7 @@
7246
7246
  "type": {
7247
7247
  "text": "ColorType"
7248
7248
  },
7249
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- pink\n- purple\n- slate\n- violet",
7249
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
7250
7250
  "default": "default",
7251
7251
  "fieldName": "color"
7252
7252
  },
@@ -10290,7 +10290,7 @@
10290
10290
  "type": {
10291
10291
  "text": "ColorType"
10292
10292
  },
10293
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- pink\n- purple\n- slate\n- violet",
10293
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
10294
10294
  "default": "default",
10295
10295
  "attribute": "color",
10296
10296
  "reflects": true,
@@ -10610,7 +10610,7 @@
10610
10610
  "type": {
10611
10611
  "text": "ColorType"
10612
10612
  },
10613
- "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- pink\n- purple\n- slate\n- violet",
10613
+ "description": "The color of the chip. It supports the following colors\n- default\n- cobalt\n- gold\n- lime\n- mint\n- orange\n- pink\n- purple\n- slate\n- violet",
10614
10614
  "default": "default",
10615
10615
  "fieldName": "color",
10616
10616
  "inheritedFrom": {