@momentum-design/components 0.127.4 → 0.127.6

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.
@@ -513,157 +513,6 @@
513
513
  }
514
514
  ]
515
515
  },
516
- {
517
- "kind": "javascript-module",
518
- "path": "components/accordiongroup/accordiongroup.component.js",
519
- "declarations": [
520
- {
521
- "kind": "class",
522
- "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
523
- "name": "AccordionGroup",
524
- "cssProperties": [
525
- {
526
- "description": "The border color of the entire accordiongroup",
527
- "name": "--mdc-accordiongroup-border-color"
528
- }
529
- ],
530
- "slots": [
531
- {
532
- "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
533
- "name": "default"
534
- }
535
- ],
536
- "members": [
537
- {
538
- "kind": "field",
539
- "name": "size",
540
- "type": {
541
- "text": "Size"
542
- },
543
- "description": "The size of the accordion item.",
544
- "default": "'small'",
545
- "attribute": "size",
546
- "reflects": true
547
- },
548
- {
549
- "kind": "field",
550
- "name": "variant",
551
- "type": {
552
- "text": "Variant"
553
- },
554
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
555
- "default": "'stacked'",
556
- "attribute": "variant",
557
- "reflects": true
558
- },
559
- {
560
- "kind": "field",
561
- "name": "allowMultiple",
562
- "type": {
563
- "text": "boolean"
564
- },
565
- "default": "false",
566
- "description": "If true, multiple accordion items can be visible at the same time.",
567
- "attribute": "allow-multiple",
568
- "reflects": true
569
- },
570
- {
571
- "kind": "method",
572
- "name": "handleAccordionExpanded",
573
- "privacy": "private",
574
- "return": {
575
- "type": {
576
- "text": "void"
577
- }
578
- },
579
- "parameters": [
580
- {
581
- "name": "event",
582
- "type": {
583
- "text": "Event"
584
- },
585
- "description": "The event object from the 'shown' event."
586
- }
587
- ],
588
- "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
589
- },
590
- {
591
- "kind": "method",
592
- "name": "setChildrenAccordionAttributes",
593
- "privacy": "private",
594
- "return": {
595
- "type": {
596
- "text": "void"
597
- }
598
- },
599
- "parameters": [
600
- {
601
- "name": "attributeName",
602
- "type": {
603
- "text": "string"
604
- },
605
- "description": "The name of the attribute to set."
606
- },
607
- {
608
- "name": "attributeValue",
609
- "type": {
610
- "text": "string"
611
- },
612
- "description": "The value to set the attribute to."
613
- }
614
- ],
615
- "description": "Sets the given attribute on all child accordion or accordionbutton components."
616
- }
617
- ],
618
- "attributes": [
619
- {
620
- "name": "size",
621
- "type": {
622
- "text": "Size"
623
- },
624
- "description": "The size of the accordion item.",
625
- "default": "'small'",
626
- "fieldName": "size"
627
- },
628
- {
629
- "name": "variant",
630
- "type": {
631
- "text": "Variant"
632
- },
633
- "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
634
- "default": "'stacked'",
635
- "fieldName": "variant"
636
- },
637
- {
638
- "name": "allow-multiple",
639
- "type": {
640
- "text": "boolean"
641
- },
642
- "default": "false",
643
- "description": "If true, multiple accordion items can be visible at the same time.",
644
- "fieldName": "allowMultiple"
645
- }
646
- ],
647
- "superclass": {
648
- "name": "Component",
649
- "module": "/src/models"
650
- },
651
- "tagName": "mdc-accordiongroup",
652
- "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
653
- "customElement": true
654
- }
655
- ],
656
- "exports": [
657
- {
658
- "kind": "js",
659
- "name": "default",
660
- "declaration": {
661
- "name": "AccordionGroup",
662
- "module": "components/accordiongroup/accordiongroup.component.js"
663
- }
664
- }
665
- ]
666
- },
667
516
  {
668
517
  "kind": "javascript-module",
669
518
  "path": "components/accordionbutton/accordionbutton.component.js",
@@ -1004,6 +853,157 @@
1004
853
  }
1005
854
  ]
1006
855
  },
856
+ {
857
+ "kind": "javascript-module",
858
+ "path": "components/accordiongroup/accordiongroup.component.js",
859
+ "declarations": [
860
+ {
861
+ "kind": "class",
862
+ "description": "An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\nEach heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\nAccordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n\n- Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n\nThere are three types of variants:\n- Stacked - Each accordion will have a gap of 1.5rem (24px).\n- Borderless - Each accordion will not have any border and the group will also not have any border.\n- Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n\nThere are two types of sizes:\n- Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n- Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n\nThe variant and size will be applied to all accordions inside this accordion group.\nTo show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n\nIf you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n\nIf the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.",
863
+ "name": "AccordionGroup",
864
+ "cssProperties": [
865
+ {
866
+ "description": "The border color of the entire accordiongroup",
867
+ "name": "--mdc-accordiongroup-border-color"
868
+ }
869
+ ],
870
+ "slots": [
871
+ {
872
+ "description": "The default slot can contain the `accordion` or `accordionbutton` components.",
873
+ "name": "default"
874
+ }
875
+ ],
876
+ "members": [
877
+ {
878
+ "kind": "field",
879
+ "name": "size",
880
+ "type": {
881
+ "text": "Size"
882
+ },
883
+ "description": "The size of the accordion item.",
884
+ "default": "'small'",
885
+ "attribute": "size",
886
+ "reflects": true
887
+ },
888
+ {
889
+ "kind": "field",
890
+ "name": "variant",
891
+ "type": {
892
+ "text": "Variant"
893
+ },
894
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
895
+ "default": "'stacked'",
896
+ "attribute": "variant",
897
+ "reflects": true
898
+ },
899
+ {
900
+ "kind": "field",
901
+ "name": "allowMultiple",
902
+ "type": {
903
+ "text": "boolean"
904
+ },
905
+ "default": "false",
906
+ "description": "If true, multiple accordion items can be visible at the same time.",
907
+ "attribute": "allow-multiple",
908
+ "reflects": true
909
+ },
910
+ {
911
+ "kind": "method",
912
+ "name": "handleAccordionExpanded",
913
+ "privacy": "private",
914
+ "return": {
915
+ "type": {
916
+ "text": "void"
917
+ }
918
+ },
919
+ "parameters": [
920
+ {
921
+ "name": "event",
922
+ "type": {
923
+ "text": "Event"
924
+ },
925
+ "description": "The event object from the 'shown' event."
926
+ }
927
+ ],
928
+ "description": "Handles the 'shown' event for accordion items.\nIf `allowMultiple` is false, ensures that only one accordion item\nremains expanded by collapsing all other expanded items when a new item is expanded."
929
+ },
930
+ {
931
+ "kind": "method",
932
+ "name": "setChildrenAccordionAttributes",
933
+ "privacy": "private",
934
+ "return": {
935
+ "type": {
936
+ "text": "void"
937
+ }
938
+ },
939
+ "parameters": [
940
+ {
941
+ "name": "attributeName",
942
+ "type": {
943
+ "text": "string"
944
+ },
945
+ "description": "The name of the attribute to set."
946
+ },
947
+ {
948
+ "name": "attributeValue",
949
+ "type": {
950
+ "text": "string"
951
+ },
952
+ "description": "The value to set the attribute to."
953
+ }
954
+ ],
955
+ "description": "Sets the given attribute on all child accordion or accordionbutton components."
956
+ }
957
+ ],
958
+ "attributes": [
959
+ {
960
+ "name": "size",
961
+ "type": {
962
+ "text": "Size"
963
+ },
964
+ "description": "The size of the accordion item.",
965
+ "default": "'small'",
966
+ "fieldName": "size"
967
+ },
968
+ {
969
+ "name": "variant",
970
+ "type": {
971
+ "text": "Variant"
972
+ },
973
+ "description": "The variant of the accordion item. Based on the variant, the styling of the accordion gets changed.",
974
+ "default": "'stacked'",
975
+ "fieldName": "variant"
976
+ },
977
+ {
978
+ "name": "allow-multiple",
979
+ "type": {
980
+ "text": "boolean"
981
+ },
982
+ "default": "false",
983
+ "description": "If true, multiple accordion items can be visible at the same time.",
984
+ "fieldName": "allowMultiple"
985
+ }
986
+ ],
987
+ "superclass": {
988
+ "name": "Component",
989
+ "module": "/src/models"
990
+ },
991
+ "tagName": "mdc-accordiongroup",
992
+ "jsDoc": "/**\n * An accordion group is a vertically stacked set of interactive headings that each contain a header and body content.\n * Each heading of the accordion acts as a control that enable users to expand or hide their associated body sections of content.\n * Accordions are commonly used to reduce the need to scroll when presenting multiple sections of content on a single page.\n *\n * - Default Slot: The accordion group component only accepts, `accordion` and `accordionbutton` components as the children, rest are ignored.\n *\n * There are three types of variants:\n * - Stacked - Each accordion will have a gap of 1.5rem (24px).\n * - Borderless - Each accordion will not have any border and the group will also not have any border.\n * - Contained - Each accordion will have no gap in between them and the border of the entire accordiongroup will be continuous.\n *\n * There are two types of sizes:\n * - Small: Small size has a padding of 1rem (16px) for both heading and body sections.\n * - Large: Large size has a padding of 1.5rem (24px) for both heading and body sections.\n *\n * The variant and size will be applied to all accordions inside this accordion group.\n * To show/expand more than one accordion at any given time, then set `allow-multiple` to `true`. By default, it's `false`.\n *\n * If you don't need any controls on your accordion heading, then it's advised to use `accordionbutton` component.\n *\n * If the first accordion of the accordion group is expanded by default, then the screen reader might loose focus when toggling the visibilty of the first accordion.\n *\n * @tagname mdc-accordiongroup\n *\n * @slot default - The default slot can contain the `accordion` or `accordionbutton` components.\n *\n * @cssproperty --mdc-accordiongroup-border-color - The border color of the entire accordiongroup\n */",
993
+ "customElement": true
994
+ }
995
+ ],
996
+ "exports": [
997
+ {
998
+ "kind": "js",
999
+ "name": "default",
1000
+ "declaration": {
1001
+ "name": "AccordionGroup",
1002
+ "module": "components/accordiongroup/accordiongroup.component.js"
1003
+ }
1004
+ }
1005
+ ]
1006
+ },
1007
1007
  {
1008
1008
  "kind": "javascript-module",
1009
1009
  "path": "components/alertchip/alertchip.component.js",
@@ -2092,6 +2092,10 @@
2092
2092
  "name": "renderBody",
2093
2093
  "privacy": "protected"
2094
2094
  },
2095
+ {
2096
+ "kind": "field",
2097
+ "name": "internalSize"
2098
+ },
2095
2099
  {
2096
2100
  "kind": "field",
2097
2101
  "name": "zIndex",
@@ -4684,7 +4688,7 @@
4684
4688
  "declarations": [
4685
4689
  {
4686
4690
  "kind": "class",
4687
- "description": "`mdc-banner` is a component that allows applications to communicate important messages to users \nand requires user action to dismiss them. It supports different message types with appropriate styling \nand icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n\nThey are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n\nThis component supports both structured content via properties and flexible customization via slots:\n- Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n- Use slots for custom content and complete layout control.\n- Combine both approaches for maximum flexibility.\n- Create custom orientations and actions using CSS parts and slots.",
4691
+ "description": "`mdc-banner` is a component that allows applications to communicate important messages to users\nand requires user action to dismiss them. It supports different message types with appropriate styling\nand icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n\nThey are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n\nThis component supports both structured content via properties and flexible customization via slots:\n- Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n- Use slots for custom content and complete layout control.\n- Combine both approaches for maximum flexibility.\n- Create custom orientations and actions using CSS parts and slots.",
4688
4692
  "name": "Banner",
4689
4693
  "cssProperties": [
4690
4694
  {
@@ -4695,6 +4699,10 @@
4695
4699
  "description": "Border color of the banner.",
4696
4700
  "name": "--mdc-banner-border-color"
4697
4701
  },
4702
+ {
4703
+ "description": "Border width of the banner.",
4704
+ "name": "--mdc-banner-border-width"
4705
+ },
4698
4706
  {
4699
4707
  "description": "Color of the icon in the banner.",
4700
4708
  "name": "--mdc-banner-icon-color"
@@ -4823,7 +4831,7 @@
4823
4831
  "module": "/src/models"
4824
4832
  },
4825
4833
  "tagName": "mdc-banner",
4826
- "jsDoc": "/**\n * `mdc-banner` is a component that allows applications to communicate important messages to users \n * and requires user action to dismiss them. It supports different message types with appropriate styling \n * and icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n * \n * They are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n *\n * This component supports both structured content via properties and flexible customization via slots:\n * - Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n * - Use slots for custom content and complete layout control.\n * - Combine both approaches for maximum flexibility.\n * - Create custom orientations and actions using CSS parts and slots.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot content - Complete content override. When used, it replaces all default banner content including icon, label, secondary label, and actions.\n * @slot leading-icon - Custom icon content. Overrides the default variant-based icon.\n * @slot leading-text - Custom text content. Overrides the label and secondaryLabel properties.\n * @slot trailing-actions - Custom action buttons and controls. Use this for dismiss buttons, reset buttons, or any other actions.\n *\n * @tagname mdc-banner\n *\n * @csspart leading - The leading section containing the icon and text.\n * @csspart leading-icon - The icon displayed for variants or custom icon slot.\n * @csspart leading-text - The leading section containing label and secondary label text.\n * @csspart trailing - The trailing section containing action buttons and controls.\n * @csspart leading-label - The label text of the banner.\n * @csspart leading-secondary-label - The secondary label text of the banner.\n *\n * @cssproperty --mdc-banner-background-color - Background color of the banner.\n * @cssproperty --mdc-banner-border-color - Border color of the banner.\n * @cssproperty --mdc-banner-icon-color - Color of the icon in the banner.\n * @cssproperty --mdc-banner-elevation - Elevation/shadow of the banner.\n * @cssproperty --mdc-banner-padding - Padding inside the banner.\n * @cssproperty --mdc-banner-gap - Gap between banner elements.\n */",
4834
+ "jsDoc": "/**\n * `mdc-banner` is a component that allows applications to communicate important messages to users\n * and requires user action to dismiss them. It supports different message types with appropriate styling\n * and icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n *\n * They are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n *\n * This component supports both structured content via properties and flexible customization via slots:\n * - Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n * - Use slots for custom content and complete layout control.\n * - Combine both approaches for maximum flexibility.\n * - Create custom orientations and actions using CSS parts and slots.\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot content - Complete content override. When used, it replaces all default banner content including icon, label, secondary label, and actions.\n * @slot leading-icon - Custom icon content. Overrides the default variant-based icon.\n * @slot leading-text - Custom text content. Overrides the label and secondaryLabel properties.\n * @slot trailing-actions - Custom action buttons and controls. Use this for dismiss buttons, reset buttons, or any other actions.\n *\n * @tagname mdc-banner\n *\n * @csspart leading - The leading section containing the icon and text.\n * @csspart leading-icon - The icon displayed for variants or custom icon slot.\n * @csspart leading-text - The leading section containing label and secondary label text.\n * @csspart trailing - The trailing section containing action buttons and controls.\n * @csspart leading-label - The label text of the banner.\n * @csspart leading-secondary-label - The secondary label text of the banner.\n *\n * @cssproperty --mdc-banner-background-color - Background color of the banner.\n * @cssproperty --mdc-banner-border-color - Border color of the banner.\n * @cssproperty --mdc-banner-border-width - Border width of the banner.\n * @cssproperty --mdc-banner-icon-color - Color of the icon in the banner.\n * @cssproperty --mdc-banner-elevation - Elevation/shadow of the banner.\n * @cssproperty --mdc-banner-padding - Padding inside the banner.\n * @cssproperty --mdc-banner-gap - Gap between banner elements.\n */",
4827
4835
  "customElement": true
4828
4836
  }
4829
4837
  ],
@@ -6850,230 +6858,304 @@
6850
6858
  },
6851
6859
  {
6852
6860
  "kind": "javascript-module",
6853
- "path": "components/buttonsimple/buttonsimple.component.js",
6861
+ "path": "components/cardbutton/cardbutton.component.js",
6854
6862
  "declarations": [
6855
6863
  {
6856
6864
  "kind": "class",
6857
- "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
6858
- "name": "Buttonsimple",
6865
+ "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
6866
+ "name": "CardButton",
6859
6867
  "cssProperties": [
6868
+ {
6869
+ "description": "The width of the card",
6870
+ "name": "--mdc-card-width"
6871
+ },
6860
6872
  {
6861
6873
  "description": "Height for button size",
6862
- "name": "--mdc-button-height"
6874
+ "name": "--mdc-button-height",
6875
+ "inheritedFrom": {
6876
+ "name": "Buttonsimple",
6877
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6878
+ }
6863
6879
  },
6864
6880
  {
6865
6881
  "description": "Background color of the button",
6866
- "name": "--mdc-button-background"
6882
+ "name": "--mdc-button-background",
6883
+ "inheritedFrom": {
6884
+ "name": "Buttonsimple",
6885
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6886
+ }
6867
6887
  },
6868
6888
  {
6869
6889
  "description": "Borer color of the button",
6870
- "name": "--mdc-button-border-color"
6890
+ "name": "--mdc-button-border-color",
6891
+ "inheritedFrom": {
6892
+ "name": "Buttonsimple",
6893
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6894
+ }
6871
6895
  },
6872
6896
  {
6873
6897
  "description": "Text color of the button",
6874
- "name": "--mdc-button-text-color"
6898
+ "name": "--mdc-button-text-color",
6899
+ "inheritedFrom": {
6900
+ "name": "Buttonsimple",
6901
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
6902
+ }
6903
+ }
6904
+ ],
6905
+ "cssParts": [
6906
+ {
6907
+ "description": "The header part of the card",
6908
+ "name": "header"
6909
+ },
6910
+ {
6911
+ "description": "The icon part of the card header",
6912
+ "name": "icon"
6913
+ },
6914
+ {
6915
+ "description": "The body part of the card",
6916
+ "name": "body"
6917
+ },
6918
+ {
6919
+ "description": "The image part of the card",
6920
+ "name": "image"
6921
+ },
6922
+ {
6923
+ "description": "The footer part of the card",
6924
+ "name": "footer"
6925
+ },
6926
+ {
6927
+ "description": "The link part of the card footer",
6928
+ "name": "footer-link"
6929
+ },
6930
+ {
6931
+ "description": "The primary button part of the card footer",
6932
+ "name": "footer-button-primary"
6933
+ },
6934
+ {
6935
+ "description": "The secondary button part of the card footer",
6936
+ "name": "footer-button-secondary"
6937
+ },
6938
+ {
6939
+ "description": "The icon button part of the card header",
6940
+ "name": "icon-button"
6941
+ },
6942
+ {
6943
+ "description": "The text part of the card",
6944
+ "name": "text"
6945
+ }
6946
+ ],
6947
+ "slots": [
6948
+ {
6949
+ "description": "This slot is for passing the content before the body",
6950
+ "name": "before-body"
6951
+ },
6952
+ {
6953
+ "description": "This slot is for passing the text content for the card",
6954
+ "name": "body"
6955
+ },
6956
+ {
6957
+ "description": "This slot is for passing the content after the body",
6958
+ "name": "after-body"
6959
+ },
6960
+ {
6961
+ "description": "This slot is for passing `mdc-link` component within the footer section.",
6962
+ "name": "footer-link"
6963
+ },
6964
+ {
6965
+ "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
6966
+ "name": "footer-button-primary"
6875
6967
  }
6876
6968
  ],
6877
6969
  "members": [
6970
+ {
6971
+ "kind": "method",
6972
+ "name": "renderHeader",
6973
+ "privacy": "protected",
6974
+ "description": "Renders the header of the card if title is provided",
6975
+ "return": {
6976
+ "type": {
6977
+ "text": ""
6978
+ }
6979
+ }
6980
+ },
6878
6981
  {
6879
6982
  "kind": "field",
6880
- "name": "active",
6983
+ "name": "cardTitle",
6881
6984
  "type": {
6882
- "text": "boolean | undefined"
6985
+ "text": "string"
6883
6986
  },
6884
- "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.",
6885
- "default": "undefined",
6886
- "attribute": "active",
6887
- "reflects": true
6987
+ "default": "''",
6988
+ "description": "The title of the card - part of header section",
6989
+ "attribute": "card-title",
6990
+ "reflects": true,
6991
+ "inheritedFrom": {
6992
+ "name": "CardComponentMixin",
6993
+ "module": "utils/mixins/CardComponentMixin.js"
6994
+ }
6888
6995
  },
6889
6996
  {
6890
6997
  "kind": "field",
6891
- "name": "softDisabled",
6998
+ "name": "subtitle",
6892
6999
  "type": {
6893
- "text": "boolean | undefined"
7000
+ "text": "string"
6894
7001
  },
6895
- "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.",
6896
- "default": "undefined",
6897
- "attribute": "soft-disabled",
6898
- "reflects": true
7002
+ "default": "''",
7003
+ "description": "The subtitle of the card - part of header section",
7004
+ "attribute": "subtitle",
7005
+ "reflects": true,
7006
+ "inheritedFrom": {
7007
+ "name": "CardComponentMixin",
7008
+ "module": "utils/mixins/CardComponentMixin.js"
7009
+ }
6899
7010
  },
6900
7011
  {
6901
7012
  "kind": "field",
6902
- "name": "size",
7013
+ "name": "imageSrc",
6903
7014
  "type": {
6904
- "text": "ButtonSize"
7015
+ "text": "string"
6905
7016
  },
6906
- "description": "Simplebutton size is a super set of all the sizes supported by children components.",
6907
- "default": "32",
6908
- "attribute": "size",
6909
- "reflects": true
7017
+ "default": "''",
7018
+ "description": "The image source URL to render on the card",
7019
+ "attribute": "image-src",
7020
+ "reflects": true,
7021
+ "inheritedFrom": {
7022
+ "name": "CardComponentMixin",
7023
+ "module": "utils/mixins/CardComponentMixin.js"
7024
+ }
6910
7025
  },
6911
7026
  {
6912
7027
  "kind": "field",
6913
- "name": "role",
7028
+ "name": "imageAlt",
6914
7029
  "type": {
6915
- "text": "RoleType"
7030
+ "text": "string"
6916
7031
  },
6917
- "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.",
6918
- "default": "button",
6919
- "attribute": "role",
6920
- "reflects": true
7032
+ "default": "''",
7033
+ "description": "The image alt for accessibility support",
7034
+ "attribute": "image-alt",
7035
+ "reflects": true,
7036
+ "inheritedFrom": {
7037
+ "name": "CardComponentMixin",
7038
+ "module": "utils/mixins/CardComponentMixin.js"
7039
+ }
6921
7040
  },
6922
7041
  {
6923
7042
  "kind": "field",
6924
- "name": "ariaStateKey",
7043
+ "name": "variant",
6925
7044
  "type": {
6926
- "text": "string | undefined"
7045
+ "text": "CardVariant"
6927
7046
  },
6928
- "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`",
6929
- "default": "'aria-pressed' (when)",
6930
- "attribute": "ariaStateKey",
6931
- "reflects": true
7047
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7048
+ "default": "'border'",
7049
+ "attribute": "variant",
7050
+ "reflects": true,
7051
+ "inheritedFrom": {
7052
+ "name": "CardComponentMixin",
7053
+ "module": "utils/mixins/CardComponentMixin.js"
7054
+ }
6932
7055
  },
6933
7056
  {
6934
7057
  "kind": "field",
6935
- "name": "type",
7058
+ "name": "orientation",
6936
7059
  "type": {
6937
- "text": "ButtonType"
7060
+ "text": "CardOrientation"
6938
7061
  },
6939
- "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.",
6940
- "default": "button",
6941
- "attribute": "type",
6942
- "reflects": true
7062
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7063
+ "default": "'vertical'",
7064
+ "attribute": "orientation",
7065
+ "reflects": true,
7066
+ "inheritedFrom": {
7067
+ "name": "CardComponentMixin",
7068
+ "module": "utils/mixins/CardComponentMixin.js"
7069
+ }
6943
7070
  },
6944
7071
  {
6945
7072
  "kind": "field",
6946
- "name": "name",
7073
+ "name": "titleTagName",
6947
7074
  "type": {
6948
- "text": "string | undefined"
7075
+ "text": "TagNameType"
6949
7076
  },
6950
- "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
6951
- "attribute": "name",
6952
- "reflects": true
7077
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7078
+ "default": "'span'",
7079
+ "attribute": "title-tag-name",
7080
+ "reflects": true,
7081
+ "inheritedFrom": {
7082
+ "name": "CardComponentMixin",
7083
+ "module": "utils/mixins/CardComponentMixin.js"
7084
+ }
6953
7085
  },
6954
7086
  {
6955
7087
  "kind": "field",
6956
- "name": "value",
7088
+ "name": "subtitleTagName",
6957
7089
  "type": {
6958
- "text": "string | undefined"
7090
+ "text": "TagNameType"
6959
7091
  },
6960
- "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
6961
- "attribute": "value",
6962
- "reflects": true
7092
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7093
+ "default": "'span'",
7094
+ "attribute": "subtitle-tag-name",
7095
+ "reflects": true,
7096
+ "inheritedFrom": {
7097
+ "name": "CardComponentMixin",
7098
+ "module": "utils/mixins/CardComponentMixin.js"
7099
+ }
6963
7100
  },
6964
7101
  {
6965
- "kind": "method",
6966
- "name": "executeAction",
6967
- "privacy": "protected"
7102
+ "kind": "field",
7103
+ "name": "iconName",
7104
+ "type": {
7105
+ "text": "IconNames | undefined"
7106
+ },
7107
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7108
+ "attribute": "icon-name",
7109
+ "reflects": true,
7110
+ "inheritedFrom": {
7111
+ "name": "CardComponentMixin",
7112
+ "module": "utils/mixins/CardComponentMixin.js"
7113
+ }
6968
7114
  },
6969
7115
  {
6970
7116
  "kind": "method",
6971
- "name": "setActive",
7117
+ "name": "renderImage",
6972
7118
  "privacy": "protected",
6973
- "parameters": [
6974
- {
6975
- "name": "element",
6976
- "type": {
6977
- "text": "HTMLElement"
6978
- },
6979
- "description": "The button element"
6980
- },
6981
- {
6982
- "name": "active",
6983
- "optional": true,
6984
- "type": {
6985
- "text": "boolean"
6986
- },
6987
- "description": "The active state of the element"
6988
- }
6989
- ],
6990
- "description": "Sets the ariaStateKey attributes based on the active state of the button."
6991
- },
6992
- {
6993
- "kind": "method",
6994
- "name": "setSoftDisabled",
6995
- "privacy": "private",
6996
- "parameters": [
6997
- {
6998
- "name": "element",
6999
- "type": {
7000
- "text": "HTMLElement"
7001
- },
7002
- "description": "The button element."
7003
- },
7004
- {
7005
- "name": "softDisabled",
7006
- "optional": true,
7007
- "type": {
7008
- "text": "boolean"
7009
- },
7010
- "description": "The soft-disabled state."
7011
- }
7012
- ],
7013
- "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."
7014
- },
7015
- {
7016
- "kind": "method",
7017
- "name": "setDisabled",
7018
- "privacy": "private",
7019
- "parameters": [
7020
- {
7021
- "name": "element",
7022
- "type": {
7023
- "text": "HTMLElement"
7024
- },
7025
- "description": "The button element."
7026
- },
7027
- {
7028
- "name": "disabled",
7029
- "type": {
7030
- "text": "boolean"
7031
- },
7032
- "description": "The disabled state."
7119
+ "description": "Renders the image on the card if image source is provided",
7120
+ "return": {
7121
+ "type": {
7122
+ "text": ""
7033
7123
  }
7034
- ],
7035
- "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."
7036
- },
7037
- {
7038
- "kind": "method",
7039
- "name": "triggerClickEvent",
7040
- "privacy": "private"
7041
- },
7042
- {
7043
- "kind": "method",
7044
- "name": "handleBlur",
7045
- "privacy": "private",
7046
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
7124
+ },
7125
+ "inheritedFrom": {
7126
+ "name": "CardComponentMixin",
7127
+ "module": "utils/mixins/CardComponentMixin.js"
7128
+ }
7047
7129
  },
7048
7130
  {
7049
7131
  "kind": "method",
7050
- "name": "handleKeyDown",
7051
- "privacy": "private",
7052
- "parameters": [
7053
- {
7054
- "name": "event",
7055
- "type": {
7056
- "text": "KeyboardEvent"
7057
- },
7058
- "description": "The keyboard event."
7132
+ "name": "renderIcon",
7133
+ "privacy": "protected",
7134
+ "description": "Renders the icon on the card if icon name is provided",
7135
+ "return": {
7136
+ "type": {
7137
+ "text": ""
7059
7138
  }
7060
- ],
7061
- "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."
7139
+ },
7140
+ "inheritedFrom": {
7141
+ "name": "CardComponentMixin",
7142
+ "module": "utils/mixins/CardComponentMixin.js"
7143
+ }
7062
7144
  },
7063
7145
  {
7064
7146
  "kind": "method",
7065
- "name": "handleKeyUp",
7066
- "privacy": "private",
7067
- "parameters": [
7068
- {
7069
- "name": "event",
7070
- "type": {
7071
- "text": "KeyboardEvent"
7072
- },
7073
- "description": "The keyboard event."
7147
+ "name": "renderTitle",
7148
+ "privacy": "protected",
7149
+ "description": "Renders the title and subtitle on the card",
7150
+ "return": {
7151
+ "type": {
7152
+ "text": ""
7074
7153
  }
7075
- ],
7076
- "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."
7154
+ },
7155
+ "inheritedFrom": {
7156
+ "name": "CardComponentMixin",
7157
+ "module": "utils/mixins/CardComponentMixin.js"
7158
+ }
7077
7159
  },
7078
7160
  {
7079
7161
  "kind": "field",
@@ -7119,600 +7201,579 @@
7119
7201
  "name": "DisabledMixin",
7120
7202
  "module": "utils/mixins/DisabledMixin.js"
7121
7203
  }
7122
- }
7123
- ],
7124
- "events": [
7125
- {
7126
- "description": "(React: onClick) This event is dispatched when the button is clicked.",
7127
- "name": "click",
7128
- "reactName": "onClick"
7129
7204
  },
7130
7205
  {
7131
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
7132
- "name": "keydown",
7133
- "reactName": "onKeyDown"
7134
- },
7135
- {
7136
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
7137
- "name": "keyup",
7138
- "reactName": "onKeyUp"
7139
- },
7140
- {
7141
- "description": "(React: onFocus) This event is dispatched when the button receives focus.",
7142
- "name": "focus",
7143
- "reactName": "onFocus"
7144
- }
7145
- ],
7146
- "attributes": [
7147
- {
7206
+ "kind": "field",
7148
7207
  "name": "active",
7149
7208
  "type": {
7150
7209
  "text": "boolean | undefined"
7151
7210
  },
7152
7211
  "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.",
7153
7212
  "default": "undefined",
7154
- "fieldName": "active"
7213
+ "attribute": "active",
7214
+ "reflects": true,
7215
+ "inheritedFrom": {
7216
+ "name": "Buttonsimple",
7217
+ "module": "components/buttonsimple/buttonsimple.component.js"
7218
+ }
7155
7219
  },
7156
7220
  {
7157
- "name": "soft-disabled",
7221
+ "kind": "field",
7222
+ "name": "softDisabled",
7158
7223
  "type": {
7159
7224
  "text": "boolean | undefined"
7160
7225
  },
7161
7226
  "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.",
7162
7227
  "default": "undefined",
7163
- "fieldName": "softDisabled"
7228
+ "attribute": "soft-disabled",
7229
+ "reflects": true,
7230
+ "inheritedFrom": {
7231
+ "name": "Buttonsimple",
7232
+ "module": "components/buttonsimple/buttonsimple.component.js"
7233
+ }
7164
7234
  },
7165
7235
  {
7236
+ "kind": "field",
7166
7237
  "name": "size",
7167
7238
  "type": {
7168
7239
  "text": "ButtonSize"
7169
7240
  },
7170
7241
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7171
7242
  "default": "32",
7172
- "fieldName": "size"
7243
+ "attribute": "size",
7244
+ "reflects": true,
7245
+ "inheritedFrom": {
7246
+ "name": "Buttonsimple",
7247
+ "module": "components/buttonsimple/buttonsimple.component.js"
7248
+ }
7173
7249
  },
7174
7250
  {
7251
+ "kind": "field",
7175
7252
  "name": "role",
7176
7253
  "type": {
7177
7254
  "text": "RoleType"
7178
7255
  },
7179
7256
  "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.",
7180
7257
  "default": "button",
7181
- "fieldName": "role"
7258
+ "attribute": "role",
7259
+ "reflects": true,
7260
+ "inheritedFrom": {
7261
+ "name": "Buttonsimple",
7262
+ "module": "components/buttonsimple/buttonsimple.component.js"
7263
+ }
7182
7264
  },
7183
7265
  {
7266
+ "kind": "field",
7184
7267
  "name": "ariaStateKey",
7185
7268
  "type": {
7186
7269
  "text": "string | undefined"
7187
7270
  },
7188
7271
  "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`",
7189
7272
  "default": "'aria-pressed' (when)",
7190
- "fieldName": "ariaStateKey"
7273
+ "attribute": "ariaStateKey",
7274
+ "reflects": true,
7275
+ "inheritedFrom": {
7276
+ "name": "Buttonsimple",
7277
+ "module": "components/buttonsimple/buttonsimple.component.js"
7278
+ }
7191
7279
  },
7192
7280
  {
7281
+ "kind": "field",
7193
7282
  "name": "type",
7194
7283
  "type": {
7195
7284
  "text": "ButtonType"
7196
7285
  },
7197
7286
  "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.",
7198
7287
  "default": "button",
7199
- "fieldName": "type"
7288
+ "attribute": "type",
7289
+ "reflects": true,
7290
+ "inheritedFrom": {
7291
+ "name": "Buttonsimple",
7292
+ "module": "components/buttonsimple/buttonsimple.component.js"
7293
+ }
7200
7294
  },
7201
7295
  {
7296
+ "kind": "field",
7202
7297
  "name": "name",
7203
7298
  "type": {
7204
7299
  "text": "string | undefined"
7205
7300
  },
7206
7301
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
7207
- "fieldName": "name"
7302
+ "attribute": "name",
7303
+ "reflects": true,
7304
+ "inheritedFrom": {
7305
+ "name": "Buttonsimple",
7306
+ "module": "components/buttonsimple/buttonsimple.component.js"
7307
+ }
7208
7308
  },
7209
7309
  {
7310
+ "kind": "field",
7210
7311
  "name": "value",
7211
7312
  "type": {
7212
7313
  "text": "string | undefined"
7213
7314
  },
7214
7315
  "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
7215
- "fieldName": "value"
7216
- },
7217
- {
7218
- "name": "auto-focus-on-mount",
7219
- "type": {
7220
- "text": "boolean"
7221
- },
7222
- "default": "false",
7223
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7224
- "fieldName": "autoFocusOnMount",
7316
+ "attribute": "value",
7317
+ "reflects": true,
7225
7318
  "inheritedFrom": {
7226
- "name": "AutoFocusOnMountMixin",
7227
- "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
7319
+ "name": "Buttonsimple",
7320
+ "module": "components/buttonsimple/buttonsimple.component.js"
7228
7321
  }
7229
7322
  },
7230
7323
  {
7231
- "name": "tabIndex",
7232
- "type": {
7233
- "text": "number"
7234
- },
7235
- "default": "0",
7236
- "description": "This property specifies the tab order of the element.",
7237
- "fieldName": "tabIndex",
7324
+ "kind": "method",
7325
+ "name": "executeAction",
7326
+ "privacy": "protected",
7238
7327
  "inheritedFrom": {
7239
- "name": "TabIndexMixin",
7240
- "module": "src/utils/mixins/TabIndexMixin.ts"
7328
+ "name": "Buttonsimple",
7329
+ "module": "components/buttonsimple/buttonsimple.component.js"
7241
7330
  }
7242
7331
  },
7243
7332
  {
7244
- "name": "disabled",
7245
- "type": {
7246
- "text": "boolean | undefined"
7247
- },
7248
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7249
- "default": "undefined",
7250
- "fieldName": "disabled",
7333
+ "kind": "method",
7334
+ "name": "setActive",
7335
+ "privacy": "protected",
7336
+ "parameters": [
7337
+ {
7338
+ "name": "element",
7339
+ "type": {
7340
+ "text": "HTMLElement"
7341
+ },
7342
+ "description": "The button element"
7343
+ },
7344
+ {
7345
+ "name": "active",
7346
+ "optional": true,
7347
+ "type": {
7348
+ "text": "boolean"
7349
+ },
7350
+ "description": "The active state of the element"
7351
+ }
7352
+ ],
7353
+ "description": "Sets the ariaStateKey attributes based on the active state of the button.",
7251
7354
  "inheritedFrom": {
7252
- "name": "DisabledMixin",
7253
- "module": "src/utils/mixins/DisabledMixin.ts"
7355
+ "name": "Buttonsimple",
7356
+ "module": "components/buttonsimple/buttonsimple.component.js"
7254
7357
  }
7255
- }
7256
- ],
7257
- "mixins": [
7258
- {
7259
- "name": "AutoFocusOnMountMixin",
7260
- "module": "/src/utils/mixins/AutoFocusOnMountMixin"
7261
- },
7262
- {
7263
- "name": "TabIndexMixin",
7264
- "module": "/src/utils/mixins/TabIndexMixin"
7265
- },
7266
- {
7267
- "name": "DisabledMixin",
7268
- "module": "/src/utils/mixins/DisabledMixin"
7269
- }
7270
- ],
7271
- "superclass": {
7272
- "name": "Component",
7273
- "module": "/src/models"
7274
- },
7275
- "tagName": "mdc-buttonsimple",
7276
- "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
7277
- "customElement": true
7278
- }
7279
- ],
7280
- "exports": [
7281
- {
7282
- "kind": "js",
7283
- "name": "default",
7284
- "declaration": {
7285
- "name": "Buttonsimple",
7286
- "module": "components/buttonsimple/buttonsimple.component.js"
7287
- }
7288
- }
7289
- ]
7290
- },
7291
- {
7292
- "kind": "javascript-module",
7293
- "path": "components/card/card.component.js",
7294
- "declarations": [
7295
- {
7296
- "kind": "class",
7297
- "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
7298
- "name": "Card",
7299
- "cssProperties": [
7300
- {
7301
- "description": "The width of the card",
7302
- "name": "--mdc-card-width"
7303
- }
7304
- ],
7305
- "cssParts": [
7306
- {
7307
- "description": "The header part of the card",
7308
- "name": "header"
7309
- },
7310
- {
7311
- "description": "The icon part of the card header",
7312
- "name": "icon"
7313
- },
7314
- {
7315
- "description": "The body part of the card",
7316
- "name": "body"
7317
- },
7318
- {
7319
- "description": "The image part of the card",
7320
- "name": "image"
7321
7358
  },
7322
7359
  {
7323
- "description": "The footer part of the card",
7324
- "name": "footer"
7360
+ "kind": "method",
7361
+ "name": "setSoftDisabled",
7362
+ "privacy": "private",
7363
+ "parameters": [
7364
+ {
7365
+ "name": "element",
7366
+ "type": {
7367
+ "text": "HTMLElement"
7368
+ },
7369
+ "description": "The button element."
7370
+ },
7371
+ {
7372
+ "name": "softDisabled",
7373
+ "optional": true,
7374
+ "type": {
7375
+ "text": "boolean"
7376
+ },
7377
+ "description": "The soft-disabled state."
7378
+ }
7379
+ ],
7380
+ "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.",
7381
+ "inheritedFrom": {
7382
+ "name": "Buttonsimple",
7383
+ "module": "components/buttonsimple/buttonsimple.component.js"
7384
+ }
7325
7385
  },
7326
7386
  {
7327
- "description": "The link part of the card footer",
7328
- "name": "footer-link"
7387
+ "kind": "method",
7388
+ "name": "setDisabled",
7389
+ "privacy": "private",
7390
+ "parameters": [
7391
+ {
7392
+ "name": "element",
7393
+ "type": {
7394
+ "text": "HTMLElement"
7395
+ },
7396
+ "description": "The button element."
7397
+ },
7398
+ {
7399
+ "name": "disabled",
7400
+ "type": {
7401
+ "text": "boolean"
7402
+ },
7403
+ "description": "The disabled state."
7404
+ }
7405
+ ],
7406
+ "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.",
7407
+ "inheritedFrom": {
7408
+ "name": "Buttonsimple",
7409
+ "module": "components/buttonsimple/buttonsimple.component.js"
7410
+ }
7329
7411
  },
7330
7412
  {
7331
- "description": "The primary button part of the card footer",
7332
- "name": "footer-button-primary"
7413
+ "kind": "method",
7414
+ "name": "triggerClickEvent",
7415
+ "privacy": "private",
7416
+ "inheritedFrom": {
7417
+ "name": "Buttonsimple",
7418
+ "module": "components/buttonsimple/buttonsimple.component.js"
7419
+ }
7333
7420
  },
7334
7421
  {
7335
- "description": "The secondary button part of the card footer",
7336
- "name": "footer-button-secondary"
7422
+ "kind": "method",
7423
+ "name": "handleBlur",
7424
+ "privacy": "private",
7425
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
7426
+ "inheritedFrom": {
7427
+ "name": "Buttonsimple",
7428
+ "module": "components/buttonsimple/buttonsimple.component.js"
7429
+ }
7337
7430
  },
7338
7431
  {
7339
- "description": "The icon button part of the card header",
7340
- "name": "icon-button"
7432
+ "kind": "method",
7433
+ "name": "handleKeyDown",
7434
+ "privacy": "private",
7435
+ "parameters": [
7436
+ {
7437
+ "name": "event",
7438
+ "type": {
7439
+ "text": "KeyboardEvent"
7440
+ },
7441
+ "description": "The keyboard event."
7442
+ }
7443
+ ],
7444
+ "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.",
7445
+ "inheritedFrom": {
7446
+ "name": "Buttonsimple",
7447
+ "module": "components/buttonsimple/buttonsimple.component.js"
7448
+ }
7341
7449
  },
7342
7450
  {
7343
- "description": "The text part of the card",
7344
- "name": "text"
7451
+ "kind": "method",
7452
+ "name": "handleKeyUp",
7453
+ "privacy": "private",
7454
+ "parameters": [
7455
+ {
7456
+ "name": "event",
7457
+ "type": {
7458
+ "text": "KeyboardEvent"
7459
+ },
7460
+ "description": "The keyboard event."
7461
+ }
7462
+ ],
7463
+ "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.",
7464
+ "inheritedFrom": {
7465
+ "name": "Buttonsimple",
7466
+ "module": "components/buttonsimple/buttonsimple.component.js"
7467
+ }
7345
7468
  }
7346
7469
  ],
7347
- "slots": [
7348
- {
7349
- "description": "This slot is for passing the content before the body",
7350
- "name": "before-body"
7351
- },
7352
- {
7353
- "description": "This slot is for passing the text content for the card",
7354
- "name": "body"
7355
- },
7356
- {
7357
- "description": "This slot is for passing the content after the body",
7358
- "name": "after-body"
7359
- },
7470
+ "events": [
7360
7471
  {
7361
- "description": "This slot is for passing `mdc-link` component within the footer section.",
7362
- "name": "footer-link"
7472
+ "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
7473
+ "name": "click",
7474
+ "reactName": "onClick",
7475
+ "inheritedFrom": {
7476
+ "name": "Buttonsimple",
7477
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7478
+ }
7363
7479
  },
7364
7480
  {
7365
- "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
7366
- "name": "footer-button-primary"
7481
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
7482
+ "name": "keydown",
7483
+ "reactName": "onKeyDown",
7484
+ "inheritedFrom": {
7485
+ "name": "Buttonsimple",
7486
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7487
+ }
7367
7488
  },
7368
7489
  {
7369
- "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
7370
- "name": "footer-button-secondary"
7490
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
7491
+ "name": "keyup",
7492
+ "reactName": "onKeyUp",
7493
+ "inheritedFrom": {
7494
+ "name": "Buttonsimple",
7495
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7496
+ }
7371
7497
  },
7372
7498
  {
7373
- "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
7374
- "name": "footer"
7499
+ "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
7500
+ "name": "focus",
7501
+ "reactName": "onFocus",
7502
+ "inheritedFrom": {
7503
+ "name": "Buttonsimple",
7504
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7505
+ }
7375
7506
  }
7376
7507
  ],
7377
- "members": [
7508
+ "mixins": [
7378
7509
  {
7379
- "kind": "method",
7380
- "name": "renderHeader",
7381
- "privacy": "protected",
7382
- "description": "Renders the header of the card if title is provided",
7383
- "return": {
7384
- "type": {
7385
- "text": ""
7386
- }
7387
- }
7388
- },
7510
+ "name": "CardComponentMixin",
7511
+ "module": "/src/utils/mixins/CardComponentMixin"
7512
+ }
7513
+ ],
7514
+ "superclass": {
7515
+ "name": "Buttonsimple",
7516
+ "module": "/src/components/buttonsimple/buttonsimple.component"
7517
+ },
7518
+ "tagName": "mdc-cardbutton",
7519
+ "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
7520
+ "customElement": true,
7521
+ "attributes": [
7389
7522
  {
7390
- "kind": "field",
7391
- "name": "cardTitle",
7523
+ "name": "card-title",
7392
7524
  "type": {
7393
7525
  "text": "string"
7394
7526
  },
7395
7527
  "default": "''",
7396
7528
  "description": "The title of the card - part of header section",
7397
- "attribute": "card-title",
7398
- "reflects": true,
7529
+ "fieldName": "cardTitle",
7399
7530
  "inheritedFrom": {
7400
7531
  "name": "CardComponentMixin",
7401
- "module": "utils/mixins/CardComponentMixin.js"
7532
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7402
7533
  }
7403
7534
  },
7404
7535
  {
7405
- "kind": "field",
7406
7536
  "name": "subtitle",
7407
7537
  "type": {
7408
7538
  "text": "string"
7409
7539
  },
7410
7540
  "default": "''",
7411
7541
  "description": "The subtitle of the card - part of header section",
7412
- "attribute": "subtitle",
7413
- "reflects": true,
7542
+ "fieldName": "subtitle",
7414
7543
  "inheritedFrom": {
7415
7544
  "name": "CardComponentMixin",
7416
- "module": "utils/mixins/CardComponentMixin.js"
7545
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7417
7546
  }
7418
7547
  },
7419
7548
  {
7420
- "kind": "field",
7421
- "name": "imageSrc",
7549
+ "name": "image-src",
7422
7550
  "type": {
7423
7551
  "text": "string"
7424
7552
  },
7425
7553
  "default": "''",
7426
7554
  "description": "The image source URL to render on the card",
7427
- "attribute": "image-src",
7428
- "reflects": true,
7555
+ "fieldName": "imageSrc",
7429
7556
  "inheritedFrom": {
7430
7557
  "name": "CardComponentMixin",
7431
- "module": "utils/mixins/CardComponentMixin.js"
7558
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7432
7559
  }
7433
7560
  },
7434
7561
  {
7435
- "kind": "field",
7436
- "name": "imageAlt",
7562
+ "name": "image-alt",
7437
7563
  "type": {
7438
7564
  "text": "string"
7439
7565
  },
7440
7566
  "default": "''",
7441
7567
  "description": "The image alt for accessibility support",
7442
- "attribute": "image-alt",
7443
- "reflects": true,
7568
+ "fieldName": "imageAlt",
7444
7569
  "inheritedFrom": {
7445
7570
  "name": "CardComponentMixin",
7446
- "module": "utils/mixins/CardComponentMixin.js"
7571
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7447
7572
  }
7448
7573
  },
7449
7574
  {
7450
- "kind": "field",
7451
7575
  "name": "variant",
7452
7576
  "type": {
7453
7577
  "text": "CardVariant"
7454
7578
  },
7455
7579
  "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7456
7580
  "default": "'border'",
7457
- "attribute": "variant",
7458
- "reflects": true,
7581
+ "fieldName": "variant",
7459
7582
  "inheritedFrom": {
7460
7583
  "name": "CardComponentMixin",
7461
- "module": "utils/mixins/CardComponentMixin.js"
7584
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7462
7585
  }
7463
7586
  },
7464
7587
  {
7465
- "kind": "field",
7466
7588
  "name": "orientation",
7467
7589
  "type": {
7468
7590
  "text": "CardOrientation"
7469
7591
  },
7470
7592
  "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7471
7593
  "default": "'vertical'",
7472
- "attribute": "orientation",
7473
- "reflects": true,
7594
+ "fieldName": "orientation",
7474
7595
  "inheritedFrom": {
7475
7596
  "name": "CardComponentMixin",
7476
- "module": "utils/mixins/CardComponentMixin.js"
7597
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7477
7598
  }
7478
7599
  },
7479
7600
  {
7480
- "kind": "field",
7481
- "name": "titleTagName",
7601
+ "name": "title-tag-name",
7482
7602
  "type": {
7483
7603
  "text": "TagNameType"
7484
7604
  },
7485
7605
  "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7486
7606
  "default": "'span'",
7487
- "attribute": "title-tag-name",
7488
- "reflects": true,
7607
+ "fieldName": "titleTagName",
7489
7608
  "inheritedFrom": {
7490
7609
  "name": "CardComponentMixin",
7491
- "module": "utils/mixins/CardComponentMixin.js"
7610
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7492
7611
  }
7493
7612
  },
7494
7613
  {
7495
- "kind": "field",
7496
- "name": "subtitleTagName",
7614
+ "name": "subtitle-tag-name",
7497
7615
  "type": {
7498
7616
  "text": "TagNameType"
7499
7617
  },
7500
7618
  "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7501
7619
  "default": "'span'",
7502
- "attribute": "subtitle-tag-name",
7503
- "reflects": true,
7620
+ "fieldName": "subtitleTagName",
7504
7621
  "inheritedFrom": {
7505
7622
  "name": "CardComponentMixin",
7506
- "module": "utils/mixins/CardComponentMixin.js"
7623
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7507
7624
  }
7508
7625
  },
7509
7626
  {
7510
- "kind": "field",
7511
- "name": "iconName",
7627
+ "name": "icon-name",
7512
7628
  "type": {
7513
7629
  "text": "IconNames | undefined"
7514
7630
  },
7515
7631
  "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7516
- "attribute": "icon-name",
7517
- "reflects": true,
7518
- "inheritedFrom": {
7519
- "name": "CardComponentMixin",
7520
- "module": "utils/mixins/CardComponentMixin.js"
7521
- }
7522
- },
7523
- {
7524
- "kind": "method",
7525
- "name": "renderImage",
7526
- "privacy": "protected",
7527
- "description": "Renders the image on the card if image source is provided",
7528
- "return": {
7529
- "type": {
7530
- "text": ""
7531
- }
7532
- },
7632
+ "fieldName": "iconName",
7533
7633
  "inheritedFrom": {
7534
7634
  "name": "CardComponentMixin",
7535
- "module": "utils/mixins/CardComponentMixin.js"
7635
+ "module": "src/utils/mixins/CardComponentMixin.ts"
7536
7636
  }
7537
7637
  },
7538
7638
  {
7539
- "kind": "method",
7540
- "name": "renderIcon",
7541
- "privacy": "protected",
7542
- "description": "Renders the icon on the card if icon name is provided",
7543
- "return": {
7544
- "type": {
7545
- "text": ""
7546
- }
7639
+ "name": "auto-focus-on-mount",
7640
+ "type": {
7641
+ "text": "boolean"
7547
7642
  },
7643
+ "default": "false",
7644
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
7645
+ "fieldName": "autoFocusOnMount",
7548
7646
  "inheritedFrom": {
7549
- "name": "CardComponentMixin",
7550
- "module": "utils/mixins/CardComponentMixin.js"
7647
+ "name": "AutoFocusOnMountMixin",
7648
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
7551
7649
  }
7552
7650
  },
7553
7651
  {
7554
- "kind": "method",
7555
- "name": "renderTitle",
7556
- "privacy": "protected",
7557
- "description": "Renders the title and subtitle on the card",
7558
- "return": {
7559
- "type": {
7560
- "text": ""
7561
- }
7652
+ "name": "tabIndex",
7653
+ "type": {
7654
+ "text": "number"
7562
7655
  },
7656
+ "default": "0",
7657
+ "description": "This property specifies the tab order of the element.",
7658
+ "fieldName": "tabIndex",
7563
7659
  "inheritedFrom": {
7564
- "name": "CardComponentMixin",
7565
- "module": "utils/mixins/CardComponentMixin.js"
7660
+ "name": "TabIndexMixin",
7661
+ "module": "src/utils/mixins/TabIndexMixin.ts"
7566
7662
  }
7567
7663
  },
7568
7664
  {
7569
- "kind": "method",
7570
- "name": "renderFooter",
7571
- "privacy": "protected",
7572
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
7573
- "return": {
7574
- "type": {
7575
- "text": ""
7576
- }
7577
- },
7578
- "inheritedFrom": {
7579
- "name": "FooterMixin",
7580
- "module": "utils/mixins/FooterMixin.js"
7581
- }
7582
- }
7583
- ],
7584
- "mixins": [
7585
- {
7586
- "name": "CardComponentMixin",
7587
- "module": "/src/utils/mixins/CardComponentMixin"
7588
- },
7589
- {
7590
- "name": "FooterMixin",
7591
- "module": "/src/utils/mixins/FooterMixin"
7592
- }
7593
- ],
7594
- "superclass": {
7595
- "name": "Component",
7596
- "module": "/src/models"
7597
- },
7598
- "tagName": "mdc-card",
7599
- "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
7600
- "customElement": true,
7601
- "attributes": [
7602
- {
7603
- "name": "card-title",
7665
+ "name": "disabled",
7604
7666
  "type": {
7605
- "text": "string"
7667
+ "text": "boolean | undefined"
7606
7668
  },
7607
- "default": "''",
7608
- "description": "The title of the card - part of header section",
7609
- "fieldName": "cardTitle",
7669
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
7670
+ "default": "undefined",
7671
+ "fieldName": "disabled",
7610
7672
  "inheritedFrom": {
7611
- "name": "CardComponentMixin",
7612
- "module": "src/utils/mixins/CardComponentMixin.ts"
7673
+ "name": "DisabledMixin",
7674
+ "module": "src/utils/mixins/DisabledMixin.ts"
7613
7675
  }
7614
7676
  },
7615
7677
  {
7616
- "name": "subtitle",
7678
+ "name": "active",
7617
7679
  "type": {
7618
- "text": "string"
7680
+ "text": "boolean | undefined"
7619
7681
  },
7620
- "default": "''",
7621
- "description": "The subtitle of the card - part of header section",
7622
- "fieldName": "subtitle",
7682
+ "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.",
7683
+ "default": "undefined",
7684
+ "fieldName": "active",
7623
7685
  "inheritedFrom": {
7624
- "name": "CardComponentMixin",
7625
- "module": "src/utils/mixins/CardComponentMixin.ts"
7686
+ "name": "Buttonsimple",
7687
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7626
7688
  }
7627
7689
  },
7628
7690
  {
7629
- "name": "image-src",
7691
+ "name": "soft-disabled",
7630
7692
  "type": {
7631
- "text": "string"
7693
+ "text": "boolean | undefined"
7632
7694
  },
7633
- "default": "''",
7634
- "description": "The image source URL to render on the card",
7635
- "fieldName": "imageSrc",
7695
+ "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.",
7696
+ "default": "undefined",
7697
+ "fieldName": "softDisabled",
7636
7698
  "inheritedFrom": {
7637
- "name": "CardComponentMixin",
7638
- "module": "src/utils/mixins/CardComponentMixin.ts"
7699
+ "name": "Buttonsimple",
7700
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7639
7701
  }
7640
7702
  },
7641
7703
  {
7642
- "name": "image-alt",
7704
+ "name": "size",
7643
7705
  "type": {
7644
- "text": "string"
7706
+ "text": "ButtonSize"
7645
7707
  },
7646
- "default": "''",
7647
- "description": "The image alt for accessibility support",
7648
- "fieldName": "imageAlt",
7708
+ "description": "Simplebutton size is a super set of all the sizes supported by children components.",
7709
+ "default": "32",
7710
+ "fieldName": "size",
7649
7711
  "inheritedFrom": {
7650
- "name": "CardComponentMixin",
7651
- "module": "src/utils/mixins/CardComponentMixin.ts"
7712
+ "name": "Buttonsimple",
7713
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7652
7714
  }
7653
7715
  },
7654
7716
  {
7655
- "name": "variant",
7717
+ "name": "role",
7656
7718
  "type": {
7657
- "text": "CardVariant"
7719
+ "text": "RoleType"
7658
7720
  },
7659
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
7660
- "default": "'border'",
7661
- "fieldName": "variant",
7721
+ "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.",
7722
+ "default": "button",
7723
+ "fieldName": "role",
7662
7724
  "inheritedFrom": {
7663
- "name": "CardComponentMixin",
7664
- "module": "src/utils/mixins/CardComponentMixin.ts"
7725
+ "name": "Buttonsimple",
7726
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7665
7727
  }
7666
7728
  },
7667
7729
  {
7668
- "name": "orientation",
7730
+ "name": "ariaStateKey",
7669
7731
  "type": {
7670
- "text": "CardOrientation"
7732
+ "text": "string | undefined"
7671
7733
  },
7672
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
7673
- "default": "'vertical'",
7674
- "fieldName": "orientation",
7734
+ "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`",
7735
+ "default": "'aria-pressed' (when)",
7736
+ "fieldName": "ariaStateKey",
7675
7737
  "inheritedFrom": {
7676
- "name": "CardComponentMixin",
7677
- "module": "src/utils/mixins/CardComponentMixin.ts"
7738
+ "name": "Buttonsimple",
7739
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7678
7740
  }
7679
7741
  },
7680
7742
  {
7681
- "name": "title-tag-name",
7743
+ "name": "type",
7682
7744
  "type": {
7683
- "text": "TagNameType"
7745
+ "text": "ButtonType"
7684
7746
  },
7685
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
7686
- "default": "'span'",
7687
- "fieldName": "titleTagName",
7747
+ "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.",
7748
+ "default": "button",
7749
+ "fieldName": "type",
7688
7750
  "inheritedFrom": {
7689
- "name": "CardComponentMixin",
7690
- "module": "src/utils/mixins/CardComponentMixin.ts"
7751
+ "name": "Buttonsimple",
7752
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7691
7753
  }
7692
7754
  },
7693
7755
  {
7694
- "name": "subtitle-tag-name",
7756
+ "name": "name",
7695
7757
  "type": {
7696
- "text": "TagNameType"
7758
+ "text": "string | undefined"
7697
7759
  },
7698
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
7699
- "default": "'span'",
7700
- "fieldName": "subtitleTagName",
7760
+ "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
7761
+ "fieldName": "name",
7701
7762
  "inheritedFrom": {
7702
- "name": "CardComponentMixin",
7703
- "module": "src/utils/mixins/CardComponentMixin.ts"
7763
+ "name": "Buttonsimple",
7764
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7704
7765
  }
7705
7766
  },
7706
7767
  {
7707
- "name": "icon-name",
7768
+ "name": "value",
7708
7769
  "type": {
7709
- "text": "IconNames | undefined"
7770
+ "text": "string | undefined"
7710
7771
  },
7711
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
7712
- "fieldName": "iconName",
7772
+ "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
7773
+ "fieldName": "value",
7713
7774
  "inheritedFrom": {
7714
- "name": "CardComponentMixin",
7715
- "module": "src/utils/mixins/CardComponentMixin.ts"
7775
+ "name": "Buttonsimple",
7776
+ "module": "src/components/buttonsimple/buttonsimple.component.ts"
7716
7777
  }
7717
7778
  }
7718
7779
  ]
@@ -7723,56 +7784,24 @@
7723
7784
  "kind": "js",
7724
7785
  "name": "default",
7725
7786
  "declaration": {
7726
- "name": "Card",
7727
- "module": "components/card/card.component.js"
7787
+ "name": "CardButton",
7788
+ "module": "components/cardbutton/cardbutton.component.js"
7728
7789
  }
7729
7790
  }
7730
7791
  ]
7731
7792
  },
7732
7793
  {
7733
7794
  "kind": "javascript-module",
7734
- "path": "components/cardbutton/cardbutton.component.js",
7795
+ "path": "components/card/card.component.js",
7735
7796
  "declarations": [
7736
7797
  {
7737
7798
  "kind": "class",
7738
- "description": "cardbutton component looks like a card and behaves as a button component.\n\n**Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\nMake sure to pass only non-interactable elements within the slots.",
7739
- "name": "CardButton",
7799
+ "description": "The card component allows users to organize information in a structured and tangible\nformat that is visually appealing. `mdc-card` is a static component that supports\nthe following features:\n- Image\n- Header\n - Icon\n - Title\n - Subtitle\n- Body\n\nThe card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n\nThere are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n\nTo make this card interactive, use the following slots:\n- `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n- `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n- `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n- `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\nwithin the footer section.\n\nInteractive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.",
7800
+ "name": "Card",
7740
7801
  "cssProperties": [
7741
7802
  {
7742
7803
  "description": "The width of the card",
7743
7804
  "name": "--mdc-card-width"
7744
- },
7745
- {
7746
- "description": "Height for button size",
7747
- "name": "--mdc-button-height",
7748
- "inheritedFrom": {
7749
- "name": "Buttonsimple",
7750
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7751
- }
7752
- },
7753
- {
7754
- "description": "Background color of the button",
7755
- "name": "--mdc-button-background",
7756
- "inheritedFrom": {
7757
- "name": "Buttonsimple",
7758
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7759
- }
7760
- },
7761
- {
7762
- "description": "Borer color of the button",
7763
- "name": "--mdc-button-border-color",
7764
- "inheritedFrom": {
7765
- "name": "Buttonsimple",
7766
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7767
- }
7768
- },
7769
- {
7770
- "description": "Text color of the button",
7771
- "name": "--mdc-button-text-color",
7772
- "inheritedFrom": {
7773
- "name": "Buttonsimple",
7774
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
7775
- }
7776
7805
  }
7777
7806
  ],
7778
7807
  "cssParts": [
@@ -7837,6 +7866,14 @@
7837
7866
  {
7838
7867
  "description": "This slot is for passing primary variant of `mdc-button` component within the footer section.",
7839
7868
  "name": "footer-button-primary"
7869
+ },
7870
+ {
7871
+ "description": "This slot is for passing secondary variant of `mdc-button` component within the footer section.",
7872
+ "name": "footer-button-secondary"
7873
+ },
7874
+ {
7875
+ "description": " This slot is for passing custom footer content. Only use this if really needed, using the footer-link and footer-button slots is preferred.",
7876
+ "name": "footer"
7840
7877
  }
7841
7878
  ],
7842
7879
  "members": [
@@ -8027,54 +8064,200 @@
8027
8064
  },
8028
8065
  "inheritedFrom": {
8029
8066
  "name": "CardComponentMixin",
8030
- "module": "utils/mixins/CardComponentMixin.js"
8067
+ "module": "utils/mixins/CardComponentMixin.js"
8068
+ }
8069
+ },
8070
+ {
8071
+ "kind": "method",
8072
+ "name": "renderFooter",
8073
+ "privacy": "protected",
8074
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
8075
+ "return": {
8076
+ "type": {
8077
+ "text": ""
8078
+ }
8079
+ },
8080
+ "inheritedFrom": {
8081
+ "name": "FooterMixin",
8082
+ "module": "utils/mixins/FooterMixin.js"
8083
+ }
8084
+ }
8085
+ ],
8086
+ "mixins": [
8087
+ {
8088
+ "name": "CardComponentMixin",
8089
+ "module": "/src/utils/mixins/CardComponentMixin"
8090
+ },
8091
+ {
8092
+ "name": "FooterMixin",
8093
+ "module": "/src/utils/mixins/FooterMixin"
8094
+ }
8095
+ ],
8096
+ "superclass": {
8097
+ "name": "Component",
8098
+ "module": "/src/models"
8099
+ },
8100
+ "tagName": "mdc-card",
8101
+ "jsDoc": "/**\n * The card component allows users to organize information in a structured and tangible\n * format that is visually appealing. `mdc-card` is a static component that supports\n * the following features:\n * - Image\n * - Header\n * - Icon\n * - Title\n * - Subtitle\n * - Body\n *\n * The card can either be vertically or horizontally oriented. The vertical card has a min-width of 20rem and the horizontal card has a min-width of 40rem.\n *\n * There are 2 variants for the card that represent the border styling - 'border' and 'ghost'.\n *\n * To make this card interactive, use the following slots:\n * - `icon-button`: This slot supports action icon buttons in the header section (maximum of 3 buttons).\n * - `footer-link`: This slot is for passing `mdc-link` component within the footer section.\n * - `footer-button-primary`: This slot is for passing primary variant of `mdc-button` component within the footer section.\n * - `footer-button-secondary`: This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n *\n * Interactive card additionally supports 'promotional' variant that represents the border styling - 'promotional'.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of\n * `mdc-button` component within the footer section.\n * @slot footer-button-secondary - This slot is for passing secondary variant of `mdc-button` component\n * within the footer section.\n * @slot footer - This slot is for passing custom footer content. Only use this if really needed,\n * using the footer-link and footer-button slots is preferred.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @tagname mdc-card\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @cssproperty --mdc-card-width - The width of the card\n *\n */",
8102
+ "customElement": true,
8103
+ "attributes": [
8104
+ {
8105
+ "name": "card-title",
8106
+ "type": {
8107
+ "text": "string"
8108
+ },
8109
+ "default": "''",
8110
+ "description": "The title of the card - part of header section",
8111
+ "fieldName": "cardTitle",
8112
+ "inheritedFrom": {
8113
+ "name": "CardComponentMixin",
8114
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8115
+ }
8116
+ },
8117
+ {
8118
+ "name": "subtitle",
8119
+ "type": {
8120
+ "text": "string"
8121
+ },
8122
+ "default": "''",
8123
+ "description": "The subtitle of the card - part of header section",
8124
+ "fieldName": "subtitle",
8125
+ "inheritedFrom": {
8126
+ "name": "CardComponentMixin",
8127
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8128
+ }
8129
+ },
8130
+ {
8131
+ "name": "image-src",
8132
+ "type": {
8133
+ "text": "string"
8134
+ },
8135
+ "default": "''",
8136
+ "description": "The image source URL to render on the card",
8137
+ "fieldName": "imageSrc",
8138
+ "inheritedFrom": {
8139
+ "name": "CardComponentMixin",
8140
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8141
+ }
8142
+ },
8143
+ {
8144
+ "name": "image-alt",
8145
+ "type": {
8146
+ "text": "string"
8147
+ },
8148
+ "default": "''",
8149
+ "description": "The image alt for accessibility support",
8150
+ "fieldName": "imageAlt",
8151
+ "inheritedFrom": {
8152
+ "name": "CardComponentMixin",
8153
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8154
+ }
8155
+ },
8156
+ {
8157
+ "name": "variant",
8158
+ "type": {
8159
+ "text": "CardVariant"
8160
+ },
8161
+ "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
8162
+ "default": "'border'",
8163
+ "fieldName": "variant",
8164
+ "inheritedFrom": {
8165
+ "name": "CardComponentMixin",
8166
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8167
+ }
8168
+ },
8169
+ {
8170
+ "name": "orientation",
8171
+ "type": {
8172
+ "text": "CardOrientation"
8173
+ },
8174
+ "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
8175
+ "default": "'vertical'",
8176
+ "fieldName": "orientation",
8177
+ "inheritedFrom": {
8178
+ "name": "CardComponentMixin",
8179
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8180
+ }
8181
+ },
8182
+ {
8183
+ "name": "title-tag-name",
8184
+ "type": {
8185
+ "text": "TagNameType"
8186
+ },
8187
+ "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
8188
+ "default": "'span'",
8189
+ "fieldName": "titleTagName",
8190
+ "inheritedFrom": {
8191
+ "name": "CardComponentMixin",
8192
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8031
8193
  }
8032
8194
  },
8033
8195
  {
8034
- "kind": "field",
8035
- "name": "autoFocusOnMount",
8196
+ "name": "subtitle-tag-name",
8036
8197
  "type": {
8037
- "text": "boolean"
8198
+ "text": "TagNameType"
8038
8199
  },
8039
- "default": "false",
8040
- "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8041
- "attribute": "auto-focus-on-mount",
8042
- "reflects": true,
8200
+ "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
8201
+ "default": "'span'",
8202
+ "fieldName": "subtitleTagName",
8043
8203
  "inheritedFrom": {
8044
- "name": "Buttonsimple",
8045
- "module": "components/buttonsimple/buttonsimple.component.js"
8204
+ "name": "CardComponentMixin",
8205
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8046
8206
  }
8047
8207
  },
8048
8208
  {
8049
- "kind": "field",
8050
- "name": "tabIndex",
8209
+ "name": "icon-name",
8051
8210
  "type": {
8052
- "text": "number"
8211
+ "text": "IconNames | undefined"
8053
8212
  },
8054
- "default": "0",
8055
- "description": "This property specifies the tab order of the element.",
8056
- "attribute": "tabIndex",
8057
- "reflects": true,
8213
+ "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
8214
+ "fieldName": "iconName",
8058
8215
  "inheritedFrom": {
8059
- "name": "Buttonsimple",
8060
- "module": "components/buttonsimple/buttonsimple.component.js"
8216
+ "name": "CardComponentMixin",
8217
+ "module": "src/utils/mixins/CardComponentMixin.ts"
8061
8218
  }
8219
+ }
8220
+ ]
8221
+ }
8222
+ ],
8223
+ "exports": [
8224
+ {
8225
+ "kind": "js",
8226
+ "name": "default",
8227
+ "declaration": {
8228
+ "name": "Card",
8229
+ "module": "components/card/card.component.js"
8230
+ }
8231
+ }
8232
+ ]
8233
+ },
8234
+ {
8235
+ "kind": "javascript-module",
8236
+ "path": "components/buttonsimple/buttonsimple.component.js",
8237
+ "declarations": [
8238
+ {
8239
+ "kind": "class",
8240
+ "description": "`mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\nIt is used as an internal component and is not intended to be used directly by consumers.\nConsumers should use the `mdc-button` component instead.",
8241
+ "name": "Buttonsimple",
8242
+ "cssProperties": [
8243
+ {
8244
+ "description": "Height for button size",
8245
+ "name": "--mdc-button-height"
8062
8246
  },
8063
8247
  {
8064
- "kind": "field",
8065
- "name": "disabled",
8066
- "type": {
8067
- "text": "boolean | undefined"
8068
- },
8069
- "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
8070
- "default": "undefined",
8071
- "attribute": "disabled",
8072
- "reflects": true,
8073
- "inheritedFrom": {
8074
- "name": "Buttonsimple",
8075
- "module": "components/buttonsimple/buttonsimple.component.js"
8076
- }
8248
+ "description": "Background color of the button",
8249
+ "name": "--mdc-button-background"
8250
+ },
8251
+ {
8252
+ "description": "Borer color of the button",
8253
+ "name": "--mdc-button-border-color"
8077
8254
  },
8255
+ {
8256
+ "description": "Text color of the button",
8257
+ "name": "--mdc-button-text-color"
8258
+ }
8259
+ ],
8260
+ "members": [
8078
8261
  {
8079
8262
  "kind": "field",
8080
8263
  "name": "active",
@@ -8084,11 +8267,7 @@
8084
8267
  "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.",
8085
8268
  "default": "undefined",
8086
8269
  "attribute": "active",
8087
- "reflects": true,
8088
- "inheritedFrom": {
8089
- "name": "Buttonsimple",
8090
- "module": "components/buttonsimple/buttonsimple.component.js"
8091
- }
8270
+ "reflects": true
8092
8271
  },
8093
8272
  {
8094
8273
  "kind": "field",
@@ -8099,11 +8278,7 @@
8099
8278
  "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.",
8100
8279
  "default": "undefined",
8101
8280
  "attribute": "soft-disabled",
8102
- "reflects": true,
8103
- "inheritedFrom": {
8104
- "name": "Buttonsimple",
8105
- "module": "components/buttonsimple/buttonsimple.component.js"
8106
- }
8281
+ "reflects": true
8107
8282
  },
8108
8283
  {
8109
8284
  "kind": "field",
@@ -8114,11 +8289,7 @@
8114
8289
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
8115
8290
  "default": "32",
8116
8291
  "attribute": "size",
8117
- "reflects": true,
8118
- "inheritedFrom": {
8119
- "name": "Buttonsimple",
8120
- "module": "components/buttonsimple/buttonsimple.component.js"
8121
- }
8292
+ "reflects": true
8122
8293
  },
8123
8294
  {
8124
8295
  "kind": "field",
@@ -8129,11 +8300,7 @@
8129
8300
  "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.",
8130
8301
  "default": "button",
8131
8302
  "attribute": "role",
8132
- "reflects": true,
8133
- "inheritedFrom": {
8134
- "name": "Buttonsimple",
8135
- "module": "components/buttonsimple/buttonsimple.component.js"
8136
- }
8303
+ "reflects": true
8137
8304
  },
8138
8305
  {
8139
8306
  "kind": "field",
@@ -8144,11 +8311,7 @@
8144
8311
  "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`",
8145
8312
  "default": "'aria-pressed' (when)",
8146
8313
  "attribute": "ariaStateKey",
8147
- "reflects": true,
8148
- "inheritedFrom": {
8149
- "name": "Buttonsimple",
8150
- "module": "components/buttonsimple/buttonsimple.component.js"
8151
- }
8314
+ "reflects": true
8152
8315
  },
8153
8316
  {
8154
8317
  "kind": "field",
@@ -8159,11 +8322,7 @@
8159
8322
  "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.",
8160
8323
  "default": "button",
8161
8324
  "attribute": "type",
8162
- "reflects": true,
8163
- "inheritedFrom": {
8164
- "name": "Buttonsimple",
8165
- "module": "components/buttonsimple/buttonsimple.component.js"
8166
- }
8325
+ "reflects": true
8167
8326
  },
8168
8327
  {
8169
8328
  "kind": "field",
@@ -8173,11 +8332,7 @@
8173
8332
  },
8174
8333
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
8175
8334
  "attribute": "name",
8176
- "reflects": true,
8177
- "inheritedFrom": {
8178
- "name": "Buttonsimple",
8179
- "module": "components/buttonsimple/buttonsimple.component.js"
8180
- }
8335
+ "reflects": true
8181
8336
  },
8182
8337
  {
8183
8338
  "kind": "field",
@@ -8187,20 +8342,12 @@
8187
8342
  },
8188
8343
  "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
8189
8344
  "attribute": "value",
8190
- "reflects": true,
8191
- "inheritedFrom": {
8192
- "name": "Buttonsimple",
8193
- "module": "components/buttonsimple/buttonsimple.component.js"
8194
- }
8345
+ "reflects": true
8195
8346
  },
8196
8347
  {
8197
8348
  "kind": "method",
8198
8349
  "name": "executeAction",
8199
- "privacy": "protected",
8200
- "inheritedFrom": {
8201
- "name": "Buttonsimple",
8202
- "module": "components/buttonsimple/buttonsimple.component.js"
8203
- }
8350
+ "privacy": "protected"
8204
8351
  },
8205
8352
  {
8206
8353
  "kind": "method",
@@ -8223,11 +8370,7 @@
8223
8370
  "description": "The active state of the element"
8224
8371
  }
8225
8372
  ],
8226
- "description": "Sets the ariaStateKey attributes based on the active state of the button.",
8227
- "inheritedFrom": {
8228
- "name": "Buttonsimple",
8229
- "module": "components/buttonsimple/buttonsimple.component.js"
8230
- }
8373
+ "description": "Sets the ariaStateKey attributes based on the active state of the button."
8231
8374
  },
8232
8375
  {
8233
8376
  "kind": "method",
@@ -8250,11 +8393,7 @@
8250
8393
  "description": "The soft-disabled state."
8251
8394
  }
8252
8395
  ],
8253
- "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.",
8254
- "inheritedFrom": {
8255
- "name": "Buttonsimple",
8256
- "module": "components/buttonsimple/buttonsimple.component.js"
8257
- }
8396
+ "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."
8258
8397
  },
8259
8398
  {
8260
8399
  "kind": "method",
@@ -8276,30 +8415,18 @@
8276
8415
  "description": "The disabled state."
8277
8416
  }
8278
8417
  ],
8279
- "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.",
8280
- "inheritedFrom": {
8281
- "name": "Buttonsimple",
8282
- "module": "components/buttonsimple/buttonsimple.component.js"
8283
- }
8418
+ "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."
8284
8419
  },
8285
8420
  {
8286
8421
  "kind": "method",
8287
8422
  "name": "triggerClickEvent",
8288
- "privacy": "private",
8289
- "inheritedFrom": {
8290
- "name": "Buttonsimple",
8291
- "module": "components/buttonsimple/buttonsimple.component.js"
8292
- }
8423
+ "privacy": "private"
8293
8424
  },
8294
8425
  {
8295
8426
  "kind": "method",
8296
8427
  "name": "handleBlur",
8297
8428
  "privacy": "private",
8298
- "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed.",
8299
- "inheritedFrom": {
8300
- "name": "Buttonsimple",
8301
- "module": "components/buttonsimple/buttonsimple.component.js"
8302
- }
8429
+ "description": "In case the button is pressed and the focus is lost while pressing,\nthe pressed class is removed."
8303
8430
  },
8304
8431
  {
8305
8432
  "kind": "method",
@@ -8314,11 +8441,7 @@
8314
8441
  "description": "The keyboard event."
8315
8442
  }
8316
8443
  ],
8317
- "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.",
8318
- "inheritedFrom": {
8319
- "name": "Buttonsimple",
8320
- "module": "components/buttonsimple/buttonsimple.component.js"
8321
- }
8444
+ "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."
8322
8445
  },
8323
8446
  {
8324
8447
  "kind": "method",
@@ -8333,220 +8456,77 @@
8333
8456
  "description": "The keyboard event."
8334
8457
  }
8335
8458
  ],
8336
- "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.",
8337
- "inheritedFrom": {
8338
- "name": "Buttonsimple",
8339
- "module": "components/buttonsimple/buttonsimple.component.js"
8340
- }
8341
- }
8342
- ],
8343
- "events": [
8344
- {
8345
- "description": "(React: onClick) Event that gets dispatched when the card is clicked.",
8346
- "name": "click",
8347
- "reactName": "onClick",
8348
- "inheritedFrom": {
8349
- "name": "Buttonsimple",
8350
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8351
- }
8352
- },
8353
- {
8354
- "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the card. It fires the click event when enter key is used.",
8355
- "name": "keydown",
8356
- "reactName": "onKeyDown",
8357
- "inheritedFrom": {
8358
- "name": "Buttonsimple",
8359
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8360
- }
8361
- },
8362
- {
8363
- "description": "(React: onKeyUp) This event is dispatched when a key is released on the card. It fires the click event when space key is used.",
8364
- "name": "keyup",
8365
- "reactName": "onKeyUp",
8366
- "inheritedFrom": {
8367
- "name": "Buttonsimple",
8368
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8369
- }
8370
- },
8371
- {
8372
- "description": "(React: onFocus) Event that gets dispatched when the card receives focus.",
8373
- "name": "focus",
8374
- "reactName": "onFocus",
8375
- "inheritedFrom": {
8376
- "name": "Buttonsimple",
8377
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8378
- }
8379
- }
8380
- ],
8381
- "mixins": [
8382
- {
8383
- "name": "CardComponentMixin",
8384
- "module": "/src/utils/mixins/CardComponentMixin"
8385
- }
8386
- ],
8387
- "superclass": {
8388
- "name": "Buttonsimple",
8389
- "module": "/src/components/buttonsimple/buttonsimple.component"
8390
- },
8391
- "tagName": "mdc-cardbutton",
8392
- "jsDoc": "/**\n * cardbutton component looks like a card and behaves as a button component.\n *\n * **Note**: This is a single selection card i.e. interacting anywhere on the card would trigger the click event.\n * Make sure to pass only non-interactable elements within the slots.\n *\n * @tagname mdc-cardbutton\n *\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event click - (React: onClick) Event that gets dispatched when the card is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the card.\n * It fires the click event when enter key is used.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the card.\n * It fires the click event when space key is used.\n * @event focus - (React: onFocus) Event that gets dispatched when the card receives focus.\n *\n * @slot before-body - This slot is for passing the content before the body\n * @slot body - This slot is for passing the text content for the card\n * @slot after-body - This slot is for passing the content after the body\n * @slot footer-link - This slot is for passing `mdc-link` component within the footer section.\n * @slot footer-button-primary - This slot is for passing primary variant of `mdc-button` component within the footer section.\n *\n * @csspart header - The header part of the card\n * @csspart icon - The icon part of the card header\n * @csspart body - The body part of the card\n * @csspart image - The image part of the card\n * @csspart footer - The footer part of the card\n * @csspart footer-link - The link part of the card footer\n * @csspart footer-button-primary - The primary button part of the card footer\n * @csspart footer-button-secondary - The secondary button part of the card footer\n * @csspart icon-button - The icon button part of the card header\n * @csspart text - The text part of the card\n *\n * @cssproperty --mdc-card-width - The width of the card\n */",
8393
- "customElement": true,
8394
- "attributes": [
8395
- {
8396
- "name": "card-title",
8397
- "type": {
8398
- "text": "string"
8399
- },
8400
- "default": "''",
8401
- "description": "The title of the card - part of header section",
8402
- "fieldName": "cardTitle",
8403
- "inheritedFrom": {
8404
- "name": "CardComponentMixin",
8405
- "module": "src/utils/mixins/CardComponentMixin.ts"
8406
- }
8407
- },
8408
- {
8409
- "name": "subtitle",
8410
- "type": {
8411
- "text": "string"
8412
- },
8413
- "default": "''",
8414
- "description": "The subtitle of the card - part of header section",
8415
- "fieldName": "subtitle",
8416
- "inheritedFrom": {
8417
- "name": "CardComponentMixin",
8418
- "module": "src/utils/mixins/CardComponentMixin.ts"
8419
- }
8420
- },
8421
- {
8422
- "name": "image-src",
8423
- "type": {
8424
- "text": "string"
8425
- },
8426
- "default": "''",
8427
- "description": "The image source URL to render on the card",
8428
- "fieldName": "imageSrc",
8429
- "inheritedFrom": {
8430
- "name": "CardComponentMixin",
8431
- "module": "src/utils/mixins/CardComponentMixin.ts"
8432
- }
8433
- },
8434
- {
8435
- "name": "image-alt",
8436
- "type": {
8437
- "text": "string"
8438
- },
8439
- "default": "''",
8440
- "description": "The image alt for accessibility support",
8441
- "fieldName": "imageAlt",
8442
- "inheritedFrom": {
8443
- "name": "CardComponentMixin",
8444
- "module": "src/utils/mixins/CardComponentMixin.ts"
8445
- }
8446
- },
8447
- {
8448
- "name": "variant",
8449
- "type": {
8450
- "text": "CardVariant"
8451
- },
8452
- "description": "The variant of the card. It can either be set to 'border' or 'ghost'",
8453
- "default": "'border'",
8454
- "fieldName": "variant",
8455
- "inheritedFrom": {
8456
- "name": "CardComponentMixin",
8457
- "module": "src/utils/mixins/CardComponentMixin.ts"
8458
- }
8459
- },
8460
- {
8461
- "name": "orientation",
8462
- "type": {
8463
- "text": "CardOrientation"
8464
- },
8465
- "description": "The orientation of the card. It can either be set to 'vertical' or 'horizontal'",
8466
- "default": "'vertical'",
8467
- "fieldName": "orientation",
8468
- "inheritedFrom": {
8469
- "name": "CardComponentMixin",
8470
- "module": "src/utils/mixins/CardComponentMixin.ts"
8471
- }
8472
- },
8473
- {
8474
- "name": "title-tag-name",
8475
- "type": {
8476
- "text": "TagNameType"
8477
- },
8478
- "description": "The tag name for the card title. It supports all the types that `mdc-text` supports",
8479
- "default": "'span'",
8480
- "fieldName": "titleTagName",
8481
- "inheritedFrom": {
8482
- "name": "CardComponentMixin",
8483
- "module": "src/utils/mixins/CardComponentMixin.ts"
8484
- }
8485
- },
8486
- {
8487
- "name": "subtitle-tag-name",
8488
- "type": {
8489
- "text": "TagNameType"
8490
- },
8491
- "description": "The tag name for the subtitle. It supports all the types that `mdc-text` supports",
8492
- "default": "'span'",
8493
- "fieldName": "subtitleTagName",
8494
- "inheritedFrom": {
8495
- "name": "CardComponentMixin",
8496
- "module": "src/utils/mixins/CardComponentMixin.ts"
8497
- }
8498
- },
8499
- {
8500
- "name": "icon-name",
8501
- "type": {
8502
- "text": "IconNames | undefined"
8503
- },
8504
- "description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
8505
- "fieldName": "iconName",
8506
- "inheritedFrom": {
8507
- "name": "CardComponentMixin",
8508
- "module": "src/utils/mixins/CardComponentMixin.ts"
8509
- }
8459
+ "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."
8510
8460
  },
8511
8461
  {
8512
- "name": "auto-focus-on-mount",
8462
+ "kind": "field",
8463
+ "name": "autoFocusOnMount",
8513
8464
  "type": {
8514
8465
  "text": "boolean"
8515
8466
  },
8516
8467
  "default": "false",
8517
8468
  "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8518
- "fieldName": "autoFocusOnMount",
8469
+ "attribute": "auto-focus-on-mount",
8470
+ "reflects": true,
8519
8471
  "inheritedFrom": {
8520
- "name": "Buttonsimple",
8521
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8472
+ "name": "AutoFocusOnMountMixin",
8473
+ "module": "utils/mixins/AutoFocusOnMountMixin.js"
8522
8474
  }
8523
8475
  },
8524
8476
  {
8477
+ "kind": "field",
8525
8478
  "name": "tabIndex",
8526
8479
  "type": {
8527
8480
  "text": "number"
8528
8481
  },
8529
8482
  "default": "0",
8530
8483
  "description": "This property specifies the tab order of the element.",
8531
- "fieldName": "tabIndex",
8484
+ "attribute": "tabIndex",
8485
+ "reflects": true,
8532
8486
  "inheritedFrom": {
8533
- "name": "Buttonsimple",
8534
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8487
+ "name": "TabIndexMixin",
8488
+ "module": "utils/mixins/TabIndexMixin.js"
8535
8489
  }
8536
8490
  },
8537
8491
  {
8492
+ "kind": "field",
8538
8493
  "name": "disabled",
8539
8494
  "type": {
8540
8495
  "text": "boolean | undefined"
8541
8496
  },
8542
8497
  "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
8543
8498
  "default": "undefined",
8544
- "fieldName": "disabled",
8499
+ "attribute": "disabled",
8500
+ "reflects": true,
8545
8501
  "inheritedFrom": {
8546
- "name": "Buttonsimple",
8547
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8502
+ "name": "DisabledMixin",
8503
+ "module": "utils/mixins/DisabledMixin.js"
8548
8504
  }
8505
+ }
8506
+ ],
8507
+ "events": [
8508
+ {
8509
+ "description": "(React: onClick) This event is dispatched when the button is clicked.",
8510
+ "name": "click",
8511
+ "reactName": "onClick"
8512
+ },
8513
+ {
8514
+ "description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the button.",
8515
+ "name": "keydown",
8516
+ "reactName": "onKeyDown"
8517
+ },
8518
+ {
8519
+ "description": "(React: onKeyUp) This event is dispatched when a key is released on the button.",
8520
+ "name": "keyup",
8521
+ "reactName": "onKeyUp"
8549
8522
  },
8523
+ {
8524
+ "description": "(React: onFocus) This event is dispatched when the button receives focus.",
8525
+ "name": "focus",
8526
+ "reactName": "onFocus"
8527
+ }
8528
+ ],
8529
+ "attributes": [
8550
8530
  {
8551
8531
  "name": "active",
8552
8532
  "type": {
@@ -8554,11 +8534,7 @@
8554
8534
  },
8555
8535
  "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.",
8556
8536
  "default": "undefined",
8557
- "fieldName": "active",
8558
- "inheritedFrom": {
8559
- "name": "Buttonsimple",
8560
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8561
- }
8537
+ "fieldName": "active"
8562
8538
  },
8563
8539
  {
8564
8540
  "name": "soft-disabled",
@@ -8567,11 +8543,7 @@
8567
8543
  },
8568
8544
  "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.",
8569
8545
  "default": "undefined",
8570
- "fieldName": "softDisabled",
8571
- "inheritedFrom": {
8572
- "name": "Buttonsimple",
8573
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8574
- }
8546
+ "fieldName": "softDisabled"
8575
8547
  },
8576
8548
  {
8577
8549
  "name": "size",
@@ -8580,11 +8552,7 @@
8580
8552
  },
8581
8553
  "description": "Simplebutton size is a super set of all the sizes supported by children components.",
8582
8554
  "default": "32",
8583
- "fieldName": "size",
8584
- "inheritedFrom": {
8585
- "name": "Buttonsimple",
8586
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8587
- }
8555
+ "fieldName": "size"
8588
8556
  },
8589
8557
  {
8590
8558
  "name": "role",
@@ -8593,11 +8561,7 @@
8593
8561
  },
8594
8562
  "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.",
8595
8563
  "default": "button",
8596
- "fieldName": "role",
8597
- "inheritedFrom": {
8598
- "name": "Buttonsimple",
8599
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8600
- }
8564
+ "fieldName": "role"
8601
8565
  },
8602
8566
  {
8603
8567
  "name": "ariaStateKey",
@@ -8606,11 +8570,7 @@
8606
8570
  },
8607
8571
  "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`",
8608
8572
  "default": "'aria-pressed' (when)",
8609
- "fieldName": "ariaStateKey",
8610
- "inheritedFrom": {
8611
- "name": "Buttonsimple",
8612
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8613
- }
8573
+ "fieldName": "ariaStateKey"
8614
8574
  },
8615
8575
  {
8616
8576
  "name": "type",
@@ -8619,11 +8579,7 @@
8619
8579
  },
8620
8580
  "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.",
8621
8581
  "default": "button",
8622
- "fieldName": "type",
8623
- "inheritedFrom": {
8624
- "name": "Buttonsimple",
8625
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8626
- }
8582
+ "fieldName": "type"
8627
8583
  },
8628
8584
  {
8629
8585
  "name": "name",
@@ -8631,11 +8587,7 @@
8631
8587
  "text": "string | undefined"
8632
8588
  },
8633
8589
  "description": "The name of the button, submitted as a pair with the button's value as part of the form data,\nwhen that button is used to submit the form.",
8634
- "fieldName": "name",
8635
- "inheritedFrom": {
8636
- "name": "Buttonsimple",
8637
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8638
- }
8590
+ "fieldName": "name"
8639
8591
  },
8640
8592
  {
8641
8593
  "name": "value",
@@ -8643,13 +8595,69 @@
8643
8595
  "text": "string | undefined"
8644
8596
  },
8645
8597
  "description": "Defines the value associated with the button's name when it's submitted with the form data.\nThis value is passed to the server in params when the form is submitted using this button.",
8646
- "fieldName": "value",
8598
+ "fieldName": "value"
8599
+ },
8600
+ {
8601
+ "name": "auto-focus-on-mount",
8602
+ "type": {
8603
+ "text": "boolean"
8604
+ },
8605
+ "default": "false",
8606
+ "description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
8607
+ "fieldName": "autoFocusOnMount",
8647
8608
  "inheritedFrom": {
8648
- "name": "Buttonsimple",
8649
- "module": "src/components/buttonsimple/buttonsimple.component.ts"
8609
+ "name": "AutoFocusOnMountMixin",
8610
+ "module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
8611
+ }
8612
+ },
8613
+ {
8614
+ "name": "tabIndex",
8615
+ "type": {
8616
+ "text": "number"
8617
+ },
8618
+ "default": "0",
8619
+ "description": "This property specifies the tab order of the element.",
8620
+ "fieldName": "tabIndex",
8621
+ "inheritedFrom": {
8622
+ "name": "TabIndexMixin",
8623
+ "module": "src/utils/mixins/TabIndexMixin.ts"
8624
+ }
8625
+ },
8626
+ {
8627
+ "name": "disabled",
8628
+ "type": {
8629
+ "text": "boolean | undefined"
8630
+ },
8631
+ "description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
8632
+ "default": "undefined",
8633
+ "fieldName": "disabled",
8634
+ "inheritedFrom": {
8635
+ "name": "DisabledMixin",
8636
+ "module": "src/utils/mixins/DisabledMixin.ts"
8650
8637
  }
8651
8638
  }
8652
- ]
8639
+ ],
8640
+ "mixins": [
8641
+ {
8642
+ "name": "AutoFocusOnMountMixin",
8643
+ "module": "/src/utils/mixins/AutoFocusOnMountMixin"
8644
+ },
8645
+ {
8646
+ "name": "TabIndexMixin",
8647
+ "module": "/src/utils/mixins/TabIndexMixin"
8648
+ },
8649
+ {
8650
+ "name": "DisabledMixin",
8651
+ "module": "/src/utils/mixins/DisabledMixin"
8652
+ }
8653
+ ],
8654
+ "superclass": {
8655
+ "name": "Component",
8656
+ "module": "/src/models"
8657
+ },
8658
+ "tagName": "mdc-buttonsimple",
8659
+ "jsDoc": "/**\n * `mdc-buttonsimple` is a component that can be configured in various ways to suit different use cases.\n * It is used as an internal component and is not intended to be used directly by consumers.\n * Consumers should use the `mdc-button` component instead.\n *\n * @event click - (React: onClick) This event is dispatched when the button is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the button.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the button.\n * @event focus - (React: onFocus) This event is dispatched when the button receives focus.\n *\n * @tagname mdc-buttonsimple\n *\n * @cssproperty --mdc-button-height - Height for button size\n * @cssproperty --mdc-button-background - Background color of the button\n * @cssproperty --mdc-button-border-color - Borer color of the button\n * @cssproperty --mdc-button-text-color - Text color of the button\n */",
8660
+ "customElement": true
8653
8661
  }
8654
8662
  ],
8655
8663
  "exports": [
@@ -8657,8 +8665,8 @@
8657
8665
  "kind": "js",
8658
8666
  "name": "default",
8659
8667
  "declaration": {
8660
- "name": "CardButton",
8661
- "module": "components/cardbutton/cardbutton.component.js"
8668
+ "name": "Buttonsimple",
8669
+ "module": "components/buttonsimple/buttonsimple.component.js"
8662
8670
  }
8663
8671
  }
8664
8672
  ]
@@ -48026,396 +48034,6 @@
48026
48034
  }
48027
48035
  ]
48028
48036
  },
48029
- {
48030
- "kind": "javascript-module",
48031
- "path": "components/toast/toast.component.js",
48032
- "declarations": [
48033
- {
48034
- "kind": "class",
48035
- "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.",
48036
- "name": "Toast",
48037
- "cssProperties": [
48038
- {
48039
- "description": "Background color of the toast.",
48040
- "name": "--mdc-toast-background-color"
48041
- },
48042
- {
48043
- "description": "Border color of the toast.",
48044
- "name": "--mdc-toast-border-color"
48045
- },
48046
- {
48047
- "description": "Color of the header text in the toast.",
48048
- "name": "--mdc-toast-header-text-color"
48049
- },
48050
- {
48051
- "description": "Color of the icon in the toast.",
48052
- "name": "--mdc-toast-icon-color"
48053
- },
48054
- {
48055
- "description": "Elevation effect applied to the toast.",
48056
- "name": "--mdc-toast-elevation-3"
48057
- },
48058
- {
48059
- "description": "Width of the toast.",
48060
- "name": "--mdc-toast-width"
48061
- },
48062
- {
48063
- "description": "Padding inside the toast.",
48064
- "name": "--mdc-toast-padding"
48065
- }
48066
- ],
48067
- "cssParts": [
48068
- {
48069
- "description": "The container for the toast's main content, including icon, text, and close button.",
48070
- "name": "content-container"
48071
- },
48072
- {
48073
- "description": "The icon shown at the start of the toast, styled by variant.",
48074
- "name": "toast-prefix-icon"
48075
- },
48076
- {
48077
- "description": "The container for the header and body content of the toast.",
48078
- "name": "toast-content"
48079
- },
48080
- {
48081
- "description": "The header text of the toast.",
48082
- "name": "toast-header"
48083
- },
48084
- {
48085
- "description": "The container for the toast's footer, including toggle and action buttons.",
48086
- "name": "footer"
48087
- },
48088
- {
48089
- "description": "The toggle button for showing/hiding detailed content.",
48090
- "name": "footer-button-toggle"
48091
- },
48092
- {
48093
- "description": "The close button for the toast.",
48094
- "name": "toast-close-btn"
48095
- },
48096
- {
48097
- "description": "Applied to the footer when it contains buttons or a toggle button.",
48098
- "name": "has-footer-buttons"
48099
- }
48100
- ],
48101
- "slots": [
48102
- {
48103
- "description": "Slot for custom content before the icon (only for custom variant).",
48104
- "name": "content-prefix"
48105
- },
48106
- {
48107
- "description": "Slot for the main body content of the toast.",
48108
- "name": "toast-body-normal"
48109
- },
48110
- {
48111
- "description": "Slot for additional detailed content, shown when expanded.",
48112
- "name": "toast-body-detailed"
48113
- },
48114
- {
48115
- "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
48116
- "name": "footer"
48117
- },
48118
- {
48119
- "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
48120
- "name": "footer-button-primary"
48121
- },
48122
- {
48123
- "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
48124
- "name": "footer-button-secondary"
48125
- }
48126
- ],
48127
- "members": [
48128
- {
48129
- "kind": "field",
48130
- "name": "variant",
48131
- "type": {
48132
- "text": "ToastVariant"
48133
- },
48134
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
48135
- "default": "'custom'",
48136
- "attribute": "variant",
48137
- "reflects": true
48138
- },
48139
- {
48140
- "kind": "field",
48141
- "name": "closeButtonAriaLabel",
48142
- "type": {
48143
- "text": "string | undefined"
48144
- },
48145
- "description": "Defines aria-label attribute for close button accessibility",
48146
- "attribute": "close-button-aria-label"
48147
- },
48148
- {
48149
- "kind": "field",
48150
- "name": "headerText",
48151
- "type": {
48152
- "text": "string | undefined"
48153
- },
48154
- "description": "Defines a string value to display as the title of the toast",
48155
- "attribute": "header-text",
48156
- "reflects": true
48157
- },
48158
- {
48159
- "kind": "field",
48160
- "name": "headerTagName",
48161
- "type": {
48162
- "text": "TagName"
48163
- },
48164
- "description": "The html tag to be used for the header text",
48165
- "default": "'h2'",
48166
- "attribute": "header-tag-name",
48167
- "reflects": true
48168
- },
48169
- {
48170
- "kind": "field",
48171
- "name": "ariaLabel",
48172
- "type": {
48173
- "text": "string | null"
48174
- },
48175
- "default": "null",
48176
- "description": "Defines aria-label attribute when header is not used",
48177
- "attribute": "aria-label",
48178
- "reflects": true
48179
- },
48180
- {
48181
- "kind": "field",
48182
- "name": "showMoreText",
48183
- "type": {
48184
- "text": "string | undefined"
48185
- },
48186
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
48187
- "attribute": "show-more-text",
48188
- "reflects": true
48189
- },
48190
- {
48191
- "kind": "field",
48192
- "name": "showLessText",
48193
- "type": {
48194
- "text": "string | undefined"
48195
- },
48196
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
48197
- "attribute": "show-less-text",
48198
- "reflects": true
48199
- },
48200
- {
48201
- "kind": "field",
48202
- "name": "isDetailVisible",
48203
- "type": {
48204
- "text": "boolean"
48205
- },
48206
- "privacy": "private",
48207
- "default": "false"
48208
- },
48209
- {
48210
- "kind": "field",
48211
- "name": "hasDetailedSlot",
48212
- "type": {
48213
- "text": "boolean"
48214
- },
48215
- "privacy": "private",
48216
- "default": "false"
48217
- },
48218
- {
48219
- "kind": "field",
48220
- "name": "detailedElements",
48221
- "type": {
48222
- "text": "HTMLElement[]"
48223
- },
48224
- "privacy": "private"
48225
- },
48226
- {
48227
- "kind": "field",
48228
- "name": "hasFooterButtons",
48229
- "type": {
48230
- "text": "string"
48231
- },
48232
- "privacy": "private",
48233
- "default": "''"
48234
- },
48235
- {
48236
- "kind": "method",
48237
- "name": "closeToast",
48238
- "privacy": "private",
48239
- "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."
48240
- },
48241
- {
48242
- "kind": "method",
48243
- "name": "toggleDetailVisibility",
48244
- "privacy": "private"
48245
- },
48246
- {
48247
- "kind": "method",
48248
- "name": "updateDetailedSlotPresence",
48249
- "privacy": "private"
48250
- },
48251
- {
48252
- "kind": "method",
48253
- "name": "updateFooterButtonsPresence",
48254
- "privacy": "private"
48255
- },
48256
- {
48257
- "kind": "method",
48258
- "name": "renderIcon",
48259
- "privacy": "protected",
48260
- "parameters": [
48261
- {
48262
- "name": "iconName",
48263
- "type": {
48264
- "text": "string"
48265
- }
48266
- }
48267
- ]
48268
- },
48269
- {
48270
- "kind": "method",
48271
- "name": "shouldRenderToggleButton",
48272
- "privacy": "private"
48273
- },
48274
- {
48275
- "kind": "method",
48276
- "name": "renderToggleDetailButton",
48277
- "privacy": "private"
48278
- },
48279
- {
48280
- "kind": "method",
48281
- "name": "renderHeader",
48282
- "privacy": "protected"
48283
- },
48284
- {
48285
- "kind": "method",
48286
- "name": "handleFooterSlot",
48287
- "privacy": "protected",
48288
- "return": {
48289
- "type": {
48290
- "text": "void"
48291
- }
48292
- },
48293
- "parameters": [
48294
- {
48295
- "name": "tagname",
48296
- "type": {
48297
- "text": "string"
48298
- }
48299
- },
48300
- {
48301
- "name": "variant",
48302
- "optional": true,
48303
- "type": {
48304
- "text": "string | undefined"
48305
- }
48306
- }
48307
- ]
48308
- },
48309
- {
48310
- "kind": "method",
48311
- "name": "renderFooter",
48312
- "privacy": "protected",
48313
- "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
48314
- "return": {
48315
- "type": {
48316
- "text": ""
48317
- }
48318
- },
48319
- "inheritedFrom": {
48320
- "name": "FooterMixin",
48321
- "module": "utils/mixins/FooterMixin.js"
48322
- }
48323
- }
48324
- ],
48325
- "events": [
48326
- {
48327
- "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
48328
- "name": "close",
48329
- "reactName": "onClose"
48330
- }
48331
- ],
48332
- "attributes": [
48333
- {
48334
- "name": "variant",
48335
- "type": {
48336
- "text": "ToastVariant"
48337
- },
48338
- "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
48339
- "default": "'custom'",
48340
- "fieldName": "variant"
48341
- },
48342
- {
48343
- "name": "close-button-aria-label",
48344
- "type": {
48345
- "text": "string | undefined"
48346
- },
48347
- "description": "Defines aria-label attribute for close button accessibility",
48348
- "fieldName": "closeButtonAriaLabel"
48349
- },
48350
- {
48351
- "name": "header-text",
48352
- "type": {
48353
- "text": "string | undefined"
48354
- },
48355
- "description": "Defines a string value to display as the title of the toast",
48356
- "fieldName": "headerText"
48357
- },
48358
- {
48359
- "name": "header-tag-name",
48360
- "type": {
48361
- "text": "TagName"
48362
- },
48363
- "description": "The html tag to be used for the header text",
48364
- "default": "'h2'",
48365
- "fieldName": "headerTagName"
48366
- },
48367
- {
48368
- "name": "aria-label",
48369
- "type": {
48370
- "text": "string | null"
48371
- },
48372
- "default": "null",
48373
- "description": "Defines aria-label attribute when header is not used",
48374
- "fieldName": "ariaLabel"
48375
- },
48376
- {
48377
- "name": "show-more-text",
48378
- "type": {
48379
- "text": "string | undefined"
48380
- },
48381
- "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
48382
- "fieldName": "showMoreText"
48383
- },
48384
- {
48385
- "name": "show-less-text",
48386
- "type": {
48387
- "text": "string | undefined"
48388
- },
48389
- "description": "Defines the text shown on the linkbutton when detailed content is visible.",
48390
- "fieldName": "showLessText"
48391
- }
48392
- ],
48393
- "mixins": [
48394
- {
48395
- "name": "FooterMixin",
48396
- "module": "/src/utils/mixins/FooterMixin"
48397
- }
48398
- ],
48399
- "superclass": {
48400
- "name": "Component",
48401
- "module": "/src/models"
48402
- },
48403
- "tagName": "mdc-toast",
48404
- "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 *\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 * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\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 */",
48405
- "customElement": true
48406
- }
48407
- ],
48408
- "exports": [
48409
- {
48410
- "kind": "js",
48411
- "name": "default",
48412
- "declaration": {
48413
- "name": "Toast",
48414
- "module": "components/toast/toast.component.js"
48415
- }
48416
- }
48417
- ]
48418
- },
48419
48037
  {
48420
48038
  "kind": "javascript-module",
48421
48039
  "path": "components/toggle/toggle.component.js",
@@ -49364,6 +48982,396 @@
49364
48982
  }
49365
48983
  ]
49366
48984
  },
48985
+ {
48986
+ "kind": "javascript-module",
48987
+ "path": "components/toast/toast.component.js",
48988
+ "declarations": [
48989
+ {
48990
+ "kind": "class",
48991
+ "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.",
48992
+ "name": "Toast",
48993
+ "cssProperties": [
48994
+ {
48995
+ "description": "Background color of the toast.",
48996
+ "name": "--mdc-toast-background-color"
48997
+ },
48998
+ {
48999
+ "description": "Border color of the toast.",
49000
+ "name": "--mdc-toast-border-color"
49001
+ },
49002
+ {
49003
+ "description": "Color of the header text in the toast.",
49004
+ "name": "--mdc-toast-header-text-color"
49005
+ },
49006
+ {
49007
+ "description": "Color of the icon in the toast.",
49008
+ "name": "--mdc-toast-icon-color"
49009
+ },
49010
+ {
49011
+ "description": "Elevation effect applied to the toast.",
49012
+ "name": "--mdc-toast-elevation-3"
49013
+ },
49014
+ {
49015
+ "description": "Width of the toast.",
49016
+ "name": "--mdc-toast-width"
49017
+ },
49018
+ {
49019
+ "description": "Padding inside the toast.",
49020
+ "name": "--mdc-toast-padding"
49021
+ }
49022
+ ],
49023
+ "cssParts": [
49024
+ {
49025
+ "description": "The container for the toast's main content, including icon, text, and close button.",
49026
+ "name": "content-container"
49027
+ },
49028
+ {
49029
+ "description": "The icon shown at the start of the toast, styled by variant.",
49030
+ "name": "toast-prefix-icon"
49031
+ },
49032
+ {
49033
+ "description": "The container for the header and body content of the toast.",
49034
+ "name": "toast-content"
49035
+ },
49036
+ {
49037
+ "description": "The header text of the toast.",
49038
+ "name": "toast-header"
49039
+ },
49040
+ {
49041
+ "description": "The container for the toast's footer, including toggle and action buttons.",
49042
+ "name": "footer"
49043
+ },
49044
+ {
49045
+ "description": "The toggle button for showing/hiding detailed content.",
49046
+ "name": "footer-button-toggle"
49047
+ },
49048
+ {
49049
+ "description": "The close button for the toast.",
49050
+ "name": "toast-close-btn"
49051
+ },
49052
+ {
49053
+ "description": "Applied to the footer when it contains buttons or a toggle button.",
49054
+ "name": "has-footer-buttons"
49055
+ }
49056
+ ],
49057
+ "slots": [
49058
+ {
49059
+ "description": "Slot for custom content before the icon (only for custom variant).",
49060
+ "name": "content-prefix"
49061
+ },
49062
+ {
49063
+ "description": "Slot for the main body content of the toast.",
49064
+ "name": "toast-body-normal"
49065
+ },
49066
+ {
49067
+ "description": "Slot for additional detailed content, shown when expanded.",
49068
+ "name": "toast-body-detailed"
49069
+ },
49070
+ {
49071
+ "description": "Slot for custom footer content. Prefer using footer-button-primary and footer-button-secondary slots.",
49072
+ "name": "footer"
49073
+ },
49074
+ {
49075
+ "description": "Slot for passing the primary variant of `mdc-button` in the footer.",
49076
+ "name": "footer-button-primary"
49077
+ },
49078
+ {
49079
+ "description": "Slot for passing the secondary variant of `mdc-button` in the footer.",
49080
+ "name": "footer-button-secondary"
49081
+ }
49082
+ ],
49083
+ "members": [
49084
+ {
49085
+ "kind": "field",
49086
+ "name": "variant",
49087
+ "type": {
49088
+ "text": "ToastVariant"
49089
+ },
49090
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
49091
+ "default": "'custom'",
49092
+ "attribute": "variant",
49093
+ "reflects": true
49094
+ },
49095
+ {
49096
+ "kind": "field",
49097
+ "name": "closeButtonAriaLabel",
49098
+ "type": {
49099
+ "text": "string | undefined"
49100
+ },
49101
+ "description": "Defines aria-label attribute for close button accessibility",
49102
+ "attribute": "close-button-aria-label"
49103
+ },
49104
+ {
49105
+ "kind": "field",
49106
+ "name": "headerText",
49107
+ "type": {
49108
+ "text": "string | undefined"
49109
+ },
49110
+ "description": "Defines a string value to display as the title of the toast",
49111
+ "attribute": "header-text",
49112
+ "reflects": true
49113
+ },
49114
+ {
49115
+ "kind": "field",
49116
+ "name": "headerTagName",
49117
+ "type": {
49118
+ "text": "TagName"
49119
+ },
49120
+ "description": "The html tag to be used for the header text",
49121
+ "default": "'h2'",
49122
+ "attribute": "header-tag-name",
49123
+ "reflects": true
49124
+ },
49125
+ {
49126
+ "kind": "field",
49127
+ "name": "ariaLabel",
49128
+ "type": {
49129
+ "text": "string | null"
49130
+ },
49131
+ "default": "null",
49132
+ "description": "Defines aria-label attribute when header is not used",
49133
+ "attribute": "aria-label",
49134
+ "reflects": true
49135
+ },
49136
+ {
49137
+ "kind": "field",
49138
+ "name": "showMoreText",
49139
+ "type": {
49140
+ "text": "string | undefined"
49141
+ },
49142
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
49143
+ "attribute": "show-more-text",
49144
+ "reflects": true
49145
+ },
49146
+ {
49147
+ "kind": "field",
49148
+ "name": "showLessText",
49149
+ "type": {
49150
+ "text": "string | undefined"
49151
+ },
49152
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
49153
+ "attribute": "show-less-text",
49154
+ "reflects": true
49155
+ },
49156
+ {
49157
+ "kind": "field",
49158
+ "name": "isDetailVisible",
49159
+ "type": {
49160
+ "text": "boolean"
49161
+ },
49162
+ "privacy": "private",
49163
+ "default": "false"
49164
+ },
49165
+ {
49166
+ "kind": "field",
49167
+ "name": "hasDetailedSlot",
49168
+ "type": {
49169
+ "text": "boolean"
49170
+ },
49171
+ "privacy": "private",
49172
+ "default": "false"
49173
+ },
49174
+ {
49175
+ "kind": "field",
49176
+ "name": "detailedElements",
49177
+ "type": {
49178
+ "text": "HTMLElement[]"
49179
+ },
49180
+ "privacy": "private"
49181
+ },
49182
+ {
49183
+ "kind": "field",
49184
+ "name": "hasFooterButtons",
49185
+ "type": {
49186
+ "text": "string"
49187
+ },
49188
+ "privacy": "private",
49189
+ "default": "''"
49190
+ },
49191
+ {
49192
+ "kind": "method",
49193
+ "name": "closeToast",
49194
+ "privacy": "private",
49195
+ "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."
49196
+ },
49197
+ {
49198
+ "kind": "method",
49199
+ "name": "toggleDetailVisibility",
49200
+ "privacy": "private"
49201
+ },
49202
+ {
49203
+ "kind": "method",
49204
+ "name": "updateDetailedSlotPresence",
49205
+ "privacy": "private"
49206
+ },
49207
+ {
49208
+ "kind": "method",
49209
+ "name": "updateFooterButtonsPresence",
49210
+ "privacy": "private"
49211
+ },
49212
+ {
49213
+ "kind": "method",
49214
+ "name": "renderIcon",
49215
+ "privacy": "protected",
49216
+ "parameters": [
49217
+ {
49218
+ "name": "iconName",
49219
+ "type": {
49220
+ "text": "string"
49221
+ }
49222
+ }
49223
+ ]
49224
+ },
49225
+ {
49226
+ "kind": "method",
49227
+ "name": "shouldRenderToggleButton",
49228
+ "privacy": "private"
49229
+ },
49230
+ {
49231
+ "kind": "method",
49232
+ "name": "renderToggleDetailButton",
49233
+ "privacy": "private"
49234
+ },
49235
+ {
49236
+ "kind": "method",
49237
+ "name": "renderHeader",
49238
+ "privacy": "protected"
49239
+ },
49240
+ {
49241
+ "kind": "method",
49242
+ "name": "handleFooterSlot",
49243
+ "privacy": "protected",
49244
+ "return": {
49245
+ "type": {
49246
+ "text": "void"
49247
+ }
49248
+ },
49249
+ "parameters": [
49250
+ {
49251
+ "name": "tagname",
49252
+ "type": {
49253
+ "text": "string"
49254
+ }
49255
+ },
49256
+ {
49257
+ "name": "variant",
49258
+ "optional": true,
49259
+ "type": {
49260
+ "text": "string | undefined"
49261
+ }
49262
+ }
49263
+ ]
49264
+ },
49265
+ {
49266
+ "kind": "method",
49267
+ "name": "renderFooter",
49268
+ "privacy": "protected",
49269
+ "description": "Renders the footer of the card if footer-link,\nfooter-button-primary, or footer-button-secondary slots are provided",
49270
+ "return": {
49271
+ "type": {
49272
+ "text": ""
49273
+ }
49274
+ },
49275
+ "inheritedFrom": {
49276
+ "name": "FooterMixin",
49277
+ "module": "utils/mixins/FooterMixin.js"
49278
+ }
49279
+ }
49280
+ ],
49281
+ "events": [
49282
+ {
49283
+ "description": "(React: onClose) Dispatched when the Close Button is clicked using mouse or keyboard.",
49284
+ "name": "close",
49285
+ "reactName": "onClose"
49286
+ }
49287
+ ],
49288
+ "attributes": [
49289
+ {
49290
+ "name": "variant",
49291
+ "type": {
49292
+ "text": "ToastVariant"
49293
+ },
49294
+ "description": "Type of toast\n- Can be `custom`, `success`, `warning` or `error`.\n\nNote: When using the `custom` variant, provide your own icon via the `content-prefix` slot; otherwise, no icon will be shown.",
49295
+ "default": "'custom'",
49296
+ "fieldName": "variant"
49297
+ },
49298
+ {
49299
+ "name": "close-button-aria-label",
49300
+ "type": {
49301
+ "text": "string | undefined"
49302
+ },
49303
+ "description": "Defines aria-label attribute for close button accessibility",
49304
+ "fieldName": "closeButtonAriaLabel"
49305
+ },
49306
+ {
49307
+ "name": "header-text",
49308
+ "type": {
49309
+ "text": "string | undefined"
49310
+ },
49311
+ "description": "Defines a string value to display as the title of the toast",
49312
+ "fieldName": "headerText"
49313
+ },
49314
+ {
49315
+ "name": "header-tag-name",
49316
+ "type": {
49317
+ "text": "TagName"
49318
+ },
49319
+ "description": "The html tag to be used for the header text",
49320
+ "default": "'h2'",
49321
+ "fieldName": "headerTagName"
49322
+ },
49323
+ {
49324
+ "name": "aria-label",
49325
+ "type": {
49326
+ "text": "string | null"
49327
+ },
49328
+ "default": "null",
49329
+ "description": "Defines aria-label attribute when header is not used",
49330
+ "fieldName": "ariaLabel"
49331
+ },
49332
+ {
49333
+ "name": "show-more-text",
49334
+ "type": {
49335
+ "text": "string | undefined"
49336
+ },
49337
+ "description": "Defines the text shown on the linkbutton when detailed content is hidden.",
49338
+ "fieldName": "showMoreText"
49339
+ },
49340
+ {
49341
+ "name": "show-less-text",
49342
+ "type": {
49343
+ "text": "string | undefined"
49344
+ },
49345
+ "description": "Defines the text shown on the linkbutton when detailed content is visible.",
49346
+ "fieldName": "showLessText"
49347
+ }
49348
+ ],
49349
+ "mixins": [
49350
+ {
49351
+ "name": "FooterMixin",
49352
+ "module": "/src/utils/mixins/FooterMixin"
49353
+ }
49354
+ ],
49355
+ "superclass": {
49356
+ "name": "Component",
49357
+ "module": "/src/models"
49358
+ },
49359
+ "tagName": "mdc-toast",
49360
+ "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 *\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 * @csspart has-footer-buttons - Applied to the footer when it contains buttons or a toggle button.\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 */",
49361
+ "customElement": true
49362
+ }
49363
+ ],
49364
+ "exports": [
49365
+ {
49366
+ "kind": "js",
49367
+ "name": "default",
49368
+ "declaration": {
49369
+ "name": "Toast",
49370
+ "module": "components/toast/toast.component.js"
49371
+ }
49372
+ }
49373
+ ]
49374
+ },
49367
49375
  {
49368
49376
  "kind": "javascript-module",
49369
49377
  "path": "components/toggletip/toggletip.component.js",