@momentum-design/components 0.104.11 → 0.104.13

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.
@@ -6873,6 +6873,14 @@
6873
6873
  }
6874
6874
  ],
6875
6875
  "events": [
6876
+ {
6877
+ "name": "change",
6878
+ "type": {
6879
+ "text": "Event"
6880
+ },
6881
+ "description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
6882
+ "reactName": "onChange"
6883
+ },
6876
6884
  {
6877
6885
  "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
6878
6886
  "name": "click",
@@ -7071,7 +7079,7 @@
7071
7079
  "module": "/src/components/card/card.component"
7072
7080
  },
7073
7081
  "tagName": "mdc-cardcheckbox",
7074
- "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 focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7082
+ "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 focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
7075
7083
  "customElement": true
7076
7084
  }
7077
7085
  ],
@@ -7612,6 +7620,14 @@
7612
7620
  }
7613
7621
  ],
7614
7622
  "events": [
7623
+ {
7624
+ "name": "change",
7625
+ "type": {
7626
+ "text": "Event"
7627
+ },
7628
+ "description": "(React: onChange) Event that gets dispatched when the card's checked state changes.",
7629
+ "reactName": "onChange"
7630
+ },
7615
7631
  {
7616
7632
  "description": "(React: onClick) Event that gets dispatched when the card is clicked. It toggles the checked state.",
7617
7633
  "name": "click",
@@ -7810,7 +7826,7 @@
7810
7826
  "module": "/src/components/card/card.component"
7811
7827
  },
7812
7828
  "tagName": "mdc-cardradio",
7813
- "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\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-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\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 focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n */",
7829
+ "jsDoc": "/**\n * cardradio component extends `mdc-card` and supports radio selection interaction addtionally.\n *\n * While using this component within a form or group of cards, make sure cards are in a role = \"radio-group\".\n * This card would have events for selected and unselected (similar to radio)\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-cardradio\n *\n * @dependency mdc-icon\n * @dependency mdc-staticradio\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 focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n * @event change - (React: onChange) Event that gets dispatched when the card's checked state changes.\n */",
7814
7830
  "customElement": true
7815
7831
  }
7816
7832
  ],
@@ -8115,20 +8131,6 @@
8115
8131
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
8116
8132
  }
8117
8133
  },
8118
- {
8119
- "kind": "field",
8120
- "name": "id",
8121
- "type": {
8122
- "text": "string"
8123
- },
8124
- "default": "''",
8125
- "description": "The unique id of the input field. It is used to link the input field with the label.",
8126
- "attribute": "id",
8127
- "inheritedFrom": {
8128
- "name": "FormfieldWrapper",
8129
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
8130
- }
8131
- },
8132
8134
  {
8133
8135
  "kind": "field",
8134
8136
  "name": "helpTextType",
@@ -8410,19 +8412,6 @@
8410
8412
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
8411
8413
  }
8412
8414
  },
8413
- {
8414
- "name": "id",
8415
- "type": {
8416
- "text": "string"
8417
- },
8418
- "default": "''",
8419
- "description": "The unique id of the input field. It is used to link the input field with the label.",
8420
- "fieldName": "id",
8421
- "inheritedFrom": {
8422
- "name": "FormfieldWrapper",
8423
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
8424
- }
8425
- },
8426
8415
  {
8427
8416
  "name": "help-text-type",
8428
8417
  "type": {
@@ -13119,20 +13108,6 @@
13119
13108
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
13120
13109
  }
13121
13110
  },
13122
- {
13123
- "kind": "field",
13124
- "name": "id",
13125
- "type": {
13126
- "text": "string"
13127
- },
13128
- "default": "''",
13129
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13130
- "attribute": "id",
13131
- "inheritedFrom": {
13132
- "name": "FormfieldWrapper",
13133
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
13134
- }
13135
- },
13136
13111
  {
13137
13112
  "kind": "field",
13138
13113
  "name": "helpTextType",
@@ -13345,19 +13320,6 @@
13345
13320
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13346
13321
  }
13347
13322
  },
13348
- {
13349
- "name": "id",
13350
- "type": {
13351
- "text": "string"
13352
- },
13353
- "default": "''",
13354
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13355
- "fieldName": "id",
13356
- "inheritedFrom": {
13357
- "name": "FormfieldWrapper",
13358
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
13359
- }
13360
- },
13361
13323
  {
13362
13324
  "name": "help-text-type",
13363
13325
  "type": {
@@ -13463,16 +13425,6 @@
13463
13425
  "attribute": "required",
13464
13426
  "reflects": true
13465
13427
  },
13466
- {
13467
- "kind": "field",
13468
- "name": "id",
13469
- "type": {
13470
- "text": "string"
13471
- },
13472
- "default": "''",
13473
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13474
- "attribute": "id"
13475
- },
13476
13428
  {
13477
13429
  "kind": "field",
13478
13430
  "name": "helpTextType",
@@ -13613,15 +13565,6 @@
13613
13565
  "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
13614
13566
  "fieldName": "required"
13615
13567
  },
13616
- {
13617
- "name": "id",
13618
- "type": {
13619
- "text": "string"
13620
- },
13621
- "default": "''",
13622
- "description": "The unique id of the input field. It is used to link the input field with the label.",
13623
- "fieldName": "id"
13624
- },
13625
13568
  {
13626
13569
  "name": "help-text-type",
13627
13570
  "type": {
@@ -14638,20 +14581,6 @@
14638
14581
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14639
14582
  }
14640
14583
  },
14641
- {
14642
- "kind": "field",
14643
- "name": "id",
14644
- "type": {
14645
- "text": "string"
14646
- },
14647
- "default": "''",
14648
- "description": "The unique id of the input field. It is used to link the input field with the label.",
14649
- "attribute": "id",
14650
- "inheritedFrom": {
14651
- "name": "FormfieldWrapper",
14652
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
14653
- }
14654
- },
14655
14584
  {
14656
14585
  "kind": "field",
14657
14586
  "name": "helpTextType",
@@ -15052,19 +14981,6 @@
15052
14981
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
15053
14982
  }
15054
14983
  },
15055
- {
15056
- "name": "id",
15057
- "type": {
15058
- "text": "string"
15059
- },
15060
- "default": "''",
15061
- "description": "The unique id of the input field. It is used to link the input field with the label.",
15062
- "fieldName": "id",
15063
- "inheritedFrom": {
15064
- "name": "FormfieldWrapper",
15065
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
15066
- }
15067
- },
15068
14984
  {
15069
14985
  "name": "help-text-type",
15070
14986
  "type": {
@@ -15799,588 +15715,268 @@
15799
15715
  },
15800
15716
  {
15801
15717
  "kind": "javascript-module",
15802
- "path": "components/linkbutton/linkbutton.component.js",
15718
+ "path": "components/list/list.component.js",
15803
15719
  "declarations": [
15804
15720
  {
15805
15721
  "kind": "class",
15806
- "description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
15807
- "name": "LinkButton",
15808
- "cssProperties": [
15809
- {
15810
- "description": "Border radius of the linkbutton.",
15811
- "name": "--mdc-link-border-radius"
15812
- },
15813
- {
15814
- "description": "Color of the linkbutton’s child content in the active state.",
15815
- "name": "--mdc-link-color-active"
15816
- },
15817
- {
15818
- "description": "Color of the linkbutton’s child content in the disabled state.",
15819
- "name": "--mdc-link-color-disabled"
15820
- },
15821
- {
15822
- "description": "Color of the linkbutton’s child content in the hover state.",
15823
- "name": "--mdc-link-color-hover"
15824
- },
15825
- {
15826
- "description": "Color of the linkbutton’s child content in the normal state.",
15827
- "name": "--mdc-link-color-normal"
15828
- },
15829
- {
15830
- "description": "Color of the inverted linkbutton’s child content in the active state.",
15831
- "name": "--mdc-link-inverted-color-active"
15832
- },
15833
- {
15834
- "description": "Color of the inverted linkbutton’s child content in the disabled state.",
15835
- "name": "--mdc-link-inverted-color-disabled"
15836
- },
15837
- {
15838
- "description": "Color of the inverted linkbutton’s child content in the hover state.",
15839
- "name": "--mdc-link-inverted-color-hover"
15840
- },
15722
+ "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
15723
+ "name": "List",
15724
+ "cssParts": [
15841
15725
  {
15842
- "description": "Color of the inverted linkbutton’s child content in the normal state.",
15843
- "name": "--mdc-link-inverted-color-normal"
15726
+ "description": "The container slot around the list items",
15727
+ "name": "container"
15844
15728
  }
15845
15729
  ],
15846
15730
  "slots": [
15847
15731
  {
15848
- "description": "Text label of the linkbutton.",
15849
- "name": ""
15732
+ "description": "This is a default/unnamed slot, where listitems can be placed.",
15733
+ "name": "default"
15734
+ },
15735
+ {
15736
+ "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
15737
+ "name": "list-header"
15850
15738
  }
15851
15739
  ],
15852
15740
  "members": [
15853
15741
  {
15854
- "kind": "field",
15855
- "name": "size",
15856
- "type": {
15857
- "text": "ButtonSize"
15858
- },
15859
- "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
15860
- "default": "16",
15861
- "attribute": "size",
15862
- "reflects": true,
15863
- "inheritedFrom": {
15864
- "name": "Buttonsimple",
15865
- "module": "components/buttonsimple/buttonsimple.component.js"
15866
- }
15867
- },
15868
- {
15869
- "kind": "field",
15870
- "name": "inline",
15871
- "type": {
15872
- "text": "boolean"
15742
+ "kind": "method",
15743
+ "name": "handleKeyDown",
15744
+ "privacy": "private",
15745
+ "return": {
15746
+ "type": {
15747
+ "text": "void"
15748
+ }
15873
15749
  },
15874
- "description": "The linkbutton can be inline or standalone.",
15875
- "default": "false",
15876
- "attribute": "inline",
15877
- "reflects": true
15750
+ "parameters": [
15751
+ {
15752
+ "name": "event",
15753
+ "type": {
15754
+ "text": "KeyboardEvent"
15755
+ },
15756
+ "description": "The keyboard event."
15757
+ }
15758
+ ],
15759
+ "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
15878
15760
  },
15879
15761
  {
15880
- "kind": "field",
15881
- "name": "inverted",
15882
- "type": {
15883
- "text": "boolean"
15762
+ "kind": "method",
15763
+ "name": "getCurrentIndex",
15764
+ "privacy": "private",
15765
+ "return": {
15766
+ "type": {
15767
+ "text": ""
15768
+ }
15884
15769
  },
15885
- "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
15886
- "default": "false",
15887
- "attribute": "inverted",
15888
- "reflects": true
15770
+ "parameters": [
15771
+ {
15772
+ "name": "target",
15773
+ "type": {
15774
+ "text": "EventTarget | null"
15775
+ },
15776
+ "description": "The target element to find the index of."
15777
+ }
15778
+ ],
15779
+ "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
15889
15780
  },
15890
15781
  {
15891
15782
  "kind": "method",
15892
- "name": "setSize",
15783
+ "name": "getNewIndexBasedOnKey",
15893
15784
  "privacy": "private",
15785
+ "return": {
15786
+ "type": {
15787
+ "text": ""
15788
+ }
15789
+ },
15894
15790
  "parameters": [
15895
15791
  {
15896
- "name": "size",
15792
+ "name": "key",
15897
15793
  "type": {
15898
- "text": "LinkButtonSize"
15794
+ "text": "string"
15899
15795
  },
15900
- "description": "The desired link size."
15796
+ "description": "The key that was pressed."
15797
+ },
15798
+ {
15799
+ "name": "currentIndex",
15800
+ "type": {
15801
+ "text": "number"
15802
+ },
15803
+ "description": "The current index of the focused list item."
15804
+ },
15805
+ {
15806
+ "name": "wrappedDivsCount",
15807
+ "type": {
15808
+ "text": "number"
15809
+ },
15810
+ "description": "The total number of list items."
15901
15811
  }
15902
15812
  ],
15903
- "description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
15904
- },
15905
- {
15906
- "kind": "field",
15907
- "name": "iconName",
15908
- "type": {
15909
- "text": "IconNames | undefined"
15910
- },
15911
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
15912
- "attribute": "icon-name",
15913
- "inheritedFrom": {
15914
- "name": "IconNameMixin",
15915
- "module": "utils/mixins/IconNameMixin.js"
15916
- }
15917
- },
15918
- {
15919
- "kind": "field",
15920
- "name": "autofocus",
15921
- "type": {
15922
- "text": "boolean"
15923
- },
15924
- "default": "false",
15925
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
15926
- "attribute": "autofocus",
15927
- "reflects": true,
15928
- "inheritedFrom": {
15929
- "name": "Buttonsimple",
15930
- "module": "components/buttonsimple/buttonsimple.component.js"
15931
- }
15932
- },
15933
- {
15934
- "kind": "field",
15935
- "name": "tabIndex",
15936
- "type": {
15937
- "text": "number"
15938
- },
15939
- "default": "0",
15940
- "description": "This property specifies the tab order of the element.",
15941
- "attribute": "tabIndex",
15942
- "reflects": true,
15943
- "inheritedFrom": {
15944
- "name": "Buttonsimple",
15945
- "module": "components/buttonsimple/buttonsimple.component.js"
15946
- }
15947
- },
15948
- {
15949
- "kind": "field",
15950
- "name": "disabled",
15951
- "type": {
15952
- "text": "boolean | undefined"
15953
- },
15954
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
15955
- "default": "undefined",
15956
- "attribute": "disabled",
15957
- "reflects": true,
15958
- "inheritedFrom": {
15959
- "name": "Buttonsimple",
15960
- "module": "components/buttonsimple/buttonsimple.component.js"
15961
- }
15962
- },
15963
- {
15964
- "kind": "field",
15965
- "name": "active",
15966
- "type": {
15967
- "text": "boolean | undefined"
15968
- },
15969
- "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.",
15970
- "default": "undefined",
15971
- "attribute": "active",
15972
- "reflects": true,
15973
- "inheritedFrom": {
15974
- "name": "Buttonsimple",
15975
- "module": "components/buttonsimple/buttonsimple.component.js"
15976
- }
15977
- },
15978
- {
15979
- "kind": "field",
15980
- "name": "softDisabled",
15981
- "type": {
15982
- "text": "boolean | undefined"
15983
- },
15984
- "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.",
15985
- "default": "undefined",
15986
- "attribute": "soft-disabled",
15987
- "reflects": true,
15988
- "inheritedFrom": {
15989
- "name": "Buttonsimple",
15990
- "module": "components/buttonsimple/buttonsimple.component.js"
15991
- }
15992
- },
15993
- {
15994
- "kind": "field",
15995
- "name": "role",
15996
- "type": {
15997
- "text": "RoleType"
15998
- },
15999
- "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.",
16000
- "default": "button",
16001
- "attribute": "role",
16002
- "reflects": true,
16003
- "inheritedFrom": {
16004
- "name": "Buttonsimple",
16005
- "module": "components/buttonsimple/buttonsimple.component.js"
16006
- }
16007
- },
16008
- {
16009
- "kind": "field",
16010
- "name": "ariaStateKey",
16011
- "type": {
16012
- "text": "string | undefined"
16013
- },
16014
- "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`",
16015
- "default": "'aria-pressed' (when)",
16016
- "attribute": "ariaStateKey",
16017
- "reflects": true,
16018
- "inheritedFrom": {
16019
- "name": "Buttonsimple",
16020
- "module": "components/buttonsimple/buttonsimple.component.js"
16021
- }
16022
- },
16023
- {
16024
- "kind": "field",
16025
- "name": "type",
16026
- "type": {
16027
- "text": "ButtonType"
16028
- },
16029
- "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.",
16030
- "default": "button",
16031
- "attribute": "type",
16032
- "reflects": true,
16033
- "inheritedFrom": {
16034
- "name": "Buttonsimple",
16035
- "module": "components/buttonsimple/buttonsimple.component.js"
16036
- }
16037
- },
16038
- {
16039
- "kind": "method",
16040
- "name": "executeAction",
16041
- "privacy": "protected",
16042
- "inheritedFrom": {
16043
- "name": "Buttonsimple",
16044
- "module": "components/buttonsimple/buttonsimple.component.js"
16045
- }
15813
+ "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
16046
15814
  },
16047
15815
  {
16048
15816
  "kind": "method",
16049
- "name": "setActive",
15817
+ "name": "handleMouseClick",
16050
15818
  "privacy": "protected",
16051
- "parameters": [
16052
- {
16053
- "name": "element",
16054
- "type": {
16055
- "text": "HTMLElement"
16056
- },
16057
- "description": "The button element"
16058
- },
16059
- {
16060
- "name": "active",
16061
- "optional": true,
16062
- "type": {
16063
- "text": "boolean"
16064
- },
16065
- "description": "The active state of the element"
16066
- }
16067
- ],
16068
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
16069
- "inheritedFrom": {
16070
- "name": "Buttonsimple",
16071
- "module": "components/buttonsimple/buttonsimple.component.js"
16072
- }
16073
- },
16074
- {
16075
- "kind": "method",
16076
- "name": "setSoftDisabled",
16077
- "privacy": "private",
16078
- "parameters": [
16079
- {
16080
- "name": "element",
16081
- "type": {
16082
- "text": "HTMLElement"
16083
- },
16084
- "description": "The button element."
16085
- },
16086
- {
16087
- "name": "softDisabled",
16088
- "optional": true,
16089
- "type": {
16090
- "text": "boolean"
16091
- },
16092
- "description": "The soft-disabled state."
16093
- }
16094
- ],
16095
- "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.",
16096
- "inheritedFrom": {
16097
- "name": "Buttonsimple",
16098
- "module": "components/buttonsimple/buttonsimple.component.js"
16099
- }
16100
- },
16101
- {
16102
- "kind": "method",
16103
- "name": "setDisabled",
16104
- "privacy": "private",
16105
- "parameters": [
16106
- {
16107
- "name": "element",
16108
- "type": {
16109
- "text": "HTMLElement"
16110
- },
16111
- "description": "The button element."
16112
- },
16113
- {
16114
- "name": "disabled",
16115
- "type": {
16116
- "text": "boolean"
16117
- },
16118
- "description": "The disabled state."
15819
+ "return": {
15820
+ "type": {
15821
+ "text": "void"
16119
15822
  }
16120
- ],
16121
- "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.",
16122
- "inheritedFrom": {
16123
- "name": "Buttonsimple",
16124
- "module": "components/buttonsimple/buttonsimple.component.js"
16125
- }
16126
- },
16127
- {
16128
- "kind": "method",
16129
- "name": "triggerClickEvent",
16130
- "privacy": "private",
16131
- "inheritedFrom": {
16132
- "name": "Buttonsimple",
16133
- "module": "components/buttonsimple/buttonsimple.component.js"
16134
- }
16135
- },
16136
- {
16137
- "kind": "method",
16138
- "name": "handleBlur",
16139
- "privacy": "private",
16140
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
16141
- "inheritedFrom": {
16142
- "name": "Buttonsimple",
16143
- "module": "components/buttonsimple/buttonsimple.component.js"
16144
- }
16145
- },
16146
- {
16147
- "kind": "method",
16148
- "name": "handleKeyDown",
16149
- "privacy": "private",
15823
+ },
16150
15824
  "parameters": [
16151
15825
  {
16152
15826
  "name": "event",
16153
15827
  "type": {
16154
- "text": "KeyboardEvent"
15828
+ "text": "MouseEvent"
16155
15829
  },
16156
- "description": "The keyboard event."
15830
+ "description": "The mouse event."
16157
15831
  }
16158
15832
  ],
16159
- "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.",
16160
- "inheritedFrom": {
16161
- "name": "Buttonsimple",
16162
- "module": "components/buttonsimple/buttonsimple.component.js"
16163
- }
15833
+ "description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
16164
15834
  },
16165
15835
  {
16166
15836
  "kind": "method",
16167
- "name": "handleKeyUp",
15837
+ "name": "resetTabIndexAndSetActiveTabIndex",
16168
15838
  "privacy": "private",
16169
15839
  "parameters": [
16170
15840
  {
16171
- "name": "event",
15841
+ "name": "newIndex",
16172
15842
  "type": {
16173
- "text": "KeyboardEvent"
15843
+ "text": "number"
16174
15844
  },
16175
- "description": "The keyboard event."
15845
+ "description": "The index of the new active element in the list."
16176
15846
  }
16177
15847
  ],
16178
- "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.",
16179
- "inheritedFrom": {
16180
- "name": "Buttonsimple",
16181
- "module": "components/buttonsimple/buttonsimple.component.js"
16182
- }
15848
+ "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
16183
15849
  }
16184
15850
  ],
16185
- "events": [
16186
- {
16187
- "description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
16188
- "name": "click",
16189
- "reactName": "onClick",
16190
- "inheritedFrom": {
16191
- "name": "Buttonsimple",
16192
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16193
- }
16194
- },
15851
+ "superclass": {
15852
+ "name": "Component",
15853
+ "module": "/src/models"
15854
+ },
15855
+ "tagName": "mdc-list",
15856
+ "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
15857
+ "customElement": true
15858
+ }
15859
+ ],
15860
+ "exports": [
15861
+ {
15862
+ "kind": "js",
15863
+ "name": "default",
15864
+ "declaration": {
15865
+ "name": "List",
15866
+ "module": "components/list/list.component.js"
15867
+ }
15868
+ }
15869
+ ]
15870
+ },
15871
+ {
15872
+ "kind": "javascript-module",
15873
+ "path": "components/listheader/listheader.component.js",
15874
+ "declarations": [
15875
+ {
15876
+ "kind": "class",
15877
+ "description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
15878
+ "name": "Listheader",
15879
+ "cssProperties": [
16195
15880
  {
16196
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
16197
- "name": "keydown",
16198
- "reactName": "onKeyDown",
16199
- "inheritedFrom": {
16200
- "name": "Buttonsimple",
16201
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16202
- }
15881
+ "description": "height of the header",
15882
+ "name": "--mdc-listheader-height"
16203
15883
  },
16204
15884
  {
16205
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
16206
- "name": "keyup",
16207
- "reactName": "onKeyUp",
16208
- "inheritedFrom": {
16209
- "name": "Buttonsimple",
16210
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16211
- }
15885
+ "description": "padding around the header content",
15886
+ "name": "--mdc-listheader-padding"
16212
15887
  },
16213
15888
  {
16214
- "description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
16215
- "name": "focus",
16216
- "reactName": "onFocus",
16217
- "inheritedFrom": {
16218
- "name": "Buttonsimple",
16219
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16220
- }
15889
+ "description": "gap between content",
15890
+ "name": "--mdc-listheader-gap"
16221
15891
  }
16222
15892
  ],
16223
- "attributes": [
16224
- {
16225
- "name": "size",
16226
- "type": {
16227
- "text": "ButtonSize"
16228
- },
16229
- "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
16230
- "default": "16",
16231
- "fieldName": "size",
16232
- "inheritedFrom": {
16233
- "name": "Buttonsimple",
16234
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16235
- }
16236
- },
16237
- {
16238
- "name": "inline",
16239
- "type": {
16240
- "text": "boolean"
16241
- },
16242
- "description": "The linkbutton can be inline or standalone.",
16243
- "default": "false",
16244
- "fieldName": "inline"
16245
- },
15893
+ "slots": [
16246
15894
  {
16247
- "name": "inverted",
16248
- "type": {
16249
- "text": "boolean"
16250
- },
16251
- "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
16252
- "default": "false",
16253
- "fieldName": "inverted"
16254
- },
15895
+ "description": "to pass in actionable content like buttons or links",
15896
+ "name": "default"
15897
+ }
15898
+ ],
15899
+ "members": [
16255
15900
  {
16256
- "name": "icon-name",
15901
+ "kind": "field",
15902
+ "name": "prefixIcon",
16257
15903
  "type": {
16258
15904
  "text": "IconNames | undefined"
16259
15905
  },
16260
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
16261
- "fieldName": "iconName",
16262
- "inheritedFrom": {
16263
- "name": "IconNameMixin",
16264
- "module": "src/utils/mixins/IconNameMixin.ts"
16265
- }
15906
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
15907
+ "attribute": "prefix-icon"
16266
15908
  },
16267
15909
  {
16268
- "name": "autofocus",
15910
+ "kind": "field",
15911
+ "name": "postfixIcon",
16269
15912
  "type": {
16270
- "text": "boolean"
15913
+ "text": "IconNames | undefined"
16271
15914
  },
16272
- "default": "false",
16273
- "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
16274
- "fieldName": "autofocus",
16275
- "inheritedFrom": {
16276
- "name": "Buttonsimple",
16277
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16278
- }
15915
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
15916
+ "attribute": "postfix-icon"
16279
15917
  },
16280
15918
  {
16281
- "name": "tabIndex",
15919
+ "kind": "field",
15920
+ "name": "headerText",
16282
15921
  "type": {
16283
- "text": "number"
15922
+ "text": "string | undefined"
16284
15923
  },
16285
- "default": "0",
16286
- "description": "This property specifies the tab order of the element.",
16287
- "fieldName": "tabIndex",
16288
- "inheritedFrom": {
16289
- "name": "Buttonsimple",
16290
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16291
- }
15924
+ "description": "Text to be rendered in the header",
15925
+ "attribute": "header-text"
16292
15926
  },
16293
15927
  {
15928
+ "kind": "field",
16294
15929
  "name": "disabled",
16295
15930
  "type": {
16296
- "text": "boolean | undefined"
16297
- },
16298
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16299
- "default": "undefined",
16300
- "fieldName": "disabled",
16301
- "inheritedFrom": {
16302
- "name": "Buttonsimple",
16303
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16304
- }
16305
- },
16306
- {
16307
- "name": "active",
16308
- "type": {
16309
- "text": "boolean | undefined"
15931
+ "text": "boolean"
16310
15932
  },
16311
- "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.",
16312
- "default": "undefined",
16313
- "fieldName": "active",
16314
- "inheritedFrom": {
16315
- "name": "Buttonsimple",
16316
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16317
- }
16318
- },
15933
+ "default": "false",
15934
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
15935
+ "attribute": "disabled",
15936
+ "reflects": true
15937
+ }
15938
+ ],
15939
+ "attributes": [
16319
15940
  {
16320
- "name": "soft-disabled",
15941
+ "name": "prefix-icon",
16321
15942
  "type": {
16322
- "text": "boolean | undefined"
15943
+ "text": "IconNames | undefined"
16323
15944
  },
16324
- "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.",
16325
- "default": "undefined",
16326
- "fieldName": "softDisabled",
16327
- "inheritedFrom": {
16328
- "name": "Buttonsimple",
16329
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16330
- }
15945
+ "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
15946
+ "fieldName": "prefixIcon"
16331
15947
  },
16332
15948
  {
16333
- "name": "role",
15949
+ "name": "postfix-icon",
16334
15950
  "type": {
16335
- "text": "RoleType"
15951
+ "text": "IconNames | undefined"
16336
15952
  },
16337
- "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.",
16338
- "default": "button",
16339
- "fieldName": "role",
16340
- "inheritedFrom": {
16341
- "name": "Buttonsimple",
16342
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16343
- }
15953
+ "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
15954
+ "fieldName": "postfixIcon"
16344
15955
  },
16345
15956
  {
16346
- "name": "ariaStateKey",
15957
+ "name": "header-text",
16347
15958
  "type": {
16348
15959
  "text": "string | undefined"
16349
15960
  },
16350
- "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`",
16351
- "default": "'aria-pressed' (when)",
16352
- "fieldName": "ariaStateKey",
16353
- "inheritedFrom": {
16354
- "name": "Buttonsimple",
16355
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16356
- }
15961
+ "description": "Text to be rendered in the header",
15962
+ "fieldName": "headerText"
16357
15963
  },
16358
15964
  {
16359
- "name": "type",
16360
- "type": {
16361
- "text": "ButtonType"
16362
- },
16363
- "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.",
16364
- "default": "button",
16365
- "fieldName": "type",
16366
- "inheritedFrom": {
16367
- "name": "Buttonsimple",
16368
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
16369
- }
16370
- }
16371
- ],
16372
- "mixins": [
16373
- {
16374
- "name": "IconNameMixin",
16375
- "module": "/src/utils/mixins/IconNameMixin"
15965
+ "name": "disabled",
15966
+ "type": {
15967
+ "text": "boolean"
15968
+ },
15969
+ "default": "false",
15970
+ "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
15971
+ "fieldName": "disabled"
16376
15972
  }
16377
15973
  ],
16378
15974
  "superclass": {
16379
- "name": "Buttonsimple",
16380
- "module": "/src/components/buttonsimple/buttonsimple.component"
15975
+ "name": "Component",
15976
+ "module": "/src/models"
16381
15977
  },
16382
- "tagName": "mdc-linkbutton",
16383
- "jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
15978
+ "tagName": "mdc-listheader",
15979
+ "jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n */",
16384
15980
  "customElement": true
16385
15981
  }
16386
15982
  ],
@@ -16389,8 +15985,8 @@
16389
15985
  "kind": "js",
16390
15986
  "name": "default",
16391
15987
  "declaration": {
16392
- "name": "LinkButton",
16393
- "module": "components/linkbutton/linkbutton.component.js"
15988
+ "name": "Listheader",
15989
+ "module": "components/listheader/listheader.component.js"
16394
15990
  }
16395
15991
  }
16396
15992
  ]
@@ -16686,268 +16282,588 @@
16686
16282
  },
16687
16283
  {
16688
16284
  "kind": "javascript-module",
16689
- "path": "components/list/list.component.js",
16285
+ "path": "components/linkbutton/linkbutton.component.js",
16690
16286
  "declarations": [
16691
16287
  {
16692
16288
  "kind": "class",
16693
- "description": "mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n\nTo add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n`mdc-listitem` components can be placed in the default slot.",
16694
- "name": "List",
16695
- "cssParts": [
16289
+ "description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
16290
+ "name": "LinkButton",
16291
+ "cssProperties": [
16696
16292
  {
16697
- "description": "The container slot around the list items",
16698
- "name": "container"
16293
+ "description": "Border radius of the linkbutton.",
16294
+ "name": "--mdc-link-border-radius"
16295
+ },
16296
+ {
16297
+ "description": "Color of the linkbutton’s child content in the active state.",
16298
+ "name": "--mdc-link-color-active"
16299
+ },
16300
+ {
16301
+ "description": "Color of the linkbutton’s child content in the disabled state.",
16302
+ "name": "--mdc-link-color-disabled"
16303
+ },
16304
+ {
16305
+ "description": "Color of the linkbutton’s child content in the hover state.",
16306
+ "name": "--mdc-link-color-hover"
16307
+ },
16308
+ {
16309
+ "description": "Color of the linkbutton’s child content in the normal state.",
16310
+ "name": "--mdc-link-color-normal"
16311
+ },
16312
+ {
16313
+ "description": "Color of the inverted linkbutton’s child content in the active state.",
16314
+ "name": "--mdc-link-inverted-color-active"
16315
+ },
16316
+ {
16317
+ "description": "Color of the inverted linkbutton’s child content in the disabled state.",
16318
+ "name": "--mdc-link-inverted-color-disabled"
16319
+ },
16320
+ {
16321
+ "description": "Color of the inverted linkbutton’s child content in the hover state.",
16322
+ "name": "--mdc-link-inverted-color-hover"
16323
+ },
16324
+ {
16325
+ "description": "Color of the inverted linkbutton’s child content in the normal state.",
16326
+ "name": "--mdc-link-inverted-color-normal"
16699
16327
  }
16700
16328
  ],
16701
16329
  "slots": [
16702
16330
  {
16703
- "description": "This is a default/unnamed slot, where listitems can be placed.",
16704
- "name": "default"
16331
+ "description": "Text label of the linkbutton.",
16332
+ "name": ""
16333
+ }
16334
+ ],
16335
+ "members": [
16336
+ {
16337
+ "kind": "field",
16338
+ "name": "size",
16339
+ "type": {
16340
+ "text": "ButtonSize"
16341
+ },
16342
+ "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
16343
+ "default": "16",
16344
+ "attribute": "size",
16345
+ "reflects": true,
16346
+ "inheritedFrom": {
16347
+ "name": "Buttonsimple",
16348
+ "module": "components/buttonsimple/buttonsimple.component.js"
16349
+ }
16350
+ },
16351
+ {
16352
+ "kind": "field",
16353
+ "name": "inline",
16354
+ "type": {
16355
+ "text": "boolean"
16356
+ },
16357
+ "description": "The linkbutton can be inline or standalone.",
16358
+ "default": "false",
16359
+ "attribute": "inline",
16360
+ "reflects": true
16361
+ },
16362
+ {
16363
+ "kind": "field",
16364
+ "name": "inverted",
16365
+ "type": {
16366
+ "text": "boolean"
16367
+ },
16368
+ "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
16369
+ "default": "false",
16370
+ "attribute": "inverted",
16371
+ "reflects": true
16372
+ },
16373
+ {
16374
+ "kind": "method",
16375
+ "name": "setSize",
16376
+ "privacy": "private",
16377
+ "parameters": [
16378
+ {
16379
+ "name": "size",
16380
+ "type": {
16381
+ "text": "LinkButtonSize"
16382
+ },
16383
+ "description": "The desired link size."
16384
+ }
16385
+ ],
16386
+ "description": "Sets the `size` attribute for the linkbutton, falling back to the default if the value is invalid."
16387
+ },
16388
+ {
16389
+ "kind": "field",
16390
+ "name": "iconName",
16391
+ "type": {
16392
+ "text": "IconNames | undefined"
16393
+ },
16394
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
16395
+ "attribute": "icon-name",
16396
+ "inheritedFrom": {
16397
+ "name": "IconNameMixin",
16398
+ "module": "utils/mixins/IconNameMixin.js"
16399
+ }
16400
+ },
16401
+ {
16402
+ "kind": "field",
16403
+ "name": "autofocus",
16404
+ "type": {
16405
+ "text": "boolean"
16406
+ },
16407
+ "default": "false",
16408
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
16409
+ "attribute": "autofocus",
16410
+ "reflects": true,
16411
+ "inheritedFrom": {
16412
+ "name": "Buttonsimple",
16413
+ "module": "components/buttonsimple/buttonsimple.component.js"
16414
+ }
16415
+ },
16416
+ {
16417
+ "kind": "field",
16418
+ "name": "tabIndex",
16419
+ "type": {
16420
+ "text": "number"
16421
+ },
16422
+ "default": "0",
16423
+ "description": "This property specifies the tab order of the element.",
16424
+ "attribute": "tabIndex",
16425
+ "reflects": true,
16426
+ "inheritedFrom": {
16427
+ "name": "Buttonsimple",
16428
+ "module": "components/buttonsimple/buttonsimple.component.js"
16429
+ }
16430
+ },
16431
+ {
16432
+ "kind": "field",
16433
+ "name": "disabled",
16434
+ "type": {
16435
+ "text": "boolean | undefined"
16436
+ },
16437
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16438
+ "default": "undefined",
16439
+ "attribute": "disabled",
16440
+ "reflects": true,
16441
+ "inheritedFrom": {
16442
+ "name": "Buttonsimple",
16443
+ "module": "components/buttonsimple/buttonsimple.component.js"
16444
+ }
16445
+ },
16446
+ {
16447
+ "kind": "field",
16448
+ "name": "active",
16449
+ "type": {
16450
+ "text": "boolean | undefined"
16451
+ },
16452
+ "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.",
16453
+ "default": "undefined",
16454
+ "attribute": "active",
16455
+ "reflects": true,
16456
+ "inheritedFrom": {
16457
+ "name": "Buttonsimple",
16458
+ "module": "components/buttonsimple/buttonsimple.component.js"
16459
+ }
16460
+ },
16461
+ {
16462
+ "kind": "field",
16463
+ "name": "softDisabled",
16464
+ "type": {
16465
+ "text": "boolean | undefined"
16466
+ },
16467
+ "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.",
16468
+ "default": "undefined",
16469
+ "attribute": "soft-disabled",
16470
+ "reflects": true,
16471
+ "inheritedFrom": {
16472
+ "name": "Buttonsimple",
16473
+ "module": "components/buttonsimple/buttonsimple.component.js"
16474
+ }
16475
+ },
16476
+ {
16477
+ "kind": "field",
16478
+ "name": "role",
16479
+ "type": {
16480
+ "text": "RoleType"
16481
+ },
16482
+ "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.",
16483
+ "default": "button",
16484
+ "attribute": "role",
16485
+ "reflects": true,
16486
+ "inheritedFrom": {
16487
+ "name": "Buttonsimple",
16488
+ "module": "components/buttonsimple/buttonsimple.component.js"
16489
+ }
16490
+ },
16491
+ {
16492
+ "kind": "field",
16493
+ "name": "ariaStateKey",
16494
+ "type": {
16495
+ "text": "string | undefined"
16496
+ },
16497
+ "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`",
16498
+ "default": "'aria-pressed' (when)",
16499
+ "attribute": "ariaStateKey",
16500
+ "reflects": true,
16501
+ "inheritedFrom": {
16502
+ "name": "Buttonsimple",
16503
+ "module": "components/buttonsimple/buttonsimple.component.js"
16504
+ }
16505
+ },
16506
+ {
16507
+ "kind": "field",
16508
+ "name": "type",
16509
+ "type": {
16510
+ "text": "ButtonType"
16511
+ },
16512
+ "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.",
16513
+ "default": "button",
16514
+ "attribute": "type",
16515
+ "reflects": true,
16516
+ "inheritedFrom": {
16517
+ "name": "Buttonsimple",
16518
+ "module": "components/buttonsimple/buttonsimple.component.js"
16519
+ }
16705
16520
  },
16706
16521
  {
16707
- "description": "This slot is used to pass a header for the list, which can be a `mdc-listheader` component.",
16708
- "name": "list-header"
16709
- }
16710
- ],
16711
- "members": [
16522
+ "kind": "method",
16523
+ "name": "executeAction",
16524
+ "privacy": "protected",
16525
+ "inheritedFrom": {
16526
+ "name": "Buttonsimple",
16527
+ "module": "components/buttonsimple/buttonsimple.component.js"
16528
+ }
16529
+ },
16712
16530
  {
16713
16531
  "kind": "method",
16714
- "name": "handleKeyDown",
16715
- "privacy": "private",
16716
- "return": {
16717
- "type": {
16718
- "text": "void"
16719
- }
16720
- },
16532
+ "name": "setActive",
16533
+ "privacy": "protected",
16721
16534
  "parameters": [
16722
16535
  {
16723
- "name": "event",
16536
+ "name": "element",
16724
16537
  "type": {
16725
- "text": "KeyboardEvent"
16538
+ "text": "HTMLElement"
16726
16539
  },
16727
- "description": "The keyboard event."
16540
+ "description": "The button element"
16541
+ },
16542
+ {
16543
+ "name": "active",
16544
+ "optional": true,
16545
+ "type": {
16546
+ "text": "boolean"
16547
+ },
16548
+ "description": "The active state of the element"
16728
16549
  }
16729
16550
  ],
16730
- "description": "Handles the keydown event on the list element.\nIf the key is 'ArrowUp' or 'ArrowDown', it focuses to the previous or next list item\nand sets the active tabindex of the list item.\nPrevents the default event behavior."
16551
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
16552
+ "inheritedFrom": {
16553
+ "name": "Buttonsimple",
16554
+ "module": "components/buttonsimple/buttonsimple.component.js"
16555
+ }
16731
16556
  },
16732
16557
  {
16733
16558
  "kind": "method",
16734
- "name": "getCurrentIndex",
16559
+ "name": "setSoftDisabled",
16735
16560
  "privacy": "private",
16736
- "return": {
16737
- "type": {
16738
- "text": ""
16739
- }
16740
- },
16741
16561
  "parameters": [
16742
16562
  {
16743
- "name": "target",
16563
+ "name": "element",
16744
16564
  "type": {
16745
- "text": "EventTarget | null"
16565
+ "text": "HTMLElement"
16746
16566
  },
16747
- "description": "The target element to find the index of."
16567
+ "description": "The button element."
16568
+ },
16569
+ {
16570
+ "name": "softDisabled",
16571
+ "optional": true,
16572
+ "type": {
16573
+ "text": "boolean"
16574
+ },
16575
+ "description": "The soft-disabled state."
16748
16576
  }
16749
16577
  ],
16750
- "description": "Returns the index of the given target in the listItems array.\nIf the target is not a list item, but a child element of a list item,\nit returns the index of the parent list item."
16578
+ "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.",
16579
+ "inheritedFrom": {
16580
+ "name": "Buttonsimple",
16581
+ "module": "components/buttonsimple/buttonsimple.component.js"
16582
+ }
16751
16583
  },
16752
16584
  {
16753
16585
  "kind": "method",
16754
- "name": "getNewIndexBasedOnKey",
16586
+ "name": "setDisabled",
16755
16587
  "privacy": "private",
16756
- "return": {
16757
- "type": {
16758
- "text": ""
16759
- }
16760
- },
16761
16588
  "parameters": [
16762
16589
  {
16763
- "name": "key",
16764
- "type": {
16765
- "text": "string"
16766
- },
16767
- "description": "The key that was pressed."
16768
- },
16769
- {
16770
- "name": "currentIndex",
16590
+ "name": "element",
16771
16591
  "type": {
16772
- "text": "number"
16592
+ "text": "HTMLElement"
16773
16593
  },
16774
- "description": "The current index of the focused list item."
16594
+ "description": "The button element."
16775
16595
  },
16776
16596
  {
16777
- "name": "wrappedDivsCount",
16597
+ "name": "disabled",
16778
16598
  "type": {
16779
- "text": "number"
16599
+ "text": "boolean"
16780
16600
  },
16781
- "description": "The total number of list items."
16601
+ "description": "The disabled state."
16782
16602
  }
16783
16603
  ],
16784
- "description": "Calculates a new index based on the pressed keyboard key.\nSupports navigation keys for moving focus within a list."
16604
+ "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.",
16605
+ "inheritedFrom": {
16606
+ "name": "Buttonsimple",
16607
+ "module": "components/buttonsimple/buttonsimple.component.js"
16608
+ }
16785
16609
  },
16786
16610
  {
16787
16611
  "kind": "method",
16788
- "name": "handleMouseClick",
16789
- "privacy": "protected",
16790
- "return": {
16791
- "type": {
16792
- "text": "void"
16793
- }
16794
- },
16612
+ "name": "triggerClickEvent",
16613
+ "privacy": "private",
16614
+ "inheritedFrom": {
16615
+ "name": "Buttonsimple",
16616
+ "module": "components/buttonsimple/buttonsimple.component.js"
16617
+ }
16618
+ },
16619
+ {
16620
+ "kind": "method",
16621
+ "name": "handleBlur",
16622
+ "privacy": "private",
16623
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
16624
+ "inheritedFrom": {
16625
+ "name": "Buttonsimple",
16626
+ "module": "components/buttonsimple/buttonsimple.component.js"
16627
+ }
16628
+ },
16629
+ {
16630
+ "kind": "method",
16631
+ "name": "handleKeyDown",
16632
+ "privacy": "private",
16795
16633
  "parameters": [
16796
16634
  {
16797
16635
  "name": "event",
16798
16636
  "type": {
16799
- "text": "MouseEvent"
16637
+ "text": "KeyboardEvent"
16800
16638
  },
16801
- "description": "The mouse event."
16639
+ "description": "The keyboard event."
16802
16640
  }
16803
16641
  ],
16804
- "description": "Handles the mouse click event on the list element.\nFinds the index of the target element in the list items array and calls\n`resetTabIndexAndSetActiveTabIndex` with that index."
16642
+ "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.",
16643
+ "inheritedFrom": {
16644
+ "name": "Buttonsimple",
16645
+ "module": "components/buttonsimple/buttonsimple.component.js"
16646
+ }
16805
16647
  },
16806
16648
  {
16807
16649
  "kind": "method",
16808
- "name": "resetTabIndexAndSetActiveTabIndex",
16650
+ "name": "handleKeyUp",
16809
16651
  "privacy": "private",
16810
16652
  "parameters": [
16811
16653
  {
16812
- "name": "newIndex",
16654
+ "name": "event",
16813
16655
  "type": {
16814
- "text": "number"
16656
+ "text": "KeyboardEvent"
16815
16657
  },
16816
- "description": "The index of the new active element in the list."
16658
+ "description": "The keyboard event."
16817
16659
  }
16818
16660
  ],
16819
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
16661
+ "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.",
16662
+ "inheritedFrom": {
16663
+ "name": "Buttonsimple",
16664
+ "module": "components/buttonsimple/buttonsimple.component.js"
16665
+ }
16820
16666
  }
16821
16667
  ],
16822
- "superclass": {
16823
- "name": "Component",
16824
- "module": "/src/models"
16825
- },
16826
- "tagName": "mdc-list",
16827
- "jsDoc": "/**\n * mdc-list component is used to display a group of list items. It is used as a container to wrap other list items.\n *\n * To add a header to the list, use the `mdc-listheader` component and place it in the `list-header` slot.\n * `mdc-listitem` components can be placed in the default slot.\n *\n * @tagname mdc-list\n *\n * @slot default - This is a default/unnamed slot, where listitems can be placed.\n * @slot list-header - This slot is used to pass a header for the list, which can be a `mdc-listheader` component.\n *\n * @csspart container - The container slot around the list items\n */",
16828
- "customElement": true
16829
- }
16830
- ],
16831
- "exports": [
16832
- {
16833
- "kind": "js",
16834
- "name": "default",
16835
- "declaration": {
16836
- "name": "List",
16837
- "module": "components/list/list.component.js"
16838
- }
16839
- }
16840
- ]
16841
- },
16842
- {
16843
- "kind": "javascript-module",
16844
- "path": "components/listheader/listheader.component.js",
16845
- "declarations": [
16846
- {
16847
- "kind": "class",
16848
- "description": "Listheader component is used to display a header in a list.\nIt can include icons before and after the header text, and allows for additional content via slots.",
16849
- "name": "Listheader",
16850
- "cssProperties": [
16668
+ "events": [
16851
16669
  {
16852
- "description": "height of the header",
16853
- "name": "--mdc-listheader-height"
16670
+ "description": "(React: onClick) This event is dispatched when the linkbutton is clicked.",
16671
+ "name": "click",
16672
+ "reactName": "onClick",
16673
+ "inheritedFrom": {
16674
+ "name": "Buttonsimple",
16675
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16676
+ }
16854
16677
  },
16855
16678
  {
16856
- "description": "padding around the header content",
16857
- "name": "--mdc-listheader-padding"
16679
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.",
16680
+ "name": "keydown",
16681
+ "reactName": "onKeyDown",
16682
+ "inheritedFrom": {
16683
+ "name": "Buttonsimple",
16684
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16685
+ }
16858
16686
  },
16859
16687
  {
16860
- "description": "gap between content",
16861
- "name": "--mdc-listheader-gap"
16862
- }
16863
- ],
16864
- "slots": [
16688
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the linkbutton.",
16689
+ "name": "keyup",
16690
+ "reactName": "onKeyUp",
16691
+ "inheritedFrom": {
16692
+ "name": "Buttonsimple",
16693
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16694
+ }
16695
+ },
16865
16696
  {
16866
- "description": "to pass in actionable content like buttons or links",
16867
- "name": "default"
16697
+ "description": "(React: onFocus) This event is dispatched when the linkbutton receives focus.",
16698
+ "name": "focus",
16699
+ "reactName": "onFocus",
16700
+ "inheritedFrom": {
16701
+ "name": "Buttonsimple",
16702
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16703
+ }
16868
16704
  }
16869
16705
  ],
16870
- "members": [
16706
+ "attributes": [
16707
+ {
16708
+ "name": "size",
16709
+ "type": {
16710
+ "text": "ButtonSize"
16711
+ },
16712
+ "description": "Sets the size of the linkbutton.\nAcceptable values: \n- 12\n- 14\n- 16",
16713
+ "default": "16",
16714
+ "fieldName": "size",
16715
+ "inheritedFrom": {
16716
+ "name": "Buttonsimple",
16717
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16718
+ }
16719
+ },
16720
+ {
16721
+ "name": "inline",
16722
+ "type": {
16723
+ "text": "boolean"
16724
+ },
16725
+ "description": "The linkbutton can be inline or standalone.",
16726
+ "default": "false",
16727
+ "fieldName": "inline"
16728
+ },
16729
+ {
16730
+ "name": "inverted",
16731
+ "type": {
16732
+ "text": "boolean"
16733
+ },
16734
+ "description": "The linkbutton color can be inverted by setting the inverted attribute to true.",
16735
+ "default": "false",
16736
+ "fieldName": "inverted"
16737
+ },
16871
16738
  {
16872
- "kind": "field",
16873
- "name": "prefixIcon",
16739
+ "name": "icon-name",
16874
16740
  "type": {
16875
16741
  "text": "IconNames | undefined"
16876
16742
  },
16877
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
16878
- "attribute": "prefix-icon"
16743
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
16744
+ "fieldName": "iconName",
16745
+ "inheritedFrom": {
16746
+ "name": "IconNameMixin",
16747
+ "module": "src/utils/mixins/IconNameMixin.ts"
16748
+ }
16879
16749
  },
16880
16750
  {
16881
- "kind": "field",
16882
- "name": "postfixIcon",
16751
+ "name": "autofocus",
16883
16752
  "type": {
16884
- "text": "IconNames | undefined"
16753
+ "text": "boolean"
16885
16754
  },
16886
- "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
16887
- "attribute": "postfix-icon"
16755
+ "default": "false",
16756
+ "description": "This property indicates whether the element should receive focus automatically when it is rendered.",
16757
+ "fieldName": "autofocus",
16758
+ "inheritedFrom": {
16759
+ "name": "Buttonsimple",
16760
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16761
+ }
16888
16762
  },
16889
16763
  {
16890
- "kind": "field",
16891
- "name": "headerText",
16764
+ "name": "tabIndex",
16892
16765
  "type": {
16893
- "text": "string | undefined"
16766
+ "text": "number"
16894
16767
  },
16895
- "description": "Text to be rendered in the header",
16896
- "attribute": "header-text"
16768
+ "default": "0",
16769
+ "description": "This property specifies the tab order of the element.",
16770
+ "fieldName": "tabIndex",
16771
+ "inheritedFrom": {
16772
+ "name": "Buttonsimple",
16773
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16774
+ }
16897
16775
  },
16898
16776
  {
16899
- "kind": "field",
16900
16777
  "name": "disabled",
16901
16778
  "type": {
16902
- "text": "boolean"
16779
+ "text": "boolean | undefined"
16903
16780
  },
16904
- "default": "false",
16905
- "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
16906
- "attribute": "disabled",
16907
- "reflects": true
16908
- }
16909
- ],
16910
- "attributes": [
16781
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
16782
+ "default": "undefined",
16783
+ "fieldName": "disabled",
16784
+ "inheritedFrom": {
16785
+ "name": "Buttonsimple",
16786
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16787
+ }
16788
+ },
16911
16789
  {
16912
- "name": "prefix-icon",
16790
+ "name": "active",
16913
16791
  "type": {
16914
- "text": "IconNames | undefined"
16792
+ "text": "boolean | undefined"
16915
16793
  },
16916
- "description": "Name of the icon rendered before the text\n\nIf not provided, no icon will be rendered and text will be aligned to the start.",
16917
- "fieldName": "prefixIcon"
16794
+ "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.",
16795
+ "default": "undefined",
16796
+ "fieldName": "active",
16797
+ "inheritedFrom": {
16798
+ "name": "Buttonsimple",
16799
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16800
+ }
16918
16801
  },
16919
16802
  {
16920
- "name": "postfix-icon",
16803
+ "name": "soft-disabled",
16921
16804
  "type": {
16922
- "text": "IconNames | undefined"
16805
+ "text": "boolean | undefined"
16923
16806
  },
16924
- "description": "Name of the icon rendered after the slot & text\n\nIf not provided, no icon will be rendered and content will be aligned to the end.",
16925
- "fieldName": "postfixIcon"
16807
+ "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.",
16808
+ "default": "undefined",
16809
+ "fieldName": "softDisabled",
16810
+ "inheritedFrom": {
16811
+ "name": "Buttonsimple",
16812
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16813
+ }
16926
16814
  },
16927
16815
  {
16928
- "name": "header-text",
16816
+ "name": "role",
16817
+ "type": {
16818
+ "text": "RoleType"
16819
+ },
16820
+ "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.",
16821
+ "default": "button",
16822
+ "fieldName": "role",
16823
+ "inheritedFrom": {
16824
+ "name": "Buttonsimple",
16825
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16826
+ }
16827
+ },
16828
+ {
16829
+ "name": "ariaStateKey",
16929
16830
  "type": {
16930
16831
  "text": "string | undefined"
16931
16832
  },
16932
- "description": "Text to be rendered in the header",
16933
- "fieldName": "headerText"
16833
+ "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`",
16834
+ "default": "'aria-pressed' (when)",
16835
+ "fieldName": "ariaStateKey",
16836
+ "inheritedFrom": {
16837
+ "name": "Buttonsimple",
16838
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16839
+ }
16934
16840
  },
16935
16841
  {
16936
- "name": "disabled",
16842
+ "name": "type",
16937
16843
  "type": {
16938
- "text": "boolean"
16844
+ "text": "ButtonType"
16939
16845
  },
16940
- "default": "false",
16941
- "description": "Disables the header, making it visually styled as disabled.\n\nNOTE: slot content will still be interactive unless individually disabled.\nMake sure to handle the disabled state of any actionable elements inside the slot.",
16942
- "fieldName": "disabled"
16846
+ "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.",
16847
+ "default": "button",
16848
+ "fieldName": "type",
16849
+ "inheritedFrom": {
16850
+ "name": "Buttonsimple",
16851
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
16852
+ }
16853
+ }
16854
+ ],
16855
+ "mixins": [
16856
+ {
16857
+ "name": "IconNameMixin",
16858
+ "module": "/src/utils/mixins/IconNameMixin"
16943
16859
  }
16944
16860
  ],
16945
16861
  "superclass": {
16946
- "name": "Component",
16947
- "module": "/src/models"
16862
+ "name": "Buttonsimple",
16863
+ "module": "/src/components/buttonsimple/buttonsimple.component"
16948
16864
  },
16949
- "tagName": "mdc-listheader",
16950
- "jsDoc": "/**\n * Listheader component is used to display a header in a list.\n * It can include icons before and after the header text, and allows for additional content via slots.\n *\n * @tagname mdc-listheader\n *\n * @slot default - to pass in actionable content like buttons or links\n *\n * @cssproperty --mdc-listheader-height - height of the header\n * @cssproperty --mdc-listheader-padding - padding around the header content\n * @cssproperty --mdc-listheader-gap - gap between content\n */",
16865
+ "tagName": "mdc-linkbutton",
16866
+ "jsDoc": "/**\n * `mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n *\n * ### Features:\n * - Looks like a link, behaves like a button.\n * - Supports slots for a text label and an optional trailing icon.\n * - Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.\n *\n * @dependency mdc-icon\n *\n * @tagname mdc-linkbutton\n *\n * @slot - Text label of the linkbutton.\n *\n * @event click - (React: onClick) This event is dispatched when the linkbutton is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the linkbutton.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the linkbutton.\n * @event focus - (React: onFocus) This event is dispatched when the linkbutton receives focus.\n *\n * @cssproperty --mdc-link-border-radius - Border radius of the linkbutton.\n * @cssproperty --mdc-link-color-active - Color of the linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-color-disabled - Color of the linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-color-hover - Color of the linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-color-normal - Color of the linkbutton’s child content in the normal state.\n * @cssproperty --mdc-link-inverted-color-active - Color of the inverted linkbutton’s child content in the active state.\n * @cssproperty --mdc-link-inverted-color-disabled - Color of the inverted linkbutton’s child content in the disabled state.\n * @cssproperty --mdc-link-inverted-color-hover - Color of the inverted linkbutton’s child content in the hover state.\n * @cssproperty --mdc-link-inverted-color-normal - Color of the inverted linkbutton’s child content in the normal state.\n */",
16951
16867
  "customElement": true
16952
16868
  }
16953
16869
  ],
@@ -16956,8 +16872,8 @@
16956
16872
  "kind": "js",
16957
16873
  "name": "default",
16958
16874
  "declaration": {
16959
- "name": "Listheader",
16960
- "module": "components/listheader/listheader.component.js"
16875
+ "name": "LinkButton",
16876
+ "module": "components/linkbutton/linkbutton.component.js"
16961
16877
  }
16962
16878
  }
16963
16879
  ]
@@ -26176,20 +26092,6 @@
26176
26092
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
26177
26093
  }
26178
26094
  },
26179
- {
26180
- "kind": "field",
26181
- "name": "id",
26182
- "type": {
26183
- "text": "string"
26184
- },
26185
- "default": "''",
26186
- "description": "The unique id of the input field. It is used to link the input field with the label.",
26187
- "attribute": "id",
26188
- "inheritedFrom": {
26189
- "name": "FormfieldWrapper",
26190
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
26191
- }
26192
- },
26193
26095
  {
26194
26096
  "kind": "field",
26195
26097
  "name": "helpText",
@@ -26681,19 +26583,6 @@
26681
26583
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26682
26584
  }
26683
26585
  },
26684
- {
26685
- "name": "id",
26686
- "type": {
26687
- "text": "string"
26688
- },
26689
- "default": "''",
26690
- "description": "The unique id of the input field. It is used to link the input field with the label.",
26691
- "fieldName": "id",
26692
- "inheritedFrom": {
26693
- "name": "FormfieldWrapper",
26694
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
26695
- }
26696
- },
26697
26586
  {
26698
26587
  "name": "help-text",
26699
26588
  "type": {
@@ -28663,20 +28552,6 @@
28663
28552
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
28664
28553
  }
28665
28554
  },
28666
- {
28667
- "kind": "field",
28668
- "name": "id",
28669
- "type": {
28670
- "text": "string"
28671
- },
28672
- "default": "''",
28673
- "description": "The unique id of the input field. It is used to link the input field with the label.",
28674
- "attribute": "id",
28675
- "inheritedFrom": {
28676
- "name": "FormfieldWrapper",
28677
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
28678
- }
28679
- },
28680
28555
  {
28681
28556
  "kind": "field",
28682
28557
  "name": "helpTextType",
@@ -28903,19 +28778,6 @@
28903
28778
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
28904
28779
  }
28905
28780
  },
28906
- {
28907
- "name": "id",
28908
- "type": {
28909
- "text": "string"
28910
- },
28911
- "default": "''",
28912
- "description": "The unique id of the input field. It is used to link the input field with the label.",
28913
- "fieldName": "id",
28914
- "inheritedFrom": {
28915
- "name": "FormfieldWrapper",
28916
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
28917
- }
28918
- },
28919
28781
  {
28920
28782
  "name": "help-text-type",
28921
28783
  "type": {
@@ -29268,20 +29130,6 @@
29268
29130
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29269
29131
  }
29270
29132
  },
29271
- {
29272
- "kind": "field",
29273
- "name": "id",
29274
- "type": {
29275
- "text": "string"
29276
- },
29277
- "default": "''",
29278
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29279
- "attribute": "id",
29280
- "inheritedFrom": {
29281
- "name": "FormfieldWrapper",
29282
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29283
- }
29284
- },
29285
29133
  {
29286
29134
  "kind": "field",
29287
29135
  "name": "helpTextType",
@@ -29527,19 +29375,6 @@
29527
29375
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29528
29376
  }
29529
29377
  },
29530
- {
29531
- "name": "id",
29532
- "type": {
29533
- "text": "string"
29534
- },
29535
- "default": "''",
29536
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29537
- "fieldName": "id",
29538
- "inheritedFrom": {
29539
- "name": "FormfieldWrapper",
29540
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
29541
- }
29542
- },
29543
29378
  {
29544
29379
  "name": "help-text-type",
29545
29380
  "type": {
@@ -29957,20 +29792,6 @@
29957
29792
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29958
29793
  }
29959
29794
  },
29960
- {
29961
- "kind": "field",
29962
- "name": "id",
29963
- "type": {
29964
- "text": "string"
29965
- },
29966
- "default": "''",
29967
- "description": "The unique id of the input field. It is used to link the input field with the label.",
29968
- "attribute": "id",
29969
- "inheritedFrom": {
29970
- "name": "FormfieldWrapper",
29971
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
29972
- }
29973
- },
29974
29795
  {
29975
29796
  "kind": "field",
29976
29797
  "name": "helpTextType",
@@ -30250,19 +30071,6 @@
30250
30071
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30251
30072
  }
30252
30073
  },
30253
- {
30254
- "name": "id",
30255
- "type": {
30256
- "text": "string"
30257
- },
30258
- "default": "''",
30259
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30260
- "fieldName": "id",
30261
- "inheritedFrom": {
30262
- "name": "FormfieldWrapper",
30263
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30264
- }
30265
- },
30266
30074
  {
30267
30075
  "name": "help-text-type",
30268
30076
  "type": {
@@ -30430,24 +30238,10 @@
30430
30238
  "type": {
30431
30239
  "text": "boolean"
30432
30240
  },
30433
- "default": "false",
30434
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
30435
- "attribute": "required",
30436
- "reflects": true,
30437
- "inheritedFrom": {
30438
- "name": "FormfieldWrapper",
30439
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
30440
- }
30441
- },
30442
- {
30443
- "kind": "field",
30444
- "name": "id",
30445
- "type": {
30446
- "text": "string"
30447
- },
30448
- "default": "''",
30449
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30450
- "attribute": "id",
30241
+ "default": "false",
30242
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
30243
+ "attribute": "required",
30244
+ "reflects": true,
30451
30245
  "inheritedFrom": {
30452
30246
  "name": "FormfieldWrapper",
30453
30247
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
@@ -30661,19 +30455,6 @@
30661
30455
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30662
30456
  }
30663
30457
  },
30664
- {
30665
- "name": "id",
30666
- "type": {
30667
- "text": "string"
30668
- },
30669
- "default": "''",
30670
- "description": "The unique id of the input field. It is used to link the input field with the label.",
30671
- "fieldName": "id",
30672
- "inheritedFrom": {
30673
- "name": "FormfieldWrapper",
30674
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
30675
- }
30676
- },
30677
30458
  {
30678
30459
  "name": "help-text-type",
30679
30460
  "type": {
@@ -31489,20 +31270,6 @@
31489
31270
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31490
31271
  }
31491
31272
  },
31492
- {
31493
- "kind": "field",
31494
- "name": "id",
31495
- "type": {
31496
- "text": "string"
31497
- },
31498
- "default": "''",
31499
- "description": "The unique id of the input field. It is used to link the input field with the label.",
31500
- "attribute": "id",
31501
- "inheritedFrom": {
31502
- "name": "FormfieldWrapper",
31503
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
31504
- }
31505
- },
31506
31273
  {
31507
31274
  "kind": "field",
31508
31275
  "name": "helpTextType",
@@ -31994,19 +31761,6 @@
31994
31761
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
31995
31762
  }
31996
31763
  },
31997
- {
31998
- "name": "id",
31999
- "type": {
32000
- "text": "string"
32001
- },
32002
- "default": "''",
32003
- "description": "The unique id of the input field. It is used to link the input field with the label.",
32004
- "fieldName": "id",
32005
- "inheritedFrom": {
32006
- "name": "FormfieldWrapper",
32007
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
32008
- }
32009
- },
32010
31764
  {
32011
31765
  "name": "help-text-type",
32012
31766
  "type": {
@@ -32776,20 +32530,6 @@
32776
32530
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
32777
32531
  }
32778
32532
  },
32779
- {
32780
- "kind": "field",
32781
- "name": "id",
32782
- "type": {
32783
- "text": "string"
32784
- },
32785
- "default": "''",
32786
- "description": "The unique id of the input field. It is used to link the input field with the label.",
32787
- "attribute": "id",
32788
- "inheritedFrom": {
32789
- "name": "FormfieldWrapper",
32790
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
32791
- }
32792
- },
32793
32533
  {
32794
32534
  "kind": "field",
32795
32535
  "name": "helpTextType",
@@ -33129,19 +32869,6 @@
33129
32869
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
33130
32870
  }
33131
32871
  },
33132
- {
33133
- "name": "id",
33134
- "type": {
33135
- "text": "string"
33136
- },
33137
- "default": "''",
33138
- "description": "The unique id of the input field. It is used to link the input field with the label.",
33139
- "fieldName": "id",
33140
- "inheritedFrom": {
33141
- "name": "FormfieldWrapper",
33142
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
33143
- }
33144
- },
33145
32872
  {
33146
32873
  "name": "help-text-type",
33147
32874
  "type": {
@@ -36562,20 +36289,6 @@
36562
36289
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36563
36290
  }
36564
36291
  },
36565
- {
36566
- "kind": "field",
36567
- "name": "id",
36568
- "type": {
36569
- "text": "string"
36570
- },
36571
- "default": "''",
36572
- "description": "The unique id of the input field. It is used to link the input field with the label.",
36573
- "attribute": "id",
36574
- "inheritedFrom": {
36575
- "name": "FormfieldWrapper",
36576
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36577
- }
36578
- },
36579
36292
  {
36580
36293
  "kind": "field",
36581
36294
  "name": "helpTextType",
@@ -36951,19 +36664,6 @@
36951
36664
  "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36952
36665
  }
36953
36666
  },
36954
- {
36955
- "name": "id",
36956
- "type": {
36957
- "text": "string"
36958
- },
36959
- "default": "''",
36960
- "description": "The unique id of the input field. It is used to link the input field with the label.",
36961
- "fieldName": "id",
36962
- "inheritedFrom": {
36963
- "name": "FormfieldWrapper",
36964
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
36965
- }
36966
- },
36967
36667
  {
36968
36668
  "name": "help-text-type",
36969
36669
  "type": {
@@ -37168,376 +36868,690 @@
37168
36868
  },
37169
36869
  {
37170
36870
  "kind": "javascript-module",
37171
- "path": "components/toast/toast.component.js",
36871
+ "path": "components/toggle/toggle.component.js",
37172
36872
  "declarations": [
37173
36873
  {
37174
36874
  "kind": "class",
37175
- "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
37176
- "name": "Toast",
36875
+ "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nTo create a group of toggles, use the FormFieldGroup component.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
36876
+ "name": "Toggle",
37177
36877
  "cssProperties": [
37178
36878
  {
37179
- "description": "Background color of the toast.",
37180
- "name": "--mdc-toast-background-color"
36879
+ "description": "Width of the toggle",
36880
+ "name": "--mdc-toggle-width"
37181
36881
  },
37182
36882
  {
37183
- "description": "Border color of the toast.",
37184
- "name": "--mdc-toast-border-color"
36883
+ "description": "Height of the toggle",
36884
+ "name": "--mdc-toggle-height"
37185
36885
  },
37186
36886
  {
37187
- "description": "Color of the header text in the toast.",
37188
- "name": "--mdc-toast-header-text-color"
36887
+ "description": "Width of the toggle when it's size is compact",
36888
+ "name": "--mdc-toggle-width-compact"
37189
36889
  },
37190
36890
  {
37191
- "description": "Color of the icon in the toast.",
37192
- "name": "--mdc-toast-icon-color"
36891
+ "description": "Height of the toggle when it's size is compact",
36892
+ "name": "--mdc-toggle-height-compact"
37193
36893
  },
37194
36894
  {
37195
- "description": "Elevation effect applied to the toast.",
37196
- "name": "--mdc-toast-elevation-3"
36895
+ "description": "Line height of the toggle label",
36896
+ "name": "--mdc-toggle-label-lineheight"
37197
36897
  },
37198
36898
  {
37199
- "description": "Width of the toast.",
37200
- "name": "--mdc-toast-width"
36899
+ "description": "Font size of the toggle label",
36900
+ "name": "--mdc-toggle-label-fontsize"
37201
36901
  },
37202
36902
  {
37203
- "description": "Padding inside the toast.",
37204
- "name": "--mdc-toast-padding"
37205
- }
37206
- ],
37207
- "cssParts": [
37208
- {
37209
- "description": "The container for the toast's main content, including icon, text, and close button.",
37210
- "name": "content-container"
36903
+ "description": "Font weight of the toggle label",
36904
+ "name": "--mdc-toggle-label-fontweight"
37211
36905
  },
37212
36906
  {
37213
- "description": "The icon shown at the start of the toast, styled by variant.",
37214
- "name": "toast-prefix-icon"
36907
+ "description": "Color of the toggle label and help text in disabled state",
36908
+ "name": "--mdc-toggle-label-color-disabled"
37215
36909
  },
37216
36910
  {
37217
- "description": "The container for the header and body content of the toast.",
37218
- "name": "toast-content"
36911
+ "description": "Color of the help text label",
36912
+ "name": "--mdc-toggle-help-text-color"
37219
36913
  },
37220
36914
  {
37221
- "description": "The header text of the toast.",
37222
- "name": "toast-header"
36915
+ "description": "Background color of the active toggle in hover state",
36916
+ "name": "--mdc-toggle-active-hover-color"
37223
36917
  },
37224
36918
  {
37225
- "description": "The container for the toast's footer, including toggle and action buttons.",
37226
- "name": "footer"
36919
+ "description": "Background color of the active toggle in pressed state",
36920
+ "name": "--mdc-toggle-active-pressed-color"
37227
36921
  },
37228
36922
  {
37229
- "description": "The toggle button for showing/hiding detailed content.",
37230
- "name": "footer-button-toggle"
36923
+ "description": "Background color of the inactive toggle in hover state",
36924
+ "name": "--mdc-toggle-inactive-hover-color"
37231
36925
  },
37232
36926
  {
37233
- "description": "The close button for the toast.",
37234
- "name": "toast-close-btn"
36927
+ "description": "Background color of the inactive toggle in pressed state",
36928
+ "name": "--mdc-toggle-inactive-pressed-color"
37235
36929
  }
37236
36930
  ],
37237
- "slots": [
36931
+ "members": [
37238
36932
  {
37239
- "description": "Slot for custom content before the icon (only for custom variant).",
37240
- "name": "content-prefix"
36933
+ "kind": "field",
36934
+ "name": "checked",
36935
+ "type": {
36936
+ "text": "boolean"
36937
+ },
36938
+ "default": "false",
36939
+ "description": "Determines whether the toggle is active or inactive.",
36940
+ "attribute": "checked",
36941
+ "reflects": true
37241
36942
  },
37242
36943
  {
37243
- "description": "Slot for the main body content of the toast.",
37244
- "name": "toast-body-normal"
36944
+ "kind": "field",
36945
+ "name": "size",
36946
+ "type": {
36947
+ "text": "ToggleSize"
36948
+ },
36949
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
36950
+ "default": "default",
36951
+ "attribute": "size",
36952
+ "reflects": true
37245
36953
  },
37246
36954
  {
37247
- "description": "Slot for additional detailed content, shown when expanded.",
37248
- "name": "toast-body-detailed"
36955
+ "kind": "field",
36956
+ "name": "autofocus",
36957
+ "type": {
36958
+ "text": "boolean"
36959
+ },
36960
+ "default": "false",
36961
+ "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
36962
+ "attribute": "autofocus",
36963
+ "reflects": true
37249
36964
  },
37250
36965
  {
37251
- "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
37252
- "name": "footer"
36966
+ "kind": "method",
36967
+ "name": "manageRequired",
36968
+ "privacy": "private",
36969
+ "description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the required property is set, then the checkbox is invalid.\nIf the validationMessage is set, it will be used as the custom validity message.\nIf the validationMessage is not set, it will clear the custom validity message."
36970
+ },
36971
+ {
36972
+ "kind": "method",
36973
+ "name": "setFormValue",
36974
+ "privacy": "private",
36975
+ "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
36976
+ },
36977
+ {
36978
+ "kind": "method",
36979
+ "name": "toggleState",
36980
+ "privacy": "private",
36981
+ "return": {
36982
+ "type": {
36983
+ "text": "void"
36984
+ }
36985
+ },
36986
+ "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
36987
+ },
36988
+ {
36989
+ "kind": "method",
36990
+ "name": "handleKeyDown",
36991
+ "privacy": "private",
36992
+ "return": {
36993
+ "type": {
36994
+ "text": "void"
36995
+ }
36996
+ },
36997
+ "parameters": [
36998
+ {
36999
+ "name": "event",
37000
+ "type": {
37001
+ "text": "KeyboardEvent"
37002
+ },
37003
+ "description": "The keyboard event."
37004
+ }
37005
+ ],
37006
+ "description": "Handles the keydown event on the toggle element.\nWhen the user presses Enter, the form is submitted."
37007
+ },
37008
+ {
37009
+ "kind": "method",
37010
+ "name": "handleChange",
37011
+ "privacy": "private",
37012
+ "parameters": [
37013
+ {
37014
+ "name": "event",
37015
+ "type": {
37016
+ "text": "Event"
37017
+ }
37018
+ }
37019
+ ],
37020
+ "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
37021
+ },
37022
+ {
37023
+ "kind": "method",
37024
+ "name": "setToggleSize",
37025
+ "privacy": "private",
37026
+ "parameters": [
37027
+ {
37028
+ "name": "size",
37029
+ "type": {
37030
+ "text": "ToggleSize"
37031
+ },
37032
+ "description": "The size to set."
37033
+ }
37034
+ ],
37035
+ "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
37253
37036
  },
37254
37037
  {
37255
- "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
37256
- "name": "footer-button-primary"
37038
+ "kind": "field",
37039
+ "name": "name",
37040
+ "type": {
37041
+ "text": "string"
37042
+ },
37043
+ "default": "''",
37044
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
37045
+ "attribute": "name",
37046
+ "reflects": true,
37047
+ "inheritedFrom": {
37048
+ "name": "FormInternalsMixin",
37049
+ "module": "utils/mixins/FormInternalsMixin.js"
37050
+ }
37257
37051
  },
37258
- {
37259
- "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
37260
- "name": "footer-button-secondary"
37261
- }
37262
- ],
37263
- "members": [
37264
37052
  {
37265
37053
  "kind": "field",
37266
- "name": "variant",
37054
+ "name": "value",
37267
37055
  "type": {
37268
- "text": "ToastVariant"
37056
+ "text": "string"
37269
37057
  },
37270
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
37271
- "default": "'custom'",
37272
- "attribute": "variant",
37273
- "reflects": true
37058
+ "default": "''",
37059
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
37060
+ "attribute": "value",
37061
+ "reflects": true,
37062
+ "inheritedFrom": {
37063
+ "name": "FormInternalsMixin",
37064
+ "module": "utils/mixins/FormInternalsMixin.js"
37065
+ }
37274
37066
  },
37275
37067
  {
37276
37068
  "kind": "field",
37277
- "name": "closeButtonAriaLabel",
37069
+ "name": "validationMessage",
37278
37070
  "type": {
37279
37071
  "text": "string | undefined"
37280
37072
  },
37281
- "description": "Defines aria-label attribute for close button accessibility",
37282
- "attribute": "close-button-aria-label"
37073
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
37074
+ "attribute": "validation-message",
37075
+ "reflects": true,
37076
+ "inheritedFrom": {
37077
+ "name": "FormInternalsMixin",
37078
+ "module": "utils/mixins/FormInternalsMixin.js"
37079
+ }
37283
37080
  },
37284
37081
  {
37285
37082
  "kind": "field",
37286
- "name": "headerText",
37083
+ "name": "validity",
37287
37084
  "type": {
37288
- "text": "string | undefined"
37085
+ "text": "ValidityState"
37289
37086
  },
37290
- "description": "Defines a string value to display as the title of the toast",
37291
- "attribute": "header-text",
37292
- "reflects": true
37087
+ "readonly": true,
37088
+ "inheritedFrom": {
37089
+ "name": "FormInternalsMixin",
37090
+ "module": "utils/mixins/FormInternalsMixin.js"
37091
+ }
37293
37092
  },
37294
37093
  {
37295
37094
  "kind": "field",
37296
- "name": "headerTagName",
37297
- "type": {
37298
- "text": "TagName"
37095
+ "name": "willValidate",
37096
+ "readonly": true,
37097
+ "inheritedFrom": {
37098
+ "name": "FormInternalsMixin",
37099
+ "module": "utils/mixins/FormInternalsMixin.js"
37100
+ }
37101
+ },
37102
+ {
37103
+ "kind": "method",
37104
+ "name": "setValidity",
37105
+ "description": "Sets the validity of the input field based on the input field's validity.",
37106
+ "return": {
37107
+ "type": {
37108
+ "text": ""
37109
+ }
37299
37110
  },
37300
- "description": "The html tag to be used for the header text",
37301
- "default": "'h2'",
37302
- "attribute": "header-tag-name",
37303
- "reflects": true
37111
+ "inheritedFrom": {
37112
+ "name": "FormInternalsMixin",
37113
+ "module": "utils/mixins/FormInternalsMixin.js"
37114
+ }
37115
+ },
37116
+ {
37117
+ "kind": "method",
37118
+ "name": "checkValidity",
37119
+ "return": {
37120
+ "type": {
37121
+ "text": "boolean"
37122
+ }
37123
+ },
37124
+ "inheritedFrom": {
37125
+ "name": "FormInternalsMixin",
37126
+ "module": "utils/mixins/FormInternalsMixin.js"
37127
+ }
37128
+ },
37129
+ {
37130
+ "kind": "method",
37131
+ "name": "reportValidity",
37132
+ "inheritedFrom": {
37133
+ "name": "FormInternalsMixin",
37134
+ "module": "utils/mixins/FormInternalsMixin.js"
37135
+ }
37304
37136
  },
37305
37137
  {
37306
37138
  "kind": "field",
37307
- "name": "ariaLabel",
37139
+ "name": "dataAriaLabel",
37308
37140
  "type": {
37309
37141
  "text": "string | null"
37310
37142
  },
37311
37143
  "default": "null",
37312
- "description": "Defines aria-label attribute when header is not used",
37313
- "attribute": "aria-label",
37314
- "reflects": true
37144
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
37145
+ "attribute": "data-aria-label",
37146
+ "reflects": true,
37147
+ "inheritedFrom": {
37148
+ "name": "DataAriaLabelMixin",
37149
+ "module": "utils/mixins/DataAriaLabelMixin.js"
37150
+ }
37315
37151
  },
37316
37152
  {
37317
37153
  "kind": "field",
37318
- "name": "showMoreText",
37154
+ "name": "disabled",
37319
37155
  "type": {
37320
- "text": "string | undefined"
37156
+ "text": "boolean | undefined"
37321
37157
  },
37322
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
37323
- "attribute": "show-more-text",
37324
- "reflects": true
37158
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
37159
+ "default": "undefined",
37160
+ "attribute": "disabled",
37161
+ "reflects": true,
37162
+ "inheritedFrom": {
37163
+ "name": "FormfieldWrapper",
37164
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37165
+ }
37325
37166
  },
37326
37167
  {
37327
37168
  "kind": "field",
37328
- "name": "showLessText",
37169
+ "name": "label",
37329
37170
  "type": {
37330
37171
  "text": "string | undefined"
37331
37172
  },
37332
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
37333
- "attribute": "show-less-text",
37334
- "reflects": true
37173
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
37174
+ "attribute": "label",
37175
+ "reflects": true,
37176
+ "inheritedFrom": {
37177
+ "name": "FormfieldWrapper",
37178
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37179
+ }
37335
37180
  },
37336
37181
  {
37337
37182
  "kind": "field",
37338
- "name": "isDetailVisible",
37183
+ "name": "required",
37339
37184
  "type": {
37340
37185
  "text": "boolean"
37341
37186
  },
37342
- "privacy": "private",
37343
- "default": "false"
37187
+ "default": "false",
37188
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
37189
+ "attribute": "required",
37190
+ "reflects": true,
37191
+ "inheritedFrom": {
37192
+ "name": "FormfieldWrapper",
37193
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37194
+ }
37344
37195
  },
37345
37196
  {
37346
37197
  "kind": "field",
37347
- "name": "hasDetailedSlot",
37198
+ "name": "helpTextType",
37348
37199
  "type": {
37349
- "text": "boolean"
37200
+ "text": "ValidationType"
37350
37201
  },
37351
- "privacy": "private",
37352
- "default": "false"
37202
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
37203
+ "attribute": "help-text-type",
37204
+ "reflects": true,
37205
+ "inheritedFrom": {
37206
+ "name": "FormfieldWrapper",
37207
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37208
+ }
37353
37209
  },
37354
37210
  {
37355
37211
  "kind": "field",
37356
- "name": "detailedElements",
37212
+ "name": "helpText",
37357
37213
  "type": {
37358
- "text": "HTMLElement[]"
37214
+ "text": "string | undefined"
37359
37215
  },
37360
- "privacy": "private"
37216
+ "description": "The help text that is displayed below the input field.",
37217
+ "attribute": "help-text",
37218
+ "reflects": true,
37219
+ "inheritedFrom": {
37220
+ "name": "FormfieldWrapper",
37221
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37222
+ }
37361
37223
  },
37362
37224
  {
37363
37225
  "kind": "field",
37364
- "name": "hasFooterButtons",
37226
+ "name": "toggletipText",
37365
37227
  "type": {
37366
- "text": "string"
37228
+ "text": "string | undefined"
37367
37229
  },
37368
- "privacy": "private",
37369
- "default": "''"
37370
- },
37371
- {
37372
- "kind": "method",
37373
- "name": "closeToast",
37374
- "privacy": "private",
37375
- "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
37376
- },
37377
- {
37378
- "kind": "method",
37379
- "name": "toggleDetailVisibility",
37380
- "privacy": "private"
37230
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
37231
+ "attribute": "toggletip-text",
37232
+ "reflects": true,
37233
+ "inheritedFrom": {
37234
+ "name": "FormfieldWrapper",
37235
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37236
+ }
37381
37237
  },
37382
37238
  {
37383
- "kind": "method",
37384
- "name": "updateDetailedSlotPresence",
37385
- "privacy": "private"
37239
+ "kind": "field",
37240
+ "name": "toggletipPlacement",
37241
+ "type": {
37242
+ "text": "PopoverPlacement"
37243
+ },
37244
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
37245
+ "default": "'top'",
37246
+ "attribute": "toggletip-placement",
37247
+ "reflects": true,
37248
+ "inheritedFrom": {
37249
+ "name": "FormfieldWrapper",
37250
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37251
+ }
37386
37252
  },
37387
37253
  {
37388
- "kind": "method",
37389
- "name": "updateFooterButtonsPresence",
37390
- "privacy": "private"
37254
+ "kind": "field",
37255
+ "name": "infoIconAriaLabel",
37256
+ "type": {
37257
+ "text": "string | undefined"
37258
+ },
37259
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
37260
+ "attribute": "info-icon-aria-label",
37261
+ "reflects": true,
37262
+ "inheritedFrom": {
37263
+ "name": "FormfieldWrapper",
37264
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37265
+ }
37391
37266
  },
37392
37267
  {
37393
37268
  "kind": "method",
37394
- "name": "renderIcon",
37269
+ "name": "renderLabelElement",
37395
37270
  "privacy": "protected",
37396
- "parameters": [
37397
- {
37398
- "name": "iconName",
37399
- "type": {
37400
- "text": "string"
37401
- }
37271
+ "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
37272
+ "return": {
37273
+ "type": {
37274
+ "text": ""
37402
37275
  }
37403
- ]
37404
- },
37405
- {
37406
- "kind": "method",
37407
- "name": "shouldRenderToggleButton",
37408
- "privacy": "private"
37276
+ },
37277
+ "inheritedFrom": {
37278
+ "name": "FormfieldWrapper",
37279
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37280
+ }
37409
37281
  },
37410
37282
  {
37411
37283
  "kind": "method",
37412
- "name": "renderToggleDetailButton",
37413
- "privacy": "private"
37284
+ "name": "renderHelpTextIcon",
37285
+ "privacy": "protected",
37286
+ "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
37287
+ "return": {
37288
+ "type": {
37289
+ "text": ""
37290
+ }
37291
+ },
37292
+ "inheritedFrom": {
37293
+ "name": "FormfieldWrapper",
37294
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37295
+ }
37414
37296
  },
37415
37297
  {
37416
37298
  "kind": "method",
37417
- "name": "renderHeader",
37418
- "privacy": "protected"
37299
+ "name": "renderHelpText",
37300
+ "privacy": "protected",
37301
+ "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
37302
+ "return": {
37303
+ "type": {
37304
+ "text": ""
37305
+ }
37306
+ },
37307
+ "inheritedFrom": {
37308
+ "name": "FormfieldWrapper",
37309
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37310
+ }
37419
37311
  },
37420
37312
  {
37421
37313
  "kind": "method",
37422
- "name": "handleFooterSlot",
37314
+ "name": "renderLabel",
37423
37315
  "privacy": "protected",
37316
+ "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
37424
37317
  "return": {
37425
37318
  "type": {
37426
- "text": "void"
37319
+ "text": ""
37427
37320
  }
37428
37321
  },
37429
- "parameters": [
37430
- {
37431
- "name": "tagname",
37432
- "type": {
37433
- "text": "string"
37434
- }
37435
- },
37436
- {
37437
- "name": "variant",
37438
- "optional": true,
37439
- "type": {
37440
- "text": "string | undefined"
37441
- }
37442
- }
37443
- ]
37322
+ "inheritedFrom": {
37323
+ "name": "FormfieldWrapper",
37324
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37325
+ }
37444
37326
  },
37445
37327
  {
37446
37328
  "kind": "method",
37447
- "name": "renderFooter",
37329
+ "name": "renderHelperText",
37448
37330
  "privacy": "protected",
37449
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
37331
+ "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
37450
37332
  "return": {
37451
37333
  "type": {
37452
37334
  "text": ""
37453
37335
  }
37454
37336
  },
37455
37337
  "inheritedFrom": {
37456
- "name": "FooterMixin",
37457
- "module": "utils/mixins/FooterMixin.js"
37338
+ "name": "FormfieldWrapper",
37339
+ "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37458
37340
  }
37459
37341
  }
37460
37342
  ],
37461
37343
  "events": [
37462
37344
  {
37463
- "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
37464
- "name": "close",
37465
- "reactName": "onClose"
37345
+ "type": {
37346
+ "text": "EventConstructor"
37347
+ }
37348
+ },
37349
+ {
37350
+ "description": "(React: onChange) Event that gets dispatched when the toggle state changes.",
37351
+ "name": "change",
37352
+ "reactName": "onChange"
37353
+ },
37354
+ {
37355
+ "description": "(React: onFocus) Event that gets dispatched when the toggle receives focus.",
37356
+ "name": "focus",
37357
+ "reactName": "onFocus"
37466
37358
  }
37467
37359
  ],
37468
37360
  "attributes": [
37469
37361
  {
37470
- "name": "variant",
37362
+ "name": "checked",
37471
37363
  "type": {
37472
- "text": "ToastVariant"
37364
+ "text": "boolean"
37473
37365
  },
37474
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
37475
- "default": "'custom'",
37476
- "fieldName": "variant"
37366
+ "default": "false",
37367
+ "description": "Determines whether the toggle is active or inactive.",
37368
+ "fieldName": "checked"
37477
37369
  },
37478
37370
  {
37479
- "name": "close-button-aria-label",
37371
+ "name": "size",
37480
37372
  "type": {
37481
- "text": "string | undefined"
37373
+ "text": "ToggleSize"
37482
37374
  },
37483
- "description": "Defines aria-label attribute for close button accessibility",
37484
- "fieldName": "closeButtonAriaLabel"
37375
+ "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
37376
+ "default": "default",
37377
+ "fieldName": "size"
37485
37378
  },
37486
37379
  {
37487
- "name": "header-text",
37380
+ "name": "autofocus",
37488
37381
  "type": {
37489
- "text": "string | undefined"
37382
+ "text": "boolean"
37490
37383
  },
37491
- "description": "Defines a string value to display as the title of the toast",
37492
- "fieldName": "headerText"
37384
+ "default": "false",
37385
+ "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
37386
+ "fieldName": "autofocus"
37493
37387
  },
37494
37388
  {
37495
- "name": "header-tag-name",
37389
+ "name": "name",
37496
37390
  "type": {
37497
- "text": "TagName"
37391
+ "text": "string"
37498
37392
  },
37499
- "description": "The html tag to be used for the header text",
37500
- "default": "'h2'",
37501
- "fieldName": "headerTagName"
37393
+ "default": "''",
37394
+ "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
37395
+ "fieldName": "name",
37396
+ "inheritedFrom": {
37397
+ "name": "FormInternalsMixin",
37398
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
37399
+ }
37502
37400
  },
37503
37401
  {
37504
- "name": "aria-label",
37402
+ "name": "value",
37403
+ "type": {
37404
+ "text": "string"
37405
+ },
37406
+ "default": "''",
37407
+ "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
37408
+ "fieldName": "value",
37409
+ "inheritedFrom": {
37410
+ "name": "FormInternalsMixin",
37411
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
37412
+ }
37413
+ },
37414
+ {
37415
+ "name": "validation-message",
37416
+ "type": {
37417
+ "text": "string | undefined"
37418
+ },
37419
+ "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
37420
+ "fieldName": "validationMessage",
37421
+ "inheritedFrom": {
37422
+ "name": "FormInternalsMixin",
37423
+ "module": "src/utils/mixins/FormInternalsMixin.ts"
37424
+ }
37425
+ },
37426
+ {
37427
+ "name": "data-aria-label",
37505
37428
  "type": {
37506
37429
  "text": "string | null"
37507
37430
  },
37508
37431
  "default": "null",
37509
- "description": "Defines aria-label attribute when header is not used",
37510
- "fieldName": "ariaLabel"
37432
+ "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
37433
+ "fieldName": "dataAriaLabel",
37434
+ "inheritedFrom": {
37435
+ "name": "DataAriaLabelMixin",
37436
+ "module": "src/utils/mixins/DataAriaLabelMixin.ts"
37437
+ }
37511
37438
  },
37512
37439
  {
37513
- "name": "show-more-text",
37440
+ "name": "disabled",
37441
+ "type": {
37442
+ "text": "boolean | undefined"
37443
+ },
37444
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
37445
+ "default": "undefined",
37446
+ "fieldName": "disabled",
37447
+ "inheritedFrom": {
37448
+ "name": "FormfieldWrapper",
37449
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37450
+ }
37451
+ },
37452
+ {
37453
+ "name": "label",
37514
37454
  "type": {
37515
37455
  "text": "string | undefined"
37516
37456
  },
37517
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
37518
- "fieldName": "showMoreText"
37457
+ "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
37458
+ "fieldName": "label",
37459
+ "inheritedFrom": {
37460
+ "name": "FormfieldWrapper",
37461
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37462
+ }
37519
37463
  },
37520
37464
  {
37521
- "name": "show-less-text",
37465
+ "name": "required",
37466
+ "type": {
37467
+ "text": "boolean"
37468
+ },
37469
+ "default": "false",
37470
+ "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
37471
+ "fieldName": "required",
37472
+ "inheritedFrom": {
37473
+ "name": "FormfieldWrapper",
37474
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37475
+ }
37476
+ },
37477
+ {
37478
+ "name": "help-text-type",
37479
+ "type": {
37480
+ "text": "ValidationType"
37481
+ },
37482
+ "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
37483
+ "fieldName": "helpTextType",
37484
+ "inheritedFrom": {
37485
+ "name": "FormfieldWrapper",
37486
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37487
+ }
37488
+ },
37489
+ {
37490
+ "name": "help-text",
37522
37491
  "type": {
37523
37492
  "text": "string | undefined"
37524
37493
  },
37525
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
37526
- "fieldName": "showLessText"
37494
+ "description": "The help text that is displayed below the input field.",
37495
+ "fieldName": "helpText",
37496
+ "inheritedFrom": {
37497
+ "name": "FormfieldWrapper",
37498
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37499
+ }
37500
+ },
37501
+ {
37502
+ "name": "toggletip-text",
37503
+ "type": {
37504
+ "text": "string | undefined"
37505
+ },
37506
+ "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
37507
+ "fieldName": "toggletipText",
37508
+ "inheritedFrom": {
37509
+ "name": "FormfieldWrapper",
37510
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37511
+ }
37512
+ },
37513
+ {
37514
+ "name": "toggletip-placement",
37515
+ "type": {
37516
+ "text": "PopoverPlacement"
37517
+ },
37518
+ "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
37519
+ "default": "'top'",
37520
+ "fieldName": "toggletipPlacement",
37521
+ "inheritedFrom": {
37522
+ "name": "FormfieldWrapper",
37523
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37524
+ }
37525
+ },
37526
+ {
37527
+ "name": "info-icon-aria-label",
37528
+ "type": {
37529
+ "text": "string | undefined"
37530
+ },
37531
+ "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
37532
+ "fieldName": "infoIconAriaLabel",
37533
+ "inheritedFrom": {
37534
+ "name": "FormfieldWrapper",
37535
+ "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
37536
+ }
37527
37537
  }
37528
37538
  ],
37529
37539
  "mixins": [
37530
37540
  {
37531
- "name": "FooterMixin",
37532
- "module": "/src/utils/mixins/FooterMixin"
37541
+ "name": "FormInternalsMixin",
37542
+ "module": "/src/utils/mixins/FormInternalsMixin"
37543
+ },
37544
+ {
37545
+ "name": "DataAriaLabelMixin",
37546
+ "module": "/src/utils/mixins/DataAriaLabelMixin"
37533
37547
  }
37534
37548
  ],
37535
37549
  "superclass": {
37536
- "name": "Component",
37537
- "module": "/src/models"
37550
+ "name": "FormfieldWrapper",
37551
+ "module": "/src/components/formfieldwrapper"
37538
37552
  },
37539
- "tagName": "mdc-toast",
37540
- "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-linkbutton\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
37553
+ "tagName": "mdc-toggle",
37554
+ "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-statictoggle\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-toggle\n *\n * @event change - (React: onChange) Event that gets dispatched when the toggle state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.\n *\n * @cssproperty --mdc-toggle-width - Width of the toggle\n * @cssproperty --mdc-toggle-height - Height of the toggle\n * @cssproperty --mdc-toggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-label-lineheight - Line height of the toggle label\n * @cssproperty --mdc-toggle-label-fontsize - Font size of the toggle label\n * @cssproperty --mdc-toggle-label-fontweight - Font weight of the toggle label\n * @cssproperty --mdc-toggle-label-color-disabled - Color of the toggle label and help text in disabled state\n * @cssproperty --mdc-toggle-help-text-color - Color of the help text label\n * @cssproperty --mdc-toggle-active-hover-color - Background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - Background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-hover-color - Background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state\n */",
37541
37555
  "customElement": true
37542
37556
  }
37543
37557
  ],
@@ -37546,725 +37560,384 @@
37546
37560
  "kind": "js",
37547
37561
  "name": "default",
37548
37562
  "declaration": {
37549
- "name": "Toast",
37550
- "module": "components/toast/toast.component.js"
37563
+ "name": "Toggle",
37564
+ "module": "components/toggle/toggle.component.js"
37551
37565
  }
37552
37566
  }
37553
37567
  ]
37554
37568
  },
37555
37569
  {
37556
37570
  "kind": "javascript-module",
37557
- "path": "components/toggle/toggle.component.js",
37571
+ "path": "components/toast/toast.component.js",
37558
37572
  "declarations": [
37559
37573
  {
37560
37574
  "kind": "class",
37561
- "description": "Toggle Component is an interactive control used to switch between two mutually exclusive options,\nsuch as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\nwhere users need to enable or disable a feature.\nIt contains an optional label and an optional helper text.\n\nTo create a group of toggles, use the FormFieldGroup component.\n\nNote: It internally renders a checkbox styled as a toggle switch.",
37562
- "name": "Toggle",
37575
+ "description": "`mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\nIt supports success, warning, error, and custom messages, and is designed to be controlled externally.\n\n**Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\nIf not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.",
37576
+ "name": "Toast",
37563
37577
  "cssProperties": [
37564
37578
  {
37565
- "description": "Width of the toggle",
37566
- "name": "--mdc-toggle-width"
37567
- },
37568
- {
37569
- "description": "Height of the toggle",
37570
- "name": "--mdc-toggle-height"
37571
- },
37572
- {
37573
- "description": "Width of the toggle when it's size is compact",
37574
- "name": "--mdc-toggle-width-compact"
37575
- },
37576
- {
37577
- "description": "Height of the toggle when it's size is compact",
37578
- "name": "--mdc-toggle-height-compact"
37579
- },
37580
- {
37581
- "description": "Line height of the toggle label",
37582
- "name": "--mdc-toggle-label-lineheight"
37583
- },
37584
- {
37585
- "description": "Font size of the toggle label",
37586
- "name": "--mdc-toggle-label-fontsize"
37587
- },
37588
- {
37589
- "description": "Font weight of the toggle label",
37590
- "name": "--mdc-toggle-label-fontweight"
37579
+ "description": "Background color of the toast.",
37580
+ "name": "--mdc-toast-background-color"
37591
37581
  },
37592
37582
  {
37593
- "description": "Color of the toggle label and help text in disabled state",
37594
- "name": "--mdc-toggle-label-color-disabled"
37583
+ "description": "Border color of the toast.",
37584
+ "name": "--mdc-toast-border-color"
37595
37585
  },
37596
37586
  {
37597
- "description": "Color of the help text label",
37598
- "name": "--mdc-toggle-help-text-color"
37587
+ "description": "Color of the header text in the toast.",
37588
+ "name": "--mdc-toast-header-text-color"
37599
37589
  },
37600
37590
  {
37601
- "description": "Background color of the active toggle in hover state",
37602
- "name": "--mdc-toggle-active-hover-color"
37591
+ "description": "Color of the icon in the toast.",
37592
+ "name": "--mdc-toast-icon-color"
37603
37593
  },
37604
37594
  {
37605
- "description": "Background color of the active toggle in pressed state",
37606
- "name": "--mdc-toggle-active-pressed-color"
37595
+ "description": "Elevation effect applied to the toast.",
37596
+ "name": "--mdc-toast-elevation-3"
37607
37597
  },
37608
37598
  {
37609
- "description": "Background color of the inactive toggle in hover state",
37610
- "name": "--mdc-toggle-inactive-hover-color"
37599
+ "description": "Width of the toast.",
37600
+ "name": "--mdc-toast-width"
37611
37601
  },
37612
37602
  {
37613
- "description": "Background color of the inactive toggle in pressed state",
37614
- "name": "--mdc-toggle-inactive-pressed-color"
37603
+ "description": "Padding inside the toast.",
37604
+ "name": "--mdc-toast-padding"
37615
37605
  }
37616
37606
  ],
37617
- "members": [
37618
- {
37619
- "kind": "field",
37620
- "name": "checked",
37621
- "type": {
37622
- "text": "boolean"
37623
- },
37624
- "default": "false",
37625
- "description": "Determines whether the toggle is active or inactive.",
37626
- "attribute": "checked",
37627
- "reflects": true
37628
- },
37629
- {
37630
- "kind": "field",
37631
- "name": "size",
37632
- "type": {
37633
- "text": "ToggleSize"
37634
- },
37635
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
37636
- "default": "default",
37637
- "attribute": "size",
37638
- "reflects": true
37639
- },
37640
- {
37641
- "kind": "field",
37642
- "name": "autofocus",
37643
- "type": {
37644
- "text": "boolean"
37645
- },
37646
- "default": "false",
37647
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
37648
- "attribute": "autofocus",
37649
- "reflects": true
37650
- },
37651
- {
37652
- "kind": "method",
37653
- "name": "manageRequired",
37654
- "privacy": "private",
37655
- "description": "Manages the required state of the checkbox.\nIf the checkbox is not checked and the required property is set, then the checkbox is invalid.\nIf the validationMessage is set, it will be used as the custom validity message.\nIf the validationMessage is not set, it will clear the custom validity message."
37656
- },
37657
- {
37658
- "kind": "method",
37659
- "name": "setFormValue",
37660
- "privacy": "private",
37661
- "description": "Updates the form value to reflect the current state of the toggle.\nIf toggle is switched on, the value is set to either the user-provided value or 'isActive' if no value is provided.\nIf toggle is switched off, the value is set to null."
37662
- },
37607
+ "cssParts": [
37663
37608
  {
37664
- "kind": "method",
37665
- "name": "toggleState",
37666
- "privacy": "private",
37667
- "return": {
37668
- "type": {
37669
- "text": "void"
37670
- }
37671
- },
37672
- "description": "Toggles the state of the toggle element.\nIf the element is not disabled, then the checked property is toggled."
37609
+ "description": "The container for the toast's main content, including icon, text, and close button.",
37610
+ "name": "content-container"
37673
37611
  },
37674
37612
  {
37675
- "kind": "method",
37676
- "name": "handleKeyDown",
37677
- "privacy": "private",
37678
- "return": {
37679
- "type": {
37680
- "text": "void"
37681
- }
37682
- },
37683
- "parameters": [
37684
- {
37685
- "name": "event",
37686
- "type": {
37687
- "text": "KeyboardEvent"
37688
- },
37689
- "description": "The keyboard event."
37690
- }
37691
- ],
37692
- "description": "Handles the keydown event on the toggle element.\nWhen the user presses Enter, the form is submitted."
37613
+ "description": "The icon shown at the start of the toast, styled by variant.",
37614
+ "name": "toast-prefix-icon"
37693
37615
  },
37694
37616
  {
37695
- "kind": "method",
37696
- "name": "handleChange",
37697
- "privacy": "private",
37698
- "parameters": [
37699
- {
37700
- "name": "event",
37701
- "type": {
37702
- "text": "Event"
37703
- }
37704
- }
37705
- ],
37706
- "description": "Toggles the state of the toggle element.\nand dispatch the new change event."
37617
+ "description": "The container for the header and body content of the toast.",
37618
+ "name": "toast-content"
37707
37619
  },
37708
37620
  {
37709
- "kind": "method",
37710
- "name": "setToggleSize",
37711
- "privacy": "private",
37712
- "parameters": [
37713
- {
37714
- "name": "size",
37715
- "type": {
37716
- "text": "ToggleSize"
37717
- },
37718
- "description": "The size to set."
37719
- }
37720
- ],
37721
- "description": "Sets the size attribute for the toggle component.\nIf the provided size is not included in the TOGGLE_SIZE,\nit defaults to the value specified in DEFAULTS.SIZE."
37621
+ "description": "The header text of the toast.",
37622
+ "name": "toast-header"
37722
37623
  },
37723
37624
  {
37724
- "kind": "field",
37725
- "name": "name",
37726
- "type": {
37727
- "text": "string"
37728
- },
37729
- "default": "''",
37730
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
37731
- "attribute": "name",
37732
- "reflects": true,
37733
- "inheritedFrom": {
37734
- "name": "FormInternalsMixin",
37735
- "module": "utils/mixins/FormInternalsMixin.js"
37736
- }
37625
+ "description": "The container for the toast's footer, including toggle and action buttons.",
37626
+ "name": "footer"
37737
37627
  },
37738
37628
  {
37739
- "kind": "field",
37740
- "name": "value",
37741
- "type": {
37742
- "text": "string"
37743
- },
37744
- "default": "''",
37745
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
37746
- "attribute": "value",
37747
- "reflects": true,
37748
- "inheritedFrom": {
37749
- "name": "FormInternalsMixin",
37750
- "module": "utils/mixins/FormInternalsMixin.js"
37751
- }
37629
+ "description": "The toggle button for showing/hiding detailed content.",
37630
+ "name": "footer-button-toggle"
37752
37631
  },
37753
37632
  {
37754
- "kind": "field",
37755
- "name": "validationMessage",
37756
- "type": {
37757
- "text": "string | undefined"
37758
- },
37759
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
37760
- "attribute": "validation-message",
37761
- "reflects": true,
37762
- "inheritedFrom": {
37763
- "name": "FormInternalsMixin",
37764
- "module": "utils/mixins/FormInternalsMixin.js"
37765
- }
37766
- },
37633
+ "description": "The close button for the toast.",
37634
+ "name": "toast-close-btn"
37635
+ }
37636
+ ],
37637
+ "slots": [
37767
37638
  {
37768
- "kind": "field",
37769
- "name": "validity",
37770
- "type": {
37771
- "text": "ValidityState"
37772
- },
37773
- "readonly": true,
37774
- "inheritedFrom": {
37775
- "name": "FormInternalsMixin",
37776
- "module": "utils/mixins/FormInternalsMixin.js"
37777
- }
37639
+ "description": "Slot for custom content before the icon (only for custom variant).",
37640
+ "name": "content-prefix"
37778
37641
  },
37779
37642
  {
37780
- "kind": "field",
37781
- "name": "willValidate",
37782
- "readonly": true,
37783
- "inheritedFrom": {
37784
- "name": "FormInternalsMixin",
37785
- "module": "utils/mixins/FormInternalsMixin.js"
37786
- }
37643
+ "description": "Slot for the main body content of the toast.",
37644
+ "name": "toast-body-normal"
37787
37645
  },
37788
37646
  {
37789
- "kind": "method",
37790
- "name": "setValidity",
37791
- "description": "Sets the validity of the input field based on the input field's validity.",
37792
- "return": {
37793
- "type": {
37794
- "text": ""
37795
- }
37796
- },
37797
- "inheritedFrom": {
37798
- "name": "FormInternalsMixin",
37799
- "module": "utils/mixins/FormInternalsMixin.js"
37800
- }
37647
+ "description": "Slot for additional detailed content, shown when expanded.",
37648
+ "name": "toast-body-detailed"
37801
37649
  },
37802
37650
  {
37803
- "kind": "method",
37804
- "name": "checkValidity",
37805
- "return": {
37806
- "type": {
37807
- "text": "boolean"
37808
- }
37809
- },
37810
- "inheritedFrom": {
37811
- "name": "FormInternalsMixin",
37812
- "module": "utils/mixins/FormInternalsMixin.js"
37813
- }
37651
+ "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
37652
+ "name": "footer"
37814
37653
  },
37815
37654
  {
37816
- "kind": "method",
37817
- "name": "reportValidity",
37818
- "inheritedFrom": {
37819
- "name": "FormInternalsMixin",
37820
- "module": "utils/mixins/FormInternalsMixin.js"
37821
- }
37655
+ "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
37656
+ "name": "footer-button-primary"
37822
37657
  },
37658
+ {
37659
+ "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
37660
+ "name": "footer-button-secondary"
37661
+ }
37662
+ ],
37663
+ "members": [
37823
37664
  {
37824
37665
  "kind": "field",
37825
- "name": "dataAriaLabel",
37666
+ "name": "variant",
37826
37667
  "type": {
37827
- "text": "string | null"
37668
+ "text": "ToastVariant"
37828
37669
  },
37829
- "default": "null",
37830
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
37831
- "attribute": "data-aria-label",
37832
- "reflects": true,
37833
- "inheritedFrom": {
37834
- "name": "DataAriaLabelMixin",
37835
- "module": "utils/mixins/DataAriaLabelMixin.js"
37836
- }
37670
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
37671
+ "default": "'custom'",
37672
+ "attribute": "variant",
37673
+ "reflects": true
37837
37674
  },
37838
37675
  {
37839
37676
  "kind": "field",
37840
- "name": "disabled",
37677
+ "name": "closeButtonAriaLabel",
37841
37678
  "type": {
37842
- "text": "boolean | undefined"
37679
+ "text": "string | undefined"
37843
37680
  },
37844
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
37845
- "default": "undefined",
37846
- "attribute": "disabled",
37847
- "reflects": true,
37848
- "inheritedFrom": {
37849
- "name": "FormfieldWrapper",
37850
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37851
- }
37681
+ "description": "Defines aria-label attribute for close button accessibility",
37682
+ "attribute": "close-button-aria-label"
37852
37683
  },
37853
37684
  {
37854
37685
  "kind": "field",
37855
- "name": "label",
37686
+ "name": "headerText",
37856
37687
  "type": {
37857
37688
  "text": "string | undefined"
37858
37689
  },
37859
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
37860
- "attribute": "label",
37861
- "reflects": true,
37862
- "inheritedFrom": {
37863
- "name": "FormfieldWrapper",
37864
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37865
- }
37690
+ "description": "Defines a string value to display as the title of the toast",
37691
+ "attribute": "header-text",
37692
+ "reflects": true
37866
37693
  },
37867
37694
  {
37868
37695
  "kind": "field",
37869
- "name": "required",
37696
+ "name": "headerTagName",
37870
37697
  "type": {
37871
- "text": "boolean"
37698
+ "text": "TagName"
37872
37699
  },
37873
- "default": "false",
37874
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
37875
- "attribute": "required",
37876
- "reflects": true,
37877
- "inheritedFrom": {
37878
- "name": "FormfieldWrapper",
37879
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37880
- }
37700
+ "description": "The html tag to be used for the header text",
37701
+ "default": "'h2'",
37702
+ "attribute": "header-tag-name",
37703
+ "reflects": true
37881
37704
  },
37882
37705
  {
37883
37706
  "kind": "field",
37884
- "name": "id",
37707
+ "name": "ariaLabel",
37885
37708
  "type": {
37886
- "text": "string"
37709
+ "text": "string | null"
37887
37710
  },
37888
- "default": "''",
37889
- "description": "The unique id of the input field. It is used to link the input field with the label.",
37890
- "attribute": "id",
37891
- "inheritedFrom": {
37892
- "name": "FormfieldWrapper",
37893
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37894
- }
37711
+ "default": "null",
37712
+ "description": "Defines aria-label attribute when header is not used",
37713
+ "attribute": "aria-label",
37714
+ "reflects": true
37895
37715
  },
37896
37716
  {
37897
37717
  "kind": "field",
37898
- "name": "helpTextType",
37718
+ "name": "showMoreText",
37899
37719
  "type": {
37900
- "text": "ValidationType"
37720
+ "text": "string | undefined"
37901
37721
  },
37902
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
37903
- "attribute": "help-text-type",
37904
- "reflects": true,
37905
- "inheritedFrom": {
37906
- "name": "FormfieldWrapper",
37907
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37908
- }
37722
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
37723
+ "attribute": "show-more-text",
37724
+ "reflects": true
37909
37725
  },
37910
37726
  {
37911
37727
  "kind": "field",
37912
- "name": "helpText",
37728
+ "name": "showLessText",
37913
37729
  "type": {
37914
37730
  "text": "string | undefined"
37915
37731
  },
37916
- "description": "The help text that is displayed below the input field.",
37917
- "attribute": "help-text",
37918
- "reflects": true,
37919
- "inheritedFrom": {
37920
- "name": "FormfieldWrapper",
37921
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37922
- }
37732
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
37733
+ "attribute": "show-less-text",
37734
+ "reflects": true
37923
37735
  },
37924
37736
  {
37925
37737
  "kind": "field",
37926
- "name": "toggletipText",
37738
+ "name": "isDetailVisible",
37927
37739
  "type": {
37928
- "text": "string | undefined"
37740
+ "text": "boolean"
37929
37741
  },
37930
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
37931
- "attribute": "toggletip-text",
37932
- "reflects": true,
37933
- "inheritedFrom": {
37934
- "name": "FormfieldWrapper",
37935
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37936
- }
37742
+ "privacy": "private",
37743
+ "default": "false"
37937
37744
  },
37938
37745
  {
37939
37746
  "kind": "field",
37940
- "name": "toggletipPlacement",
37747
+ "name": "hasDetailedSlot",
37941
37748
  "type": {
37942
- "text": "PopoverPlacement"
37749
+ "text": "boolean"
37943
37750
  },
37944
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
37945
- "default": "'top'",
37946
- "attribute": "toggletip-placement",
37947
- "reflects": true,
37948
- "inheritedFrom": {
37949
- "name": "FormfieldWrapper",
37950
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37951
- }
37751
+ "privacy": "private",
37752
+ "default": "false"
37952
37753
  },
37953
37754
  {
37954
37755
  "kind": "field",
37955
- "name": "infoIconAriaLabel",
37756
+ "name": "detailedElements",
37956
37757
  "type": {
37957
- "text": "string | undefined"
37758
+ "text": "HTMLElement[]"
37958
37759
  },
37959
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
37960
- "attribute": "info-icon-aria-label",
37961
- "reflects": true,
37962
- "inheritedFrom": {
37963
- "name": "FormfieldWrapper",
37964
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37965
- }
37760
+ "privacy": "private"
37966
37761
  },
37967
37762
  {
37968
- "kind": "method",
37969
- "name": "renderLabelElement",
37970
- "privacy": "protected",
37971
- "description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
37972
- "return": {
37973
- "type": {
37974
- "text": ""
37975
- }
37763
+ "kind": "field",
37764
+ "name": "hasFooterButtons",
37765
+ "type": {
37766
+ "text": "string"
37976
37767
  },
37977
- "inheritedFrom": {
37978
- "name": "FormfieldWrapper",
37979
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37980
- }
37768
+ "privacy": "private",
37769
+ "default": "''"
37981
37770
  },
37982
37771
  {
37983
37772
  "kind": "method",
37984
- "name": "renderHelpTextIcon",
37985
- "privacy": "protected",
37986
- "description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
37987
- "return": {
37988
- "type": {
37989
- "text": ""
37990
- }
37991
- },
37992
- "inheritedFrom": {
37993
- "name": "FormfieldWrapper",
37994
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37995
- }
37773
+ "name": "closeToast",
37774
+ "privacy": "private",
37775
+ "description": "Fired when Close Button is clicked using mouse or keyboard.\nThis method dispatches the close event.\nIt is used to notify that the toast should be closed."
37996
37776
  },
37997
37777
  {
37998
37778
  "kind": "method",
37999
- "name": "renderHelpText",
37779
+ "name": "toggleDetailVisibility",
37780
+ "privacy": "private"
37781
+ },
37782
+ {
37783
+ "kind": "method",
37784
+ "name": "updateDetailedSlotPresence",
37785
+ "privacy": "private"
37786
+ },
37787
+ {
37788
+ "kind": "method",
37789
+ "name": "updateFooterButtonsPresence",
37790
+ "privacy": "private"
37791
+ },
37792
+ {
37793
+ "kind": "method",
37794
+ "name": "renderIcon",
38000
37795
  "privacy": "protected",
38001
- "description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
38002
- "return": {
38003
- "type": {
38004
- "text": ""
37796
+ "parameters": [
37797
+ {
37798
+ "name": "iconName",
37799
+ "type": {
37800
+ "text": "string"
37801
+ }
38005
37802
  }
38006
- },
38007
- "inheritedFrom": {
38008
- "name": "FormfieldWrapper",
38009
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
38010
- }
37803
+ ]
37804
+ },
37805
+ {
37806
+ "kind": "method",
37807
+ "name": "shouldRenderToggleButton",
37808
+ "privacy": "private"
37809
+ },
37810
+ {
37811
+ "kind": "method",
37812
+ "name": "renderToggleDetailButton",
37813
+ "privacy": "private"
37814
+ },
37815
+ {
37816
+ "kind": "method",
37817
+ "name": "renderHeader",
37818
+ "privacy": "protected"
38011
37819
  },
38012
37820
  {
38013
37821
  "kind": "method",
38014
- "name": "renderLabel",
37822
+ "name": "handleFooterSlot",
38015
37823
  "privacy": "protected",
38016
- "description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
38017
37824
  "return": {
38018
37825
  "type": {
38019
- "text": ""
37826
+ "text": "void"
38020
37827
  }
38021
37828
  },
38022
- "inheritedFrom": {
38023
- "name": "FormfieldWrapper",
38024
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
38025
- }
37829
+ "parameters": [
37830
+ {
37831
+ "name": "tagname",
37832
+ "type": {
37833
+ "text": "string"
37834
+ }
37835
+ },
37836
+ {
37837
+ "name": "variant",
37838
+ "optional": true,
37839
+ "type": {
37840
+ "text": "string | undefined"
37841
+ }
37842
+ }
37843
+ ]
38026
37844
  },
38027
37845
  {
38028
37846
  "kind": "method",
38029
- "name": "renderHelperText",
37847
+ "name": "renderFooter",
38030
37848
  "privacy": "protected",
38031
- "description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
37849
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
38032
37850
  "return": {
38033
37851
  "type": {
38034
37852
  "text": ""
38035
37853
  }
38036
37854
  },
38037
37855
  "inheritedFrom": {
38038
- "name": "FormfieldWrapper",
38039
- "module": "components/formfieldwrapper/formfieldwrapper.component.js"
37856
+ "name": "FooterMixin",
37857
+ "module": "utils/mixins/FooterMixin.js"
38040
37858
  }
38041
37859
  }
38042
37860
  ],
38043
37861
  "events": [
38044
37862
  {
38045
- "type": {
38046
- "text": "EventConstructor"
38047
- }
38048
- },
38049
- {
38050
- "description": "(React: onChange) Event that gets dispatched when the toggle state changes.",
38051
- "name": "change",
38052
- "reactName": "onChange"
38053
- },
38054
- {
38055
- "description": "(React: onFocus) Event that gets dispatched when the toggle receives focus.",
38056
- "name": "focus",
38057
- "reactName": "onFocus"
37863
+ "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
37864
+ "name": "close",
37865
+ "reactName": "onClose"
38058
37866
  }
38059
37867
  ],
38060
37868
  "attributes": [
38061
37869
  {
38062
- "name": "checked",
38063
- "type": {
38064
- "text": "boolean"
38065
- },
38066
- "default": "false",
38067
- "description": "Determines whether the toggle is active or inactive.",
38068
- "fieldName": "checked"
38069
- },
38070
- {
38071
- "name": "size",
38072
- "type": {
38073
- "text": "ToggleSize"
38074
- },
38075
- "description": "Determines toggle size in rem (height is specified here).\n- **Default**: 1.5\n- **Compact**: 1",
38076
- "default": "default",
38077
- "fieldName": "size"
38078
- },
38079
- {
38080
- "name": "autofocus",
38081
- "type": {
38082
- "text": "boolean"
38083
- },
38084
- "default": "false",
38085
- "description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
38086
- "fieldName": "autofocus"
38087
- },
38088
- {
38089
- "name": "name",
38090
- "type": {
38091
- "text": "string"
38092
- },
38093
- "default": "''",
38094
- "description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
38095
- "fieldName": "name",
38096
- "inheritedFrom": {
38097
- "name": "FormInternalsMixin",
38098
- "module": "src/utils/mixins/FormInternalsMixin.ts"
38099
- }
38100
- },
38101
- {
38102
- "name": "value",
37870
+ "name": "variant",
38103
37871
  "type": {
38104
- "text": "string"
37872
+ "text": "ToastVariant"
38105
37873
  },
38106
- "default": "''",
38107
- "description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
38108
- "fieldName": "value",
38109
- "inheritedFrom": {
38110
- "name": "FormInternalsMixin",
38111
- "module": "src/utils/mixins/FormInternalsMixin.ts"
38112
- }
37874
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.",
37875
+ "default": "'custom'",
37876
+ "fieldName": "variant"
38113
37877
  },
38114
37878
  {
38115
- "name": "validation-message",
37879
+ "name": "close-button-aria-label",
38116
37880
  "type": {
38117
37881
  "text": "string | undefined"
38118
37882
  },
38119
- "description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
38120
- "fieldName": "validationMessage",
38121
- "inheritedFrom": {
38122
- "name": "FormInternalsMixin",
38123
- "module": "src/utils/mixins/FormInternalsMixin.ts"
38124
- }
38125
- },
38126
- {
38127
- "name": "data-aria-label",
38128
- "type": {
38129
- "text": "string | null"
38130
- },
38131
- "default": "null",
38132
- "description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
38133
- "fieldName": "dataAriaLabel",
38134
- "inheritedFrom": {
38135
- "name": "DataAriaLabelMixin",
38136
- "module": "src/utils/mixins/DataAriaLabelMixin.ts"
38137
- }
38138
- },
38139
- {
38140
- "name": "disabled",
38141
- "type": {
38142
- "text": "boolean | undefined"
38143
- },
38144
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
38145
- "default": "undefined",
38146
- "fieldName": "disabled",
38147
- "inheritedFrom": {
38148
- "name": "FormfieldWrapper",
38149
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38150
- }
37883
+ "description": "Defines aria-label attribute for close button accessibility",
37884
+ "fieldName": "closeButtonAriaLabel"
38151
37885
  },
38152
37886
  {
38153
- "name": "label",
37887
+ "name": "header-text",
38154
37888
  "type": {
38155
37889
  "text": "string | undefined"
38156
37890
  },
38157
- "description": "The label of the input field. It is linked to the input field using the `for` attribute.",
38158
- "fieldName": "label",
38159
- "inheritedFrom": {
38160
- "name": "FormfieldWrapper",
38161
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38162
- }
38163
- },
38164
- {
38165
- "name": "required",
38166
- "type": {
38167
- "text": "boolean"
38168
- },
38169
- "default": "false",
38170
- "description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
38171
- "fieldName": "required",
38172
- "inheritedFrom": {
38173
- "name": "FormfieldWrapper",
38174
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38175
- }
38176
- },
38177
- {
38178
- "name": "id",
38179
- "type": {
38180
- "text": "string"
38181
- },
38182
- "default": "''",
38183
- "description": "The unique id of the input field. It is used to link the input field with the label.",
38184
- "fieldName": "id",
38185
- "inheritedFrom": {
38186
- "name": "FormfieldWrapper",
38187
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38188
- }
37891
+ "description": "Defines a string value to display as the title of the toast",
37892
+ "fieldName": "headerText"
38189
37893
  },
38190
37894
  {
38191
- "name": "help-text-type",
37895
+ "name": "header-tag-name",
38192
37896
  "type": {
38193
- "text": "ValidationType"
37897
+ "text": "TagName"
38194
37898
  },
38195
- "description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
38196
- "fieldName": "helpTextType",
38197
- "inheritedFrom": {
38198
- "name": "FormfieldWrapper",
38199
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38200
- }
37899
+ "description": "The html tag to be used for the header text",
37900
+ "default": "'h2'",
37901
+ "fieldName": "headerTagName"
38201
37902
  },
38202
37903
  {
38203
- "name": "help-text",
37904
+ "name": "aria-label",
38204
37905
  "type": {
38205
- "text": "string | undefined"
37906
+ "text": "string | null"
38206
37907
  },
38207
- "description": "The help text that is displayed below the input field.",
38208
- "fieldName": "helpText",
38209
- "inheritedFrom": {
38210
- "name": "FormfieldWrapper",
38211
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38212
- }
37908
+ "default": "null",
37909
+ "description": "Defines aria-label attribute when header is not used",
37910
+ "fieldName": "ariaLabel"
38213
37911
  },
38214
37912
  {
38215
- "name": "toggletip-text",
37913
+ "name": "show-more-text",
38216
37914
  "type": {
38217
37915
  "text": "string | undefined"
38218
37916
  },
38219
- "description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
38220
- "fieldName": "toggletipText",
38221
- "inheritedFrom": {
38222
- "name": "FormfieldWrapper",
38223
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38224
- }
38225
- },
38226
- {
38227
- "name": "toggletip-placement",
38228
- "type": {
38229
- "text": "PopoverPlacement"
38230
- },
38231
- "description": "The placement of the toggletip that is displayed when the info icon is hovered.",
38232
- "default": "'top'",
38233
- "fieldName": "toggletipPlacement",
38234
- "inheritedFrom": {
38235
- "name": "FormfieldWrapper",
38236
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38237
- }
37917
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
37918
+ "fieldName": "showMoreText"
38238
37919
  },
38239
37920
  {
38240
- "name": "info-icon-aria-label",
37921
+ "name": "show-less-text",
38241
37922
  "type": {
38242
37923
  "text": "string | undefined"
38243
37924
  },
38244
- "description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
38245
- "fieldName": "infoIconAriaLabel",
38246
- "inheritedFrom": {
38247
- "name": "FormfieldWrapper",
38248
- "module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
38249
- }
37925
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
37926
+ "fieldName": "showLessText"
38250
37927
  }
38251
37928
  ],
38252
37929
  "mixins": [
38253
37930
  {
38254
- "name": "FormInternalsMixin",
38255
- "module": "/src/utils/mixins/FormInternalsMixin"
38256
- },
38257
- {
38258
- "name": "DataAriaLabelMixin",
38259
- "module": "/src/utils/mixins/DataAriaLabelMixin"
37931
+ "name": "FooterMixin",
37932
+ "module": "/src/utils/mixins/FooterMixin"
38260
37933
  }
38261
37934
  ],
38262
37935
  "superclass": {
38263
- "name": "FormfieldWrapper",
38264
- "module": "/src/components/formfieldwrapper"
37936
+ "name": "Component",
37937
+ "module": "/src/models"
38265
37938
  },
38266
- "tagName": "mdc-toggle",
38267
- "jsDoc": "/**\n * Toggle Component is an interactive control used to switch between two mutually exclusive options,\n * such as On/Off, Active/Inactive. These are commonly used in settings panels, forms, and preference selections\n * where users need to enable or disable a feature.\n * It contains an optional label and an optional helper text.\n *\n * To create a group of toggles, use the FormFieldGroup component.\n *\n * Note: It internally renders a checkbox styled as a toggle switch.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-statictoggle\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-toggle\n *\n * @event change - (React: onChange) Event that gets dispatched when the toggle state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the toggle receives focus.\n *\n * @cssproperty --mdc-toggle-width - Width of the toggle\n * @cssproperty --mdc-toggle-height - Height of the toggle\n * @cssproperty --mdc-toggle-width-compact - Width of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-height-compact - Height of the toggle when it's size is compact\n * @cssproperty --mdc-toggle-label-lineheight - Line height of the toggle label\n * @cssproperty --mdc-toggle-label-fontsize - Font size of the toggle label\n * @cssproperty --mdc-toggle-label-fontweight - Font weight of the toggle label\n * @cssproperty --mdc-toggle-label-color-disabled - Color of the toggle label and help text in disabled state\n * @cssproperty --mdc-toggle-help-text-color - Color of the help text label\n * @cssproperty --mdc-toggle-active-hover-color - Background color of the active toggle in hover state\n * @cssproperty --mdc-toggle-active-pressed-color - Background color of the active toggle in pressed state\n * @cssproperty --mdc-toggle-inactive-hover-color - Background color of the inactive toggle in hover state\n * @cssproperty --mdc-toggle-inactive-pressed-color - Background color of the inactive toggle in pressed state\n */",
37939
+ "tagName": "mdc-toast",
37940
+ "jsDoc": "/**\n * `mdc-toast` is a lightweight, non-blocking alert used to inform users about application processes.\n * It supports success, warning, error, and custom messages, and is designed to be controlled externally.\n * \n * **Note**: When using `slot=\"toast-body-normal\"` and `slot=\"toast-body-detailed\"`, it's strongly recommended to wrap the content with `<mdc-text tagname=\"span\">`.\n * If not used, ensure your custom content is styled appropriately to match the design and alignment expectations of the toast component.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-button\n * @dependency mdc-linkbutton\n *\n * @slot content-prefix - Slot for custom content before the icon (only for custom variant).\n * @slot toast-body-normal - Slot for the main body content of the toast.\n * @slot toast-body-detailed - Slot for additional detailed content, shown when expanded.\n * @slot footer - Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.\n * @slot footer-button-primary - Slot for passing the primary variant of `mdc-button` in the footer.\n * @slot footer-button-secondary - Slot for passing the secondary variant of `mdc-button` in the footer.\n *\n * @tagname mdc-toast\n * \n * @event close - (React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.\n *\n * @csspart content-container - The container for the toast's main content, including icon, text, and close button.\n * @csspart toast-prefix-icon - The icon shown at the start of the toast, styled by variant.\n * @csspart toast-content - The container for the header and body content of the toast.\n * @csspart toast-header - The header text of the toast.\n * @csspart footer - The container for the toast's footer, including toggle and action buttons.\n * @csspart footer-button-toggle - The toggle button for showing/hiding detailed content.\n * @csspart toast-close-btn - The close button for the toast.\n *\n * @cssproperty --mdc-toast-background-color - Background color of the toast.\n * @cssproperty --mdc-toast-border-color - Border color of the toast.\n * @cssproperty --mdc-toast-header-text-color - Color of the header text in the toast.\n * @cssproperty --mdc-toast-icon-color - Color of the icon in the toast.\n * @cssproperty --mdc-toast-elevation-3 - Elevation effect applied to the toast.\n * @cssproperty --mdc-toast-width - Width of the toast.\n * @cssproperty --mdc-toast-padding - Padding inside the toast.\n */",
38268
37941
  "customElement": true
38269
37942
  }
38270
37943
  ],
@@ -38273,8 +37946,8 @@
38273
37946
  "kind": "js",
38274
37947
  "name": "default",
38275
37948
  "declaration": {
38276
- "name": "Toggle",
38277
- "module": "components/toggle/toggle.component.js"
37949
+ "name": "Toast",
37950
+ "module": "components/toast/toast.component.js"
38278
37951
  }
38279
37952
  }
38280
37953
  ]