@momentum-design/components 0.103.3 → 0.104.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3245,18 +3245,34 @@
3245
3245
  "declarations": [
3246
3246
  {
3247
3247
  "kind": "class",
3248
- "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.",
3248
+ "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/slots.",
3249
3249
  "name": "Button",
3250
3250
  "cssParts": [
3251
3251
  {
3252
3252
  "description": "Text label of the button, passed in default slot",
3253
3253
  "name": "button-text"
3254
+ },
3255
+ {
3256
+ "description": "Content before the text label, passed in `prefix` slot",
3257
+ "name": "prefix"
3258
+ },
3259
+ {
3260
+ "description": "Content after the text label, passed in `postfix` slot",
3261
+ "name": "postfix"
3254
3262
  }
3255
3263
  ],
3256
3264
  "slots": [
3257
3265
  {
3258
3266
  "description": "Text label of the button.",
3259
3267
  "name": ""
3268
+ },
3269
+ {
3270
+ "description": "Content to be displayed before the text label.",
3271
+ "name": "prefix"
3272
+ },
3273
+ {
3274
+ "description": "Content to be displayed after the text label.",
3275
+ "name": "postfix"
3260
3276
  }
3261
3277
  ],
3262
3278
  "members": [
@@ -3887,7 +3903,7 @@
3887
3903
  "module": "/src/components/buttonsimple/buttonsimple.component"
3888
3904
  },
3889
3905
  "tagName": "mdc-button",
3890
- "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 *\n * @csspart button-text - Text label of the button, passed in default slot\n */",
3906
+ "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/slots.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-button\n *\n * @slot - Text label of the button.\n * @slot prefix - Content to be displayed before the text label.\n * @slot postfix - Content to be displayed after the text label.\n *\n * @csspart button-text - Text label of the button, passed in default slot\n * @csspart prefix - Content before the text label, passed in `prefix` slot\n * @csspart postfix - Content after the text label, passed in `postfix` slot\n */",
3891
3907
  "customElement": true,
3892
3908
  "events": [
3893
3909
  {
@@ -4701,192 +4717,272 @@
4701
4717
  },
4702
4718
  {
4703
4719
  "kind": "javascript-module",
4704
- "path": "components/buttonsimple/buttonsimple.component.js",
4720
+ "path": "components/cardbutton/cardbutton.component.js",
4705
4721
  "declarations": [
4706
4722
  {
4707
4723
  "kind": "class",
4708
- "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.",
4709
- "name": "Buttonsimple",
4724
+ "description": "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.\nMake sure to pass only non-interactable elements within the slots.",
4725
+ "name": "CardButton",
4726
+ "cssProperties": [
4727
+ {
4728
+ "description": "The width of the card",
4729
+ "name": "--mdc-card-width"
4730
+ }
4731
+ ],
4732
+ "cssParts": [
4733
+ {
4734
+ "description": "The header part of the card",
4735
+ "name": "header"
4736
+ },
4737
+ {
4738
+ "description": "The icon part of the card header",
4739
+ "name": "icon"
4740
+ },
4741
+ {
4742
+ "description": "The body part of the card",
4743
+ "name": "body"
4744
+ },
4745
+ {
4746
+ "description": "The image part of the card",
4747
+ "name": "image"
4748
+ },
4749
+ {
4750
+ "description": "The footer part of the card",
4751
+ "name": "footer"
4752
+ },
4753
+ {
4754
+ "description": "The link part of the card footer",
4755
+ "name": "footer-link"
4756
+ },
4757
+ {
4758
+ "description": "The primary button part of the card footer",
4759
+ "name": "footer-button-primary"
4760
+ },
4761
+ {
4762
+ "description": "The secondary button part of the card footer",
4763
+ "name": "footer-button-secondary"
4764
+ },
4765
+ {
4766
+ "description": "The icon button part of the card header",
4767
+ "name": "icon-button"
4768
+ },
4769
+ {
4770
+ "description": "The text part of the card",
4771
+ "name": "text"
4772
+ }
4773
+ ],
4774
+ "slots": [
4775
+ {
4776
+ "description": "This slot is for passing the content before the body",
4777
+ "name": "before-body"
4778
+ },
4779
+ {
4780
+ "description": "This slot is for passing the text content for the card",
4781
+ "name": "body"
4782
+ },
4783
+ {
4784
+ "description": "This slot is for passing the content after the body",
4785
+ "name": "after-body"
4786
+ },
4787
+ {
4788
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
4789
+ "name": "footer-link"
4790
+ },
4791
+ {
4792
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
4793
+ "name": "footer-button-primary"
4794
+ }
4795
+ ],
4710
4796
  "members": [
4797
+ {
4798
+ "kind": "method",
4799
+ "name": "renderHeader",
4800
+ "privacy": "protected",
4801
+ "description": "Renders the header of the card if title is provided",
4802
+ "return": {
4803
+ "type": {
4804
+ "text": ""
4805
+ }
4806
+ }
4807
+ },
4711
4808
  {
4712
4809
  "kind": "field",
4713
- "name": "active",
4810
+ "name": "cardTitle",
4714
4811
  "type": {
4715
- "text": "boolean | undefined"
4812
+ "text": "string"
4716
4813
  },
4717
- "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.",
4718
- "default": "undefined",
4719
- "attribute": "active",
4720
- "reflects": true
4814
+ "default": "''",
4815
+ "description": "The title of the card - part of header section",
4816
+ "attribute": "card-title",
4817
+ "reflects": true,
4818
+ "inheritedFrom": {
4819
+ "name": "CardComponentMixin",
4820
+ "module": "utils/mixins/CardComponentMixin.js"
4821
+ }
4721
4822
  },
4722
4823
  {
4723
4824
  "kind": "field",
4724
- "name": "softDisabled",
4825
+ "name": "subtitle",
4725
4826
  "type": {
4726
- "text": "boolean | undefined"
4827
+ "text": "string"
4727
4828
  },
4728
- "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.",
4729
- "default": "undefined",
4730
- "attribute": "soft-disabled",
4731
- "reflects": true
4829
+ "default": "''",
4830
+ "description": "The subtitle of the card - part of header section",
4831
+ "attribute": "subtitle",
4832
+ "reflects": true,
4833
+ "inheritedFrom": {
4834
+ "name": "CardComponentMixin",
4835
+ "module": "utils/mixins/CardComponentMixin.js"
4836
+ }
4732
4837
  },
4733
4838
  {
4734
4839
  "kind": "field",
4735
- "name": "size",
4840
+ "name": "imageSrc",
4736
4841
  "type": {
4737
- "text": "ButtonSize"
4842
+ "text": "string"
4738
4843
  },
4739
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4740
- "default": "32",
4741
- "attribute": "size",
4742
- "reflects": true
4844
+ "default": "''",
4845
+ "description": "The image source URL to render on the card",
4846
+ "attribute": "image-src",
4847
+ "reflects": true,
4848
+ "inheritedFrom": {
4849
+ "name": "CardComponentMixin",
4850
+ "module": "utils/mixins/CardComponentMixin.js"
4851
+ }
4743
4852
  },
4744
4853
  {
4745
4854
  "kind": "field",
4746
- "name": "role",
4855
+ "name": "imageAlt",
4747
4856
  "type": {
4748
- "text": "RoleType"
4857
+ "text": "string"
4749
4858
  },
4750
- "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.",
4751
- "default": "button",
4752
- "attribute": "role",
4753
- "reflects": true
4859
+ "default": "''",
4860
+ "description": "The image alt for accessibility support",
4861
+ "attribute": "image-alt",
4862
+ "reflects": true,
4863
+ "inheritedFrom": {
4864
+ "name": "CardComponentMixin",
4865
+ "module": "utils/mixins/CardComponentMixin.js"
4866
+ }
4754
4867
  },
4755
4868
  {
4756
4869
  "kind": "field",
4757
- "name": "ariaStateKey",
4870
+ "name": "variant",
4758
4871
  "type": {
4759
- "text": "string | undefined"
4872
+ "text": "CardVariant"
4760
4873
  },
4761
- "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`",
4762
- "default": "'aria-pressed' (when)",
4763
- "attribute": "ariaStateKey",
4764
- "reflects": true
4874
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
4875
+ "default": "'border'",
4876
+ "attribute": "variant",
4877
+ "reflects": true,
4878
+ "inheritedFrom": {
4879
+ "name": "CardComponentMixin",
4880
+ "module": "utils/mixins/CardComponentMixin.js"
4881
+ }
4765
4882
  },
4766
4883
  {
4767
4884
  "kind": "field",
4768
- "name": "type",
4885
+ "name": "orientation",
4769
4886
  "type": {
4770
- "text": "ButtonType"
4887
+ "text": "CardOrientation"
4771
4888
  },
4772
- "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.",
4773
- "default": "button",
4774
- "attribute": "type",
4775
- "reflects": true
4889
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
4890
+ "default": "'vertical'",
4891
+ "attribute": "orientation",
4892
+ "reflects": true,
4893
+ "inheritedFrom": {
4894
+ "name": "CardComponentMixin",
4895
+ "module": "utils/mixins/CardComponentMixin.js"
4896
+ }
4776
4897
  },
4777
4898
  {
4778
- "kind": "method",
4779
- "name": "executeAction",
4780
- "privacy": "protected"
4899
+ "kind": "field",
4900
+ "name": "titleTagName",
4901
+ "type": {
4902
+ "text": "TagNameType"
4903
+ },
4904
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
4905
+ "default": "'span'",
4906
+ "attribute": "title-tag-name",
4907
+ "reflects": true,
4908
+ "inheritedFrom": {
4909
+ "name": "CardComponentMixin",
4910
+ "module": "utils/mixins/CardComponentMixin.js"
4911
+ }
4781
4912
  },
4782
4913
  {
4783
- "kind": "method",
4784
- "name": "setActive",
4785
- "privacy": "protected",
4786
- "parameters": [
4787
- {
4788
- "name": "element",
4789
- "type": {
4790
- "text": "HTMLElement"
4791
- },
4792
- "description": "The button element"
4793
- },
4794
- {
4795
- "name": "active",
4796
- "optional": true,
4797
- "type": {
4798
- "text": "boolean"
4799
- },
4800
- "description": "The active state of the element"
4801
- }
4802
- ],
4803
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
4914
+ "kind": "field",
4915
+ "name": "subtitleTagName",
4916
+ "type": {
4917
+ "text": "TagNameType"
4918
+ },
4919
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
4920
+ "default": "'span'",
4921
+ "attribute": "subtitle-tag-name",
4922
+ "reflects": true,
4923
+ "inheritedFrom": {
4924
+ "name": "CardComponentMixin",
4925
+ "module": "utils/mixins/CardComponentMixin.js"
4926
+ }
4804
4927
  },
4805
4928
  {
4806
- "kind": "method",
4807
- "name": "setSoftDisabled",
4808
- "privacy": "private",
4809
- "parameters": [
4810
- {
4811
- "name": "element",
4812
- "type": {
4813
- "text": "HTMLElement"
4814
- },
4815
- "description": "The button element."
4816
- },
4817
- {
4818
- "name": "softDisabled",
4819
- "optional": true,
4820
- "type": {
4821
- "text": "boolean"
4822
- },
4823
- "description": "The soft-disabled state."
4824
- }
4825
- ],
4826
- "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."
4929
+ "kind": "field",
4930
+ "name": "iconName",
4931
+ "type": {
4932
+ "text": "IconNames | undefined"
4933
+ },
4934
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
4935
+ "attribute": "icon-name",
4936
+ "reflects": true,
4937
+ "inheritedFrom": {
4938
+ "name": "CardComponentMixin",
4939
+ "module": "utils/mixins/CardComponentMixin.js"
4940
+ }
4827
4941
  },
4828
4942
  {
4829
4943
  "kind": "method",
4830
- "name": "setDisabled",
4831
- "privacy": "private",
4832
- "parameters": [
4833
- {
4834
- "name": "element",
4835
- "type": {
4836
- "text": "HTMLElement"
4837
- },
4838
- "description": "The button element."
4839
- },
4840
- {
4841
- "name": "disabled",
4842
- "type": {
4843
- "text": "boolean"
4844
- },
4845
- "description": "The disabled state."
4944
+ "name": "renderImage",
4945
+ "privacy": "protected",
4946
+ "description": "Renders the image on the card if image source is provided",
4947
+ "return": {
4948
+ "type": {
4949
+ "text": ""
4846
4950
  }
4847
- ],
4848
- "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."
4849
- },
4850
- {
4851
- "kind": "method",
4852
- "name": "triggerClickEvent",
4853
- "privacy": "private"
4854
- },
4855
- {
4856
- "kind": "method",
4857
- "name": "handleBlur",
4858
- "privacy": "private",
4859
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
4951
+ },
4952
+ "inheritedFrom": {
4953
+ "name": "CardComponentMixin",
4954
+ "module": "utils/mixins/CardComponentMixin.js"
4955
+ }
4860
4956
  },
4861
4957
  {
4862
4958
  "kind": "method",
4863
- "name": "handleKeyDown",
4864
- "privacy": "private",
4865
- "parameters": [
4866
- {
4867
- "name": "event",
4868
- "type": {
4869
- "text": "KeyboardEvent"
4870
- },
4871
- "description": "The keyboard event."
4959
+ "name": "renderIcon",
4960
+ "privacy": "protected",
4961
+ "description": "Renders the icon on the card if icon name is provided",
4962
+ "return": {
4963
+ "type": {
4964
+ "text": ""
4872
4965
  }
4873
- ],
4874
- "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."
4966
+ },
4967
+ "inheritedFrom": {
4968
+ "name": "CardComponentMixin",
4969
+ "module": "utils/mixins/CardComponentMixin.js"
4970
+ }
4875
4971
  },
4876
4972
  {
4877
4973
  "kind": "method",
4878
- "name": "handleKeyUp",
4879
- "privacy": "private",
4880
- "parameters": [
4881
- {
4882
- "name": "event",
4883
- "type": {
4884
- "text": "KeyboardEvent"
4885
- },
4886
- "description": "The keyboard event."
4974
+ "name": "renderTitle",
4975
+ "privacy": "protected",
4976
+ "description": "Renders the title and subtitle on the card",
4977
+ "return": {
4978
+ "type": {
4979
+ "text": ""
4887
4980
  }
4888
- ],
4889
- "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."
4981
+ },
4982
+ "inheritedFrom": {
4983
+ "name": "CardComponentMixin",
4984
+ "module": "utils/mixins/CardComponentMixin.js"
4985
+ }
4890
4986
  },
4891
4987
  {
4892
4988
  "kind": "field",
@@ -4932,584 +5028,527 @@
4932
5028
  "name": "DisabledMixin",
4933
5029
  "module": "utils/mixins/DisabledMixin.js"
4934
5030
  }
4935
- }
4936
- ],
4937
- "events": [
4938
- {
4939
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
4940
- "name": "click",
4941
- "reactName": "onClick"
4942
- },
4943
- {
4944
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
4945
- "name": "keydown",
4946
- "reactName": "onKeyDown"
4947
- },
4948
- {
4949
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
4950
- "name": "keyup",
4951
- "reactName": "onKeyUp"
4952
5031
  },
4953
5032
  {
4954
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
4955
- "name": "focus",
4956
- "reactName": "onFocus"
4957
- }
4958
- ],
4959
- "attributes": [
4960
- {
5033
+ "kind": "field",
4961
5034
  "name": "active",
4962
5035
  "type": {
4963
5036
  "text": "boolean | undefined"
4964
5037
  },
4965
5038
  "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.",
4966
5039
  "default": "undefined",
4967
- "fieldName": "active"
5040
+ "attribute": "active",
5041
+ "reflects": true,
5042
+ "inheritedFrom": {
5043
+ "name": "Buttonsimple",
5044
+ "module": "components/buttonsimple/buttonsimple.component.js"
5045
+ }
4968
5046
  },
4969
5047
  {
4970
- "name": "soft-disabled",
5048
+ "kind": "field",
5049
+ "name": "softDisabled",
4971
5050
  "type": {
4972
5051
  "text": "boolean | undefined"
4973
5052
  },
4974
5053
  "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.",
4975
5054
  "default": "undefined",
4976
- "fieldName": "softDisabled"
5055
+ "attribute": "soft-disabled",
5056
+ "reflects": true,
5057
+ "inheritedFrom": {
5058
+ "name": "Buttonsimple",
5059
+ "module": "components/buttonsimple/buttonsimple.component.js"
5060
+ }
4977
5061
  },
4978
5062
  {
5063
+ "kind": "field",
4979
5064
  "name": "size",
4980
5065
  "type": {
4981
5066
  "text": "ButtonSize"
4982
5067
  },
4983
5068
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
4984
5069
  "default": "32",
4985
- "fieldName": "size"
5070
+ "attribute": "size",
5071
+ "reflects": true,
5072
+ "inheritedFrom": {
5073
+ "name": "Buttonsimple",
5074
+ "module": "components/buttonsimple/buttonsimple.component.js"
5075
+ }
4986
5076
  },
4987
5077
  {
5078
+ "kind": "field",
4988
5079
  "name": "role",
4989
5080
  "type": {
4990
5081
  "text": "RoleType"
4991
5082
  },
4992
5083
  "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.",
4993
5084
  "default": "button",
4994
- "fieldName": "role"
5085
+ "attribute": "role",
5086
+ "reflects": true,
5087
+ "inheritedFrom": {
5088
+ "name": "Buttonsimple",
5089
+ "module": "components/buttonsimple/buttonsimple.component.js"
5090
+ }
4995
5091
  },
4996
5092
  {
5093
+ "kind": "field",
4997
5094
  "name": "ariaStateKey",
4998
5095
  "type": {
4999
5096
  "text": "string | undefined"
5000
5097
  },
5001
5098
  "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`",
5002
5099
  "default": "'aria-pressed' (when)",
5003
- "fieldName": "ariaStateKey"
5100
+ "attribute": "ariaStateKey",
5101
+ "reflects": true,
5102
+ "inheritedFrom": {
5103
+ "name": "Buttonsimple",
5104
+ "module": "components/buttonsimple/buttonsimple.component.js"
5105
+ }
5004
5106
  },
5005
5107
  {
5108
+ "kind": "field",
5006
5109
  "name": "type",
5007
5110
  "type": {
5008
5111
  "text": "ButtonType"
5009
5112
  },
5010
5113
  "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.",
5011
5114
  "default": "button",
5012
- "fieldName": "type"
5013
- },
5014
- {
5015
- "name": "autofocus",
5016
- "type": {
5017
- "text": "boolean"
5018
- },
5019
- "default": "false",
5020
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5021
- "fieldName": "autofocus",
5115
+ "attribute": "type",
5116
+ "reflects": true,
5022
5117
  "inheritedFrom": {
5023
- "name": "AutoFocusMixin",
5024
- "module": "src/utils/mixins/AutoFocusMixin.ts"
5118
+ "name": "Buttonsimple",
5119
+ "module": "components/buttonsimple/buttonsimple.component.js"
5025
5120
  }
5026
5121
  },
5027
5122
  {
5028
- "name": "tabIndex",
5029
- "type": {
5030
- "text": "number"
5031
- },
5032
- "default": "0",
5033
- "description": "This property specifies the tab order of the element.",
5034
- "fieldName": "tabIndex",
5123
+ "kind": "method",
5124
+ "name": "executeAction",
5125
+ "privacy": "protected",
5035
5126
  "inheritedFrom": {
5036
- "name": "TabIndexMixin",
5037
- "module": "src/utils/mixins/TabIndexMixin.ts"
5127
+ "name": "Buttonsimple",
5128
+ "module": "components/buttonsimple/buttonsimple.component.js"
5038
5129
  }
5039
5130
  },
5040
5131
  {
5041
- "name": "disabled",
5042
- "type": {
5043
- "text": "boolean | undefined"
5044
- },
5045
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5046
- "default": "undefined",
5047
- "fieldName": "disabled",
5132
+ "kind": "method",
5133
+ "name": "setActive",
5134
+ "privacy": "protected",
5135
+ "parameters": [
5136
+ {
5137
+ "name": "element",
5138
+ "type": {
5139
+ "text": "HTMLElement"
5140
+ },
5141
+ "description": "The button element"
5142
+ },
5143
+ {
5144
+ "name": "active",
5145
+ "optional": true,
5146
+ "type": {
5147
+ "text": "boolean"
5148
+ },
5149
+ "description": "The active state of the element"
5150
+ }
5151
+ ],
5152
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
5048
5153
  "inheritedFrom": {
5049
- "name": "DisabledMixin",
5050
- "module": "src/utils/mixins/DisabledMixin.ts"
5154
+ "name": "Buttonsimple",
5155
+ "module": "components/buttonsimple/buttonsimple.component.js"
5051
5156
  }
5052
- }
5053
- ],
5054
- "mixins": [
5055
- {
5056
- "name": "AutoFocusMixin",
5057
- "module": "/src/utils/mixins/AutoFocusMixin"
5058
- },
5059
- {
5060
- "name": "TabIndexMixin",
5061
- "module": "/src/utils/mixins/TabIndexMixin"
5062
- },
5063
- {
5064
- "name": "DisabledMixin",
5065
- "module": "/src/utils/mixins/DisabledMixin"
5066
- }
5067
- ],
5068
- "superclass": {
5069
- "name": "Component",
5070
- "module": "/src/models"
5071
- },
5072
- "tagName": "mdc-buttonsimple",
5073
- "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 */",
5074
- "customElement": true
5075
- }
5076
- ],
5077
- "exports": [
5078
- {
5079
- "kind": "js",
5080
- "name": "default",
5081
- "declaration": {
5082
- "name": "Buttonsimple",
5083
- "module": "components/buttonsimple/buttonsimple.component.js"
5084
- }
5085
- }
5086
- ]
5087
- },
5088
- {
5089
- "kind": "javascript-module",
5090
- "path": "components/card/card.component.js",
5091
- "declarations": [
5092
- {
5093
- "kind": "class",
5094
- "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'.",
5095
- "name": "Card",
5096
- "cssProperties": [
5097
- {
5098
- "description": "The width of the card",
5099
- "name": "--mdc-card-width"
5100
- }
5101
- ],
5102
- "cssParts": [
5103
- {
5104
- "description": "The header part of the card",
5105
- "name": "header"
5106
- },
5107
- {
5108
- "description": "The icon part of the card header",
5109
- "name": "icon"
5110
- },
5111
- {
5112
- "description": "The body part of the card",
5113
- "name": "body"
5114
- },
5115
- {
5116
- "description": "The image part of the card",
5117
- "name": "image"
5118
5157
  },
5119
5158
  {
5120
- "description": "The footer part of the card",
5121
- "name": "footer"
5159
+ "kind": "method",
5160
+ "name": "setSoftDisabled",
5161
+ "privacy": "private",
5162
+ "parameters": [
5163
+ {
5164
+ "name": "element",
5165
+ "type": {
5166
+ "text": "HTMLElement"
5167
+ },
5168
+ "description": "The button element."
5169
+ },
5170
+ {
5171
+ "name": "softDisabled",
5172
+ "optional": true,
5173
+ "type": {
5174
+ "text": "boolean"
5175
+ },
5176
+ "description": "The soft-disabled state."
5177
+ }
5178
+ ],
5179
+ "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.",
5180
+ "inheritedFrom": {
5181
+ "name": "Buttonsimple",
5182
+ "module": "components/buttonsimple/buttonsimple.component.js"
5183
+ }
5122
5184
  },
5123
5185
  {
5124
- "description": "The link part of the card footer",
5125
- "name": "footer-link"
5186
+ "kind": "method",
5187
+ "name": "setDisabled",
5188
+ "privacy": "private",
5189
+ "parameters": [
5190
+ {
5191
+ "name": "element",
5192
+ "type": {
5193
+ "text": "HTMLElement"
5194
+ },
5195
+ "description": "The button element."
5196
+ },
5197
+ {
5198
+ "name": "disabled",
5199
+ "type": {
5200
+ "text": "boolean"
5201
+ },
5202
+ "description": "The disabled state."
5203
+ }
5204
+ ],
5205
+ "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.",
5206
+ "inheritedFrom": {
5207
+ "name": "Buttonsimple",
5208
+ "module": "components/buttonsimple/buttonsimple.component.js"
5209
+ }
5126
5210
  },
5127
5211
  {
5128
- "description": "The primary button part of the card footer",
5129
- "name": "footer-button-primary"
5212
+ "kind": "method",
5213
+ "name": "triggerClickEvent",
5214
+ "privacy": "private",
5215
+ "inheritedFrom": {
5216
+ "name": "Buttonsimple",
5217
+ "module": "components/buttonsimple/buttonsimple.component.js"
5218
+ }
5130
5219
  },
5131
5220
  {
5132
- "description": "The secondary button part of the card footer",
5133
- "name": "footer-button-secondary"
5221
+ "kind": "method",
5222
+ "name": "handleBlur",
5223
+ "privacy": "private",
5224
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
5225
+ "inheritedFrom": {
5226
+ "name": "Buttonsimple",
5227
+ "module": "components/buttonsimple/buttonsimple.component.js"
5228
+ }
5134
5229
  },
5135
5230
  {
5136
- "description": "The icon button part of the card header",
5137
- "name": "icon-button"
5231
+ "kind": "method",
5232
+ "name": "handleKeyDown",
5233
+ "privacy": "private",
5234
+ "parameters": [
5235
+ {
5236
+ "name": "event",
5237
+ "type": {
5238
+ "text": "KeyboardEvent"
5239
+ },
5240
+ "description": "The keyboard event."
5241
+ }
5242
+ ],
5243
+ "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.",
5244
+ "inheritedFrom": {
5245
+ "name": "Buttonsimple",
5246
+ "module": "components/buttonsimple/buttonsimple.component.js"
5247
+ }
5138
5248
  },
5139
5249
  {
5140
- "description": "The text part of the card",
5141
- "name": "text"
5250
+ "kind": "method",
5251
+ "name": "handleKeyUp",
5252
+ "privacy": "private",
5253
+ "parameters": [
5254
+ {
5255
+ "name": "event",
5256
+ "type": {
5257
+ "text": "KeyboardEvent"
5258
+ },
5259
+ "description": "The keyboard event."
5260
+ }
5261
+ ],
5262
+ "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.",
5263
+ "inheritedFrom": {
5264
+ "name": "Buttonsimple",
5265
+ "module": "components/buttonsimple/buttonsimple.component.js"
5266
+ }
5142
5267
  }
5143
5268
  ],
5144
- "slots": [
5145
- {
5146
- "description": "This slot is for passing the content before the body",
5147
- "name": "before-body"
5148
- },
5149
- {
5150
- "description": "This slot is for passing the text content for the card",
5151
- "name": "body"
5152
- },
5153
- {
5154
- "description": "This slot is for passing the content after the body",
5155
- "name": "after-body"
5156
- },
5269
+ "events": [
5157
5270
  {
5158
- "description": "This slot is for passing `mdc-link` component within the footer section.",
5159
- "name": "footer-link"
5271
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
5272
+ "name": "click",
5273
+ "reactName": "onClick",
5274
+ "inheritedFrom": {
5275
+ "name": "Buttonsimple",
5276
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5277
+ }
5160
5278
  },
5161
5279
  {
5162
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5163
- "name": "footer-button-primary"
5280
+ "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.",
5281
+ "name": "keydown",
5282
+ "reactName": "onKeyDown",
5283
+ "inheritedFrom": {
5284
+ "name": "Buttonsimple",
5285
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5286
+ }
5164
5287
  },
5165
5288
  {
5166
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5167
- "name": "footer-button-secondary"
5289
+ "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.",
5290
+ "name": "keyup",
5291
+ "reactName": "onKeyUp",
5292
+ "inheritedFrom": {
5293
+ "name": "Buttonsimple",
5294
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5295
+ }
5168
5296
  },
5169
5297
  {
5170
- "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.",
5171
- "name": "footer"
5298
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
5299
+ "name": "focus",
5300
+ "reactName": "onFocus",
5301
+ "inheritedFrom": {
5302
+ "name": "Buttonsimple",
5303
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5304
+ }
5172
5305
  }
5173
5306
  ],
5174
- "members": [
5307
+ "mixins": [
5175
5308
  {
5176
- "kind": "method",
5177
- "name": "renderHeader",
5178
- "privacy": "protected",
5179
- "description": "Renders the header of the card if title is provided",
5180
- "return": {
5181
- "type": {
5182
- "text": ""
5183
- }
5184
- }
5185
- },
5309
+ "name": "CardComponentMixin",
5310
+ "module": "/src/utils/mixins/CardComponentMixin"
5311
+ }
5312
+ ],
5313
+ "superclass": {
5314
+ "name": "Buttonsimple",
5315
+ "module": "/src/components/buttonsimple/buttonsimple.component"
5316
+ },
5317
+ "tagName": "mdc-cardbutton",
5318
+ "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 */",
5319
+ "customElement": true,
5320
+ "attributes": [
5186
5321
  {
5187
- "kind": "field",
5188
- "name": "cardTitle",
5322
+ "name": "card-title",
5189
5323
  "type": {
5190
5324
  "text": "string"
5191
5325
  },
5192
5326
  "default": "''",
5193
5327
  "description": "The title of the card - part of header section",
5194
- "attribute": "card-title",
5195
- "reflects": true,
5328
+ "fieldName": "cardTitle",
5196
5329
  "inheritedFrom": {
5197
5330
  "name": "CardComponentMixin",
5198
- "module": "utils/mixins/CardComponentMixin.js"
5331
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5199
5332
  }
5200
5333
  },
5201
5334
  {
5202
- "kind": "field",
5203
5335
  "name": "subtitle",
5204
5336
  "type": {
5205
5337
  "text": "string"
5206
5338
  },
5207
5339
  "default": "''",
5208
5340
  "description": "The subtitle of the card - part of header section",
5209
- "attribute": "subtitle",
5210
- "reflects": true,
5341
+ "fieldName": "subtitle",
5211
5342
  "inheritedFrom": {
5212
5343
  "name": "CardComponentMixin",
5213
- "module": "utils/mixins/CardComponentMixin.js"
5344
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5214
5345
  }
5215
5346
  },
5216
5347
  {
5217
- "kind": "field",
5218
- "name": "imageSrc",
5348
+ "name": "image-src",
5219
5349
  "type": {
5220
5350
  "text": "string"
5221
5351
  },
5222
5352
  "default": "''",
5223
5353
  "description": "The image source URL to render on the card",
5224
- "attribute": "image-src",
5225
- "reflects": true,
5354
+ "fieldName": "imageSrc",
5226
5355
  "inheritedFrom": {
5227
5356
  "name": "CardComponentMixin",
5228
- "module": "utils/mixins/CardComponentMixin.js"
5357
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5229
5358
  }
5230
5359
  },
5231
5360
  {
5232
- "kind": "field",
5233
- "name": "imageAlt",
5361
+ "name": "image-alt",
5234
5362
  "type": {
5235
5363
  "text": "string"
5236
5364
  },
5237
5365
  "default": "''",
5238
5366
  "description": "The image alt for accessibility support",
5239
- "attribute": "image-alt",
5240
- "reflects": true,
5367
+ "fieldName": "imageAlt",
5241
5368
  "inheritedFrom": {
5242
5369
  "name": "CardComponentMixin",
5243
- "module": "utils/mixins/CardComponentMixin.js"
5370
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5244
5371
  }
5245
5372
  },
5246
5373
  {
5247
- "kind": "field",
5248
5374
  "name": "variant",
5249
5375
  "type": {
5250
5376
  "text": "CardVariant"
5251
5377
  },
5252
5378
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5253
5379
  "default": "'border'",
5254
- "attribute": "variant",
5255
- "reflects": true,
5380
+ "fieldName": "variant",
5256
5381
  "inheritedFrom": {
5257
5382
  "name": "CardComponentMixin",
5258
- "module": "utils/mixins/CardComponentMixin.js"
5383
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5259
5384
  }
5260
5385
  },
5261
5386
  {
5262
- "kind": "field",
5263
5387
  "name": "orientation",
5264
5388
  "type": {
5265
5389
  "text": "CardOrientation"
5266
5390
  },
5267
5391
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5268
5392
  "default": "'vertical'",
5269
- "attribute": "orientation",
5270
- "reflects": true,
5393
+ "fieldName": "orientation",
5271
5394
  "inheritedFrom": {
5272
5395
  "name": "CardComponentMixin",
5273
- "module": "utils/mixins/CardComponentMixin.js"
5396
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5274
5397
  }
5275
5398
  },
5276
5399
  {
5277
- "kind": "field",
5278
- "name": "titleTagName",
5400
+ "name": "title-tag-name",
5279
5401
  "type": {
5280
5402
  "text": "TagNameType"
5281
5403
  },
5282
5404
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5283
5405
  "default": "'span'",
5284
- "attribute": "title-tag-name",
5285
- "reflects": true,
5406
+ "fieldName": "titleTagName",
5286
5407
  "inheritedFrom": {
5287
5408
  "name": "CardComponentMixin",
5288
- "module": "utils/mixins/CardComponentMixin.js"
5409
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5289
5410
  }
5290
5411
  },
5291
5412
  {
5292
- "kind": "field",
5293
- "name": "subtitleTagName",
5413
+ "name": "subtitle-tag-name",
5294
5414
  "type": {
5295
5415
  "text": "TagNameType"
5296
5416
  },
5297
5417
  "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5298
5418
  "default": "'span'",
5299
- "attribute": "subtitle-tag-name",
5300
- "reflects": true,
5419
+ "fieldName": "subtitleTagName",
5301
5420
  "inheritedFrom": {
5302
5421
  "name": "CardComponentMixin",
5303
- "module": "utils/mixins/CardComponentMixin.js"
5422
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5304
5423
  }
5305
5424
  },
5306
5425
  {
5307
- "kind": "field",
5308
- "name": "iconName",
5426
+ "name": "icon-name",
5309
5427
  "type": {
5310
5428
  "text": "IconNames | undefined"
5311
5429
  },
5312
5430
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5313
- "attribute": "icon-name",
5314
- "reflects": true,
5431
+ "fieldName": "iconName",
5315
5432
  "inheritedFrom": {
5316
5433
  "name": "CardComponentMixin",
5317
- "module": "utils/mixins/CardComponentMixin.js"
5434
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5318
5435
  }
5319
5436
  },
5320
5437
  {
5321
- "kind": "method",
5322
- "name": "renderImage",
5323
- "privacy": "protected",
5324
- "description": "Renders the image on the card if image source is provided",
5325
- "return": {
5326
- "type": {
5327
- "text": ""
5328
- }
5438
+ "name": "autofocus",
5439
+ "type": {
5440
+ "text": "boolean"
5329
5441
  },
5442
+ "default": "false",
5443
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5444
+ "fieldName": "autofocus",
5330
5445
  "inheritedFrom": {
5331
- "name": "CardComponentMixin",
5332
- "module": "utils/mixins/CardComponentMixin.js"
5446
+ "name": "AutoFocusMixin",
5447
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
5333
5448
  }
5334
5449
  },
5335
5450
  {
5336
- "kind": "method",
5337
- "name": "renderIcon",
5338
- "privacy": "protected",
5339
- "description": "Renders the icon on the card if icon name is provided",
5340
- "return": {
5341
- "type": {
5342
- "text": ""
5343
- }
5451
+ "name": "tabIndex",
5452
+ "type": {
5453
+ "text": "number"
5344
5454
  },
5455
+ "default": "0",
5456
+ "description": "This property specifies the tab order of the element.",
5457
+ "fieldName": "tabIndex",
5345
5458
  "inheritedFrom": {
5346
- "name": "CardComponentMixin",
5347
- "module": "utils/mixins/CardComponentMixin.js"
5459
+ "name": "TabIndexMixin",
5460
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5348
5461
  }
5349
5462
  },
5350
5463
  {
5351
- "kind": "method",
5352
- "name": "renderTitle",
5353
- "privacy": "protected",
5354
- "description": "Renders the title and subtitle on the card",
5355
- "return": {
5356
- "type": {
5357
- "text": ""
5358
- }
5464
+ "name": "disabled",
5465
+ "type": {
5466
+ "text": "boolean | undefined"
5359
5467
  },
5468
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5469
+ "default": "undefined",
5470
+ "fieldName": "disabled",
5360
5471
  "inheritedFrom": {
5361
- "name": "CardComponentMixin",
5362
- "module": "utils/mixins/CardComponentMixin.js"
5472
+ "name": "DisabledMixin",
5473
+ "module": "src/utils/mixins/DisabledMixin.ts"
5363
5474
  }
5364
5475
  },
5365
5476
  {
5366
- "kind": "method",
5367
- "name": "renderFooter",
5368
- "privacy": "protected",
5369
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
5370
- "return": {
5371
- "type": {
5372
- "text": ""
5373
- }
5477
+ "name": "active",
5478
+ "type": {
5479
+ "text": "boolean | undefined"
5374
5480
  },
5481
+ "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.",
5482
+ "default": "undefined",
5483
+ "fieldName": "active",
5375
5484
  "inheritedFrom": {
5376
- "name": "FooterMixin",
5377
- "module": "utils/mixins/FooterMixin.js"
5378
- }
5379
- }
5380
- ],
5381
- "mixins": [
5382
- {
5383
- "name": "CardComponentMixin",
5384
- "module": "/src/utils/mixins/CardComponentMixin"
5385
- },
5386
- {
5387
- "name": "FooterMixin",
5388
- "module": "/src/utils/mixins/FooterMixin"
5389
- }
5390
- ],
5391
- "superclass": {
5392
- "name": "Component",
5393
- "module": "/src/models"
5394
- },
5395
- "tagName": "mdc-card",
5396
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The 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 *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To 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\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\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\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\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 * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
5397
- "customElement": true,
5398
- "attributes": [
5399
- {
5400
- "name": "card-title",
5401
- "type": {
5402
- "text": "string"
5403
- },
5404
- "default": "''",
5405
- "description": "The title of the card - part of header section",
5406
- "fieldName": "cardTitle",
5407
- "inheritedFrom": {
5408
- "name": "CardComponentMixin",
5409
- "module": "src/utils/mixins/CardComponentMixin.ts"
5410
- }
5411
- },
5412
- {
5413
- "name": "subtitle",
5414
- "type": {
5415
- "text": "string"
5416
- },
5417
- "default": "''",
5418
- "description": "The subtitle of the card - part of header section",
5419
- "fieldName": "subtitle",
5420
- "inheritedFrom": {
5421
- "name": "CardComponentMixin",
5422
- "module": "src/utils/mixins/CardComponentMixin.ts"
5423
- }
5424
- },
5425
- {
5426
- "name": "image-src",
5427
- "type": {
5428
- "text": "string"
5429
- },
5430
- "default": "''",
5431
- "description": "The image source URL to render on the card",
5432
- "fieldName": "imageSrc",
5433
- "inheritedFrom": {
5434
- "name": "CardComponentMixin",
5435
- "module": "src/utils/mixins/CardComponentMixin.ts"
5436
- }
5437
- },
5438
- {
5439
- "name": "image-alt",
5440
- "type": {
5441
- "text": "string"
5442
- },
5443
- "default": "''",
5444
- "description": "The image alt for accessibility support",
5445
- "fieldName": "imageAlt",
5446
- "inheritedFrom": {
5447
- "name": "CardComponentMixin",
5448
- "module": "src/utils/mixins/CardComponentMixin.ts"
5485
+ "name": "Buttonsimple",
5486
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5449
5487
  }
5450
5488
  },
5451
5489
  {
5452
- "name": "variant",
5490
+ "name": "soft-disabled",
5453
5491
  "type": {
5454
- "text": "CardVariant"
5492
+ "text": "boolean | undefined"
5455
5493
  },
5456
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
5457
- "default": "'border'",
5458
- "fieldName": "variant",
5494
+ "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.",
5495
+ "default": "undefined",
5496
+ "fieldName": "softDisabled",
5459
5497
  "inheritedFrom": {
5460
- "name": "CardComponentMixin",
5461
- "module": "src/utils/mixins/CardComponentMixin.ts"
5498
+ "name": "Buttonsimple",
5499
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5462
5500
  }
5463
5501
  },
5464
5502
  {
5465
- "name": "orientation",
5503
+ "name": "size",
5466
5504
  "type": {
5467
- "text": "CardOrientation"
5505
+ "text": "ButtonSize"
5468
5506
  },
5469
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
5470
- "default": "'vertical'",
5471
- "fieldName": "orientation",
5507
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5508
+ "default": "32",
5509
+ "fieldName": "size",
5472
5510
  "inheritedFrom": {
5473
- "name": "CardComponentMixin",
5474
- "module": "src/utils/mixins/CardComponentMixin.ts"
5511
+ "name": "Buttonsimple",
5512
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5475
5513
  }
5476
5514
  },
5477
5515
  {
5478
- "name": "title-tag-name",
5516
+ "name": "role",
5479
5517
  "type": {
5480
- "text": "TagNameType"
5518
+ "text": "RoleType"
5481
5519
  },
5482
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
5483
- "default": "'span'",
5484
- "fieldName": "titleTagName",
5520
+ "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.",
5521
+ "default": "button",
5522
+ "fieldName": "role",
5485
5523
  "inheritedFrom": {
5486
- "name": "CardComponentMixin",
5487
- "module": "src/utils/mixins/CardComponentMixin.ts"
5524
+ "name": "Buttonsimple",
5525
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5488
5526
  }
5489
5527
  },
5490
5528
  {
5491
- "name": "subtitle-tag-name",
5529
+ "name": "ariaStateKey",
5492
5530
  "type": {
5493
- "text": "TagNameType"
5531
+ "text": "string | undefined"
5494
5532
  },
5495
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
5496
- "default": "'span'",
5497
- "fieldName": "subtitleTagName",
5533
+ "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`",
5534
+ "default": "'aria-pressed' (when)",
5535
+ "fieldName": "ariaStateKey",
5498
5536
  "inheritedFrom": {
5499
- "name": "CardComponentMixin",
5500
- "module": "src/utils/mixins/CardComponentMixin.ts"
5537
+ "name": "Buttonsimple",
5538
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5501
5539
  }
5502
5540
  },
5503
5541
  {
5504
- "name": "icon-name",
5542
+ "name": "type",
5505
5543
  "type": {
5506
- "text": "IconNames | undefined"
5544
+ "text": "ButtonType"
5507
5545
  },
5508
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
5509
- "fieldName": "iconName",
5546
+ "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.",
5547
+ "default": "button",
5548
+ "fieldName": "type",
5510
5549
  "inheritedFrom": {
5511
- "name": "CardComponentMixin",
5512
- "module": "src/utils/mixins/CardComponentMixin.ts"
5550
+ "name": "Buttonsimple",
5551
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
5513
5552
  }
5514
5553
  }
5515
5554
  ]
@@ -5520,100 +5559,295 @@
5520
5559
  "kind": "js",
5521
5560
  "name": "default",
5522
5561
  "declaration": {
5523
- "name": "Card",
5524
- "module": "components/card/card.component.js"
5562
+ "name": "CardButton",
5563
+ "module": "components/cardbutton/cardbutton.component.js"
5525
5564
  }
5526
5565
  }
5527
5566
  ]
5528
5567
  },
5529
5568
  {
5530
5569
  "kind": "javascript-module",
5531
- "path": "components/cardbutton/cardbutton.component.js",
5570
+ "path": "components/cardcheckbox/cardcheckbox.component.js",
5532
5571
  "declarations": [
5533
5572
  {
5534
5573
  "kind": "class",
5535
- "description": "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.\nMake sure to pass only non-interactable elements within the slots.",
5536
- "name": "CardButton",
5574
+ "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
5575
+ "name": "CardCheckbox",
5537
5576
  "cssProperties": [
5538
5577
  {
5539
5578
  "description": "The width of the card",
5540
- "name": "--mdc-card-width"
5579
+ "name": "--mdc-card-width",
5580
+ "inheritedFrom": {
5581
+ "name": "Card",
5582
+ "module": "src/components/card/card.component.ts"
5583
+ }
5541
5584
  }
5542
5585
  ],
5543
5586
  "cssParts": [
5544
5587
  {
5545
5588
  "description": "The header part of the card",
5546
- "name": "header"
5589
+ "name": "header",
5590
+ "inheritedFrom": {
5591
+ "name": "Card",
5592
+ "module": "src/components/card/card.component.ts"
5593
+ }
5547
5594
  },
5548
5595
  {
5549
5596
  "description": "The icon part of the card header",
5550
- "name": "icon"
5597
+ "name": "icon",
5598
+ "inheritedFrom": {
5599
+ "name": "Card",
5600
+ "module": "src/components/card/card.component.ts"
5601
+ }
5551
5602
  },
5552
5603
  {
5553
5604
  "description": "The body part of the card",
5554
- "name": "body"
5605
+ "name": "body",
5606
+ "inheritedFrom": {
5607
+ "name": "Card",
5608
+ "module": "src/components/card/card.component.ts"
5609
+ }
5555
5610
  },
5556
5611
  {
5557
5612
  "description": "The image part of the card",
5558
- "name": "image"
5613
+ "name": "image",
5614
+ "inheritedFrom": {
5615
+ "name": "Card",
5616
+ "module": "src/components/card/card.component.ts"
5617
+ }
5559
5618
  },
5560
5619
  {
5561
5620
  "description": "The footer part of the card",
5562
- "name": "footer"
5621
+ "name": "footer",
5622
+ "inheritedFrom": {
5623
+ "name": "Card",
5624
+ "module": "src/components/card/card.component.ts"
5625
+ }
5563
5626
  },
5564
5627
  {
5565
5628
  "description": "The link part of the card footer",
5566
- "name": "footer-link"
5629
+ "name": "footer-link",
5630
+ "inheritedFrom": {
5631
+ "name": "Card",
5632
+ "module": "src/components/card/card.component.ts"
5633
+ }
5567
5634
  },
5568
5635
  {
5569
5636
  "description": "The primary button part of the card footer",
5570
- "name": "footer-button-primary"
5637
+ "name": "footer-button-primary",
5638
+ "inheritedFrom": {
5639
+ "name": "Card",
5640
+ "module": "src/components/card/card.component.ts"
5641
+ }
5571
5642
  },
5572
5643
  {
5573
5644
  "description": "The secondary button part of the card footer",
5574
- "name": "footer-button-secondary"
5645
+ "name": "footer-button-secondary",
5646
+ "inheritedFrom": {
5647
+ "name": "Card",
5648
+ "module": "src/components/card/card.component.ts"
5649
+ }
5575
5650
  },
5576
5651
  {
5577
5652
  "description": "The icon button part of the card header",
5578
- "name": "icon-button"
5653
+ "name": "icon-button",
5654
+ "inheritedFrom": {
5655
+ "name": "Card",
5656
+ "module": "src/components/card/card.component.ts"
5657
+ }
5579
5658
  },
5580
5659
  {
5581
5660
  "description": "The text part of the card",
5582
- "name": "text"
5661
+ "name": "text",
5662
+ "inheritedFrom": {
5663
+ "name": "Card",
5664
+ "module": "src/components/card/card.component.ts"
5665
+ }
5666
+ },
5667
+ {
5668
+ "description": "The check part of the card",
5669
+ "name": "check"
5670
+ },
5671
+ {
5672
+ "description": "The check icon part of the card",
5673
+ "name": "check-icon"
5674
+ },
5675
+ {
5676
+ "description": "The check icon button part of the card",
5677
+ "name": "check-icon-button"
5583
5678
  }
5584
5679
  ],
5585
5680
  "slots": [
5586
5681
  {
5587
5682
  "description": "This slot is for passing the content before the body",
5588
- "name": "before-body"
5683
+ "name": "before-body",
5684
+ "inheritedFrom": {
5685
+ "name": "Card",
5686
+ "module": "src/components/card/card.component.ts"
5687
+ }
5589
5688
  },
5590
5689
  {
5591
5690
  "description": "This slot is for passing the text content for the card",
5592
- "name": "body"
5691
+ "name": "body",
5692
+ "inheritedFrom": {
5693
+ "name": "Card",
5694
+ "module": "src/components/card/card.component.ts"
5695
+ }
5593
5696
  },
5594
5697
  {
5595
5698
  "description": "This slot is for passing the content after the body",
5596
- "name": "after-body"
5699
+ "name": "after-body",
5700
+ "inheritedFrom": {
5701
+ "name": "Card",
5702
+ "module": "src/components/card/card.component.ts"
5703
+ }
5597
5704
  },
5598
5705
  {
5599
5706
  "description": "This slot is for passing `mdc-link` component within the footer section.",
5600
- "name": "footer-link"
5707
+ "name": "footer-link",
5708
+ "inheritedFrom": {
5709
+ "name": "Card",
5710
+ "module": "src/components/card/card.component.ts"
5711
+ }
5601
5712
  },
5602
5713
  {
5603
5714
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
5604
- "name": "footer-button-primary"
5715
+ "name": "footer-button-primary",
5716
+ "inheritedFrom": {
5717
+ "name": "Card",
5718
+ "module": "src/components/card/card.component.ts"
5719
+ }
5720
+ },
5721
+ {
5722
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
5723
+ "name": "footer-button-secondary",
5724
+ "inheritedFrom": {
5725
+ "name": "Card",
5726
+ "module": "src/components/card/card.component.ts"
5727
+ }
5728
+ },
5729
+ {
5730
+ "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.",
5731
+ "name": "footer",
5732
+ "inheritedFrom": {
5733
+ "name": "Card",
5734
+ "module": "src/components/card/card.component.ts"
5735
+ }
5605
5736
  }
5606
5737
  ],
5607
5738
  "members": [
5739
+ {
5740
+ "kind": "field",
5741
+ "name": "checked",
5742
+ "type": {
5743
+ "text": "boolean"
5744
+ },
5745
+ "default": "false",
5746
+ "description": "The checked state of the card",
5747
+ "attribute": "checked",
5748
+ "reflects": true
5749
+ },
5750
+ {
5751
+ "kind": "field",
5752
+ "name": "selectionType",
5753
+ "type": {
5754
+ "text": "SelectionType"
5755
+ },
5756
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
5757
+ "default": "'check'",
5758
+ "attribute": "selection-type",
5759
+ "reflects": true
5760
+ },
5761
+ {
5762
+ "kind": "method",
5763
+ "name": "toggleChecked",
5764
+ "privacy": "private",
5765
+ "description": "Toggles the checked state"
5766
+ },
5767
+ {
5768
+ "kind": "method",
5769
+ "name": "toggleOnEnter",
5770
+ "privacy": "private",
5771
+ "parameters": [
5772
+ {
5773
+ "name": "event",
5774
+ "type": {
5775
+ "text": "KeyboardEvent"
5776
+ },
5777
+ "description": "The keyboard event"
5778
+ }
5779
+ ],
5780
+ "description": "Toggles the checked state when enter key is used"
5781
+ },
5782
+ {
5783
+ "kind": "method",
5784
+ "name": "toggleOnSpace",
5785
+ "privacy": "private",
5786
+ "parameters": [
5787
+ {
5788
+ "name": "event",
5789
+ "type": {
5790
+ "text": "KeyboardEvent"
5791
+ },
5792
+ "description": "The keyboard event"
5793
+ }
5794
+ ],
5795
+ "description": "Toggles the checked state when space key is used"
5796
+ },
5797
+ {
5798
+ "kind": "method",
5799
+ "name": "renderSelection",
5800
+ "privacy": "private",
5801
+ "description": "Renders the selection icon or checkbox based on the selection type",
5802
+ "return": {
5803
+ "type": {
5804
+ "text": ""
5805
+ }
5806
+ }
5807
+ },
5608
5808
  {
5609
5809
  "kind": "method",
5610
5810
  "name": "renderHeader",
5611
5811
  "privacy": "protected",
5612
- "description": "Renders the header of the card if title is provided",
5812
+ "description": "Renders the header of the card",
5613
5813
  "return": {
5614
5814
  "type": {
5615
5815
  "text": ""
5616
5816
  }
5817
+ },
5818
+ "inheritedFrom": {
5819
+ "name": "Card",
5820
+ "module": "components/card/card.component.js"
5821
+ }
5822
+ },
5823
+ {
5824
+ "kind": "field",
5825
+ "name": "disabled",
5826
+ "type": {
5827
+ "text": "boolean | undefined"
5828
+ },
5829
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5830
+ "default": "undefined",
5831
+ "attribute": "disabled",
5832
+ "reflects": true,
5833
+ "inheritedFrom": {
5834
+ "name": "DisabledMixin",
5835
+ "module": "utils/mixins/DisabledMixin.js"
5836
+ }
5837
+ },
5838
+ {
5839
+ "kind": "field",
5840
+ "name": "tabIndex",
5841
+ "type": {
5842
+ "text": "number"
5843
+ },
5844
+ "default": "0",
5845
+ "description": "This property specifies the tab order of the element.",
5846
+ "attribute": "tabIndex",
5847
+ "reflects": true,
5848
+ "inheritedFrom": {
5849
+ "name": "TabIndexMixin",
5850
+ "module": "utils/mixins/TabIndexMixin.js"
5617
5851
  }
5618
5852
  },
5619
5853
  {
@@ -5796,854 +6030,883 @@
5796
6030
  }
5797
6031
  },
5798
6032
  {
5799
- "kind": "field",
5800
- "name": "autofocus",
6033
+ "kind": "method",
6034
+ "name": "renderFooter",
6035
+ "privacy": "protected",
6036
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6037
+ "return": {
6038
+ "type": {
6039
+ "text": ""
6040
+ }
6041
+ },
6042
+ "inheritedFrom": {
6043
+ "name": "FooterMixin",
6044
+ "module": "utils/mixins/FooterMixin.js"
6045
+ }
6046
+ }
6047
+ ],
6048
+ "events": [
6049
+ {
6050
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6051
+ "name": "click",
6052
+ "reactName": "onClick"
6053
+ },
6054
+ {
6055
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6056
+ "name": "keydown",
6057
+ "reactName": "onKeyDown"
6058
+ },
6059
+ {
6060
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6061
+ "name": "keyup",
6062
+ "reactName": "onKeyUp"
6063
+ },
6064
+ {
6065
+ "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6066
+ "name": "change",
6067
+ "reactName": "onChange"
6068
+ },
6069
+ {
6070
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6071
+ "name": "focus",
6072
+ "reactName": "onFocus"
6073
+ }
6074
+ ],
6075
+ "attributes": [
6076
+ {
6077
+ "name": "checked",
5801
6078
  "type": {
5802
6079
  "text": "boolean"
5803
6080
  },
5804
6081
  "default": "false",
5805
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
5806
- "attribute": "autofocus",
5807
- "reflects": true,
5808
- "inheritedFrom": {
5809
- "name": "Buttonsimple",
5810
- "module": "components/buttonsimple/buttonsimple.component.js"
5811
- }
6082
+ "description": "The checked state of the card",
6083
+ "fieldName": "checked"
5812
6084
  },
5813
6085
  {
5814
- "kind": "field",
5815
- "name": "tabIndex",
6086
+ "name": "selection-type",
5816
6087
  "type": {
5817
- "text": "number"
6088
+ "text": "SelectionType"
5818
6089
  },
5819
- "default": "0",
5820
- "description": "This property specifies the tab order of the element.",
5821
- "attribute": "tabIndex",
5822
- "reflects": true,
5823
- "inheritedFrom": {
5824
- "name": "Buttonsimple",
5825
- "module": "components/buttonsimple/buttonsimple.component.js"
5826
- }
6090
+ "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6091
+ "default": "'check'",
6092
+ "fieldName": "selectionType"
5827
6093
  },
5828
6094
  {
5829
- "kind": "field",
5830
6095
  "name": "disabled",
5831
6096
  "type": {
5832
6097
  "text": "boolean | undefined"
5833
6098
  },
5834
6099
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
5835
6100
  "default": "undefined",
5836
- "attribute": "disabled",
5837
- "reflects": true,
6101
+ "fieldName": "disabled",
5838
6102
  "inheritedFrom": {
5839
- "name": "Buttonsimple",
5840
- "module": "components/buttonsimple/buttonsimple.component.js"
6103
+ "name": "DisabledMixin",
6104
+ "module": "src/utils/mixins/DisabledMixin.ts"
5841
6105
  }
5842
6106
  },
5843
6107
  {
5844
- "kind": "field",
5845
- "name": "active",
6108
+ "name": "tabIndex",
5846
6109
  "type": {
5847
- "text": "boolean | undefined"
6110
+ "text": "number"
5848
6111
  },
5849
- "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.",
5850
- "default": "undefined",
5851
- "attribute": "active",
5852
- "reflects": true,
6112
+ "default": "0",
6113
+ "description": "This property specifies the tab order of the element.",
6114
+ "fieldName": "tabIndex",
5853
6115
  "inheritedFrom": {
5854
- "name": "Buttonsimple",
5855
- "module": "components/buttonsimple/buttonsimple.component.js"
6116
+ "name": "TabIndexMixin",
6117
+ "module": "src/utils/mixins/TabIndexMixin.ts"
5856
6118
  }
5857
6119
  },
5858
6120
  {
5859
- "kind": "field",
5860
- "name": "softDisabled",
6121
+ "name": "card-title",
5861
6122
  "type": {
5862
- "text": "boolean | undefined"
6123
+ "text": "string"
5863
6124
  },
5864
- "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.",
5865
- "default": "undefined",
5866
- "attribute": "soft-disabled",
5867
- "reflects": true,
6125
+ "default": "''",
6126
+ "description": "The title of the card - part of header section",
6127
+ "fieldName": "cardTitle",
5868
6128
  "inheritedFrom": {
5869
- "name": "Buttonsimple",
5870
- "module": "components/buttonsimple/buttonsimple.component.js"
6129
+ "name": "CardComponentMixin",
6130
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5871
6131
  }
5872
6132
  },
5873
6133
  {
5874
- "kind": "field",
5875
- "name": "size",
6134
+ "name": "subtitle",
5876
6135
  "type": {
5877
- "text": "ButtonSize"
6136
+ "text": "string"
5878
6137
  },
5879
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
5880
- "default": "32",
5881
- "attribute": "size",
5882
- "reflects": true,
6138
+ "default": "''",
6139
+ "description": "The subtitle of the card - part of header section",
6140
+ "fieldName": "subtitle",
5883
6141
  "inheritedFrom": {
5884
- "name": "Buttonsimple",
5885
- "module": "components/buttonsimple/buttonsimple.component.js"
6142
+ "name": "CardComponentMixin",
6143
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5886
6144
  }
5887
6145
  },
5888
6146
  {
5889
- "kind": "field",
5890
- "name": "role",
6147
+ "name": "image-src",
5891
6148
  "type": {
5892
- "text": "RoleType"
6149
+ "text": "string"
5893
6150
  },
5894
- "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.",
5895
- "default": "button",
5896
- "attribute": "role",
5897
- "reflects": true,
6151
+ "default": "''",
6152
+ "description": "The image source URL to render on the card",
6153
+ "fieldName": "imageSrc",
5898
6154
  "inheritedFrom": {
5899
- "name": "Buttonsimple",
5900
- "module": "components/buttonsimple/buttonsimple.component.js"
6155
+ "name": "CardComponentMixin",
6156
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5901
6157
  }
5902
6158
  },
5903
6159
  {
5904
- "kind": "field",
5905
- "name": "ariaStateKey",
6160
+ "name": "image-alt",
5906
6161
  "type": {
5907
- "text": "string | undefined"
6162
+ "text": "string"
5908
6163
  },
5909
- "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`",
5910
- "default": "'aria-pressed' (when)",
5911
- "attribute": "ariaStateKey",
5912
- "reflects": true,
6164
+ "default": "''",
6165
+ "description": "The image alt for accessibility support",
6166
+ "fieldName": "imageAlt",
5913
6167
  "inheritedFrom": {
5914
- "name": "Buttonsimple",
5915
- "module": "components/buttonsimple/buttonsimple.component.js"
6168
+ "name": "CardComponentMixin",
6169
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5916
6170
  }
5917
6171
  },
5918
6172
  {
5919
- "kind": "field",
5920
- "name": "type",
6173
+ "name": "variant",
5921
6174
  "type": {
5922
- "text": "ButtonType"
6175
+ "text": "CardVariant"
5923
6176
  },
5924
- "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.",
5925
- "default": "button",
5926
- "attribute": "type",
5927
- "reflects": true,
6177
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6178
+ "default": "'border'",
6179
+ "fieldName": "variant",
5928
6180
  "inheritedFrom": {
5929
- "name": "Buttonsimple",
5930
- "module": "components/buttonsimple/buttonsimple.component.js"
6181
+ "name": "CardComponentMixin",
6182
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5931
6183
  }
5932
6184
  },
5933
6185
  {
5934
- "kind": "method",
5935
- "name": "executeAction",
5936
- "privacy": "protected",
6186
+ "name": "orientation",
6187
+ "type": {
6188
+ "text": "CardOrientation"
6189
+ },
6190
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6191
+ "default": "'vertical'",
6192
+ "fieldName": "orientation",
5937
6193
  "inheritedFrom": {
5938
- "name": "Buttonsimple",
5939
- "module": "components/buttonsimple/buttonsimple.component.js"
6194
+ "name": "CardComponentMixin",
6195
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5940
6196
  }
5941
6197
  },
5942
6198
  {
5943
- "kind": "method",
5944
- "name": "setActive",
5945
- "privacy": "protected",
5946
- "parameters": [
5947
- {
5948
- "name": "element",
5949
- "type": {
5950
- "text": "HTMLElement"
5951
- },
5952
- "description": "The button element"
5953
- },
5954
- {
5955
- "name": "active",
5956
- "optional": true,
5957
- "type": {
5958
- "text": "boolean"
5959
- },
5960
- "description": "The active state of the element"
5961
- }
5962
- ],
5963
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
6199
+ "name": "title-tag-name",
6200
+ "type": {
6201
+ "text": "TagNameType"
6202
+ },
6203
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6204
+ "default": "'span'",
6205
+ "fieldName": "titleTagName",
5964
6206
  "inheritedFrom": {
5965
- "name": "Buttonsimple",
5966
- "module": "components/buttonsimple/buttonsimple.component.js"
6207
+ "name": "CardComponentMixin",
6208
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5967
6209
  }
5968
6210
  },
5969
6211
  {
5970
- "kind": "method",
5971
- "name": "setSoftDisabled",
5972
- "privacy": "private",
5973
- "parameters": [
5974
- {
5975
- "name": "element",
5976
- "type": {
5977
- "text": "HTMLElement"
5978
- },
5979
- "description": "The button element."
5980
- },
5981
- {
5982
- "name": "softDisabled",
5983
- "optional": true,
5984
- "type": {
5985
- "text": "boolean"
5986
- },
5987
- "description": "The soft-disabled state."
5988
- }
5989
- ],
5990
- "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.",
6212
+ "name": "subtitle-tag-name",
6213
+ "type": {
6214
+ "text": "TagNameType"
6215
+ },
6216
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6217
+ "default": "'span'",
6218
+ "fieldName": "subtitleTagName",
5991
6219
  "inheritedFrom": {
5992
- "name": "Buttonsimple",
5993
- "module": "components/buttonsimple/buttonsimple.component.js"
6220
+ "name": "CardComponentMixin",
6221
+ "module": "src/utils/mixins/CardComponentMixin.ts"
5994
6222
  }
5995
6223
  },
5996
6224
  {
5997
- "kind": "method",
5998
- "name": "setDisabled",
5999
- "privacy": "private",
6000
- "parameters": [
6001
- {
6002
- "name": "element",
6003
- "type": {
6004
- "text": "HTMLElement"
6005
- },
6006
- "description": "The button element."
6007
- },
6008
- {
6009
- "name": "disabled",
6010
- "type": {
6011
- "text": "boolean"
6012
- },
6013
- "description": "The disabled state."
6014
- }
6015
- ],
6016
- "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.",
6225
+ "name": "icon-name",
6226
+ "type": {
6227
+ "text": "IconNames | undefined"
6228
+ },
6229
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6230
+ "fieldName": "iconName",
6017
6231
  "inheritedFrom": {
6018
- "name": "Buttonsimple",
6019
- "module": "components/buttonsimple/buttonsimple.component.js"
6232
+ "name": "CardComponentMixin",
6233
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6020
6234
  }
6235
+ }
6236
+ ],
6237
+ "mixins": [
6238
+ {
6239
+ "name": "DisabledMixin",
6240
+ "module": "/src/utils/mixins/DisabledMixin"
6021
6241
  },
6022
6242
  {
6023
- "kind": "method",
6024
- "name": "triggerClickEvent",
6025
- "privacy": "private",
6026
- "inheritedFrom": {
6027
- "name": "Buttonsimple",
6028
- "module": "components/buttonsimple/buttonsimple.component.js"
6029
- }
6243
+ "name": "TabIndexMixin",
6244
+ "module": "/src/utils/mixins/TabIndexMixin"
6245
+ }
6246
+ ],
6247
+ "superclass": {
6248
+ "name": "Card",
6249
+ "module": "/src/components/card/card.component"
6250
+ },
6251
+ "tagName": "mdc-cardcheckbox",
6252
+ "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\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 * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
6253
+ "customElement": true
6254
+ }
6255
+ ],
6256
+ "exports": [
6257
+ {
6258
+ "kind": "js",
6259
+ "name": "default",
6260
+ "declaration": {
6261
+ "name": "CardCheckbox",
6262
+ "module": "components/cardcheckbox/cardcheckbox.component.js"
6263
+ }
6264
+ }
6265
+ ]
6266
+ },
6267
+ {
6268
+ "kind": "javascript-module",
6269
+ "path": "components/card/card.component.js",
6270
+ "declarations": [
6271
+ {
6272
+ "kind": "class",
6273
+ "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'.",
6274
+ "name": "Card",
6275
+ "cssProperties": [
6276
+ {
6277
+ "description": "The width of the card",
6278
+ "name": "--mdc-card-width"
6279
+ }
6280
+ ],
6281
+ "cssParts": [
6282
+ {
6283
+ "description": "The header part of the card",
6284
+ "name": "header"
6030
6285
  },
6031
6286
  {
6032
- "kind": "method",
6033
- "name": "handleBlur",
6034
- "privacy": "private",
6035
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
6036
- "inheritedFrom": {
6037
- "name": "Buttonsimple",
6038
- "module": "components/buttonsimple/buttonsimple.component.js"
6039
- }
6287
+ "description": "The icon part of the card header",
6288
+ "name": "icon"
6040
6289
  },
6041
6290
  {
6042
- "kind": "method",
6043
- "name": "handleKeyDown",
6044
- "privacy": "private",
6045
- "parameters": [
6046
- {
6047
- "name": "event",
6048
- "type": {
6049
- "text": "KeyboardEvent"
6050
- },
6051
- "description": "The keyboard event."
6052
- }
6053
- ],
6054
- "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.",
6055
- "inheritedFrom": {
6056
- "name": "Buttonsimple",
6057
- "module": "components/buttonsimple/buttonsimple.component.js"
6058
- }
6291
+ "description": "The body part of the card",
6292
+ "name": "body"
6059
6293
  },
6060
6294
  {
6061
- "kind": "method",
6062
- "name": "handleKeyUp",
6063
- "privacy": "private",
6064
- "parameters": [
6065
- {
6066
- "name": "event",
6067
- "type": {
6068
- "text": "KeyboardEvent"
6069
- },
6070
- "description": "The keyboard event."
6071
- }
6072
- ],
6073
- "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.",
6074
- "inheritedFrom": {
6075
- "name": "Buttonsimple",
6076
- "module": "components/buttonsimple/buttonsimple.component.js"
6077
- }
6078
- }
6079
- ],
6080
- "events": [
6295
+ "description": "The image part of the card",
6296
+ "name": "image"
6297
+ },
6081
6298
  {
6082
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
6083
- "name": "click",
6084
- "reactName": "onClick",
6085
- "inheritedFrom": {
6086
- "name": "Buttonsimple",
6087
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6088
- }
6299
+ "description": "The footer part of the card",
6300
+ "name": "footer"
6089
6301
  },
6090
6302
  {
6091
- "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.",
6092
- "name": "keydown",
6093
- "reactName": "onKeyDown",
6094
- "inheritedFrom": {
6095
- "name": "Buttonsimple",
6096
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6097
- }
6303
+ "description": "The link part of the card footer",
6304
+ "name": "footer-link"
6098
6305
  },
6099
6306
  {
6100
- "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.",
6101
- "name": "keyup",
6102
- "reactName": "onKeyUp",
6103
- "inheritedFrom": {
6104
- "name": "Buttonsimple",
6105
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6106
- }
6307
+ "description": "The primary button part of the card footer",
6308
+ "name": "footer-button-primary"
6107
6309
  },
6108
6310
  {
6109
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6110
- "name": "focus",
6111
- "reactName": "onFocus",
6112
- "inheritedFrom": {
6113
- "name": "Buttonsimple",
6114
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6115
- }
6311
+ "description": "The secondary button part of the card footer",
6312
+ "name": "footer-button-secondary"
6313
+ },
6314
+ {
6315
+ "description": "The icon button part of the card header",
6316
+ "name": "icon-button"
6317
+ },
6318
+ {
6319
+ "description": "The text part of the card",
6320
+ "name": "text"
6116
6321
  }
6117
6322
  ],
6118
- "mixins": [
6323
+ "slots": [
6119
6324
  {
6120
- "name": "CardComponentMixin",
6121
- "module": "/src/utils/mixins/CardComponentMixin"
6325
+ "description": "This slot is for passing the content before the body",
6326
+ "name": "before-body"
6327
+ },
6328
+ {
6329
+ "description": "This slot is for passing the text content for the card",
6330
+ "name": "body"
6331
+ },
6332
+ {
6333
+ "description": "This slot is for passing the content after the body",
6334
+ "name": "after-body"
6335
+ },
6336
+ {
6337
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
6338
+ "name": "footer-link"
6339
+ },
6340
+ {
6341
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6342
+ "name": "footer-button-primary"
6343
+ },
6344
+ {
6345
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6346
+ "name": "footer-button-secondary"
6347
+ },
6348
+ {
6349
+ "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.",
6350
+ "name": "footer"
6122
6351
  }
6123
6352
  ],
6124
- "superclass": {
6125
- "name": "Buttonsimple",
6126
- "module": "/src/components/buttonsimple/buttonsimple.component"
6127
- },
6128
- "tagName": "mdc-cardbutton",
6129
- "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 */",
6130
- "customElement": true,
6131
- "attributes": [
6353
+ "members": [
6132
6354
  {
6133
- "name": "card-title",
6355
+ "kind": "method",
6356
+ "name": "renderHeader",
6357
+ "privacy": "protected",
6358
+ "description": "Renders the header of the card if title is provided",
6359
+ "return": {
6360
+ "type": {
6361
+ "text": ""
6362
+ }
6363
+ }
6364
+ },
6365
+ {
6366
+ "kind": "field",
6367
+ "name": "cardTitle",
6134
6368
  "type": {
6135
6369
  "text": "string"
6136
6370
  },
6137
6371
  "default": "''",
6138
6372
  "description": "The title of the card - part of header section",
6139
- "fieldName": "cardTitle",
6373
+ "attribute": "card-title",
6374
+ "reflects": true,
6140
6375
  "inheritedFrom": {
6141
6376
  "name": "CardComponentMixin",
6142
- "module": "src/utils/mixins/CardComponentMixin.ts"
6377
+ "module": "utils/mixins/CardComponentMixin.js"
6143
6378
  }
6144
6379
  },
6145
6380
  {
6381
+ "kind": "field",
6146
6382
  "name": "subtitle",
6147
6383
  "type": {
6148
6384
  "text": "string"
6149
6385
  },
6150
6386
  "default": "''",
6151
6387
  "description": "The subtitle of the card - part of header section",
6152
- "fieldName": "subtitle",
6388
+ "attribute": "subtitle",
6389
+ "reflects": true,
6153
6390
  "inheritedFrom": {
6154
6391
  "name": "CardComponentMixin",
6155
- "module": "src/utils/mixins/CardComponentMixin.ts"
6392
+ "module": "utils/mixins/CardComponentMixin.js"
6156
6393
  }
6157
6394
  },
6158
6395
  {
6159
- "name": "image-src",
6396
+ "kind": "field",
6397
+ "name": "imageSrc",
6160
6398
  "type": {
6161
6399
  "text": "string"
6162
6400
  },
6163
6401
  "default": "''",
6164
6402
  "description": "The image source URL to render on the card",
6165
- "fieldName": "imageSrc",
6403
+ "attribute": "image-src",
6404
+ "reflects": true,
6166
6405
  "inheritedFrom": {
6167
6406
  "name": "CardComponentMixin",
6168
- "module": "src/utils/mixins/CardComponentMixin.ts"
6407
+ "module": "utils/mixins/CardComponentMixin.js"
6169
6408
  }
6170
6409
  },
6171
6410
  {
6172
- "name": "image-alt",
6411
+ "kind": "field",
6412
+ "name": "imageAlt",
6173
6413
  "type": {
6174
6414
  "text": "string"
6175
6415
  },
6176
6416
  "default": "''",
6177
6417
  "description": "The image alt for accessibility support",
6178
- "fieldName": "imageAlt",
6418
+ "attribute": "image-alt",
6419
+ "reflects": true,
6179
6420
  "inheritedFrom": {
6180
6421
  "name": "CardComponentMixin",
6181
- "module": "src/utils/mixins/CardComponentMixin.ts"
6422
+ "module": "utils/mixins/CardComponentMixin.js"
6182
6423
  }
6183
6424
  },
6184
6425
  {
6426
+ "kind": "field",
6185
6427
  "name": "variant",
6186
6428
  "type": {
6187
6429
  "text": "CardVariant"
6188
6430
  },
6189
6431
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6190
6432
  "default": "'border'",
6191
- "fieldName": "variant",
6433
+ "attribute": "variant",
6434
+ "reflects": true,
6192
6435
  "inheritedFrom": {
6193
6436
  "name": "CardComponentMixin",
6194
- "module": "src/utils/mixins/CardComponentMixin.ts"
6437
+ "module": "utils/mixins/CardComponentMixin.js"
6195
6438
  }
6196
6439
  },
6197
6440
  {
6441
+ "kind": "field",
6198
6442
  "name": "orientation",
6199
6443
  "type": {
6200
6444
  "text": "CardOrientation"
6201
6445
  },
6202
6446
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6203
6447
  "default": "'vertical'",
6204
- "fieldName": "orientation",
6448
+ "attribute": "orientation",
6449
+ "reflects": true,
6205
6450
  "inheritedFrom": {
6206
6451
  "name": "CardComponentMixin",
6207
- "module": "src/utils/mixins/CardComponentMixin.ts"
6452
+ "module": "utils/mixins/CardComponentMixin.js"
6208
6453
  }
6209
6454
  },
6210
6455
  {
6211
- "name": "title-tag-name",
6456
+ "kind": "field",
6457
+ "name": "titleTagName",
6212
6458
  "type": {
6213
6459
  "text": "TagNameType"
6214
6460
  },
6215
6461
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6216
6462
  "default": "'span'",
6217
- "fieldName": "titleTagName",
6463
+ "attribute": "title-tag-name",
6464
+ "reflects": true,
6218
6465
  "inheritedFrom": {
6219
6466
  "name": "CardComponentMixin",
6220
- "module": "src/utils/mixins/CardComponentMixin.ts"
6467
+ "module": "utils/mixins/CardComponentMixin.js"
6221
6468
  }
6222
6469
  },
6223
6470
  {
6224
- "name": "subtitle-tag-name",
6471
+ "kind": "field",
6472
+ "name": "subtitleTagName",
6225
6473
  "type": {
6226
6474
  "text": "TagNameType"
6227
6475
  },
6228
6476
  "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6229
6477
  "default": "'span'",
6230
- "fieldName": "subtitleTagName",
6478
+ "attribute": "subtitle-tag-name",
6479
+ "reflects": true,
6231
6480
  "inheritedFrom": {
6232
6481
  "name": "CardComponentMixin",
6233
- "module": "src/utils/mixins/CardComponentMixin.ts"
6482
+ "module": "utils/mixins/CardComponentMixin.js"
6234
6483
  }
6235
6484
  },
6236
6485
  {
6237
- "name": "icon-name",
6486
+ "kind": "field",
6487
+ "name": "iconName",
6238
6488
  "type": {
6239
6489
  "text": "IconNames | undefined"
6240
6490
  },
6241
6491
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6242
- "fieldName": "iconName",
6492
+ "attribute": "icon-name",
6493
+ "reflects": true,
6243
6494
  "inheritedFrom": {
6244
6495
  "name": "CardComponentMixin",
6245
- "module": "src/utils/mixins/CardComponentMixin.ts"
6496
+ "module": "utils/mixins/CardComponentMixin.js"
6246
6497
  }
6247
6498
  },
6248
6499
  {
6249
- "name": "autofocus",
6250
- "type": {
6251
- "text": "boolean"
6500
+ "kind": "method",
6501
+ "name": "renderImage",
6502
+ "privacy": "protected",
6503
+ "description": "Renders the image on the card if image source is provided",
6504
+ "return": {
6505
+ "type": {
6506
+ "text": ""
6507
+ }
6252
6508
  },
6253
- "default": "false",
6254
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
6255
- "fieldName": "autofocus",
6256
6509
  "inheritedFrom": {
6257
- "name": "Buttonsimple",
6258
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6510
+ "name": "CardComponentMixin",
6511
+ "module": "utils/mixins/CardComponentMixin.js"
6259
6512
  }
6260
6513
  },
6261
6514
  {
6262
- "name": "tabIndex",
6263
- "type": {
6264
- "text": "number"
6515
+ "kind": "method",
6516
+ "name": "renderIcon",
6517
+ "privacy": "protected",
6518
+ "description": "Renders the icon on the card if icon name is provided",
6519
+ "return": {
6520
+ "type": {
6521
+ "text": ""
6522
+ }
6265
6523
  },
6266
- "default": "0",
6267
- "description": "This property specifies the tab order of the element.",
6268
- "fieldName": "tabIndex",
6269
6524
  "inheritedFrom": {
6270
- "name": "Buttonsimple",
6271
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6525
+ "name": "CardComponentMixin",
6526
+ "module": "utils/mixins/CardComponentMixin.js"
6272
6527
  }
6273
6528
  },
6274
6529
  {
6275
- "name": "disabled",
6276
- "type": {
6277
- "text": "boolean | undefined"
6530
+ "kind": "method",
6531
+ "name": "renderTitle",
6532
+ "privacy": "protected",
6533
+ "description": "Renders the title and subtitle on the card",
6534
+ "return": {
6535
+ "type": {
6536
+ "text": ""
6537
+ }
6278
6538
  },
6279
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6280
- "default": "undefined",
6281
- "fieldName": "disabled",
6282
6539
  "inheritedFrom": {
6283
- "name": "Buttonsimple",
6284
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6540
+ "name": "CardComponentMixin",
6541
+ "module": "utils/mixins/CardComponentMixin.js"
6285
6542
  }
6286
6543
  },
6287
6544
  {
6288
- "name": "active",
6289
- "type": {
6290
- "text": "boolean | undefined"
6545
+ "kind": "method",
6546
+ "name": "renderFooter",
6547
+ "privacy": "protected",
6548
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6549
+ "return": {
6550
+ "type": {
6551
+ "text": ""
6552
+ }
6291
6553
  },
6292
- "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.",
6293
- "default": "undefined",
6294
- "fieldName": "active",
6295
6554
  "inheritedFrom": {
6296
- "name": "Buttonsimple",
6297
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6555
+ "name": "FooterMixin",
6556
+ "module": "utils/mixins/FooterMixin.js"
6298
6557
  }
6299
- },
6558
+ }
6559
+ ],
6560
+ "mixins": [
6300
6561
  {
6301
- "name": "soft-disabled",
6302
- "type": {
6303
- "text": "boolean | undefined"
6304
- },
6305
- "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.",
6306
- "default": "undefined",
6307
- "fieldName": "softDisabled",
6308
- "inheritedFrom": {
6309
- "name": "Buttonsimple",
6310
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6311
- }
6562
+ "name": "CardComponentMixin",
6563
+ "module": "/src/utils/mixins/CardComponentMixin"
6312
6564
  },
6313
6565
  {
6314
- "name": "size",
6566
+ "name": "FooterMixin",
6567
+ "module": "/src/utils/mixins/FooterMixin"
6568
+ }
6569
+ ],
6570
+ "superclass": {
6571
+ "name": "Component",
6572
+ "module": "/src/models"
6573
+ },
6574
+ "tagName": "mdc-card",
6575
+ "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The 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 *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To 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\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\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\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\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 * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
6576
+ "customElement": true,
6577
+ "attributes": [
6578
+ {
6579
+ "name": "card-title",
6315
6580
  "type": {
6316
- "text": "ButtonSize"
6581
+ "text": "string"
6317
6582
  },
6318
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6319
- "default": "32",
6320
- "fieldName": "size",
6583
+ "default": "''",
6584
+ "description": "The title of the card - part of header section",
6585
+ "fieldName": "cardTitle",
6321
6586
  "inheritedFrom": {
6322
- "name": "Buttonsimple",
6323
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6587
+ "name": "CardComponentMixin",
6588
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6324
6589
  }
6325
6590
  },
6326
6591
  {
6327
- "name": "role",
6592
+ "name": "subtitle",
6328
6593
  "type": {
6329
- "text": "RoleType"
6594
+ "text": "string"
6330
6595
  },
6331
- "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.",
6332
- "default": "button",
6333
- "fieldName": "role",
6596
+ "default": "''",
6597
+ "description": "The subtitle of the card - part of header section",
6598
+ "fieldName": "subtitle",
6334
6599
  "inheritedFrom": {
6335
- "name": "Buttonsimple",
6336
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6600
+ "name": "CardComponentMixin",
6601
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6337
6602
  }
6338
6603
  },
6339
6604
  {
6340
- "name": "ariaStateKey",
6605
+ "name": "image-src",
6341
6606
  "type": {
6342
- "text": "string | undefined"
6607
+ "text": "string"
6343
6608
  },
6344
- "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`",
6345
- "default": "'aria-pressed' (when)",
6346
- "fieldName": "ariaStateKey",
6609
+ "default": "''",
6610
+ "description": "The image source URL to render on the card",
6611
+ "fieldName": "imageSrc",
6347
6612
  "inheritedFrom": {
6348
- "name": "Buttonsimple",
6349
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6613
+ "name": "CardComponentMixin",
6614
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6350
6615
  }
6351
6616
  },
6352
6617
  {
6353
- "name": "type",
6618
+ "name": "image-alt",
6354
6619
  "type": {
6355
- "text": "ButtonType"
6620
+ "text": "string"
6356
6621
  },
6357
- "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.",
6358
- "default": "button",
6359
- "fieldName": "type",
6360
- "inheritedFrom": {
6361
- "name": "Buttonsimple",
6362
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
6363
- }
6364
- }
6365
- ]
6366
- }
6367
- ],
6368
- "exports": [
6369
- {
6370
- "kind": "js",
6371
- "name": "default",
6372
- "declaration": {
6373
- "name": "CardButton",
6374
- "module": "components/cardbutton/cardbutton.component.js"
6375
- }
6376
- }
6377
- ]
6378
- },
6379
- {
6380
- "kind": "javascript-module",
6381
- "path": "components/cardcheckbox/cardcheckbox.component.js",
6382
- "declarations": [
6383
- {
6384
- "kind": "class",
6385
- "description": "cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n\nWhile using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\nThis card would have events for selected and unselected (similar to checkbox)\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\nMake sure to pass only non-interactable elements within the slots.\n\nMake sure to pass the `card-title` mandatorily for this card.",
6386
- "name": "CardCheckbox",
6387
- "cssProperties": [
6388
- {
6389
- "description": "The width of the card",
6390
- "name": "--mdc-card-width",
6391
- "inheritedFrom": {
6392
- "name": "Card",
6393
- "module": "src/components/card/card.component.ts"
6394
- }
6395
- }
6396
- ],
6397
- "cssParts": [
6398
- {
6399
- "description": "The header part of the card",
6400
- "name": "header",
6401
- "inheritedFrom": {
6402
- "name": "Card",
6403
- "module": "src/components/card/card.component.ts"
6404
- }
6405
- },
6406
- {
6407
- "description": "The icon part of the card header",
6408
- "name": "icon",
6409
- "inheritedFrom": {
6410
- "name": "Card",
6411
- "module": "src/components/card/card.component.ts"
6412
- }
6413
- },
6414
- {
6415
- "description": "The body part of the card",
6416
- "name": "body",
6417
- "inheritedFrom": {
6418
- "name": "Card",
6419
- "module": "src/components/card/card.component.ts"
6420
- }
6421
- },
6422
- {
6423
- "description": "The image part of the card",
6424
- "name": "image",
6425
- "inheritedFrom": {
6426
- "name": "Card",
6427
- "module": "src/components/card/card.component.ts"
6428
- }
6429
- },
6430
- {
6431
- "description": "The footer part of the card",
6432
- "name": "footer",
6622
+ "default": "''",
6623
+ "description": "The image alt for accessibility support",
6624
+ "fieldName": "imageAlt",
6433
6625
  "inheritedFrom": {
6434
- "name": "Card",
6435
- "module": "src/components/card/card.component.ts"
6626
+ "name": "CardComponentMixin",
6627
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6436
6628
  }
6437
6629
  },
6438
6630
  {
6439
- "description": "The link part of the card footer",
6440
- "name": "footer-link",
6631
+ "name": "variant",
6632
+ "type": {
6633
+ "text": "CardVariant"
6634
+ },
6635
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6636
+ "default": "'border'",
6637
+ "fieldName": "variant",
6441
6638
  "inheritedFrom": {
6442
- "name": "Card",
6443
- "module": "src/components/card/card.component.ts"
6639
+ "name": "CardComponentMixin",
6640
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6444
6641
  }
6445
6642
  },
6446
6643
  {
6447
- "description": "The primary button part of the card footer",
6448
- "name": "footer-button-primary",
6644
+ "name": "orientation",
6645
+ "type": {
6646
+ "text": "CardOrientation"
6647
+ },
6648
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6649
+ "default": "'vertical'",
6650
+ "fieldName": "orientation",
6449
6651
  "inheritedFrom": {
6450
- "name": "Card",
6451
- "module": "src/components/card/card.component.ts"
6652
+ "name": "CardComponentMixin",
6653
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6452
6654
  }
6453
6655
  },
6454
6656
  {
6455
- "description": "The secondary button part of the card footer",
6456
- "name": "footer-button-secondary",
6657
+ "name": "title-tag-name",
6658
+ "type": {
6659
+ "text": "TagNameType"
6660
+ },
6661
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6662
+ "default": "'span'",
6663
+ "fieldName": "titleTagName",
6457
6664
  "inheritedFrom": {
6458
- "name": "Card",
6459
- "module": "src/components/card/card.component.ts"
6665
+ "name": "CardComponentMixin",
6666
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6460
6667
  }
6461
6668
  },
6462
6669
  {
6463
- "description": "The icon button part of the card header",
6464
- "name": "icon-button",
6670
+ "name": "subtitle-tag-name",
6671
+ "type": {
6672
+ "text": "TagNameType"
6673
+ },
6674
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6675
+ "default": "'span'",
6676
+ "fieldName": "subtitleTagName",
6465
6677
  "inheritedFrom": {
6466
- "name": "Card",
6467
- "module": "src/components/card/card.component.ts"
6678
+ "name": "CardComponentMixin",
6679
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6468
6680
  }
6469
6681
  },
6470
6682
  {
6471
- "description": "The text part of the card",
6472
- "name": "text",
6683
+ "name": "icon-name",
6684
+ "type": {
6685
+ "text": "IconNames | undefined"
6686
+ },
6687
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6688
+ "fieldName": "iconName",
6473
6689
  "inheritedFrom": {
6474
- "name": "Card",
6475
- "module": "src/components/card/card.component.ts"
6690
+ "name": "CardComponentMixin",
6691
+ "module": "src/utils/mixins/CardComponentMixin.ts"
6476
6692
  }
6477
- },
6478
- {
6479
- "description": "The check part of the card",
6480
- "name": "check"
6481
- },
6482
- {
6483
- "description": "The check icon part of the card",
6484
- "name": "check-icon"
6485
- },
6486
- {
6487
- "description": "The check icon button part of the card",
6488
- "name": "check-icon-button"
6489
6693
  }
6490
- ],
6491
- "slots": [
6492
- {
6493
- "description": "This slot is for passing the content before the body",
6494
- "name": "before-body",
6495
- "inheritedFrom": {
6496
- "name": "Card",
6497
- "module": "src/components/card/card.component.ts"
6498
- }
6499
- },
6500
- {
6501
- "description": "This slot is for passing the text content for the card",
6502
- "name": "body",
6503
- "inheritedFrom": {
6504
- "name": "Card",
6505
- "module": "src/components/card/card.component.ts"
6506
- }
6507
- },
6694
+ ]
6695
+ }
6696
+ ],
6697
+ "exports": [
6698
+ {
6699
+ "kind": "js",
6700
+ "name": "default",
6701
+ "declaration": {
6702
+ "name": "Card",
6703
+ "module": "components/card/card.component.js"
6704
+ }
6705
+ }
6706
+ ]
6707
+ },
6708
+ {
6709
+ "kind": "javascript-module",
6710
+ "path": "components/buttonsimple/buttonsimple.component.js",
6711
+ "declarations": [
6712
+ {
6713
+ "kind": "class",
6714
+ "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.",
6715
+ "name": "Buttonsimple",
6716
+ "members": [
6508
6717
  {
6509
- "description": "This slot is for passing the content after the body",
6510
- "name": "after-body",
6511
- "inheritedFrom": {
6512
- "name": "Card",
6513
- "module": "src/components/card/card.component.ts"
6514
- }
6718
+ "kind": "field",
6719
+ "name": "active",
6720
+ "type": {
6721
+ "text": "boolean | undefined"
6722
+ },
6723
+ "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.",
6724
+ "default": "undefined",
6725
+ "attribute": "active",
6726
+ "reflects": true
6515
6727
  },
6516
6728
  {
6517
- "description": "This slot is for passing `mdc-link` component within the footer section.",
6518
- "name": "footer-link",
6519
- "inheritedFrom": {
6520
- "name": "Card",
6521
- "module": "src/components/card/card.component.ts"
6522
- }
6729
+ "kind": "field",
6730
+ "name": "softDisabled",
6731
+ "type": {
6732
+ "text": "boolean | undefined"
6733
+ },
6734
+ "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.",
6735
+ "default": "undefined",
6736
+ "attribute": "soft-disabled",
6737
+ "reflects": true
6523
6738
  },
6524
6739
  {
6525
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6526
- "name": "footer-button-primary",
6527
- "inheritedFrom": {
6528
- "name": "Card",
6529
- "module": "src/components/card/card.component.ts"
6530
- }
6740
+ "kind": "field",
6741
+ "name": "size",
6742
+ "type": {
6743
+ "text": "ButtonSize"
6744
+ },
6745
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6746
+ "default": "32",
6747
+ "attribute": "size",
6748
+ "reflects": true
6531
6749
  },
6532
6750
  {
6533
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
6534
- "name": "footer-button-secondary",
6535
- "inheritedFrom": {
6536
- "name": "Card",
6537
- "module": "src/components/card/card.component.ts"
6538
- }
6751
+ "kind": "field",
6752
+ "name": "role",
6753
+ "type": {
6754
+ "text": "RoleType"
6755
+ },
6756
+ "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.",
6757
+ "default": "button",
6758
+ "attribute": "role",
6759
+ "reflects": true
6539
6760
  },
6540
- {
6541
- "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.",
6542
- "name": "footer",
6543
- "inheritedFrom": {
6544
- "name": "Card",
6545
- "module": "src/components/card/card.component.ts"
6546
- }
6547
- }
6548
- ],
6549
- "members": [
6550
6761
  {
6551
6762
  "kind": "field",
6552
- "name": "checked",
6763
+ "name": "ariaStateKey",
6553
6764
  "type": {
6554
- "text": "boolean"
6765
+ "text": "string | undefined"
6555
6766
  },
6556
- "default": "false",
6557
- "description": "The checked state of the card",
6558
- "attribute": "checked",
6767
+ "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`",
6768
+ "default": "'aria-pressed' (when)",
6769
+ "attribute": "ariaStateKey",
6559
6770
  "reflects": true
6560
6771
  },
6561
6772
  {
6562
6773
  "kind": "field",
6563
- "name": "selectionType",
6774
+ "name": "type",
6564
6775
  "type": {
6565
- "text": "SelectionType"
6776
+ "text": "ButtonType"
6566
6777
  },
6567
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6568
- "default": "'check'",
6569
- "attribute": "selection-type",
6778
+ "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.",
6779
+ "default": "button",
6780
+ "attribute": "type",
6570
6781
  "reflects": true
6571
6782
  },
6572
6783
  {
6573
6784
  "kind": "method",
6574
- "name": "toggleChecked",
6575
- "privacy": "private",
6576
- "description": "Toggles the checked state"
6785
+ "name": "executeAction",
6786
+ "privacy": "protected"
6577
6787
  },
6578
6788
  {
6579
6789
  "kind": "method",
6580
- "name": "toggleOnEnter",
6790
+ "name": "setActive",
6791
+ "privacy": "protected",
6792
+ "parameters": [
6793
+ {
6794
+ "name": "element",
6795
+ "type": {
6796
+ "text": "HTMLElement"
6797
+ },
6798
+ "description": "The button element"
6799
+ },
6800
+ {
6801
+ "name": "active",
6802
+ "optional": true,
6803
+ "type": {
6804
+ "text": "boolean"
6805
+ },
6806
+ "description": "The active state of the element"
6807
+ }
6808
+ ],
6809
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
6810
+ },
6811
+ {
6812
+ "kind": "method",
6813
+ "name": "setSoftDisabled",
6581
6814
  "privacy": "private",
6582
6815
  "parameters": [
6583
6816
  {
6584
- "name": "event",
6817
+ "name": "element",
6585
6818
  "type": {
6586
- "text": "KeyboardEvent"
6819
+ "text": "HTMLElement"
6587
6820
  },
6588
- "description": "The keyboard event"
6821
+ "description": "The button element."
6822
+ },
6823
+ {
6824
+ "name": "softDisabled",
6825
+ "optional": true,
6826
+ "type": {
6827
+ "text": "boolean"
6828
+ },
6829
+ "description": "The soft-disabled state."
6589
6830
  }
6590
6831
  ],
6591
- "description": "Toggles the checked state when enter key is used"
6832
+ "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."
6592
6833
  },
6593
6834
  {
6594
6835
  "kind": "method",
6595
- "name": "toggleOnSpace",
6836
+ "name": "setDisabled",
6596
6837
  "privacy": "private",
6597
6838
  "parameters": [
6598
6839
  {
6599
- "name": "event",
6840
+ "name": "element",
6600
6841
  "type": {
6601
- "text": "KeyboardEvent"
6842
+ "text": "HTMLElement"
6602
6843
  },
6603
- "description": "The keyboard event"
6844
+ "description": "The button element."
6845
+ },
6846
+ {
6847
+ "name": "disabled",
6848
+ "type": {
6849
+ "text": "boolean"
6850
+ },
6851
+ "description": "The disabled state."
6604
6852
  }
6605
6853
  ],
6606
- "description": "Toggles the checked state when space key is used"
6854
+ "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."
6607
6855
  },
6608
6856
  {
6609
6857
  "kind": "method",
6610
- "name": "renderSelection",
6858
+ "name": "triggerClickEvent",
6859
+ "privacy": "private"
6860
+ },
6861
+ {
6862
+ "kind": "method",
6863
+ "name": "handleBlur",
6611
6864
  "privacy": "private",
6612
- "description": "Renders the selection icon or checkbox based on the selection type",
6613
- "return": {
6614
- "type": {
6615
- "text": ""
6865
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
6866
+ },
6867
+ {
6868
+ "kind": "method",
6869
+ "name": "handleKeyDown",
6870
+ "privacy": "private",
6871
+ "parameters": [
6872
+ {
6873
+ "name": "event",
6874
+ "type": {
6875
+ "text": "KeyboardEvent"
6876
+ },
6877
+ "description": "The keyboard event."
6616
6878
  }
6617
- }
6879
+ ],
6880
+ "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."
6618
6881
  },
6619
6882
  {
6620
6883
  "kind": "method",
6621
- "name": "renderHeader",
6622
- "privacy": "protected",
6623
- "description": "Renders the header of the card",
6624
- "return": {
6625
- "type": {
6626
- "text": ""
6884
+ "name": "handleKeyUp",
6885
+ "privacy": "private",
6886
+ "parameters": [
6887
+ {
6888
+ "name": "event",
6889
+ "type": {
6890
+ "text": "KeyboardEvent"
6891
+ },
6892
+ "description": "The keyboard event."
6627
6893
  }
6628
- },
6629
- "inheritedFrom": {
6630
- "name": "Card",
6631
- "module": "components/card/card.component.js"
6632
- }
6894
+ ],
6895
+ "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."
6633
6896
  },
6634
6897
  {
6635
6898
  "kind": "field",
6636
- "name": "disabled",
6899
+ "name": "autofocus",
6637
6900
  "type": {
6638
- "text": "boolean | undefined"
6901
+ "text": "boolean"
6639
6902
  },
6640
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6641
- "default": "undefined",
6642
- "attribute": "disabled",
6903
+ "default": "false",
6904
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
6905
+ "attribute": "autofocus",
6643
6906
  "reflects": true,
6644
6907
  "inheritedFrom": {
6645
- "name": "DisabledMixin",
6646
- "module": "utils/mixins/DisabledMixin.js"
6908
+ "name": "AutoFocusMixin",
6909
+ "module": "utils/mixins/AutoFocusMixin.js"
6647
6910
  }
6648
6911
  },
6649
6912
  {
@@ -6663,404 +6926,157 @@
6663
6926
  },
6664
6927
  {
6665
6928
  "kind": "field",
6666
- "name": "cardTitle",
6667
- "type": {
6668
- "text": "string"
6669
- },
6670
- "default": "''",
6671
- "description": "The title of the card - part of header section",
6672
- "attribute": "card-title",
6673
- "reflects": true,
6674
- "inheritedFrom": {
6675
- "name": "Card",
6676
- "module": "components/card/card.component.js"
6677
- }
6678
- },
6679
- {
6680
- "kind": "field",
6681
- "name": "subtitle",
6682
- "type": {
6683
- "text": "string"
6684
- },
6685
- "default": "''",
6686
- "description": "The subtitle of the card - part of header section",
6687
- "attribute": "subtitle",
6688
- "reflects": true,
6689
- "inheritedFrom": {
6690
- "name": "Card",
6691
- "module": "components/card/card.component.js"
6692
- }
6693
- },
6694
- {
6695
- "kind": "field",
6696
- "name": "imageSrc",
6697
- "type": {
6698
- "text": "string"
6699
- },
6700
- "default": "''",
6701
- "description": "The image source URL to render on the card",
6702
- "attribute": "image-src",
6703
- "reflects": true,
6704
- "inheritedFrom": {
6705
- "name": "Card",
6706
- "module": "components/card/card.component.js"
6707
- }
6708
- },
6709
- {
6710
- "kind": "field",
6711
- "name": "imageAlt",
6712
- "type": {
6713
- "text": "string"
6714
- },
6715
- "default": "''",
6716
- "description": "The image alt for accessibility support",
6717
- "attribute": "image-alt",
6718
- "reflects": true,
6719
- "inheritedFrom": {
6720
- "name": "Card",
6721
- "module": "components/card/card.component.js"
6722
- }
6723
- },
6724
- {
6725
- "kind": "field",
6726
- "name": "variant",
6727
- "type": {
6728
- "text": "CardVariant"
6729
- },
6730
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6731
- "default": "'border'",
6732
- "attribute": "variant",
6733
- "reflects": true,
6734
- "inheritedFrom": {
6735
- "name": "Card",
6736
- "module": "components/card/card.component.js"
6737
- }
6738
- },
6739
- {
6740
- "kind": "field",
6741
- "name": "orientation",
6742
- "type": {
6743
- "text": "CardOrientation"
6744
- },
6745
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
6746
- "default": "'vertical'",
6747
- "attribute": "orientation",
6748
- "reflects": true,
6749
- "inheritedFrom": {
6750
- "name": "Card",
6751
- "module": "components/card/card.component.js"
6752
- }
6753
- },
6754
- {
6755
- "kind": "field",
6756
- "name": "titleTagName",
6757
- "type": {
6758
- "text": "TagNameType"
6759
- },
6760
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
6761
- "default": "'span'",
6762
- "attribute": "title-tag-name",
6763
- "reflects": true,
6764
- "inheritedFrom": {
6765
- "name": "Card",
6766
- "module": "components/card/card.component.js"
6767
- }
6768
- },
6769
- {
6770
- "kind": "field",
6771
- "name": "subtitleTagName",
6772
- "type": {
6773
- "text": "TagNameType"
6774
- },
6775
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
6776
- "default": "'span'",
6777
- "attribute": "subtitle-tag-name",
6778
- "reflects": true,
6779
- "inheritedFrom": {
6780
- "name": "Card",
6781
- "module": "components/card/card.component.js"
6782
- }
6783
- },
6784
- {
6785
- "kind": "field",
6786
- "name": "iconName",
6929
+ "name": "disabled",
6787
6930
  "type": {
6788
- "text": "IconNames | undefined"
6931
+ "text": "boolean | undefined"
6789
6932
  },
6790
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
6791
- "attribute": "icon-name",
6933
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6934
+ "default": "undefined",
6935
+ "attribute": "disabled",
6792
6936
  "reflects": true,
6793
6937
  "inheritedFrom": {
6794
- "name": "Card",
6795
- "module": "components/card/card.component.js"
6796
- }
6797
- },
6798
- {
6799
- "kind": "method",
6800
- "name": "renderImage",
6801
- "privacy": "protected",
6802
- "description": "Renders the image on the card if image source is provided",
6803
- "return": {
6804
- "type": {
6805
- "text": ""
6806
- }
6807
- },
6808
- "inheritedFrom": {
6809
- "name": "Card",
6810
- "module": "components/card/card.component.js"
6811
- }
6812
- },
6813
- {
6814
- "kind": "method",
6815
- "name": "renderIcon",
6816
- "privacy": "protected",
6817
- "description": "Renders the icon on the card if icon name is provided",
6818
- "return": {
6819
- "type": {
6820
- "text": ""
6821
- }
6822
- },
6823
- "inheritedFrom": {
6824
- "name": "Card",
6825
- "module": "components/card/card.component.js"
6826
- }
6827
- },
6828
- {
6829
- "kind": "method",
6830
- "name": "renderTitle",
6831
- "privacy": "protected",
6832
- "description": "Renders the title and subtitle on the card",
6833
- "return": {
6834
- "type": {
6835
- "text": ""
6836
- }
6837
- },
6838
- "inheritedFrom": {
6839
- "name": "Card",
6840
- "module": "components/card/card.component.js"
6841
- }
6842
- },
6843
- {
6844
- "kind": "method",
6845
- "name": "renderFooter",
6846
- "privacy": "protected",
6847
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
6848
- "return": {
6849
- "type": {
6850
- "text": ""
6851
- }
6852
- },
6853
- "inheritedFrom": {
6854
- "name": "Card",
6855
- "module": "components/card/card.component.js"
6938
+ "name": "DisabledMixin",
6939
+ "module": "utils/mixins/DisabledMixin.js"
6856
6940
  }
6857
6941
  }
6858
6942
  ],
6859
6943
  "events": [
6860
6944
  {
6861
- "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6945
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
6862
6946
  "name": "click",
6863
6947
  "reactName": "onClick"
6864
6948
  },
6865
6949
  {
6866
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It toggles the checked state when enter key is used.",
6950
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
6867
6951
  "name": "keydown",
6868
6952
  "reactName": "onKeyDown"
6869
6953
  },
6870
6954
  {
6871
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It toggles the checked state when space key is used.",
6955
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
6872
6956
  "name": "keyup",
6873
6957
  "reactName": "onKeyUp"
6874
6958
  },
6875
6959
  {
6876
- "description": "(React: onChange) Event that gets dispatched when the card state changes.",
6877
- "name": "change",
6878
- "reactName": "onChange"
6879
- },
6880
- {
6881
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
6960
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
6882
6961
  "name": "focus",
6883
6962
  "reactName": "onFocus"
6884
6963
  }
6885
6964
  ],
6886
6965
  "attributes": [
6887
6966
  {
6888
- "name": "checked",
6889
- "type": {
6890
- "text": "boolean"
6891
- },
6892
- "default": "false",
6893
- "description": "The checked state of the card",
6894
- "fieldName": "checked"
6895
- },
6896
- {
6897
- "name": "selection-type",
6898
- "type": {
6899
- "text": "SelectionType"
6900
- },
6901
- "description": "The selection type of the card. It can either be set to 'check' or 'checkbox'",
6902
- "default": "'check'",
6903
- "fieldName": "selectionType"
6904
- },
6905
- {
6906
- "name": "disabled",
6967
+ "name": "active",
6907
6968
  "type": {
6908
6969
  "text": "boolean | undefined"
6909
6970
  },
6910
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
6971
+ "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.",
6911
6972
  "default": "undefined",
6912
- "fieldName": "disabled",
6913
- "inheritedFrom": {
6914
- "name": "DisabledMixin",
6915
- "module": "src/utils/mixins/DisabledMixin.ts"
6916
- }
6917
- },
6918
- {
6919
- "name": "tabIndex",
6920
- "type": {
6921
- "text": "number"
6922
- },
6923
- "default": "0",
6924
- "description": "This property specifies the tab order of the element.",
6925
- "fieldName": "tabIndex",
6926
- "inheritedFrom": {
6927
- "name": "TabIndexMixin",
6928
- "module": "src/utils/mixins/TabIndexMixin.ts"
6929
- }
6930
- },
6931
- {
6932
- "name": "card-title",
6933
- "type": {
6934
- "text": "string"
6935
- },
6936
- "default": "''",
6937
- "description": "The title of the card - part of header section",
6938
- "fieldName": "cardTitle",
6939
- "inheritedFrom": {
6940
- "name": "Card",
6941
- "module": "src/components/card/card.component.ts"
6942
- }
6973
+ "fieldName": "active"
6943
6974
  },
6944
6975
  {
6945
- "name": "subtitle",
6976
+ "name": "soft-disabled",
6946
6977
  "type": {
6947
- "text": "string"
6978
+ "text": "boolean | undefined"
6948
6979
  },
6949
- "default": "''",
6950
- "description": "The subtitle of the card - part of header section",
6951
- "fieldName": "subtitle",
6952
- "inheritedFrom": {
6953
- "name": "Card",
6954
- "module": "src/components/card/card.component.ts"
6955
- }
6980
+ "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.",
6981
+ "default": "undefined",
6982
+ "fieldName": "softDisabled"
6956
6983
  },
6957
6984
  {
6958
- "name": "image-src",
6985
+ "name": "size",
6959
6986
  "type": {
6960
- "text": "string"
6987
+ "text": "ButtonSize"
6961
6988
  },
6962
- "default": "''",
6963
- "description": "The image source URL to render on the card",
6964
- "fieldName": "imageSrc",
6965
- "inheritedFrom": {
6966
- "name": "Card",
6967
- "module": "src/components/card/card.component.ts"
6968
- }
6989
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6990
+ "default": "32",
6991
+ "fieldName": "size"
6969
6992
  },
6970
6993
  {
6971
- "name": "image-alt",
6994
+ "name": "role",
6972
6995
  "type": {
6973
- "text": "string"
6996
+ "text": "RoleType"
6974
6997
  },
6975
- "default": "''",
6976
- "description": "The image alt for accessibility support",
6977
- "fieldName": "imageAlt",
6978
- "inheritedFrom": {
6979
- "name": "Card",
6980
- "module": "src/components/card/card.component.ts"
6981
- }
6998
+ "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.",
6999
+ "default": "button",
7000
+ "fieldName": "role"
6982
7001
  },
6983
7002
  {
6984
- "name": "variant",
7003
+ "name": "ariaStateKey",
6985
7004
  "type": {
6986
- "text": "CardVariant"
7005
+ "text": "string | undefined"
6987
7006
  },
6988
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
6989
- "default": "'border'",
6990
- "fieldName": "variant",
6991
- "inheritedFrom": {
6992
- "name": "Card",
6993
- "module": "src/components/card/card.component.ts"
6994
- }
7007
+ "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`",
7008
+ "default": "'aria-pressed' (when)",
7009
+ "fieldName": "ariaStateKey"
6995
7010
  },
6996
7011
  {
6997
- "name": "orientation",
7012
+ "name": "type",
6998
7013
  "type": {
6999
- "text": "CardOrientation"
7014
+ "text": "ButtonType"
7000
7015
  },
7001
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7002
- "default": "'vertical'",
7003
- "fieldName": "orientation",
7004
- "inheritedFrom": {
7005
- "name": "Card",
7006
- "module": "src/components/card/card.component.ts"
7007
- }
7016
+ "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.",
7017
+ "default": "button",
7018
+ "fieldName": "type"
7008
7019
  },
7009
7020
  {
7010
- "name": "title-tag-name",
7021
+ "name": "autofocus",
7011
7022
  "type": {
7012
- "text": "TagNameType"
7023
+ "text": "boolean"
7013
7024
  },
7014
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7015
- "default": "'span'",
7016
- "fieldName": "titleTagName",
7025
+ "default": "false",
7026
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
7027
+ "fieldName": "autofocus",
7017
7028
  "inheritedFrom": {
7018
- "name": "Card",
7019
- "module": "src/components/card/card.component.ts"
7029
+ "name": "AutoFocusMixin",
7030
+ "module": "src/utils/mixins/AutoFocusMixin.ts"
7020
7031
  }
7021
7032
  },
7022
7033
  {
7023
- "name": "subtitle-tag-name",
7034
+ "name": "tabIndex",
7024
7035
  "type": {
7025
- "text": "TagNameType"
7036
+ "text": "number"
7026
7037
  },
7027
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7028
- "default": "'span'",
7029
- "fieldName": "subtitleTagName",
7038
+ "default": "0",
7039
+ "description": "This property specifies the tab order of the element.",
7040
+ "fieldName": "tabIndex",
7030
7041
  "inheritedFrom": {
7031
- "name": "Card",
7032
- "module": "src/components/card/card.component.ts"
7042
+ "name": "TabIndexMixin",
7043
+ "module": "src/utils/mixins/TabIndexMixin.ts"
7033
7044
  }
7034
7045
  },
7035
7046
  {
7036
- "name": "icon-name",
7047
+ "name": "disabled",
7037
7048
  "type": {
7038
- "text": "IconNames | undefined"
7049
+ "text": "boolean | undefined"
7039
7050
  },
7040
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7041
- "fieldName": "iconName",
7051
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7052
+ "default": "undefined",
7053
+ "fieldName": "disabled",
7042
7054
  "inheritedFrom": {
7043
- "name": "Card",
7044
- "module": "src/components/card/card.component.ts"
7055
+ "name": "DisabledMixin",
7056
+ "module": "src/utils/mixins/DisabledMixin.ts"
7045
7057
  }
7046
7058
  }
7047
7059
  ],
7048
7060
  "mixins": [
7049
7061
  {
7050
- "name": "DisabledMixin",
7051
- "module": "/src/utils/mixins/DisabledMixin"
7062
+ "name": "AutoFocusMixin",
7063
+ "module": "/src/utils/mixins/AutoFocusMixin"
7052
7064
  },
7053
7065
  {
7054
7066
  "name": "TabIndexMixin",
7055
7067
  "module": "/src/utils/mixins/TabIndexMixin"
7068
+ },
7069
+ {
7070
+ "name": "DisabledMixin",
7071
+ "module": "/src/utils/mixins/DisabledMixin"
7056
7072
  }
7057
7073
  ],
7058
7074
  "superclass": {
7059
- "name": "Card",
7060
- "module": "/src/components/card/card.component"
7075
+ "name": "Component",
7076
+ "module": "/src/models"
7061
7077
  },
7062
- "tagName": "mdc-cardcheckbox",
7063
- "jsDoc": "/**\n * cardcheckbox component extends `mdc-card` and supports checkbox selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"checkbox-group\".\n * This card would have events for selected and unselected (similar to checkbox)\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would toggle the checked state.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * Make sure to pass the `card-title` mandatorily for this card.\n *\n * @tagname mdc-cardcheckbox\n *\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\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 * @csspart check - The check part of the card\n * @csspart check-icon - The check icon part of the card\n * @csspart check-icon-button - The check icon button part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It toggles the checked state when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It toggles the checked state when space key is used.\n * @event change - (React: onChange) Event that gets dispatched when the card state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7078
+ "tagName": "mdc-buttonsimple",
7079
+ "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 */",
7064
7080
  "customElement": true
7065
7081
  }
7066
7082
  ],
@@ -7069,8 +7085,8 @@
7069
7085
  "kind": "js",
7070
7086
  "name": "default",
7071
7087
  "declaration": {
7072
- "name": "CardCheckbox",
7073
- "module": "components/cardcheckbox/cardcheckbox.component.js"
7088
+ "name": "Buttonsimple",
7089
+ "module": "components/buttonsimple/buttonsimple.component.js"
7074
7090
  }
7075
7091
  }
7076
7092
  ]
@@ -41534,6 +41550,140 @@
41534
41550
  }
41535
41551
  ]
41536
41552
  },
41553
+ {
41554
+ "kind": "javascript-module",
41555
+ "path": "components/virtualizedlist/virtualizedlist.component.js",
41556
+ "declarations": [
41557
+ {
41558
+ "kind": "class",
41559
+ "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
41560
+ "name": "VirtualizedList",
41561
+ "slots": [
41562
+ {
41563
+ "description": "Client side List with nested list items.",
41564
+ "name": ""
41565
+ }
41566
+ ],
41567
+ "members": [
41568
+ {
41569
+ "kind": "field",
41570
+ "name": "onscroll",
41571
+ "type": {
41572
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41573
+ },
41574
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41575
+ "default": "null",
41576
+ "attribute": "onscroll"
41577
+ },
41578
+ {
41579
+ "kind": "field",
41580
+ "name": "virtualizerProps",
41581
+ "type": {
41582
+ "text": "VirtualizerProps"
41583
+ },
41584
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41585
+ "attribute": "virtualizerprops"
41586
+ },
41587
+ {
41588
+ "kind": "field",
41589
+ "name": "setlistdata",
41590
+ "type": {
41591
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41592
+ },
41593
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41594
+ "default": "null",
41595
+ "attribute": "setlistdata"
41596
+ },
41597
+ {
41598
+ "kind": "field",
41599
+ "name": "scrollElementRef",
41600
+ "type": {
41601
+ "text": "Ref<HTMLDivElement>"
41602
+ },
41603
+ "privacy": "public"
41604
+ },
41605
+ {
41606
+ "kind": "field",
41607
+ "name": "virtualizer",
41608
+ "type": {
41609
+ "text": "Virtualizer<Element, Element> | null"
41610
+ },
41611
+ "privacy": "public",
41612
+ "default": "null"
41613
+ },
41614
+ {
41615
+ "kind": "field",
41616
+ "name": "virtualItems",
41617
+ "type": {
41618
+ "text": "Array<VirtualItem>"
41619
+ },
41620
+ "privacy": "public",
41621
+ "default": "[]"
41622
+ },
41623
+ {
41624
+ "kind": "field",
41625
+ "name": "virtualizerController",
41626
+ "type": {
41627
+ "text": "null"
41628
+ },
41629
+ "default": "null"
41630
+ }
41631
+ ],
41632
+ "events": [
41633
+ {
41634
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
41635
+ "name": "onscroll",
41636
+ "reactName": "onScroll"
41637
+ }
41638
+ ],
41639
+ "attributes": [
41640
+ {
41641
+ "name": "onscroll",
41642
+ "type": {
41643
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41644
+ },
41645
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41646
+ "default": "null",
41647
+ "fieldName": "onscroll"
41648
+ },
41649
+ {
41650
+ "name": "virtualizerprops",
41651
+ "type": {
41652
+ "text": "VirtualizerProps"
41653
+ },
41654
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41655
+ "fieldName": "virtualizerProps"
41656
+ },
41657
+ {
41658
+ "name": "setlistdata",
41659
+ "type": {
41660
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41661
+ },
41662
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41663
+ "default": "null",
41664
+ "fieldName": "setlistdata"
41665
+ }
41666
+ ],
41667
+ "superclass": {
41668
+ "name": "Component",
41669
+ "module": "/src/models"
41670
+ },
41671
+ "tagName": "mdc-virtualizedlist",
41672
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
41673
+ "customElement": true
41674
+ }
41675
+ ],
41676
+ "exports": [
41677
+ {
41678
+ "kind": "js",
41679
+ "name": "default",
41680
+ "declaration": {
41681
+ "name": "VirtualizedList",
41682
+ "module": "components/virtualizedlist/virtualizedlist.component.js"
41683
+ }
41684
+ }
41685
+ ]
41686
+ },
41537
41687
  {
41538
41688
  "kind": "javascript-module",
41539
41689
  "path": "components/typewriter/typewriter.component.js",
@@ -41870,140 +42020,6 @@
41870
42020
  }
41871
42021
  ]
41872
42022
  },
41873
- {
41874
- "kind": "javascript-module",
41875
- "path": "components/virtualizedlist/virtualizedlist.component.js",
41876
- "declarations": [
41877
- {
41878
- "kind": "class",
41879
- "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
41880
- "name": "VirtualizedList",
41881
- "slots": [
41882
- {
41883
- "description": "Client side List with nested list items.",
41884
- "name": ""
41885
- }
41886
- ],
41887
- "members": [
41888
- {
41889
- "kind": "field",
41890
- "name": "onscroll",
41891
- "type": {
41892
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41893
- },
41894
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41895
- "default": "null",
41896
- "attribute": "onscroll"
41897
- },
41898
- {
41899
- "kind": "field",
41900
- "name": "virtualizerProps",
41901
- "type": {
41902
- "text": "VirtualizerProps"
41903
- },
41904
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41905
- "attribute": "virtualizerprops"
41906
- },
41907
- {
41908
- "kind": "field",
41909
- "name": "setlistdata",
41910
- "type": {
41911
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41912
- },
41913
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41914
- "default": "null",
41915
- "attribute": "setlistdata"
41916
- },
41917
- {
41918
- "kind": "field",
41919
- "name": "scrollElementRef",
41920
- "type": {
41921
- "text": "Ref<HTMLDivElement>"
41922
- },
41923
- "privacy": "public"
41924
- },
41925
- {
41926
- "kind": "field",
41927
- "name": "virtualizer",
41928
- "type": {
41929
- "text": "Virtualizer<Element, Element> | null"
41930
- },
41931
- "privacy": "public",
41932
- "default": "null"
41933
- },
41934
- {
41935
- "kind": "field",
41936
- "name": "virtualItems",
41937
- "type": {
41938
- "text": "Array<VirtualItem>"
41939
- },
41940
- "privacy": "public",
41941
- "default": "[]"
41942
- },
41943
- {
41944
- "kind": "field",
41945
- "name": "virtualizerController",
41946
- "type": {
41947
- "text": "null"
41948
- },
41949
- "default": "null"
41950
- }
41951
- ],
41952
- "events": [
41953
- {
41954
- "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
41955
- "name": "onscroll",
41956
- "reactName": "onScroll"
41957
- }
41958
- ],
41959
- "attributes": [
41960
- {
41961
- "name": "onscroll",
41962
- "type": {
41963
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
41964
- },
41965
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
41966
- "default": "null",
41967
- "fieldName": "onscroll"
41968
- },
41969
- {
41970
- "name": "virtualizerprops",
41971
- "type": {
41972
- "text": "VirtualizerProps"
41973
- },
41974
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
41975
- "fieldName": "virtualizerProps"
41976
- },
41977
- {
41978
- "name": "setlistdata",
41979
- "type": {
41980
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
41981
- },
41982
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
41983
- "default": "null",
41984
- "fieldName": "setlistdata"
41985
- }
41986
- ],
41987
- "superclass": {
41988
- "name": "Component",
41989
- "module": "/src/models"
41990
- },
41991
- "tagName": "mdc-virtualizedlist",
41992
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
41993
- "customElement": true
41994
- }
41995
- ],
41996
- "exports": [
41997
- {
41998
- "kind": "js",
41999
- "name": "default",
42000
- "declaration": {
42001
- "name": "VirtualizedList",
42002
- "module": "components/virtualizedlist/virtualizedlist.component.js"
42003
- }
42004
- }
42005
- ]
42006
- },
42007
42023
  {
42008
42024
  "kind": "javascript-module",
42009
42025
  "path": "utils/mixins/AutoFocusMixin.js",