@momentum-design/components 0.106.1 → 0.106.3

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.
@@ -1554,6 +1554,67 @@
1554
1554
  }
1555
1555
  ]
1556
1556
  },
1557
+ {
1558
+ "kind": "javascript-module",
1559
+ "path": "components/appheader/appheader.component.js",
1560
+ "declarations": [
1561
+ {
1562
+ "kind": "class",
1563
+ "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
1564
+ "name": "Appheader",
1565
+ "cssParts": [
1566
+ {
1567
+ "description": "The main container for styling the header.",
1568
+ "name": "container"
1569
+ },
1570
+ {
1571
+ "description": "The leading section of the header.",
1572
+ "name": "leading-section"
1573
+ },
1574
+ {
1575
+ "description": "The center section of the header.",
1576
+ "name": "center-section"
1577
+ },
1578
+ {
1579
+ "description": "The trailing section of the header.",
1580
+ "name": "trailing-section"
1581
+ }
1582
+ ],
1583
+ "slots": [
1584
+ {
1585
+ "description": "Slot for the leading section (e.g., brand logo, brand name).",
1586
+ "name": "leading"
1587
+ },
1588
+ {
1589
+ "description": "Slot for the center section (e.g., search bar, icons).",
1590
+ "name": "center"
1591
+ },
1592
+ {
1593
+ "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1594
+ "name": "trailing"
1595
+ }
1596
+ ],
1597
+ "members": [],
1598
+ "superclass": {
1599
+ "name": "Component",
1600
+ "module": "/src/models"
1601
+ },
1602
+ "tagName": "mdc-appheader",
1603
+ "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
1604
+ "customElement": true
1605
+ }
1606
+ ],
1607
+ "exports": [
1608
+ {
1609
+ "kind": "js",
1610
+ "name": "default",
1611
+ "declaration": {
1612
+ "name": "Appheader",
1613
+ "module": "components/appheader/appheader.component.js"
1614
+ }
1615
+ }
1616
+ ]
1617
+ },
1557
1618
  {
1558
1619
  "kind": "javascript-module",
1559
1620
  "path": "components/animation/animation.component.js",
@@ -1766,67 +1827,6 @@
1766
1827
  }
1767
1828
  ]
1768
1829
  },
1769
- {
1770
- "kind": "javascript-module",
1771
- "path": "components/appheader/appheader.component.js",
1772
- "declarations": [
1773
- {
1774
- "kind": "class",
1775
- "description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
1776
- "name": "Appheader",
1777
- "cssParts": [
1778
- {
1779
- "description": "The main container for styling the header.",
1780
- "name": "container"
1781
- },
1782
- {
1783
- "description": "The leading section of the header.",
1784
- "name": "leading-section"
1785
- },
1786
- {
1787
- "description": "The center section of the header.",
1788
- "name": "center-section"
1789
- },
1790
- {
1791
- "description": "The trailing section of the header.",
1792
- "name": "trailing-section"
1793
- }
1794
- ],
1795
- "slots": [
1796
- {
1797
- "description": "Slot for the leading section (e.g., brand logo, brand name).",
1798
- "name": "leading"
1799
- },
1800
- {
1801
- "description": "Slot for the center section (e.g., search bar, icons).",
1802
- "name": "center"
1803
- },
1804
- {
1805
- "description": "Slot for the trailing section (e.g., profile avatar, icons).",
1806
- "name": "trailing"
1807
- }
1808
- ],
1809
- "members": [],
1810
- "superclass": {
1811
- "name": "Component",
1812
- "module": "/src/models"
1813
- },
1814
- "tagName": "mdc-appheader",
1815
- "jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
1816
- "customElement": true
1817
- }
1818
- ],
1819
- "exports": [
1820
- {
1821
- "kind": "js",
1822
- "name": "default",
1823
- "declaration": {
1824
- "name": "Appheader",
1825
- "module": "components/appheader/appheader.component.js"
1826
- }
1827
- }
1828
- ]
1829
- },
1830
1830
  {
1831
1831
  "kind": "javascript-module",
1832
1832
  "path": "components/avatar/avatar.component.js",
@@ -4873,235 +4873,657 @@
4873
4873
  },
4874
4874
  {
4875
4875
  "kind": "javascript-module",
4876
- "path": "components/card/card.component.js",
4876
+ "path": "components/buttonsimple/buttonsimple.component.js",
4877
4877
  "declarations": [
4878
4878
  {
4879
4879
  "kind": "class",
4880
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
4881
- "name": "Card",
4882
- "cssProperties": [
4883
- {
4884
- "description": "The width of the card",
4885
- "name": "--mdc-card-width"
4886
- }
4887
- ],
4888
- "cssParts": [
4880
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
4881
+ "name": "Buttonsimple",
4882
+ "members": [
4889
4883
  {
4890
- "description": "The header part of the card",
4891
- "name": "header"
4884
+ "kind": "field",
4885
+ "name": "active",
4886
+ "type": {
4887
+ "text": "boolean | undefined"
4888
+ },
4889
+ "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.",
4890
+ "default": "undefined",
4891
+ "attribute": "active",
4892
+ "reflects": true
4892
4893
  },
4893
4894
  {
4894
- "description": "The icon part of the card header",
4895
- "name": "icon"
4895
+ "kind": "field",
4896
+ "name": "softDisabled",
4897
+ "type": {
4898
+ "text": "boolean | undefined"
4899
+ },
4900
+ "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.",
4901
+ "default": "undefined",
4902
+ "attribute": "soft-disabled",
4903
+ "reflects": true
4896
4904
  },
4897
4905
  {
4898
- "description": "The body part of the card",
4899
- "name": "body"
4906
+ "kind": "field",
4907
+ "name": "size",
4908
+ "type": {
4909
+ "text": "ButtonSize"
4910
+ },
4911
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4912
+ "default": "32",
4913
+ "attribute": "size",
4914
+ "reflects": true
4900
4915
  },
4901
4916
  {
4902
- "description": "The image part of the card",
4903
- "name": "image"
4917
+ "kind": "field",
4918
+ "name": "role",
4919
+ "type": {
4920
+ "text": "RoleType"
4921
+ },
4922
+ "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.",
4923
+ "default": "button",
4924
+ "attribute": "role",
4925
+ "reflects": true
4904
4926
  },
4905
4927
  {
4906
- "description": "The footer part of the card",
4907
- "name": "footer"
4928
+ "kind": "field",
4929
+ "name": "ariaStateKey",
4930
+ "type": {
4931
+ "text": "string | undefined"
4932
+ },
4933
+ "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`",
4934
+ "default": "'aria-pressed' (when)",
4935
+ "attribute": "ariaStateKey",
4936
+ "reflects": true
4908
4937
  },
4909
4938
  {
4910
- "description": "The link part of the card footer",
4911
- "name": "footer-link"
4939
+ "kind": "field",
4940
+ "name": "type",
4941
+ "type": {
4942
+ "text": "ButtonType"
4943
+ },
4944
+ "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.",
4945
+ "default": "button",
4946
+ "attribute": "type",
4947
+ "reflects": true
4912
4948
  },
4913
4949
  {
4914
- "description": "The primary button part of the card footer",
4915
- "name": "footer-button-primary"
4950
+ "kind": "field",
4951
+ "name": "name",
4952
+ "type": {
4953
+ "text": "string | undefined"
4954
+ },
4955
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
4956
+ "attribute": "name",
4957
+ "reflects": true
4916
4958
  },
4917
4959
  {
4918
- "description": "The secondary button part of the card footer",
4919
- "name": "footer-button-secondary"
4960
+ "kind": "field",
4961
+ "name": "value",
4962
+ "type": {
4963
+ "text": "string | undefined"
4964
+ },
4965
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
4966
+ "attribute": "value",
4967
+ "reflects": true
4920
4968
  },
4921
4969
  {
4922
- "description": "The icon button part of the card header",
4923
- "name": "icon-button"
4970
+ "kind": "method",
4971
+ "name": "executeAction",
4972
+ "privacy": "protected"
4924
4973
  },
4925
4974
  {
4926
- "description": "The text part of the card",
4927
- "name": "text"
4928
- }
4929
- ],
4930
- "slots": [
4931
- {
4932
- "description": "This slot is for passing the content before the body",
4933
- "name": "before-body"
4975
+ "kind": "method",
4976
+ "name": "setActive",
4977
+ "privacy": "protected",
4978
+ "parameters": [
4979
+ {
4980
+ "name": "element",
4981
+ "type": {
4982
+ "text": "HTMLElement"
4983
+ },
4984
+ "description": "The button element"
4985
+ },
4986
+ {
4987
+ "name": "active",
4988
+ "optional": true,
4989
+ "type": {
4990
+ "text": "boolean"
4991
+ },
4992
+ "description": "The active state of the element"
4993
+ }
4994
+ ],
4995
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
4934
4996
  },
4935
4997
  {
4936
- "description": "This slot is for passing the text content for the card",
4937
- "name": "body"
4998
+ "kind": "method",
4999
+ "name": "setSoftDisabled",
5000
+ "privacy": "private",
5001
+ "parameters": [
5002
+ {
5003
+ "name": "element",
5004
+ "type": {
5005
+ "text": "HTMLElement"
5006
+ },
5007
+ "description": "The button element."
5008
+ },
5009
+ {
5010
+ "name": "softDisabled",
5011
+ "optional": true,
5012
+ "type": {
5013
+ "text": "boolean"
5014
+ },
5015
+ "description": "The soft-disabled state."
5016
+ }
5017
+ ],
5018
+ "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."
4938
5019
  },
4939
5020
  {
4940
- "description": "This slot is for passing the content after the body",
4941
- "name": "after-body"
5021
+ "kind": "method",
5022
+ "name": "setDisabled",
5023
+ "privacy": "private",
5024
+ "parameters": [
5025
+ {
5026
+ "name": "element",
5027
+ "type": {
5028
+ "text": "HTMLElement"
5029
+ },
5030
+ "description": "The button element."
5031
+ },
5032
+ {
5033
+ "name": "disabled",
5034
+ "type": {
5035
+ "text": "boolean"
5036
+ },
5037
+ "description": "The disabled state."
5038
+ }
5039
+ ],
5040
+ "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."
4942
5041
  },
4943
5042
  {
4944
- "description": "This slot is for passing `mdc-link` component within the footer section.",
4945
- "name": "footer-link"
5043
+ "kind": "method",
5044
+ "name": "triggerClickEvent",
5045
+ "privacy": "private"
4946
5046
  },
4947
5047
  {
4948
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4949
- "name": "footer-button-primary"
5048
+ "kind": "method",
5049
+ "name": "handleBlur",
5050
+ "privacy": "private",
5051
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4950
5052
  },
4951
5053
  {
4952
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
4953
- "name": "footer-button-secondary"
5054
+ "kind": "method",
5055
+ "name": "handleKeyDown",
5056
+ "privacy": "private",
5057
+ "parameters": [
5058
+ {
5059
+ "name": "event",
5060
+ "type": {
5061
+ "text": "KeyboardEvent"
5062
+ },
5063
+ "description": "The keyboard event."
5064
+ }
5065
+ ],
5066
+ "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."
4954
5067
  },
4955
- {
4956
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
4957
- "name": "footer"
4958
- }
4959
- ],
4960
- "members": [
4961
5068
  {
4962
5069
  "kind": "method",
4963
- "name": "renderHeader",
4964
- "privacy": "protected",
4965
- "description": "Renders the header of the card if title is provided",
4966
- "return": {
4967
- "type": {
4968
- "text": ""
5070
+ "name": "handleKeyUp",
5071
+ "privacy": "private",
5072
+ "parameters": [
5073
+ {
5074
+ "name": "event",
5075
+ "type": {
5076
+ "text": "KeyboardEvent"
5077
+ },
5078
+ "description": "The keyboard event."
4969
5079
  }
4970
- }
5080
+ ],
5081
+ "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."
4971
5082
  },
4972
5083
  {
4973
5084
  "kind": "field",
4974
- "name": "cardTitle",
5085
+ "name": "autoFocusOnMount",
4975
5086
  "type": {
4976
- "text": "string"
5087
+ "text": "boolean"
4977
5088
  },
4978
- "default": "''",
4979
- "description": "The title of the card - part of header section",
4980
- "attribute": "card-title",
5089
+ "default": "false",
5090
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
5091
+ "attribute": "auto-focus-on-mount",
4981
5092
  "reflects": true,
4982
5093
  "inheritedFrom": {
4983
- "name": "CardComponentMixin",
4984
- "module": "utils/mixins/CardComponentMixin.js"
5094
+ "name": "AutoFocusOnMountMixin",
5095
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
4985
5096
  }
4986
5097
  },
4987
5098
  {
4988
5099
  "kind": "field",
4989
- "name": "subtitle",
5100
+ "name": "tabIndex",
4990
5101
  "type": {
4991
- "text": "string"
5102
+ "text": "number"
4992
5103
  },
4993
- "default": "''",
4994
- "description": "The subtitle of the card - part of header section",
4995
- "attribute": "subtitle",
5104
+ "default": "0",
5105
+ "description": "This property specifies the tab order of the element.",
5106
+ "attribute": "tabIndex",
4996
5107
  "reflects": true,
4997
5108
  "inheritedFrom": {
4998
- "name": "CardComponentMixin",
4999
- "module": "utils/mixins/CardComponentMixin.js"
5109
+ "name": "TabIndexMixin",
5110
+ "module": "utils/mixins/TabIndexMixin.js"
5000
5111
  }
5001
5112
  },
5002
5113
  {
5003
5114
  "kind": "field",
5004
- "name": "imageSrc",
5115
+ "name": "disabled",
5005
5116
  "type": {
5006
- "text": "string"
5117
+ "text": "boolean | undefined"
5007
5118
  },
5008
- "default": "''",
5009
- "description": "The image source URL to render on the card",
5010
- "attribute": "image-src",
5119
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5120
+ "default": "undefined",
5121
+ "attribute": "disabled",
5011
5122
  "reflects": true,
5012
5123
  "inheritedFrom": {
5013
- "name": "CardComponentMixin",
5014
- "module": "utils/mixins/CardComponentMixin.js"
5124
+ "name": "DisabledMixin",
5125
+ "module": "utils/mixins/DisabledMixin.js"
5015
5126
  }
5127
+ }
5128
+ ],
5129
+ "events": [
5130
+ {
5131
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
5132
+ "name": "click",
5133
+ "reactName": "onClick"
5016
5134
  },
5017
5135
  {
5018
- "kind": "field",
5019
- "name": "imageAlt",
5136
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
5137
+ "name": "keydown",
5138
+ "reactName": "onKeyDown"
5139
+ },
5140
+ {
5141
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
5142
+ "name": "keyup",
5143
+ "reactName": "onKeyUp"
5144
+ },
5145
+ {
5146
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
5147
+ "name": "focus",
5148
+ "reactName": "onFocus"
5149
+ }
5150
+ ],
5151
+ "attributes": [
5152
+ {
5153
+ "name": "active",
5020
5154
  "type": {
5021
- "text": "string"
5155
+ "text": "boolean | undefined"
5022
5156
  },
5023
- "default": "''",
5024
- "description": "The image alt for accessibility support",
5025
- "attribute": "image-alt",
5026
- "reflects": true,
5027
- "inheritedFrom": {
5028
- "name": "CardComponentMixin",
5029
- "module": "utils/mixins/CardComponentMixin.js"
5030
- }
5157
+ "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.",
5158
+ "default": "undefined",
5159
+ "fieldName": "active"
5031
5160
  },
5032
5161
  {
5033
- "kind": "field",
5034
- "name": "variant",
5162
+ "name": "soft-disabled",
5035
5163
  "type": {
5036
- "text": "CardVariant"
5164
+ "text": "boolean | undefined"
5037
5165
  },
5038
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5039
- "default": "'border'",
5040
- "attribute": "variant",
5041
- "reflects": true,
5042
- "inheritedFrom": {
5043
- "name": "CardComponentMixin",
5044
- "module": "utils/mixins/CardComponentMixin.js"
5045
- }
5166
+ "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.",
5167
+ "default": "undefined",
5168
+ "fieldName": "softDisabled"
5046
5169
  },
5047
5170
  {
5048
- "kind": "field",
5049
- "name": "orientation",
5171
+ "name": "size",
5050
5172
  "type": {
5051
- "text": "CardOrientation"
5173
+ "text": "ButtonSize"
5052
5174
  },
5053
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5054
- "default": "'vertical'",
5055
- "attribute": "orientation",
5056
- "reflects": true,
5057
- "inheritedFrom": {
5058
- "name": "CardComponentMixin",
5059
- "module": "utils/mixins/CardComponentMixin.js"
5060
- }
5175
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5176
+ "default": "32",
5177
+ "fieldName": "size"
5061
5178
  },
5062
5179
  {
5063
- "kind": "field",
5064
- "name": "titleTagName",
5180
+ "name": "role",
5065
5181
  "type": {
5066
- "text": "TagNameType"
5182
+ "text": "RoleType"
5067
5183
  },
5068
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5069
- "default": "'span'",
5070
- "attribute": "title-tag-name",
5071
- "reflects": true,
5072
- "inheritedFrom": {
5073
- "name": "CardComponentMixin",
5074
- "module": "utils/mixins/CardComponentMixin.js"
5075
- }
5184
+ "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.",
5185
+ "default": "button",
5186
+ "fieldName": "role"
5076
5187
  },
5077
5188
  {
5078
- "kind": "field",
5079
- "name": "subtitleTagName",
5189
+ "name": "ariaStateKey",
5080
5190
  "type": {
5081
- "text": "TagNameType"
5191
+ "text": "string | undefined"
5082
5192
  },
5083
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5084
- "default": "'span'",
5085
- "attribute": "subtitle-tag-name",
5086
- "reflects": true,
5087
- "inheritedFrom": {
5088
- "name": "CardComponentMixin",
5089
- "module": "utils/mixins/CardComponentMixin.js"
5090
- }
5193
+ "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`",
5194
+ "default": "'aria-pressed' (when)",
5195
+ "fieldName": "ariaStateKey"
5091
5196
  },
5092
5197
  {
5093
- "kind": "field",
5094
- "name": "iconName",
5198
+ "name": "type",
5095
5199
  "type": {
5096
- "text": "IconNames | undefined"
5200
+ "text": "ButtonType"
5097
5201
  },
5098
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5099
- "attribute": "icon-name",
5100
- "reflects": true,
5101
- "inheritedFrom": {
5102
- "name": "CardComponentMixin",
5103
- "module": "utils/mixins/CardComponentMixin.js"
5104
- }
5202
+ "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.",
5203
+ "default": "button",
5204
+ "fieldName": "type"
5205
+ },
5206
+ {
5207
+ "name": "name",
5208
+ "type": {
5209
+ "text": "string | undefined"
5210
+ },
5211
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
5212
+ "fieldName": "name"
5213
+ },
5214
+ {
5215
+ "name": "value",
5216
+ "type": {
5217
+ "text": "string | undefined"
5218
+ },
5219
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
5220
+ "fieldName": "value"
5221
+ },
5222
+ {
5223
+ "name": "auto-focus-on-mount",
5224
+ "type": {
5225
+ "text": "boolean"
5226
+ },
5227
+ "default": "false",
5228
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
5229
+ "fieldName": "autoFocusOnMount",
5230
+ "inheritedFrom": {
5231
+ "name": "AutoFocusOnMountMixin",
5232
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
5233
+ }
5234
+ },
5235
+ {
5236
+ "name": "tabIndex",
5237
+ "type": {
5238
+ "text": "number"
5239
+ },
5240
+ "default": "0",
5241
+ "description": "This property specifies the tab order of the element.",
5242
+ "fieldName": "tabIndex",
5243
+ "inheritedFrom": {
5244
+ "name": "TabIndexMixin",
5245
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5246
+ }
5247
+ },
5248
+ {
5249
+ "name": "disabled",
5250
+ "type": {
5251
+ "text": "boolean | undefined"
5252
+ },
5253
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5254
+ "default": "undefined",
5255
+ "fieldName": "disabled",
5256
+ "inheritedFrom": {
5257
+ "name": "DisabledMixin",
5258
+ "module": "src/utils/mixins/DisabledMixin.ts"
5259
+ }
5260
+ }
5261
+ ],
5262
+ "mixins": [
5263
+ {
5264
+ "name": "AutoFocusOnMountMixin",
5265
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
5266
+ },
5267
+ {
5268
+ "name": "TabIndexMixin",
5269
+ "module": "/src/utils/mixins/TabIndexMixin"
5270
+ },
5271
+ {
5272
+ "name": "DisabledMixin",
5273
+ "module": "/src/utils/mixins/DisabledMixin"
5274
+ }
5275
+ ],
5276
+ "superclass": {
5277
+ "name": "Component",
5278
+ "module": "/src/models"
5279
+ },
5280
+ "tagName": "mdc-buttonsimple",
5281
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
5282
+ "customElement": true
5283
+ }
5284
+ ],
5285
+ "exports": [
5286
+ {
5287
+ "kind": "js",
5288
+ "name": "default",
5289
+ "declaration": {
5290
+ "name": "Buttonsimple",
5291
+ "module": "components/buttonsimple/buttonsimple.component.js"
5292
+ }
5293
+ }
5294
+ ]
5295
+ },
5296
+ {
5297
+ "kind": "javascript-module",
5298
+ "path": "components/card/card.component.js",
5299
+ "declarations": [
5300
+ {
5301
+ "kind": "class",
5302
+ "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
5303
+ "name": "Card",
5304
+ "cssProperties": [
5305
+ {
5306
+ "description": "The width of the card",
5307
+ "name": "--mdc-card-width"
5308
+ }
5309
+ ],
5310
+ "cssParts": [
5311
+ {
5312
+ "description": "The header part of the card",
5313
+ "name": "header"
5314
+ },
5315
+ {
5316
+ "description": "The icon part of the card header",
5317
+ "name": "icon"
5318
+ },
5319
+ {
5320
+ "description": "The body part of the card",
5321
+ "name": "body"
5322
+ },
5323
+ {
5324
+ "description": "The image part of the card",
5325
+ "name": "image"
5326
+ },
5327
+ {
5328
+ "description": "The footer part of the card",
5329
+ "name": "footer"
5330
+ },
5331
+ {
5332
+ "description": "The link part of the card footer",
5333
+ "name": "footer-link"
5334
+ },
5335
+ {
5336
+ "description": "The primary button part of the card footer",
5337
+ "name": "footer-button-primary"
5338
+ },
5339
+ {
5340
+ "description": "The secondary button part of the card footer",
5341
+ "name": "footer-button-secondary"
5342
+ },
5343
+ {
5344
+ "description": "The icon button part of the card header",
5345
+ "name": "icon-button"
5346
+ },
5347
+ {
5348
+ "description": "The text part of the card",
5349
+ "name": "text"
5350
+ }
5351
+ ],
5352
+ "slots": [
5353
+ {
5354
+ "description": "This slot is for passing the content before the body",
5355
+ "name": "before-body"
5356
+ },
5357
+ {
5358
+ "description": "This slot is for passing the text content for the card",
5359
+ "name": "body"
5360
+ },
5361
+ {
5362
+ "description": "This slot is for passing the content after the body",
5363
+ "name": "after-body"
5364
+ },
5365
+ {
5366
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
5367
+ "name": "footer-link"
5368
+ },
5369
+ {
5370
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5371
+ "name": "footer-button-primary"
5372
+ },
5373
+ {
5374
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5375
+ "name": "footer-button-secondary"
5376
+ },
5377
+ {
5378
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
5379
+ "name": "footer"
5380
+ }
5381
+ ],
5382
+ "members": [
5383
+ {
5384
+ "kind": "method",
5385
+ "name": "renderHeader",
5386
+ "privacy": "protected",
5387
+ "description": "Renders the header of the card if title is provided",
5388
+ "return": {
5389
+ "type": {
5390
+ "text": ""
5391
+ }
5392
+ }
5393
+ },
5394
+ {
5395
+ "kind": "field",
5396
+ "name": "cardTitle",
5397
+ "type": {
5398
+ "text": "string"
5399
+ },
5400
+ "default": "''",
5401
+ "description": "The title of the card - part of header section",
5402
+ "attribute": "card-title",
5403
+ "reflects": true,
5404
+ "inheritedFrom": {
5405
+ "name": "CardComponentMixin",
5406
+ "module": "utils/mixins/CardComponentMixin.js"
5407
+ }
5408
+ },
5409
+ {
5410
+ "kind": "field",
5411
+ "name": "subtitle",
5412
+ "type": {
5413
+ "text": "string"
5414
+ },
5415
+ "default": "''",
5416
+ "description": "The subtitle of the card - part of header section",
5417
+ "attribute": "subtitle",
5418
+ "reflects": true,
5419
+ "inheritedFrom": {
5420
+ "name": "CardComponentMixin",
5421
+ "module": "utils/mixins/CardComponentMixin.js"
5422
+ }
5423
+ },
5424
+ {
5425
+ "kind": "field",
5426
+ "name": "imageSrc",
5427
+ "type": {
5428
+ "text": "string"
5429
+ },
5430
+ "default": "''",
5431
+ "description": "The image source URL to render on the card",
5432
+ "attribute": "image-src",
5433
+ "reflects": true,
5434
+ "inheritedFrom": {
5435
+ "name": "CardComponentMixin",
5436
+ "module": "utils/mixins/CardComponentMixin.js"
5437
+ }
5438
+ },
5439
+ {
5440
+ "kind": "field",
5441
+ "name": "imageAlt",
5442
+ "type": {
5443
+ "text": "string"
5444
+ },
5445
+ "default": "''",
5446
+ "description": "The image alt for accessibility support",
5447
+ "attribute": "image-alt",
5448
+ "reflects": true,
5449
+ "inheritedFrom": {
5450
+ "name": "CardComponentMixin",
5451
+ "module": "utils/mixins/CardComponentMixin.js"
5452
+ }
5453
+ },
5454
+ {
5455
+ "kind": "field",
5456
+ "name": "variant",
5457
+ "type": {
5458
+ "text": "CardVariant"
5459
+ },
5460
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5461
+ "default": "'border'",
5462
+ "attribute": "variant",
5463
+ "reflects": true,
5464
+ "inheritedFrom": {
5465
+ "name": "CardComponentMixin",
5466
+ "module": "utils/mixins/CardComponentMixin.js"
5467
+ }
5468
+ },
5469
+ {
5470
+ "kind": "field",
5471
+ "name": "orientation",
5472
+ "type": {
5473
+ "text": "CardOrientation"
5474
+ },
5475
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5476
+ "default": "'vertical'",
5477
+ "attribute": "orientation",
5478
+ "reflects": true,
5479
+ "inheritedFrom": {
5480
+ "name": "CardComponentMixin",
5481
+ "module": "utils/mixins/CardComponentMixin.js"
5482
+ }
5483
+ },
5484
+ {
5485
+ "kind": "field",
5486
+ "name": "titleTagName",
5487
+ "type": {
5488
+ "text": "TagNameType"
5489
+ },
5490
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5491
+ "default": "'span'",
5492
+ "attribute": "title-tag-name",
5493
+ "reflects": true,
5494
+ "inheritedFrom": {
5495
+ "name": "CardComponentMixin",
5496
+ "module": "utils/mixins/CardComponentMixin.js"
5497
+ }
5498
+ },
5499
+ {
5500
+ "kind": "field",
5501
+ "name": "subtitleTagName",
5502
+ "type": {
5503
+ "text": "TagNameType"
5504
+ },
5505
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5506
+ "default": "'span'",
5507
+ "attribute": "subtitle-tag-name",
5508
+ "reflects": true,
5509
+ "inheritedFrom": {
5510
+ "name": "CardComponentMixin",
5511
+ "module": "utils/mixins/CardComponentMixin.js"
5512
+ }
5513
+ },
5514
+ {
5515
+ "kind": "field",
5516
+ "name": "iconName",
5517
+ "type": {
5518
+ "text": "IconNames | undefined"
5519
+ },
5520
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5521
+ "attribute": "icon-name",
5522
+ "reflects": true,
5523
+ "inheritedFrom": {
5524
+ "name": "CardComponentMixin",
5525
+ "module": "utils/mixins/CardComponentMixin.js"
5526
+ }
5105
5527
  },
5106
5528
  {
5107
5529
  "kind": "method",
@@ -5592,8 +6014,8 @@
5592
6014
  "attribute": "auto-focus-on-mount",
5593
6015
  "reflects": true,
5594
6016
  "inheritedFrom": {
5595
- "name": "AutoFocusOnMountMixin",
5596
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
6017
+ "name": "Buttonsimple",
6018
+ "module": "components/buttonsimple/buttonsimple.component.js"
5597
6019
  }
5598
6020
  },
5599
6021
  {
@@ -5607,8 +6029,8 @@
5607
6029
  "attribute": "tabIndex",
5608
6030
  "reflects": true,
5609
6031
  "inheritedFrom": {
5610
- "name": "TabIndexMixin",
5611
- "module": "utils/mixins/TabIndexMixin.js"
6032
+ "name": "Buttonsimple",
6033
+ "module": "components/buttonsimple/buttonsimple.component.js"
5612
6034
  }
5613
6035
  },
5614
6036
  {
@@ -5622,8 +6044,8 @@
5622
6044
  "attribute": "disabled",
5623
6045
  "reflects": true,
5624
6046
  "inheritedFrom": {
5625
- "name": "DisabledMixin",
5626
- "module": "utils/mixins/DisabledMixin.js"
6047
+ "name": "Buttonsimple",
6048
+ "module": "components/buttonsimple/buttonsimple.component.js"
5627
6049
  }
5628
6050
  },
5629
6051
  {
@@ -5827,571 +6249,30 @@
5827
6249
  "description": "The disabled state."
5828
6250
  }
5829
6251
  ],
5830
- "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.",
5831
- "inheritedFrom": {
5832
- "name": "Buttonsimple",
5833
- "module": "components/buttonsimple/buttonsimple.component.js"
5834
- }
5835
- },
5836
- {
5837
- "kind": "method",
5838
- "name": "triggerClickEvent",
5839
- "privacy": "private",
5840
- "inheritedFrom": {
5841
- "name": "Buttonsimple",
5842
- "module": "components/buttonsimple/buttonsimple.component.js"
5843
- }
5844
- },
5845
- {
5846
- "kind": "method",
5847
- "name": "handleBlur",
5848
- "privacy": "private",
5849
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
5850
- "inheritedFrom": {
5851
- "name": "Buttonsimple",
5852
- "module": "components/buttonsimple/buttonsimple.component.js"
5853
- }
5854
- },
5855
- {
5856
- "kind": "method",
5857
- "name": "handleKeyDown",
5858
- "privacy": "private",
5859
- "parameters": [
5860
- {
5861
- "name": "event",
5862
- "type": {
5863
- "text": "KeyboardEvent"
5864
- },
5865
- "description": "The keyboard event."
5866
- }
5867
- ],
5868
- "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.",
5869
- "inheritedFrom": {
5870
- "name": "Buttonsimple",
5871
- "module": "components/buttonsimple/buttonsimple.component.js"
5872
- }
5873
- },
5874
- {
5875
- "kind": "method",
5876
- "name": "handleKeyUp",
5877
- "privacy": "private",
5878
- "parameters": [
5879
- {
5880
- "name": "event",
5881
- "type": {
5882
- "text": "KeyboardEvent"
5883
- },
5884
- "description": "The keyboard event."
5885
- }
5886
- ],
5887
- "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.",
5888
- "inheritedFrom": {
5889
- "name": "Buttonsimple",
5890
- "module": "components/buttonsimple/buttonsimple.component.js"
5891
- }
5892
- }
5893
- ],
5894
- "events": [
5895
- {
5896
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
5897
- "name": "click",
5898
- "reactName": "onClick",
5899
- "inheritedFrom": {
5900
- "name": "Buttonsimple",
5901
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
5902
- }
5903
- },
5904
- {
5905
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
5906
- "name": "keydown",
5907
- "reactName": "onKeyDown",
5908
- "inheritedFrom": {
5909
- "name": "Buttonsimple",
5910
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
5911
- }
5912
- },
5913
- {
5914
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
5915
- "name": "keyup",
5916
- "reactName": "onKeyUp",
5917
- "inheritedFrom": {
5918
- "name": "Buttonsimple",
5919
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
5920
- }
5921
- },
5922
- {
5923
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5924
- "name": "focus",
5925
- "reactName": "onFocus",
5926
- "inheritedFrom": {
5927
- "name": "Buttonsimple",
5928
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
5929
- }
5930
- }
5931
- ],
5932
- "mixins": [
5933
- {
5934
- "name": "CardComponentMixin",
5935
- "module": "/src/utils/mixins/CardComponentMixin"
5936
- }
5937
- ],
5938
- "superclass": {
5939
- "name": "Buttonsimple",
5940
- "module": "/src/components/buttonsimple/buttonsimple.component"
5941
- },
5942
- "tagName": "mdc-cardbutton",
5943
- "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
5944
- "customElement": true,
5945
- "attributes": [
5946
- {
5947
- "name": "card-title",
5948
- "type": {
5949
- "text": "string"
5950
- },
5951
- "default": "''",
5952
- "description": "The title of the card - part of header section",
5953
- "fieldName": "cardTitle",
5954
- "inheritedFrom": {
5955
- "name": "CardComponentMixin",
5956
- "module": "src/utils/mixins/CardComponentMixin.ts"
5957
- }
5958
- },
5959
- {
5960
- "name": "subtitle",
5961
- "type": {
5962
- "text": "string"
5963
- },
5964
- "default": "''",
5965
- "description": "The subtitle of the card - part of header section",
5966
- "fieldName": "subtitle",
5967
- "inheritedFrom": {
5968
- "name": "CardComponentMixin",
5969
- "module": "src/utils/mixins/CardComponentMixin.ts"
5970
- }
5971
- },
5972
- {
5973
- "name": "image-src",
5974
- "type": {
5975
- "text": "string"
5976
- },
5977
- "default": "''",
5978
- "description": "The image source URL to render on the card",
5979
- "fieldName": "imageSrc",
5980
- "inheritedFrom": {
5981
- "name": "CardComponentMixin",
5982
- "module": "src/utils/mixins/CardComponentMixin.ts"
5983
- }
5984
- },
5985
- {
5986
- "name": "image-alt",
5987
- "type": {
5988
- "text": "string"
5989
- },
5990
- "default": "''",
5991
- "description": "The image alt for accessibility support",
5992
- "fieldName": "imageAlt",
5993
- "inheritedFrom": {
5994
- "name": "CardComponentMixin",
5995
- "module": "src/utils/mixins/CardComponentMixin.ts"
5996
- }
5997
- },
5998
- {
5999
- "name": "variant",
6000
- "type": {
6001
- "text": "CardVariant"
6002
- },
6003
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6004
- "default": "'border'",
6005
- "fieldName": "variant",
6006
- "inheritedFrom": {
6007
- "name": "CardComponentMixin",
6008
- "module": "src/utils/mixins/CardComponentMixin.ts"
6009
- }
6010
- },
6011
- {
6012
- "name": "orientation",
6013
- "type": {
6014
- "text": "CardOrientation"
6015
- },
6016
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6017
- "default": "'vertical'",
6018
- "fieldName": "orientation",
6019
- "inheritedFrom": {
6020
- "name": "CardComponentMixin",
6021
- "module": "src/utils/mixins/CardComponentMixin.ts"
6022
- }
6023
- },
6024
- {
6025
- "name": "title-tag-name",
6026
- "type": {
6027
- "text": "TagNameType"
6028
- },
6029
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6030
- "default": "'span'",
6031
- "fieldName": "titleTagName",
6032
- "inheritedFrom": {
6033
- "name": "CardComponentMixin",
6034
- "module": "src/utils/mixins/CardComponentMixin.ts"
6035
- }
6036
- },
6037
- {
6038
- "name": "subtitle-tag-name",
6039
- "type": {
6040
- "text": "TagNameType"
6041
- },
6042
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6043
- "default": "'span'",
6044
- "fieldName": "subtitleTagName",
6045
- "inheritedFrom": {
6046
- "name": "CardComponentMixin",
6047
- "module": "src/utils/mixins/CardComponentMixin.ts"
6048
- }
6049
- },
6050
- {
6051
- "name": "icon-name",
6052
- "type": {
6053
- "text": "IconNames | undefined"
6054
- },
6055
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6056
- "fieldName": "iconName",
6057
- "inheritedFrom": {
6058
- "name": "CardComponentMixin",
6059
- "module": "src/utils/mixins/CardComponentMixin.ts"
6060
- }
6061
- },
6062
- {
6063
- "name": "auto-focus-on-mount",
6064
- "type": {
6065
- "text": "boolean"
6066
- },
6067
- "default": "false",
6068
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6069
- "fieldName": "autoFocusOnMount",
6070
- "inheritedFrom": {
6071
- "name": "AutoFocusOnMountMixin",
6072
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
6073
- }
6074
- },
6075
- {
6076
- "name": "tabIndex",
6077
- "type": {
6078
- "text": "number"
6079
- },
6080
- "default": "0",
6081
- "description": "This property specifies the tab order of the element.",
6082
- "fieldName": "tabIndex",
6083
- "inheritedFrom": {
6084
- "name": "TabIndexMixin",
6085
- "module": "src/utils/mixins/TabIndexMixin.ts"
6086
- }
6087
- },
6088
- {
6089
- "name": "disabled",
6090
- "type": {
6091
- "text": "boolean | undefined"
6092
- },
6093
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6094
- "default": "undefined",
6095
- "fieldName": "disabled",
6096
- "inheritedFrom": {
6097
- "name": "DisabledMixin",
6098
- "module": "src/utils/mixins/DisabledMixin.ts"
6099
- }
6100
- },
6101
- {
6102
- "name": "active",
6103
- "type": {
6104
- "text": "boolean | undefined"
6105
- },
6106
- "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.",
6107
- "default": "undefined",
6108
- "fieldName": "active",
6109
- "inheritedFrom": {
6110
- "name": "Buttonsimple",
6111
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6112
- }
6113
- },
6114
- {
6115
- "name": "soft-disabled",
6116
- "type": {
6117
- "text": "boolean | undefined"
6118
- },
6119
- "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.",
6120
- "default": "undefined",
6121
- "fieldName": "softDisabled",
6122
- "inheritedFrom": {
6123
- "name": "Buttonsimple",
6124
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6125
- }
6126
- },
6127
- {
6128
- "name": "size",
6129
- "type": {
6130
- "text": "ButtonSize"
6131
- },
6132
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6133
- "default": "32",
6134
- "fieldName": "size",
6135
- "inheritedFrom": {
6136
- "name": "Buttonsimple",
6137
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6138
- }
6139
- },
6140
- {
6141
- "name": "role",
6142
- "type": {
6143
- "text": "RoleType"
6144
- },
6145
- "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.",
6146
- "default": "button",
6147
- "fieldName": "role",
6148
- "inheritedFrom": {
6149
- "name": "Buttonsimple",
6150
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6151
- }
6152
- },
6153
- {
6154
- "name": "ariaStateKey",
6155
- "type": {
6156
- "text": "string | undefined"
6157
- },
6158
- "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`",
6159
- "default": "'aria-pressed' (when)",
6160
- "fieldName": "ariaStateKey",
6161
- "inheritedFrom": {
6162
- "name": "Buttonsimple",
6163
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6164
- }
6165
- },
6166
- {
6167
- "name": "type",
6168
- "type": {
6169
- "text": "ButtonType"
6170
- },
6171
- "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.",
6172
- "default": "button",
6173
- "fieldName": "type",
6174
- "inheritedFrom": {
6175
- "name": "Buttonsimple",
6176
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6177
- }
6178
- },
6179
- {
6180
- "name": "name",
6181
- "type": {
6182
- "text": "string | undefined"
6183
- },
6184
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6185
- "fieldName": "name",
6186
- "inheritedFrom": {
6187
- "name": "Buttonsimple",
6188
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6189
- }
6190
- },
6191
- {
6192
- "name": "value",
6193
- "type": {
6194
- "text": "string | undefined"
6195
- },
6196
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6197
- "fieldName": "value",
6198
- "inheritedFrom": {
6199
- "name": "Buttonsimple",
6200
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6201
- }
6202
- }
6203
- ]
6204
- }
6205
- ],
6206
- "exports": [
6207
- {
6208
- "kind": "js",
6209
- "name": "default",
6210
- "declaration": {
6211
- "name": "CardButton",
6212
- "module": "components/cardbutton/cardbutton.component.js"
6213
- }
6214
- }
6215
- ]
6216
- },
6217
- {
6218
- "kind": "javascript-module",
6219
- "path": "components/buttonsimple/buttonsimple.component.js",
6220
- "declarations": [
6221
- {
6222
- "kind": "class",
6223
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
6224
- "name": "Buttonsimple",
6225
- "members": [
6226
- {
6227
- "kind": "field",
6228
- "name": "active",
6229
- "type": {
6230
- "text": "boolean | undefined"
6231
- },
6232
- "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.",
6233
- "default": "undefined",
6234
- "attribute": "active",
6235
- "reflects": true
6236
- },
6237
- {
6238
- "kind": "field",
6239
- "name": "softDisabled",
6240
- "type": {
6241
- "text": "boolean | undefined"
6242
- },
6243
- "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.",
6244
- "default": "undefined",
6245
- "attribute": "soft-disabled",
6246
- "reflects": true
6247
- },
6248
- {
6249
- "kind": "field",
6250
- "name": "size",
6251
- "type": {
6252
- "text": "ButtonSize"
6253
- },
6254
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6255
- "default": "32",
6256
- "attribute": "size",
6257
- "reflects": true
6258
- },
6259
- {
6260
- "kind": "field",
6261
- "name": "role",
6262
- "type": {
6263
- "text": "RoleType"
6264
- },
6265
- "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.",
6266
- "default": "button",
6267
- "attribute": "role",
6268
- "reflects": true
6269
- },
6270
- {
6271
- "kind": "field",
6272
- "name": "ariaStateKey",
6273
- "type": {
6274
- "text": "string | undefined"
6275
- },
6276
- "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`",
6277
- "default": "'aria-pressed' (when)",
6278
- "attribute": "ariaStateKey",
6279
- "reflects": true
6280
- },
6281
- {
6282
- "kind": "field",
6283
- "name": "type",
6284
- "type": {
6285
- "text": "ButtonType"
6286
- },
6287
- "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.",
6288
- "default": "button",
6289
- "attribute": "type",
6290
- "reflects": true
6291
- },
6292
- {
6293
- "kind": "field",
6294
- "name": "name",
6295
- "type": {
6296
- "text": "string | undefined"
6297
- },
6298
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6299
- "attribute": "name",
6300
- "reflects": true
6301
- },
6302
- {
6303
- "kind": "field",
6304
- "name": "value",
6305
- "type": {
6306
- "text": "string | undefined"
6307
- },
6308
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6309
- "attribute": "value",
6310
- "reflects": true
6311
- },
6312
- {
6313
- "kind": "method",
6314
- "name": "executeAction",
6315
- "privacy": "protected"
6316
- },
6317
- {
6318
- "kind": "method",
6319
- "name": "setActive",
6320
- "privacy": "protected",
6321
- "parameters": [
6322
- {
6323
- "name": "element",
6324
- "type": {
6325
- "text": "HTMLElement"
6326
- },
6327
- "description": "The button element"
6328
- },
6329
- {
6330
- "name": "active",
6331
- "optional": true,
6332
- "type": {
6333
- "text": "boolean"
6334
- },
6335
- "description": "The active state of the element"
6336
- }
6337
- ],
6338
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
6339
- },
6340
- {
6341
- "kind": "method",
6342
- "name": "setSoftDisabled",
6343
- "privacy": "private",
6344
- "parameters": [
6345
- {
6346
- "name": "element",
6347
- "type": {
6348
- "text": "HTMLElement"
6349
- },
6350
- "description": "The button element."
6351
- },
6352
- {
6353
- "name": "softDisabled",
6354
- "optional": true,
6355
- "type": {
6356
- "text": "boolean"
6357
- },
6358
- "description": "The soft-disabled state."
6359
- }
6360
- ],
6361
- "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."
6362
- },
6363
- {
6364
- "kind": "method",
6365
- "name": "setDisabled",
6366
- "privacy": "private",
6367
- "parameters": [
6368
- {
6369
- "name": "element",
6370
- "type": {
6371
- "text": "HTMLElement"
6372
- },
6373
- "description": "The button element."
6374
- },
6375
- {
6376
- "name": "disabled",
6377
- "type": {
6378
- "text": "boolean"
6379
- },
6380
- "description": "The disabled state."
6381
- }
6382
- ],
6383
- "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."
6252
+ "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.",
6253
+ "inheritedFrom": {
6254
+ "name": "Buttonsimple",
6255
+ "module": "components/buttonsimple/buttonsimple.component.js"
6256
+ }
6384
6257
  },
6385
6258
  {
6386
6259
  "kind": "method",
6387
6260
  "name": "triggerClickEvent",
6388
- "privacy": "private"
6261
+ "privacy": "private",
6262
+ "inheritedFrom": {
6263
+ "name": "Buttonsimple",
6264
+ "module": "components/buttonsimple/buttonsimple.component.js"
6265
+ }
6389
6266
  },
6390
6267
  {
6391
6268
  "kind": "method",
6392
6269
  "name": "handleBlur",
6393
6270
  "privacy": "private",
6394
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
6271
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6272
+ "inheritedFrom": {
6273
+ "name": "Buttonsimple",
6274
+ "module": "components/buttonsimple/buttonsimple.component.js"
6275
+ }
6395
6276
  },
6396
6277
  {
6397
6278
  "kind": "method",
@@ -6406,7 +6287,11 @@
6406
6287
  "description": "The keyboard event."
6407
6288
  }
6408
6289
  ],
6409
- "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."
6290
+ "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.",
6291
+ "inheritedFrom": {
6292
+ "name": "Buttonsimple",
6293
+ "module": "components/buttonsimple/buttonsimple.component.js"
6294
+ }
6410
6295
  },
6411
6296
  {
6412
6297
  "kind": "method",
@@ -6421,77 +6306,220 @@
6421
6306
  "description": "The keyboard event."
6422
6307
  }
6423
6308
  ],
6424
- "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."
6309
+ "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.",
6310
+ "inheritedFrom": {
6311
+ "name": "Buttonsimple",
6312
+ "module": "components/buttonsimple/buttonsimple.component.js"
6313
+ }
6314
+ }
6315
+ ],
6316
+ "events": [
6317
+ {
6318
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
6319
+ "name": "click",
6320
+ "reactName": "onClick",
6321
+ "inheritedFrom": {
6322
+ "name": "Buttonsimple",
6323
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6324
+ }
6425
6325
  },
6426
6326
  {
6427
- "kind": "field",
6428
- "name": "autoFocusOnMount",
6327
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
6328
+ "name": "keydown",
6329
+ "reactName": "onKeyDown",
6330
+ "inheritedFrom": {
6331
+ "name": "Buttonsimple",
6332
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6333
+ }
6334
+ },
6335
+ {
6336
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
6337
+ "name": "keyup",
6338
+ "reactName": "onKeyUp",
6339
+ "inheritedFrom": {
6340
+ "name": "Buttonsimple",
6341
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6342
+ }
6343
+ },
6344
+ {
6345
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6346
+ "name": "focus",
6347
+ "reactName": "onFocus",
6348
+ "inheritedFrom": {
6349
+ "name": "Buttonsimple",
6350
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6351
+ }
6352
+ }
6353
+ ],
6354
+ "mixins": [
6355
+ {
6356
+ "name": "CardComponentMixin",
6357
+ "module": "/src/utils/mixins/CardComponentMixin"
6358
+ }
6359
+ ],
6360
+ "superclass": {
6361
+ "name": "Buttonsimple",
6362
+ "module": "/src/components/buttonsimple/buttonsimple.component"
6363
+ },
6364
+ "tagName": "mdc-cardbutton",
6365
+ "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
6366
+ "customElement": true,
6367
+ "attributes": [
6368
+ {
6369
+ "name": "card-title",
6370
+ "type": {
6371
+ "text": "string"
6372
+ },
6373
+ "default": "''",
6374
+ "description": "The title of the card - part of header section",
6375
+ "fieldName": "cardTitle",
6376
+ "inheritedFrom": {
6377
+ "name": "CardComponentMixin",
6378
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6379
+ }
6380
+ },
6381
+ {
6382
+ "name": "subtitle",
6383
+ "type": {
6384
+ "text": "string"
6385
+ },
6386
+ "default": "''",
6387
+ "description": "The subtitle of the card - part of header section",
6388
+ "fieldName": "subtitle",
6389
+ "inheritedFrom": {
6390
+ "name": "CardComponentMixin",
6391
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6392
+ }
6393
+ },
6394
+ {
6395
+ "name": "image-src",
6396
+ "type": {
6397
+ "text": "string"
6398
+ },
6399
+ "default": "''",
6400
+ "description": "The image source URL to render on the card",
6401
+ "fieldName": "imageSrc",
6402
+ "inheritedFrom": {
6403
+ "name": "CardComponentMixin",
6404
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6405
+ }
6406
+ },
6407
+ {
6408
+ "name": "image-alt",
6409
+ "type": {
6410
+ "text": "string"
6411
+ },
6412
+ "default": "''",
6413
+ "description": "The image alt for accessibility support",
6414
+ "fieldName": "imageAlt",
6415
+ "inheritedFrom": {
6416
+ "name": "CardComponentMixin",
6417
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6418
+ }
6419
+ },
6420
+ {
6421
+ "name": "variant",
6422
+ "type": {
6423
+ "text": "CardVariant"
6424
+ },
6425
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6426
+ "default": "'border'",
6427
+ "fieldName": "variant",
6428
+ "inheritedFrom": {
6429
+ "name": "CardComponentMixin",
6430
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6431
+ }
6432
+ },
6433
+ {
6434
+ "name": "orientation",
6435
+ "type": {
6436
+ "text": "CardOrientation"
6437
+ },
6438
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6439
+ "default": "'vertical'",
6440
+ "fieldName": "orientation",
6441
+ "inheritedFrom": {
6442
+ "name": "CardComponentMixin",
6443
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6444
+ }
6445
+ },
6446
+ {
6447
+ "name": "title-tag-name",
6448
+ "type": {
6449
+ "text": "TagNameType"
6450
+ },
6451
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6452
+ "default": "'span'",
6453
+ "fieldName": "titleTagName",
6454
+ "inheritedFrom": {
6455
+ "name": "CardComponentMixin",
6456
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6457
+ }
6458
+ },
6459
+ {
6460
+ "name": "subtitle-tag-name",
6461
+ "type": {
6462
+ "text": "TagNameType"
6463
+ },
6464
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6465
+ "default": "'span'",
6466
+ "fieldName": "subtitleTagName",
6467
+ "inheritedFrom": {
6468
+ "name": "CardComponentMixin",
6469
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6470
+ }
6471
+ },
6472
+ {
6473
+ "name": "icon-name",
6474
+ "type": {
6475
+ "text": "IconNames | undefined"
6476
+ },
6477
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6478
+ "fieldName": "iconName",
6479
+ "inheritedFrom": {
6480
+ "name": "CardComponentMixin",
6481
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6482
+ }
6483
+ },
6484
+ {
6485
+ "name": "auto-focus-on-mount",
6429
6486
  "type": {
6430
6487
  "text": "boolean"
6431
6488
  },
6432
6489
  "default": "false",
6433
6490
  "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6434
- "attribute": "auto-focus-on-mount",
6435
- "reflects": true,
6491
+ "fieldName": "autoFocusOnMount",
6436
6492
  "inheritedFrom": {
6437
- "name": "AutoFocusOnMountMixin",
6438
- "module": "utils/mixins/AutoFocusOnMountMixin.js"
6493
+ "name": "Buttonsimple",
6494
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6439
6495
  }
6440
6496
  },
6441
6497
  {
6442
- "kind": "field",
6443
6498
  "name": "tabIndex",
6444
6499
  "type": {
6445
6500
  "text": "number"
6446
6501
  },
6447
6502
  "default": "0",
6448
6503
  "description": "This property specifies the tab order of the element.",
6449
- "attribute": "tabIndex",
6450
- "reflects": true,
6504
+ "fieldName": "tabIndex",
6451
6505
  "inheritedFrom": {
6452
- "name": "TabIndexMixin",
6453
- "module": "utils/mixins/TabIndexMixin.js"
6506
+ "name": "Buttonsimple",
6507
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6454
6508
  }
6455
6509
  },
6456
6510
  {
6457
- "kind": "field",
6458
6511
  "name": "disabled",
6459
6512
  "type": {
6460
6513
  "text": "boolean | undefined"
6461
6514
  },
6462
6515
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6463
6516
  "default": "undefined",
6464
- "attribute": "disabled",
6465
- "reflects": true,
6517
+ "fieldName": "disabled",
6466
6518
  "inheritedFrom": {
6467
- "name": "DisabledMixin",
6468
- "module": "utils/mixins/DisabledMixin.js"
6519
+ "name": "Buttonsimple",
6520
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6469
6521
  }
6470
- }
6471
- ],
6472
- "events": [
6473
- {
6474
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
6475
- "name": "click",
6476
- "reactName": "onClick"
6477
6522
  },
6478
- {
6479
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
6480
- "name": "keydown",
6481
- "reactName": "onKeyDown"
6482
- },
6483
- {
6484
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
6485
- "name": "keyup",
6486
- "reactName": "onKeyUp"
6487
- },
6488
- {
6489
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
6490
- "name": "focus",
6491
- "reactName": "onFocus"
6492
- }
6493
- ],
6494
- "attributes": [
6495
6523
  {
6496
6524
  "name": "active",
6497
6525
  "type": {
@@ -6499,7 +6527,11 @@
6499
6527
  },
6500
6528
  "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.",
6501
6529
  "default": "undefined",
6502
- "fieldName": "active"
6530
+ "fieldName": "active",
6531
+ "inheritedFrom": {
6532
+ "name": "Buttonsimple",
6533
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6534
+ }
6503
6535
  },
6504
6536
  {
6505
6537
  "name": "soft-disabled",
@@ -6508,7 +6540,11 @@
6508
6540
  },
6509
6541
  "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.",
6510
6542
  "default": "undefined",
6511
- "fieldName": "softDisabled"
6543
+ "fieldName": "softDisabled",
6544
+ "inheritedFrom": {
6545
+ "name": "Buttonsimple",
6546
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6547
+ }
6512
6548
  },
6513
6549
  {
6514
6550
  "name": "size",
@@ -6517,7 +6553,11 @@
6517
6553
  },
6518
6554
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6519
6555
  "default": "32",
6520
- "fieldName": "size"
6556
+ "fieldName": "size",
6557
+ "inheritedFrom": {
6558
+ "name": "Buttonsimple",
6559
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6560
+ }
6521
6561
  },
6522
6562
  {
6523
6563
  "name": "role",
@@ -6526,7 +6566,11 @@
6526
6566
  },
6527
6567
  "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.",
6528
6568
  "default": "button",
6529
- "fieldName": "role"
6569
+ "fieldName": "role",
6570
+ "inheritedFrom": {
6571
+ "name": "Buttonsimple",
6572
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6573
+ }
6530
6574
  },
6531
6575
  {
6532
6576
  "name": "ariaStateKey",
@@ -6535,7 +6579,11 @@
6535
6579
  },
6536
6580
  "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`",
6537
6581
  "default": "'aria-pressed' (when)",
6538
- "fieldName": "ariaStateKey"
6582
+ "fieldName": "ariaStateKey",
6583
+ "inheritedFrom": {
6584
+ "name": "Buttonsimple",
6585
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6586
+ }
6539
6587
  },
6540
6588
  {
6541
6589
  "name": "type",
@@ -6544,7 +6592,11 @@
6544
6592
  },
6545
6593
  "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.",
6546
6594
  "default": "button",
6547
- "fieldName": "type"
6595
+ "fieldName": "type",
6596
+ "inheritedFrom": {
6597
+ "name": "Buttonsimple",
6598
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6599
+ }
6548
6600
  },
6549
6601
  {
6550
6602
  "name": "name",
@@ -6552,7 +6604,11 @@
6552
6604
  "text": "string | undefined"
6553
6605
  },
6554
6606
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6555
- "fieldName": "name"
6607
+ "fieldName": "name",
6608
+ "inheritedFrom": {
6609
+ "name": "Buttonsimple",
6610
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6611
+ }
6556
6612
  },
6557
6613
  {
6558
6614
  "name": "value",
@@ -6560,69 +6616,13 @@
6560
6616
  "text": "string | undefined"
6561
6617
  },
6562
6618
  "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6563
- "fieldName": "value"
6564
- },
6565
- {
6566
- "name": "auto-focus-on-mount",
6567
- "type": {
6568
- "text": "boolean"
6569
- },
6570
- "default": "false",
6571
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
6572
- "fieldName": "autoFocusOnMount",
6573
- "inheritedFrom": {
6574
- "name": "AutoFocusOnMountMixin",
6575
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
6576
- }
6577
- },
6578
- {
6579
- "name": "tabIndex",
6580
- "type": {
6581
- "text": "number"
6582
- },
6583
- "default": "0",
6584
- "description": "This property specifies the tab order of the element.",
6585
- "fieldName": "tabIndex",
6586
- "inheritedFrom": {
6587
- "name": "TabIndexMixin",
6588
- "module": "src/utils/mixins/TabIndexMixin.ts"
6589
- }
6590
- },
6591
- {
6592
- "name": "disabled",
6593
- "type": {
6594
- "text": "boolean | undefined"
6595
- },
6596
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6597
- "default": "undefined",
6598
- "fieldName": "disabled",
6619
+ "fieldName": "value",
6599
6620
  "inheritedFrom": {
6600
- "name": "DisabledMixin",
6601
- "module": "src/utils/mixins/DisabledMixin.ts"
6621
+ "name": "Buttonsimple",
6622
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6602
6623
  }
6603
6624
  }
6604
- ],
6605
- "mixins": [
6606
- {
6607
- "name": "AutoFocusOnMountMixin",
6608
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
6609
- },
6610
- {
6611
- "name": "TabIndexMixin",
6612
- "module": "/src/utils/mixins/TabIndexMixin"
6613
- },
6614
- {
6615
- "name": "DisabledMixin",
6616
- "module": "/src/utils/mixins/DisabledMixin"
6617
- }
6618
- ],
6619
- "superclass": {
6620
- "name": "Component",
6621
- "module": "/src/models"
6622
- },
6623
- "tagName": "mdc-buttonsimple",
6624
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n */",
6625
- "customElement": true
6625
+ ]
6626
6626
  }
6627
6627
  ],
6628
6628
  "exports": [
@@ -6630,8 +6630,8 @@
6630
6630
  "kind": "js",
6631
6631
  "name": "default",
6632
6632
  "declaration": {
6633
- "name": "Buttonsimple",
6634
- "module": "components/buttonsimple/buttonsimple.component.js"
6633
+ "name": "CardButton",
6634
+ "module": "components/cardbutton/cardbutton.component.js"
6635
6635
  }
6636
6636
  }
6637
6637
  ]
@@ -36653,7 +36653,7 @@
36653
36653
  },
36654
36654
  "privacy": "public",
36655
36655
  "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
36656
- "default": "body-large-regular",
36656
+ "default": "body-midsize-medium",
36657
36657
  "attribute": "type",
36658
36658
  "reflects": true
36659
36659
  },
@@ -36676,7 +36676,7 @@
36676
36676
  "text": "TextType"
36677
36677
  },
36678
36678
  "description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
36679
- "default": "body-large-regular",
36679
+ "default": "body-midsize-medium",
36680
36680
  "fieldName": "type"
36681
36681
  },
36682
36682
  {